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/2310.07093v1
http://arxiv.org/pdf/2310.07093v1
Argumentative Stance Prediction: An Exploratory Study on Multimodality and Few-Shot Learning
2023-10-11T00:18:29
2023-10-11T00:18:29
Arushi Sharma, Abhibha Gupta, Maneesh Bilalpur
cs.CL
cs.CL
To advance argumentative stance prediction as a multimodal problem, the First Shared Task in Multimodal Argument Mining hosted stance prediction in crucial social topics of gun control and abortion. Our exploratory study attempts to evaluate the necessity of images for stance prediction in tweets and compare out-of-the-box text-based large-language models (LLM) in few-shot settings against fine-tuned unimodal and multimodal models. Our work suggests an ensemble of fine-tuned text-based language models (0.817 F1-score) outperforms both the multimodal (0.677 F1-score) and text-based few-shot prediction using a recent state-of-the-art LLM (0.550 F1-score). In addition to the differences in performance, our findings suggest that the multimodal models tend to perform better when image content is summarized as natural language over their native pixel structure and, using in-context examples improves few-shot performance of LLMs.
[ 0.0059736487, 0.0557951555, 0.0253862869, 0.0378266834, -0.0329818279, 0.0257934779, 0.0516038612, -0.0029530274, -0.0189120732, -0.0972667634, -0.0001243725, -0.062690191, -0.0335750058, -0.0258661658, 0.0182226673, -0.0597306192, 0.0116186617, 0.0075682267, 0.0694325566, -0.0057157888, 0.0533018969, 0.0364031494, -0.0275604594, 0.0582875758, -0.0159256179, -0.0571332872, -0.0071535693, -0.0156496428, 0.0530764945, -0.0372949578, 0.0153278438, 0.0529032983, 0.0426304266, 0.035634473, 0.0000018863, -0.0232966002, -0.0202284027, -0.0221873075, 0.0282184072, 0.0035349138, 0.0474112444, -0.0215316657, 0.0128683038, 0.0005499374, -0.0372456051, 0.0077766352, 0.0468392223, 0.0560479052, 0.057628233, 0.0605870895, -0.0194511022, -0.0455392562, 0.0017997934, -0.0128508704, -0.0218977276, -0.0097217085, -0.0162641313, 0.0021792955, -0.0412872545, 0.063167803, -0.022646904, -0.0011332746, 0.0071312021, -0.0139950169, -0.0505226664, 0.0244752839, -0.0215113852, -0.0416881293, 0.0041283472, 0.0582374521, -0.0078379875, -0.021496566, 0.0049510552, -0.0406695455, -0.0159383863, 0.0261641145, -0.0780619904, 0.0514096282, -0.0160448309, 0.0478691794, -0.0130151445, -0.0068599787, 0.0157174692, 0.0353471115, 0.0238546934, -0.0094425734, -0.0277553182, 0.001492392, 0.0259635877, 0.0334786698, -0.0577357151, -0.0498812348, -0.0043840669, 0.0111808535, -0.0007706587, 0.0250304844, -0.0007437775, -0.0070625381, 0.02800221, -0.0675865561, 0.0421284772, -0.0033648161, -0.0123608345, 0.0817488059, 0.0062356326, -0.0146009615, -0.0131889721, -0.0321726575, 0.0257868394, 0.0082350671, -0.0667665526, 0.0006216507, -0.0038442025, 0.0089302845, -0.025484886, -0.0480538793, -0.0049383119, -0.0167223085, -0.0266483165, -0.0074755182, 0.0034389773, 0.003624913, 0.0156045696, -0.0244817082, -0.0267389044, 0.076142326, -0.0207169279, 0.0228901859, 0.0146366237, -0.0045699379, 0.0108325165, 0.0265951976, 0.0187800564, -0.003321968, 0.0007451464, 0.0272942223, -0.0231755059, -0.0038828102, 0.0059454809, -0.0319261886, -0.0515113138, -0.0834042951, 0.0410623364, -0.0803047791, 0.0342087373, -0.0087082433, 0.0148206512, -0.0526397191, 0.0042045633, 0.0443087108, 0.0188555606, 0.0783011913, 0.0439112447, -0.0212271251, 0.0182203595, 0.0208494235, 0.0160401631, 0.1110326648, -0.009557589, 0.0546935089, 0.0309119783, -0.0036248367, -0.025466742, 0.0209814422, 0.0012970517, 0.0037197899, 0.0249507483, -0.0090777595, -0.0563057028, 0.003031566, -0.0022118683, 0.0427421406, -0.0106119551, -0.0430729352, 0.0829868093, 0.0496174544, 0.0032947492, -0.0027487422, 0.0100075714, 0.0180053096, 0.0150551964, -0.0302710049, -0.0016082878, 0.0761754736, -0.0089605348, -0.0226427186, 0.0340625457, 0.0429940931, -0.0252114031, -0.028542636, -0.0182742011, -0.0093997736, -0.0130022326, -0.0161823202, 0.0281128976, 0.0004289663, -0.0603696965, 0.0124634299, 0.0450504012, -0.0328574069, -0.0649013072, -0.0013021522, 0.0357908383, 0.0130047388, 0.0004055064, -0.0142412335, -0.0307306182, -0.0380200408, 0.0839335248, 0.0692711473, 0.0208480787, -0.0116047757, 0.0014175762, -0.0460181199, -0.0445732549, -0.0313178599, 0.0027231332, 0.0199135803, -0.0088457912, 0.0214633178, -0.0021545659, 0.0366659388, 0.0261572525, 0.0133886635, 0.0444678739, 0.0031058097, 0.0120193651, 0.0300039351, 0.0220131353, 0.046014104, -0.0138065582, -0.026213536, 0.008659604, -0.0298515595, -0.0384515934, 0.0040741968, -0.0281127598, -0.0627839044, 0.0384742394, -0.0163847152, -0.0065648919, -0.0355277658, -0.055104997, 0.0369211286, 0.0510770902, -0.0079716435, -0.0337551907, -0.0436889157, -0.0352883451, -0.0074710133, 0.016644381, -0.0286341794, 0.0441209711, 0.0032955525, -0.0375343412, -0.0066792872, -0.0079929177, 0.0272485018, -0.0140680065, -0.0279772114, 0.0222107135, 0.0154790329, 0.0333934687, 0.0298404396, -0.0306886453, -0.0269204173, -0.014053259, -0.1186853349, -0.0050717904, -0.0112015996, 0.0056315577, -0.0074809291, -0.0420251377, 0.0246505085, 0.01162042, -0.0020169963, -0.0086258734, -0.0088343052, 0.0319676511, 0.011602751, -0.0163079388, 0.0502206348, -0.0299148839, -0.0054599326, -0.019836003, 0.0606671236, 0.0040804544, -0.0286231264, 0.0108187851, 0.0096056061, -0.0409078263, -0.0078078732, -0.0189756677, -0.0347629376, 0.0528529175, -0.0174347572, 0.0317933001, 0.0555084869, 0.014287347, 0.0527199917, -0.0036783009, 0.0105066337, -0.0576738752, -0.0048867343, -0.0002055169, 0.0186512657, 0.0081471987, 0.0235687159, -0.0000832961, 0.0995336175, -0.0116331317, 0.0241517499, -0.0611303039, 0.0776770264, -0.0250322819, -0.0146713546, -0.0137176393, 0.0069363341, 0.0051929792, -0.0032022363, -0.0301130898, -0.0201565158, 0.0592730083, 0.000639025, 0.0161644835, -0.0056715198, -0.0283357333, -0.0125532718, 0.047833845, 0.0341200344, 0.0066868979, 0.0183805544, 0.0492534228, -0.0091919191, -0.0517342389, 0.0380733572, -0.0216474682, 0.0283460487, -0.0028487158, 0.0160559136, 0.0007121158, -0.0593044311, 0.0283762366, -0.0687798262, -0.0761513859, -0.0305082537, -0.04850135, -0.009466392, 0.0346605703, 0.0144336065, 0.0130349258, -0.0352603868, -0.000410514, -0.0140990801, 0.0274028629, 0.0330110677, 0.0290250853, -0.0278563537, -0.0164985359, -0.0434607491, 0.0569212362, 0.068579331, -0.0171666984, 0.013810467, -0.0739814639, -0.0299021341, -0.0159932803, 0.0237680152, -0.0258749221, -0.0211467464, 0.0864162073, -0.0508260913, 0.0675627962, 0.0788786635, 0.0214469898, -0.0222112369, -0.032541085, 0.0397651419, -0.0033128907, 0.0134639284, -0.0318386853, -0.0695244372, -0.0578269213, -0.0455577113, -0.0113083562, -0.0231752545, -0.0254550837, -0.0050075096, -0.0997414365, 0.0239052512, -0.013477793, -0.0197847039, 0.0204433333, -0.0518594347, 0.0115003306, -0.0351526253, -0.0180388335, -0.0057154503, 0.00825362, 0.008738325, 0.0247404575, -0.0559173115, 0.007905459, 0.0138553884, -0.0518410988, -0.0006241368, 0.0121235875, 0.0478857048, -0.0142004769, -0.0143042533, 0.029509075, 0.0244523045, -0.0004338789, -0.02374327, 0.0347875915, -0.0274817906, -0.0212600045, -0.0266393162, 0.0379766002, 0.0172394048, -0.0581882633, -0.0260045733, 0.0569519252, -0.0271661822, -0.0266491491, -0.0370690487, 0.0542328581, 0.016464293, 0.0208892394, 0.029655451, -0.0621493533, -0.0476264693, -0.0359306596, -0.0091211852, -0.0941057727, -0.0128722237, -0.0301378667, 0.0008577828, 0.0427234434, -0.0486651585, -0.0210972577, 0.0085201543, 0.0495447405, -0.0515236892, 0.0126995081, 0.0192542225, 0.036685586, -0.026482122, 0.01899934, 0.0136036305, 0.0269223135, 0.0229487829, 0.0026975702, 0.0440359004, 0.0199235436, -0.0266531464, 0.0098804729, -0.0602890216, -0.0469687022, -0.0556867085, 0.0762961358, 0.0061048302, 0.0008414689, 0.0457018875, -0.0578122884, 0.0380322821, 0.0854037255, 0.0466748402, 0.0005898627, 0.0257215481, 0.0328577086, 0.0018697599, 0.0175743159, 0.0128059965, 0.036258027, 0.025222905, 0.0042351326, -0.0405031107, 0.0308989882, -0.0223768316, -0.0089236675, 0.0653642192, -0.0049912757, -0.0879842639, -0.0080331387, -0.018424347, -0.0188727211, -0.0227506962, -0.0345348716, 0.0080199232, -0.0011241182, -0.0484782755, -0.0339984186, 0.011015974, 0.0065132394, 0.0741161257, -0.029127581, 0.0671309978, 0.0533963218, -0.0066130641, -0.0134387854, 0.0117844995, -0.0133585306, 0.0057387049, 0.0142440526, -0.0054090787, -0.0087103657, 0.1008085236, 0.0057206722, -0.0048922915, 0.0228260458, 0.016704401, -0.00485721, -0.0129569583, -0.0466193296, -0.0034600757, 0.0248073582, -0.0317363925, 0.0220022313, -0.0050918451, -0.0339614637, -0.023647882, 0.0348164998, -0.0292307381, -0.0270205494, 0.0694587603, 0.0227425527, -0.0215033814, 0.0051355893, 0.0444866791, -0.0333001465, 0.0212971717, 0.0606287718, -0.0203479026, -0.0306310095, -0.0197940487, -0.0031687205, 0.0161395129, 0.0242487174, 0.0110808704, -0.0470380671, -0.0208430011, 0.0087028649, 0.0026338063, -0.0134348748, 0.039828822, 0.0074630133, 0.0495114885, -0.0022762951, 0.0548327342, -0.047214523, 0.002818448, -0.0111488765, -0.0115733184, 0.0003747718, -6.185254379e-33, -0.0069399672, -0.0427800342, 0.0001176263, -0.0076036318, 0.0301038083, 0.0022732196, -0.0360991359, 0.0386194959, -0.0096709728, 0.0669760108, 0.0267767292, -0.0023447482, -0.0011641727, 0.0287787542, 0.0003880544, 0.0190165006, 0.0020144405, -0.0304191448, -0.021716591, 0.012011678, 0.0391021147, -0.0127062947, 0.0294165537, -0.0502878651, 0.0016418905, 0.0255931094, -0.0174698792, -0.0239178073, 0.0336345136, 0.0886836573, -0.020364821, 0.0312192813, 0.0492919236, -0.0618043877, -0.0097652497, 0.0715501383, -0.0443374999, -0.0194182172, 0.0056645861, -0.0277077556, -0.0246324744, -0.0100109866, 0.0093078101, 0.0113209737, -0.0405915901, -0.0484560765, 0.0145208649, -0.0012746034, 0.0129431412, -0.0506706722, -0.0486943498, 0.0301118661, -0.0543652065, -0.0311837513, -0.0049844184, 0.0116014061, 0.030562222, 0.0877924934, -0.0289744753, 0.010114708, -0.0634095445, -0.0071806731, 0.0284417588, -0.0249438267, 0.0067783254, 0.0947510377, -0.0004500138, 0.0150337173, -0.0623878762, 0.0255514812, 0.0100623202, 0.0595599636, 0.064722456, 0.091777131, 0.0309080817, -0.000701527, -0.0847660005, -0.0106890984, 0.0403439477, 0.0339517035, 0.0329647325, 0.0236239862, 0.0310078468, -0.0111737689, -0.0262101926, -0.0733381212, -0.0255075209, -0.0288406685, -0.025135465, 0.0189604573, -0.000530204, 0.0539082848, 0.075184986, -0.051002115, -0.03012353, 0.0437589884, -0.0336299539, 0.0493037552, 0.0112802926, 0.0236723013, -0.0558322147, 0.0048475526, 0.0100584906, 0.0085714832, 0.0289228968, -0.0193896908, 0.0667117536, -0.0107455011, -0.0779846758, -0.024587173, -0.0412280709, 0.0027696737, -0.0335964113, 0.0663879141, 0.0185323264, 0.0171785578, -0.0237572789, 0.0490120836, -0.0105052227, -0.0216333736, 0.0239197481, -0.0527171679, -0.039738778, -0.0110580819, -0.0239603538, -0.0291694794, 0.0040303692, -0.0230250135, 0.0095550176, -0.0881897286, -0.0017736001, 0.0361652002, 2.566e-7, 0.0466792695, 0.0768519118, -0.0385959409, -0.0517488383, 0.0488211922, 0.0522961318, -0.0199890938, 0.0271894559, 0.0024226748, -0.0559248403, -0.0435361005, 0.052366104, 0.0433904342, 0.0418430306, -0.0561829172, -0.0008509839, -0.0531038009, -0.0124863693, -0.0555563085, 0.0271646883, -0.0008761549, 0.0945098549, 0.0066275825, -0.0163842402, 0.0031726116, -0.0004627345, 0.0858621672, -0.0137189208, -0.0368314385, -0.0247457698, 0.0305893943, -0.0651393607, -0.0122231888, -0.005616758, -0.0164464228, -0.0195000656, 0.016799463, 0.0679047853, 0.021133557, -0.0247706659, 0.0025606747, -0.0003909436, -0.0186467599, -0.0234851055, 0.0775304139, -0.0785283223, -0.0588867217, -0.0796929598, -0.0484839864, -0.0144244684, 0.044700738, 0.0036026572, -0.027919637, 0.0170855094, 0.0009728959, -0.0111960936, -0.0021043147, -0.0878366753, -0.029330356, 0.0371006094, -0.0235197451, -0.0276204664, 0.0228046812, -0.0571313463, 0.0508229956, -0.0562145449, -0.017346587, 1.779617747e-34, 0.043257881, -0.0329133049, 0.0203024335, -0.0059261727, 0.0193426721, 0.0254149456, -0.0212103743, -0.0193686932, 0.0243505649, -0.0511950701, 0.0139176808 ]
http://arxiv.org/abs/2310.07091v2
http://arxiv.org/pdf/2310.07091v2
Jaeger: A Concatenation-Based Multi-Transformer VQA Model
2023-10-11T00:14:40
2023-10-19T04:03:08
Jieting Long, Zewei Shi, Penghao Jiang, Yidong Gan
cs.CL
cs.CL, cs.AI
Document-based Visual Question Answering poses a challenging task between linguistic sense disambiguation and fine-grained multimodal retrieval. Although there has been encouraging progress in document-based question answering due to the utilization of large language and open-world prior models\cite{1}, several challenges persist, including prolonged response times, extended inference durations, and imprecision in matching. In order to overcome these challenges, we propose Jaegar, a concatenation-based multi-transformer VQA model. To derive question features, we leverage the exceptional capabilities of RoBERTa large\cite{2} and GPT2-xl\cite{3} as feature extractors. Subsequently, we subject the outputs from both models to a concatenation process. This operation allows the model to consider information from diverse sources concurrently, strengthening its representational capability. By leveraging pre-trained models for feature extraction, our approach has the potential to amplify the performance of these models through concatenation. After concatenation, we apply dimensionality reduction to the output features, reducing the model's computational effectiveness and inference time. Empirical results demonstrate that our proposed model achieves competitive performance on Task C of the PDF-VQA Dataset. If the user adds any new data, they should make sure to style it as per the instructions provided in previous sections.
[ 0.0403661765, 0.0377373062, 0.0057998938, 0.0455217846, 0.0044921828, 0.0143013, -0.0023848831, -0.0140397027, -0.0108709494, -0.0627089068, -0.0184445679, 0.0104443096, -0.006233213, 0.0310209654, 0.0170864016, -0.0720671862, 0.0471666418, -0.0185747631, -0.0233827103, 0.0022374452, 0.0293367747, 0.0282952487, 0.0096561546, 0.0623811036, -0.0139701534, -0.0298643727, -0.0136722568, 0.0140373157, 0.0215020888, 0.0382023677, -0.0093754521, 0.0271470603, 0.0449711122, -0.0220306758, 0.000001913, -0.0031218373, -0.0259616524, 0.0142206829, 0.0226848312, -0.0145582985, 0.0079574762, -0.0533280894, 0.0433854423, -0.0014362844, -0.0471271314, -0.0522750318, 0.0551357381, 0.0508189909, 0.0814062729, 0.0248591993, -0.0236818232, -0.0405287892, 0.040278282, 0.004950624, 0.0106585063, -0.0757500902, -0.0049253479, 0.0200266708, 0.0393030085, -0.0028544276, -0.0419260524, 0.0456101634, 0.0236778874, 0.0048314664, -0.01005123, 0.0156090558, -0.0088139763, -0.0073961238, -0.0187773742, 0.0913234055, -0.004023273, 0.0083804233, -0.0053793015, 0.0124863172, 0.0152211534, 0.0565567687, -0.0535507947, 0.0102868965, -0.0368751585, -0.0358732045, -0.0393879227, 0.0091972295, -0.0129512167, 0.0063417647, 0.0045781885, -0.0246632025, 0.014557139, 0.009397381, -0.0191823915, 0.0325008444, -0.0841215476, -0.0275595654, -0.0285154395, 0.0546214096, 0.026416352, -0.0097082127, -0.0364096873, -0.0785771981, 0.0011561365, -0.0292406771, 0.0021846597, 0.0146243852, -0.0754838139, 0.0838580206, -0.0324782357, 0.081140101, -0.0462644398, 0.0022315425, -0.0670983568, -0.0592705794, -0.0448951647, -0.0298823714, -0.0680625737, 0.031738922, -0.0495915301, -0.05966755, -0.0066708298, 0.0251297615, -0.0023450765, -0.0294196643, 0.023643937, 0.0285515375, -0.0229593087, 0.0067478544, -0.0482874736, 0.0829234198, -0.0250131097, 0.0147455651, -0.0262509454, -0.0286611803, -0.0146139935, 0.0286057051, 0.0162572525, -0.0680435598, 0.0087780897, 0.0657840148, -0.053325247, -0.0441291183, -0.004152956, -0.0337792188, -0.0253982544, -0.0325303674, 0.0419675261, -0.0572816506, 0.054657612, -0.00161258, -0.0004117252, -0.0263859332, -0.0206435975, 0.0161321666, -0.0252382495, 0.0888627842, 0.0062509254, -0.0293485802, 0.0570697263, 0.0061270464, 0.0214151964, 0.0621641129, 0.0140548442, 0.0186525881, 0.0438989475, -0.0079769185, 0.0228436347, 0.0377262868, -0.0166277178, -0.0192363989, -0.0017030048, 0.0195860434, 0.0135958707, 0.0046311822, 0.0458544903, 0.0560544059, -0.0607662871, -0.0273572542, 0.0264506768, 0.0310799833, 0.0184597149, 0.0001001946, 0.0543499999, 0.0158387143, 0.0165134612, 0.0158393905, -0.0071986066, 0.0727915689, -0.0081148464, 0.0261464417, 0.0023460891, 0.059854418, -0.0336358845, -0.0327414572, 0.0117675466, -0.0177070927, 0.0227649007, 0.0591951944, 0.0389152355, 0.0346212983, -0.0564697348, 0.0260569137, -0.0105138374, -0.0257873237, -0.0064069252, -0.0382264294, 0.0467786938, 0.0494988039, 0.0257871989, 0.0098191397, -0.0115986615, 0.0013573618, 0.0236775856, -0.0037064687, 0.0142479921, -0.0082961293, 0.0244741607, -0.0612793192, -0.0472506732, -0.044148583, -0.0320147052, -0.0113640809, 0.0181530602, -0.0037164218, 0.0228821021, -0.0432079919, 0.0434151553, 0.0235874839, 0.0135264639, -0.0243768264, -0.0329340398, 0.025640741, -0.0082423361, -0.0068646264, -0.00792972, -0.003211604, 0.0222691484, -0.0552438982, -0.0006251416, -0.0012847781, -0.0012909985, -0.046331685, 0.0134845916, -0.0505646616, 0.0037481752, 0.0248601716, -0.0606044866, -0.0355681367, -0.0237345118, -0.0285225511, -0.0144171147, -0.0461806692, -0.0094125466, 0.0579828955, 0.0226895846, -0.0482082143, 0.0638229772, -0.0171864759, -0.0023387547, -0.0155886542, -0.0024189053, 0.0279865693, -0.0263555273, -0.0139693972, 0.0143622262, 0.0088966629, 0.0139136938, 0.0217109881, -0.0055425749, -0.0336257145, -0.0374345072, -0.086817123, 0.008721537, -0.0065061003, -0.0282090865, 0.0009062635, 0.029538529, 0.0141721088, -0.0375729166, -0.0342125557, -0.0054728417, 0.0175365955, 0.0382696986, 0.0454563461, 0.0175754335, 0.0255066212, -0.028173143, -0.0421911962, 0.008728453, 0.0978943035, 0.005787224, -0.0140380152, -0.0090823676, -0.047210522, -0.0484302379, 0.038338352, -0.0107862065, -0.0154832583, 0.0013553251, -0.0295970999, 0.0584277511, 0.0635262579, 0.0079315724, 0.0086084912, 0.0009601041, -0.0118830772, -0.0313553624, 0.0359047316, -0.0204631407, -0.0471896343, 0.0035657685, -0.0116529735, -0.0222135596, 0.018268479, -0.0241408627, -0.0056838612, -0.0613862425, 0.043454688, 0.0393216982, -0.0122883087, -0.0498012155, 0.0119987, 0.0246440154, 0.0151796136, -0.0506383888, -0.0330340602, 0.0562853254, -0.0203996617, -0.0049927086, -0.0141513776, 0.0182519704, -0.0650930852, 0.0948113948, 0.0162159894, 0.0167648755, -0.0062716873, 0.0048900037, -0.0708364993, 0.0030772861, 0.024736112, -0.0412595011, 0.0635494292, -0.0369431935, 0.0368698426, -0.026287511, -0.0198101625, -0.0146287829, -0.0407894179, -0.0403674096, 0.0093589826, -0.025651738, -0.0102421641, -0.0131676178, 0.0407446697, 0.0387690328, 0.0215752907, -0.0141881704, -0.0026412043, -0.0148958331, 0.0816496164, 0.1175991148, 0.0672485456, -0.0143946055, -0.0398512743, 0.007788511, 0.0653560758, -0.003344985, -0.0156096164, -0.0209869314, 0.0119821094, 0.0193025097, 0.0046983096, -0.0182266403, -0.0016443942, 0.0428660475, -0.0539062731, 0.0081814891, 0.0699240267, 0.0092182914, -0.007094732, -0.0290205702, -0.0000602003, 0.0281243119, 0.0211346, 0.0465395227, -0.1043621525, -0.0572158508, -0.0354459323, -0.0026539653, 0.0375857912, 0.0221984405, -0.0134403771, -0.0758997425, 0.0552786589, -0.0288330559, -0.0090390854, -0.0049005128, 0.0045525776, -0.0077589033, -0.0212742668, -0.0053969235, -0.0064901295, -0.0204930417, 0.0154011166, 0.0041322024, 0.0524891354, -0.0123823825, 0.0196099486, -0.0250881203, -0.0615452491, 0.0571157746, 0.0044620205, -0.002264784, -0.0724779293, -0.015561033, -0.0801040232, 0.001453369, 0.0192824937, 0.0668664277, -0.0228065923, -0.0309629515, -0.0084572574, 0.0165644325, 0.0059293965, -0.0251205768, -0.0103299459, 0.0179188624, -0.0000243031, -0.0316478126, -0.0353101902, -0.0024564846, -0.0448006652, 0.0455431156, 0.0160230715, -0.0263341367, -0.0605144463, 0.0067777317, -0.0088050151, -0.0204445068, -0.0494413152, -0.0132184606, 0.012983459, -0.0064764083, -0.0859812424, -0.0149607817, 0.0439697988, 0.0441343188, -0.0456648432, -0.0022920333, -0.0047082962, 0.0304816924, -0.0667947009, 0.1043109372, 0.009503955, 0.0344572775, -0.0469066463, 0.0180639047, 0.0302002728, -0.0303016659, -0.0457018577, 0.0212082025, -0.0649472922, 0.0011797869, -0.0240929443, 0.0832537934, 0.0126243178, 0.0072828848, 0.0001734528, -0.0368826501, -0.0013419547, 0.0135448398, -0.0069220802, 0.0267406628, -0.0093269777, -0.0335981511, -0.0247243922, 0.0069874069, -0.0593228005, 0.0181246139, -0.0300806779, 0.0126246596, -0.0563279614, -0.0307853185, 0.0262359455, -0.0053237583, 0.0438364893, 0.0305254962, 0.0239517447, -0.0130373752, -0.0140573485, 0.0155355763, -0.0212453958, -0.0864850208, 0.0169737004, 0.0145197203, 0.0023951998, 0.0079953065, 0.0108170575, 0.0242106915, 0.0247139018, -0.0467756726, -0.0204462875, 0.0366036482, -0.0143035166, -0.0205597375, -0.0007025201, -0.0100991363, -0.0275073461, -0.0049359975, 0.0425906107, -0.0201960634, 0.0574021861, 0.0262845978, -0.0086043179, -0.0170179904, 0.0275446046, -0.0547959656, -0.0626169071, -0.0217646901, 0.0178196505, 0.0421181917, 0.0017517377, 0.0233781282, 0.036058601, -0.0385508873, -0.0142807579, 0.0015799672, 0.0153548168, 0.0034294701, 0.0828777403, 0.0341450237, -0.0006832368, -0.0231072847, 0.0826116726, 0.0118040387, 0.0242101438, -0.0085972939, 0.004734423, -0.0384778939, -0.0487277247, -0.0091744857, 0.0188041031, 0.0189525317, 0.0271270107, -0.0128496243, -0.0411151424, 0.0410141647, -0.0081734871, -0.0296819881, 0.0174203478, 0.065323256, 0.0410642251, 0.0344875082, -0.0646700561, -0.0449334383, -0.0074091447, -0.0134406462, -0.0011825907, 0.0151308551, -6.115135039e-33, -0.0540759191, -0.0275253523, 0.0446579158, -0.0119048627, -0.0315797962, 0.0139105488, 0.0040056696, -0.0116706733, -0.0527788252, -0.0132193929, 0.0323766917, 0.0011801943, 0.0074263057, 0.0396326184, -0.0157470144, -0.010181698, 0.0412344709, 0.0046591763, -0.0055704149, 0.0025959278, 0.0222372096, 0.0146784298, 0.0404537469, -0.045847401, -0.0242078342, -0.011440305, -0.0298643876, -0.010602084, 0.0227802079, 0.1026784703, -0.0196830351, 0.0055273189, 0.0118667204, -0.0179447141, -0.0069929063, 0.0265199896, -0.1138817891, -0.0053619752, 0.0435133092, 0.0191355869, -0.0599892735, -0.0341118015, 0.0432274118, -0.0199587625, 0.0517946705, -0.0498863831, 0.062246535, -0.0089006806, -0.0356101729, -0.0510451309, -0.0417428054, 0.0131860022, -0.0170561988, -0.0247074626, -0.0041092178, 0.0789156929, 0.0098638451, 0.0395810045, -0.0641017035, -0.0122890659, -0.0240157023, 0.0232982486, 0.0753009692, 0.0351906344, 0.0075958315, 0.0251734871, 0.0047096009, -0.0399363153, -0.0515105985, -0.0200244542, 0.0047448771, 0.0586375557, 0.0559413657, 0.0566210411, 0.0266462229, 0.024096014, -0.037376117, 0.032002721, -0.0432242714, 0.0799249932, -0.0157249607, -0.0216599889, 0.0154941455, 0.0012801725, -0.0354329795, 0.0445567369, -0.04259298, 0.0035542711, 0.0360891372, 0.041084066, -0.0003537213, 0.0521234199, 0.0615176596, -0.0261201635, 0.030981848, 0.0536146685, -0.0357575156, 0.072566621, 0.0137823457, 0.0319711864, -0.0050516622, 0.0059986273, 0.0535522476, -0.040192306, -0.0121034449, 0.0529403985, 0.0298624374, 0.0014443978, -0.0574472062, -0.0124379005, -0.0143618155, 0.0024867838, -0.0542112775, 0.0051004323, 0.0096115908, 0.0349770151, -0.0513876416, 0.0229012053, -0.0171202086, 0.0135007519, -0.0227305274, -0.0473647192, 0.0279807057, 0.0278051216, 0.0032913976, 0.0169543158, -0.0129095465, -0.018099051, -0.0062711872, -0.0422378108, -0.0143786138, 0.0616542958, 2.587e-7, 0.0788817108, -0.0208282322, 0.0153963966, 0.003700447, -0.0199153237, 0.0198998731, 0.0197757408, 0.0139316134, 0.0249139462, -0.003945651, -0.0213661436, 0.0647860393, 0.0284352321, 0.0018907248, -0.0507343747, 0.0272441711, -0.0268328153, -0.0108416006, -0.047664281, -0.0113755446, 0.0804263651, 0.0820175186, -0.0351088829, -0.0062370463, -0.0059722858, -0.0596633926, 0.1095730662, 0.0092879944, -0.0185797326, -0.0099895727, 0.0500439666, -0.0047929054, -0.0019524518, 0.0106441686, 0.0019024534, 0.0099615287, 0.0705471709, 0.0582003519, -0.0137821715, -0.0553628951, -0.0206290279, 0.0072134244, -0.0017176757, -0.0193181746, 0.1114575341, -0.0452135019, -0.014750924, -0.028805146, -0.0721402839, 0.0088617643, 0.0313452967, 0.0013557224, -0.0287796669, 0.0338449515, 0.0591479167, -0.0457375683, -0.0100482339, -0.0709091574, 0.0028939038, 0.0245423671, -0.0372727364, -0.0183133818, -0.0358573087, -0.0414042845, 0.0276694875, 0.0037224805, -0.0512010753, 2.122839712e-34, 0.0357561372, 0.0028711038, 0.0272199064, 0.0328700878, 0.0292073563, -0.0296868421, -0.0293713957, 0.0000789992, 0.0131582106, -0.0990140289, -0.0018896902 ]
http://arxiv.org/abs/2310.07088v2
http://arxiv.org/pdf/2310.07088v2
Diversity of Thought Improves Reasoning Abilities of LLMs
2023-10-11T00:01:41
2024-02-23T20:35:30
Ranjita Naik, Varun Chandrasekaran, Mert Yuksekgonul, Hamid Palangi, Besmira Nushi
cs.CL
cs.CL, cs.AI
Large language models (LLMs) are documented to struggle in settings that require complex reasoning. Nevertheless, instructing the model to break down the problem into smaller reasoning steps, or ensembling various generations through modifying decoding steps boosts performance. However, these methods assume that the input prompt is fixed and expect the decoding strategies to introduce the diversity needed for ensembling. In this work, we discuss how one can create and leverage variations of the input prompt as a means of diversity of thought. We propose a method that automatically improves prompt diversity by soliciting feedback from the LLM to ideate approaches that are apt for the problem. We then ensemble the diverse prompts in our method DIVSE (DIVerse reasoning path Self-Ensemble) across multiple inference calls, or use diverse approaches within a single inference call; we call the latter IDIV-SE (In-call DIVerse reasoning path Self-Ensemble). Apart from our approaches outperforming prior work, DIV-SE(in particular) advances state-of-the-art performance on the challenging planning and graph coloring benchmarks. Our results improve the Pareto frontier of the accuracy-cost trade-off.
[ 0.0251732897, 0.0431027599, -0.0009427641, 0.0410152189, -0.0754402652, -0.0050415969, -0.0130819483, -0.0192909259, 0.0038741585, -0.028724473, 0.0028042181, -0.0431362912, 0.0018305626, 0.0153487381, -0.0080477912, -0.0412938558, 0.0292180032, -0.0922064707, -0.0042491909, -0.0456822626, -0.0389422774, 0.0066261482, -0.0231870804, 0.0490545072, 0.0113710957, -0.0246642139, -0.052347362, 0.0253020413, 0.0015001314, -0.0224186108, -0.0278739408, 0.0522975512, 0.0103332922, 0.0523999482, 0.0000022111, -0.0613174215, -0.0428947769, -0.0245013051, -0.0423513949, -0.0217886399, -0.0254829116, 0.0401955768, 0.009009812, 0.0307106879, -0.0239565726, 0.037549343, 0.0397290289, 0.0188981537, 0.0659255087, 0.0575688705, 0.029973058, -0.0109022465, -0.0074259872, 0.0023252196, 0.0145499082, -0.026969796, 0.0012421955, 0.0102470387, 0.056963712, -0.0044038547, -0.0359654427, 0.0258741248, 0.0480485298, -0.0104415175, -0.0179749746, 0.0229073558, 0.0236878265, -0.0142068611, -0.022562895, 0.0537380278, -0.0270703919, 0.0088627888, -0.0178830884, -0.0160049833, 0.0019072145, -0.0080783954, -0.0373127311, 0.0516218431, -0.0463190153, 0.029053783, 0.0010349748, 0.012447156, 0.0317749791, 0.0098598031, -0.0560273714, 0.1338353008, -0.0079882219, -0.0150902653, 0.0154347252, 0.0175832119, 0.0078927726, -0.0461414456, -0.0051183691, 0.032993, -0.0670278221, 0.0289126113, -0.0029828441, 0.0072235521, -0.0084494483, 0.0478665754, 0.083235614, 0.0593882576, -0.0174653288, 0.0439630561, 0.012422909, 0.0054923953, -0.0282628872, 0.0116374623, -0.0603311323, -0.0102525027, -0.0528623275, -0.0030578994, -0.029045213, 0.0395457782, -0.0374954455, -0.0045601609, -0.009679921, 0.0519213863, -0.0075778486, 0.0169605892, 0.0489746258, 0.0010513187, -0.0074165487, -0.0647299662, -0.0485282689, 0.023303315, -0.0450085141, -0.0051649925, 0.0384313464, -0.0588486567, -0.030292023, 0.0063285897, -0.0218522251, -0.0285171624, -0.0026264486, 0.0539907292, -0.0246977974, -0.0062492662, -0.0449181199, -0.0501783006, -0.017540317, -0.0580246747, 0.0359530859, -0.1035140678, 0.0194529146, -0.0018665023, -0.006828812, -0.0435242131, 0.0057186629, -0.0244363509, -0.0118606789, 0.0731434003, -0.0110288775, 0.0343090668, 0.0245459471, 0.0117094778, -0.0434976965, 0.1190475002, 0.0260540787, 0.0170491915, -0.002080455, 0.0281004459, 0.0199564323, 0.0522956215, -0.0140422713, -0.0089912098, 0.0122101167, 0.0077347062, -0.0105172675, 0.0495035797, 0.0084730899, 0.0520356111, -0.0265178662, -0.0193501264, 0.0294479225, 0.0470783226, 0.0086149788, -0.0288115647, 0.0509526879, 0.0071271663, -0.0131765986, 0.0148256803, -0.0380017683, 0.0505768172, -0.0247276649, 0.0153668122, 0.0357352681, 0.0510351285, -0.0096642654, -0.0532426685, -0.0362036414, 0.004839838, 0.0009149018, 0.0279640742, 0.0159978904, -0.0122426972, -0.0559201837, 0.0477653556, 0.0082060378, -0.0274524, -0.0440355875, -0.0437038839, 0.0394427218, 0.0972880721, 0.0376583897, -0.0074571958, -0.0496501066, -0.0000964768, 0.0148729226, 0.0314596631, 0.0295302477, -0.0054571051, 0.0180875976, -0.0755425245, -0.0536751635, -0.0138085186, 0.0011062667, 0.0676293448, 0.0409758538, -0.0387243629, -0.0238419138, -0.0128889447, 0.011594845, 0.0107332142, -0.0227668453, -0.0046403012, 0.0051254858, 0.0075300904, 0.0287068021, 0.0184916444, -0.0060988823, 0.0412141904, -0.0033947241, -0.0297534354, -0.0368072949, 0.0015113404, -0.0711682662, -0.0654177368, 0.0316799879, -0.0448903777, -0.0278616678, -0.0225084033, -0.0390684828, -0.0376307629, 0.0252592023, -0.0473389439, -0.0140159484, -0.0115540568, 0.0242572483, 0.0163873937, -0.0280745067, -0.040592771, 0.0664793402, -0.0523024388, -0.0202351697, 0.0303459596, 0.027468197, 0.0171797834, -0.072272256, -0.0223873872, 0.0509588867, 0.0149192614, 0.0059738653, -0.010535554, 0.0213480778, -0.0569318533, -0.0506695025, -0.07705383, -0.0107023101, -0.0107094077, -0.0006092236, -0.0192306135, 0.0019266028, -0.0067513678, -0.0053489376, -0.0223208573, 0.0078621991, 0.0140114967, 0.0338155665, 0.0097960737, 0.0013346683, -0.0275336616, 0.0033254395, -0.022868162, -0.0124574136, 0.0314162113, -0.0224215817, -0.0390526317, -0.054294847, 0.0048343278, -0.0395639539, 0.0121404808, -0.0134715103, 0.0020130656, 0.0483312532, -0.0339961164, 0.0361110754, 0.0663458928, -0.0071196784, -0.0121811265, 0.0792368948, -0.0434456952, -0.0572439171, 0.043024648, -0.0042379638, 0.0027107161, -0.0196997616, -0.0431443639, -0.0036966964, 0.0615698658, 0.0002794412, 0.0039865053, -0.081512548, 0.0133533143, 0.018145876, -0.0509800576, -0.0220837872, -0.0235535856, 0.0118809072, 0.0647256672, -0.0236955415, -0.0433396548, 0.1002249867, -0.0112639265, 0.0015792734, -0.0212161466, 0.0129785948, -0.0662415475, 0.0888429582, -0.0341786705, 0.0020191623, 0.0227833632, -0.001001337, -0.0607288815, -0.0058805724, 0.0222951528, -0.0420812108, 0.0845998079, -0.0899481401, -0.0007569139, -0.0008516728, -0.0553819314, -0.0590766259, 0.0164893735, -0.0494304374, 0.0116272839, 0.022524884, -0.0157115199, -0.0284360703, -0.0168430209, 0.0110789388, 0.0162762236, -0.0211105049, 0.0092927292, -0.0043447958, -0.0021060375, 0.009423635, 0.0486776903, 0.0364005603, -0.0411547385, 0.0711300001, 0.0367330723, 0.023758363, -0.0226077214, -0.0214125719, 0.0300082862, 0.0323600248, 0.0033823953, -0.0189919174, 0.0290468931, 0.0817390829, -0.046716366, -0.0260228999, 0.102366358, 0.0358299986, -0.0180385001, -0.0008235879, -0.0594591983, 0.0762417093, 0.0199417248, 0.0350063965, -0.0518235043, -0.0395438671, 0.0187047999, 0.0083029857, -0.0172070451, -0.0507460348, -0.0275673997, -0.1394210607, 0.0341065004, 0.0254368186, 0.0075286725, 0.013970905, 0.0082569709, -0.0291104373, 0.0212907083, 0.0111411344, 0.0196431857, 0.0328972228, 0.0099294493, 0.0214141011, -0.0353209637, -0.0303492546, 0.003375463, 0.0025791563, 0.0406063348, 0.0526865758, -0.0183759537, 0.0328325927, -0.0495524183, 0.0362204649, 0.0200555231, 0.0305907596, -0.0379391648, 0.0093867835, 0.0164944381, 0.0184482727, 0.0135847889, 0.0193552729, -0.0292348228, -0.0409375057, 0.0233798269, 0.0767324716, -0.0586785711, -0.0200118888, -0.0126701789, -0.0005512973, 0.0024186431, 0.0790980384, 0.0247011352, -0.0100704562, -0.0357872806, -0.0947566107, -0.0330895334, -0.1090804562, -0.004502343, 0.0299885403, 0.0195802338, 0.0087648761, -0.0367085785, -0.0081517287, 0.0535396114, 0.0434350483, -0.0093421331, 0.001036221, -0.025629811, 0.0121408086, -0.0146738635, 0.0256847553, -0.0252428167, 0.0188440476, -0.033872433, -0.029841952, -0.0186360031, -0.0255527254, 0.0090252021, 0.0201464277, -0.0785199329, -0.0783131197, 0.0030555362, 0.0437719375, 0.0291491114, 0.0595623478, -0.0010084648, -0.0516881235, 0.0527708568, 0.0390773304, 0.0573671088, 0.0124856932, 0.0192032252, 0.0549799614, 0.022080766, 0.0409284011, -0.0439088829, 0.0061176363, 0.0388769582, 0.0728810802, -0.0355546772, -0.0187615603, 0.0309805423, 0.0197074823, -0.0236229002, -0.0310146511, -0.0127026327, -0.0070906891, 0.026921032, -0.0023758307, -0.0470918827, -0.0511779822, 0.0215267539, 0.0193048473, -0.0547760502, 0.041421771, 0.0188221894, 0.0186046865, 0.0220370274, -0.0112738507, 0.0066492888, 0.0251846872, -0.0017256095, 0.0361407623, -0.0158681739, -0.0131552201, 0.046074558, -0.0253803972, 0.0212412216, 0.0426617637, 0.0689490139, 0.0261480622, -0.014720236, -0.0266768113, 0.0000765408, -0.0806145594, -0.1048343703, 0.0277790725, 0.0665597916, 0.0559141301, 0.042034369, 0.0059951851, -0.0348966122, 0.0128148478, 0.0053180694, 0.0080976598, 0.042587705, -0.0288817678, 0.0649674907, 0.0424887575, 0.0082222251, -0.0582540333, 0.0365281925, -0.0389475077, 0.0419413373, -0.0066710571, 0.0193504412, -0.0571423583, -0.0567422658, -0.0399001949, 0.0332326107, -0.0078856964, 0.0207323432, -0.05982925, -0.0311691817, 0.0264474861, 0.0560489818, 0.0166053418, 0.0058757984, 0.0516285487, 0.0491832159, -0.0003579152, -0.0418662988, 0.0051154355, -0.0042193565, -0.0156952683, -0.0272655282, -0.0240467824, -6.674853653e-33, -0.02860884, -0.0401673242, 0.0628991798, -0.0633276924, 0.0008522194, -0.0281619858, -0.0332277082, 0.0266305096, -0.0098860208, -0.0043839035, -0.0169932134, -0.0037816006, 0.0101393871, 0.0332522281, 0.0216947459, -0.0190516934, 0.0233030356, 0.0165506098, -0.0560984388, -0.030583838, 0.0198109895, -0.0014895073, 0.0100116655, 0.007421419, 0.0013882185, 0.0159926508, -0.0088396072, 0.0527976044, -0.0346886925, 0.0548738167, 0.0060503492, 0.018126661, 0.0180817116, -0.0304641891, -0.0353372693, 0.0106106047, -0.0060303728, -0.0523038767, 0.0398420431, 0.000043213, -0.0559624098, -0.0518232547, 0.0097056739, 0.0146976896, -0.0134031661, -0.0369859971, -0.0059097582, -0.0212779157, -0.0022399509, 0.0221549626, -0.0074821915, 0.0319085196, -0.0066694613, -0.03871179, 0.0179077014, 0.0185447931, 0.0052582067, 0.0138854384, -0.0071746754, 0.0317660458, 0.0230762735, 0.0131048495, 0.0860938504, 0.0355821177, -0.0073141167, 0.0305932425, 0.0028432244, 0.0005276066, -0.0917098224, -0.0231921077, -0.0211134013, 0.0644623712, 0.0320307799, 0.016919272, -0.0091606807, 0.0444400348, -0.0278964173, 0.0176898427, 0.0493895859, 0.00592762, 0.0395094976, 0.0302118827, -0.0254479013, -0.0267448202, -0.0426557846, -0.0187283885, -0.0189047549, -0.0092596291, 0.033383403, -0.0110767828, -0.0230969563, -0.0182009153, 0.0455942452, -0.0190991182, -0.0221986044, 0.0223273672, -0.0124670416, 0.0199739039, -0.0022275369, 0.0540633723, -0.0228456892, -0.0078134658, 0.0398745164, -0.0063220952, -0.0023539031, 0.0186186992, 0.0005297697, 0.0171069726, -0.0641954839, -0.0180957653, -0.0839366317, 0.0315939337, -0.0069772741, -0.0150903193, 0.0476254597, -0.0010380256, -0.0124466801, 0.0215353109, 0.0096427714, -0.0306456983, -0.016248513, 0.007949234, -0.0315158479, 0.0130087277, -0.0064561991, 0.0228170194, 0.0007313683, -0.0398612954, 0.0069892784, -0.0035573172, -0.0146591794, 0.0538272597, 2.862e-7, 0.0218674876, 0.0269192737, 0.0203016382, 0.0332026407, 0.0120545207, 0.0237320364, -0.0538105965, -0.0294312891, 0.0017779805, -0.0597548857, -0.0008965739, 0.0832103118, 0.059653651, 0.0360915922, -0.0811895505, 0.0102345683, -0.0137771023, 0.0148609746, -0.0570409931, -0.0096233562, 0.0615967587, 0.0653511807, 0.0098334793, -0.0075226668, -0.004852829, 0.0023946404, 0.0368357114, -0.0365222357, 0.0038040662, 0.0065190387, 0.0218661446, -0.0465796553, 0.015620322, 0.0274525434, 0.0267971102, 0.0023437145, -0.0304488409, 0.0449057221, 0.0016110765, -0.0428433083, -0.0130570289, -0.0284636952, -0.0050550732, -0.0385819972, 0.067006208, 0.0071195923, -0.0292464327, -0.0432406478, 0.0369851105, -0.0121732382, 0.0117267761, -0.0150575256, -0.0066632484, 0.0141979679, 0.012155531, -0.0232876725, 0.022916859, -0.0731179714, -0.0268564671, -0.0393030941, -0.0478402749, -0.0630933195, -0.0441877209, 0.0429964662, 0.0195873715, -0.0412254743, -0.0285196714, 2.883425883e-34, 0.0383350402, -0.0119576398, 0.0157419872, 0.0720553175, 0.0283562485, -0.0226833802, -0.0111597953, 0.0138161657, 0.0270018838, -0.0687095746, -0.0385974869 ]
http://arxiv.org/abs/2310.07081v2
http://arxiv.org/pdf/2310.07081v2
Crossing the Threshold: Idiomatic Machine Translation through Retrieval Augmentation and Loss Weighting
2023-10-10T23:47:25
2023-10-20T19:24:14
Emmy Liu, Aditi Chaudhary, Graham Neubig
cs.CL
cs.CL
Idioms are common in everyday language, but often pose a challenge to translators because their meanings do not follow from the meanings of their parts. Despite significant advances, machine translation systems still struggle to translate idiomatic expressions. We provide a simple characterization of idiomatic translation and related issues. This allows us to conduct a synthetic experiment revealing a tipping point at which transformer-based machine translation models correctly default to idiomatic translations. To expand multilingual resources, we compile a dataset of ~4k natural sentences containing idiomatic expressions in French, Finnish, and Japanese. To improve translation of natural idioms, we introduce two straightforward yet effective techniques: the strategic upweighting of training loss on potentially idiomatic sentences, and using retrieval-augmented models. This not only improves the accuracy of a strong pretrained MT model on idiomatic sentences by up to 13% in absolute accuracy, but also holds potential benefits for non-idiomatic sentences.
[ 0.0469298325, 0.0631619245, -0.0026925583, 0.0283344351, -0.0171378274, 0.0027632297, -0.0186474659, 0.0450292751, 0.0280735381, -0.0164801907, -0.0385200605, -0.0152355777, 0.0025033506, -0.0073074745, 0.0144192586, -0.0454550907, 0.0205016658, 0.0297019202, -0.0256751273, -0.0021033923, -0.0014914172, 0.0324163474, 0.016453024, 0.0323539414, -0.033460889, 0.020490665, 0.0402841158, 0.0689807534, 0.0265369359, -0.0231116377, 0.0431190319, -0.0057915696, 0.0101141697, 0.0396110564, 0.000002269, -0.0291950013, -0.0268652067, -0.0374851413, 0.0164831672, 0.0070891306, 0.048880145, -0.0438416526, -0.0191559419, 0.0034521397, -0.040113125, 0.0296451412, 0.0559572168, 0.0467056781, 0.0140672969, 0.0739453733, -0.0128178895, -0.0520222485, 0.0011802678, -0.0561926849, 0.0129440036, -0.0775737688, 0.0010599334, -0.023863757, -0.1049296558, 0.0097909356, -0.0302764364, 0.0583568886, 0.0257327985, 0.016259538, 0.006891429, 0.0285785645, -0.0256469231, -0.0016909802, -0.0421070419, 0.0482518971, -0.0072615002, -0.0268092602, -0.0375597961, -0.0246728119, 0.0019556752, -0.0548445471, -0.0480690226, -0.0093456609, 0.0100703845, 0.0191703495, 0.015478231, 0.0387681946, 0.00734432, 0.0306624509, -0.0858151913, -0.0165577438, 0.0205971934, -0.0070951954, 0.017194489, -0.0104992148, -0.0432665534, 0.0274119433, 0.0286480896, -0.0261217542, 0.0246751476, 0.0140720727, 0.0200671237, -0.0380446948, 0.0143571636, -0.0789654478, 0.0416487418, 0.0538604073, -0.0034321335, 0.032102868, -0.0103004891, 0.0355076902, -0.0160650704, 0.0459595397, -0.0706878752, -0.0120175807, -0.0562712513, -0.0033805834, -0.0567785501, 0.0139743583, -0.0159267038, 0.0127982236, -0.0318076611, -0.0003690631, -0.0092811473, -0.0424968563, 0.0192452129, 0.0133127682, -0.1095016003, -0.0340623669, -0.011113761, 0.0896921307, 0.0035487211, 0.0451425016, -0.0121622421, -0.0721939802, -0.0201617014, 0.0106669525, -0.0008022049, -0.0674845725, 0.0386824086, 0.0604759157, -0.0189582575, -0.0891017243, -0.0064660558, 0.007202453, -0.0142390374, -0.0226841141, 0.0144367078, -0.0352825709, 0.0494286269, -0.0144643085, 0.0439316481, -0.0960640609, 0.0286773313, 0.0025942959, -0.0375919901, 0.0450154245, 0.0335366726, 0.0036322239, 0.0097999573, 0.0006946205, -0.0211606175, 0.0505627394, 0.0457508415, 0.0134869423, 0.0446143225, -0.0065071648, -0.0062725469, 0.0455407836, 0.0258856658, 0.0476370305, -0.0426220559, 0.0113483267, -0.0153488219, 0.0212347209, 0.0378688946, 0.0332723409, -0.0094656469, 0.0577211045, 0.0662763789, 0.0127179651, -0.016815111, 0.0180703569, 0.0074587064, 0.0455115587, -0.031240508, -0.0276656877, -0.0057470156, 0.0066492041, -0.032425303, -0.0036097812, 0.0089917202, 0.0330056921, -0.0119159883, -0.0556833148, 0.0261289943, -0.0233094282, 0.0572031066, -0.0223840363, 0.0370049812, 0.0449039117, -0.0389035195, 0.0906956941, -0.0116869854, -0.0699241683, -0.0232966822, -0.0272496603, -0.0838444456, 0.0395841077, 0.0444176681, 0.005110865, -0.0017042803, -0.0064377743, 0.0543617718, 0.0132237868, 0.0247586425, 0.0353887491, 0.0447132029, -0.0391340144, -0.0104929125, 0.034221895, 0.0077402196, 0.0080395155, 0.0006245602, 0.0628716201, 0.0301721096, -0.0331472643, -0.0912283286, 0.0171417743, -0.007428512, -0.0583648086, 0.0517644472, -0.003635936, 0.0166278947, 0.0008737172, -0.0308164842, 0.0127477404, 0.0467365496, -0.049713023, -0.0389772616, 0.0704988614, -0.0079702856, -0.0345317833, 0.0212566331, -0.0456395335, -0.0376519598, 0.0000637443, -0.0540623702, -0.0132326074, 0.0050034048, -0.0510678813, 0.021827938, -0.0406328849, 0.0205881856, -0.0146668069, 0.0319832861, -0.0454201028, 0.0448597074, -0.0136057818, -0.0065030586, -0.0503520593, -0.0527783297, 0.0285908654, -0.0172315631, 0.0071769222, 0.0117171835, -0.0310558602, 0.0407430716, 0.0561545603, 0.0413992889, -0.0233279392, -0.0270936079, -0.0853123739, 0.005651223, 0.00253461, 0.0244401656, 0.0067732623, 0.0688817054, -0.0186119862, -0.0229490176, 0.0252012946, -0.0578084812, 0.0035245256, 0.0223333109, 0.0066893934, -0.0023685195, -0.0044232039, -0.0057915179, 0.001382662, -0.0068154284, 0.0179844555, 0.0188108813, 0.0016129639, -0.0030444136, 0.022875566, -0.0327529125, -0.0355786197, 0.0055989763, -0.0855919197, -0.0103169493, -0.0291928891, 0.0123370131, 0.0740500912, 0.0375011601, 0.0133105963, 0.0129392678, -0.0206753816, -0.0593789518, -0.0025616426, -0.0342668034, -0.0802922323, -0.0299199652, -0.0574346371, 0.0265582819, 0.0338003077, 0.0197495185, 0.0111148665, -0.0495615527, 0.0196725018, 0.003033011, 0.0059576849, -0.0332602151, 0.0585192256, -0.007615583, 0.036134921, 0.0029595667, -0.0176887512, 0.063953273, 0.0079242075, -0.0204800665, -0.0727270842, 0.0074076238, -0.010852132, 0.0621636063, -0.0343002602, 0.0382606871, 0.0065194103, -0.0102575272, -0.0167823751, 0.0005563895, 0.0086085442, -0.0532255433, 0.0153855933, -0.0265461951, -0.0082233278, -0.0145332171, -0.0301470701, -0.0066026645, -0.0341490023, -0.00301366, -0.0377714299, 0.0289955214, 0.0096932575, -0.0187746715, -0.0288815759, 0.0343435369, 0.0005386157, 0.0006265296, -0.031563729, -0.0056116632, 0.003384473, -0.0035029505, -0.0013158172, -0.0285726488, -0.0074136998, 0.0058219121, 0.0189948548, 0.0095816357, -0.0302955173, -0.0133161917, -0.0219251942, 0.0451959074, -0.0167517923, -0.0076889298, -0.0072837807, 0.0370105542, -0.0286293998, -0.0388247147, 0.0648495257, 0.0285929311, -0.0245178845, 0.0145503953, 0.0034021772, 0.0394750163, 0.0210557692, 0.0243923236, -0.0776925683, -0.0466656722, 0.0094652409, 0.0097098025, -0.0112722646, 0.0365558341, -0.0133867841, -0.0992811844, 0.0199703313, 0.0494780727, -0.0351102725, -0.0507190265, -0.0011324203, -0.0583613366, -0.0468658991, 0.0045122127, -0.003865727, 0.0059915823, -0.0021584621, -0.0140419155, 0.0086259777, -0.0724696815, -0.0085713249, -0.0242342651, -0.0219557267, 0.0423969664, 0.086437583, -0.0293174163, -0.0721816495, 0.0110922391, -0.0254919827, -0.0108579379, -0.0065013086, 0.0104145315, 0.00948299, -0.0103107644, 0.0320358016, -0.003574633, -0.0174614638, 0.0011574603, 0.0187358614, 0.0098386034, -0.0316437967, 0.0354235806, -0.0018504043, -0.0397976115, 0.0237221047, 0.0539315976, 0.0084987609, -0.0535570942, 0.0444451869, -0.0179775655, 0.0273470599, -0.0527481027, -0.0338515081, 0.0002298713, -0.0496722572, 0.0053642523, -0.0913717225, -0.0278262086, -0.0243818648, 0.0431913324, 0.0040625692, 0.0006316963, -0.0879663453, 0.0000067267, -0.0635065809, 0.0666975155, -0.0400403216, 0.0221944731, -0.0503992476, 0.0040083611, 0.025975747, -0.0309476797, -0.0183469262, 0.0409746431, 0.0052590691, -0.0719586164, -0.0463947803, 0.0841851234, 0.0226619523, 0.0307510532, -0.0131724896, 0.0133989295, 0.0220917836, 0.0583023839, 0.0066847294, -0.0010498501, 0.0731375962, -0.0196229238, -0.0006211646, 0.040544156, -0.0261369608, 0.0393162854, -0.0241829902, 0.0878866389, 0.0024574716, -0.0665719658, 0.0369246416, 0.0168057699, 0.0380868316, -0.052639246, -0.0619559586, 0.0132144671, 0.0485596135, 0.0162756406, -0.0428150967, -0.0159850474, 0.0093332604, 0.0678132772, 0.0096632158, -0.0125356186, 0.0092913024, -0.0278161112, -0.0283128675, 0.0145837525, -0.0420427956, -0.0134297628, -0.003198605, 0.0057180701, 0.0472305678, -0.0095546292, -0.0157955419, 0.0124227619, 0.0314751342, -0.0024632276, 0.040106833, 0.0126750786, -0.0085663497, -0.0061164834, 0.034373153, -0.0025979495, -0.0182980374, -0.0114734489, -0.0217494797, 0.0548827425, -0.0276889112, 0.0809361786, -0.0178100821, 0.0063696592, -0.0196725857, 0.0256304052, 0.0038550857, -0.0687610283, -0.0000759239, -0.020926021, -0.0112348534, 0.002871437, 0.0359709263, -0.0613813512, 0.0216966737, -0.0044868053, -0.0117112994, -0.0122946519, 0.0088298265, 0.0782889947, 0.0030209189, 0.0129056154, -0.0103885988, -0.0320209414, -0.0436994955, 0.0418223143, -0.003172762, 0.0110862469, -0.0344477147, 0.0222073123, 0.0690127015, 0.0007419551, 0.0331535526, -0.0578675717, 0.0125215882, -0.0862333626, -0.0026988448, -0.0657806247, -6.728512766e-33, -0.0389330201, -0.0027149282, -0.0116559258, 0.0047766217, -0.0145537201, 0.0095849819, -0.0464264303, -0.0083521949, 0.0027253982, 0.0163925048, -0.0100201992, 0.0207486525, 0.0020641093, 0.0355712026, 0.0277050827, 0.0566810109, 0.0188691784, 0.0387629122, -0.0424418747, 0.0073480532, 0.0649767295, 0.0298105069, 0.0928064957, -0.0460915081, 0.0124846343, -0.0010023343, -0.0368136875, 0.0194902346, 0.0333734937, 0.0490224063, 0.016496446, 0.0674375221, 0.0056500756, -0.0018146372, 0.0235095173, -0.0263323188, -0.0723173395, 0.0139951557, -0.007845127, 0.0438002981, 0.0572285764, -0.0539669767, 0.0754518732, -0.0437019579, -0.0239787977, 0.0312399976, 0.0201573577, -0.0355625674, -0.002202532, -0.0241316725, -0.0788505599, -0.0080645503, 0.010407825, -0.0472420417, -0.0191510674, 0.0302572735, 0.0120324753, -0.00002265, -0.0678246021, 0.0270950831, -0.0310757048, 0.0150270909, 0.0248495508, -0.0287969355, 0.0013807931, 0.025258163, -0.021633517, -0.0427841805, 0.0482782833, 0.0071134972, 0.0617146082, 0.0192807652, 0.0586651638, 0.0371506028, 0.0482458957, -0.0374237448, -0.0211674813, 0.0562514178, -0.0048214048, 0.0306883641, 0.0285362173, 0.0502699651, -0.0496153757, -0.0043492108, -0.0132574691, -0.0137681998, -0.0048617804, -0.0364237614, 0.0089545343, 0.0137432339, -0.0346409157, 0.0314512029, 0.0693785176, -0.0251747798, -0.0456599668, -0.0009770367, -0.0355694517, -0.0185632892, -0.0175131019, 0.0287235901, -0.018777404, -0.039137423, 0.0130154798, 0.0254373401, -0.0026941497, -0.0067656818, 0.065979667, 0.0279179793, -0.037836358, 0.0019046261, -0.0275528505, -0.034644179, -0.041351106, 0.0089230333, 0.0191318076, 0.0486104339, -0.0258883145, -0.0093785217, 0.0521567315, -0.0087748468, -0.0671686083, -0.0149426805, -0.0029303529, 0.060639929, -0.0449053347, 0.0221881643, -0.01317761, -0.0032060773, 0.0267714038, -0.0388454758, -0.0489629619, -0.031503275, 3.08e-7, 0.0461054333, 0.0543236956, 0.0094740996, -0.0172182955, -0.0304475091, 0.0457357951, -0.0234541465, 0.0352801792, -0.0331876166, 0.0381565578, 0.0370332226, 0.0380322784, 0.0534073748, 0.0036318279, -0.0647248551, 0.0088696266, -0.0518441536, 0.0556310527, -0.043401897, -0.026909424, 0.0211612955, 0.1033050716, -0.0092778318, -0.0049601546, 0.0155668734, -0.0717230365, 0.0955143645, -0.0318173878, 0.0379012898, -0.007198696, 0.065558508, 0.0610051192, 0.0044450243, -0.0039191437, -0.0190950725, -0.0164657086, 0.0549533591, 0.0314068384, -0.0388794839, 0.0088804243, -0.0301603675, -0.0161710121, -0.0195996072, -0.0251341946, 0.0265805051, -0.0921741202, -0.0223107263, -0.0052765971, -0.0349456668, 0.0475371853, 0.0571772866, -0.0325128697, -0.04323484, 0.016321918, 0.0477277972, 0.0269971974, -0.0217256621, -0.0548657775, -0.0328923389, -0.0078914547, 0.0280723814, -0.0113558229, -0.0230434258, 0.0272634104, -0.0486595146, -0.0339450799, -0.008943947, 2.530660029e-34, 0.0410309806, -0.0150284264, 0.0037039982, 0.0124632642, 0.0602641441, -0.0142276175, 0.0329392441, 0.0282952525, -0.0300269164, -0.0160898473, 0.0190092903 ]
http://arxiv.org/abs/2310.07075v3
http://arxiv.org/pdf/2310.07075v3
Don't Fine-Tune, Decode: Syntax Error-Free Tool Use via Constrained Decoding
2023-10-10T23:37:53
2024-06-04T15:50:22
Kexun Zhang, Hongqiao Chen, Lei Li, William Wang
cs.CL
cs.CL, cs.AI
Instruction-tuned large language models (LLMs) excel at many tasks but often fail to use external tools due to complicated and unfamiliar syntax constraints. While extensive fine-tuning and prompting can mitigate the issue, these approaches are expensive and hard to generalize. Furthermore, because syntax constraints are only learned implicitly during fine-tuning, models still make frequent syntax errors. Motivated by the fact that these constraints can be better satisfied explicitly with constrained decoding, we propose TOOLDEC, a decoding algorithm using finite state machines to force LLMs to follow tool syntax. Our experiments show that TOOLDEC eliminates all syntax errors, achieving significantly better performance on various base models and benchmarks. More surprisingly, when applied to generalist out-of-the-box LLMs such as Mistral-Instruct, TOOLDEC improves its accuracy in tool use from the initial 0% to an impressive 52%, matching the performance of specialized fine-tuned models such as ToolLLM.
[ -0.0142243709, 0.0720502362, -0.0091115497, 0.0348002762, 0.0064097904, 0.0079060923, -0.0574399754, -0.0123833632, -0.0002726409, -0.0103655132, -0.0313438512, 0.0193919521, 0.0048311208, 0.0079080556, 0.0281668007, -0.0264001898, 0.0729169324, -0.0498933271, -0.0468180291, 0.0294585843, -0.0133849466, 0.0135444244, -0.0093300948, 0.0637921542, 0.0058867573, -0.0283271205, -0.0204097759, 0.0480237752, -0.0065091928, -0.0023256245, 0.0143220574, 0.0165646076, 0.0236080289, 0.0348329954, 0.0000021302, -0.0450045206, -0.0264319628, -0.0051133796, -0.0414218716, 0.0182575639, -0.0030232759, -0.0628691465, -0.0326401815, 0.0482725427, -0.0160043593, -0.031513866, 0.0607723668, -0.0299126171, 0.0740957707, 0.0951948836, 0.0040124431, 0.0140646575, 0.0160680935, -0.0050338819, -0.0420289226, -0.0119979596, 0.0046085622, 0.0080809677, 0.0037948566, -0.0126873348, -0.0209816862, 0.0234884135, 0.0279324278, 0.000973804, 0.0012149879, 0.0166920591, 0.0233486574, -0.0265602134, -0.0313724354, 0.0349012874, -0.0391811915, -0.0214142241, -0.0097263195, -0.017388314, -0.0285882819, -0.0058774832, -0.033666119, 0.0499003641, -0.0328653529, 0.040747989, 0.0506222285, -0.0336515792, 0.0324445553, -0.0034436472, 0.0170399658, 0.0448460057, 0.0188015327, -0.0163349081, -0.0094796941, 0.0132724475, -0.0008080144, -0.0577162132, 0.0020083336, 0.0387591645, -0.0639911443, 0.018950792, -0.0785645843, -0.0067450996, 0.0111970166, -0.0311068632, 0.0468782671, 0.059778247, -0.0066596176, 0.0408033282, -0.0181228556, 0.0227467027, -0.0006836792, 0.0127810519, -0.0241124108, 0.0168189928, -0.0474960431, -0.0291301794, -0.0277101342, -0.0035549577, -0.0388496816, -0.0059879888, 0.0087526124, 0.0447635241, 0.0238179769, 0.0476892516, 0.0355145857, -0.0468796715, -0.0531605408, -0.0211069919, 0.0193933155, 0.0133668873, -0.0036275892, 0.006581306, -0.0300479122, -0.0545135997, -0.0397459939, 0.0272315536, -0.0316800661, -0.0323978588, -0.0154961692, 0.0853743926, -0.0274909884, 0.0180527363, -0.0185395628, -0.0268295333, 0.0320460983, -0.0068556061, -0.0020972278, -0.044428207, 0.0107827615, 0.0507716946, 0.0244670212, -0.0722508132, 0.0065919608, -0.009467449, -0.0181499179, 0.018839905, -0.0270130467, -0.0115284398, -0.0167210568, 0.000914957, -0.0025843929, 0.0442185476, 0.0265444573, 0.0316528566, -0.0397873074, -0.0056414232, 0.0135700582, 0.0776333958, -0.0291493814, 0.0103315264, -0.0556852296, -0.0193293337, 0.0335768759, 0.0060305442, 0.0709186271, 0.0637972131, -0.0023062758, 0.0141276922, 0.0239834376, -0.0216503385, 0.0114455475, 0.0514512509, 0.0485479124, 0.0340822004, -0.0092280637, -0.023482753, -0.0681744143, -0.0093774237, -0.0355957597, 0.0251419898, -0.0142546417, 0.0253751129, 0.0163249169, -0.0360616855, -0.0059808209, -0.0040632295, -0.0122571234, 0.0021369169, 0.0363647193, 0.0040917029, -0.0654140189, 0.0604283325, 0.0014967649, -0.0109162945, -0.0264613982, -0.0505071133, 0.0145154912, 0.0522174574, 0.0722638816, -0.0060748043, -0.0403835513, -0.004111703, -0.0010076623, 0.0122752292, 0.0303833708, -0.0020253609, 0.0298788734, -0.0378713682, -0.0083816107, -0.006269196, 0.0169786401, 0.0285818614, 0.0229886454, -0.0340128988, 0.0007651493, -0.0566814803, -0.019585276, 0.0414514281, 0.0349623039, -0.0640195236, -0.0224272236, -0.0054007308, -0.0021026286, -0.0298780296, -0.0385623537, 0.0184527803, 0.0238627382, -0.0254110135, 0.0122977421, -0.0222796947, -0.0563597307, -0.0160866138, 0.024428308, 0.0155124683, -0.0153071517, 0.0181685574, -0.0374745987, -0.0346225128, 0.0295761991, -0.0286784545, 0.058861658, 0.0036205677, 0.022216104, 0.0159771238, -0.0050504268, -0.0612166263, 0.0399586856, -0.0261105224, -0.0237279963, -0.0037216556, 0.0025986696, -0.0325216241, 0.0120880436, -0.0210423712, 0.0178333409, 0.0149107259, 0.048651848, -0.0106717562, 0.0309359767, 0.0025728156, -0.0378660969, -0.0844093114, 0.0303521827, -0.0245187897, 0.0178725328, -0.0073617282, 0.0148099633, -0.0097742863, -0.0128558911, 0.017169917, -0.0095375879, -0.0311105512, -0.004974266, -0.0131649133, 0.0071802582, -0.0689018518, -0.0590162985, -0.0316140503, -0.0356601141, 0.0014101758, -0.01661589, -0.0227119196, -0.0929398239, 0.1222616285, 0.0456979163, 0.0451851934, 0.0030064699, -0.0325748995, 0.0145298522, -0.0353940167, 0.0111768786, 0.0711926371, -0.0721494257, 0.0145510053, 0.0754315108, -0.0166465994, -0.0753357038, 0.0119043672, 0.0343970209, -0.0890304595, -0.0479396842, 0.003820508, 0.0482872836, 0.0914549157, 0.0170448851, 0.0214083828, -0.0239907075, 0.0243184343, 0.002160202, -0.0244289972, 0.0140564991, -0.0195813328, -0.0057321712, 0.0140951602, -0.0236169659, -0.0591696091, 0.0610705577, -0.0621590912, -0.0145087531, 0.0204072595, -0.0082607558, -0.0213518515, 0.04227468, 0.0187426507, -0.0084294071, 0.0143149886, -0.045351468, -0.0127129089, 0.0064758034, 0.0324812606, -0.0015107082, 0.0184295755, -0.0640600026, 0.0258018821, -0.0287732128, -0.0311597902, -0.0232529771, -0.0246004649, -0.0385914184, -0.0009125104, 0.0700349882, -0.0269399136, 0.0151884919, 0.0036012807, 0.0097871944, 0.034266606, 0.0087900404, -0.0283941925, -0.0540732034, -0.0152868051, 0.0008866196, 0.0102912821, -0.005069436, -0.0404202454, 0.0278559122, 0.0351135395, 0.0412677452, 0.0079141632, -0.0733126923, 0.0149418712, 0.0683351085, -0.0076520084, -0.0372280553, 0.0506154895, 0.0862218291, -0.0824851468, -0.0179417245, 0.0864476264, 0.0332800448, -0.0437341183, 0.0234363005, -0.0175702106, 0.0537291802, 0.0346747711, 0.055377394, -0.0805374533, -0.049456086, 0.0513235107, 0.0426051356, 0.025168499, -0.0067247339, 0.0052874419, -0.0986991301, 0.0190211851, 0.0530294329, 0.0056967116, -0.0101881931, -0.0170791019, -0.0151339192, 0.0021494241, -0.0012981709, 0.0499369428, -0.0106389793, 0.0000416762, 0.0448156595, 0.0021970284, -0.0662817806, 0.0197677668, -0.0154203866, 0.0635798052, 0.1068981513, -0.0381188318, 0.0105534848, -0.0003566697, 0.0900857374, 0.021040678, 0.0270673539, -0.0429339781, -0.0456304364, -0.0002323367, -0.0197901689, 0.0154401492, 0.0177641492, -0.0363543406, 0.0030169687, -0.0039476156, 0.0760614201, -0.0283859186, 0.0294595435, 0.0025356659, -0.0889900774, -0.0026866647, 0.0206236765, 0.0365081057, 0.0098704742, -0.0598114207, -0.1016253233, -0.0341158733, -0.055461742, 0.0067826132, 0.0133136231, -0.0011793374, -0.0153433327, -0.0389492102, -0.0269905683, 0.0532355458, -0.0030589532, 0.0226118732, -0.0406107754, 0.0246985909, -0.0025691586, -0.0531385243, 0.016433144, -0.047458902, 0.0313894711, -0.0702964216, -0.029787479, 0.0016623896, 0.0182217956, -0.001431452, 0.0253048148, -0.0569992997, -0.0597411692, 0.0019417786, 0.0832930282, 0.0214500725, 0.0381241217, -0.0472205728, -0.0669737384, -0.0580638051, 0.041997809, -0.0233252011, 0.0200674403, 0.0406428166, -0.0287297294, 0.0096586803, 0.0229634233, -0.026367262, -0.0216310825, 0.0227632709, 0.046763733, -0.0377960019, -0.0316316001, 0.0522629172, 0.0158426668, 0.0020679992, 0.0060734679, 0.0332604647, 0.0013704882, 0.0033789258, -0.0048996476, 0.0059609218, -0.0442261323, 0.0192709379, 0.014562076, -0.0255269278, 0.034666039, -0.0294288378, 0.0141310431, 0.0367620476, -0.0265965648, 0.036643263, -0.0071530389, -0.0117086619, 0.0707951635, 0.027596619, -0.034481585, 0.0584757403, 0.0136871124, 0.0516972579, -0.0142054427, 0.0349474549, 0.0163632948, 0.0402983613, -0.0504773296, 0.0022108653, 0.0215849262, -0.1120122969, -0.027281899, -0.0263323337, 0.0847088471, -0.005572442, 0.0597841479, -0.0312180184, 0.0213217288, -0.0330501348, 0.0345719345, 0.0010191657, -0.0298813898, 0.0105330041, 0.0472574979, -0.0170594342, -0.0140944095, 0.064636685, 0.030320568, 0.0427643135, -0.0024028656, -0.0097078178, -0.0539377965, -0.0139630679, 0.0203073025, -0.0278064962, -0.0255767014, -0.0020454759, -0.0032107951, -0.0601331182, -0.0419339538, 0.0453417338, 0.0012950423, -0.040849261, 0.0103724534, 0.0397485271, -0.0053180088, -0.0479319878, -0.0354571603, -0.0225720927, 0.0290203393, -0.0384330153, -0.0336649865, -5.971271061e-33, -0.042644579, 0.0283986516, 0.024630459, -0.044791095, 0.0012726575, -0.023142904, -0.0725445002, -0.0082728937, 0.033917062, -0.0251911916, -0.0127653535, -0.0065582497, 0.0126263183, 0.0048549729, 0.053624779, 0.002312154, 0.0868034214, 0.0155370543, -0.0512675866, -0.013536999, 0.0027421047, 0.0226501357, 0.0473739915, -0.0171830468, -0.0166649036, 0.0148570128, -0.0171920471, 0.0336854123, 0.0067991703, 0.0356405601, -0.0089407871, -0.0049504763, -0.0165584497, -0.0260057971, -0.046158433, -0.0181649644, -0.0548297018, -0.0122229699, 0.0280137938, 0.0253439322, -0.0032229354, -0.0540733449, 0.0346096568, 0.0194976088, -0.024737075, 0.0089513604, -0.0133982934, -0.0177143738, -0.0035410216, -0.0211944152, -0.0373233184, 0.0127286157, -0.0084699076, -0.0526298881, 0.0060702292, -0.0099554434, 0.0058718026, -0.009005364, -0.0293974895, -0.0017297863, 0.0486200526, 0.0843288153, 0.1036512479, 0.009546929, -0.0149977189, 0.0130745713, 0.0246197619, -0.0174160693, -0.0025475658, 0.0512796044, 0.0349013805, 0.0294376537, -0.0514510497, -0.0257581733, 0.0062478702, 0.0118158571, -0.016658688, -0.0021739875, 0.006840717, 0.0966933966, 0.0125531964, 0.0752436221, -0.0714628696, -0.0369803421, -0.0430568755, 0.0265016239, -0.0178851224, -0.004475045, 0.04504155, 0.007075584, -0.019074427, -0.0321658365, 0.038254559, -0.0111293355, 0.0031393338, 0.0093852188, -0.0126391351, 0.0448810607, -0.0331307761, 0.0096604303, -0.0146981347, -0.041499339, -0.0020133401, -0.0668555573, 0.0670020208, 0.0095053976, -0.0435981266, 0.0390420593, -0.0604846776, -0.01005405, -0.0477758721, 0.0011896631, -0.0211667009, 0.0412107445, 0.0537025183, -0.0167182069, -0.005869824, 0.023222534, -0.0396202058, -0.0383983515, -0.0620620549, 0.0020111238, -0.0024264071, 0.0095040686, -0.0283487365, -0.0159519129, -0.0270407591, -0.018829925, 0.0034386066, -0.0473286882, -0.0196339618, 0.0003466414, 2.823e-7, 0.0186857805, 0.0810908228, 0.0270050317, 0.0774050876, 0.0158065222, 0.0402880795, -0.0298624653, -0.0058353497, -0.0025924696, 0.0045717158, -0.0226877499, 0.054072164, 0.0421505533, -0.0002962376, -0.0533426218, 0.0370394699, 0.0154079562, 0.0488747545, -0.06732779, -0.0361378193, 0.0084713334, 0.0878900737, -0.0058053914, 0.0021748601, 0.0113565177, -0.0308824126, -0.0075615859, -0.0076864222, -0.0249958709, 0.0136080412, -0.0293526966, 0.0302539282, -0.0223723575, 0.0126391165, 0.0188740324, 0.0010619696, -0.029499596, 0.1017676294, -0.0027927042, 0.0001642895, 0.0191374104, -0.0031467304, -0.0030713035, -0.0179787595, 0.0180395897, -0.0161025468, 0.0056589828, -0.0086757941, -0.0078624552, 0.0247110855, -0.0592696629, -0.0091674812, 0.009539119, 0.0148954056, 0.0221095402, -0.0119698709, -0.0247994121, 0.0051521696, -0.0628032982, 0.0564206578, -0.0435565747, -0.0713475943, -0.0301161278, 0.0500162654, -0.0110863978, -0.0109183155, -0.0165614579, 3.001039833e-34, 0.0404037423, -0.0079914881, 0.0645510852, 0.0835363865, 0.0533468276, 0.0115879448, -0.0148708001, 0.0496796332, 0.0216805395, -0.0785863027, -0.0377376378 ]
http://arxiv.org/abs/2310.07064v2
http://arxiv.org/pdf/2310.07064v2
Large Language Models can Learn Rules
2023-10-10T23:07:01
2024-04-24T19:01:59
Zhaocheng Zhu, Yuan Xue, Xinyun Chen, Denny Zhou, Jian Tang, Dale Schuurmans, Hanjun Dai
cs.AI
cs.AI, cs.CL
When prompted with a few examples and intermediate steps, large language models (LLMs) have demonstrated impressive performance in various reasoning tasks. However, prompting methods that rely on implicit knowledge in an LLM often generate incorrect answers when the implicit knowledge is wrong or inconsistent with the task. To tackle this problem, we present Hypotheses-to-Theories (HtT), a framework that learns a rule library for reasoning with LLMs. HtT contains two stages, an induction stage and a deduction stage. In the induction stage, an LLM is first asked to generate and verify rules over a set of training examples. Rules that appear and lead to correct answers sufficiently often are collected to form a rule library. In the deduction stage, the LLM is then prompted to employ the learned rule library to perform reasoning to answer test questions. Experiments on relational reasoning, numerical reasoning and concept learning problems show that HtT improves existing prompting methods, with an absolute gain of 10-30% in accuracy. The learned rules are also transferable to different models and to different forms of the same problem.
[ 0.0459111966, 0.0425242074, -0.0085308542, 0.0334415399, -0.0604437739, 0.0252695959, 0.0194547065, 0.0097652227, 0.0209066328, -0.064601399, 0.0260994714, -0.028884612, -0.0314094126, 0.0194614064, 0.0192744881, -0.0201221816, 0.0195259452, -0.064397946, 0.0339203402, -0.0004786226, -0.0074957279, 0.0203875694, -0.0111787422, 0.018842848, -0.0287575256, -0.0177149307, -0.0200015809, -0.0223090053, -0.0228360891, -0.0302932765, -0.0145118833, 0.0496062934, 0.0343692116, 0.0457583703, 0.0000021631, -0.0762404427, -0.0110810278, -0.0060855108, -0.0446789116, -0.0158540923, 0.0005483954, -0.0024751658, 0.0189892165, 0.042968493, -0.0512296222, -0.0255471263, 0.0103274155, 0.0670127347, 0.0643026456, 0.0581856295, 0.0134320688, -0.0353324823, 0.0096392287, -0.0014613675, 0.0463109836, -0.0240999386, 0.0578912832, 0.0512015782, 0.0294318851, -0.0333844349, 0.0029118592, 0.0210877657, 0.0384004712, -0.02745918, -0.0187883973, 0.0415992774, -0.0435107611, 0.0045055556, -0.0028525996, 0.0737167746, -0.0048820507, -0.0349444374, -0.0119377784, 0.0034153156, -0.0114502115, 0.0581206568, -0.020465713, 0.0548769459, -0.0148353986, -0.0243778452, 0.043870002, -0.029576771, 0.0380568616, 0.0219258983, -0.0510763973, 0.1041789725, 0.0006194668, -0.0512935705, 0.0207389742, 0.0008048888, -0.0068873763, -0.0620306954, -0.0156451594, 0.0706326663, -0.0368793048, 0.0531728901, 0.0054109935, 0.0398864783, 0.0176609494, -0.0489578061, 0.0196493939, 0.0376457609, -0.0020274306, 0.0741294026, -0.064190425, -0.0011223273, -0.0201756563, 0.0078137852, -0.0638871938, -0.0196581557, -0.0578228422, 0.0106742242, -0.0133475149, 0.0557389222, 0.0106692109, -0.0165311266, -0.0036205009, 0.047783602, -0.0013574872, 0.0394697636, -0.0159780681, -0.0357266665, 0.0141594298, -0.043428313, -0.0692166686, 0.0061089518, -0.0285996087, 0.0426425971, 0.0030187464, -0.0379460491, -0.00131243, -0.0209108293, -0.0010873162, 0.0110353846, 0.0323160887, 0.0525447913, 0.0108001549, -0.0035113969, -0.059128765, -0.0366408862, 0.0196671374, -0.0563561991, -0.0223985128, -0.0808884725, 0.0014344052, 0.0274049845, -0.0092229908, 0.0034117429, 0.030850023, 0.0258991364, -0.0221960656, 0.0960180312, 0.0061775371, 0.0150774065, 0.034344852, 0.0075745229, -0.0684237853, 0.0484630875, 0.0004480721, 0.0127238818, -0.0129333651, 0.0008963015, 0.0277155023, 0.0121983029, 0.0145639516, -0.0114443004, -0.0292034112, 0.0278048273, 0.0163098201, 0.0400371701, -0.0386692621, 0.062473353, -0.0292164031, 0.0276942458, 0.0258878842, 0.0505319089, 0.0307846908, -0.0000437922, 0.0698629767, -0.033042863, 0.0125256209, -0.0173325967, -0.0591230355, 0.008783401, -0.0517324582, -0.0017681556, -0.0131646646, -0.0017858186, -0.025096532, -0.0536446422, -0.0298712123, 0.0163496006, -0.0210176148, 0.0501858667, 0.069441177, 0.0078020133, -0.0069270907, 0.0346043706, 0.0351074524, -0.0099185742, -0.0158979613, -0.0720343292, 0.1100539193, 0.0814146623, 0.055630412, -0.0343386456, -0.0160042625, -0.0364121348, 0.0453729667, 0.0181891508, 0.0437136218, -0.0351768211, -0.0217959546, -0.0417933986, -0.0118155675, 0.0180455856, 0.0033067761, 0.0170281958, 0.0266997851, -0.0241186842, 0.0148634491, -0.0079652006, -0.0214090478, 0.0498341918, -0.0170847364, -0.0171595868, 0.0194433481, 0.0085110068, 0.0293429811, -0.0055015148, -0.0020072612, 0.0160072986, 0.0183362868, -0.0334915109, -0.0522860698, -0.0185727682, -0.0322753526, -0.053063333, 0.0516953804, -0.0013649625, -0.014166438, -0.0499950126, -0.0367847905, -0.0149241267, -0.0079179844, -0.0180375036, 0.0539216846, -0.0441936851, 0.0089730704, 0.0252955537, -0.0362156481, -0.024032006, 0.0724123046, 0.0069049108, -0.0051139537, 0.016223738, -0.0070498898, 0.0098611787, -0.0237396546, 0.0015786091, 0.0089890314, -0.0069304225, 0.0078237318, 0.0172867794, 0.0254317243, -0.0584810041, -0.0181519855, -0.0399180986, 0.0041186684, 0.0048778793, -0.0061251265, -0.0198381655, -0.0146990623, 0.004624133, -0.033558961, -0.0471614115, -0.0021991928, -0.0002279781, 0.0144682471, 0.0466881916, 0.020257961, -0.058849439, -0.0104961535, -0.0042891093, -0.0431358255, 0.0540700592, -0.0012077086, 0.0315366611, -0.0572895892, 0.0244876705, -0.0340378992, 0.0392607115, 0.0008107604, 0.0136987483, 0.0260007996, -0.0550106838, 0.0156807024, 0.0907269642, 0.0076092281, -0.0132134203, 0.084265314, -0.0179917645, -0.0717468709, 0.0161119439, -0.0251606647, -0.0105935792, 0.0011609551, -0.0264612995, -0.0173158552, 0.015110448, -0.0235167313, -0.0154403606, -0.0619063079, 0.050301455, -0.0060285665, 0.0023394914, -0.0544214472, -0.0248998795, 0.0216751751, 0.0535645448, -0.0050771344, -0.0434418619, 0.0944309086, -0.0067238384, 0.0144453477, -0.060352847, 0.0115444092, -0.0503537804, 0.0607950352, -0.0037800849, 0.0162173789, 0.0283166394, -0.0021097867, -0.032434091, -0.0252907407, 0.0417811424, -0.0425318852, 0.0628922656, -0.0818491057, 0.028700335, 0.0191615969, -0.0334614851, -0.0919398442, -0.0193451308, -0.0400882326, 0.0006346067, -0.0504467636, 0.0003043239, -0.0094165737, 0.0064208903, 0.0161717143, 0.0163723696, 0.019760102, -0.0372242928, -0.001441872, -0.0017994093, 0.0270372424, 0.0186097119, 0.011274552, -0.0183292516, 0.068487443, 0.022598885, 0.0151756108, -0.0009444873, -0.0504151471, 0.0281620678, -0.0003002785, -0.0386237092, 0.0140349064, 0.0407705754, -0.0126187252, -0.0765000582, 0.0273716338, 0.1424659044, 0.0516727977, -0.0071758665, -0.0178158637, -0.0453612059, 0.0008486588, 0.0258733146, 0.0586402006, -0.1000073701, -0.0287426356, 0.010614289, -0.0122150388, -0.004233445, -0.0276953876, -0.0041395645, -0.1361678392, 0.0217803847, 0.0043152669, -0.0068443269, -0.0066183484, -0.0352106579, 0.0045342534, -0.013670614, -0.0297777839, 0.0305527821, -0.0126631279, -0.0027966092, 0.0232034624, 0.0056685619, -0.0314441323, 0.0522631593, -0.0473251082, 0.0744810104, 0.0461586863, 0.0049508587, 0.0061845588, -0.0434615538, -0.0026863192, 0.0165361017, -0.0011398525, -0.0537366718, 0.011634456, -0.0025373679, 0.0139552141, -0.0137409503, 0.058768563, -0.0297953561, -0.0231096428, 0.050439246, 0.0902694985, -0.0137973744, -0.0535060465, 0.0018933123, 0.0193542819, -0.0138857309, 0.0949732736, 0.0025050985, 0.0050260294, -0.0036425914, -0.040764641, -0.0661827475, 0.0092132865, -0.0113211107, 0.002194471, 0.0029409886, 0.0159085356, -0.0551132411, 0.0089528048, 0.0598199032, 0.0447833426, 0.0343439206, 0.0089808423, 0.0043353313, 0.0274138451, -0.0136260688, 0.0230571236, -0.0367069468, 0.0164430123, -0.0168255456, 0.0034698527, 0.0127154039, -0.0314651765, -0.0244343951, -0.0056648883, -0.0020166002, -0.0630056038, -0.0097755203, 0.0510758311, 0.0181169081, 0.0394546166, -0.0190190636, -0.01827332, 0.0362485945, 0.008238608, -0.0448832102, -0.0422355197, 0.0259532109, -0.0119377021, 0.0137420911, 0.0395520553, -0.043101348, 0.0363543071, 0.0118745053, 0.0495372638, -0.0482860841, -0.0220070723, 0.0678575858, 0.0410964601, 0.0067358268, -0.0008029073, -0.0442834646, -0.0248035192, 0.0303425286, -0.0138772661, -0.046606373, -0.0248352457, 0.0361682922, 0.0131490426, -0.0058863079, -0.0063301902, -0.0693800077, -0.0193054453, 0.0388422534, 0.0261526592, 0.003929242, 0.0496261977, 0.0455254726, 0.0531522632, -0.0407004505, -0.0039295889, 0.0198423695, 0.0156292897, 0.0406423658, -0.0217446815, 0.0840892792, 0.0494218096, -0.0015283579, -0.0712473094, -0.0166709367, -0.0386799164, -0.0700557679, 0.0119480873, 0.0542963073, 0.0348056853, 0.0098558692, -0.0162708275, -0.0753368214, -0.0043304511, 0.0211137924, 0.017111253, 0.0158415642, -0.0181092937, 0.0645708144, 0.0276234318, -0.015044244, -0.0045472388, 0.0246649515, -0.0327059403, 0.0547994673, 0.0083944146, -0.0153382532, -0.0386036932, 0.0088981129, 0.01818881, 0.0049567386, -0.0322013311, 0.044581864, -0.0557958037, -0.0603908412, -0.0393189453, 0.031832993, -0.0188485719, 0.0069874292, 0.0137444967, 0.0820832103, 0.0306214839, -0.0607618578, -0.0420960635, 0.0092615215, -0.037723951, -0.0301252324, -0.0066165174, -6.293419695e-33, -0.0165919978, -0.0155319059, 0.0615116842, 0.0096055856, 0.004704325, -0.0129903322, -0.0265821442, -0.0094506443, -0.020533964, 0.0202385299, -0.0052840537, -0.0032391178, -0.0033695723, -0.030602131, 0.0225229431, -0.0158483479, 0.0196144283, 0.0126842037, -0.0319903977, 0.0088938279, 0.0268076397, 0.0040754904, 0.0020274427, -0.0280426666, -0.0067043114, 0.0026905045, -0.0019476353, 0.0718639642, -0.0789876357, 0.031774573, -0.0290344227, -0.0036948516, 0.0078676548, -0.0358072706, 0.019740127, 0.0276102927, -0.0718515739, -0.0287786871, 0.0469615422, -0.0193798728, -0.0105401548, -0.0216919929, 0.0160256289, -0.0002775326, 0.007534564, 0.0017130374, 0.0172248688, -0.0348129347, 0.0006766967, -0.0023234799, -0.0583919249, 0.0297146551, -0.0059737642, -0.0537282489, 0.0063019828, 0.0233952757, -0.0119405799, -0.0386839733, -0.0195116606, 0.0453732498, 0.0399766564, 0.0010140174, 0.0546997152, 0.010422593, -0.0290285014, 0.035333585, 0.0024447639, -0.0124044344, -0.023010632, -0.0063630431, 0.005766375, 0.0429326184, 0.0273539647, -0.013143409, 0.0409236848, 0.0349935479, -0.0801268443, 0.0096641863, 0.0537344143, 0.056240458, 0.0400924385, -0.0118138725, -0.06253203, -0.0104487259, -0.0691168532, 0.0435352214, -0.0479423143, -0.0491736531, 0.0351207219, 0.0040597133, -0.0046783527, -0.038556613, 0.0101251435, -0.0513655022, -0.0341087021, 0.0108857863, -0.0075869542, -0.0223850086, -0.031967096, 0.0343112946, -0.0716453344, -0.0294525027, 0.0220349636, -0.0219992846, -0.0107801966, 0.0210937019, 0.0384013467, 0.0256566945, -0.055559922, -0.0252565686, -0.0502098463, -0.0176798701, -0.0052964017, -0.0010508905, 0.0049947347, 0.0617770627, 0.0090914341, 0.0067808717, -0.0203267373, -0.0450417362, -0.0479363613, 0.0145190768, 0.0102572152, -0.0047401898, -0.0283445884, 0.0009511667, -0.0350087546, 0.0053874282, 0.0234307013, -0.0245747846, -0.0122718774, 0.0363744572, 2.883e-7, 0.0197529197, 0.0639713407, -0.0178423915, 0.0629374683, -0.0249496438, 0.0313705467, -0.0419134796, -0.0277371388, 0.0468546376, -0.005215406, 0.021796478, 0.0602724329, 0.0201731957, 0.0443287194, -0.0776714012, -0.0499894209, -0.0097806398, -0.0559419431, -0.0625774488, -0.0104393056, 0.0593826249, 0.0787005052, 0.0174000282, -0.0244047437, 0.0171335749, -0.0492611006, 0.0480039194, -0.0143682398, -0.0124163972, 0.0178954136, 0.0403018668, -0.0124096218, 0.010584374, 0.0735994875, 0.0122072902, 0.0212823842, -0.048931621, 0.0419816598, -0.0031037689, 0.0195982642, -0.037552733, -0.015872756, 0.025162423, -0.0482585654, 0.0729395151, -0.0500911027, -0.0211838391, -0.0047502606, 0.0281113386, -0.0532582067, -0.0212834515, -0.0152392425, -0.005258752, -0.0050841677, 0.0160642192, -0.0255216155, 0.0035871665, -0.0606630445, -0.002744308, 0.0140411966, -0.0091852127, -0.0627579316, -0.0124297338, 0.0093602873, -0.0086359391, -0.035100095, 0.0214780103, 2.810004093e-34, 0.0291479845, -0.0133062834, 0.0030893176, 0.0669200271, 0.048554834, 0.0116343554, -0.0142136598, 0.0081483303, 0.0538157523, -0.1296720505, -0.0001254758 ]
http://arxiv.org/abs/2310.07059v2
http://arxiv.org/pdf/2310.07059v2
DKEC: Domain Knowledge Enhanced Multi-Label Classification for Diagnosis Prediction
2023-10-10T22:53:15
2024-06-19T20:58:52
Xueren Ge, Satpathy Abhishek, Ronald Dean Williams, John A. Stankovic, Homa Alemzadeh
cs.CL
cs.CL, cs.AI, cs.LG
Multi-label text classification (MLTC) tasks in the medical domain often face the long-tail label distribution problem. Prior works have explored hierarchical label structures to find relevant information for few-shot classes, but mostly neglected to incorporate external knowledge from medical guidelines. This paper presents DKEC, Domain Knowledge Enhanced Classification for diagnosis prediction with two innovations: (1) automated construction of heterogeneous knowledge graphs from external sources to capture semantic relations among diverse medical entities, (2) incorporating the heterogeneous knowledge graphs in few-shot classification using a label-wise attention mechanism. We construct DKEC using three online medical knowledge sources and evaluate it on a real-world Emergency Medical Services (EMS) dataset and a public electronic health record (EHR) dataset. Results show that DKEC outperforms the state-of-the-art label-wise attention networks and transformer models of different sizes, particularly for the few-shot classes. More importantly, it helps the smaller language models achieve comparable performance to large language models.
[ 0.021219464, -0.0117420992, -0.0012858711, -0.0181445759, 0.0150831491, 0.0151330456, 0.0143268947, 0.0450418182, 0.0574060678, -0.0458137691, -0.0405492485, -0.0257449653, -0.0136985322, 0.0223889183, 0.014018625, -0.0272429474, 0.0211969633, 0.0250207353, 0.0526017845, 0.0272915661, -0.0003869374, 0.0176625494, 0.0068045789, 0.0438574255, 0.0120300157, -0.0063914154, 0.0220302232, 0.0130479019, 0.0374818183, -0.0671419203, 0.0273000412, 0.0169818942, -0.0107829003, -0.0328526534, 0.0000018883, -0.0218753051, -0.0288938433, -0.00213428, -0.0162761696, -0.0446367152, -0.0089947022, -0.0602442473, 0.0493068583, -0.0056109941, 0.0016683849, -0.0628044009, 0.0150107658, 0.0793228522, 0.0376032591, 0.0655555204, -0.0160310678, -0.0267940052, 0.0362838134, -0.0122816348, 0.0371840596, -0.0793331936, 0.051206626, -0.0144150285, 0.0424109474, -0.0112296259, -0.0076892781, 0.0443547443, -0.0002029059, 0.026971221, 0.0556332543, 0.0651775822, 0.017345408, -0.0161730908, 0.0118028764, 0.0847003683, -0.0490200557, -0.0225014202, 0.0117087457, -0.0256127771, 0.0133090857, 0.0076750689, -0.0022339949, -0.0296352413, -0.0553936027, -0.015092779, 0.0100567043, 0.0217557084, 0.0296405945, -0.0312437601, 0.018866932, 0.0197074655, -0.0086560333, -0.026084898, 0.0118797924, -0.0128280222, -0.0275082402, -0.0367963649, 0.0349252932, 0.0429074876, -0.0397953317, 0.0121149486, -0.0314095132, -0.0462481007, 0.0608316883, -0.0497337505, -0.0009047791, -0.0124376649, -0.0021263112, 0.0333044566, -0.0124025503, -0.0139161078, -0.0326795802, 0.0411515124, -0.0354912877, -0.0129077286, -0.0726820454, -0.0020787695, -0.0398622043, 0.0320108645, 0.0699390247, 0.010838002, -0.0614565387, -0.0158433057, -0.0104020853, -0.0131696984, 0.0433812514, 0.0296912976, -0.0249518938, 0.002437321, 0.0004982839, 0.0485159606, -0.0120529532, 0.0289454069, -0.0211619381, 0.0235714167, -0.0055978424, 0.0354020819, 0.0213187691, -0.006348975, 0.0092058443, 0.0680347979, 0.0290452577, -0.031761691, -0.0249766037, -0.0507241823, -0.0705788508, -0.0047073206, 0.0041338364, -0.0262202546, 0.0183609333, 0.0243987236, -0.0010757608, -0.0381460302, 0.0174846444, -0.0352587439, -0.0748487711, 0.0398417003, -0.0315874927, -0.0030295942, 0.035039939, 0.0186031852, -0.0038018599, 0.0133217387, -0.0072278772, -0.0467652716, -0.0099320803, -0.0031666404, 0.0326357223, -0.000570073, 0.0572059378, -0.0372981317, 0.0090529192, 0.0122305155, 0.0028927028, 0.0661817491, -0.0111910412, 0.0024196543, 0.0282354392, -0.0167568866, 0.0170886423, -0.0136185987, 0.0412720926, -0.024845995, 0.0320510454, -0.0042700446, -0.0686237216, -0.033090245, -0.0003114681, 0.0410643481, 0.0014020399, 0.0013155659, 0.0210335404, 0.0065454151, -0.0375618078, -0.0189995691, -0.0377706178, -0.0050420268, -0.0615301728, -0.019641323, 0.0626161247, 0.0001256148, -0.0358183682, 0.1006146967, 0.0646409318, 0.0382489823, -0.0168531276, -0.035057202, -0.0262063127, 0.0753563121, 0.0102502583, -0.0509676971, -0.0494086966, -0.041846253, 0.0343579687, -0.0288748201, 0.0074133375, 0.0046764817, 0.0151130976, -0.0140878735, 0.0004907512, 0.0157764032, 0.023290541, -0.0032221221, -0.0269935634, 0.0397561863, -0.0067054126, -0.0596693791, 0.0099176941, 0.02500787, -0.0104114925, 0.0048299115, 0.0159535613, 0.0214907452, 0.0293614548, -0.0054490478, -0.0029896917, 0.0070442823, 0.0161316991, -0.0337902084, -0.0740642548, -0.0395558886, -0.0239229985, -0.0624936856, 0.0122124059, -0.0172941908, -0.0086991321, -0.0465827845, -0.0468766764, -0.0231074728, -0.0083654029, -0.0321671106, -0.0146907466, 0.0267031193, -0.0203583967, 0.0476136543, -0.0089817056, -0.0305665117, 0.0452988073, -0.0228553526, 0.0361825973, -0.0296978261, -0.0333494805, 0.0112357782, 0.020614583, 0.002893253, -0.0262419432, -0.0288095176, 0.009732144, -0.0171608943, -0.0058819046, -0.0199093521, -0.0054240264, -0.0388865583, 0.0035737236, 0.0312269926, -0.0148175163, 0.0099221375, 0.015491101, 0.0220020674, -0.0254304204, -0.0290289596, 0.0166242998, 0.0058548413, 0.0128649399, 0.0460273884, 0.0334989354, 0.0077067493, 0.0353968367, -0.0152650075, -0.0498289242, 0.0436590612, 0.0212417357, -0.0480463319, -0.0319374166, -0.0154384952, -0.0571137853, -0.0108310916, 0.0141127557, -0.022201838, -0.0357528254, -0.0137865087, -0.0191439129, 0.0282779038, -0.0068635228, -0.0113257365, 0.0448338166, 0.0258665048, -0.0225054063, 0.0332243964, -0.0342480689, -0.0125716217, 0.007105703, -0.0006196109, -0.0050571053, 0.1003486738, 0.0324156433, -0.0173255298, -0.0567337386, -0.0232647695, -0.0030874985, 0.0412218235, -0.0687946603, 0.0252845548, -0.0234058853, -0.0330050364, -0.0138322664, -0.0099286772, 0.1026385874, 0.0297169555, 0.0287217107, -0.0369455777, -0.0287412237, -0.0453595668, 0.0006351102, -0.0004705679, 0.0435233749, 0.0703831464, 0.0048661483, -0.0121944975, 0.0311154444, 0.0088660605, -0.043371357, 0.0406366996, 0.0475199856, 0.0411171578, 0.0170728453, -0.0336601473, -0.0217860322, -0.034218587, -0.0212389603, 0.0003236298, -0.0303161032, 0.0269573256, -0.0616388433, 0.0407457091, 0.0192524754, 0.0607899167, 0.0258674528, -0.0329598002, 0.0116173215, 0.0637116283, 0.0062633138, -0.0369362198, -0.0274106171, -0.0278941318, 0.0084925583, 0.0426613763, -0.0172005016, 0.0109842643, 0.0326643996, -0.0225464012, -0.0152789187, -0.016258724, -0.0202553775, 0.0212123301, 0.0030047353, -0.0447758175, 0.0070573427, 0.0764621049, 0.016972458, -0.0732442066, 0.0216127615, -0.002470918, -0.0149862254, 0.0107804853, 0.0179627147, -0.059184894, -0.0555689447, -0.0225730184, 0.0153041072, 0.0118409507, -0.045123335, 0.0256783906, -0.0209980085, 0.0006970896, -0.0134069175, -0.0375455655, -0.0238554329, -0.0436656252, -0.0017914405, 0.027781425, -0.0413472615, -0.0432399213, 0.0199423805, -0.0172566939, 0.0018447774, -0.0445976853, -0.0753470957, 0.0694983155, 0.0040161829, 0.0496160947, -0.0015056224, 0.0313696787, -0.0398118049, -0.0141735366, 0.0016904161, 0.0282723755, 0.0150215812, -0.0027627223, 0.0818762928, -0.0236025341, -0.0015527421, -0.0173157565, -0.0077834767, -0.0786485747, -0.0336986966, 0.0074601094, 0.1192777678, -0.0030044431, -0.0782956854, -0.0530728325, -0.0114448955, 0.0430965535, 0.0396192186, -0.021479398, -0.0630602539, 0.0091973254, 0.018785784, 0.0167429037, -0.00316532, -0.0216862187, 0.0763565451, -0.0460829996, -0.0859256238, -0.0227120146, -0.0057196408, 0.0331424177, -0.0501092002, 0.0007503561, -0.0081271008, 0.014797478, -0.0005900642, -0.0574825108, 0.0352036953, 0.0117125586, 0.0182198323, -0.0298641678, 0.0044437596, 0.0815817714, -0.0052555045, -0.0313588753, 0.0228141882, -0.0230586175, -0.0044324812, -0.0150825884, 0.0292935409, -0.0015626706, -0.0031524647, -0.0241041631, -0.0205772426, 0.0427723527, 0.0554875396, -0.0688666925, -0.0239766501, 0.0017726474, -0.0529126562, -0.0004247086, 0.039863646, -0.0405146293, 0.0622873753, 0.0180817172, -0.0124411853, -0.0202764217, -0.0403027572, -0.0131354509, 0.0053288466, 0.064475134, -0.0335027426, -0.0372875892, -0.0216948781, 0.0430861712, 0.0440921821, -0.0030060397, -0.013281418, -0.0113448594, 0.0440742783, -0.0409075022, -0.0076120389, 0.0076866322, -0.0078058899, -0.0439840965, -0.0284579284, 0.0115115196, 0.0201952718, 0.0016340319, 0.0654753372, -0.0162418801, -0.0100590456, 0.0077029369, 0.0208851714, 0.008868604, -0.0133391665, 0.0431094207, 0.0172789246, 0.0467039198, 0.0013770794, -0.0099636661, -0.0410240814, 0.0109497728, -0.0231024437, -0.0309231859, 0.0468225591, 0.0244707987, 0.0176890623, 0.0001523253, 0.0020567894, -0.0253788736, 0.0480851158, -0.0443331674, -0.0169179719, 0.0448585562, 0.0016093514, -0.0141848372, 0.0115570426, 0.0985140353, 0.0315350741, 0.0436480902, 0.0067977603, -0.0440846197, -0.0474030413, 0.0184166078, -0.0159744024, 0.0409303345, -0.0263711922, 0.0078972084, -0.0733935758, -0.0408901796, 0.0584541149, -0.0764075294, -0.0497367233, 0.0050682724, 0.0432608724, 0.0034324492, 0.0428040549, -0.0249859467, -0.0032801977, 0.0317321457, -0.0425978266, -0.0057002259, 0.0353484116, -5.956565626e-33, -0.0161617268, -0.0566418879, -0.0013011078, -0.0573615767, 0.0322444476, 0.04562461, -0.0332906879, -0.0153360646, -0.0158971194, 0.0359464809, 0.0099915052, 0.0310999807, -0.0253336914, 0.027950583, 0.0415896364, -0.0496450439, 0.0082112886, 0.0160668995, -0.0206327606, 0.0685168058, 0.0222179294, 0.0604848973, 0.0711897463, -0.0816282108, -0.010706095, -0.016887309, 0.0268464908, -0.0008256429, 0.0061918176, 0.0797103569, -0.0221005827, 0.068760626, 0.0700788572, -0.0331860408, 0.0006823029, 0.0192740299, -0.0545801371, -0.0309385937, -0.0332775302, -0.0349903852, 0.0036419497, -0.0400533304, 0.0401391238, 0.0184371248, 0.0689645186, -0.0711905807, 0.0622175522, -0.0085138837, -0.0411280058, -0.0721088946, -0.0015704219, 0.0460130349, -0.0159657244, 0.0038144509, -0.0436678827, 0.0022808095, -0.0032265063, 0.0649063811, -0.0570784062, -0.0158205125, -0.0103336396, 0.0170513783, -0.0003404152, -0.0204446595, -0.0504280962, 0.0577152595, -0.0164788831, 0.0077919862, -0.0565924942, -0.0110952016, -0.0585264973, 0.04355314, 0.023442544, 0.0288133919, 0.0142521085, -0.0466531031, -0.092290841, 0.0038236221, -0.0742071941, 0.0303484816, 0.0436817296, -0.0373854712, -0.0293675773, -0.0000794026, 0.0135078188, 0.0243932623, -0.039500922, 0.0058347262, 0.0089984126, 0.0033713963, 0.0332998112, 0.0293019973, 0.004494783, -0.033117488, -0.0130212512, 0.0257025808, 0.0416068286, 0.0317653418, -0.0169608984, 0.0241477415, -0.0736051872, 0.0015143814, 0.0099999681, -0.0007502023, 0.0244334843, 0.0242852103, 0.0743643567, -0.0461659878, -0.0441315025, -0.0454274826, 0.0291971453, -0.0413552783, -0.0372080058, 0.0340492837, 0.0249036439, 0.0660415441, -0.0040646978, 0.0796305016, 0.0375224464, -0.0137483831, 0.0001822014, -0.0115933847, 0.0094244797, -0.0016999072, -0.0426723883, -0.0352458023, -0.0271883048, 0.024810439, 0.040257331, -0.0614033192, -0.0110116368, 0.0031387846, 2.835e-7, 0.1248863935, 0.038287282, -0.0410957076, -0.0209949519, 0.0423446149, 0.0309673436, 0.0355378799, 0.047763072, -0.0243063942, -0.0340732448, 0.0329600163, 0.0033261578, 0.0081589809, 0.0462361984, -0.0820602328, -0.0350879021, -0.0433980785, -0.0005256426, -0.0249281637, -0.0244487803, 0.0815355554, 0.0811334476, -0.0033237969, -0.0164646599, 0.0111708082, 0.00270308, 0.042930562, 0.0072632502, 0.0307637639, 0.030813437, 0.0086264117, 0.0336158052, -0.0221361592, 0.0825757161, -0.0214442126, -0.0016233082, 0.0029565126, 0.0852386206, -0.0703046396, 0.0093137734, -0.002046319, -0.0028300919, 0.012177268, -0.0272389427, 0.0700821057, -0.1096569821, -0.0233743191, 0.0289288126, 0.0026271401, 0.0105302511, 0.0338666774, -0.0020794393, -0.006918265, 0.0234750677, -0.0049066301, 0.0005022898, -0.0184802469, -0.0940896794, -0.0333914459, 0.0866331682, -0.0014111355, -0.0094025889, 0.0222929716, -0.0486148894, 0.0716473088, -0.0885657594, 0.0097043859, 2.261869011e-34, 0.0130839013, -0.0011724303, -0.0153260771, -0.0067962292, -0.0035915964, -0.0654364005, 0.0077476911, -0.0144274095, 0.0350967534, -0.061504323, 0.0001656056 ]
http://arxiv.org/abs/2310.07023v2
http://arxiv.org/pdf/2310.07023v2
Automatic Macro Mining from Interaction Traces at Scale
2023-10-10T21:23:47
2024-04-16T03:42:43
Forrest Huang, Gang Li, Tao Li, Yang Li
cs.HC
cs.HC, cs.CL, cs.LG
Macros are building block tasks of our everyday smartphone activity (e.g., "login", or "booking a flight"). Effectively extracting macros is important for understanding mobile interaction and enabling task automation. These macros are however difficult to extract at scale as they can be comprised of multiple steps yet hidden within programmatic components of mobile apps. In this paper, we introduce a novel approach based on Large Language Models (LLMs) to automatically extract semantically meaningful macros from both random and user-curated mobile interaction traces. The macros produced by our approach are automatically tagged with natural language descriptions and are fully executable. We conduct multiple studies to validate the quality of extracted macros, including user evaluation, comparative analysis against human-curated tasks, and automatic execution of these macros. These experiments and analyses show the effectiveness of our approach and the usefulness of extracted macros in various downstream applications.
[ 0.0620068274, -0.0007751664, -0.0573818013, 0.0192789845, -0.0090930779, 0.0045373691, -0.0130153373, 0.0005705473, 0.0188229326, -0.0478370078, 0.0079477243, -0.025850486, 0.0336605981, 0.0236968677, -0.0005090018, -0.0256156772, 0.0075102365, -0.0462581515, -0.0705584437, 0.0871963426, 0.0047049797, 0.0048315707, 0.020916013, 0.0821294785, -0.0076688165, 0.018768888, -0.0074115787, -0.0007936162, 0.0098940963, -0.0205529612, -0.0532986298, 0.0464187302, 0.0050842646, -0.0095595252, 0.0000019506, -0.0141210211, 0.0109850541, -0.0069655376, 0.0157046691, 0.0370294824, -0.0032609131, 0.0564462468, -0.0376009606, 0.0346638709, -0.0460463054, 0.0082149655, 0.0061299079, -0.0101929829, 0.0308421049, 0.0146457097, -0.0090514962, 0.0141640184, -0.0121662105, 0.0163545161, 0.0433014594, -0.0492150038, 0.0099452129, -0.0075400402, 0.0150815351, 0.0238151643, 0.0681775436, -0.0245981682, 0.0012591956, -0.0288479943, -0.0221343804, 0.0169590972, -0.0067761107, 0.0016257459, -0.0185755622, 0.0837750733, -0.0579944253, 0.0137486551, 0.0693693236, -0.006434863, -0.0147432629, 0.0043625217, -0.0409828201, -0.0022464506, -0.0202450734, -0.0007866552, -0.0252805986, 0.0161229186, 0.0400500447, -0.00574246, -0.0178259145, -0.0225762967, -0.0038031652, -0.0112404907, -0.0113237565, -0.0212157927, 0.0081768027, -0.0338296145, 0.049006775, 0.0147023685, -0.0055228486, 0.0102226865, -0.0069706049, 0.0202217847, 0.0162391905, -0.0449194163, 0.0357643813, 0.0222531483, -0.0047975816, 0.0444604792, 0.0057412693, 0.0292539354, 0.0081935311, -0.0920610651, -0.0137484455, 0.0250077974, -0.0611209758, 0.0257857796, 0.007874581, 0.0289012808, -0.0649574399, -0.0128912376, -0.0027637929, 0.0448502563, -0.0031883472, 0.000635371, -0.0384630077, -0.0160464179, 0.020346541, 0.006806971, 0.0156197296, -0.0708963796, -0.0464118384, 0.0347629525, -0.0099964309, -0.0888909921, -0.0017706048, -0.024866933, 0.017506877, -0.0044940952, -0.0287479144, 0.0212004408, 0.0060529565, -0.0269658212, -0.064851217, -0.0597615987, 0.0139826927, -0.0043841191, -0.0368751325, -0.1019365937, 0.0257118326, 0.0034159906, -0.0126220081, 0.0024179916, 0.0208273549, 0.0227988269, -0.0285166726, 0.0445111357, 0.0119023817, 0.0337910354, -0.0171129871, 0.0202392489, 0.0257891566, 0.0095107947, 0.0159718599, 0.0942527354, 0.0568785593, -0.0285508521, 0.0518541001, 0.0761023983, -0.0430766121, -0.0233204421, 0.046076186, -0.0012664197, 0.0209061187, -0.0488377959, 0.0051813805, 0.0335026421, -0.0072853509, 0.058375407, 0.0426150747, 0.1127218828, -0.0322539061, 0.0144761791, 0.0489245653, 0.0136969239, -0.0053742598, -0.0209992509, -0.0264337808, -0.0531352796, -0.0657058209, -0.0443049446, 0.0268255398, 0.0270531271, -0.006528025, -0.0124080786, 0.0083993031, -0.0350613222, 0.0258086827, -0.0207200553, 0.029636981, -0.0060246564, 0.0038980318, 0.0243504867, 0.0044761775, -0.0402372442, -0.0125620738, -0.0592448786, 0.0091227749, 0.0759847686, 0.0371387154, -0.0207419097, 0.0229704417, 0.0077251205, 0.0043392018, -0.0298963822, -0.0021425511, -0.0290846545, 0.0354555771, -0.0116297863, -0.0256172009, 0.0135394214, 0.0359753594, -0.0214031544, 0.0129065141, -0.0024699175, 0.0415267386, -0.0383350626, -0.0485162102, 0.0232900586, 0.0510366149, -0.0642772391, 0.0676591992, 0.039773345, 0.0010418922, 0.0480643064, 0.0039791707, -0.002088937, 0.0382512435, -0.0390017778, 0.0226034913, 0.01216699, -0.0039103874, 0.02529254, 0.0152651733, 0.0250383392, -0.0293674078, -0.0320554897, 0.0013699403, -0.0105930464, -0.0101901898, -0.0132836429, 0.0436148383, 0.0181570686, 0.0488729849, 0.0171426348, -0.0176646244, -0.0271097459, 0.0511906818, -0.0016069027, 0.017142117, 0.0239747409, 0.0351563543, 0.0000670005, 0.0223293658, 0.0050159139, -0.0022975381, -0.0388910547, 0.0506956577, 0.050430052, -0.0050134324, -0.0059473142, -0.0180497579, -0.0790567249, 0.0407550037, -0.0160752162, 0.0419499092, 0.0488513894, 0.0900598392, -0.0002507067, -0.0338154957, 0.0298848189, -0.0316428803, -0.0025780194, 0.0110490415, 0.0197040346, 0.0108618923, -0.0268568452, -0.0468068793, 0.0256580003, -0.0178824905, 0.0351993442, 0.0058348565, -0.0160587206, -0.013000926, -0.014190915, 0.0472913459, -0.0070547136, -0.0351417772, -0.0629887134, 0.0081616789, -0.0369912423, 0.0045412364, 0.0523800775, -0.0182108171, 0.0459174588, 0.0218355078, -0.028147785, -0.0528309904, -0.0332541354, 0.0058662412, -0.0184495989, -0.0252505727, -0.0522358976, 0.0874200314, 0.0773879886, 0.0150716668, 0.0549166501, 0.0010121795, -0.0296237059, -0.0078641558, 0.0234939028, -0.0092733447, 0.0297721997, -0.0481652915, 0.0577971973, -0.0209332071, -0.0537019484, 0.0264319535, -0.0120490389, 0.0215821601, -0.0020254974, -0.0590049438, 0.0122592757, 0.0941390693, -0.0001818528, 0.0033233191, 0.0205989443, -0.0577391535, 0.0464774109, -0.0202573296, 0.0128358789, -0.0409453511, 0.0418381542, -0.0808165371, -0.0054270276, 0.0294366609, -0.0506960973, -0.0109291859, -0.040376734, -0.0292355455, -0.0229156185, 0.0259097889, -0.0331721418, -0.0071042515, 0.0284995753, 0.019991409, 0.0437070578, 0.0145685803, -0.0270446204, 0.003915743, 0.0219237562, 0.011351658, -0.0541934371, -0.0847923309, 0.0312853605, 0.0144415321, 0.042721279, 0.0066243745, 0.0085373223, -0.0325023569, -0.020671064, 0.003421484, -0.0208230112, -0.0048488844, 0.1115377545, 0.0385947824, -0.0551326089, 0.007957085, 0.0884198844, 0.0697648749, -0.02934587, 0.0230042208, 0.0176003929, -0.0319612809, -0.0030549602, -0.0007424212, -0.070940122, -0.07361494, -0.0002513701, 0.0162791405, 0.0087662088, -0.0171572808, 0.0240084268, -0.0829089731, -0.0302558765, 0.0188996084, -0.0331925675, -0.0298304223, -0.0964977592, 0.0441671722, -0.0214634649, -0.0491697975, -0.0194241144, -0.0294868425, 0.0000581669, -0.0166866984, -0.0959398374, -0.0859178603, 0.0534380861, -0.0640141666, 0.0017661329, 0.108885929, 0.0206078291, 0.0090206526, 0.0167270638, 0.0316804312, -0.0129939299, 0.0193859935, -0.0162071977, 0.0247504283, 0.032014899, 0.0265709199, -0.0237425175, 0.0746831372, -0.0796195269, -0.0348743498, 0.0568573214, 0.0753731951, -0.0090385703, -0.0035846895, -0.0077773803, -0.0512885079, 0.0741369352, 0.0408102497, 0.0196681563, -0.0585769489, -0.0178258233, -0.0366814472, -0.0128637739, -0.0165363383, -0.0462796278, -0.0299920104, 0.0105046695, -0.0375245772, -0.0540183, -0.0130487252, 0.047617048, 0.032587532, 0.0184802357, 0.0151796555, 0.0552610569, 0.0300992373, -0.0235899612, 0.0435417444, 0.0137734776, 0.0593495853, -0.0125706783, 0.0100018103, 0.0344040319, 0.0099853305, -0.0000502854, 0.0062124864, -0.0558968075, -0.0615449585, -0.0362794772, 0.0550563, 0.0102064954, 0.0172534641, -0.0375398844, -0.0109466985, -0.0156550407, 0.057643652, -0.0648777559, -0.0454391725, 0.0075793378, -0.0228021741, -0.0191219933, 0.0022477866, -0.0502754636, -0.0099947611, -0.031063186, 0.0227938071, -0.116815649, -0.0625447854, 0.0295444652, -0.0215938184, 0.068065688, 0.0204295665, -0.0068307067, -0.0057384609, -0.0130280964, 0.0353045464, -0.0203734357, -0.0294756684, 0.0283931065, -0.0283132736, -0.0069442391, 0.0181140658, -0.0088676605, -0.0486294255, 0.0017842653, -0.0099693369, 0.0191245545, -0.0078918384, 0.0547205023, 0.032059215, -0.0055596512, -0.0235585514, 0.0083919885, 0.0148187764, 0.0512293838, -0.0396363065, -0.0001588975, -0.031810496, 0.0016877609, 0.0286570396, 0.0596925244, -0.0139043601, 0.0133618368, 0.0251414664, -0.0249735303, 0.0517436527, -0.0348344035, 0.0283651892, -0.0365930498, -0.0067114509, -0.0327035263, 0.0304666441, -0.0404502861, 0.0101366602, -0.0222413689, 0.007979854, -0.0358957052, -0.0198267214, 0.0667363778, -0.0743730068, 0.0057947175, 0.0303663183, -0.0770550072, -0.0433670655, -0.0083741788, 0.0110813752, 0.0759634078, -0.0609292686, -0.0246226676, -0.0380806699, -0.0185594931, -0.0529569797, 0.0037358124, -0.0026970841, -0.0242306646, 0.0290920548, 0.0756541416, 0.0209230762, 0.0288285092, -0.0562748164, -0.0123692397, -0.034617994, 0.0344300978, -0.0724284127, -5.253630657e-33, -0.0077760345, -0.0499085113, -0.0179137718, 0.0320253, -0.0134837301, 0.0048269015, -0.0459273234, 0.0254263822, 0.0241437722, -0.0325703062, -0.0219757594, -0.0202701688, 0.0064669354, -0.021663351, 0.0219589751, 0.0778357312, 0.0670372993, 0.0219384264, -0.0491266437, 0.0310393833, 0.0187758859, -0.0128472066, -0.022384977, -0.0973611847, 0.0005495689, -0.021279959, 0.0086687049, -0.0084396061, 0.0587006211, 0.0514645018, -0.0330918655, -0.0124671357, 0.0231456682, -0.0023619076, -0.0057640313, 0.0429129973, -0.0378036834, -0.0251702536, 0.0430930629, 0.0291887708, 0.0117613813, -0.0326363817, 0.011267283, -0.0090427799, -0.0251237173, 0.0679707006, 0.0378329568, -0.0272573754, -0.0420655683, -0.0137335127, -0.0304032639, 0.0241257213, -0.008646003, -0.0227228813, -0.0162495319, -0.0203977339, -0.0196298566, -0.0141623858, -0.0302398968, 0.0119402111, -0.0058231256, 0.0085413111, 0.030669665, 0.0360444412, 0.0587613471, 0.0323193073, -0.0272064563, 0.0309305638, -0.0411468968, -0.0041082627, -0.0273315758, 0.0812218115, -0.0367258936, 0.0002636079, 0.0638177991, -0.0330732018, -0.0325633436, 0.0373592973, 0.0609597899, 0.0306258164, 0.0162848644, 0.0011717163, -0.0293207727, 0.0123142693, -0.0027121415, 0.0370299146, 0.0036818194, -0.0465202369, 0.0098303733, 0.0278705154, -0.0240269098, -0.0223243535, 0.0048127179, 0.0128948484, -0.0227263961, -0.0358157195, -0.0129625509, -0.0056626452, -0.0174942929, -0.0328358337, -0.0193959028, -0.0228637103, -0.0511289723, -0.0183435902, 0.0737417713, 0.032816235, -0.0229556914, 0.0109001789, -0.0422620848, -0.0122245802, -0.0217914358, -0.0054054023, -0.0514620878, 0.0221298169, 0.0528843887, -0.0065729367, -0.0261542574, 0.0643778443, -0.0183310565, -0.0137055442, -0.0124243163, -0.0324650966, 0.0374712758, -0.0179177672, -0.0325722769, -0.0460098237, -0.0979900584, 0.0488418266, 0.0788684562, 0.0174297299, -0.021997815, 0.0002723644, 2.589e-7, -0.0311317276, 0.0079596667, -0.0312825665, 0.0500752814, -0.0019769054, 0.0739051849, -0.0013660013, 0.0053315624, -0.0166604221, 0.0160840806, -0.0151944458, -0.0246180091, 0.029465545, 0.0384006649, -0.0297719911, 0.0126933577, 0.0049939519, -0.0083578499, -0.0624168664, 0.0202347431, -0.0053948718, 0.0569984578, 0.0187420435, 0.0194005407, 0.0129549755, -0.0546744466, 0.0046155327, -0.0403271094, 0.0023518489, 0.0376506411, 0.0046257856, 0.0541555919, -0.0357345864, -0.0113124838, -0.029810831, 0.0110095544, -0.0097123813, 0.0511507057, -0.0184792317, 0.0467899814, -0.0031441918, -0.0985912308, 0.0106894039, -0.0172757376, 0.0597486123, -0.0269976519, -0.020826092, -0.0258697066, 0.0429852977, -0.0123032006, -0.0455520265, 0.0174724925, -0.0061424044, 0.0108888149, -0.0000588338, 0.0146739539, -0.0214662869, -0.0587710217, 0.0064735748, 0.0204564221, 0.0038313589, -0.0544462539, -0.0467603616, 0.0318923071, -0.0376945809, 0.0021895864, 0.0360381417, 2.392056158e-34, -0.0064086481, 0.0117801558, 0.0373889618, 0.0196651295, 0.0383376889, 0.0237839576, -0.0164550189, 0.0309003945, 0.064426586, -0.0588740222, 0.0082659088 ]
http://arxiv.org/abs/2310.10677v1
http://arxiv.org/pdf/2310.10677v1
LLMs as Potential Brainstorming Partners for Math and Science Problems
2023-10-10T21:16:35
2023-10-10T21:16:35
Sophia Gu
cs.CL
cs.CL
With the recent rise of widely successful deep learning models, there is emerging interest among professionals in various math and science communities to see and evaluate the state-of-the-art models' abilities to collaborate on finding or solving problems that often require creativity and thus brainstorming. While a significant chasm still exists between current human-machine intellectual collaborations and the resolution of complex math and science problems, such as the six unsolved Millennium Prize Problems, our initial investigation into this matter reveals a promising step towards bridging the divide. This is due to the recent advancements in Large Language Models (LLMs). More specifically, we conduct comprehensive case studies to explore both the capabilities and limitations of the current state-of-the-art LLM, notably GPT-4, in collective brainstorming with humans.
[ 0.0313880816, 0.0921275169, -0.0199785586, 0.0512485728, -0.0613466725, 0.0058999648, 0.014872605, -0.0136286411, -0.0282392371, -0.0097689852, -0.0152697796, -0.0508912019, -0.0197137762, 0.0379781127, 0.0212445986, -0.031974528, 0.0041917255, -0.0633854717, -0.00199737, -0.0378025211, -0.0371627957, 0.0131616304, -0.0279158428, 0.049775742, -0.0078079468, -0.0173120312, -0.0116450088, -0.0204726774, -0.0098990984, -0.0010906106, -0.0282340795, 0.0757702738, 0.0318690836, 0.0975483954, 0.0000019067, -0.0457835384, 0.0053563537, -0.0026298335, -0.0148102306, -0.0137395291, 0.0046073692, 0.0073676379, -0.025517337, -0.0029637651, -0.0602038279, 0.0416039117, 0.0361795872, 0.0143954307, 0.0388426036, 0.010020162, 0.0026879483, -0.0311340429, 0.0688619539, -0.0303736143, 0.0450309813, -0.0499932691, 0.0059220879, -0.0128414994, 0.0307262242, -0.0187175125, -0.0215835869, 0.055674877, 0.0672570691, -0.0256075319, -0.0058863955, 0.0375604145, -0.0424285904, -0.0292678103, -0.0042491183, 0.0697933286, -0.0157867316, -0.001190514, 0.0077375113, -0.0032838662, 0.0026823066, 0.0319051594, -0.0480562299, 0.0362695195, 0.014768648, 0.0061716074, -0.0039617405, -0.0159187727, 0.0244156886, 0.0481299423, 0.0010898587, 0.0884185657, 0.0308899544, -0.0016079746, -0.0088979993, 0.0214397088, -0.0527091473, -0.0578980595, 0.0356563367, 0.0163256135, 0.0000466174, -0.0013878853, -0.0300676357, -0.0339570828, -0.0079408204, -0.0096341241, 0.0538436621, 0.0335645452, 0.0503054596, 0.0641463026, 0.0129869664, 0.0145367356, -0.062198855, 0.0191954207, -0.0196363851, 0.0019051707, -0.0689449906, -0.0269122012, -0.0349633507, 0.0406154282, -0.0086648399, -0.0276872832, -0.0148665113, 0.0507739633, -0.004111656, -0.0214608815, -0.0033649513, 0.04247481, -0.0144378375, -0.0578248315, -0.043537382, 0.0162024572, -0.0113548469, 0.0084102284, 0.0279272143, -0.0261442456, 0.0031241698, 0.024334399, -0.0527406, -0.0620657429, 0.0219260026, 0.07396245, 0.0150916725, 0.0121841608, 0.0139083052, -0.0378288217, 0.0173160154, -0.079496257, 0.0308550633, -0.0684499592, 0.0314031281, 0.0089520402, -0.017667776, -0.0599595495, 0.0214208104, -0.0078199962, 0.0008666042, 0.077597037, -0.0127348322, 0.0228752401, 0.0684293061, 0.0234906301, -0.0026748052, 0.0490458198, 0.0713987499, 0.021638047, 0.0119503587, -0.0064488845, 0.0430477709, 0.0415243767, 0.0063120318, -0.0042760959, -0.0132647026, -0.0177104827, -0.0088417958, 0.0795598403, -0.0174629893, 0.0802627131, -0.0180372521, -0.0046418277, 0.0695952401, 0.106663391, 0.0091949636, 0.0848331228, 0.01817316, -0.0296538156, 0.005601129, -0.0232728608, -0.0227038264, 0.06199608, -0.0267759245, -0.001872511, 0.0430006422, 0.03301128, -0.0310264323, -0.0197601039, 0.0151182748, 0.0290880203, 0.0012420333, 0.0126387803, 0.0372905582, -0.0379435308, -0.0236484408, 0.0299155619, -0.0330653116, -0.0351483412, 0.0238432232, -0.0553606041, 0.0375482142, 0.0393195339, 0.0604496337, -0.0030689058, -0.0324728489, -0.0252067614, 0.0105277896, 0.0472542942, 0.0430232845, 0.0077468622, -0.0360831581, -0.0179652609, -0.0089772493, -0.0360371321, -0.0182744563, -0.0103215938, 0.0134587623, 0.0115560219, 0.0076153469, 0.0082595358, -0.0123260245, 0.011924048, -0.0744485036, 0.0232627764, 0.0019694665, -0.0167057738, 0.016930582, 0.0275824051, -0.0213562232, 0.0397234038, 0.0342925042, -0.0520270988, -0.0583763234, 0.0091279475, -0.0275911614, -0.0100038191, 0.0380079746, -0.065730989, -0.0059296321, 0.0168461893, -0.00711822, -0.0210896451, 0.0766072497, -0.0577306002, -0.0069512096, -0.0432025641, 0.0009850954, -0.0192927737, 0.0267300382, -0.0247701239, 0.0395349339, -0.0167764444, -0.0071701962, 0.0055079395, -0.0095047336, 0.0158422161, -0.0610223562, -0.0244327076, 0.0368440896, 0.0367329866, 0.0067824158, 0.0027473797, 0.0100308312, -0.0430540368, -0.0449637249, -0.0637342706, -0.0076060314, -0.0127298888, 0.0184946768, -0.0098340809, -0.0022377921, -0.0030684168, 0.0087686051, -0.0343290456, -0.0037299469, 0.0271751489, 0.0020336467, 0.0438186415, -0.000289461, -0.0121847577, -0.0190204475, -0.0329350792, -0.0246029273, 0.0286641121, 0.0536815375, -0.0273296423, -0.0382456593, 0.0330912098, -0.0649826229, 0.0212945957, 0.0080122491, -0.0020310851, 0.0410778448, -0.0304301921, 0.046522744, 0.0505674928, 0.0119151399, 0.0383818708, 0.0117613887, -0.0236093905, -0.0214360356, 0.026450552, -0.0358936042, 0.0094664861, -0.0084865149, 0.0231774077, 0.00092477, 0.0564038903, -0.0256163646, -0.0180988703, -0.037715409, 0.0836402252, 0.016526537, -0.0324854665, -0.0393830612, -0.0003882893, -0.010566677, 0.063733533, -0.0104244463, -0.0440821759, 0.0882825851, 0.0068703787, -0.0152299264, -0.0471277535, -0.0245839134, -0.0464034937, 0.059216857, -0.0317722261, -0.0043808706, -0.0278960764, 0.0096882405, -0.0451456718, 0.0230715331, -0.0139261354, -0.0183507521, 0.0130425869, -0.0526311584, 0.0101285046, -0.0162648689, -0.0472396836, -0.0224919599, 0.0112838401, -0.0287515987, 0.0477466136, 0.0474112704, -0.0289932135, -0.0423899442, 0.016019145, 0.0525735244, 0.0270480085, 0.0049244314, 0.001670305, -0.0128070954, 0.0100999512, 0.0588283427, 0.0327069461, 0.013548553, -0.0465731584, -0.0011348334, 0.0398897715, 0.0248266496, 0.0206180923, -0.0066440944, 0.0396106876, 0.0319517069, 0.0178861506, -0.0316216163, -0.0059101167, 0.047111582, -0.0422669128, -0.0098324306, 0.0803376958, 0.025586443, -0.0709049255, 0.0025047497, -0.0400591381, -0.019745525, 0.0127300406, 0.0089020832, -0.0620872863, -0.0132112298, 0.0205908455, -0.0267270319, 0.0037716758, -0.0599498302, -0.0275111664, -0.0969492495, 0.0515259728, 0.0093197273, -0.0281128492, 0.01129374, -0.0185103845, -0.027124444, 0.0039071059, -0.0003535679, -0.0042894739, 0.0275179725, 0.0227504969, 0.0087285833, -0.0025204408, -0.0359074883, 0.0130341677, -0.0409048833, 0.0176862087, 0.0916164741, 0.030724328, -0.009534833, -0.0771492794, -0.0156186018, 0.0455075577, 0.0133434329, 0.0107331472, -0.0090267966, 0.0071760337, -0.0112269046, -0.0045048334, 0.0696615726, -0.0941731483, -0.009019753, 0.0196765345, 0.1218427196, -0.0352490507, -0.0015477719, -0.0312136412, 0.0117160259, -0.0200018901, 0.0703976303, 0.0216809791, -0.0526221059, -0.059271697, -0.0441782922, 0.010706747, -0.0740530416, -0.0468298793, -0.0570719615, 0.0589324497, 0.0343445465, -0.0389585868, -0.0081449645, 0.0612833872, 0.0347382613, 0.0216311887, -0.0108461976, -0.0245551039, 0.0051538385, -0.0311630145, 0.037740849, -0.0189294554, 0.0487498082, -0.084428221, -0.0162130576, -0.0007007246, -0.03579152, -0.0238389, 0.0593342148, -0.1125406325, -0.0886086226, -0.0178800058, 0.0100889541, 0.0331523232, -0.0173966158, 0.0033159319, -0.0789524242, 0.0504889973, 0.0479463674, -0.0317812972, 0.0181714483, -0.001410393, 0.0326578058, -0.0048032063, 0.0182061847, 0.0096020643, 0.0038197229, 0.0453266464, 0.050518427, -0.0191872306, -0.0343162678, -0.0051800827, 0.0090748174, 0.0103507377, -0.0182523578, -0.021316018, -0.0218528919, -0.0077572055, 0.011069973, -0.0139137935, -0.0840471759, -0.0098161539, 0.0225827955, -0.0077038966, 0.0405744836, 0.0195010826, 0.0086271763, 0.042515263, -0.0165413246, 0.0239991788, 0.0035336057, 0.0245701335, 0.0418091454, 0.0144229922, 0.0212312192, 0.028293496, -0.0475915186, 0.033221148, 0.0052572349, 0.0552772544, 0.0147282844, 0.0159499981, 0.0068626753, 0.0392213166, -0.0887380764, -0.1311624795, -0.0219419003, 0.0479290783, 0.0462408774, 0.0703002363, -0.023969708, -0.0504982211, -0.0212472621, -0.0155904097, 0.0188020151, -0.0138503723, -0.0101071969, 0.0197331533, 0.0289219059, -0.0096814139, -0.0215919763, 0.0726869255, -0.0149971014, 0.010747469, 0.0158273354, 0.0127236675, -0.0018962681, -0.0270208418, 0.0035813393, 0.010875958, 0.006119689, 0.0367061757, -0.0486548394, -0.0500487834, 0.0266108643, 0.00088889, -0.0056096003, -0.0100780623, 0.0470458195, 0.0616298392, -0.0408381149, -0.0007905739, -0.0020808016, 0.0172714125, -0.044747293, -0.0456701964, -0.0482522435, -5.828927144e-33, 0.0104754483, -0.0487137996, 0.0395427272, 0.0215389188, -0.0401819423, -0.0323408507, -0.0649769455, 0.0483242832, -0.0033207957, 0.0068922755, -0.0154313073, 0.0010025876, -0.008121402, 0.0148542849, 0.0138819683, -0.0200807154, 0.032541424, -0.0399365053, -0.0122072399, 0.0304901749, -0.0056724506, 0.0246595293, 0.0430882014, -0.0381722599, -0.0069139623, 0.0007229409, 0.0169672351, 0.0337110311, -0.0203029979, 0.0400791205, -0.0541599169, 0.0206569433, 0.0116608655, -0.0590064265, -0.0292394049, -0.0206678566, -0.0041239643, -0.0132654961, 0.006210654, -0.0305973236, -0.0368885249, -0.0334578231, 0.0387847126, -0.0032986656, -0.0397319607, -0.0124603109, 0.0210721418, -0.0223061685, -0.0203354061, -0.0041007493, -0.0379784927, -0.0018908397, -0.0182077885, -0.011855498, 0.0655312166, -0.047780063, -0.0170944072, 0.0281165112, -0.0292082131, 0.0597758628, 0.0264666378, 0.0212278254, 0.0829773694, -0.0348426588, 0.0316836722, 0.0519086383, 0.052356191, 0.0012801813, -0.0498037152, -0.0087000849, 0.0174693447, 0.0764557496, 0.0776209161, 0.0564854071, 0.0076905582, 0.0360136107, -0.0051334817, -0.012107091, -0.0062945094, -0.0164910629, 0.036127571, 0.0345576406, -0.0152653046, -0.0254907645, -0.0174478535, -0.036708191, -0.0428256392, -0.0207868703, 0.0001876677, -0.0227377526, -0.0094247013, 0.0284347236, 0.0452500321, -0.0522499979, 0.0249712653, 0.0230740607, 0.0021271845, 0.0359826684, 0.0219239369, 0.0061888555, -0.0750946924, -0.0208857283, -0.0109834829, 0.0704044476, 0.017773306, 0.0091855377, -0.0319106914, 0.0219420176, 0.0064942893, -0.01073917, -0.0556514636, 0.0199268796, 0.0472927056, 0.0132882064, -0.0086742574, -0.0080202706, -0.0124836601, -0.0071190796, -0.0025154089, -0.0162625853, -0.0067808283, 0.0170408357, -0.0357185267, 0.0100446017, -0.0266669337, -0.0340201482, -0.0238558147, -0.0367897376, 0.0877287015, -0.0407426208, -0.0350253843, -0.0003730219, 2.628e-7, 0.0112006273, 0.0263594184, 0.0323138833, -0.0307737198, 0.0357717648, 0.0185710918, -0.0283587687, 0.0015951919, 0.0078306971, 0.0164767206, 0.0086816521, 0.0590932705, 0.0595090315, 0.0198809616, -0.0796474889, 0.012027584, -0.080211252, 0.0146577833, -0.0670531169, -0.0083307652, 0.0109028229, 0.0557788424, 0.058646597, -0.0421454161, 0.0016590629, -0.0447443575, 0.0606901459, -0.0575547814, 0.0125711635, 0.0373964347, -0.0037654149, 0.0042285169, -0.0136382785, 0.0110940225, 0.0006332596, -0.0144729428, 0.0302968193, 0.0110640777, 0.0215807781, -0.0234860927, -0.0251412448, -0.008851652, 0.0101012206, -0.0574848577, 0.0410786569, -0.0726728439, -0.0571848527, 0.0063793818, 0.0386627913, -0.0411197171, 0.0393438861, -0.0394794792, 0.0442994274, -0.0336060636, 0.004645769, 0.0125475144, 0.003631837, -0.0458698831, 0.0012870369, -0.0331882164, -0.1017173007, -0.0545701794, -0.0587859787, -0.0248130262, 0.0105128586, -0.0344457664, 0.013967541, 2.347845861e-34, 0.0331500024, 0.0105215581, 0.0037778784, 0.0489470996, 0.0338298604, 0.0049030902, -0.0094661433, -0.0154973874, -0.0052425619, -0.0689350143, -0.0545776561 ]
http://arxiv.org/abs/2310.07018v1
http://arxiv.org/pdf/2310.07018v1
NEWTON: Are Large Language Models Capable of Physical Reasoning?
2023-10-10T21:08:51
2023-10-10T21:08:51
Yi Ru Wang, Jiafei Duan, Dieter Fox, Siddhartha Srinivasa
cs.CL
cs.CL, cs.AI, cs.RO
Large Language Models (LLMs), through their contextualized representations, have been empirically proven to encapsulate syntactic, semantic, word sense, and common-sense knowledge. However, there has been limited exploration of their physical reasoning abilities, specifically concerning the crucial attributes for comprehending everyday objects. To address this gap, we introduce NEWTON, a repository and benchmark for evaluating the physics reasoning skills of LLMs. Further, to enable domain-specific adaptation of this benchmark, we present a pipeline to enable researchers to generate a variant of this benchmark that has been customized to the objects and attributes relevant for their application. The NEWTON repository comprises a collection of 2800 object-attribute pairs, providing the foundation for generating infinite-scale assessment templates. The NEWTON benchmark consists of 160K QA questions, curated using the NEWTON repository to investigate the physical reasoning capabilities of several mainstream language models across foundational, explicit, and implicit reasoning tasks. Through extensive empirical analysis, our results highlight the capabilities of LLMs for physical reasoning. We find that LLMs like GPT-4 demonstrate strong reasoning capabilities in scenario-based tasks but exhibit less consistency in object-attribute reasoning compared to humans (50% vs. 84%). Furthermore, the NEWTON platform demonstrates its potential for evaluating and enhancing language models, paving the way for their integration into physically grounded settings, such as robotic manipulation. Project site: https://newtonreasoning.github.io
[ 0.0036018849, 0.0417354926, -0.0094911186, 0.0720458701, -0.0206758957, 0.0233744681, 0.0224349499, 0.0012967386, -0.0190501884, -0.026492035, -0.0125366133, -0.003999114, -0.012544563, -0.0012882595, 0.0202411395, -0.0405711047, 0.0385701321, -0.0447209328, -0.0281467773, -0.0106741227, -0.0380798057, -0.0123977121, -0.0529729575, 0.0149158379, 0.0029322552, -0.0302507617, -0.0016583141, -0.0318562314, 0.0372649617, -0.0213238876, -0.0358304866, 0.0569243096, 0.0505953096, 0.0587747134, 0.0000020052, -0.0429020748, 0.0401131511, 0.0241741352, -0.0407602899, 0.0031590958, 0.0036909457, -0.0420618467, 0.0020654537, -0.0034378832, -0.0209505428, -0.0141909895, 0.0332913212, -0.012447007, 0.0196214151, 0.0350218862, 0.0065848916, -0.0196916331, 0.0289512035, 0.0080238143, 0.0501973368, -0.0358271003, -0.0090573607, 0.0665078163, 0.0603588633, 0.0487506315, -0.0439653695, 0.0294568669, 0.0884013623, -0.0108851688, -0.023778284, 0.0615699217, -0.0399446264, 0.0208382308, 0.0140613643, 0.0543502718, 0.0376151055, -0.024796661, -0.0104881646, 0.0018063938, -0.0205098391, 0.004381719, -0.0661195219, 0.0264815781, 0.0117192445, -0.0126050264, -0.0586423613, -0.0242509563, 0.0353951752, 0.0196768809, -0.0245681573, 0.123877883, 0.0171973556, 0.0257810261, 0.014933479, -0.0030287569, -0.0058476417, -0.0550858304, -0.0131818252, 0.0339648388, -0.0146400072, 0.0028475106, -0.0055281254, 0.0202125851, 0.0041503012, -0.0286928192, 0.0282985121, 0.0454076007, 0.0137976296, 0.0612461083, -0.0315339044, 0.089638181, -0.0312687047, 0.0488816239, -0.0386364497, 0.0120090535, -0.0887598097, -0.0254438389, 0.0326208547, 0.0100457305, -0.0275684185, -0.0432712995, -0.0047529433, -0.002546024, -0.0193012673, -0.0157354623, -0.0429262631, 0.027144257, 0.0083599826, -0.0364811011, -0.0456174649, 0.0193646252, -0.0434020273, 0.060486611, 0.0145000378, -0.0447000526, -0.0238552801, -0.0164554771, -0.0157155991, -0.0384413637, 0.0043190885, 0.050874155, 0.0095484508, 0.0057001449, 0.0187188666, -0.0429873057, -0.0012407547, -0.0808915496, 0.0195346847, -0.0648322925, 0.0157717392, 0.0258297846, -0.0067548268, -0.0465755314, 0.0146114128, 0.0142845558, 0.0010695052, 0.0893583596, 0.0302981902, 0.0072996742, 0.0086536361, 0.0256754085, -0.0200986043, 0.0454121381, 0.0204066131, 0.0047464487, -0.0134299248, 0.0027895519, -0.0438851416, 0.0216352101, -0.0162943881, -0.0200909115, -0.0727369562, 0.0281932335, -0.0163876917, 0.0615808256, -0.0022064596, -0.0001269736, -0.0039628483, -0.0159820393, 0.036838837, 0.0476694666, -0.0484478883, 0.028486317, 0.0314244702, -0.0347978249, 0.0208453797, -0.0364569724, -0.0692948848, 0.0554537587, -0.0249211118, -0.0182572939, -0.0148258898, 0.0032446305, -0.0214421526, -0.0159505494, -0.0343048163, 0.0235217959, 0.0300072264, 0.0272525605, 0.059687458, -0.011016177, 0.0079658581, 0.0362631977, -0.0058302078, -0.0398398079, -0.0140377814, -0.0103279799, 0.0160510931, 0.0287141986, 0.0229522418, -0.0314792693, -0.0747017264, 0.0201422404, 0.0547544062, 0.0379307196, 0.0409362651, 0.0192459207, -0.0067270342, -0.0087260343, -0.0216778237, -0.0371232741, 0.0057627656, 0.0286411922, -0.0058075697, 0.0042820307, 0.0110863829, -0.026025651, 0.0151718315, 0.0472110175, -0.0287034418, -0.0072918171, -0.0272516534, -0.0217119139, 0.0324134529, -0.0096602365, 0.0021481721, 0.0066046584, 0.037017867, -0.0279972292, 0.0024563128, 0.0325228907, -0.0248698592, -0.0138370758, 0.0518795364, -0.0160745103, -0.0406020954, 0.0514512472, -0.0192106739, -0.023202559, 0.0365734212, 0.0126829706, 0.0390099324, -0.0092961565, -0.0155167626, -0.0199722964, 0.0044185231, 0.0083454968, 0.0617333464, -0.0016583883, 0.0331775732, 0.0149433343, 0.0609245822, 0.0245223995, -0.0430528857, -0.0086236838, 0.024392901, -0.0162081067, 0.0007638925, -0.006369039, -0.0089196889, -0.0532133766, -0.0018187306, -0.0513720177, -0.0114124259, 0.011013614, -0.0090793865, 0.0204345826, -0.035555061, -0.0067615639, 0.0167161841, 0.0334901027, 0.0324012786, -0.0390475616, 0.0105647705, 0.0138395559, -0.0142292231, -0.0207734983, -0.0035403273, -0.004375021, -0.0848656297, 0.0401036628, 0.0519358777, 0.0778650269, -0.0159040373, 0.0381295048, -0.0557519197, -0.000643826, -0.0049055512, -0.0260970574, 0.0687916949, -0.0461295918, 0.0227880646, 0.1016982347, -0.0447017439, 0.0309715234, 0.0760307238, -0.055871997, -0.0283517428, 0.0052954624, -0.0083232652, 0.0015444864, -0.026362516, 0.0011489984, -0.0144327655, 0.0387194231, -0.0026320985, -0.0182314552, -0.0513440333, 0.0262711681, -0.0538716018, -0.0219363309, -0.0393940844, 0.0382704064, -0.0232304148, 0.0464317873, -0.0236175731, 0.0023369144, 0.0621383935, -0.0297169276, 0.0162845738, -0.0128215086, 0.0295065977, -0.0080951294, 0.1319321692, 0.0091989022, -0.0121276947, -0.0113668703, 0.0134628937, -0.0219203513, 0.0143074458, 0.010089187, 0.0098020872, -0.0051132045, -0.090460591, 0.019464964, 0.0019544302, -0.0366808698, 0.0040837247, -0.0029854891, -0.0447342806, 0.0491070822, -0.075849995, -0.0742782429, -0.0271482989, 0.0039138822, 0.03494706, 0.0328882299, -0.0294100437, -0.0175214838, -0.0439679027, 0.0025680326, 0.0292092096, 0.0463232547, 0.0077944761, -0.0298399553, 0.0290216021, 0.0429309942, 0.0449133515, -0.0021679283, -0.0765582398, 0.0345980078, 0.0051297927, 0.0315672606, 0.020997785, 0.0311922096, 0.0653932914, -0.0709741563, -0.0484455638, 0.1020361036, 0.0291393604, 0.0084631974, 0.0200410634, -0.0243838951, 0.0129616102, 0.0326819271, -0.0083918786, -0.0528088138, -0.0547350086, 0.0137743922, -0.0324004479, 0.0323561132, -0.0560174584, 0.0024580897, -0.0977560878, 0.0233894363, -0.0198395289, -0.0536326393, -0.070301421, -0.0034956734, -0.0041457629, -0.0108551811, -0.0046575973, 0.0217856579, 0.0230499413, 0.010607779, 0.0034944995, 0.0069156135, -0.0555266701, 0.0913043544, -0.0396043509, 0.0055995984, 0.0474545173, 0.0374125801, -0.0363313742, -0.0477761738, 0.0220533777, 0.000726576, 0.0084383357, -0.0147139672, -0.0243603084, 0.0224167816, -0.0091600344, -0.0155976657, 0.0560478158, -0.0542609207, -0.0865950882, -0.0009667381, 0.1196897775, -0.0160809699, -0.0186379347, -0.0364623331, -0.0283104219, -0.0442132317, 0.0797426179, 0.0127380462, -0.0066591376, -0.0451722629, -0.033762902, -0.0468570963, 0.0296737775, -0.0457206666, -0.0067499164, 0.0650889575, -0.0054140869, -0.026901383, 0.0118384175, 0.0340908431, 0.02562722, -0.0122169182, -0.0376771353, -0.0051610218, 0.0048683509, -0.039614927, 0.057072226, -0.0014230859, 0.026445426, -0.0120270019, 0.0272201989, 0.040437609, -0.0247475095, -0.0483699478, 0.0255110357, -0.0325014256, -0.0594465025, -0.0000591638, 0.0371123999, 0.0305626523, -0.0058598411, -0.0233955644, -0.0344436765, -0.0172214806, 0.0114504294, -0.0671506226, 0.0484821796, -0.0089025106, -0.0198155977, 0.0173698068, 0.0079499641, -0.0090645384, 0.0232014414, -0.0116026718, 0.0135195488, -0.0098933866, -0.024212772, 0.0078119594, 0.0020808408, 0.0445362516, 0.0410875082, -0.0245395545, -0.0291404743, 0.014246908, -0.0296126138, 0.0156773515, -0.0473146103, 0.0119644627, 0.0360779613, -0.0259342156, -0.0083887884, -0.0027089023, 0.0148426937, 0.0538545214, -0.0001891624, 0.0163661931, 0.0019509301, 0.0448983163, 0.0207788292, -0.0034008308, 0.0071649039, -0.034743581, -0.0767083839, 0.0630525053, -0.0227833521, 0.0402589217, 0.047903046, 0.0016396794, -0.0440800264, -0.0089112464, -0.1061590537, -0.0756479427, 0.0186400842, 0.011348567, 0.0123932846, -0.0173157845, 0.0056692655, -0.0867624655, -0.0170345325, 0.0024160102, 0.026725566, 0.0397607498, -0.0098926863, 0.0875990167, 0.0578427613, 0.0216639247, -0.0296107512, 0.0321389809, -0.0289353523, 0.057859946, 0.0154868932, -0.0127374623, -0.0296892039, -0.0254862551, -0.0104039693, -0.0005735495, 0.0010592451, 0.0106601669, -0.0533361994, -0.0703022182, -0.0053054704, 0.0626659021, -0.0209065136, -0.0096196206, 0.0162155908, 0.0550488792, -0.0165064856, -0.0547786802, 0.0409665219, 0.0069856346, -0.0443836041, 0.005874922, -0.0323470756, -5.64318875e-33, -0.0191782992, -0.0042390455, 0.0319686085, -0.0175468121, -0.0123386001, 0.0013752005, -0.0628581122, -0.0112225441, -0.0397062637, 0.0398241729, 0.0110959699, 0.0143578975, -0.0172315221, -0.005111461, 0.0297793821, -0.0156825595, -0.0108085806, 0.0111412928, -0.025754787, 0.0112654725, 0.0414839797, -0.0039789611, 0.0361208431, -0.0124227982, 0.0139675345, 0.0018359781, -0.0009193002, 0.0247692727, -0.0665243119, 0.0408223011, -0.043544203, -0.0083320457, 0.0184793845, -0.0394659862, 0.0010085221, 0.0049378611, -0.0607098043, -0.0563874841, -0.007408415, 0.0131478915, -0.0381805748, -0.0161100496, 0.0438847542, 0.0180257782, -0.0349152535, -0.0546421409, 0.0323034748, -0.0405024253, 0.0217955709, 0.0346677825, -0.0252843257, 0.0075073061, -0.0205761641, -0.0188329443, 0.0287320428, 0.0072849276, -0.0184752233, 0.029572105, -0.0290673394, -0.014635697, -0.0302585419, 0.0185091738, 0.0616108514, -0.0215323139, 0.0499466993, 0.086983256, 0.0248787347, -0.0437348634, -0.0521810278, 0.0106896702, 0.0381358787, 0.0962793082, 0.0480449907, 0.0738324448, 0.0489796661, 0.0311278868, -0.0949089676, -0.0038607398, -0.0023922119, 0.1008459404, 0.0305158868, 0.0011649899, -0.0046379426, 0.0083461925, -0.0514367633, 0.0235909987, -0.0321799032, -0.0237075109, 0.0457996987, -0.0477410294, -0.0012702515, -0.0096382145, 0.036117889, -0.0523997545, -0.0144749004, 0.0421659797, -0.0060493983, 0.0355354995, 0.0125117311, 0.0369684286, -0.0477731712, -0.0179255903, -0.0043477961, -0.0074374601, 0.0351034515, -0.0100155035, -0.0031449359, 0.0433806479, -0.0093051028, -0.0273504611, -0.0591261908, -0.0426046476, 0.0212957244, 0.0249074716, 0.0441769809, 0.0594055466, -0.0079480661, 0.0408785492, -0.0310499072, -0.0220453329, -0.0213027857, 0.0290315058, -0.0272405203, 0.0047164359, -0.0268687271, -0.0510113202, -0.0373677239, -0.0343648046, 0.0372620076, -0.053956382, -0.0174958836, 0.0534987524, 2.66e-7, 0.0419433713, 0.0458266959, 0.0028398158, -0.0145030813, 0.0185192265, 0.0226240158, -0.0488245413, 0.0097361291, 0.0185790304, -0.0357519947, -0.0299923141, 0.0614865683, 0.0506516583, 0.0297491867, -0.0764297619, 0.0492511317, -0.0069381581, -0.0387185626, -0.0470963567, 0.004947722, 0.0355649106, 0.0406022072, 0.0375980139, 0.0112413242, 0.0189487636, -0.0230419133, 0.0438576937, -0.0617367104, 0.0495100282, -0.0039666407, -0.0248854328, -0.0195048284, 0.0018554676, 0.0377697274, 0.0029375714, -0.0133581357, -0.0143376105, 0.0645136908, -0.0082545625, -0.0083772084, -0.0250731539, -0.0418944657, -0.0001954065, -0.0669830441, 0.0893878341, -0.0539749824, -0.0340870023, -0.0077356966, 0.0067962357, -0.0248455424, 0.0028061485, 0.0316252634, 0.0341764279, -0.023443548, -0.0058242795, -0.0239729919, -0.0254466031, -0.0706167743, -0.0340086818, 0.0310741644, -0.0762413144, -0.0120531553, -0.0455348194, -0.0446913019, 0.0290113911, -0.0562550463, -0.0358229093, 2.312432487e-34, -0.0115245562, 0.0229208395, 0.0112533495, 0.0077030906, 0.0291632153, -0.0001115052, 0.0297294036, 0.0240802281, 0.0278261825, -0.0702316016, -0.0092305876 ]
http://arxiv.org/abs/2310.07008v1
http://arxiv.org/pdf/2310.07008v1
Answer Candidate Type Selection: Text-to-Text Language Model for Closed Book Question Answering Meets Knowledge Graphs
2023-10-10T20:49:43
2023-10-10T20:49:43
Mikhail Salnikov, Maria Lysyuk, Pavel Braslavski, Anton Razzhigaev, Valentin Malykh, Alexander Panchenko
cs.CL
cs.CL, cs.AI, cs.IR, cs.LG
Pre-trained Text-to-Text Language Models (LMs), such as T5 or BART yield promising results in the Knowledge Graph Question Answering (KGQA) task. However, the capacity of the models is limited and the quality decreases for questions with less popular entities. In this paper, we present a novel approach which works on top of the pre-trained Text-to-Text QA system to address this issue. Our simple yet effective method performs filtering and re-ranking of generated candidates based on their types derived from Wikidata "instance_of" property.
[ 0.0660032928, 0.0000987375, 0.0167624466, 0.0440302566, -0.0060182111, 0.0025127209, -0.0171340201, 0.0153459553, 0.0902823061, -0.1023870409, -0.0039748731, -0.006334235, -0.0227009766, 0.0359276533, 0.0305093657, -0.0260212086, 0.0518203117, -0.0194750316, -0.0072341566, -0.0250276644, -0.005164911, 0.0748298094, 0.0024740822, -0.0034621803, 0.0442488901, -0.0424085036, 0.0189764071, -0.0048400578, -0.0063459319, 0.0029802585, 0.0379987769, 0.0372750461, 0.020994829, -0.0108443713, 0.000001843, -0.0493476093, -0.0149014965, 0.0005539699, -0.0431237854, 0.0274916496, -0.0299299657, 0.0531478599, 0.0579944924, 0.0189620666, -0.0449646413, 0.0012585936, 0.0047321953, 0.013837616, 0.061717011, 0.0498311296, 0.0204698071, -0.0039086784, 0.027607562, 0.0091005042, 0.0335052833, -0.0484311432, 0.0397670344, -0.018354319, 0.0603088439, 0.0471121557, 0.0075104781, -0.0006355515, -0.0168996155, -0.0106528988, 0.0500376523, 0.0141585348, -0.0198500156, 0.0681980401, 0.0157891344, 0.1124891937, 0.0167966317, -0.0410908498, 0.0284035522, 0.0016849807, -0.0019084102, 0.0435973518, -0.0103822658, -0.0349779315, -0.0321549214, -0.0279308092, -0.0031412914, 0.0273630992, 0.0108830938, 0.0056600897, -0.0086995875, 0.0765792057, 0.0258059334, -0.0134708909, 0.0047519468, 0.0028911091, -0.0197941791, -0.0836361572, 0.0250865575, 0.0549511947, -0.0153041882, -0.005849978, -0.0316488594, 0.0031681848, 0.0112003218, -0.0623458102, -0.035494145, -0.0082886331, 0.0445781872, 0.0305415466, 0.0020113599, 0.0113340793, -0.0009227919, 0.0169237126, -0.073134549, -0.0122711081, -0.0411745161, -0.0250038598, -0.0555220135, 0.0528109111, 0.0112676946, -0.0247465596, -0.0110590579, 0.0042618243, 0.0195381269, -0.0196356662, 0.037900351, 0.0544322729, -0.0173975024, -0.015327584, -0.0779007599, 0.0575986877, -0.0255188774, 0.0234878808, -0.0500537083, 0.0337720662, 0.025700558, -0.0207252987, 0.0421828888, -0.057377506, 0.016960701, 0.0600161999, 0.0147875939, 0.0023433026, -0.0472001284, -0.0138158156, 0.0109075699, -0.0122641362, -0.0058495882, -0.0524618663, 0.02993205, 0.0232290551, -0.0209085904, -0.0266895816, 0.0185742024, 0.0322681144, -0.0601962246, 0.0538457483, -0.0533997901, -0.0005495095, 0.0568114333, -0.0160554629, -0.0142848343, 0.0120196585, 0.0237616301, -0.0009961314, 0.0674636811, 0.0005713454, 0.019215377, 0.0277274884, 0.0231979955, 0.0318390317, 0.040021766, 0.0774342865, -0.0359673053, 0.0203037094, 0.0178862605, 0.0395291895, -0.004917914, -0.0428504124, 0.0396069251, 0.0461222827, 0.0370111465, 0.022804793, 0.0182214975, 0.0295521114, 0.0482182465, 0.0258249063, 0.0019501193, 0.0249845553, -0.0659257993, 0.0070855655, 0.0117033385, 0.0281793252, -0.0517088622, -0.0077738278, -0.0050864555, 0.0192079898, 0.0095956689, 0.0269187614, 0.0047177542, 0.0298697632, -0.0477036349, 0.0670255572, 0.0050898055, 0.0075369021, 0.0311027858, -0.037632823, 0.0463568084, 0.0390211418, 0.0318401903, -0.0513229892, -0.0496419109, -0.0105056474, -0.0496100225, 0.0016330247, 0.026921114, -0.063608028, -0.0391176082, -0.0475338027, -0.0112203658, -0.0206533372, -0.0196661036, 0.0006582321, 0.0062426007, 0.0622178167, 0.0195326712, -0.1260650903, -0.034088999, 0.0122534223, 0.0355531313, -0.040103849, 0.0096981796, 0.0020552927, -0.0260380004, 0.0197111573, 0.0130077945, 0.0116270036, 0.0040117702, -0.0092844339, -0.0290583447, -0.032018058, -0.0153194498, -0.045646932, 0.0405667797, -0.0059629194, -0.0156760644, 0.0238707773, -0.0416782349, -0.0466991626, -0.0054238574, 0.0111638065, 0.0198362488, -0.0152559681, -0.0308156107, 0.0291454941, -0.0341708064, -0.0544848777, 0.0992788374, 0.0287814699, 0.0049029402, 0.0238477122, -0.0364541449, 0.0176090747, -0.0336125009, 0.0128018567, 0.0116022369, 0.0277647693, 0.034514226, 0.0167209506, 0.0058393269, -0.0582153425, 0.0060081645, -0.0738483816, 0.0142360283, -0.0143746901, 0.0466825627, 0.0116211232, 0.0265750047, 0.0239890683, -0.0058958814, -0.0657557845, 0.0134201432, -0.0047046728, 0.0077140909, 0.0235893019, 0.0249361042, 0.0685511455, -0.0582052432, -0.0448544845, -0.0077257846, 0.0776167437, 0.0157839954, 0.0232363418, -0.0123366285, 0.0765132084, -0.0665588826, 0.0092520565, 0.017691914, -0.004234592, -0.0250817966, -0.0113922106, 0.0059057348, 0.0369856209, 0.0118100606, -0.0380911008, 0.0021797041, 0.0142923091, -0.049811177, 0.0143300463, -0.0037372948, 0.0264855325, 0.0014085777, -0.0027053808, 0.0171178263, 0.0085855033, -0.0032597308, -0.0496257879, -0.0359164253, 0.0216551684, -0.0119019337, 0.0377875492, -0.0820383951, -0.0204535089, 0.0358743407, -0.009765109, -0.0155963376, 0.0204235148, 0.0652748644, 0.0031935133, 0.0272483975, -0.0561693236, -0.0217233729, -0.0792609528, 0.0390070006, 0.0128654316, 0.0003196851, -0.0326057076, -0.0235009901, -0.057997264, 0.0001679461, -0.0024392516, -0.0331026465, 0.0198076125, 0.0191210322, 0.0433592945, 0.0039519412, -0.00244142, -0.0189598706, -0.0050411369, -0.041889295, 0.0085571669, 0.0019335347, 0.011411475, 0.0382002257, 0.0385324992, 0.0126284566, 0.0153064197, -0.017675139, 0.0045525995, -0.0227718726, 0.1061390862, 0.0712423772, 0.010742195, -0.0034126346, 0.0064142309, 0.0075808424, 0.0131995631, 0.0146626877, -0.0198375694, -0.0031848252, -0.026537437, 0.01288631, -0.0927820057, -0.0520576127, -0.0170743298, 0.0222155247, -0.0450988896, 0.0029459428, 0.0814505368, 0.0382470042, -0.0186054371, -0.0034442388, 0.0039248471, 0.0134038907, 0.001035966, 0.0590955503, -0.075747937, -0.0152136972, -0.0429129526, 0.0346868746, 0.0150885945, -0.0237109568, 0.0093738902, -0.107905075, -0.0099245086, -0.0076089548, -0.0275698956, -0.0074414313, -0.0222571697, 0.0189266354, -0.020389853, -0.0248596389, -0.0070605176, -0.0270251203, 0.0535002314, 0.0133259464, 0.0161563214, 0.0110804355, 0.0585541613, -0.0251882561, -0.0046290113, 0.0232653413, 0.0469751358, -0.0163670443, -0.001349202, -0.0255275182, -0.0400122851, -0.029470522, 0.0158902928, 0.0496262945, -0.0246978495, 0.0110287052, -0.024733657, 0.0458616391, -0.0227408819, 0.0182805303, 0.0159375444, 0.0910372287, 0.0117646344, -0.0318686292, -0.0194173101, -0.0389581993, 0.0187498573, 0.0695611164, 0.0000861, -0.024410231, -0.0410782211, -0.0356920734, 0.0064391014, -0.0292075798, -0.0767263249, 0.0158112813, -0.0231527556, 0.0663301945, -0.1051008925, -0.0339561701, 0.0335482694, 0.0115937376, -0.0100854328, 0.0456201471, 0.0375175364, 0.0124612469, -0.0174344592, 0.0294019859, -0.0224891249, 0.0230034869, -0.0529531427, -0.0262948666, 0.0392933041, -0.0457458906, -0.0312129203, -0.0144954771, -0.0292887595, -0.0416288897, -0.0365882032, 0.0513958, 0.0162167046, 0.000374599, -0.0355795883, -0.0253942925, 0.0764645338, 0.0239713099, -0.0583846159, 0.001414757, -0.0020197146, 0.022325838, -0.0441234522, 0.0431746542, -0.0930565223, -0.0093708783, -0.0220039934, 0.0447631255, -0.0252857991, -0.0930152088, 0.0176107958, 0.0364452265, -0.0713638365, 0.0469533429, 0.0039371867, -0.052891776, 0.0280817505, -0.0034065715, -0.0296647511, -0.0260047875, 0.0132865291, -0.0081821894, -0.0294053722, -0.0229761712, -0.030608274, 0.0056751948, 0.0783780739, -0.0259183887, -0.02932062, 0.069160752, 0.0125336833, 0.0282410029, -0.0247188732, -0.0238139033, 0.0066067595, 0.0083183246, 0.0576789826, -0.0201994628, -0.0074475422, 0.0187141802, -0.0406661965, -0.052100867, -0.0046951049, -0.0808993429, -0.0611480698, -0.0413607582, 0.0576457046, 0.0187529065, -0.0124513619, 0.0473386943, 0.0241725519, -0.0442331769, -0.0243729874, -0.0143472468, 0.0319235176, 0.0330993645, 0.0333894379, 0.024766596, -0.0086281849, 0.0767352879, 0.0605839007, 0.001315388, 0.0522501096, 0.0216573663, -0.0443887115, -0.0103698066, -0.0084918663, -0.020577807, 0.0413179994, 0.0126221636, 0.0150819793, -0.0636889189, -0.0513232574, 0.0457312204, -0.0116829621, -0.0238285623, -0.0113840243, 0.0427533798, 0.0222203247, 0.0468454026, -0.0122488383, -0.0534903482, 0.0322022028, -0.048759006, -0.0319745876, -0.0180899706, -6.165033672e-33, -0.0321153142, -0.0482734889, 0.0076684845, -0.0357373804, -0.0027402216, 0.0116107389, 0.0244819187, -0.0511105657, -0.0487204045, -0.0186907127, -0.0270538833, -0.0014775133, -0.0197841581, 0.0299732424, -0.0410084613, -0.0101986602, -0.0014748159, -0.0149168288, -0.0042066439, 0.0361535698, 0.0308783744, 0.0215605162, 0.0436814614, -0.0331009626, -0.0133505259, -0.0605773702, 0.024497766, -0.0042064069, -0.0110612605, 0.0570865683, -0.0345100276, 0.0401148163, 0.0290351156, -0.0138299763, 0.0346131511, -0.0000131528, -0.0725853145, -0.0499150977, -0.0093814516, -0.0273295492, -0.0492502674, -0.0450082794, -0.003595443, 0.0055184988, 0.0771181509, -0.0269402154, 0.0594825447, 0.0143456412, -0.017740719, -0.0040812707, -0.0177025963, 0.0101187788, -0.0139517589, 0.0000144719, -0.0698717684, 0.0580623262, -0.0181765743, 0.0054305061, -0.0756019279, -0.0067986981, 0.0360250324, 0.0101134228, -0.0034944669, -0.0277332682, -0.0213389788, 0.0169563796, -0.026198294, -0.0223017149, -0.0057434682, -0.0005650918, -0.0383110195, 0.0352778621, 0.0246498231, 0.0480854847, 0.0123693058, 0.0167857893, -0.0828900635, 0.0452507548, -0.0125223566, -0.0056227157, -0.045453012, -0.0250106715, -0.0167647433, -0.0253151525, -0.0674388856, 0.0012225751, -0.044936873, -0.0473765619, 0.0349679515, -0.0277845562, -0.0394372977, -0.0131078307, 0.0259142164, -0.0392330885, -0.0158946067, 0.0515742563, -0.0315839052, 0.0342178643, 0.0042100493, 0.0636023656, -0.0735998973, 0.0267909709, 0.0319253281, -0.0262339618, -0.0079183877, 0.0276739337, -0.0372865647, 0.0077149658, -0.0180823058, 0.0190387219, 0.0008210641, -0.0271620657, -0.0313437879, 0.0188775677, -0.0027403762, 0.0503216572, 0.0205007307, 0.0475563928, 0.0116805062, 0.0033884938, -0.0197257418, -0.0505988672, 0.0349026062, 0.0298571605, -0.0239022691, 0.0266949534, -0.0099215191, 0.0465341099, -0.0315445252, -0.0323759466, -0.0030154164, 0.0003279196, 2.653e-7, 0.0556314625, 0.0109914057, -0.0119430628, 0.062563993, 0.022144286, 0.0241171289, 0.0711348355, 0.071097672, 0.0386787802, -0.0119507341, 0.0198822748, 0.021976158, -0.0222186893, 0.0535304882, -0.0539531, -0.0228847545, -0.0552878194, -0.0134338131, -0.0533183329, -0.0683108568, 0.0509252548, 0.0661565661, 0.0287003927, 0.0003453947, -0.0461739637, -0.0673645362, 0.061743062, 0.024587512, -0.0194214787, 0.0517480336, 0.0398395918, 0.0066189873, -0.012752532, 0.0198523588, -0.0175261516, 0.0168507937, 0.0765278935, 0.0124197463, -0.0248589925, -0.0438456871, -0.02845327, -0.0356538296, 0.0291407555, -0.0272489171, 0.1083111614, -0.0034149699, 0.0073248623, 0.0314683244, -0.0439121425, -0.0447144918, 0.0036886504, -0.0239170771, -0.0075622192, 0.0174554978, -0.0010625041, -0.0077817729, -0.008254542, -0.0486091115, 0.0092335884, 0.0062208707, 0.0122321285, -0.0329957008, 0.0056940923, -0.0257295463, 0.007553265, -0.0492439307, 0.0435317047, 2.172044712e-34, -0.0005159771, -0.0035571035, -0.0053430521, 0.0171900354, 0.0184812266, -0.0143110994, 0.0054395339, -0.0268833339, 0.040687453, -0.0979380906, -0.0059635141 ]
http://arxiv.org/abs/2310.06987v1
http://arxiv.org/pdf/2310.06987v1
Catastrophic Jailbreak of Open-source LLMs via Exploiting Generation
2023-10-10T20:15:54
2023-10-10T20:15:54
Yangsibo Huang, Samyak Gupta, Mengzhou Xia, Kai Li, Danqi Chen
cs.CL
cs.CL, cs.AI, cs.CR
The rapid progress in open-source large language models (LLMs) is significantly advancing AI development. Extensive efforts have been made before model release to align their behavior with human values, with the primary goal of ensuring their helpfulness and harmlessness. However, even carefully aligned models can be manipulated maliciously, leading to unintended behaviors, known as "jailbreaks". These jailbreaks are typically triggered by specific text inputs, often referred to as adversarial prompts. In this work, we propose the generation exploitation attack, an extremely simple approach that disrupts model alignment by only manipulating variations of decoding methods. By exploiting different generation strategies, including varying decoding hyper-parameters and sampling methods, we increase the misalignment rate from 0% to more than 95% across 11 language models including LLaMA2, Vicuna, Falcon, and MPT families, outperforming state-of-the-art attacks with $30\times$ lower computational cost. Finally, we propose an effective alignment method that explores diverse generation strategies, which can reasonably reduce the misalignment rate under our attack. Altogether, our study underscores a major failure in current safety evaluation and alignment procedures for open-source LLMs, strongly advocating for more comprehensive red teaming and better alignment before releasing such models. Our code is available at https://github.com/Princeton-SysML/Jailbreak_LLM.
[ -0.006613994, 0.0894856155, -0.0171372425, 0.0643951148, -0.0261993594, -0.0103840623, -0.0100395475, -0.0268393327, 0.0109790526, -0.0142626669, -0.0168940034, -0.0189476442, 0.0320551395, 0.0162189119, 0.0393958353, 0.0251307096, 0.0646354705, -0.038844455, -0.0367328711, -0.0022283704, -0.0121139055, 0.0118073532, 0.0103299618, 0.031832099, 0.030778842, -0.0442941263, -0.0482680723, 0.025179537, 0.035549853, -0.0230284352, -0.008993418, 0.0211191848, -0.0262086708, 0.0877238736, 0.0000021401, -0.031486474, -0.038674403, 0.0323304906, -0.0261647291, 0.0503320731, 0.0142255062, -0.0571518056, -0.0566779859, 0.0272690114, -0.0301949196, 0.0216818396, 0.0441177823, 0.0142324567, 0.0614551008, 0.0884738043, 0.014039739, -0.0033415861, 0.0733067617, -0.0169343539, -0.0083989846, -0.0619900487, 0.0068606404, -0.0311988536, -0.0272245053, 0.0066945888, 0.0021367539, 0.0123977764, 0.012227078, 0.0061190971, -0.0529818162, 0.0200278591, -0.0302047096, -0.0461065136, -0.0222962815, 0.062934041, -0.0501866601, -0.0231259409, 0.0063292491, -0.003573738, 0.011414133, -0.0178076662, 0.0066472967, 0.0555932112, 0.0026723123, 0.0397275127, 0.0572961792, -0.043156147, 0.0577145703, -0.0254047513, -0.005824463, 0.0652695447, 0.0328486189, -0.0391549356, -0.0129931858, -0.0250700023, -0.0117819356, -0.0597314164, -0.0426125973, -0.0004186752, 0.002084685, 0.0348960236, -0.1030588821, -0.0430159904, 0.0329839364, -0.0535595641, 0.030107351, 0.0465405993, 0.0046467548, 0.0029518064, -0.0111378254, 0.0344919786, -0.0569356941, 0.0559490919, -0.0168589912, 0.0312283896, 0.0422132872, -0.0061054933, 0.0207965281, -0.0037441992, -0.0239855554, 0.0163211878, -0.0185586065, 0.0453311652, 0.0019882408, 0.0638483241, -0.0285103116, -0.0007306952, -0.0158128887, 0.0016441438, 0.0316114239, -0.012985778, 0.0083501199, -0.0290498734, 0.0013150624, -0.097738117, -0.0360396132, 0.0225070976, -0.079195112, -0.0361008346, -0.0201757103, 0.1055613533, 0.0086413519, -0.0054068943, -0.06360282, -0.0470327884, -0.028326733, -0.0434004478, 0.0095542464, -0.064475365, -0.0041589369, -0.0045929938, -0.0289395861, -0.0816478208, 0.031153027, 0.0068624201, -0.0518000573, 0.0579992905, -0.0332053006, -0.0037373626, 0.0055042007, 0.0113365911, 0.019278625, 0.0854415596, 0.0384914018, 0.0466045104, 0.0399542935, -0.0087344581, 0.0277183894, 0.0752298087, 0.0124801975, 0.0354522094, -0.0226974785, -0.0081389975, 0.0418032594, 0.0339739285, 0.0195523407, 0.0470634587, 0.011291285, -0.042824436, 0.064089492, 0.0314413048, -0.0366946794, 0.0506862067, -0.0119070271, -0.0188919306, 0.0016006993, 0.0074441801, -0.0779757276, 0.0013091507, -0.0925948173, 0.0039584003, -0.0013061051, 0.0699450374, -0.0054293089, -0.0225123838, -0.0202713553, -0.035653878, -0.0227576829, -0.0139458366, 0.0170577262, -0.0033935201, -0.0359033681, 0.0577562153, 0.0152466735, -0.0693833902, -0.0384540893, -0.0547788888, 0.0202511661, 0.0350540318, 0.0605658367, -0.0252637248, -0.0372469984, 0.0074199443, -0.0442421995, 0.0236088168, 0.0231452044, 0.0263207257, 0.014399197, -0.0377714969, -0.0119456183, -0.0183550026, 0.0109078772, 0.0265530329, 0.0052402848, 0.0014769633, -0.0145583283, -0.0269792676, -0.0401773974, 0.0425235555, -0.023695901, -0.0382320434, -0.0157539714, 0.0257825926, 0.0211480893, 0.0129238386, -0.0354000591, 0.0275012515, 0.0626511574, -0.0124237863, 0.018656075, 0.0106124869, -0.0281566698, -0.0189233664, 0.060046576, -0.0175618269, -0.0240183268, 0.0699649155, -0.0538171977, -0.0152838659, 0.0437518246, -0.0135967648, 0.0234964546, 0.0099493396, 0.0482267067, -0.0091675567, 0.0332193896, -0.0394314602, 0.0352745913, -0.0436594896, -0.0082479352, -0.0021875524, 0.0120542385, 0.025105197, -0.0324939899, -0.0572845675, 0.0313602723, -0.0132452678, 0.0224555973, -0.012135434, 0.0202337783, -0.0034127906, -0.0540081635, -0.0295858458, 0.0113660693, -0.0194192082, 0.0486922711, 0.0344734751, -0.0072041047, -0.034639243, 0.0090440456, -0.0220348667, -0.0093128486, -0.0068980884, -0.0186157022, 0.0322990082, -0.0271824114, -0.0636221096, -0.0369866006, -0.0042396146, -0.0181955621, 0.0433856398, -0.0113308663, -0.00342641, -0.0694818199, 0.0354447179, -0.0040745572, 0.0466488414, -0.0108050909, -0.0545797423, 0.0265662391, 0.0044869366, -0.0108986627, 0.0956168845, -0.0120278466, 0.0541092642, 0.0702290237, 0.0501750521, -0.0399813503, -0.0115949577, 0.0430185981, -0.060246665, -0.0461555235, -0.0403632708, 0.0157051552, 0.0689842626, 0.007868574, -0.0062541235, -0.0432752557, 0.0116469702, 0.0282413568, -0.0312520601, 0.0362561792, -0.0126876486, -0.0498433672, 0.014092722, -0.0261145923, -0.0904975832, 0.0383532755, -0.0809385329, 0.0114801927, -0.0166230518, -0.0248037726, -0.0177318398, 0.0323659293, -0.0100056641, 0.0360542908, 0.0367183015, -0.0163215622, -0.0505639352, 0.017609261, 0.0115372557, -0.036214307, 0.0584293529, -0.039985396, -0.0046331012, -0.040958792, -0.0375926606, -0.0502913259, -0.0377946831, -0.0065840683, -0.0193261988, 0.0198843181, -0.0391581096, -0.0215786919, -0.0531717874, 0.0296346731, -0.0160146523, -0.0147862984, 0.0195144154, -0.040827103, 0.0154907573, 0.0465570986, -0.0240314994, 0.0190966092, -0.031488806, 0.0262545459, 0.0739715174, 0.0426275879, 0.0386069901, -0.0413301438, -0.0147853214, 0.0564701557, 0.003986239, -0.0073720645, 0.028469963, 0.0486773998, -0.0145492703, 0.0142478151, 0.0582615435, 0.0208748449, -0.0175624657, 0.0376835987, -0.0148531515, 0.069546409, 0.02545828, 0.027646929, -0.0792208016, -0.0165576972, 0.0310137961, 0.0741303414, -0.003904925, -0.0138466787, -0.012822629, -0.1430042982, 0.0021065965, 0.0430305935, -0.0288610272, -0.0292719118, 0.0026685763, -0.0252822116, -0.0060359626, 0.0621305481, 0.0275316946, 0.020168148, -0.0020783979, 0.011005979, -0.0051895115, -0.0289731491, -0.0162555389, -0.0272513181, 0.095783323, 0.0914133862, 0.0015884736, -0.0184490588, -0.0168423466, 0.0344697647, 0.0203868076, -0.0060195411, 0.018594915, 0.0060538119, 0.0108008608, -0.0254155323, 0.0236486327, 0.0309991743, -0.0380067006, -0.0115148285, 0.0157037228, 0.0437389389, -0.0051609268, -0.0059651989, -0.016021857, -0.0342210382, 0.0112691093, 0.0563176312, 0.0155747794, -0.0180246551, -0.0443392806, -0.0704444423, -0.0006463234, -0.0455168188, -0.0337043554, 0.0462432802, 0.0167996269, -0.0374149308, -0.0491601974, -0.0172173996, -0.0245320685, 0.0245770197, 0.0328686163, -0.0245170854, -0.0114111342, -0.0148477862, -0.0348758511, -0.0036394084, -0.0112643829, 0.0439555608, -0.0619753599, 0.0176786166, -0.0039415173, -0.0181814414, 0.0029445973, 0.0261435136, -0.0636763424, -0.1176846921, 0.0163770393, 0.074482657, 0.0223428588, 0.0220297929, -0.0215154793, -0.0455461144, 0.0371822603, 0.0589501262, -0.0046378048, 0.0509909205, 0.0502269007, -0.0191345289, 0.0073083676, 0.0304766539, -0.0306768622, -0.035109736, 0.065114826, 0.0103075067, -0.0398169495, -0.019240601, 0.0173338763, 0.0579579584, 0.0164823122, -0.0498753116, 0.0217067674, 0.0099051697, 0.0353504233, -0.0144180972, -0.0100758504, -0.0153894182, 0.007545853, 0.0211019646, -0.0336761698, 0.0464980491, 0.0074713416, 0.0023434025, 0.0255622398, -0.0097569963, 0.0327316001, -0.000694057, 0.0683673397, 0.0636689365, 0.0239926986, -0.0155591881, 0.0648695081, -0.0272320341, 0.0397339426, 0.002777101, 0.0362596363, -0.0051589226, 0.0147232329, -0.0081291143, 0.0609546714, -0.0452339537, -0.0604759939, -0.0150248213, 0.0475073494, 0.0515212044, 0.0326709561, 0.0502930507, -0.0060388376, 0.0112628425, -0.033168897, 0.0106211687, -0.019209357, -0.0424817987, 0.0153051298, -0.004192268, -0.0238239635, -0.0042230128, 0.0712480322, 0.0063534896, 0.0646230355, -0.0072951727, 0.0131579898, -0.0194241032, -0.0309069715, 0.043529395, -0.0387912691, -0.0519975983, -0.0608330406, -0.0499687307, -0.0742356852, 0.0043258891, 0.0409371182, 0.0174296666, 0.003542268, -0.0126893893, 0.0419300795, -0.0215705894, 0.0308914799, -0.0416299999, -0.010032393, -0.018690899, -0.0575022399, 0.0084507931, -6.284164882e-33, -0.0021793661, 0.0029232327, -0.0300565455, -0.0279974826, -0.0149473259, -0.0158371851, -0.0321760885, 0.0179867893, -0.025448693, -0.0446293093, -0.0152336275, -0.0111870272, 0.0006997461, 0.0022607723, -0.0078845639, -0.0289193988, -0.0039393161, -0.0063174241, -0.0408879519, -0.0036476348, 0.0446556918, 0.0085786134, 0.0452328287, -0.0548215397, 0.0259254947, -0.0277022626, -0.0434540547, 0.0213705711, -0.0588277318, 0.0504890643, 0.0161251295, 0.0196918957, -0.0126126455, 0.0014417781, 0.0037688694, 0.0328468569, 0.0080300905, 0.0018061113, 0.0157295968, 0.0181914065, -0.0174267702, -0.0845081061, 0.0486722179, 0.0098576816, -0.0389562137, 0.0074147149, -0.0008572344, -0.0171172787, -0.0203774348, 0.0037211217, -0.0358305797, 0.011006658, -0.0407180339, -0.007159133, -0.0002661616, -0.0263687391, 0.0275416765, 0.0100198928, -0.0283098314, 0.0158228334, 0.0398484506, 0.0162851419, 0.1152066812, 0.0035863807, 0.0023773438, 0.0649293661, 0.0202213265, -0.0309549216, -0.0283698943, 0.0003380576, 0.0044091674, 0.0406359062, 0.0218879618, 0.0704203174, 0.0272647478, -0.0289111026, -0.0616756491, 0.0302203838, 0.0143154832, 0.0068985824, 0.0000858965, 0.012722007, -0.0654883832, 0.0095300488, -0.0183176119, -0.0591559857, -0.0252553318, -0.0309607275, 0.0247835312, -0.0118227657, -0.0310785547, -0.0492545553, 0.0082065053, -0.0531129204, 0.0158728585, 0.0174262077, -0.0256265234, -0.0007732876, -0.0278506987, 0.0304889642, -0.0063374653, -0.0254301373, -0.0077382713, -0.0508454703, 0.0535816103, 0.028165061, 0.0172271859, 0.0321188644, -0.0552398972, 0.0207338929, -0.0313868634, 0.0237067845, 0.0316118337, 0.0139542511, 0.0476409532, -0.0462127365, 0.0034671023, 0.0015183707, 0.0319147371, 0.0437692031, -0.0595913678, 0.01559301, -0.020421708, 0.0149215572, -0.011074896, 0.0108190347, 0.0027329328, 0.0374598913, 0.0522268973, -0.0681942999, -0.0215206873, -0.0071336604, 2.897e-7, 0.0226846617, 0.0269150138, 0.0612476915, 0.010569118, 0.0092652868, 0.073167257, -0.0435349196, 0.0785581023, -0.0294224732, -0.0198764093, -0.0310558733, -0.0053552007, 0.0706454217, 0.0367885605, -0.0414606035, 0.0531193912, -0.0573928617, 0.0275199544, -0.0676039904, -0.0094778659, 0.0268031005, 0.0984581038, -0.0154500436, -0.0269215759, 0.0010256694, -0.037781015, 0.0036539198, -0.0103708059, -0.0163214281, 0.0157792084, -0.0007855634, 0.0044601369, -0.026846962, -0.0165231749, -0.0130972257, -0.0140990997, -0.0271747094, 0.0557013154, -0.003225669, -0.0428271741, -0.012477302, -0.0373011902, -0.0238393787, -0.0267282203, 0.0554369129, 0.0347732678, -0.0263400562, -0.0377755053, 0.0028372237, -0.0093557294, 0.0132176178, -0.0319567546, 0.0362535305, 0.0173362531, 0.0054226248, -0.0067010056, -0.0010990411, -0.0447507016, -0.0420047864, -0.0282595791, -0.0199622288, -0.0595000014, -0.014846771, 0.0354781076, 0.0331259556, -0.0248259269, 0.0017296515, 2.946163073e-34, -0.0217492711, -0.0519125201, 0.0288117807, 0.0337168761, 0.0143856648, -0.0151742995, 0.0175048169, 0.0249537043, -0.0058256467, -0.0381640159, -0.0310376212 ]
http://arxiv.org/abs/2310.06983v1
http://arxiv.org/pdf/2310.06983v1
Violation of Expectation via Metacognitive Prompting Reduces Theory of Mind Prediction Error in Large Language Models
2023-10-10T20:05:13
2023-10-10T20:05:13
Courtland Leer, Vincent Trost, Vineeth Voruganti
cs.CL
cs.CL, cs.LG
Recent research shows that Large Language Models (LLMs) exhibit a compelling level of proficiency in Theory of Mind (ToM) tasks. This ability to impute unobservable mental states to others is vital to human social cognition and may prove equally important in principal-agent relations between individual humans and Artificial Intelligences (AIs). In this paper, we explore how a mechanism studied in developmental psychology known as Violation of Expectation (VoE) can be implemented to reduce errors in LLM prediction about users by leveraging emergent ToM affordances. And we introduce a \textit{metacognitive prompting} framework to apply VoE in the context of an AI tutor. By storing and retrieving facts derived in cases where LLM expectation about the user was violated, we find that LLMs are able to learn about users in ways that echo theories of human learning. Finally, we discuss latent hazards and augmentative opportunities associated with modeling user psychology and propose ways to mitigate risk along with possible directions for future inquiry.
[ 0.0587852038, 0.0339134559, -0.0667511374, 0.0578587689, -0.016857041, 0.0078024142, 0.0132987732, -0.0402780212, 0.0440653078, 0.0004069493, -0.0248190667, -0.0206204411, 0.0005735872, 0.0175344348, 0.0397820175, -0.0521646142, 0.0165149309, -0.0258286539, 0.0042226282, -0.0175650027, -0.0205740966, 0.0083733313, -0.008857484, 0.0374862887, -0.0036472159, -0.0143325673, -0.0371110104, -0.0277591329, 0.0160358809, -0.038247671, -0.0057640839, 0.0212261584, -0.0094544543, 0.0231258217, 0.0000020935, -0.0722238719, -0.0017711256, -0.027139917, -0.0161191784, -0.0528644174, 0.0122302817, 0.0320016742, 0.022733314, -0.0245396402, -0.0747293159, 0.0159397572, 0.0177670494, 0.0425775237, 0.0028441281, 0.0278252121, -0.0047530131, 0.0351070054, 0.0113477251, 0.0160477627, 0.085532926, -0.0723180622, 0.0113764871, -0.0432678238, -0.0140613532, -0.0339855365, -0.0374083295, -0.0014716521, 0.0074233385, -0.0077191582, 0.0236984212, 0.0065799509, 0.0409701951, -0.0449148975, -0.0426243506, 0.052919507, 0.1000375897, -0.0088542216, -0.0019311135, 0.0178530756, 0.0642363578, 0.0962628648, -0.009102664, 0.0187389068, -0.0095026577, -0.0024155464, 0.012913893, 0.014874748, 0.0029924228, 0.038796097, 0.0205085091, 0.0704418421, -0.0225820057, -0.0350403897, -0.0015506862, 0.0142483441, -0.0220917407, -0.0443358459, -0.0392041393, 0.0152029656, -0.0230468959, 0.0117366239, -0.0523628592, -0.0261786114, -0.0202568248, 0.0350041352, 0.0978412181, 0.0509161539, -0.0097491601, 0.0323304646, 0.0161197074, 0.0411639288, -0.0220004432, 0.0013114396, -0.0228941198, 0.0314388648, -0.0487158038, -0.0126501508, -0.0158074144, 0.056723278, 0.0348202549, 0.0086778803, 0.020121403, 0.0085989637, -0.0570337959, 0.0224036407, -0.0440855883, -0.0011868353, -0.0191378333, -0.0060154656, -0.0650348291, -0.0024341652, -0.037742354, 0.0154872146, 0.0179244168, -0.0573521703, -0.0387911722, -0.0268032793, 0.0135346027, 0.0134439813, -0.016760394, 0.0407709926, 0.0109095275, -0.0542099513, -0.0053448365, -0.0410340801, 0.0122244237, -0.0354137868, 0.0266368892, -0.0237886384, 0.0052712942, -0.0016879543, -0.0030849017, -0.0357258245, 0.0160754435, -0.0074612889, -0.0409626365, 0.0660625622, -0.0022753468, 0.0016951197, -0.0126148239, 0.0251591839, -0.0391151942, 0.0287877023, 0.009493758, -0.0125262886, 0.005799436, 0.0310736243, 0.0520105921, 0.0050775316, 0.037867412, -0.0191268492, 0.02808607, -0.030630013, 0.0301493108, 0.0090128426, 0.025296649, 0.0098256571, -0.0177934151, 0.0198502671, 0.0589306206, 0.0743724331, -0.094249852, 0.0197389908, 0.0453504957, 0.0066970722, 0.0019952341, 0.0620804913, -0.0857943818, 0.0309930556, -0.0523674339, -0.0458167903, 0.0037515343, 0.0123569639, -0.0373733677, -0.0108862463, 0.0199920479, 0.0038773022, 0.0181210954, 0.0069574374, 0.003935467, 0.0127541469, 0.0128845898, -0.0063869166, 0.0291354358, -0.0565768592, 0.0097404988, -0.0911425054, -0.0025519615, 0.0528051592, 0.0237540342, -0.0515543632, -0.0174792688, 0.0102044633, -0.0048220973, 0.0527753867, 0.0603615418, -0.0069056042, -0.0265813507, 0.0174487773, 0.0023523653, -0.0059792348, 0.0218043979, 0.0154632041, -0.0180845466, -0.0086489925, -0.0142590962, -0.0387723893, -0.0072613838, 0.0235685129, -0.0357076339, -0.0477712937, -0.087327905, 0.0451533981, 0.0208758619, -0.0005274512, 0.0282233339, -0.007489996, 0.0282160901, 0.0164646022, -0.0235036593, 0.0422681272, -0.0593568571, -0.0247432441, 0.0239711516, -0.0332584716, -0.0482627712, 0.0310242381, -0.0017768493, -0.0411469005, 0.0631582737, -0.0255508833, 0.0755966455, -0.0051388131, 0.0265133735, -0.0342151113, -0.0108404821, 0.0318964422, 0.0410292596, -0.0505198501, -0.0089825941, 0.0145719619, -0.0526911095, -0.0187228378, -0.0092366505, -0.030584354, -0.0321407057, 0.0111529753, 0.0016345044, -0.0109646283, -0.0215043668, -0.0663151219, -0.0137007022, -0.0757943839, -0.0520678423, 0.0155733312, 0.0034260158, -0.009034628, -0.0115448991, -0.0156944133, 0.0010455204, -0.022805782, 0.0353622176, 0.0105473557, 0.0099522276, 0.0305892862, 0.0124230841, -0.0228549484, -0.0108382069, 0.0316970311, -0.0536853336, 0.0390800014, 0.0009897834, 0.0058321119, -0.0146189509, 0.0148910731, -0.0394597091, 0.0603271909, -0.0387135409, -0.0247977506, 0.0152557604, 0.0118319681, 0.0287099611, 0.086961925, -0.0076662414, 0.0544546433, 0.061494939, 0.0045640841, -0.0511666723, 0.0256721117, 0.039879445, -0.0382291675, -0.0245618653, -0.0498123094, -0.0205245148, 0.0539601482, 0.0309207123, -0.0122700427, -0.0804821625, 0.0881524757, -0.0102787055, -0.0707658678, 0.0448544659, -0.0318497308, -0.0068581724, 0.0524402112, 0.0017737062, -0.0411863811, 0.1203149632, 0.0066151889, -0.0090471217, 0.0223052111, 0.0367040262, 0.0116725778, 0.0434964001, 0.0188701041, 0.0328823775, 0.0353412628, 0.0067901141, -0.0973877907, -0.0149739226, 0.0087904641, -0.0279683191, -0.0049131298, -0.0580236502, -0.02803877, 0.0217319019, -0.0213594753, -0.0543320365, 0.0041082422, -0.042421408, -0.0274004042, -0.0385794081, -0.0081825443, -0.0195420217, -0.083046481, 0.0331361592, -0.0318413042, -0.0110327052, -0.0383172072, -0.0162832942, -0.0321416296, 0.0312558897, -0.0009246633, 0.0262216181, -0.0310948994, 0.0724536926, 0.0454302356, 0.0410233587, 0.0306501035, 0.0194552746, 0.0005968454, 0.0272463672, 0.033008527, -0.0218840744, 0.0498441048, 0.0651643351, -0.0134083126, -0.0080922572, 0.0935167298, 0.0317372382, -0.0290165264, 0.0055583748, -0.0553417429, 0.0119388187, 0.0184992962, 0.0116455965, -0.0639468357, -0.0003534813, -0.0035905985, 0.0248817615, -0.0638376698, -0.0837195441, -0.0073315795, -0.0793814361, 0.0085152788, -0.0069505433, 0.0112755839, 0.0025799219, -0.010329579, 0.0316289812, 0.0285064038, -0.0060041049, 0.0100892382, -0.001143866, 0.0438358672, -0.0053249868, 0.018273836, -0.0394263752, 0.0308072437, -0.0250597503, 0.0865295827, 0.0227887332, 0.0365388729, -0.0018502047, -0.0476249605, -0.019735055, 0.0394582078, 0.0271355174, -0.0107432604, 0.037098363, -0.0340038314, 0.0173622314, -0.0214862376, 0.0600953922, -0.0000953015, -0.0188848656, 0.018497942, 0.1207531095, -0.029890744, -0.0138266785, 0.0187292304, 0.0121414941, 0.0087255351, 0.0634047836, 0.0240581576, -0.0726993755, 0.0335481055, -0.0161504801, -0.0094047906, 0.0663768277, -0.0391590334, 0.0336672254, 0.044272244, -0.03513515, -0.0519574471, -0.053734567, 0.0179491695, 0.0019553043, 0.0404412597, -0.0213516075, 0.0146114836, 0.0193732008, -0.0087967785, 0.0094362702, -0.0494713746, -0.0301560685, -0.0221218355, -0.0101567479, 0.01044551, -0.0924411863, 0.0275023244, -0.023957042, 0.0115269125, -0.0576340668, 0.0046469634, 0.0768432617, 0.0304985177, 0.0472435169, 0.0182251427, -0.0340815187, 0.0476056002, 0.0025379614, -0.0070971693, 0.0445310324, 0.0402957648, 0.048095841, 0.0074815927, 0.0692175329, -0.0191137828, -0.015720237, 0.0224748608, -0.0178157501, 0.0040759081, -0.0091563845, 0.0443842225, 0.0221675988, 0.06702362, -0.0126827946, 0.0343843251, -0.0202012006, -0.0176420361, -0.0013919844, -0.0355929621, -0.0270908698, -0.0265384428, 0.0342160948, 0.0592243932, 0.0101442961, -0.0717505068, -0.0217519607, 0.0033394205, 0.0053415298, 0.0311134588, 0.010872798, 0.0465804897, 0.0192948394, 0.0267564021, 0.0060938611, -0.004581973, -0.0044243443, 0.0236290414, 0.0164784882, 0.1224492863, 0.0421736948, -0.0223345309, -0.018769512, 0.0232240651, -0.0609926432, -0.061971467, 0.0297544282, 0.017273495, -0.0207050443, -0.0059179645, -0.0236659069, -0.0582107715, 0.0416183583, 0.0310108941, 0.0143529857, 0.015026846, -0.0622249842, 0.0096634934, -0.0141894724, 0.002411559, 0.0198601745, 0.0395434462, -0.0740247071, 0.0581446066, -0.0258312039, 0.0018872183, -0.0341097042, 0.0208079945, 0.0274228714, 0.0274778996, -0.0185474958, 0.027787203, -0.096445106, -0.03157207, 0.0039903596, 0.0271995161, -0.0049082534, -0.0559474267, 0.027010683, 0.0500864238, -0.0155457053, -0.04759546, -0.0069996254, -0.0036992826, -0.0213144012, -0.0000111997, -0.0275553316, -6.179806697e-33, -0.0368764773, -0.0430639572, -0.0028762494, 0.0717041641, -0.0046842173, -0.0267818645, -0.0410847068, 0.0267768223, -0.0155148208, 0.0014461227, -0.0333497487, 0.0091437614, -0.0089212535, -0.0073974421, 0.0319868401, -0.0007218362, 0.0243871305, -0.0276625399, -0.0353375599, -0.0014435062, 0.0074400399, -0.0153918155, 0.0200419854, -0.0509122722, 0.0579118021, -0.0076180277, 0.0032770832, 0.0237919018, -0.0340075456, -0.0140929306, -0.0216398221, 0.0458468534, 0.0210040919, -0.0024782224, -0.0053679897, 0.022883134, 0.0014791066, -0.0753668696, 0.0340195559, -0.0263817236, -0.0200845879, -0.0365619436, -0.0359642655, -0.0243622307, -0.0521455444, 0.0327156149, 0.0405827463, 0.0108098434, 0.0572794378, 0.0507811531, -0.0505898073, -0.0601833761, -0.0113257188, -0.0327776857, 0.0343713798, 0.010821675, -0.0000513705, -0.069794789, -0.0276481733, 0.0505337901, 0.0133471573, -0.0284216553, 0.0526607744, -0.0021504604, 0.0091670984, 0.0625682622, 0.0739044547, 0.0414206758, -0.020599531, -0.0280848313, 0.0290950779, 0.0118583916, 0.014070753, 0.0233296603, -0.024235921, -0.0223741345, 0.008732046, 0.0268303212, 0.0261836257, 0.0215191338, 0.0194483642, -0.017492421, -0.0446787514, -0.0179092884, -0.0538046174, -0.0624281131, -0.0186189655, -0.0021227251, -0.0004059839, -0.0130982921, -0.0268653333, -0.062099468, -0.0016204093, -0.050640773, -0.0056102262, -0.025356641, 0.006325501, 0.0210210662, -0.023076389, 0.0104251625, -0.028533943, -0.050564263, -0.0104978569, -0.0148623278, 0.042922359, 0.0342483222, 0.0174996462, 0.0208683908, -0.0327581577, -0.0121230558, -0.0457732826, 0.0288611259, 0.0371082388, -0.0739784017, 0.0329307131, -0.0035999396, -0.0308477096, -0.0367018655, 0.0276858639, -0.0077970191, -0.0946135819, 0.0476644784, -0.0537971966, -0.0292923711, -0.0613488033, -0.0080783218, -0.0411687046, 0.0149108134, 0.0360834412, -0.0415271632, -0.0062693767, -0.0068279319, 3.014e-7, -0.04595479, 0.0594304204, -0.0259084832, -0.0337335169, 0.0254369453, 0.0728860572, -0.0347284935, 0.0441913418, 0.0277605895, -0.0440755896, 0.0023653086, 0.0253528506, 0.0388231426, 0.0254511926, -0.0571256503, 0.0091413576, 0.0449849367, -0.0333286561, -0.0055383476, 0.0282651763, 0.0347838104, 0.0029672249, 0.0504290685, 0.0036899436, -0.0032091865, 0.0083323643, 0.0171182044, -0.0278436728, 0.0376787558, -0.0227533802, 0.0130688809, 0.011800589, 0.0248329975, 0.0798094645, 0.0191786028, 0.0447115935, -0.0508974083, -0.0057211895, -0.0150801949, 0.013424322, -0.0137164928, 0.0146882739, -0.0239198711, -0.0263861381, 0.0191154238, -0.0590228178, -0.0362093523, 0.0418822765, 0.0117740501, -0.0047238604, -0.0318757854, 0.0171401072, -0.0216879863, 0.0146998847, -0.0072803944, -0.0081456164, 0.033478193, -0.0414430313, 0.0051382217, -0.0092031723, 0.0030370448, -0.0986627415, 0.0043937424, 0.0130343856, 0.0013936831, -0.0903241932, 0.0166590959, 2.402285714e-34, -0.0296938289, -0.003625246, 0.0576756783, -0.0342814326, 0.0529604889, -0.0248395167, -0.0168265067, 0.0301103629, 0.0755609125, -0.0727555454, -0.0276710596 ]
http://arxiv.org/abs/2310.06977v1
http://arxiv.org/pdf/2310.06977v1
Why bother with geometry? On the relevance of linear decompositions of Transformer embeddings
2023-10-10T19:56:10
2023-10-10T19:56:10
Timothee Mickus, Raúl Vázquez
cs.CL
cs.CL
A recent body of work has demonstrated that Transformer embeddings can be linearly decomposed into well-defined sums of factors, that can in turn be related to specific network inputs or components. There is however still a dearth of work studying whether these mathematical reformulations are empirically meaningful. In the present work, we study representations from machine-translation decoders using two of such embedding decomposition methods. Our results indicate that, while decomposition-derived indicators effectively correlate with model performance, variation across different runs suggests a more nuanced take on this question. The high variability of our measurements indicate that geometry reflects model-specific characteristics more than it does sentence-specific computations, and that similar training conditions do not guarantee similar vector spaces.
[ -0.0373924561, 0.049667418, -0.0099205384, 0.0696272776, -0.0019624776, 0.0441553667, 0.025924664, -0.020631548, -0.0650813878, -0.0232520103, -0.0250187926, 0.0001623439, 0.0487613045, -0.0021330682, 0.0350083187, -0.0490972772, -0.0162229426, 0.0132192858, -0.0516647622, 0.0039373925, -0.0182099659, -0.0017371729, 0.0100547895, 0.078056328, 0.0257824231, 0.0011372801, -0.005245069, -0.01608756, 0.0217093229, 0.0263272077, -0.0408356898, 0.0097316941, 0.0415297225, 0.0700873509, 0.0000016718, 0.0308309384, -0.0142477304, -0.0031253102, -0.017717788, 0.0300522503, 0.0175400991, -0.1006933898, -0.0435258597, -0.0090310937, -0.0182554591, -0.0655465871, 0.0507830866, 0.0390700437, 0.0150916167, 0.0705042705, -0.0239135977, -0.0572209321, 0.0082705235, -0.0234857015, -0.0261430722, 0.0016776132, -0.029038107, -0.0359183401, -0.0762859434, 0.0179555658, -0.0689208433, 0.054426413, 0.0602097698, 0.0416241027, 0.0008225284, 0.0364458263, -0.0304039121, 0.014874313, 0.0009760368, 0.0290039536, -0.0229583904, -0.0051920903, -0.0447138846, 0.0154788271, -0.0002330658, -0.0143448338, -0.0399436057, 0.0105805919, 0.0282588433, 0.0342026837, -0.0259608254, 0.0388274714, 0.0382875986, -0.0485918373, -0.0665835664, -0.0146904225, 0.0359013379, -0.0498713702, -0.0397436284, 0.0480074957, -0.0028960991, 0.0309309438, 0.0049514771, -0.013548349, 0.0497579239, -0.0080656633, 0.0098719709, -0.0470961295, -0.0249216706, -0.0236309841, 0.0670691431, 0.0670053065, 0.0069472217, -0.0120607475, -0.0357374586, 0.1103091389, -0.0641988069, 0.0583587661, -0.0722055286, 0.0191224143, -0.0123118134, -0.038259156, -0.0348364972, -0.0033110364, -0.0136928624, -0.0173656996, -0.0423749797, 0.0482477508, 0.0107779372, -0.0034530642, 0.0157591105, 0.0046281102, -0.0333141051, 0.0218836032, 0.033037398, 0.0766787603, 0.0000965009, -0.0077705015, -0.0108801657, -0.0298767872, -0.034671329, 0.0090824049, -0.0012207859, -0.0136806155, -0.0178911239, 0.045805864, -0.0122752339, -0.0689884946, 0.0221575182, 0.0016929242, -0.0479980782, -0.0337630883, 0.0406216942, -0.0364523903, 0.0487618148, 0.0173602104, 0.0106521314, -0.0095028868, -0.0384407714, -0.0032565349, 0.0326494873, 0.0566364527, 0.0712471083, -0.0207464341, 0.0084013306, 0.0047748601, 0.0081671588, 0.0623132624, 0.0269587114, 0.0606790036, 0.0124141481, -0.0402456969, -0.0024310029, 0.0450826362, 0.0128406845, 0.008936571, -0.0358027369, -0.050612174, 0.0049991221, 0.0253489465, 0.0404745303, 0.0283402, -0.0587918609, -0.0090321107, 0.0561714545, 0.0778746679, 0.0577328466, 0.0513865128, 0.064457126, -0.0063124117, 0.0002980712, 0.059330076, -0.0291181598, -0.0019501029, 0.0228856578, 0.0094950348, -0.0132496273, 0.054004997, -0.0409500338, -0.0380985141, 0.0099020069, -0.0330246501, 0.0350407548, -0.0502980016, 0.0575060397, 0.017480744, -0.0429974236, 0.0648822486, -0.0233581718, -0.0678654909, -0.0064889067, 0.0036015906, -0.0416955166, -0.0136650251, 0.0228324085, 0.0559839159, 0.0270032268, -0.0033698734, -0.0114534516, 0.0041524144, 0.0302225035, -0.0070659234, 0.0275727287, -0.0385193489, -0.0363975875, 0.019228017, 0.056792818, 0.0145377927, -0.0224062614, -0.0385053083, 0.030197395, -0.0507024005, -0.0015077651, 0.0334054418, 0.0098633561, -0.032383848, 0.0032548408, 0.0577353723, 0.0115136476, 0.0273467973, 0.0067116013, 0.0162869189, 0.0355184339, -0.0648627505, -0.01249367, 0.0560433865, -0.0506701656, -0.0568179712, 0.0051410752, -0.0642782822, 0.0201569926, 0.0556715578, -0.0094230641, -0.0168636404, 0.0225302409, -0.0631143004, 0.0374342464, -0.0320269391, 0.0127304401, -0.0366199203, 0.0204134192, -0.0247284826, 0.023266403, -0.0283811614, 0.0417703576, 0.0088068014, -0.0471517295, 0.0313687623, -0.0164823346, -0.0362541452, 0.0260643661, -0.0032427334, 0.041446548, 0.0027788898, -0.025583243, 0.0399515033, -0.0631271675, -0.0477134846, -0.0390356705, -0.0401201323, 0.0434970371, 0.0327003822, 0.0191275217, 0.0261331946, 0.0137232104, 0.0054652644, -0.0313933827, -0.0076513155, 0.0081169363, 0.0221461002, -0.0180115476, -0.0378441811, 0.0174181499, -0.0340901949, -0.0179027598, 0.1028463468, -0.0333634093, 0.0080399485, -0.0651742369, 0.0130778672, 0.0295012202, -0.0140483659, -0.0304518212, -0.0900777578, 0.0356369726, 0.0098982323, 0.0459735878, 0.0666602924, -0.005134142, 0.0634597465, 0.0406293087, 0.0404130854, -0.021501366, -0.0246843118, -0.0559206046, -0.0106706461, -0.082508266, -0.0379422791, 0.0284796041, 0.08365421, 0.0112390602, 0.0099481968, -0.0777909905, -0.0158057883, -0.0266696513, -0.0001624014, -0.015007331, -0.0000352123, -0.0114945928, 0.0317196585, -0.012674557, -0.067614466, 0.0552571379, -0.0435717776, -0.0287552327, -0.0382843651, -0.0223241076, -0.0479412116, 0.035470251, 0.0080852211, 0.033151567, -0.0261050686, -0.0324910171, -0.0322542414, 0.0232741665, -0.0065983315, -0.0181726925, 0.0506112352, 0.0261967443, -0.0566055663, -0.0250595119, -0.0240809601, -0.005851578, -0.0040041641, -0.0013964697, 0.0023238773, 0.0309729837, -0.0296906494, -0.0418029614, 0.0108481413, 0.0169404354, 0.0142082702, -0.0052706362, -0.0073355292, -0.0218113475, 0.0327551477, -0.0066618924, 0.0242587049, 0.0284623522, -0.0305968653, 0.0205271859, 0.0171493813, -0.0085959043, 0.0329109579, -0.0664211586, 0.0251969174, 0.019141864, 0.0233216975, -0.0098275645, 0.0095568933, 0.021705607, -0.0232093111, -0.0399627201, 0.0910233185, 0.0203736555, -0.0541259646, 0.0123417201, 0.0156708285, 0.0313921534, 0.0229670051, -0.0066639306, -0.0532787479, 0.0095327999, -0.0148213934, 0.0177972019, 0.0584106818, 0.0313844569, 0.0115185492, -0.061744418, 0.0334851258, 0.0455269292, -0.0344239622, -0.0914357305, -0.0332383104, -0.0567553639, -0.0301659685, 0.0390901826, -0.0379156694, -0.0177873336, -0.0163230505, 0.0328278057, -0.0041272654, -0.0611197315, -0.0361288451, -0.0604032241, -0.0266970452, 0.0202032924, 0.0277354922, -0.0032152038, -0.0861662477, -0.0404997244, -0.0141021088, 0.0044887848, 0.0367375128, 0.0234848913, -0.0004414073, -0.0293770488, -0.0086935274, -0.0074040964, -0.0615583099, 0.0046794484, -0.0713374838, 0.0800581127, -0.0324605964, -0.0143240737, 0.0014370254, -0.0231936332, -0.0321916044, 0.0596426427, 0.0653457791, -0.0164439809, -0.0223365389, -0.0217885412, 0.0564900413, 0.0003013401, -0.0708071142, 0.0291329063, 0.0349358246, -0.0568343066, -0.0543743297, -0.025125308, 0.0101103727, 0.0484595001, -0.0113350097, -0.0296752714, 0.0006440364, -0.0331218615, -0.0371199325, 0.0329845548, 0.0024935754, 0.0155969607, -0.0070472956, 0.0533199124, 0.0082338043, -0.0092916684, -0.0192381181, -0.0274153762, -0.0950595215, -0.0408270359, 0.0154704992, 0.0058396356, 0.0176067259, 0.0182006191, -0.0109469192, -0.0115171662, 0.0338986591, -0.0048014671, -0.022217026, 0.0434435345, 0.0669978634, -0.0277652312, -0.0182622466, 0.0279817302, -0.0004068891, 0.0035897014, -0.0175935086, 0.0121713588, -0.0080675343, -0.0439568758, 0.0237138662, -0.0229009259, 0.0514991283, -0.0123476908, 0.0093961069, 0.0023125394, 0.0133125763, -0.0140973786, 0.0156752113, -0.0340924822, -0.0598900877, 0.0691037923, 0.0207213536, -0.0132156769, 0.0322386324, 0.0010846908, 0.0440912358, -0.0152420914, 0.025434861, -0.0000531129, -0.0119771687, 0.0083534755, 0.0572897568, -0.0025032798, -0.0068811174, -0.0185353272, -0.0156919789, -0.0179586392, 0.0018639894, -0.0125447502, 0.0445142053, -0.0709057227, 0.0493956134, -0.0658868551, -0.012908089, 0.0073995655, -0.05313503, 0.0426496752, -0.0251834895, 0.0515105985, -0.0079217367, -0.0222559627, -0.004582251, 0.017065905, -0.0198072605, 0.0067046527, 0.0639549717, -0.0081842821, -0.0127827451, -0.0304071233, 0.0334654674, -0.0342247784, 0.0203396175, -0.0155152511, -0.0090024741, -0.0310015064, -0.0244625136, 0.0027861265, 0.005759011, -0.0508037433, -0.0492478758, -0.0573645681, -0.0603661314, 0.0095860194, -0.0073090326, 0.0081754308, -0.0053294273, -0.0011382343, 0.0622721203, -0.0398763418, 0.0048366236, 0.0168162491, -0.0200635716, -0.0038850163, -0.0274543352, -0.029137535, -5.324188604e-33, 0.0082003847, 0.0202598106, 0.0004920571, -0.0298737604, -0.0184937827, 0.0381344967, -0.002095768, 0.0167080145, -0.0202045124, 0.0134498756, 0.0020405173, 0.0183435455, 0.0106984368, 0.0322307236, -0.0194912516, -0.0055323527, 0.0624490939, -0.0050750338, -0.0382417962, -0.01877122, 0.0241428949, 0.0073219105, 0.0619658753, -0.0441240817, 0.0062891738, -0.0134946639, 0.010124146, 0.0079519069, 0.0393034145, 0.0749543682, -0.0469931848, 0.0425386466, 0.0360663794, -0.0458696224, -0.0332587808, 0.0227258373, -0.0566154085, 0.0172664933, -0.0112865483, 0.0518673137, -0.0336038694, -0.0570241958, 0.041407086, -0.0297840908, -0.0414185971, -0.049990207, 0.0009053469, 0.008301435, -0.0380137451, 0.0100760031, -0.037500225, -0.0157895591, -0.019510366, -0.007662728, 0.0751053467, 0.0186668839, -0.0084483018, 0.0386194214, -0.0674179867, 0.010306336, -0.0205934159, 0.042477455, 0.052001711, -0.0129185254, -0.0021623769, 0.0340663008, 0.0608947389, -0.0345535167, -0.031808529, -0.0307498518, 0.0669687912, 0.0019479807, 0.0567046106, 0.0057308697, 0.0517196916, -0.0059117563, -0.0220694076, 0.0190636422, -0.0476943254, 0.0310171582, 0.0328717083, 0.0194715466, -0.0268998891, -0.0117472718, -0.0103536127, -0.0581681468, -0.004328989, -0.0218192227, 0.0155157344, 0.0247584265, -0.023691237, -0.0165443011, 0.0438865088, -0.062080279, 0.035485357, 0.0525867008, -0.0136459377, 0.0562653951, 0.0070094978, 0.0163388234, -0.0027962287, 0.0065262867, 0.0267421175, 0.0203394722, 0.0184235238, -0.0281975474, 0.0554547757, 0.048914507, -0.0382877216, -0.0141295902, -0.0310669802, -0.0585549287, -0.021343641, 0.0767979026, 0.044321727, 0.020671729, -0.0270313472, -0.0013515875, -0.0217250846, 0.035599947, -0.0141494274, 0.0450120047, 0.0344484337, 0.0524243824, -0.0116887074, -0.0081519149, -0.028578978, 0.0708115473, 0.1072073579, -0.0596835427, -0.0460600369, 0.0006802253, 2.383e-7, 0.0779199004, 0.0257301349, 0.0593634024, 0.004425765, 0.025361402, 0.0252649151, -0.0307388976, 0.0417107642, -0.0034530151, 0.0269282591, 0.0196539108, 0.0235974938, 0.0358869657, 0.0059176553, -0.0588182099, 0.006405306, -0.0504809022, 0.0216731112, -0.0325123444, 0.0085400781, 0.0499061979, 0.0924926028, -0.0267904308, 0.0009456002, -0.0026480239, 0.01652316, 0.0439350307, -0.0417023785, 0.0224411767, -0.0209542606, 0.008854216, 0.0131659051, 0.005485706, -0.0277966335, 0.0020696677, 0.0338229463, 0.0379700996, 0.039249856, 0.0139257647, -0.0138684763, -0.0082179829, -0.0383739136, -0.0289427824, -0.0202258099, 0.0129086636, -0.0754940212, -0.0314682387, -0.0201196466, -0.0285392068, 0.0376748256, 0.0491240695, -0.0105477124, 0.0075863511, 0.021855399, 0.042167481, -0.015105417, 0.0321034454, -0.0507039502, -0.0179444086, 0.0010419703, -0.0418971777, -0.0333582535, -0.0525685251, -0.0079103569, 0.1043629795, -0.0246243011, -0.0213231035, 2.345274697e-34, -0.0073431488, 0.0232655685, 0.049641557, 0.0436405949, 0.0068965917, -0.0566341095, 0.0382791348, -0.0307309907, -0.0011041234, -0.0731077418, 0.0004217697 ]
http://arxiv.org/abs/2310.06960v1
http://arxiv.org/pdf/2310.06960v1
Jaynes Machine: The universal microstructure of deep neural networks
2023-10-10T19:22:01
2023-10-10T19:22:01
Venkat Venkatasubramanian, N. Sanjeevrajan, Manasi Khandekar
cond-mat.stat-mech
cond-mat.stat-mech, cs.CL
We present a novel theory of the microstructure of deep neural networks. Using a theoretical framework called statistical teleodynamics, which is a conceptual synthesis of statistical thermodynamics and potential game theory, we predict that all highly connected layers of deep neural networks have a universal microstructure of connection strengths that is distributed lognormally ($LN({\mu}, {\sigma})$). Furthermore, under ideal conditions, the theory predicts that ${\mu}$ and ${\sigma}$ are the same for all layers in all networks. This is shown to be the result of an arbitrage equilibrium where all connections compete and contribute the same effective utility towards the minimization of the overall loss function. These surprising predictions are shown to be supported by empirical data from six large-scale deep neural networks in real life. We also discuss how these results can be exploited to reduce the amount of data, time, and computational resources needed to train large deep neural networks.
[ -0.0280683301, 0.0161219556, -0.0445670374, 0.0432291739, -0.0260618888, -0.0087330975, 0.0232332963, -0.0160978194, -0.0272337236, 0.0376526266, -0.0503991432, -0.0084287645, -0.0030268154, 0.0134071065, 0.040450044, -0.0331635289, 0.000876298, 0.0309386235, -0.0131847942, -0.0678571314, -0.0123785883, -0.0656525791, -0.0300186612, -0.0152671868, 0.0108277658, 0.0061578625, 0.0241165459, 0.004368857, 0.0529599898, -0.0175345056, -0.0239914712, -0.0394507349, -0.0303874332, 0.0373670273, 0.000001827, -0.0250659455, 0.0269718263, 0.0238202382, -0.0125820711, -0.0127949435, -0.0217015855, -0.0103077814, -0.0415453911, -0.018322587, 0.0119366525, -0.0316952094, 0.0900395736, 0.0303280186, -0.0136409951, 0.0447384417, -0.0172491577, -0.0122691477, 0.0644457266, -0.0401526019, -0.0305681974, -0.0321758129, -0.0146553144, 0.0158858877, -0.0160663836, -0.0358487107, -0.0028327187, 0.037740048, 0.043771036, 0.0316647217, 0.0033484052, 0.0571375974, 0.0097130341, 0.0186394248, 0.029293621, 0.0541009493, -0.0110716904, 0.0310763288, 0.0102849528, -0.0171399377, 0.0077500744, 0.0154988263, -0.0258872882, 0.0145348497, 0.0443961173, 0.0109973606, -0.0383221656, 0.0663858876, 0.0848943368, 0.0467946082, -0.0063646534, 0.005028083, 0.0062990007, 0.0085023539, -0.0158716943, 0.0146569014, -0.025672907, -0.0240708068, -0.0057777567, -0.0001411469, 0.0200757999, -0.037032932, -0.0507293008, -0.0140779195, -0.0325332731, -0.0462704711, -0.0049327598, -0.0277729966, 0.0671362355, 0.0650734529, -0.0039980905, -0.0211948026, -0.0333667062, -0.0409686454, -0.0242618434, -0.0044244179, -0.0116856899, -0.0163482502, 0.0247823354, 0.0601679496, 0.0297394041, -0.0237602368, -0.039523866, 0.0555625223, -0.06750305, -0.0164066516, -0.05704863, 0.0319773816, 0.0339950621, -0.0152775254, -0.0111409659, -0.0153771024, -0.0003133093, 0.0519971624, 0.0129475668, -0.0044948338, 0.0037327094, -0.012118117, 0.0127149774, 0.0054401113, 0.0152589781, 0.0816917345, -0.0193725415, 0.0206221752, -0.0070891315, -0.0005951847, -0.0054521151, -0.0100969952, 0.0229559578, -0.0018590067, 0.0033945506, -0.0150422808, 0.0182541031, -0.0142337922, -0.0411267243, -0.0658200681, -0.0467368588, 0.0533715114, 0.0364975035, -0.031491328, 0.0512722395, -0.0163853131, 0.0302989129, 0.0490229279, 0.0651066601, 0.0477143526, 0.043083664, -0.0109843249, -0.0005019779, 0.0476529822, 0.0165002178, 0.0053921053, -0.0217343494, -0.0336749293, -0.0337894931, 0.0491773784, 0.0108324857, 0.0263839625, -0.0542414859, -0.0721985996, 0.0438072905, 0.0563544333, 0.0410757512, 0.0800479874, -0.023674015, -0.0285552982, 0.0267547332, 0.0217996426, -0.0314331576, 0.0523388833, -0.0360089354, -0.0437373631, 0.0407755747, -0.031292811, -0.06695766, -0.0367425308, 0.0209482647, -0.0079362718, -0.0481566526, 0.0049537574, 0.0268280581, -0.0705086812, 0.0132531645, 0.0035085685, -0.0217587426, 0.0310006086, 0.0035036004, -0.0357746817, -0.0350425504, 0.0088691432, -0.007723718, 0.0185940433, -0.0378992893, 0.0366937853, -0.0441173576, -0.0179434605, 0.015596306, 0.0096628126, 0.0252101254, -0.0323552564, 0.0133842807, -0.0291129667, -0.0122025479, 0.0184771027, -0.0642317608, 0.014872265, 0.0035381333, 0.0182798542, -0.0045374697, -0.0236238688, -0.0371740721, -0.0254256446, 0.0506354906, 0.0359513871, 0.0688649565, -0.0224793833, -0.0403256714, -0.002913154, 0.0000524746, -0.0676509067, -0.0137263425, 0.0111384168, -0.0140263978, 0.0511585884, -0.0313168578, -0.0517916493, 0.043963775, 0.0136585878, 0.0165085569, -0.0520930998, 0.0531441756, 0.0117784161, 0.0414750651, -0.0078326855, -0.0457291231, 0.0111117586, 0.0368233919, 0.0084539391, -0.0530772507, -0.0110909417, -0.0395656563, -0.0042684237, 0.0002616807, 0.0258839671, -0.0613653585, -0.0018590377, -0.0381330848, -0.0126936194, -0.0062516499, 0.0091774268, -0.0401944518, 0.0955948383, -0.0265761595, -0.0214352589, -0.0254841018, -0.0099328747, 0.0315459855, -0.0225385856, -0.003855787, -0.0057485909, 0.0426498987, 0.0113793463, 0.0636205152, 0.0254561976, -0.0176558495, 0.0350786038, -0.031137228, 0.0289748292, -0.0208521336, -0.0778498501, 0.0056054457, 0.0648656711, 0.0427207537, 0.0567970872, -0.0080458904, 0.0310962256, 0.0179395191, 0.0268694274, -0.0288555678, -0.0528465994, -0.0250397213, -0.0283544008, 0.0020066209, 0.0844202936, 0.0016328749, -0.0107230656, 0.0155721121, 0.008325452, 0.0203012861, 0.0220049899, 0.0058698328, 0.0106736599, -0.0697562322, -0.0249407925, -0.0023814577, 0.0278149098, -0.0134240547, 0.0016875246, -0.0047016214, 0.0167102907, 0.0040771496, -0.0524307378, -0.0123347593, 0.0245033316, -0.0034923526, -0.0011279895, -0.0007984662, -0.0265881326, 0.0583439916, -0.0125715034, 0.0412926897, 0.0046594851, -0.0407633074, 0.0055197072, 0.0771308392, 0.0475811511, 0.0169348065, -0.0318319984, -0.0108759282, -0.0654040053, -0.0440188311, 0.0061546764, 0.0384273939, 0.0095184213, -0.0058322977, 0.0170275755, -0.0465849824, -0.0499144308, 0.0185529795, 0.003684171, -0.0481742322, 0.0347017199, 0.0411912613, -0.0394681133, -0.0134516908, -0.0373860821, 0.0316026509, 0.0130199436, 0.0188028924, -0.0314028002, 0.0000919823, 0.0775892213, 0.0415246412, 0.0139958868, 0.0074312575, 0.0038003684, 0.0360583924, -0.0341821164, -0.0318390504, 0.0585670248, -0.0876027271, -0.0199410692, 0.0003500501, 0.0118483491, -0.0239833947, -0.0146149443, 0.0115627684, -0.0137087172, 0.0324347205, 0.0252442062, -0.0680561289, -0.0393458754, -0.0156139405, 0.0496831052, -0.0021598425, -0.0242084097, 0.0076070419, -0.0336090513, -0.0361895226, 0.0151220141, 0.0018956923, -0.0047614835, -0.0246317405, 0.0014449008, -0.037330348, -0.032786686, -0.0233319402, -0.0277446304, -0.0159242805, 0.0084841745, -0.0555909574, -0.0918242186, 0.0303564388, -0.0136631504, 0.0161242671, -0.0114189908, 0.0072471565, -0.0125548113, 0.0232352261, 0.0169065446, -0.0791568458, 0.0391905047, 0.0422486626, 0.0015620034, -0.1056382433, -0.0183513314, 0.00481294, 0.0219047312, 0.0068296432, 0.0272872243, 0.0356350951, 0.0263201147, -0.0365558304, -0.0337272994, -0.00355616, 0.0344683304, 0.043687176, 0.0335232057, -0.0258656722, -0.0048541445, -0.0256417952, -0.0172443036, -0.0343455561, -0.0071167857, 0.0452720933, -0.0342356488, -0.0187628064, -0.0866684169, -0.0310402066, 0.0140019935, -0.0344258063, 0.0027214568, -0.0155569306, 0.0355486833, -0.0317522399, -0.0016649769, 0.0348403044, -0.0648234263, 0.0575681627, 0.0112143373, -0.0674282536, 0.0435371958, 0.062198855, -0.0254272837, -0.0364012495, 0.0231036581, -0.0147306388, -0.027329972, 0.0318697542, 0.0554510914, -0.0790256485, -0.0083928257, -0.0341812111, -0.0152598834, -0.0366915911, -0.0394257717, 0.0486451797, 0.0072146845, 0.0202616267, 0.0110496487, -0.0707361847, 0.0709865689, 0.0782650933, -0.0545207597, 0.0254273526, 0.0815540627, -0.0046989429, -0.0137473857, 0.0533476733, -0.0165988524, 0.0361768715, 0.0140889427, -0.0127792228, -0.0239191446, 0.0297367256, -0.0465259291, -0.0086256433, 0.0441120267, 0.0097184181, 0.0045380294, 0.0219437331, 0.0144414324, 0.0644659996, 0.028489301, -0.0369913131, -0.0122078853, 0.0312744193, 0.020504389, 0.000354297, -0.0202114265, 0.1101636291, -0.004448419, 0.0067649684, 0.0149714453, 0.0428029895, 0.0153773976, 0.0368057564, 0.0254238043, 0.002622392, 0.0646034777, -0.0152387619, 0.0165592171, -0.0108170286, -0.0203076713, 0.0111856703, -0.0054177893, -0.0540531687, 0.007400739, -0.0777751207, -0.0992450416, 0.0237783175, 0.01485008, 0.0357960127, 0.0287053362, -0.0300333705, -0.0624778159, 0.012294095, 0.0056397924, -0.0240353644, -0.0344341472, 0.0349634588, -0.0024821968, 0.0424911454, -0.0187711399, 0.0410505794, 0.0212636609, 0.0212999303, 0.0246571563, -0.0131446645, 0.0384689905, 0.0344451629, -0.0084482832, 0.0372231863, 0.0459607765, -0.0031796936, -0.0263475087, 0.0044454667, -0.0096769435, -0.0316596851, 0.0187070686, 0.0564668626, -0.0195027143, 0.0158319343, 0.0546067804, -0.0240581371, -0.0108419042, 0.0418237299, 0.0290227588, -0.0153460903, -0.0455845147, 0.0092281429, -6.090004806e-33, 0.0719672441, 0.0236565229, -0.0051849652, 0.0326058678, 0.0358850546, 0.0331309959, 0.0108192824, -0.0196695849, -0.0744677931, -0.0026819687, -0.0422459394, 0.0282635316, 0.0212984309, 0.0347910002, 0.0503993891, -0.0373829119, 0.0333450176, -0.003106548, 0.0769143775, 0.0478103422, -0.027122736, -0.0137986848, 0.0278808866, 0.0470195077, 0.0000274643, -0.0173199736, -0.0164284874, 0.0322744288, 0.0254600514, 0.0254199095, -0.0747197345, 0.0214990061, -0.0283457022, -0.034453515, 0.04457381, -0.0185106304, -0.0353966579, 0.0076086028, -0.0372801051, -0.0240851715, -0.0567398593, -0.0244735572, 0.0679907799, -0.0106407339, -0.020767346, -0.0518884771, 0.0188101158, 0.0241246298, -0.0219748411, -0.0528563634, 0.018950792, 0.010719345, -0.042470023, 0.0132504441, 0.0278162528, -0.0706324056, 0.0015970252, -0.0230289791, -0.0736468136, 0.0334516317, 0.0280850083, 0.0253848322, 0.0030017903, 0.0563314483, 0.0580133386, 0.0612072721, 0.0853267983, 0.0005374332, -0.0386652388, 0.0138371037, -0.0054960242, 0.0400511287, 0.0303206835, -0.0021720771, 0.05651832, -0.0442467257, -0.1024587601, -0.0204172749, 0.0647187755, -0.0029992426, -0.0249852259, -0.009973905, -0.025371911, -0.0267928354, -0.0231112987, -0.0842729136, -0.0048664976, 0.0154067092, -0.0269422382, 0.0118607637, 0.0429767221, -0.0026334175, 0.0195106622, -0.0599324629, 0.0398510285, 0.0169670992, 0.082614094, 0.0224798713, -0.002461999, -0.0215003453, -0.0138623361, -0.0372383371, -0.1098763272, 0.032208439, 0.0009955778, 0.0475430936, 0.0072802217, 0.0245173369, 0.0452128388, -0.022705676, -0.0006157226, -0.0429471917, 0.0370130241, -0.0595295727, 0.0282677207, -0.017865926, 0.0080840643, 0.0311677884, -0.0330873281, 0.0694351345, 0.0112758148, 0.0557619408, -0.0294775944, 0.0103495894, -0.0078474386, 0.0069031757, -0.0540112182, 0.0324550383, 0.0238383785, -0.0870398656, -0.0033060538, -0.0368148759, 2.604e-7, -0.0273890179, -0.0037751344, -0.0330067538, -0.0302589517, 0.0267992802, 0.0489704758, 0.0015079038, -0.0023743066, -0.0091557251, 0.0044235284, 0.0572515912, 0.0171864145, 0.0077169626, 0.036003001, -0.0494074561, -0.0211236943, -0.0203408543, 0.0267038234, 0.0148265343, -0.0427611731, -0.0458078273, 0.0372726843, 0.0349648967, -0.0112109818, 0.0389594808, -0.0638950318, -0.0306943841, -0.0379122347, 0.0873636901, 0.0098754307, 0.0187377185, -0.0253854301, -0.0286467038, -0.0099236583, 0.0103285015, 0.0202259738, -0.0171718523, -0.0091284579, 0.0156897418, -0.0224760789, -0.0340724103, -0.0144187622, -0.0158159453, -0.0066474471, 0.0664329678, -0.0797218457, -0.0770554468, -0.0334828608, 0.0200411472, 0.0014303925, 0.0464688726, 0.0038522917, 0.0034691689, -0.0081341285, -0.0377963111, -0.0438509248, 0.0332401171, -0.0513941385, 0.0353187956, 0.0803882778, -0.0130227869, -0.034463767, -0.0456644222, -0.0205813702, 0.1094359681, 0.0430556387, 0.0047885119, 1.847282944e-34, 0.0337757878, -0.0370953754, 0.0325778797, -0.0368438587, -0.0040579177, 0.0140577657, -0.0508136787, -0.0162104815, 0.0532826446, -0.0534429699, -0.0566211268 ]
http://arxiv.org/abs/2310.10675v1
http://arxiv.org/pdf/2310.10675v1
Creation Of A ChatBot Based On Natural Language Proccesing For Whatsapp
2023-10-10T18:54:15
2023-10-10T18:54:15
Valderrama Jonatan, Aguilar-Alonso Igor
cs.CL
cs.CL
In the era of digital transformation, customer service is of paramount importance to the success of organizations, and to meet the growing demand for immediate responses and personalized assistance 24 hours a day, chatbots have become a promising tool to solve these problems. Currently, there are many companies that need to provide these solutions to their customers, which motivates us to study this problem and offer a suitable solution. The objective of this study is to develop a chatbot based on natural language processing to improve customer satisfaction and improve the quality of service provided by the company through WhatsApp. The solution focuses on creating a chatbot that efficiently and effectively handles user queries. A literature review related to existing chatbots has been conducted, analyzing methodological approaches, artificial intelligence techniques and quality attributes used in the implementation of chatbots. The results found highlight that chatbots based on natural language processing enable fast and accurate responses, which improves the efficiency of customer service, as chatbots contribute to customer satisfaction by providing accurate answers and quick solutions to their queries at any time. Some authors point out that artificial intelligence techniques, such as machine learning, improve the learning and adaptability of chatbots as user interactions occur, so a good choice of appropriate natural language understanding technologies is essential for optimal chatbot performance. The results of this study will provide a solid foundation for the design and development of effective chatbots for customer service, ensuring a satisfactory user experience and thus meeting the needs of the organization.
[ 0.1425849795, -0.0201366395, -0.0253118128, 0.0026032329, -0.0458700359, -0.0220912024, -0.011522579, 0.0094014835, 0.0945482403, -0.0829105228, -0.0071313214, 0.001120907, -0.0116079934, 0.0501915626, -0.0261307545, -0.0528385416, 0.006476359, 0.0128666312, 0.0065011587, 0.0333959348, 0.0189288929, 0.0243399125, -0.0263259001, 0.0558990128, -0.0390039235, -0.0283440202, -0.0099244798, -0.012495202, -0.0121818986, -0.0017714978, 0.0436400771, 0.0197570156, -0.0413192734, 0.002857445, 0.0000020147, -0.0692367107, -0.0238812342, 0.027393464, -0.0573358163, -0.0693576187, 0.072982654, 0.0224963855, -0.029204553, 0.0850581899, -0.0424554832, 0.0854636431, 0.0210826173, 0.0622920394, 0.0737245455, 0.055841431, -0.0295432787, -0.0416163206, -0.0256863981, 0.0623200014, 0.0194456968, -0.0682071894, -0.0111767659, 0.0007626968, 0.0838139057, -0.0140201421, 0.0186767615, -0.0018381127, 0.029739039, -0.0101268394, -0.0028895598, 0.004352584, -0.0318606719, -0.042284485, -0.0459185801, 0.035039559, -0.0075561972, 0.0139060197, -0.014633744, 0.0120413108, 0.0354156569, -0.0410847105, -0.004251922, -0.0204251055, -0.03603331, -0.0259844586, -0.0314402618, 0.0326427817, -0.0428635255, -0.0095300917, -0.0019827362, 0.0210525524, -0.0139000677, -0.0302412603, 0.0063874945, -0.0291714035, 0.0302339736, -0.0279247761, 0.0379659757, 0.0647106022, -0.0435644276, 0.024721995, -0.0010700895, -0.0267584771, 0.0195269082, -0.0807927474, -0.0617230721, 0.0374808721, -0.0144667597, 0.0371056646, 0.0072427485, 0.0699422657, 0.0488579497, -0.0120216748, -0.0445325412, -0.0380687565, -0.0629556626, -0.0226755962, -0.032198403, 0.0740452707, -0.0160945766, -0.0158468466, -0.0565706454, 0.0473415032, 0.0629489124, -0.0231432375, 0.018209001, 0.0449796729, -0.0213755015, 0.0024802259, -0.0551388599, -0.002587612, -0.0605011173, -0.0125682736, -0.0247466359, -0.0736707374, 0.0710494295, 0.0079634199, 0.0190388113, -0.0032620195, 0.0103770168, 0.0778088123, -0.0122291092, -0.0730782524, -0.0502660088, -0.0020336276, -0.0068791364, -0.0521034226, -0.0246974621, -0.0195712801, 0.0209152233, 0.0299614333, -0.0438725092, 0.054685425, 0.0136058265, 0.0428855643, -0.0432173721, 0.0411242209, -0.0612508729, 0.0078046951, 0.0290541835, -0.0082212351, 0.010710327, 0.0364663377, 0.0089618256, 0.0268931258, 0.0290509369, -0.0070639946, 0.0165943913, 0.0007708627, -0.0602607131, -0.0952681527, 0.0154301859, 0.0181380026, -0.0448688902, -0.0034159133, -0.028245857, 0.0444080383, -0.0038075906, 0.0241895672, 0.0168407504, 0.0610883422, -0.0226311609, 0.0453637205, 0.0058254162, 0.082563974, 0.0353960358, -0.0077185635, -0.0171273816, 0.0352706201, -0.0407230742, -0.0282317214, -0.0111493384, 0.0126673011, -0.0109657515, -0.0633785427, -0.003172308, -0.0518784858, 0.0527957864, 0.0074084355, 0.0244474616, 0.0046625999, -0.0401753746, -0.015713729, -0.0079185143, 0.0005306445, -0.0832266733, -0.0200908259, 0.0058133421, 0.1041511521, 0.0514732413, -0.0088989986, -0.0433724895, 0.0008458572, -0.0661864802, 0.0388963819, 0.0245048814, 0.0210094862, -0.031007681, -0.0088220267, -0.009808477, 0.009275822, -0.0163674541, -0.0188504029, 0.009937753, 0.0332381576, -0.0088505894, 0.0447470546, -0.0176116675, 0.0126105305, 0.044526834, 0.0038308837, -0.0230551194, 0.019048145, 0.0223697461, 0.0577363633, 0.0155996382, -0.0043129856, -0.0002140599, 0.0041416693, -0.0402481966, 0.041192282, 0.0050418959, -0.0133645944, 0.0336212255, -0.0014936625, -0.0257432871, 0.0462138429, -0.0221105199, -0.0262623858, -0.0173814967, -0.076692991, 0.0599225648, -0.0165025238, 0.0199592579, -0.0345172547, 0.0279388856, -0.0112907542, 0.0418738499, 0.0231459513, -0.00597416, -0.0365481414, 0.0306577589, 0.0191440824, -0.003072337, -0.005456252, 0.0071278117, -0.0213081911, 0.0400265865, 0.0614465699, 0.0393018089, -0.0404883251, 0.0200193096, -0.0830092877, 0.0016957083, 0.0092976531, -0.038812045, 0.007580664, 0.0472921319, -0.0033200199, -0.0651652291, -0.0177427158, 0.0188103318, 0.0143180545, -0.005409624, 0.0570357181, -0.0215582121, -0.0675243065, -0.0477976315, 0.0320037715, 0.0066297501, -0.0174728762, 0.0876752511, -0.0493022315, -0.0372800007, -0.0030382175, -0.0502726138, 0.0033234656, 0.0129255448, -0.0684456378, 0.0328278616, 0.0065327371, 0.0134908445, 0.0230031423, 0.0349372141, 0.0270213448, -0.0452351607, 0.0545789152, -0.0298488177, 0.0141375251, -0.0081140073, -0.0375615954, 0.0036499652, -0.0287683215, 0.0426391698, 0.0181714147, -0.0025191358, 0.0242975336, -0.0512582846, 0.0180043355, -0.0149515774, -0.03845888, -0.03084521, 0.0275269579, -0.0411602333, 0.0258370396, 0.0269233119, -0.0313345715, 0.0482583679, 0.0347352736, -0.0028406149, -0.1055308878, -0.0573359206, -0.0201721899, 0.0548343994, -0.029822778, 0.047420796, 0.0075097503, -0.0661860332, -0.0166858956, -0.0125882206, 0.0030509005, -0.0442285053, -0.0748705864, 0.0148256449, 0.021383103, 0.026079677, -0.0134760989, -0.0698010921, -0.0408908874, -0.0519307256, 0.0107375002, 0.0703753456, -0.0200094189, -0.0523290858, 0.0183646306, -0.0188658163, 0.0214064158, 0.0038794044, -0.0114486916, -0.0070334547, -0.0490098223, 0.0358699709, 0.0284061003, 0.0109250369, 0.0658697635, 0.0505249016, 0.0187343583, 0.0359790586, -0.0141658857, -0.0296667106, -0.0255933404, -0.0150145637, -0.050023783, -0.0101547316, 0.019103419, -0.0097131375, -0.0249063317, 0.0354468338, 0.0893547758, 0.0527343787, -0.0061559463, 0.0113381837, -0.0364947431, -0.0732798725, 0.0105130933, 0.078334406, -0.0408931784, -0.0379842035, -0.0133956168, 0.0111490395, -0.000801562, -0.0253689736, -0.013024725, -0.0775465518, 0.0062449314, -0.0146941021, -0.0360789895, -0.0536154434, -0.0072227228, -0.025349468, 0.0072972504, 0.0482412539, -0.0035916541, -0.0096561518, -0.0297784638, -0.0001339629, -0.0620694496, -0.0149485972, 0.0519064628, -0.0439110249, 0.0217384994, 0.0758859217, 0.0516324602, 0.0201251321, 0.03340156, 0.0102050425, 0.088757284, 0.0300391633, 0.0006060487, 0.0522765778, -0.0032707762, 0.0056512048, -0.0669648275, -0.0223217048, -0.0115894517, 0.0234187264, -0.0094659245, 0.0062262518, -0.0222827457, 0.0202024058, -0.032964021, 0.0267246999, -0.0019407305, 0.028572714, -0.021830311, -0.0585197769, -0.0526111126, -0.0049952324, -0.014364305, 0.0487437621, -0.0268776454, 0.0379081294, -0.0577858835, -0.0283491686, -0.081566669, -0.0418305509, 0.0201580953, 0.0186695214, 0.011569106, 0.0293618627, 0.0333175063, 0.0275394637, 0.0315664187, -0.0437421873, 0.0044262134, 0.012454059, -0.0496100597, 0.0244145934, 0.0403175019, -0.0221569855, 0.0067386352, -0.0390949771, 0.0199436732, 0.0004439716, -0.0239149164, 0.0136180865, 0.0118473331, 0.006978896, -0.0506498478, -0.05923656, -0.0477221273, 0.0377523713, -0.0513484925, -0.0382623523, -0.0129989618, 0.0738458633, -0.0083716353, 0.0104928026, -0.0559760854, -0.0076923841, -0.0647925064, 0.0075757043, -0.0087585328, -0.0321847536, 0.0640116557, 0.0729934275, -0.0260916427, 0.0066605476, -0.0215384923, 0.0207622852, 0.0192156751, -0.0262166485, -0.0204849467, -0.028374251, 0.0072658858, -0.0427724905, 0.0192652848, 0.0335594565, -0.0435653143, -0.0824652612, 0.0077878875, 0.038572941, 0.0221493952, 0.0014015812, 0.0117327096, -0.0254234094, -0.0061408416, 0.0076592104, 0.0260950588, 0.0382279009, 0.0299881902, -0.0024579137, 0.0502866916, -0.0287939515, -0.0245250892, -0.0384959579, 0.0304519348, -0.0196488947, -0.1005636156, 0.0012499065, 0.0567759313, 0.0272197351, -0.0115233166, -0.0142721655, -0.0417828411, 0.0364334323, -0.0123807341, 0.0260037892, -0.0050396747, 0.0120323747, -0.0138495769, -0.016640516, -0.0357425176, -0.0155759864, 0.0172675401, -0.014724087, -0.0347769186, -0.0364149474, -0.0503638834, -0.0610895678, 0.007923794, 0.0307423323, 0.0240014941, -0.0010389659, 0.0220054612, -0.0324731693, -0.0319567174, -0.0274505671, -0.0049009947, -0.0060529951, -0.0234493669, 0.0667242706, 0.0430074856, 0.0011654727, -0.0357702449, -0.0547814295, -0.0050809593, -0.0255137607, 0.0176729895, -0.0070097861, -5.63271032e-33, -0.0166563429, -0.0326800346, 0.0337558985, 0.0231613573, 0.0136026079, -0.0297241714, 0.0101601947, -0.0086548049, 0.0118592987, -0.0155291958, -0.0492175445, 0.0317251645, 0.0166758895, -0.0290817171, 0.0036331832, -0.025335798, 0.0390863232, -0.0290542953, 0.0057621552, -0.0085259611, 0.0196456574, 0.0575048104, 0.0246621314, -0.0791024342, 0.0309383068, -0.0069760946, -0.0049472549, 0.0209365413, 0.0627542809, 0.0184961986, 0.0042016674, 0.0162826907, 0.0366719477, -0.0178113803, 0.0134277642, 0.0268607214, -0.033872366, -0.0375732593, 0.0199590009, 0.077692464, -0.0309195239, 0.019067293, 0.035089612, -0.0546840131, -0.0112000844, 0.066796124, 0.0583001301, -0.0145815592, 0.0032743409, 0.0471425429, -0.0717874691, -0.0086100716, -0.0318032056, -0.0322239511, -0.01429448, 0.0902639776, -0.032965105, -0.0221411549, -0.0306052752, -0.0015093747, -0.0296938643, -0.0568112433, 0.0178790316, 0.0110692605, 0.0087000774, 0.0171394516, 0.0538371131, -0.0164032038, 0.0103041027, -0.0022089449, 0.009631224, 0.0578687266, 0.0300120078, 0.0015951676, 0.0082999002, -0.0323681906, -0.0175186843, 0.0312741511, 0.0785752833, 0.0319693238, 0.0069307783, -0.0009029313, -0.0722305849, 0.0077719074, 0.0398084335, 0.0483632274, -0.013347297, -0.0429026484, 0.0053885668, 0.0055594067, -0.0413794182, -0.0631170347, 0.0088680191, -0.0449698195, 0.0226056203, -0.009231722, 0.010398143, -0.0030695382, 0.004214881, 0.0100841755, -0.0234846342, 0.0084481295, -0.0082241613, -0.0308167767, 0.0307099484, 0.0005592249, -0.0173379015, 0.0002284766, -0.0147996768, -0.0070103803, 0.0108968196, 0.0303002447, -0.0218554083, -0.02692491, 0.0035184713, 0.0247803591, -0.0383429527, 0.0632162541, 0.0012695192, 0.0387390889, -0.0364209302, 0.0054739304, 0.0185090601, -0.0224496741, -0.0403960906, -0.0104523087, -0.0302989092, 0.0223720595, -0.0117958374, -0.0210730899, -0.018382661, -0.0014852117, 2.637e-7, 0.0063960869, 0.0324377641, -0.0393069535, 0.0165292881, -0.0037234828, 0.0593291111, 0.0444010943, -0.0042119217, 0.0051848842, 0.0187821127, 0.0122069111, -0.0023417517, 0.0115062604, 0.0165797528, -0.0950875282, -0.0266726632, -0.0215073768, -0.0408103876, -0.0485128351, 0.0574333072, 0.0738017783, 0.0610028692, 0.0037189971, -0.0316287279, -0.0313069373, -0.0095003946, -0.009387386, -0.0077154711, 0.0031311812, 0.0181570146, 0.0522987582, 0.0495938882, 0.0373120941, 0.019079322, 0.0163939018, 0.0349153243, 0.031949345, 0.0013422474, -0.0007233354, 0.0054112198, 0.0667098761, 0.0084129004, -0.0058784033, -0.0215694234, 0.053605441, -0.0413649231, -0.0397430211, -0.0273998324, 0.0313468762, 0.0066498239, 0.0035274583, -0.0176018346, -0.0462063923, 0.012706494, 0.0026119649, -0.0231360793, 0.0072181313, -0.0212721787, 0.0419021323, 0.0209949985, -0.003908657, -0.0114905424, -0.0302909426, -0.0018655792, 0.0572095402, 0.0196651723, 0.037757922, 1.637247473e-34, 0.0020944774, -0.0084763523, 0.0185855236, 0.0849084556, 0.0509060025, 0.0362246707, 0.0378218479, 0.0182390492, 0.0298753344, -0.0021067802, 0.0109932888 ]
http://arxiv.org/abs/2310.06940v1
http://arxiv.org/pdf/2310.06940v1
Document-Level Supervision for Multi-Aspect Sentiment Analysis Without Fine-grained Labels
2023-10-10T18:53:21
2023-10-10T18:53:21
Kasturi Bhattacharjee, Rashmi Gangadharaiah
cs.CL
cs.CL
Aspect-based sentiment analysis (ABSA) is a widely studied topic, most often trained through supervision from human annotations of opinionated texts. These fine-grained annotations include identifying aspects towards which a user expresses their sentiment, and their associated polarities (aspect-based sentiments). Such fine-grained annotations can be expensive and often infeasible to obtain in real-world settings. There is, however, an abundance of scenarios where user-generated text contains an overall sentiment, such as a rating of 1-5 in user reviews or user-generated feedback, which may be leveraged for this task. In this paper, we propose a VAE-based topic modeling approach that performs ABSA using document-level supervision and without requiring fine-grained labels for either aspects or sentiments. Our approach allows for the detection of multiple aspects in a document, thereby allowing for the possibility of reasoning about how sentiment expressed through multiple aspects comes together to form an observable overall document-level sentiment. We demonstrate results on two benchmark datasets from two different domains, significantly outperforming a state-of-the-art baseline.
[ 0.0257645231, 0.0420282111, 0.0039029375, 0.0378695279, -0.0131800091, 0.0166779365, -0.0040852451, -0.0273604635, -0.0556066372, -0.0536836721, -0.02894664, -0.0157860201, -0.0529710613, 0.027774917, -0.0305921901, -0.0182273723, 0.0357824489, 0.0259193443, 0.0618282147, -0.0104248514, 0.0482872725, 0.0293199234, -0.0084626535, 0.0166629311, -0.0505374596, -0.0045056669, -0.0024799157, -0.0197579321, 0.0149866892, 0.0062321294, 0.0279453266, 0.0381903388, 0.0237107854, -0.0487733707, 0.0000018523, 0.0265489295, -0.0454634465, -0.0225414634, 0.0675173998, -0.0029051544, 0.0990226865, -0.0539106615, 0.0237352028, 0.002781658, -0.0315924212, -0.0136877857, 0.0311611202, 0.0849604681, 0.0841337666, 0.0371236168, -0.0382242501, -0.0045902058, -0.0085227322, -0.023994023, 0.0032616821, -0.0404929072, -0.0060282331, -0.0026058492, -0.0246289987, 0.0642431602, -0.0035775623, -0.010864161, 0.0070264679, -0.0135028064, -0.0041161696, -0.0169105716, 0.0352345593, 0.0009110697, -0.0071097771, 0.0566370264, 0.0392418467, -0.0118112909, 0.0281685833, -0.0230795369, -0.0293320697, 0.0008920378, 0.0073741865, 0.0061567551, 0.0181529503, 0.0448604673, 0.0522011481, 0.0301236957, 0.0031352525, 0.0193629246, 0.0264737923, 0.0378985256, -0.0154990964, -0.0365084708, 0.0039173141, 0.0708873868, -0.0049021943, 0.0198185705, 0.0157290678, -0.0193401501, 0.0108880699, 0.0216742009, -0.0116211539, -0.0298594292, 0.0171821304, -0.0385196246, -0.0097600389, -0.0031993506, -0.0524271652, 0.0605199747, 0.0389891788, -0.0487303995, 0.0037506439, -0.0275350753, -0.0125123542, -0.0043682577, -0.0376959592, 0.0364972018, 0.0205292609, 0.0207174104, -0.0135351289, 0.0067420024, -0.0368359499, -0.0327147506, -0.0465124883, 0.0064517655, 0.0258620698, -0.0094980551, 0.0006736187, -0.011195329, 0.0103535783, 0.0649154931, -0.0722849667, 0.0630541593, -0.0479299761, 0.0518366471, 0.019872278, 0.0370469987, 0.0073640696, 0.006165883, 0.0008825011, 0.0025952228, 0.0414855406, -0.0210105684, -0.0495668538, -0.0384225696, -0.0175320581, -0.0458193459, 0.0096565438, -0.0638961196, 0.0433425829, -0.0054951143, -0.0079888534, 0.0285578631, 0.020833753, 0.0176385734, -0.0216599964, 0.0665280595, -0.0222290624, -0.0228503738, -0.003342136, 0.03877379, 0.0535517186, 0.0441592894, -0.0395751484, 0.0394064821, 0.0291478895, 0.02026226, 0.010502357, -0.0110311564, 0.0115614738, 0.0074779745, 0.0231451467, -0.0361972712, -0.0475252531, -0.0447202586, 0.0014188219, 0.055440966, -0.0014883658, -0.0508562326, 0.0197772086, 0.0136884153, -0.0623580925, 0.0388694108, -0.0100439498, 0.025884835, 0.0029883084, -0.0211373158, -0.0035524822, 0.0375992209, -0.0009059569, -0.020782005, 0.0190091599, -0.0126107223, -0.0373087786, -0.0661196336, -0.0236169286, -0.0463054925, -0.0112767145, -0.0466188826, 0.0900260583, 0.0068512745, -0.0138986949, -0.0504262485, 0.0780691504, -0.0558798611, 0.0046403697, -0.0062360023, 0.0629913583, 0.054537788, 0.0022670073, -0.0431686863, -0.006923134, -0.0534881093, 0.0035483502, 0.0240703281, 0.0369355679, -0.0085139228, -0.0054640304, -0.0255262293, 0.0108893272, -0.0144865494, 0.0394765735, 0.0088541405, -0.0356420651, -0.0044839829, -0.0134203983, -0.0263101663, 0.0234014727, 0.019765351, 0.0163961072, 0.0084535806, 0.0334282257, 0.0135578169, 0.041773133, 0.0568435378, -0.0021103011, -0.0131536694, 0.0419252664, -0.0378873162, -0.0739531592, -0.0147697488, -0.005981165, -0.017903585, 0.0082424851, -0.035221938, -0.0170452613, -0.0084936135, -0.0175913014, -0.0194221139, -0.0002412614, -0.0071636257, -0.0329389721, -0.0227596369, -0.0299101602, -0.0010034899, -0.025321871, 0.003663884, 0.0512253344, -0.0364833884, 0.0075675119, -0.0143106664, -0.045325987, 0.0246646833, 0.042761825, -0.0546205007, -0.042355381, 0.0456321053, 0.0206187535, 0.0588452294, -0.0002182498, 0.0033677584, -0.033984229, -0.109797731, -0.0126889711, -0.0039275102, 0.0435260423, 0.0394133925, -0.0093432814, 0.0248513184, 0.0181894526, -0.0440828428, -0.0158319846, -0.0386158414, 0.0261031967, 0.0354714394, 0.0036328039, 0.0651922971, -0.0638072714, -0.0155153237, -0.0475142412, 0.0042800903, 0.0244012587, -0.0241048746, -0.0171596874, 0.0251174048, -0.0203300994, 0.0100111235, -0.0201073196, -0.0089377174, -0.0021592574, -0.0435386635, 0.0360680148, 0.0116353491, -0.0073050912, 0.0624599755, 0.0503985956, 0.0016982539, -0.0290116873, 0.0169305597, -0.0687135085, 0.045277968, 0.0071049314, -0.0001556389, 0.001984041, 0.0577988625, 0.0060749496, 0.0022389684, -0.0555616692, 0.016930351, -0.0470463783, 0.0143027809, 0.0064920848, 0.0061681899, 0.0291581824, 0.0027530647, 0.0039091459, 0.009705063, 0.0749314204, 0.0247462317, -0.0062622763, -0.0615258217, 0.0069339918, -0.0389130041, 0.0457243323, -0.0431683511, 0.0015701553, 0.0056572589, 0.0382834151, 0.009979534, -0.0172415376, -0.0093691396, 0.0050836983, 0.0280619171, -0.0209516734, 0.0136659956, 0.0185471699, -0.0435132533, 0.0287577696, -0.0444127508, -0.0191111602, 0.0161591507, 0.0093588382, -0.0306598265, 0.005786526, -0.0375805646, -0.0058925468, -0.0161532685, -0.0263170656, -0.0247442983, 0.0170778632, 0.0298913866, 0.0500415936, -0.0881792381, -0.0038292094, -0.0417163447, -0.0182217378, 0.0527658537, -0.0274109282, 0.0043834993, -0.0226492379, -0.0185854193, 0.0154886385, 0.0005452521, -0.0177894253, -0.0511403494, 0.056085743, -0.0636088103, 0.0019931449, 0.0964614451, 0.0384658501, -0.0670992807, -0.0182924028, -0.0061455835, 0.0034321111, 0.0169638619, 0.0019253714, -0.0691979825, -0.039931871, -0.056677971, 0.0335793234, 0.0045562261, 0.0020603933, 0.0073619336, -0.0603192002, 0.0101936227, -0.0179598145, -0.0118104322, -0.0237514433, -0.0589920655, 0.0219899472, -0.0416800231, -0.018687591, -0.0456919074, 0.0337692127, 0.0016865372, -0.0089002345, -0.0145879593, -0.0147044407, 0.0321004614, -0.0240943562, 0.0251957104, 0.0213089995, 0.0448832065, 0.0017043868, -0.033464808, 0.0128451353, -0.0480438061, -0.0017262723, -0.0182000175, 0.0740874037, -0.0574670695, -0.0324109532, -0.006065967, 0.0478367396, -0.0795455351, 0.0107965441, -0.0108281318, 0.0524569675, -0.0077286544, -0.0178917143, -0.0280880369, 0.0156802554, 0.0461035892, 0.0536370687, -0.0123105692, -0.0915771648, -0.0194849372, -0.0007175389, 0.0200354494, -0.0028638251, -0.0376093499, -0.0906759351, -0.0063542896, -0.0545517541, -0.0708150938, -0.044904612, 0.0132214176, 0.01268005, -0.0257262178, -0.0234477408, 0.045180887, -0.0204772707, -0.0170557629, 0.026133921, 0.0105010998, 0.0134507362, 0.0090207476, -0.0576047078, 0.0809278488, -0.0019285667, -0.0104590189, -0.014865648, -0.04231821, -0.0222553462, -0.0106462957, 0.035827525, 0.0054389606, 0.0020957622, -0.0263798833, -0.0146379722, -0.0111568486, 0.0708745942, -0.0633353889, 0.002053279, 0.0483938493, 0.0487298667, 0.0222327933, 0.0257446878, -0.0192537084, 0.06547077, 0.0017748406, -0.0237547699, -0.0664574876, -0.0258142091, 0.0012152978, -0.0397007018, 0.0699019954, 0.03795949, 0.0028921599, -0.038645789, -0.0329544544, -0.019333981, -0.0543652028, -0.0265366007, 0.0137235317, -0.0172920544, 0.0054046898, -0.0756510943, 0.0466137901, 0.0075368434, 0.0608464032, -0.0127141019, 0.0249001458, 0.0197025388, 0.0350736193, -0.0493012965, 0.0078598596, 0.0050736698, -0.0090515995, -0.0115302866, -0.0046589733, -0.0163451992, 0.0662911162, 0.0014370566, 0.0089576747, -0.0002699593, 0.0046435231, -0.0281343795, 0.0126914615, -0.0168674309, 0.0067395358, -0.02619268, -0.0124481032, 0.0702283978, -0.0440903008, -0.0149930511, -0.0091984998, 0.0381306708, -0.0169528946, 0.011928807, 0.0234857257, 0.0196724758, -0.0090080295, 0.0112729166, 0.0521170795, -0.0723703057, 0.0295959804, 0.0033690834, -0.0167981423, -0.0281921774, 0.0177390687, 0.0330380574, 0.024265727, -0.0059786537, 0.0497070067, -0.0586961769, 0.0063980445, 0.0108486339, -0.0205783732, 0.0137457, 0.0173837468, 0.0217337664, 0.0428991243, -0.008576476, 0.0488819741, -0.081948407, -0.0150125204, -0.0086381482, -0.0205451939, -0.0281517189, -6.351754337e-33, -0.0382161215, -0.0152154854, -0.0490087271, 0.0549249277, 0.0141283823, 0.0122805368, -0.0123750139, 0.0563320182, 0.01763184, 0.0632461756, 0.0372446552, 0.0473117009, -0.0293526426, 0.015097688, 0.039446, -0.0081192665, 0.0559471846, -0.0399891958, 0.0062339841, 0.0613846444, 0.0581920743, -0.0246103927, 0.0392709263, -0.1501117796, 0.0575818866, 0.0010449798, -0.0641752779, 0.0137051689, 0.0093264645, 0.0530386306, -0.0181359649, 0.0369182378, 0.0506248772, -0.012446668, 0.0102153756, 0.0383377224, -0.0310960785, -0.0216322858, -0.0266990177, -0.0185299832, -0.0357739851, -0.0211463124, 0.0185491573, 0.0080264919, 0.0174589846, -0.0037753221, 0.0533254854, -0.001612551, 0.0311135054, -0.1298359632, -0.0451315604, 0.0372645743, -0.0096269986, -0.0270991959, 0.0189241059, 0.0161192678, 0.0241681989, 0.0526501238, -0.0172919407, 0.0288405865, -0.044694934, 0.0038242098, -0.0333257653, -0.0808200985, -0.0243772473, 0.0898258314, -0.0075682704, 0.0365127921, -0.0239929017, 0.0087610474, 0.0155708008, 0.0466731749, 0.0297455117, 0.0160633102, 0.0126853678, -0.0012502798, -0.0264362916, 0.0341393165, 0.0275142007, -0.006690695, 0.0457364656, 0.0055389581, -0.0408331193, -0.0185970813, 0.0134660266, -0.0715479478, -0.0457078516, 0.0088142343, -0.0191575978, 0.0067628701, -0.0372664854, 0.0091661615, -0.0245505925, -0.0452499576, 0.0097287307, 0.0458459482, -0.0590944439, 0.0428383164, 0.0049555018, -0.0168528818, -0.0815808177, -0.0182888471, -0.0174214598, -0.0072893207, -0.0051839096, -0.0138853667, 0.0906289071, 0.0159547217, -0.0961901098, -0.0217758231, -0.0011570703, 0.0083029186, -0.0269775204, 0.0436187759, 0.0004377226, -0.003226741, 0.0063522058, 0.1296247244, 0.0169820748, 0.0720114857, -0.0052310452, -0.0415089317, 0.0077270824, 0.0130483853, -0.0188965742, -0.0526087321, 0.0308448728, -0.0308396611, 0.0013087064, -0.0340825915, 0.0048148488, 0.002967542, 2.552e-7, 0.0574869961, 0.0710907876, -0.0027602641, -0.0266210623, 0.0292914584, 0.0855646729, -0.009274045, -0.0014255103, -0.0211592782, -0.0211738236, 0.0357460938, 0.0210209601, 0.0201254096, 0.0228322614, -0.0585585795, 0.0537780263, 0.001434556, -0.0205068942, -0.0200785138, -0.0065883864, 0.0763242692, 0.0502142906, 0.059310697, -0.0011305723, -0.0167113747, 0.042954497, 0.0887767524, -0.0094364937, -0.0452782102, 0.029005833, -0.0041085989, 0.0043428992, -0.0049430788, -0.0517310612, -0.0053979382, 0.01683731, 0.0142694851, 0.0969839096, 0.0271484014, -0.0320603922, 0.0358295217, 0.0221266467, 0.0098131988, 0.0537330024, 0.0308725964, -0.0454248674, -0.0286945459, -0.118891567, -0.0172473267, 0.0449658968, 0.0136238849, -0.0007281475, -0.0382189453, 0.0359429158, -0.0288744438, -0.0390146188, -0.0388003215, -0.0623809136, -0.0043088496, 0.0392735191, -0.0078541962, -0.0207866952, 0.0262077227, 0.0657255426, -0.0065360954, -0.0483765379, 0.004244315, 2.217826773e-34, 0.0554598793, -0.0601210482, -0.0285227764, 0.020248523, 0.0063161482, 0.0079972986, -0.0680099949, -0.0217215046, 0.0278070662, 0.0012391213, 0.0168835763 ]
http://arxiv.org/abs/2310.06927v2
http://arxiv.org/pdf/2310.06927v2
Sparse Fine-tuning for Inference Acceleration of Large Language Models
2023-10-10T18:28:38
2023-10-13T13:47:44
Eldar Kurtic, Denis Kuznedelev, Elias Frantar, Michael Goin, Dan Alistarh
cs.CL
cs.CL, cs.AI
We consider the problem of accurate sparse fine-tuning of large language models (LLMs), that is, fine-tuning pretrained LLMs on specialized tasks, while inducing sparsity in their weights. On the accuracy side, we observe that standard loss-based fine-tuning may fail to recover accuracy, especially at high sparsities. To address this, we perform a detailed study of distillation-type losses, determining an L2-based distillation approach we term SquareHead which enables accurate recovery even at higher sparsities, across all model types. On the practical efficiency side, we show that sparse LLMs can be executed with speedups by taking advantage of sparsity, for both CPU and GPU runtimes. While the standard approach is to leverage sparsity for computational reduction, we observe that in the case of memory-bound LLMs sparsity can also be leveraged for reducing memory bandwidth. We exhibit end-to-end results showing speedups due to sparsity, while recovering accuracy, on T5 (language translation), Whisper (speech translation), and open GPT-type (MPT for text generation). For MPT text generation, we show for the first time that sparse fine-tuning can reach 75% sparsity without accuracy drops, provide notable end-to-end speedups for both CPU and GPU inference, and highlight that sparsity is also compatible with quantization approaches. Models and software for reproducing our results are provided in Section 6.
[ 0.0030132658, 0.0849401727, 0.0103595937, 0.0485303663, -0.0077570332, 0.0031775574, 0.0074075074, 0.0210893415, -0.0550152436, -0.0337175988, -0.0272100717, -0.0423024297, 0.0263541825, -0.007825817, 0.0551564321, -0.0270009395, 0.0252641663, -0.0428133495, -0.0172656476, -0.0291407295, 0.0236322004, 0.0339146554, 0.0009782278, 0.0135915549, 0.0206028894, 0.0137025816, -0.0068474612, 0.0519878641, 0.008007966, 0.0099168085, 0.0012803769, 0.0744596198, 0.0424396768, 0.0494527295, 0.0000022431, 0.0008193172, 0.0097544743, 0.0024261158, -0.0173429605, 0.0409464724, 0.0237700306, -0.008566319, 0.0010028554, -0.0080422275, -0.0042493236, -0.0125122517, 0.0961353853, -0.0127233034, 0.0455024801, 0.0593754984, -0.0058279424, -0.0107588163, -0.0066737556, -0.054620564, 0.0071538868, -0.0442887545, -0.0066678845, -0.0310284272, -0.0477553383, -0.0025680903, -0.00440019, 0.0201085713, 0.0006805624, 0.0201649796, -0.0402102545, 0.0252332501, -0.0539193451, -0.0398584008, 0.0071261688, 0.0244601183, -0.0608170591, -0.0285719037, 0.0021560576, 0.0071908799, -0.0470527858, -0.0598042235, -0.0346803963, 0.02486738, 0.0102469521, 0.0112714842, 0.027489474, -0.0371951498, 0.0468631089, 0.0394087173, -0.0297418982, -0.001709481, 0.0519532561, -0.0002232778, -0.045009695, 0.0226729717, -0.0860531554, -0.0380329341, -0.0088350037, 0.0074906587, -0.0374458395, 0.0019967358, -0.0955786109, -0.0278562363, 0.0045070173, 0.0326037407, 0.0910252929, 0.0647709221, 0.0127619142, -0.0003253544, -0.0174045023, 0.0153358812, -0.0210395679, 0.0141997151, -0.0382535607, 0.0290435441, 0.015002423, 0.0215017591, -0.0424885564, 0.0404579677, -0.0586074516, 0.0120153306, -0.0377430245, -0.0099953236, -0.0369466096, -0.0149453394, -0.0049077994, 0.0168193672, -0.0851204544, -0.016014969, 0.019195253, 0.0442438424, -0.0251063257, 0.0402793661, 0.0244385842, -0.0777542293, -0.0411522575, 0.0256031845, 0.0142163932, -0.0465605818, 0.0285829622, 0.0301404148, -0.0132886162, -0.0472504236, -0.0303953253, -0.0221153032, 0.0032472559, -0.1014920399, -0.0268651992, -0.0922828615, 0.0228856355, 0.0122959306, 0.0110732736, -0.054994233, 0.0190849546, 0.0100391442, -0.0298439246, 0.0391374081, -0.0289916247, -0.0097357305, 0.0088532232, 0.0192725677, 0.0351023972, 0.0866650194, 0.0323790722, 0.0692346171, -0.0303744134, 0.0070932265, -0.0486240014, 0.0244457442, 0.0685207397, 0.0665096119, -0.0299981181, -0.0220663585, -0.0189069603, 0.0343253836, 0.0807014406, 0.0898251683, -0.0627179444, -0.0067470749, 0.0728732049, 0.0577617437, 0.0284175575, 0.0346732326, 0.0456635058, -0.0206426885, -0.0150772976, 0.0409240238, -0.0293918476, 0.0174734406, -0.0139150061, 0.0172209777, 0.0870784, 0.0645202547, -0.040515922, -0.0216852333, 0.0111049498, 0.0098915072, -0.0085012289, 0.0323294736, 0.0312242452, 0.0250366386, -0.0389615595, 0.0818014517, 0.0535758622, -0.0549157821, -0.0033365046, -0.0740593001, 0.0018643063, 0.0249403678, 0.0328768566, 0.0115139484, -0.0093276398, -0.0029666016, 0.0019651004, 0.0241015553, 0.0197908469, 0.0268351063, 0.0409586914, -0.0497453548, 0.0081910267, -0.0150396004, 0.0219623577, 0.0364141837, 0.0265164468, 0.0378276296, 0.0350851864, -0.0159766022, -0.0343822502, 0.0192190949, -0.0086416267, -0.0426879935, 0.0238726214, 0.0028995275, 0.0202496294, -0.0175326429, -0.0224125367, 0.0050700763, 0.0275528114, -0.0533415675, 0.0404019691, -0.0501747616, -0.0362300947, -0.0235520583, 0.0241746213, -0.000027674, 0.0276355688, 0.0284034591, -0.0464073606, -0.0516155325, 0.0373230875, -0.0179175157, -0.0044448087, -0.0659388527, 0.0056338115, 0.0142994439, 0.030741211, -0.0399748795, 0.0268026907, -0.0216236226, 0.031470377, 0.0360469297, 0.0209104475, -0.0041416134, -0.0452157408, -0.0482199304, -0.0016622285, 0.0103247212, 0.0468063578, 0.0321829803, 0.0153662255, 0.0112886643, -0.0116262417, -0.0828511566, 0.048396714, -0.0450856984, 0.0244300961, 0.038627442, 0.0576885864, 0.0164919272, 0.0013093512, -0.0205694884, 0.0096245101, 0.023112854, 0.0245983209, -0.0107785417, 0.0146313179, -0.0070778471, -0.0230450686, -0.024711838, 0.0521092154, 0.0089449976, -0.0273436159, 0.0037663388, -0.0402271487, 0.0702940226, -0.0299051441, 0.03362545, -0.0073251408, -0.0483531021, 0.0067711193, -0.0196996983, 0.033228375, 0.0431430377, 0.0000033632, 0.0348553695, 0.0291249324, 0.0230644476, -0.0194316991, 0.0163383558, -0.0231424589, -0.0632351339, -0.0237715188, -0.0152024115, -0.0199517757, 0.0826506764, -0.0004861946, -0.0255418364, -0.0422184803, 0.002206238, 0.0174425859, -0.0315396227, -0.0096588368, 0.0355060063, 0.0076185279, 0.0361707471, -0.0335416049, -0.0791350454, 0.0336219743, -0.0585446693, 0.0108765913, 0.0083539849, -0.0226533096, -0.0198806506, 0.0250217915, 0.0175194107, 0.034199927, -0.0481964499, 0.003177366, -0.0607848056, 0.0134930639, 0.0189791564, -0.022167528, 0.0494424663, -0.0422366038, 0.0156636294, -0.0577797517, -0.0373738259, 0.0073789996, -0.0057443203, 0.0006560725, 0.0297809634, 0.0606674254, -0.0294268038, -0.0025176208, 0.015728021, -0.0211313795, 0.0586618148, -0.0272517689, -0.010441754, -0.0271838196, 0.014076869, 0.0589145198, 0.0276112743, -0.0047830506, -0.048220586, -0.0436529256, 0.0265523884, 0.0099612139, 0.0111207785, -0.0568167567, 0.0140783461, 0.0382936187, 0.0184733346, -0.0063761827, 0.0326565653, 0.0840912014, -0.0666666552, -0.024592001, 0.0800440013, -0.0158821288, -0.0253512301, 0.0173187107, 0.0493814796, 0.0902348608, 0.0192436855, 0.012840963, -0.1003761441, -0.03461878, 0.0019238506, 0.0343370549, 0.0026470805, 0.0026859404, -0.0031184822, -0.0501093417, 0.0192114692, 0.0478183255, -0.0165996347, -0.0504082814, -0.0080638342, -0.0101282839, -0.0116672171, 0.0184335876, 0.001251027, -0.0019454868, 0.0057063503, 0.029157972, 0.0388560407, -0.0603679828, 0.0058894954, -0.0037503426, 0.0151202474, 0.0344846286, 0.0187077653, 0.0093334569, -0.0205925126, 0.0017658367, -0.0037588505, -0.0032555729, -0.0259763841, 0.0151701588, 0.0175028779, -0.0147360452, 0.0136328917, 0.0171574038, 0.0052872994, 0.0041204439, -0.012731934, 0.0454040989, -0.0266833641, -0.0147629455, 0.033913482, -0.0246400386, 0.0033850931, 0.0332345366, 0.0275573079, -0.0056202319, -0.0605292805, -0.0260190275, -0.0132268071, -0.052183751, -0.0115593551, -0.0223244652, -0.0065097813, -0.0480353832, -0.0185164344, 0.0194793213, 0.0115796216, 0.0517468303, -0.0338222347, 0.0203955825, -0.0010083441, -0.0119072581, -0.0660913661, 0.0174307674, -0.0470876619, 0.022054268, -0.0504124351, -0.0500602014, -0.0085420879, -0.0319047645, 0.0143915862, 0.0205959827, -0.1755247712, -0.0832410902, -0.0252813883, 0.0354108177, 0.0158113316, 0.0656683072, 0.0061572692, -0.0656870306, 0.0496493541, 0.0733935386, -0.0414515361, 0.0674600005, 0.017804129, -0.0374729745, -0.0167788137, 0.059093114, 0.0014516338, 0.0126868542, 0.0145118609, 0.0509285666, 0.006118896, -0.0650569722, -0.0040247883, 0.013153512, 0.0220553186, -0.0372902043, 0.0114190876, -0.0229843911, 0.0171645787, 0.038195204, 0.0045785983, -0.0485081002, -0.0633778274, 0.0292554926, -0.006758716, -0.0235149302, -0.0199329965, 0.0436912812, 0.0198595207, -0.0497300848, 0.0046772426, -0.028587753, 0.0052414755, 0.063895382, 0.0108250016, -0.0229111295, 0.0164531544, -0.0183348954, 0.0435998663, -0.0400280096, 0.0241587944, 0.0159610063, 0.0283255577, -0.0438099802, 0.0249946248, -0.0246454421, -0.0759902596, -0.0526847988, 0.0110083027, 0.0711035803, 0.0040428415, 0.052707307, -0.0220592152, -0.0272914246, -0.0356118754, 0.0327311866, -0.0165014602, 0.0002109301, 0.0202166736, 0.0249804966, 0.0044972734, 0.0186603274, 0.0663708299, 0.0298529267, 0.0369250402, 0.0195494834, -0.0037027539, -0.006119323, -0.068862088, -0.0288401917, 0.0333155319, 0.0129843252, -0.0000048186, 0.0053662057, -0.0651571527, -0.0164101142, -0.0117573813, 0.0126790283, -0.0380719677, 0.02660539, 0.0461166538, -0.0262261592, -0.0012790759, -0.0289812032, 0.0048558661, 0.0167740472, -0.0009366628, -0.0129837329, -7.161033709e-33, -0.0429336876, -0.0072999508, 0.041066058, 0.0055481684, -0.0447017327, -0.0074755554, -0.0349540859, -0.0103606768, -0.0132265398, 0.0313503928, 0.0108877942, -0.0028909361, 0.0071628909, 0.0358153507, -0.040918462, 0.0217080507, 0.0863624662, 0.0099621089, -0.0159646682, 0.0539286397, 0.0130302971, 0.0139642954, 0.0476048738, 0.0074775293, -0.0520979129, -0.0324598663, -0.0066395747, -0.0118029043, -0.0109558813, -0.0001349514, -0.0165896751, 0.0422774181, -0.003421098, -0.0007826055, -0.0356148221, -0.03594888, -0.0701061338, -0.0126026329, 0.0308684185, -0.0119839013, -0.0040765554, -0.043307621, 0.0154809263, 0.0210801736, -0.0149077801, -0.0411577076, -0.0449106507, -0.0036216355, -0.0596480444, -0.0420328006, -0.0720388293, 0.0194083769, 0.0050586388, -0.0305510275, 0.0489355251, -0.0480921492, -0.0405133888, -0.0134899179, -0.0294364337, -0.0210725144, 0.0183751155, 0.1193449497, 0.0585151836, 0.039741043, -0.015715953, 0.0188424308, -0.0043426575, 0.0294489861, 0.0024948684, 0.0564360432, 0.0739089102, 0.0366316549, 0.004705078, 0.0101799732, 0.0823839977, -0.0170161519, -0.0608827993, -0.0172880907, -0.0422182307, 0.0454716831, 0.0549340621, 0.0348226689, 0.0247945078, -0.043591693, -0.0467224717, -0.0013940189, -0.0475311577, 0.0054193824, 0.0049877088, 0.0495156758, -0.0221967977, -0.0137769878, 0.0422001742, -0.0183269419, 0.0177818723, -0.0137334652, -0.0331268497, -0.0129880346, -0.0194281805, 0.0348971337, -0.0190635938, -0.0753035918, 0.0214724708, 0.014361836, 0.0048587071, -0.0054197772, 0.0307552367, 0.0411704183, -0.0501601361, -0.0112480894, -0.0676806122, 0.0278942063, 0.0137456814, 0.0616381094, 0.0298393834, -0.0102989897, -0.002522106, 0.0499243513, -0.0241419468, -0.0109300688, -0.0336689241, -0.0102159819, 0.0184320379, 0.0323378593, -0.0556717962, 0.0351296589, -0.0454730541, -0.005093765, 0.0215332881, -0.0555317141, -0.0593494065, -0.0037959157, 2.958e-7, 0.0008877274, 0.0007157031, 0.0027230452, 0.0218179096, -0.0056901695, -0.0043844627, 0.0206232462, 0.005662722, 0.0001869825, -0.021860607, 0.029114943, 0.0518861786, 0.0548964515, 0.011418418, -0.0472754911, 0.0423672162, -0.0387308672, 0.0309703257, -0.051104039, -0.0490875319, -0.0050304323, 0.0751585215, -0.0243794601, -0.0244766362, 0.0750013292, 0.0098386323, 0.0445055738, 0.016650768, 0.0030587011, 0.010006859, 0.0295262448, 0.0242923163, -0.008777177, -0.0162723307, -0.0268936884, -0.0083714975, -0.0249534287, 0.0762658119, -0.0382558443, -0.0027133129, 0.0159715731, -0.0126111731, -0.0095433863, -0.0258489102, 0.0272691138, -0.0129807005, -0.0091415243, -0.0705798045, 0.0158002563, -0.0036613448, 0.0166033898, -0.0452317037, 0.0169678815, 0.0286400318, 0.0230169836, -0.0046379496, -0.0325787365, -0.0599462613, -0.0062635611, 0.0229588505, -0.0478111543, -0.0719390735, -0.0811403021, -0.0107187238, 0.0133123146, -0.0295801759, -0.0022318221, 3.012761027e-34, 0.0340112858, -0.0186332501, 0.0101527143, 0.0286478326, 0.0443961881, -0.0229810644, -0.0175194945, 0.0265018437, -0.0085314028, -0.068936564, -0.0560715236 ]
http://arxiv.org/abs/2310.06918v2
http://arxiv.org/pdf/2310.06918v2
Improving Contrastive Learning of Sentence Embeddings with Focal-InfoNCE
2023-10-10T18:15:24
2023-10-20T19:39:40
Pengyue Hou, Xingyu Li
cs.CL
cs.CL, cs.LG
The recent success of SimCSE has greatly advanced state-of-the-art sentence representations. However, the original formulation of SimCSE does not fully exploit the potential of hard negative samples in contrastive learning. This study introduces an unsupervised contrastive learning framework that combines SimCSE with hard negative mining, aiming to enhance the quality of sentence embeddings. The proposed focal-InfoNCE function introduces self-paced modulation terms in the contrastive objective, downweighting the loss associated with easy negatives and encouraging the model focusing on hard negatives. Experimentation on various STS benchmarks shows that our method improves sentence embeddings in terms of Spearman's correlation and representation alignment and uniformity.
[ 0.0055011637, 0.0093716392, -0.0096833231, 0.0293156877, -0.0520215891, -0.0038905861, -0.0187735502, -0.0505350865, -0.0527486354, -0.0353273936, -0.0409097262, -0.0301165376, -0.0089891953, -0.0126382681, 0.0323434658, -0.0408735946, 0.0407053456, 0.0426165611, 0.0112580098, 0.0082559679, 0.0465491153, 0.0069635157, -0.0405043289, -0.0008951106, -0.0170161407, -0.0365840197, 0.0067024073, 0.0204438921, 0.047872752, -0.0636386797, 0.0297113657, 0.0381720699, 0.0248304997, 0.0042504491, 0.0000017156, -0.0142490827, 0.0146424258, -0.0179590173, -0.0140409507, 0.0414505117, 0.0909554213, -0.0612732321, 0.0067315362, 0.0103368172, -0.0142722558, 0.0126342997, 0.026044149, 0.0779830292, 0.0513915569, 0.0770341903, -0.0138972709, -0.0342528075, 0.0106446045, -0.0419358686, -0.0209531039, 0.0170043278, 0.007189576, -0.0367637947, -0.0214673784, 0.0531464182, -0.0062615988, 0.0371250361, 0.0375020653, 0.0362657756, 0.0167333689, 0.034744706, -0.0352800451, 0.0565450825, -0.0290171392, 0.0573295057, 0.01842428, -0.0062634684, -0.0357284844, -0.0204581972, -0.0184537806, -0.0187234245, -0.0514280647, 0.0009077489, 0.0480435342, 0.0428878628, 0.0504324399, 0.0417002663, 0.005123761, -0.0030780451, 0.0149070034, -0.0260441303, 0.0266280025, -0.0727512911, 0.0233126674, 0.0089058448, -0.053391207, 0.0511337444, 0.0152568305, -0.019880306, 0.0142466668, -0.0111270463, -0.0126829185, -0.0442444347, 0.0278525595, -0.0647636279, -0.0013446506, 0.0286572687, -0.0168670341, 0.0354650021, -0.038160909, -0.0000577651, -0.0033128057, 0.0310096368, -0.0281893015, -0.0222718436, -0.0410108715, -0.0227656942, -0.0155145535, 0.0520073771, -0.0130467173, -0.0392402373, -0.018108841, -0.0001727058, -0.0414517, -0.0034486246, -0.0014649566, 0.0229887161, -0.0385753214, -0.0018438617, -0.0098690577, 0.0477984212, -0.0413101949, -0.0009190345, -0.0202085823, 0.008803051, -0.0406111889, 0.0274634827, 0.0209100377, -0.0121409614, -0.0047620386, 0.0176550653, -0.0146456948, -0.0401040539, -0.0287923049, -0.0058370433, -0.0303205792, -0.0544826202, -0.0073193447, -0.0430527441, -0.011841692, -0.005706138, -0.021979006, -0.0238580126, 0.0090786684, 0.0126910219, 0.0082826549, 0.0512096956, 0.0319317468, -0.0503033139, -0.0650072023, 0.0043197391, 0.0448982455, 0.0762702748, -0.0019897374, -0.0014021837, 0.0199182201, 0.0337398387, 0.0079993382, -0.0125634279, 0.0143932076, 0.0046564196, -0.0403196774, 0.0055280668, -0.0112354308, 0.0278136358, 0.0343654044, 0.0369588658, -0.030395491, -0.0400472507, 0.0450427234, 0.010934432, 0.005003944, 0.0201138332, 0.0368680954, 0.0555324107, -0.038428165, 0.0068477066, -0.018981982, 0.0476572886, 0.0002514367, 0.0346724689, 0.0096215056, -0.011521982, -0.041645553, -0.0002881764, -0.0095969168, -0.0421440639, 0.0018706532, -0.0329758897, 0.0501539372, -0.0078706658, -0.068424426, 0.0347100534, 0.0345377177, -0.0440008007, -0.0587933175, 0.0415941663, 0.0010018062, 0.0510682128, 0.0186568908, -0.0335154012, -0.0539979711, -0.0271277614, -0.0026523632, 0.0851108208, 0.0216859654, -0.0067324117, 0.0182444975, -0.0677674711, -0.0191908982, -0.0103873294, 0.0164929908, -0.0118930377, -0.0224523526, 0.0263488628, 0.0493458137, -0.0113822576, -0.0015966092, 0.0234982949, 0.0135213258, -0.0317777917, 0.0071634199, 0.0183373932, 0.0105704674, 0.0245360639, -0.0167045016, 0.0168920681, 0.0550812781, -0.0639049709, -0.0263336021, 0.0139323156, -0.1044118479, -0.1005662531, 0.0229806695, -0.0997591466, 0.0000100729, 0.1033663079, -0.0357731283, -0.0150158647, 0.0448358543, -0.0388756096, -0.0020331217, -0.0385339297, 0.0007666787, 0.0435334109, 0.0585599542, -0.0217612293, 0.0488212034, -0.0400502048, 0.0065934095, 0.0170487259, -0.0101880766, 0.0106579335, -0.0447633602, -0.0129995402, -0.0444112904, 0.0184324086, 0.0077558435, 0.0099068861, -0.0261510406, -0.0270642862, 0.0054868911, -0.0858603492, 0.040609546, -0.0182977952, 0.0075572082, 0.0656513423, -0.0115695093, 0.0089601288, 0.0181037672, -0.0271302164, 0.0131485183, -0.0357624032, 0.0217848197, 0.042283643, -0.0013435924, -0.0156794637, -0.0242556073, 0.0007339348, -0.0402550437, 0.0493571237, -0.0732990354, 0.0149756623, -0.0203027874, 0.0312041454, 0.0103832223, -0.0126393503, 0.0002063052, -0.0560665987, 0.0032746901, -0.0129715102, 0.0373607092, 0.0246102996, 0.0349136367, -0.0015926537, 0.0215476211, 0.0053680097, 0.0032163986, 0.0044746497, -0.0320343263, 0.0763440803, -0.0042051249, -0.0172906797, -0.0250867493, 0.0953375325, 0.0067877374, 0.0087443804, -0.0466690734, -0.0208051056, 0.0037245336, 0.0117156468, 0.0107785752, 0.0427480489, -0.0177565292, -0.053765934, -0.0471592285, -0.0003531157, 0.0619690008, -0.0193223264, -0.038275484, -0.063562721, -0.0361537524, -0.0148021569, 0.004283512, -0.0197074581, 0.0052986792, 0.028281264, 0.0268357601, -0.0381571092, -0.063320674, 0.0249581262, 0.0174181685, 0.0038156137, 0.0163012464, -0.0207347497, -0.0105254808, -0.0251075476, -0.0211452562, -0.1226914674, -0.0086803362, 0.0435776301, 0.038342528, 0.0312208831, -0.0214845873, -0.0170739144, -0.002504586, 0.0110323932, -0.0307588484, -0.0099957148, -0.0304111913, 0.040655978, 0.0711423829, 0.0005407858, 0.0134918094, -0.0168320034, 0.0244653523, 0.0333233252, 0.0064322273, 0.0024561312, -0.0246509127, -0.0257848836, 0.0161778666, -0.0112746712, 0.0159043819, 0.0171935689, 0.0394598618, -0.0127347112, -0.0407056548, 0.1228551045, 0.0242234133, -0.0229273122, 0.0264270697, 0.0049786884, 0.0358129777, 0.0360632502, -0.0476698279, -0.03169946, -0.0405343249, -0.0306243487, 0.012544049, 0.0066434848, 0.0106978687, -0.0128879724, -0.0852771774, -0.0030778211, 0.0297368262, -0.0123613039, -0.0160497129, -0.0070014317, -0.0321140885, -0.033080142, 0.0131113427, -0.0052427691, -0.0061797053, 0.0038479152, 0.0265099909, -0.0263436846, -0.0422047488, -0.0317549966, -0.0557306744, 0.0393143855, 0.0100157214, 0.0282911099, -0.0194465835, -0.0517037362, 0.0357870385, -0.0718987659, -0.0184442308, -0.0158935394, 0.0701830089, -0.0381062999, -0.0018691282, -0.0389226861, 0.0240143202, -0.0681788549, -0.0336152278, -0.0090905763, 0.073367849, -0.0042137834, 0.0414853245, -0.0337103046, 0.0393974409, 0.0168292057, 0.0870227516, 0.0077455649, -0.0359525047, 0.0057772635, 0.0127487378, 0.0350675061, -0.0326945372, -0.0436376482, -0.009197806, 0.0488011949, 0.0367988497, -0.0597013123, -0.0803499967, -0.0059280414, 0.0669250861, -0.0272429064, 0.0326827802, -0.0619754232, -0.0255800541, -0.0496554002, 0.0078064441, -0.0257725827, 0.0094854804, -0.0176417716, -0.010180518, 0.0252329875, -0.0034246105, -0.0217308681, -0.0315493532, -0.0722169876, -0.0505259372, -0.0268581882, 0.0305205509, 0.001063062, 0.0291243698, -0.0076374505, 0.0301915724, 0.095741801, 0.0607283115, -0.027255293, -0.0012967468, 0.0876358151, -0.0409866683, 0.0243961811, 0.0394384488, -0.0063252063, -0.0048001171, 0.0379062705, 0.0567811951, -0.0015134155, 0.02903945, 0.0338548757, -0.0256325696, 0.1116661951, 0.0033801114, -0.0273285266, -0.0067367819, 0.0026560605, -0.0552374162, -0.0033066676, -0.0270121265, 0.013913813, 0.0190372448, 0.0244849939, -0.0362791196, 0.0211456865, -0.0265279096, -0.0078549013, -0.0103156529, -0.0005346205, 0.0185277145, -0.0197543073, -0.0327678919, 0.0278463345, -0.0370902307, -0.0216525681, -0.0284944363, -0.0012613065, -0.0159940086, 0.0218193028, 0.0059561487, 0.0034207369, -0.0268376265, 0.0433785021, -0.0581240058, 0.0728733838, -0.0244055893, -0.025764361, 0.0611026362, -0.0358195864, 0.0418912694, -0.0075685191, -0.0032995138, -0.0119990353, 0.0355927832, -0.0462500975, 0.0115926666, 0.0211249515, 0.0186096504, -0.0249324515, -0.0007020988, 0.0714375377, -0.0445146263, 0.0250811633, 0.0069946535, -0.0204068888, -0.042983789, 0.0048374748, 0.0224122442, 0.0616978034, 0.0101934681, 0.0244819578, -0.0375193991, -0.0445356816, 0.0382314362, 0.0118798371, -0.0167152788, -0.0164613277, 0.0574592575, 0.0110589443, -0.0249260459, -0.0283106174, -0.0033502502, 0.0138754416, 0.0224545728, -0.0338237919, -0.0453986041, -6.470537307e-33, -0.0169016607, 0.0480285063, -0.0306279697, -0.0205503386, -0.0282146763, 0.0255588479, -0.0234867223, 0.0040227491, 0.0274758954, 0.0591901504, 0.0315546542, 0.0199052095, -0.0044576628, 0.0491766147, -0.0204722416, -0.0112843076, 0.0634173378, 0.0176986568, -0.0197629221, -0.013432404, 0.0471211299, 0.0526974909, 0.0885056928, -0.076438196, -0.0280318242, -0.0086810514, 0.0242070034, 0.0206500776, 0.0542274341, 0.0485779829, -0.0139625287, 0.0752026215, 0.0175176933, -0.0643775016, -0.0172124263, -0.0281509832, -0.0526561625, -0.0479092002, 0.0155312466, -0.0093736546, -0.0264192913, -0.0567187443, 0.032504864, -0.0148460539, 0.0043713152, 0.0143180769, 0.0132153733, -0.010931395, 0.0044479794, 0.0106521966, -0.0905266404, -0.0030377209, -0.0013908972, -0.0169344172, 0.0157506354, 0.0117509766, 0.01758199, 0.0046698782, -0.0096484916, -0.0138367843, -0.0171843991, 0.0461015292, 0.0081524896, 0.010695342, -0.0115887653, 0.0662646443, 0.017097326, -0.0109138843, 0.0533343777, -0.0107647516, 0.0195932575, 0.0062074997, 0.0766015947, 0.0917194486, 0.031037163, 0.0285348762, -0.0790804327, 0.0280200448, 0.0084777111, 0.0111730741, 0.0490037948, 0.0288820602, -0.0431706719, -0.0228547975, 0.0333465785, -0.0273346491, 0.0043617394, -0.0226475764, 0.0310310107, 0.0099992035, -0.0249390397, 0.069419533, 0.0156634599, -0.0358232148, 0.0034924746, 0.050836388, -0.0263095517, -0.0060664951, 0.025357103, -0.0239082463, -0.1051927879, 0.0059272982, 0.0210989509, 0.0347360745, 0.0026149568, -0.0173579529, 0.0859673396, 0.0071524936, -0.0770308822, -0.021907663, -0.0096754655, -0.03222261, -0.0225007553, -0.0325968526, 0.0212166011, 0.0221377071, -0.0399509482, 0.0609746799, 0.0269599799, -0.0439840592, -0.016819153, -0.0051953169, 0.0181220472, 0.0394163132, 0.0060452316, 0.0116613638, -0.0183285922, -0.0065666651, 0.0399402678, -0.09305536, -0.0239941459, -0.0178112853, 2.407e-7, -0.00260717, 0.0072632027, 0.0146629736, 0.0131058805, 0.0367344357, 0.0648238286, -0.0223262757, 0.0351694785, -0.035579361, 0.0261320993, 0.061970327, 0.0419096164, 0.0177186299, 0.0165570788, -0.0736139417, 0.0381146707, -0.0513928384, -0.0336324349, -0.0145248407, 0.0252951104, 0.087491475, 0.1107073948, 0.0304084942, 0.0201919582, 0.0153986877, -0.0292996988, 0.0557894669, -0.0276784189, -0.0079410421, -0.0548507757, -0.0306761954, 0.0017591986, -0.0265544951, 0.0144529566, 0.0129143922, 0.0368026607, 0.0029544909, -0.0120037533, 0.0005424573, -0.0574737117, 0.0029214334, 0.0027660958, -0.0024184051, 0.0184542798, 0.0802173615, -0.0875091031, -0.0315682627, -0.0417473055, -0.0628205538, 0.0182271115, 0.0165017862, 0.0193725973, -0.0522046685, -0.0281475149, 0.0150532816, 0.011787829, -0.0413872302, -0.0638822392, -0.0018016124, 0.0638588369, -0.004533594, -0.0165660214, -0.0174622294, 0.0379797742, 0.0410925448, -0.0430721454, 0.0152114658, 2.174779114e-34, 0.0490157306, 0.0145389084, 0.0064134421, 0.0105615482, -0.0032579319, -0.0297022182, -0.044455491, -0.0647426248, 0.0598350912, -0.0437928289, 0.000833408 ]
http://arxiv.org/abs/2310.06913v1
http://arxiv.org/pdf/2310.06913v1
A Comparative Study of Transformer-based Neural Text Representation Techniques on Bug Triaging
2023-10-10T18:09:32
2023-10-10T18:09:32
Atish Kumar Dipongkor, Kevin Moran
cs.SE
cs.SE, cs.CL, cs.IR
Often, the first step in managing bug reports is related to triaging a bug to the appropriate developer who is best suited to understand, localize, and fix the target bug. Additionally, assigning a given bug to a particular part of a software project can help to expedite the fixing process. However, despite the importance of these activities, they are quite challenging, where days can be spent on the manual triaging process. Past studies have attempted to leverage the limited textual data of bug reports to train text classification models that automate this process -- to varying degrees of success. However, the textual representations and machine learning models used in prior work are limited by their expressiveness, often failing to capture nuanced textual patterns that might otherwise aid in the triaging process. Recently, large, transformer-based, pre-trained neural text representation techniques such as BERT have achieved greater performance in several natural language processing tasks. However, the potential for using these techniques to improve upon prior approaches for automated bug triaging is not well studied or understood. Therefore, in this paper we offer one of the first investigations that fine-tunes transformer-based language models for the task of bug triaging on four open source datasets, spanning a collective 53 years of development history with over 400 developers and over 150 software project components. Our study includes both a quantitative and qualitative analysis of effectiveness. Our findings illustrate that DeBERTa is the most effective technique across the triaging tasks of developer and component assignment, and the measured performance delta is statistically significant compared to other techniques. However, through our qualitative analysis, we also observe that each technique possesses unique abilities best suited to certain types of bug reports.
[ 0.0773721188, 0.0319337249, -0.035834875, 0.0067311609, -0.0164133012, 0.0017166251, -0.0161986426, 0.0003627002, 0.0025745521, -0.1070066988, 0.0216288175, 0.01379536, 0.0028963597, 0.0114812329, 0.0022002358, -0.0356907323, 0.0270063467, -0.012314749, 0.0000983733, 0.0456090346, -0.0110279815, 0.028855959, -0.0087978067, 0.086744003, -0.0062446278, -0.023385046, 0.0143486038, -0.0047163507, 0.0163320992, 0.0049689556, 0.0274550635, 0.0048886766, -0.0024290986, 0.0308146644, 0.0000021162, -0.0179072879, -0.0085255969, 0.011916901, 0.0444881208, 0.0272105914, -0.0223594476, -0.0631837845, -0.0294956304, 0.0331006609, -0.0054097716, 0.0030864214, 0.0490228049, 0.0196719971, 0.0556316264, 0.0317471474, -0.0014436134, 0.0128451958, 0.0104586473, 0.0104062157, 0.0490240827, -0.0221994538, -0.0328757092, 0.0214675143, -0.0003657927, 0.0310379565, 0.0308096465, 0.0257863421, 0.0203673635, 0.0008389596, 0.0184183363, 0.0361611992, -0.0314122811, -0.0172830485, -0.0054380824, 0.0316932946, -0.0687157139, -0.0145861749, -0.0079772146, -0.0237898584, -0.015747793, 0.0149623025, 0.032423649, 0.0071142823, -0.0127663482, -0.0185649861, 0.0288408622, -0.0238253679, -0.0086220047, -0.040351171, -0.0490975641, 0.0180197805, -0.0244077463, 0.0144087914, -0.0330590494, -0.0282430071, 0.0061223111, -0.0310784616, 0.0304322429, 0.0495223701, 0.0207451526, 0.0181469619, -0.041248057, -0.0587693602, 0.0563698374, -0.0429816879, -0.0347238742, 0.0319547355, -0.087477237, -0.0118892044, -0.0402898453, 0.0590099171, 0.0186469909, 0.0523808226, 0.017279679, 0.0069174259, -0.0694842041, -0.0198404249, -0.0470247753, 0.0260907169, 0.0222075637, 0.032578852, 0.0271987841, 0.0398397744, 0.0350446813, 0.0232472941, 0.0465455092, 0.0104819834, -0.0667747557, 0.0176666509, 0.0004552357, 0.019072311, -0.0229668655, -0.0053586112, -0.0275366995, -0.0047869524, -0.0059249895, -0.0089004543, -0.0376164429, -0.0397326536, -0.0066197133, 0.0266639832, 0.0192388166, 0.0031871393, -0.039064195, -0.009757543, -0.0173352156, 0.0373418219, -0.0556118451, -0.0529230684, -0.0359994359, 0.0312945843, 0.0142973848, -0.0425793342, -0.0103891604, 0.0010999374, -0.0182654765, 0.0606518798, -0.0752907023, 0.0163376313, 0.058760535, 0.0343037359, 0.0393686593, 0.0185654797, 0.0621151775, 0.0503426418, 0.0269382615, -0.0067053349, 0.0516666435, 0.003707072, -0.0466221087, -0.0040280363, 0.0425017513, -0.0016676638, 0.0053326371, -0.011146931, 0.0239623729, 0.0311714616, 0.0055910796, -0.0280763041, 0.017661944, 0.0338416621, 0.024897296, 0.0384111181, 0.0251150373, 0.0363443717, -0.0292775314, -0.0474576429, -0.0042106849, 0.0635749027, 0.0071632778, -0.0278497525, -0.0151144927, 0.0257799178, -0.0220928229, -0.0541938581, -0.0212282576, -0.0259552952, -0.0104306908, -0.0156913605, 0.0553147867, 0.0145277437, -0.0506446138, 0.0877366662, 0.0169409979, -0.0235936567, -0.0443958379, -0.0364430584, 0.0104224198, 0.0528536998, 0.0355760455, -0.0884560719, -0.1162075549, -0.0034115589, -0.0312635079, -0.0338737257, 0.0538049191, -0.0107803782, -0.0125541436, -0.0389168598, -0.0155061996, -0.0482421853, -0.0044966144, 0.0540182143, -0.0197363794, 0.0057248343, 0.0034867011, -0.0347812772, -0.0513454489, 0.0437307991, 0.0055819922, -0.0128226224, 0.0323118046, -0.0084202765, -0.0151103223, -0.0193147063, -0.0377554223, 0.0008863733, 0.0526718013, -0.0260735452, -0.0466392264, 0.0116472393, 0.0147966566, -0.0327890888, 0.0194821879, -0.0201860853, -0.0083714398, 0.0505927019, -0.0639457405, 0.0329711027, 0.0302835014, -0.0386196375, -0.0530577153, 0.0091916611, 0.0297657866, -0.0439899899, -0.0245809965, -0.0548432507, 0.0348198228, 0.0333394073, 0.0043052421, -0.0757031292, 0.0378150158, 0.0475087017, -0.0059805787, -0.065655835, 0.0342722535, -0.0303071234, 0.0267339442, 0.0067480896, 0.0173096508, 0.040877685, -0.066840522, -0.0815088823, -0.0309718326, -0.006881217, 0.0169519875, 0.0064344993, 0.0047468762, 0.0306548402, -0.0150040155, -0.0192154497, -0.0581520386, -0.007659222, -0.0198029727, 0.0628669932, -0.0023713172, -0.0066061718, -0.0510336161, -0.0151941814, -0.0617072061, 0.0219996981, 0.0323984958, -0.0710356534, -0.1194334924, 0.0262779761, -0.0267524496, 0.0294451769, -0.0121941175, -0.0513696633, 0.0055468073, 0.0128903417, 0.0347339697, 0.0148149142, 0.0204619709, 0.0402022786, 0.0294325221, 0.0452114418, -0.0452002361, 0.0043201977, 0.0184410289, -0.0189680178, -0.0014632493, -0.0678759441, 0.0747290999, 0.0554102249, -0.0080818273, -0.038482029, -0.0507385023, -0.00871222, -0.0161097664, 0.0375513472, 0.0530194305, -0.0495951027, 0.0341650173, 0.0062403628, -0.0311178267, -0.0530741289, 0.0835747123, -0.0170193445, 0.002173634, -0.1084989831, 0.0039192177, -0.068076618, 0.079819575, -0.0359675437, 0.0275813136, 0.0335421115, -0.0370334312, -0.0061001284, 0.009862287, -0.0157902408, 0.0075228619, 0.0539260656, -0.0439809822, 0.0313755497, 0.014096031, -0.0074421554, 0.001140867, -0.0360083245, -0.0286579002, 0.0071012015, 0.0335421935, -0.0009044345, -0.0681796595, 0.0553957485, 0.0216325, 0.0600795373, 0.0713610277, -0.0605071895, -0.0058083241, -0.0746460035, -0.0404704846, -0.003110297, 0.0145090083, 0.0249896571, -0.0335259289, 0.0301185921, 0.0855869874, 0.0374261066, -0.058261849, -0.0362587385, 0.0005394254, -0.0599176846, -0.0427226126, 0.0160996635, 0.0151220448, -0.0339802355, -0.0128303235, 0.0669448748, 0.0760923624, -0.0403479263, 0.0300856084, 0.0335163102, -0.0089570004, 0.0547661148, 0.0373039581, -0.0807176232, -0.0313341692, -0.0134245371, 0.004827552, 0.0183587801, -0.0001270921, 0.0222212803, -0.0570459142, 0.0096462844, -0.0275976397, 0.0476454385, -0.0292955656, -0.022716172, -0.0060491706, -0.0103980144, -0.0321988501, -0.0172357708, 0.0046568005, 0.0093795992, 0.0143770827, -0.0728763342, -0.0087941345, 0.0288913492, -0.0342667475, -0.0071021342, 0.094633624, 0.0281746294, 0.022851726, 0.0086983284, 0.0300889201, -0.0012384686, 0.0448885672, 0.0060720756, 0.0728155747, 0.0105421478, -0.006492191, 0.0577097535, -0.0514615849, -0.0634092093, -0.0139129423, 0.0075975833, 0.0309051145, -0.0273756403, 0.0168192871, -0.0202192273, 0.0030059877, 0.0185526516, 0.0046186354, 0.0435293913, -0.0367951095, -0.0186391622, -0.0262886807, 0.0337377824, -0.0225102399, -0.0308541674, 0.0126256961, -0.0215380434, -0.0435004868, -0.0964704901, -0.0237294491, -0.000373354, 0.0450514294, 0.0384721532, -0.0691046938, 0.0441588834, -0.019680718, -0.0192993414, 0.04630097, 0.0538720228, 0.0295365732, -0.0241950452, -0.005718736, 0.0033229014, 0.0161819141, -0.0333414674, -0.0038709026, -0.0501871519, -0.0266423058, -0.0203656927, 0.0525235832, 0.0104983468, -0.0347072966, -0.0536508709, -0.1304587722, -0.0221183673, 0.0578468665, -0.0177454613, 0.0025105053, -0.0011585711, 0.0002129105, -0.0347838514, -0.0118383234, -0.0474785902, 0.0044547841, -0.0197088625, 0.0014814514, -0.0217935927, -0.0057742866, 0.010342286, -0.0243280753, 0.0409293771, 0.0685434937, 0.0271568652, -0.0260943957, -0.0017156345, 0.0125426101, 0.0024850848, -0.0397851877, 0.0524962284, 0.0011860713, -0.0488960221, -0.0094453748, 0.0456967726, -0.0550370291, 0.0332173854, -0.0247463994, 0.0508458652, 0.0229386259, 0.0277095959, 0.0010795958, 0.0186083317, -0.0038928464, -0.0264644213, 0.0031891584, 0.0267195441, -0.0201461855, 0.0153654972, 0.0140108457, 0.0414234139, 0.0038462498, 0.0200632717, -0.052163031, -0.0730963275, 0.0038519078, -0.0352985747, 0.0087519847, 0.0580877997, 0.0221142489, 0.0097123468, -0.0047431118, 0.0046745283, 0.0290003158, -0.0004079954, 0.0162227582, -0.0011443512, 0.0112647712, -0.0048792888, -0.0563385487, 0.0603136308, -0.0312363245, 0.006208417, -0.0248707589, -0.0341973342, -0.017085107, 0.0114745013, 0.0173591152, -0.0462170765, -0.0227172356, -0.0441377051, -0.0421182103, -0.0175076909, 0.0631294101, -0.0014927055, 0.0370789021, -0.0173412021, -0.0290982779, 0.0929019824, 0.0247458965, -0.0213974416, -0.0060896389, -0.0449785329, -0.03327398, -0.023773564, -0.0525515787, -5.42382828e-33, -0.0290866587, -0.0370948911, -0.0249752607, -0.0213038437, 0.0232918691, -0.0032278711, -0.0329659581, -0.0006220172, 0.0031879549, -0.0107877934, 0.0060228673, 0.0264766626, -0.0077906931, -0.035587918, 0.0449597538, 0.0237154216, 0.0493656434, 0.0489906408, -0.0383950844, 0.0415598638, 0.0049217651, 0.0252782479, 0.031405963, -0.0738644302, 0.03100341, 0.0373256765, 0.0264643859, 0.0134489192, 0.0478623584, 0.0732770041, 0.0224882737, 0.0043148967, 0.0142536703, -0.0224360377, -0.0076703262, -0.0369913056, -0.0349612944, -0.0195217133, -0.0343356729, -0.0037823941, 0.0618722104, -0.0121274367, 0.0571691319, 0.0016921586, 0.0175153427, -0.0066620377, 0.0703986511, 0.0176657643, 0.0003634629, -0.0688194707, -0.07231877, 0.0260554627, -0.0351085775, -0.0100113498, -0.0111927157, 0.0657035708, 0.0246648807, 0.0383186713, -0.0354935117, -0.0634780824, 0.0031682311, -0.0073712016, 0.0203712415, -0.0081627229, -0.0434184186, 0.0167694204, 0.0165896118, 0.0646456257, -0.0337397307, -0.0221305303, 0.045533929, 0.0223027747, 0.0653400049, 0.0014805864, 0.0275913589, -0.0087005049, -0.0376824774, 0.0595959052, -0.0180034395, 0.0225177016, 0.024570195, 0.0415476598, -0.057292074, -0.0116547802, -0.0295991115, -0.0040928903, -0.0253415927, -0.0082972171, 0.0136434268, 0.0094959857, -0.017639054, 0.0682600215, 0.0152240032, -0.0357433707, 0.0227034781, -0.0024312295, -0.0407974906, 0.0449850485, -0.0310956351, 0.0269575063, -0.0110612372, -0.0099252136, 0.0239789598, 0.0685826614, 0.0837560967, -0.0153095862, 0.0433858782, 0.015832074, -0.0645243004, 0.0477062538, -0.0244377684, 0.0025532611, -0.0296903141, 0.0763743818, -0.0230463669, -0.0094560925, 0.0052606328, -0.008705426, 0.0077844616, -0.0174817126, -0.0364441276, 0.0598919839, -0.0291617587, 0.005480818, -0.0226432197, -0.0320753977, -0.0083903484, 0.0416255929, 0.0291751549, -0.0440084264, -0.0512133911, 0.0083156135, 2.688e-7, 0.0341644697, 0.0642342865, 0.0253426787, -0.0292629134, 0.0144340042, 0.0403329171, 0.0064527905, 0.0277436674, 0.0458303951, 0.0319714807, -0.014502544, 0.0023063249, 0.0199567992, 0.040072199, -0.0246769283, -0.0324879959, -0.0237887651, 0.0233519971, -0.0749356151, 0.0304170065, 0.0253223386, 0.0283924583, 0.0165536031, 0.0023617037, -0.0073522045, -0.0192684755, 0.0009497395, -0.0059764464, 0.0285126269, 0.0865151063, 0.0436548628, 0.0487609729, -0.0314156748, -0.0174858458, -0.0098371329, -0.034822084, -0.0135682318, 0.0020290203, -0.0443150103, -0.0142949838, 0.0166420918, 0.0011880283, 0.0001120077, -0.043987155, 0.0035100842, -0.0797616467, -0.0181121435, 0.0479506552, 0.0371687487, -0.0090746405, -0.0092790248, -0.0034989701, 0.0267904866, 0.0198188629, -0.0031426449, -0.0227376577, -0.0009599226, -0.1012536734, -0.0277973451, 0.0434358753, -0.0317430571, -0.0100819087, -0.0201428682, -0.0118055297, 0.0554564446, -0.0015858443, 0.0726782829, 2.561476118e-34, 0.0289418213, -0.0175180975, -0.0480450802, -0.0242180377, 0.0413964204, 0.0043965066, 0.0418862775, -0.0119404178, -0.0119542656, -0.0102354176, -0.0300477538 ]
http://arxiv.org/abs/2310.06839v1
http://arxiv.org/pdf/2310.06839v1
LongLLMLingua: Accelerating and Enhancing LLMs in Long Context Scenarios via Prompt Compression
2023-10-10T17:59:58
2023-10-10T17:59:58
Huiqiang Jiang, Qianhui Wu, Xufang Luo, Dongsheng Li, Chin-Yew Lin, Yuqing Yang, Lili Qiu
cs.CL
cs.CL, cs.LG
In long context scenarios, large language models (LLMs) face three main challenges: higher computational/financial cost, longer latency, and inferior performance. Some studies reveal that the performance of LLMs depends on both the density and the position of the key information (question relevant) in the input prompt. Inspired by these findings, we propose LongLLMLingua for prompt compression towards improving LLMs' perception of the key information to simultaneously address the three challenges. We conduct evaluation on a wide range of long context scenarios including single-/multi-document QA, few-shot learning, summarization, synthetic tasks, and code completion. The experimental results show that LongLLMLingua compressed prompt can derive higher performance with much less cost. The latency of the end-to-end system is also reduced. For example, on NaturalQuestions benchmark, LongLLMLingua gains a performance boost of up to 17.1% over the original prompt with ~4x fewer tokens as input to GPT-3.5-Turbo. It can derive cost savings of \$28.5 and \$27.4 per 1,000 samples from the LongBench and ZeroScrolls benchmark, respectively. Additionally, when compressing prompts of ~10k tokens at a compression rate of 2x-10x, LongLLMLingua can speed up the end-to-end latency by 1.4x-3.8x. Our code is available at https://aka.ms/LLMLingua.
[ 0.0141188586, 0.0074393386, -0.0007157066, 0.0233186744, -0.0258334372, 0.0015894084, -0.0035033324, 0.0137479082, -0.0234630723, -0.0188541524, 0.0113975592, -0.0319668055, 0.0006719533, 0.0269770809, 0.0302625988, -0.0414546542, 0.0391163379, -0.0412251465, -0.0029702128, -0.0081591699, 0.0038146125, -0.0076216785, 0.0037895818, 0.0509439334, 0.0127287488, -0.0493664555, -0.0425435677, 0.0137309711, -0.0165962018, -0.0338024534, -0.0255411472, 0.0601511262, 0.0192121826, 0.014890301, 0.0000023517, -0.068630524, -0.0229331646, -0.0099275876, -0.0939062312, 0.0380346142, 0.0246995259, 0.0152067142, 0.0019900857, 0.0402892642, -0.0244375523, -0.0014096075, 0.0255929548, -0.0102443313, 0.0544659048, 0.0384418704, -0.0011370626, 0.0038111841, 0.0219022762, -0.0439002812, 0.03991054, -0.0670889914, -0.012921148, -0.0407416523, 0.0401950069, 0.0234445482, -0.0226501524, 0.0347427875, 0.0553420074, -0.0133871417, -0.0055891112, 0.0444948673, -0.0251907185, 0.0008647874, -0.0190907922, 0.0825999603, -0.0110795908, 0.0081562279, -0.0137431677, -0.0100945188, 0.0274240728, -0.066467315, -0.0779200271, 0.0152077144, -0.0192789529, -0.0230823606, -0.0267273821, -0.0148441773, -0.0006896079, -0.0079146978, -0.0374116227, 0.0261813644, 0.0176710188, -0.02372339, -0.034156166, -0.0182312913, -0.0110888937, -0.0717477351, -0.0056310864, 0.0617779307, -0.05645914, 0.0101581924, -0.0457901061, -0.021836644, 0.0436939299, 0.0152082574, 0.008335541, 0.0552569963, -0.0325964354, 0.0584635027, -0.0477010719, 0.0768559128, 0.0098498445, -0.013821004, -0.0578450374, -0.0062492657, -0.0097796097, -0.0026623413, -0.044577837, 0.0550494082, -0.0638340414, -0.0179724451, -0.019236343, 0.053159371, 0.037016008, 0.0352667309, 0.0150369667, -0.0139227919, -0.0218969118, -0.0015142503, -0.0084667141, 0.0302891843, -0.0569736511, -0.0155255711, 0.0271919314, -0.0665029287, -0.0272909012, 0.0106384857, 0.0175765119, -0.0064407806, 0.0125699276, 0.0369747914, -0.0013282009, -0.0394116715, -0.0269008093, -0.0232840106, -0.0076398137, -0.0194345862, -0.0340856537, -0.0797722861, 0.0225042515, 0.01347961, -0.0055350009, 0.0098170079, -0.0175954178, 0.0374265574, -0.0042948341, 0.0579606667, -0.0034447443, 0.0183923114, 0.0411816202, 0.0167091936, 0.0006471471, 0.0590271205, 0.0130365528, 0.0423823744, 0.0456925109, -0.0204560217, 0.0064251232, 0.0463599451, 0.0330394357, 0.0244037658, -0.0029598677, 0.0304586794, 0.0370224081, 0.0244166441, 0.04829555, 0.0589650385, -0.0171583816, -0.0115344999, 0.0323307551, 0.0810175464, 0.016579397, -0.0293695126, 0.0345703512, 0.0411537364, -0.0121313594, 0.0005923137, -0.0496342368, 0.0483417697, -0.0373881459, 0.0449004993, 0.0731424242, 0.0197673813, -0.0410021544, -0.0282546468, -0.0166145377, -0.0145457489, -0.0351267904, 0.0383070745, -0.0018376821, -0.0042778379, -0.0588889234, 0.0599454194, 0.006780446, -0.0606244504, -0.0236427765, -0.0593666472, 0.0461704358, 0.0548217185, 0.0435783938, -0.022931641, -0.039066352, -0.0325016193, 0.0157159697, 0.0270695649, 0.0322113633, -0.0154833151, 0.0077757505, -0.048145581, -0.0281024743, -0.0043440266, -0.0150546869, 0.0210356433, 0.020563608, 0.0208355244, 0.0158400126, -0.0110195801, 0.0175161138, 0.0255437884, -0.0390089899, -0.0542671084, 0.006001872, 0.0124176564, 0.0185040087, 0.0051868302, 0.0079750074, 0.0077657285, 0.0340200886, -0.0527036041, 0.0011989122, -0.0301361345, -0.084547393, -0.0633879006, 0.0365226865, 0.0042782268, 0.0019160233, 0.0290858243, -0.0430323966, -0.055872526, -0.0377998985, -0.0304297302, 0.0101083005, -0.0283526517, 0.0083530666, 0.006543614, 0.0169852506, -0.0561821721, 0.0366525427, -0.0171830934, 0.0267395526, 0.0513127744, 0.0457942262, 0.0109370621, -0.0470072068, -0.0100593269, 0.0226988699, -0.0137089966, -0.018797772, 0.0134290941, 0.0247431938, -0.0335154831, -0.0170690324, -0.1119576469, 0.0162036624, -0.026681982, 0.0186504684, 0.0178397428, 0.0388175696, -0.0356701277, -0.0185844656, -0.0605595671, -0.0043394011, 0.0091774417, 0.0263022389, 0.0217362866, 0.019184066, 0.0011520094, -0.0405249372, -0.0213275254, 0.0038142225, 0.0397648476, -0.0353064761, -0.0378237925, -0.0327290632, 0.0446470752, -0.0004959422, -0.0026790164, -0.0181175284, -0.0168966018, -0.0011198698, -0.0435982123, 0.0802356824, 0.0604470521, 0.0186661817, -0.0201360658, 0.0319096074, 0.0118979085, -0.0614757054, 0.0391572788, 0.0055560735, -0.0435161553, -0.0030326487, -0.0223625712, 0.0248824526, 0.0547555424, -0.0101692323, -0.0087519456, -0.0343005396, 0.0064486596, 0.0084759388, -0.0079436582, -0.0573624112, -0.0093709733, -0.0295896754, 0.0592489392, -0.0195900537, -0.0436610319, 0.0756140798, -0.0642062947, -0.0173351038, -0.0057200734, -0.0023585095, -0.0534124784, 0.0681497231, -0.0048889215, 0.0005355628, -0.008769352, -0.0440124199, -0.0454105847, 0.0099213384, -0.0180998258, -0.0405276865, 0.0322465785, -0.0158422813, 0.0062578241, -0.0464141071, -0.0423636101, -0.0205995776, -0.0253935046, -0.0108444327, 0.0056682713, 0.0131617943, 0.011900886, 0.016532978, 0.0218800101, 0.0183073785, 0.0852386057, -0.0276274718, -0.0039288756, -0.0259901695, 0.0408398397, 0.0458737612, 0.0186861139, 0.0406509489, -0.0217725504, 0.0734203681, 0.0477567464, 0.0917955041, 0.0215991866, 0.0207966268, -0.008927335, 0.0382006317, -0.0266246479, -0.0325615369, 0.0602375828, 0.0598071329, -0.0648865402, -0.0089420071, 0.1280978322, 0.0366998427, -0.071642451, -0.0141939335, -0.037916895, 0.0504952334, 0.0379672796, 0.0379084647, -0.0965816751, -0.0474785082, 0.036262542, 0.0259547494, -0.0051550199, -0.0384179316, -0.0207289923, -0.1323749721, 0.025973523, -0.024471188, -0.0386030748, 0.0097552817, -0.0461824462, -0.0075350329, 0.0387069769, 0.0442003086, 0.0454174578, -0.0055580884, -0.0092427656, -0.0039603361, -0.0304613188, 0.0094632609, 0.0399237312, -0.0049846638, 0.0258375686, 0.0588464625, -0.0024931699, 0.0063085547, -0.0156560801, 0.0567552187, 0.0002133631, 0.0032012414, -0.0094829993, 0.0199514981, -0.0125786066, 0.0075858887, 0.0088138906, 0.0436443388, -0.0163977314, 0.0016967463, 0.0412954092, 0.0578586943, 0.0038825565, 0.0109167416, -0.0439710617, -0.0176201034, -0.0278238337, 0.0816767216, 0.0622669607, -0.0400170535, -0.0265816841, -0.0318759382, -0.0207069088, -0.0233804919, 0.0037774188, -0.00445071, 0.0127293896, 0.0088721616, -0.0451323725, -0.038854938, 0.0490912646, 0.0410569087, -0.0233413726, 0.022133369, -0.0400527269, 0.0284598488, -0.0593226999, 0.0084280353, -0.0471053161, 0.0131978262, -0.0863356218, 0.0578441918, 0.0293796398, -0.011454979, -0.0161860269, 0.018267924, -0.0988818407, -0.0481451005, -0.0440119952, 0.0314626619, 0.0243213736, 0.0511172302, -0.0083594657, -0.0470535569, 0.0440476537, 0.0452863574, -0.0446304679, 0.0472918861, -0.0075686914, 0.0246470291, -0.0006717255, 0.0329824165, -0.0750382319, -0.0005055498, -0.0269344803, 0.0360938236, -0.0013757178, -0.0617923886, 0.0132916132, 0.0619455501, 0.0128184296, 0.0022862465, -0.0235611163, 0.0066759055, 0.0536760688, -0.0120720789, -0.0043651704, -0.0297540203, 0.0190172698, -0.0104507804, -0.0419251248, 0.0431884155, 0.0046257493, -0.0066047763, 0.0239422396, -0.0318541303, 0.0081711179, -0.0174513366, -0.0112263057, 0.0519209765, -0.0150600243, -0.0350227281, -0.0272833742, 0.0115802651, 0.0220703688, -0.0263936743, 0.0621611997, 0.0155933984, 0.0162433591, 0.0129573829, 0.0381354503, -0.0707397014, -0.0581452064, -0.0133556174, 0.0465136394, 0.0224072635, 0.0178933237, -0.0055538351, 0.0097188791, 0.0070100776, -0.039423354, 0.0091449264, 0.0198314916, -0.0329685621, 0.0517123826, 0.0525419377, 0.0057365019, 0.0107329441, 0.0855975896, -0.028374413, 0.022607537, 0.0094759194, 0.0239050966, -0.0493923388, -0.0112081012, -0.0027970455, 0.0552887432, 0.0021556669, 0.0002571815, -0.0421923883, -0.0397570319, 0.0182004888, 0.0053922213, -0.0199763216, -0.0273182727, 0.0541694835, 0.0632805377, 0.0097153923, -0.019990785, -0.0116158053, 0.0194684453, -0.0176548548, -0.0281066187, 0.0317469463, -6.614143778e-33, -0.0390487611, -0.0276073888, 0.0450430848, -0.00591231, -0.0241646562, 0.0132264821, -0.0355764404, -0.0140714459, -0.0117262844, -0.0440898314, -0.0610954203, 0.0235665403, 0.009839939, 0.0278770104, -0.0205259472, -0.0058859517, 0.0435588844, -0.0036544201, -0.0242689885, 0.0476571843, -0.0000566547, 0.027900612, -0.0062616705, 0.0129313394, -0.0011217088, -0.0124700051, 0.0306339469, 0.0140485093, 0.0268135164, 0.0500558615, -0.033231847, 0.0275395382, 0.0129260868, -0.0861087143, -0.0260423999, 0.0562900826, -0.0618145466, -0.0308992732, 0.0121297203, -0.028269764, -0.0174403731, -0.0726347268, 0.034971673, -0.0060133706, 0.0055755568, -0.016172668, 0.0106595466, -0.0279889051, -0.0531827658, -0.0527700707, -0.0295352601, 0.0108600808, -0.008924867, -0.0178478062, 0.019213777, 0.0573400147, -0.0032875184, 0.0684818178, -0.0176074188, 0.0022552677, -0.0027457743, 0.0662391484, 0.0682882369, 0.014047795, 0.0126057761, 0.0269133262, 0.0234713331, -0.0125123272, -0.0207184833, 0.0054948744, 0.0292273555, -0.0025427376, 0.042702917, 0.0483649783, 0.0563093051, -0.008821168, -0.0495468304, 0.032283619, 0.0311301704, 0.0179818347, 0.0234907027, -0.0045434176, -0.0163858514, -0.0183298606, -0.0644039065, 0.0282590799, -0.0359975919, -0.0088100145, 0.0541920215, 0.0104808956, -0.0076633869, -0.0658302754, 0.0628840998, -0.0173095725, 0.0152369225, 0.0134568699, -0.0163422115, 0.038240511, 0.0025440033, 0.0391827263, -0.0345722958, 0.0215411242, 0.0148014473, -0.0142599726, 0.0113488007, 0.0115278717, 0.0096436124, 0.0086942092, -0.0754960775, -0.0002997929, -0.0132353539, 0.0158585552, -0.0005364427, -0.0159050766, 0.0471280925, -0.0128536131, 0.0105815167, 0.0581084453, -0.021602435, -0.0269604158, -0.0151950102, -0.0493688844, -0.0067956042, 0.0212053303, -0.0395316035, -0.0145557979, -0.0408658944, 0.0530741513, 0.0413475707, -0.0474871211, -0.0208436679, 0.023885062, 2.949e-7, 0.0004250058, 0.0354179963, 0.0411367789, 0.0231769104, 0.0134813888, 0.0097255334, 0.0051289992, 0.0202040486, 0.0160188507, -0.0279405247, -0.002795299, 0.0161948558, 0.0345667563, 0.0173437726, -0.1578108519, -0.0007018425, -0.0589751638, 0.0098392982, -0.0629235879, 0.0069637019, 0.0639994815, 0.1194949448, -0.0279647764, -0.0158382617, 0.0251361206, -0.0275656823, 0.0108147729, -0.0321918763, -0.0037063137, 0.0134174302, 0.024291452, 0.0050341012, -0.001700966, -0.0102822958, 0.0183689855, -0.0036643534, 0.0019136423, 0.0763755441, 0.0268312041, -0.0514101647, 0.0223201606, -0.0211281162, -0.0058037969, -0.0539104082, 0.0930479616, -0.0205903202, 0.0089623211, -0.0363286547, -0.0124921761, -0.0436268561, -0.0013914353, -0.0014893555, 0.0226801876, 0.0179469492, -0.0113043534, -0.0354681835, 0.0075623132, -0.0938833728, -0.0353726223, -0.0020215085, -0.0198769961, -0.0585769601, -0.0698081851, -0.0147924861, 0.0194416903, -0.0814021006, -0.0130323116, 3.201422819e-34, 0.0408465117, -0.0254816022, 0.026174739, 0.035891857, -0.0106676426, -0.0231437311, -0.0083619496, 0.0100904573, 0.0340420678, -0.1088843793, -0.0422836393 ]
http://arxiv.org/abs/2310.06837v1
http://arxiv.org/pdf/2310.06837v1
Generating and Evaluating Tests for K-12 Students with Language Model Simulations: A Case Study on Sentence Reading Efficiency
2023-10-10T17:59:51
2023-10-10T17:59:51
Eric Zelikman, Wanjing Anya Ma, Jasmine E. Tran, Diyi Yang, Jason D. Yeatman, Nick Haber
cs.CL
cs.CL, cs.LG
Developing an educational test can be expensive and time-consuming, as each item must be written by experts and then evaluated by collecting hundreds of student responses. Moreover, many tests require multiple distinct sets of questions administered throughout the school year to closely monitor students' progress, known as parallel tests. In this study, we focus on tests of silent sentence reading efficiency, used to assess students' reading ability over time. To generate high-quality parallel tests, we propose to fine-tune large language models (LLMs) to simulate how previous students would have responded to unseen items. With these simulated responses, we can estimate each item's difficulty and ambiguity. We first use GPT-4 to generate new test items following a list of expert-developed rules and then apply a fine-tuned LLM to filter the items based on criteria from psychological measurements. We also propose an optimal-transport-inspired technique for generating parallel tests and show the generated tests closely correspond to the original test's difficulty and reliability based on crowdworker responses. Our evaluation of a generated test with 234 students from grades 2 to 8 produces test scores highly correlated (r=0.93) to those of a standard test form written by human experts and evaluated across thousands of K-12 students.
[ 0.0329764001, 0.0384683348, -0.0629141256, 0.0332128219, -0.0749530196, 0.0037097693, 0.0486900322, 0.0335453264, 0.0087266201, -0.0407007821, 0.0466159359, -0.0335383043, -0.0087992083, -0.0177512094, 0.0192835163, -0.038530875, 0.0059741787, -0.0292410702, 0.0211544689, -0.0094273919, -0.0102006868, -0.009802578, -0.0265467409, 0.0214694813, 0.029496327, 0.0004834411, -0.0106958644, -0.0235470105, 0.0259221494, -0.0520936549, 0.0317631327, 0.0736308992, -0.0270461179, 0.0257943533, 0.0000021353, -0.0242291056, -0.0121200019, -0.011844527, 0.0081612607, 0.0422814749, 0.0682504252, 0.0533322841, -0.002000981, 0.0351107903, -0.0372238606, -0.017221475, 0.0290843695, -0.0322996005, 0.0521309562, 0.0419718847, 0.0018363982, 0.0352512002, 0.0165923983, 0.0011084637, 0.0486114621, -0.0432554595, 0.0332589895, 0.0195530057, 0.0425708406, 0.0246347375, -0.0414263867, 0.0216042139, -0.0012860402, 0.0270784423, -0.0020568669, 0.0108630937, -0.0092638237, 0.0296658371, -0.0131692011, 0.0495282598, -0.0051598153, -0.031801194, 0.0063513601, -0.026460534, -0.0108839693, 0.0831889212, -0.0331699625, -0.0099413628, 0.0055337246, -0.0138364499, 0.0100211278, -0.0118373567, -0.0067396695, -0.0043443651, 0.0197087117, 0.0462659337, 0.0218383484, -0.061153125, -0.0311822277, 0.0604106709, -0.0260500349, -0.0440159924, 0.0499005578, -0.0047508525, -0.0188790448, 0.0039540958, -0.0136591289, -0.0958443657, 0.0380148105, -0.0116351722, 0.0540621988, 0.0343591198, 0.0300015248, 0.0384567156, -0.0247626603, 0.0719416291, 0.0234562922, 0.0171329603, -0.0438361131, 0.0353776813, -0.0526030064, 0.0029590242, -0.0225364994, 0.0050290888, -0.0294900294, -0.0036320954, -0.0624254644, -0.0041922783, -0.0244562961, -0.0219008792, -0.0002419216, -0.0171940792, -0.0141032403, 0.0078329509, -0.0338430665, 0.0181144327, -0.0479153432, 0.0140674002, -0.0024103082, 0.0130575821, 0.0085886335, -0.0083384691, 0.0229549091, -0.013502866, -0.0089125438, 0.0361305512, -0.0053126854, -0.0026800775, -0.0137441866, -0.0408883356, 0.0103897564, -0.0112242298, -0.0172235165, -0.0740076974, 0.0022291967, 0.0189104117, 0.0140880579, -0.016563857, -0.0169771127, 0.0226848647, -0.0133720366, 0.0366857052, 0.051073879, 0.0210264754, 0.031603802, 0.0035242271, 0.0240394957, 0.0379142575, 0.0456695966, -0.0133074718, 0.0155351656, -0.0569728538, 0.0359041952, 0.0458055958, 0.0018774788, 0.0435152799, -0.0043830122, -0.0245823879, 0.0017446813, 0.0229038056, -0.0329580382, 0.0593254119, -0.0040083444, 0.0279994961, 0.0683013722, 0.0628895611, 0.0111001031, -0.0076508368, 0.0199487619, 0.056894742, 0.003269406, 0.0293147955, -0.0155915823, -0.0043524066, -0.0363599323, 0.0113618644, 0.0063185445, 0.012129683, 0.0212732367, -0.0246748757, -0.0092307692, 0.0161862429, 0.0441742465, 0.0211932976, 0.0710752979, -0.0637401342, -0.0655176193, 0.0154029699, 0.0156486817, -0.0425854959, 0.0095823016, -0.0362426527, 0.0453749858, 0.0524511039, 0.0512802154, -0.0055326559, -0.004801963, 0.0062949611, -0.0071318098, 0.0349032171, 0.0280330591, 0.0018210978, -0.0191932339, -0.0463999137, -0.0249498449, 0.078057386, 0.0286707208, -0.0170101076, 0.0266222619, 0.0111242486, 0.0364236534, -0.0603695251, -0.0505290069, 0.0460468829, -0.0559976809, -0.0443062969, -0.0245793834, -0.0011931882, 0.0394000188, 0.0015226149, 0.0182295442, -0.0083677191, 0.0161695499, -0.0046511414, 0.0106576094, -0.0264586452, -0.0110944575, 0.0017085668, 0.0201325789, -0.0462638736, 0.003617232, 0.0918867514, -0.0087047312, -0.0338796638, 0.0055950778, -0.0291086491, 0.0055451095, -0.0217261687, 0.0265188795, -0.0398701057, -0.0461136252, -0.046940919, 0.0401639752, 0.0267587099, 0.0738194436, -0.0264787022, 0.0170157775, 0.0091445297, -0.0283302162, -0.040002171, -0.0149873551, 0.0041604294, 0.0460246541, 0.0241503324, 0.0048895343, -0.0625249892, -0.0370677412, -0.089761205, 0.0196191631, 0.0191370714, 0.0172165502, -0.0010023979, -0.0532196388, -0.0204326417, 0.0320128985, -0.0277841706, 0.0301315971, 0.0313965268, 0.0119349435, 0.0127246836, -0.0275432467, -0.0357093513, -0.0392991379, -0.0371790975, -0.0623147003, 0.0124993445, 0.0664699227, 0.0377578028, -0.0527460612, 0.034530092, -0.0034684481, -0.0136060584, 0.0386842601, -0.0479730591, 0.0295242853, -0.0088593177, 0.0642044619, 0.0613795556, -0.005712857, -0.0115768751, 0.0132407183, -0.0593573414, -0.0542179942, 0.0151308365, -0.0080194054, 0.0162100922, -0.0209593438, -0.0920034647, -0.0100633828, 0.0617734827, 0.0355696455, -0.0468427651, -0.0595611595, 0.0586890057, -0.0815878361, 0.0020518373, -0.0770035088, -0.0176322721, -0.0321820453, 0.0417359881, -0.0131442724, -0.0218922757, 0.0673408434, -0.017814083, 0.0223797783, -0.0902888551, 0.0233706869, 0.0015846428, 0.028633574, 0.0278853066, -0.0155007392, -0.0387766063, 0.0273425225, -0.0292028319, 0.0287366845, 0.0478610098, -0.0494166575, 0.0101248575, -0.0542868488, -0.0293761455, 0.0039481255, -0.0191732515, -0.0166358873, -0.0415064804, -0.0038138207, -0.0384365357, 0.035965018, -0.0233380236, -0.039512448, 0.0053953882, 0.0114578903, 0.0414888822, -0.0398086123, -0.0129616661, -0.0223451089, 0.0512506068, 0.028886592, -0.0281962305, -0.0095546702, -0.0857133493, -0.0073414771, 0.0480251946, 0.0381791741, 0.0298005603, 0.018607825, 0.0188574512, 0.0234883502, -0.0187437143, 0.0188940782, 0.0403219163, 0.0433333442, -0.0706462637, 0.0238642879, 0.0910774693, 0.0425825678, -0.0169290565, -0.0137318214, 0.0084557189, -0.0063724257, -0.0105460668, 0.0395572186, -0.0471805111, -0.0004330811, 0.0112463403, 0.059162382, -0.0436438657, -0.0362541489, 0.0162287802, -0.1168246195, 0.044017408, 0.0211437102, -0.0292072184, 0.0462468714, -0.0343690068, -0.00045219, -0.0012138846, 0.0107748229, 0.0081162155, 0.0309275631, 0.0263040047, 0.0082126707, -0.0084886448, -0.034360189, 0.055538401, -0.0082649142, 0.0694436207, 0.0090793204, 0.012940214, -0.0663055703, -0.0798115805, 0.0192558542, -0.0228180792, -0.045298513, 0.009831409, 0.0143786352, 0.0418929048, -0.0029615182, -0.0610243641, 0.0122164506, -0.0455610566, 0.0093017705, 0.0534753501, 0.0647688359, 0.0624707751, -0.0587765127, -0.0157057904, 0.0022619516, 0.0190872587, 0.0780002847, 0.0160716493, -0.0830515549, 0.0005525649, -0.0521450415, -0.0044750767, -0.0715979785, -0.0616122223, -0.0005720793, -0.0184618644, 0.0107539017, -0.0594564043, -0.0338451751, 0.0782148764, 0.0199928246, 0.0268275626, 0.0177982002, 0.0569386706, -0.0418593995, -0.0304249432, 0.0434379429, -0.0060951337, 0.0077519547, -0.0754916519, -0.0263184216, 0.0025631292, -0.0018909469, -0.0510223284, 0.0694300458, -0.1263745576, -0.0654499456, 0.0488600582, 0.020330321, 0.0278755035, -0.0364058279, 0.0059680436, -0.0179602765, -0.0094128996, -0.0265422929, -0.0401770994, 0.0345733762, -0.0409994945, -0.0371158347, -0.0006302205, -0.025672812, 0.01265876, 0.0325223766, 0.029819848, 0.0384577177, -0.035013333, -0.0570315309, 0.0071832752, 0.0623754412, 0.0546282344, 0.0014750364, -0.0368969962, -0.0472316593, -0.0071473573, -0.0369839072, -0.0061938018, -0.0178624578, -0.0514664315, 0.0199996177, -0.0042506126, -0.0193285756, -0.0411456898, -0.0152338566, 0.0280431639, -0.0457834415, 0.0524506047, -0.0304204114, 0.0410378724, 0.0388436653, -0.0067291125, -0.0073300498, -0.0156263653, -0.0226080026, 0.0891902, 0.0306169335, 0.0451432578, -0.0042562787, -0.006734571, 0.0032391499, 0.0011846693, -0.0170214456, -0.0055613252, -0.0381089449, 0.0346680917, -0.0438551418, 0.0067732758, 0.030261904, -0.0502999648, -0.0009840694, -0.0366794057, -0.0185993295, 0.0231460631, 0.0343886353, 0.0122551201, 0.0251228716, 0.0208987556, 0.0070149233, 0.0484733582, 0.0296066217, -0.0323306732, 0.0005664101, -0.0221257769, -0.0528508388, 0.039978791, -0.0035003168, 0.0596609637, -0.0086539825, 0.019650314, -0.0647350922, -0.041155152, 0.0245062113, 0.0589867271, 0.0411537625, -0.022993179, -0.005715616, 0.0448867716, -0.0582592264, -0.0008558109, -0.0342410691, 0.0245284326, -0.0372495987, -0.0504556, -0.0041385051, -6.765940507e-33, -0.0317610092, -0.072817795, 0.0215723123, -0.0120054549, 0.0109811649, 0.0074593551, -0.0379244015, 0.0396510474, 0.037771754, -0.0059056547, 0.0054796115, -0.0041103875, 0.0133885369, 0.0230697449, 0.023613425, 0.031177083, 0.0268491376, -0.0099472459, -0.0335719585, -0.0223409068, -0.0051766159, -0.0165266804, 0.0367096215, -0.0237746928, 0.0549570136, -0.0479495749, -0.0085307676, -0.0096552595, -0.0280493554, 0.0302499812, -0.0220357329, 0.0627056807, 0.0274340454, -0.0286746379, 0.018336108, 0.0100815939, -0.0366509706, -0.0202533752, 0.0149750644, -0.0182002801, -0.0552913845, -0.0144512663, 0.0430496559, 0.0126506388, -0.0295789354, -0.0033122753, 0.0526582114, -0.039654918, -0.0083050439, 0.0488254502, -0.0385204293, 0.0147529077, -0.0319254473, 0.0053726765, 0.0042874929, 0.0260560773, -0.0142922625, 0.0141543625, -0.0563402586, 0.0449486449, 0.0589152277, 0.0314226262, 0.0158500541, -0.0132161006, 0.0095752729, 0.0626970828, 0.031409286, -0.0034611472, -0.0020977652, -0.0330836363, 0.080612354, -0.0259783249, 0.0945625901, 0.0799022615, 0.0395482257, -0.0389901362, -0.0571628809, 0.0475729629, 0.0173757561, -0.0372861587, 0.0435048491, -0.0116584403, -0.1081896201, -0.0418515019, -0.0291896667, -0.009506871, -0.0438579097, -0.0218131691, 0.0593474023, -0.0363039784, -0.0474202372, -0.0228870343, 0.0317694396, -0.0109956469, -0.0068241255, -0.0305738691, -0.0296505708, 0.0575124137, -0.0320799053, 0.0196482819, -0.0115428325, 0.0057783844, -0.029515082, 0.0140474644, 0.0155256772, 0.0131625086, -0.0365204625, -0.0253300667, -0.0651890114, 0.0285360534, -0.0242063161, 0.0093651889, 0.0157516915, -0.0072019268, 0.0139680021, 0.024150975, 0.023092635, 0.0154394154, 0.033925619, -0.0693195984, -0.0319109857, 0.0142643517, -0.0106621329, -0.0282957572, 0.0084826108, -0.0274755303, -0.0119446442, 0.0163056906, 0.0262819454, -0.0244846493, 0.0002519025, 0.008483218, 2.787e-7, 0.0187720414, 0.0904049948, -0.0205684211, 0.020328939, -0.0011581747, 0.0204219017, -0.033106219, -0.0197980143, 0.095173873, 0.0383964926, 0.0127832992, 0.0281660035, 0.0507201925, 0.0469960086, -0.0814844519, -0.0007529036, -0.0059524239, 0.0303502399, -0.050157655, 0.0240196101, 0.0782615021, 0.0002527616, 0.0249317531, -0.0064217113, -0.0321465805, -0.050026767, 0.0110939723, -0.041150596, -0.037876036, 0.0176799055, -0.0015115364, -0.0170269217, 0.0281009581, 0.0814201385, -0.021533696, -0.0151287429, 0.009599301, 0.0441430025, 0.0186803471, 0.0148395943, 0.0126402751, -0.0167940371, 0.007975704, -0.0708675459, 0.0317559838, -0.0013209068, 0.0084959194, 0.05336871, -0.0276528746, -0.0565703474, 0.0059150415, -0.0227612276, -0.0208351184, -0.0049979449, 0.0061532576, 0.0027256042, 0.0223824959, 0.0102432379, -0.0149039775, -0.0311889425, -0.0398727134, -0.0816088617, -0.0411515683, -0.0058175209, -0.0080940556, -0.042045489, 0.0265233405, 2.457760782e-34, 0.0392533466, 0.0308277588, 0.0385686271, -0.0395445898, 0.0313216522, 0.0039606034, -0.011342058, 0.0123133585, 0.0189140346, -0.0794752836, -0.0263546389 ]
http://arxiv.org/abs/2310.06830v1
http://arxiv.org/pdf/2310.06830v1
Lemur: Harmonizing Natural Language and Code for Language Agents
2023-10-10T17:57:45
2023-10-10T17:57:45
Yiheng Xu, Hongjin Su, Chen Xing, Boyu Mi, Qian Liu, Weijia Shi, Binyuan Hui, Fan Zhou, Yitao Liu, Tianbao Xie, Zhoujun Cheng, Siheng Zhao, Lingpeng Kong, Bailin Wang, Caiming Xiong, Tao Yu
cs.CL
cs.CL
We introduce Lemur and Lemur-Chat, openly accessible language models optimized for both natural language and coding capabilities to serve as the backbone of versatile language agents. The evolution from language chat models to functional language agents demands that models not only master human interaction, reasoning, and planning but also ensure grounding in the relevant environments. This calls for a harmonious blend of language and coding capabilities in the models. Lemur and Lemur-Chat are proposed to address this necessity, demonstrating balanced proficiencies in both domains, unlike existing open-source models that tend to specialize in either. Through meticulous pre-training using a code-intensive corpus and instruction fine-tuning on text and code data, our models achieve state-of-the-art averaged performance across diverse text and coding benchmarks among open-source models. Comprehensive experiments demonstrate Lemur's superiority over existing open-source models and its proficiency across various agent tasks involving human communication, tool usage, and interaction under fully- and partially- observable environments. The harmonization between natural and programming languages enables Lemur-Chat to significantly narrow the gap with proprietary models on agent abilities, providing key insights into developing advanced open-source agents adept at reasoning, planning, and operating seamlessly across environments. https://github.com/OpenLemur/Lemur
[ 0.0500495881, 0.0555306002, -0.0281834099, 0.0373357609, -0.0309605189, 0.0147077981, -0.0389714986, -0.0370068252, 0.0523391776, -0.0239320621, -0.0275647696, 0.0346511155, -0.0315498747, 0.0916661769, 0.0159575734, -0.0330525488, 0.0483157188, -0.0368954875, 0.0101575712, 0.0183563512, 0.0146332532, 0.0196173582, -0.0103910882, 0.0638720319, 0.0227890164, -0.0082239173, -0.0453528166, -0.0121496767, -0.0101925647, 0.0021747658, 0.0263240859, 0.0295984615, 0.0319512486, 0.0167217683, 0.0000021266, -0.0479886569, 0.0277143065, -0.0068363193, -0.0235204156, -0.0407830179, 0.0726615638, -0.0179449264, -0.0142311631, 0.0291574765, -0.0866943523, 0.0027643896, 0.0688048899, -0.0205301084, 0.0662594587, 0.0852613151, 0.0052097016, 0.0060384665, -0.0026678036, 0.0177617464, 0.0118686371, -0.0480892025, -0.0216678753, 0.0121777253, 0.0644014627, 0.0212676432, 0.0007340336, 0.0224189758, 0.0481042415, -0.022638116, 0.0057256636, 0.0371991545, -0.0717694461, -0.0536875203, -0.0419153236, 0.0645808727, 0.0003404215, -0.032810811, 0.025082862, 0.0085282903, 0.0319542512, -0.0369551145, -0.0148478933, 0.0354742073, -0.000304486, -0.0007418715, 0.0088414652, -0.0275771562, 0.0019505873, 0.0256022494, -0.0000934701, 0.0436750911, -0.0213119388, 0.0127456235, -0.0098955464, -0.0266919173, 0.0018132926, -0.0924738571, 0.0022711135, 0.0673470795, -0.038278196, 0.0307031069, -0.0578322969, 0.0223705657, 0.0269155446, -0.0447727852, -0.025545314, 0.0620069392, -0.0237083659, 0.0428412259, 0.0023810165, 0.0510349795, 0.021255251, 0.0381529368, 0.0011689954, -0.0142445462, -0.0692666396, -0.0146453846, -0.0322836079, 0.0128408559, -0.0474821106, -0.0206682812, 0.0101970509, 0.0816629305, 0.0086173909, 0.0285005495, -0.004721079, 0.0100635458, -0.0509672314, -0.0018940159, -0.0493160821, -0.0132838869, -0.023907328, -0.0103449915, 0.0244564489, -0.1027395129, -0.0017538718, 0.0113128517, -0.0251207612, -0.0153554203, 0.0001639697, 0.1045788303, 0.0000697623, -0.0152187161, -0.0073561319, -0.0029934212, 0.0029278931, -0.069547005, -0.0099976202, -0.0662354678, 0.0175345652, 0.0122327898, -0.03457959, -0.0769639611, 0.0104876952, 0.016257802, -0.0027081741, 0.0803686157, -0.0492625237, -0.0075446689, 0.0148567241, 0.0123158228, -0.0300755873, 0.0679228157, 0.0399550162, 0.0150865978, 0.0157862622, 0.0054587736, 0.0281596724, 0.0231240634, -0.0409092046, -0.0304375812, 0.0334565192, 0.0492978841, 0.0032924504, 0.0231017396, 0.0079474347, 0.0400057212, -0.009203217, -0.0248444211, 0.0496640578, 0.0583342537, -0.0244486369, 0.0219833106, 0.060527239, 0.0670969561, 0.0039770706, -0.0469674543, -0.0647777542, 0.0635131449, -0.009987127, -0.0002513918, -0.0442006513, 0.0256640818, -0.0137545103, -0.0725221783, -0.0067426567, -0.0347087979, 0.0641638935, 0.0067359745, 0.0204879194, 0.0093742255, -0.0486473031, 0.0055622398, 0.0174100325, -0.0668960437, -0.0263980944, -0.0660005286, 0.0091551226, 0.081298463, 0.0395068973, -0.0286038332, -0.0491391718, -0.0064649186, 0.0066412105, 0.0536789298, 0.0455393903, -0.0135836489, 0.0170140509, -0.0319444649, -0.0033472765, -0.0429483727, 0.0025475398, 0.0270831492, 0.010057481, 0.0052132616, -0.0126997018, 0.008032687, -0.0245189909, 0.0361838192, -0.0392282233, 0.0003349478, -0.0434945077, -0.0151413279, 0.0349317491, -0.0092458902, -0.0003710201, 0.0174688622, 0.0255571958, 0.0127822654, -0.0309344195, 0.0413408354, -0.0073546288, -0.0324969143, 0.0514771938, -0.0150803076, -0.026019711, 0.0651328042, -0.0216622148, -0.0106183263, 0.0682172477, -0.0266470201, 0.0433132835, -0.0253201015, 0.0168791544, -0.0009841198, -0.0180172995, 0.0141209448, 0.0455705151, 0.0276540536, -0.0278871004, 0.0007567645, 0.0470029861, 0.0008030735, -0.0282630492, -0.002265085, 0.0205838066, -0.0064311116, 0.0297764726, 0.0181620792, 0.046228949, -0.0362782218, -0.0479002036, -0.0936289728, 0.0093338843, -0.0256614592, -0.0128282569, 0.0194332693, 0.0005183035, -0.0094733778, -0.0098506017, -0.0285925847, 0.0122477617, 0.0013917544, 0.015453265, 0.0399263352, -0.0046326923, -0.070918262, -0.0625982434, 0.0163815729, -0.0142422961, -0.0112521062, 0.0252755601, -0.0099730352, -0.0343679078, 0.0431144424, -0.051327914, 0.0411459617, -0.0315919295, -0.0600689165, 0.0288277492, -0.0289192516, -0.0066498681, 0.058790803, -0.0003215487, 0.0257658139, 0.0397238918, -0.0121938372, -0.0551804751, 0.0475203358, 0.0013785089, -0.043466866, -0.0395527966, -0.0003093007, 0.0185578391, 0.075520657, -0.0086724283, 0.0102481563, -0.0540125966, 0.0173593499, 0.0172002967, -0.0475229509, 0.0223460868, -0.0124221873, -0.0121769924, 0.0387847647, -0.0407112911, -0.0560750142, 0.0936614871, -0.0093702609, -0.0487372465, -0.0452514701, -0.0363849103, -0.0526669025, 0.0816732645, -0.0032519877, -0.0007098783, 0.0210536644, -0.0208321121, -0.0328988358, -0.0119106742, 0.0178466607, -0.0230533239, 0.0159522779, -0.077793017, 0.020290114, 0.0148760052, -0.0561214462, -0.0317672901, -0.0129634971, -0.0459542386, 0.0184961297, 0.0186061859, -0.0182513241, -0.0325034745, -0.0119048096, 0.0042251679, 0.0301637203, 0.0166201107, -0.0253785346, -0.0373084098, -0.0677570254, 0.0116598541, 0.008370474, -0.0151003171, 0.0012334734, 0.0177480206, 0.0284385514, 0.0099767335, -0.0052549858, -0.0409739055, 0.0250345599, 0.0140963588, -0.0094850659, -0.0308702867, 0.0419011638, 0.0604490452, -0.0649486557, -0.0214511491, 0.1146610752, 0.0145736299, -0.0165068842, 0.0168704093, -0.0563706346, 0.0429914035, 0.0496303141, 0.0476008095, -0.0739362612, -0.0603228249, -0.0042824666, 0.0070944685, 0.0089589842, -0.0416293181, -0.0132530201, -0.0919984877, 0.0264527984, -0.0007337272, -0.0335240252, -0.0205430817, -0.0367115475, 0.0002215837, -0.0422099121, -0.0197353531, 0.0154497372, 0.0078632198, 0.0008519763, -0.0136936661, -0.0326619446, -0.0154816834, 0.0345848091, -0.0432960354, 0.0610714145, 0.1037637144, 0.0301065054, 0.0122246305, -0.0165454056, 0.0064658173, 0.0424477942, 0.018511286, -0.0034375857, 0.029409131, -0.0259925779, -0.0142519316, -0.0232848916, 0.04269756, -0.0476025082, -0.0135890413, 0.0091616185, 0.0431062207, -0.0177531447, -0.0025585631, -0.0258235671, 0.012726957, 0.0468218215, 0.0523763709, -0.0011195862, -0.0138554526, -0.0782912076, -0.0609804504, -0.0393497273, -0.0135464706, -0.0468575098, 0.0142894005, 0.0238687377, -0.048330795, -0.0597464964, -0.068689853, 0.063022688, -0.0005919483, 0.0216851309, -0.0130478805, 0.0121620269, 0.0296267625, -0.0142430514, 0.027282808, -0.0317792334, 0.0207311045, -0.0354867056, -0.0334917232, 0.006830194, -0.0475718491, -0.0069966009, 0.0196581576, -0.0489441045, -0.0709340274, 0.0064826338, 0.0695051849, 0.0283139516, 0.022374792, -0.0317513756, -0.0301450789, -0.0492354818, 0.022494169, -0.0823875293, 0.0200245064, 0.0414494611, 0.0225476138, 0.0321052223, 0.0490697101, -0.0665322095, 0.0156196868, -0.038368687, 0.0355480313, -0.0169054586, -0.001811062, 0.0206473526, -0.0086694518, -0.01726171, 0.0264683031, -0.0287459511, -0.0146722766, -0.0080905482, -0.0087696174, -0.0274624377, -0.0750113204, 0.0139933703, -0.0174944196, 0.0085945847, 0.068080537, 0.0080288453, -0.0383826643, 0.0369749293, 0.0231710337, 0.0313250609, 0.0401017927, 0.0370213836, 0.0299732741, 0.0109469071, -0.0366320424, 0.0351282619, -0.0336066, 0.0392603837, -0.0155420955, 0.0610227659, -0.0093188854, -0.0106608709, 0.0221392307, 0.014798875, -0.073363699, -0.0770428106, 0.0456549861, 0.0299009513, 0.0331757665, 0.0455976725, 0.0430916063, -0.0620203242, 0.0327691212, -0.0085441172, 0.0527132563, 0.0029357232, -0.0740355924, 0.0240642987, 0.0277675092, -0.021283377, -0.0498360097, 0.0570789836, 0.0005727911, 0.0617245622, -0.0199609697, -0.0178750865, -0.033760827, -0.0191194415, 0.0401013345, -0.0115535874, 0.0071674655, 0.0007051352, -0.0408027321, -0.0463813134, -0.0128626619, 0.0410360061, -0.0149934171, -0.0343015827, 0.0599848218, 0.0607084371, 0.0029431495, -0.0294460803, -0.0419527031, -0.0000164399, -0.0037054375, -0.0135409161, -0.0339725912, -5.637359033e-33, -0.0329182856, -0.0020085298, 0.0645081848, 0.0135982931, 0.0098520042, -0.0318321548, -0.0610756278, -0.0016630137, -0.0527120568, -0.0229045115, 0.0031657778, 0.048122216, 0.0051629404, -0.0133414408, 0.0199740045, -0.0090549849, 0.0286871623, 0.0062574917, -0.0273904037, 0.0026558032, 0.0081793005, 0.0054182829, 0.024983922, -0.0571297333, 0.0359098651, 0.0013957134, 0.0115946885, 0.0268438272, 0.0075278357, 0.0407796428, 0.0008837223, -0.0118463682, -0.0011070571, 0.0064550638, -0.0397062898, -0.0008856258, -0.0246664081, -0.0187259261, 0.0262625199, 0.0110424319, -0.0389155149, -0.0273910519, 0.0392322168, -0.0265979134, -0.014598337, 0.0123815797, 0.0247253422, -0.0047633462, 0.0229793377, 0.0591228567, -0.0784645304, 0.029648155, -0.0425074473, -0.0427850634, -0.0084485831, 0.0438911356, -0.0113409022, -0.0295673385, -0.015008349, 0.0292393658, -0.0054096454, 0.0083408514, 0.0761978701, 0.0016207397, 0.0277623944, 0.063477248, 0.0540686026, 0.016489692, -0.0245057549, 0.0262667742, 0.0258398894, 0.0805241987, 0.0210172236, 0.0565150566, -0.0135763977, 0.0083973119, -0.0295392349, 0.0176887289, 0.0308974348, 0.0424183607, -0.004865061, 0.0447347537, -0.059085995, -0.0114852395, -0.0242955424, 0.0360419936, -0.005887825, -0.0562028475, 0.0421272255, 0.0045061666, 0.0050095143, -0.0237475131, 0.0116185974, -0.0280537754, -0.0001140332, 0.0358701646, -0.0379600264, 0.0276088417, -0.0068780142, 0.0334258154, -0.0509374216, -0.0011027928, 0.021221349, 0.010626155, 0.0610353798, 0.03512308, -0.0097578168, 0.0614994839, -0.0219311677, -0.0099755004, -0.0616409741, 0.0211690236, 0.0041165408, 0.0007546555, 0.0166181233, -0.0169503577, -0.0157878548, 0.0471930578, -0.0236920062, -0.0490606539, -0.0624824353, -0.010822325, 0.0031982274, -0.0111221327, -0.0515716299, -0.0260887519, -0.077286832, 0.0411285087, 0.007139517, -0.0435840078, -0.0039290264, 0.0155198351, 2.831e-7, 0.0065480703, 0.0053794519, 0.0192424208, 0.0406359956, -0.0058286767, 0.0377860554, -0.0308207795, 0.0534318276, -0.0083990255, -0.0190123133, -0.0298625287, 0.0683991984, 0.031920217, 0.0277583655, -0.0935501307, -0.0200699233, 0.0006090043, -0.0143085308, -0.0620783083, -0.0201710835, 0.0495497547, 0.0638092309, 0.0281545203, 0.0103556551, -0.0086357938, -0.069338955, 0.0194488037, -0.0273677688, 0.0091121243, 0.0171016101, -0.0417249165, 0.0368198939, -0.0160746593, -0.0092638182, 0.0143101616, 0.0023947237, -0.0218224395, 0.090167135, -0.0240717996, -0.02057801, 0.0246739686, -0.0143686747, -0.0312766954, -0.0266384538, 0.0610932596, -0.0391262472, -0.0331567749, -0.0097069647, -0.0006663005, 0.004509843, -0.0498417281, -0.0195577461, -0.0398146138, -0.0049054679, -0.0062121507, -0.04311404, -0.0033840095, -0.0590735301, -0.0171774626, -0.0370722339, -0.0280511715, -0.0540440753, -0.0491233356, 0.0313745178, 0.0207668785, -0.0279330332, 0.0213061608, 2.666023713e-34, 0.0113274716, 0.010679448, 0.0053040031, 0.056728743, 0.0756517947, 0.0177227408, 0.0211115684, 0.0231843814, 0.0531271026, -0.0344161876, -0.0393258631 ]
http://arxiv.org/abs/2310.06827v3
http://arxiv.org/pdf/2310.06827v3
Teaching Language Models to Hallucinate Less with Synthetic Tasks
2023-10-10T17:57:00
2023-11-07T05:11:46
Erik Jones, Hamid Palangi, Clarisse Simões, Varun Chandrasekaran, Subhabrata Mukherjee, Arindam Mitra, Ahmed Awadallah, Ece Kamar
cs.CL
cs.CL, cs.LG
Large language models (LLMs) frequently hallucinate on abstractive summarization tasks such as document-based question-answering, meeting summarization, and clinical report generation, even though all necessary information is included in context. However, optimizing LLMs to hallucinate less on these tasks is challenging, as hallucination is hard to efficiently evaluate at each optimization step. In this work, we show that reducing hallucination on a synthetic task can also reduce hallucination on real-world downstream tasks. Our method, SynTra, first designs a synthetic task where hallucinations are easy to elicit and measure. It next optimizes the LLM's system message via prefix-tuning on the synthetic task, and finally transfers the system message to realistic, hard-to-optimize tasks. Across three realistic abstractive summarization tasks, SynTra reduces hallucination for two 13B-parameter LLMs using only a synthetic retrieval task for supervision. We also find that optimizing the system message rather than the model weights can be critical; fine-tuning the entire model on the synthetic task can counterintuitively increase hallucination. Overall, SynTra demonstrates that the extra flexibility of working with synthetic data can help mitigate undesired behaviors in practice.
[ 0.0241505075, 0.0378108136, 0.0056059966, 0.008398273, -0.0127450349, 0.0091242949, -0.0414725281, 0.0098255388, -0.0132725947, -0.0220309738, -0.0176485162, -0.0561590232, -0.0046775918, 0.0028277149, 0.031526234, -0.0630637631, 0.0528345779, -0.049359031, -0.0286136549, -0.0059965714, -0.0072163199, 0.0082723117, 0.0192412697, 0.0328478515, 0.0067299926, -0.0138507774, -0.0016404557, 0.0087190792, 0.002829452, 0.0250526629, 0.0105304141, 0.0701595023, 0.0226022247, 0.0274044387, 0.0000018996, -0.0435907654, 0.0089439452, -0.0228283964, -0.0312631503, 0.0127723673, 0.0641156882, -0.0187640581, 0.0152314352, 0.0303567369, -0.028902445, 0.0023605484, 0.0309397802, 0.0723815635, 0.0589455105, 0.0771283209, 0.0061913948, 0.00072867, 0.0224531218, -0.0120972004, 0.0454803817, 0.0156547297, 0.0111245578, 0.032440085, 0.0039068111, -0.0278900284, 0.0006901049, 0.0462415069, 0.0214113817, 0.0197193809, 0.0322462916, 0.0378527828, -0.0972782299, -0.0169035979, 0.0215734318, 0.048860997, -0.0527538694, -0.0626228079, 0.0277304873, 0.0201211665, 0.0345031954, -0.0242490824, -0.0648533329, 0.0229290575, -0.0242350791, 0.0136225307, 0.026121024, -0.0110879708, 0.0359865576, 0.0154648004, -0.0289081819, 0.0163769778, 0.006498836, -0.0330242366, 0.0141642271, 0.012001114, -0.0410265662, -0.0353392214, 0.0197041854, 0.0250796285, -0.0754133835, -0.0064716935, -0.0417781137, -0.0528317392, 0.0190874673, -0.0631522611, 0.0263465196, 0.0288233384, -0.0023583216, 0.039651826, -0.0334735587, 0.0226685908, 0.0108137317, 0.0882951394, -0.0541435108, 0.0162473321, -0.0314335003, -0.0203790832, -0.072900787, 0.0265285689, -0.0376682281, -0.0115238354, -0.0150655424, 0.0152065242, -0.0164601933, -0.0205153078, 0.0033634086, 0.038851276, -0.0296606962, -0.0130421733, -0.0048855906, -0.001389589, -0.0396526866, -0.018519504, 0.0356863923, -0.030037025, -0.0432889201, 0.0048302379, -0.0012904217, 0.0120544927, 0.0131878871, 0.0347356312, -0.0358457454, -0.0049966434, -0.0265962537, -0.0369584039, 0.0037324857, -0.0618493408, 0.0158115085, -0.0513006076, 0.0179031678, 0.0007498904, -0.0205067787, -0.0151494462, 0.0077671972, 0.0021688263, -0.0336314179, 0.064006716, 0.0077090906, 0.0143898679, 0.0250046328, 0.0208183751, -0.0180908535, 0.0826042593, 0.0211375132, 0.0513109379, 0.0034182181, 0.0056652059, 0.0502865128, 0.0141050061, 0.0343211666, -0.0003920198, -0.0108179562, -0.007649695, 0.0023042473, 0.0219879784, 0.0543475486, 0.089253135, -0.040046405, 0.0135482904, 0.0574903004, 0.0250416566, 0.0221316088, 0.0003678965, 0.0431737751, 0.0011723909, -0.0057034674, 0.0608159006, -0.0837298483, 0.0510199815, -0.0410937965, 0.0518285111, 0.0690387338, 0.0015681983, -0.0448514633, -0.0645873994, 0.0008634822, 0.0124977911, 0.0073497645, 0.0306649394, 0.005720065, 0.0413572155, -0.0764418766, 0.0760320425, 0.0253455993, -0.0550781861, 0.0237116367, -0.0532294884, 0.0000813161, 0.1043256447, 0.062733762, -0.0392176323, 0.0080319913, -0.0145188002, 0.0321515426, 0.0559691601, 0.0478083901, -0.0147318067, 0.0127726505, -0.0458918847, 0.0095830066, -0.0007696305, 0.0483671986, -0.0264256988, 0.0100817904, -0.0311844274, 0.027883742, -0.031562686, -0.0767744333, 0.0420668609, -0.041066438, -0.0598244816, -0.0393115766, -0.0290612392, -0.0005246833, -0.0142811621, -0.0000139663, 0.049512364, 0.0138540082, -0.0584119447, -0.0348195396, -0.0173722934, -0.0664541945, -0.0346912779, 0.0254592653, -0.0233458485, 0.0149803888, 0.0450268164, -0.0187275782, -0.0460991189, 0.0213553645, -0.0745727196, 0.0453810208, -0.0478974134, 0.0330881104, 0.0027667992, 0.0206986833, -0.0267700013, 0.0695271268, -0.0238705017, 0.006500666, 0.0382144116, -0.0092536826, -0.0486332811, -0.0095133511, 0.0007144152, 0.0016289271, 0.0179648511, 0.0369981825, 0.0249411687, -0.0235714372, -0.0536826476, -0.0385938585, -0.0835782737, -0.0005602396, -0.049269788, -0.002804772, 0.0571301915, 0.0091348523, -0.0019224922, 0.0183137115, -0.045284871, -0.0191510972, 0.0139625678, 0.0337962769, -0.005181646, 0.010132038, -0.0055512902, -0.0501899794, -0.0111880256, -0.0121032149, 0.0400704592, -0.0340963118, -0.0241017211, -0.0681558624, 0.0748399571, -0.0150169572, 0.0143983513, -0.0009508565, 0.0021036861, -0.0043864078, -0.0249185599, 0.1009533256, 0.0897514224, 0.0229170248, 0.0169821903, 0.0775650665, -0.0042829937, -0.0377815068, -0.0005033411, -0.0194767322, 0.00147315, 0.0025562576, -0.0483937673, 0.0063186572, 0.0567674376, 0.0069324421, 0.0056054532, -0.0683734789, 0.0242480393, -0.0288374573, -0.0509700179, -0.0248905644, -0.0081610391, -0.0312991925, 0.0418539084, -0.0555468649, -0.0341227055, 0.0855292082, 0.001484037, -0.0059579369, -0.0459225364, 0.0034797795, -0.0206600782, 0.0057806405, 0.0025891808, 0.0212995466, -0.0217409916, -0.0112218028, -0.0672808513, -0.0054446426, 0.0060561355, -0.0634862706, 0.0496863164, -0.025605185, -0.0002094965, -0.0051566022, -0.0263611563, -0.0471130908, -0.0118673537, 0.0043593552, 0.0293176603, 0.0014628065, 0.0249843821, -0.04685333, 0.0054560881, 0.0245116614, 0.0750394911, -0.035405606, -0.0281059369, -0.0068431143, -0.0052096122, 0.0827256963, -0.0107486499, 0.0454926379, -0.0777231604, 0.0383031368, 0.0491200611, 0.0721943006, 0.0109619098, -0.0067639337, -0.0194557328, 0.0118424213, -0.0403697267, 0.0071963985, 0.0105422754, 0.0227364302, -0.0552117974, -0.0326988287, 0.1034990326, 0.0274315756, -0.0596328415, 0.0245128684, -0.0482396707, 0.0874464735, 0.0179190356, 0.0388908051, -0.0553056635, -0.0132826343, 0.009632892, 0.0104480488, -0.0134743955, -0.0109221572, 0.0051446739, -0.0882281512, 0.0103313318, 0.0377799347, -0.0441029109, -0.0239552762, -0.0095276702, -0.0099291466, 0.001450429, 0.0448842049, 0.0238858219, -0.0122807724, -0.0222916678, 0.0222453084, -0.0233049467, -0.0179638024, 0.0056258379, -0.0199595951, 0.0249234196, 0.0536062084, 0.0056748614, 0.0165813062, -0.0351550877, 0.0608012266, 0.0036642323, -0.0049415561, 0.0090128658, 0.0832386985, 0.0127577698, 0.0133677237, -0.0046806117, 0.040782962, -0.026152676, -0.0137297027, -0.0387065597, 0.0517957248, -0.0147956768, -0.0417479649, -0.0258069243, 0.0393649526, 0.0072613889, 0.0890429989, 0.0377010889, -0.0216195248, -0.0517347753, -0.0195519049, 0.0119104451, -0.058354333, -0.0517318211, 0.0153016197, 0.0302940737, -0.0161492247, -0.0897208825, -0.0566357784, 0.0465967581, 0.0148840789, -0.0181999356, 0.0176657215, -0.0458191298, -0.0090942206, -0.052317623, 0.0438499786, -0.0596969947, -0.0061634635, -0.0191934779, -0.0274633467, 0.0281005297, -0.0141038503, 0.0045043104, 0.0369196422, -0.0797043741, -0.0749518201, -0.0007977101, 0.0397871211, 0.0288660452, 0.0658965334, -0.000202716, -0.0398750566, 0.0509948879, 0.0156687573, -0.0010923259, 0.0211992487, 0.0204746462, -0.0103420867, 0.0082397088, 0.0390136726, -0.0368574858, 0.0001444198, 0.0150549179, 0.0427973159, 0.0021866753, 0.0192630291, 0.0484686047, 0.0189330876, -0.0059582437, -0.0095270593, 0.0033017779, -0.0296933949, -0.0047003278, -0.0188483354, -0.0200200286, -0.0396468826, 0.0128686782, 0.0064212703, -0.0009456706, 0.022861775, 0.0268321075, -0.0162823107, -0.0093043316, -0.0200217888, -0.0626498535, -0.0452031307, -0.0176948607, 0.0289104134, -0.0080125723, -0.0566928647, -0.0014627167, -0.0061148233, 0.0521885082, 0.0014313884, 0.0251022931, 0.0178080499, 0.0087510729, -0.045631934, 0.0375788137, -0.0843004808, -0.054682944, -0.0517360158, 0.0288471952, 0.0393503606, -0.0268641803, 0.0663845167, -0.0268990286, 0.0071219536, -0.0213338826, -0.0074812653, 0.027889004, -0.0260819383, -0.0298967399, 0.0416693166, 0.0038410376, -0.0240777172, 0.0924301893, -0.0101511562, 0.0435599536, -0.0210905056, -0.0016478988, -0.0423909761, -0.0637114197, -0.0241992474, -0.012601289, -0.0221323241, -0.0216485783, -0.0522904098, -0.0494191423, -0.0062853685, 0.0124840103, -0.0222738329, -0.0355508141, 0.0585440397, 0.0443786718, -0.0415513963, -0.0351720639, -0.0271015298, -0.021572765, 0.0485392325, 0.0103502944, -0.0252528526, -6.31739978e-33, -0.0176999327, 0.012140465, 0.0338556804, -0.0093606543, -0.0323322043, -0.0193702523, -0.0551518537, 0.0180517733, 0.00413932, -0.0009750478, -0.0276514795, 0.0345317312, 0.015373935, 0.0227047373, -0.0000983745, -0.0210851114, 0.056043569, -0.0135798203, -0.0615619272, 0.0542598888, 0.0267856847, 0.0211100262, 0.038335219, -0.0118786935, 0.008366229, -0.0143826129, -0.0047894609, 0.0240486842, -0.00020649, 0.0251734126, -0.0339578092, 0.0315268077, 0.0299835391, -0.0489699692, -0.0625871718, 0.0246645715, -0.0427066423, -0.0086476328, 0.0318092443, -0.0089743705, -0.0654490292, -0.0552247316, 0.0543726608, -0.0116305817, 0.0059376759, -0.0307126436, 0.019121591, -0.0592198931, -0.0486310273, -0.023249004, -0.0780164599, -0.0123092793, 0.012190599, -0.0286106095, 0.0146216005, 0.0618384033, -0.0232206602, -0.0134750009, -0.0143862022, 0.0318023264, 0.0076843263, 0.0452764146, 0.0497153178, 0.0403040424, -0.0113659753, 0.0571634248, 0.0443509892, 0.0176311731, -0.0198270027, -0.0181305576, 0.0438326336, 0.0371464603, 0.0490680896, 0.003931833, 0.0620314553, 0.01963415, -0.0148234172, 0.0193289723, -0.0439492166, 0.0135047091, 0.0618816912, 0.0096632261, -0.0287924334, -0.0503443666, -0.0332930833, 0.061145287, -0.0388361178, -0.0145248109, 0.0167690925, 0.0358545482, -0.0354076363, -0.028884409, 0.0252182987, -0.0310072824, 0.0572525002, 0.0104491021, -0.0093803667, 0.0059823105, -0.0019520719, -0.0161850024, -0.0274169799, -0.0028680258, 0.0364874676, 0.0151572237, 0.0012588134, 0.0312374067, 0.0398921296, -0.0099177994, -0.0474943593, 0.0101984944, -0.0380752198, 0.0386716723, -0.0001118377, -0.0048724357, 0.0382723622, 0.003102524, -0.0085410634, -0.0025368815, -0.0028011324, -0.0074291956, -0.0231699236, 0.0462668464, -0.0045888885, 0.0397395156, -0.0152266202, 0.0018150579, -0.0548020266, 0.0026281415, 0.0563815199, -0.0615087785, -0.028181145, -0.0099948049, 2.607e-7, 0.0147878267, 0.0370935537, 0.0129594086, 0.0290513579, -0.0097988592, 0.0040047471, 0.0169579536, 0.0129562207, 0.0358731076, -0.0638081431, 0.0132074943, 0.0596640408, 0.0748723447, 0.0160875767, -0.1068428978, -0.039886523, -0.0666503385, 0.0065493737, -0.0373899341, -0.056451451, 0.0201161802, 0.0749155432, -0.0186745767, -0.0137637956, 0.0124915289, -0.0524885505, 0.073884733, -0.0165013373, -0.028493898, 0.0506450906, 0.0277523659, 0.0196539145, 0.0086727981, 0.0237698872, -0.0024910327, -0.0348319374, 0.0188374426, 0.0360890888, -0.0064498424, -0.0554986633, -0.0078583406, -0.0099912258, 0.0116653126, -0.010833635, 0.0498566255, -0.0544404387, 0.0074925874, 0.0014807631, -0.006434354, 0.0080608372, 0.0294659641, -0.0021205463, -0.0324155428, 0.0275982264, 0.0010378106, 0.0294018704, -0.0032556993, -0.0687756538, -0.0330466479, 0.0339298435, -0.0192818865, -0.0484549925, -0.0127549898, 0.0031306464, -0.0147622805, -0.0846906751, 0.0001099867, 2.876447993e-34, 0.078495048, 0.0031279915, 0.0468215086, 0.0321028084, 0.0173240919, -0.0309812855, 0.0324279033, 0.0072043389, 0.025623221, -0.0643007979, -0.0222231559 ]
http://arxiv.org/abs/2310.06825v1
http://arxiv.org/pdf/2310.06825v1
Mistral 7B
2023-10-10T17:54:58
2023-10-10T17:54:58
Albert Q. Jiang, Alexandre Sablayrolles, Arthur Mensch, Chris Bamford, Devendra Singh Chaplot, Diego de las Casas, Florian Bressand, Gianna Lengyel, Guillaume Lample, Lucile Saulnier, Lélio Renard Lavaud, Marie-Anne Lachaux, Pierre Stock, Teven Le Scao, Thibaut Lavril, Thomas Wang, Timothée Lacroix, William El Sayed
cs.CL
cs.CL, cs.AI, cs.LG
We introduce Mistral 7B v0.1, a 7-billion-parameter language model engineered for superior performance and efficiency. Mistral 7B outperforms Llama 2 13B across all evaluated benchmarks, and Llama 1 34B in reasoning, mathematics, and code generation. Our model leverages grouped-query attention (GQA) for faster inference, coupled with sliding window attention (SWA) to effectively handle sequences of arbitrary length with a reduced inference cost. We also provide a model fine-tuned to follow instructions, Mistral 7B -- Instruct, that surpasses the Llama 2 13B -- Chat model both on human and automated benchmarks. Our models are released under the Apache 2.0 license.
[ 0.0038464004, 0.0936967507, 0.003318205, 0.0343309641, -0.0221665297, 0.0032895918, -0.0123450058, -0.0405135378, 0.042632658, -0.0397542976, -0.013964518, -0.0171686169, -0.0217823703, 0.0475945584, 0.0540711023, -0.0526266135, 0.057237193, -0.0831695721, 0.0181135889, 0.0030947069, -0.0263015479, -0.0252519194, -0.0000127257, 0.0125302915, 0.0331534632, -0.0585120767, -0.030484274, -0.0021924716, -0.0125323506, -0.0203311071, -0.0261677131, 0.035994336, 0.0178426243, 0.0109034684, 0.0000022501, -0.0314707905, 0.0274662413, -0.000375841, -0.0256012492, 0.0725828558, 0.0002599355, 0.0044089062, 0.0096310033, 0.0300676506, -0.013827228, 0.0229978729, 0.0466011465, -0.0176045559, 0.0800627843, 0.0637144595, 0.0126262717, -0.0230108686, 0.0230394974, -0.0428458042, 0.0373843201, -0.0709482804, 0.0013211273, -0.0086191893, 0.0597032681, 0.0009539034, -0.0023742516, 0.0376408584, 0.0520365164, -0.0161991846, -0.0243744459, 0.0163293667, -0.0246257149, -0.0296780523, -0.0174111445, 0.0664767027, -0.0505114868, -0.0399617851, 0.0071471659, 0.010272583, -0.0034300454, -0.0597131588, -0.0698712319, 0.0191699788, -0.0081125442, -0.0197362751, 0.0487513319, 0.0119550936, 0.0139256632, -0.0233503785, -0.0325484462, 0.0331186578, 0.0015047991, 0.0034785729, -0.0471086502, -0.0454426333, -0.0369771421, -0.0837042704, 0.0078355391, 0.0786666945, -0.0179712493, 0.0072488277, -0.0571758188, -0.0104021607, 0.0469924212, -0.0570935383, 0.0392547995, 0.0828831643, 0.0009651301, 0.0610753149, -0.024913894, 0.0528105535, -0.0439172722, -0.0029672533, -0.0221115947, 0.0169329345, 0.0072498391, 0.0190831143, -0.0369431525, 0.0259768255, -0.0553244576, -0.0315416828, 0.0046200985, 0.0482350364, 0.0367099345, 0.018395029, 0.0474201292, -0.0026168064, 0.0027284208, -0.0006349506, 0.0008223149, -0.0281606559, -0.0330382101, -0.008398707, 0.0140791414, -0.0965705663, -0.0572779179, 0.030621402, -0.0191472583, -0.0258610435, -0.0149796866, 0.119518429, -0.021917779, -0.011985464, -0.0354978666, -0.0369249433, 0.0283200759, -0.0704056174, 0.0031557111, -0.0505508818, 0.0427587777, 0.0210001189, -0.0421969518, 0.0000688823, 0.0167206228, 0.056240432, 0.0073193694, 0.0340635665, 0.0112148337, -0.0170305092, -0.0149798309, -0.0007349266, -0.0368212014, 0.0682351217, 0.0252699591, 0.0464889817, -0.0197834969, 0.0086782007, 0.0247276053, 0.0130420923, 0.0309638176, -0.0267840698, 0.0061455718, 0.0462964475, -0.0168212932, 0.0204230677, 0.06185304, 0.0770841613, -0.0181662012, -0.0456924103, 0.0269777775, 0.0264163073, 0.0033284931, 0.0415752158, 0.0551814698, 0.0167711228, 0.0087602604, -0.0187888984, -0.0881681964, 0.09629298, 0.0071841977, 0.0393574089, 0.0458144359, 0.0193911362, -0.021030141, -0.0599541403, -0.0154827079, 0.0223973244, -0.0071623134, 0.0270605348, -0.0050264369, -0.0176431555, -0.0787094831, 0.0618094429, 0.0087919477, -0.0440795086, -0.0542192534, -0.037302874, 0.0556056276, 0.0620583631, 0.0312004946, -0.0170402154, -0.043281652, -0.0039608274, 0.024136113, -0.0033276111, 0.0242767539, 0.0325667225, 0.000785879, -0.0456057265, 0.020529557, -0.0498183966, 0.011197363, 0.0239248257, 0.0299883485, 0.0016133887, 0.0012012897, -0.0158761591, -0.0087227393, 0.0237224344, 0.0091921901, -0.0436978899, -0.0572389998, -0.0088479873, 0.0390323475, -0.0325545706, 0.005483197, 0.0491753593, 0.0406896658, -0.0415643603, 0.0184521861, -0.0064052693, -0.0770429373, -0.0823431313, 0.022086395, 0.0023464302, -0.0068479474, 0.0178255457, -0.0294838566, -0.0170221515, 0.0719537362, -0.0503647961, 0.0478831641, -0.0160636753, -0.0027185362, 0.0227730796, 0.0142660942, -0.0002572346, 0.0661056787, -0.0461539552, -0.0054599619, 0.020513026, 0.006303227, -0.0019474707, -0.0387052745, 0.0187194496, -0.000409577, -0.0158075336, 0.0187609568, -0.0407964624, 0.0112887407, -0.0015425594, -0.0480186939, -0.0588789061, 0.016527256, -0.0391934849, 0.0490044802, -0.0082399677, 0.0108165555, 0.0053132721, -0.0085809166, -0.0136308316, -0.0214650538, -0.0151792532, 0.0150685171, 0.0098631782, -0.014895292, -0.0573771074, -0.0666047409, -0.0147666419, -0.0322777741, 0.040073324, -0.0115553401, -0.0468516722, -0.0285459831, 0.0010692935, -0.0319126844, 0.0373117477, -0.0394796021, -0.0304728504, 0.005013267, -0.0278410893, 0.0457501113, 0.0980576351, -0.0244601015, 0.0010530812, 0.0388914458, -0.0209999848, -0.037503738, 0.0523235016, 0.0206222534, -0.0422601998, 0.0336111858, -0.0086028464, 0.000798437, 0.1120900363, -0.0161520112, -0.0130395629, -0.048072502, 0.0214095023, 0.0441184044, -0.0055307467, 0.0133302072, -0.0228446741, -0.0121216048, 0.0379205383, -0.0563449636, -0.0525908023, 0.0769228265, -0.032846868, -0.0094176903, -0.0240215529, 0.0255299304, -0.0450621322, 0.0275115445, 0.0023992283, 0.0054409765, -0.0042913756, -0.0218896158, -0.005674351, 0.0110489242, -0.0191264451, -0.0319851451, 0.054574322, -0.0521141663, 0.0224545188, -0.0231393334, -0.0343702137, -0.0346447006, 0.0091430983, -0.0389704332, 0.0269417074, 0.031792216, -0.0014507544, -0.0485049225, 0.0229798779, 0.030231379, 0.0626756176, -0.0192658845, 0.0101822698, -0.0271490682, -0.0246726274, 0.0048337532, -0.0066727134, 0.0231262483, -0.0281036589, 0.0233274624, 0.0516154394, 0.0573963039, 0.0278436933, -0.0131113734, -0.0007864833, 0.0144037269, -0.0073009976, -0.0059524253, 0.0534972399, 0.0669808835, -0.0798939541, 0.0007920937, 0.088599138, 0.0146126803, 0.0001092781, 0.0179406609, -0.0683356151, 0.0428894162, 0.0220754705, 0.0442630686, -0.0841191709, -0.059747912, 0.0148159154, 0.008578633, 0.0246183872, -0.0285092406, -0.0230604988, -0.0435689054, 0.0281124469, -0.0001661328, 0.0051119658, -0.0113407709, -0.0398475714, -0.0141252242, -0.0004578454, -0.0157546047, 0.0527174249, -0.0011630198, -0.0044360422, 0.0041231024, 0.0121913739, 0.0018252461, 0.0598669201, -0.0115823057, 0.0013557561, 0.0336178727, -0.0026147428, 0.0514458008, -0.0894096047, 0.0195966996, -0.004798559, 0.0222908054, -0.0118585536, 0.0072254324, -0.0133453254, -0.0263291672, 0.0001951396, 0.0276980568, -0.0655464232, 0.014551471, 0.0095437961, 0.0694428906, 0.0172161944, -0.0191289093, -0.0425506644, 0.0110022128, -0.0208821762, 0.0601958781, 0.0449678861, -0.000031393, -0.0623071156, -0.0432853289, -0.0359033272, -0.0220833682, -0.031277366, -0.0270867702, 0.0325221121, -0.0547626391, -0.028576795, -0.0347956792, 0.0207714159, 0.0412332192, -0.0135487914, -0.0390057564, 0.0524415523, -0.0217556879, -0.0362457968, 0.0219979286, -0.0119877318, 0.0100305444, -0.0831336826, 0.0133040138, 0.0069043911, 0.0053457152, -0.0170091931, 0.0771693513, -0.1226090118, -0.0551016368, -0.0301621519, 0.0766020641, 0.0191841461, 0.0074728881, -0.0239536185, -0.0300438702, -0.0525288135, -0.0079581225, -0.0167496577, 0.0440590903, 0.0174389165, 0.0013208535, 0.032790482, 0.0375636593, -0.0137266153, -0.0051376252, -0.0038951344, 0.0297613125, -0.0408953764, 0.0002641377, 0.0147507833, -0.0024873021, -0.0240884591, 0.0307208207, 0.0241032373, 0.0134060066, 0.0533748344, -0.0087515591, 0.0114169829, -0.0558694936, 0.0244764145, -0.00492222, -0.0248791408, 0.0052338797, -0.0202421043, -0.0072960262, -0.0004116094, -0.0077195256, 0.0552603193, -0.0052316654, 0.0180577915, 0.0365984328, -0.0280377045, -0.0358104408, 0.0025457861, -0.0370782763, 0.0489991643, -0.040057227, 0.0323309265, 0.0029363649, 0.0163388606, -0.0055697332, 0.0047956384, -0.0242250208, -0.1140191481, 0.0106605263, 0.0585786849, 0.0388717912, 0.0410762578, 0.0347265005, 0.0106176632, 0.0053845313, -0.01840307, 0.041685909, -0.0095793894, -0.0281254295, 0.0094212983, 0.0535181165, 0.002626458, -0.0222921111, 0.0594807528, -0.0012247574, 0.0159172658, 0.0236960407, -0.0007671558, -0.0472783074, -0.0263647959, 0.0198137742, 0.042950999, 0.0194959119, 0.0023486814, -0.0250315033, -0.0488908179, 0.0135739837, 0.0332878157, -0.0190519225, -0.0267490167, 0.0350165963, 0.0744827092, -0.0041514486, -0.0806324109, -0.00698554, 0.0107799675, 0.0056363712, -0.0534206033, -0.0298745725, -6.787255893e-33, -0.0295499787, 0.0249434896, 0.0467155613, -0.014652825, -0.0121168876, -0.0388907678, -0.073983036, -0.0106754927, -0.0447120108, -0.012086927, 0.0040957914, 0.0326020494, 0.0051983888, -0.0023843648, 0.0265953001, -0.0093285749, 0.0182870831, 0.0205655452, -0.0200268608, 0.026011683, -0.0034640366, 0.0063851038, 0.0258004162, -0.0211052615, -0.0291313957, 0.009680884, 0.0214370526, 0.0034308899, -0.0326029882, 0.0322885774, -0.0334677957, 0.0125763081, -0.0047589499, -0.0202050675, -0.0304960813, -0.0112314075, -0.0509149022, -0.0341346972, 0.044097092, -0.0045086904, -0.040809609, -0.0702468157, 0.0434443504, 0.0075667431, 0.0098207276, -0.0331644788, -0.0038304124, -0.0001345522, -0.040598847, -0.0042282972, -0.050356172, 0.0231324658, -0.0045462949, -0.0428058021, -0.0079931058, 0.037405476, -0.0227387473, 0.0417381935, -0.0512815751, -0.0223357622, 0.0488112196, 0.0581401736, 0.0617661178, -0.0263708178, 0.023473423, 0.0057099708, 0.0540901348, -0.0075980294, -0.0416930728, 0.0520765707, 0.0112464558, 0.0358344465, 0.0212641601, -0.0265183803, 0.0284584314, 0.023402255, -0.0649940372, -0.0396809056, 0.0129445828, 0.0669736415, 0.0292871669, 0.0314039364, -0.0505103953, -0.0186706763, -0.0120842913, 0.0032838054, -0.0532343909, -0.0182857718, 0.0312063564, 0.0119376536, 0.0035918287, -0.0135309147, 0.035745278, -0.0040924675, 0.0156703275, 0.020333115, 0.0106365811, 0.0159495659, -0.0048660291, 0.0510437973, -0.0606861413, 0.0145541588, 0.0219377838, 0.0130508738, 0.031447947, 0.0081285443, -0.0029952298, 0.0269012917, -0.0461692661, -0.0249886587, -0.0648205355, 0.0192718171, 0.0007725717, 0.0188888069, 0.0561850406, 0.0037493268, 0.0199972019, 0.058623068, -0.040671207, -0.0467437617, -0.0070561999, 0.018615922, -0.0042156875, 0.057378538, -0.0411908925, -0.01343993, -0.0734931827, 0.0188475158, -0.0253003724, -0.0632127598, -0.011305294, 0.0730933174, 2.977e-7, 0.0016502051, 0.0452209003, 0.0154251028, 0.0639119893, -0.000570594, 0.0089154756, 0.0113944244, 0.0284351762, 0.0296935346, -0.0360683836, -0.0140142255, 0.0606947318, -0.0247933287, 0.0051696217, -0.0807105526, -0.0136364931, -0.0684870631, -0.0116291083, -0.0400082096, -0.0765761659, 0.055909317, 0.1099876389, -0.0152626708, 0.0294734389, 0.0318624265, -0.0104915528, 0.0291181672, 0.0373091847, -0.0437820591, 0.0126083838, 0.018837709, -0.0054961871, -0.0388352014, -0.0086718928, 0.0162036978, 0.0126425475, -0.0184869245, 0.081402123, 0.004051182, -0.0259498954, 0.0176782012, -0.0472816862, -0.0184068307, -0.0575531572, 0.0680231825, -0.019603543, -0.0069862111, 0.0281445216, -0.0111531578, 0.0245955922, -0.0114429947, 0.0214985795, 0.0202653371, 0.0062678582, 0.0041066934, -0.05167941, 0.019633377, -0.0568324141, -0.0380616449, -0.0004943185, -0.0452496521, -0.024806397, -0.0843138099, -0.0017593849, 0.0301815458, -0.0219543707, -0.0197896641, 2.891826306e-34, 0.0477557443, -0.0322511047, 0.0208612606, 0.0327299275, 0.0471659154, -0.0050180955, -0.0201877356, 0.0124094235, 0.036744412, -0.055007983, -0.0394036472 ]
http://arxiv.org/abs/2310.06816v1
http://arxiv.org/pdf/2310.06816v1
Text Embeddings Reveal (Almost) As Much As Text
2023-10-10T17:39:03
2023-10-10T17:39:03
John X. Morris, Volodymyr Kuleshov, Vitaly Shmatikov, Alexander M. Rush
cs.CL
cs.CL, cs.LG
How much private information do text embeddings reveal about the original text? We investigate the problem of embedding \textit{inversion}, reconstructing the full text represented in dense text embeddings. We frame the problem as controlled generation: generating text that, when reembedded, is close to a fixed point in latent space. We find that although a na\"ive model conditioned on the embedding performs poorly, a multi-step method that iteratively corrects and re-embeds text is able to recover $92\%$ of $32\text{-token}$ text inputs exactly. We train our model to decode text embeddings from two state-of-the-art embedding models, and also show that our model can recover important personal information (full names) from a dataset of clinical notes. Our code is available on Github: \href{https://github.com/jxmorris12/vec2text}{github.com/jxmorris12/vec2text}.
[ 0.0207789131, 0.0884447545, -0.0097006792, 0.0621978752, -0.0385088548, 0.0005360747, -0.0134496419, 0.0507214554, -0.0070173368, 0.0382644869, 0.0064734225, -0.0231911391, 0.0095860139, 0.0428086519, 0.0640463158, 0.0009472152, 0.0127070434, 0.0168471374, 0.0068835169, -0.0212472081, -0.0075613162, -0.0273712389, 0.0290432088, 0.0314239673, 0.0111789545, -0.000575003, 0.0032994237, 0.0087370891, 0.0417090505, -0.030688284, -0.0188612491, 0.0342501029, 0.0508565791, 0.0486204997, 0.0000019587, 0.0290497094, -0.0329992734, 0.0247728266, -0.0470953509, 0.0138737569, 0.0470920503, -0.0767863169, 0.0225565117, -0.0065621035, -0.021556979, -0.0439494811, 0.0254260227, 0.0565908365, 0.0569524653, 0.0663556308, -0.0046348898, -0.0015722198, 0.0254853982, -0.0465381294, 0.0153435823, -0.0371369086, 0.0178374145, -0.0420161597, -0.0229655039, 0.0775409937, -0.0146178687, 0.0400647111, 0.0074967351, 0.0201430358, 0.0270223655, 0.0647791848, 0.0077953176, -0.0025534809, -0.0045087514, 0.0323453546, -0.0038809502, -0.0109263817, 0.0194169618, 0.0196351018, 0.0073798508, -0.0163320191, -0.0044739102, 0.006398919, 0.0083275652, -0.0017315256, 0.011685878, 0.0246105231, 0.026007466, -0.0204337742, 0.028821798, -0.0388023183, 0.0007262385, -0.0244487561, -0.045667138, -0.0266590547, -0.0018151987, -0.0332616977, 0.0672085583, 0.00502259, 0.0372499079, 0.0155035341, -0.0565199703, -0.0765042678, 0.0107337534, 0.0019464492, 0.0318639651, -0.0013292141, 0.0028489036, 0.0224976856, -0.0296315383, 0.059130583, -0.0399770215, 0.0351381041, -0.0039194487, 0.0219348446, 0.0152949253, -0.0348518007, -0.0151429577, 0.0412016809, -0.0628953651, -0.0136445612, -0.0002940873, 0.0115010198, 0.0166158602, 0.05742025, -0.0458726585, 0.0464823097, -0.050101053, -0.0131893726, 0.0579224266, -0.0539067313, -0.0000614508, -0.0175449736, 0.0176013298, 0.0098482771, -0.0293375961, -0.0194600243, 0.03698745, 0.017217448, -0.0143517293, 0.0558404103, -0.0182200242, -0.0275860373, 0.0348831117, -0.0643207505, -0.0320556648, -0.0040594107, 0.0193882752, -0.0354695097, 0.03876606, -0.0020371594, -0.0123606762, -0.0816288516, 0.0103266314, 0.0266309138, -0.0737641007, 0.1037325114, 0.0141848549, -0.0388403274, 0.0259980187, 0.0676479116, 0.0137678124, -0.0064667808, 0.0193367843, 0.0524058603, 0.0343130976, -0.0170215331, 0.0140819056, -0.0024576604, 0.074270241, 0.0004013289, -0.0157122891, 0.0195157249, -0.0066846022, 0.0294383373, -0.0206344705, 0.0716767386, -0.0341837965, -0.0650842711, 0.0476494618, 0.1035934091, -0.0227305982, 0.0273446757, -0.0242217295, 0.0187737346, -0.0279977936, 0.00747015, -0.0334560908, 0.0181800462, -0.042404864, -0.0221401323, 0.0162523221, -0.0306207016, 0.0086505068, 0.0106856348, 0.0288704336, -0.0584004633, 0.0128518892, -0.0588282198, -0.0040368759, 0.0208292566, -0.0432323813, 0.0023379829, 0.0145819886, -0.055830013, -0.0072838236, -0.0153911244, 0.0201486759, 0.0574195385, 0.0648817196, -0.0294973794, 0.0142569076, -0.0350833088, -0.0128701627, 0.0120355543, -0.0229159519, 0.015139576, 0.0403333195, -0.0339062512, -0.0316480733, 0.0034542035, 0.0279972348, 0.0172931179, 0.0029502406, 0.0099596661, 0.0184504408, -0.0240276214, 0.0124030346, 0.0294075813, -0.0925843716, -0.0311503839, 0.0201443955, 0.021346949, 0.0239572562, 0.0376480483, -0.0171734467, 0.0606865995, 0.0621575601, -0.0421274118, -0.0431143641, -0.0230125561, -0.023852678, -0.0514147729, -0.0269698054, -0.0729123503, 0.03388777, 0.0453992523, -0.0211262628, -0.0135337627, 0.0016147211, -0.0398985296, 0.0520267189, -0.0100910692, -0.0255181529, 0.0106683448, 0.0033196951, -0.014083161, 0.0226273295, -0.0758151934, 0.034208715, -0.0325624421, -0.0301447399, -0.0186514128, -0.0181374233, -0.0363679789, -0.0606487505, -0.001672616, 0.0118142674, -0.0032305557, 0.0027281984, 0.0184465833, -0.0539618656, -0.0548254326, 0.0083866622, -0.0128260665, 0.0128380321, 0.0180454962, -0.0051653017, 0.0277786199, -0.0218344871, -0.0389465764, -0.013006445, -0.0320340879, 0.027425332, 0.0402716435, 0.0170588829, 0.0101560252, -0.0149805052, -0.0044745845, -0.0112331789, 0.0493657179, -0.054164242, -0.0168339796, -0.0380664915, 0.045173578, 0.0144983651, 0.0113460105, -0.0343018584, -0.0427991487, 0.0025531393, 0.0124482531, 0.0248246845, 0.0559759699, 0.0052073137, 0.059956383, -0.0338332281, 0.032871224, -0.0210885033, -0.0146294963, -0.0389914215, 0.0143714892, -0.0368432216, -0.0472844839, 0.0053228359, 0.0327568315, 0.0403942242, -0.0102739707, -0.0505492426, 0.0143362498, -0.003015891, -0.0307235122, -0.0013247877, -0.0310164224, -0.0111416588, 0.0216450468, -0.0248388071, -0.0384366438, 0.0584034547, -0.0079006804, 0.0046217414, 0.0343970992, -0.0078501087, 0.0046716752, 0.0605957396, 0.0227827616, 0.0419894569, 0.049028635, -0.0567875169, -0.0233041644, 0.0450880378, 0.004923617, -0.0572499149, -0.0004510425, 0.0446888916, -0.0365730636, 0.0030017272, -0.0817883387, -0.022251863, -0.1166539043, 0.0150316814, -0.0098065846, 0.0197926573, -0.0603822172, -0.051994957, -0.0292975865, 0.0186971892, 0.0046569495, -0.0053316685, 0.0077326647, -0.0467077382, 0.0284615718, 0.0003763277, -0.04499368, -0.0089566698, -0.0342988372, -0.0082875555, 0.0998596996, 0.0212702751, 0.0601255521, 0.0243139807, -0.0212422889, -0.0156032816, 0.0231280979, -0.0509931147, -0.0064177969, 0.0312685743, -0.0196330026, -0.027331423, 0.0830477104, 0.0064498973, -0.0538075678, 0.0096734837, 0.022852879, 0.0018482098, -0.0102125779, -0.024834346, -0.0884006843, 0.0049606259, 0.0173147023, 0.0340129547, -0.0000861534, -0.05948551, -0.0056645009, -0.0831900761, -0.0021603587, 0.0111654066, 0.0103196427, -0.0534000099, -0.0333303995, -0.0227700789, 0.0248992629, 0.0024448829, 0.0109874737, 0.0050310758, -0.0132930772, -0.0061889822, -0.0026855909, -0.0226409156, -0.0207737666, -0.0235307384, 0.0444024317, 0.0424055308, 0.0493602119, 0.0092711383, -0.043451976, -0.041218169, 0.019320311, -0.0122500556, 0.021151334, 0.1332351267, -0.0263466369, -0.000914408, -0.0361146405, 0.0789294988, -0.0088676792, -0.0104971034, -0.0239451695, 0.0115957027, 0.0057264981, -0.0023356527, -0.0105180573, 0.0089905458, 0.0257237572, 0.0595568195, 0.0134953214, -0.018078981, -0.0108241839, -0.0210146774, 0.119145371, -0.0054153223, -0.0131552098, -0.0003193128, 0.0226606783, -0.0056090816, -0.0546508171, 0.0191550888, -0.0084933769, 0.0454685017, -0.0000346023, -0.00038505, -0.0180470198, -0.0460224524, -0.0739228576, -0.021197699, -0.0390904397, -0.0054071103, -0.0174312647, 0.0101538468, 0.0093161641, -0.0039282031, -0.0405900702, -0.0194212459, -0.0585473813, -0.0455758683, 0.0046327887, 0.0247101262, 0.0106304763, 0.0707897171, -0.0108480137, -0.058067333, 0.109772779, 0.0342781469, -0.072726123, -0.0042807092, 0.0253114402, -0.0040351362, 0.0075193793, 0.0508360565, 0.0003363923, -0.0335387923, 0.0620972589, -0.0384352766, -0.004926695, -0.0082873087, -0.0314258486, -0.0097907092, 0.0438353568, -0.0011332985, 0.0262935832, -0.0208224021, 0.0198647492, -0.0580935739, 0.0113844275, -0.034433648, -0.0275410153, 0.0728931427, -0.0226443559, 0.0005894044, -0.0054695192, 0.0198714118, 0.0603352115, -0.0628948286, -0.0041319956, 0.0432747491, 0.0409218371, 0.0457945727, 0.0111689251, -0.0280981045, 0.0417163782, -0.0088493926, 0.0305236839, -0.0491018817, -0.0140453158, -0.0030254778, -0.0050339843, -0.0278352816, 0.0547647625, -0.0724525824, -0.0107072862, -0.0296914261, 0.0361639634, -0.0271053091, 0.0097058918, 0.016599115, -0.0286291577, 0.0125433234, -0.0080281878, 0.0242079254, -0.0571131632, -0.0185695719, 0.0032277144, -0.0105355689, -0.0132102231, 0.0269324332, 0.1026465148, 0.0505638868, 0.0268545523, -0.0143112531, -0.0425776727, -0.050545577, 0.0326827504, 0.0599451773, 0.0434149168, -0.0208718218, 0.0189407002, -0.038277626, -0.0506566502, 0.032424029, 0.0022551292, -0.0202830974, 0.029762622, -0.0218079276, 0.0164725017, 0.0095208408, -0.0488983802, -0.0422311462, 0.056382183, 0.0237792283, -0.0785610452, 0.0083071813, -6.060283534e-33, 0.0187436659, -0.0251795389, -0.0402786285, 0.024212189, 0.005179707, 0.046882458, -0.023806449, 0.007948135, 0.0304971412, 0.0152692702, -0.0611636862, 0.006479478, -0.0014994283, 0.0439505465, -0.0133258626, -0.0024908334, 0.0282267611, -0.024752371, -0.0227194522, 0.0407691635, 0.051740054, 0.0835331455, 0.049859874, -0.075094752, 0.0190160889, -0.0208105966, 0.0032081716, 0.0140926018, 0.0111686997, 0.0345407613, -0.038211327, -0.0554115959, 0.0240470394, 0.0107568186, -0.0109731788, 0.0475317016, -0.101435706, -0.003137666, -0.0312502608, -0.0112685421, -0.0396667905, -0.0455454923, 0.046625156, -0.0575458929, 0.0044745938, -0.0251167864, -0.0158397164, 0.0088460362, -0.0191405397, -0.0081833713, -0.0136959078, 0.0136835678, -0.0279401895, -0.0049670045, 0.0598382913, -0.0142065762, 0.0323809311, -0.0189334396, -0.0646010265, -0.0252403449, -0.0294777639, 0.0006013063, -0.0268353019, -0.0185023136, 0.005224532, 0.0572277084, 0.0642812252, 0.0123787047, -0.0359719433, -0.015119072, -0.0253212377, 0.036577113, 0.027906755, 0.0490083583, 0.0173333678, -0.0744484141, -0.0585344471, 0.0067805639, -0.0818167999, -0.0159654673, 0.0751261637, 0.0500560179, -0.0780223459, 0.0020404621, -0.041299969, -0.0337208211, -0.0056532756, -0.0185824744, -0.0069443565, 0.0392377228, -0.0775027126, -0.0174105968, 0.0039238296, -0.0605468936, -0.0204761215, 0.0057903538, 0.032026425, 0.007257286, -0.0350444876, 0.0334097855, -0.0388588645, -0.0017215527, 0.0321364179, -0.0149315111, 0.0195812769, -0.0004368087, 0.0766384378, -0.0059269494, -0.0796892568, -0.0415049531, -0.0245289952, 0.0153560014, 0.0358640328, 0.012045756, 0.0621867739, -0.0222163741, 0.0115842866, -0.0133238928, 0.0264058318, 0.0659537017, -0.029596623, -0.0113674318, 0.0190488286, -0.0146908043, -0.0052088387, -0.0291428342, -0.0004713218, 0.0422475263, 0.0799032971, -0.0014079305, 0.0269624479, 0.0073990519, 2.649e-7, 0.0411796793, 0.0174723398, 0.062714614, -0.0429635085, 0.0502815098, 0.0386849642, -0.0040759919, 0.0497868843, -0.0057196207, -0.0086214934, 0.0028435749, -0.016856147, 0.0637048036, 0.0190647934, -0.0717727095, -0.0001728866, -0.0497283526, -0.0294740666, -0.0005920219, -0.0280124638, 0.0341905132, 0.0834878385, 0.0315329172, -0.0017229596, -0.0143203558, -0.0389497913, 0.0516150631, -0.0331167839, -0.0161257405, -0.0152264358, 0.0045882752, 0.0597751178, 0.0186615754, -0.0549194068, -0.0422877185, 0.0049608089, 0.0036475097, 0.0763963833, -0.0120981578, -0.0077827941, -0.0117668789, -0.0246830136, -0.0217931084, -0.0249267127, 0.0341159925, -0.018544089, -0.0388334431, -0.0300542153, -0.0187777244, -0.0165742375, 0.0499815568, 0.001656452, -0.0297431722, 0.0427718945, 0.0073553082, 0.0457102098, 0.0204904433, -0.0706241354, -0.003917329, -0.0270690173, -0.0598198846, 0.0156762954, -0.0021679555, 0.0172179732, 0.0214840602, -0.0530770198, 0.0115269097, 2.635218644e-34, -0.0198631678, -0.0139073851, -0.0087081781, 0.0320165753, 0.0271779597, -0.0171876345, 0.0561550595, 0.0144866277, 0.0119886464, -0.0449308902, -0.032698404 ]
http://arxiv.org/abs/2310.06803v1
http://arxiv.org/pdf/2310.06803v1
Advancing Transformer's Capabilities in Commonsense Reasoning
2023-10-10T17:21:03
2023-10-10T17:21:03
Yu Zhou, Yunqiu Han, Hanyu Zhou, Yulun Wu
cs.CL
cs.CL, cs.AI, cs.LG
Recent advances in general purpose pre-trained language models have shown great potential in commonsense reasoning. However, current works still perform poorly on standard commonsense reasoning benchmarks including the Com2Sense Dataset. We argue that this is due to a disconnect with current cutting-edge machine learning methods. In this work, we aim to bridge the gap by introducing current ML-based methods to improve general purpose pre-trained language models in the task of commonsense reasoning. Specifically, we experiment with and systematically evaluate methods including knowledge transfer, model ensemble, and introducing an additional pairwise contrastive objective. Our best model outperforms the strongest previous works by ~15\% absolute gains in Pairwise Accuracy and ~8.7\% absolute gains in Standard Accuracy.
[ 0.0258054193, 0.1040991619, 0.0052636834, 0.0442489125, -0.0215696115, 0.0068962565, 0.0187790766, -0.0061098216, 0.0257228855, -0.0486891046, -0.0081723994, 0.0275889784, -0.0015182638, 0.0066817217, 0.0005335258, -0.0265498757, 0.0305843093, -0.0185129344, -0.0550604425, -0.0050374065, -0.0207277816, 0.0284134503, -0.0095249983, 0.0148543958, 0.0040294658, -0.0133309094, 0.0309028663, -0.0173096042, 0.0368392877, 0.0091536995, 0.0039222627, 0.0577732287, 0.022526253, 0.0191659722, 0.0000020418, -0.047839161, -0.0099568181, -0.0092321634, 0.0009303585, -0.0207476914, 0.0015992745, -0.0170497354, 0.0138379252, 0.0026265711, -0.0740233883, 0.0242864825, 0.0358138867, 0.0453767963, 0.064515613, 0.0510312989, -0.0237399023, -0.0674559474, 0.0151149901, -0.0115831019, 0.0064926627, -0.0543337874, 0.0293175951, 0.0260426104, -0.033238586, -0.0197448581, -0.0335500352, 0.0569991842, 0.0365008712, 0.0053740069, -0.0216555223, 0.0386832654, -0.0679727048, 0.0125760892, -0.0197741203, 0.1059103534, -0.0029944601, -0.0376730114, -0.0411374122, 0.0121871149, -0.0031530387, 0.0237801466, -0.002839989, -0.0022789708, 0.0226946622, 0.0338289849, 0.0385949276, 0.0159439892, 0.0109977089, 0.0411254466, -0.0699597374, 0.0500951856, 0.0084644211, 0.0070780874, 0.03518245, 0.040198043, -0.0530404747, -0.0065296902, 0.022196712, 0.037302915, -0.0130891921, 0.0242839828, -0.0143751297, -0.0363289677, -0.0190889761, -0.0219287183, 0.0303160027, 0.0217303894, -0.0012565089, 0.0859358832, -0.0445604213, 0.0188315697, -0.0015317855, 0.0517260358, -0.0299457759, -0.052944757, -0.0375417322, 0.0147775272, -0.0382035933, 0.0347458571, -0.0303267557, -0.0116154216, -0.0131348232, -0.0173227284, 0.012242387, -0.0140882991, 0.0479680113, 0.019680012, -0.0353022441, -0.0457968153, -0.0193781573, 0.0525160432, -0.0333120376, 0.0699646845, 0.0209066793, -0.0498732179, -0.0318396501, -0.0048363823, 0.0356716104, -0.0511603877, 0.0358060412, 0.0081476113, -0.0505734645, -0.0256666709, -0.023466263, 0.0272819158, -0.0165276919, -0.0354276821, -0.0330446213, -0.0747855827, 0.0500966571, 0.0243847817, -0.0007638234, -0.0309133623, -0.0078512169, 0.0070284344, -0.0403860621, 0.1102692261, -0.0067040832, -0.0037123484, -0.0200538021, 0.0160320699, -0.0036487486, 0.0289375093, -0.0018225048, -0.0068618134, 0.031489484, -0.0293976348, -0.0021156059, -0.0018381248, 0.0373574868, -0.0098657049, 0.0122491876, 0.0178403463, -0.0187818669, 0.0127836335, 0.0257904362, 0.0421745591, -0.0072443001, -0.019146366, 0.0705213696, 0.0427697413, 0.0175649971, 0.0422239751, 0.0191832483, 0.005080217, -0.0195111651, -0.0263102558, -0.0454361066, 0.016278388, -0.0687291473, -0.0294995178, -0.0128559358, 0.048365999, -0.0232269876, -0.0208330043, 0.0211933516, -0.0290145893, 0.0210454799, -0.005132609, 0.0443333499, 0.042998191, -0.0417422876, 0.1029184759, 0.0504088067, -0.0726260468, -0.0100744702, -0.0291154254, 0.0055892561, -0.0016493935, 0.0303613357, -0.0070025478, -0.0355249196, -0.0010513481, 0.001318066, 0.0319287665, 0.0344121791, 0.0086120013, 0.0506587289, -0.0489978418, -0.0052792057, 0.0014779498, -0.0069196406, -0.0005942481, 0.0196671523, 0.0250563584, 0.0101360539, -0.0347377248, 0.0231746137, 0.0163707063, -0.0410199612, -0.0258830823, -0.0063195042, -0.0032558439, 0.0203788038, -0.0326379016, 0.0132382717, -0.0039887824, 0.0236549564, -0.0252537671, -0.0277438946, 0.0476164632, -0.0671689734, -0.1274579167, 0.0343086906, -0.0492982641, -0.0442218706, 0.0734559968, -0.052972205, -0.0065097767, -0.0187092889, 0.0161563978, 0.0527048372, -0.0345295779, -0.0153578669, 0.0131911719, 0.0174228791, 0.0045135571, 0.0903801695, -0.0424861796, -0.0012771689, -0.0372991897, -0.0107265506, -0.0005472074, 0.0040521794, -0.0094878133, -0.0160773117, -0.014749039, 0.0174439754, -0.0120885838, 0.0216880906, -0.0415306352, -0.0123794088, -0.0866748467, -0.0278155766, -0.0021268197, -0.0186285507, 0.0146737611, -0.0117175179, 0.0144536924, 0.0018589352, -0.0387256593, -0.0118785035, -0.0076947799, -0.0081271622, 0.0324458033, -0.0124371918, 0.0280125253, -0.0139897, -0.010677699, -0.0144924754, 0.0587542094, -0.0006370276, 0.0531085804, 0.0003469638, 0.0443399176, -0.0227515921, 0.0243802089, -0.0031209497, -0.040042039, 0.0033675532, -0.0247368831, 0.008872902, 0.0631667748, 0.0191887673, 0.0005980413, 0.0247926712, -0.0310786571, -0.03448309, 0.01821661, -0.033010263, 0.0013391528, -0.0364211462, 0.0089216018, -0.0137550803, 0.0657139868, -0.0157167744, -0.015992593, -0.0559641011, 0.0104907425, 0.018865196, -0.0085381214, -0.0360869803, 0.0333670266, 0.0097474512, 0.0325240865, -0.0311003793, -0.0014490749, 0.0631636307, -0.0315058455, 0.0011763141, -0.0610807501, 0.0124641452, -0.0240091886, 0.0715376958, -0.0159690436, 0.005785624, -0.0307796132, 0.0115061579, -0.04727979, -0.0225667637, 0.0187868942, -0.0408248641, 0.0539585799, -0.027487753, 0.0307013243, 0.0008810502, -0.0711791366, -0.0328666233, -0.0653120354, -0.0169606842, 0.00680727, 0.0092208469, -0.0096958298, -0.0541446842, -0.00655072, -0.022556385, 0.0338672549, 0.0320758782, -0.0239259917, -0.0028656416, 0.036848262, 0.0254608877, 0.0543636046, 0.0428922921, 0.0179958288, 0.0163777135, 0.0741073787, 0.0290087517, -0.0244001504, -0.032739982, 0.037211068, 0.0290188603, -0.0072864303, 0.0083685936, 0.0018651581, 0.0785497576, -0.0289818216, -0.0309850555, 0.0974617749, 0.0287308823, -0.0146662425, 0.0024366418, 0.0091079054, -0.0136908684, -0.0064691403, 0.0225084517, -0.0553849526, -0.077617459, 0.0035770724, -0.0106293447, 0.0354112051, -0.0693301857, 0.0153118735, -0.116673328, 0.0136149861, -0.0007721449, -0.0603963397, -0.0656302869, -0.0274053533, 0.010236864, -0.0405210368, -0.0005920177, -0.0066139419, 0.0065004169, 0.0093746604, 0.0000671546, 0.0055312463, -0.0615551248, 0.0596057735, -0.0547373481, 0.0335781053, 0.0477047302, 0.0618490651, 0.0023067908, -0.084533684, -0.0086845811, -0.0676348284, -0.0096580992, -0.0211149938, 0.0293328371, -0.0315519795, -0.0220827367, 0.0061447262, 0.0584800281, -0.0776609629, -0.0475286096, -0.0005939532, 0.0592959188, 0.0075863134, -0.0333178379, 0.0059160371, 0.0233253967, 0.011644545, 0.1013437659, 0.0104919421, 0.0111569688, -0.009880526, -0.0306065995, -0.0234820489, -0.0333965644, -0.0387940481, -0.0062523326, 0.0454639569, 0.0159541368, -0.0762609169, -0.0318133421, 0.0384733528, 0.0393065214, -0.0312261451, -0.0069936011, -0.0208551791, 0.0089420024, -0.0416246653, 0.060954012, -0.0358587727, -0.0032552518, -0.0307129379, 0.0049094935, 0.0312688239, -0.0115810903, -0.0592049137, 0.0053271176, -0.0511002913, -0.033547271, -0.0120905386, 0.0823254138, 0.0133533217, 0.0383564346, -0.0456077307, -0.0049373354, 0.0397947729, 0.0753688365, -0.0453257225, -0.0109995231, 0.067092739, -0.0278730802, 0.01759018, 0.0611376278, 0.0089215944, 0.0268011745, 0.040106602, 0.0557681061, -0.0652665868, -0.0293939095, 0.0110092023, -0.0121231135, 0.068958275, 0.0185892191, 0.0325478166, -0.0118516199, 0.0284512844, -0.009765882, -0.0305074938, -0.050897494, 0.0178138819, 0.0511053316, 0.0068606054, -0.0304234512, 0.0419636779, -0.0105560906, 0.0119051384, -0.0195241403, 0.0179468039, 0.0603789389, 0.0267256703, 0.0241251085, -0.0260759071, -0.0214193445, -0.028335277, 0.0059771533, 0.0457020216, -0.0051145568, 0.0657108426, 0.0493833758, -0.0061836266, -0.0148282917, 0.0056291874, -0.0561095849, -0.0157410856, -0.0141581213, 0.0236010011, 0.0279782135, -0.0394939892, 0.0244368594, -0.0078057651, -0.0139122242, 0.0029897434, 0.0625866801, 0.014034803, 0.0079196813, 0.0355690457, -0.0100921094, 0.0159338769, 0.0024131928, 0.0504762642, -0.1077942476, 0.0418796055, 0.0248528924, -0.0154485898, -0.037419375, -0.034230262, 0.0061428053, 0.0018354089, 0.0110995974, 0.0453158282, -0.0480555631, -0.0657404736, 0.0008797451, -0.0181980897, 0.0145847183, 0.0243376922, 0.0126310587, 0.0831025839, 0.0183843337, -0.0289041642, -0.0265609119, 0.007609705, -0.0590276495, 0.0150664616, -0.0286416989, -6.737343668e-33, -0.0254550409, -0.0098814834, 0.0079273777, -0.0335444137, 0.022675056, -0.0041856943, -0.049550835, -0.0287695024, -0.0537207909, 0.0210167263, -0.0165220536, 0.0379002467, -0.0045902361, 0.0467218384, -0.0273839459, -0.0040405593, 0.0042837863, 0.0525728129, -0.0318696685, -0.0195950773, 0.0393182747, 0.0285548456, 0.0532806925, -0.0267195702, -0.0287361629, 0.0208503529, -0.0001511789, 0.0260392521, -0.0445089936, 0.0373850353, -0.0009924046, 0.0186493378, 0.0200274922, -0.0382346027, 0.0101135941, 0.0345794782, -0.1025781855, -0.0500782728, 0.0150031643, -0.0175994262, -0.042665273, 0.0021103446, 0.0237021931, 0.0089780223, 0.0314503573, -0.0417391546, 0.028269317, -0.035798084, 0.0097832, -0.0387872234, -0.0314770341, 0.0161574557, -0.0144885592, -0.0266392604, -0.0188435409, 0.0213417709, 0.0009698133, 0.0260401927, -0.07502193, 0.0167190228, 0.0353317447, 0.0054396638, 0.0547073744, -0.0155246891, -0.0097682476, 0.0355513282, -0.0542996787, -0.0497472659, -0.0614770018, 0.0290182512, 0.0293596927, 0.0833506584, 0.079658784, 0.0468326733, 0.0397383235, -0.0003849912, -0.0465140529, 0.0381833985, -0.026132388, 0.0486058407, 0.0066483887, 0.0049115783, -0.0143928723, -0.0069974973, -0.0454537384, -0.0273637287, -0.0120419972, -0.0117036942, -0.0045758914, -0.0204120446, -0.079692021, 0.0309248343, 0.0415821709, -0.0422282964, -0.0285323858, 0.0214586295, -0.0249821953, -0.0376767144, -0.0125344899, 0.0343560576, -0.0684311986, -0.0090851421, 0.047950007, 0.0040217843, 0.0030004235, 0.0286434609, 0.054140836, 0.0180996526, -0.0439662896, -0.0269906651, -0.0347460061, -0.0021667241, -0.0171394795, 0.0218663253, 0.0265096389, 0.0367519259, -0.0112914573, 0.0329311378, -0.0056370371, 0.00350705, -0.0220251828, 0.0289809722, 0.0136919934, 0.0150955468, -0.0162510052, -0.0036124918, -0.0556109697, -0.0380502865, 0.0307669081, -0.0411704741, -0.0151188495, 0.0297310892, 2.618e-7, 0.0731385276, 0.014986475, -0.0063548582, -0.0150175383, -0.0180237796, 0.0573356003, -0.0058159111, 0.0184486602, 0.0125403013, -0.0092253312, 0.0177735277, 0.0918011591, 0.0323783681, 0.0235675052, -0.0286523346, -0.0201270171, -0.0651410148, -0.0135370875, -0.0208871812, -0.0202680994, 0.0669102073, 0.0931185186, 0.0519069098, -0.0450875461, 0.0185386464, -0.044060301, 0.0535341464, -0.0580297969, 0.0207294449, -0.0032066419, 0.0160968211, 0.0086516049, -0.0070229159, 0.0713752285, -0.012962928, 0.0168017577, 0.0079989545, 0.0527005456, -0.0093407407, -0.034075968, -0.0301941466, -0.0241178256, 0.0127386739, -0.0619952306, 0.1094015539, -0.1068509743, -0.0167751368, -0.0163274799, -0.0506788231, 0.0283604395, 0.0099488841, 0.0095478613, -0.0146414563, 0.0027488985, 0.0264103562, -0.0056144055, -0.0244013015, -0.1018228084, -0.0167161226, 0.0210604295, 0.0042719203, -0.0342723913, -0.0070810812, -0.0640218183, 0.0376545899, -0.0582382791, 0.0083982628, 2.277716833e-34, -0.0125189619, 0.0103642931, 0.0081643146, -0.0072655976, 0.0439078398, -0.0165952761, -0.0044137295, -0.0141380271, 0.0046091718, -0.0738778412, 0.0162518974 ]
http://arxiv.org/abs/2310.06786v1
http://arxiv.org/pdf/2310.06786v1
OpenWebMath: An Open Dataset of High-Quality Mathematical Web Text
2023-10-10T16:57:28
2023-10-10T16:57:28
Keiran Paster, Marco Dos Santos, Zhangir Azerbayev, Jimmy Ba
cs.AI
cs.AI, cs.CL, cs.LG
There is growing evidence that pretraining on high quality, carefully thought-out tokens such as code or mathematics plays an important role in improving the reasoning abilities of large language models. For example, Minerva, a PaLM model finetuned on billions of tokens of mathematical documents from arXiv and the web, reported dramatically improved performance on problems that require quantitative reasoning. However, because all known open source web datasets employ preprocessing that does not faithfully preserve mathematical notation, the benefits of large scale training on quantitive web documents are unavailable to the research community. We introduce OpenWebMath, an open dataset inspired by these works containing 14.7B tokens of mathematical webpages from Common Crawl. We describe in detail our method for extracting text and LaTeX content and removing boilerplate from HTML documents, as well as our methods for quality filtering and deduplication. Additionally, we run small-scale experiments by training 1.4B parameter language models on OpenWebMath, showing that models trained on 14.7B tokens of our dataset surpass the performance of models trained on over 20x the amount of general language data. We hope that our dataset, openly released on the Hugging Face Hub, will help spur advances in the reasoning abilities of large language models.
[ -0.0097371126, 0.1052530557, -0.0016516141, 0.0499457456, -0.009126178, 0.0431299731, 0.0076427967, 0.0156572629, -0.023458628, -0.0319868103, -0.0349664353, 0.0040708231, -0.0071750763, 0.0466101095, 0.0268690642, -0.0301807895, 0.010565199, -0.0265101809, 0.0122567825, -0.0193564482, -0.0059796404, -0.010862832, 0.0021785898, 0.0051414124, -0.0188153945, -0.0566227958, 0.0189888049, -0.0177782215, 0.0164290648, -0.00655173, -0.0100321164, 0.0458782539, 0.0133644203, 0.0440271236, 0.0000020884, -0.0297984537, -0.0093613379, 0.0131082572, -0.0336368084, 0.0268340223, 0.0131649598, -0.0291200839, -0.0029991665, 0.0155158564, -0.0679186732, -0.0064627086, 0.0169281568, 0.0238178428, 0.0571378097, 0.058495272, 0.0002726654, -0.0162478872, 0.0350881293, -0.0019653819, 0.0277785938, -0.0127210841, 0.0209516287, 0.0008838514, 0.0223170631, 0.0286141243, -0.0225056857, 0.0362235643, 0.0508373119, -0.0227187704, 0.0185046494, 0.0300727673, -0.0769998059, -0.0016666516, 0.0182301402, 0.0908699408, -0.0212194156, -0.0403517857, 0.0409028232, -0.0064331344, -0.0350512639, 0.0482244119, -0.0722518638, 0.029930843, 0.0098857563, -0.0031007773, -0.0116119012, -0.0279346853, 0.0411594361, 0.0301692151, -0.0385836661, 0.0632378012, 0.014122908, -0.0362225696, 0.0040890113, 0.0011495763, -0.0420315377, -0.0429686941, 0.0418439023, 0.0124782398, 0.0658679008, 0.0111079179, -0.0636922345, -0.0541036092, 0.0157302395, -0.0298858583, 0.0159574728, 0.0413158499, -0.0125444504, 0.0450207368, -0.0236634705, 0.0194947589, -0.0223205034, 0.0253209118, 0.0058463654, 0.0322404876, -0.0287659839, -0.0086779101, -0.0049465876, 0.0428994, 0.0228824783, -0.0004278584, -0.0131067783, 0.0224942975, -0.0239507072, 0.0171465464, 0.0124132307, -0.0110075306, -0.0037937986, -0.0240639336, -0.0007874602, -0.0127450032, -0.0267503466, 0.0332508758, -0.0042928681, -0.0761915445, -0.0285522584, 0.014735586, 0.0395293608, -0.0362648927, 0.0219272319, 0.059225142, 0.054390952, -0.0117719872, 0.0188324805, -0.0276628751, -0.0009654373, -0.0126327947, 0.0016791619, -0.0904896781, 0.0397612713, 0.0169999991, -0.008119016, -0.033984527, -0.0090720281, 0.0389750414, -0.0057820375, 0.0537238233, -0.0495253988, -0.019323606, 0.0128109027, -0.0205616057, -0.0337308086, 0.0117001515, 0.0221809037, -0.0049275979, 0.0455737486, -0.017664291, 0.0135126021, 0.0297425073, 0.0322245061, 0.0028055757, 0.0438654833, 0.0361827761, 0.0359845497, 0.0426214188, 0.0267868731, 0.040040426, -0.0882257745, -0.0363178626, 0.0359904654, 0.0637893453, -0.0060833357, 0.0246026721, 0.0216884222, 0.0042830179, 0.0512051359, -0.0190115795, -0.078861393, -0.0012441889, -0.0286938921, 0.0094426153, -0.0028661836, -0.0078770649, -0.0119141778, -0.0611877255, -0.0006316068, -0.0152423596, -0.0073335734, -0.0059421589, 0.0899022147, 0.015584047, 0.0134958103, 0.0225508045, 0.0184110459, -0.046110291, 0.0090408409, -0.0286933314, 0.0308922678, 0.0099139055, 0.0507234409, -0.0464789271, -0.0016817519, -0.0226144809, 0.0345298052, 0.0144036654, 0.0346509032, -0.0178765487, -0.0119005321, -0.058568839, -0.0193397105, -0.0373879448, -0.004913175, -0.0181608014, 0.0181972403, 0.0195304491, 0.0307331532, -0.0081428383, -0.0312404353, 0.0356382839, -0.0334853269, -0.0577520616, -0.012551154, -0.0216466282, 0.0265002791, -0.0340193547, -0.008099026, 0.0443231314, 0.0188228227, -0.031200042, -0.0146655971, -0.0360797495, -0.0157814957, -0.0176697522, 0.0898066759, -0.080348365, -0.0184748396, 0.0286824461, -0.0352849849, -0.0096887443, 0.0611395128, -0.0231013447, 0.0348102972, -0.0315437131, 0.0070952591, -0.0041160188, -0.0019343097, 0.0031490831, 0.0490809456, 0.0201100241, 0.0154925231, 0.0009075308, -0.028767921, 0.0068854294, -0.0367258042, 0.0034275739, -0.0261495747, -0.0272609033, 0.0494935997, 0.0129475463, 0.0175403561, -0.0411789864, -0.0150965229, -0.0516614839, 0.0019065277, -0.0041319691, 0.04181014, 0.0031147834, -0.0374346562, 0.0058732592, -0.0166023299, -0.0114008216, -0.0330545008, -0.0181136169, -0.0096684806, 0.0373636819, 0.0018956641, -0.0031130495, -0.0471957289, -0.0581866875, -0.0426420271, 0.0426023379, 0.0260713045, 0.050563544, 0.0136220194, 0.0374234058, -0.0503879227, -0.0131474752, -0.0157358721, 0.0087391082, 0.0238084011, -0.0403199606, -0.0025796788, 0.0933666751, -0.0228918679, 0.0304499585, 0.0092034684, 0.0002634816, -0.0614895262, -0.0127637563, -0.0387419611, 0.0297535937, -0.0260415953, -0.0040134969, 0.0042265635, 0.0509298556, -0.0254916139, -0.0273160189, -0.0313124917, 0.0483092293, -0.009130504, 0.0014121423, -0.0449853651, 0.0298677012, -0.0093434202, 0.0354220793, -0.0097691249, -0.0496118963, 0.0348684117, -0.0008608872, 0.0131095704, -0.0437725931, 0.034809161, -0.0412657782, 0.0132231573, 0.0044640885, -0.0195867512, -0.0069473879, 0.0065109399, -0.0297822803, 0.0228541791, 0.0554347895, -0.0268656909, 0.0079355454, -0.0307665672, 0.0237499364, -0.0174771007, -0.0622699, -0.0169353709, -0.0129004009, -0.0349903926, -0.0027006853, -0.0244616065, -0.0320178233, -0.0272500459, -0.046874959, 0.0387244485, 0.0481214598, -0.0502351783, -0.0241906643, -0.0177686643, -0.0010240559, 0.0422066376, -0.0147595201, 0.0687618852, -0.0805785656, -0.0308639295, 0.0663794726, 0.0235392712, 0.0075610932, -0.0165178739, 0.0149858259, 0.0085379332, -0.0387481898, -0.0451195277, 0.0125153642, -0.035399735, -0.0602719486, 0.011806624, 0.090952605, 0.0358406901, -0.0012998935, -0.0123445448, -0.0471053869, 0.0009356674, 0.0150740733, -0.0124741951, -0.0642594248, -0.0227705501, 0.0327321514, 0.0237841159, 0.0429775529, -0.0337605737, 0.0385019854, -0.0958697274, 0.0242512226, 0.0191483535, 0.0112009803, 0.0046925363, -0.0647988766, 0.0073380526, -0.0244355593, -0.0337616429, 0.0251873396, -0.0305353366, 0.0402674824, 0.0130728222, 0.0057153557, -0.0497634411, 0.0053751059, -0.023662826, -0.0544195026, -0.0227334015, 0.0665274858, -0.0220887084, -0.0898106918, 0.030021539, 0.0076195756, -0.0484285951, -0.0149140498, 0.0401057117, -0.0084486278, -0.003841124, -0.0200382601, 0.0967526585, -0.0921396539, -0.0120401932, 0.0251846649, 0.1097743884, -0.0132188927, -0.0141134001, -0.0336669125, -0.0494006202, -0.0806957707, 0.0513555519, 0.0385183804, -0.0175798349, -0.0575754307, -0.0426659845, -0.0315877423, 0.0027493048, -0.0159088355, -0.0214367509, 0.0231033415, -0.0489454754, -0.0667264685, -0.0192243792, 0.0297187343, 0.0339242145, 0.0065229735, -0.0519266799, 0.0385445096, -0.012498159, -0.0540804602, 0.057712853, -0.0687983483, 0.0272541326, -0.0585206337, 0.0332802907, 0.0016083533, -0.0290256888, -0.0536708273, 0.0031980702, -0.071211651, -0.0440304689, -0.0187855028, 0.0330296978, 0.0239397194, 0.0307441372, -0.0325249769, -0.0370661989, 0.0134219229, 0.0238331128, -0.0752016753, 0.0067527425, 0.0651161522, -0.0407387279, 0.0259689707, 0.0203603394, -0.0233988222, -0.0007397507, 0.0115093933, -0.0046679685, -0.0431853235, 0.0060149739, -0.000015788, 0.0624488033, 0.0296373107, 0.0378639549, 0.0003818519, -0.0141001847, 0.0160175357, -0.012308998, -0.0052985842, -0.0312552303, 0.0257418174, 0.0253923014, 0.0252601244, -0.0280545633, 0.0162000228, 0.0258154701, 0.0446893908, 0.0100023923, 0.0530430004, 0.0134728886, 0.0671051517, 0.0391901843, -0.0348544866, -0.0018904246, -0.0168958809, -0.0321088322, 0.039981965, -0.0166795906, -0.0145224668, 0.0412126221, 0.0165739749, 0.0147263752, 0.0089638261, -0.0901097357, -0.0908741206, -0.0091013014, -0.0181950089, 0.0138675403, 0.0185869075, 0.0325835459, -0.0315204412, -0.0437494256, -0.0272994079, 0.048727829, 0.04098038, 0.0003232145, 0.0443083979, 0.0338067748, -0.0410953946, -0.0368296765, 0.0601452626, -0.0249882787, 0.011764871, 0.0253751669, 0.0182008259, -0.0353706516, 0.0010669855, 0.0026545469, 0.028696321, 0.015467993, -0.0280959718, -0.0341532975, -0.0874908864, 0.0201535113, 0.032123059, -0.0303554554, 0.0097516049, 0.0690096244, 0.0553715974, -0.0227075983, 0.0130586261, -0.0052385507, 0.0399169847, -0.0036498145, -0.0416179821, -0.0239222087, -5.649111405e-33, 0.0260704048, 0.0084225582, -0.001441119, 0.0509647168, 0.0093294671, 0.016478911, -0.0266735479, -0.0203604437, -0.0111544719, 0.0250791032, -0.0101057682, 0.0565413386, 0.0065209093, 0.0015044602, 0.0214373507, -0.0082811927, 0.0368856043, -0.0279440098, -0.0195613448, 0.0199143812, 0.0192472581, 0.0261962526, 0.0782687441, -0.060867589, -0.0028273363, -0.000739134, -0.0049116542, -0.0082930597, -0.0108659854, 0.0797214657, -0.0415996052, 0.0245325752, -0.0042745634, -0.0015656949, -0.0239235889, -0.0009650394, -0.062192183, -0.0450120308, -0.0207613744, 0.011492434, -0.0161181595, -0.0518860817, 0.0521369167, 0.0034236026, -0.0280865151, -0.0474391952, 0.0662873387, -0.0426404774, -0.051064752, -0.053664811, -0.0218290798, 0.0548239052, -0.0290913433, 0.0211960394, 0.0374581851, 0.0189813897, -0.0264715627, 0.0548613183, -0.0104417438, 0.0222258437, 0.0047703087, 0.017887421, 0.0288126171, -0.0538759716, 0.0601547435, 0.0483573712, 0.0151049299, -0.0479247384, 0.0191991348, -0.0015088526, 0.0937697813, 0.0613666028, 0.0643844381, 0.0352856666, 0.0660494789, 0.0134936366, -0.0417359024, 0.0060797408, -0.0227669943, 0.037868984, -0.0129088201, 0.0103043932, -0.0313539319, -0.0073049166, -0.0405900739, 0.0042576441, -0.0417880416, -0.004581742, -0.001294969, -0.0108957887, -0.0380130373, 0.0042757355, 0.0035445581, -0.0669176653, -0.054208044, 0.0341555141, -0.0220465548, 0.0311044473, 0.0204356685, -0.0100226384, -0.073228091, -0.0233680531, -0.0113526359, 0.0058213444, 0.0495463945, 0.0057982313, 0.0459484532, 0.0240279604, -0.0524306409, -0.0217233207, -0.0369219147, -0.0256525464, 0.0543141775, 0.0758472085, 0.0459921323, 0.0327622928, 0.0198994447, 0.0125762345, -0.0022536814, 0.0228971783, -0.0516567677, 0.0363156535, -0.0011112486, 0.0326905102, -0.0172885861, -0.0589752644, -0.0428013392, 0.0219435412, 0.0540715531, -0.1237434074, -0.006700038, 0.0439055599, 2.743e-7, 0.0438033305, 0.0520459041, 0.0306213219, -0.0046688989, 0.029587714, 0.0339268483, -0.016244689, 0.0020048306, 0.0106655639, -0.0048989803, 0.004882317, 0.0277555343, 0.0580713041, 0.0322284997, -0.0807048082, 0.0326284617, -0.0758778453, -0.0283278953, -0.0429736637, -0.01051227, 0.0226129666, 0.1172141507, 0.0415387154, 0.0028609547, 0.0449769124, -0.0345035791, 0.0687570125, -0.0116781807, 0.0297922213, 0.01817034, -0.0164082069, 0.0118375812, 0.0064992183, -0.0195406992, -0.0302138384, 0.021761477, 0.0252197571, 0.0578521416, 0.0152906738, 0.0601033047, 0.0049482174, -0.0751543716, 0.0113805728, -0.0638388246, 0.0870468318, -0.0034251036, -0.0368344262, -0.0266624689, -0.0563161485, -0.0515680127, 0.0362362675, -0.0176950116, 0.0203108583, 0.019958796, 0.0169229377, -0.0269401371, 0.0146342861, -0.0648228303, -0.0250212606, -0.0135610206, -0.0393279195, -0.0476348028, -0.04729506, 0.0051869601, 0.0574778356, -0.0128144147, 0.001017548, 2.94569586e-34, 0.0758450851, -0.0370802209, 0.0298429262, 0.0208842065, 0.0227717496, -0.0105762482, -0.0082654711, 0.0038074504, 0.016446365, -0.0747686923, -0.0077197095 ]
http://arxiv.org/abs/2310.06773v1
http://arxiv.org/pdf/2310.06773v1
Uni3D: Exploring Unified 3D Representation at Scale
2023-10-10T16:49:21
2023-10-10T16:49:21
Junsheng Zhou, Jinsheng Wang, Baorui Ma, Yu-Shen Liu, Tiejun Huang, Xinlong Wang
cs.CV
cs.CV, cs.CL
Scaling up representations for images or text has been extensively investigated in the past few years and has led to revolutions in learning vision and language. However, scalable representation for 3D objects and scenes is relatively unexplored. In this work, we present Uni3D, a 3D foundation model to explore the unified 3D representation at scale. Uni3D uses a 2D initialized ViT end-to-end pretrained to align the 3D point cloud features with the image-text aligned features. Via the simple architecture and pretext task, Uni3D can leverage abundant 2D pretrained models as initialization and image-text aligned models as the target, unlocking the great potential of 2D models and scaling-up strategies to the 3D world. We efficiently scale up Uni3D to one billion parameters, and set new records on a broad range of 3D tasks, such as zero-shot classification, few-shot classification, open-world understanding and part segmentation. We show that the strong Uni3D representation also enables applications such as 3D painting and retrieval in the wild. We believe that Uni3D provides a new direction for exploring both scaling up and efficiency of the representation in 3D domain.
[ -0.0337049924, 0.0404498093, 0.0478788204, 0.0519858561, 0.0104335304, 0.0411863178, 0.032654278, -0.0324742272, -0.0339380391, -0.0406130552, -0.0257818606, -0.0347380489, -0.0074981642, 0.060589131, 0.0076393834, -0.0479631312, -0.0006970541, -0.0126134865, -0.0308236927, -0.0296465233, 0.0176124554, 0.0300650802, -0.0068876576, 0.012065771, -0.0133460285, -0.0136644626, -0.0433542915, 0.0516274236, 0.0005683101, -0.0747848079, 0.0286466684, 0.0147221861, 0.0753635392, -0.0104957027, 0.000002079, -0.0292165969, -0.0425331742, -0.0162111409, -0.0045152511, 0.053698089, 0.0002189301, -0.0194882005, -0.0118822837, -0.0245577376, -0.0315275155, 0.0095257144, 0.0809560046, 0.0797422677, 0.0279360563, 0.0408103876, -0.0254499707, -0.0458634086, 0.0305462107, -0.0225521363, 0.0248022489, -0.0162088722, 0.0074215513, 0.0100664496, -0.0159084518, 0.0515523925, 0.0046414053, 0.0083075482, 0.0244343951, 0.0442480743, 0.0451647714, 0.0397931002, -0.0332936533, -0.0261666756, -0.0077064564, 0.0796224996, -0.0514740348, -0.0094788419, -0.0019662182, -0.0275296234, -0.0071547539, -0.0239442084, -0.0239841547, 0.0082602631, -0.0016934711, -0.0176842287, -0.0519367196, 0.0334384553, 0.0157737583, -0.015318268, -0.0338843316, -0.0454791002, 0.0303999577, 0.032517612, -0.0405250117, -0.006157096, -0.0423709638, -0.0361059532, -0.0111084264, -0.0013358642, 0.0165138096, -0.0323010571, -0.0360539816, 0.0069522196, -0.0159011036, -0.0245987978, 0.08058092, 0.0161929801, -0.0418158695, 0.0821354687, -0.0291795097, 0.0133701963, -0.0607785992, 0.0634797215, -0.0267743152, -0.0060550258, -0.0087300641, -0.0315777138, -0.0693706349, 0.0115982872, -0.01865617, -0.0313272625, 0.0127167227, -0.0080739157, 0.0116689978, -0.0364352539, 0.0228688065, 0.0474610813, -0.0066775628, -0.0329127461, 0.0300132334, 0.0640619323, -0.0196629725, 0.0351920091, -0.0632780865, -0.0271758828, -0.0284526683, 0.0212700646, 0.0451596752, -0.0106185582, 0.0367080495, 0.0360897742, -0.0485251471, -0.0992169827, 0.029467795, -0.0263858568, -0.0205901377, -0.0121936109, 0.0586445481, -0.036775209, -0.0005264741, -0.0112359738, -0.0070456574, -0.0238321591, -0.0127992909, -0.0280520674, -0.0034918126, 0.0573390909, -0.0289520547, -0.0282064471, 0.0199248735, 0.0033618694, 0.0378780253, -0.0147932507, 0.0217002016, 0.0660344735, -0.0342378318, 0.0286784805, 0.0146969901, 0.0536371507, 0.0344084837, 0.0228037443, -0.034930151, -0.0034921924, 0.0276331156, 0.0634703934, 0.0114937993, -0.0292977616, -0.0424894951, -0.0441466048, 0.0461743623, 0.0152154882, -0.040998973, 0.0038932324, 0.0394415334, 0.0230169911, 0.0017559894, -0.067947939, -0.0265142191, 0.0456649475, 0.0044100229, -0.025545869, -0.0226408076, 0.0588888377, -0.0555440187, -0.0282408781, 0.0016084237, -0.0110045439, 0.0057169255, -0.0121524828, 0.0479056649, 0.0204526354, -0.0256138016, 0.0815420076, 0.0022299592, -0.0319372229, -0.0356097519, 0.0071708746, 0.0282297563, 0.0190617647, -0.011288764, -0.0138232848, -0.0126611786, 0.0030216696, 0.0548119135, 0.0243911333, 0.0081536788, 0.0064163399, 0.0588665754, -0.0351040363, -0.073708415, -0.0149703426, 0.0068351962, 0.0365257226, 0.0302684773, -0.0241637379, 0.018728422, -0.093660742, 0.0452270545, 0.0124677103, -0.0156342518, -0.0328856148, -0.0148816872, 0.0294272285, -0.008148293, 0.0028064104, -0.0025619536, -0.0420423374, 0.0142882662, -0.0312743336, 0.0077523221, -0.0035873116, -0.064285405, -0.0174634717, -0.0133377239, 0.0345832743, -0.010539067, 0.0410758816, -0.0196895432, -0.0060482388, 0.0016643873, 0.0271157529, -0.0167365838, 0.0180885475, -0.0122672329, 0.0315505415, 0.0510643795, -0.0602523834, 0.0287036486, -0.0520968474, -0.0286413524, -0.0191226695, -0.0181046445, 0.0367813781, 0.029471321, -0.0215308331, -0.0061463863, -0.0089621674, 0.0239712913, 0.0298104491, 0.0182304271, 0.0039469199, 0.0365481712, -0.0479954146, -0.0001469978, -0.0054898523, 0.0137744974, 0.0050738202, 0.022673253, 0.0049665808, -0.0456440449, -0.0154390344, 0.0262037534, -0.0152585749, -0.016795978, 0.0259768479, -0.0075064832, -0.0055421554, -0.0129431169, 0.007652136, -0.0048341886, 0.0614892393, 0.0449572057, -0.0612260289, 0.0148492064, 0.007412693, -0.0397422686, 0.0359693356, -0.0023559837, 0.0107506244, 0.0521577299, -0.0753477663, -0.0007899731, 0.0790827125, -0.0251590479, -0.0203396603, -0.0277518556, 0.0346406996, -0.0783700794, -0.0072470196, -0.0143785374, -0.0111970268, -0.0188797321, 0.0202399604, 0.0120973708, 0.0502147153, -0.0097895926, 0.0135246534, -0.0406406261, 0.0372434184, 0.032753855, -0.0025088794, -0.0493915342, -0.0012998215, 0.0042476249, -0.0005167588, -0.0399325714, -0.0294698235, -0.0399379469, -0.0544145033, 0.0205426011, -0.0002299047, 0.031514585, -0.0254785959, 0.0662562251, 0.0315392502, 0.0197673924, -0.0202618539, -0.0199410357, -0.0207014401, 0.0327236839, 0.0167372059, 0.0272698421, -0.0173824281, -0.038789358, 0.0589512587, -0.0205105208, -0.0672946051, 0.0302613657, -0.037225455, -0.0443641022, 0.0128855417, -0.0893698633, -0.0379858501, -0.0179467965, -0.0168948155, 0.0046786936, 0.0748007298, -0.0257782899, -0.0189827587, -0.0136892851, 0.0289282352, -0.0239290316, 0.038015388, -0.0371542275, -0.0166974515, -0.0238756258, 0.0706196427, -0.0380012803, 0.0269652382, -0.0936290026, 0.0418614261, 0.0223788209, 0.0373623855, -0.0188514162, -0.0033425661, 0.0523271337, -0.022237042, -0.0135438088, 0.0018759025, 0.0295528043, -0.0136375846, -0.044668097, 0.0316975079, 0.0188130196, 0.0007326766, -0.0497334152, -0.0960502848, -0.0749126822, -0.0422462448, -0.0327221565, 0.0985244885, -0.0108332606, 0.0071857562, -0.0560835339, 0.019020468, 0.0360136591, -0.0207855813, -0.0322989263, 0.023253249, 0.0227587745, -0.033376094, -0.0434236377, -0.0291500222, -0.0061840294, 0.0137435673, 0.0143983858, 0.0670724809, -0.0239817519, 0.0232906565, -0.0385709368, -0.0262385663, 0.0208535362, -0.0106882527, -0.0209760759, -0.0335821509, 0.0469477028, 0.0622593425, 0.0120937321, 0.0039157495, 0.0451964848, -0.0144556733, -0.0147420308, 0.0166736022, 0.0052291113, -0.0023566675, -0.0268934127, -0.0475526862, 0.0370229967, -0.0121587059, 0.05402942, -0.0399521887, -0.0312632024, -0.0161581729, 0.0381009988, -0.0133782709, -0.0091264751, -0.0414850563, 0.0244097896, -0.0041452423, 0.0128663816, -0.0319445394, -0.0089912703, 0.0103417421, -0.0078263413, -0.0464814119, -0.0001863415, 0.0372163877, 0.0037366429, -0.0217620265, -0.063000448, -0.0432611182, 0.0069693075, -0.1118122786, 0.0458782203, -0.0397520028, 0.0355299637, -0.0285427067, 0.0232779644, 0.0444418229, -0.0726483017, -0.0214344729, -0.0517827012, -0.0807361156, -0.0000903814, 0.0008129631, 0.0704380572, -0.0002152488, 0.0539071038, 0.0209929757, -0.0543548502, 0.0694399029, 0.0279909354, -0.0060412902, 0.0499195345, 0.018569354, 0.0165145881, -0.0309834592, -0.0091620572, -0.0193840675, 0.0782938674, -0.0136845708, -0.0442954116, -0.0220930502, -0.0673685446, -0.0188853219, -0.0274681468, 0.0856441185, 0.0234356318, 0.0363458358, -0.0582529753, 0.0121600814, 0.0122539364, 0.017717218, -0.064404048, 0.0222824831, 0.0217165779, 0.0085404506, -0.0134973526, 0.0366613939, 0.0454386063, 0.0541494004, -0.0419059098, -0.0346606933, 0.0001025102, -0.0117376531, 0.0075268145, 0.0192079302, 0.0074082925, 0.0960276276, -0.0524500199, 0.0334657989, -0.0267308969, 0.0266940258, 0.0204137191, 0.0253618155, -0.0433634669, 0.0912062898, -0.032536298, -0.0906569734, -0.0668375269, 0.0345017016, 0.0077568609, 0.0193471834, 0.0374797881, 0.0078113894, -0.017681852, 0.0001264721, 0.0355685428, 0.0182698704, -0.0483051278, 0.0504308119, 0.0184131116, -0.0071049081, -0.0349744298, 0.0007579378, 0.0163837764, 0.0010548282, 0.0039833235, 0.013191347, -0.0105097005, -0.0017901746, 0.0329493172, 0.008160417, 0.0213155262, 0.0602280647, 0.0158892591, 0.0241357461, -0.0300110467, 0.0436888598, -0.0428943485, 0.0325217471, 0.0434363633, 0.0429965891, -0.0157842506, -0.0294881053, 0.0154372714, -0.0151240081, -0.0237614773, 0.0015162657, 0.0372408368, -5.954025456e-33, -0.0085487124, 0.0011942891, 0.0222792998, -0.028929431, -0.0037633225, 0.0095391562, -0.0068762633, 0.0208841395, -0.0342964381, -0.0030649477, 0.0194233656, -0.0024184859, 0.0032705606, 0.0209988113, -0.0043644165, -0.0120020835, 0.063011989, -0.0216676909, -0.0141046336, 0.0353501923, 0.016378928, 0.0238917135, 0.1103717461, -0.0496347696, -0.0403732322, -0.0294446591, -0.0340675414, 0.0063225385, 0.0219031069, 0.0162990242, -0.0191101786, -0.0612128749, 0.0142859044, -0.0495630912, -0.0021886486, -0.0022977793, -0.0922743976, 0.0009346074, -0.059334524, 0.0262058731, -0.0588084683, 0.0364596024, 0.0029029297, -0.0082454812, 0.0189753361, -0.0583398491, 0.0384991542, 0.0051595215, -0.0148120625, -0.0529582053, -0.026598487, 0.0428500324, -0.0168897826, -0.0354720987, 0.0298802871, -0.0033117437, 0.0537844039, 0.0070392718, -0.0501459241, -0.0189651418, -0.0341060683, 0.0026444539, 0.0000501456, 0.0410587005, -0.0234978031, 0.0860887021, 0.0588539466, -0.0375405699, -0.032130383, 0.022063937, 0.0320387781, 0.0319726281, 0.0122925825, 0.0789253861, 0.0485674031, 0.0393998921, -0.0395234488, 0.0315105654, -0.0906898826, 0.0017033622, -0.0152912699, -0.0014399447, -0.0334031582, -0.007857685, 0.0045332508, -0.0283603482, -0.0287268963, 0.011675287, 0.0659831911, 0.0170902312, -0.019928867, 0.0221409742, 0.0644011199, 0.0023903775, -0.0051594898, 0.0708154812, -0.0313739143, 0.0480792038, -0.0099100051, -0.0169730242, -0.0531691015, -0.0180392303, 0.0045824531, -0.0006417744, 0.0291583706, 0.0205720142, 0.028337568, 0.0350749157, -0.0053672995, -0.0167160202, -0.0259088501, -0.0195628554, 0.0091733458, 0.1025081053, 0.0469429977, 0.0313303135, 0.0021706575, 0.0499588139, -0.0211032126, -0.0014545524, -0.0428900793, -0.0250523016, -0.0044269119, 0.0341072716, -0.0098226704, 0.0251786262, -0.054944139, -0.0185366422, 0.0533870049, -0.0906216502, -0.0158345625, 0.0437063761, 2.699e-7, 0.0377017334, 0.0218594633, 0.0259944759, -0.0383732431, -0.0511767156, 0.0723469853, 0.0261934213, 0.0840365812, -0.0454401895, -0.0204204135, 0.0458577015, 0.0652931929, -0.0176503919, -0.0137612252, -0.1051613465, 0.0622716583, -0.0505424887, 0.0341833644, -0.0644002855, 0.0177327655, 0.056652423, 0.0726649091, -0.0424988717, -0.0058933129, 0.0191300139, 0.0016549814, 0.064188011, -0.0113997683, 0.0328727886, 0.0077804234, 0.0211669412, 0.0212057512, -0.031810008, -0.0077307541, 0.0131324418, 0.0323095992, 0.0475910492, 0.029063005, -0.0379110388, 0.0026147226, 0.0007439169, -0.0159165226, -0.0137045737, -0.0249248575, 0.0480001569, -0.0358204879, 0.0181187671, -0.0311491247, -0.0093663875, -0.0082769301, 0.0488920994, 0.0127734961, 0.024269212, 0.0256362408, 0.0098959617, -0.0439269021, 0.0045373589, -0.0865325183, -0.0469494276, -0.0089371065, -0.010012514, 0.0190342795, -0.0322058015, -0.0543729849, 0.0187601801, 0.0157234706, -0.0443454832, 1.754732394e-34, -0.0156592708, 0.0022073758, 0.0142862936, -0.0224490147, -0.0106329359, -0.010777886, 0.0278315209, -0.0156719591, -0.024904741, -0.0395907648, -0.0018043922 ]
http://arxiv.org/abs/2310.06770v2
http://arxiv.org/pdf/2310.06770v2
SWE-bench: Can Language Models Resolve Real-World GitHub Issues?
2023-10-10T16:47:29
2024-04-05T18:16:29
Carlos E. Jimenez, John Yang, Alexander Wettig, Shunyu Yao, Kexin Pei, Ofir Press, Karthik Narasimhan
cs.CL
cs.CL, cs.AI, cs.SE
Language models have outpaced our ability to evaluate them effectively, but for their future development it is essential to study the frontier of their capabilities. We find real-world software engineering to be a rich, sustainable, and challenging testbed for evaluating the next generation of language models. To this end, we introduce SWE-bench, an evaluation framework consisting of $2,294$ software engineering problems drawn from real GitHub issues and corresponding pull requests across $12$ popular Python repositories. Given a codebase along with a description of an issue to be resolved, a language model is tasked with editing the codebase to address the issue. Resolving issues in SWE-bench frequently requires understanding and coordinating changes across multiple functions, classes, and even files simultaneously, calling for models to interact with execution environments, process extremely long contexts and perform complex reasoning that goes far beyond traditional code generation tasks. Our evaluations show that both state-of-the-art proprietary models and our fine-tuned model SWE-Llama can resolve only the simplest issues. The best-performing model, Claude 2, is able to solve a mere $1.96$% of the issues. Advances on SWE-bench represent steps towards LMs that are more practical, intelligent, and autonomous.
[ 0.0590843111, 0.0641647205, -0.0316319317, 0.0023435145, -0.0277549867, 0.0077628298, -0.0285909567, 0.0085676648, -0.0053208144, -0.0496643372, 0.0091854101, 0.0139511134, -0.0061281594, 0.0661007017, 0.0088096373, -0.0307156872, 0.0215669442, -0.0548875295, 0.0427688733, 0.0305428486, -0.0197617952, 0.0204445682, -0.0085224053, 0.0482613966, 0.014738949, -0.0227609463, -0.0002185429, 0.0288203154, -0.0166472699, 0.0255913101, 0.027834652, 0.0168528017, -0.0044233617, 0.0350388177, 0.0000021716, -0.0452167802, 0.0127771702, 0.0111179352, 0.0029543913, 0.0160598252, 0.0027304252, -0.0230841897, -0.022621369, 0.0254907236, -0.0236061886, 0.0422997922, 0.0260377564, -0.0304014441, 0.08259397, 0.0448611788, 0.0190249067, 0.031950362, -0.0371325612, -0.0032746266, 0.0622133575, -0.0165419579, -0.0141131794, 0.0615813658, 0.0493716858, -0.0046196594, 0.0346400887, 0.042990353, 0.0238748621, -0.0155949285, 0.0120473327, 0.0208709054, -0.0400926173, -0.0190233383, 0.0005362645, 0.022576632, -0.0664081872, -0.0515908934, -0.0071239341, -0.0246864706, -0.041128017, -0.0064125764, -0.0414173976, 0.0207506996, 0.0357887857, -0.0159173347, -0.0043562022, -0.0379863121, 0.0256510936, -0.0045511001, -0.016910864, 0.101160787, 0.0064417291, 0.0310286526, -0.0061392323, -0.0057888529, 0.0102185681, -0.0664179847, 0.0134450793, 0.0753670037, -0.0344830118, 0.0063230637, -0.0099453237, -0.0144802118, 0.0664763749, -0.0500063412, -0.0312759615, 0.0508114994, -0.0441296697, 0.0376815982, 0.0054369005, 0.0709425732, -0.0278400891, -0.0046467045, 0.0016868, 0.0033474693, -0.0486683622, 0.0091406275, -0.022980297, -0.0002680961, -0.0136848548, 0.0331534669, 0.016602423, 0.0443569198, 0.0141171217, 0.0843084604, -0.0107090753, -0.0213628355, -0.0608217828, -0.0371100493, 0.0046147322, 0.0087324763, -0.0277862512, -0.0093182577, -0.0108271344, -0.0136016021, -0.010694433, -0.0207246095, -0.0394039564, -0.0364589617, 0.0224551782, 0.0779840276, 0.0292374305, 0.0585544594, -0.0289579481, -0.0491642877, 0.0121422606, -0.0289810952, -0.0629338324, -0.1052772105, -0.0475944765, 0.0375287719, 0.0064036394, -0.0894708186, -0.0288113113, -0.0383424014, -0.0005478637, 0.0069639306, -0.0419593193, 0.03777951, 0.0712004006, 0.0504449643, -0.0413059108, 0.0348315015, 0.0124178743, 0.0112602869, 0.0395703167, -0.0330126733, 0.0640878975, 0.03356288, -0.034034159, 0.0062711965, 0.031140374, 0.021031877, 0.0057603167, -0.0167045314, 0.0001453795, 0.0450252332, 0.0171677675, -0.0343536995, 0.0150963571, 0.0424942337, -0.0082012992, -0.0185067933, 0.0246183332, 0.0267192293, 0.0192345642, -0.0126223266, -0.0285666976, 0.0568232387, -0.0036314472, 0.0065528257, -0.0382768735, 0.0331073292, 0.002368123, -0.0576837584, -0.034763772, -0.0101138782, -0.0691125616, 0.0050282301, 0.033147458, -0.0065682344, -0.0065235859, 0.0563077293, 0.0340677798, -0.0028430128, -0.0144393099, -0.0305784307, 0.0181899853, 0.0706201345, 0.0920574367, -0.0707686916, -0.0808258504, -0.0260268468, -0.0016766612, -0.0145147629, 0.0420046598, -0.0279709827, -0.0032388677, -0.020108493, -0.0282773953, -0.0782465264, 0.0073650982, 0.0002443034, 0.0252841152, -0.0318385586, 0.014207094, -0.0367614664, -0.055732917, 0.0366173945, -0.0169996042, 0.0276586767, 0.003408703, -0.0241328664, 0.0014567523, -0.0175932348, -0.0318519361, -0.0001062548, 0.0385507047, -0.0293488409, -0.0406114943, -0.0108908508, 0.0186203495, 0.0245673303, 0.0577931516, -0.0111360392, -0.0343101956, 0.0256330986, -0.0647316128, -0.0062010181, 0.0484197289, -0.0076238676, -0.0104926275, 0.0394326672, 0.0429575741, -0.04408684, -0.0289264116, -0.0050046537, 0.0259576607, 0.0252292324, 0.0150552355, -0.00952446, 0.0645452514, 0.0459907912, -0.0027473678, -0.0758736208, 0.0133346645, -0.0226434376, 0.0213351641, 0.0060182302, 0.0335574634, -0.0277814437, -0.053519439, -0.0132380361, 0.0031194494, -0.0138718113, 0.0100130122, 0.0306042749, 0.0234657656, 0.0075287037, -0.019857049, 0.0120189851, -0.0129154567, -0.0031597412, 0.0048233615, 0.0443858393, 0.0116785234, -0.031448368, -0.0662729517, 0.0000495841, -0.0372017138, 0.0391226746, -0.0074669723, -0.0263684504, -0.0782993436, 0.0255438853, -0.034211386, 0.0411616042, -0.0063353488, -0.0253560878, 0.0151065886, -0.027924357, 0.0852311701, -0.0024641238, -0.024682099, -0.023980381, 0.078842774, -0.0057989303, -0.0594015308, -0.0076112612, 0.0531268269, -0.0433978625, -0.0027214056, -0.0215217955, 0.0141208749, 0.0658776835, -0.0311677754, -0.0115827769, -0.0376020223, 0.0247655287, -0.0252363924, 0.029337015, 0.0317735299, -0.046463605, 0.0225902628, 0.0683248341, -0.042326171, -0.0809471309, 0.0598028414, -0.0423981771, -0.0128387222, -0.0279949028, -0.0342164524, -0.0760420561, 0.0828091651, -0.0021895624, -0.0038549292, -0.0300396737, -0.0114304433, -0.0068984572, 0.0243267808, -0.0190187786, 0.0013747764, 0.0460770093, -0.0746425092, 0.0166379046, -0.0019416839, 0.0026370259, -0.0108788693, 0.0017281019, -0.0857087299, -0.0036398869, -0.0144700492, 0.0074422355, 0.0142553141, 0.023554692, 0.0114605306, 0.0567511022, 0.0652801394, -0.0290643387, -0.0133429272, -0.0497568287, -0.007453111, -0.017123457, -0.0298753716, 0.0204647165, 0.0043083052, 0.0210996661, 0.1048864052, -0.0001205443, -0.0629627928, -0.0024302236, 0.0129028065, -0.0582301617, -0.0506305732, 0.0296359323, -0.0134374732, -0.0652237609, -0.0166428704, 0.0828056484, 0.0639892295, -0.0283691455, 0.0152252968, -0.0502311029, 0.0197653696, 0.0660529882, 0.0611119345, -0.0986407623, -0.029870728, -0.0015145752, -0.0063600498, 0.0052326042, 0.0060485285, -0.0189355034, -0.0589153431, 0.0268295407, -0.0019547909, 0.003365509, -0.0085142972, -0.0241704639, 0.0130114071, -0.0088478262, -0.0521304086, 0.0426333621, 0.0169335492, 0.0233144127, -0.0185604654, -0.0259588026, -0.0013949519, 0.0755850375, -0.0148324938, -0.0079137217, 0.0739827603, 0.0090094926, 0.0250251461, -0.0014782238, 0.066400215, -0.015493596, 0.0043609864, -0.0389907435, 0.0396508835, 0.0218668152, -0.0387290418, 0.0775792152, 0.0058638337, -0.072757028, -0.0297317002, 0.0150984917, 0.0740529224, -0.0414557159, -0.0080127427, 0.0000296339, -0.0132965473, -0.0207941178, 0.0358392783, 0.0589299165, -0.0057121366, -0.0374324247, -0.0467323959, -0.0251236372, -0.0253030062, -0.0356205478, -0.0319342315, 0.0403577834, -0.0028985501, -0.0648364127, -0.0034778945, 0.0286210217, 0.0208883919, 0.055922959, -0.0186160114, 0.0169875342, -0.0079326471, -0.0263560284, 0.0058721369, -0.0008969101, 0.024600802, -0.0438639037, -0.021255523, 0.0266444106, 0.0005918441, -0.0268227644, -0.0081964936, -0.0560036339, -0.0538743176, -0.0022081304, 0.062378332, 0.0306596477, -0.0124409134, -0.0594037026, -0.0825840086, -0.0497080199, 0.0131352637, -0.0458535179, 0.0041499613, 0.0072106491, 0.0025936081, 0.0084886635, -0.0012898287, -0.0735279098, 0.0106887696, -0.0094328541, -0.0014865261, -0.0229447298, -0.0207882598, 0.0149003882, 0.021707084, -0.0061102114, 0.0750682801, -0.0274641607, -0.0223654099, 0.0276496336, 0.0292756595, -0.0338854901, -0.0389010906, 0.0228268523, -0.0269110985, -0.0577816777, 0.0435822792, 0.0425147153, -0.0596748516, 0.0455546379, 0.0021397106, 0.0346691944, 0.0188767686, 0.0593820624, 0.0431218073, -0.0175738391, -0.0119440649, -0.0003708848, -0.0082239257, 0.0404866971, -0.0086583765, 0.0204501878, -0.0121866921, 0.0238762852, 0.0096525485, 0.006488061, -0.0709810704, -0.0786381438, 0.0183821078, 0.0089906389, 0.0124844154, 0.0384358391, 0.052796334, -0.0107678687, -0.0196107868, -0.0276023317, 0.0394833833, 0.0141497012, -0.0216520838, -0.0067928759, 0.0174105726, -0.007603155, -0.0078713633, 0.0673277229, -0.0399532914, 0.0369119793, 0.0095454231, -0.020584492, -0.01578613, -0.0073024645, -0.0079372618, -0.0507828891, -0.0183705278, -0.0575053282, -0.0578452833, -0.037196964, 0.0161837023, 0.0547958687, 0.0089764073, 0.0050778836, 0.0124004157, 0.0891862586, 0.0200512502, 0.0205780063, 0.0082163, -0.0076465299, 0.0012119985, -0.0101860659, -0.0437023863, -5.437366302e-33, -0.0176775735, -0.0208211243, 0.0330898315, 0.0250791255, 0.0305229407, 0.0167232156, -0.0892959908, 0.0096653821, -0.020108765, -0.029808335, -0.004184132, 0.0306525808, -0.0103959367, -0.0803074688, 0.086255841, 0.0508396812, 0.0468623824, 0.0571250394, -0.0649726391, 0.0498064309, -0.0154168913, 0.0350568853, 0.0042151911, -0.0284772366, -0.0168311708, 0.0181471743, 0.0217617713, 0.0252504535, 0.0049923756, 0.0484965369, -0.0098230038, -0.0010779606, 0.0100973863, -0.0187521055, -0.0279259924, -0.0762494281, 0.0054128543, -0.0182694327, -0.0247448124, -0.0123234699, 0.0217548609, -0.0170196556, 0.0763534904, 0.0247220453, 0.0079656355, 0.0096032778, 0.0225763246, -0.0175221711, 0.0346436948, 0.0320230424, -0.0625332817, 0.0480055213, -0.0483928956, -0.0045834184, -0.0125429314, 0.0012201845, 0.0301361866, 0.0842841789, 0.022792194, -0.0085078757, 0.0185019951, 0.0361862071, 0.0841207057, -0.075835444, -0.0396533906, 0.0123465881, -0.0427152775, 0.0213485621, 0.0005611256, 0.0222184043, 0.0180583708, 0.0698322058, 0.0517640449, 0.0139161721, -0.0095462268, 0.0061500352, -0.0191252399, 0.0602367558, 0.0022239489, 0.0642785057, -0.0304263402, 0.0524796583, -0.0079223597, 0.0103279082, -0.0464909635, -0.0038469259, -0.0318075679, -0.0225602686, -0.0007852553, -0.0296245273, -0.0270269979, 0.0285306107, 0.0001627735, -0.0291205179, 0.0041006552, 0.0114724375, -0.0761449412, 0.0419039242, -0.0102460738, 0.0293466225, -0.0017639177, 0.003144555, 0.0012127224, 0.0348598473, 0.0749000534, -0.0173373427, 0.0057197614, 0.0227904171, -0.0624131076, 0.0229160637, -0.0717564523, -0.0111554395, -0.0271620397, 0.0457962789, -0.0340076275, -0.0207206067, 0.012299858, 0.0371428281, -0.0278664753, -0.0422251336, -0.0640258864, 0.0702699125, -0.0024454582, -0.0003530915, -0.044782456, -0.0325446352, -0.024238253, 0.0641990229, 0.0315749794, 0.0101224501, -0.0392476246, 0.0217945445, 2.759e-7, 0.0467352532, 0.0363554545, 0.016836537, 0.0251250491, 0.0149760889, 0.0485006459, -0.0667580366, -0.0206705332, 0.0331835933, -0.0092981439, -0.0313384272, 0.0002976518, 0.0309920087, 0.0500381105, -0.005530199, -0.0062489216, -0.0119035076, -0.0065335697, -0.0718994439, -0.01264311, -0.003949617, 0.0205627363, 0.0500054099, -0.0152493892, 0.0032426054, -0.0512612499, -0.0180716868, 0.0092264609, 0.0460169241, 0.0981950462, -0.0547578074, 0.0288634002, -0.0099334372, -0.0347068012, -0.0271347817, -0.0404673405, -0.0254378561, 0.0456545614, 0.013706129, 0.0030875946, -0.004780856, 0.0126858056, -0.0070905918, -0.0635213256, 0.0194245987, -0.0286614317, -0.0266625024, -0.0242002867, 0.0147619871, 0.0046661342, -0.0131459022, -0.0040120208, 0.0057515642, 0.0032102251, -0.0268451255, -0.0019470546, -0.0511001907, -0.0584707446, -0.0398711972, -0.016462693, -0.0239161067, -0.0100298123, -0.0422539562, 0.0209262669, -0.0053230631, -0.0240592863, 0.0368618779, 2.458307662e-34, 0.0206993893, -0.04409457, -0.0014504752, 0.0215596277, 0.0394334942, 0.0051746615, -0.0416996218, -0.0183573011, -0.0213069171, 0.0166769903, -0.0244716275 ]
http://arxiv.org/abs/2310.06764v1
http://arxiv.org/pdf/2310.06764v1
OmniLingo: Listening- and speaking-based language learning
2023-10-10T16:40:00
2023-10-10T16:40:00
Francis M. Tyers, Nicholas Howell
cs.CL
cs.CL
In this demo paper we present OmniLingo, an architecture for distributing data for listening- and speaking-based language learning applications and a demonstration client built using the architecture. The architecture is based on the Interplanetary Filesystem (IPFS) and puts at the forefront user sovereignty over data.
[ 0.0556193516, 0.0362690128, -0.0200681686, 0.0437412187, -0.0255970582, -0.0172425006, 0.0527255237, 0.0006842055, 0.0309270825, 0.0264781695, -0.0491286702, -0.0387272052, 0.0079405122, 0.0263519306, 0.0008968331, -0.0920028538, 0.072620973, -0.0378771387, -0.0064277304, -0.0418623239, 0.017285822, 0.0085514309, -0.0337571502, -0.0063745943, 0.0346218385, -0.0240613706, -0.038232293, 0.0125004742, -0.0426572151, -0.0266906638, -0.0368746445, 0.0320206024, 0.0243706312, 0.0748892203, 0.0000017, -0.0163185094, -0.0340851285, 0.0063546901, -0.0414797477, 0.0264163408, 0.0481359996, 0.0769882649, -0.0505770594, -0.0100390203, -0.0289062057, -0.0341874994, 0.0693067238, -0.0078871921, 0.0410928242, 0.0003291715, 0.0034826742, -0.0177698359, -0.0336143039, 0.0321054682, -0.0074504279, 0.0297568813, -0.0196864866, 0.0482030362, 0.0549775623, 0.0207230356, -0.0291149747, 0.0110657336, 0.04005941, -0.0129913185, -0.0084823146, 0.0166585762, -0.0443547666, -0.0461872742, -0.0547219962, 0.0161113348, 0.0521318242, -0.0339650624, 0.000950245, 0.0705766454, -0.0150391031, -0.036055997, -0.0356932618, 0.0286949147, 0.0248374902, 0.0032032328, -0.0096847024, -0.0466178209, -0.0315885618, 0.022283949, 0.0293225273, 0.0586608574, 0.0137452083, -0.0282620657, -0.0069456487, -0.0042027505, 0.0345076732, -0.017083779, 0.0471143946, 0.0208944958, 0.0175949093, 0.0068313116, -0.0459451042, 0.0258371942, 0.0083213262, -0.0500389561, -0.0019275014, -0.0045281854, -0.0037817494, 0.0239044297, 0.0446663909, -0.0054033855, 0.0271024369, -0.0157951899, 0.0454710983, 0.004328961, -0.0401117764, -0.015144513, -0.0458488688, 0.0800553858, -0.0502544865, -0.0160706788, -0.0122605404, 0.0342054702, 0.02193035, 0.0062073795, -0.0361254886, -0.0188924409, 0.0154827172, -0.0121465484, -0.0055869431, 0.0165027268, -0.0018066206, 0.0017655914, 0.0217539072, -0.1064595506, 0.0596278384, -0.0069046607, -0.0211909134, 0.0430087224, 0.0277354233, 0.0886490569, 0.0107198628, -0.0264228359, -0.0006631055, -0.0492386259, 0.0648113415, -0.0576270297, -0.0364120789, -0.0749512389, -0.0101349438, 0.0069431462, 0.0084380452, 0.0011502679, -0.0155238025, -0.0000589481, 0.0140824588, 0.0500165746, -0.0160491504, -0.0147602558, 0.0351883657, 0.0514153726, 0.0257056076, -0.0094371084, 0.0332968645, -0.0733985677, 0.0258748885, -0.019389974, -0.0171946883, 0.0223001987, -0.0119338697, 0.0141701903, 0.037992999, 0.0198591892, 0.0228089429, -0.0098413369, -0.0671767667, 0.0413530506, 0.0070415218, 0.047136534, 0.0453444012, 0.0656168908, 0.0046678162, 0.0020270064, -0.0401437953, 0.0525020175, 0.0127434526, -0.0579995923, -0.0041118744, 0.0670662075, 0.0418035202, -0.033370208, -0.0178920589, 0.025175957, 0.0101798959, 0.0079553854, -0.0092617273, -0.0184248369, -0.0431066304, 0.032470461, -0.0121045886, 0.0102832168, 0.0382936783, 0.0549077503, 0.0356183313, -0.079390049, 0.0237190314, 0.0067265132, 0.0406468883, 0.0433350429, -0.0079687824, -0.0067006852, 0.0110184485, 0.0067288475, 0.0057572369, 0.0380232185, 0.0651188865, -0.0276066195, -0.0003061273, -0.0280057751, 0.0129557205, 0.0696467757, -0.0022909071, 0.0566725694, -0.0519763567, 0.0686817542, -0.0162479188, -0.0107952682, 0.0074124713, -0.0193699449, 0.0149721019, -0.0102471635, -0.0305867735, 0.0302704815, 0.0087657385, 0.0389598534, -0.0150805311, -0.0224592704, 0.0505050309, 0.0452358574, 0.0554114915, 0.0224456452, 0.0273863785, 0.0586199351, 0.0332934447, -0.0681864992, 0.0432296693, -0.000447346, 0.0266595352, -0.0240299758, 0.0434237272, -0.0234307032, 0.0264420025, 0.0074853171, 0.0283935647, -0.0257174782, -0.0106600765, 0.0108917691, -0.0435114913, 0.0271228217, 0.0110979406, 0.0028505987, 0.0266038794, 0.080934532, -0.049917642, -0.0290849507, 0.0691267848, -0.0263912082, 0.0157615654, -0.0103322128, 0.0117862215, -0.0483177342, 0.0106932279, -0.1118223518, 0.0037735789, 0.0007019147, 0.0274143051, 0.0274232589, 0.0405810326, -0.0119647821, -0.0580939911, -0.0326073319, 0.0103502972, 0.0303836428, -0.0079848217, -0.009833877, -0.04165617, -0.0492759869, -0.0122489333, -0.0365010425, 0.0273897238, -0.0013764248, 0.020297695, -0.0229066331, -0.0600326583, -0.0641942024, -0.0739795938, -0.0067358827, 0.0107466904, 0.0069752419, 0.0407826826, -0.0446781367, 0.0085419631, 0.0642855093, -0.0216809772, -0.0106646055, 0.0514511019, -0.0140707484, -0.0283622351, -0.0250507314, 0.0078125056, 0.0003396567, -0.0139999734, 0.0232949853, -0.0075406665, 0.0128724137, -0.0244942307, -0.0027731075, -0.0142196091, 0.0145740323, -0.0631737858, -0.0080918046, -0.0271722358, -0.0081659229, -0.0465139411, -0.0255915951, 0.0188437402, -0.0445894934, 0.0684007853, -0.022672737, -0.0343810581, -0.036622256, -0.0591123924, -0.0146452561, 0.0612387843, -0.0528545938, 0.0318081342, -0.026693223, -0.0590259023, 0.0189042538, 0.0175897181, 0.0163473431, -0.0542463101, -0.0639910772, -0.0727244616, -0.0485153981, 0.008596045, 0.001821398, 0.0023556452, 0.069905147, -0.0344992466, -0.0271152351, -0.061599832, -0.0114159249, -0.0247165095, -0.0157157145, 0.0656172782, 0.002186117, 0.0172252301, 0.0254565887, 0.0004486819, -0.0601924434, -0.0238918457, 0.0321764089, -0.043837443, -0.0219061449, -0.0111276861, 0.0041666031, 0.0363570265, -0.0373432934, 0.0927745849, 0.0299629401, 0.0745089501, 0.014943081, -0.0456748642, 0.0278439894, 0.0590180494, -0.0210053343, -0.0313167013, 0.053598702, 0.0115263816, -0.0609687008, -0.0094609344, -0.0342433751, 0.0012421261, 0.0184861794, 0.0286299232, -0.0977386534, 0.0173315331, -0.0141211739, 0.0351080038, 0.0014321505, 0.0221368615, -0.0326148607, -0.0083280588, 0.0269162375, 0.0499472283, -0.0541367531, -0.0335041136, -0.0488031395, -0.0481150821, 0.0291433781, -0.0097042769, -0.0086282706, 0.0051013492, 0.0160089917, 0.0320087336, 0.0068256999, 0.011191166, 0.0272122677, -0.0551808961, 0.0693739653, 0.038679529, 0.028064562, 0.016510101, -0.0641953647, -0.0378780663, 0.0441767871, -0.0316764973, -0.0290131066, -0.0260795038, 0.0419996008, -0.0122732511, -0.0381804407, 0.0518680848, -0.0032638656, 0.0221548434, 0.0015932146, 0.0403242782, -0.0510129966, 0.0299463309, 0.0217863936, -0.0105036311, 0.0589107201, 0.0422539189, -0.0302715134, -0.0304357093, -0.0223105494, -0.031458158, -0.008699324, -0.0043595457, -0.0277863052, 0.0214986596, -0.0021234681, -0.051744666, -0.0132507337, -0.0121762054, 0.0045453296, 0.0337313078, 0.0496114157, 0.0084191049, 0.0336176567, 0.0215079989, -0.0474319942, -0.0374917276, -0.0517306067, 0.0435587503, -0.0982293561, -0.0319905393, -0.0092833247, -0.0287718344, -0.0054965988, 0.0149067938, -0.0053369086, -0.061031118, 0.060589239, 0.0239525177, 0.0361586064, 0.003102906, 0.0378822349, -0.0357425325, 0.0188783724, -0.0027210552, -0.0425352901, 0.0626710281, -0.0043912651, -0.0503907576, 0.0252755694, -0.0140812322, -0.0405350439, 0.0010303296, 0.0028046248, -0.0452650264, 0.0302128252, -0.0429879799, -0.0021019075, 0.063431561, -0.0175698977, -0.0353149995, -0.0320837758, -0.0121125728, 0.0545795634, 0.009358936, 0.0212156679, -0.0243765824, 0.0121641317, 0.0199310761, 0.035246022, 0.0442003123, 0.0129064107, 0.0518541485, -0.0427683033, 0.0342089385, 0.0842171684, 0.039092809, -0.0144997267, 0.0422367416, 0.0248960555, -0.017984096, 0.005564644, -0.0073253349, 0.0354778804, -0.0084043872, 0.0548891872, 0.0109742777, -0.0191991292, 0.011713489, 0.0097440332, -0.012343551, -0.0376123674, 0.0518571995, 0.0251781121, 0.0047454732, 0.0464240126, -0.0161297545, -0.0983370841, 0.0458001941, -0.0063420767, 0.0200838745, -0.0361523144, -0.0447414443, 0.0015228622, -0.0058005494, 0.0122934896, 0.0408542044, -0.0019495577, -0.0334944315, 0.0017439963, -0.045826681, 0.0476782359, -0.0670125037, 0.0256392695, -0.0327557959, 0.051768858, -0.0492772646, 0.0146253062, 0.0046952916, -0.029672008, -0.0717916712, 0.034006685, -0.0089226384, -0.0638584122, 0.0617245361, 0.0017092768, 0.0205833316, -0.0111963945, -0.0119159613, 0.0152505841, -0.0382287502, -0.0149707086, 0.0084027424, -5.310260098e-33, -0.0074307132, -0.0037967956, 0.0152088245, 0.1118225381, -0.0262145121, -0.0243327245, -0.0469794609, 0.0235721339, -0.0291872621, -0.0182165597, 0.0338219851, 0.0004954259, 0.0186251942, 0.0219280496, 0.0034945435, 0.0308658779, 0.0168004148, 0.0353761613, -0.0061427047, 0.0051539633, 0.0690877736, 0.0379658118, 0.0464632958, -0.0671626925, 0.0384547003, -0.0287750363, 0.0195908677, -0.0040016822, -0.0396304466, 0.0061284206, 0.0088683357, 0.0012506401, -0.0492918007, -0.0027725413, -0.0018828781, 0.0360155776, -0.0461223386, 0.0041414672, 0.0207191035, 0.0679904222, 0.0018695275, -0.0003560862, -0.0270397291, -0.0245619565, -0.0167779308, 0.0327447802, -0.0141026163, 0.0469037779, -0.0434637405, 0.0714263096, -0.0481739007, -0.0125967348, -0.004531689, 0.0270461831, 0.0664523393, -0.0438739769, -0.0619441904, -0.0597962961, -0.0161463786, 0.0853860378, -0.0187429413, -0.0026947993, 0.0280254483, -0.0062209172, 0.0084792627, 0.0420965962, 0.0501828678, -0.0507886596, 0.0367640927, 0.0145040769, 0.0061205677, 0.0150367329, 0.0171529818, -0.0299931131, -0.0384605676, -0.0255584735, 0.009111545, -0.0543972775, 0.0651876777, -0.1081179827, -0.0339860246, 0.0195146855, -0.0484305844, 0.0072776983, -0.0242311433, -0.0074037402, 0.0014296371, -0.0352650285, 0.0093319099, -0.0069069653, 0.0035872478, -0.0283664856, 0.0059576882, -0.0377829969, -0.0069677667, -0.0166196506, 0.0350022353, -0.005014136, -0.0090480829, 0.0070238751, -0.0459207334, -0.0034025025, -0.0246009324, -0.0131536163, -0.0015463601, 0.020064868, -0.0182560384, 0.036636807, -0.0543909483, 0.0350543186, -0.0067235641, 0.0183547586, 0.0261038784, -0.0045889844, 0.0197925065, -0.0076116007, 0.0009456293, 0.0273605138, -0.0129060857, -0.0334445052, -0.0140506197, -0.0491550118, -0.0580379069, -0.0207949951, -0.0337414369, -0.0079592662, -0.0779078379, 0.0375832617, 0.0197518375, -0.0461725257, 0.0189507194, 0.035959661, 2.594e-7, -0.0377783068, 0.0400159433, 0.0396626964, -0.0419552475, 0.0163175836, -0.0113217654, -0.0021508771, 0.0588319972, 0.0197301805, 0.0656425655, -0.0551666915, -0.0232490115, 0.0484169461, 0.0167451799, -0.1173991337, 0.0116448486, -0.0380949043, -0.0400086716, -0.0306587871, 0.0143005121, 0.0297373384, 0.0491230674, 0.0062009427, -0.0245709363, 0.0274413954, -0.0115793506, 0.0050843703, 0.0199802816, 0.0503951684, -0.0415815599, -0.0045569479, 0.0180083215, -0.0029743884, 0.0330732279, -0.0626954064, -0.0232951362, -0.0571260266, 0.0234149341, -0.0001199458, 0.008813329, 0.0186764691, -0.0119741755, -0.0663675815, 0.0003462169, 0.0164994914, 0.0204076339, -0.0286580287, 0.088680312, 0.0214265604, -0.057376232, -0.0310023334, -0.033528842, 0.0203342866, -0.0063560586, -0.0324676111, -0.0494073518, 0.0158165675, 0.0045254044, -0.0028938456, 0.0107035022, 0.0074146455, -0.0343699716, -0.0546679124, -0.0468196943, -0.0148249362, 0.0272134729, 0.0041944208, 1.394362904e-34, -0.0497813486, -0.0163521357, 0.0086401962, 0.0047803824, -0.0389361829, 0.0110940328, 0.106738776, 0.0509953499, 0.028009532, -0.0018783002, -0.0135069666 ]
http://arxiv.org/abs/2310.06762v1
http://arxiv.org/pdf/2310.06762v1
TRACE: A Comprehensive Benchmark for Continual Learning in Large Language Models
2023-10-10T16:38:49
2023-10-10T16:38:49
Xiao Wang, Yuansen Zhang, Tianze Chen, Songyang Gao, Senjie Jin, Xianjun Yang, Zhiheng Xi, Rui Zheng, Yicheng Zou, Tao Gui, Qi Zhang, Xuanjing Huang
cs.CL
cs.CL
Aligned large language models (LLMs) demonstrate exceptional capabilities in task-solving, following instructions, and ensuring safety. However, the continual learning aspect of these aligned LLMs has been largely overlooked. Existing continual learning benchmarks lack sufficient challenge for leading aligned LLMs, owing to both their simplicity and the models' potential exposure during instruction tuning. In this paper, we introduce TRACE, a novel benchmark designed to evaluate continual learning in LLMs. TRACE consists of 8 distinct datasets spanning challenging tasks including domain-specific tasks, multilingual capabilities, code generation, and mathematical reasoning. All datasets are standardized into a unified format, allowing for effortless automatic evaluation of LLMs. Our experiments show that after training on TRACE, aligned LLMs exhibit significant declines in both general ability and instruction-following capabilities. For example, the accuracy of llama2-chat 13B on gsm8k dataset declined precipitously from 28.8\% to 2\% after training on our datasets. This highlights the challenge of finding a suitable tradeoff between achieving performance on specific tasks while preserving the original prowess of LLMs. Empirical findings suggest that tasks inherently equipped with reasoning paths contribute significantly to preserving certain capabilities of LLMs against potential declines. Motivated by this, we introduce the Reasoning-augmented Continual Learning (RCL) approach. RCL integrates task-specific cues with meta-rationales, effectively reducing catastrophic forgetting in LLMs while expediting convergence on novel tasks.
[ -0.0133285793, 0.0473074056, -0.0152042452, 0.0288000833, -0.0125807989, 0.0426728651, -0.0251332968, -0.0579680167, -0.0111707067, -0.0005798442, -0.0346331298, -0.0301711038, -0.0164870489, 0.010400705, 0.0277619138, -0.0039400021, 0.0729206353, -0.0754712895, -0.0263914149, -0.0091367038, -0.0017339597, -0.0163422972, -0.0459175818, 0.0369718932, -0.0018140344, -0.0595131405, -0.0140532115, -0.0309730247, 0.0007640325, -0.0453064889, 0.0141180065, 0.0156085426, 0.0358746685, 0.0110132312, 0.0000022984, -0.0629853532, -0.0009429658, -0.0238954835, -0.0594587401, -0.0046027945, -0.0026230686, 0.0285994578, -0.0484677367, 0.0451865196, -0.0482525118, 0.0035724207, 0.0513690673, -0.0252737757, 0.0781409293, 0.0505684838, 0.0143515337, -0.0144416541, 0.0671700314, -0.0215150211, 0.0325284973, -0.0398489125, 0.010385843, 0.0265304111, -0.0244844407, -0.0094235614, 0.0153844329, 0.0291239657, 0.0627687201, -0.0065258872, -0.0137550496, 0.0420287922, 0.0110296998, -0.0216615833, 0.0005163025, 0.0269458648, -0.017450504, -0.0280271061, -0.0003296087, 0.0232480895, -0.0180900991, -0.0633090138, -0.0614776276, 0.0550525784, 0.0008822289, 0.006386138, 0.0383078344, -0.044220455, 0.0351415537, 0.0194766652, -0.0527355298, 0.0637681037, 0.0049487427, -0.0258784629, -0.0136058787, -0.0126558626, -0.0412000641, -0.0255522709, -0.0001598892, 0.0633603707, -0.0397649072, 0.044910077, -0.0356815904, -0.0003006795, 0.0134051852, -0.0527910553, 0.0566275865, 0.0624524727, -0.0033565937, 0.0405198149, -0.0639471635, 0.0720441565, 0.0130137512, 0.03228838, -0.0115866959, 0.0331988148, -0.0777804255, -0.0155834109, -0.0106477095, 0.061530862, 0.0109514417, 0.0084583247, -0.0333503485, 0.0733897313, -0.0058102324, 0.0400067084, -0.0065873419, -0.0073430985, -0.0295118429, -0.0019719824, -0.0234766714, 0.0139966365, -0.021415621, 0.0109805632, 0.0303205326, -0.0358806998, -0.0145932166, 0.0179553013, -0.0585218817, -0.0286737606, 0.0319509916, 0.0933401063, -0.0354759954, -0.0259005781, -0.0639847741, -0.0042445972, 0.0202251375, -0.0852878913, 0.0239791349, -0.0521005802, 0.0186078977, 0.0090444367, -0.0182339903, -0.0535268672, 0.0150816804, 0.0006188615, 0.0062711486, 0.0569417067, 0.034017317, 0.007351201, 0.0117537901, 0.0226607881, -0.016801849, 0.0693713278, 0.0277858544, -0.0311212912, 0.0007523417, 0.0007484977, -0.0226404555, 0.0335527547, 0.028590491, 0.007109649, -0.0312365778, 0.021426389, 0.0321801454, 0.0234277267, 0.0246211458, 0.0234338138, -0.0154683637, 0.0227692891, 0.0512426943, 0.0262309965, 0.0098928334, 0.043438334, 0.0496210381, -0.0289139003, 0.0340813324, -0.0037813012, -0.089088507, 0.0421863385, -0.0147353029, 0.0293882061, -0.00533864, 0.0231316723, -0.0228490178, -0.0657036602, 0.0073268586, 0.0113606229, -0.0084338756, 0.0259156972, 0.0394711755, -0.0167567413, -0.0564891919, 0.0624704659, 0.0049537113, -0.0310477316, -0.0234335326, -0.0702589899, 0.0257265214, 0.0548826344, 0.0352819264, -0.0276928376, -0.1060937047, -0.0018757631, 0.0116918767, -0.002199074, -0.0060623763, -0.0045914012, 0.0418577343, -0.0447294004, 0.0021529915, -0.0153205087, 0.0173941869, 0.0056271474, 0.039110098, 0.0160992928, 0.0080308486, -0.0373261236, -0.0387551337, 0.0463490933, -0.0739498138, -0.0174289774, -0.0186833981, -0.003166347, -0.0102916528, -0.0115571935, -0.0241814274, 0.0257864241, 0.047144454, -0.0269956253, 0.0244834162, 0.0299086571, -0.0842684135, -0.0206861366, 0.0652040765, 0.0241603311, -0.0301541649, 0.0097607076, -0.0206711031, -0.0283780824, 0.0132382549, -0.0169218406, 0.0357027277, -0.0191486385, 0.0553550944, -0.0241195168, -0.0068973606, -0.010601609, 0.0678992718, -0.0199776199, -0.0059809093, 0.0238363482, 0.0326269008, -0.0142125888, -0.0487034991, 0.0093915667, 0.0081916247, -0.0150177572, 0.0254806299, -0.0287772901, 0.0151564116, -0.0499471091, -0.0116250357, -0.0731417909, 0.0473696999, -0.0170672387, 0.0342908129, 0.0320206098, -0.0231955573, -0.0071617095, 0.0001273925, -0.0060218037, -0.0200845432, -0.0094791688, 0.0178737938, 0.0157532673, -0.0102461809, -0.0406774692, -0.0489184409, -0.0060108607, -0.0286027044, 0.0183475148, -0.0361146666, 0.0205038451, -0.0575636625, 0.0541855879, -0.0324723236, 0.0220932122, -0.0226423759, -0.0423947126, 0.0254909527, -0.0086103976, 0.0416326709, 0.101118952, 0.0032440485, 0.0129562588, 0.0655347109, -0.003029868, -0.043543227, 0.0196696781, -0.005770029, -0.0354089402, -0.0137672974, -0.0008957, -0.0070312787, 0.0816448703, -0.0399383679, 0.0074863038, -0.0249760486, 0.0069915443, -0.0321305953, 0.0007525705, -0.0461858958, 0.0036174669, -0.0295251012, 0.0198779944, -0.0423462652, -0.078515321, 0.0713909715, 0.0079813926, -0.0018138598, -0.0493945256, -0.0052825636, -0.0226963256, 0.065489158, -0.0365211479, 0.0003421878, 0.0200849902, -0.0217211805, -0.0563890822, -0.01267232, 0.046654094, -0.0228630658, 0.0789810419, -0.0619475357, 0.0064427732, 0.0100179082, -0.0539710559, -0.0742861852, 0.0160014015, 0.0036800688, 0.0194974691, 0.0094768303, -0.015326838, -0.0292837042, -0.0218759608, 0.0485423245, 0.0241150409, -0.0118396282, -0.0214218348, -0.0071385265, -0.01653165, 0.0134550128, -0.0108274082, 0.0326210111, -0.059293244, 0.0589304045, 0.0276454277, 0.0497097299, -0.0089880051, -0.0325206816, 0.0299208928, 0.0028095744, 0.0059982655, -0.0080560325, 0.0410782136, 0.0488973185, -0.0729838461, -0.0353334285, 0.1060789675, 0.0368123204, -0.0261971354, 0.0111348182, -0.0372098535, 0.0547536314, 0.0430750623, 0.0461284816, -0.0513478518, -0.0190712586, 0.0339552611, 0.0337263457, 0.005630454, -0.0275372211, -0.0048128143, -0.0960925072, -0.0106032528, 0.0338831991, -0.0301997568, 0.0194776189, -0.0371793956, -0.031272646, -0.0054715937, 0.0197025891, 0.033165317, -0.0209694561, -0.012333476, 0.0390873253, -0.0291720983, -0.0442600511, 0.0604339801, -0.0194848124, 0.058750052, 0.0659485087, 0.0033888957, 0.0317470059, -0.0471709669, 0.0863679945, 0.0188409276, 0.0183077138, 0.0024220762, 0.0146736382, 0.018353302, -0.0123676201, -0.0083419289, 0.0336127058, -0.0202187505, -0.0193271711, 0.036902681, 0.0904109478, -0.0107085602, 0.0164521597, 0.0050792065, -0.0416673534, -0.0405140743, 0.0437657088, 0.0138176382, -0.0356709473, -0.0526931658, -0.0398865156, -0.0209153369, -0.0608424395, -0.0147768334, 0.0264424849, -0.0244415421, -0.0268424731, -0.0443429276, -0.018069705, 0.0009592359, 0.0548839308, 0.0185703672, -0.0017305656, 0.0011129049, 0.0048531317, -0.0676794201, 0.0169528015, -0.0194567293, 0.0312356576, -0.0934855193, 0.0229697861, 0.023205841, -0.0105621479, -0.0122568486, -0.0034731026, -0.1036336422, -0.074271664, -0.009204587, 0.06826175, 0.023865696, 0.0689431503, -0.0098809684, -0.0453031249, -0.0103076426, -0.0119548542, -0.0363228023, 0.0207875092, 0.0517219864, -0.0130776847, 0.0308561455, 0.0194966253, -0.0307121575, 0.0063699791, 0.0138497707, 0.0400112122, 0.0084691178, 0.0550601184, 0.0326221213, -0.0166107304, 0.0055482751, -0.002052502, -0.0225285478, -0.0243195482, 0.0307745282, 0.0142055824, -0.0077671763, -0.0192001369, 0.0179818776, 0.0278760828, 0.0064232433, 0.0265795495, -0.0176328532, 0.0371013209, 0.0374903865, 0.002039073, 0.0397724658, -0.025682753, 0.0188745018, 0.0468208492, 0.007794545, -0.0396940336, 0.021005068, -0.0140027031, 0.0512658283, -0.0213920902, 0.0618917607, 0.0146152796, 0.018137997, -0.0160826109, 0.0173820481, -0.043176502, -0.1029399633, 0.0016756442, 0.0167360269, 0.0991442427, 0.0272661746, 0.0374724567, -0.0340079069, 0.0245073214, -0.032567665, 0.0086334702, -0.0133359414, -0.0351424478, 0.0144807398, 0.0389323384, 0.0176494662, -0.005388103, 0.0704459995, -0.0237085875, 0.0543528572, -0.0161549039, 0.0146355042, -0.0294448733, -0.0078003984, -0.0073195668, -0.0037312431, -0.0147737926, -0.0118151596, -0.0207814798, -0.0980623886, -0.0004457121, 0.0328399017, 0.0068416866, -0.0242654011, 0.0084784199, 0.0593518168, -0.0203414187, -0.0117502427, -0.0074496297, 0.0081402929, 0.0188667737, -0.0065094782, -0.0290184319, -6.728526725e-33, -0.0064668576, 0.0108801592, 0.0636064783, -0.0322252549, -0.050109949, -0.0090334956, -0.0712850839, 0.028912032, -0.0391361713, -0.0153014921, -0.0026049369, 0.0294646751, 0.000283015, 0.0065133055, 0.0408340469, -0.0176599622, 0.0071058483, 0.0115444139, -0.0386296324, 0.030038489, 0.0288244225, 0.0272354297, 0.0211279672, -0.0299294684, -0.0026384813, 0.0158445705, -0.0025762247, 0.0543676876, -0.0243172087, 0.0862930641, -0.003068578, -0.0066256369, 0.0143191284, -0.0489777848, -0.0385265239, -0.0454644933, -0.0664849654, -0.0198643859, 0.0275594573, 0.0029772958, -0.0235972255, -0.0535087697, 0.0229105782, 0.0097342227, -0.0387364179, -0.0255854782, -0.0006470468, -0.0346775576, -0.0428466834, 0.0206370465, -0.0538087785, 0.0093212724, -0.0331376977, -0.0403331518, 0.004240701, -0.0088723488, -0.0220615733, -0.0422336906, -0.0488156825, 0.001291342, -0.0194461886, 0.0512569733, 0.0827691928, 0.0297457669, 0.0331779681, 0.0455679856, 0.035288848, 0.0170674361, -0.0023490384, -0.0098567586, 0.0460730232, 0.0376477093, 0.0064479043, -0.0369807072, 0.0253708679, -0.0159147494, -0.0741413236, -0.0147681395, 0.0550955348, 0.064004764, 0.0418970175, 0.0170026943, -0.0210790653, -0.0296605453, -0.0491430648, 0.0563837215, -0.0445986055, -0.0197795462, 0.0654976815, 0.0144544281, -0.0169649906, -0.0412119366, 0.0247127693, -0.0172165167, -0.007506405, 0.0466339923, -0.045887053, 0.0404860415, -0.009956385, 0.0440005586, -0.0578109361, -0.035878472, -0.0133091621, -0.0146853821, 0.0371498838, 0.0024038213, 0.0446466655, 0.037284486, -0.03794761, -0.0197988451, -0.0800518394, 0.0109888697, 0.0449348874, 0.021898929, 0.034880586, 0.0199153163, -0.0102181314, 0.0546122044, -0.0068948199, -0.0352041312, -0.0596243814, 0.0353632383, -0.0025896498, 0.053538572, -0.0213022474, -0.0184068456, -0.0489686392, 0.0331585817, -0.0055275355, -0.095271036, -0.026906468, 0.0087361354, 2.939e-7, -0.0060796533, 0.0348865688, 0.0064772796, 0.0399666801, 0.0219924469, 0.0361885391, -0.0611553937, -0.0324465074, 0.02509165, 0.0308755506, -0.021873273, 0.0560350716, 0.0432834402, 0.0154241687, -0.0341576524, 0.0035011752, -0.0244705696, -0.0011503564, -0.059930943, 0.0093487501, 0.0250504166, 0.0608972013, 0.0037333746, -0.0080085453, 0.0304875318, -0.0482542105, 0.0639601201, 0.0077780546, 0.0235464033, -0.0125372251, -0.0449839607, 0.0497989543, -0.0293238331, 0.0010306496, -0.0147526246, -0.0113468627, -0.0595481098, 0.0700769126, 0.0066177123, -0.0129806083, 0.0202030092, -0.0017717567, -0.0068557616, -0.0471290685, 0.0728971213, -0.0537329428, -0.0167631358, -0.0023867474, 0.0223469045, 0.0076157791, -0.0179882757, -0.0006198914, -0.0239059497, -0.0062533519, 0.0017089505, -0.0072014048, -0.0134586254, -0.071263507, -0.0338375717, 0.0490690432, -0.0300846212, -0.0538183339, -0.0755187646, 0.0242044181, 0.0290882997, -0.0547952205, 0.0101472503, 2.991644143e-34, 0.0098482482, -0.0392262898, 0.0346691385, 0.0641278997, 0.0323296003, -0.0293239783, 0.0260263495, 0.0152358124, 0.0137637062, -0.0443945006, -0.0225076713 ]
http://arxiv.org/abs/2310.06714v2
http://arxiv.org/pdf/2310.06714v2
Exploring Memorization in Fine-tuned Language Models
2023-10-10T15:41:26
2024-02-22T21:19:59
Shenglai Zeng, Yaxin Li, Jie Ren, Yiding Liu, Han Xu, Pengfei He, Yue Xing, Shuaiqiang Wang, Jiliang Tang, Dawei Yin
cs.AI
cs.AI, cs.CL, cs.LG
Large language models (LLMs) have shown great capabilities in various tasks but also exhibited memorization of training data, raising tremendous privacy and copyright concerns. While prior works have studied memorization during pre-training, the exploration of memorization during fine-tuning is rather limited. Compared to pre-training, fine-tuning typically involves more sensitive data and diverse objectives, thus may bring distinct privacy risks and unique memorization behaviors. In this work, we conduct the first comprehensive analysis to explore language models' (LMs) memorization during fine-tuning across tasks. Our studies with open-sourced and our own fine-tuned LMs across various tasks indicate that memorization presents a strong disparity among different fine-tuning tasks. We provide an intuitive explanation of this task disparity via sparse coding theory and unveil a strong correlation between memorization and attention score distribution.
[ 0.0304052476, 0.0763155594, -0.0250611864, 0.0441046767, -0.0279633626, 0.0170440748, 0.0322719701, -0.0122321714, -0.0234224685, -0.0205937643, -0.0615606233, -0.0359022021, 0.0076341298, -0.0011095394, 0.0330622755, -0.0023290184, 0.0223699193, -0.0554056764, -0.0051214234, -0.0264062732, -0.0289259013, -0.0000150262, 0.0190081336, 0.0104271565, 0.034584552, -0.0291418675, 0.0084757842, -0.0124368081, -0.0018910925, -0.0162898991, 0.0142020164, 0.0940442607, 0.026651619, 0.0482662246, 0.0000018804, -0.0338477604, -0.027639199, 0.0000921107, -0.0468808003, 0.075800553, 0.015576194, 0.0058710384, 0.026260497, -0.0075573996, -0.0198852681, -0.0116915591, 0.0791779384, 0.0134610441, 0.029633671, 0.0547874831, 0.0054776412, -0.0036560646, 0.004326921, -0.0411847793, 0.0099296365, -0.0614310987, 0.016905196, -0.0063704583, -0.0463886783, -0.0039937566, -0.0315016508, 0.0360151082, 0.0150675783, 0.052442085, 0.0309301224, 0.0534405001, -0.0304205418, -0.0072550108, -0.0060158209, 0.0473015085, 0.0031631035, -0.031191662, 0.0066947341, 0.0207847394, 0.0233011413, -0.0083291819, -0.0482096523, 0.0524606183, -0.0059857401, 0.0123059219, 0.0014366659, -0.0314583816, 0.0405397266, 0.0108666373, 0.0037925863, 0.026921697, 0.0100810155, -0.0138294138, -0.0292838644, -0.017916508, 0.0056240368, -0.0737665221, 0.0290135164, 0.0093120467, 0.0345310532, 0.0165312979, -0.0731809363, -0.0355645157, 0.0384520479, -0.0019415828, 0.0892284736, 0.0025669774, 0.0035813346, 0.0403709523, -0.0384664685, 0.066196993, -0.0063525527, 0.044215329, -0.0075874524, 0.034603253, -0.0479284935, -0.0103807338, -0.0080363518, 0.0497779846, 0.0138305826, -0.0050351736, -0.0127315717, 0.0356192216, 0.0132871205, 0.002771192, -0.0229581222, 0.0106683113, -0.0246266294, 0.0036772888, -0.0008088783, -0.0191297233, -0.022477882, 0.0180739984, 0.035845235, -0.0506161265, -0.0384718701, -0.0273619983, -0.0089524779, -0.0399835706, 0.0005136525, 0.0387998037, -0.0017798654, -0.0295888521, -0.022504095, -0.0344686583, 0.01302756, -0.0715220571, 0.0181379654, -0.0594419315, -0.0056162858, 0.0269187316, 0.0143229747, -0.0592687652, -0.0143766226, 0.0149297537, -0.0720062628, 0.0477886535, 0.0204219613, 0.0048154797, -0.0163527261, 0.0171387084, 0.0291313753, 0.0481671318, 0.0085783517, 0.0207724236, 0.0319807902, -0.0401897207, 0.0235300232, 0.0052220663, 0.0249609258, 0.0187249053, -0.0215808731, -0.0024136086, 0.0453041196, -0.0280813109, 0.0379781723, 0.0528088249, -0.0284991246, -0.0443504304, 0.0813059881, 0.0902693495, 0.0228384957, 0.0242187027, -0.0427441821, -0.0101879174, 0.0257714521, 0.049395103, -0.0860792622, 0.043302685, -0.0269082617, -0.0139256502, 0.0125857452, 0.0096074119, -0.0373054557, 0.0064420518, -0.0038938201, -0.0191615373, 0.0104788924, 0.0164888985, 0.0258227792, -0.0034637915, -0.0136266034, 0.069286257, 0.0200633518, -0.0395218953, 0.0083641922, -0.0497397184, 0.0151161328, 0.0642488152, 0.0127934273, -0.0098774247, 0.0056162584, -0.0223376863, 0.0174502842, -0.0207610689, 0.0462804213, 0.0189846531, 0.0482492298, -0.0443665758, -0.0237406772, -0.0699061975, 0.030782789, 0.0344591774, 0.0012305924, 0.0013403675, 0.0276939329, -0.025909787, -0.0332854167, 0.027553523, -0.021558715, -0.0511315651, -0.0010881552, -0.0165815558, 0.0217452571, 0.0013997225, -0.0191913173, 0.0283680595, 0.0275621116, 0.0156744644, 0.0495208763, -0.0424146913, -0.0366011895, 0.0341184624, 0.0094955647, -0.0103157582, 0.0262056571, 0.0581133217, -0.0022538796, -0.0429830663, 0.017661415, 0.0038733697, 0.0753243268, -0.0168334413, 0.0248422027, -0.0430378169, 0.0311790202, -0.0450810716, 0.0325438455, -0.0308062527, 0.0146813067, -0.0184507594, -0.0131394295, 0.0073412736, -0.0483859628, -0.0266979653, 0.0150931934, -0.0183688942, 0.0336280167, 0.0032174434, -0.0303107407, -0.0445747674, -0.0135766286, -0.0483431071, 0.0085535608, -0.0306120496, 0.0215741266, 0.01718623, -0.016405534, -0.0185216758, -0.0175268203, -0.0455922708, -0.0072064092, -0.0433693603, 0.0532520749, -0.0185657609, -0.0081953816, -0.0176039767, -0.0317173861, -0.0489983633, 0.0222195555, 0.0260428507, -0.0194765776, 0.0168217681, -0.0526856109, 0.0652726889, -0.0113972174, 0.0187817439, -0.0078545064, -0.0393045023, 0.0282566287, -0.0016383844, 0.0251245778, 0.112669535, 0.005535577, 0.0115630133, 0.0835391879, -0.0019067382, -0.0118425572, -0.0193838663, -0.0161809847, -0.0868838206, -0.051066231, -0.0036777952, 0.0071719652, 0.0527861081, 0.0114673292, -0.0200052671, -0.0329915583, -0.0010808669, -0.0179953482, -0.0382615924, -0.0320656709, 0.0151610896, -0.0339634605, 0.0613921024, -0.0128413513, -0.0889339224, 0.0629327968, -0.0184368975, 0.0140309427, 0.0036029166, -0.0092129838, 0.0016147732, 0.0621621497, 0.0154147455, 0.0362803191, 0.0326899141, -0.050915651, -0.0456763841, -0.0216331352, 0.0346743949, -0.0520960763, 0.0368228741, -0.0012905248, -0.0359056368, -0.0126740877, -0.0257942248, -0.0306637846, -0.0336577147, -0.02641006, 0.022639107, 0.0118163042, -0.0166289601, -0.0311205015, -0.0176897105, 0.0474539921, 0.0078615984, -0.0078055114, 0.01014244, -0.0010968582, -0.007119535, 0.0433019176, -0.0069261608, 0.0195222721, -0.0448826477, -0.0292302165, 0.0630942956, 0.0699930191, 0.0365070142, 0.0196257215, 0.012740585, 0.0402501523, -0.0052477997, -0.0050163469, 0.0498119034, 0.0593965277, -0.0558588542, 0.0133172031, 0.0949191079, 0.0180616602, -0.0793435872, -0.0073800813, 0.0101844771, 0.030267816, 0.0401970856, -0.0215001442, -0.0624320172, 0.0020335109, 0.0214638822, 0.0560654625, -0.0060595945, -0.0342496447, -0.0033873622, -0.0737206936, -0.0048795724, 0.0310390927, -0.0401567966, -0.0260966886, -0.0532154925, 0.0061386731, -0.0103732292, 0.0121985404, 0.0115523757, -0.0131227309, -0.013318643, 0.0274800677, 0.0204221588, -0.0641083568, 0.0483874418, -0.028834939, 0.0711380616, 0.0557280853, -0.0097543867, -0.0169301033, -0.0515635014, 0.015203991, -0.0052695298, 0.0187832322, 0.0073270262, 0.0447831862, -0.0052908962, -0.0168998577, -0.0014122719, 0.0583738051, -0.0247530099, -0.02827009, -0.005365801, 0.0542156771, 0.0009850352, -0.0288184937, 0.0340036526, -0.0520572774, -0.0050236564, 0.0753141269, 0.049182687, -0.0240831804, -0.0014763993, -0.0377061926, 0.0377289616, -0.0389768779, -0.0091955224, 0.041977413, 0.0036041951, -0.0535088927, -0.0368982367, -0.0080319289, 0.0202328041, 0.0075802393, 0.0229875054, 0.0265053287, 0.0344231017, -0.0480703712, -0.0665566847, 0.0546754971, -0.0687661394, -0.0114161037, -0.0764665231, -0.0766702294, 0.0081877131, 0.0048741181, -0.0048045847, 0.0061539742, -0.110137932, -0.0696889013, 0.0260996316, 0.0555875413, 0.0206708331, 0.0314421467, 0.0083007514, -0.0689493641, 0.0298576728, 0.0198268332, -0.0767013431, 0.0525253378, 0.0344294161, -0.0651585385, -0.0135663738, 0.0334742293, -0.023735065, -0.0218413193, 0.0883043036, -0.0161487423, 0.0102855191, -0.0251008086, 0.0170815904, 0.0132874092, 0.0445459597, -0.0167657528, 0.0125893196, -0.0229654182, 0.0163416844, 0.0237937327, 0.0031892494, -0.0133303618, -0.0582385771, 0.0537470281, -0.0205479134, 0.0241314285, -0.0143868998, 0.0101595018, 0.039973896, -0.078519702, 0.0190972574, 0.0094326567, -0.0042458833, 0.0594707914, 0.0263460539, -0.0536770597, 0.0471536517, -0.0414323956, 0.0374359675, -0.0005569019, 0.0315726101, -0.0173214972, 0.0200986508, -0.0489647575, 0.0351643637, -0.064503327, -0.0782899261, 0.0126641849, -0.0150528876, 0.0490732603, -0.0545701757, 0.0112884752, -0.0300147478, 0.0013422124, -0.047431048, -0.0068405545, -0.0247725546, -0.0066490038, -0.0152467731, 0.0099281715, -0.0096048089, 0.0429512598, 0.1092139557, 0.0176834706, 0.0487865694, -0.0182279963, -0.0047674039, -0.0197132155, -0.0140070217, 0.0062789144, 0.0413227938, -0.0117944749, -0.0056836512, -0.0270004086, -0.0923243687, -0.0014259338, -0.0425233841, 0.0169543736, -0.0254087523, 0.0262196399, 0.050182797, -0.0375649072, 0.0014935979, -0.0526077561, 0.0024779092, 0.0194146056, -0.011675993, -0.0224838536, -6.567420082e-33, 0.0001088554, 0.004661235, -0.0105658695, 0.0251818169, -0.0004864295, 0.0285773519, -0.0365835689, 0.0152334459, -0.032793019, -0.0411378965, -0.0410094485, -0.0016232888, 0.0073019094, 0.036651291, 0.0041655586, -0.0335142314, 0.0367924199, -0.0221180376, -0.0316586755, 0.0423939675, 0.0524152666, 0.0264554489, 0.0689837784, -0.0549129993, 0.0274728034, 0.0113397595, -0.0041884026, -0.0225201417, -0.0464403853, 0.0719075501, -0.0384723805, 0.0161702428, 0.0177102797, -0.037415795, -0.0452378318, -0.004456426, -0.053212516, -0.0057118582, 0.0265848693, -0.0219139177, 0.0314005204, -0.0726654157, 0.0662697405, -0.0261948816, -0.0048292833, -0.0386111103, 0.0028655562, -0.0228111725, -0.0710386783, -0.0164888781, -0.0177683849, -0.017621005, -0.0286611002, -0.0314436927, 0.0570596792, -0.0323278867, -0.015202878, 0.0004843319, -0.0457560942, 0.0375366248, 0.0501137115, 0.0425151624, 0.0724301487, 0.050110314, 0.0534906834, 0.0631736442, 0.0221213344, 0.0475671068, 0.0020615153, 0.0011133909, 0.0474219471, 0.0337562896, 0.0078586657, -0.0215664655, 0.0292048361, -0.0379261449, -0.0247329995, -0.0405701809, -0.0534953102, 0.0395046063, 0.0868795216, 0.0247367863, -0.0060607856, -0.0282156244, -0.0745344758, 0.0132236267, -0.0536992215, 0.0215269066, 0.0202926081, 0.0099715237, -0.042613849, -0.0317377001, 0.0611410961, -0.0410388038, -0.0052464739, 0.0238144007, 0.0128723606, 0.0332258418, -0.0119279753, 0.002718972, -0.0865970403, -0.0085822633, 0.0063890102, -0.0230762716, 0.0236188062, 0.0265944898, 0.0356137082, 0.0147761609, -0.0450894125, -0.0055493936, -0.0542566366, 0.0087803761, 0.0626314804, 0.0392699689, 0.0387107953, -0.0032547903, 0.0004215254, 0.0428644158, -0.0016698821, -0.0281397924, -0.0449886173, 0.0160816889, -0.0147761488, 0.0192222372, -0.0078448197, -0.0194417611, -0.0444725081, 0.0170110278, 0.0831060484, 0.017437337, 0.0021642891, -0.0073190131, 2.574e-7, -0.0057988339, 0.0137092136, -0.0296784192, -0.0210132916, 0.0098455539, 0.0365703553, -0.0196675248, 0.0502308197, 0.0123051153, -0.0407026038, -0.0297664888, 0.0621291026, 0.0481161512, 0.0201798081, -0.0514296107, -0.0125182346, -0.0312181283, 0.0344463363, -0.0402657241, -0.001851246, -0.0103815645, 0.1048928574, 0.034915138, -0.0069675175, 0.0254114978, -0.0682519302, 0.0526397489, -0.058278095, 0.0076104258, -0.0018050341, 0.0055374573, 0.0786312744, -0.0024255705, 0.0252139345, -0.0051962156, 0.0017650076, -0.0323871709, 0.0899940059, 0.0096010892, -0.0228737593, -0.0232724175, -0.0297887847, -0.0274939295, -0.0483443178, 0.0585425794, -0.033452522, -0.0523429625, -0.0139439534, 0.0501511134, -0.0386937819, 0.026223043, -0.0266112629, 0.0327371284, 0.0142662916, -0.0258551482, 0.0090295849, -0.0056392341, -0.0774959847, -0.0149736675, 0.0084253838, -0.0361528434, -0.0551442169, -0.0374210365, -0.0487114787, 0.009471735, -0.0296555366, 0.0426718891, 2.179830755e-34, 0.0067238007, -0.0322804973, 0.0174018722, 0.038544558, 0.0285068452, -0.0312797986, 0.0199152865, 0.021137137, 0.0076465714, -0.0910030231, -0.0152787752 ]
http://arxiv.org/abs/2310.06707v3
http://arxiv.org/pdf/2310.06707v3
Quality-Aware Translation Models: Efficient Generation and Quality Estimation in a Single Model
2023-10-10T15:33:51
2024-03-25T13:27:16
Christian Tomani, David Vilar, Markus Freitag, Colin Cherry, Subhajit Naskar, Mara Finkelstein, Xavier Garcia, Daniel Cremers
cs.CL
cs.CL, cs.AI
Maximum-a-posteriori (MAP) decoding is the most widely used decoding strategy for neural machine translation (NMT) models. The underlying assumption is that model probability correlates well with human judgment, with better translations getting assigned a higher score by the model. However, research has shown that this assumption does not always hold, and generation quality can be improved by decoding to optimize a utility function backed by a metric or quality-estimation signal, as is done by Minimum Bayes Risk (MBR) or Quality-Aware decoding. The main disadvantage of these approaches is that they require an additional model to calculate the utility function during decoding, significantly increasing the computational cost. In this paper, we propose to make the NMT models themselves quality-aware by training them to estimate the quality of their own output. Using this approach for MBR decoding we can drastically reduce the size of the candidate list, resulting in a speed-up of two-orders of magnitude. When applying our method to MAP decoding we obtain quality gains similar or even superior to quality reranking approaches, but with the efficiency of single pass decoding.
[ -0.0051359944, 0.0646130815, 0.0295954198, 0.0179310776, 0.0167726055, 0.0129518742, -0.0189815462, 0.0004004493, -0.0208606403, 0.0003208668, -0.013687605, -0.0225352626, 0.0242859796, -0.0178047568, 0.0283338167, -0.0177354943, 0.0155767724, -0.0153293554, -0.0118326154, 0.0077800713, -0.0500875153, 0.0035524224, 0.0021731351, 0.0664957091, -0.0036450378, -0.0030350762, 0.0165552348, 0.039504163, 0.0549359843, -0.0283884313, -0.0138971163, 0.0422845483, -0.01169213, -0.0084492918, 0.0000021207, 0.0254359562, -0.0425317883, 0.026444314, 0.0224832669, -0.0047955099, 0.0256753229, -0.0283434205, -0.0576192848, 0.0444355048, -0.0016005147, -0.0082570929, 0.0633631423, -0.0116672674, 0.0634503588, 0.0812457651, -0.003886706, -0.028077323, 0.0191902425, -0.0547237694, -0.0198438875, -0.0618116446, -0.0250191148, 0.0362223797, -0.0657988563, 0.0050022975, -0.0201221798, 0.0424522609, 0.044779662, 0.0093071526, 0.0089120744, -0.0009674354, 0.0579900481, -0.023352813, -0.0188818742, 0.0377410054, -0.0789712816, 0.0008482267, -0.0488972329, -0.026646575, 0.004914674, -0.0513397716, 0.007486579, 0.034230981, -0.0023445978, 0.03918764, 0.0090492656, 0.0680595487, 0.0425329134, -0.0001854876, -0.041061528, 0.0062927534, -0.008859464, -0.016987795, -0.0364580378, 0.0332050957, -0.0150281005, 0.0255345963, 0.0352879874, -0.0112036895, 0.0323643237, 0.0118600782, -0.0205421131, -0.0460527986, -0.0288639888, -0.0614956655, 0.0081042955, 0.0614470243, 0.0127086239, 0.0180280115, -0.0004314982, 0.0416170172, -0.0034957132, 0.0350923613, -0.0609010682, -0.0021255603, 0.0068555875, 0.0304111987, -0.0051943371, 0.0042555691, -0.0228221025, -0.0090910476, -0.0240802392, -0.0242667831, 0.0054496829, 0.0054421742, 0.0580218025, 0.0058316165, -0.0841901004, -0.0328107662, -0.0168310851, 0.0501761436, 0.0101293027, -0.0261838622, 0.0258390848, -0.0465126447, -0.0172522813, -0.0026941756, -0.0152049763, -0.0041805496, -0.0068151127, 0.0779734477, -0.0235021412, -0.0265400894, -0.025803905, 0.0152400676, -0.0071269115, -0.0119681833, 0.0094841644, -0.0313353576, 0.0257698726, -0.0219648946, 0.0178895649, -0.0378943905, 0.0066952468, -0.0160229448, 0.001293092, 0.043926768, 0.0028546811, 0.0008870871, 0.0364636034, 0.0115481773, -0.0260448437, 0.0659090132, 0.0641278625, 0.0534165576, -0.0182700828, -0.0020700125, -0.009129568, 0.0377525985, -0.009318985, 0.0307707656, -0.0083259065, -0.0364980623, -0.0137239695, 0.0209152009, 0.0591856502, 0.0460302383, -0.0670935661, 0.0286821909, 0.0961410254, -0.0284672584, 0.0565049648, 0.0376141109, 0.0343431607, 0.0222890973, -0.0369713791, 0.0044665937, -0.0176187661, 0.040044345, 0.060582675, -0.0069052596, 0.0725235343, 0.0522581004, 0.0009706444, -0.0750583261, 0.0031806258, -0.0590827577, 0.0068148924, -0.0171778332, 0.0342941284, 0.0249636732, -0.0530453473, 0.0084226103, -0.0135610821, -0.0211250894, 0.0329657607, -0.0386861153, -0.0078972587, 0.0324480273, 0.0591130815, 0.0276897065, -0.0099778119, -0.0187756643, -0.0791492388, 0.0349925309, 0.0362676159, 0.0209831093, 0.0569035262, -0.0768804178, -0.027357161, 0.0353262573, 0.0216842443, 0.0407272615, -0.0349203683, 0.0080033913, 0.0372192636, -0.0283414125, -0.0610478632, 0.0244094767, 0.0455591977, -0.0470611975, 0.0441336334, 0.0169736743, 0.0470418409, 0.0109306211, -0.0164369736, 0.0327297524, 0.0026422963, -0.0397973806, -0.0093497513, 0.0030479587, -0.0606754199, -0.0496444963, -0.0045286161, -0.0340575427, 0.0157915819, 0.0483103767, -0.034643136, -0.026634315, -0.0113791833, -0.0599538125, -0.0055281655, -0.0361201093, 0.0300999638, 0.0346916951, -0.0221366193, -0.0325386375, 0.0318619907, -0.0559331551, -0.0177768674, 0.0138687668, -0.0223920885, -0.0040324996, -0.0564066879, -0.0147004053, 0.0553898737, -0.0119639924, 0.0531657152, 0.0463639311, 0.0423960052, -0.0008862392, -0.0282714088, -0.0027048013, -0.0060158055, -0.0158483628, 0.0183449946, 0.0167650506, 0.0170217473, 0.0290205274, -0.0058332384, -0.0334240049, -0.0212889425, -0.0206919145, -0.0087641357, 0.0027127794, 0.0122104883, 0.0398725383, -0.0133800199, -0.0194785092, 0.0328033827, 0.0245703477, -0.0216600485, -0.000892608, -0.108625032, 0.0389620438, -0.018613942, 0.0040513785, 0.0092978841, -0.0887236968, 0.0329762623, -0.0121585159, 0.0277527552, 0.0689064711, 0.0079136109, 0.0019944096, 0.0252993256, 0.0349711925, -0.069111295, 0.0234516654, -0.0362256579, -0.0139025524, -0.019895386, -0.0641450286, 0.0339309759, 0.0301969312, 0.0254709329, 0.0202417634, -0.114631705, 0.0227640122, 0.0031184647, -0.0444248542, 0.0122884735, 0.0234613884, 0.0240614265, 0.0159943607, -0.0109422905, -0.0485176891, 0.0403769687, -0.041985061, 0.0118966885, -0.0593148805, 0.0133104194, -0.0076682898, -0.0095113618, -0.0190204792, 0.0407287069, -0.0423415266, -0.0399095379, -0.0225573871, -0.0004106914, 0.0349249244, -0.0396086723, -0.0178424865, -0.0560318306, -0.0294877086, -0.0327495337, -0.0108829336, 0.0062144627, 0.0530770123, 0.0066998745, -0.0290590413, 0.0217332821, -0.0015415775, 0.0275756884, 0.0392533019, -0.0116502568, 0.0548942238, -0.0165253654, 0.0096415114, -0.0025140706, 0.0345533751, -0.0028904486, 0.008049041, 0.0382229239, -0.0459945165, 0.0191624425, 0.0306503493, -0.0060124807, 0.0170311537, -0.0503855497, -0.0274189468, 0.047247719, 0.0547508001, -0.0095788818, 0.0357009731, 0.0342389531, -0.0645801499, -0.0073278141, 0.0760435164, 0.0007058052, -0.0579304844, -0.0060943612, -0.0022019078, 0.0263529141, -0.0317781307, -0.0077078352, -0.0249243248, -0.0362101384, 0.0002246268, 0.0578575768, 0.0088885026, 0.0052695656, -0.0209604669, -0.0889983475, 0.0375574045, 0.0698521063, 0.0055271615, -0.0678095967, 0.014348275, -0.0695756823, -0.0768255219, 0.0188767985, -0.002204024, 0.0672601834, -0.0040982831, 0.0388018712, 0.0187242217, -0.096455507, -0.0622968003, -0.0466803052, 0.049390886, 0.119957976, 0.0130554913, 0.0092684804, -0.0403936468, -0.0138038341, -0.0314892679, 0.0157922395, 0.0072325054, 0.014206212, -0.0367081203, -0.0051850937, 0.0150444554, -0.0234219935, 0.0188839734, 0.0224264897, -0.0301910806, 0.0206643473, -0.0281533077, -0.0076167448, -0.00511755, -0.0383331403, 0.003129482, 0.0411502123, 0.0396970361, -0.0431301743, 0.0057825083, -0.0392514169, 0.0423819423, -0.057945691, 0.003796618, 0.0158904213, -0.0006841067, -0.0842869505, -0.1020402163, -0.0475076884, -0.0123960376, 0.0036293857, -0.0325824656, -0.0220030863, 0.039953135, -0.0033111686, 0.0151831061, 0.0276728533, -0.0136060044, -0.0185353681, -0.0693151876, 0.024252791, 0.0083144577, -0.0328474008, 0.0023226617, 0.0167954285, -0.067774035, -0.0546887666, -0.0362583958, 0.090093784, 0.0184263662, 0.0175463147, -0.0510987379, -0.0517421663, -0.0082958639, 0.0034402946, -0.0146279959, -0.0073528248, 0.0621054247, 0.0036614551, -0.0379580073, 0.0235731974, -0.0260112286, 0.0269450583, -0.0390298963, 0.050084129, -0.0159402359, -0.0140845235, 0.0288641714, -0.0202489216, 0.0303852465, -0.0544260144, -0.026823476, -0.0238921884, 0.0070219957, -0.0203257818, 0.0020647387, -0.0599831156, 0.0341490731, 0.056060914, 0.0033116392, -0.0074620182, -0.026697332, 0.0148833534, -0.0307248775, 0.0204444323, -0.0053382823, -0.0285632797, -0.0262323916, 0.0153060062, 0.0066663409, -0.0324562341, 0.0043689217, -0.0012532684, -0.003745679, -0.0267820414, 0.0194736235, 0.0054268963, -0.0047646849, 0.0401270501, 0.0663609728, -0.0140147256, -0.0556374118, -0.0716982782, -0.0104356818, 0.0721815377, 0.0336703546, 0.1053803042, 0.0086255856, 0.0049539949, -0.038230069, 0.0344306603, 0.0298754368, -0.0046136728, 0.0036767351, 0.0060601458, 0.0111233965, -0.0152490027, 0.0442972258, -0.0301414691, -0.0197866317, -0.0648358166, -0.0071692038, -0.0371900089, 0.0004581812, -0.0225580186, -0.0204713326, -0.0223423224, -0.0107544055, -0.0183332879, -0.0393815674, -0.0089968545, 0.0249561407, 0.0371825732, -0.0388051271, 0.0179661103, 0.0403025225, -0.0721452385, 0.0055345935, -0.0388974324, -0.0544947535, -0.031978827, -0.0153936241, -0.0274928957, -6.238198644e-33, -0.021918688, -0.0151529638, -0.0042055291, -0.0896947235, -0.0026424804, -0.0051320866, -0.0160600077, -0.0334237106, -0.0028032137, 0.0098827472, 0.025821114, 0.0156645346, 0.0254668482, 0.0002804261, -0.007640678, 0.007927984, 0.0737312585, 0.005577479, -0.0578521639, -0.0043274891, -0.0037023344, 0.0040545859, 0.0537612624, -0.0251427088, -0.0066635888, 0.0194635615, -0.0555606298, 0.0014802542, 0.0202856045, 0.0409932695, 0.0200812928, 0.0150321238, 0.0178470928, -0.0614157058, -0.0160920657, -0.0479352921, -0.0487703569, 0.0175254382, -0.0287802927, 0.0181720778, -0.0112786628, -0.0591805913, 0.030496208, 0.0165909901, -0.0489239022, -0.0193791073, -0.0181031507, -0.0611114763, -0.0482531376, -0.0401828326, 0.0163601004, 0.0575362109, 0.0083105238, -0.0350882113, 0.0371087156, 0.0448234938, -0.0397638753, 0.0154989483, -0.0644640177, 0.0244886782, 0.0386382341, 0.0573269986, 0.069188267, -0.003818477, -0.0314814821, -0.010072344, 0.0213817246, -0.0309935939, 0.0331838764, 0.0069378782, 0.0142347636, 0.0306630936, 0.0784821659, 0.0438453667, 0.0486815833, -0.0163647961, -0.0430839173, 0.0677720681, -0.0370136797, 0.0237581711, 0.0118269641, 0.0385042056, -0.0509095863, -0.0124742379, -0.0619559325, -0.0929009542, -0.0053981347, -0.0176094826, 0.0233726818, 0.0393039957, -0.0450791232, -0.0263426304, 0.090975076, -0.0052948184, 0.0788211599, -0.0095098084, -0.0354877152, 0.0266406983, -0.0214903653, 0.0240029227, -0.0153789138, 0.0195539575, 0.0336428136, -0.00099198, -0.01188224, -0.0003186017, 0.0060377978, 0.0335362963, -0.0139544988, 0.0136391837, -0.031887535, 0.0150167588, 0.0085750911, 0.0523204505, 0.0253840648, -0.0337860286, -0.0174138155, 0.0696657225, -0.0197626948, 0.0662371144, -0.0198293589, 0.0223085992, 0.0388549194, 0.0231309105, -0.0280982014, 0.0214264449, -0.0178146604, 0.0158131439, 0.0763202086, -0.0343428105, -0.0660462976, 0.0493468568, 2.712e-7, 0.0338578448, 0.0373043381, 0.021083096, 0.012719552, 0.0069356309, 0.0765127763, 0.0048450958, 0.0246005896, 0.0078915004, 0.038966395, 0.0120221591, 0.0047883419, 0.090902321, 0.0366535373, -0.0589054488, -0.0132692782, -0.0337359235, 0.0290741045, -0.0047839419, -0.02995703, 0.0321096294, 0.0704864264, -0.0564942993, 0.0013012107, 0.0241052154, 0.0128034083, 0.0581596196, -0.0232440047, -0.0183120295, -0.0106809894, 0.064769499, 0.0150297945, -0.0291458797, -0.0421939306, -0.0322853439, -0.0233424865, 0.0354061201, 0.0776910856, -0.0044160113, -0.0481004901, 0.0371764638, 0.0291214734, 0.0134542733, -0.0097794188, 0.0273812413, -0.0604372993, -0.0252251122, 0.0137135768, -0.0370037034, 0.027914267, 0.0232259687, -0.0501265787, -0.0418446213, -0.0012333498, 0.0426951051, 0.0127640953, 0.0163379889, -0.0209138636, -0.025921043, -0.0518300943, 0.0049555227, -0.0590830632, -0.0273130462, -0.0143996375, 0.0408026353, -0.0626403838, -0.0136682177, 2.120022658e-34, 0.0576683544, -0.0373974219, 0.0535896979, 0.0107230209, 0.050480824, 0.0042583332, -0.0216872636, -0.0021068249, -0.0039617531, -0.0289808195, -0.0528714471 ]
http://arxiv.org/abs/2310.06702v1
http://arxiv.org/pdf/2310.06702v1
Temporally Aligning Long Audio Interviews with Questions: A Case Study in Multimodal Data Integration
2023-10-10T15:25:33
2023-10-10T15:25:33
Piyush Singh Pasi, Karthikeya Battepati, Preethi Jyothi, Ganesh Ramakrishnan, Tanmay Mahapatra, Manoj Singh
cs.CL
cs.CL, cs.LG, cs.SD, eess.AS
The problem of audio-to-text alignment has seen significant amount of research using complete supervision during training. However, this is typically not in the context of long audio recordings wherein the text being queried does not appear verbatim within the audio file. This work is a collaboration with a non-governmental organization called CARE India that collects long audio health surveys from young mothers residing in rural parts of Bihar, India. Given a question drawn from a questionnaire that is used to guide these surveys, we aim to locate where the question is asked within a long audio recording. This is of great value to African and Asian organizations that would otherwise have to painstakingly go through long and noisy audio recordings to locate questions (and answers) of interest. Our proposed framework, INDENT, uses a cross-attention-based model and prior information on the temporal ordering of sentences to learn speech embeddings that capture the semantics of the underlying spoken text. These learnt embeddings are used to retrieve the corresponding audio segment based on text queries at inference time. We empirically demonstrate the significant effectiveness (improvement in R-avg of about 3%) of our model over those obtained using text-based heuristics. We also show how noisy ASR, generated using state-of-the-art ASR models for Indian languages, yields better results when used in place of speech. INDENT, trained only on Hindi data is able to cater to all languages supported by the (semantically) shared text space. We illustrate this empirically on 11 Indic languages.
[ 0.017099943, 0.0632738471, -0.0079099471, 0.0251185019, -0.0223364234, -0.0100440299, 0.0138474293, -0.0440963842, 0.0021285836, 0.0011043164, -0.0129663497, -0.0521693006, 0.0344722159, -0.0102720866, 0.0249940418, -0.0482368805, 0.0446533412, -0.002234044, 0.0038451131, 0.0288298596, 0.0255452637, 0.0194980055, -0.0481827967, 0.0213453565, -0.0344383419, -0.0222694948, -0.0499688461, 0.0134700565, 0.0442828201, -0.0168705024, -0.0301854834, 0.0043659098, 0.0353712738, 0.0296336859, 0.0000015998, -0.0094639696, -0.0340700783, 0.0044531384, -0.0339413695, -0.0338514335, -0.0071345735, -0.0015076189, -0.0034339922, 0.0467935689, -0.004649289, 0.0061024241, 0.0637285411, 0.0182952378, 0.0533952974, 0.0727011189, -0.0151208611, -0.0003964916, 0.0055424422, -0.024529865, 0.0251998901, -0.0146763194, -0.0329170227, -0.0179235954, 0.0386207737, 0.007627198, -0.0142508829, 0.0731315762, 0.0161125083, -0.0047100945, 0.0224715676, 0.0035498736, -0.0666340292, -0.0407165587, 0.0060863481, 0.087043412, 0.0162160732, 0.0120118801, -0.0011335461, 0.0392609052, -0.0070424895, -0.0088504376, -0.0461582057, 0.0279314239, -0.0146927051, -0.014263913, -0.0183883477, 0.0422182269, -0.0066507128, -0.0581727177, 0.0322067142, 0.0133675849, 0.0017478989, -0.0385179035, -0.0034859963, -0.0359762199, -0.0031552925, -0.0146249468, 0.0296376459, -0.0023105945, -0.0215640254, 0.0179673266, -0.0326177031, -0.0267422143, 0.0152290557, -0.0216417797, -0.0080123991, 0.020929046, -0.0678246096, 0.0615936145, 0.0447092876, 0.0407803543, -0.0450618714, -0.0132129388, -0.0453648008, 0.00527883, 0.008015452, -0.0260839257, -0.0034462139, -0.0078298897, -0.0391740575, -0.0311899446, -0.039758414, 0.0275580753, 0.0059829052, 0.0170957148, -0.0000315752, -0.0045048068, -0.0225318894, -0.0081478292, 0.0351028033, 0.031309586, -0.0051795756, 0.0452207029, -0.0082203113, -0.0278366189, -0.0144348787, 0.0319319628, 0.0198020153, -0.0022884556, -0.0302634537, 0.0424047671, -0.0214726124, -0.0077121658, -0.0276054684, -0.0151823219, -0.0450093262, -0.0510789603, -0.0052702627, -0.0169149768, 0.0895540267, -0.0056277374, -0.0491107889, -0.0072703515, 0.0059908107, 0.0303467773, -0.0090175141, 0.0959338024, 0.0674548373, 0.051371716, 0.0519804396, 0.021660395, 0.0595242418, 0.031238921, 0.0553539544, -0.0307844412, 0.030112071, -0.0355503969, -0.0184047054, 0.0704068989, -0.0035970102, -0.029309608, -0.0164691545, 0.0516412631, 0.017938735, 0.074171178, -0.0024017005, 0.0389225893, 0.029783586, -0.0276517924, 0.0532787368, 0.0710899383, -0.0051259547, -0.0450867675, 0.0207289141, 0.0198257621, -0.0280976389, 0.04207737, -0.0150316367, 0.0257341303, 0.0340042338, 0.0225657467, 0.0841953158, 0.0174446832, -0.0161584374, 0.0072095222, -0.0180303678, -0.0221220367, -0.0127183637, 0.0617621094, -0.0124239633, -0.0178501587, -0.0524529703, 0.0227700472, -0.0022657742, -0.0443678349, -0.0182025116, 0.006138321, 0.0232472457, 0.0059229117, -0.0012827882, -0.0674848333, -0.0276086759, -0.0529796332, 0.0419630669, 0.0340755023, 0.0267759692, -0.0070677339, 0.017328022, -0.0429002866, 0.0065415497, 0.0296141449, -0.0319233388, 0.0182183739, -0.0110330731, 0.0455186181, 0.0169396661, -0.0213474352, 0.0422452614, 0.0126705598, -0.0120179821, -0.0216811858, -0.0283273272, 0.0487951227, 0.0713154748, 0.0499359556, -0.0253319871, 0.0096411817, 0.0486916006, -0.0325884596, 0.0572877079, 0.0541434735, -0.0581482723, -0.0594212525, 0.0093674809, -0.0639720187, -0.0086817648, 0.0376923159, -0.0095072482, -0.0584541559, 0.0122181782, -0.0203711428, 0.0225804374, -0.0155733544, 0.0313039608, 0.0607401468, 0.0132771637, -0.0386588685, -0.0030352708, 0.0157828182, -0.0042633894, 0.0052271192, -0.009332017, 0.0497679785, -0.0824398026, 0.0144289117, 0.0266600791, -0.0078903167, 0.0039397385, 0.00701587, -0.0594071113, -0.0571598858, -0.0168544967, -0.1172895133, 0.0382138006, -0.0137030492, -0.0064933519, -0.0264291391, 0.052840326, 0.0088510821, -0.0428043567, -0.0610394254, -0.0581577234, 0.0624849647, 0.0187166315, -0.0219989419, 0.0052159205, 0.0033306128, -0.027953079, 0.0023633314, -0.0300244112, 0.030502921, -0.0104816798, -0.0373901986, -0.024343688, -0.0385584794, -0.0227415822, -0.0169742927, -0.0236199312, -0.0313693956, -0.0285247862, 0.0148530751, 0.019901799, 0.0938639492, 0.002498168, -0.0171429701, -0.0204692781, 0.0016506338, -0.0233267732, 0.0414131135, 0.0287331641, 0.0448592417, -0.0039366423, 0.0029143025, -0.0044893711, 0.0313363411, 0.0613352768, 0.0406468809, 0.0001425495, -0.0352792963, -0.0031902185, 0.011885562, -0.0337880589, -0.0152988741, -0.0546110347, 0.0477776155, -0.0448071621, -0.0200191196, 0.0478963852, -0.0369764045, -0.0551204123, -0.0518105812, -0.0568038449, -0.0361014493, 0.0498029329, -0.0281412657, 0.0264912993, 0.0271059405, -0.0437299237, -0.0795406103, 0.0206476953, 0.0128241321, -0.0574829504, 0.0029818285, 0.0086919591, 0.0023041575, -0.0240246691, -0.0511963964, -0.0496129431, -0.0894745439, 0.0083430419, -0.0247916095, -0.0166192092, 0.0113621037, -0.0428104699, 0.0584224612, 0.0433843881, 0.0102295913, -0.0090696113, 0.0444905572, -0.0050663515, 0.092213355, 0.0579758883, 0.0294213388, -0.0468844585, -0.006021922, 0.032066118, -0.014571202, 0.0625758171, -0.0015156299, -0.0118222693, -0.0250933636, -0.0031938453, 0.0016241723, -0.0175558589, 0.0025073099, 0.0487738736, -0.0339853801, 0.0176228136, 0.0778876841, 0.0286402181, 0.0078864414, -0.0230410714, 0.0016252438, -0.0194184259, 0.0104270633, 0.0453133024, -0.0747091472, -0.0222521555, 0.0430880301, 0.0065664742, 0.0375533924, 0.0306590218, -0.019877892, -0.0863335133, 0.0290697236, -0.001468776, -0.0390161835, -0.036712423, -0.0165378638, -0.0199471638, 0.0130102569, 0.0410541035, 0.0107878558, -0.0255503077, -0.0143499495, 0.0208585951, -0.0508222729, -0.0193561129, 0.0011742379, -0.0214849971, 0.061318092, 0.0787414014, 0.0189898815, 0.0017370949, -0.0466054752, 0.0095347874, 0.0114954161, -0.0233997423, 0.0530435443, 0.0534590967, -0.0212566387, -0.0159165896, 0.0292136315, 0.0579266883, 0.0266345348, 0.0258908961, 0.0248422027, 0.0835200623, -0.00508735, 0.0292466599, -0.0240250342, 0.0588798262, 0.0424349532, 0.052570343, 0.0196079109, -0.0197752323, 0.0050031608, 0.0032970884, 0.0400545485, -0.0417870134, -0.0301862583, 0.0459206998, -0.0115673514, -0.0006605567, -0.0058952738, -0.0671932399, 0.0256812908, 0.0414985977, 0.0431044959, -0.0010507436, 0.0196690727, 0.0143526448, -0.0687345043, 0.0497273691, -0.0040485556, 0.0429307371, -0.0535314865, -0.0018118725, 0.0378994271, -0.0297368355, -0.0071875285, 0.0145482998, -0.0679962263, -0.0491648875, 0.0036845529, -0.0131267309, 0.013428566, 0.0763350204, -0.0111375479, 0.0127631454, 0.0384390131, -0.0240317769, -0.0661588311, -0.0228225291, 0.0022750567, 0.02038165, -0.0207365323, 0.0167241208, -0.0546242483, 0.0102366544, -0.0266654007, 0.0064442814, -0.0531673916, -0.0499199033, 0.0017303447, -0.010240159, 0.0634227246, -0.0196221415, -0.0178300012, -0.0546985902, 0.0336397588, 0.0145776859, -0.0055708401, -0.0474166796, -0.0208263304, 0.0183130614, 0.0062546739, 0.0000731438, 0.0107699884, -0.0375633612, -0.0069300006, -0.0568186082, 0.0640117228, 0.0177159663, -0.0087805605, 0.0030863741, 0.0100117456, 0.0088671651, 0.0585025176, 0.0182307139, 0.0609204061, 0.0180701371, 0.0667342767, -0.0079181911, 0.0115339998, 0.0257207621, 0.025938103, -0.02337013, 0.0262405016, -0.0012546835, -0.0045914515, 0.0228025541, -0.0588497445, -0.0051642735, 0.0664751604, -0.0003455015, -0.0166365411, 0.0466309972, -0.0405236185, -0.0289044026, 0.0523145907, 0.0020513921, -0.027314188, 0.0566472895, 0.0425502881, -0.0137073612, -0.0275884233, 0.0096151093, -0.0302824657, -0.0671955049, -0.0254890583, 0.0265588462, 0.0123483334, -0.0237306636, -0.0049582119, -0.0177809652, -0.0701663569, 0.0099266823, -0.0291011482, -0.0220436137, -0.00028351, 0.0051114969, 0.013117129, 0.0257656276, -0.0100520318, 0.0068297479, -0.0164777841, -0.0597517118, -0.0518666729, 0.0184445959, -5.480611637e-33, -0.0255959406, 0.0032710435, -0.0127801085, -0.03215928, -0.0659138635, 0.0336729735, -0.0167596936, -0.012372626, -0.0163893811, -0.0120657636, -0.0298773404, -0.0059691644, 0.0274448749, 0.028501628, 0.0191588029, -0.0071299784, 0.0367996991, -0.0113615114, -0.0153535046, -0.0067282189, 0.019513499, 0.0385107622, 0.0123220803, -0.0497646108, -0.013782368, -0.0254631564, 0.0249726493, 0.0245863907, 0.0131329084, 0.0836200938, 0.0002614575, -0.020255683, -0.0156301502, -0.0466391146, 0.0196307953, 0.1094125435, -0.1143443584, 0.0308432207, 0.0076962244, 0.0833676606, -0.0238894131, -0.0276416, 0.0226447415, -0.0453484505, 0.0435368232, -0.0239788145, 0.0243146345, -0.0068220268, -0.0251467265, -0.0160577707, -0.0324664339, 0.002937475, -0.0636547431, -0.046628654, 0.0373992249, 0.0711843744, 0.0415192656, -0.0139823901, -0.0576507896, -0.0027817891, -0.0168218631, 0.042861823, 0.0472871885, 0.0284268949, -0.0540708192, 0.0103299348, 0.0305080302, -0.097656481, 0.006024431, -0.0151015911, -0.0118129626, -0.0022169112, -0.0180662926, 0.0105936881, 0.0050884248, -0.0020613889, -0.0424048565, -0.0023001318, -0.0023955849, 0.0108797168, 0.0056410972, 0.0141127398, -0.0479786582, 0.0041307835, -0.0171966888, 0.0107218307, -0.0282184519, -0.0189202055, 0.0761112198, -0.0076372828, 0.0295462552, 0.0274387766, 0.0873306543, -0.011980542, 0.0513621867, -0.0153645603, -0.0115615642, 0.0084501067, -0.0141398869, 0.0619547851, -0.0540091433, 0.0519263446, 0.0384512879, 0.0275956262, 0.0267285891, -0.0166399237, 0.0217967648, 0.0053262897, -0.0812017173, -0.0083596213, 0.0193870384, 0.0279000401, -0.0507075489, 0.031703122, 0.0504302606, 0.0079694716, -0.0133531736, 0.0389510989, -0.0061652442, 0.0237788111, -0.0334336795, -0.0505443215, 0.0004116697, -0.0150853274, -0.037746042, 0.0343089923, 0.0020365729, 0.0203710198, -0.0124583952, -0.0212226082, 0.0041791438, 0.0392182283, 2.428e-7, -0.0274985284, -0.0079798158, 0.0322846062, -0.0014613374, 0.0014547117, -0.0101742446, -0.0294191483, 0.0061279843, -0.007963419, 0.011612922, 0.0358516499, -0.0281673986, 0.1183421388, 0.0245674662, -0.1312827468, -0.0362335071, -0.0694982558, 0.0033399339, -0.0647320747, -0.0059381509, 0.0067914524, 0.1304525584, -0.0107615124, 0.0051857382, -0.0427983738, -0.0250751134, 0.0182451103, 0.0143828755, -0.0429101959, -0.0356750675, -0.0035843146, -0.0141883381, -0.0576097779, -0.0044889301, -0.0280131269, 0.0166938826, 0.0304108281, 0.0418920293, -0.0087051168, -0.0906667039, -0.0539458655, 0.0675847456, -0.0285721458, -0.0217216853, 0.0637303293, -0.0188714266, -0.0550144278, -0.0249830931, -0.0614989474, -0.0113813225, 0.0118168062, 0.0212123152, 0.0061485833, -0.0132821845, 0.0357857905, -0.0647022501, -0.0080789458, -0.0333606601, -0.0259892344, 0.03367275, -0.0445538647, -0.0097303651, 0.0153454244, -0.034005776, 0.0065883156, -0.0437837541, -0.0078566028, 2.028511801e-34, 0.0467471257, -0.0081680138, 0.016534688, 0.0057647028, 0.0417121984, -0.0451001227, 0.0182493478, -0.0119757103, 0.039377261, -0.0703781396, -0.023733234 ]
http://arxiv.org/abs/2310.06694v2
http://arxiv.org/pdf/2310.06694v2
Sheared LLaMA: Accelerating Language Model Pre-training via Structured Pruning
2023-10-10T15:13:30
2024-04-11T01:18:06
Mengzhou Xia, Tianyu Gao, Zhiyuan Zeng, Danqi Chen
cs.CL
cs.CL, cs.AI, cs.LG
The popularity of LLaMA (Touvron et al., 2023a;b) and other recently emerged moderate-sized large language models (LLMs) highlights the potential of building smaller yet powerful LLMs. Regardless, the cost of training such models from scratch on trillions of tokens remains high. In this work, we study structured pruning as an effective means to develop smaller LLMs from pre-trained, larger models. Our approach employs two key techniques: (1) targeted structured pruning, which prunes a larger model to a specified target shape by removing layers, heads, and intermediate and hidden dimensions in an end-to-end manner, and (2) dynamic batch loading, which dynamically updates the composition of sampled data in each training batch based on varying losses across different domains. We demonstrate the efficacy of our approach by presenting the Sheared-LLaMA series, pruning the LLaMA2-7B model down to 1.3B and 2.7B parameters. Sheared-LLaMA models outperform state-of-the-art open-source models of equivalent sizes, such as Pythia, INCITE, OpenLLaMA and the concurrent TinyLlama models, on a wide range of downstream and instruction tuning evaluations, while requiring only 3% of compute compared to training such models from scratch. This work provides compelling evidence that leveraging existing LLMs with structured pruning is a far more cost-effective approach for building competitive small-scale LLMs
[ 0.0095938519, 0.0760559067, -0.0093803685, 0.0419390798, 0.0012393423, 0.0010009602, 0.0201946832, 0.0246537104, -0.033708062, -0.0151395379, -0.0765728578, -0.0593410581, -0.0062957359, 0.014081913, 0.0122592608, -0.0290774275, 0.0298226327, -0.0456563458, -0.0171061158, -0.0206794553, 0.0071978765, 0.0102873528, 0.027671244, 0.01804935, 0.0335473455, -0.0255561229, -0.0150947329, 0.0153916916, -0.0252531413, -0.0152327577, 0.02153893, 0.0379417054, 0.014138734, 0.0487693883, 0.0000023584, -0.0210162997, 0.0103712864, -0.0081129447, -0.0283847023, 0.1096883491, 0.0447704047, 0.013253144, -0.0349226892, 0.017279068, 0.0062106601, -0.0396578051, 0.0391696021, -0.0009102838, 0.0634452775, 0.0737325251, 0.0078757973, -0.0359737426, 0.0111412294, -0.0518984161, -0.0476782098, -0.022853639, 0.0261926446, -0.0428100601, -0.0354394391, -0.0123129943, -0.0116393659, 0.018044211, 0.0190791152, 0.0159566607, -0.033208631, 0.0341764838, -0.0170787573, -0.0299552232, 0.0088977804, 0.0651412681, -0.0527140424, -0.0198288281, 0.0174578186, -0.0395605788, -0.0386304334, -0.0509919226, -0.0370538495, 0.025279263, 0.0339528471, 0.0282363929, -0.0120417569, -0.0215369295, 0.0546954386, 0.0081819221, -0.025771914, 0.039062202, 0.0362832062, 0.0084053269, -0.0269678887, -0.0279001109, 0.0043503535, -0.0600874461, 0.0082843928, 0.0142249903, -0.0016667783, 0.0158943813, -0.042594526, -0.0204011872, 0.0093952166, -0.0498881787, 0.0824119151, 0.0397179462, -0.0064866836, 0.0384567231, -0.0221265759, 0.0167548973, -0.0133597767, 0.0186872911, -0.0490416512, 0.0203586891, 0.0349519551, 0.0083870301, -0.028145723, 0.0273630265, -0.051326286, -0.0158752762, -0.0302712414, -0.0031363838, 0.0090118274, -0.0343169011, 0.0382610261, -0.0086231194, -0.0038105925, -0.0169530939, 0.0107622584, 0.0238795709, -0.0202661622, 0.0287443027, -0.0112906471, -0.064664118, -0.023920197, 0.023162609, -0.0122150937, -0.0127145592, 0.0506773368, 0.050812006, 0.0019136465, -0.0565133952, -0.0605975576, 0.0026776535, 0.0089995898, -0.0705061629, 0.0184204206, -0.0588828065, 0.0234439317, -0.0468714274, 0.0162021648, -0.0432667322, 0.007838238, 0.0177971683, -0.0375684015, 0.0263302736, -0.0066921576, 0.0141394455, 0.0036864248, 0.0032404303, 0.053442467, 0.0903312713, 0.0392811187, 0.0470105708, 0.0293094851, -0.0204169173, -0.0481872261, 0.0622416623, 0.0552503206, 0.0318787731, -0.0613023788, -0.012073325, 0.0095524658, 0.0188610014, 0.0717791393, 0.0689992011, -0.0382887796, -0.0286192093, 0.0568466298, 0.0516119637, 0.0086199045, 0.0445966646, 0.0390342176, -0.0061307102, 0.0291978903, -0.0287758652, -0.0272777993, 0.0061401259, 0.0003767115, 0.0034938147, 0.0433461368, 0.0641321614, -0.0511690006, -0.0235100407, -0.0197274163, -0.0162395742, -0.0298228823, 0.0250072926, 0.0260689314, 0.0047856155, -0.0531136952, 0.0903419331, 0.065072827, -0.0612749942, -0.0221309699, -0.0839512199, 0.0068665012, 0.0315113217, 0.0210506823, -0.0118249105, -0.0379623324, 0.040529605, 0.025250202, 0.0272538979, 0.0273224954, -0.0053609768, 0.0287918746, -0.0702139437, 0.0067808814, -0.0043238713, 0.0243097134, 0.0232237838, 0.0482788533, -0.0011794027, 0.0181542989, -0.0170937274, -0.0147094745, 0.0380957611, -0.0456777364, -0.0231582895, 0.0313398838, -0.0070152595, 0.0331568159, -0.0196539722, -0.0219041463, -0.0008839633, 0.0538526028, -0.034526702, 0.0210354794, -0.0390250199, -0.0460425876, -0.0174567588, 0.0482790507, 0.0620030873, 0.046091795, 0.0340111218, -0.0596694425, -0.0304088276, 0.0366060734, -0.0279053599, 0.0481364578, -0.0419182368, 0.0420308672, -0.0268038474, 0.0608955845, -0.0117420908, 0.0154996635, -0.0262987763, 0.0061117662, 0.0050731031, -0.0269709174, 0.0007373017, -0.0284477938, -0.0347323902, 0.0037170043, -0.0144979237, 0.0272802617, -0.0411755554, 0.0153769748, -0.0116042681, -0.0188965723, -0.0497342832, 0.0339043401, -0.0348945335, 0.0408725031, 0.0247030482, 0.0384861939, -0.0154658156, 0.0037334962, 0.027517125, 0.0046213204, -0.0151585462, 0.0330743715, -0.0050652656, -0.0151588023, -0.0676859617, -0.051193133, -0.0582435541, 0.0220396053, 0.0566089638, -0.0405563861, -0.0134259192, -0.026741337, 0.0182736758, 0.0013679588, 0.0431771614, -0.0050295629, -0.0655793473, -0.023127947, -0.0155591872, 0.0176359285, 0.0634493455, -0.0100844502, 0.0282740165, 0.049108997, -0.007221797, -0.031490542, 0.0187280681, -0.0080778049, -0.0203122851, -0.0308028013, -0.0227730181, -0.0059883711, 0.0978538916, -0.0279753115, -0.0070039365, -0.0376637578, -0.0164514966, -0.0023977128, -0.0148111302, -0.0125626959, -0.0104223443, -0.0322473645, 0.0194080733, -0.0086244419, -0.055353187, 0.0127967102, -0.0703189895, 0.0010367901, -0.0064433715, -0.0181081761, -0.0563802049, 0.0465192646, 0.0272394065, 0.0264350642, -0.0132486569, -0.0063174712, -0.0390990824, 0.0229393952, -0.0235164631, -0.0119330045, 0.0151749188, -0.0398001038, 0.0193508118, -0.0187039841, -0.04068527, -0.0114563946, -0.0147900572, -0.0312171634, 0.0171117596, 0.0568089932, -0.030259436, -0.0311777182, 0.0246823654, -0.0032790247, 0.051208809, 0.0119404262, 0.0389830582, -0.009235071, 0.0121044265, 0.0340546444, 0.0047968356, 0.0314007364, -0.0377767608, 0.0257732291, 0.0345900096, 0.0760639012, -0.0110245757, -0.0473294333, 0.0017703302, 0.0568380691, -0.0153700029, -0.0264172982, 0.0213398468, 0.0579037182, -0.0639603212, -0.0180179738, 0.0845714957, 0.0149117922, -0.0521601737, 0.0199250802, 0.0306593683, 0.0510712191, 0.0186110977, 0.036089357, -0.0521573722, -0.0349499322, 0.0198809169, 0.006580615, 0.0136592081, 0.0027703568, -0.0235982928, -0.1303100735, 0.0183832701, -0.0006182563, -0.0269485023, 0.0436480008, -0.0486179329, -0.0112822168, -0.003814396, 0.0148217818, 0.034789525, -0.0276942439, -0.0186534803, 0.0159400888, -0.0233385302, -0.0355154313, 0.0514692105, -0.0100004738, 0.0420808308, 0.0291919485, 0.005914988, 0.0224144347, -0.0532863438, 0.1031198725, -0.028564129, -0.0103251776, -0.0221360959, 0.0310323611, 0.0245115422, -0.0213301349, 0.0263435468, 0.0097956583, -0.0193007346, -0.0059061558, -0.0232783835, 0.0547616221, 0.0268405508, -0.0122562377, -0.009511427, -0.0202581864, -0.0410027392, 0.0546078049, 0.041763436, -0.0348205157, -0.0299288779, -0.0021851582, -0.0270280875, -0.0342421979, -0.0290737916, 0.0092179086, -0.0145445345, -0.0411741249, -0.0278495438, 0.0281214043, 0.0054093115, 0.033844661, -0.0022466474, -0.0210813321, 0.0138222454, 0.0205223113, -0.0551557653, 0.031139005, -0.0483300872, 0.0152693568, -0.1040879264, 0.0109495781, 0.0335987173, 0.0058487831, -0.0348199084, 0.0113314809, -0.1378452331, -0.0724156201, -0.0129063744, 0.0478077419, 0.0177753828, 0.024379693, 0.0129563203, -0.0673762634, 0.0540541485, 0.0244555771, -0.0415776223, 0.0534505509, 0.0294539239, -0.058520887, -0.0097707957, 0.0631753132, -0.0256301593, 0.0349070877, 0.0385041498, 0.0246785264, 0.0208814181, -0.0037671546, -0.0248925649, 0.0261274688, 0.0306829996, 0.0003672231, -0.0211151056, -0.0287658013, 0.0648921505, 0.0081417849, 0.0023912902, -0.0355686285, 0.0071655647, 0.0135540366, -0.0044108513, -0.0221286733, 0.0102551021, 0.0293322485, 0.0246136133, -0.0124799693, 0.0278318953, -0.002948808, 0.0091276262, 0.0588383526, -0.0191002134, -0.0067695184, 0.0177565254, -0.0011182454, 0.0227091908, -0.0500033051, -0.0276067294, -0.0094610928, 0.03358775, -0.0891690105, 0.0363926254, -0.0108838091, -0.0706421882, -0.0612266622, 0.0361837782, 0.0459589027, -0.0023656029, 0.0329837911, 0.0201956481, -0.0164043233, -0.0253219865, -0.003922346, -0.0118817799, -0.0397924632, 0.0337220952, 0.0055478523, -0.0202627461, -0.0229273885, 0.0797050297, 0.0318642929, 0.0677691475, 0.0086206375, 0.0279412083, -0.0198359806, -0.0505579673, -0.017499892, 0.0400211662, -0.0357905664, -0.0267135426, -0.0274314396, -0.061464034, -0.0239687636, -0.0013091784, -0.0051064356, -0.0095746517, 0.0335425846, 0.0425538532, 0.0229935832, 0.0101262275, -0.0079192286, -0.0313410796, 0.0039346437, -0.0367689319, 0.0503238887, -7.252684799e-33, 0.0013973359, 0.0434776507, 0.0409931503, -0.0036979672, -0.0286116116, 0.0264035277, -0.0371481366, -0.0273460448, -0.0258771386, -0.0145045687, -0.0437343456, 0.0102849398, 0.0158648863, 0.0296267439, -0.016609801, 0.0330197439, 0.0639500841, -0.0310032647, -0.0230574105, 0.0471874177, 0.0093998928, 0.0289641935, 0.043138478, 0.0102332542, -0.0677386522, 0.0102257254, -0.0260207485, 0.0056834598, -0.026175946, 0.0322895087, -0.0466792136, 0.0119185671, 0.0008750007, -0.0260278713, -0.0125286262, -0.0128079494, -0.0694721863, -0.008549449, 0.0415351093, 0.0256505273, -0.016102884, -0.0361981019, 0.0347938724, 0.0340617448, -0.0181869864, -0.0078475168, -0.0072503123, -0.0103321858, -0.0328606889, -0.0237234458, -0.0338438675, 0.0345478728, 0.0124995578, -0.0230930373, 0.0282094441, -0.0395042636, -0.0138410572, 0.027382765, -0.049029991, 0.0085706478, 0.0346479937, 0.0881577656, 0.0691837668, 0.0484441482, 0.0173255578, 0.0470039546, 0.0378791019, 0.0025877287, -0.0012403145, 0.0255299881, 0.0699960291, 0.0412326977, 0.0087634893, -0.0186800305, 0.0455150604, -0.0425123647, -0.1006023586, -0.0281661358, 0.0202401187, 0.0311807711, 0.0258877408, 0.037028566, 0.0114534348, -0.0292995032, -0.0449999012, -0.0278265662, -0.0415153317, 0.0069201547, 0.0246823058, 0.0405676253, -0.0451798327, -0.0243103039, 0.0155911483, -0.0359071717, -0.0268904157, 0.0156064015, -0.0144013194, 0.0180671327, 0.0052249064, 0.0287170522, -0.0658629313, -0.0504583567, -0.0135604404, -0.0402664393, 0.0214422774, -0.0085878586, 0.0230240077, 0.0366947278, -0.0739262402, -0.0112177748, -0.0539427325, 0.023353586, 0.0378532745, 0.0804138631, 0.0406405702, 0.0109531013, 0.0036531552, 0.0465165377, 0.0126145044, -0.0160494465, -0.0275579542, 0.0041892636, 0.0219331514, 0.0425943434, -0.0426849611, 0.0078815669, -0.046038311, 0.0160650648, 0.0477248877, -0.0812737942, -0.0462868288, 0.025287902, 2.919e-7, 0.0157555826, 0.0313348398, -0.0035249034, 0.0236226507, 0.0120969284, 0.0224502105, -0.0202764198, -0.0108951433, -0.0098035876, 0.0138889523, -0.0085249972, 0.0215959214, 0.0516638421, 0.0059688678, -0.0731032938, 0.0363296308, -0.0683090314, 0.0199956074, -0.0429352745, -0.0605746433, -0.0537164696, 0.1366041154, 0.0278987344, -0.0637814105, -0.0081260856, -0.0261918008, 0.0325051732, -0.0073471307, 0.0123466561, 0.0410283878, -0.0179363675, 0.0163387544, -0.0347482525, -0.0322566815, -0.0171482768, 0.0268757641, -0.0340088271, 0.0822992399, 0.009643903, 0.0059147533, 0.0505673476, 0.0046042954, -0.0258515459, -0.0298253801, 0.0630670488, -0.005034897, -0.010778375, -0.0589967445, 0.0148288487, -0.0203260463, -0.0049249488, -0.0334107168, 0.0129513228, 0.052855894, 0.0066966377, -0.0468985662, -0.0235314444, -0.0834837407, -0.039771691, -0.0309886113, -0.0616869703, -0.0362264328, -0.0711641088, 0.0205875281, 0.0321448967, -0.0406059027, 0.0183048528, 3.134504589e-34, 0.0486032479, -0.0375451371, -0.015280853, 0.0581836887, 0.0194482096, -0.021747563, 0.027230205, 0.016404178, -0.0364596322, -0.0953788161, -0.0264827088 ]
http://arxiv.org/abs/2310.06692v3
http://arxiv.org/pdf/2310.06692v3
Generalizable Chain-of-Thought Prompting in Mixed-task Scenarios with Large Language Models
2023-10-10T15:10:03
2024-02-20T15:27:20
Anni Zou, Zhuosheng Zhang, Hai Zhao, Xiangru Tang
cs.CL
cs.CL, cs.AI
Large language models (LLMs) have unveiled remarkable reasoning capabilities by exploiting chain-of-thought (CoT) prompting, which generates intermediate reasoning chains to serve as the rationale for deriving the answer. However, current CoT methods either simply employ general prompts such as Let's think step by step, or heavily rely on pre-defined task-specific demonstrations to attain preferable performances, thereby engendering an inescapable gap between performance and generalization. To bridge this gap, we propose GeM-CoT, a Generalizable CoT prompting mechanism in Mixed-task scenarios where the type of input questions is unknown. GeM-CoT first categorizes the question type and subsequently samples or constructs demonstrations from the corresponding data pool in an automatic pattern. With this technical design, GeM-CoT simultaneously enjoys superior generalization capabilities and remarkable performances on 10 public reasoning tasks and 23 BBH tasks.
[ 0.0144565208, 0.0317718536, -0.004766488, 0.0353061035, -0.06175768, 0.0273740273, 0.0431039222, -0.0018755128, 0.0248154346, -0.028679084, -0.0097456509, -0.0451286212, -0.0347308777, 0.0123310722, 0.0358946808, -0.0554605089, 0.0324938446, -0.0804998726, 0.0162551831, -0.0226990599, -0.0147777451, -0.0022526991, -0.0290082525, 0.033395566, 0.0063416124, -0.0493318327, -0.0613974594, -0.0050004744, 0.0189671665, -0.0324337482, -0.0204112008, 0.0707890391, 0.0333985649, 0.0314755924, 0.0000021092, -0.0655947104, 0.0002471471, -0.0009552447, -0.0542399473, -0.0473750085, -0.0245154295, 0.075979352, 0.0215579458, 0.0300022811, -0.0383045264, -0.0072229933, 0.0129094487, 0.0413817167, 0.0512602888, 0.0537883602, 0.0240066629, -0.0109841367, -0.0222417042, -0.0077941935, 0.0447873287, -0.0348132737, 0.0099114552, 0.0027059952, 0.0726043358, 0.0201064125, -0.0059376964, 0.0082854144, 0.060245648, -0.0029128406, -0.0317951478, 0.0265910737, -0.0500910245, -0.0004880595, -0.016643839, 0.0852079988, 0.004736729, -0.0107246935, -0.0008827773, 0.011777577, 0.033147797, 0.0108182216, -0.0558197238, 0.0435997359, -0.0234715603, -0.0112373699, 0.0201867539, 0.0274634343, 0.0042796382, 0.0057118004, -0.0350170955, 0.0823252127, -0.0047495868, -0.0369973704, 0.0324241295, 0.0287396125, -0.005295279, -0.0842294618, -0.0074399109, 0.0535599403, -0.0760432258, -0.0039092042, -0.0036766103, -0.031567201, -0.0050172061, 0.0361255519, 0.0430435017, 0.0423767976, -0.0332487151, 0.0666848496, -0.0328632705, 0.0425085463, -0.0322339758, 0.0286460761, -0.0399600789, -0.0094188647, -0.0469730869, 0.0018053465, -0.0367366225, 0.0642185211, -0.029961355, -0.0087066768, 0.0000898301, 0.0367230773, -0.0235490873, 0.0276868735, 0.0341210403, 0.0240048897, -0.0153736649, -0.0433601812, -0.0395459421, 0.0134371631, -0.0686474666, 0.0213350467, 0.0670792311, -0.0226976369, -0.0234290846, -0.0019099198, 0.0247521773, -0.0261946097, 0.0257918518, 0.0556024648, -0.0309809987, -0.0042598266, -0.0472725816, -0.0296679828, 0.0117094349, -0.0706585571, 0.0106279338, -0.0680445954, 0.0258734021, 0.0094918665, -0.0187210012, 0.0230660774, 0.010473527, 0.03728351, -0.0082854852, 0.0629438236, 0.0215814207, -0.0068312665, 0.0090422546, 0.0255721286, -0.068103835, 0.0834674835, 0.0170421675, 0.0226115193, 0.0157140624, 0.0189762339, 0.0142660625, 0.0219432339, 0.0149779851, 0.00170766, 0.0167023651, 0.0401975997, -0.0118221575, 0.0444570184, -0.0049425503, 0.0442325734, -0.0057654493, 0.02140598, 0.0286442135, 0.0749306157, 0.0016602828, 0.0026038287, 0.0645416453, 0.0041863364, 0.026071256, 0.0271619111, -0.0541852079, 0.0414986834, -0.0614464618, -0.0013931997, 0.0270685684, 0.0399014205, -0.038955044, -0.0321746171, 0.0188896544, 0.0297536906, 0.0217483044, 0.057101436, 0.0382167958, 0.0178578962, -0.0176419374, 0.0319855437, 0.0096548991, -0.019977821, -0.0116153769, -0.0717258677, 0.0662563369, 0.0190293137, 0.042366229, -0.0516483784, -0.0394083932, -0.0255917106, 0.050457295, 0.0245064795, 0.0162872449, -0.030397132, -0.0239887312, -0.0401549302, -0.029829558, -0.0134605914, -0.0062422184, -0.002753716, 0.015963316, 0.0042043473, -0.0114473756, -0.0512257405, 0.0258384533, 0.0013232244, 0.0015578639, -0.0135953603, 0.0178851262, 0.029643828, -0.0092061115, 0.0241277833, 0.0171445869, 0.0149395457, 0.012487812, -0.0385664701, -0.0273521971, -0.0055473996, -0.0464064255, -0.0589506887, 0.0245858077, -0.0267207157, -0.0536604151, 0.0070539969, -0.0434563868, -0.0438048244, 0.0099058142, 0.0106828678, 0.0215971954, -0.0263480693, -0.0024047696, 0.0115578594, -0.0431952812, -0.0428207219, 0.0887290239, 0.003906298, 0.0145264529, 0.0424980596, -0.0126550077, -0.0082598925, -0.0536722168, -0.0129057486, 0.0194787681, -0.0089539029, -0.0122562749, 0.0028398184, 0.0450722426, -0.0802686214, -0.0115033211, -0.084567301, 0.0179808252, -0.0326748826, 0.0189582519, -0.0083764093, 0.0126886237, -0.0037270719, -0.024903411, -0.0831316039, 0.002916967, -0.0006012638, 0.0158882122, 0.0219236463, 0.0109914476, 0.0153120467, 0.0210481528, -0.0034511774, -0.0278489199, 0.0556747317, -0.0118484776, 0.0389302783, -0.0487617031, 0.0321805589, -0.0327218175, 0.0216112863, 0.0022746082, 0.0340555757, 0.0509127676, -0.0311507601, 0.0578533188, 0.0693360344, -0.0068214792, -0.039056588, 0.040145319, -0.0050944332, -0.0691491589, 0.0515806451, 0.0097900331, -0.0074891266, -0.0017179467, 0.0000966531, -0.0216828249, 0.0512435995, -0.0128183914, -0.0253126826, -0.0661619976, 0.027149206, -0.0061041885, -0.0144119998, -0.0755680576, -0.0144311748, -0.0052670385, 0.036259193, -0.0068068313, -0.0069761919, 0.1004418507, -0.0042078779, -0.0105444416, -0.0576255582, 0.0063993684, -0.0249022972, 0.0894501954, -0.0429467112, -0.0035393643, 0.0153551651, -0.0222108867, -0.0734917149, 0.0232076421, -0.0088685136, -0.0403030142, 0.0714921206, -0.0702674836, -0.0214564335, -0.0037699204, -0.0646233931, -0.0618550815, -0.0067608911, -0.0445691012, -0.0091130938, -0.0198801514, -0.0120863123, 0.0268380921, -0.0248088315, 0.0491122045, 0.0260910038, -0.0130334217, -0.0102993716, -0.0371363834, 0.0455684662, 0.0546413474, 0.0320400819, 0.0090252236, -0.0097382003, 0.036614459, 0.0548250712, 0.0693990961, -0.0116267996, -0.0152811799, 0.0192059427, 0.0143868271, -0.0083210329, -0.0090524238, 0.0325936899, 0.0523328818, -0.0587428957, -0.0157466587, 0.1004889682, 0.0276951324, -0.0685105249, -0.0099751931, -0.0534246713, 0.0539570078, 0.0239659995, 0.0527773015, -0.1077792495, -0.0364817455, 0.0364457332, -0.019280171, -0.0170964208, -0.0606406964, 0.0056589427, -0.1344216466, 0.0253078546, -0.0266056042, -0.0172284618, 0.0321877897, -0.0135844024, 0.0292490181, 0.0390091389, -0.022206163, 0.0145343179, 0.0225665979, 0.0026568247, 0.0312817506, -0.0043593585, -0.0299540721, 0.059611816, -0.0271797162, 0.0204190966, 0.0183685385, -0.0083380835, 0.0114260204, -0.0584392063, 0.0366329923, 0.0085368184, -0.0073757027, -0.0201716963, -0.0080833267, 0.0097122649, -0.0098095229, -0.0382483192, 0.073602356, -0.0046674837, -0.0224934462, 0.0433476046, 0.1340655237, -0.0306334496, -0.0254589897, -0.0157754347, -0.0240408536, 0.0247492306, 0.0662988126, 0.0156365149, -0.0597194768, -0.0070051965, -0.0403471887, -0.0548181273, -0.0387110524, -0.0408668742, 0.0104499236, 0.0460120663, 0.0342522152, -0.0366157815, -0.0246526953, 0.0666890293, 0.0806041881, 0.000201725, -0.005716017, 0.0135160619, 0.0217812266, -0.0236191936, 0.0435602739, -0.0352616273, 0.0208418425, -0.0536312498, 0.0037914172, -0.0129100382, -0.048666399, -0.03165837, 0.022862304, -0.0799495131, -0.0443762094, -0.0288720541, 0.03635481, 0.0290920027, 0.0247785877, -0.0146549987, -0.0268576909, 0.041370485, -0.0058556236, -0.0132975644, -0.0093886452, 0.016085187, 0.0115473168, -0.00400365, 0.0467501134, -0.060537491, -0.009976605, 0.0070670149, 0.0615167171, -0.0126467431, -0.0163337737, 0.0356496908, 0.0169356875, 0.0269999821, 0.0073881657, 0.000150718, -0.0424554721, 0.0449153855, -0.0123754069, -0.0528390706, -0.0371764041, 0.0268165581, 0.0013138244, -0.0424498729, 0.021253733, -0.049993895, 0.0014286977, 0.0261293352, -0.0165067911, -0.0187666249, 0.0435831361, 0.0367571823, 0.0523053259, -0.02118266, -0.0142857507, -0.0208859164, 0.0144391265, 0.0546890274, -0.0003550751, 0.1142764986, 0.0505324043, -0.0295658652, -0.0344253257, 0.0196837671, -0.0708575025, -0.0848830566, 0.0180026162, 0.0383956768, 0.0164332669, 0.0300445966, -0.0363084339, -0.0152190803, -0.0279941652, 0.0293870308, 0.0293682907, 0.0286420304, -0.0480580516, 0.0285433941, 0.0287789162, 0.0151377572, 0.0072730659, 0.0416140668, -0.0416904837, 0.0121029979, 0.0138107287, 0.0164117962, -0.0372907892, -0.0300679598, -0.0073516369, 0.0144150034, 0.0003873737, 0.0212505292, -0.0803733692, -0.0662568435, -0.0191363972, 0.0148592032, -0.0102791619, -0.0044592377, 0.05303948, 0.0698610693, 0.0038705263, -0.0458965115, -0.0070542623, 0.0131263807, 0.0077836667, -0.0431900434, -0.0260379501, -6.40121767e-33, 0.0018213313, -0.0195519328, 0.0542213358, -0.0377577171, 0.005827785, 0.0003407668, -0.0229709391, 0.0136461388, -0.0153009985, 0.0183348432, -0.0463407487, -0.0092615662, 0.009974164, 0.0205646232, 0.0276063792, -0.0307758339, 0.0059070061, -0.0127170328, -0.0317503959, 0.0294010043, 0.0207552835, -0.0027930702, 0.0125168404, -0.0338601433, 0.0514724217, -0.0083718421, -0.0096840076, 0.0394571908, -0.0592684634, 0.0190394484, -0.0264136121, 0.0203733612, 0.0173180215, -0.035649199, 0.0072220187, 0.0596404001, -0.0554443598, -0.0444795452, 0.0223705918, -0.0315707661, -0.1044013724, -0.0147572709, -0.0384254754, 0.0161255524, 0.0070275869, -0.015763374, -0.002219199, 0.0011353486, 0.0194354262, 0.0046444843, -0.0033184933, -0.0138797518, -0.005727957, -0.038215898, -0.0114166401, 0.0874260888, -0.0198462959, -0.0037079786, -0.025060961, 0.0306082089, 0.0155733339, -0.0194244329, 0.0646604151, 0.0100130308, -0.0185326356, 0.028990699, -0.0114811147, -0.0079891793, -0.0478789061, 0.0027345642, -0.0307859927, 0.0523192994, 0.0376170091, 0.0159030128, 0.0252834782, 0.0797290206, -0.0609032698, 0.0186968055, 0.0571691357, 0.0126236044, 0.0152464537, -0.0177134462, -0.0438220836, -0.0097852712, -0.0403753109, 0.0320882276, -0.0531099476, -0.0243825763, 0.0468133949, -0.0007278566, -0.0221742, -0.0130374683, 0.0292751621, -0.0225213338, -0.0195528381, 0.0183307026, 0.0073972619, 0.0222454593, 0.0045453729, 0.0320731029, -0.0207297895, -0.0064919614, 0.0204579961, 0.0030451755, 0.0134585043, 0.0201896206, 0.0298470557, 0.0154984547, -0.0565404221, -0.002885032, -0.0684065893, 0.0302888807, -0.0002349587, -0.0003071338, 0.0183938034, 0.0131570576, -0.0092978952, 0.0498443879, -0.0088003352, -0.0426233858, -0.0334719755, 0.0303538553, -0.0111035351, 0.0014229658, -0.0004919303, 0.00304167, -0.0172377285, 0.0059502786, 0.0124444114, -0.0438815169, -0.0049158349, 0.0347494632, 2.787e-7, 0.0008198991, 0.0014850374, -0.0108564338, 0.0401368216, -0.0138615025, 0.0253038146, -0.005682969, 0.0190190077, 0.0407403968, -0.0517409816, -0.0032944644, 0.0496300273, 0.026968712, 0.0469757766, -0.1085412949, -0.0551935956, -0.0190719292, -0.0153228156, -0.0593493879, -0.0182660744, 0.0623178855, 0.0617745891, 0.0053331824, -0.0094445571, 0.0218718126, -0.032563746, 0.0281246323, 0.0022339283, 0.0010311219, -0.0107586905, 0.0138853909, -0.0019097101, 0.0172563214, 0.0403924137, 0.0188460425, -0.0071304054, 0.0007360226, 0.0205064584, 0.030382432, -0.0343624726, -0.0504399464, -0.0400164127, 0.0229783803, -0.0460976772, 0.0904092416, -0.0322565809, -0.0054248329, 0.0163296517, 0.0345796645, -0.0535613485, -0.0169077888, -0.0112169143, 0.0016440356, -0.0070991716, 0.0083899079, -0.0106532555, 0.030047996, -0.0700202212, -0.0292065497, 0.0134139154, -0.0442554131, -0.0359653085, -0.0373851024, 0.0121063348, 0.0092788069, -0.0825672746, -0.013995328, 2.750452447e-34, 0.0174693409, 0.0037906379, 0.0421765819, 0.0326138847, 0.0316448398, -0.0116873644, -0.0416867919, -0.0187253691, 0.0466136076, -0.0931027904, -0.0426118709 ]
http://arxiv.org/abs/2310.06684v1
http://arxiv.org/pdf/2310.06684v1
Learning Multiplex Embeddings on Text-rich Networks with One Text Encoder
2023-10-10T14:59:22
2023-10-10T14:59:22
Bowen Jin, Wentao Zhang, Yu Zhang, Yu Meng, Han Zhao, Jiawei Han
cs.CL
cs.CL, cs.LG
In real-world scenarios, texts in a network are often linked by multiple semantic relations (e.g., papers in an academic network are referenced by other publications, written by the same author, or published in the same venue), where text documents and their relations form a multiplex text-rich network. Mainstream text representation learning methods use pretrained language models (PLMs) to generate one embedding for each text unit, expecting that all types of relations between texts can be captured by these single-view embeddings. However, this presumption does not hold particularly in multiplex text-rich networks. Along another line of work, multiplex graph neural networks (GNNs) directly initialize node attributes as a feature vector for node representation learning, but they cannot fully capture the semantics of the nodes' associated texts. To bridge these gaps, we propose METERN, a new framework for learning Multiplex Embeddings on TExt-Rich Networks. In contrast to existing methods, METERN uses one text encoder to model the shared knowledge across relations and leverages a small number of parameters per relation to derive relation-specific representations. This allows the encoder to effectively capture the multiplex structures in the network while also preserving parameter efficiency. We conduct experiments on nine downstream tasks in five networks from both academic and e-commerce domains, where METERN outperforms baselines significantly and consistently. The code is available at https://github.com/PeterGriffinJin/METERN-submit.
[ 0.0007267518, 0.05176799, 0.0298941657, 0.0429547988, 0.0093486588, -0.0126781007, 0.0166106801, 0.0125455819, 0.0206916742, -0.0565600023, -0.0284620542, 0.0402029268, -0.0264064725, 0.0275004003, 0.0394774452, 0.0021810683, 0.016134331, 0.0369470567, 0.0319475308, -0.0275057834, 0.0455942489, 0.0557900444, 0.0416284539, 0.0037057789, -0.0043971245, -0.0400259048, 0.0352141038, -0.007724735, 0.0170474816, -0.0247102547, -0.01001056, 0.028344946, 0.0528134517, -0.0010856908, 0.0000017622, -0.0041655544, -0.0016979681, -0.0000860345, 0.0056872829, 0.0087149488, 0.0335455984, -0.0207600314, 0.0814321488, -0.0044253208, -0.0364270285, -0.0312148444, 0.0081012277, 0.0594393499, 0.0063840849, 0.0523366965, -0.0383704305, -0.0213448741, 0.0190225039, -0.0304217096, 0.0009808985, -0.0261393972, 0.0109286513, -0.0003685942, -0.0139249843, 0.0678368881, -0.0190751441, 0.0225494877, 0.0271060653, -0.009373364, 0.0328472108, 0.0613744482, 0.0750294328, 0.0460186079, 0.0242665038, 0.1299364716, -0.0276129879, 0.0089228442, -0.0021626425, -0.0323604345, 0.0010318231, 0.014945088, -0.0355395302, -0.0230588, -0.0010655556, 0.0102087054, -0.053389363, 0.0259812754, 0.0813141465, 0.0104319239, -0.0078068622, 0.0269957576, 0.0020339908, -0.0096915839, 0.0190339759, 0.0064467648, -0.0000193629, 0.0175588168, 0.0119013991, 0.0201091412, -0.0091994628, 0.0213743057, -0.0079250298, -0.021878371, 0.0229060464, -0.0585496053, -0.0049040602, 0.0037518302, 0.0026591413, 0.0507990867, -0.0703501925, 0.0007912371, -0.0414777137, 0.0231726542, -0.0408180952, 0.0046749152, -0.0394778736, -0.017216159, -0.0070901485, 0.0533254892, 0.0126753822, -0.0708877146, -0.0006080052, 0.0133698806, -0.0256109964, 0.0140794972, -0.0168876667, 0.0641057864, 0.0087616909, -0.0095374826, 0.0374602973, 0.0573708676, -0.0444355607, 0.0312312711, -0.0159433987, 0.0489284471, -0.0022266337, 0.0047275294, 0.0398628712, -0.040155191, -0.0162010472, 0.0485540964, 0.0193283912, -0.0305601899, -0.0086288005, -0.0523173586, 0.011812916, -0.0396279171, 0.0487902164, -0.0524221696, 0.0690779015, 0.0071596256, -0.0037245245, -0.0573461317, 0.0215086844, -0.0142366486, -0.0798631907, 0.0328959264, -0.0047327606, -0.0263372827, 0.0106824953, 0.0270520337, 0.0207653083, 0.050435029, 0.023979865, 0.0081724208, 0.0394387431, -0.0028774894, -0.0343254842, -0.0008505562, 0.0537415482, -0.0342672765, 0.0200541671, -0.0121968566, 0.0004403575, 0.0454644226, 0.0458925441, 0.0201793481, -0.0637629852, -0.0292550772, 0.0167887919, 0.0196045954, 0.0041901511, 0.0116587542, 0.051735539, 0.0029445889, -0.0103340596, -0.0208166707, -0.0092858709, 0.0367829278, 0.0250227321, -0.003981045, 0.0266586319, 0.0180950295, -0.0470429882, 0.030337574, 0.0512920022, -0.0238772184, 0.027516596, -0.0069016838, 0.07063476, 0.0173715316, -0.0317412913, 0.0302533135, 0.0391049162, -0.0077200518, 0.0225169901, 0.0330826417, -0.0127517879, 0.0309920069, 0.0613861531, -0.0296861324, -0.0043993318, -0.0468744785, 0.0059230179, -0.0142197357, 0.0354855768, -0.036793299, 0.0089600235, -0.0579018705, -0.059881635, -0.0278154295, 0.0082506649, 0.0298718829, -0.0095990384, 0.009675175, 0.0389957093, -0.0023897942, 0.0085579706, 0.0120997, -0.033565402, 0.0190597083, 0.0167381279, 0.0069786534, -0.0091212997, 0.0572100617, -0.0090395389, 0.0080894176, 0.0252495613, -0.0349325985, -0.019000344, -0.0042748451, -0.078830719, -0.0353672467, 0.052828677, -0.0571485832, 0.003073009, 0.0231698137, -0.0397574939, -0.0441687219, 0.0645303279, -0.0258301627, 0.0282475315, -0.0080174496, -0.0677817613, -0.0171260964, 0.0220682696, 0.032400243, 0.0346502401, -0.0278742686, 0.0497422256, -0.0070182849, -0.0310369972, 0.0280180704, 0.0002381227, -0.0355159044, -0.0319364518, 0.0105376597, 0.0196497682, 0.0296072848, -0.0141296424, -0.0213578865, -0.0011399831, -0.0427224338, 0.0033711877, 0.0091667799, -0.0160472933, 0.0115286708, -0.004343709, 0.0550446026, -0.0238308031, -0.0743316114, 0.0265038442, -0.0248087253, 0.0155524816, 0.0423169658, -0.0165914856, 0.0034511962, -0.0272400361, -0.0490173846, -0.0324130878, 0.115420714, 0.0037954457, -0.0374305733, -0.0037272351, 0.0067453235, -0.0402536653, -0.0297858883, -0.0528704114, 0.0434587039, -0.0104959058, -0.0134087484, 0.014476289, 0.032109648, -0.0246333983, 0.0535239838, 0.0276774578, 0.0204734243, -0.0810479298, -0.0203835219, -0.0588477589, 0.0741577893, -0.052597113, 0.0088551585, -0.0339919142, 0.0146648986, 0.0051649204, -0.0441355631, -0.0157137457, -0.014055022, 0.0027996199, -0.0129397102, -0.0497345775, -0.0198448375, 0.0404132977, -0.0407490097, -0.0242536198, 0.0066900519, 0.0472965129, -0.01141968, 0.0027509858, 0.0164360348, -0.0120369634, -0.0444117896, 0.0300108381, 0.0343089662, 0.0565467887, -0.0107835643, -0.0255202577, -0.0180087574, 0.0215342157, 0.0186171271, -0.018907316, 0.0071827839, 0.0431236289, -0.0066243731, -0.0388064496, -0.0253011938, 0.0165968165, -0.020793166, -0.0042213802, 0.0531479158, 0.0119002815, -0.0031476831, -0.0387398861, -0.0401975475, 0.0071754646, 0.0236474685, -0.0225599147, -0.01777713, -0.0311174002, 0.0713966936, 0.0443298295, -0.0297663305, 0.0060890317, -0.0164018348, -0.0122027863, 0.0707389489, -0.0389228687, -0.0130354613, -0.0525718518, 0.0050656646, -0.0231494848, -0.0145034492, 0.0206621867, -0.0331012942, 0.0125343418, -0.026636282, -0.0071329493, 0.0609620437, 0.0351423733, -0.0812377855, -0.0166854151, -0.0001047083, 0.0166249443, 0.034317337, 0.0176205263, -0.1083369702, 0.0006178033, -0.017794814, -0.0004405635, 0.060178563, -0.0339371972, -0.0142069859, -0.0455996431, -0.0310892537, 0.0089636967, -0.0154208606, -0.020842813, -0.0698819309, -0.0252116639, 0.0022506262, 0.0028624532, -0.0073841191, 0.0105013354, -0.0241123661, -0.0012762523, -0.0124024022, -0.0384947993, 0.0149296112, -0.0411937349, 0.0411287323, -0.0167967714, 0.032073658, -0.0234860759, -0.0086597502, 0.0019958226, 0.0111294547, -0.0376711078, -0.0049046222, 0.0731828213, -0.0208013132, 0.0157499611, -0.0308108851, 0.035754595, -0.0713278875, -0.0165997781, -0.0315204635, 0.0863022655, 0.0183348376, -0.0506123155, -0.0391364545, -0.0269741137, -0.0151580032, 0.0131271156, 0.0306158885, -0.0309546348, -0.0480506085, -0.0469425172, 0.0311785322, -0.0246226415, -0.0252763499, -0.0110062566, -0.0207018852, 0.0334333219, -0.0356895365, -0.0523815714, 0.0239814892, 0.0102320034, 0.0005968696, -0.0202059746, 0.0286792405, -0.0584624149, -0.0319746695, -0.0160199981, -0.0221158396, 0.0251073372, 0.0391824469, 0.0486978255, 0.0626205727, -0.0306088701, -0.0413383693, -0.0361071154, -0.048519861, -0.0600538254, -0.0731600896, 0.0135274027, 0.0024911719, 0.0442905128, -0.0352683291, -0.0299774446, 0.0520774238, 0.0247719567, -0.0483711883, 0.0019467503, 0.0447081178, -0.0280530248, -0.0121911196, 0.0288512148, -0.0607894436, 0.0396697186, 0.0028041226, 0.0341890268, -0.0300227031, -0.0564602017, -0.0090145888, 0.0053776661, 0.0132262306, 0.0441038124, 0.0708647892, -0.0949275568, -0.0111162523, -0.0092551792, -0.0049535753, -0.0385958962, 0.0264095161, 0.0393531062, -0.0161399078, -0.017830288, -0.0245319884, 0.0778404772, 0.0465872437, 0.002873275, -0.0261980314, 0.0218887236, -0.0237830076, -0.0031568187, 0.0249214265, -0.0377813987, 0.0187342539, -0.0246796645, -0.0195161738, -0.0516571291, 0.0137127899, 0.0377232023, -0.0079082511, -0.0534593016, -0.001393145, -0.0569455028, 0.0101577658, -0.0307876915, -0.0206201952, 0.0770819187, 0.0233704578, 0.05494681, -0.0155517124, -0.0036336833, -0.0127236107, 0.0480479822, -0.0301068854, -0.0382170379, 0.0440074503, 0.0129046831, -0.0129854325, -0.0034893444, 0.0935688764, 0.0193659402, 0.0303583834, -0.0068349834, -0.0404200517, -0.0412120186, -0.0192880668, 0.0133518567, 0.060542386, -0.0188042484, -0.0100108003, 0.0055700797, -0.0432755128, 0.0265020784, -0.0168592427, -0.0343544856, 0.0347029045, -0.0040289797, 0.014717822, 0.0232533235, 0.0107450821, -0.021400582, 0.0114879962, -0.0032164266, -0.0478500575, 0.0160498917, -6.033076349e-33, 0.0139246695, -0.0318092518, -0.0177822951, 0.0073461803, -0.0457895324, 0.0230634008, -0.0396404937, -0.0167935751, -0.0528255366, 0.0430054329, -0.0011886794, 0.0000190228, -0.0321188942, 0.0224182159, 0.0107374433, -0.0044376096, 0.0208736248, -0.0149982367, 0.0472635478, 0.0590031259, 0.0516176037, 0.0193248093, 0.050228592, -0.1044459566, 0.017182555, -0.0407574512, 0.001583791, 0.0136775756, 0.0218937304, 0.0413121507, -0.0503866859, 0.0445618667, 0.0399814434, -0.0237755068, -0.0262604058, 0.0357629061, -0.1309412122, -0.0468256176, -0.043229185, -0.0107725216, -0.0379653275, -0.0318541899, 0.0520279035, 0.0192413088, 0.0887063965, -0.0535690486, 0.0722532794, 0.0205788109, -0.057777103, -0.045360554, -0.0214777645, 0.0165350102, -0.0051122592, 0.0418767072, 0.017724406, 0.0117373243, 0.04367036, 0.0463563651, -0.0624682233, -0.0081802113, -0.0712844655, -0.0101286927, -0.012222874, -0.0338357501, -0.0138121434, 0.0659764633, -0.0029287534, -0.0205454491, -0.0036626903, 0.0226055309, 0.0150825223, 0.0430192761, 0.029296184, 0.0650078282, -0.0002844917, -0.0447726026, -0.0940193459, -0.0189708658, 0.0121392393, -0.0087606469, 0.0393327475, 0.0190890692, 0.0187653322, -0.0386964343, -0.0353581794, -0.0178361852, -0.0408859551, -0.0395262651, -0.0094015365, 0.0252172295, 0.0061657103, 0.0646310896, 0.0338786989, -0.0848427862, -0.0856399536, 0.0896428823, 0.0042294837, 0.0343766883, 0.0196704604, 0.0095283529, -0.0666334853, -0.0279235393, 0.0190142691, -0.0492876135, 0.0016595133, 0.0057364735, 0.1030470654, -0.0051810276, -0.0452557616, -0.0065866304, -0.0257822461, -0.0691564828, -0.0039806026, 0.024290856, 0.0154793076, 0.0323932171, -0.0202093199, 0.0415668897, 0.0659264028, 0.0089233676, -0.0112841753, 0.0179482382, 0.0376207083, 0.0375828408, -0.0080220895, -0.0348659828, -0.0366023518, 0.0107010324, 0.0600751601, -0.0475217514, -0.0023300841, 0.0093742562, 2.537e-7, 0.0676146597, 0.0138024809, 0.0236969441, -0.0068065049, 0.0296536591, 0.0328634232, -0.0038324005, 0.0930869579, -0.0277366545, 0.007668741, 0.0247673206, 0.0180510134, -0.0134848412, 0.0364631675, -0.0555231795, -0.0013197911, -0.0929837748, -0.0467066839, -0.0307317749, -0.0372385494, 0.0307910573, 0.0518025793, 0.0381167158, 0.0145484451, 0.0053616161, -0.0656050295, 0.0881394446, -0.0082955724, 0.0341761187, 0.0256664623, 0.0124756237, 0.0184797887, -0.0492647886, -0.0303033609, -0.0098958472, 0.0524507314, 0.0344985165, 0.0612480454, 0.0006864063, -0.018760711, 0.0399659947, -0.0273014661, 0.0163243916, -0.0140105113, 0.0294423997, -0.0590855628, -0.0193622876, -0.0174185392, -0.0309079364, -0.0072299372, 0.0410895906, 0.0220403019, 0.0441494584, 0.0131576732, -0.0013257476, -0.0107992589, 0.0041535506, -0.11183431, 0.0026213229, 0.0198772289, -0.032738328, -0.0151949478, 0.0049219113, -0.0145235946, 0.0744368061, -0.0341880508, 0.0338152274, 1.922428372e-34, 0.0131232804, -0.0252501536, -0.0093884943, 0.0566205084, -0.0085937474, -0.0456485264, -0.0206219107, -0.0238942932, 0.0249518678, -0.0774405599, -0.0053350134 ]
http://arxiv.org/abs/2310.06675v2
http://arxiv.org/pdf/2310.06675v2
SEER : A Knapsack approach to Exemplar Selection for In-Context HybridQA
2023-10-10T14:50:20
2023-10-20T08:02:25
Jonathan Tonglet, Manon Reusens, Philipp Borchert, Bart Baesens
cs.CL
cs.CL
Question answering over hybrid contexts is a complex task, which requires the combination of information extracted from unstructured texts and structured tables in various ways. Recently, In-Context Learning demonstrated significant performance advances for reasoning tasks. In this paradigm, a large language model performs predictions based on a small set of supporting exemplars. The performance of In-Context Learning depends heavily on the selection procedure of the supporting exemplars, particularly in the case of HybridQA, where considering the diversity of reasoning chains and the large size of the hybrid contexts becomes crucial. In this work, we present Selection of ExEmplars for hybrid Reasoning (SEER), a novel method for selecting a set of exemplars that is both representative and diverse. The key novelty of SEER is that it formulates exemplar selection as a Knapsack Integer Linear Program. The Knapsack framework provides the flexibility to incorporate diversity constraints that prioritize exemplars with desirable attributes, and capacity constraints that ensure that the prompt size respects the provided capacity budgets. The effectiveness of SEER is demonstrated on FinQA and TAT-QA, two real-world benchmarks for HybridQA, where it outperforms previous exemplar selection methods.
[ 0.0098523349, 0.0229652803, -0.0022348906, 0.0141904168, -0.0264377724, 0.0353830159, 0.0064000017, 0.01120672, 0.0005459348, -0.0424783081, -0.0104393335, -0.0145443426, -0.0510066748, 0.0348791443, 0.0226098523, 0.0036371564, 0.0387430824, -0.0132360142, -0.0028937934, -0.018924186, 0.0021668694, 0.0223497264, -0.0218396503, 0.0142762363, 0.0104934378, -0.0200431868, -0.0073482888, -0.0132844131, 0.0177538693, 0.0239718836, 0.0289399419, 0.0387001298, 0.0389058962, -0.036745619, 0.0000020089, -0.0383483842, -0.0741811097, -0.0215903129, -0.0686445087, -0.0127851274, -0.0122296494, 0.0032120361, 0.0453641675, 0.0143430466, -0.0319103785, 0.000110064, 0.0200486481, 0.0518796146, 0.0421589501, 0.0416299775, 0.0099725854, -0.0057550948, -0.0235288311, 0.0202563014, 0.021287946, -0.0400697514, 0.0095378375, 0.0034129573, 0.0542227253, -0.0105566997, 0.0045131426, 0.0205052029, 0.0530469455, 0.024080554, 0.0101947878, 0.0350935757, -0.0590203479, 0.0664813668, 0.0131179737, 0.0970071107, 0.0050735734, -0.0486121178, 0.0160273183, -0.0306703616, 0.0045046117, -0.0155579783, -0.0371816643, 0.0158418305, -0.0533870421, -0.0056361272, 0.0274016913, 0.0320184343, 0.0081181424, 0.0176733248, -0.0686756, 0.0747208074, -0.0041078292, -0.0358290114, 0.0201311279, 0.0032268632, -0.0474991016, -0.0090265563, -0.0071288259, 0.0547704995, -0.0744439587, 0.0227421615, 0.0317978859, -0.0346262231, 0.0046153567, -0.0309512857, -0.0015520782, 0.0632491484, 0.0136522427, 0.0728602782, -0.0158323962, 0.0215972047, -0.0299985316, -0.0092788246, -0.0317987911, -0.0502789915, -0.0682224408, -0.0088946065, -0.0527166091, 0.0397908427, -0.0583273396, -0.0343624167, -0.0052303253, 0.0305623114, -0.0059659574, -0.0095495442, 0.0175678357, 0.0323710553, -0.0097848335, 0.013496791, -0.0242256019, -0.0094807511, -0.0733320192, 0.0169564988, -0.0068060225, -0.0344811007, -0.0406282581, -0.0008753898, 0.0112699987, -0.0744208321, 0.001734385, 0.0735760406, -0.0418420956, -0.0314972512, -0.017328741, -0.0320876166, -0.0091199949, -0.048433058, -0.0262830351, -0.0613143332, 0.0606021695, 0.0146000506, 0.005732941, -0.0034037596, 0.0005454383, 0.0278100353, 0.023158079, 0.0376991667, 0.0370796174, -0.0238258839, 0.0054681753, 0.006272384, -0.0496720746, 0.119952336, 0.0025129644, -0.0325741656, 0.010747971, 0.0250168648, -0.0122027816, 0.0280578826, 0.0390895568, 0.0175767951, 0.0067689717, 0.068388097, 0.0465979986, 0.0257800929, -0.0330127887, 0.0050193518, -0.0424853861, -0.0053070034, -0.0073646847, 0.0009955176, 0.0318151563, 0.0230687242, -0.0133264717, -0.0124184666, 0.0296207536, -0.0287725851, 0.0011167222, 0.0501408726, -0.0368630067, 0.002454733, 0.0315683112, 0.0308262985, -0.0422105975, -0.0244871136, -0.0133443484, 0.0287692249, 0.0020227262, 0.0404078923, 0.0366748832, 0.0015389941, -0.0535892174, 0.0376106948, 0.0137075307, -0.0013363723, -0.0163576473, 0.0027712537, 0.0412951782, 0.036527399, 0.0276878588, -0.0852795169, 0.0018527197, -0.0396561921, -0.0074161417, -0.033024922, -0.0077238097, -0.0524039939, 0.0193092674, -0.0287914723, -0.0459270105, -0.0155288503, 0.000204951, -0.0317525603, 0.0475132391, 0.0361021385, -0.025304608, -0.0830167159, 0.0485734344, 0.0216368511, -0.0117188813, -0.0316045545, 0.0144882919, -0.0001959346, 0.0205774903, 0.0123645999, 0.0316734947, 0.0088019054, 0.004843493, -0.0588246249, -0.0402406491, -0.0045016254, -0.04526015, -0.0501256101, 0.020700017, -0.0139731569, -0.0147283226, -0.0268632639, -0.0510708094, -0.0577555597, -0.0022097724, -0.025832193, 0.0145524712, -0.0414252467, -0.045524314, 0.0237435549, -0.0055607152, -0.0298334341, 0.1189586222, -0.0036673632, 0.0064580934, 0.0160159171, -0.0764399096, 0.0055660405, -0.0531547032, 0.0317735337, -0.0130576361, 0.0160841253, 0.0087421481, -0.0037045176, -0.0013330241, -0.0673588887, 0.0040476522, -0.1019150168, 0.039358981, -0.0560994856, 0.0201053973, 0.0205215439, 0.0203091055, 0.0064346227, 0.0139827747, -0.0441756397, -0.0108736008, 0.0010418547, 0.0170599781, 0.023397943, 0.0433160998, 0.0222673789, 0.0037484181, -0.0161937922, -0.0119710527, 0.07478223, -0.0073160143, -0.0210853163, 0.008445845, -0.0365770459, -0.012823048, -0.0052760341, -0.0093411589, 0.0502016097, -0.0356509797, 0.0069063562, -0.0203066207, 0.0126059772, -0.0313655809, -0.000373072, 0.0013058886, 0.020000428, -0.0606106371, 0.0452812128, -0.0075152311, 0.0500557236, 0.0106111914, -0.0002072706, 0.0380560756, 0.0138726719, -0.0128242401, -0.009494842, -0.0638663843, 0.0522571243, -0.0053945011, -0.0011766719, -0.0942213535, 0.0235402863, 0.0244534537, 0.0615273044, -0.0036709879, 0.0167969316, 0.0584951937, 0.0376306027, 0.0093041481, -0.0711961314, 0.0070995209, -0.0827872828, 0.0268506352, -0.0294523146, 0.011011227, -0.031994503, 0.0102071278, -0.0350440033, -0.0205461979, 0.0067384299, -0.0077046654, 0.0910752043, -0.0318417959, 0.039257098, 0.017328456, -0.0467417911, -0.0199821945, -0.0101111419, -0.0269041657, 0.0433139279, -0.0150787635, 0.0094053689, 0.0023458935, -0.0174899008, 0.0113376798, 0.037558239, -0.0113968505, -0.0055145854, -0.0103715593, 0.029418638, 0.0541906096, 0.0271283127, 0.0152041288, -0.0247522257, 0.0361392945, 0.033852201, 0.0307136588, -0.0363206677, 0.0269548744, 0.0277258381, 0.0135750854, -0.0258336589, -0.0250517521, 0.0248472299, 0.0223657079, -0.0451174714, -0.0372906812, 0.0790849328, 0.0404920876, -0.0215528179, -0.000051992, -0.0445144102, 0.035387069, 0.0253570508, 0.0535740554, -0.1276690662, -0.0465404987, -0.0156360436, 0.0071023745, 0.0029439689, -0.0620406233, 0.0163404457, -0.1011565775, 0.0279265605, -0.0135636628, -0.1299042851, -0.0195609909, -0.0145579772, 0.0128615387, -0.0399214663, 0.010711222, 0.0220635217, -0.0185080636, 0.0189990848, 0.0212419555, 0.0118348356, -0.0244426541, 0.0412465669, -0.0115516856, -0.0122897848, 0.0123089645, 0.010984947, -0.0087637044, -0.0294845682, 0.0489009432, -0.0728200525, -0.0046026707, -0.0235352106, -0.006026098, 0.0037867608, -0.0066728396, 0.021610653, 0.0529898629, -0.0550473593, -0.0264439955, 0.0492216088, 0.1212868318, -0.020701969, -0.0082696965, 0.0175678916, -0.0473634042, 0.0162250809, 0.0839385167, 0.0241557118, -0.0136510171, -0.0544930436, -0.0124548515, -0.0613739826, -0.0441535115, 0.0302116796, 0.0421834104, 0.0388673283, 0.0475408807, -0.0532426871, -0.0059255473, 0.0700481161, 0.0763099492, -0.0265466962, 0.0532675274, -0.0352514982, 0.0129539846, -0.0335736871, 0.0040771738, -0.0458453707, 0.01362703, 0.028993424, -0.0053612073, -0.0183304641, -0.0519004315, -0.0385472551, -0.0021770722, -0.0298581719, -0.0240960885, -0.020202551, 0.014481172, 0.019293705, 0.0450959355, -0.0037657607, -0.0371282697, 0.0500372536, -0.0039585629, -0.0191860087, -0.0010150491, 0.0217717644, -0.0193693396, -0.0071349288, 0.0380087122, -0.0681355819, -0.0209097862, 0.0083277477, 0.0724083632, -0.0181660075, 0.0104748663, 0.0359282233, -0.0428030156, -0.0647150874, 0.0405600183, -0.0479955561, -0.0324940793, 0.0447319187, 0.0062625054, -0.0346621685, -0.0181944333, 0.0298231151, -0.0075610681, -0.039147716, 0.0044458038, -0.0154714994, 0.0040729097, 0.0665630326, -0.0063211778, 0.0116002429, 0.0795684159, -0.0192293432, 0.0089377975, -0.042046614, -0.012231173, -0.0212613214, 0.0203525051, 0.0673204958, -0.0071011689, 0.0473610274, 0.0534670092, 0.006564423, -0.058099784, -0.0139910541, -0.0580894016, -0.0498062037, -0.0089813592, -0.0137125757, -0.0080651138, -0.0169248544, 0.0005244243, -0.0019048472, -0.042991057, 0.0051237801, 0.0075458395, 0.0349574275, -0.009431826, 0.0474735796, 0.0449942797, -0.0039847777, 0.0067239846, 0.0586052053, -0.014675539, 0.0441338457, 0.0127260666, 0.0198711604, -0.0469717197, -0.0227683373, -0.0195615701, 0.0484554656, 0.0124897407, 0.006333591, -0.0418669581, -0.0372330956, 0.0470136926, 0.0030456099, -0.0526822954, -0.0060418476, 0.0603430681, 0.0342375003, 0.0561210439, -0.0273589678, -0.0085000331, -0.0062271822, 0.0070359372, -0.0104884971, -0.0036933657, -6.224205119e-33, 0.0066343541, 0.0020254359, 0.0249551013, -0.0726001337, 0.032947015, 0.008260712, -0.0432075821, -0.0351775736, -0.0046113906, -0.0218582526, -0.0240181126, 0.0134457257, 0.0011426692, 0.0288640354, -0.0030427007, -0.0531924181, -0.0224194992, 0.0068518245, -0.0358347781, 0.022576509, 0.0308973286, -0.0033814863, 0.0296934955, -0.0195055343, 0.0186517611, -0.0007193661, 0.0110086016, 0.0219038874, -0.0193714686, 0.0665524453, -0.0214315597, 0.0195910018, 0.0313363783, -0.0707487762, 0.0094042178, 0.0167350285, -0.1070321873, -0.0462560765, 0.0349717662, -0.0152435526, -0.0431278571, -0.031937927, -0.011271283, 0.0000797312, 0.0315965675, -0.0291054118, 0.018279884, -0.0332214981, -0.0093765203, -0.064915061, -0.0196712464, 0.0213579293, -0.0480775312, 0.0624372698, -0.0193135124, 0.0822333023, -0.0168499388, 0.0101176128, -0.0227510724, -0.0298529044, 0.0089696143, -0.019328868, 0.0414463431, -0.0159079153, 0.0246580038, 0.0236883834, -0.0291900076, -0.0200261232, -0.0486949459, -0.0299978592, -0.0324725136, 0.0145561565, 0.0601408407, 0.0474083647, 0.0470012277, 0.0405169837, -0.1105018333, 0.0051864381, 0.0507173762, -0.0007269345, 0.0337811857, 0.0002468188, -0.0457865074, -0.0500592254, -0.052627787, 0.0308638867, -0.0421330743, -0.0153403925, 0.0469726063, 0.0014978566, -0.0194984619, 0.0105836717, 0.0267201029, -0.0317209288, -0.0206341427, 0.0538777672, 0.0006336813, -0.0140883066, 0.0422662906, 0.0548593737, -0.0364586934, -0.017152641, 0.0273851696, -0.0221596528, 0.0337069035, 0.0014971078, 0.0269047767, -0.0106943697, -0.0478399545, -0.0045546982, -0.0470946059, 0.0644001737, 0.000822817, 0.0373949483, 0.0245160274, 0.0466747098, 0.0047027692, 0.0446095616, 0.014423036, -0.0289700683, -0.0055097998, -0.0029384098, -0.024753876, -0.0141076986, 0.0175549779, 0.0157654267, -0.0014689242, 0.0109895188, -0.0260796137, -0.0396187045, 0.005543387, 0.0619339496, 2.61e-7, 0.0701995119, 0.0118949255, 0.0050896988, -0.0025728554, 0.006181553, 0.007490905, 0.0102618244, 0.0120698856, -0.0290702153, -0.0588942878, 0.0262843445, 0.0475094579, 0.0352897532, 0.0363190435, -0.0517997332, -0.0029318144, -0.0411804728, -0.0181301478, -0.0479353331, -0.0148239378, 0.0654677302, 0.0970860571, -0.0227866936, -0.0149332359, -0.0106787803, -0.0335175544, 0.0484760441, -0.023440117, 0.0342681855, -0.0099426992, 0.0018664509, -0.0201423876, 0.0269657318, 0.0641395599, 0.0116022732, 0.0452169031, 0.0112869171, 0.0517144203, 0.0117003741, -0.0506490991, 0.0034417436, -0.0420733355, 0.036859408, -0.061544694, 0.144765079, -0.0358973891, 0.0013337363, 0.0261129625, -0.0121654812, -0.0308277719, 0.039808169, 0.0277564917, 0.0131071499, 0.0398081355, 0.0149304215, 0.0008268571, 0.0237514917, -0.082433179, 0.0051869261, 0.0145392213, -0.0290192142, 0.0099177957, -0.0057734638, 0.034860421, 0.0126211904, -0.0468126684, 0.0125843044, 2.538337706e-34, 0.0288331043, 0.0128030619, 0.0305415094, 0.0753464922, 0.0166152101, -0.0370903984, -0.0132500483, -0.0112389205, 0.044041615, -0.077194646, 0.0007119527 ]
http://arxiv.org/abs/2310.06671v2
http://arxiv.org/pdf/2310.06671v2
Making Large Language Models Perform Better in Knowledge Graph Completion
2023-10-10T14:47:09
2024-04-14T05:30:19
Yichi Zhang, Zhuo Chen, Lingbing Guo, Yajing Xu, Wen Zhang, Huajun Chen
cs.CL
cs.CL
Large language model (LLM) based knowledge graph completion (KGC) aims to predict the missing triples in the KGs with LLMs. However, research about LLM-based KGC fails to sufficiently harness LLMs' inference proficiencies, overlooking critical structural information integral to KGs. In this paper, we explore methods to incorporate structural information into the LLMs, with the overarching goal of facilitating structure-aware reasoning. We first discuss on the existing LLM paradigms like in-context learning and instruction tuning, proposing basic structural information injection approaches. Then we propose a Knowledge Prefix Adapter (KoPA) to fulfill this stated goal. The KoPA uses a structural pre-training phase to comprehend the intricate entities and relations within KGs, representing them as structural embeddings. Then KoPA communicates such cross-modal structural information understanding to the LLMs through a knowledge prefix adapter which projects the structural embeddings into the textual space and obtains virtual knowledge tokens positioned as a prefix of the input prompt. We conduct comprehensive experiments and provide incisive analysis concerning how the introduction of cross-modal structural information would be better for LLM's factual knowledge reasoning ability. Our code and data are available at https://github.com/zjukg/KoPA .
[ 0.0447664484, -0.0000786464, -0.0235272236, 0.0656401515, 0.0060145706, -0.00451307, -0.047633227, -0.0006204513, 0.0744359642, -0.0437518433, 0.0005212361, 0.0131543009, -0.010607441, 0.0334069133, 0.0323410407, -0.0307901017, 0.0517174676, -0.0311634373, -0.0134879528, -0.0176310167, -0.0326022804, 0.0250382144, -0.0026031376, -0.0084910924, -0.0211283844, -0.0098141683, -0.0134192631, -0.0070313006, -0.0256752688, -0.0383645222, -0.0228556916, 0.0012284811, 0.0305342283, -0.015818445, 0.0000022052, -0.0338414125, 0.0068435208, -0.0143091492, -0.0626625419, -0.0110517498, -0.0116284564, -0.0094562545, 0.0329541489, -0.0092304833, -0.039574869, -0.0112585602, 0.0323413759, 0.0596516728, 0.0156107759, 0.0485509448, -0.0064014434, -0.0061243474, 0.0381150767, -0.0131408889, 0.0406874195, -0.0113364458, 0.0323872566, 0.0538771898, 0.0293627735, 0.0695149899, -0.0336036198, 0.040409375, 0.0234643985, 0.0058925138, 0.055443339, 0.0414123125, 0.0202835668, 0.0016812049, 0.0114848427, 0.0907328501, 0.0377245173, 0.0013632072, -0.0137065677, 0.0102155972, 0.0111754583, 0.0281059425, -0.0427732095, -0.0110225799, -0.021749435, -0.0062195272, 0.0073097697, -0.0408063605, 0.0543868057, -0.0002697533, -0.0424281172, 0.0893369466, 0.0165908374, -0.0309299249, 0.0141530419, 0.0077545443, -0.0113341985, -0.0584422089, -0.0057537532, 0.0514430515, -0.0308151171, 0.0524551943, -0.0304278564, -0.0079108011, -0.001304575, -0.03073439, -0.0054283193, 0.0430505201, -0.0057579679, 0.0762188658, -0.0855802074, 0.0260932408, -0.0176252089, 0.029500315, -0.0688926578, -0.0247703958, -0.0542731099, -0.02047587, -0.0138423219, 0.046655912, -0.0434041731, -0.0379450433, -0.0089018503, 0.0650658011, -0.0087640136, 0.0407665409, 0.0169427879, -0.0049979561, 0.0044414396, -0.0247861817, -0.0594988205, 0.0424814932, -0.0439701416, 0.0220968369, -0.0401304923, 0.0034531548, -0.0056730378, 0.0006905408, -0.0036905135, -0.0240017679, 0.0254376605, 0.048437506, -0.0078673707, -0.0231785607, -0.0525628217, -0.0607563183, -0.002634912, -0.0517532192, 0.0373684429, -0.0659913421, 0.0396960266, 0.0358657166, -0.0137381116, -0.010430553, 0.0394954272, -0.0025280158, -0.0567030609, 0.0745851919, -0.0263713133, 0.0097237928, -0.0122948447, 0.0196174569, -0.0271036122, 0.0539001524, 0.0073704175, 0.0070543825, 0.0193093531, -0.0048692892, -0.0591317341, 0.0164407752, 0.0441683643, 0.0096768979, -0.0077161337, 0.0112420954, 0.0241486337, 0.0284789149, 0.012384533, 0.00814573, -0.0261833724, 0.0175460726, 0.0553128421, 0.0169913229, 0.0258617532, 0.0054428279, 0.046463456, -0.0159650948, -0.008186629, 0.0152845383, -0.0578248091, 0.0250677485, -0.0844914615, 0.034488976, 0.0029748124, 0.0285880249, -0.0037680564, -0.0374977775, 0.0079389773, -0.0064314879, 0.0228522457, 0.0524760745, 0.0828094855, 0.0231802389, -0.0259303059, 0.036366459, 0.050472334, -0.0080185803, 0.0272118058, 0.0016878282, 0.0363240167, 0.0472454168, 0.0286929253, -0.0220266003, -0.0524637587, 0.0350360684, 0.0110906009, -0.0157394316, 0.0059153265, -0.0335628092, -0.025252929, -0.0450499691, -0.0487117507, -0.0140308309, -0.0198558904, 0.0117786853, 0.0392190814, -0.0029159319, 0.0191059131, -0.0962768346, 0.0435342044, 0.0254764352, -0.0398549922, -0.0045230682, -0.0233301781, 0.0291900374, 0.0147976782, 0.0121392095, 0.0365563594, 0.0066293483, 0.0453516953, -0.0278967731, -0.0328868963, -0.0099750059, -0.0448098816, -0.0549244843, 0.0404984877, -0.0097271856, -0.0256382842, -0.044874955, -0.0206712559, -0.0450564697, 0.0170721225, 0.0011731852, 0.0954620317, -0.0047512362, 0.0007179088, 0.0225561541, -0.0316399001, -0.0004887446, 0.1019024551, 0.0082540661, 0.0222778041, 0.0382435694, 0.0093949568, -0.0144178877, 0.0316829197, -0.0216134079, 0.0001680672, 0.0154614672, -0.027716944, 0.0016419629, -0.0357671753, -0.0693491846, -0.0035053908, -0.1248833537, 0.0087729171, 0.0269419737, 0.0022689796, -0.0067306645, 0.0289208889, 0.0150854047, -0.0238063559, -0.0057807933, 0.0264966898, -0.0193124078, 0.023126265, 0.0017125839, 0.0180885233, -0.0187783092, 0.0131511521, -0.0047514774, -0.0439218953, 0.0588763133, 0.0057748468, -0.0244477484, -0.0348118357, 0.0402510762, -0.0302796457, 0.0148015888, -0.0488252267, 0.0087300362, 0.0003329606, -0.0129408361, 0.072109282, 0.0586826913, -0.0340082049, 0.01224449, 0.0572455451, -0.0228554718, -0.0541208982, 0.0149224615, -0.0215707049, -0.0061212201, -0.0667600334, 0.0088189337, -0.0186177492, 0.0308821462, -0.0104261283, -0.0171565041, -0.0621706769, -0.0191167295, -0.0093024103, -0.0264543202, -0.0293076914, -0.0257098116, 0.0177233443, 0.007800445, -0.0133311888, 0.0089296615, 0.0953988507, -0.0313247889, -0.0047714971, 0.0033314822, 0.0060434612, -0.0266856737, 0.0795570835, 0.0089280605, 0.0136426864, 0.0193718057, -0.0231585447, -0.0501044802, 0.011975104, 0.027228443, -0.014671606, 0.0380061343, -0.0163219403, -0.0050648362, 0.0224396475, -0.0043207272, -0.0266827326, -0.0014252316, -0.0532736667, 0.0058911894, 0.0078466851, -0.0247599389, -0.0008157474, -0.0113559561, 0.030166531, -0.023952622, 0.0020493576, -0.012514445, -0.0416951552, 0.0154239284, 0.0264649186, -0.0033970005, 0.0310012884, -0.0336756893, 0.0035455669, 0.0564843901, 0.0292656589, -0.0347185805, -0.0026036776, 0.0164962672, 0.0217539966, -0.0283173062, -0.0427086987, 0.0132016866, 0.0211974196, -0.0613406114, 0.023040561, 0.1049819514, 0.0045716697, -0.0130466968, 0.008710701, -0.0030247793, 0.0238015801, 0.0536700003, 0.0233600549, -0.1058325768, -0.015620999, 0.0159616712, -0.0183965564, 0.0242416523, -0.0534512475, -0.0008612844, -0.1262884438, -0.0055445656, 0.0049905195, 0.0110074421, -0.067420207, -0.0324921496, 0.0093141906, 0.037360467, -0.0307081249, -0.0006938554, -0.0238542724, -0.0076547498, -0.0080730226, 0.0125774555, -0.0279020146, 0.0265588854, -0.0281662997, 0.0540795475, -0.0248212442, 0.0138784731, 0.0018822553, -0.0368667692, 0.0004529195, 0.0223376248, -0.0039331326, -0.0106168995, 0.0021760121, -0.019270191, 0.000654349, -0.0367738642, 0.0289660841, -0.0361006297, -0.0232531093, 0.0033498392, 0.124549076, 0.0059853136, -0.0006372147, -0.0029597892, -0.0043868832, -0.0169129968, 0.0669184402, 0.0132886469, 0.0012882323, 0.0125868507, -0.0141275786, 0.0061680968, 0.0385606848, -0.0017637182, 0.0451003686, -0.0355254784, 0.0550451875, -0.0388871357, -0.0217532553, 0.091091305, 0.0313356966, 0.0236924384, 0.0425973423, 0.023572186, -0.0323736444, -0.0382012017, 0.0292506218, -0.0578961261, 0.0223623738, -0.0063924706, 0.0162415225, 0.00408865, -0.0504472926, -0.0115602715, -0.0327765346, -0.0276489202, -0.0501824506, -0.046303995, 0.0255053863, 0.0093943346, 0.0988370478, -0.0277588777, -0.0288148019, 0.0530401729, 0.0100057265, -0.0442327932, 0.0061716312, 0.0274937749, -0.0251544714, 0.0217991248, 0.0377761014, -0.0811618194, -0.046388302, 0.0056443969, 0.0565540493, -0.0263538174, -0.0050579435, 0.0309801716, 0.0330797173, 0.0096097654, 0.0085843038, 0.0395089127, -0.0466416292, 0.0324412063, -0.0344824381, -0.0393545926, -0.0226093195, -0.007412476, 0.0266960748, -0.0000069685, 0.0258459412, -0.0472356677, 0.0367875174, 0.0623357482, -0.0002414588, 0.002106901, 0.0401163213, -0.0153807634, 0.0802565962, -0.004421528, -0.0102943713, 0.0354126617, 0.0160648134, 0.0213090219, -0.0670854673, 0.0486082062, 0.0313588269, -0.0383713767, -0.0615323558, -0.0270904806, -0.0381073691, -0.0339703076, -0.0099171503, 0.0475135297, 0.0441506729, -0.0206802338, -0.0007215993, -0.056734968, -0.0208831429, 0.0237112697, 0.0124345496, -0.0165867712, -0.0442255288, 0.048480887, 0.0421406589, -0.0065119155, 0.0163019057, 0.0668368638, 0.0106415525, 0.0669671074, 0.0129276169, -0.02914639, -0.0194862951, -0.0227061585, 0.0425345637, 0.0500827655, -0.0485832654, 0.0319823474, -0.0515545979, -0.1051116809, 0.0139043182, -0.0084646326, -0.0625147447, -0.0019386696, 0.0078332033, 0.0658148304, 0.0481832214, -0.0491392687, -0.0264778826, 0.0170784257, -0.0068999329, -0.0055435468, 0.0169000607, -6.439407278e-33, -0.0581152365, -0.0502034016, 0.0301923119, 0.0106716789, -0.0329842828, 0.0091687934, -0.0281213671, -0.0021501756, -0.0292372406, 0.0241641961, -0.0091247447, -0.001098172, -0.0123095894, 0.0175024718, 0.0067485832, 0.0075486829, 0.0196169019, 0.0472392179, 0.0176542532, 0.00521171, 0.0273964927, 0.0259630941, 0.0539329611, -0.060467016, 0.0313997231, 0.0000514855, 0.0449562594, 0.0279126372, -0.0087617794, 0.0644816831, -0.0083904509, 0.0523458868, 0.0214468706, -0.0142182605, 0.0013310388, 0.0242543072, -0.1157222837, -0.0474549718, 0.0687705278, 0.0132659962, -0.0344900005, -0.0132074151, 0.0296997204, -0.0247407109, 0.0606482215, -0.0458971225, 0.0336972252, -0.0301495474, -0.0579689778, -0.0455511957, -0.0753862336, 0.0023079843, 0.0051333271, 0.0043952735, 0.0183448102, -0.0007467015, 0.0404211469, -0.0275354031, -0.0423329435, 0.02126237, -0.0172045194, 0.011037929, 0.0371884219, 0.048388157, 0.0138438651, 0.0230030194, -0.0246359408, -0.0083266478, -0.0412043817, 0.0068563712, 0.0088358596, 0.0536821596, -0.0087574441, 0.0353572182, -0.0311657637, -0.0291894209, -0.0696409792, -0.0297505632, 0.0184522476, 0.0533435754, -0.0037668669, 0.0119162481, -0.0262379441, -0.0321993046, -0.0850367472, -0.0046254219, -0.0336686485, -0.0455962345, 0.0092317853, -0.0021215316, -0.034197621, -0.0041062175, 0.0003929294, -0.0577062741, -0.0141485566, 0.0365224592, 0.0216253344, 0.0190795735, -0.0206559021, 0.055551853, -0.0444853939, -0.0406719372, 0.03107398, -0.0799628869, 0.0008783166, 0.0212357286, 0.0238559078, 0.0144879175, -0.0283009578, -0.0291098077, -0.0472678952, -0.0573006868, 0.0065785083, -0.0018136406, 0.0908595249, 0.0598064736, -0.0161809288, 0.0196163319, 0.0279302187, 0.0379622579, -0.0270606726, -0.0160279758, 0.0026046117, -0.0065491977, -0.00709794, -0.0116045168, -0.0609878227, -0.0378194302, 0.0297676548, -0.053365577, -0.0159019325, 0.0250074882, 3e-7, 0.0220216848, 0.0502425805, -0.0117516732, 0.0294634197, -0.0281725023, 0.0344133787, 0.0030037174, 0.0001289285, 0.0310378578, -0.069396019, 0.0158937387, 0.01874833, -0.0151065914, 0.028994035, -0.104661867, 0.0029781666, -0.0107661216, -0.0322127789, -0.0506009683, 0.0193796866, 0.0500375479, 0.055901885, 0.046310734, 0.0088866306, -0.0112953978, -0.0629552826, 0.059367083, -0.0078343572, -0.032051608, 0.0052151564, 0.0180916153, 0.0298210829, -0.0095512867, 0.077567406, 0.0002062113, 0.0353591032, 0.0022525573, 0.0166632012, 0.0223185755, 0.010938962, -0.0272289701, -0.0325548314, -0.007307848, -0.0488333888, 0.0937346444, -0.0618000776, -0.0170055702, 0.000971577, -0.0566436984, -0.0394807383, -0.0403019786, 0.0164926294, 0.0015802564, -0.004507808, 0.0200999621, -0.0017747671, -0.0071942392, -0.072843641, 0.0080697127, 0.0357821025, -0.0396540165, -0.0484783165, -0.0206816569, -0.0395014733, 0.0496646315, -0.0421554558, 0.0030402299, 3.116876077e-34, -0.0009792738, -0.0040081386, 0.0236519333, 0.0152667603, 0.061246857, -0.0272659119, -0.0212773811, 0.0126364632, 0.0278812759, -0.1398809254, -0.0170288347 ]
http://arxiv.org/abs/2310.06666v1
http://arxiv.org/pdf/2310.06666v1
Unlock the Potential of Counterfactually-Augmented Data in Out-Of-Distribution Generalization
2023-10-10T14:41:38
2023-10-10T14:41:38
Caoyun Fan, Wenqing Chen, Jidong Tian, Yitian Li, Hao He, Yaohui Jin
cs.CL
cs.CL, cs.AI, cs.LG
Counterfactually-Augmented Data (CAD) -- minimal editing of sentences to flip the corresponding labels -- has the potential to improve the Out-Of-Distribution (OOD) generalization capability of language models, as CAD induces language models to exploit domain-independent causal features and exclude spurious correlations. However, the empirical results of CAD's OOD generalization are not as efficient as anticipated. In this study, we attribute the inefficiency to the myopia phenomenon caused by CAD: language models only focus on causal features that are edited in the augmentation operation and exclude other non-edited causal features. Therefore, the potential of CAD is not fully exploited. To address this issue, we analyze the myopia phenomenon in feature space from the perspective of Fisher's Linear Discriminant, then we introduce two additional constraints based on CAD's structural properties (dataset-level and sentence-level) to help language models extract more complete causal features in CAD, thereby mitigating the myopia phenomenon and improving OOD generalization capability. We evaluate our method on two tasks: Sentiment Analysis and Natural Language Inference, and the experimental results demonstrate that our method could unlock the potential of CAD and improve the OOD generalization performance of language models by 1.0% to 5.9%.
[ 0.0506747887, 0.079007633, -0.0068117138, 0.0471882001, -0.0331053026, 0.0477044545, -0.0146227125, -0.0092477733, 0.0018685822, -0.0767962039, -0.0076279007, -0.0039025452, 0.0023015768, 0.018992696, 0.0216607619, -0.0051711272, 0.0274538659, 0.035685569, 0.0304864403, -0.0394969583, -0.0039288686, -0.0080371657, 0.0130076129, -0.0281810313, 0.0076641301, 0.0087637631, 0.0250432454, 0.0286857076, 0.0155362831, 0.0366509669, -0.005190833, 0.0334138796, 0.0056680501, 0.0055993241, 0.0000020604, -0.0603810735, -0.0268025976, 0.0166664962, 0.0060392357, -0.0008126361, 0.0241431035, -0.0551108122, -0.0066982321, -0.0143326195, -0.0154635087, -0.0138500659, 0.0677011535, 0.0635824949, 0.0073095178, 0.1141557097, -0.0221660268, -0.0322301723, 0.0055523585, -0.0218816195, 0.0100591974, 0.0062942277, 0.0371650234, 0.0014702512, -0.0521115847, -0.0049437592, -0.0391835161, 0.0299923718, 0.0142126186, 0.0423524342, 0.0585090518, -0.0067596533, -0.0239614937, -0.0004554912, 0.0240151398, 0.049463097, 0.0137416208, -0.0424281321, -0.0203418452, -0.0385735445, 0.0265189745, 0.0469909161, -0.0162944812, -0.0212640669, 0.0041316403, 0.032918103, 0.0154359974, -0.0167022366, 0.051960092, 0.0249268971, -0.0358021036, 0.0950708687, 0.0086284326, -0.0375373811, -0.0249554552, 0.0324973166, -0.0487924516, 0.0008649938, -0.0281046201, -0.0191726033, 0.0175946075, 0.0113304975, -0.0188994315, -0.0560514256, 0.0068688821, -0.0913574621, 0.004420111, 0.0073267184, -0.0479717813, 0.0373643152, -0.0088990573, 0.0540425442, -0.0158105511, 0.0360086896, -0.0552731454, -0.0125715509, -0.0173356608, -0.0071355635, 0.0156211806, 0.0392400473, -0.0386796147, 0.0319165662, -0.0336777493, 0.0089020832, -0.0205383189, -0.0363855213, 0.003438758, 0.0205656979, -0.0154875936, -0.0101852445, 0.0051864702, 0.0375798382, -0.0156305414, 0.0597171262, -0.0493995287, -0.0454105102, -0.0133984191, 0.025436461, 0.0229027718, -0.0382046737, 0.0043836981, 0.081111379, 0.003166476, -0.0328366272, -0.0165629219, -0.008437057, -0.0475192219, -0.0700533167, 0.0057011275, -0.0580306239, -0.0157421734, 0.0419745445, -0.0193311796, -0.0411999077, 0.0062728962, -0.0151372869, -0.0799147487, 0.0434350744, -0.0195158329, -0.0138341915, 0.027328318, -0.0296079908, 0.0246580821, 0.0882402584, 0.0130576435, -0.038939435, 0.0389035493, 0.0077258791, 0.0120189879, 0.0503300354, 0.0155200223, 0.021617379, -0.0698322132, 0.0095333969, 0.0154243577, -0.0320923179, 0.0410203412, -0.0240070038, -0.0145810358, -0.0187461432, 0.0345061198, -0.0577446036, -0.015887795, -0.0012384364, -0.0133497566, -0.0147952428, -0.0145556284, 0.0488581248, -0.0454369597, 0.0019055709, -0.0463722795, 0.0109185949, -0.0134671098, -0.0198239423, -0.0270758905, -0.0435030088, -0.0227567535, -0.0171709117, 0.0664313063, 0.0214846339, 0.0794045925, 0.0329183154, 0.0328280181, -0.0220469944, 0.0437463373, -0.0599836484, 0.0070129745, -0.0070579248, -0.0426474102, 0.0481498837, 0.0363574103, -0.0505508818, -0.0311409738, 0.0029766394, -0.0089070937, 0.0209890064, 0.0357130244, 0.0004481537, 0.0199789722, -0.0169301778, -0.0259899087, -0.0202089157, 0.0618390702, 0.0069469512, 0.0064394111, -0.0086847879, 0.0281533282, -0.0566156916, -0.0320982486, 0.0237490237, -0.0054974966, -0.0201136153, 0.0499031655, 0.0217830129, 0.0109408684, 0.0151360026, -0.0151057681, -0.0069306735, 0.003841853, -0.0422163121, -0.0410854332, 0.0400887765, -0.0107048843, -0.0674170032, 0.008428772, -0.0195132382, -0.037949454, 0.0531162806, -0.055825714, -0.0167696979, 0.0715948939, -0.034764789, 0.07003171, -0.0405240133, 0.0194126889, -0.024940433, -0.0044867122, -0.0229863934, 0.0827349201, -0.0232114159, 0.0143872527, -0.0644694641, -0.0221341383, 0.0440264605, -0.0366736613, -0.0112986285, -0.0145969139, 0.0008935796, -0.0133173121, 0.0362071358, -0.0334469043, -0.0238839313, 0.0127079394, -0.0827461183, -0.0241004676, -0.0423227996, 0.0014393704, 0.0448487066, 0.0189103689, -0.0003802907, -0.0269255172, -0.0122441314, -0.0278350115, -0.0156603828, 0.0376354605, 0.0346187986, -0.0117617026, -0.001957108, -0.0245261304, -0.0010481004, -0.0463120192, 0.0441536829, -0.0087310132, -0.0665649474, -0.0302759614, 0.0218145195, -0.0439356565, 0.0198752321, -0.0299152676, -0.0063649253, -0.0546892285, 0.0125668887, 0.0304337833, 0.0446438752, -0.0101390015, -0.0395501368, 0.0534155592, 0.0121526401, -0.0091682747, -0.0096589839, -0.0281370599, 0.0139906593, 0.0052917521, -0.0497722998, -0.0174660087, 0.0505132303, 0.0228342041, -0.0540701896, -0.0553624853, -0.0265961234, -0.0135422535, -0.0270024277, -0.0426030383, -0.0418903939, -0.0064949817, 0.0345070474, -0.0281544738, -0.053088937, 0.0768246502, -0.0025986875, 0.0059800665, -0.0729759708, -0.0037958825, -0.0396755151, 0.0576556511, 0.0234650485, 0.0216990486, 0.029705951, -0.0077142227, -0.0333824456, -0.037825916, 0.0460529402, -0.0036505808, 0.0488559119, -0.0441928171, 0.0287578143, 0.0170600507, -0.0378497243, -0.0234268047, -0.1226182058, -0.0058217645, -0.0043659131, -0.0137367481, -0.0185268503, -0.0385113098, -0.0151564637, -0.0041422928, 0.053858567, -0.0302978959, 0.0177609716, 0.0103897089, -0.0002855334, 0.0522225834, -0.0135415317, -0.0126417605, -0.0054101869, -0.0390156955, -0.0123158246, -0.008022218, -0.0544758327, 0.0222414434, -0.0071802451, -0.0146573251, 0.0044031278, -0.0371812545, -0.0146575961, 0.0406315066, -0.0095657362, -0.0093935765, 0.0722538456, 0.0447639748, -0.033616554, -0.0009904202, -0.0039960057, 0.0070795752, 0.055569645, -0.0312420428, -0.0623378567, -0.0282941051, -0.0051420447, 0.0024519062, -0.0357729532, -0.0182371475, -0.0162886027, -0.0998546481, 0.0133948382, -0.0018451905, -0.0484394655, -0.0585347228, -0.0397514775, 0.0125613334, -0.0398321003, -0.0200608149, -0.0076661739, 0.0127127208, 0.0110021159, -0.0167542975, -0.010111168, -0.0455005951, -0.012701516, 0.0056720413, 0.002173655, 0.0658300668, 0.0248320829, -0.0152300177, -0.0003870194, 0.0351677984, -0.0032649518, 0.0192104392, -0.0102239745, 0.0669377819, 0.009694824, -0.0060135135, -0.0061571323, 0.0344502665, 0.0019598587, -0.0174845438, -0.0289301351, 0.0459902659, -0.0055872048, 0.011951413, -0.0039158906, 0.0030051833, -0.0003732401, 0.0746389329, 0.0068727373, -0.0383818448, 0.018093504, -0.0258171614, -0.0296262577, 0.022115333, 0.0271748025, -0.0319475867, 0.0186914094, -0.0693162903, -0.0826486722, -0.0568954013, -0.0319020748, -0.0130484151, 0.0031470452, 0.0410905927, -0.0385142788, -0.0381388851, -0.0522374883, 0.0288367663, -0.012749115, 0.0038370138, 0.0487711541, -0.0211240929, 0.0149857569, -0.0500523485, -0.0371426269, 0.0222515389, -0.0633275658, -0.101220116, 0.0266616289, -0.0031535826, 0.0220342688, 0.0840553343, -0.0061126589, -0.0408934653, 0.0097287921, 0.0944625512, -0.0146905491, 0.0524682291, 0.0387462229, -0.02020978, 0.0332925208, 0.0415650085, -0.0386073813, 0.0070649451, 0.0647714958, -0.0062393807, -0.0149419857, -0.016718911, 0.0192959607, -0.001938454, 0.0930652544, -0.0272804704, -0.03671984, -0.0383477062, 0.0431640707, -0.0544018261, -0.0437053777, -0.011001193, 0.0057483627, 0.0255186763, 0.0267115012, -0.0342826284, 0.0615921952, -0.0531713627, 0.0336686, -0.0137621332, 0.0380275436, 0.027861068, 0.0041890759, 0.0041966825, 0.0135308867, -0.0031451837, 0.017733654, 0.0360335447, 0.0133601492, -0.0081416843, 0.0166676082, 0.0193113759, 0.0148758162, -0.0523232371, -0.0266251713, -0.0836341158, 0.0592768639, -0.0099664237, 0.0214790031, 0.0235616509, -0.0787810907, 0.0464963615, -0.0141381081, -0.0250033792, -0.0066374042, 0.020114867, 0.0117975613, -0.007001543, 0.0168511104, 0.00540982, -0.040563006, 0.0355774425, 0.0656203479, 0.0326652192, 0.0510063134, -0.0502561107, 0.0108939754, -0.0204401817, -0.0209749844, 0.0414467305, 0.0224844143, -0.0253280029, 0.0212453734, -0.0815908387, -0.0735858232, 0.0149530601, -0.0413339958, 0.0194767453, 0.000973427, 0.0210524574, 0.0512530953, -0.0159540828, -0.0048443144, -0.0370587297, 0.0228526704, 0.0197414421, -0.0061708447, -0.0275665876, -6.510636358e-33, -0.0098317424, -0.0145311952, -0.0251667872, -0.007812799, 0.0450246893, -0.0073374906, -0.0038706041, 0.0249647386, -0.0254695415, 0.0290080905, 0.0111921402, 0.0434431136, 0.0209313594, 0.0230438355, -0.0112387454, 0.0044200765, 0.0428767204, 0.0286580138, -0.0163753256, -0.0217074919, 0.0235140231, 0.0325524621, 0.1019133851, -0.0992139578, 0.0732420161, -0.0371638089, -0.0050107851, 0.0174601413, -0.0069910805, 0.0145231467, 0.0192779638, 0.0793188363, 0.0373350866, -0.0189357959, 0.0027066749, -0.0138587989, -0.0356862359, -0.0101544801, 0.0575209707, 0.0235991403, 0.0143646877, -0.0070939525, 0.0383407362, -0.0139371501, -0.0327621512, 0.0121366261, 0.0587414242, -0.0461315103, 0.0189866405, 0.0245693251, -0.1032664254, 0.0391388908, -0.0009783892, 0.0075274603, 0.0146030197, 0.0453014895, 0.0260520056, 0.0222395342, -0.0285790097, 0.0349011198, 0.021934377, 0.004112327, 0.018727947, 0.0254785679, 0.0086690737, 0.042473577, -0.0004758084, 0.0369121172, -0.0260079671, -0.013164348, 0.0265368652, -0.0167530105, 0.0321447514, 0.115107052, 0.0738444328, -0.0160897784, -0.0917619169, -0.0046359203, -0.0348421969, -0.05123486, 0.0072042802, 0.0169501789, -0.054015927, -0.0327386893, -0.0285947863, -0.0150226131, -0.0345878825, 0.0079835262, -0.0023881926, 0.0235768873, -0.0197290555, -0.0031968448, -0.0038089871, -0.0357535593, -0.0124910632, 0.0519325621, -0.0409747288, 0.010167609, 0.0114525612, -0.0053662481, -0.0462028533, 0.0033755212, 0.01232161, 0.0554605722, 0.0054595303, -0.0087233298, 0.1312953532, 0.0077846223, -0.0708231479, -0.0029947876, -0.0137340641, -0.0095769363, -0.0221752748, 0.043849729, 0.0337404385, 0.0297827367, -0.0202097557, 0.0584277064, 0.0678319633, 0.0388075449, -0.0228421278, 0.0266774427, -0.0101210168, -0.0027374413, 0.0006738223, -0.0150410403, 0.0577709973, 0.0004078501, 0.0174407978, -0.044688765, -0.0120027727, -0.0065502045, 2.783e-7, 0.0813121423, 0.0406664833, 0.0102605727, -0.0158274956, 0.0355587713, 0.0585738234, -0.0281007551, -0.0049787047, 0.0305851344, -0.0069686696, 0.0410926715, 0.0167483073, -0.0025004758, -0.0001863166, -0.070114173, 0.075401336, -0.0225953534, -0.0184395071, -0.001867061, -0.005612311, 0.0333881266, 0.0980121046, 0.0407156125, -0.0120679447, -0.0151380673, -0.020868836, 0.060884241, -0.0337213613, -0.0053505516, -0.0216652174, -0.0384136438, 0.0282076877, 0.0167283434, 0.0679607242, -0.0355470702, 0.0429125726, 0.0008686765, 0.0277588032, -0.0388983712, -0.0364903286, -0.0256358311, 0.0168283731, -0.0119845076, -0.0458554998, 0.0909852535, -0.0154579207, -0.045210693, -0.0366530269, -0.0405177176, 0.0725536272, 0.0387806147, 0.0007325753, -0.006081555, 0.0047686249, 0.0266895052, 0.0007345044, -0.0206168778, -0.0495552793, -0.0684848577, 0.0268144365, -0.0296643395, -0.0489001982, -0.0083528012, 0.0493863747, 0.0401017293, -0.0433569923, 0.0320898034, 2.564913521e-34, 0.0412413254, 0.0413333774, -0.0136472108, -0.0440617092, 0.0077574672, -0.0211180095, -0.0461371504, 0.0136154881, 0.0165491309, -0.0453999452, 0.0239508841 ]
http://arxiv.org/abs/2310.06645v1
http://arxiv.org/pdf/2310.06645v1
Self-Supervised Representation Learning for Online Handwriting Text Classification
2023-10-10T14:07:49
2023-10-10T14:07:49
Pouya Mehralian, Bagher BabaAli, Ashena Gorgan Mohammadi
cs.LG
cs.LG, cs.CL
Self-supervised learning offers an efficient way of extracting rich representations from various types of unlabeled data while avoiding the cost of annotating large-scale datasets. This is achievable by designing a pretext task to form pseudo labels with respect to the modality and domain of the data. Given the evolving applications of online handwritten texts, in this study, we propose the novel Part of Stroke Masking (POSM) as a pretext task for pretraining models to extract informative representations from the online handwriting of individuals in English and Chinese languages, along with two suggested pipelines for fine-tuning the pretrained models. To evaluate the quality of the extracted representations, we use both intrinsic and extrinsic evaluation methods. The pretrained models are fine-tuned to achieve state-of-the-art results in tasks such as writer identification, gender classification, and handedness classification, also highlighting the superiority of utilizing the pretrained models over the models trained from scratch.
[ -0.0252388977, 0.0322171859, 0.0037893867, 0.0458505228, -0.0245070998, 0.049701374, 0.0858325511, 0.03565358, 0.0330465361, -0.0185886882, -0.0649585277, -0.0497662388, -0.0009401403, 0.0263313819, -0.0092522223, -0.0393552333, -0.0113599319, -0.0328591093, -0.020934118, -0.0069389557, 0.0214838348, -0.0086795138, -0.0183344297, 0.0033597534, -0.0307613574, -0.0234054085, 0.0110103404, -0.0116597507, 0.0050968444, 0.0137767904, 0.0158716161, 0.0526806973, 0.0327225775, 0.0423233509, 0.0000021563, -0.0499050766, -0.0278419573, 0.0064490312, -0.0023354387, 0.0043388656, 0.0823840871, 0.0190707371, -0.0380539037, -0.018454859, -0.0167689715, -0.0084857615, 0.0461794697, 0.0944512412, 0.0382725857, 0.0261174999, -0.0175016988, 0.012338331, -0.0264989603, -0.0358685665, -0.0082071535, 0.0110797221, 0.0143407388, -0.0313251168, -0.056706544, -0.0146898506, -0.0110706184, 0.0109750088, 0.0133611746, -0.0457998775, 0.0224137865, 0.0386670083, 0.0168775581, 0.0479953736, 0.0319442637, 0.0523434654, -0.0149329612, -0.0212221276, 0.0220250897, -0.043653816, -0.0105838338, 0.0313486643, 0.0008022334, 0.0310512595, -0.0123447012, -0.0084726568, -0.0251987185, 0.0472459942, 0.0291000567, 0.0192537028, 0.0007050626, 0.0160745922, -0.0310568921, 0.0021199977, -0.0224633403, -0.0123331118, 0.0120060751, -0.0432466678, 0.0630846694, 0.013182126, 0.0683854744, -0.0603967793, -0.0520669669, -0.0642114729, -0.0260737464, -0.0328281112, 0.0983484611, 0.0083858334, -0.0196468942, 0.0116773592, -0.0136681562, -0.0038986031, -0.0457808189, 0.046827998, -0.0314820558, 0.0445380658, -0.0378871039, -0.011196807, -0.0493650772, 0.0328121632, 0.0309842862, 0.0083298925, -0.0036652267, -0.0247124266, -0.0294601321, -0.0573822819, 0.0222925544, -0.001408992, -0.039661821, -0.0249272697, -0.0138099119, -0.0089623854, -0.0267623644, 0.0405720733, -0.0259695295, 0.0264801998, 0.0031661852, 0.0215282124, 0.0576002635, -0.0288350321, 0.0438652262, 0.0453257151, -0.0170023013, -0.0220072176, -0.0000427998, 0.0117959622, 0.0074861706, -0.0460088588, 0.0037527727, -0.0459473692, -0.0077080838, -0.0373667777, 0.0015206774, -0.0280824024, -0.0368747637, -0.0244523305, 0.0793330371, 0.0486708693, -0.0050670272, -0.0113237919, 0.0905021131, 0.005781461, -0.0244202651, -0.0126860989, 0.0169980433, 0.0572525337, 0.0127507886, -0.0441798419, 0.0394397825, 0.0227808803, 0.0044534309, -0.0263798367, 0.0014785714, -0.0137768872, 0.0196606591, 0.0226612296, 0.0612947531, -0.0268951785, -0.04795973, -0.0291348714, 0.0491586737, 0.0464573279, 0.0755693242, 0.0672949329, 0.027932616, -0.001739729, 0.0356390998, 0.0074483063, -0.0111324443, 0.0063683796, 0.0273513757, -0.0211433563, -0.0300861262, 0.0055437977, -0.0145032248, -0.058683034, 0.0259873476, -0.0321184061, -0.0052075838, 0.0179181043, 0.0597886033, 0.0013933494, 0.0014795725, -0.0571383238, -0.0210373197, -0.0259323232, 0.011193864, -0.0438290536, -0.0047391555, 0.0457456149, 0.0019670567, -0.0644273162, 0.0199808348, -0.0127551807, 0.0139627624, -0.0145409554, -0.0182745438, -0.0008500514, 0.0753909126, -0.0400450863, -0.0437049381, 0.0064085964, -0.0216132533, 0.0213074293, -0.0389937647, 0.0051114932, 0.0175278299, -0.0506593361, -0.0254522841, 0.0620229617, -0.0262869857, -0.080472596, 0.0536703132, 0.0497511625, 0.0115333097, 0.0229019504, -0.0575905144, -0.0115811648, 0.0081271604, -0.0583456531, -0.0380083807, -0.0493959188, -0.0434017517, -0.002240405, 0.0088658687, -0.0332646593, -0.0192886218, 0.0267466344, -0.0193082765, -0.0417559817, -0.0166089572, 0.0472877063, -0.0332811177, -0.0716718063, -0.0185839646, -0.0055482481, -0.0028771996, 0.0026144742, 0.0233212672, 0.0462538861, -0.0091239298, -0.0093072457, -0.0227645319, 0.0017197649, -0.0301703978, -0.0155942021, -0.048388727, -0.0130901644, 0.0253109392, -0.0029244483, 0.0336102247, -0.0037986019, 0.0146193365, -0.0405956134, 0.0185528789, -0.0091511318, 0.0198174492, 0.0353601463, -0.0021669455, 0.0030878568, -0.056027256, -0.022429239, -0.073602654, -0.0343001075, -0.0243260916, 0.0499361977, -0.038022738, 0.0356106535, 0.0248135533, -0.0292110536, 0.0033831235, -0.0117105898, 0.0298317913, -0.0366126187, -0.0314874016, 0.0276935287, 0.0112570254, 0.0178140532, -0.0088241203, -0.0215788428, -0.0137249818, -0.0092048189, -0.0537107885, 0.0861547142, -0.0170574896, -0.023904087, 0.0626663342, 0.0148980618, 0.0270170085, -0.0049140588, -0.0088570332, 0.0817148164, 0.0242333598, 0.0078058932, -0.0048260675, 0.0267685894, 0.0273674671, 0.007104509, -0.0134856468, -0.068612054, -0.0235726833, -0.0082978727, -0.067764625, -0.0218514781, -0.0075816642, -0.0174887553, -0.0494186841, -0.0585864522, 0.029458994, -0.0429164656, -0.0100408942, 0.0299991351, -0.0277133249, -0.009061588, 0.0398883, 0.0307762194, 0.026661329, 0.0291749425, -0.0366772376, -0.0381294973, 0.0434457846, 0.0616599731, -0.0236437898, -0.0744544938, 0.0269599091, 0.0218246859, -0.0145246433, -0.0387834571, 0.009688044, -0.0667771623, 0.0143557964, -0.0211715214, -0.0344863087, 0.0060370667, 0.0709384009, 0.0143924486, 0.0004039246, 0.1212461218, -0.0098676505, -0.015087897, -0.0067568687, 0.053611882, -0.021032447, 0.0003316355, -0.0385787673, -0.0123081217, 0.0371820964, 0.0289195515, -0.0069324253, -0.0093021067, -0.0046681869, 0.027054349, -0.021655608, -0.0186419189, -0.0314519554, 0.0284467079, 0.0566404015, -0.0513809994, -0.0104557285, 0.0791725665, -0.0029037569, 0.0014173286, -0.038439393, 0.0547619276, -0.0284044202, -0.0104816165, -0.0001620458, -0.0613598973, 0.001779417, 0.0178948734, 0.0303602535, -0.0222865734, -0.0231184307, 0.0108364811, -0.0602420606, 0.0443945564, 0.0244726501, -0.0275833216, 0.0391484834, -0.0621896312, 0.008870272, -0.0233020559, -0.0642332509, -0.0382502489, -0.016841324, -0.0320353284, 0.0112586198, -0.0278536752, -0.0189354215, 0.0138556194, -0.015190498, -0.0241512507, 0.0119630415, 0.0285322238, -0.0092770439, 0.0014295254, 0.0068596108, -0.0182262566, 0.0115937963, -0.0086088181, 0.1087223515, 0.0164212752, 0.0083273891, -0.0703472346, 0.0694116279, -0.0054853917, -0.0009087737, 0.0122717302, 0.0046622455, -0.0274317805, 0.0278011225, 0.0246043671, -0.0524830446, 0.0107837515, 0.00621458, 0.0207219608, -0.0411814339, -0.064252004, -0.0117050651, 0.0433870777, -0.0184726901, -0.0590785593, 0.0449207872, -0.0016013193, -0.0735643283, -0.0160062332, -0.0176708158, 0.0031025845, 0.031065274, -0.0078021344, 0.0012534816, 0.0551290885, -0.0244671088, -0.0502051786, 0.0394693762, -0.0337930843, 0.0437488183, -0.0467767678, -0.004116796, -0.0171006471, -0.0593546778, 0.001182941, -0.0053164633, -0.0957988352, -0.0369036645, 0.0473035499, 0.0499495119, 0.0057905409, 0.0067354678, -0.0313614048, -0.0798007026, 0.0686319023, 0.0520761609, -0.0075316615, -0.0284995716, 0.0415598676, -0.0371984728, -0.0410619006, 0.0142161744, 0.0369125456, 0.0738253221, 0.0318990611, -0.0834017098, -0.027191516, 0.0075525572, -0.0217624176, 0.0111846551, 0.0744045302, -0.0235409085, 0.0201020688, -0.0719009861, -0.0044389358, -0.0276032649, -0.0164628271, -0.0173591916, -0.0170772187, 0.0387785137, 0.0105365152, -0.0033192222, 0.0181142427, 0.0233667884, 0.0201866608, -0.0425273553, 0.0153285805, -0.0167328604, 0.0862682387, -0.0409591757, 0.034264151, 0.0267737489, 0.0498791002, 0.0052921744, 0.0057303621, 0.0021259889, 0.0207605772, -0.0039031049, 0.0634185225, -0.0242030527, 0.0503875241, -0.0768800154, -0.0020947573, -0.0916114897, 0.012611703, 0.0213998836, -0.0328763127, 0.0108784465, -0.0151635064, -0.0121103544, -0.0388019085, 0.049953036, 0.0191606451, -0.0076498734, -0.0117307464, -0.0093714437, -0.0096049942, -0.0260037016, 0.035503719, 0.0068233605, -0.0022668864, 0.0579087213, -0.0238948278, -0.0567580499, -0.013746459, 0.0206197519, 0.0154592041, -0.0232539289, -0.0095760161, 0.0127236675, -0.020381311, 0.0555032045, -0.0183446035, -0.0223051086, 0.0237614997, 0.0063878442, -0.0070691425, -0.0327050053, -0.0166773368, -0.0205608271, 0.0297686663, 0.0465719514, 0.0319301635, -0.003872789, -6.010175883e-33, -0.0012639707, -0.0265754312, -0.0124844238, -0.015886439, -0.0282841939, 0.0115031675, 0.0113746207, 0.0415615216, 0.0261826999, 0.013873985, -0.0368834399, -0.0068492014, 0.0307135917, 0.0394478999, -0.0320393853, 0.0216884017, 0.0825290903, -0.0437655598, -0.0172026996, 0.0257445648, 0.0263287891, 0.0428476706, 0.0728218332, -0.0636014566, 0.0098593403, -0.0745650679, -0.0652267933, -0.0312609076, 0.0114084445, 0.0145874619, -0.0404284969, 0.0170819908, 0.0218237676, 0.0002754486, -0.0158472117, 0.0337284617, -0.1124630794, -0.0618179739, -0.0980022252, 0.0367837921, -0.0129040489, -0.0140855061, 0.0083768079, -0.0007568283, -0.005850404, -0.0279984418, 0.0578442886, -0.0086991778, 0.0162302423, -0.0265327822, 0.0060161017, 0.0368640646, -0.0185067318, -0.0403354131, 0.0852729604, 0.0042461986, -0.0068971096, -0.0248029772, -0.1377449185, 0.0015818545, 0.0011949308, 0.003722372, 0.013406896, 0.0416694023, 0.0303488635, 0.0054652607, 0.0238161404, 0.0253823604, -0.0223224312, 0.0187642351, 0.049930729, 0.0034229115, 0.0082236324, 0.0947879925, 0.0915511474, -0.0158710405, -0.0366351344, 0.0595021583, -0.0097379507, -0.0443830863, -0.0154181672, 0.0254525319, -0.0166482348, 0.0052893581, -0.0245588142, -0.0811450854, 0.0121795172, 0.0126669006, 0.0050148796, 0.007267327, 0.005731862, -0.0003215908, 0.0162819829, -0.0318931639, -0.0505220108, -0.0530812591, -0.0076004756, 0.0619495623, 0.0180406142, -0.0331076942, -0.0228966754, -0.036000751, 0.0227230284, 0.0389860235, 0.0380104743, -0.023747785, 0.0614121668, 0.0239744484, -0.0582055338, 0.0024312311, -0.0099116582, -0.0044149067, 0.0720948651, 0.0780406818, 0.0258137099, -0.0034217874, 0.0097425543, 0.0913299024, 0.0124874795, 0.0052285474, -0.0036538593, 0.009161829, 0.0121268351, 0.0162265655, 0.0228573922, 0.01577208, -0.0002191612, 0.002104664, 0.0732642412, -0.0505662113, -0.0266085677, -0.020685738, 2.476e-7, 0.058527261, -0.0242353175, 0.0538535751, 0.0170233957, 0.0003965915, 0.0622152388, -0.0102466932, 0.0158436298, 0.0035686996, 0.012929366, 0.0681388527, 0.0318897329, 0.0512614027, 0.0082367696, -0.0088137845, 0.0445039272, -0.0246080216, 0.0305281244, -0.0182594061, 0.048120074, 0.0187639184, 0.0391183048, 0.0142758405, -0.0333732404, 0.0219306368, -0.0312828384, 0.069993481, -0.0224581081, 0.0629737303, 0.0038499075, -0.0174933411, 0.002151299, -0.0386351123, 0.0014745384, -0.0161847528, 0.005242826, 0.0254301336, 0.0311484262, -0.0350814015, 0.0490867384, 0.0113409702, 0.0532478653, 0.0173978265, -0.0288817324, 0.08710666, -0.0204849057, -0.0305397678, -0.0595348552, 0.0117971888, -0.0186374541, 0.0799140632, -0.0151324393, 0.0061052311, 0.045949854, 0.0433232896, -0.0001230828, -0.0118754935, -0.0579851568, -0.0654046908, -0.0105998814, -0.0107563436, 0.0308138747, -0.050639417, -0.010807965, 0.0337305032, -0.0683454052, 0.0228051618, 1.861577139e-34, -0.0410837382, -0.0040217675, 0.0010731323, -0.0188525673, -0.0136021394, 0.000280884, 0.0368643254, -0.0449954607, 0.000188589, -0.0285950638, -0.0018341334 ]
http://arxiv.org/abs/2310.06627v4
http://arxiv.org/pdf/2310.06627v4
What If the TV Was Off? Examining Counterfactual Reasoning Abilities of Multi-modal Language Models
2023-10-10T13:45:59
2024-04-15T18:03:26
Letian Zhang, Xiaotong Zhai, Zhongkai Zhao, Yongshuo Zong, Xin Wen, Bingchen Zhao
cs.CL
cs.CL, cs.CV, cs.LG
Counterfactual reasoning, a fundamental aspect of human cognition, involves contemplating alternatives to established facts or past events, significantly enhancing our abilities in planning and decision-making. In light of the advancements in current multi-modal large language models, we explore their effectiveness in counterfactual reasoning. To facilitate this investigation, we introduce a novel dataset, C-VQA, specifically designed to test the counterfactual reasoning capabilities of modern multi-modal large language models. This dataset is constructed by infusing original questions with counterfactual presuppositions, spanning various types such as numerical and boolean queries. It encompasses a mix of real and synthetic data, representing a wide range of difficulty levels. Our thorough evaluations of contemporary vision-language models using this dataset have revealed substantial performance drops, with some models showing up to a 40% decrease, highlighting a significant gap between current models and human-like vision reasoning capabilities. We hope our dataset will serve as a vital benchmark for evaluating the counterfactual reasoning capabilities of models. Code and dataset are publicly available at https://bzhao.me/C-VQA/.
[ 0.0439917929, 0.0792500302, -0.0195859335, 0.0225274619, -0.0807823241, 0.0383796021, 0.0150808822, 0.0282820389, 0.0172793344, -0.0640503317, 0.0099886525, -0.03395091, -0.0360743701, 0.0556856245, 0.0287468415, -0.0034674285, 0.0557494052, -0.0551076904, 0.0212376695, -0.0302421581, -0.0263606664, -0.0168836992, -0.0181042831, 0.002006022, -0.0032196469, -0.0236025434, -0.0044433367, 0.0188392568, 0.0071361661, -0.0305455346, -0.0278007705, 0.0467909761, 0.0365681797, 0.0246991925, 0.0000021149, -0.0480487458, 0.0057766787, -0.0233538859, -0.042763561, 0.0094275651, 0.0009009367, 0.0085080024, 0.0114350561, 0.0220775884, -0.0469248518, 0.0134983324, 0.0471784398, 0.0514464565, 0.0247002188, 0.0761261955, -0.0042188452, -0.0245979894, -0.0088516138, -0.0172752421, 0.0151795186, -0.0285935234, 0.0169409849, 0.0442151465, -0.0189651903, 0.005360845, -0.0047589522, 0.0298563521, 0.0438287184, 0.0170095898, -0.091086857, 0.0384383611, -0.0198010635, -0.0293554571, -0.0027635137, 0.0492004827, 0.0332801454, -0.0407598913, -0.0071520708, -0.019977482, 0.0172395613, 0.0430558473, -0.0368531942, 0.0274126213, -0.0187326688, -0.0004604861, -0.0107224947, 0.0141565297, 0.0276628677, 0.0070041087, -0.0143937217, 0.0700012147, 0.0104929106, -0.0048543457, -0.0013481751, -0.0054383003, -0.0480478406, -0.0410842374, -0.0068566147, -0.0112371938, -0.0306316912, -0.0018298989, -0.0078342864, 0.0066514299, 0.0288352724, -0.0620934181, 0.0325752981, 0.0442684479, -0.0211651642, 0.0726888552, -0.033572726, 0.0302801058, -0.0546748191, 0.0373792872, -0.0203361306, -0.0164243244, -0.0087542469, -0.021152284, -0.0009459613, -0.0043069459, -0.0687064454, -0.0016775306, 0.00324759, -0.0145216929, -0.0344597027, 0.0170263443, -0.0051007126, 0.0207206272, -0.0167352855, -0.0625788271, -0.0537383705, 0.0195695814, -0.0427096486, 0.0446587205, -0.003731013, -0.0696311966, -0.0038022951, -0.0142135471, -0.016076263, -0.0359238684, 0.0242866352, 0.0843615383, -0.0152508933, 0.0185257681, -0.0179721881, -0.0288766921, -0.0001710403, -0.0673471242, 0.0550897531, -0.0706182867, 0.0001400429, 0.0131102093, -0.0073545463, -0.0077551082, -0.000593111, 0.0230450127, 0.006207596, 0.0807672292, 0.0333052166, -0.0006044431, 0.0032395765, 0.0021743609, 0.0093813241, 0.0941570848, 0.0101216696, -0.0025841736, 0.0350602046, 0.0177809633, -0.0054976679, 0.0097547416, 0.0266070478, 0.0015683642, -0.0920766816, 0.0378276333, 0.003472022, 0.0209883787, -0.0172048155, 0.0240200926, -0.022080997, -0.0857610404, 0.0517030209, -0.0228550136, -0.0117135914, -0.0129316337, 0.0166382622, -0.01550462, -0.0216916371, 0.0155753354, -0.0512299724, 0.0769486651, -0.06714461, 0.0088721123, -0.0298297871, 0.0238569453, -0.0154110622, -0.0394429043, -0.0206708238, 0.0177568607, 0.0181704927, 0.0415076278, 0.045496013, -0.0101066241, -0.0482610576, -0.0397023149, 0.025912039, -0.0349500254, -0.0284753852, -0.045084063, 0.0141858971, 0.0096752672, 0.0346270502, -0.046025347, -0.0326350071, 0.0191624798, 0.0131542897, 0.0213494077, 0.0745519549, 0.0099695176, -0.0021869882, -0.045508083, 0.0024606746, -0.0243126508, 0.0317288078, 0.0147870881, -0.0153855812, -0.0013178078, -0.024437312, 0.0038143408, 0.0555295981, 0.0249197781, -0.0257531982, 0.0108301239, -0.0366469957, -0.0018566236, -0.0062198369, -0.0246747695, -0.0053826654, 0.0273801237, 0.0540624075, -0.0158355013, -0.0091424463, 0.0206950735, -0.0457198396, -0.064878583, 0.0294328108, -0.0745989978, -0.0340295285, 0.072466433, -0.0300559513, -0.0225238577, 0.0270261019, -0.0089078443, 0.0651794076, -0.0360482596, 0.003786305, -0.0065442617, -0.0004520906, -0.0142782554, 0.0707705393, -0.0376872085, 0.016759092, 0.001883131, -0.0159155149, 0.0319763422, -0.0306494609, 0.0019620166, 0.0309711806, 0.0075588827, -0.027386019, -0.0003117366, -0.0197210182, -0.0588881038, 0.008042153, -0.0925326794, -0.0177329779, -0.0188676622, -0.0262565222, 0.0057866666, -0.0349831879, -0.0053662295, -0.0328897387, -0.0018107826, 0.0258983299, -0.006242652, 0.0437474586, 0.0107786153, -0.0154919056, 0.0156531744, -0.0107024321, -0.0418667048, -0.0454498902, 0.0608516596, 0.0104933912, 0.0194447301, 0.0184324589, 0.0041994448, -0.0497359894, 0.0430744253, -0.0381043181, -0.0159984976, 0.0120564513, -0.0282749645, 0.0381825455, 0.0621626303, 0.0028153192, -0.0157897398, 0.0698878095, -0.0289290771, -0.0391329005, 0.0241409224, -0.0034786938, -0.026272526, -0.0401808731, -0.0500537381, -0.0888159499, 0.0276910029, 0.0012376448, 0.0018149927, -0.0659037828, 0.0481213666, 0.001723111, -0.056161955, -0.040484108, 0.000093443, -0.0132699357, 0.0913309678, -0.0164928157, -0.0090878829, 0.085921295, 0.0212011263, 0.0053136637, -0.0085592894, 0.0478039794, -0.0002719546, 0.0961136743, 0.0223208126, 0.0080414684, 0.0195386037, 0.0098370109, -0.065733932, -0.0184719749, 0.0390591547, -0.0283158645, 0.0300763249, -0.079530105, 0.0007761634, -0.0127424514, -0.0404562093, -0.029121872, -0.0624385253, -0.0413255468, -0.0066257543, -0.0384575203, -0.0048177117, -0.0568781719, 0.0192083567, -0.0034065663, 0.0299121011, 0.0176644959, -0.0061509074, -0.0050419583, 0.0042281109, 0.051513344, 0.0666080117, 0.0554145835, -0.0201950669, 0.0082614999, 0.0516313314, 0.0459603705, -0.0178421624, -0.0017575838, 0.0455683246, 0.0052057425, 0.0429138951, -0.0121767046, 0.0270682368, 0.0280973744, -0.0439928286, 0.0023281353, 0.0702814907, 0.0466083027, -0.0106958775, 0.0078970334, -0.0365685746, 0.0257220063, 0.0537436903, -0.0169384237, -0.076978609, -0.0521902815, 0.0242617466, -0.0263934322, -0.0406357534, -0.0598492324, -0.007373197, -0.1197781563, 0.0437699705, -0.0190128926, 0.0225961972, -0.0285520814, -0.0339477919, -0.0136410492, -0.0327400453, -0.0476233065, 0.0124003133, 0.0092537776, -0.0100618647, -0.0212358441, 0.016173536, -0.0267978925, 0.0640112162, 0.0063564084, 0.032744281, 0.0355867185, 0.0234240796, -0.0148312496, -0.0358300097, 0.0312362574, -0.0175970066, -0.0127436025, -0.0088913385, 0.0226198155, 0.0017250211, -0.0042874184, -0.0323624387, 0.0229640715, -0.013566833, -0.0579290725, 0.0008164117, 0.0699282363, -0.0215122346, -0.0221836604, -0.037764702, 0.0220397953, -0.0315293968, 0.0834396333, 0.002310826, -0.0286313295, -0.0249517485, -0.0235618409, -0.0296538994, -0.0178047866, -0.0305731874, -0.0075019943, 0.0864246711, -0.0027577933, -0.0489465222, -0.0226579662, 0.0057783667, 0.0407223813, -0.0254359823, -0.0236472394, 0.0244046971, 0.0135686863, -0.0559962615, 0.0230405424, -0.0186906792, 0.0309203751, -0.0087444494, 0.0233105477, 0.0296962745, -0.0394065157, -0.0504663959, 0.0092372168, -0.0893170163, -0.0510350093, 0.0190135147, 0.0277220644, 0.0332644433, 0.0135471374, -0.0062234579, -0.0235747471, -0.0152113121, 0.0262527131, -0.0186935868, 0.0399038643, 0.0493434481, 0.0022650997, 0.0165658277, 0.0642659515, 0.0056340108, -0.0139323082, 0.0256026499, 0.0394065678, -0.0358959287, 0.0234535486, 0.0371903889, -0.0046525477, 0.0623146407, 0.0179185234, -0.0181352161, -0.0264847167, 0.0377121828, -0.0500700995, -0.0321056545, -0.0099081583, 0.0120648844, 0.0152134337, -0.0051167584, -0.0136015546, -0.0008668787, -0.0208892524, 0.0017388184, -0.0171885714, 0.0312619843, 0.0863928124, 0.0154363271, 0.0236791689, -0.0242858008, -0.0079973191, 0.0283772461, -0.0103293443, 0.0558746234, -0.0089133997, 0.0724338144, 0.0422796197, -0.0398335643, -0.037917275, -0.021181114, -0.0894380063, -0.0433438495, 0.0232526287, 0.0449208729, 0.0327272601, -0.026000848, 0.0056043686, -0.0414218046, -0.0073131463, -0.0054466757, 0.0181304459, 0.032769911, -0.0328310654, 0.0705766603, 0.0382117294, -0.0175476559, 0.0275720488, 0.0618943162, -0.003732977, 0.054550916, -0.0041126707, 0.0060364651, -0.0161396433, -0.0608922206, 0.0257026162, 0.0499792024, 0.0006294993, 0.038199842, -0.1035105735, -0.0667934641, -0.0140649909, 0.0351786613, 0.0134310052, 0.0042425729, 0.0077812215, 0.0686247051, 0.016026983, -0.0427771062, -0.0161070544, 0.0316214599, -0.0053683347, 0.0237191245, -0.0553026199, -6.725407992e-33, -0.0125328004, -0.0145772183, 0.0331455581, -0.0805912241, 0.0310489479, -0.0143289994, -0.0160507336, 0.0202235654, -0.0651851445, 0.0135426605, -0.0006788457, 0.0372186154, 0.019858731, 0.0226352736, -0.002048379, -0.0261221118, 0.0101672662, 0.0050848541, -0.0296755303, -0.0227596927, 0.0236885082, -0.029043192, 0.0326960273, -0.063307181, -0.0000724116, 0.0021197118, -0.0152174635, 0.0343003124, -0.1012892798, 0.0544217303, -0.013780986, 0.0055153826, 0.0276739374, 0.0060234419, 0.0020047259, -0.0086659547, -0.0010629595, -0.0139931375, 0.0508597381, 0.0050491551, -0.0197501816, 0.0063269464, -0.0137021523, 0.0114804683, -0.0339043066, -0.0048727691, 0.0124892956, -0.0427582078, 0.0230366513, 0.0470571034, -0.0426281206, 0.0214073248, -0.0307369623, -0.0139509914, -0.0179022178, 0.0826261342, 0.0116221616, 0.0151569359, -0.0590245686, 0.061234206, 0.0129448771, -0.0320918523, 0.0786041021, 0.0127180526, 0.028692212, 0.0543447435, 0.0464269035, 0.0027346443, -0.031560611, -0.0167978071, 0.0155812856, 0.0627849102, 0.0518788695, 0.1149082333, 0.0520479493, -0.0188837778, -0.0731050149, -0.0264782161, -0.0426739417, 0.0415860862, 0.0733647868, 0.0203045234, -0.0104037877, -0.0012545582, -0.0733972937, -0.0121689839, -0.0537188463, 0.0352802873, 0.0285751894, 0.0073824376, -0.016479414, 0.0265402067, 0.0521273725, -0.0360005237, 0.0032197183, 0.0339541174, -0.0108993519, 0.012949748, 0.0083017182, 0.0757675022, -0.0524245203, 0.0182085652, 0.0481201932, -0.0134365745, 0.0037338759, -0.0137274349, 0.0127401315, 0.0146922683, -0.053176064, -0.0194399022, -0.0392138734, -0.0133602424, 0.0056671081, -0.0242096689, 0.0621936284, 0.0161608215, -0.0210960936, 0.001838806, 0.0039664335, -0.0266965125, -0.0496818274, -0.0245292969, -0.015529722, 0.0239315741, 0.0048071952, -0.0124164158, -0.0562497675, -0.0338089354, 0.0211540721, -0.0204893537, -0.0182369482, 0.0485600904, 2.707e-7, 0.0319337808, 0.0480776243, -0.0000979253, 0.0184358247, 0.0198893733, 0.0759180561, -0.0487505458, -0.0073150638, 0.0495186001, -0.0263783447, -0.0004148927, 0.0438705124, 0.017456606, 0.0170265865, 0.0152416108, 0.0242163539, -0.0482032336, -0.0520769171, -0.0420270152, 0.0031473073, 0.077988252, 0.0970842093, 0.0090918886, 0.0014031125, 0.0294553488, -0.0104056159, 0.0538654253, -0.0519813523, -0.0142402798, -0.0423676781, -0.0205283053, 0.0080118561, -0.0059880493, 0.0565751493, 0.0058019101, -0.0230116397, -0.019652253, 0.0445744544, -0.0068732607, -0.0616253018, -0.0380220227, -0.0011084122, -0.0183999073, -0.063360095, 0.1040843129, -0.0164365806, -0.0310235377, 0.0203215536, -0.0221718382, 0.0202867445, 0.0237382371, -0.0075064944, -0.0395162329, -0.0154289678, 0.0185283627, 0.0040404834, -0.0065576625, -0.061743889, -0.0286200177, 0.0263445918, -0.037565738, -0.0443032235, -0.0430022441, -0.0079041207, 0.048256509, -0.0499478914, -0.015510126, 2.581809874e-34, 0.06272199, 0.0304542091, -0.0041466537, -0.0233735386, 0.0467103943, -0.0191862099, -0.0074912128, 0.0077227643, 0.0196488779, -0.0773335844, -0.0213348102 ]
http://arxiv.org/abs/2310.06626v1
http://arxiv.org/pdf/2310.06626v1
Topic-DPR: Topic-based Prompts for Dense Passage Retrieval
2023-10-10T13:45:24
2023-10-10T13:45:24
Qingfa Xiao, Shuangyin Li, Lei Chen
cs.CL
cs.CL, cs.AI
Prompt-based learning's efficacy across numerous natural language processing tasks has led to its integration into dense passage retrieval. Prior research has mainly focused on enhancing the semantic understanding of pre-trained language models by optimizing a single vector as a continuous prompt. This approach, however, leads to a semantic space collapse; identical semantic information seeps into all representations, causing their distributions to converge in a restricted region. This hinders differentiation between relevant and irrelevant passages during dense retrieval. To tackle this issue, we present Topic-DPR, a dense passage retrieval model that uses topic-based prompts. Unlike the single prompt method, multiple topic-based prompts are established over a probabilistic simplex and optimized simultaneously through contrastive learning. This encourages representations to align with their topic distributions, improving space uniformity. Furthermore, we introduce a novel positive and negative sampling strategy, leveraging semi-structured data to boost dense retrieval efficiency. Experimental results from two datasets affirm that our method surpasses previous state-of-the-art retrieval techniques.
[ 0.0196998622, -0.010204046, -0.0156912152, 0.003252655, -0.0417981632, -0.0105234785, 0.0484599881, -0.0074095535, 0.0030791124, -0.0307818372, -0.0115613192, -0.0667137876, -0.0024102852, 0.0676524937, -0.001668699, -0.0807855129, 0.0368708223, -0.0363567807, 0.0647481009, 0.0191775896, 0.019501403, -0.0119456844, -0.0026546244, 0.0005734708, 0.021114137, -0.0045527346, -0.0214817449, 0.0063831341, 0.0262649078, -0.0737841949, 0.0498515852, 0.049968116, 0.0378968231, -0.0322248563, 0.000001832, -0.0417122431, -0.0513148159, -0.0156839807, -0.024094969, -0.0344027802, 0.0608029664, 0.0084218811, 0.0602599047, -0.0151467109, 0.0086903693, -0.034718316, 0.0035013743, 0.0824664831, 0.0352907553, 0.0537699498, -0.0137681002, 0.0021643739, -0.0169370528, -0.0012948533, 0.0108306864, -0.028074529, 0.0164546445, -0.0313874409, 0.0304131471, 0.0891779289, -0.0086988658, 0.0264101755, -0.0052378569, 0.0186092574, 0.0354603007, 0.0320615433, 0.0192373842, 0.0160440467, -0.0362107828, 0.071584031, 0.0162019376, -0.014545734, -0.0024989145, -0.043214906, -0.0219435487, 0.0111249387, -0.0589517877, 0.0337774679, -0.0297613349, 0.0180073343, -0.0002486953, 0.0483938046, 0.0030217941, -0.0174337048, -0.0082504628, -0.0000527758, 0.0273921229, -0.0463858806, 0.0226911642, 0.0091097932, -0.0327752456, -0.0018367915, 0.0559059791, 0.0055540339, -0.0258956086, 0.0120172938, 0.0036132582, -0.048374027, 0.016762482, 0.0158334915, 0.0119795166, 0.0243683718, -0.0522404946, 0.0459049791, 0.0132589554, 0.0282920189, 0.0109239435, 0.0028444799, -0.0578552298, 0.0183935817, 0.0021948447, 0.0063170092, -0.0722623244, 0.0446783453, -0.036362078, -0.0206859875, 0.0155541915, 0.0121118203, 0.0231068637, -0.0095791453, -0.0258548744, 0.0231267102, -0.0414013006, -0.0119936783, -0.0216788501, 0.0502167381, -0.0455062911, -0.0066204458, -0.001446536, 0.0195482224, -0.0220879596, -0.006434557, 0.0277574956, -0.0282064043, -0.0283814017, -0.0044617155, -0.0396829844, -0.0957248509, -0.0492094904, -0.0158175491, -0.0222533848, -0.014035698, -0.0386687927, -0.0387242734, 0.0349830985, -0.0007723493, 0.0041275518, -0.0240983758, 0.0138778752, 0.047140263, -0.0295381658, 0.0562818423, -0.0074725803, -0.017453745, 0.0283509083, 0.046725031, 0.0170510281, 0.0364083797, -0.0160589106, 0.0284755398, 0.0661941171, 0.0476833507, -0.0016049807, -0.0064094313, 0.0044103824, -0.0001219277, -0.0156311225, 0.0134564303, 0.0305369031, 0.005586748, 0.0011638277, 0.0351291671, -0.0514439754, -0.0326029509, 0.0427985676, 0.0648388267, 0.0003724711, -0.0487830676, 0.0414164886, 0.0483171679, -0.0166679733, 0.0276230518, -0.0181891974, -0.0146242576, -0.0362912454, 0.0151714981, 0.0663531348, -0.0024240515, -0.0192032699, 0.0018058447, 0.0019401175, -0.0006572535, -0.0246165991, 0.0139701497, 0.0654507428, 0.007876737, -0.0660827607, 0.0230284799, 0.0432026312, -0.0513425767, 0.0087297708, 0.0148165505, 0.0678165704, 0.0728683174, 0.0733980536, -0.0729363859, -0.0116423648, -0.006429228, 0.0430220701, 0.0176492743, 0.0294636115, -0.0281199329, 0.0178064685, -0.0429332405, -0.0386753045, 0.0177499522, -0.0018664133, 0.0197341871, 0.0044848192, 0.0072128526, 0.0078113484, -0.0496005639, 0.0016215261, 0.040091496, -0.0174935013, -0.0182683375, -0.004642433, 0.0030001628, -0.0063616773, 0.0390754789, -0.0060700728, -0.0116413971, 0.0454934463, -0.0397608131, -0.0006834764, -0.0296200477, -0.1055078357, -0.0324337482, -0.0115728229, 0.0112176063, 0.016167812, 0.0042413161, 0.011132231, -0.031742394, -0.0439831689, -0.0039615366, -0.0068465704, -0.0146597195, 0.0149325589, 0.0229514875, -0.0120276976, -0.1042792201, 0.0733574703, 0.0198200438, 0.0766025335, 0.0622213893, 0.046087984, 0.0345951617, -0.0553321689, -0.0329975486, 0.0105555588, -0.0006145939, -0.0181982834, 0.0770274475, -0.0236704834, -0.0385981537, 0.0009387354, -0.0644404218, 0.0274733622, -0.0208436735, -0.0121151898, 0.0223104637, 0.0071475748, -0.0400407016, -0.0313605629, -0.0130239483, -0.0474762805, 0.008288838, 0.0232516434, 0.0276855342, 0.0327154323, 0.0164038576, -0.0550476164, -0.0172998514, 0.0020172365, 0.0448758639, -0.0025881398, -0.0136881694, -0.0598750114, 0.04996261, 0.036388468, 0.0146005061, -0.0201859903, 0.0233709123, 0.0128328623, -0.0681852698, 0.0681790784, 0.0247166511, 0.0232078265, -0.0004699132, 0.0396476276, -0.0591154173, -0.0869866237, 0.0297851954, -0.0430875644, 0.0130869169, 0.0128095057, -0.0123731429, 0.029067615, 0.0402249917, 0.0315387584, 0.0066382266, -0.0247999299, -0.0163829513, -0.0188015439, 0.0047385148, -0.0527967215, -0.006146173, -0.0331140831, 0.0575808473, -0.0262341704, -0.0324080363, 0.0676489472, -0.0388892256, -0.0259296726, -0.0820147619, 0.0084143877, -0.0289889891, 0.0928422511, -0.0071063624, 0.0043354323, 0.0316646472, -0.0539435297, -0.0410924517, -0.0047535752, 0.018040292, -0.0221008398, 0.0351869091, -0.0220892783, 0.0219772924, -0.0192308761, -0.0208056737, -0.0721568316, -0.0933696702, 0.0061501358, -0.0132904947, -0.0254264306, 0.0025380731, -0.0105752284, 0.017590018, 0.0082699908, 0.0443277806, -0.0287574828, -0.0161128398, -0.0272349175, 0.0675821081, 0.0348270014, 0.0056963055, -0.0147800185, -0.0211632419, 0.0343074203, 0.0256704763, -0.0048958967, -0.0227196459, 0.0265481174, 0.0107933525, 0.0663134158, -0.0674788207, 0.0070574437, 0.0225689821, 0.071515426, -0.0548334308, -0.0470750257, 0.1071503833, 0.0515185967, -0.0626069978, -0.0510327853, -0.018990688, 0.0175484996, -0.0060258056, 0.010657073, -0.0540578067, -0.0239390302, 0.0108828722, 0.0619242676, 0.0310195889, -0.0284964293, -0.0135359531, -0.0716477707, 0.0158731304, 0.0003395115, -0.0139792152, -0.0345673412, -0.0572495647, 0.0209508818, 0.0081787072, -0.0008643911, 0.0360784382, -0.025382556, 0.0184228588, -0.0173188616, 0.0399457328, 0.0208573341, 0.0081080068, -0.0372900739, 0.0222652722, 0.0186507907, -0.0039292728, 0.0094053298, -0.0001320303, -0.0064980472, -0.090248391, -0.0174063239, -0.00594872, 0.0514253713, -0.0031642793, 0.007848192, -0.0430778414, 0.013250391, 0.0032490524, -0.0695021003, -0.0063872831, 0.0143675646, -0.0106365969, -0.0043786881, -0.0501950011, 0.0447171517, 0.0302219465, 0.083879523, -0.0152050434, -0.0014329068, -0.0177496895, 0.0004145241, 0.0469841175, -0.0107358964, -0.0232894402, -0.0068358383, -0.0103641357, 0.0276119746, -0.059603747, -0.0419235118, 0.001949364, 0.0243963599, 0.0048069046, 0.0263618976, -0.0320498869, 0.002701076, -0.0290761143, 0.0615183897, -0.0527310744, 0.0016924897, -0.0650497973, -0.0344434492, 0.0313169882, -0.0587898567, -0.0204842985, -0.0023897241, -0.0440253317, -0.0369635262, 0.0172138941, -0.0092858328, 0.0044159032, 0.0277182758, -0.0179141313, -0.0134275658, 0.0958751589, 0.030021837, -0.077252537, 0.007671067, -0.0092577878, 0.0254114103, -0.0383958332, 0.0070435354, -0.0535907149, 0.0304277278, 0.0083893621, 0.0456372052, -0.0120333908, -0.1222632676, 0.0144877573, 0.0012983885, 0.1010625884, 0.0364442356, 0.0106520038, -0.0907845721, -0.0155169526, 0.0138304578, -0.0250884313, -0.015140756, 0.0549471527, 0.0074147005, -0.0470931791, -0.0353281647, 0.0370674543, -0.0103849657, 0.0678260848, -0.0394104719, -0.0244810227, 0.0409218743, -0.0289285351, -0.006692911, 0.0165516473, -0.0134231355, 0.0195340328, -0.0417000912, 0.0596527942, -0.0013689293, 0.0876157954, 0.0132376039, -0.0256162938, -0.0265602469, 0.0150046451, -0.0915684029, -0.0175550207, 0.0020757932, 0.0136096617, 0.0259763226, -0.0214912351, 0.0072284103, -0.0045712995, 0.0057900455, -0.0299293716, -0.0223635454, 0.0493841693, 0.014444896, 0.0366341583, 0.0386336446, 0.0066308454, 0.0492193773, 0.0565666892, -0.0346568376, 0.0263376776, 0.0129442066, -0.0274092574, -0.0316961519, -0.0036386044, 0.0300206877, 0.0851873979, -0.0062299529, -0.0067053861, -0.0241365042, 0.0030978562, 0.0660880506, -0.0013365488, -0.0236168467, 0.0033961039, 0.046957165, 0.0533724241, -0.0196766984, -0.0148656266, -0.032404162, 0.0297432635, 0.0228831638, -0.0158848576, -0.0400720276, -6.168053223e-33, -0.033184316, -0.0010858742, -0.0059048529, -0.0171713475, -0.0284802765, 0.0096313236, -0.0149616217, -0.0003207924, 0.0225941148, 0.0072108191, -0.0187884402, -0.0053000115, 0.0185176693, 0.0193498451, -0.0358972438, -0.0267315004, 0.0648763403, 0.0070431777, -0.0320913531, 0.0388760827, 0.0528955348, 0.0520798713, -0.0185274146, -0.0504067913, 0.0559996255, -0.0536048561, 0.0192596726, 0.0215938985, 0.0767940432, 0.0194264669, -0.0345698483, 0.0374438427, 0.01930416, -0.0400157981, -0.0299084689, 0.0576003045, -0.090660803, -0.0605987646, -0.0073018619, -0.0221803766, -0.0248060971, -0.0255213473, -0.001676286, -0.0350774638, 0.0567890294, 0.0081211664, 0.0462047867, 0.0065893065, -0.0174034014, -0.0357474163, -0.0266586356, 0.0319788717, -0.0161962789, -0.0148326745, 0.0112575563, 0.0384595655, 0.0593613945, 0.0273123775, -0.017985031, 0.0153977657, -0.0007584018, 0.0351702385, -0.0495399535, 0.0190395098, -0.0491924211, 0.0640595332, 0.0140186902, -0.025487233, 0.0071394173, -0.0037631292, 0.005292675, -0.0501209348, -0.0094606094, 0.0501733907, -0.0005426533, 0.0145889353, -0.037445873, 0.0619426332, 0.0324415341, -0.011972595, 0.0442222729, 0.0152199753, -0.0349643528, -0.0322265066, -0.0433052219, -0.034598127, -0.0157684032, -0.0134173026, 0.0349725224, 0.0307420287, -0.0161137935, 0.0022780546, 0.0663040802, 0.0104767783, 0.0016737777, 0.017619146, -0.0050393273, 0.003153597, 0.0008575409, 0.0154061941, -0.032717146, -0.0159296636, 0.0386446901, -0.0384134054, -0.0482892655, 0.0128780734, 0.0078538628, 0.0043671224, -0.0837309435, 0.018492721, 0.026024092, -0.0117340451, -0.0155888833, 0.0518042743, 0.0186306331, 0.0161473006, 0.0024479115, 0.1020915061, 0.0390927717, -0.0041969414, -0.05007907, -0.0214121584, -0.0219037123, 0.0032900327, -0.0093654813, 0.0280497484, -0.0091610244, 0.0431516692, 0.0108270729, -0.0358087793, 0.0287394766, 0.032533288, 2.442e-7, 0.0208831001, -0.0060474146, 0.0306184404, 0.0017195272, -0.0274923705, 0.0259208735, 0.0029163796, 0.0183599424, 0.0326734148, -0.0266206786, 0.0107915485, 0.0386134833, -0.0233589001, 0.0125252428, -0.1280676723, -0.0100795366, -0.0016706975, -0.0318463333, -0.062144734, -0.0260098837, 0.1109918579, 0.0604742505, 0.0063035209, 0.0069718151, -0.0039074486, -0.0461227931, 0.0337123908, -0.0152224302, -0.0134780472, 0.0242183041, 0.0522211827, 0.0165665634, -0.0174861569, -0.014400186, 0.0261046905, 0.0432055704, 0.0299744792, 0.0575676411, 0.0422270596, -0.0573092774, -0.0014685798, -0.0002300277, -0.0000764026, -0.0041108006, 0.0639479384, -0.028507242, 0.0193788521, -0.0070013762, -0.0302300714, -0.0269261077, 0.0098221125, 0.0184977781, -0.0498640873, 0.0453830399, -0.0038906173, 0.0196184609, -0.0058653634, -0.1158195361, -0.0216770638, -0.0006762142, -0.0229508393, -0.0178927723, -0.0109170061, -0.0032383329, -0.0172142386, -0.0943559334, 0.0280979071, 2.203271306e-34, 0.0246281493, -0.0149289416, -0.0335222632, -0.0178923011, 0.0091606285, -0.0220929943, 0.0135889463, -0.0107668536, 0.0008238509, -0.0875087604, -0.026467409 ]
http://arxiv.org/abs/2310.06590v1
http://arxiv.org/pdf/2310.06590v1
No Pitch Left Behind: Addressing Gender Unbalance in Automatic Speech Recognition through Pitch Manipulation
2023-10-10T12:55:22
2023-10-10T12:55:22
Dennis Fucci, Marco Gaido, Matteo Negri, Mauro Cettolo, Luisa Bentivogli
cs.CL
cs.CL
Automatic speech recognition (ASR) systems are known to be sensitive to the sociolinguistic variability of speech data, in which gender plays a crucial role. This can result in disparities in recognition accuracy between male and female speakers, primarily due to the under-representation of the latter group in the training data. While in the context of hybrid ASR models several solutions have been proposed, the gender bias issue has not been explicitly addressed in end-to-end neural architectures. To fill this gap, we propose a data augmentation technique that manipulates the fundamental frequency (f0) and formants. This technique reduces the data unbalance among genders by simulating voices of the under-represented female speakers and increases the variability within each gender group. Experiments on spontaneous English speech show that our technique yields a relative WER improvement up to 9.87% for utterances by female speakers, with larger gains for the least-represented f0 ranges.
[ -0.0076134545, 0.0882339925, -0.0212963596, -0.0027417797, 0.0223342665, -0.0024307247, 0.0338893011, -0.0477505848, -0.0348085277, 0.0204691868, -0.058680594, -0.0813366696, 0.0555889755, 0.0643870756, 0.0479991436, -0.0407497622, -0.0079504503, -0.0313024782, 0.0303177498, -0.0571687631, 0.002622792, -0.0026368643, -0.0375228152, 0.0200560335, 0.0044328729, 0.0048764669, -0.0199589655, 0.031260062, 0.0213572681, 0.0351357684, 0.0283159316, 0.0318789892, 0.0228411034, 0.0063958056, 0.0000018881, -0.0431685895, 0.0107410019, 0.0354832634, -0.0798591301, 0.0107414182, 0.0326409712, 0.0333713852, -0.064040333, 0.031992171, -0.023171721, -0.0210182127, 0.0371260718, 0.0281381831, 0.0176581349, 0.030431319, -0.0051435721, 0.0089612585, -0.0063755475, -0.0291485842, -0.0076014092, 0.0387837775, -0.0051037264, -0.0400381237, -0.0374718904, -0.0255878288, -0.030008411, 0.0319646485, 0.0132271526, 0.0199505109, 0.0562104322, 0.0306006353, -0.0743532479, -0.0539880581, -0.0087253731, 0.032439813, 0.0131977666, 0.0106581394, -0.0037631055, 0.0056787981, -0.0028630756, -0.0414291024, -0.0221489947, 0.0065252823, 0.0385012142, -0.0065289261, -0.0238789003, -0.0362734944, 0.0523546413, -0.0098666921, 0.0088709006, 0.0296798069, -0.0183551498, -0.0472096354, 0.044044517, -0.0269038957, -0.0070860554, -0.0054320088, 0.0579825304, 0.0003152395, 0.0168146715, -0.0249425173, -0.0464585163, -0.0590609536, 0.0104076201, -0.0731568933, -0.0007323007, 0.0639242306, -0.009813372, -0.0571327098, -0.0069575151, 0.0349485204, 0.0000546186, -0.0165188704, -0.0134888925, -0.0255455058, 0.0265966244, -0.0249975082, 0.0004377948, 0.0021552371, -0.029408874, 0.0044777808, -0.0538110659, 0.0087771462, -0.0805166885, -0.0237534139, 0.01049951, 0.0328146778, -0.0497705713, 0.0121492567, 0.0382295549, 0.0440704748, -0.0168567449, 0.0485729761, 0.0070373295, -0.1288496554, -0.0080223633, 0.0025574053, 0.0419397503, 0.0129498616, 0.0311953761, -0.0033212826, 0.0147997318, 0.009554931, -0.0216884539, 0.0140677495, -0.00886764, -0.0444400869, 0.0147716422, -0.056547191, 0.0174853392, 0.0221383758, -0.0175855476, -0.0149092348, -0.0013860319, -0.0160234403, 0.0229759607, 0.029170651, 0.0214426704, -0.0038621207, 0.0778950229, -0.0188038573, -0.0336637944, 0.0614091866, 0.0661028475, -0.0296833869, -0.0138270333, -0.0166066457, -0.0130912084, 0.0567449369, 0.0413629897, 0.0376244187, -0.0196775664, -0.0449018516, -0.0309781078, 0.041723635, 0.1160876676, -0.0610587895, 0.0271568801, -0.0508490503, 0.0501933694, 0.0698775649, 0.0710560009, 0.0400881357, -0.0001332712, -0.0201210845, 0.0098319044, -0.0078185108, -0.0542093702, 0.013620113, -0.0022407323, 0.0003527411, 0.0027813578, 0.0710040927, -0.032986287, -0.0347903483, 0.0020541844, -0.0087652747, -0.0077885049, 0.0364628993, -0.0009608374, 0.0221391153, 0.0565432161, 0.0392961986, 0.0282715242, -0.0596481785, 0.0399037525, -0.0228413269, -0.0688552484, 0.0087043913, -0.0400204808, -0.0524445921, -0.0040597599, -0.0373024419, -0.0559953414, 0.0381561182, 0.024115406, 0.044634603, 0.0728644356, -0.0473618098, 0.0039925333, 0.0591357686, 0.0061705536, 0.0653856173, 0.0056045265, 0.0258850232, 0.0122300368, -0.0165359005, -0.0234709177, -0.0304791667, -0.018836543, -0.0268819742, 0.0322057493, 0.0102128331, 0.0398978479, 0.0380606577, -0.0308535881, -0.0122771934, 0.0153137762, -0.0026093947, -0.0261900872, 0.0023543085, -0.0361016393, 0.0129925478, 0.0293713026, -0.0507622361, -0.0090140868, 0.0406003483, 0.0231787395, -0.0746847317, 0.1078012511, -0.0289972797, -0.0000886172, -0.0417845696, 0.0321373641, 0.0289021451, 0.0368126668, 0.0354082435, -0.0348833613, 0.0202409476, -0.0611642972, 0.0020981515, -0.0165542215, -0.0441066287, -0.1192770302, 0.0064189304, 0.0293517392, 0.0069310446, 0.0262451917, -0.0045716856, -0.0731130391, -0.0305768028, -0.0111637376, -0.0570705011, -0.0130493008, 0.0069149719, 0.0073423604, -0.0161249693, 0.0436261706, -0.0138293058, -0.0442085862, -0.0392177925, -0.0421065874, -0.0134374108, 0.008620657, -0.0265681949, -0.0000581312, 0.0160640217, 0.0109345634, -0.0197683163, -0.0152211562, 0.002572441, -0.0022248835, -0.013733645, -0.0131061338, -0.0335118622, 0.0392329171, 0.0321414135, -0.0060055447, -0.0094283624, -0.0458579585, 0.0185398124, 0.0366852656, 0.0873662978, 0.0093390383, -0.039268747, 0.0412995294, 0.0221880209, -0.0172781758, 0.0053879335, 0.0367776342, 0.0649461821, 0.0196088124, -0.0242977701, -0.0311669596, -0.0232758876, 0.0322579108, 0.0039622909, -0.0191643182, 0.0251388811, -0.0259120092, -0.0426106229, -0.0135116754, -0.0406696238, -0.0303245541, 0.0070084706, -0.0444477983, -0.0300384127, -0.0099201472, -0.0420145728, -0.0460438058, -0.0038518854, -0.031694185, -0.0496438406, -0.0390192159, -0.0157779027, 0.0001232816, 0.0035204876, -0.0190000832, -0.0223344322, -0.0085104583, 0.0029158939, -0.0687001348, 0.0524826609, -0.0044659865, -0.0074013351, -0.0214328729, -0.0249254145, -0.0218611136, 0.0190507453, -0.0060613025, 0.0369583145, -0.0217356402, -0.0134122763, 0.0132294558, 0.0023732076, 0.0272115637, 0.0756308436, -0.0374505036, 0.01925149, -0.0197747014, -0.0201805029, -0.0022819818, 0.0773070753, -0.0238739345, -0.0117049506, -0.0044716615, -0.0418870673, 0.0421637371, 0.0176283494, -0.0233774185, 0.0378885902, 0.0287507381, 0.0069167735, 0.0055610696, -0.0276331548, -0.0000569749, -0.0611244105, 0.0566815995, 0.0634196252, 0.00324772, -0.047062479, -0.0044300039, -0.0245412253, 0.0344099328, 0.0180096254, 0.0027493879, -0.0111097852, 0.0308790635, 0.065947853, 0.0256636236, -0.0137128318, 0.0130177438, -0.0406013504, -0.0992658064, 0.0425408706, 0.044490613, -0.0249903779, -0.0474239811, -0.0318906717, 0.003714185, -0.0319838263, 0.0642924607, 0.0152493902, -0.029810885, -0.017251743, 0.048563581, -0.0665617362, -0.0384699777, -0.0112083005, -0.0607348047, 0.0718628392, 0.040598236, 0.008464952, -0.0410110541, -0.0363184102, 0.000600707, 0.0367288664, 0.0226884894, -0.0251174662, 0.0391020179, 0.0286590382, -0.0205154251, 0.0006145195, 0.070137009, 0.0000743053, 0.0027234771, -0.0091996882, 0.012917662, 0.0121296598, 0.0418868251, -0.0088876886, 0.0033289685, -0.0225438867, 0.0335203297, 0.0228392743, -0.0214087255, 0.0163601357, -0.0133978073, 0.0568985641, 0.0008901433, -0.0295581296, 0.0196097866, 0.0670383424, -0.0839936361, 0.0283626635, -0.0089037837, -0.0234525967, 0.023701923, 0.0090840021, -0.0387072749, 0.0337266997, 0.0057853083, -0.0306192711, 0.0225848705, -0.0213916562, 0.0306916684, -0.0140586747, -0.0603879765, -0.0282227769, -0.087715894, -0.012190463, -0.0230609197, -0.0068595172, -0.0428788178, 0.0803955495, -0.0045026233, 0.0218480844, 0.0954267383, -0.0447734147, -0.0584687516, 0.0408333391, 0.0152341062, -0.0273949821, 0.0638404116, 0.0936326906, -0.0288841985, -0.0002040344, 0.0121923331, -0.0490139127, 0.0359241255, -0.0053292578, -0.0151243731, 0.0143771553, -0.0242369305, -0.014740576, 0.039578598, 0.0020952492, -0.0166514553, 0.0340111516, -0.0353786759, 0.0461849347, -0.0014401942, 0.0553743951, -0.002947256, -0.0257980786, 0.0377869308, 0.0492544249, 0.0166467652, 0.0017845003, -0.0276079718, -0.0399722867, 0.0134367589, 0.0508633219, -0.0142245777, 0.0312782191, -0.0211219881, 0.0431992933, 0.0087696183, 0.0287710577, 0.0088258442, 0.0173908919, 0.0307626538, -0.019305367, -0.0091697965, -0.0166862812, -0.047698684, 0.0253290813, -0.0668521374, -0.0217595641, -0.0183724742, -0.0081347935, -0.0010722586, -0.003919492, 0.038715262, 0.0046839598, 0.0087971063, 0.0145967901, -0.043127723, -0.0291838441, 0.0490585528, 0.0142665729, 0.0143629173, 0.0230677519, 0.0204922538, 0.0066035846, 0.0308426991, 0.0393029079, -0.0521647632, 0.0069198809, 0.0046215858, -0.0262711849, -0.0184292737, -0.0367188342, -0.0429996178, -0.0213193335, -0.0348786749, -0.0541397855, 0.0275878143, -0.0056503122, 0.0294314735, -0.0286657792, -0.0022686881, -0.0183931645, -0.0542965755, -0.0357200541, 0.0255336463, -0.0632835552, 0.023914542, -0.0132798832, 0.0136455698, -6.309712782e-33, -0.0302474704, 0.0282449741, 0.0006310163, 0.0169437062, -0.0537439808, 0.0347262397, -0.0080962228, 0.0240099151, -0.0002972608, -0.0112965545, -0.0311565697, 0.0195995905, 0.038420815, 0.0206097811, -0.0121356286, 0.0161952972, 0.1047742814, 0.0260975845, 0.0222884845, -0.0597852394, 0.0042043347, 0.0412109829, 0.0336293578, -0.0490367264, -0.0113548888, 0.02221944, -0.0122402394, -0.0086103668, -0.0095177786, 0.0124847181, 0.0144081386, 0.0861073434, -0.0033021483, -0.0457414053, 0.02634985, 0.045667924, -0.1003353745, -0.0170775503, -0.0482180119, 0.0575572662, 0.0514897369, -0.0151195601, 0.0566137992, 0.0318794698, -0.0485796034, -0.0377909765, 0.0247907974, -0.028479198, 0.0557549223, -0.0326027945, 0.0026895762, 0.0265154224, 0.0018613962, -0.0048267571, 0.0425121449, 0.0340141952, -0.0531158745, -0.026493961, -0.0760891065, 0.0188064091, 0.0424384885, 0.0039406936, 0.0072486191, 0.0750783607, 0.0237175655, 0.0021508958, 0.0973690003, -0.0205152873, 0.0058070933, -0.0765364543, 0.0416498296, -0.0504557453, 0.0177760292, 0.0045524645, 0.1080359668, 0.00482562, -0.0064729648, -0.0352029502, 0.0312305465, 0.005412465, 0.0002822602, 0.0121471602, -0.0675745904, -0.0100657549, -0.0547018796, -0.073028475, -0.050900016, -0.0339285135, 0.0111390371, -0.0119900443, 0.00356093, 0.01318393, -0.0346736647, -0.0536644235, 0.0221021175, -0.0348420627, 0.0278908741, -0.0298664868, 0.0395413563, -0.0171624981, -0.0150972763, 0.0184824783, 0.0606082305, 0.0757877827, -0.0060545169, -0.0171063505, 0.0027598722, 0.0633690283, -0.0419153012, -0.0164106898, -0.0089919893, 0.0230334476, 0.0456120074, 0.043284487, 0.0248846747, 0.0329103917, 0.0035461828, 0.0167179815, 0.0121996701, 0.0365271643, -0.038590543, 0.02105687, -0.0112141604, 0.0525815077, -0.0165385753, 0.0000714801, 0.0413943976, -0.0242046379, 0.0264301095, -0.0684962943, -0.0012839155, -0.0229393709, 2.798e-7, -0.0532149598, -0.0031216443, 0.0664293319, -0.0301032476, 0.0169444289, 0.0206025895, -0.0314218104, 0.0144819161, 0.0517045595, 0.0184846744, -0.0067948462, 0.0457161777, 0.0016384422, 0.0224544201, -0.0556432158, -0.0111506255, -0.0580901504, 0.0163053796, 0.0358804613, 0.0084260385, -0.0565671921, 0.0639049485, 0.0179007947, -0.0788768381, 0.0207594354, 0.0127813658, -0.0155022014, 0.0097106555, 0.0114545878, -0.0325004272, -0.0521566868, 0.0056323004, 0.0022047779, 0.0411838479, -0.0215614457, 0.0619414896, -0.0072145164, -0.0043660174, -0.0453642495, -0.0222490113, -0.0141095733, 0.0679292306, -0.0279151425, 0.0182042494, 0.0560712218, 0.0068154363, -0.0657657981, -0.0488957278, -0.0539224558, 0.037543539, 0.0335765369, -0.0307942443, -0.0000291014, 0.0051534181, -0.0053057354, -0.0095704449, -0.0000435624, -0.0263898782, -0.0129886912, 0.0214086827, -0.0527578406, -0.034865696, -0.0392073132, 0.0153351277, 0.0255998001, 0.0259568337, -0.0026280442, 1.858365422e-34, 0.0239603929, 0.0161211677, 0.0174065698, -0.0164179187, -0.0474886745, -0.0110069867, 0.0655697733, 0.0151877441, 0.0416407287, 0.0013954042, -0.0532921813 ]
http://arxiv.org/abs/2310.06588v2
http://arxiv.org/pdf/2310.06588v2
FTFT: Efficient and Robust Fine-Tuning by Transferring Training Dynamics
2023-10-10T12:53:48
2024-03-29T23:53:28
Yupei Du, Albert Gatt, Dong Nguyen
cs.CL
cs.CL, cs.LG
Despite the massive success of fine-tuning Pre-trained Language Models (PLMs), they remain susceptible to out-of-distribution input. Dataset cartography is a simple yet effective dual-model approach that improves the robustness of fine-tuned PLMs. It involves fine-tuning a model on the original training set (i.e. reference model), selecting a subset of important training instances based on the training dynamics, and fine-tuning again only on these selected examples (i.e. main model). However, this approach requires fine-tuning the same model twice, which is computationally expensive for large PLMs. In this paper, we show that (1) training dynamics are highly transferable across model sizes and pre-training methods, and that (2) fine-tuning main models using these selected training instances achieves higher training efficiency than empirical risk minimization (ERM). Building on these observations, we propose a novel fine-tuning approach: Fine-Tuning by transFerring Training dynamics (FTFT). Compared with dataset cartography, FTFT uses more efficient reference models and aggressive early stopping. FTFT achieves robustness improvements over ERM while lowering the training cost by up to $\sim 50\%$.
[ 0.0086745471, 0.038688641, -0.0117025403, 0.0397441238, 0.0206254721, 0.0511147305, -0.0228571985, -0.0110207107, -0.0295190234, -0.0346716233, -0.0756694525, -0.0081137558, -0.0161454286, 0.0019141447, 0.0596075654, -0.0363620557, 0.0408671834, -0.054332491, 0.0009040424, -0.0069259782, 0.0131710013, 0.0133964745, 0.0169549007, 0.0192105211, 0.0444056392, 0.0328817368, 0.0017116755, 0.0445482358, 0.0455498658, -0.0166440662, 0.0270808544, 0.0432061367, 0.0327621289, 0.0072868112, 0.0000020416, -0.0271786992, -0.0258942544, 0.0134264324, -0.0017892753, 0.0206580292, 0.0279104225, 0.0044359853, 0.0042139916, 0.0189025104, -0.0059333383, -0.0342882127, 0.0589836091, 0.0070348592, 0.0631120801, 0.0917713419, -0.0099479845, -0.024962863, 0.0100476015, -0.0637593716, -0.0457664952, -0.0422125868, 0.0580280051, -0.0049106041, -0.0575404242, -0.0188531652, -0.0302651841, 0.0133512355, -0.0368275754, 0.0391093455, -0.0413782708, 0.0183198769, -0.0581215397, 0.0001922837, -0.0016041565, 0.0982148722, -0.0481405519, -0.0141067728, 0.035969004, -0.0276476983, -0.0327297039, 0.0061978945, -0.0200259294, -0.0103142401, 0.0377278253, 0.0520091951, 0.0040977453, -0.0039455388, 0.036495503, 0.0188338663, -0.0632152408, 0.0003745128, 0.0207718965, 0.0085684396, 0.0115674064, -0.0077594845, -0.0321515985, -0.0063194125, -0.0191253107, 0.0015271392, -0.0002063999, 0.0132889599, -0.0830003619, -0.0229063276, 0.004384425, -0.0108114667, 0.0773449689, 0.0315859318, -0.0361349806, 0.045474194, -0.0262504593, 0.0039916108, 0.0104782814, 0.0839169919, -0.0258639492, 0.012904536, -0.0269414056, 0.0190475136, -0.0615850501, 0.0083592134, 0.0230745301, -0.0100101801, -0.0360936709, 0.0041316408, 0.0091240974, -0.0228514094, 0.0044626668, -0.0398023613, -0.0464635603, -0.007788918, 0.022891283, 0.0270645041, -0.0225627013, 0.0428480729, -0.0165907424, -0.0569689199, -0.0237458609, 0.0233563837, 0.0161058232, -0.0147365453, 0.0285235979, 0.0491983742, 0.0023398208, -0.044475954, -0.0612691268, 0.0095964661, -0.0080995848, -0.0712681264, -0.0184913017, -0.0492835268, 0.0150610395, -0.0028922057, 0.0235531777, -0.0438158624, 0.0059119258, -0.00925407, -0.0792234093, 0.069408603, -0.0300036222, 0.0375217907, 0.0054018893, -0.0284994822, 0.0126046268, 0.090206556, 0.0484367386, -0.0110444454, 0.0404353514, -0.0199538115, -0.0042226193, 0.0831627846, 0.0308991168, 0.0514520109, -0.0405920148, 0.0032914474, 0.0302086659, -0.0126594352, 0.0221509282, 0.0224345699, -0.0526658818, 0.022467332, 0.0742857605, 0.0187258441, 0.0217296984, 0.0119111948, 0.013191916, -0.0074489154, -0.004643213, -0.013287643, -0.0533937514, -0.0244836528, -0.0308511797, 0.002668879, 0.0264192894, 0.0238419138, -0.0519354753, 0.0030851064, 0.0112092942, -0.0028421341, 0.0180128235, 0.0065911086, 0.0614557452, 0.0245371386, -0.034993019, 0.0857765526, 0.0517915599, -0.0268605892, -0.0136785712, -0.0603413954, -0.011290729, 0.0252527576, 0.01493413, -0.0238531902, -0.0252117831, -0.0084377714, 0.0805168822, -0.015250694, 0.0360657498, 0.0157454833, 0.0321606956, -0.0675695091, -0.0266259424, 0.024791576, 0.0134621654, 0.0146579742, 0.0182856563, 0.0195646398, 0.0149035482, -0.0560715124, -0.058510974, 0.0460977592, -0.0103622572, -0.0058683921, -0.0035940709, 0.0092003355, 0.0219292827, -0.039375212, -0.0420382582, 0.0064770547, 0.023725139, 0.0074407649, 0.0496664047, -0.0218762737, -0.030124845, -0.0136498371, 0.0288839117, -0.0004378106, 0.016135186, 0.0299260896, -0.0694916844, -0.0305644274, -0.0363634117, 0.0015958685, 0.0233033579, -0.046304211, 0.0360484384, -0.0341404192, 0.0432083569, -0.0359243974, 0.0256979093, -0.0065934719, -0.0152940983, 0.0055464655, 0.0186855271, 0.0174676906, -0.0237616431, -0.0426075906, 0.0127860261, -0.0257362612, 0.027068574, -0.0113267349, 0.0258824714, -0.0218350403, -0.0354730599, -0.0533211753, 0.0036096249, -0.0543002561, 0.0262694322, 0.0229925364, -0.0104981065, -0.0406421348, -0.0200730953, 0.000804297, 0.0303695574, -0.012621671, 0.0173906311, 0.0126703409, 0.0140387928, -0.0120580429, -0.0278695151, -0.0105971741, 0.0306412075, 0.0498994887, -0.0569181964, -0.0073038521, -0.0700458214, 0.0499623232, -0.0032854727, 0.0341263264, -0.0282382518, -0.0544531085, -0.0413814597, -0.0252637323, -0.0053254738, 0.0365649685, -0.0018602156, -0.0082736639, 0.0403389037, -0.0173487682, -0.0267743655, 0.0029554842, -0.0209138207, -0.0628508106, -0.0527024306, 0.0070592733, -0.0269365385, 0.034580186, 0.0052476325, -0.0097401002, -0.0451920405, -0.0158457905, 0.0018840536, -0.0050900495, -0.0073247976, 0.0032498208, -0.0288568158, 0.0186258741, -0.0256538801, -0.0643118024, 0.0520721227, -0.0547991917, 0.0050653899, -0.0125590209, -0.0307754297, -0.0276114698, 0.0248565525, 0.0004741114, 0.0042799879, 0.0209868215, -0.0140402801, -0.064347975, -0.0359016396, 0.0348901376, -0.0192260314, 0.0329933092, -0.0324585177, 0.0324845836, -0.0222259536, -0.0367007591, -0.0062127318, -0.0703760087, -0.0140267918, 0.0063287225, 0.0131418006, -0.016372133, -0.0039478089, 0.0571440645, -0.0189949144, 0.0702554137, -0.0333086587, 0.0057853856, -0.0123983016, 0.0094180191, 0.0588623695, 0.0087101366, -0.0006446562, -0.0534268096, -0.0254848842, -0.0047846604, 0.0173896328, 0.0050166943, -0.0415072292, 0.0229342598, 0.0242091119, 0.0022719298, -0.0162767842, 0.0339123793, 0.0495541394, -0.0491276681, -0.0444035009, 0.0908290148, -0.0172013585, -0.0275078658, -0.0031635463, 0.0424029715, 0.0593865924, 0.0207744278, 0.027652476, -0.026264241, -0.0384157859, 0.0177331213, 0.051666759, 0.0247104056, -0.0150119122, 0.0056764232, -0.0989068151, 0.0216315538, 0.0389679559, -0.0536999404, -0.0199100692, 0.0012955548, 0.0230747871, -0.0204224586, -0.0093741631, 0.0054732226, -0.0222997982, -0.0135860499, 0.0463204533, -0.0287985317, -0.0676398799, 0.0073463097, -0.053149499, 0.0196287893, 0.0724419728, 0.007602843, -0.0060069771, 0.0166644454, 0.041751992, -0.003617001, 0.0099048773, 0.0025183349, 0.0421545655, -0.0196711849, -0.0309478156, 0.0597588122, 0.0560914092, -0.0017056993, 0.0051421062, 0.0074354578, 0.0235080644, -0.0186118837, -0.0002521051, 0.0149243306, -0.001501831, 0.0302891545, 0.0335367359, 0.0361827686, -0.0272038989, -0.0037261012, -0.0102402568, -0.0016404986, -0.0237891097, -0.0191987194, 0.0039993138, -0.0169636048, -0.0166591313, -0.0497683771, -0.0062041054, 0.0049142241, 0.0648667812, 0.0047190539, 0.0203398187, 0.0009440869, 0.0271533467, -0.0290258322, 0.0210484695, -0.0681251064, 0.0078473883, -0.0351516642, -0.0156424176, 0.062223684, -0.0085701942, -0.0296660941, 0.0208033528, -0.1061726734, -0.084036544, -0.0077449419, 0.0759473741, 0.0176939536, 0.0400022119, -0.0163103789, -0.0852563456, 0.0807776973, 0.0232751258, -0.0238546059, 0.0231256429, 0.0496217757, -0.0646627024, -0.024358483, 0.0300621446, -0.0523527116, 0.0088299206, 0.0527051836, 0.0238412414, -0.029242659, -0.0447657555, -0.0375406519, 0.0054673892, 0.1068057492, -0.0278326198, -0.0120442249, -0.035736084, 0.0460674316, 0.0225887075, -0.0101326797, -0.039969787, -0.004164061, 0.0302131288, -0.0171132479, -0.0421618931, -0.008173232, 0.0226705521, 0.0241498351, -0.0371564068, 0.0398206934, 0.0153699564, 0.0185274761, 0.0464024246, 0.0123562627, 0.0000858109, 0.0392198972, 0.0343210027, -0.0006950681, -0.0458510108, 0.0303325765, 0.0266635939, 0.0411338992, -0.0285679381, 0.0058291126, -0.0243290588, -0.0708458945, -0.0691680983, 0.0183428992, 0.0498009697, -0.0161715616, 0.0529005788, 0.0057957168, -0.0227485839, -0.0413190164, 0.0246211514, -0.0088408962, 0.0017967694, 0.0303324871, 0.0036225445, -0.0301182289, 0.032124918, 0.0832335055, 0.0252717547, 0.0720838606, -0.0006935195, -0.005276558, -0.029166054, -0.0123753529, 0.0251034442, -0.005701845, -0.0038678814, -0.0012400006, -0.0081202174, -0.0743896365, -0.0128266998, -0.0292107072, -0.0020084262, -0.0004882343, 0.0446137041, 0.0537624136, -0.0162676591, 0.0447915532, -0.0288109668, -0.0408098027, 0.0344745256, -0.0017654087, -0.0076601473, -6.751420947e-33, -0.0232795663, 0.0286714677, 0.0009742936, -0.0285477918, -0.0163021833, -0.0195497181, -0.0161840562, 0.0059894579, -0.0254554879, -0.0090506496, -0.0190566648, 0.0005599814, 0.0268318653, 0.0353351533, -0.0454748012, -0.0070821652, 0.0373371355, -0.022594396, -0.0329427384, 0.0199278649, 0.0114847906, 0.0651562884, 0.0579925962, -0.0492274351, -0.0325780176, 0.00665962, -0.0534408614, 0.0026346769, 0.0068353764, 0.0403243341, 0.0108675314, 0.0355113298, -0.0043345853, -0.0313219838, -0.0535851121, -0.0182758942, -0.0819840133, -0.0229641385, 0.0253149197, -0.0027012809, 0.0304834135, -0.0055852667, 0.06666217, -0.0161937289, 0.0083525386, -0.0068749199, 0.0179907605, -0.0577840433, -0.043909166, -0.0412687734, -0.0289461073, 0.0479871519, 0.0000708844, -0.0257045254, 0.0408406481, -0.0195900202, -0.0190967377, 0.0278322771, -0.0243958123, 0.0133051295, 0.0665822178, 0.0357216746, 0.0304038506, 0.0469728373, 0.000958891, 0.0271158237, -0.012962549, -0.0025982826, 0.0414159745, -0.0190717392, 0.0778264329, 0.0764420107, 0.0028683355, 0.0446939282, -0.0128725814, -0.0331567228, -0.1036345735, 0.0174001344, -0.0342000611, 0.0048213066, 0.0449796095, 0.0368779674, -0.0159886274, -0.0488627851, -0.0819911137, -0.0302134268, -0.0148178171, -0.0043335864, 0.0377639569, 0.0361846574, -0.0403599851, 0.0047732159, 0.0554002821, -0.0402298085, -0.0268949177, 0.0180040486, -0.0459847227, -0.0101768291, -0.0199819189, 0.0159055665, -0.0447777808, -0.090468213, 0.0177170727, -0.0136037171, 0.0236572959, -0.0315258466, 0.0693572462, 0.0505084246, -0.0667851418, 0.0013926697, 0.002075834, 0.0159882642, 0.0102941701, 0.0706724897, 0.0321842469, -0.0143154999, 0.0165225826, 0.0556193739, 0.0024609806, -0.0264015123, -0.0013483074, -0.0093537653, 0.018901201, 0.0553926267, -0.0309907421, 0.0290707983, -0.0207061376, -0.0023457506, 0.0728653595, -0.0370986052, -0.0232644491, 0.034122657, 2.692e-7, 0.0637175366, 0.0369030572, 0.0052781045, -0.0098099075, 0.002449906, 0.036973536, -0.0533131361, 0.0282621793, -0.0006741459, 0.0111732557, 0.0537410639, 0.0440709256, 0.0801477656, -0.0086225383, -0.0706429929, -0.0151750837, -0.0685584024, 0.0614018738, -0.0454175286, -0.0488770455, 0.0030131824, 0.1073818207, 0.0167784877, -0.0073836786, -0.0013183255, -0.0459957868, 0.0557074994, -0.0626129881, 0.0260348171, 0.0382052734, -0.0328295231, 0.0769099742, -0.030586075, 0.0084603792, -0.0258298237, 0.0389614068, 0.010924465, 0.0826632231, -0.0060868617, 0.0021723011, 0.0270449724, 0.0278187357, -0.010724023, -0.0477642938, 0.078504324, -0.1096529588, -0.0148655381, -0.0289231073, -0.0059685139, -0.0385241471, 0.0149507523, -0.0437022895, -0.0043432494, 0.046978265, 0.0395096242, 0.003680604, -0.0344985537, -0.1011516377, 0.0009221514, 0.0100953076, -0.041266799, -0.0495484099, -0.0352395624, -0.0222224649, 0.0179466289, -0.0441287905, 0.0331253968, 2.818967237e-34, 0.0456900224, -0.0501618311, 0.0110404054, -0.0209297668, 0.0359198004, 0.003800879, 0.0293044951, 0.024797665, -0.0149894021, -0.087542139, -0.0217335913 ]
http://arxiv.org/abs/2310.06555v2
http://arxiv.org/pdf/2310.06555v2
It's About Time: Temporal References in Emergent Communication
2023-10-10T12:10:40
2024-05-03T09:44:44
Olaf Lipinski, Adam J. Sobey, Federico Cerutti, Timothy J. Norman
cs.CL
cs.CL, cs.AI, cs.LG, cs.MA
Emergent communication studies the development of language between autonomous agents, aiming to improve understanding of natural language evolution and increase communication efficiency. While temporal aspects of language have been considered in computational linguistics, there has been no research on temporal references in emergent communication. This paper addresses this gap, by exploring how agents communicate about temporal relationships. We analyse three potential influences for the emergence of temporal references: environmental, external, and architectural changes. Our experiments demonstrate that altering the loss function is insufficient for temporal references to emerge; rather, architectural changes are necessary. However, a minimal change in agent architecture, using a different batching method, allows the emergence of temporal references. This modified design is compared with the standard architecture in a temporal referential games environment, which emphasises temporal relationships. The analysis indicates that over 95\% of the agents with the modified batching method develop temporal references, without changes to their loss function. We consider temporal referencing necessary for future improvements to the agents' communication efficiency, yielding a closer to optimal coding as compared to purely compositional languages. Our readily transferable architectural insights provide the basis for their incorporation into other emergent communication settings.
[ 0.0565714315, 0.0438242145, -0.0693929344, -0.0025764261, -0.0329728276, -0.0327152424, 0.0023707147, 0.0196572971, -0.0263000019, -0.0096496101, -0.0010055418, -0.0398440845, 0.0550917424, 0.0503334887, 0.0100622419, -0.0261881594, 0.0467681661, -0.016437931, 0.0068617295, 0.0062837088, -0.0304706562, -0.0411854535, -0.0016994906, 0.0375101566, -0.0006099796, -0.0085172262, -0.0724474043, -0.0458073132, 0.0019529375, -0.0432082787, -0.0391643941, -0.0147776399, 0.0207259115, 0.0058970181, 0.0000018715, -0.0331121385, 0.0428538807, -0.0309610516, -0.035541445, 0.0088734543, 0.0232498012, 0.0248407274, -0.0061837975, -0.033988189, -0.0648142993, -0.0617349148, 0.0710505769, -0.0262507815, 0.0287418943, 0.0546329878, 0.0082226377, -0.0120591177, 0.0341305435, -0.0061740871, 0.0021168445, -0.0404188856, -0.0003504052, -0.0192765966, 0.0679034218, -0.0173917729, -0.0387278982, 0.0233902708, 0.0310376789, -0.0031769832, 0.0588113219, 0.0784132406, 0.0309862047, -0.0315171368, -0.0274808425, 0.0392056853, 0.0382222719, -0.024816025, 0.0050358148, 0.0245347768, 0.0157817621, -0.0598326512, 0.0138186347, 0.0144857857, -0.0026327071, 0.0150630036, 0.0289429761, 0.0155049209, 0.0186540335, 0.0025035222, 0.0473232642, 0.077148512, -0.0123884808, -0.0177423954, -0.0412188582, -0.0208791159, 0.0728471801, -0.0982886404, -0.0163309965, 0.0437741205, -0.0192374066, 0.0235511959, -0.0334691256, 0.0491296276, -0.0256265458, -0.0607665703, 0.009669573, 0.0041918289, 0.0246543717, 0.0231226962, -0.0085575618, 0.0618573055, -0.0118605141, -0.0330041014, -0.0255299453, 0.0223645549, -0.0632109046, -0.016656097, -0.033266712, 0.0527532957, 0.0107552316, -0.0114873657, -0.0196056738, 0.0638384521, -0.0103051662, -0.0256678741, -0.0516932942, -0.0177942254, -0.0444259681, 0.0240011085, -0.0585208796, -0.0249211658, -0.043551594, 0.0082374783, -0.0042129098, -0.0543752611, -0.0198495705, -0.0112496624, 0.0112709887, 0.0004353331, -0.0524831191, 0.0754843578, -0.0269619524, -0.024175657, -0.0268818028, -0.0083812987, -0.0257874206, -0.0276995096, 0.01469051, -0.01734812, 0.0256243851, -0.0240841638, -0.0315392911, -0.0108623747, -0.0115276519, -0.0472282581, -0.0270795897, 0.0704246685, -0.0230170973, 0.0381936729, 0.0088112755, 0.0041493946, 0.052365426, 0.0418267138, 0.0681770518, -0.041293513, -0.0087197116, 0.004954421, -0.0331729241, -0.0002950737, 0.0286461432, -0.0255818088, 0.0213495791, -0.0207083449, -0.0043165484, 0.0725083128, -0.0029991127, 0.0423563197, -0.032570146, -0.0268691275, 0.0613920689, 0.0168052167, 0.0184593573, 0.0220196899, 0.0649110228, 0.0206492189, -0.0227039214, 0.0073197605, -0.0017231617, 0.0508438312, 0.0210611392, -0.0117974365, -0.000668718, 0.0141722681, -0.04122857, -0.0301627535, 0.0192955732, 0.0046296534, 0.0184212327, -0.0421159752, 0.0085561462, 0.0494610071, -0.0137530584, 0.0192290042, 0.0114662535, 0.0013324823, 0.0176615529, -0.0550679564, 0.0497128181, 0.0403038934, 0.0125448341, 0.0118577471, -0.0369715765, 0.0277295504, 0.0128963292, 0.0546190292, 0.043340113, -0.0446785241, 0.041637402, -0.0032571461, -0.0126931928, 0.0005233751, -0.0334153771, 0.0213004202, -0.0244149324, 0.0415944606, -0.0414563119, 0.0174865425, 0.0246222932, 0.0246973485, -0.0088717304, -0.0215427913, -0.015135088, 0.0085535627, 0.0469382145, -0.0093785189, -0.0236515123, 0.0271015409, 0.0143918665, 0.010339288, -0.0145081915, 0.1128058285, -0.0589128286, -0.0232006181, 0.0205051247, -0.0071970546, 0.0261528175, -0.0416657068, 0.0249959026, -0.0182680786, 0.1124462411, -0.0619435608, 0.1021178961, 0.0128262006, 0.0307196788, -0.0309445858, 0.0082592964, -0.0007354775, 0.0444488674, 0.0074757966, -0.0489159711, -0.014699664, 0.0254729819, -0.0045507038, -0.0380736776, 0.0272771753, 0.0347499736, -0.0115811303, -0.0089547094, 0.0416458026, -0.0154149281, -0.0514297746, -0.0487831086, -0.0360426567, -0.0298356675, 0.027365217, 0.0162698422, -0.0142468186, -0.0199513603, 0.0148164695, 0.0019839723, -0.022889901, 0.0589483418, -0.0165303014, 0.0414766558, 0.0515445061, 0.0601969697, -0.0568344034, -0.0265728515, -0.0058269845, -0.0219969675, 0.0369360298, 0.0220905561, -0.0501793995, -0.0804755166, -0.0119456528, -0.0301345494, -0.0177158825, -0.025405677, -0.0217388738, 0.0336300023, 0.0097006345, 0.0576387234, 0.0451480411, 0.0067845793, 0.0838243812, 0.0756732896, -0.0757866874, -0.0320929252, 0.0288657956, -0.025523955, -0.0090917097, -0.0827248842, -0.0307500921, 0.0103950649, 0.0853909478, -0.0143929301, -0.0111177294, -0.0548266806, 0.0533452444, -0.001099484, -0.0703895241, 0.0034507809, -0.05809021, -0.0179330967, 0.00555566, -0.0485249534, -0.0106701618, 0.0685042515, 0.0260761622, -0.0056489129, 0.0105769522, 0.0009112143, -0.0103120776, 0.0858278126, 0.0219326969, -0.0220197961, 0.0908764228, -0.0208308939, -0.0705543235, 0.0037596377, 0.0677129626, 0.038077455, -0.0144085661, -0.0803398937, 0.0092368042, 0.0022798385, -0.0545124374, 0.0000454647, 0.0001493198, 0.0142744733, 0.0143445628, -0.0235727616, 0.0153390681, -0.0628278553, 0.0111171873, -0.0035576264, -0.0263523757, 0.015207353, -0.0421605967, -0.0232486352, 0.0054873554, 0.0245274715, 0.0449135117, 0.0194677915, -0.0083051901, 0.032997936, 0.0197033491, 0.0593549795, -0.0030337763, -0.0335341878, 0.0132696424, 0.0164167732, -0.0092533194, -0.0526183359, 0.0402773321, 0.0293721929, -0.0554556809, -0.0353178456, 0.0256555583, 0.0152074462, 0.0102605559, 0.0256339759, -0.0158865545, 0.0168330669, -0.0026921856, 0.0204437617, -0.0756975561, 0.0173620768, -0.0019733142, -0.0396518148, -0.057194069, -0.0366571136, -0.0262563508, -0.0815343484, -0.0184536409, 0.0127975624, -0.0570747778, 0.0224674828, -0.0053105298, -0.02689212, 0.0194087904, -0.0220683981, 0.0279599633, 0.0241715498, 0.0131437471, 0.0141165527, -0.0226677619, 0.0058403658, -0.0253685545, -0.0352238417, 0.1426421404, 0.0352187864, 0.0743619204, 0.0033549671, -0.042294465, 0.0107947262, -0.0091382042, 0.0035594332, -0.0167102031, 0.0267130062, 0.0255140252, -0.0030274354, 0.0153593561, -0.0427688174, 0.0214915723, 0.0054445714, -0.0026997637, 0.0816322342, -0.0200013667, -0.0698569119, -0.0104694925, 0.0242064912, 0.0414442755, 0.012567848, 0.0083898222, -0.0458623208, -0.0582260154, -0.0050121979, -0.0070435801, -0.0512427166, -0.0565186217, -0.031295564, -0.0128771681, -0.0525158942, -0.117284663, -0.0509148762, -0.0577980988, 0.0057865959, 0.0256228074, -0.0144481994, 0.0117396573, 0.0060830871, -0.0240608584, -0.0414453521, 0.0017578695, -0.02763387, -0.0296821073, -0.043185506, 0.0243094638, -0.041531384, 0.0094171623, 0.0428933538, -0.0400785133, -0.0547165386, 0.025186358, 0.0252135377, 0.0145394355, 0.0305083487, 0.0180280749, -0.0593266301, 0.0541950502, 0.0066041173, 0.0492653698, 0.0449830107, 0.018415343, -0.0067975568, 0.0167855322, 0.036655318, -0.0332599543, -0.0005828725, 0.0008502065, 0.0323958881, -0.0186067168, 0.0359876752, 0.008943161, -0.0443641767, -0.0016738976, 0.0108305803, -0.0129275499, 0.006524391, 0.0070063462, -0.0066706208, 0.0132211773, -0.0357477926, -0.016095629, -0.0171334371, 0.063318111, 0.0326339118, 0.0060002068, 0.0259882715, 0.0134162698, 0.0682688355, 0.0147996154, 0.0482011922, 0.0603640303, -0.0056292848, 0.0580155775, 0.0186104532, 0.0614071563, -0.0168960914, 0.0360645801, -0.0079609929, -0.0141638229, 0.0283074658, -0.0334107392, 0.0284501687, 0.0148616321, -0.0572154932, 0.0080375616, 0.062888436, -0.0316496007, 0.0501401313, 0.0215991251, 0.0380814411, -0.0528093129, 0.0113673145, -0.0158996694, 0.0031798491, 0.0044502406, -0.0897524208, 0.0058570621, 0.0184169896, -0.0206708275, 0.0197063703, 0.0507764593, 0.025554724, 0.0570765771, -0.027394373, 0.0115143834, 0.0020427054, -0.0036256982, -0.0681815073, 0.0037137161, -0.0082989465, 0.0334640145, -0.0438629426, -0.0051010801, 0.0399997272, 0.0309149772, 0.0342209637, -0.0277339667, 0.0446576513, 0.0258879736, 0.0259662159, -0.070625037, -0.029039273, 0.0004973744, -0.0002680698, 0.0045873942, -0.0285982341, -6.131892813e-33, -0.0387682617, -0.0322609469, 0.0664344355, 0.017211223, -0.0434799902, 0.0159197859, -0.0697821826, 0.008778465, -0.0382250249, 0.0014042527, -0.0048004398, 0.0272134226, 0.0156019693, -0.0240457784, 0.0261657517, -0.025493063, 0.0208735429, -0.0368838049, 0.0146808634, 0.0262778718, 0.0259761196, -0.0102515751, 0.0431753695, -0.0343718678, 0.0052179191, 0.0738926083, 0.010615143, 0.0287526827, 0.0159441624, 0.0215203352, -0.0050002849, 0.0193314534, 0.0106193563, -0.014736806, -0.0205516759, -0.0100178085, -0.0656036139, -0.0534235947, 0.0138350157, -0.0034402532, -0.0443173051, -0.0685145184, -0.0010739811, 0.01724126, -0.0423549414, -0.0217213444, 0.0214181691, -0.0215230938, -0.0355461016, -0.0221451893, -0.0576689281, 0.0154123809, -0.022043135, 0.0054673492, 0.035794396, -0.003550079, 0.0044520916, -0.0701641217, -0.0508268587, 0.0879616812, -0.0054821097, 0.0198466517, 0.0061354893, 0.0355822518, 0.0593817011, 0.0191532485, 0.0872045979, 0.0682364479, -0.0125845009, -0.005016455, 0.0303365886, -0.0011686923, 0.0098888176, -0.0044002878, -0.0162153468, -0.0236571934, -0.0139642209, -0.0267392378, 0.0749496147, 0.011240744, -0.0087675182, 0.0242748428, -0.0235578939, -0.0141563891, 0.0034011097, -0.0070974263, -0.0025248742, -0.0226461627, -0.0074320519, 0.0151016396, 0.0613883585, 0.0025703015, 0.0282323435, -0.0311368145, -0.0242874883, -0.0410358794, -0.0065565752, 0.0362029523, 0.0171353277, -0.00754906, -0.0630551204, -0.0186137948, -0.0010565694, 0.0275487993, 0.0407959707, 0.0198249761, -0.0189967453, 0.0499616675, -0.0329505764, -0.0173627529, -0.0046803132, -0.0108656287, 0.0293950085, -0.0910772458, 0.0071011656, -0.0013759462, -0.0102841239, 0.0059276908, 0.0418342315, 0.0172110647, -0.0392169505, 0.0701977909, -0.0332221463, 0.0324932113, -0.0303319935, -0.0020919968, -0.0835715905, 0.1089175865, 0.0100031402, -0.0565038882, -0.0379143693, -0.0139335971, 2.872e-7, -0.0326201767, 0.0294186082, 0.03258086, 0.0294180848, 0.0499687791, -0.0044437405, -0.021470163, 0.0189469047, -0.0290481448, 0.0175414961, 0.0292042084, 0.0089114122, 0.0119338287, 0.0191933718, -0.0554088727, -0.0129609164, -0.0871943906, -0.0033567315, -0.0244194791, -0.0108834263, 0.0062845438, 0.0281513389, 0.0453339778, 0.0166634694, -0.0227503758, -0.0340597518, 0.0313262492, -0.0113380561, 0.03623835, 0.056471847, -0.0354090258, -0.033312697, -0.0502554029, -0.0227404702, 0.0018550286, 0.0066484222, -0.0601872616, -0.0239169672, -0.0105866855, -0.0485918149, 0.024872005, 0.0127122467, -0.0313707553, 0.0200517271, 0.03998987, -0.0647526979, -0.0591901429, 0.0352760069, 0.0190397315, 0.0102506848, -0.0506964773, 0.0104079535, -0.0363828428, -0.0090234727, -0.0104569038, 0.0196153, 0.010310173, -0.0781836584, 0.0065844157, 0.0301374868, 0.0008862705, -0.0623481199, -0.0465489253, -0.0006676331, 0.0421888828, -0.0027870529, -0.0007129824, 2.029921016e-34, -0.0142601468, -0.0217542406, 0.021371875, 0.0062578246, 0.0197800938, -0.0141716804, 0.0201031137, -0.0009407458, 0.0954866856, -0.0200975891, -0.0338087082 ]
http://arxiv.org/abs/2310.06552v3
http://arxiv.org/pdf/2310.06552v3
Automated clinical coding using off-the-shelf large language models
2023-10-10T11:56:48
2023-11-13T12:38:00
Joseph S. Boyle, Antanas Kascenas, Pat Lok, Maria Liakata, Alison Q. O'Neil
cs.AI
cs.AI, cs.CL, I.2.7; I.2.8
The task of assigning diagnostic ICD codes to patient hospital admissions is typically performed by expert human coders. Efforts towards automated ICD coding are dominated by supervised deep learning models. However, difficulties in learning to predict the large number of rare codes remain a barrier to adoption in clinical practice. In this work, we leverage off-the-shelf pre-trained generative large language models (LLMs) to develop a practical solution that is suitable for zero-shot and few-shot code assignment, with no need for further task-specific training. Unsupervised pre-training alone does not guarantee precise knowledge of the ICD ontology and specialist clinical coding task, therefore we frame the task as information extraction, providing a description of each coded concept and asking the model to retrieve related mentions. For efficiency, rather than iterating over all codes, we leverage the hierarchical nature of the ICD ontology to sparsely search for relevant codes.
[ 0.0112552531, 0.0765467659, 0.029977927, 0.0032314656, -0.0193925202, 0.0469417311, 0.0168587882, 0.041399736, -0.0076046917, -0.0189151168, 0.0064906166, -0.0634180456, -0.0153435757, 0.0668207482, -0.0213327594, -0.0100836754, -0.0038280063, -0.0017674845, 0.0198885985, -0.0148990648, -0.0587779991, 0.0178675465, -0.0054514511, 0.0421833582, -0.0183823258, -0.0109094419, 0.0097623263, -0.0207616892, 0.026335014, -0.0732208416, -0.0114378948, 0.0553417876, 0.0092061339, -0.0091888886, 0.0000017774, -0.0522917993, -0.0256993938, 0.0175916478, -0.0604793392, -0.0489272438, 0.0175097696, -0.0625358075, 0.0137875723, -0.0131532531, -0.029976286, -0.0944649801, 0.0698136613, 0.071089901, 0.0159036722, 0.0635311753, -0.0104817338, -0.0234115589, 0.0484126285, -0.0264510158, 0.0532602519, -0.085240379, 0.0811858699, 0.0416700058, 0.0225078948, 0.0145601183, -0.0079641128, 0.0423373058, 0.0140761007, 0.0069459402, 0.022272896, 0.0690765306, -0.0213378109, 0.0136092957, -0.0030353889, 0.0673725754, -0.0247539077, -0.0119841052, 0.009398262, -0.0100061195, -0.0423293412, -0.0539229773, -0.0274467841, 0.0165395122, 0.0013027687, 0.0110974284, 0.0171082728, 0.0218661223, 0.0364814252, -0.0176264923, -0.0348359421, 0.0043331203, 0.0096286014, -0.0052015153, 0.0150346877, -0.0010599792, -0.0261499397, -0.0496667735, -0.0169846881, 0.038709525, -0.0219359342, 0.0089963954, -0.0381569266, 0.0040953583, 0.0303534027, -0.0432148911, 0.0054857228, 0.0071529322, -0.0161247533, 0.0477073155, -0.0135480594, -0.012373738, -0.0244580451, 0.0108979149, -0.0532738008, -0.0203939807, -0.0691498742, 0.0113884956, -0.0323445313, 0.0358473361, 0.0314857177, -0.0067886794, -0.0655144528, -0.0088895513, 0.0069130831, 0.0020164298, 0.024842117, 0.0532394424, -0.0344645493, 0.0005160426, 0.0049520941, -0.0175153706, 0.0217697881, -0.0057814713, -0.0172171891, -0.0434178784, 0.0232262537, 0.0373944528, 0.0331821144, 0.0061705587, 0.014351177, 0.039305035, 0.0074836039, -0.0213729795, -0.0253238622, -0.0228610486, -0.0292059295, -0.0028686505, 0.027196547, -0.0515396371, 0.0142430756, 0.0053783804, 0.0215625502, -0.0847753808, 0.0151969083, -0.0329748243, -0.0587179288, 0.07311216, -0.0683356375, -0.0051424601, 0.0023719266, 0.0225279648, 0.0417518355, 0.0303670876, 0.0254834853, -0.0249577761, -0.0032658693, -0.046002239, 0.0367388204, 0.0223465264, -0.0053892815, -0.0290632378, -0.0063520782, 0.0249887146, 0.0103151454, 0.0689000785, 0.0264464151, 0.0245197508, 0.0091106286, -0.0193005856, 0.0025792727, 0.0659548864, 0.0302796047, 0.0220829956, 0.0474772118, -0.0148570044, -0.041747909, -0.0727357268, 0.0023577134, 0.0192479882, 0.0611061156, 0.0139888572, 0.0153876869, -0.0433709174, -0.0354791693, -0.0381817333, -0.017832635, -0.0103307478, -0.0512540266, 0.0036094121, 0.0687624514, -0.0076839789, -0.0158561151, 0.0474700257, 0.0404908955, -0.011266131, 0.0006380038, -0.0742111281, -0.0169326663, 0.061762128, 0.0497499332, -0.0286377855, -0.0349166133, -0.0182522722, 0.0142915118, 0.0181113183, -0.0068244734, -0.014318957, 0.019906193, -0.0498815663, -0.0128476573, 0.0575748086, 0.0147061059, 0.0045160865, -0.0034974422, -0.0147579946, -0.0141052222, -0.0095725982, -0.0416943654, 0.0258543994, -0.0475475937, -0.0515618511, 0.0356667116, 0.0001106806, 0.0391625501, 0.0073719961, -0.028759554, 0.0120005645, 0.0203714184, -0.0427954309, -0.0471918099, -0.0639016032, -0.042079825, -0.0137074962, 0.0096438713, -0.0269446727, -0.0033126464, -0.017978292, -0.0441100188, -0.020912705, -0.0403936282, -0.0112837516, 0.0529749729, -0.006083454, 0.0118905846, 0.0534402579, -0.0241193697, -0.0249363873, 0.0352072939, -0.0228828881, 0.0141133033, -0.0129003283, -0.0025539764, 0.0218622349, -0.0107211852, -0.0035634006, 0.0267362539, -0.0423442461, 0.0343485475, -0.0227225665, 0.0361994579, 0.0126060285, 0.011548209, -0.1241269037, -0.010437604, 0.0157946292, -0.0248218868, 0.0226602219, 0.0320722573, 0.0035674179, -0.012894759, -0.0558635332, 0.0015215254, 0.0075000864, -0.0127932858, 0.0214207377, 0.0346865728, -0.0139231747, -0.0065267608, 0.0048074578, -0.0344566964, 0.0400087535, 0.0087217269, -0.0038521087, -0.0184222907, 0.0499778949, -0.027248973, 0.0176925454, -0.0060365847, -0.0280538835, 0.0145307165, -0.0366664119, -0.0103622833, 0.0239208192, -0.0109013803, 0.016355738, 0.029352013, -0.0007939975, -0.009403592, 0.0049783075, -0.0498940311, -0.0609576404, -0.0054771714, -0.0372657552, 0.0021167002, 0.1034906656, 0.0299534034, -0.0111903809, -0.0455552824, -0.0249379128, -0.0187499281, 0.0101530226, -0.0625334531, 0.0347416922, -0.0167144947, 0.077982001, 0.0191818327, -0.0398496464, 0.0620921925, -0.0153565649, 0.0247216746, -0.0256934073, -0.0305224564, -0.0485734791, 0.044971548, -0.0285814628, 0.0383374915, 0.0407821015, -0.0437416434, 0.0229296051, 0.0309663564, -0.0431223847, -0.0496429317, 0.0639288127, -0.0059355004, 0.0459195487, 0.0010620591, -0.0544775166, -0.0475933179, 0.0174975768, 0.0030348825, 0.0291953851, 0.0397346243, -0.0053548282, -0.0337937772, 0.0470264293, -0.0348251015, 0.0661837459, 0.02965861, -0.0113787428, -0.0098432964, 0.0185970366, 0.0281652901, -0.0162011851, -0.0164839979, 0.0199563745, -0.0137556344, 0.0378788598, 0.0039471267, 0.0527612865, -0.0353060588, 0.0439723805, 0.0180370864, -0.0308271199, 0.0267592147, 0.0440651216, -0.0041145026, -0.0280824788, -0.0131250164, 0.1221715435, 0.0205235388, -0.0958056524, 0.0131420037, -0.0084135346, -0.0500145555, -0.0153159536, 0.0006712399, -0.0635357574, -0.0176061746, -0.0037885231, 0.0014308001, -0.0127236703, -0.0545698069, 0.0326447152, -0.0448795147, 0.0496834964, 0.0084968358, -0.0213143453, -0.0664544553, -0.037299946, -0.0041850284, -0.0180107765, -0.0420585833, -0.0092629036, -0.01004712, -0.0290976241, -0.0020788666, -0.0619520731, -0.073201485, 0.0625057518, -0.0292731784, 0.070088394, 0.0941512957, 0.0220990591, -0.0227649789, 0.0205157436, 0.0012614109, 0.0088748205, -0.0220599752, -0.0180157889, 0.0660315529, -0.0178973172, -0.0234849621, -0.0231304262, 0.0461679697, -0.0808821544, -0.0126319602, -0.0163849872, 0.0628256053, -0.0296346843, -0.0464604311, -0.0189961568, 0.0014618045, 0.0285018831, 0.0621613674, -0.0112113114, -0.029420102, 0.013046721, -0.0138035417, 0.0528390072, 0.0042254175, -0.0349712744, 0.0341017731, -0.0531055778, -0.0852783173, -0.0498846769, -0.0140640307, 0.0708793402, -0.0003831713, 0.0119223399, -0.0012088959, 0.0229937788, -0.0180423427, -0.0576484688, 0.0279304571, -0.0367299616, -0.0238374453, -0.0849974975, -0.0308538228, 0.076788038, 0.025760198, -0.0416969843, 0.0164220333, -0.004457863, 0.0036870567, -0.012375949, 0.0339570232, 0.0171240605, 0.0109985108, -0.0123957284, -0.0242722072, 0.0140431887, 0.0295947827, -0.0055574975, -0.0287336912, -0.022857476, -0.0154504748, -0.005637798, 0.0312425699, -0.0409579054, 0.0804116502, 0.0246442314, 0.0180697776, -0.0378836803, -0.037223801, 0.0315919966, -0.0060017277, 0.0437467471, -0.0211272258, -0.0442694537, -0.0243224893, 0.0226827804, 0.013432011, 0.0025403237, -0.0265781842, -0.0031168996, 0.061907012, 0.0129143707, -0.014992184, 0.011005776, -0.014806536, -0.0313523524, -0.0079429587, 0.0224838164, -0.0129250297, 0.0300157424, 0.0775309354, -0.0224610493, -0.0379228257, 0.0393947996, -0.0011546741, 0.0172282998, -0.0214826856, 0.0452225767, 0.0070755682, 0.0619774051, -0.0046130223, 0.0025027185, 0.0071362499, -0.0509712845, -0.0405545793, 0.0026341511, 0.078908287, 0.0125109814, -0.0170362405, -0.03841497, 0.0364086293, -0.0449688882, 0.0407274254, -0.0329587385, 0.00468595, 0.0239887871, 0.0090841912, -0.0197469126, -0.0254381858, 0.1027667895, 0.0531096198, 0.058557678, -0.0027167406, -0.0297630653, -0.0458669066, -0.0049403245, 0.053351298, 0.0074069728, -0.0423495546, 0.0193316508, -0.0129748592, -0.0639012605, 0.0406031497, -0.0130190821, -0.0469376184, 0.0137991104, 0.0692485571, 0.0369354151, -0.0117797144, -0.0271989722, -0.0234857649, 0.0183239263, 0.0090396991, -0.0383253172, -0.0250174999, -5.93630745e-33, 0.0029889171, -0.0134913502, 0.0382862836, 0.0009215774, 0.0227673762, 0.0211206451, -0.024737766, -0.0130182579, 0.0224922374, 0.0263401438, -0.0020994202, -0.0215422288, 0.0082649104, 0.051763095, 0.0279400311, -0.0253600925, 0.0275348909, 0.0113528287, 0.0070927353, 0.0442090854, 0.0020664525, 0.0379652157, 0.0252658091, -0.0565689243, -0.0005538377, 0.0042020776, 0.0532861166, 0.0199894104, 0.0534120277, 0.0365932956, -0.0550912246, 0.0147514688, 0.0458605029, -0.006628464, 0.0144981192, 0.0231899247, -0.081716314, -0.0225232355, -0.0030510968, -0.036032401, -0.0002001827, -0.0758484825, 0.029917961, 0.0078391256, -0.0289666858, -0.0181777943, 0.0205860585, -0.0141001781, -0.014514043, -0.079880856, -0.044654578, 0.048520755, -0.0025460338, -0.0031911212, -0.0078962436, -0.0599822551, -0.0257718265, 0.0366069041, -0.0281768311, 0.007715242, -0.006355634, 0.0492432378, 0.022126995, -0.0209451988, -0.0085983137, 0.0650026649, 0.0013460716, -0.0201064385, -0.0326164775, 0.0165486336, -0.0273705143, 0.0427141897, 0.0105623016, 0.0240834355, 0.0474533401, -0.027179759, -0.078093484, 0.0328472592, -0.0845982581, 0.0377382748, 0.0372410975, 0.0099141682, -0.0514452308, -0.0058573275, -0.0146157881, 0.0320149213, -0.0152073381, -0.0539958216, 0.0565000549, -0.0165948346, -0.0052940678, 0.045905605, 0.0472439416, -0.039322, -0.0139394756, -0.0292462204, 0.080570437, 0.0499960668, -0.0465792902, 0.0309997872, -0.056808304, -0.0233748984, 0.045571778, -0.064606607, 0.0247650705, 0.024060091, 0.0217607059, -0.0106889689, -0.0515829064, -0.0305715241, 0.0277562086, -0.0346847102, -0.0034030913, 0.0535222851, 0.0308083128, 0.0286331158, 0.020689344, 0.0280303601, -0.006355294, -0.0244650394, -0.0177545864, -0.0368194841, 0.0144980773, -0.0201802272, -0.0327927731, -0.0122022554, -0.0808869228, -0.0032306442, 0.0478452072, -0.0289365891, -0.0089015346, 0.0206228159, 2.667e-7, 0.0933462828, 0.0369488001, 0.015554185, -0.0008879116, 0.0105767557, 0.0091871079, 0.0210989788, 0.0148378052, -0.0148336599, -0.0146581568, 0.033205457, 0.0099411504, 0.0189500526, 0.0222843271, -0.089329958, -0.0276466962, -0.0085660508, -0.0075285258, -0.023959307, -0.022704931, 0.0553118363, 0.1212362573, -0.0191051289, -0.0091562876, 0.0319674872, -0.0378811881, 0.0329591334, -0.0415149257, 0.006407415, 0.0615035295, -0.0391908027, 0.0498026311, 0.0004877742, 0.06294512, 0.0114541221, -0.0187618528, 0.0039775497, 0.0929496661, -0.0659156218, 0.0301097091, 0.0012184266, -0.0092403963, 0.0313681252, -0.0192376971, 0.067842491, -0.0913862959, -0.0205096342, -0.0243471842, -0.0092973821, -0.0104665523, 0.005487741, -0.0165614188, -0.0066538681, 0.0445486084, 0.0382831879, -0.0018621306, -0.0439520143, -0.0730483755, 0.0278086532, 0.0490465797, -0.0313493013, -0.0303966682, 0.0335326828, -0.0198567864, 0.0351671875, -0.0524316691, 0.0230235942, 2.374504328e-34, 0.028672507, 0.0241759736, -0.0365126133, 0.0472066551, 0.0302257426, -0.0272085741, -0.0084288372, 0.0197986085, -0.0111250067, -0.0753038153, 0.0071292329 ]
http://arxiv.org/abs/2310.06547v1
http://arxiv.org/pdf/2310.06547v1
Rationale-Enhanced Language Models are Better Continual Relation Learners
2023-10-10T11:50:27
2023-10-10T11:50:27
Weimin Xiong, Yifan Song, Peiyi Wang, Sujian Li
cs.CL
cs.CL, cs.AI
Continual relation extraction (CRE) aims to solve the problem of catastrophic forgetting when learning a sequence of newly emerging relations. Recent CRE studies have found that catastrophic forgetting arises from the model's lack of robustness against future analogous relations. To address the issue, we introduce rationale, i.e., the explanations of relation classification results generated by large language models (LLM), into CRE task. Specifically, we design the multi-task rationale tuning strategy to help the model learn current relations robustly. We also conduct contrastive rationale replay to further distinguish analogous relations. Experimental results on two standard benchmarks demonstrate that our method outperforms the state-of-the-art CRE models.
[ 0.037479192, 0.0838284642, 0.0062490716, 0.0724072009, -0.0004616443, 0.0352709815, -0.0107678063, -0.0233476758, -0.0254675336, -0.0443200506, -0.006409511, -0.0621529929, -0.0144387223, 0.0005230382, -0.0139108561, -0.0711506903, 0.0466656089, -0.0319723785, 0.0456856973, 0.0066156606, -0.0292346627, 0.0141775459, 0.0072920909, 0.0119607672, 0.0028511961, -0.0488853976, -0.0028002858, -0.0326623842, 0.0141738085, -0.0537619367, 0.0023163036, 0.0468801856, 0.0408657566, -0.0169802736, 0.0000020144, -0.0775325224, -0.0357143357, -0.026810104, -0.0764627308, -0.0205481332, 0.000778985, 0.0211489405, 0.0106992684, -0.0004529999, -0.0463974252, -0.0225290973, 0.0317588858, 0.0603077672, 0.0266024247, 0.0455937982, -0.0063207676, -0.0406799838, 0.0514576696, -0.0378424414, -0.0058556427, -0.024895696, 0.0160238426, 0.0347348005, -0.0229826868, 0.0134035395, -0.0217202809, 0.0155867534, 0.0444751419, -0.0180835444, 0.0277668666, 0.0627587363, 0.0359099321, -0.0213669799, -0.0101296091, 0.0638493225, -0.0232370663, -0.0346500315, 0.0114462562, 0.0280792248, -0.0254659597, 0.0044304598, -0.0436633192, 0.0260695536, -0.016155079, 0.044502873, 0.0702162758, 0.0001794552, 0.0267656669, 0.0326112807, -0.0511550158, 0.0227457713, 0.0062828264, -0.013114051, 0.0158075355, -0.0001830069, -0.0457603559, -0.0293525383, -0.0123669785, 0.0596890412, -0.0310513079, 0.0440937169, -0.0303824823, 0.0159491058, -0.0089091808, -0.0472908393, -0.0214524791, 0.0331604667, 0.0078726867, 0.0850320533, -0.0441382043, 0.0496296957, 0.018826222, -0.0142445248, -0.0189307481, -0.0029066466, -0.0599614717, -0.0118075069, -0.0121946353, 0.0684751421, -0.0305357762, -0.0027016576, -0.0194735061, 0.0362033769, -0.0242254343, 0.0244854596, 0.0210727882, 0.0205967817, -0.0454645976, -0.0355208069, -0.0136093227, 0.007533391, -0.0272026882, -0.0043617478, 0.0038282215, -0.0166799575, -0.0318729654, -0.0047074179, 0.0154714538, -0.0366228335, -0.0163120702, 0.076028049, -0.02264525, -0.0504985042, -0.018723309, -0.0120481513, 0.0069765858, -0.0719676539, -0.0160223842, -0.0152210733, 0.0168700181, 0.0189081915, -0.000028934, -0.0690317601, 0.039759282, -0.0214564987, -0.0602073744, 0.0937690958, 0.0090465872, 0.0058921291, -0.0282896999, 0.0355728269, 0.0068492237, 0.0581806339, 0.0120720863, -0.0403498262, 0.0399884693, 0.0073208157, -0.0131652253, -0.0153285144, -0.0018261451, -0.0028205747, -0.0597452596, 0.0135493279, 0.0320619158, 0.0213164352, 0.0487195738, 0.0445837304, -0.0141498651, -0.0200422946, 0.0239471961, 0.0148967337, 0.0244752355, 0.0592779778, 0.0320110992, -0.013005103, 0.0053646094, 0.0520130657, -0.0875169113, 0.0301278755, -0.0089978958, 0.0335919224, -0.0248944797, 0.0152974548, -0.0020719636, -0.0207668096, 0.000582885, -0.0203808155, -0.0247499347, 0.015225294, 0.0740443766, 0.0213785917, -0.0663592741, 0.0537790656, 0.0470645279, -0.0450482592, 0.0057997517, -0.0406417847, 0.0584190823, 0.0770871118, 0.0259166136, -0.0294418093, -0.0634995252, -0.015589715, 0.0081864716, -0.0004619136, 0.0189027935, -0.0412697941, 0.0615330115, -0.0448965169, -0.0584936924, 0.0008099746, 0.0287146792, 0.0051685493, 0.0553145558, 0.0183844268, 0.0160638336, -0.0285671502, -0.0363691486, 0.0304585081, -0.0444650538, -0.0589041002, 0.0143300556, -0.0037792274, -0.0059043397, 0.0243659224, -0.0153166438, -0.0029491899, 0.0568292178, -0.063093923, 0.0147185782, 0.0677452758, -0.0896678194, -0.0404833257, 0.0436245911, 0.0402463973, -0.0365836397, -0.0259173177, -0.017084714, -0.0218236707, 0.0116947796, 0.0368817002, 0.0705392659, 0.0076309289, 0.0450570732, -0.0018524058, -0.0008054911, -0.0145597421, 0.0952213109, -0.0027282599, -0.0126159964, 0.0370722711, -0.004396677, -0.0417602807, -0.0537707359, 0.0161087532, 0.0298421215, 0.0120007293, -0.030028617, -0.0021466801, -0.0135550993, -0.0389156416, -0.0128355324, -0.0168459266, 0.0042903433, -0.0059610899, 0.0173321292, 0.0108277928, -0.0051113111, 0.0015974442, -0.0177686755, 0.0121855503, 0.0079472782, -0.0381463841, 0.008374962, 0.0269597378, -0.0102125434, -0.0081097232, -0.0603597201, -0.0039271931, -0.0110499812, 0.079105489, -0.0014219519, 0.0328099877, -0.0352234356, 0.0426166691, 0.0012809886, 0.0162641574, -0.0292850565, 0.0031425499, -0.008874312, -0.0155666061, 0.0302220397, 0.0641074255, 0.0338172652, 0.0737163872, 0.0645490512, -0.0097184023, -0.044757586, 0.0287113003, -0.0419998951, 0.01014583, -0.0012156033, 0.0077358722, -0.0268170703, 0.0680919141, -0.0304111689, 0.0201964192, -0.0049892813, 0.0570602007, -0.0041728192, 0.0178473704, -0.0487481579, -0.0269440431, -0.0206965841, -0.002367842, -0.0413010456, -0.0197877847, 0.0703641847, 0.0187618565, -0.0018765299, -0.0369310603, -0.0175740998, -0.0139205446, 0.0953523144, -0.0319685712, 0.0001142908, 0.0432229154, -0.0218087658, -0.0596971661, -0.0846602619, 0.0360181965, -0.0039702235, 0.0862545744, -0.074100554, -0.0076595568, -0.0066371611, -0.0286315996, -0.0996459797, -0.0320303738, -0.0329172239, 0.0060574138, -0.0438661054, -0.0079551674, -0.0012098599, 0.0228123628, 0.0273653399, 0.0143260267, -0.0041657668, -0.0188458916, 0.0117108515, 0.0694077089, 0.0880472884, 0.0294075515, 0.0226349328, -0.0052112951, 0.0859190151, 0.035819497, 0.0296329148, -0.0482887626, -0.0172169562, 0.0138733843, -0.0076440526, -0.043125689, -0.0021485074, 0.0009975664, 0.0091530262, -0.0875644982, -0.0232715756, 0.1259839833, 0.0231206194, -0.0269362517, 0.0076744226, 0.0143087599, 0.0325416401, 0.0473685116, -0.0053554308, -0.0305567533, -0.0178002045, 0.0106990365, 0.0139090931, 0.0251089372, -0.0268043913, -0.0289786495, -0.0962194651, -0.001465051, 0.0058650267, -0.0300300065, 0.0036415667, -0.0480534583, -0.0249090381, -0.0232548695, 0.0156498812, 0.02456332, -0.0346628129, 0.0173938815, 0.0101595689, -0.0013152116, -0.0383562259, 0.0138083622, -0.0155488504, 0.0539952554, 0.0184758361, 0.048337359, 0.0132198958, -0.0272362344, 0.0578627698, -0.0405964293, 0.0086396858, -0.0373054706, 0.0530417748, 0.0115212081, -0.0096175829, -0.022168003, 0.0160297677, -0.0411587022, -0.0355369672, 0.0257166643, 0.053251259, 0.0058169221, -0.0150243472, 0.0111215357, -0.0360091962, 0.0048459861, 0.0803316236, 0.0192123149, -0.018369332, -0.0559149049, -0.0276722703, 0.0124143139, -0.0825572833, 0.0084584076, -0.0635025203, -0.0303231832, 0.0151459267, -0.0387088619, -0.0227643494, -0.0206946284, 0.0146667976, 0.0148591688, 0.0206475854, 0.0076274476, 0.012502457, -0.0661324188, 0.0055882679, 0.0017227745, -0.0141021628, -0.009656027, 0.0240858234, 0.0264320169, -0.0480739325, 0.0041208086, -0.0572982207, -0.0390749499, -0.0444432274, -0.0172774121, 0.0279619936, 0.0244197175, 0.1104528457, -0.0033417759, 0.0055076759, -0.0215434916, 0.0243357774, -0.0323661231, -0.0098526953, 0.0591511019, 0.0000335548, 0.014045259, 0.0592480563, -0.034119986, -0.0128209218, 0.0235972647, 0.0536830314, -0.0157547053, -0.0136627601, 0.0283512175, -0.0432758704, 0.0299363658, 0.0016442041, -0.0129128704, -0.0603829697, 0.0219974723, -0.029611215, -0.0059569725, -0.0272764619, 0.0612137467, 0.0053042378, 0.0219304934, -0.0161272287, -0.0522659458, -0.00029433, 0.0426625721, 0.0087013133, 0.0070641697, -0.0032641583, -0.0175207965, 0.0311614145, -0.0025131262, -0.0364493132, 0.0208597276, -0.0001065545, 0.0273325257, -0.0170015749, 0.0477020591, -0.0031846806, -0.0361208953, -0.0235146675, -0.0092592547, -0.0641924962, -0.0380150899, -0.005560454, -0.0062681208, 0.0793469399, -0.0263944678, 0.07646171, -0.025639765, 0.0055029546, -0.0128943631, 0.0515935272, 0.0171136931, -0.0178661663, 0.0021559834, 0.0252424646, -0.0167489424, 0.0431290045, 0.0922234431, -0.027690351, 0.035134811, 0.0383768789, -0.008799105, -0.0205397811, -0.0326554812, -0.0467181578, 0.0142269498, -0.030947106, 0.0284072403, -0.0352228694, -0.078047879, 0.014839326, -0.0256736279, -0.0070206583, -0.0358412527, 0.0017846482, 0.0173599534, -0.0112818582, -0.0234640781, -0.0290857852, 0.0473295264, -0.015446675, -0.0028834138, -0.0451534167, -6.651329807e-33, -0.0168114714, -0.0469368473, 0.0064024874, -0.0230211988, -0.0474299751, 0.0287875924, -0.0891269669, 0.0010277621, -0.0174406897, 0.015771905, 0.0022390573, 0.0222005919, 0.000368652, 0.0033918102, 0.0229731444, -0.0352651998, 0.063098982, 0.0371965766, 0.0074853478, 0.0235661175, 0.0554898046, 0.0431461558, 0.0451053828, -0.0832849815, 0.0041101761, 0.0347666554, 0.0310668722, 0.0537972935, 0.0035921454, 0.0883610025, -0.0236829873, 0.0211265069, 0.0234781522, -0.0348485038, -0.0059801592, -0.0195196159, -0.1540810913, -0.0307459775, -0.0038989398, -0.0345490128, -0.0057897093, -0.038887836, 0.0269694403, 0.0015267697, 0.0141082527, -0.0560303107, 0.0278158393, -0.0442681983, -0.0683497265, -0.008114079, -0.0707510263, 0.0173875187, 0.0021310193, -0.006268457, 0.0070306202, -0.005907956, 0.0153369652, -0.0135513181, -0.0594580248, -0.0446361192, 0.0023749324, 0.0098503344, 0.0410651192, 0.0339448154, -0.0031472135, 0.0675135925, -0.0345395133, -0.0178836882, -0.0114150848, 0.010889641, 0.0031632639, 0.0352053829, 0.0187843833, 0.0074909576, 0.0417185612, -0.0053721131, -0.069677189, -0.0130652953, 0.0158794764, 0.0701595023, 0.0276388992, 0.011291733, -0.0088344011, -0.0404302366, -0.0180020519, 0.0195207298, -0.0353384614, -0.0268247705, 0.0232724324, 0.0109865079, -0.0307653435, -0.0210433789, -0.012750674, -0.04640802, -0.0241496824, 0.0651929229, -0.0278028697, -0.0269959625, 0.0107059199, 0.0009860236, -0.0270596463, -0.0114738643, -0.014584763, 0.0079001551, -0.0109462393, 0.0233461633, 0.0465801395, 0.0055090338, -0.052596271, -0.0154337212, -0.045719292, -0.0027011645, 0.0029349376, 0.0606937036, 0.0300700609, 0.0355411507, -0.0069761551, 0.0569536164, 0.0440585464, -0.0031943708, -0.0421599708, 0.0533013754, 0.0201112833, 0.0360064246, 0.0080788815, -0.0256096199, -0.0010735058, 0.0201403871, 0.021858681, -0.0603237934, -0.0141291674, -0.005680833, 2.533e-7, -0.0071526789, 0.0284168068, 0.0300056767, -0.0250854082, 0.0289370455, 0.0360301398, 0.0045509227, -0.008986936, 0.0113546308, 0.0358363353, -0.0172658712, 0.0323458202, 0.030798886, 0.0155809401, -0.0448089875, -0.0170691963, -0.0611308329, -0.0430547521, -0.0513844639, -0.0008007896, 0.0794363394, 0.0639661849, 0.0443596952, 0.0076160775, -0.0119206188, -0.0449553095, 0.0472415648, -0.0320981592, 0.028539706, 0.0015980923, -0.0030825958, 0.0248662774, -0.0095350845, 0.0005513478, -0.0316511355, 0.0323720984, -0.0510083027, 0.0525603071, -0.0109166894, -0.0417090133, -0.0062641953, 0.0052821948, 0.019968871, -0.0614561625, 0.0754759833, -0.0766735822, 0.0001401698, 0.0097516906, -0.0049455473, 0.0108856605, -0.0387685075, 0.0227062777, -0.0086426614, 0.0165817142, -0.0039194226, 0.0034449934, -0.0071627926, -0.0994421914, -0.0126539674, 0.042868726, -0.0038729855, -0.0211410876, -0.0009306623, -0.019018067, 0.0348274335, -0.0337214246, 0.0196104459, 2.261168306e-34, 0.017807629, 0.0190900229, 0.0003693902, 0.0786443129, 0.038983155, -0.0142682986, -0.0262365229, -0.0053576361, 0.0609097071, -0.0521666668, -0.0119378967 ]
http://arxiv.org/abs/2310.06546v1
http://arxiv.org/pdf/2310.06546v1
AutoCycle-VC: Towards Bottleneck-Independent Zero-Shot Cross-Lingual Voice Conversion
2023-10-10T11:50:16
2023-10-10T11:50:16
Haeyun Choi, Jio Gim, Yuho Lee, Youngin Kim, Young-Joo Suh
cs.SD
cs.SD, cs.CL, eess.AS
This paper proposes a simple and robust zero-shot voice conversion system with a cycle structure and mel-spectrogram pre-processing. Previous works suffer from information loss and poor synthesis quality due to their reliance on a carefully designed bottleneck structure. Moreover, models relying solely on self-reconstruction loss struggled with reproducing different speakers' voices. To address these issues, we suggested a cycle-consistency loss that considers conversion back and forth between target and source speakers. Additionally, stacked random-shuffled mel-spectrograms and a label smoothing method are utilized during speaker encoder training to extract a time-independent global speaker representation from speech, which is the key to a zero-shot conversion. Our model outperforms existing state-of-the-art results in both subjective and objective evaluations. Furthermore, it facilitates cross-lingual voice conversions and enhances the quality of synthesized speech.
[ -0.0555190593, 0.0240016803, 0.0254426692, 0.0010360621, 0.0188893881, -0.0481801108, 0.0673158243, -0.0059660519, -0.0873260573, -0.0060424297, -0.0872979686, -0.0114031853, 0.0110421646, 0.0153520312, 0.0133715179, -0.0712362081, 0.0188576132, -0.0312180705, -0.0133908717, -0.0249230601, -0.0011784133, 0.0040525016, -0.0640899688, -0.0197739191, -0.0371729769, -0.0206649601, 0.0120781297, 0.0313968286, 0.027544992, -0.019263804, -0.0466169566, -0.0011119461, 0.0255455021, 0.0598942079, 0.000001727, -0.0179972406, 0.0003108398, -0.0099336114, -0.0738233402, 0.0032590767, 0.0461476445, 0.0257081594, -0.045847889, 0.0128406957, -0.0003639002, -0.0280974749, 0.0415688083, -0.0395740382, 0.0323878936, 0.0415928066, -0.0090445327, -0.0237950906, -0.0518490635, -0.0076800138, -0.0032125409, 0.0184985921, -0.032667473, -0.0146754151, -0.0229981616, -0.0231695417, -0.0373126082, 0.0723516122, -0.0239242762, -0.0118715353, 0.0567191094, -0.0177385248, -0.0182452686, -0.0435982719, 0.0141003402, 0.0604801886, -0.0148570519, 0.0107974792, 0.007236585, 0.0354796872, -0.0221758652, -0.0440382138, -0.0102980332, 0.0098654237, 0.0381154604, -0.0095541691, -0.0642461404, 0.0752385706, 0.0069544045, -0.0678908601, -0.0307505429, -0.0041092271, 0.0161376465, -0.0092594847, 0.0198508017, 0.0001574989, 0.0457522757, 0.0041078669, 0.021908205, 0.0208655, 0.025146082, -0.0119070504, -0.0322557203, -0.0039304285, -0.0425388925, -0.0017892285, 0.0155498087, 0.0480450615, -0.0164195001, -0.0131103238, 0.004805319, 0.0065893084, 0.0088574989, -0.0011039939, -0.0380551927, -0.0503238738, -0.027295839, 0.0143769216, -0.0528682396, 0.0066114524, 0.0080696261, 0.0095678065, -0.0808423087, -0.0191521589, -0.0423322693, 0.0237592086, 0.005905787, 0.0045742216, -0.0690340698, -0.0292493161, 0.0212573968, 0.0983093306, 0.0339247771, 0.0161528457, -0.0156111754, -0.0594651476, -0.0046552452, 0.007297107, 0.0050187521, 0.0293222107, 0.0031097427, 0.0688938722, 0.0023346827, 0.030038001, -0.0095572099, -0.029367676, -0.0280776434, -0.0416603014, 0.0082042841, -0.0630867407, 0.0267581642, 0.0020379692, 0.0010928898, 0.0205438957, -0.0246245898, -0.0111358138, 0.0124066612, 0.0281082708, -0.008210808, 0.03154926, 0.0688367039, -0.0151041392, 0.0041625006, 0.0197569933, 0.0579671077, -0.0416412316, 0.0039427057, -0.0553018861, 0.0177750755, 0.0945503116, 0.0504330173, 0.0481696278, -0.04414149, -0.0372899547, 0.0020201367, 0.0409911089, 0.0765183866, 0.0009624797, -0.0288578365, -0.0057594259, 0.029308401, -0.0045471657, 0.0670702457, -0.0068381005, 0.0678409934, 0.0130343875, -0.0100255739, -0.0176877491, 0.0119143464, 0.0249408856, -0.0106360614, 0.010556954, 0.0321888179, 0.0255719684, -0.0601110049, 0.0238134619, 0.0339984484, -0.0142162014, -0.0166982636, -0.0244115274, 0.0425965674, 0.04707966, 0.0068120416, 0.0666410476, -0.0232833941, -0.0770047829, 0.0428574272, 0.0115993414, -0.0367190503, 0.0047902372, -0.003922204, 0.0166884828, 0.0448860787, -0.0606034473, -0.0425261892, 0.0453319401, -0.0096559217, -0.0274433959, 0.0590740815, -0.0335042626, -0.0101527115, 0.0484742559, -0.0309170689, 0.0177593306, -0.0655830503, 0.0383455046, 0.0283173434, -0.0230988171, 0.0724936128, -0.0504379943, -0.0295919031, -0.0080680847, 0.0546343103, 0.0100715104, 0.0242924541, 0.037774846, -0.0202195719, 0.0251550339, 0.0071646618, -0.0576602481, 0.0317684785, 0.0347043723, -0.065628916, -0.0442699343, 0.0554127917, -0.0236566048, 0.0440585278, 0.0092994962, 0.0132662673, -0.1057065576, 0.0737937987, 0.0375465415, 0.0027702795, -0.0047263219, 0.0323572531, 0.0405002013, 0.0190501511, 0.0310704932, -0.0416896492, 0.0384173729, -0.012552103, 0.0448070467, 0.0258089751, 0.0301486086, -0.0719988719, 0.0200403072, 0.0677353889, 0.0100593558, 0.0065034064, -0.0159694944, -0.0600299537, -0.0147688603, 0.0172322504, -0.0701141208, 0.0255923606, 0.015270723, 0.0143204574, -0.0103345597, 0.0291559007, 0.0029201291, -0.0422382578, -0.0312908702, 0.0153552173, 0.0013767692, -0.0147983227, -0.0159796234, -0.0010942778, -0.0078135682, 0.0106222378, -0.0129850525, 0.037647061, -0.0013185299, -0.0900331065, -0.0207407903, -0.0137954392, -0.0044715526, 0.0017012529, 0.0192647632, 0.0068455418, -0.0129056033, -0.0098895514, 0.0423502736, 0.0185140315, -0.0014994096, 0.0089559602, -0.0827312917, 0.0269728005, -0.0485177524, -0.053883601, -0.0168050472, 0.0610621497, 0.0098577123, -0.0026508989, 0.0069220453, -0.007424789, 0.0097160758, 0.0321429521, 0.0311221648, -0.0298387092, -0.0362421162, -0.0083406661, -0.0306519978, 0.0084469607, 0.0080392091, -0.0049059452, -0.0198474489, -0.014585048, -0.003123533, -0.0478839502, -0.0586869083, -0.0515282713, -0.0083759706, -0.0512860268, -0.0060279383, -0.0471625961, -0.0166213568, 0.0253640134, 0.0018417346, 0.0239970181, -0.0283757504, 0.0044341502, 0.0229249112, -0.0558947958, -0.0031951724, 0.0077671702, -0.0116145005, -0.0655046105, 0.0258960091, -0.0009717413, 0.0177389439, -0.0074294666, 0.0351665802, -0.0132873878, -0.0178998094, 0.0093425224, 0.0495454334, 0.0364559963, 0.0348549187, 0.0026764683, 0.013711039, -0.004740905, 0.0654073134, -0.0051831813, -0.0092748599, -0.0322037525, -0.0248351432, 0.0431803949, -0.0115903132, 0.0398943238, 0.0622918978, -0.0210658107, -0.0161133055, 0.0296504721, 0.0390397497, -0.0534562208, 0.0145245846, 0.0509781912, -0.0143686039, 0.0520374067, 0.0462157167, -0.0276775453, -0.08731924, -0.0186196025, -0.0192553848, 0.0213090256, -0.0173335206, -0.0076697702, -0.0761175454, -0.0190825239, 0.0276752803, 0.0212722942, 0.0164561551, 0.0377444737, -0.0363989063, -0.0670646653, 0.0140072098, 0.07410869, -0.033484254, -0.019821655, -0.0004209755, -0.0417764895, -0.0291933659, 0.0464459136, -0.0082139345, -0.0213359687, -0.0114819622, 0.0436837934, -0.0311504826, -0.0099928947, -0.0268184766, -0.0313294865, 0.1069032624, 0.0420534387, 0.0345247462, 0.0144845098, -0.0054748422, -0.0216871053, -0.0286683999, -0.0065988679, -0.0062066242, 0.0324101262, 0.0147201391, 0.0159184225, 0.0511126556, 0.003775286, -0.0111653274, 0.0194504447, 0.0054975217, 0.0294597093, 0.0177434906, -0.0019305573, -0.0191027187, 0.0348529629, 0.0202388857, 0.0654654801, 0.0061681885, -0.0308308415, -0.0107587362, -0.0086088227, 0.0515612289, -0.0813198611, -0.0627577528, 0.0382440314, -0.0153991152, -0.0615256466, 0.0111542447, -0.0091026714, -0.0046681226, 0.0542052723, -0.0170203671, -0.026561765, -0.0141761275, 0.008471814, -0.0222480781, -0.0657309666, -0.0697640777, 0.0381741412, -0.0425259247, 0.0098117758, 0.0209233612, 0.0046925666, 0.0425743572, 0.0047273571, -0.0420060679, -0.0336917378, 0.0058282311, -0.0216623452, 0.0089459186, 0.092075415, 0.0206503216, -0.0205496848, 0.0871317908, -0.0159954522, 0.0000944231, 0.04567682, 0.0856349096, 0.0307115112, -0.0250609014, 0.0245101247, -0.0232324749, 0.0357397497, -0.0163256936, 0.0102679003, -0.0239659902, -0.0635746121, -0.001430748, 0.003985859, -0.0203812029, -0.0204364099, 0.0681533739, 0.0238455776, 0.0060053407, -0.0511827171, 0.0349632986, -0.0447347909, -0.0398838408, 0.0514699779, -0.0185545422, 0.0248691663, 0.0257361047, -0.0446163379, -0.0165751539, 0.0190606415, 0.0026692734, -0.0030887912, 0.00714166, -0.0125997663, 0.000005814, 0.0073710321, 0.012720108, 0.0514937155, -0.0098335566, -0.048302345, 0.0096906871, -0.0105769131, 0.0271393303, -0.0057156892, 0.0149159301, -0.0103899939, 0.0097294152, -0.0133141112, -0.044636596, 0.0322497375, 0.002828921, 0.0986835212, 0.0040748459, 0.0217154585, -0.0271582529, 0.0224464443, -0.0498754829, 0.0404074937, -0.0053035771, -0.0469678231, 0.0105672674, 0.0206691846, 0.0530139171, 0.032946948, 0.0044486187, -0.0327324905, 0.0473648869, -0.0052738856, 0.0044667367, -0.042381905, -0.0332344621, 0.0002304532, -0.0582592227, -0.0239557307, -0.0347887315, 0.0247359686, -0.0411492847, 0.0301924013, -0.0332500376, 0.0075862566, -0.0337016135, -0.0270170439, 0.0209125038, -0.005704612, 0.0028630847, 0.0586662032, -0.023309214, 0.009874491, -5.09051649e-33, -0.0576535575, 0.0608698949, 0.0397636257, -0.0261494387, -0.0552862734, -0.0211114809, -0.0374628976, 0.024915535, -0.025020577, -0.0086904941, -0.0207542498, 0.0005909223, 0.0186332352, 0.0221793447, 0.018442424, 0.0546703003, 0.1187981889, -0.0574940816, -0.0165685639, 0.0711835101, 0.0467456765, 0.0386692546, 0.0261506084, -0.0603411049, -0.0733964294, 0.0033392117, -0.0040226728, -0.0045027831, 0.038469445, -0.0319965035, 0.0118179247, 0.0714555755, -0.0229727142, -0.0432064496, -0.0172020737, -0.0211425051, -0.0559546016, -0.0108091822, -0.0530313626, 0.0223832075, -0.0073693967, -0.0353893451, -0.0112488614, 0.0163435545, -0.0386582538, -0.0554131605, -0.0009522566, -0.0294541977, -0.0513052791, -0.0525908731, -0.0128018539, 0.0399204791, -0.0019802474, -0.0309919324, 0.0984220356, 0.1157905683, -0.0422541648, -0.0220536869, -0.0806553066, 0.0622430332, -0.0407307334, 0.0492314287, 0.0469775908, 0.0404974446, 0.0079966187, -0.0038673617, 0.053304676, -0.0544284135, 0.0173057485, 0.0325138234, 0.0564749092, 0.0353788212, 0.0205272734, 0.0387501679, 0.0770081282, -0.0357154384, 0.0143300705, 0.017585583, -0.0115676224, -0.0167602394, -0.0204362981, 0.0556759164, 0.0415922068, -0.0138143236, -0.0390727483, -0.0821675658, -0.0028412649, -0.0415067263, 0.0013319821, -0.0094876522, 0.0151868463, -0.0140584754, 0.0945764855, -0.006144281, -0.0080074957, 0.0115773557, -0.0351589099, 0.0251553562, 0.0020630071, -0.0125793722, -0.0323836952, -0.0347697362, 0.07032267, 0.0407946296, 0.0086960541, -0.0035474759, -0.009079013, 0.0427414253, -0.0051589827, -0.0431541763, 0.0145400809, 0.0148286661, 0.0270703603, 0.0114338947, -0.0042361734, 0.009207828, 0.0148863588, 0.0164566133, -0.0309796669, 0.0010880261, 0.0403342023, 0.0086248135, 0.0512185059, 0.0256727431, -0.0499978215, 0.0560923368, -0.0213396102, -0.018726401, 0.073136434, -0.0313271321, -0.0322329588, -0.0284355041, 2.51e-7, -0.013970443, -0.0285314173, 0.0259102471, -0.0674393103, 0.0391695201, 0.0510782413, -0.0234704651, 0.0153909978, -0.0040900414, -0.0061601154, -0.0034355831, 0.0009259653, 0.0781849772, 0.0409262814, -0.0247097854, -0.0358520262, -0.002689793, 0.0190671943, -0.001788801, 0.0373066142, 0.0033204453, 0.0304979645, -0.0449094214, -0.0598573275, 0.0475894772, 0.0375512652, 0.0531279184, 0.0112155685, -0.0149542205, -0.0079430966, 0.0236262586, -0.0211757366, -0.0130038923, -0.0050930046, -0.0388910547, 0.0096711777, 0.012531382, 0.0107903099, -0.0166432653, -0.0767580941, -0.0031790945, 0.0494474955, -0.0419082083, 0.0651374906, 0.0120846322, 0.0123323146, 0.0010544263, -0.0451772325, -0.086087577, 0.0896090865, 0.0071905744, -0.009688531, -0.0259434804, -0.0009913316, 0.0452032275, 0.0377021022, -0.0239387974, 0.0047145328, -0.0197770204, -0.0220920257, -0.0539053977, -0.0096549746, -0.0168601982, -0.0061580031, -0.007737889, 0.024652347, -0.0127292927, 1.702963921e-34, -0.0193805117, -0.0112499045, 0.0336606987, -0.0410340764, -0.0467621535, -0.0419986434, -0.0028950218, 0.0232961774, -0.0307120439, -0.021604944, -0.0607613102 ]
http://arxiv.org/abs/2310.06540v1
http://arxiv.org/pdf/2310.06540v1
A Novel Contrastive Learning Method for Clickbait Detection on RoCliCo: A Romanian Clickbait Corpus of News Articles
2023-10-10T11:38:16
2023-10-10T11:38:16
Daria-Mihaela Broscoteanu, Radu Tudor Ionescu
cs.CL
cs.CL, cs.AI, cs.LG
To increase revenue, news websites often resort to using deceptive news titles, luring users into clicking on the title and reading the full news. Clickbait detection is the task that aims to automatically detect this form of false advertisement and avoid wasting the precious time of online users. Despite the importance of the task, to the best of our knowledge, there is no publicly available clickbait corpus for the Romanian language. To this end, we introduce a novel Romanian Clickbait Corpus (RoCliCo) comprising 8,313 news samples which are manually annotated with clickbait and non-clickbait labels. Furthermore, we conduct experiments with four machine learning methods, ranging from handcrafted models to recurrent and transformer-based neural networks, to establish a line-up of competitive baselines. We also carry out experiments with a weighted voting ensemble. Among the considered baselines, we propose a novel BERT-based contrastive learning model that learns to encode news titles and contents into a deep metric space such that titles and contents of non-clickbait news have high cosine similarity, while titles and contents of clickbait news have low cosine similarity. Our data set and code to reproduce the baselines are publicly available for download at https://github.com/dariabroscoteanu/RoCliCo.
[ 0.0594132617, 0.0371184088, -0.0225514602, 0.0551890619, -0.0516983755, 0.0375365131, -0.01443158, 0.0286600031, 0.0062048892, -0.0021746014, -0.032436762, -0.0456757732, -0.0029194243, 0.048119463, 0.0064474954, -0.0608146973, 0.0279530175, 0.0160639863, 0.0131203299, -0.0062924246, 0.0289656669, 0.0051376093, 0.0244582482, 0.0109568955, 0.0150942793, -0.0224784166, 0.024431685, 0.0223677885, 0.0464239977, -0.0274101552, 0.0817663297, 0.0375771672, 0.0080558416, 0.0769337937, 0.0000016015, -0.0344495438, 0.0027833099, -0.0099273929, 0.0128373336, 0.0094706239, 0.050755389, -0.0393633172, -0.0147940479, 0.0169440527, -0.0183889028, 0.0012740369, 0.0482858084, 0.0775573477, 0.050779108, 0.0786727369, -0.0216613021, -0.0223955121, -0.0104096262, -0.0415614061, 0.0002095301, 0.0066588963, 0.0350150131, -0.0378999002, -0.0175349936, 0.0389520191, -0.0114146331, 0.0271074567, 0.0021446468, -0.0093622766, -0.0500903577, 0.0364406481, -0.027514454, -0.0218324047, 0.0107668908, 0.0301495381, -0.089031443, -0.0454864167, 0.0107834991, 0.0210897997, -0.0007291641, 0.0065946286, -0.0599263683, 0.034806598, 0.0095136929, 0.0359004326, 0.0153726665, 0.0049537108, 0.0056820321, 0.0342741236, 0.0281555932, -0.0390745848, 0.0169688128, -0.0459562466, 0.0477559939, 0.0029108305, 0.0465130657, -0.0502301976, 0.0473183878, 0.0052429228, -0.0088987872, -0.014994422, -0.0401915424, -0.0701968372, 0.0280295704, -0.095151484, -0.0442614444, 0.0060579963, -0.0335258283, 0.0424177535, -0.0362516157, 0.010701919, -0.0088694496, 0.0386685096, -0.0244702529, 0.0243113767, 0.0073407274, -0.0129770245, -0.0272276942, 0.0399327576, -0.0162177142, -0.013820976, -0.0554357357, 0.0245458838, 0.008044024, 0.0347785503, -0.0177251268, 0.043802768, -0.0348649248, 0.0046433653, 0.0064355964, 0.0235147942, -0.0030394269, 0.0037503748, -0.0125387087, -0.0338896811, -0.0357453562, 0.0199223515, -0.0056186914, -0.0359827988, 0.0544391461, -0.0017619712, -0.0042143222, -0.0488663651, -0.0521616563, 0.0087896306, -0.0406418592, -0.0209330972, -0.0236454383, -0.0778842419, 0.0110349311, -0.0167144332, -0.0008186228, -0.0132683292, -0.010307082, 0.0616907179, -0.044852037, 0.0489802957, 0.0265683141, -0.032765951, 0.0111426562, 0.0332145952, 0.0081148949, 0.0624257959, -0.0116291847, 0.1575179249, 0.0441721566, 0.0206526462, 0.0154773705, 0.0360938571, 0.022961732, 0.0065966463, 0.009401002, 0.0103133842, -0.0178010631, 0.0208184365, 0.0295895506, 0.0376715176, -0.0090423254, -0.05077805, 0.0929354876, 0.0055623022, -0.015642887, 0.0471546948, 0.0539369546, 0.0036163423, -0.0180123057, 0.0207896829, -0.0390176065, 0.0020349915, -0.0088810697, 0.008678332, 0.0022332286, 0.0545707829, -0.0166350026, -0.0050047431, 0.0240342543, -0.0218779724, -0.0091243032, -0.0352869369, 0.0622092262, 0.03637366, -0.0799792483, 0.0112486593, 0.0258220136, 0.009100738, 0.0225344673, -0.0244471971, 0.0403944179, 0.0064374893, 0.0400224887, 0.0026976799, -0.0121471761, -0.0349140428, -0.0147074228, 0.0438259803, 0.0100703025, -0.0225047991, -0.0520926788, -0.0104693398, -0.0365220271, -0.0417089462, -0.0023442991, 0.0546773002, -0.0235308297, 0.0488291159, 0.0346262977, -0.0075022671, -0.0292928331, 0.0108959097, 0.0296455938, -0.0177450869, 0.0012230686, 0.0266097803, 0.0400873758, 0.0089047281, -0.0097331898, -0.0094551388, 0.0406402498, -0.0130963316, -0.0221992098, -0.0050929836, 0.0410841517, -0.0684837699, 0.0152203077, -0.1279030591, -0.0099184606, 0.1119572967, -0.0187120214, -0.0032050202, 0.0451959446, -0.048702687, 0.0247920416, -0.0388218947, -0.016440874, -0.0282348245, 0.0298681147, 0.0231481213, 0.077322498, -0.0141606126, 0.0382408835, 0.0326785445, -0.0237311684, -0.0085484348, -0.0337628648, -0.034772452, -0.0158732012, -0.0214561336, -0.0162631553, 0.0194795653, 0.0042958548, -0.0063708359, -0.0080923587, -0.0755703896, -0.000278995, -0.0181388669, 0.0161177367, 0.0455314331, -0.0002810209, -0.0097277369, -0.0054755509, -0.0829346851, -0.0879050195, -0.0227097422, 0.0212841127, 0.0048540179, -0.0055044689, 0.0057416139, 0.0089020617, 0.0149062146, -0.011740922, 0.0594628416, 0.0381169654, -0.0056101214, -0.0187259614, 0.0032234713, 0.0062583187, -0.0070890491, -0.0281471107, -0.026875386, -0.0388652459, 0.0355412252, 0.0011171405, 0.0365743898, 0.0634850264, 0.0336754061, 0.0156374983, 0.0344888866, -0.0443336181, -0.030696556, -0.0605929345, 0.0314642154, -0.0382242948, -0.063972041, 0.0537558533, 0.0205859877, 0.0167729277, 0.0380143896, 0.0065143844, 0.0276981276, 0.0084030414, 0.0268336423, -0.0174512621, -0.0145783285, -0.0014571864, 0.0161865726, -0.0143445032, -0.0106852464, 0.0703175515, -0.0196395405, 0.006229355, -0.0173839163, -0.0114677809, -0.0174523443, -0.0156992227, -0.0187871475, 0.0397849903, -0.0002374203, -0.0563957989, -0.0080075972, 0.0123796007, 0.0476705022, -0.0232648849, 0.0125776147, 0.024837425, -0.0002568008, -0.0023801976, -0.0658900216, -0.0705855265, -0.0713682026, 0.0124142952, -0.020295212, 0.0319251865, -0.0094010737, -0.0663007796, 0.0146988546, 0.0012769242, 0.0279811732, -0.0349332578, -0.0063387551, 0.0223501697, 0.1126526073, 0.041593615, -0.0456454828, 0.0164139476, -0.0008906559, -0.0395745449, 0.0356765762, -0.0039535728, 0.0197597705, -0.0333055444, -0.0089076292, 0.0336213261, -0.0546374097, 0.0105876494, -0.0588976406, -0.0778819621, -0.0201907959, -0.0205637217, 0.0717810094, 0.0094892727, -0.0449094214, -0.020542521, 0.0142833497, -0.0074179424, -0.0005794224, 0.0072301831, -0.0553526692, 0.002671374, -0.0095564127, 0.0151246358, -0.0237108357, -0.009423052, -0.0108917588, -0.0966935158, 0.0130861308, -0.000431858, -0.0377175435, -0.0540747419, -0.0697672889, -0.0070075789, -0.0375514962, -0.0103133023, 0.0037225124, -0.0131190531, -0.005213568, 0.001503156, -0.0016392653, -0.0684170574, -0.0095435111, -0.0110777402, 0.0145863444, 0.0346638337, 0.0594605505, -0.0572216138, -0.0176326986, -0.0122483196, -0.0488076881, -0.0523168221, -0.0420738682, 0.0761353299, -0.0462077819, -0.0051601147, -0.0069142994, 0.041085422, 0.03084342, 0.0151627893, -0.0074378559, 0.0303213112, 0.0336136036, -0.0724877417, -0.0433327891, -0.0125990454, 0.0264934599, 0.0754769519, 0.0376359113, -0.0260286964, -0.0047239568, -0.0083323438, -0.0295725893, -0.0602021217, -0.007495909, -0.0131053645, -0.03105193, -0.0545587875, -0.0705598146, -0.0303078853, -0.0160182063, -0.0041525662, 0.0215405207, -0.0416946337, -0.0106981639, -0.0101012615, -0.0816603526, -0.0033013483, -0.0044727833, 0.0089808917, -0.0302079655, 0.0204325095, 0.0589755997, -0.0570412278, -0.0591876544, -0.0080582481, -0.0745154619, -0.0214205347, -0.0299408492, 0.0400393121, 0.011304264, 0.051873263, -0.0216486417, -0.0262876321, 0.0861502364, 0.0666288361, 0.0094441092, -0.0357543267, 0.0305628255, 0.0063814865, 0.0283522829, 0.0117557086, -0.033193294, 0.0425474383, 0.0277284645, -0.0361060314, -0.0358393379, 0.0425151587, 0.0172392465, 0.0109109944, 0.0597661585, -0.0377730951, 0.022452347, -0.0524043925, -0.0004461232, 0.0167467762, -0.0033649213, -0.0213013515, 0.0309936032, 0.0536831915, 0.0276504811, -0.0291836169, 0.0275243185, -0.0391116962, -0.0401455648, -0.0655889809, -0.0144813284, 0.0112873064, 0.0544161536, 0.0223567355, 0.0058718086, -0.0219553784, 0.023640871, 0.0337324962, 0.0422293283, -0.0154403942, -0.000233106, 0.0644542575, -0.0229978338, 0.046619378, 0.0432566442, -0.0132422065, 0.0506892502, -0.0870474204, -0.0006037048, 0.0339619257, -0.0482369773, 0.0036562551, -0.0251500607, -0.0063521937, 0.02474894, -0.0056072394, -0.0276432671, -0.0486130603, -0.0096487347, 0.0007422141, 0.0044886414, 0.0142211821, 0.0684277043, -0.0419368036, 0.0136997318, 0.0502195694, -0.0729189664, -0.0230665244, 0.0157055445, 0.059729524, 0.0141633796, -0.010619577, -0.0437670648, -0.0312022325, -0.0457822308, 0.0476055332, 0.0140702082, 0.0255875736, 0.0592412129, 0.0243465248, 0.0659182072, 0.0217778739, 0.0410123132, -0.0185574349, 0.0142707517, -0.0210758895, -0.0481111631, -0.0292114429, -5.586091684e-33, 0.0290972646, -0.0413233228, -0.0497785807, 0.0210779682, -0.012322058, 0.0091648139, -0.0307910573, -0.0417325832, -0.0072511304, 0.0192756802, 0.0235281233, 0.0250353068, 0.0025009138, 0.0436440259, -0.0330943502, -0.0372814015, 0.0398140252, 0.0167045519, -0.0245439224, 0.0421854071, 0.0141152432, 0.0353745632, 0.0476435795, -0.0375602841, 0.0261900704, -0.026267413, -0.0649173632, 0.0288786422, 0.0421392731, 0.0514694937, -0.0035519982, 0.0359471887, 0.0439794809, -0.0205832273, 0.0294489656, 0.0586170666, -0.0429831967, -0.0393744484, 0.0405155607, 0.0224640593, 0.0030033516, 0.0060743913, 0.0711148009, -0.0131054018, 0.0028701599, 0.0019013125, 0.0613756143, -0.048829753, 0.0123845069, -0.0235024523, -0.0197772048, 0.0027746642, -0.0307933353, -0.0057329908, 0.0144330291, 0.0854681507, 0.0334595516, 0.0694229379, -0.0760405734, 0.0362575874, -0.0058525647, 0.0144234104, 0.046209991, -0.0145863183, -0.0036250262, 0.0600818396, 0.0098311994, -0.0142582422, -0.0147502543, 0.0389197096, 0.0318267904, 0.0139066223, 0.0697795972, 0.0681888387, 0.0449876599, -0.0276529919, -0.0711769462, 0.0496738777, 0.0426967926, -0.0216809418, 0.0133895669, -0.0261261649, -0.0455351286, 0.0197580382, 0.0065187803, -0.0542434081, -0.0395184904, -0.0374650992, 0.0163816735, -0.0026419051, -0.0371922702, 0.0483204387, -0.0214523897, -0.0527612753, -0.0029226304, 0.0110003753, -0.0054731541, -0.0148438411, 0.0054329247, 0.0123004531, -0.0026804155, -0.010386005, 0.0000639673, 0.0080339629, 0.0015090543, -0.0273993537, 0.0712778345, 0.0194755029, -0.0544369072, 0.0192079209, -0.0104422234, -0.0057041412, -0.0058884639, 0.0136463046, 0.0129674841, -0.0198318437, -0.0208270438, -0.0172553305, 0.0306788664, 0.0221878327, -0.0221138932, -0.0211153682, -0.0049713859, 0.0431474, -0.0080038775, -0.0377494171, -0.0042769494, 0.0226213522, 0.0147613669, -0.0917269066, -0.0092812525, -0.0185593888, 2.469e-7, -0.0110462755, 0.0386240557, -0.0030312983, 0.0168518666, 0.0023393722, 0.0401079953, 0.0015368938, 0.0631559044, 0.0177325681, -0.0088438857, 0.0009975927, -0.0317658223, 0.0018058321, -0.0044635446, -0.1114850566, 0.0303486735, -0.1017503366, -0.0524848774, -0.0292479042, -0.0078773852, 0.0200997293, 0.0655793846, 0.0610699318, -0.0510451868, 0.0271118097, -0.0273658298, 0.0324207768, 0.0115790414, -0.0240107067, 0.0102487933, 0.0353222936, 0.0144146066, -0.0067200637, -0.0135016451, -0.0171982553, 0.023598833, 0.0359547697, 0.0223232172, 0.035032142, -0.0003579546, -0.0002598754, -0.0465206057, 0.0051163011, -0.0917770937, 0.0518537387, -0.0419549495, -0.0049065049, -0.0540688224, -0.0588942543, -0.029104799, 0.0585737303, -0.0547527783, -0.0103617646, -0.001016301, 0.0036492231, 0.0184648205, 0.0056782216, -0.055293031, 0.0432007164, 0.0235645846, -0.0412946269, 0.0027735033, -0.0121700671, -0.0153026162, 0.0316523015, -0.0394792594, 0.0346699581, 1.891156434e-34, 0.0505241305, -0.0375651345, -0.0272423979, -0.0223554671, -0.0392553546, 0.0193322413, 0.0148712983, -0.0166792776, 0.0098212082, -0.0107060838, -0.0058402386 ]
http://arxiv.org/abs/2310.06536v1
http://arxiv.org/pdf/2310.06536v1
EmoTwiCS: A Corpus for Modelling Emotion Trajectories in Dutch Customer Service Dialogues on Twitter
2023-10-10T11:31:11
2023-10-10T11:31:11
Sofie Labat, Thomas Demeester, Véronique Hoste
cs.CL
cs.CL
Due to the rise of user-generated content, social media is increasingly adopted as a channel to deliver customer service. Given the public character of these online platforms, the automatic detection of emotions forms an important application in monitoring customer satisfaction and preventing negative word-of-mouth. This paper introduces EmoTwiCS, a corpus of 9,489 Dutch customer service dialogues on Twitter that are annotated for emotion trajectories. In our business-oriented corpus, we view emotions as dynamic attributes of the customer that can change at each utterance of the conversation. The term `emotion trajectory' refers therefore not only to the fine-grained emotions experienced by customers (annotated with 28 labels and valence-arousal-dominance scores), but also to the event happening prior to the conversation and the responses made by the human operator (both annotated with 8 categories). Inter-annotator agreement (IAA) scores on the resulting dataset are substantial and comparable with related research, underscoring its high quality. Given the interplay between the different layers of annotated information, we perform several in-depth analyses to investigate (i) static emotions in isolated tweets, (ii) dynamic emotions and their shifts in trajectory, and (iii) the role of causes and response strategies in emotion trajectories. We conclude by listing the advantages and limitations of our dataset, after which we give some suggestions on the different types of predictive modelling tasks and open research questions to which EmoTwiCS can be applied. The dataset is available upon request and will be made publicly available upon acceptance of the paper.
[ 0.0667054355, 0.0193728227, -0.0275094397, 0.001835661, -0.0362771675, 0.037968412, -0.035811916, -0.0266015753, 0.034185987, -0.0569889434, 0.004685211, -0.0217180941, -0.0386978798, 0.0291226562, -0.0229450297, -0.0436772853, 0.0087717893, 0.070921123, 0.0653308108, 0.0069127171, 0.0637759492, 0.0433180183, -0.0093741277, 0.0190526675, -0.0503832512, -0.0040773284, -0.0217875708, 0.0138286212, 0.0561940931, -0.0340614393, 0.0832983404, 0.0555214286, 0.0100030126, 0.0171384998, 0.0000020908, -0.0234276243, -0.0174004212, -0.0219984595, -0.0135909878, -0.0199022405, 0.0695694014, 0.0011449619, -0.0016259595, 0.0154993739, -0.0307200085, 0.0252048355, 0.0408921503, 0.0499361716, 0.1107233167, 0.077211827, -0.0453909561, -0.0300088208, -0.0638091713, 0.0194181055, -0.0107915951, -0.0157352332, 0.0089021595, -0.0239131842, -0.0238459799, -0.0458712131, 0.0124112116, 0.0053126346, -0.0340523757, 0.0100478157, 0.0173827689, -0.0078088297, -0.0387073457, -0.0553415082, -0.0082090739, 0.0443444625, 0.0220204331, 0.0033726508, 0.0106997313, -0.0009433723, 0.0183912367, -0.0175379626, -0.0269511156, -0.0322649442, -0.0092617003, 0.0029173314, -0.0345807187, 0.0403932482, -0.0302019808, 0.0302792024, 0.016829839, 0.0361538231, -0.0313708931, -0.0439459756, 0.0284274984, 0.0344338566, -0.0106372936, -0.0202027988, -0.004030305, -0.0121652465, 0.0034573285, 0.0140849836, 0.0011261908, -0.005501573, -0.0032549612, -0.1052943915, -0.0364023484, 0.018637279, -0.0142814275, -0.0012775417, 0.0412076414, 0.0018458305, -0.0013106285, -0.021927299, -0.0170247518, 0.0114720883, -0.057142444, 0.0375350043, -0.0022800174, 0.0251361504, -0.0124479728, -0.0240083467, -0.0862434059, 0.0111753335, -0.017715238, -0.0026791783, -0.0115994802, 0.0216196682, -0.0000528005, 0.0099654533, -0.0212823339, 0.019880807, -0.048379343, 0.017519109, -0.0324904136, -0.0243179966, 0.0454755239, 0.018347647, 0.0341771021, -0.0065825549, -0.0124081112, 0.0205739196, 0.0089369398, -0.0332875662, -0.0634161681, -0.0416396558, -0.01336296, -0.0518202521, -0.0086837253, -0.0193582773, 0.0550149865, 0.0393394157, -0.0152241485, 0.0444068313, 0.0245282724, 0.0172305051, -0.0354694165, 0.0298775733, -0.0560489669, 0.0083224596, -0.0043562348, -0.0044246851, 0.044458352, 0.0341880992, 0.0321815684, 0.0638115928, 0.0575349554, 0.0001805508, 0.0424526744, 0.0160422511, -0.0133368075, -0.0461433157, 0.0064450833, -0.0118097952, -0.044069618, 0.0001929671, 0.013794506, 0.0228395853, -0.0095435465, -0.0107865287, 0.0232844204, 0.0365683287, -0.0497643612, 0.022102626, -0.0137916068, 0.0210406967, 0.0244860277, -0.017082978, 0.0190391131, 0.0175371654, -0.0151330819, -0.0179474913, 0.0139591731, -0.0131818261, -0.0193350315, -0.0449300259, -0.0124671217, -0.0227156952, 0.0054522422, -0.0243918262, -0.0019524398, -0.0499798581, -0.0340301804, 0.0191341247, 0.0223798472, -0.0779376253, -0.0462274328, -0.0048025358, 0.0165069923, 0.0934931636, 0.0108229658, 0.0045061852, -0.0181850176, -0.0452890098, -0.0290932991, 0.0367989801, 0.0060812035, -0.013480965, -0.0238887761, -0.0476128682, 0.0171539038, -0.0057425317, -0.0101328772, 0.0112065179, -0.0449618548, 0.0137514174, -0.0346338414, 0.0246677939, 0.0011813632, -0.0298806392, 0.0009649795, 0.0001405047, -0.0089353258, 0.0172416717, 0.0466250814, 0.0671412423, -0.0004910672, -0.0353855379, 0.016474681, 0.0085325595, -0.0385279208, 0.0802263618, 0.0364389531, 0.0093555395, 0.0297706164, -0.0176545829, -0.037015222, 0.0241809376, -0.042467609, -0.0249871146, 0.0631393865, -0.0204489995, 0.0358154699, -0.0225100927, -0.0096702892, -0.03277703, 0.0388334915, 0.0019947945, 0.0272745285, 0.0045948797, -0.008778506, -0.0421135798, -0.0646634325, -0.0000031108, 0.0263678953, -0.0374529324, -0.0047878535, 0.0341119021, 0.0286253691, 0.0224106461, -0.0515830889, -0.0626669973, -0.0130068874, -0.107919246, 0.0061160158, -0.0062518287, -0.0058853594, -0.0085460236, 0.0121038025, -0.0273451526, 0.0122197876, -0.0277136061, 0.0307808928, 0.032910306, 0.0014502372, 0.0276779775, 0.0066533051, 0.0107601918, -0.0672170669, 0.0279511381, -0.0423445813, -0.0039055073, 0.0399765186, -0.0625212565, 0.0008107133, -0.0000869418, -0.0626587942, 0.0298865326, -0.0072649382, -0.0761890262, -0.0203935783, 0.0005423649, -0.0150033906, -0.004396969, 0.0530185774, 0.0682342127, -0.0587900579, -0.0408909433, -0.0466952585, 0.0461380593, -0.0507369824, -0.0222269949, -0.0292396229, -0.0381517448, 0.0079153236, 0.0750182196, 0.0075294217, 0.0135594467, -0.0485945195, -0.0368863195, -0.0130144255, 0.00030086, -0.0070944065, -0.0109277545, -0.0149608487, 0.0424146205, 0.0372982547, -0.047850877, 0.0287240669, 0.0471037515, 0.0017506008, -0.0591879189, -0.018543439, -0.0380826183, 0.0335161164, -0.0379469842, -0.0070576356, 0.0288908277, -0.005713501, 0.0490344428, -0.0480191074, -0.0247446969, -0.0531292111, 0.0028801654, -0.0008344578, 0.0062446762, 0.0412101522, -0.0383509547, -0.0042005568, -0.067333743, -0.075126715, -0.0248618089, 0.0435777828, -0.0304435585, -0.0269588195, -0.0118200444, -0.012496856, -0.0705631673, -0.0033302866, -0.0331556834, 0.0158301946, 0.0224204026, 0.0572846644, 0.021477256, 0.018669147, -0.0017566578, -0.0078865374, 0.0336547866, -0.0031087263, -0.0080544846, -0.0116129769, -0.0064832014, -0.0144785773, -0.0008424398, 0.0017937945, -0.0633117408, 0.0233037937, 0.0059527378, 0.0317099616, 0.1166495606, 0.0317503139, -0.0090876101, 0.0074385791, 0.0216591116, 0.013898124, 0.0192020908, 0.0339853317, -0.0733706057, 0.0055257785, -0.0360985138, 0.0441233143, -0.0129240574, -0.040972434, -0.0188097358, -0.108446151, 0.0553183369, 0.0020780477, 0.049696669, -0.0010465471, 0.0139541933, 0.0169552993, -0.0206265021, -0.0043744636, -0.073754333, 0.0292964838, 0.0119095622, 0.0499786697, -0.0483713746, -0.031382177, 0.0332165733, 0.0025332591, 0.0263199098, -0.0017022243, 0.0855182409, -0.0108227273, -0.0229367167, 0.0202620365, 0.0110957231, -0.000249645, 0.0011395229, 0.0726455599, -0.0229321644, -0.0207571499, -0.0508552119, 0.0248309188, -0.060837701, 0.025507642, -0.0163547583, 0.0277641378, -0.0391045623, -0.0240202677, -0.0241918825, 0.033812236, 0.0294360872, 0.0505504161, -0.0096038394, -0.0659452006, -0.0075638648, -0.0248572007, 0.027685564, 0.0109375827, -0.0454264246, -0.0043616877, 0.0070671416, -0.0398216583, -0.0557137467, -0.0738917738, -0.0146913137, 0.009658007, -0.0255735405, -0.0456170477, 0.0362518057, -0.0142986961, -0.0236301478, 0.0265601799, 0.0306018945, 0.0327782519, -0.003726749, -0.0055656526, 0.0552117079, 0.0182412267, -0.0070029576, -0.0359255262, -0.0418182798, -0.063080959, 0.0417416133, 0.0130059551, 0.0199389327, 0.0183515958, 0.020039646, -0.0622355156, -0.0258389432, 0.0679991096, -0.0216854867, -0.0081216851, 0.0268603899, 0.1152381673, -0.0307658017, 0.0163421761, -0.0106603485, 0.046857141, -0.0282065775, -0.026519753, -0.0231807716, -0.0158172343, -0.0002887803, 0.0079998104, 0.0482500196, 0.0178612396, -0.0469090901, -0.0321663916, -0.0309367329, -0.0042923233, -0.0208844598, -0.0368464328, -0.0374377519, -0.0236982442, 0.001194665, -0.0800176114, -0.0584861524, -0.031329453, -0.0184826758, -0.0361937471, 0.0393533297, 0.0369607508, 0.0005952353, -0.0256980155, -0.0015605274, 0.0072813905, -0.0007222767, 0.0260966159, 0.0125988089, 0.001073632, 0.0383191332, 0.0064501972, 0.0009056785, 0.0268320162, 0.0248509459, -0.0087760845, 0.0121367974, -0.0148256049, 0.0151211135, -0.0066672438, -0.0748573169, 0.070549801, -0.0317759849, 0.033936251, -0.0081671728, 0.0147379274, -0.034137249, -0.0273392238, 0.0216143876, 0.0035618364, -0.0517786741, 0.0150687657, 0.0428761132, -0.0905235708, 0.0514484644, -0.0131775001, -0.0407124534, -0.0614971258, 0.0337684453, 0.0463982522, -0.0234779902, 0.0357437469, 0.0510983765, -0.075748533, -0.0401830934, 0.0617508814, -0.0611127988, 0.0040663439, -0.0238101855, 0.0378636196, 0.0571338236, 0.0020993007, 0.0428757779, -0.0419630446, -0.0011311295, -0.0738203451, -0.0242506638, -0.041930411, -6.571234561e-33, 0.0313600264, -0.0079600178, -0.0535443351, 0.0466417819, -0.0345047712, 0.0083571021, 0.0278667174, 0.0202176012, 0.0299201999, 0.0447339602, -0.0250223242, 0.0456944779, 0.0129511226, 0.0054988447, 0.0376587473, -0.0414528027, 0.0198966302, -0.0258965325, -0.0038491841, 0.0555110238, 0.0563320182, 0.0157348514, 0.0504607894, -0.1479543, 0.0487793796, -0.0020230606, -0.0244221278, -0.0022411938, 0.0904637724, 0.0340864435, 0.0034156374, 0.0790027678, 0.0338183977, 0.0217343476, 0.0366285183, 0.0588843562, 0.0108880438, -0.0076932986, -0.0053469772, 0.0324805751, -0.0269577838, 0.0002584897, -0.0052096029, 0.0158364028, -0.0486501977, 0.0307089444, 0.0301514491, -0.007625585, 0.0596484281, -0.0628644973, -0.0246189442, 0.0270181894, -0.0633815303, -0.0429227278, 0.0283158533, 0.0789078847, 0.0123649193, 0.0061858529, -0.0437238701, 0.0246663131, -0.0387131199, -0.0439169109, -0.004000653, -0.0640328825, -0.0193119291, 0.0642198846, 0.0066291075, 0.0479685739, 0.0302763637, 0.0630367249, -0.0263003949, 0.0605022311, 0.0024515982, 0.0095636742, -0.0309831463, -0.0400363877, -0.0017904027, 0.0502951071, 0.0788887441, 0.0203608386, 0.024327876, 0.0038511881, -0.0152127938, -0.0083315326, 0.0437776744, -0.0241658129, -0.0051096235, 0.0058046822, -0.0147264162, -0.0165968388, 0.0158456769, -0.0081766611, 0.0182320569, -0.0140002407, -0.0411362424, 0.0203038938, -0.0325873271, 0.0721015483, 0.0159700718, 0.008220572, -0.0177810881, -0.0032260232, -0.0283552576, 0.0423228107, 0.0470693298, -0.0153253954, -0.0061893435, 0.0353081264, -0.0402548946, -0.015734667, 0.0090322038, 0.0366899483, -0.0667686835, -0.0325708687, 0.0036084747, 0.0340217836, -0.0046880385, 0.0341834128, 0.0147187123, 0.07466764, 0.0106975054, -0.0206559077, -0.0067488803, 0.0052128499, -0.0226542614, -0.0169919841, 0.0406826921, -0.0269888025, -0.0117443092, -0.0194290634, 0.0052249064, -0.0124029657, 2.861e-7, -0.0036260867, 0.0901672021, 0.0071008787, -0.0143850762, 0.0474109389, 0.0523171723, 0.02995307, 0.0023583905, 0.0430428423, -0.0604583733, 0.0389648788, -0.0598831624, 0.0380773246, 0.0167461168, -0.0817651302, -0.0315909758, -0.036772456, -0.0071629239, -0.0462782681, 0.0425528549, 0.0857492685, 0.0766345486, 0.0401378162, 0.0038784018, -0.0112503534, 0.0452904403, 0.0234425664, -0.0352246165, -0.0237182956, 0.0289322697, 0.0195671432, -0.009193304, -0.0126595432, -0.0013311723, -0.0231667943, 0.0221837666, 0.0229331255, 0.0104816128, 0.0408107787, -0.034614969, 0.0427363589, 0.0172798168, 0.0088432329, -0.0124399886, 0.0145245986, -0.0855800807, -0.0621164478, -0.0544246659, 0.0006737378, -0.0083349915, 0.0494729988, -0.0024969715, -0.0778588429, 0.040864449, 0.001972365, -0.0075063892, -0.0162599497, -0.0873876289, 0.0371515453, 0.0323714241, -0.0421083607, -0.003690934, 0.0107811494, 0.035824541, 0.0290860422, 0.0093036378, 0.030825479, 1.61993212e-34, 0.0446664318, -0.0116951549, -0.0061823828, 0.0489097461, 0.0330362096, 0.0260331687, -0.0044438699, 0.0025317047, 0.0383100994, -0.0310904197, 0.0324175432 ]
http://arxiv.org/abs/2310.06517v1
http://arxiv.org/pdf/2310.06517v1
Toward Semantic Publishing in Non-Invasive Brain Stimulation: A Comprehensive Analysis of rTMS Studies
2023-10-10T11:00:23
2023-10-10T11:00:23
Swathi Anil, Jennifer D'Souza
cs.DL
cs.DL, cs.CL, cs.IT, math.IT
Noninvasive brain stimulation (NIBS) encompasses transcranial stimulation techniques that can influence brain excitability. These techniques have the potential to treat conditions like depression, anxiety, and chronic pain, and to provide insights into brain function. However, a lack of standardized reporting practices limits its reproducibility and full clinical potential. This paper aims to foster interinterdisciplinarity toward adopting Computer Science Semantic reporting methods for the standardized documentation of Neuroscience NIBS studies making them explicitly Findable, Accessible, Interoperable, and Reusable (FAIR). In a large-scale systematic review of 600 repetitive transcranial magnetic stimulation (rTMS), a subarea of NIBS, dosages, we describe key properties that allow for structured descriptions and comparisons of the studies. This paper showcases the semantic publishing of NIBS in the ecosphere of knowledge-graph-based next-generation scholarly digital libraries. Specifically, the FAIR Semantic Web resource(s)-based publishing paradigm is implemented for the 600 reviewed rTMS studies in the Open Research Knowledge Graph.
[ 0.0517110564, 0.0368584581, 0.0004961194, -0.0170811433, 0.0073456243, 0.0140968636, 0.0552548394, 0.0697385222, -0.0038200943, -0.0213251431, -0.0176139697, 0.0384052619, 0.0241633859, 0.0416519381, 0.0160015952, 0.0011901545, 0.0223206803, 0.0806929171, 0.0131847458, -0.0139709776, 0.0048865038, 0.0122027444, -0.0252440199, 0.0092351101, -0.0008888656, -0.0244231652, 0.0244709551, 0.0027431366, -0.0063157398, -0.0720231757, -0.034748368, 0.0763537735, 0.0169672742, 0.0405838378, 0.0000021865, -0.0316712521, -0.0155202476, 0.0801651999, 0.0300040357, -0.0038411336, 0.0561876148, -0.0227481313, 0.0457465574, -0.0003906537, 0.00080903, -0.0381181054, 0.0734315515, 0.008290221, -0.0207332373, -0.0134639479, -0.0053783222, 0.0194581859, 0.024659289, 0.0001820457, 0.0627492219, 0.0673750043, 0.0182060041, 0.0195825677, 0.0336946771, 0.0032707613, -0.0079998719, 0.0435259379, -0.0372904316, -0.0008332424, 0.0338533111, 0.0350919515, -0.0101599079, -0.0280298386, 0.0145585062, -0.0006718496, 0.1250061095, 0.002749803, 0.0624988899, 0.0284287483, -0.0561557263, 0.0371318124, -0.0820548758, 0.0172966775, -0.0023160141, -0.0267541967, -0.0481764525, -0.0277974624, 0.0325018801, 0.0070466716, 0.0152324047, 0.037188489, -0.0189534631, 0.0239658337, 0.0137468753, -0.0183188245, 0.0581296086, -0.0533223748, -0.0082400944, -0.0005749353, -0.0147900153, -0.0071918466, 0.0154642295, -0.0375124328, 0.0667228252, 0.0134286061, 0.0000327262, 0.0092996005, 0.0335847139, 0.012175981, 0.0581340827, -0.0025697916, -0.061712455, 0.0716511756, 0.042110987, 0.0201476291, -0.0882681012, -0.004424748, 0.0220119022, 0.0168919675, -0.0106587643, -0.0267951153, -0.038429074, 0.0258263592, -0.023439873, 0.0057367613, -0.0042095315, 0.0273083523, -0.045888979, 0.0102565149, -0.0198357347, 0.0091895396, 0.0422138013, 0.0037519422, 0.0116696227, 0.0301286895, -0.0007612136, -0.0143003967, 0.0257175192, 0.0203950685, 0.0078122835, 0.0644589216, 0.0556790009, 0.0116431145, 0.0118123544, -0.0570249148, 0.0179666821, 0.0066585997, 0.0363326482, -0.0624600016, 0.0357264988, 0.0382083207, 0.0016117905, -0.0540506504, -0.01275656, 0.0060696593, -0.0537492, 0.0321354344, -0.1256407648, -0.020789966, 0.0362685807, 0.0264155883, 0.0087103676, 0.0062160185, 0.0194941387, -0.0054122824, 0.0461060144, 0.0491257533, -0.0398317315, -0.0683809072, 0.0309585407, -0.0260952562, -0.0086784624, 0.0210836977, 0.0061371736, 0.072036773, -0.071066536, 0.0621180758, -0.0525558405, 0.0353114158, 0.0248172283, 0.043761652, 0.0033826916, 0.0308274049, -0.0185122937, -0.0406397842, -0.0114094233, -0.0591104254, -0.0351258069, 0.0672457218, 0.0086023705, -0.0021031683, 0.0206848867, -0.0200688839, -0.0006921482, -0.022445403, -0.0276752133, -0.0381796658, -0.0129659595, 0.0152574116, 0.0167683531, -0.0237877108, 0.0296221264, 0.0326138325, 0.0291906111, 0.022487618, 0.0272621401, 0.0060385, -0.0114031695, 0.0410363749, 0.0461380407, -0.0277028922, -0.0105805472, -0.0456453152, 0.0249612946, 0.0993282869, -0.0449846089, 0.0035774186, -0.022365693, 0.0034432833, -0.0366125703, -0.0337055139, -0.0146733848, -0.0044531333, -0.0309441369, 0.0520078503, -0.0490310453, -0.0860035941, -0.0216435976, 0.0226697698, -0.0105066579, 0.0353712887, -0.0262926053, -0.0498376414, 0.011195383, 0.0317056626, -0.0002375115, 0.0171696525, 0.0098629929, -0.0360024609, -0.0634992421, -0.0539736785, 0.0444494151, 0.0794245973, 0.0034490055, -0.0445282869, 0.0396929644, 0.0051790117, -0.039641045, -0.0062218113, -0.0031284876, 0.0075873947, 0.0657846779, 0.0038614324, -0.0339284725, -0.0270438753, -0.0238051582, -0.0108233383, -0.0164892618, -0.0001883895, -0.0077076545, 0.0336988792, -0.1362929791, 0.0431630798, 0.0180797596, -0.0470609367, 0.0566445589, -0.0385967456, 0.0163720232, -0.0156503022, -0.0425247326, -0.0122493636, 0.0481986776, -0.0151157444, 0.0078213708, 0.0398628525, 0.027956238, 0.0046943934, 0.001658246, 0.0104227485, 0.0157004222, 0.0140399095, -0.0049161157, 0.0228144415, 0.0284606833, 0.0396853574, 0.0632922351, 0.0375896767, -0.0207909029, -0.0366271213, -0.025403874, 0.0412514731, 0.0086269509, -0.0041589751, -0.0169590488, 0.0164705664, -0.0700864345, 0.0071511269, 0.0184649359, 0.0363198668, 0.0200576801, 0.038865421, -0.0521476902, 0.0200095661, -0.0128947021, -0.0039622704, 0.0640084818, 0.0020423429, -0.0255569853, -0.0409545004, -0.0186698623, -0.008976615, 0.0106714545, -0.0011809114, 0.0408341698, -0.004966564, 0.0320358016, 0.0082594054, 0.0072991159, -0.0150648188, -0.0335769951, 0.025303958, -0.0413306579, -0.0255383272, 0.005403921, 0.0598960407, -0.0061868727, -0.0242843702, 0.0579072312, -0.0078555709, 0.0408018753, -0.0521372482, 0.013683253, -0.0281110499, 0.0202266648, -0.0277959276, 0.0157109518, 0.0320072137, -0.0033907471, -0.0073121558, -0.026337957, 0.0417000391, 0.0247586872, -0.0377736688, 0.0263968855, -0.0049092923, -0.0038726905, 0.009839288, -0.0065891352, 0.0139089022, 0.0160496309, 0.0052005439, 0.0592465624, 0.0018929573, -0.000411122, -0.0055574775, 0.0744540095, 0.0247982461, -0.01336399, -0.0375265107, -0.0161110349, -0.0325772576, -0.0257322155, -0.0419272855, -0.0035828289, 0.0401455536, -0.0882427469, 0.0643636137, -0.0454890132, -0.0022885271, -0.0300384946, -0.0278014913, -0.0153108845, -0.0849446207, -0.0173346754, 0.000517918, -0.0575297773, -0.0064313542, 0.023335252, 0.0634706765, 0.0386462733, -0.0608556569, -0.0390388928, -0.0248644035, -0.0348610468, -0.0147589808, -0.0036424564, -0.0634268671, 0.0526429452, -0.0508228056, 0.0536189042, -0.0070445142, 0.0089653851, 0.0070346962, 0.0648753494, 0.0006059702, -0.0698692799, -0.0812044367, 0.008635574, -0.0487296581, 0.0220345613, 0.0121333329, -0.0276938677, 0.0069066938, -0.0287674684, -0.0043972195, 0.0133606158, -0.0178982094, -0.048197262, -0.0043496131, -0.0484221391, 0.0560727827, 0.0081269117, 0.0333668329, -0.0237738956, -0.0109193362, -0.0476194955, 0.0354022048, -0.0500209704, -0.0373126641, 0.037421193, 0.0018455804, 0.0458496809, -0.067484051, 0.0220474526, -0.0124027412, 0.0082094409, -0.0468768403, 0.051535327, -0.0394590124, 0.0254882891, -0.0351936258, 0.00807619, 0.0178563725, 0.0144382585, 0.0056817015, 0.0286700372, 0.0341502205, 0.0162903573, 0.0339259543, 0.0451999865, 0.0045273118, 0.0186808389, -0.0858026445, -0.0529286899, -0.0557194985, -0.0113564907, -0.0172761399, -0.0155892158, 0.0200434737, 0.036781434, 0.1228150278, -0.0482984148, -0.061296355, 0.0063780663, 0.0134812808, -0.0232358128, 0.0243567508, -0.0120910611, 0.0066732201, 0.0198796112, -0.0303128697, -0.0148596587, 0.0703633651, 0.0037411728, -0.0081022792, -0.0077322251, 0.0182597246, -0.0253061745, -0.014820151, -0.0325845107, 0.0423719026, 0.0638819933, -0.0297542792, -0.0134938248, -0.0176378768, 0.0302615389, -0.0157679133, -0.03684384, -0.0478130616, 0.0117109967, -0.0193784144, -0.0075626513, 0.0197254475, 0.0347136557, 0.0252460074, 0.0304322261, 0.0292027015, -0.0453703329, 0.0579898767, -0.0082082571, -0.0175029039, -0.0349198803, 0.0352856852, -0.006627549, -0.0213789977, -0.0185598396, 0.001915445, 0.0073118131, 0.0640348494, -0.0305491276, -0.0098225232, -0.0356576256, 0.0486765616, -0.0524640083, -0.0024188096, -0.0134501765, 0.0041875672, -0.0423991457, -0.01353662, -0.0522814058, 0.0020591971, -0.0511716418, 0.0082796253, 0.0497847572, -0.0101195965, -0.012650921, 0.0359362327, -0.0367862023, -0.043761082, 0.0369355753, -0.0077075921, 0.0098786084, 0.101131618, 0.0477778129, -0.0304561444, -0.0170799885, -0.0010004635, 0.0051253359, -0.0151247932, 0.0372842737, 0.0096619278, 0.0083214929, 0.0091796247, -0.0546605289, 0.0477695204, -0.0246171448, -0.0272584967, -0.0125084724, -0.0802492574, 0.0138264569, -0.0220461935, 0.0357387401, 0.0301097166, -0.0263776127, -0.068627879, -0.0264962912, -0.0242953897, 0.0461848155, 0.0257782005, -0.0394306295, -0.0412951671, 0.0240711197, 0.0027495027, 0.0424512997, -0.0510107577, 0.0153157199, -0.0115288487, -0.038394548, -0.0981383994, -0.0169798825, -6.070240338e-33, 0.0359589607, -0.0182671547, 0.0038332813, 0.0141971968, -0.035760764, 0.0243705176, -0.0422172286, 0.0130494274, 0.0367904343, 0.0295529366, -0.036757946, 0.004039526, -0.0047173374, 0.0416054279, 0.0390215442, 0.0088280579, -0.0177910142, -0.0111003285, 0.002647836, 0.0252491124, 0.0238392614, -0.0287750345, 0.0426367298, -0.091139771, 0.036142379, -0.0142502459, 0.0039424812, -0.0072942278, 0.0135326125, 0.0514698699, -0.0172474254, 0.056496378, 0.0320634171, -0.0176407844, 0.0139299082, -0.0482179001, -0.0665474907, -0.0013772293, 0.0089639314, -0.0893030539, -0.05757723, 0.0360480547, 0.0549615175, -0.0244929213, 0.0259824414, 0.0187101886, 0.0423064567, -0.0087637138, -0.0277724005, -0.0755549967, 0.0080907773, -0.000199591, 0.0037682222, 0.0506949425, -0.0155798187, -0.0535993576, -0.021250993, 0.0305531453, -0.0716430694, 0.0115353791, -0.0212700181, 0.0236391462, 0.0110976538, -0.0568895303, 0.0224787332, -0.0015433215, -0.0450069346, 0.0314346962, 0.0283989795, 0.0436816029, 0.0007972002, 0.0406798422, 0.0293096416, 0.0628406703, -0.0224184133, -0.0076746191, -0.0546306521, 0.0006788874, -0.0520319194, 0.0383930318, 0.0235940833, -0.0132928584, -0.0112770572, -0.0390165821, 0.021211436, 0.0040846472, -0.0377361365, -0.03163369, 0.0110942805, -0.0400408059, -0.0107874917, 0.0161537807, 0.0084511796, -0.0073103174, 0.0216273628, -0.0077881846, 0.053329818, 0.0309260134, 0.0118493335, -0.048009064, -0.0305771809, 0.003655877, 0.0149820065, -0.0023390891, 0.0351157673, -0.0228041839, -0.0067295167, -0.0084134527, -0.0117968144, 0.0356503949, 0.0119857378, -0.0234756581, -0.017369533, -0.054055687, -0.0341918543, -0.0048421933, 0.0443114303, 0.0021794077, 0.0315290466, 0.0255756676, -0.0290524177, -0.03570522, -0.0221777782, 0.0367406718, 0.0431702994, 0.0343930013, -0.0129765943, 0.027604904, 0.0243514478, -0.0124372337, -0.0127609288, -0.036630325, 3.051e-7, 0.0529633425, 0.0338901468, -0.0161005184, 0.058884237, 0.060930308, -0.0377264321, 0.039690502, 0.0194041133, -0.0053450018, -0.0506400652, 0.0085331183, 0.0159067735, -0.0111584393, 0.0209032614, -0.0194914714, -0.1147129536, -0.0134288371, -0.0652519688, -0.013568664, -0.0599320009, 0.0227070563, -0.1275933087, 0.0214896165, -0.0038578073, -0.0245605931, 0.0105765248, 0.0177118927, -0.0115915993, 0.0586292893, 0.0270282235, 0.0297389925, -0.0009233836, 0.0262964945, 0.0083187092, -0.0009304597, -0.0801718011, -0.0474613868, -0.0073657767, -0.0483283326, -0.004651668, 0.0382866189, -0.0504025556, 0.0034244317, -0.0364961512, 0.0080687022, -0.0513311625, -0.033297386, 0.0643514395, -0.0167911649, -0.0370428376, 0.089665249, -0.0421522595, -0.024713492, -0.0175582636, -0.0310372934, 0.0287144724, 0.0003165195, 0.015045966, 0.0677240416, 0.0268480685, -0.0044601876, -0.0494265296, 0.0151369125, -0.0586417131, -0.0047942526, -0.0515969992, 0.005221766, 2.654200123e-34, 0.0084736692, -0.0064999335, -0.0032119998, -0.0494250357, -0.0009780813, 0.0318535641, -0.0172597487, -0.0507923253, -0.0147580653, -0.0474952757, -0.0077864313 ]
http://arxiv.org/abs/2310.06505v1
http://arxiv.org/pdf/2310.06505v1
Evaluation of ChatGPT Feedback on ELL Writers' Coherence and Cohesion
2023-10-10T10:25:56
2023-10-10T10:25:56
Su-Youn Yoon, Eva Miszoglad, Lisa R. Pierce
cs.CL
cs.CL, cs.AI, I.2.7
Since its launch in November 2022, ChatGPT has had a transformative effect on education where students are using it to help with homework assignments and teachers are actively employing it in their teaching practices. This includes using ChatGPT as a tool for writing teachers to grade and generate feedback on students' essays. In this study, we evaluated the quality of the feedback generated by ChatGPT regarding the coherence and cohesion of the essays written by English Language Learners (ELLs) students. We selected 50 argumentative essays and generated feedback on coherence and cohesion using the ELLIPSE rubric. During the feedback evaluation, we used a two-step approach: first, each sentence in the feedback was classified into subtypes based on its function (e.g., positive reinforcement, problem statement). Next, we evaluated its accuracy and usability according to these types. Both the analysis of feedback types and the evaluation of accuracy and usability revealed that most feedback sentences were highly abstract and generic, failing to provide concrete suggestions for improvement. The accuracy in detecting major problems, such as repetitive ideas and the inaccurate use of cohesive devices, depended on superficial linguistic features and was often incorrect. In conclusion, ChatGPT, without specific training for the feedback generation task, does not offer effective feedback on ELL students' coherence and cohesion.
[ 0.0219777245, -0.0508877672, 0.0017297636, -0.0275972765, -0.055674661, -0.0172026306, 0.0038133003, -0.0472365618, 0.0354962684, -0.0605272688, 0.0197027642, -0.0048595448, 0.0149497092, -0.0091882972, 0.0048478092, -0.0517238937, 0.0042305575, 0.0231953431, 0.0311137717, 0.0221207086, 0.0306430999, 0.0137126772, -0.0319436342, 0.0337126814, -0.0165372901, -0.0621420927, -0.048143398, 0.0124267349, 0.0135106938, -0.0090774959, 0.0483615249, 0.0766834244, -0.0536562055, 0.0028873365, 0.0000023332, -0.0573561862, -0.0028111213, -0.0342776254, 0.0138864825, 0.0472452417, 0.0499145016, 0.0658263788, -0.0239637084, 0.0070959223, -0.0087531805, 0.0654431805, 0.0420797803, 0.0679573044, 0.0662079453, 0.0406179726, 0.0063372422, -0.0235218722, 0.0574822612, 0.053713087, 0.0292459168, 0.0436476208, -0.0397459008, 0.0373370312, 0.0385290682, 0.0092501957, -0.0251849927, 0.0192925297, 0.0166659001, -0.0769245774, -0.0078491727, 0.0046075336, -0.0653277785, -0.0236146376, 0.0319458991, -0.0035378712, 0.0485130735, -0.025196908, -0.0207586922, -0.0094170086, 0.0326955691, -0.0024030474, -0.0466103815, 0.0142512191, -0.0372824147, 0.0250612367, 0.0565853752, -0.0362435542, -0.0463979207, 0.0084732864, 0.0533068702, -0.0273024719, -0.010756406, -0.05437335, -0.0254736226, 0.0330687314, -0.0042646029, -0.0413329937, 0.0010289764, 0.0529575348, -0.0341358483, -0.0198010243, -0.0223685913, -0.0351184979, 0.0197273791, -0.0556526594, 0.0271302313, 0.024849508, -0.006005988, -0.0201903414, 0.0299198683, 0.0572918802, 0.0671617389, 0.0486896038, -0.0241601672, 0.0271820165, -0.0809738114, -0.0293702912, -0.0289151724, 0.0826856792, 0.0552722029, -0.0173998047, -0.0507687628, -0.0301965158, -0.0333292484, 0.0237099156, -0.0290907566, -0.004822968, 0.0074029802, 0.0204382651, 0.0083770277, 0.0385949165, -0.0065526227, -0.0314798914, 0.0077453009, -0.0182770658, 0.0268485844, 0.0281645264, -0.0211772863, -0.0139846103, -0.0268000942, -0.0589053817, -0.0336307809, -0.0089194225, -0.0216268394, -0.0407639444, -0.0106431162, -0.050175935, -0.0377560295, -0.0682451129, -0.0339632146, -0.0118933087, 0.0011147182, -0.0036881478, -0.0077768369, 0.0168360379, 0.0346334875, -0.0230724979, -0.0302487686, -0.00697518, 0.0320446342, 0.0033805033, 0.0208007824, -0.0191378221, 0.0361721106, 0.0084590912, 0.0251829047, -0.017348513, 0.0601753779, -0.0349891447, -0.0448051915, -0.0332889259, 0.0710953772, -0.0255604032, -0.0394074917, 0.0323836729, -0.0667067021, 0.0477851219, 0.0027939258, 0.09740863, 0.0541678444, 0.0307838321, 0.0516127534, 0.0270878915, -0.0565934442, 0.0276805274, 0.0556461364, 0.0638694391, -0.0013540399, -0.0167040993, 0.0099779107, 0.0369663574, 0.0267491825, -0.0013143527, -0.003038195, -0.0909248963, -0.0584042743, 0.0419851504, -0.0105326688, 0.0033287976, -0.0057201111, -0.0142792091, -0.0244630687, 0.0029043162, 0.0211266056, -0.0900755376, 0.0214495938, -0.0061162477, 0.0811537132, 0.084153235, 0.0211771186, -0.0032206089, -0.0535736345, -0.0342487432, 0.0644202605, 0.0472913943, 0.0260827132, -0.0074514281, -0.0362107605, -0.0218340736, -0.004485948, -0.0377898403, 0.0029511987, -0.0262831412, -0.0401887409, 0.0318184569, 0.0075904462, 0.036918927, -0.0807893053, 0.0425977148, 0.0329230987, 0.0133428676, -0.0024879351, -0.0044290246, -0.005396998, 0.0647647753, -0.0419014692, 0.0173198413, -0.0114074964, 0.011289469, -0.0226254743, 0.0101193525, -0.0530400425, -0.0136055071, 0.0353040807, -0.0802409276, -0.006743608, -0.0098479809, 0.0050151641, -0.0266923849, 0.0349853337, -0.0050802263, 0.0242623743, 0.0001495081, 0.0432156809, -0.0457743555, -0.0598312244, -0.0343031846, -0.0442045145, 0.0569667555, 0.0265240464, -0.0716898218, 0.0408602022, 0.0228866376, -0.0106187016, -0.0275381375, 0.0421285592, 0.0214892216, 0.0250551626, 0.0329963788, 0.049117513, -0.070738554, -0.0698668137, -0.0793832615, -0.0108528147, -0.0131246634, 0.0293451417, 0.0253635291, -0.0617801175, -0.0001338544, 0.0210518539, -0.0160028152, -0.0477579385, 0.0124550844, -0.042616386, 0.041827213, -0.045848377, 0.0122720208, -0.0287163127, -0.0159066636, -0.0271452591, -0.010076113, 0.0766826645, -0.028465163, -0.0371736996, 0.0354406834, 0.0176380742, -0.069309555, 0.0442768559, -0.0731900334, 0.0637148768, 0.0361497663, 0.0845045373, 0.0389915407, 0.04582588, 0.0182848219, 0.0281436127, -0.0523817837, 0.0038226277, -0.0130771529, -0.0011011967, 0.0041810675, 0.000769772, -0.0266247094, 0.0065918891, 0.0154470401, 0.0166463759, -0.0252163317, -0.0427168049, 0.0134644518, -0.056887053, 0.0559871532, -0.0281122904, -0.0557217374, -0.0047258274, -0.0312789008, -0.0195890926, -0.0052989786, 0.0378566571, -0.0097252149, -0.0118060512, -0.0675689206, 0.0165902153, -0.0225285627, 0.0203526709, -0.0352381654, 0.0080121858, 0.0134870522, -0.0103572905, 0.000706924, -0.0366873145, 0.0727940649, 0.0006677457, 0.0339318216, -0.0303015001, -0.0278597903, 0.0000865329, -0.0009934625, -0.0238895975, 0.0136722811, 0.0106249377, 0.0186912324, 0.0104458313, -0.0006455455, -0.0029359304, 0.006449393, 0.0337663479, -0.0230442937, -0.0615305714, -0.020701563, 0.0321755037, -0.0268078875, 0.0085066929, -0.0030541359, 0.0061758761, -0.0296419002, 0.0639123991, 0.0655690059, -0.0245973282, 0.0005999002, -0.0078841699, -0.0190402847, -0.0110615501, -0.0482238829, -0.0370248035, -0.0296497252, 0.065092355, -0.0676584244, -0.0129816653, 0.0926187858, 0.0062158373, 0.015219395, -0.0235779826, -0.0476058163, 0.0003526385, -0.0111591313, 0.0300918352, -0.0267102532, 0.0066410685, -0.0087906076, 0.0007687049, -0.0129954629, 0.0005019995, 0.0109515199, -0.0432487838, 0.0336417221, 0.0098759755, 0.0247219075, -0.0145886382, 0.0068234424, -0.0437891297, 0.0248383079, -0.0039243014, 0.0094596939, -0.002981669, 0.0283467341, 0.0661843866, -0.0767205879, 0.0133097451, -0.0541489683, -0.0195687767, 0.0197569318, -0.0020401441, 0.0304847434, -0.0259735137, -0.0436981618, 0.0553967506, 0.0215727706, -0.0314974114, 0.0038806186, 0.0085415309, -0.021572493, 0.0289253574, -0.0578048714, 0.0305367019, 0.0101312222, -0.0556437597, 0.0691919401, 0.0422995389, -0.0219978523, -0.0299970787, -0.0137397666, 0.0370544195, -0.0133410143, 0.0432582833, 0.0319749936, -0.0203378238, -0.0319610015, -0.0297660176, -0.0031723131, -0.0315223932, -0.006098378, 0.0200613625, -0.0258356277, 0.0814664289, -0.0220233016, -0.1045665592, 0.0300396476, 0.0205047838, 0.018080283, 0.0428362824, -0.0141730607, -0.0002345984, 0.0132369185, -0.0140856402, 0.0709375739, -0.0089711966, -0.055600509, -0.0006115228, -0.0734479502, -0.008633065, -0.0112306885, -0.0220845193, -0.0181283392, -0.0387074351, 0.0522656925, 0.0169962738, 0.0031101319, -0.0297039002, 0.0276536196, -0.0183976665, -0.0156463329, -0.0287119485, 0.010255808, 0.0160056017, -0.004596706, 0.0201723203, 0.0266163219, -0.0016161707, 0.0414642617, -0.0025716557, 0.0205512606, 0.0166480765, 0.0381982028, -0.0207622331, 0.0117714368, 0.0608286299, 0.0368625447, -0.017988611, -0.0158050545, -0.0614492781, -0.0025256635, -0.0251829177, -0.0509939417, -0.0059345737, 0.0156566817, -0.0431072935, -0.0456096604, 0.0032611846, 0.0370833986, -0.0890766159, 0.0496217534, -0.0238290932, 0.0670790896, -0.0398471542, -0.0036987567, -0.0032101234, 0.0089591332, -0.033080183, 0.0066016568, -0.0032688773, 0.0321143083, 0.0054660379, 0.0516909733, 0.0167633146, -0.0021254586, 0.0630882829, 0.0207715668, -0.006547288, 0.020870002, -0.010632853, 0.0264643878, -0.0027141932, 0.0060462495, 0.0752586871, -0.0256714988, 0.0114753153, -0.0338381194, 0.0779178739, 0.0050003217, -0.0175522678, 0.0000200007, -0.0005208171, -0.013483, -0.0698115081, -0.0049802079, -0.1020127162, -0.0558822118, 0.0159986094, 0.0002673052, -0.0225849953, 0.0117512839, 0.0329920873, 0.0028971341, 0.0327541195, -0.0037041968, -0.0281399805, 0.0233708601, -0.0073884898, 0.0221916623, 0.0289573278, -0.007173148, 0.0102696605, 0.047442086, -0.0090918569, -0.0001813324, -0.0408677384, -0.0021719646, -0.020413043, 0.0146824326, 0.0113115842, -6.018464587e-33, -0.0003952949, -0.0375907756, 0.0148867108, 0.1025241688, -0.0385256074, -0.0068449425, -0.0322186947, 0.0653194487, 0.028950328, 0.0663851127, -0.000803293, 0.0187531281, -0.0096912524, 0.0468308702, 0.0468722284, 0.0114564169, 0.0326572992, 0.0724624842, -0.0141969742, -0.0172995552, -0.0162245426, -0.0189492796, 0.0999754071, -0.0246619731, 0.0767495781, -0.0575348251, -0.0163145047, -0.0346694253, -0.0295162816, 0.0389478654, 0.0274512079, 0.0542857051, 0.0178156812, -0.026483899, 0.0064136432, 0.0105209174, 0.0044098296, -0.0885851085, 0.0188595373, -0.0066971988, -0.0484411679, -0.049152758, 0.0103422841, -0.0026096292, -0.0231741779, -0.0341433138, 0.0372243598, 0.0391275026, 0.0060027675, 0.0139121283, -0.0808061138, 0.0330673046, -0.0301950462, -0.0325180478, -0.0231612734, 0.0435674861, -0.0137899341, -0.0586218722, -0.0451008379, 0.0302720107, 0.0276130121, 0.0475878753, 0.0091768168, -0.032229837, -0.0465339758, 0.0670001805, -0.0322098136, 0.0238287933, -0.048255641, 0.0541375428, 0.0142934136, -0.0366177484, 0.0764880031, 0.0322769955, 0.0201982781, -0.0153014278, -0.009954283, 0.0068632648, 0.0219677109, 0.0484477207, 0.0217698105, -0.0335855894, -0.0358664356, -0.048311606, -0.0373734906, -0.0130048851, 0.0093729915, -0.0604012795, 0.0112052364, -0.0531278141, 0.0020832524, -0.030699091, -0.0438925251, 0.0351652652, -0.0261074528, -0.0425324552, -0.0471314453, 0.0295895841, -0.0293492582, -0.0091769444, -0.0177561361, 0.0138059929, -0.0234071072, 0.0606467836, 0.0177092198, 0.0110595822, 0.0415451452, -0.014314157, -0.0277480148, -0.0236280132, -0.0011123541, 0.0387213789, -0.0030050497, -0.0390594266, -0.0032518338, 0.0356845334, -0.012464215, 0.0740432218, 0.0034399524, -0.0113377264, -0.0221106634, -0.0316512622, 0.0192959532, -0.0369507, 0.0170321707, 0.0178103913, -0.0200854298, 0.0154992929, 0.0138062406, -0.0198921934, 0.0014686628, -0.0274905656, 2.946e-7, 0.0237906892, 0.0400854424, 0.0150886215, -0.0340622924, -0.0279567689, 0.0179000925, -0.020458553, -0.0122201871, 0.0261506923, 0.0259999447, -0.0220475961, 0.0062749968, 0.0443179272, 0.0546417087, -0.049993068, -0.0345383137, -0.0523462035, -0.0370899253, -0.0304253642, 0.0633249134, 0.1250362396, -0.0335352086, 0.0185003746, -0.0194123127, -0.024818873, 0.0179749057, -0.0050643655, -0.0113077806, -0.0414180793, 0.0400920101, 0.0489811115, -0.0609217063, 0.0581525937, 0.0274275746, 0.007270413, -0.0690817833, 0.009114434, 0.0255424753, 0.0118021965, 0.0199287329, 0.0239806324, 0.0250111353, 0.0018670217, -0.059334565, 0.0492460802, -0.0373644009, -0.0223646294, 0.003166141, 0.0175129529, -0.0385475866, 0.0334833153, -0.0058062398, -0.0178985689, 0.0053369091, 0.0066383104, -0.0331402607, 0.0294104256, -0.0004050553, -0.0482025668, 0.0309397224, 0.0262447521, 0.0098358653, -0.0165270139, -0.0057409396, -0.0037445382, -0.0589846261, -0.0112107405, 2.422720719e-34, 0.0217115507, -0.0312967524, 0.0638318732, 0.0019430084, -0.0008916117, 0.0338182263, 0.0463454053, 0.0117037762, -0.0006699959, 0.0300871246, -0.0157608073 ]
http://arxiv.org/abs/2310.06504v1
http://arxiv.org/pdf/2310.06504v1
Revisit Input Perturbation Problems for LLMs: A Unified Robustness Evaluation Framework for Noisy Slot Filling Task
2023-10-10T10:22:05
2023-10-10T10:22:05
Guanting Dong, Jinxu Zhao, Tingfeng Hui, Daichi Guo, Wenlong Wan, Boqi Feng, Yueyan Qiu, Zhuoma Gongque, Keqing He, Zechen Wang, Weiran Xu
cs.CL
cs.CL, cs.AI, cs.LG
With the increasing capabilities of large language models (LLMs), these high-performance models have achieved state-of-the-art results on a wide range of natural language processing (NLP) tasks. However, the models' performance on commonly-used benchmark datasets often fails to accurately reflect their reliability and robustness when applied to real-world noisy data. To address these challenges, we propose a unified robustness evaluation framework based on the slot-filling task to systematically evaluate the dialogue understanding capability of LLMs in diverse input perturbation scenarios. Specifically, we construct a input perturbation evaluation dataset, Noise-LLM, which contains five types of single perturbation and four types of mixed perturbation data. Furthermore, we utilize a multi-level data augmentation method (character, word, and sentence levels) to construct a candidate data pool, and carefully design two ways of automatic task demonstration construction strategies (instance-level and entity-level) with various prompt templates. Our aim is to assess how well various robustness methods of LLMs perform in real-world noisy scenarios. The experiments have demonstrated that the current open-source LLMs generally achieve limited perturbation robustness performance. Based on these experimental observations, we make some forward-looking suggestions to fuel the research in this direction.
[ 0.0544507988, 0.0670243204, -0.0115023674, 0.0453845188, -0.0220193956, -0.0021299839, -0.0058241375, 0.0013403387, 0.0215291064, -0.0431241803, -0.0404443704, -0.0583856776, 0.0099922772, 0.0200937204, 0.0405465066, -0.0408993959, 0.0717313737, -0.0647737384, -0.0252814963, 0.0203796271, 0.0000343312, -0.03999855, -0.033776883, 0.0485324748, -0.0107027972, -0.0119978776, -0.0186547097, 0.037637677, 0.0000058104, -0.0224374402, -0.0063619651, 0.0844387487, 0.0179909989, 0.0427758843, 0.000001964, -0.0408701599, 0.0255088229, -0.0043425974, -0.0973629132, 0.0160843208, 0.0166896824, 0.0038006911, -0.0131108668, -0.0116151087, -0.0097814212, -0.0270482879, 0.0402277932, 0.0447237566, 0.073639594, 0.0795604587, 0.0190568883, 0.0148723321, 0.0313255489, -0.0234987251, 0.0148752956, -0.0605809651, 0.0454818904, -0.0068877037, 0.0367970392, 0.030617604, -0.0149729205, 0.0166004375, 0.0155973276, -0.0414535478, 0.0069869692, 0.0119292755, -0.0451586135, -0.0045142951, -0.050209105, 0.1006943285, 0.0096785771, 0.0188719369, -0.0432792604, -0.0199644342, 0.0142781055, 0.0040819878, -0.033878468, -0.0272820443, 0.0251328852, 0.005427557, 0.0120188072, -0.0026701691, 0.0277815834, 0.0133656645, -0.0161735825, 0.0654057935, 0.000190246, -0.0703382269, 0.0028595566, -0.0248217359, -0.0238988064, -0.0558383912, 0.0005957612, 0.0263280533, -0.084511973, 0.0429331213, -0.0543547384, -0.0454736948, 0.0253381785, -0.05043035, 0.042303063, 0.0507888198, -0.0396269225, 0.0585623495, 0.0207176059, 0.0580580421, -0.023394566, 0.0169079006, -0.0135883018, 0.0224301293, -0.0305308476, -0.0219760388, -0.0196958892, 0.0290750023, -0.043674428, -0.0205510184, -0.0201518759, 0.0382951386, -0.0057833726, 0.021559421, 0.0169181749, -0.0030678203, -0.0263117515, -0.0173055474, -0.0352836587, 0.0162865557, -0.0119439652, 0.0095791733, 0.0180729013, -0.0661887452, -0.0414943881, 0.0181838311, -0.0099944035, -0.0538300872, -0.0188790672, 0.1003106385, 0.0225606747, -0.0371922478, -0.040291138, 0.0048384364, -0.0244806651, -0.0710902587, -0.0549935922, -0.0332776941, 0.0398008376, -0.0030345598, 0.0060105012, -0.0628942326, 0.0398994423, 0.0168222617, -0.0322940946, 0.1081272662, -0.0142592508, 0.009851262, 0.0155055616, 0.0072117178, -0.0267809946, 0.0766480044, 0.0453641564, -0.0304608401, 0.0387620628, -0.0087771378, 0.0068726223, 0.0499708727, -0.0136310495, -0.0085387593, -0.0083775986, 0.0216610357, 0.0128378635, 0.0291327201, 0.0018842155, 0.0663679838, -0.048075553, -0.0118057812, 0.0624665655, 0.0338890292, -0.0051602167, -0.0148689048, 0.0068732738, 0.0255620088, 0.0228073355, 0.02127482, -0.0744466633, -0.0154833263, -0.0194222741, -0.0034047135, 0.0314661115, -0.0203788392, -0.0114292149, -0.0429974832, -0.0248126779, -0.0044579096, 0.0173422098, -0.0134056238, 0.040437188, -0.0075225676, -0.0479320921, 0.058510378, 0.0276054889, -0.0320706032, -0.0012198096, -0.0171435736, -0.0312738307, 0.0722267479, 0.055998791, -0.0633365363, -0.0561474822, -0.0498020276, 0.0157668814, 0.0588300154, 0.0467850305, 0.008895305, 0.0390931554, -0.0412750505, -0.0124519942, 0.0090860212, 0.0137725705, 0.0385831967, 0.031270586, -0.0411120169, 0.0085692899, -0.013544485, -0.0162998866, 0.0401476286, -0.0309784766, -0.0446466394, 0.0219346434, -0.0091262199, 0.0400650948, 0.0230681133, -0.0232154932, -0.0091869496, 0.019683376, -0.0202273838, 0.0295703076, 0.0320152119, -0.074260138, -0.0426869728, 0.0481037572, 0.0343783163, -0.0559462681, 0.0199729167, -0.0284162685, -0.0400208607, -0.0068181376, -0.0349097475, -0.0158985872, -0.0594754778, 0.0368266106, 0.0134600718, 0.0226491503, -0.0332559012, 0.0543587841, -0.0060538175, 0.0303274412, 0.0518955179, 0.0434368923, 0.0200830605, -0.0740652829, -0.055340305, -0.0186885167, -0.026409369, -0.0077726487, -0.0092486804, -0.0174182914, -0.0398479849, -0.0262400806, -0.0639502555, -0.010193957, -0.0241320077, 0.0159223489, 0.0037845739, 0.0118028335, -0.0155650917, -0.0175455604, -0.0052896757, -0.0371800959, 0.0165847279, 0.0028339305, 0.0363905467, 0.0291550215, -0.0051851938, -0.0409770012, 0.0181089919, -0.0146318385, 0.0331901051, -0.0290818997, -0.0623883903, -0.0529180989, 0.0235447492, 0.0247082412, 0.0451117158, -0.0214451272, -0.0195814762, 0.0185702536, 0.0257853977, 0.0569541566, 0.0498327613, 0.003521844, 0.0220414046, 0.0117789228, -0.0240140911, -0.0465568639, 0.0521694422, 0.0020545011, 0.009365621, -0.0573906749, 0.0100632636, -0.0049294801, 0.0607492551, -0.0067748148, 0.0162976198, -0.0337517932, 0.0090574734, -0.0213247798, -0.0598968007, -0.0328115672, -0.0334067233, -0.0766094625, 0.0268520601, -0.0503006093, -0.0201997347, 0.0904712975, -0.0495781973, -0.0192890223, -0.0070776637, 0.0104130218, -0.0331329182, 0.0308492053, 0.0000219158, -0.0182563327, 0.0124878269, -0.0618852042, -0.0262120869, -0.0164897982, 0.0024056179, -0.035152588, 0.0434033908, -0.0519093536, -0.0010536263, -0.0040659388, -0.0511338115, -0.0768497065, -0.0418511182, -0.0051810401, 0.0076507055, 0.0129443677, -0.0204955265, -0.0158595219, 0.028826531, 0.0056883451, 0.0325727314, -0.0145071875, 0.0204452202, -0.0358276851, 0.0472173393, 0.0230801497, 0.0709113777, -0.0039799879, -0.0162504204, 0.0584109835, 0.0289707705, -0.0117676025, -0.015980795, -0.0055970093, 0.032901708, 0.0128643634, -0.0296042804, 0.000598393, 0.0182050224, 0.0768042654, -0.0779458731, -0.0068104779, 0.0965156481, 0.0404784381, -0.007451673, 0.0028101774, -0.007286611, 0.0157959573, 0.0356489122, 0.0272355042, -0.0842354, -0.0259344671, 0.0292493049, 0.0219271854, -0.0081676533, -0.041560933, -0.0111609073, -0.127455458, 0.0367679484, -0.0050297575, -0.0326061994, -0.0220369343, -0.0251597334, 0.0567694902, 0.0035121068, 0.0712436438, 0.0213976149, 0.0215961263, -0.0284674987, 0.0390425399, -0.0130923456, -0.0791798756, -0.0255411509, -0.0244695004, 0.1079913378, 0.0316215418, -0.0156564228, -0.009624131, 0.0197326913, 0.0478450432, 0.0130531481, 0.006369377, 0.0058295457, 0.0370698981, 0.006711775, -0.0226268824, 0.0097328182, 0.0139377601, -0.0092483293, -0.0343121924, -0.006895985, 0.0498788431, -0.0233813804, 0.0570647568, -0.0110278074, -0.0056939689, 0.0489821136, 0.083841823, 0.051716838, -0.0339395776, -0.0146172121, -0.0294059236, -0.0126593206, -0.0615049973, 0.0005935289, 0.0130764237, 0.0239358433, -0.0040122727, -0.0283386689, -0.0437112637, 0.0209151823, 0.0064941873, 0.0234427284, 0.0316576324, 0.0040783212, -0.0058914251, 0.0200315677, 0.0192425754, -0.0338012092, 0.0400240943, -0.0599028952, -0.0138636716, 0.0156583115, -0.009670794, -0.0106866695, 0.0258756224, -0.0984596908, -0.0824026614, 0.0137517108, 0.0288293101, 0.0227494668, 0.0589784347, -0.0256911367, -0.0523907021, 0.0031764288, 0.0201383494, -0.0484428331, 0.0046503744, 0.0323288478, 0.0158654824, -0.0088246027, 0.036588233, -0.0191247743, -0.0126645062, 0.0133453896, 0.06008856, -0.0335826837, -0.0701224878, 0.024167005, 0.0162498727, 0.0226688795, 0.0124685615, -0.0121144643, -0.0246633515, 0.056844037, -0.0340740979, -0.0255953986, -0.0348401703, -0.0036537626, 0.0168033987, -0.0372614264, 0.0077754073, -0.0486683585, -0.0387906358, 0.0957270712, -0.0257289633, 0.0161696523, 0.0111979768, -0.0491656512, 0.0171992537, 0.018124707, -0.0141974138, 0.0402640998, 0.0026275609, 0.0283216666, 0.002402754, 0.0589251444, -0.0049513495, -0.037501011, 0.0144927204, 0.0201303586, -0.0614074022, -0.0112800281, -0.0124332663, 0.0554614551, 0.0093924431, 0.0034329959, 0.0123035479, -0.0246742722, 0.0053164, -0.0233165305, 0.0051480075, 0.0181571413, 0.0139613273, 0.0488931723, 0.0505356565, -0.0018853026, 0.0361169465, 0.0832130387, 0.0142536042, 0.0308686867, 0.0020175104, 0.0364109054, -0.0579405278, -0.014870286, 0.0069076, 0.0655764341, -0.0485085808, 0.0365566239, -0.0469768085, -0.0613741502, -0.0100441603, 0.0110838814, -0.0013660011, -0.0076230695, -0.0020431732, 0.0153492065, -0.0095823519, 0.014733742, -0.0180627983, -0.0194611624, 0.0265160128, -0.0119262617, -0.0400340669, -6.048593977e-33, -0.046144899, -0.0071615516, -0.0140450792, -0.0161356926, -0.0218343399, -0.0091669606, -0.0204814523, 0.0303473864, -0.0047301413, -0.0133386878, -0.0306134596, -0.0038946697, 0.0234146323, 0.0141983246, -0.0232726093, -0.0396470316, 0.0406428538, -0.0087970207, -0.02161007, -0.0206789635, -0.0172969196, 0.0310190879, 0.0405252241, -0.0705660209, 0.0722521171, 0.0092200125, -0.0155239049, 0.032341212, -0.0016206618, 0.059742827, -0.0145447291, 0.0633553267, 0.0051835091, -0.0635307357, -0.0190536547, 0.030528672, -0.0839588344, -0.0336727835, 0.0505368412, 0.0379371978, -0.0042714444, -0.0220381338, 0.0193865765, -0.0192160588, 0.0123069203, 0.0122393835, -0.0105529279, -0.0342347696, -0.0158163067, 0.0125392191, -0.0210499335, 0.0538067669, -0.0333088301, -0.0380698554, 0.0136838667, 0.0476255827, -0.0070709493, -0.0155214379, -0.0540340357, 0.0034835925, 0.0539858341, 0.0277921613, 0.0210941732, 0.0236597527, -0.0042163404, 0.0540409125, 0.0046045179, 0.0273636729, 0.0078091538, -0.0354962312, -0.0099646552, 0.0178557411, 0.0165577177, 0.0489519797, 0.0348722488, 0.0216801073, -0.0256933011, 0.0056341253, 0.0281998646, 0.0451057591, 0.0375191197, 0.0162344705, -0.0674674585, -0.0269855279, -0.0434701815, -0.0062042167, -0.0451259613, -0.0422122926, 0.0470069684, 0.002725618, -0.0211437717, -0.0020784482, 0.0384243317, -0.0476310439, -0.0143064409, 0.0144016864, 0.0281669982, -0.0005774096, 0.0079571251, 0.0170037523, -0.0301848557, -0.0401929542, 0.0479098186, 0.0177175496, 0.0218822602, -0.0185805857, 0.0088735381, 0.0212818123, -0.0553611666, 0.0037827482, -0.0200998355, 0.0359696187, -0.0075324248, 0.062557593, 0.0497955419, -0.0158752799, -0.0214142036, 0.050093133, 0.0207034033, -0.010861977, -0.0314108506, 0.0021330155, -0.0004244608, 0.0284972154, -0.014340492, -0.0048788213, 0.0091651799, -0.0110934088, 0.0120288329, -0.0265350547, 0.0292719807, 0.0139155518, 2.76e-7, 0.0355549492, 0.0660578012, 0.0384912677, 0.0175644346, 0.0169109628, 0.0085844761, -0.0563852601, -0.0013243535, 0.0223001447, -0.0424795933, 0.0035360996, 0.0147379488, 0.0551899746, 0.013331037, -0.1025489196, -0.0525648147, -0.0534619875, 0.0133284358, -0.0515611656, 0.0087470682, 0.0904315859, 0.1010938063, -0.0189534631, 0.0051707355, -0.0213017259, -0.063061513, 0.0267835725, -0.0529996231, -0.0230657421, 0.0205680449, 0.0530132465, 0.0239192471, 0.0158686507, 0.0518830828, -0.0111403149, 0.0311384052, -0.0051340838, 0.0611929074, 0.0045467964, -0.0509264879, -0.0156300627, -0.0083772102, 0.0062250001, -0.0586415716, 0.0568875782, -0.0540970415, -0.0211242232, -0.0303700007, -0.0208937358, -0.0352370888, 0.029651409, -0.0218261555, -0.017610481, -0.0137240235, 0.0386882573, 0.0028021345, -0.0287334695, -0.0645122603, -0.0664500222, -0.037068367, -0.0502257459, -0.0428529382, -0.0307415612, -0.0587802902, 0.0022947306, -0.0534133762, -0.0061111329, 2.565001453e-34, 0.0530892834, -0.006532589, 0.0324863084, 0.071579963, 0.0317070074, -0.0049314825, 0.0160190314, 0.0042310366, 0.0028322174, -0.0886942074, -0.0172700807 ]
http://arxiv.org/abs/2310.06502v1
http://arxiv.org/pdf/2310.06502v1
The Limits of ChatGPT in Extracting Aspect-Category-Opinion-Sentiment Quadruples: A Comparative Analysis
2023-10-10T10:19:58
2023-10-10T10:19:58
Xiancai Xu, Jia-Dong Zhang, Rongchang Xiao, Lei Xiong
cs.CL
cs.CL
Recently, ChatGPT has attracted great attention from both industry and academia due to its surprising abilities in natural language understanding and generation. We are particularly curious about whether it can achieve promising performance on one of the most complex tasks in aspect-based sentiment analysis, i.e., extracting aspect-category-opinion-sentiment quadruples from texts. To this end, in this paper we develop a specialized prompt template that enables ChatGPT to effectively tackle this complex quadruple extraction task. Further, we propose a selection method on few-shot examples to fully exploit the in-context learning ability of ChatGPT and uplift its effectiveness on this complex task. Finally, we provide a comparative evaluation on ChatGPT against existing state-of-the-art quadruple extraction models based on four public datasets and highlight some important findings regarding the capability boundaries of ChatGPT in the quadruple extraction.
[ 0.0352697223, 0.0596467443, 0.0068010269, 0.0401208512, -0.0607590601, 0.0305651017, 0.018364327, 0.0146251628, -0.0100285616, -0.0501509719, -0.040620558, -0.0195856653, -0.048038058, 0.0128536616, -0.0253692847, -0.0185018089, 0.0619712248, 0.0263220407, 0.0598908328, 0.0153108826, 0.0308058951, 0.0557083003, -0.0255920216, -0.0047979369, -0.049935516, -0.0259262845, 0.013050464, -0.0065797772, 0.0128256725, -0.0364410467, 0.0443986356, 0.0213712137, -0.0058503626, 0.0008859477, 0.0000018954, -0.0178291984, -0.0532493331, -0.0180195123, 0.0284039024, -0.0005680689, 0.0883345455, -0.0129478481, 0.0104649514, -0.0117356004, -0.0608841367, -0.021835696, -0.021602124, 0.0796754658, 0.0450825579, 0.0706390887, -0.0347423479, -0.0297788419, -0.0328396223, -0.0132916439, -0.037485674, -0.0454152972, -0.0006019567, -0.0044392534, 0.0005320064, 0.0753366202, 0.0264116526, -0.0095423609, -0.0040674563, 0.0339726098, -0.0438628085, 0.0270154849, -0.0332098715, 0.0194483362, -0.0199044701, 0.0336290114, 0.0238670018, 0.0273620225, 0.0173337311, -0.0100681689, 0.0153421992, -0.0090892054, -0.005727076, -0.0168111306, -0.0336578675, 0.0170397721, 0.0481617302, 0.0154563366, -0.0350431465, 0.003187848, -0.0209905785, 0.0377914384, -0.0113501744, -0.0372626372, 0.049851127, 0.0606970303, -0.0084264772, 0.0060868259, -0.0064855632, -0.0177081246, 0.0008715042, 0.0228024423, -0.0007278418, 0.0582571402, 0.01294991, -0.0181591026, -0.005778328, 0.0019218363, -0.0402526744, 0.0458693393, 0.0105519835, -0.017221272, 0.0178384837, 0.0187223293, -0.0041823247, 0.0350013003, -0.0943551213, 0.0112194438, -0.0407968834, 0.0517145805, -0.024250593, 0.0073634759, -0.0443232358, -0.0015133865, 0.0217948463, -0.0087577729, 0.0466552526, -0.0341440514, 0.0127111925, 0.0250637177, 0.0172053799, 0.0522727594, -0.0464791358, 0.0231193472, -0.0143002141, -0.0384611674, -0.0082995659, 0.0048586186, 0.0155820185, -0.0432555713, 0.0128274094, 0.0298263337, 0.0025381781, -0.0756023005, 0.0136670489, -0.028292058, -0.0438123681, -0.0448255017, -0.0320824645, -0.0410818458, 0.0662639961, -0.0271514338, -0.0189952571, 0.0252316967, 0.0105320448, 0.0113529777, -0.0284493472, 0.0187563635, -0.040749386, -0.0296829846, -0.0425787307, 0.0052557755, 0.0085605839, 0.0361609161, -0.0226000194, 0.0397656225, 0.0607593395, 0.0177683253, 0.026136769, 0.0196241215, -0.0070452602, 0.0009158124, 0.0552927814, -0.0219482463, -0.0490208119, -0.049649898, 0.0054945624, 0.0467209816, -0.0157034658, -0.0306117963, 0.0222104397, -0.0145208146, 0.021351682, 0.0697889552, 0.0272505637, 0.0249665622, -0.0131666008, 0.0301952772, -0.0137709696, 0.00920201, -0.0265831687, 0.0030972559, 0.0043440876, 0.0247871689, -0.0094533712, -0.0566416122, 0.0050651687, 0.0094373636, 0.0056200973, -0.0126024373, 0.055036705, -0.0123039614, -0.0499739759, -0.0241157133, 0.0837279037, -0.0378795266, -0.0330810919, -0.0366893709, 0.0372471847, 0.0310827028, 0.0374184772, -0.0250790082, -0.0254727881, -0.0069629024, -0.0279740803, 0.0079155592, 0.0627794042, -0.0175625458, 0.0008215861, -0.0316151418, 0.018273389, 0.0015741682, 0.0154150585, -0.0079661673, 0.0032263449, 0.0482710786, -0.0268628001, 0.0217577722, 0.0379344709, -0.0055891965, 0.0090994202, -0.0394395366, 0.0175570436, -0.0051766699, 0.0111017795, 0.0551198833, -0.0200880468, -0.0219545066, 0.0260898303, -0.0357127413, -0.0459381193, 0.0315496214, -0.059644118, -0.0816651806, -0.0144491773, 0.0172594488, -0.0118665071, -0.0159671195, -0.0410005674, 0.007752093, -0.0232282896, 0.0108820572, 0.0204977114, -0.0296680462, -0.0262273941, 0.0481094643, 0.0328861512, -0.0292692687, 0.0679517761, 0.0058685862, -0.0270081107, -0.0283749718, -0.0461594984, 0.0035051233, 0.0205972269, -0.0164027177, 0.0155296279, 0.0018690057, 0.0129376361, 0.0225450229, 0.0602744371, -0.0308093596, -0.0652691498, -0.0935397148, 0.0184586756, -0.0054015773, 0.0644182563, 0.0168808829, -0.0057230117, -0.0198895428, 0.0363365263, -0.0510326736, 0.002031879, -0.0322415866, 0.0159614868, 0.035402894, 0.0316758044, 0.0173599403, -0.0247061197, 0.0087626996, -0.0437253751, 0.0024741832, -0.0033598444, -0.0582405403, -0.0094855046, 0.0482488535, -0.0121815531, -0.0168414377, -0.0060490821, -0.0142584415, -0.0079138, -0.0598242842, -0.0193501972, 0.0094532231, 0.0118574398, 0.0731912926, -0.0296752229, -0.0270259082, -0.0192807838, 0.0420227908, -0.0925345495, -0.0202701241, 0.0178930983, 0.00860913, 0.0389504433, 0.0469858348, 0.0251309332, -0.0025061062, -0.0460054316, 0.0208130088, -0.0037258328, 0.030072052, -0.0024458217, 0.0573131591, 0.0123213716, 0.0302107986, 0.0200035423, 0.0255888831, 0.0521010198, 0.0346280672, -0.0082228547, -0.0828483924, 0.0021919778, -0.0509914123, 0.0782511011, -0.0479633473, 0.0025215964, 0.0326119959, -0.0017416984, 0.0051216758, -0.0446179919, 0.0045048222, 0.0007500797, 0.0217698272, -0.0063134553, 0.0121962382, 0.0035565814, -0.0520475656, 0.0309433509, -0.0536040515, -0.0240353979, 0.0033614479, -0.0291054845, 0.0099868784, 0.0262287892, -0.0325087644, -0.0200277288, -0.0128637254, -0.0280605964, -0.0286309998, 0.0112678409, 0.0855728686, 0.0457261987, -0.0259060096, 0.009347178, -0.0124740778, 0.010909481, 0.0961637273, -0.0181286335, 0.0482710525, 0.0260704234, -0.0020340974, 0.0306412913, -0.0042357603, -0.0038703077, -0.0436895974, 0.0854539052, -0.0498147272, -0.0300211459, 0.1087143347, 0.0420294814, -0.0595786087, 0.0220673699, 0.0246722866, -0.0131342886, -0.006592805, 0.0169024393, -0.0859301835, -0.0453864746, -0.0448991507, 0.014490244, -0.0180016328, -0.0184311103, -0.0206668582, -0.0833790228, 0.0374544747, -0.0200923476, -0.0280372687, -0.0340086482, -0.0072606918, 0.0237720571, -0.0440750942, -0.0109542664, -0.0070941574, 0.0050166626, 0.0119002443, -0.0029554234, -0.0127190789, -0.0088245235, 0.0943495259, 0.0264060553, -0.0160475578, 0.0053219921, 0.0352615379, 0.0050510974, -0.0112202028, 0.0282905251, -0.0891335681, 0.00596917, -0.030170802, 0.03451401, -0.0377798788, -0.0306197442, -0.0162948407, 0.0135605596, -0.0447877571, 0.0119755846, 0.0253920965, 0.0241838619, 0.010955045, -0.0334300585, -0.0076317503, 0.0482566506, 0.0134571372, 0.0672545508, -0.015699923, -0.0679009855, -0.0022729654, 0.0028029655, -0.025956206, -0.063447848, -0.0707042962, -0.010059881, 0.0002355672, -0.0198720433, -0.0699274689, -0.0543805771, 0.0017380262, 0.0539932512, -0.0500176437, -0.0189569071, 0.0212623719, 0.0382953025, -0.0044106054, -0.0206681341, -0.0128884763, -0.0263405163, -0.0078530228, -0.0123219937, 0.0884232521, -0.0159251206, -0.0276530795, -0.0074501401, -0.0563202202, -0.0279069208, -0.006686307, 0.0242618378, 0.007819565, 0.0276263971, -0.0177450143, 0.0466776378, -0.0011100508, 0.0940520912, -0.0320167653, 0.0012756228, 0.0345623642, 0.076105386, 0.0101353563, 0.0359576792, -0.0012630066, 0.0582799502, 0.0054279147, 0.0012472629, -0.0713990629, -0.0212989356, 0.0390536673, 0.007064234, 0.0458753295, 0.0281771794, 0.0148304822, -0.0210465714, -0.021391971, -0.0212795176, -0.0143354926, -0.0528599136, -0.0000808388, -0.0326455757, -0.0442384705, -0.0739279911, -0.0082176235, -0.0046921945, 0.0513534397, -0.0404942334, 0.0135300448, -0.0005406445, 0.0059878821, -0.0267432667, -0.031179063, -0.0251405071, -0.0159357507, -0.0113505805, 0.0059047546, -0.0412728414, 0.0953480005, 0.0188030563, -0.0055984189, 0.0093287956, 0.0455270521, -0.0271248482, 0.0386063419, -0.020733133, 0.0116157774, 0.0100515569, -0.0312338304, 0.0499254838, -0.0389505476, -0.0269724242, 0.0017465022, 0.0394791998, 0.0090330336, 0.0157423168, 0.0273199212, 0.0150220254, -0.0285169315, -0.0333504938, 0.0468822829, -0.121280998, 0.0257961117, 0.1009840146, -0.0105483001, -0.0548462607, -0.0169475786, 0.014335609, -0.0032952875, 0.0514624231, 0.0401265919, -0.0853951946, -0.0047360542, -0.0013443335, -0.0313843116, 0.0096588014, 0.0059425062, 0.0170663055, 0.0696360469, 0.0114274397, 0.0315342657, -0.0732094571, -0.0336186439, -0.0128220776, -0.0248018373, 0.0211843736, -6.39610427e-33, -0.0314353667, 0.0184826758, -0.0172493197, 0.026990667, -0.0232671443, -0.003097855, -0.0122794127, 0.0230003539, -0.0017407578, 0.0314735323, -0.0013828811, -0.0275933277, -0.0059896987, 0.0282760262, 0.0094271684, 0.0011327482, -0.0016361679, -0.0062862299, -0.0002145075, 0.0522107221, 0.0659121796, 0.0345853642, 0.0894471407, -0.0928551182, 0.0096597299, -0.0002999234, -0.048434522, -0.0171276778, 0.011912114, 0.0485218726, -0.0100525394, 0.0273921732, 0.0427874178, -0.0502173863, 0.0250952244, -0.0085350471, -0.0372214951, -0.0556855649, -0.0128304334, -0.0298956744, -0.017073201, -0.0363986492, -0.0257779602, -0.022976825, 0.0072337105, -0.0380921848, -0.0067818863, -0.0230983254, -0.0058376635, -0.0842227116, -0.0480450839, 0.0374331139, -0.0054393802, -0.023113437, 0.0095254034, 0.0425471477, 0.0218092669, 0.0278510973, 0.0051082945, 0.0101681286, -0.0317075551, 0.0154463202, -0.0425359942, -0.0808009878, -0.0014817619, 0.0710104704, -0.0099411206, 0.008093698, -0.0130925952, 0.0372556746, -0.0040809833, 0.0410057046, -0.0165153984, 0.0794778466, 0.0468398109, -0.014984265, -0.0400135703, 0.0063330466, 0.0849590302, -0.0513650514, 0.0446329266, -0.0213430114, -0.0674397573, 0.0095794071, 0.0632757992, -0.0225384459, -0.0247228649, -0.0399256274, 0.0324742422, 0.0150257954, -0.0327231437, 0.0095318155, 0.0002779822, -0.0161540247, -0.0075859264, 0.0277187824, -0.0800215602, 0.0209680311, -0.0285015758, -0.0052187969, -0.0127262902, -0.0351891555, -0.012970346, 0.0522615463, 0.0182824656, 0.0096599143, 0.0768713951, -0.0046281996, -0.0963736027, -0.02500128, -0.021609392, 0.0666213408, -0.0274222493, 0.0424089245, 0.0139523298, -0.0011546329, -0.0217261761, 0.0892057791, 0.0234672688, 0.0189483743, -0.0040723807, 0.0340376534, 0.0032885815, 0.0043743174, 0.0176901873, -0.0223831851, 0.0186959207, -0.0459104963, -0.0418782271, -0.0268181339, -0.0192863736, 0.0059719635, 2.663e-7, 0.0270664245, 0.0566782877, -0.0194935352, 0.0105578098, 0.0300217737, 0.0529741645, 0.0123310443, 0.0335733816, -0.0146525046, 0.0042824596, 0.0366708376, 0.0343600474, 0.0099939685, 0.0245898496, -0.0663598999, 0.0377911888, -0.0071367966, -0.0304244608, -0.0398479626, 0.0077341716, 0.1402543485, 0.0769893005, 0.0168268271, -0.0100250002, -0.0187696554, 0.0314639173, 0.0204523169, -0.0066278344, -0.0561409816, 0.036897786, -0.0379150547, 0.0048229094, -0.0229339581, -0.016530253, 0.00772028, 0.0019505876, 0.0018790168, 0.0872498006, 0.0441711582, -0.0633237585, 0.0632055327, 0.0320752338, 0.0210669264, -0.0035606893, 0.0746450126, -0.0529163182, -0.0316596255, -0.0966601744, -0.027026752, 0.0216544624, 0.0068343524, 0.0019599916, -0.0347515643, 0.0690209046, -0.0181177873, -0.0217706077, -0.0403872766, -0.0708456933, 0.028175585, 0.0281300191, -0.0004294471, -0.0314404443, 0.0331802964, 0.0250382274, -0.0095407208, -0.0724122748, 0.0096943611, 2.188649029e-34, 0.0357314236, -0.0146954181, 0.0155542148, 0.0276768487, 0.0084952693, 0.0062311213, -0.0064904992, -0.0249753352, 0.0143231358, 0.0053845495, 0.0119550461 ]
http://arxiv.org/abs/2310.06498v2
http://arxiv.org/pdf/2310.06498v2
A New Benchmark and Reverse Validation Method for Passage-level Hallucination Detection
2023-10-10T10:14:59
2023-10-24T01:37:10
Shiping Yang, Renliang Sun, Xiaojun Wan
cs.CL
cs.CL
Large Language Models (LLMs) have shown their ability to collaborate effectively with humans in real-world scenarios. However, LLMs are apt to generate hallucinations, i.e., makeup incorrect text and unverified information, which can cause significant damage when deployed for mission-critical tasks. In this paper, we propose a self-check approach based on reverse validation to detect factual errors automatically in a zero-resource fashion. To facilitate future studies and assess different methods, we construct a hallucination detection benchmark named PHD, which is generated by ChatGPT and annotated by human annotators. Contrasting previous studies of zero-resource hallucination detection, our method and benchmark concentrate on passage-level detection instead of sentence-level. We empirically evaluate our method and existing zero-resource detection methods on two datasets. The experimental results demonstrate that the proposed method considerably outperforms the baselines while costing fewer tokens and less time. Furthermore, we manually analyze some hallucination cases that LLM failed to capture, revealing the shared limitation of zero-resource methods.
[ 0.0251350943, 0.021739997, 0.0079336734, 0.0364439413, -0.0461882725, 0.0231150594, -0.0207838751, 0.0039259237, 0.0161016956, -0.0464005433, 0.0204195939, -0.0647467822, 0.0079218, -0.0216143895, 0.0292638801, -0.0090299696, 0.0614967942, -0.0557961836, 0.0269148406, 0.0019716108, 0.004806953, 0.0001561971, -0.0242156405, 0.0352273546, -0.0370989442, -0.0414279439, -0.0089828661, 0.0150537146, 0.0089605972, -0.0268186927, 0.0067492244, 0.0736495629, -0.0261372365, 0.0993372947, 0.0000020574, -0.0304061975, -0.017825054, 0.005692706, -0.0429688953, 0.036087323, 0.0575517826, 0.0185293406, -0.0516648553, 0.0254364703, -0.011213107, 0.0070194537, 0.0464337766, 0.0902980492, 0.0775666088, 0.0841401443, -0.0116205858, 0.0244779177, 0.0210496057, 0.0322478339, 0.0270975158, -0.0178269427, 0.0385515876, 0.0424001068, -0.0166526958, -0.0288168918, 0.0124472259, 0.0355600864, -0.0021735125, -0.0146997133, -0.0360641778, 0.0241779555, -0.1197734028, -0.0199546516, -0.0074472325, 0.0448065549, -0.0475007929, -0.0577112958, 0.0148212826, -0.0001379983, -0.0036908821, -0.023527205, 0.0096115349, 0.0198181029, -0.0388921425, 0.0137120383, 0.0083961319, 0.0114344331, 0.0392616801, -0.0042516757, -0.0252616629, 0.0776960105, 0.0061791684, -0.0517955981, -0.0032215181, 0.010092807, -0.0086178649, -0.0582252294, 0.001013349, -0.0081881015, -0.0559515134, -0.0137071004, -0.0685838833, -0.0145922061, 0.0518218912, -0.0948348641, -0.0050279172, -0.0041445661, -0.066680178, 0.0597947091, -0.0285037179, 0.056600675, 0.0048439824, 0.0364114344, 0.0107645309, -0.0038572727, -0.0159393214, -0.007003508, -0.053827662, 0.0035103527, 0.0023929442, -0.032643985, -0.0158313494, -0.007767803, -0.0236557182, 0.04455553, -0.0347081572, -0.0080912653, -0.0141640976, -0.0224355366, 0.0216371082, 0.0062828478, 0.0151746618, -0.0318755507, 0.0019002397, -0.1085410714, -0.008382936, 0.0440851189, -0.0253967065, 0.0187725574, -0.0120747406, 0.0325656459, 0.0214038901, -0.0055627795, -0.0497158207, -0.0436373092, -0.0221994147, -0.0661702678, -0.0161576588, -0.0660204366, -0.0224694721, -0.001969134, 0.0025756219, 0.003931148, 0.0330603458, 0.0180089381, -0.0139388386, 0.0834960043, -0.0435459055, 0.0016954388, 0.019073071, 0.025441397, 0.002276897, 0.1006156653, 0.0304655358, 0.0234556552, 0.0578853451, 0.0062938831, 0.0691775754, 0.0434492901, -0.0370168127, 0.0267381147, -0.0187783893, -0.0306199212, 0.020238122, 0.0206548534, 0.0048204549, 0.0725313649, -0.0106292143, -0.0310474839, 0.0458356403, 0.0380756855, -0.0111769876, -0.0044259331, 0.0141566712, 0.0537524372, 0.0062227012, 0.0293562207, -0.0480022132, -0.0093027381, -0.0387367904, -0.0219544321, 0.0743536577, -0.0095078927, -0.0177118462, -0.0286772773, -0.0492815971, -0.0092555424, -0.0035381452, -0.0328423418, 0.0238413122, -0.0026129864, -0.0714722276, 0.0612177253, 0.0326081775, -0.0481464863, -0.0206429623, -0.0364197493, -0.0135591412, 0.0896577165, 0.0780746117, -0.0375745334, 0.013551794, -0.0485187247, 0.0663794056, 0.0605427027, 0.0553710014, 0.0108741261, 0.0042850082, -0.0611383952, 0.0030771899, 0.0378930755, 0.0473806523, 0.0013623737, 0.0155033097, 0.0156533029, 0.0073256199, -0.0540202036, -0.0759770945, 0.0398911573, -0.0025935255, 0.0031746316, -0.02608357, -0.0132636363, 0.0073489035, 0.0208098125, -0.039795015, 0.0102075748, -0.0061408258, -0.0260108486, -0.0430517681, 0.0181852393, -0.0412385836, 0.0072990209, 0.0439140536, -0.0137129063, -0.0331482626, 0.0415311418, -0.0040628342, -0.0388678648, -0.0024770256, -0.0818555728, 0.0356344059, -0.0417621769, 0.0548508354, -0.0117615601, 0.0502643697, 0.0054302374, 0.0460761301, -0.0234032981, 0.0275314935, -0.0083957966, 0.0103008654, 0.0234143883, -0.0158188753, -0.0639806017, 0.0178338252, -0.0075576915, 0.0329219289, -0.0023647319, -0.0432315245, -0.0407091081, 0.0079215029, -0.0946846083, -0.0177395679, -0.0434103459, 0.0109222597, 0.0188253392, -0.0229584444, -0.0287196953, -0.0160492081, 0.0154062761, -0.0004380933, 0.0229868907, 0.0136436885, 0.0187969413, -0.0211477224, -0.0217396915, -0.0243053697, 0.031343773, -0.030839812, 0.0379147716, 0.0127228182, -0.0656089783, -0.0850624442, 0.0424551293, 0.0018521171, 0.0496692732, -0.0029401369, -0.0606958196, 0.0317328498, -0.0091462284, 0.0364404656, 0.0331808962, 0.0326433368, 0.0057642846, 0.0537405834, -0.0175510161, -0.0093915444, -0.0116784144, 0.0229877122, 0.0120869549, -0.010934432, -0.0328707881, 0.0105445664, 0.0459964126, 0.0051381839, 0.0176149271, -0.0609004572, -0.0211702567, -0.0624640435, -0.0294523016, 0.0234474801, -0.0213711224, -0.0418239981, 0.0378022715, -0.0178701058, -0.0359559208, 0.0630995035, -0.0635759085, -0.0171782337, -0.0183220915, 0.0074936533, 0.0085484106, 0.0260081198, -0.0048025418, 0.0110304747, 0.0176422372, -0.0284586046, 0.0086235646, -0.0108515732, -0.0122579159, -0.0368672386, 0.0003479896, -0.0450233966, 0.0103743458, 0.0074651125, -0.0026638345, -0.055702351, -0.0503884964, -0.0330936015, -0.0240961257, -0.0360022187, -0.0355816782, -0.0379002504, 0.0270267241, -0.0040462692, 0.0565151274, -0.0078810472, -0.010899106, 0.0003234803, 0.010140975, 0.0389267318, -0.0153527157, 0.0494807102, -0.0357922725, 0.0346182883, 0.0865922496, 0.0418810323, 0.0559504852, -0.0133837275, -0.0478661247, 0.0115113696, -0.0202448443, -0.0231059287, 0.0099635981, 0.0544830821, -0.0583321415, -0.0160207245, 0.1085079238, 0.0276549198, -0.062439207, -0.0039223768, -0.0553505383, 0.0289579965, 0.0139266197, -0.0253315158, -0.0891153812, -0.0187606812, 0.0100433324, 0.0174853429, -0.0323492549, -0.0289023481, -0.0110373925, -0.0868744031, 0.0496140011, 0.021484714, -0.0515661128, -0.0103195924, -0.0311318524, 0.0171539653, 0.0074152313, 0.022357231, -0.0008985712, 0.0230629388, -0.0425883606, 0.0251348149, -0.0955023319, -0.0371676236, 0.0353666544, -0.049641408, 0.0918835327, 0.0641099438, 0.0173078645, -0.0041511273, -0.0542753525, 0.0474369451, -0.0114208814, -0.0189658515, 0.0307158064, 0.0655351356, 0.0103123672, -0.0071819192, 0.0054443921, -0.010988812, -0.0388003327, -0.0023093941, -0.0049576689, 0.0760965422, -0.0320095047, -0.0290086456, -0.002665112, 0.0432592258, 0.0466307923, 0.0846411288, 0.0110763405, -0.0195786487, -0.1013834849, -0.01129747, 0.0542073362, -0.0529671051, -0.0451752916, 0.0371186733, 0.0484474339, -0.0614684932, -0.0566227473, -0.0407307334, -0.0002265708, 0.0298017561, -0.0184529964, 0.0442025214, -0.01987583, 0.0120036555, -0.0261269044, -0.0099612586, -0.0658671036, 0.0280121546, -0.0590141416, 0.0215946175, -0.0184728783, 0.0201324131, 0.0103431763, 0.035802085, -0.1006869525, -0.0709860772, 0.06053124, 0.0027901896, 0.0249626264, 0.0309112761, -0.0579386652, -0.0403157137, 0.053282924, 0.0501157157, -0.0412621088, 0.0211599395, 0.0229895003, -0.0141344694, -0.0006941716, 0.0190866049, -0.0036700626, -0.0183853023, -0.0327554233, 0.0128613729, -0.0190755688, -0.015235885, 0.0090155592, 0.0145634105, 0.0017722119, -0.0168806799, 0.0034244601, 0.0040801479, -0.0026758574, -0.0208593141, -0.0162966587, -0.0013432541, 0.0330523849, 0.0143266898, -0.0443763174, 0.0194835141, -0.0063482965, -0.0592294708, -0.006928646, -0.0057470109, -0.0233902168, 0.0240691155, 0.0270578545, 0.0569047183, -0.0316969901, -0.0126254847, -0.0131375464, 0.0021677101, 0.0376448371, 0.0078186058, 0.0535023063, 0.0102024088, -0.0273788087, 0.0019299038, 0.0308816452, -0.0371328853, -0.0481008627, -0.0271537248, 0.0561901145, 0.0577732883, 0.0134262787, 0.0729182661, -0.0430588126, 0.0170667171, -0.0286852848, -0.0000939131, 0.026810484, -0.0262158513, -0.0315130726, 0.0374065973, -0.0337333195, 0.0448124669, 0.0746867955, 0.0033697768, 0.0455932878, -0.000999868, -0.0380406715, -0.0348917134, -0.0366355218, -0.0621121936, -0.0035166736, -0.0419725552, -0.0014867996, -0.0645397082, -0.0570363849, 0.0074762916, 0.0358125083, 0.037079718, 0.0068619391, -0.0164205302, 0.0705075189, -0.0254157111, 0.0017533484, -0.0423036106, -0.0222014096, 0.0445603728, 0.0022961118, -0.0049517918, -6.18068244e-33, 0.0025647569, -0.0648681149, 0.0029059066, -0.0222306568, -0.0151424073, 0.0072682677, -0.0303846337, 0.0250721872, 0.0416485444, 0.0291226991, 0.012882554, 0.0430794805, 0.0331782214, -0.0083078006, -0.002054703, -0.0064438786, 0.0639363155, 0.0152601684, -0.0444735624, 0.0304393973, 0.0426788777, -0.004891823, 0.0221739709, -0.0806857124, 0.0427760892, -0.0507287346, -0.0328695029, 0.0184028968, 0.0110502131, 0.0408863351, -0.0310713015, 0.0320122726, 0.0100482246, -0.0217064116, -0.0137752378, 0.0061956812, -0.0189594161, -0.0012057311, -0.0147587843, 0.0470921509, -0.0068310574, -0.0035368714, 0.0161013324, -0.0211851504, 0.0194476638, 0.0194145981, 0.0213424843, -0.0187469851, -0.0094238874, 0.0374395065, -0.0700618103, 0.0386312939, -0.0068434286, -0.0238294881, 0.025605252, 0.0398198031, -0.0040398845, -0.0494103841, -0.0817866251, 0.0212504175, -0.001329212, 0.0012583585, 0.0331547521, -0.01486672, -0.0292487722, 0.0813339055, 0.0364139713, 0.026376497, -0.023668889, -0.0277831536, 0.0158290006, 0.0034594899, 0.0454802252, 0.017974399, 0.0331858806, -0.0128562814, -0.0222216565, 0.0041975058, -0.0289225206, 0.0268466268, 0.065925613, -0.0043728724, -0.0798490718, -0.0310034901, 0.0224369727, -0.0030150528, -0.0173805356, -0.021103289, 0.0368821137, 0.012031124, -0.0343294516, -0.0071254163, 0.0367246345, -0.0368806273, 0.0278044567, 0.0161801688, -0.02080868, 0.0086426931, -0.0112143522, 0.0231057014, 0.0028680819, 0.0139203537, 0.0385865942, 0.0089688469, 0.0393178463, -0.0058249482, 0.0272439141, 0.0192720518, -0.0727140829, 0.0113063175, -0.016497083, 0.0378732719, -0.0025677471, 0.0009960133, 0.0442118533, -0.0353720747, -0.0183381047, 0.0092053106, 0.0147854136, 0.0087736929, -0.0081213452, 0.0364200696, -0.0398609713, -0.0063451091, -0.0365428068, 0.0062448238, -0.0359479934, 0.0129854903, 0.0154073685, -0.0510596931, 0.0032986824, 0.0012733629, 2.714e-7, -0.0081380568, 0.0482872054, 0.0585160218, -0.020145189, 0.0125772832, 0.0293073878, -0.0069324132, -0.0036738366, -0.0057658772, -0.0103399334, -0.0081223147, 0.0158536956, 0.0798323825, 0.0659519657, -0.1004436389, -0.0364722796, -0.042446848, -0.0090541914, -0.0633852333, -0.0311502572, 0.0605577081, 0.038643606, 0.0275612958, -0.0233577527, 0.0052674594, -0.0573584326, 0.0287885796, 0.0065185432, -0.0050777285, 0.0348102599, 0.0685222372, 0.0343421176, 0.0061260988, 0.047591377, -0.0030729754, -0.0442687757, 0.0163543578, 0.0266524889, 0.0020226331, -0.0183536727, -0.0157404859, -0.0183303896, -0.0086857295, -0.0494048931, 0.0544519909, 0.0137765473, -0.0181157272, -0.032719072, -0.0074676736, -0.0229214579, 0.0488393754, 0.0196508132, -0.0383257046, 0.024962673, 0.0103495177, 0.0254000966, -0.0170932673, -0.0565968044, -0.0068004047, -0.0011564884, -0.0346674472, -0.0200175252, 0.0005146721, 0.0141266324, -0.004038651, -0.0671693087, 0.0271301251, 2.503927634e-34, 0.0465428382, 0.0018822422, 0.0207351819, 0.0108816428, 0.0404504202, 0.021297643, 0.0487103425, 0.0000384936, -0.0296343882, -0.0203612726, -0.000676343 ]
http://arxiv.org/abs/2310.06488v2
http://arxiv.org/pdf/2310.06488v2
SpikeCLIP: A Contrastive Language-Image Pretrained Spiking Neural Network
2023-10-10T09:57:17
2023-10-12T03:23:40
Tianlong Li, Wenhao Liu, Changze Lv, Jianhan Xu, Cenyuan Zhang, Muling Wu, Xiaoqing Zheng, Xuanjing Huang
cs.NE
cs.NE, cs.CL, cs.CV, cs.LG
Spiking neural networks (SNNs) have demonstrated the capability to achieve comparable performance to deep neural networks (DNNs) in both visual and linguistic domains while offering the advantages of improved energy efficiency and adherence to biological plausibility. However, the extension of such single-modality SNNs into the realm of multimodal scenarios remains an unexplored territory. Drawing inspiration from the concept of contrastive language-image pre-training (CLIP), we introduce a novel framework, named SpikeCLIP, to address the gap between two modalities within the context of spike-based computing through a two-step recipe involving ``Alignment Pre-training + Dual-Loss Fine-tuning". Extensive experiments demonstrate that SNNs achieve comparable results to their DNN counterparts while significantly reducing energy consumption across a variety of datasets commonly used for multimodal model evaluation. Furthermore, SpikeCLIP maintains robust performance in image classification tasks that involve class labels not predefined within specific categories.
[ -0.0161207728, 0.0526108518, -0.0059290486, 0.0648474693, -0.0078935642, 0.0066782399, 0.0206832476, -0.0368778184, -0.0295648482, -0.0277589038, -0.0801242441, -0.0093612233, -0.0001138354, 0.0633977726, 0.0359556451, -0.0554471947, 0.0793116689, 0.0198517218, -0.0087376311, -0.0244617108, 0.0555131994, -0.0209417008, -0.0445995368, 0.0232550651, -0.0284313504, -0.010382521, -0.0357274674, 0.0243047792, 0.0356311277, -0.0338057205, 0.0376675539, 0.0436456501, -0.0019237003, 0.0488607623, 0.000001982, -0.0101717431, 0.0518710874, 0.0254099388, -0.0069126734, 0.0088702356, 0.0122293625, -0.0020338306, -0.0050293072, -0.0198723003, -0.0330375805, -0.0295679811, 0.1370071918, 0.0194610711, 0.0531049222, 0.0262305774, -0.0310550053, -0.0548789389, 0.0382273942, -0.0037811305, 0.0176488757, 0.0293950681, -0.0191672724, -0.0377440453, -0.0070313402, -0.0028241423, -0.0476127155, 0.0493732169, 0.0283651967, 0.0068760416, 0.0105186682, 0.0477498807, -0.0756379813, -0.0184975807, -0.048747085, 0.0740192905, -0.0541496351, -0.007203809, -0.0234266911, -0.0202358905, -0.0328771882, -0.0413341895, 0.0151096284, -0.0321004838, 0.0295276418, 0.0463685021, -0.0064473129, -0.0121069206, 0.0588041358, 0.0140699875, 0.0177410729, 0.031060541, 0.0157646034, 0.03268582, 0.0294070765, 0.0154603012, -0.0007999608, -0.0139925843, -0.0007074687, 0.0351382308, -0.0286169518, -0.0281959269, -0.0646763816, -0.0522570945, 0.0097053126, -0.0573378615, 0.0455496199, 0.0575781688, -0.0423770957, 0.0419818647, -0.0107297329, -0.0302096903, -0.0327004306, 0.0418002345, -0.0165903233, 0.0032966882, -0.0140265441, 0.0032329489, -0.0279425848, -0.0028264914, -0.0535668246, -0.0459804386, -0.0681085587, 0.0109866178, -0.026273625, -0.0309662186, -0.0449032336, 0.0399085768, -0.0134150404, -0.003754579, -0.0114201671, 0.0205113981, 0.0269865487, 0.0248117372, 0.002138074, -0.0639125258, -0.0083979415, 0.0386885852, -0.0069547999, -0.0270818416, 0.0462762713, 0.09175767, -0.0489070527, -0.0367561914, -0.0617007837, 0.0405580327, -0.0299412943, -0.0074948245, 0.0404458269, -0.0813218877, 0.0753283426, 0.0183476303, -0.0143776713, -0.0106230341, 0.0060142674, -0.0069459933, 0.0081819808, 0.1209090054, -0.0320622325, -0.0304301903, 0.0216572378, -0.0119285146, -0.0393281505, 0.0625169575, 0.0645292699, -0.0074801273, 0.0035262739, -0.0150521966, -0.0096100727, 0.0404188484, 0.0359346494, -0.0160786733, -0.062642321, -0.0525725782, 0.0193899497, -0.0231510233, 0.0747660771, 0.0574683994, -0.0380640179, -0.0398601666, 0.0450019017, 0.0330901332, -0.0156396106, 0.0282580238, 0.0440020002, -0.0304037612, 0.00450968, -0.0137964049, -0.057849858, 0.0541024581, -0.0272797327, -0.0311139263, -0.0075932089, 0.0312282834, -0.0496583581, -0.023602346, 0.0232151672, -0.0233207326, 0.0336276554, 0.0361457877, 0.0453966595, -0.0308869109, -0.0281490628, 0.0367032774, 0.0126906857, 0.0137172285, -0.0220295005, -0.0410857424, -0.0743537098, 0.0375550985, 0.0050357003, -0.0156175448, -0.0053351116, 0.0229832642, -0.0193265565, 0.0452736951, 0.0130699109, 0.0117343813, 0.0949657187, -0.0524525493, -0.0337510444, -0.0507171378, 0.0084473072, 0.0058985865, 0.0187265463, -0.000279, -0.0027038585, 0.0438680127, -0.0281407312, 0.0206348132, 0.0065774298, -0.0215001721, 0.0177479051, 0.0006773214, 0.0395187587, -0.0534625649, -0.0193937812, -0.0096866563, -0.0172882136, -0.0351779684, 0.0615844913, 0.0078281937, -0.0285699572, -0.0216594581, 0.0492259562, -0.0324418023, 0.0021512304, 0.020501826, -0.0255045891, -0.0199273191, -0.0011204765, -0.0135244057, 0.0587715134, -0.0309078395, 0.0152806016, 0.0018272368, 0.0121164201, 0.0102769211, 0.0104682175, 0.0181252602, -0.0014275031, -0.0059088063, 0.0234170556, 0.0251213126, -0.0252153948, -0.0763055161, -0.0218867343, -0.0275988542, 0.0053085648, -0.0124918194, 0.0017223044, -0.0625592247, 0.0266921464, -0.0805670545, -0.0112018203, 0.0016515858, 0.0031399769, -0.0040151547, -0.0033234542, 0.0134169431, -0.0203744788, -0.0330730081, 0.0418949984, -0.0241180621, 0.0407499112, 0.0305759497, 0.0179664399, 0.011972527, -0.0409139395, -0.0126384422, 0.0058969394, 0.0552231595, -0.0284437928, -0.0569176748, 0.0016042549, 0.0673236251, -0.0153272413, 0.0314518921, -0.0027644921, -0.0603235401, 0.0295837969, 0.0046397876, 0.0818015561, 0.052144438, 0.0041002836, -0.0082400991, 0.0217148457, -0.0310893916, -0.0133010782, 0.0191907845, -0.0145501085, 0.0264108907, -0.0003614519, 0.0214070939, -0.0558104813, 0.0528593026, -0.0078944452, 0.0188088976, -0.0225289539, -0.0168510303, 0.004524067, -0.0255852081, -0.0553627089, 0.0225455612, -0.0159070548, 0.0214542076, -0.0305798836, -0.0613392144, 0.0391272083, -0.0010040076, -0.0059432909, 0.0179007035, -0.0186444912, 0.019932894, 0.0268888082, 0.0237930231, 0.0631256178, -0.0653725564, 0.0153239556, -0.0528088063, -0.0449558944, 0.0141681284, -0.0043044868, 0.0534022152, -0.0058170748, -0.0026788008, -0.0581781678, -0.0591127053, -0.0373116173, -0.0023413084, -0.0219541583, 0.0014119539, 0.028370982, -0.0076961052, -0.0115509937, 0.0145682134, 0.0084233889, 0.0366026424, -0.0118871853, -0.0262084045, -0.0152458539, 0.0529325344, -0.0050940732, -0.0274116304, -0.0055545145, -0.0173833035, -0.0278966054, 0.060163755, 0.0169779044, -0.0027944895, -0.124709025, 0.0278792735, 0.0292411614, 0.0525999442, -0.0296991542, -0.0066687004, 0.0536959469, -0.0369694456, -0.0030972445, 0.0258242898, -0.0008880984, -0.073755309, -0.0179198589, 0.0287911799, 0.0331712775, 0.0143182501, 0.0063594435, -0.02316387, -0.0529239252, -0.0381154455, 0.0037289567, 0.0153147401, 0.0274485406, -0.0464337394, -0.0170660857, 0.027287757, 0.0157354493, -0.0286622476, 0.0052441428, -0.0045705223, 0.0011704342, 0.0038002634, -0.0076515209, 0.0049402677, 0.027982071, -0.02026866, 0.0204812493, 0.0489010327, -0.0711638629, 0.0015978452, -0.0306289699, 0.0072405236, 0.0596621074, -0.0140077565, -0.0335450023, -0.061026752, 0.044456657, -0.0078420304, 0.0042034709, -0.0054814033, 0.0173802041, 0.012008057, -0.041644413, -0.0148412073, 0.0170949548, 0.0229813661, -0.0599349067, -0.0592693612, 0.0316918418, -0.0343110897, 0.040365614, -0.0653657615, 0.020325521, 0.0041036466, 0.0196394678, 0.0283193141, -0.0658419505, -0.0224393178, -0.0098227197, -0.0006837198, -0.0776220635, -0.0122777382, -0.0167111307, 0.0142257959, -0.0436747074, 0.0089075007, -0.0195341315, -0.0118334964, 0.0484398454, -0.0097208135, -0.0404282585, -0.0250878073, 0.0132433493, -0.0590734147, 0.0574493147, 0.0143090282, 0.0038921449, -0.091725193, -0.0378722996, 0.0552701354, -0.01301465, 0.0065346472, 0.0318572968, -0.0810882822, -0.0544228777, 0.0185716227, 0.0555865988, 0.0091900695, 0.0258306656, 0.0236061458, -0.0031167516, 0.0573115498, 0.1364868134, 0.0350301042, 0.0228609517, 0.0321841091, -0.0118804732, -0.0222622771, -0.010543636, -0.030174138, 0.0512028262, 0.0125477603, 0.0069211698, -0.0148174278, -0.041871801, -0.0092712501, -0.0417159796, 0.0944246724, -0.0271021891, 0.0364329889, -0.0135788135, -0.0216590017, 0.0555001795, 0.0211919844, -0.0437209159, -0.0373549722, -0.0057173418, -0.0120494943, -0.0163858049, -0.0061553032, 0.0409309678, -0.0377523378, 0.0038615125, -0.001075666, 0.0473504029, -0.0055936719, -0.0235033836, 0.0402604491, -0.0188612156, 0.0511309654, -0.0232554711, 0.0015953495, -0.0327221081, 0.0519502014, 0.0656759292, 0.01000934, -0.0926191583, 0.0645099729, 0.0040906938, 0.0049324124, -0.0158368722, -0.0315260924, 0.0380108915, -0.0033138227, -0.0196004398, -0.0213051252, -0.0413721688, -0.0149632888, 0.0656740591, 0.0037416329, -0.0081436997, 0.0378704369, 0.0285320822, 0.0200712793, 0.0048808795, 0.0335398056, -0.0514532961, 0.0095682377, 0.0359180458, -0.0169723276, 0.0103923334, -0.0348019004, -0.0171041656, 0.0277560428, -0.0083610406, -0.0233972259, -0.0156026455, -0.0638705343, 0.0018893084, 0.0270851441, 0.0107442401, 0.0340919234, 0.078144975, 0.0648069829, 0.0165798385, -0.0280014277, 0.0108543895, -0.0191776734, 0.0568926334, 0.0051227207, 0.0135967657, -5.881983448e-33, 0.0009704136, -0.0203372817, 0.0400799513, 0.0257518683, 0.0139863938, 0.04351414, -0.0206145477, 0.0186934583, -0.0241642781, 0.0149598662, -0.0042386767, 0.012622376, 0.008099908, 0.0217746366, 0.0221812464, -0.008661828, 0.0121604046, -0.0084689958, 0.0110905189, -0.0043685851, 0.0344924927, 0.01256104, 0.0635405704, -0.0509469584, -0.0111074774, 0.0585274249, -0.015883375, -0.024852464, -0.0053476393, 0.041992072, -0.0717535093, 0.0516107753, -0.010660924, 0.0290679969, 0.0014484365, -0.0003559846, -0.0772936046, -0.0169521961, -0.0073857675, 0.0156791862, -0.0942203104, -0.0083737932, 0.0589927621, -0.0225709397, -0.0123262135, -0.0038939374, 0.0128999073, -0.0288429614, 0.0295665674, -0.0303754471, -0.0137927048, 0.0028453665, 0.0275942571, -0.0363846906, 0.0332611427, 0.0128647573, 0.0088907406, 0.0540250652, -0.1148387194, 0.0237539932, 0.0330856144, 0.0075298147, 0.0458951555, 0.0797845423, 0.0215007067, 0.0669238418, 0.0357674919, -0.0588093661, 0.0317027234, 0.028677538, 0.0738096237, 0.0294579417, 0.0228455067, 0.0583260395, 0.093009375, -0.0331267565, -0.0599561967, 0.0013323268, 0.0140006077, -0.013170667, 0.0210404359, 0.020110812, -0.0124117387, -0.0461964682, -0.0162804816, -0.0187510047, -0.0463064127, -0.0422982909, 0.0050271731, 0.0047645825, -0.0086680735, 0.0323642269, 0.0891327411, 0.0006547057, 0.0106846057, 0.0110190418, 0.0068596127, 0.0319663063, 0.0261387993, -0.0174964033, -0.043012958, -0.025185613, 0.003806293, -0.0070676375, 0.0239178538, 0.0123978797, -0.0039222273, 0.0686092675, -0.0203935336, 0.0060828379, -0.0224237125, -0.0246567875, 0.0463447906, 0.0250543673, 0.0279718712, -0.0002981875, -0.0246126261, 0.0637871847, -0.0121454066, -0.0058785281, -0.0160014778, -0.0200211834, -0.0306509398, 0.054828044, 0.0035787667, 0.0001866334, -0.0515408665, 0.0075692763, -0.0245420709, -0.0915096924, -0.0186309554, 0.0456129164, 2.869e-7, 0.044703763, -0.0061274599, -0.034212593, 0.000668937, 0.040874429, 0.0443144254, 0.0053727529, 0.015467844, -0.030685572, -0.0374391861, -0.0090471618, 0.0564187095, 0.002428113, 0.0387852862, 0.0017946418, -0.0408381335, -0.029343795, 0.0347373597, 0.0129475407, -0.0140596032, 0.0163525119, 0.0560501106, 0.0206575692, -0.0433679633, 0.0474720411, -0.001015714, 0.0680615753, -0.007308777, 0.0069727125, -0.0118497703, -0.0411538705, 0.026333468, -0.0140320966, 0.0293905437, -0.0026689908, -0.0223026294, -0.0021438999, -0.0020385813, -0.0559414327, -0.0341030397, -0.0039196629, 0.0263965558, -0.0397273824, -0.0429620482, 0.0691778138, -0.0726696029, -0.0415965244, -0.0290327147, -0.0316540636, -0.0132617364, 0.054112453, -0.0412305221, -0.0370740667, -0.0258331373, -0.0224053487, -0.0222210716, -0.085772939, -0.077033177, 0.0080705406, 0.0262937192, -0.0032059161, -0.0050044013, -0.0778682083, -0.0303191468, 0.0557654314, -0.029005006, -0.0292051043, 1.986783818e-34, -0.0076580546, -0.0366723053, 0.0097452318, 0.0141305542, -0.0236561373, 0.0059507871, 0.0042531863, -0.0320019424, -0.0052025085, -0.0049136705, -0.0266224686 ]
http://arxiv.org/abs/2310.06474v3
http://arxiv.org/pdf/2310.06474v3
Multilingual Jailbreak Challenges in Large Language Models
2023-10-10T09:44:06
2024-03-04T04:03:54
Yue Deng, Wenxuan Zhang, Sinno Jialin Pan, Lidong Bing
cs.CL
cs.CL
While large language models (LLMs) exhibit remarkable capabilities across a wide range of tasks, they pose potential safety concerns, such as the ``jailbreak'' problem, wherein malicious instructions can manipulate LLMs to exhibit undesirable behavior. Although several preventive measures have been developed to mitigate the potential risks associated with LLMs, they have primarily focused on English. In this study, we reveal the presence of multilingual jailbreak challenges within LLMs and consider two potential risky scenarios: unintentional and intentional. The unintentional scenario involves users querying LLMs using non-English prompts and inadvertently bypassing the safety mechanisms, while the intentional scenario concerns malicious users combining malicious instructions with multilingual prompts to deliberately attack LLMs. The experimental results reveal that in the unintentional scenario, the rate of unsafe content increases as the availability of languages decreases. Specifically, low-resource languages exhibit about three times the likelihood of encountering harmful content compared to high-resource languages, with both ChatGPT and GPT-4. In the intentional scenario, multilingual prompts can exacerbate the negative impact of malicious instructions, with astonishingly high rates of unsafe output: 80.92\% for ChatGPT and 40.71\% for GPT-4. To handle such a challenge in the multilingual context, we propose a novel \textsc{Self-Defense} framework that automatically generates multilingual training data for safety fine-tuning. Experimental results show that ChatGPT fine-tuned with such data can achieve a substantial reduction in unsafe content generation. Data is available at \url{https://github.com/DAMO-NLP-SG/multilingual-safety-for-LLMs}.
[ 0.0531687066, 0.0480876863, -0.0262667574, 0.0442728326, -0.0301982258, 0.0151822641, 0.0146441571, 0.0054904288, 0.0734428391, -0.0287021156, -0.0407229811, -0.0496724583, -0.0241396874, 0.0023568615, 0.0513252579, 0.0015598534, 0.058707986, -0.0551297702, -0.0224300306, -0.0136942882, 0.0336646698, 0.0171024278, 0.0376324989, 0.0418478101, -0.0086640706, -0.0180471968, -0.0042862846, 0.0244393516, 0.0126883453, -0.0615067631, 0.0367277004, 0.0348986611, -0.0116188386, 0.063930057, 0.0000021796, -0.0408025347, -0.0394797511, 0.0169561319, -0.0224277116, 0.0116435811, 0.020730596, -0.0570550747, -0.0504454337, 0.0316041037, -0.0343834423, 0.0114371032, 0.0370600969, 0.0326856859, 0.0772278309, 0.0757644922, -0.0012164934, -0.0063853315, 0.0333706066, 0.0032572888, 0.0084456746, -0.0457162112, 0.0216752235, -0.0102679888, 0.0109285256, 0.0323597826, 0.0121188471, 0.00196635, 0.0162059423, -0.0295032263, -0.0937754363, -0.0082554128, -0.0281762052, -0.0368919708, -0.0116449436, 0.0376838781, -0.0491136238, -0.0140924649, 0.0115736267, 0.0071192244, 0.0155450162, -0.005187823, -0.0141514568, 0.0663680956, -0.0192388687, -0.010860675, 0.0400060415, -0.0126411989, 0.056744542, 0.020993622, 0.0179224201, 0.0546940155, 0.0133866919, -0.0350485928, 0.0145307845, -0.0221411288, -0.0139751751, -0.0578802302, 0.0133086666, -0.0026584512, -0.0282203928, 0.0362440236, -0.0601968542, -0.0510223657, 0.0628633797, -0.0974260941, -0.0327171609, 0.0341644622, -0.0120834662, 0.0181400385, -0.0081880381, 0.0060796151, -0.016861381, 0.041948352, 0.0107609704, 0.0087900339, -0.0022913443, -0.0138838235, -0.0340410285, 0.039290946, -0.0021886081, 0.0374332294, -0.0303664245, 0.0501939543, -0.0205385182, 0.0256063528, -0.0114342915, -0.0253759809, -0.0143766236, 0.0115889329, 0.0351893529, -0.0141460253, -0.0320963077, -0.0258842073, -0.001206175, -0.0884813368, 0.0020140097, 0.0102504436, -0.0722121522, -0.0381045006, -0.0028762596, 0.1300130934, 0.0183105431, 0.0035720798, -0.0667617097, -0.085931018, -0.0395964347, -0.0270542465, -0.009187921, -0.0870213285, -0.01291354, -0.0017347231, 0.0058986614, -0.0592423379, 0.0228524655, 0.0177611466, -0.0535252132, 0.041003745, -0.0228099506, -0.0172474012, 0.0055709393, 0.0477280505, 0.0059355306, 0.1010121033, -0.0035252378, 0.0439723954, 0.0712802559, -0.0238890182, 0.0153341843, 0.0681345314, -0.0157828908, 0.0583579689, 0.0042733802, -0.011102045, 0.0652472973, -0.0285059512, -0.0054503023, 0.05313785, -0.0058747227, -0.0191022996, 0.0518938713, 0.0211227126, -0.0459027253, 0.0431470014, 0.0276364889, -0.00762256, -0.0163094513, 0.0247665886, -0.0622033067, -0.0107767498, -0.0654163659, -0.0313060507, -0.0031245258, 0.0588004701, -0.0129250297, 0.0087417802, -0.0036459458, -0.0135325482, 0.0170615371, -0.0071166307, 0.0074326349, 0.0164273772, 0.0017890006, 0.0434794053, 0.0444622599, -0.0367745273, -0.0081879394, -0.059421245, -0.0287297796, 0.0881883428, 0.0584182031, 0.000576367, -0.0434039123, -0.0229969993, 0.0065048984, 0.0248724557, 0.0175141543, 0.0094268396, 0.0136709828, -0.0220390633, -0.0209704097, 0.0078194514, 0.0120116193, 0.0119316112, 0.023010252, 0.0216585528, 0.0085861171, 0.0064140307, -0.0674917027, 0.0139543517, -0.0305391122, -0.0194668658, -0.0014761386, 0.0187681746, 0.0119781187, 0.011059585, -0.0164975934, -0.005282193, 0.0334172919, 0.0078780474, 0.0206987057, 0.0195387434, -0.0389182344, -0.0150102619, 0.0455336235, -0.0114885028, -0.009471803, 0.0253237002, -0.0206945725, -0.0206250176, 0.0321841128, -0.0518715233, 0.0171418842, -0.0216275938, 0.0264546834, -0.0082993926, 0.0038999242, -0.0232738443, 0.0167150889, -0.004430776, 0.0094516501, -0.0030124236, 0.008529162, 0.0297763776, 0.005764592, -0.0761888176, 0.0180391781, -0.0408257395, 0.0412247032, 0.0487320758, 0.0614609346, -0.0145987002, -0.0151767554, -0.070707038, -0.0006443448, -0.0339951813, 0.0263474695, 0.0589682721, 0.0351039469, -0.036356438, -0.0156858955, -0.0308613516, -0.0120560052, 0.0202003233, 0.0616002642, -0.0024787223, -0.0169150084, -0.0168068632, -0.0024325082, 0.0023245576, -0.0141894631, 0.0183078256, -0.0109702786, -0.0332245715, -0.0252302215, 0.0356302075, -0.012730469, 0.0140445614, -0.0111179771, -0.0746271908, 0.0174566619, -0.0194661524, 0.0232804306, 0.0322696604, 0.0011251253, 0.0252609085, 0.0785767287, -0.0065396787, -0.0518530756, -0.0042621372, 0.0175982509, -0.0576550253, -0.0259952731, -0.0622612536, 0.0247864053, 0.0533596724, 0.0176847875, -0.0069410661, -0.042809125, 0.0021168264, -0.0468160436, -0.0302363541, -0.0203836095, -0.0239746515, -0.0367038362, 0.0207959786, -0.0020725755, -0.0555515662, 0.0851971954, -0.0199579448, 0.0195863098, -0.055351004, -0.0258541349, 0.0039757024, 0.0500967801, -0.0179117974, 0.0501007959, 0.0332018211, -0.0457214825, -0.0366208479, 0.0028002607, 0.0466710627, -0.0063643805, 0.0201787148, -0.0351968259, -0.0011094848, -0.0184036884, -0.0667777956, -0.0352576338, -0.0727613717, 0.0081550162, -0.0223005209, 0.0580466129, -0.0224507973, 0.0175914466, -0.0090744365, 0.055510547, 0.0009712623, -0.0360943228, -0.0076568471, -0.018112503, 0.0143964011, 0.0329377726, -0.0685229376, 0.0038335724, -0.0261792354, 0.0429680943, 0.0931028202, 0.0378121398, -0.0271837823, 0.0269427765, 0.0185617842, 0.039896138, -0.0046618227, -0.0499236062, 0.0369080454, 0.0584290996, -0.0535222217, -0.0376633145, 0.0653175414, 0.0336037055, -0.0272721685, -0.0048188786, -0.0390648805, 0.043599844, 0.0141928233, 0.0417072028, -0.0717013255, -0.0120684337, 0.0179333705, 0.0475318618, -0.0237887464, -0.0256864633, -0.0116137145, -0.1040716246, 0.0102767209, 0.0245596115, -0.0460224673, 0.002607753, -0.0450275913, -0.0420948081, 0.0164051745, 0.0264444873, -0.0196429696, -0.0086695394, -0.0219546612, 0.0285443459, -0.0559445135, -0.0203794669, 0.0202449076, -0.0444500893, 0.050378684, 0.0828247368, -0.0116129722, -0.0438759215, 0.0155640496, 0.0510641001, 0.000699576, -0.0112715187, -0.0097697489, 0.0113037908, 0.0096734874, -0.0146999108, 0.0026007541, 0.0032019489, 0.0021621252, -0.0299127903, 0.0418840013, 0.0775259957, -0.0183493365, -0.0027708029, -0.0176532641, 0.0013367935, 0.0264589675, 0.046744559, 0.0140503682, -0.0522811972, -0.0243943799, -0.0898330137, -0.0132537056, -0.0476345159, -0.0104657141, 0.026944669, -0.0164856296, -0.0527057238, -0.0437625647, -0.0303742774, -0.010242179, 0.0212738197, 0.0623121001, -0.0081463689, -0.0221388023, 0.002454319, 0.0127130859, -0.0285126958, -0.0377754718, 0.0342847705, -0.070743598, 0.0306976307, 0.0019002764, -0.015418509, 0.0142541956, 0.0212626308, -0.0460655317, -0.1046169549, 0.005697425, 0.0862235203, 0.0178324971, 0.0056497725, -0.0431462526, -0.0644637644, 0.0345977433, 0.0676413253, -0.0753956139, -0.0233829878, 0.0642272383, -0.0125848884, 0.0154439099, 0.024034638, -0.0447359607, -0.0274482816, 0.0359687097, 0.0166144054, -0.0470242873, -0.012858836, 0.0162109416, 0.0669497252, -0.0036374878, -0.0356638655, -0.0017359217, 0.0057289423, 0.0022671453, -0.0166656356, -0.0437768623, 0.0148791643, 0.0354790948, 0.0172545034, -0.0362985469, 0.0333458446, 0.0253752787, -0.0075449431, -0.0049271719, -0.0083099008, 0.0251060612, 0.0274769254, 0.0447453633, 0.0686061084, 0.0298772566, -0.0164359156, 0.0417656302, 0.0163731109, 0.018455131, -0.0338951312, 0.0435481407, -0.0157254077, -0.0292913169, 0.0218963157, 0.0529315323, -0.0525529273, -0.0458445214, -0.0081179319, 0.045190271, 0.0307601076, 0.0052226535, 0.0540089495, -0.0273058414, 0.0055769943, -0.040856, -0.0218824781, 0.008993567, -0.0717990026, 0.0155676156, -0.0089393137, -0.0270697288, -0.0084664775, 0.1028230786, -0.0029972242, 0.0509602576, 0.0454255752, -0.0401368476, -0.0315512456, 0.0086349025, 0.0484566092, 0.0201626699, -0.0704141334, -0.033416409, -0.0543082282, -0.0864405409, -0.0443870239, 0.0077217817, 0.0355190039, 0.0182789527, -0.0113415197, 0.0628886074, 0.019999247, 0.0261898767, -0.0635883436, 0.0183966998, 0.0181888603, -0.0367408469, 0.0113055035, -5.978533044e-33, 0.0178145785, -0.0392929949, -0.012593979, -0.0096961921, 0.0345158912, -0.0218949467, -0.0318964906, 0.0148338145, -0.0109205022, -0.0134355603, -0.0211530458, -0.0153619042, 0.0040896339, 0.0100159422, 0.0041787359, -0.0167732686, 0.0125240199, 0.0100932019, -0.0153172817, 0.0467602685, 0.0717985034, 0.0159608535, 0.0402038582, -0.0538050495, 0.0461485125, -0.0211826004, -0.0267398097, 0.0213099625, -0.0233176518, 0.0643071011, 0.0066218167, 0.0416644029, 0.0216723774, -0.0429636985, -0.0203697644, 0.0313011706, -0.008154911, -0.0275561232, 0.0151644573, 0.0081497198, 0.0081105484, -0.0664439052, 0.041579593, -0.0190637708, -0.0135173528, 0.0232014731, -0.0026649842, 0.0026894703, -0.0059490693, -0.0257622618, -0.0446478613, 0.0026581236, -0.0040661138, -0.0057526506, 0.0037161454, 0.0217304155, 0.0095803868, -0.0315371267, -0.0250823274, 0.0433584787, 0.0228516497, 0.016277479, 0.0576057099, -0.0251744334, -0.015607262, 0.0461291596, -0.02328947, 0.0108644487, 0.0221443418, -0.0126012536, 0.0044565466, 0.0212160815, 0.0339665078, 0.0790108889, 0.0278590582, -0.04858239, -0.0914897993, 0.0404319651, 0.0310193393, 0.0386824533, 0.0172469057, -0.0112982802, -0.044185508, -0.0283708721, 0.0018449929, 0.0000608504, -0.0256237574, -0.0620908923, 0.028668467, -0.0240231026, -0.0102455309, -0.0348245874, 0.0142900357, -0.0481953211, -0.0286956336, 0.0329555422, -0.0103980908, -0.0289809983, 0.0041927355, 0.0681663901, -0.0034341591, -0.015041573, -0.0180149358, -0.068768613, 0.0182932727, 0.0166121125, 0.0607131161, 0.0444921553, -0.0690574721, 0.004715784, -0.0270011164, 0.0625756532, 0.0180842038, 0.0221069399, 0.0181105994, -0.0224281289, 0.0146375746, 0.0078446865, 0.0898211673, -0.0222361218, -0.0489804335, -0.0040930822, -0.0203297436, 0.0238013919, -0.0066982582, 0.0159153808, -0.0247553978, 0.0260807965, 0.0347044729, -0.0671284869, -0.0088230222, -0.0078301886, 2.936e-7, -0.001734842, 0.0169130005, 0.0030589532, -0.0004946288, 0.0159930531, 0.0578899495, -0.0263675004, 0.0657129437, -0.0264665708, -0.0137259876, -0.0300089289, -0.0163715724, 0.0492222384, 0.0913773999, -0.0793390051, 0.0251163039, -0.0696813911, 0.0158955585, -0.0749263018, -0.0065563843, 0.0398635641, 0.0838344544, -0.00914877, -0.0315936916, -0.0229077283, -0.0563347861, 0.0050601913, -0.0090818768, -0.0239354242, -0.0098358095, 0.029621169, 0.0494359322, 0.0244749337, 0.0233984534, -0.0387186818, -0.0335051678, -0.0392273292, 0.0311527699, 0.0186967794, 0.0054171463, 0.0081162313, -0.0667187348, 0.0008238556, -0.074040927, 0.0620666258, 0.0163000952, -0.0039596558, -0.0010748325, 0.0270186644, -0.0472918563, 0.0162218176, -0.0709762275, -0.0465586074, 0.0153044574, 0.0237674247, 0.0189549066, 0.0094151376, -0.032999251, -0.0075443704, -0.0014064375, 0.0116487732, -0.0499870628, -0.0176299121, 0.0380144604, -0.0068095969, -0.0451002046, 0.0376420803, 3.003909462e-34, 0.0024279461, -0.0404074192, 0.0317416824, -0.0178249851, 0.0344216339, 0.0198367611, 0.0039526066, 0.027291704, -0.0065194382, -0.0010688045, -0.0400221534 ]
http://arxiv.org/abs/2310.06458v1
http://arxiv.org/pdf/2310.06458v1
Cultural Compass: Predicting Transfer Learning Success in Offensive Language Detection with Cultural Features
2023-10-10T09:29:38
2023-10-10T09:29:38
Li Zhou, Antonia Karamolegkou, Wenyu Chen, Daniel Hershcovich
cs.CL
cs.CL
The increasing ubiquity of language technology necessitates a shift towards considering cultural diversity in the machine learning realm, particularly for subjective tasks that rely heavily on cultural nuances, such as Offensive Language Detection (OLD). Current understanding underscores that these tasks are substantially influenced by cultural values, however, a notable gap exists in determining if cultural features can accurately predict the success of cross-cultural transfer learning for such subjective tasks. Addressing this, our study delves into the intersection of cultural features and transfer learning effectiveness. The findings reveal that cultural value surveys indeed possess a predictive power for cross-cultural transfer learning success in OLD tasks and that it can be further improved using offensive word distance. Based on these results, we advocate for the integration of cultural information into datasets. Additionally, we recommend leveraging data sources rich in cultural information, such as surveys, to enhance cultural adaptability. Our research signifies a step forward in the quest for more inclusive, culturally sensitive language technologies.
[ 0.0329520889, 0.0771996006, -0.0476292819, -0.0003728964, -0.0207772311, 0.0470307618, 0.070014134, -0.0094660502, 0.0048864912, -0.028315641, -0.0280494671, -0.0131445369, -0.0039446829, 0.0081621148, -0.0214399565, -0.0286347941, 0.0307149906, 0.0526233315, 0.0280152075, -0.0170248002, 0.0074229417, 0.0338270366, 0.0218948815, 0.0414026193, -0.0493971333, 0.0055941609, 0.0463304333, -0.0130395824, 0.0476050377, -0.0005959035, 0.0525025465, 0.0208667405, -0.010786958, 0.0203043297, 0.0000018126, -0.0664902627, -0.0243380461, -0.0226006713, 0.0240857452, -0.0339800119, 0.1276971698, 0.0031104677, -0.0477215834, 0.0311356932, -0.0270982906, 0.0139819877, 0.0791919455, 0.0274512284, 0.0163077787, 0.0512446165, -0.0097142998, 0.0146502787, -0.0615643933, 0.0151794776, -0.0096174451, 0.0018182157, 0.0329728089, 0.0093885111, -0.0701166615, -0.0187769439, -0.0435558073, -0.0080745481, -0.0085235611, 0.0111768413, -0.0212792661, -0.0345344096, -0.061094936, -0.0107862884, 0.0183870662, 0.038823504, -0.0127743129, 0.0109556345, -0.0191755798, 0.0032993304, -0.0033143538, -0.0088151852, -0.0196819399, -0.0199409854, -0.0085888496, 0.019212639, -0.0184894949, 0.0044149687, 0.0015988997, 0.0575655103, 0.0337642543, 0.025043169, -0.0185969714, -0.011379878, 0.0335918479, 0.0020823507, 0.0342629552, 0.0138631919, 0.0590094104, -0.0135077666, -0.0029943651, 0.0003613055, -0.0294199064, -0.0258581284, 0.0182987768, -0.0432468802, 0.0213090945, 0.0536558814, -0.0954872295, 0.0077398713, -0.0065868124, 0.0617308244, 0.0202902425, 0.0158224963, -0.0336251408, -0.0378855057, -0.0472772941, 0.0267298445, 0.0657175332, -0.0263413824, 0.025473224, 0.0473075099, -0.0567468479, -0.0280201379, -0.0552467071, -0.0271136351, -0.0494790003, -0.0234678704, -0.0271700993, 0.0224810056, -0.0167250969, 0.0512992702, -0.0395748354, 0.0114851575, -0.0461538881, -0.050900232, 0.0263087731, 0.0042055952, -0.0214389544, -0.0484879129, 0.0451018699, 0.0084936656, -0.0082441419, 0.0025218742, -0.0458221845, 0.0511261001, -0.0152731063, -0.0378608778, 0.0606935844, -0.0659322366, 0.0205650963, -0.0204088558, -0.0047817128, -0.0685578063, -0.01015059, 0.0370205417, -0.0654667318, 0.0358243808, 0.0209069606, 0.0029065565, 0.0453214496, 0.0085010072, -0.0353334546, 0.0509203263, 0.0006647916, 0.0267346781, 0.0856379494, -0.0369733311, -0.0450784303, 0.019442264, -0.0032755211, 0.0237709619, -0.0824734196, -0.0141316475, -0.0109707406, -0.0590726845, 0.0619253218, 0.0270370822, 0.0164698604, -0.0277531948, 0.0239110012, 0.0714884102, -0.025520267, 0.027466882, 0.0176780038, 0.0125464648, -0.0429760627, -0.0140493987, -0.0611755252, -0.0178308897, -0.003779412, -0.0653783977, -0.0161335226, 0.1111668423, -0.0237422921, -0.0397609174, -0.0116890874, -0.0248607006, 0.0818028003, -0.003135877, 0.0302762184, 0.0172128212, 0.0350911133, -0.0467908941, 0.0654767826, -0.0568655767, -0.0033657646, -0.0447063781, 0.0467810743, 0.0722441524, -0.0189690068, -0.0135810915, 0.0235456731, -0.0464514121, 0.0438198671, 0.0113163423, 0.0518249571, 0.0018356354, 0.0173697937, -0.034910135, -0.0450720266, 0.0496880896, -0.0094828922, 0.0310829058, 0.0512264296, 0.0666858703, 0.0085195508, 0.003468659, -0.0412335545, 0.0252718572, 0.0012063049, -0.0121834725, 0.0414866023, 0.0079268962, 0.0277456902, 0.0102551021, -0.0075952848, -0.0618529059, -0.0402908325, -0.0095454156, -0.0104171243, 0.0149046807, -0.0209661163, 0.0040782206, 0.0180097111, -0.0363721251, 0.0041997484, 0.0463829674, -0.0182575602, 0.0244553573, 0.047718253, 0.0213590674, -0.0497037396, -0.0277474355, -0.0249849707, -0.0501132384, 0.0737088174, -0.0159859136, 0.0263817925, -0.0044468306, -0.0227744691, -0.0291161351, -0.0607508011, 0.0335583799, 0.0242506079, -0.0530279279, 0.0362671055, -0.0396071821, 0.0019105375, 0.0238799471, 0.0483269468, -0.0408983007, 0.0352024324, -0.0680153742, -0.0104235904, -0.0096429698, -0.0257088374, -0.0343951024, -0.0161723178, -0.0245450493, -0.0092775906, -0.0544742644, -0.0141374134, 0.0319757536, 0.0496824086, 0.0103422152, -0.0773636997, -0.0127022332, -0.0109519456, -0.0461618043, 0.0077761882, 0.0177833121, -0.0169076808, -0.0345006548, 0.0121427514, -0.0565825328, -0.0458788425, -0.0084795039, -0.0083287647, -0.0447637737, -0.0042157634, 0.046369642, 0.0124077909, 0.0905627683, 0.0462733842, 0.0350623243, 0.0570004657, -0.02927153, -0.0221343692, 0.0038682478, -0.0083572129, 0.0195160061, 0.0153410286, -0.0755977482, -0.0136800846, 0.0139609566, 0.0053458703, -0.0155848125, -0.0365909711, 0.023391543, -0.047233168, -0.0557265617, -0.028685011, -0.0257095303, -0.0174089987, 0.0181753207, -0.0084633278, -0.0551213473, 0.0466994755, 0.0240534209, 0.0322609358, -0.037021827, -0.0224401671, -0.0200248007, 0.0379036702, -0.0252224766, 0.0346751362, -0.0161283035, -0.0106142284, 0.0138202626, -0.0151215801, 0.0242739283, -0.0552549884, -0.0121467989, -0.0231649354, -0.0418076403, -0.0049335412, -0.0113025345, -0.0418434255, 0.0136591159, 0.0106978975, 0.0054214015, 0.0017571307, 0.008973537, 0.0005770252, -0.0060451962, 0.0430434309, -0.0317036957, 0.0151075451, 0.0113320276, 0.0516744629, -0.0562829003, 0.0315505117, 0.0466537438, 0.019629553, 0.0177051183, -0.0274863932, 0.0315289423, 0.0417169929, -0.0278477352, 0.0253908411, 0.050112348, 0.0417182408, 0.0253203847, -0.0097207874, -0.017846968, 0.0534777232, 0.0086076763, 0.0013353014, 0.0434623472, 0.0114956833, -0.0082569607, -0.0002987314, -0.0314217322, 0.0034704485, 0.0064816508, 0.0218437742, -0.0717423111, -0.0054687709, -0.0006815385, 0.0280030742, -0.0802198723, -0.0419043675, -0.0211429466, -0.0836956203, 0.0111874007, -0.003114989, -0.0644196644, -0.0490246937, -0.0051786755, 0.0385772362, -0.024524169, 0.0434406921, -0.0633625239, 0.0141795063, -0.0336232185, 0.0256004818, -0.0341317505, -0.0299891103, 0.0497955903, -0.018052835, 0.0304635707, 0.0591014512, 0.0672733113, -0.0108963866, -0.0377523415, 0.0096465601, -0.017784005, -0.0173936412, -0.034323521, 0.0442150161, 0.0092209363, -0.0213576872, 0.0234365873, 0.0145574342, -0.0087684942, -0.0180407111, 0.0413749777, 0.0371941216, 0.0386912338, -0.0183206815, -0.0488629527, 0.0092884041, 0.0118663311, 0.0746787116, -0.0019031732, -0.0749157444, 0.0119996406, -0.0220308676, -0.0412135646, 0.0274078101, -0.0611966588, 0.0209892709, -0.0686263442, -0.0509596132, -0.0563901737, -0.0227157306, 0.0195909422, 0.017882159, 0.0227450579, -0.0437973961, -0.0364047587, 0.0089933062, -0.0334268436, 0.0023660385, -0.0100338375, 0.0509169847, 0.0011141563, 0.0083712302, -0.0352181643, -0.0188683644, -0.0230662115, -0.0200528484, -0.0099885268, -0.0219267514, 0.0887839347, 0.0699477568, 0.0027881279, -0.0020382579, -0.0040231878, -0.0228098538, 0.0269627906, 0.0513021201, -0.0037059204, -0.0235906076, 0.0687133968, 0.0087564383, -0.0094248997, 0.0183765069, -0.0071649584, 0.0566263758, 0.0595468134, -0.0418982767, -0.0089561949, -0.0181045365, -0.0136092911, 0.0006581427, 0.0148114786, -0.0111298505, -0.0656343028, -0.0278610736, -0.0226349216, 0.0130067198, -0.0193177722, -0.0339609794, -0.039134454, 0.0199829824, 0.0059301928, -0.0259713251, -0.0037031777, -0.0094563859, 0.005490954, -0.0620588921, 0.0480596051, 0.0184854213, 0.0822218135, -0.0242056791, 0.0422603264, -0.0443711504, 0.0154688237, 0.0452257991, 0.0117105925, -0.0123852938, 0.0758639649, 0.0116706667, 0.0164881255, 0.0431554429, 0.0025213766, 0.0242620353, 0.0097322604, -0.0061403993, -0.0167398062, -0.0177567601, -0.073447682, 0.0578463636, 0.0139582045, -0.0202847067, -0.035721872, 0.0028387799, 0.0040898668, -0.0492766052, 0.028649874, 0.0007542014, -0.0201071501, -0.0011536244, 0.0283088759, -0.0790197551, 0.0029762266, -0.0115233734, -0.07261917, -0.0032681322, 0.0012847652, 0.0698506385, -0.0099597499, 0.0090797823, 0.0330048688, -0.0432915054, -0.0398397334, -0.0130717941, -0.0699453279, 0.0407945067, -0.0116196768, 0.0214091465, 0.0968442187, -0.0416715443, -0.0112707615, -0.0165485516, -0.0334983841, -0.0140340244, -0.013377279, -0.0099303909, -5.439293011e-33, -0.0226946156, -0.0145958131, -0.0041495827, 0.0233458579, -0.0058301417, -0.0466976613, 0.0248630121, 0.0072060484, -0.0480189361, 0.0150888646, 0.0008652079, -0.0008761442, 0.0099251745, 0.0105203902, 0.0232295021, -0.0202253722, 0.0150255235, 0.0236200318, -0.0435479432, 0.0027560894, 0.0575425141, 0.008662641, 0.0763319731, -0.0976626426, 0.0285716262, 0.0642566681, 0.0110571738, 0.0067989258, 0.0501112528, 0.0461356789, -0.0223617163, 0.0827378333, 0.0297498889, -0.0343228914, 0.0110349618, 0.0192920547, -0.0741677284, -0.0262377746, 0.0005176357, 0.0163346361, 0.0852188021, -0.0368607119, 0.0051156357, -0.0149892978, -0.0265668165, -0.0231087338, 0.0526402071, -0.0694426671, 0.0171801727, -0.0366519317, -0.0745429844, 0.0357912555, -0.0250401516, 0.0269509722, -0.0105588539, 0.0806072801, -0.0079653542, -0.0022653884, -0.0377203934, 0.0137238717, -0.0114018358, -0.0166708641, 0.0426169038, -0.0025217778, 0.0004737252, 0.0539020225, 0.0492351949, 0.016233515, 0.031397637, -0.0048548486, 0.0617465451, 0.0101093389, 0.0037174062, 0.0774027556, 0.0161785297, -0.0806330889, -0.0241359472, -0.0012903775, 0.0482707769, 0.0060284589, 0.0014036951, -0.0087955566, -0.0464758389, -0.0418955982, 0.0171631239, -0.0200847741, 0.0132364733, -0.0517309383, 0.0434776247, -0.0132466555, -0.0334738828, -0.0220776666, 0.0361734182, -0.0022190656, 0.0008564823, 0.0063523753, -0.0375561975, -0.0371069387, 0.0373258144, -0.0008951553, -0.0824513361, -0.0089197224, -0.0117136277, -0.0458499342, 0.0277807061, -0.0050073876, 0.0849117413, 0.0541311242, -0.0880406573, 0.0132844141, -0.0029467274, 0.0421954654, 0.0050350497, 0.0373610221, 0.0036568709, 0.0313406065, -0.0050597643, -0.0220714509, 0.0538385771, -0.0234474409, -0.0331308581, -0.0599320307, -0.0308041647, 0.0023826899, -0.0387161076, -0.0196875967, 0.0001502966, 0.0065967408, -0.0095469262, -0.0407592021, -0.0181853902, -0.0283781923, 2.393e-7, 0.0083540576, 0.0204948243, -0.0172490627, 0.0056885993, -0.0112004979, 0.0193617884, 0.0048461207, 0.0347534753, 0.0647334382, 0.0475614145, -0.0009433376, 0.035892386, 0.0517998263, 0.0859144703, -0.0193429384, -0.0348920152, -0.0154650388, 0.0147034647, -0.0417463556, 0.0154878711, 0.0088063329, 0.0459755026, 0.0486119092, -0.0549949966, -0.0310446545, -0.0142411431, -0.0000185628, -0.0853497908, 0.0215503834, -0.0548919626, 0.0482487082, -0.0254436377, 0.0103345159, 0.0389408283, -0.0012047681, 0.0113393078, 0.0579828098, 0.0452320874, 0.0393905044, -0.0029248919, 0.001863189, 0.0312211961, -0.0010739594, -0.0480860174, 0.0548327006, 0.0157279763, -0.0173829403, -0.0427436568, -0.0074709905, -0.0210853312, 0.0724837855, -0.0085301055, -0.0021504667, -0.0085433768, 0.065911375, 0.0248701964, -0.0215287004, -0.0181213748, 0.0150434161, 0.0089097703, 0.0018335206, -0.0497728288, 0.0206470378, -0.001992729, -0.0402333438, 0.0448653735, 0.0604114123, 1.706266096e-34, 0.0040894141, -0.0178433619, 0.0117366854, -0.0497266613, 0.0348688327, 0.0191174485, 0.0460257828, -0.0009420635, 0.018791005, 0.0146979019, 0.0115658455 ]
http://arxiv.org/abs/2310.06452v3
http://arxiv.org/pdf/2310.06452v3
Understanding the Effects of RLHF on LLM Generalisation and Diversity
2023-10-10T09:25:44
2024-02-19T14:39:07
Robert Kirk, Ishita Mediratta, Christoforos Nalmpantis, Jelena Luketina, Eric Hambro, Edward Grefenstette, Roberta Raileanu
cs.LG
cs.LG, cs.AI, cs.CL
Large language models (LLMs) fine-tuned with reinforcement learning from human feedback (RLHF) have been used in some of the most widely deployed AI models to date, such as OpenAI's ChatGPT or Anthropic's Claude. While there has been significant work developing these methods, our understanding of the benefits and downsides of each stage in RLHF is still limited. To fill this gap, we present an extensive analysis of how each stage of the process (i.e. supervised fine-tuning (SFT), reward modelling, and RLHF) affects two key properties: out-of-distribution (OOD) generalisation and output diversity. OOD generalisation is crucial given the wide range of real-world scenarios in which these models are being used, while output diversity refers to the model's ability to generate varied outputs and is important for a variety of use cases. We perform our analysis across two base models on both summarisation and instruction following tasks, the latter being highly relevant for current LLM use cases. We find that RLHF generalises better than SFT to new inputs, particularly as the distribution shift between train and test becomes larger. However, RLHF significantly reduces output diversity compared to SFT across a variety of measures, implying a tradeoff in current LLM fine-tuning methods between generalisation and diversity. Our results provide guidance on which fine-tuning method should be used depending on the application, and show that more research is needed to improve the tradeoff between generalisation and diversity.
[ 0.0508523956, 0.0082956646, -0.0086741727, -0.001673745, -0.0325635895, 0.0129339425, -0.0665865019, 0.0013737925, -0.0459010266, -0.0443514884, -0.0646500289, -0.0326626226, 0.0122104296, 0.0072411196, 0.0137833385, -0.0768074766, 0.0383090526, -0.076714009, -0.0268423371, -0.0171439443, -0.0226625875, -0.010088684, 0.0120368004, 0.0757877529, 0.0249424223, 0.0168538224, -0.0113776736, 0.0123553732, 0.0413497686, 0.0127407471, -0.0093452232, 0.0391839668, 0.0430807844, 0.0190954003, 0.0000019791, -0.0571379997, 0.0231403802, 0.0088352496, -0.0021953073, 0.0036778462, 0.0174032059, 0.0120558711, -0.0062512956, 0.0222671852, 0.0138367424, 0.0031248098, 0.042908892, 0.0405314863, 0.030066181, 0.111145325, 0.0252106041, -0.0241138823, 0.0364055447, -0.0394165367, 0.0228730235, -0.0072591105, 0.0109219505, 0.0018631589, 0.0465673879, -0.0153249074, -0.0460008159, 0.0041117985, 0.0453244261, 0.0143195884, -0.0046412749, 0.0473073944, -0.0263946243, -0.013442494, -0.0301978365, 0.0526559018, -0.07631661, 0.0080244895, -0.0026238204, -0.0162213352, 0.0370297655, 0.0025222201, -0.045404233, 0.0824370906, 0.0098271482, 0.0350171588, 0.0036556309, -0.0144490963, 0.028759677, 0.0188912619, -0.0378090702, 0.0357214473, -0.0090769902, -0.0454742126, 0.0101599516, 0.0126241492, -0.0396586992, -0.0487567261, -0.033183638, 0.0603177883, -0.0440309197, -0.0008246326, -0.044151634, -0.0058105034, 0.0158673525, -0.004558662, 0.0593567044, 0.0432874225, -0.0400635675, 0.0105056819, 0.0047987262, 0.0492476262, 0.0006474216, 0.0629331991, -0.0486036874, 0.0125930049, -0.0567449629, 0.0008127858, 0.0011499625, 0.0593580082, -0.0191771872, -0.0190316178, -0.0453855507, 0.0384793431, -0.0300973449, -0.003915769, 0.0324769206, -0.0039590285, -0.0695077404, 0.0273216534, -0.0236824527, 0.0147530278, -0.0469931662, 0.0081381537, 0.0474269539, -0.0389256552, -0.0117474999, 0.0061994982, -0.0190432444, -0.00004347, 0.0092434483, 0.0784787908, -0.0228971802, -0.0372810401, -0.0229140017, -0.0001643308, -0.022451641, -0.0826328322, 0.0118742958, -0.0692392811, -0.0163025614, -0.0189702343, -0.0045310687, -0.0021845542, -0.0129532898, -0.0140513685, -0.0425949916, -0.0040844376, 0.0195961427, 0.0399380773, 0.042599652, -0.0139610702, -0.014148484, 0.0894149318, 0.0578877702, 0.0190338455, -0.0062625245, 0.0144816656, 0.0310703143, 0.050066404, -0.0136741754, 0.0278176069, -0.0037524612, -0.0153691145, -0.0112853469, 0.0325000025, 0.0527932867, 0.054405313, -0.0490149371, 0.0405383185, 0.048803173, 0.0512556806, 0.0404841974, -0.0255381204, 0.048024375, -0.0034391226, 0.004920451, 0.0620220937, -0.0582969487, 0.0282143708, -0.0090477876, 0.0515119024, 0.0361462608, 0.0333668068, -0.0435858034, -0.0470960103, -0.0047663124, -0.0176603924, 0.0235234257, 0.0185426846, 0.0767591745, 0.0013243662, -0.0232461095, 0.0024458105, 0.0607628524, -0.0281204004, 0.0207948014, -0.0967234448, 0.048651658, 0.0487424731, 0.0364464186, -0.0492895879, -0.0042834966, -0.0097243208, -0.0203470495, 0.0526783839, 0.0489548407, 0.001478073, -0.0051841033, -0.0546601899, -0.0387935974, -0.0162098464, 0.0111602293, 0.0428043343, 0.0194846615, -0.0164393317, -0.0116452025, -0.0159811676, -0.0744527206, 0.0339446589, 0.0033506823, -0.0010311438, 0.0089630643, 0.0064147701, 0.0125993481, 0.005158009, -0.037739411, 0.0262546409, 0.0055832155, -0.0087967794, -0.0068642045, -0.0249864291, -0.0532880202, -0.006682409, 0.0022747284, -0.0261618868, 0.0039126622, 0.0392313525, -0.0412564389, -0.031625405, 0.0292234179, -0.0155978072, 0.0049848924, -0.0201516207, 0.0227982886, -0.0228638332, -0.0124379499, -0.0591243804, 0.0441626869, -0.0202222858, -0.0249135587, -0.0092896093, 0.0236497354, -0.0168814827, -0.0668282136, -0.0378271677, 0.0363553055, -0.0043887496, 0.0462319478, 0.0361132286, 0.0524179041, -0.0370186418, -0.0484718047, -0.0615710244, -0.00045922, -0.0483779795, 0.0019857227, 0.0127294408, 0.0014719733, -0.013186316, -0.0023279721, -0.0194452833, -0.0310500488, 0.0425153859, 0.0235342663, 0.0157809332, 0.0306330416, -0.0230995622, -0.0340441987, -0.0327677354, 0.0340872146, 0.0277566388, -0.0288234521, 0.0423117355, -0.0739089325, 0.0345406607, -0.0200284384, 0.0240018945, -0.0135028111, -0.0179229993, 0.0355917253, -0.0110021764, 0.0407935791, 0.0782516375, 0.0139903482, 0.0305237528, 0.0486507528, 0.0234451815, -0.0509404317, 0.026385501, -0.034511663, -0.0710576773, -0.0225379281, -0.0027031691, 0.0086465999, 0.0479995459, 0.005403101, 0.0053196326, -0.0880989507, -0.0228472296, -0.0140456464, -0.0647251159, -0.0384871736, -0.0212943871, -0.0557949059, 0.0196440835, -0.0305418894, -0.0552595071, 0.0546590127, 0.0106183793, 0.0411239713, -0.0636373907, -0.029388193, -0.061681211, 0.0241524205, -0.0079829609, 0.0097422181, -0.0057921833, -0.0180889852, -0.0796396881, -0.0390376002, -0.0091729918, -0.0090865269, 0.1112314388, -0.0322139598, -0.025722459, -0.0108116055, -0.0381205454, -0.030692365, -0.0236291755, 0.0087287761, 0.0264518466, 0.0166965947, -0.0114981355, -0.015059107, 0.0076688314, 0.0409514569, 0.0363513157, -0.0507605448, -0.0075751655, -0.0093899155, 0.0086405603, 0.0663687512, 0.0266280342, 0.0156775191, -0.0633486658, -0.0031930609, -0.0041527161, 0.0428066589, -0.0109105175, 0.0043424177, 0.0220860541, 0.0049475837, -0.0381135419, -0.0215564165, 0.0775298402, 0.0585048236, -0.0430897065, -0.0359523743, 0.0798852742, 0.000209737, -0.0560972355, 0.0296753366, -0.0167857856, 0.0692706481, 0.0143040614, 0.0366538428, -0.0502520204, -0.0043927766, 0.0054484089, 0.0324994475, -0.0126822647, 0.0094949193, 0.0242621936, -0.1408831477, 0.030791888, 0.0181155391, -0.1166743711, -0.0405337401, 0.0155578544, 0.0111711938, 0.0189532246, 0.0365090221, 0.020721456, -0.0185008384, -0.0087494291, 0.0624301136, -0.0070459414, -0.0588561967, 0.00846864, -0.0563820042, 0.0354413837, 0.1130470037, -0.0186819341, -0.0155863436, -0.0021948025, 0.0439562052, 0.0106453979, 0.0534893721, 0.0088691218, 0.0252661221, -0.003956378, 0.0002948068, -0.0092907753, 0.0341418944, 0.0114165545, 0.0054105069, 0.0039521498, 0.0513651073, -0.0182570778, -0.0322914571, -0.0265282262, -0.0079418253, 0.0127963694, 0.0644506663, 0.0354197212, -0.0568624064, -0.0398793593, -0.0232452471, -0.0370294899, -0.0498051383, -0.0088056028, 0.0333117023, -0.0215802453, -0.0443594642, -0.0472513251, -0.0533556379, 0.0010643534, -0.0000010408, 0.0098493109, -0.0127251996, -0.0059038606, 0.0387052782, 0.0328741781, 0.0348679088, -0.0320827998, 0.0082979407, -0.0709994584, -0.0345931165, 0.0001048971, -0.0697569102, -0.0018054548, -0.023649808, -0.0796355456, -0.0665216297, 0.0018620578, 0.0723044276, 0.0279918164, 0.0670067146, 0.0308631193, -0.0637716278, 0.0517383888, 0.0288593397, -0.0048302002, 0.0704003721, 0.016757261, 0.0194692537, -0.0082263406, 0.0355964229, -0.0832747892, 0.0142519828, 0.0490504354, 0.0469233133, 0.0181530155, -0.029659275, -0.0172021054, -0.0091867046, 0.0177167691, -0.016743971, -0.0269484427, -0.0327317417, -0.0081761144, 0.0143570043, -0.0100001013, -0.031346757, -0.0104646329, 0.0209638439, 0.0202113818, 0.0076050046, 0.0078699971, 0.0262522008, 0.0574782379, -0.0391929932, -0.0154419811, -0.002371076, 0.0117846783, 0.0063557699, 0.0552686043, -0.0363103338, 0.0240798015, -0.0316243619, 0.0222376622, 0.0414245389, 0.0805125609, 0.0299328193, 0.008503194, -0.0095508667, 0.0242249928, -0.0962891579, -0.0547177494, -0.0180841554, 0.0650683865, 0.0428500883, 0.0235096309, 0.0296280086, -0.0139157865, -0.0038358166, -0.0320564434, 0.003083278, -0.0211428627, 0.0167806707, 0.0133340126, 0.0233945232, -0.0000573967, -0.0381406806, 0.0750014856, -0.0104964282, 0.0385849811, -0.0223510265, 0.0372028016, -0.0234164596, -0.0154721541, 0.022634346, 0.0184746422, -0.0118494164, -0.0068684239, -0.0553068519, -0.037296012, -0.0160034262, 0.0342210494, 0.0371769704, -0.0284781065, 0.0576540604, 0.0310698468, -0.0288750529, -0.0049285013, -0.0351302512, -0.0507984571, -0.0046557495, 0.0027561735, -0.0152009744, -6.238003218e-33, -0.0394581594, 0.0147975292, 0.0172430743, -0.0102845263, -0.0308232084, -0.0104975635, -0.0166863836, 0.0121561456, -0.0265196171, -0.0205427688, -0.0173612759, -0.0113198655, 0.0115262698, 0.026706269, 0.0366952978, -0.0237244982, 0.0406321809, -0.0106791081, -0.0629563481, 0.0124550052, 0.0194578189, 0.0063582705, 0.0502659529, -0.0017685571, 0.0093111154, -0.0080281803, -0.0256216321, 0.0214642249, -0.0464496091, 0.0662276521, 0.0023205348, 0.053357143, 0.0242529474, -0.0545880832, -0.041738186, 0.0150020448, -0.035370335, -0.0490417331, 0.0292231124, -0.0256543402, -0.0492399633, -0.0294944905, 0.0624856129, 0.0138317719, -0.0518372841, -0.0180743895, 0.0153105455, -0.0249821767, -0.0419288352, -0.0139065934, -0.05452393, 0.0071463399, 0.0150887081, -0.0461150818, -0.0296429787, 0.0089436537, -0.0383493453, 0.0008554062, -0.0132682938, 0.032599166, 0.086214669, 0.0011697413, 0.0671720952, 0.0630951524, 0.0130595211, 0.0220257882, 0.0060194335, 0.0243011154, -0.0178480614, -0.0597933494, 0.0430842564, 0.033244364, -0.0040290151, 0.0218082797, 0.0234230775, 0.0217107274, -0.0417225435, 0.0184229817, -0.0014343451, 0.0368857868, 0.0502643958, 0.0378937684, -0.0665408894, -0.0321683437, -0.038583193, 0.0294685028, -0.0142112495, -0.0440411158, 0.04604844, 0.0355301015, -0.0020870951, -0.037550129, 0.0353331566, -0.0215876587, 0.0387356989, 0.0085460218, -0.0543278344, 0.0284114573, -0.0145699922, -0.0339142196, -0.0668739676, -0.0426391475, 0.0283102598, -0.0150082447, -0.0264935121, 0.0229240861, 0.036708381, 0.038338773, -0.0241175424, 0.0119886138, -0.0054617333, 0.0417021997, 0.0310826395, 0.0452929661, 0.0173319485, -0.013667047, -0.0053002848, 0.0744440034, -0.0040681688, -0.042451039, -0.0277893543, 0.0117958533, 0.001964821, 0.0041065342, -0.0348982103, 0.0347811691, -0.0195571389, -0.0029058047, 0.0264486615, -0.0268717948, -0.0330714881, 0.0157040656, 2.681e-7, 0.0209832862, 0.0024740763, 0.0325528309, 0.0361943319, 0.0018052988, 0.031356819, -0.0230394602, 0.0143529298, 0.0362725407, 0.0241671428, 0.020210702, 0.065629296, 0.024781486, -0.0236126017, -0.0385028161, 0.0022793913, -0.0929117054, 0.0237091556, -0.0383432731, -0.0191488713, -0.0158493668, 0.0871972889, 0.0188982096, -0.016548574, -0.0048472295, 0.009643889, 0.0502022319, -0.0461780615, -0.0265389178, 0.0216299854, 0.0048135701, 0.0316775292, 0.0010805012, 0.0044860421, 0.0295123532, 0.0224025678, 0.0065675955, 0.0391463153, -0.0209117997, -0.0306834839, 0.0137159787, 0.0169597548, 0.0179061312, -0.0673620626, 0.0348672941, -0.0673201457, -0.0157755502, -0.0487914495, 0.0416204818, -0.0372741297, 0.0022275464, -0.0623321421, 0.0083184121, 0.0110466592, -0.0038710942, 0.0186539032, 0.0012439878, -0.0782376602, -0.0177584793, 0.0395214185, -0.0436005779, -0.071629256, -0.0473551229, 0.0315368026, -0.0058000996, -0.0590873025, -0.0215958003, 2.507591641e-34, 0.0466703065, -0.0065359976, 0.0054950323, -0.0042128027, 0.0203150585, 0.0101496195, -0.0405782089, 0.0140669001, 0.0342786051, -0.0574226603, -0.0473714918 ]
http://arxiv.org/abs/2310.06450v2
http://arxiv.org/pdf/2310.06450v2
Constructive Large Language Models Alignment with Diverse Feedback
2023-10-10T09:20:14
2023-10-11T07:04:04
Tianshu Yu, Ting-En Lin, Yuchuan Wu, Min Yang, Fei Huang, Yongbin Li
cs.CL
cs.CL, cs.AI
In recent research on large language models (LLMs), there has been a growing emphasis on aligning these models with human values to reduce the impact of harmful content. However, current alignment methods often rely solely on singular forms of human feedback, such as preferences, annotated labels, or natural language critiques, overlooking the potential advantages of combining these feedback types. This limitation leads to suboptimal performance, even when ample training data is available. In this paper, we introduce Constructive and Diverse Feedback (CDF) as a novel method to enhance LLM alignment, inspired by constructivist learning theory. Our approach involves collecting three distinct types of feedback tailored to problems of varying difficulty levels within the training dataset. Specifically, we exploit critique feedback for easy problems, refinement feedback for medium problems, and preference feedback for hard problems. By training our model with this diversified feedback, we achieve enhanced alignment performance while using less training data. To assess the effectiveness of CDF, we evaluate it against previous methods in three downstream tasks: question answering, dialog generation, and text summarization. Experimental results demonstrate that CDF achieves superior performance even with a smaller training dataset.
[ 0.0489789732, 0.0659585819, 0.0075883977, 0.0100329788, -0.0371973217, 0.0115995472, -0.0393002853, -0.0524370931, -0.0200723633, -0.032715302, -0.0290343426, -0.0587960556, -0.0179396253, -0.0024263661, 0.0216041226, -0.0448257178, 0.0457166098, -0.0113224713, 0.012324647, -0.0202849675, 0.0422509611, 0.0089928862, 0.0045738975, 0.0380970016, -0.0008513781, -0.0213130265, -0.0187135153, 0.0135272173, 0.0311769396, 0.0020833143, 0.0411486998, 0.0648597553, 0.0193270128, 0.0528952256, 0.0000017372, -0.0589755289, -0.0069278874, -0.0153031209, -0.0177875236, 0.0038198971, 0.0480515175, -0.0001162802, 0.0097996909, 0.0222717691, -0.0213767085, -0.0173981842, 0.0498137027, 0.0626388714, 0.0806980953, 0.0645748228, 0.0153015247, -0.0166580789, -0.0000084818, -0.0081520351, -0.0085993158, -0.011912073, 0.0194079746, 0.0478560366, -0.003642923, 0.0275655072, 0.0057395324, 0.0205021631, -0.004194844, -0.0167389698, 0.0491601862, 0.0065206736, -0.0165463518, -0.0430203266, 0.0024098579, 0.088565819, 0.0186281726, -0.0279629845, -0.0248258859, -0.0139548434, 0.0310725607, -0.0186828803, -0.0452607311, 0.0189895965, -0.0172765423, 0.0080870576, 0.0058915825, -0.0295159183, 0.0093975877, 0.0365070254, 0.0307020079, 0.0176385045, 0.0262844097, -0.048008237, -0.017906215, 0.0176950637, -0.0288025606, -0.0426720157, -0.0170648266, 0.0154932598, -0.0740958229, 0.0242651291, -0.0737012774, 0.0076514645, 0.0189820789, -0.0418076515, 0.0367951393, 0.0282158516, 0.0130082676, 0.0594815239, 0.008001118, 0.0327131152, -0.0368575267, 0.0216173958, -0.0646998435, -0.0077451067, -0.029155748, -0.0268582348, -0.0101139769, 0.0309200902, 0.001818303, -0.016926121, -0.0498462468, 0.0538845286, -0.0297792479, 0.0424155667, -0.000657924, 0.0266949795, -0.0285702739, -0.0040162369, -0.0561032072, 0.0587214828, -0.0371932946, 0.0164642651, 0.0255398154, -0.0151453568, -0.0095366333, 0.0322585814, -0.0112882843, -0.0317943208, -0.0142046185, 0.0114807403, -0.0332818404, 0.0133601967, -0.0205504615, -0.0077366694, -0.0290191472, -0.0402904898, -0.0272821356, -0.081251286, 0.0194063131, -0.0143479081, -0.0347543471, -0.0479846373, 0.0042604795, 0.0120683238, -0.0163986869, 0.0616998747, -0.0200950429, 0.0168146361, 0.0590910651, -0.0056748171, -0.0085351793, 0.050633058, 0.0019897402, 0.0016764085, 0.012099755, -0.0090542156, -0.0071293581, 0.0272901505, 0.0068043089, 0.0224681944, -0.0217058603, 0.0322153978, 0.001300986, 0.0535170026, 0.0168214291, 0.0712795407, -0.0230960585, 0.0223700572, 0.0874262154, 0.0044503263, 0.0182890762, 0.0163492411, 0.0008045557, 0.0420751162, -0.0021369734, 0.0176233873, -0.053352654, 0.0265023001, -0.0481538959, 0.0482330099, 0.0410201885, 0.0391449258, -0.0184858032, -0.0601498112, -0.0238205455, 0.0054933848, 0.0209253188, 0.0118400594, 0.0181386825, 0.0154755441, -0.0347695798, 0.008812231, 0.0361650884, -0.0301344302, 0.0140181566, -0.018538516, 0.0799956918, 0.0481620394, 0.036151085, -0.0335626863, -0.0780634284, -0.0248486996, 0.0135485604, 0.0489295311, 0.0816727728, -0.0320335999, -0.0543979779, -0.0570508465, -0.0398057476, -0.006352304, 0.0070897457, -0.0035760482, 0.0368197449, -0.0491196141, 0.0099694617, 0.0135845542, -0.0939208716, 0.0340584256, 0.0386540741, -0.0176915899, -0.0254101548, 0.0259313621, 0.0428368971, 0.0226682313, -0.0037881248, 0.0170756467, 0.0057320669, -0.0204424988, -0.0530930832, 0.0175819378, -0.0696612298, -0.0306682587, 0.0601959378, -0.0301620476, -0.030687267, 0.0163182449, -0.0384896547, -0.0400414541, 0.0091387806, -0.052318193, -0.0321996212, -0.0247132871, 0.0424358509, -0.011187396, -0.0372737125, -0.0862435251, 0.0761971399, 0.032010477, 0.0046162456, 0.0202562846, 0.0083465856, -0.0032953327, -0.0074215299, -0.0453638285, 0.0064079263, 0.0042366353, 0.0337325521, 0.068171747, 0.0065801591, -0.0646588951, -0.0461573526, -0.0909971967, 0.0195479039, -0.0110576246, 0.0152121251, 0.0411710143, 0.0032296311, 0.0098075559, 0.0104658613, -0.0889190659, -0.0393879041, 0.0283652749, 0.0094328076, 0.0564513169, -0.0024183276, -0.014108343, -0.0530634075, 0.0119077992, -0.0223586019, 0.0000581083, 0.0020474193, 0.0136023369, -0.0494884439, 0.0132851927, -0.0374172665, 0.0096338494, 0.0065959683, -0.0274290722, 0.0061540771, 0.0351122543, 0.0549448133, 0.074777782, 0.0476455465, 0.0149276527, 0.0297487285, 0.0392479151, -0.066355966, 0.0085872933, -0.0322420746, -0.0481162295, -0.0314149596, -0.0368953571, -0.0053559369, 0.071033068, 0.0096173678, 0.0060186996, -0.0800671428, 0.0607875697, -0.0289306603, -0.0062712338, -0.0257819742, -0.0480212644, -0.0234218631, 0.0012156529, -0.0531805605, -0.0340817943, 0.1139762998, -0.0176821612, 0.0143351192, -0.0466105975, -0.004695538, -0.0435072258, 0.0054249782, -0.0008583409, 0.0444341712, 0.0155364117, -0.0061591752, -0.0863832235, -0.0048224605, 0.0773542225, -0.0465575121, 0.0828110054, -0.0485524349, -0.0070360512, -0.0206651539, -0.0683575198, -0.0755086839, -0.0443650335, 0.0016394551, 0.0152309192, 0.0400493965, 0.0069525279, -0.0270595271, 0.0002265703, 0.0276694782, 0.0013574357, -0.0335295126, -0.0005490062, -0.0210772958, 0.0217516776, 0.0956351683, 0.0399534889, 0.0143937133, -0.0327889696, 0.0210902486, 0.038518928, 0.0087498324, -0.0024293526, -0.0172303412, -0.0089270445, 0.0271452237, -0.03269694, 0.0134356078, -0.001991932, 0.0875248909, -0.0171530358, -0.0093201827, 0.1115366146, 0.0248401575, -0.0387606435, -0.0126801543, -0.031451948, 0.0508900583, 0.0368334688, 0.0220387597, -0.0457747802, -0.0224631205, -0.0121576199, 0.0311582964, -0.0213251431, -0.0079705156, 0.0142792612, -0.1461044848, -0.0076879463, 0.0423901416, -0.0352310352, -0.0104839122, 0.0090546347, 0.0017658425, -0.0149905756, 0.020688761, 0.0220567845, 0.0102805234, -0.0103719411, 0.0578696169, -0.0057440982, -0.0286624059, -0.0267549399, -0.0498548336, 0.0732027888, 0.034158729, 0.0060102032, -0.0002139748, 0.011428209, 0.0475824885, 0.0088735847, -0.0143728191, 0.0195889287, 0.0140199373, -0.0155277774, -0.0018259011, -0.0372325517, 0.0685656518, -0.0014693137, -0.0033057707, 0.0223285109, 0.0611099303, 0.0134731494, 0.029419221, -0.0315962955, 0.0103802113, -0.0111387186, 0.0717716664, 0.0214991402, -0.0584197789, 0.0005279488, -0.0251136236, -0.0322359465, -0.019884076, -0.0234792531, 0.0304570533, -0.0030723496, 0.0246102195, -0.0739622936, -0.0349386185, 0.0105398661, 0.0224079788, 0.0303643588, -0.0149710588, 0.0039497884, -0.0195653997, -0.0130432257, 0.0550813489, -0.0274430793, -0.0001002763, -0.0463237613, -0.0119174747, -0.0005513648, -0.0572259501, -0.010893493, -0.0048333523, -0.089572221, -0.0946688652, -0.0398292802, 0.0502668992, 0.018886758, 0.0740078464, -0.0131365918, -0.064921774, -0.0033219904, 0.006600468, 0.0036391483, -0.0018417366, -0.0046786298, 0.0192667004, -0.0069700796, 0.0222313851, -0.0413151681, -0.0199964829, 0.0198816005, 0.0451348051, -0.0219734758, -0.0354907401, 0.0595102459, 0.0308880825, -0.0072369361, -0.0188252944, -0.025617132, -0.0393983647, 0.0052328999, -0.0057110218, -0.0837112218, -0.0121834492, 0.0016400696, 0.029823605, -0.0162729789, 0.008007938, 0.0043609296, -0.0091037443, 0.0971386805, -0.0593397617, -0.0051501505, 0.0192962866, -0.0204903223, 0.0183059257, 0.0023108935, -0.065008752, 0.0144699747, 0.0032414859, 0.042898193, -0.0009379713, 0.0797850266, 0.0353767127, 0.0102634318, 0.0114666075, 0.0074995472, -0.0365879275, -0.0392406806, -0.041671209, 0.0121775884, 0.0283160508, -0.0134910438, 0.0493167527, -0.0201412868, -0.0205123015, -0.0185711253, 0.0370212048, -0.0145839509, -0.0365971848, 0.0576928854, 0.0453450121, -0.0085373567, -0.0148964534, 0.05200864, -0.0034781266, 0.0169742573, -0.0367859639, 0.0039058458, -0.0526226982, -0.0366333053, 0.0417763852, 0.0210530218, -0.0394011587, -0.0013504052, -0.0364319645, -0.0299329739, 0.0090340609, 0.0167967062, -0.0157050136, -0.0217321422, 0.0427244939, 0.0514169671, -0.0433410406, -0.0418790169, -0.0277217869, -0.0006716165, 0.0080081122, 0.0126602948, -0.0259667616, -5.980460488e-33, -0.0300926846, -0.0180065315, 0.0182525627, -0.0340726227, -0.0700316131, -0.0215088706, -0.0020846881, 0.0451395139, -0.0160422642, 0.0033535911, 0.0021850099, -0.0097260233, -0.0102831833, 0.0395966507, 0.0156622082, -0.0232263058, 0.042370934, 0.0121280942, -0.0590560846, 0.0097589083, 0.0103602381, -0.0069852532, 0.0334699564, -0.0362392999, 0.0519546345, -0.0141724795, -0.0220253877, 0.0401790366, -0.0064933486, 0.0871219411, 0.0013901992, 0.042991437, 0.0225578211, -0.0243864562, 0.0007174661, 0.0260762945, -0.0304377638, 0.0146444207, 0.0726894736, 0.0186098404, -0.0182036199, -0.0481543094, 0.0369106121, -0.0129762022, -0.0126440879, -0.0000431761, 0.035923142, -0.0466476642, -0.0395499729, -0.0102842757, -0.0891169757, 0.0195469391, -0.0331469141, -0.026374653, -0.0412265919, 0.0574551895, -0.0006833512, 0.0194045249, -0.0416074507, 0.0229689237, 0.0022642119, 0.0326742828, 0.07970386, 0.0574715137, 0.0010232353, 0.0528400764, -0.0153011885, -0.0007734845, -0.0359647609, -0.0351403803, -0.0114768501, 0.0060328622, 0.0386370011, 0.0900084004, -0.0144272381, 0.0233754907, -0.0419862345, 0.0066156154, -0.0178050343, 0.0410573483, 0.055421479, 0.0138288671, -0.0473841317, -0.0091986367, -0.0782562569, 0.0072678523, -0.0348329134, -0.0009097315, 0.0114416014, 0.0225009043, -0.0526317358, -0.0456015393, 0.0104591884, -0.0361698605, -0.0080922423, 0.0216306187, -0.0283323899, 0.0179122332, -0.0280189849, 0.0235327687, -0.0520820022, -0.0164310187, 0.0008698756, 0.003643655, -0.0020662094, 0.0359321497, 0.0458352715, -0.0122982739, -0.0489388295, 0.0291835926, -0.03476483, 0.0088067064, -0.0387613624, 0.0177117381, 0.0587809607, 0.0123692611, -0.0171411298, 0.0588250719, 0.0259248018, 0.0062815067, -0.0412325934, -0.0327292494, 0.0033836516, 0.0058540059, -0.0225827787, 0.0154175702, 0.0084632002, -0.0024034136, 0.0083950832, -0.0466972068, -0.0060605998, 0.0124017056, 2.457e-7, 0.0086444058, 0.0474139974, 0.0375889093, 0.001580548, -0.0094951726, 0.0584383756, 0.0027587875, 0.0169298165, 0.0218722392, -0.0048913234, 0.0326369181, 0.0207342356, 0.0734933838, 0.0071415766, -0.0720638782, -0.0293724518, -0.0792981982, 0.0060822438, -0.0459197313, -0.0011199135, 0.0699446276, 0.1090511903, -0.0074009746, 0.0074516805, 0.008867071, -0.0258661825, 0.0801616758, -0.0286499113, -0.0575300902, 0.049166441, 0.0337132998, -0.0193524361, 0.0038120749, -0.0019466158, 0.0183717441, 0.0190042555, 0.0189635009, 0.065721944, 0.0071583153, -0.0163723007, -0.0404106975, 0.0070652114, 0.0143462522, -0.0575686544, 0.0362991802, -0.0750962943, -0.0281486958, -0.0339584723, -0.0147399744, -0.0187578108, 0.0418691076, -0.030847393, -0.0004950322, 0.0045895381, 0.0275723934, 0.0150291463, -0.0109072868, -0.0555760376, -0.0283953454, 0.0040440895, -0.0319897048, -0.0563903935, -0.0055710515, 0.0254678633, 0.0096072126, -0.0350284539, 0.0288932361, 2.264908306e-34, 0.0453283899, -0.0310001299, 0.0474504568, 0.0177168474, 0.0284219738, 0.0129434988, -0.0049388008, -0.0014011011, 0.0278072506, -0.0819168836, -0.0081276651 ]
http://arxiv.org/abs/2310.06436v1
http://arxiv.org/pdf/2310.06436v1
MemSum-DQA: Adapting An Efficient Long Document Extractive Summarizer for Document Question Answering
2023-10-10T09:06:08
2023-10-10T09:06:08
Nianlong Gu, Yingqiang Gao, Richard H. R. Hahnloser
cs.CL
cs.CL
We introduce MemSum-DQA, an efficient system for document question answering (DQA) that leverages MemSum, a long document extractive summarizer. By prefixing each text block in the parsed document with the provided question and question type, MemSum-DQA selectively extracts text blocks as answers from documents. On full-document answering tasks, this approach yields a 9% improvement in exact match accuracy over prior state-of-the-art baselines. Notably, MemSum-DQA excels in addressing questions related to child-relationship understanding, underscoring the potential of extractive summarization techniques for DQA tasks.
[ 0.0158695243, 0.0203493424, -0.0029152145, 0.0376342796, -0.0093378136, 0.035927996, -0.0073553859, -0.0216671508, -0.0018184987, -0.0274203252, 0.0231619608, -0.0340244807, -0.025064623, 0.0056733917, -0.032521084, -0.0763327703, 0.0587457605, -0.0189971756, -0.031643223, -0.0005040753, 0.0310687125, 0.0128912004, 0.0230262913, -0.0138633233, -0.0063456278, -0.0594408363, -0.0191039946, -0.0196630955, 0.0160825551, -0.0287255608, 0.0230150595, -0.0147246616, 0.027537467, 0.0093952576, 0.0000016888, -0.0657346547, -0.069726415, 0.0273128487, -0.0155982478, -0.0275116507, -0.0172474068, -0.038177859, 0.0553506501, 0.0312000513, -0.0271351449, 0.0033930575, -0.006926944, 0.0190465208, 0.0365264043, 0.0600601994, 0.0070945472, -0.0173404589, 0.0376691446, 0.0119488733, 0.0387105905, -0.0737370253, -0.0091802226, 0.0222099964, 0.0656085685, -0.0234812442, 0.0249443967, 0.0352394022, 0.0239086654, -0.0363331959, 0.0183538496, -0.0006455667, -0.0027088989, 0.0383505933, 0.0277283639, 0.0720176697, 0.0646267161, 0.0008365883, 0.0541651696, 0.0214147642, 0.0109493416, 0.026929453, -0.0808807462, 0.0415370092, -0.0493876263, -0.0215140898, 0.0193106998, -0.0022045386, -0.0348418318, 0.0039978116, -0.0273804422, 0.0645168126, -0.0041580461, -0.0553214289, 0.0044915765, 0.0157139245, -0.0175377969, -0.0595156737, 0.0290917903, 0.0803801417, -0.0065058889, -0.0081698811, -0.0583980232, -0.0831031725, 0.0184537917, -0.0456584916, -0.0418074094, -0.0182762314, 0.0320829228, 0.0800308958, -0.0213345718, 0.0294108335, 0.0174238458, -0.0117156459, -0.1011450365, -0.0403967425, -0.0404786989, -0.0172781236, -0.0615456104, 0.0754169375, -0.0259203203, -0.0355229415, 0.0111334454, 0.0375881419, 0.0338387117, 0.002865701, -0.0012318031, 0.0626982972, 0.0060606268, -0.0112361452, -0.0275143385, 0.0153408386, -0.072325699, 0.0016008097, 0.0057221232, 0.0317440778, -0.0153849637, 0.0061195851, 0.0774659291, -0.0098554436, 0.0311879739, 0.0345161073, -0.0294433124, -0.0254224539, 0.0011266411, -0.0262654703, 0.0134665696, -0.0407400019, 0.0176447202, -0.0381225087, 0.0302659087, 0.0396075547, -0.0272145253, 0.0351862274, 0.0220419336, 0.0180336982, -0.0412428901, 0.0301979389, 0.0046128314, 0.0042358967, 0.0401628651, 0.0202482212, -0.005973204, 0.037446484, 0.0250151418, 0.0120848538, 0.0808186382, 0.002552079, -0.0131308017, 0.0051697968, 0.0137419114, -0.0068777055, 0.0502951629, 0.0857971162, -0.0160843246, -0.01451921, 0.025984792, 0.0304674711, 0.0175156854, 0.0075237839, 0.0070654838, 0.0619259253, -0.049944073, 0.0258940663, -0.0329895727, 0.0301903337, 0.0443591326, 0.019277785, -0.0185671803, 0.0325284041, -0.0188026149, 0.028300764, 0.031942144, 0.0084217051, -0.0200906899, -0.0246880632, -0.0187079087, 0.0217092708, 0.0010684525, 0.0301611014, 0.0085403938, 0.0024998905, 0.0043255896, 0.0487324148, -0.0277375281, -0.0590184815, 0.0123530133, -0.0156519692, 0.0795277655, 0.0283527188, 0.0320457108, -0.0810213685, -0.0450732894, 0.0000047084, 0.0153023619, 0.001423002, -0.0119306408, -0.0193552449, 0.0125864251, -0.0058379318, -0.0081132436, -0.0139551694, -0.0045018592, -0.0089634713, 0.0206694826, -0.007152467, 0.0395781882, -0.0339257792, -0.0038142598, 0.0410364121, -0.0395090431, -0.0490565002, 0.0190296061, 0.0071663503, 0.0004644522, 0.0130480742, 0.0169499163, 0.0320315212, 0.0364927538, -0.0317003503, -0.008867221, -0.0067774723, -0.0353868678, -0.0219643414, 0.0221093874, -0.0323867574, -0.0250131544, 0.0383960269, -0.0182181951, -0.0491055623, 0.0150448354, -0.0639638379, 0.0013146512, -0.0298943054, -0.0090248631, 0.0257076416, -0.0259955972, -0.0306747872, 0.0480304174, 0.0056837918, 0.0037093356, 0.0077230274, -0.0552118011, 0.0101410141, -0.0036545603, -0.0011144056, -0.0453494154, -0.0044076829, 0.0115441447, 0.0265634991, -0.0022479077, -0.0529767573, -0.0210708138, -0.0707511976, 0.0493539795, -0.0134980092, 0.0651252866, 0.060957253, 0.0308103655, -0.0194430128, -0.0146881668, -0.0872144327, 0.0048531182, 0.0451338775, 0.0043268898, 0.050836321, 0.0176958833, 0.0409372151, -0.0613531694, -0.0079458989, -0.0248493068, 0.0309253577, -0.0141561525, 0.015303391, 0.0001110731, -0.0094497493, -0.0150032509, 0.0286097955, -0.004363595, 0.0083289659, -0.0013267965, -0.0385117047, 0.0036308537, 0.0550020635, 0.0273910388, -0.0123580126, 0.001740956, -0.0104429396, -0.0296555944, 0.0146688437, -0.0100561148, 0.0377814732, 0.0511135794, -0.0149102034, 0.0330317505, 0.0347020403, -0.0160875227, -0.0474273786, 0.0283942875, 0.0439028814, 0.0402296111, 0.0274499413, -0.0547072776, -0.0392802507, 0.0009834417, 0.0243869666, -0.0237405486, -0.0075382646, 0.0346547216, -0.0251473226, -0.0278040003, -0.067423895, -0.003766451, -0.0698167533, 0.0845839828, -0.007678506, 0.0009075007, -0.0117933089, -0.0273184478, -0.017972203, -0.0253510848, 0.0212593488, -0.0547464937, 0.040668752, -0.0289648473, 0.0350009277, -0.046323806, -0.021505082, -0.049701266, -0.0073182592, 0.0061818645, 0.029905051, -0.0004651624, 0.0065473849, -0.0386594944, 0.0142828487, 0.0531559438, 0.0312703773, -0.061728403, -0.021169126, -0.021708874, 0.120727092, 0.0918283239, 0.0347129293, 0.0594800897, -0.0305586606, 0.0270036943, 0.0665614977, 0.0212704726, 0.0105473371, 0.035654027, -0.0275021121, -0.0080807749, -0.0398909226, 0.0158762187, -0.0306484252, 0.0288879536, -0.102169238, -0.0359784625, 0.085961476, 0.0583581291, -0.0074295681, -0.0439606719, -0.0671896264, 0.0022228421, 0.0105675478, 0.0590116158, -0.0844113976, -0.0247677118, -0.0007651855, 0.0478394404, 0.0233995095, -0.0267354324, 0.0038295898, -0.058090847, 0.0075413231, -0.0302631203, -0.0568944179, -0.0187055133, -0.0177340116, -0.0072688614, 0.0529283732, 0.0200931765, 0.0401723944, -0.0512898043, -0.0007536477, 0.0061931694, -0.0342600718, 0.051906772, 0.027187435, -0.0141873313, -0.0496925414, 0.0545274019, 0.0122752041, -0.0026839769, -0.0207984298, 0.0163890589, -0.0768824518, -0.0616368242, 0.0104981717, 0.0015097827, -0.0098710386, 0.0161908641, -0.0376663357, 0.0492492206, -0.005590382, 0.0311718248, 0.0561431348, 0.0359901339, -0.0189849157, -0.0289755128, -0.0389183126, 0.0247872435, -0.0270987619, 0.0687649474, 0.0234877411, 0.0131520191, -0.0813117474, -0.0039953529, -0.0250453576, -0.0692264736, 0.0326861702, -0.0186280385, -0.0292791892, 0.0743696615, -0.0976259112, -0.0259809978, 0.0590111502, -0.005980086, -0.0285508689, -0.0293982308, 0.0177810173, 0.0222528223, -0.0493574552, 0.0188560002, -0.0163299013, 0.0060860901, -0.0253526531, 0.007781364, 0.022190582, -0.0085563501, -0.0322229229, 0.0144555075, -0.0550540723, -0.0167391375, -0.0263531674, -0.0041524488, 0.0144372238, 0.0445901826, -0.0007218892, 0.0119835734, 0.0213143472, 0.0332988352, -0.0396604612, -0.0176275745, -0.0009393205, 0.0073364223, -0.0308778901, 0.0246349312, -0.061680194, 0.007477425, -0.0400948711, 0.0244762879, -0.0446516201, -0.0342014208, -0.0015367173, 0.0409783013, -0.0218728408, 0.0421313718, 0.0347311869, -0.0203051232, 0.0339728817, -0.0265044179, -0.0193523597, -0.0271426905, 0.0191423204, -0.0200549085, -0.0228528008, -0.0000651425, 0.0435475148, 0.0023811157, 0.0421044081, -0.0272438992, 0.0185298845, 0.0078426637, 0.0045746015, -0.0339120291, -0.0418692753, -0.0051800776, -0.0253644492, 0.0022584633, 0.0865664631, -0.0308476333, 0.0266874656, 0.0043314057, -0.01301168, -0.0353752151, 0.0188241191, -0.0835400671, -0.0332590863, -0.0311654229, -0.0022221555, 0.0138345566, -0.0494173467, -0.0020929694, 0.0182169564, -0.0164649021, 0.0099680601, -0.0237378702, 0.0217312183, 0.0265671499, 0.0289747287, 0.0299892407, -0.0051628537, 0.0115640154, 0.0356457904, -0.015247561, 0.0261966996, 0.0095145442, -0.0326698832, -0.0159928724, -0.0117001599, 0.0117105404, 0.061251197, -0.0188975222, -0.0226185042, -0.0204848796, 0.0057420717, 0.031333331, 0.0135505293, -0.0121862581, -0.0192298628, 0.0373468548, 0.0396733955, 0.0478236489, -0.0727195218, -0.0253607575, 0.0613613017, -0.0753030702, -0.0159804188, 0.0158170909, -6.043095235e-33, -0.0353315882, -0.0127412621, -0.0025179577, 0.0101681212, -0.0321433544, 0.0261811465, -0.034016341, -0.0074152951, -0.0053899186, -0.0175337978, -0.0387944281, -0.0133608468, 0.0058589759, 0.0310650337, -0.0028681613, -0.0088361371, -0.0154947555, -0.0285952315, -0.006214411, 0.0195046123, 0.0514645912, 0.0159994215, 0.0032567957, -0.0180975813, -0.0054867705, -0.0425392054, 0.004043181, 0.0377403274, 0.0271714292, 0.0332438461, -0.0307776891, -0.0432140343, 0.0480870493, 0.0051109693, -0.0061809919, 0.083717227, -0.1524719, -0.0066431854, 0.0215850584, -0.0551844835, -0.0809013546, -0.0318796784, 0.0359154157, 0.0144158881, 0.0721202567, -0.0489025041, 0.0345313288, -0.0307149813, 0.0031100605, -0.0551506616, -0.0398867354, 0.0101964185, -0.0180467349, 0.0169271659, 0.0048088343, 0.0359962583, -0.0005297327, 0.0358488746, -0.0294624567, -0.029749766, 0.0228289068, 0.057668563, -0.0052648499, 0.0080887647, -0.0076464745, 0.0301109962, -0.0005104769, -0.0207236912, -0.0214254949, 0.0276216585, 0.0025794434, 0.0154446447, 0.0485870913, 0.0243946295, 0.0571434051, 0.0659157783, -0.0736761242, 0.0859154016, 0.0070279976, 0.0276985355, -0.0205147918, -0.0204526708, -0.014448951, 0.0051265419, -0.0205145534, 0.053877078, -0.0297945645, 0.0062524453, 0.0109940981, 0.0017416051, -0.0399352759, -0.0276434757, 0.0341984555, -0.0245344136, 0.0289009977, -0.0099386666, 0.015695205, -0.0000291877, -0.0010244126, 0.027189685, -0.0185439084, 0.0046350462, 0.0282083228, -0.0393293723, -0.0135255223, 0.0262070838, 0.0325503051, -0.0660504475, -0.0676707402, 0.004054748, -0.006928877, 0.0545841344, -0.0551569462, 0.0040920773, -0.0108712045, 0.0277384948, 0.0276909731, 0.0471408851, -0.016691817, 0.0327432938, -0.0701655746, -0.0403173305, -0.0216566157, 0.0167695992, 0.0027081531, 0.0287431069, -0.0407333188, 0.0416847765, 0.0055781724, -0.0530508831, 0.0168075319, 0.0157252997, 2.355e-7, 0.062942937, 0.0404667594, 0.0753729567, 0.0459489934, 0.0280707609, -0.0010983257, 0.0168711971, 0.0224227477, 0.0467081293, -0.009764092, 0.0131808007, 0.0141310431, 0.0455583818, 0.0631884709, -0.0957888812, -0.0110819098, -0.0759575069, -0.0664089769, -0.0504696779, -0.0269064456, 0.0404510871, 0.0306812674, -0.0216693096, -0.0156597365, -0.043080885, -0.0437841453, 0.0252338983, 0.030602036, 0.0071371216, 0.0220706854, 0.0278521758, -0.0440660529, 0.0073458846, -0.0162421502, 0.0080239931, 0.0698334724, 0.0213930849, 0.0473655127, 0.0083821369, -0.0166276172, -0.0187822804, -0.0340275839, 0.0443028025, -0.0457504876, 0.1169157252, -0.021689279, 0.0272006169, -0.0596430972, -0.0652117431, -0.0194027498, -0.0385567844, 0.0214608498, 0.0060911765, 0.0691435635, -0.0011044104, -0.0393765755, 0.0344737135, -0.0724674016, -0.0121184327, 0.0501390845, -0.012068822, -0.0174167547, -0.0271399971, 0.0060897577, 0.0052264598, -0.0462967455, 0.0125750601, 1.857339734e-34, 0.0350043885, 0.0002332918, -0.0239248555, -0.008829399, 0.038021639, -0.02870165, 0.0152166532, -0.0039938674, 0.025075173, -0.112095952, 0.0165861957 ]
http://arxiv.org/abs/2310.06434v2
http://arxiv.org/pdf/2310.06434v2
Whispering LLaMA: A Cross-Modal Generative Error Correction Framework for Speech Recognition
2023-10-10T09:04:33
2023-10-16T21:32:56
Srijith Radhakrishnan, Chao-Han Huck Yang, Sumeer Ahmad Khan, Rohit Kumar, Narsis A. Kiani, David Gomez-Cabrero, Jesper N. Tegner
cs.CL
cs.CL, cs.AI, cs.MM, cs.SD, eess.AS
We introduce a new cross-modal fusion technique designed for generative error correction in automatic speech recognition (ASR). Our methodology leverages both acoustic information and external linguistic representations to generate accurate speech transcription contexts. This marks a step towards a fresh paradigm in generative error correction within the realm of n-best hypotheses. Unlike the existing ranking-based rescoring methods, our approach adeptly uses distinct initialization techniques and parameter-efficient algorithms to boost ASR performance derived from pre-trained speech and text models. Through evaluation across diverse ASR datasets, we evaluate the stability and reproducibility of our fusion technique, demonstrating its improved word error rate relative (WERR) performance in comparison to n-best hypotheses by relatively 37.66%. To encourage future research, we have made our code and pre-trained models open source at https://github.com/Srijith-rkr/Whispering-LLaMA.
[ -0.0313249901, 0.0812030882, 0.0274579879, 0.0004118952, 0.011160925, -0.0074262721, -0.0162919704, -0.0151552083, -0.0064677508, -0.0492006168, -0.0696528703, -0.0185455773, 0.0809510201, -0.0205507297, 0.0527496524, -0.0053051226, 0.0132424766, -0.066268228, -0.004004728, -0.0303757302, -0.001352553, 0.0059584333, -0.0506100319, 0.0484797955, -0.0212545749, 0.0321681537, 0.0163179915, 0.0295987986, 0.0299086533, -0.0213892274, -0.003852081, 0.0029494201, 0.0092113782, 0.0546561666, 0.0000021634, -0.0205343328, -0.0165312588, 0.0162723884, 0.0036203938, -0.0012559448, 0.0195489954, 0.0100019444, -0.0586562976, 0.0930544883, 0.0100850863, -0.0362013355, 0.0471869297, 0.0378941819, 0.0035480058, 0.0494719185, -0.0089540295, -0.0341046676, 0.0375654139, -0.0258053411, 0.0031768798, -0.0048244419, -0.0050296765, 0.0021848145, -0.0241504218, -0.0175536983, -0.0263891071, 0.0231312457, -0.0121495435, -0.0290102791, -0.0104427477, 0.0407554135, 0.0257284846, -0.0029405202, -0.0502325594, 0.0526987948, 0.0276835207, -0.0298154484, 0.0055458564, 0.0015624119, -0.0182007141, -0.0202235822, 0.0014830451, 0.0234581716, -0.0046216054, 0.004929781, 0.0281112306, 0.0119586932, 0.0254168883, -0.0311579499, -0.0085861338, -0.0196950249, 0.0326739289, -0.0342829116, -0.0267921314, -0.0096543906, 0.0274489056, -0.0411684364, 0.02075563, -0.0068349936, -0.0203832015, -0.0203121826, -0.0516261756, -0.032257095, 0.0190361757, 0.0076785465, 0.0219933502, 0.0570770241, -0.061870683, -0.0012652104, -0.0222992878, 0.0534532145, 0.0028795691, 0.0342780128, -0.0207870975, -0.0062625967, -0.0113512231, 0.028689716, 0.0143372957, -0.0229518022, -0.0410482921, -0.0096979924, -0.1034569219, 0.0010100242, 0.0151053853, 0.0123354839, 0.0349066928, -0.0120619591, -0.0593972243, -0.0296948887, 0.0027331191, -0.0066950275, 0.0394658968, 0.0950899646, 0.0151634514, -0.073996, -0.0100518307, 0.0071773464, 0.0363347232, 0.0248590373, 0.0128694689, 0.068684876, -0.0281732231, -0.0292806849, -0.0079964884, -0.0056220554, -0.0300722364, -0.0392005816, -0.0260142144, -0.0591465011, 0.0357198194, -0.0105656022, 0.0215526018, -0.0365263484, 0.0166300368, -0.0314051248, 0.0182957184, 0.0890021324, -0.0237598363, 0.0087748356, 0.0410335995, -0.0101580909, 0.0265897606, 0.027899269, 0.0505103767, -0.0578020327, -0.0160247982, -0.0048205634, 0.011568361, 0.0275010839, -0.0026392036, -0.0116964784, -0.0185909905, -0.0372198634, 0.0187228322, 0.0068400721, 0.058279369, 0.0624216497, -0.0377455577, 0.0178032499, 0.0306756869, 0.0224764757, 0.0499587059, 0.0179134086, 0.0146773094, -0.0315459967, -0.0086577758, -0.0207465403, -0.0175930411, -0.0005831362, -0.0254053604, 0.0120091764, 0.1227231175, 0.0587000027, -0.0084089031, -0.041135639, 0.0003074411, -0.047369726, -0.0252632219, 0.029707415, 0.0356318019, -0.0107234325, -0.0664649978, 0.0064493036, 0.0024553426, -0.097196728, -0.0028519938, -0.0396859683, 0.0172369853, 0.0601319931, 0.0329863243, -0.0161898881, -0.0197198149, -0.01380427, -0.0797715858, 0.0142986989, -0.0148667684, 0.0167812575, 0.0557553843, -0.0817151293, -0.0249458682, 0.0471750945, -0.0049599549, 0.049082607, -0.0346931256, 0.0211743768, 0.0315851755, -0.0279498026, 0.0269996393, 0.0107366499, -0.0220030118, -0.028389059, 0.0257196929, -0.0110318754, 0.0616673827, 0.0131538184, -0.0575402528, 0.0240118075, 0.0321256965, -0.0303905699, -0.0176857952, 0.0353720225, -0.0614537373, -0.0547228456, 0.0619211681, -0.0455367863, 0.0271246918, 0.0037149461, -0.0056281965, -0.0882397667, 0.010860729, -0.0401688255, 0.0554901771, -0.0900565088, 0.035139855, 0.0531841666, 0.016345555, 0.025764985, 0.0081651937, -0.0235376656, 0.0038353282, 0.0173435844, 0.0087908022, -0.0223691985, -0.0695588291, 0.0181267243, 0.0121499803, -0.0130355144, 0.0491438434, -0.0123869451, 0.0202934388, -0.014110784, -0.0432458557, -0.1213123724, -0.0037117666, -0.0192094482, 0.0168823227, 0.0010057777, 0.027924113, -0.0293952785, -0.0341216959, -0.0115393791, -0.0175323598, 0.0278441012, -0.0122194914, -0.0271376781, -0.0187257379, -0.0333653204, -0.029046135, 0.0291784797, -0.0000843607, -0.0031544091, -0.0223813653, -0.0004161694, -0.0856836215, 0.0482157283, -0.0184899196, 0.0377379805, 0.0042841346, -0.0469285287, -0.0128743099, 0.009373554, 0.0743726566, -0.0055243154, -0.0090016173, -0.0268822219, 0.0222006366, -0.0489790179, -0.0596482866, -0.0040819058, 0.0365142636, -0.0063028601, 0.0149044376, 0.0017548066, -0.0613807626, 0.0527309701, 0.035451673, 0.0285083, -0.0184619408, -0.0203011613, 0.0088779014, -0.0433104336, -0.001731971, -0.0238279961, -0.0143735707, 0.0427836366, -0.015768772, -0.0204894356, 0.028733436, -0.0988248438, -0.0080023063, -0.0195199121, -0.0289130434, -0.0205849577, -0.0580997504, -0.0385341495, -0.0037580717, -0.0001455669, -0.0513213873, -0.0104443878, -0.0178762767, 0.0323200859, -0.0760422051, 0.0394358858, -0.024402637, 0.0259308815, -0.0320611969, -0.0293267276, -0.0150867738, -0.0436892621, 0.004514555, -0.0008261962, -0.0050873701, -0.027664572, -0.0078315632, -0.0056020007, 0.0269548986, 0.0522635318, 0.0066310097, -0.0108504724, -0.0209806655, 0.0703913867, -0.0375777297, 0.043855764, 0.0108110495, 0.0015198181, 0.022694122, 0.0120306443, 0.0862480849, 0.0402227566, -0.0271726213, -0.0093579646, 0.0585479774, 0.0320595503, -0.0100390166, 0.0381905213, 0.0704945996, -0.0225133393, 0.0074681146, 0.0853235349, -0.0164594892, -0.0248619672, -0.0493898988, -0.0066322088, -0.0047244485, 0.0086681535, 0.0140122315, -0.0430421643, -0.0186405629, 0.0733472332, 0.0645586625, -0.0089419996, 0.0192711707, 0.0059074638, -0.1204818934, 0.0729011595, 0.0413251407, -0.0096969903, -0.0254992172, -0.0492156968, 0.0069483249, -0.0064341421, 0.0265709776, 0.0184148811, -0.0100958748, -0.0430198461, 0.0578806289, 0.0018041197, -0.094053261, -0.0198941249, -0.0158799998, 0.0653088689, 0.0581047796, 0.0323560424, -0.0023139666, -0.0924705118, 0.0126807364, -0.0134076551, -0.0116825392, -0.0021747435, -0.0158936754, 0.0106843468, -0.0075440169, 0.0294100959, 0.048349034, 0.0006401773, -0.0081545673, -0.0091586607, 0.0287744552, -0.0187377278, 0.069841817, 0.0212580375, 0.0251822807, 0.0215694178, 0.0111337053, 0.0140861711, 0.0034198256, 0.000098579, -0.0212579872, 0.0666566193, 0.0003728655, 0.0068621719, 0.0219334438, 0.0068865423, -0.0652573779, -0.0201752055, -0.0310929753, -0.0120887589, 0.0310809631, 0.0348327197, -0.0244199038, -0.0572617166, 0.0117586982, -0.0245455746, -0.0283241402, -0.0126020564, 0.0324513055, -0.0586434491, 0.044129014, 0.0552664921, -0.0340903476, -0.0188394282, 0.0059271483, -0.0171932112, -0.0695651546, 0.010805795, 0.0262043606, 0.0055025602, 0.0345366895, -0.0031739746, -0.0303065889, 0.0725797415, 0.0845432207, -0.037760064, 0.0430337302, 0.0371629298, -0.0023752609, -0.0044123805, -0.0017694926, -0.0738567486, 0.0168127865, -0.0302785784, 0.0103269182, -0.0205458775, -0.0559247024, 0.019072488, 0.012745644, 0.0627705157, -0.0454100072, 0.0274776779, -0.0660313591, 0.0342649184, -0.0317300819, 0.0404521413, -0.0134804603, 0.0179410055, 0.0320237428, -0.0063491724, 0.0003187671, 0.0538328141, -0.0340910628, -0.0110288188, -0.0296510216, 0.0593635589, 0.0490703322, 0.0500164181, -0.0404884107, -0.0125998063, -0.0183925256, 0.0208929833, 0.0530358851, 0.0185095891, -0.0318859443, 0.0161866974, -0.0354570299, -0.004746364, -0.0193392541, 0.0271955635, -0.0390503183, -0.0252902042, -0.027367942, 0.0473154709, 0.085865587, 0.0406297147, 0.0726765096, 0.0176739097, 0.0343495458, -0.0338218734, 0.0417078845, -0.0202576611, 0.0151918018, 0.0145119876, -0.0094617074, 0.0017665885, 0.0156087177, 0.0555696152, -0.0248737894, 0.0232675597, -0.0430374518, 0.0145150078, -0.0463821851, -0.0373521186, 0.0166035555, -0.0220190082, -0.0247322675, -0.0442234538, 0.0080249896, -0.0631325245, 0.0586629771, 0.0526313782, 0.0192936324, -0.0051954659, -0.0148707312, 0.0057044034, -0.0284543391, 0.0526695848, -0.0180138238, -0.0632573068, 0.0055575846, -0.0068675815, 0.034962289, -6.546735789e-33, -0.0544527657, 0.0043740557, -0.0034091193, -0.0439244546, -0.0397106595, 0.0206961799, -0.0020779828, 0.004753035, 0.0639124289, -0.0292101819, -0.0389738418, 0.0189513564, 0.0381475277, -0.0185442958, 0.0073907031, 0.038165383, 0.0909002945, 0.0038752947, -0.0041923178, -0.0173557717, 0.0575079769, 0.0545435399, 0.0161451567, -0.0920583233, 0.0006898945, 0.0414467305, -0.0639448985, -0.0233613066, 0.0090416418, 0.0496087857, -0.0029862621, 0.0153416814, -0.0379001796, -0.0041098292, -0.0162862036, 0.0200094786, -0.0823498741, -0.0096149221, -0.0196542814, 0.0144170979, -0.012839105, -0.0329503939, 0.0513085015, 0.0150063736, -0.0682892948, -0.0237803422, -0.0028054805, -0.0366410129, -0.0176032837, -0.0520095155, 0.0010309131, 0.0225804709, -0.0292778518, -0.0415617637, 0.0418404453, 0.0196579434, 0.0214740634, -0.0176315717, -0.0709268451, 0.0522148758, -0.0051541519, 0.0195762571, 0.0469004326, 0.035065569, -0.0297779571, 0.0365673192, 0.0250391401, -0.0781806782, 0.0066626747, -0.073764123, 0.0020972155, 0.012819224, -0.0293291025, 0.096498698, 0.020853499, -0.0494352989, -0.0631595999, 0.0627133995, -0.0020295826, 0.011324184, 0.0133360643, 0.0458560139, -0.0247931033, 0.0073831384, -0.0628768504, -0.0373531729, -0.0270403102, 0.017021127, 0.0297688339, 0.0447976775, -0.0241176132, -0.0421825461, 0.0302072614, -0.0177679565, 0.0242876429, 0.0025272975, -0.0051836777, -0.0055277376, -0.0238158684, -0.0079901749, -0.0145401843, -0.029477803, 0.0540702231, 0.03761971, 0.0245177709, -0.0653205886, -0.0171976592, 0.0577117912, -0.0892003402, 0.0235600807, 0.001179648, 0.0400554761, 0.0006104246, -0.0166529063, 0.0448173247, -0.0107477978, 0.0091005983, 0.0094819758, 0.0029571273, 0.0742490739, 0.0009085003, -0.0191528667, 0.0060143746, 0.0400122181, -0.0194207579, 0.0243424308, 0.0207969602, -0.0518051423, 0.0142539013, 0.0091960616, -0.0260497853, 0.0147942835, 2.948e-7, -0.0428953432, 0.0153328031, 0.0413298421, -0.0279339328, 0.0139491512, 0.0285172444, -0.01229461, 0.0171060469, 0.0099981287, 0.0246603172, 0.0301454514, -0.0209777877, 0.0684672445, 0.0454277471, -0.0490669757, -0.0245505497, -0.0367956124, 0.0361691117, 0.0285315756, -0.0246359296, 0.0369948633, 0.0603717193, -0.0498276763, -0.0237264689, -0.015645951, -0.0043669767, 0.0724832416, -0.0077149859, -0.0395269431, -0.0205365457, 0.0235008802, 0.034008339, 0.0017477461, -0.0257693958, -0.0209493265, 0.0282189623, 0.0199805349, 0.0130095733, -0.000710345, -0.0766003206, 0.006364563, 0.0903369188, -0.0134323314, 0.0064187972, 0.0031108116, 0.010612932, 0.0077121947, -0.0398995541, -0.0601153113, 0.0159041677, 0.0524949655, -0.033327885, 0.0044482797, 0.0096582919, 0.0064721415, 0.0197612848, -0.0421916209, -0.0410131924, 0.0054524723, 0.0110302661, -0.0425416678, -0.0160806831, 0.0196847506, 0.0185691603, 0.0407479182, -0.0391424559, -0.0064569856, 2.298369258e-34, 0.0286110006, -0.0334202722, 0.0341546386, -0.0017661599, 0.0119374692, -0.021462135, 0.0014772189, -0.0026756325, -0.0051496979, -0.0440000892, -0.0392096862 ]
http://arxiv.org/abs/2310.06433v1
http://arxiv.org/pdf/2310.06433v1
Retromorphic Testing: A New Approach to the Test Oracle Problem
2023-10-10T09:03:01
2023-10-10T09:03:01
Boxi Yu, Qiuyang Mang, Qingshuo Guo, Pinjia He
cs.SE
cs.SE, cs.AI, cs.CL, cs.CV, D.3.0; I.2.7; I.4.0
A test oracle serves as a criterion or mechanism to assess the correspondence between software output and the anticipated behavior for a given input set. In automated testing, black-box techniques, known for their non-intrusive nature in test oracle construction, are widely used, including notable methodologies like differential testing and metamorphic testing. Inspired by the mathematical concept of inverse function, we present Retromorphic Testing, a novel black-box testing methodology. It leverages an auxiliary program in conjunction with the program under test, which establishes a dual-program structure consisting of a forward program and a backward program. The input data is first processed by the forward program and then its program output is reversed to its original input format using the backward program. In particular, the auxiliary program can operate as either the forward or backward program, leading to different testing modes. The process concludes by examining the relationship between the initial input and the transformed output within the input domain. For example, to test the implementation of the sine function $\sin(x)$, we can employ its inverse function, $\arcsin(x)$, and validate the equation $x = \sin(\arcsin(x)+2k\pi), \forall k \in \mathbb{Z}$. In addition to the high-level concept of Retromorphic Testing, this paper presents its three testing modes with illustrative use cases across diverse programs, including algorithms, traditional software, and AI applications.
[ -0.0574473776, 0.0410051011, -0.0663517416, 0.0154789248, -0.0584416911, -0.0576051027, -0.0369357094, 0.0600329414, 0.0406786911, 0.016087357, 0.0318702608, 0.0378150232, 0.0144858314, 0.0226194728, 0.0151549047, 0.0139825493, 0.0455096588, -0.0341358855, -0.0829143822, 0.0227877721, -0.0779816061, -0.0523619987, 0.0195788965, -0.0299975108, 0.0070499978, -0.0169546157, -0.0223121215, 0.0099163391, 0.0200211126, -0.0098714251, -0.0209701285, -0.0248694643, -0.0234660618, 0.0340827256, 0.0000022503, -0.0010933267, -0.0080614751, 0.0377685055, -0.0203092899, 0.0155906575, -0.0356103741, 0.0370535851, -0.0113811847, -0.0029342729, -0.0119720129, 0.0196123943, -0.0093636755, -0.0299324133, 0.0857283399, 0.04655274, 0.0095398687, 0.01910487, 0.0578255542, 0.0328791775, 0.02206886, 0.0198603012, -0.0055738832, 0.0035671371, 0.0785548687, 0.0083655249, 0.0202610679, -0.0002252978, 0.0721393675, 0.017588539, -0.0385912508, 0.000385426, 0.0628243461, 0.0341219455, -0.0323585346, -0.013365183, 0.0039862785, -0.0949743465, -0.006973865, 0.014304705, -0.0152181834, 0.0183328427, 0.0595291816, -0.0388937183, -0.0177901872, -0.0375441611, -0.0009447928, 0.022871621, 0.0266034752, -0.0503978655, -0.0135180093, 0.0473166257, 0.0109510561, -0.083484523, -0.0088695632, 0.0129351094, 0.0370210856, -0.0079476312, 0.027933199, -0.0057547367, -0.0194032416, -0.0211543329, -0.0136776874, -0.0477587953, 0.0181123093, 0.0090637524, 0.0333642513, 0.0110660009, -0.0255519208, -0.0180520415, -0.0479337573, 0.0711824223, -0.0377424508, 0.0102155078, -0.016192928, 0.0601836033, 0.017244827, 0.0084664412, -0.0319502801, 0.0243214983, 0.0416392684, 0.0411987454, 0.0207482204, -0.0066380268, -0.0809260607, 0.0649944693, -0.0527979322, -0.0016022807, 0.0464148857, 0.0116574056, 0.0225308165, -0.0703014731, -0.0200316012, -0.0315489843, -0.0263907257, 0.0190214049, 0.0130537171, 0.0262015089, -0.0727428347, -0.0155778313, 0.0070640733, 0.0912088677, -0.0083829956, 0.0745209605, -0.0407121703, -0.0240537021, 0.06148348, -0.0372366048, 0.0863575786, -0.0203232821, -0.0085394811, -0.0179860555, -0.0103585497, 0.0248664934, -0.0023356585, -0.0019042873, 0.0585635602, 0.0704329386, 0.0552142523, 0.0306151602, 0.0362708978, 0.0444714017, 0.0095633175, 0.0232269391, -0.0108898999, -0.0491097607, -0.0023121703, -0.0541422628, 0.0331916846, -0.0004029182, 0.0628019199, 0.0294188373, -0.0700891018, 0.0277423859, -0.0263137631, 0.0043967329, -0.0990125015, 0.0440845266, 0.0094027873, -0.0218985807, -0.0327346735, -0.0310353003, -0.0256915949, 0.0286979992, 0.0433721356, -0.0352756642, -0.0095784413, 0.0453992896, -0.0324231051, 0.0410760008, -0.0603938475, -0.0069991392, -0.0398017615, -0.0400261246, 0.0166929141, -0.0448632464, 0.0058073238, 0.0218468048, -0.0201824382, -0.0267299637, 0.0306999516, 0.0406675525, -0.0249003023, 0.0008557664, -0.0262487978, -0.0340018868, -0.0659588501, -0.1017929986, 0.0351247303, -0.019503396, 0.0287353862, -0.0823941901, 0.0448672622, 0.0315535292, -0.0498160459, -0.0021432242, 0.0020912192, 0.0010892976, -0.0385258682, 0.0096075656, -0.0177006014, 0.0758659467, 0.0288366694, 0.0532634817, 0.0174239911, -0.0270663127, 0.0381014273, -0.0123954471, -0.0225965884, -0.0127693843, -0.0468692519, -0.0734777451, 0.0373614989, 0.0458870195, -0.0072624017, 0.0189886428, -0.0096063977, 0.0014877978, 0.0597487465, 0.007252234, -0.0391922258, -0.0160769746, -0.0383238345, 0.0332023911, -0.0177153721, -0.1096264794, -0.0296718609, 0.0533026271, -0.0158434398, -0.0343520045, 0.0737039596, -0.0151456613, 0.0187462065, 0.039344769, 0.0097147748, -0.0329540186, -0.0291199721, -0.0064258282, -0.0000806725, 0.034110941, 0.0229669381, 0.0295327809, -0.0130040841, 0.0123706581, 0.03532096, -0.0760811865, -0.0211022999, -0.0477074943, 0.0496987216, -0.0315036811, 0.0469688438, 0.0016347372, 0.025327161, 0.0062095672, 0.0073263417, -0.0295977406, 0.0517493226, -0.0051842094, -0.0290031657, 0.0524478741, -0.0267780777, -0.0179795735, 0.0236350764, -0.022017872, -0.0216915552, 0.0216552485, -0.0024832753, 0.0065886746, -0.0235084128, -0.0172502585, -0.0567289181, 0.0678571686, -0.0286797024, 0.082379736, -0.0341978446, 0.0320942365, 0.0791910589, 0.0085460525, -0.0144290077, -0.0175310913, 0.0247099921, 0.0011299896, -0.0627291277, 0.0594005324, 0.0015008983, -0.016419448, -0.0682737529, 0.0496374182, -0.0191587303, -0.0096665062, 0.0646527261, -0.0079267276, 0.0666331723, -0.055938188, -0.0045898068, -0.0002168278, -0.019475745, 0.0142564382, -0.0285779294, -0.0038418365, 0.0017781566, 0.045187518, -0.0078399088, -0.0327300169, -0.0266717356, -0.0486216024, -0.0290338863, -0.0164011568, 0.0261934884, -0.0124448575, 0.0442082956, 0.0032036763, 0.003963267, 0.0167110991, 0.0142593672, -0.0054786783, -0.0249220952, 0.0461851172, 0.0242132712, 0.017505737, 0.0053305188, -0.0159491729, -0.0459280722, 0.0530067012, -0.0070176739, -0.0053642276, 0.0325125605, -0.0433644541, -0.044396475, 0.008862731, 0.0881497115, 0.0186479241, -0.0623599552, 0.0116595086, 0.0308617931, 0.0310818814, -0.0409189723, 0.0118197557, 0.0344782732, -0.027132364, -0.0206538253, -0.0812277049, -0.0597333945, -0.045237083, -0.0105832368, 0.0037351202, 0.0029398608, -0.0485545173, 0.0477551222, -0.0060157338, -0.083438769, -0.0244722646, -0.0342745446, -0.0310953707, 0.0089309951, -0.0204241909, -0.04087184, -0.0075504538, -0.0418435261, -0.0524400622, 0.012742565, -0.0188471749, 0.0197568499, 0.0008334692, -0.0310001522, 0.0198441893, 0.0560536645, -0.0739591271, 0.0215676297, -0.0159556773, 0.0263447519, -0.0511307344, 0.0166719388, 0.0192309991, -0.1032726914, -0.015215857, 0.0040917136, -0.0213213358, -0.0469696708, -0.0007794453, 0.0023081547, -0.0264534969, 0.0097913751, 0.0549120121, 0.0083598839, -0.0240710359, -0.0171631854, -0.0233976953, 0.0524820201, 0.0429345109, 0.0192220882, -0.0587249845, 0.0310312137, 0.030491285, -0.0228961501, 0.0091213267, 0.0134231169, -0.0434244536, 0.0324137993, -0.0081430683, 0.0191790257, 0.054837957, -0.0025128375, 0.0635724515, -0.0266428124, -0.0431426503, 0.0362558477, 0.0456241965, 0.0788936764, -0.023931656, -0.0053619612, -0.0019668976, -0.0184158124, 0.0792791322, 0.0057215728, -0.0160499886, -0.0113402279, -0.0494404882, -0.0577747859, 0.0204743035, -0.062959373, -0.0471819118, -0.0231154896, -0.0122870924, 0.0011154591, -0.0127469543, 0.0268521514, -0.0535627753, 0.0407456011, 0.0306169223, -0.115335539, -0.0141396187, -0.0366968326, -0.0530695431, -0.0254812166, 0.0182511974, 0.060055282, -0.0189857353, -0.013673747, -0.0013323985, -0.0394549109, -0.0324619487, 0.0078180721, -0.0563902371, -0.0093315281, 0.0327317975, 0.0673872009, 0.0162140504, -0.0204065181, -0.0553732589, 0.0584551021, 0.0411474705, 0.0012048668, -0.0265000705, 0.0060785427, 0.0296952091, -0.0645987988, -0.0129438573, -0.0072134114, -0.0189087801, 0.0112370905, 0.0021201549, -0.0464481264, 0.0210639592, 0.0056688092, -0.0098910788, 0.0782749653, 0.0390816368, 0.0498815812, -0.0663590357, 0.0391658731, 0.0488331355, -0.0109246466, -0.022696292, 0.0146383131, 0.0500642359, -0.0205548853, 0.0038488272, 0.0042807795, -0.0643811896, 0.0088082487, -0.0127134398, -0.0161855593, 0.0606205724, 0.0495248549, 0.0855810419, 0.0008754593, 0.0053418539, 0.0191983692, 0.008336707, 0.0342206582, 0.0697361156, -0.0221175328, 0.018425107, 0.0048084836, 0.0578990094, -0.0435039662, -0.0118155638, -0.0238830987, 0.0017718896, 0.0126129538, 0.0108119445, -0.0098713664, 0.0290712602, -0.0242945626, -0.0136684421, 0.0272326078, -0.0078391889, -0.0382931456, -0.0211780742, 0.0189322997, -0.0269338805, 0.0159910191, 0.0478522368, -0.0183052756, -0.0000140279, -0.0248498153, 0.0187584385, -0.0404303335, 0.0768695325, -0.0422226042, 0.0042251605, 0.0087515917, -0.042258773, 0.0220365655, -0.0572586022, -0.0236879829, -0.0454344042, -0.0197286382, 0.0605078824, 0.035375841, 0.0041108909, 0.0251133516, 0.0347327888, 0.0403711163, 0.0335647985, 0.0053288047, -0.0043938225, -0.018762337, -0.0092154862, -0.0587549545, -6.080572933e-33, -0.0333522558, -0.0272874981, 0.0185239166, -0.0295797046, 0.0220072512, -0.0103311939, -0.0370319709, -0.0131796822, 0.010097879, -0.0301904846, 0.0045276824, 0.0172028355, 0.0243858155, -0.0153780682, 0.0048296792, -0.0035422803, 0.0387733579, -0.0314287059, -0.0544044748, -0.0266875736, 0.008726065, -0.0392123722, 0.0155815706, -0.0343398638, -0.0071105105, 0.0187832378, -0.0320969857, -0.0035687985, -0.1078457013, 0.0445029587, 0.0324095972, 0.0066889166, -0.0157349166, -0.0214655362, 0.0138080874, 0.0120983012, -0.0158129111, -0.050789576, 0.0012423106, 0.0218397435, 0.00614422, -0.0108787166, 0.0523376428, -0.0043686312, -0.0074911523, 0.0111663211, -0.0253910366, 0.0187902264, 0.0579367056, 0.012120882, -0.0478332639, 0.0328580663, -0.0219707191, -0.0192216691, 0.0047155838, 0.0677250326, -0.0530331619, -0.076516673, 0.0217084996, 0.0380689502, 0.0471383147, -0.0347464643, 0.0003239866, -0.0004142975, 0.0042259614, -0.0363546237, 0.0334670171, 0.0221817382, 0.04891764, -0.0186624452, 0.01746016, 0.0231186673, 0.0432653315, 0.0361739509, 0.0836014375, -0.0633230582, 0.037562944, 0.0417183936, -0.019654626, -0.0541556701, -0.0115143983, -0.0211568158, -0.0869509429, -0.0079069175, 0.0047839535, -0.0195622146, -0.0253593698, -0.0231318343, 0.0012589151, 0.025361469, -0.0207785089, 0.0231781974, -0.0035144365, -0.0702401996, 0.0679898188, -0.0001182076, -0.0356165841, -0.0191435665, 0.0007051294, 0.023935318, 0.0235339683, -0.0591288581, 0.0419304222, 0.0269148983, 0.0768067688, 0.0043892823, 0.0040713642, 0.0059488239, -0.0441322252, 0.0153834382, 0.0180914756, -0.0169685483, 0.0094411541, -0.0155890314, 0.0124567226, 0.0455452166, 0.0301404539, 0.0202332139, 0.0050422703, -0.0749898553, -0.0632303506, 0.0344333164, 0.0126907108, 0.0278317034, 0.0041726199, -0.001552958, 0.013103513, -0.0168214757, -0.0309451353, -0.0458639786, -0.0070548085, 0.0385268331, 3.13e-7, -0.0044388627, 0.0031779248, 0.0337918922, 0.0384013467, 0.0077418508, 0.013896537, -0.0131448777, 0.0186562184, -0.0375065058, -0.0048063197, 0.0166330524, -0.0284806062, 0.0377780721, 0.0218198113, 0.0376536697, -0.0192347951, -0.0334130935, 0.0012768554, -0.0105318427, 0.0173317995, 0.0601464584, -0.0273031518, -0.0322163068, 0.009892758, 0.0165584255, -0.0278620422, -0.006583239, 0.0291776434, 0.009297221, -0.0022803273, -0.0954652727, 0.0039975876, 0.0267214905, 0.0410044864, -0.0534043908, 0.0069619617, 0.0021817454, 0.0489990078, 0.0149356835, -0.0279512573, -0.0158911049, -0.0144718029, 0.0203137752, 0.0184260327, 0.0231451318, 0.0483928807, 0.0223960131, -0.0427708291, -0.0487188585, -0.0240882207, -0.0065536094, -0.0232863035, 0.016906729, 0.0105234478, -0.0104346806, 0.0556981899, 0.0114757465, 0.013553421, -0.0253935922, 0.0823945627, -0.0241546277, 0.0073809624, -0.0171952769, -0.0140376659, 0.013445342, -0.0210351497, 0.0194600075, 3.20928233e-34, 0.008407142, -0.0091927657, -0.0023374667, -0.0244328696, 0.0183675345, 0.0017898649, -0.0107245985, 0.0062147831, 0.0256786831, 0.0772407949, 0.0043761926 ]
http://arxiv.org/abs/2310.06422v2
http://arxiv.org/pdf/2310.06422v2
Large Language Models for Propaganda Detection
2023-10-10T08:46:10
2023-11-27T10:18:36
Kilian Sprenkamp, Daniel Gordon Jones, Liudmila Zavolokina
cs.CL
cs.CL, cs.AI
The prevalence of propaganda in our digital society poses a challenge to societal harmony and the dissemination of truth. Detecting propaganda through NLP in text is challenging due to subtle manipulation techniques and contextual dependencies. To address this issue, we investigate the effectiveness of modern Large Language Models (LLMs) such as GPT-3 and GPT-4 for propaganda detection. We conduct experiments using the SemEval-2020 task 11 dataset, which features news articles labeled with 14 propaganda techniques as a multi-label classification problem. Five variations of GPT-3 and GPT-4 are employed, incorporating various prompt engineering and fine-tuning strategies across the different models. We evaluate the models' performance by assessing metrics such as $F1$ score, $Precision$, and $Recall$, comparing the results with the current state-of-the-art approach using RoBERTa. Our findings demonstrate that GPT-4 achieves comparable results to the current state-of-the-art. Further, this study analyzes the potential and challenges of LLMs in complex tasks like propaganda detection.
[ 0.0720874444, 0.0357975028, -0.0083126156, 0.0139513975, -0.0477078222, 0.0128053278, 0.0249926876, 0.0026568549, 0.0216736812, -0.0634397566, -0.020748321, -0.0221065693, 0.0148427803, -0.0245101471, -0.0060415058, -0.0405324437, 0.044427596, 0.0276155435, 0.0435691774, -0.0274794027, 0.0224982742, 0.0455719195, 0.017924998, 0.0232663658, -0.0518656075, -0.0488730893, 0.0510868616, 0.0059489096, 0.0492400974, -0.0182185955, 0.0258324016, 0.0528788529, 0.0428796858, 0.0728667676, 0.0000017565, -0.0273090452, -0.0168478172, -0.0097390944, -0.0002732871, 0.0476900153, 0.1053086072, -0.0402759463, -0.0150822913, 0.0360566825, -0.0199221559, 0.0111603392, 0.0213433541, 0.0638624728, 0.0761406422, 0.0899359211, -0.0122198183, -0.0386340208, 0.0075610857, -0.0096076261, -0.0216025002, -0.0276503004, 0.0649155527, -0.0280123185, -0.029842956, 0.0396304652, 0.0071888184, 0.0362566002, 0.0094694365, 0.0060018166, -0.0650218576, -0.0086662574, 0.0196246337, -0.0300522707, -0.0023730947, 0.0289635006, -0.028996164, -0.0354526602, 0.0079227993, -0.0098845754, 0.0043302099, -0.0057571186, -0.0211012159, 0.0236060936, -0.019471772, 0.0289282575, 0.0453187004, -0.0343903191, 0.0434688218, 0.0436349027, 0.0258002039, 0.0198058933, -0.0007751454, -0.0383182317, 0.0503441691, -0.028007362, -0.0525858626, -0.0186917409, 0.0154573517, 0.0054664384, -0.0213849675, 0.0150584253, -0.0464589484, -0.0600477904, 0.0331949964, -0.0821881741, -0.0201782826, 0.0076730349, 0.0016411776, 0.0385539345, -0.006406127, 0.0469897762, -0.0229548886, 0.0276027098, -0.0000865254, 0.0054172198, -0.0339039341, 0.0032493891, -0.0350951627, 0.0191885438, 0.0128186764, -0.0078330496, -0.0725624561, -0.0124416659, -0.0443359278, 0.025049597, -0.0071823942, 0.0017058151, 0.0007489911, -0.0054358663, 0.0002338797, 0.052257508, -0.0158134643, 0.0161488634, -0.0382898413, -0.0292766932, 0.0033430757, 0.0504617877, -0.0461729094, -0.0397642665, 0.0303814113, 0.0031891617, 0.0227518845, -0.0247512013, -0.0227715746, -0.0192774963, -0.0549471825, -0.0751694441, -0.0081153894, -0.0412368327, -0.0223566033, 0.0039225775, 0.0217812601, -0.0658447593, -0.0066107991, 0.0502399951, -0.0475243852, 0.0514994971, 0.0650262311, 0.0172691103, 0.0611633249, 0.0321804769, 0.0133094098, 0.0899344757, -0.0081820246, 0.0936651826, 0.0503124483, -0.0020130463, 0.027085647, 0.0424333587, 0.0349690467, 0.0352616087, -0.0156479422, 0.0117876315, 0.0165658556, 0.0083738863, -0.0146199698, 0.045015268, 0.0164312776, -0.0475987233, 0.0860392228, -0.0176331326, -0.0135075301, -0.0237432532, 0.048082225, 0.0226672199, 0.0052328231, -0.0103769191, -0.0387185067, -0.023531042, -0.0302942786, -0.0455814116, 0.035428308, 0.0693021715, -0.0311233439, -0.0095975259, -0.0242709164, 0.0028724873, 0.0131204762, -0.0052163415, 0.0323108807, -0.0136761693, -0.0795659646, 0.0034610019, 0.0461591855, 0.0406264998, 0.0214956775, -0.0690923035, 0.0376578309, 0.0300551392, 0.0464285873, -0.0274772719, 0.0622927994, -0.0574784875, 0.0505678356, 0.0390078463, 0.0628883839, -0.0152186472, -0.0503289849, 0.0099986801, -0.0114346789, -0.0575092062, 0.0280112028, 0.0451246649, 0.0499490425, 0.0235177688, 0.0088353548, 0.0227316711, -0.0385638252, 0.0263907593, 0.0635844395, -0.0341074765, -0.0223840345, 0.0218641888, 0.0471534319, 0.0270486437, -0.025137281, -0.0343851745, 0.0435572788, -0.0204065051, -0.0396148786, -0.0612007491, -0.0194704868, -0.0331349187, 0.0009381695, -0.0076862508, -0.0381970927, 0.0599559993, -0.0231253877, 0.0221833792, 0.0365909152, -0.0278854761, 0.0067612585, -0.0381580889, -0.0135827856, -0.0383434668, 0.0307534542, -0.0270107016, 0.0804245844, 0.0077945222, 0.0049056853, 0.0416842513, -0.0194320343, -0.0033716969, 0.0048261634, -0.0157684963, -0.0079487534, 0.0104855206, 0.0177446827, 0.0456787907, -0.0055932417, 0.0025293964, -0.0496601164, -0.0710581914, -0.001818348, -0.0340275802, -0.008683743, 0.0281538032, -0.0165718738, -0.0061691939, 0.04731315, -0.0536366962, -0.0093943495, 0.0046212664, 0.0476712547, -0.0094330637, -0.0089568067, -0.0204075817, 0.0271918923, 0.042156484, -0.0232369862, 0.0346913673, 0.0226068683, -0.0327587128, -0.0063858344, -0.0061099776, -0.0148142576, -0.0119794859, -0.0324357674, -0.0169405956, 0.004657384, 0.0165130161, 0.0232634917, 0.042975653, 0.026299648, 0.0689960346, 0.0340049975, 0.02765131, -0.0423717462, -0.0278717913, -0.0520929694, -0.0152439848, -0.0409395173, -0.0427316688, 0.016047623, 0.059249483, 0.0408440046, 0.0084541719, -0.0427269116, 0.0265274309, -0.0334484875, -0.0070229438, -0.0019094994, -0.0353216603, -0.0090039624, -0.0265796855, -0.0365672633, -0.0447936915, 0.0723058283, -0.0111584235, 0.0424442925, -0.0265801009, -0.0408851765, -0.0061707203, 0.0193463806, 0.0053962017, 0.0443584807, 0.0183409173, -0.0210059937, -0.0114946663, -0.0228930153, 0.0276997723, -0.0246626996, -0.0071673598, -0.0137969693, 0.0327358581, 0.0125212055, -0.0295538213, -0.0609131753, -0.099339433, -0.0098412596, -0.0127097266, 0.0012894084, 0.00460468, -0.0557863824, 0.0201609284, 0.0389063768, -0.0084952032, -0.0259131659, 0.0149974544, 0.0197518189, 0.0193544794, 0.0403803214, -0.0605043769, 0.0230893772, -0.0112632038, 0.0018051091, 0.0189208351, -0.0066756355, 0.0483440906, -0.0143208615, -0.0223169308, -0.0001179947, -0.0197205786, 0.0003270918, -0.006081244, 0.0151558146, -0.0309990589, 0.0333820321, 0.1043086275, 0.0179956723, -0.0538138635, -0.0196223669, 0.0644616634, -0.0125762923, 0.0185047798, -0.0166455712, -0.0750383288, -0.0122740148, 0.0193802994, 0.0046626255, -0.0694520846, -0.0103842514, -0.0129247895, -0.0899029076, 0.0043139681, -0.004616451, -0.0280141421, -0.02487587, -0.1023702547, -0.0141493212, -0.0041535064, 0.0099355076, -0.0216569081, 0.0114242174, -0.013188431, -0.0204480998, -0.0166343153, -0.0440393202, 0.0268581267, 0.0060589788, 0.0444570705, 0.0320568383, 0.0524867289, -0.022004053, 0.0015019373, 0.0470538661, -0.0169445481, -0.0331252106, -0.043576248, 0.0479907654, -0.0411625691, -0.0280157309, -0.0054578008, 0.0359266251, 0.0003351478, 0.0223753955, 0.005911157, 0.0485743098, 0.0313907415, -0.0616179034, -0.0105054956, 0.0114212008, 0.0360261053, 0.0899717063, 0.0009508059, -0.0471899919, 0.0022046671, -0.0306090284, -0.0000732079, -0.0118944002, -0.0537331663, 0.0132309338, -0.0236150809, -0.025410831, -0.0228552353, -0.0420603342, 0.0227849241, -0.0031775127, 0.0321332999, 0.0050586797, -0.0472837761, 0.032538306, -0.0178965926, 0.0109401811, -0.0304186214, 0.0622358881, -0.0437598042, 0.0015314616, -0.0025157388, -0.0314876512, -0.019949602, 0.0376449227, -0.0772171319, -0.0648938566, 0.0016456919, 0.0110724214, 0.019441193, 0.0359355733, -0.0174094997, -0.0096161002, 0.081652239, 0.0483269542, -0.035470143, 0.0196525641, 0.0029438159, 0.0042574154, 0.0116961608, 0.0295873377, -0.0162751134, 0.0334400237, 0.055349268, -0.0330732018, -0.0430888422, 0.0026536037, 0.0424866825, 0.0227329638, 0.039105285, -0.0238606874, -0.0371678285, -0.0594532266, -0.042627506, -0.0241287705, -0.0406437591, 0.0167745668, 0.0099797398, 0.0485958122, -0.013308147, -0.0135888234, 0.0166657884, -0.0299448892, 0.0358997621, -0.0137930652, -0.020946946, -0.0122579914, 0.0602852404, 0.0204031672, -0.0057651498, -0.0384291485, 0.0255660042, 0.022468809, 0.0092207165, 0.0054374062, 0.0248048827, 0.0105969943, -0.0161923934, 0.0572917387, -0.020658426, -0.0008014204, -0.0176449269, -0.0472568721, 0.0256689638, 0.0454054959, 0.0124788908, 0.0463060476, -0.0209282525, -0.0342074968, -0.024400901, -0.0003190344, 0.0151072759, -0.0252617169, 0.0240446124, 0.0155339753, -0.0397047102, 0.0353955291, 0.0299315769, 0.0193254147, 0.0325697586, 0.0850726888, -0.0798719153, -0.0244074818, -0.0294202901, 0.0286655892, 0.0170327313, -0.014167144, 0.0073584937, -0.0731507018, -0.0411118604, 0.0008111388, -0.0314803161, -0.0057616141, -0.0174190272, -0.0096914712, 0.0776615292, -0.0196412299, 0.0210466217, -0.0590427183, -0.0142368022, -0.0240705609, -0.0609272011, 0.0078021679, -5.929824232e-33, 0.0119673014, -0.0264873803, -0.0230373126, -0.0155144045, -0.0103924116, 0.0243890136, 0.0237796195, -0.0197992995, -0.0370462909, 0.020150844, 0.0291221905, 0.010444792, -0.012940485, 0.0066443798, -0.07327573, -0.0115304878, 0.0573748387, -0.0141026014, -0.0564430207, 0.0280032046, 0.045115117, -0.0046725739, 0.0285806078, -0.0506819524, 0.053981062, 0.0095111532, -0.0564677417, -0.0109552909, -0.0078207841, 0.0474862158, -0.0138275493, 0.0883877277, 0.0469151884, -0.0462076887, 0.0344319493, 0.0843941122, -0.0213451553, 0.0006481359, 0.0321381055, -0.0054253004, 0.0153811956, -0.0179920122, 0.0153287463, -0.0085499007, -0.0172911324, 0.0051214779, 0.0469315462, -0.0207909159, 0.012627718, -0.0087476335, -0.0342137963, -0.0068099429, -0.0297089666, -0.0107821431, -0.034907829, 0.0485360324, 0.0408874899, 0.1185222417, -0.0835796893, 0.0166904926, -0.0248659328, 0.0096153067, 0.0121629508, -0.0493374243, 0.0040731085, 0.0656828508, -0.0009207162, 0.0336260051, -0.0205184706, 0.0066977399, -0.007512839, -0.0053304103, 0.0536097623, 0.0651012808, 0.0256242137, -0.0462709665, -0.107753925, -0.0018611866, 0.0734306946, -0.0220170897, 0.0245224405, -0.0407598577, -0.0316838436, -0.0067728409, -0.0497726165, -0.0338137895, -0.0416133367, -0.0307684653, 0.0204356611, 0.0425137095, -0.0335610546, 0.0242305491, 0.0143068796, -0.0231130607, -0.0098906094, 0.0362290815, -0.0285471529, 0.0036704175, 0.0018347327, 0.0534224473, -0.0601035953, -0.0089570917, 0.0224267952, -0.0097517027, 0.0100456439, -0.0322126485, 0.0413870774, 0.0237211902, -0.0697716326, 0.0043985923, -0.0155226765, 0.024892468, -0.0306990035, -0.001773615, 0.0162308309, 0.0134477466, 0.0066599976, 0.0081426334, 0.01465875, -0.0180150773, 0.0424618945, -0.0297190268, -0.0105101513, 0.0183791388, -0.0001678547, -0.0266346168, -0.0082635656, 0.0462676734, 0.023735432, -0.098227039, -0.0048349057, -0.0331908055, 2.547e-7, 0.0012524853, 0.0532559231, -0.0369942859, 0.0103122732, 0.029258877, 0.0359483436, 0.009868402, 0.0215418562, -0.0228684079, -0.0699870139, -0.0206506345, 0.0305017736, 0.0138646653, 0.0138300601, -0.0760983303, 0.0314100683, -0.023286406, 0.0030108695, -0.0923832357, 0.0153741539, 0.0323174484, 0.0956851318, 0.0575159974, -0.0229725502, -0.0253524091, -0.0414047837, 0.0758532062, -0.0020172973, -0.0515013859, 0.0343774594, 0.0365431458, -0.0139130075, 0.0044714548, 0.0038857025, 0.0054230061, 0.0036996815, -0.0005143465, 0.0725087523, 0.0237230472, -0.02479049, -0.0255435519, -0.01723231, -0.0233481638, -0.0749424547, 0.089035973, -0.0475208461, -0.0157785453, -0.0238972623, -0.0440284051, -0.0437411591, 0.0499368832, -0.0233676042, -0.0269699115, 0.006223904, -0.0162130855, 0.0188919343, -0.0005057385, -0.0556422137, 0.0478627868, -0.0103298789, -0.0616473109, -0.0564417392, -0.0133978138, 0.0065524038, 0.0260878466, -0.0339496955, 0.0307913497, 2.226301582e-34, 0.0751559287, -0.0663832203, -0.0040610493, -0.05488405, 0.033704035, 0.0263610799, -0.0511142015, -0.0203591548, 0.0073854825, -0.0488605723, -0.0009248347 ]
http://arxiv.org/abs/2310.06408v2
http://arxiv.org/pdf/2310.06408v2
Humans and language models diverge when predicting repeating text
2023-10-10T08:24:28
2023-10-23T03:15:46
Aditya R. Vaidya, Javier Turek, Alexander G. Huth
cs.CL
cs.CL
Language models that are trained on the next-word prediction task have been shown to accurately model human behavior in word prediction and reading speed. In contrast with these findings, we present a scenario in which the performance of humans and LMs diverges. We collected a dataset of human next-word predictions for five stimuli that are formed by repeating spans of text. Human and GPT-2 LM predictions are strongly aligned in the first presentation of a text span, but their performance quickly diverges when memory (or in-context learning) begins to play a role. We traced the cause of this divergence to specific attention heads in a middle layer. Adding a power-law recency bias to these attention heads yielded a model that performs much more similarly to humans. We hope that this scenario will spur future work in bringing LMs closer to human behavior.
[ 0.0407929569, 0.0068722023, -0.0276273247, 0.0269563925, -0.0236278027, 0.0115073808, -0.0377324857, 0.004606884, 0.0115059949, 0.0152636608, -0.0190321803, -0.0998131707, 0.0373679437, 0.0142882662, 0.0449224822, -0.0522420891, 0.0362990126, -0.0608432591, 0.0207560696, 0.0016086882, 0.0294277295, -0.0083031561, -0.0136083979, 0.0089424755, 0.0166408271, -0.0152771436, -0.0125635145, -0.0139316525, 0.0015756881, -0.0425702743, 0.015515957, 0.0710445717, -0.004058898, 0.05984338, 0.0000016109, -0.0296343919, 0.0475944057, -0.0270400979, 0.0063151806, 0.016070934, 0.0222560149, -0.0002193977, -0.0097133853, 0.0136347301, -0.0514647625, 0.0086222989, 0.0161970071, 0.0500156805, -0.0042927181, 0.0391427092, -0.0111165214, 0.0031410789, 0.0482768677, -0.0286179371, 0.0519531853, -0.0392577238, 0.0067689014, -0.0551865362, -0.0115777776, 0.0020660597, -0.0136942752, 0.0163162276, -0.0144487582, 0.07096304, 0.0046765152, 0.0942871943, 0.0379106887, -0.004478103, -0.0531963371, 0.0418233164, -0.0142574236, -0.0515285954, -0.0122601017, -0.0098866513, -0.022358058, 0.0045465813, -0.0320392549, 0.0403723903, -0.0172665715, 0.0319007561, 0.009985608, -0.0158331413, 0.0271449946, 0.0021154049, -0.0014646505, 0.0602593608, 0.0196101461, -0.0660079345, 0.0184911601, 0.0317100063, 0.0141045749, -0.0105646448, -0.0051713665, 0.0245254673, -0.0033908947, 0.0385464989, -0.0296309348, -0.0263266563, 0.0521718301, -0.0733794793, 0.0854696929, 0.0415005982, -0.0004336658, -0.0044794916, -0.0300648957, 0.0701900497, -0.0318285115, 0.0024838038, -0.0100819431, 0.0351604037, -0.0103769777, -0.0418289453, 0.0263691898, -0.021664802, -0.0074963863, -0.0250447802, -0.0471122637, 0.0315126143, 0.0158589724, -0.0438582003, -0.0287224855, 0.0088335983, -0.0275950246, -0.0266698208, -0.0720346197, 0.0223884154, -0.0096734185, 0.0242386758, -0.0100714322, -0.0545573458, -0.0440211147, 0.0114166895, -0.0478690788, -0.0402043685, -0.0406414084, 0.0559521802, -0.0498989336, -0.0410790034, -0.0252432786, -0.0137857962, -0.0189038739, -0.0516600199, 0.0428309813, -0.0112315193, 0.0158138294, 0.0438685119, -0.0428132378, -0.0271496344, 0.0025216257, 0.0525344387, -0.0518579111, 0.0434193648, 0.0487613119, 0.0319440961, 0.0337370783, 0.0137476651, -0.0122380918, 0.0353022553, 0.0271932352, 0.0229421165, -0.0138704889, 0.0196976177, 0.0070185498, 0.0495518818, 0.0063348552, 0.0008330491, -0.0463836715, -0.0329869501, 0.026984591, 0.0248041712, 0.0942146778, 0.0568102561, -0.0081715398, -0.0520528741, 0.081356898, 0.0733784065, 0.0111132627, 0.0200765841, 0.0041388492, 0.007851094, -0.0021850567, 0.0572086498, -0.0677704141, 0.0432254337, -0.0309897661, 0.0417585298, 0.0274265576, 0.0197829157, -0.0186913982, 0.0061506038, -0.0196759421, -0.0128169488, 0.0318501964, -0.0312434733, 0.0156535804, -0.0267886333, -0.0930824056, 0.0341103785, 0.0198451672, -0.0069673066, -0.0048725, -0.0070875343, 0.0211351551, 0.0642239675, 0.0079432335, 0.0164284967, -0.0066736802, 0.0399268419, 0.0062225601, 0.0722707286, 0.0330492146, 0.0399517566, 0.0162349008, -0.0227966756, -0.0177216772, 0.0364690162, -0.0146134328, 0.0059015937, 0.0244962499, 0.0224020984, 0.0220740065, -0.0043710042, -0.0188879482, 0.0740022287, -0.0735690147, -0.0289331544, -0.0664013475, -0.014736169, 0.0263548903, -0.0480171815, 0.0136041725, 0.0366057083, 0.0271332562, -0.0045083342, 0.0129286861, 0.0140239904, -0.083136335, 0.0037751037, 0.0344696268, -0.0300739091, 0.0140082585, 0.0412965938, 0.0194285195, -0.0322954953, -0.0031661808, -0.038405709, 0.0599886663, -0.0453330539, 0.0171580054, 0.0119630937, 0.0341560729, -0.0360289961, 0.0450025983, -0.0303841624, 0.0211771708, 0.0150336865, -0.0085408613, -0.0077152732, -0.0251618903, -0.0034707482, 0.0123944441, 0.0238971226, -0.0221960954, -0.0192492679, -0.0305922441, -0.0655516088, -0.0335577391, -0.0520386733, -0.0288768988, 0.0184246209, 0.0044131344, 0.0094383834, -0.0187903903, -0.0321728028, -0.0029052396, -0.0319828615, 0.0050613205, -0.0149659934, 0.0450416468, 0.0260589644, -0.0209520217, 0.0106891943, -0.0554587841, -0.0075820801, -0.0281038508, 0.0296876039, -0.0113609936, -0.0170032941, -0.0737875253, 0.0445875004, -0.0182151645, 0.0261616614, -0.0263960753, -0.0208566412, 0.0276516415, -0.0003880174, 0.1217636019, 0.0721797273, 0.0662483349, 0.0041004037, 0.0474638045, 0.0179326944, -0.0249853861, -0.016696563, -0.0454745442, -0.0238134619, -0.0068486691, -0.0282076318, 0.000785211, 0.0869885162, 0.0397291966, 0.0217893198, -0.0483888164, -0.0271284208, -0.002623172, -0.0178276673, 0.0005003774, -0.0101531548, -0.0910964757, 0.0547118075, -0.0255595632, -0.0770673826, 0.0761548132, -0.028393859, -0.0000793977, -0.0136461249, 0.0329273753, -0.0007029759, 0.0371474065, 0.0250315405, -0.0039085909, -0.0246560369, -0.0305742808, -0.0785328746, 0.0126195671, -0.0037460055, -0.0218737386, 0.040910095, -0.023645062, -0.0191796776, 0.0057033664, -0.0138306404, -0.0642083064, -0.0107547343, -0.0359313264, -0.0368404984, -0.0088533675, 0.0318349302, -0.0649898499, 0.0053721736, 0.0323210694, 0.0192240719, -0.0459851772, -0.0154400747, 0.0030108853, 0.0237979088, 0.0498404987, 0.0189410411, 0.0032510418, -0.0726686418, 0.0003622301, 0.0548573211, 0.0238412544, 0.0341901407, -0.0090501485, 0.0210618805, 0.0420047157, -0.0383303724, -0.0201573558, 0.0586205982, 0.0158476289, -0.0452962592, -0.0025510711, 0.1087937951, 0.0211239159, -0.076996021, 0.0096910633, -0.0326264873, 0.0737396851, 0.0107663954, -0.0024525055, -0.0149407284, -0.0118215112, -0.0009449506, 0.0125714252, 0.0017334252, -0.0018531873, -0.0126279304, -0.0777773336, -0.0175066385, 0.0383833088, -0.0497187898, -0.0116170049, -0.0464010946, -0.0036117758, 0.0190648362, 0.0272947475, 0.0531173535, -0.0254855622, 0.0020066376, 0.0077953967, -0.0392230041, 0.0025519391, 0.0106881615, -0.0264362413, 0.0186632629, 0.0799184218, -0.0019194154, -0.0067817196, -0.0579313636, 0.0320091136, -0.0271719694, 0.0536899753, 0.0178639498, 0.036026042, -0.007109941, 0.0379624851, -0.0831850618, 0.021695476, -0.0233066995, -0.0293385983, 0.0028243179, 0.0828383639, -0.0112157678, -0.0516535416, -0.0368961804, 0.0464148559, -0.0243029259, 0.0880135074, 0.0159910005, -0.0535172522, -0.0516570956, 0.0136992652, 0.0461154319, -0.0281185526, -0.0382613093, 0.0277210884, 0.0290313959, 0.0167038236, -0.0497777387, -0.0644813478, -0.0332440101, -0.0087221544, 0.0193073135, 0.0699773654, 0.0110862702, -0.0417189263, -0.0274518188, -0.0072903931, 0.0061518904, -0.0022137335, -0.0771230012, -0.0027211804, -0.020378856, -0.0419883616, 0.0016150532, 0.0351365246, -0.1089547426, -0.0692387447, 0.0228571519, 0.0007734876, 0.0258962493, 0.0318589061, 0.0284229312, -0.043449074, 0.0197742581, -0.0062230718, -0.0236330125, 0.0678321645, -0.0212147813, 0.0148636065, 0.0124090975, 0.0179424062, 0.0085480725, 0.009944506, 0.0175540596, 0.0206151437, 0.015912829, -0.0468105413, -0.0090654427, -0.0151410056, 0.0961029828, -0.0217478573, -0.0047181146, -0.0366937369, -0.0163899567, 0.021002708, 0.0362176187, 0.0220906418, -0.0223266073, 0.0414052308, 0.0073743067, -0.0457191616, -0.0477177687, -0.0305915438, 0.01052419, -0.0561267138, -0.0053626001, -0.0358426273, 0.0150843561, 0.0269024149, 0.0274757165, -0.0090704747, 0.0076847621, -0.0650422275, 0.0376952402, 0.0323618427, 0.0645964965, 0.0293792505, 0.0126072895, -0.0053532482, -0.0183001142, -0.0653486326, -0.0374167524, -0.0130953705, -0.0352662876, 0.0000649181, -0.0396726765, 0.0405977294, -0.0390322991, 0.037570063, -0.0211798381, 0.0039666621, -0.0529274903, 0.0003615686, 0.0309333503, 0.0102836629, -0.0148130851, 0.0067225629, 0.0913389474, 0.0434347093, -0.0024081965, 0.0360683277, -0.027446162, -0.0148155186, -0.0235352274, 0.0352499448, 0.0248218365, -0.022240961, -0.0215120595, -0.0560068004, -0.0273112077, 0.0607054271, -0.0085767973, 0.0319371, -0.0566433929, 0.0373233818, 0.0551167056, -0.0457459316, -0.0216768086, -0.0243843682, 0.0027801071, -0.0034489571, -0.0270427521, -0.0447065495, -5.882624827e-33, -0.0078547746, -0.0222835559, 0.039127294, 0.0258157067, -0.0568045601, 0.0049205492, -0.0339240804, 0.0343934633, -0.0160218999, -0.0012618161, -0.0215289108, 0.0198134501, 0.0192932859, 0.010746005, 0.0209903177, -0.0053063966, 0.0011227267, -0.0428603105, -0.0155074345, -0.000667978, 0.016185211, 0.0580237098, 0.0379021168, -0.0240020063, 0.0295816008, -0.0437046029, 0.0308506377, -0.0099848732, 0.0168344565, 0.0388076715, -0.0776407793, 0.0413749963, 0.0438663922, -0.0334583335, -0.0454846136, 0.0284188502, -0.0134581905, -0.0362991765, 0.0222432893, -0.0068562487, -0.0193522647, 0.0450629294, 0.0640067011, -0.038861338, -0.0437270813, -0.0273634717, 0.0526320674, -0.0149150686, -0.0806526616, 0.0366812274, -0.0599647723, -0.0065800562, 0.0255899243, 0.0186199434, 0.0174171813, 0.0226844214, -0.0157367084, 0.0548683517, -0.0896098912, 0.0146763707, -0.0117988018, 0.0385354869, 0.0313629061, 0.0471192636, 0.0093542682, 0.0688095614, 0.0694947243, 0.033452291, -0.0502298474, -0.0177512225, 0.0493212901, -0.0005107235, 0.0091523258, -0.0229629148, 0.0592836551, -0.0367318802, -0.0106189027, 0.0134361535, 0.0046403743, 0.043471273, 0.0786049515, 0.0118242865, -0.0581361875, -0.0280543696, -0.0136166215, 0.0058111255, -0.0199588519, -0.0325790569, 0.0110765491, -0.007965412, 0.0810660422, -0.0263636019, 0.0434497669, 0.0057753357, 0.0158834606, 0.0115812467, -0.0191775914, -0.0129516358, 0.0019507236, 0.0243565422, -0.0693375692, 0.0039806422, -0.0013670059, 0.0439783596, -0.0110124024, 0.016668506, -0.0207473915, -0.014016361, -0.0656317025, -0.0213920493, -0.0584450923, -0.027666131, 0.0471348651, 0.0041530766, 0.0556939207, -0.0474498458, -0.0099768722, 0.0083004702, -0.0223288182, -0.0474602617, -0.029200634, -0.0106202951, -0.0087853782, 0.0083221458, -0.0269417614, 0.0084529631, -0.0343323909, 0.0276211761, 0.0365331024, -0.065193288, -0.0106336838, 0.0477048568, 2.459e-7, 0.0112542128, 0.0602910183, 0.0165239926, 0.0234645214, 0.0259121042, 0.0033625541, -0.0091749514, 0.0328239165, 0.0036245845, 0.0052592126, 0.015450215, 0.0327288434, 0.044337403, -0.0253089648, -0.0659257323, -0.0004915667, -0.080925487, 0.0396989062, -0.0177516975, -0.028909713, 0.0076878923, 0.0251228288, -0.0018052021, -0.034433499, 0.0229746792, -0.0230324585, 0.0679034293, -0.0536764078, 0.0330756679, -0.0309728291, 0.0220797788, 0.0215059444, -0.0050640255, 0.018259868, -0.0105637582, -0.0077533354, -0.0134405047, 0.0150083527, -0.001399672, -0.0519080237, 0.0289432295, 0.0119140847, -0.0059783324, -0.0568087772, 0.02643607, 0.0014672163, -0.0292040817, 0.0275902841, 0.0003533924, -0.0124449115, 0.0176445972, 0.0170775577, -0.0108956546, 0.0015341007, 0.0084493319, 0.0088338349, -0.0088935699, -0.0827765539, -0.0460040905, 0.0444116741, -0.061600484, -0.0170481075, -0.0868138447, -0.0004438096, 0.0619353615, -0.0436565652, -0.0192121025, 1.821249877e-34, -0.0049396213, -0.0479685478, 0.0303117521, 0.0434621572, 0.0169726238, 0.0037232961, 0.0381835289, 0.0432340093, 0.029442599, -0.0704296082, -0.0266159177 ]
http://arxiv.org/abs/2310.06404v3
http://arxiv.org/pdf/2310.06404v3
Hexa: Self-Improving for Knowledge-Grounded Dialogue System
2023-10-10T08:15:24
2024-04-02T11:28:40
Daejin Jo, Daniel Wontae Nam, Gunsoo Han, Kyoung-Woon On, Taehwan Kwon, Seungeun Rho, Sungwoong Kim
cs.CL
cs.CL, cs.AI, cs.LG
A common practice in knowledge-grounded dialogue generation is to explicitly utilize intermediate steps (e.g., web-search, memory retrieval) with modular approaches. However, data for such steps are often inaccessible compared to those of dialogue responses as they are unobservable in an ordinary dialogue. To fill in the absence of these data, we develop a self-improving method to improve the generative performances of intermediate steps without the ground truth data. In particular, we propose a novel bootstrapping scheme with a guided prompt and a modified loss function to enhance the diversity of appropriate self-generated responses. Through experiments on various benchmark datasets, we empirically demonstrate that our method successfully leverages a self-improving mechanism in generating intermediate and final responses and improves the performances on the task of knowledge-grounded dialogue generation.
[ 0.0554561727, 0.0405756645, 0.0065706898, -0.0108440667, -0.000386133, -0.0215751864, -0.0145890284, -0.0197425205, 0.0110399993, -0.0336505733, -0.0229008943, -0.0129492935, -0.0150828147, 0.0303058997, 0.0338821709, -0.0462868437, 0.0274445359, -0.0179062206, -0.0179461967, -0.0541271381, -0.0065864036, 0.0023507166, -0.0525927022, 0.0244723968, -0.0375421718, -0.0069878916, -0.0483359955, 0.0096645467, 0.0121400552, -0.028406335, 0.0264331102, 0.0592230074, 0.0183563065, 0.0221546926, 0.0000018078, -0.0399798378, 0.0070652105, -0.0505595729, -0.062017519, -0.0396850258, -0.025332056, 0.0413067043, -0.0109342774, 0.0401547961, -0.0517892763, -0.0103241317, 0.0221772268, 0.061144311, 0.1084649414, 0.0667567551, -0.0018717762, -0.0297564827, -0.0024846154, -0.0109716207, 0.0125580551, 0.0040135118, -0.0301435068, 0.0447562113, -0.0037688576, 0.0383738838, -0.0043214075, 0.0089393426, 0.0341616087, -0.061181277, 0.0227017477, 0.0410026051, 0.0011655082, 0.0148550794, -0.01462611, 0.0900847614, 0.0673545226, 0.0047791656, -0.0109546827, -0.0019892466, 0.0403665528, -0.0272412226, -0.0346290655, 0.0201335307, -0.0149590513, 0.0058429418, -0.03186322, 0.0729336366, -0.02779953, 0.0191849619, -0.0115731955, 0.0667841211, -0.0109226843, -0.0337004811, 0.0042949226, 0.0142145418, 0.0150353471, -0.0376267768, -0.0022915059, 0.0346513093, -0.0238088574, 0.0159362648, -0.0297544859, 0.0555066392, 0.0222533122, 0.0156914704, 0.0315572508, 0.0223511979, -0.0160271674, 0.0319181792, -0.0067700366, 0.0272323154, -0.0048660794, -0.0320655182, -0.0091327941, 0.0394533575, -0.0413284488, -0.01523518, -0.0659495369, 0.0455846749, -0.0850321278, -0.0241042059, -0.0404273197, 0.0502697788, -0.005692428, 0.0040293466, 0.003392128, 0.0265738498, -0.0480000637, 0.0181046668, -0.0366419666, 0.0096922377, -0.065507926, -0.0063963449, 0.0672915876, -0.0516660474, -0.0263878163, 0.0253780168, 0.0096428627, 0.006950458, -0.0160051975, 0.0283485297, -0.0375825763, -0.0125556476, -0.0388665162, -0.0523454137, -0.0424965359, -0.0756770149, -0.0079762442, -0.0403530598, 0.027793644, -0.0312743187, -0.038889572, -0.0081935255, 0.0121660251, 0.0089926291, 0.0174087081, 0.0412128046, -0.0309126582, -0.0060873651, 0.0426056162, -0.0036592239, 0.004458487, 0.056845814, 0.0052200397, 0.0240895338, 0.0265326537, 0.0094386302, 0.0185619183, -0.0405822955, 0.0480002724, -0.0049040802, 0.0289271399, 0.0244592987, -0.0316332653, 0.0581785403, 0.0203425419, 0.0194690004, -0.0588032864, 0.0227179546, 0.0455801785, 0.0304238591, 0.0054486799, 0.0224811826, 0.0318274908, 0.0255201757, 0.0077658235, 0.0384015851, -0.0207687579, 0.0215392094, -0.0105180424, 0.0194089543, 0.040457692, -0.0042947591, -0.0472267829, -0.0554715507, 0.0360798985, 0.0287779551, 0.0077101849, -0.008876279, 0.0175072383, 0.0564560592, -0.0484574512, 0.0046659024, -0.0003127191, -0.0718468726, -0.0092431912, -0.0312306061, 0.0298584197, 0.0531580001, 0.0594457388, -0.0014088888, -0.0689853281, -0.0336577445, 0.041649729, 0.0639526919, -0.0212491304, -0.0264348648, 0.0228240564, -0.0578791313, -0.0237650909, -0.0387664177, -0.0092312573, 0.0145197259, 0.0032866714, -0.0001820655, 0.0304226, -0.0286011174, 0.0643916354, 0.0038328364, -0.0151697425, 0.0021200979, 0.0510590561, 0.0219404455, 0.0091221519, 0.0483956039, -0.0023068974, -0.0003620703, 0.0236289278, -0.0124076596, -0.0576145016, 0.0121218795, -0.0965594649, -0.0845750049, 0.0125432033, -0.003374944, 0.0154624749, -0.0122734234, -0.0163102392, -0.0751020759, 0.031671904, -0.053409528, 0.009008117, -0.0605203658, 0.0068342197, 0.0511485077, 0.0204159953, -0.0380325429, 0.0559922308, 0.0001866098, -0.0153936753, 0.0109955473, 0.064410314, 0.0230403356, -0.0847120211, 0.0202947389, 0.0231338888, -0.037829835, 0.01266002, 0.032993447, 0.019179903, -0.0680644885, -0.0139650069, -0.0920402408, -0.0006698227, -0.0222409591, -0.0114656957, 0.0225005746, -0.0077633695, -0.0156928021, -0.0353335813, -0.064494431, 0.0110089919, 0.0801950693, -0.0008012917, 0.0535077304, 0.0273789018, 0.0228275247, -0.0246495474, 0.0128153004, 0.0388455726, 0.0305377338, -0.002233647, 0.0283668712, -0.0592401288, 0.0083223907, -0.0710290447, 0.0303278286, -0.0014931656, -0.0466268584, 0.0359594226, 0.0056957211, 0.0565118976, 0.0254432745, 0.0569436252, 0.0602975301, -0.0117410971, -0.0283677746, -0.072986789, 0.0462254919, -0.0394634865, 0.0311060976, -0.002373772, 0.0200423356, 0.0072924914, 0.0159736536, 0.0469733663, 0.0321408808, -0.0614835545, 0.0299739465, 0.0416206345, -0.0477425307, -0.0166208819, 0.021269409, -0.023212513, 0.0427212492, -0.0254460182, -0.0191872511, 0.0766627565, -0.0219453629, -0.015793521, -0.0335288718, 0.017965151, 0.0055496772, 0.0462174416, -0.0534748882, 0.0119028203, 0.0046543279, -0.0294476449, -0.0232055187, -0.0067422725, 0.0442689918, -0.0380002744, 0.0411784537, -0.0257805903, 0.009101375, 0.0150086004, -0.0487253107, -0.0845560953, -0.0057848473, 0.0338449441, -0.0227401312, 0.0044036689, 0.0117551656, 0.0192294884, 0.0111067919, 0.0062219365, 0.052172754, -0.0227713082, -0.0080400426, -0.0214548521, 0.0456161909, 0.0309301633, 0.0258824117, 0.0318435505, 0.0051286481, 0.1090592295, 0.0342598595, 0.0638244972, -0.0190948509, 0.0094551733, -0.012282812, 0.006520093, -0.0092505179, 0.0166727975, -0.005218023, 0.0709014609, -0.0142034767, -0.0516968034, 0.097799167, 0.01461838, 0.0282619186, -0.0029327639, -0.015137325, 0.0366489738, 0.0106036514, 0.0188854896, -0.0518587045, -0.0106297899, 0.0047717984, 0.0688400865, -0.0147340531, -0.0454015657, 0.0041374532, -0.1194893122, 0.0613064952, -0.0006243958, -0.0485555604, -0.0435738005, -0.0058605978, -0.0085728774, 0.0276069958, -0.0002850312, 0.0320682004, 0.0110231638, 0.0215932447, 0.0047784583, 0.0044451109, -0.0535963438, -0.0339353681, -0.0117681576, 0.0713604018, 0.0444168448, 0.0378437415, 0.0713662133, -0.0001584754, 0.0125855291, -0.0376740582, 0.0158115476, -0.0139781702, 0.0441438295, 0.0107699689, -0.0148148583, -0.0227386784, 0.0485082939, -0.0268010776, -0.0044524507, 0.0254166797, -0.0022768108, -0.074350372, 0.015313725, -0.004148257, 0.069625631, 0.0322238281, 0.0549592674, 0.0399347693, -0.024952732, -0.0272993781, -0.0085740723, 0.0387478918, -0.0565566346, 0.0155452173, 0.0087908907, 0.0320667922, 0.0485975854, -0.1112812608, -0.0864743739, 0.00096473, 0.0904338807, -0.0386427566, -0.0243967324, -0.0445807427, 0.0210463833, -0.0152484039, -0.0102820983, -0.0189491343, -0.0236608647, -0.0682599097, -0.0238453802, 0.0345379561, -0.0498526506, 0.0143375956, 0.0040102927, -0.0232943911, -0.0608772524, -0.0165760368, 0.0777278543, 0.0209303237, 0.0653011724, 0.007937423, -0.0001992474, 0.0308840051, 0.0274015963, -0.0266166795, 0.0021264732, 0.0303464457, 0.0450917147, -0.0291534141, 0.0363853425, -0.0144411651, 0.0393113419, 0.0030416041, 0.0825603753, -0.0157756843, -0.076628454, 0.0299792271, -0.0180530082, 0.0353600644, -0.0203794353, 0.0038773185, -0.0212564711, 0.0324929282, -0.0329808593, -0.024078615, -0.0602159165, 0.0377296805, -0.0114022531, -0.0205441713, 0.0274898987, -0.0258467477, -0.0635267794, 0.0916492641, -0.033864893, -0.0368113779, -0.0134952301, 0.0096911285, 0.0004065672, -0.0079618525, -0.0172523633, 0.0292512756, 0.0306478702, 0.0088283429, 0.0101681482, 0.1007861942, 0.0208754875, -0.025097657, 0.0214077793, 0.0466561653, -0.0453296266, 0.0014643621, -0.0561526641, 0.0245811343, 0.0045787278, 0.064905785, 0.0100130038, -0.0032987995, 0.0050508422, 0.0093917791, 0.0464546829, 0.0027379959, -0.0514466502, 0.0200177506, 0.0241465513, -0.0136600258, -0.0107307425, 0.0400192626, -0.0286083221, 0.0241794437, -0.0166105349, 0.0152826803, -0.0721522272, -0.0612068474, -0.0565434992, 0.0103042126, 0.0235281624, 0.0301799811, -0.0327931121, -0.049718786, -0.0425161682, 0.0323780924, -0.0120626586, 0.0065327375, 0.068480894, 0.0405113213, -0.0019030379, 0.0107049523, -0.0311150923, 0.0288372412, -0.0461942516, -0.0123639489, -0.0208462924, -5.674724693e-33, -0.0601928532, -0.0410661735, 0.042029243, 0.0074016144, -0.0358820222, -0.041378133, -0.0433413275, 0.0154010961, 0.0207802709, 0.0199698284, -0.009264417, -0.0134049952, 0.0048936144, 0.0611237809, -0.0385026261, 0.014417083, 0.0652823523, -0.0010484846, -0.0458635949, 0.0543185286, 0.0298025534, 0.0360805877, -0.0031022602, -0.0630232766, -0.0063846651, -0.0194497537, -0.0263249949, 0.0563253835, 0.01846941, 0.047499463, -0.0181106981, 0.0365872644, 0.0084097637, -0.0697086379, -0.0091962563, 0.0149321118, -0.0695508942, -0.0374239534, -0.0139635941, -0.0170138869, -0.0373577774, -0.0049460083, -0.025686942, -0.0565639287, 0.0102879042, 0.0244383588, -0.0190772656, -0.0191782769, -0.0168716721, -0.0327800177, -0.0425400808, 0.0128094982, -0.0159994084, -0.0743476599, -0.0563486554, 0.0872007906, 0.0289126243, -0.0731832832, -0.0211004987, 0.0432590879, -0.003252164, -0.0113242399, 0.0470746607, 0.0303815454, -0.0006381509, 0.0454119295, 0.0180030745, 0.0097941235, -0.0402787142, -0.0282301884, -0.0236857384, 0.0008112342, 0.0199055858, 0.0595602058, -0.0197237581, -0.0030383763, -0.0217650179, 0.0255378876, 0.0235430207, 0.0040051816, -0.0251284856, -0.0145182414, -0.0178683996, -0.0058536869, -0.0402886607, -0.0136681981, -0.0011657036, -0.0594108179, 0.04778824, 0.0441865399, -0.0655478761, -0.0300064906, 0.0212144703, -0.0038518757, -0.0044347914, 0.035681475, -0.0420200191, 0.0017175266, -0.0088688629, -0.0185863655, -0.0098944018, -0.027262643, 0.0694909319, 0.0137958787, -0.0115740895, 0.0235803798, -0.0121767176, 0.007218577, -0.0643772855, 0.0171106514, -0.0267114583, 0.1004469618, -0.0283055678, -0.0227442849, -0.0102841193, -0.0207161438, -0.0358743891, 0.0653089806, 0.0153690828, 0.0016530674, -0.0289137922, -0.0263791922, 0.0063909022, 0.0192261264, -0.0242581461, 0.0164004937, 0.0055691903, -0.0148425661, -0.0170420781, -0.0380650871, 0.0002742371, 0.0042215982, 2.509e-7, -0.0501040593, -0.0058316626, 0.0561081693, -0.0187182985, 0.0169514883, 0.0294444412, 0.0018640126, -0.006938966, 0.0033721512, -0.0503823049, -0.0013603619, 0.026478935, 0.038062077, 0.0045338739, -0.0816273913, -0.021126518, -0.0474792123, -0.0412454382, -0.0196308605, -0.0565685704, 0.0481692292, 0.0193328168, -0.0132205021, -0.0123903751, -0.0013817395, 0.0110300705, 0.0498463959, 0.0211707335, -0.0122111859, 0.0009861026, 0.0551644489, -0.0083298841, -0.0152509706, 0.0079511972, 0.0035632346, 0.0329687409, -0.0181080699, 0.0152242286, 0.0211026259, -0.0539239347, 0.0138026997, 0.0184632186, 0.0476066321, -0.0182614215, 0.0210227966, -0.0607558116, 0.0082171224, -0.0019159546, -0.0134057933, -0.0401415676, 0.0176278818, -0.052400656, -0.0471833758, 0.007956801, 0.0273412913, 0.0198514611, 0.0496471003, -0.0884940848, 0.0122454986, -0.0031274713, -0.055694323, -0.0199725684, -0.0294002481, -0.0354282036, 0.001883838, -0.009745623, -0.0116413785, 1.914203699e-34, 0.0178975891, -0.001212312, 0.0224006791, 0.0049018809, 0.0086104134, 0.0105917612, 0.0210466534, -0.0021164231, 0.0478080027, -0.0161443762, -0.023961762 ]
http://arxiv.org/abs/2310.06391v1
http://arxiv.org/pdf/2310.06391v1
Improved prompting and process for writing user personas with LLMs, using qualitative interviews: Capturing behaviour and personality traits of users
2023-10-10T07:54:24
2023-10-10T07:54:24
Stefano De Paoli
cs.HC
cs.HC, cs.CL, cs.CY
This draft paper presents a workflow for creating User Personas with Large Language Models, using the results of a Thematic Analysis of qualitative interviews. The proposed workflow uses improved prompting and a larger pool of Themes, compared to previous work conducted by the author for the same task. This is possible due to the capabilities of a recently released LLM which allows the processing of 16 thousand tokens (GPT3.5-Turbo-16k) and also due to the possibility to offer a refined prompting for the creation of Personas. The paper offers details of performing Phase 2 and 3 of Thematic Analysis, and then discusses the improved workflow for creating Personas. The paper also offers some reflections on the relationship between the proposed process and existing approaches to Personas such as the data-driven and qualitative Personas. Moreover, the paper offers reflections on the capacity of LLMs to capture user behaviours and personality traits, from the underlying dataset of qualitative interviews used for the analysis.
[ 0.0685993209, 0.0129508786, -0.0515154377, 0.0235426072, -0.0058783051, -0.0030361575, 0.0009268997, -0.0513505861, 0.0020427834, 0.0325686634, 0.0047449153, 0.0014768901, -0.0201375373, 0.0422292426, 0.0140591804, -0.0456363894, 0.0257803742, -0.024537025, -0.0200588275, 0.0277277362, -0.0041549806, 0.0728329122, 0.0140497889, 0.0447762311, -0.0018993495, -0.0350190401, -0.0046382933, 0.0138416719, 0.0461854003, -0.022508936, 0.023525279, 0.007924635, 0.0220786873, -0.006437846, 0.0000022626, -0.0472578816, 0.018836759, -0.0041673072, -0.0257641971, -0.0276951231, 0.0321131386, 0.1032042131, -0.0234387275, 0.0211562607, -0.0219617654, 0.0157739129, 0.0208561607, 0.0442067608, 0.0652343109, 0.0217636358, -0.0318634771, -0.0836532936, -0.0353073813, 0.0250651632, -0.0070064035, 0.0215234775, -0.0319324508, -0.0247210339, 0.0247838907, -0.019962946, 0.041966226, -0.0063185529, -0.0170473177, 0.0033060897, 0.017449433, 0.0141773922, 0.0036534469, -0.0598274693, -0.0145053556, 0.0470826216, 0.0606615692, 0.0257521924, -0.0069564115, 0.0120397359, 0.0350898392, 0.0175668411, -0.0027862317, 0.0154212704, -0.0438215919, -0.0125784408, -0.0360156, 0.029143041, 0.0029541117, 0.0067096907, -0.0353979878, 0.0132568106, 0.0058308546, -0.004600517, -0.0002550616, -0.0475531071, 0.0544709936, -0.0230940077, -0.0113195814, 0.0418974161, -0.0035178273, 0.0206771791, 0.0050966837, 0.0526016057, 0.022966424, -0.0411449447, 0.0205333363, 0.0350281559, 0.0043427367, -0.0120227309, 0.023674313, 0.0341110453, 0.0228402261, -0.0466261245, 0.0066160019, 0.0036418217, -0.049175635, -0.0135064349, -0.0225144587, 0.0345199816, 0.0136319753, 0.0186289437, -0.0373699889, 0.0754378587, 0.0238812324, 0.0457105488, 0.0030892678, -0.0124416258, -0.0203451701, 0.0229610447, -0.054415673, -0.0034453189, -0.0663449466, 0.0100665083, -0.0299681053, -0.041359704, 0.0746765435, 0.0129186641, 0.0080371639, -0.0202887822, 0.0266963355, 0.0399999507, 0.0176059436, -0.0157581922, -0.0648745969, -0.0766040981, 0.0188989881, -0.0388051011, -0.0340390429, -0.0654498562, 0.0047608349, 0.0329900347, -0.0073944731, -0.0468335859, -0.0088622905, 0.0471290462, 0.0310496464, 0.0318025649, -0.0473994501, 0.0375325121, 0.0304537155, 0.0233533289, 0.0424361452, 0.0061039999, 0.0022390489, 0.0463746898, 0.0009031481, -0.0603667833, 0.0316771492, 0.0392923541, -0.0670120642, 0.0086949393, -0.0002397661, 0.0165585745, -0.0065371916, 0.0022596435, 0.0349081159, 0.0228774566, -0.0084147546, 0.0672928542, 0.0575492643, 0.0721776932, 0.0496884286, 0.0360341109, 0.0332084633, 0.0213984903, 0.0303762816, -0.0336743034, 0.034113843, 0.0161733143, 0.0465063378, -0.0113940202, -0.0488944873, 0.0459382348, -0.0337610506, -0.0266938098, 0.0114620514, -0.0146946386, 0.0068673207, 0.0404927135, -0.0352661423, 0.0068217288, -0.0048012533, 0.0247010291, -0.0051983707, -0.1039032266, -0.0199191067, -0.049692817, 0.0311649069, 0.1476365775, 0.0197283216, 0.0198880583, -0.0163607672, -0.0398714468, -0.0353227518, 0.0507869907, 0.0183793865, -0.0170610882, -0.0476805195, -0.0347529426, 0.0021683543, -0.0357048139, -0.0523991659, 0.0242387298, -0.0213866867, 0.0155813694, 0.0094171371, 0.0415484086, -0.0144054405, -0.0100554796, -0.0720302761, -0.0435203277, 0.0079992395, 0.0221610069, 0.0033161668, 0.0690659434, 0.0250113495, -0.0006518342, 0.0149198677, -0.0119935526, 0.0389586128, 0.0644145384, 0.0346794538, 0.0668455213, 0.0313948952, -0.0311730728, -0.0051867031, -0.0026218272, 0.0287722554, -0.0081095612, 0.0106226541, -0.0185715295, 0.0330621041, -0.0136559298, -0.012118523, -0.015920369, 0.0216030795, -0.0175027847, 0.0264251418, -0.0157736242, -0.0225098953, 0.0126542244, 0.0032525663, 0.0056693107, -0.0550146066, 0.0129279112, -0.0146353897, 0.0028567882, 0.0445220992, 0.0083171073, -0.003606681, -0.0551100634, -0.0368384086, -0.0930686146, -0.0215290524, 0.0061143553, 0.0144800805, 0.035482157, 0.0143128578, -0.0575650632, -0.0140976384, -0.0539088063, -0.0504098348, 0.0086289076, -0.0260676704, 0.0759893879, 0.0093891574, -0.0045529148, -0.0123695023, 0.0165283848, -0.0191919859, 0.0009531075, -0.0024770801, -0.0219383892, -0.0461342745, -0.0052056066, -0.0310345925, -0.0740766749, -0.0156180365, -0.0232701954, 0.0508038253, 0.0164216571, 0.1050115228, -0.0502763949, 0.0247385111, 0.0621017441, -0.0125951106, -0.0091766473, 0.0040017283, 0.003510678, 0.0192648266, -0.005638591, -0.0182456169, -0.0964462012, 0.0773473307, 0.0002897674, -0.0164108574, 0.0271887314, -0.0390428007, 0.0810364783, 0.0203098115, 0.0100022936, 0.0396145992, -0.0086424556, -0.0323287547, 0.0634127781, 0.0476241149, -0.009322701, 0.0064934539, -0.0178942457, 0.0118968543, -0.0167657118, -0.0777632073, -0.0188656617, 0.036676418, -0.0532442555, 0.0304977056, -0.0220772456, -0.0284155868, -0.0101981228, -0.078231968, -0.0303766262, -0.0391883925, 0.035006389, -0.0057147313, -0.0323229879, 0.0040217019, 0.0191457514, -0.0255816802, -0.0339015834, -0.0497746095, -0.0433744863, -0.0040449519, -0.0037710879, 0.000254737, -0.0138006909, 0.0116833374, 0.004738518, -0.0020654653, -0.0137802614, 0.001317606, -0.0392683409, 0.019338008, -0.0019640874, -0.0048450427, -0.0225302726, 0.0335250385, -0.007477019, -0.0374678522, -0.0263947677, -0.0038058346, -0.0372760408, 0.0322502516, -0.0303435344, -0.0260435659, 0.0299820062, 0.0442118123, -0.0097229723, -0.0027917693, 0.082828261, 0.0070410892, -0.0222412292, 0.0352245495, -0.0034518682, -0.021192139, 0.0328771695, 0.0812572166, -0.0463778041, 0.0141323917, -0.030723013, 0.0502345711, -0.0386139713, -0.0167821478, -0.04600868, -0.0167533178, 0.0520646572, 0.0157029312, -0.0184746254, 0.0268575568, -0.0124489963, -0.0213373601, 0.0403247625, 0.0496385768, 0.0077244621, -0.0275693182, -0.0088344729, 0.0292227846, -0.0829662383, -0.0495180264, 0.0206146482, -0.0157478545, 0.0135886399, 0.0324847698, 0.0626645088, -0.0137695037, -0.0762092471, -0.0661845878, 0.0521477535, 0.0407662913, 0.0193360783, 0.0046049845, -0.0268511716, 0.0131164687, -0.0800364166, 0.0331093669, -0.0319267884, -0.0247238111, 0.0305340718, 0.0390609354, -0.0634849966, -0.0190785397, -0.0401687101, -0.0078226812, 0.0196173899, 0.0145197622, 0.0088152764, -0.0858952329, 0.0050291833, 0.0043194043, 0.0126884654, -0.0185717903, -0.0697770864, -0.0139181819, 0.0107003273, 0.0188719481, -0.0011616054, -0.0855050161, 0.0111639947, 0.049436003, 0.0188706499, 0.0140511096, -0.0213719122, 0.0314220674, -0.0260433499, 0.0242287572, -0.0333090201, 0.0660407245, -0.0755369365, -0.011514008, 0.0375094749, -0.0479066521, 0.0435309932, -0.0334557816, -0.0257183425, -0.007405513, 0.0056284773, 0.0466033965, 0.0278252121, -0.0215564556, 0.0467048474, -0.0697298795, 0.0228843242, -0.0024981934, -0.0376522653, 0.006119932, -0.0143475672, 0.0890194029, -0.0328901298, -0.0152059579, -0.0112080239, -0.0267752428, -0.0228909273, -0.0257967357, -0.0573547818, -0.0744547546, 0.011239443, 0.0423799008, -0.0211771168, -0.0468551144, 0.0044784714, 0.0043991907, -0.0151519822, -0.0105616283, -0.0433770232, 0.0045078285, -0.0222242568, -0.012136667, -0.0063115889, 0.0264900457, -0.0628942698, -0.0928552598, 0.0014763426, -0.0353200547, 0.042800881, 0.0053205802, 0.0439319275, 0.0056671388, -0.0128209703, -0.0333858542, 0.0074234139, 0.0095363446, 0.0426509604, 0.0304216575, 0.0426085554, -0.0344526879, 0.0340927988, -0.0021033669, 0.0622746982, 0.0219472665, -0.0628114194, 0.0438537002, -0.0182401258, -0.0188846979, 0.02387367, -0.0007130826, -0.0359146371, 0.0201575123, -0.0216375384, 0.019576624, -0.0009543292, -0.0033197945, -0.004375502, -0.0036133472, -0.044083301, -0.0945017189, 0.0209510922, -0.0310846288, -0.0156023502, -0.0389049836, -0.03904346, -0.0524795651, -0.0220806859, 0.0403053313, 0.0103753032, -0.0505161695, -0.0637546778, -0.0940446407, -0.0470663719, 0.0168266501, -0.0375487022, -0.0285995249, -0.0480721779, 0.0322022475, 0.0190652665, 0.0169848055, -0.0248172227, -0.0546425991, -0.0077015567, -0.0643793568, 0.0087205349, 0.0170507822, -5.931222335e-33, -0.0168380216, -0.0526210703, 0.0634245425, 0.0239031948, -0.0282942615, -0.0544978566, -0.0084219528, 0.0204670858, 0.0213334896, -0.0256454498, -0.0284190495, -0.0514604338, 0.0099392598, -0.0134564983, 0.0026868815, 0.0432293527, 0.0735237673, 0.0371802114, -0.016148651, 0.046528317, 0.00994494, 0.0066148113, 0.0204488747, -0.0593678802, 0.0253955014, -0.0392394774, -0.0170031413, -0.0023289325, 0.0478302538, 0.0269344766, 0.0169923995, 0.0058114138, 0.0261447132, 0.0419799685, -0.0069486978, 0.0501806512, -0.0125353504, -0.0197708476, 0.0398979113, 0.0643989518, 0.0103993379, -0.0889979675, 0.0052316962, -0.0310406312, -0.027727427, 0.0337233357, 0.0517288446, 0.0131614869, 0.02147099, -0.0095032863, -0.0429625362, -0.0087358812, 0.0016041124, 0.0275389943, -0.0197678935, 0.0247734711, -0.0467053205, -0.0354441591, -0.0834455267, 0.045553565, -0.0244110525, -0.0693804175, 0.0457435437, 0.0584759824, -0.0232864562, 0.0138844736, -0.0040406305, 0.0426475406, -0.022117421, 0.0495596193, 0.011805498, 0.0579746254, -0.0061926702, 0.0419278368, -0.0606602058, -0.0537645631, 0.0285131577, 0.0357003175, 0.0673630983, -0.0243118536, 0.0506452397, 0.0016728793, -0.0233592652, -0.0420842133, -0.0005011432, 0.0419607162, -0.0019639477, -0.0627352148, -0.0073107337, -0.0615587309, -0.0443757661, -0.02509767, 0.0030812519, -0.0230082348, -0.015639348, -0.0338092484, -0.0285408981, -0.0035883014, -0.0111968387, -0.0003291974, -0.0186530743, -0.0037933819, -0.0128321117, -0.0014253533, 0.0584968328, 0.045313742, -0.0252963547, 0.0172380432, -0.0637461692, -0.0099451263, 0.0145310601, 0.0507539921, -0.0196221806, 0.0437527411, -0.0027377482, -0.00892678, -0.0133250831, 0.0121631697, 0.0070345136, -0.0167857688, -0.0251791347, -0.0007963679, -0.0117407218, 0.007503123, -0.0197121911, -0.0099865003, -0.0621351451, 0.0603215843, 0.1167610362, -0.0123536186, -0.0014195044, -0.004623313, 3.057e-7, -0.0425935909, 0.0329772085, -0.031502746, 0.0111950347, 0.0171762742, 0.0291373413, 0.0299099889, 0.0221867301, 0.0081029795, 0.0211672224, 0.0348745845, 0.0112234401, 0.0118904877, 0.0542925484, -0.0931374058, 0.0364862308, 0.0180157535, 0.030755505, -0.0894954801, 0.0692335293, 0.0731668323, -0.0107936524, 0.0048281029, -0.0364024974, -0.0042732181, 0.0203039125, -0.0031529218, -0.014812462, -0.0085870903, 0.0284691416, 0.0151372617, 0.0036103094, 0.03650086, 0.0180642586, -0.0005513489, -0.0065017268, -0.0042856722, 0.042484872, -0.0141875064, 0.023144016, 0.0349190496, -0.0147895431, -0.0036184327, -0.0289359987, -0.0018785673, 0.0063104979, -0.0527575649, -0.0146543533, -0.0189370234, -0.039924562, -0.0217743963, -0.029655559, -0.0173531473, 0.0540595502, 0.0138279982, -0.036811918, -0.0253781602, -0.0208358765, 0.0627845377, -0.0018980909, -0.001806448, -0.042328842, -0.0234902445, 0.0265675429, 0.0434015952, -0.0310704708, 0.0451080352, 2.189177772e-34, -0.0653796718, 0.0625608787, -0.0014970477, 0.0044190707, 0.0451884605, 0.0605459921, 0.0261331182, 0.0599829964, 0.0790876821, -0.0218207967, -0.0105115436 ]
http://arxiv.org/abs/2310.06390v1
http://arxiv.org/pdf/2310.06390v1
P5: Plug-and-Play Persona Prompting for Personalized Response Selection
2023-10-10T07:53:36
2023-10-10T07:53:36
Joosung Lee, Minsik Oh, Donghun Lee
cs.CL
cs.CL, cs.AI, cs.IR
The use of persona-grounded retrieval-based chatbots is crucial for personalized conversations, but there are several challenges that need to be addressed. 1) In general, collecting persona-grounded corpus is very expensive. 2) The chatbot system does not always respond in consideration of persona at real applications. To address these challenges, we propose a plug-and-play persona prompting method. Our system can function as a standard open-domain chatbot if persona information is not available. We demonstrate that this approach performs well in the zero-shot setting, which reduces the dependence on persona-ground training data. This makes it easier to expand the system to other languages without the need to build a persona-grounded corpus. Additionally, our model can be fine-tuned for even better performance. In our experiments, the zero-shot model improved the standard model by 7.71 and 1.04 points in the original persona and revised persona, respectively. The fine-tuned model improved the previous state-of-the-art system by 1.95 and 3.39 points in the original persona and revised persona, respectively. To the best of our knowledge, this is the first attempt to solve the problem of personalized response selection using prompt sequences. Our code is available on github~\footnote{https://github.com/rungjoo/plug-and-play-prompt-persona}.
[ 0.0867136046, 0.0189418811, -0.0255681705, -0.0056618256, -0.0257896893, -0.0026267311, 0.0364746116, -0.0025632291, 0.0564560704, -0.0088382298, -0.0220857952, 0.0116807241, -0.0152811073, 0.0374987386, -0.0045589427, -0.0660171732, 0.0446491241, -0.0035035796, 0.002453597, 0.0038521928, 0.0179025605, 0.0349287316, -0.0278208032, 0.0790508166, -0.0245085843, -0.024355758, -0.023895409, -0.0001841565, 0.019223012, -0.0081522083, 0.0391594991, 0.0492892303, 0.0170229096, 0.0023310883, 0.0000019829, -0.0501813553, -0.0218146797, -0.0321385749, -0.0410304666, -0.0605609231, 0.0097651174, 0.0759561434, -0.018101396, 0.0348974615, -0.0617226586, -0.022055367, 0.0354834758, 0.0472698361, 0.0671986118, 0.0641587377, -0.0215271916, -0.017291978, -0.0116495145, -0.0125905722, 0.0007447278, -0.0123135448, -0.0098151844, -0.0576221049, 0.0558644049, 0.0435876325, 0.0060480605, -0.0013464049, -0.011477924, -0.0270568728, 0.0385058224, 0.0300404113, -0.0300947968, -0.0489481501, -0.0094544888, 0.1005844399, 0.058923766, -0.0038402718, 0.0033864875, 0.0223344583, 0.0530583635, -0.0206744429, -0.0444774814, -0.0307339225, -0.0169934109, -0.0217028726, -0.0565002002, 0.0296894219, -0.0484702773, 0.0073258509, -0.0370126814, 0.0375122167, 0.0189189129, -0.0213684812, 0.0086055519, 0.0074345679, 0.0150462007, -0.0568880774, 0.0171629246, 0.0190444123, -0.0566827506, -0.000817506, -0.0265481621, 0.013471581, -0.0010286029, 0.0138286175, -0.0124164904, 0.0578938909, -0.0216085091, 0.0304905139, 0.0198418759, 0.0447026379, 0.0211703032, -0.024243718, 0.0047457414, -0.0227789711, -0.0594651736, 0.0016184979, -0.0520783141, 0.0564377308, -0.0228196923, 0.0013476142, -0.0320187099, 0.0451727435, -0.0128768543, -0.0103093581, -0.0206211098, 0.0393215753, -0.0522781685, 0.0403597914, -0.0576317608, 0.0199448504, -0.0835359916, -0.0248025618, 0.0219779555, -0.0844570994, -0.0044069695, 0.0235444792, 0.021583382, -0.0187328737, -0.0135269146, 0.0139628788, -0.011516205, -0.0779431015, 0.0332470424, -0.021338677, -0.034589693, -0.0708250776, -0.0387649722, -0.0368242264, 0.0246980339, -0.0024633345, -0.0273926444, -0.0074033197, 0.0173086207, 0.0365640335, 0.0006854775, 0.0394217893, 0.0166739952, -0.0139437355, 0.010999619, 0.0159650259, -0.0316659063, 0.0289609265, -0.0226092134, 0.0404069088, 0.0516341887, 0.0031146707, 0.0258542579, 0.0059335697, -0.0101239765, -0.0067762882, 0.0416276082, 0.0314799845, 0.005625858, -0.0060968362, 0.028314285, 0.0092444587, -0.049022045, -0.0256169382, 0.0410427898, 0.0730732009, -0.0404223464, 0.0250351727, 0.0454654694, 0.0549089313, 0.0225439295, 0.0120870527, -0.0297862515, 0.0339003876, -0.0268981215, -0.0427728593, 0.0193348955, 0.0160025824, -0.0484478697, -0.0253657773, 0.0637594983, -0.0193024315, 0.0313282982, 0.0109178266, 0.0160955824, 0.0104427105, -0.0587366596, 0.0398735814, 0.0116088372, -0.0686757565, -0.0522017181, -0.0194178913, 0.0307997297, 0.0589500666, 0.064772591, -0.001718534, -0.0028354879, -0.0247592945, -0.0213245228, 0.0309173651, 0.028861111, -0.0188724305, 0.0053857598, -0.0336024798, -0.0315431915, 0.0108104367, -0.0401640907, 0.0466055758, 0.0249978267, 0.0153998164, 0.0069821482, 0.0760734975, 0.0550884828, -0.0052901204, -0.0241676904, -0.0000641833, 0.0171661507, 0.0177412946, 0.0340214148, 0.0395003669, 0.0304783955, -0.0229114033, 0.0275635477, -0.0022358047, -0.0125797419, 0.0172893107, -0.0238275379, -0.0402420536, 0.0204460509, -0.0102836424, -0.0262193698, 0.0497209132, 0.0032240977, -0.0364155322, 0.024583973, -0.037847884, 0.0347536355, -0.0463873409, 0.0073707863, 0.008785096, 0.0515332706, -0.05024717, 0.0460754111, 0.0170378424, -0.0103891371, 0.0393361412, 0.029794706, -0.020051606, -0.0927613899, -0.0107422182, 0.0200441517, -0.0007407487, -0.0221274812, 0.0399084538, -0.0132605834, -0.057548862, -0.0195426065, -0.1259260774, -0.0047963057, -0.005049672, -0.0244281329, -0.0378120542, 0.0577828251, -0.0244116951, -0.0545053557, -0.0652202368, 0.0284544565, 0.0223453902, 0.0108882245, 0.0564961843, 0.0005277247, -0.0119175678, -0.049587097, 0.0238937568, 0.014507818, 0.0272794366, -0.0095188543, -0.0176979676, -0.0265962034, 0.0018359537, -0.0644033253, 0.0515758097, -0.0037034736, -0.0458752103, 0.0521327481, -0.0196325835, 0.0549538024, 0.0506344512, 0.0522088595, 0.034277238, -0.0378047749, 0.0179877672, -0.0928380266, 0.0399715751, -0.0239632092, -0.0062323259, 0.007277315, -0.0079544783, 0.0316445753, 0.0192535743, 0.0089728646, 0.0072979927, -0.0903901085, 0.0409713089, 0.0450315252, -0.0173332319, 0.0167440288, 0.0363725722, -0.0146126403, 0.0419163629, 0.0041991505, -0.0294637624, 0.0908698514, 0.0075390502, -0.0285532121, -0.0254120361, -0.0028459185, -0.0242300443, 0.030334441, -0.0406919345, -0.0040652119, 0.016031947, -0.044581607, -0.0574638657, -0.0287790857, 0.0079012699, -0.0362271518, 0.0082303714, -0.0025989793, 0.0113198617, 0.0189168435, -0.0577397533, -0.058451537, -0.0491102077, -0.0182765387, -0.0408218466, -0.0158018265, -0.0046965862, -0.040044412, -0.007874052, 0.0097229248, 0.0264173802, -0.0338950679, -0.0005058076, -0.0296681486, -0.0210473239, 0.0204542167, 0.0331916213, -0.0074830921, -0.0005834464, 0.0590276942, 0.0405720174, 0.017935954, -0.0151114771, 0.0069501242, -0.0204248913, 0.0518987812, -0.0297675356, -0.0516727082, 0.0154682416, 0.0365672037, -0.0023919402, -0.0201837327, 0.1096239239, 0.0295281801, -0.0589794777, -0.010039445, -0.0145981191, 0.0416423306, 0.0221511628, 0.0624119006, -0.0257236566, -0.0282417834, -0.0055972445, 0.0627635047, -0.0168605894, -0.0488449857, -0.0062940894, -0.1202322319, 0.0314489454, -0.0183414854, -0.0263446197, -0.0303787906, -0.0491471663, 0.0252592098, 0.0007504903, -0.0075379508, 0.0092619713, 0.0007465302, 0.0045842091, -0.0126920706, -0.008114757, -0.0276145544, 0.0316876881, -0.0122107742, 0.0451117605, 0.0830366164, 0.0703320727, 0.0520410389, -0.0097648557, -0.0506994016, 0.0486458726, 0.0124323294, -0.0369460173, 0.0771425813, -0.0014299317, 0.0016744721, -0.0575267635, 0.0123868762, 0.0011720672, 0.0156141184, 0.021360917, 0.0162265636, -0.0514810309, 0.0487035215, -0.0189951137, 0.0434026085, 0.0318142846, 0.0461758673, 0.0065083611, -0.0565838404, -0.0409603864, -0.0102041224, 0.0080574285, -0.0195857622, -0.0338083357, -0.02630697, -0.0219546407, -0.0325189084, -0.0971879587, -0.0665792674, 0.027586963, 0.053871531, -0.0103128189, -0.0262445007, -0.0237846654, 0.039545808, 0.011822409, 0.0168359447, -0.0365622267, -0.0020709038, -0.0787571743, -0.0238473341, 0.0410103276, -0.0584874824, 0.0144152446, -0.0270622373, -0.0198344458, -0.0354885906, -0.0174937341, 0.0596785024, 0.0226182938, 0.0623621047, -0.024980668, -0.0620779581, 0.0051931036, 0.0080832671, -0.039814014, -0.0112794638, 0.0392323546, 0.0579304285, -0.0454329699, 0.0328249373, -0.0343069024, 0.0223710798, -0.0052469182, 0.0132816778, -0.0198442284, -0.0925477818, 0.019508332, 0.0222046562, 0.047744371, 0.0218832269, -0.0204982031, 0.0019805147, 0.0110222399, -0.0298370719, -0.0140849147, -0.0283362679, -0.0066369162, -0.0272304211, -0.021973636, 0.0318870768, -0.0442660674, -0.082250759, 0.0588197745, -0.0228677373, -0.0265180655, 0.0129870791, 0.0098188277, 0.0155639555, -0.0040581445, -0.0335121863, 0.018584393, 0.0274524502, 0.042619057, -0.0097500496, 0.0692484006, -0.0130645446, -0.0171076059, 0.0117959687, 0.0297825895, -0.0724224523, -0.0044810665, 0.0273315124, 0.0549376532, 0.0094867172, 0.0190750677, 0.0239358265, -0.0059317569, 0.0166445822, -0.0311572719, 0.0328232013, 0.0047140974, -0.024315035, -0.0247448031, 0.0198880788, -0.0297925919, 0.0184966139, 0.0423700474, -0.0418767408, -0.0087958146, -0.0216434281, -0.0078037349, -0.0699253753, -0.0154543724, 0.0212843772, 0.0269317962, 0.0045323409, 0.0094940867, -0.0532441586, -0.0185958352, -0.0021221307, -0.0206337404, -0.0602774657, -0.0046695871, 0.057083711, 0.0353956185, -0.0103978841, -0.0189718194, -0.0765179247, 0.0312186815, -0.0293876193, -0.0344590805, -0.0103694387, -5.455023329e-33, -0.0409015305, -0.0098495176, 0.0115130786, 0.0072819474, -0.0375185981, -0.0281276945, -0.0385697447, 0.011735999, -0.0032471453, -0.0239141397, -0.0549377576, -0.0197633207, 0.016314311, 0.0129396431, -0.0187228303, -0.00873187, 0.0590260141, 0.0079138521, -0.0249782801, 0.0604983754, 0.071732454, 0.0451894999, 0.0011491446, -0.0397245623, 0.0382515118, -0.0299875382, 0.0180800334, 0.0160294976, 0.0398228057, 0.0717370883, 0.0116229886, 0.0308277123, -0.0037690743, -0.0023793573, 0.0099903047, 0.0529871471, -0.081668295, -0.0677495003, -0.0097840205, 0.0276030004, -0.0148499841, -0.0494986363, -0.0101094889, -0.0558228642, 0.0084361602, 0.0436346941, 0.0442690477, -0.0085874423, -0.000135903, 0.0183317792, -0.0287578087, -0.0121677304, -0.0190442577, -0.0453419574, -0.0142540317, 0.1114623845, 0.0096023893, 0.0181640815, -0.0364348516, 0.0426688157, -0.0510887913, -0.0195068326, 0.0036833675, 0.0386570729, 0.0313332379, 0.0349157751, 0.0316997021, 0.0227816403, -0.0154817495, -0.0159973335, 0.0265932437, 0.0204273388, 0.0148485797, 0.0649746507, -0.0214982647, -0.0099026971, -0.0368485786, 0.0518587008, 0.093212679, 0.0177434571, 0.0164563265, 0.0025232425, -0.0788167864, 0.004141184, 0.0076866113, 0.0032626253, -0.0136092994, -0.0508612692, 0.0222378094, 0.0115016056, -0.0713176951, -0.0553239472, 0.0323172919, -0.0364139453, -0.0036706943, 0.0278892461, -0.0396981053, -0.0095145898, 0.012576079, -0.0020399254, -0.0189627521, -0.0158546995, 0.0629111081, -0.0507022142, 0.0024015827, 0.0274345241, -0.0221134797, 0.0034399712, -0.0585110262, -0.034893278, -0.0025501058, 0.0657746494, -0.0337946117, 0.0505295843, -0.0041306443, 0.0289231203, -0.02788065, 0.0567468368, 0.0082346452, -0.0031140775, -0.0405599028, -0.0274481829, 0.013868073, -0.020357281, -0.0391246527, 0.0028298746, -0.0238293409, 0.0253934003, 0.0208044052, -0.0265688766, -0.0259060357, -0.0019335346, 2.598e-7, -0.0461313725, 0.0063090934, 0.0102467742, 0.0187214352, 0.0106176976, 0.0565588735, 0.0223985575, 0.0478183813, 0.0267378204, -0.0103600146, 0.0124797486, 0.0403446034, 0.0595589802, -0.0006407194, -0.129549101, -0.0202876944, 0.0094961543, -0.0007084337, -0.048712045, -0.0113095893, 0.0812769458, 0.0521055087, 0.0449867621, 0.0088039283, -0.0086275619, 0.0513114855, 0.0396914631, 0.0145361563, -0.0206204653, 0.0046520559, 0.0368462019, 0.0068622706, 0.001899582, 0.0423635133, 0.0138051864, 0.0270625111, 0.0120208999, 0.0545296296, 0.0063045798, -0.0524620079, 0.0285098311, 0.0209143236, 0.0122935753, -0.0243041329, 0.0589616597, -0.051846575, -0.020290941, -0.011224851, -0.0325617641, -0.0139519442, 0.0252068061, -0.0224320982, -0.0639612749, 0.0476429462, 0.0114014782, -0.0182565413, 0.0073041879, -0.0739173815, 0.0357518345, -0.0332120396, -0.0275007486, -0.0583216995, -0.016752556, -0.009591613, 0.0100444509, -0.0197008699, 0.0293717589, 2.037114261e-34, -0.0188514125, 0.0300394595, 0.0071655144, 0.0291564818, 0.0181447398, 0.0006563264, 0.0100722704, 0.0077080894, 0.0759528726, -0.0487210043, -0.0230096299 ]
http://arxiv.org/abs/2310.06387v3
http://arxiv.org/pdf/2310.06387v3
Jailbreak and Guard Aligned Language Models with Only Few In-Context Demonstrations
2023-10-10T07:50:29
2024-05-25T07:01:15
Zeming Wei, Yifei Wang, Ang Li, Yichuan Mo, Yisen Wang
cs.LG
cs.LG, cs.AI, cs.CL, cs.CR
Large Language Models (LLMs) have shown remarkable success in various tasks, yet their safety and the risk of generating harmful content remain pressing concerns. In this paper, we delve into the potential of In-Context Learning (ICL) to modulate the alignment of LLMs. Specifically, we propose the In-Context Attack (ICA) which employs harmful demonstrations to subvert LLMs, and the In-Context Defense (ICD) which bolsters model resilience through examples that demonstrate refusal to produce harmful responses. We offer theoretical insights to elucidate how a limited set of in-context demonstrations can pivotally influence the safety alignment of LLMs. Through extensive experiments, we demonstrate the efficacy of ICA and ICD in respectively elevating and mitigating the success rates of jailbreaking prompts. Our findings illuminate the profound influence of ICL on LLM behavior, opening new avenues for improving the safety of LLMs.
[ 0.0294035934, 0.0620036349, -0.0262179244, 0.0232038405, -0.0353510641, 0.0034172491, 0.0236243475, 0.0072728847, 0.0358306095, -0.0178950001, -0.027675055, -0.0455490537, -0.0009691884, 0.0008574743, 0.0329724662, -0.0088597732, 0.057370685, -0.0669019222, -0.0081136478, 0.0074674012, 0.0331334174, -0.023720026, 0.0086490717, 0.0281220637, -0.0114629027, -0.0156513155, -0.027377909, 0.0124998568, 0.0132857524, -0.0429194532, 0.0171175189, 0.0534366444, 0.0187813453, 0.0676366463, 0.0000020177, -0.0459227934, -0.0226681288, 0.0076941499, -0.0305523314, 0.0281472579, 0.034827482, -0.0605665967, -0.0496956185, 0.019362459, -0.0513979271, 0.0182194281, 0.03423113, 0.0419347771, 0.0506191105, 0.0625159591, 0.0113768633, 0.0175095703, 0.0524317212, -0.014043754, -0.0146465674, -0.0590507984, 0.0246717837, -0.0357095413, 0.0155822048, 0.0140554886, 0.0069548283, 0.0148987081, 0.0290511306, -0.017072171, -0.0613505505, -0.0014969256, -0.0338123851, -0.0291591734, -0.0210233536, 0.0355191492, -0.0445696451, -0.031226078, 0.0037939891, -0.0080664409, 0.0406492613, 0.0230403133, -0.0272048805, 0.027006859, 0.0120969927, -0.0102856783, 0.0102196969, -0.0019697242, 0.0696421638, 0.0102185803, 0.0289540198, 0.0409100279, 0.0008900692, -0.0582708903, 0.0006519891, -0.0170202889, -0.0036752364, -0.0569879152, -0.0171513204, 0.0031447005, -0.0273166467, 0.0418025255, -0.0803555027, -0.0290549956, 0.039306581, -0.0510505512, -0.0037335611, 0.0356699526, 0.0038886922, 0.0107961036, -0.0058799698, 0.0210481398, -0.0219830051, 0.0457508117, -0.0039431844, 0.0595064089, 0.0021660612, -0.040139582, -0.0041294899, 0.0056037875, -0.0199280027, -0.0088727623, 0.0008413541, 0.0419510826, -0.0384675413, 0.0338476077, -0.0703248158, 0.002907902, -0.0142848054, -0.0014187745, 0.024504764, -0.0278131273, -0.0065517402, 0.0066819154, 0.0172691233, -0.0596339144, -0.0346429087, -0.0061407597, -0.0707929283, -0.021998832, -0.0151417293, 0.1015546918, 0.00711666, -0.038583003, -0.0528608747, -0.0469962806, -0.0391862728, -0.0437527411, -0.0026941677, -0.080561772, -0.0027027463, 0.0082408506, -0.0202268045, -0.0766328126, 0.023161741, 0.0145742837, -0.0268945955, 0.063597165, 0.0307884067, -0.0032953199, -0.0039785788, 0.0560377873, -0.0024878436, 0.0787711069, 0.0058428366, 0.0108539434, 0.0225661527, -0.0177180991, 0.0466704108, 0.0598147027, 0.0213290434, 0.0555031374, -0.0350811295, -0.0191288888, 0.0639123842, 0.0116584981, -0.0102813318, 0.0338413939, -0.0006256445, 0.0042012087, 0.1039884388, 0.0614470243, -0.0624708831, -0.0005689624, -0.0445660129, -0.0410487801, -0.0027001603, 0.0185753386, -0.1035978496, -0.0040568365, -0.0737095177, 0.0064374814, -0.0278760791, 0.02611316, -0.007506961, 0.0139585538, -0.0099879866, -0.0040906565, 0.0275192801, 0.0319120921, 0.0051966282, 0.0258181803, -0.0242412332, 0.028383201, 0.0352354236, -0.0310896579, -0.0224614982, -0.074085176, 0.0245076474, 0.0515637286, 0.0494247898, -0.0186605733, 0.0015826935, -0.0381222181, 0.0341944396, 0.0429214574, 0.0001731609, 0.000840787, -0.000382268, 0.0069355662, -0.0180904437, -0.0412184782, 0.0246855244, -0.0093633868, 0.0270709153, -0.0128957303, -0.0151379341, -0.0019955649, -0.0385694131, 0.0318650492, -0.0189342014, -0.0378425978, -0.0468932241, 0.0232199654, 0.0051338933, -0.0018870207, -0.0292438958, 0.002674859, 0.0613798983, -0.0003434318, 0.0615118183, -0.0023348026, -0.0677207038, -0.0126152392, 0.036980588, -0.0034443436, -0.0151063427, 0.0434451215, 0.0046818512, -0.002983425, 0.0129264984, -0.020122055, 0.0784524456, 0.0087582087, 0.0527942292, -0.0249696691, -0.0063046459, -0.0443826579, 0.04520078, -0.021593241, -0.0039725835, 0.0281697717, 0.0130774044, -0.001573964, -0.0061157518, -0.0539507307, 0.0040014139, -0.0348135158, 0.0384378806, 0.014802794, -0.0028766447, -0.0171292759, -0.0198771656, -0.0365046002, -0.0054138978, -0.0316231698, 0.0114714969, 0.0374104865, 0.0125122732, -0.0318780728, -0.0179260354, 0.0019272789, -0.0387538895, 0.0211079326, 0.0335087515, -0.0103676459, -0.0044068331, -0.0516896136, -0.0220398773, 0.0029713174, -0.014086714, 0.0398170277, -0.0344990157, -0.006414338, -0.0261210632, 0.0114828581, 0.0322468728, 0.0408601239, -0.0265137888, -0.0160780065, 0.0654361099, 0.036671482, 0.0220740102, 0.082062602, 0.0155011313, 0.0576474331, 0.0778152049, 0.0310701821, -0.0606774986, -0.0054107555, 0.0300454516, -0.0462224856, -0.0456622094, -0.043339517, -0.0049697338, 0.0556987152, 0.015165017, 0.020587353, -0.0278253648, 0.0436155647, -0.0181788765, -0.0684998259, -0.0272852983, -0.0695975721, -0.0789864734, 0.0042480966, -0.0316827521, -0.0871400014, 0.0668508559, -0.0226449799, 0.0258671548, 0.0014050307, -0.0192472748, 0.0208115801, 0.0568192378, -0.0216363873, 0.0227979217, 0.0429923497, -0.0359445922, -0.0381472372, -0.0164027344, 0.0071197222, -0.0140739251, 0.0494308583, -0.0572143644, -0.0081737367, -0.0082220752, -0.0650286004, -0.0670066774, -0.073076196, -0.0098891268, -0.0144083761, 0.0146044502, -0.0178378113, 0.0010397818, -0.019024292, 0.0484650768, -0.0012686233, -0.0103517473, 0.0036162448, -0.0348973237, 0.0062462185, 0.0582944416, -0.0268365126, 0.0087216124, -0.0441542231, 0.0403490178, 0.0812377408, 0.0532509126, 0.0094145145, -0.0137044005, 0.0148305967, 0.036911916, 0.0144969523, -0.0088731973, 0.0505281352, 0.0679903552, -0.03505731, -0.0331332125, 0.0565947816, 0.0256547034, -0.0226623826, 0.046824865, -0.0133069623, 0.0389573388, 0.0098159527, 0.0141707687, -0.0439630337, -0.0221268069, 0.026555296, 0.0491514429, -0.0211370103, 0.0059715854, -0.0090158461, -0.1089669317, -0.0001065101, 0.0302618835, -0.0473537371, -0.0109999245, -0.0224816725, -0.0081833182, 0.0247138049, 0.0605870001, 0.0103193382, -0.0138214016, -0.0289236922, 0.0225443095, -0.001514248, -0.0398447737, 0.0087885717, -0.0418193899, 0.0644295961, 0.0756283253, -0.0321352482, -0.0383465029, -0.0162547827, 0.0537394769, -0.0047645345, 0.0204708744, 0.0244326014, -0.0054146932, 0.0090631768, 0.0098871114, -0.0166397486, 0.056249056, 0.0052478719, -0.0684890524, 0.0338609628, 0.0730507895, 0.0057515865, -0.0094137667, -0.0340403132, -0.0378299952, 0.041543033, 0.0415590629, 0.0223776717, -0.0660299212, -0.0198820923, -0.0554139093, -0.0363802202, -0.0188298784, -0.0228652954, 0.0024637892, 0.0361389145, -0.0105335573, -0.0246017613, -0.0107624168, -0.0210217163, 0.0435816534, 0.048981268, -0.0133136129, -0.0494006276, 0.0023154549, 0.0128865968, 0.0211998671, -0.0037107551, 0.0576773658, -0.0597544648, 0.0430024713, -0.0409358367, -0.037465442, 0.0085901599, 0.0122785764, -0.0630439967, -0.1057970822, 0.0358076878, 0.0629418418, 0.0290361606, 0.0398384109, -0.0167380925, -0.0560186133, 0.0655132756, 0.0726430193, -0.0467044562, 0.0275884699, 0.0586345941, -0.0411733314, 0.0098460931, 0.0237401836, -0.0223367605, -0.0462906621, 0.0683582798, 0.0256102495, -0.0581800677, -0.0002897501, 0.0454066247, 0.0096807312, 0.0104857292, -0.0380345695, 0.0068402202, 0.008977063, 0.0169478282, 0.0041568209, -0.0392157026, 0.0167038087, -0.0087651415, 0.0353346244, -0.019608127, 0.0339592695, 0.0010699584, 0.0054840096, 0.0105624627, -0.0200252067, 0.0273496825, 0.0355178006, 0.0302534774, 0.0545765236, 0.0381533727, -0.0183137693, 0.0667950809, -0.0388703868, 0.0195030291, 0.0041641211, 0.0606063418, 0.0051045096, -0.0136914924, -0.0247429181, 0.0512229316, -0.0686762631, -0.0241375454, -0.0137707042, 0.0393628851, -0.0082214288, -0.0233196374, 0.0193296503, -0.031806618, -0.0059968727, -0.0281725302, -0.0212710351, -0.0087020891, -0.0759384409, 0.0326500796, 0.0152271148, 0.0027102542, 0.0134478202, 0.0608117543, -0.0051520392, 0.0600938424, 0.0159415938, 0.0098569319, -0.0220887922, -0.0141817778, 0.0879472792, 0.0316188298, -0.0585923232, -0.0197117906, -0.0689547211, -0.080655165, -0.0392224826, 0.0253427774, 0.0119610708, -0.033915218, -0.0109285936, 0.037426509, 0.0008025274, -0.0027491141, -0.0217114463, 0.01338463, 0.0403605513, -0.0306511112, -0.0210712366, -5.834378131e-33, 0.0144357393, -0.0371375419, -0.0316147134, -0.0267984476, 0.0044365646, -0.0189391803, -0.0194148421, 0.0443406552, -0.006996417, -0.0271182451, -0.0276226848, -0.0048396755, 0.0019767659, 0.0015687236, -0.0217937008, -0.0344928354, -0.0060848789, -0.0063241627, -0.047951825, 0.0205846317, 0.0282532666, 0.0159742162, 0.0095829079, -0.0779293925, 0.0707081631, -0.032822825, -0.0370727666, 0.0025660123, -0.0848694816, 0.0691363513, -0.008448788, 0.0389219932, -0.0018539845, -0.0294829886, 0.0017778208, 0.0824839249, 0.0163840204, 0.0104205152, 0.0323386155, 0.0015321976, -0.0212499537, -0.0432514474, 0.0381218456, -0.014181722, -0.0439536944, 0.0080516506, -0.0126698837, -0.0147724627, -0.0357597545, 0.010353893, -0.0537201278, -0.002882011, -0.0140284821, -0.0449643172, -0.015902523, 0.0058754999, -0.0033382848, -0.027807638, -0.0368710794, 0.0247004163, 0.0486131571, -0.0020842252, 0.0798241869, 0.0241278801, -0.0046587409, 0.0827552602, -0.0418188684, 0.01044452, 0.0226243455, -0.0412193462, 0.0221673213, 0.0355887003, 0.0572883673, 0.0694309846, 0.0419074707, -0.0398663506, -0.0435774922, -0.0072886548, 0.0268776193, 0.0159131642, 0.0488688946, 0.0060760104, -0.0564061105, -0.0244515538, -0.0240199268, 0.0044978429, -0.0131866755, -0.047186505, 0.0452787988, 0.0196017697, -0.0262998305, -0.0431758426, 0.0047307406, -0.0454070568, -0.0243434422, 0.0311470255, 0.0074053239, -0.0009918065, -0.006590283, 0.0151621141, -0.046188958, -0.0117727779, -0.0188726075, -0.0260525513, 0.0241654832, 0.0058045951, 0.0596690774, 0.0492426045, -0.066980958, 0.0102071883, -0.0269814804, 0.0549943969, 0.0425438471, -0.0366358422, 0.0578451715, -0.0212974325, -0.0070855976, -0.0037804199, 0.0368907079, -0.0402799584, -0.062167652, 0.0333697163, -0.0590200201, 0.0051239827, 0.000889506, -0.0056829611, -0.0074798674, 0.0562539026, 0.0353949927, -0.078276515, -0.0019386022, -0.0096547743, 2.722e-7, -0.0146774612, -0.007802363, 0.0141226985, 0.0029066689, 0.0262269769, 0.0631234348, -0.044854369, 0.0894268826, 0.0117702652, -0.0393155925, -0.0262866411, -0.0104959542, 0.0571075529, 0.0322241969, -0.0419808626, 0.0337942429, -0.0933020636, 0.0425517075, -0.051349096, 0.0082023218, 0.008926874, 0.0814385489, -0.0080801127, -0.0178812388, -0.0045348606, -0.0563003272, 0.0320620835, -0.0220882315, 0.0098303556, -0.0293227229, -0.0181118436, 0.0264174398, 0.0068094027, 0.0293677803, -0.012497901, 0.0034233825, -0.0486066043, 0.0363683999, 0.0059990999, -0.0078340452, -0.0224563275, -0.0307894237, -0.0160979051, -0.0639044419, 0.0633881539, -0.0173988622, -0.0008622259, -0.0264696199, 0.0350441672, -0.0425969437, -0.0106909722, -0.017680198, -0.0050744484, -0.0111858891, 0.0104151843, 0.023959687, 0.0069284914, -0.0462604016, -0.0447045602, 0.0280951504, -0.0013474348, -0.0598821454, -0.0277347565, 0.04904183, -0.0054626139, -0.0618758313, 0.0087863375, 2.559559741e-34, -0.0165520776, -0.0502614081, 0.0340801254, 0.0252297521, 0.0115627898, 0.0116477851, 0.0383279286, 0.0246085115, 0.0448254831, -0.0324848518, -0.0131100528 ]
http://arxiv.org/abs/2310.06374v2
http://arxiv.org/pdf/2310.06374v2
Rethinking Model Selection and Decoding for Keyphrase Generation with Pre-trained Sequence-to-Sequence Models
2023-10-10T07:34:45
2023-10-22T08:37:43
Di Wu, Wasi Uddin Ahmad, Kai-Wei Chang
cs.CL
cs.CL
Keyphrase Generation (KPG) is a longstanding task in NLP with widespread applications. The advent of sequence-to-sequence (seq2seq) pre-trained language models (PLMs) has ushered in a transformative era for KPG, yielding promising performance improvements. However, many design decisions remain unexplored and are often made arbitrarily. This paper undertakes a systematic analysis of the influence of model selection and decoding strategies on PLM-based KPG. We begin by elucidating why seq2seq PLMs are apt for KPG, anchored by an attention-driven hypothesis. We then establish that conventional wisdom for selecting seq2seq PLMs lacks depth: (1) merely increasing model size or performing task-specific adaptation is not parameter-efficient; (2) although combining in-domain pre-training with task adaptation benefits KPG, it does partially hinder generalization. Regarding decoding, we demonstrate that while greedy search achieves strong F1 scores, it lags in recall compared with sampling-based methods. Based on these insights, we propose DeSel, a likelihood-based decode-select algorithm for seq2seq PLMs. DeSel improves greedy search by an average of 4.7% semantic F1 across five datasets. Our collective findings pave the way for deeper future investigations into PLM-based KPG.
[ 0.0690188929, 0.084723562, 0.0012772795, -0.0050683925, -0.0279079657, -0.0245647002, -0.0123493606, 0.0299794413, -0.0104078501, -0.0576678254, -0.0304583739, -0.0241595712, -0.0420342721, 0.0521066748, 0.0211474914, -0.0280613191, 0.0607730523, -0.0226018578, 0.0061193057, 0.0059075663, -0.0178091563, 0.0149899451, 0.0131717687, 0.053515926, 0.0340028517, 0.0256735627, -0.0437125787, 0.002211692, -0.0012669816, -0.0404819362, 0.0117154885, 0.0729566738, 0.0130186733, 0.0079637775, 0.0000020506, -0.0295983981, -0.0229067933, -0.0387835503, -0.0223403405, 0.054049354, 0.0252720825, -0.0173271839, 0.0408347212, 0.0274156556, -0.0543402284, -0.0414373353, 0.0535828583, 0.0306191742, 0.0360529348, 0.0597229004, -0.0073666349, -0.048401434, 0.0151196811, -0.050707411, 0.0067113834, -0.0868100002, 0.0042024339, -0.0550903045, -0.0097384546, 0.0272624791, -0.0006733843, 0.0503735319, -0.0028333263, 0.0263656974, 0.0945498869, 0.0171831977, -0.0149713075, -0.0500483029, -0.044780612, 0.0776834413, -0.0439756848, -0.0217501707, 0.0221979041, -0.0373684205, -0.0131145706, 0.0067575877, -0.0178747848, 0.0113162054, 0.0118443109, 0.008202577, 0.0129206292, 0.0065445844, 0.018217694, 0.0261022616, -0.0607188232, -0.0119259171, 0.0505481698, -0.0211327821, 0.0062082149, 0.0139447236, -0.079108879, -0.0402120017, 0.0319244601, -0.0009308173, -0.0344194919, 0.0362846963, -0.0763326138, -0.0153734069, 0.0378778242, -0.0508102067, 0.0674639642, 0.0296083298, 0.0287410077, 0.0121935466, -0.0379685573, 0.0454468094, 0.0091826869, 0.0388831459, -0.0459569544, 0.0131034823, -0.0412739664, -0.0153752696, -0.0475513898, 0.0323704891, 0.0007971223, -0.0553208292, -0.0262732729, 0.023064075, 0.07525675, -0.028329324, 0.0151780378, 0.0145057393, -0.0378437713, 0.0112971924, 0.0007937255, 0.0026454043, -0.0047371057, 0.0125235952, 0.0336360745, -0.0279722679, -0.0436432138, -0.0055289133, 0.0256974474, -0.0461172648, 0.0130135063, 0.0263187252, -0.0091217421, -0.0807560161, -0.0237419829, -0.0219947733, -0.0327439606, -0.0029815764, 0.0115505988, -0.0495639555, 0.0429729074, 0.008472777, -0.0251049828, -0.0434640832, 0.0297152176, 0.0224530045, -0.0599495173, 0.0463603251, -0.0020091394, 0.0154700233, -0.0231414102, 0.0028597729, 0.0155082699, 0.0462503619, 0.0150235416, 0.0433544181, 0.0503303073, -0.0284809228, -0.0000798796, 0.0318858922, 0.0269401949, 0.0068769716, 0.0281465575, 0.0042731636, 0.0045466651, -0.0044113719, 0.0301493984, 0.0119241979, -0.0274237711, 0.009024133, 0.0548730381, 0.08247298, 0.0332425497, 0.0356740281, 0.0264901817, 0.0511689596, 0.0035528201, -0.0445725136, 0.0092157545, 0.0022550672, -0.0118538924, 0.0336455368, 0.0759553015, 0.0383685976, -0.0194732863, -0.0491372868, -0.0164713077, 0.0188367497, -0.0131153576, 0.0131766181, 0.0514423698, 0.0317893177, -0.0951987058, 0.0853420794, -0.0054015638, -0.0561163165, -0.014962974, -0.0276040696, -0.0123198237, 0.0467861108, 0.0731786266, 0.0063062389, -0.0414463989, 0.0148495818, -0.0118510947, 0.04976473, 0.0151035041, 0.0202755909, 0.0188243762, -0.0630301312, -0.0530472659, -0.0175926629, 0.0274201576, -0.0156358723, 0.0361986309, 0.0206717104, 0.0448188148, -0.0106232082, -0.0253920406, 0.0266148727, -0.0350697711, -0.0455204584, 0.004708827, -0.0277812313, 0.0157952886, 0.0118432883, -0.0072374227, 0.0515283719, 0.0504108779, -0.0195318907, -0.001347521, -0.0120183695, -0.0562207326, -0.0447258241, 0.007906775, -0.0005140632, 0.0548832379, 0.034471672, -0.0315117091, -0.0318057239, 0.021290658, -0.0335155651, 0.0717837289, -0.046588704, 0.0262099914, -0.0104970634, 0.0139161423, -0.0472832881, 0.0480729491, -0.0034284226, -0.0164592676, -0.0198830906, -0.0083254725, 0.0056526372, -0.0294001643, -0.0009832557, 0.0335794017, -0.0120536666, 0.0119289476, 0.0235680435, 0.0364119485, -0.055661317, 0.0159180462, -0.0663185641, 0.0167810842, -0.0148254475, 0.0038647656, 0.0225189812, 0.0403604433, -0.0139929596, -0.018874703, -0.0199623108, -0.0304818731, 0.0101381997, 0.0113015138, -0.0065326244, 0.0163845345, 0.0001997704, -0.046934478, -0.0030496041, 0.0162922479, 0.0682483688, -0.0000573878, -0.0377248712, -0.0058894455, 0.0909530818, -0.0033459971, -0.0419492535, 0.0079628648, -0.0386110432, -0.0069751577, -0.0294998512, 0.0234025177, 0.0040257238, 0.0356974564, -0.0090417387, 0.0076882532, -0.0151040107, -0.0458778329, -0.0172891952, -0.0232408941, -0.0566854142, -0.0016439055, -0.018642636, 0.0675483868, 0.0981388912, -0.0206575766, 0.0204985365, -0.0768880025, 0.0338190272, 0.0056728362, -0.0252090208, -0.0237174854, 0.0258429032, -0.0111114243, 0.0505611859, -0.0419831127, -0.0231318437, 0.0290527064, -0.0199844893, 0.0106055019, -0.0770889446, 0.0380166285, 0.0043567047, 0.0549425706, -0.0303081814, 0.0068315323, 0.0300903209, -0.0303966478, -0.022860026, -0.0036569478, -0.007341587, -0.0557017401, 0.0615342818, -0.0477445573, 0.0108012138, -0.0013115632, -0.0042869379, -0.0535292141, -0.0468816832, -0.0332414582, -0.0179261025, 0.02445307, 0.0076591084, -0.0002322345, 0.022272829, -0.0206325259, 0.0299922321, -0.005754964, 0.0061543272, -0.0016843028, 0.0340911299, 0.062322963, -0.0122743053, 0.0139659178, -0.0358934514, 0.0116611421, 0.0479832962, 0.0488235615, -0.0091195069, 0.0197493657, 0.0004591104, 0.0404225141, -0.0305195525, -0.0271860342, 0.0006935538, 0.0486469232, -0.0394242555, -0.0286460258, 0.1108642966, 0.0253284108, -0.0723095313, 0.0003381757, 0.0099709081, 0.0043621436, -0.0038098781, 0.0162458606, -0.0478468537, -0.0477720201, -0.0083598271, 0.0496232212, -0.0017955779, -0.0094205784, -0.0080637103, -0.095118776, 0.0253044292, 0.0174256898, -0.0414946303, -0.026727533, -0.0535116531, -0.0096824681, -0.0203503426, -0.0025129968, 0.0189494528, -0.0338823646, 0.0487283804, 0.0067097135, -0.0127252117, -0.0736196712, -0.0001235299, -0.0485201403, 0.0028647326, 0.1036948636, 0.0131104114, 0.0139116729, -0.0199613664, -0.0041146236, -0.0052502211, -0.0112693375, -0.0159340352, -0.0044281217, -0.0237707105, -0.0143492082, -0.007906287, 0.001576441, -0.0605120584, -0.0088042533, 0.022878265, 0.0180219989, -0.0049559963, -0.0057601742, 0.0079163359, 0.0187421106, -0.0142217996, 0.0984021425, 0.044572942, -0.0350202248, -0.0514477268, -0.0102903945, 0.0212116409, -0.0968254954, -0.0652436465, -0.0019819702, -0.0152759999, 0.0162789542, -0.0522747561, -0.0474398471, 0.0364272855, 0.0217520557, -0.0214494001, 0.0297768898, -0.0069729663, -0.0093046017, -0.0557196811, 0.0304729547, -0.0249130018, -0.0491797887, -0.0609355681, -0.0426413342, 0.0050514019, -0.0420583338, -0.0100465631, 0.0127316918, -0.0744061247, -0.0163082257, 0.0225597452, 0.0576784573, 0.0137230251, -0.0013666804, 0.006202687, -0.0108168731, 0.0709214434, 0.0274927057, -0.0384938717, 0.0223851223, 0.0381649546, -0.0207780227, -0.0350748673, 0.0374197438, -0.0358599909, -0.0063635982, 0.0392815694, 0.1121052057, 0.0057500331, -0.0764233246, 0.017116582, 0.0043848427, 0.0601552278, -0.0365572236, -0.0115298433, -0.0119441841, 0.0137755051, 0.0246669892, 0.0234805755, -0.0677078068, 0.0076136794, 0.0243020207, 0.0065955091, -0.0092566181, 0.0074180504, -0.0590301007, 0.0349888355, -0.0400894843, 0.0047599017, -0.0043159407, 0.0090269689, 0.0304163639, -0.0244570058, -0.0401328877, -0.0068696318, 0.0030383957, 0.0209086537, -0.029754607, 0.0256087482, 0.0035063513, -0.0276069921, -0.023102656, 0.0725665689, -0.0681801662, -0.055771023, -0.042513106, -0.0467373095, 0.093144469, -0.0419935919, 0.0470876507, -0.0085844779, -0.0010745135, -0.0221172441, 0.0582814775, 0.0126314806, 0.008334334, -0.0224798433, -0.0030826416, -0.029763326, -0.0208580438, 0.1063663214, 0.0365472585, 0.0398198292, 0.0210740082, -0.032222636, -0.0033828581, -0.0284872614, 0.0350195915, 0.0164726544, -0.0410791487, -0.0180184916, -0.036562115, -0.0454106294, 0.0516869873, -0.0481186919, -0.0239587892, 0.0136035616, 0.0524345338, 0.0725387782, -0.0133325262, -0.0072470885, -0.0553452559, 0.0195829999, -0.0156205548, -0.0251278505, -0.0036374235, -6.792447169e-33, -0.0148762409, 0.0278266743, -0.0014170407, -0.0201015584, -0.0291930716, 0.0023534494, -0.0661737993, -0.0042112786, 0.0034891048, -0.023570016, -0.0429421104, 0.0047943057, 0.0139764315, 0.0361837931, 0.0323286876, -0.0401849523, 0.0468634106, -0.0048577702, -0.004321835, 0.0306905452, -0.0123879928, 0.0686680824, 0.0808752701, 0.0199861974, -0.014875331, -0.0086356858, 0.0376866423, -0.0499154963, 0.0218875296, 0.065691255, -0.0034559371, 0.0326714963, 0.0038336504, -0.0649746284, -0.0482393056, -0.0024348113, -0.0517629422, -0.0162073486, 0.0207671933, -0.0148075856, 0.0053510317, -0.0424066298, 0.0173515752, -0.0208420698, 0.0018094426, -0.0016919674, 0.0138327442, -0.0218231138, -0.0529526547, -0.0463365614, -0.008028171, 0.0109479735, 0.0238916539, -0.0031428218, 0.0165850036, 0.0327095501, -0.0363015272, 0.037287496, -0.0154476222, 0.0192913506, 0.0553075336, 0.0413076691, 0.0398721881, 0.0784922168, 0.0363916755, 0.0387724377, -0.0024484475, -0.0285712704, -0.0115110101, 0.062088374, 0.0407816581, 0.0330634639, 0.0135687776, 0.0198561344, 0.0685920715, 0.0076098656, -0.0452671833, 0.003448749, -0.0308506545, 0.0028634188, 0.0565436371, 0.0080735264, -0.0050217472, -0.0079835467, -0.0626142919, 0.0232251044, -0.0231567919, -0.0465618856, 0.0622927435, 0.0455262437, -0.0401579067, 0.0366476402, 0.0601807684, -0.0059106709, 0.0174045209, 0.0061236238, -0.0013545763, -0.0089799603, -0.0237928871, 0.0310599636, -0.078268066, -0.0016482217, 0.0516044088, -0.0223939363, -0.0047317203, -0.0161021203, -0.0510758497, -0.0228541661, -0.0219945423, -0.0057706675, -0.0465377755, 0.0060224053, -0.0099778231, 0.0144823566, 0.0321177877, 0.0130462814, -0.0089244731, 0.0387167037, 0.0032933615, -0.0167099461, -0.0246173386, -0.0102397762, 0.0204730872, 0.0435740873, 0.0234020036, 0.0083680451, -0.0574212298, 0.0122596789, -0.0032839947, -0.0448700041, -0.0379910171, 0.0018964572, 2.788e-7, 0.0350278653, 0.0338162258, 0.0027029053, 0.010264759, -0.0322822034, 0.0249526333, 0.013612859, 0.0420619808, -0.0317573883, 0.0074376469, 0.0255173706, 0.0504423678, 0.0417728834, -0.0187367853, -0.0897757486, -0.0253755134, -0.053408239, 0.0553855561, -0.0468976647, -0.030637376, 0.0538270026, 0.0753645077, -0.0041455207, -0.0130600035, 0.0122945802, -0.0275168177, 0.0602877662, -0.0331656821, -0.0253590718, 0.0492053814, 0.0066234237, 0.0234260689, -0.0312484223, 0.0309937187, -0.0398023911, -0.0020586832, 0.0394993424, 0.0509825349, 0.0189225804, -0.0973640159, -0.0288477968, 0.0168030616, 0.032988742, -0.0546416678, 0.0899846703, -0.0480714552, -0.0010520301, 0.0081592258, -0.057389427, 0.0212105513, -0.0185275245, -0.0433539599, -0.0073697492, 0.0083452119, 0.0191186573, 0.0319703333, -0.0271448102, -0.0722942725, 0.0114977751, 0.0002381342, -0.0127292937, 0.000175638, -0.1031718552, -0.0095541365, 0.0198351946, -0.027780775, 0.0108553516, 2.700133942e-34, 0.0176283289, -0.0246472433, 0.0046551796, 0.0451619588, -0.0023157278, -0.0259027984, 0.017912358, 0.0231380276, 0.0067090653, -0.0718252435, -0.0078056799 ]
http://arxiv.org/abs/2310.06365v1
http://arxiv.org/pdf/2310.06365v1
Multi-Modal Knowledge Graph Transformer Framework for Multi-Modal Entity Alignment
2023-10-10T07:06:06
2023-10-10T07:06:06
Qian Li, Cheng Ji, Shu Guo, Zhaoji Liang, Lihong Wang, Jianxin Li
cs.CL
cs.CL
Multi-Modal Entity Alignment (MMEA) is a critical task that aims to identify equivalent entity pairs across multi-modal knowledge graphs (MMKGs). However, this task faces challenges due to the presence of different types of information, including neighboring entities, multi-modal attributes, and entity types. Directly incorporating the above information (e.g., concatenation or attention) can lead to an unaligned information space. To address these challenges, we propose a novel MMEA transformer, called MoAlign, that hierarchically introduces neighbor features, multi-modal attributes, and entity types to enhance the alignment task. Taking advantage of the transformer's ability to better integrate multiple information, we design a hierarchical modifiable self-attention block in a transformer encoder to preserve the unique semantics of different information. Furthermore, we design two entity-type prefix injection methods to integrate entity-type information using type prefixes, which help to restrict the global information of entities not present in the MMKGs. Our extensive experiments on benchmark datasets demonstrate that our approach outperforms strong competitors and achieves excellent entity alignment performance.
[ -0.0166987628, 0.0545654744, 0.01844915, 0.031565275, -0.0053075501, 0.0076247449, 0.0052418294, -0.0042856364, -0.0115412725, -0.02823494, -0.0268160868, 0.0287283827, -0.0054648123, 0.0026629702, 0.0412489139, -0.0214849338, 0.0484566614, 0.0405175835, -0.0400701538, 0.0114499759, 0.0147944465, 0.0120624369, -0.009917831, 0.0115691684, -0.0187065732, -0.0148730697, -0.0350000188, 0.0222988352, 0.0641585886, -0.0139464587, 0.0004588831, 0.0389039777, 0.0073854579, 0.0237449259, 0.0000020923, -0.0378592275, -0.042439431, 0.0176152978, -0.0315324739, -0.0657056794, -0.0177645981, -0.0636351928, 0.0365436971, -0.0055457656, 0.0119220875, -0.0659483522, 0.0676390305, 0.0494778305, 0.0524967946, 0.0497563109, -0.0322001241, -0.0299276263, 0.0586272553, -0.0118287038, 0.0047489516, -0.0262364578, 0.0249315687, 0.0050363243, -0.0419523381, 0.0230187736, -0.0178713165, 0.046624504, -0.0090997564, -0.0073522967, 0.0373664908, 0.0015483382, 0.0360171162, 0.0211415384, -0.0244414061, 0.0836516917, -0.0112845488, 0.0060691116, 0.0188320503, 0.0020328253, 0.0217301827, 0.0287759658, -0.006423444, -0.0210649222, -0.046919737, -0.01164719, -0.0323512182, 0.0286024157, 0.0115102893, -0.0542004444, -0.0276244339, 0.0124076465, 0.0398314185, -0.0130970394, -0.026925303, -0.0015790496, 0.0299401022, -0.0569231622, 0.0151048396, 0.0350838937, -0.0156980045, -0.0050588297, -0.0727826208, -0.0189300869, -0.0163151585, -0.0004049618, -0.0185849909, 0.0508102365, 0.0059350487, 0.0525673889, -0.0220615137, 0.0362593755, -0.0404803976, 0.0353159979, -0.023816457, -0.0690831989, -0.0590575449, 0.0203733649, -0.0161799919, 0.0026876738, 0.0014727918, -0.0138763497, -0.0098525155, 0.0274951998, -0.0303342771, 0.0374333113, 0.0051858746, 0.0011112235, -0.0152986143, -0.0350074768, -0.0303500332, 0.0821266174, -0.0323341712, -0.0126713086, 0.0051180199, 0.0060435706, -0.0077107199, 0.0267571509, 0.0350598954, -0.0468618199, -0.0114739239, 0.0675409436, -0.0147777675, -0.011030335, -0.0334150791, -0.0286949594, 0.0045342105, -0.0244596153, 0.0157753509, -0.0238976292, 0.0882004127, 0.0078453496, -0.0176064372, -0.0589777045, -0.0093679391, -0.0345663279, -0.0309416931, 0.0713072866, -0.0296776649, 0.0139147528, 0.0084961336, -0.0212998707, -0.0130205965, 0.0194199141, 0.024277227, -0.0423650444, 0.0128105544, -0.0178506747, -0.023814708, 0.0326306522, 0.0396074615, -0.0084417984, 0.0370126292, 0.0119879795, -0.0105624944, 0.0489259884, 0.0589374639, 0.0138639398, 0.0009642863, -0.0336905755, 0.0295223221, -0.0349026546, 0.0462579206, 0.0329563692, 0.0168306381, 0.0169229861, -0.0405823886, -0.0016960963, -0.046716094, 0.0516149402, -0.0283402596, 0.0086053228, 0.041191563, 0.0993638039, -0.0242501013, 0.0296295509, 0.0328403302, 0.0017208069, 0.0036854104, 0.0009598364, 0.0224916488, -0.00049153, -0.0369659662, 0.1109365374, 0.0143425195, -0.031666182, -0.0159156229, 0.0034283542, -0.0416765884, 0.039884828, 0.0239801072, -0.0059994548, -0.0926338509, -0.0256342012, -0.0612850823, 0.0361932218, -0.0004698816, -0.004129447, 0.0058607487, -0.0429365151, -0.0651909113, 0.0251221284, -0.0231903736, 0.023871094, -0.0015170493, 0.0374374576, 0.0206120703, -0.0662027523, 0.0850586072, 0.012649212, 0.0060617938, 0.0458870977, -0.0289561152, 0.0455212928, -0.0007041816, 0.0425096266, 0.0144664943, -0.0122922929, 0.0259417016, -0.0058575803, -0.0037127445, -0.00835869, -0.0164556857, -0.0493508689, 0.0516935587, -0.0396825485, -0.0459106676, -0.0094943941, -0.0197290927, -0.0555712692, -0.0375453308, -0.0183374099, 0.0472959056, 0.0158250704, 0.0184086654, -0.0072068647, 0.0047750934, -0.0072342143, 0.073388271, -0.0103737088, -0.0059878193, 0.0150405709, -0.0251293033, 0.0142822601, -0.0031255938, -0.0165701639, -0.0135874143, -0.0000577955, 0.0124563258, 0.0015776842, -0.040498022, -0.0601968504, -0.0156524591, -0.1108050495, 0.032241147, 0.0160182267, 0.0316226594, 0.0203888882, 0.050636977, 0.007499468, 0.0095325541, -0.0546566807, 0.0035603363, -0.0111587895, -0.0122710876, 0.0352257788, -0.02409067, -0.0315076709, 0.0179856978, -0.008771521, -0.0498942956, 0.0483041592, 0.0129658235, -0.0310621485, -0.0433671437, 0.0034819865, -0.0470565185, -0.0017533387, -0.0052445238, 0.0188986715, -0.0226898342, 0.0528125837, 0.0488788188, 0.0331265107, 0.0047967518, -0.0051203836, -0.0094851237, -0.0255746935, -0.0580107644, 0.0208561216, 0.0166558232, 0.0348680355, -0.0070663951, 0.0148743847, -0.0130590471, 0.0323132165, -0.0073224911, -0.0023994644, -0.0410415456, -0.0037834432, 0.0760714039, 0.005591616, 0.0078569539, 0.0170335174, 0.0240926631, -0.0258774254, -0.0496749207, 0.0424068645, 0.0899956897, -0.0462837443, 0.004601798, 0.035173174, 0.0278698262, -0.0502576046, 0.025969157, -0.0018234308, 0.0312480256, 0.0316298977, -0.0425228253, -0.041456569, 0.0503763258, 0.0331074521, -0.0192069802, 0.0850190669, 0.0295980908, 0.0359919816, -0.021002382, -0.0266168416, -0.0201333351, 0.0014213775, 0.021057725, 0.014227422, 0.0378898978, -0.023816593, -0.0719574839, 0.0225308836, 0.0145266885, 0.0020938052, 0.0086522447, -0.0118465833, -0.0348888636, 0.0736673027, 0.0306024998, 0.0671399683, 0.0165843684, 0.0219136477, -0.0138404332, 0.0404425412, 0.0009301149, -0.0402264521, 0.0033383856, -0.0136299701, 0.0006180296, -0.0476010665, 0.0160667524, -0.0235518329, 0.059035968, -0.0362577736, 0.0427837297, 0.0723187029, 0.0002122791, -0.0346056409, -0.0230355337, 0.031027317, 0.0305604395, 0.0253041405, 0.0107900947, -0.1121383533, -0.0640939176, -0.0033911397, 0.0028904353, 0.0453633256, -0.0757635236, 0.0236666333, -0.0792588666, -0.0200229567, 0.0015892964, -0.0331946723, -0.0777297541, -0.0370691121, 0.0423345491, -0.0215303954, -0.0066811829, -0.0017500687, -0.0142112933, -0.0377048813, -0.0129385451, 0.0512345806, -0.0546533056, 0.0091244867, -0.0813132823, 0.0634415969, -0.0154374791, 0.0124844778, 0.0162024796, -0.0349809453, -0.0554731824, 0.0064299833, -0.0582064427, 0.0330860429, 0.0408339053, -0.0874550119, -0.001985356, -0.0345195532, 0.0101638492, -0.0349536911, 0.015884107, -0.0154258553, 0.0859239176, 0.0302278977, 0.0201167092, -0.0203048605, -0.046986416, 0.0082718097, 0.0684343129, -0.0141690942, -0.0031767453, 0.0160819422, -0.0196447354, 0.035662245, 0.0163271241, 0.0056814435, 0.0595494919, -0.049389828, -0.0308968127, -0.0207747407, -0.0436146893, 0.0164218675, 0.0097491918, 0.0142207164, -0.0260987822, 0.0345321633, -0.0253861677, -0.0986451954, 0.016665088, -0.0583172999, -0.0016998403, -0.0111846142, 0.0113432482, 0.0331943594, 0.0172487069, -0.0199944079, -0.0024354556, -0.0931703076, -0.0533003137, -0.0554355718, 0.0002664818, 0.004479791, 0.0941105261, -0.0074042198, 0.038947802, 0.016542742, 0.0198459886, -0.0687581152, -0.0138685871, -0.0032821218, -0.0317082256, -0.0048811627, 0.0282054748, -0.0676820576, -0.0269747321, -0.0228398181, 0.0262865871, -0.0353743732, -0.0791419297, 0.0130935935, 0.0169082563, 0.0043767798, 0.0133910002, 0.0142222075, -0.0280544739, 0.0228170156, -0.0020566208, -0.0347751677, -0.0273152515, -0.0064577814, -0.0090504084, -0.0089880433, 0.040199209, 0.0518734083, 0.0313485079, -0.0092984792, -0.0259660576, 0.0132779963, -0.0249045659, 0.0084875664, 0.0056896126, -0.0330469906, -0.0187317804, 0.032824669, 0.0508103445, 0.0294313934, -0.0674735829, 0.0371712111, 0.0358090252, 0.0083426815, -0.0481628552, 0.0364633165, -0.0195690989, 0.0198101383, -0.0484753437, 0.0036539566, 0.0473261327, 0.0243064407, 0.0651861429, 0.0329376832, -0.006077277, 0.0118549885, 0.0373188928, -0.0205540974, -0.0065519735, 0.0426589362, 0.0046722763, 0.0066119642, 0.0033514586, 0.0604877174, -0.0451062731, 0.0546631552, -0.0452627577, -0.0351702645, -0.0451382995, -0.0201677382, 0.0494458899, -0.0127796074, 0.0070675742, -0.0362954512, -0.0385548286, -0.0375618227, 0.0414783768, -0.0130568668, -0.0378719717, 0.0176273566, 0.025496304, -0.0037258947, 0.0169255994, -0.0699587688, 0.0118702939, -0.0087249968, -0.0150772873, -0.0181438103, 0.0046953987, -6.37347233e-33, -0.0603278279, -0.0241359826, 0.0164740495, -0.0488946214, -0.0510979705, -0.0004254568, -0.0225186963, -0.0263743512, -0.0358846635, -0.0119199017, 0.0021159544, 0.0022804127, 0.0023815439, 0.0142410547, 0.0057239635, -0.034873914, 0.0478244275, 0.0302001704, -0.016001584, 0.0125239361, 0.0237201266, 0.0004917317, 0.0476045683, -0.0738866329, 0.0247510429, 0.0125250472, -0.003959849, -0.0073378133, 0.0306696724, 0.0690849647, 0.002361879, 0.0006011175, 0.0149063924, -0.0340655744, -0.0029910963, 0.008715854, -0.1132512465, -0.0200487934, -0.0359523818, 0.0237345491, -0.0070241326, -0.0410770029, 0.0731103569, -0.0058499607, 0.0463748239, -0.0760431662, 0.0462077968, 0.0000970736, -0.006970251, -0.0408318751, -0.0205214508, 0.0256893728, -0.0278553851, 0.006586405, -0.0041520842, -0.0030960222, 0.0685680434, -0.0167124607, -0.0977845043, 0.0096646864, -0.0047853328, -0.0088618305, 0.06472449, 0.0170087516, -0.0007386729, 0.0385720655, -0.0019135433, -0.0434662253, -0.0300097894, 0.0418549702, -0.0071362741, 0.0386327989, -0.002504043, 0.0718674511, -0.004445666, 0.007699342, -0.0362992622, 0.052353099, -0.0459367856, 0.0103970701, -0.0643430874, 0.030188797, -0.0132591277, -0.0128207905, -0.0134838801, -0.0180495325, -0.027175488, -0.0304486956, 0.017707089, -0.0210216474, -0.0289653074, 0.0660253614, 0.0499184504, -0.0319726095, -0.0227687843, 0.0420393683, 0.0168503989, 0.0519809313, -0.0126727186, 0.0149236005, -0.0065858192, -0.044761423, 0.0662152544, -0.041319672, 0.0163973123, 0.0465581827, 0.0298829339, -0.002532139, -0.0582116432, -0.0047004009, 0.0035988991, -0.0565922372, -0.0630466565, -0.0486922115, 0.0363662355, 0.0197476018, 0.0121060256, 0.0300922692, 0.0797627345, 0.0288010426, -0.0369526632, 0.0092132203, 0.0386433043, 0.0485563427, 0.0128062647, 0.0306581631, -0.0500346385, -0.0826638043, 0.0038006676, -0.0561359376, -0.0047802725, 0.0182518978, 2.845e-7, 0.0339721702, 0.0103755789, 0.0659273192, -0.0163332969, 0.0039065252, 0.0504253246, 0.0400971733, 0.0592571795, -0.0168245863, -0.0454400443, 0.0367183685, -0.0079951044, -0.0034239904, 0.0430698469, -0.0344364569, -0.0178562943, -0.0046634409, -0.0024071238, -0.0524456203, 0.0430834927, 0.0909551382, 0.0759871826, 0.0105543192, 0.0308192279, 0.0046880799, -0.0072600762, 0.0542959757, 0.0292006526, 0.0057439469, 0.0482811481, -0.0033179878, -0.0181089323, -0.0080610747, 0.0610585436, 0.0010246122, 0.0405376628, 0.0357168093, 0.0512948148, -0.0228603687, -0.0148277031, -0.0276719686, -0.021853283, -0.012816512, -0.0335834548, 0.0607111417, -0.0306464881, -0.0070164162, 0.011136448, -0.0541042127, 0.0456066355, -0.0380231515, 0.0424108207, -0.021009719, 0.0235677529, 0.0375900641, 0.0021667681, -0.0327887498, -0.0616026483, 0.005631573, 0.0132443188, -0.0420396477, -0.0026127896, -0.000761171, -0.0978838652, 0.0681368485, -0.0500806645, -0.0275612902, 2.871896625e-34, -0.0432159603, 0.0038390695, 0.0034613428, 0.0069760494, 0.0561617091, -0.0744826049, -0.0503597185, -0.0048812074, -0.020935392, -0.0543892346, -0.0161047895 ]
http://arxiv.org/abs/2310.06362v1
http://arxiv.org/pdf/2310.06362v1
InfoCL: Alleviating Catastrophic Forgetting in Continual Text Classification from An Information Theoretic Perspective
2023-10-10T07:00:13
2023-10-10T07:00:13
Yifan Song, Peiyi Wang, Weimin Xiong, Dawei Zhu, Tianyu Liu, Zhifang Sui, Sujian Li
cs.CL
cs.CL
Continual learning (CL) aims to constantly learn new knowledge over time while avoiding catastrophic forgetting on old tasks. We focus on continual text classification under the class-incremental setting. Recent CL studies have identified the severe performance decrease on analogous classes as a key factor for catastrophic forgetting. In this paper, through an in-depth exploration of the representation learning process in CL, we discover that the compression effect of the information bottleneck leads to confusion on analogous classes. To enable the model learn more sufficient representations, we propose a novel replay-based continual text classification method, InfoCL. Our approach utilizes fast-slow and current-past contrastive learning to perform mutual information maximization and better recover the previously learned representations. In addition, InfoCL incorporates an adversarial memory augmentation strategy to alleviate the overfitting problem of replay. Experimental results demonstrate that InfoCL effectively mitigates forgetting and achieves state-of-the-art performance on three text classification tasks. The code is publicly available at https://github.com/Yifan-Song793/InfoCL.
[ 0.0150291137, 0.0515847839, -0.0049031968, 0.0107274503, -0.0093527138, 0.0239901505, -0.0335952751, -0.0001788661, 0.0185269434, -0.0479976721, -0.0149986558, -0.0338343233, 0.0038084134, -0.0132458862, -0.007162875, -0.0414682627, 0.0577340424, 0.0312760845, -0.0163441803, -0.0087896828, 0.0131381499, -0.0461787209, -0.0040271021, -0.0405955724, 0.0097684776, -0.0514492951, -0.0123507893, -0.0275898967, 0.0241982937, -0.0603092797, 0.0411399156, 0.0199428052, 0.0407171659, 0.0222053006, 0.0000022104, -0.0387449823, -0.0218668021, -0.01495858, -0.0471879654, -0.005263451, 0.045052737, 0.0074805561, -0.0040404885, 0.0018977375, -0.0348337181, -0.0573925711, 0.0214215349, 0.0825586021, 0.0445710979, 0.0438464358, 0.0037925483, -0.0259380732, 0.0744790807, -0.0387932621, 0.0558311567, -0.0168332551, 0.0223393887, -0.0155531457, -0.0388089009, 0.0280695055, -0.0046217563, 0.0692200959, 0.0633016005, 0.0106090419, 0.0159312431, 0.0598638467, 0.0567127168, 0.0282978732, -0.0252200253, 0.0117708463, 0.0002279829, -0.0404743962, -0.0352040455, 0.0102668516, -0.0088454904, -0.0676151961, -0.0512566194, -0.0099884123, -0.0421385542, 0.0020309775, 0.0022757985, 0.0439901091, 0.0114720473, 0.0183641538, -0.0185433477, -0.077514559, -0.0016160047, -0.0243621282, -0.0203917269, -0.0344184488, -0.028517697, 0.0175425615, 0.0097953919, 0.0250199959, 0.0045250715, -0.0049690362, -0.0252299905, -0.0440513566, 0.056093771, -0.0633700565, 0.0174283795, 0.0034812919, 0.0149986492, 0.0457202047, -0.0193813909, 0.0419214442, 0.0167728253, -0.0006391246, -0.0197013635, 0.0398086235, -0.0992658064, -0.0343917869, -0.0303073041, 0.0789094046, 0.0688361973, 0.0194711313, -0.0207343753, 0.0439922288, -0.0194399543, 0.0605074279, -0.065263547, 0.0169778261, -0.0527770296, 0.0099955387, -0.0037863688, 0.0126521615, -0.0055970363, 0.0002011055, -0.0071828985, -0.000547762, -0.0306079593, 0.0195899773, -0.0190011971, -0.0206122529, 0.0287089739, 0.0468431599, -0.0660279542, -0.0579635687, -0.061344251, 0.0034931975, -0.0072176214, -0.0627265871, -0.0160576124, -0.0142079415, 0.0018460402, 0.0012884844, -0.0087954449, -0.0514136329, -0.0140935276, 0.0249055922, -0.0117086116, 0.1137590036, 0.0273379069, -0.0758023635, 0.0589321144, 0.0328581855, 0.0454549007, 0.0189210456, -0.0288303941, 0.0047546765, 0.0115832398, 0.0242443196, 0.0232772361, -0.0170745254, 0.0431982204, 0.0278309006, -0.0611494668, 0.0152996052, 0.0558167212, 0.0321715027, 0.0140993828, 0.0306779444, -0.0267178416, -0.0144375525, 0.0470139123, -0.0309762806, 0.0053035528, 0.0728635266, -0.011491539, 0.0209786426, 0.0073230593, 0.0403892212, -0.0427328236, 0.0492391847, -0.0112853553, 0.0092365686, -0.000639124, -0.0179246664, -0.0469645225, -0.0538300239, 0.0331818983, -0.0300534144, 0.0017469018, -0.0193972904, 0.0584349371, 0.0222465117, -0.0339488573, 0.0443628766, 0.016177427, -0.0136363711, -0.025424486, -0.0353297032, 0.0239532907, 0.0647839159, 0.0477513671, -0.0775162131, -0.0229907427, -0.0490257144, 0.0071851611, -0.0304053016, 0.0350209661, -0.0101354169, 0.0183994379, -0.0559086576, -0.0165090095, 0.0014547324, 0.0153334001, 0.0217795242, -0.0026400902, 0.0408216715, 0.0143510355, 0.0135407746, -0.0500185266, 0.0234771706, -0.0207949914, -0.0539091639, 0.0179799516, -0.0064375782, -0.0075677144, -0.0078810062, -0.0256598312, -0.0005328491, 0.0582755432, -0.0650136322, -0.0295108277, -0.0115257166, -0.059321925, -0.0623329394, 0.0445169769, 0.0193298161, 0.015260323, 0.0029722902, -0.0409041047, -0.0363116451, -0.003981736, -0.0024542918, 0.0442967266, -0.040295925, 0.0167381484, -0.0199265387, 0.0051358594, -0.0358254462, 0.0593829937, -0.0350075066, 0.0179283936, 0.0061112093, 0.0091030542, 0.0207405463, -0.0551880188, 0.0111791538, 0.0225748997, -0.0143252872, 0.0378682241, 0.0108486041, 0.0019686716, -0.0090357764, -0.033387851, -0.0528203994, 0.0108887907, -0.0094316993, -0.0168677345, -0.0153215006, -0.0185825583, 0.013384752, -0.0396936573, -0.0319514722, 0.0017071858, -0.0702804253, 0.0129202157, 0.0277985297, -0.0041506784, 0.0104637211, 0.0018531538, 0.0001236741, 0.0339666568, 0.0481999591, -0.0194576737, -0.0233653579, -0.0415253751, 0.0344246775, 0.0080762617, 0.0234638024, -0.0357529111, -0.0052115456, -0.0281617716, -0.0086526666, 0.016471127, 0.0676454678, 0.0608435795, 0.0412859283, 0.0140267015, 0.0316736884, -0.0438602157, 0.0256281979, -0.026008727, -0.0110213151, 0.0078849187, 0.0059146709, -0.0201165061, 0.0417878442, -0.0143212769, 0.0175222866, 0.0188071486, -0.0175436623, -0.0273862071, 0.0177458674, -0.0600417331, 0.0222816747, -0.0109351287, -0.0657782927, -0.0046726367, -0.0622126684, 0.0464563705, 0.0299684573, 0.0082633561, -0.0468891785, -0.0382067524, 0.0104159405, 0.0693633929, -0.0007487471, 0.0214828756, 0.0582255758, -0.0248478744, -0.0444352552, -0.0213237908, 0.0330553502, -0.0196508728, 0.0239003971, 0.0423504002, 0.0137956981, -0.0294819791, -0.0557264164, -0.0545172319, -0.0640681982, 0.0326221399, -0.0092620226, -0.0183783285, 0.0126254391, -0.0607358143, -0.0076484289, 0.0570743866, 0.0340974182, -0.0141378921, -0.0386279002, 0.0027834726, 0.0575218946, -0.0035746095, 0.0234019291, 0.0140174255, -0.0203760546, 0.0457331352, 0.081963107, 0.0335582346, 0.0294427089, -0.0141900387, -0.0100176046, -0.0043309703, -0.0060559665, -0.0099909557, 0.0008191958, -0.0348450094, -0.0572337881, -0.039973896, 0.0550272539, 0.0183797069, -0.1044258848, -0.0202005394, 0.0289559886, 0.0341400094, 0.0139732044, 0.0034721019, -0.0370230451, -0.0314845182, -0.0063416688, 0.0344202481, 0.0209612735, 0.0177153815, -0.032674402, -0.0061110863, -0.0101520801, 0.038756676, -0.0193641819, -0.0209382046, -0.0190337766, -0.0720961168, 0.0084902169, 0.0133485282, 0.020844724, -0.0118260467, -0.0050914208, 0.0438744575, -0.0342033282, -0.0228548739, 0.0132241109, -0.0054599103, -0.0020014064, 0.0379999168, 0.0310701095, 0.0158521906, -0.0488547869, 0.0625641942, -0.0603028908, -0.0183086209, -0.0101167122, 0.0984322652, -0.0093461657, 0.0070439992, -0.0029300982, 0.0202604719, -0.001624431, -0.0358815081, 0.0252333842, 0.0057698805, -0.0301238094, 0.0169902127, -0.0001837393, -0.0427276045, -0.0015553891, 0.058503639, -0.0007820664, -0.0468748249, -0.0308933854, -0.0130128376, 0.043063987, -0.0599069223, 0.0346731804, 0.0147309527, -0.0246078894, -0.0169904083, -0.019525608, -0.0421370566, -0.0469791256, 0.0205792915, -0.008902465, 0.0163192041, -0.0613671839, -0.0216934998, -0.0958746821, -0.0315145925, -0.0062115486, 0.0197414625, -0.0293357372, -0.0048570568, 0.062994428, -0.0337599628, -0.0050001261, 0.0037512246, -0.0909562558, -0.0133565562, 0.0175721981, 0.0309270397, 0.0069098673, 0.0881157517, -0.0080012809, -0.0351802483, 0.0816049278, 0.0455531664, -0.0121292146, 0.020056311, 0.0347073339, 0.0119514829, 0.017105937, 0.0270642098, 0.0017039373, -0.0041708774, 0.0259955451, -0.0050399485, -0.002225741, 0.0546248928, 0.0153708393, -0.0410735123, 0.0063749193, 0.0074303481, -0.0258267242, 0.0007289061, 0.050129313, 0.0423445627, -0.0126415174, -0.0101386858, 0.0030701014, 0.0209004674, 0.005793523, -0.0177104883, 0.0142944148, 0.0571852662, 0.0078617185, -0.0074346107, -0.0477835238, -0.0025850332, 0.0317685753, 0.0267381445, 0.029562002, -0.0542889051, 0.0131236585, -0.0269730352, 0.0276280548, -0.0303469598, 0.0351095386, 0.0312822573, -0.0125930775, -0.0739241615, 0.0338170566, -0.051091861, -0.0183953401, -0.0380681604, 0.026176434, 0.0913528502, 0.0334051624, -0.0151125574, -0.0152585674, 0.0162707865, -0.0335640348, -0.0145865446, 0.0027128211, -0.0349990539, -0.0205740891, 0.0033254712, -0.0182045326, 0.0414945893, 0.0673227683, -0.0307488162, 0.0081623765, 0.0124752987, -0.0187677816, -0.0442131311, 0.0403660424, 0.0118465135, 0.0432055742, 0.0091421558, -0.010748365, -0.0099806124, -0.0374519043, 0.0742250457, -0.021392474, 0.0277658608, 0.0123275118, 0.0197895113, 0.0231617074, 0.0127717722, -0.0051972996, -0.0171431173, 0.0472619012, 0.0364136063, 0.0034416665, -0.0080891009, -6.48244286e-33, -0.002495545, 0.016249815, 0.0205798075, -0.020996809, -0.0515426509, 0.0160146188, -0.0364354849, -0.0201573968, 0.0206425823, 0.0031484324, 0.0081127835, 0.0221186653, -0.012038108, 0.0585401691, 0.0399551243, -0.0478180237, 0.0531987064, 0.0262022577, -0.0147544509, 0.063732937, 0.0827265605, 0.0566135906, 0.0240837354, -0.0602727756, 0.0026578654, 0.0124273533, 0.0058304612, 0.0219389815, 0.0109546846, 0.0473662615, -0.0512976944, 0.0439650677, 0.0384662338, -0.0412918441, -0.0300466679, -0.0173989441, -0.1274644583, -0.0466630459, -0.0590203851, 0.0316754952, -0.0263538454, -0.0234998837, 0.0150459958, -0.0148384944, 0.0034760488, -0.0307033844, 0.0185983572, -0.0102010742, -0.0707303211, -0.0222063288, -0.0346608683, -0.0002821786, 0.0153168263, -0.0065238224, -0.0145549327, -0.006215354, 0.006948017, -0.015364537, -0.135207504, -0.0478388369, 0.0066998042, 0.0422300473, -0.0151989488, 0.0257520899, 0.0272715967, 0.0511828922, 0.0188985001, -0.015182226, -0.0035305072, -0.003926652, 0.0343051814, -0.0426709503, 0.0299000125, -0.0157526173, 0.0634837002, -0.0629318282, -0.0308897682, 0.0023923516, 0.0399511792, 0.0542679392, 0.0293940585, 0.0409271829, -0.0296287369, -0.0461611897, -0.0176777095, -0.0073009371, -0.0351064354, -0.0032446489, 0.0324025452, 0.0697101057, 0.0119641647, -0.0300911795, 0.0035907186, -0.0188729148, -0.0607755035, 0.0246686377, -0.0060432795, 0.0147926798, 0.0068489024, 0.0158326924, -0.0338100083, -0.0068292217, -0.016321199, -0.0047334018, -0.0216670036, 0.0299465097, 0.0820541605, 0.0512090102, -0.0513822809, -0.0044725761, -0.0005186452, 0.0000738341, 0.0415653698, 0.0081985593, 0.0066950587, 0.0465798303, 0.0045243343, 0.04167483, 0.0558447205, -0.0142608499, -0.0411236174, 0.010690188, 0.01470837, 0.0302015021, -0.0160400309, -0.0252198894, -0.0362926461, 0.0023337437, -0.0016998976, -0.1297046244, 0.0379899517, -0.0056277635, 2.875e-7, -0.0256719496, 0.0062003448, 0.012390052, -0.0758578703, 0.0522875004, 0.0452795811, -0.0385110267, 0.0296211261, -0.0301774535, 0.0785285011, 0.0105244201, 0.0184457414, 0.0281194616, 0.0091022057, -0.047757484, 0.0269243475, -0.0483717285, 0.0194707382, -0.0444624349, 0.016657291, 0.0376384296, 0.1034682542, 0.0308818407, -0.0009944476, 0.0572652109, -0.0799074993, 0.0840633884, 0.0060332553, 0.053434182, -0.0094533656, 0.0201255232, 0.0546820164, -0.000516002, -0.0118191447, -0.0402727611, -0.0360891521, -0.030957561, 0.0105760936, -0.0111450814, -0.0549974926, 0.0167262964, 0.0171195175, 0.0024303321, -0.0138641801, 0.0761586353, -0.0932326987, -0.0049941447, 0.0174221322, -0.0084397094, -0.0053109126, 0.0375961922, 0.0579462387, -0.0417196974, 0.0132002914, -0.023759244, 0.0614525378, -0.021548178, -0.1183488667, 0.0026396888, 0.0182074402, -0.0447308905, -0.0074689025, -0.0460653305, -0.0031683063, 0.0451324619, -0.0665912926, 0.009100182, 2.541334987e-34, 0.0279088952, -0.0313677751, -0.0094635366, 0.0361138135, -0.0172283016, -0.0253719427, 0.039163433, 0.0084229652, 0.0426909439, -0.0413713381, -0.0022144138 ]
http://arxiv.org/abs/2310.06356v3
http://arxiv.org/pdf/2310.06356v3
A Semantic Invariant Robust Watermark for Large Language Models
2023-10-10T06:49:43
2024-05-19T12:24:40
Aiwei Liu, Leyi Pan, Xuming Hu, Shiao Meng, Lijie Wen
cs.CR
cs.CR, cs.CL, 68T50, I.2.7
Watermark algorithms for large language models (LLMs) have achieved extremely high accuracy in detecting text generated by LLMs. Such algorithms typically involve adding extra watermark logits to the LLM's logits at each generation step. However, prior algorithms face a trade-off between attack robustness and security robustness. This is because the watermark logits for a token are determined by a certain number of preceding tokens; a small number leads to low security robustness, while a large number results in insufficient attack robustness. In this work, we propose a semantic invariant watermarking method for LLMs that provides both attack robustness and security robustness. The watermark logits in our work are determined by the semantics of all preceding tokens. Specifically, we utilize another embedding LLM to generate semantic embeddings for all preceding tokens, and then these semantic embeddings are transformed into the watermark logits through our trained watermark model. Subsequent analyses and experiments demonstrated the attack robustness of our method in semantically invariant settings: synonym substitution and text paraphrasing settings. Finally, we also show that our watermark possesses adequate security robustness. Our code and data are available at \href{https://github.com/THU-BPM/Robust_Watermark}{https://github.com/THU-BPM/Robust\_Watermark}. Additionally, our algorithm could also be accessed through MarkLLM \citep{pan2024markllm} \footnote{https://github.com/THU-BPM/MarkLLM}.
[ 0.0436405167, 0.042008087, 0.0009845138, 0.0397786461, -0.0432824567, -0.0185385048, 0.0144040789, 0.0682578981, 0.0052218996, -0.0602340028, 0.0088970466, 0.0222303309, -0.0147816688, 0.0174011774, 0.056606818, -0.0174008273, 0.04608934, -0.0217610672, -0.0177186038, -0.0193271693, -0.0048225694, -0.0076382901, 0.0696910396, 0.0277712457, -0.0308993813, 0.0017524123, 0.0108000161, 0.0208177343, -0.0059292112, -0.014733687, -0.0459292121, 0.0385154821, 0.0095959296, 0.0940626636, 0.0000020399, -0.0462502241, -0.0474630669, 0.0429759473, -0.0285785422, 0.066036731, 0.0542893484, -0.0152987549, -0.0303220451, 0.008381499, -0.0084449807, 0.0369257331, 0.0333241932, 0.0580751561, 0.1003933251, 0.0532751046, -0.015433006, 0.0051212138, 0.0332720727, 0.0008800616, 0.0125114638, -0.0390751809, 0.0453779995, 0.0145186204, -0.0254907049, 0.035385631, 0.0051824474, 0.0559783429, -0.0203558076, -0.0290583987, -0.048645135, -0.0107909814, -0.0126184067, 0.0127184, 0.0149101336, 0.0112727098, -0.0718889982, -0.0188646503, 0.012353994, -0.0061371354, 0.0268493649, 0.0439357571, -0.0233806092, 0.0255638137, 0.0407855138, 0.0075318823, 0.0103992652, -0.0155409276, 0.055020269, 0.0130280992, -0.0049195173, 0.0450280234, 0.0563345924, -0.0089698918, -0.0634444878, -0.0487661585, -0.0419959538, -0.0510837138, 0.044724077, 0.0007655451, 0.0486401021, 0.0126924999, -0.1312715262, -0.0631828383, 0.0180455521, -0.032117825, 0.0313725099, 0.0201505143, -0.0217190925, 0.0462616459, -0.0761227384, 0.0869913846, -0.0464201272, 0.0369454436, 0.0168892909, -0.0404207259, -0.0028962316, -0.0343707427, -0.0376472324, 0.0613995567, -0.0226601288, -0.0182863157, -0.0434947722, 0.0662065148, 0.0016239334, 0.0477468409, -0.0342382118, -0.043172434, 0.022919504, -0.0074684974, 0.0436520875, -0.0593362637, 0.0321524963, -0.0027100928, -0.0226180349, -0.023854034, -0.0011749123, 0.0381840244, 0.0219244324, 0.0114195747, -0.0164399929, 0.1249150038, 0.0381315015, -0.045811329, -0.0258539058, -0.0610848367, 0.0096705062, 0.0381435193, -0.007202927, -0.0574530102, -0.0251913592, -0.0378410891, 0.008394056, -0.0784316659, 0.0135176862, 0.0146378502, -0.0367567129, 0.0481136404, -0.0324696787, -0.0361524858, -0.0152882347, 0.0091226967, -0.0370686576, 0.0412168391, 0.0339779072, 0.0532505214, 0.0868775696, -0.0059256577, -0.0057487069, 0.0464918241, -0.0047232462, 0.0243683755, -0.0182582159, -0.0273785219, 0.0753471926, -0.0312274024, -0.0159588158, 0.0621848255, -0.0085529843, -0.0724587739, 0.0582031347, 0.0769916475, -0.0452379063, 0.0067022536, -0.0001988161, 0.0187012907, -0.0022760078, -0.0121347066, -0.0224064961, -0.0347274281, -0.0311556384, -0.0386521295, 0.0266574826, -0.02103962, 0.0115014883, 0.0106750019, -0.0479257889, -0.0266909152, -0.0163046159, -0.029778704, -0.0063005784, 0.0248178151, -0.0384821445, 0.0539966635, -0.016968064, -0.0068127722, 0.0430437997, -0.064809911, 0.0234291721, 0.0410278887, 0.0764263198, -0.0044206386, 0.0724581331, -0.0057220687, -0.0061212252, 0.0431760028, -0.0413241014, 0.0071775517, 0.0078362562, -0.0233724546, -0.0209787451, -0.0405816734, 0.0166386515, 0.0102270739, 0.0338957682, 0.0340842791, 0.0520596579, -0.0312369689, -0.0001543624, 0.0276656449, 0.0291555449, -0.0005611451, 0.0043730736, -0.0419704467, 0.0364394151, 0.0198962446, -0.0071874931, 0.0465858281, 0.0181323532, -0.0153833833, -0.0291238111, -0.0188591201, 0.0186675806, 0.0141378623, 0.040650405, -0.0397004932, 0.0030949772, 0.0358669087, -0.030783888, -0.0145711834, 0.0242756438, -0.0587369353, 0.0495501496, -0.0254278686, 0.0515473075, -0.0124681545, 0.0471131131, -0.0272470396, 0.0040101404, -0.0122392215, 0.0106439944, -0.0175961927, 0.0602838621, 0.01505097, 0.0029240979, -0.0513122231, -0.0150450692, -0.0425611064, -0.0029967166, -0.0067360969, -0.0112450002, -0.0073729171, -0.027092956, -0.0395862833, 0.0075452426, -0.0009492328, 0.0292957034, 0.0258829072, 0.0032642381, 0.0053958911, -0.0114400461, -0.009983073, -0.0151447486, 0.0088902926, 0.0415340215, 0.0314520895, -0.0252507366, -0.037427377, -0.0128013557, -0.0152487159, 0.0044728685, 0.0748588815, -0.0144038191, -0.0520295389, -0.0742898434, 0.0124697089, -0.031538479, 0.0005905134, -0.0028357666, -0.0086248759, -0.0149411429, 0.0054617655, 0.011358005, 0.031305816, 0.0372170545, 0.0043497519, 0.0427701734, 0.0165193491, -0.0156171629, -0.0582426712, -0.0168693848, -0.0096024191, -0.0157742649, -0.0182503015, 0.0533176847, 0.0034233755, 0.0099021392, 0.0010483642, -0.0022281788, 0.034398593, -0.0096930945, 0.0145984413, -0.0192784388, -0.0286717433, -0.0256224759, 0.0001613737, 0.0044123703, -0.0432325006, 0.0118834898, -0.053995993, 0.0380764566, -0.0054433886, -0.0166832693, 0.0175089035, 0.0353287384, -0.0207005683, 0.0361626074, -0.0190435667, -0.0266839527, -0.0091248723, -0.035235934, 0.0433479436, -0.0442385636, -0.0094189569, -0.0196711775, -0.0078007621, -0.0028879268, 0.0055007595, -0.0455802046, -0.058973901, -0.019515764, 0.0106400466, 0.0253258273, -0.03442185, -0.0262379162, -0.0029198295, 0.0301691219, 0.0315391943, -0.01496277, 0.0047835889, -0.04233215, 0.0628209934, 0.0100288494, -0.0659919083, 0.0101669496, 0.0063211578, 0.0068622432, 0.0904699862, 0.0167420637, -0.0027937701, 0.0154347634, -0.0049947407, 0.0271295533, 0.0005405074, -0.0145231327, 0.0167511236, -0.0045301779, -0.0350477472, 0.0284067504, 0.0814570263, 0.0407200865, 0.0154308816, 0.0145396832, -0.0084414454, 0.0011043031, 0.015939923, -0.026513163, -0.0752527043, -0.0252414551, 0.0504066199, 0.007528381, -0.01328931, 0.0004097441, -0.0297344495, -0.0459315963, 0.0148744117, 0.0279669873, -0.0067727813, -0.0077366591, -0.0682807714, -0.0142718293, 0.0573502034, 0.0007312956, -0.0453261025, 0.0349443853, -0.0336318649, 0.011287082, -0.0117562274, -0.0361641012, 0.0013596546, -0.0432474203, 0.0074874628, 0.0448844135, 0.028077716, -0.0137028908, -0.0350372531, 0.0811755955, -0.0055182017, -0.0289082322, 0.0093299337, 0.026476793, -0.0220177509, -0.0257789884, 0.0052142157, 0.0097446134, 0.0333225355, -0.0379726849, 0.0110994922, 0.0412303284, 0.008219827, 0.0157312285, -0.0022269534, -0.0263430923, -0.0043805833, 0.0576294586, 0.0096603911, -0.0170810428, -0.0244375151, -0.051852338, 0.0275157336, -0.0048549529, -0.0243443903, 0.0001935191, -0.040822655, -0.0335054845, -0.0643577725, 0.0514044575, -0.0542446673, 0.0258579534, 0.0400995053, 0.0484011583, 0.0104495436, -0.0421971716, -0.0356323496, -0.0211311206, -0.1213605553, 0.0392021649, -0.0643426105, 0.045360595, 0.0412814021, 0.0013835141, -0.0365570113, 0.0378288403, -0.0773132592, -0.0625576228, 0.0029126757, 0.0032788909, 0.0137965046, -0.0145658348, -0.0363881551, -0.0629778355, 0.0659662262, 0.0223293658, -0.0078243278, 0.01342203, 0.0587449558, -0.0037222889, 0.0028487814, 0.0269109868, -0.068598792, -0.0191327091, 0.0510508604, -0.0267348886, -0.0120711355, 0.0126347961, 0.0042836401, 0.0704963878, 0.032262966, -0.0075681857, 0.0232546404, 0.0272446964, 0.0196028724, -0.0464361832, -0.0370251983, -0.0112869218, 0.0427562445, 0.0289989971, -0.0204156283, 0.0152592724, 0.0053391028, -0.0089712702, 0.0295462385, 0.0145581225, -0.003568829, -0.0543996617, 0.0259729177, 0.0214906484, -0.0156581476, -0.014601483, 0.0182906296, -0.000286557, 0.0108392863, -0.0198428594, 0.0012651543, 0.0116215935, -0.0145111391, -0.0463336594, 0.053590823, -0.0681326538, -0.0060900706, -0.0249890797, 0.0566244014, 0.0463174172, 0.0169958267, 0.0100941872, -0.0623216443, -0.0147207398, -0.030623693, 0.0146609163, -0.0166209787, -0.0641293451, 0.028745424, -0.0102223149, -0.0280876476, 0.0585034899, 0.0278669447, 0.032494314, 0.0402472652, 0.0112822205, -0.0526263341, -0.0279404726, -0.0067426162, 0.0476219505, 0.0539255813, -0.0515181832, -0.020244455, -0.0392147824, -0.0624359287, 0.0138206035, -0.0122977337, 0.0074124248, 0.0367840268, -0.0545813739, 0.0414134078, 0.0166371185, -0.002209424, -0.0623719171, 0.0193567574, 0.0433239974, -0.041762419, 0.0251721404, -5.321887574e-33, 0.0034128518, -0.0373109765, -0.0634400845, -0.0416886248, 0.0291443076, 0.0538058318, -0.0105565125, -0.0223252997, 0.0118588172, -0.024789447, -0.0023773387, -0.0105066784, 0.0100539997, 0.010327179, -0.075963147, -0.004861773, 0.0320097394, 0.0284788664, -0.0211454947, -0.0102341631, 0.055481866, -0.0340330712, -0.0007447351, -0.059140563, 0.0027212196, -0.0211284664, -0.0378382914, -0.0288501494, -0.0097092642, 0.044038102, -0.0291209444, 0.0091680232, -0.0258900356, 0.0250947755, -0.0528068654, 0.0161612816, -0.0167344511, -0.017407028, 0.0155248595, 0.017393155, 0.0240198951, -0.0777747333, 0.0175710153, -0.0340824388, -0.0150308944, 0.0239478797, -0.0208367836, 0.0052767047, -0.0466134809, -0.0096832523, -0.0141576929, 0.0253128763, -0.0087155774, 0.035291709, 0.0438937619, -0.0154246949, 0.0698953792, 0.035169173, -0.0692971647, 0.0367648788, -0.0408655666, 0.0150803691, 0.0421058759, -0.0075369086, 0.0022900582, 0.0346367545, -0.0241261721, -0.0009742756, 0.0516278371, -0.0078174388, 0.0029467833, 0.0030334238, 0.0886968374, 0.0454302952, 0.0475375354, -0.0291495789, -0.0144406604, 0.0235057846, -0.0411582924, -0.0136669613, 0.0757951662, 0.0287680011, -0.0398879834, 0.0017961359, -0.0584957078, -0.037295036, -0.0155083407, -0.0124435816, 0.029310124, -0.0004106417, -0.0655038282, 0.0060633104, 0.0286070537, -0.051050175, -0.0499205031, 0.0155900363, -0.0162100755, 0.0150236618, -0.017005641, 0.0471187532, 0.0459104776, -0.0262689777, 0.0454549901, -0.0735226125, 0.0210707821, -0.0208591986, 0.0218826924, -0.0027347882, -0.0874982029, -0.0044920035, -0.0042817062, 0.0056830989, 0.003121099, -0.0444347933, 0.0300282631, -0.0178557429, 0.0159224216, -0.0391932093, 0.0328840278, -0.0493833907, 0.0152296592, 0.0065185474, -0.0490433052, 0.0314241946, 0.0021856087, 0.0261984617, -0.0236094091, 0.0577578992, 0.051483158, -0.0078275008, -0.0084805638, -0.0165211614, 2.733e-7, 0.007380099, 0.0230597984, 0.0405461825, -0.0021811726, 0.0227965433, 0.0400757529, 0.0125185912, 0.0165234637, -0.0406666473, -0.008626353, -0.0420736745, -0.0211496148, 0.0345758758, -0.0192848518, -0.0625412539, 0.0317730494, -0.057405185, -0.0199955013, -0.0527234115, -0.0000766586, 0.0564841703, 0.1183395237, 0.040091902, -0.0124800084, -0.0298423264, -0.0821118802, 0.0335714445, -0.0235693883, 0.0011665707, -0.0316022299, 0.0061799991, 0.0287168995, 0.0416317582, 0.0058086538, -0.0385677107, 0.0059302845, 0.0405690037, 0.0657196641, 0.0235820413, 0.0480375662, -0.0591153055, -0.0392029993, -0.0103065781, -0.0569460653, 0.0524728186, 0.0698370785, -0.0300526116, -0.0828597024, -0.0473430492, -0.044267159, 0.0470792986, -0.0284127947, -0.0367146991, 0.0209152848, 0.0110259466, 0.0200057514, -0.0151356272, -0.0681085363, -0.0272553861, -0.0797120333, -0.0287665743, -0.005748454, -0.0497397222, 0.0374176912, 0.076475136, -0.0429369248, 0.02582925, 2.769308341e-34, 0.0062488173, -0.0662859306, -0.0014969555, 0.0488091111, 0.0616480038, 0.027286686, 0.0054384712, 0.0316538624, 0.0067293821, -0.0357466489, 0.0058961478 ]
http://arxiv.org/abs/2310.06302v1
http://arxiv.org/pdf/2310.06302v1
Selective Demonstrations for Cross-domain Text-to-SQL
2023-10-10T04:31:41
2023-10-10T04:31:41
Shuaichen Chang, Eric Fosler-Lussier
cs.CL
cs.CL
Large language models (LLMs) with in-context learning have demonstrated impressive generalization capabilities in the cross-domain text-to-SQL task, without the use of in-domain annotations. However, incorporating in-domain demonstration examples has been found to greatly enhance LLMs' performance. In this paper, we delve into the key factors within in-domain examples that contribute to the improvement and explore whether we can harness these benefits without relying on in-domain annotations. Based on our findings, we propose a demonstration selection framework ODIS which utilizes both out-of-domain examples and synthetically generated in-domain examples to construct demonstrations. By retrieving demonstrations from hybrid sources, ODIS leverages the advantages of both, showcasing its effectiveness compared to baseline methods that rely on a single data source. Furthermore, ODIS outperforms state-of-the-art approaches on two cross-domain text-to-SQL datasets, with improvements of 1.1 and 11.8 points in execution accuracy, respectively.
[ -0.0191764459, 0.0670924708, -0.0008273344, 0.041468773, -0.012474834, 0.0020740642, 0.0307976734, 0.0274283998, 0.0334559232, -0.0642709285, -0.0253127962, -0.0418989919, -0.0357742272, 0.0055452874, 0.0665840432, -0.0303746089, -0.0051423195, -0.0293824878, -0.047345683, 0.0367573649, -0.0217253491, 0.0175743531, 0.0044470839, 0.0055035069, -0.0303891897, -0.0123060849, -0.0021360698, 0.014753595, -0.0306093693, -0.0344434232, -0.0062391879, 0.0298149139, 0.0819177479, -0.00679116, 0.0000020845, -0.0385581404, -0.0493322164, 0.0470926911, -0.0435725376, 0.0395614617, 0.0642576292, -0.0066380855, 0.0226679072, 0.0534904785, -0.0650681928, -0.020752538, 0.0133489901, 0.0318921097, 0.0305986013, 0.0909240171, -0.0192101356, -0.0054675895, -0.0335127153, -0.0505469665, 0.005023025, -0.0211493913, 0.0262403693, 0.0277183186, 0.0516648404, -0.0109219709, -0.0172009338, 0.0088091753, 0.0095915701, -0.0085245362, -0.0600825623, 0.0009852812, -0.0416455977, 0.0542742126, 0.0046456843, 0.034658514, 0.016154889, -0.0359078571, 0.0146829952, 0.0033279653, -0.0038115452, 0.0051021981, -0.0274002589, 0.0069556474, 0.0328760445, 0.0374646485, -0.0248167068, 0.0023025353, 0.0076451139, 0.0040916461, -0.0493011139, 0.0243830197, -0.0082902238, -0.0239603352, 0.0318037197, 0.0126953702, -0.0197230875, -0.0368297137, -0.0122663584, 0.0104519296, -0.0570546985, 0.0248775966, -0.0611950681, -0.0288097337, -0.0016794347, -0.0312213674, 0.0870684683, 0.0269578733, 0.0161940213, 0.0662420839, -0.0311852526, 0.035917066, 0.0247185435, 0.0371029563, -0.0186925847, -0.0064452472, -0.0731201768, 0.03330753, -0.0335760377, 0.0392741896, -0.065309301, -0.0324683152, -0.0129037527, 0.011780045, -0.0178728029, 0.0446201041, 0.0078024808, -0.0193426218, -0.0216259975, -0.0205182452, -0.019245293, -0.0206689034, 0.0075133308, 0.0204945263, -0.0084368074, -0.0828108415, -0.0237787291, 0.0290835872, -0.0188313164, -0.0303234402, 0.0086628888, 0.0749180317, -0.0222715586, -0.035664279, -0.0671266392, -0.0297086686, 0.0085331239, -0.0208308082, 0.0022379283, -0.053081505, 0.0412614718, 0.0109490762, 0.0041229334, -0.0824443996, 0.0130520938, 0.0072289486, 0.0251952466, 0.0437102169, 0.0088628037, 0.0163336135, 0.0065304535, -0.0257740803, 0.0035970993, 0.119642362, 0.0258900039, 0.0013468151, 0.0159333441, 0.0309350733, -0.0129096527, 0.0588645302, 0.0463685468, 0.0475223996, -0.0924475789, 0.0392711572, 0.045542445, 0.0440253206, 0.0102455821, 0.01813717, -0.0198187958, 0.0330945738, 0.0466580391, 0.0100347931, 0.0260566939, -0.0096198693, 0.0509495139, 0.0462505817, 0.0109394528, -0.0263769068, -0.0339754224, -0.0207571872, 0.0303705037, 0.0287948996, 0.0404692627, 0.008676921, -0.0281001311, -0.025255762, -0.0065508713, -0.0196568277, 0.0129992897, 0.0419719815, 0.044263944, 0.053737361, -0.059329018, 0.0195767507, 0.015112482, 0.0003083664, 0.0285670869, -0.026931027, -0.0344751775, 0.0455340408, 0.0202737991, -0.0493491776, 0.0116696674, -0.0242824499, 0.0668196976, 0.0473724194, 0.0570514537, -0.046050068, -0.0346309878, -0.0198954958, -0.0350156203, -0.0239486285, 0.0276070591, -0.0258865394, 0.0656845272, 0.0155228078, 0.0173958689, -0.0813295841, -0.0451926626, 0.0414924696, -0.0718715191, -0.0107762273, 0.0332926065, -0.0191035997, 0.010448873, 0.021961065, -0.0468643792, 0.0133023197, 0.0379254632, -0.0021426214, -0.0170098469, -0.0359127037, 0.0390643068, -0.0370520018, 0.0241142847, -0.0330206528, -0.0093748784, -0.0172176119, -0.0690819249, -0.0058053453, -0.0285050776, -0.0069622812, 0.0540665314, -0.0483084358, 0.0084582549, 0.005623484, -0.0173480306, -0.0355369411, 0.0323905572, 0.0073197684, 0.0116186114, 0.0220781919, -0.0341543891, -0.0032970782, -0.0532363579, 0.0235352218, -0.0188557953, -0.000751286, 0.0394895971, -0.055767078, 0.0176941678, -0.0386065841, -0.0010829096, -0.0903318152, 0.0343130566, -0.025782397, 0.0571719818, -0.0035296348, 0.0152278924, -0.0226057246, -0.0101858322, -0.0271845721, -0.0538462959, -0.0396875069, 0.0082103712, 0.0058891713, 0.0193680376, 0.0213470068, 0.02358138, 0.0053240662, -0.0229551364, 0.0920709446, -0.0643197522, 0.0095473314, -0.0325715728, 0.0427766331, 0.0080314036, 0.0282083545, 0.0064821299, 0.0227295049, -0.006708438, -0.0007277007, -0.0044093239, 0.0214558076, 0.0062109409, -0.0147215668, -0.0102930944, 0.0087537635, -0.0756335407, 0.0007653433, -0.0122971423, 0.0325383209, -0.0359910466, -0.0016924486, 0.0163637716, -0.0079422295, 0.0095256492, -0.0121251103, -0.0114358673, 0.00379992, -0.0197657347, -0.0075337188, -0.0519359931, 0.0234450921, 0.0020352078, -0.0147232655, 0.0049292538, -0.0049743983, 0.0715468302, -0.0291006602, 0.0193621367, -0.0452143289, 0.0114538074, -0.0377449133, 0.0311426762, -0.0268309619, 0.0051893652, -0.0282187331, -0.0364855751, -0.0156055875, -0.0117539829, -0.0067735915, -0.0522717573, 0.0905197486, -0.0410124958, 0.0047977204, -0.0067922701, -0.0329815, -0.0360200889, -0.0068479511, -0.0074068615, 0.0463973284, 0.0105797285, 0.0116074169, -0.0119990613, 0.0020826738, -0.0001869368, 0.0764691234, -0.0186603945, -0.010140609, -0.0042423392, -0.0396261476, 0.0094656581, 0.0314087942, -0.0233473908, -0.0552877784, -0.0117728012, 0.0118661625, 0.0415543914, -0.0469503291, -0.0321840756, -0.0109919095, -0.0094001247, -0.0266806632, 0.0201367829, 0.0436641984, 0.0016485158, -0.0673114508, -0.0224636253, 0.0807506144, 0.0228911713, 0.0095350286, 0.0009570608, 0.0491100326, 0.0099720703, 0.0388880335, 0.0638974309, -0.1162735969, -0.028175937, -0.0008371925, 0.0270834994, 0.0536908321, 0.0012974507, -0.0083898418, -0.1764408648, 0.0726186335, 0.000361212, -0.0504299551, -0.0051488252, -0.0321671553, -0.0117826015, -0.0138261626, 0.0209158789, 0.0259407796, -0.0316692181, -0.0135894762, 0.0312104858, 0.0208965894, -0.1231411397, -0.0240648221, -0.0259171892, 0.0005564952, 0.0495726839, 0.0190882161, 0.0320115276, -0.0124982484, 0.0254381802, -0.0111031113, 0.0005343243, -0.0289168973, 0.0830652118, 0.0122613059, -0.0052128751, 0.0540173091, 0.0527491458, -0.030558072, 0.0170703158, 0.0060526347, 0.0986972079, -0.0214731786, 0.014000481, -0.003801245, -0.0518823825, 0.0568757541, 0.0427544825, -0.0003921037, -0.0501832627, -0.0357865393, -0.0072181486, -0.0386919603, -0.0342719853, -0.0184466913, 0.0191067699, -0.0360128731, -0.0304350667, -0.0319854841, -0.0077990685, 0.0791871995, 0.0642912015, 0.0218409803, 0.0327675082, -0.0225718077, -0.0207111537, -0.0379599966, 0.0174072068, -0.0765306577, 0.0314972177, -0.0267847981, -0.000960243, 0.0166934971, -0.074213706, -0.0317501239, -0.0088000661, -0.0482344292, -0.0431475751, -0.0125320312, -0.0004061105, 0.0109784408, 0.0457062982, 0.0019627798, -0.0457972512, 0.0439012609, 0.0605389811, -0.0202541873, -0.0516769588, 0.011472119, -0.01250323, -0.0063143508, 0.0198763628, -0.0376239382, -0.004696948, 0.0048468611, 0.0088687371, 0.0237694178, 0.0138473185, 0.0300210603, -0.005908526, 0.0329843462, 0.0246174466, -0.0591135398, -0.0175842047, 0.0559616871, -0.0192917082, -0.0523782298, -0.0444256365, 0.0299009979, 0.0102213547, 0.0151921697, 0.0022995162, 0.0138229048, 0.0032361068, 0.0445189811, -0.0371218473, 0.0190969035, 0.0456429422, -0.0087202955, 0.0437769666, -0.0194417983, -0.0021427635, 0.0071874075, 0.0120264534, 0.0366005562, -0.0222312678, 0.0377883092, 0.0351717845, 0.0439118668, 0.0049639288, -0.0121807111, -0.0000293139, 0.0111025609, -0.0903729349, 0.0275488682, 0.0344626084, -0.0221787002, 0.0550738089, -0.0267819297, -0.0086392947, -0.0229548328, 0.0082515487, 0.0003213404, -0.0149362786, 0.0103805577, 0.0051348736, -0.0155864563, 0.0108451555, 0.0748402104, 0.0053274943, 0.0212112311, -0.0022083085, -0.014226472, -0.0494918711, -0.0546485856, 0.0839033648, -0.0255956128, -0.0197620802, -0.0381910354, -0.0290417019, -0.0425925478, 0.0040395143, -0.0086992327, -0.0536639988, -0.0128629385, 0.0471151136, 0.0613139607, 0.017576335, 0.0068627843, -0.0396804698, -0.0221848954, 0.03826873, -0.0681039318, -0.0445454344, -5.947008122e-33, -0.000255906, -0.0217742734, 0.047849603, -0.023811724, -0.0164189916, -0.0092234882, -0.0083298385, -0.0304370597, 0.0056418586, 0.0278644636, -0.0350795947, 0.0151885003, 0.0340267159, 0.0456670672, 0.0161021166, -0.0193841998, 0.0465895571, -0.0406518914, -0.0212800931, 0.0273409169, 0.0207944214, 0.0244172998, 0.0425247923, -0.0783495679, 0.0322962105, 0.013165486, -0.0369026549, -0.0036084596, 0.0190441329, 0.0455153435, -0.0062590796, 0.0149362655, 0.0022637502, -0.0566576533, -0.031157013, -0.0235405527, -0.0219193362, 0.0191648658, -0.000915925, 0.0081966799, 0.0184254795, -0.01007229, 0.0420881398, -0.0384053662, -0.0204650518, -0.0105364425, 0.0041873627, -0.0273406897, 0.0021148962, -0.0601915903, -0.0685961545, 0.0278946403, 0.0327140056, -0.015088032, 0.0591532625, 0.0341157243, -0.0049945288, -0.0177292135, -0.0336819366, 0.0438915938, 0.0219764188, 0.0347410142, 0.0652927309, -0.0043647434, 0.0040849354, 0.0266187284, -0.0417658389, 0.0117814355, 0.0496863052, 0.0026431989, 0.025682969, 0.0496031046, 0.0236733332, 0.0701105967, 0.0276344884, -0.0144226644, -0.0729316175, 0.0271889176, -0.0325795412, -0.0646228641, 0.0615488328, -0.0052739792, -0.0640691444, -0.0196619909, -0.0361467786, 0.0438503288, -0.0271806624, -0.0470028929, 0.0484579243, 0.0120295258, -0.0274093729, 0.0112296501, 0.0310238004, -0.0506974421, -0.0838855878, 0.0220348053, -0.0201257206, -0.0304233283, 0.0012377854, -0.0167644676, -0.0407541618, -0.0950458944, 0.0143115865, 0.0243242979, 0.0004243609, 0.0007569838, 0.0412829444, 0.0182083659, -0.0877575129, 0.0378078632, -0.0139510278, 0.0333491713, 0.0057759429, 0.0071432516, 0.0305427667, -0.0057547526, 0.0115952864, 0.0464511849, 0.0032018346, -0.0716374293, -0.0003940463, 0.0140956063, -0.0097081894, 0.0029060442, 0.0037294987, 0.0207197983, 0.0081616407, -0.0204770006, 0.0239285622, -0.0274165198, -0.0182403885, 0.0341704078, 2.648e-7, 0.0584584847, 0.0487841852, -0.0233306605, 0.0606000535, 0.0145306503, 0.0076089045, -0.0406828262, 0.0351510346, 0.0327055082, 0.0075547132, 0.0107871415, -0.0062652971, 0.0886914283, 0.0411009379, -0.1174994484, -0.0214344151, 0.016838992, 0.0017136735, -0.0583319888, -0.0309907869, 0.0250891987, 0.0841775909, -0.0266626216, 0.0242276043, 0.0121847717, -0.0559916012, 0.0382548273, -0.0235143509, -0.0260002278, 0.0474196784, -0.0328130983, 0.0147103602, -0.0109021105, 0.0473227352, -0.0482586958, 0.0368240289, 0.0223256182, 0.073492825, 0.0342417546, 0.0142939119, 0.0074455407, -0.053627748, 0.0131988162, -0.0066817869, 0.0538874641, -0.0852442756, -0.0031088949, 0.0293867178, 0.0121043604, -0.0380866341, -0.0020921393, -0.0058967145, 0.0432441831, -0.0106794266, 0.0427245833, 0.0207265262, -0.0109553253, -0.0201094318, -0.028246453, 0.0297657717, -0.0543759763, -0.0128133139, 0.0171582438, 0.0453523099, -0.0532666519, -0.0361952074, 0.0045971433, 2.96947207e-34, 0.0280582067, 0.0081582041, 0.0032263824, 0.0176978931, 0.0344593078, -0.0121452631, 0.0152783683, 0.0007139319, -0.005925952, -0.0407539494, 0.0005113857 ]
http://arxiv.org/abs/2310.06272v2
http://arxiv.org/pdf/2310.06272v2
Let Models Speak Ciphers: Multiagent Debate through Embeddings
2023-10-10T03:06:38
2024-02-26T17:36:48
Chau Pham, Boyi Liu, Yingxiang Yang, Zhengyu Chen, Tianyi Liu, Jianbo Yuan, Bryan A. Plummer, Zhaoran Wang, Hongxia Yang
cs.CL
cs.CL, cs.AI, cs.LG
Discussion and debate among Large Language Models (LLMs) have gained considerable attention due to their potential to enhance the reasoning ability of LLMs. Although natural language is an obvious choice for communication due to LLM's language understanding capability, the token sampling step needed when generating natural language poses a potential risk of information loss, as it uses only one token to represent the model's belief across the entire vocabulary. In this paper, we introduce a communication regime named CIPHER (Communicative Inter-Model Protocol Through Embedding Representation) to address this issue. Specifically, we remove the token sampling step from LLMs and let them communicate their beliefs across the vocabulary through the expectation of the raw transformer output embeddings. Remarkably, by deviating from natural language, CIPHER offers an advantage of encoding a broader spectrum of information without any modification to the model weights, outperforming the state-of-the-art LLM debate methods using natural language by 0.5-5.0% across five reasoning tasks and multiple open-source LLMs of varying sizes. This showcases the superiority and robustness of embeddings as an alternative "language" for communication among LLMs. We anticipate that CIPHER will inspire further exploration for the design of interactions within LLM agent systems, offering a new direction that could significantly influence future developments in the field.
[ 0.0296671689, 0.0624162778, -0.0068928665, 0.070286639, -0.0458845235, -0.0148416106, 0.0272280481, -0.0201792438, 0.0130606452, -0.0520518646, -0.0193883087, -0.0079615135, -0.0196947958, 0.0392471179, 0.0416525416, -0.0188856963, 0.013475976, -0.0266179387, 0.0324556865, -0.0251213461, -0.0000114342, -0.0122766253, 0.0222728048, 0.0651921704, 0.0175291747, -0.0069957189, -0.0715012103, -0.0409053378, 0.0190368462, 0.0004972555, -0.0389659144, 0.0234331824, 0.05265522, 0.0770079792, 0.0000020784, -0.0199448466, 0.0041046678, 0.0242507048, -0.051284425, -0.0228732433, 0.0541248396, 0.0143217063, 0.0053402265, 0.0001686431, -0.063095212, 0.0031738197, 0.0649763048, 0.0744240806, 0.0637471899, 0.0633362085, 0.0080901477, -0.0311889127, 0.0225779731, -0.0058627622, -0.0239772685, -0.039019186, 0.0151079148, -0.0085330065, 0.0162013434, 0.0329693928, -0.0156449713, 0.0148487538, 0.0491971001, -0.0356829539, -0.0172788147, 0.0282937288, -0.012017115, -0.0421584919, -0.0293251369, 0.0506416745, 0.0133486409, 0.0034630646, -0.0173764601, 0.006150627, 0.0180083029, 0.0189369954, -0.051420752, 0.055220414, 0.012607812, 0.023388166, 0.0160759352, 0.0151714012, 0.0408999287, -0.0105647184, -0.0831005499, 0.0832101703, -0.004550111, -0.0121628335, -0.0241760202, -0.030845359, -0.0203576926, -0.0860487297, -0.0064978302, 0.031744618, -0.041895248, 0.0055018482, -0.0107178381, 0.0015377817, -0.0062665967, -0.0562536754, 0.0191852748, 0.0356052518, 0.0278299581, 0.039408613, -0.0137550896, 0.0533784181, -0.0293364972, 0.0602831431, -0.0013995941, -0.0311282426, -0.0370378755, -0.0582377501, -0.0078346785, 0.0543798469, -0.0498517975, -0.0140466718, 0.0143795758, 0.0500103645, -0.0534702092, 0.0464095622, -0.0109466957, 0.017672766, 0.0006947413, -0.0071044099, -0.0469961539, 0.0284758564, -0.0364430547, 0.0121223321, 0.0329457931, -0.0528135858, -0.0174476616, -0.0045321085, -0.0359708481, -0.0053983573, -0.0272155963, 0.1183530092, 0.0077128662, -0.0064907339, 0.0267832037, -0.0451596454, 0.0070376717, -0.0800449178, 0.0221990645, -0.0473926291, 0.0142616024, -0.0031554769, 0.0032656873, -0.0592418611, -0.0017765943, -0.0204132684, -0.0395092778, 0.1168981418, 0.0111363772, -0.0149923982, -0.0023860948, 0.0268061012, -0.0123797217, 0.07259202, 0.0550649874, 0.0255379584, 0.0364340581, 0.0228814613, 0.0068897731, 0.0125240125, 0.0164957009, -0.0023381538, 0.002456656, 0.0054498394, -0.0028953583, 0.0513829328, -0.0169801302, 0.0564492345, -0.0432571322, -0.0768871084, 0.0610807315, 0.0762268975, 0.011727999, 0.0065744165, 0.0299837086, 0.0451676585, -0.0132003361, -0.0064611132, -0.0517004915, 0.034204118, -0.0230156481, -0.0340578705, 0.0078809764, 0.0205627605, -0.0303494688, -0.0530282333, 0.0091859978, -0.0154722342, 0.0609529167, 0.0045221555, 0.0256537516, -0.0092557315, -0.0194419567, 0.028188495, 0.0073086577, -0.0340565294, -0.0432119668, -0.074806653, 0.0579511225, 0.026529111, 0.039260339, 0.0096690701, -0.0346835963, -0.0251739491, -0.0068701976, 0.0689536035, 0.0213939827, -0.0193350092, -0.0052328762, -0.0392291956, -0.0485854894, -0.0244667195, -0.0008835426, 0.0300443433, -0.0343800485, -0.0162674766, -0.005310196, 0.0008970398, 0.0262427405, 0.0150780603, -0.0207370911, 0.0245135967, -0.0303680543, 0.0126814647, 0.0787477568, 0.0201108027, -0.0188853014, 0.0356577262, 0.0264406297, -0.0073060193, -0.0662687644, 0.022344945, -0.0195403323, -0.0106701404, 0.0290812701, -0.0234482829, 0.0252196118, -0.0081265671, -0.0239417497, -0.0063291742, 0.0416007377, -0.0158378109, 0.0465147272, -0.0238038991, -0.0245063417, 0.000880629, -0.0165837742, -0.0409594215, 0.0161619075, -0.0058836881, -0.051467523, 0.0102914954, 0.0239698626, 0.0305671766, -0.0241010655, -0.0127386665, 0.0867817774, 0.0323005095, -0.0025836008, 0.0472194068, -0.0034283153, 0.0036814502, -0.0477222614, -0.0878846347, -0.0135699948, 0.0005190046, 0.0064955885, -0.0307229068, -0.0201906972, 0.0274646524, 0.0278520361, -0.0532465093, -0.0064149019, -0.0002738534, 0.0301641691, 0.0310836397, 0.0085128956, -0.0454009138, 0.0078141736, 0.0086955596, -0.0084101595, 0.0670148954, 0.0242942814, 0.0122237476, -0.0621484965, -0.0019807103, -0.0681568235, -0.0032023413, -0.0311354417, -0.0301390719, 0.0602135658, 0.009837117, -0.0207479596, 0.0469316877, 0.0060252245, 0.0554572344, 0.039329011, -0.0226526782, -0.0839989558, 0.0206148066, -0.0166002493, 0.0028819367, -0.0645410642, 0.0016186585, -0.0035646344, 0.0817027017, -0.0115652531, -0.0115152039, -0.069648765, 0.0631843209, 0.0154200988, -0.040671479, -0.0195889436, -0.0400224961, 0.0059035663, 0.0421376862, -0.0090099005, -0.0225908868, 0.1034318209, -0.0226450041, -0.0023258973, -0.0347418971, 0.0015756628, -0.0429594107, 0.0629814863, -0.0374043696, -0.0047316621, 0.0170941819, -0.0050369906, -0.0588993281, -0.0500366613, 0.0348353796, -0.0163715389, 0.0088976305, -0.026978245, -0.0108407931, -0.0132524371, -0.0411428511, -0.0294606537, -0.021851711, -0.0807666406, 0.0260049477, 0.0122311432, -0.0589970239, -0.0355672613, 0.0214435719, 0.0273527075, -0.0408580042, 0.0132042766, -0.002359634, -0.0470946319, -0.0316823833, -0.0032788708, 0.0423590057, 0.0242598616, -0.0262329057, 0.0642686486, 0.0680541396, -0.0259425566, -0.0226271451, -0.0463402867, -0.0095856646, 0.0141128125, 0.0157267954, -0.0033138464, -0.0037054275, 0.0311367195, -0.0361965112, 0.0142085822, 0.0984775051, 0.0212296899, 0.0068667019, 0.0104551101, -0.0496052429, 0.0348361656, 0.0140164914, 0.0272285566, -0.0806967169, -0.0254721455, 0.0295153074, -0.0207675919, -0.0187392514, -0.0426955931, -0.0118691707, -0.0668895394, 0.0451910533, 0.0206607562, 0.0119243599, -0.01353392, -0.0431088209, -0.0366334803, -0.0169424918, 0.0219201464, -0.0258062482, 0.0538186431, -0.011241246, -0.0163232442, -0.0123158172, 0.0050818911, 0.0050642723, -0.0395389572, 0.0580052584, 0.0374686383, 0.0584211312, -0.0031206009, -0.0491123721, 0.0020226773, 0.0644020364, -0.0091426708, -0.0021177093, 0.0162574686, -0.009357105, -0.0119900415, -0.026832886, 0.0108937016, 0.0088057416, -0.0466430858, 0.0008333968, 0.0791111812, -0.0497229435, -0.0300076175, -0.0145663014, 0.0144204674, 0.0229393039, 0.0727998614, 0.0307218544, -0.0179336555, -0.0496458225, -0.0667550862, -0.0317163877, -0.0069241277, -0.0516901314, -0.0157356877, 0.0485091954, 0.0071311896, -0.0376040973, -0.0379733779, 0.0240819808, 0.0052061882, -0.005247884, -0.0085385796, 0.0628347248, 0.0034368397, 0.0084778238, -0.0144550549, -0.0575472005, 0.0155823538, -0.0006901649, 0.0207591988, 0.0149429226, -0.0158586968, -0.024531642, 0.0206362288, -0.0386528336, -0.0774521232, -0.017869968, 0.0549956821, 0.0297088809, 0.0132804122, -0.0158836637, -0.0347129181, 0.0930005684, 0.0020951605, -0.0324238241, 0.0021594758, 0.0615629666, 0.0096005583, 0.019180702, 0.0579018928, -0.025767358, -0.0183017123, 0.0074082334, 0.0253638048, -0.0272773523, -0.0235006455, 0.0103201782, -0.0002284646, -0.0213974696, 0.0315693207, -0.0108015658, -0.0258500259, 0.0220917128, -0.0754183978, -0.0270183105, -0.0704528615, 0.0111061586, -0.0206043255, -0.0203709472, 0.0429960154, -0.0066774231, 0.0040820781, 0.0222643428, 0.0473493971, 0.0232612155, -0.0030377728, 0.0204851627, 0.0175777394, 0.0134856552, 0.0044582309, 0.0007411062, -0.023421891, 0.0365166105, 0.0006707805, 0.0492723733, 0.0472811572, -0.0297726262, -0.0466795191, 0.0333271362, -0.0754243955, -0.0849051178, 0.0592283681, 0.0369607955, 0.002614504, 0.0666093007, -0.0056838929, -0.062904723, -0.005224362, -0.0077885576, 0.0427322425, 0.0165501256, -0.0462340452, 0.0625726283, 0.019688528, -0.0449643023, -0.0193305071, 0.0405247584, 0.0096884267, 0.0269642901, -0.0323298834, -0.0293002687, -0.0645628944, -0.0427056737, 0.0176080354, 0.008702145, -0.0208589844, 0.0074465182, -0.0734216943, -0.0433509462, 0.0102011701, 0.0326309763, -0.0219838023, -0.0181177389, 0.0082537001, 0.0337082818, 0.0146424668, -0.0069694445, -0.0396465436, 0.0081781363, -0.003674309, -0.0276744496, -0.0163069852, -6.235697045e-33, -0.0224215463, -0.0425393358, 0.0454588979, 0.0034051645, -0.0324445963, -0.0271261744, -0.034145128, -0.001529052, -0.0148092825, 0.064375706, 0.004100997, 0.0179956425, 0.0172775239, -0.0044814483, -0.0159415957, -0.0426680334, 0.031367857, -0.0051333751, -0.0284673851, 0.0178818684, 0.0483598448, -0.0226530544, 0.0321957693, -0.0493762083, 0.0603909343, 0.0189644843, -0.0155978231, 0.0385519825, -0.0504831113, 0.0609515309, -0.0367762111, 0.0169023424, -0.0112257972, -0.0522013977, -0.0271356516, 0.0297342744, 0.0001641637, -0.0302468594, 0.0333065428, 0.0016575942, -0.0338986181, -0.0614741929, 0.0166926477, 0.0001406462, -0.0071864203, 0.0109076835, -0.006878342, -0.0225385167, -0.005584565, 0.0329592451, -0.0419003516, 0.0178651549, -0.0268546678, -0.0148056969, 0.0318151265, -0.0213680752, 0.0237550363, 0.0124562113, -0.0467260703, 0.0367344357, 0.0270126443, -0.0368989334, 0.0437702797, 0.0071718763, 0.0087007247, 0.0782551393, 0.0081221489, -0.0021722824, -0.0609353855, -0.0156777445, 0.0081334533, 0.0444702804, 0.0489647686, 0.064551264, -0.0199172124, 0.0243423078, -0.068216145, 0.0008545468, 0.0196118634, 0.0774995163, 0.0494702607, 0.0221599471, -0.0448706597, -0.0314920023, -0.0536092333, -0.0095549701, -0.0258537196, -0.0283789579, 0.0158342756, 0.0077388911, -0.0075753122, -0.0232879035, 0.0582049601, -0.0888790414, -0.0185631663, 0.0269574486, 0.036173813, -0.0015135094, -0.0025278598, -0.0014716759, -0.0192888323, 0.0009846896, 0.0043866416, -0.0160626043, 0.0143370181, 0.0020814408, 0.0029099362, 0.0240224432, -0.0199600831, -0.007886976, -0.0414176546, -0.0345083401, -0.0018762141, 0.0158283971, 0.0225705076, 0.0231600758, -0.0206373986, 0.0006291026, -0.0340165831, -0.0188604407, -0.018344773, 0.0397623219, -0.0107382163, 0.0209564324, -0.0114429286, -0.013943648, -0.0510388538, 0.0208007712, 0.0469634756, -0.0207028911, -0.0107823377, -0.0159215778, 2.793e-7, 0.0147604169, 0.0208175592, 0.052162692, 0.0064994944, 0.0157742444, 0.0801196396, -0.0137338117, 0.0345626548, -0.0038966003, -0.0464079641, 0.0014285117, 0.0633016229, 0.0534694307, 0.0346917287, -0.0575318597, 0.0022196576, -0.0280295908, -0.0220884867, -0.024813205, -0.020339245, 0.0754567385, 0.0884783268, 0.0392128155, 0.0479364693, -0.0157677606, -0.0235534627, 0.0496321432, -0.0482968912, -0.0141382776, 0.0086119492, 0.0275612958, -0.0145196822, 0.0286023319, 0.0021767975, 0.0400446877, 0.019854553, -0.0251033958, 0.0484468155, 0.0110780308, -0.0397807099, -0.050315585, -0.0547278188, -0.006510471, -0.0358504578, 0.03667669, -0.1028876975, -0.0885290578, -0.022164885, 0.0080384584, -0.0339180082, 0.0235026348, -0.0073098466, -0.020844046, -0.000924929, -0.0013343293, -0.0017042649, 0.0606802255, -0.0820819587, 0.0078388676, -0.0396914408, -0.0682860762, -0.0454995558, -0.0302104633, -0.0169526953, 0.0719033554, -0.0108341658, 0.0124548972, 2.634731916e-34, 0.0374906361, 0.0033388697, 0.0060184104, 0.0707079321, 0.0617551357, 0.0029715684, 0.0276150703, 0.002101009, 0.074325867, -0.0792141259, -0.0182097834 ]
http://arxiv.org/abs/2310.06271v1
http://arxiv.org/pdf/2310.06271v1
Towards Mitigating Hallucination in Large Language Models via Self-Reflection
2023-10-10T03:05:44
2023-10-10T03:05:44
Ziwei Ji, Tiezheng Yu, Yan Xu, Nayeon Lee, Etsuko Ishii, Pascale Fung
cs.CL
cs.CL, cs.AI
Large language models (LLMs) have shown promise for generative and knowledge-intensive tasks including question-answering (QA) tasks. However, the practical deployment still faces challenges, notably the issue of "hallucination", where models generate plausible-sounding but unfaithful or nonsensical information. This issue becomes particularly critical in the medical domain due to the uncommon professional concepts and potential social risks involved. This paper analyses the phenomenon of hallucination in medical generative QA systems using widely adopted LLMs and datasets. Our investigation centers on the identification and comprehension of common problematic answers, with a specific emphasis on hallucination. To tackle this challenge, we present an interactive self-reflection methodology that incorporates knowledge acquisition and answer generation. Through this feedback process, our approach steadily enhances the factuality, consistency, and entailment of the generated answers. Consequently, we harness the interactivity and multitasking ability of LLMs and produce progressively more precise and accurate answers. Experimental results on both automatic and human evaluation demonstrate the superiority of our approach in hallucination reduction compared to baselines.
[ 0.0676196292, 0.0470776632, -0.0107578794, 0.0013610331, -0.0257925484, 0.0058025299, -0.0086709792, 0.009467545, 0.0223643966, -0.009351545, 0.0074462807, -0.0356496796, -0.0150624048, -0.0252529774, 0.028447831, -0.0274494197, 0.0321528204, -0.0324615389, -0.0094891312, -0.0411396362, -0.0015455621, 0.0179267675, -0.025752712, 0.0348780118, 0.0078256465, -0.0457664244, 0.0380890742, -0.0212118234, -0.0051774476, -0.0167312715, -0.0186950918, 0.0812797472, -0.0343053527, 0.0319359303, 0.0000020425, -0.0517616794, -0.0014715609, -0.0018664447, -0.0413975157, -0.020682022, 0.0333785824, 0.0188796818, 0.0087504098, 0.0314325616, -0.051527258, 0.0092165684, 0.0134608932, 0.0368469022, 0.0805977061, 0.0054425169, 0.0017393199, -0.0065726214, -0.0049539059, 0.0173643939, 0.0641116872, -0.0053072562, 0.0435540713, 0.0526396148, 0.0041619991, -0.0409969948, 0.0001655706, 0.0549262911, 0.0091409227, -0.0059246579, 0.0231715366, 0.0278030187, -0.0286888778, -0.0277948715, 0.016769575, 0.0748229474, 0.0198792089, -0.0456598587, 0.0057628467, 0.0142687568, 0.0229864493, 0.0531436242, -0.0530229323, 0.0161409248, -0.0235469658, -0.0235587116, 0.0045045456, -0.0114958938, 0.0209208503, 0.0147346286, -0.0100831231, 0.0268815625, 0.0267537143, -0.0255090203, -0.0018832331, -0.0087390225, -0.0053164386, -0.0449625067, 0.0334465243, 0.0807895735, -0.0530838035, 0.0078214761, -0.0139391972, -0.0228722673, 0.0925042629, -0.0732545778, 0.0114538642, -0.0051927855, -0.0290716607, 0.045245558, 0.0019860649, -0.0023279006, -0.0371181965, 0.0437083915, -0.0702490658, -0.0004066045, -0.0468424149, -0.0423346609, -0.0386499614, 0.0293231439, 0.0156010725, 0.0161042623, -0.0260663703, -0.0035381212, -0.0356097668, -0.0035816955, -0.0152296051, 0.0623410083, -0.0181033108, -0.0241931174, -0.0500879548, 0.0189826135, -0.0254807323, 0.0120674698, -0.006502613, -0.0697476715, -0.0046133231, -0.0003518259, 0.0104650715, 0.0158019066, 0.0293778051, 0.0332770161, 0.0004182671, 0.0180192273, 0.0179562662, -0.0747462735, -0.0457606278, -0.0503485017, 0.0043969103, -0.0801634416, 0.0293828193, 0.0184726585, -0.037419688, -0.0436219983, 0.0371945985, 0.0529322885, -0.0398461372, 0.0657301843, -0.0444368944, 0.0478569083, 0.0802394077, 0.0496211797, -0.0150198154, 0.0263489801, 0.0056197736, -0.0166117474, 0.0092302319, -0.039951738, 0.0872318447, -0.0125210276, 0.0323346332, -0.0249853674, 0.0005888172, 0.0449624769, 0.0047527994, 0.0551310703, -0.018506268, 0.0742664039, -0.0119218305, -0.0065839025, 0.0361109823, 0.0578707308, -0.0231797751, 0.0338334627, -0.0000772666, -0.0280066188, 0.0210513119, 0.0186525378, -0.0067740544, 0.0319165364, 0.004782523, -0.0128137199, 0.0067131878, -0.0022667197, -0.0174368136, -0.040583048, -0.0319238603, 0.0139447851, -0.0057890648, 0.0495625846, 0.0133549646, 0.0327986591, -0.0113626141, 0.0838630944, 0.0469512939, -0.0551218614, 0.0200138632, -0.0771450475, 0.0178611912, 0.1114165336, 0.0819306374, -0.0257602111, -0.0289800968, -0.0336473137, 0.0402585827, 0.0286397971, 0.0270709172, -0.0360022821, -0.0206032004, -0.018421676, 0.0093354238, 0.0319708735, 0.001994859, -0.0365193561, -0.0065531069, 0.0059878379, -0.0155681241, -0.0250198655, -0.049748715, 0.0369818136, -0.0482717454, -0.0300962962, -0.0066575352, -0.0126610501, 0.0013307449, 0.0265650805, -0.0079371529, 0.0668850243, 0.0190021694, -0.0316019058, -0.0535991415, 0.0081005413, -0.0445188619, -0.0103939567, 0.0333441272, -0.0356364548, -0.0243250951, -0.0122843087, 0.0014301456, -0.0320496038, -0.0252593867, -0.083971642, 0.0217009708, -0.0380436182, -0.0073197461, 0.0113982856, 0.0113606518, -0.0525474437, 0.0488205813, -0.0131813725, 0.0265632439, 0.0321071744, -0.0240589343, -0.0008505163, -0.0363031887, -0.0035786054, -0.0110920435, -0.007074099, 0.0265740436, 0.0044088764, -0.0374722332, -0.0523480773, -0.0374235734, -0.1010232568, -0.0398110487, -0.0130501287, 0.0099399518, 0.0338415653, -0.0035594464, -0.0018904834, -0.0356739089, -0.0443550795, -0.0108245984, 0.0339980386, 0.0385691412, 0.0217286684, 0.0165112205, 0.0178797673, -0.0224754084, 0.0119577302, -0.0421218053, 0.0186078828, 0.0119098574, 0.0291872714, -0.0606670007, -0.006062706, -0.0693268776, -0.0099384179, 0.0235109702, -0.0316859521, 0.0248661786, 0.0018397806, 0.0282031037, 0.0319341794, 0.0296347253, 0.0056231259, 0.0724529848, -0.0051025241, -0.0281395931, -0.015469864, -0.0264696311, -0.0068140659, 0.0261374097, -0.0592617802, -0.0280221011, 0.0466993898, 0.0502916612, -0.0032217165, -0.050458245, 0.0452878363, -0.0519982949, -0.0440853909, -0.0362501852, -0.0178616848, -0.0463947877, 0.0491841137, 0.0022921441, -0.0141552547, 0.0877737105, -0.0066920142, 0.0233484246, -0.0514898859, -0.0000288247, -0.0229435805, 0.0280507617, -0.0300138891, 0.033038374, 0.0071738954, -0.0026032976, -0.0291219931, 0.0110165402, 0.0088473689, -0.079727985, 0.0250176601, -0.0381308049, 0.0011324817, 0.0251022503, -0.0243707392, -0.0659587458, -0.0590326414, -0.0167332496, -0.0411261544, -0.0328529291, 0.0310098957, 0.0062630232, -0.0047437521, 0.0164536331, 0.0150087262, -0.0053464952, -0.0268009901, 0.0093611116, 0.0173915364, 0.083798565, 0.0226013307, 0.0359640867, -0.0022696527, 0.0482125431, 0.0834166035, 0.057005126, 0.0414310433, 0.0187818203, -0.0428801402, 0.000883967, -0.0279964451, 0.0212989412, 0.0130531862, 0.0257647038, -0.0524007119, -0.034584906, 0.0982928276, 0.0399085917, -0.0447864532, 0.0203553401, -0.0816324875, 0.0106969178, 0.0015384827, 0.0236790013, -0.0661380365, -0.0033028622, -0.0276486836, 0.0291808899, -0.0280454233, -0.0285451114, 0.0197121315, -0.0835292116, 0.0334986821, 0.0029703605, -0.0170641113, -0.010394928, -0.0179873556, -0.0044597895, 0.0254979469, 0.0065067057, 0.0158456359, -0.013684242, -0.0068396688, 0.0182800051, -0.0712816194, -0.0238221381, 0.0577850603, 0.0060545946, 0.051159516, 0.0717569441, 0.0325371213, -0.0036637557, -0.0570148192, -0.00146312, -0.0221936237, 0.0037075931, 0.0131991766, 0.0697180182, 0.0304295905, 0.0146156568, -0.0406152047, 0.0475798324, -0.0592681989, -0.03347582, 0.0179424882, 0.099714376, -0.0469099656, -0.0285614338, -0.0396816023, 0.0510472991, 0.0288585536, 0.0829976499, 0.027106626, -0.0233225841, -0.0215420686, 0.0169023871, 0.0543069281, -0.0098612262, -0.0589503683, 0.0623599961, 0.0562761091, -0.0071914778, -0.0703673363, -0.0470871106, 0.0405163281, 0.0161477253, 0.0015073908, 0.0760463402, -0.0263463072, 0.0089921663, -0.0247472767, 0.0233755857, -0.0254493803, 0.0025319962, 0.00839472, -0.0304575805, 0.0309683587, -0.0086980611, -0.0065513216, 0.0027734779, -0.0453676023, -0.028135322, 0.0266662035, 0.0503998324, 0.0276285633, 0.0131545058, -0.0263560675, -0.0376731604, 0.0313870758, 0.0147886062, -0.0382790305, 0.003273746, -0.0121908979, 0.0149682108, 0.0017153913, 0.0334718227, -0.0225633793, -0.0008017392, 0.0019372964, 0.0195009802, -0.0261946265, -0.0397114046, 0.0379650705, 0.0107995113, -0.0126333162, -0.0217528362, 0.0248015244, -0.0041547995, 0.0095384475, -0.0389914177, -0.0033999982, 0.0013483585, 0.0072812517, 0.0328991748, -0.0519935153, 0.0124560557, -0.0146940351, -0.0773528665, -0.004595059, -0.0516702682, 0.0273048487, 0.0254797824, -0.0134989545, 0.04041088, -0.0227331817, -0.010088617, -0.0088916598, 0.0150522059, 0.0470639095, 0.0194711462, 0.0777089149, -0.001504638, -0.0212908201, -0.0115748607, 0.03137381, -0.0598606095, -0.1112801507, -0.0243252777, 0.0482144877, 0.0142356893, 0.0406983122, 0.0282237642, -0.0016111145, -0.0038349959, 0.006595402, -0.0024320998, 0.0050957296, -0.0068896404, 0.0502438806, 0.0226392988, -0.0078889662, -0.0209269058, 0.0854320154, -0.0264034588, 0.0552513748, 0.0014983168, -0.0397615619, -0.0304461233, -0.0594571382, -0.0557937883, -0.0243780483, -0.0454105772, 0.0013106382, -0.093920663, -0.0557654053, -0.0254835319, 0.0099664973, -0.021927068, -0.0266323313, 0.0511004217, 0.0789878815, 0.0135100456, -0.0348344184, -0.0363336243, 0.0911503211, -0.0196052361, -0.0010045466, 0.0291796476, -6.473847793e-33, 0.0178695805, -0.0649356321, 0.0415834188, -0.0365434289, -0.0087050023, -0.0139264474, -0.022442488, 0.0177913401, -0.0032134966, 0.0284962784, -0.0248392038, 0.0093596512, 0.0048491857, 0.0339226127, 0.0256744754, -0.0411922075, 0.0275703762, 0.0019256835, -0.0213817731, 0.0462105647, -0.0042100311, 0.0278088916, 0.0061684297, -0.049335435, 0.0295998231, -0.0421955995, 0.0154526979, 0.0277778246, -0.0256340466, 0.0527542271, -0.0380500816, 0.052145157, 0.0360286348, -0.04174776, -0.0113187665, 0.0306529459, -0.052033782, -0.0218652524, 0.0110212406, -0.0100846682, -0.0755188316, -0.0390398651, 0.0479484983, -0.0167567227, -0.0091544148, 0.0055954717, 0.0219826754, -0.026683908, -0.001835392, 0.025051875, -0.0590259954, -0.0036567112, 0.0193796288, -0.0327147543, -0.0290729329, 0.0380886942, -0.0281267185, -0.0259385202, -0.0438069776, 0.0042202198, 0.0111213792, -0.0029587308, 0.039240621, -0.026867779, -0.0047636498, 0.0355320983, 0.0489592478, 0.023115769, -0.0472475961, -0.0197285637, -0.0605104826, 0.0249492489, 0.0797914118, 0.0343315303, 0.0301374979, -0.0040318854, -0.0577862747, 0.0080538774, -0.0704685897, 0.0370600149, 0.0569648333, -0.0378236435, -0.0451328978, -0.0130491853, -0.0416304693, 0.0302954558, -0.0254896954, -0.0433884449, 0.0248495359, -0.008559891, -0.048650749, -0.0098034777, 0.0037789727, -0.0378898233, 0.0085036177, -0.0139229773, 0.0037685728, -0.0085942075, -0.0053640702, 0.0053419662, -0.0244604759, 0.0610627122, 0.0026116222, 0.0002576103, 0.0484220833, 0.0452388227, -0.0026414082, -0.0388047583, -0.0478868186, -0.0004762301, -0.0299068782, 0.0133582624, -0.0030681335, -0.0151270404, 0.0445154719, 0.0308650807, -0.013482633, 0.0060929866, 0.0169631653, 0.0197173916, -0.0399546921, -0.0001035809, -0.0032320181, -0.0144455982, -0.0396678522, 0.00413075, -0.0373971127, 0.0191182215, 0.0251408238, -0.0584046803, 0.0019236171, -0.0131423688, 2.791e-7, 0.0643033087, 0.0527064726, 0.00126554, -0.0047639245, 0.046346046, 0.0143675553, 0.0313997455, 0.0028215139, 0.0338555984, -0.0441498049, -0.0003135431, 0.0326092206, 0.0444817059, 0.0642327219, -0.0635310039, -0.0403931886, -0.0728994608, 0.0054462212, -0.0308651421, -0.0526361801, 0.05791023, 0.0409580171, -0.0363726988, -0.0487753525, -0.022235062, -0.0126153035, 0.0533550829, 0.0052470095, -0.0023829541, 0.0494432226, 0.0492022522, -0.0103291683, 0.034429457, 0.0590741113, -0.0286382549, -0.0618303977, 0.0195348747, 0.0285216793, -0.0511480533, -0.0423640348, -0.0084999837, -0.0165002458, 0.043192517, -0.0762751251, 0.0779906809, -0.0544413552, -0.0288842823, -0.0210848581, -0.0012394374, -0.0365792364, 0.072272405, -0.0074910936, -0.0328015573, 0.0231646225, 0.0157679748, 0.0393928401, -0.0025345315, -0.0356656238, -0.0114222392, 0.006703848, -0.0380661748, -0.030552594, 0.0243467465, -0.0340230726, -0.0306469891, -0.0975064784, 0.0175450835, 2.36902106e-34, -0.0009813624, 0.0409477055, 0.0340324193, 0.0445285477, 0.0248270147, 0.009369297, 0.0405764133, 0.0266873576, 0.0274100434, -0.0472336896, -0.0248799957 ]
http://arxiv.org/abs/2310.06260v1
http://arxiv.org/pdf/2310.06260v1
An experiment on an automated literature survey of data-driven speech enhancement methods
2023-10-10T02:07:24
2023-10-10T02:07:24
Arthur dos Santos, Jayr Pereira, Rodrigo Nogueira, Bruno Masiero, Shiva Sander-Tavallaey, Elias Zea
cs.SD
cs.SD, cs.CL, eess.AS
The increasing number of scientific publications in acoustics, in general, presents difficulties in conducting traditional literature surveys. This work explores the use of a generative pre-trained transformer (GPT) model to automate a literature survey of 116 articles on data-driven speech enhancement methods. The main objective is to evaluate the capabilities and limitations of the model in providing accurate responses to specific queries about the papers selected from a reference human-based survey. While we see great potential to automate literature surveys in acoustics, improvements are needed to address technical questions more clearly and accurately.
[ 0.0148362452, 0.0912281498, -0.0047004945, -0.058398433, 0.0024463015, -0.0313439406, 0.0767557472, -0.0144690843, -0.0738241822, -0.0224887189, -0.0511313528, -0.0059799394, 0.019562304, -0.001374517, 0.0252636932, -0.0530086756, 0.0015972563, -0.051116433, 0.0179607384, -0.0435521267, -0.0397892818, -0.0159059148, -0.0445202813, 0.0312559344, 0.0240349155, 0.0166049823, -0.0176705625, -0.0044398517, -0.0056191827, -0.029489642, 0.0235559307, 0.0603911765, 0.0011784636, 0.0384120196, 0.0000019754, -0.0428836271, -0.0236528106, 0.062228106, 0.0022710275, -0.0110386079, 0.0722579435, 0.0284051374, -0.022747431, 0.0112246154, -0.0069688219, -0.0488695428, 0.0395987108, 0.0319951586, 0.0150873344, 0.0269946195, -0.0147419386, -0.0829789266, 0.0528042167, -0.0063580591, 0.0337499231, 0.0149509292, 0.0439882316, -0.0144759361, 0.0148624834, 0.0006680141, 0.0036808543, 0.0503102764, -0.042057693, -0.019107189, 0.0768682957, 0.0032323208, -0.0523021817, -0.0493978113, -0.0004858018, 0.0449934453, 0.0180945769, -0.0040922137, 0.0078135934, -0.0247264076, -0.0282770079, 0.0554966666, -0.0265925061, -0.0094023235, 0.0304587837, -0.0563381352, -0.0352020413, 0.0320839062, -0.0036034249, -0.0684107468, -0.020739425, 0.0134933284, 0.0210600179, -0.0457896776, 0.0390479751, 0.0047444957, 0.0396017469, -0.0188115053, 0.0491180718, 0.0134155136, -0.0375376754, -0.0236362144, 0.0285541192, -0.1114173755, 0.0015565609, 0.0477744304, 0.0132629545, -0.023672672, -0.0569217093, -0.0235378537, 0.0145176668, -0.016640462, -0.0201974735, -0.012926504, -0.027125407, 0.017230995, 0.0192797948, 0.0028104165, -0.0337780602, 0.0224523582, -0.0240751673, 0.0194382034, -0.0530231819, -0.0301703773, -0.008565357, -0.0048275879, 0.031634111, 0.0204837117, -0.0847412497, -0.0098730046, 0.0168410987, 0.0417357013, 0.0239765309, 0.0735661685, -0.0390071943, -0.0248904768, 0.0254018176, 0.01180299, 0.0559505932, -0.0039487896, 0.0402069911, 0.0259271339, 0.012221803, -0.0423267744, -0.0028648765, 0.0213997159, -0.0063918475, -0.0095900763, 0.0101410849, -0.0665562525, 0.0391772501, -0.009608292, -0.0184139553, 0.0195794068, -0.0285868272, -0.0084730545, 0.0077345404, 0.0720749274, -0.0494796634, 0.0178717598, 0.0683603212, -0.0401341245, 0.0428861156, 0.0077354256, 0.029026797, -0.0556210577, 0.0225702301, -0.0519203246, 0.0406980589, 0.0196785331, 0.0142953852, -0.0068362718, 0.0420411453, -0.0043344274, -0.0569780767, 0.0102619883, 0.0113745406, 0.0174130034, 0.0001368559, 0.0000251745, 0.0503623709, 0.0611231886, 0.0511043556, 0.0614677407, 0.0260386616, 0.0235770512, 0.021455681, 0.0103291729, 0.018840177, -0.0168131515, -0.0258940533, 0.0222035982, 0.0259653553, 0.0458435416, -0.0153836338, -0.0552979782, 0.0262436401, -0.004626336, 0.0053236675, 0.0371076912, 0.0806448236, 0.0509219021, -0.0269082915, 0.0075449003, -0.00279394, -0.0640878677, 0.016233163, -0.0148711409, 0.0129864104, -0.0225052331, 0.0482900366, -0.0829970688, -0.0160420798, -0.0634529367, -0.0499440357, 0.038194783, -0.0269371402, 0.0123474551, 0.027118599, -0.0223302245, -0.0333480723, 0.0162055995, -0.0059819072, 0.0135577759, 0.0018183584, -0.0003236617, 0.009702215, -0.0596699454, 0.0010395985, 0.0167717636, -0.037180163, -0.0310575198, 0.0428971946, -0.0240577944, 0.0619541109, 0.0527333282, -0.0450579599, 0.0034469687, 0.0195810515, 0.0012337245, -0.0240828022, 0.0365615077, 0.0130312676, 0.0305235945, 0.0151546216, -0.0689186603, -0.001562785, 0.0244807098, -0.0099193081, -0.0532802269, 0.0282129645, -0.0301069301, 0.0239220653, -0.0281319059, 0.0148704685, 0.0135531174, 0.004569672, 0.0090374947, -0.0167066548, 0.0505241081, 0.0025361858, 0.0297046639, -0.0249858163, 0.0231076665, -0.0332459249, -0.0483990014, 0.0248280875, -0.0294355843, 0.0001111723, 0.036155656, -0.0110887829, -0.0245223455, -0.0079722935, -0.0231445227, -0.0043699257, -0.0058855633, -0.0116158584, 0.01793826, 0.0151461139, 0.0200518928, 0.0126596065, -0.0187947135, -0.0538525805, -0.0036889226, -0.0197292138, 0.0094199358, -0.0155506069, 0.0107616354, -0.053601522, -0.0115649672, -0.0039834674, -0.0005751289, 0.0414334983, 0.0077980971, -0.0308389906, -0.0139554851, -0.0020712123, 0.0583011024, -0.0104440209, -0.0137892198, -0.0007022572, 0.0161447916, 0.081978552, 0.044193197, 0.0151795708, -0.0324032679, 0.0444009751, -0.0078110034, -0.0248254109, 0.0067296866, -0.0642192885, 0.0139697175, -0.0012444775, 0.0028598984, 0.0411032028, 0.0004260789, 0.020880973, -0.0344939008, -0.0085890302, -0.0055293394, -0.0017690872, -0.0460021123, 0.0165112447, -0.0367511511, -0.0259233955, 0.0199376121, 0.0462814383, 0.0169163439, 0.024739936, -0.0563326329, -0.0372890756, -0.0788765624, -0.0110955257, 0.0117379129, -0.0394476727, 0.0381699055, 0.0113644246, 0.0476090498, -0.0406896472, -0.0554175228, 0.0103601869, 0.0351605676, -0.0649734661, -0.0270847455, -0.0278737117, 0.0036359672, 0.0048317569, 0.0210736059, -0.037110202, -0.0172658563, 0.0137343965, 0.0129844956, 0.0825333595, -0.0350682512, -0.0296258088, 0.0398981199, 0.0558481067, 0.0752056092, 0.022700537, -0.0218932014, -0.0265550967, 0.0592792407, 0.0361891724, 0.0271365996, 0.0238191858, 0.0412263982, -0.0258377735, -0.0269657392, -0.0052985623, -0.0029198423, -0.0698282197, -0.008155847, 0.019946184, -0.0526716672, -0.0055818395, -0.0040440415, 0.0101857185, -0.0023584175, 0.0387700014, 0.0751898587, 0.0050767134, -0.0444488861, -0.0195827335, -0.0174568705, -0.0220531113, -0.0133202784, 0.0053875381, -0.0376273617, 0.0457137823, 0.0141495392, 0.0529545359, -0.0282309391, 0.0219368264, -0.0139409676, -0.0954797566, 0.0628221333, -0.0212656371, 0.0243363529, 0.0153280012, -0.0447288565, 0.0354899466, -0.0393803902, 0.0196556188, 0.0219357517, -0.0076082782, 0.0022973765, 0.0303012412, -0.0793859959, -0.0680319443, -0.0223566275, -0.0009277308, 0.0532448813, 0.0771109462, 0.003252445, -0.0427760109, -0.0185507704, -0.0376254953, 0.0099951457, -0.0092258556, 0.0137991449, 0.0610506348, 0.0358889364, 0.0142165339, 0.0261439309, 0.0444048718, -0.0037531944, 0.0054059546, 0.0173663124, 0.0331448875, -0.0070516211, 0.0087097259, -0.0240765065, 0.0659306943, -0.0029582877, 0.0463059545, -0.0100219091, -0.0144664655, 0.0423532575, 0.0184073336, 0.0560710207, 0.0053633326, -0.0392473303, -0.0174567495, -0.0225991178, -0.0847616643, -0.0547803268, -0.0019689184, 0.0335000455, 0.0064947484, 0.023342343, 0.0078712022, 0.0684735551, 0.0279003661, -0.0136060873, -0.0126626575, 0.0155116469, -0.0082220091, -0.0156409051, -0.0392939523, 0.0737397969, -0.0276123658, -0.0337563753, 0.004836306, -0.0152657004, -0.0415368043, 0.0451860018, 0.0346175656, 0.0201710928, 0.044972986, -0.0278972276, -0.0506103486, 0.0729579851, 0.0526772067, -0.0578286424, 0.0149261765, 0.0747798011, -0.032440614, -0.0041145934, -0.0130635705, -0.0468906425, 0.0780990273, -0.0362888314, -0.0247872043, -0.0259885788, -0.0679108873, 0.0228745732, 0.0096667837, 0.0716709271, -0.0089150462, 0.0462111086, -0.0363027975, 0.0315617397, -0.035669852, 0.0362725481, -0.0504542813, -0.00426888, 0.0025304351, 0.0076187504, -0.0365611576, 0.0173421334, -0.1075790301, 0.0132534709, -0.0227223542, 0.0684987009, 0.0223098435, -0.0008624715, 0.0090244999, 0.0013005184, 0.0096262721, -0.0185576398, 0.0462866426, 0.031763684, 0.0316692367, 0.0193394162, -0.0003559827, -0.0174920224, -0.0027907609, 0.0049751578, -0.0866615772, -0.0171111431, -0.0463494547, -0.0025431425, -0.0360731632, 0.0005234497, 0.0355871208, 0.0027680136, -0.000284486, 0.0067882081, 0.0159840919, -0.0182482228, 0.0478859171, 0.0222429559, -0.0162637234, 0.0051325546, -0.011473571, 0.0532888919, -0.0187835488, -0.0094116759, -0.000261727, 0.0061424342, -0.022140041, -0.0663310215, -0.0441951789, 0.0136850402, -0.0229365453, -0.0083606904, 0.0079887966, -0.0369089693, -0.0085668778, -0.0189391188, 0.0118799889, -0.0758481696, 0.0198628511, -0.0055968338, -0.017749941, -0.0192526318, 0.0156201115, -0.0099898353, -0.0251261778, -0.0192145817, 0.0125738662, -6.268836435e-33, -0.0409123376, -0.0083793793, 0.0104085738, -0.0174853019, -0.0216240082, -0.0051339827, -0.0260494314, 0.0045437748, 0.0052434979, -0.000861324, -0.0275094882, 0.0132316975, 0.0194164552, 0.0116373338, 0.0019537862, 0.0387539901, 0.0910783038, -0.0388352461, 0.009074267, 0.0271798857, -0.0314429291, 0.0182479117, 0.0233208984, -0.0965008587, -0.0012718472, 0.0063971402, -0.0228087492, -0.0612085164, 0.031852629, -0.0159551445, -0.0063706562, 0.0394411311, -0.0577912703, -0.0709969103, 0.0024771744, 0.0013770821, -0.0707805008, -0.0063185198, -0.0042599905, 0.0371089578, 0.0270493869, 0.0280417316, 0.0624037459, -0.0027235234, -0.0261843558, -0.0006779593, 0.067409575, -0.0378953144, 0.0058765863, -0.1095529273, -0.0556302294, -0.0137046082, -0.0280759353, 0.0021234325, 0.0383136608, 0.0969808325, -0.0350583829, 0.0261627864, -0.0609052368, 0.0349406637, 0.1117901802, 0.0229750201, 0.0145058604, -0.0352589488, 0.0322308391, -0.0425819717, 0.0248963423, -0.0363435782, 0.0354448706, 0.0025233284, 0.0017724488, 0.0307311807, 0.0393979438, 0.0596788898, 0.0549459606, 0.0044848281, -0.0029086943, 0.0400824584, -0.0095872255, 0.0042774854, 0.0203559864, 0.012502403, 0.0405975729, -0.001086916, -0.0364194177, -0.0138984006, 0.0080038076, -0.0343446285, 0.0065210355, -0.0233219322, -0.0190198161, -0.0055070804, 0.0084376764, -0.0405412689, 0.0075335451, 0.0049037766, -0.0433710851, 0.0147642819, -0.0121032521, -0.027697036, -0.0441794172, 0.0172067415, 0.1041155681, 0.0734838247, 0.0069001764, -0.0325646214, -0.0353486352, 0.0235979166, -0.0612716116, -0.0034923686, 0.023357667, 0.0295823384, 0.016413644, 0.0338547714, -0.0115260324, 0.019353427, -0.0005632793, 0.0178884771, 0.0015608186, 0.0266179834, -0.0227403808, 0.0332280099, 0.009566078, 0.024416469, -0.0390374772, 0.0067071328, 0.026030656, -0.0466165543, 0.0725363865, -0.0103554809, -0.0247217417, -0.0478653908, 2.855e-7, 0.0161341596, 0.0110363457, 0.0168409236, -0.0158976, 0.0211950894, -0.0042954641, 0.0349500924, -0.0324204825, 0.0761197805, 0.0504838005, 0.0813450888, -0.0510886312, 0.0234685186, 0.0474877618, -0.0444262847, -0.1039230675, -0.0507377759, -0.0063679069, -0.0160909873, 0.0266011488, 0.0020678381, 0.0330916941, -0.0410568826, -0.0160057135, -0.015757937, 0.0107481712, 0.0077742585, -0.0334552489, 0.038852755, 0.0429457687, 0.0685137287, 0.0164705049, 0.0211892333, 0.0174147878, -0.0634548962, 0.043188829, 0.0017005461, -0.0193256214, -0.0107529471, -0.0498732962, 0.0377799049, 0.0651020929, 0.0105556501, -0.0381460004, 0.0527994372, -0.1100137308, -0.0050758999, -0.0449865758, -0.1163619757, -0.022872841, 0.0008433434, -0.0389411785, 0.0173062682, -0.0260870866, 0.006809256, 0.0419002399, -0.0187424514, 0.0107477382, 0.0305905584, 0.0516477115, -0.0509489365, -0.0341577344, 0.0112020401, -0.0744666606, -0.0473716408, -0.0136369104, 0.0250620842, 2.153593583e-34, 0.0720765442, 0.004649586, 0.0044143149, -0.0079816803, -0.0171622969, -0.0080415513, -0.0086783655, 0.0077738776, 0.010879539, -0.0813905746, -0.0532188341 ]
http://arxiv.org/abs/2310.06254v1
http://arxiv.org/pdf/2310.06254v1
Get the gist? Using large language models for few-shot decontextualization
2023-10-10T02:00:00
2023-10-10T02:00:00
Benjamin Kane, Lenhart Schubert
cs.CL
cs.CL, cs.AI
In many NLP applications that involve interpreting sentences within a rich context -- for instance, information retrieval systems or dialogue systems -- it is desirable to be able to preserve the sentence in a form that can be readily understood without context, for later reuse -- a process known as ``decontextualization''. While previous work demonstrated that generative Seq2Seq models could effectively perform decontextualization after being fine-tuned on a specific dataset, this approach requires expensive human annotations and may not transfer to other domains. We propose a few-shot method of decontextualization using a large language model, and present preliminary results showing that this method achieves viable performance on multiple domains using only a small set of examples.
[ -0.0071059274, 0.0862521455, 0.003841216, 0.0538694412, -0.0248171613, 0.0396034606, 0.0231071655, -0.0185034815, -0.0309890714, -0.0897606611, -0.0288907215, 0.0172022954, -0.0158463586, -0.0075516012, 0.0022952971, -0.0383483544, 0.0443706177, 0.0069099455, -0.0144175654, 0.0156295411, -0.016745314, 0.0298338421, 0.0042413813, 0.0185792875, 0.0308167953, -0.048672948, 0.0018193703, 0.0322078466, 0.0493886173, 0.006242014, 0.0117439181, 0.0356345773, 0.0459418856, 0.0412961356, 0.0000016858, -0.0363293774, -0.0036925732, 0.0056449343, -0.0406983085, 0.0294890776, 0.0076711485, -0.0487392321, -0.0163808409, -0.009025624, -0.0281933602, -0.0745599866, 0.0496519171, 0.0176963881, 0.0520421714, 0.0682397112, -0.0189846735, -0.1140146405, -0.0071095917, -0.0155772269, 0.0107954992, -0.0556425303, 0.044430878, -0.0050961729, -0.0246465784, 0.0393391922, -0.0277776793, 0.0429932922, 0.0053720539, -0.002932084, -0.0207816549, 0.0227176975, -0.0327759609, 0.0100859106, -0.0057285954, 0.0644359365, 0.0037415386, -0.01106044, 0.0177781992, 0.0162121411, -0.0038426497, -0.0132391229, -0.046434775, 0.0171406455, 0.0040701367, 0.0290184375, 0.0078917714, -0.0101400428, 0.0202831514, 0.0019760916, -0.024168117, -0.0013735308, 0.0445346273, 0.0072003566, -0.0233104862, 0.0260410681, -0.0376447178, -0.0240273066, 0.0083858464, -0.0048919232, -0.0519812889, 0.0244144574, -0.0407669507, -0.0416194052, -0.0242462978, -0.0180725865, -0.0067977281, 0.0245152768, -0.0050956416, 0.0879486501, -0.0339763016, 0.0223902036, -0.0072484743, -0.0397359282, -0.0419256724, -0.0259113684, -0.0700878501, -0.0203648135, -0.0515177585, 0.0193779804, -0.0702960342, -0.0323864818, -0.0145110693, 0.0127594853, -0.0218650475, -0.005808522, -0.0143860551, 0.0093524503, -0.0561133511, -0.0164661407, 0.0311761741, 0.0554452501, -0.0334473178, 0.0114801498, 0.0254070479, -0.0263122246, -0.009121133, 0.0027077987, 0.0245209169, -0.0458389223, -0.0681658015, 0.05412779, -0.0061906409, -0.0310304221, -0.0561475009, -0.01738552, -0.0099918805, -0.0416836664, -0.034950614, -0.0483926609, 0.0605728738, -0.0049482686, 0.0026109975, -0.0585687757, 0.0045667421, 0.0055720103, -0.0329542495, 0.0897944123, -0.0130423596, -0.0130596301, 0.0421948843, -0.0006256662, 0.0349894799, 0.1017452851, -0.0100309309, -0.0000524769, 0.0297437217, 0.0030907283, 0.0031808657, 0.0368126519, -0.0256449264, -0.0055652158, -0.0468738005, -0.0187145863, 0.0150137888, 0.0056509101, 0.0467712507, 0.0520709865, -0.0748057961, 0.009070592, 0.0138731878, 0.0199926198, 0.0171789546, 0.0094659831, 0.087576516, 0.0207210258, -0.0089006536, 0.0361424387, -0.0392379947, -0.0027799543, 0.0163265262, -0.0070684757, 0.0199471992, 0.0311824176, -0.0304122735, -0.0129365856, 0.0156710185, -0.0007855118, 0.0164614543, -0.0094732651, 0.0547868349, 0.0540599413, -0.020705197, 0.0184278693, 0.0355460569, -0.0235772207, 0.0242112447, -0.016733842, -0.0087848995, 0.0697966442, 0.0430317372, -0.0011748086, -0.0130746504, -0.0082692318, 0.021470394, 0.029637441, 0.0264796074, -0.0459843948, 0.0413657613, -0.0439273976, -0.033915408, -0.0256429613, 0.0721590817, -0.0084047299, 0.0073014838, -0.0306930672, 0.0367297865, -0.0212130956, 0.0398718268, 0.0240459293, -0.0665791035, -0.0601905622, 0.0323042162, 0.0116918385, -0.0005380179, 0.0459515266, -0.0103450641, -0.0093872529, 0.0000571314, -0.0406337082, -0.013592951, 0.0382452011, -0.0271586496, -0.1307364702, -0.0136226881, -0.0141060436, -0.005794398, 0.000485087, -0.0863881409, -0.0298050158, -0.001625139, 0.009873813, 0.0371402465, -0.0518235825, 0.0149812652, 0.0421371385, 0.0101782205, -0.048181016, 0.0736746192, 0.0375650674, -0.0248134229, 0.0290562641, 0.0170026235, 0.0185820218, -0.036128886, -0.0066934582, 0.000437016, -0.0174130928, 0.0046142652, -0.0001226492, -0.0241630562, -0.0505319275, 0.0037959376, -0.0944518223, 0.0306564271, -0.028403217, 0.0190716125, 0.0415301248, 0.0358668603, 0.0135387741, -0.0214319974, -0.0123693524, 0.0093018785, -0.0194897652, 0.0333260298, 0.0187754594, 0.0099594491, -0.0046503916, -0.0151563976, -0.0046473932, -0.0275865626, 0.0710618794, -0.0454851575, -0.0037940866, -0.0481480323, 0.0730125904, 0.0088005634, 0.0312614478, 0.019998638, -0.0230651814, -0.0024382151, -0.0042688558, 0.0479476526, 0.0820171684, -0.021305155, 0.0176771767, 0.0002497573, -0.0347037427, -0.0275804028, 0.0204432663, -0.018326357, -0.0097223921, -0.0062110792, -0.0123938881, -0.0000049522, 0.0660486445, 0.0160617717, 0.0225862674, -0.0548130348, 0.033592172, -0.0223575756, -0.0269282423, -0.0255133919, 0.0132703008, 0.0104841022, 0.0173808206, -0.0289545059, 0.0324600004, 0.0552585348, 0.0219495464, 0.0062496806, -0.0264569279, 0.0321070403, -0.0297810342, 0.0372396223, -0.0289945044, 0.0357582569, 0.0171863977, -0.0315897688, -0.0516102575, -0.0214942172, 0.0070206872, 0.0013194153, 0.0195752624, -0.0630263165, 0.0040521277, -0.0297345743, -0.0527287237, -0.012137861, -0.0314275064, -0.0190822352, 0.0344123431, -0.0067874794, 0.0105560394, -0.0425374918, 0.0082266284, -0.016953662, 0.0222059693, -0.0206786431, -0.0100284144, -0.0320734046, 0.0958924592, 0.0661204085, -0.0225667357, -0.0402360335, -0.0255074129, 0.0957475007, 0.0504350886, -0.0055712969, 0.0408984981, -0.0106304036, -0.002628926, -0.0024529435, -0.0103249801, -0.0532156751, -0.0139130279, 0.0698524788, -0.037952356, -0.0332518741, 0.1102340221, 0.0068348222, -0.0403606221, -0.0184736364, 0.029763652, -0.0238313247, 0.0087359287, 0.0047168215, -0.1160289124, -0.0672200173, -0.0057872836, -0.0235458463, 0.0490640365, -0.0141929835, -0.000937691, -0.1159342676, 0.0522852726, 0.0348292775, -0.0602019988, -0.0154353296, -0.0059945378, 0.0248226412, -0.0324173383, 0.0052044848, 0.0035974744, -0.0037818465, 0.0164795835, -0.0021091257, 0.0300643388, -0.0699910671, -0.0180663206, -0.0399226286, 0.0366646722, 0.0788819939, 0.0383491553, 0.0269028842, 0.0276174843, 0.0136169735, -0.0788379833, -0.0124898301, 0.0071820314, 0.0583070926, -0.0308403205, -0.0098449979, 0.0077794627, 0.0396533534, -0.0120796012, -0.0584541298, -0.0021742748, 0.0179261509, 0.0074916761, -0.0317891687, -0.0363182724, -0.0192530621, -0.0233654324, 0.0950967297, 0.0354890078, -0.0428574495, -0.0463542119, -0.0378428586, 0.0074573103, -0.0612896085, -0.0056883162, 0.0025202052, 0.0020435539, -0.0223281961, -0.0598656796, -0.0449763797, 0.0462183245, 0.0219217706, -0.0105842967, 0.0411269628, -0.0373323485, 0.0094972495, -0.0115487818, -0.0250122342, -0.035894949, 0.0027495795, -0.0145312464, 0.0076097464, 0.0391209684, -0.0047045182, -0.0039968984, -0.0258612055, -0.0738911256, -0.0375199579, 0.0034427955, 0.0093542058, 0.0134826871, 0.0297879279, -0.0345589593, -0.056151174, 0.0435307398, 0.0799478143, -0.0129826562, 0.0100241508, 0.0062318244, 0.0516520105, -0.0287009813, 0.0442039222, -0.0281728171, 0.0281368606, 0.0090517588, 0.073415406, -0.0296075977, -0.0156552158, 0.0124255018, -0.0454559289, 0.0600217469, -0.0155166322, 0.0117742354, -0.0087353289, -0.0228208788, -0.0513912775, -0.0308053866, -0.0400032252, -0.0017337787, 0.0616565756, 0.0061317361, -0.0107087828, 0.007713181, 0.0007833588, 0.0529430807, -0.0769125521, -0.0331136361, 0.0756210089, 0.0004817615, 0.002378728, 0.0003805545, -0.0243328866, 0.0305424444, 0.0054458119, 0.0259196218, -0.0595260225, 0.0685636774, 0.0131901568, -0.0076805311, -0.0034522563, 0.0153121036, -0.044994399, 0.0258338768, -0.0378017202, 0.0285333954, 0.0761238486, -0.0029158797, 0.0547563955, 0.0501288921, -0.0372523516, -0.0164704863, 0.0595294833, 0.0329051055, -0.004663642, 0.0130459815, 0.025682142, -0.0306363888, 0.0019823923, 0.0711626485, 0.0200167987, 0.056714084, 0.0145420618, 0.0113045201, -0.0246536788, -0.0105254725, 0.0001526537, 0.0026638741, -0.0096680755, 0.0031271246, -0.0558185317, -0.0687677339, -0.0152961202, -0.0045658168, 0.0094495639, 0.0269318074, 0.0095805759, 0.0427385308, -0.0031848133, -0.0691982657, -0.04186517, 0.0218137018, -0.0051510562, -0.0418908633, -0.0405685715, -5.617274243e-33, -0.0247552898, 0.0171943549, 0.0164510403, -0.0342430063, -0.0149904555, -0.0082138376, -0.041381903, -0.0278581604, -0.0125661772, 0.0225965865, 0.0050129248, 0.0150946602, 0.0127018867, 0.0412303023, -0.0024693953, 0.0130624175, 0.092826426, -0.0215929188, -0.0106336195, 0.0207729787, 0.0285256486, 0.0458041765, 0.0295557491, -0.0398304202, -0.0034903891, -0.0085199261, -0.0290759299, 0.0361562669, 0.053590022, 0.0469808429, -0.0273414925, 0.0053084614, 0.0218383931, -0.0272535533, -0.0154161919, 0.0201397575, -0.1164177954, 0.0067035924, 0.0131800463, 0.009334052, -0.0245349742, -0.05864501, 0.0245288871, -0.0300088096, 0.0119367503, -0.0297646951, 0.0163075179, -0.0330526568, 0.007734057, -0.0554529279, -0.0798129663, 0.0149810938, -0.0152768316, -0.0256596226, 0.0566306114, 0.0412120074, -0.0094266422, 0.0029149209, -0.0276940297, -0.012097097, -0.0162883569, 0.0384315327, 0.0458118133, 0.0436961502, 0.0148382476, 0.0428152904, 0.0400398336, -0.0132924831, -0.0022391102, -0.012049648, 0.0102259601, 0.0431672707, -0.0202362593, 0.0843333602, 0.0251646675, 0.0059622154, -0.0688039511, 0.0371700227, -0.0245335903, 0.0247588698, 0.0271178782, 0.046400357, 0.0066300347, -0.0177563261, -0.0400059074, -0.041354917, -0.009697332, -0.028010875, 0.0461038761, 0.0039958255, -0.0274961591, -0.0177508257, 0.0700617582, -0.0632433072, 0.0003738523, 0.0532181859, -0.0134520838, 0.0227043536, -0.002298452, 0.0012838001, -0.015907025, -0.0457040109, 0.0444110781, 0.0448738299, 0.0193629451, -0.0118884128, 0.023501331, -0.0213109739, -0.0249438342, 0.007015775, -0.0415684991, -0.021796165, -0.0378160737, 0.0432721749, 0.0130730849, 0.0399330854, -0.0161815621, 0.024318831, 0.0362074412, 0.0058873543, -0.0041643833, 0.000173964, 0.0108850235, 0.035909608, -0.024087172, 0.002964186, 0.0219186023, -0.0073070587, 0.0117774568, -0.0353602767, -0.0145695191, 0.0211178679, 2.336e-7, 0.0344659016, 0.0297771115, 0.0027490223, -0.0318119489, 0.0491537414, 0.0346636884, 0.0013061359, 0.0183250271, 0.0063439971, 0.0132880332, 0.0047911331, 0.0411395282, 0.0524648875, -0.0012809756, -0.1181806773, 0.0365897156, -0.0256486423, -0.0138772288, -0.0571703427, -0.020036513, 0.0627825856, 0.0981748551, -0.00171062, 0.0163268019, 0.00731555, -0.032872811, 0.0680846572, -0.0030310843, -0.0360904783, 0.0330830999, -0.0278370362, 0.0301598404, 0.00745482, -0.0141811632, -0.0128549347, 0.0059551164, 0.0193166286, 0.1016168222, -0.0017005415, -0.0204458907, -0.0307924952, -0.0070131044, 0.0246427096, -0.0173902772, 0.0824010596, -0.0682606548, -0.020129066, -0.0159847457, -0.0812764317, 0.0208043437, 0.0023639675, -0.0008038288, -0.0434694365, -0.0009060444, 0.0290188529, 0.0369674228, -0.0707037896, -0.0828007683, -0.0319901295, 0.0210689344, -0.037673261, -0.0336518064, 0.0056168106, -0.0033049101, -0.0095062722, -0.0317596681, 0.0205670688, 1.983609524e-34, 0.0319747627, 0.0151233934, -0.0037298619, 0.0437563658, 0.0204301886, -0.0207269546, -0.0298700612, 0.0253322013, 0.008148009, -0.0873067081, 0.0198474824 ]
http://arxiv.org/abs/2310.06245v1
http://arxiv.org/pdf/2310.06245v1
We are what we repeatedly do: Inducing and deploying habitual schemas in persona-based responses
2023-10-10T01:44:47
2023-10-10T01:44:47
Benjamin Kane, Lenhart Schubert
cs.AI
cs.AI, cs.CL
Many practical applications of dialogue technology require the generation of responses according to a particular developer-specified persona. While a variety of personas can be elicited from recent large language models, the opaqueness and unpredictability of these models make it desirable to be able to specify personas in an explicit form. In previous work, personas have typically been represented as sets of one-off pieces of self-knowledge that are retrieved by the dialogue system for use in generation. However, in realistic human conversations, personas are often revealed through story-like narratives that involve rich habitual knowledge -- knowledge about kinds of events that an agent often participates in (e.g., work activities, hobbies, sporting activities, favorite entertainments, etc.), including typical goals, sub-events, preconditions, and postconditions of those events. We capture such habitual knowledge using an explicit schema representation, and propose an approach to dialogue generation that retrieves relevant schemas to condition a large language model to generate persona-based responses. Furthermore, we demonstrate a method for bootstrapping the creation of such schemas by first generating generic passages from a set of simple facts, and then inducing schemas from the generated passages.
[ 0.0505063236, 0.0496733412, -0.0471143685, 0.0173282977, -0.0099168783, -0.0376029946, -0.0010779226, -0.0364518687, 0.034731809, -0.0481208786, 0.0069677881, -0.0314790681, 0.0028982791, 0.0789640322, 0.0170107093, -0.0647564381, 0.0447118543, -0.0265669227, 0.0149117224, 0.0151860677, 0.0174318049, 0.0283616241, -0.0072759767, 0.0496481434, -0.0413310155, -0.0313976146, -0.0182168726, -0.0074564349, 0.0304705743, -0.0145582855, 0.0161490086, 0.0108214235, 0.0463400856, -0.0411137901, 0.0000020213, -0.0595084019, -0.0121361166, -0.0511954315, 0.0179905128, -0.0469870269, -0.000420507, 0.0359200872, 0.0051743803, 0.0028979774, -0.0824090689, -0.0132378479, 0.0226489622, 0.0376422331, 0.0652477965, 0.0551739596, -0.0308253411, -0.0265863296, -0.0168139413, 0.0075173886, -0.0007139057, -0.0283247791, -0.0333741345, -0.0037968166, -0.0032056216, -0.0105092786, 0.0286129322, -0.0377830602, -0.0057871477, 0.0065229288, 0.0350797437, 0.0413640253, 0.0219890736, -0.0233761221, -0.0172391944, 0.0700167939, 0.0732286423, -0.0049705212, 0.0256533585, 0.0089284331, 0.0452404954, 0.0189145356, -0.0075153075, 0.0383274443, -0.0459581614, -0.0143304002, 0.0150539838, 0.0421079844, -0.0364337601, -0.0343710594, -0.0364484265, 0.0141948331, 0.0030024352, 0.0089448821, -0.0319879577, -0.0292031392, 0.0257404391, -0.0917995423, 0.0019668236, 0.0466074906, -0.0580649599, 0.025999302, -0.0664742813, 0.0530963875, 0.0038095256, 0.0026494837, 0.0274910405, 0.0375188701, 0.0020491874, -0.0132917389, 0.0098404726, 0.0241706874, 0.0065913089, -0.0564970188, -0.0013894262, 0.0191995781, -0.0481387414, -0.0229933988, -0.0506244004, 0.043416921, -0.0183928832, -0.0240138955, -0.0108983871, 0.0981056541, 0.0111958599, 0.0113112219, -0.0429531895, 0.0298657678, -0.0570198968, 0.0239035636, -0.0528887659, -0.0019631521, -0.0634668171, -0.0130768074, 0.032632757, -0.0400448814, 0.014575325, 0.006759109, 0.0180373639, -0.0014552616, -0.0160759054, 0.0585863888, -0.0100577539, 0.0021208178, -0.0146126561, -0.101623185, -0.0123897167, -0.0655390397, -0.067021355, -0.0390890762, 0.0246297903, -0.0059280852, -0.0098970458, -0.0772989467, 0.0168858208, 0.0439515077, 0.0106520895, 0.049519904, -0.0085130222, 0.0126736639, 0.0144111505, 0.0287626423, -0.0209867004, 0.0234071203, 0.0468120351, 0.0485568382, 0.0128500527, -0.0037110732, 0.0440992005, -0.0003322356, -0.0046506496, -0.0376220606, 0.0307626501, 0.0270479675, 0.0412879102, 0.0091752559, 0.029405674, 0.0457040407, -0.0308572222, 0.0120594073, 0.0796623603, 0.0371046923, -0.025275873, 0.037261121, 0.05680044, 0.0014713261, -0.0041970615, 0.045562692, -0.005742644, 0.0258820988, -0.0031721848, -0.0104698297, -0.0307852756, 0.0225303583, -0.0241104774, -0.0363740623, 0.0540001802, 0.0156414956, 0.0126304459, -0.0012920605, -0.0210756566, 0.0207105186, -0.0357806049, 0.0385996178, -0.0001403965, -0.0761628747, -0.0135555351, -0.0108844973, 0.0358068086, 0.0952155292, 0.044698745, -0.0158391781, -0.0449515693, 0.0079864543, -0.0010332302, 0.0418482944, 0.039117638, -0.0544500835, 0.0257833749, -0.0163052902, 0.0309383795, -0.0236925948, -0.0112238694, 0.0350613743, 0.0172877647, 0.0006028956, 0.0089568477, 0.01768714, 0.0141916284, 0.0098988842, -0.0795182362, -0.0146276653, 0.0271395519, 0.0256634895, 0.0080024432, 0.0356774069, 0.0095439404, 0.0015252067, 0.0300376732, -0.0246196687, -0.0001532553, 0.0897104219, -0.0492427833, -0.009549981, 0.007336006, -0.0146077117, 0.0269306023, -0.0241399538, 0.0335548781, -0.0426842086, 0.0076513095, -0.0398437046, 0.0565295108, -0.029539993, -0.0207138378, 0.0403795727, 0.0192613862, -0.0318803862, 0.0460408702, 0.0348692797, -0.056103956, -0.0054656896, -0.0014221162, 0.0036450364, -0.0853652805, 0.0310535338, 0.0128445467, 0.0123165222, 0.0166009255, 0.0595046952, -0.0247214176, -0.0673782304, -0.0416973904, -0.1042135656, -0.0015298986, -0.0011521104, -0.0108833658, 0.0098935217, 0.0243875645, -0.0134994602, -0.0299185254, -0.0874718875, 0.0264195092, 0.0203800164, -0.0070997658, 0.0611141808, 0.0273521822, -0.0126566226, -0.0330540724, 0.0451769345, -0.0082856445, 0.0275585894, -0.00007969, 0.0278325267, -0.0483915396, 0.0222578011, -0.0352843553, 0.0256563649, -0.0085687386, -0.0163793471, 0.0680250973, -0.0072726985, 0.086344406, 0.0512608103, 0.0528225414, 0.0478026755, -0.0066406117, -0.0733666718, -0.0445389673, 0.0192793272, -0.025196353, -0.0033144006, -0.0404899381, -0.0425030403, 0.0444343425, 0.0179035291, 0.0257229768, -0.0002867443, -0.0588133745, 0.0353827961, 0.0438421965, -0.0287788156, 0.0523638055, -0.0027601491, -0.0213488117, 0.0464922674, 0.0006479774, -0.0182135347, 0.0615410171, -0.0268842019, 0.0073474864, 0.0017046437, 0.0078914389, -0.0191834643, 0.0833255053, -0.0172535982, 0.0375309698, 0.0454908125, -0.0106345015, -0.0275755227, -0.0268472768, 0.0086285071, -0.0180054009, 0.0291269682, -0.0565412119, -0.000719308, 0.035246443, -0.0316689126, -0.0846140981, -0.0364439338, -0.0092060212, -0.0350134298, 0.0075921454, -0.0301584583, -0.011073688, 0.0100614764, 0.0056051905, 0.0292090625, 0.0030326075, -0.0305223037, -0.0257754251, 0.0129218968, 0.0502414964, 0.0370642059, -0.0152042788, -0.0211387761, 0.0577393621, 0.0331510566, 0.0043896548, 0.0143278027, -0.0140062524, -0.0183113758, 0.0069034011, -0.021277342, -0.0149621507, 0.0516729206, 0.0613322854, -0.008749688, -0.0446349196, 0.1105426103, 0.022510618, -0.0037456707, 0.0230652094, 0.0170297734, 0.0570269302, 0.0293813404, 0.031663388, -0.0749216005, -0.0106304642, -0.0066861073, 0.0275314935, -0.0314182192, -0.0610134788, -0.0483798683, -0.1009324938, 0.0350536741, 0.0200440753, -0.0555101037, 0.0222718827, -0.0073530315, 0.0108552519, -0.0042960993, -0.0212328285, -0.002751979, -0.0048845112, 0.017007472, -0.0265794005, -0.0489109717, -0.0134724956, 0.0129605327, -0.0280169938, 0.0789330006, 0.0192406606, 0.0511454791, 0.0553227365, 0.0118664401, -0.0575588457, 0.0231056046, 0.0366744846, 0.0110453274, 0.0394320413, -0.0297795944, -0.0044365018, -0.0104746949, 0.0626713485, -0.0665897876, -0.0258509424, 0.0390329659, 0.0246129148, -0.0615958311, 0.0027183723, -0.0078896526, 0.0264068823, 0.0571288727, 0.0484328791, 0.0184667464, -0.0414307937, -0.0234060232, 0.0053109135, 0.0166642237, -0.0428284258, -0.0246048234, -0.0117583154, 0.0150889596, -0.0106403474, -0.0888165757, -0.0867357999, 0.0041284361, 0.0784053355, 0.0184553284, -0.0143984612, 0.0212376788, 0.0236161929, -0.0461558886, -0.0098464321, -0.0467701294, -0.006076898, -0.0240325015, -0.0498256348, 0.0351650007, -0.0791735649, 0.0121023115, 0.0236909539, -0.0407494903, -0.0336326174, -0.0283706877, 0.0407618657, 0.0246459432, 0.0681111217, 0.0213100333, -0.0011646063, 0.0018858318, 0.0040260823, -0.0586480796, 0.0060325675, -0.0130435415, 0.0280987155, -0.0164621361, 0.0204862151, -0.001015989, 0.0411365069, -0.045704022, 0.0269980431, -0.0362604372, -0.0761129633, 0.0510758013, 0.0024595517, -0.0262035541, -0.0183443874, -0.0051559391, -0.0187363885, -0.0276061166, -0.0465481244, -0.0376750492, -0.0442499816, -0.0041143913, -0.0123937419, 0.0022710245, 0.0312182568, -0.0541053154, -0.0661227331, 0.0844157189, -0.0186299663, -0.0568102747, 0.0368149057, 0.0050308718, -0.0002428911, -0.00884772, -0.0195914898, 0.0090021444, -0.0144787151, 0.0751691833, -0.0054876804, 0.0686369538, 0.0169078186, -0.0230341256, -0.0037868675, 0.0287554152, -0.0492318496, -0.0172534846, 0.0094115781, 0.0124534313, 0.0232819505, 0.0025873319, 0.0431341007, -0.0413353629, 0.0214222893, 0.0007360648, 0.0338363536, 0.0345898829, -0.0289849602, -0.0210615899, 0.0047355732, -0.0419694558, -0.0135182105, 0.0424187221, -0.0331063643, 0.0242588446, -0.0230833385, -0.0285690073, -0.0767734423, -0.0264666956, 0.0024289254, 0.0355436839, 0.0152438879, 0.0081081577, -0.0881429315, -0.0128632309, 0.0122296624, 0.0042434265, 0.0050535514, -0.0303394888, 0.0146552548, 0.0719574168, 0.0181008056, -0.0095223989, -0.0477722138, 0.0433362387, -0.0568863042, 0.0025512977, -0.0259093884, -5.534832783e-33, -0.0641749352, -0.0585252531, 0.0423253588, 0.0218939874, -0.0538697951, -0.0136218658, -0.0481171943, -0.0088717975, 0.002353569, -0.0254911762, -0.0036474429, -0.034544494, 0.0068275039, 0.001961113, -0.0183945093, 0.0153108565, 0.0532441735, 0.0120744938, -0.0582390241, 0.0596719459, 0.073238492, 0.0104219699, 0.0009792167, -0.0746673793, -0.002142346, -0.0181763936, -0.0310474224, 0.0211327672, 0.036996074, 0.0419735201, -0.0326279588, 0.0174184013, 0.0114014372, -0.0033912652, -0.0077074957, 0.0583631098, -0.0534236543, -0.0293646641, 0.034130536, 0.0018346632, -0.0106141027, -0.040209543, -0.0078050764, -0.0446252301, 0.0003776652, 0.0098387273, 0.0349315032, -0.016442094, 0.0157250222, -0.001799654, -0.0876907557, -0.0129295858, 0.0095296847, -0.0558129102, -0.0360511243, 0.0440857261, 0.004479744, -0.0381243341, -0.0229608528, 0.051535517, -0.0345570035, -0.0053369938, 0.0016612259, 0.039294973, 0.0003945785, 0.0615779422, 0.0429561324, 0.0630779788, -0.030778069, 0.0206277873, -0.0008947561, 0.016430974, -0.0428978652, 0.0557586513, -0.0219846275, -0.0126068015, -0.0175873414, 0.0321369059, 0.0543026291, -0.0323871262, 0.0436136052, 0.0043968796, -0.0404945798, -0.0174499825, -0.0291640069, 0.0281016938, 0.0017431405, -0.0283835251, 0.0241416488, 0.0030946753, -0.0280559324, -0.0047099493, 0.0261299051, -0.0399200656, 0.0053631514, 0.0322827809, -0.066136308, -0.0023591481, -0.0334609337, 0.0161524415, -0.0072780065, -0.0322744958, 0.0544335991, 0.0233875923, 0.036483109, 0.0671255961, -0.0228383169, 0.0408439785, -0.0314785279, -0.0254065469, -0.0334632955, 0.0535074063, -0.0406475142, 0.007729175, 0.0075886105, 0.0118639106, -0.0390970744, 0.0377106071, -0.0160123445, -0.0192752685, -0.0557251461, -0.00341112, 0.020074483, 0.0208088532, -0.0144801885, 0.0174990147, -0.024761945, -0.0336063877, 0.0140532441, -0.0013176163, 0.0000329032, -0.0426029637, 2.695e-7, -0.0750242993, 0.0050675767, 0.0138290264, 0.0460825972, 0.0389653742, 0.0521110147, 0.0414473638, 0.0642390251, 0.0054129413, -0.0769938827, 0.0186063107, 0.0371941142, 0.0291711912, 0.0443662256, -0.0723566636, -0.002921113, 0.0178994965, -0.0279154275, -0.04082755, 0.0084373532, 0.1058780327, 0.0028903319, 0.0211405121, -0.0097292969, 0.0322533175, 0.0213258658, 0.058324907, -0.0152465263, -0.0285890587, 0.0374220684, -0.0046175248, -0.0019689465, -0.0259737391, 0.0245917309, 0.0014349931, 0.0128997648, -0.0147709996, 0.0282340739, -0.035721723, -0.0295589771, 0.0044071251, -0.008519683, -0.0018856266, -0.015325373, 0.0141669903, -0.0294221267, -0.0306436848, -0.001036797, -0.0195804313, -0.0389016196, -0.0463203005, -0.0116231395, -0.0315741114, 0.0163393505, 0.0017721739, 0.0238179844, 0.0264789667, -0.0594038107, -0.0157109182, 0.0338675119, -0.064373523, -0.0448214412, -0.0123649426, -0.0215842519, -0.0173394848, -0.0496208742, 0.0268436577, 2.392639313e-34, -0.0143547216, 0.0692174211, -0.0126373433, 0.0360262133, 0.0522306301, -0.0051334044, 0.0442103818, 0.0168158542, 0.0829385221, -0.0570215993, -0.0363880396 ]
http://arxiv.org/abs/2310.06239v1
http://arxiv.org/pdf/2310.06239v1
Model Tuning or Prompt Tuning? A Study of Large Language Models for Clinical Concept and Relation Extraction
2023-10-10T01:27:08
2023-10-10T01:27:08
Cheng Peng, Xi Yang, Kaleb E Smith, Zehao Yu, Aokun Chen, Jiang Bian, Yonghui Wu
cs.CL
cs.CL, cs.AI
Objective To develop soft prompt-based learning algorithms for large language models (LLMs), examine the shape of prompts, prompt-tuning using frozen/unfrozen LLMs, transfer learning, and few-shot learning abilities. Methods We developed a soft prompt-based LLM model and compared 4 training strategies including (1) fine-tuning without prompts; (2) hard-prompt with unfrozen LLMs; (3) soft-prompt with unfrozen LLMs; and (4) soft-prompt with frozen LLMs. We evaluated 7 pretrained LLMs using the 4 training strategies for clinical concept and relation extraction on two benchmark datasets. We evaluated the transfer learning ability of the prompt-based learning algorithms in a cross-institution setting. We also assessed the few-shot learning ability. Results and Conclusion When LLMs are unfrozen, GatorTron-3.9B with soft prompting achieves the best strict F1-scores of 0.9118 and 0.8604 for concept extraction, outperforming the traditional fine-tuning and hard prompt-based models by 0.6~3.1% and 1.2~2.9%, respectively; GatorTron-345M with soft prompting achieves the best F1-scores of 0.8332 and 0.7488 for end-to-end relation extraction, outperforming the other two models by 0.2~2% and 0.6~11.7%, respectively. When LLMs are frozen, small (i.e., 345 million parameters) LLMs have a big gap to be competitive with unfrozen models; scaling LLMs up to billions of parameters makes frozen LLMs competitive with unfrozen LLMs. For cross-institute evaluation, soft prompting with a frozen GatorTron-8.9B model achieved the best performance. This study demonstrates that (1) machines can learn soft prompts better than humans, (2) frozen LLMs have better few-shot learning ability and transfer learning ability to facilitate muti-institution applications, and (3) frozen LLMs require large models.
[ 0.0688141584, 0.0209102444, 0.004660497, 0.0032411611, -0.0389514379, 0.06023537, 0.0144417174, 0.0343823731, -0.0179822482, -0.0332278833, -0.0454545394, -0.058338441, -0.0087402212, 0.0413187034, -0.0184366722, -0.0731474683, 0.054695826, 0.0077692713, 0.0362760685, 0.0106706358, -0.0547305606, 0.0108993705, -0.045514293, 0.0040568006, 0.0219212919, 0.0115915546, 0.0435459241, -0.0399953909, 0.0079352129, -0.0786882937, -0.0268837344, 0.0510016084, -0.0255264156, 0.0038726043, 0.0000021365, -0.1045753509, -0.0410108492, 0.0238656458, -0.0708160028, -0.0061563891, 0.042454388, -0.0696755201, 0.0254144762, 0.0005976996, -0.0296487119, -0.0401916616, 0.02040096, 0.0306768324, 0.020372672, 0.0635693297, -0.0176429395, -0.0214473773, 0.01643393, -0.0232358687, -0.0201319605, -0.0584632158, 0.0711584017, -0.0035967242, 0.002597064, -0.0080796042, -0.010512419, 0.0355774574, -0.0446028039, 0.0281585995, 0.0397925563, 0.0401389562, -0.0431071967, -0.0270855799, -0.0112245204, 0.0724366084, 0.0053580571, 0.0271111149, 0.0277140196, -0.01749596, 0.0044879387, 0.038196519, -0.0289086998, -0.0016256046, -0.0227746889, -0.0029868803, -0.0090112016, -0.0239517093, 0.0019360344, 0.0026296119, -0.0422222055, -0.0374617241, 0.0243940484, -0.0286920108, 0.0734972879, 0.0120722353, -0.0436269864, -0.0105061894, 0.0176473409, 0.0364034548, -0.037815392, 0.0299660433, -0.0085964315, -0.0107789896, 0.0759767964, -0.0429512896, 0.0288072173, -0.0009513329, -0.0099930409, 0.0513471514, -0.0511266626, 0.0063275513, 0.0117225451, 0.0358754173, -0.0416253842, 0.0417589098, -0.0547208451, 0.0263419151, -0.0202893279, 0.0385507718, 0.0052534994, -0.0136314519, -0.0732857585, -0.0067170919, 0.016298309, 0.0241156518, -0.0004545649, 0.0060823876, -0.011923234, 0.0144162839, -0.0111616971, 0.0231195688, 0.0239177328, 0.0091198981, -0.0304335859, -0.0494251326, 0.0098468205, -0.0384422615, 0.0447467938, -0.0275712553, 0.0462151989, 0.0348016247, 0.0045124157, -0.0484937653, -0.0077828597, -0.0194730889, -0.0136987083, -0.0271144565, -0.0003262766, -0.0310666841, 0.0439563952, 0.0289969891, 0.0139107257, -0.0343037881, 0.022594152, -0.0106946463, -0.0723238066, 0.0494317599, -0.0288927481, -0.0006841525, 0.012203726, 0.0113654044, -0.0249587204, 0.030669516, -0.0005714981, -0.0300122406, 0.0062609017, -0.0366015807, -0.0056564398, 0.0025865342, 0.0160077121, -0.0512300916, -0.0201388486, 0.0246338882, 0.0785142034, 0.0548161492, -0.012567061, 0.0699648783, -0.0014922394, -0.008195091, 0.0105249109, 0.0430903323, 0.0476979949, 0.0120326262, 0.0366681144, -0.0295211803, 0.0356407389, -0.0265841801, -0.0043510715, -0.0363992192, 0.0034846435, 0.002574512, -0.0512559041, -0.0098252483, -0.0145402029, -0.00187756, -0.0123287179, -0.00418268, -0.0635888875, 0.0144712999, 0.0663122535, -0.0135611109, -0.05061673, 0.0707567781, 0.0890996233, 0.0175048467, -0.0272518545, -0.0457281247, -0.0017576555, 0.0282520931, 0.0318062343, -0.0446971431, -0.0532766543, -0.0283850078, 0.0079982271, -0.0189937763, 0.0399664529, -0.0073809968, 0.0091466727, -0.034084253, -0.0044999029, 0.0458933078, 0.0310993157, -0.0087755537, -0.015332981, 0.062620081, -0.0201831833, 0.0290760044, -0.0162967406, 0.0706481487, -0.056282755, -0.0508713163, -0.0064981962, -0.0142405592, 0.0438086241, -0.0074432893, -0.0273130331, -0.0036352368, 0.0147254495, -0.0218763463, 0.0254046805, -0.0536779948, -0.0895008147, -0.0404979177, 0.0080661112, 0.0630855113, 0.0083725881, -0.0613351949, -0.0272429716, 0.0209506713, -0.0668440238, 0.0056539811, 0.0324456282, -0.0063900384, 0.0600875728, 0.0055689332, 0.0249278564, -0.0648343787, 0.0204654615, 0.0067976681, 0.0002478157, 0.0108933747, -0.0337704234, 0.0055034906, -0.0056173271, -0.0188818909, 0.0399859995, -0.0258983001, -0.0200576987, -0.0462175645, 0.0184248108, -0.0276566595, -0.0517110527, -0.062985681, -0.0029610626, 0.0310390256, 0.0002991031, 0.0245224405, 0.0216220859, -0.0251389034, -0.0144257778, -0.0161331259, 0.0028724549, 0.013247232, 0.0140153393, 0.0187212229, 0.0705946535, -0.0193437524, -0.0256664809, 0.0055505997, -0.0256161448, 0.0531568043, 0.0082615372, -0.0502303988, 0.0222547948, 0.0626957491, -0.0195906945, -0.0287219957, -0.0012671315, -0.0085554114, -0.0254813526, -0.0205771476, -0.0231310949, 0.0345581882, 0.0176533535, 0.018416835, 0.0243183244, -0.011790297, 0.0014568802, 0.0079480968, -0.0333167613, -0.064917624, -0.0017401794, -0.0176627655, 0.0060736542, 0.068008922, 0.0280778687, 0.0171407573, -0.0019101077, -0.028510008, -0.0188756604, 0.0383481495, -0.0546261743, 0.0351260342, -0.0480768755, 0.0381718352, 0.0081070848, -0.001290264, 0.0740002692, 0.0070476481, 0.0455204248, -0.0529352948, -0.023366943, -0.0371261351, 0.0128070358, -0.0125378743, 0.0212367941, 0.0430882722, -0.0127756242, -0.0102088302, -0.0164888036, 0.0215938538, -0.0717432573, 0.0531544611, 0.0062619867, 0.0219894238, -0.0269418955, -0.0195089318, -0.0537334122, -0.0462393276, -0.0092146909, 0.0188009981, 0.0125808595, 0.0416817218, -0.0350398459, 0.0397667512, -0.0217026398, 0.0619066097, 0.0110661564, -0.0091247931, 0.0092527466, 0.0101853926, 0.0399161354, 0.0088654794, -0.0325365514, -0.0413885228, 0.0691394731, 0.0272597447, -0.025606038, 0.0120964721, 0.0274300072, 0.0223500207, 0.010261598, -0.0456657559, -0.0056356369, 0.0363720916, 0.0275765527, -0.0613803752, -0.0158184152, 0.1180171594, 0.0121540884, -0.0858858973, 0.0027017237, 0.0088408981, -0.0183850303, -0.0107604368, 0.0240668803, -0.0450179093, -0.0316953734, -0.016164327, 0.0293628071, -0.0281219743, -0.0492883325, 0.0095889615, -0.0617370829, -0.0022842356, -0.0043288791, -0.0772640258, -0.0108313616, -0.0677361116, 0.0296449829, -0.00540051, -0.0114727821, 0.0052178488, -0.0612733103, -0.0297007039, 0.0093710646, -0.053436622, -0.0930880383, 0.0307686087, -0.0257012546, 0.058817517, 0.0207927637, 0.0307686087, -0.0463174805, -0.0040846523, 0.0412268229, -0.0211075135, -0.0048845974, -0.0203325357, 0.0794859082, 0.0085039092, 0.0028207449, -0.0155324722, -0.0071791834, 0.0010509486, -0.0166592188, 0.0090479674, 0.0899828076, -0.0164342355, -0.0259337835, -0.0078700939, 0.0164915174, 0.0160834957, 0.0410506502, -0.0025434173, -0.0149284657, -0.0028057001, 0.0427049659, 0.0182824936, 0.0335186869, 0.0023670713, 0.0181045886, -0.0899772123, 0.0046862252, -0.0314721726, 0.0056373263, 0.0559221879, 0.0272448529, 0.0348408408, 0.0596223995, 0.0004821367, 0.034200158, -0.0350267217, 0.0457766578, 0.0163710434, -0.0187925361, -0.0828203559, -0.0598408058, 0.0428131893, -0.0127282962, -0.0310867559, -0.0145564154, 0.0168571137, 0.0132385902, 0.0228785928, 0.0198775437, 0.0141585432, 0.0232017096, 0.0240644515, 0.0233685113, 0.0738906562, 0.0651456639, -0.0460912697, -0.0295940712, -0.0144628314, -0.0118597634, -0.0357641019, -0.0038567986, -0.0194397941, 0.0250060558, 0.0492773466, 0.0195215307, -0.0063358983, -0.0536948517, 0.0109307673, 0.0712074935, 0.0595916398, 0.0047771651, -0.0558960401, -0.0480858013, 0.012591619, 0.003456655, 0.0448719971, -0.0320356712, -0.0137617523, 0.057033401, 0.0052885031, -0.0132104838, -0.0340347625, -0.0256582499, -0.0221888274, -0.0200538151, 0.0309296641, 0.0173370633, -0.0027737243, 0.0677184165, -0.0178796258, -0.0379446633, 0.0039763767, 0.0436279066, 0.0092945891, -0.0234105587, 0.0971096158, -0.0017807015, 0.0465872847, -0.0084039886, 0.0374425203, -0.0183328483, -0.0064890133, -0.0328605883, 0.0299603827, 0.0486532934, -0.0247054286, 0.0023796067, -0.0090903314, 0.0015332567, -0.0284786597, 0.0351653658, -0.0543390438, 0.0359833688, 0.0408291072, 0.0185789727, -0.0001695493, 0.0107485522, 0.050624378, -0.0289781019, 0.0604598299, -0.0002225343, -0.0305775404, -0.0387286171, 0.0302074961, 0.0290048122, -0.0269102938, -0.0511220247, 0.0300635882, -0.0664792061, -0.0181622431, 0.0332417935, -0.0610647686, -0.047757443, -0.010961053, 0.0671824664, 0.0400910005, 0.0192731339, -0.0236765016, -0.0454292893, 0.0299665648, 0.0091457032, -0.0181849413, 0.0316014625, -6.038453869e-33, -0.0145003349, 0.0171240252, 0.0072524054, 0.0091897994, -0.0506148711, 0.033894971, -0.0108810952, -0.0066272607, -0.0189838689, 0.0296879299, -0.0235847384, -0.0482312255, 0.0113428477, 0.010784056, -0.0039950092, -0.0399048142, 0.0132933548, 0.0128425788, -0.0040486041, 0.0194020569, -0.0042908555, 0.0957837924, 0.0387397595, -0.0706186071, -0.0218955055, 0.0267646946, 0.0456688888, -0.0035111874, 0.0133385425, 0.046217382, -0.0426859967, 0.0095804995, 0.0296403784, -0.0279429238, 0.0087934379, -0.0090010557, -0.0759592727, -0.0191224441, 0.0046552131, -0.0119142383, 0.0091913519, -0.0241974127, 0.0385174491, -0.0148159852, -0.0143000325, -0.0083493525, 0.0111172842, -0.0537230484, -0.0551840663, -0.0266780145, -0.0511942059, 0.0383574478, 0.0297167767, -0.0028919263, 0.0049525397, -0.0237402543, -0.0417753272, 0.03826648, 0.023789471, -0.044834327, 0.0442771465, 0.0372106954, -0.0113019831, 0.0219591595, -0.0174809657, 0.0609859489, 0.0130038662, 0.0049455105, 0.0035624974, 0.0064673899, -0.0295318067, 0.0640705675, 0.0086274669, 0.0302742887, 0.0194408614, -0.0509813875, -0.0943614244, 0.0022583643, -0.0097836917, 0.0343092531, 0.0317661576, -0.0640104264, -0.0304586682, -0.0218397304, -0.0362388752, 0.0097994572, -0.0061029471, -0.0230602156, 0.0265599638, -0.0132508539, 0.003128873, 0.0114619303, 0.029493304, -0.0083924588, -0.010823668, -0.0382223278, 0.0296455286, 0.014716004, -0.0522538126, -0.0179880876, -0.0851663053, -0.0774368048, -0.0002889587, -0.0336201638, 0.0602973513, -0.0024220042, 0.0308813751, -0.0236588195, -0.0476491265, -0.0164343063, 0.0055191866, -0.0210848842, 0.0116871633, 0.026864402, 0.0196547527, 0.0181188397, 0.0124234874, 0.0597622581, 0.014402573, -0.042511858, -0.0224927813, -0.0352018997, 0.0221152697, 0.0146099543, -0.0366287678, -0.0022748371, -0.0272724219, 0.0547833145, 0.0205236059, -0.0330773592, -0.01116003, -0.0071579674, 2.905e-7, 0.087223351, 0.0687089637, -0.0492159128, -0.0415157899, 0.0125192823, 0.0005884338, -0.0087733399, 0.0016434261, 0.0274203699, -0.0110635161, 0.0610440895, 0.0010555654, 0.0336371697, 0.0338294581, -0.0762196854, -0.0369576812, -0.0928434432, -0.0350941047, -0.0536989644, -0.016836239, 0.0691529363, 0.0624515489, -0.0164775457, -0.0392171368, 0.001403341, -0.0331341662, 0.0278179087, -0.0549914986, -0.0013284512, 0.0644999593, 0.0150053203, -0.0259139277, 0.0051450287, 0.0803848952, -0.011398362, 0.0249785818, -0.0003984485, 0.0895658582, -0.0498777255, 0.0295073055, 0.0516940989, 0.0252827387, 0.036329858, -0.0604688041, 0.0671142638, -0.0565033704, -0.0451190285, -0.0223287325, -0.0244314875, -0.0466684811, 0.0682387799, -0.0260266289, 0.0179645531, 0.0271470509, 0.0337070636, 0.0345375463, -0.079975009, -0.0533862002, 0.0156206507, 0.0668723732, -0.0077725668, -0.0522234514, 0.0627295598, -0.0275589749, 0.0081308372, -0.046184808, 0.0293669906, 2.783758197e-34, 0.0260010641, -0.0175875816, 0.0292936563, 0.0432386957, 0.0032301792, -0.0147564597, -0.007164205, 0.047024291, -0.0071787867, -0.0638249367, 0.026452342 ]
http://arxiv.org/abs/2310.06238v1
http://arxiv.org/pdf/2310.06238v1
Tackling Data Bias in MUSIC-AVQA: Crafting a Balanced Dataset for Unbiased Question-Answering
2023-10-10T01:22:41
2023-10-10T01:22:41
Xiulong Liu, Zhikang Dong, Peng Zhang
cs.CV
cs.CV, cs.AI, cs.CL, cs.LG, cs.MM, cs.SD, eess.AS
In recent years, there has been a growing emphasis on the intersection of audio, vision, and text modalities, driving forward the advancements in multimodal research. However, strong bias that exists in any modality can lead to the model neglecting the others. Consequently, the model's ability to effectively reason across these diverse modalities is compromised, impeding further advancement. In this paper, we meticulously review each question type from the original dataset, selecting those with pronounced answer biases. To counter these biases, we gather complementary videos and questions, ensuring that no answers have outstanding skewed distribution. In particular, for binary questions, we strive to ensure that both answers are almost uniformly spread within each question category. As a result, we construct a new dataset, named MUSIC-AVQA v2.0, which is more challenging and we believe could better foster the progress of AVQA task. Furthermore, we present a novel baseline model that delves deeper into the audio-visual-text interrelation. On MUSIC-AVQA v2.0, this model surpasses all the existing benchmarks, improving accuracy by 2% on MUSIC-AVQA v2.0, setting a new state-of-the-art performance.
[ 0.0113412747, 0.0482527986, -0.0043481807, 0.0457515083, 0.0282771159, -0.0098871421, 0.0228885375, -0.0333904997, -0.0460709482, -0.0402178578, -0.0516900308, -0.005053048, -0.0120395254, 0.0177530255, 0.0451437086, -0.0496757776, 0.0228460263, -0.0235942006, 0.0302205533, -0.0114716273, 0.0325873755, 0.0105422512, -0.0348759443, 0.0194699597, -0.0490315147, -0.018981969, -0.0118686082, 0.0349192172, 0.013185218, -0.0155223887, -0.0195307881, 0.0424063541, 0.0299258754, -0.0118363993, 0.0000016281, -0.0074338242, 0.0402115472, -0.0233877748, 0.0042236634, -0.023757346, -0.0354335271, 0.0284337662, 0.022850791, 0.0575363711, -0.0246384405, -0.0130344406, 0.0433369428, -0.0159089547, 0.051492855, 0.0325754918, -0.0130740497, -0.0427562743, 0.0100572221, -0.0019543632, 0.0520249829, -0.0188190918, 0.0000477162, 0.0224595089, 0.0076792962, 0.0169775486, -0.0746532455, 0.0462155528, 0.044149708, 0.0341695324, 0.0312541127, 0.0089237709, -0.0700551793, -0.0367500708, 0.0000223212, 0.1184512675, 0.0610704198, -0.0029316279, -0.0005377886, 0.0144014722, 0.03494424, -0.0101615814, -0.0725568682, 0.0424422026, -0.0082970411, -0.0100636994, -0.0623740256, 0.0205110889, 0.0231456496, 0.0014108523, 0.0569230393, -0.0056683635, 0.0147883296, 0.0045316191, 0.038789548, 0.0005532519, -0.0325030722, -0.0465964675, -0.0046213996, 0.0381063372, -0.0243850444, -0.0192025062, -0.0391465425, -0.0030416688, -0.0067421594, -0.0141893988, 0.0235570874, -0.0063365307, -0.0792217106, 0.0930568948, 0.012919656, 0.0037478164, -0.0225635488, 0.0051183873, -0.0139303403, -0.0371889062, -0.0067036585, -0.0237769987, -0.0353786275, -0.0055598281, -0.0103398487, -0.0384325571, 0.0199329853, -0.0220135916, -0.0539526753, -0.0088999737, -0.0058553736, 0.0534294806, 0.003962148, 0.0098319696, -0.0085108532, 0.068165116, -0.0692438781, 0.0889134556, 0.0052305982, -0.0541871227, -0.0104108201, 0.0128996326, 0.0276139081, -0.0418138988, 0.0535588562, 0.0555576272, -0.0046143355, -0.0182768423, 0.038241569, -0.0292759817, -0.0229023602, -0.0358006805, 0.0029157575, -0.0605700947, 0.0640043989, -0.0203088988, -0.0219978988, 0.0174290072, -0.0064241998, 0.0353429243, -0.0047408217, 0.0805724561, 0.0467074439, 0.030002581, 0.0386467725, 0.0186537579, -0.0008273037, 0.0687418208, 0.0320795961, 0.0024942961, 0.066626817, 0.0009543695, 0.0287645739, 0.035308674, 0.0175945051, -0.0013555571, -0.0163031351, 0.0312880948, -0.0291672722, 0.0476585664, 0.0359567627, 0.0375429429, -0.0203595031, -0.0681479946, 0.0556392036, -0.0081342701, -0.0485554412, -0.026829455, -0.0223013107, -0.015927216, 0.0320154317, -0.0003532116, -0.0162616652, 0.1133334115, 0.0181493871, 0.0203733519, 0.0689356327, 0.028882606, -0.067042388, -0.0084924027, -0.0215623472, 0.014301802, -0.0055581494, 0.0385265052, -0.0120374719, 0.0253185425, -0.0339448936, 0.0238964129, -0.027372133, -0.0193170421, 0.0185666252, -0.0247871503, 0.0408547781, -0.0346260667, 0.0374638848, -0.0428723432, -0.0082431128, -0.0283680744, 0.0691897124, 0.0233713686, 0.0130430609, -0.0364929363, 0.0416478403, -0.0384728834, -0.0495063961, -0.0348734073, -0.009328533, -0.0017622366, 0.0013443015, 0.031194156, -0.0136140455, -0.0652700663, 0.0563548617, -0.0081128618, 0.0302117337, -0.0275724102, 0.0169187672, 0.0261644404, 0.0110233892, 0.0322599187, -0.0279768165, 0.0192613769, 0.0094949976, -0.0033585674, 0.0184696633, -0.0070798839, -0.0555928424, -0.0133547392, 0.0348838903, -0.1195607707, -0.0003666983, 0.068902187, -0.0353110135, -0.0164580196, 0.0181605462, -0.0148640675, -0.0342589468, -0.0244313702, -0.0358411931, 0.0284708142, 0.0236729346, 0.0023457839, 0.0129393879, 0.0207567494, -0.0111266207, -0.0238322616, -0.0221943781, 0.0462085307, -0.0245582964, -0.0046691382, 0.0357994437, -0.0015009502, 0.0304628946, 0.0043560551, -0.0437449999, -0.0519129597, -0.0019139395, -0.099334307, 0.0099337511, -0.0272693038, -0.0330313258, 0.0243858416, -0.0030321693, -0.0055634533, -0.0593973584, -0.0665834174, -0.0001340597, 0.0263100304, 0.0355031006, -0.0229565296, -0.0047059292, 0.0154595142, -0.0090815416, -0.0229976717, -0.0096812956, 0.0352264196, -0.0015131615, 0.0316654481, 0.0224184003, -0.0597357415, -0.0843588114, 0.0287630167, -0.0048449161, 0.0018278108, -0.0031659144, -0.008530614, 0.013243271, 0.0416279621, 0.0043170373, -0.0147115598, 0.0375851989, 0.0139988875, -0.0152936503, 0.0262605175, 0.0176667552, -0.0011891815, -0.0041768779, -0.0304417498, -0.0226892736, 0.0001157641, 0.0315752923, 0.0121322442, -0.0220327172, 0.0384607762, 0.014643413, -0.0386572182, -0.0772273466, 0.0028815381, -0.0229627229, 0.0321272612, -0.0292486735, -0.0264995825, 0.0718109012, -0.001474716, -0.0027424176, -0.0360211059, 0.0094887223, -0.0343622863, 0.0633195415, -0.0219505858, 0.0114792967, -0.0099310158, -0.006412738, -0.0920404121, -0.0378425159, 0.0376757421, -0.0336313732, 0.0297204908, -0.0218250118, -0.0061777635, -0.0323696472, -0.0353016406, -0.0119215641, -0.0519645028, -0.0313077457, 0.0042432155, -0.0593150556, 0.0121100694, -0.0214457922, -0.0254617054, 0.0398374535, -0.0145067377, -0.0230046641, 0.0247981306, 0.0017410637, 0.0810167566, 0.0875553414, 0.0466298088, -0.0135013741, -0.0236866754, 0.0264269803, 0.0452671312, 0.043406114, -0.0060470034, -0.0111012263, 0.0108054178, 0.0226783566, 0.0426587425, -0.0196825471, 0.0274430141, 0.0602828451, 0.0006856173, 0.0176523197, 0.0717753023, 0.0110570053, -0.0235359836, -0.0066410103, 0.0192834921, 0.0177390892, 0.039129287, -0.0017713353, -0.116400294, -0.0606670082, -0.0070863799, 0.0257181432, 0.049607154, 0.0204750281, -0.0088347308, -0.0756877959, 0.0422218889, -0.0191140734, -0.0448992588, -0.043136742, -0.017593069, -0.0049411119, -0.038766291, 0.0326595306, -0.0159171298, -0.0272925906, 0.0337996371, 0.0305075403, 0.0224566311, -0.0194470268, 0.0368618518, -0.0592355691, 0.0305357724, 0.04985952, 0.0367137305, -0.0494101569, -0.043082837, -0.0032549163, -0.0371876098, -0.0162379052, 0.0338880569, 0.0643005297, -0.0282585043, -0.0226509813, 0.002473773, 0.0520749539, 0.0074435398, -0.0254173577, 0.0307718012, 0.0616693161, 0.0061852885, 0.002571712, -0.0671261549, 0.0146426437, -0.0044588125, 0.0780955404, 0.034585923, -0.0203899797, -0.0019934275, 0.0186039805, -0.0172172505, -0.0400069728, -0.0424939692, 0.0045013558, 0.0390327945, 0.0103478506, -0.0415172875, -0.0207091961, 0.0332611538, 0.0409458913, -0.0388164446, -0.0045130099, -0.0516506508, 0.0286594555, -0.0708760545, 0.0632884949, 0.0269327238, 0.0556749403, -0.0298834592, -0.0070214556, -0.015166983, -0.0680689365, -0.0300067049, 0.0212519318, -0.0666520223, -0.020266274, -0.0137827499, 0.0398617871, 0.0175928194, 0.0295404028, 0.0138970362, -0.04900866, 0.0183247868, 0.0281376354, 0.0079758223, 0.02252011, 0.0099453041, -0.0192325041, -0.0053459802, 0.0111319227, -0.0637014359, -0.0026278915, 0.0021421211, 0.0373981632, 0.0173665956, -0.0203864574, 0.0014459662, -0.0291171838, 0.0390234925, 0.0056374501, 0.0181507505, -0.0261805877, 0.0057787094, 0.0175830163, 0.0017377196, -0.0355794951, 0.0151009429, 0.0227562822, -0.0019576163, -0.0487659238, -0.001761766, -0.0048246868, -0.0176381916, -0.0525436737, 0.0230654087, 0.0536998287, -0.049015943, -0.0335749649, -0.0178175792, 0.0170986317, 0.0278599933, 0.024177989, 0.0430780686, 0.0412816443, 0.0491744354, 0.021124905, -0.0326896384, -0.0062733754, 0.0250659585, -0.0623444803, -0.0504068211, -0.0062121688, 0.016299719, 0.0304685477, -0.0209494568, -0.0396752618, 0.0500609912, -0.0251087975, -0.001236186, 0.0115658036, 0.0067411405, -0.0147646721, 0.0782705024, 0.0305609796, 0.0007644353, 0.0149887148, 0.0824974179, -0.0117930397, 0.0228691678, -0.0210565589, 0.0091247233, 0.0032063422, -0.0049899393, 0.0062806928, 0.0124862604, 0.0051975078, 0.0310602821, -0.0183211248, -0.0719052032, -0.0364934355, -0.0025441903, 0.0051879808, 0.0035488545, 0.0332941264, 0.0476327948, 0.0297506023, -0.0372637771, 0.0061507998, -0.0110068033, -0.0812440068, -0.0146945091, 0.0265138522, -5.331713237e-33, -0.0070163039, 0.0120694367, -0.015190349, -0.0397166051, -0.0171858631, 0.0226786844, -0.0365323909, 0.0005265811, -0.0479860231, 0.0099108601, 0.0374956951, 0.0349570736, 0.0042147981, 0.0267242808, 0.0149211744, -0.0592514612, 0.0223007165, -0.0303248707, -0.0299701635, 0.0077948673, 0.0039890343, 0.0051080356, 0.0275604501, -0.0545379929, -0.0168416612, 0.0110822693, -0.0098943766, 0.0076399827, -0.0251096543, 0.1083313525, -0.0069509521, 0.0383294635, 0.0045119431, -0.0236880761, -0.0039318483, 0.0360044912, -0.074346222, -0.0166595634, 0.0088141449, 0.0336206108, -0.0602514893, 0.0110477582, 0.0221314281, -0.0125544183, -0.0244331211, -0.0584879145, 0.0467379242, -0.01946274, 0.014485714, -0.0358351283, 0.0061025643, -0.0160882976, -0.0413614698, -0.0477295294, -0.0012708661, 0.0880595967, 0.0319116712, 0.0250168201, -0.0296915751, 0.0222046375, -0.0196674615, -0.0000150437, 0.0820616037, 0.0179138016, -0.0157550313, 0.05520292, 0.0494444408, -0.0869013444, -0.0586063527, -0.0345059372, -0.0298085827, 0.0436477922, 0.0411649942, 0.0613712184, 0.0425214805, 0.02249703, -0.0309102107, 0.032566797, -0.0287347771, 0.0398346186, 0.0028554329, 0.0061162449, -0.0340605043, -0.0030246454, -0.0602232851, -0.0231622495, -0.0616925582, -0.013734309, 0.0455094092, -0.0036062764, 0.0187203102, 0.0396441557, 0.0491071194, -0.0433802195, -0.0002797803, 0.0493077785, -0.0251292158, 0.0257452596, 0.0291111954, 0.0310763214, -0.0280240215, 0.0767125487, 0.0986309946, 0.0073836823, 0.0153195309, -0.0041510183, -0.0158123616, 0.0433965102, -0.0639004856, -0.0174377877, -0.0021680759, -0.0087952586, -0.0068251598, 0.0304761212, 0.0254619345, 0.0463785194, -0.0434214696, 0.0167970695, -0.0238786004, 0.0129081868, -0.0317449868, -0.0691270009, -0.0443707258, 0.032769829, -0.0106084058, 0.0143129081, -0.0341660194, -0.1003527567, -0.0378664359, -0.066139631, -0.035505008, 0.0272617806, 2.365e-7, 0.0090263346, -0.0240337607, -0.015819842, 0.0016288607, 0.02532796, 0.0426525995, -0.0320913009, 0.0276313256, 0.0114242909, -0.0499507971, -0.0080550313, 0.0547608025, 0.0492687151, 0.0386148095, -0.0564873889, 0.0130785285, -0.0739266798, 0.0266596992, -0.071498625, -0.0167530328, 0.0380906276, 0.1075165644, 0.0058309427, -0.0246437974, 0.0268504657, 0.0062779989, 0.0262260325, 0.0152834179, 0.0059239217, -0.0634632483, 0.0097407689, -0.0193588696, 0.0146140577, -0.0042500691, -0.0338312201, -0.0149277896, 0.0643124208, 0.0252479296, -0.000747873, -0.0870867819, -0.0474366508, 0.0597600006, 0.0196649041, -0.0277717505, 0.0952732116, 0.0285182018, -0.0502513722, -0.0448278598, -0.0604598671, 0.0138170924, 0.0366893597, 0.0129712494, -0.0234593395, -0.0521265417, 0.0419633761, -0.0143403104, -0.0146372421, -0.0877425596, -0.0049530463, 0.0019856279, -0.0309357345, -0.0254015271, 0.010621028, -0.0061569349, -0.0025469668, -0.0508638173, -0.0442314856, 1.476780096e-34, 0.0292627085, -0.0156840365, 0.0332500264, -0.0228232257, -0.0114507442, -0.0229056217, -0.0238733143, -0.0559223071, 0.0232986696, -0.0221791919, -0.0186066888 ]
http://arxiv.org/abs/2310.06228v1
http://arxiv.org/pdf/2310.06228v1
Evolution of Natural Language Processing Technology: Not Just Language Processing Towards General Purpose AI
2023-10-10T00:41:38
2023-10-10T00:41:38
Masahiro Yamamoto
cs.CL
cs.CL, cs.AI, I.2.7
Since the invention of computers, communication through natural language (actual human language) has been a dream technology. However, natural language is extremely difficult to mathematically formulate, making it difficult to realize as an algorithm without considering programming. While there have been numerous technological developments, one cannot say that any results allowing free utilization have been achieved thus far. In the case of language learning in humans, for instance when learning one's mother tongue or foreign language, one must admit that this process is similar to the adage "practice makes perfect" in principle, even though the learning method is significant up to a point. Deep learning has played a central role in contemporary AI technology in recent years. When applied to natural language processing (NLP), this produced unprecedented results. Achievements exceeding the initial predictions have been reported from the results of learning vast amounts of textual data using deep learning. For instance, four arithmetic operations could be performed without explicit learning, thereby enabling the explanation of complex images and the generation of images from corresponding explanatory texts. It is an accurate example of the learner embodying the concept of "practice makes perfect" by using vast amounts of textual data. This report provides a technological explanation of how cutting-edge NLP has made it possible to realize the "practice makes perfect" principle. Additionally, examples of how this can be applied to business are provided. We reported in June 2022 in Japanese on the NLP movement from late 2021 to early 2022. We would like to summarize this as a memorandum since this is just the initial movement leading to the current large language models (LLMs).
[ 0.0709727183, 0.0687498078, -0.0359476693, 0.0406365916, -0.0354430825, 0.0162955672, 0.0181531738, 0.0167193934, -0.011082815, -0.0417150259, -0.0097330818, -0.0336979814, 0.002403103, 0.065904133, 0.0215332173, -0.0618305393, 0.0247948095, -0.0192372501, 0.0151925106, 0.0068518319, 0.0032634162, 0.0238336883, -0.0129373856, 0.0321696922, -0.021237677, -0.0197338313, -0.0199072715, -0.0749016702, -0.0147918649, 0.0108570252, 0.0009510071, -0.0014803506, 0.0538038202, 0.0635195524, 0.0000023474, -0.0590982549, -0.0104351565, -0.008152714, -0.0503895618, 0.0041536624, 0.0371565744, -0.0055703432, -0.018183222, 0.0083854133, -0.0784839913, 0.0069480389, 0.0352292433, 0.0666723922, 0.0526523925, 0.075598076, -0.0127624171, -0.1077214777, 0.0641272143, -0.0247372333, -0.0197200738, -0.0737324432, 0.0249480903, -0.01853773, -0.0227645487, -0.0067817643, -0.020970827, 0.0434802622, 0.0202572253, -0.0119904829, -0.0049419636, 0.0272923671, 0.0015645776, -0.0094106849, -0.0338538662, 0.0753024817, -0.0246698633, 0.001201136, 0.0218606461, -0.0192690976, -0.010364715, -0.0197470728, -0.0466189682, 0.0436205044, 0.0230100397, 0.0339738578, 0.0185120348, -0.0213788748, 0.0298148748, 0.0372251607, -0.0241233986, 0.0602461509, -0.0151496064, -0.0486408398, 0.0163693652, -0.0136713833, 0.0093008224, -0.0431174897, 0.0109070819, 0.0528173372, -0.0056205052, 0.036642354, -0.0168107618, -0.0470187441, 0.0037461121, -0.0818820521, 0.016451152, -0.0024693417, -0.0049856668, 0.0337399244, -0.0376606025, 0.050678581, -0.0326608419, -0.0297388621, -0.0243004803, -0.0047942083, -0.0537623428, -0.0418996103, -0.0375392213, 0.0634670481, -0.0556560978, -0.0393807143, -0.0433500223, 0.0300838947, -0.0437150598, 0.0110030985, -0.0189217497, 0.0335653871, -0.0279023834, -0.0173516665, -0.0776790604, 0.0073971013, 1.56e-8, 0.0152862025, -0.0168380328, -0.0307914894, 0.0687119439, 0.0124161029, 0.0450423062, 0.015882181, 0.0375168622, 0.0900407061, 0.0124174124, -0.0067652361, -0.0838248134, -0.0332059301, -0.0098257083, -0.0627452061, 0.0122555336, -0.0593829155, 0.0238506272, -0.0147439204, -0.007161926, -0.0466272198, 0.0153429573, 0.0168440267, -0.0554918163, 0.0495000593, -0.0280296728, 0.0263716504, 0.0390353277, -0.0291401912, 0.0497774035, 0.0436119325, 0.0603564754, 0.0107715856, 0.055650562, -0.0180838145, 0.0219731349, 0.041882284, -0.0184680168, -0.0444031209, -0.0102711646, -0.0206966866, -0.0510135926, 0.0172768272, -0.0095311692, 0.033868894, -0.0108317239, 0.0270819589, 0.0665761828, 0.0588391535, 0.0270464178, 0.0832268596, 0.0474350862, 0.0077924081, 0.0082800183, -0.0163290091, -0.0122389467, 0.0045918198, -0.027873585, 0.0119003672, -0.0047571668, -0.0178537406, -0.0362681486, -0.0642227754, 0.0052448576, -0.0291446596, 0.0235739853, 0.0042212065, 0.0571895987, -0.0159701221, -0.040039286, 0.0371324159, 0.0222767126, -0.0175262224, -0.003566724, -0.0539027788, -0.006060347, 0.0770786479, 0.0225997716, -0.0320880525, 0.0088634957, -0.0260912254, -0.0122299343, 0.0600226521, 0.0246511754, 0.0007607279, -0.0204421114, -0.0338035114, 0.013711147, -0.0215503853, -0.0125213703, 0.0165022109, -0.0212730449, 0.0388201363, 0.004152128, 0.0291534085, -0.0499474183, 0.0233010948, -0.0310029592, -0.0426987521, -0.0033790178, 0.0377400629, 0.0279381815, 0.0636334643, -0.0027756111, 0.0051736631, 0.028195532, -0.0274161119, -0.057417199, 0.0096378522, -0.0405860841, 0.027323788, 0.0202341173, -0.0584356748, -0.0029974433, 0.0292579029, -0.03896413, -0.0289849844, 0.0192797258, -0.033848878, 0.0373943038, -0.0413421355, 0.0200579688, -0.0403485075, 0.0224818327, -0.0333777331, 0.0585178733, 0.0143149132, 0.0001577421, -0.0173519515, 0.0015231702, 0.0152856344, -0.0318659432, -0.0423269384, 0.0376408212, -0.0040173121, 0.0256037805, 0.0390031971, 0.0248833485, -0.0181534924, 0.019914927, -0.0719198436, 0.0037545995, 0.0036930107, 0.012186829, -0.0109594064, -0.0059823911, -0.0002027394, 0.0047692657, -0.0380791947, 0.0552150495, 0.0288064741, 0.0044135307, 0.0752595216, 0.0145842424, -0.015930159, -0.0460659228, -0.0204684883, -0.0191846322, 0.0261851382, 0.0530983098, -0.0302459579, -0.0695507377, 0.0491981097, -0.0137967998, 0.0491026305, 0.0060772481, -0.0406573266, -0.0059000789, -0.0342276022, -0.0087174559, 0.0564690679, 0.0144133717, 0.0424311534, 0.022626115, 0.0112018231, -0.0315555222, 0.0313916095, -0.0307576694, -0.0055152751, -0.0583618581, 0.0072900509, 0.0130717177, 0.0418082178, 0.0058667311, -0.0108076846, -0.0138683496, 0.0322532579, -0.0169781782, -0.0299731791, -0.0102565363, -0.0216155779, -0.0319596343, 0.0493403226, -0.011219535, -0.0412487835, 0.0399877802, 0.025425477, -0.0021274928, -0.0607281849, -0.0452475622, -0.043976523, 0.0872668847, -0.0100938166, 0.039150551, -0.0171978027, -0.0526408628, -0.0118985893, -0.0001592837, -0.015537492, -0.0199017674, 0.061923638, -0.0404497236, 0.0252541509, -0.0002510292, -0.0047324374, -0.0627718791, -0.0178328827, -0.0349810086, 0.0152444514, 0.0557871163, -0.0118637541, -0.0319475494, -0.0046927268, 0.0307756998, 0.0306036305, 0.0291987248, -0.0054832599, -0.0359178148, 0.0136808399, 0.0406100526, -0.0209119916, 0.0209702794, 0.0277904533, 0.0201432724, 0.0421837009, 0.0316561796, 0.0251998156, -0.0514022373, 0.0083125541, 0.0060757799, -0.0627306774, -0.0469070636, 0.0295387376, -0.0055903764, -0.0627180338, 0.0247655846, 0.1131778061, 0.0126272021, -0.0143760582, 0.0190963261, 0.0268073417, -0.062661089, 0.0222790893, 0.0246768296, -0.0955385864, -0.0077008684, -0.0164453145, -0.0314648934, -0.0094864881, -0.0532990545, 0.0128890947, -0.1355060041, 0.0373396426, -0.0319803134, -0.0265398175, -0.0445399731, -0.0615494363, -0.0300984699, 0.0054553547, 0.0436026081, -0.0252610892, -0.021865651, -0.034448389, 0.0142288432, -0.0754720569, -0.0311097484, 0.027988771, -0.0604874305, 0.007979312, 0.0789436698, 0.0905520469, -0.0647595078, -0.0156372506, -0.0042749965, 0.0373190604, 0.0488480814, 0.0034749261, 0.05152601, 0.0161197614, -0.0292699542, -0.0176085327, 0.0161235146, -0.0481291078, 0.0353982486, 0.0019223947, 0.0664615184, 0.0043434915, -0.0189784635, -0.0216735806, -0.0209053922, -0.0110138189, 0.04086674, -0.0315751657, -0.0756276622, -0.0499753132, -0.0177707206, 0.0073715253, -0.0451743901, -0.0450627692, 0.0023221953, -0.0095623871, -0.0174935926, -0.0881754011, -0.0485615395, 0.0353038125, 0.0160396472, 0.0423417762, 0.0080320407, 0.0417533442, 0.0092694312, -0.0313782655, -0.0206199698, -0.0301872119, 0.0260612927, -0.0369811282, -0.0088711195, 0.0302409064, -0.0097649703, -0.0098679597, -0.0001102514, -0.057291124, -0.065432407, -0.0266439803, 0.0203655753, 0.0192214623, 0.0234919731, 0.0201771725, -0.0605098195, 0.0336599648, 0.0529855229, -0.0312844217, -0.0083021866, 0.0315762348, 0.0034202659, 0.0128057497, 0.0250123069, -0.0336661562, -0.0037614834, 0.0099584889, 0.0083048465, -0.0021098095, -0.031631995, 0.0173620842, 0.033810921, -0.000976561, 0.0083064148, 0.0008442528, -0.0448226295, -0.0078733787, 0.0137886405, -0.013294911, -0.0415818095, -0.0159754157, 0.0253843348, 0.0124022337, 0.0148113081, 0.0358516276, 0.0066812462, -0.013945872, -0.0230536554, 0.0414638408, 0.0231356081, 0.0581655875, 0.0097242352, 0.0027838559, -0.006758803, 0.0024385196, -0.0081706289, 0.014362135, 0.0044847103, 0.0330048017, -0.0142319314, -0.0087722847, -0.0516473837, 0.0028172305, -0.0312947258, -0.0962397456, 0.004565848, 0.0454449058, 0.0882363841, -0.0342881009, -0.0135260094, -0.050277736, 0.0051592225, 0.0034116108, 0.0220685918, -0.0241295509, -0.0197788868, -0.0327901877, 0.0173693616, -0.0121767987, 0.0110933986, 0.0650007427, 0.0225036796, 0.0579568036, -0.0038906375, -0.0004936012, -0.0258891992, -0.0169430505, 0.0599763766, 0.0351754203, -0.0102841929, 0.0056085321, -0.0080694491, -0.0673384517, 0.0148862787, 0.0014194058, 0.0289898738, -0.0238983892, 0.0457829051, 0.0738237128, 0.0094172712, 0.013024928, -0.0501117967, 0.0401201174, -0.0028207735, -0.0009322838, -0.0347645134, -6.498294402e-33, 0.0307960417, -0.0226224288, 0.044669617, 0.0259290133, -0.0127445059, -0.0082416413, -0.0010162387, -0.0112475697, -0.0388432629, -0.0000147808, -0.0391785949, -0.0088405106, 0.012545743, 0.0290798023, 0.0311750397, -0.005540133, 0.0353839546, -0.0257734135, 0.0600776784, 0.0089523569, 0.0186024029, 0.0240140539, 0.0774543732, -0.058541093, 0.032930281, 0.0137242163, -0.0077762636, 0.0434690937, 0.0194155388, 0.046036683, -0.0269671753, 0.0502015986, 0.0359165184, -0.0805308819, -0.0199251436, 0.0260074399, -0.0523540601, -0.016154604, 0.0060988902, 0.0196979754, -0.0340920314, -0.0154583538, 0.0781872123, -0.0077904589, 0.0088949073, 0.0333062224, 0.0562232882, -0.0323516764, 0.009786332, -0.0172100347, -0.0735163018, -0.0023980506, -0.041565042, 0.0243938193, 0.0362701975, -0.0043700901, -0.0242354404, -0.0066193701, -0.0932475999, 0.0502368025, 0.0265216157, -0.0070082578, 0.0502667651, -0.0046074637, 0.0146114277, 0.0353364088, 0.0587773658, 0.0078620212, -0.0079672299, -0.0049907104, 0.0435138792, 0.0975815058, -0.0102156028, 0.0392680019, 0.0286016669, -0.031342186, -0.0690137297, 0.0086998735, 0.0133722378, 0.029004531, 0.0322887562, 0.0180877298, -0.059027724, -0.0271670185, -0.0119536081, 0.0070474949, -0.0222674683, -0.0055209505, 0.0115945721, 0.0036278798, -0.012001914, 0.0395860001, 0.0199942403, -0.0998803899, -0.0328378454, 0.0250324495, 0.003924429, 0.0390695594, 0.0007175086, -0.0008532579, -0.0682915077, -0.0824908316, -0.0805388093, 0.017002454, 0.0259130448, 0.0051422697, 0.0060619167, 0.0271798652, -0.026525544, -0.0048840982, -0.0120726386, -0.0205756743, 0.0525328517, 0.0270959083, 0.008736887, -0.0029650391, -0.0070913453, 0.0403428003, 0.0145557374, -0.0047221128, -0.0346872173, -0.0222467873, 0.0078510847, 0.0046893796, -0.0504910201, -0.0269849859, -0.0464520752, 0.015150032, 0.0583236702, -0.0702268779, -0.0273950808, -0.0130323945, 3.029e-7, 0.0079250308, 0.0600925945, 0.0240422636, 0.0331738293, 0.0241224822, 0.0446790867, 0.0291860085, 0.002261119, -0.0304407664, 0.0060729547, 0.0286046341, 0.0361950025, -0.002184778, -0.009973784, -0.0868322477, -0.0052565252, -0.0240394622, -0.0089078443, -0.0836873353, 0.0164318085, 0.0288278628, 0.0822359174, 0.0406231321, -0.048571635, -0.0161035452, -0.0389027521, 0.043836873, -0.0009890485, 0.0288104825, 0.0402042456, 0.0270413309, 0.0549219698, -0.0265189838, 0.0051101949, -0.0112572126, 0.0473440662, 0.0241498519, 0.0639133155, -0.0202505868, 0.0282788537, 0.0193535667, -0.0359089263, -0.0179806147, -0.0312047619, 0.079053089, -0.0578047335, -0.0487911031, -0.0481927581, 0.0058799135, -0.0090713808, -0.0307243038, -0.0165093392, 0.0226013511, 0.0055749072, 0.0034340289, -0.0456937812, -0.0192259811, -0.0534206256, 0.0283742398, 0.0269589592, -0.0351502523, -0.012019679, -0.0253252015, 0.0010121942, 0.0663441643, -0.0223869067, 0.0349664241, 2.474408032e-34, -0.0002891183, 0.018465152, 0.0118072694, 0.0293701589, 0.034519624, 0.0183352772, -0.0127505921, 0.0278828237, -0.0048366543, -0.0548410192, -0.0514259413 ]
http://arxiv.org/abs/2310.06213v2
http://arxiv.org/pdf/2310.06213v2
GeoLLM: Extracting Geospatial Knowledge from Large Language Models
2023-10-10T00:03:23
2024-02-24T16:11:57
Rohin Manvi, Samar Khanna, Gengchen Mai, Marshall Burke, David Lobell, Stefano Ermon
cs.CL
cs.CL, cs.LG
The application of machine learning (ML) in a range of geospatial tasks is increasingly common but often relies on globally available covariates such as satellite imagery that can either be expensive or lack predictive power. Here we explore the question of whether the vast amounts of knowledge found in Internet language corpora, now compressed within large language models (LLMs), can be leveraged for geospatial prediction tasks. We first demonstrate that LLMs embed remarkable spatial information about locations, but naively querying LLMs using geographic coordinates alone is ineffective in predicting key indicators like population density. We then present GeoLLM, a novel method that can effectively extract geospatial knowledge from LLMs with auxiliary map data from OpenStreetMap. We demonstrate the utility of our approach across multiple tasks of central interest to the international community, including the measurement of population density and economic livelihoods. Across these tasks, our method demonstrates a 70% improvement in performance (measured using Pearson's $r^2$) relative to baselines that use nearest neighbors or use information directly from the prompt, and performance equal to or exceeding satellite-based benchmarks in the literature. With GeoLLM, we observe that GPT-3.5 outperforms Llama 2 and RoBERTa by 19% and 51% respectively, suggesting that the performance of our method scales well with the size of the model and its pretraining dataset. Our experiments reveal that LLMs are remarkably sample-efficient, rich in geospatial information, and robust across the globe. Crucially, GeoLLM shows promise in mitigating the limitations of existing geospatial covariates and complementing them well. Code is available on the project website: https://rohinmanvi.github.io/GeoLLM
[ 0.026579624, 0.0995584503, -0.0190950464, 0.0009489798, -0.0131061152, 0.0406257771, 0.0173937753, -0.0137419282, 0.0321705043, -0.0171466619, 0.0029545212, -0.0108218854, 0.0418713801, 0.0045904969, 0.0450693294, -0.0840755627, 0.002292562, -0.0510142744, -0.0028246818, 0.0014702164, -0.0248459131, 0.0259681642, 0.0018791473, 0.0325185098, -0.0088053988, 0.0304133426, -0.010129082, 0.0007774621, 0.0010925607, -0.0195171013, 0.021556437, 0.0047059101, 0.0153505942, 0.0001625257, 0.0000019702, 0.0123163965, -0.0119561544, 0.017305851, 0.0338872224, 0.0210694484, 0.0223248973, -0.049979154, 0.0101822913, 0.0200915746, -0.0275997464, -0.0317860618, 0.0478762574, -0.0134391421, 0.0404280797, 0.0424260497, -0.0076882369, -0.0393864997, 0.0176213905, 0.0009186413, -0.0046544783, 0.0290682167, 0.020805683, -0.0065081134, -0.015784204, 0.0612978525, -0.0287255961, 0.0091070049, -0.0100493077, 0.026290752, -0.0359244011, 0.0571059138, -0.0379452892, 0.0110127749, 0.0065823123, 0.0320806205, -0.0205943454, 0.0068768249, 0.0522333868, 0.0328620896, -0.0305649973, 0.0461436547, -0.0582779497, 0.0115369335, 0.0066260691, 0.0638790727, -0.0218756907, -0.0019722451, 0.0350269526, 0.0396312885, -0.0251512527, 0.1160333008, -0.0003317253, -0.0271057002, -0.037914902, 0.0247606542, -0.009258816, -0.0163820721, -0.010574651, 0.0270787571, -0.0137495287, 0.0095766122, 0.0114807421, 0.0412677564, 0.0097693084, -0.0499325618, 0.0257200189, 0.0107047567, -0.02327336, 0.0614148565, 0.0118494285, 0.0245081149, 0.0202583037, 0.0379924923, 0.0076298788, -0.0510763898, -0.0297378357, 0.0080419006, 0.0077973525, 0.0066642156, -0.0160480756, 0.0429046191, -0.0292745661, 0.031193288, -0.0014005584, -0.0023783997, -0.0489486642, 0.0208191052, 0.0121349432, -0.0323165208, -0.0296723787, 0.0196910277, -0.000310592, 0.0140405139, -0.0102579864, -0.0171253867, 0.0291610453, 0.0238229819, 0.0376194902, 0.0074816556, -0.0077051506, 0.0420684107, 0.0662978217, 0.0026448185, -0.0586186163, 0.0128222546, -0.0216334276, -0.0298562665, 0.0169400163, -0.0969249308, -0.005034985, 0.0056737661, -0.0298857223, -0.0440993458, -0.0133696683, 0.0243575703, -0.0584978014, 0.0286420677, -0.025019804, 0.0390783362, 0.0627781153, -0.0270114616, 0.0280615482, 0.1053805873, 0.0124450075, 0.0620473847, 0.0672901571, -0.0208647773, 0.0023759906, 0.0354821421, 0.0177107621, 0.0731368512, -0.0346250646, 0.0049468148, -0.0285073314, -0.0266654696, 0.0367423892, 0.0189486556, 0.0100098345, 0.0158761088, 0.106294252, 0.0838518217, -0.0247049928, 0.0047497954, 0.0350118242, 0.0795544684, -0.051182732, -0.0316985697, -0.0559963025, -0.0315816961, -0.0433740057, 0.0190695077, 0.0306946225, 0.0529412515, -0.023202138, -0.0220571477, -0.0173998252, -0.0145749385, 0.0048423079, 0.0183986202, 0.0805606842, -0.0558666438, 0.0199622288, 0.0627682135, 0.0558534376, 0.005368215, 0.0228865091, 0.0015245319, 0.0096431021, -0.0218461771, -0.0418053716, -0.0006000778, 0.0200750344, 0.0055177761, 0.0329093374, 0.0183796939, 0.0068045836, 0.0181714166, 0.0099790385, -0.0123294257, -0.0419833511, 0.0415292047, 0.0249396022, -0.0363735855, 0.0970485657, 0.0501392372, 0.0722647011, -0.096504882, 0.0013434342, 0.0166475978, -0.0046506412, -0.0071309409, -0.0178320818, 0.0280995704, -0.008606704, -0.014885691, -0.0050239372, -0.0106101204, 0.0194258709, -0.0003047079, -0.0219544712, 0.0057509942, 0.0112113114, -0.0189200137, 0.0088044554, -0.0078122201, 0.0168357231, 0.0370609872, -0.0428111739, -0.0068693683, 0.0279070456, -0.030094292, 0.0829155967, -0.0201280564, 0.0083149243, -0.0010640009, 0.0343761668, -0.0220466405, 0.026306048, -0.0257669408, 0.0045106318, -0.0041938559, -0.0160206929, 0.0228972845, 0.0041557406, -0.0030452327, -0.0763226077, -0.0127607062, 0.022928061, -0.0074921376, 0.0119807888, -0.032518886, -0.0559287295, -0.1113003567, 0.0130087137, -0.0287234168, 0.0070584244, 0.0129218185, -0.0340935141, -0.0570914, -0.0132726952, -0.0090503255, 0.0024490061, -0.002118503, 0.0192572884, 0.0115251113, -0.0512838289, 0.0453527533, 0.0048653707, -0.0127918785, -0.0032702617, 0.0438117385, -0.0189127438, -0.0365808308, -0.0004347495, 0.0207286291, -0.0418795533, 0.0130289979, -0.0151515715, -0.0347718894, -0.0223938785, -0.0543609522, -0.0070494954, -0.0408754461, 0.0128206434, -0.0210797936, 0.0282446165, -0.049688492, -0.0504946411, 0.003058075, -0.0421772785, -0.0304596256, -0.0180233382, -0.0501592495, 0.0054826261, 0.0338273942, 0.0003433142, -0.0062853913, 0.0110137863, -0.004334711, -0.0575131662, 0.0227057487, -0.0679198429, 0.0740469769, 0.0063138003, 0.0546291508, -0.033406835, -0.1142332479, 0.0027578864, -0.0426796973, 0.0277532637, 0.0291204248, -0.0279032104, -0.0281760059, 0.0382096842, 0.0131170945, -0.0046635438, -0.0024152021, -0.0004609122, 0.0007987362, -0.0288043618, -0.0382797495, -0.0161934793, -0.0090165017, -0.0576353371, 0.0089893332, 0.0000234126, -0.0400776528, -0.0297276694, -0.0425609201, -0.0273980722, -0.0098172436, -0.0049930047, -0.0632596314, 0.03308345, 0.0649283305, 0.0129463095, 0.013201125, -0.0059605199, -0.0150356032, 0.0038373442, -0.0037078855, 0.0696468726, 0.0587551296, -0.0134461895, 0.0111586228, -0.0592588931, -0.0020371284, -0.034105178, 0.0283002891, -0.0002248768, 0.027641166, 0.0217961352, 0.001556095, -0.0250370596, 0.0306539312, 0.0436091572, -0.0454230011, -0.0037390287, 0.1216183007, 0.0251846816, -0.01754722, -0.0023752763, -0.0194262471, 0.0337324739, 0.0419435725, 0.0390705317, -0.0404985063, 0.0048590717, -0.0062160026, -0.0043792515, 0.0008815877, -0.0346146934, 0.0010582079, -0.1299909353, 0.0785957724, -0.0095932912, -0.0548598692, -0.0435983166, -0.0728203133, -0.0292270966, -0.0163365379, -0.0549917072, -0.0573650301, -0.0218682941, 0.0340198949, 0.0307639278, -0.1161806211, -0.0235308763, -0.0262619238, -0.0879690945, 0.030593086, 0.0042516114, 0.0690396875, -0.0347645096, -0.0254243203, -0.0242395308, 0.0369193964, -0.001640534, -0.0063735312, 0.0574876703, 0.0244302042, -0.0382105, -0.0025053141, 0.0141275376, -0.0556503721, -0.0099511594, 0.0505946986, 0.077268295, -0.0098889219, 0.029346766, -0.0113416277, 0.0326795951, 0.0307599194, 0.0004093858, 0.0017540697, -0.0052785082, -0.0202165544, -0.0436014347, -0.037754029, -0.0063600093, -0.0252997614, 0.0373617634, -0.0126114897, -0.0501632281, -0.0307471976, -0.0250477325, 0.0289271567, 0.023392966, -0.0056737065, 0.0136589771, 0.0479520187, -0.0265573785, -0.064700909, 0.0526156984, -0.0486743525, -0.0005620869, -0.0244703237, -0.0196115151, 0.0188749954, -0.006722609, -0.007287187, 0.0064149438, -0.1026599109, -0.0395411663, -0.0260438155, 0.0396795459, 0.0094349077, -0.0056088571, -0.0200625993, -0.0118853543, 0.0847005546, 0.0329596326, -0.0303539764, 0.0080302591, -0.0023261337, 0.0241356902, 0.0272978544, 0.0071854549, 0.0030116118, -0.0023673808, 0.0158204529, -0.0458900146, -0.0674102306, 0.0110081239, -0.0263060741, 0.0129606873, 0.1537257135, -0.0142460801, -0.0111131473, -0.026589198, -0.0477162041, 0.0108328909, 0.0022667039, -0.0197072774, -0.0148090683, 0.0418637358, 0.0449369922, -0.034726359, 0.0337122008, 0.0236491431, -0.0481641591, -0.0328436494, -0.0313643031, -0.0081787016, 0.012342127, 0.0050143888, 0.0419980064, -0.0049649966, -0.0239941496, -0.0061328793, 0.0315126665, -0.0083907302, -0.0113983303, -0.022128297, 0.0370536856, 0.0047337613, 0.0455581136, -0.005757438, -0.075608626, -0.0191076193, 0.0448346883, 0.0620132051, -0.036719881, 0.0008241425, -0.0245758872, -0.0131155318, -0.0382951647, 0.0198440682, -0.0054609347, -0.0505060032, 0.0164738372, -0.0256470516, -0.064433977, 0.060951747, 0.0622198582, 0.0407121368, 0.0027661433, 0.0227057673, -0.060133256, -0.0027073144, 0.0208357479, -0.0029001075, 0.0093949428, -0.0277022887, 0.0111901741, -0.0466977209, -0.0826849863, 0.0072537069, -0.0393365659, -0.022073783, 0.0109542822, 0.0018669935, 0.0379125103, -0.0471318662, 0.015608645, -0.0995566398, -0.0015181664, -0.053575702, -0.009008972, 0.0120771499, -5.988876292e-33, -0.0203504264, -0.0788290352, 0.0572028719, -0.0051195361, -0.01941224, 0.0288232081, -0.0132141337, -0.0002445016, -0.0268617682, -0.0046191849, -0.0133243175, -0.0219453592, 0.0053387498, 0.0427762792, 0.0282675605, 0.0273361411, -0.0277673602, 0.0126017584, -0.0051865964, 0.0050733574, 0.0360153653, -0.0034616624, 0.0597687997, -0.0840786248, -0.0203725733, 0.0162416529, -0.0016023524, 0.0097448165, 0.0294125602, 0.0475669354, -0.0213457178, 0.0705145895, 0.0312386472, -0.0034103293, -0.0438492261, 0.0209537093, -0.0375153571, -0.0299164895, -0.0079354858, 0.002958246, 0.0057935854, 0.0000640509, 0.0271173418, 0.0204917323, 0.0277229846, -0.0178450327, 0.0517384559, -0.0092328563, -0.062813431, 0.0154990256, -0.0183976796, 0.0480238199, -0.0078006377, 0.0087082256, -0.016145952, 0.0503228903, 0.0144664664, 0.0446115173, -0.0117634321, 0.0296116136, 0.0519879684, 0.048840493, 0.0141657041, 0.0361801796, 0.0222090073, 0.0795177445, -0.0158333275, -0.0545816943, -0.0313813612, -0.0356859341, 0.070447132, 0.0139592243, 0.0004190867, 0.0671169087, 0.0092041148, -0.0354403518, -0.0428955071, 0.0492626093, -0.0132066831, -0.0001311373, -0.0056283576, -0.0275941789, -0.0099880435, -0.0354026072, -0.038604483, -0.0688127428, -0.0133594489, -0.0151170734, 0.0243553612, 0.0081009194, -0.0004312947, 0.051157888, 0.0208652336, -0.0486634485, -0.0304623004, -0.0038372006, -0.0153691769, -0.0048328568, -0.0052361409, 0.0291514322, -0.0521662459, -0.0486820079, -0.0395768359, 0.0325692706, -0.0111450795, 0.0300864335, 0.0072397585, 0.0460893326, -0.0499920957, 0.0018029454, -0.0333867557, -0.0089203585, -0.0220803395, -0.0078530042, 0.011642525, -0.0261090286, 0.0089144083, 0.0167362262, 0.0313491188, 0.0091595259, 0.0276680086, -0.0224165078, -0.0051411306, -0.0081054056, -0.0087831104, -0.0258973204, -0.0222633425, -0.0136900488, 0.0081073791, -0.0303215273, -0.0065477029, -0.0191247724, 2.696e-7, 0.0637149513, 0.0783966184, -0.0063734655, -0.0221981592, -0.0069543105, 0.0144511182, 0.0063270833, 0.0130516784, -0.0161672831, 0.0071326676, 0.0234031212, 0.033970423, 0.0741061419, 0.0398758426, -0.1363036036, 0.0532970987, -0.0559160411, -0.0249681417, -0.0759919509, 0.0052457582, 0.0153350579, 0.0917188451, 0.0453131273, -0.0247134455, 0.0324545056, -0.0247058626, 0.0494384915, -0.0710376054, -0.0319174305, -0.0175065864, 0.0325149074, 0.0252285954, 0.0072905277, -0.0240693111, -0.034100119, -0.0115414029, 0.0104487445, 0.0787188411, 0.0097498726, 0.0015000002, -0.0013174508, -0.0582646765, -0.0143995276, -0.1101194024, 0.0640650764, -0.0201711748, -0.0141856568, -0.0218774751, -0.0011373773, 0.0027143576, 0.0423186719, -0.0169879198, -0.014059687, -0.0147041809, 0.0196922291, -0.0225594305, -0.0186254103, -0.0433805063, -0.0014926777, 0.0412082598, -0.012339375, -0.0402828194, 0.0044342647, -0.0031899635, 0.0230128076, 0.0131053543, 0.0392570347, 2.258089521e-34, -0.0065976791, 0.038857244, -0.01106585, -0.0276073515, 0.0261537489, 0.0246184636, -0.0010117934, 0.0128778797, -0.0276053082, -0.0147816297, 0.0301867444 ]
http://arxiv.org/abs/2310.06204v1
http://arxiv.org/pdf/2310.06204v1
Estimating Numbers without Regression
2023-10-09T23:07:05
2023-10-09T23:07:05
Avijit Thawani, Jay Pujara, Ashwin Kalyan
cs.CL
cs.CL, cs.AI
Despite recent successes in language models, their ability to represent numbers is insufficient. Humans conceptualize numbers based on their magnitudes, effectively projecting them on a number line; whereas subword tokenization fails to explicitly capture magnitude by splitting numbers into arbitrary chunks. To alleviate this shortcoming, alternative approaches have been proposed that modify numbers at various stages of the language modeling pipeline. These methods change either the (1) notation in which numbers are written (\eg scientific vs decimal), the (2) vocabulary used to represent numbers or the entire (3) architecture of the underlying language model, to directly regress to a desired number. Previous work suggests that architectural change helps achieve state-of-the-art on number estimation but we find an insightful ablation: changing the model's vocabulary instead (\eg introduce a new token for numbers in range 10-100) is a far better trade-off. In the context of masked number prediction, a carefully designed tokenization scheme is both the simplest to implement and sufficient, \ie with similar performance to the state-of-the-art approach that requires making significant architectural changes. Finally, we report similar trends on the downstream task of numerical fact estimation (for Fermi Problems) and discuss reasons behind our findings.
[ -0.0138816275, 0.0873009712, -0.031966161, 0.0428049713, -0.0084325131, -0.0264255386, 0.0309683718, 0.0298101176, -0.0430454537, 0.0006089219, 0.0164651312, -0.0624745637, 0.0113026649, 0.0701296255, 0.0451046526, -0.0214194339, 0.0572691411, -0.0635451749, 0.0585201941, 0.0084291361, -0.051160451, -0.0335218385, 0.0343009904, 0.0017851081, -0.0374672376, 0.012966577, 0.034172006, -0.0554428473, -0.0173862297, -0.0298343506, -0.0475935489, 0.0250918623, 0.0438199341, 0.0910019428, 0.0000021693, -0.0268450808, -0.0030984592, 0.0235905666, -0.0565932654, 0.0118813626, 0.0506188907, -0.057596948, -0.0140982885, -0.0111483792, -0.0184102245, -0.0175518263, 0.0533771068, 0.0348897167, 0.0224831309, 0.0399710387, 0.0056328294, -0.0419507883, 0.0410754271, 0.0076149837, 0.0026615532, 0.0126337465, 0.0176829267, 0.0134343943, -0.0015777957, 0.0482527353, -0.025292974, 0.0119896755, 0.0332016163, 0.0163095016, 0.008707718, 0.0229665656, 0.0008612456, -0.0405607671, -0.0005354411, 0.0299349632, -0.0422134846, -0.0273937024, 0.0065361545, 0.0091330474, -0.0142389825, -0.0423805863, -0.0410391502, -0.006182834, 0.0350377262, -0.0047920751, -0.0054847132, 0.00837122, 0.027975155, -0.0305510294, -0.0245477352, 0.0969697908, 0.0054434347, 0.0164106227, -0.0367883332, -0.0439521372, -0.1272227466, -0.0530047342, 0.011765454, 0.0011537091, -0.0003964377, 0.0142997541, -0.0491154678, -0.0462258235, -0.0203518029, -0.05914272, 0.0223444235, 0.0631368309, -0.0109236194, 0.0210208837, -0.0079270685, 0.0632754341, -0.0083600702, -0.0293210316, -0.0464387909, 0.0338217579, 0.0538007952, -0.0325582288, -0.0392689295, 0.0332024172, -0.0389496572, -0.0011512967, -0.0504201688, 0.0230925102, 0.0081159202, 0.0376251936, -0.0281752218, -0.0388145447, -0.0236809179, -0.0372899696, -0.0122072166, -0.0084431972, -0.0489067808, 0.0200565159, -0.0176222082, -0.0779260397, -0.0105200568, -0.0264245402, -0.0196002144, -0.0237300284, 0.0007366979, 0.0849297643, 0.0338221304, 0.0138371317, 0.0173338223, -0.0474484377, 0.006089157, -0.0070747132, 0.0158504248, -0.0712211877, -0.0237555224, 0.019595487, -0.0003851675, -0.0383952148, 0.0223779529, -0.0014528494, 0.0272789057, 0.0677714944, -0.0223763399, -0.035685543, 0.0144484881, -0.0108496463, 0.0170436781, 0.0486392863, 0.033218354, 0.0030086043, 0.0565164685, -0.0470973887, 0.0102441693, 0.0147789419, 0.0265182834, -0.0074929409, -0.0507316478, -0.0215542596, 0.0502820313, 0.0029196606, 0.0339054093, 0.055561807, -0.0126092155, -0.0515443459, 0.0614357591, 0.0436657593, 0.0099215955, 0.079552047, -0.0082506463, -0.0110799037, 0.0039406363, 0.0014171582, -0.04479618, 0.0416114591, -0.0076343324, -0.0011256473, 0.0226569045, 0.0353474505, -0.0224026442, -0.064544566, -0.0266292207, -0.0017342062, -0.0143581983, -0.039093595, 0.0432606339, -0.0240069367, -0.0083958823, 0.0182663426, 0.0246795528, -0.0101543609, -0.0030549061, -0.070144698, 0.0454137921, 0.0140286507, 0.0083355363, -0.0505473614, 0.0560674705, 0.0067776092, 0.0162147824, -0.000130202, 0.0372886695, -0.0056093652, 0.0042633591, -0.0479742289, 0.0361614004, -0.025208883, 0.0329998359, -0.0223493408, -0.0284732468, -0.0102071203, 0.0151403947, -0.0502012596, 0.0064503481, 0.0222103037, -0.0190558005, -0.0730744749, 0.0011833605, -0.0372476652, -0.0146509064, -0.0084946752, 0.0144530199, 0.0624681041, 0.0008743017, -0.0122480821, -0.0080856066, -0.0282448065, -0.0346412845, 0.0042451099, 0.0677998289, -0.0123521173, 0.039886713, 0.0434652418, -0.0020574511, -0.0069890167, 0.0691320673, -0.1023018062, 0.0445666946, -0.0035839279, 0.0256261788, 0.0075849495, 0.0366593376, -0.010053887, 0.0295335427, -0.0131064756, 0.052155856, -0.0048623304, -0.0637696385, 0.0381235108, -0.0204642415, -0.0226266533, -0.0190308541, 0.0191842392, 0.0186947845, 0.0254092105, -0.0722928569, -0.0057271286, 0.0189225208, -0.0457833707, -0.0461002514, -0.0144882826, 0.0003606294, 0.0127609279, -0.008442509, 0.0172462761, -0.0379483476, -0.0067149112, -0.0081748767, -0.0056401319, 0.0309749171, 0.0428805128, 0.0226641316, -0.0527102649, -0.0367933698, -0.0679615065, -0.0604871549, 0.0538274683, 0.0132494895, -0.0085854763, -0.0561450794, 0.0279333182, -0.0523187853, 0.055737149, -0.0409807079, -0.0031073063, 0.0080608735, -0.0265420415, 0.0555903912, -0.0140087744, -0.013035072, 0.0555272289, 0.0397097133, -0.0161181428, -0.015551772, -0.032054875, -0.0521372817, -0.0079503795, 0.0229440834, -0.0478188433, -0.006646743, 0.0563328639, -0.0074106464, -0.0271558315, -0.011158769, 0.0580743439, -0.016273953, -0.0430294313, -0.0098579125, 0.0406601019, 0.0107327094, 0.0288220383, -0.0151498178, -0.0328774936, 0.0691414103, 0.0003602271, -0.0135073299, -0.0214578304, -0.002374552, -0.0075828158, 0.00833291, 0.0416745059, -0.0103721758, -0.0165852662, 0.0025107763, -0.033355929, 0.0161897931, 0.0078006159, -0.0401894823, 0.0498777926, -0.0502386093, -0.0054393378, 0.013932528, -0.0467415936, -0.0042520105, -0.0529675633, -0.0126408432, 0.0634134337, 0.0130198374, -0.0231021903, -0.0473932587, 0.019778274, 0.0879855156, 0.0491121486, 0.009535837, -0.0123104714, -0.0258711614, -0.0026083908, 0.0394179672, 0.007483358, 0.0852650255, -0.0573511384, 0.0330713987, 0.0114078652, 0.0469258353, 0.0365404077, -0.028697636, -0.0145346913, 0.0536109358, -0.0220340341, -0.0536865368, 0.0713179857, 0.0453387313, -0.0365871824, -0.0238577966, 0.1008467153, 0.0100787403, 0.0199426524, 0.0470413417, -0.0370561779, 0.0038305488, 0.0247524716, 0.0063714534, -0.0275961906, 0.0156287253, 0.0003159523, -0.0058736918, -0.0417244881, -0.0353026018, -0.0163393524, -0.1049071252, 0.007768007, 0.0386153087, -0.0224414784, -0.0356588326, -0.0728888288, 0.0137084359, 0.022399703, 0.0030791566, 0.0064016609, -0.0079534538, 0.0094036954, 0.0206554793, -0.0333071314, -0.0207173862, -0.0031361138, 0.0153764375, 0.0101113105, 0.0125665041, 0.0246838573, -0.079553701, -0.0180245973, 0.0359340832, 0.0281887334, -0.0090064257, 0.0118947541, 0.0387369953, 0.0358560905, -0.0278231055, -0.0173861329, 0.0040793391, -0.0107129198, 0.0040439754, -0.0165170282, 0.0495831333, -0.0227941852, -0.0080847144, 0.0118809501, -0.004843838, -0.0067928797, 0.0323143005, 0.0294969268, -0.0202043355, 0.0045710681, -0.063052237, 0.0226516835, 0.035225451, -0.0275488012, -0.0631429777, 0.0143061699, -0.063586235, -0.049947165, 0.0323000923, -0.0093449913, 0.0381255709, 0.0078264568, -0.0340477042, 0.0466668867, -0.0202954561, -0.0267138854, -0.0105378116, -0.0394943878, 0.0548933521, -0.0654412583, 0.0134034753, 0.0250962768, -0.0391133502, -0.0326248072, 0.0219442584, -0.0687503442, -0.0444497056, 0.063739337, 0.0508031212, 0.0342968106, -0.0189112369, 0.0320740566, -0.0703986958, 0.0382485352, 0.0527161025, -0.0508922897, 0.0581677258, 0.001497823, -0.0008997778, 0.0191399585, 0.0053706239, 0.0116499346, 0.0241488777, 0.0216234699, 0.016982913, -0.0862699971, -0.0095962109, 0.0298738591, 0.0583487414, 0.0516789369, 0.0247362219, 0.0043151765, 0.0024761814, 0.0166688114, -0.0390124992, -0.0013959535, -0.0492871888, -0.0053639812, 0.0237842984, 0.0702552497, -0.0396569483, -0.0110896705, 0.0349998586, 0.0273292456, -0.0311115626, 0.0207001809, 0.0182670783, 0.0859457701, 0.0212417822, -0.0338942856, 0.0086026909, 0.0233834274, 0.0036212278, 0.0718925595, 0.0080053331, 0.0055694431, 0.0112440567, -0.0063846637, -0.0580549613, 0.0351960585, -0.0629594699, -0.0692968965, -0.0426299497, 0.0145914694, -0.0280233566, 0.0337583199, -0.0237881057, -0.0578027256, -0.0107964789, -0.0399886705, -0.0021624202, 0.0179552175, -0.0063449955, 0.017662162, 0.0148088764, -0.0281940587, -0.0393741801, 0.0195345506, 0.0108718062, 0.0000714067, -0.0011786922, -0.0172396377, 0.008213033, -0.0041991039, -0.0164123736, 0.0237285718, 0.0003547783, 0.0209247656, -0.06827306, -0.0951078832, 0.0316501856, 0.0092371404, -0.0007293942, -0.037132252, 0.0527935401, 0.050894849, -0.0248754993, -0.0056634783, -0.0184649657, 0.017233016, -0.010071977, -0.0012366659, -0.047492981, -5.977336611e-33, -0.0360726789, -0.0360766016, -0.0075020152, 0.005707961, 0.0274063982, 0.0062419092, -0.0231173728, 0.0360584185, -0.0122046228, -0.0056740087, -0.0087116212, 0.0010485851, 0.0195599832, -0.0287499446, -0.0030537571, -0.0125579499, 0.0660839006, -0.0218838546, -0.0304376353, -0.0303501971, 0.0726213604, 0.0197158866, 0.0830788612, -0.0399660133, 0.0128448196, 0.0306621566, 0.021260716, 0.015031551, 0.0213473216, 0.0216312837, -0.0087708337, 0.070616588, -0.0045782025, -0.0717360303, -0.0546348318, 0.0144165689, 0.0011437605, -0.083509393, 0.0447119027, 0.0420123972, 0.0739324763, -0.0164492279, 0.0152130323, -0.0379820131, -0.0625203103, 0.008582375, 0.0219993703, -0.03419476, -0.0156352371, -0.0065500969, -0.0182530843, 0.0039793737, 0.0485952944, 0.0380683765, 0.0565039888, -0.0408871397, -0.0188221782, -0.0411380902, -0.0492285825, 0.0439024493, 0.0332783014, 0.080688253, 0.0080414126, 0.0285377968, -0.0003635745, 0.0255001821, 0.0900259018, -0.0013923735, -0.0510118604, 0.0312371925, 0.054849498, 0.0084428955, 0.0689434782, 0.025276104, 0.0911129788, -0.0187565144, -0.0573941469, -0.0028493407, 0.0278396457, -0.0146939801, 0.0266265273, 0.0105503798, -0.0641384125, -0.0163468551, -0.0065027955, 0.0196808614, -0.0398058519, 0.0033382198, -0.0315387137, -0.0348212793, 0.0143987685, 0.0275475234, 0.0169262234, -0.0438616574, -0.007544131, -0.0234293509, 0.009174983, 0.0478053764, -0.0050396565, -0.0073676948, -0.0649630651, -0.0464759208, -0.0153404055, 0.0110721439, 0.0246180855, 0.0147650028, -0.0155075761, 0.046891585, -0.0601693578, -0.0189259965, -0.0376010165, -0.0629976615, 0.0512739345, 0.0171948727, 0.0081152236, -0.0096988594, 0.0061319061, -0.04314401, -0.0021567191, -0.0015830778, -0.0163780637, 0.0911074728, -0.0223485269, 0.0369928405, -0.021196058, -0.0758011639, -0.0466804057, 0.0050163222, 0.0547405407, -0.0399618633, -0.0111845369, 0.0046573649, 2.947e-7, -0.0141493576, 0.0265054666, 0.0028440107, -0.0050171427, 0.0226928033, 0.0250134338, 0.019311389, 0.0292325504, 0.0209968705, -0.0522732362, -0.0007265681, -0.0138788745, -0.0307384729, 0.0642705113, -0.0311908368, -0.0238328613, -0.0254805796, 0.0343190134, -0.0393807441, 0.0056396658, -0.0339484178, 0.1134022027, 0.0575042516, 0.0193344094, 0.0131608369, -0.0361869372, 0.0403129682, -0.0385577977, -0.0054506366, 0.0340349078, 0.0215957835, 0.0317663662, -0.0095208138, 0.0055138157, -0.0041005947, 0.0475273542, 0.0522594601, 0.0490050875, 0.0232731719, 0.0287724305, -0.0193333384, -0.0059760441, -0.0352162942, -0.0131598683, 0.0264689457, -0.0103911618, -0.0601792932, -0.0070701204, -0.0079485215, -0.018242944, -0.0087265931, -0.0208718814, 0.0023265237, -0.0086003831, 0.0175392609, 0.0146397837, 0.0431224592, -0.0224134214, -0.0265283678, -0.0094836662, -0.0765154138, -0.1101588085, -0.049270153, 0.0074909809, 0.0103855794, -0.0097189378, 0.0022633253, 3.075149701e-34, 0.04773698, -0.0087653976, 0.0063660988, 0.0008160634, -0.0024814149, -0.0045996336, -0.0064941607, 0.0342747159, 0.0623094924, -0.0585689954, -0.032366436 ]
http://arxiv.org/abs/2310.06202v3
http://arxiv.org/pdf/2310.06202v3
GPT-who: An Information Density-based Machine-Generated Text Detector
2023-10-09T23:06:05
2024-04-03T18:59:10
Saranya Venkatraman, Adaku Uchendu, Dongwon Lee
cs.CL
cs.CL
The Uniform Information Density (UID) principle posits that humans prefer to spread information evenly during language production. We examine if this UID principle can help capture differences between Large Language Models (LLMs)-generated and human-generated texts. We propose GPT-who, the first psycholinguistically-inspired domain-agnostic statistical detector. This detector employs UID-based features to model the unique statistical signature of each LLM and human author for accurate detection. We evaluate our method using 4 large-scale benchmark datasets and find that GPT-who outperforms state-of-the-art detectors (both statistical- & non-statistical) such as GLTR, GPTZero, DetectGPT, OpenAI detector, and ZeroGPT by over $20$% across domains. In addition to better performance, it is computationally inexpensive and utilizes an interpretable representation of text articles. We find that GPT-who can distinguish texts generated by very sophisticated LLMs, even when the overlying text is indiscernible. UID-based measures for all datasets and code are available at https://github.com/saranya-venkatraman/gpt-who.
[ 0.035031274, 0.0494205914, -0.0246271081, 0.0495750345, -0.0513927862, 0.02435093, 0.0034397759, 0.0632936209, 0.0148415184, -0.0376712158, -0.0284988508, -0.0413998105, 0.0083148843, 0.0285396595, 0.0288277622, -0.0270834994, 0.0225829612, -0.0138687426, 0.0351182297, 0.0213256814, 0.0334302709, 0.0212131031, 0.008065016, 0.0168273505, 0.006985995, -0.031316068, 0.0092737125, 0.0192939378, 0.0398014709, -0.0213738531, -0.0143492781, 0.0752703696, 0.0117648719, 0.0760039762, 0.0000021319, -0.0363838896, -0.0052368827, -0.0193221234, 0.0121737644, 0.007037756, 0.0733207166, -0.039003469, -0.039139282, 0.0203929823, -0.0161437336, 0.0051294463, 0.0345264636, 0.0818783566, -0.0212647393, 0.0946995392, -0.0381298363, 0.0079099489, 0.0656504035, 0.0157304183, 0.0085930992, -0.0120321689, 0.0200723279, -0.0177797526, -0.039158538, 0.0086183446, 0.0124301827, 0.0185648222, 0.0110293915, 0.0021692647, -0.0329785198, 0.0262759626, -0.0218657348, 0.0175916571, -0.0292170364, 0.0467325635, -0.0194053948, -0.0531409644, 0.0402832441, -0.0233601909, -0.0015701526, -0.0074477391, 0.0158560965, 0.033348076, -0.0431795232, 0.0260792561, 0.0284463745, 0.0342900008, 0.0134632634, 0.0199866146, -0.0019788817, 0.0426731482, 0.0201245584, -0.033250533, 0.0131373033, 0.0201463941, -0.032790672, -0.0420707203, 0.0434547961, -0.0059111528, 0.0059729004, -0.0206452813, -0.0779636875, -0.0455034003, 0.0196861383, -0.0313667282, -0.0066108541, -0.0004303649, -0.0394294634, 0.0158706084, -0.0118529135, 0.0813439265, -0.0320437253, 0.0086886873, 0.0081457011, 0.0058240881, -0.0218217243, -0.0209777746, 0.0034579549, 0.011584172, 0.0096276347, -0.0213076081, -0.0404095687, 0.0369560197, 0.0231823232, -0.0421663709, -0.0111093698, -0.0324405506, -0.0227721557, -0.0052413214, 0.0293460544, -0.004956306, -0.01371729, 0.0062541058, -0.0270910207, -0.0376673155, -0.0082429983, 0.0994839221, 0.0228956304, -0.0013745147, 0.0071134232, 0.0286868643, -0.0121997502, -0.0751146451, -0.0436437428, -0.0309752319, -0.0230352934, -0.0451614559, -0.0261735171, -0.0693823397, -0.0127939982, -0.0076889959, -0.0123294098, -0.0853251591, -0.0206145905, 0.0368135013, -0.0138747115, 0.0308563057, -0.0412863828, 0.0207664166, 0.0279497094, -0.0010990114, 0.0248508286, 0.0780325979, 0.0323745273, 0.0261751022, 0.0539679863, 0.0046936888, 0.041205924, 0.0589967407, -0.0176287685, 0.0447987542, 0.0080407122, -0.0605602786, -0.040097367, -0.0058772061, 0.0507324338, 0.0532357767, -0.0107875848, -0.0200499259, 0.078284964, 0.0831761062, -0.0468625128, 0.0088368151, 0.0552315898, 0.0905617028, -0.0058372896, 0.0548123978, 0.0101665836, -0.0123406993, -0.0644411594, -0.0099822432, 0.0235663112, 0.0132375956, 0.0021521179, -0.006262905, -0.012447604, -0.0167995971, -0.0170086157, -0.0277209114, 0.038155809, -0.0069560464, -0.024578996, 0.0025229915, 0.0068068933, -0.0534186177, -0.0025584234, -0.0481690243, 0.0458229445, 0.0537733696, 0.0477018505, -0.003214956, 0.0790840089, -0.0178258382, -0.0065179723, 0.087794967, -0.0120045701, 0.0201527514, 0.0151614305, -0.0357953459, -0.0075003058, 0.0378172286, 0.0205033366, 0.0254381206, 0.046930097, 0.0533089004, 0.0251928642, -0.0456810705, -0.0194213521, 0.0438623913, -0.027016703, -0.0196298379, 0.0056509003, -0.0145355109, 0.032270249, 0.0176683236, -0.0421556644, -0.0106900176, -0.0107209813, -0.0491719767, -0.0200731717, -0.0053423853, 0.0080301696, 0.0064300573, -0.0061512012, -0.0092475973, -0.0169987101, 0.0193606317, -0.0059614358, -0.022757696, -0.004711431, -0.0353603363, 0.0145892976, -0.0655164346, 0.0085609527, -0.0168369487, 0.0531270057, -0.032970652, 0.0713685751, -0.0060114372, -0.0075532529, 0.0218969602, 0.0004116144, 0.0541308597, -0.0518092699, 0.0100224167, -0.006530562, -0.0227939952, 0.0218625776, 0.027866248, 0.0216902923, 0.0007483796, -0.0414038077, -0.1014596596, 0.0169951655, -0.0356353968, 0.0112437801, 0.0580241084, -0.0078885537, -0.0419340879, 0.0181011707, -0.0273757782, -0.0232259706, 0.0280881245, -0.0083956327, 0.0253652111, -0.0450897552, 0.0129741738, -0.0192156732, 0.0184817091, -0.0388687104, 0.0117917247, 0.0370978974, -0.0674193874, -0.0856856704, 0.0570356511, 0.0023246878, 0.0017015282, 0.0125499265, -0.039583493, 0.0003655359, -0.0200894214, 0.0624100864, 0.0610652342, 0.0322892368, 0.0191587526, 0.0191192366, 0.0058045113, -0.0298607666, -0.0171021782, 0.007364064, 0.0264575779, -0.0115472032, -0.0622366667, 0.0833055303, 0.0579948686, 0.0525485277, -0.0009354132, -0.0267944131, 0.001729961, -0.0330773853, -0.0403793193, 0.0040643574, -0.0257782806, -0.0381153859, 0.0321728513, -0.0139368847, -0.0510118604, 0.051301185, -0.0536157936, 0.0302828141, -0.0618396215, -0.0382732861, -0.0370600224, 0.0162914824, 0.0226210728, 0.028967673, 0.0165764224, -0.0378052481, -0.0242407732, 0.0166792348, 0.0177951083, -0.0038057507, -0.0019286238, -0.0450147614, 0.0006681384, 0.0016674356, -0.0249526538, -0.0247200392, -0.0754901916, -0.0224128235, -0.0341526754, 0.0444978476, -0.0833361372, 0.0105153127, -0.008398856, 0.0312390681, 0.0401638038, -0.0174330492, -0.0149124833, -0.0297788884, 0.0472094268, 0.0619348511, -0.0393038802, 0.0322447121, -0.037938524, 0.0032052461, 0.0594356842, -0.0124376733, 0.0277942494, -0.0006836854, -0.0127908299, 0.0153241605, 0.0031805404, -0.0330301113, 0.0322935842, 0.0615834817, -0.021543052, 0.0190284438, 0.1352672577, 0.0142133851, -0.0923247859, -0.032233648, -0.016767364, 0.0641980693, -0.0149019966, 0.0076443739, -0.0758868679, -0.0488791801, 0.0080545954, 0.0022445377, -0.0617941208, -0.0113400193, -0.0157830399, -0.0402703993, 0.0340430364, 0.0037099328, -0.0319271386, -0.0066035073, -0.0077472455, -0.0077012042, 0.0165432487, -0.0245065968, -0.0229689479, -0.0142940292, 0.0062495428, -0.0125658689, -0.0653232858, -0.0592947192, -0.0011135176, -0.044798281, 0.0097648446, 0.0906770006, 0.0485940129, -0.035280101, -0.0408665799, 0.0005252409, -0.0116917379, -0.0267436467, 0.0017140238, 0.1118747517, -0.0183846615, 0.003020843, -0.0680942088, 0.0434099697, -0.0350703783, -0.0163030401, 0.0389501899, 0.0223772097, -0.0197202414, -0.0497944541, -0.0065505109, 0.0052734055, 0.0087705571, 0.0987848863, 0.0194334835, -0.067107074, -0.0439133681, -0.0100272512, 0.0585166626, -0.0467770919, -0.0681481734, -0.014761324, -0.0095751882, -0.0753051788, -0.0939232707, -0.0330084525, -0.0184237547, -0.0049863821, 0.0392300002, 0.0325001255, -0.0132324118, -0.0201035812, -0.0333606862, -0.0398275927, -0.0460303463, 0.0020006031, -0.0993178487, 0.0208970048, 0.0209396929, -0.0341414735, 0.0100441137, 0.0608607717, -0.0567855947, -0.0503006987, -0.0156838875, -0.0398192629, 0.0187372323, 0.0112546813, -0.0293853413, -0.0679211691, 0.0603276566, 0.0226573665, -0.0191376898, 0.0415710211, -0.0085099172, -0.0367405415, -0.0046293228, 0.0154371867, -0.0087026609, 0.025821995, 0.009401137, -0.0372032113, -0.0438248254, -0.0214215964, 0.0201719441, 0.0274294112, 0.0346839465, -0.0194864664, 0.0310374796, -0.0402715206, -0.0363221504, 0.0020112244, 0.0187073648, -0.0483155586, 0.005348437, 0.0415949076, -0.0155976461, -0.0388515703, 0.0422306135, -0.0143966787, 0.006839165, -0.0215096902, -0.0060544573, -0.0231072083, 0.0691647008, 0.0026180719, -0.0066366298, 0.0094022518, 0.0250497721, -0.0121431332, 0.0456711426, 0.0129982382, 0.078744404, 0.0086875698, -0.0457587466, 0.0432717018, 0.0318025649, -0.0576153547, -0.0190338008, -0.0174321141, 0.0279032346, 0.0462460369, 0.0228134356, 0.0744649619, -0.0431206636, 0.0136189442, -0.0326157585, 0.0390654951, -0.014644932, -0.0013282353, -0.0250162687, 0.002506369, -0.0537600927, 0.004477792, 0.1110557169, 0.0335532017, -0.0076417858, 0.0061171446, -0.0565233566, -0.0225040559, 0.0037928238, 0.0146275964, 0.005138969, -0.0015243611, 0.0407018922, -0.0461834185, -0.0372156985, 0.0117230676, -0.0145632587, 0.0237019863, -0.0193647724, -0.0054532094, 0.0600018762, -0.0522324555, -0.0245179404, -0.0454630367, 0.0014851915, -0.0316513926, -0.037457522, -0.0253145117, -6.454266261e-33, -0.0144459298, -0.0414653979, -0.0289470535, 0.0262935814, 0.0175541826, 0.0182405617, -0.0215405263, 0.0051907739, 0.0148546817, 0.038683556, -0.0090592541, 0.0402763076, 0.0129196793, 0.0130789066, -0.0168215577, 0.0066736066, 0.0324074887, -0.0160697922, -0.0309108961, 0.0300654341, 0.0507243574, -0.0115786055, 0.0579597168, -0.0937119275, 0.0091632893, -0.0216807555, -0.014949142, -0.0176746603, -0.0108655691, 0.0247715171, -0.0323848836, 0.0417840444, 0.0294911955, 0.0247464441, -0.0248495787, 0.0474266186, -0.0396488793, -0.0277912878, -0.0016821882, 0.0155937737, -0.0067680855, -0.0625756606, 0.027565483, -0.049671907, -0.008506475, 0.0183302294, 0.0650918111, -0.0091147255, 0.0203450099, -0.0434131883, -0.0612991191, 0.054516267, -0.0016239701, 0.0376246534, 0.0350887738, 0.0306800101, -0.0131978802, 0.0061510364, -0.0745419562, 0.0144081116, 0.0064629614, 0.0268245693, -0.0014095502, 0.0029460669, -0.0170494057, 0.0641948208, 0.0302002542, -0.0098700961, 0.0063028433, -0.0333020091, 0.0187995005, -0.0092658419, 0.0523449257, 0.0884635672, 0.0231214501, -0.0287169293, -0.0303282086, 0.0392248482, 0.0087542329, -0.041651044, 0.0428357273, -0.0087453788, -0.0938613489, -0.0282333326, 0.018136967, -0.052485887, -0.0281957295, -0.0357217528, 0.0570219569, -0.0093679707, -0.0125376554, -0.0288139898, 0.0358831771, -0.0421001539, -0.0007842055, 0.0185047612, -0.0463516228, 0.04107669, 0.0211917441, 0.0039525582, -0.0257905908, -0.0151042407, 0.0159634873, 0.0360722281, 0.028922081, -0.0040528025, 0.0397414602, 0.0314868577, -0.0491466448, 0.0088197663, 0.0078157978, 0.0249674283, 0.0017895784, 0.0044825682, -0.0111099835, -0.0134430919, -0.0063109924, -0.0056465343, 0.0437443852, -0.0211862996, -0.0418357253, -0.013316337, -0.0509296544, 0.0360915326, -0.0468343236, -0.006406182, -0.0110160718, -0.011839292, 0.0515484177, -0.0515549816, 0.0208330117, -0.0110070184, 2.765e-7, 0.0187715217, 0.028248908, 0.0337981395, -0.0190248191, 0.0060267826, 0.0449109487, 0.032121323, 0.0273232162, 0.0046349163, -0.0191971138, -0.0109574031, 0.0210208129, 0.0647279769, -0.0058397949, -0.1128938645, 0.0257713161, -0.0262449495, 0.0183439814, -0.0739151761, 0.0056376378, 0.0600045137, 0.0427482389, 0.0271127727, -0.0217108987, 0.0288338847, -0.0583975054, 0.0585379228, -0.0304551627, 0.0285409447, 0.0378602445, 0.0563422143, -0.005235963, 0.0130190151, 0.04081342, -0.0283434037, -0.0007629981, 0.0068742512, 0.0629202127, 0.0082537234, 0.016275296, -0.0010734878, -0.012492273, -0.0061192978, -0.0466394238, 0.0687345117, 0.0169422161, -0.0453714579, 0.0053679855, -0.0062689758, -0.0781399831, 0.0095368279, -0.0191697478, -0.0178919509, 0.0213993397, 0.0081601404, -0.0138713764, -0.0186210405, -0.0341908, -0.0131480126, -0.0177391563, -0.0279841479, 0.0213933792, -0.0646627098, -0.0082978206, 0.0244471598, -0.0705667809, 0.0443158261, 2.86512789e-34, 0.0202277415, -0.0012550765, 0.0126502048, 0.008470091, 0.0484914817, 0.0345957279, -0.005710932, 0.0193478782, -0.0076294052, -0.0420584269, 0.042428676 ]
http://arxiv.org/abs/2310.06201v1
http://arxiv.org/pdf/2310.06201v1
Compressing Context to Enhance Inference Efficiency of Large Language Models
2023-10-09T23:03:24
2023-10-09T23:03:24
Yucheng Li, Bo Dong, Chenghua Lin, Frank Guerin
cs.CL
cs.CL
Large language models (LLMs) achieved remarkable performance across various tasks. However, they face challenges in managing long documents and extended conversations, due to significantly increased computational requirements, both in memory and inference time, and potential context truncation when the input exceeds the LLM's fixed context length. This paper proposes a method called Selective Context that enhances the inference efficiency of LLMs by identifying and pruning redundancy in the input context to make the input more compact. We test our approach using common data sources requiring long context processing: arXiv papers, news articles, and long conversations, on tasks of summarisation, question answering, and response generation. Experimental results show that Selective Context significantly reduces memory cost and decreases generation latency while maintaining comparable performance compared to that achieved when full context is used. Specifically, we achieve a 50\% reduction in context cost, resulting in a 36\% reduction in inference memory usage and a 32\% reduction in inference time, while observing only a minor drop of .023 in BERTscore and .038 in faithfulness on four downstream applications, indicating that our method strikes a good balance between efficiency and performance.
[ 0.0300059263, 0.0671860129, 0.0088254986, 0.0533358119, -0.0419689678, -0.0053631337, 0.0116855465, 0.0042768219, -0.0182767212, -0.0450013317, -0.0151967015, -0.0335296914, 0.006612082, -0.020695826, -0.0033954899, -0.0459515825, 0.0448033661, -0.0486541055, 0.0062163062, -0.023572607, -0.004140215, 0.0023407126, 0.0373424999, 0.0217674822, 0.0239396635, -0.0115986578, -0.0198180396, -0.0003443051, -0.0074637327, -0.0036763269, 0.0011735519, 0.0517898127, 0.0284837522, 0.0389964841, 0.0000019567, -0.0561999902, -0.020230636, 0.0032230695, -0.0107105672, 0.0521473251, 0.0352112986, -0.0300785303, 0.0077823941, 0.0313149802, -0.0035147441, 0.0125464331, 0.0327239037, 0.0189900901, 0.0353457294, 0.0558617786, -0.0123286443, -0.0377533957, 0.0210513398, -0.0267601367, 0.022558447, -0.072180137, 0.0272634551, 0.0097644655, 0.024815375, 0.0268429164, 0.0049825972, 0.046718955, 0.0302380174, -0.0007976393, -0.0291256923, 0.0518691577, -0.0559098199, -0.0016871438, 0.0151856318, 0.0394497067, 0.016624311, -0.0205825083, 0.0321624279, 0.0139767434, -0.0181695353, 0.0113581354, -0.06551902, 0.0394877344, -0.0310848691, 0.0101959435, 0.0413292721, -0.0003488655, 0.015455028, 0.04029328, -0.0652484298, 0.0368722752, 0.0441935882, -0.0182680432, -0.0504701771, -0.0032652318, -0.0550312623, -0.0674882904, 0.0062045194, 0.0425081253, -0.0245250873, 0.0267662629, -0.0918047503, -0.0371402986, 0.0543006025, -0.0583435856, -0.0279966183, 0.0483173765, 0.0023055519, 0.0717011094, -0.008826944, 0.0241510477, -0.0429876745, -0.0540555604, -0.0458428487, -0.0466826558, -0.0040302319, -0.0047087939, -0.0449565314, 0.0395682752, -0.0518649183, -0.0597340167, -0.0327479467, 0.0616927892, 0.0247194655, -0.0119530717, 0.001320673, -0.0064405901, -0.0354040861, 0.0080899457, 0.0131879244, 0.0345556736, -0.0440455861, -0.0006690183, -0.0065604053, -0.0567438267, -0.0128300823, 0.0212168489, 0.0155757228, -0.0518315062, -0.00464326, 0.0444854498, 0.0087760333, -0.0347899161, -0.017604718, -0.0344909243, -0.0150622725, -0.0680121481, -0.0105896723, -0.0737276524, 0.0329979956, 0.0466381162, -0.0260339249, -0.0053998986, -0.0099267922, 0.0350012854, -0.0538182147, 0.042123802, 0.0071261441, 0.0094920481, 0.0429613255, 0.0085080862, 0.0248679221, 0.0839206725, 0.0146762067, 0.007351961, 0.0358990803, 0.00617105, -0.032701809, 0.0352040902, 0.0454356931, 0.0159285367, -0.0216461122, 0.026417993, -0.010339682, 0.0044826707, 0.0384593904, 0.0756577849, -0.0402977541, -0.0080821617, 0.0365597643, 0.0539184362, 0.0195628684, 0.0073148841, 0.0193536133, 0.0162493438, 0.0091792187, 0.0298804343, -0.0430702716, 0.0218313616, -0.0336171091, 0.0439229384, 0.087782234, 0.0136752967, -0.0355762281, 0.0058488054, -0.0443452336, -0.0004899896, 0.0002577016, 0.0139831528, 0.0465123169, -0.0192177184, -0.0298786964, 0.0779410377, 0.0287633352, -0.0563376136, -0.0288774576, -0.0344675705, 0.0415062532, 0.0482881069, 0.0482268222, -0.0351275019, -0.0209290162, 0.0246066507, 0.0313130654, 0.0319817513, 0.0455293581, -0.0043656221, 0.0073581371, -0.0480026454, -0.0081459042, -0.0035300106, 0.0115901409, -0.0009691147, 0.0734491125, 0.0063232104, 0.0396764316, -0.0213529244, 0.0195546523, 0.0226329044, -0.0610099249, -0.0143377576, -0.0123883635, -0.0187632069, 0.0477524102, -0.0022706208, -0.0036550444, 0.0251240879, 0.0507557429, -0.0317766219, 0.0011372134, 0.0084896414, -0.0801453516, -0.0409151018, 0.0296705123, 0.0035095329, 0.011521739, -0.0103251813, -0.017060481, -0.040959809, 0.0138735892, -0.0513160862, 0.0670231059, -0.0365115739, 0.0125996601, 0.0029115763, 0.01631191, -0.0220003463, 0.0749183074, -0.018002836, 0.0241940562, 0.0791953355, 0.0301837754, -0.0021268944, -0.0438665152, -0.029558843, 0.005298953, 0.0132084629, -0.0096830036, 0.0402318873, -0.0081965048, -0.0066679618, -0.0234106947, -0.1228502989, 0.0261726808, -0.0199475642, 0.0215856675, 0.0316365473, 0.0547807887, 0.0067841443, 0.0091002649, -0.0200426169, -0.0128077073, 0.0240832549, 0.044778686, 0.0171024036, 0.0085310666, -0.0080036679, -0.0436780341, -0.0329899527, -0.0110658957, 0.070218645, -0.006920828, -0.0446531959, -0.0331124365, 0.0570748597, -0.011248542, 0.0325896852, -0.0244059209, 0.000570524, -0.0126115028, -0.047870528, 0.0682196841, 0.0448239148, 0.0245849602, 0.0235793777, 0.0244320184, -0.0023895367, -0.0449508056, 0.0063622436, -0.0223845989, -0.0090396609, -0.0137378937, -0.017865343, -0.0026769836, 0.0610650964, -0.0162458476, 0.0010895543, -0.0233869758, -0.0045825816, 0.0090720681, 0.0064958627, -0.0128771886, -0.0296885837, 0.0005669513, 0.0422303602, -0.0084070973, -0.0279256999, 0.0602481663, -0.0545138083, 0.0182516631, -0.0491130985, -0.003652208, -0.0531138517, 0.0649441779, -0.0137927178, 0.022010535, -0.0258564856, -0.0003825267, -0.0381952859, 0.0030854403, -0.0035278383, -0.0332966, 0.05731114, -0.0609801039, 0.0584685914, -0.0364063345, -0.0330380276, -0.0338091142, -0.0192597285, -0.0217885077, 0.0274982005, 0.0316509828, -0.0237210952, -0.022155432, 0.0494172461, 0.0159359518, 0.0747823492, -0.0326682329, 0.0110032083, -0.0107349837, 0.0719581023, 0.0530267023, 0.0139022684, 0.0281408224, -0.0435525551, 0.0275835097, 0.0687858015, 0.0438212343, 0.0131742191, -0.0125290751, -0.0365971178, 0.0075598778, -0.0245463662, -0.0188958645, 0.0032656733, 0.0594047643, -0.069679901, -0.0293744225, 0.1206638068, 0.0305322763, -0.0574236959, -0.0241863001, -0.0016534842, 0.0339692533, 0.0077365101, 0.0301199183, -0.09733513, -0.0375853255, 0.0176311843, 0.0024736288, 0.0124165881, -0.0236725789, -0.0093653072, -0.1096595749, 0.0133174602, -0.0080277491, -0.048054412, -0.0148978364, -0.0564314723, 0.0091070794, 0.0230072886, 0.0175873488, 0.0350763574, -0.0198821053, -0.0114118112, -0.0032637815, -0.0022440185, -0.054814402, 0.0052109887, -0.0025944444, 0.0258205794, 0.0047225459, 0.0215534624, 0.0167950019, 0.0092463447, 0.0643812865, -0.041341424, -0.0182001274, -0.039814312, 0.0406584367, -0.0051599238, 0.0140181035, -0.0117035098, 0.0311865192, -0.0041475897, -0.0232205186, 0.0062244921, 0.0527850427, -0.0170834437, -0.0113643538, -0.0562078729, -0.0006710893, -0.0090061314, 0.1072218865, 0.0262775142, -0.0186549854, -0.0548807792, 0.0089653125, -0.0302241407, -0.0318723433, 0.0257514138, -0.0194041878, -0.0233368501, -0.0281805135, -0.0536238849, -0.0091866888, 0.0297804829, 0.0042003007, -0.0265306924, 0.0200662464, 0.007554465, 0.0023099862, -0.0668374971, 0.0030796023, -0.0167886447, 0.0037567697, -0.0313954018, 0.0156388078, 0.0435746647, -0.0000605901, -0.0153945321, 0.0469485633, -0.1083555222, -0.0719191507, -0.0207668915, 0.0018071744, 0.0276065916, 0.0645554736, 0.0006414014, -0.0375709198, 0.0366781913, 0.0399933495, -0.0262886249, 0.0457985997, 0.0035769478, 0.037894588, 0.0126689542, 0.0343688503, -0.057896968, 0.0105536152, -0.0313302837, 0.0429165736, -0.0371464342, -0.0545130707, -0.0110294335, 0.0311828665, -0.0250292942, -0.0084406026, 0.0161536615, 0.0173328966, 0.0300171301, -0.0449855588, -0.0196779221, -0.0341202244, 0.0211626738, -0.0215799604, -0.0093239238, 0.0072016991, 0.0272850581, 0.0134314056, 0.014703284, -0.0343397595, -0.0029245371, -0.0025062887, -0.0218605362, 0.0377768837, -0.0185036454, -0.0399170928, -0.0299857389, -0.0139751881, 0.0369007178, -0.0693874881, 0.0289552771, 0.0280499309, -0.014332748, -0.0232320167, 0.0168579463, -0.1184593067, -0.0362746269, -0.0084817307, 0.0552667826, 0.025876116, -0.0173773766, 0.0647823364, -0.0316203721, -0.0202772301, -0.0362125151, 0.0323780328, 0.0471574478, -0.0062049939, 0.0230322685, 0.0370617583, -0.0175961666, 0.0192019772, 0.0934493467, 0.0245273057, 0.0240631253, -0.0058582611, -0.0241392329, -0.0291104428, -0.033984866, -0.0322894379, 0.0404763632, -0.0215044692, -0.0066867233, -0.0460525751, -0.0500292704, 0.0025105434, -0.0030910166, -0.0070997789, -0.0343901217, 0.0281470269, 0.0698018596, 0.026649734, -0.0186503027, -0.0247996859, 0.0568740256, -0.0335742235, -0.0231227893, -0.0214357078, -6.366808012e-33, -0.0244740564, -0.016989883, 0.0158486273, -0.0327691734, -0.0258186925, 0.0389444306, -0.0700760633, -0.0349707864, -0.0055501778, -0.026364306, -0.0308551081, 0.0273060258, 0.0027019819, 0.0337187797, -0.0319777876, 0.0025011513, 0.0377349183, 0.0124100596, -0.0045535797, 0.0496114232, 0.0412666835, 0.0142523358, 0.010673603, -0.0421344377, -0.0212686546, -0.0176586267, 0.0320178047, -0.0006005975, 0.0242251009, 0.0472977422, -0.0469285138, 0.0105261123, 0.0191025417, -0.0465257727, -0.012978103, 0.0500459373, -0.0820478126, -0.0056891972, 0.0354482941, -0.0361739658, -0.0333122574, -0.0351301171, 0.0398860462, 0.0123905037, 0.0176511128, -0.0289663989, 0.0126603199, -0.0213242508, -0.062883772, -0.0527702309, -0.0573073812, 0.0337749533, 0.0117922863, 0.0003704992, 0.024070533, 0.0314743146, -0.0049005025, 0.0780387074, -0.007676431, 0.0041334694, 0.0058827372, 0.0548046902, 0.0488020964, 0.0053208414, 0.0297444724, 0.0372024626, -0.0011313768, -0.0086167781, -0.0272258539, -0.0278511234, 0.0202598535, 0.032389611, 0.0069014863, 0.0251972694, 0.0467229784, 0.0034437254, -0.0844153687, 0.0146750994, 0.0330482386, 0.0304435324, 0.060897056, 0.0025824851, -0.0043077264, -0.0278030243, -0.0203895643, 0.0196573008, -0.0248619709, 0.0017602786, 0.0142572168, 0.0116318092, -0.0368519649, -0.0077629667, 0.0590735525, -0.0567185059, -0.0406727307, 0.0630253926, -0.0142308082, 0.0014068885, -0.0043423856, 0.0344596468, -0.0258449968, -0.0187032241, 0.0052872081, 0.0028955315, -0.0134133603, 0.0150119942, 0.02524052, -0.0084632002, -0.0578178167, -0.0131188864, -0.0498069786, 0.0009895614, -0.0500280112, 0.0332942456, 0.0242517348, 0.0307268985, 0.0334305316, 0.0610042028, 0.0274751019, 0.0204665642, -0.0335309952, -0.048256401, 0.0102544064, 0.0296680108, -0.0272262692, -0.0077973618, -0.0332861096, 0.0477480032, 0.0264456104, -0.064511165, -0.0196311362, 0.0316063575, 2.668e-7, 0.048180446, 0.0395946093, 0.04229201, 0.0113262646, 0.032174319, -0.0076197991, 0.020808924, 0.0202493723, 0.0040098135, 0.0176557414, 0.0041848659, 0.0279994421, 0.0332514904, 0.0337979123, -0.1046773195, -0.0217900872, -0.1109086871, -0.0335118137, -0.0508838557, 0.0056828149, 0.0333742239, 0.1085238531, -0.0283220857, -0.0190931484, 0.0085416222, -0.0312856287, 0.057959348, -0.016982235, -0.0212932955, 0.0255618468, -0.0054801498, 0.0122732846, 0.0111367106, -0.0157079715, -0.0020443106, 0.0065159295, -0.0258893948, 0.0843105242, 0.0159389302, -0.0179784782, 0.0261010174, -0.0626373067, 0.0056034154, -0.0341730304, 0.0820423961, -0.0443322994, -0.0038210277, -0.0560052618, -0.0069007175, -0.0230365787, -0.0141691379, 0.0201141909, -0.0209886823, 0.0287497137, -0.0008726876, -0.0262268726, 0.0046554115, -0.1018613577, -0.0434185416, 0.0066834306, -0.0745818913, -0.0612843558, -0.0390709564, -0.0321020298, 0.0356687419, -0.0629043281, 0.0069774874, 2.951656672e-34, 0.0605955832, -0.0042040586, -0.0315417759, 0.0573218018, 0.0098868236, -0.0260648672, 0.003284428, 0.0186747871, 0.0172734596, -0.1049062535, -0.0294946767 ]
http://arxiv.org/abs/2310.06200v2
http://arxiv.org/pdf/2310.06200v2
The Importance of Prompt Tuning for Automated Neuron Explanations
2023-10-09T23:02:07
2023-10-11T05:00:10
Justin Lee, Tuomas Oikarinen, Arjun Chatha, Keng-Chi Chang, Yilan Chen, Tsui-Wei Weng
cs.CL
cs.CL, cs.LG
Recent advances have greatly increased the capabilities of large language models (LLMs), but our understanding of the models and their safety has not progressed as fast. In this paper we aim to understand LLMs deeper by studying their individual neurons. We build upon previous work showing large language models such as GPT-4 can be useful in explaining what each neuron in a language model does. Specifically, we analyze the effect of the prompt used to generate explanations and show that reformatting the explanation prompt in a more natural way can significantly improve neuron explanation quality and greatly reduce computational cost. We demonstrate the effects of our new prompts in three different ways, incorporating both automated and human evaluations.
[ 0.0082560042, 0.0301512685, -0.0158106051, 0.0363287367, -0.0100152958, 0.0204073247, 0.0605838001, -0.0422646143, -0.0445208438, 0.0066005802, 0.0042296471, -0.0375924408, 0.0231845677, 0.0346199945, 0.063933529, -0.0370126292, 0.0563024506, -0.0647682846, 0.0031358686, -0.013336095, -0.0085429456, 0.0347741619, -0.0093413303, 0.0507237054, 0.0282466095, -0.0294078737, -0.0433193147, -0.0085466113, -0.0161261, -0.0078834696, -0.0242761727, 0.0358738787, 0.0333159789, 0.0652112067, 0.000002103, -0.0070159696, 0.0351391435, 0.0055085742, -0.0638614446, 0.0762436613, 0.0021127623, -0.009957944, 0.0082946494, 0.0097872568, 0.0218267143, -0.0159430057, 0.0913213044, 0.0144606149, 0.0581857413, 0.0627866983, 0.0260121897, -0.0382893793, 0.0106181046, -0.0307200365, 0.0495754704, -0.0364217684, 0.0161740314, -0.0306396987, 0.0154725378, 0.010150508, -0.0144380173, 0.0243480243, 0.0561840124, -0.0383468643, 0.0086716088, 0.0404320173, 0.0196742918, -0.0589981712, -0.033376541, 0.0298663806, -0.019540811, -0.0132331597, -0.0162103958, -0.0153196575, -0.0098697115, -0.0348032005, -0.0694542974, 0.0165784061, 0.0024967659, 0.0212358721, 0.0090044858, -0.0247915816, 0.0737912729, 0.0202984381, -0.0132523058, 0.0607459806, 0.0148831233, 0.0166403148, -0.044889722, -0.0057024607, -0.0213759821, -0.0433777347, 0.0210701674, 0.0666705519, -0.0283668283, 0.0118736429, 0.0114669548, 0.0152486861, 0.0149645023, -0.0016349122, 0.0663247332, 0.0578368679, -0.0145071298, 0.0150636882, -0.0011008979, 0.0533669107, -0.0187347773, 0.037609376, -0.00879448, 0.0165994409, -0.0455207638, -0.0431614444, -0.0051469761, -0.0211312305, -0.0361095741, -0.0210160539, 0.0002009505, 0.0367890932, 0.0206291266, -0.0248987842, 0.0095570264, 0.0076085222, -0.035557501, -0.0113915419, -0.0538981929, 0.038209226, -0.0672564283, -0.0203031246, 0.0302257091, -0.0558601655, -0.0579389222, 0.0120891202, -0.012915764, -0.0311359987, 0.00304452, 0.058262188, -0.0094628939, -0.013574508, -0.0291847941, 0.0008645855, -0.0256653354, -0.046445936, -0.0162301715, -0.0397774316, 0.0265155416, -0.002383033, -0.0467693657, -0.0290296841, 0.0055984207, 0.0136146797, -0.0540785044, 0.0584294945, -0.0834359825, 0.0323379263, 0.0283591226, 0.0037901157, -0.0151423179, 0.008179225, 0.0117851971, 0.0163728204, 0.0042486112, -0.038869191, 0.0373983681, 0.008006515, 0.0182863623, -0.0149648357, -0.0319037177, -0.0368461125, -0.0110222716, 0.0617705397, 0.0559133776, 0.0545051843, -0.0380709656, 0.0085240649, 0.0754164457, 0.0551725738, -0.0152952895, 0.0163855311, 0.0548529886, -0.0079600587, 0.0181331336, 0.0223153811, -0.0837473199, 0.0538425371, -0.0205128528, 0.0249768198, 0.0107886065, 0.0163435433, -0.0380513854, -0.0535246097, -0.0108136721, 0.0206514858, 0.0209367722, 0.009960847, 0.0332589075, -0.0094724949, -0.0322008431, 0.0397785343, 0.0280789286, -0.0200302526, -0.0182727855, -0.1075760946, 0.0693661422, 0.0872658715, 0.0258720499, -0.0032874125, -0.0211865548, -0.0198497158, -0.0132378871, 0.0804530457, 0.047924675, 0.019593196, 0.0272230078, -0.0378141403, -0.0061521172, -0.05320004, 0.0256562196, 0.0209593698, 0.005654519, -0.0583109818, 0.0212646555, -0.0179082807, -0.0686667114, 0.0404816717, 0.0001212166, -0.0423568077, 0.0113926176, -0.0081856027, -0.0131168459, 0.0101432316, 0.0132406512, 0.0464073196, 0.0105570303, -0.0090773487, 0.0361520424, -0.0215061009, -0.0694610104, -0.0336462557, 0.0591053031, 0.0457802601, -0.0160838421, 0.023490781, -0.0355237909, -0.0524707735, 0.0124537451, -0.0514040962, 0.0338261724, -0.0566888303, -0.0122982068, -0.0077458578, 0.0160831232, -0.0278230123, 0.0545796044, 0.0257120952, -0.0053674728, 0.0162228644, 0.0265095271, -0.0006110208, -0.0419719256, -0.0242866538, 0.0073106065, -0.0208060313, 0.0121142669, -0.0074879425, 0.0110395532, -0.0056386604, 0.0159416199, -0.0399190709, -0.0068085021, -0.0111043379, -0.0054049138, 0.0226950888, -0.0157984961, -0.000564029, -0.0013597952, -0.0305464305, 0.013331526, 0.0030505643, 0.0114118569, 0.0590793379, 0.0045726891, -0.0780016854, -0.0557125062, -0.0382021479, -0.0293505955, 0.0664413348, 0.0151722077, -0.0214259494, -0.0726592615, 0.0072174156, -0.0170989912, -0.0119800111, -0.0092934929, -0.0673967823, 0.0543426499, -0.0076250355, -0.0141774016, 0.0645873994, 0.0050956416, 0.0664168373, 0.0539800785, 0.0120391054, -0.0208060127, -0.000650105, -0.0326526016, -0.0223234184, -0.0257397611, -0.0303773992, -0.0297455844, 0.10129904, 0.0157743711, -0.0189247206, -0.0504510365, 0.0183127429, 0.0136772795, 0.0030984962, -0.0419072062, -0.0433361307, -0.0391941667, 0.0751016587, -0.0238418728, -0.0699021891, 0.0912004262, -0.0512907729, -0.0088814683, -0.0112646995, -0.0259286761, -0.0015042257, 0.08758571, 0.0148081491, 0.030170029, 0.0342450477, -0.0161552299, -0.0191990826, -0.025043577, 0.0034921989, 0.0063461862, 0.0232723355, -0.0405489244, -0.0318469368, 0.0259290319, -0.0140681062, 0.0046829446, -0.0089642471, -0.0447083302, 0.0393266976, 0.0330683179, -0.0418142974, 0.009976388, 0.0072749471, 0.0583732724, 0.04436424, -0.0590261929, 0.0108775143, -0.0363630988, -0.0115772374, 0.0080472399, 0.0226343442, 0.0626399666, -0.0640047491, 0.0298475288, -0.0005254431, 0.0021869391, 0.0310660955, -0.0573236682, 0.0150356274, -0.0003858374, -0.0174968541, -0.0196181089, 0.0251374003, 0.0508901775, -0.0770930424, -0.000708131, 0.1290049404, 0.0260668267, -0.0720218197, 0.021270074, -0.0098013896, 0.0031020865, 0.0042849882, 0.0425720289, -0.0491277613, -0.0387744978, 0.0193658527, 0.0272968654, 0.0211283248, 0.0267246254, -0.0184049923, -0.071416609, 0.0315644443, 0.0243582297, -0.0400040336, -0.0333513096, -0.028724391, -0.037949495, 0.0135327885, 0.0452065282, 0.0632724836, 0.0221959557, 0.0194160473, 0.0041982578, -0.0107457191, -0.0383634456, 0.0399089605, -0.0212555863, 0.084121421, 0.0873324499, 0.0145353721, -0.0222312286, -0.0533427671, 0.0421703942, -0.0000615948, 0.0376901478, -0.0012460835, 0.045352038, 0.0402039364, -0.0389615223, -0.045745004, 0.0282171015, -0.0253326017, -0.0263883211, -0.0590539984, 0.0559921823, -0.0296394639, -0.0415489301, 0.0153762447, 0.0068830536, -0.0004026624, 0.0810671449, 0.088625811, -0.0358650908, -0.0691486001, -0.0465405956, -0.0182398781, -0.0442780554, -0.0411349423, 0.0013910596, 0.0619437508, -0.0400727391, -0.0055640666, -0.0180618688, 0.0314384736, 0.0031642984, -0.0023335621, -0.0219186991, -0.028973043, -0.0233586431, -0.024756968, 0.0679867715, 0.0263926294, 0.0243280921, -0.0754358321, -0.024509849, 0.0230170283, -0.0449456088, -0.0106039606, 0.0400912911, -0.0304519068, -0.0640257671, -0.0070713442, 0.0385503732, 0.0331470668, 0.0121132322, -0.0133620165, -0.0645059794, 0.0210472383, 0.0329523496, -0.0292217601, -0.0097203944, 0.0169233065, 0.0266564805, 0.0021506557, 0.029032249, 0.0025046575, 0.0017542472, 0.0128717413, 0.0339999497, -0.0030248908, -0.0183703545, 0.0325726122, 0.0286224205, 0.0646796674, -0.0173953827, -0.0051778844, -0.0248003732, -0.0064671673, 0.000586319, -0.0065247491, -0.0328908078, 0.0110175917, 0.0397497788, -0.032048516, 0.0035924029, -0.0464380905, 0.0159423333, 0.003874073, -0.0143056549, -0.0095237829, -0.0110501433, -0.0102746822, -0.0037608978, 0.0023897137, -0.0391729623, 0.0375740007, -0.0404477417, 0.0256878268, 0.0033630312, 0.0404148661, 0.0000975387, 0.0150406072, -0.0349531025, 0.0238429978, -0.0689087287, -0.0877192467, 0.008252006, 0.0075355717, 0.0086981431, 0.0192755405, 0.0562632047, -0.0120209865, -0.0221682712, 0.0000373457, 0.0434954055, 0.0266430937, -0.0184050612, 0.051165387, 0.0335271768, -0.0202185232, -0.0771749243, 0.0663229972, 0.0299785621, 0.0271726996, -0.001510567, 0.0014196753, 0.0133686392, -0.0230466668, -0.0112445494, -0.0003137194, -0.040822763, -0.0221101828, -0.0459683798, -0.0705971122, -0.0380281024, 0.031234853, -0.0042566108, -0.0255563688, 0.0231973808, 0.0485706627, -0.0004988224, -0.0342457183, 0.0045806142, 0.0170662086, -0.0055721095, -0.0001777126, -0.0097078113, -6.534805256e-33, -0.0433836058, -0.0393061675, 0.0256748199, -0.0072803213, -0.0003444972, -0.016734587, -0.0744538158, 0.0011196025, -0.0121250702, 0.0354456902, -0.0075057349, 0.0258054137, 0.0091012679, 0.0204981565, 0.0125849238, -0.0180091653, 0.0268383399, -0.0006144971, -0.0191189852, 0.0350325033, 0.0303200111, 0.0289588626, 0.0566006787, -0.0041258004, 0.0426298007, 0.036158815, -0.0556607172, 0.0280506946, -0.061360538, 0.0392758623, -0.0501235425, 0.0297731534, 0.0030564377, -0.0336106941, -0.0202473607, 0.0237586964, -0.022632964, -0.0088921189, 0.0548970886, -0.0221610237, -0.0532264449, -0.0627615973, 0.0376412421, -0.0355702154, -0.0015891371, -0.0049423575, -0.0060851094, -0.0370562486, -0.0291273464, 0.0240709148, -0.0419518277, 0.0004837497, -0.004389124, -0.0449117571, 0.0111342352, -0.0201234128, -0.0362795964, -0.0000741902, -0.0316369943, 0.001047708, 0.0566792935, 0.0508199558, 0.0506117456, 0.0305685941, 0.0179701764, 0.0457449704, 0.0448657796, -0.0273919366, -0.0876334235, 0.0015545376, 0.0146915987, 0.0340009034, 0.091720745, 0.0043517249, 0.0357657596, -0.0031795001, -0.0425641574, 0.0076432507, 0.0081072245, 0.0428208672, 0.0402571969, -0.002985972, 0.00150533, -0.0502459109, -0.0370435305, -0.0593041554, -0.0422089025, -0.031464234, 0.0116241807, -0.024437746, -0.0549098067, -0.0365624167, -0.0050879009, -0.0340240672, 0.0093997847, 0.040019799, -0.0225892328, 0.0066189743, 0.0185330417, -0.0065368619, -0.0147160916, -0.0112851001, -0.0276989099, 0.0149568245, 0.0270200744, 0.0253489744, 0.0158102866, 0.0720686689, -0.0172702614, 0.0142385056, -0.0751488656, -0.0112062823, 0.0046168175, 0.0208659489, 0.003419443, -0.0077726333, -0.0303257275, 0.0179648418, -0.009438199, -0.0054015722, -0.0037172001, 0.0194602944, -0.0176179763, 0.0474316068, -0.0350946002, -0.0035333489, -0.0444170535, 0.0366477519, 0.0574156754, -0.0479825698, -0.0274441689, 0.015726598, 2.663e-7, 0.0526757427, 0.0436631851, 0.0329162478, 0.0536222421, 0.0434456728, 0.0318924636, -0.000366511, -0.0238191839, -0.0142578576, -0.0481800921, 0.0054943133, 0.0493242107, 0.0600067303, 0.0261221025, -0.0230178498, 0.0085282093, -0.0868441984, 0.0031001165, -0.0702487305, -0.0081757177, 0.0352378413, 0.0929026902, 0.0088825217, -0.029981371, 0.040086899, -0.0355644301, 0.0478170142, -0.0243525878, 0.0306592677, 0.0161765069, 0.0225534793, -0.0022511871, 0.0101483902, -0.0121880639, 0.018775519, -0.0100714331, -0.0313887969, 0.0819193646, -0.0253066849, -0.0225334708, -0.0090883765, -0.0516755581, 0.0200753286, -0.1000280008, 0.0485878922, -0.0246612169, -0.007382256, -0.0095429514, 0.038240999, -0.0558146574, 0.0305580739, -0.0754295811, -0.0060037547, 0.0128213847, -0.030118797, -0.0281780101, 0.0082782097, -0.0733947381, -0.0620136708, -0.006945414, -0.0308163967, 0.0030267155, -0.0605984703, -0.0141631793, 0.0347732343, -0.0355302021, -0.0109240003, 2.465212544e-34, 0.0317166597, -0.0108334916, 0.0124027096, 0.0200949647, 0.0455637686, 0.0322964713, 0.0254912153, -0.0164285004, 0.0243012551, -0.0723347291, -0.0486029685 ]
http://arxiv.org/abs/2310.06165v2
http://arxiv.org/pdf/2310.06165v2
CAW-coref: Conjunction-Aware Word-level Coreference Resolution
2023-10-09T21:32:49
2023-10-19T17:31:14
Karel D'Oosterlinck, Semere Kiros Bitew, Brandon Papineau, Christopher Potts, Thomas Demeester, Chris Develder
cs.CL
cs.CL, cs.AI
State-of-the-art coreference resolutions systems depend on multiple LLM calls per document and are thus prohibitively expensive for many use cases (e.g., information extraction with large corpora). The leading word-level coreference system (WL-coref) attains 96.6% of these SOTA systems' performance while being much more efficient. In this work, we identify a routine yet important failure case of WL-coref: dealing with conjoined mentions such as 'Tom and Mary'. We offer a simple yet effective solution that improves the performance on the OntoNotes test set by 0.9% F1, shrinking the gap between efficient word-level coreference resolution and expensive SOTA approaches by 34.6%. Our Conjunction-Aware Word-level coreference model (CAW-coref) and code is available at https://github.com/KarelDO/wl-coref.
[ 0.0350419059, 0.0038981377, 0.0266686715, 0.0456667803, -0.0454074629, 0.0014211441, -0.0280873813, 0.0158635713, 0.0512633026, -0.0270973127, -0.015002938, 0.0440482087, -0.0021444757, -0.0669053197, -0.0195709541, 0.0213052314, 0.0867437646, -0.032260783, 0.004716604, -0.0303538274, -0.0008384666, 0.0087709213, -0.0233238991, -0.0059427409, -0.0392948389, -0.0144045856, 0.0222769715, 0.0227814484, 0.021106299, 0.0119094132, 0.0119353756, 0.0160216, -0.0589841902, 0.0557581894, 0.0000019549, -0.0636221021, -0.03625191, 0.0272905156, 0.0212670509, 0.0496628471, 0.0160303377, 0.0270577949, -0.026720969, 0.0172516294, 0.0053962176, 0.0582341589, -0.0100537781, 0.0349292643, 0.0240553152, 0.0193445794, -0.0179142673, -0.0228904299, 0.0348348506, -0.020177817, -0.0672358274, -0.0835141465, 0.0221716147, -0.0045763273, 0.0199079309, -0.0273438599, 0.028630428, 0.0444473103, -0.0512284636, 0.0171009991, -0.0026522027, 0.0055069299, -0.1035584733, -0.0161289778, 0.0237512328, 0.0514445007, 0.0047986438, 0.0407003164, 0.0305890981, 0.0321959481, -0.0372100361, -0.0005304537, -0.0143316248, -0.0402215011, -0.0754888877, 0.0151559189, 0.0162077229, -0.0077677728, -0.0063513517, 0.0339180864, -0.026266953, 0.0979984105, 0.023181159, 0.0005636816, 0.0684323236, 0.0265524741, -0.0442701615, -0.0328538083, 0.0906130001, 0.003690022, -0.0265547037, 0.0172685515, -0.039897643, 0.0025393763, 0.0375141278, -0.1060072631, 0.0170344561, 0.0083346497, -0.054340627, 0.0452099666, -0.0506682806, 0.030776348, -0.0202398021, -0.0083957631, 0.0059267017, -0.0613251254, -0.0053610764, 0.0456301533, -0.0617584586, 0.0648162141, -0.0966622606, -0.04598023, -0.039941553, -0.0121494848, 0.0090582948, 0.0245477371, 0.0100899804, -0.032631781, 0.0051172995, 0.0130087519, -0.002405511, 0.0245093722, -0.000445028, -0.0185728483, -0.0626047552, -0.0219605472, -0.0021152338, -0.0063620699, 0.0554784872, -0.0262939539, 0.0255692247, 0.0284210574, 0.0055549005, -0.0470851958, -0.017329257, -0.0468375422, -0.0402769521, -0.0196669586, -0.0523438416, -0.067665711, 0.0239058379, 0.0038231716, 0.0188216288, -0.0702183768, 0.0487856083, 0.0450435057, -0.0752751902, 0.0690969229, -0.0181392599, 0.0018887453, 0.0028139492, -0.0038970602, 0.0548895486, 0.0538619459, 0.0365967192, 0.0218966734, 0.0598213784, 0.0351910703, -0.0545595028, 0.0601075441, 0.0175104998, 0.0265260264, 0.0277642943, -0.0066046938, -0.0329130851, 0.0094362618, 0.0395900048, 0.0864416882, 0.0166468844, -0.0062127104, 0.0180945527, 0.0488080084, -0.0134374341, -0.0083693946, -0.004168503, 0.0003572331, 0.0093562631, 0.0056470479, -0.0271659419, -0.0063977409, -0.0236452967, 0.0027074588, 0.0892190263, 0.016588781, 0.0038175238, -0.0038706905, -0.0373364687, 0.0178798791, -0.0446160808, -0.0284955148, 0.0270841923, -0.0236603785, -0.0494257249, 0.0463306233, 0.0364359543, -0.074243851, -0.0275776386, -0.006422047, -0.0337464064, 0.0291711856, 0.0797978714, -0.0105438158, -0.0622301027, 0.0491889752, -0.0099682491, 0.0562535599, 0.0106654614, -0.00605482, 0.0599406511, -0.0238121711, 0.0182973742, 0.0568515435, -0.0107114725, 0.0254657101, 0.0422347449, 0.0003140309, 0.0236855503, -0.0269738249, -0.0071574054, -0.0123055512, -0.0049552433, 0.0173207, 0.0158414561, 0.0125747696, 0.0308801737, 0.0363798961, 0.0004960447, -0.0040903338, 0.0395600013, -0.0116065256, 0.0149984164, 0.0268146005, -0.0070735225, -0.0348420516, 0.0465502143, -0.0098359315, 0.0166868642, -0.0386091545, 0.0122320205, -0.0451554917, -0.0460657477, -0.0364988446, 0.0646604374, -0.0082351705, 0.0501239039, 0.0328231081, 0.0044753975, -0.0330693871, 0.0481175371, -0.0098322984, 0.0077395192, 0.0376978032, -0.0135313282, 0.031606365, -0.0152918193, -0.029231457, -0.0195154194, -0.0001749895, 0.0015955177, 0.0171775967, 0.0021215645, -0.0430181809, -0.0595095195, -0.0929971635, 0.0405011363, 0.0146441367, 0.0462322757, -0.0252231918, 0.0293723978, -0.0182677712, -0.0114307757, 0.0225812495, 0.0272896718, 0.019258244, 0.0080855126, 0.0131595545, 0.0218232423, -0.0480212867, -0.0540880561, 0.0138237691, -0.0244642328, -0.0164665394, -0.009517883, -0.0694437101, -0.0321676694, 0.0407500863, -0.0070671346, 0.0425206088, 0.0236912835, 0.0286702421, -0.0226838533, -0.0100043546, 0.0091967396, 0.025051577, -0.0331724249, 0.0019810724, -0.0107758818, -0.0784603432, -0.0656048283, 0.03474674, 0.040894866, -0.0678422302, -0.0186513234, 0.0003252659, 0.0255002901, 0.0418901667, -0.0279997233, 0.0091926316, -0.0106526576, -0.0186722726, -0.0133211156, -0.0119866971, 0.0365664177, -0.0187600106, -0.0459923074, 0.0259882603, -0.0350161679, 0.0094079487, 0.0015350193, -0.0778994486, -0.0101054944, -0.0524439439, 0.0319905095, -0.0553379767, 0.0673545748, -0.0118027888, -0.0051679648, 0.0638622418, -0.0885404572, 0.0052176574, 0.0252842028, 0.0093434695, -0.0370929316, 0.0675832406, -0.040924944, 0.0473643318, -0.0335722081, -0.0033067069, -0.0264882445, 0.0014221587, -0.0608633496, -0.0136425626, -0.0091323303, -0.0188513845, 0.0213756692, 0.0147809843, -0.019703215, 0.0346073061, 0.0015573124, -0.0012156169, -0.0625755712, 0.0644917637, 0.0128097357, -0.0051016142, -0.0062000984, 0.0120020229, -0.0206795763, 0.0494350456, 0.0336922221, -0.0147665348, 0.0272914749, -0.03632465, 0.0530278571, -0.0764827356, -0.0383116007, -0.0198658388, 0.0637316182, -0.0425561965, -0.0360629261, 0.1236307174, 0.042562902, -0.0506712645, -0.0337125361, 0.0088005792, -0.0160328578, 0.0136510599, 0.0028113087, -0.0252428744, -0.0344787389, 0.0319558308, 0.0169823226, 0.0392373353, -0.0501639135, -0.0026900591, -0.1011759639, 0.0128303096, -0.0104416488, -0.0020056325, -0.0140339378, -0.0266367942, 0.0533906966, -0.0209492818, 0.001952079, 0.0308071189, -0.0365198776, 0.0200651288, -0.0140162231, 0.0096833864, 0.0351540707, 0.0229297467, -0.0744724423, -0.0053764088, 0.0351985395, 0.0628218874, 0.0143653117, 0.004379286, 0.0289939474, -0.0595124401, 0.0022790825, -0.0631572828, -0.0019317128, -0.0165580697, -0.0037943677, -0.0026584191, 0.028075818, -0.0158212036, -0.0029149228, 0.0194074996, -0.0061464896, 0.0234145708, 0.0585768111, -0.01344389, 0.0393284895, -0.0244529676, 0.0445469506, 0.0165364984, 0.00380435, 0.0043469318, -0.0017678736, 0.0084457509, -0.0422042832, -0.0104968864, -0.0215944853, -0.064624086, 0.0029119351, -0.0548270456, -0.0412188619, 0.02087925, 0.0165735055, 0.0028500301, 0.0219200887, 0.0121651981, 0.0479325652, -0.0420008563, -0.0194643307, -0.0600017123, 0.0177754667, -0.0718029514, 0.0638328269, 0.0754434615, 0.0706749633, -0.0178511143, 0.0642514974, -0.0448395461, -0.0331993699, -0.0085576, 0.0064078206, 0.0178288799, 0.0329579972, -0.0564536974, -0.0058221291, -0.055258546, 0.0571134128, -0.0284461379, 0.0440631062, 0.03980124, 0.03801658, -0.0052305395, 0.0577590987, -0.0296525713, 0.0004908824, -0.0432069153, 0.0676399767, -0.0407813564, -0.0966264382, -0.0046393871, 0.0591612309, 0.0375735983, -0.0205951873, 0.0423690267, 0.010375442, 0.0663566962, -0.0191330127, -0.0132391788, -0.0020779937, 0.0259672869, -0.0554763861, -0.0168612227, -0.0218224246, -0.0084507847, -0.0165677909, 0.0553065352, -0.004208874, 0.0094951773, 0.0012135495, -0.0241908412, -0.0293508787, -0.0367721319, 0.0024332092, -0.0053500351, 0.0372971557, 0.0344627798, -0.0425694734, 0.0018494157, -0.026640363, -0.0097183343, -0.0204581283, -0.0056846435, -0.0258162692, 0.0334988572, -0.0391873345, 0.0177048035, 0.0721360445, -0.0035540969, 0.1315074265, -0.0127750421, -0.0190481637, -0.011192997, 0.0070164171, -0.0168313496, 0.0313006006, -0.0219678804, -0.0098983133, 0.0164397247, 0.0095972316, 0.0515042879, -0.0131555395, 0.0055328952, 0.0391541198, -0.0318260603, -0.0422579274, -0.0401269309, -0.0254613291, 0.0223320648, -0.0031846056, 0.0102056703, -0.0592892319, -0.0085319271, 0.101099208, -0.0021291235, 0.0010984506, -0.0061222711, 0.000884769, 0.0242924858, 0.0549750589, -0.0037690878, -0.0207804795, 0.0097543504, 0.0062977914, -0.0696520656, 0.026080301, -5.98887666e-33, -0.0796746612, 0.0019360044, -0.0130467955, 0.0282129273, -0.0220295135, 0.030731177, -0.0224579796, 0.0168856643, 0.0056127217, -0.0160861369, -0.0412220471, -0.0021936065, 0.0331787206, -0.0131539125, -0.0138670355, 0.0200599637, 0.0160811283, 0.0459258854, -0.0143331122, -0.0096223494, 0.0558499135, 0.0216884166, 0.057006333, -0.0852046758, 0.0128244776, 0.0162179731, -0.0186776891, 0.0024801604, 0.0533386841, 0.0164225958, -0.0157007687, 0.0205939468, -0.0191746559, 0.0198752079, 0.000750707, -0.0027443846, -0.148300156, -0.0295501221, 0.0514920987, 0.0052557308, 0.0385702811, -0.0299649592, 0.0193065852, 0.0108263278, -0.0025406005, 0.0047045983, 0.0104734832, -0.0246242434, -0.0419081971, -0.0483521931, -0.0531821288, 0.0473552309, 0.0303763989, -0.0040124804, 0.0459457375, -0.0224672277, 0.0056974455, -0.0150059471, -0.0214270446, -0.010405302, -0.0097930832, 0.0262466948, -0.0008652175, -0.0238515269, -0.0165643003, 0.0153588438, 0.0031921258, -0.0323566869, 0.0027129385, -0.0040712259, 0.0097980164, 0.0585439391, -0.0124472603, 0.0957336873, 0.0145914573, 0.0106900558, -0.0318577662, 0.04157608, 0.0627352223, 0.016403066, -0.016741043, 0.0041245543, -0.0525014848, -0.0142851043, -0.0278681032, -0.0220915955, -0.0229641199, -0.0233859774, 0.0008415232, -0.0027985822, -0.0277734157, 0.0618522726, 0.0068755005, -0.02967689, -0.0468789488, 0.0013100082, 0.0158988349, 0.0380132422, -0.025816476, 0.031612765, -0.0144739114, -0.0287379082, -0.0369144604, 0.0194623191, 0.0107319457, -0.0144713195, 0.0110847987, -0.034436889, -0.0944319665, -0.0136082042, -0.023138918, 0.0129601257, -0.0652535707, -0.0279752668, 0.0203509293, -0.0022723372, 0.0482297093, 0.023550583, 0.0445271917, 0.0113801658, -0.0579541996, -0.0374436527, 0.0444824733, 0.0370131321, 0.0248773675, 0.0212791916, 0.0254543852, 0.0066220313, -0.0157998614, -0.0239264593, -0.0135585945, 0.0065734508, 2.627e-7, 0.0456946678, 0.0357531458, 0.0487277247, 0.0132221393, -0.0073118214, -0.0245066248, 0.0228641033, 0.0412389226, -0.0109443096, -0.0051347516, -0.0007189999, -0.0217233934, 0.0183285121, 0.0286710635, -0.0805962831, -0.0292112138, -0.0271563586, -0.0462758839, -0.0520033576, -0.0120173469, -0.0216471367, 0.0333003327, 0.0253111925, -0.0179083198, -0.032448452, -0.0281175319, 0.025797667, -0.0168287344, -0.021775471, 0.0118863257, -0.0136866197, 0.0263388343, 0.0126780309, 0.0176869277, 0.0075727738, 0.0294113774, 0.0660195351, 0.0635640696, -0.0081998333, -0.0295485035, 0.0026062171, -0.0594482608, 0.0128832515, -0.0009295983, 0.0678398162, 0.0331979282, 0.0150135411, -0.0510370806, -0.0222130865, 0.026108535, -0.0458000563, 0.018807115, -0.0227361415, 0.0314867832, 0.0120508792, -0.0066515524, -0.0334780142, -0.0566800311, -0.0271588359, 0.0242314413, 0.0025149875, -0.0560447499, 0.0099163894, -0.060486149, -0.0515147969, -0.0471733585, -0.0399433747, 2.426148708e-34, 0.0412222818, -0.0022907767, 0.0084087625, 0.0430181436, -0.0116162896, -0.0068735527, -0.0211099051, 0.0107627185, -0.0041900822, -0.0103367949, 0.004809557 ]
http://arxiv.org/abs/2310.06117v2
http://arxiv.org/pdf/2310.06117v2
Take a Step Back: Evoking Reasoning via Abstraction in Large Language Models
2023-10-09T19:48:55
2024-03-12T04:38:27
Huaixiu Steven Zheng, Swaroop Mishra, Xinyun Chen, Heng-Tze Cheng, Ed H. Chi, Quoc V Le, Denny Zhou
cs.LG
cs.LG, cs.AI, cs.CL
We present Step-Back Prompting, a simple prompting technique that enables LLMs to do abstractions to derive high-level concepts and first principles from instances containing specific details. Using the concepts and principles to guide reasoning, LLMs significantly improve their abilities in following a correct reasoning path towards the solution. We conduct experiments of Step-Back Prompting with PaLM-2L, GPT-4 and Llama2-70B models, and observe substantial performance gains on various challenging reasoning-intensive tasks including STEM, Knowledge QA, and Multi-Hop Reasoning. For instance, Step-Back Prompting improves PaLM-2L performance on MMLU (Physics and Chemistry) by 7% and 11% respectively, TimeQA by 27%, and MuSiQue by 7%.
[ -0.0131212091, -0.0154904211, -0.0211560596, 0.0488668941, -0.036576204, 0.0165198147, -0.0061562434, 0.0015997696, -0.0042556589, -0.0105966544, -0.0170065686, 0.0200356282, -0.0308728479, 0.0026290691, 0.0295476541, -0.0435723811, 0.0450989604, -0.0740669966, 0.0216040965, -0.0248113442, -0.0448343121, -0.0140964929, -0.0505310893, 0.0131091624, 0.0325111225, -0.0526338629, -0.0319182239, -0.0163925793, -0.0017361102, -0.0412457138, -0.036601305, 0.0256208442, 0.0239000805, -0.0101164542, 0.0000023315, -0.058713872, 0.0289168432, -0.0249631349, -0.0493693501, -0.0002762845, -0.0537552238, 0.0264168624, -0.0082681868, 0.0120791597, -0.034366332, 0.0295439269, -0.0177461728, 0.0310606491, 0.0439716801, 0.013959635, 0.0163944494, -0.0106614307, 0.0365348533, 0.0272122063, 0.0456366278, -0.0042131464, -0.0208694581, 0.0178360343, 0.0776128545, 0.0394361801, -0.0072524757, 0.0475878529, 0.0632191747, -0.013372777, 0.0171576217, 0.0553818643, 0.003060949, 0.0113533894, 0.0053937035, 0.0246861465, 0.0515085459, -0.0137599148, -0.0261505097, -0.0054250746, 0.0151932547, 0.0259945709, -0.0720028356, 0.0125391455, -0.0131072653, -0.0021516823, 0.0368456431, -0.0344831236, 0.0519695692, 0.0085669858, -0.0261050817, 0.0773429945, 0.0073915147, -0.0388087966, 0.0364654809, -0.0103195934, 0.0673389062, -0.0299186632, 0.0019294284, 0.0880101174, -0.0332644358, 0.0300176833, 0.0163703393, 0.0120205348, -0.0103210397, -0.0026514456, 0.0416443944, 0.0703979284, 0.0092878956, 0.0404061489, -0.0605478287, 0.0094920788, -0.0461781546, 0.0312292799, -0.0095926709, 0.0021137246, -0.0430757031, -0.0328861885, -0.0399172641, 0.0497652255, -0.042811051, -0.0067029279, -0.0214191191, 0.0348947085, -0.0053846054, 0.0077624824, -0.0153952697, -0.0025942614, 0.0208831076, -0.0034170556, -0.0475199148, 0.0275851302, -0.036477033, 0.0261640865, 0.057303708, -0.0766275153, -0.0251721907, -0.022450937, -0.0477734096, -0.0143750589, 0.0193918776, 0.1006359011, -0.0239692945, -0.0065582832, -0.0375503749, -0.0354958735, 0.0658589527, -0.0575652868, 0.0357731543, -0.0769533291, 0.018884575, 0.0102562476, 0.0042160228, 0.0195771065, 0.0130963838, 0.0149509665, 0.0234942716, 0.0553029217, -0.0184988752, 0.0085521042, 0.0490908585, 0.0389702246, -0.0932073593, 0.0442603268, 0.0450751223, -0.0131548131, -0.0133988047, -0.0183514487, 0.0240843389, 0.0403479449, 0.0107044186, -0.0026094501, 0.0108861858, -0.0196512267, -0.0436717384, 0.0542934537, 0.0134515576, 0.0114413779, -0.0310873389, 0.0501467176, 0.0322838686, 0.0934390575, 0.0028275019, 0.0148695698, 0.0442759655, -0.0627675578, 0.033436358, -0.0039340421, -0.0676752776, 0.0782506168, -0.0262093227, 0.0213173814, -0.0085856663, 0.0036854933, -0.0341188088, -0.0354559943, -0.008104017, 0.0415497087, -0.0363644697, 0.014649245, 0.0331656374, 0.0074160825, -0.0115363346, 0.0516254678, 0.0026358438, -0.0314081684, -0.0152787091, -0.0763332844, 0.0478243753, 0.0706506521, 0.0374300666, -0.0011992182, -0.0275435243, 0.0007373733, 0.022982154, 0.0363915749, 0.0178549979, -0.0237368681, -0.0251763221, -0.0075047361, -0.0038825101, -0.0360285677, -0.0152445845, 0.0042212, 0.0200498607, 0.0076964078, -0.0177819114, -0.0198435485, 0.0074994243, 0.0149990218, -0.0696470067, -0.0343492664, -0.0430728644, 0.0202896483, -0.0035593663, 0.016603373, 0.0271917097, 0.0112635791, 0.0386969037, -0.0312586389, -0.0155906435, 0.0081177251, -0.070903793, -0.0324252769, 0.0296771154, -0.0101225507, -0.041877836, -0.0174488742, -0.0034575341, -0.0315501951, 0.0202549398, 0.0077660289, 0.0620893799, -0.0128869973, 0.0209107939, 0.0136317452, -0.0600241609, 0.0008282033, 0.0745228976, -0.0081969351, -0.0016913227, 0.0591641031, 0.0240416024, -0.0072720791, -0.0379717983, 0.0240967814, 0.0239015855, 0.0214456487, 0.0034278817, -0.0485193171, 0.0179164559, -0.0826862231, 0.0095940307, -0.0451102033, -0.0105757909, -0.0123274177, 0.0290352907, 0.0179335754, -0.0081182998, -0.0072601917, 0.0016295661, -0.0171595477, -0.0207724776, -0.0186515804, 0.0256902799, -0.0038267134, 0.0047308789, -0.0160623416, -0.0089286296, -0.0076370272, -0.033696413, 0.0127975065, -0.0096546328, -0.000332604, -0.0353417359, 0.0284325536, -0.0162867419, -0.0005153171, -0.0205383357, 0.0301527437, 0.0759636611, -0.038486179, 0.0189254675, 0.0662236139, -0.0525720082, 0.0569398589, 0.0501249209, -0.0072730044, -0.0726183206, 0.0375383124, 0.0191283785, 0.0150908595, -0.0212424751, -0.0144191515, -0.0047595366, 0.0778410211, -0.0050583212, 0.0317733511, -0.0157835986, -0.0025651583, 0.0075393794, -0.0234455857, -0.0165535603, -0.0151618551, -0.0472612493, 0.0480997711, -0.0113114929, -0.0431490876, 0.0809571445, -0.0032044565, -0.0151781728, -0.0245462693, 0.0182735398, 0.0010603897, 0.0667714328, -0.0771226138, -0.0176146887, -0.0250972435, -0.0145169459, -0.0385675952, 0.0021193449, 0.0047408408, -0.0215442535, 0.0796028152, -0.0633513331, -0.0055044149, 0.0027967039, -0.030120831, -0.0459485687, 0.0786472559, -0.0454215258, 0.0346007682, -0.0547084026, -0.0317047685, 0.0060926541, -0.0510226563, 0.0400578789, -0.0000771383, -0.022296818, -0.0357676819, -0.031136103, -0.0070284326, -0.0151928663, 0.0034729147, 0.0415797569, -0.0836907402, 0.0785593688, 0.0545944832, 0.0539803095, -0.0531999543, -0.0261602383, 0.0074202535, 0.0437963828, -0.0193318166, -0.0329171456, 0.0172123928, 0.0627988204, -0.0789268389, -0.0241024401, 0.1116258502, 0.0192421172, -0.0152129503, 0.0092357062, -0.0879326239, 0.0408279747, 0.0408518724, 0.0238661543, -0.0489022285, -0.0233805403, 0.0354568027, 0.0070514353, 0.007381998, -0.0143738789, 0.0033177913, -0.101667434, 0.0467082672, 0.0079899719, -0.0440301485, 0.0107434541, -0.0063182604, 0.0141305653, 0.060620442, 0.008555931, 0.044315964, -0.0060231993, 0.0103506558, 0.0379764736, 0.0194953624, -0.0156916883, 0.0366387293, 0.0092694014, 0.0068080644, -0.0061416519, -0.0038303731, -0.0131982556, -0.0923506618, 0.0745063126, -0.0164269749, 0.0441842787, -0.0429374054, -0.0229303278, 0.0029938014, -0.0061520305, -0.0167733375, 0.037496008, -0.0082019176, -0.0398803242, 0.0180969574, 0.134948194, -0.0589706972, -0.0077066435, -0.0412128568, -0.0180160515, -0.0448142141, 0.0494486764, 0.0636378378, -0.0158409588, -0.0057023065, -0.0395155475, -0.0585359931, 0.006827632, 0.0077154124, -0.0009701027, -0.002888384, 0.0169254541, -0.0093447641, -0.0489612296, 0.061904557, 0.0602542236, 0.0062553552, 0.0383273847, -0.0084856544, -0.0117627699, -0.0174535867, 0.0362315886, -0.0241191182, 0.0362878889, -0.0232753567, -0.027772015, -0.001800786, -0.0260587614, -0.0004539013, -0.0081430739, -0.0123842703, -0.0559105054, -0.0464279763, 0.0479083732, 0.0346746296, 0.0191019569, 0.0129128145, -0.0337648503, 0.0172835458, -0.0084152874, -0.019432757, 0.0224224571, 0.0254376475, 0.0245021284, 0.0186460596, 0.0257122461, -0.0231955331, -0.0127323987, 0.0038483727, 0.042417068, -0.0360756442, -0.005152469, 0.0153047778, 0.0313239954, 0.0249549821, -0.0015811746, 0.0190859437, -0.0361750834, 0.0422272347, -0.0261665471, -0.0071266713, -0.0226836372, 0.0015398905, -0.0030496146, 0.001255439, 0.0117677432, -0.0495796017, 0.0255952962, 0.0164307822, -0.0078526353, 0.0528381951, -0.0330618434, 0.0421580747, 0.0254042186, 0.0006482625, -0.0118323229, -0.0049349656, -0.003548481, 0.0549338013, 0.00305719, 0.0901576206, 0.0425349139, 0.0192940142, -0.0389037989, -0.0008930426, -0.0551626608, -0.1435592026, 0.0517002679, 0.0426535904, 0.0159560647, 0.0179486424, 0.0051965783, -0.0362122469, 0.0047458964, 0.0386692323, 0.0024130575, 0.0163289513, -0.023810111, 0.0850418434, 0.0360158235, 0.0481028967, -0.0342543237, 0.0016219434, -0.0785333365, 0.0484844409, -0.0121344104, 0.0216066651, -0.0209514331, -0.0270386338, 0.0135341855, 0.0087328544, 0.0111139966, -0.0205772314, -0.0825279132, -0.0721518993, 0.0012467369, 0.0348697938, -0.039234288, -0.0487511382, 0.0628852844, 0.0514483936, 0.0188642256, -0.0476427115, 0.0037563394, -0.0067566182, -0.0129585294, -0.0181395039, -0.0257692635, -6.265043262e-33, -0.0476054326, -0.0237721466, 0.0740730688, 0.0421402156, -0.0307054408, -0.0343122222, -0.0816837326, 0.0257929396, -0.0267700218, 0.0157569498, -0.0333332866, 0.0191238355, 0.0084527871, -0.0314037949, 0.0486598052, -0.0151471877, 0.0133509515, 0.004232761, -0.0449346676, 0.0136815608, 0.0215902962, 0.0205485038, 0.0340949632, -0.0468780436, 0.0271666311, -0.0131475329, 0.0202844609, -0.0024341301, -0.1106661111, 0.0271968208, -0.0195201617, 0.0161653329, 0.0117168091, -0.0219935961, -0.0194930937, -0.0042565968, -0.0570293218, -0.0537883602, 0.0609991625, -0.0048063835, -0.0635627136, -0.0482735448, 0.0234433524, 0.0421404392, -0.0455112346, -0.0190576576, 0.0220336858, -0.0263325404, -0.0201222207, -0.0404325835, -0.0498362258, -0.0135198645, -0.0017755232, -0.0162561536, 0.005506773, 0.0021727325, -0.0503419265, -0.0092169112, -0.005635194, 0.0085089505, 0.0457193181, 0.0043643704, 0.0793600231, 0.0202019606, -0.0061033834, 0.0541206449, 0.0179867353, -0.0336999148, -0.0107470611, 0.0115708336, 0.0164689198, 0.0523545183, 0.014590269, -0.0208181776, 0.0198349338, 0.0301259495, -0.0350560248, 0.0046230275, 0.0178913847, 0.0659039244, 0.0050738952, 0.0019891874, -0.0349607021, -0.008407346, -0.0428221412, 0.0431704558, -0.0180750545, -0.0444791093, 0.0261003319, -0.0340988114, 0.01256923, -0.0521433353, -0.0110834315, 0.0040308693, -0.0189462528, -0.0176063832, -0.0163191799, 0.0398244075, -0.0150096472, -0.0032060302, -0.0677934065, -0.0145306066, -0.0195698589, -0.0017077042, 0.042317342, 0.0350613147, 0.0109056085, 0.0125323264, -0.0544588268, -0.0112558845, -0.0891172439, -0.0162111968, 0.0398685485, 0.0129182301, 0.015692655, -0.0031198522, -0.0018018486, 0.0393222645, -0.0483606197, -0.047140874, -0.030034272, 0.0486800224, -0.0193507932, 0.0138866622, -0.0235287547, 0.0010542874, -0.0509459749, 0.0725573972, 0.0118088732, -0.0778051242, -0.0186762717, 0.0462543853, 3.051e-7, 0.0129697602, -0.0004160538, 0.0111863613, 0.0341586657, 0.0162751023, 0.0155449677, -0.0449300259, -0.0371501334, 0.0414622352, -0.036398638, -0.0164175034, 0.063425988, 0.0169126298, 0.0138726421, -0.1010537595, 0.0070840288, -0.011479672, -0.0048969975, -0.0375854783, -0.0067042476, 0.0608317181, 0.0008689071, 0.0397818387, -0.0228142124, 0.0183365792, 0.0175964851, 0.0564982705, -0.0246019587, 0.031156702, -0.0158661027, -0.0059919469, 0.0259831473, -0.0027113236, 0.0177357886, 0.0049883584, -0.0165502876, -0.0564854443, 0.0313121527, 0.0006765607, 0.0008968663, 0.0014359206, -0.03891287, 0.0112763215, -0.0298967008, 0.0380901769, -0.0031963871, 0.002319288, 0.0171825606, -0.0004025887, -0.0433318466, -0.0164833795, -0.0150715709, 0.0012507758, -0.0284066685, -0.0296313688, -0.0261410885, -0.0246428959, -0.0549362674, 0.0007960479, 0.020848304, -0.0116055747, -0.0723560974, -0.0268020667, 0.0003387231, -0.005557463, -0.0529301241, -0.0480117686, 2.631793869e-34, 0.0023027454, -0.003735766, 0.0542513803, 0.1100941449, -0.0127932094, 0.0013678077, 0.0045447736, 0.0046874504, 0.0322685502, -0.0380492285, -0.0374143906 ]
http://arxiv.org/abs/2310.06111v1
http://arxiv.org/pdf/2310.06111v1
BYOC: Personalized Few-Shot Classification with Co-Authored Class Descriptions
2023-10-09T19:37:38
2023-10-09T19:37:38
Arth Bohra, Govert Verkes, Artem Harutyunyan, Pascal Weinberger, Giovanni Campagna
cs.CL
cs.CL, cs.LG
Text classification is a well-studied and versatile building block for many NLP applications. Yet, existing approaches require either large annotated corpora to train a model with or, when using large language models as a base, require carefully crafting the prompt as well as using a long context that can fit many examples. As a result, it is not possible for end-users to build classifiers for themselves. To address this issue, we propose a novel approach to few-shot text classification using an LLM. Rather than few-shot examples, the LLM is prompted with descriptions of the salient features of each class. These descriptions are coauthored by the user and the LLM interactively: while the user annotates each few-shot example, the LLM asks relevant questions that the user answers. Examples, questions, and answers are summarized to form the classification prompt. Our experiments show that our approach yields high accuracy classifiers, within 82% of the performance of models trained with significantly larger datasets while using only 1% of their training sets. Additionally, in a study with 30 participants, we show that end-users are able to build classifiers to suit their specific needs. The personalized classifiers show an average accuracy of 90%, which is 15% higher than the state-of-the-art approach.
[ 0.0381965041, 0.0067779617, -0.0036716105, 0.021849826, -0.0471145622, 0.0412139036, 0.0591209494, -0.0012641586, 0.0321153998, -0.1087888852, -0.0221679322, 0.0039646775, -0.0339586735, -0.0102624949, -0.0317638107, -0.05019347, 0.0061077629, -0.003981804, 0.0068139997, 0.0105754314, 0.0231685992, 0.0302572623, -0.012062192, 0.0148674157, 0.0253456999, -0.0286283512, -0.0291754752, -0.005709454, -0.0172592886, -0.0225893836, 0.0138544934, 0.0837358162, 0.0023756344, 0.0096960617, 0.0000018618, -0.0515014604, 0.0033099162, -0.0044242684, -0.0451183692, -0.0075195269, 0.0421815701, 0.0356819779, 0.0432787351, -0.0139103131, -0.0320479386, -0.0082987994, 0.0243109744, 0.0418566763, 0.0491938926, 0.0482753441, -0.0036799673, -0.0329516679, -0.0102775712, 0.0090444954, 0.0804490298, -0.005480676, -0.0090307947, -0.0334914401, 0.0291821342, 0.0325549357, 0.0099173812, 0.0167898014, 0.0056637535, 0.0026050117, 0.0623449162, 0.0403481312, -0.0330472998, -0.0122604128, -0.0095668193, 0.0734787658, 0.0345553383, -0.0393221602, -0.0030661665, -0.0276672784, 0.018687116, 0.0145029081, -0.0231309813, -0.0172429513, -0.0311873034, -0.0081972703, -0.013236681, 0.02891808, 0.0064970283, 0.0464576297, 0.0258383695, -0.0217597373, -0.0188945774, -0.0191813353, -0.0080865491, 0.0339474939, 0.0166517384, -0.0695348084, -0.012877956, 0.0457640626, 0.0094175041, -0.0109194806, -0.0498071425, -0.0314854383, 0.043332912, -0.0439088605, 0.0330226831, -0.0032608034, -0.0111124972, 0.0625291914, -0.0277447365, -0.0263574664, 0.0413706973, 0.0143347355, -0.002490269, 0.0226444267, -0.1062602997, -0.0010833191, -0.0316044092, 0.088283658, 0.0243039578, 0.0135428989, -0.0503414944, 0.0532422066, 0.015569008, 0.0300002415, -0.0063506491, 0.0380153544, -0.0023517627, 0.0098367371, -0.0299570449, -0.0161297973, -0.0555459037, 0.0136058191, 0.0030418772, -0.022029154, 0.0181316584, 0.0282260794, 0.020832058, -0.0081976643, 0.0208395831, 0.0184732191, -0.0067046438, -0.082235679, -0.0220155735, -0.0504165255, -0.0218602046, -0.0330150314, -0.0509726331, -0.0556224063, 0.0308974124, 0.029697638, -0.0099615073, -0.0096420338, 0.0026144728, 0.0399279632, -0.0019382725, 0.0939726755, -0.052551914, -0.0288674254, 0.0709351748, 0.0279868934, 0.0038157378, 0.0520313829, 0.0042231977, 0.0388104953, 0.049573455, -0.0078535937, 0.0543422289, -0.0148312608, -0.0310394615, -0.0223992299, 0.0156469624, 0.0338741615, -0.02934031, 0.0228559393, -0.0272357203, 0.0083314162, -0.0007392818, 0.0048232567, 0.0467042513, 0.0849659368, 0.04666996, 0.0099598123, 0.0192899499, 0.0379583165, 0.0116230296, -0.0096338931, -0.0089006806, 0.0493226387, -0.0410869122, -0.0268967953, 0.0056174733, -0.0214395896, -0.0358424187, -0.0688296854, -0.0377658941, -0.0379709639, 0.0027499816, 0.0446716286, 0.0429770797, 0.0055163419, 0.0145931412, 0.024288293, 0.0182099584, -0.0623133779, 0.0107548041, -0.0409808047, 0.0531970561, 0.0783968717, 0.0148747545, -0.031089047, -0.0095426049, -0.0385032333, 0.0322168544, -0.0087070912, 0.0786718577, -0.0161014628, 0.0069100359, -0.0268418174, -0.0282271169, -0.0156286824, 0.0035613328, 0.0058179977, -0.0004138256, 0.0100900959, 0.0252156071, -0.0005875668, -0.0128459912, 0.0501427501, 0.018083455, -0.0766200051, 0.0727216005, 0.0373867191, 0.0080778487, 0.0373071656, 0.0311377402, -0.0076090619, 0.0199050065, -0.0176516622, -0.0391904078, -0.0157625154, 0.0120227057, -0.0342888795, -0.0057636886, 0.0379505865, 0.0083476761, -0.0253751278, -0.0293812677, -0.0226404406, -0.0236542448, -0.0134362653, 0.0079173539, -0.0828794762, 0.0058657844, 0.0034346567, 0.0062484914, -0.0563531071, 0.0666726977, 0.0457120128, 0.0133095374, -0.0090864878, -0.0454707444, 0.0352346525, -0.029624043, -0.0281679127, -0.0191261712, 0.0079915691, 0.0132530089, 0.0082602967, 0.0086305905, -0.0267341193, -0.004885633, -0.0860859677, 0.0005959628, -0.0178483874, 0.0287908539, -0.0095122708, -0.0162701793, 0.0019354376, -0.0285888072, -0.0560579561, 0.0078226784, -0.0235532317, 0.0223754831, 0.0605639704, 0.014066725, 0.0259587746, -0.0028161029, 0.00867966, -0.0199884064, 0.041271802, 0.043745283, -0.0199799817, -0.05730436, -0.0342510752, 0.0027274156, -0.005322211, 0.0454700254, 0.0035095839, -0.0117701087, -0.0171720423, -0.0526883341, 0.0568518005, -0.003474579, 0.0548093766, 0.0500167273, 0.047947824, -0.0472308993, 0.0094071496, -0.0078764549, 0.019424906, 0.007615366, -0.0184612907, 0.0306325182, 0.0454573967, -0.0052676583, 0.0024253137, -0.0619021133, 0.0290139485, 0.018698385, 0.0237690117, -0.0472406149, 0.0144633511, 0.0048445314, 0.0147351697, 0.0153196342, -0.0176952351, 0.0735562444, -0.014291699, 0.0032054712, -0.0134896412, -0.0647831857, -0.048034057, 0.0658386424, -0.0041460386, 0.004735284, 0.0231140312, 0.0067822528, -0.0110173961, -0.020977132, 0.0343629569, -0.0052032853, 0.0052947756, -0.0098099802, 0.0086825639, -0.0196923185, -0.0681402758, -0.015273477, -0.1197355837, -0.0535662062, -0.0131531004, -0.0430800952, 0.0221785363, -0.0098019745, 0.0006240904, 0.0165325124, 0.0173833482, -0.0222856924, -0.0450245142, 0.0104500838, 0.041069515, 0.0306271203, -0.022713054, -0.0581236929, -0.004951098, 0.044870507, 0.0573558472, 0.0068175313, 0.0385542214, -0.0155378319, -0.0261766966, 0.0305693652, -0.0853123143, -0.0439475216, 0.0083412519, 0.0454470478, -0.0557012558, 0.0089082364, 0.104516536, 0.050701227, -0.076162003, -0.0121017266, 0.0134153469, 0.00383911, 0.040490035, 0.0432560369, -0.0966294333, -0.0671700016, -0.0328534991, 0.0255225934, -0.0246411338, 0.0053761117, -0.0217129495, -0.0798017532, 0.0059856167, -0.0138322124, -0.0240615848, 0.0418322571, -0.0632891506, -0.0067587364, 0.0000219756, -0.0590167455, -0.0348195508, -0.0337946601, 0.0106071373, 0.0154042793, -0.043073412, -0.017477775, 0.0268160533, -0.0002534227, 0.0098256273, 0.0451873392, 0.0141184414, -0.0022557455, -0.0291457195, 0.0116517106, -0.0262633096, 0.042114377, -0.017097421, 0.1055342779, -0.0591050684, 0.0220456105, -0.0060441699, 0.0266110692, 0.0048673041, -0.0352608003, 0.048841428, 0.0618271865, -0.0216819756, 0.0077792117, -0.0378985554, 0.0012466031, 0.0040857783, 0.0638058633, 0.0202383287, -0.0965762958, -0.0133347828, -0.0178333484, -0.030957181, -0.0538476631, -0.0175711084, 0.0117976163, -0.008387899, -0.0289686546, -0.0439834595, -0.0372164473, 0.0501897782, 0.0196585655, 0.0113212476, 0.0256303567, -0.0502859317, 0.0338332802, -0.0321423486, 0.0051425314, -0.0085122418, 0.0038161273, -0.0473409258, -0.0244074743, 0.0761762485, -0.0613557138, 0.0094552906, -0.0314845815, -0.0866005048, -0.032039728, -0.0350548476, 0.0569868945, 0.0125689404, 0.0119276168, -0.0055377288, -0.1072916538, 0.0630259737, 0.0816760212, -0.0266932547, -0.0442955755, 0.0094202105, 0.0495323986, -0.0285298508, 0.0158722922, -0.0563342795, 0.0001872241, 0.0037645788, -0.0547152869, -0.0918232277, -0.0226977691, 0.0082635339, -0.0039714538, 0.0731172189, -0.0306527577, -0.0164082795, 0.0166393649, 0.0342463478, -0.0041062864, -0.0450491235, -0.0040064971, -0.0102711832, -0.0028537684, -0.0617075674, -0.0202711355, 0.0164024346, -0.0249263477, 0.0432318337, -0.0682907924, 0.0121077951, 0.0299392324, -0.0100992275, -0.0235244296, 0.0224584732, -0.0501538441, 0.0080556516, 0.0312112235, 0.0166104846, -0.0114514548, 0.0745447576, -0.0260328278, 0.0204507504, -0.0098343333, 0.0400682911, -0.0676462129, 0.0063975481, 0.0000739479, 0.0490802191, 0.0171210337, -0.0087015554, -0.0311107766, -0.0249470174, -0.0312035549, -0.0228430554, 0.059274856, -0.0141231762, -0.0476929061, 0.0145836705, 0.0266644638, -0.0424007364, -0.0023320941, 0.0573549233, -0.0087624453, -0.0001192748, 0.0338336416, -0.0270416103, -0.0661475435, 0.022536654, 0.0263183862, 0.0454096422, -0.0150801875, 0.0000621331, -0.0633859187, -0.0118865939, 0.0416931398, -0.0419392139, 0.0072115208, 0.006105057, 0.027998399, 0.0526308268, 0.002456733, -0.0280242506, -0.060905803, 0.0170018505, -0.0075537497, 0.0089427242, -0.0102436291, -5.770599481e-33, -0.0141297504, -0.0442960039, -0.0071234223, 0.0458917245, 0.0653672069, -0.0203122552, 0.0325971097, 0.0360298902, 0.0147810997, -0.0126992818, -0.0092627183, -0.0290431362, 0.0045269653, 0.0332929455, 0.0437309481, -0.022883594, 0.0419147573, -0.0049281972, -0.0140829217, 0.0280322712, 0.0258305818, 0.014516999, 0.0165780745, -0.077008374, 0.0519239157, -0.0090828817, -0.0224466883, -0.0149481427, -0.0019069822, 0.0528578274, -0.0063828346, 0.0488994718, 0.0386901163, 0.01730223, 0.0225040708, 0.0269992221, -0.0583419465, -0.0327302888, -0.0335188508, 0.0137304822, -0.0248378906, -0.0471179485, 0.0331479758, -0.0255058482, -0.0015091886, -0.0277431421, 0.0858429894, -0.0055700387, -0.0311137643, -0.0654906034, -0.0149757266, 0.0072744377, -0.0035219386, -0.0323022045, 0.0265760813, 0.0434660688, -0.0101615107, 0.0142592471, -0.0448305234, 0.0043091164, -0.0019053865, 0.0032921846, 0.026648717, 0.0042447299, -0.0267307814, 0.0583502501, 0.0401586443, 0.0144023616, -0.0166241247, -0.004969914, -0.0056789047, 0.0066312524, 0.0417798944, 0.1059472114, 0.0731122494, -0.0021882665, -0.0055486872, 0.0555428527, 0.0438559763, -0.0054010246, 0.0052672611, 0.0116411485, -0.0484639443, -0.008591041, -0.0255092047, -0.0325460806, -0.0499125831, -0.0333965681, -0.0070098951, 0.0107539278, -0.0210595988, 0.0135260513, -0.0032074463, -0.0043045636, -0.0519626141, -0.0386973582, -0.0035539274, 0.0319920629, 0.0002979334, -0.0392535552, -0.0298418216, -0.0101793874, -0.0153815458, -0.0116173234, 0.0416283719, 0.0103292391, 0.0991733074, 0.0119806007, -0.079258576, -0.0242767129, 0.0160130765, -0.0020889428, 0.010746697, 0.0327860862, 0.0024637422, 0.0192279425, -0.0293448288, 0.0811009407, -0.000853032, -0.0089913867, -0.0238858853, -0.0515859462, -0.0047782282, -0.0050625303, -0.0020449611, 0.0015736644, 0.0120996516, 0.0116369408, 0.0303065982, -0.0315866917, 0.0081132455, -0.0080426196, 2.503e-7, 0.0250222925, 0.0475976095, -0.0200520102, -0.0216950569, -0.0058213198, 0.0633132309, 0.017124448, 0.0371453762, -0.0147906132, 0.0041571981, 0.0301210731, 0.0228638891, 0.0434577242, 0.0351256952, -0.1052507907, -0.0009839475, -0.0280269254, 0.0495773144, -0.0625350028, -0.0052363593, 0.0869292542, 0.0430365913, 0.0653079227, 0.0025516192, -0.0056218663, -0.0557650253, 0.0627350807, -0.0336808711, -0.0006886841, -0.0008451521, 0.0305932797, 0.0199920554, -0.0240925383, 0.016817579, -0.0530699305, -0.0360063836, -0.0041387547, 0.0661845356, -0.0354132168, -0.0582113042, -0.000443959, 0.0040118466, 0.0190188475, 0.0041442779, 0.0931161419, -0.0651768073, -0.0220023822, -0.0107453931, 0.0089757033, -0.0274287183, 0.0489623956, -0.0070229741, -0.0059080645, 0.0241915844, 0.0021994503, -0.026917547, -0.0567661189, -0.0874017477, -0.0165348947, 0.0005329978, -0.0182828587, 0.0227671154, -0.0281669907, 0.0038753618, 0.0257024877, -0.0659780204, 0.0103634922, 1.940845636e-34, -0.0024077957, 0.0467118695, 0.0052383067, 0.0233562905, 0.0019095998, 0.0235894825, -0.0023394024, 0.0009000582, 0.0651051104, -0.0482880622, 0.0198295694 ]
http://arxiv.org/abs/2310.06103v1
http://arxiv.org/pdf/2310.06103v1
Leveraging Multilingual Self-Supervised Pretrained Models for Sequence-to-Sequence End-to-End Spoken Language Understanding
2023-10-09T19:22:51
2023-10-09T19:22:51
Pavel Denisov, Ngoc Thang Vu
cs.CL
cs.CL, cs.SD, eess.AS
A number of methods have been proposed for End-to-End Spoken Language Understanding (E2E-SLU) using pretrained models, however their evaluation often lacks multilingual setup and tasks that require prediction of lexical fillers, such as slot filling. In this work, we propose a unified method that integrates multilingual pretrained speech and text models and performs E2E-SLU on six datasets in four languages in a generative manner, including the prediction of lexical fillers. We investigate how the proposed method can be improved by pretraining on widely available speech recognition data using several training objectives. Pretraining on 7000 hours of multilingual data allows us to outperform the state-of-the-art ultimately on two SLU datasets and partly on two more SLU datasets. Finally, we examine the cross-lingual capabilities of the proposed model and improve on the best known result on the PortMEDIA-Language dataset by almost half, achieving a Concept/Value Error Rate of 23.65%.
[ -0.0127942376, 0.0525891781, 0.020032648, 0.0270891525, 0.0173095986, 0.0113921529, 0.0155185526, -0.0400275104, -0.0056163771, -0.0155106345, -0.0396908261, -0.0429353081, 0.0265606474, 0.0215091947, 0.0120628932, -0.0247401316, 0.0346929096, -0.047640346, -0.023931833, 0.0110829193, 0.0001101236, 0.0399262384, -0.0439421572, 0.0097145364, 0.0067907651, -0.025833277, -0.0445110835, -0.0079570841, 0.0002319995, -0.0198705774, -0.0206148345, 0.054981567, 0.0254629198, 0.0281225108, 0.0000021858, -0.0538052656, -0.02544198, -0.0443211943, -0.0865361318, 0.0237664077, -0.0372700207, -0.0076126656, 0.003361562, 0.0050654393, -0.0131497886, -0.0375040472, 0.0404988155, 0.0067436914, 0.04000571, 0.0473768562, -0.000879964, -0.0092871198, -0.0007149542, -0.0376081616, 0.0098509472, -0.0462869927, 0.0208147373, 0.0124227684, -0.0098769227, -0.0372582376, -0.0212926548, 0.067737624, 0.026524052, -0.0028782184, 0.0127774421, 0.0099742198, -0.0413641445, -0.046626471, -0.0430220775, 0.0852452815, -0.0385207087, -0.0410776436, -0.0022989952, -0.0148630189, -0.0171297435, -0.0235989168, -0.0088042635, 0.0214897394, 0.0159310643, -0.0110380873, 0.0345524475, 0.0334976353, 0.0477682203, -0.0037496912, -0.0490153581, 0.0642105266, -0.0045006052, -0.0244059153, 0.0060970457, -0.0298093203, 0.0303945523, -0.0533174798, 0.0200490467, 0.0303098951, -0.026340533, 0.0394731425, -0.032535363, -0.0424824357, -0.0095710615, -0.0326668993, 0.0071291709, 0.0856040865, -0.0781537294, 0.037915539, -0.0085915243, 0.0388924927, -0.006542176, -0.0075245826, -0.0585319065, 0.004491224, -0.0246585589, -0.0040828669, -0.0398771614, -0.0105941817, -0.0553023629, -0.0307120495, -0.0200592466, -0.0068238238, 0.0136106154, 0.0213561263, 0.0157899987, -0.0271083396, -0.0477859378, -0.0093986774, 0.0067048157, 0.0661073253, -0.0171917304, -0.00513242, -0.0350060463, -0.0384065621, -0.0320260711, 0.0235344302, 0.0170871913, -0.0151459044, 0.0073713884, 0.0285383947, -0.0039879666, -0.0331700779, -0.0347246937, 0.0103097288, -0.0233948417, -0.07895834, -0.0279229786, -0.0521176346, 0.0562991649, -0.0029952496, 0.0106800748, -0.0223899446, 0.0050794715, -0.0399506651, 0.0186962541, 0.1100487709, -0.04379756, 0.0283738282, 0.012478062, 0.0040464369, 0.0471066833, 0.0704991296, -0.0069825635, 0.0127618834, 0.041965887, -0.0318557173, -0.0055687455, 0.069405891, 0.0285968035, -0.0130311726, 0.008849781, 0.0186257754, 0.0468827076, 0.0165270679, 0.0594831035, -0.0367817767, -0.023000963, -0.0094343452, 0.0114948647, 0.0250300243, 0.0474288985, 0.0041996278, 0.058500886, 0.0405503102, 0.008992455, 0.0092383213, -0.0186531898, -0.0035513353, 0.0139414156, 0.0275528915, 0.0372245312, 0.0217172671, -0.0272460114, -0.0451922901, -0.0022108371, -0.0314653516, -0.0015560403, 0.0232558437, 0.0530079976, 0.0150091108, -0.0521190464, 0.0718378201, 0.018265672, -0.044321157, 0.049203001, 0.0115626166, -0.0070111505, 0.0753991306, -0.010083002, -0.0223586932, -0.0655782148, -0.0283051357, -0.0000413626, 0.0024978512, 0.0022281513, 0.0082104988, 0.0686953664, -0.0813142061, -0.031946633, -0.0033425197, -0.0233187973, 0.1002180427, -0.0630481467, 0.0055426308, 0.0117616812, -0.0573123023, 0.0054720184, 0.0115936631, -0.0525597073, -0.0204921253, 0.0063728299, 0.0282759499, 0.0492827222, 0.05265278, -0.0045385323, -0.0327408314, 0.0285717119, -0.0054815919, 0.0014390451, 0.0347561873, -0.092798464, -0.0449689515, 0.0237989016, -0.002887703, -0.0506592803, 0.0094496729, -0.0163237806, -0.1026018783, -0.0022615234, 0.0396917202, 0.0166935008, -0.0704140738, 0.0336359441, 0.0310515556, 0.0404796712, 0.0260786023, 0.0121937329, 0.0059596081, 0.017685011, 0.0653932542, -0.0019711803, 0.064771831, -0.0597441681, -0.0404625759, 0.0416373312, -0.0406356119, -0.0176393446, 0.0019107696, 0.0149572156, -0.0456800498, 0.0316825919, -0.1029340476, 0.0031580201, -0.0286223982, 0.0395523682, 0.0345581397, 0.0338988155, -0.0198569056, -0.0570318252, -0.0212939102, -0.0692014247, 0.0291217808, -0.0491119586, 0.0012820142, 0.0381003506, 0.0088032046, -0.02968885, 0.0275543984, -0.0053229691, 0.0106069706, -0.0157883391, -0.0404873081, -0.0457789898, -0.0082301954, 0.0029580367, 0.0373466462, -0.0194182917, -0.0516284294, -0.0366558097, 0.0098702591, 0.0035310925, 0.028417049, -0.0048653958, -0.0248646773, 0.0393757038, -0.060399387, -0.0542229824, 0.0362931825, -0.0040830248, 0.0307908207, -0.0509712249, 0.037772987, -0.0075883516, 0.0898948759, -0.0013039212, 0.0179196168, -0.044915162, -0.0352799222, -0.0064096102, -0.0258144382, -0.0305999611, -0.0268356632, -0.0179429464, 0.0606228858, -0.0117063858, -0.0143518476, 0.0474648215, -0.1112898663, -0.056483496, -0.0596748106, -0.0141559206, -0.0226800721, 0.0316734761, 0.0016486875, 0.0090377266, 0.0150550753, -0.0629029945, -0.0161434356, -0.0054324605, 0.0018354495, -0.0011758897, 0.0053021172, -0.024193529, 0.0089824153, 0.0078318538, -0.0234993789, -0.0505150892, -0.0148172108, -0.0369912945, -0.0263557285, -0.0058089909, -0.0214838404, -0.0209554583, 0.0231403578, -0.016989382, 0.0492887236, 0.0087891072, 0.0314376764, -0.0136712063, 0.0171029046, -0.0034318573, 0.0293146428, -0.0370242707, 0.0054577584, 0.0544745401, -0.0166560654, 0.0136743831, -0.0083289742, -0.0210103989, 0.0280301329, 0.0579381064, -0.0359667838, -0.0247059502, 0.002306029, 0.0386821441, -0.073696889, 0.0486313254, 0.1408850104, -0.0091948211, 0.0038592487, -0.0376563668, -0.0035601358, -0.0263492595, 0.0310968999, 0.0355233476, -0.0824367553, -0.0494959913, 0.0215016846, 0.0041490695, 0.0380330347, 0.004589125, -0.0175184403, -0.1196110919, 0.0404029414, -0.0049326532, -0.0966198668, -0.0019582717, -0.0208064467, -0.0145779541, -0.0244245026, 0.0132029383, -0.0017136156, -0.0019829771, -0.0207333043, 0.0326084979, -0.0580308549, -0.0272340961, 0.0337533727, 0.0077722305, 0.0761292204, 0.0228382833, 0.0425533503, -0.0004494874, 0.0086391848, 0.0190543234, -0.0186524373, -0.0190928485, -0.0054273764, 0.0419749543, -0.0124067366, -0.0426599011, 0.0650651604, 0.0365972146, -0.0234609582, 0.0220511425, 0.0071265469, 0.0355010629, 0.0110218627, 0.0288007353, 0.0331172533, 0.0370355286, 0.0494690873, 0.056680046, 0.0196570922, -0.0094437506, -0.0053629805, -0.0080731167, 0.0384318493, -0.0583575591, -0.0047074435, 0.0433544666, 0.0022972799, -0.0533226989, -0.0053360108, -0.0461909771, 0.0169034973, 0.0236612931, 0.0264949743, 0.0243953038, 0.0110782403, -0.0042588362, -0.0343698412, 0.0492173694, 0.0042621084, 0.0195836481, -0.0578634143, -0.0282067377, -0.0088643879, -0.0658482313, -0.0203598272, 0.0217831638, -0.0540602766, -0.0291961227, 0.0043426747, 0.0507661924, 0.0157370809, 0.1127615571, -0.0311128572, 0.0052636503, 0.037405055, 0.0080129132, -0.0766486898, -0.0491178595, 0.0755152628, 0.0101890452, -0.0177149735, 0.0210206099, -0.0291015003, 0.0204164479, -0.0216751564, 0.0101907179, -0.0117398249, -0.0392493792, 0.0218521822, 0.0051946701, 0.0687663481, -0.026014274, 0.0217489377, -0.0582448319, 0.0466941446, -0.006826885, -0.0026869443, -0.0298761036, -0.000002764, 0.0426387116, -0.0302718673, 0.0313998237, -0.0242276695, -0.0329457335, -0.0308245439, 0.0085524702, 0.0357708372, 0.0462505743, -0.0108981933, 0.0135050733, 0.0035310427, 0.0054534585, 0.0237026718, 0.0549330525, 0.0490909852, -0.0085890573, 0.0456822515, -0.0165609624, 0.0165238883, 0.0216961857, 0.0283032395, -0.0195532497, -0.043187771, -0.0032140042, 0.0114719942, 0.0309495814, -0.053386867, 0.0462205634, 0.0050087869, 0.022068711, -0.0098054642, 0.0480194427, -0.0293000899, -0.0073419651, 0.0124509474, -0.0198775306, -0.0243802797, 0.0191156119, 0.0590091348, 0.0112742716, 0.0387352183, 0.0327446237, 0.0332775749, -0.0504048765, -0.0575195029, -0.0006647372, 0.0209507477, -0.074937582, -0.0059951223, -0.0120601421, -0.0728093833, -0.0021613815, 0.0146287326, -0.0300327223, 0.029969275, 0.0137441009, 0.0498434529, -0.0371845551, 0.0384438895, -0.020235572, -0.0286188349, 0.0042515039, -0.0035134831, 0.0190602988, -6.356062524e-33, -0.0352232493, -0.0034002583, -0.0068858811, -0.0021574479, 0.0070319129, 0.0133431768, -0.0130921267, -0.0100494772, 0.0247305743, -0.0234697685, 0.0124920746, -0.0035730244, 0.029727418, 0.0417111814, 0.0174762625, -0.0009809626, 0.0721517652, 0.0232203621, -0.0245569982, 0.0086547304, 0.0182115082, 0.0787087157, 0.0883559734, 0.003604759, 0.0341044776, 0.0006362679, -0.0097031901, 0.0313688293, 0.0290762093, 0.0405810736, -0.0017419382, 0.0317851193, -0.0043853261, -0.0569921657, -0.0376617275, 0.0249948837, -0.1258505285, -0.0361551307, 0.0308508463, 0.056330096, -0.0233610608, 0.0357250236, -0.0082595246, -0.0164131764, 0.0337309688, 0.0099418014, 0.0339485519, 0.0130455354, 0.0091653271, -0.009050237, -0.0278807357, 0.0241507813, -0.081408985, -0.0605006181, 0.0753013641, 0.0784046128, 0.0018440426, -0.0320232734, -0.0828442723, 0.0193365607, -0.0286433585, 0.0059833732, 0.0797587261, 0.0115647148, 0.000836704, 0.0223513879, 0.034758877, -0.035236761, 0.0245587304, 0.0240698755, 0.0017416239, -0.0099323932, -0.0385810062, 0.0156505909, 0.0530997515, 0.0130816502, -0.0163806491, 0.0332350582, -0.0217803847, 0.041407939, -0.0234179311, -0.0015358813, -0.015565631, -0.0034599295, -0.0622934252, -0.0360416584, -0.0068413164, -0.0386002809, 0.0419950224, -0.0110290134, -0.0230157748, -0.004276555, 0.0659958571, -0.026275171, -0.0129482308, 0.0194913074, -0.0146054951, -0.0425728075, -0.0092171263, 0.0913781375, -0.0511189103, -0.0297541935, 0.0005324899, 0.0385362096, 0.0136051122, -0.0174637362, -0.0017012237, 0.0218816753, -0.041678302, 0.0277167745, -0.0449397229, 0.0190387461, -0.0452869274, 0.0434167609, 0.0633357391, 0.0059768907, -0.0299987514, 0.069096081, 0.0091824736, 0.0079489266, -0.0097318767, -0.0632185489, 0.0210420862, 0.0353316031, -0.0252851099, -0.0225615837, -0.02729485, -0.0219028313, 0.0322367176, -0.0237090122, 0.0301384106, 0.0328893177, 2.811e-7, 0.0378771424, 0.000132978, 0.0319628231, 0.0117587475, -0.0018791223, 0.0159324892, -0.0356549136, -0.0243050624, -0.0054212897, -0.0026732336, 0.0263282806, 0.0147594595, 0.0418411568, 0.0087019019, -0.109941721, -0.0179466791, -0.0404835008, 0.0076846792, -0.0735532567, 0.0056755226, 0.0102983024, 0.0904422775, -0.0208818726, -0.0047629066, 0.0112692863, -0.0298080966, 0.0070867487, -0.0218694918, -0.0101993969, 0.0256467648, 0.0099859582, 0.0487215668, -0.0115719503, 0.040169064, -0.0372306369, 0.0479402766, 0.0047206609, 0.0352831185, 0.0205843393, -0.0250135642, -0.0070056226, 0.024250064, -0.0244855434, -0.0546192713, 0.0563164204, -0.0514247678, -0.0112680662, -0.0341650322, -0.0366877429, -0.0028907522, 0.0446457118, 0.0137572791, 0.0123323705, 0.0560957566, 0.0174464118, -0.0510813519, -0.04167917, -0.058970809, -0.0303774551, -0.0039307787, -0.012108624, 0.0417353734, -0.0244560558, -0.0765230134, 0.0393308997, -0.0083270874, -0.0068688807, 1.903620692e-34, 0.0335335508, -0.0145299137, 0.0115459599, 0.0036118987, 0.0265460629, -0.0462805666, -0.0217062067, 0.0258262325, 0.0100787394, -0.0165837295, -0.0063106171 ]
http://arxiv.org/abs/2310.06061v1
http://arxiv.org/pdf/2310.06061v1
Auditing Gender Analyzers on Text Data
2023-10-09T18:13:07
2023-10-09T18:13:07
Siddharth D Jaiswal, Ankit Kumar Verma, Animesh Mukherjee
cs.CY
cs.CY, cs.CL
AI models have become extremely popular and accessible to the general public. However, they are continuously under the scanner due to their demonstrable biases toward various sections of the society like people of color and non-binary people. In this study, we audit three existing gender analyzers -- uClassify, Readable and HackerFactor, for biases against non-binary individuals. These tools are designed to predict only the cisgender binary labels, which leads to discrimination against non-binary members of the society. We curate two datasets -- Reddit comments (660k) and, Tumblr posts (2.05M) and our experimental evaluation shows that the tools are highly inaccurate with the overall accuracy being ~50% on all platforms. Predictions for non-binary comments on all platforms are mostly female, thus propagating the societal bias that non-binary individuals are effeminate. To address this, we fine-tune a BERT multi-label classifier on the two datasets in multiple combinations, observe an overall performance of ~77% on the most realistically deployable setting and a surprisingly higher performance of 90% for the non-binary class. We also audit ChatGPT using zero-shot prompts on a small dataset (due to high pricing) and observe an average accuracy of 58% for Reddit and Tumblr combined (with overall better results for Reddit). Thus, we show that existing systems, including highly advanced ones like ChatGPT are biased, and need better audits and moderation and, that such societal biases can be addressed and alleviated through simple off-the-shelf models like BERT trained on more gender inclusive datasets.
[ 0.0626004636, 0.0991663188, -0.0179158114, 0.0078727966, 0.0057681818, 0.0234217998, 0.0786272585, -0.0034792696, 0.0323525853, -0.077343747, -0.0033484439, -0.0345356427, 0.0074571599, 0.0267998558, 0.0058955983, -0.0026296426, -0.0002306328, 0.0240237918, 0.0148986001, -0.0099697597, 0.0312394314, 0.0312622041, 0.0031905582, 0.0740843341, 0.0025256434, -0.0313372016, 0.032915011, 0.0127917491, -0.0090019321, 0.0117578609, 0.0885143504, 0.0533665605, -0.0409976617, 0.0694188476, 0.0000019496, -0.0644315854, -0.0012584295, 0.0445999727, 0.0024892008, -0.0069105257, 0.0135376276, 0.0024042039, -0.0227404144, 0.0455269553, -0.0173042919, 0.0000229895, 0.03983628, 0.0299880616, 0.0630584881, 0.0408490449, -0.0224168655, 0.004395721, -0.0228872616, 0.0040209373, 0.0122916503, -0.0082947696, 0.0351963378, -0.0576121025, -0.0144978222, 0.0090793381, -0.007970186, 0.020517882, 0.0092138806, -0.0277620498, 0.0208135284, 0.0345993526, -0.0439585112, -0.0725938976, 0.0047184112, 0.0519524738, 0.0142449327, 0.0064949114, 0.0428508967, 0.0225873236, 0.0111987414, -0.0146714486, -0.0274993274, 0.0343182571, -0.0444326736, -0.024951715, -0.0548044369, -0.0556021221, 0.0379153751, 0.0601095557, 0.0046727997, 0.0439524613, -0.0078709861, -0.0576267578, 0.0031145194, 0.0135668004, 0.0376477502, -0.0531464517, 0.0468399674, -0.013666926, -0.0046927654, -0.007582786, -0.0238423776, -0.024511721, 0.0270179883, -0.0233437531, 0.019880861, 0.0276979059, -0.0172731914, 0.0240419563, -0.0252355523, 0.0342299864, 0.0275870264, 0.0406031199, 0.0166457966, -0.0369446687, -0.02180879, -0.0051225978, -0.0265644658, -0.015854476, 0.0192171894, 0.0339584276, -0.0260322969, -0.0084933722, -0.0638744161, 0.0137738911, 0.0151994396, 0.0103253564, 0.0028018644, 0.0333395712, 0.0093259001, -0.023952201, -0.0445993766, 0.0076246867, -0.0267128032, -0.0654571503, 0.0081954151, 0.007299535, 0.0083833411, -0.0227885488, 0.0179182477, 0.0382678919, 0.02239893, -0.0438728854, -0.020142341, -0.0176564772, -0.0311125722, -0.0372419842, 0.0171544664, -0.0494625308, 0.000832458, 0.0402157418, 0.0053840699, -0.0041279779, -0.0037475307, 0.0212678313, -0.027495414, 0.0553210415, 0.0380475037, -0.0010258806, 0.0702489763, 0.0482604876, -0.0334365815, 0.0849215612, 0.0316156857, 0.0303074159, 0.0524067432, 0.004734138, 0.0225778557, 0.03915805, 0.033561103, 0.0171097964, -0.0059299883, 0.0124720894, -0.0452510454, -0.0081152963, 0.0322581679, 0.0263222288, 0.0312088206, -0.0336435065, 0.0330418013, 0.0669664294, 0.0319630206, 0.0693768933, 0.0115218349, -0.009664936, 0.0013928966, -0.004057365, -0.0678053275, -0.0047721094, -0.0342428461, -0.0575001463, 0.0229707137, 0.0037899786, -0.0299950317, -0.0291639715, -0.0122755086, 0.0014420429, 0.0264850538, -0.0046889698, 0.0265596379, -0.0031879253, -0.0197859816, 0.0215295497, 0.0131539302, -0.0567051545, -0.0149154672, -0.0935487002, 0.0308876317, 0.0562534146, 0.0001884309, -0.055397775, 0.0195320696, -0.0546019152, -0.0048952759, 0.0133958748, 0.0375340283, 0.00648657, 0.000648572, -0.0570677444, -0.0366541967, 0.0274227504, 0.0291109551, 0.031312868, 0.0705467537, 0.0564315394, 0.0152227841, -0.0000129604, -0.0386866182, 0.0220664348, 0.0164321531, -0.0140959658, 0.0245500095, 0.0227783117, 0.024774177, 0.0227227602, -0.0416028723, -0.0092991944, -0.0299569461, 0.0108955456, -0.0368936248, -0.0243535936, 0.0190866422, 0.0224479251, 0.0252744108, -0.0694021434, -0.0947821662, 0.0732769668, -0.0094124842, 0.0175009985, 0.0445506088, -0.0458013453, -0.0070526022, -0.0134715717, -0.0199133921, -0.0239396486, 0.0127212238, 0.0004760996, 0.0082741585, -0.0357441194, -0.0080479793, -0.0286210664, -0.0424130671, -0.0111871418, -0.0412942097, -0.0557380505, -0.0100026652, 0.0033756448, 0.0371520035, 0.0335599184, -0.0204692297, -0.0303100478, -0.0353669375, -0.0994409174, -0.0197962318, -0.0161261149, -0.0243566595, -0.0208109673, 0.0067879753, -0.0229799077, -0.0101414574, -0.0199146848, -0.0331017897, -0.0019914806, 0.0429613404, 0.0299723428, -0.0249623619, 0.012432063, -0.0309070162, -0.0344631411, -0.048110906, 0.0565208644, 0.0509809703, -0.0243049171, -0.0032753241, -0.0220000632, -0.0218009446, -0.0062617213, -0.0173101928, -0.0379418656, 0.0450469591, 0.0125775943, 0.0161025785, 0.0687230006, 0.0587442368, 0.0427048989, 0.015674796, 0.0437354408, -0.0297985487, -0.0007001151, 0.0437183008, 0.0170892235, 0.0470274277, -0.0712822378, -0.0070636375, 0.0254392922, -0.0101502305, -0.0317373015, -0.0545510575, 0.0476424359, -0.0458205342, -0.0572393127, -0.0348160714, -0.0251445565, 0.02468374, 0.0050453586, -0.0388897508, -0.035974957, 0.068858102, 0.0061815628, -0.0095673036, -0.0003994281, -0.0313935168, -0.0507265143, 0.0458526351, -0.0206810832, 0.0217484627, -0.0000342276, -0.0128664132, -0.0127212666, -0.0453334041, 0.0326121673, -0.0331544913, 0.0415208898, 0.00514512, 0.0264540128, 0.0172466747, -0.0642577633, -0.0440235287, -0.0501095168, -0.029097287, -0.0243738256, 0.0040010614, -0.0360739604, -0.0381748676, 0.0210605897, -0.0060088425, 0.0381621644, -0.0069788559, -0.0333527923, 0.0300610699, -0.0070825587, 0.0050125341, -0.030326331, 0.0104037775, -0.0445308983, -0.0255735852, 0.0611847155, -0.0147261145, 0.0256217923, -0.0127562983, -0.0035932621, 0.0053520035, -0.0306936502, -0.0059780469, -0.0431094244, 0.028623851, -0.0435234122, 0.0199820083, 0.0878786817, 0.0196610168, -0.0460032187, 0.0035268029, 0.0023052378, -0.002946907, 0.0085946759, -0.0116361128, -0.1002482176, -0.0142301433, 0.0213751197, 0.0453823209, -0.0470354483, -0.0666118339, -0.0072693313, -0.1060231552, 0.0094183385, 0.0044332752, -0.0138175255, -0.0442739837, -0.0455284119, 0.0197099857, -0.0483345054, 0.0035606991, -0.0274831541, 0.0270255152, 0.0275622904, 0.0035163495, -0.0777248591, -0.0083252685, 0.0368816257, -0.064943634, 0.0498155504, 0.0355966203, 0.0615020841, -0.0283607338, 0.0129509633, 0.0636309683, 0.0182466824, -0.0067031835, -0.0127319936, 0.0499037132, -0.0343064554, -0.0211961847, -0.053879384, 0.035357438, 0.0322366357, 0.0272095483, 0.0306682121, 0.0039577438, 0.0275160447, -0.051880952, -0.0815321505, -0.0265344959, 0.0038039908, 0.0698082298, 0.0166987423, -0.0553977415, -0.0596921034, -0.0778528899, 0.0072563179, -0.004886223, -0.0417109169, -0.0059681037, 0.0199340358, -0.0801344216, -0.0194553602, -0.0435243398, -0.0075739762, -0.0156327039, -0.0148042571, -0.1000308171, -0.0002238806, 0.0314098746, -0.066387549, 0.0307522304, -0.0024569002, 0.0348906368, -0.0014877556, -0.035884738, -0.0292128008, -0.0127081396, -0.0234447233, 0.0251036584, -0.0210456066, -0.0523203053, 0.0387407355, 0.0509728044, 0.0243237317, 0.0158350617, -0.0281143878, -0.0483787432, 0.0505048074, 0.0885199979, -0.0257031489, 0.0077747251, 0.0555963628, 0.0099784657, 0.0049736155, 0.0369863436, -0.0355228148, 0.020262247, -0.0242592599, -0.0158416368, -0.0254610293, -0.0121346768, -0.0340899006, 0.0174290836, 0.0016756074, -0.0065513346, 0.0062874546, -0.0243302435, -0.0172907449, 0.0180288833, -0.0182736143, -0.0083721615, -0.0275948681, 0.0104528069, -0.0047835652, -0.049413465, 0.0137897264, -0.0167424306, 0.0153592676, -0.052259896, 0.0401423872, 0.0308343749, 0.0897194743, 0.007543596, -0.0234621372, -0.0029052335, 0.0132874185, -0.0008945033, 0.0248058699, 0.034892913, 0.0085279774, 0.0037350652, 0.0210275706, 0.0043486832, 0.0027322439, -0.0598625094, -0.0111157857, -0.0042965314, 0.0414649323, -0.000091676, 0.0011022643, 0.0074113919, 0.0213153195, -0.0301388297, 0.0114340503, 0.0107732676, 0.0180987101, 0.0183306187, -0.0093766833, 0.0095931897, 0.0067229196, -0.0174855515, 0.0339259729, 0.0317264348, 0.0551077239, -0.0022486483, -0.0577013455, -0.0293517336, -0.0061955722, 0.0154669136, -0.0456769466, 0.0151278777, -0.0066403658, -0.0597141869, -0.0521833338, 0.0089138402, -0.0267919265, 0.0513752922, 0.0232579652, -0.009289043, 0.0604815893, 0.0000644056, -0.0299483258, -0.0267468784, 0.0129644508, -0.0131886154, -0.0304846242, -0.0015220095, -5.948375369e-33, 0.0107983463, -0.0621996559, -0.0437031649, -0.0182791501, -0.0045377063, 0.0354263745, -0.0167141911, -0.0192452334, 0.0065105972, 0.0191055667, -0.002382563, 0.0626639202, 0.0045330692, -0.0048502469, 0.001882371, -0.0391370952, 0.0607111417, 0.0085325632, -0.0315189771, -0.0023203464, -0.0286389943, 0.0471257418, -0.0109628355, -0.0892982781, 0.0944073945, -0.0039457441, -0.0216870755, -0.0049885032, -0.0171678104, 0.04194621, -0.000591924, 0.0719489306, 0.0164896268, 0.0042055682, 0.0397522226, 0.1033840925, -0.0782237276, -0.0173994061, -0.0374585129, 0.0332873687, 0.033203315, -0.0112122791, 0.0418697, 0.0183708984, -0.0280070845, -0.0392615609, 0.0607521683, 0.0171878804, 0.0861078352, -0.0069706105, 0.001247231, 0.0194346849, -0.0607985295, -0.0129678166, 0.0126479911, 0.0586988889, 0.020428367, -0.0096918941, -0.0835476965, 0.0230381247, 0.0149086425, -0.0580742471, 0.0201535411, 0.0047052293, 0.0144420788, 0.0318186209, 0.0769150481, 0.0431976169, -0.0752876103, -0.0819257274, 0.0242815558, -0.0187470727, 0.038859345, 0.0348381698, 0.0361192599, -0.0348155275, -0.0730191767, 0.0069509507, 0.0446342379, -0.0058222627, 0.0371823534, -0.0235718265, -0.0911887437, -0.022787381, -0.0076315193, -0.0704557076, -0.0272833332, -0.0134783909, -0.0036981876, -0.0058904588, -0.0673489571, 0.0088663474, -0.033842355, -0.0623638406, -0.0528551526, 0.0101147909, -0.0142268771, -0.0302145611, 0.0292586032, 0.0009204167, -0.0356987864, 0.0374949127, 0.0243766475, 0.0388794839, 0.0422912389, 0.0139119318, 0.0186291095, 0.031070644, -0.0767128766, -0.0348868631, -0.0235027447, 0.0343140177, -0.0187970717, 0.0508580618, 0.0161273107, 0.0346798748, -0.0067777778, 0.0265597217, 0.0444964617, 0.0926779062, -0.0490130149, 0.0228264574, -0.0158419311, 0.0041453857, -0.0010840244, -0.0451945849, -0.007032203, 0.0190628022, 0.0311372373, -0.06214628, 0.0066761458, -0.0699375868, 2.563e-7, 0.0074101146, 0.0370321609, 0.0244221017, 0.0055409428, 0.0272316709, 0.0477032028, 0.0237210952, 0.0612360798, 0.0477518924, -0.0190977044, -0.0365195982, 0.054057233, 0.0140379397, 0.0441128947, -0.03273784, -0.0405856594, -0.0764843225, 0.019598309, -0.0337531455, 0.0534655973, -0.0084039867, 0.0608735755, 0.070335187, -0.0225862972, 0.0012984424, -0.0223492999, 0.0358526707, 0.0164069906, 0.0285566878, -0.0078877984, 0.0265715327, 0.0169642661, 0.0279884841, 0.0222864468, -0.002679518, -0.0004189712, 0.0059951381, 0.0281685647, -0.0153729664, 0.0282228906, 0.0060231257, -0.000831552, -0.0033390368, -0.0540106222, 0.0772848949, 0.0236066356, -0.0333689936, -0.0731118917, -0.0124803009, -0.0342057161, 0.0948783308, -0.0048177573, -0.0311642252, 0.0178710259, 0.002348202, -0.0254149865, 0.0133821256, -0.0814175159, -0.0218220465, -0.0175769478, -0.0222019684, -0.0541761257, -0.0081272218, 0.044706814, 0.0323731937, -0.0446347184, 0.0537993386, 2.081204483e-34, -0.000681961, 0.011794609, -0.0121864444, -0.0184345767, 0.0292178858, 0.0115933372, 0.029650379, -0.0129506141, 0.0618839189, 0.0173428673, -0.0035559004 ]
http://arxiv.org/abs/2310.06046v1
http://arxiv.org/pdf/2310.06046v1
LLM for SoC Security: A Paradigm Shift
2023-10-09T18:02:38
2023-10-09T18:02:38
Dipayan Saha, Shams Tarek, Katayoon Yahyaei, Sujan Kumar Saha, Jingbo Zhou, Mark Tehranipoor, Farimah Farahmandi
cs.CR
cs.CR, cs.AI, cs.CL
As the ubiquity and complexity of system-on-chip (SoC) designs increase across electronic devices, the task of incorporating security into an SoC design flow poses significant challenges. Existing security solutions are inadequate to provide effective verification of modern SoC designs due to their limitations in scalability, comprehensiveness, and adaptability. On the other hand, Large Language Models (LLMs) are celebrated for their remarkable success in natural language understanding, advanced reasoning, and program synthesis tasks. Recognizing an opportunity, our research delves into leveraging the emergent capabilities of Generative Pre-trained Transformers (GPTs) to address the existing gaps in SoC security, aiming for a more efficient, scalable, and adaptable methodology. By integrating LLMs into the SoC security verification paradigm, we open a new frontier of possibilities and challenges to ensure the security of increasingly complex SoCs. This paper offers an in-depth analysis of existing works, showcases practical case studies, demonstrates comprehensive experiments, and provides useful promoting guidelines. We also present the achievements, prospects, and challenges of employing LLM in different SoC security verification tasks.
[ 0.0281684604, 0.0629888922, 0.0138560524, 0.0363542363, -0.0441019572, -0.0358820148, 0.0458691828, -0.0386540778, 0.0115822786, -0.0369261056, 0.0031715801, -0.0105390335, -0.0121866278, 0.0129757971, 0.0412854329, 0.0426580645, 0.0698877871, -0.0506892167, -0.0248751361, 0.0247751363, -0.0000719082, -0.0177452862, 0.0175575167, 0.0485074036, -0.0094255451, -0.0059576104, -0.0145473089, 0.0389353335, 0.0408484712, -0.0136567904, -0.0214797612, 0.0617812648, 0.0122094816, 0.0063885017, 0.0000022061, -0.0404534973, -0.0621033013, 0.0426742658, -0.0295240488, 0.0288516153, -0.0087609813, -0.0109809684, -0.0297575798, 0.0293993689, -0.0290886685, -0.0335324369, 0.0244302563, 0.0879284665, 0.0798494667, 0.0643226355, 0.0078575555, -0.0334589779, 0.027274996, -0.0211515948, -0.0261766203, -0.0369151086, 0.0149830412, -0.0168439727, 0.0078644576, 0.014636389, 0.0076693785, -0.0038137517, 0.040924672, 0.0046058991, -0.0416270532, 0.0385170951, -0.0314944088, 0.033897765, -0.0268887784, 0.033374723, -0.0536772497, -0.0109812804, -0.0035715695, -0.0051082382, -0.0344859362, 0.0074394955, 0.0232341234, 0.0172306783, -0.0232577864, -0.0026688124, 0.0035417269, -0.0061460761, 0.0515497401, -0.0579404607, -0.0085549271, 0.0597118139, 0.0479456261, -0.0149230389, -0.0290578697, -0.046118971, 0.0044325162, -0.0716175437, -0.0234772377, 0.0598080419, -0.0081440667, 0.0239084847, -0.0680332258, 0.0038320466, 0.0044262675, -0.0172984209, 0.0017188932, -0.0056798449, 0.0180761889, -0.0113044167, -0.0421306975, 0.0208748989, -0.0537721924, 0.0336079597, -0.0242684819, 0.0302872099, -0.0345690362, -0.045498509, -0.0160173178, 0.064253442, -0.0011969148, -0.0145595586, -0.0356049314, 0.0017326565, -0.0159450043, 0.0580688752, -0.0049120993, -0.0202276036, 0.0031007607, -0.0353504904, 0.0151012614, -0.0464682281, -0.0033989719, -0.0097286804, -0.0510865152, -0.0767401308, -0.0246832073, -0.0049113338, -0.0570724495, 0.0111158835, -0.0219974201, 0.1055745259, 0.0368737914, -0.0508830249, -0.0711808279, -0.0269701555, -0.0352104791, -0.0536742695, 0.0172842368, -0.064803496, -0.0265207533, -0.0346218534, 0.0318755805, -0.0099026589, 0.0261702035, 0.0134244878, 0.0168652311, 0.0728120729, 0.045631893, -0.0263580903, -0.0300943442, 0.041777011, 0.0869752541, 0.0130881239, 0.0465293303, 0.0114936251, 0.0197753813, -0.0147455502, 0.0581319034, 0.0150285009, -0.0057061268, -0.0444747992, 0.0269197915, 0.0270847827, 0.0057854699, -0.0819334462, -0.0624460205, 0.069484435, 0.0166931134, -0.0082726302, 0.0342753381, 0.0499839298, -0.0145068234, 0.0475010462, 0.0426748395, 0.0098768454, -0.0067201359, -0.0389702283, -0.0231573191, 0.0197391957, -0.0581413209, 0.0002915925, -0.0154542616, 0.042811349, -0.0206664708, -0.0115859751, -0.0235935301, -0.0557722636, -0.0336092338, 0.0161464233, 0.0287984814, 0.0148377288, -0.0083812634, 0.0428019091, 0.0292367525, -0.0728177875, -0.0458514914, -0.1028054878, 0.0304292124, 0.0322935171, 0.0438194834, -0.0353244245, -0.004531648, 0.0042020925, -0.0264599882, 0.0301994272, -0.0148876142, 0.0301245563, 0.0058907773, -0.0216484088, 0.0121342447, -0.0285902172, 0.0294126701, 0.0238647591, 0.0128132803, -0.0315362215, 0.0406080596, -0.0110704564, -0.0047957688, 0.0181257818, 0.0179558229, -0.0155543536, 0.0480488241, 0.0309123266, 0.0098901698, -0.0127805574, -0.0571581349, 0.0543802343, 0.0239660684, -0.0298190415, 0.0160449222, -0.015401572, -0.0266538579, 0.0094465427, 0.0099656349, -0.0505716503, 0.0117624123, 0.016492445, -0.0514822379, -0.051619634, 0.0577595569, -0.0640815645, 0.0066642012, -0.0443106033, 0.0205799006, -0.0000438215, 0.0215074997, -0.0350644737, 0.039145533, 0.0169509109, -0.0466881432, -0.0043896618, 0.0131251467, 0.0370954275, -0.0023002578, -0.0358163714, -0.0385947339, -0.0167404059, 0.0007763171, 0.018019842, -0.0048733992, -0.0152916424, -0.0143159693, -0.0403292775, 0.0192588996, -0.022672968, 0.0341281816, 0.0218208842, -0.0040254956, 0.0033673968, -0.0004350401, 0.0016324825, -0.012871366, 0.0014994605, -0.0563554727, 0.0012364774, -0.0112419417, -0.0531736128, 0.0181487966, -0.0116516594, -0.015452547, 0.0659238473, -0.0179481078, 0.0511415638, -0.0483587123, 0.0577067323, -0.0115929935, 0.0107307825, -0.0294322744, -0.0331529863, 0.0439867489, 0.0118817203, 0.042602066, 0.0496507585, 0.0384734273, 0.0131629221, 0.0573672131, -0.0600023381, -0.0016797107, 0.0037038727, 0.0212737173, -0.0488934442, -0.0497147329, 0.0148405591, 0.0404090248, 0.0712303445, 0.0151894884, -0.0216543023, -0.041412916, -0.0161019266, 0.0041977875, -0.0048055495, 0.0351964422, -0.0430179797, -0.0179974064, 0.007406408, -0.0257713906, -0.0506349877, 0.0639458671, -0.0693992004, 0.0231002085, -0.0387692228, -0.0126666389, -0.0146934986, 0.0434421375, -0.0038177774, 0.0098407809, 0.0337426886, -0.0071640802, -0.0335929915, -0.0315709375, 0.0190149881, -0.0396042876, 0.0416059196, -0.0502864048, 0.0147568602, -0.0346017703, -0.0002393285, -0.0578811243, -0.0058618286, -0.0113945203, 0.0019639977, 0.0130255204, -0.0291178767, 0.0141462311, 0.0361080393, 0.0236179363, -0.0158300195, 0.0349225551, -0.0465005152, -0.0154765807, -0.018650433, 0.0265292339, -0.0432000346, 0.0117516695, -0.0228743777, 0.0145156505, 0.0420911498, 0.0541322418, -0.0180564914, -0.085031867, -0.0170948301, -0.0001024369, -0.0289546717, 0.0352611095, 0.0578535832, 0.0486378744, -0.0057785441, -0.0323725231, 0.0706672668, -0.0060177101, 0.0158982873, 0.027991619, 0.0646304488, -0.0009373553, 0.0215905886, 0.0642761365, -0.0914435834, -0.0081129745, 0.0198295508, 0.0143170655, -0.0229795221, -0.0037477985, -0.0709343329, -0.1063064039, 0.0318233445, 0.0206715818, -0.0405474529, -0.0560397021, -0.0291709714, -0.0306737795, 0.0380024947, 0.0071068672, -0.014559323, -0.0072727343, -0.0070206928, -0.034377791, -0.0818464309, -0.0182826445, 0.032251589, -0.020728875, 0.02498601, 0.0617675819, -0.0438943021, 0.0117211686, 0.0019880848, 0.0506466962, -0.0063029998, 0.0117567787, 0.0130172623, -0.0115032261, -0.0126709612, -0.017278716, 0.0054947771, 0.0344333947, -0.0170929488, -0.0526789092, 0.0038226091, 0.0382559784, -0.0101597216, -0.0258937012, -0.0034885861, -0.0114023956, 0.0418002196, -0.0009911445, 0.0101502193, -0.0018249587, -0.052170638, -0.0228555333, -0.0035180491, -0.0467603952, -0.0566364676, 0.0293869022, 0.023744924, -0.0438252501, 0.0020638949, 0.0575342886, -0.0509077571, 0.0139832348, 0.0515036061, -0.0740220025, 0.0800299272, 0.0302009098, -0.0646266937, 0.0106090363, -0.0707568303, 0.0406009518, -0.0415390134, 0.0067565641, 0.0103233913, -0.009151469, -0.0651365072, 0.0394398309, -0.0816045552, -0.0751523376, -0.0136121651, 0.0914307982, 0.0150684984, -0.043121703, -0.0380345546, -0.00515272, 0.0630759448, 0.0518176258, -0.0236517843, -0.0023893598, 0.0615334697, -0.0451190807, -0.0012708505, -0.0164590739, 0.0092618503, 0.0615889505, 0.0843073651, -0.0061205244, 0.0009586831, -0.0329660065, 0.0281587821, 0.050198365, 0.0405289568, 0.0006460143, 0.0421219878, -0.0064014592, 0.0553153194, -0.0337838531, -0.0075317421, -0.0120159015, -0.007611623, 0.0258269832, -0.0405275337, -0.0074736881, -0.0089731952, -0.0200280193, 0.0441030376, 0.0278540775, 0.0138539448, 0.0260271989, 0.0257982016, 0.0324174985, -0.016892964, -0.0128479488, 0.0397504494, -0.0009542524, 0.0397864841, 0.0024686947, 0.0337219574, 0.0103302412, 0.0367060751, -0.0500427522, 0.0397400819, -0.0619733408, -0.0701255649, -0.0041388581, 0.041810479, 0.0026122401, 0.0457745306, -0.0279620346, -0.028552128, 0.0368704237, -0.0613430217, 0.0577683859, -0.0204830654, -0.0485851802, 0.0221176799, 0.0018050337, -0.002080891, -0.009079312, 0.0554722622, -0.0495346524, 0.0343098715, -0.0217635036, -0.0015998769, -0.0829350352, -0.0432987548, -0.0153201548, -0.0253044069, -0.0294334423, -0.0228316747, -0.0712344423, -0.0652467161, -0.0120351939, 0.0159117635, 0.0430309363, 0.0478625782, -0.0053964918, 0.0636950135, 0.0076596099, -0.0247531179, -0.0141623868, -0.0168245342, -0.0156828836, 0.0058356426, 0.0385230668, -5.667461974e-33, -0.0160344597, -0.0086945593, 0.0188997388, 0.024479419, 0.013123923, 0.0128764221, -0.0436882898, 0.0170728751, -0.0071509364, -0.0378665254, 0.0059152753, -0.0002099377, 0.0221747495, 0.0510955639, -0.0497686453, -0.0163727663, 0.045867715, 0.0188073423, -0.0297556389, 0.0774564818, 0.0286120679, -0.0299656224, 0.0149631808, -0.0715963542, 0.0151816541, -0.054264985, -0.0184301138, -0.0206127241, -0.0595562495, 0.0575898141, -0.0033292202, 0.0154415052, 0.0140333539, -0.0151770096, -0.008826592, 0.0497706383, -0.0208895914, -0.0191933624, -0.0183203574, -0.0169991441, 0.0172786526, -0.0751348808, -0.0057870708, -0.0065215803, -0.0167481732, -0.0037334838, 0.0126099391, 0.0065328926, 0.0218148977, -0.0728245303, -0.047561001, 0.0106481286, -0.0296028741, 0.009525246, -0.0154554797, -0.034355592, -0.022057917, -0.0078851944, 0.0089394748, 0.0621335357, 0.0372142866, 0.0254177041, 0.086825639, 0.0114211058, -0.0214810427, 0.023257982, -0.0446650572, 0.0064951684, -0.017152058, -0.008267072, 0.023740381, 0.0632261634, 0.0115362955, 0.0857172385, 0.0315388218, -0.0385838673, -0.0718057752, 0.0194607899, -0.0183923598, 0.0640920848, 0.0400991403, -0.0046178889, -0.0229296125, 0.0362749696, -0.0005725864, 0.0563498773, -0.0013097597, -0.0092340577, 0.0046744319, 0.0399080776, -0.0774790719, 0.0008590581, 0.0166710149, -0.0514257774, 0.0162972324, 0.0018542908, 0.0446790196, -0.0482839979, -0.0351153985, 0.0194527619, -0.0120942974, -0.0561588779, 0.0414719917, -0.0545775741, 0.0188834704, -0.0232078154, 0.0102923727, 0.0524655581, -0.0651292279, 0.0111788325, -0.0210875012, 0.0409109071, -0.0222339351, 0.0369590335, -0.0051803049, 0.0103130704, -0.0212332346, 0.0023287479, -0.0292378385, -0.0339350998, -0.0283960626, 0.079227604, 0.0239507463, 0.0374105349, 0.0167370848, 0.036248941, -0.0214323103, 0.0402165726, 0.0183048528, -0.0314761326, -0.0092634661, 0.0076421467, 3.142e-7, -0.0051960112, -0.01788266, 0.0527186505, 0.0213453714, 0.0026794195, 0.0318682492, 0.0071815774, 0.0426611528, -0.0266334303, -0.0343792476, -0.0092719495, 0.0390159748, 0.0680442899, 0.006352711, 0.0083667543, -0.0161471218, -0.0056064939, 0.0010638359, -0.0424442925, 0.0073040039, 0.0940169021, 0.0825765207, -0.0249898601, -0.0010763039, 0.0293405131, -0.0639230236, 0.0346350707, 0.0021155961, 0.0026010075, 0.0285934228, 0.0001402143, 0.0364484042, 0.0028633135, 0.0816439837, -0.0211240519, 0.0180323012, -0.0836015046, 0.0537079237, 0.0211685691, -0.0502453968, -0.0540829971, -0.0293959286, -0.007484124, -0.0409836285, 0.0581428036, -0.0340353623, -0.0117589626, -0.0439711139, -0.0005248906, -0.0231438894, 0.0065540718, -0.001295652, 0.0410451069, 0.0062675434, 0.0160736535, -0.0115025099, 0.0351765789, -0.0877423286, -0.0234739967, 0.0019551113, -0.0498014912, -0.0259308759, 0.0349609926, -0.0061852378, 0.0559978001, -0.0019336641, 0.0134859914, 2.794015533e-34, 0.0079942141, -0.0313421264, -0.0073479344, 0.0427452549, 0.0312548652, 0.0194998793, -0.0229575783, 0.0039891195, -0.0092119342, -0.0573791489, -0.026869908 ]
http://arxiv.org/abs/2310.05919v1
http://arxiv.org/pdf/2310.05919v1
Few-Shot Spoken Language Understanding via Joint Speech-Text Models
2023-10-09T17:59:21
2023-10-09T17:59:21
Chung-Ming Chien, Mingjiamei Zhang, Ju-Chieh Chou, Karen Livescu
cs.CL
cs.CL, eess.AS
Recent work on speech representation models jointly pre-trained with text has demonstrated the potential of improving speech representations by encoding speech and text in a shared space. In this paper, we leverage such shared representations to address the persistent challenge of limited data availability in spoken language understanding tasks. By employing a pre-trained speech-text model, we find that models fine-tuned on text can be effectively transferred to speech testing data. With as little as 1 hour of labeled speech data, our proposed approach achieves comparable performance on spoken language understanding tasks (specifically, sentiment analysis and named entity recognition) when compared to previous methods using speech-only pre-trained models fine-tuned on 10 times more data. Beyond the proof-of-concept study, we also analyze the latent representations. We find that the bottom layers of speech-text models are largely task-agnostic and align speech and text representations into a shared space, while the top layers are more task-specific.
[ -0.0038035193, 0.0646786541, -0.0036705306, 0.0511700958, -0.002997386, 0.0337406583, 0.0574391186, -0.0177309047, -0.0211704727, -0.1062135845, -0.0557042658, -0.0397211537, -0.0047212401, 0.0096773654, 0.0080956202, -0.0484150499, 0.0474202484, -0.027712699, 0.0229096226, -0.0069069532, 0.0340225175, 0.024877511, -0.0446740575, 0.0201191604, 0.0193134174, -0.0126108304, -0.0361017473, -0.0052301213, 0.0052131782, -0.0004768583, -0.0017166702, 0.0379579104, 0.0631468743, 0.0290591046, 0.0000019008, -0.0228668936, -0.0145258503, -0.0009260496, -0.0532104187, -0.0038459084, 0.0354008824, -0.0179021135, 0.0110562826, 0.0032069334, -0.0053733573, -0.0508880317, 0.0219175722, 0.0554048568, 0.061278183, 0.0822167918, -0.0127066467, -0.0196147878, -0.0014979657, 0.0032684165, 0.0368657224, -0.0682051927, -0.0113545479, 0.0000543022, -0.0035522575, 0.0250962693, -0.0093548466, 0.0394577347, -0.0252056886, 0.0344428457, 0.0156802777, 0.0173758864, -0.0493178703, -0.0213675573, -0.0024996183, 0.0931731611, -0.0175269451, -0.0171796624, 0.0109714223, -0.0317817032, -0.0470775701, -0.0335965306, -0.0130466549, -0.00243864, 0.029055275, 0.0165793858, -0.0009057605, 0.0259939451, 0.0285595097, -0.0168104786, -0.0214846116, -0.0013382044, -0.0302798096, -0.0207828619, -0.0142870247, 0.0087120943, -0.0251178555, -0.0246299021, -0.0087092416, 0.0193753019, -0.0198323131, 0.0207375977, -0.0414669625, -0.050286226, -0.0172361806, -0.0361136124, 0.0241914168, 0.0390349105, -0.0535496771, 0.0792714432, -0.0224233121, 0.0311612356, 0.019521717, 0.0011700315, -0.0245562028, -0.0238242242, -0.0667235777, -0.003534829, -0.0409054309, 0.0654364228, -0.0362616703, -0.0313748866, 0.0153660094, 0.0088195987, 0.0105868038, 0.0020613202, 0.0072096777, -0.0002603039, -0.0137888724, -0.0088788019, 0.0156915095, 0.0386761203, -0.028319519, 0.0654685795, -0.0205813646, -0.0246456079, -0.0382362902, 0.0141201811, 0.0456581153, -0.0121948561, -0.0063883276, 0.0444052368, 0.0230985228, -0.0669451132, -0.0377636626, -0.0143580548, -0.0098636867, -0.061068736, -0.0269395486, -0.0126546863, 0.0645080507, 0.0054246299, -0.0036507379, 0.0022595581, 0.0001444269, -0.004564635, -0.0400142707, 0.1211590916, -0.0100299483, 0.0275562834, 0.0086518088, 0.0169166233, 0.0277413502, 0.0746080652, 0.0296222772, -0.0191545002, 0.0142909084, -0.0226325821, -0.0345647447, 0.0161784943, 0.0370568037, -0.0111322813, -0.0118523743, 0.0288562607, -0.0283794459, 0.0154811926, 0.0137059083, 0.0180735867, -0.0369872637, 0.0037721242, 0.0319739506, 0.0658803284, 0.004458141, -0.0009899223, 0.013507233, 0.0402815789, -0.0157207828, -0.0224348605, -0.0274083037, 0.0179656073, -0.026025109, -0.0055418843, 0.0664772317, 0.001043389, -0.0587780625, -0.0033258342, -0.0107519981, -0.0333554968, -0.0081375092, 0.0262201168, 0.0472385623, -0.0029414361, -0.060338553, 0.0529859066, 0.0361229479, -0.0303660315, 0.0059983162, -0.0220374409, 0.0322280489, 0.0776652917, -0.0019783904, -0.0380161405, -0.0297773406, -0.0437963158, 0.0204004347, 0.0193349011, 0.0344730169, -0.0045105238, 0.0646571368, -0.0423229858, -0.0180257279, -0.0219900794, 0.0317362696, 0.0278975908, -0.0359183885, 0.019626705, 0.0165784936, -0.0274827816, 0.0167988762, -0.0008138242, -0.0124452766, -0.031452816, -0.0017380288, 0.0253066346, 0.0422435552, 0.0494786315, -0.0392218493, -0.0160698276, 0.0234769769, -0.012217802, 0.0022554288, -0.0001696879, -0.045258563, -0.0923262164, -0.0298356581, 0.0114562223, -0.011089365, 0.0331069529, -0.0479230769, -0.062837936, 0.0176919997, 0.0047818683, 0.034032166, -0.0288010743, -0.0126749286, 0.0064344518, 0.0158183873, -0.0184371285, 0.006907349, 0.0160091687, 0.0104882009, 0.0209622737, -0.004129299, 0.0557759404, -0.0255418997, -0.0562496297, -0.0094268695, 0.011217949, 0.0201671328, -0.0077465638, -0.0098991031, -0.0213097092, 0.0118521908, -0.0998901203, 0.0132230129, -0.0249462742, 0.0168261509, 0.0341650285, 0.0121927336, 0.0167219453, -0.0279917978, -0.0364813656, 0.0018537133, 0.0091571137, -0.01052396, 0.0015990317, 0.011019974, 0.0199525747, -0.0508019812, 0.0327609442, -0.0148946447, 0.0219155326, -0.0007723204, -0.0508813336, -0.0280958749, 0.0481280982, 0.0077706939, 0.0245246515, 0.0041706292, -0.0166135635, -0.0179109089, -0.0157902632, 0.0018232308, 0.0426959284, -0.0129215186, 0.0359507687, -0.0122827701, -0.0220630858, -0.0781319588, 0.0255363714, -0.0025786397, 0.0278427042, -0.0203403439, 0.0118833948, -0.0349210761, 0.0868509114, 0.019515153, 0.0171007849, -0.0685885251, -0.0142384376, -0.0280504338, -0.0050439211, -0.0245068893, -0.0035155122, -0.0084272595, -0.0111435605, -0.0181557331, 0.0246497802, 0.0727579445, -0.0578524247, -0.0134458151, -0.0515107661, -0.0377420932, -0.0221279971, 0.0521904565, -0.012991339, 0.0078009558, 0.008665042, -0.0155432271, -0.0547910668, 0.0174947549, -0.0078994585, -0.0365603007, 0.0149780391, 0.019516753, 0.0234386232, -0.0147493733, -0.0517676733, -0.0312180817, -0.0722943321, -0.0737759992, 0.0076182103, -0.0183802359, 0.0085388701, -0.029514255, 0.0505990796, 0.005372684, 0.0325208195, 0.022465555, 0.0129456921, -0.0340381525, 0.0328278653, 0.0331223793, 0.0075333612, -0.0027925207, 0.0006159782, 0.0510319024, 0.0014056899, 0.0623881482, 0.0135457162, -0.0247272421, -0.0081743635, 0.0024308106, 0.0064788326, -0.039737422, -0.0071712271, 0.0570687652, -0.0371168181, -0.0011094809, 0.1539489031, 0.0120515646, -0.0115558673, -0.0210016817, 0.0250987429, -0.0235450864, 0.0225563478, 0.0190263707, -0.0674412549, -0.077662006, 0.0057976502, 0.0179302413, 0.028594153, -0.0185652412, -0.0152070364, -0.0826817527, -0.012481303, -0.0033310542, -0.010323341, -0.0183520764, -0.0184595846, 0.0003692322, -0.0268774219, 0.0253949668, -0.0261116438, 0.0039417874, 0.0109842382, 0.0317533314, -0.0262446459, -0.0584236644, 0.0757222474, -0.0004797345, 0.093521297, 0.0300026368, 0.027035173, 0.0118758464, 0.0029544251, 0.0123676639, -0.0108047668, 0.0151222562, -0.0024317112, 0.0663432702, -0.0287141837, -0.0224944763, 0.0285704657, 0.0038279241, -0.0256690495, -0.0216570068, -0.0249985587, 0.0482112579, -0.0261127409, -0.0042484063, -0.0037725451, 0.0397882536, 0.0154296113, 0.0959036276, 0.0404131748, -0.0454499386, -0.0102226892, 0.0239944253, -0.0032203307, -0.0499954782, -0.0480554216, 0.0014241479, 0.0099694338, 0.0218538567, -0.0401771329, -0.0615439489, 0.0470149852, 0.0273155384, -0.0198593512, 0.0117751127, 0.0204624571, 0.0017167325, -0.0311786048, 0.0328370668, -0.0119683985, 0.0204415359, -0.0379345082, -0.03754282, 0.0465693474, -0.0330659263, -0.0517587326, -0.0226159431, -0.0999235436, -0.0450617298, 0.0119787585, 0.0250960384, 0.0190052669, 0.0403035469, -0.0336001329, -0.0725915283, 0.0599323511, 0.0424227044, -0.1028318554, 0.0121734021, 0.0429881774, 0.0219896082, -0.0216608066, 0.0418242998, -0.0708171651, 0.0396714471, -0.0130415075, 0.0085450625, -0.042452842, -0.0131849162, -0.0089868801, 0.0003459593, 0.1190498397, 0.0394329801, 0.0060674828, -0.0486465544, 0.0329372548, 0.0200188849, 0.0001723446, -0.0577870272, -0.0258319955, -0.0025403097, -0.0560179688, -0.0475448556, 0.0236593988, -0.0247297287, 0.0373968929, -0.028077811, 0.0306547824, 0.0494094826, 0.0144820483, 0.0218186323, 0.0063282824, -0.0140656196, 0.0428082459, 0.0182698965, -0.0079016285, -0.0111938054, 0.0538927205, -0.0168003701, 0.0112385172, 0.007408116, 0.0032377129, -0.0701067001, -0.0574947484, -0.0168954246, 0.0070064696, -0.0088099791, -0.0244433768, 0.0204002708, 0.0272360146, 0.0202918537, -0.0190988202, 0.0447076149, -0.0337490216, -0.0131954681, 0.053821329, 0.0101210605, -0.0115907546, 0.0092590274, 0.0769476295, 0.0256395265, 0.0506147332, 0.0018122601, 0.0487461351, -0.0423813276, -0.0250711031, 0.0445749909, 0.0353934653, -0.0066058543, 0.0183459073, -0.0321605243, -0.0668664575, 0.0276648775, -0.0420071036, -0.0271530263, 0.00045447, 0.0125695104, 0.0047484529, -0.012608232, 0.0546034724, -0.0201049875, -0.0129800783, -0.0027428193, -0.0094590597, 0.0389512219, -6.971688752e-33, -0.0474012196, 0.0225596111, 0.0088677034, -0.0031058062, 0.0063646687, 0.0259063598, -0.032529261, 0.014713834, -0.026186116, -0.0181944594, 0.001152596, 0.0433023088, 0.0082448851, 0.0404725596, -0.0245224629, -0.0359341204, 0.0700777546, -0.0353263728, 0.020447012, 0.0217879359, 0.025163576, 0.0713848695, 0.0524201877, -0.0690803826, 0.0128145982, -0.0192473512, 0.0041855695, -0.0070563974, 0.059183009, 0.0497004203, -0.0126266517, 0.0257818773, 0.024667358, -0.050150089, -0.035432741, 0.0453508943, -0.1103647649, -0.0319815725, 0.0141784819, 0.0339325555, -0.0144011285, 0.0363020897, -0.0130546438, -0.0114517855, 0.0615178421, -0.00562716, 0.0235525332, -0.0026286428, 0.0059168874, -0.0322975628, -0.0251907595, 0.0241770018, -0.048349645, -0.0184783284, 0.0801595822, 0.0647196546, 0.0268418156, 0.040902786, -0.0884352028, -0.0138994176, -0.0151849706, -0.019347487, 0.0274158251, 0.0040092133, -0.0176772792, 0.0730852187, 0.0025908821, -0.0403523445, -0.0327844359, 0.0062611001, 0.0401244722, 0.0215415414, -0.029306598, 0.0602609329, 0.0235739294, -0.0267805923, -0.0657752231, -0.0058580986, 0.0160340667, -0.0187878851, 0.0399567708, 0.0172049124, -0.0512210093, 0.0005548633, -0.0654407814, -0.0309421346, -0.0593855456, 0.0008454986, 0.0491481423, 0.0446823761, -0.0118494704, 0.0044678655, 0.0686359778, -0.0519204773, -0.0186216868, 0.0216852706, -0.0117278127, -0.0145510603, -0.0175319891, 0.0595624335, -0.0841995329, -0.038789928, 0.0487030298, 0.0306959711, 0.0261542425, -0.0018549684, 0.0590248369, 0.018592108, -0.0691655204, -0.0205813628, -0.0045005046, 0.0012548931, -0.0398400463, 0.0139287766, 0.0323184915, 0.0387824774, -0.0028905936, 0.0832273364, 0.0138681764, -0.0227068439, 0.0136862556, -0.0099479929, -0.0050860103, 0.0110348314, -0.0306428708, -0.0339524411, 0.0231862906, -0.0325461105, 0.0184266455, -0.0492287502, 0.012630417, 0.0344185047, 2.643e-7, 0.027585784, 0.0267224219, -0.014028661, -0.0291773733, 0.0327676907, 0.056616623, -0.008156688, 0.0313126333, -0.0161239505, -0.0310426131, 0.0208865628, 0.0328379013, 0.0207302887, 0.0094868885, -0.0840792507, -0.0044170697, -0.0337347127, 0.0079209274, -0.0328504369, 0.001891737, 0.0773840845, 0.1236267462, 0.0145622296, 0.0102006234, -0.0083083101, -0.0198092442, 0.062357299, -0.0219418835, 0.0121360151, 0.000795455, -0.0367725715, 0.0506432354, -0.028325649, 0.0217259731, -0.0156570561, 0.0376383141, 0.0143656954, 0.0635693669, 0.0055691926, -0.08176478, -0.0265939701, -0.0069902437, -0.0071472051, 0.0007968313, 0.0979046822, -0.0990837216, -0.0339705311, -0.024596028, -0.0357916206, -0.001691267, -0.0038813853, 0.0449201576, 0.013328515, 0.0157760531, 0.0017163465, -0.0269263666, -0.0174736306, -0.1286154091, 0.0204506908, 0.0298480857, -0.0434691533, 0.0152757475, -0.0285158474, -0.0520196371, 0.0630570203, -0.0600608028, 0.0070117912, 2.090122858e-34, 0.0193160456, -0.0177669581, -0.0195138957, -0.0039007517, -0.0113785174, -0.0260665864, -0.0380080082, -0.0298691113, 0.058782313, -0.0678812042, -0.0042209309 ]
http://arxiv.org/abs/2310.05915v1
http://arxiv.org/pdf/2310.05915v1
FireAct: Toward Language Agent Fine-tuning
2023-10-09T17:58:38
2023-10-09T17:58:38
Baian Chen, Chang Shu, Ehsan Shareghi, Nigel Collier, Karthik Narasimhan, Shunyu Yao
cs.CL
cs.CL, cs.AI, cs.LG
Recent efforts have augmented language models (LMs) with external tools or environments, leading to the development of language agents that can reason and act. However, most of these agents rely on few-shot prompting techniques with off-the-shelf LMs. In this paper, we investigate and argue for the overlooked direction of fine-tuning LMs to obtain language agents. Using a setup of question answering (QA) with a Google search API, we explore a variety of base LMs, prompting methods, fine-tuning data, and QA tasks, and find language agents are consistently improved after fine-tuning their backbone LMs. For example, fine-tuning Llama2-7B with 500 agent trajectories generated by GPT-4 leads to a 77% HotpotQA performance increase. Furthermore, we propose FireAct, a novel approach to fine-tuning LMs with trajectories from multiple tasks and prompting methods, and show having more diverse fine-tuning data can further improve agents. Along with other findings regarding scaling effects, robustness, generalization, efficiency and cost, our work establishes comprehensive benefits of fine-tuning LMs for agents, and provides an initial set of experimental designs, insights, as well as open questions toward language agent fine-tuning.
[ 0.0584605373, 0.0185867585, -0.0304398909, 0.0473229885, -0.0085941851, 0.0150440596, -0.0061985939, -0.0269841738, 0.0091130883, -0.0398773439, -0.0329798274, -0.0011741179, -0.0345594808, 0.02793427, 0.011394402, -0.0353791863, 0.0514858812, -0.0590710863, 0.0237589851, -0.0162317399, 0.0030592496, 0.0155269708, -0.026666481, 0.0534579046, 0.0342484005, -0.0163404401, -0.0296600331, -0.0158237144, 0.0235770978, 0.0029905587, 0.0115580205, 0.0485913977, 0.0132790385, 0.0332612023, 0.0000019009, -0.0529435799, 0.0124959182, -0.0172567032, -0.0365619473, -0.0068623559, 0.0060019768, 0.0310555119, 0.008026924, 0.0449391566, -0.0675202012, -0.0060671838, 0.034692958, -0.0090110293, 0.061413005, 0.0677214786, 0.0179081392, -0.0042064632, -0.0375533476, -0.0144508369, -0.0156092411, -0.055448547, -0.0030173527, -0.038466569, 0.0338242874, 0.0333372168, -0.0196584724, 0.030067822, 0.0288038738, -0.0039134873, -0.0265237484, 0.0303584877, -0.0980343968, -0.0161954276, -0.011392137, 0.0806751847, 0.0254239347, -0.0188883524, -0.0048499038, 0.0111597907, 0.0169618744, -0.0064628362, -0.0467591621, 0.0193586424, 0.0193483979, -0.0047302777, 0.0275588557, -0.0351884253, 0.0185713433, 0.0266661271, -0.0227735229, 0.0864522085, -0.0054113721, -0.0033266435, -0.0203981251, -0.0073536118, -0.0028823472, -0.0718586445, -0.0164663959, 0.0714844465, -0.0589261986, 0.0289963409, -0.022208916, 0.0182078537, 0.0347204544, 0.0152418371, 0.0270382166, 0.055370409, -0.016094394, 0.0461240597, -0.0104003185, 0.040027611, -0.002404016, 0.0499445125, -0.0607915372, -0.0457068309, -0.040525049, -0.0196637474, -0.0417290516, 0.0083230752, -0.021670701, -0.0062568011, -0.0222034734, 0.0569936559, 0.0186019018, -0.0076517947, -0.0377346538, 0.0115038408, -0.0284318086, 0.0123926988, -0.0543549024, 0.0212370325, -0.0951139331, 0.0317057706, 0.0631807745, -0.0742488131, -0.0332602449, 0.0066349083, 0.0185671654, -0.0117313871, 0.0153186554, 0.0664407685, 0.0085916081, -0.0528174974, -0.0142304804, -0.0189561769, 0.0230740253, -0.0852138251, -0.0262690745, -0.0802983865, 0.0344836861, 0.0038547951, -0.0267756414, 0.0049737585, 0.003429543, 0.0161992423, -0.0247020498, 0.0666600317, -0.0287408326, 0.0324790105, 0.0027775725, 0.0089851469, -0.0371415652, 0.0961691737, 0.0352970026, 0.0226560701, 0.0631460622, -0.0056802151, 0.0246087778, 0.0351224281, 0.0044436543, 0.0376404449, 0.0274981447, 0.0329593793, -0.0072030374, 0.0250377115, -0.0016375002, 0.0241668243, -0.0234028939, 0.0183518566, 0.0469355546, 0.0815103799, 0.0009433351, -0.012276615, 0.0321049392, -0.0145767238, 0.0161785856, -0.0038915521, -0.0653897151, 0.0569405295, -0.0302213989, 0.0100272875, 0.02767854, 0.0590195097, -0.0555824861, -0.036582768, -0.0031778975, 0.000114167, 0.0274015013, 0.0372545421, 0.0183864888, -0.000400574, -0.0213070437, 0.0069773369, 0.0295664631, -0.0362987146, -0.0199520085, -0.0750100017, 0.0396646485, 0.0829564855, 0.0552338772, -0.0008744915, -0.0655885041, 0.0022831245, 0.0411557294, 0.0546690114, 0.037174575, -0.0216530841, 0.0261422805, -0.0416840315, -0.0334637128, -0.0195191372, 0.0074397884, -0.0013134872, 0.0301091876, 0.0158196073, -0.006280934, -0.0388604514, -0.0078015481, 0.0098646674, -0.0249668732, -0.024838144, -0.0105863409, 0.0073860693, 0.0189725626, 0.0083099371, 0.0063633742, -0.001231987, 0.034796387, -0.0137613695, -0.0107713537, 0.0319224298, 0.0079938406, -0.0115887839, 0.0459058136, 0.0166908763, 0.0034882913, 0.0462432988, -0.0493726805, -0.0482826456, 0.0088369213, -0.015022004, 0.0090701506, -0.0119342748, -0.0001579843, -0.029338371, 0.026813224, -0.0128213894, 0.0385442935, 0.019998135, -0.0041000564, 0.0258158408, 0.055437617, -0.0044408976, -0.0415576138, 0.0012414793, 0.03442166, 0.0323322043, 0.027627755, 0.0148433149, 0.0237865243, -0.0563936569, -0.0090942597, -0.0797602907, 0.0177820902, -0.0334415585, 0.0172388665, 0.0351356566, 0.0299280174, -0.0235164147, -0.0051946589, -0.0442503914, 0.0214102492, 0.0319937095, 0.0562577806, 0.0316660069, 0.0141387181, -0.053505037, -0.0626199171, 0.0023490654, -0.0055961362, -0.001535703, -0.0078780707, 0.0257995222, -0.0501675308, -0.0070118336, -0.0675892904, 0.0238482691, -0.01778372, -0.0746114478, 0.0241013933, -0.0284559224, -0.0127297835, 0.073722519, 0.0059925164, -0.00268818, 0.0620054901, -0.0188622773, -0.0619619414, 0.0431598015, -0.0205997806, -0.0247769058, -0.033513505, -0.0122707356, 0.0017505237, 0.0371082649, -0.0296651982, -0.0010631046, -0.0539695621, 0.0452547669, 0.0283445511, -0.0224601608, -0.0056018638, 0.0436182059, -0.0302973595, 0.061775472, -0.0093020089, -0.0566121005, 0.0901350975, -0.0137318987, -0.0064795385, -0.0651534051, -0.0286139343, -0.0405468009, 0.068999216, -0.0265056174, 0.0110671585, -0.020116128, 0.0038672523, -0.0557636805, -0.0354453437, 0.0045216414, -0.0346821584, 0.0708171055, -0.0384737849, 0.0095513985, -0.0103524216, -0.0530837402, -0.0478849821, -0.02424955, -0.0500138551, 0.0233923048, -0.0340555161, -0.025260115, -0.0130562615, -0.014614108, 0.0327067152, 0.037003912, -0.0366002917, -0.0044847587, -0.0381391831, -0.007084881, 0.0863502994, 0.073682718, 0.016683083, -0.0054464447, 0.070845522, 0.020325508, 0.0610512383, -0.0323885381, 0.0047069401, -0.0083631249, 0.0334414728, -0.0149356592, -0.0090844054, 0.0328896642, 0.0738641694, -0.0614802986, -0.0257377941, 0.1063088775, 0.0279127024, -0.0101528307, 0.0085753398, -0.0297356304, 0.0409709401, 0.0342464335, 0.060706418, -0.0724561736, -0.0684608147, 0.0011854589, 0.063360095, -0.016604675, -0.0194332916, -0.0023675566, -0.1164528504, 0.0429246388, -0.014071865, -0.0249018762, -0.0134461029, -0.0534183383, 0.0130803678, 0.0012648059, 0.0339501202, 0.0244154111, 0.0072539104, -0.0103530707, -0.001318636, 0.017152831, -0.0514085665, 0.0273240935, -0.0683570206, 0.0537433363, 0.0816104338, 0.0056988136, -0.0064502298, -0.0190609992, -0.0013125534, -0.0062890514, 0.0245214738, -0.0131191844, -0.0011214189, 0.0086038383, -0.0236516874, -0.002768737, 0.0334392115, -0.0550133847, 0.0057011973, 0.016546702, 0.0907792374, -0.0213743243, -0.0000896658, -0.0191122368, -0.0015598746, -0.0169932917, 0.0641951934, 0.0331202969, -0.029382335, -0.0568900071, -0.0456620604, -0.0644119307, -0.0575899333, -0.0131360218, 0.01407535, 0.0026770141, 0.018541364, -0.0649968162, -0.0824921876, 0.0636415258, 0.0287194476, -0.0099082151, 0.068376869, -0.0299393516, 0.0217640344, 0.0110070538, 0.0381493866, -0.047110267, 0.0135787036, -0.0396276638, -0.0421169102, 0.0474702939, -0.0231221188, -0.0001677053, 0.0260292888, -0.0733103082, -0.0823541209, -0.0059857303, 0.056605354, 0.0302548669, 0.0336028188, -0.0444930457, -0.0468300357, -0.0055836206, 0.0470806211, -0.0348723494, 0.0227770507, -0.0026415505, 0.0073035737, -0.0038271761, 0.0564325154, -0.0973266512, -0.0023617588, -0.0249802861, 0.0653026998, -0.0324999578, -0.0439196527, 0.0198983047, 0.0244613178, -0.0076036514, 0.0140631553, -0.0193788949, -0.0098219784, 0.0226116404, -0.0039294017, -0.0196012184, -0.0190419406, -0.0066096913, -0.0114579415, -0.0315466151, 0.0296926834, 0.0044557829, -0.018244382, 0.0216593668, -0.0363056995, 0.0214641746, -0.0043827435, 0.0128805507, 0.0120235998, 0.0019530703, -0.0177042838, 0.0229057148, 0.0036138266, 0.0477899648, -0.0224876124, 0.0347140916, 0.0238645077, -0.0133012813, -0.0416659452, 0.0555553921, -0.1010510474, -0.0988012925, 0.0485065952, 0.0124147581, 0.0563195497, 0.0026476069, 0.0417475998, -0.0083116842, -0.0060690534, -0.002335469, -0.0080025755, 0.0333101489, -0.0107637988, 0.0559053905, 0.0276706442, -0.0143965576, -0.0127017442, 0.0775300935, -0.0358892083, 0.0764816478, 0.0023734507, 0.0136518646, -0.0194613319, -0.0188078396, -0.0338634364, 0.0025578039, -0.0141076967, -0.0134366704, -0.0318081677, -0.0622332878, -0.0265688915, -0.0066038445, -0.0160294846, -0.0475918762, 0.0270381961, 0.0535844155, 0.0177120958, -0.0319628231, -0.0364182964, -0.015872417, -0.0493611433, -0.0105799558, 0.0047158245, -6.416001716e-33, -0.0315907709, -0.0124724461, 0.0396139435, -0.0129898833, -0.0058551296, -0.0161464307, -0.047619801, -0.0103963818, -0.0671318248, -0.0221728384, -0.0403267518, 0.0237280019, 0.0152910929, -0.0065385322, 0.006680781, -0.0468607731, 0.0215881336, -0.0094482228, -0.0467587896, 0.0081568453, 0.0511081778, -0.0050744978, 0.0120342905, -0.0012472671, -0.0003373532, -0.0276810788, -0.028514659, 0.0651644915, -0.0479666851, 0.0813379213, 0.0024726663, 0.0323703215, 0.0301509816, -0.0087987138, -0.0093017817, 0.0199408308, -0.0668311715, -0.0377576165, 0.0249293558, -0.0067133983, -0.0464629605, -0.062984705, 0.0232117437, 0.000480169, -0.0052268384, 0.0235817358, 0.0108640967, -0.0269378293, 0.002869071, 0.0219685622, -0.0461632535, 0.003795875, -0.005958206, -0.0405148901, -0.0257553663, 0.0535411313, -0.0038083824, 0.0294170957, -0.0237890184, 0.0055020573, 0.0313838199, 0.0165417138, 0.0717440844, 0.0348872244, 0.0096111828, 0.0382781178, 0.0082129743, 0.0213055033, -0.0182580445, 0.0035426544, 0.0299114659, 0.0268043336, 0.0424541682, 0.0461943485, -0.0165604465, -0.008051374, -0.0544903018, 0.0390903056, 0.051303573, 0.0130051551, 0.0238701049, 0.0041051065, -0.0290777367, -0.0188807938, -0.045821771, 0.0310608204, -0.0435854234, -0.0431427062, 0.0546233691, 0.0229046326, -0.0099590523, -0.0595992021, 0.0253571477, -0.0295712389, 0.0278569218, 0.0305389557, -0.0493198149, 0.0300833248, 0.0110197896, 0.0199779142, -0.0423078053, -0.0065536937, 0.0124411331, -0.0043316386, 0.0029146667, 0.0411631018, -0.0155482609, 0.0264274441, -0.036354363, 0.010237202, -0.0471151508, 0.0413601436, -0.0103289327, -0.0174078923, 0.0013005567, -0.0002344881, -0.0048498106, 0.0682502761, 0.0138715478, -0.0089061307, -0.0177321378, -0.0103117367, -0.0095387893, 0.0036091127, -0.0298723523, 0.0054351734, -0.0540147536, 0.0392337069, -0.0194927361, -0.0547853075, -0.0153540308, 0.0273455605, 2.631e-7, 0.0209868383, 0.0367285274, 0.0046010613, 0.0509316623, 0.0082730986, 0.0492611006, -0.0193575025, 0.0140313916, 0.0150748082, 0.0053842096, -0.0253712609, 0.0441075265, 0.0243788213, 0.0450357273, -0.0730905831, 0.0050868136, -0.035305623, 0.0019056387, -0.0685465187, -0.0207032841, 0.0249550045, 0.097101815, 0.0235718712, -0.009084072, -0.017185159, -0.0631927177, 0.0242967978, -0.0131851817, -0.0178193636, 0.03365767, -0.0181059595, 0.0465938672, 0.0083206696, -0.0003904649, 0.0092420569, 0.0395299755, -0.0329303294, 0.0536881946, -0.0066117132, -0.052954074, 0.0058027175, -0.0465530306, 0.0285520013, -0.0621056259, 0.0890733674, -0.0147216637, -0.0307499133, -0.0003243929, 0.0191993956, -0.0164307803, -0.0226863176, -0.0448815562, -0.0320752114, 0.021962285, -0.015853446, -0.0120157637, -0.0076565379, -0.08450865, 0.011638457, -0.0018981661, -0.0152169634, -0.052958183, -0.0504775904, -0.0003258074, 0.0103834858, -0.0525438525, 0.01605184, 2.311869765e-34, 0.0150344865, 0.002272188, 0.0205861591, 0.0663573891, 0.0339455456, 0.0131922774, -0.0052607902, -0.0094450992, 0.057754457, -0.0864503831, -0.0326579995 ]
http://arxiv.org/abs/2310.05914v2
http://arxiv.org/pdf/2310.05914v2
NEFTune: Noisy Embeddings Improve Instruction Finetuning
2023-10-09T17:58:34
2023-10-10T17:31:00
Neel Jain, Ping-yeh Chiang, Yuxin Wen, John Kirchenbauer, Hong-Min Chu, Gowthami Somepalli, Brian R. Bartoldson, Bhavya Kailkhura, Avi Schwarzschild, Aniruddha Saha, Micah Goldblum, Jonas Geiping, Tom Goldstein
cs.CL
cs.CL, cs.LG
We show that language model finetuning can be improved, sometimes dramatically, with a simple augmentation. NEFTune adds noise to the embedding vectors during training. Standard finetuning of LLaMA-2-7B using Alpaca achieves 29.79% on AlpacaEval, which rises to 64.69% using noisy embeddings. NEFTune also improves over strong baselines on modern instruction datasets. Models trained with Evol-Instruct see a 10% improvement, with ShareGPT an 8% improvement, and with OpenPlatypus an 8% improvement. Even powerful models further refined with RLHF such as LLaMA-2-Chat benefit from additional training with NEFTune.
[ 0.0058753705, 0.0459441505, -0.0141088441, 0.0443430692, 0.0268123522, 0.0250345208, -0.027106436, -0.0219828431, -0.0536757335, -0.0419066027, -0.0541965701, -0.0118106408, 0.0025442913, -0.0279329251, 0.0792430118, -0.0467564277, 0.0572830252, -0.019516822, -0.01309592, -0.0076557957, 0.0317542814, 0.0182595961, -0.0041446341, 0.0413859189, 0.0444829725, -0.0149900476, -0.0379935056, -0.0032785996, 0.026523428, -0.0248462614, 0.0088000977, 0.0530868694, 0.0257001538, 0.017760817, 0.0000019821, -0.0289741289, 0.0121520096, -0.0067832875, -0.0275971293, 0.0687250346, 0.0542001128, -0.0288500767, -0.0386242382, 0.0139478212, 0.0096278731, 0.0163227189, 0.0680601671, 0.0524513684, 0.0670855641, 0.0464668646, 0.0085447142, -0.0316274352, 0.0300773382, -0.0398242474, 0.0188936815, -0.0083166733, -0.013389078, -0.0222814642, 0.0231978223, 0.0460526049, -0.0432243869, 0.0142819416, 0.0283427518, -0.0077146669, 0.0106417118, 0.0465635657, -0.0324073918, -0.0245639775, -0.0243421439, 0.0844617411, -0.0462837368, 0.0089550065, -0.0255837813, 0.0082462076, 0.005787415, -0.0644326061, -0.0454994366, 0.0216120258, 0.0335670933, 0.0406872407, 0.072700642, -0.0607690178, 0.0411015898, 0.0025051201, 0.0239506029, 0.0158178695, 0.0383888781, -0.0322906077, -0.005123239, 0.0045766141, -0.023538731, -0.0194825083, -0.0145055829, 0.02631866, -0.0089669209, 0.0103550563, -0.052730456, -0.0097352732, 0.0385596901, -0.0318318903, 0.0599121302, 0.0764594898, -0.041714672, 0.0038337922, -0.0332247131, 0.0152369542, 0.0133337872, 0.035782773, -0.0241423063, 0.0564046837, -0.0145135382, 0.0065765544, -0.0617299899, 0.0415446013, -0.0626436472, 0.0078475866, -0.0451451354, 0.0173366647, -0.0129044093, -0.007702562, -0.0119409813, -0.0207109898, -0.0680521801, 0.025258366, 0.0049791429, 0.0250587706, -0.0658701509, 0.0160486549, -0.0057750195, -0.0682847202, -0.0139307166, -0.0019647575, -0.0153696956, -0.0290999319, 0.007521926, 0.0568414219, -0.0191832948, -0.0500491522, -0.0446206219, -0.0013661337, 0.0023571481, -0.0691143051, -0.0062967734, -0.053685531, 0.0013650142, -0.0273886286, 0.0250841305, -0.0144064305, 0.0035282143, -0.0037239795, -0.0174162909, 0.0861820132, -0.0302190073, -0.0175928213, -0.0013695224, 0.0092137912, 0.0366020389, 0.0630811527, 0.0227223914, -0.0055687889, 0.0221353285, -0.029318342, -0.0461578518, 0.0237754341, 0.0271530785, 0.0061268527, 0.0058407718, -0.0238292105, -0.0115700187, 0.0199206304, 0.0660379305, 0.0502455421, -0.0449631959, -0.0392896719, 0.048915036, 0.0289166588, 0.0342036597, 0.0022579303, 0.0632743239, 0.0054780697, 0.0045109256, 0.0396874435, -0.0690161884, 0.0305646099, -0.0422591679, 0.0218387749, 0.0337169021, 0.0608347394, -0.0518876165, -0.0502400026, 0.0120552005, -0.0190651938, -0.0009058532, -0.0274462663, 0.015835898, -0.0027649547, -0.0442743786, 0.004014608, 0.0797817856, -0.0286138654, 0.0026470646, -0.0399681218, 0.0398399867, 0.0525553897, 0.0126145622, -0.0113934549, -0.0761553496, -0.0178695377, -0.0185128469, 0.0339700729, 0.0574594662, -0.0242654365, 0.0404712819, -0.0785893723, 0.0018472377, -0.0182639249, 0.0429592915, 0.0090284636, -0.0143988812, 0.0144252768, -0.0047187409, -0.0024266716, -0.0428033397, 0.048859857, -0.0416041836, -0.0414448678, -0.0603111647, 0.0172112882, 0.0109786093, 0.0139111886, -0.0134650255, 0.0005536284, 0.0322023109, -0.0102840886, 0.0251342878, -0.019703187, -0.042985592, -0.0642888471, 0.0645357892, 0.0055807843, -0.0117170056, 0.0169639438, -0.0432033651, -0.0170721654, 0.0093177352, -0.0259784386, 0.0379100926, -0.0315752365, 0.0450371578, -0.0081263455, 0.0236899741, -0.0460301079, -0.0145390881, -0.0276499242, 0.0330642536, 0.0424649715, -0.0013101746, 0.0106449025, -0.0369122066, -0.0541702844, 0.0274080168, -0.01485522, 0.0337111242, -0.0342516638, 0.0621396452, -0.0387141965, -0.0467076674, -0.0520408489, 0.0237250365, -0.0241175611, 0.0369884335, 0.0416129082, -0.010593785, -0.0025795046, -0.0037627274, -0.0083205281, 0.0051542339, -0.0292220842, 0.0323656239, 0.0312799811, 0.0144990627, -0.078875035, -0.0513631813, -0.0255099237, 0.0065018572, -0.0060738744, -0.0278320871, -0.0187596343, -0.080483295, 0.0418256633, -0.0258836914, 0.0275575016, -0.0163458157, -0.1172252223, 0.0222546142, 0.0249082558, 0.0481988639, 0.0563310273, -0.044644434, 0.0499191545, 0.0514346249, 0.0118026584, -0.0351214819, 0.026941957, -0.0251955558, -0.0458096415, -0.0673372224, -0.0043587373, -0.0528017282, 0.0951370597, -0.0516821593, -0.0158747267, -0.0704096705, -0.0132461181, -0.0290657263, -0.0177867021, 0.0123579437, 0.0205922704, -0.0111664627, 0.0243263543, -0.038517721, -0.0731065273, 0.064544186, -0.0386285335, -0.0260633603, -0.046458561, -0.0257277284, 0.004423317, -0.0004758916, 0.0150142899, 0.021544721, 0.0281358231, -0.04166466, -0.086324811, -0.0206470098, 0.0109097026, -0.0309385546, 0.040883787, -0.0188504327, -0.0289652757, -0.0233876109, -0.0266577154, -0.006059763, -0.0288797263, -0.0129058203, 0.0054203901, 0.0170567092, -0.0325490199, 0.0026587187, -0.0174991116, -0.0266451836, 0.014269013, -0.0486545712, 0.0084542548, -0.0273381006, -0.0041519008, 0.0505662672, 0.013245929, 0.0250269864, -0.0441065095, 0.0236109421, 0.0147120776, -0.0166759398, -0.0028538618, -0.0211108904, 0.0364279002, 0.0448935442, -0.0098733753, -0.0449034534, 0.0209060907, 0.1131329909, -0.039959196, -0.0095123164, 0.0954273045, 0.0160051398, -0.0004411329, 0.0390895829, -0.0328857191, 0.0765170455, 0.0175890103, 0.0432010852, -0.0655725971, -0.0290128943, 0.0169837847, 0.0234274473, 0.0168465339, 0.0169661511, 0.0095322914, -0.112763308, 0.0356268138, 0.0413637646, -0.0520993099, -0.0488663949, -0.0306366179, -0.011227563, 0.0017332343, 0.0544957034, 0.0044284207, -0.0267781876, 0.0138767138, 0.0418786332, 0.0100731337, -0.0498392656, 0.0155805042, -0.022730466, 0.1214761809, 0.0316897593, 0.0115147317, 0.0085115721, -0.0625795349, 0.0552596375, -0.0065134042, -0.0193334799, -0.0162455998, 0.0695938766, 0.0068243323, -0.0403057188, 0.0111386599, 0.0151848989, 0.0262965132, 0.0213177316, -0.0478783697, 0.0724368766, 0.0064191907, -0.0000095243, 0.0036820108, 0.0213087201, -0.0112030171, 0.0315677188, 0.056420926, -0.0300715268, -0.0108080264, -0.0452574939, -0.0063490905, -0.0253245197, -0.0091911573, 0.0520331264, -0.0272927489, -0.0474445485, -0.0595421791, -0.0961738527, 0.0567842573, 0.0353864878, 0.0201658849, 0.0062022707, 0.0143084135, -0.0137653667, -0.0223913249, 0.0255260468, -0.0233102143, 0.0342013501, -0.0831219405, -0.0323044583, 0.0210166834, 0.0175364353, -0.0035840443, -0.0103156026, -0.0612366162, -0.0885352641, -0.0052587888, 0.0613380708, 0.0233156364, 0.0335512906, -0.0130149247, -0.0636578128, 0.0191327725, 0.0520488992, -0.0362563431, 0.0179199632, 0.0884680152, -0.0425460264, 0.0192772411, 0.0521647707, -0.0045346185, 0.019273445, 0.0019699272, 0.0510593988, -0.0064987489, -0.0249565188, 0.0100634117, 0.0069907517, 0.0202279892, -0.0235637557, -0.023956513, -0.0495712794, 0.0249076728, -0.0092046047, 0.0287372023, -0.038999375, -0.014465685, 0.0492649078, 0.0128976703, 0.0082323048, -0.0126736322, 0.0199373029, 0.0670704395, -0.0146870073, 0.0343529917, 0.0007116565, 0.0138441576, 0.0107369851, 0.0587763079, -0.0068528145, 0.0030799408, -0.0170032401, 0.0416605696, -0.0195673816, 0.0223564934, 0.0029204618, 0.019864656, -0.0242706388, 0.0461122915, -0.0036229745, -0.002424872, -0.0353129767, 0.0090916855, 0.0604290403, -0.0053877882, 0.0768933296, -0.0038061638, -0.0090864981, -0.0104824686, 0.0482935272, -0.0479612686, -0.0208528042, 0.0720111355, 0.0358828381, -0.0181092545, -0.0258796159, 0.0745375901, -0.0067042005, 0.074210234, 0.0076819276, 0.0414712355, -0.0278122909, -0.003632305, 0.030452935, 0.0304560345, -0.0234232415, 0.0239818934, -0.0079645999, -0.0882195532, -0.0461689904, 0.0208652988, -0.0300891064, -0.0133841252, 0.015607439, 0.0142790135, -0.0169526674, -0.0037801878, -0.0272735972, -0.0374706872, 0.0392945074, -0.023405239, -0.0047233878, -6.643373915e-33, -0.0584491119, 0.0087308725, 0.010763404, -0.0060871737, -0.0483307466, 0.001777243, -0.0206148252, 0.0142558282, -0.0530745015, 0.0345700085, -0.0064469543, -0.0065176189, 0.0110810725, 0.0081068743, 0.018192105, 0.013147153, 0.0636183769, 0.0018800288, 0.0034226379, 0.0137799345, -0.0236217938, 0.0259250365, 0.0741319954, -0.0311699603, -0.0056502474, 0.0050794319, -0.0084296362, 0.0218448527, -0.0123829609, 0.0427520983, -0.0260618776, 0.0122186923, -0.0014428971, -0.03608476, -0.0488736629, -0.0381654128, -0.0857268497, -0.055625502, 0.0297532696, 0.0212336536, -0.0413323492, -0.0402564853, 0.0336037129, -0.0065819174, -0.0249421205, -0.0085587567, -0.0075836987, -0.0307946429, -0.0291649494, 0.0467349254, -0.0936732441, 0.0201911647, -0.0031585142, -0.0473987311, 0.0304675717, -0.0281909704, 0.013712625, -0.0134129506, -0.0316297933, 0.0123352474, 0.0511092916, 0.0750484765, 0.0580872558, 0.0014106113, -0.0153762633, 0.018622566, 0.0190120861, -0.0120640798, 0.0275926758, 0.0039217966, 0.0503789373, 0.0438274778, 0.0087186052, 0.0124301296, 0.0512499958, -0.0197466109, -0.0373334587, 0.0109032718, 0.0417917967, 0.0173511077, -0.0018324099, 0.0259748399, -0.0563803911, -0.0319903158, -0.0253988057, -0.015225335, -0.0052293572, -0.0469890647, 0.0167650804, 0.0178667717, -0.0051554646, -0.0018043591, 0.008229821, -0.033196073, -0.0110088531, -0.0052162716, -0.0242666919, 0.0270286929, -0.0091035161, -0.0121778622, -0.0423381366, -0.0497485287, 0.0001871566, -0.0242456533, 0.0215332396, 0.0024070675, 0.0850362256, 0.0152942697, -0.0785784721, 0.0095613515, -0.0442609042, 0.0103897946, 0.0420621932, 0.0444402434, 0.0293393973, -0.0307298824, -0.0128236935, 0.0649969056, 0.0192902274, 0.022140095, -0.041620966, 0.0153484801, -0.0038088611, 0.0201659966, -0.0404418781, 0.0018836687, -0.0363027938, 0.0629436299, 0.0128809605, -0.0425428338, -0.03191166, -0.0168350805, 2.741e-7, 0.0031950036, 0.0465630181, 0.0259781275, 0.0039572096, -0.0002508876, 0.0251490436, -0.0352374092, 0.0039370027, 0.0033580158, -0.0056928424, 0.0004503404, 0.0137086036, 0.043434374, 0.0291202497, -0.0521577746, -0.0126689859, -0.0433845744, 0.0139274811, -0.0359500684, -0.0283357389, 0.0290517174, 0.1407510191, 0.0153858392, -0.0055714049, 0.0175465103, -0.0438059494, 0.0133593697, -0.0126615036, -0.0121603608, 0.0362422243, -0.0051959413, 0.0405930243, -0.0070219231, -0.0370387286, -0.0247928295, 0.0169778243, -0.0302070081, 0.0717229992, -0.0197916944, 0.0125660943, 0.0395497531, -0.0040606325, -0.0219989643, -0.0407567248, 0.0300410725, -0.0329583548, -0.0353515856, -0.0284493305, -0.011439614, 0.014531373, 0.0207241308, -0.041636128, -0.0016813684, 0.0152935069, 0.0114768408, -0.0256126281, -0.0351693593, -0.056200657, -0.0032016078, 0.0527822338, -0.0096722506, -0.0662041828, -0.0347371027, -0.0236353911, 0.0192000661, -0.0333293565, 0.005747539, 2.605790878e-34, 0.0282643866, -0.0268434659, 0.0715349764, 0.052606836, 0.0198206212, -0.0036553759, 0.0247096755, 0.0030517275, 0.0253189467, -0.0448658541, -0.013364831 ]
http://arxiv.org/abs/2310.05910v2
http://arxiv.org/pdf/2310.05910v2
SALMON: Self-Alignment with Instructable Reward Models
2023-10-09T17:56:53
2024-04-09T23:21:45
Zhiqing Sun, Yikang Shen, Hongxin Zhang, Qinhong Zhou, Zhenfang Chen, David Cox, Yiming Yang, Chuang Gan
cs.CL
cs.CL, cs.AI, cs.LG
Supervised Fine-Tuning (SFT) on response demonstrations combined with Reinforcement Learning from Human Feedback (RLHF) constitutes a powerful paradigm for aligning LLM-based AI agents. However, a significant limitation of such an approach is its dependency on high-quality human annotations, making its application to intricate tasks challenging due to difficulties in obtaining consistent response demonstrations and in-distribution response preferences. This paper presents a novel approach, namely SALMON, to align base language models with minimal human supervision, using only a small set of human-defined principles, yet achieving superior performance. Central to our approach is an instructable reward model. Trained on synthetic preference data, this model can generate reward scores based on arbitrary human-defined principles. By merely adjusting these principles during the RL training phase, we gain full control over the preferences with the instructable reward model, subsequently influencing the behavior of the RL-trained policy models, and reducing the reliance on the collection of online human preferences. Applying our method to the LLaMA-2-70b base language model, we developed an AI assistant named Dromedary-2. With only 6 exemplars for in-context learning and 31 human-defined principles, Dromedary-2 significantly surpasses the performance of several state-of-the-art AI systems, including LLaMA-2-Chat-70b, on various benchmark datasets. We have open-sourced the code and model weights to encourage further research into aligning LLM-based AI agents with enhanced supervision efficiency, improved controllability, and scalable oversight.
[ 0.035102129, 0.0468959287, -0.0033797636, 0.0202345382, -0.0178806968, 0.0118426988, -0.0442716554, -0.0290604383, -0.0043393988, -0.0020596068, -0.0906070247, 0.0060552261, -0.0117135979, 0.0206827149, 0.0094610006, -0.0412483923, 0.0442751572, -0.0304661114, 0.0293001011, -0.0179410651, 0.0206533987, -0.0135342758, -0.0412977003, 0.0266618226, 0.0000198479, 0.0100341914, -0.0263145305, 0.0002411782, 0.0153064178, -0.0294325612, 0.0306044407, 0.0363528915, 0.0387597345, 0.0077493009, 0.0000020481, -0.0585506186, 0.0268355031, -0.021286089, -0.0376763977, 0.001359379, 0.0300055146, 0.00546011, -0.0242700204, 0.0221273452, -0.0490380861, 0.0457609557, 0.0404148214, 0.0411150977, 0.0590966493, 0.0873299539, 0.025231367, -0.0304496363, 0.0274232887, -0.0257830322, 0.0033131498, -0.0299751274, 0.0057596397, -0.0076288143, 0.0456255563, -0.0197685454, -0.0240837298, 0.0018382907, 0.0144579532, -0.0093163941, -0.0211217664, 0.0095061846, -0.029746972, -0.0394390635, -0.0330498628, 0.0789104328, -0.0065432815, -0.0261867326, 0.0070493873, -0.0196064804, 0.0238706339, -0.0166443028, -0.0246274564, 0.0203015711, 0.0173671506, 0.0424058624, 0.0204078685, -0.0327398181, 0.0205716919, 0.0286666527, 0.0106020765, 0.0816262811, -0.0325751714, -0.0323251784, 0.0033069346, 0.0050105508, -0.0179727431, -0.0341504738, -0.0170383379, 0.0578830056, -0.0811524913, 0.0219395328, -0.0612456612, 0.0131999049, 0.0175140817, -0.0132369036, 0.0569706038, 0.0697819665, -0.0100343954, 0.0277737752, -0.0080549121, 0.1138733104, -0.0217323937, 0.0664751604, -0.0248213224, 0.0145826908, -0.0207803734, 0.0152043747, -0.0022344419, 0.0354252569, -0.0192385707, -0.0066481493, -0.0547947921, 0.040277034, -0.0385335349, 0.0628432557, 0.0112349195, 0.0154502373, -0.0701025128, 0.0041016722, -0.0627255216, 0.0103981588, -0.032602746, 0.0416606776, 0.0369540304, -0.0366213508, 0.0011355164, 0.0213588309, -0.0232600868, 0.0134989424, 0.0445868373, 0.0923798084, -0.0111136176, -0.0347187892, 0.0018138379, 0.0058510704, 0.0054966281, -0.0603305921, -0.0111414781, -0.0539156459, 0.0504047722, -0.0209189113, -0.0422630943, -0.0443537794, 0.007056505, 0.0064892299, -0.0027341663, 0.0702473447, 0.009437927, 0.0255641602, 0.0118667465, -0.024881091, -0.0523273423, 0.0618731752, 0.0677785203, 0.0380633399, 0.0138281099, 0.0029418031, 0.0303483531, 0.0473359339, 0.0132210348, 0.010126723, -0.0319810361, 0.0115805557, -0.0121019939, 0.0694391504, 0.0743087903, 0.0222769231, 0.009296298, 0.0103909653, 0.0688461289, 0.0543032996, -0.0169873163, -0.0351421274, 0.0214203652, 0.0309306253, 0.0297439843, -0.0134472325, -0.0912019387, 0.0530827083, 0.0025890232, 0.0278007146, -0.0027451478, 0.0083137136, -0.0355720185, -0.0514035858, 0.0215324592, -0.0271518789, 0.0009229191, 0.0421901718, 0.0276377965, -0.0161479805, -0.0556596108, -0.022058228, 0.0464347005, -0.0277405772, 0.0159547459, -0.0538804308, 0.0662425831, 0.0967634097, 0.0242149159, -0.034422867, -0.0329525135, -0.0216292869, -0.0007048046, 0.0766522363, 0.0130286086, -0.0334992297, -0.0204050764, -0.030335065, -0.0297498927, -0.0274309386, -0.0029100524, 0.011008516, 0.0315782428, -0.0271190498, -0.0429016724, 0.0047971378, -0.0444812253, 0.0549070798, -0.0158105157, -0.0271496028, -0.0301912855, 0.0003843837, 0.0519546047, 0.0052725016, 0.001585571, -0.0075292387, 0.0524367094, -0.0113359289, 0.0259486716, -0.0161574539, -0.027627442, -0.012012437, 0.0424717776, 0.0124781616, -0.017300291, 0.0538211241, -0.0469630994, -0.037555974, -0.0227245986, -0.0026392101, 0.0273326803, -0.01394476, 0.0252754465, 0.0035296082, -0.0355280749, -0.0326080583, 0.0367355309, -0.0202175174, -0.0049585612, -0.0006671286, 0.0139178419, -0.0188891739, -0.071676746, -0.0183099359, 0.0078402134, -0.0163569767, 0.0585087724, 0.0174919274, 0.0452016555, -0.0356851593, -0.0295155868, -0.0364032164, 0.0191298611, -0.0213800129, 0.0173769332, 0.0025060775, -0.0080648204, -0.0283088479, -0.0304443426, -0.0413900129, -0.0131651554, 0.0007148908, 0.0031569027, 0.0506874658, 0.011917267, -0.0407605991, -0.0742722228, 0.020792149, 0.0105617791, -0.0486521833, -0.0215512682, 0.0302084032, -0.0493129268, 0.0097828172, -0.0269361902, 0.0612396188, -0.0310400352, -0.0799391046, 0.0506189167, 0.0154917045, -0.0022412171, 0.1149915233, 0.0074218381, 0.0346428566, 0.0574745871, 0.0468881056, -0.0949816406, 0.0252488498, -0.0373475216, -0.0537216589, -0.032957159, 0.0403263792, -0.0143144866, 0.0612888038, -0.00572418, 0.0460534282, -0.0678671226, 0.0182480067, 0.0223698299, -0.027169846, -0.0049630702, 0.0021950537, -0.066140458, 0.0107538076, -0.0489551499, -0.0781188384, 0.0648138076, -0.0014078647, 0.0035109476, -0.0095626581, -0.023974292, -0.0192643125, 0.019967787, -0.0029016214, 0.0199963376, -0.0517285876, -0.0175091326, -0.0865590051, -0.0168792885, 0.0132960491, -0.0556938238, 0.0406036153, -0.0349903628, 0.0165579505, -0.0070659271, -0.0623202585, -0.0665859729, -0.007501591, -0.029276466, 0.0156132216, -0.0200739708, -0.0389124118, -0.001131097, -0.0328404754, 0.040018186, 0.0135883018, -0.0050658332, 0.0166500285, -0.0398676917, -0.0430409871, 0.0552828498, 0.0583235249, -0.0284190793, -0.0185414646, -0.0012292573, -0.0072265919, 0.0392641872, -0.0134993047, -0.0161624849, 0.0235496257, 0.0331282876, -0.0381345674, 0.0198958348, 0.0538761839, 0.0476638302, -0.04133204, -0.0127437301, 0.0901814327, 0.0201870501, -0.0329795256, 0.020041883, -0.0139067443, 0.0243678968, 0.034162052, 0.0366629623, -0.0469324179, -0.0286924709, -0.0101400558, 0.0643581524, 0.0191141218, 0.004933265, 0.0058265156, -0.1232111081, 0.011717651, 0.0085173417, -0.0702697039, -0.0228512567, -0.0024714461, 0.0340286121, -0.0326179042, 0.0173270851, 0.0410398245, 0.0141630564, -0.0130418045, 0.0226374492, 0.0234238803, -0.0535460263, 0.0173652004, -0.0691596493, 0.0846632347, 0.0997804105, 0.0192025751, -0.0079848003, -0.0478894785, 0.0097205015, 0.0098220315, 0.0005617931, 0.0117403874, -0.0144919008, -0.0301913489, -0.0155817941, 0.0065383511, 0.0768046305, -0.0229195431, -0.0044504595, -0.021696629, 0.0502893813, -0.0246005077, 0.0409617536, -0.0071041756, -0.0212954897, 0.0242901333, 0.0681929588, -0.0028503675, -0.0766748115, -0.0241731312, -0.010312669, -0.0630237237, -0.0254853461, -0.0220713969, 0.0127077522, -0.0231005736, 0.01365312, -0.0804647952, -0.0447360426, 0.0045440886, 0.0124357222, 0.0242788084, -0.0217695627, -0.0109625049, -0.0103390515, -0.025984006, 0.0349407122, -0.031906683, 0.0173493605, -0.0927123576, -0.0249246154, 0.03128374, -0.0513625629, 0.0068595675, -0.0071581714, -0.0252849422, -0.0739163086, 0.0101900939, 0.0899012983, 0.0178926215, 0.0717493519, -0.001943464, -0.0245026574, 0.0490746461, 0.0634371042, -0.0395949446, 0.0288254563, 0.0250527672, 0.0502359532, -0.0105889738, 0.0433787815, -0.0784318745, 0.0018246386, 0.0239054654, 0.0392959341, -0.0126739535, -0.0375578068, 0.0468182676, -0.0161302481, 0.0231298488, -0.0363105275, -0.0181717351, -0.0231158119, -0.0017948443, 0.0038490528, -0.0327298678, -0.0293725505, -0.0464389808, 0.0077479267, -0.0075226701, 0.0184530839, -0.0212701596, -0.0016137587, 0.0162081569, -0.0215058345, 0.0172885582, -0.0021393949, 0.0241949428, -0.0039708633, 0.0433396362, -0.0054909028, 0.0298919789, 0.0060826777, 0.0448919497, 0.0251681954, 0.0721300021, 0.0352385677, 0.0172024257, -0.0181322657, 0.0346549712, -0.0004903556, -0.0544870533, -0.0369402096, 0.0166718997, 0.0531692579, -0.0000063124, 0.0191370361, -0.0346859843, 0.0038381435, -0.0071610152, 0.0273932144, -0.0450698361, 0.0050975867, 0.0594656095, 0.0361073725, -0.0069821812, -0.0014133513, 0.0500017218, -0.0034782672, 0.0523016304, -0.0303989667, 0.0623354055, -0.0300061218, -0.021648759, 0.0462947451, 0.0024863456, -0.0215166062, -0.0449589193, -0.0355108231, -0.04835115, -0.0224093385, 0.062369816, -0.0358284377, -0.0295951981, 0.0469692312, 0.0054487321, -0.0459498912, -0.008820123, -0.0338179916, -0.0554099791, -0.0024957038, -0.0304827467, -0.0192111339, -6.315677681e-33, -0.0431448892, -0.0273707788, 0.0544853508, 0.0128272725, -0.0312381461, -0.0249340571, -0.0043133963, 0.0086955912, -0.0309021324, -0.0076927184, -0.0191476569, 0.0023637705, -0.0001721434, -0.0198801626, 0.0332222506, -0.0308164563, -0.0014323142, -0.0476792268, -0.0628855228, -0.0119816931, 0.0313871019, 0.0061835288, 0.0440807641, -0.07369297, 0.0432224907, 0.0021366603, -0.042236127, 0.0305090975, -0.0366284437, 0.0869201869, 0.0083876643, 0.0240943842, 0.0006609456, -0.0012662505, 0.0019397505, 0.0274287276, -0.0355774648, -0.0404439047, 0.0085837338, 0.0088302316, -0.0402645022, -0.019995911, 0.0655483305, -0.0277415346, -0.059125986, 0.048413191, 0.0180472266, -0.0213341173, -0.0027095433, 0.0210061092, -0.0603502467, -0.0146042537, 0.0069244439, -0.071016103, -0.0021115174, 0.0028860467, -0.0115268677, 0.0061586583, -0.0434375443, 0.0272414014, 0.0132091288, 0.0024150251, 0.097498484, 0.0267783217, 0.0092434576, 0.045031853, 0.0003822329, -0.0000533781, 0.0259653348, -0.0281154588, 0.026248036, 0.0654303581, 0.0478207618, 0.036741253, 0.0047289203, 0.0106342444, -0.0245261267, 0.0440472141, 0.0347734466, 0.040449895, 0.0044666217, 0.0518950261, -0.0941299424, -0.0059736352, -0.0293785781, -0.0019370739, -0.019249931, -0.0446260385, 0.0505689383, 0.0223405864, -0.0167058632, -0.0479890332, 0.0187690817, -0.0266425554, -0.0026955029, -0.0004696472, -0.0327475592, 0.0331565663, 0.0043348335, -0.0332258604, -0.0662677512, -0.0490368716, -0.0092614656, -0.0373220406, 0.0126965418, 0.0452908687, 0.019002717, 0.0415707603, -0.039058309, 0.0171129517, -0.01769685, 0.0070153852, 0.0254361555, -0.0437614284, 0.0509965532, -0.0166760236, -0.0146955457, 0.0686085597, -0.0031812966, -0.0646912679, -0.0203855708, -0.025097575, -0.0194395036, 0.0037924098, -0.0320222005, 0.0209260006, -0.023030173, 0.0410500057, -0.034542691, -0.0313984901, -0.0009721558, 0.01206725, 2.8e-7, 0.012481818, 0.0289141927, 0.0219779685, 0.0387993865, -0.0019392372, 0.0492410026, -0.0424305014, 0.0329336934, -0.0182585996, -0.0129973385, 0.036952354, 0.0451600812, 0.0364336222, -0.0304272268, -0.0703318343, 0.0019960131, -0.047793299, 0.0187164601, -0.0387342498, -0.0084883776, 0.0110784937, 0.0791281313, 0.0264976174, -0.0064891339, -0.0120982388, 0.0122257695, 0.0388014689, -0.0484952405, -0.0133873001, 0.0162766576, -0.0156623404, 0.0181192309, -0.0353605822, -0.0050968993, -0.0033464998, 0.045799233, -0.0170151964, 0.0797233209, -0.0189338047, -0.024816405, -0.0035179672, -0.0001326054, 0.0236692429, -0.0290859044, 0.0304435529, -0.0558670647, -0.0144009767, -0.0124143669, 0.0057321768, -0.0251554009, -0.0143878711, -0.0299042575, 0.0162938926, -0.0163436811, 0.0104393093, -0.0005819178, -0.0370468572, -0.0419481881, -0.0252940301, 0.0225254651, -0.0257419478, -0.0225054547, -0.023060929, 0.0582162961, -0.0253138486, -0.0668545142, -0.0005758659, 2.23538572e-34, -0.0292386636, -0.0410285294, 0.0326174907, 0.0391181223, -0.0071338513, 0.0329878815, -0.0081138359, 0.0278623328, 0.071150966, -0.0240294822, -0.0139084905 ]
http://arxiv.org/abs/2310.05884v2
http://arxiv.org/pdf/2310.05884v2
A Meta-Learning Perspective on Transformers for Causal Language Modeling
2023-10-09T17:27:36
2024-03-25T17:58:36
Xinbo Wu, Lav R. Varshney
cs.LG
cs.LG, cs.AI, cs.CL
The Transformer architecture has become prominent in developing large causal language models. However, mechanisms to explain its capabilities are not well understood. Focused on the training process, here we establish a meta-learning view of the Transformer architecture when trained for the causal language modeling task, by explicating an inner optimization process within the Transformer. Further, within the inner optimization, we discover and theoretically analyze a special characteristic of the norms of learned token representations within Transformer-based causal language models. Our analysis is supported by experiments in various settings.
[ 0.028976934, 0.0270622987, -0.0451560393, 0.0122614307, -0.0226486661, 0.016315842, 0.0137511278, -0.0121616274, -0.0784968957, -0.0480733253, -0.0173213799, 0.0183000304, -0.0064559951, 0.0055272412, 0.0285645965, -0.0390587449, 0.0684547797, -0.0195320621, 0.0128762228, -0.01102609, -0.0262825359, -0.0467794724, -0.0011008763, 0.0746645331, -0.0260284971, 0.0289570745, 0.0379955843, -0.0199504048, -0.0253825746, -0.007392019, -0.0171477627, 0.0295104347, 0.0106700407, 0.0672867745, 0.0000017183, -0.0421084017, -0.0108766146, -0.0048142141, 0.0142462077, -0.0593742356, 0.0204482712, -0.0249792933, -0.0105547318, 0.0168729387, -0.0179830715, -0.0736429617, 0.0818371251, 0.0721415728, 0.0176878721, 0.0895873755, -0.0299521424, -0.0883823857, 0.0281307008, -0.0256229434, -0.0016634698, 0.0111720329, 0.0370902158, -0.0275998693, -0.0359138772, -0.0085707307, -0.0576084256, 0.0011223507, 0.0177646987, 0.0099872975, 0.0183847919, 0.0170475524, -0.0056064734, -0.0166313276, 0.0066683022, 0.0195213687, 0.0063267662, -0.038870059, -0.00947922, 0.0276799053, 0.0290934872, 0.078013204, -0.0298910271, 0.0208055321, 0.0129604125, 0.0115146497, 0.0044863294, 0.0147310961, 0.036165081, -0.0261948444, -0.0773603395, 0.0832189023, 0.0337204784, -0.0352486558, -0.0449917726, -0.0083847875, -0.0020394498, -0.0147759737, -0.0032954039, 0.0184157584, -0.0307541639, 0.0326990746, -0.0012518666, -0.0301615279, -0.005873742, -0.0144291688, 0.0281361304, 0.0383713581, 0.0014566857, 0.0193599034, -0.0549678914, 0.0604037382, -0.0111875776, 0.079110384, -0.0342713706, 0.0167454872, -0.0605934374, -0.0511537753, -0.0603200421, 0.0379941352, 0.0051749307, 0.0029737242, -0.0584635772, 0.0255353749, 0.0169211123, -0.0127510754, 0.0273285229, -0.0413268134, -0.0319757499, -0.0174257383, -0.0216341168, 0.028638538, -0.0334855467, 0.0535505675, -0.0186222866, -0.0112562822, -0.012839241, 0.0037127845, -0.0193180609, -0.0523958094, -0.0138613619, 0.1141933426, 0.0121830823, -0.0595415495, -0.0168896802, 0.0189909004, -0.0217697918, -0.0247622319, 0.0273993146, -0.0460042991, -0.0152523071, 0.0253285039, 0.0092508113, -0.0101089487, -0.0001399623, -0.0276167002, -0.0266618617, 0.0532402024, 0.0174998045, 0.000425082, -0.0363143645, -0.0329775661, -0.014174412, 0.0560063235, 0.0489941947, 0.0133324359, -0.0050381864, -0.0178867653, 0.0130067179, 0.017598724, 0.0339457355, -0.0194045715, -0.0228565559, -0.0464105159, 0.0551725812, -0.0055586062, -0.0121053346, 0.0435419083, -0.0354356766, 0.009992471, 0.033732295, 0.0292196553, 0.0218880866, 0.0086834067, 0.0606740527, -0.065137051, -0.01460528, 0.0556143038, -0.0654758066, 0.0116178133, -0.0048268787, -0.0146859949, -0.0425021201, 0.0158875491, -0.032909926, -0.0403752699, -0.0145546049, -0.0150504075, -0.0377399065, -0.0583541989, 0.0868511647, 0.0487452634, -0.0288400371, 0.0500178486, 0.0242114924, -0.0370702855, 0.0273736417, -0.0574215949, -0.0088200709, 0.0246857088, 0.0479079783, -0.0561609715, 0.002184544, -0.0181393102, -0.0011357323, 0.0371546373, 0.0003192443, -0.0087740514, -0.0082541453, -0.0282806009, 0.0033450318, 0.0150060207, 0.0407982692, 0.0084631564, -0.0380866416, -0.0431015901, -0.0021706065, -0.0549873821, -0.0152148195, 0.0653132573, -0.0288019199, -0.014359979, -0.0123728411, 0.039054729, 0.017850725, -0.0159673262, -0.027828576, 0.0330951922, 0.0198947769, -0.0634385422, -0.0474709682, 0.0954585597, -0.0528153516, -0.0163920708, 0.0412848592, -0.0844237879, 0.0156468004, 0.0333207697, -0.0022005208, -0.0712454468, 0.0621715002, -0.0482789949, 0.0958058387, -0.0148281371, 0.0379766896, -0.0168562178, 0.0086991359, -0.0507543422, 0.0523708761, -0.0141800437, 0.023523448, -0.0012466387, -0.0579147898, 0.0373182669, 0.012538854, -0.0160281565, 0.0057191127, -0.0306878444, -0.0025005601, 0.0497548282, -0.044175934, 0.0122454828, -0.0889802873, -0.0294960886, -0.0366251804, -0.0259662159, -0.0000687824, 0.0019026925, 0.0110076182, 0.0217286777, 0.0029205924, -0.0037852773, -0.0001058911, -0.0167001169, 0.0172263123, 0.0310221277, -0.0026794984, -0.0319101438, -0.0366045088, -0.0363823175, -0.0447234623, 0.0695659369, 0.0199393872, 0.0090319505, -0.0265805312, -0.0554382093, 0.0259799194, 0.0219127275, -0.0393323675, -0.0537246913, 0.012143435, -0.0315537117, 0.0719040707, 0.0374831483, 0.0250339974, 0.0144523336, 0.0402083732, 0.0211778879, -0.0348800756, -0.0108860945, -0.0589512922, 0.0000611007, -0.0721433908, -0.0262932219, 0.0010882133, 0.1012711897, -0.0040224525, -0.0292969923, -0.0704284012, 0.0127935009, -0.0110007944, -0.0401710644, 0.0105092525, -0.0078593269, -0.0350945182, 0.0142172221, -0.0407410897, -0.0560107864, 0.0514921844, -0.0061507914, 0.0056520049, -0.0085490979, 0.0384471044, -0.0553127043, 0.030360518, 0.0456495546, 0.0127803227, 0.0195452627, -0.05650758, -0.0606777817, -0.0179969352, 0.0549681969, 0.0147237945, 0.0288002733, -0.0081394315, 0.0392277688, -0.0041806395, -0.0437935926, -0.0320091657, -0.0296607353, 0.0008353177, 0.0190882348, 0.0265684202, -0.008117809, -0.0785249844, 0.0248079319, -0.000615028, 0.0282927249, -0.0133760711, -0.008783591, -0.036646992, -0.0206958093, 0.0111841876, -0.0326319449, 0.0344340466, -0.0192057826, 0.0123467417, -0.0084497202, 0.0240310673, 0.0068496247, -0.0368880332, 0.0012221662, 0.0307165217, -0.0326035284, -0.0035636951, -0.0155133326, 0.0199849512, -0.0025736534, 0.0017293404, 0.101559706, 0.0397469848, -0.0320862792, 0.0299792439, -0.0118839638, 0.0026964194, 0.0594667569, 0.002627973, -0.0472634733, -0.0145508191, 0.0233373344, -0.0231941156, -0.0140991258, -0.0290334113, 0.0218558684, -0.0571518578, -0.0022640161, -0.0173841696, -0.0246839095, -0.009759672, -0.0117952107, -0.013644103, -0.0517645516, 0.0177694056, -0.0141406283, -0.0405469984, -0.0009299917, 0.0377026647, 0.0330618098, -0.027505273, -0.0503483601, -0.0262998678, 0.0566894934, 0.0588258915, 0.001766089, -0.0415446907, -0.0321879573, 0.0580890626, 0.0506084487, 0.0211664326, -0.0066906316, 0.0382063799, -0.0008061136, -0.0250552539, 0.003074527, -0.000848168, -0.0170290191, -0.0405725017, -0.003189293, 0.0787750855, 0.019860737, -0.0195811689, -0.0010925246, -0.021814676, -0.0170359127, 0.0524419993, 0.02097564, -0.0205777921, -0.0312463399, -0.0112137245, -0.0018802721, -0.0099291774, -0.0329375453, -0.0055399849, 0.0451959148, -0.0556999184, -0.0559904203, 0.0077961218, 0.0226882976, 0.0509046726, 0.0313614868, 0.0010526149, -0.0083534112, -0.0176186487, -0.0235877689, 0.0009499275, -0.0393230394, 0.0252615139, -0.0890727416, 0.0004333527, 0.0345398784, -0.0366095118, -0.0232440364, -0.0495782942, -0.035970401, -0.0559683144, 0.0195743963, 0.0957424045, 0.0259609148, 0.0093339672, -0.0076821065, -0.0563409999, 0.0288355984, 0.0541142821, -0.0364065766, 0.0004350975, 0.0908371285, -0.0473875627, 0.0031727748, 0.0434657745, -0.0205409378, 0.0441240706, 0.0350701511, 0.0265483968, 0.0028403215, 0.0701720864, 0.057602644, -0.0121779926, 0.0713956803, -0.0054861838, 0.0233211815, -0.0328161791, 0.0245136805, -0.0432033762, -0.0013812784, -0.0275019612, 0.0235658586, 0.0385998301, 0.0412702411, -0.0033673141, -0.0181309544, -0.0465772562, 0.0124657666, 0.0212610867, 0.0678325742, 0.0042815553, 0.0377145372, 0.0143632982, 0.03318334, 0.0304998122, 0.0010611735, 0.0414950587, 0.0074618566, -0.0079540089, 0.022404002, 0.0401814729, 0.0345367678, -0.0771934018, -0.0071682241, -0.0970276967, 0.0045361761, 0.0279054269, -0.0131993592, 0.0345546603, -0.0022026957, 0.0170619357, -0.0181373898, -0.0058849109, 0.0021768936, 0.0253658816, 0.0229962766, 0.0211758297, 0.0175440442, 0.0055140858, -0.013273336, -0.0262413677, 0.0910932198, -0.0380328298, 0.0491625331, -0.0360212587, 0.0065896604, -0.0370443538, -0.0458210707, -0.0040090247, 0.0060583749, -0.0153863998, 0.0131354928, -0.1074577123, -0.0379215851, 0.0022530258, 0.0077544078, 0.0504638888, -0.027605176, 0.0012918587, 0.0319143869, 0.002684118, -0.0075881835, -0.028244365, -0.0108107366, 0.0277606752, 0.0089745885, 0.0039226292, -5.804841264e-33, -0.0459858812, 0.0010465173, 0.0318125449, -0.0010709077, 0.0085534351, -0.0143185407, -0.0198444687, 0.0137097854, -0.0225799587, 0.0168882739, -0.0081220893, -0.0025624963, 0.019618189, 0.0309773032, 0.0207192618, -0.0092233475, 0.0457151644, 0.0037026238, -0.0308909956, -0.0184807684, 0.0425932258, 0.0257635061, 0.0306307245, -0.011574938, -0.0119467201, 0.0316414647, -0.0104485685, 0.0475311838, -0.0149811311, 0.068230696, 0.0012347302, 0.0158278532, 0.0330521874, -0.0550557524, -0.0203089919, 0.0049214652, -0.0712810084, -0.048852779, 0.0600928068, 0.0097605987, -0.0191010386, -0.0459677689, 0.0469139926, -0.0217285436, -0.0274967067, -0.0041668145, 0.0341393799, 0.000281643, -0.0416995957, -0.003355843, -0.1030130163, 0.0069532255, -0.0135827912, 0.0271787308, 0.0232696198, 0.0232339241, 0.0057989266, 0.0208549276, 0.0303509887, 0.0474957749, -0.0224586837, 0.0552648567, -0.0098786484, 0.0807757527, 0.0047880909, 0.0504681468, 0.0569419898, 0.0334839188, -0.0098030046, -0.0056813895, 0.0505317785, 0.0230319742, 0.0378038026, 0.0480922535, 0.0154474359, -0.0512745641, -0.0251436699, -0.0220467392, 0.0313652195, 0.0388719104, 0.0280589499, -0.0150861433, 0.0024595119, -0.0256394539, -0.087131314, -0.0537239797, -0.0373895466, 0.0043231412, -0.0058333036, 0.0365776904, -0.0106431637, -0.0405575335, 0.0326237567, -0.0584855005, 0.0074468581, 0.031669952, -0.0269845705, 0.0306605641, -0.0107832346, 0.001908358, -0.0656357408, -0.0420335121, 0.0223311204, 0.0388794504, 0.0138829229, 0.0108955503, 0.091795519, 0.007207579, -0.0565098152, -0.0015469523, -0.035180293, -0.0316639543, 0.0182343684, -0.0377419107, 0.0297772065, 0.0538830124, -0.0172522422, -0.0093552275, 0.0156501681, -0.002499545, -0.000491237, 0.0228569992, 0.0035539388, 0.0491762534, -0.0335300714, -0.0115291011, -0.0535985939, 0.0495824777, 0.0628154352, -0.079705134, -0.0276690871, -0.0161970183, 2.539e-7, 0.0666732267, 0.0566872098, 0.0500922017, -0.0048071295, 0.0322853625, 0.0017301729, -0.0005810828, 0.0254506804, 0.0354647785, 0.041001536, 0.0357362032, -0.0017427424, 0.0059971143, -0.0144740166, -0.063057445, 0.0191131923, -0.0551393293, 0.0072038849, -0.003784965, 0.035775505, 0.035388343, 0.0957528055, 0.0151941692, -0.0008430639, -0.0391588882, 0.0007764735, 0.0728136003, -0.047885906, 0.0392571278, 0.0130133312, -0.0537235737, -0.0147373118, 0.0053081946, 0.0226934794, 0.0018486936, 0.0413882397, -0.0232648347, 0.0385016054, -0.0186783187, -0.0012055712, 0.0068831751, -0.0153094335, -0.013036428, 0.0122023467, 0.0394288599, -0.0850829408, -0.0410315171, 0.0090335282, -0.0419104844, 0.0654497817, -0.020718148, -0.0101607637, -0.0303758141, 0.0507115498, 0.011346139, 0.0368956216, 0.0259766988, -0.0682219341, -0.0244976114, -0.0205365065, -0.015145422, -0.0581142753, 0.0023903924, -0.0184799358, 0.0228412058, -0.0314219818, 0.0010129657, 2.317664814e-34, 0.0440074615, -0.0055753118, 0.0322752669, -0.0218141992, 0.0044832393, -0.0607276708, -0.028595984, 0.0435176454, 0.0381917134, -0.0900681764, -0.0128563829 ]