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.10487v1
http://arxiv.org/pdf/2310.10487v1
Type-aware Decoding via Explicitly Aggregating Event Information for Document-level Event Extraction
2023-10-16T15:10:42
2023-10-16T15:10:42
Gang Zhao, Yidong Shi, Shudong Lu, Xinjie Yang, Guanting Dong, Jian Xu, Xiaocheng Gong, Si Li
cs.CL
cs.CL, cs.AI, cs.IR, cs.LG
Document-level event extraction (DEE) faces two main challenges: arguments-scattering and multi-event. Although previous methods attempt to address these challenges, they overlook the interference of event-unrelated sentences during event detection and neglect the mutual interference of different event roles during argument extraction. Therefore, this paper proposes a novel Schema-based Explicitly Aggregating~(SEA) model to address these limitations. SEA aggregates event information into event type and role representations, enabling the decoding of event records based on specific type-aware representations. By detecting each event based on its event type representation, SEA mitigates the interference caused by event-unrelated information. Furthermore, SEA extracts arguments for each role based on its role-aware representations, reducing mutual interference between different roles. Experimental results on the ChFinAnn and DuEE-fin datasets show that SEA outperforms the SOTA methods.
[ 0.0035514086, 0.0143868085, 0.0191230122, 0.0555800088, -0.0117429262, 0.0299975406, -0.029854564, -0.0108643668, -0.0008572611, -0.0481855944, 0.0055754064, 0.0147929788, -0.0192033555, 0.0393685997, -0.0188500881, -0.0280731283, 0.0825350136, 0.006699523, 0.0404201634, 0.0477004237, 0.0255135354, 0.0220700335, -0.0194613244, 0.0079629663, 0.0037420951, -0.0228350386, -0.0248731151, -0.0202590693, 0.052238062, -0.0134333046, 0.0012322081, -0.0138323251, 0.0267406311, 0.0380578525, 0.0000017596, -0.0396176316, -0.0624104142, 0.0053520091, -0.0250581466, 0.0214441065, -0.0244024545, -0.0369803086, -0.0247739367, -0.0176284425, -0.0022798122, -0.0563332699, -0.0014176521, 0.0570418313, -0.0049043964, 0.0900349542, -0.045831956, -0.0373391435, 0.0428461283, 0.0059599699, -0.0180120338, -0.0229420178, 0.0104052275, -0.0198716298, 0.0129833203, 0.0121608665, 0.0387830883, -0.0031877349, -0.0326180309, 0.0242319982, 0.0000092789, 0.0212670118, -0.0576276705, 0.039554704, -0.0231171232, -0.0113946935, 0.0126368785, -0.003423891, 0.0471196957, -0.0064559393, 0.0077923564, -0.0039793197, -0.0376153886, -0.0062167058, -0.0498901196, 0.0256526899, 0.100990817, 0.0813682154, -0.0263450034, 0.0078529352, -0.0290295295, 0.0343707837, 0.0008183917, -0.0067122485, -0.0291900635, 0.0060613696, 0.0033337926, -0.0061965897, 0.0566153899, 0.0165465567, 0.0080069918, 0.0133191552, -0.0161799025, 0.0078728106, 0.0202725548, -0.0856348276, 0.0012786622, 0.0379431285, 0.0043512136, 0.0604031049, 0.0138799986, -0.0180278346, 0.0028705085, -0.0102223596, -0.006982421, 0.0036832632, -0.01188845, 0.0242007226, -0.0454005115, 0.0515049398, -0.052093599, -0.0150646828, 0.0357659087, 0.0236925092, 0.0607912205, -0.0097082537, -0.0090959268, -0.0280039292, -0.0509566329, -0.000080284, 0.0240443349, 0.0217349995, -0.0002209768, 0.0145844296, -0.014503208, -0.0200633649, -0.0194536634, 0.0039723152, 0.0563554987, -0.0191016998, -0.0503398925, 0.0223646071, -0.0527007021, -0.0241276734, -0.0690197572, -0.0575119965, 0.0108566368, -0.0099771535, -0.0493405722, -0.0379295647, 0.0470440276, -0.0211350117, -0.0005055981, -0.0165943503, -0.0217678305, -0.0441523008, -0.0087635461, 0.0328584388, -0.0265287738, -0.0233203266, 0.0307835918, -0.0075496482, -0.0604091398, 0.0800537989, 0.0424711891, 0.0184827372, 0.0395083725, 0.0252419561, -0.0074595092, 0.0246500932, 0.0055388892, -0.0235718843, 0.0856048241, -0.0123181362, -0.0069289054, -0.0653626472, 0.076177232, -0.0275674369, -0.0340667516, -0.0092194891, 0.0277707689, 0.0105235307, -0.0350222476, -0.0123383431, 0.0028006712, 0.00755713, 0.0298887547, 0.0734733045, 0.0358919986, -0.0573256426, 0.0069807903, -0.0043342249, -0.0291361175, 0.001498312, -0.036303889, 0.0062075257, -0.0042349962, -0.0238842778, -0.0202201083, -0.0200940445, 0.0387746878, 0.0021275159, -0.0329536237, 0.0357757509, 0.0045457724, -0.0752514079, -0.0052440027, 0.0146916304, 0.0217520148, 0.0082811415, 0.0493441336, -0.0842212662, -0.0506958403, 0.0240547583, -0.0072091981, 0.0311208498, 0.0271030888, -0.0453155637, 0.0676754788, -0.0412516668, -0.0109816445, 0.027041737, 0.0257468037, 0.0041798325, -0.0488719307, -0.0246547237, -0.0037959723, 0.0194094405, -0.0373654887, 0.0192984249, 0.0207111426, -0.0690832585, -0.0211635027, 0.0032551717, 0.0307318419, 0.0285235662, 0.0050431807, 0.0232691541, 0.0370418206, -0.0342872851, -0.0081567001, 0.0358818658, -0.0226152595, -0.0543919615, -0.0141520295, 0.0050824685, -0.0373100117, -0.0047788471, -0.0210029669, -0.0406482853, -0.0392269827, -0.0270598587, 0.0130414208, 0.0064294771, 0.0068491604, 0.035835743, 0.0026559373, -0.0216260217, 0.0743243098, 0.0286999214, -0.0609869584, -0.0396856479, -0.0243467055, 0.0270906631, -0.0480143838, -0.0140159642, 0.0287888218, -0.0103477892, -0.0038618757, 0.0640028343, -0.040325582, -0.0244820639, 0.0041540521, -0.0661163554, 0.025386516, -0.0164846107, 0.0919923559, 0.0111559695, 0.0363731049, -0.0080266232, 0.0081838276, -0.0271041356, -0.0827729627, -0.033508826, 0.0165321957, 0.0323061757, 0.0187291168, -0.0109318439, -0.0419873409, 0.0016504402, -0.0655792281, 0.0498364083, -0.0026996147, -0.0537512042, -0.0344206803, 0.0573680028, 0.029122822, 0.030233996, -0.0039648637, 0.0090533039, 0.0083666435, -0.0153732952, 0.0187273435, 0.0717280135, -0.0037808123, 0.0205370151, -0.0079909815, -0.0377580486, -0.0566933975, 0.001441127, -0.0184688792, 0.0257415827, -0.0059729875, 0.0116500193, 0.0570569448, 0.0488033295, 0.0149415797, 0.0137021476, -0.0318929031, -0.0793658718, -0.0182474554, -0.011472933, -0.0039641107, -0.0729869008, -0.0201353114, 0.0188979637, -0.0306052547, 0.0173833258, 0.0450982228, -0.031759385, 0.0015906512, -0.0825130567, -0.0002984619, -0.0621460564, 0.074391298, -0.0567857735, 0.0175679438, 0.0108027142, -0.1086879149, 0.0288527738, -0.0209319163, 0.0381601006, -0.0327173993, 0.0671687797, -0.0269360039, 0.0316914208, -0.051839985, -0.0199965443, -0.0356476232, -0.0222894624, 0.0346694253, 0.0026517091, -0.0134955309, 0.0286510345, -0.0454835407, 0.0307422653, -0.0088477228, 0.0571846142, -0.0225963835, -0.0008993797, -0.0386822335, 0.0949788094, -0.0153505094, 0.0002764993, -0.0153770065, 0.0264571123, 0.0078704581, 0.0675309673, 0.0055393479, -0.0075829141, -0.0174712539, 0.0067101116, 0.023637075, -0.0432637222, 0.001993295, -0.0354600996, 0.0434563048, -0.0852394775, 0.0182370786, 0.062783733, 0.0472205617, -0.0636973456, -0.0216807853, 0.0097801611, -0.0042480081, -0.033197239, 0.0019527872, -0.0495226718, -0.0075712614, 0.0156988762, -0.0039356318, -0.0301874112, -0.00208479, 0.0003608977, -0.0172882974, 0.0285600163, 0.0372800454, -0.0096819513, -0.0314164273, -0.0493702739, 0.0263337623, -0.0444620624, -0.0211861935, 0.0261822604, 0.003183004, -0.0202454664, 0.0155570563, -0.0462378785, -0.0657008886, -0.0212218352, -0.01410357, 0.0005936124, 0.0077021285, 0.028112743, 0.0236211196, 0.0397350155, -0.0052472022, -0.0315002836, -0.0370824076, -0.0098834047, 0.0287559535, -0.0520038977, 0.0256265961, -0.0002301335, 0.0644959509, -0.0156761222, -0.032810241, -0.0076030409, 0.0624860972, -0.0178678818, 0.0272898972, -0.0289477333, -0.0482134074, 0.0207404271, 0.0517722704, -0.0167950783, 0.0447079018, 0.007184701, 0.0040857573, 0.0151127614, -0.0184283704, 0.0448760837, 0.0306747574, -0.0212048199, -0.0915377513, -0.0547690727, -0.0689050704, 0.009905993, 0.0007333116, -0.0489484705, 0.0418599769, 0.0572543219, 0.0009738478, -0.0471171588, 0.0258071944, -0.0290943291, 0.0101784915, 0.0234391689, 0.0076215151, 0.0036445321, 0.0515161231, -0.0297016464, 0.061343994, -0.0057610967, -0.0434497073, 0.0082572745, -0.0860189125, 0.017312184, 0.026743589, -0.0176501647, -0.0104910387, -0.0127282739, 0.0292207096, -0.0173535608, -0.0155187761, 0.044100292, -0.0146141006, -0.0182340723, 0.0153779378, -0.0140604423, 0.0189568363, -0.0775029361, 0.0285218004, -0.0700515807, 0.0160728768, 0.0243479311, -0.0061018113, 0.0186880939, 0.0108964415, -0.0033029339, -0.0208402202, 0.0111102406, -0.0572295897, 0.0203274675, -0.0169572663, 0.0199418217, -0.041509781, -0.0142863151, 0.0068145082, 0.0510019921, -0.0162424687, 0.019456055, -0.0298425667, 0.0337905213, 0.0437082574, -0.0007314525, -0.0232078694, -0.0212765615, -0.0559321456, 0.0238070469, 0.0030135601, -0.0050997855, -0.0437824279, -0.0222649239, 0.0331414044, 0.0171096027, -0.0142591791, -0.0012525709, -0.0821043253, 0.0640114769, 0.0049747769, -0.0515260994, 0.051485084, -0.0501337163, 0.0712543055, 0.00553639, 0.0128264334, 0.0098580914, 0.0273969863, 0.0239705089, 0.0699811652, -0.0045887325, 0.0308939647, -0.0273875855, 0.0151035758, 0.0849571154, -0.0218766723, 0.0344176888, -0.0305823013, -0.0438702889, -0.0169656668, -0.0218661223, 0.0600499287, 0.0623667128, -0.046683915, -0.0382799134, -0.07893195, 0.0539237149, 0.0116184205, 0.0079918671, 0.0086580105, -0.0208196044, 0.0170899201, 0.0384479016, 0.0261128489, -0.0240234043, 0.0015409215, -0.003342361, -0.0137717556, -0.0069933892, -0.0218694713, -5.871155676e-33, -0.039371293, 0.0129626421, -0.0166058615, 0.0737140924, -0.0047834353, 0.0801802427, -0.0197332092, -0.0456656106, 0.0438423976, -0.0042721271, -0.0110998284, -0.0045008985, 0.0365214199, -0.0237339586, 0.0031250417, 0.002168101, 0.0508011207, 0.0095612127, -0.009565765, 0.0105565703, 0.0808514878, 0.0199500881, 0.0381751731, -0.086951986, 0.0520766303, 0.0145825772, -0.0087743262, -0.042705778, 0.056634523, 0.0672564879, 0.0006769121, -0.0021582695, 0.0321219675, -0.0019264315, -0.0336692072, 0.0530805998, -0.1153344736, -0.0201189369, 0.0490956008, -0.0008928471, 0.0099701043, -0.0342125781, -0.0072943387, 0.0109207835, 0.0207610223, -0.0467663892, -0.0003584207, -0.0083575714, -0.0259955432, -0.0687301159, -0.0553150065, 0.0730140209, 0.0144715076, 0.0153073575, 0.0391554423, -0.0282784961, 0.042161718, 0.0221816115, -0.0308980532, -0.0009410423, -0.0307105538, 0.0305668041, -0.0473861396, -0.0220542382, -0.0494409986, 0.0358249694, -0.0306892619, -0.0089173662, -0.0258852337, 0.0392254665, -0.0129680485, 0.0557534136, -0.033801008, 0.018122511, 0.0473543368, -0.0026088846, -0.0767441839, 0.0607832037, 0.1006817445, -0.0323756486, -0.0176568143, 0.0444232076, -0.0755602196, 0.0187685192, -0.0022567683, 0.0284978803, 0.0014364565, 0.0149319507, -0.0109821251, -0.0007487864, 0.0208426323, 0.078320995, 0.0462097079, -0.0110580912, -0.0036092733, 0.0275415871, -0.0150620863, 0.0420385972, -0.0291459356, -0.0095380051, -0.0072375094, -0.0494893752, 0.0382908992, -0.0075710597, 0.0094613619, 0.0186546762, 0.0273255464, 0.0132471267, -0.0050026127, 0.0014506298, -0.0010926161, -0.048478879, -0.0290612634, 0.0053544855, 0.0168715734, 0.0033977972, 0.0134558016, 0.0386377536, -0.0041998401, 0.0508443192, -0.0047930647, -0.0190275759, -0.0275892373, 0.0739932582, 0.0223476384, -0.0103983181, -0.0172989219, 0.0046227481, 0.0431038439, -0.0035565244, 0.0058896304, 0.0279838573, 2.447e-7, 0.0281926673, -0.0008782024, 0.0671794936, 0.0442539155, 0.0156887937, 0.0269391108, 0.0279144552, 0.0642197728, 0.0116412416, 0.0207586009, -0.009286263, -0.0025280723, 0.0194759332, 0.0551650375, -0.0629074797, -0.0987190232, -0.0341078825, -0.0401019566, -0.068760559, 0.0070487778, 0.0928770527, 0.0606027432, 0.0223570168, -0.0114955613, 0.007108842, 0.0074099042, 0.0303363055, 0.0533232465, -0.058461342, 0.0603195839, 0.0079395566, -0.0034340476, -0.0102471197, 0.0444566086, -0.0198896173, 0.0363987312, 0.0051615546, 0.0370673761, -0.0484532937, 0.0071168845, 0.0106472904, -0.0340101123, -0.0253150854, 0.0059597711, 0.0602373518, -0.0158843175, -0.0362109579, 0.0040812637, -0.0453232303, 0.0512613878, -0.0809014663, 0.0361530483, -0.0451402664, 0.0546425767, 0.0019123851, -0.014605579, -0.011991336, -0.0867137164, -0.0067480584, 0.0261513349, 0.0219434611, -0.0248831492, 0.0291438457, -0.0222687777, 0.0138844503, -0.0922912508, -0.0210643504, 2.650198161e-34, 0.0001076192, 0.0321538635, -0.0356872939, 0.0480592027, 0.0241243578, -0.0426953435, -0.0543157011, 0.0215839855, 0.0103126792, -0.0152253071, -0.0035086302 ]
http://arxiv.org/abs/2310.10482v1
http://arxiv.org/pdf/2310.10482v1
xCOMET: Transparent Machine Translation Evaluation through Fine-grained Error Detection
2023-10-16T15:03:14
2023-10-16T15:03:14
Nuno M. Guerreiro, Ricardo Rei, Daan van Stigt, Luisa Coheur, Pierre Colombo, André F. T. Martins
cs.CL
cs.CL
Widely used learned metrics for machine translation evaluation, such as COMET and BLEURT, estimate the quality of a translation hypothesis by providing a single sentence-level score. As such, they offer little insight into translation errors (e.g., what are the errors and what is their severity). On the other hand, generative large language models (LLMs) are amplifying the adoption of more granular strategies to evaluation, attempting to detail and categorize translation errors. In this work, we introduce xCOMET, an open-source learned metric designed to bridge the gap between these approaches. xCOMET integrates both sentence-level evaluation and error span detection capabilities, exhibiting state-of-the-art performance across all types of evaluation (sentence-level, system-level, and error span detection). Moreover, it does so while highlighting and categorizing error spans, thus enriching the quality assessment. We also provide a robustness analysis with stress tests, and show that xCOMET is largely capable of identifying localized critical errors and hallucinations.
[ 0.0067452444, 0.0519735441, 0.0096098976, 0.0467405468, -0.0044855024, 0.0304333605, 0.0145786246, 0.0306823775, 0.0032253079, -0.0254692454, -0.0309931803, -0.0646726191, 0.0397641994, -0.002910207, 0.0316451862, -0.0415746905, 0.0258673877, 0.0032346158, 0.0074125938, 0.0146650514, -0.0105228275, 0.0075369906, 0.0178086143, 0.0635911822, 0.0025719714, -0.0297005866, 0.0301312469, 0.0605773777, 0.0562296435, -0.030344164, 0.0074278507, 0.0341107175, -0.015514778, 0.1086235419, 0.0000020585, -0.0374706089, -0.0279064365, 0.0087659461, 0.0387023166, 0.0576483794, 0.0562095195, -0.0568822548, -0.0222608391, 0.0261235721, -0.0188141037, -0.055609826, 0.0533400513, 0.0186420642, 0.0551775247, 0.0770219117, -0.0143944127, -0.0055050896, -0.0059977015, -0.0497874953, 0.0123416753, -0.0667503923, 0.0063970094, -0.0043228138, -0.0627333075, -0.0072319848, -0.0075257905, 0.028306324, 0.0105090654, -0.0300666988, -0.0082272692, -0.0104728015, -0.0400295071, -0.0387436636, -0.0038376024, 0.0553811751, -0.0373034514, -0.0115400758, -0.0202944465, -0.0226455033, -0.0064821471, -0.0490598604, -0.0195868555, 0.0128201898, -0.0051111584, 0.0065508159, -0.0047421693, 0.0230581556, 0.0390571244, -0.0058889901, -0.0436692201, -0.0157986432, 0.0122820381, -0.0450901836, -0.0296788923, 0.0307867303, -0.0254570749, -0.0219992604, 0.0024128729, -0.0267381519, -0.0394823626, -0.0123043638, -0.021816548, -0.0592616871, 0.0390077494, -0.0519147478, 0.0554951094, 0.0035715892, -0.038962733, 0.0625446364, -0.0332760923, 0.0755654424, 0.0163854193, 0.0323693492, -0.0365784578, 0.0125443535, 0.0035897763, 0.0416762605, -0.0325812064, -0.032011345, -0.0258218981, -0.0062780925, -0.029507786, -0.0033980985, -0.0161372926, 0.0526712611, 0.0139815528, -0.0377212353, -0.0352733545, -0.0243296809, 0.0182323046, 0.0300056618, -0.0221709087, -0.0105885817, 0.0211968534, -0.0558863766, -0.0417505242, 0.0396962278, -0.0331498757, -0.0009043219, -0.0090716081, 0.0745471418, 0.0196777601, -0.0271605272, -0.0101176221, -0.0033169542, -0.049230177, -0.0610365905, -0.0273442045, -0.0417136773, 0.0277392417, 0.0020063927, 0.0346743688, -0.0221594293, 0.0262227375, -0.0145902317, -0.002999058, 0.0433847755, 0.0114979027, -0.0036440762, -0.0109974658, 0.0110098887, 0.0205797572, 0.0757811069, 0.0489342883, 0.0420642979, 0.0535249002, 0.0057964353, 0.0420937054, 0.0449426286, -0.0022505268, 0.0451374352, -0.0337215699, -0.018016275, 0.017496638, 0.0475003384, 0.021798905, 0.0546100475, -0.0223396178, 0.0350910649, 0.0682598129, -0.0008972624, 0.0084157502, 0.0237959716, 0.050710272, -0.0123957423, -0.010372607, 0.0038550291, -0.017149467, -0.0037136409, -0.0045797257, -0.0119504193, 0.0749923289, 0.0350141264, 0.0106677702, -0.0806625187, -0.0519605093, -0.0040749619, -0.0172884893, -0.031350594, 0.0460413322, 0.0203586463, -0.0442244858, 0.0143909426, -0.0070132306, -0.0747834221, 0.0206880365, -0.0232748855, 0.0007488496, 0.0605257712, 0.0716061592, -0.0173382442, 0.0113052726, -0.0263850633, 0.0145693291, 0.0548825562, 0.0637210235, 0.0195838697, 0.0332397521, -0.0499269329, -0.0179207623, 0.0123814819, 0.0605521016, -0.0127697922, -0.0075406665, 0.0022655311, 0.0257609319, -0.0698420778, -0.0992738232, 0.0274516214, 0.0379432589, -0.0301488303, 0.0259267241, -0.0088083744, 0.0238788649, 0.0044474257, -0.0420119464, 0.0072520352, -0.003806514, -0.0399613418, -0.0435678139, 0.0119806817, 0.0064380686, -0.0156715121, -0.0014788536, -0.0552819148, -0.0055514053, 0.0266999006, -0.0786613822, -0.035790205, -0.0113251181, -0.0424188375, -0.0041501252, -0.0295800306, 0.0509175919, -0.0117770638, 0.0345197804, -0.0383200385, 0.0412231199, -0.0145346941, 0.0340963379, -0.0250395574, -0.014788934, 0.0062268749, 0.0094707599, -0.0578686856, 0.0277852826, -0.0020689357, 0.0487929583, 0.0331294574, 0.021391755, -0.035308212, -0.0504866391, -0.0587111898, 0.0257660467, -0.0390249528, 0.0331354588, 0.0651551858, 0.0153688835, -0.0028640605, 0.0038790086, -0.0024659655, 0.0187572278, 0.015207964, -0.0048575518, 0.0015477848, -0.0324591473, 0.0019321758, -0.0279227495, -0.000168079, 0.0031403182, 0.0661451966, 0.0106926244, 0.0104343761, -0.0901386365, 0.0430861712, -0.0307269506, -0.0176516157, 0.0184719656, -0.0741762817, -0.0028140193, -0.0204373654, -0.0023216421, 0.0662834197, 0.0068879337, 0.0179185197, 0.0261814073, -0.0049644732, -0.0216389764, -0.009009636, -0.0360657014, -0.0666029304, -0.0072914036, -0.0497617908, 0.0026431035, 0.0260867458, 0.0260298364, -0.0034727426, -0.0645848736, 0.0087485462, -0.0472922251, -0.0236105733, -0.0025522891, 0.0190097969, 0.0228099283, 0.0300213359, -0.0341512226, -0.0573612489, 0.0480651483, -0.0559749119, -0.0068502966, -0.0197076518, 0.0033662117, -0.0262585636, 0.0428390019, 0.0048759263, 0.0261248406, -0.027794715, -0.0091899652, -0.0223352443, 0.0315827094, 0.0144263469, -0.0419425108, 0.0135971922, -0.0753713623, -0.033739835, -0.016327735, -0.0214553196, -0.0079652332, -0.0074112606, 0.0018656105, -0.0216496531, 0.0182675067, -0.0542472973, -0.0339733288, 0.0061311801, 0.0106138447, 0.0468633622, -0.0179931968, -0.0329711698, -0.0159210842, 0.0233537257, -0.0000131162, 0.0178209301, 0.0536211282, -0.0657080188, 0.023494659, 0.0432455726, -0.0033926626, 0.0410912558, -0.0275911614, -0.0259446502, 0.047022365, 0.0219174866, -0.0145469792, -0.0055015506, 0.0704139844, -0.0596416071, -0.0328749195, 0.0946112126, 0.0314588435, -0.0557175204, 0.0018089968, -0.0299614891, 0.0538698472, 0.0155806122, -0.0109188342, -0.0668572634, -0.005830883, 0.0078838477, 0.0603300557, 0.0210083537, 0.0173250139, 0.0122249108, -0.0847289562, 0.0359461233, 0.0550035238, -0.0543691702, -0.0348616987, -0.0233605672, 0.0155707654, -0.0418314897, 0.0302793905, -0.0099439621, 0.0196693372, -0.0062587708, 0.0156701282, -0.0084920134, -0.0886710361, 0.0094632078, -0.0350383408, 0.0434854738, 0.075058192, 0.0259364117, 0.0013917066, -0.0470118783, 0.0334016047, -0.056550242, -0.0271996483, 0.0088185742, 0.0485135429, 0.02559218, -0.0143012647, 0.040475484, 0.0137876347, -0.0290137585, 0.0187275913, -0.0079540526, 0.049509678, -0.0098785916, -0.0189533811, 0.0264813658, -0.0115056075, 0.0258353185, 0.0558883548, 0.0405007601, -0.0368986502, -0.0640004501, -0.0213458464, 0.011973314, -0.062702097, -0.0322751105, 0.0262743644, -0.0083381766, -0.0448510796, -0.082232751, -0.0428052507, -0.0061126458, 0.0317407101, 0.0006202103, -0.0166002158, -0.0493879244, -0.0195278469, -0.0097636729, 0.0340188667, -0.0003035184, 0.0217675287, -0.0383311547, 0.0290529858, 0.005583955, 0.0251366794, -0.0154886395, 0.0810241178, -0.0946448073, -0.0717356503, -0.0104955323, 0.0414783917, 0.0232435465, -0.0098364623, -0.0745866373, -0.0473859273, 0.0448006392, 0.0308778454, -0.0157889929, 0.0165820513, 0.0415564217, -0.026168514, -0.0143842669, 0.0464259125, -0.0120926565, -0.009454512, -0.0158618521, 0.0595160984, 0.0073452927, -0.0534285195, 0.0190195851, -0.0065188003, 0.0416790769, -0.0546410643, -0.0472008921, -0.0186337009, 0.0066091111, -0.0089317039, -0.0269193649, -0.0436057299, -0.0075815222, 0.0575318784, -0.0148078781, -0.0087467749, 0.0375398993, -0.012912563, -0.0307762995, -0.0384082869, 0.00151948, -0.0255361684, 0.0182642415, 0.0161887445, 0.0087639699, -0.0287912767, 0.0081822239, -0.0134699028, 0.0036942745, -0.0062211896, 0.0475107804, 0.0242521856, 0.0215696394, 0.0418595709, 0.0482744388, -0.0230557565, -0.0262560491, -0.0685936287, 0.0175936986, 0.0849926695, 0.0248190071, 0.1419641674, -0.0046176538, -0.0113341939, -0.0319859795, 0.0438375771, 0.0050461963, -0.0349473767, -0.0197835993, -0.0048960182, -0.0018969042, 0.023403747, 0.0693252906, -0.0254479889, 0.0213028062, -0.0255337134, -0.0205218699, -0.0171169229, -0.0319473222, -0.0294644777, -0.0532622598, 0.0008048189, -0.0341879949, -0.0486341119, -0.065072909, 0.0044419016, 0.0623381473, 0.0190652832, 0.0256340969, -0.0208387934, 0.0825501829, -0.0384544879, 0.0046161949, -0.0473997667, -0.0217931587, 0.0123039484, -0.0148825319, -0.0259247571, -6.490580955e-33, -0.0052456385, -0.0367678367, -0.0280618463, -0.0470128246, -0.0429835059, 0.0030407524, -0.0320800729, 0.012286081, 0.0271826647, 0.0232691392, 0.0279327743, 0.0290506519, 0.0189922526, 0.0124746179, 0.0092137996, 0.0191486031, 0.07351809, 0.0182406195, -0.0548175313, 0.0245379526, 0.0257200617, -0.0079867477, 0.0772038698, -0.0788526684, 0.066774182, -0.0077536763, -0.0648268908, 0.0171539001, 0.0045541432, 0.023611648, -0.0033836218, 0.030161513, 0.0055978135, -0.0100009805, -0.0257254671, -0.0335993133, -0.0540476814, 0.0043919482, -0.0063518821, 0.0282968152, -0.045579467, -0.0187881384, 0.0385857522, -0.0336547494, -0.0106495395, -0.0251065399, 0.0212150458, -0.0524842516, -0.0178786404, -0.0043852692, -0.0394044444, 0.0301311538, -0.02586581, 0.011306623, -0.0050266692, 0.0528703779, -0.0203574933, 0.0014777586, -0.0545772538, -0.0021307457, -0.0000313816, 0.0456930697, 0.0570878685, -0.0111483196, -0.0258641783, 0.0242662262, 0.0279270802, -0.009986477, -0.0087714596, -0.0157550592, 0.0252734367, -0.019465249, 0.0803828537, 0.0665636584, 0.0073806206, -0.0007417161, -0.0688626021, 0.031809479, -0.0508472249, 0.0242512599, 0.0342189334, 0.0229007956, -0.0274162311, 0.0114375697, -0.0502008311, -0.0328078084, -0.0482095852, -0.0135265728, 0.0150521398, 0.0226375684, -0.0183038581, -0.0330166295, 0.0395150594, -0.0113524245, 0.0077895704, -0.0035995601, -0.0282067992, 0.0280118547, -0.0244551934, 0.0248408038, 0.0251377095, -0.0103841061, 0.0122242142, 0.0500593558, 0.0495426729, -0.0347910523, 0.0532040372, 0.0066906805, -0.0760075375, 0.0405964851, -0.0371612683, 0.0179726146, -0.0198035408, -0.0000634266, 0.0198213961, -0.0425665714, -0.0233168527, 0.0167745631, 0.0259681586, 0.0529052727, -0.0125250826, 0.0278389473, 0.0064471033, 0.0131391073, -0.0546321236, 0.0069325501, 0.0018639204, 0.0035000734, 0.0639823526, -0.0349437892, -0.024421243, -0.0015552891, 2.711e-7, 0.038088128, 0.0551193282, -0.0200028084, 0.0253743287, 0.0070504602, 0.0162904784, -0.0164091922, 0.0384415388, -0.0158207882, 0.0486294553, 0.0264792424, 0.0055523901, 0.108100079, 0.0491908565, -0.0504843928, -0.0225217957, -0.0622686483, 0.0276640691, -0.0501074493, -0.0059559741, 0.084382236, 0.0897046998, 0.0087206438, 0.016259484, 0.0100537278, -0.0585097969, 0.0687656179, -0.0164312851, -0.0109816361, 0.0323593542, 0.0612588152, 0.0504789054, -0.0179825239, 0.0145949526, -0.0285821818, -0.0272571426, 0.033325728, 0.0562035218, 0.0095298132, -0.0150297722, 0.0098881414, 0.0021211968, 0.0132439239, -0.0676825792, 0.0356135704, -0.0190690383, -0.0082005775, -0.0014192216, -0.0024721914, 0.0024972733, 0.0998401195, -0.0406497419, -0.0440189131, 0.0211084764, 0.0358335078, 0.0224299934, -0.0219287202, -0.0617798567, -0.03361696, 0.0091315741, -0.0059288149, -0.0583550371, 0.0068260264, 0.0284436904, -0.0301869139, -0.0495150238, 0.0094730351, 2.693233423e-34, 0.0726170018, -0.0363667682, 0.0003814599, -0.0394483469, 0.0648805574, -0.0122680627, 0.0069770967, -0.0185852423, -0.021714028, -0.0667490885, 0.0059693484 ]
http://arxiv.org/abs/2310.10481v1
http://arxiv.org/pdf/2310.10481v1
DemoSG: Demonstration-enhanced Schema-guided Generation for Low-resource Event Extraction
2023-10-16T15:02:37
2023-10-16T15:02:37
Gang Zhao, Xiaocheng Gong, Xinjie Yang, Guanting Dong, Shudong Lu, Si Li
cs.CL
cs.CL, cs.AI, cs.IR, cs.LG
Most current Event Extraction (EE) methods focus on the high-resource scenario, which requires a large amount of annotated data and can hardly be applied to low-resource domains. To address EE more effectively with limited resources, we propose the Demonstration-enhanced Schema-guided Generation (DemoSG) model, which benefits low-resource EE from two aspects: Firstly, we propose the demonstration-based learning paradigm for EE to fully use the annotated data, which transforms them into demonstrations to illustrate the extraction process and help the model learn effectively. Secondly, we formulate EE as a natural language generation task guided by schema-based prompts, thereby leveraging label semantics and promoting knowledge transfer in low-resource scenarios. We conduct extensive experiments under in-domain and domain adaptation low-resource settings on three datasets, and study the robustness of DemoSG. The results show that DemoSG significantly outperforms current methods in low-resource scenarios.
[ 0.003416846, 0.0316284485, 0.0072809183, 0.0358251594, -0.0320767164, -0.0031135743, 0.0109925186, -0.0168116875, 0.0210548826, -0.0558702648, -0.0002219509, 0.0075294143, -0.0399097428, 0.0518938452, 0.0115686962, -0.0838018432, 0.0533174984, 0.007941531, 0.0086555472, 0.0511020347, 0.0193295479, -0.0034260966, -0.02931563, 0.0090204533, -0.0382062383, 0.0274042152, -0.0086610131, -0.0406571291, 0.0436706692, -0.0847739354, -0.0136743942, 0.0239847116, 0.0529633835, -0.0293738768, 0.0000019823, -0.0822272971, -0.0214482341, 0.0073956707, -0.0349271074, -0.0243765488, 0.0242380053, 0.0142043838, -0.0015885149, -0.0081301089, -0.0538857989, -0.0418565162, 0.005537936, 0.0552922748, 0.0266155768, 0.0933892578, -0.0370031521, -0.0106642265, -0.0208629984, -0.0105487611, 0.0101031475, -0.0163131151, -0.029899735, -0.0273457859, 0.0575677827, -0.0265711248, 0.019080516, 0.0157028157, 0.0205585547, 0.0207894873, -0.0227291137, 0.0634258986, -0.0467187949, 0.006227179, -0.0314726457, 0.079594247, 0.0250993092, 0.0263736267, 0.0564336032, -0.0067670005, 0.0304461494, -0.007538022, -0.0533439741, 0.0273831114, -0.033003211, -0.0005548593, 0.0462336615, 0.0171022676, -0.0200226754, -0.0266910922, 0.0123951016, 0.0168318115, 0.0049625365, 0.0010746451, -0.0365173146, -0.0056636622, -0.0166864824, -0.0450137667, -0.0041305856, 0.0376668386, -0.0383450314, 0.0347766988, -0.082408689, -0.031980101, -0.0054232622, -0.0245417282, 0.0227586869, 0.013874013, -0.0041203317, 0.0121266171, -0.0164946429, 0.0345062092, 0.0350350067, 0.0230579432, 0.0096093221, 0.0269117095, -0.0602403469, 0.0425458439, -0.0464520454, 0.0509523526, -0.0557778403, -0.0132122645, -0.0106017552, 0.013528673, 0.016035486, 0.0050918846, -0.0191551447, 0.0094735315, -0.0801192671, 0.0107873129, -0.0005887144, -0.0244849082, -0.0406061523, 0.0036336109, 0.0427565537, -0.0546892397, -0.038188342, 0.0392414927, 0.0420471244, 0.0074279197, -0.0250727218, 0.0668822154, -0.0333754756, -0.0210664589, -0.0921255723, -0.0585390963, 0.0123867914, -0.0052332147, -0.0323423818, -0.0460013598, 0.0467609614, -0.0058699301, -0.0324193947, -0.0546643361, 0.037911728, 0.0107822167, -0.016044341, 0.0228957552, -0.0563963726, -0.0006327489, 0.0217144266, -0.0047674393, -0.0537553467, 0.055211734, 0.077796258, 0.0314935111, 0.0455203727, 0.0388889574, 0.0165041201, 0.0058549778, 0.0152409235, -0.0077488874, -0.0182123315, -0.0025949117, 0.0073674154, 0.0149825839, 0.0509332754, 0.006090614, -0.015283566, 0.0421270914, 0.0321790278, -0.0064696535, -0.0263091642, -0.0426638871, 0.0647398606, 0.0185777098, -0.0250198599, 0.0143741351, -0.0115060303, -0.0059668934, 0.0146063473, 0.0211834423, -0.0123618878, 0.0083491635, -0.0095943827, -0.028506238, 0.0080870949, -0.004692527, -0.008598309, -0.0077548996, 0.0290074274, 0.0532102883, -0.0539603829, 0.0618500225, 0.0333562978, -0.0557770915, 0.054568965, -0.0225426145, 0.0218114667, 0.0300560389, 0.0480535962, -0.0340721384, -0.0243001208, -0.0033764497, 0.0734820515, 0.0524974354, 0.0174844414, -0.0534590147, 0.0098644597, -0.0399805866, -0.0168406609, -0.0300272796, 0.0178238172, -0.0157620162, 0.0508326106, 0.0034754397, 0.0305590034, -0.0420889445, -0.0575967506, 0.0428169258, -0.0225772057, -0.0782693326, 0.0022744893, -0.0011519041, 0.0048181056, -0.0092702974, -0.0169002023, -0.0083089722, 0.0101437001, -0.0429555066, 0.003075565, 0.0388773493, -0.009319135, -0.0913664922, -0.0228774976, 0.0062088501, 0.0046074288, 0.0035798699, -0.0402501374, -0.039112445, -0.038118843, -0.0062769572, 0.010841459, -0.0245294701, -0.007804974, 0.060817048, -0.0158589892, -0.0534774177, 0.084753938, 0.0232372489, -0.0391064472, 0.0157865044, 0.0112171043, 0.0043943482, -0.0409720913, 0.0150244283, 0.0426352285, -0.0072184452, -0.0043221484, 0.042321194, 0.0178238768, -0.0685180873, 0.0210716259, -0.0484802537, 0.0537809543, -0.0269006491, 0.0655947402, 0.0271964557, 0.0193497147, -0.0265917182, -0.024622323, -0.0311501175, -0.0362302549, -0.0066573871, -0.0009369763, 0.0507392995, 0.079502508, 0.0077564712, -0.027953485, 0.0550576597, -0.0074168551, 0.0519281179, 0.0411071889, 0.0136355022, -0.0535033047, 0.0645065159, 0.0198288169, 0.0170925148, 0.0197506025, 0.022599088, 0.0168178547, 0.0087435506, 0.0355935842, -0.0200320743, 0.0007805203, 0.0617837124, 0.004871882, -0.054843206, -0.0566030927, 0.0170731563, -0.0409443639, 0.0223110151, -0.0090957135, 0.014735423, 0.0565094277, 0.0321604684, 0.0443461835, 0.0232157111, -0.034397237, -0.0396854728, -0.0430186465, -0.02407231, 0.0059380522, -0.0153437089, -0.0357214622, -0.0125044119, -0.0170144998, -0.0239836965, 0.0691716671, 0.002394564, 0.0082056541, -0.0771897882, 0.0074103256, -0.0304371025, 0.062681444, -0.0524703935, 0.0314813592, 0.0003906048, -0.0720686018, -0.0166896954, -0.0145308701, -0.0011513975, -0.0099326344, 0.0212341063, -0.075496085, -0.0015395639, -0.0200348552, -0.0113682244, -0.0691268295, -0.0509710684, 0.0394819118, 0.0003835646, -0.0101514487, 0.0154349804, -0.0512997955, 0.0074478178, 0.0084466804, 0.0861939341, 0.0001601448, -0.0183684807, 0.0007409536, 0.0545623153, 0.0413501263, 0.0155774616, -0.0476694331, -0.0271242727, 0.0217679311, 0.0427307039, 0.0587473959, -0.0052394047, -0.0077730394, -0.0089133475, -0.0230025146, -0.0584102236, 0.0072204708, 0.0585811958, 0.0572552606, -0.0678359568, -0.0205703806, 0.0948910043, 0.0249768738, 0.0020199595, 0.0331675373, 0.0408010408, 0.0178639702, 0.0103051579, 0.0288768541, -0.0764801726, -0.0306095947, 0.0095574046, 0.049156338, 0.0023823029, -0.0372073986, -0.0274101105, -0.09157148, 0.0463776626, 0.008118432, -0.0834289491, -0.0210300963, -0.0420609117, 0.0291995835, 0.0092478162, -0.0075067258, 0.0224562548, -0.0281750783, 0.0215691086, 0.0285635814, -0.0469674394, -0.1297724247, -0.008269188, -0.034989614, 0.030954212, -0.0078460621, 0.009830785, 0.0260234792, 0.0549677461, -0.0074644457, 0.0060177096, 0.0281207655, -0.022046756, 0.0571763776, -0.0059744427, -0.0174811035, 0.0151737733, 0.0560670123, -0.002434978, -0.0479410999, 0.0282398853, 0.0714918375, -0.0369411074, -0.0068974355, -0.0114907688, -0.0434979349, 0.0791032016, 0.0460320003, 0.0300630294, -0.0142780496, 0.0109141124, 0.0297187399, -0.0145655461, -0.0621507391, 0.0214191284, 0.0104781874, -0.0357888453, -0.0351318978, -0.0866522118, -0.0802063271, 0.0523047596, 0.05930553, 0.005184161, -0.000170631, -0.0221776497, 0.0150406575, -0.053741008, 0.0415823534, -0.0469403677, -0.030896781, -0.0276621804, -0.0449305326, 0.0062629189, -0.0050658579, -0.0329403318, 0.0574940071, -0.0215120614, -0.0308809094, -0.0131696267, -0.0158465803, 0.0080914181, 0.0382134877, 0.0242654961, 0.0125743719, 0.016406849, 0.0844201744, -0.0278454348, -0.0248223972, 0.0012407313, -0.0383681282, -0.0013892084, 0.0197617151, -0.0192072131, 0.0333258137, -0.0437368788, 0.0891185328, -0.0389766097, -0.0123341773, 0.019459242, 0.0172217675, 0.0228586886, -0.0404637046, -0.0554238297, -0.0796004012, -0.0269630048, -0.0133609148, -0.0089609362, -0.044518847, 0.0411261171, -0.0430994593, 0.0071100085, -0.0010873713, 0.0082416777, -0.0310202856, 0.0334041454, -0.0489029698, 0.0017096212, 0.0455205105, -0.0188843478, 0.0205672849, 0.0096223503, -0.0363756269, -0.0189183671, 0.009532759, 0.0234414861, -0.029623419, 0.0198539421, 0.0562123768, 0.0042041619, 0.0266133063, -0.0035962444, -0.0074144755, 0.0357611105, -0.0528450087, 0.0035833563, 0.0405853763, -0.0025761118, 0.0249266904, -0.0333704241, 0.0212868899, 0.0098890355, 0.0294483136, -0.0065259887, -0.0275537111, -0.002645836, 0.0103610335, -0.019490106, 0.0075841695, 0.0675383881, 0.0004260709, 0.0694529787, -0.0244953558, 0.011401576, -0.0759449378, -0.0334583782, 0.0599651113, 0.0124550778, -0.010194798, -0.0061082826, -0.0563967414, -0.000998912, 0.0117577882, -0.0217740126, -0.0266079605, -0.0099099176, 0.0625288934, 0.0541766956, -0.0093262373, -0.0185447782, -0.0251356009, -0.0064724609, 0.0075759604, -0.0428345613, -0.0176821966, -5.72245711e-33, -0.0508919209, -0.0498277619, 0.063749969, 0.024920227, -0.0057117981, 0.0169233941, -0.0716153681, -0.0130773857, 0.0336539671, 0.0227018017, 0.0040720818, -0.0395576172, 0.0164650232, -0.0018738507, 0.0017914812, -0.0236084443, 0.04206248, 0.0025089905, -0.0442054309, 0.0514993928, 0.066762954, 0.0501239561, 0.0560630485, -0.1150659993, 0.0109582171, 0.0158424098, -0.0208439101, -0.0229244512, 0.0947197154, 0.0176608823, -0.0002982915, 0.0405427031, 0.0165976882, -0.06365408, -0.0140568316, 0.0160205308, -0.0382611193, -0.0475174077, 0.0192951616, -0.0202433225, -0.0206416883, -0.0197485387, -0.0031373913, -0.0371431932, 0.0070061758, 0.0386327356, 0.0341311358, -0.0106578358, 0.0020956825, -0.0597829483, -0.0995894969, 0.0481103733, 0.0445267297, -0.0386086404, 0.0022031148, 0.0135665974, -0.0059822216, -0.0526233688, -0.0048791408, 0.014937303, 0.0027002397, 0.0190607756, 0.027198663, 0.0097638853, -0.0559025183, 0.063376449, -0.0468674563, 0.0156976506, 0.03204301, 0.042032849, 0.0110582067, 0.0672684088, -0.0350350812, 0.0172304343, 0.0161862653, 0.0072779842, -0.04954651, 0.0514201038, 0.0137780225, -0.0243354235, -0.008808909, -0.0204031635, -0.0722080693, 0.0201491397, -0.0156719983, 0.0830188766, 0.0079477197, -0.0217632707, 0.06175109, 0.0303162001, -0.0100666881, 0.0540382639, 0.0292904209, 0.022100091, -0.0120639242, 0.0177151021, -0.0086202221, 0.0027632467, -0.0206048787, -0.0283390395, -0.0441364646, -0.061482247, 0.0479540564, 0.0172357075, 0.0185879692, 0.0132389609, 0.0279387012, 0.0619458146, -0.0293026846, 0.0229189061, -0.0178187806, 0.028132936, -0.0245508272, -0.0369049683, 0.0121251224, 0.0016030588, -0.0380859785, 0.0320180543, 0.006805181, -0.021578595, 0.006411761, 0.0268208776, -0.0041347309, 0.0518225804, -0.0036622477, 0.0197255034, -0.0090147043, 0.0181898978, -0.0166404787, -0.0232355669, 0.0006553784, 0.0035391611, 2.677e-7, -0.0070295767, 0.0143553764, 0.0052423789, 0.052510418, -0.0230245218, 0.0062689655, 0.0122457519, 0.0512153469, -0.010050416, -0.0236200206, 0.0188946724, 0.0024883067, 0.0213441253, 0.0516056977, -0.0922608078, -0.0485870391, -0.0105157187, -0.0023004448, -0.0788257942, 0.003688975, 0.0945132747, 0.0072266958, 0.015011671, 0.0080230869, 0.0139325038, -0.0442638882, 0.0401433483, 0.020211488, -0.0286191534, 0.0386821181, 0.0048099868, 0.0591626987, -0.0414796174, 0.0367919095, -0.02396743, -0.0058013271, -0.0148198064, 0.0319683664, -0.0112808309, 0.0051750764, 0.0242406912, -0.0185896177, -0.0107925311, 0.0049531315, 0.0188733563, -0.0675507858, -0.0129663078, 0.0268814415, -0.0179109331, 0.0189797226, -0.0820189267, -0.0090451315, -0.0205941238, 0.0083672116, 0.0057521402, 0.0190270953, -0.0407292694, -0.0431776717, 0.007746466, 0.0626232252, -0.0263541695, -0.036077071, -0.0127553381, 0.0122327842, -0.0255710389, -0.0654109493, 0.000719699, 2.618663918e-34, -0.0014505733, 0.0185651798, -0.0335988402, 0.0351761617, 0.0380324759, 0.0088593187, 0.016960375, -0.015464237, 0.0089072948, -0.0035131245, -0.0152521338 ]
http://arxiv.org/abs/2310.10480v1
http://arxiv.org/pdf/2310.10480v1
G-SPEED: General SParse Efficient Editing MoDel
2023-10-16T15:01:18
2023-10-16T15:01:18
Haoke Zhang, Yue Wang, Juntao Li, Xiabing Zhou, Min Zhang
cs.CL
cs.CL
Large Language Models~(LLMs) have demonstrated incredible capabilities in understanding, generating, and manipulating languages. Through human-model interactions, LLMs can automatically understand human-issued instructions and output the expected contents, which can significantly increase working efficiency. In various types of real-world demands, editing-oriented tasks account for a considerable proportion, which involves an interactive process that entails the continuous refinement of existing texts to meet specific criteria. Due to the need for multi-round human-model interaction and the generation of complicated editing tasks, there is an emergent need for efficient general editing models. In this paper, we propose \underline{\textbf{G}}eneral \underline{\textbf{SP}}arse \underline{\textbf{E}}fficient \underline{\textbf{E}}diting Mo\underline{\textbf{D}}el~(\textbf{G-SPEED}), which can fulfill diverse editing requirements through a single model while maintaining low computational costs. Specifically, we first propose a novel unsupervised text editing data clustering algorithm to deal with the data scarcity problem. Subsequently, we introduce a sparse editing model architecture to mitigate the inherently limited learning capabilities of small language models. The experimental outcomes indicate that G-SPEED, with its 508M parameters, can surpass LLMs equipped with 175B parameters. Our code and model checkpoints are available at \url{https://github.com/Banner-Z/G-SPEED}.
[ 0.0711257309, 0.0260905419, -0.0090191746, 0.0027466521, -0.0354031622, -0.0049317549, 0.0057318625, 0.0277431495, -0.0269492883, -0.0520911254, -0.037080463, -0.0314020291, 0.0092120925, 0.0167143345, 0.0251571611, -0.0815758929, 0.0569671206, -0.0256128218, -0.0220657308, 0.002922703, 0.0246576052, -0.005999417, 0.0176267419, 0.0387340486, -0.0103805335, -0.0123124728, -0.0541926995, 0.0196883511, -0.0010632303, 0.0514242463, -0.0215762332, 0.0990002677, 0.0227765106, 0.1100899503, 0.0000023902, -0.0172880292, -0.0535118319, -0.002287948, -0.0194128156, 0.0321981274, 0.0753658861, -0.0361974128, -0.0718670934, -0.0168648455, -0.0219923388, -0.011186339, 0.0748693198, 0.0216293279, 0.1000056937, 0.082306996, -0.0197481625, 0.0074001392, -0.0211302266, -0.0393990725, 0.0135215046, -0.0212739408, 0.0408143885, 0.0014141117, 0.0046116202, 0.0249359589, -0.0119526144, 0.0260946136, -0.0052860356, -0.0684717819, 0.0153668039, 0.0113902949, -0.0361792222, -0.0254012961, 0.0080817332, 0.0401167236, -0.0290317126, 0.0001107125, 0.0093039367, 0.0159836877, 0.01260617, 0.0136277899, -0.052850876, 0.0052487194, 0.0136646479, -0.0234148186, -0.0192414001, -0.0577097312, 0.0115471575, 0.0007984706, 0.0177204404, 0.0204738956, 0.0346825235, -0.00920361, -0.068124868, -0.0172767304, -0.0483641252, -0.0743545741, 0.0265749395, 0.0417062119, -0.0162449367, -0.0172254201, -0.0917636529, -0.0573388077, 0.0090164905, -0.0475763492, 0.0404390171, 0.0153010488, 0.0420977511, 0.0587488301, -0.0035870448, 0.0183592439, 0.0081221843, -0.0217350479, -0.0047017806, 0.0122093009, -0.058378011, -0.0062068496, -0.0755150169, 0.0517961197, -0.0683708265, 0.0030224873, -0.0319785774, 0.0441759489, -0.0181571133, 0.0202348959, 0.0168465879, -0.0049006031, -0.0280043408, -0.0565633141, 0.0153950779, -0.0230733473, -0.0036418498, 0.0006401277, -0.0067321723, -0.0116759734, 0.0011049941, 0.0001637933, 0.0458361134, -0.0470696613, -0.0051698838, 0.0448224731, -0.0412263684, 0.0113168899, -0.0663922876, -0.0373904966, 0.0210713577, -0.0202812236, -0.1031886265, -0.0829719082, 0.0360756107, 0.0114868041, -0.0341370553, -0.1074938029, -0.0111794416, 0.0024785914, -0.0578469522, 0.0400019139, -0.0525586158, 0.0402298421, 0.0780747682, 0.0101173408, -0.0337624475, 0.0160263088, 0.0350811258, 0.0050507765, 0.0622607395, -0.002430409, 0.0528531037, 0.0689559132, -0.0360059589, 0.0341817401, -0.0107553517, -0.0366332717, 0.0213638339, -0.0030824058, 0.0387301445, 0.0661335662, -0.045028951, -0.0081862286, 0.0883636177, 0.0352521278, -0.0059989216, 0.0562274158, 0.0331736431, 0.0266833361, 0.0009226755, 0.0084770136, -0.0186512806, 0.0365451612, -0.0289387126, -0.0130091552, 0.0474036038, -0.0362914205, -0.0142974472, -0.0193224195, 0.0082507031, 0.002888696, 0.0143101662, -0.051126536, 0.0326688364, -0.0281034093, -0.0811507553, -0.0355240256, 0.0015499206, -0.0594465062, -0.0169087797, -0.0216993801, -0.0133932186, 0.0744594634, 0.0810623765, -0.0210372675, -0.051543057, -0.0277368128, -0.0007906577, 0.0067437445, 0.0367176048, -0.070220761, -0.0102466699, -0.0274442397, -0.0156508591, -0.0242336672, 0.0193051696, 0.0152414199, 0.0244066305, -0.0386629812, 0.026331231, -0.0066750534, -0.0554638952, 0.0160944276, -0.0044451845, -0.0024194969, -0.0087748412, 0.0192376059, -0.003771784, -0.0224615429, -0.0643513277, -0.0099003622, -0.0017332175, -0.0138405263, 0.0101484181, -0.0231778417, 0.0196666829, -0.0133721037, 0.0274980832, 0.0337538905, -0.0274435114, 0.0149143999, -0.013785704, -0.0424301103, -0.0315855704, -0.0344915763, 0.0373376757, -0.0499855131, 0.0698527247, -0.0261177123, -0.0406318568, -0.0269813053, 0.0286088865, 0.0061748307, -0.0053163189, 0.0280215405, 0.0222034771, 0.0192425828, -0.0497230552, -0.0516123548, -0.0175146367, 0.008693886, -0.0036723411, 0.0214448087, 0.0085659269, -0.0090148672, -0.0457884632, -0.0801785737, -0.0029718005, -0.0231152549, 0.0068534529, 0.0478948653, 0.0429296456, -0.0205531493, -0.0197014268, 0.0087844171, -0.0105433138, 0.0099501237, 0.0348690152, 0.0376858711, 0.0198977441, -0.0195493102, -0.0586120933, -0.01174236, 0.0179242361, 0.0140114371, 0.0270415358, -0.0545619726, -0.034112975, 0.0584832393, -0.0143122105, 0.0205548257, 0.0270555858, -0.0361545458, -0.039552968, -0.0295993444, 0.0925129801, 0.0598456338, 0.0070142942, 0.0047153328, 0.0471341237, -0.0087275738, -0.0097537506, -0.0013716792, 0.0054761656, -0.0010019052, 0.0070936461, -0.0116179632, 0.0301843695, 0.0929995775, 0.0131439166, -0.0301492568, -0.0411739647, 0.0217284989, 0.0115367798, 0.0144948047, -0.0438528992, -0.0080913072, -0.01070379, 0.0256093219, -0.075587146, -0.0715873539, 0.0405197069, -0.0061623785, 0.0023538268, 0.0082548121, -0.0153169483, 0.0277437195, 0.0207936484, 0.0050542466, 0.0469654836, -0.0548523255, -0.0031017361, -0.0769217908, 0.0573175177, 0.0167348459, 0.0113861719, 0.0310643259, -0.0755325258, 0.0359231085, -0.021471085, -0.0041089999, -0.0208703317, -0.0153951468, 0.005731442, 0.0253290348, 0.0853873566, -0.0388685018, -0.0375022776, 0.0389309525, 0.0317215323, 0.1165247411, -0.0096980883, -0.0315517746, -0.0087697301, 0.0209943596, 0.0292222686, -0.0393868685, -0.0562969372, -0.0597831495, 0.0347918533, 0.0643037334, 0.0204109997, -0.0424691625, 0.0109850392, 0.0011445394, 0.0073236809, -0.0678463504, -0.0310898144, -0.0061417967, 0.0224054139, -0.0168449935, -0.0017018208, 0.1403002143, 0.0392591953, -0.0794699714, 0.0151990531, -0.0405622497, 0.0309259109, 0.0324667543, 0.0544488356, -0.0437917486, -0.0197596233, 0.0178004876, 0.0148118213, 0.0013469465, -0.0510898754, 0.0027765287, -0.0580617003, 0.0506027229, 0.0115232179, -0.0203616843, -0.0136414403, -0.036721725, 0.0465738587, -0.0039074416, -0.0661832243, 0.0532296896, 0.0147843352, -0.0008389587, -0.0278931931, 0.0041835364, -0.018150894, -0.0041981032, -0.0213872213, 0.0110801999, 0.026930118, 0.018274257, 0.0278719459, 0.0046355072, 0.0319639519, 0.0773971155, -0.023707496, -0.0394833684, 0.030752223, 0.0000929806, 0.021252431, 0.0023685994, 0.0389554389, 0.022132881, -0.0159963965, 0.0410330743, 0.0837297365, -0.0411588661, 0.0431546494, 0.025384577, -0.0633698627, -0.0053165946, 0.0378009155, 0.0268106144, -0.0518637374, -0.0066184043, -0.0410588421, -0.0319758542, -0.0557519868, -0.0341394767, -0.0487187132, -0.0385714471, 0.0289713722, -0.0666193366, -0.0058348002, 0.0684691817, 0.0506026857, 0.0579783916, 0.0303110797, 0.011001748, -0.0414080992, -0.042406857, -0.0296303052, -0.0312542096, -0.0004102456, -0.1047982723, -0.0608664155, -0.0058110263, -0.0231491402, -0.0134086171, -0.0253985319, -0.0635742918, -0.0528191961, -0.0032232231, 0.0352175906, 0.0166107342, 0.0528148152, -0.0012301399, -0.0667349026, 0.0060038315, -0.0083053531, -0.0294796862, 0.0282953642, -0.0305752903, 0.0018653759, -0.0266336445, 0.0461462252, -0.0172225684, 0.002852282, 0.0190399624, 0.018527586, -0.0574426614, -0.0466877148, 0.0206512343, 0.0151685327, 0.0088723265, 0.0143018533, -0.0019972301, -0.077834852, 0.0176471397, -0.0213240068, -0.0143071422, -0.0503422394, 0.031872347, 0.008473956, 0.0048604873, -0.0086945808, 0.0496848412, -0.0088106347, 0.0177723914, -0.0308726616, -0.0028709485, -0.0291779656, 0.0085068867, 0.0651526377, 0.0106246946, 0.0165662393, -0.0040729241, -0.0213057175, -0.0080242688, -0.0328120552, 0.0526469685, 0.0316883773, -0.0089218523, -0.0269393977, 0.0580939911, -0.0491943918, -0.0019948573, -0.0428811125, 0.0294241142, 0.0597612374, -0.0206158087, 0.0421670899, -0.0429041684, -0.0324866958, -0.0453578085, 0.06046037, 0.0514344499, -0.0184900444, -0.0301769115, 0.0195051916, 0.0082329642, 0.0660754293, 0.1027347073, -0.0259649847, 0.0568467081, 0.0074949386, -0.0501194261, -0.0468315296, 0.0045934315, 0.0346645787, -0.0015624214, -0.0351214334, 0.0025033066, -0.0029361476, -0.0080681881, -0.0036000116, 0.017886024, -0.0256339256, -0.0051591354, 0.0313753039, 0.045030117, -0.0328664742, 0.0448285416, -0.047226008, 0.0042383699, 0.0000105057, -0.0142148584, -0.0218059663, -6.061003524e-33, -0.0058743022, -0.039623592, 0.0079093333, 0.0204814915, -0.0280406326, -0.0025281201, -0.0601017065, 0.030397214, 0.0182431154, -0.0120124891, -0.0231938139, 0.0203452278, -0.010177929, -0.009498856, 0.0278411619, 0.0947865471, 0.0768276304, -0.0026986399, -0.0233644191, 0.0271966308, 0.0247263163, 0.0448819958, 0.0323779173, -0.0247733966, 0.012184524, -0.007727995, 0.006985446, 0.0207482353, 0.0120264404, 0.0389460884, -0.0129935713, -0.0031893416, -0.0007878289, -0.0244758893, -0.0300736856, -0.0168076083, -0.0236152988, 0.0110912248, -0.0311343148, 0.0186016392, 0.0083588697, -0.0634300038, 0.0166499596, -0.0063321441, -0.0133046526, 0.024408754, 0.0176208336, -0.0207485035, -0.036185924, 0.0340520106, -0.0592337362, 0.0428605899, 0.0008568505, -0.0309523959, 0.0262661912, -0.0069028176, 0.0271368567, -0.0331068151, -0.0657035261, 0.0103844265, 0.0255034622, 0.0692566633, 0.0498112515, 0.0015859146, 0.0058131092, 0.0304010082, 0.0030329206, 0.0376351178, -0.0288805272, 0.0674937218, -0.005663713, 0.0331646614, 0.001059061, 0.0467347838, 0.0029246337, -0.0173440296, -0.0170916785, 0.0690755472, -0.0556280874, 0.0412470438, 0.0240069684, 0.0521976128, 0.0186526924, -0.0155049162, -0.023132069, 0.0093346331, -0.0277986191, -0.0010548724, 0.0087771928, 0.0094712777, -0.0156676713, -0.0092434818, 0.0489451364, 0.0144170709, -0.0096876416, 0.0052601784, -0.0394602977, 0.0637677014, -0.0014727497, -0.0347568728, -0.0031090823, -0.01322011, 0.0222254917, 0.0101996055, 0.0001467355, 0.0073477868, 0.026409924, 0.0190716013, -0.0581186563, 0.0050423141, -0.0104111079, 0.0232169554, -0.0009308599, 0.018486632, -0.0097424695, -0.0309016779, 0.0219760463, 0.0344179496, 0.0214054864, -0.026387671, -0.0159166101, 0.0094968425, -0.00895089, 0.0011404384, -0.0175303388, 0.0171235707, -0.0316962041, 0.0053781909, 0.0320294388, -0.0175537243, -0.0147908945, -0.0170931872, 2.873e-7, 0.0251515284, 0.0568808839, 0.0303327683, -0.0310288221, 0.011819155, 0.0356204771, -0.042077031, -0.0053439098, -0.0246805009, 0.0291228425, 0.0428229272, 0.0276847482, 0.0299901385, 0.0021889759, -0.0364698619, 0.0209405497, -0.0296498742, 0.0176363606, -0.053827703, -0.0300698895, 0.0121593522, 0.0228041746, -0.0059270267, -0.010751009, -0.0002316652, -0.0231549405, 0.0675045773, 0.0012991447, 0.0161367469, 0.0375389643, 0.0147531144, 0.0060299672, 0.0017400956, 0.0019701638, -0.0176468771, -0.0213813689, 0.0156214666, 0.0984637961, -0.0701744109, 0.0882747993, 0.064654462, -0.0138933398, -0.0302923676, -0.0224128831, 0.0502776764, -0.0200441927, 0.0132735409, 0.0269268192, 0.0049801064, 0.0364658348, -0.0243119262, -0.0403365791, -0.0016771186, 0.0153706847, 0.0224717781, 0.0093239155, -0.0125839505, -0.0049342136, -0.0153701268, -0.016468009, -0.0273813177, -0.038236104, -0.0560184717, 0.000635849, 0.0062066931, -0.0197958443, 0.0089062937, 2.783404171e-34, 0.0059334808, 0.0146817723, 0.0053867204, 0.0275521502, 0.0380130187, -0.028565729, -0.0037520896, -0.0079670055, -0.0122683709, -0.0745669082, -0.0596822202 ]
http://arxiv.org/abs/2310.10477v6
http://arxiv.org/pdf/2310.10477v6
Gaining Wisdom from Setbacks: Aligning Large Language Models via Mistake Analysis
2023-10-16T14:59:10
2024-02-17T01:50:10
Kai Chen, Chunwei Wang, Kuo Yang, Jianhua Han, Lanqing Hong, Fei Mi, Hang Xu, Zhengying Liu, Wenyong Huang, Zhenguo Li, Dit-Yan Yeung, Lifeng Shang, Xin Jiang, Qun Liu
cs.CL
cs.CL, cs.AI, cs.LG
The rapid development of large language models (LLMs) has not only provided numerous opportunities but also presented significant challenges. This becomes particularly evident when LLMs inadvertently generate harmful or toxic content, either unintentionally or because of intentional inducement. Existing alignment methods usually direct LLMs toward the favorable outcomes by utilizing human-annotated, flawless instruction-response pairs. Conversely, this study proposes a novel alignment technique based on mistake analysis, which deliberately exposes LLMs to erroneous content to learn the reasons for mistakes and how to avoid them. In this case, mistakes are repurposed into valuable data for alignment, effectively helping to avoid the production of erroneous responses. Without external models or human annotations, our method leverages a model's intrinsic ability to discern undesirable mistakes and improves the safety of its generated responses. Experimental results reveal that our method outperforms existing alignment approaches in enhancing model safety while maintaining the overall utility.
[ 0.0264458153, 0.0741363168, -0.0217998978, 0.0389014445, -0.0113044931, 0.0246253796, -0.008255369, -0.0304254889, 0.0111138402, -0.0407314226, -0.0241380539, -0.0396651216, 0.0131524373, -0.0034885441, 0.0443183146, -0.0096811345, 0.0941048041, -0.0415910445, -0.0224358663, 0.0165252127, 0.0248946305, 0.0208463036, -0.0047117546, 0.0387797058, 0.0073946812, -0.0592445396, -0.0370374843, 0.0228161402, 0.0263876505, -0.0261601992, 0.015161138, 0.0431695357, 0.0048104702, 0.0957803726, 0.0000018692, -0.0423053689, -0.0309330728, 0.0110018402, -0.036807958, 0.0551819578, 0.0186471455, 0.0038654362, -0.0612500906, 0.0306142475, -0.0227736086, 0.0049667815, 0.0951942354, -0.0008134524, 0.0725645497, 0.0749642178, 0.0020879707, 0.0096036773, 0.0180313271, 0.0180119872, -0.0022982326, -0.042685207, 0.0342683382, 0.0126863271, -0.0042255903, -0.0104855504, -0.0196492542, 0.0348139368, -0.0145459082, -0.0494928397, -0.0091030216, -0.0091858897, 0.003062217, -0.0587261841, -0.0248978753, 0.0500851199, -0.0130244335, -0.0379376262, -0.0094409483, -0.0235673096, -0.0035465641, 0.0003792376, -0.0171117783, 0.0067231399, -0.0040764273, 0.0260432083, 0.0236527752, -0.0594878979, 0.0266576707, 0.0022678711, 0.0295818392, 0.0417343639, 0.0379586332, -0.0430347063, -0.0279676877, 0.0266662501, 0.0112457667, -0.0668569505, -0.0237732902, 0.0302775763, -0.0520963781, 0.0578894243, -0.0657859296, -0.0338418446, 0.0476951189, -0.0649910942, 0.0375813693, 0.0485701822, -0.0021509095, 0.0202442296, -0.0032437791, 0.0617009178, -0.0272384342, 0.0232564211, -0.0247277524, 0.0311952475, 0.0122341616, -0.024655005, -0.0069577633, 0.0103059653, 0.0006058975, 0.0104898624, -0.037743412, 0.0667970777, -0.0293658525, 0.0465762727, -0.0177471582, -0.0108551942, -0.0259225406, -0.0064169462, -0.0170214921, 0.0409339853, 0.0224107131, 0.0076564294, 0.0037346387, -0.0653651804, -0.0153827071, 0.0183408801, -0.0393396914, -0.0283854306, -0.0184175391, 0.0799912959, -0.0178559609, 0.0019784402, -0.0336081088, -0.0180416014, -0.0275546201, -0.0266899951, -0.0133777875, -0.0857825205, 0.0125105213, 0.0037762248, -0.0281321034, -0.0562311821, 0.022791259, 0.0242781155, -0.0433171578, 0.0501458012, -0.0495510511, 0.0347092226, 0.0151136583, -0.0039055287, -0.0009821785, 0.079145208, 0.0402484983, -0.0236666836, 0.0210338663, -0.0389092751, 0.0268907715, 0.0537920147, 0.0121909706, 0.0146837132, -0.032512892, -0.0003022126, 0.0390950814, 0.0353400819, 0.0499624722, 0.0541666523, 0.0082211643, 0.0144332405, 0.0444415212, 0.0099395812, -0.040757902, 0.0341488384, 0.0197034813, -0.0075909426, 0.0045414972, 0.0123062097, -0.0654878542, 0.0106577929, -0.0682591274, 0.0203808043, 0.0201791842, 0.0525476709, -0.0100752767, -0.0328826644, -0.0496150516, 0.0172002818, 0.0045365077, 0.0084389793, 0.0381431319, -0.0026539527, -0.0397928506, 0.045618657, 0.0507578291, -0.047902856, -0.0003467502, -0.0517953448, 0.0350059457, 0.0757537559, 0.0564133488, -0.0239080861, -0.0764034018, 0.0089971339, -0.0125142159, 0.0511978567, 0.0638782904, -0.0128587121, -0.0202225726, -0.0359444395, -0.034698315, 0.0212643798, 0.0105121844, 0.0006505905, 0.0356242731, -0.0249957144, -0.0121164378, 0.0057266168, -0.0640415773, 0.0351546742, -0.0315707028, -0.0335346684, -0.0490715243, 0.0049710451, 0.0114327492, 0.0004243804, -0.0213832986, 0.0259793717, 0.0214792918, 0.0318481661, -0.0039860168, -0.0117792031, -0.0347254947, -0.0047665457, 0.0767314956, -0.0067226714, -0.0717661753, 0.0305416994, -0.0371832922, -0.0239366256, -0.0052254531, -0.0470047332, 0.0305385347, 0.0042317449, 0.0627580658, -0.0278525446, -0.0242485031, -0.0457125418, 0.0384477973, 0.0131371096, 0.0277867001, 0.0023334858, -0.0227809064, -0.0096285632, -0.0245524552, -0.0470327325, -0.0029338126, -0.0234034285, 0.0353818573, 0.0220150705, 0.0072628036, -0.0368450247, -0.0212703887, -0.0565952323, 0.0069143465, 0.0036361848, 0.038925875, 0.0393970907, 0.004160075, -0.0210895743, 0.0002404098, -0.0163565576, -0.0195509493, 0.0162605718, 0.015385963, 0.0338119864, -0.0299971215, -0.0511520505, -0.0889447927, -0.0000496555, -0.0607223138, 0.0150672374, 0.0038061296, -0.0162766613, -0.0864780173, 0.0534638688, -0.0260622483, 0.0442795195, 0.0223004743, -0.0762469769, 0.0185015462, 0.0034789313, 0.0245186109, 0.0481022783, -0.0082895644, 0.030406652, 0.0731189325, -0.0114873126, -0.0588013008, 0.0187794063, -0.0019253537, -0.0649686009, -0.032371033, -0.0546061397, -0.0432482772, 0.079196386, 0.0082247099, -0.0037913665, -0.0562452525, 0.0000825809, -0.0389758497, -0.015941117, 0.0036374831, -0.073069036, -0.035994824, 0.0174343344, -0.0264654737, -0.0672090799, 0.0786113963, -0.0276727639, 0.0137041993, -0.0419557802, 0.0174602699, 0.0111640282, 0.0277090874, -0.017744869, 0.0285097733, 0.0076619736, -0.0362595432, -0.0630665943, -0.0103598991, 0.043744199, -0.0438388251, 0.0763965994, -0.0832014903, 0.0181304999, -0.0149234049, -0.0208634846, -0.079434827, -0.0354756303, -0.0107491091, -0.0317542776, 0.0048101945, -0.0222768877, -0.0380182192, -0.0152252512, 0.0489154607, -0.0081100119, -0.0300796479, 0.0080614099, -0.0178400148, -0.0032302905, 0.080342181, -0.0152082816, 0.0485047288, -0.0573494956, 0.0413053744, 0.0534720384, 0.0374245308, 0.0277533848, -0.0184594877, -0.0356223881, 0.0518894568, -0.0085003162, -0.0072056223, 0.0351497382, 0.0687448755, -0.0518950261, -0.0293067899, 0.0891022384, 0.0389206856, -0.0341742598, -0.001554006, -0.0444111899, 0.0236411542, 0.0050829281, 0.0241350029, -0.0543717779, -0.0134573672, 0.0197423771, 0.0154965837, 0.0012882621, 0.0049867909, 0.0195592046, -0.1512015313, 0.0166705661, 0.055791337, -0.0557772256, -0.0543533899, -0.0232998617, 0.0309675857, 0.0113424789, 0.0725672245, 0.0412983075, -0.0132099185, -0.0282245409, 0.04135276, -0.0282059852, -0.05826395, -0.0128177935, -0.0367311761, 0.1116967425, 0.0751909539, 0.0081792744, 0.0009509939, -0.0211054496, 0.0456774086, -0.0036437772, -0.0083137173, 0.0270623807, 0.0171637591, 0.0187781919, -0.0136151658, -0.0260823201, -0.002999241, -0.0210180413, -0.0309090745, -0.0143289287, 0.0987038761, -0.0101602282, 0.0422135107, -0.0222256836, 0.000785451, 0.0231715925, 0.0467936806, 0.0229139924, -0.045924969, -0.0164528433, -0.0336415842, -0.0100780763, -0.0296078827, -0.0140581476, 0.0423973165, -0.0342148878, -0.0327652358, -0.0430223644, -0.0538413934, 0.0153485481, 0.0033815359, 0.0403708443, -0.0326823071, 0.0079947282, -0.021127373, -0.005618229, 0.0164000075, -0.0058620647, 0.0348268449, -0.0673609525, 0.0067546368, -0.0466583557, 0.0131401513, 0.0144534279, 0.0396329835, -0.0858593434, -0.1147645116, 0.0175500996, 0.0582202226, 0.0240993891, 0.0348262899, -0.0102155181, -0.0448677167, -0.0094355112, 0.0428817533, -0.0300817583, 0.0059724469, 0.005842132, -0.0213082451, -0.0058682519, 0.013876617, -0.0488013104, -0.0339996703, 0.0300785098, 0.0493053794, -0.0433909222, -0.0409553312, 0.0260079913, 0.0226847082, 0.0414104834, -0.0407192148, 0.0103380224, -0.0349869691, 0.0060516759, -0.0334688164, -0.0266947281, -0.0102042928, -0.0010069523, 0.028715048, -0.0196117107, 0.0206172559, -0.0242794137, -0.037848711, 0.043924097, -0.0061502745, 0.0188441463, 0.0043476638, 0.0283240136, 0.0477805212, 0.0286748018, -0.0347755142, 0.0238081366, 0.0077591939, 0.0287279077, 0.0028443981, 0.0562115051, 0.0136187999, 0.0159883462, 0.0095909629, -0.0010783072, -0.0079061883, -0.0389319248, -0.0508604012, 0.0051785875, 0.0590711683, 0.008308569, 0.1064780802, -0.0044672312, -0.0149515644, -0.024100922, 0.0422559902, -0.0204481557, -0.0475497767, 0.0360935256, 0.0368854813, -0.0022841808, -0.0525616035, 0.0414364859, -0.0294035077, 0.036524225, -0.0346911475, -0.0187287237, -0.005198135, -0.0269609299, 0.0468991771, -0.0314140618, -0.0592709109, -0.0299267508, -0.0659648702, -0.085917823, -0.0245796163, 0.0703197345, -0.0075474, -0.0037909814, 0.0102798017, 0.0452021472, -0.00923122, -0.0001382919, -0.0310831685, 0.0162296742, -0.022957895, -0.0263127573, -0.0401664637, -5.745037622e-33, -0.0513263606, -0.0283960346, 0.0064138337, -0.0195349921, -0.0321879275, -0.0032636945, -0.0423040614, 0.0297342669, -0.0037800686, 0.0107747884, 0.0090224529, 0.0063008768, 0.0028686584, 0.0067172162, 0.0545869246, -0.0072119348, 0.0195668004, 0.0242626257, -0.0226782039, -0.0062442138, 0.0325224586, -0.0121842064, 0.0655454025, -0.0597473308, 0.0366414562, -0.0105054397, -0.0293582212, 0.0320876837, -0.0284304433, 0.0915497094, 0.0010961987, 0.0240441319, -0.0122907842, 0.0078945681, -0.0226555429, 0.0171541646, -0.0098253395, -0.0274714585, 0.0488129668, 0.0313417017, -0.014802129, -0.0372125432, 0.035412237, -0.0141222058, -0.0222413745, -0.0203646682, 0.0295624491, -0.0085167959, -0.0070219515, 0.0306248274, -0.1163746193, 0.0193729009, -0.0123599209, -0.0230206829, -0.008980656, 0.0388908833, 0.0212338939, -0.0306222253, -0.0447571799, -0.0058777621, 0.0394597761, 0.0265221428, 0.1100733578, 0.0403771177, 0.0059601329, 0.0590942092, 0.0006314423, 0.0027366364, 0.0026862721, -0.0063579227, 0.0186816994, -0.0181732755, 0.042020347, 0.0581663288, -0.0090676919, -0.0031576147, -0.0520100705, 0.0333630666, -0.0078041949, 0.036836125, 0.0120609337, 0.0206721108, -0.0610803775, 0.0016474331, -0.0196640659, 0.0283918548, -0.0294779576, -0.0259709749, 0.0260941386, -0.0299832877, -0.0122589376, -0.0152621483, 0.0209081974, -0.0263555441, -0.0106959734, -0.0022636966, -0.0178985652, 0.0098203262, -0.0247558504, 0.0365248844, -0.0306720864, -0.0399970226, -0.0013675356, -0.0299887937, 0.0351084694, 0.0303503294, 0.018060457, 0.0397343859, -0.0820195526, 0.0325459428, -0.045452062, 0.0162093211, 0.0140082939, -0.037302956, 0.0518535636, -0.0071341032, -0.0057297223, 0.0392110907, 0.0333320238, 0.010250479, -0.044030387, 0.0133701591, -0.0309411008, -0.0016779546, -0.0212571938, 0.0113876425, -0.0069799898, 0.0415169112, 0.0321890227, -0.0594125763, -0.0116934236, 0.0060883947, 2.552e-7, 0.0627700612, 0.0463459082, 0.0461531393, 0.0416676067, 0.0071370373, 0.0484825931, -0.0361849032, 0.0396748185, 0.0341225341, 0.0282408763, 0.0275504608, -0.0104743866, 0.0637354478, 0.0492658652, -0.0257785358, 0.0285209585, -0.0715003759, 0.0021977185, -0.0421770178, 0.0049053654, 0.0534847192, 0.0825556666, 0.0152557455, -0.0098884795, -0.0265633911, -0.0059228046, 0.0349100903, -0.0182984918, -0.0194678344, 0.028674379, 0.0044104969, -0.0096291788, -0.0001092259, 0.0171328858, -0.0137649868, -0.0088800583, -0.0083723832, 0.0381981358, -0.0441625267, -0.0055168597, -0.0134721939, -0.0278214943, -0.0027309435, -0.0665347725, 0.0114892898, -0.0213315003, 0.0069977823, -0.0287037995, -0.0193200056, 0.0034534251, -0.0047239661, -0.0125474669, -0.005432765, 0.0393911339, 0.0058465949, 0.0066318526, -0.0073467903, -0.0299784802, -0.0397102237, 0.0285519958, -0.0229307432, -0.0589356124, -0.0077921296, 0.0200146195, 0.0073661506, -0.0579889417, 0.021642359, 2.248725514e-34, 0.0043083769, -0.049217958, 0.0251024645, 0.0225388408, 0.0311280489, 0.0012741225, 0.0036144573, 0.0435432903, 0.0107402038, -0.0379549339, -0.0288804211 ]
http://arxiv.org/abs/2310.10467v2
http://arxiv.org/pdf/2310.10467v2
Stance Detection with Collaborative Role-Infused LLM-Based Agents
2023-10-16T14:46:52
2024-04-16T06:06:43
Xiaochong Lan, Chen Gao, Depeng Jin, Yong Li
cs.CL
cs.CL, cs.AI
Stance detection automatically detects the stance in a text towards a target, vital for content analysis in web and social media research. Despite their promising capabilities, LLMs encounter challenges when directly applied to stance detection. First, stance detection demands multi-aspect knowledge, from deciphering event-related terminologies to understanding the expression styles in social media platforms. Second, stance detection requires advanced reasoning to infer authors' implicit viewpoints, as stance are often subtly embedded rather than overtly stated in the text. To address these challenges, we design a three-stage framework COLA (short for Collaborative rOle-infused LLM-based Agents) in which LLMs are designated distinct roles, creating a collaborative system where each role contributes uniquely. Initially, in the multidimensional text analysis stage, we configure the LLMs to act as a linguistic expert, a domain specialist, and a social media veteran to get a multifaceted analysis of texts, thus overcoming the first challenge. Next, in the reasoning-enhanced debating stage, for each potential stance, we designate a specific LLM-based agent to advocate for it, guiding the LLM to detect logical connections between text features and stance, tackling the second challenge. Finally, in the stance conclusion stage, a final decision maker agent consolidates prior insights to determine the stance. Our approach avoids extra annotated data and model training and is highly usable. We achieve state-of-the-art performance across multiple datasets. Ablation studies validate the effectiveness of each design role in handling stance detection. Further experiments have demonstrated the explainability and the versatility of our approach. Our approach excels in usability, accuracy, effectiveness, explainability and versatility, highlighting its value.
[ 0.0360032655, 0.018059114, -0.0007653382, 0.0494331457, -0.0356594473, 0.0273491908, 0.0271547083, -0.0291920099, -0.0080624502, -0.0587645583, 0.0048130048, 0.0092663737, -0.0523909554, 0.0405078791, -0.0190755092, -0.0082759662, 0.0219511837, 0.0306874514, 0.0774242282, -0.0020671065, 0.091628246, 0.05446079, -0.0445957892, 0.035112787, -0.033790566, -0.0357629806, -0.0236484092, -0.0145022282, 0.0655384362, -0.0165960509, 0.0292925444, 0.0357794128, 0.0379043743, 0.0295915175, 0.0000019074, -0.0335069783, -0.0438043624, -0.0325056985, -0.0029100245, -0.0513659902, 0.013820692, 0.0017621563, 0.0010545468, -0.002058187, -0.0881248042, 0.0562286004, 0.0179062951, 0.0490463413, 0.0542393066, 0.0647885352, -0.0104909856, -0.0017262031, -0.0373578034, -0.0004120506, -0.0415892303, -0.0344706364, -0.0106909191, -0.021827599, -0.0213682279, 0.0704783872, 0.0127286185, 0.0102531994, 0.0127140926, -0.0478788018, -0.0173083115, -0.0080826143, 0.0080048312, -0.0282306913, -0.0057578012, 0.0504216515, 0.0547190011, -0.0118710594, 0.0200711973, -0.0355446674, 0.0249714032, 0.0562443472, 0.0034126921, 0.0363287404, -0.0331489295, 0.0256697554, 0.0174718052, 0.0099798255, -0.0012783146, 0.0623164251, -0.0056173056, 0.0837630406, -0.0621724948, -0.0123341233, 0.0139848078, 0.0415810458, 0.0243073422, -0.0401200764, 0.0312098209, 0.0484510101, -0.0330294147, 0.056770131, -0.0122348536, 0.0213113129, 0.0417191871, -0.0654784143, -0.0044608838, 0.000135729, -0.0001949704, 0.0564276464, -0.0141648781, -0.0215039998, -0.0142725231, 0.010963236, 0.0143853314, 0.0173193365, -0.0579200312, -0.0341261886, -0.0029886574, 0.05042037, -0.0351777226, -0.0187119897, 0.0044103004, 0.0304942448, -0.036490947, 0.0221785605, -0.0097728036, 0.046267271, 0.0145016527, 0.0139123956, -0.0333965495, 0.0430852138, -0.0309286807, 0.0230278205, 0.0132172052, -0.0110793058, 0.0099616917, 0.0317803733, 0.0145831211, -0.0174831767, 0.0030481108, -0.0118283732, 0.0140416455, -0.0159525033, 0.0194137786, -0.0619950481, -0.0374254175, -0.0675192773, -0.0247632079, -0.0668788254, 0.0331829563, 0.0204585493, -0.0090491166, -0.075537242, 0.0204024762, 0.0299650505, 0.0358600058, 0.0976841971, -0.0131347086, -0.0312741101, 0.0432610847, 0.0584542751, -0.001670692, 0.0937510505, 0.0207724161, 0.0406626426, 0.0369573757, 0.0339287333, -0.0183610655, -0.0077988952, 0.010578203, 0.0190153793, 0.0378886312, 0.0399622731, -0.0865332112, -0.0084556267, -0.026103247, 0.0334495381, 0.0069975425, -0.0373050384, 0.0709078684, 0.0579122603, -0.0089107119, 0.0085241338, 0.0143879401, 0.0437946767, 0.0222200267, -0.0056524999, -0.0004412768, 0.0550396517, -0.0010152257, -0.0452218242, -0.0500519276, 0.0181224421, -0.0143111944, -0.0739257932, 0.0067982064, -0.0016732117, 0.033683978, 0.0182476509, -0.0038307644, -0.005441817, -0.0321409553, 0.036559131, -0.0036265852, -0.0715341419, -0.0073253098, -0.0341029838, 0.0421190783, 0.0205235276, 0.0160128176, -0.0526919551, -0.0775258094, -0.0330127254, 0.0259798318, 0.0802651569, 0.0078816172, -0.0216639023, -0.0169387572, -0.0217450708, -0.0558030605, -0.0212581232, -0.0111009078, 0.0283056609, -0.0094817393, 0.0175918248, -0.0022504956, 0.041926913, 0.025717169, 0.0366274454, 0.0102994805, 0.0084692957, -0.0143709444, 0.0439630412, 0.0475496463, 0.0631401315, 0.0326532982, -0.0098702786, 0.0455761068, -0.0147405369, -0.076541476, 0.0307163075, -0.0154822627, -0.0475828946, 0.0350265242, -0.0277998131, -0.0563935675, 0.0101669673, -0.0220034309, -0.0085157882, 0.0247309972, -0.0109197842, -0.0448588431, -0.081507571, -0.0491604134, -0.0227221828, 0.0028394694, -0.015319814, 0.0527380779, 0.0020830792, -0.0335060097, 0.0310786162, -0.0072874539, 0.019941926, -0.0172480531, -0.0018765983, -0.030483732, 0.0182048101, -0.0026356615, 0.0375805274, -0.0089502065, -0.0413700193, -0.017259188, -0.0770878941, 0.0003432306, -0.0320682749, 0.0301863812, 0.0274751782, -0.0323694572, 0.0150287971, 0.0182231646, -0.0426690429, -0.0274784807, -0.0019012424, 0.0220732279, 0.0590965711, -0.00348464, 0.013424295, -0.0380431749, 0.0546800904, -0.022363238, 0.0043934686, 0.0473527759, -0.0516958609, -0.0318523869, -0.0009779007, -0.0523089767, -0.0150817046, -0.0038298818, -0.0311503876, 0.0540972985, 0.0065518692, -0.0407336578, 0.0519422889, 0.0331856832, 0.0841789097, 0.0117907012, 0.0173957795, -0.0741701424, 0.0074711042, -0.0287693497, 0.0727264434, -0.061572291, 0.0076214969, 0.0266564768, 0.0350274891, -0.0185890682, -0.0054981993, -0.0481915809, 0.0448008589, -0.0024229495, -0.0414143987, 0.0391586497, -0.0517701246, -0.0197390113, 0.0256262459, -0.0197109468, -0.0024026257, 0.0699852481, 0.0080328332, -0.0143146412, -0.032812167, -0.0574597344, -0.0832872912, 0.0535923652, 0.0045696134, 0.0016436126, -0.0125236288, 0.0091366963, -0.0018145458, -0.0365518183, 0.0448770374, -0.0099200131, 0.0213054996, -0.0182589963, 0.0332426168, -0.0017209728, -0.030960612, -0.0082608964, -0.0571549609, -0.0581629984, 0.007109968, 0.0018243663, -0.0017364389, 0.0316235907, 0.0183534343, -0.0040671923, -0.0151736718, -0.0045048096, -0.021340711, -0.0144945746, -0.0126105836, 0.0189221818, -0.0015800039, 0.0013117292, -0.0126152551, 0.0317108519, 0.098501876, -0.0354698002, -0.0270381253, -0.0447861515, -0.0384830348, -0.0042880913, -0.0387813523, 0.0090361908, -0.049855832, 0.084678717, -0.058030434, 0.0390698798, 0.1057052389, 0.046204377, -0.0561510548, -0.0107399756, 0.0096901059, -0.0143319024, 0.0023318732, -0.0079353107, -0.0605323315, -0.0282979961, -0.0361910686, 0.0011226676, -0.0342327133, -0.0217925943, -0.0112897987, -0.0522210523, 0.0123373894, -0.0463243984, 0.0052881325, 0.0328772143, -0.0382017978, 0.0450280048, -0.0383574404, -0.0098406402, -0.0071082315, 0.0005107601, -0.0066006267, 0.0225498732, -0.0394171365, 0.0148767345, -0.0091380803, -0.0517958961, 0.0090667987, 0.0224751942, 0.0650164858, 0.0263221301, -0.0216821972, -0.0001889124, -0.0082409894, 0.0411258563, -0.0239168648, 0.0327263102, -0.0462562963, 0.0214927979, -0.0407952927, 0.0417712443, -0.0296485368, -0.0172510725, 0.0021766413, 0.0466959178, -0.0359391309, 0.0018637085, -0.033070989, 0.0495283604, 0.0301473215, 0.0529284067, 0.0241340045, -0.034552779, -0.0707023293, -0.0377771258, -0.020486936, -0.0872188509, -0.0494572595, -0.0550299361, -0.0164465308, 0.0471054874, -0.0363176391, -0.0445302688, 0.0174164996, 0.0330257155, -0.0263719168, 0.0151920859, 0.0189775527, 0.0258931741, -0.0360120423, 0.0086377636, -0.0090210102, 0.0530676618, 0.0145368865, -0.0218862742, 0.0361416191, -0.0122283278, -0.0061366381, -0.0206938405, -0.0374956317, -0.0637960136, -0.0350988097, 0.0300030615, 0.0205290094, 0.0326714031, -0.0008759143, -0.0392380841, 0.0482849739, 0.0769171193, -0.0001471267, 0.0043650274, 0.049265679, 0.0326661728, -0.0085105691, 0.032727994, -0.0051192124, -0.0080215549, 0.0207118411, -0.0139284488, -0.0919112936, -0.0294668265, -0.005380041, -0.0341472849, -0.0004703387, 0.0154307233, -0.0365776084, -0.0328142159, 0.003198483, -0.0088819116, -0.0444624051, -0.0227796435, 0.0148842316, -0.032816533, -0.068190068, -0.0085725449, 0.0665863007, -0.0182625372, 0.0758349076, -0.0494229645, 0.1000496596, 0.0328094773, 0.0089990087, -0.0223844629, 0.0031927174, -0.0137827564, -0.0179328173, 0.0246369429, 0.0052050576, 0.0280038491, 0.0530884638, 0.0302864499, -0.0149050038, 0.0226653833, 0.0354112536, -0.0452999212, -0.0144372806, 0.0195669364, 0.005625702, -0.0023029884, -0.0130390599, 0.0532748066, -0.0297812503, -0.0113809602, 0.0080220811, 0.032795243, -0.0145849027, -0.0450492091, 0.0312495343, 0.0216789059, -0.0188180562, -0.0200922377, 0.0251620822, -0.041233398, 0.0045574685, 0.0227656141, -0.0567965992, -0.0395027101, -0.0438835174, -0.0087779993, 0.0236287639, 0.0035353117, 0.0155324293, -0.0591477975, -0.0422002375, 0.018593492, -0.0206511151, -0.0055231876, 0.0036026603, -0.0268302988, 0.0352896899, 0.0374389701, 0.0079974756, -0.0803920776, 0.0171348024, -0.0306093562, -0.0106770834, -0.0225569867, -5.840506865e-33, 0.0003070099, -0.0926052332, 0.003507385, 0.0313340537, -0.0098104356, 0.0290524103, -0.0148779554, 0.0078204032, 0.0018703478, 0.0760326013, -0.0013560196, 0.0306971259, 0.0058410014, -0.0084632728, -0.0047431793, 0.0064856913, 0.0034863004, -0.0017927226, -0.0326590911, 0.0126882046, 0.0421558209, -0.0108189927, 0.0073438678, -0.0907745138, 0.0730385482, 0.0005218759, -0.0477042086, 0.0245231837, -0.0295899231, 0.0784144402, 0.0131819611, 0.0157634448, 0.0568255484, -0.0387200452, 0.0182494987, 0.0596656278, -0.0546746179, -0.0203767009, 0.0210915785, 0.0029059611, -0.0246299524, -0.0020786163, -0.0025316083, 0.005863193, -0.0149063868, 0.0053523565, 0.041882053, -0.0208922047, 0.0529325008, -0.0609211549, -0.0572991893, 0.0333923548, -0.038198851, -0.0269582178, 0.0144251911, 0.0106424419, 0.0243887268, 0.0317318328, -0.0608412474, 0.0089143934, -0.0779540464, -0.0147041809, 0.0329940692, -0.0014681916, -0.0193720832, 0.073647663, -0.0085385889, 0.0543868095, -0.0837507024, 0.0016947679, -0.0173511505, 0.0532251783, 0.0613953322, 0.0669690147, -0.0243991222, 0.0143616516, -0.0452603735, 0.034117233, 0.0875720531, 0.0073389453, 0.030539304, 0.0294545479, -0.0171615481, -0.0104835005, -0.0062298407, -0.0136368535, -0.0417140014, -0.0268523004, -0.029407613, 0.0097295297, -0.0744926259, 0.0497102961, -0.0009079103, -0.038237974, -0.0219748002, 0.0326106548, 0.0112396711, 0.0065827793, 0.0223776549, -0.005442977, -0.0252030976, 0.0097778244, -0.0002635131, -0.0053177178, 0.0317739695, -0.0166664813, 0.0561230816, 0.0169688631, -0.0302278455, -0.035688825, -0.0405249782, 0.0150716677, -0.0365435593, 0.0597309619, -0.0042946818, 0.0030480616, -0.0255793817, 0.0647136196, 0.0011278269, 0.0125651006, -0.0342937484, 0.0047234958, -0.0389417745, 0.00336282, -0.0352475122, -0.0378409401, 0.0152622564, 0.0251438767, -0.0168878157, -0.0644215122, 0.0069299564, 0.0005939701, 2.572e-7, 0.050141044, 0.0356084406, 0.0101754237, -0.00695355, 0.0628274232, 0.0553345196, 0.0082473457, 0.0174380988, 0.0015057395, -0.044426471, 0.0245226789, 0.0676346719, 0.0310383327, 0.0548934862, -0.0736513063, -0.0061871759, 0.0100825755, -0.0296594426, -0.0527498312, 0.0256402306, 0.0214757882, -0.0061813495, 0.0190276504, -0.0095649865, -0.0130927246, -0.014176419, 0.0209906641, 0.001349767, 0.0121123027, 0.0231104512, 0.0315283202, -0.0890534073, -0.0023425759, 0.0191467796, -0.0039416393, 0.0241160616, -0.0311513469, 0.0743446425, 0.0182319246, -0.0591006726, -0.0008312827, -0.0100110108, 0.0371743329, -0.0189536028, 0.0635771975, -0.0228992756, -0.0428818613, -0.0447195992, -0.0283953846, -0.0236795377, 0.008952423, 0.0067028953, -0.0245451462, 0.0234712176, -0.0377991684, -0.0434152558, 0.0029295676, -0.1122141406, -0.0142902704, -0.0491670407, -0.0449697524, -0.0135852676, 0.0212572105, -0.0065573133, 0.0333853364, -0.0420097411, 0.0018027179, 1.95544174e-34, 0.005851347, -0.001606355, -0.0136602232, 0.0442769863, 0.0528687835, 0.0567256175, -0.0518252812, 0.0163016804, 0.0527674519, -0.0244394708, -0.0043321559 ]
http://arxiv.org/abs/2310.10449v2
http://arxiv.org/pdf/2310.10449v2
Text Summarization Using Large Language Models: A Comparative Study of MPT-7b-instruct, Falcon-7b-instruct, and OpenAI Chat-GPT Models
2023-10-16T14:33:02
2023-10-17T19:54:16
Lochan Basyal, Mihir Sanghvi
cs.CL
cs.CL, cs.AI, cs.LG
Text summarization is a critical Natural Language Processing (NLP) task with applications ranging from information retrieval to content generation. Leveraging Large Language Models (LLMs) has shown remarkable promise in enhancing summarization techniques. This paper embarks on an exploration of text summarization with a diverse set of LLMs, including MPT-7b-instruct, falcon-7b-instruct, and OpenAI ChatGPT text-davinci-003 models. The experiment was performed with different hyperparameters and evaluated the generated summaries using widely accepted metrics such as the Bilingual Evaluation Understudy (BLEU) Score, Recall-Oriented Understudy for Gisting Evaluation (ROUGE) Score, and Bidirectional Encoder Representations from Transformers (BERT) Score. According to the experiment, text-davinci-003 outperformed the others. This investigation involved two distinct datasets: CNN Daily Mail and XSum. Its primary objective was to provide a comprehensive understanding of the performance of Large Language Models (LLMs) when applied to different datasets. The assessment of these models' effectiveness contributes valuable insights to researchers and practitioners within the NLP domain. This work serves as a resource for those interested in harnessing the potential of LLMs for text summarization and lays the foundation for the development of advanced Generative AI applications aimed at addressing a wide spectrum of business challenges.
[ 0.0528898872, 0.0321860537, 0.0185332969, 0.0127279544, -0.0344289877, 0.0015466206, -0.011054486, -0.0218609609, 0.0014648155, -0.0654043332, -0.0009061311, -0.0228658468, 0.02002009, 0.0028127152, 0.0123755299, -0.078919448, 0.0073864963, -0.0311130974, -0.0177897383, -0.0062301462, 0.0097345775, 0.0275607668, 0.0445027314, 0.0537228324, 0.0227128249, -0.0030540496, 0.023724502, -0.000054879, 0.0460643992, 0.01008162, 0.007771174, -0.0012914084, 0.0263372436, 0.0279640891, 0.000002052, -0.0429478511, -0.0127194896, 0.0033861969, 0.0317426771, 0.039172817, 0.0440410636, -0.0380357169, 0.0035365089, 0.0397985801, -0.0020333955, 0.0057526533, -0.0095331986, 0.0678221658, 0.070131056, 0.0622313321, -0.0059339632, -0.0635094941, 0.0638903081, -0.0400911085, -0.0526552461, -0.0265679676, 0.0133914612, 0.0339446291, -0.0244648885, 0.0061054854, 0.0072876415, 0.0302429721, 0.0383185036, -0.0063701547, -0.0137870321, 0.0512262657, -0.0466464721, -0.0037737691, 0.0138488505, 0.0415122807, -0.0248329155, -0.0091145728, 0.002279686, 0.0300159492, 0.0011469076, -0.0036561678, -0.0726693496, 0.0669135228, -0.0065865582, 0.0553331301, 0.0097252019, 0.0281562805, -0.0153751625, 0.0478648134, -0.0544099063, 0.0067422693, 0.0268134046, -0.0200098287, -0.0229536854, 0.0149351219, -0.0197139364, -0.0447885469, 0.014184894, 0.037607953, 0.0152750183, -0.0177786127, -0.0418012626, -0.0520899408, 0.023536671, -0.0714977011, 0.0048400778, 0.0324201956, -0.0055831927, 0.0415972732, -0.0572197326, 0.05939449, 0.0134778852, 0.0148111358, -0.0657728612, -0.0334607996, -0.0400348194, -0.0131320124, -0.0345242061, 0.0484220982, -0.0586141236, -0.0358997211, -0.0426218137, 0.010579681, 0.0242701694, -0.0121535193, 0.0437037423, 0.0038329517, 0.0031980567, 0.0103868004, -0.0153583083, 0.0265994854, -0.0265435185, -0.0406861082, 0.0198397804, -0.0468853675, -0.0053098886, 0.0308782421, -0.0067432392, -0.0173755158, 0.0000411151, 0.0434472859, -0.0340843499, -0.0399724804, -0.0359186381, -0.0102264406, -0.0168486442, -0.09322045, -0.0107773682, -0.0824948177, -0.0228277668, -0.0047042537, -0.0033201645, -0.0135957133, 0.0097143603, 0.0291943066, -0.0506680831, -0.0067768218, 0.0246671587, 0.0263358746, 0.0844142288, -0.0008524975, 0.0297511145, 0.0644560829, 0.0525106862, 0.0769509822, 0.0236438084, 0.0245760251, 0.0133512849, 0.0377809145, 0.0015820847, 0.004572989, -0.0118754469, -0.0069929711, -0.0339951739, -0.0194507129, 0.0420737937, 0.0837409049, -0.0391396917, 0.0503077731, 0.093672514, 0.0291604586, 0.0074529131, 0.0317934528, 0.0472238846, 0.0195655525, 0.0345425233, 0.021149857, 0.0129368193, 0.032216277, -0.026639726, 0.0621933863, 0.1002876982, 0.0814397708, -0.0431345291, -0.0541851819, 0.0015537688, -0.0100569511, 0.0153078139, 0.0189730506, 0.0526704043, -0.0079276869, -0.064726159, 0.0243352987, -0.0039528995, -0.0812594444, 0.027851345, -0.0415050499, -0.0059296279, 0.0547465421, 0.0555585772, -0.0027178919, -0.0090603884, -0.0003900983, -0.0344479606, 0.0377022438, 0.0471335463, 0.007281194, -0.0420894288, -0.0696825013, -0.0240787752, -0.0263456795, -0.0024117073, -0.0115699917, 0.00231967, 0.0010379308, 0.0409234017, -0.0016254936, -0.070417583, 0.0226803329, -0.0225325115, -0.0250896085, 0.0001171783, -0.0206425861, 0.0258581731, 0.040598888, -0.0126071768, 0.0089456979, 0.0125969015, -0.0457602367, -0.0278427824, -0.0038267341, -0.0162958056, -0.0402789414, 0.0149838394, -0.0598304272, 0.0207917374, 0.0367808603, -0.0349574611, -0.052665744, 0.0263814311, -0.0580765121, 0.0133700538, -0.0702455267, 0.0034422721, 0.0052539897, 0.0162689313, -0.0341620333, 0.093681775, -0.0159231704, -0.0116840675, 0.0400739908, -0.0191742517, 0.0042644734, -0.0427258573, -0.0265117865, 0.0185207017, 0.0082315747, 0.0141538335, 0.0538007542, 0.0163858403, 0.0037080646, -0.0475971252, -0.1355720609, 0.0105662476, -0.0306395609, 0.0020464989, 0.0322636478, 0.0212197173, -0.0161037501, 0.0136665329, -0.037729878, -0.0400168933, 0.0484595299, 0.0046394146, 0.0245948043, -0.0169646181, 0.008841278, -0.0468777604, -0.005721698, 0.0129417246, 0.0624693558, -0.014639359, -0.0377145633, -0.0176092535, 0.0316550583, -0.0361043885, -0.0377760306, 0.0053580268, -0.024887057, -0.0236460641, -0.0002965894, 0.0943530202, 0.0326181427, 0.0520127043, 0.0390749387, 0.0168441404, -0.0067574331, -0.0159589015, 0.0020190699, -0.0487477742, 0.0058234502, 0.0040224087, -0.0472469106, 0.022417279, 0.0420158468, 0.023392614, -0.0063925502, -0.0541914478, 0.0155225033, -0.0398497246, -0.0054714242, -0.0163689274, -0.0085644675, -0.0010805351, 0.0191516262, -0.0219489895, -0.0178004336, 0.0432450287, -0.0348726884, 0.0200900715, -0.0804613158, -0.0155647025, -0.0812643021, 0.0332461372, 0.0256226156, 0.039514605, -0.0387648083, -0.0007886361, -0.0075378995, -0.0107446769, 0.0063591106, -0.0294656139, 0.0792630911, -0.0385690629, 0.0211264249, -0.0341353454, 0.0008603433, -0.0201933794, -0.0171283334, -0.0222747941, 0.0368650183, 0.0376333445, 0.0104779964, -0.0581171773, 0.0391463041, 0.0443227254, 0.040415436, -0.0551381297, -0.0167992841, 0.0006854595, 0.0560599379, 0.0562695973, -0.0161839519, 0.0217521042, -0.0443087146, 0.0217769034, 0.0293718316, -0.0044640801, -0.0080085183, 0.0003588028, -0.0321076922, 0.0004653595, -0.0608251616, 0.0235968791, -0.0103953443, 0.0515593849, -0.0122745698, -0.0202635899, 0.090320006, 0.0260042883, -0.0295582842, -0.0092757288, 0.0430331901, 0.0441432074, -0.0056990823, 0.004908469, -0.0440907888, -0.0071854326, 0.0040253508, 0.0012201136, -0.0031981457, 0.0189547874, -0.0098808231, -0.1233596206, 0.0270364042, 0.003964195, -0.0607326217, -0.0439851061, -0.0300495252, -0.0121953581, -0.0356460512, 0.0233719889, 0.00670892, -0.0215477943, 0.0077232979, 0.0094357328, -0.0364533886, -0.0272685234, -0.0371727981, -0.0087484019, -0.0191708598, 0.073050186, 0.0325796008, -0.0179602616, 0.0371703506, 0.0205240734, -0.0346989781, 0.0031734642, 0.0034099007, 0.0834110752, 0.0080416771, 0.0163192078, -0.0364425927, 0.0404432714, -0.002297353, 0.003365404, 0.0080034537, 0.0092342841, 0.0114170695, -0.0345895216, -0.0434753597, 0.0328644291, -0.0517761745, 0.0796364546, 0.0412291214, -0.0209260229, -0.0341823921, -0.0376858041, -0.0052947737, -0.0807258859, -0.0391206592, 0.0077842916, -0.0192802288, -0.0380091742, -0.0801430717, -0.0625594333, 0.0175467804, -0.031490691, 0.0000721347, -0.0204034578, -0.0086147198, 0.0318892375, 0.0086407159, 0.009113716, -0.0116548212, -0.0066038985, -0.0501008555, -0.0025716783, 0.0637132078, -0.0511267036, -0.0348570161, 0.021609582, -0.0916092098, -0.0515436828, -0.034886919, 0.0527034849, 0.0245197602, 0.022950951, 0.0165348891, -0.0223768018, 0.0654643998, 0.0260439366, 0.0068018865, 0.0118934326, -0.0204041358, 0.0175386444, -0.0139775826, 0.0041382406, -0.0524710268, 0.0649605468, -0.0228348337, 0.0507099107, 0.0009800647, -0.0545036495, 0.0168499276, 0.0284691658, -0.022680752, -0.0379066803, 0.02435592, -0.0381602794, -0.0201048683, -0.0262699742, 0.0062196413, -0.0471512042, 0.0258626081, 0.0188076179, 0.0165937971, -0.0068922648, 0.0628766045, 0.0107335364, -0.0065425704, -0.0300634168, -0.0006078967, -0.0453139134, -0.0055372417, -0.0500950217, -0.0074685775, -0.0713920146, -0.0207658932, -0.0478412136, -0.0205393452, -0.0069854627, 0.0381893329, 0.0204004515, 0.0155082988, 0.00656664, 0.0395161696, -0.0749799609, -0.0054033082, -0.0615715347, 0.0462919138, 0.0854986906, -0.0308587477, 0.0901925862, -0.0052167294, -0.0114745181, -0.0310735852, 0.0161668845, 0.0548629016, -0.0008554757, -0.0337516628, 0.0019185918, 0.00271285, -0.0215663183, 0.1097460836, -0.0372394286, 0.0076959622, 0.0188918319, -0.0222022496, -0.0330224782, -0.0433840491, -0.0052575516, 0.0054917424, 0.0019804628, -0.0120212641, -0.0468850173, -0.0038848156, 0.0158119369, 0.0036908749, 0.0098707229, -0.0371403284, 0.0324368291, 0.0302627515, 0.0012605125, -0.0044665351, -0.0773567036, -0.0092273336, -0.0271891691, -0.0044883471, -0.0165132526, -6.474757331e-33, -0.0140908631, 0.0029927411, -0.0089734793, 0.0163292103, -0.0543149412, 0.0042392034, -0.0583023466, -0.0493497401, 0.0004314596, -0.0122812456, -0.0027133694, -0.0235658642, 0.0093587944, 0.0691107363, 0.0017194099, 0.0292179808, 0.0513753369, 0.0163811073, -0.0324337147, 0.054885, 0.0260914769, 0.0055588447, 0.034038391, -0.0261460021, 0.0111052915, -0.0287218895, -0.0256710295, -0.0152224405, 0.0403658599, 0.0391717367, -0.0271520801, 0.0176282357, 0.0417366289, -0.0520774573, -0.0238570347, 0.0085380524, -0.0499039441, -0.0118837245, 0.039749559, -0.0343749262, -0.0283296537, -0.061435163, 0.0376212224, -0.0164540894, -0.021541886, -0.0300453492, 0.0635436997, -0.0388391912, -0.0287038796, -0.0634779707, -0.0613746159, 0.0393791609, -0.0232757814, -0.0368197896, 0.0276310891, 0.0656340122, -0.0170351118, 0.0548571497, -0.027432872, 0.0504794344, 0.0417458303, 0.0244282689, 0.0486584045, 0.0238774829, 0.0120831477, 0.0486415885, -0.0164334457, -0.0036786299, -0.0442273282, -0.0080476822, -0.0069228164, 0.0086907838, 0.0249660946, 0.043875277, 0.0140921017, 0.0123119103, -0.0451126359, 0.0873508826, 0.0074284049, -0.0180660523, 0.0664605573, -0.0025126634, 0.0138759585, 0.0000583119, -0.0208171662, -0.0014398278, -0.0050879833, -0.0143071963, 0.0052553643, 0.0401459448, -0.0242063422, -0.0316466913, 0.0464321002, -0.0336033814, 0.0262728855, 0.0193701386, -0.0247424096, 0.0385827646, -0.0038386404, -0.0061452021, -0.0472093672, 0.014820002, 0.0274258684, 0.0109847002, -0.0396506526, 0.0014838934, 0.0338487104, -0.0024710821, -0.0174094271, 0.0210982338, 0.004942548, 0.0166591126, -0.0326887704, 0.0558601916, -0.0191652775, 0.0146563333, 0.0087385979, 0.026348697, 0.0047753495, 0.0020966195, -0.0097325388, -0.002115469, 0.0349459946, 0.0222713035, -0.0286844149, 0.0404746458, -0.0243813414, 0.0160910152, 0.0217890497, -0.0509070121, -0.0247134157, 0.0186200589, 2.681e-7, 0.056005884, 0.0331321955, 0.0447549634, 0.0113525186, -0.0147626176, 0.0075974097, 0.0091189686, 0.0288466681, 0.0402572863, 0.0351789445, 0.040237166, 0.0464839861, 0.0553258061, 0.0190196093, -0.074222073, 0.0013887032, -0.0915111601, -0.046950046, -0.0439078771, -0.0074318806, 0.0678212568, 0.0888192058, -0.0139094777, -0.0017550605, -0.0190523565, -0.0276744515, 0.0711736605, -0.0160388555, -0.0615141876, 0.0352609009, 0.0410800911, 0.0186756421, -0.0273880847, -0.0143973576, 0.0092306668, -0.0110229077, 0.0764939636, 0.0558878444, 0.0216509458, 0.0033474816, 0.0345240533, 0.0120114731, 0.019599935, -0.0508842841, 0.0562140755, -0.0604712367, -0.0080146519, -0.01514709, -0.0234476943, 0.0243883412, 0.0149336271, -0.0201945212, -0.0407019332, 0.0719883665, -0.0034769105, 0.014139872, 0.0199344289, -0.0606670789, -0.0239116736, 0.0083631836, -0.0383901149, -0.0214309879, -0.0316709764, -0.0023775932, -0.0019224614, -0.0371182747, -0.0055775824, 2.534548343e-34, 0.0734187663, -0.0219841208, -0.0561701208, -0.0133075025, 0.0314147472, -0.0244332477, -0.0167105515, 0.0015127711, -0.0305607542, -0.0892100632, -0.0117344018 ]
http://arxiv.org/abs/2310.10445v1
http://arxiv.org/pdf/2310.10445v1
MechGPT, a language-based strategy for mechanics and materials modeling that connects knowledge across scales, disciplines and modalities
2023-10-16T14:29:35
2023-10-16T14:29:35
Markus J. Buehler
cs.CL
cs.CL, cond-mat.mtrl-sci
For centuries, researchers have sought out ways to connect disparate areas of knowledge. While early scholars (Galileo, da Vinci, etc.) were experts across fields, specialization has taken hold later. With the advent of Artificial Intelligence, we can now explore relationships across areas (e.g., mechanics-biology) or disparate domains (e.g., failure mechanics-art). To achieve this, we use a fine-tuned Large Language Model (LLM), here for a subset of knowledge in multiscale materials failure. The approach includes the use of a general-purpose LLM to distill question-answer pairs from raw sources followed by LLM fine-tuning. The resulting MechGPT LLM foundation model is used in a series of computational experiments to explore its capacity for knowledge retrieval, various language tasks, hypothesis generation, and connecting knowledge across disparate areas. While the model has some ability to recall knowledge from training, we find that LLMs are particularly useful to extract structural insights through Ontological Knowledge Graphs. These interpretable graph structures provide explanatory insights, frameworks for new research questions, and visual representations of knowledge that also can be used in retrieval-augmented generation. Three versions of MechGPT are discussed, featuring different sizes from 13 billion to 70 billion parameters, and reaching context lengths of more than 10,000 tokens. This provides ample capacity for sophisticated retrieval augmented strategies, as well as agent-based modeling where multiple LLMs interact collaboratively and/or adversarially, the incorporation of new data from the literature or web searches, as well as multimodality.
[ -0.0117352232, 0.0456138924, -0.0365988836, 0.0655646622, -0.0068304124, -0.015483791, -0.0209650192, 0.0447813198, 0.0208735056, -0.0159211904, -0.0082082003, -0.0070764632, -0.0467299223, 0.0547966622, 0.0304052364, -0.0493401773, 0.0241171774, -0.025507519, 0.0204393025, -0.0240832288, 0.0011061365, -0.0104438327, -0.0112643298, 0.0252164528, -0.0096989619, 0.0309144929, -0.009507711, -0.0193451215, 0.0251872186, -0.0334530994, -0.0060918583, 0.0258808602, 0.0594248734, 0.0380789526, 0.0000024243, -0.0292165335, -0.0076930658, 0.0265194923, 0.0143253105, -0.0074886535, -0.0086653549, -0.0634460896, -0.0011774587, -0.0324454866, -0.035613887, 0.0067390697, 0.0112658544, 0.0211912226, 0.0111341085, 0.0024388633, 0.0025283988, -0.0304346532, 0.0725114122, -0.0076727313, 0.052438464, -0.0214294102, 0.014260049, 0.0687152073, 0.061838638, 0.0573174097, -0.026263522, 0.0472741015, 0.0051764189, -0.0101430351, 0.0380344205, -0.0032493351, -0.0167607386, 0.0376786776, 0.0174431801, 0.0848567486, 0.0567137823, -0.0066831093, 0.0152197611, -0.0122497482, -0.0049691461, 0.1093827114, -0.0930476263, 0.0168964993, -0.014204382, -0.0182728134, -0.016179312, -0.0158936959, 0.0355806425, -0.0136324689, -0.0300640836, 0.0580402017, -0.010808832, 0.003273577, -0.015051594, -0.0009291422, -0.0102871461, 0.0182939768, -0.0354069211, 0.035178259, -0.0079843169, -0.0065603843, 0.0278503932, -0.0103822695, 0.0441640355, -0.0526629202, -0.0126542151, -0.0040552085, 0.0188004132, 0.0392687656, -0.0451542847, -0.0060731471, -0.0270718355, 0.0030307483, -0.0624601878, -0.0233189315, -0.1019422412, -0.0581298955, 0.0032048535, 0.0428300351, -0.0124543859, -0.0220518149, 0.0014406434, 0.01397717, -0.0136035159, -0.0151916323, -0.0396964811, -0.0032750156, -0.0052974541, -0.0419889688, -0.0673164874, 0.0373665988, -0.0258513987, 0.031523034, 0.0036950603, -0.0167256184, -0.0074187145, 0.0041717123, -0.0023442095, 0.0026653172, -0.0002811554, 0.1163615361, 0.0055722636, 0.0355576128, -0.0215271078, -0.0761566609, -0.0063026533, -0.0327432938, 0.0420342125, -0.0431401953, 0.0559228435, 0.0210872032, 0.0058452128, -0.0433092415, 0.026261501, -0.0114986077, -0.0709429383, 0.0661987737, -0.0161240958, -0.0122398874, 0.0367382132, 0.0169172082, -0.0042145625, 0.0336272418, 0.0062106126, 0.0209743399, 0.0252802894, 0.0108999424, -0.0301679745, -0.0226221625, 0.0381177254, 0.0098527251, -0.0113740293, -0.0049682013, 0.0197024401, 0.0488701537, 0.0062842816, -0.0002765574, -0.0357852243, 0.0115396203, 0.0386035591, 0.0207730625, 0.0130744549, 0.0712628514, 0.0053140619, 0.0406817794, 0.016622195, -0.0444688462, 0.0340828784, 0.0290373825, -0.0139779486, -0.0066180662, 0.0489230156, -0.0021536299, -0.0165717211, -0.0483348928, -0.0229898524, 0.0209374242, 0.0097635407, 0.006407103, 0.0914902836, -0.0111921933, 0.0129966019, 0.0275943, 0.0290302206, -0.013800079, -0.0278389547, -0.0245681163, 0.0236985851, 0.0507682376, 0.0581558719, -0.0804720372, -0.0298841726, 0.0558979958, 0.0009822639, -0.0076024821, 0.0145005686, 0.005269771, -0.0371678062, -0.0210253745, -0.0045981598, -0.0594078898, 0.0015218188, 0.0019198969, -0.0468617976, -0.0016496446, -0.0118422825, -0.0366587378, -0.0323504172, -0.0008182052, -0.0131164938, 0.0273818132, 0.0078207105, -0.0132774739, 0.0014432932, 0.0324079506, 0.0156597588, 0.0107947644, 0.0697188377, -0.0644089654, -0.0783982798, 0.005367598, -0.0096495952, 0.0052680918, 0.0292794034, -0.0857480094, 0.048700992, -0.0498010926, 0.0015353377, -0.0761106163, 0.0552860014, -0.001891113, 0.0395549983, 0.0003914352, -0.0165068898, 0.0061365333, -0.0124465935, -0.0539746843, 0.0651652664, -0.0012514559, 0.0102709141, -0.0103150997, 0.0216697659, 0.0265775938, -0.0091859465, -0.0546787418, 0.0394974574, -0.012178313, 0.0263047423, 0.0619461834, -0.0325049609, -0.0083837174, -0.0222616624, -0.0399868861, -0.0003227129, 0.0259418525, -0.007223085, 0.0046194796, -0.0235587321, -0.019549787, -0.0101112677, 0.0208511613, 0.0711639524, -0.0156466477, -0.0309074353, 0.0551699586, 0.0219958015, 0.0159203038, -0.0104613947, -0.020934958, -0.0347889438, 0.0723783225, 0.0564339682, 0.0286326241, -0.054664392, 0.0226898119, -0.027882807, 0.0020801409, -0.0521438085, -0.0461369045, 0.023762688, -0.0515586138, 0.0294575337, -0.0022135919, -0.0379725844, 0.0750464797, 0.0323946401, -0.0581705309, -0.0129120704, -0.008726622, -0.0419901498, -0.0087913983, -0.0354065783, -0.0339186639, 0.0017609409, -0.0013370881, 0.0054884749, -0.0015327461, -0.0463587008, 0.0463209115, -0.011015919, -0.0069786175, -0.0134976972, 0.0022902715, 0.0562768355, 0.029260207, 0.0334223919, 0.0211116504, 0.043120712, 0.0119511187, 0.047538612, 0.0100387093, -0.0181715693, -0.0488670357, 0.1229025424, 0.019057449, 0.0112113757, 0.0452420525, 0.0392708741, -0.0318442732, 0.0343755819, 0.0402207561, -0.0179058593, -0.0411616229, -0.0751263723, 0.0328215919, 0.0129988231, -0.0411885306, 0.0079234075, 0.0245214459, -0.0064144959, 0.0424102582, -0.003282933, -0.0435217135, -0.0271673538, 0.0287684053, 0.0630977601, -0.0426563583, -0.0110876365, 0.0001320919, -0.0500909388, 0.0917382687, 0.0376001, 0.022946896, 0.0166926589, -0.0443013385, 0.025547225, 0.0406216346, 0.027943667, -0.0275567602, -0.0527431145, -0.0255233664, 0.0117455367, 0.0318356007, 0.0099178478, -0.0248670541, -0.0042572157, -0.0732185394, -0.0159704424, 0.0189655963, 0.0133003937, -0.0166566912, 0.0031508594, 0.0035903077, 0.0145910233, -0.013650367, 0.0184184611, -0.0605733469, -0.0028212364, -0.0267964955, 0.0102107488, 0.0244498719, -0.0451381952, 0.0212653186, -0.0645296872, 0.0519019738, 0.0068925736, -0.0313614532, -0.0802570358, -0.0428048298, -0.021815611, -0.0152731379, -0.0389296748, 0.0302746147, -0.0109050227, -0.0079261307, 0.0207851753, 0.0047664205, -0.0607407764, 0.0306025743, -0.0287468918, 0.0447677299, 0.0012232553, 0.0186802149, -0.0707205534, -0.0121070081, 0.0368082933, -0.0044073351, 0.0376504883, -0.0449227467, 0.024825098, 0.0474576466, 0.0266203266, -0.0289956648, 0.0153985564, -0.0485118702, -0.0503912009, 0.0195686575, 0.0993793905, -0.0425184146, 0.00355951, -0.0814990625, -0.0397952907, -0.014277216, 0.0406691544, -0.0366757102, -0.0401409976, -0.0669940487, -0.0330614783, -0.0193701442, 0.0123669878, -0.0423483513, 0.0026965854, -0.0052869362, 0.051960513, -0.0418547876, 0.0143035017, -0.0063532847, 0.0177876726, -0.0190105867, 0.0068503991, 0.0253942609, 0.0043893419, -0.0617094897, 0.0374272279, -0.0356782489, 0.0062965765, 0.0163577888, -0.0036820828, 0.0526564345, -0.0806194395, -0.0344138034, 0.0180374496, -0.0148551334, -0.0563341193, -0.0225116648, 0.0327549055, 0.0218083728, 0.0453586765, -0.0079019219, -0.0639762506, 0.0954559445, 0.033696305, -0.0789093524, -0.0078185424, -0.0292102396, -0.0174027141, -0.0086964574, -0.0121664414, -0.0375338271, -0.0018811729, -0.0248527713, 0.0532708988, -0.0434320122, -0.0447203442, 0.0270785354, 0.012807291, -0.012825965, 0.0130527373, -0.0193476584, -0.0223883558, 0.0166310389, 0.0142471772, -0.0156412553, -0.0186878946, 0.0288329925, 0.0090560401, -0.1024823785, 0.0103572533, -0.0438189954, 0.0410420932, 0.0648452267, -0.0427007452, 0.0129882433, -0.0096488558, 0.0191499516, 0.0420879461, 0.0162258409, 0.0244849771, 0.0193864722, -0.0423228405, 0.0590269901, -0.0281154979, 0.057734143, 0.0466359332, -0.0333778895, -0.0264849346, 0.0281536374, -0.0736903101, -0.0898776129, -0.0235517621, -0.0003290965, 0.0462729223, 0.0492408611, 0.0134691922, -0.0672554374, -0.0172480904, -0.0130968047, 0.0227937531, 0.0199326854, 0.0135223633, 0.0515909791, 0.0231381282, -0.0038614292, -0.0233780481, 0.0523748435, 0.0303924587, -0.0230578408, -0.0130927805, -0.0087392004, -0.0203365721, -0.0079468973, 0.0240359008, 0.0326180793, -0.0175625514, -0.0238557439, -0.0729006082, -0.0433585197, -0.0019999095, 0.0733816549, -0.0306042489, 0.0056572505, 0.0291029327, 0.0908291042, 0.0104578342, 0.0029470883, -0.0350123383, 0.0406598374, -0.072109282, -0.0085657546, 0.0449962653, -6.676612487e-33, -0.0237811748, -0.0192969758, 0.0132656191, 0.0016188358, -0.034411449, -0.0011121692, -0.0271794368, -0.0352043957, -0.0133025208, 0.0335994735, 0.0097103072, -0.0042076805, -0.0290236045, -0.0078002037, 0.0411291271, -0.0043173363, 0.0037690834, 0.0332213826, 0.0129059572, 0.0473769084, 0.0554544963, 0.006100974, 0.0044947485, -0.0579345599, 0.056570027, -0.0181748979, 0.0148912296, 0.0058829286, 0.0059425142, 0.0439167209, -0.0568531267, 0.0739134401, 0.0044751661, -0.0251307823, 0.0007521603, -0.0282830577, -0.0751678795, -0.0511024557, -0.020220425, -0.0180596244, -0.0190354977, -0.0237998385, 0.0277516432, 0.0129698869, 0.0001032697, -0.0337307863, 0.0594549142, -0.0189323891, -0.0010012705, -0.0267800912, -0.0439932235, 0.0165817887, -0.0169035196, 0.0077970712, -0.00654145, -0.0119069619, 0.0220701173, 0.0518439412, -0.0427270271, 0.0477115624, -0.0014949541, -0.0127620809, 0.0355219096, 0.0051472369, 0.0256750528, 0.0542664975, -0.0207783543, 0.0176909119, 0.0124535142, -0.0413401499, 0.0118453903, 0.0865393057, 0.0393673405, 0.053126812, -0.0041267057, 0.0022267187, -0.1344348788, 0.0083453311, 0.0158849489, 0.0432432704, 0.0211614296, 0.0519419089, 0.0243803244, -0.0231936947, -0.0441899821, 0.0048011048, -0.0008340682, -0.0223839339, -0.0243044347, -0.0349222422, -0.0186456051, -0.0241135135, 0.0202262662, -0.065399006, 0.0083977673, 0.0249439664, -0.0007798554, 0.0014193926, -0.0184065662, 0.0534145087, -0.0384813957, -0.0209365226, -0.0294298101, -0.030203158, 0.0049144346, 0.0034652913, -0.0330798253, 0.0138752824, 0.0221181251, 0.0130929677, -0.02880181, -0.0607646219, -0.006395651, -0.0493689924, 0.0219349209, 0.0760181323, -0.0087899119, 0.0069424333, 0.0465148315, 0.0391298123, -0.0032443288, 0.0297059622, -0.0291369017, -0.0050937138, -0.0060401913, -0.0027108146, -0.0255800877, 0.0068320017, 0.023640953, -0.079100363, -0.0174868219, 0.0563437454, 3.299e-7, 0.0508912578, 0.0485209525, 0.0012088253, 0.0289126411, 0.0257635042, 0.0265876818, -0.0193550251, 0.0208423454, -0.0068303971, -0.0130953556, 0.0366086811, 0.0521249957, 0.0325658917, 0.0339255184, -0.078218855, 0.0207306072, 0.0009008546, -0.0663028136, -0.0716932938, 0.0252625551, 0.0214416962, 0.0149786286, -0.0075233472, -0.0070692883, 0.0123501951, -0.0511787981, 0.0799292326, -0.040535152, -0.0051054014, 0.0359784886, -0.0357754976, 0.0014180929, -0.0331887864, 0.0514880009, 0.0048970631, -0.0080277082, 0.0242183302, -0.0160419047, 0.0161431879, 0.0082680658, 0.0228249542, -0.0376858525, 0.0491767079, -0.0559334569, 0.0314159803, -0.0319876224, -0.023442056, 0.0082248822, -0.0250907149, -0.0241560191, 0.0085388757, -0.0199196413, 0.0043692421, -0.0054109325, -0.0373070426, 0.0367564484, 0.0043439819, -0.0502162166, 0.0301120095, 0.0613364168, -0.0662229881, -0.0717998445, 0.001865105, -0.0559425503, 0.0447684117, -0.0250671562, 0.0011436131, 2.931518296e-34, 0.0573078319, -0.0082637658, -0.0199319478, 0.0081955269, 0.0450603627, 0.0047905715, -0.0215555727, 0.038793534, 0.0168344248, -0.1122518927, -0.0170626752 ]
http://arxiv.org/abs/2310.10429v1
http://arxiv.org/pdf/2310.10429v1
Exploiting User Comments for Early Detection of Fake News Prior to Users' Commenting
2023-10-16T14:13:38
2023-10-16T14:13:38
Qiong Nan, Qiang Sheng, Juan Cao, Yongchun Zhu, Danding Wang, Guang Yang, Jintao Li, Kai Shu
cs.CL
cs.CL, cs.CY, cs.SI
Both accuracy and timeliness are key factors in detecting fake news on social media. However, most existing methods encounter an accuracy-timeliness dilemma: Content-only methods guarantee timeliness but perform moderately because of limited available information, while social context-based ones generally perform better but inevitably lead to latency because of social context accumulation needs. To break such a dilemma, a feasible but not well-studied solution is to leverage social contexts (e.g., comments) from historical news for training a detection model and apply it to newly emerging news without social contexts. This requires the model to (1) sufficiently learn helpful knowledge from social contexts, and (2) be well compatible with situations that social contexts are available or not. To achieve this goal, we propose to absorb and parameterize useful knowledge from comments in historical news and then inject it into a content-only detection model. Specifically, we design the Comments Assisted Fake News Detection method (CAS-FEND), which transfers useful knowledge from a comments-aware teacher model to a content-only student model during training. The student model is further used to detect newly emerging fake news. Experiments show that the CAS-FEND student model outperforms all content-only methods and even those with 1/4 comments as inputs, demonstrating its superiority for early detection.
[ 0.1085961461, 0.0227918383, 0.0053592175, 0.0423369445, -0.0161915589, 0.0299877431, -0.0020483555, 0.0056071747, 0.0063804211, -0.0544257425, 0.0361816101, -0.0275158286, -0.0163534041, 0.0209718049, -0.0091172671, -0.0352690518, 0.0599415377, 0.0193162747, 0.0479137413, 0.009091448, 0.0524518378, 0.0047999597, -0.0244068019, -0.0026818293, -0.0569833517, 0.0171636939, -0.000537122, 0.0068958672, 0.0380849428, -0.013768889, 0.0386309177, 0.0540292524, 0.0225635972, 0.0731188506, 0.0000017823, -0.006479613, -0.0188958775, -0.0147951003, -0.0242052879, 0.0209601205, 0.0563525297, -0.0755883902, -0.0080485679, 0.0284480732, -0.0737770349, -0.0254785083, 0.0016430536, 0.0425348096, 0.0808821321, 0.117295064, -0.0289642569, -0.0161038358, -0.0157027617, 0.0078822086, 0.0197026748, -0.0699565858, 0.0646482781, 0.0336724743, -0.0122666415, 0.0452840254, 0.0082212463, 0.0091400221, 0.0080266409, -0.0244876165, 0.0179213081, 0.0165621098, 0.0493500829, 0.0013407167, -0.0182728115, 0.0020518096, -0.0145076066, -0.0588371195, 0.0184017122, -0.0108438637, 0.0182615817, 0.0314940251, 0.0006273209, -0.0093981009, -0.0293705631, 0.0086639505, 0.0260024797, -0.0019574931, 0.0221290775, 0.0892651752, 0.0727708638, -0.0088492595, -0.0439520776, -0.0279110223, -0.0337037705, 0.0291091334, 0.0024924877, -0.0284213033, 0.0339473411, 0.042252101, 0.0162190478, -0.0016650327, -0.0585446544, -0.024168171, 0.0289919302, -0.1061827168, -0.058003787, -0.012578777, -0.0063049854, 0.0809729695, -0.0300397817, -0.0344313383, -0.0323837623, -0.0385676511, -0.0077560195, -0.0216924436, -0.0202486776, 0.0340741463, -0.0246666241, 0.0025760971, -0.0180113353, -0.0134167103, -0.0207283311, 0.0289637186, -0.0096597159, 0.0084979506, -0.0256607942, 0.003800344, -0.005730961, 0.0024225886, -0.0141038727, -0.0020760079, -0.0164244007, 0.0397222228, -0.0295311473, -0.0275577623, -0.0196637362, 0.0245107301, 0.0125854583, 0.0216641575, 0.0102932137, -0.0304228198, 0.0137003856, -0.0011771128, -0.0873218626, -0.0382952243, 0.0115715796, -0.0070502907, 0.004639117, -0.0771211535, -0.0171106867, -0.023989059, -0.023558585, 0.0312089976, -0.0172988586, 0.0209431015, -0.0234548338, 0.0404597856, -0.0244228356, 0.0098203598, 0.0538707599, 0.0533145815, -0.0016492129, 0.0880450681, -0.0264909118, 0.0708311424, 0.0537321754, 0.0209623035, 0.0113886287, -0.0068958839, 0.0650790334, 0.0346179903, 0.0197184719, -0.0053028124, -0.0429447889, -0.0297603775, -0.0087284045, -0.0180805102, -0.0143888202, -0.0101703033, 0.0681148395, -0.0312617607, -0.0344170071, 0.0178796202, 0.0613084137, 0.018522853, 0.0020283675, -0.0181567241, -0.0356233753, 0.0009337408, -0.072539255, -0.0270239897, -0.026829062, 0.0344941206, -0.019772822, -0.0104777506, 0.0127285877, -0.0362917595, 0.0239203852, -0.0126324324, 0.0086639924, 0.0371659547, -0.0262389127, 0.0052849422, 0.0302963704, 0.0162321366, -0.008864305, -0.0463728867, 0.0381376259, 0.0426960997, 0.0003227274, -0.0045551029, 0.0173105039, -0.0193277486, 0.0637333021, 0.024914749, 0.0442833677, -0.0282138735, -0.0347882211, 0.007499163, -0.0261610933, 0.0180036668, 0.0228144787, -0.0077371718, 0.0730262771, 0.0347516537, 0.0153295966, 0.0319102444, -0.0234858338, 0.0156781804, -0.0108341202, 0.0037051248, -0.0467090271, 0.0204642955, 0.0164036322, 0.0147363022, 0.0298648346, -0.0240329206, 0.0340147503, 0.0318449959, -0.0389890894, -0.0486075655, -0.0366171189, -0.0243504103, -0.0009797068, -0.0263691936, -0.0278384015, 0.0703043565, -0.0083216531, 0.029658284, 0.0437133238, -0.0228703357, 0.0707325563, -0.0432383716, -0.0510776527, -0.0354325436, -0.0082677593, 0.0204594545, 0.093220897, -0.0483857356, -0.0139626907, 0.0128937345, 0.0072552701, -0.0143716009, 0.0271957647, -0.0072432961, -0.0657836869, 0.0013982306, 0.0038854021, 0.0391276218, -0.0115501285, -0.0180843063, -0.0207353532, -0.0963460207, -0.0234224442, -0.0468663387, -0.016209824, 0.0542289019, -0.0100017777, -0.0045452351, -0.01663859, -0.0496413745, -0.0247483496, -0.0100771487, 0.0247213766, -0.0065555638, -0.0073666302, 0.0198653229, -0.0258692708, 0.0264144242, -0.0149599528, 0.0043521472, 0.0419007353, -0.0929637626, -0.0406005606, -0.0007788516, -0.031640958, 0.0194020476, -0.0334885344, -0.003714913, 0.0083508892, -0.0053892881, -0.0100595066, 0.0422664359, 0.0549842902, 0.0731408596, 0.0043087699, 0.0676532164, -0.0171131808, -0.0209547561, -0.0559370853, 0.069855541, -0.0357183479, -0.0307665654, -0.0096416911, 0.0220315047, 0.0094125606, -0.000173772, -0.0202768277, 0.0597706288, -0.0055381907, -0.0170033555, 0.0275265891, -0.0481798202, 0.0036515077, -0.0175804403, -0.0549463071, -0.0164933372, 0.089240171, 0.0229884088, 0.0380712934, -0.0089783743, -0.0543606021, -0.0165720526, -0.0130411666, -0.001730249, 0.011115564, -0.0304399841, 0.0180710685, 0.0392273068, 0.0013998147, 0.0946425796, -0.0358026996, -0.0153485127, -0.0156260729, 0.0345230438, 0.0278755557, -0.0180568602, -0.0600456223, -0.1077209711, -0.021788694, -0.031922061, -0.0238497406, -0.0395959243, -0.0111965938, -0.0152881145, 0.02122402, 0.0684837252, -0.0248413961, -0.0217721425, 0.011895434, 0.0381617472, 0.0116692903, -0.0236029029, 0.0397511981, -0.0258898549, 0.0079873884, 0.0812758282, 0.0226315111, -0.0210730098, -0.0469144322, -0.042918548, -0.0060670432, 0.0175132751, 0.02130487, -0.012594847, -0.0031279612, -0.0384887345, 0.0030303793, 0.0677620769, 0.0083646327, -0.0146036521, 0.004943124, 0.038832318, -0.0276079364, 0.0241567455, -0.0499553196, -0.0446795337, -0.012292739, -0.0268585458, 0.0123262815, -0.0366687067, -0.0244634505, -0.0174487941, -0.0531613417, -0.0139623042, -0.0134030525, -0.0166431051, -0.015287769, -0.0770822167, -0.0057588378, 0.0044077421, -0.0211684778, -0.0025822008, 0.0229894202, -0.0112691466, -0.0046757204, 0.0073211039, -0.0492644273, -0.0087475805, 0.001157205, 0.0692027435, 0.0136626279, 0.0194569509, 0.0072201248, -0.0410400406, 0.0259475056, 0.0232087653, -0.0045492854, -0.0312525742, 0.0500799455, -0.0314941667, 0.0022453482, -0.0436701402, 0.0421498083, 0.0039841346, -0.0177722778, -0.0036742128, 0.0506823882, 0.0133597348, -0.0699069798, -0.0520778112, 0.0178533886, 0.0630704165, 0.049676951, 0.0340450145, -0.0349287987, 0.0147452811, 0.0359024554, -0.0231497139, -0.0257428475, -0.0632301196, 0.0093416478, -0.0111968284, -0.0525523387, -0.0469024256, -0.0203465223, -0.0491940677, 0.0174389165, -0.0283558816, -0.0080504455, 0.0302784964, -0.0358983949, -0.0307836086, 0.0230967104, -0.0066455822, 0.0320839807, -0.0245467648, -0.0388283953, -0.0017627146, -0.0171445124, -0.0250032041, 0.0211319476, -0.1085510254, -0.0459359065, 0.0209781155, 0.0368667282, 0.0203498136, 0.0573612563, -0.0284929667, -0.039622061, 0.0503757261, 0.0063275932, -0.0304211266, 0.0177750587, 0.031129187, -0.0119122369, 0.0393529832, 0.0250068344, -0.0042738151, 0.0462288521, 0.013328311, -0.0499367453, -0.1121695489, 0.0381101295, 0.0093299774, -0.0168327782, 0.0745528713, 0.0229775812, -0.0164971147, -0.0048987274, -0.0594634376, -0.0147106173, -0.0280592944, 0.0095128343, 0.0350110009, 0.0046109376, 0.0171568319, 0.0040689008, -0.0023183927, -0.0029859177, 0.0217969399, -0.05171749, -0.0210374687, 0.0258911122, 0.0565325879, 0.0156659577, 0.0134818228, -0.0420045592, 0.0373395421, 0.0021397742, -0.0032069022, -0.0072218915, 0.0074733142, 0.0194873586, -0.0190967843, 0.0524024665, -0.0348143876, -0.0721468478, 0.0243500248, -0.0432047993, 0.0233546365, 0.0188480522, -0.0308581386, 0.0375402309, -0.0185148381, -0.0011030145, 0.0146068176, -0.0117656523, -0.0156427193, -0.0762440562, -0.0240451507, 0.0338181108, -0.0213045944, 0.0718454868, 0.0537584983, -0.0061453748, 0.0258185714, 0.0034811583, -0.0912146941, -0.0183043219, 0.013592639, 0.0043069744, 0.0338135138, -0.0330617726, 0.0492237248, -0.0560817271, -0.0303530432, 0.0102409925, -0.0043451265, 0.0020956809, 0.0518781096, -0.0064753755, 0.0746812597, 0.0066427188, 0.0070369691, -0.0286766812, 0.0246278662, 0.012365221, -0.0551570877, 0.0227260571, -6.414537491e-33, 0.0468675531, -0.053639017, -0.042784337, 0.0294169765, 0.0210816227, 0.0713460669, -0.0032568565, 0.0018455801, -0.0328608081, 0.041842062, 0.0485409498, 0.063889429, -0.0189158134, 0.0005506556, -0.0665779114, -0.0024914483, 0.0313898362, 0.0049332669, 0.0019092365, 0.0320899971, 0.0413791351, -0.0159237497, 0.0166765619, -0.0681139603, 0.0388620459, -0.0547686331, -0.0037301141, 0.0452787839, -0.0018763924, 0.0608655103, -0.0049750432, 0.0454714969, 0.0546691641, -0.0117845759, -0.0072567314, 0.0591434091, -0.0473247431, -0.0194621366, 0.0259251278, -0.0173945446, -0.0340159833, 0.0163693763, 0.0417977758, -0.0045794346, -0.0166206174, 0.0328514799, 0.0184451099, -0.023185553, 0.0112253698, -0.014496766, -0.0457356311, 0.0172332097, 0.004949098, 0.003136046, -0.0189434364, 0.0767047778, 0.0391865522, 0.0026791552, -0.0903495848, 0.0340226889, -0.0248418618, 0.0050353385, -0.0168029722, -0.0541884229, -0.034280166, 0.0435586646, -0.0029223505, 0.0526167527, -0.060048718, -0.0022668592, -0.0003398825, -0.0172192398, 0.0717108324, 0.0762341842, 0.0202885624, -0.0966861546, -0.0925905108, 0.0107792281, 0.075232394, -0.0232548378, 0.0262992438, -0.053811837, -0.0447720289, 0.0198289771, 0.0176225733, -0.0136224274, -0.0251320396, 0.0087086428, -0.0139624309, 0.0819031596, -0.0310671292, 0.0376355313, -0.0105563682, -0.0318837352, 0.0070406911, 0.0426790528, -0.0246032588, -0.0129954275, 0.0251182243, 0.0463813245, -0.069845736, 0.0032374731, 0.0372425541, -0.0343374684, -0.0163940247, -0.0334498174, 0.0704105273, 0.0308239479, -0.0294723529, 0.0051011057, -0.0205591302, 0.0574594922, -0.0173050649, -0.0388475321, 0.0469017662, 0.0053649852, -0.0251149125, 0.0129664037, 0.0097316382, 0.01617622, -0.0203833263, 0.0065865112, -0.0526530743, 0.0011422473, -0.0123147853, -0.0387139954, -0.0149619263, 0.0265380386, 0.0211776271, -0.094587937, 0.0134478733, 0.0282898974, 2.645e-7, -0.0242523439, 0.0285852272, 0.00503527, -0.0348543413, 0.0327553563, 0.048308596, 0.0184975099, 0.0257842969, -0.0191411879, -0.071927458, -0.016707994, 0.0439750664, -0.0013062023, 0.0302623417, -0.066430077, -0.048447974, -0.058500655, -0.0051425179, -0.0337195918, -0.0340339802, -0.0057650874, 0.0400849655, 0.0560625345, -0.0373071469, -0.0164446384, -0.0213169362, 0.0379974172, 0.0617359728, -0.0306905061, -0.02998548, 0.0654193088, -0.0063129799, 0.0133748464, 0.0249525532, -0.0180064142, -0.0016303344, -0.0316404998, 0.0165092312, 0.0180753618, 0.0073550656, -0.0019937281, -0.0072244811, 0.0282353982, -0.0211534575, 0.0521047749, -0.0252046995, -0.001169564, -0.0734417364, -0.0378373638, 0.0133126751, 0.002647893, 0.0260340925, -0.0326152667, 0.0172787942, 0.0096269809, -0.0110643031, 0.0176284704, -0.0398789421, 0.0172692873, -0.0194637533, -0.0461221747, -0.0114839748, -0.01549144, -0.0304466262, 0.0764250308, -0.002514882, 0.0588559471, 1.90583209e-34, 0.0377831347, -0.0487579331, 0.012305053, -0.0190380029, 0.0068933209, 0.0380362421, -0.0619230568, -0.0321522579, 0.0636935979, 0.0184802748, -0.003178071 ]
http://arxiv.org/abs/2310.10400v1
http://arxiv.org/pdf/2310.10400v1
Can Word Sense Distribution Detect Semantic Changes of Words?
2023-10-16T13:41:27
2023-10-16T13:41:27
Xiaohang Tang, Yi Zhou, Taichi Aida, Procheta Sen, Danushka Bollegala
cs.CL
cs.CL, cs.AI, cs.LG
Semantic Change Detection (SCD) of words is an important task for various NLP applications that must make time-sensitive predictions. Some words are used over time in novel ways to express new meanings, and these new meanings establish themselves as novel senses of existing words. On the other hand, Word Sense Disambiguation (WSD) methods associate ambiguous words with sense ids, depending on the context in which they occur. Given this relationship between WSD and SCD, we explore the possibility of predicting whether a target word has its meaning changed between two corpora collected at different time steps, by comparing the distributions of senses of that word in each corpora. For this purpose, we use pretrained static sense embeddings to automatically annotate each occurrence of the target word in a corpus with a sense id. Next, we compute the distribution of sense ids of a target word in a given corpus. Finally, we use different divergence or distance measures to quantify the semantic change of the target word across the two given corpora. Our experimental results on SemEval 2020 Task 1 dataset show that word sense distributions can be accurately used to predict semantic changes of words in English, German, Swedish and Latin.
[ -0.0103584705, 0.003632558, -0.0336876065, 0.005771501, -0.0342858061, 0.0009004664, -0.0616156049, 0.0175091866, 0.0068116416, -0.0349368863, 0.0024545949, 0.0026265804, 0.0263450351, -0.0047753453, 0.0150191514, 0.0104332082, 0.1053413302, 0.0219118241, -0.0631356314, 0.0204157978, -0.0026909199, -0.0143482368, -0.0194757618, -0.0075257574, -0.0058879503, -0.0263981111, -0.020322768, -0.0102064293, 0.0582008697, -0.0294244438, -0.0014800049, 0.049350936, 0.0658767745, 0.0801229924, 0.0000018821, -0.0570898131, -0.0215974208, -0.0115671419, 0.0028680903, -0.0041710753, 0.0589686334, -0.0266413298, 0.0146865584, -0.0283458531, -0.0484265909, 0.0039080814, 0.0225891434, -0.0560123101, 0.0278837886, 0.0351337418, -0.0164561197, -0.0400486737, -0.0079665249, -0.022498237, 0.0490565486, -0.0143186012, 0.0083515402, -0.0144103309, -0.0531120896, -0.0051886099, -0.067405127, 0.0118426196, -0.0133235054, -0.002476749, 0.0424515381, 0.0159129482, 0.0136889415, 0.0248883627, -0.0277226418, 0.01819003, 0.0153917428, -0.0374883302, -0.015448628, -0.0046593091, -0.0395106114, 0.0247550495, 0.0249228925, -0.0683395267, 0.0173426196, 0.0043849647, 0.0486099496, 0.0371644832, 0.0254510436, 0.0698692203, -0.0125292726, 0.0800731629, 0.0191598739, -0.0404896401, 0.019690562, 0.0000556128, 0.0153780747, -0.0251119845, -0.0023198263, 0.0043598958, -0.0075275688, 0.0406943709, -0.0250483025, -0.0965607986, 0.0226158667, -0.0997383446, -0.0218054634, 0.017674759, -0.0192283243, 0.0787685439, -0.0145645235, 0.0255493652, -0.0054479721, 0.0009956132, -0.0535685159, -0.0159712099, -0.0676926002, 0.0453030579, -0.0153123233, 0.0074230367, -0.0489016026, -0.0121355643, -0.0556226894, 0.0392827056, -0.001567567, -0.0477811955, -0.0204566363, -0.0052059605, -0.0788167492, 0.0344872624, -0.0558805279, 0.0319867246, -0.0305877365, -0.0113436393, -0.0599773787, -0.0065890048, 0.011873493, 0.009222446, -0.0163827054, -0.0220610891, -0.0103398506, 0.0365188718, -0.0114805596, -0.0190382693, -0.062490277, -0.0373602919, -0.0310837012, -0.0076388689, -0.0320139378, -0.053141579, 0.0009148735, -0.0168435425, -0.0040787342, -0.0789903328, -0.0184048992, -0.0148071684, -0.0374001116, 0.0801866427, -0.0413966961, -0.013435429, -0.0023924233, -0.0184215996, 0.0310865007, 0.0749881119, 0.0107184164, -0.0191993657, 0.0681206957, 0.0358113088, -0.1027056053, 0.0019797271, -0.0286488757, 0.0447923839, -0.0280801598, -0.0102322251, -0.0360732563, 0.0695635751, 0.0211619213, 0.0046344902, -0.0267992169, -0.0439808182, -0.0003636336, 0.0670859665, 0.0323669799, -0.0754638687, 0.037681412, -0.0176024679, -0.0391961411, -0.0105895186, -0.009949591, -0.032701835, -0.0016461583, -0.0465687029, -0.0131508112, -0.0109237824, -0.0052510696, -0.0126324883, 0.0103936167, -0.0217660591, 0.0508332625, -0.0221949909, 0.0472321436, 0.0252818335, 0.0199854635, 0.0356650762, 0.0508083962, -0.0223221034, 0.0410108455, 0.0003135011, 0.0345832482, 0.0744669959, 0.030669516, -0.0451581813, -0.0004648119, 0.0031063897, -0.0033967143, 0.0029043979, 0.0413992479, -0.0188683271, 0.014190861, -0.0258405581, -0.008147547, 0.0135582145, 0.0127144028, 0.0044642594, 0.0294572599, 0.0629503727, 0.0010448649, -0.126496911, 0.0294530466, 0.0371681638, -0.0265735108, -0.0008417339, -0.0016677039, 0.0060230964, 0.0187278222, 0.0310177207, 0.0051415716, 0.0038267784, 0.0333601721, -0.0443103686, -0.0158273373, 0.0498981103, 0.0052027465, -0.0093114674, 0.0469462052, 0.0068935626, 0.0008021306, 0.0083603105, -0.047943417, 0.0015700397, 0.0614021383, -0.0128138671, 0.0171388257, -0.0447213314, -0.0244071539, -0.0455036834, 0.0352347046, -0.0737768486, 0.0434090197, -0.0195843149, -0.0034504218, -0.0528003611, 0.0897560567, 0.0219014268, 0.0318933353, -0.0135556227, 0.0162390582, 0.0446754172, -0.0243168101, 0.0199139696, -0.0208457969, -0.0547923781, 0.0107287141, -0.0489391275, 0.0351938084, -0.0345907994, 0.0307582188, 0.0542987213, 0.0381086878, 0.0101823546, -0.0134039493, 0.005841142, 0.0664263144, -0.0045913071, 0.0456156321, 0.0475119725, -0.0228235815, 0.0309431665, -0.0481510311, -0.0188673493, -0.0296658091, 0.0640933737, 0.0205450021, -0.0311517194, -0.035508655, 0.0092260409, -0.0761626363, 0.0292951297, 0.0075242477, -0.0193651319, -0.0086544612, -0.0042372309, 0.0622444749, 0.0272348523, 0.0508487523, 0.0639974922, 0.056764815, -0.0076566096, -0.0421513841, -0.0075697824, -0.0247425865, 0.0143353995, -0.0531391129, -0.0249688216, 0.0193921775, 0.0137729915, 0.0285149813, -0.028219996, -0.0105171362, 0.0338952504, -0.0657138675, -0.0351605117, 0.0027435317, 0.0345790759, -0.0389319211, 0.0454384796, -0.0140901739, -0.044334285, 0.0336569957, 0.0325253755, 0.0599926114, -0.0988020003, -0.0383640081, -0.0217385162, 0.0756316036, -0.023134565, 0.0029746993, 0.0014546303, 0.019546723, -0.0552521199, -0.0360659324, 0.0737430304, -0.0294257253, 0.0305179227, -0.0584958456, 0.0302323718, 0.01442865, 0.0477216579, -0.0164027978, -0.0680966824, -0.0232944395, 0.0099525684, 0.0182050057, -0.0062899059, 0.0296444055, 0.0053757792, -0.0126442723, 0.0489116535, 0.0232260711, -0.0365238488, -0.0231623687, -0.006978794, 0.0211953335, -0.0025276269, -0.0121511873, 0.005894959, -0.0182530414, 0.0015406711, -0.0177516453, -0.064044401, -0.0877621323, -0.0007656467, 0.0052457545, -0.0476399325, 0.0033853038, -0.0235762727, 0.0105730807, -0.018536333, -0.0056509636, 0.0650087446, 0.0472987853, -0.054714743, 0.0255100578, 0.0049471515, -0.0143337166, 0.0173764005, -0.0384224951, -0.0869107023, -0.0421684869, -0.0115506435, -0.013099974, 0.0061545786, -0.0750136077, -0.0066728471, -0.050932657, -0.0213669203, -0.0115048615, -0.0609361455, -0.0077479887, -0.0109981662, 0.034060955, -0.0183336735, -0.0280557945, -0.0489369333, 0.027295107, 0.0228216965, 0.0066377325, 0.000048749, -0.0365495197, 0.0355071127, -0.0158449579, 0.0055802139, 0.0781440437, 0.0361109562, 0.0040082927, -0.0534793399, -0.0083563766, -0.0697167069, -0.0063393749, -0.036806494, 0.0353829674, -0.0025069118, 0.0092410585, 0.0171106309, -0.0256434921, -0.0114945462, -0.0285520572, 0.0177386161, 0.0240257904, -0.0144170318, -0.0215469971, -0.0406204052, -0.0236653853, 0.0252361726, 0.0183204152, -0.0346980244, -0.0045558224, -0.006531985, 0.0277965404, 0.0426884331, 0.0291961618, 0.0011294209, -0.0530120246, -0.055613976, 0.0009282247, -0.0733785108, -0.0146775162, -0.040110454, 0.007788477, 0.0103233019, 0.0474772565, 0.0003730851, -0.0047352049, -0.104483664, -0.0032723919, 0.0028598723, 0.0584490635, 0.0237954687, -0.0076473942, 0.0348401293, 0.0716167167, -0.0354030021, 0.025410993, -0.1019333974, -0.0373286903, 0.0087802615, -0.0344347395, 0.0160765667, 0.0340156779, -0.0593769215, 0.013084746, 0.0191043355, -0.0240441412, -0.0000118182, 0.0620323345, 0.0029846539, 0.0243425108, 0.0019405731, 0.0321284123, -0.0091720251, 0.0059653502, 0.0189600252, 0.0101176472, 0.0098489299, -0.0193955265, -0.0048306067, 0.0046801609, 0.0554149039, -0.0175831337, -0.0167488772, -0.0161230676, -0.0263378229, 0.0078230882, -0.0108905528, 0.0366577283, -0.0201908723, 0.0121376039, 0.0031099794, -0.0344180726, 0.1036506891, -0.0090416707, 0.0073781945, -0.0126248831, 0.0004401244, 0.0877713636, 0.0095048323, -0.0092782462, 0.036356017, 0.0132418629, -0.0167163797, -0.0392528623, -0.0113665545, -0.020638926, 0.0040344233, 0.012101016, -0.0107686697, -0.0333866142, 0.0227387566, -0.050403405, 0.0176627487, 0.0383483432, 0.0297834147, 0.0409241393, -0.0008070676, 0.0585174933, -0.0189210176, 0.0097944299, -0.0284883864, 0.0256604273, 0.0099028405, 0.0246323608, 0.0150676845, -0.0008410801, 0.0112477494, 0.0491615795, 0.0372633226, -0.0536310412, 0.048906289, 0.0019177002, -0.0388144851, 0.0040033557, 0.0238443874, -0.0247292295, 0.042029243, -0.006350433, 0.0413132757, -0.0606524944, -0.0368595347, 0.071546033, -0.0119540114, 0.0119753024, 0.0457738414, 0.0536215901, 0.0714715123, 0.0101033477, 0.0310371462, -0.0365909748, 0.0128169991, -0.0357320867, -0.0541132912, -0.0544418544, -5.708351178e-33, 0.0000346871, 0.0138296001, -0.0331220105, -0.0341207236, -0.0610761605, 0.0177999344, -0.0110512543, -0.0393121131, -0.0075837239, 0.0366005749, 0.0259808265, 0.0613882318, 0.0120604327, -0.0461633168, -0.000043688, -0.0250300206, 0.0705913827, 0.0048324964, -0.0002610766, -0.0168916248, 0.0676680878, 0.0068620862, 0.0850581005, -0.0095879827, 0.0708955303, 0.0277562533, 0.0190326888, 0.0233923178, 0.0502577201, 0.0067141755, 0.0016388049, 0.096950382, 0.0079454947, -0.0033053374, -0.0336750373, -0.0157296788, -0.0783193484, -0.0687920451, 0.038297791, 0.0140775014, -0.0314800069, -0.0209405981, 0.0146343578, -0.0118275173, -0.0262322668, 0.0323619246, 0.0440839417, -0.0130797317, -0.057404153, -0.0343034118, -0.039631635, 0.0500625819, -0.0133579941, 0.0082627358, -0.0111873364, -0.0272352938, 0.0475557148, -0.0436254106, -0.0543595888, 0.0313794389, -0.0165072046, 0.0084996847, -0.0092238896, -0.0048941802, 0.0093290852, 0.0447389446, 0.0157628246, -0.0391623192, 0.0445460677, 0.0116161257, 0.0655216202, -0.0497583374, 0.0021936926, 0.1005152836, 0.0749126896, -0.0494324118, -0.0629791617, 0.0002676179, 0.0418537445, 0.0460431054, 0.0220031552, 0.0081875743, 0.0046211137, -0.0047078058, -0.0446473323, 0.0110328747, -0.0117182322, -0.0319088958, 0.0152266324, -0.0148859024, 0.0163744539, 0.0185667276, 0.0015973953, -0.0403910317, 0.010890618, 0.0245343987, -0.005355801, -0.0160448458, 0.0396298692, 0.0214055981, 0.0322691016, -0.0208435841, 0.0006501692, 0.0492420271, 0.0147795547, -0.0241837837, -0.0038142784, -0.0236065369, 0.0036886958, 0.0038554361, 0.0254125632, -0.0432345346, -0.0537935011, -0.0496221855, -0.007553638, 0.0131175453, -0.0110108545, 0.0022259071, 0.0707715228, 0.0091257012, 0.0051602786, -0.0181763992, 0.0146942055, 0.0585125275, -0.0320959948, 0.0184027962, 0.020751005, 0.0481961444, 0.0298634786, -0.0282211863, 0.011157346, -0.0075570052, 2.725e-7, 0.0752653033, 0.0303464364, -0.0265462473, 0.0100815436, 0.0217111669, -0.0315840952, 0.0145758046, 0.0241420548, -0.0520391613, -0.033140596, -0.0132823382, 0.0131517239, -0.0154217025, 0.0459137857, -0.0051958761, -0.0151145943, 0.0082960939, 0.0396253169, -0.0483428687, 0.0052213804, 0.0518524311, 0.0826142803, 0.0408311449, -0.0006302372, -0.042366188, -0.0283014253, 0.0309806168, -0.0007962767, 0.0183780529, -0.026508769, 0.0261069033, 0.0015830619, 0.0504447855, 0.0559442714, -0.0477617458, 0.0056988238, 0.0031518096, -0.0171198435, -0.0439229198, 0.0385673232, -0.0420075059, -0.0179031119, 0.0009606211, -0.0020001957, 0.0425493382, -0.0533906706, -0.0107136322, -0.0458850786, -0.032477349, 0.0491515212, 0.0794707239, 0.0280988477, -0.0749944896, 0.0186291914, 0.0169804078, 0.0404238403, -0.052962739, -0.0768799186, 0.0062808022, 0.0338301733, -0.0043249503, -0.0442220606, 0.0079635503, -0.0487674326, 0.0111822374, -0.0391315781, 0.0043272297, 1.718671005e-34, 0.0294861272, 0.0649607182, -0.01642536, -0.0184855573, 0.0107767107, -0.0234286934, 0.0150691345, -0.0070066056, 0.0355900526, -0.0051589329, 0.003978855 ]
http://arxiv.org/abs/2310.10397v1
http://arxiv.org/pdf/2310.10397v1
$\textit{Swap and Predict}$ -- Predicting the Semantic Changes in Words across Corpora by Context Swapping
2023-10-16T13:39:44
2023-10-16T13:39:44
Taichi Aida, Danushka Bollegala
cs.CL
cs.CL
Meanings of words change over time and across domains. Detecting the semantic changes of words is an important task for various NLP applications that must make time-sensitive predictions. We consider the problem of predicting whether a given target word, $w$, changes its meaning between two different text corpora, $\mathcal{C}_1$ and $\mathcal{C}_2$. For this purpose, we propose $\textit{Swapping-based Semantic Change Detection}$ (SSCD), an unsupervised method that randomly swaps contexts between $\mathcal{C}_1$ and $\mathcal{C}_2$ where $w$ occurs. We then look at the distribution of contextualised word embeddings of $w$, obtained from a pretrained masked language model (MLM), representing the meaning of $w$ in its occurrence contexts in $\mathcal{C}_1$ and $\mathcal{C}_2$. Intuitively, if the meaning of $w$ does not change between $\mathcal{C}_1$ and $\mathcal{C}_2$, we would expect the distributions of contextualised word embeddings of $w$ to remain the same before and after this random swapping process. Despite its simplicity, we demonstrate that even by using pretrained MLMs without any fine-tuning, our proposed context swapping method accurately predicts the semantic changes of words in four languages (English, German, Swedish, and Latin) and across different time spans (over 50 years and about five years). Moreover, our method achieves significant performance improvements compared to strong baselines for the English semantic change prediction task. Source code is available at https://github.com/a1da4/svp-swap .
[ 0.0224133041, 0.0487327538, -0.0249687079, 0.055124186, -0.0567406639, -0.0040652645, -0.0197546817, 0.0106555456, -0.0186513308, -0.069613412, -0.0034707068, -0.0252405368, 0.0136174401, -0.0039206971, -0.0066065984, -0.0242358074, 0.089990221, -0.0038745617, -0.0725170597, 0.0174774379, 0.005492602, -0.0366231687, -0.0045992434, -0.0033094801, -0.0040421588, -0.0181635339, -0.0095628416, -0.0317164622, 0.0439346991, -0.0229067635, 0.0157856885, 0.0432066955, 0.038587492, 0.101165615, 0.0000020565, -0.067936711, -0.0424512438, -0.0109666837, 0.0011651503, 0.0444518514, 0.0690283552, -0.0506867208, -0.0158696715, -0.0151243592, -0.0588844866, -0.0095085772, 0.0191030204, -0.0095564555, 0.0236586519, 0.0746718496, -0.0117324032, -0.0176072642, -0.0207229368, -0.0337706394, 0.0101742269, -0.0600980297, 0.0386773385, -0.0198197141, -0.0666213557, 0.0113081839, -0.0659655854, 0.02741188, -0.0409811065, -0.0016560833, 0.0093420204, 0.0355001502, -0.0177420937, 0.0326708667, -0.0076368004, 0.0358327776, -0.0328625515, -0.0429533683, -0.0033822176, -0.0053313496, -0.0212400276, 0.0347410776, 0.0151218781, -0.0124671943, 0.0373155326, 0.0205777809, 0.0670211092, 0.0258089136, 0.0420771688, 0.0409367047, -0.0644907281, 0.0528427847, 0.0372504257, -0.0381469317, -0.0279108938, 0.0029747433, 0.0336332992, -0.0524714626, -0.0163754821, 0.000771201, -0.0130150784, 0.0293801315, -0.0428305753, -0.0896537676, 0.0007605385, -0.0595452487, -0.0209122226, -0.0046600397, -0.0359173305, 0.0708894953, -0.0364983715, 0.0110835359, -0.0039999369, -0.0217816383, -0.0268857963, -0.0223665237, -0.0322090387, 0.00534043, -0.0219320767, -0.0082089156, -0.0501008108, -0.0074830586, -0.0080395788, 0.0384820364, -0.004131393, -0.0098621203, -0.0363938138, -0.0369481221, -0.0319155008, 0.0407214984, -0.0134876799, 0.0069696703, -0.02844771, -0.0060764537, -0.0524436831, -0.0394591801, -0.0043280171, 0.0074982247, -0.0051979814, -0.0221415944, -0.0084233377, 0.1017600819, -0.0123745529, -0.0086341612, -0.0479185283, 0.0030894896, -0.018441746, 0.0025247196, 0.009809155, -0.0533747151, 0.0313593261, -0.0090753604, 0.0326525606, -0.0225609709, -0.0043428945, -0.0005128827, -0.055920314, 0.1036125049, -0.0084417444, -0.0072432766, 0.0302365012, -0.0214293264, 0.0071154633, 0.0938728601, 0.0188246835, -0.0550792553, 0.1004580557, 0.0050856303, -0.0393173285, 0.0232370924, -0.0160328448, 0.0363352485, 0.0150319105, -0.0178542491, 0.0581337139, 0.0365412645, 0.0364271067, 0.0149672711, -0.0221937913, -0.0671493337, -0.0024427632, 0.0275362357, 0.0145074297, -0.0065098861, 0.0483051129, -0.0085780062, -0.0238598417, 0.0231608488, -0.0026939982, -0.008833318, -0.0310208611, -0.0620605387, -0.031940423, -0.0193386804, -0.0164134242, 0.0122665353, -0.0120614441, -0.0124221696, 0.0431204289, -0.0834968239, 0.0446615219, 0.0367904715, -0.0011193998, 0.0482383296, 0.0451827645, -0.0005138331, 0.0004650485, 0.0077793584, -0.0025561405, 0.0612074062, 0.0288337916, -0.0446371324, 0.0182740092, -0.011324456, -0.0108091393, 0.0145631386, 0.0334488004, -0.0259024817, 0.0087375063, -0.0290594548, 0.0111648673, -0.0168507248, 0.016468741, 0.0421275273, 0.0489859916, 0.0730258673, 0.0175455026, -0.0297385063, 0.0363302603, 0.049709361, -0.0564505197, -0.0194064919, 0.0318478383, 0.0056227944, 0.0218745973, -0.0095989769, -0.0124279642, 0.011765169, 0.0115835741, -0.038961716, -0.0392420441, 0.0520216189, -0.0181319583, -0.0648722798, 0.0336900912, -0.0254675131, 0.0001760077, 0.0356864594, -0.0472028702, -0.0122135365, 0.0646777824, -0.0066869212, 0.0615125597, -0.0325357616, 0.0294443872, -0.033009436, 0.0417662859, -0.04620938, 0.0568990409, -0.0090277046, 0.0064500426, 0.017180061, 0.0498769544, 0.0281197391, 0.011785401, -0.0357763991, 0.0348260887, 0.0121974079, -0.0286951382, -0.0012455315, -0.0146230645, -0.0386563279, 0.0086977025, -0.0534201004, 0.0045935633, -0.0322769284, 0.0046756892, 0.0684911013, 0.0088101448, 0.005185917, -0.026846949, -0.0032908136, 0.0155722573, -0.0312092602, 0.0537939779, 0.0424600244, -0.0189508665, 0.0390127636, -0.0519084893, -0.0051944018, -0.0196951386, 0.076394558, -0.0105145536, -0.0564307608, -0.0572814681, 0.0322011262, -0.0243997015, 0.0527535304, -0.0185510162, 0.0063529331, -0.0278130732, 0.0023222095, 0.045202855, 0.0423444845, 0.0539951138, 0.0425925516, 0.0698271021, -0.0124031994, -0.0542427823, -0.0311154798, -0.0038097799, -0.0186276697, -0.026368726, -0.042718444, 0.03014124, 0.0396493338, 0.0250496883, -0.0194868557, -0.0315073803, -0.01366302, -0.097427547, -0.0174556337, -0.029187534, 0.0285020396, -0.0327603891, 0.0366850644, -0.0130482065, -0.0038033766, 0.0396403894, 0.028138902, 0.0447375178, -0.0813616365, -0.0341718309, -0.0432444327, 0.0400939733, -0.0162652954, 0.0084964167, -0.0235494003, 0.0054050069, -0.0611561276, -0.008803647, 0.0452818088, -0.0220240131, 0.0151967369, -0.0539140254, 0.0140814697, 0.0032531405, -0.0167924874, -0.0212506633, -0.0932259113, -0.0253523309, -0.011045659, 0.0306921806, -0.0208387896, 0.0154175702, 0.0126224365, -0.0197163559, 0.063504599, 0.0088114049, -0.0205055382, -0.0053741839, 0.0450958982, 0.0143904816, -0.0363808796, 0.0039982148, 0.0141512118, 0.0251895934, 0.020574728, 0.014536079, -0.0047106813, -0.0546744876, -0.0096732397, -0.0019050543, -0.0311878249, -0.0218932815, -0.0418652184, -0.0105049973, -0.0014168153, -0.0130487494, 0.0788375512, 0.046521496, -0.0464099608, 0.0097753555, -0.0394991301, -0.0342857838, 0.0378897339, -0.0051953327, -0.113204442, -0.0305246059, 0.0069778208, -0.0134731317, -0.012509007, -0.0577542819, -0.0071229581, -0.0967639163, -0.0150487907, 0.0077509661, -0.0605797954, 0.0246828515, -0.0231708009, 0.027833268, -0.0244276877, -0.0414392389, -0.0394397676, 0.01286906, 0.0027962627, -0.0061884155, -0.0695922375, -0.0547195822, 0.0361155644, -0.0166856833, 0.0311008226, 0.0520622097, 0.0154420007, -0.0331226587, -0.0386336222, 0.0342979766, -0.0381394252, -0.0153521951, -0.0406681821, 0.066144675, -0.0311419647, -0.0253518783, 0.0408011675, -0.0180464592, 0.0113376146, -0.0409637764, 0.04483914, 0.0629248768, 0.0077649765, -0.0239680447, -0.0222941805, -0.0005017632, 0.0457134694, 0.0410389826, -0.0118794749, -0.0388999768, 0.026708262, 0.0037033516, 0.032959979, 0.023167504, -0.0098749762, -0.0204375274, -0.0310403239, -0.0035818268, -0.0853506401, -0.0041932431, -0.0014772676, 0.0023215332, 0.0456925035, 0.0511763878, -0.0105874604, -0.0212859362, -0.0945137367, -0.0168650523, -0.0251990464, 0.0601021536, -0.0124599328, -0.0262135491, 0.0633982494, 0.0323274061, -0.0173077211, 0.0158790257, -0.079366304, -0.05046295, 0.0298918542, -0.0301922411, 0.0098950751, 0.0705427155, -0.0369900353, 0.0000635066, 0.0450553671, -0.0188094117, 0.0019155894, 0.0507677309, 0.0395719558, 0.0330540501, 0.0037032967, 0.0335251465, -0.0467424691, -0.0140656661, 0.0158558954, 0.0050536739, -0.0200245976, 0.0122733954, -0.0041661104, -0.0220507458, 0.0564375855, -0.0024745862, -0.0083297715, -0.0014316385, 0.0074747181, 0.0022590724, -0.045014035, 0.0376361646, -0.0157347154, 0.0188626423, 0.0016582321, -0.0404767394, 0.0754380822, -0.0267584883, 0.0065341196, 0.0009359486, -0.0129427966, 0.0554897152, 0.0500510484, -0.0001736499, 0.0585667863, -0.0027999734, -0.0393937118, 0.0053518438, 0.0114637464, -0.0337947346, 0.0159051158, 0.0211926494, -0.0284009948, -0.0269900374, 0.0162876006, -0.0759494826, 0.0227360968, 0.0311416183, -0.0153695866, 0.0490071923, -0.0537118576, 0.0496540219, -0.0234414954, -0.011142428, -0.007644631, 0.0081737107, 0.0128222406, -0.0077700443, 0.0161815863, -0.0131055415, -0.0158495437, 0.0496544242, 0.0609422065, -0.02122101, 0.0514979772, 0.0007803547, -0.0164382085, -0.0156102479, 0.0414855219, 0.0249042008, 0.045464661, 0.0055035008, -0.003489817, -0.0497790053, -0.0327991806, 0.0422963277, -0.0218786038, 0.0007797174, 0.0437396578, 0.0140005723, 0.0672313944, 0.0312371869, 0.0382616296, -0.0524421148, 0.0559405647, 0.046665296, -0.0464737155, -0.0552521273, -6.209296912e-33, -0.0013268359, 0.0120714437, -0.0291349813, 0.0040344959, -0.0258145798, 0.0176091697, -0.0124858199, -0.017116379, -0.0197565351, 0.0224262513, -0.0019028414, 0.039500311, 0.0098886574, -0.0367707051, 0.020317845, -0.0314010456, 0.0422764979, 0.0104239173, -0.0225404296, -0.0356582776, 0.0667206496, 0.0298961271, 0.0929129422, -0.0763165802, 0.0445998497, 0.0302864034, 0.0195524115, 0.0095142154, 0.029929122, -0.0021432373, -0.0030688583, 0.045764856, 0.0416531637, -0.0271689706, -0.0271186046, -0.002639041, -0.083116889, -0.0571806356, 0.0390887372, 0.0389169268, -0.0039538895, -0.0248228069, -0.0137448125, -0.0147246588, -0.0199120902, 0.0267103054, 0.0408035219, -0.0091408072, -0.0331727006, -0.010445293, -0.0675729886, 0.0469236523, -0.0112170782, 0.0107172551, -0.0022895418, 0.0237557348, 0.0568268374, -0.0161896404, -0.0892603621, 0.0383995697, -0.0008515058, 0.0056560598, 0.0104529317, 0.0172727276, 0.014231516, 0.0769619867, 0.0039181514, -0.0106802834, 0.0465904623, -0.024749767, 0.042875804, -0.0314350538, 0.029171437, 0.0501603223, 0.0345696919, -0.0439770222, -0.0631423742, 0.0051717218, 0.0155592682, -0.0025017832, 0.0429492928, 0.0130901532, -0.0178354662, -0.0363125354, -0.0361454636, -0.0058295541, -0.0256227478, -0.0082748942, 0.0351677202, -0.0001824476, -0.0117812641, 0.0210344531, 0.0034907653, -0.0632048473, -0.0355383791, 0.0165436398, -0.024617957, -0.0015823866, 0.0202731695, 0.044148095, -0.0027958602, -0.0317753367, 0.0112348404, 0.0228176024, 0.0276040807, -0.031588532, 0.0427068137, -0.0180605371, -0.0514828078, -0.0196972955, -0.0127137229, -0.0296044592, -0.0431436002, -0.0332095586, -0.0300343074, 0.0298597142, -0.0076596029, 0.0117015317, 0.0892692134, 0.0048039723, -0.0074114259, -0.0145392697, -0.0007302851, 0.0487470776, -0.0195362438, 0.0065416791, 0.0037615239, 0.076611191, 0.0684474781, -0.0401534326, 0.010420084, -0.0245445706, 2.83e-7, 0.0686291531, 0.0377680697, -0.0195094403, -0.0273467526, 0.0517160483, 0.0112818759, -0.0313550681, 0.0432785414, -0.0377344005, 0.0189449694, -0.0106149008, -0.0009655786, 0.0119031705, 0.0309345424, -0.0338475965, -0.0331748612, -0.0234625861, -0.0105409846, -0.0604764074, 0.0037374091, 0.0354810804, 0.1132696867, 0.0539212339, 0.0131553691, -0.0375466868, -0.0107980184, 0.0553308241, -0.0410454758, -0.0018781294, -0.0399647132, -0.0215892475, 0.0282652881, 0.034152735, 0.0234234128, -0.0479825363, 0.0344370008, 0.0204283893, -0.0130641172, -0.0064883283, 0.0122562964, -0.0425084271, -0.0188354999, -0.0241872352, -0.0250310898, 0.0857981741, -0.0410857499, 0.0036601324, -0.0706525594, -0.0177751333, 0.0488039404, 0.0560839698, -0.0054156543, -0.0714413226, 0.034334369, 0.0221656077, 0.0717250481, -0.0573654287, -0.0959136561, -0.0059371372, -0.0073001822, -0.0232470036, -0.0342412479, -0.011454937, -0.0306826737, 0.0116459411, -0.0389207192, 0.0298315771, 2.174561464e-34, 0.0303077307, 0.0589486361, -0.0107255215, 0.0077955662, 0.0168520883, -0.0314385816, 0.0265727881, 0.0229867212, 0.0038512498, -0.0212752875, 0.009636621 ]
http://arxiv.org/abs/2310.10385v2
http://arxiv.org/pdf/2310.10385v2
Towards a Better Understanding of Variations in Zero-Shot Neural Machine Translation Performance
2023-10-16T13:26:05
2023-10-31T10:35:17
Shaomu Tan, Christof Monz
cs.CL
cs.CL, cs.LG
Multilingual Neural Machine Translation (MNMT) facilitates knowledge sharing but often suffers from poor zero-shot (ZS) translation qualities. While prior work has explored the causes of overall low ZS performance, our work introduces a fresh perspective: the presence of high variations in ZS performance. This suggests that MNMT does not uniformly exhibit poor ZS capability; instead, certain translation directions yield reasonable results. Through systematic experimentation involving 1,560 language directions spanning 40 languages, we identify three key factors contributing to high variations in ZS NMT performance: 1) target side translation capability 2) vocabulary overlap 3) linguistic properties. Our findings highlight that the target side translation quality is the most influential factor, with vocabulary overlap consistently impacting ZS performance. Additionally, linguistic properties, such as language family and writing system, play a role, particularly with smaller models. Furthermore, we suggest that the off-target issue is a symptom of inadequate ZS performance, emphasizing that zero-shot translation challenges extend beyond addressing the off-target problem. We release the data and models serving as a benchmark to study zero-shot for future research at https://github.com/Smu-Tan/ZS-NMT-Variations
[ -0.0001911685, 0.0116687929, 0.0010251413, 0.0700559393, -0.0330272429, -0.0120026339, 0.0544463843, 0.011099902, -0.0863447711, -0.0157212839, -0.074124679, -0.0502499528, 0.056622833, -0.0359748378, 0.0203600395, 0.0120927282, 0.0350089259, 0.0122887669, -0.0424472764, 0.005658708, -0.0179644749, 0.0157376919, 0.0141883446, 0.0288472865, 0.0025658349, -0.002572218, -0.0035459516, 0.0342373177, 0.0499241464, -0.0245943405, -0.0269683413, 0.0240336638, -0.0031879849, 0.1269677579, 0.0000019862, -0.0155272866, -0.0166922994, 0.0127244815, -0.00503089, 0.0002663384, 0.0602035932, -0.0979833081, -0.0198741369, 0.0093918201, 0.00814832, -0.0288760345, 0.0605706051, 0.0076518008, 0.0125154145, 0.0980376452, -0.0140786823, 0.0030592694, -0.0160768479, -0.0719636157, 0.0178142805, -0.0634415895, -0.032701578, -0.0329894572, -0.0487049334, 0.028331276, -0.0028554769, 0.0659378991, 0.0121631324, 0.0197383743, -0.0257329661, 0.0441350155, -0.0189084373, -0.0518302135, 0.0120162219, 0.0806473494, -0.0371973701, 0.0255696271, -0.0181815512, -0.0368119404, -0.0083494857, -0.0242570397, -0.0397542641, 0.0544291288, 0.0150338197, -0.0071012047, -0.0177870356, 0.0623097681, 0.0520379543, -0.0111548956, -0.0259427782, 0.0190527588, 0.0231650453, -0.0258353539, -0.0253647659, 0.0118733747, 0.0095764948, -0.0479543246, 0.0123337191, 0.0041302764, 0.0152727319, 0.0326672606, -0.0387260392, -0.0561746992, 0.0380145274, -0.0470114537, 0.092864573, 0.0752559155, 0.0141466893, 0.0238899458, -0.0124310926, 0.0226660278, -0.0238412879, 0.015747983, -0.0293406826, -0.0235796589, -0.0586011522, 0.0173246264, 0.008108939, -0.0082129361, -0.0197868999, -0.0235922895, -0.0207437575, 0.0034275874, 0.0081789894, 0.0145969139, -0.0068219192, -0.0261183158, -0.026476061, -0.0035038698, 0.0278940946, 0.1023228094, -0.0244866591, -0.0302167814, 0.0056567132, -0.0447052196, -0.0411508307, 0.006015786, -0.0150550138, -0.047549434, -0.0240217522, 0.0893808827, -0.0091317883, -0.0266967025, -0.0056004161, -0.0484813936, -0.030680649, -0.0694395527, 0.0292121768, -0.0426751375, 0.0907885805, 0.0117022395, 0.0058462503, -0.0186412726, -0.0185301211, 0.0293719657, -0.0304315276, 0.0543487966, -0.0005591527, -0.0287305489, 0.0142687634, 0.0254216585, 0.0080291312, 0.0680704191, 0.0336567573, -0.0153290313, 0.0245129168, 0.0282257628, -0.0443673953, 0.0263500102, 0.0514752753, 0.0420600958, 0.001668431, -0.0176589936, 0.0083151376, 0.0564056598, 0.0403946228, 0.0110689765, -0.0570338443, -0.0146479197, 0.0581842028, 0.0395318121, 0.0185644925, 0.0307736844, 0.0151326191, 0.0187977199, -0.050656233, -0.0304269977, -0.0077028726, 0.044090949, -0.0149196358, -0.0082655232, 0.0358231999, 0.0313528292, -0.0281215254, -0.020223882, -0.0286460072, -0.0448128954, 0.0146745713, -0.0368999392, 0.0243980121, 0.0013518841, -0.0180600453, 0.0451416709, 0.0008478281, -0.0566074923, 0.0074731186, 0.0048856232, -0.0263586789, 0.0458835736, 0.0304967389, 0.0106346374, -0.077021718, -0.0006039428, -0.0171576682, 0.0647739545, 0.0439725816, 0.0350422338, 0.0696949959, -0.0578723922, -0.0243556276, -0.0538859442, 0.0159474891, 0.056196928, -0.0063469135, 0.0701856986, 0.0602021925, 0.001302327, -0.0151051907, 0.003963606, -0.0502976179, 0.0188799333, 0.0212332848, 0.0058015594, 0.0150579419, 0.0272703394, -0.0259701703, -0.0099057471, -0.0139429905, -0.0260386728, -0.0503222011, 0.0212815218, -0.0567543693, -0.0297294296, 0.0059343292, -0.0042829635, 0.0198331662, -0.0173566062, -0.0344948396, -0.0451175943, 0.0265602954, 0.0318787545, -0.0283454359, -0.0279862378, 0.0167716257, 0.0120346053, 0.0144102713, -0.0135318507, 0.0291229747, 0.0178632773, 0.0103651583, 0.009934742, -0.0356090069, 0.0684940144, -0.003140708, -0.0210899133, 0.0519007146, 0.0119586783, 0.0230311789, 0.0221299082, 0.0269472413, 0.0010097882, -0.0072506843, -0.0561560504, 0.0368227549, -0.0041180705, 0.035442505, 0.0484461784, 0.0346974432, 0.0067716311, 0.0219788179, -0.0235892385, 0.0589895658, -0.0135122864, 0.0252977405, 0.0384174474, 0.0253664218, 0.0242794603, -0.0049054786, -0.0025544958, 0.0175815299, 0.0330734365, -0.0158665124, -0.0183258206, -0.0481415503, 0.0338505246, -0.0800991803, -0.0221116878, 0.0020203937, -0.0448043533, 0.0119446758, -0.0071574128, -0.0112818619, -0.0024242916, -0.0568000115, -0.0162778515, 0.0245739557, 0.000764915, -0.0801789686, -0.0020974881, 0.0172055662, -0.0242705904, 0.0065528741, -0.0178251714, -0.0098952763, 0.0753886849, -0.0024524934, -0.0292427354, -0.06251093, 0.0102866627, -0.0183627438, -0.0221905503, -0.0220743027, 0.0582372546, 0.0330033638, 0.0386046767, -0.0321471319, -0.0073305597, 0.0352626927, -0.0349283926, -0.0201753415, -0.0126071321, 0.0185227748, -0.0578028969, 0.0293328837, -0.032376349, 0.0255953334, 0.0226617958, -0.016006263, -0.0420373641, -0.0047347685, -0.0005928078, 0.0260710698, 0.0100778323, -0.0385002643, -0.0198227707, -0.0579592921, -0.003854448, 0.0258258246, 0.0017119874, 0.010808195, 0.0243431423, -0.0051756334, -0.0247266665, -0.0070806486, -0.0154782077, 0.0413999222, 0.0942567736, -0.0209206324, -0.0100065712, -0.0140254367, -0.0011076585, -0.0207102131, -0.0316656381, 0.0004901372, -0.0418997891, 0.0124390339, 0.045319695, -0.0005428271, 0.0279586576, -0.0115376404, -0.0608842112, 0.0008071655, -0.0099717649, -0.0578549653, -0.0297255348, 0.0585529245, -0.0488738567, 0.0078925397, 0.1005161032, 0.020896079, -0.0444161706, -0.0032575831, -0.0337953195, 0.0335783884, 0.0111857308, 0.013427129, -0.1273556799, -0.0323637836, -0.0039914637, 0.0196592454, 0.0272140615, 0.0002129663, -0.0417105444, -0.0985829756, -0.0154840378, 0.0247445088, -0.0769437179, -0.0049889022, 0.009294467, -0.0415299349, -0.0417829454, 0.0375951603, -0.0297901351, 0.0470320694, -0.0259588119, -0.0280920323, 0.0570776388, -0.0768407732, 0.0255989991, -0.0588237233, 0.0193210412, 0.033837866, 0.0185247678, 0.0101013733, -0.0125081884, 0.0155950151, -0.0171533264, 0.0277252439, -0.0290129781, 0.0180169679, -0.0072667934, -0.0012830991, 0.0396110155, -0.0286442973, -0.0195746403, 0.0403351411, -0.001205116, 0.0494825318, 0.0051236376, -0.0145051312, 0.0189186651, -0.0122319721, 0.0029960964, 0.0603217706, 0.0106605263, -0.0201195758, -0.0036366493, 0.0158936996, -0.0236045886, -0.0587588213, -0.01174118, 0.0052429321, -0.0180403721, -0.0624630004, -0.0834924057, -0.0809513181, -0.0035525421, 0.0297382213, 0.0167137217, 0.0043230345, -0.019000439, -0.0155869275, 0.0047500734, 0.0063571893, -0.044596158, 0.0208679289, -0.0339158289, 0.0553483292, -0.0054973601, -0.0208524931, 0.0066888528, -0.0069283368, -0.1031181365, -0.0848043561, -0.0610466376, 0.0472678877, 0.018686546, 0.0413124859, -0.0174924452, -0.0574407838, 0.0412664711, 0.0356147662, -0.0056679421, 0.0123419976, 0.0382163376, 0.0075074011, -0.0077550672, 0.0661184713, -0.0196365565, -0.0036562381, 0.0093926033, 0.0354337133, -0.0167190321, -0.003117759, -0.0232440028, -0.0060148314, 0.0199623164, -0.0421598069, -0.010881654, -0.0146588208, 0.0182210598, -0.0636385903, -0.0009648789, -0.0465518162, -0.0566085689, 0.0563236549, -0.0187473502, 0.0053982832, 0.0165786501, -0.0234258976, 0.0102219507, -0.0058795195, -0.029247066, -0.0169578493, 0.0188823305, -0.0100347931, 0.0283839889, -0.0178280193, 0.0212731138, -0.0354705267, 0.0195252858, -0.0626642182, 0.0631769449, -0.0052971365, 0.0128192063, -0.0065340344, 0.052834291, -0.0252947025, -0.0073001771, 0.0373816378, 0.02479757, 0.0814565495, 0.019540431, 0.1022299156, -0.0095714079, -0.0129037872, -0.0125994692, 0.043374218, -0.0201163944, -0.0535059422, -0.0048451498, -0.0026456849, 0.0187239125, 0.0088354228, 0.1017352566, 0.0003690135, -0.0139285643, -0.0100797955, 0.0080178799, 0.0050079683, 0.0299995746, 0.0380948968, 0.0012029076, -0.0149455685, -0.0081328126, -0.0569241196, -0.0370656066, 0.0288610943, -0.002809182, -0.0099477554, 0.0046697115, -0.0096198563, 0.0806159601, -0.0406812802, 0.0046053366, -0.0415743664, -0.0214411151, -0.0009385755, -0.0094736479, -0.016511159, -6.52762519e-33, -0.0255547166, 0.0237583984, 0.0188267902, -0.0244668182, -0.0198988151, -0.0005759854, -0.0346616432, 0.004155973, -0.039170485, -0.0025948149, -0.0036499389, 0.0065978491, 0.011951535, 0.0138050346, 0.0156661812, -0.0158934444, 0.0436479151, -0.0151935732, -0.0391398855, 0.0083601829, 0.0628205761, 0.011760016, 0.1064034626, -0.0077427286, 0.0589672513, -0.0216415264, 0.0232633408, -0.0029300756, 0.0113335159, 0.0088889189, 0.0220530052, 0.0236223526, 0.0359000452, -0.0509912558, -0.0222418085, -0.0432910509, -0.0488767363, -0.0412530676, 0.0294678174, 0.0195485167, -0.0105239348, -0.0734208599, 0.0616273917, -0.0455722772, -0.0000038598, -0.0608368404, -0.0138629219, 0.0039623845, -0.0467409603, 0.0289169047, -0.0823723078, 0.0157089997, 0.0234919079, -0.0261905156, 0.0354002416, 0.0680617467, -0.0019984813, 0.023294976, -0.1175333858, -0.0193344187, -0.0369055308, 0.0388260335, 0.0914312452, 0.0109239994, -0.0316210166, 0.0193428267, 0.0471982323, 0.0373176932, 0.0290384162, 0.0391368717, 0.0408574715, -0.0082696052, 0.0578157827, 0.0466460697, 0.0647509247, 0.0175002441, -0.0613504574, -0.0037258386, -0.0312903263, -0.014212776, 0.010784639, -0.0003059134, -0.0229013767, -0.0218400769, -0.0374994203, -0.0686163455, -0.0658806786, -0.0293866955, 0.0045689419, 0.0235041138, 0.0057235989, 0.0050156265, 0.0885936767, 0.0148506388, 0.0126191871, 0.0358286537, -0.0137931779, 0.0121374913, -0.0091696959, 0.0117060868, -0.0775045976, -0.0217052996, -0.0100192102, 0.0450143144, 0.0298387408, 0.0003272435, 0.0990063474, 0.0099696359, -0.0154978866, -0.034660805, -0.0494645461, 0.0199962351, -0.0257122889, 0.0079434402, 0.0100838598, -0.0049896352, -0.0229310766, 0.0348144323, 0.0561722144, -0.0042028697, 0.0101129645, 0.0017202032, -0.0000872861, 0.0021303936, -0.0237981267, 0.0210919529, -0.0158058498, 0.000457298, 0.0454702042, -0.0357782766, -0.0453279354, -0.0093306703, 2.745e-7, 0.0423569307, 0.0331161954, -0.0110245971, 0.038708441, 0.027901331, 0.0439419076, -0.0512710288, 0.0453005023, -0.0283466633, 0.0561634451, 0.000100939, 0.0249600224, 0.0666003972, 0.0342604704, -0.069899343, -0.0293229725, -0.0194247849, 0.030926019, -0.0535227805, 0.0046510152, 0.0332339741, 0.0447834097, -0.0077687562, 0.0142489225, 0.0187343583, -0.0388204567, 0.0760765299, 0.0038763937, -0.0159683786, -0.0064796498, 0.0229914617, 0.0272873621, -0.0205551013, -0.0195574146, -0.0091271102, 0.0130228577, 0.0008028339, 0.0636608303, -0.0137740206, -0.0233006626, 0.0170107502, -0.0270207133, -0.0370710939, -0.0127482247, 0.0691378266, -0.0635511205, -0.0367527194, 0.0312444922, 0.0067650573, 0.0296967905, 0.08246959, -0.0156860165, -0.0312299356, 0.0036842071, 0.0424508005, -0.0201178808, -0.0409849621, -0.0369114876, -0.0419221446, -0.0215250235, 0.0055504567, -0.0270711258, -0.0374827534, -0.0494978987, 0.0102202184, -0.02509786, -0.028984759, 2.106641308e-34, 0.0245243665, -0.0341267213, 0.0271199364, -0.0380960815, 0.0166387465, -0.014081181, -0.0445614085, -0.0071668499, -0.0059809587, 0.0020187504, -0.0328726433 ]
http://arxiv.org/abs/2310.10383v1
http://arxiv.org/pdf/2310.10383v1
Privacy in Large Language Models: Attacks, Defenses and Future Directions
2023-10-16T13:23:54
2023-10-16T13:23:54
Haoran Li, Yulin Chen, Jinglong Luo, Yan Kang, Xiaojin Zhang, Qi Hu, Chunkit Chan, Yangqiu Song
cs.CL
cs.CL, cs.CR
The advancement of large language models (LLMs) has significantly enhanced the ability to effectively tackle various downstream NLP tasks and unify these tasks into generative pipelines. On the one hand, powerful language models, trained on massive textual data, have brought unparalleled accessibility and usability for both models and users. On the other hand, unrestricted access to these models can also introduce potential malicious and unintentional privacy risks. Despite ongoing efforts to address the safety and privacy concerns associated with LLMs, the problem remains unresolved. In this paper, we provide a comprehensive analysis of the current privacy attacks targeting LLMs and categorize them according to the adversary's assumed capabilities to shed light on the potential vulnerabilities present in LLMs. Then, we present a detailed overview of prominent defense strategies that have been developed to counter these privacy attacks. Beyond existing works, we identify upcoming privacy concerns as LLMs evolve. Lastly, we point out several potential avenues for future exploration.
[ 0.0546235107, 0.1267118454, -0.0252334177, 0.0614742227, -0.0382481776, -0.0204371698, 0.0560888462, -0.0016564406, 0.0317782164, -0.0276935864, -0.050606098, -0.0451446883, 0.0120252091, 0.0034733617, 0.0386223234, 0.0146056367, 0.0133145852, -0.0345498733, -0.0132591296, -0.0329539105, -0.0420587249, 0.0110741351, 0.0314075202, 0.0411824845, 0.0112792272, -0.0302426238, 0.0051164343, -0.0272478219, 0.0012231438, -0.0320809074, -0.0155283688, 0.0582734346, 0.0219558179, 0.0851211697, 0.0000016686, -0.0375999846, -0.0266293045, 0.0548830591, -0.0255510937, 0.0261540469, 0.0392043479, -0.0248710122, 0.0173778292, 0.0141531797, -0.0167045929, -0.0026047796, 0.0178077444, 0.0494556613, 0.0425547734, 0.0937804803, -0.0096739894, -0.0186952129, 0.0147559354, -0.0559060201, -0.0060053454, -0.0400307253, 0.0419916548, -0.0648690686, -0.0409055836, 0.0341911465, 0.0335140526, 0.0515201651, -0.0194481965, 0.0228218455, -0.0252255108, 0.0216179173, 0.0019147056, -0.0183058362, 0.0150232138, 0.0434440449, 0.0108911041, -0.0120453183, 0.026527293, 0.0337034464, 0.0369015187, 0.0328032747, -0.0094734263, 0.0830682516, -0.0138410712, 0.0124765392, 0.0276312996, -0.0287498496, 0.0625593066, 0.0208142567, 0.0334301628, 0.0366205797, 0.0300309118, -0.0033267299, -0.0256255101, -0.0308887716, -0.0112937987, -0.0766014755, 0.0358226299, -0.0108462088, 0.0330981314, 0.023353368, -0.0709989071, -0.0288328212, 0.0325881504, -0.0646658838, 0.0136999153, -0.009183025, 0.0363193192, 0.0219068043, 0.0092618642, 0.025830375, -0.035239283, 0.0105750514, 0.0270109531, 0.0081284512, -0.0017481373, -0.0188752096, 0.0143446513, 0.0452987552, -0.0535617843, 0.0134916464, -0.0199798457, 0.0518731065, -0.0243021958, 0.0469170883, -0.0230411962, 0.0139697632, 0.0046029636, -0.0219724644, 0.0007106612, -0.0545703731, 0.0224171448, -0.0068640443, -0.0180326588, -0.042696286, -0.0125230616, -0.0206898022, -0.037246488, -0.0119659146, -0.0264762621, 0.1082464978, 0.0453218706, -0.0474869311, -0.0222993828, -0.1164033338, 0.0029135691, -0.0443142578, -0.0177900679, -0.0387260616, 0.0034311106, -0.0226887185, -0.0060117929, -0.0883241817, 0.0045884736, 0.0180418175, -0.0476972684, 0.0434879512, 0.0057868832, 0.0047583999, 0.002754871, 0.0398467518, 0.0084033422, 0.0234306287, 0.0048131631, 0.0260797665, 0.0643346906, 0.0028855528, 0.0356324017, 0.0278273765, 0.027050171, 0.0169814862, -0.0074445824, 0.0257286932, 0.0049673645, -0.0434092246, -0.0253690705, 0.075353317, -0.0004124468, -0.0685394257, 0.1053591743, 0.0838301778, -0.0300617907, 0.0223523621, -0.0372720696, -0.0020314856, 0.000401857, 0.000393896, -0.0795842633, -0.0421348661, -0.0989976302, -0.0594220385, -0.0187697429, 0.0277101193, 0.0067818719, 0.0025785936, 0.0061577088, -0.0530317016, 0.0262914095, 0.0355163701, -0.0013687077, 0.0077310908, 0.0639242306, 0.0430343635, -0.0024415911, -0.0334419794, 0.008291373, -0.0520228036, -0.0071436507, 0.0591648519, 0.0701059178, 0.0000990733, 0.0196018815, -0.0326771736, -0.0451322198, 0.0072439876, 0.0118869878, -0.0027365931, 0.0560409948, 0.011483876, -0.0082624536, -0.0013418199, 0.0377727374, -0.0098831588, 0.0337931141, -0.0146275852, 0.0193186123, -0.0280429907, -0.0124743963, 0.0132219056, -0.0218903795, -0.0488727354, 0.0279774982, 0.0129500572, 0.0149916727, 0.0414489582, -0.0085289339, 0.020207487, 0.0271282941, 0.0262172781, 0.0018985377, -0.0156909674, 0.0114319082, 0.0051431926, -0.0010977879, 0.0073546222, 0.0105466815, 0.0478482991, -0.0081237191, 0.0020088018, 0.000375461, -0.0222322755, 0.0497285537, 0.0016017185, 0.0206697881, -0.0157474019, 0.0414445102, -0.0401768163, 0.0382084884, -0.0442483313, -0.0012958432, -0.0390546285, -0.017487267, 0.0011996382, -0.0408290178, -0.0324696042, 0.02210976, -0.0079706097, -0.0040971427, 0.0105093764, -0.0310143847, -0.0059962166, -0.0109820645, -0.0146911945, 0.0138361873, 0.0010299449, 0.041877538, 0.0038181187, 0.0078495275, -0.0194744878, -0.0306478664, -0.0372846946, -0.02795556, -0.0202874262, 0.0471148081, 0.0198266804, 0.0068162847, -0.0528780445, 0.015314959, -0.0255831499, -0.0033909951, 0.0616649613, -0.0313551538, -0.026044488, -0.0321979709, 0.0369550325, -0.0214009807, 0.0577690154, -0.0136434697, 0.0018792542, -0.0079540908, 0.0031483786, -0.0138679761, 0.0335914157, 0.0121836653, 0.0504732952, 0.0627699494, 0.0059194956, -0.0171601642, -0.0479787216, -0.0080128582, -0.0267867427, -0.055906646, -0.0174567029, 0.0369667634, -0.000146602, 0.0303730182, -0.0633233488, -0.0042407322, 0.0387071669, -0.0102372263, -0.0454911068, 0.0095391516, -0.0258313455, -0.0069536236, 0.0239912886, 0.0245214663, -0.0594048239, 0.0569394343, -0.0448777489, 0.0478312112, -0.0092005571, -0.0388010778, 0.0020421727, 0.0741674379, 0.0202281643, 0.0445129052, 0.057675235, -0.0539318845, 0.003123618, 0.0138344327, 0.0228783507, -0.0382403173, 0.0441695526, -0.0044841841, -0.0235721115, 0.0054650223, -0.0471586026, -0.0521774404, -0.1001997069, 0.0002262413, -0.0006898761, 0.0083932281, -0.0501868352, -0.0146531928, -0.0336521231, 0.0240766443, -0.0312873684, -0.0063227247, 0.0012525734, -0.0204287712, 0.0267511904, 0.0083494596, -0.0398418754, 0.0177297685, -0.0143583762, -0.003156736, 0.091835916, 0.0361474492, 0.0356778726, 0.0427457541, -0.0296076033, 0.039950721, -0.0111576458, -0.0208439175, 0.0243298821, 0.0320237242, -0.0370516255, 0.0024995068, 0.0737069994, 0.0125154201, -0.0439817831, 0.0056845895, 0.0623954944, -0.0046671899, -0.0096667549, -0.0150575284, -0.0910884067, 0.0143549973, 0.0473330058, 0.0476607047, -0.0545763783, -0.0331682563, -0.0308810417, -0.091909647, -0.0160097573, 0.0061724605, 0.0029051795, -0.024510406, -0.0405727513, -0.0010019481, 0.0184854176, 0.019380983, -0.0526325405, -0.0054949448, -0.0278915111, -0.0059614428, -0.0073655047, -0.0434133075, -0.0132404044, -0.0507428534, 0.0568283908, 0.0632793903, 0.0052654496, -0.0094608609, -0.0211474877, 0.0279790424, 0.0332510248, -0.0233699661, 0.0082023144, 0.050570257, -0.0164270438, 0.0040575075, -0.0087205181, 0.0603143573, -0.001023843, -0.0098117488, 0.0007620548, 0.0266886652, -0.0469588079, -0.01446856, -0.0011720672, -0.0281640179, 0.0171113405, 0.0696420893, -0.0265787076, -0.0329301171, 0.0258891508, -0.0595262498, 0.0447348319, 0.0125145847, -0.0051005515, 0.0377578586, 0.0224631708, -0.059333019, -0.0405094475, 0.015738178, -0.0172539391, -0.0266621169, 0.0609459206, 0.0128963795, 0.0370584652, -0.0064105573, -0.016532857, 0.0097064208, -0.0593852811, 0.0221960321, -0.048166696, 0.0015929514, 0.0227988493, 0.0108899735, 0.0001312666, 0.0160242245, -0.0905741826, -0.0862116069, 0.013045622, 0.0100809438, 0.0150654875, 0.0428288691, -0.0469816141, -0.0986614451, 0.062225882, 0.0542534441, -0.0278365556, 0.0102222683, 0.0418025851, -0.0095905699, 0.0011356444, 0.0456316844, -0.0208960809, -0.0390395932, 0.05152281, -0.0393286422, -0.0150998896, -0.057013046, -0.0163126905, 0.0556210726, 0.0376749076, -0.0022024312, 0.0456309319, -0.0323943533, 0.0058127493, -0.0420939364, -0.0121182445, -0.0059529473, -0.0071693114, 0.046120245, 0.0072978563, 0.0342887491, -0.0057432884, 0.0276052579, 0.0363281481, -0.0488104373, 0.0423554778, 0.0232968684, -0.0096559813, 0.0304544792, 0.0211251974, -0.0254086945, 0.0828549713, -0.0013361179, 0.0425621495, -0.0229984429, 0.0195301194, -0.0119244643, -0.022255525, -0.0268553682, 0.0454790555, -0.0439909995, -0.0609349161, -0.0067929961, 0.049096521, -0.0051431037, 0.0163707379, -0.0019913174, -0.0403186642, -0.0030572054, -0.0175653119, -0.0240693744, -0.016968241, -0.0401740111, 0.000367963, -0.0075566447, -0.0243097935, 0.0568461865, 0.0822585747, 0.0306028556, 0.0504348017, -0.0002397757, -0.0573662333, -0.0164108053, -0.0369186364, 0.0134833297, 0.0192339309, -0.0407564454, -0.0130207371, -0.0340863839, -0.07979092, -0.0197683685, -0.0191830136, 0.0096905967, -0.0075314525, -0.0176857524, 0.0166325793, 0.0252018645, -0.0271863714, -0.0887087584, 0.0089142574, -0.0041925237, -0.0362120606, 0.0044990792, -5.086713031e-33, 0.0162169617, -0.0364997759, -0.0512942299, 0.0053424453, 0.0301859714, 0.0139156282, 0.0118045872, -0.002229922, -0.0375591628, -0.0446374677, -0.0391592905, 0.0023893081, -0.0112874154, 0.0551730022, -0.0286897607, -0.0115775401, 0.0484386124, -0.0272426028, -0.003948322, 0.0315081775, 0.0726643205, 0.006124462, 0.0224006996, -0.0634745285, 0.0604941025, 0.0104949325, -0.0456762128, 0.0324882045, -0.0685336888, 0.0536148958, -0.0509074554, 0.0029049614, 0.008131369, -0.0008340796, 0.006572288, 0.0531559624, -0.0232343953, 0.0009100861, -0.0317524113, -0.0042555239, 0.0440057442, -0.0634285584, 0.0362217501, -0.0382053815, -0.024950536, 0.0041632499, -0.0215908755, -0.0198765863, -0.0220451504, -0.0286453515, 0.0177315474, -0.0087296218, 0.0025198979, 0.0252240729, 0.0680757985, -0.0010887053, 0.0310185421, -0.0146833686, -0.0351164229, 0.0177329089, 0.0481681153, 0.0007631896, 0.0569932386, 0.00246504, 0.0406656377, 0.0290911905, 0.0299743041, 0.0083595105, -0.0176481884, -0.0003608757, -0.029167451, 0.0334749743, -0.0015317581, 0.0366700329, -0.0143661117, -0.033582218, -0.0284681097, 0.0082548419, -0.0148355011, -0.0115908179, 0.0706348866, -0.017674515, -0.0717180595, 0.0005108598, -0.0503979102, -0.0293062143, -0.0468804985, 0.0248447955, -0.0101283463, 0.0163010284, -0.0254278407, -0.0120307151, 0.0157697164, -0.0714124814, -0.0567159504, 0.0465686955, 0.0374628492, -0.0246191602, -0.004191638, -0.0077084894, -0.0105971191, -0.0066824621, -0.0004177258, -0.0646163151, 0.0160268471, -0.0050327419, 0.0353898406, 0.0059153875, -0.0692939684, -0.0214937516, -0.0234734323, 0.0636479408, 0.0446902253, 0.029523924, 0.0579179153, -0.0257126708, 0.0073980261, 0.0151259452, 0.0380083658, 0.038925346, -0.0282616261, 0.048703596, -0.0097222989, -0.0201392788, 0.0200290065, -0.0083472542, 0.0158545841, 0.0394592918, 0.1028831899, -0.0039032192, 0.0080048386, -0.0583003238, 2.513e-7, -0.0010172083, 0.0015199488, -0.0057981163, 0.0086689694, 0.0352254249, 0.0731908605, 0.0100667011, 0.0636057258, -0.025834145, 0.0136498008, -0.0287722982, -0.0288699158, 0.0358773954, 0.016660329, -0.048476167, -0.0075469879, -0.0165795702, 0.0113246404, -0.0578393675, -0.0070833205, 0.0338264629, 0.1032390743, 0.0522074476, -0.0205250811, -0.0257056225, -0.0591683649, 0.0222518686, -0.0462193005, -0.0388658606, -0.027312208, 0.0431093574, 0.0738848522, 0.0223399438, -0.029230725, -0.0322531536, 0.0278853942, -0.0837956518, 0.0871850401, 0.0359782577, -0.0201312974, -0.004313489, -0.061091125, -0.0100395363, -0.0358313024, 0.0578218102, 0.0090242447, -0.0625164732, -0.0310706981, 0.0397552773, -0.0771586299, 0.0054933, -0.0228957646, -0.0049224645, 0.001730866, 0.0008117507, -0.0047692047, 0.0226444118, -0.092963025, -0.0315865651, -0.031701792, -0.0264727566, -0.0202175025, 0.0322790928, 0.0224130657, -0.0284267087, -0.0035899701, 0.0315734297, 2.401847888e-34, -0.0379996151, -0.0000449544, -0.0107496446, 0.0162743125, 0.0295267589, 0.0060954774, 0.0134519124, 0.0018539729, -0.0019068199, -0.0783560276, -0.0136344843 ]
http://arxiv.org/abs/2310.10380v1
http://arxiv.org/pdf/2310.10380v1
Contextual Data Augmentation for Task-Oriented Dialog Systems
2023-10-16T13:22:34
2023-10-16T13:22:34
Dustin Axman, Avik Ray, Shubham Garg, Jing Huang
cs.CL
cs.CL
Collection of annotated dialogs for training task-oriented dialog systems have been one of the key bottlenecks in improving current models. While dialog response generation has been widely studied on the agent side, it is not evident if similar generative models can be used to generate a large variety of, and often unexpected, user inputs that real dialog systems encounter in practice. Existing data augmentation techniques such as paraphrase generation do not take the dialog context into consideration. In this paper, we develop a novel dialog augmentation model that generates a user turn, conditioning on full dialog context. Additionally, with a new prompt design for language model, and output re-ranking, the dialogs generated from our model can be directly used to train downstream dialog systems. On common benchmark datasets MultiWoZ and SGD, we show that our dialog augmentation model generates high quality dialogs and improves dialog success rate by as much as $8\%$ over baseline.
[ 0.058832936, 0.0112091266, -0.0003300165, 0.0314229056, 0.0018480495, 0.0000653469, 0.0374743752, -0.0363116562, 0.0170706175, -0.0520535968, -0.0369194187, -0.0099201808, -0.0521095619, 0.0411967486, 0.0326013602, -0.0857149884, 0.0423334055, -0.0177119914, 0.0291348696, 0.0023443266, 0.0175030623, 0.0077945632, -0.0264247097, 0.0729240179, -0.0130172148, -0.0160202011, -0.0353985466, 0.0231679026, 0.0220565964, -0.0143625084, 0.0215429664, 0.0255206991, 0.0366035961, 0.0640934333, 0.0000015621, -0.0470914841, 0.0105102332, -0.0061926767, -0.0701834634, -0.0098830136, 0.0619337, 0.000216022, -0.0093539245, 0.0249335412, -0.0321291313, -0.0279441737, 0.0384154916, 0.0684860125, 0.0883548185, 0.0888217092, -0.0132621229, -0.0058159214, 0.019715026, -0.0315343216, 0.017413957, -0.0520789735, -0.0209380966, 0.0265807584, 0.0177285001, 0.0446606912, 0.0083916476, 0.0205419492, 0.0354306921, -0.0443984307, -0.0015706631, 0.0123221222, 0.0079364777, 0.0017365473, -0.0325181372, 0.093618378, 0.0085840859, 0.0245619323, -0.0027347722, -0.0150569007, 0.0265733656, -0.0255688392, -0.0657695681, 0.0080307741, 0.003632779, -0.007026609, -0.0125766881, 0.0412601419, -0.0186806638, 0.0004703186, -0.0211849492, 0.0292774905, 0.0008920628, -0.0310751982, -0.026563067, 0.0016482207, 0.0133009981, -0.0569305755, 0.0006079734, 0.0026409763, -0.0733267739, 0.0220654588, -0.0442108773, -0.0082739275, 0.0335608721, -0.0173665304, 0.0121726682, 0.0164562576, -0.0129252998, 0.0158925578, 0.0021856432, 0.0449056141, -0.015782658, 0.0194512401, -0.0414575115, -0.0290831514, -0.0414491855, -0.0012228091, -0.0538382344, 0.0167237259, -0.0571778715, -0.03979294, -0.051799871, 0.065483734, 0.0045401328, -0.0040447111, 0.0210815854, 0.0419708453, -0.0640107319, -0.0056244372, -0.0253439676, 0.0140762208, -0.0248251799, 0.0434283316, 0.0541807152, -0.050631769, -0.0032269075, 0.0356227867, 0.0290293042, -0.017060915, -0.0349205695, 0.0582474954, -0.0225637276, -0.0185796414, 0.0037378655, -0.0176138394, -0.0512682907, -0.037255697, -0.0412867852, -0.011210015, 0.0413294062, -0.0205541849, -0.0193522386, 0.0106924055, 0.0221414547, 0.0214052815, 0.0125583746, 0.0495331511, -0.0042338422, -0.0228700526, 0.0230830219, -0.0101605058, -0.0513844788, 0.0543454438, 0.0442047268, 0.0329483338, 0.0303922947, 0.0106667764, 0.0367996059, 0.0107470732, 0.0086728185, 0.0086619752, 0.0664925426, 0.039347101, -0.0444712937, 0.021268189, 0.0331001617, 0.0538012981, -0.0657395348, 0.0058176327, 0.0549956076, 0.0312842913, 0.0194143597, -0.0045929276, 0.0361510701, 0.0436065234, -0.0240985323, -0.0008622808, -0.0238781963, 0.0072896471, 0.0220990684, 0.0443057865, 0.0314217508, 0.0092623504, -0.0263331421, -0.0531722233, 0.0421924777, 0.0019375928, 0.0231837463, 0.0120511185, 0.0175493229, 0.047094252, -0.0740085691, -0.0041921493, -0.008649311, -0.0904213563, -0.0336186849, -0.0432492383, -0.0014918831, 0.0749231726, 0.0442442521, -0.0043120421, -0.0626841933, -0.0423689634, -0.0015940067, 0.0661341846, 0.0357230976, -0.0232170001, 0.0387764387, -0.0584971756, -0.022608852, -0.0094099464, -0.0133828865, 0.0198243372, -0.0130021423, -0.0294868555, 0.0438956283, 0.0150807677, -0.0281947106, -0.0099990219, 0.0068875458, -0.0106373709, 0.0418449827, 0.0130439112, 0.0381101593, 0.0522563308, -0.0044697747, 0.0018574822, 0.0237646084, -0.0083264634, -0.0195133761, 0.0478683859, -0.0861261711, -0.0840053484, 0.0091311214, -0.0263000149, 0.006549974, -0.0066941869, -0.034913376, -0.0803610831, -0.0060471077, -0.0541708097, 0.0267819501, -0.0682866499, 0.0278158598, 0.0415799655, 0.0053712223, -0.0305154901, 0.0420322753, 0.0100519732, -0.0160058439, 0.0554543585, 0.0592579618, 0.0144571858, -0.0801281705, 0.015050984, -0.0203671698, -0.0049130749, 0.0125687737, 0.0329413414, -0.0062082186, -0.0486623272, -0.0169149935, -0.123915568, -0.0178918261, -0.008503099, -0.003752395, 0.0260588136, 0.023852054, 0.0019395112, -0.0395430736, -0.0589388981, -0.0052759037, 0.0647852421, -0.0074746259, 0.0443105139, 0.0317134857, -0.0191931445, -0.073374249, 0.0238778964, 0.0202154946, 0.0043173283, 0.0173799042, 0.0216588732, -0.053120669, 0.0216770656, -0.0057321517, 0.0431852341, -0.025497308, -0.0100056846, 0.0368236899, 0.0106602265, 0.0476301871, 0.0335424952, 0.0517384522, 0.0296848118, -0.0388092808, 0.0010123884, -0.0799751058, 0.0462887175, -0.0281215049, -0.0039638472, -0.0398518741, -0.0256009698, 0.0580793135, 0.0293782465, 0.015921725, 0.0152736185, -0.0405783802, 0.0152721787, 0.034811087, -0.0440653004, 0.0085040443, -0.0310580656, -0.0555257648, 0.0218636058, -0.0210811496, -0.0318324044, 0.0605353974, -0.0419780947, -0.0351208486, -0.0656299442, -0.0213871561, -0.0295980722, 0.0309418701, -0.0073851794, 0.0207328629, 0.0238076951, -0.0345250443, -0.034360081, 0.0032006339, 0.0212433692, -0.0276310239, 0.0549215488, -0.0054558543, -0.0042749741, -0.0226637013, -0.0635516718, -0.0680968314, -0.0276417118, 0.003809507, -0.0169797409, 0.0387228802, -0.0341877528, -0.0121926907, -0.0194541868, 0.007403384, 0.0637631118, -0.0074403002, -0.0082996702, -0.0544242226, 0.0440085903, 0.0723363832, 0.0503600463, -0.0043352148, -0.0187910479, 0.0649355277, 0.0228629354, 0.0640764236, -0.0352275409, -0.0209616926, -0.0629876554, 0.0169929713, -0.0030498106, -0.0041444176, 0.0043197777, 0.0536540672, -0.0315253586, -0.0098274844, 0.1077851132, 0.014807079, -0.0310913064, -0.0117089031, -0.0288212821, 0.016750304, 0.0093122348, 0.0125256777, -0.076961413, -0.0410611182, -0.0134272259, 0.0154854106, -0.0091574471, -0.0076227221, -0.0088510616, -0.0892660543, 0.0565110706, -0.0147239631, -0.0367318653, -0.0221589357, 0.0249646492, -0.0064852377, -0.0045881434, 0.0497313887, 0.004299012, -0.0002672976, 0.0021270295, 0.0247275867, 0.0231787674, -0.0108743059, -0.0022942089, -0.0335970595, 0.0760344118, 0.0512789674, 0.0348448195, 0.0486251451, 0.0036474112, 0.0147241019, -0.0019914354, 0.0145473108, 0.032858707, 0.051885616, -0.0267207436, -0.0132933501, -0.0283588208, 0.0280977283, -0.0173696894, -0.0048062825, 0.0474914834, 0.0218713265, -0.0455590375, 0.0268388502, -0.0136357201, 0.0217518564, 0.0520115532, 0.0671127588, 0.0271486323, -0.0351993144, -0.0423166566, -0.0334248245, 0.0056239255, -0.0925401598, 0.0138767427, -0.0338457674, -0.0025042947, 0.0072157965, -0.0847964808, -0.0829541832, 0.0037030603, 0.0286025964, -0.0096365856, 0.0019855294, -0.0029103803, -0.0039948164, 0.0144065693, -0.0140775451, -0.0308631714, 0.0182928201, -0.0485762171, -0.0289270636, 0.0355521552, -0.0438987166, -0.0145347463, 0.0404348075, -0.0598320328, -0.046901349, -0.0397688448, 0.0630734563, 0.0204139948, 0.0494080484, 0.0056944387, -0.0066126939, 0.0077464152, 0.0192879606, -0.0556671992, -0.039681498, 0.0677058622, 0.0602965467, -0.0128655452, 0.0193061642, -0.0413458124, 0.0267031379, -0.0344740823, 0.039492581, -0.0668110475, -0.079027012, -0.0036482164, -0.0125278328, 0.0151975844, -0.0005721806, -0.0070231245, -0.03244102, 0.060504403, -0.0309120901, -0.0090820855, -0.0586806871, 0.0134960422, -0.0052170069, -0.0377269424, 0.0495625697, 0.0048159845, -0.063095428, 0.054402899, -0.0519636609, -0.0015478097, 0.0257372763, 0.0119724888, 0.0006210458, -0.0159604196, -0.0279596318, 0.0134569416, 0.0192201529, 0.0322381817, 0.0185391996, 0.0818066671, 0.0105138421, -0.0565261096, 0.0108696418, 0.0540171824, -0.0937475264, -0.0007633101, -0.0269629378, 0.0256431121, -0.000561445, 0.0414947234, 0.0800339058, -0.0196290966, 0.0249096323, -0.0068763304, 0.0546470508, 0.0104741352, -0.0411699042, 0.0070465533, 0.0172975771, -0.013535412, 0.0056029968, 0.0672399402, -0.0058333315, 0.0095409034, -0.0156614296, 0.0060735615, -0.0797824413, -0.0498700477, -0.0034799343, 0.0488932878, 0.0011265908, 0.0043895384, -0.0179285407, -0.0311458092, -0.0155553762, 0.0245017204, 0.0090056201, -0.0275872927, 0.0474900827, 0.0210836548, -0.0143104829, -0.03109961, -0.0380886011, 0.0303358622, 0.0045962809, -0.0156128062, -0.0319555998, -4.776596683e-33, -0.0334297679, -0.0068203718, 0.0325795859, -0.0092916833, -0.0237676296, -0.0216151476, -0.0313063525, -0.011120392, -0.0158362053, 0.0004895624, -0.0148011269, 0.0066111325, 0.0210725218, 0.0753341913, -0.0257928669, -0.0064444155, 0.0647372678, -0.0035633889, -0.0029353625, 0.0508701801, 0.046519082, 0.0079384083, 0.0229817312, -0.0747072026, 0.045006413, -0.0425316691, -0.0181772709, 0.0119654033, 0.0244038664, 0.0531442016, -0.019601604, 0.0490103811, 0.0106827701, -0.0701050609, -0.0342114009, 0.04389406, -0.0513515994, 0.0038398686, 0.040293131, 0.0016873098, -0.0501986519, -0.0354967415, -0.0147990864, -0.0258626025, 0.0134886894, 0.0295120887, 0.0049478365, -0.0355321318, -0.012603892, 0.0078854067, -0.0658220127, -0.0023801057, -0.0115513736, -0.0467865728, -0.0251793955, 0.0956198424, 0.0057382355, -0.0135124717, -0.0162639618, 0.0244787131, 0.0386102386, -0.0051557915, 0.0370424129, 0.0593141504, -0.0017578213, 0.0358732603, 0.0363570489, 0.007536727, -0.0443309285, -0.0312094018, -0.0448572934, 0.0386062451, 0.0022232388, 0.0803090036, -0.0101488186, 0.0173890498, -0.008279155, 0.051499676, 0.0580276623, 0.0067879125, 0.0314207748, 0.0063995789, -0.0293467529, -0.000740926, -0.0173123293, -0.0083421301, -0.0108044362, -0.0466048419, 0.049149245, 0.0555485152, -0.0029467097, -0.0217886977, 0.0431370325, -0.0314168371, -0.0068318266, 0.0190772135, -0.0126859294, -0.0057915132, -0.0106438687, -0.0219045691, -0.0192275532, -0.0039720098, 0.0990173146, 0.0426420197, -0.0115068443, 0.0095672309, 0.0251976401, -0.0001465893, -0.0541974641, 0.0215806048, -0.0402620845, 0.0630091652, -0.0528709963, 0.0284804031, -0.0068505723, -0.0095020439, -0.0396485701, 0.0776588321, -0.0239136834, -0.0125109451, -0.0302141812, -0.0351796262, 0.0157646667, 0.0062730061, -0.0418923795, 0.0135767609, 0.0193689708, -0.0045045638, 0.0131802354, -0.0193391349, -0.0038755552, -0.0114657665, 2.192e-7, -0.0010405339, 0.0084104417, 0.0525146127, 0.0103113269, 0.0256156679, 0.0534677953, 0.0276386123, 0.0240258425, 0.0244776923, -0.0067473911, 0.026336601, -0.000763735, 0.0334138386, -0.0173686948, -0.0965943187, -0.0289475471, -0.0594961494, -0.0089473277, -0.0288694799, 0.0000418298, 0.0800499022, 0.103601858, -0.0252743475, -0.0139721669, 0.0045267791, -0.0077289506, 0.0200263783, -0.0369514525, -0.0147240441, 0.0084603885, 0.032327801, -0.0161979813, -0.0039524729, 0.0052416706, 0.0185278896, 0.0257666912, 0.0117822774, 0.0589297488, 0.0055717612, -0.064230971, -0.0216443017, -0.013148983, 0.0255109183, -0.0436021984, 0.0344440788, -0.0444034562, -0.0056722504, -0.0518428795, -0.032545045, 0.010379795, -0.019083634, -0.0375846662, -0.0244352557, 0.0028072139, 0.0126620084, 0.0023811972, 0.0103036826, -0.0760170966, -0.0181783177, -0.0256235339, -0.0547845513, -0.0495095961, -0.0432184525, -0.0124631114, 0.0139342807, -0.0199133772, 0.0103522073, 1.683752624e-34, 0.0449167378, 0.008228411, 0.0223233085, 0.0370718203, 0.0058314423, -0.000982429, -0.0013267187, -0.0079664299, 0.0597209595, -0.0745415911, -0.0457631685 ]
http://arxiv.org/abs/2310.10378v4
http://arxiv.org/pdf/2310.10378v4
Cross-Lingual Consistency of Factual Knowledge in Multilingual Language Models
2023-10-16T13:19:17
2023-11-09T12:04:45
Jirui Qi, Raquel Fernández, Arianna Bisazza
cs.CL
cs.CL, cs.AI, cs.HC, cs.LG
Multilingual large-scale Pretrained Language Models (PLMs) have been shown to store considerable amounts of factual knowledge, but large variations are observed across languages. With the ultimate goal of ensuring that users with different language backgrounds obtain consistent feedback from the same model, we study the cross-lingual consistency (CLC) of factual knowledge in various multilingual PLMs. To this end, we propose a Ranking-based Consistency (RankC) metric to evaluate knowledge consistency across languages independently from accuracy. Using this metric, we conduct an in-depth analysis of the determining factors for CLC, both at model level and at language-pair level. Among other results, we find that increasing model size leads to higher factual probing accuracy in most languages, but does not improve cross-lingual consistency. Finally, we conduct a case study on CLC when new factual associations are inserted in the PLMs via model editing. Results on a small sample of facts inserted in English reveal a clear pattern whereby the new piece of knowledge transfers only to languages with which English has a high RankC score.
[ 0.0242939666, -0.0065057259, -0.0250917841, 0.0507088564, -0.0136553738, 0.0139477951, 0.0089706024, -0.0374397002, 0.0075452831, -0.0421246588, -0.0523488671, -0.0524543859, 0.0261965916, 0.0109989988, 0.0040924442, -0.0120659359, 0.0792499632, -0.0291445721, -0.0133590791, -0.0339040197, 0.0013156757, 0.01405566, 0.0020113681, 0.0024357778, -0.0278594792, -0.0159094688, 0.0013901737, -0.0483460948, 0.0494841412, -0.0009820171, -0.0205260124, 0.030777378, 0.0113475304, 0.0645214245, 0.0000021226, -0.0809072852, -0.0033941071, -0.0044755111, -0.0395336412, 0.0426371954, -0.0160862748, 0.0009445336, -0.0098303426, -0.0222517308, -0.0334452726, -0.0051674373, 0.047070954, 0.0195241198, 0.0430053957, 0.0418159962, -0.0049022958, -0.0163997561, -0.0061338153, -0.0177744627, -0.0274827164, -0.0264918674, 0.0245745238, 0.0638309196, -0.0712599233, 0.0306132287, -0.0308820736, 0.0501999855, 0.0308085866, -0.0086700693, -0.0107266763, 0.0363267213, -0.00720187, -0.0316791087, 0.0364136063, 0.0480729602, 0.0026107493, -0.0223978423, -0.0321918242, 0.0006977391, -0.0113150142, 0.005714945, -0.0218703579, 0.0308895055, -0.0201125424, 0.0185219608, 0.0411633998, -0.0204116032, 0.0353133157, 0.0277833585, -0.0432082936, 0.0699693412, 0.0139210625, -0.05309017, 0.0047646668, 0.0352647379, 0.006573604, -0.0923688263, 0.0043060957, -0.0065247607, -0.0368452594, 0.034701433, -0.0164382886, 0.0170273595, 0.0299480464, -0.1002093107, 0.0266766176, 0.0371748842, -0.0562606081, 0.0624405332, -0.0137134735, 0.0816481188, 0.0047918828, 0.0408456214, -0.0173926018, -0.0166946147, -0.0271910001, -0.0087286131, 0.0277002938, -0.0001420821, 0.0217506662, 0.0201116614, -0.0687032565, 0.0033089928, -0.00516285, 0.0577594452, 0.0067106616, -0.0463193022, -0.0277171116, -0.0149067482, -0.0540010743, 0.0974941179, -0.038217973, 0.0140825091, -0.0408740267, -0.0444538966, 0.0150933256, -0.0137141058, -0.0452972688, -0.017070068, 0.0171437263, -0.0135171125, -0.0298026595, -0.0011191048, -0.0242005289, -0.0236462746, 0.0000436006, -0.1051557437, -0.0297655798, -0.056319084, 0.0577689633, 0.0278321672, 0.0035728971, -0.0397402905, -0.0015877913, 0.0088282693, -0.0361023881, 0.0279590134, 0.0052762567, 0.0356693715, 0.0155992396, 0.0176437944, -0.0056218994, 0.0646280497, -0.0032317145, 0.000482402, 0.0716447458, -0.0135951629, -0.0472071506, 0.0233430956, 0.0027309754, -0.0068839551, -0.0023019575, 0.0170892347, 0.0301624555, 0.0095868027, 0.0215593595, 0.0255581401, -0.0281621516, -0.018362077, 0.0863181949, 0.0062673902, 0.0324357525, 0.0448699147, 0.0457865037, -0.0381324999, 0.0370723493, 0.0382883213, -0.0344526283, 0.0076988074, -0.0171724893, 0.0286384355, 0.0082109468, 0.0954770744, -0.0300436597, -0.0475079902, -0.0119464807, -0.0037074352, -0.0010956472, 0.0021013131, 0.0590246804, -0.0028965988, 0.0251297988, 0.0674250722, 0.0450864993, -0.0759204552, 0.0165424608, -0.0124976132, 0.0128550772, 0.068429932, -0.0108693317, -0.0062292586, -0.0326690339, 0.0029535114, 0.0094799707, 0.0271054972, 0.0791843459, -0.0174742844, 0.0302229971, -0.0378022157, -0.0291829966, -0.0219512116, -0.0119649991, 0.0535201542, 0.0032988309, 0.0624324158, -0.001163116, -0.0516211092, -0.0342573971, 0.0132325757, -0.0668686777, 0.0236497428, -0.0269620195, 0.0076003349, -0.0026803482, 0.0467727259, -0.0193764754, -0.0182365943, 0.0272922851, 0.0056125689, 0.0253457036, 0.0381114446, -0.031240901, -0.0029112981, 0.0630369037, 0.0022319034, -0.0504219197, 0.0067922072, -0.0099521363, -0.0174537227, 0.0012850566, 0.0056754067, 0.0300896559, -0.0605718195, 0.0176662635, -0.0280783791, -0.0123157557, 0.0070178523, 0.0691020861, 0.0018238289, 0.0386843085, 0.0297997203, -0.0259007048, 0.0404416099, -0.0239263009, -0.0376147926, 0.0558469109, 0.0235870462, 0.0025941373, 0.0409026779, -0.0115461694, -0.0352304317, 0.020135697, -0.1033839658, -0.0128291035, -0.0288176555, 0.0110774823, 0.0224057995, -0.0091120191, -0.0094313705, -0.0321749374, -0.0288237035, -0.0244768988, 0.0149730761, 0.0534851141, 0.0206689108, 0.0263077971, 0.0355824083, -0.0245624389, 0.0053084581, 0.0158082657, 0.0292040166, 0.031967245, -0.0051011038, -0.076528497, 0.0389823467, -0.1225540414, 0.0197938029, -0.0241207257, -0.032045953, 0.0137336543, 0.0358198807, 0.0448786244, 0.0618372336, -0.0112387221, 0.0238895398, 0.1111884341, -0.0244549382, -0.0461467691, -0.0040545524, -0.0028267959, -0.016604783, -0.0220008977, -0.0093278177, 0.0080106799, 0.0635489151, 0.0061329715, -0.0326642506, -0.0240895376, -0.0161958523, -0.0564543009, -0.033240471, -0.0443917252, -0.0074875266, -0.0034103103, 0.0620853379, -0.0103039639, -0.040523842, 0.0912380293, -0.0413565896, 0.0059043863, -0.046134118, -0.0119277602, -0.0035640604, 0.0383690484, -0.0072948779, 0.0645843819, -0.0391069911, 0.0126774414, -0.066291824, -0.0062386598, 0.0590444244, -0.0400963202, 0.0336939096, -0.044697579, -0.0025807826, 0.0088667506, -0.0473564826, -0.0435532071, -0.0335993096, -0.0112699065, -0.0038317053, -0.0311004985, -0.0246810783, 0.0066864947, -0.0152131068, 0.0780907497, 0.0153222913, 0.002340656, -0.0066706045, 0.0146809565, -0.0403880179, 0.0466741323, 0.0250848662, 0.0353004411, -0.0483203009, 0.0075931181, 0.0390023999, -0.0198292192, -0.0408231542, 0.0072088088, -0.0087985797, 0.0110369939, -0.0277878307, -0.0568730719, -0.0094142389, 0.0345220305, -0.0453764759, 0.0016134295, 0.0959617645, 0.0307125989, -0.028106438, -0.0157985669, -0.0456986614, 0.0140902307, 0.0330536254, 0.0416554622, -0.0918123201, 0.0103470571, -0.0148181934, -0.0281242952, -0.0066347872, -0.0146276634, -0.0513567477, -0.1151853055, -0.0246183872, -0.0006977141, -0.0309052393, -0.0364936665, -0.0275585782, -0.0141936429, 0.0021531482, 0.0475309603, 0.0020412302, -0.0002296515, -0.0104410602, 0.0107228635, -0.0272660684, -0.0857280865, 0.0388576612, -0.0443856902, 0.0262994021, 0.0346573368, 0.0280175209, -0.0262157321, -0.0755926371, 0.0053028734, 0.0195251647, -0.0055875466, -0.0168080851, 0.0123360083, -0.0251216125, -0.0198042337, -0.0135704381, -0.0429053456, 0.0579483472, -0.0083510941, -0.0041844849, 0.0672106445, 0.0147969862, 0.0061797961, 0.0338499919, -0.0091227163, -0.0110677555, 0.0804758891, 0.0070785601, -0.0128867868, 0.0287895929, -0.0390643738, 0.0126667283, 0.0188820958, -0.0294643715, 0.0486876145, -0.0598884858, -0.0072807819, -0.0517784581, -0.0502916425, 0.0150869712, 0.0010669354, 0.0228215661, 0.0141263939, 0.0360006541, -0.0144615369, -0.0013080324, 0.0370299853, -0.0172377825, 0.0210007504, -0.0312851109, -0.0078260535, 0.0363047421, -0.0490006395, -0.0100213941, -0.0404639877, -0.0149279283, -0.0619379319, 0.030488966, 0.0535928532, 0.0200832244, 0.065431945, 0.0177843869, -0.0494626798, 0.0089709135, -0.0232366566, -0.0337839574, 0.0292727295, 0.031601809, -0.0101417778, -0.0076453416, 0.0313614197, -0.035384573, -0.0109169185, -0.0084983464, 0.0225141235, -0.0433366187, -0.0532662459, 0.0156679973, 0.0197340585, 0.0518463701, -0.0072028157, -0.0045742486, -0.0688005388, 0.0352074951, -0.0583449788, -0.0225999244, -0.0020324455, 0.000711408, 0.01682657, 0.0033732383, -0.0005053462, 0.0112302126, -0.0197681841, -0.0033954836, -0.0278928578, -0.0383820459, -0.0009956945, 0.0201056711, 0.0243870821, 0.0206512474, -0.0389393829, 0.0072328607, 0.0252365842, 0.038726043, -0.0166799352, 0.0706261992, 0.0290800929, -0.015915947, 0.0119103091, 0.0211058073, -0.0377333872, -0.0283759329, 0.0166535378, -0.0056865294, 0.0697192922, -0.0147442156, 0.0787766576, -0.0325630084, -0.0093886852, -0.0149995135, 0.0308069251, 0.0251242258, -0.029772006, 0.0171944518, -0.0025416664, -0.0222498327, 0.04205212, 0.0772190318, -0.0130852973, 0.0272983722, -0.0456802398, -0.0393810458, -0.0004982864, -0.0205414258, -0.010143768, -0.0112577435, -0.0407942869, -0.0006716012, -0.0997998565, -0.0718700364, 0.0009627877, 0.0389603674, -0.011701989, -0.007203558, 0.0105348211, 0.1082709208, -0.0103787417, -0.0001907601, -0.031463787, -0.0104388697, 0.0115007255, 0.0270732287, 0.0162219554, -6.529788834e-33, -0.0334452875, -0.0022154301, 0.0250292905, -0.0106394626, -0.0302199237, 0.0314674601, -0.0233976282, 0.0182922259, -0.0381014645, 0.0525296628, -0.0022678042, 0.0007595341, 0.0115570044, -0.0383878537, 0.0181810111, -0.0261709727, 0.0498689972, 0.0237215161, -0.0347259045, -0.0014569402, 0.0658551306, -0.0108691379, 0.1165272519, -0.0368886143, 0.076242134, 0.0098173153, 0.011510049, 0.0242759418, -0.0477517992, 0.074158825, 0.0013393261, 0.0480451882, 0.0318773948, -0.0407486334, -0.0305233337, -0.0248416811, -0.0379413106, -0.0811991543, 0.076021634, 0.0380738936, -0.0037855499, 0.0178598594, 0.0192001313, -0.0257328115, -0.0320656709, 0.0006707392, 0.0205276199, -0.0097032767, 0.0124264425, -0.0026404767, -0.035818439, 0.0026803138, 0.0083587784, 0.00936935, 0.0189058632, 0.0266337283, 0.0064125448, -0.041317381, -0.0790555701, 0.0468543023, 0.0101767005, 0.017837109, 0.1097519919, -0.0004706854, -0.0050739786, 0.0670623109, -0.009032716, 0.0134636713, -0.0191506147, 0.0084002987, 0.0335640982, 0.0027979342, 0.0360844471, 0.1068355516, -0.0172175337, 0.0112263616, -0.0758558065, 0.0134348143, 0.0270279497, 0.0402337424, -0.0110276313, -0.0187220462, -0.023137683, -0.0441904552, -0.0525801592, 0.0267549884, -0.0269727875, -0.0369500555, 0.0359259956, -0.0180610865, 0.0046422109, 0.0030877725, 0.0367806181, -0.0127868969, -0.0469044968, 0.0217813402, -0.0287132524, 0.0042069042, 0.013568446, 0.0397704169, -0.0739116892, 0.0043333336, -0.0324700177, -0.0060602482, 0.0025756508, 0.0166386701, 0.034559451, 0.0189415049, -0.0315884575, 0.0283394288, -0.0075680851, -0.0380865484, 0.0060776747, 0.0026395074, 0.0365652144, 0.013333967, -0.0471504182, 0.0512576774, 0.0502335243, 0.0127339819, -0.0694388151, -0.0444772467, 0.0102546215, 0.060703069, -0.0173071381, 0.0000264447, -0.0457994752, 0.0148956003, 0.0418767482, -0.0378686264, -0.0182060506, 0.0026120364, 2.791e-7, 0.0310101323, 0.0462958962, -0.0318407007, 0.0015454505, -0.0119232535, 0.0347559378, -0.0529547706, 0.0067707645, 0.0348295644, -0.04100734, -0.0214958508, 0.0463135466, 0.0193936285, 0.0564323328, -0.0600509606, -0.0090088053, -0.0774040148, 0.0044155209, -0.0587972961, 0.0091220103, 0.0042025228, 0.0134607581, 0.0226793848, 0.0066629564, -0.0108590424, -0.0132660698, 0.0640098229, -0.0128893377, -0.0416596904, -0.0121611673, 0.0586680993, 0.0046144319, 0.0070964815, 0.0252786167, -0.034021385, 0.0176911857, 0.0221106932, 0.0293256957, -0.0118325343, 0.0294044763, -0.0182706639, -0.0060105943, -0.0301397387, -0.0997915268, 0.0551394485, -0.0054360777, -0.0051876283, -0.0167266317, 0.0169079471, -0.0042254399, 0.0661022365, -0.0243874062, -0.0448904634, 0.0206970256, 0.0220154673, 0.0299015492, -0.0302752275, -0.0067569599, -0.0324667916, -0.0006493205, 0.0011406116, -0.0886078253, 0.0043092784, -0.0523317866, 0.0104196109, -0.0620864443, 0.0123936133, 2.325251345e-34, 0.016401032, -0.0051135775, 0.0580195338, -0.0214132201, 0.0302019417, -0.0194081049, -0.0169930495, 0.0141090211, -0.0055076801, -0.0456884839, -0.012001873 ]
http://arxiv.org/abs/2310.10358v1
http://arxiv.org/pdf/2310.10358v1
Tabular Representation, Noisy Operators, and Impacts on Table Structure Understanding Tasks in LLMs
2023-10-16T12:51:24
2023-10-16T12:51:24
Ananya Singha, José Cambronero, Sumit Gulwani, Vu Le, Chris Parnin
cs.CL
cs.CL, cs.AI
Large language models (LLMs) are increasingly applied for tabular tasks using in-context learning. The prompt representation for a table may play a role in the LLMs ability to process the table. Inspired by prior work, we generate a collection of self-supervised structural tasks (e.g. navigate to a cell and row; transpose the table) and evaluate the performance differences when using 8 formats. In contrast to past work, we introduce 8 noise operations inspired by real-world messy data and adversarial inputs, and show that such operations can impact LLM performance across formats for different structural understanding tasks.
[ -0.012047003, 0.0657626763, -0.0158636775, 0.0340185016, -0.01407771, 0.0184744559, 0.0000327241, 0.032199949, 0.001039162, -0.0185094047, -0.0797512308, -0.0534909144, -0.007558912, 0.0214728881, 0.0535220094, 0.0120549006, 0.0343058631, -0.0554189682, -0.0361132957, 0.0087491106, -0.042013187, -0.0448405445, -0.0072712312, -0.0139749702, 0.0175103806, -0.0136728138, -0.0401716568, 0.011559003, -0.0650613233, -0.0078026783, -0.0132538574, 0.083285667, 0.016587859, 0.0450757779, 0.0000019433, 0.0281034634, -0.0249904003, -0.0225662086, -0.0219014082, 0.0329858772, 0.036576353, -0.0590914637, -0.0361641683, -0.0192365292, -0.0278998092, -0.036666967, 0.0062350151, 0.0391896702, 0.0222915411, 0.0615112484, 0.0029343958, -0.0178381521, 0.0150902476, -0.0292213317, 0.0908635706, -0.03545307, 0.0147036957, -0.0046864515, -0.0303361919, 0.0148037868, 0.0036078163, 0.0299669914, 0.0370074771, -0.0179096684, 0.0055433484, 0.0293828622, 0.0033429824, 0.0242529213, -0.0080978898, 0.0995388478, -0.0274919067, 0.0048574414, 0.0173899047, 0.0057156202, 0.030352449, -0.0362490714, -0.0702653602, 0.0102833062, 0.0054385788, -0.0171504337, -0.0132108182, -0.0137836514, 0.0408888049, -0.0121825607, -0.0330749899, 0.02809822, -0.0287413392, -0.0456372947, 0.0086329244, -0.019937804, 0.0244228747, -0.0469664447, 0.0088984864, 0.0424503721, -0.0471886285, 0.0194541309, -0.022977598, -0.0646975785, 0.0092504742, -0.0779289082, 0.0700911283, 0.0424197242, -0.0092574786, 0.0130358962, -0.0705159381, 0.0253580753, -0.0510279611, 0.0626969486, -0.0305302795, 0.0130395982, 0.0062196837, 0.0131733641, -0.0083254576, 0.0268957242, -0.0814621449, -0.003025006, 0.0059734527, 0.0315916799, 0.0023917691, 0.0582423173, -0.0077869608, 0.002843953, -0.013746094, -0.0114029478, -0.0143954847, -0.0249697361, 0.0028081075, -0.0282713976, -0.0102233579, -0.0455090366, -0.0291121658, 0.0006070554, -0.0186036639, -0.0379946977, 0.0261666831, 0.1193440855, -0.0402772985, 0.0081649441, -0.063174814, -0.0066235578, -0.0418944806, -0.0443255864, 0.0304795131, -0.0416231118, 0.0338661633, 0.0042321128, -0.0073765097, -0.064003475, 0.0137611441, 0.040141996, -0.0056919451, 0.0844496787, 0.0422075614, 0.0027707943, -0.0061745527, -0.0133283269, -0.0044761728, 0.0520881563, 0.0149389794, 0.0482145585, -0.0405261591, -0.0321449526, -0.0099929795, 0.0593031794, 0.0314105935, -0.0061833421, -0.0583796315, 0.0275804531, 0.0476096235, 0.0451334566, 0.0327360332, 0.0437608697, -0.0194777977, 0.00991356, 0.0689426064, 0.01727001, 0.0124284746, 0.0768665522, -0.0076638232, -0.0327941887, 0.0246189628, 0.0539431758, -0.0529039353, 0.0304855797, -0.0202646274, -0.0148327602, 0.0248554293, 0.0053190258, -0.0218085255, -0.0695701987, 0.0182386674, 0.0048189354, 0.0008425297, -0.0048959614, 0.0600786135, 0.0128994565, -0.0734861866, -0.0248229802, -0.0072433669, -0.0567071661, -0.0377565473, -0.0325777382, 0.0246013086, 0.061507117, 0.0422449149, -0.0550401211, -0.0119051654, -0.0210407116, 0.0075834636, 0.0012265972, 0.0382678583, -0.0175783355, 0.0006051611, -0.030866554, -0.0142256925, 0.0154067753, 0.0186985917, 0.002116607, -0.0017331705, -0.0397137143, 0.0007031551, -0.0819252506, -0.0398070067, 0.0388725698, 0.0441345982, -0.0463288873, 0.0228908323, 0.0193791538, 0.0020610366, 0.0086638881, 0.0042489246, 0.0176236108, 0.0471742302, -0.0209491253, 0.0413312353, -0.0318573602, -0.0687036365, 0.0054257954, 0.0237407833, 0.0625879019, -0.0689356327, -0.028827725, -0.0274107642, -0.0078159217, 0.0259172525, -0.0004976492, -0.0457293876, -0.0148071423, 0.0220232047, 0.0228623524, 0.0310188662, -0.0359407701, 0.0855127573, -0.0241779145, 0.0156416744, 0.0172369629, -0.0359713212, 0.0018071524, -0.0213978905, 0.0190679915, 0.0028376107, -0.0140552567, 0.0111557581, -0.0106792049, 0.0033295383, -0.0366539024, -0.0420866311, -0.0492601246, 0.0228044484, -0.04664094, 0.0271391645, 0.0436075255, -0.0021689439, 0.0038101536, -0.0298227705, -0.0454605743, 0.0200894736, -0.012164765, 0.005211262, 0.0548873283, -0.009192504, -0.0185364354, -0.0289553255, -0.0440675467, -0.0311457273, 0.0314802453, -0.023508938, -0.0697464421, -0.0191476066, 0.0117727835, 0.0559348054, 0.0393068045, -0.0142574012, -0.0052560926, 0.0120012453, -0.0382509269, 0.0676317811, 0.0925787017, -0.040763732, 0.0866869539, 0.0426106118, -0.0061961794, -0.0402131788, 0.0170779154, 0.035881605, 0.0192281492, -0.0438327305, -0.0442734472, 0.0336474143, 0.0637639314, -0.0224003345, 0.0368655026, -0.0001248724, -0.0093478337, 0.0134501662, -0.0324354731, -0.0711736977, 0.0456207134, -0.0165613517, 0.0307287443, -0.0210712515, -0.000936167, -0.0045061531, -0.0383453071, -0.0018075266, 0.0259151831, -0.0144979581, -0.0213098172, 0.0919708461, 0.0298430938, -0.0039299228, -0.0005927222, -0.0531348214, -0.0700413212, -0.0019464757, 0.0181681756, -0.0281722266, 0.1037252918, -0.0512919575, 0.0084163789, -0.0275414027, -0.024031017, -0.0316201188, -0.0424026214, 0.0235850569, 0.0158589277, 0.038271144, -0.0200783331, -0.0633376539, -0.0105819777, 0.0437666923, 0.0356761068, -0.0170867704, -0.0187227689, -0.0458164774, 0.0510403179, -0.0068364264, 0.0105395922, -0.0228861086, -0.0490076803, 0.0189233627, 0.0622772574, -0.0142482324, -0.0081452439, -0.0157380123, 0.0127206165, 0.0255249422, -0.0064651491, -0.0257905871, 0.0510967113, -0.0112227295, -0.0656395704, -0.0069194846, 0.0775454938, 0.0213744659, -0.0181936566, -0.0204766411, -0.001635556, 0.030045826, 0.0210198965, 0.0562370047, -0.0692019835, -0.0026086019, 0.007596842, -0.0159433335, 0.0305107664, -0.0502954163, -0.0038419075, -0.0851757675, 0.0547122993, 0.0014356551, -0.0592473932, -0.0821406245, 0.0012558013, -0.003449325, -0.0248747543, 0.0807041973, 0.0579060577, -0.0330873094, 0.015572005, 0.0395515934, -0.0022475354, -0.0274219494, -0.0566677488, -0.0159673449, 0.0405611321, 0.0527799502, 0.0037534698, -0.0490655862, -0.0371650271, 0.0612590834, 0.0525559075, 0.0203822721, -0.0174374022, 0.0555389076, 0.027793454, -0.0082324818, -0.0204789545, -0.0085009802, -0.0354901552, -0.0009385343, 0.0080706701, 0.030396184, -0.0475583076, 0.0039547398, 0.0438450985, -0.0415765718, 0.0117387446, 0.0634233356, 0.0587267652, -0.00510622, -0.0538128503, -0.0451405123, -0.0284636263, -0.0471894033, 0.009344859, 0.0570360348, 0.0006666474, -0.0308599621, -0.0461727753, -0.0211652592, 0.065081358, 0.0241848994, -0.0082321903, 0.0465786755, -0.0466294475, -0.0276263542, -0.0249293428, -0.0411914252, -0.0466568321, 0.023371242, -0.0251489654, -0.0327277482, 0.0039580478, -0.0287808888, 0.004485839, 0.0078572473, -0.0764323995, -0.0341113284, 0.0163419545, 0.0131514156, 0.0176388193, 0.0294230543, 0.0063367938, -0.013909854, -0.0085590566, 0.0150456838, -0.0703472942, -0.0155450162, 0.0404009484, -0.0240162071, 0.0114006009, 0.0311298631, -0.0135097895, -0.0259341523, 0.0259328075, 0.0078115729, -0.0221912134, 0.0129714683, 0.0434839427, 0.0071387445, 0.0395930558, 0.0328689814, -0.042298384, 0.010089756, 0.0322481804, -0.0396703854, -0.0285535753, -0.0032451851, -0.0301532038, 0.0437336378, 0.0347950235, -0.010325918, 0.0478884764, 0.0172977727, 0.0460637994, -0.0290060546, 0.01568597, 0.0132759856, -0.0265481677, 0.0362318605, 0.0154506853, -0.0004649092, 0.0519306958, 0.0549750663, 0.0366138518, 0.0093547069, -0.0133686895, 0.0129571306, -0.0076939845, -0.0365768895, 0.0444639288, -0.0584107749, -0.0537448339, -0.0147331208, 0.0274480339, 0.0118322587, -0.0036584295, 0.0025725246, -0.0328956433, 0.0023260566, 0.0216594525, -0.0083346404, 0.0425176322, 0.0278782304, 0.0395104401, 0.0031625833, -0.0041129775, -0.0484082252, 0.0977244973, 0.0434151143, 0.0116887772, 0.0325070918, -0.007562214, -0.0531705357, -0.000560075, 0.0037813447, 0.0066408073, -0.039329689, -0.0315178297, 0.0069669918, -0.0328065343, 0.0047839503, 0.0469952896, -0.0216076635, -0.0404764749, 0.015467328, 0.0672219694, 0.0324985869, 0.0278839953, -0.0305669829, 0.0276753455, 0.0377230868, -0.0720146373, -0.0263999961, -6.127215447e-33, -0.0411955677, -0.0456530191, 0.0131341508, -0.0472057946, 0.0199246351, -0.0309383962, -0.0461308099, 0.0131920958, 0.014325873, -0.0152102709, -0.0435566753, 0.0425059274, 0.0200979225, -0.0013087007, 0.0212110095, -0.068948023, 0.0506221391, -0.0454095043, 0.0181295499, -0.0064366753, -0.0364658087, 0.0297684278, 0.0209025797, -0.0419601686, 0.0500927418, 0.0128536737, -0.0097054979, -0.0243385453, -0.0092495084, 0.0035292818, -0.0280541275, 0.0309515651, 0.0115123112, -0.0299863219, -0.0486506037, 0.0104949679, -0.1255992949, 0.0036311396, -0.0045781275, 0.0530239157, -0.0388790593, -0.0331749693, 0.0499856509, -0.0247115195, -0.0193774514, -0.0124518517, 0.0020127117, -0.0327819362, -0.0351057425, 0.0241564289, -0.0178147238, 0.0164945703, -0.0106866714, -0.0032088542, 0.0901500434, 0.0000064225, 0.0254220422, -0.0273446329, -0.0513366424, -0.0027221825, 0.009904244, 0.0361428633, 0.0519180447, 0.0314363502, 0.0200221203, 0.0201169997, 0.0619448014, 0.0303022247, -0.0523005165, -0.0288110431, -0.0149945598, 0.0499195121, 0.0388611555, 0.0123371063, 0.0457322411, 0.0095781302, -0.0794620588, 0.0664233789, 0.0034863995, 0.0134944618, -0.0153683387, 0.0135989413, -0.0104834409, -0.0079302713, 0.000217192, -0.0205084439, -0.028035149, -0.0016831274, -0.0093854396, -0.0279529411, 0.0621862821, -0.0353693031, 0.0080488306, -0.0002934166, -0.0177210625, 0.0175231844, 0.0008644291, 0.020893937, 0.0118577145, -0.0190914292, -0.009602692, -0.0311969835, 0.0004656953, 0.001673464, 0.0279226676, 0.0355360508, 0.0502441376, 0.0137732821, -0.0725609809, -0.0374418013, -0.0403787903, 0.0536236539, 0.0605270416, 0.0306808539, 0.0285604969, -0.0285604224, -0.015574947, 0.0425401814, 0.0000543804, -0.0057885828, 0.0023978685, 0.0232711658, -0.0283413231, 0.0044749686, -0.0072874567, -0.0282203332, -0.0382936373, 0.0200740118, 0.0703344122, -0.0428048596, 0.0056840759, -0.0063966596, 2.469e-7, 0.0665590465, 0.0461574718, 0.0370353051, 0.0303007662, 0.0194548629, 0.0269092713, -0.025877919, -0.0061620325, -0.0634924769, -0.0503508709, 0.0411507785, 0.0047729751, 0.0665778667, 0.0268872678, -0.0292948801, -0.0104622226, -0.0725114644, 0.0176491439, -0.0330742486, 0.0255447365, 0.0337676816, 0.087028116, -0.0889745131, -0.0073222765, 0.0365566798, -0.0369493775, 0.0494369753, -0.0787899345, 0.0520753451, -0.0021496415, 0.0180027597, -0.0242171139, -0.019397838, 0.0515714362, -0.0049375505, -0.0218772795, 0.0224860888, 0.0470163114, 0.0213345233, 0.0248635709, 0.0037114695, -0.0515102111, 0.0123752011, -0.0488848239, 0.0791846663, -0.0389592014, -0.0078799063, 0.0566585287, 0.0239558276, 0.012161592, 0.013893228, 0.0279777963, -0.0054899156, -0.0014991332, 0.0297685079, -0.0165171102, 0.0001097626, -0.0335045308, -0.0390119255, 0.0160295088, -0.0322948769, -0.0069716829, -0.0407757722, -0.0221481156, -0.0004587802, -0.0166143477, -0.0388096496, 2.37750689e-34, 0.0335710123, 0.0075201406, 0.0361188613, 0.0406628288, 0.0313439034, -0.019506041, 0.003474226, 0.0065936926, 0.0078353425, -0.0936561748, -0.0200365614 ]
http://arxiv.org/abs/2310.10348v2
http://arxiv.org/pdf/2310.10348v2
Attribution Patching Outperforms Automated Circuit Discovery
2023-10-16T12:34:43
2023-11-20T11:31:16
Aaquib Syed, Can Rager, Arthur Conmy
cs.LG
cs.LG, cs.AI, cs.CL
Automated interpretability research has recently attracted attention as a potential research direction that could scale explanations of neural network behavior to large models. Existing automated circuit discovery work applies activation patching to identify subnetworks responsible for solving specific tasks (circuits). In this work, we show that a simple method based on attribution patching outperforms all existing methods while requiring just two forward passes and a backward pass. We apply a linear approximation to activation patching to estimate the importance of each edge in the computational subgraph. Using this approximation, we prune the least important edges of the network. We survey the performance and limitations of this method, finding that averaged over all tasks our method has greater AUC from circuit recovery than other methods.
[ -0.0579157099, 0.0734559, -0.0305049643, 0.047037106, -0.0266921055, -0.0193006899, 0.0483812056, -0.0249459445, -0.005410817, 0.034507025, 0.0060552303, 0.0153510422, 0.0020319878, 0.0383865125, 0.0337439142, 0.049866423, 0.0096636685, 0.0060499781, 0.0063630501, -0.0130327167, -0.0566797294, -0.0060790987, 0.0158744138, 0.0628398061, 0.0240463801, -0.0083573377, 0.0130905863, 0.0158026777, 0.061031457, 0.0347861797, -0.0264469646, 0.0183575079, -0.0246156156, 0.0168499928, 0.0000022551, 0.0137406494, -0.0290476158, 0.0146084949, -0.0709402338, 0.0667986795, -0.0370999128, 0.0331128091, 0.0047480725, -0.0202598292, 0.0017105583, 0.0117108393, 0.0796400383, 0.0388178155, 0.0056470358, 0.0004644193, -0.0059191026, 0.0048819981, 0.003579794, -0.0181109011, 0.0304744635, -0.0362692103, -0.0077951769, -0.0181641653, -0.0257733632, -0.0982883722, -0.0288583171, 0.0455404073, 0.0493647195, -0.0174345579, 0.0502564088, -0.0079094023, -0.0017430042, 0.0325308293, 0.012560823, 0.053025309, -0.0346073918, -0.0004653625, -0.0211433023, -0.0088944323, -0.0046483683, -0.0005028215, -0.0223984383, -0.0438645743, -0.0146465302, 0.0063375174, -0.0362361819, -0.004538164, 0.0731879994, -0.0063166227, -0.0163292345, 0.052847717, -0.0347247608, 0.0454798117, -0.0031651359, -0.0013052475, -0.0430001095, 0.0139520317, 0.0428691283, -0.0224022549, 0.0125972098, -0.0311431047, 0.0059377011, 0.0128281265, -0.0781321898, 0.0495842323, 0.0959563032, 0.0133819245, -0.0088377679, -0.0144650424, -0.0486731641, 0.0410957821, -0.0696011782, 0.0502757095, 0.0080027105, 0.0314816274, -0.0716016665, -0.0236892644, 0.0089078853, 0.0678189024, -0.003733956, -0.0097327884, -0.0418561921, 0.0053698649, -0.0882298276, -0.0471274368, -0.0074900216, 0.0430768915, -0.0005750062, 0.0118784411, 0.0156928506, 0.020183377, -0.0095821982, 0.0122042103, -0.0160259642, 0.0034717955, -0.0447277613, -0.001404952, 0.0227374472, -0.0180557072, 0.0018686794, 0.0679095387, 0.0128969708, -0.0409769826, -0.0749863237, -0.0752388388, -0.0401517563, -0.0053579644, 0.0234672502, -0.0234978516, 0.0342625976, -0.0200519189, 0.0282290131, -0.024141632, -0.0210845768, -0.0366759039, -0.0145315472, 0.0772178024, 0.0392235033, -0.0329085439, -0.0176550169, -0.0103278989, 0.0045826454, -0.0054811784, 0.0346686207, 0.0603290871, -0.0013023154, 0.0122262863, 0.0071859136, -0.0087595992, 0.0603977554, -0.0378704071, -0.0041614971, -0.0667065084, -0.0243528634, -0.0366558954, 0.0039156587, -0.0049206582, -0.0200034846, -0.0217463225, 0.0206235144, -0.028322041, 0.0426364318, 0.0415431298, 0.040601369, -0.0162673928, -0.0128353164, -0.0054076724, -0.0821327269, 0.0935884416, -0.0415123254, -0.0375839025, 0.0055926261, -0.0174742285, -0.0133101987, -0.0665324926, 0.0212864466, -0.0000056386, -0.0155098336, 0.0321042314, 0.0456025153, 0.0005028967, -0.013881227, 0.0233419407, 0.0033795249, 0.0230714772, 0.0066899806, -0.0827987641, -0.0136582339, 0.0292968284, 0.038978301, -0.0435346775, 0.0409566388, -0.0005267001, 0.0231457725, -0.0569197498, -0.019566508, -0.0227522738, 0.0798797682, 0.0180062409, -0.0271490458, -0.0786262229, 0.0282244645, 0.0428257175, -0.022785265, -0.065018326, 0.0078550624, -0.061456304, -0.0354515426, -0.0317753963, 0.0172207262, -0.0232371651, 0.1005946696, 0.0356149264, 0.0398807563, 0.029131921, -0.0289193839, -0.0030750879, -0.0011994872, -0.0564597361, -0.0119280918, 0.0292124618, 0.0010855533, -0.024484599, 0.0066117248, -0.0778236836, -0.0091767749, 0.0765468031, -0.0344737843, -0.0408269875, 0.0716177672, -0.0585840717, -0.012981846, -0.0095475465, -0.0190054104, -0.0035588543, -0.0068619289, -0.0044317897, 0.0130170155, 0.000689423, -0.0277169645, 0.0083932811, -0.0062955189, 0.0226997659, -0.0033741749, -0.0311539397, -0.0356889367, -0.0415628813, -0.0568440892, 0.0170120001, -0.0305607691, 0.0493303277, -0.0040717321, 0.0028122496, -0.0115216309, -0.0088471286, 0.0016984965, -0.0180701483, -0.0072474326, 0.0552331097, 0.0011407455, 0.0261552017, 0.0055336212, -0.0444892123, -0.0075048939, 0.0112451939, 0.0144450953, -0.0609064959, -0.0301358495, -0.0602422953, -0.0237807501, 0.0713032633, 0.0406202413, -0.024285078, -0.0175463613, -0.01656284, 0.0445288271, -0.0092744771, -0.0249696057, -0.059564922, -0.0082118222, 0.0042752274, -0.0644401014, 0.1064801589, -0.0394063294, 0.0436968468, 0.0387337022, -0.0016189205, 0.0152682373, 0.0230180342, -0.0401237682, -0.0029708205, 0.0061889123, -0.0839076191, -0.0061200894, 0.060438253, 0.0257195495, -0.0235407837, -0.0291805901, -0.0089846905, 0.0240564924, -0.0293000452, -0.0439312793, -0.0317619704, 0.0242478121, 0.0425083265, -0.0220265333, -0.0530135706, 0.0608664863, 0.0314478539, 0.020314971, 0.0120792296, -0.0127702057, -0.0306608025, 0.0531363487, 0.0351296365, 0.038240958, 0.0108116353, -0.0207293332, -0.0200397223, -0.0202782154, 0.0165536106, -0.011822232, 0.0354902446, -0.056060344, 0.0143065909, 0.0362278707, -0.0208782293, 0.0224534683, 0.0033683837, 0.0306060612, 0.0530410036, 0.0183837675, -0.030966172, -0.0467356853, -0.0090958448, 0.0350189023, 0.0173240229, -0.0263752639, -0.0125829382, -0.0034699801, 0.0118999379, -0.0317319147, -0.0238412712, 0.0470834337, -0.0277629588, 0.0353861563, -0.0064439639, 0.0414419658, 0.0572619438, -0.0685888752, 0.0376310088, -0.0358274058, 0.0188554991, -0.0026397395, -0.0144308349, 0.0274213869, -0.0355467387, -0.0144943129, 0.0129166506, 0.0227087066, -0.07284569, 0.0132615911, 0.0144158555, -0.0447856113, 0.0417306572, 0.0356206261, -0.0640326738, -0.014170656, 0.0074133663, 0.0503892638, 0.0033903271, -0.0102446135, 0.0442611538, -0.0205626693, 0.070820123, 0.0371703357, -0.0645131245, -0.0487655289, -0.0143759903, -0.0025322761, -0.0432284661, -0.0373924784, -0.012071982, 0.0251314007, -0.0213684682, 0.003803821, -0.0003021189, -0.0115750469, 0.0294884853, 0.0115230978, 0.0300311577, 0.0292797554, -0.0033877923, -0.0134839425, 0.0187918246, 0.0131017994, 0.0375256762, 0.0462561734, -0.0374412537, 0.0839325711, 0.0573795177, -0.0276046693, -0.0075646872, 0.0450836569, -0.0500565954, -0.0184452198, -0.0316491351, 0.0426981226, -0.0457417443, -0.0214824378, -0.0053519877, -0.0313326679, 0.0214652028, 0.0087833451, 0.0424077623, -0.0072065745, -0.0460320488, -0.0149669712, 0.0064406511, -0.1207705066, -0.0563953444, 0.0438914336, 0.027180383, -0.0704222545, 0.0110206222, 0.0346687026, -0.0156919956, 0.0131601496, 0.008976127, -0.0885156021, -0.0190028492, -0.0182299279, -0.0981234536, 0.0383577645, -0.0120240869, 0.0197906308, -0.0311698336, -0.0432354994, 0.0210681111, -0.0863684267, -0.0630497932, 0.0395151414, -0.0435642488, -0.0292736776, 0.0196779761, 0.0455759503, 0.0148288598, 0.0591075271, -0.0094541255, -0.0322481431, 0.0407843553, 0.0280250311, -0.018109452, 0.0128140785, 0.053034775, -0.0496502295, -0.0401358902, 0.0301904809, -0.0122277131, 0.0682809204, 0.0903007016, 0.0177236274, 0.0039351112, 0.0232422259, 0.0160077289, 0.0030938834, 0.051715862, 0.0467742123, -0.0123165958, -0.0674649552, 0.0159847904, 0.0652534813, 0.0062646442, -0.0572004728, -0.0151432231, 0.0258918535, 0.0186209287, 0.0152989868, -0.0568937175, 0.0439091511, -0.0100222416, -0.0202140063, -0.0085373474, -0.0171574522, 0.0141408266, -0.0246524215, 0.0364504829, -0.0028963031, 0.0191232469, 0.0189805478, 0.0394279659, 0.0318086222, -0.0135072824, 0.0051966114, 0.0229126569, -0.0838751718, 0.0009481906, -0.0917573944, -0.0254509673, -0.0249998104, 0.0313845649, 0.0360092409, -0.0037624955, -0.0056240484, 0.0092538763, -0.0012244394, -0.0265776683, 0.057466507, 0.0369151942, 0.00241936, 0.0180460773, 0.0410113819, 0.0150104621, -0.0395922549, 0.0241206158, 0.0128536327, 0.0164172761, -0.0507517196, -0.0147322323, -0.0351103917, -0.0516580641, -0.0165879764, 0.0543400832, -0.054557588, 0.0004858087, -0.0296461303, -0.0578495078, -0.0048332554, -0.0045049172, 0.0335928053, -0.0056810132, 0.0008426954, 0.0407736562, 0.0296608135, -0.0382013135, 0.0029170995, -0.030476559, -0.0256751385, -0.0012178208, 0.0211033821, -6.343582448e-33, -0.0164446048, -0.0472000465, -0.0261834394, 0.0484333076, 0.0254349709, 0.0532120168, -0.0693529919, -0.006915119, -0.0027795236, 0.0288426559, 0.0055955932, 0.0114122294, 0.0132031422, 0.003349822, 0.007871001, -0.0069410182, 0.0567643754, 0.0315774493, 0.0142225716, 0.0442162305, 0.0209933594, 0.0072656665, 0.0485423617, -0.0832735822, 0.0087807449, 0.0549057536, -0.0412613414, 0.0186211765, -0.061258588, 0.0458612591, -0.0009467506, 0.023464717, -0.0004447067, -0.0102692684, 0.0087553924, -0.0461653098, -0.0593106002, 0.0119064962, 0.0065620863, -0.0003428998, -0.0565304905, -0.0567262582, 0.0316858105, 0.0159579739, -0.0203129202, -0.0645728186, 0.0505975224, 0.0007866646, 0.0305681061, -0.0179715771, -0.0109970346, 0.0026355903, -0.0404210538, -0.0280913264, 0.035936106, 0.025560379, -0.0199553035, 0.0117090363, -0.0699111149, -0.0005147896, 0.0179142673, -0.0009640272, 0.0391422138, 0.0299708508, 0.0340943821, 0.0266930107, 0.0578937903, 0.0131214829, -0.0172453467, -0.0061796964, 0.0034508219, 0.0964580998, 0.059503898, -0.0056105116, 0.0617073663, 0.0059780767, -0.0959403664, -0.002780468, -0.0031290483, 0.0411702394, 0.0556444153, 0.0195547342, -0.0311994869, -0.0032622023, -0.0051000849, -0.0304385219, -0.0659491643, -0.021600822, 0.0059197731, -0.006619602, -0.0656559914, 0.0254157595, 0.0174176209, -0.0738335177, 0.0813981742, 0.0288509075, 0.0334765092, 0.0614898689, 0.0055527687, -0.0171551909, -0.0010266376, -0.0142838145, -0.0256475434, -0.007804886, 0.0557514913, -0.0146070542, 0.0219245814, 0.065609999, 0.0195203424, -0.0345285386, -0.055499047, -0.0084197363, 0.0052770204, 0.0242017545, 0.0224358253, 0.0099327872, -0.0285467971, -0.0077027567, 0.005113713, 0.0535692126, 0.0343831666, 0.0485070385, -0.026892079, 0.0307646338, -0.0373161845, -0.0564029105, -0.0105934395, -0.0116621153, -0.012542068, -0.0465573221, -0.0537981689, 0.0150498459, 3.069e-7, 0.0312394295, -0.0228270944, 0.0173216574, 0.0026061216, 0.024865713, -0.0128328735, 0.030368844, -0.0309823118, 0.0127877444, -0.0324074067, 0.0372813493, 0.0414314643, 0.0496910997, 0.0204682443, -0.0367346853, 0.0167235173, 0.0060251905, 0.0390590206, 0.0085063446, -0.0145715699, -0.0086117312, 0.0163013488, 0.0390764065, -0.016625829, 0.0268685687, -0.0244079083, 0.008173069, -0.0066878791, 0.0546996258, 0.0084909443, -0.0328598507, -0.0155517627, -0.023309039, 0.0428903922, -0.0012688276, 0.0223091841, -0.0145518146, 0.0174122639, -0.0009937709, -0.0202281643, -0.0224762447, 0.0161123797, 0.0707339048, -0.020551309, 0.0423641466, -0.0473906063, -0.0605513752, -0.0098808128, 0.0347157978, -0.0523586497, 0.0220459253, -0.0176494457, 0.0549584255, 0.0060606641, -0.0348903649, -0.0397139713, 0.0256364346, -0.052784916, 0.006606888, 0.0207895152, -0.0305149257, 0.0253078267, -0.0142927999, -0.0120360749, 0.0599952452, -0.0245284177, -0.0252786409, 2.633603487e-34, 0.0028409848, 0.0081593832, 0.0338642523, 0.0512866192, 0.0632117763, 0.0065395222, -0.050902538, -0.0367154665, 0.0130997393, -0.0381098464, -0.0610891543 ]
http://arxiv.org/abs/2310.10333v3
http://arxiv.org/pdf/2310.10333v3
Legal NLP Meets MiCAR: Advancing the Analysis of Crypto White Papers
2023-10-16T12:17:11
2023-10-25T08:18:40
Carolina Camassa
cs.CY
cs.CY, cs.CL, q-fin.GN
In the rapidly evolving field of crypto assets, white papers are essential documents for investor guidance, and are now subject to unprecedented content requirements under the European Union's Markets in Crypto-Assets Regulation (MiCAR). Natural Language Processing (NLP) can serve as a powerful tool for both analyzing these documents and assisting in regulatory compliance. This paper delivers two contributions to the topic. First, we survey existing applications of textual analysis to unregulated crypto asset white papers, uncovering a research gap that could be bridged with interdisciplinary collaboration. We then conduct an analysis of the changes introduced by MiCAR, highlighting the opportunities and challenges of integrating NLP within the new regulatory framework. The findings set the stage for further research, with the potential to benefit regulators, crypto asset issuers, and investors.
[ 0.0589119159, 0.0902869105, 0.0069143367, 0.0361604244, -0.030843148, -0.0067112292, 0.0539104976, 0.0421046093, -0.0068100775, -0.0454516038, 0.0243382901, 0.0334238596, -0.016643187, 0.0570730269, 0.0252767857, -0.0186915547, 0.0221061744, 0.0035374647, 0.0609485172, 0.0069834902, 0.0385612659, 0.0269316435, 0.0025497533, 0.0409883074, 0.0335409939, -0.0199262034, -0.0052320343, -0.0108449981, -0.013535982, -0.0232516658, -0.0274011213, 0.0457320586, -0.0229099281, 0.030226931, 0.0000017678, -0.0725316182, -0.0476481952, 0.0495183729, -0.000097098, 0.0019380403, 0.0299283639, -0.0488519706, -0.0167064741, -0.0019872361, -0.0458019339, 0.0497687943, 0.0512556769, 0.0834812596, 0.0359598473, 0.0747037232, -0.0233347025, -0.0324870236, 0.0304835532, -0.0148139242, -0.0226347428, -0.0498975478, 0.0182535611, -0.0022751149, 0.0092452066, 0.0284252856, 0.0358721614, 0.0751058087, -0.0132458387, -0.0488421246, -0.0010777538, -0.0164069533, -0.0243500322, -0.0143058989, -0.087660484, 0.0107296184, 0.0403124616, 0.0472873822, 0.0438339077, -0.0251352787, -0.0095560635, 0.0088134911, -0.0245729741, 0.0769098178, -0.0619478598, 0.0005614617, 0.0228432864, 0.0304111261, 0.0087452969, 0.0156342164, 0.0099194888, 0.0264497418, -0.0186778493, -0.0595661066, 0.0350168869, -0.0115648853, 0.022339832, -0.0449957699, 0.039649006, -0.0059809489, 0.0650818199, 0.0333682634, -0.0059159347, -0.0479955524, 0.0754694864, -0.0837609246, -0.0120392377, 0.0116268927, -0.0257467013, 0.0322631598, -0.0114144217, -0.0063848831, 0.0100263497, -0.0007685817, 0.0018158421, 0.0059190704, -0.0359779708, -0.0348754339, -0.051414609, 0.0448814631, -0.0534067228, 0.0017940566, -0.0438877977, -0.023906555, -0.0104621202, 0.0234890319, 0.0134513481, 0.0022287709, 0.0165303107, -0.0371973924, 0.0044063688, -0.0496890023, -0.054824125, -0.0017591794, -0.0224576239, 0.0193918068, 0.0436143093, 0.0217710864, -0.0029142902, -0.0027212827, -0.009484903, 0.0864312798, 0.0484393053, -0.0303534623, -0.0292982273, -0.0857712328, -0.0094854394, 0.0235716496, -0.0030533811, -0.0068961969, -0.0291454773, -0.0375785567, -0.001551547, -0.0231212154, -0.0282044224, 0.0183187108, -0.0567235239, 0.0613255277, -0.0372333787, -0.0578058772, -0.0608107857, -0.0212937798, 0.0632805452, -0.0042904965, -0.0256932899, -0.0025056899, 0.0587214231, 0.0073921774, 0.0250930879, 0.0100931209, 0.0018870695, -0.0793227702, 0.0484386757, 0.0302296784, 0.0075898888, -0.0392190181, 0.0087283626, 0.0237693898, -0.0128511172, -0.0382406935, 0.0140554672, 0.0938886106, 0.0105944322, 0.0101985233, -0.0201683678, 0.0672772378, 0.0055512474, -0.0221139509, -0.0215934161, 0.0027027475, -0.0349506624, -0.0120966565, -0.0030626133, -0.0052728527, 0.0093708923, -0.0564875379, -0.0403757095, -0.0101477867, 0.049754601, -0.0399748646, -0.0070853168, 0.0084756985, -0.0364363045, 0.0135214943, 0.0268327724, -0.0067310547, -0.0560778081, -0.0305936672, 0.0164062437, 0.0318385251, 0.0060462463, 0.0082955323, 0.0441266336, -0.0109758144, -0.0378000103, 0.099453643, -0.0044903401, 0.0207836181, -0.0082295816, -0.0195029359, -0.0253606066, -0.0162043367, -0.0069995713, 0.0040644137, -0.0297352243, 0.00742407, -0.007510249, 0.0153536722, -0.0114327082, 0.0331993736, 0.041870784, -0.0331425704, -0.0124102794, 0.0192185529, -0.023763027, 0.0487472154, 0.016114492, 0.0352072343, -0.0082083112, 0.0240043048, -0.0358849019, -0.0007706865, 0.042885147, 0.0635623261, 0.0482774116, -0.0842070952, -0.002615846, -0.0571127497, -0.0142609365, 0.0163945202, 0.0378030203, 0.0185892861, 0.0166926607, -0.0295062214, -0.069872357, -0.0111566903, 0.0206928924, -0.0341984816, 0.0392633043, 0.0049852212, -0.0067183729, -0.0227509383, -0.0560976267, 0.0680670217, -0.0014775645, 0.0237446856, 0.0085901748, -0.0373844765, 0.0166341532, 0.0765437707, 0.006119376, 0.0003101372, -0.0237790681, -0.0248208679, -0.0331563093, -0.0197338164, 0.0519489981, 0.0135591952, -0.0163556766, -0.0153011438, -0.0163609646, -0.0063858125, -0.0859198943, -0.0465006344, -0.0286199488, 0.0467681177, -0.0022047274, -0.0191585049, -0.0021492459, -0.0250610579, -0.0378525518, 0.0113630937, 0.0577082485, -0.0010509833, -0.0180452876, 0.0188191794, -0.0173043627, -0.011351645, -0.0185958445, 0.0343272984, 0.06218924, 0.0308354255, -0.0188834127, 0.0027517821, 0.0296425298, 0.0662863776, -0.0157447588, -0.0285168141, 0.0021840003, -0.0046424386, 0.0245859399, 0.0306570213, -0.0214348808, 0.0289158523, 0.0813463554, 0.021306457, -0.0234055445, 0.0214123428, -0.0577015877, 0.0121044181, -0.0204468686, 0.0168674532, -0.0277250037, -0.0494961999, 0.0019857297, 0.0305397306, 0.0134466505, -0.050769493, 0.0340360403, -0.0266715586, -0.0189022496, -0.0869867131, -0.0352810696, -0.0503446646, 0.066662699, -0.0719833523, 0.0397624113, 0.0719301701, -0.0130711878, 0.0255083032, -0.0791501179, 0.023834832, -0.0234840401, -0.0189926438, -0.0344572291, 0.0468451865, -0.0154043436, 0.0004726115, 0.0163569935, -0.0394425616, -0.0374835171, 0.0219929274, 0.0570523217, -0.0268479828, -0.0221484043, 0.0204465762, -0.0027793231, -0.0351298526, 0.0324102342, -0.0325801522, -0.0145802014, 0.0047160848, 0.0016079876, -0.0787239, 0.040946018, 0.0039635948, 0.0358633883, 0.0570220761, -0.0289555248, -0.0014379091, -0.0287747197, 0.001297732, -0.0098194713, -0.0255996864, 0.0016058378, 0.037375655, 0.003891113, -0.0361363217, 0.0452717468, 0.0603576712, 0.0286689345, 0.0111258933, 0.0025624619, 0.0242843386, -0.061849121, -0.0382678881, 0.0367938168, -0.1005735323, 0.0135515518, -0.029992694, 0.0243492946, -0.0644564182, -0.0527983643, -0.038529437, -0.0572628938, 0.0737815872, -0.0059439326, -0.016757369, 0.0068695797, -0.030724749, -0.0566586964, -0.0117039485, 0.0327326246, -0.0580258332, -0.0255066343, -0.0010153868, 0.0207699053, -0.1085501313, 0.0175510496, -0.030655995, -0.0192596447, 0.0086868415, 0.0248916633, 0.0388700701, -0.0291514434, 0.0010796655, -0.0373643674, 0.0004363462, -0.0098947035, 0.0098443031, 0.0451614447, -0.0047370759, -0.0271078721, -0.0323989354, 0.0498993769, -0.0201138351, -0.0243251119, 0.0067346762, 0.000284005, -0.0159316752, -0.0547203831, -0.0356513448, 0.0251625087, 0.0409165509, 0.0244109221, 0.0232446883, 0.0084465062, -0.0592046529, -0.0729057193, 0.0464035794, -0.0758858174, -0.0421994887, -0.0428807288, 0.0314890817, 0.0443746895, -0.0431161784, -0.0476362444, -0.0302175954, 0.0028310111, 0.0113206673, 0.0256251376, 0.0989455357, -0.0397368371, -0.0380719602, 0.0521908849, -0.0184523575, 0.0279500391, -0.0354081653, 0.0221424606, -0.0009981778, 0.0145115945, -0.019634204, 0.0643771216, -0.0373962596, 0.0106203677, -0.0062396345, -0.0250956174, 0.0190394875, -0.0651521906, -0.0392059349, -0.0247534998, 0.0154604046, 0.040013466, -0.0442923941, -0.0571358427, 0.0671786815, 0.0258431155, -0.0258625858, -0.0021473842, 0.0077994452, 0.0053797374, -0.0212278292, -0.0204487704, -0.007009937, 0.0531817153, 0.0219065584, 0.032220304, -0.0098912185, -0.0073998407, 0.0411246084, -0.0022198281, -0.0321896672, 0.0098258723, -0.0101798894, -0.0306442827, -0.0287101995, -0.0158861987, -0.0576448441, -0.023519991, 0.0668533221, -0.0528335497, -0.0292345267, -0.010682201, 0.0907323584, -0.0145208063, 0.0384589322, 0.0233546775, -0.0308625121, 0.0344935432, 0.0516910627, 0.0115233064, 0.0546800867, 0.017148776, -0.0303191226, 0.0182084069, -0.0155923981, -0.0274071675, 0.0279076677, -0.0225853305, -0.082314007, 0.021663703, 0.0347748511, 0.0111263562, 0.0066568959, 0.0122863036, -0.044388324, 0.0188393164, 0.0150011117, 0.0290367715, 0.0067081596, -0.0515677743, -0.0078183366, -0.0010987723, -0.0359636135, -0.0097565344, 0.0255994238, -0.0000948415, 0.0086316746, -0.0367127061, 0.0109723825, -0.0386936106, -0.0334578976, 0.0392946042, 0.0025401269, -0.0231023729, 0.0175557267, -0.0577884987, -0.0196513459, 0.0062979651, -0.0168289579, -0.0069587389, 0.0200656708, 0.0012707073, 0.0277717374, 0.0106685273, -0.0107080024, 0.0094953943, -0.020058535, -0.0198033527, -0.0236778483, -0.0598998256, -5.556494205e-33, -0.0031616278, -0.0582589246, 0.0305565149, 0.0417716205, 0.048493024, -0.0056829811, -0.0487342365, -0.0132614253, 0.035977304, 0.0158558916, 0.0062155579, 0.0066206334, 0.0366768092, 0.029245181, 0.0199042186, 0.0093292734, 0.0293634087, 0.0077743218, 0.0031791371, -0.0391469188, 0.0096625695, 0.0185715836, 0.0890742987, -0.0967772752, 0.1262716502, 0.0571422726, -0.0566770844, -0.0319328159, 0.0303429123, 0.042738352, -0.0246640667, 0.0006629379, 0.0052125189, -0.0668532923, -0.0131946588, 0.0238961652, -0.0162971057, -0.0094876066, -0.0039589517, 0.0123747746, 0.0073220991, -0.0523299687, 0.0396513715, 0.0176338144, -0.0096564488, 0.034319818, 0.0346201509, 0.0061139227, -0.0103423325, -0.0323178284, -0.0688442439, 0.0642912462, -0.0613035373, 0.0984318405, 0.0543574691, -0.0171306822, -0.0012403321, -0.0128574595, -0.0467982478, 0.0299073961, 0.0076600388, -0.0381988026, -0.0217681378, -0.0399087481, -0.0204248112, 0.0607134774, -0.0104376469, -0.0069130124, 0.0273206625, 0.0298589002, 0.0264055468, 0.0673427805, 0.0348290764, 0.021768814, 0.0690764189, 0.0058534653, -0.021883944, 0.0264674164, -0.0203633718, 0.0366510116, 0.0109421713, -0.0088833719, -0.0397421271, -0.0236505307, -0.0044319555, -0.0293972138, 0.0210438613, -0.0032410305, -0.0049419347, -0.0000977726, -0.0491096415, 0.0277214833, -0.0183224864, -0.064664863, -0.0703636184, -0.0431403778, 0.0474392436, 0.0292211641, -0.0012407848, 0.0048853005, -0.0425428674, -0.0255822483, 0.0198698454, -0.0276387632, 0.0322546586, -0.0335996822, -0.0078183664, 0.0124624688, -0.0689755157, 0.0092445752, 0.0166520718, 0.0179998353, 0.0517786965, 0.0155411642, -0.0414746478, 0.0179760195, 0.0075972178, -0.017186759, -0.0194549244, 0.0096990075, 0.0254739393, -0.0110351481, 0.011616705, 0.0272161514, 0.0281576049, -0.0116790738, 0.0027679771, 0.0113586197, 0.0834893957, 0.0190238357, -0.0117466589, 0.009164134, 2.481e-7, 0.0538422018, 0.0312082898, 0.053515546, -0.0005503277, 0.007127936, 0.0227289069, -0.0120277721, 0.0270330645, -0.0603020974, -0.0244032592, -0.0210718326, 0.0029694107, 0.057564579, 0.0324602798, -0.0345933102, -0.0409709439, -0.0132197253, -0.006507, -0.0691673309, 0.062559016, 0.0152062103, 0.0318657681, -0.0170106925, -0.0130710164, -0.0389848426, -0.0521193631, 0.0106038088, -0.0391101874, 0.0061588376, -0.0180356205, 0.0587469302, 0.0260889474, 0.0252340306, 0.0354090631, 0.0098929042, 0.0272939298, -0.0126314089, 0.031104276, 0.0395259745, 0.0158216972, -0.0325692296, -0.0684519559, 0.0013975668, 0.0022442611, 0.0225851852, 0.0102933431, -0.0360638052, -0.0709568039, -0.0290726591, 0.0046292436, 0.0400551558, 0.0234539546, -0.0082214903, 0.0126203215, 0.0174194518, -0.0242419261, 0.033275038, -0.0493345931, 0.0004940875, -0.0186784025, 0.0027612748, 0.0929958448, -0.0252080299, 0.0155543769, 0.0437850542, -0.0492631607, 0.0532181263, 2.209550788e-34, 0.0380306654, -0.0702276975, -0.0300685763, 0.062876977, 0.045103427, 0.0212760363, 0.0219696611, 0.0110418508, -0.0083929067, -0.0524666421, 0.0363871492 ]
http://arxiv.org/abs/2310.10704v1
http://arxiv.org/pdf/2310.10704v1
Optimized Tokenization for Transcribed Error Correction
2023-10-16T12:14:21
2023-10-16T12:14:21
Tomer Wullach, Shlomo E. Chazan
cs.CL
cs.CL, cs.SD, eess.AS
The challenges facing speech recognition systems, such as variations in pronunciations, adverse audio conditions, and the scarcity of labeled data, emphasize the necessity for a post-processing step that corrects recurring errors. Previous research has shown the advantages of employing dedicated error correction models, yet training such models requires large amounts of labeled data which is not easily obtained. To overcome this limitation, synthetic transcribed-like data is often utilized, however, bridging the distribution gap between transcribed errors and synthetic noise is not trivial. In this paper, we demonstrate that the performance of correction models can be significantly increased by training solely using synthetic data. Specifically, we empirically show that: (1) synthetic data generated using the error distribution derived from a set of transcribed data outperforms the common approach of applying random perturbations; (2) applying language-specific adjustments to the vocabulary of a BPE tokenizer strike a balance between adapting to unseen distributions and retaining knowledge of transcribed errors. We showcase the benefits of these key observations, and evaluate our approach using multiple languages, speech recognition systems and prominent speech recognition datasets.
[ 0.0196792148, 0.0512655415, 0.0151979728, -0.0085871574, -0.0045561846, -0.0064770184, 0.0165653843, 0.0019158398, -0.0428616367, -0.0240561143, -0.0108887786, -0.0294100158, 0.04751518, 0.0064505101, 0.0376702696, -0.039955657, 0.0522709563, -0.0354306214, 0.0401013903, -0.0011856604, -0.0143632293, 0.0051730461, -0.025884496, 0.0533535555, -0.0672853962, 0.0433705337, 0.0196982827, 0.0579022989, -0.0110425875, -0.0198740922, -0.0164353214, 0.0437542908, -0.0080314884, 0.02403933, 0.0000015569, -0.0277701318, -0.026316233, 0.0147267934, -0.0230931193, -0.0101950914, 0.0410023667, 0.0051192711, -0.05261999, 0.0435004756, 0.025132468, -0.0809395462, 0.0885071531, 0.0119522102, -0.0009287226, 0.0681480095, 0.0022263243, -0.0111290067, 0.0135069843, 0.018624831, -0.0109990435, -0.0021638921, 0.022347264, -0.0230734367, -0.0322596878, -0.0569656491, -0.0287667289, 0.0156876706, -0.0247718897, -0.0249096062, 0.0184814669, 0.0017480023, -0.0464293063, -0.0375848748, -0.0394365154, 0.0263853408, -0.0041510528, -0.0354254022, -0.0096873511, 0.0251969751, 0.005230709, -0.0603138022, 0.0202571489, 0.0071559106, -0.0012592903, 0.0232158955, 0.0365331918, -0.0139150713, 0.0395378284, -0.038508106, -0.0531485267, 0.0273290295, 0.037791796, -0.0398422703, -0.0413581692, -0.0008513893, -0.0031960031, -0.0041840677, 0.0664340183, -0.0248458069, -0.0486011393, -0.0101579465, -0.0588427894, -0.0548367351, -0.0458036587, 0.0353227146, -0.008520091, 0.0607785694, -0.0692914948, -0.0125452606, -0.0117236171, 0.0528598949, 0.0379606299, 0.0397043377, -0.0213344302, -0.0399703905, -0.0062874332, 0.0191278085, -0.049132105, 0.0070349318, -0.0245637819, 0.0296552014, -0.0312719606, 0.0058199163, -0.0141280806, 0.0269788783, 0.0470994562, -0.017485939, -0.0945815071, -0.0095592998, 0.0184498485, -0.0073008006, 0.0411248952, 0.0314506516, 0.0239252541, -0.0791019797, -0.0106859533, 0.0042459825, 0.0595580041, -0.0002780939, 0.0283027533, 0.0390736796, 0.0056492547, -0.0179085918, -0.0302889049, 0.0223868769, -0.0403104462, -0.0148657653, -0.0789948106, -0.0846635178, 0.0376052745, -0.0055261622, 0.0079100439, -0.020862855, -0.0019710099, -0.0326665901, -0.0062541971, 0.0820980519, -0.0461912081, 0.0228967927, 0.0495516956, -0.0374168791, 0.0310074203, 0.0193219054, 0.0620242022, -0.0631015226, 0.0489757955, -0.0356592461, 0.0295812991, 0.073516503, -0.0052100676, -0.0215995442, -0.0291367844, -0.0453422442, 0.0395255908, 0.0050358078, 0.0791997463, 0.082478337, -0.046993304, 0.0333761834, 0.0161428973, 0.0527118817, -0.0119068334, 0.0167027246, 0.0596429408, -0.036422275, 0.0027954571, 0.0031027179, -0.0119074415, -0.0386570692, 0.0470042974, 0.027382968, 0.0689750984, 0.0093830926, -0.0177473351, -0.0137234312, -0.0129588638, -0.0100891469, -0.0165528525, -0.0051724552, 0.0622656122, 0.0110173663, -0.0561890043, 0.100770995, 0.0062191528, -0.0555244461, 0.043700885, -0.0248304922, -0.0274268575, 0.0910457, 0.0638483763, -0.0200709384, 0.0029987972, -0.0432208069, -0.0466086529, 0.0528570451, 0.0332749598, -0.0102412142, 0.0459828004, -0.0561763979, 0.0105810119, 0.0674819127, 0.0158721711, 0.0287012365, 0.0018478548, 0.0096947346, -0.0060229613, -0.0514863469, -0.0302385036, 0.003600131, 0.0077157621, -0.0181634575, 0.0431665629, -0.0109740207, 0.0673050582, 0.0573116951, -0.0576036051, 0.0043661809, 0.0217054244, -0.0261407811, 0.0211484302, 0.035779912, -0.0438461453, -0.0319751948, 0.080710575, -0.0134128854, -0.0279764906, 0.0266325921, 0.0044157417, -0.0763030648, 0.0117176669, -0.0407833233, 0.0566444956, -0.0505813658, 0.0710697174, 0.0234099198, -0.0146099599, 0.0039037475, -0.0377732702, -0.0064413017, 0.0264806505, 0.02517098, -0.0051680217, -0.0047390712, -0.0862005875, -0.0045603546, 0.02936236, -0.0407332964, 0.013563619, 0.0004173254, -0.0113058724, -0.0059717004, -0.0159339886, -0.0912886336, -0.018785309, -0.0493138582, 0.0238394458, 0.0126610734, 0.0268405881, -0.018966103, -0.0351451337, -0.0172902644, -0.0487463698, 0.0169991776, -0.0162568595, -0.0183882006, -0.0144049842, -0.0525456592, -0.0406779833, 0.0133503303, -0.0041011116, -0.0102058081, -0.0431694761, -0.0413126014, -0.1027642712, 0.0120496312, 0.0083031217, 0.0552437119, 0.0406926721, -0.0235666484, 0.0137756793, -0.0112994136, 0.0932476744, -0.0205483194, -0.0221469197, -0.0152618755, 0.0037777903, -0.03592816, -0.0574970245, 0.0012208646, 0.0046693794, 0.0033588186, -0.0258855186, -0.0490995497, -0.0269616861, 0.004980979, 0.0448021293, 0.0278486386, -0.040076144, -0.0375651829, -0.0225905273, -0.0345670916, 0.0188028552, -0.0368087851, -0.0225861166, 0.0149527378, -0.0106917266, -0.0152126588, 0.0453661829, -0.0701033324, -0.0162750315, -0.0540363342, -0.0072886008, 0.0086326124, -0.0144161042, -0.0392247774, 0.0043872534, -0.0521232076, -0.0851138458, -0.0166233331, -0.0220921859, 0.0038803041, -0.0360754877, 0.0032415595, -0.0461033024, 0.002466466, 0.0122289034, -0.0307611302, -0.0269397087, 0.0033249892, -0.0078122076, 0.0178078581, 0.0595326684, -0.0288422052, -0.0211756937, 0.0203050412, -0.0017629848, 0.089835003, 0.0112533113, 0.0146052642, -0.0145693673, 0.0271620136, -0.0015474263, 0.0095589999, 0.0182608739, -0.0137152346, -0.0006391864, -0.0041558021, 0.064167887, 0.0050739655, -0.0181574877, -0.0023402928, 0.0458324589, -0.0216021184, 0.0211968794, 0.0116888275, 0.0266031325, -0.0120198652, -0.0308374353, 0.0971469805, 0.0116026383, -0.0396936275, -0.0314881578, -0.0299854856, 0.000707732, 0.0078245737, -0.0045424583, -0.0585057922, 0.004579558, 0.0712856054, 0.0793178827, 0.0083298478, 0.0376963727, 0.0114383744, -0.1046386808, 0.05457744, 0.0526095517, -0.0612164363, -0.099268876, -0.0249975882, -0.0253460128, -0.0246363562, 0.0802431032, 0.0395897031, 0.0445680507, -0.0098263361, 0.0743675902, -0.0557635427, -0.0886355266, -0.0500975437, -0.0421990938, 0.0835256949, 0.0517585315, -0.0244120266, -0.0128733376, 0.0027177485, 0.051530797, 0.0264522545, -0.0254069641, -0.0124883307, 0.0171564464, 0.0120045962, -0.0303458832, 0.0448394604, 0.0307802465, -0.0084576188, 0.0049370411, 0.0003921177, 0.0384574607, -0.0032876621, 0.0507399812, 0.0427166894, -0.0096427482, 0.0273308437, 0.0156368297, 0.0313038863, -0.0204277728, -0.0066780248, -0.0217062235, 0.0387266427, -0.0734583288, 0.0612852871, -0.0039958656, -0.0189005211, -0.0722690746, -0.0595203415, -0.0078601837, 0.0048650121, 0.0485819168, 0.0310010985, -0.0091375178, -0.025217196, 0.0375640318, -0.0194664206, -0.0046659852, -0.0030624259, 0.0066702212, -0.0689719319, -0.0177293085, -0.0315812975, -0.0200533364, 0.0124693811, -0.0039445013, -0.034892574, -0.0574088953, 0.0701037124, 0.0085518109, 0.0139796771, 0.0842451677, -0.0306637567, -0.0276701991, 0.020627249, 0.0700531155, -0.047227107, 0.024039425, 0.0329345912, -0.0209156498, -0.0234771017, 0.0067817369, -0.0511323176, -0.0038837825, -0.0072315666, 0.0582333915, -0.0087226834, -0.0610902905, 0.0257615335, 0.0258652642, 0.0539709292, -0.0182170514, 0.0195755288, -0.0415553413, 0.0307753552, -0.0060753268, -0.0001168689, -0.0180050116, 0.001080743, 0.0123847732, -0.0051140422, -0.0271444619, -0.0223367494, -0.0783232525, -0.0048073055, 0.0270328932, -0.0085026482, 0.0001165409, 0.020554604, 0.0159028266, -0.0094843926, -0.028989099, 0.0138207143, 0.0291038491, 0.0141777843, -0.0302035194, -0.0192904584, -0.0223146975, -0.001541121, -0.0060548712, -0.0329887234, -0.018705098, 0.0009025772, -0.0217658114, 0.0278546195, 0.0628489628, 0.0113634178, 0.0570719875, -0.0265152622, 0.0005317427, -0.0329084545, 0.0015489791, -0.0017358348, 0.0344490968, -0.0195553619, -0.0147777069, -0.006851254, -0.0058489293, 0.0391400568, 0.0107049672, 0.0408369005, -0.0743936524, -0.0152327362, -0.0182408672, -0.0216378309, -0.0123525886, -0.0201879125, -0.0423702933, -0.0482127406, 0.0019038816, -0.0523859896, 0.0442512296, 0.045366127, 0.0222342573, -0.0063676592, -0.0076094889, 0.017568605, -0.0415700786, 0.0263032634, 0.0104514072, -0.0081476783, 0.0743105486, -0.0188693628, -0.0141245266, -5.425639644e-33, -0.0235038139, 0.004787792, -0.0023582687, -0.0042804834, -0.0348482616, -0.0213476587, -0.0339944735, 0.0148988022, 0.0579805113, -0.0141134802, -0.0271834563, 0.0087072253, 0.0540841371, 0.003018152, 0.0202563144, 0.0156467464, 0.0952259302, -0.0112505341, -0.020874057, -0.0133625176, 0.0675117448, 0.0542796068, 0.0508882441, -0.0355137698, 0.0304959379, 0.0313971676, -0.0078421431, 0.0062291957, 0.0370178483, 0.0422848798, 0.0439545289, 0.0364606716, -0.0297517981, 0.0045453277, -0.0542795733, -0.013458062, -0.1092913821, 0.0021900104, 0.0186692271, 0.0887603089, 0.0368705727, -0.0342786126, 0.0482045002, -0.0089217685, -0.045282539, 0.0186157711, 0.0005537927, -0.0668202117, -0.029820703, -0.0472835898, -0.0010519389, 0.0356302857, 0.0093450593, 0.031378638, 0.0412098616, 0.0217437167, -0.0218428504, -0.0271115415, -0.0882085711, 0.0365574583, -0.0000804869, 0.0406297594, 0.0327112153, 0.0185753591, -0.0141697722, 0.0048318431, 0.0663251877, -0.0225616116, 0.0375080407, -0.031231476, 0.0398789793, -0.0467185341, 0.0354708508, 0.0326745175, 0.0354530662, -0.0397303887, -0.0176723041, 0.0029579047, -0.0374424122, -0.0112488298, 0.0399885662, 0.0254969206, -0.0331380367, -0.0048717814, -0.0531243086, 0.0051236963, -0.019971095, 0.0236460287, 0.0284888409, 0.0142101049, -0.0236901511, -0.0141490949, 0.0597569533, -0.0032487267, 0.0171359144, -0.0331659429, 0.0010618859, 0.0018738516, -0.0417728834, -0.0161003117, -0.0337289497, -0.0453330874, 0.0546524264, 0.0434837639, -0.004665433, -0.0324533544, 0.0224801023, 0.0667490736, -0.0688235834, 0.0361753777, 0.0242231693, 0.0503997281, -0.0225677155, 0.0052401181, 0.0339324735, -0.0059585888, 0.0343116932, -0.008618596, 0.0028264748, 0.0257665869, 0.0283197537, 0.0305699538, 0.003474022, 0.0271958262, -0.0369362831, 0.0151473228, 0.0097352779, 0.0007116587, -0.0096079372, -0.0006515692, -0.0075415205, 0.0021163858, 2.269e-7, -0.0054430249, 0.0073099313, 0.0654900745, -0.0427478701, 0.0260689147, -0.0275404062, -0.0142997699, -0.0038213821, 0.0119345728, 0.0272594802, 0.0443482324, -0.0293133743, 0.0735477209, 0.0096145924, -0.0719793886, -0.0477384217, -0.0293150842, 0.0313908197, -0.0209227595, -0.0146893095, -0.0131754829, 0.0730555579, -0.0064655636, -0.0413578004, 0.0046126591, 0.0034224084, -0.0170498658, -0.0141884051, -0.0090063354, -0.0116172442, 0.0379097797, 0.0406177491, 0.0260555726, 0.0340315811, -0.054822389, 0.0055336575, 0.0236858167, 0.0208897479, -0.0117876688, -0.0063605537, 0.0068366602, 0.0230492484, -0.0310495645, -0.01598561, -0.0033838479, 0.0142227802, 0.0524754934, -0.0074506593, -0.0590027981, 0.0288377348, -0.0179791916, -0.0359052345, -0.0089458684, 0.0144893983, 0.0475659445, 0.0516921282, -0.0186774004, -0.0079957535, 0.0080528734, 0.0107795354, -0.0313610733, -0.0389355905, 0.0170440767, 0.0264395978, 0.0289333742, -0.0067800507, 0.0187393874, 2.019082591e-34, 0.0432354361, -0.0276833065, 0.0247446448, -0.0253741927, 0.011617437, -0.0496381372, 0.0119752632, 0.0242259558, -0.020765448, -0.0095389858, -0.0613227934 ]
http://arxiv.org/abs/2310.10322v1
http://arxiv.org/pdf/2310.10322v1
Untying the Reversal Curse via Bidirectional Language Model Editing
2023-10-16T12:04:13
2023-10-16T12:04:13
Jun-Yu Ma, Jia-Chen Gu, Zhen-Hua Ling, Quan Liu, Cong Liu
cs.CL
cs.CL
Recent studies have demonstrated that large language models (LLMs) store massive factual knowledge within their parameters. But existing LLMs are prone to hallucinate unintended text due to false or outdated knowledge. Since retraining LLMs is resource intensive, there has been a growing interest in the concept of model editing. Despite the emergence of benchmarks and approaches, these unidirectional editing and evaluation have failed to explore the reversal curse. Intuitively, if "The capital of France is" is edited to be a counterfact "London" within a model, then it should be able to naturally reason and recall the reverse fact, i.e., "London is the capital of" followed by "France" instead of "England". In this paper, we study bidirectional language model editing, aiming to provide rigorous model editing evaluation to assess if edited LLMs can recall the editing knowledge bidirectionally. A new evaluation metric of reversibility is introduced, and a benchmark dubbed as Bidirectional Assessment for Knowledge Editing (BAKE) is constructed to evaluate the reversibility of edited models in recalling knowledge in the reverse direction of editing. We surprisingly observe that while current editing methods and LLMs can effectively recall editing facts in the direction of editing, they suffer serious deficiencies when evaluated in the reverse direction. To mitigate the reversal curse, a method named Bidirectionally Inversible Relationship moDeling (BIRD) is proposed. A set of editing objectives that incorporate bidirectional relationships between subject and object into the updated model weights are designed. Experiments show that BIRD improves the performance of four representative LLMs of different sizes via question answering and judgement.
[ 0.0710562691, 0.0204639193, -0.0188940484, 0.0561628863, -0.0803079605, 0.0240177941, -0.0354712196, -0.0297106057, -0.0185840335, -0.0828295425, -0.0505020134, -0.0304620862, -0.0149213849, -0.0137356604, 0.0208830386, -0.0373760723, 0.0910755992, -0.0152940713, -0.0169853419, -0.0155550269, -0.0229222476, -0.0262629036, -0.0137652075, -0.0304681677, 0.0220241919, -0.038526196, -0.0166429132, 0.0112213902, 0.0242617801, 0.0083269216, 0.0072241579, 0.0566702522, -0.0153273586, 0.0112238815, 0.0000020926, -0.0455418155, -0.0456792228, 0.0081553776, -0.0395494401, 0.0362494625, 0.0175225772, 0.0196451005, -0.02231667, -0.0072580082, -0.010956605, 0.0154694924, 0.0315015614, 0.0488675013, 0.0785136819, 0.0808872953, 0.0190495681, -0.0324149206, 0.012446438, -0.0254922975, -0.0242648665, -0.0132506751, 0.026650073, 0.0340655111, -0.0659605712, 0.0361479223, -0.0345863476, 0.0619575717, 0.0225697104, -0.0147328218, 0.0285993274, -0.0034655542, -0.0318079814, 0.0165554062, 0.0122449324, 0.0260057151, 0.0622375309, -0.0385948494, -0.0406359956, -0.000542242, 0.0223458949, 0.0407938138, -0.0441853739, -0.0082003986, 0.0147514232, -0.0095388237, 0.0006740582, -0.0689034611, 0.0436467379, 0.0193983074, 0.0063735442, 0.0835537389, 0.028421415, -0.072415702, -0.0285340361, 0.01196671, -0.0086906226, -0.0539295599, 0.0002549374, 0.0262924563, -0.0204184745, 0.0237903558, 0.0090328483, 0.0037928026, 0.0245143212, -0.0943532586, 0.0215422139, -0.0011373247, -0.0438996777, 0.0593810044, -0.0432954505, 0.0443944037, -0.0026256468, 0.0051744664, -0.042067863, 0.0027087105, -0.0384664685, -0.0395307504, -0.0340703875, 0.0228634216, -0.0272787865, 0.0531988442, -0.0250681899, -0.0021723732, -0.0502024703, 0.015357038, 0.0009898394, 0.0287387222, 0.0042459024, -0.0437184572, -0.0386788584, 0.0554104596, -0.0040956144, 0.0348150618, -0.0105512319, 0.008383086, -0.0007578942, -0.0220551193, -0.0310222376, -0.0087461406, 0.0028506683, 0.0663568974, -0.0304153319, -0.0043616625, -0.0549046509, -0.0354229324, -0.0062243147, -0.0612443015, 0.0278433505, -0.0507979877, 0.00275179, 0.0159786474, -0.0321487114, -0.0703175515, 0.0055182832, -0.0024548371, -0.0435665846, 0.0537980795, 0.0192501172, 0.0303366501, 0.0555448346, 0.0157490224, -0.0292255711, 0.053151641, 0.0159367379, 0.0040591932, 0.0570383295, -0.0026879073, 0.0061672409, -0.0077927662, 0.0537265837, 0.0025928468, -0.0506931618, 0.0535476543, 0.0175779965, 0.0249283332, 0.0022140837, 0.0307829659, -0.0085778814, -0.024766352, 0.090930745, -0.0395560451, 0.0113905594, 0.0288335122, 0.0120142978, -0.0419134907, -0.0086742369, 0.0264461581, -0.0648164675, 0.0494830869, -0.0691516474, 0.0172191281, -0.0045236317, -0.0119088581, -0.0118087223, -0.045482453, -0.0098189106, 0.0370830707, 0.0146307303, 0.0063897744, 0.0444241427, 0.0424444973, -0.0179237388, 0.0563821234, 0.0046517327, -0.0506835617, 0.0053213709, -0.0560732596, -0.0238884483, 0.0670304969, 0.0436898023, -0.0345752239, -0.0559112392, -0.0115142893, -0.0144663593, 0.0149772018, 0.083829686, -0.0037444723, -0.0230909809, 0.0073165353, -0.0033610184, -0.0130828656, 0.0335968137, -0.0226817708, 0.0388688073, -0.0054487791, 0.0278699882, -0.022916181, 0.0106099034, 0.0181588065, -0.0626461059, -0.0034949214, -0.0200691819, 0.0047844844, -0.0034972653, -0.010523052, -0.0122987796, 0.0326623544, 0.028417239, 0.0120415455, -0.0635030717, 0.016972268, -0.0115655567, -0.0341327898, 0.0382495224, -0.0242166612, -0.0391986668, 0.04390705, -0.0303665455, -0.0153809488, 0.0278755166, -0.0294899065, 0.0845629647, -0.0435034595, 0.0584166758, 0.0016701334, -0.0710372403, -0.0214657187, 0.0586054362, -0.043076627, 0.0214521866, -0.0250147786, -0.0354697183, -0.0184411518, -0.0343769155, -0.0264000129, -0.0086337728, 0.0270380117, -0.0125784921, -0.0060664839, -0.0395542569, -0.0602576211, -0.0323482826, -0.0555251502, 0.0088269534, -0.0348957516, 0.0143847363, 0.0478156023, -0.0202788636, -0.0022062836, -0.01989007, -0.0036971585, 0.0111925015, -0.0193307512, 0.056637194, 0.0131766303, -0.0018512886, 0.0101965796, -0.0300185122, 0.0114333602, -0.017364867, 0.022740094, -0.0068344809, 0.0331426449, -0.0613830872, 0.0602449812, -0.0686244145, -0.0159172378, -0.0006863629, -0.0438214503, -0.0014020558, 0.0322527029, 0.0572962798, 0.0535449572, 0.0053927843, -0.0076930355, 0.0684639513, -0.0284728501, 0.0030150027, 0.0074393181, -0.0153207257, -0.0205851756, 0.0184245799, -0.0570930578, -0.027038835, 0.0327814855, -0.0083040241, -0.0307932869, -0.0114896456, 0.0295429453, -0.0278687738, -0.039524734, -0.0481972136, -0.0084066363, 0.0006568757, 0.0333421975, -0.0493889228, -0.0350017883, 0.0765391141, 0.0024293691, 0.0349483602, -0.0176072773, 0.0322371423, -0.003823109, 0.078667216, -0.0020485842, 0.0339188166, -0.0317133144, 0.0260950122, -0.0739968792, -0.049973689, 0.052496098, -0.050296858, 0.0231596641, -0.0860314369, 0.0066075656, 0.0093703922, -0.0458935723, -0.0452463329, -0.0414146408, -0.0019424682, 0.0192036685, -0.0229431763, -0.0087896949, -0.0181883238, 0.0075985831, 0.0696316361, 0.0222371221, -0.0081795109, -0.0019841127, 0.016749613, -0.0229493678, 0.0703380629, 0.018045051, 0.042170614, -0.0136775514, 0.0219347514, 0.0527789444, -0.0111738779, -0.0460568517, 0.0136021702, -0.0114834253, -0.0278638899, -0.0771656632, -0.0390374027, -0.0274704304, 0.0249398611, -0.0560893789, -0.0376734883, 0.0765079781, 0.0592273697, -0.0152825238, -0.0015295142, -0.0658159032, -0.0170873776, 0.0474562421, 0.0119396038, -0.0376910642, -0.0111632785, 0.0138397086, -0.0026444118, -0.0190929081, -0.0433199443, -0.0048695714, -0.1047281772, 0.0281217881, -0.0010369404, -0.0363293141, -0.0478893705, -0.0323309377, -0.0068649394, -0.009159686, 0.0045181336, 0.0661950558, -0.0101777548, 0.0089702457, -0.0102767264, -0.0153649105, 0.0065446482, 0.0228646342, -0.0071049863, 0.0422651879, 0.0452444851, 0.0135828881, -0.0005250633, -0.0094989557, 0.0122070089, 0.0128555428, 0.0293433741, -0.009831991, 0.0212084576, -0.0071556387, 0.0098803574, -0.0166735612, -0.0137121202, 0.0317200348, -0.051761128, 0.029861832, 0.0980741754, -0.0187112223, 0.0420593694, -0.0065484303, -0.0033870493, 0.0019284771, 0.0990349129, 0.0447814278, -0.0064953496, 0.0105018923, -0.0293316375, 0.0071398825, -0.0118772211, -0.0155514618, -0.0068289875, -0.0003945307, 0.0310157109, -0.0870305523, -0.0414413586, 0.02189897, -0.0084207365, 0.0059365262, 0.0062210476, 0.040197663, -0.0271970183, -0.043845389, -0.0242582038, -0.052083455, -0.0017017147, -0.0347337686, -0.0139753008, 0.0596952811, -0.036743056, -0.0275867321, -0.0177069195, -0.0438242666, -0.0489062816, 0.0596705414, 0.0609037355, 0.0246342272, 0.0460488461, 0.0131308818, -0.0238010138, -0.0477047935, 0.0179432798, -0.0343238004, 0.0630601719, 0.0283511747, 0.0207230914, 0.0002636633, 0.0493635684, -0.0387532711, 0.0097690308, 0.0704491884, 0.040420223, -0.0417697541, -0.0282743722, 0.0261677839, 0.0301040467, 0.0595007837, 0.0182915684, -0.0251574535, -0.0242997222, 0.0704403222, -0.0572551973, -0.0297583509, 0.0081607513, 0.0190879181, 0.0027743692, -0.0074157342, -0.0273920409, -0.009896758, -0.0280850921, 0.0121312989, -0.0166176651, -0.0029111784, 0.030447498, 0.0197226964, 0.0124184201, 0.0332847685, -0.0217579007, 0.0039738123, 0.0117272018, 0.0527929701, 0.0096983062, 0.0499101579, 0.0271629263, -0.0038077829, -0.0879961774, 0.0078944126, -0.087869525, -0.003867747, 0.0001534245, 0.0412314497, 0.0457995124, -0.0172469374, 0.027916519, -0.0188018307, -0.029015284, -0.0151982708, 0.0249336958, 0.0255279895, -0.0511314943, -0.0037218744, 0.011803627, 0.0050892765, 0.033681158, 0.0461284667, -0.0297131464, 0.1112239137, -0.0239686072, -0.0348983854, -0.0146912597, -0.06244101, -0.0028644674, -0.0442450531, -0.0137751428, 0.0093484847, -0.0915360749, -0.079023391, -0.0236230213, 0.0245071836, 0.005470105, -0.0311126951, -0.0016216468, 0.0754077435, 0.0027282229, -0.0467212386, -0.039072223, 0.0560919978, -0.0169275664, 0.0165749323, -0.0365781486, -6.411462103e-33, -0.0473722406, -0.0140205836, 0.0437004864, -0.0169442855, -0.0219458099, -0.0136671904, -0.0159887429, 0.017606087, -0.0214562044, 0.0365814976, -0.0212226715, 0.0182503387, -0.0094046779, -0.0117519582, 0.0031935582, -0.0085291564, 0.0696660429, 0.0186916441, -0.0267035291, -0.009367709, 0.0603451841, 0.0312968008, 0.0878437385, -0.0451135747, 0.0491744652, -0.0248262938, -0.0039963471, 0.0627128556, -0.0938742608, 0.0301985294, 0.0070132851, 0.0006167081, 0.0295873452, -0.0581645891, -0.0232898463, -0.0334587134, -0.0179547127, -0.0351411588, 0.0585180856, 0.0195756983, 0.0048109367, -0.0322777443, 0.0611137338, 0.0135352965, -0.0346933529, -0.0156531371, 0.0018956355, -0.0356985778, 0.0041169436, 0.0541798845, -0.0774832889, 0.0037064943, 0.0057747816, -0.029079048, -0.0262596514, 0.0039291186, 0.0029614945, -0.0418326668, -0.0804824904, -0.0120377503, 0.049752485, 0.0390291326, 0.0570540018, 0.0113728493, -0.0101904431, 0.0433794148, 0.0136383558, 0.0389140062, -0.0378688239, 0.0025228455, -0.0135420319, 0.0089407312, 0.0751789436, 0.083990179, 0.0196103156, -0.0163205545, -0.0665442795, -0.0116687566, -0.0639936775, 0.0406733826, 0.0008901818, 0.0143511984, 0.0191738214, -0.0023657172, -0.0758591518, -0.0047232583, -0.0322061293, -0.021225905, 0.032222461, 0.0083166528, -0.0368685052, -0.0232211482, 0.0075166742, -0.0123352567, 0.0032453989, 0.0299769323, -0.0128312567, 0.0323660783, -0.0031361119, 0.0185584519, -0.0491060503, 0.0433614291, 0.0071759103, 0.0475567915, 0.0070955353, 0.0019545793, 0.0637186542, 0.0072509497, -0.0301942769, 0.0113900797, -0.0281954315, 0.010405995, -0.022393072, -0.033798296, 0.0218087118, 0.0232840441, -0.0032988789, 0.012940282, 0.059677612, 0.0042291298, -0.0466197692, 0.0017344977, 0.0006738388, 0.0271004979, 0.0082710693, 0.033468578, 0.0050244052, 0.0204135478, 0.0135705769, -0.0344153345, -0.0046277214, 0.0356989689, 2.836e-7, 0.075837791, 0.0609443225, 0.028078733, 0.0134278694, 0.0135004185, 0.0431300551, -0.043962229, -0.0142475124, 0.0872559175, 0.0067868312, 0.0074792602, 0.0378019474, 0.0120694423, 0.0351094194, -0.0488292091, 0.0002314642, -0.0837864354, 0.0015372001, 0.0002486699, -0.0177878421, 0.0538596511, 0.0165775809, 0.028196834, 0.0062020398, -0.0412055366, -0.0026775941, 0.0787392184, -0.0597195663, -0.0238114763, -0.022373341, 0.0265966691, 0.0257432498, 0.0263568349, 0.0300043747, -0.0151558425, -0.0176056027, -0.0180265773, 0.036407508, -0.0418404974, -0.0039541288, -0.0358655639, -0.0067986599, -0.0006248057, -0.0569929332, 0.0734954476, -0.0277901553, 0.0122493347, -0.02762888, -0.06581375, 0.0429998897, 0.0345496051, -0.002068107, -0.0192977246, 0.0206156764, -0.0059208446, 0.0706814006, -0.0066162632, -0.0370868109, -0.0444560051, 0.0096583841, 0.0103743728, -0.0405541882, -0.0298671834, 0.012842441, 0.0111115864, -0.0901630074, 0.0000877641, 2.188532627e-34, 0.0180804748, 0.0151255969, 0.0176353864, 0.0188552737, 0.0299300421, 0.0015821484, -0.0102037527, 0.0071937111, -0.0242667664, -0.0432751402, -0.0167208109 ]
http://arxiv.org/abs/2310.10318v1
http://arxiv.org/pdf/2310.10318v1
Interpreting and Exploiting Functional Specialization in Multi-Head Attention under Multi-task Learning
2023-10-16T11:55:53
2023-10-16T11:55:53
Chong Li, Shaonan Wang, Yunhao Zhang, Jiajun Zhang, Chengqing Zong
cs.CL
cs.CL, cs.AI
Transformer-based models, even though achieving super-human performance on several downstream tasks, are often regarded as a black box and used as a whole. It is still unclear what mechanisms they have learned, especially their core module: multi-head attention. Inspired by functional specialization in the human brain, which helps to efficiently handle multiple tasks, this work attempts to figure out whether the multi-head attention module will evolve similar function separation under multi-tasking training. If it is, can this mechanism further improve the model performance? To investigate these questions, we introduce an interpreting method to quantify the degree of functional specialization in multi-head attention. We further propose a simple multi-task training method to increase functional specialization and mitigate negative information transfer in multi-task learning. Experimental results on seven pre-trained transformer models have demonstrated that multi-head attention does evolve functional specialization phenomenon after multi-task training which is affected by the similarity of tasks. Moreover, the multi-task training strategy based on functional specialization boosts performance in both multi-task learning and transfer learning without adding any parameters.
[ 0.014868821, -0.0391649492, -0.0447365046, 0.0131397843, 0.0127899116, 0.0011714404, 0.0179911312, -0.0105477339, -0.0203594398, 0.0061561144, -0.1033046469, -0.0408989787, -0.0169445276, -0.0255979858, 0.0551907234, -0.0771231726, 0.047732763, -0.0111921392, -0.0464677401, -0.0199800022, -0.0270532575, -0.048210308, 0.0279874522, 0.0172107387, -0.0017781617, 0.0065604933, 0.0089851143, -0.0140019534, 0.0503719337, 0.0163909849, 0.0086955912, 0.0348074734, 0.021147266, -0.0104107093, 0.0000021921, -0.02427781, -0.0095332442, -0.0071010455, 0.0243883524, -0.0280286148, 0.0222044624, -0.0109408619, 0.0253241453, -0.0018194988, -0.0075139608, 0.0279656667, 0.0479434319, 0.059624657, 0.0189039819, 0.0425184704, -0.0246195383, -0.0192710217, 0.0097180726, -0.0276291389, 0.0011577257, -0.0013674677, 0.0045983735, -0.0033672124, -0.0336010084, -0.0184293557, -0.0432933308, 0.0058111325, 0.0347654149, 0.0741614178, 0.0461947955, 0.0401969664, 0.0111161107, -0.0214355998, -0.0189175643, 0.0098417616, -0.093035765, -0.016148163, -0.0150498413, 0.0092003895, 0.0256146025, 0.0041836547, -0.063887693, 0.0272000078, -0.0213194545, 0.0113892164, 0.0032024293, 0.0222211462, 0.020919038, -0.0504819378, -0.0510052778, 0.0188622475, -0.0078301476, -0.0332347229, 0.0254161526, 0.0153802857, -0.0521883443, 0.0470334254, 0.0262848828, 0.0123152817, 0.0117315231, -0.0175085235, -0.0198539309, -0.090263173, -0.0113583924, -0.0265592244, 0.0561433397, 0.0296405312, -0.0575320274, 0.0049342513, -0.0330359265, 0.0280349217, -0.080647096, 0.052279409, -0.0334893428, 0.006187621, -0.0624695309, -0.0085948566, -0.007468658, 0.0106037213, 0.0070330296, -0.0064214286, 0.0316097438, 0.0190415569, -0.002410695, -0.0520926528, 0.0202771109, -0.0092342347, -0.0629273355, 0.0011295129, 0.0166738052, 0.0562252849, -0.0197189674, 0.0289128758, -0.0096471692, -0.0040761661, -0.0298892464, 0.0322330557, 0.0017374216, -0.0299247466, -0.015941672, 0.0394430123, -0.0473778583, -0.0114097139, -0.0239879414, 0.02249231, 0.0326101966, -0.040841531, 0.0788384825, 0.0050631957, 0.029044196, 0.020297084, -0.002257871, 0.0161618646, -0.0166053288, -0.053061422, -0.0128817642, 0.0244314168, 0.0194317568, 0.0255032536, 0.0437880345, 0.0049195155, -0.078796342, 0.0636464804, -0.0002879119, 0.0005739547, -0.0142284408, -0.0226662494, -0.0246516503, 0.0114372661, -0.0357564576, -0.0156393442, 0.0554990135, -0.0598299205, 0.0185527951, -0.0282970145, 0.0477501377, 0.0050590523, -0.0442509875, 0.0297443327, 0.0692222044, 0.0295119546, 0.03861944, 0.0286739338, 0.0441614725, 0.0035231297, 0.0093344068, 0.0514616407, -0.0933920145, 0.0613806024, 0.0152541297, -0.0157887228, -0.0794415846, 0.0306845978, -0.0343008712, -0.0106460536, 0.026074972, -0.0113333743, -0.003574488, -0.0211875122, 0.0738319084, 0.0006509818, -0.036937587, 0.0474325903, 0.0312221199, -0.0183834676, -0.0045459294, -0.0515909828, -0.0220646672, -0.0194352455, -0.034116365, -0.035336148, -0.0176975653, -0.0184827615, -0.0004109488, 0.0150066195, 0.0102319131, 0.0502820909, 0.0282902159, 0.0024898618, -0.0254846942, -0.022884896, -0.0032401285, 0.0176008046, -0.0163448192, -0.0347179584, -0.0005729147, 0.0436518639, -0.01066144, 0.0122914305, -0.0436123312, 0.0308263712, -0.0211216975, 0.0091204494, 0.0103925345, -0.0408347808, -0.0116227288, -0.0024855942, 0.0262577329, -0.0449109711, 0.0152119258, 0.0327743925, -0.0118754599, 0.0955281779, -0.0245270114, -0.033436276, 0.0003383255, 0.073025845, 0.0345659219, -0.0343433581, -0.0130790696, -0.0049463762, 0.0545313843, 0.0199827179, 0.0629432276, 0.0007968923, 0.0498063527, -0.0059695654, 0.0422236174, -0.0019150869, -0.0411221161, -0.0055453051, -0.0449574925, -0.007736688, -0.0504972413, -0.0072845486, -0.0105095226, -0.0247876197, 0.0030029956, -0.0240881108, -0.0203018822, -0.0232965946, -0.0254398938, -0.0366329588, 0.0069089113, -0.0268575139, 0.0343073308, 0.0166915506, -0.015344983, 0.020230582, 0.0285652019, -0.002066799, 0.0288098771, -0.0243970361, -0.0065688198, -0.000515652, -0.0130798817, 0.0107259993, -0.0247751717, -0.0228714813, -0.0155889504, 0.0218720678, 0.0169978086, -0.0128150871, -0.0463235453, 0.0071062706, 0.0779041201, 0.0240081139, -0.0067169396, -0.0090873763, -0.0074671246, -0.0169066489, 0.0678621754, 0.1212100536, 0.0073195044, -0.0330435745, 0.0624919794, 0.0546420477, 0.0186610986, 0.0104349479, -0.0331026614, 0.0050236485, -0.0482415073, 0.0147543177, 0.0165238865, 0.045031976, 0.0173702352, 0.0118659167, -0.0555136427, -0.0330622755, 0.016645683, -0.0619801916, 0.038637463, 0.0026211976, -0.0411003605, -0.0077895047, -0.0547360592, 0.0163161829, 0.0127958301, 0.0589740798, -0.0143428585, 0.0052180421, 0.0276141409, 0.0278760269, 0.0352294743, 0.0142248422, 0.0109763127, 0.021014588, -0.0228307098, -0.0588907078, 0.0466349497, 0.006143298, 0.008462281, 0.058746811, -0.0003481416, -0.0571174845, -0.0108278645, -0.0259418339, -0.0211552214, 0.0407614224, 0.0098693334, 0.040411979, 0.0239276737, 0.0152218221, -0.0806702748, -0.0089283809, 0.0517258085, 0.0404292494, -0.0285510216, -0.0182412155, -0.0122693432, -0.0049405056, -0.0187172256, 0.0516314134, -0.0127315726, -0.0824981183, -0.0129402177, 0.0387109555, 0.0310936272, -0.0206327438, 0.0014821431, 0.012431873, 0.0247664247, -0.0499945953, -0.035029307, 0.0071545811, 0.0640042275, -0.0275136996, -0.0317877866, 0.0395894423, -0.0115034971, -0.0631793365, 0.0148982899, -0.0580522791, -0.0504939631, 0.0133427475, 0.0189325754, 0.030305339, -0.0065092575, -0.0475482196, 0.0150241079, 0.0132861752, 0.0189708117, 0.0642580092, -0.0400655344, -0.0051901382, -0.0103577916, -0.0703983605, -0.0123718586, 0.0182515308, -0.0072794077, -0.0438364074, -0.0134056425, 0.0044902023, -0.0217251424, -0.0407382585, 0.0431226157, 0.0172107071, -0.0118628601, 0.0014388368, -0.0394295454, -0.0532203093, 0.0392052084, -0.0585245751, -0.020521393, -0.0296833888, -0.0291295834, 0.0096780527, 0.0547409207, 0.0193549376, 0.0318153501, -0.0072627584, -0.006227443, -0.0247146953, 0.016900057, 0.0125658931, -0.0318565518, -0.0172355492, 0.04590635, 0.0001987476, -0.0406112485, -0.0069675194, -0.0220548715, -0.0143760853, 0.0405996777, 0.016612852, -0.0743296221, -0.0025314589, 0.009222283, -0.007049486, -0.0497471094, -0.0710974038, 0.0222780779, 0.0054680891, -0.0587812588, -0.0371458679, 0.0329816192, -0.0131370286, 0.0222701561, 0.019925613, -0.0477520637, 0.0407705754, -0.0217341799, -0.022261858, 0.0272520762, 0.0360776298, -0.0372997113, -0.0786000565, -0.0496179126, 0.0398276225, -0.0472982191, -0.0047485717, 0.0195509251, -0.0965075791, -0.0188013278, 0.0502503403, 0.080026783, 0.0170206875, 0.0303335506, 0.0031596408, -0.0220486671, -0.0273243207, 0.0093713421, -0.0374898054, 0.0342854075, 0.0625047609, -0.0516114905, -0.0149238957, -0.0133087346, -0.0233255234, 0.0551621504, 0.053126052, -0.0182787478, -0.0232337695, 0.0494927727, -0.0045866137, -0.0003077496, 0.1047822237, 0.0233118869, 0.0484192148, -0.0142392879, -0.0035734808, 0.0073057744, 0.0287282541, -0.0107545564, -0.0364596583, 0.0303648449, 0.0472661704, 0.0253487304, 0.0242178515, 0.0385832116, -0.0467791334, -0.0620501228, 0.0144785969, -0.0328742974, -0.0218973625, -0.0360103324, 0.0566665009, -0.0256035868, -0.0312073994, 0.038051784, 0.0007866626, 0.0171952527, 0.0426190272, -0.0082699843, -0.0007044619, -0.05602042, 0.0269452855, -0.0937567279, -0.0248045065, 0.0042641242, -0.0388359502, 0.0327720307, -0.0404266864, 0.0208937954, 0.0067614256, 0.0058424543, -0.0353531316, -0.0011933213, -0.0208292659, 0.0502885506, -0.0146575533, 0.0058120578, 0.033311516, -0.056643445, 0.0416497663, -0.0383419208, 0.0037845045, -0.0425101481, 0.0004912756, -0.0399383381, -0.0300608072, 0.0446542427, -0.0072647263, -0.0242722817, 0.0013847185, -0.032011997, 0.0043392587, 0.0182717554, -0.0195327047, 0.0523263328, -0.0369591899, 0.0191232879, 0.0238747522, -0.0187061001, -0.0748558789, -0.0030957796, -0.0486248136, 0.097437948, 0.0428071171, 0.0058446983, -6.265740477e-33, -0.0038386013, 0.024327334, -0.0223220438, 0.0233501643, -0.0246850196, -0.0051621925, -0.0075849029, 0.0167335365, -0.0286636204, -0.0255181547, 0.0086833453, 0.0018041807, 0.0130677586, -0.0209428389, 0.0701114312, 0.0133085605, 0.0245930515, 0.0229852609, 0.0070209233, -0.0148549359, 0.0516953878, 0.0319599733, 0.0974264666, -0.003307743, -0.0466795638, -0.0161360037, 0.0127819898, -0.0174027588, -0.0309534576, 0.0381909609, 0.0024279403, 0.0401328653, 0.0409000888, -0.1115852445, -0.0327099562, -0.0088089872, -0.052993536, -0.0112457536, 0.0012005386, -0.0253292695, -0.0232129656, -0.0139476536, 0.1103105843, 0.0126019055, -0.0073673134, -0.043851994, 0.0556385145, -0.0094617577, -0.0193151869, 0.0270498786, -0.0794621781, -0.0318320729, -0.0023337172, 0.01963857, 0.015878899, 0.0861020461, -0.0483536087, -0.0025902223, -0.0604132339, 0.042412214, -0.0098535363, -0.0089119589, 0.0176018327, 0.0695823431, 0.0324959755, -0.0004901417, 0.0437777974, 0.0503129512, -0.0111436136, -0.0533616431, 0.0258858334, 0.0792062208, 0.0083922828, -0.005705297, 0.0213426519, -0.0250629187, -0.0277538933, 0.0118308775, 0.011908045, 0.0602239668, 0.0260792039, 0.0008958777, 0.0030800672, 0.0117807239, 0.0276305415, 0.0246578716, 0.0014349894, -0.0088766525, 0.0120788608, -0.0048805983, -0.0123662055, 0.0696410835, 0.0307834018, -0.0343081579, 0.1140921712, -0.0239360128, -0.0227330029, 0.0567144305, 0.0081351232, -0.0359289087, -0.0317619443, -0.0536907129, 0.0282628797, 0.0246714409, 0.024508398, 0.0223285928, 0.0375792384, 0.0044852248, 0.0085099041, -0.0168829486, -0.0220501404, -0.0301253852, 0.074901022, 0.038367413, 0.033894144, -0.0094728665, -0.0198278427, 0.0038791292, -0.0010105487, -0.0302706417, -0.0403599404, 0.0258705951, 0.0141971428, 0.0326133743, 0.0153465839, 0.0294408686, -0.0566795059, -0.017685594, -0.0005346336, -0.047731895, -0.0571413152, 0.0084308283, 2.936e-7, 0.0189525336, 0.0126821753, -0.0407336801, -0.0073016831, 0.0315878354, 0.0077597094, -0.024273932, 0.0528188534, 0.0186387561, -0.0136455484, 0.0258777943, 0.0764511898, 0.0063739568, -0.0463744923, -0.0256850068, -0.1367925853, 0.0040655811, 0.0685463399, -0.0129441544, 0.0242809169, 0.0112860519, 0.0446789525, 0.0119087137, 0.0074182493, 0.0209826212, 0.0450025313, 0.0461008474, -0.0157855991, 0.0376593135, 0.0100669432, -0.0168294422, 0.0208525639, -0.0219086409, 0.0362127833, 0.0037538607, 0.001561515, 0.0225705914, 0.0440154523, -0.0453541949, 0.0366436839, 0.0478316471, 0.0546494238, 0.0056354916, -0.0153476009, 0.0493449233, -0.1169191971, -0.0647407323, 0.0201205872, -0.0710735545, 0.0441590101, -0.020898236, 0.0040283822, 0.0191451795, -0.0313041769, -0.0280140415, 0.0239885766, -0.0403457992, -0.0392483771, -0.0090549318, 0.0491492823, -0.0670070499, -0.0173778497, -0.0170820877, -0.101164557, 0.0495872907, -0.0179171376, -0.0401661918, 2.082821476e-34, -0.0231957529, 0.0323386341, 0.060982395, -0.0021386987, 0.0000027913, -0.0436648875, -0.0920930654, -0.0163341705, 0.0011107478, -0.0190987289, -0.027755877 ]
http://arxiv.org/abs/2310.10310v1
http://arxiv.org/pdf/2310.10310v1
Investigating Bias in Multilingual Language Models: Cross-Lingual Transfer of Debiasing Techniques
2023-10-16T11:43:30
2023-10-16T11:43:30
Manon Reusens, Philipp Borchert, Margot Mieskes, Jochen De Weerdt, Bart Baesens
cs.CL
cs.CL
This paper investigates the transferability of debiasing techniques across different languages within multilingual models. We examine the applicability of these techniques in English, French, German, and Dutch. Using multilingual BERT (mBERT), we demonstrate that cross-lingual transfer of debiasing techniques is not only feasible but also yields promising results. Surprisingly, our findings reveal no performance disadvantages when applying these techniques to non-English languages. Using translations of the CrowS-Pairs dataset, our analysis identifies SentenceDebias as the best technique across different languages, reducing bias in mBERT by an average of 13%. We also find that debiasing techniques with additional pretraining exhibit enhanced cross-lingual effectiveness for the languages included in the analyses, particularly in lower-resource languages. These novel insights contribute to a deeper understanding of bias mitigation in multilingual language models and provide practical guidance for debiasing techniques in different language contexts.
[ 0.0135445772, 0.0555152707, -0.0261320993, 0.0592138059, -0.0314783491, 0.0263824947, 0.0741875544, -0.0239740871, 0.0089662466, -0.0661681071, -0.0470042415, -0.0156261194, 0.0240184646, -0.0433032066, 0.0301338769, -0.0811254531, 0.0501699746, -0.0168771539, 0.0342725478, -0.0649738833, 0.0202239733, 0.0343825147, -0.0001294474, 0.0461382009, -0.0200105552, 0.0156530738, 0.0261471383, 0.0362084545, 0.0534033254, 0.0015971109, 0.0282957871, 0.0570053533, -0.0043735667, 0.0556870028, 0.0000015837, -0.0429879427, -0.020182563, -0.0064830338, -0.0029440469, -0.0121281398, 0.0617959872, -0.0533231311, 0.0030237613, 0.0147191575, 0.002953023, -0.0430884659, 0.09236788, -0.0007852358, 0.0186406672, 0.0746646449, -0.0113480398, -0.0293973889, -0.0110680955, -0.0249183755, 0.0131039172, -0.018759368, 0.0271510687, 0.0037985961, -0.0757705495, -0.02329229, -0.0415859856, 0.0107205566, 0.016030984, 0.0300711449, -0.0237966552, 0.0136281932, -0.0359414108, -0.0338821448, 0.0047433791, 0.0415846072, -0.0540140569, -0.0358577818, -0.0263916049, -0.0003819304, 0.0153964823, 0.0185577497, -0.0283810459, 0.0252780169, 0.0081649069, 0.023720786, 0.0345890373, 0.007354538, 0.0256000794, 0.0300498623, -0.0254278965, 0.0443381779, 0.0597096346, -0.0214243699, 0.0460488796, 0.079206571, 0.0257990342, -0.0483711697, 0.0108489981, -0.0384004824, -0.0121239685, 0.0225142948, -0.0258039963, -0.0344454162, 0.0154602146, -0.0427163839, -0.0056159864, -0.0030748381, -0.0681668222, 0.0179684572, -0.0096548107, 0.0118982, 0.000662541, 0.0024875009, -0.0340111405, -0.046783831, 0.0063338093, 0.0329265669, -0.0193647146, -0.0176037606, -0.0047594653, 0.0489899702, -0.0475204177, -0.0296651367, -0.0278448202, -0.0210120492, 0.0198542345, -0.0324019529, -0.0727924332, -0.0048924512, 0.013994934, 0.0565791093, -0.0509274937, 0.0237461794, -0.0262673106, -0.0901726261, -0.0117235398, 0.024116911, -0.0140957581, -0.0896203369, 0.0007868747, 0.0496733002, 0.0193907171, -0.0083143022, -0.0263675302, -0.0072275987, -0.0473390333, -0.0851805061, -0.0096419128, -0.0787272528, 0.0315195061, 0.001932862, 0.0423650481, -0.0366679095, -0.0120352507, -0.027707275, -0.0567806028, 0.0613108091, -0.0164736491, 0.0028485788, 0.0047469721, -0.0170627255, 0.0183729753, 0.1301929355, -0.0263267234, 0.0052579609, 0.063074559, 0.0072416961, -0.0193426125, 0.0732639059, 0.0478539541, 0.009891646, -0.0527126789, -0.014406939, 0.0253223609, -0.0223585274, 0.0751401633, 0.0374119356, -0.020849444, -0.004123373, 0.0562742986, -0.0085721742, -0.0129296305, 0.0271725804, 0.0532440841, -0.0195826087, -0.0002803711, 0.0409700908, -0.0291260928, -0.0193215832, 0.0064887395, 0.0002269455, 0.0294276867, 0.0891116187, -0.0302822702, 0.0007719212, 0.0159722082, -0.0254786834, 0.0316050686, 0.0140875513, 0.0475552306, 0.006746552, 0.0250388235, 0.0646286458, 0.0578896143, -0.0626111701, 0.0297531914, -0.0087638395, -0.0177460089, 0.0325299837, 0.0028989483, 0.0034324101, -0.0365946852, -0.007282678, -0.0064554559, 0.0680667534, 0.0767169446, -0.0194744114, 0.0755228028, -0.0571760312, -0.0466644317, 0.0019277019, 0.0246863607, 0.0547552519, 0.0115177305, 0.067086421, 0.013704, -0.1048669294, -0.0151635492, 0.0348413885, -0.0147332111, -0.0028641538, -0.0103250314, 0.0094904415, 0.0064759138, 0.0301121883, -0.0534970984, -0.0266189035, -0.0089900289, -0.0088757537, 0.0366453864, 0.0410617627, -0.0295234565, -0.0945871994, 0.0358166322, -0.0631618425, -0.0351304598, 0.046407938, -0.0393298157, -0.0140191354, 0.0336834565, -0.013852125, 0.0395737886, -0.0216354709, -0.0020810338, -0.039276246, 0.0084917769, -0.0285213273, 0.0588437282, 0.0061466224, 0.0227176622, -0.0221755225, -0.0679012761, 0.0242058132, -0.048452422, -0.0242414176, 0.0244298559, 0.0165109653, 0.0141464258, 0.0676456466, 0.018587634, -0.0053722844, 0.0007361852, -0.092814602, -0.0118034454, -0.0481613539, 0.0263345707, -0.0014860651, 0.0437209457, -0.0199093502, -0.0508486629, -0.05825321, -0.0688504428, -0.0105559705, 0.0587877482, -0.007828529, -0.0228333622, -0.023274105, -0.0277305078, -0.021963926, -0.0034627179, 0.0653717592, 0.0112715475, -0.0252126306, -0.0286949296, -0.006794096, -0.062773332, 0.0074546007, 0.0146391476, -0.0162704848, 0.0081485119, 0.017795058, 0.021681767, 0.0402287096, -0.0169449542, -0.001397089, 0.0354957022, -0.0184296276, -0.0651639253, -0.0105810845, -0.0049228696, -0.0020879975, -0.035886351, -0.0708215609, -0.0189989414, 0.0403368548, 0.0119998977, -0.0500657, -0.0306724664, 0.0124850953, -0.0112010194, -0.0484690033, -0.0339082293, -0.0048232693, 0.0112429811, 0.0347049274, -0.0322457626, -0.0745150298, 0.0713084489, -0.0108159343, -0.0137093347, -0.0474912487, 0.038902197, -0.0117292637, 0.0174854007, -0.0084398575, 0.0450907536, -0.0044498337, -0.0196713619, -0.0477567241, -0.031690754, 0.0515166521, -0.0183601249, 0.0175422262, -0.0229247157, 0.0004982771, -0.0160939377, -0.0323214307, -0.0319801271, -0.014764607, -0.0109989559, 0.0052865581, 0.0165861864, 0.004521199, -0.0494758785, -0.0220305156, 0.0379616022, 0.0093733091, -0.0285189506, 0.0267789382, 0.0256067384, 0.0406675376, 0.0239511747, -0.029796537, 0.0139836408, -0.0399182327, -0.0022228113, 0.0012974651, 0.022048546, 0.0209105499, -0.0218635257, 0.0109061915, 0.0287612341, -0.0284834076, -0.0088018561, -0.0296751671, 0.0628767908, -0.0136373024, 0.012377277, 0.0961496383, 0.0097787725, -0.0633474514, 0.0011935892, -0.012153714, 0.038324926, 0.0056619723, 0.0197418593, -0.0823431462, -0.0189134274, 0.0024509428, -0.0045458707, 0.0098611461, -0.0130949561, 0.0044799475, -0.1326852292, 0.0041684466, 0.0105020646, -0.0201812964, -0.031902466, -0.0312171355, 0.0088826073, -0.0572388768, 0.029215103, -0.0221216232, 0.0253758337, 0.0174231585, 0.0150638651, -0.0072739921, -0.0610502809, -0.0201276746, -0.0730717033, 0.0496840365, 0.054026477, 0.0336180665, -0.0417212807, 0.0048934668, 0.0207534134, -0.0356145985, -0.03483079, -0.0176541135, 0.0637453347, -0.035179574, -0.0312002413, 0.0117051182, 0.0026486632, 0.0387469716, 0.0120665971, 0.0074152923, 0.02876327, 0.0099208094, -0.0033699954, -0.0053348392, -0.0112054506, 0.0344225056, 0.0717784017, 0.0500591584, -0.0315371715, -0.0097972574, -0.0554757155, -0.0210567433, -0.0379249342, 0.0017123424, 0.0129945353, -0.041200079, -0.051677607, -0.0560858659, -0.0523517802, 0.0124193495, 0.0223291907, 0.0212296732, -0.0011471855, -0.0172437727, 0.0032042617, -0.0088928314, 0.0457010157, -0.0229733214, 0.0302372575, 0.0044064056, -0.0314974971, -0.019248303, -0.0357616954, 0.0036029678, -0.0057563665, -0.0233189352, -0.0902529657, 0.0148635171, 0.047007788, 0.0209921654, 0.0682718009, -0.0115582841, -0.0499667116, 0.0501646362, 0.0214447398, 0.0106525552, -0.0105807139, 0.06928619, 0.0028150764, 0.0093711019, 0.0478975028, -0.0341250338, 0.0398842655, 0.0405284278, 0.0205675662, -0.013890693, -0.0480579846, -0.0098922998, 0.0116381599, 0.0414857008, -0.0641937181, 0.002746661, -0.040678326, -0.0052814768, -0.0303865541, -0.0328215212, -0.0173971225, 0.0042979959, 0.0302314945, 0.0232298076, -0.0026830577, 0.0013500692, -0.0354188457, -0.0375856571, -0.0349055044, 0.0571233705, 0.0352311805, 0.0352563486, -0.007950387, 0.0285148937, -0.0061277067, 0.0181238465, 0.0119046196, 0.0283913072, -0.0103768073, -0.0036145085, 0.0291420482, -0.0077371132, -0.000810794, -0.001125621, -0.0194333903, 0.0343009531, -0.01094002, 0.0054428051, 0.059861891, -0.029508803, 0.0850121006, 0.0169171132, -0.0019485469, -0.0146311792, 0.0076209824, 0.0287393518, -0.016363699, 0.0140026156, -0.0244802851, -0.034422189, 0.0251578242, 0.0974711403, 0.0013509275, 0.0538169034, -0.0301421918, -0.0229592528, 0.0023046182, -0.0182630699, 0.0556199364, -0.0497169867, -0.0284049232, -0.0020939019, -0.0219775308, -0.0922905132, -0.0152967395, -0.0067503001, 0.0129677029, 0.0082482835, 0.0042749871, 0.0752851292, -0.0257662516, -0.0075382362, -0.0322372019, 0.0156056425, -0.0165847093, -0.0232346542, -0.014906574, -5.453470207e-33, -0.0185289774, 0.0243269559, -0.059799958, -0.0334898531, 0.0026685824, -0.0054141898, -0.0254477486, 0.0211147219, -0.053105969, 0.0565534085, 0.0258400142, -0.0206855815, 0.0338999368, -0.001332806, 0.0126347132, -0.0043400005, 0.0356547274, 0.0089545539, -0.0174618457, 0.0112422034, -0.0010683828, 0.0223136637, 0.10452272, -0.0271055605, 0.0643309429, 0.0001792304, -0.0278416183, 0.005206815, 0.0110528199, 0.0382748954, -0.0027472032, 0.0598418787, 0.0146754673, -0.0255801883, -0.0212488435, 0.0028582215, -0.0465673581, -0.058091715, 0.0479749367, 0.0507417582, 0.0172135811, -0.0154996105, 0.0299178045, -0.0196201596, -0.0350231156, 0.0089416727, 0.032009352, -0.0321489833, 0.0045583053, 0.0071826326, -0.0704797581, 0.0353683494, -0.0046801423, 0.0110552898, 0.0406016409, 0.048151467, 0.0069193835, -0.0009524012, 0.0088808052, 0.0239672717, 0.021588577, 0.0048852749, 0.0370045751, -0.0036280625, -0.0111644743, 0.0638905466, 0.0622850843, 0.0050460389, 0.0498577096, -0.0194954257, 0.0484218411, -0.0172518119, 0.0588202439, 0.0970140994, 0.0055255643, 0.0224942863, -0.0621047169, 0.0475766733, 0.0511369072, 0.0074313493, 0.0169405565, -0.0118664885, -0.0215657689, -0.0346404426, -0.0306388345, -0.0715998709, -0.0052999733, -0.0281823669, 0.0140489005, -0.0015860909, -0.0181205831, 0.0382550247, 0.0778089911, -0.0348910131, -0.0138616748, 0.0223835167, -0.0001480586, 0.0030455152, 0.0139403949, 0.0313957371, -0.0447607152, -0.0242577437, 0.0214551799, 0.0530202352, 0.0173598081, -0.0110824034, 0.0702224672, -0.0222172402, -0.0644612089, 0.022210978, -0.0323954336, 0.0030076066, 0.0010610918, 0.0756440312, 0.0465382934, -0.0184874609, -0.0019209305, -0.0138486093, 0.0562336594, -0.0165006761, -0.0408091918, -0.0105621656, -0.0160630103, 0.0500885285, -0.0339286923, -0.0131312404, -0.0071314904, -0.0667663217, 0.0056857802, -0.0263334885, -0.0272378437, -0.0276748519, 2.267e-7, 0.0328780599, 0.0194703117, 0.0120600881, 0.0031574012, 0.0241698064, 0.019704422, -0.0104722837, 0.020821372, 0.0048426706, -0.0129292281, -0.0284189377, 0.0172904897, 0.0650499016, 0.0420038663, -0.0468041599, -0.0069932281, -0.0472819805, 0.0469756462, -0.0359411761, 0.0136974733, -0.0540293455, 0.0897068307, -0.0038341091, -0.0017312536, 0.0029701486, -0.0174755193, 0.0285830088, -0.0386454873, -0.0187824555, 0.0000151507, 0.0265791994, 0.0140645672, 0.0169086624, 0.0417452492, -0.0111598149, 0.0248411726, 0.0239514653, 0.031533286, -0.0208161809, 0.0174886622, -0.0008317475, -0.0034354408, -0.0347551107, -0.097153075, 0.0502449498, 0.0341116525, -0.0198705569, -0.049379129, -0.0101008415, 0.0211046059, 0.0671686903, -0.0471242368, -0.0337239988, 0.0359808877, 0.0501858518, 0.0098069897, -0.0288979672, -0.0379368179, -0.061855793, 0.0056960084, -0.018105654, -0.0620305389, 0.0446230359, -0.0152251897, -0.0167223532, -0.0674671009, 0.0449864939, 1.699865391e-34, 0.0563520379, 0.0032670398, -0.004899628, -0.0190534517, 0.0193578452, -0.0334796384, -0.0409928747, -0.0136324093, -0.017494252, -0.0227380842, -0.0168677773 ]
http://arxiv.org/abs/2310.10294v1
http://arxiv.org/pdf/2310.10294v1
Key-phrase boosted unsupervised summary generation for FinTech organization
2023-10-16T11:30:47
2023-10-16T11:30:47
Aadit Deshpande, Shreya Goyal, Prateek Nagwanshi, Avinash Tripathy
cs.CL
cs.CL, cs.AI
With the recent advances in social media, the use of NLP techniques in social media data analysis has become an emerging research direction. Business organizations can particularly benefit from such an analysis of social media discourse, providing an external perspective on consumer behavior. Some of the NLP applications such as intent detection, sentiment classification, text summarization can help FinTech organizations to utilize the social media language data to find useful external insights and can be further utilized for downstream NLP tasks. Particularly, a summary which highlights the intents and sentiments of the users can be very useful for these organizations to get an external perspective. This external perspective can help organizations to better manage their products, offers, promotional campaigns, etc. However, certain challenges, such as a lack of labeled domain-specific datasets impede further exploration of these tasks in the FinTech domain. To overcome these challenges, we design an unsupervised phrase-based summary generation from social media data, using 'Action-Object' pairs (intent phrases). We evaluated the proposed method with other key-phrase based summary generation methods in the direction of contextual information of various Reddit discussion threads, available in the different summaries. We introduce certain "Context Metrics" such as the number of Unique words, Action-Object pairs, and Noun chunks to evaluate the contextual information retrieved from the source text in these phrase-based summaries. We demonstrate that our methods significantly outperform the baseline on these metrics, thus providing a qualitative and quantitative measure of their efficacy. Proposed framework has been leveraged as a web utility portal hosted within Amex.
[ 0.0751323923, 0.0477462485, 0.000489281, -0.0223742854, -0.0157254003, -0.0026904242, -0.0071270028, 0.0092494227, 0.0073780124, -0.0863438174, 0.0032952297, -0.0155775733, 0.0173601098, 0.0504125655, 0.0012746566, -0.0098520387, 0.0108664175, 0.0368864052, 0.0208198242, -0.005189524, 0.0786487833, 0.0385268778, -0.0048994543, 0.0140451686, 0.0200600307, 0.0085283881, 0.0035444186, -0.0298267212, 0.0149779906, -0.0045702932, 0.0474399179, 0.0329087377, -0.0085556982, 0.0309031419, 0.0000019158, -0.0865130275, -0.0397449881, -0.0302891433, 0.0186132658, -0.0049156118, 0.0850753337, -0.0101662949, 0.0547109842, 0.041095823, -0.030631721, 0.0533603616, 0.0549392141, 0.0762763023, 0.0416222587, 0.050828021, -0.0479291938, -0.0739179552, -0.0309030842, -0.0222004578, -0.0080144536, -0.0331943259, 0.0114416797, 0.0088900961, -0.0450038724, 0.0145028234, 0.0131542645, 0.0133633222, -0.0594268143, -0.0068183537, 0.0424409844, 0.0047836499, -0.0336408429, -0.0038804498, -0.0442412049, 0.047328271, 0.0387413055, 0.0193176828, 0.0484425239, -0.0238385033, -0.0106182862, 0.0408598669, -0.0459987931, 0.07782875, -0.0340331756, 0.0231243502, -0.0283004884, 0.0414981656, -0.0143238576, 0.0110216988, -0.0013512818, -0.0099293273, -0.0237011462, -0.019770097, 0.0038228279, 0.0395134799, 0.0028202981, -0.0547235683, 0.0017515962, -0.0012481542, -0.0023705994, 0.0305651855, -0.0003390023, -0.0467770025, 0.0571870692, -0.1371629685, 0.0293777343, -0.0006225865, 0.0369326025, 0.0619872734, -0.0134225767, -0.0187671538, 0.0220057908, -0.0443380512, -0.0577782579, 0.0198761001, -0.0982532352, 0.0168399643, -0.0024018155, 0.0866311714, -0.0503158793, -0.0186710469, -0.0673072264, 0.0287720859, 0.0158413146, -0.0215371884, -0.0028572644, 0.0185150038, 0.0315602869, 0.0049120719, -0.0271129645, -0.0350095928, -0.0573332869, -0.021703586, -0.0188191067, 0.0166361816, 0.0371027812, 0.0388082378, 0.0520493463, -0.0050911508, -0.028113788, 0.0355602875, 0.033933375, -0.0518470407, -0.0279260017, -0.0749994293, -0.0357506014, -0.0012231985, -0.0117720999, -0.0457486287, 0.0348177813, 0.03059287, -0.0383576714, 0.0470164306, 0.0130496826, 0.0478304997, -0.035825137, 0.0271690805, -0.0325505845, 0.0085757049, 0.0046880259, -0.0273332987, 0.0549862906, 0.0512115248, -0.0250968225, 0.0447941795, 0.0698585659, 0.0025185156, -0.0241570789, -0.0006414972, 0.0230149087, -0.0445443839, 0.0184230506, 0.0300269388, -0.0508070886, -0.0499414802, -0.0086475285, 0.0348124467, -0.0074032005, 0.0488106199, 0.0328602083, 0.0768455714, 0.0017538694, 0.0072875018, -0.0034435668, 0.0763710439, 0.0034575716, -0.0254893489, 0.0495040305, 0.0022557969, -0.043608021, 0.0374010168, 0.066602245, 0.0130353468, -0.0203266833, -0.0539664738, -0.01022535, -0.0074871005, 0.0132026868, 0.0056025172, 0.0091757281, -0.0212889407, -0.0418572389, 0.0484273769, 0.0201561544, -0.0561554991, -0.0124239018, -0.0183236077, 0.0384199284, 0.0680507123, 0.0175119825, -0.0138291065, 0.0150536774, -0.0139915748, 0.0042170077, 0.0560706295, 0.045368623, 0.0112825418, -0.0554045439, -0.0391771458, -0.0571125597, -0.0302719176, 0.0097717075, 0.0005063987, 0.0133609129, 0.0048073605, 0.0254761986, 0.0121949241, 0.0005721875, 0.0093628839, 0.0542981885, 0.0092445705, 0.0159509256, -0.0099040298, 0.0040929429, 0.0707969069, 0.0291955248, 0.004038475, 0.0115247462, 0.0033671635, -0.0693799704, 0.0213075001, -0.0005557184, -0.0161085557, 0.023264233, -0.0224719215, -0.014378326, -0.0116327368, -0.0300817452, -0.0309665501, 0.0572501495, -0.0577077568, 0.0345945917, -0.0264136996, -0.0467054918, 0.0095554283, 0.0298213307, -0.0014633108, 0.0922763422, 0.0125891631, 0.0312072244, 0.0004369492, -0.0712672099, 0.0212609041, -0.0086380439, 0.0216709096, -0.0313090943, -0.0350807086, 0.0372077115, 0.1067690104, 0.0025878178, -0.0442384928, 0.0268744081, -0.110064365, -0.0268659163, -0.0013736082, 0.0186301265, 0.0357137546, 0.033802595, 0.004158291, 0.0000421288, -0.021816548, -0.0121804168, -0.0020978174, 0.0015189634, 0.0618127882, 0.0230783373, 0.006777531, -0.0283529367, -0.0019870729, 0.0154902786, 0.0198385548, 0.0761380419, -0.0940113962, -0.0219459236, 0.0153319789, -0.0337708667, -0.0503912978, 0.0034227669, 0.0361730866, -0.0187099352, -0.0124583505, 0.0460374467, -0.0211886913, 0.0561207198, 0.0479900017, -0.015860159, 0.0101073757, -0.0455566086, -0.0242610071, -0.0721404999, -0.0039865877, 0.0034075652, -0.0108705405, 0.0810759142, 0.0258550085, 0.0089763403, -0.0002313792, -0.06178445, 0.0162570756, -0.0302928686, 0.0233096611, -0.0874244794, 0.0049190195, -0.0240862556, 0.0706491023, 0.0056543169, -0.0240981858, 0.0038298224, 0.0261311047, 0.0235797018, -0.0379834101, -0.0533109419, -0.0736185983, 0.0441783778, -0.0338423401, 0.0413856991, -0.0073811375, -0.0262873508, 0.0597866811, -0.0462047569, 0.001970714, -0.0148951877, 0.0525194742, -0.0067938385, 0.0358006358, 0.0015169528, 0.0216733422, -0.0091048656, -0.08033216, -0.0240175892, -0.0221723914, 0.0565847941, 0.000275438, -0.0300663784, 0.0257930458, -0.0039421241, -0.0293790009, -0.0086731128, -0.0515875593, 0.0319480523, 0.0218950901, 0.0570422336, -0.0420941003, 0.020620726, -0.015716698, 0.0054025641, 0.0479005389, 0.0072157877, -0.0534739383, -0.0015983144, -0.0488597639, -0.0241761636, -0.0639976561, 0.0437158793, -0.0184340943, 0.0364360176, 0.0358462818, 0.0087031825, 0.0940269455, 0.0340657607, 0.0098072002, -0.0132865123, 0.0411567055, -0.0172335971, -0.0101348246, 0.0337355025, -0.0554640144, -0.0224666297, -0.0551146418, 0.0394913107, 0.0018729643, -0.0393413976, -0.0435015, -0.1243491173, 0.0303162634, -0.0285707545, -0.0137954513, -0.0013039028, -0.0387641303, -0.0160735715, -0.0431736559, -0.0047042877, -0.0205579903, -0.0498736426, 0.0110786054, -0.003934761, -0.070591718, 0.0053122286, -0.0117919343, -0.0077512972, -0.0442239717, 0.0242059864, 0.0166708492, -0.0049214661, 0.0352788754, 0.0159019381, -0.0543920845, 0.004448365, 0.0148339448, 0.0480823964, -0.0152570456, -0.0013218161, -0.0253655706, 0.0306833964, -0.0601299033, 0.0166969486, 0.0140017392, -0.0351166874, 0.0073651089, -0.0020562909, -0.0550805591, 0.0327499546, -0.0193607751, 0.0985916257, -0.0058964328, -0.0416457541, -0.0024330229, -0.0242797472, -0.0005324108, -0.0714770257, 0.0046944497, -0.0734716132, -0.0199851673, -0.0032787246, -0.1037214994, -0.0669940859, 0.0080318637, -0.0248825494, -0.0215455983, -0.0048925299, 0.0141339852, -0.0014134826, -0.0365307964, -0.0019194182, -0.0267911348, 0.0327719525, -0.0052325102, -0.0311519299, 0.0308467876, -0.0415054895, -0.0379737876, 0.0304719489, -0.0485811904, -0.0545143671, -0.0115386881, -0.0137306629, 0.0132161621, 0.0197833292, -0.0209198054, 0.0340752676, 0.0259027239, 0.0899914652, -0.0309269186, -0.0139826471, 0.0281707142, 0.0937744975, -0.010320154, 0.0009510796, -0.0800258517, 0.0215914287, -0.0329338424, 0.0106955534, -0.0468517691, -0.0171518996, 0.0196001865, 0.0172626041, 0.0232024491, -0.0097146621, -0.0071474183, -0.0271897987, -0.0589949861, -0.0100656971, -0.007230619, -0.0304416306, 0.0101608783, -0.0292117707, -0.0149477022, 0.0070792628, 0.0654240102, -0.0631866306, -0.014377011, -0.0222929809, 0.0207847487, -0.0214893539, 0.0115481252, -0.0307817981, -0.0105628334, -0.0185558125, -0.0051866658, 0.0252119694, -0.033084143, -0.0147510646, 0.0165263712, 0.0160793159, 0.0001183775, 0.000877869, 0.0433550663, -0.0586700737, 0.0301461238, -0.0104336394, 0.0313427225, -0.0074247774, -0.0698076636, 0.0254406407, -0.0323617198, -0.0026374946, 0.0136295175, 0.0476963371, -0.0016683973, -0.0381445065, -0.0175078958, 0.018636398, -0.0304761715, -0.0225062761, 0.0786404237, -0.0702200085, -0.010847914, -0.0049107173, -0.0243026018, -0.0482198335, -0.0151635958, 0.018003311, 0.0551850647, 0.0047804741, -0.0166140143, -0.0436340235, -0.0259190798, 0.0250034388, -0.0317062289, 0.0394552723, 0.0253585447, 0.0687793493, 0.0455069505, 0.030780552, 0.044717066, -0.0527320802, -0.0085384585, -0.047465574, 0.0011817517, -0.0465322323, -6.396865402e-33, 0.0077440552, -0.0523614027, -0.0051166648, 0.0445488468, 0.0211933833, 0.0262545571, -0.0173314493, -0.0036371723, 0.05322605, -0.0113190953, 0.0138522023, 0.0088186953, 0.0111790225, 0.0176043957, 0.0220519193, 0.0204842426, 0.0161177814, -0.0151682775, 0.0061083147, 0.0383970849, 0.0304458495, 0.0193915647, 0.0183315855, -0.0459360294, 0.0511467345, -0.0266191643, -0.0261773411, 0.0141789829, 0.097591415, 0.040620964, -0.0029891187, 0.0398180634, 0.0305325519, -0.0503315479, -0.0115216943, -0.0078861248, -0.022002345, -0.0490931571, 0.0227179416, -0.0336321667, -0.014836479, 0.0378600173, 0.0181251839, -0.0272764191, -0.009383115, -0.0179085582, 0.0478558689, 0.0013681939, 0.0158208497, -0.0519032925, -0.0461121351, 0.036925409, -0.0407721922, 0.0185446274, 0.0365654416, 0.0336860232, 0.0357989632, 0.013164077, 0.0062384461, 0.0588347279, -0.0084251957, -0.0305384751, 0.0351009816, 0.0165766105, -0.0070090001, 0.0539227016, 0.0009727438, 0.0104615334, 0.0052043437, 0.0549489707, -0.052522175, 0.0235154759, 0.0233771335, 0.0481085666, 0.0183107257, -0.0063910712, -0.0046106274, 0.0599109717, 0.0300685037, -0.0345352925, 0.0363629945, 0.0007170908, -0.0170307625, -0.0160672404, 0.0351806916, 0.0154753411, -0.0271174535, 0.0086353915, -0.0200593565, 0.0445466749, -0.0657266527, 0.0203054193, -0.0140737817, -0.0449443609, -0.0329006985, 0.0160253178, 0.0241110157, 0.0162142012, 0.0173933916, -0.0514725931, -0.0413479246, 0.0186731573, 0.0007805295, 0.0309784673, -0.0299604107, -0.0242234059, 0.0125204539, -0.0223340206, -0.0171390027, 0.0156220589, 0.0222735852, 0.0385247804, -0.0771069601, -0.0103664696, 0.0004788136, 0.0586656444, -0.016488174, 0.065161936, 0.0259522218, 0.0327294171, 0.0068185152, -0.0267951787, 0.01154029, 0.0275912602, 0.0134824822, 0.0063652364, 0.039852608, 0.0282151774, 0.0588538945, -0.0157607161, -0.0345400907, 0.0175261628, 2.752e-7, 0.0530740581, 0.0497921705, 0.0067859478, 0.0153105939, -0.0030606752, 0.041178003, 0.0325213857, 0.0197856054, -0.010778443, -0.0337677822, 0.0097487094, 0.0212244317, 0.0045677298, -0.0204399675, -0.0722841918, -0.0209705606, -0.0393322818, -0.0275587048, -0.0435051508, 0.0696137473, 0.0536038615, 0.0197673049, 0.0099962102, -0.0235542301, -0.0260434952, -0.0465624854, 0.020994775, -0.0391259007, -0.0208650175, 0.011588891, -0.0140725328, -0.0048192912, -0.015285519, -0.0376512259, -0.0200658888, -0.0240128972, 0.0426154993, -0.0115625001, 0.0547251366, -0.005592742, 0.0163615346, -0.0063197426, 0.0235085376, 0.0041548498, 0.018902272, -0.089314729, -0.0234630574, -0.0865212604, -0.0209729578, 0.0274005253, -0.0110884402, 0.0082587823, -0.0504327193, 0.0213195197, -0.019991057, -0.0052652764, -0.0160111673, -0.0680575743, 0.0338425115, 0.003583774, -0.0047099362, 0.028020747, -0.0090024192, 0.0331661105, 0.0254082549, -0.0399725176, 0.0209370106, 2.031864715e-34, 0.0619625598, -0.0146686928, -0.0400746055, -0.0192472078, 0.0347221717, -0.0188310351, -0.037141148, 0.0098801833, 0.0172016993, -0.0492837429, 0.0119055398 ]
http://arxiv.org/abs/2310.10285v1
http://arxiv.org/pdf/2310.10285v1
Multi-Stage Pre-training Enhanced by ChatGPT for Multi-Scenario Multi-Domain Dialogue Summarization
2023-10-16T11:16:07
2023-10-16T11:16:07
Weixiao Zhou, Gengyao Li, Xianfu Cheng, Xinnian Liang, Junnan Zhu, Feifei Zhai, Zhoujun Li
cs.CL
cs.CL
Dialogue summarization involves a wide range of scenarios and domains. However, existing methods generally only apply to specific scenarios or domains. In this study, we propose a new pre-trained model specifically designed for multi-scenario multi-domain dialogue summarization. It adopts a multi-stage pre-training strategy to reduce the gap between the pre-training objective and fine-tuning objective. Specifically, we first conduct domain-aware pre-training using large-scale multi-scenario multi-domain dialogue data to enhance the adaptability of our pre-trained model. Then, we conduct task-oriented pre-training using large-scale multi-scenario multi-domain "dialogue-summary" parallel data annotated by ChatGPT to enhance the dialogue summarization ability of our pre-trained model. Experimental results on three dialogue summarization datasets from different scenarios and domains indicate that our pre-trained model significantly outperforms previous state-of-the-art models in full fine-tuning, zero-shot, and few-shot settings.
[ 0.0308040529, -0.017376719, 0.0251774956, 0.0226325188, 0.001170913, 0.0222056061, -0.0033462974, -0.0403757617, -0.0236203372, -0.056664709, -0.0470639691, -0.0554571263, -0.0098245237, 0.0250747688, -0.0114080338, -0.0967322886, 0.0268769022, -0.0155567247, 0.0198184419, 0.0119854035, 0.0241956748, 0.0219051279, -0.0373623632, 0.0275742933, -0.0088709882, -0.0405146554, -0.0154689811, 0.0052512581, 0.0530695133, -0.0247868393, 0.0217849091, 0.0335780159, 0.0527569242, -0.0295846798, 0.0000019926, -0.054135479, -0.047197096, -0.0209486876, -0.0129985316, 0.0096300794, 0.028118832, 0.0099616414, 0.0227019284, 0.0147019653, -0.0324339569, -0.0156669673, 0.0134957256, 0.0864493176, 0.0889250636, 0.0734812096, -0.0263842158, -0.0573607273, -0.0181955509, -0.0343143977, -0.0697761402, -0.0638249442, -0.0136389406, 0.0328081138, -0.0066609867, -0.0047737737, 0.0206636339, 0.0058778874, -0.0064240037, 0.0100584244, -0.0741407275, 0.0103736306, -0.021702772, 0.0187548809, 0.0111819496, 0.0887186006, 0.0122930603, 0.0474967286, -0.0050722738, 0.0018390854, 0.0249171164, -0.0467382185, -0.0645590797, 0.0249001253, -0.0086091161, -0.0006708642, -0.0502766669, 0.0647228658, -0.0399604477, 0.0047509354, -0.0169264581, -0.0141067309, -0.0195091385, -0.0101070115, -0.0408685841, 0.0129988631, -0.0380254984, -0.0596313179, 0.0005680732, 0.0100475382, -0.0322463289, 0.0048623537, -0.0574643724, -0.0222580992, -0.0020935405, -0.0279968474, 0.0194135085, 0.0071395137, -0.0246015489, 0.0486847721, 0.0097010834, 0.0233754516, 0.0276814774, -0.0082832975, -0.0643319041, -0.0154299149, -0.046672672, 0.0142052677, -0.0726408139, 0.0339132175, -0.0642118156, -0.031361796, -0.0229214784, 0.0279297233, 0.0271227732, -0.042573072, 0.0093417177, 0.0140975807, -0.0213473979, -0.0197919235, 0.0045582098, 0.0239369925, -0.0508177206, 0.0035834063, 0.0415524058, -0.0001784249, -0.0340153836, 0.0351670086, 0.0192280617, 0.0018687606, -0.0142597305, 0.0669915229, -0.0420868695, -0.0426583439, -0.0186995585, -0.0311745517, -0.0324900113, -0.0402097069, -0.0017277821, -0.0036610807, 0.023313297, -0.0180853698, -0.0137652978, 0.0235495307, -0.0262983423, -0.0108541977, -0.0292935278, 0.0418011285, -0.0000424329, -0.0134018315, 0.037494231, 0.021930391, -0.0096418876, 0.0694829747, 0.0396348983, 0.0225685462, 0.0448229872, 0.0243923739, -0.0050096479, 0.0104509955, -0.0087270699, 0.0137024103, 0.0593293272, 0.0103337001, -0.0126327639, -0.0026224807, 0.0360634886, 0.0247452781, -0.0613418594, 0.0053185928, 0.0308429357, 0.0429067165, 0.0206014607, 0.0191506706, 0.051475428, 0.0476650186, 0.0280117504, 0.0773579702, -0.026135467, 0.0285640284, -0.0087223426, 0.0696570724, 0.0590387359, 0.0402728058, -0.0294695999, -0.0075871046, 0.0256145895, -0.0103928521, -0.0056834766, -0.0165498126, 0.0028729537, 0.0250164978, -0.0885502771, 0.0497123189, 0.0174255874, -0.0568492599, -0.0257079564, -0.0311668999, -0.0350043178, 0.0320471637, 0.0079881577, -0.0579369739, -0.0822570845, -0.0271037575, 0.0631071031, 0.0360906385, 0.0467661507, -0.0141332019, 0.0412712246, -0.0526383184, -0.0564528964, -0.041423142, 0.0038847206, 0.0302071087, -0.0101286313, -0.0101752998, 0.0306762401, 0.049264323, 0.0156997889, -0.0019164399, -0.0207453519, -0.0099003864, -0.0091631534, -0.0231235065, 0.0349287018, 0.0335961059, -0.0311299656, -0.0190652255, 0.0087883165, -0.007567619, -0.0093131997, 0.0355907865, -0.0908250362, -0.0796987712, 0.0225262623, -0.0235192701, -0.0007468396, -0.0050487751, -0.0551665872, -0.052055452, -0.0100083072, -0.0063189329, 0.0160737205, -0.0392768867, 0.0125447093, 0.0324692205, 0.009687908, -0.0229301658, 0.0446631014, 0.031821724, -0.0443508551, 0.0467444696, 0.0089640338, 0.0212073456, -0.0057642991, 0.0148144104, -0.0184753332, -0.0027377582, 0.0198398177, 0.03333655, 0.0172189306, -0.0509515032, -0.000601035, -0.1270114034, 0.0257659778, -0.0119962357, 0.0108728213, 0.033944726, 0.0355583541, -0.0319355614, -0.0194047596, -0.0330807529, 0.0144975046, 0.0401236154, 0.0019041685, -0.0024355098, 0.0405098051, 0.0454888642, -0.0429000519, 0.0142789856, 0.0364031941, 0.0532173738, -0.0049187671, -0.0044078021, -0.0267874021, 0.0373763628, -0.0178916976, 0.0115552638, -0.0032058565, -0.0198733155, -0.0057502044, 0.020085685, 0.0622477233, 0.0058249556, 0.0470781997, -0.0046988693, 0.0171044078, -0.0363526084, -0.0130743543, 0.0286828447, -0.0227386691, -0.0002014357, -0.0040486031, 0.0500512421, 0.0326251574, 0.0392707065, 0.0293501299, 0.026982354, -0.028297456, 0.003336214, -0.0085453968, -0.002802809, -0.0047556809, -0.0242427774, -0.042195797, 0.0068136975, -0.0201154947, 0.0184245091, 0.0626768172, -0.0440955944, -0.020951584, -0.0988836065, -0.0084754005, -0.0445518605, 0.0448370799, -0.0251689889, 0.043474514, 0.0314904563, -0.0249543954, -0.0631087348, -0.0265994705, 0.0431831814, 0.0149068367, 0.063272424, -0.0267376099, 0.0010218105, -0.0410200432, -0.0124702258, -0.0242429152, -0.0653536171, -0.0246994626, 0.0157170892, 0.0209194459, 0.0081117442, -0.0456860289, 0.0233764946, -0.0026665342, 0.0782110319, -0.0258940198, -0.0022121295, -0.0192477871, 0.0872651041, 0.0580224805, 0.0337903202, 0.0112547586, -0.0211484078, 0.04820434, 0.034427885, 0.0087416358, -0.0430862755, -0.0045138565, -0.0083737252, -0.0261797551, -0.0561639257, 0.0149688134, -0.0221255738, 0.0700579435, -0.0187235326, 0.0235173963, 0.1094354242, 0.0035512347, -0.0207788385, -0.0228974968, 0.0099584945, 0.0147154704, -0.0043574809, -0.0021554774, -0.0763808414, -0.0523291267, -0.0183984488, -0.015246558, 0.0405641943, -0.01264471, -0.0434446186, -0.059581954, 0.0073771658, 0.0025537114, -0.0366725288, 0.0148912603, 0.0142887365, 0.0056536351, -0.0054553305, 0.0399906039, -0.012721817, -0.0215530321, -0.0160884429, 0.0073304037, -0.0165637024, -0.0143695716, 0.0119806351, -0.0204290487, 0.016092144, 0.0681467056, 0.0248293355, 0.0206246134, 0.0925220251, 0.060990423, -0.0126935476, 0.0323729143, 0.0248608645, 0.0830121338, -0.0160962623, 0.0029198702, -0.0186910499, 0.0099395774, 0.0070235501, -0.0302190632, 0.0358349495, -0.0219654236, -0.0026054895, 0.0020785157, -0.0194767769, 0.0696821883, -0.012874959, 0.057302963, 0.0346967429, -0.0164757613, -0.0007759237, -0.0151114073, -0.0233062562, -0.0699375123, -0.0160866473, -0.0304699894, -0.0341523811, 0.0347873308, -0.0757618621, -0.0603123903, 0.0356255062, -0.0121622495, -0.0217571631, -0.022899339, -0.001195875, 0.0481119305, -0.0261893738, 0.0217577424, -0.0331930853, -0.0235689096, -0.0441550873, -0.0071255071, 0.0962139964, -0.0234938152, -0.0345207974, 0.0396085419, -0.0578251481, -0.0310889203, -0.0418188199, 0.0579418875, 0.0082469173, 0.0771863759, 0.0185705405, 0.0145624159, 0.0419043824, -0.0121233771, -0.0305950046, 0.0238413513, 0.0556688011, 0.0351206027, -0.0346938595, 0.0048409831, -0.0248214453, 0.0681333318, -0.0428986475, 0.0214748997, -0.0189428013, -0.1042178124, -0.0079256976, -0.013385687, 0.0406512655, 0.0255489349, -0.0141253853, -0.0344306119, -0.0015483832, -0.0334202498, -0.0112117417, -0.0568770654, 0.025443254, -0.0391820148, -0.0459863096, 0.0057858666, 0.0270325411, -0.0270819347, -0.004113337, -0.039538864, -0.0035983594, -0.0101212151, -0.0349820927, -0.0296990592, 0.0022292642, -0.0436851233, -0.0075372881, -0.0108006466, -0.0006426326, -0.0170277134, 0.0701830089, 0.0117804194, -0.0040846798, 0.00988553, 0.0657640845, -0.0601588227, 0.0031360313, -0.0524413921, 0.0291057918, 0.0460683629, -0.0205093771, 0.0821465328, 0.0221111197, 0.023160886, -0.0108722681, 0.0428205803, 0.0137227625, 0.0100074643, -0.0338281393, 0.0075639542, -0.0054603866, 0.0283517595, 0.0972150043, -0.0422989167, 0.0248776861, 0.0362850167, 0.0113635566, -0.0591724291, -0.0626209751, -0.0142866801, 0.0654418394, 0.005295244, 0.0195533168, -0.0276355725, 0.0038826468, 0.0023692437, -0.027555922, -0.0172802377, 0.0056933556, 0.068105191, 0.0036658722, -0.0048107547, -0.0087573295, -0.0021953841, -0.0484301262, -0.0031581721, 0.0196071174, -0.0056337984, -5.582333775e-33, -0.0634497926, 0.0013192232, 0.015337673, 0.0009046741, -0.0431193672, 0.0073615909, -0.0372086912, -0.0015722611, -0.0033239147, -0.0003628039, 0.0025064885, -0.0078450302, 0.0206855461, 0.0436819382, -0.0371782072, -0.0073893238, 0.078537561, -0.012529213, -0.011901536, 0.0589290783, 0.01510124, 0.0162737258, 0.0506242439, -0.0735258833, -0.0190579854, -0.0320544653, -0.031796068, 0.0051844278, 0.0654354692, 0.047395207, -0.0048036389, -0.0061782417, 0.0324992985, -0.0649233013, -0.0682494193, 0.003976719, -0.0549916737, -0.0290300995, 0.0234983508, -0.0114146378, -0.0111885499, -0.0132393297, -0.0245764181, -0.0129054589, 0.0611849539, -0.0692632049, 0.0284402389, -0.0450970978, 0.0032468478, -0.0453156345, -0.0535250567, 0.0159920324, -0.0313101038, -0.071610488, 0.0200167056, 0.0785875395, 0.0235105734, -0.0279340893, -0.0170762856, 0.0213011205, 0.0158678722, -0.004324453, 0.0271123964, 0.0193126407, -0.0242966432, 0.0760903284, -0.0063100467, 0.0092646675, -0.0096446117, -0.0064840456, -0.0358157158, 0.0230414625, -0.0222099461, 0.0719974786, 0.0005542896, 0.0391638465, -0.0471495278, 0.0707929656, -0.0217373967, -0.013139965, 0.0164615177, -0.0008658268, 0.022741871, -0.0077049057, -0.0037566831, 0.0480981432, -0.0011095617, -0.0356157087, 0.002403107, 0.0089128111, -0.0281502586, 0.0038202959, 0.0524233952, -0.0355564691, 0.0446486622, 0.0300828014, -0.0333170108, 0.00483103, -0.0278886463, -0.0050430163, 0.0035840734, -0.0072503486, 0.0705215111, -0.0016115604, -0.0059495387, 0.0125935739, 0.0479674786, -0.0143979331, -0.0295097027, 0.0250180624, 0.0419325568, 0.036173448, -0.0268643722, 0.0884717405, -0.0369423814, 0.0145737091, -0.0152798472, 0.081378065, 0.0004941459, -0.0348039418, -0.0068540503, 0.0081838435, 0.0404524431, 0.0329182483, -0.0233972929, 0.036696475, -0.0030102883, -0.0366738513, 0.0327548087, -0.0262975115, -0.0205653124, -0.0076275957, 2.444e-7, 0.0122860968, 0.0193908866, 0.0551384091, 0.001096165, -0.0167967677, 0.0541824587, 0.0129937977, 0.0291623827, 0.0406365171, 0.007136995, 0.0405354686, 0.043782413, 0.0436729267, 0.0006771079, -0.1112141684, -0.0741604865, -0.0321323127, -0.0556278229, -0.0279509537, -0.0257577319, 0.0785560235, 0.0707521662, -0.022647161, 0.0105153751, -0.0188265648, -0.0274621565, 0.0410361327, -0.0191487111, -0.0389885046, 0.0403876714, -0.0175237823, -0.0036891857, -0.0247710925, 0.0004073855, -0.0086469576, -0.004362369, 0.0286905635, 0.0722662732, 0.0360256657, -0.0294632781, 0.0249409936, 0.0319572426, 0.0088961255, 0.0190905761, 0.0486122817, -0.1101889536, -0.0079728328, -0.0266104471, -0.0297082588, -0.0018400636, -0.01579413, -0.0121920742, -0.0100320149, 0.0421870835, -0.0007275577, 0.0068577249, -0.0166058429, -0.0896499678, -0.016318135, 0.0200474635, -0.013940624, -0.0121391648, 0.0205814298, -0.0605806373, 0.0410945825, -0.0686784759, 0.0147304041, 2.14916275e-34, 0.0660117492, -0.0126722893, 0.0004317092, 0.0215316787, 0.0207869671, -0.0287552681, 0.0151882498, -0.0481654704, 0.012325787, -0.0612218007, -0.0173817631 ]
http://arxiv.org/abs/2310.10266v1
http://arxiv.org/pdf/2310.10266v1
Generative Calibration for In-context Learning
2023-10-16T10:45:02
2023-10-16T10:45:02
Zhongtao Jiang, Yuanzhe Zhang, Cao Liu, Jun Zhao, Kang Liu
cs.CL
cs.CL
As one of the most exciting features of large language models (LLMs), in-context learning is a mixed blessing. While it allows users to fast-prototype a task solver with only a few training examples, the performance is generally sensitive to various configurations of the prompt such as the choice or order of the training examples. In this paper, we for the first time theoretically and empirically identify that such a paradox is mainly due to the label shift of the in-context model to the data distribution, in which LLMs shift the label marginal $p(y)$ while having a good label conditional $p(x|y)$. With this understanding, we can simply calibrate the in-context predictive distribution by adjusting the label marginal, which is estimated via Monte-Carlo sampling over the in-context model, i.e., generation of LLMs. We call our approach as generative calibration. We conduct exhaustive experiments with 12 text classification tasks and 12 LLMs scaling from 774M to 33B, generally find that the proposed method greatly and consistently outperforms the ICL as well as state-of-the-art calibration methods, by up to 27% absolute in macro-F1. Meanwhile, the proposed method is also stable under different prompt configurations.
[ 0.0120008755, 0.0270585604, -0.0012169488, 0.0258328933, -0.0355464518, 0.0172941741, 0.0203626528, -0.0070364368, -0.0121748084, -0.048200272, -0.0469718538, -0.0559773445, 0.0078569828, 0.000162182, 0.0200393088, -0.0115311295, -0.0163382441, -0.0202959534, -0.0157634337, -0.0028990444, 0.0024717059, 0.0118973898, -0.0193621498, 0.0119610662, -0.0239716265, -0.0420804359, 0.018555209, 0.0353143178, 0.0223377347, -0.0213295091, 0.0424223021, 0.0424351767, 0.0057930318, 0.0322632715, 0.0000020858, -0.0461371727, -0.0239234809, -0.0091312407, -0.0375701487, -0.0043585682, 0.0575998873, -0.0030846291, -0.0152956294, 0.053721644, -0.0401163995, 0.0074082543, 0.0289183073, 0.0213650707, -0.0079948455, 0.0749540031, -0.0096332589, -0.0098027559, 0.0058366009, -0.0104913982, 0.0072235693, -0.0579010509, 0.0145947523, -0.0110868467, -0.0495348722, 0.0206010379, -0.018387245, 0.0238344409, 0.0357129127, 0.0028519947, 0.0161377899, 0.0427603014, -0.0038867181, 0.0031099338, -0.0318443663, 0.0542422272, -0.0248393472, -0.0421812758, -0.009041545, -0.0549262576, 0.0146055557, 0.0072323936, -0.0267759338, 0.0218806267, -0.0137218935, 0.0354009941, 0.0246727224, 0.0032720617, 0.0579305738, -0.0177520365, -0.0036826399, 0.0578832626, 0.0004030658, -0.0343010984, -0.0091346558, 0.006001675, -0.0482197106, -0.027398359, -0.0018879357, 0.0171136986, -0.063799195, 0.0172080696, -0.071364969, -0.0425571203, 0.0058157616, -0.0361037925, 0.0522221662, 0.0316865854, -0.0026598922, 0.0309488289, 0.0217678621, 0.036533352, -0.0032120857, 0.0045416709, -0.0699082613, -0.0095767044, -0.0415939242, 0.0078456458, -0.0338159874, -0.0363669284, -0.0349851176, -0.0013637512, -0.0519977249, 0.0690354556, 0.010077008, -0.0072917147, 0.0223386493, 0.0040893899, -0.0512472391, 0.0001600214, -0.0036035655, 0.0147956638, -0.0252113547, 0.0372911766, 0.0098849935, -0.0293017197, -0.0086332029, 0.0310050249, 0.0033141281, -0.0306434501, 0.0191933308, 0.0324568711, -0.0098802857, -0.0455622524, -0.0292530805, -0.004170516, -0.0561482385, -0.0717793405, -0.0239333212, -0.0437411405, -0.0138062164, 0.0440096445, 0.0027309244, -0.0384484492, -0.0115449568, 0.0192281976, 0.0001439964, 0.0745789781, 0.0482015796, 0.0017726705, 0.033897087, -0.0196674615, 0.005387404, 0.1024855822, 0.023864923, 0.0048417011, 0.0318016298, 0.0203479026, 0.0288139377, 0.0693530664, 0.0332018174, 0.0286176447, -0.0167395547, 0.00243068, 0.0619122423, 0.0221588649, 0.0452545919, 0.0066157016, 0.0033036687, 0.0160021205, 0.0736333579, 0.0147940191, 0.0106567601, -0.017317662, -0.004223919, -0.0034113266, -0.0348169096, -0.0013788022, -0.0479677692, -0.0026264933, -0.0397140719, 0.0049215765, 0.0361995175, -0.0028181132, -0.0241021384, -0.0376176126, -0.0180558562, 0.0147937564, -0.0490831658, 0.0490504131, 0.0535330921, 0.0163473412, -0.0312731415, 0.0338874534, 0.0276186317, -0.0213561244, -0.0050968481, -0.0260773282, 0.0151023204, 0.0369080268, 0.0259799417, -0.0360691249, -0.0083643785, -0.0079805134, 0.0248526055, 0.027168192, 0.0202866383, -0.0329003073, 0.0020825593, -0.0446018875, -0.0520488545, 0.0041980776, 0.0110044694, -0.0007074528, 0.0348633714, 0.0005811444, 0.0210818332, -0.0630039424, 0.0093500623, 0.0409095958, -0.0493803695, -0.0615620501, 0.0357855, 0.0236737467, 0.0307799336, -0.003380568, -0.0095642675, -0.0113991816, 0.0258128159, -0.0264875609, 0.0148118958, -0.0289541669, -0.0584190451, -0.0491686314, 0.0453313105, -0.0101665612, -0.0019302202, -0.0202957131, -0.0640605018, -0.0400703289, -0.0434898734, -0.0055062342, 0.0168213286, -0.0362328105, 0.0314836502, -0.0296627283, 0.0048876582, -0.0651452169, 0.0511415415, -0.0055482131, 0.00838375, 0.0080093276, 0.0538830161, 0.0081920326, -0.0148595748, -0.0189007744, -0.0335855968, 0.0097188875, 0.0247815456, 0.0116811916, 0.0037146064, -0.0372762978, -0.035832271, -0.1119766533, 0.0303506237, -0.0540854484, 0.0091613745, 0.0413691513, 0.016224904, -0.0270725377, -0.0215006657, -0.0548659749, -0.0231238101, -0.0043498515, 0.0186210088, 0.0191419329, 0.0021344237, -0.0074624303, -0.0131181302, 0.0044757333, -0.0167873427, 0.0410278738, 0.020298712, 0.0228461027, -0.0890907198, 0.0545203052, 0.0308978036, 0.0122452648, -0.0237601511, 0.0312275942, -0.0284193382, -0.0000780986, 0.0620002747, 0.0649576038, -0.0101985885, 0.025143465, 0.0352872685, 0.054371167, -0.0600272752, 0.0018337176, -0.016524652, -0.0538754836, -0.0477727801, -0.0286705997, 0.0030852915, 0.0809112266, 0.0127709508, -0.0069893678, -0.0210597403, 0.0232589804, -0.0130937137, -0.0078697447, -0.0571939647, 0.0224943124, -0.0372620746, 0.0147403292, -0.0038641996, -0.0814376995, 0.0545193404, -0.0443463065, 0.0161204487, -0.0642351285, -0.0424159281, -0.020375384, 0.0381914563, -0.0086946944, -0.0155909806, 0.0459928662, -0.0083713671, -0.0852039605, 0.0083969589, 0.0431901515, -0.0198096409, 0.0512704365, -0.0373844951, 0.0368832611, -0.0136023965, -0.0623539314, -0.0492708981, -0.0710705072, -0.0138649149, 0.0266174637, 0.0140933534, 0.0012944689, -0.0187396649, 0.0180095863, -0.0024251819, 0.047923293, -0.0146822799, -0.0169635732, -0.0135336956, 0.0351518057, 0.0651623607, -0.0177467987, -0.0124217765, -0.0415043235, -0.0280578863, 0.0100268796, 0.0633115619, 0.0139372619, -0.0084918253, -0.0009086619, 0.0375531763, -0.0081417765, -0.0007476434, 0.0538259819, 0.0556342863, -0.0205805153, -0.028482303, 0.1280850172, 0.0261831731, -0.0964530408, -0.0212413967, 0.0073518697, 0.0113227433, 0.0361700244, 0.020122081, -0.0651277751, -0.0381695889, 0.0136423754, 0.0369717292, -0.0011833754, -0.0182417165, 0.0138113583, -0.1236217543, 0.0155006368, -0.0004368349, -0.0504048876, -0.0416475758, -0.0519358292, 0.0048319804, -0.0017737142, 0.0426491424, -0.0005927723, -0.0045058392, 0.0265086479, 0.0511035882, 0.0302005839, -0.053398408, 0.0180350281, -0.0385506712, 0.0442788526, 0.0742048547, 0.0074062883, 0.0141027104, -0.0068560243, 0.061880473, -0.0198332686, -0.0208619237, -0.000940539, 0.0277907774, -0.0062362393, 0.013654151, -0.0009035844, 0.0416824631, -0.04867341, -0.0090922127, 0.0310390946, 0.0779297724, -0.003950295, 0.0207166094, -0.010147457, -0.0326209851, 0.0588692948, 0.0798367709, 0.0210761819, -0.0687839836, -0.0266398638, -0.03128732, 0.0099604512, -0.0065563996, 0.0337561145, 0.0303219259, -0.0239034463, -0.0131484699, -0.0515431389, -0.0071923793, 0.027641166, 0.0687368661, 0.0169943739, 0.0093710022, -0.0207616054, -0.0036422815, -0.0362475701, 0.0224452522, -0.0543863028, 0.0307571627, -0.0586922206, -0.013723881, 0.0349365659, -0.0266057346, -0.0178450812, 0.0489423536, -0.1048229709, -0.0697798654, -0.0245107412, 0.0200756602, 0.0135371098, 0.0675344691, -0.0091111939, -0.0548086576, 0.0910356343, 0.0579089224, -0.0059760311, 0.0268068668, -0.0126124592, 0.024528861, -0.0152404755, 0.0370690897, -0.0491727218, -0.0092200255, 0.0585148819, 0.0424146429, -0.0449586324, -0.0500511564, 0.0161787365, -0.0447167419, 0.0908774063, -0.0546838418, -0.0509365797, -0.0253365934, 0.0299001969, 0.008374528, -0.0420437343, -0.0031260618, -0.0084030004, 0.0509945527, -0.0120628988, -0.0081449402, 0.0376792699, 0.005446611, 0.0674461126, -0.0316699892, -0.0065456014, 0.0213945918, 0.0209728964, 0.0664083809, 0.0080921305, -0.0104831206, 0.0023359985, 0.0505540371, 0.0431674942, 0.0131335314, 0.0770503879, 0.0268415604, 0.0088086948, -0.0469864346, -0.0159598533, -0.0755570903, 0.0096158842, -0.065089561, 0.046472393, 0.0678958818, -0.0195644498, 0.0174449459, 0.0000827128, -0.0238042157, -0.0447344221, 0.0193196572, -0.000998872, -0.0221792944, 0.0439206325, 0.0002168832, -0.0202702247, 0.0158172064, 0.0830673128, 0.0358758382, 0.0316774771, 0.0078366855, -0.0064164596, -0.0264697243, -0.0006119504, 0.0026459636, 0.0101255132, -0.0197501611, 0.0060463278, -0.0416163169, -0.063475579, 0.0277040843, 0.0143806385, -0.0156090865, -0.0304370224, 0.0370454639, 0.0756495669, -0.0402255058, -0.0498147346, -0.0413964875, 0.0354981795, 0.0089442693, -0.022859009, -0.051777944, -6.281429653e-33, -0.0188985821, -0.0202934965, 0.0129409116, 0.0130457701, 0.0185545366, -0.0048272172, -0.0054281242, 0.0088888081, 0.0137117468, -0.0069799148, -0.0395723507, 0.009834514, 0.0308748409, 0.0517096482, -0.00853262, -0.0307177603, 0.0544415154, -0.0451315083, -0.0468512997, 0.0146886157, 0.0104137072, 0.0366699211, 0.0407579653, -0.0737838671, 0.0252623688, -0.0370975249, -0.0006099386, 0.025246555, 0.0167237315, 0.0409299135, -0.0074903844, 0.0505649187, 0.024189746, -0.0342093334, -0.0026944107, 0.038712319, -0.0720244646, -0.0046512126, 0.0048016864, 0.0335112177, 0.0045030536, -0.0186299924, 0.0223393533, 0.0094975382, -0.0530032627, -0.0148465093, 0.0483974963, -0.0406591669, -0.0515705757, -0.0637648106, -0.0279178452, 0.004398508, 0.015740335, -0.0154164862, 0.002161019, 0.0123620238, 0.027548179, -0.000285639, -0.0602892414, -0.00805372, 0.003072384, 0.0367380716, 0.0691643581, 0.0885646865, 0.0122846933, 0.0206425097, 0.0102452114, 0.0336926728, -0.0142021524, -0.061951343, 0.0094768014, -0.0125557138, -0.0144777047, 0.0804421976, 0.055331558, -0.0010620996, -0.0737868026, 0.0379497334, 0.0140853273, -0.0444023795, 0.0583274551, 0.0280262679, -0.0522127263, -0.0420595258, -0.0590626411, -0.0307632275, -0.0281106085, 0.0065317992, 0.0486905687, 0.0357399099, 0.0165734645, -0.0280477256, 0.025385635, -0.061114639, -0.0608242229, 0.009943828, 0.0055000642, 0.0154955797, -0.0132177183, 0.0245352406, -0.0466667414, -0.0284788255, -0.0131308958, 0.0266461652, 0.0088291448, 0.0023605989, 0.0591351427, -0.0046646423, -0.0622859672, 0.0020862911, -0.0438415483, 0.0188158136, 0.0156280845, 0.0698401779, 0.0321181342, -0.0108240247, -0.0000410272, 0.0374778137, 0.0288679413, -0.0073128487, 0.0064597507, -0.041195225, -0.0347175524, -0.0034828193, -0.0515033454, 0.0078213643, -0.0015753686, 0.0068696425, 0.0350358635, -0.0498077534, -0.0060147708, -0.0109603722, 2.645e-7, 0.0642780662, 0.0324798487, -0.0077316626, -0.0004097905, 0.01732154, 0.051621832, -0.0112266755, 0.0329277515, 0.0238669701, -0.017471889, 0.012743664, -0.0059167938, 0.0415526852, 0.00755498, -0.0991188362, 0.0120057371, -0.0234143008, 0.0432217829, -0.0077013518, 0.0237019919, 0.0118980967, 0.1059536487, 0.0303663742, -0.0368956029, 0.013032781, -0.0558286831, 0.0627285615, -0.0577204749, 0.0257564485, 0.0365569592, -0.0109915612, 0.0066376743, 0.0101146251, 0.0480028652, -0.0157693271, 0.0251062475, -0.003420335, 0.0717680976, 0.0076996782, -0.0219633821, -0.0307708587, -0.0102665881, 0.0241089668, -0.0679809824, 0.0594160445, -0.0643556491, 0.011171951, -0.0581839345, -0.0130867744, -0.0539835766, 0.0210609306, 0.0039932057, 0.0052270326, 0.0328614376, 0.0161561705, -0.0020852722, -0.0290231965, -0.0850701109, -0.0436275266, 0.0322385356, -0.0499598011, -0.0492270403, -0.0060466989, 0.010964185, 0.0561602674, -0.0475915894, 0.0411477685, 2.585522784e-34, 0.0198890008, 0.0023756758, 0.0175462253, 0.0135662872, -0.0069612577, -0.0046738563, -0.0092635546, 0.0028654099, 0.0485832952, -0.0835110545, 0.0048022154 ]
http://arxiv.org/abs/2310.10262v1
http://arxiv.org/pdf/2310.10262v1
Enhancing Interpretability using Human Similarity Judgements to Prune Word Embeddings
2023-10-16T10:38:49
2023-10-16T10:38:49
Natalia Flechas Manrique, Wanqian Bao, Aurelie Herbelot, Uri Hasson
cs.CL
cs.CL
Interpretability methods in NLP aim to provide insights into the semantics underlying specific system architectures. Focusing on word embeddings, we present a supervised-learning method that, for a given domain (e.g., sports, professions), identifies a subset of model features that strongly improve prediction of human similarity judgments. We show this method keeps only 20-40% of the original embeddings, for 8 independent semantic domains, and that it retains different feature sets across domains. We then present two approaches for interpreting the semantics of the retained features. The first obtains the scores of the domain words (co-hyponyms) on the first principal component of the retained embeddings, and extracts terms whose co-occurrence with the co-hyponyms tracks these scores' profile. This analysis reveals that humans differentiate e.g. sports based on how gender-inclusive and international they are. The second approach uses the retained sets as variables in a probing task that predicts values along 65 semantically annotated dimensions for a dataset of 535 words. The features retained for professions are best at predicting cognitive, emotional and social dimensions, whereas features retained for fruits or vegetables best predict the gustation (taste) dimension. We discuss implications for alignment between AI systems and human knowledge.
[ 0.0006131136, 0.0370676927, -0.0177825652, 0.0482715517, 0.0106654828, 0.0393615887, -0.0252898261, 0.0386152491, 0.0180187337, -0.0357167013, -0.0510463901, -0.0072323321, 0.0043015569, 0.0236114897, -0.0064424234, -0.0181453768, 0.009805846, 0.0476414412, -0.0104263537, 0.0048522339, 0.0019236995, 0.0087679448, 0.0082926694, 0.0611143075, 0.0183966905, -0.0241026785, 0.0420166664, -0.0312105305, -0.0187994465, 0.0168495551, -0.0284938663, 0.0586788021, 0.0030913474, -0.0182905812, 0.000002134, -0.0446780175, 0.0147068249, -0.0066883471, -0.0151697183, 0.0012154354, 0.0467443503, -0.0044922675, 0.04012876, -0.0412831083, -0.0206825081, -0.0134050399, 0.0307630859, 0.0187987499, 0.0020478931, -0.0022128141, 0.0034665999, -0.0223910343, -0.0862462297, 0.0021823866, -0.0092354352, -0.0260595027, 0.0109283421, -0.0327271931, -0.0344786532, 0.0083250664, -0.0423205309, -0.0149336997, -0.0233554523, 0.0471434221, 0.0216231756, 0.0221352894, 0.0077037802, -0.0284827426, 0.0751696378, 0.0487753749, 0.0122702513, -0.0424670167, 0.0104569467, 0.0016932425, -0.0096430527, 0.0579629205, -0.0124714859, -0.018555481, -0.0010416658, 0.0359028056, 0.0113095595, 0.0213638954, 0.0175472163, 0.0349491164, -0.0050877421, 0.0739259124, -0.0034187895, -0.0050083627, 0.0015922966, 0.0301865973, -0.0006216728, -0.0119566061, 0.0311138518, -0.0268985517, -0.0063753673, 0.0370840393, -0.0331670567, 0.0084429439, 0.0287465714, -0.0642484426, 0.0273820888, 0.0272072423, -0.00015356, 0.0147694368, -0.0060453177, 0.0248259921, 0.0073563098, 0.0046441513, -0.0496330895, -0.0190910734, -0.0893151462, -0.0139372228, 0.0317710415, 0.0488311797, -0.0167315193, 0.0038388444, -0.0378138162, -0.0171629414, -0.0592984073, -0.0018959529, 0.0171085931, 0.0450604334, -0.0170496292, 0.0025031145, -0.0691088885, -0.0295414291, -0.087667115, 0.0214366764, -0.0553966127, -0.0093139075, 0.0032136303, -0.0029793279, 0.0126166977, -0.0286671165, -0.0012842442, 0.0449854583, 0.0529574305, -0.0479753353, -0.0194086693, -0.0716881156, -0.0184500925, -0.0244404841, 0.028996937, -0.0325197577, 0.0405236781, 0.0038997172, 0.0104850065, -0.0940762684, -0.0162695143, 0.0393487811, -0.0660014004, 0.0969437808, 0.051250875, -0.0039918032, -0.0131793479, 0.0260332525, -0.0273388587, 0.0436929129, -0.0088577634, 0.0321400836, 0.0511096939, -0.0023627144, -0.0168079678, -0.0367957987, 0.0179355405, -0.0286847614, -0.0271604545, -0.0186406691, -0.0041258181, 0.0510485396, 0.0531328171, 0.0023336916, -0.0105755497, -0.0793658569, 0.047221899, 0.1220225617, 0.0391613729, 0.058925692, 0.0787723735, 0.0185254328, -0.0089936946, 0.06038009, -0.0649304241, -0.0060577025, -0.0011351072, -0.0367431715, -0.0136240143, 0.0097534806, -0.033609841, -0.0390597358, -0.0040324596, -0.0128412209, 0.0399080068, 0.0077516879, 0.0438625515, 0.0194035806, 0.0074539804, 0.0288476031, 0.0465720296, -0.0520758815, 0.0213494524, -0.021334216, 0.0177741181, 0.0924830437, 0.0048277779, -0.0313155279, 0.0153796608, 0.0246644579, -0.0358730704, -0.0131917242, 0.0293706153, -0.0041229329, 0.0261407066, -0.0207009576, -0.014543497, -0.0049799313, 0.0376995951, 0.0333042517, 0.0038832366, -0.0078160297, 0.0157215577, -0.0331710428, -0.0207556877, 0.0421268083, -0.0677949637, -0.0546225905, -0.0052250922, 0.0277822167, -0.0056353789, 0.0528477877, 0.0138328336, 0.0258519035, -0.0004024144, -0.0327723846, -0.0420317464, 0.0556951016, -0.008286424, 0.0173426326, -0.0045219767, -0.0663629621, -0.0283159576, 0.0102315638, -0.0090032201, 0.0172605757, 0.0458587222, -0.0139356619, 0.029897647, -0.0546293519, -0.0150103001, -0.0378265902, 0.0088160252, -0.0127025601, 0.0560905822, -0.0038739969, 0.0127172377, -0.0513517112, -0.0510207936, 0.023323359, -0.0366751179, -0.0452414118, 0.0058638193, 0.0324788205, -0.0297372807, 0.0124873007, -0.035988912, -0.0545661598, 0.0330875404, -0.0892493948, 0.0103664696, 0.0096010929, 0.0026347409, 0.0122498712, -0.0162546467, 0.0143909371, 0.0013712078, 0.0302284844, -0.0083789453, -0.0482119694, 0.050784301, 0.0286934618, -0.028702002, 0.0083797462, -0.015938431, -0.0137899192, -0.0318034217, 0.0987903178, -0.00250818, 0.0347015038, -0.0341696776, 0.0186178405, -0.0515392981, -0.0033699174, 0.0310598426, -0.0077658338, -0.0333542898, 0.0535234548, -0.0197186731, 0.0387404077, -0.0012662694, 0.0735023469, 0.0472032353, 0.0139955031, -0.0310052056, -0.0520103388, -0.0376166515, 0.0526684113, 0.0073797302, -0.0409327894, 0.0161267389, 0.0321486853, 0.0317829475, -0.0199124683, -0.0651444048, 0.0589176118, -0.0545814037, -0.0496108681, -0.0602107383, -0.0077712825, -0.0007523071, 0.0331180841, -0.0049669174, -0.017733451, 0.0658320114, 0.0052962052, 0.0517463274, -0.0343273915, -0.0253705867, -0.0377274938, 0.0785381794, -0.0166897774, 0.0380581059, 0.0161681399, -0.0219236817, -0.0350421593, 0.0165273715, 0.0151100336, -0.0463075489, 0.0729618371, -0.0187204611, -0.0362108909, 0.0536365993, -0.0186840761, -0.0216088984, -0.0115923565, -0.039489489, 0.0016593375, 0.0341450758, 0.0171083231, -0.0109703336, -0.0375657268, -0.0234699994, -0.0558229834, 0.0251161233, -0.01967833, 0.0164385308, 0.026245283, 0.0221752226, 0.0319578387, 0.0000565241, 0.007107249, -0.0036831805, 0.0443500876, -0.0424984209, -0.0142619321, -0.0136350943, 0.0494991429, 0.0123594236, -0.0732378885, -0.033428371, -0.0299780667, 0.0196432602, -0.0351363569, -0.0123151932, 0.0942778364, 0.0484668985, -0.0427190885, 0.0705249757, -0.0038414367, -0.0222048722, 0.0295652654, 0.0107588256, -0.0096689146, -0.0277894773, -0.0005812876, -0.0010994743, -0.0074290289, -0.0517468713, -0.02634147, -0.0861400962, 0.0019578056, -0.022222491, -0.0096591245, -0.0648251325, -0.0590091161, -0.0083716912, -0.0271278676, -0.0111333784, -0.0363412239, -0.0042086281, 0.0385266691, 0.0046160338, -0.0150831705, -0.034567304, 0.0617666617, -0.044531811, 0.0516307764, 0.0350977331, 0.0813589171, -0.018043926, -0.0725798905, -0.0393278971, -0.00878671, 0.0279686078, -0.0169745125, 0.0619183853, -0.0273488052, 0.0103410054, -0.0439049155, 0.0203470606, -0.0140067553, -0.0443957783, -0.0207103342, 0.0804442093, -0.0153804542, -0.0558744818, -0.0192947537, 0.0039552138, -0.0192041378, 0.1163133532, 0.0481677204, -0.0324746259, -0.0119558545, -0.013296321, 0.0193267707, 0.0144805685, -0.0630864128, 0.0161068272, 0.0062934249, -0.0226793867, -0.02338087, -0.0502318107, 0.0150824394, -0.0043627727, -0.0036637583, 0.0150419595, -0.010841094, -0.0164995696, -0.0681637749, 0.052179683, 0.0076219505, -0.0021585242, 0.0475112759, -0.0157776028, 0.0562142134, -0.0297164675, -0.0729421079, -0.0343618989, -0.0006241727, 0.010770224, 0.0203577187, -0.0173802096, 0.0126999691, 0.0467696935, 0.0004576076, -0.0620564483, -0.0203107186, 0.0059394832, -0.0256575048, 0.024311753, 0.0026176556, 0.0315996706, 0.0310252681, 0.0488074832, -0.0208498053, 0.0411391146, 0.0276863575, -0.0069233323, 0.0186327938, -0.0374849178, 0.0245021544, 0.0013951155, 0.0346795991, -0.0079315444, -0.0206505544, -0.0351396799, -0.0772144347, 0.0070220111, -0.0097720642, -0.0134363379, -0.0402392894, 0.0286691729, -0.0133306431, -0.0524268672, -0.018617874, -0.0544994436, 0.0298505481, -0.0441732444, 0.0255571567, -0.0095888264, 0.026546102, -0.0607817583, 0.0201730207, -0.0172711369, -0.0026344508, -0.0428786092, 0.0196663141, -0.0320677422, 0.0072960132, 0.0027836664, 0.0240827724, -0.072482504, 0.0231300704, -0.0153009137, -0.0077347914, 0.0068009985, 0.0223159995, 0.0263377484, -0.0770226493, -0.0108675417, -0.0173361301, 0.0038282543, 0.0187351517, 0.0317482203, -0.0077350345, -0.0073724953, 0.0496982038, 0.0155386915, -0.0103003252, -0.0435761139, 0.0784679428, -0.0218996331, 0.0407597199, -0.0026538796, -0.0811070427, -0.0149112586, -0.0136281801, 0.0353405811, 0.0641776025, -0.0420859419, 0.0455824696, -0.1162852347, -0.0574835166, 0.0188582055, -0.0107335346, 0.0080179628, 0.0246172361, 0.0430714898, 0.0464396961, -0.0019385307, -0.007434668, -0.0279481038, 0.0119784763, -0.0333098061, -0.036638245, -0.0104320152, -6.370268373e-33, -0.0013986053, -0.0816374794, 0.0025332447, -0.0053299107, -0.0109777227, 0.0089159189, -0.0131424367, -0.0076740128, -0.0229464769, 0.062560305, 0.0298827589, 0.012029185, -0.0051733307, -0.0319559127, 0.0397110172, -0.0560199246, 0.0236944593, 0.0307895821, 0.0165124033, -0.0180207044, 0.044710964, 0.0438616239, 0.0571393259, -0.1100341976, 0.0445118621, 0.0354340933, 0.0489423275, -0.0097817397, 0.0461942889, 0.0368000716, -0.0472726002, 0.0689507499, 0.050273113, -0.053533297, -0.0007228193, 0.0194708351, -0.0456307754, -0.0628458112, 0.035229031, 0.0004141314, -0.0072393301, -0.0099001667, 0.0501215905, 0.0109736845, -0.0352459401, -0.0398033671, 0.0597896427, -0.0014527597, 0.0021073385, 0.0048507303, -0.0658451766, 0.016647771, 0.0110724047, 0.0180905666, 0.0634717569, 0.015317332, -0.0145481294, 0.0488418713, -0.0522865281, 0.0095845517, -0.0728090033, -0.0039076828, 0.0527708158, -0.0281054918, 0.015186308, 0.0775276795, 0.0515586473, -0.0149140581, -0.0415106677, -0.0306515731, 0.0378867351, 0.0449854657, -0.0009434791, 0.0265288614, 0.0493635461, -0.0302080642, -0.0089197289, 0.0042858729, -0.0221574754, 0.0024927917, 0.0126363393, 0.0105065117, -0.0825998187, -0.0123816608, -0.0307803135, -0.0230596028, -0.0566153117, -0.0497393943, 0.0232979897, -0.0531893484, -0.0310181025, 0.0326484218, -0.0281873066, -0.0485646389, 0.0088342223, 0.0175769199, 0.0309093073, -0.0443270616, 0.0245004632, -0.0298409648, -0.0129373502, -0.0392098464, -0.0312988721, -0.0149091901, 0.0575934015, -0.0130865965, 0.0133032659, -0.0092098815, 0.0119896643, -0.0331587568, -0.0308629442, -0.094515264, 0.0156633127, -0.020304855, 0.032513883, 0.065005146, -0.0254275817, 0.0240618605, 0.0726838931, 0.0143612651, -0.0173252448, 0.0040323064, 0.0243779179, 0.0059882882, -0.0056300862, -0.0462885611, 0.0129460385, -0.0151636209, 0.0334219523, -0.023050921, -0.0257297345, -0.0245743785, 2.896e-7, 0.0570307449, 0.0774331763, -0.0153208757, -0.0141653325, 0.0004982913, 0.0497413315, 0.0279648062, 0.0485137887, -0.0073881047, -0.0002726178, 0.0147715034, 0.0295749102, 0.0126072811, 0.0322437882, -0.0323729217, 0.0202174429, -0.0016214933, -0.0113974195, -0.0095570618, -0.0020455907, 0.0714850947, 0.0407170244, 0.0606062785, 0.0172613747, 0.0256227031, 0.0138988532, 0.0221778899, -0.0669516549, 0.0304408036, -0.0363388471, -0.0094973026, -0.0214572512, 0.0346123613, 0.0393121019, -0.0292384289, 0.0183639321, 0.0781274512, 0.0294793453, -0.0469543152, -0.0100104911, -0.0500753932, -0.019060526, 0.0026212863, -0.0625122562, 0.0436690077, -0.0294882692, -0.0727708489, -0.0388192348, 0.0008047193, 0.0274645425, 0.0159275252, 0.0342993811, 0.0078015076, -0.0185318626, 0.0248765014, -0.0018136315, -0.010042524, -0.0494512096, 0.0227717012, 0.0161569994, -0.0566693731, 0.0002328001, 0.0045096939, 0.0107707586, 0.0417633392, -0.0556243323, -0.0259333532, 2.434734179e-34, -0.0175033845, 0.0647270754, 0.0332164057, 0.0182155725, 0.0252109226, 0.0068615018, 0.0094315298, -0.0045186384, 0.060795933, -0.0242318828, 0.0064159748 ]
http://arxiv.org/abs/2310.10260v1
http://arxiv.org/pdf/2310.10260v1
Prediction of Arabic Legal Rulings using Large Language Models
2023-10-16T10:37:35
2023-10-16T10:37:35
Adel Ammar, Anis Koubaa, Bilel Benjdira, Omar Najar, Serry Sibaee
cs.CL
cs.CL, cs.AI, cs.LG
In the intricate field of legal studies, the analysis of court decisions is a cornerstone for the effective functioning of the judicial system. The ability to predict court outcomes helps judges during the decision-making process and equips lawyers with invaluable insights, enhancing their strategic approaches to cases. Despite its significance, the domain of Arabic court analysis remains under-explored. This paper pioneers a comprehensive predictive analysis of Arabic court decisions on a dataset of 10,813 commercial court real cases, leveraging the advanced capabilities of the current state-of-the-art large language models. Through a systematic exploration, we evaluate three prevalent foundational models (LLaMA-7b, JAIS-13b, and GPT3.5-turbo) and three training paradigms: zero-shot, one-shot, and tailored fine-tuning. Besides, we assess the benefit of summarizing and/or translating the original Arabic input texts. This leads to a spectrum of 14 model variants, for which we offer a granular performance assessment with a series of different metrics (human assessment, GPT evaluation, ROUGE, and BLEU scores). We show that all variants of LLaMA models yield limited performance, whereas GPT-3.5-based models outperform all other models by a wide margin, surpassing the average score of the dedicated Arabic-centric JAIS model by 50%. Furthermore, we show that all scores except human evaluation are inconsistent and unreliable for assessing the performance of large language models on court decision predictions. This study paves the way for future research, bridging the gap between computational linguistics and Arabic legal analytics.
[ 0.0588450693, 0.065563105, -0.0149890371, -0.0098288367, -0.0674506053, 0.0411407612, 0.0359771438, 0.0279232804, -0.0292057786, -0.0750814378, -0.004535601, -0.0733660907, 0.0286094006, -0.0001164687, 0.0006756658, -0.0311168395, 0.0183254611, -0.0406780466, 0.055398073, -0.0006959697, 0.0531602949, 0.01600031, 0.019969698, 0.0278696753, -0.0069680852, -0.0016411234, -0.0284746718, -0.044257503, -0.0243103132, 0.0267351158, -0.0023540002, 0.0893052891, 0.0044888691, 0.0320850797, 0.0000018905, -0.0641056523, 0.013388373, -0.0302332845, 0.0007224784, 0.028575236, 0.0270470884, -0.0746891797, -0.0510659739, -0.0017118782, -0.033524856, -0.0022645122, 0.0096599413, 0.0287502799, 0.0398145765, 0.0742264986, 0.015015984, -0.0788614824, 0.0342761241, -0.0589867197, 0.0082355933, -0.0326918662, 0.0281976461, 0.0209995192, 0.0008995734, -0.0270417389, -0.000917953, 0.0064727333, 0.0227146149, -0.0264399908, -0.0566433892, -0.0133163407, -0.0569847226, -0.0117459185, 0.0331717841, 0.0181815699, 0.008019248, -0.038713742, -0.0131649664, 0.0154306171, 0.0345527232, 0.0143497251, -0.0209547523, 0.0951945707, -0.0110296421, 0.0245431978, 0.0532297567, 0.0143961385, 0.0033175326, 0.0204368103, -0.0673697144, 0.0552782267, -0.0004130925, -0.0401257873, 0.0319102556, 0.0377970263, 0.0103241075, -0.0432306603, 0.0174381584, -0.0171024632, -0.0300605483, 0.0109835453, 0.0054425504, -0.0046028025, 0.0459944457, -0.1021303236, 0.0467329621, 0.0718239248, 0.0040611611, 0.0599401444, -0.0714666694, 0.0144900354, 0.0289129205, 0.0146305962, -0.010482356, -0.0231975373, -0.0350804962, 0.0339879952, 0.014211908, 0.0399455167, -0.084888272, 0.0228208099, -0.0728015751, -0.0083878851, -0.0209070798, 0.0327816941, 0.0068215122, -0.0222009346, -0.0045737047, -0.0108107235, -0.0736394972, -0.0461514629, -0.0211310387, 0.0327623487, -0.0452982299, -0.0380967557, 0.0210965741, 0.0001985892, -0.0103696175, 0.0165893566, 0.004126668, 0.0904384404, -0.0149046322, -0.0321696065, -0.0220815856, -0.0211933758, -0.0285217203, -0.0971500352, -0.0547988676, -0.0726327375, 0.0270203073, -0.0005689678, -0.0169024915, -0.0386665612, 0.026184598, 0.0493216589, 0.0165022966, 0.0665659159, 0.0503227822, -0.0082743997, 0.0091503831, 0.0164772738, 0.0445824489, 0.0389731266, 0.0080095176, 0.0325606465, -0.0154275522, -0.0068038409, 0.0265206005, 0.0541126616, 0.0110919829, 0.0127613209, -0.0522524491, -0.0041067614, 0.0056837322, 0.0494778343, 0.0025936244, 0.0482203513, -0.0091868155, -0.0205767043, 0.0306592621, 0.0290444829, -0.0012047942, 0.0746734664, 0.0047388095, -0.0223216768, 0.0613791905, -0.006584995, -0.0593886115, 0.0042112959, -0.0136237359, 0.0171446092, -0.0073922705, 0.0412048362, -0.0125620486, -0.0613779128, 0.0032820508, 0.0029731547, -0.0011005756, -0.0002263334, 0.0694642216, -0.0223649032, -0.0330376476, 0.0079178717, 0.0353885479, -0.0212079845, -0.0309067518, -0.0417480245, 0.0038854207, 0.0343604945, 0.0320083089, -0.0109377904, 0.0037951982, -0.0362558924, -0.008013119, 0.0202021059, 0.0236986466, -0.0079583442, -0.0283590257, -0.0305888262, -0.0382648669, 0.0489703119, 0.0498988964, 0.0095222872, 0.0091076801, 0.0536868572, 0.0234666616, -0.0359115824, -0.0173725095, 0.0336743034, -0.0201015379, -0.0124841733, 0.0189816207, -0.0135873137, 0.0507313423, 0.0273815803, -0.0010600862, -0.0223054886, 0.0119273523, -0.0133903278, -0.0192954689, -0.0047843703, -0.024054125, -0.0060540931, 0.0515228286, -0.0046308646, 0.0066194013, 0.004792992, -0.0553270765, -0.0112219164, 0.0333359614, -0.0132385911, 0.0198516343, -0.0594359674, 0.0290412549, -0.0074767387, 0.002167393, -0.0143313855, 0.040174704, -0.0180931911, -0.0066935704, -0.0153416609, -0.039657753, 0.0458550379, 0.0027430395, -0.0458318293, -0.0012875221, 0.0088462858, 0.0125311641, 0.0378261283, -0.0157778151, -0.0375022702, -0.0444437005, -0.0714265481, 0.0112764891, -0.0305474419, 0.0249426067, -0.0278688185, -0.0131671242, -0.0193796288, -0.0124874106, -0.0234227106, -0.061459247, 0.0047546732, 0.0029329632, 0.02124984, -0.0193462241, -0.0062059304, -0.0433161855, -0.0244502407, -0.0115533322, 0.064132072, 0.0193909016, -0.0240264833, 0.0217008088, 0.0338987112, -0.0279295612, 0.0089999791, -0.0371809602, -0.0178528782, -0.0002167004, 0.0068401541, -0.0242182631, 0.0352489762, 0.0397905931, 0.0129902242, 0.0171542764, 0.002975662, -0.0392966159, -0.0012365154, -0.0112846894, -0.0071010757, -0.0257728081, -0.024449328, -0.0393728204, 0.0103787472, 0.0209698733, 0.0158581082, -0.0274554845, 0.0447925404, -0.0312544368, -0.005995987, -0.0302072782, 0.0093168123, -0.0050152885, 0.0858205333, 0.023558408, -0.0654221922, 0.0346736126, 0.0206462424, 0.0811340213, -0.017002577, 0.0011527296, -0.0787713006, 0.0452730842, -0.008284986, -0.0047404962, -0.0450016595, -0.0278296564, 0.0001736839, -0.0413620919, 0.0334903263, -0.047622405, 0.0861252472, -0.0228466261, 0.0350694545, -0.0233785342, -0.0537289493, -0.0072542522, -0.0251277685, -0.0375047177, 0.018576853, 0.0394063853, 0.0071258661, -0.0547111332, 0.0436335877, -0.0050850306, 0.0030099864, 0.0021842008, -0.0233175345, -0.0036755302, -0.0202726964, -0.0046081529, -0.0543123446, 0.0119473031, -0.0356866494, -0.0116880154, 0.0241505224, -0.0359853096, 0.0077651008, -0.0324972905, 0.0053853565, 0.0249777697, -0.0573705435, -0.0383888707, -0.0028520159, -0.0391671173, -0.0644121841, 0.0654534698, 0.1216366738, 0.0159805398, -0.0295802616, -0.0177793149, 0.0037198283, -0.0025755987, 0.0056959959, -0.0020430579, -0.1251118183, -0.0061801723, 0.022499077, -0.0085778777, -0.0196056254, -0.0189757757, 0.0257084202, -0.1024050862, 0.048909843, 0.0004634586, -0.0126895178, -0.039659135, -0.0359760188, 0.0223332178, -0.0383589864, -0.0232108664, -0.0233239736, -0.0167184249, 0.0207460318, 0.0243605189, -0.0647691041, -0.0245907027, 0.0582790636, -0.042910628, 0.0294721909, 0.0309348814, 0.0373574756, -0.0442337617, 0.0052386881, -0.0075270748, -0.0276251212, -0.0040028691, 0.001682371, 0.0268911216, 0.0147038074, 0.0033413109, -0.0592772439, 0.0034683221, -0.0172965378, 0.005922426, 0.0272533707, 0.0519407727, -0.0432397313, -0.0064244159, -0.0086346166, -0.0092643341, -0.03916182, 0.0669637248, -0.0283248164, -0.0309323203, -0.0617125854, -0.0237474665, -0.0457436815, -0.0578246787, -0.0409928896, -0.0384077542, 0.0268347133, -0.0015995742, -0.027434539, -0.0378409326, 0.0090971878, 0.01259345, 0.0175532717, 0.0572210737, 0.0113872262, 0.0027112111, -0.0235985741, -0.0012946413, -0.0026940801, 0.0138841039, -0.0305143688, 0.0299040396, 0.0025636433, -0.0166695248, -0.0057019768, 0.0017698882, -0.0346217006, -0.0254440028, 0.0090531381, -0.0086476253, 0.0195967183, -0.0033599671, -0.0150717068, -0.0461282954, 0.0615850911, 0.027053684, 0.0055533173, 0.0112766931, 0.0428744666, -0.038559366, -0.022125341, 0.0279652812, 0.0375629589, 0.0328565948, 0.0085971644, -0.0318063386, -0.0155115472, -0.0331514888, 0.0146847283, -0.0156423952, 0.0277114566, -0.0151585229, -0.0880684704, -0.0288116988, -0.0018909775, -0.0263717305, 0.0177849494, -0.0153745087, -0.01706836, 0.0358156189, 0.0271741524, -0.0439730026, 0.0391425081, -0.0140772341, -0.0181651451, -0.0538849086, 0.0531285889, 0.0121305054, -0.0106392391, 0.0102249421, -0.0048134881, 0.0080132214, -0.0329271741, -0.0162414946, 0.0488254242, -0.0335996374, 0.0408744477, -0.0106069259, 0.0387393385, 0.040532019, 0.03510217, -0.0019671903, -0.0025072643, -0.028247986, 0.0538707525, 0.0665187016, -0.0367204323, -0.0008094429, 0.003146478, 0.0062944209, -0.0267023146, 0.0347184129, -0.0176202971, -0.0049264738, 0.0046272026, 0.0164826233, -0.0251834095, 0.0366059616, 0.0346375182, 0.0083455751, 0.0206282903, 0.0185958408, -0.0276118387, -0.0022415635, -0.0306017939, -0.003441199, -0.0154314814, -0.0404932126, -0.0373461358, -0.1134949848, -0.0423228107, 0.0025277936, 0.0186511222, -0.0206244346, -0.0045126942, 0.0088566812, 0.0593595691, 0.0053810137, 0.0288756657, -0.074845016, 0.0143019147, -0.0170354676, -0.0342171304, -0.0084805731, -5.470525161e-33, -0.010800424, -0.0267178807, 0.0249672253, 0.0046297507, -0.0088729328, -0.0282188412, -0.0069180042, 0.0107368231, -0.0233008321, 0.0283012725, -0.0386825018, 0.0303298812, 0.0219718963, -0.0193969049, 0.059924785, -0.0176426861, 0.0158781838, 0.001696247, -0.0218118466, 0.0085517913, 0.0164744295, 0.0142838964, 0.0506598875, -0.0908839852, 0.0426986627, 0.029028384, -0.0407900736, -0.0321647599, -0.0458765365, 0.0811559036, -0.0220982116, 0.0499565564, 0.0192217901, -0.0692724288, 0.0135786366, 0.0164356362, -0.0500201136, 0.0239221845, 0.0189833418, 0.0034060434, 0.0415600128, -0.0109740468, -0.0082410118, 0.0222687703, -0.0739467219, 0.0176658109, 0.020348629, -0.0462313332, -0.0361575596, -0.0379742533, -0.0961055979, 0.0797957629, -0.0203983225, 0.0151973786, 0.0475954711, 0.0260720421, 0.0116295964, 0.0261193719, -0.0610518306, 0.0019311715, 0.0041238191, 0.009691257, 0.0330964848, -0.0398533791, -0.0450792424, 0.064707689, 0.015339897, -0.0114345411, -0.0330273807, -0.0060388721, 0.0249169804, 0.0302977208, 0.0538621917, 0.0738725439, 0.0369063094, -0.0381265134, -0.094598718, 0.0075545162, 0.0142841106, 0.0465852767, 0.0578226969, -0.0395523459, -0.0665206462, -0.0246502552, -0.024406191, -0.044905629, 0.0047998051, 0.0203568637, 0.019887574, 0.0015340154, 0.0660081729, 0.0117434077, 0.0053406744, -0.0236087255, 0.0336533301, 0.038726002, -0.0383521989, 0.0175934508, 0.0037842127, 0.0317507274, -0.0589568056, -0.0446549878, -0.0028614984, 0.0060345801, 0.0076947762, -0.0317539237, 0.047731407, 0.0124105019, -0.0838209838, 0.0007062161, 0.0092892088, 0.0396172367, 0.0424566492, 0.0544367433, 0.0143711232, 0.0104333982, 0.0234898999, 0.0080310917, 0.0296522453, 0.0029440797, -0.0047794487, -0.0393337943, 0.0125594586, -0.0304640867, 0.0167811532, 0.0092869289, -0.00113208, 0.0264214855, 0.0353611894, -0.0046753688, 0.0057651219, 0.0499245934, 2.526e-7, 0.0809914172, 0.055560708, -0.0331345908, 0.011518321, -0.0242556054, 0.0523098819, 0.0128984824, 0.0371273793, 0.0481041521, 0.0218321513, 0.0300825443, -0.0009484707, 0.0732969418, 0.0324578956, -0.0962280706, -0.0223769844, -0.0441201217, -0.0203742515, -0.0742289796, 0.027929632, 0.0203686748, 0.165002197, 0.0062287007, -0.0162129011, -0.0229959935, -0.0278215967, 0.0731036887, -0.0200784616, -0.0540238321, 0.0080783162, 0.0919062719, -0.0460049175, -0.0027327863, 0.0396943875, -0.0065385569, 0.0560405478, -0.000719137, 0.0679967105, 0.0108417915, 0.0874851122, 0.0003646447, -0.0416016281, -0.0017623825, -0.0480199866, 0.0656315386, 0.0159971286, -0.0256268121, -0.0110520339, -0.0063770032, -0.0017967731, 0.0600564703, 0.0204495154, -0.0034480605, 0.0003074943, 0.0388662182, 0.000821452, 0.0065646493, -0.0542200953, 0.0082762735, 0.0063345465, -0.0140821422, 0.0050147353, -0.0028200131, -0.0175542403, 0.0298883822, -0.0531442165, 0.0312061533, 1.980558978e-34, 0.0742912367, 0.0106520439, 0.0024064768, -0.0024932455, 0.0607211217, 0.0230304394, 0.0023459266, 0.0069763912, -0.0133183859, -0.0744113624, 0.027489353 ]
http://arxiv.org/abs/2310.10226v1
http://arxiv.org/pdf/2310.10226v1
Repetition In Repetition Out: Towards Understanding Neural Text Degeneration from the Data Perspective
2023-10-16T09:35:42
2023-10-16T09:35:42
Huayang Li, Tian Lan, Zihao Fu, Deng Cai, Lemao Liu, Nigel Collier, Taro Watanabe, Yixuan Su
cs.CL
cs.CL
There are a number of diverging hypotheses about the neural text degeneration problem, i.e., generating repetitive and dull loops, which makes this problem both interesting and confusing. In this work, we aim to advance our understanding by presenting a straightforward and fundamental explanation from the data perspective. Our preliminary investigation reveals a strong correlation between the degeneration issue and the presence of repetitions in training data. Subsequent experiments also demonstrate that by selectively dropping out the attention to repetitive words in training data, degeneration can be significantly minimized. Furthermore, our empirical analysis illustrates that prior works addressing the degeneration issue from various standpoints, such as the high-inflow words, the likelihood objective, and the self-reinforcement phenomenon, can be interpreted by one simple explanation. That is, penalizing the repetitions in training data is a common and fundamental factor for their effectiveness. Moreover, our experiments reveal that penalizing the repetitions in training data remains critical even when considering larger model sizes and instruction tuning.
[ 0.0143275512, 0.0428017154, 0.0011795319, 0.0399336852, 0.003700088, 0.0178703684, -0.0073203566, 0.0483557582, -0.023644153, 0.0462136827, -0.0233312715, 0.0149231832, 0.0687867552, -0.0019603693, 0.027018046, -0.0498845279, 0.0712455511, -0.0053283176, -0.0062625771, -0.0181421507, 0.0488148555, -0.019104518, 0.0306559335, -0.0035996113, -0.0445007719, -0.0375749692, 0.0126022631, 0.0373816267, -0.0088800183, -0.0200215206, 0.0299731512, 0.0342640541, 0.0106954928, 0.0356864184, 0.0000018538, -0.0124089047, 0.0076880404, -0.0428601801, 0.0018190452, 0.0376119912, 0.0401855521, -0.012708474, 0.0269142054, 0.0018866968, -0.001757271, -0.0184036791, 0.0444034636, 0.080394201, 0.0363106914, 0.0497219488, 0.0041768332, 0.0013967943, 0.0189014915, -0.0672707036, 0.0182192177, 0.0023880063, 0.0255678147, 0.0069093262, -0.0239224881, 0.0003394721, -0.0137534216, 0.0558712557, 0.0762345716, 0.0320288427, 0.0278619546, 0.0511028655, 0.0444177426, 0.0163181107, -0.022825662, 0.0404228754, -0.0636580661, -0.0194737557, 0.0285870004, -0.0074165068, 0.0437641032, -0.053337574, -0.009069181, 0.0044774651, 0.0066746115, 0.04244693, -0.0180392452, 0.0368561894, 0.0421512611, -0.0033864302, -0.0057173269, -0.0449797064, 0.0063096704, -0.0490804501, -0.0179274697, 0.0260943118, 0.0080232071, -0.0352024548, 0.0381100178, -0.0017069771, 0.0002612531, 0.0390805192, -0.0714538917, -0.0198783837, 0.0383895785, -0.0327860005, 0.0554726385, -0.0020238576, -0.0331465863, -0.0060531111, -0.0412501507, 0.0153255779, -0.0094635487, 0.0032935347, -0.0308904015, 0.0282106698, -0.0215297565, -0.030343106, -0.0501718856, 0.0613987446, 0.0644753873, -0.0394983813, -0.02940985, -0.0044443053, -0.0114051495, -0.0245647524, -0.0434149317, 0.0182798039, -0.0540627688, -0.0124984644, -0.0036259843, 0.0198345259, -0.056242425, -0.0133020235, 0.0375542305, -0.0426423214, -0.0395873301, 0.0281699616, -0.0084390799, -0.0184696764, -0.0207304396, 0.0107257934, -0.0307973623, -0.0217276849, -0.0515536778, -0.0294234343, -0.0612556636, -0.0157255083, -0.0059651891, -0.0356779844, 0.0174585283, -0.0233416706, -0.0063425102, -0.0627974048, 0.0160923414, 0.0264689755, -0.0341386423, 0.0495947972, -0.04353844, 0.0065166946, 0.0608713068, 0.0359516852, 0.0524566025, 0.024487203, 0.0124927405, 0.0632957071, -0.0044973209, 0.0268838424, 0.056594938, 0.0461971164, 0.0406760797, 0.0283007324, -0.0572559908, -0.0353388824, -0.0467787385, 0.0517233126, 0.0899747983, 0.0721633881, -0.0451685451, -0.0073748878, 0.0551754571, 0.0080727022, 0.015596617, 0.0095734764, 0.0102702929, 0.0202425383, 0.0144977728, 0.0760669634, -0.0304448586, 0.0381658301, 0.0372601189, 0.02898876, 0.0276475828, -0.0306250695, -0.04237587, -0.0840023905, 0.0483013205, -0.018087633, 0.03227612, -0.0424094573, 0.027714109, 0.0633340627, -0.0202865228, 0.040160805, 0.0081833107, -0.032973472, -0.0188339949, -0.0327699669, -0.0040770383, 0.053352911, 0.0704393908, -0.001475355, -0.0246124528, 0.0001956341, -0.0241783801, 0.0502016991, 0.0096539138, 0.0212281197, 0.0468823314, -0.0569894649, -0.041852247, 0.0121111246, 0.0122584635, 0.0247129612, -0.0088123474, -0.0038625798, 0.0257407259, -0.017239457, -0.0633894876, 0.0715640038, -0.0077778068, -0.059745118, 0.0198355932, 0.0044576307, 0.0028771637, -0.0299784597, -0.0084364312, 0.0372008011, 0.0364159383, -0.0407248475, -0.0278054476, -0.0411806479, -0.1302653253, -0.0279942527, 0.0216059741, -0.0453022644, -0.0264896452, 0.0349252559, -0.0013783727, -0.0283192452, -0.0208842102, -0.0700486302, 0.0189571492, -0.0318177044, 0.0183640067, -0.0229762979, 0.0357541703, -0.0297813434, 0.0499260463, -0.0307058673, -0.0018215692, 0.000411007, -0.0196854044, 0.0076025482, -0.0788092613, -0.0240496919, -0.0348547809, -0.0101930033, 0.0275053177, 0.0314476453, 0.006932809, -0.0365450159, -0.0118173249, -0.0228809156, -0.0227117538, -0.0054283603, -0.0277592428, 0.0258270986, -0.0094257686, -0.0224154107, -0.047608465, -0.028377315, -0.0014736537, -0.0271854009, 0.0217246171, 0.0785000399, -0.0184189063, -0.0106130354, -0.0205495525, -0.0394295901, 0.0162001587, 0.0271802619, -0.0222316738, -0.0485505424, -0.0797480121, 0.0686124861, -0.0109888855, -0.0057450095, -0.0013661862, -0.0233783554, 0.0267174989, 0.0288218167, 0.078451626, 0.0627086833, 0.0323653519, 0.0369416215, 0.0240786094, 0.0054741334, -0.0480259657, -0.0163233355, -0.0396978855, 0.0266402569, 0.0032111935, -0.0488144197, 0.053068269, 0.0043314174, 0.0276232921, 0.0321200788, -0.0276278928, -0.0212481543, -0.016599182, -0.0210612547, -0.0056416974, -0.0228517409, -0.0213290248, -0.0203566067, -0.0180938765, -0.0621242188, 0.048368603, 0.006499208, 0.0122398892, -0.0425213128, 0.0126840044, 0.011883771, 0.0217722561, -0.0104973754, 0.0181013737, 0.0678823888, -0.049403999, -0.0598834716, -0.0239244737, -0.0087853204, -0.009162847, 0.0616688468, 0.0170005299, -0.0207671206, 0.0068192091, -0.0258029494, -0.0419394821, -0.0057772249, 0.0203807466, -0.0335856378, -0.0410489999, 0.0240088068, -0.0376095101, -0.0565938838, 0.0260059815, 0.0591081902, -0.0340454914, -0.0316138603, -0.0079503497, 0.0661718845, 0.0366314016, -0.0226736646, 0.003211936, -0.0774927586, 0.0088372361, 0.0548561513, -0.0197944101, 0.0437388904, -0.0444069654, -0.0222910773, 0.0124588422, -0.0094819004, -0.0057486375, 0.0333515406, 0.0238105711, -0.0895103067, -0.0314896032, 0.0661918893, -0.0140698347, -0.0758134052, 0.0181732588, 0.0124827595, 0.0886281803, -0.0002860229, 0.0052295835, -0.0497788973, -0.0448054746, -0.0093867267, 0.0133664729, 0.0456872098, 0.0400863104, 0.0147508802, -0.0602208003, -0.0162861142, 0.0046953126, -0.011756978, -0.0495116115, 0.0184788611, -0.0149100684, 0.0119508887, 0.0521780252, 0.0010768642, 0.0001454672, 0.0030927898, 0.0254688617, -0.0099345706, -0.039998211, -0.0266637616, -0.0397468433, 0.0426281691, 0.0789870694, 0.0298389699, -0.0221339855, -0.0254423954, 0.0075972755, -0.0290752929, -0.0151718762, 0.0001578073, 0.0950636119, 0.0310641006, -0.0018360221, -0.0480297506, 0.0266490653, -0.0167689025, 0.0033996236, 0.0156365223, -0.0112732602, -0.0058470895, -0.0518741049, -0.0595675223, -0.0195281245, -0.0044750487, 0.0824338943, 0.0505935699, -0.0329775177, -0.0385598093, -0.0339044407, 0.0312953107, -0.0589587204, -0.0185107216, 0.0030042522, -0.0195842981, 0.0023385591, -0.0757492334, -0.0428159237, -0.039828714, 0.0096562272, -0.0204783194, 0.0260936283, -0.0047300602, -0.0541318022, -0.0253941361, 0.0191953443, -0.0282483548, -0.0100371549, -0.0428871401, -0.0119980779, -0.0475688614, -0.0092638191, -0.0079211434, 0.0208912436, -0.1191687882, -0.0334261879, 0.025875926, 0.0363539308, 0.0164416935, 0.055375699, -0.0002444382, -0.0409992449, 0.0834321156, 0.0192258582, -0.0056520249, 0.0178395398, 0.0287815873, -0.0051290188, 0.0159753319, 0.0509552173, 0.0088655706, 0.0170916878, 0.059040986, 0.0118249953, -0.01238521, 0.0350421593, 0.0278726015, -0.0092643872, -0.0067023644, -0.0130935209, 0.015066552, -0.0294307023, -0.0038837944, 0.0104813855, -0.0158971474, -0.037303187, 0.0700779632, 0.018613765, -0.0049246508, -0.0048564156, -0.0189314131, 0.0087096887, 0.0048036696, -0.0467977971, -0.053850513, -0.0044854945, -0.020576179, 0.0104193836, 0.0259482376, -0.000687383, 0.0611995459, -0.0405147523, 0.008092857, -0.0109511251, -0.0007763666, 0.0384364352, -0.00011843, -0.0464767739, 0.0399297066, -0.0106157344, -0.0030371835, -0.0243871789, -0.0250234921, 0.0305140615, 0.0027963796, 0.0676622391, -0.0128834257, 0.0207966752, -0.006333949, -0.0407068059, -0.0302481484, 0.0046239835, -0.0321892053, 0.0126962978, -0.0281182006, -0.0103559811, 0.0959881395, -0.0183630455, 0.0031557425, 0.0236829109, 0.0088394489, -0.0404388346, 0.0081719421, 0.0563565157, 0.0286557861, -0.0281603951, -0.0268633831, 0.0241391119, -0.0715638772, 0.0048635756, -0.0060313633, 0.0346697681, 0.0071592615, 0.0484088771, 0.0057678358, -0.0412027054, -0.0141879646, -0.0047274246, 0.0174424257, 0.0006731899, -0.0454752743, -0.0200261921, -5.909509485e-33, 0.0181243382, -0.0038390164, 0.002191565, -0.0329689458, -0.0349252038, 0.0191845577, -0.0592290983, -0.0270929243, -0.0133241098, 0.040298216, -0.0017822101, 0.0333020203, 0.0125384256, 0.0259259623, 0.0211111903, 0.0163363479, 0.0557621904, -0.0137388129, -0.0445402116, 0.053725861, 0.0188302491, 0.0347237922, 0.0455711111, -0.0370839424, 0.0063240519, -0.0077227913, -0.0530999377, 0.0010829306, 0.0355561897, 0.0396857262, -0.0491120666, 0.0389117599, 0.0392960683, -0.0686001703, -0.0536476187, 0.0397707, -0.0746125206, -0.0547374226, -0.0508026481, -0.0192316622, -0.0644397885, -0.0050373622, 0.0983087644, -0.023622673, -0.0220865235, 0.0175294969, 0.0371382833, 0.0004869857, -0.0780372247, 0.0346649289, -0.0550338514, 0.0155122131, 0.0326554738, -0.0145480847, -0.0115107698, -0.0122376252, -0.0324872211, 0.0036373409, -0.045397792, -0.0018787872, 0.0101798596, 0.0780813694, -0.0268122721, 0.0186611451, 0.0117921177, 0.0309334751, 0.0790540576, 0.0320861377, 0.0159485098, -0.0271359701, 0.0372418649, -0.0306903739, 0.0834485218, -0.0205753334, 0.1086698622, -0.031436488, -0.0174444206, 0.0117297787, -0.0326894782, 0.0417882167, 0.0341432467, 0.011255946, -0.0440124944, -0.054836981, -0.0130791487, -0.0035411157, -0.0133261429, -0.0134185525, 0.0284431297, 0.0445080474, -0.0020094318, 0.0246190224, -0.0195631552, -0.0091114948, -0.0239262842, 0.0296217725, -0.0095661944, 0.0161767583, 0.0348896571, 0.0007343442, -0.0444138274, 0.0080691958, 0.0015228986, 0.0411232375, 0.0121624731, 0.0097047193, 0.0820763409, -0.0075130351, -0.0677628666, 0.0021041117, -0.0003642574, 0.0043659993, 0.0261632483, 0.023567412, 0.0060649873, -0.0188519768, 0.0032469223, 0.0325883664, 0.0501477867, -0.0234478116, -0.0447990336, 0.0053297505, 0.0248147417, 0.0348397382, 0.004180437, -0.0269038938, -0.0660895631, 0.0132856658, 0.0415185206, -0.0663290024, -0.017218506, 0.0117288083, 2.414e-7, -0.0105390279, 0.0379216932, 0.0345381014, 0.0038643784, 0.0288511571, 0.0368470401, -0.0137429433, 0.0300288461, -0.0431246236, 0.0114603722, 0.0193544682, 0.0179954004, 0.0597373098, -0.0029325408, -0.0444804542, 0.0156809986, -0.0784133673, 0.0362366885, -0.0556690954, 0.008344451, -0.0066951313, 0.0695395768, -0.0022755514, -0.0311493166, 0.0470598415, -0.0208971575, 0.0350609273, 0.0180642437, 0.0555632152, 0.0086022252, 0.0420793109, 0.0103176273, 0.0229050815, -0.0187288746, -0.0245269015, -0.0214405712, 0.0147040468, 0.0412867181, -0.0200165734, -0.043780569, 0.014915891, 0.0197956655, 0.0180180985, -0.0488273501, 0.0322347023, -0.0274788011, 0.0028189688, -0.0318494439, 0.0328351334, 0.0157755185, 0.0734651312, -0.0048619374, -0.0721502081, -0.0106960302, 0.0344953761, 0.0326721445, -0.0502282679, -0.0963337868, -0.0287400875, -0.025469197, -0.0616296157, 0.0385418087, -0.113216348, 0.0184746329, 0.0367293097, -0.0561502427, -0.0191920176, 2.216392073e-34, 0.0139909117, -0.072719112, 0.0304132625, -0.0063924966, -0.0078291325, -0.0039981864, -0.0066713318, 0.0014897984, -0.0094558494, -0.0345962159, -0.0409930907 ]
http://arxiv.org/abs/2310.10195v3
http://arxiv.org/pdf/2310.10195v3
AdaLomo: Low-memory Optimization with Adaptive Learning Rate
2023-10-16T09:04:28
2024-06-06T13:22:25
Kai Lv, Hang Yan, Qipeng Guo, Haijun Lv, Xipeng Qiu
cs.LG
cs.LG, cs.CL
Large language models have achieved remarkable success, but their extensive parameter size necessitates substantial memory for training, thereby setting a high threshold. While the recently proposed low-memory optimization (LOMO) reduces memory footprint, its optimization technique, akin to stochastic gradient descent, is sensitive to hyper-parameters and exhibits suboptimal convergence, failing to match the performance of the prevailing optimizer for large language models, AdamW. Through empirical analysis of the Adam optimizer, we found that, compared to momentum, the adaptive learning rate is more critical for bridging the gap. Building on this insight, we introduce the low-memory optimization with adaptive learning rate (AdaLomo), which offers an adaptive learning rate for each parameter. To maintain memory efficiency, we employ non-negative matrix factorization for the second-order moment estimation in the optimizer state. Additionally, we suggest the use of a grouped update normalization to stabilize convergence. Our experiments with instruction-tuning and further pre-training demonstrate that AdaLomo achieves results on par with AdamW, while significantly reducing memory requirements, thereby lowering the hardware barrier to training large language models. The code is accessible at https://github.com/OpenLMLab/LOMO.
[ -0.0071436106, 0.1053645983, 0.0175035819, 0.0440537296, 0.0292078201, 0.0137691228, -0.0094528636, -0.0218148865, -0.0393608697, -0.0266456529, -0.0475196019, -0.0469284207, 0.017685743, -0.0098913135, 0.0156326368, -0.0084641567, 0.0412893482, -0.0547290184, -0.0139926998, -0.0082257679, 0.0009485598, 0.0167554971, -0.0074966224, 0.0241766963, 0.0285317078, 0.0001897608, -0.0337626971, 0.0184638873, 0.0296253171, -0.0311385076, -0.0069047422, 0.0261676479, 0.0060158935, 0.0638446733, 0.0000021196, -0.0356390588, 0.022422513, -0.0221728347, -0.0091722356, 0.0641925856, 0.0300435517, -0.0191214699, -0.0276206899, 0.0253236983, -0.0028026355, -0.0770764798, 0.0461808592, 0.0065723076, 0.031123491, 0.0891404152, 0.0084408615, -0.0337945782, 0.0372714959, -0.047070168, -0.0217433609, -0.0539008901, 0.0068785078, -0.059615586, -0.0270859823, 0.0128111653, -0.0175709017, 0.0408841781, -0.0214122944, 0.009410941, 0.0050176093, 0.0417500101, -0.0151155712, -0.0285485256, -0.0081868842, 0.0594004281, -0.046878349, -0.0317989886, 0.0025308609, 0.0064172298, -0.0252420232, -0.0112652192, -0.020170752, 0.0542957112, 0.0223970301, 0.0169651788, -0.0045278114, -0.0315732621, 0.0585787706, 0.0186212119, -0.010030115, 0.0471565239, 0.0233132895, 0.0203875042, 0.0145205744, -0.035823524, -0.0487143509, -0.0118156523, -0.0066857757, 0.0378244445, 0.0145154539, 0.0272912886, -0.0650174394, -0.0471635424, 0.0209347699, -0.0768210664, 0.0692965612, 0.0256099328, 0.0367826037, 0.0438779742, -0.0314759612, 0.0121573824, -0.0147259114, -0.0382203534, -0.0252232496, -0.0010728309, -0.0053291661, 0.0182473678, -0.0255646054, 0.0431504212, -0.0268604085, -0.0114501277, -0.0221878067, 0.0022171501, 0.0003046271, -0.0185621157, -0.0158875864, 0.0118895359, -0.011187504, -0.0035519211, 0.0018055808, 0.0400028005, -0.0210705809, -0.0007288113, -0.0369636528, -0.0304027479, -0.0297134668, 0.0307667721, 0.0323218405, -0.0030013388, 0.026544245, 0.044147402, -0.0215792973, -0.0389794186, -0.0595382825, 0.0113803986, 0.0055037509, -0.0578450859, -0.0046942565, -0.0637424141, 0.0377519019, 0.0046021175, 0.0025097122, -0.050695654, 0.0435067303, 0.0390038267, -0.0403266437, 0.051249817, 0.0018353546, -0.0247733966, 0.0462953821, 0.0059377481, 0.064756304, 0.08340808, 0.0268197171, 0.0243262928, 0.0045123128, 0.0132298432, -0.0282189939, 0.034945298, 0.050745815, 0.0400627218, -0.0130234156, -0.0124511272, 0.0194237418, 0.0480648242, 0.0613436997, 0.0619135685, -0.0158850644, -0.0399207585, 0.0603284016, 0.0202429052, -0.0078403605, 0.0639756545, 0.0001077007, 0.0038810705, 0.0022018645, -0.0738843977, -0.0310168266, 0.0491956919, -0.0731762946, -0.0037627586, 0.0225903839, 0.0556332581, -0.0490866639, -0.0145647563, -0.0068095601, -0.0395358056, -0.0081815822, 0.0069025713, 0.0410375819, -0.0325245, -0.0581594743, 0.0478434861, 0.0221916828, -0.0308419652, -0.030280361, -0.0485712327, 0.0135178166, 0.0059023243, 0.018412346, -0.0103825554, -0.0170756038, -0.0398393944, 0.0159876999, 0.0175145268, -0.0068494151, 0.0191602893, 0.0493415929, -0.0524126068, 0.0050936253, 0.0010034576, -0.0212418213, 0.0381630063, 0.0377188064, 0.0596801788, 0.0338264368, 0.0365301482, -0.0356448591, 0.012531857, -0.0247244611, -0.0448984616, 0.0196905658, -0.0103441691, 0.021451002, -0.0025968119, -0.0051787319, -0.000666716, 0.0282729417, -0.0527387001, -0.0215516314, -0.0318014026, -0.0802736431, -0.0201434176, 0.054303389, 0.0073178611, 0.0685648322, 0.0325012766, -0.0278292596, -0.0738262311, 0.0674357489, -0.0181194134, 0.0591764189, -0.0436140634, 0.019729808, -0.0181111619, 0.0712087899, -0.0043528606, 0.0175190307, -0.0452365503, -0.0074379472, -0.0158668347, 0.0243827347, -0.0059918906, 0.0123310294, -0.0737036467, 0.0179564543, -0.000320582, 0.0614968129, 0.0081732469, -0.0196832605, 0.0130762979, -0.0026599772, -0.0715168491, 0.0353550464, -0.0479397289, -0.0133008808, 0.0291053411, 0.0161801521, 0.0177686997, 0.0014692927, 0.0141743589, 0.0351206213, -0.0620042123, 0.0047442014, -0.0082174903, 0.0154755292, -0.0214279853, -0.0077485731, -0.037085101, 0.0131739862, 0.0354923457, -0.0303121377, -0.0167243537, -0.0360013731, 0.0356969796, -0.0331337564, 0.0328159742, 0.000731294, -0.0339256339, -0.0271125361, -0.0330011062, 0.0487832054, 0.0812004581, -0.0002387132, 0.0254051499, 0.0578427203, 0.0234564058, -0.0267373584, 0.0262254234, 0.0065729544, -0.0078667114, -0.0077434904, -0.0210020225, -0.0038376004, 0.10265892, -0.0349840298, -0.0156561583, -0.0221437793, -0.0065797111, -0.0099670319, -0.0294733848, -0.0082993768, 0.0286890157, -0.0217275023, -0.0165962372, 0.0057876557, -0.0394955613, 0.0283191148, -0.0488341227, -0.0453906544, -0.0351452865, -0.0219789539, -0.0445016287, 0.0363224223, 0.0109026479, 0.0270944778, -0.0381075777, -0.0066311937, 0.011412181, -0.0210228376, 0.0192876793, -0.017198652, 0.0630928278, -0.0191945955, 0.0235227048, -0.0438831486, -0.036020495, -0.0018845194, -0.0117677152, -0.0112064565, 0.0065115704, 0.0134201413, -0.0611083508, -0.0627821907, 0.015736049, 0.0284363329, 0.0753721446, -0.0202985127, 0.0039154161, -0.009439081, 0.0392903984, 0.0694593191, 0.0034064632, 0.0032930532, -0.0201458205, 0.0456170924, 0.0426509716, 0.0464231819, -0.0202442575, -0.0603394583, -0.0179217365, 0.0206916612, 0.0072885375, -0.0203519091, 0.0246331263, 0.0073457002, -0.0456564762, -0.0014550935, 0.0982585624, 0.0205239169, -0.076717332, -0.0118683921, 0.0019620103, 0.0609592535, 0.0321740806, 0.0244882405, -0.0052656359, -0.0379635021, -0.0017890348, 0.0329706073, 0.0341199711, -0.0431672856, -0.0278087426, -0.0928309932, -0.0298041608, 0.0163032617, -0.0378213711, -0.0353522375, -0.0599953458, -0.0273686498, -0.0168684609, 0.0222764835, 0.0415932834, -0.0131748393, -0.0022199901, -0.0043526613, -0.0229086876, -0.011687356, 0.020104697, -0.0235156622, 0.0671104193, 0.0136304293, 0.0136298882, -0.0091063473, -0.003039384, 0.0391848832, -0.0157243032, -0.0263230316, -0.0396354012, 0.0110014137, -0.0048537324, 0.0000874194, 0.0035979876, 0.0500831418, -0.0265060384, 0.0001267052, 0.0099873841, 0.083070606, 0.0045134276, -0.02322625, 0.0036018093, -0.0186486691, -0.0177247468, 0.0553390235, 0.010994982, -0.0577828214, -0.0214692149, 0.001470199, -0.0244172737, -0.0336546414, -0.0029818658, -0.0005159267, 0.0390331745, -0.0221123025, -0.0223418903, -0.0202675629, 0.020281814, 0.0480786189, -0.0099508334, -0.001902242, 0.0144285355, 0.0212553255, -0.0759400874, 0.0104908096, -0.0385310203, 0.0068148007, -0.0496073291, -0.0096822456, 0.0589895435, 0.0353391282, 0.0119734323, 0.043577861, -0.1153268367, -0.0559017844, -0.0170770362, 0.0221336558, 0.0069527254, 0.0435357355, 0.0291633587, -0.0688843206, 0.0138621647, 0.0081019904, -0.0152256619, 0.0566404536, 0.0425817184, 0.0042672148, 0.0127396388, 0.0516159348, 0.009402493, -0.0001370463, 0.0167055391, 0.0319604911, -0.0228936505, -0.0113341529, -0.0419038385, -0.0004693871, 0.0084093437, -0.030930765, 0.0071047414, -0.0111527573, 0.0232170299, 0.0203046128, 0.0393302813, -0.0398132242, -0.0033402252, 0.0389182009, -0.0171067528, -0.0203005448, 0.0087040495, 0.0597552508, -0.0222895946, 0.0134835439, 0.0207455214, 0.0193051714, -0.0038712246, 0.0528321825, 0.0167396478, -0.031555105, 0.0267988276, 0.0366025753, 0.032518819, -0.0467985757, 0.0328847617, -0.024018554, -0.005976548, -0.0551127642, -0.0067934589, -0.0295567364, -0.0630636215, -0.0463916808, 0.0530095771, 0.0628378466, -0.0029527475, 0.0857795998, 0.0000344046, -0.005818997, -0.0479255915, -0.0026702036, -0.0315440781, -0.0295453705, 0.0388722569, 0.0018864149, -0.0206829216, 0.0565902703, 0.0843494311, 0.0430726223, 0.025990244, 0.0143467477, 0.0459532477, -0.0425158069, -0.0026694278, 0.0349057987, 0.0268251039, -0.0459136739, -0.0004884594, 0.0056602368, -0.0383507125, 0.0039650667, -0.0501162559, -0.0147845987, -0.008309952, 0.0373753943, 0.014816625, -0.0415533409, 0.0083296858, -0.037456397, 0.0150654083, -0.0095338505, -0.0057042278, 0.0220470764, -6.423367657e-33, -0.0139477551, 0.0279825553, 0.0088993469, 0.0031052635, 0.0077578854, 0.0081903161, -0.0203614905, 0.0281177629, -0.0337122716, -0.0077227443, -0.0178852268, 0.0065687345, 0.0013553555, 0.0517409742, -0.002347518, 0.0207700953, 0.0461178012, -0.0401158072, -0.0038401419, 0.0661489293, 0.0210297033, 0.0494024977, 0.0430122428, -0.0065520545, -0.0595875047, -0.0073528569, 0.0002223033, 0.0027965922, 0.0537002571, 0.0036144133, -0.0476357006, 0.054323554, -0.0086091263, -0.0321913324, -0.0125051187, -0.0149993245, -0.0786353424, -0.0195025466, 0.0183168761, 0.007611807, -0.010378683, -0.0169697683, 0.0128047606, 0.0335931405, -0.0184779149, -0.0305854734, 0.0158720873, -0.0050945692, -0.0863116309, -0.0505566634, -0.0450973287, 0.0287130643, 0.0007769648, 0.0146618802, 0.0546598993, -0.0322495513, -0.0387063809, 0.0054248576, -0.0564818457, -0.0205262527, -0.0117706973, 0.0805270895, 0.0659509972, 0.0598875023, -0.0111145182, 0.0398282893, 0.0540326461, 0.0064089107, 0.0053445161, 0.0465329997, 0.0773640573, 0.0212549269, 0.0219360087, -0.0084849624, -0.000497787, -0.0018903167, -0.0878634974, -0.0301776491, 0.062041074, 0.0407146029, 0.0241465773, 0.0270464979, -0.0154404268, -0.0338810012, -0.0388028733, -0.0119125247, -0.0443755463, 0.0088579236, 0.0084485961, 0.0482697524, -0.0626876056, -0.0264530163, 0.0390402749, -0.0474055856, 0.0045982939, 0.0322966054, 0.0118107079, 0.0062007941, 0.0068689995, 0.035582073, -0.0616495423, -0.0452023111, -0.017188672, -0.0287018474, 0.0139542213, -0.0143437535, 0.0131759234, 0.0402149297, -0.0987220556, -0.0367369391, -0.0387018062, 0.0254807975, 0.0221456308, 0.0607560091, 0.0226115566, -0.0229177102, 0.0162339024, 0.0705250949, 0.0203316789, 0.0321941227, -0.012225518, -0.0307838824, 0.0168245211, 0.0185150988, -0.0482424125, 0.004787406, -0.0337203667, -0.0237938482, 0.0188859329, -0.0991024747, -0.0175722744, 0.0162113756, 2.66e-7, -0.0060265185, 0.0417616256, -0.0219209958, -0.0415165387, 0.0252909455, 0.014904188, -0.0203338005, -0.0005686726, -0.0069722054, 0.0245067049, 0.0193326119, 0.0224688053, 0.0423546359, 0.0139850667, -0.0972998813, 0.0087853419, -0.0681311265, 0.0364599489, -0.0532979518, -0.0258833617, -0.0337355509, 0.1400731355, -0.0002411847, -0.0226211119, 0.0024143355, -0.0576569587, 0.0640790313, -0.0063205552, -0.0085111354, 0.0108107915, 0.0180056244, 0.0477097668, -0.0539276227, -0.0460445322, -0.0373275802, 0.0204623789, -0.0500465669, 0.0979682729, -0.0203160625, -0.0470982976, 0.0600250699, -0.0026549236, -0.0323204063, -0.0364625603, 0.0757022575, 0.0012618812, -0.0308410916, -0.0642794967, 0.0457729325, -0.0032687227, 0.0345584564, -0.0410048738, 0.0104898456, 0.0154403672, 0.0161614995, -0.0455699675, -0.0160039812, -0.0875770077, -0.0159248076, 0.0129790688, -0.0360901579, -0.0515290089, -0.0790338814, 0.001072901, 0.0489927866, -0.0196895748, 0.0101874163, 2.522869164e-34, 0.0758997574, -0.0492524281, -0.0021998521, 0.0414420292, 0.0021652617, -0.0205644052, -0.030703729, 0.0241679419, -0.0195818171, -0.0911967531, -0.0425166339 ]
http://arxiv.org/abs/2310.10191v4
http://arxiv.org/pdf/2310.10191v4
VIBE: Topic-Driven Temporal Adaptation for Twitter Classification
2023-10-16T08:53:57
2023-11-15T12:41:57
Yuji Zhang, Jing Li, Wenjie Li
cs.CL
cs.CL
Language features are evolving in real-world social media, resulting in the deteriorating performance of text classification in dynamics. To address this challenge, we study temporal adaptation, where models trained on past data are tested in the future. Most prior work focused on continued pretraining or knowledge updating, which may compromise their performance on noisy social media data. To tackle this issue, we reflect feature change via modeling latent topic evolution and propose a novel model, VIBE: Variational Information Bottleneck for Evolutions. Concretely, we first employ two Information Bottleneck (IB) regularizers to distinguish past and future topics. Then, the distinguished topics work as adaptive features via multi-task training with timestamp and class label prediction. In adaptive learning, VIBE utilizes retrieved unlabeled data from online streams created posterior to training data time. Substantial Twitter experiments on three classification tasks show that our model, with only 3% of data, significantly outperforms previous state-of-the-art continued-pretraining methods.
[ 0.0330004469, 0.0894260556, -0.0065600444, -0.0272398535, -0.0031082327, 0.0171205718, -0.0309620332, 0.020002041, -0.038697768, -0.0297534205, 0.0289854985, -0.0425404944, -0.0317950547, 0.0249340031, -0.0062811701, -0.050542172, 0.0591710024, -0.0142681925, 0.0234687198, -0.0183328595, 0.0326182917, -0.017290853, 0.0154459011, -0.013484329, 0.0183831993, 0.0180758499, -0.0339105316, -0.0423668139, 0.0082566282, -0.0164672825, 0.0485429801, 0.0845780373, 0.0534009486, 0.0353166237, 0.0000018143, -0.0377005488, -0.018119229, -0.0467360765, -0.0085028205, 0.0021304449, 0.0814728439, -0.0170448236, 0.0289298277, -0.0049995407, -0.0554332994, -0.0175722726, 0.0227787942, 0.0492700525, 0.0385443829, 0.0802600235, -0.0216185749, 0.0196636599, 0.0470444709, -0.047431808, 0.0645532832, -0.0817958117, 0.0333278775, -0.0425243601, -0.0156972967, 0.0313294008, 0.0129704867, 0.0200523902, -0.0031872601, -0.0059112874, 0.0403692611, 0.0158711635, 0.0002203895, 0.029352542, -0.0266416837, 0.0405698083, -0.0050165122, -0.0468513072, 0.0219949652, -0.016623158, -0.0096018929, -0.0096133435, -0.0311910361, -0.0780079886, 0.0132369818, 0.0104854563, 0.0293832235, -0.0013503552, 0.0224103779, 0.0403560996, 0.0294078402, 0.0143941985, -0.005529955, -0.0414316319, -0.0237052348, 0.0345091484, 0.001325766, -0.0340477787, 0.003967084, 0.0405031592, -0.0080269137, 0.0016089437, -0.0477686636, -0.0594346561, -0.0203566588, -0.0724977925, -0.0180527959, -0.0080773821, 0.0238985214, 0.0724744797, 0.0454878099, -0.0289297067, -0.0325514376, -0.024560079, -0.0177677665, 0.0269892234, -0.1019305438, 0.0084058475, 0.0099105267, 0.0156581346, 0.0487812422, 0.0378331654, -0.0107925115, 0.0417608246, 0.0112021137, -0.0605422668, -0.0531845279, 0.0111288605, -0.0528290384, -0.0133338477, -0.0188493934, 0.0316110961, 0.0037880102, 0.0416891277, -0.011906065, 0.0082514565, -0.0270784367, 0.0053494885, 0.0729338229, -0.0087388055, 0.0120308492, -0.006483166, -0.0345561095, -0.0337423533, -0.0692999959, 0.0147224106, -0.029087916, -0.0234517287, 0.0308648199, -0.0349947661, 0.0360782705, 0.0099193687, -0.0305368491, -0.0121292155, -0.0206861384, -0.0023496374, -0.0438386872, 0.0399209335, -0.052136153, 0.0255653746, 0.0382186808, -0.0060277907, 0.0508105084, 0.0947063416, 0.0013358677, 0.0089370981, 0.0459646918, 0.0202350374, -0.030942047, 0.0344613232, 0.0181700587, 0.0594788976, -0.0087464517, -0.0029021064, -0.0004367068, 0.008648254, 0.0179421082, -0.0052319691, -0.028624611, 0.0201915614, 0.0439120531, 0.0277223438, 0.0162877832, 0.0193681233, -0.0019029821, 0.0422641672, -0.0020607191, -0.0095687667, -0.0014507122, 0.0030748658, -0.0295780879, -0.0290765762, -0.0038505141, 0.0048133773, -0.0380334742, -0.0376198515, 0.0136332056, -0.0085422201, 0.0165059473, -0.0262828469, 0.0597834028, 0.0187286064, 0.0134794554, 0.0552996583, 0.0433411822, 0.0018398598, 0.0013045854, -0.0181600675, 0.0333317108, 0.0641061291, 0.022298377, -0.0450220406, -0.0345268473, -0.0426535085, 0.0675391927, 0.0180612672, 0.0528743416, -0.0286731068, 0.00306853, 0.0034990041, -0.0358018838, 0.0321039595, 0.0114587797, 0.0004732377, 0.0087391753, 0.0386876501, 0.0079778172, -0.0194353964, -0.0234700982, 0.0205492191, -0.026180625, -0.0169601198, 0.0317873619, -0.0308842231, 0.0299931634, 0.0148317525, -0.0042843139, -0.047793705, 0.012267394, -0.0224403273, -0.0307218265, 0.0305521451, -0.0489801317, -0.0209663883, 0.0680485517, 0.0744325221, -0.0068527902, -0.0111120986, -0.0397443287, -0.0357404426, 0.0909647495, -0.0013604396, 0.0499608852, -0.0220752899, -0.0144137619, -0.0676283836, 0.0289142113, -0.0150188422, 0.0430951789, -0.0240479019, -0.034072414, -0.023745304, -0.0496997237, 0.0179882795, -0.001880427, 0.0131117823, 0.0253954865, -0.0061444952, 0.0163842794, 0.0443483628, 0.0397386849, -0.0460423529, 0.0073894965, -0.0776484087, 0.0055042016, -0.060363777, 0.0238108505, 0.0028859626, 0.0131334355, 0.0023668143, -0.0283611529, -0.0029638701, 0.0413826853, -0.0161203612, 0.0159551166, 0.0098286513, 0.0234757029, 0.0387864709, -0.0551138259, -0.015221077, -0.0205701608, 0.0574022941, -0.0007625901, -0.0506845154, -0.0234124623, -0.016831534, -0.0236075837, 0.0307364389, -0.0009466814, 0.0426684432, -0.0294013843, -0.0495051779, 0.0721709654, 0.002622603, 0.0454339683, 0.041845195, 0.0001356762, 0.0097891632, -0.0416124985, 0.0281368699, -0.0386387557, 0.0009543179, -0.0672229901, 0.009988145, 0.0295405705, 0.0642459095, -0.0494769327, -0.0111973751, -0.0670169964, 0.0218470767, -0.0309000146, -0.0395668149, -0.0196098294, 0.0359811932, -0.0372251868, -0.0215747245, -0.0434822813, -0.0441119336, 0.0622318313, 0.064796485, 0.0269654039, -0.0421855226, -0.0589817613, -0.0193208717, 0.0523839407, 0.0193473529, -0.0208912883, 0.053566929, 0.0224613883, -0.0193072595, 0.0236410778, 0.0205871463, -0.0140920831, 0.0017206655, -0.0161642358, 0.0275176838, -0.0108367056, -0.0122545492, -0.0032281997, -0.0989590958, -0.0055866051, -0.0259622987, -0.0479548387, -0.0310794003, -0.0136414114, -0.0134237111, 0.0032530383, 0.0288323574, -0.02574661, -0.0291951969, -0.010087302, 0.0363778286, 0.043862626, 0.0297323596, -0.0616370738, -0.0206506774, 0.0263602342, 0.0138083203, 0.0760785192, -0.0484061986, -0.0395297185, 0.0134896692, 0.0201330315, -0.0238458514, 0.0053766496, -0.0131405173, 0.0581655391, 0.0050406656, 0.0049724565, 0.0730501637, -0.0004360115, -0.0659336448, -0.0048963958, -0.0036522578, 0.0432573892, 0.0005349265, 0.0253557004, -0.0458246022, -0.0339727886, -0.0224818885, 0.0296255499, 0.0208872799, -0.0562992766, -0.0184971578, -0.0189838428, -0.0352744982, 0.0055192397, -0.0102757718, 0.0414128974, -0.0718995929, 0.0264552552, -0.0317040123, 0.004539236, -0.0178452898, 0.0115817338, 0.0306734294, 0.0441381969, -0.0380847715, -0.0772446617, 0.0163818765, 0.0043990766, 0.0206886772, 0.0144485086, 0.02101193, -0.0213435981, -0.0059973444, 0.0353046358, -0.0247409604, -0.0111380909, -0.0194041356, 0.0399383008, 0.0052293907, 0.0050240578, 0.0151602132, -0.0038949694, -0.0157300681, -0.0234965719, 0.0079943361, 0.0719131678, 0.0047880323, -0.0305274501, -0.0126790768, -0.0672727153, 0.0197178405, -0.0038902836, 0.0131782228, -0.0953339264, -0.0020994747, -0.0055363141, -0.0046806349, -0.0269630644, -0.0498380959, -0.0550525449, -0.0240207575, -0.059579242, -0.0386555865, 0.0031571724, -0.0325417668, 0.0151996808, -0.023110006, 0.0052728746, 0.0207436252, -0.0393764526, -0.0719213113, 0.0218537282, 0.0056713396, -0.0088579068, -0.0028044088, -0.038431637, 0.0377973355, 0.0141322045, 0.0074195135, 0.0146928737, -0.1567231715, -0.0769906864, 0.0209291745, -0.0224452335, 0.0128578171, 0.0472666137, -0.0206193961, -0.0938393101, 0.0360078849, 0.0548813269, -0.0128197651, 0.0134114586, 0.0133780539, 0.0116268191, -0.0023329346, 0.0225400049, -0.0411349125, -0.0086115245, 0.0082579842, -0.0283295177, -0.0512173735, 0.0040001147, -0.024018947, -0.013526517, 0.0572375171, 0.0074044429, -0.1227320731, -0.0171118174, -0.0654936284, 0.0529969148, -0.0017668271, -0.0179571137, -0.0222221129, 0.031418886, -0.0085293464, -0.0450487919, 0.0446054935, 0.0332223885, 0.0033766129, -0.05712438, -0.0288615786, -0.0021566683, 0.0314105898, 0.026533043, 0.0184587575, 0.0229696799, 0.0045162369, 0.0168609153, -0.0065048244, -0.0251411311, -0.0145311924, -0.0087362211, 0.0118506802, 0.0026207655, -0.0009727986, -0.09046904, -0.0143327285, -0.0242248103, 0.024415506, 0.0392072909, -0.0073098624, 0.0780790001, 0.0238261465, -0.0100747431, -0.0412497409, -0.0171487033, -0.0356284976, -0.0342381895, -0.0019759182, 0.0033106764, -0.0472042933, 0.0976638049, 0.0929636583, 0.0322472341, 0.0280322228, 0.0168981943, 0.006946729, -0.0256065335, 0.042249985, 0.0079668658, 0.0432152227, 0.0122557674, 0.0243939459, 0.0143931312, -0.0329700224, 0.067126669, -0.0735916495, -0.0086702621, 0.021895675, 0.0043058917, 0.070970051, -0.0310771763, -0.0089778593, -0.0270025283, -0.0052419263, 0.0580308475, -0.0364680998, -0.0425316468, -6.747615284e-33, 0.0169653874, 0.0147467293, -0.0150100831, 0.0192384943, -0.0291558672, 0.0093830293, -0.0110814245, 0.0312472526, 0.0036440422, -0.0208908878, -0.0190531146, 0.0375385582, -0.0054276506, 0.0004473567, 0.0396777727, -0.0390891284, 0.0427434966, -0.0304388311, 0.0209391471, 0.0621261671, 0.0219682548, 0.0342909433, 0.0673409253, -0.0987348929, 0.0506948009, 0.0174437817, 0.0166352708, 0.0267342627, 0.0893649533, 0.0254786536, -0.0286664311, 0.0992824882, 0.0367514491, -0.0435854308, -0.0352080427, -0.018155802, -0.052892331, -0.0573213771, -0.0526839197, 0.0144937094, -0.0323409811, -0.034071587, 0.0326581746, 0.0238128603, -0.030372113, 0.0121913385, 0.0492779948, 0.0113019804, -0.0016160858, -0.0382767059, -0.0181018859, 0.0680113807, -0.0365656018, 0.0203885343, 0.0054867016, 0.0245636832, 0.0383362584, -0.0118143801, -0.0459325872, 0.0411593094, -0.0009894782, 0.0130541287, 0.018156264, -0.0145884603, -0.0112639004, 0.0231052488, 0.0159649551, 0.0693357587, 0.037827272, 0.0031998593, 0.0249547921, 0.0091165388, -0.0091445968, 0.0077849091, 0.0188622288, -0.0556169823, -0.0357504748, 0.0180815812, 0.0744130537, -0.0003359433, -0.0131574562, 0.0559371933, -0.0011598226, -0.0277710687, -0.0109987734, 0.0028124026, -0.0066466653, -0.0050792969, -0.0154769607, 0.0578562096, 0.0255345274, 0.0261272434, 0.0263313651, -0.0289748106, -0.0376917943, 0.0081885913, -0.031680081, 0.0136208907, 0.0542745367, 0.0376125835, -0.0619552173, -0.0188057963, 0.0270641074, 0.0047190972, -0.008063701, -0.0428100824, 0.0085297525, 0.0330294333, -0.0386969, -0.0085222172, 0.0217946246, -0.0000830909, 0.0043799481, 0.012152805, 0.0250868816, -0.0000556204, -0.0040071392, 0.0554362461, 0.0938728154, 0.0069391811, -0.0167769454, -0.0199700482, 0.0046752123, -0.0022372149, 0.004912619, -0.0122677619, 0.0052750874, -0.0090687973, -0.0248000678, -0.0542628393, -0.0048857154, -0.0044192872, 2.676e-7, 0.0164428037, 0.0843240172, -0.0206414443, -0.053524103, 0.0602360703, 0.0502306521, -0.0002464739, 0.0244087316, -0.0308466703, -0.0010763671, 0.0067306515, 0.0338791423, 0.0464033633, -0.0024495446, -0.0452891104, -0.0415028222, -0.0483352542, 0.0355891474, -0.0766905993, -0.0095525924, 0.0173200257, 0.0662144423, 0.0349789821, -0.0081628766, 0.0197895486, -0.0883203596, 0.0708203092, -0.0073718438, -0.0289759785, 0.0333614238, 0.0681406781, 0.0162206143, -0.0169881005, -0.0251565315, -0.0568176918, 0.0204805732, -0.0354852118, 0.0238807797, -0.0007547195, 0.007864763, 0.0023627607, 0.0098976055, -0.001992122, 0.017534988, 0.0796435475, -0.0468155742, -0.039753031, -0.0436588973, -0.0060835085, 0.030905582, 0.0323238932, 0.0333825536, -0.0312439855, 0.0084652137, 0.0042467881, 0.0305177718, -0.0703585148, -0.0796566978, 0.0222692024, 0.0302194394, -0.054690443, -0.0116858175, -0.0506947562, 0.006733072, 0.0545852892, -0.0247287899, 0.0765827224, 2.123489908e-34, 0.0325124189, -0.0074614538, -0.018001182, 0.0060070441, -0.0221359599, 0.0013047007, -0.0248966832, -0.0272995792, 0.049342297, -0.0407273211, 0.0182711519 ]
http://arxiv.org/abs/2310.10190v1
http://arxiv.org/pdf/2310.10190v1
Battle of the Large Language Models: Dolly vs LLaMA vs Vicuna vs Guanaco vs Bard vs ChatGPT -- A Text-to-SQL Parsing Comparison
2023-10-16T08:52:41
2023-10-16T08:52:41
Shuo Sun, Yuchen Zhang, Jiahuan Yan, Yuze Gao, Donovan Ong, Bin Chen, Jian Su
cs.CL
cs.CL, cs.AI
The success of ChatGPT has ignited an AI race, with researchers striving to develop new large language models (LLMs) that can match or surpass the language understanding and generation abilities of commercial ones. In recent times, a number of models have emerged, claiming performance near that of GPT-3.5 or GPT-4 through various instruction-tuning methods. As practitioners of Text-to-SQL parsing, we are grateful for their valuable contributions to open-source research. However, it is important to approach these claims with a sense of scrutiny and ascertain the actual effectiveness of these models. Therefore, we pit six popular large language models against each other, systematically evaluating their Text-to-SQL parsing capability on nine benchmark datasets with five different prompting strategies, covering both zero-shot and few-shot scenarios. Regrettably, the open-sourced models fell significantly short of the performance achieved by closed-source models like GPT-3.5, highlighting the need for further work to bridge the performance gap between these models.
[ 0.0432013534, 0.0609717742, 0.005999051, 0.0450686887, -0.0370881967, 0.0248536523, -0.0020916851, -0.0083942506, 0.0214433447, -0.0822199956, -0.0253970623, -0.0249308161, -0.0076589882, 0.0299888849, 0.0206437092, -0.0478781424, 0.0618777908, -0.0447433665, -0.0039143227, 0.0315371081, 0.0049564401, 0.0280849636, 0.0031738146, 0.0235278737, -0.0023942725, -0.0287686251, -0.0115994615, 0.0213270895, -0.0364015661, -0.01941902, -0.0085142693, 0.0400575474, -0.025955772, 0.0371171311, 0.0000018798, -0.0584047996, -0.0377941169, -0.0057823053, -0.0523129478, 0.0345085971, 0.057410188, -0.0572115779, -0.0156452265, 0.0315377191, -0.0140387286, -0.0251358412, 0.0082964189, 0.0041541276, 0.0487682708, 0.0977992564, -0.0186977386, -0.0654969588, 0.0518880077, -0.014945427, 0.003437679, -0.045959942, 0.0210016966, 0.0138182249, 0.0349033773, 0.0020709427, 0.0049231839, 0.0216443073, 0.0004620989, -0.0117507456, -0.0367079601, 0.0266920496, -0.0607679561, 0.0014362696, -0.0307637937, 0.0568921231, -0.0168616399, -0.0186832435, 0.0044800271, 0.0232195146, -0.009359804, -0.0236746222, -0.019862799, 0.0558287948, -0.0023215688, 0.0154570276, 0.0535645522, -0.004000512, 0.0082828198, 0.0036105197, -0.0260364581, 0.0578780845, 0.007713181, -0.0468532667, 0.0337435864, 0.020565778, -0.0358647145, -0.0396669395, 0.0540724434, 0.0286102258, -0.0235911272, 0.0160504822, -0.0465948209, -0.010493557, 0.0103617944, -0.011230519, 0.0336181633, 0.0721953362, -0.0066354419, 0.0312424563, -0.0128796352, 0.0523022711, 0.0208721235, 0.017871609, -0.0537039749, -0.0127571328, -0.063031137, -0.0035905293, -0.0754139945, 0.0148847802, -0.07970047, -0.0286683664, 0.0025688778, 0.0160386749, 0.0269733202, 0.037022505, 0.057184007, -0.0111402273, -0.0259040017, 0.0046482971, -0.005217236, 0.0173933282, 0.0075521935, 0.0003131469, 0.0151262218, -0.1041337401, -0.0204108227, 0.0246345829, -0.0088066142, -0.0550889932, 0.0184174906, 0.0523627736, -0.0253646933, -0.0314497277, -0.0772963166, -0.0401038602, -0.0201806836, -0.0610243641, -0.0310116522, -0.0425669588, 0.0662002116, 0.0093726637, 0.01096961, -0.0122556351, -0.0052162372, 0.0263783373, -0.0122309597, 0.043744158, 0.003265725, 0.0227660295, 0.0367067568, -0.0140218874, -0.0045373347, 0.0774879009, 0.015836196, 0.0356612056, 0.0032353725, -0.0003896616, -0.030922763, 0.0629564375, -0.0096255327, -0.0193784349, -0.0289935321, 0.0369609967, 0.0054015224, 0.0428502262, 0.0535203628, 0.0962997153, -0.028682325, -0.0039217202, 0.0305543933, 0.055306226, -0.0077964477, 0.0252144039, 0.0858687013, 0.037543945, 0.0240004119, -0.022118384, -0.0625734404, -0.038024012, 0.0002759352, 0.0422645062, -0.0042150733, 0.0242663752, -0.0254995618, -0.0155749023, -0.025546195, -0.0061316164, -0.0128594013, 0.0076678335, 0.01668269, -0.0015743137, -0.0466153398, 0.0113664651, -0.0094687967, -0.018680349, -0.0008745829, -0.0443666913, -0.0122602331, 0.0825950429, 0.0538249612, -0.0076404316, -0.0207002796, -0.0048247618, 0.0104006538, 0.0345507972, 0.0375790186, -0.0326481014, -0.0004301016, -0.0348277539, 0.0239208322, 0.0134875197, 0.014206511, 0.015741311, 0.0023698891, 0.0005229979, 0.0090238564, 0.0270295255, -0.0170427319, 0.0482168309, -0.0338436179, -0.0423906669, -0.0241775438, -0.0326988772, 0.0335166194, 0.0387475453, -0.0174584109, 0.0256559439, 0.0072473069, -0.0253403075, 0.0289967693, -0.002336635, -0.0236625783, -0.0721044689, 0.0268153809, 0.0300472602, -0.0032723616, -0.0148929004, -0.008009159, -0.0524805635, -0.0081196269, -0.0093297996, 0.03407038, -0.0509799719, 0.0317694321, 0.0227258969, -0.0358809084, -0.0416441448, 0.0521158762, -0.0103062429, -0.0037732599, 0.0209050253, -0.0142653128, 0.0129969791, -0.0934836417, -0.0121352961, 0.024033457, 0.0049926322, -0.00272554, -0.0604863688, 0.0076931538, -0.0549859703, -0.0436654128, -0.0855391696, 0.0079452023, -0.0436894856, 0.0495338328, 0.0281829536, 0.0015512217, -0.0159422942, 0.0130304024, -0.031944301, -0.0220492259, 0.0256771147, 0.0232276749, 0.0388762876, 0.0243180804, -0.018415384, -0.0476518534, -0.0209437553, -0.0580626726, 0.0255356841, -0.0022904975, -0.0338151492, -0.0408170372, 0.0313685127, 0.0216891356, 0.0284751803, 0.0115588484, -0.0291991737, -0.0115428297, -0.045019649, 0.0373533331, 0.0765792951, -0.0347197391, -0.0186523832, -0.0105116172, -0.0425287746, -0.0275805611, 0.0172785297, 0.0074193752, -0.015523239, -0.0538735762, -0.052227769, 0.0425836034, 0.073684223, 0.0002338263, 0.0115687763, -0.0404806286, -0.0166503713, 0.0028302865, -0.0133132534, -0.0003113932, -0.0036088559, 0.0030505322, 0.0064006089, -0.0528952852, -0.0010903522, 0.0450848229, -0.0695447102, -0.0389226824, -0.0637449995, 0.0093873516, -0.057735309, 0.0432288945, 0.0253343415, 0.0189564154, -0.0312468633, -0.0514767878, 0.0041157464, -0.0059183524, -0.0180176198, -0.0136292111, 0.0502972603, -0.0583761744, 0.036855679, -0.020929398, -0.0197361056, -0.0130186835, -0.0373160765, -0.0521650463, 0.0288131535, 0.0577256493, 0.0030121151, 0.0315693542, 0.0201604441, -0.0354019105, 0.0464600958, -0.0134596014, -0.0094364099, -0.0219423249, -0.0067445878, 0.0450633354, -0.0014727787, -0.0103380755, -0.0212166626, 0.0437539965, 0.0215008017, 0.051430665, -0.0422670878, -0.0111576514, 0.0260922071, 0.0134189352, -0.049621176, -0.0204873625, 0.0019668525, 0.019833155, -0.0652613118, -0.0126510728, 0.1157015711, 0.0307859834, -0.0120435432, 0.0028257866, -0.0071991696, 0.0441704839, 0.0063049146, 0.0439705811, -0.0899396241, -0.0512005426, 0.0051903226, 0.0244600996, 0.0197442863, -0.0322920121, -0.004251143, -0.1426079273, 0.0381605998, -0.0107537238, -0.0037226435, 0.0134676155, 0.0265121665, -0.0526263416, -0.0603350662, 0.0182511061, 0.0721703842, -0.0586732514, 0.0198995862, 0.0324883275, 0.000558642, -0.0409953296, 0.003579153, -0.0267167091, 0.0364843868, 0.0597803406, -0.0219020117, -0.0041480209, 0.002248314, 0.0299490225, -0.0251618419, 0.0157887749, -0.0218002703, 0.0540858507, -0.0219014268, 0.005146455, 0.0122993849, 0.0194945857, -0.028668873, 0.0258592274, 0.0182459746, 0.0545334816, -0.0311705712, 0.015151442, 0.0312867649, -0.0402397215, 0.0041946503, 0.1039646566, 0.0048708492, 0.0000311365, -0.1060939357, -0.0288921762, -0.0274074804, -0.0732225105, -0.006642173, 0.0508957729, 0.0045553301, -0.040223036, -0.0494741946, -0.0723132491, 0.0622209013, 0.0247275122, 0.0102403695, 0.0246887803, 0.0153678702, -0.0022861266, 0.0015895417, 0.010547325, -0.0207149629, -0.0046854452, -0.0830665976, -0.0128392205, 0.0234829653, -0.0349066816, -0.0315299816, -0.005372446, -0.0952626243, -0.0439506732, 0.02467715, 0.029587768, 0.0288735218, 0.0194993038, -0.0286204312, -0.0476493053, -0.0134057868, 0.0115255257, -0.0374752171, 0.0100925639, -0.0027866147, 0.0544484593, 0.0055281031, 0.0427790433, 0.0072094011, 0.0282859728, -0.0381140895, 0.0327546932, -0.0396696441, 0.0119808968, 0.0511602424, 0.040876396, 0.0159836672, 0.0128894616, 0.0161516275, -0.0107072676, 0.0015732305, -0.0697261617, -0.0063331868, -0.0575487204, -0.0068943598, 0.0496021658, -0.0174255129, -0.0039219973, -0.0437959284, -0.0187638607, 0.0465494804, -0.043874111, 0.0179186147, 0.031221224, 0.0106464718, 0.0194638427, -0.027263118, -0.0226598307, 0.0407897905, 0.0021611797, 0.0527344607, -0.0308861081, 0.0332670696, 0.009124767, -0.0093438821, 0.0019173216, 0.0168154836, -0.0270587541, -0.0177019592, 0.0157596469, 0.0345091484, 0.059328258, -0.027067462, 0.0766639784, 0.0015200922, 0.0028350302, -0.0329634957, 0.0095357075, 0.0477475598, -0.0208631996, 0.0256703272, -0.0007645196, -0.0430306643, -0.0415292531, 0.0793761984, 0.0342353955, 0.0531403758, 0.0318742841, -0.0144007392, -0.0279807448, -0.0513171181, -0.0167609006, -0.0255218241, -0.0314309895, -0.0163454879, -0.0453017913, -0.0162518751, -0.009006721, 0.0074268999, -0.0102017103, -0.0209257957, 0.0423187502, 0.0660551414, 0.0225314293, -0.0322810188, -0.0402695052, 0.0092170546, -0.0505220592, -0.0669314042, -0.0262053572, -6.257335692e-33, -0.0294563882, 0.0317489021, 0.0629831553, 0.009902467, -0.0010393333, -0.0015836363, -0.0423175991, -0.020529367, -0.0369815789, -0.0009321009, -0.0373184942, -0.0077966023, 0.0386459678, 0.0332712457, 0.0401083604, -0.0100369211, 0.0386958793, -0.0381611697, 0.0078737121, 0.0140565056, 0.0313215964, 0.0540193841, 0.0245957058, -0.0067769173, 0.0045850687, -0.0111442432, -0.0060792537, 0.0311451219, 0.0136740049, 0.0430340059, -0.0298306271, -0.009490109, 0.0331073403, 0.0051692715, -0.022436399, 0.0021661941, -0.0819322392, -0.0034705412, 0.0426169895, 0.0122136725, -0.0105286967, -0.0406120084, 0.0133319926, -0.0466104113, -0.0288182385, 0.0102559114, -0.0280529205, -0.0235232376, 0.0153271426, -0.0133572854, -0.044922594, 0.03809065, 0.0245388318, -0.0087232273, 0.0715765134, 0.0514921024, -0.0137618277, 0.0507145301, -0.0073229307, 0.0002840841, 0.0021853196, 0.0736572593, 0.0566322841, -0.0041921381, 0.0066212444, 0.0242660753, 0.0341065079, -0.0258201398, -0.0119982166, 0.0666202381, -0.0183617417, 0.054091271, -0.0093054976, 0.0332321078, 0.0045085275, -0.0116890268, -0.0569737367, 0.0057009622, 0.0308219437, 0.0190163981, -0.0097676525, -0.0107006924, -0.0823043883, -0.0269048084, -0.0045575784, -0.0176394898, -0.0147852069, -0.0067712162, 0.068332769, -0.0040629301, 0.0202015936, 0.0133973425, 0.0586546287, -0.0173870046, -0.003218377, 0.0147207147, -0.0228219442, 0.0153542021, -0.0251922216, 0.0288423486, -0.0878329277, -0.0761072338, 0.009687962, 0.0415674448, 0.0138989519, 0.0171877798, 0.0236573908, 0.0296984073, -0.0509817079, 0.0175356548, -0.0339101143, 0.0638609529, -0.0360873938, 0.0548680015, 0.0250134487, -0.0086123534, 0.0209211241, 0.0629749298, 0.0174276121, 0.0099777393, -0.0151912887, -0.0301566757, 0.0085211154, 0.0183244403, -0.0134985503, 0.0471845567, 0.0047688638, -0.0222901274, -0.0162943546, -0.0178901087, 0.0225148052, 0.0385347828, 2.531e-7, 0.064573653, 0.0495765917, 0.060261678, 0.025629269, 0.0190844089, 0.0076133865, -0.0061295829, 0.0267164856, -0.0122059956, 0.0233130082, -0.0079736048, 0.0069346712, 0.0521524474, 0.0182576384, -0.0805672482, -0.0081402818, -0.0423597246, -0.0042638355, -0.0830279067, -0.0130980602, 0.0662291124, 0.0858043432, -0.0646295696, -0.0048426525, -0.0080995876, -0.074618198, 0.0205832161, 0.0008483778, -0.0405450463, 0.0691666678, 0.0221345704, 0.0181810483, -0.0149770044, 0.0025762036, 0.0144418506, 0.0257496946, -0.01941045, 0.0980045795, 0.000444534, 0.0146346781, 0.0382817127, -0.0485094823, -0.0111795561, -0.0513373949, 0.092285201, -0.0274637714, -0.0123108802, 0.0335538834, -0.0268369336, -0.0295115206, -0.0420962013, -0.0254303645, 0.0098686544, -0.0026740097, 0.0392343327, -0.0476651639, -0.0258719679, -0.0371960364, -0.037053667, 0.0192439351, -0.0287061036, -0.0264728665, -0.0389047042, 0.0302583463, -0.0063646012, -0.0453334153, -0.0472656898, 2.593162349e-34, 0.0450527966, -0.0124710128, 0.0522661433, 0.0278460141, 0.0436544642, 0.0343933403, -0.0019943721, 0.0228224695, -0.0343504697, -0.1090085208, -0.0208448023 ]
http://arxiv.org/abs/2310.10184v1
http://arxiv.org/pdf/2310.10184v1
Continual Generalized Intent Discovery: Marching Towards Dynamic and Open-world Intent Recognition
2023-10-16T08:48:07
2023-10-16T08:48:07
Xiaoshuai Song, Yutao Mou, Keqing He, Yueyan Qiu, Pei Wang, Weiran Xu
cs.CL
cs.CL, cs.AI, cs.LG
In a practical dialogue system, users may input out-of-domain (OOD) queries. The Generalized Intent Discovery (GID) task aims to discover OOD intents from OOD queries and extend them to the in-domain (IND) classifier. However, GID only considers one stage of OOD learning, and needs to utilize the data in all previous stages for joint training, which limits its wide application in reality. In this paper, we introduce a new task, Continual Generalized Intent Discovery (CGID), which aims to continuously and automatically discover OOD intents from dynamic OOD data streams and then incrementally add them to the classifier with almost no previous data, thus moving towards dynamic intent recognition in an open world. Next, we propose a method called Prototype-guided Learning with Replay and Distillation (PLRD) for CGID, which bootstraps new intent discovery through class prototypes and balances new and old intents through data replay and feature distillation. Finally, we conduct detailed experiments and analysis to verify the effectiveness of PLRD and understand the key challenges of CGID for future research.
[ 0.0523990989, 0.0617464855, -0.0177884437, 0.0129167102, -0.0200700201, 0.0166753959, -0.0202945694, -0.0077967043, 0.0212269332, -0.0395930223, -0.00958292, -0.0499085002, -0.0015446401, 0.0598317571, -0.0431778021, -0.0218198374, 0.0333142728, -0.0244931746, -0.0061108819, 0.0615226589, -0.0026110171, 0.0131307133, -0.0317503028, 0.0767786279, -0.0286563989, -0.0366937667, -0.0696027204, 0.0148902461, -0.0047774012, -0.0405106172, 0.0054640407, 0.0327127203, 0.0704038814, -0.0022453435, 0.0000019749, -0.0676554441, -0.0396902189, -0.0438655615, -0.0748624131, -0.0466230139, 0.0246866196, 0.041873984, 0.0326476991, 0.0513706394, -0.0505391397, -0.0224979464, 0.0391275361, 0.0368801206, 0.0234754682, 0.0247572176, -0.0098456806, 0.0039455183, 0.0142023619, -0.0073710773, 0.0206896067, -0.0254907049, 0.0110398168, -0.027933538, -0.0187461898, -0.0231354553, 0.0146377003, 0.0048358603, 0.0036562164, 0.0022654273, -0.010779446, 0.0062839328, 0.0182260815, -0.0183380246, -0.0366393365, 0.0877904892, -0.0071713207, 0.025780227, 0.009977092, 0.0063361353, -0.0048239152, -0.0396096185, -0.0476002283, -0.0294656008, -0.0236711372, -0.0129787792, -0.0019322879, 0.0062870453, -0.006224595, 0.0078490246, -0.0746584609, 0.0304410122, -0.0358013064, 0.0060550016, 0.0021353702, -0.0333815254, -0.0132737448, -0.0521168485, 0.0018193724, 0.0483575463, -0.0397211649, 0.0350925103, -0.0504942238, 0.0068361545, 0.0119157936, 0.0203978159, 0.0018965168, 0.0467806943, -0.0053604892, 0.0385080203, 0.0489831045, -0.0007570611, 0.0003976592, 0.0131594036, -0.0526899062, 0.0029307813, -0.1238336563, -0.0009033929, -0.0539339334, 0.0672427416, -0.036082048, -0.0475223847, 0.0063777058, 0.0688767061, 0.012343646, -0.0234841648, -0.0471292511, 0.0100427, -0.0230105761, 0.0346299633, -0.000573313, 0.0203484762, 0.0057302611, 0.055925414, 0.0263659786, -0.0642277077, -0.037113186, 0.0238760822, 0.0130344518, 0.0161886774, -0.0127676846, 0.0591562204, -0.0154202282, -0.077990517, -0.0300732348, -0.0559876263, -0.0125823105, -0.0300639644, -0.0159724876, -0.0101444051, 0.0058740689, -0.0154901966, -0.0280078631, -0.0175442416, 0.0152056096, 0.0213296469, 0.0407411158, 0.0568664037, 0.0142377028, 0.002418068, -0.0029218437, 0.0161996465, -0.0128822075, 0.0687076449, 0.0083907712, 0.0211678203, 0.0083196266, 0.0167973768, 0.0257364269, 0.0101331901, 0.0112488065, 0.0284492318, 0.0231171455, 0.0448004901, 0.0327911712, 0.0373383537, -0.0064534149, -0.0022985686, -0.0607166812, 0.0176908914, 0.0667612255, 0.0413923822, 0.0251757093, -0.0189661775, 0.0251074526, 0.0468583964, -0.0365965441, -0.0059283795, -0.0382296816, -0.0030170074, -0.0051687025, -0.0125818774, -0.0328253098, 0.0150345741, -0.0175792202, -0.0512497127, 0.026303554, -0.0035897703, 0.012984179, 0.0300759543, 0.0603512339, 0.0274262205, -0.0200101659, 0.0339062251, -0.0134735368, -0.0221977085, -0.0225378852, -0.0807182863, 0.0367103964, 0.0185094681, 0.0460783131, -0.0563295707, -0.051558692, -0.0640991628, -0.0198717099, -0.0179862045, -0.0099223247, -0.0436158627, 0.0749870092, -0.0216188319, -0.0561585911, -0.0193489697, -0.0029949325, -0.0112175336, -0.0059474632, 0.0114626596, -0.0018343176, -0.0717791319, 0.0229820907, 0.0236149058, 0.015359628, -0.0299604498, 0.0647471696, 0.0334160291, 0.0259556901, 0.0298614986, 0.0369815379, -0.0183343217, 0.0311463308, -0.0253441762, -0.0184369013, 0.0296872035, -0.024118701, -0.0480757616, 0.032238096, -0.0073323287, -0.0359652862, -0.0234940555, -0.0192148648, -0.0211674795, 0.0116834939, -0.0040628333, 0.0433238558, -0.0707664862, -0.0185658522, -0.0063327001, 0.0012435851, -0.0036018391, 0.047258094, -0.0090443604, -0.0345856138, 0.0443203151, -0.0274785943, 0.0585472211, -0.0280582551, 0.0326200277, -0.0020421518, -0.081681259, -0.0043078028, -0.0271731019, 0.0379881077, -0.0529333279, -0.0151926307, -0.0653665066, 0.0210982617, -0.0307757501, -0.0079353051, 0.0097195152, 0.0504042394, 0.0064878589, -0.0349297486, -0.0001307669, -0.0005562115, -0.022688413, -0.0058535193, 0.0181513727, 0.0178501364, -0.0460037589, 0.010850111, 0.0434440151, 0.0016760058, 0.0325979069, -0.0338900685, 0.0111600421, -0.0557025671, 0.000055883, -0.0155622046, 0.0302595682, -0.0110552907, -0.0093048327, 0.0324896947, -0.0033010021, 0.000873712, 0.0552087575, 0.0250210594, 0.0191098358, 0.0221034475, -0.0124217905, -0.0716778487, 0.038478177, -0.0275941398, -0.0046754088, -0.0110242721, 0.0399319902, 0.0622593425, 0.0151010165, 0.0057737292, 0.0101562589, -0.0133038629, -0.0419703238, 0.0056870063, -0.034362983, -0.0751141459, 0.0103701008, -0.0183095913, 0.0304294843, 0.0263444483, -0.0800016746, 0.0728541538, 0.0211131107, -0.0263014156, -0.0816259012, -0.0476110987, -0.0219732672, 0.0827726647, -0.0817225128, 0.0224378146, 0.0749251172, -0.081628114, -0.0098105837, -0.0189034902, -0.0062171021, -0.0340229161, 0.1066290513, -0.0483218618, 0.0094061419, 0.0275516417, -0.0544343702, -0.077963911, -0.0617541671, -0.0101703908, -0.0084615154, -0.0436936803, -0.0163300447, -0.0149963452, 0.0148400553, -0.0022497196, 0.0329765193, 0.0150150768, -0.0334424004, -0.0230150055, 0.0335589871, 0.0462569222, 0.0320678689, -0.0469015539, 0.0080093732, 0.0452096201, 0.0314575173, 0.0426923186, -0.0637206063, 0.0050186235, 0.0315841511, 0.011077187, 0.0140661411, 0.0164142046, 0.0338948593, 0.0515635982, -0.0094719427, -0.0390391946, 0.0787365437, 0.0486048907, -0.0597802512, 0.0036900919, 0.0088023255, 0.0222082809, 0.0255105384, 0.0028884707, -0.0821572021, -0.0783979073, 0.0136394883, 0.0367042609, 0.0019730818, -0.0109966965, -0.0349607207, -0.0904428959, 0.015795825, -0.011679397, -0.0234059934, -0.0260896496, -0.0336494781, 0.0045980429, -0.0039945222, -0.0239700843, -0.0151807545, 0.013373429, -0.0149522899, 0.0004251082, -0.0258206371, -0.0454322807, 0.0342752114, -0.0171201937, 0.0185297709, 0.0547102951, 0.0171748977, 0.0613265894, -0.0125031639, -0.0013853047, -0.0710779205, 0.0249994751, -0.0300834794, 0.0605610237, 0.000857896, 0.0262214486, -0.0198828876, 0.0625674129, -0.0797228292, -0.0247206539, 0.0297695752, 0.058022812, -0.0579260401, 0.0303763784, -0.0135812145, -0.0231659692, 0.1184270307, 0.0632809028, 0.0058176317, -0.0388982669, -0.0094961198, -0.0245841164, -0.0270815939, -0.0025698955, 0.0493284762, -0.0209678728, 0.0063374401, -0.0003097806, -0.0393456072, -0.0260428805, 0.033427503, 0.0513912141, 0.0116639612, 0.0146395247, -0.0053917482, 0.029426368, -0.0355934463, 0.0063028787, -0.0029067637, 0.0415665954, -0.0374049693, -0.0003506459, 0.0389970541, -0.0671250299, -0.0034548857, 0.0480111651, -0.0801329315, -0.0262978449, -0.0061099501, 0.0022557464, 0.0215493627, 0.0696801245, -0.0469299033, 0.0362580083, 0.0201213621, 0.0152494945, -0.0071263076, -0.020635711, 0.0486338139, 0.0540854409, 0.0035481297, 0.0308904499, -0.0248749219, -0.0084209638, 0.0070822914, 0.0072404225, -0.0440181978, -0.0555133037, 0.056716565, -0.0204287861, 0.0369637869, 0.0299989656, -0.0318811908, -0.0437674262, 0.046876885, 0.0592330731, 0.0039112456, -0.0621961653, 0.0309268441, 0.0373320132, -0.0111756343, 0.0078399042, 0.0131351696, -0.0386480205, -0.0047463193, -0.0119328788, -0.0161473956, 0.0360459909, 0.0225465503, 0.0087177157, -0.0183224212, -0.016654348, 0.0550362319, -0.0294515062, 0.0351933502, 0.0040626558, 0.0894736722, 0.0261435509, -0.023545986, -0.0041461489, 0.0283423271, -0.0715997666, -0.0349474214, -0.0146067813, 0.020043062, 0.0112148458, 0.0383516997, -0.0094055245, -0.0134929791, 0.0351639166, 0.0010122327, 0.0730580091, -0.0439475328, -0.0343066193, -0.0001983356, 0.0108425077, -0.0295539368, -0.0110665867, 0.0587055571, -0.0501256101, 0.0463245027, 0.0044461079, 0.0264095776, -0.0646254718, 0.0230932385, 0.0685744584, 0.0524842031, -0.0235429481, 0.0214900225, -0.0134474579, -0.0143233426, -0.0078744451, -0.0320792869, -0.0009848009, -0.0085668592, 0.0458067358, 0.0530945845, 0.0016754461, -0.0549647138, -0.0281127784, -0.0048913769, -0.0279640611, -0.0079497006, -0.0281501617, -5.588887524e-33, 0.0315975584, -0.0086714169, 0.0328748673, -0.0062892819, -0.0357914865, -0.0163159091, -0.0059342775, -0.0255230814, -0.0301054902, -0.0140412534, -0.0049211001, 0.0533993915, 0.0107910438, -0.0023058518, 0.0241584033, -0.0391201936, 0.0574768707, -0.0063444064, 0.0018631, 0.0433717184, 0.0822339132, 0.0192025751, 0.0181967225, -0.0827066973, -0.048503533, 0.0212939847, -0.037342988, 0.0671679005, 0.0123304315, 0.0394718572, -0.0213826839, -0.004904401, 0.0062704906, -0.0322931595, -0.0186603479, 0.0038607894, -0.0930252522, -0.0289673377, -0.0467769355, -0.0074678059, -0.0316645056, 0.001937976, -0.0008985758, -0.0015052593, 0.0223382544, -0.0356363058, -0.0053354958, 0.0115566058, -0.0247453377, 0.0032286751, -0.0185288042, 0.0029357646, -0.0236060955, -0.0663806722, -0.0112345871, 0.0456355289, 0.0154149691, -0.0700465739, -0.0553039499, 0.0377423242, -0.0289787948, -0.0209986586, 0.0058169072, 0.0343541242, 0.0203258786, 0.0433016345, -0.0049527469, -0.0116662467, 0.0123335496, -0.0150172114, 0.0041293548, 0.0540078804, -0.0458781943, 0.0203114245, 0.0867126882, -0.0282519143, -0.0309351236, 0.0235645734, 0.0351122953, 0.0245916005, -0.0041264938, 0.0092588933, -0.0185211301, 0.0049693892, -0.0223768074, 0.0338362008, -0.0308495574, -0.0220262688, 0.0751692578, 0.0515275784, -0.0060870606, -0.0195956435, 0.037426874, -0.0500488915, 0.0302248467, 0.0472025238, 0.0160985533, 0.0077610346, 0.0077154702, -0.0182330944, -0.0268862657, -0.0355170332, 0.0568832532, 0.0241474751, 0.0004672352, 0.0118995449, 0.020986136, 0.0383717008, -0.0239729378, -0.0172397885, -0.0084951436, 0.0525232553, -0.0356163532, 0.0515871346, 0.0323340744, 0.0003041442, -0.0485608354, 0.0517446212, -0.0023400844, 0.0132627236, -0.0669378936, -0.0193634909, 0.0228355005, 0.0143140219, -0.0098125283, -0.0190888774, -0.0132091893, -0.0703451633, -0.0000392794, -0.0596961752, 0.001845842, 0.0061673601, 2.778e-7, -0.0370937958, -0.0096461447, 0.015743902, 0.0316271372, -0.0117822038, 0.0716319233, 0.0074107312, 0.0361187793, 0.0036174955, -0.0231854208, 0.0516476035, -0.0121636214, 0.0340224952, -0.0014084805, -0.1068031639, -0.0133096306, 0.0431566089, -0.0340312682, -0.0476701707, 0.0014653279, 0.0600780919, 0.0795708224, 0.0123841818, -0.0254376475, 0.0595837794, -0.0388543122, 0.0210303478, 0.0251610819, 0.0461947434, -0.0073975115, 0.027554743, -0.0268898755, 0.0126526039, 0.0256777797, -0.0364150926, 0.0381857194, -0.0423685759, 0.0239988565, -0.0180171896, -0.0454132333, -0.0386390127, 0.0068191192, 0.030984113, -0.0463095345, 0.0721233934, -0.0438452065, -0.0070973993, -0.0052913055, 0.0402839035, -0.043630369, 0.0008040155, 0.0229076222, 0.0367143117, 0.0373667553, -0.0077691814, 0.0083738416, 0.0306804404, -0.0834699869, 0.0307804272, -0.0275364816, -0.0365459472, 0.0047726803, -0.0378982536, 0.0255458839, 0.0456419773, -0.0525166057, -0.0002970277, 2.414583405e-34, -0.003806148, -0.0175873488, 0.01434715, 0.0483758189, 0.0282692704, -0.009521584, 0.005139173, 0.0041312901, 0.0688442513, -0.0759273618, 0.0061042961 ]
http://arxiv.org/abs/2310.10180v2
http://arxiv.org/pdf/2310.10180v2
TRIGO: Benchmarking Formal Mathematical Proof Reduction for Generative Language Models
2023-10-16T08:42:39
2023-10-24T15:17:56
Jing Xiong, Jianhao Shen, Ye Yuan, Haiming Wang, Yichun Yin, Zhengying Liu, Lin Li, Zhijiang Guo, Qingxing Cao, Yinya Huang, Chuanyang Zheng, Xiaodan Liang, Ming Zhang, Qun Liu
cs.CL
cs.CL
Automated theorem proving (ATP) has become an appealing domain for exploring the reasoning ability of the recent successful generative language models. However, current ATP benchmarks mainly focus on symbolic inference, but rarely involve the understanding of complex number combination reasoning. In this work, we propose TRIGO, an ATP benchmark that not only requires a model to reduce a trigonometric expression with step-by-step proofs but also evaluates a generative LM's reasoning ability on formulas and its capability to manipulate, group, and factor number terms. We gather trigonometric expressions and their reduced forms from the web, annotate the simplification process manually, and translate it into the Lean formal language system. We then automatically generate additional examples from the annotated samples to expand the dataset. Furthermore, we develop an automatic generator based on Lean-Gym to create dataset splits of varying difficulties and distributions in order to thoroughly analyze the model's generalization ability. Our extensive experiments show our proposed TRIGO poses a new challenge for advanced generative LM's including GPT-4 which is pre-trained on a considerable amount of open-source formal theorem-proving language data, and provide a new tool to study the generative LM's ability on both formal and mathematical reasoning.
[ -0.0418303572, 0.0914342925, -0.001456415, 0.0443979129, -0.0363563299, 0.0060570086, -0.0020112651, -0.0063160886, -0.0476268828, 0.0294034276, -0.029968271, 0.0434536263, 0.0127877323, 0.0046758871, 0.0596780777, -0.0342382453, 0.0080198376, -0.0413419679, 0.0149281481, -0.0142311342, -0.0250855386, 0.0242329165, -0.0229212083, 0.0057157367, -0.0335912816, -0.0574271046, 0.0163897481, -0.0071665081, -0.0013898453, -0.0038324511, -0.0511645153, 0.0678867921, 0.0139809782, 0.0587171949, 0.0000019991, -0.0555823036, -0.0410735831, 0.0503035374, -0.0576030724, 0.0762860253, -0.0058517857, 0.0285212416, -0.0303715654, 0.0303777978, -0.0786903352, -0.0458532758, -0.0081319259, 0.0160658732, 0.05018913, 0.0800998956, -0.0184336603, -0.0660278276, 0.0150725096, -0.0326572955, 0.0278647672, -0.0245154444, -0.0050479667, 0.0255831461, 0.0070768353, -0.0227163918, -0.0096416874, 0.015062944, 0.0713864416, 0.015234408, -0.0555331856, 0.0191488992, -0.0457046628, 0.0193559136, 0.0153392851, 0.0400805846, -0.0103637548, -0.0729615763, -0.0350366645, 0.0152706997, 0.002475874, 0.0198198222, -0.0550665483, 0.0307505522, -0.0196523089, 0.0352939218, -0.0041811438, -0.0539245382, 0.0410108045, -0.0291356668, -0.0220933091, 0.0749353319, 0.0596154407, -0.0234298594, -0.0128155332, -0.0090183122, -0.0815908536, -0.0677727908, 0.0085267751, 0.0275857653, 0.0600014813, 0.0221947432, -0.0277873091, 0.0006916915, 0.0006904284, -0.0241778344, -0.0059620687, 0.0580938496, 0.0254163221, -0.0030125042, -0.0325762965, 0.0345161892, 0.0012268592, 0.0108120516, 0.0074490001, 0.0295871589, -0.0358231999, 0.0037598736, -0.0565283932, 0.0093818316, -0.004491983, 0.028649088, -0.0652114153, 0.0126153929, -0.0336208493, 0.0474001877, 0.0272493642, -0.0420467928, -0.0063913297, -0.0267872158, 0.0019501342, -0.0069519272, -0.0417345762, 0.0131782871, 0.0221665129, -0.0980333015, -0.008169204, 0.0229209643, 0.0053057522, -0.0003828887, 0.0109576453, 0.0491883382, 0.0007052725, 0.0037787152, -0.015489975, -0.0219240226, 0.0331131294, -0.0676515773, 0.0054813866, -0.1046310142, 0.0612642057, -0.0081613287, -0.0205725189, -0.0254056361, -0.006109748, 0.020260524, 0.056626603, 0.0516735949, -0.0076948334, -0.0022245776, 0.026439324, 0.0058986512, -0.0542120002, 0.0073799202, 0.0301837102, -0.0022621576, 0.0126400329, -0.009773951, 0.0306180269, 0.0337624177, 0.0349062569, -0.0129569694, -0.0131205888, 0.0027358062, -0.0263346229, 0.0240705609, -0.0153063135, 0.0901566371, -0.0495343693, 0.0222969372, 0.0005523834, 0.0375049748, 0.0276025794, 0.0144597543, 0.0648210198, -0.0109764785, 0.0793893561, 0.0190444738, -0.0519270524, -0.0074730408, -0.0479430035, 0.017730685, 0.0265407134, 0.0262151714, -0.0123060858, -0.0803643987, -0.0212567709, -0.0041898931, -0.0461674966, -0.018364789, 0.071092613, 0.0255080387, -0.0040266477, 0.0356862508, 0.02912548, -0.0887417942, -0.0169138163, -0.0553060547, 0.0568481982, -0.018206805, 0.0793072283, -0.0152469017, -0.0114859743, -0.0249637496, -0.0180922728, 0.0470649116, 0.0188983623, -0.0143570313, -0.0116218124, -0.0261087026, -0.0087998379, -0.028894648, 0.0354533195, -0.0059075961, 0.0792557001, -0.0123918802, 0.0434413403, -0.047391586, -0.0064493516, 0.0232654568, -0.0177359395, -0.0699241534, -0.0039608669, 0.0110578965, 0.0026424001, -0.0017841907, -0.0183478761, 0.0377800167, 0.0241454039, -0.0258728806, -0.0039409306, 0.0119139683, 0.0039018972, -0.0757682696, 0.0555658899, -0.0628520623, -0.018071441, 0.0015561597, -0.0770127326, -0.0128813721, 0.0487553924, -0.0057754503, 0.016261261, -0.032879062, 0.0051911841, 0.0356348045, 0.0201204121, 0.0415581577, 0.0585312732, 0.0178834703, -0.0120340511, -0.0040505328, 0.0063610757, 0.0146267386, -0.0215797126, 0.0454978347, -0.0089017395, -0.0289605595, 0.031471923, -0.0146455206, 0.0232927725, 0.0177212898, 0.0041365894, -0.0251850411, 0.0087041203, -0.0170067735, 0.0706857592, 0.0334863067, -0.0233026613, 0.004892448, -0.0037338652, -0.0189357791, -0.0147940982, 0.0355572738, -0.0343512818, 0.0280420054, -0.0263500195, -0.0511564836, -0.0210274775, 0.0044151344, -0.0216103531, 0.0508093759, 0.0014419617, 0.0457310453, 0.0257296469, 0.026292339, -0.0308758374, 0.0199829228, 0.011016814, 0.0286935214, 0.0498100221, -0.029835511, 0.039307531, 0.0517100096, 0.0087808296, 0.0289271455, 0.0135770068, 0.0040010097, -0.0281807724, 0.0069963075, -0.0062747533, -0.0176195167, -0.011675084, -0.0564598143, 0.0081505189, 0.0287030395, -0.0160879809, -0.0342265591, -0.0388535634, 0.0273741838, -0.0158421863, 0.042861864, 0.0072779381, 0.0196054894, -0.0145486845, 0.0200370885, -0.0170576964, -0.0685643703, 0.0122475587, -0.0322070047, -0.0254039746, -0.0420617983, 0.0282213222, -0.074267447, 0.0563063845, -0.0144102257, -0.0017104665, 0.0108748227, 0.0338747837, -0.0077475696, -0.0306753349, 0.0616117381, -0.014820531, 0.0515329503, -0.0280781593, 0.0254282467, -0.0218423344, -0.0180501938, -0.042846974, 0.0826573074, -0.0194954742, 0.0218261611, 0.0121284593, -0.0131716682, 0.0249065869, -0.0115766395, -0.0038472041, 0.0379434526, 0.0061638011, -0.0219500829, -0.0003952077, -0.0264437702, -0.0219221003, -0.0025437821, 0.0358920954, -0.0401204787, -0.0264556967, 0.0353853814, 0.0331944823, 0.0198861808, -0.0338735394, -0.0054467348, -0.0209127814, -0.0568534136, -0.0323624648, 0.0140419435, -0.037289992, -0.0523284897, 0.0361761637, 0.0870525166, 0.0343855247, -0.0161650665, 0.0376598015, -0.0144124608, 0.0166565049, -0.0072714044, 0.0448578484, -0.1034656763, -0.0111373691, 0.0283263586, -0.0207246039, 0.015673887, 0.0085764294, -0.0337215997, -0.1228831261, 0.0412636586, 0.0314527042, 0.0003833923, 0.012475376, -0.0378281847, 0.0266359821, 0.0025824471, -0.0348780379, 0.0341730751, -0.0039872727, 0.0361674912, -0.0062284372, -0.0303927884, -0.0525093637, 0.0088009536, -0.0174660757, -0.032760296, -0.0113074724, 0.0367016084, 0.0158962458, -0.069216989, 0.0510248803, 0.0781574547, -0.0444080643, -0.023013873, -0.0205636751, 0.0160687324, 0.0261035822, -0.0006416066, 0.0591501929, -0.0611960292, -0.0379163921, 0.0481035598, 0.1080586687, 0.0190894753, -0.0435140654, 0.0208024755, -0.0006865731, -0.0276223812, 0.0403318107, 0.0340693034, 0.0452287681, -0.0281527285, -0.0732991099, -0.0075894324, -0.0522866175, -0.0320441797, -0.0309203845, 0.0563812889, -0.080089584, -0.0414931215, 0.0171633065, 0.0139400251, 0.0762902871, -0.0031947005, -0.0194296241, -0.0222132355, -0.0084885946, -0.0140941711, 0.0391181931, -0.0450970046, 0.0201263521, -0.0405692235, 0.0133206667, -0.0384529568, 0.0034324147, -0.0316207372, 0.0656156465, -0.0694537833, -0.0691563934, -0.0365428515, 0.0471824333, 0.0229885615, 0.0095442962, -0.000724722, 0.0039075995, 0.0042522894, 0.0615251884, -0.0265442561, 0.0324729532, 0.084715642, -0.0119863311, 0.0201009437, 0.0393848941, 0.0148242433, 0.0340424143, 0.0117389467, 0.0530626513, 0.0142306359, 0.0112004522, 0.0288258363, 0.0883101374, -0.0112378253, -0.0124166803, -0.0228860807, 0.0077196672, 0.0121512013, -0.0545134693, -0.0033940449, -0.0742342919, 0.0498593301, -0.0076138405, 0.0204566233, -0.0193402972, 0.0094933482, 0.018287614, 0.0390028842, 0.01368252, 0.0348068289, -0.0123850852, 0.0339211822, 0.0276082978, -0.0518708974, 0.0155183766, -0.0321125463, -0.0288862474, 0.0037482574, -0.0426540822, -0.0142656285, 0.0200167689, 0.0503819361, -0.0474455543, -0.0128448596, 0.0082202666, -0.0741967261, 0.000287416, 0.023552293, 0.0555115044, 0.0487141423, 0.0262023658, -0.0499297231, -0.030797286, -0.0129844258, 0.0321087055, -0.0078109992, -0.0097309416, -0.0254712198, 0.0193524901, -0.002822167, -0.0451489761, 0.0528344773, -0.0251615047, 0.0422547609, 0.008209588, 0.0331555419, -0.0382844098, -0.0498489067, -0.0315581076, -0.034700226, -0.0140894577, -0.0140560428, -0.0617655031, -0.1250374466, -0.0185878724, 0.0403791703, -0.0385199524, 0.0240538958, 0.043052122, 0.085113816, -0.0186615251, -0.0327121243, 0.0194438435, 0.0082363077, -0.023297403, -0.0383252539, -0.0193830803, -5.799068852e-33, -0.0387203731, 0.0140012838, 0.0325520746, 0.0032721071, 0.0207515452, -0.0283782799, -0.0639548674, 0.0058476091, 0.0203787368, 0.0448835269, -0.0314471647, 0.0256615765, -0.0058747805, 0.0077658691, -0.050802201, 0.0273848958, 0.0161185842, -0.0113511439, -0.0785673261, 0.0163864251, 0.000519437, 0.0062000379, 0.0890156403, -0.0287615992, 0.0130059402, -0.0001789247, -0.0402215011, 0.0170832239, -0.0787513554, 0.0596314594, 0.0023562105, 0.0089669852, -0.0245378707, -0.0149106923, -0.0154988337, -0.0327563882, -0.0544161722, -0.0319753811, 0.0404827707, -0.016883621, -0.0447506011, -0.0540965088, 0.0503907688, 0.000361239, -0.0675385073, -0.033497192, -0.0008618089, 0.00429611, -0.0175472163, -0.0270397682, -0.0512750335, 0.0497074351, -0.0095711062, -0.0107842302, -0.0159051511, 0.0198074188, -0.0485255159, -0.0392572992, 0.0179902054, 0.0087170415, 0.0129822614, 0.0226966273, 0.0663626269, -0.0621608123, 0.0260581672, -0.0075281113, 0.0186043251, -0.0288759246, -0.0729206726, -0.0130719552, 0.0221845135, 0.0794753954, 0.0530411452, -0.0171171594, 0.0689035207, 0.0138094332, -0.0377087817, 0.0234203506, -0.0015272617, 0.0410061926, -0.0185399018, -0.0222635735, -0.0332491733, -0.002725593, -0.0290705636, 0.0019540719, -0.0318698063, -0.0175210945, 0.0030710429, 0.0078748493, -0.0436840467, -0.0068626953, 0.0107892603, -0.0518760793, -0.0382271595, 0.0454923995, 0.0069735148, 0.0010090604, 0.0107666124, 0.0276323408, -0.0032355038, 0.0073043411, 0.0176475961, 0.0068511916, 0.0254139416, -0.0068821702, 0.0236965474, 0.0514411367, -0.0273656957, 0.0113442047, -0.0541689545, -0.0234456267, -0.0013840154, 0.0137090711, 0.0342566706, 0.0538616069, 0.0158772618, -0.0010049096, -0.0298313051, 0.0010477018, -0.0301033873, 0.0993911698, 0.0125300707, 0.0508349687, 0.0084408429, -0.0223977529, -0.0158608947, -0.0135625619, 0.0833389685, -0.0509861931, -0.0017648482, 0.0093828104, 2.849e-7, 0.0593390614, 0.0075541832, 0.0453982912, 0.0630674139, 0.0071993936, 0.0009566317, -0.0186999999, -0.042556569, -0.0198899806, 0.0251387488, 0.0029286209, 0.0785182193, 0.0422254018, 0.0329870582, -0.0250118468, 0.0198419895, -0.0247193053, -0.0358063541, -0.0328438878, -0.0109659657, 0.0292072389, 0.0525861271, 0.0240977164, -0.0100407451, 0.0248686168, -0.0432561412, 0.0350416712, 0.0073539019, -0.004864885, 0.0282495636, 0.0327328034, -0.0472045094, 0.0233310852, -0.0205697529, -0.0282264743, 0.0149466405, -0.0177097172, 0.0956341624, 0.0033568959, 0.0309637487, -0.0180225912, -0.0552518666, 0.0030486453, -0.002113776, 0.0516625457, -0.0349304676, -0.0185322911, 0.0151624652, -0.0102406703, -0.0027740293, 0.0049616513, 0.01405326, 0.0010217938, -0.0040399763, 0.0311058573, -0.0110441726, -0.0167465564, -0.0567881688, -0.0243531149, -0.0260118172, -0.0599430501, -0.0305404682, -0.0161289424, 0.0244675167, -0.0075454623, 0.0305469297, -0.0060786959, 3.165320908e-34, 0.0481442027, -0.0204223506, 0.0345305875, 0.0183805283, 0.0615622103, -0.0157075431, -0.0148095358, 0.0013519146, 0.019246107, -0.0437508821, -0.0177366994 ]
http://arxiv.org/abs/2310.10176v1
http://arxiv.org/pdf/2310.10176v1
Large Language Models Meet Open-World Intent Discovery and Recognition: An Evaluation of ChatGPT
2023-10-16T08:34:44
2023-10-16T08:34:44
Xiaoshuai Song, Keqing He, Pei Wang, Guanting Dong, Yutao Mou, Jingang Wang, Yunsen Xian, Xunliang Cai, Weiran Xu
cs.CL
cs.CL, cs.AI, cs.LG
The tasks of out-of-domain (OOD) intent discovery and generalized intent discovery (GID) aim to extend a closed intent classifier to open-world intent sets, which is crucial to task-oriented dialogue (TOD) systems. Previous methods address them by fine-tuning discriminative models. Recently, although some studies have been exploring the application of large language models (LLMs) represented by ChatGPT to various downstream tasks, it is still unclear for the ability of ChatGPT to discover and incrementally extent OOD intents. In this paper, we comprehensively evaluate ChatGPT on OOD intent discovery and GID, and then outline the strengths and weaknesses of ChatGPT. Overall, ChatGPT exhibits consistent advantages under zero-shot settings, but is still at a disadvantage compared to fine-tuned models. More deeply, through a series of analytical experiments, we summarize and discuss the challenges faced by LLMs including clustering, domain-specific understanding, and cross-domain in-context learning scenarios. Finally, we provide empirical guidance for future directions to address these challenges.
[ 0.0485370047, 0.000355344, -0.0029938244, 0.0689016655, -0.0364473984, 0.025482215, -0.0057484489, 0.0145356823, 0.0468758233, -0.0643790513, -0.0481139943, -0.0470515527, -0.0326416753, 0.0239338297, -0.0208912119, -0.0131669668, 0.0335088596, -0.0449289232, 0.0239768084, 0.0451360866, 0.0034896957, 0.0231498946, -0.0039145732, 0.096554853, 0.0242688097, -0.0403543226, -0.0262720585, 0.0097356746, -0.0006844197, -0.0086779883, 0.0082965, 0.0288778096, 0.0604345798, 0.0287166126, 0.0000018597, -0.0596153401, -0.0270054433, -0.0271624215, -0.0447435193, 0.0088436678, 0.0345913507, 0.0197409503, 0.0088276975, 0.017089393, -0.0273845326, -0.0158659182, 0.0412342548, 0.031953916, 0.0149102528, 0.0652981251, -0.0114356978, 0.0033206039, 0.0223822929, -0.0230993032, 0.0273395218, -0.0646219328, 0.0388199911, 0.0185966212, -0.0047022877, 0.0255065039, -0.0028972928, 0.0202178285, -0.0301244706, 0.0059098098, -0.0002784009, 0.025477957, 0.0281214174, -0.0108080879, -0.0162351523, 0.0773201138, -0.0040261755, 0.0044760648, 0.007210982, -0.0018240513, -0.0174957346, -0.0101963449, -0.068213366, 0.016060628, -0.009177004, -0.0004016871, 0.0103294654, 0.0144915516, 0.0136332773, 0.0211186018, -0.0390928909, 0.0443879999, -0.0140351765, 0.0002557506, -0.0113742109, -0.012861535, -0.0548132993, -0.088910602, 0.0010249929, 0.0326788835, -0.0349690467, 0.0364331938, -0.0273992717, 0.0155923227, 0.0048586978, -0.0102761844, 0.0058488348, 0.0604753904, -0.0148811331, 0.0634064525, 0.0387958959, 0.0299728476, -0.022870589, -0.0028072782, -0.0637667701, -0.0190295111, -0.0876471102, -0.0054621347, -0.0399151295, 0.0213204287, -0.0569423474, -0.0501476452, -0.0100726066, 0.0674012303, 0.031613715, -0.0407977849, 0.0113827949, -0.0328980424, -0.0203960072, 0.0072081764, 0.000099534, 0.0241011679, 0.006686518, 0.0449005067, 0.0104338266, -0.0442318469, -0.0379276164, 0.0403720662, 0.0151924128, -0.0141131682, -0.0204745829, 0.0558868311, -0.0030269746, -0.0670573115, -0.0107569741, -0.0315764286, -0.0413654745, -0.062749885, -0.0187067427, -0.0186799485, -0.0191149227, 0.0242474563, -0.0083786566, -0.0240128171, 0.0092711467, 0.0228121933, -0.009863981, 0.0509022884, 0.0176783893, 0.0178616904, 0.0048738145, 0.0272011608, -0.0407827981, 0.0736575797, 0.0032435211, 0.0217770003, 0.0363393687, 0.0202419218, 0.0019207958, 0.039662119, 0.0031328592, 0.0250999648, 0.0690108612, 0.0484954976, 0.077616699, 0.0335547701, -0.0013134792, 0.0398943685, -0.0597582459, 0.0130171143, 0.0641976967, 0.0631557405, 0.0132564576, -0.0209090281, 0.0291530024, 0.0719645396, -0.028494712, -0.0197350364, -0.0130710257, -0.0173503421, -0.0291984696, -0.0205322225, 0.0258401744, 0.0003664589, -0.0486009978, -0.0140792318, -0.0210651997, -0.0047593345, 0.0329650678, 0.0250083506, 0.0801866949, -0.0039328868, -0.0487276576, 0.0231593754, 0.0241924599, -0.0150613701, -0.00026322, -0.0926631391, 0.0391432755, 0.0016406253, 0.05883874, -0.047158692, -0.0501518846, -0.0477882326, 0.010461417, 0.0127811963, -0.0066732829, -0.039593637, 0.0242492631, -0.0450326093, -0.0260741971, -0.0250461381, -0.0067759911, -0.0082047898, -0.0140050715, -0.007949044, -0.0028875249, -0.0736064538, 0.01947386, 0.0124339424, -0.0032946202, -0.0023894031, 0.0470991507, 0.0217981339, 0.0197477639, 0.0317869559, 0.0283746514, -0.0205265209, 0.0158538371, -0.0229537152, 0.0110366745, 0.0127663361, -0.042731598, -0.0540850796, 0.0218054671, 0.0307093225, -0.0412122048, -0.025230905, 0.0086740358, -0.012018715, 0.0103152907, -0.0241717231, 0.0328805745, -0.0726968274, -0.0079401843, -0.0132504897, -0.0012200618, -0.0333558619, 0.0725898221, 0.0229349211, -0.0374432094, 0.0608230196, -0.0229214076, 0.0467057824, -0.0279715881, 0.0088215899, -0.0054779984, -0.0455244742, 0.0027112036, -0.0024389646, 0.0407909267, -0.0369176343, -0.0237671994, -0.1061106324, 0.0250551626, -0.0473356694, 0.0087298788, 0.0127002094, 0.0147814108, 0.0006507766, 0.0131346984, -0.0045036301, 0.0022533534, 0.002282385, -0.0063802688, -0.0025722168, 0.0117009431, -0.0468823016, 0.0067506526, 0.0319119878, 0.0008645526, 0.019101331, -0.0225597247, -0.0168526843, -0.0727351233, 0.0687396899, -0.0205282625, 0.0231478661, -0.0415008217, -0.000090744, 0.0193813164, 0.0033355081, 0.0393587537, 0.0664968863, -0.0223609339, 0.0415516533, 0.0271027666, -0.0250097811, -0.0476397201, 0.0139741935, -0.0174631346, -0.0212279633, -0.0389727764, 0.0067614671, 0.034528967, 0.0463520363, 0.0132444678, -0.0007472412, -0.0755295381, -0.0297155399, -0.0154765006, -0.0064998413, -0.0687905699, -0.0015655853, -0.0127961989, 0.0414631069, 0.0282484535, -0.0429441631, 0.0518454984, -0.0102014793, -0.0283486173, -0.0823256373, -0.0273114666, -0.0470767245, 0.0680508316, -0.0795956105, 0.0326257199, 0.0844736099, -0.052918639, -0.0207638014, 0.0110445581, -0.0169043429, -0.0223866738, 0.0768176243, -0.0515209213, 0.0251005813, 0.0076427204, -0.0403076559, -0.0399459526, -0.0638532713, -0.0199236758, 0.0130990278, -0.0072907107, -0.0086005665, -0.0041178125, 0.0629823431, -0.0011073999, 0.0163164139, -0.0088378573, -0.0135114621, -0.0291083548, 0.0219357889, 0.0464601144, -0.0337676033, -0.0412452444, -0.0167947002, 0.0246891957, 0.0393460542, 0.0071749017, -0.0523958355, 0.0291461032, -0.0059628566, 0.0341743752, 0.018138621, -0.019000439, 0.0277318321, 0.1008837372, 0.0133087328, -0.0310871955, 0.1020479947, 0.0272802953, -0.0545682311, -0.0077912728, -0.0056775757, 0.0092959749, 0.0082918312, -0.0162146613, -0.0599631779, -0.0781861544, -0.0017485805, -0.0049925474, -0.0110703353, -0.0076330495, -0.0201970004, -0.0947896913, 0.0343862511, -0.0238810126, -0.0448727645, -0.0139701758, -0.0212594289, 0.0294820908, -0.0352231301, -0.0032201528, -0.0283701066, 0.0056130821, -0.0379156061, 0.0089644548, 0.0039246622, -0.041897364, 0.0486443304, -0.0374784693, 0.0383517146, 0.0467031114, 0.0418954901, 0.0651728287, -0.0110351983, 0.0273770541, -0.0028351343, 0.0100339819, -0.0337837003, 0.0057499735, -0.0185769722, 0.0208615605, -0.0108523816, 0.0604271367, -0.0752866268, -0.0314156301, 0.0222868901, 0.0789052695, -0.0317276046, 0.0458698459, 0.0111091426, 0.0068674986, 0.084103547, 0.0939535871, -0.0061174487, -0.0388122164, -0.0054884702, -0.0233135372, -0.0266663618, 0.032626655, 0.010503022, -0.0369401313, -0.0062872693, 0.0014707275, -0.02693009, -0.028726656, 0.0449984744, 0.019421678, 0.0181764904, 0.0196276959, 0.0035435183, 0.0421092324, -0.0157371294, 0.0322357304, -0.0577464923, 0.0454267524, -0.0415967517, -0.0079305023, 0.0313555487, -0.0597397164, -0.015120782, 0.0349630676, -0.1106801108, -0.0401448347, -0.0409918949, -0.0060249087, 0.019235719, 0.0370151661, -0.0377791189, 0.0010443346, -0.0089427838, -0.0165212583, -0.028864475, 0.0072563197, 0.0252173264, 0.0521471351, -0.0061403164, 0.0300448146, -0.0334621109, 0.0019151835, 0.0432251915, 0.0168090649, -0.0326079838, -0.0771416128, 0.0306943338, -0.0280077811, 0.0713445619, 0.0253486317, -0.0505545102, -0.0537623316, 0.0077042473, 0.0044373558, 0.0139550967, -0.0634909868, -0.0215639751, 0.042833481, -0.0251242667, -0.0120703503, 0.0479691364, -0.0548172742, 0.0098271547, -0.0438293666, -0.0004037245, 0.0150931794, 0.0069481269, 0.0218364671, -0.0207300168, -0.0260178223, 0.0040697218, -0.0083947005, 0.0176392179, 0.0000592096, 0.1385375857, 0.0177626852, -0.0363168791, 0.0198343359, 0.0366084017, -0.0588536337, -0.0247872081, 0.004183182, 0.0384770222, 0.0206797067, 0.0139776263, 0.019270882, -0.0370730013, 0.0209414922, -0.0358935744, 0.069575049, -0.0321869031, -0.0248953477, 0.0265421867, -0.0008273647, -0.0332950577, 0.0037964713, 0.0636777431, -0.0372235663, 0.0256400593, 0.0296762325, 0.0007689699, -0.0528026074, 0.0017876767, 0.0660743862, 0.0376042426, -0.0230670571, 0.0343181118, -0.0357581228, -0.0166193228, -0.0154895782, -0.0469991192, -0.0160314515, -0.0184182171, 0.0379419103, 0.0610975996, -0.0276955049, -0.0359622166, -0.0347494446, -0.0350778587, -0.0394923277, -0.0115516288, -0.0345629826, -5.739304148e-33, 0.0085345842, -0.0090078115, 0.0312433112, -0.0027699431, -0.0081171421, -0.0112332823, -0.0260289833, -0.0122556426, -0.0146414926, -0.030753307, -0.0016513796, 0.0336873308, 0.0041039051, 0.0125509119, -0.0279873144, -0.0207258966, 0.0437874831, -0.0069892001, -0.0003604345, 0.0434347875, 0.0717379972, -0.0005087783, 0.0310419314, -0.0591899864, 0.0157989357, -0.0067872009, -0.0218330082, 0.0611098371, 0.0359902903, 0.0476853848, -0.0614944994, 0.0144225005, 0.0183412079, -0.0438046269, -0.0050489628, 0.0256579649, -0.0520478524, 0.0185027383, 0.0225702841, -0.0292110369, -0.0151433358, -0.0339476317, -0.0342104398, 0.0092029292, -0.028597815, -0.025986677, -0.0021978298, 0.0077584726, -0.0093817739, 0.0406742953, -0.0672206134, 0.027705308, -0.0157852937, -0.0938462615, -0.0026769335, 0.0271793939, 0.0199392922, -0.0132230371, -0.0191471912, 0.0392905623, -0.0348969437, -0.0278180614, 0.0370555222, 0.0403685905, 0.0215058755, 0.0570255779, -0.018407654, 0.0099766776, -0.0138853723, -0.0200253017, -0.0047567338, 0.0509954169, -0.0150397783, 0.0293304119, -0.0061452864, 0.0318178833, -0.0747885555, 0.019503871, 0.0155174639, 0.0016767604, 0.0477575026, 0.0376953818, -0.0407436118, -0.0164995231, 0.0034419566, 0.005265242, -0.0278580766, -0.0095453821, 0.0499050766, 0.033020284, -0.0014296733, -0.0216184501, 0.0698005855, -0.0651633441, 0.0476399139, 0.043045707, -0.0131592285, 0.0048012249, -0.0152841629, 0.0089411596, -0.0739494786, -0.0300682429, 0.0497182719, 0.0085116504, -0.0062988745, 0.0185213629, 0.0013473853, -0.0100983679, -0.0131288972, -0.0063255928, -0.0253137276, 0.0265885219, -0.0576038025, 0.063531369, 0.0372975543, 0.0070066741, -0.0173899326, 0.1048460752, 0.0269633569, -0.0164279584, -0.0404226072, -0.0202693231, -0.0003153258, -0.034320619, -0.026898481, 0.0036931124, 0.0250372849, -0.0433904082, -0.0021639504, -0.0298417471, -0.013514881, -0.0080850925, 2.639e-7, -0.0035824, 0.0302639194, -0.0027926546, 0.0560565963, 0.0054356474, 0.081806846, 0.0015168522, 0.0256850049, 0.0332163237, -0.015009433, 0.0435200147, 0.007048666, 0.0493394658, -0.0144084711, -0.0864727572, 0.0219458677, 0.0179406404, -0.0313661993, -0.0439874679, 0.0267873388, 0.047721941, 0.100531213, 0.0023454621, 0.0060986313, 0.018919792, -0.0442725122, 0.0552196354, -0.0451960266, -0.0131278047, 0.0330751836, 0.0182889663, -0.0252915993, 0.0138108814, 0.0271052197, 0.0092758983, 0.0503705628, 0.0142866801, 0.0659488291, -0.000891546, -0.021292327, -0.0336561203, 0.0001689547, 0.0052511618, -0.0726908371, 0.0747007206, -0.0572699346, -0.0397223383, -0.0207816344, 0.056358248, -0.023819726, -0.0099930689, 0.0022087651, 0.0259657651, 0.0152522605, -0.008462809, -0.0128166862, 0.0245203488, -0.0801322758, 0.0277731735, -0.0229204688, -0.0536205657, -0.0432470664, -0.02555364, 0.0159133151, 0.057296712, -0.0658693686, 0.0080534322, 2.308525346e-34, -0.0112689985, -0.0166623797, -0.0044024563, 0.0216186531, 0.0329328813, -0.0005201949, -0.0200918578, -0.0049373284, 0.0544501618, -0.1051559895, 0.0083167413 ]
http://arxiv.org/abs/2310.10169v1
http://arxiv.org/pdf/2310.10169v1
DemoNSF: A Multi-task Demonstration-based Generative Framework for Noisy Slot Filling Task
2023-10-16T08:16:53
2023-10-16T08:16:53
Guanting Dong, Tingfeng Hui, Zhuoma GongQue, Jinxu Zhao, Daichi Guo, Gang Zhao, Keqing He, Weiran Xu
cs.CL
cs.CL, cs.AI, cs.IR, cs.LG
Recently, prompt-based generative frameworks have shown impressive capabilities in sequence labeling tasks. However, in practical dialogue scenarios, relying solely on simplistic templates and traditional corpora presents a challenge for these methods in generalizing to unknown input perturbations. To address this gap, we propose a multi-task demonstration based generative framework for noisy slot filling, named DemoNSF. Specifically, we introduce three noisy auxiliary tasks, namely noisy recovery (NR), random mask (RM), and hybrid discrimination (HD), to implicitly capture semantic structural information of input perturbations at different granularities. In the downstream main task, we design a noisy demonstration construction strategy for the generative framework, which explicitly incorporates task-specific information and perturbed distribution during training and inference. Experiments on two benchmarks demonstrate that DemoNSF outperforms all baseline methods and achieves strong generalization. Further analysis provides empirical guidance for the practical application of generative frameworks. Our code is released at https://github.com/dongguanting/Demo-NSF.
[ 0.0408632793, 0.087719284, 0.0143816127, -0.0162822586, -0.0185264237, 0.0158615336, 0.0001692006, 0.0223704111, -0.0004563515, -0.0262110177, -0.040629264, -0.0449457094, 0.0123476516, 0.0228690635, 0.0495795161, -0.0651980862, 0.0626913086, -0.0228135232, 0.0157964118, 0.0116863512, -0.0226011761, -0.0224604253, -0.0627845675, 0.0327031314, -0.0405434556, -0.0004742709, -0.023065526, 0.0127258096, 0.0030065624, -0.0220906679, 0.0155335255, 0.0807211846, -0.002559457, 0.0636415631, 0.0000017527, -0.0228412505, 0.0293757189, 0.0058166557, -0.0784607157, -0.0312005449, -0.0008702012, 0.0494505093, -0.0221306141, -0.0162652489, -0.0249647535, -0.0951672494, 0.0485605076, 0.0406332538, 0.0317631066, 0.075855583, 0.0030067412, -0.0175093058, -0.0007285004, -0.0668014511, 0.075217016, -0.0319169052, 0.0050482163, -0.0130706085, 0.0362357162, 0.0218116045, -0.0010190372, 0.0381802879, 0.0418234877, -0.0301328581, 0.0096678408, 0.0591987148, 0.0062870462, -0.0367462784, -0.0372332782, 0.0711009279, 0.0100742551, 0.0130605986, 0.0091499081, -0.0020608103, 0.0083018066, -0.0239095651, -0.0251793507, 0.0123234857, -0.0397357717, 0.0094211167, 0.0233201589, 0.025639439, 0.0159153827, -0.01578632, 0.0029522097, 0.0099282162, -0.0015564422, -0.0460184626, -0.0074379602, -0.0179652702, 0.0152455866, -0.0736989453, 0.0214651581, 0.0019028306, -0.083703272, 0.0329354666, -0.0466432236, -0.0597260147, 0.0137934536, 0.0180327296, 0.0035797791, 0.0372441038, -0.0532910489, 0.0545612872, -0.0154390689, 0.0547699295, -0.0223485604, 0.0321292914, -0.0244608317, 0.0179467406, -0.0296135955, 0.0028572113, -0.0306618512, -0.0015754335, -0.0664097145, -0.0382979997, -0.0059909541, 0.014832017, -0.0157438032, 0.0596846417, 0.0318524763, 0.0068323207, -0.084968783, 0.0245412048, -0.0066226339, -0.0101593388, -0.0252912603, -0.0053765303, 0.0374836959, -0.0366870053, -0.0760809854, 0.0273526534, 0.0043943995, -0.0506794155, -0.0130082397, 0.0843504369, -0.0321051888, -0.0113595687, -0.026849186, 0.0245081354, -0.0082757352, -0.0450780801, -0.0291910898, -0.0266304798, 0.0279539339, -0.017324945, 0.0107182572, -0.0680638552, 0.0125945006, 0.0268595517, -0.0021112182, 0.0724833757, -0.009046617, -0.0409952737, 0.028553579, 0.0292990282, -0.0163165908, 0.0476779528, 0.0241098441, 0.0202693064, 0.0189855974, 0.0347469263, 0.0289896205, 0.0311236996, 0.0227858014, -0.0062702517, 0.0086876675, 0.0002143744, 0.0463313125, 0.0182196572, 0.0198728442, 0.0405292064, -0.061439421, -0.0212261118, 0.0314132683, 0.0036926661, 0.0041791559, -0.0335378908, 0.0471510738, 0.0363805555, 0.0114558693, 0.043819353, -0.026486164, -0.0055906912, 0.01362631, 0.0312149562, 0.034777388, -0.0150540881, -0.0460589528, -0.0143747367, -0.0025338356, -0.0302342139, 0.0085587734, -0.0048459959, 0.0554672554, 0.0422881804, -0.0729307383, 0.0420294181, 0.0338673256, -0.0319380723, 0.0005118249, -0.029657051, 0.0125045981, 0.0071000657, 0.0285868254, -0.0636722669, -0.0476818755, -0.0467256121, -0.0246059466, 0.0429524966, 0.0065410929, -0.0325924493, 0.0506402254, -0.0370755903, -0.0151806669, 0.0028728708, 0.0090807695, 0.0451219901, 0.0655666962, -0.0278701149, 0.0201673768, -0.0311126336, 0.0227141436, 0.0295326412, 0.0062281163, -0.0558554269, 0.0430476554, -0.0121468473, 0.0559837781, 0.0253025908, -0.0347166955, -0.0187802799, 0.0259624012, -0.0137999263, 0.043028079, 0.0257902201, -0.078883782, -0.0792485625, -0.0096479636, 0.027408367, -0.04938557, 0.0184879899, -0.0436175056, -0.0626244321, -0.007367617, -0.0091729881, -0.0165837277, -0.0748885795, -0.0178568419, 0.0609720312, 0.0091484468, -0.036652673, 0.062475875, -0.0005296095, 0.0110816956, 0.0620462298, 0.0584821403, 0.0050333203, -0.0993972048, -0.0115877166, 0.0013497571, -0.0342371799, -0.0298770405, 0.0002438446, 0.0038156891, -0.068172358, -0.0175610315, -0.0609718338, 0.0148213841, -0.0226446781, 0.0259842928, 0.004944738, 0.0102734659, -0.0208706576, -0.046885442, -0.0370884463, -0.0572659895, 0.0098525193, -0.0259032343, 0.0124665331, 0.0616771281, 0.0067065801, -0.0046543032, 0.0295548774, 0.0070527885, 0.0285865106, -0.0393033177, -0.0514180735, -0.0621473677, 0.0135503523, 0.0361512788, 0.048809249, -0.026758343, 0.0079197939, 0.0233480968, 0.0054968935, 0.0579392985, 0.0355128944, -0.0190121364, 0.0451749563, -0.038563434, -0.0346364938, -0.0468843095, 0.0582547225, -0.0177222099, 0.0351978652, -0.0313260555, 0.0149470577, -0.0123326257, 0.0616268404, 0.0078655863, 0.0399918333, -0.0352856964, 0.0028659047, -0.0209058188, -0.0721618086, -0.0287340228, -0.020177193, -0.0700480863, -0.0000966042, -0.0560943969, -0.0365070514, 0.077903606, -0.0499036685, -0.0545264855, -0.0524541475, 0.003584085, 0.0059667425, 0.0427245572, -0.0057303724, -0.0120991422, 0.0497539937, -0.0816173032, -0.0098290909, 0.0082731172, -0.0095784022, -0.0209451281, -0.0336960144, -0.0435587503, -0.006123485, -0.0231494065, -0.0298372135, -0.0824559852, -0.0457604825, 0.0289855339, 0.0092047388, 0.0075784675, -0.0358311795, -0.0055913338, 0.0142308613, 0.0080880467, 0.0635387897, 0.0107503254, 0.0266784001, -0.0369969979, 0.079451032, -0.0030633858, 0.028305728, -0.0272601806, -0.031079907, -0.0104768407, 0.0271555036, 0.041041363, 0.0014179944, 0.00969363, 0.0092116296, 0.0262671281, -0.0055744937, 0.0070276456, 0.0248717219, 0.0654607192, -0.0374128446, -0.0030875383, 0.083528541, 0.0256784018, -0.0380020663, -0.0220689848, 0.0392812043, 0.0394760221, 0.0139409434, 0.0455204025, -0.1091005206, -0.0216013696, 0.035026852, 0.0333182216, -0.0157811008, -0.014319581, -0.0258221719, -0.091959469, 0.0653831363, -0.0128916241, -0.0517617948, -0.0091026472, -0.0062325932, 0.0560529828, 0.0119649628, 0.0132772904, 0.0099219596, 0.0406756699, 0.0086178165, 0.0566291623, 0.0258966051, -0.0720769688, -0.0486151055, 0.0023736032, 0.0752377659, 0.0239543412, -0.0151648428, 0.022376908, -0.001037563, 0.0066495454, 0.0051547419, -0.0056457184, -0.0326499678, 0.0389587469, 0.0079180067, -0.040277712, 0.0138546191, 0.0237096231, 0.0140008116, -0.0454266593, -0.0287482236, 0.0021212443, -0.0109205581, 0.048590716, 0.0043212092, -0.0120073576, 0.0864348412, 0.0558315665, 0.0344089344, 0.0007679644, 0.0139597533, -0.0069828867, 0.0199453812, -0.0577731207, 0.026155198, 0.0240726732, 0.0159011204, -0.0564286076, -0.040204525, -0.0531905182, 0.0314342678, 0.073828876, 0.0086803194, -0.0067063202, -0.0270707533, -0.0009267372, -0.0387504175, 0.0193302706, -0.0306808259, 0.008371057, -0.0365697257, -0.0763244331, 0.0082386695, -0.0403283462, -0.017959388, 0.0310950372, -0.1030867249, -0.0412723161, 0.0176602826, 0.0383932702, 0.0167231057, 0.0637618676, -0.0186633859, -0.0011843161, 0.0367768593, 0.0426195115, -0.0532387495, -0.0014012763, 0.054849837, -0.02907959, -0.0186606664, 0.0095435223, -0.0270694513, 0.0025913748, 0.0298791882, 0.0350508578, -0.0127507653, -0.0163236056, 0.0213256758, -0.026578743, 0.0769380331, -0.0234739333, 0.0056928839, -0.0429589078, 0.0594083034, 0.0073831324, -0.031062128, -0.043431282, -0.0146107143, 0.0181262847, -0.0064582019, 0.0056492314, 0.0184294675, 0.0062074503, 0.0891728774, -0.0597245842, -0.0230179261, 0.026363628, -0.0439602397, -0.0073160189, 0.0246481244, -0.0082954001, 0.0309330411, 0.0192595012, 0.0483742878, 0.010700753, 0.0912676901, 0.0307676401, -0.0526786819, 0.0329276659, 0.0232873019, -0.0414986499, -0.000912743, -0.037494231, 0.0345753767, 0.0204094406, -0.0128159337, -0.0000311324, -0.0126862107, 0.0196234267, 0.0070063621, -0.0024351766, -0.0040799254, -0.0089923358, 0.0084454166, 0.0100766346, 0.0161136109, 0.0143324155, 0.0941564292, -0.0093840137, 0.0273748785, -0.012743216, 0.0514961705, -0.0581033789, -0.0328021422, 0.0218665563, 0.0620813072, -0.020320449, 0.009517814, -0.0124731306, -0.0376250856, -0.0370068215, 0.0137289362, -0.001904699, 0.0269421395, 0.0265456978, 0.028441228, -0.037189059, -0.0257626381, -0.0230704658, -0.031462606, 0.058605127, -0.0336591266, -0.016009992, -5.805441868e-33, -0.0568063185, -0.0100540528, -0.0073147947, -0.024833912, -0.0011010492, 0.0023902245, -0.0345980935, 0.0053301407, 0.0400742814, 0.0073713567, -0.0305413473, -0.0273827277, 0.048794724, 0.0386546478, -0.0330144688, -0.0106237587, 0.0661533475, -0.0005699184, -0.0376716852, 0.0089433119, -0.0052009998, 0.0447926559, 0.067560561, -0.0694461018, 0.0625519827, -0.0007119478, -0.0193892661, 0.0173478238, 0.0079210075, 0.03449158, 0.0017317502, 0.0314696468, -0.0085790213, -0.0705179796, -0.033794336, 0.0416180305, -0.1209200621, -0.0073845377, 0.0230812188, 0.0413104892, -0.0518106446, -0.0115893101, -0.022713352, -0.0338918455, 0.0185681041, 0.03556595, -0.0135810385, -0.004975799, -0.0017590678, -0.0324399993, -0.0160421617, 0.0449503474, -0.0130047435, -0.051688958, 0.0293781832, 0.0289886091, 0.0109793153, -0.0620450377, -0.0369157195, 0.0058813193, 0.0119774761, 0.0365655534, -0.0058671096, 0.0446210466, 0.0024690563, 0.0395410247, 0.0434823595, -0.0083741629, 0.020709401, -0.0192226283, -0.0314120241, -0.0029978079, -0.0023136181, -0.0020812387, 0.0418787561, 0.0286165606, -0.0176038425, 0.0154429115, 0.0295952093, 0.0210343525, 0.002615988, 0.0234895758, -0.0355246365, -0.0132699041, -0.0181693807, 0.019051373, -0.0243630279, -0.0083027771, 0.0410562865, 0.0413521379, -0.0298920572, 0.0277557541, 0.0667004362, -0.0170306545, 0.0237331968, -0.0006673813, 0.0233868137, 0.0172580685, -0.010704319, -0.0350101665, -0.0086279558, -0.0609105378, 0.0931740627, 0.056504149, 0.0025812392, -0.0082106888, -0.0071962103, 0.0278542601, -0.039580971, 0.0384790488, -0.0231320877, 0.0787134692, 0.0120006166, 0.012041999, 0.0483870506, -0.0058272723, -0.0212206785, 0.0381026044, 0.0220404174, 0.0014414071, -0.0338440947, 0.02554073, -0.0051964861, 0.0119359167, -0.0162362549, -0.0026365195, 0.0098375604, -0.00745897, -0.0005273636, -0.0081973802, 0.0416131914, 0.0399514697, 2.539e-7, -0.0240608882, 0.023443535, 0.0403257534, 0.0295207575, 0.027181102, 0.0041612708, -0.0101125659, 0.0089093177, 0.0109671615, -0.0420835316, 0.0011950468, -0.0070006759, 0.0476266891, 0.0215586703, -0.1454120576, -0.0533549935, -0.0393108726, -0.0069416966, -0.0344151147, 0.0298039727, 0.0488108359, 0.086932525, -0.0003410307, -0.010725135, 0.0302275829, -0.0403621085, 0.003094956, 0.0077279187, 0.0122920722, 0.0189095251, 0.0227272231, 0.0137719978, 0.0212878138, 0.045473218, -0.0206312537, -0.0070387856, 0.0091370959, 0.0413751341, 0.0176925398, -0.0527124554, -0.0219812281, 0.0254248064, 0.0214342102, -0.0479766093, 0.0402740054, -0.0464484096, -0.0076610055, -0.0065229642, -0.040259134, -0.0104270456, -0.0047322093, -0.0012552553, -0.0161637906, 0.0024475188, 0.0218816996, 0.0142557621, -0.04050247, -0.0778001919, -0.0493700728, -0.0282686874, -0.0610171705, -0.0226771459, -0.0008117632, -0.064895995, -0.0240996722, -0.0455369987, -0.0272057559, 2.301381463e-34, 0.0293659512, 0.0110006602, -0.0025076088, 0.0564643852, 0.0008058734, -0.0101162698, -0.0227349661, 0.0132538434, 0.0080286898, -0.0442806482, -0.0385119058 ]
http://arxiv.org/abs/2310.10159v1
http://arxiv.org/pdf/2310.10159v1
Joint Music and Language Attention Models for Zero-shot Music Tagging
2023-10-16T08:00:16
2023-10-16T08:00:16
Xingjian Du, Zhesong Yu, Jiaju Lin, Bilei Zhu, Qiuqiang Kong
cs.SD
cs.SD, cs.CL, eess.AS
Music tagging is a task to predict the tags of music recordings. However, previous music tagging research primarily focuses on close-set music tagging tasks which can not be generalized to new tags. In this work, we propose a zero-shot music tagging system modeled by a joint music and language attention (JMLA) model to address the open-set music tagging problem. The JMLA model consists of an audio encoder modeled by a pretrained masked autoencoder and a decoder modeled by a Falcon7B. We introduce preceiver resampler to convert arbitrary length audio into fixed length embeddings. We introduce dense attention connections between encoder and decoder layers to improve the information flow between the encoder and decoder layers. We collect a large-scale music and description dataset from the internet. We propose to use ChatGPT to convert the raw descriptions into formalized and diverse descriptions to train the JMLA models. Our proposed JMLA system achieves a zero-shot audio tagging accuracy of $ 64.82\% $ on the GTZAN dataset, outperforming previous zero-shot systems and achieves comparable results to previous systems on the FMA and the MagnaTagATune datasets.
[ -0.0096010379, -0.006135866, 0.0116015188, 0.0457273126, 0.0120470794, -0.0110861845, 0.0344575755, -0.0214099567, -0.0303391125, -0.0328562669, -0.0349792391, -0.011247973, -0.0177754238, 0.0352418609, 0.0161611475, -0.0355613753, 0.0334403925, -0.0135742566, 0.0338777564, 0.0056368602, -0.0303319152, -0.0207945351, 0.0101522198, 0.0379156768, -0.0256154519, -0.0042905766, -0.0389798731, 0.0257284921, -0.0019463145, -0.0323353298, -0.0331012756, 0.0244181585, 0.0078941332, 0.0464122444, 0.0000016895, -0.0011934276, -0.0049722912, -0.0224488676, 0.0042004823, -0.0142609589, -0.0105363149, -0.0075082504, -0.0213655476, 0.0186745021, 0.006015412, -0.0641064197, 0.0488213785, 0.0094343377, 0.0674939528, 0.0742302909, -0.0037885034, -0.0745484903, 0.0327647626, -0.0422977544, 0.0415170044, -0.0376044773, 0.0099482844, -0.0140118422, 0.0252834633, 0.0360990986, -0.0538078435, 0.0801993459, 0.0191285536, 0.0094320159, 0.1023086905, 0.0637356639, -0.0824985132, -0.0178995524, 0.0094437618, 0.0845548436, -0.0188848861, -0.0213212296, -0.0118911993, 0.0092311893, -0.0286863558, -0.0805625618, -0.0661769807, 0.0174244661, 0.0461603291, 0.0252608936, -0.0380572118, 0.0254446827, 0.0470820256, -0.0346985161, -0.0004466907, 0.0363886058, 0.0274514705, -0.0457687862, 0.0037171391, -0.0483146384, -0.0188181717, -0.0696010441, -0.0097571062, 0.0228208173, 0.0225742422, -0.009486421, -0.0689564645, -0.0515497848, -0.0139663573, -0.0093374625, 0.0230551139, 0.0219801441, -0.0205714796, 0.0970923826, -0.0402556248, -0.0100810202, -0.0144325914, 0.0257979333, -0.037302155, -0.0573905855, -0.0158338118, -0.0161811598, -0.045250956, 0.0066086319, 0.0089992126, -0.0464260727, 0.0025897918, -0.0234498754, -0.015406644, 0.0407743789, -0.011549687, -0.0138066411, -0.0312887765, -0.0319631808, 0.0372772291, 0.0333780237, -0.015746776, 0.002692465, 0.0018792745, -0.0094558354, -0.0489502214, 0.0321738981, 0.0436507314, -0.0210749302, 0.0360954441, 0.0214766543, 0.034962561, -0.0426396057, -0.0136463763, -0.0161998626, -0.025166519, -0.0361943096, -0.0034615796, -0.0533928722, 0.0300262831, -0.0133834537, 0.0078016496, -0.0400509797, -0.0088070687, 0.01914219, -0.0221495852, 0.084097974, 0.0053209867, 0.0232589189, -0.009332411, 0.0073496462, -0.003851918, 0.0560156517, 0.0468357764, 0.012525673, 0.0481408089, -0.0300719664, 0.0205263011, 0.0397827066, 0.0277507901, -0.0063114692, -0.02783872, -0.0097944615, 0.0185109954, 0.0428746492, 0.0731259733, 0.0059791673, 0.0240223333, -0.0356820524, 0.0365451425, 0.0235611647, 0.0226353388, 0.0305370595, 0.0263432525, 0.0045463899, -0.0115525126, -0.0177555736, 0.0314479209, 0.0956226736, 0.0321770534, 0.0399630256, 0.1106334031, -0.0181775037, -0.0385039747, 0.0360928327, -0.030483786, -0.0314108469, 0.0221641492, -0.0290304571, 0.0388785824, -0.0022954794, -0.0434850492, 0.046392899, 0.0194695257, -0.0281721167, 0.0071614455, -0.0204007905, 0.0028673881, 0.07729467, 0.0449875593, -0.038242951, 0.0366194695, -0.0616063215, 0.0407301672, 0.0474815518, -0.0235659648, -0.0030803047, -0.0130063659, -0.025203485, -0.0346378237, -0.0316320099, -0.0087361094, 0.0325879157, -0.0542722866, 0.0325368457, 0.0279275626, -0.0008031536, 0.0401513055, 0.0011484561, 0.0073122047, -0.0773650035, -0.0065664705, 0.0180508308, 0.0268814266, 0.0458774231, -0.0095099388, 0.0455273017, 0.0229537133, -0.0008719527, 0.0384695418, -0.0312465839, -0.0259900447, -0.0159699339, 0.049843777, -0.0241870191, 0.0189737119, 0.0574515015, 0.0138245011, -0.0604899004, 0.0625789538, 0.0208648406, 0.0316969566, 0.0208318103, 0.0054400815, -0.0110925846, 0.0219945479, 0.0302621294, 0.0077625196, 0.0509897843, 0.0204151906, -0.0006906256, -0.0286266711, 0.0384560265, -0.0237405654, -0.0656328648, 0.0599441081, 0.0295439158, -0.0237617083, -0.0252722278, -0.0308317915, -0.037216723, 0.0427627005, -0.0792909414, 0.0110121146, -0.0283674952, 0.0082007311, -0.0133756325, 0.0229119733, 0.0019844593, -0.0248270296, -0.0250452068, 0.0025971371, -0.0229053646, 0.013256995, -0.0403235704, 0.0058695488, -0.0290227775, -0.0087468186, -0.0322650932, 0.0139300572, 0.0264149643, -0.0044833352, -0.0447229557, 0.0211144071, -0.0369370431, -0.0488255061, -0.0151355052, 0.0196524933, -0.0105734076, -0.0340815336, -0.0021967704, -0.0041614561, 0.0292386468, -0.0301515404, -0.0144742522, 0.0485114008, 0.0123218307, -0.010981991, 0.0110425605, -0.0025822611, 0.0036615506, 0.0080749923, 0.0431931689, -0.0130064571, 0.0745529383, 0.0195157472, 0.0023217669, -0.0057239141, -0.0030333414, 0.0064733657, 0.0364047959, -0.0329421088, 0.0199115258, -0.0515036099, 0.0457419381, -0.0336854234, 0.0105631761, 0.0557953306, -0.0022739421, -0.0548600703, -0.0246176645, -0.0164528806, -0.0382706448, 0.0187253468, -0.0174787901, 0.0177316666, 0.0352411456, -0.0408261716, -0.00414629, 0.046150934, 0.0296633076, -0.0286694597, 0.0031456947, 0.0428906605, 0.0042678951, -0.000907419, 0.0034080311, -0.0101117631, -0.0327400789, -0.0230468027, 0.052329015, -0.0466628931, -0.0065638288, -0.0241239127, 0.0081519969, 0.0391139723, 0.0508762822, 0.002460429, 0.0216185041, -0.0299095437, 0.0494278595, 0.0219829995, -0.0764333829, -0.0456467383, 0.0014807668, 0.0132187065, -0.001924091, 0.0205639526, 0.0252107177, -0.0199715737, -0.0050633489, 0.0222704858, -0.0220397376, -0.0130184647, 0.0301906429, -0.0278534573, -0.0505725704, 0.0097587593, 0.1058617011, 0.0423212685, -0.0359335989, -0.0055475766, 0.0237167627, -0.0142655419, 0.0389165021, -0.0109112579, -0.0537822284, -0.0451209359, 0.0186437126, 0.0176951922, 0.0848554075, 0.0019837031, -0.0067662387, -0.0880244896, 0.0104723684, 0.0262183398, 0.0004895047, -0.0482869744, -0.0305639952, -0.0064208, 0.0099236267, -0.0061212564, -0.0054697837, -0.0049573849, 0.0137678506, -0.0054758769, 0.0116824023, -0.06488242, 0.0306229386, -0.0786388442, 0.0796832964, 0.0562154278, 0.0525886193, -0.0136380009, -0.0427017808, 0.0309334807, 0.0175848808, -0.0322491564, 0.0306353066, 0.0484058931, -0.0511554331, 0.0025273126, 0.0595416129, -0.015834881, -0.022016814, -0.0023123161, 0.0036308023, 0.0806873292, 0.032052204, 0.0017446827, -0.0051246323, 0.012596813, 0.0015555514, 0.0813392922, 0.0554246977, 0.0030009705, 0.0044021448, -0.0208267327, 0.0104066823, -0.0599966794, 0.0054152254, 0.0107758036, -0.0439057164, -0.0652712882, -0.0149334045, -0.0301973931, 0.0346897617, -0.0225463323, 0.0122587029, -0.0114972387, -0.0205282252, -0.0381028838, -0.0850581154, 0.036147017, -0.0100990841, 0.028889861, -0.0163179953, -0.054387901, 0.0219188705, -0.0064270538, -0.0016259594, -0.0219250489, -0.0859836414, -0.0086321076, -0.0235848408, 0.0003726282, 0.0160326567, 0.0562035292, -0.0369429179, -0.0415266529, -0.0129453, -0.0247704238, -0.0481645763, 0.0295599196, 0.0376836918, -0.0163128059, 0.0101466142, 0.0323560797, -0.0783381462, 0.0526965447, 0.0232693087, 0.0204871818, 0.0287709795, -0.0229802057, -0.000269297, -0.0319698192, 0.0608494878, -0.0148204062, 0.0188472811, -0.0285455864, -0.0054698079, -0.0252030659, 0.0056377221, -0.0254476741, -0.0140120955, 0.044417128, 0.0036579261, -0.0369233936, 0.0396894924, -0.0152333397, -0.042738542, -0.0274973139, 0.0603427179, -0.0165517665, -0.078643702, 0.0016146892, -0.0052399058, 0.0051390529, -0.0214207526, 0.0564571582, 0.0003133964, 0.0199665315, 0.0014537772, 0.003275105, 0.0262073111, -0.0265350472, 0.0109942071, -0.0329240225, 0.0153990984, -0.0265859962, 0.0100748986, 0.0597786084, 0.004383862, 0.0037837224, 0.0537919067, -0.0332990997, -0.0085081328, 0.0543210097, -0.0469596572, -0.0831948966, 0.0016212988, 0.0164992735, -0.0066292537, 0.0264643393, 0.0721422285, 0.000033824, -0.0109748105, 0.0053610373, -0.0022070957, 0.0018896714, 0.0685649216, -0.0260187052, 0.03259141, 0.0042212484, 0.0371422917, -0.0061286534, -0.0594078824, 0.0270460974, -0.0464663394, -0.0147821633, 0.0090785846, 0.0448903963, -0.0125169121, 0.0182596091, 0.0025431053, 0.0229595378, -0.0170663483, -0.0105399489, -0.0232239868, -0.0260055438, -5.911236727e-33, -0.0230908096, -0.008645989, -0.0362457149, 0.0151848709, -0.0464467593, -0.0126379197, -0.0721727982, -0.0131048737, -0.0086801266, -0.0330376662, -0.0024443672, 0.0274980664, -0.0055283401, 0.0404621586, 0.037594229, -0.0589636751, 0.0718954057, -0.0201876555, -0.0299070049, 0.0136189768, 0.0214542095, 0.0530559495, 0.0439047329, -0.0083640143, 0.0138011128, -0.0107288286, 0.0066880975, -0.0190640353, 0.0414448343, 0.0638418049, -0.0210138746, 0.0509007052, -0.0159512609, -0.0690547153, -0.0276402142, 0.039564047, -0.0898821056, -0.0138028869, -0.0404145829, 0.0477588288, 0.0357832797, -0.0349078439, 0.0342538767, 0.0207404513, 0.0014210715, -0.0448955633, 0.0430435836, -0.0171985775, -0.018788211, -0.0698517784, -0.0268550087, -0.0029178259, -0.0307311453, -0.0284977742, 0.1064486355, 0.0256077256, 0.0098753357, 0.0518028699, -0.0760761499, 0.0050197449, 0.0054947794, 0.0203179065, 0.0617594719, 0.0128886094, 0.0053880243, 0.0403108224, -0.0075655333, -0.0421701483, -0.0341079384, 0.0530365482, -0.016105745, 0.0154268667, 0.0175718535, -0.0188772175, 0.0787514597, 0.0030234247, -0.0255631879, -0.0091560436, -0.0623591319, 0.033627037, -0.0121736452, 0.0739262551, -0.0415129513, -0.009922131, 0.0073556998, -0.0478580557, -0.0686867908, -0.0621101297, 0.026385393, -0.0207962058, 0.0149498805, 0.0106280753, 0.0246562753, -0.0382888503, 0.0083194291, -0.0098288115, -0.0064778202, 0.0345296971, 0.0069274344, 0.0020371021, -0.060354393, 0.0199074671, 0.0898667276, -0.0105610387, 0.0101849744, -0.0015631962, 0.0556493104, 0.0626280755, -0.0633164197, -0.0301474761, -0.0167704765, -0.0268126037, 0.0141573632, 0.0543553792, 0.0223635472, 0.0541080609, -0.0205284581, 0.0591723323, 0.0004147882, 0.032146275, -0.016078664, -0.0705767721, -0.0098347459, 0.00575674, -0.0128973806, 0.0336331986, -0.0184495822, 0.0070818844, 0.0295190457, -0.0361646116, -0.033307977, 0.016963562, 2.634e-7, 0.0230811015, -0.0006379638, -0.001393782, -0.016692793, 0.0227061752, 0.0236130394, -0.0548839122, 0.0729967505, -0.0284630582, -0.0242738388, 0.020702986, -0.0256979633, 0.0634595901, 0.0018295606, -0.1343454868, -0.0027942881, -0.0535425916, 0.0064774882, -0.0494227, -0.0593550391, 0.0519500189, 0.1298684776, 0.0383375175, 0.0271875076, 0.0284624696, -0.0008550107, 0.0344871506, 0.0091741355, -0.0048308168, -0.0778603703, 0.0336936004, 0.030451566, -0.0431923978, 0.0036659474, -0.0556195155, 0.0171033014, 0.0549524426, 0.0248767044, -0.0285043325, -0.0263222158, -0.0431902483, 0.0084179882, -0.0280909836, -0.0146861468, 0.0810238868, -0.0276775304, -0.0538492426, -0.0041574407, -0.0715453848, 0.0292124897, -0.0007908241, -0.0063742436, -0.0192377325, -0.0504499413, 0.0279021636, -0.0040285708, -0.0160215739, -0.077954106, -0.0060915314, -0.0022619239, -0.0356296152, 0.018805271, -0.0183152389, -0.0406437293, 0.0376320295, -0.0622207187, -0.0063146395, 2.032869854e-34, 0.0418404005, -0.0400011353, -0.0044501917, -0.0122669758, -0.0047640991, -0.0480176881, -0.0386291109, -0.0170541592, 0.0199714005, -0.0288190432, -0.039416343 ]
http://arxiv.org/abs/2310.10158v2
http://arxiv.org/pdf/2310.10158v2
Character-LLM: A Trainable Agent for Role-Playing
2023-10-16T07:58:56
2023-12-14T11:49:17
Yunfan Shao, Linyang Li, Junqi Dai, Xipeng Qiu
cs.CL
cs.CL, cs.AI
Large language models (LLMs) can be used to serve as agents to simulate human behaviors, given the powerful ability to understand human instructions and provide high-quality generated texts. Such ability stimulates us to wonder whether LLMs can simulate a person in a higher form than simple human behaviors. Therefore, we aim to train an agent with the profile, experience, and emotional states of a specific person instead of using limited prompts to instruct ChatGPT API. In this work, we introduce Character-LLM that teach LLMs to act as specific people such as Beethoven, Queen Cleopatra, Julius Caesar, etc. Our method focuses on editing profiles as experiences of a certain character and training models to be personal simulacra with these experiences. To assess the effectiveness of our approach, we build a test playground that interviews trained agents and evaluates whether the agents \textit{memorize} their characters and experiences. Experimental results show interesting observations that help build future simulacra of humankind.
[ 0.0413845181, 0.0399165489, -0.0491557606, 0.0411994904, -0.0098663997, -0.0007419425, -0.0097665833, -0.0018343353, 0.0441146716, 0.0185738169, -0.0297068302, -0.0356088802, -0.024243122, 0.0073858118, 0.020597592, -0.0934806615, 0.0303893015, -0.0177557785, 0.0140878865, 0.0009432748, -0.0250757542, 0.0170265287, -0.0245235357, 0.0367702991, 0.0149539905, -0.0311472546, -0.0603898577, 0.0064447243, 0.0456820205, -0.0346172377, 0.0055358498, -0.0216276869, 0.0509606414, -0.0077255163, 0.0000017707, -0.0304667726, 0.007575532, -0.0301042181, 0.0281974338, -0.0152116828, 0.0619383156, 0.0663246289, -0.0257455762, 0.0015232324, -0.0388129354, 0.0009558587, 0.0343004018, 0.0232654829, 0.1017871499, 0.0888429359, -0.0072063035, -0.0163693819, -0.0245555937, -0.0036177011, 0.0596047305, -0.0167717524, -0.0106862821, 0.0324338265, 0.0498835705, -0.0160322692, -0.0186768323, -0.0034544095, 0.0001416463, 0.0059804115, -0.0032636265, 0.0311999936, 0.0014358163, 0.005989329, 0.0095987227, 0.0271347817, 0.0367646329, -0.0035327326, 0.0306443032, 0.0458334684, 0.0446035899, 0.0141731948, -0.0023210351, 0.0267095193, -0.0079354346, -0.0124812173, -0.0163972732, 0.0275612436, 0.0095554451, -0.009155116, 0.0321095958, -0.0054342723, 0.0077247778, -0.032318823, -0.0298988279, -0.0267150011, 0.0071196421, -0.0503770187, -0.0274361633, 0.0484368838, -0.0604960397, 0.022143973, -0.0571873412, 0.0542501137, 0.0013652659, -0.0238503795, 0.018754676, 0.0484010689, -0.001988783, 0.0218840856, 0.0124543505, 0.0485747792, 0.0332097113, 0.0039854073, 0.0013265024, 0.0281418897, -0.0724500716, -0.0313411392, -0.0710286126, 0.0359135307, 0.005839664, -0.0006126953, -0.052376885, 0.0338860899, -0.0266272631, 0.0305926818, -0.0270565581, 0.0191584099, -0.0312559791, 0.0123896291, -0.0422299765, -0.0195252504, -0.0532958061, -0.0047156145, 0.0087006325, -0.0289103333, 0.0150005966, -0.0221858174, -0.0086688176, 0.0128363157, 0.0573028401, 0.0890107527, -0.0039616958, -0.0284154899, -0.0010931449, -0.0289575495, 0.0447056852, -0.0585718416, -0.0160819143, -0.0375203341, 0.0240222923, -0.0572488941, 0.0260284338, -0.0403102599, 0.0052920985, 0.0191250034, 0.041676797, 0.0803875253, 0.0343573727, 0.0141038634, 0.0187189002, 0.0241470989, -0.0332037136, 0.032094162, 0.058562316, 0.0043214876, -0.0013449887, -0.0014013675, 0.0475310422, 0.0405867361, -0.0399655886, -0.0107544186, 0.0072077233, -0.0346283019, 0.0232667439, 0.0908425748, 0.0401433259, 0.024913853, -0.0565152839, -0.0092247995, 0.0726822913, 0.0722812787, 0.0170554835, 0.0366203487, 0.0522037148, 0.0195840932, 0.0536094122, -0.0034208382, -0.02484194, 0.0303526428, 0.0583134592, 0.0075282389, -0.0992890075, 0.0252196956, -0.0090576867, 0.0124067944, 0.0377634168, -0.0176515263, 0.0340165198, -0.0140213287, -0.0255052503, 0.0042900206, -0.0391252637, 0.0191261824, 0.0316174924, -0.1098988503, 0.0238144156, -0.0585615858, 0.0042589619, 0.1371237785, 0.04620957, -0.054062169, -0.0055359802, -0.0227794535, -0.0094907489, 0.033008419, 0.0245310869, -0.0308682136, 0.0300273243, -0.0197556429, 0.0442122519, -0.0227122549, 0.0022992762, 0.0748121738, 0.00000949, -0.0006477435, -0.0263879243, 0.0168993417, -0.0079968143, 0.0237921588, -0.0955936462, -0.0686391219, -0.0467907451, 0.0057836254, -0.0074168998, 0.0150469504, -0.0211472251, -0.040503893, 0.0195863657, -0.0079447627, -0.0104097938, 0.0697749108, -0.0325101055, 0.0148890084, 0.0470327958, -0.0627190992, -0.0236277319, 0.0429625511, 0.0230115298, 0.0028244329, -0.0060001202, -0.0333904997, 0.0784309208, -0.0162349585, 0.025801383, -0.0150995385, -0.0031452614, 0.0070345472, 0.0285878927, 0.0295400936, -0.0288676582, -0.0033385858, 0.0242702458, -0.0226009842, -0.0738952085, -0.007750703, 0.0161863342, 0.0167356208, 0.0242752358, 0.007067896, 0.011439438, -0.05873188, -0.0470173284, -0.0912318155, 0.0183748398, 0.0191140305, -0.0132663706, 0.0169053804, 0.002232465, -0.0501005501, 0.0040818541, -0.0756865069, 0.0015000508, 0.0012416706, -0.0245409459, 0.0338188782, -0.0063651833, -0.013904307, -0.0414162278, 0.0354750045, -0.0191597026, 0.0122295152, -0.0093412343, 0.036545638, -0.0047221468, -0.0003834886, -0.0088864062, 0.026863398, -0.0329295695, -0.0807565078, 0.0480502993, -0.0253975186, 0.0064615859, 0.0691738427, 0.0295763165, 0.0486072227, 0.0466429219, -0.0243476313, -0.0218335483, 0.0180542041, 0.0269555729, -0.0377828889, -0.0423930213, -0.0527842268, 0.0251213666, 0.0448509753, -0.0368777551, 0.0360143036, -0.0776256546, 0.041604396, 0.0287090261, -0.0303197745, 0.033290457, -0.0074234162, -0.0527965985, -0.0427589938, -0.0120218983, 0.0215707459, 0.0626572818, -0.0152757345, -0.0292278621, -0.0000012001, 0.0100449817, -0.0159766395, 0.100735113, 0.0055235731, 0.0297533721, 0.0016789669, -0.0087348586, -0.0266785789, -0.0056993864, 0.0383112468, -0.0402037762, -0.0210726615, -0.0471461751, -0.0257168394, 0.031761691, 0.0069832988, -0.0298903771, -0.0298591871, -0.0521811917, -0.0251653101, 0.0175022371, -0.0368895568, -0.0350675024, -0.0306817051, 0.0093496488, 0.0102605307, -0.0028013573, -0.0153228054, -0.0407353975, -0.0572270676, 0.0468767732, 0.037226893, -0.0395744406, -0.0314761885, 0.0796911865, 0.0270078126, -0.0321682952, -0.0402628258, -0.0213894937, -0.0008304297, -0.0089778686, -0.0562954955, 0.00342082, 0.0181551855, 0.0246324986, -0.0459902845, -0.0021050798, 0.0938672647, 0.0217698477, -0.0310474075, 0.0314307213, -0.0126201194, 0.0211987719, 0.0113860462, 0.0407381468, -0.0716665313, 0.0084009664, 0.0050151185, 0.0442542695, -0.0257318858, -0.0472927019, -0.0076970058, -0.1015115902, 0.0383769087, 0.0190260634, -0.0428630002, 0.0125350105, -0.0017415514, -0.0008044264, -0.0282086767, -0.0044431663, 0.0136224488, -0.0177509841, -0.0174172223, -0.0126842326, -0.0165141225, -0.0117076803, 0.0616836511, -0.0587548129, 0.1043971553, 0.0458088443, 0.0992123857, 0.0038958641, -0.0297739822, -0.0815762728, 0.0691887587, 0.0339286141, 0.0265150182, 0.0452164561, -0.020444952, -0.0098219141, -0.0165455677, 0.0393688679, 0.0156196058, -0.0125366068, 0.0439214595, 0.0353741609, -0.010500473, -0.0099709369, 0.0141361188, 0.0048299194, 0.036587853, 0.0427378714, -0.0198137369, -0.0532225966, -0.0068182661, -0.0206315629, 0.0263225939, -0.0398890153, -0.1054384187, -0.0191546325, -0.0181978457, 0.0119266417, -0.0677176714, -0.0689145178, 0.016692061, 0.0519156829, 0.0083844112, -0.0348625332, -0.0098552816, 0.0422797427, -0.0017322341, -0.0049758381, -0.0469501689, 0.0151002333, -0.0097550964, -0.0728815272, 0.0382193066, -0.082131058, 0.0296384972, -0.0228531882, -0.0165682007, -0.0422693193, 0.0486653037, 0.0529920161, 0.0288312342, 0.0635747835, 0.0187795814, -0.0354436263, 0.0087023918, 0.0116554741, -0.0512093045, 0.0395872518, 0.0081895459, 0.0245834906, 0.0018170321, -0.0078899087, -0.0219312422, -0.0029309834, -0.0554477312, -0.0047773882, -0.0205018241, -0.0333274044, 0.0093394471, 0.0241228938, -0.0312031507, -0.0411828086, 0.0064298334, 0.0042805751, 0.0012633703, -0.0712293908, 0.0227232929, -0.009384864, -0.0271457881, 0.0131380651, 0.023122998, 0.0153266685, -0.0600551404, -0.0330716334, -0.0189791042, -0.0009145277, -0.0015734247, 0.0284080859, -0.0045275991, 0.0116711957, 0.028025791, -0.0009758485, 0.0297772158, -0.0199740306, 0.0485829711, 0.0198853016, 0.0192228686, 0.0134976665, -0.0210243091, -0.015728185, 0.026918998, -0.0501766801, -0.0480913632, 0.0140808821, 0.0316470154, 0.0397813655, -0.0079465397, 0.0285197608, -0.0660552308, 0.0193102323, 0.0202495847, -0.0176364575, 0.0076084547, -0.0440631993, -0.0526273102, 0.031104967, -0.0104938764, -0.0125505012, 0.0151942484, -0.0115538919, 0.0616683252, -0.0192725267, -0.0312433224, -0.0528002456, 0.0000035133, 0.0139595559, -0.0086101033, -0.0305711422, -0.0247884039, -0.0684854388, -0.0397692882, 0.0223517399, 0.0757808387, -0.0220618658, -0.057651598, 0.0087803202, -0.0057240352, 0.0007999886, 0.0240623783, -0.0476845466, 0.0060672024, -0.0402895436, -0.0043973541, 0.0009872328, -4.814707679e-33, -0.0411502235, 0.013905542, 0.0486581698, 0.043928396, -0.0820391476, -0.0235554297, -0.0595231839, -0.0022128322, 0.0320063159, 0.015352183, -0.0178028699, -0.0304925032, -0.0019702862, -0.0397486165, 0.0161196683, -0.0257729962, 0.0537302271, 0.0102609759, -0.0313451327, 0.0119789774, 0.0213404633, 0.0184231363, 0.0235050321, -0.0800884217, -0.0003166142, -0.0418027937, -0.0370631851, -0.000672649, 0.0130563751, 0.0342212506, 0.0046270639, -0.02165653, -0.0064837821, 0.0184337348, 0.0198141895, 0.0158657469, -0.0397896282, -0.0166131239, -0.0094671855, 0.0329670347, -0.0072559007, -0.0363872424, -0.0115030473, -0.0262427833, 0.0083176354, -0.004345221, 0.0418952778, -0.0065467311, 0.0314179324, 0.0076648034, -0.0842456669, -0.0299375094, -0.0183237772, -0.0607077107, -0.0042305547, 0.0255175121, -0.0277115237, -0.0210205354, -0.0366651081, 0.0157550778, -0.0047077769, -0.0245563723, -0.0145059545, 0.0444986038, 0.0285398532, 0.0749351978, 0.0301299989, 0.0437629744, -0.0624453835, 0.0271868575, 0.0498670563, 0.0322635099, 0.0169204772, 0.0898264274, -0.020143874, -0.0343242958, 0.0160316043, 0.0408292785, 0.0861729309, 0.0131091243, 0.0155715393, 0.0398469642, -0.0087427292, 0.0073087667, -0.0318328515, 0.0183228422, 0.0236656424, -0.0743517131, -0.0038482337, -0.0262156464, -0.0197443571, -0.0593888536, 0.0025060356, -0.0317419246, 0.0034202335, -0.0186660066, -0.0487392955, 0.0311839618, -0.0284556448, 0.005192114, 0.0252549667, -0.0226985794, 0.0311872046, -0.0044361074, 0.0650929734, 0.0522279777, -0.0116685722, 0.0688310415, -0.0308581833, -0.0121830562, -0.0056116199, 0.0298631415, 0.0020141013, -0.0071061649, -0.0104450453, -0.0279783048, -0.0150272381, -0.0185114797, 0.0070737242, -0.0247955453, -0.029490551, 0.0275308248, -0.012705463, -0.0072772508, -0.0235543586, 0.0190951955, -0.0752740204, 0.047577627, 0.0326156057, -0.0439752974, 0.0033008, -0.0194367412, 2.741e-7, -0.0571948029, 0.0036524627, 0.0074095228, 0.022546256, 0.0165631846, 0.0587078221, -0.0354325213, 0.04930076, 0.0205840804, -0.0569917075, 0.0512118675, 0.0359263457, 0.041491542, 0.0395030752, -0.1092814952, -0.0128617035, -0.0199796259, -0.01990721, -0.0315067694, 0.0097912159, 0.061768271, 0.0376776718, 0.0538295321, -0.020316517, 0.0425014682, 0.0174537729, 0.0370125733, -0.0390127189, -0.0360878557, 0.0021671152, -0.0058844476, -0.009184787, -0.0292211249, 0.0150960553, -0.013846131, 0.008676149, -0.0163469277, 0.0515689217, -0.0305514, 0.0374708213, 0.0118767675, 0.0181178749, -0.0350672118, 0.0189820826, 0.0232476462, -0.019372968, -0.0176499896, -0.0278395135, -0.0500934608, -0.005263275, -0.0184483733, -0.0251467098, -0.0489918143, 0.0337521173, -0.0255009476, -0.0009479658, 0.0155313024, -0.0555518121, 0.0015465608, -0.0305408817, -0.0412605852, -0.053112518, -0.0041047502, 0.015829822, -0.0083917351, -0.0587630086, 0.0298742652, 1.780429572e-34, -0.0365178101, 0.0393285751, 0.0076411883, 0.0131497514, 0.0556271635, 0.0286652297, 0.0567805171, 0.0536953881, 0.0449810587, -0.0288378969, -0.0107488129 ]
http://arxiv.org/abs/2310.10701v3
http://arxiv.org/pdf/2310.10701v3
Theory of Mind for Multi-Agent Collaboration via Large Language Models
2023-10-16T07:51:19
2024-06-26T20:15:34
Huao Li, Yu Quan Chong, Simon Stepputtis, Joseph Campbell, Dana Hughes, Michael Lewis, Katia Sycara
cs.CL
cs.CL, cs.AI
While Large Language Models (LLMs) have demonstrated impressive accomplishments in both reasoning and planning, their abilities in multi-agent collaborations remains largely unexplored. This study evaluates LLM-based agents in a multi-agent cooperative text game with Theory of Mind (ToM) inference tasks, comparing their performance with Multi-Agent Reinforcement Learning (MARL) and planning-based baselines. We observed evidence of emergent collaborative behaviors and high-order Theory of Mind capabilities among LLM-based agents. Our results reveal limitations in LLM-based agents' planning optimization due to systematic failures in managing long-horizon contexts and hallucination about the task state. We explore the use of explicit belief state representations to mitigate these issues, finding that it enhances task performance and the accuracy of ToM inferences for LLM-based agents.
[ 0.0526472181, 0.0356056467, -0.033565715, 0.0257422607, -0.0636071339, 0.0153825888, 0.0114074852, -0.0242673792, 0.0342809074, -0.0202401429, -0.0144972438, -0.0522984229, 0.014203893, 0.0148645723, 0.0121105406, -0.0396919027, 0.003755314, -0.0435097851, 0.0175647382, -0.0325123183, -0.0400499925, 0.0047732079, -0.0417278036, 0.0247800276, 0.0070661758, 0.0049962187, -0.0503085181, -0.0434551202, 0.0596340001, -0.0291973036, -0.0686068982, -0.0226301085, 0.0312275793, 0.0430472866, 0.0000019367, -0.0858575329, -0.0370464809, -0.0209182277, 0.0265322793, -0.033376731, 0.0077280249, 0.0053105368, 0.0217021983, -0.0126710115, -0.0542990491, 0.0103070121, 0.0264651198, 0.0734768435, 0.0068382625, 0.0682328269, 0.0103571946, -0.0011326348, 0.0081400769, -0.0017729467, 0.0479867384, -0.0754415095, 0.0272086412, 0.0105062928, 0.0303466264, -0.0286749601, 0.0206159726, -0.0002560566, -0.0129162893, 0.0030637493, -0.0477417223, 0.0533426553, 0.0104736108, -0.0064124474, 0.0207241438, 0.0479449779, 0.0899784267, 0.0096242176, 0.0008276362, 0.0127324509, 0.0263208002, 0.0580821186, 0.0043450007, 0.0661984012, -0.023092391, 0.0208344515, 0.0206376929, -0.0103374524, 0.0205702707, 0.0153279891, -0.0376052707, 0.0949569419, -0.031631168, -0.0119747967, -0.0073277955, 0.0019232861, -0.0824699476, -0.071193181, -0.0328358896, 0.0244548097, -0.0297633689, 0.0217419397, 0.0058115637, 0.0308598317, -0.0306190345, -0.0449125133, 0.0632218271, 0.0338803865, 0.0349331498, 0.0601850152, -0.0044006258, 0.0237230435, 0.0089000817, 0.029603824, -0.0114479652, -0.0059864754, -0.070162192, 0.0109825823, -0.0201971345, 0.082221292, 0.054150559, -0.0282955319, 0.003958893, 0.0338685326, -0.0259368699, 0.044549264, -0.0159864109, 0.0211869311, 0.0124240443, -0.0233538114, -0.0838807225, 0.0207253899, -0.0468884669, 0.0122136716, 0.0040676398, -0.0335361063, -0.0078079128, -0.0317758098, 0.0096516768, 0.0178787392, -0.0070501273, 0.0431502461, 0.0152134001, -0.0245729815, 0.0243207924, -0.0174453836, -0.0037285993, -0.0887099877, -0.0026936212, -0.0438278802, -0.0044996375, 0.0054203896, 0.0002148475, -0.0255737156, 0.0191711001, -0.026944207, -0.0378877036, 0.0542037115, 0.0000196896, -0.0000255554, 0.0049354224, 0.021218732, -0.052183412, 0.0359391347, 0.0422946326, 0.0386751406, -0.0245253835, 0.067686446, 0.0206778217, 0.0090467241, -0.0380809233, -0.0070475624, -0.0262326673, -0.0183586143, 0.0208371598, 0.0624367893, -0.0108962012, 0.0449284725, -0.0168018974, 0.0227326639, 0.0667319149, 0.0513840951, 0.0076744072, -0.0170521438, 0.0219790265, 0.0538076982, 0.0000534066, -0.0145026632, -0.0477354676, 0.0524409488, -0.0243508611, -0.0306141544, 0.0155694867, 0.030784566, -0.0178294666, -0.0131058525, -0.0066450988, -0.01285668, 0.0145573067, 0.0218133386, 0.026375724, -0.0441341959, -0.017686937, -0.0084411269, 0.0143451486, 0.0012103436, -0.0192860272, -0.0554035902, 0.0389450379, 0.0391250998, 0.0346849635, -0.0539412163, -0.0638232529, -0.0148634985, 0.0079387166, 0.0550527535, 0.0397495553, 0.0025672468, -0.0110760685, -0.0234157201, -0.0273025949, -0.0103831682, 0.0004798285, 0.0624530129, -0.053940244, 0.0228387658, -0.020813508, 0.0277241599, 0.0246028583, -0.0073447847, 0.0283915978, 0.0049989331, -0.0643003955, 0.0242524464, 0.0411214083, 0.0111436546, -0.0231715664, 0.0061268164, 0.0157335345, 0.0172249693, -0.052596949, 0.066108197, -0.0276469178, -0.009691664, 0.0329290144, -0.0172055941, -0.0139971189, -0.0209814962, 0.0162988063, -0.0062310863, 0.0510938577, -0.0065804026, 0.0384439714, -0.0061564711, 0.0264421105, -0.0360294357, -0.0268823653, 0.0014816641, 0.0629865676, -0.0110969953, -0.0196346231, 0.0338900685, -0.0299528129, 0.0200247541, 0.0032473586, 0.0375195779, 0.0430900306, 0.0305796694, -0.0180635061, 0.0318105631, -0.0023698818, -0.0204538703, -0.034419477, -0.0665821135, -0.0445882343, -0.0013808062, -0.0044280686, -0.0097621121, -0.020437818, -0.0174859185, 0.044977393, -0.0327389129, 0.0681587011, 0.0446907878, 0.003487468, 0.0052526398, 0.01738392, -0.0192206744, -0.0038638285, 0.0584892891, -0.0539695583, -0.0011089947, 0.0342286006, -0.0516930446, -0.0587620251, 0.05381722, -0.0830691755, 0.0396792516, -0.0501319654, -0.0473897196, 0.047152251, -0.0481853895, 0.0037673535, 0.0585562587, -0.0068767676, -0.0009482799, 0.0935874432, -0.0211403165, -0.0434128121, 0.0445275232, -0.0034800465, -0.0044099949, -0.0703743696, -0.0343622454, -0.007964991, 0.0612182207, 0.0013228511, 0.0056594377, -0.0638549924, 0.0212057121, -0.0150048789, -0.0510081612, 0.0119635491, -0.0117955608, -0.0185698718, 0.0323958546, 0.0018223767, 0.0037233625, 0.1167738587, -0.0015016533, -0.003005066, -0.0390154235, 0.0375348888, -0.0274980515, 0.0727114156, 0.0205857698, 0.0190414395, 0.0084291473, 0.0083724884, -0.06471017, -0.0026135198, 0.0008156661, 0.0181580763, -0.0015943036, -0.0472828932, -0.0207827501, -0.0124964509, 0.0201382469, -0.0129176378, -0.0162922833, -0.0499228239, -0.0008265866, -0.0083961589, -0.0042965375, -0.0579627417, -0.0140478415, 0.0731847435, -0.0565369166, -0.0053487183, -0.0402291231, -0.0276945736, -0.0254685394, 0.0331651866, -0.0030513674, 0.029486876, -0.0394608639, 0.0604465455, 0.0558828861, 0.0193192307, 0.0092989244, 0.0444963425, -0.0193261355, 0.0430900604, 0.0329627842, -0.0324273035, 0.0512988679, 0.0634283945, 0.0077724853, -0.0030083929, 0.1058622971, 0.0374243185, -0.0402405821, -0.0017555256, -0.0391414091, 0.0139321387, 0.020639753, 0.0046091164, -0.0487487353, -0.0041008033, 0.0075880606, -0.0408886373, -0.0218593664, -0.096318841, -0.0069749877, -0.0460643582, -0.0247961581, -0.0039474098, 0.0310122371, 0.0237595346, -0.0170788746, 0.0258226655, 0.0302904509, -0.03692054, -0.0122328829, 0.0302979089, 0.0152325202, -0.0002456088, 0.0164363496, 0.0103194294, 0.0378785394, -0.0575701669, 0.0866581798, 0.0795858875, 0.0557173863, -0.011939479, -0.0498435237, -0.0135666048, 0.0722705945, 0.0171063337, 0.0027765096, -0.0195909403, -0.0263040029, 0.0362852439, 0.0160286576, 0.003019463, -0.0087754466, -0.0015384428, 0.0159878861, 0.0756933093, -0.0318851322, -0.0397674628, 0.0504660383, 0.026154127, -0.0009590214, 0.0576522797, -0.0185476039, -0.0371072404, 0.0014763592, -0.0195000544, -0.0332587548, -0.0142150251, -0.0132228378, 0.006235457, 0.0426003598, 0.0014684346, -0.042391289, -0.0745194033, 0.0278103314, 0.0106334351, 0.0111252442, 0.0043321447, 0.0135028446, 0.0345836952, 0.0271560606, -0.009377826, -0.0350893959, 0.0051954337, -0.0175266005, -0.0161873735, -0.0101498691, -0.0652114674, 0.0263317153, -0.0085945316, -0.0481916554, -0.063241519, 0.0244094208, 0.0316823274, 0.0126624107, -0.0222527776, 0.0330286622, -0.0481370613, 0.0188445747, -0.0227365252, -0.0385092981, 0.0539068617, -0.0026954366, 0.0798911527, 0.0464457236, 0.0571667776, -0.0233831964, 0.0013449572, 0.0257454757, 0.0135306157, -0.0200017355, -0.0248504076, 0.0043403287, -0.0036929795, -0.0104636038, 0.0018611246, -0.0210967343, -0.0123432241, -0.0140351169, -0.0546298511, -0.0194148459, -0.0351528004, -0.0083845817, 0.0411938056, 0.0287258532, 0.0211907513, -0.0251655187, 0.029556023, -0.0120282192, 0.0259483382, -0.0032213796, 0.0345360413, 0.0154327331, 0.0267766751, 0.0057452866, -0.0008212465, -0.0255279038, -0.0312215984, 0.0099790227, 0.0133827077, 0.1188542098, 0.0418584049, -0.0751549676, -0.0452341922, 0.0149602164, -0.0710237473, -0.1132232919, 0.104481861, 0.0194757637, 0.0354488268, 0.0330230147, 0.012668347, -0.1174442023, 0.0536762923, 0.0367969237, -0.0036788818, 0.0125837428, -0.0633575842, -0.0127844727, 0.0025847037, -0.0151636666, 0.0112489332, 0.0404651873, -0.006246998, 0.0599847585, -0.0081159901, -0.0212135967, -0.030558601, 0.0324054658, -0.0230645444, 0.0958552733, -0.0362830572, 0.0432657786, -0.0893748626, -0.0002714919, 0.0226423349, 0.0158948284, -0.013650463, -0.0337326005, 0.0190480184, 0.0426392183, 0.0018617314, -0.0402228981, -0.0370983779, -0.0070186257, 0.0210922696, -0.0040310035, -0.0241020154, -5.670168917e-33, -0.0134256659, -0.0273174606, 0.0417917669, -0.0133307232, -0.0193924028, -0.0304143336, -0.0398171544, 0.0202013198, 0.00599019, 0.0071033444, -0.018223336, 0.0045938785, -0.0035150948, -0.0121847065, 0.0214915387, -0.0053445338, -0.0103256823, -0.024157146, -0.0383054465, -0.0122658871, 0.034384124, -0.0172707364, 0.0424186885, -0.0524937287, 0.0097369161, 0.034750253, 0.0043214723, 0.0348200202, -0.0262501966, -0.0326487385, -0.0245630462, -0.011774662, 0.0197346471, -0.0208713058, -0.0110745216, -0.0213920008, 0.0225865431, -0.0491111763, 0.0263019241, -0.0355324671, -0.0026958194, -0.0257943552, -0.0337668955, 0.0191787835, -0.0405700505, 0.0103023443, 0.039591033, 0.0038989147, 0.0152426073, 0.0547748879, -0.0544401892, -0.019887846, -0.0126430243, -0.0096274987, 0.0410383008, 0.0041873842, 0.0139674777, -0.0263656415, -0.0571334399, 0.0418001153, -0.004322249, -0.0366724283, 0.0458259657, -0.0036060165, 0.0459245555, 0.0708707273, 0.0645726621, 0.0446207188, -0.0784856603, -0.0364800915, 0.0103911255, 0.0344645269, -0.0053833034, 0.0578358211, -0.0438547134, -0.0032304656, -0.0536053702, 0.0144981639, 0.0374421999, 0.0454959087, 0.0687729493, 0.0014962718, -0.045251213, -0.0302733108, -0.0131740002, 0.024383517, -0.0143887894, -0.0159094762, -0.0136311632, -0.0116292685, 0.0037836686, -0.0334944874, 0.0437912121, -0.0254749767, -0.0267353766, 0.0154447276, -0.0089226291, 0.0261064954, -0.0109760612, -0.0014711308, -0.0921658352, -0.0126451012, -0.0360039286, -0.0103592379, 0.0236424189, 0.0249289982, -0.0255062319, 0.016984012, -0.0231640898, -0.0028469714, -0.0530587845, -0.0145052858, 0.0441866368, -0.0500538722, 0.0255962759, -0.016951248, -0.0192549825, -0.0471685417, 0.0184752513, -0.0992565975, -0.0180854611, 0.0301158819, -0.0392420255, -0.0349157155, -0.0228870213, -0.0028142186, -0.0431630835, 0.0236149952, 0.0323038772, -0.0273419134, -0.0353202187, -0.0186931826, 2.89e-7, -0.0267581474, 0.058035668, -0.0221502706, 0.0029989355, -0.0010716626, 0.0736460462, -0.0227690618, 0.009441616, 0.0315477289, -0.0248819068, 0.0304662567, 0.0523216426, 0.0057764915, 0.0394153632, -0.0546692424, -0.0015553994, 0.0278100446, -0.0282867439, -0.023363594, 0.0053442051, 0.0323011093, -0.0022589138, 0.0587142222, 0.0010418026, 0.0169687569, -0.0016019089, 0.0325914808, -0.0548247434, 0.0231217444, 0.0289200954, 0.0084021222, -0.0640316531, -0.0131090796, -0.0081620831, 0.0828940496, 0.0115706334, -0.045535095, -0.009689589, -0.0048391148, -0.013906301, -0.0295356438, -0.0157515053, -0.0216395594, -0.0767739788, 0.0469661839, -0.0624622628, -0.0665762648, 0.0546960868, 0.0384936556, -0.038155552, -0.0296002124, 0.0224473011, -0.0140846185, 0.0173145048, -0.0248421878, 0.0039779567, 0.0160712916, -0.0564619079, 0.0023637135, -0.0271622781, -0.0203560162, -0.0606222562, -0.0248953197, 0.0104447771, -0.0063693547, -0.0729359016, 0.0286595803, 2.55076764e-34, -0.0263417009, -0.0112829842, 0.0055410867, -0.0137720304, 0.0696348771, -0.0146643082, -0.0179953184, 0.0201899335, 0.045600988, -0.0880769864, -0.0286798142 ]
http://arxiv.org/abs/2310.10151v1
http://arxiv.org/pdf/2310.10151v1
DNA: Denoised Neighborhood Aggregation for Fine-grained Category Discovery
2023-10-16T07:43:30
2023-10-16T07:43:30
Wenbin An, Feng Tian, Wenkai Shi, Yan Chen, Qinghua Zheng, QianYing Wang, Ping Chen
cs.LG
cs.LG, cs.CL, cs.IR
Discovering fine-grained categories from coarsely labeled data is a practical and challenging task, which can bridge the gap between the demand for fine-grained analysis and the high annotation cost. Previous works mainly focus on instance-level discrimination to learn low-level features, but ignore semantic similarities between data, which may prevent these models learning compact cluster representations. In this paper, we propose Denoised Neighborhood Aggregation (DNA), a self-supervised framework that encodes semantic structures of data into the embedding space. Specifically, we retrieve k-nearest neighbors of a query as its positive keys to capture semantic similarities between data and then aggregate information from the neighbors to learn compact cluster representations, which can make fine-grained categories more separatable. However, the retrieved neighbors can be noisy and contain many false-positive keys, which can degrade the quality of learned embeddings. To cope with this challenge, we propose three principles to filter out these false neighbors for better representation learning. Furthermore, we theoretically justify that the learning objective of our framework is equivalent to a clustering loss, which can capture semantic similarities between data to form compact fine-grained clusters. Extensive experiments on three benchmark datasets show that our method can retrieve more accurate neighbors (21.31% accuracy improvement) and outperform state-of-the-art models by a large margin (average 9.96% improvement on three metrics). Our code and data are available at https://github.com/Lackel/DNA.
[ -0.0027926753, 0.0564023443, -0.0044141617, 0.0404022373, 0.0448648818, 0.028229557, 0.0275713075, -0.0083021428, 0.0150784776, -0.0093391677, -0.034957666, 0.0571502559, -0.0206203815, -0.0044728126, 0.0354293883, -0.0094918814, 0.0373858809, 0.0636719018, 0.0158549659, -0.0097151902, 0.0451521017, 0.0374593586, 0.0312358942, 0.0411049873, -0.0350798033, 0.0243002307, -0.0209140908, -0.0045139054, 0.0052155154, -0.0244609527, 0.046816241, 0.0130189704, 0.0492891185, 0.0137158306, 0.0000019044, -0.0248858854, -0.0244309101, 0.0201206934, 0.0164576527, -0.0138735557, 0.0415167697, -0.0153517015, 0.0518336818, -0.0401630178, 0.0316394717, -0.0676372871, 0.0627788529, 0.0675005168, 0.0434083566, -0.0040506767, -0.0348161794, -0.0702531487, 0.0197062157, -0.0177756082, 0.0247559156, -0.0060461499, 0.0164404325, 0.0290128384, -0.0281395558, -0.0003999367, -0.0036741339, 0.0107364981, -0.0019854307, 0.024008926, 0.041624967, 0.078631565, -0.0094305053, -0.0250064209, 0.0245206356, 0.0747707933, -0.0566222891, -0.032707531, 0.0392542221, -0.0094843497, 0.0086299907, -0.0005759904, -0.0318772234, -0.0233374834, -0.0067063905, 0.0355084427, -0.0118678957, 0.0427886434, 0.0250126887, 0.010229039, -0.0128070535, -0.0160392448, -0.0005474767, 0.0007259788, -0.0097267954, 0.0143191889, 0.0421934389, 0.012692119, -0.0242240205, 0.0043854825, 0.0368980505, -0.0298112687, 0.027517302, 0.0601011179, 0.0244068094, 0.0062149749, 0.0002205745, -0.0181591138, -0.028920928, 0.0687491745, -0.0482422784, -0.0423288271, 0.0010596846, 0.0402426571, -0.0290522482, -0.0421625413, -0.0800636858, 0.0198635533, -0.0316963755, 0.0647168458, 0.0008654805, 0.0081800325, -0.0090347352, -0.0018880048, -0.0370230675, 0.0245955121, -0.0416287817, 0.054887265, 0.0016769218, -0.0012940692, 0.0124249626, 0.0157554727, -0.0872861445, 0.0584280156, -0.0169586036, 0.0389365219, -0.0062162494, -0.0053834277, 0.0354389586, -0.0181306563, 0.0001667719, 0.0087307161, 0.0047382866, -0.0012752298, -0.0443815328, -0.0523055978, -0.0340749137, -0.015327326, 0.0043330728, -0.0740698427, 0.0652708635, -0.0196398254, 0.0161385834, -0.0572243854, -0.0135914953, -0.0169783309, -0.0470924005, 0.0627792776, -0.04851868, 0.0031349992, 0.0538469329, 0.0055516427, 0.0155996354, 0.0492430069, -0.0364601985, 0.0567785315, 0.0054210704, -0.0489743017, -0.0207531229, -0.0040988042, 0.0289773419, -0.0076852208, -0.0219933577, -0.0166919958, -0.0216957871, 0.0034284121, 0.0532579124, 0.0016633223, -0.0371146612, -0.0435144268, -0.0028823765, 0.0394064263, 0.0174735114, 0.0486801565, -0.0476981588, 0.0461534709, -0.0678431466, -0.0205784291, -0.0277564451, 0.0414420515, -0.0471042469, -0.0028072791, 0.0933233052, 0.0122065358, -0.0790410414, -0.0322478823, 0.0290000029, -0.00757345, 0.0204381123, 0.0150235146, 0.050409168, 0.0233397894, 0.0650402531, 0.007929923, 0.0999988988, -0.0364818051, 0.0354387164, -0.0154624712, 0.074199982, 0.0100534204, -0.0017524335, -0.0179014374, 0.0015441092, 0.0192400347, -0.0084251212, -0.0450975597, -0.0023533816, -0.0718091875, 0.0436052941, -0.0312523469, -0.0605292805, 0.0055936249, 0.0256988835, -0.0297246836, -0.0168891679, -0.015154277, 0.055339314, -0.0787991583, -0.0026850074, 0.0415489115, 0.0729148015, -0.0040005255, 0.0150586255, 0.0294128265, -0.0219931845, -0.0103939855, 0.0036688228, -0.0138807418, 0.0681316182, -0.0356898755, -0.0072008995, -0.0356208272, -0.0131755965, -0.0490665473, 0.0153498333, -0.0182300732, -0.0127686355, 0.0070252456, -0.0620121956, -0.0069115502, 0.0458781719, -0.0238773879, 0.0082693109, -0.0453238152, -0.0336057581, -0.0033919488, -0.0148556158, -0.062231753, 0.0596879534, -0.0024272967, 0.0279327855, -0.0648910552, -0.0360812582, 0.0077780038, -0.0070702238, -0.0134905502, -0.0604061969, -0.0100765349, 0.0457722843, 0.0561721213, -0.0347668752, -0.0376882739, 0.0205841921, -0.061463166, -0.0047078221, 0.0312687643, -0.0306058843, -0.0215120874, -0.0130989077, 0.0277354587, -0.0550249442, -0.0501088127, 0.0408922471, -0.0390683599, 0.0201782249, 0.0436989218, 0.0197363198, -0.0327147096, -0.0224100687, -0.0291873477, -0.0022929928, 0.0183224101, -0.0333026461, -0.027910782, 0.0231833421, -0.038645722, -0.0481190346, 0.0094713066, 0.0096697034, -0.0286240689, -0.001065154, -0.0652852207, -0.0502398685, 0.0215907954, 0.0002634672, -0.0075446479, 0.0356991291, -0.0124634206, -0.0493248515, 0.0139390212, -0.0409349948, 0.0103583531, 0.0069100163, -0.0093866251, -0.0107281506, 0.0587750524, -0.0034498305, -0.0141751254, -0.0622652061, 0.008100736, 0.0163890086, -0.0090961093, -0.0722768605, 0.0301950425, 0.0364251882, 0.0202662461, -0.0376568548, -0.015790768, 0.06567505, 0.0280809775, -0.0225793477, 0.0448887944, -0.0331792347, -0.0248967838, 0.0356831066, -0.0122184651, 0.0443908945, 0.0243057255, -0.0124160517, -0.0376664512, -0.0160688367, -0.002219426, -0.0023857926, 0.032131765, 0.0233183913, -0.0166986827, -0.0347309448, -0.0435710177, -0.0165800937, -0.0213130657, 0.0017486493, -0.003478463, -0.0309825521, 0.0349294357, -0.0455662534, -0.0009835203, -0.0361638479, 0.0144247748, 0.0007932252, -0.026415484, -0.0009585305, 0.0560755022, 0.0317028686, -0.0134737091, -0.0338330269, 0.0258950833, -0.0106446072, 0.064775221, -0.0066046068, 0.0090947859, -0.0568229817, 0.0142692495, 0.0103358189, 0.0289334673, 0.000760114, 0.013149987, 0.0129665798, -0.0394988544, -0.0061249235, 0.0923872516, 0.0369661935, -0.0516480505, -0.0226610228, 0.0176265892, 0.0324945189, 0.0376042724, -0.0287319403, -0.0201538038, -0.04904617, -0.0113057708, 0.0272276048, 0.055121325, -0.0013992166, 0.0558914058, -0.0854965001, 0.0420145914, 0.0420967303, -0.0702758133, -0.0482993238, -0.0621297359, 0.0199577268, -0.0323384851, -0.0329071507, -0.0202906094, 0.0256524198, -0.0108963503, 0.0352129862, -0.018888576, -0.0147423213, 0.0366010182, -0.060595762, 0.0334432945, -0.0039965943, 0.0330947116, 0.01013018, -0.0242109131, 0.0125859668, -0.0688540116, -0.015911527, -0.0073728082, 0.0363150127, -0.0184439477, -0.0130314911, -0.0004269496, 0.0263476502, -0.0245148223, -0.0053359293, 0.0000722099, 0.0590478629, -0.0174582582, -0.002188551, -0.0436041504, -0.0319371857, -0.0107007921, 0.0416572317, 0.0067837848, 0.0129911406, 0.0055130464, 0.0057120901, 0.0151254237, 0.0901354849, 0.0071636792, 0.022413956, -0.0080041634, -0.0593875162, -0.0590708666, -0.0342739001, 0.047249157, -0.0019299649, -0.0090419678, -0.025133431, 0.0102855479, -0.0331041589, -0.1217294186, 0.0551462024, -0.0553338118, -0.0261332802, 0.0037390694, -0.022419136, 0.0418863893, -0.022810379, -0.0127749611, -0.0122636976, -0.0396894775, -0.0633723587, -0.028486371, 0.0076307151, -0.0053273691, 0.0562085807, -0.0242282581, -0.0734132156, 0.0576002449, 0.0975277573, -0.089116618, -0.022297306, 0.006160982, -0.0631459728, 0.0027455187, 0.034714818, -0.0688060522, 0.0668018535, 0.0103129745, -0.0443175733, -0.0692580268, -0.0179185998, 0.0226493571, -0.013200569, 0.08695627, 0.0067862268, 0.007452168, -0.0458494201, -0.0156749617, 0.0702231973, -0.0237567239, 0.000160178, -0.0578388534, 0.0335298814, 0.0022238072, 0.0199645199, 0.0438732244, 0.0408686474, 0.0371545851, -0.0883501396, -0.033226952, 0.0172198787, 0.0452710725, -0.0308625996, 0.024419738, -0.0393760465, 0.0151768895, -0.0258272719, 0.0166705661, -0.0275580753, -0.0335577168, 0.0010877475, 0.0524450205, -0.0777200237, 0.0678566396, -0.0144431293, -0.0159107614, -0.0262297876, -0.0264182948, 0.0120119937, -0.0511639081, -0.0195214991, 0.0182067659, -0.0397299677, -0.0547065735, 0.0037697891, -0.0340405554, -0.0348693989, 0.0298070144, 0.0488386303, -0.00745381, -0.0271308422, 0.0727212578, 0.0004607165, 0.0146854008, -0.002865219, 0.0125314984, -0.0413038097, 0.0059857769, 0.0519622713, 0.0610893033, -0.0126214838, 0.0062403069, 0.0030671698, -0.0224842057, -0.0090638641, -0.0483613499, -0.0100705251, 0.051304318, 0.0664769784, 0.0036981523, 0.0141314818, -0.028389981, -0.0076861563, -0.0096309111, -0.0076444489, -0.0035691753, 0.0116458777, -6.737951986e-33, -0.0220988933, -0.0004388232, -0.0219971053, -0.0319820493, -0.0048253159, -0.0013144495, -0.0095393723, 0.0079575824, 0.0058752615, 0.056187883, -0.0037873357, 0.0002365602, -0.0131807989, 0.0028177027, 0.0416329652, 0.0124467975, 0.0596947186, 0.0415481292, 0.0244757086, 0.0727405325, 0.0055209338, -0.0118679777, 0.0295350943, -0.0992833152, -0.0412504673, 0.0238570124, -0.0186735038, 0.0102075664, 0.0273985025, 0.029555168, -0.0393191837, 0.0510924794, 0.0228031892, 0.0077191982, -0.0309517756, -0.0240586922, -0.0824410766, -0.0160734113, -0.0523067787, -0.0115357107, -0.0008186038, -0.008123355, 0.0391401201, -0.0073556197, 0.0342017971, -0.0325415283, 0.0606161989, -0.0562282838, -0.0390715823, -0.0260136854, 0.0022403216, 0.031598933, -0.0320059955, -0.0342390724, 0.0717630684, -0.0379690453, 0.0426411182, 0.0464386195, -0.0189017449, 0.0260699149, -0.0296547059, 0.028914094, -0.0009634902, 0.0169009157, 0.0096031791, 0.0655047894, 0.0313419178, -0.0062583387, 0.0011485375, 0.0120713077, 0.0270179212, 0.0629474893, 0.0367746055, 0.0222806353, 0.0551398769, -0.015800532, -0.0452990942, 0.0894627348, -0.0510551669, 0.0409365892, -0.023438625, 0.0646569878, -0.0103524076, -0.0232067145, -0.0394885838, -0.0308791474, -0.0533716157, 0.0318532437, -0.0386310779, 0.0295314882, -0.0445718654, 0.0416168608, -0.0177262314, -0.0082982527, 0.0042524859, -0.006206899, 0.0256952103, -0.0196419042, 0.0224820599, -0.0287080444, -0.0373397991, -0.0537465364, 0.0551662147, -0.0361959077, 0.0122930454, 0.0240125973, 0.0507762283, -0.0072053829, -0.0444638617, -0.0065215146, 0.0033385251, -0.069241114, -0.0023236445, -0.0118950708, 0.0244503375, 0.0200924035, 0.0047408924, 0.0607870072, 0.0349734314, 0.0230807271, 0.0060641584, 0.0358415134, 0.0099108955, -0.0048205564, 0.0207015313, -0.0286663305, -0.0317889638, -0.0745205134, 0.046937637, -0.0116941994, -0.0113988155, -0.042761039, 2.685e-7, 0.0105874399, 0.0056598163, 0.0458760187, -0.0064476663, -0.0226766691, 0.0636488795, -0.0031637661, 0.0425530188, -0.0032330451, -0.0415433049, 0.0073311725, 0.0215456206, 0.0175426565, 0.0535552241, -0.0419092439, 0.0870986432, -0.0027573905, 0.0379303917, -0.0519402176, 0.010119725, 0.0216207411, 0.1063131243, 0.0451716594, -0.0328111947, 0.0626891553, -0.0426585078, 0.030959703, -0.0166830607, 0.0160870347, 0.0155242151, -0.0405829176, 0.0660681874, 0.0059694913, 0.018077815, -0.0055964347, 0.0016251957, 0.0067627891, -0.0024889037, -0.0334172212, -0.0291056, 0.0064144009, 0.024891749, 0.0263418108, -0.0554696806, 0.0773595572, -0.0685549676, 0.0049201255, -0.0048691425, 0.0115443282, 0.0377886556, 0.0045593856, 0.0047319466, -0.025387764, 0.0089729773, 0.0103597809, -0.0133125409, -0.0032698908, -0.1114626899, -0.0037928899, 0.0224114545, -0.0124761174, -0.0177876148, -0.0022924182, 0.01525445, 0.0022081705, 0.0124809723, 0.002944516, 2.084020618e-34, -0.0083610034, 0.0208637081, -0.0039948821, -0.0262280516, 0.0012546541, -0.0262320843, -0.0594462827, -0.003380297, 0.0152426129, -0.0288658161, 0.0164334159 ]
http://arxiv.org/abs/2310.10138v1
http://arxiv.org/pdf/2310.10138v1
Node-based Knowledge Graph Contrastive Learning for Medical Relationship Prediction
2023-10-16T07:27:43
2023-10-16T07:27:43
Zhiguang Fan, Yuedong Yang, Mingyuan Xu, Hongming Chen
cs.DB
cs.DB, cs.CL, q-bio.QM
The embedding of Biomedical Knowledge Graphs (BKGs) generates robust representations, valuable for a variety of artificial intelligence applications, including predicting drug combinations and reasoning disease-drug relationships. Meanwhile, contrastive learning (CL) is widely employed to enhance the distinctiveness of these representations. However, constructing suitable contrastive pairs for CL, especially within Knowledge Graphs (KGs), has been challenging. In this paper, we proposed a novel node-based contrastive learning method for knowledge graph embedding, NC-KGE. NC-KGE enhances knowledge extraction in embeddings and speeds up training convergence by constructing appropriate contrastive node pairs on KGs. This scheme can be easily integrated with other knowledge graph embedding (KGE) methods. For downstream task such as biochemical relationship prediction, we have incorporated a relation-aware attention mechanism into NC-KGE, focusing on the semantic relationships and node interactions. Extensive experiments show that NC-KGE performs competitively with state-of-the-art models on public datasets like FB15k-237 and WN18RR. Particularly in biomedical relationship prediction tasks, NC-KGE outperforms all baselines on datasets such as PharmKG8k-28, DRKG17k-21, and BioKG72k-14, especially in predicting drug combination relationships. We release our code at https://github.com/zhi520/NC-KGE.
[ 0.020039672, 0.0398336016, 0.0206542779, 0.0417443775, -0.0170456115, -0.0028832306, -0.0189912822, 0.0141786616, 0.0744303241, 0.0241368711, -0.0089872042, -0.0170467608, -0.0115389777, 0.0275217853, 0.0149318362, -0.0402577706, 0.0180854704, 0.0508260317, -0.0013856863, -0.0009102674, -0.0070725898, 0.0189496782, 0.0135622909, -0.0054515046, 0.0135587342, -0.044584509, 0.0301728398, 0.0030926652, 0.0590357073, -0.0554571562, 0.0178676844, 0.0220895968, -0.0020524496, -0.0452144071, 0.0000019128, -0.0269906167, 0.0016149607, 0.0223228168, -0.0292634256, -0.0449831709, 0.0106764948, -0.0505339131, 0.0529212058, -0.0131370062, -0.0299371965, -0.0475719348, 0.0323491022, 0.0702684969, -0.0182039663, 0.0328772292, -0.0107554514, -0.0329330005, 0.0615167618, -0.0310967416, 0.010724009, -0.0040689446, 0.0571820624, -0.0024487267, -0.0099217435, 0.0021273557, -0.0032696745, 0.0209814925, 0.0163854863, 0.012584975, 0.076628685, 0.0817053467, 0.0150473043, 0.0138209332, 0.007682397, 0.1222011074, -0.0093805306, -0.0032963259, 0.0025074293, -0.0230985731, -0.0135710845, 0.0304154251, -0.0075191855, -0.0508445501, -0.0552377589, 0.0315079428, 0.0313138105, 0.0075144158, 0.047798086, -0.0359420516, -0.0015312962, -0.00387741, -0.0051534441, -0.0222132578, 0.0328553617, -0.0130685195, -0.0174226575, -0.002494016, 0.0245131031, -0.0072989287, -0.0072944956, 0.0098404083, 0.0113723986, -0.0163964946, 0.0490548909, -0.0672272742, 0.0026693281, -0.0054142005, -0.0297495648, 0.0685853139, -0.0323948748, -0.0117485123, -0.0193207208, 0.0093399314, -0.0237625577, 0.0080333101, -0.0347525738, 0.0273535103, 0.0183079205, 0.0361521021, -0.0211181417, -0.0214509163, -0.0258961543, 0.0117989918, -0.033329837, 0.0084921066, 0.0540832095, 0.075343594, 0.0231704488, 0.004336508, -0.008250338, 0.0030378608, -0.010252567, -0.0005443093, -0.0342626087, 0.0082182968, -0.0088856155, -0.0225294903, 0.0357172228, -0.0484476164, 0.007113847, 0.086900197, 0.0472854003, -0.0229291655, -0.0169376303, -0.0131404046, -0.005910059, -0.0379465371, 0.0187627953, -0.0432888754, 0.0705113858, 0.0107455151, -0.0190044902, -0.0282816496, 0.0199336708, -0.0184497796, -0.0715953708, 0.0856625065, -0.0178893823, -0.0745382756, -0.0300740991, -0.0057269898, -0.0582936257, 0.0054505835, 0.0058497651, -0.0512129515, -0.0078361221, -0.0132003827, -0.0551380627, -0.0375607833, 0.0567062385, -0.0556948222, 0.0416967422, 0.0228782035, 0.0090064695, 0.0323904045, 0.0087426025, 0.0347933285, -0.0161432475, -0.0626769513, 0.0102357743, 0.0143444883, 0.0438329242, 0.0418679416, 0.0197289903, -0.0179306958, -0.0413108096, 0.00180747, -0.0587977916, 0.039210096, -0.0182383843, 0.048493851, 0.0079936273, 0.0203664526, -0.0129030999, 0.002675154, 0.0068878666, -0.0183747448, 0.0283134449, -0.0124154128, 0.0533463992, -0.0200691242, -0.0534552, 0.0197692756, 0.0831620619, 0.0158227142, -0.0215331186, 0.0302256215, -0.0221804678, 0.0638317168, 0.0078581721, -0.0302766096, -0.0349456668, -0.0177892819, -0.0390202701, -0.0369043127, -0.0014181131, -0.0125744771, 0.0209032577, -0.0188238285, -0.0214617494, -0.023755597, -0.0272027347, -0.0105849691, 0.0045441664, 0.0404646471, -0.0096487245, -0.0311140548, 0.0056333398, 0.0026837592, -0.0462114625, -0.0208851844, 0.0175135341, 0.0127779236, 0.0289729983, 0.0375420712, 0.0173390582, 0.0193426441, 0.0523880199, -0.0461395085, -0.0028612984, -0.0284878351, -0.0437385812, -0.1211153939, 0.0394732505, -0.0330406912, -0.0022559152, -0.0031315014, -0.0632410645, -0.0089698965, 0.0465831347, -0.0036370286, 0.0551972277, 0.0175142363, -0.0298519321, 0.0427797437, -0.0040546586, -0.0011662452, 0.053168945, -0.040237993, -0.0007859277, 0.0114744501, -0.0446491018, 0.0010338686, 0.0279558804, 0.0113075413, -0.0294254292, 0.0225140993, -0.0042483797, -0.0129190348, -0.0333399847, -0.0599625856, 0.0288904235, -0.0329234749, 0.0208686478, 0.0412357226, 0.0312384181, -0.0178671759, -0.0076662926, 0.0466519147, -0.0127343247, -0.0262795519, 0.0095379455, -0.0521171615, -0.0125257662, 0.0253185444, 0.0272951163, 0.0070710382, -0.0121914987, -0.0363695063, -0.0334684886, 0.0661338121, -0.0061839051, -0.0048021576, 0.0413060226, 0.0504911914, -0.0294581, 0.0146153606, -0.0237933993, 0.0211830176, -0.0169233158, 0.008378136, -0.0219071899, 0.0346566401, -0.039094951, 0.0025326214, 0.0273222867, 0.0114524774, -0.0076695271, 0.0261406805, -0.0550371297, 0.0347686224, 0.0214899294, -0.0025576937, -0.0613498725, 0.0596176758, 0.0230534784, -0.0025957357, -0.0327145308, -0.0054597934, 0.0431265384, 0.0474326722, 0.0018767231, 0.0535150617, -0.0069732224, -0.0429269746, -0.0601714924, -0.0183629282, 0.1299094111, 0.0339047648, 0.0292869788, -0.0285067819, -0.0042265551, -0.0068950448, -0.0112040676, -0.0046676956, 0.0056334934, 0.0251535345, 0.0209069792, -0.0194289796, -0.0186889339, 0.0049675, -0.023087997, 0.0576657802, 0.0268284995, 0.0080512073, 0.0276347473, -0.0595030934, -0.0372497812, 0.033312764, -0.0351251364, 0.0478548557, 0.0382619277, -0.0055622966, 0.008489171, 0.0029576456, -0.0073260101, 0.0137859844, 0.0194726586, -0.0245775655, 0.0062910281, 0.061118383, 0.0388111174, -0.0644156411, 0.0095058465, -0.0041771312, 0.0273271389, 0.0579002351, -0.0202275179, -0.0131597845, -0.0189109296, 0.0034518647, -0.03299319, -0.0095165092, -0.0223696008, -0.0011908666, -0.0446560793, -0.0665975884, 0.017788142, 0.0555689558, 0.0052514165, -0.0438288897, 0.031474553, -0.0096400948, -0.0335214399, 0.0144310165, 0.0333626233, -0.0755959302, -0.0385244563, -0.0463457555, 0.0151574025, 0.0347358175, -0.0627656654, 0.0036177638, -0.0431417376, -0.0038337877, 0.0243842565, -0.057352528, -0.0628579035, -0.0659202039, 0.0013774752, -0.0333893523, -0.0293915719, -0.0060156765, 0.0031805204, -0.012238293, 0.0079231057, -0.0221338794, -0.0605965592, 0.0224153455, -0.0349192694, 0.022785997, -0.0015994238, 0.0132003706, 0.0247529, -0.0080110552, -0.026025176, -0.0426442288, -0.0165753663, -0.0223788787, 0.0670772865, -0.0306212362, -0.000541117, -0.0662668869, 0.014542181, -0.0619031526, -0.0275312215, -0.0265511628, 0.1343182623, 0.0082664462, -0.0534502342, -0.0359233171, -0.0072793351, 0.0144675495, 0.0340741165, 0.0204256531, 0.0105937459, -0.0339935645, 0.0020072693, 0.0546295196, -0.0151958112, 0.0349996164, 0.0104812793, -0.0211696718, 0.045744855, -0.0346075594, -0.0419905558, 0.0333968773, -0.0386403464, -0.0322692282, 0.0178198926, 0.0183736011, -0.0591538623, -0.0787699819, 0.0287801195, 0.0448334143, 0.005817763, 0.012845654, -0.0307903718, 0.0427771136, -0.0334418565, -0.0159145202, -0.0038659689, -0.024423549, -0.0355049893, -0.0732398853, 0.0369132198, -0.0061157914, 0.0732274652, -0.0068370197, 0.0178056601, 0.0488577671, 0.0410112739, -0.0261946879, -0.0559153147, 0.0098161697, -0.004373075, 0.0065621408, 0.0293239877, -0.0281143282, -0.0115922661, 0.0209193323, 0.01795711, -0.0428946577, 0.0111888647, 0.0089347474, -0.0087465439, 0.0574563555, 0.0231192391, 0.0142080272, -0.0560242385, 0.035550788, 0.0033299385, 0.0133492984, -0.0369481519, 0.0087336395, 0.0081570055, 0.0015104937, -0.0111065591, -0.0392116345, -0.0140722562, -0.0277329125, 0.0004760837, -0.0067862161, 0.0411697105, -0.0025442971, 0.0748322606, -0.015511388, -0.0284526832, -0.0067983852, -0.003585696, -0.0026059696, -0.0283649247, 0.0156035936, 0.0117159784, 0.0044444888, -0.0391263515, 0.0092213415, -0.0091855805, 0.0003695585, -0.0483890399, -0.0405827649, 0.0571706928, -0.0178576279, 0.0194042735, -0.0052937204, 0.0131828412, -0.0415696576, 0.0429316834, -0.0459831208, 0.0100764381, 0.0437172092, 0.0229389034, -0.0061073024, 0.0098297503, 0.0687766746, -0.0228725597, 0.0484119281, -0.0159290228, -0.0565805696, -0.0436534919, 0.0090687405, 0.0163708441, 0.0716945454, -0.0466413572, 0.0378744602, -0.0522149764, -0.075876601, 0.0434236936, -0.0166642424, -0.0365017019, 0.02492355, 0.0260415729, -0.0119820591, 0.0458921045, -0.062785089, 0.0056054094, 0.0167170614, -0.0548440516, -0.0458744466, -0.0037701665, -5.942813077e-33, 0.0303213969, -0.0194352288, -0.0137585578, -0.0104194023, -0.0121239759, 0.0312903598, -0.0769097507, -0.0618681908, -0.030148102, 0.0785951912, -0.0127896415, 0.0037329509, -0.031625323, 0.0037946731, 0.0035259295, -0.0371011309, 0.007235507, 0.0348886885, 0.0447157249, 0.0390285626, 0.0211881939, 0.0940187797, 0.0558655523, -0.0727460086, -0.0142548857, -0.0079439487, 0.0646768734, 0.0133718783, -0.0233689602, 0.0626316965, -0.0407279767, 0.0595676079, 0.0266828164, -0.0164355244, -0.0049372567, -0.0328412019, -0.1074141935, -0.035848543, -0.0141491406, -0.0497262254, -0.0601360835, -0.0181385595, 0.0325524583, 0.0237608701, 0.0603051148, -0.0995056853, 0.0433705188, -0.0165522788, -0.0538050085, -0.0147471372, -0.0016066344, 0.0313193724, 0.0033250018, 0.013589818, -0.0060668434, -0.0190505981, 0.0239925552, 0.0184391942, -0.0665157363, -0.0335352458, 0.003202362, -0.0003668605, 0.0134298047, 0.010411202, 0.0109636551, 0.0576755963, -0.006769374, -0.018789351, 0.0279047471, 0.0129052363, -0.0713251531, 0.0743116662, -0.0050349385, 0.0033447067, 0.0068499246, 0.0190196037, -0.1160519421, -0.0235942788, -0.0376410969, 0.0580527857, -0.0161799863, -0.0075886259, -0.014834608, -0.0402477868, -0.006207882, -0.0417264514, -0.030181488, -0.0500469767, -0.0221257433, -0.0164815281, 0.0015224088, 0.0405055732, -0.0140454145, -0.0563670434, -0.0081186974, 0.0774293244, 0.0286739115, -0.0001538134, 0.0128212208, 0.0008626605, -0.0767618939, 0.0023631393, 0.0130384145, -0.035879802, 0.0253342278, 0.0572463498, 0.048755642, -0.0539138429, 0.000640459, -0.0363604054, -0.0292535927, -0.0338330604, 0.0120631801, -0.0075882408, 0.040951401, 0.0700914711, 0.0143944426, 0.080677256, 0.067524381, 0.0270251632, -0.0232153554, 0.0247970149, 0.0208575763, 0.0321590714, -0.0101521593, -0.012770921, -0.0262976326, 0.0532824062, 0.0072187423, -0.0418314002, -0.0514731333, -0.0091931233, 2.761e-7, 0.0759184882, 0.0073653148, 0.017535273, 0.0215045568, 0.0199857764, 0.0298081264, 0.0117792422, 0.061266996, -0.0396054015, -0.0284686275, 0.0562699214, 0.0032642782, 0.0066682063, 0.0215306077, -0.0618153177, 0.0037889816, -0.0711988658, -0.0678724125, -0.0256123245, -0.0289239082, 0.0583984777, 0.0623900443, 0.0525720008, -0.0022325495, 0.0572767407, -0.011869208, 0.0361408107, -0.0081173619, 0.0322115049, -0.0041717011, -0.008416838, -0.0315685198, -0.034595836, 0.0816345736, -0.0350996554, 0.0120041445, -0.0265962388, 0.0464441106, -0.0350614935, -0.0138084125, 0.0316869244, -0.001563267, 0.0342385545, -0.0500187166, 0.0695961118, -0.0572321787, -0.0220205523, 0.0227874145, -0.033146631, -0.0100775147, 0.0315441117, 0.0224480368, 0.0150433248, 0.0067574466, -0.0051853559, 0.0266207159, -0.0202034339, -0.0728141963, 0.0016821143, 0.1025669351, -0.0053964951, -0.0272167679, 0.021644026, -0.0220738165, 0.0488322526, -0.0224383492, 0.0281488039, 2.127199373e-34, 0.0232393499, 0.0103471484, 0.0171534196, 0.0291601997, 0.020833239, -0.0572190993, -0.0165950693, -0.0403521173, 0.0484889448, -0.0702108219, -0.0114477575 ]
http://arxiv.org/abs/2310.13008v1
http://arxiv.org/pdf/2310.13008v1
LoBaSS: Gauging Learnability in Supervised Fine-tuning Data
2023-10-16T07:26:24
2023-10-16T07:26:24
Haotian Zhou, Tingkai Liu, Qianli Ma, Jianbo Yuan, Pengfei Liu, Yang You, Hongxia Yang
cs.LG
cs.LG, cs.AI, cs.CL
Supervised Fine-Tuning (SFT) serves as a crucial phase in aligning Large Language Models (LLMs) to specific task prerequisites. The selection of fine-tuning data profoundly influences the model's performance, whose principle is traditionally grounded in data quality and distribution. In this paper, we introduce a new dimension in SFT data selection: learnability. This new dimension is motivated by the intuition that SFT unlocks capabilities acquired by a LLM during the pretraining phase. Given that different pretrained models have disparate capabilities, the SFT data appropriate for one may not suit another. Thus, we introduce the term learnability to define the suitability of data for effective learning by the model. We present the Loss Based SFT Data Selection (LoBaSS) method, utilizing data learnability as the principal criterion for the selection SFT data. This method provides a nuanced approach, allowing the alignment of data selection with inherent model capabilities, ensuring optimal compatibility and learning efficiency. In experimental comparisons involving 7B and 13B models, our LoBaSS method is able to surpass full-data fine-tuning at merely 6% of the total training data. When employing 16.7% of the data, LoBaSS harmonizes the model's capabilities across conversational and mathematical domains, proving its efficacy and adaptability.
[ -0.0022574335, 0.0730006769, -0.0124770291, 0.0348161533, -0.0085508386, 0.0384393409, 0.0013352002, -0.0022905348, -0.0319251977, -0.0481739491, -0.0879785642, -0.0073472061, 0.004276562, 0.0147505431, 0.0368425995, -0.0359621607, 0.0390660465, -0.0191453081, -0.0106214825, -0.0022413586, -0.0075927419, 0.0091101304, -0.0173468757, 0.0313529186, 0.0110556344, 0.0016487465, 0.0419158749, -0.0092222467, -0.0157284047, 0.0028437939, 0.0671188831, 0.0765968338, 0.0207828805, 0.0104268007, 0.0000023702, -0.0597036965, -0.0098857991, -0.0075044148, -0.0759297013, 0.004269144, 0.0166625585, -0.0204238798, -0.0018157021, 0.0111305537, -0.0443126336, -0.0169836544, 0.0646323636, 0.0239774175, 0.0541364066, 0.0981818214, 0.0102780797, -0.0437718257, 0.0401287749, -0.0339420997, -0.0047935643, -0.0446397178, 0.0160405226, 0.0367702395, -0.0338559337, 0.0015519809, -0.0305818766, 0.0250938218, 0.0015341652, 0.0206859075, -0.0090188626, -0.0195908733, -0.0528719164, -0.0245005116, 0.0000307469, 0.0801726207, -0.026017841, -0.0258888267, 0.0010548249, -0.0349055678, -0.0123481955, 0.0077063902, -0.0550224371, -0.0142536452, 0.0293636248, 0.0393078513, 0.0016987611, -0.0102189789, 0.0584252663, 0.0198153481, -0.0321852677, 0.0340461098, -0.0060458714, -0.0370671563, 0.0179060716, -0.0079712765, -0.063463591, -0.0030819292, -0.0365214534, -0.0110542905, -0.0474185906, 0.0219650734, -0.0668205917, -0.0336392894, 0.0024482198, 0.0067836801, 0.0672837272, 0.0265634339, -0.0142406374, 0.0390818641, -0.0078516221, 0.0211455934, 0.0197690669, 0.0337567404, -0.029775288, 0.0034003526, -0.0458838306, 0.0157686416, -0.0138623593, 0.0151658915, -0.0225682333, -0.0013317183, -0.046050936, 0.0039866599, -0.0296491515, -0.0085949041, 0.0398964472, -0.0619841628, -0.0329495184, 0.0040735002, -0.0142181339, 0.0044563483, -0.0118878307, 0.0383273922, 0.0124162994, -0.0773250312, -0.0124318767, 0.009901871, 0.0019404166, -0.0481641479, 0.0306091681, 0.0560948178, 0.0038542333, -0.0347245224, -0.0622184351, 0.0191333592, -0.0191604737, -0.0915879458, 0.025401637, -0.0257754065, 0.0218205787, 0.0120165786, 0.010458583, -0.0422652848, -0.0235063694, -0.0190896448, -0.0135905901, 0.065381974, -0.0128255738, 0.0142933335, 0.0096879592, -0.0206078291, -0.0037260384, 0.0920184851, 0.0176623221, -0.0271439813, 0.0273711123, -0.0513775125, -0.0068450547, 0.0368756801, 0.0303641092, -0.0000644893, -0.0062916707, 0.0068159709, 0.0388729647, 0.0156694781, 0.0173488297, 0.0004350963, -0.0397795103, 0.0023925172, 0.0476690009, 0.0220780931, 0.0736102611, 0.0321003422, 0.0121524036, 0.0393498652, 0.0256530792, 0.0000816286, -0.0685361475, 0.0094239572, -0.0392959528, 0.0077641238, 0.0079913046, 0.0146059198, -0.0279188342, -0.0646024793, -0.0219932273, -0.0129767302, -0.0022360473, 0.0039361203, 0.0615484715, 0.0245192461, -0.0187413394, 0.0748948678, 0.0345712043, -0.0421210304, -0.0247978363, -0.0515301414, 0.0222022403, 0.0119376192, 0.0273962859, -0.0430904478, -0.0226932894, -0.0106777381, 0.0659056529, -0.0059683314, 0.0740620121, 0.0060879951, 0.0266562402, -0.0853688121, -0.0368531868, -0.0180021729, 0.0491005257, -0.0191941354, -0.0048356904, -0.0078277811, 0.0135099925, -0.0471542962, -0.073929064, 0.0430381894, -0.0376536064, -0.0442606993, -0.0258453228, 0.0128953625, 0.0359872393, -0.0384631902, 0.0085018482, 0.0014143368, 0.0108070252, 0.0120455418, 0.0557276271, -0.0280753095, -0.0604734905, -0.0036483947, 0.0088265045, 0.0095906807, -0.0036220939, 0.0435721427, -0.0609437749, -0.0539924167, 0.0124221751, -0.0271194763, 0.0007350374, -0.0359478518, 0.0389964804, -0.0380828455, 0.0093171345, -0.0446347632, 0.0329161733, 0.0154408319, 0.0325086936, -0.0027374725, -0.0024792224, 0.0231005531, -0.0410474166, -0.0457105488, 0.0162785295, -0.0176631436, 0.0532502271, 0.0215915944, 0.0306438934, -0.0585107766, -0.0309030432, -0.052965153, 0.0129976487, -0.0364470854, 0.0412884168, 0.0030498086, -0.0188742783, -0.0245882347, -0.0159296039, -0.0192566216, -0.002853093, -0.0189030617, 0.0007866149, 0.0285633467, 0.0114093451, -0.0095718186, -0.0506915636, -0.0212383773, 0.0194591414, 0.0383337028, -0.024384588, 0.0283945296, -0.0428035967, 0.0693782493, -0.0054170811, 0.007012344, -0.0212271679, -0.0597244501, -0.0090485495, 0.0016907335, -0.0249277484, 0.0783243328, -0.0039345762, 0.0336407423, 0.0175793041, -0.0022176444, -0.049733717, 0.0090904627, -0.0190616045, -0.0692637563, -0.0640535504, -0.0015210507, 0.0046559833, 0.0532035269, -0.0168665312, 0.0006608555, -0.04897172, 0.0481365956, -0.0046681338, 0.0072827069, 0.0085606351, 0.0532769188, -0.0229416564, 0.0298865587, -0.0168736391, -0.0845019221, 0.0371051654, -0.0128173819, -0.0002337289, -0.0407427698, -0.0087715276, -0.0473732315, 0.016309116, 0.0056853076, -0.0142560573, 0.0290327091, -0.0138364099, -0.0726422369, -0.0102430377, 0.0658098757, -0.0173680447, 0.060307201, -0.0493364818, 0.0016194362, -0.0179719627, -0.0530590191, -0.0112193171, -0.0164040327, 0.0007007368, 0.0201528054, 0.0249453951, -0.0307433009, -0.0366584808, -0.0349021517, -0.0077245412, 0.0409653485, -0.0208084527, 0.0074483729, -0.0131213898, -0.0035227998, 0.0291088223, 0.0550259985, 0.0083220592, -0.0291221105, -0.0001075395, -0.0190274306, 0.0148855858, 0.0182986483, -0.0400714539, 0.0379299819, 0.0378036685, -0.0045326641, -0.0465626717, 0.0205686521, 0.0716352835, -0.0704692751, -0.0131801413, 0.1172826514, -0.0100169759, -0.0087615242, -0.0063870773, 0.0145965442, 0.0128932791, 0.0291859135, 0.0066336021, -0.0476880297, -0.0511041284, 0.0010424762, 0.052573882, -0.0126380892, 0.0053135385, 0.0047229696, -0.0932643414, 0.0449945815, 0.0356920399, -0.0539934672, -0.0166573729, -0.0235357154, 0.0124775488, -0.0741071105, 0.0667499006, -0.0082784174, -0.0296751913, -0.0015095646, 0.0519349016, -0.0250659697, -0.1162365302, 0.0158031154, -0.0149445655, 0.0691848546, 0.038797956, 0.0395774767, -0.0097107608, -0.0260354206, 0.0511651188, -0.0135725634, -0.0146096712, -0.0141334869, 0.0650154799, 0.017074855, -0.0261358637, 0.0107848737, 0.0573589131, 0.0165786948, 0.0017079477, -0.0033672699, 0.0687761977, -0.0111116627, -0.0009463261, 0.0184432007, -0.021396542, -0.0035299873, 0.0649147779, 0.0713689253, -0.049082607, -0.005620026, 0.0013441788, -0.0007845239, -0.0376180075, -0.0068675978, 0.0282607432, -0.0023593309, -0.0059945225, -0.0283550359, -0.0131180305, 0.0137406392, 0.0358569361, -0.0047638328, 0.0191575848, -0.0092101814, -0.0041904254, -0.0321329311, 0.0862126201, -0.0383967347, -0.0003920646, -0.1150500402, -0.029729588, 0.0512479544, -0.0167999808, -0.0246745106, -0.01097464, -0.0784509256, -0.0616511926, 0.0011101697, 0.0595468581, 0.026953239, 0.0496770442, 0.0043772049, -0.0771290883, 0.0290022027, 0.0331470817, -0.0529836528, 0.0229554456, 0.0874199197, -0.0380824544, -0.0190877467, 0.0317897797, -0.0225945804, 0.0096263615, 0.0694195703, 0.0094039161, 0.003407038, -0.0136717176, 0.0067676632, 0.031237917, 0.0475810654, 0.0110751875, -0.0284832362, -0.0287914835, 0.0253364351, 0.0549008735, 0.004372471, -0.0559144281, -0.0227727666, 0.0044645728, 0.0146155721, -0.00887297, -0.026337523, -0.0085767563, 0.0210486613, -0.0375469252, 0.0516687594, -0.0060861204, 0.028920427, 0.0547398515, 0.0138843171, -0.0244088341, 0.0266655367, 0.0123010688, 0.0281610303, 0.0044419165, 0.0661558732, 0.0172141511, 0.0268604979, -0.0183429476, 0.0420181341, -0.0335465521, -0.0671098158, -0.0483831577, 0.007292965, 0.0475508235, -0.0577734895, 0.0376017839, -0.0154717565, -0.0106005836, -0.0397362486, 0.0504142642, -0.0054145185, 0.013070547, 0.0244950801, 0.0205856748, -0.0344958045, -0.0067205876, 0.0696707666, 0.0242839251, 0.0406638682, -0.0351048782, 0.0320501216, -0.0247182436, -0.0257999953, 0.0315781459, -0.0025280889, -0.0026862775, 0.0109337708, -0.0353989564, -0.0706321299, -0.0027850652, -0.0009183697, -0.0253208205, -0.0012510761, 0.0510131754, 0.0660333484, -0.0590204969, 0.0140165463, -0.0293652639, -0.0361705124, 0.0265105329, -0.0025655064, -0.0177646223, -6.732427163e-33, -0.0074536609, 0.0061229905, 0.0133560989, 0.0204128828, -0.0094917733, -0.0084058736, -0.0330361389, 0.0048001092, -0.0480062291, -0.0111976592, 0.0081156939, -0.0040691453, 0.013889309, 0.0559425801, -0.0058737015, -0.0249079, 0.043745961, -0.0027400411, -0.0383623503, -0.0087872986, 0.0087443143, 0.0180373136, 0.0765850097, -0.052527871, 0.0073091257, 0.0125310002, -0.0099778883, 0.0143359611, -0.0262189768, 0.0840561315, 0.0351039916, 0.0501990505, 0.0053284285, -0.0499020666, -0.0358674154, -0.0140394429, -0.0442328155, -0.0475189202, 0.0404649116, 0.032079678, 0.0259003341, -0.0275930334, 0.0500683039, -0.020402696, -0.052024927, -0.0296397489, 0.0150170745, -0.0587572232, -0.0411188193, 0.0184409618, -0.0423166789, 0.0370567329, -0.0071508838, -0.0355586745, 0.0508174971, 0.0289728921, -0.0162570458, -0.0174021721, -0.0262396, 0.016437633, 0.0457346998, 0.0458107926, 0.0688742325, 0.04112361, 0.0081937164, 0.0460901894, 0.0285754949, 0.0129435845, 0.0673442036, -0.0377347171, 0.0703447685, 0.0909304842, 0.0316610113, 0.0229924377, 0.0069405786, -0.0196147356, -0.0678254813, -0.0112823052, -0.0181164667, 0.0169174802, -0.0010147197, 0.0334045328, -0.0419790633, -0.0547042862, -0.0750096515, 0.0010498016, -0.0200988352, 0.0077366107, 0.0386178009, 0.0003957977, 0.0140514756, -0.0087879356, 0.022785116, -0.0387288444, -0.0117760925, 0.0273013581, -0.0185019281, -0.0012862753, -0.0140359532, 0.0106202289, -0.0627642199, -0.0777700469, 0.0120489961, 0.0068946737, 0.039667055, -0.0082761729, 0.0447085798, 0.0314103924, -0.0366767161, -0.0273355674, -0.0196678173, -0.0166957285, 0.0099223852, 0.0462990254, 0.0425652266, 0.0109097939, -0.0091392025, 0.0696593672, -0.0110359909, -0.0251316894, -0.0396305285, -0.0089017609, -0.0043271454, 0.0333014801, -0.0137013402, -0.0185367018, -0.0148702944, -0.0158956721, 0.0297999289, -0.012683074, -0.0008537996, 0.0065486399, 3.001e-7, 0.0552113689, 0.0316556282, -0.0466774516, -0.0072390614, -0.0017762885, 0.0562536307, -0.0500952303, -0.0256204847, 0.0007704369, 0.0119187236, 0.0234523248, 0.0082884375, 0.1144668013, -0.0108512966, -0.0726371258, -0.0106253522, -0.0469698645, 0.0204772949, -0.0363340825, -0.0021703646, 0.0090211593, 0.1006653532, 0.0265453868, -0.0063425624, 0.0023162153, -0.028255228, 0.0382698365, -0.0911729559, -0.0000888577, 0.0522267297, 0.0166667216, 0.0516075529, 0.0110814506, 0.0340078622, -0.044009883, 0.0409458689, 0.0062062019, 0.0660049245, 0.0181400161, 0.0015563926, 0.0002102403, 0.0035642155, -0.0199794862, -0.0386813097, 0.0481430255, -0.0924371928, -0.0477898084, 0.003003716, 0.0201837756, -0.0258178264, 0.0475397184, -0.0484876782, 0.0076772836, 0.0071202954, 0.0296222866, -0.0222399309, -0.0229610819, -0.0560089573, 0.005666309, 0.0622047111, -0.0400161669, -0.0524133742, -0.0672036409, -0.0315545127, 0.0528033487, -0.0321786031, 0.0375905074, 2.865581558e-34, 0.0204649586, -0.0244242195, 0.0524621718, 0.0166016202, 0.0214489046, -0.0019165095, 0.0230540447, 0.0285392292, 0.0002122564, -0.0603508838, 0.010584536 ]
http://arxiv.org/abs/2310.10134v1
http://arxiv.org/pdf/2310.10134v1
CLIN: A Continually Learning Language Agent for Rapid Task Adaptation and Generalization
2023-10-16T07:17:27
2023-10-16T07:17:27
Bodhisattwa Prasad Majumder, Bhavana Dalvi Mishra, Peter Jansen, Oyvind Tafjord, Niket Tandon, Li Zhang, Chris Callison-Burch, Peter Clark
cs.CL
cs.CL, cs.AI, cs.LG
Language agents have shown some ability to interact with an external environment, e.g., a virtual world such as ScienceWorld, to perform complex tasks, e.g., growing a plant, without the startup costs of reinforcement learning. However, despite their zero-shot capabilities, these agents to date do not continually improve over time beyond performance refinement on a specific task. Here we present CLIN, the first language-based agent to achieve this, so that it continually improves over multiple trials, including when both the environment and task are varied, and without requiring parameter updates. Our approach is to use a persistent, dynamic, textual memory centered on causal abstractions (rather than general "helpful hints") that is regularly updated after each trial so that the agent gradually learns useful knowledge for new trials. In the ScienceWorld benchmark, CLIN is able to continually improve on repeated trials on the same task and environment, outperforming state-of-the-art reflective language agents like Reflexion by 23 absolute points. CLIN can also transfer its learning to new environments (or new tasks), improving its zero-shot performance by 4 points (13 for new tasks) and can further improve performance there through continual memory updates, enhancing performance by an additional 17 points (7 for new tasks). This suggests a new architecture for agents built on frozen models that can still continually and rapidly improve over time.
[ 0.042115353, 0.0144943232, -0.0284119155, 0.0171483811, -0.0161535088, 0.0117784981, -0.0206031203, -0.0191040225, 0.0219782311, -0.0098888772, -0.0034959223, 0.0134548517, -0.0300258417, 0.062935479, -0.0155441836, -0.0742560327, 0.076993756, -0.0346703343, 0.0264195036, -0.0353007652, -0.0110667292, -0.0458962135, -0.0457430445, -0.0018536504, -0.0083046528, -0.0296676066, -0.0565955415, -0.0448034629, 0.0291439425, -0.0413944684, -0.0225846339, -0.0022560526, 0.0500543863, 0.0174660906, 0.0000020637, -0.0483533479, 0.0149091752, -0.0260257218, -0.0204912312, -0.0371780656, 0.0421805605, -0.0039109765, -0.0182550531, -0.0043185437, -0.0627947897, -0.0348269343, 0.0852808952, -0.0190811865, 0.0331712291, 0.0562596507, -0.0005542328, 0.0208442472, -0.0041824928, 0.0260596313, 0.0111271841, -0.0324330814, 0.0014340985, 0.0146869794, 0.0429288335, -0.0073173163, -0.0334895179, 0.0286028218, 0.0452582501, -0.0352560692, 0.0047273072, 0.077920638, -0.013644495, -0.0178159978, -0.0158738084, 0.0565802231, -0.0083921254, -0.0379757956, 0.0026176334, 0.0167403221, 0.0123771783, -0.0018301042, -0.0421269946, 0.0558958352, 0.0196732674, -0.020530045, -0.0075561898, -0.0133783519, 0.0082593421, 0.0192441493, -0.0172070228, 0.0586780049, -0.0074885688, -0.0130452896, -0.0303840097, 0.0052639088, 0.0040492718, -0.0420694798, -0.0484502427, 0.090097487, -0.0487171672, 0.0368762426, -0.0577663034, -0.0120032951, -0.0070383595, -0.0277929809, 0.0660657808, 0.0472944342, 0.0177498925, 0.0362340286, -0.0365196466, 0.0584213994, 0.0323325321, 0.0095815081, -0.0036037383, -0.0123541057, -0.0761548281, 0.0097129894, -0.0454012938, 0.0655563399, 0.0174433906, -0.0154959057, -0.0066159419, 0.0809274688, -0.0048573962, 0.0564817898, -0.0529306568, -0.0021212827, -0.0421331041, 0.0139927445, -0.0572906695, 0.0189332459, -0.0525123067, -0.0012953967, 0.0243223794, -0.0327466577, -0.0307212118, -0.0025516714, 0.0234963652, 0.0184880812, -0.0000424778, 0.1056927741, -0.0075472565, -0.0456201024, 0.0002315435, 0.0091076884, 0.024115311, -0.0528074093, 0.0048867478, -0.0207435563, 0.0145695247, -0.001538232, -0.0199960172, -0.0291189626, 0.0056319521, -0.0074461792, -0.019366568, 0.0560456105, -0.003053233, -0.0172094051, 0.014029081, -0.0004347702, -0.0152347982, 0.075947158, 0.0346384384, 0.021700738, 0.0012433272, 0.0107967043, 0.0484547429, 0.019071497, -0.0050606504, 0.01821227, -0.0272681657, 0.0008875433, 0.0126115605, 0.0238319431, -0.0106549095, -0.0003098345, -0.0224093292, 0.0421061702, 0.061154902, 0.0427525565, -0.0484770983, 0.02493844, 0.0475625582, -0.0073969164, -0.0012039645, -0.0274018403, -0.0697917119, 0.0976503864, -0.001962821, 0.0252378471, -0.0873053297, -0.0026167601, -0.0245704632, -0.05109936, 0.0179634653, 0.0216081142, 0.0224676766, 0.0097350897, 0.0500032715, 0.0371780507, -0.036913231, -0.0058302255, 0.0191297401, -0.0553151108, -0.0195778105, -0.033742629, 0.0623826385, 0.0975803882, 0.0237281919, -0.0741128772, -0.0643212348, 0.0101510286, -0.0073106787, 0.0654037818, 0.0451367386, -0.0190636329, 0.0216383487, 0.0085632652, 0.0137803946, -0.0334903561, 0.0001903816, 0.0659813955, 0.0075569521, 0.0552675389, -0.0422072448, 0.0317226686, 0.0061306302, 0.0313741043, -0.0169305559, -0.0044473046, -0.008305558, -0.0327998027, 0.0219232831, -0.0096042166, -0.020943353, -0.0181706138, 0.029440647, -0.0148402974, -0.0444154404, 0.0744323507, -0.0113208294, -0.0310300495, 0.0367009379, 0.0071900738, 0.0122628063, 0.0216959286, -0.0023059312, -0.0386240855, 0.0722642839, -0.0059699435, 0.0714083388, 0.0144427065, 0.0407844856, -0.062434528, -0.0199035332, 0.0127280885, 0.0452712066, 0.0133755673, -0.0130735571, 0.0111653209, 0.025816869, -0.017713286, -0.0699647292, 0.0013771825, 0.0166288856, 0.0277702939, 0.0054955482, 0.018299669, -0.0121793207, -0.0455201119, -0.0100587709, -0.0488460585, -0.0142174223, 0.0038110649, -0.0276216008, 0.0161273237, -0.0047928067, 0.0035180268, -0.0198451057, -0.013960747, 0.0871716663, 0.0153932478, 0.0273236204, 0.0295336787, 0.0156984013, -0.0135668647, -0.0484161414, 0.0190672483, 0.0002601893, 0.0026603597, 0.0032766822, -0.0027235909, -0.0580593012, 0.0315509252, -0.038867984, 0.0489993319, -0.0318848304, -0.0566943325, 0.0303155668, -0.052326072, 0.0022541678, 0.0753478482, -0.0187596139, 0.007159248, 0.0837665722, -0.0402802266, -0.0593160503, 0.046149157, -0.0373480693, 0.020083867, -0.010377082, 0.0336921029, -0.0297106225, 0.0588837117, -0.013145742, 0.0106078964, -0.031363938, 0.0530872233, -0.0114313187, -0.0536768287, -0.0173961967, 0.0073999185, -0.0080529982, -0.0110610873, -0.0338314399, -0.0483596846, 0.0705238357, 0.0306566078, -0.0191346556, -0.0433423705, -0.0048266621, 0.0107636591, 0.0665450916, 0.0086751888, 0.0048566167, 0.0160700548, 0.0134277614, -0.0133047784, -0.0027108972, 0.0356294811, 0.0060893027, 0.0349273831, -0.0602873899, 0.0056886338, 0.0106148645, -0.0417876542, -0.0767589882, 0.0198838133, -0.0228197221, 0.0080124168, -0.0274535678, -0.0528703071, -0.0629718378, -0.0226379037, 0.0599107258, 0.0579494983, -0.0277364347, -0.0291863661, -0.0459715612, -0.0603641458, 0.0463938974, 0.0335045196, -0.003588306, -0.0190070979, 0.0827750638, 0.0395646505, 0.0394647866, -0.0501339957, -0.0300146267, 0.0143124368, 0.0097710108, -0.0297415778, -0.0005861656, 0.0330423974, 0.037384022, -0.0671206266, -0.0687515736, 0.088790901, 0.0177120976, -0.00620378, 0.0015792992, -0.0358510651, 0.0169697795, 0.0539236329, 0.0606696345, -0.0243684798, -0.0078706173, 0.0159793235, 0.00055223, -0.0080930684, -0.0438642204, -0.0257143024, -0.089437373, 0.027863726, 0.008081344, -0.0589921698, 0.0505351052, -0.041379381, -0.0173809417, 0.0039875642, -0.0313558877, 0.0110464087, 0.0202609487, -0.0029340116, -0.0204330962, 0.0013089355, -0.0032587964, 0.0123313135, -0.0104999356, 0.0558664799, 0.0588801876, 0.0147279361, -0.0276824683, -0.0322711989, 0.0022158162, 0.0206730589, 0.025207011, -0.0178774819, 0.0376504771, 0.0082819313, -0.0196010917, 0.0022678708, 0.004425141, -0.022490615, -0.025854174, 0.0346397199, 0.0772335604, -0.0185306147, -0.0038113107, -0.0206441712, -0.0200186614, -0.0061835442, 0.0494682156, -0.0260467641, -0.0226895418, -0.0686429814, -0.0368876308, -0.0515149646, -0.0363655239, -0.0514983535, -0.0277714189, -0.0091996416, -0.0043447176, -0.0872684866, -0.0313553698, 0.0466614515, 0.0627267361, 0.0293034203, -0.0213638414, 0.0149659254, 0.0230645593, -0.0422069058, -0.0388034806, -0.0268846005, -0.0087941168, -0.0357496962, -0.036870826, 0.0631995276, -0.0488545261, 0.0222812109, -0.023986645, -0.0165190957, -0.047531236, 0.0105817467, 0.1009969562, 0.0255912058, 0.0608097836, -0.0056701321, -0.0198428966, 0.0544357747, -0.0262731817, -0.033949703, 0.036741551, 0.0321177505, 0.0325940289, 0.0288463756, 0.016684968, -0.0628694743, 0.013229616, 0.0022737416, 0.0150685506, -0.0231215507, 0.0117371194, 0.0231943913, -0.0217714831, -0.0033282072, 0.0171734747, 0.0066451496, -0.0103411367, 0.0078053349, -0.0322584771, -0.0035494228, -0.0411567241, 0.0266195107, -0.009997935, 0.0389057249, 0.0361748189, -0.0028646684, -0.0251688212, 0.0080465544, -0.0087672891, -0.0079797581, 0.0407037362, 0.0138661256, 0.0219264645, 0.0463717282, -0.0277294461, 0.0002205535, -0.007920485, 0.0512193926, -0.0165418815, 0.0837269947, 0.0240833685, -0.0232804026, -0.0418862961, 0.0037432397, -0.0935162455, -0.0612385236, 0.0508132502, 0.0642557666, 0.0690651983, 0.0221667308, 0.0524678119, -0.0672780722, 0.0264743604, 0.0021762527, 0.0073696389, 0.0418238677, -0.0823261887, -0.0066048098, 0.0449235365, 0.013282367, -0.003695078, 0.0402683839, -0.0193098579, 0.0925664306, -0.0203268286, 0.0220492519, -0.0388583466, -0.0037713475, -0.0153978122, 0.0185888074, 0.0201924089, -0.0023955535, -0.0464220047, -0.0196629539, -0.0009965776, 0.0188100599, -0.0150834238, -0.0476863682, 0.0089321882, -0.0020184207, 0.0034981286, -0.048300907, -0.0302672591, 0.0184756517, 0.0135038728, -0.0039526937, -0.0133464206, -5.529205471e-33, -0.0294777863, 0.0189091079, 0.0494729131, 0.0189323816, -0.007042082, 0.0056266217, -0.0657488331, 0.0183775425, -0.0272389725, 0.0125910277, -0.0167782083, 0.0119968085, 0.0107860155, -0.0199060235, 0.0248319805, 0.0015810668, 0.019073965, -0.0005690856, -0.0390802883, 0.0188679937, 0.0575724728, 0.0107858963, 0.0180791002, -0.0527626388, 0.0262547005, 0.0025751819, 0.0038631256, 0.0270806942, 0.0076424908, 0.0131294234, -0.0040380456, 0.0108406665, 0.0196326971, -0.0493325666, -0.0384702906, -0.0117801633, -0.0821565241, -0.0599367246, -0.0135090407, -0.0001993394, -0.0745748505, -0.0037161377, -0.0073398319, -0.0085687404, -0.0111860782, 0.0210162979, 0.0232219007, -0.0381030366, -0.0293224864, 0.0075310934, -0.091639474, -0.014674671, -0.0017952342, -0.0209997706, -0.0032573144, -0.005849076, 0.0054268935, -0.0230312087, -0.0536658876, 0.0384563841, -0.024194371, -0.0039068102, 0.0471521653, 0.0256843455, 0.0254497956, 0.0538591929, 0.0376185738, 0.0378778428, 0.0067810523, 0.018179914, 0.0446419194, -0.0112422099, 0.0475892276, 0.0548154153, 0.0181561019, -0.0128930258, -0.0375320166, 0.0014555249, 0.0677635223, 0.0350988023, 0.032110665, 0.0074043684, -0.030692393, -0.0106441565, -0.0309850015, 0.0675091445, -0.0201498661, -0.0393451229, 0.0516317971, 0.0153337615, 0.0095772436, -0.0922351629, 0.01349713, -0.0188183468, -0.0010781991, 0.0297727622, -0.0566281714, 0.0239559002, -0.0086064562, 0.005878095, -0.0437591672, -0.0408884287, -0.012529104, 0.0436548404, 0.0047553945, 0.0488908924, 0.0069372952, 0.0784282982, -0.0283554457, -0.0040583764, -0.0538640246, 0.0040534469, 0.0591344796, -0.0003912008, -0.0218368806, -0.0186316352, -0.0104771592, 0.0654508322, 0.0102545423, -0.0350833945, -0.036984887, 0.0284796655, -0.0083933277, 0.0143796932, -0.059448868, -0.0172787998, -0.0618549138, 0.0690711364, -0.0192558914, -0.0930777267, 0.0073795444, 0.0026612072, 2.784e-7, -0.03867428, 0.0492042564, -0.0116857393, -0.0185430236, 0.0218869895, 0.0303536467, -0.039390862, 0.036349602, -0.0139870746, 0.0111089749, -0.0113972435, 0.0362996273, -0.0154280877, 0.0120468028, -0.0832747295, -0.0452936068, -0.0205673538, -0.0198828857, -0.0336696804, -0.0055159898, 0.0125461994, 0.0587055981, 0.0636989027, 0.0212046839, 0.0166361816, -0.0716174319, 0.0443221666, -0.0132842399, 0.0463630594, -0.0013542572, -0.0446879715, 0.0588597134, -0.0374010578, -0.0153288264, -0.0007445781, 0.0099146329, -0.0755052269, 0.0446441956, -0.023199223, -0.021052137, 0.0284857936, 0.0077028149, -0.001350099, -0.0339982919, 0.0605867766, -0.0538003817, -0.0216558333, 0.0218270868, 0.0141594438, -0.0034763562, -0.0680070072, -0.0009553641, -0.0196160246, 0.0078134481, -0.0239954852, 0.0148171885, -0.0329503156, -0.0835695267, -0.016776057, -0.0342497155, -0.0329570025, -0.0457569659, -0.0478335582, -0.0362148583, 0.0046586022, -0.0490748174, -0.0113391737, 2.409861224e-34, 0.0138852913, -0.014910995, 0.0130505897, 0.034134537, 0.0104780635, 0.0164264161, 0.022211533, 0.0175143909, 0.0906226858, -0.0283811335, -0.0466585644 ]
http://arxiv.org/abs/2310.10118v3
http://arxiv.org/pdf/2310.10118v3
Learning to Rank Context for Named Entity Recognition Using a Synthetic Dataset
2023-10-16T06:53:12
2024-04-08T13:53:48
Arthur Amalvy, Vincent Labatut, Richard Dufour
cs.CL
cs.CL
While recent pre-trained transformer-based models can perform named entity recognition (NER) with great accuracy, their limited range remains an issue when applied to long documents such as whole novels. To alleviate this issue, a solution is to retrieve relevant context at the document level. Unfortunately, the lack of supervision for such a task means one has to settle for unsupervised approaches. Instead, we propose to generate a synthetic context retrieval training dataset using Alpaca, an instructiontuned large language model (LLM). Using this dataset, we train a neural context retriever based on a BERT model that is able to find relevant context for NER. We show that our method outperforms several retrieval baselines for the NER task on an English literary dataset composed of the first chapter of 40 books.
[ 0.0110606914, 0.0432146229, 0.0131094111, 0.0368594974, 0.0351498276, 0.0405520275, 0.0338960215, -0.0031037258, 0.0170889348, -0.039798025, -0.0620446019, -0.0063555669, -0.0150062526, -0.0004489078, 0.0336491801, 0.012662475, 0.0162871704, -0.0074283085, -0.002028014, 0.0187550765, -0.0175947417, 0.0099934563, 0.0122943958, 0.0152153233, 0.0124987084, -0.0168064889, -0.0121722147, 0.0320315845, 0.075361073, -0.0392441861, 0.0439719036, 0.0171342324, 0.0382171161, 0.0309145227, 0.0000017723, -0.0426051021, -0.0609884895, -0.0071141357, -0.0383169055, -0.016538512, 0.0218414366, -0.0038324026, -0.010274074, -0.0154909967, -0.0047063939, -0.001596662, -0.0005409623, 0.0787065476, 0.0281493422, 0.0799617171, -0.0162092056, -0.0612306185, 0.0566997342, -0.0078678392, 0.027772069, -0.0480635874, 0.0371585786, -0.0228064097, -0.007001678, 0.0597584769, -0.0008166524, 0.0076035443, 0.0249930453, 0.0237266384, 0.0267654546, 0.0420836955, -0.0554197542, 0.0334899127, 0.0148465829, 0.0686746836, 0.0057854867, -0.0256677549, 0.0240645427, 0.0113400295, -0.0268703718, -0.0232873969, -0.0317320488, 0.0313265137, -0.0271581728, 0.0078181131, 0.0496605262, 0.021548247, 0.0112196505, -0.0043281564, -0.0517702028, 0.0078748195, 0.0409652479, -0.0329593644, 0.0080257617, -0.0081691928, -0.0444392599, 0.0018331197, 0.0554489605, 0.0345283598, 0.0135801705, 0.0181495994, -0.0192712657, -0.0362918526, 0.0061044823, -0.0490672402, -0.0107334713, 0.0065666996, -0.02591631, 0.0315241888, -0.0632976368, 0.0272155404, -0.0259172637, 0.0244782027, -0.0063066059, -0.0143252751, -0.0225743745, -0.0127961272, -0.0579599068, 0.0241855327, -0.0637201071, -0.0068968781, -0.0234363843, 0.0015606408, 0.0160518624, 0.0225144308, 0.0281415712, 0.0144987013, -0.0405385159, -0.0019518933, -0.015195759, 0.0103967935, -0.0249515921, -0.0032812133, -0.0439257063, -0.0366422459, -0.0079435809, -0.0449174494, 0.0333072394, -0.0536197722, 0.0553098917, 0.04765708, 0.0094050337, -0.120875515, -0.0580750592, 0.0212763716, 0.021575151, -0.025138393, -0.0048445286, -0.0255560167, 0.0563057587, 0.0008945763, 0.0320409648, 0.0049626981, 0.0221790075, 0.0365998261, -0.0215994716, 0.0857680663, -0.0262130685, -0.0265171677, 0.0462221503, 0.0317746028, 0.0448983125, 0.0401802585, 0.0375774018, 0.0278362241, 0.0483551435, 0.0165649876, 0.0012564092, 0.0333579183, 0.0047130091, -0.0081389872, 0.0077948379, 0.0262467731, -0.0219886471, 0.0085018603, 0.0203872304, 0.0205781553, -0.0309776049, -0.0354422145, 0.0297745802, 0.0404427722, 0.0343289599, 0.0235053804, 0.0270966031, -0.009517652, 0.0231908243, -0.0164412018, -0.0053213341, 0.004589688, -0.0163801238, 0.0189637803, 0.0039446596, 0.0281664338, 0.0001862431, 0.0113261137, 0.0324395448, 0.0022265879, -0.0356373116, 0.0160446353, 0.0584238172, 0.0352789536, -0.0897352621, 0.0435033329, 0.014565764, -0.0548951812, 0.0035556764, -0.0059198635, 0.0154740689, 0.0520427749, 0.0608005896, -0.0788140818, -0.0354313292, -0.035376966, -0.0406650826, 0.033884652, -0.0369664691, -0.0367307439, 0.0463177748, -0.0585450679, 0.0097055733, -0.0233123768, 0.0094918068, 0.035265971, 0.0259947293, 0.0242851898, 0.0215168782, -0.0492839217, -0.0334858932, 0.05424086, -0.083057858, -0.0913178325, -0.0105347745, 0.0213328637, 0.0071848063, 0.0384122655, -0.0310400408, -0.019055374, 0.0418594554, -0.0479875281, 0.0152884647, -0.0232996475, -0.0263955295, -0.0488378853, 0.0123661542, -0.0408495106, -0.0271399003, 0.0320332348, -0.0156775881, -0.0503601693, -0.0604596138, 0.0362407416, 0.0537118055, -0.0381165072, 0.0172617324, 0.0257277433, 0.0236564111, -0.0397361182, 0.0640226752, 0.0153771499, 0.0594523251, 0.051391568, 0.0481958017, -0.0122043854, -0.0176877901, -0.0499854833, 0.0066132289, 0.0122713977, -0.0357665271, 0.03179726, 0.0087163141, -0.0483165309, -0.0513760336, -0.1323622167, 0.0295312647, -0.0134868314, 0.0356881917, 0.0356884673, 0.011693297, -0.0390218496, -0.0058188871, -0.0063933022, -0.0411153436, -0.0657245293, 0.0032444161, 0.0417780876, 0.0244620871, -0.014697738, -0.0393610597, -0.0208202526, -0.0300662965, 0.0610753708, 0.0269319098, 0.008398613, -0.0416871458, 0.0485191718, 0.0223761089, 0.0227535218, -0.05352626, -0.0078782849, 0.009681765, -0.0180484932, 0.0367736183, 0.078557007, 0.0186413899, 0.0506157912, -0.0079694744, -0.0398884565, -0.051180914, 0.0232303422, -0.0172482505, 0.0015134525, -0.0012837541, -0.0446856879, 0.0465053357, 0.0714787394, -0.0358243473, -0.0128991976, -0.0174051877, -0.022195261, 0.018729426, 0.0004768368, -0.0400155447, 0.008391195, -0.0248678178, 0.0324833281, -0.0126206726, 0.0030310531, 0.0403008945, -0.0568817854, -0.0254877266, -0.0475948416, 0.0186201632, -0.0754530132, 0.0431478843, 0.0173178017, 0.0045158151, -0.0177662596, -0.0740878135, -0.0075190896, 0.0545769371, -0.003733905, -0.0455016941, 0.0273388214, 0.0002832489, 0.0204982869, -0.0321733952, -0.0094920611, -0.054791905, -0.0107095009, -0.0188034028, 0.0017426091, 0.0243467558, -0.0150168408, -0.017387636, -0.0131556494, 0.0223854799, 0.091055356, -0.0002832176, -0.0456241705, -0.0180691443, 0.0479077324, 0.0437279381, -0.0219521727, 0.0126545345, -0.0433894917, 0.0214090887, 0.009626925, 0.0031515805, 0.003977567, -0.0263414532, 0.006271068, 0.0263914485, -0.0784446821, 0.0211325716, -0.0127577884, 0.016544519, -0.0400342569, -0.0286054816, 0.1073306724, 0.0106047494, -0.0472100712, -0.0568017699, -0.0129136853, -0.0334203951, 0.0275651477, 0.0162370149, -0.1036377177, -0.0129048936, -0.0112096621, -0.0006108464, 0.0186430346, -0.0591873676, 0.003651154, -0.1054307818, 0.0045210095, -0.0352335498, -0.0664175525, -0.0076672533, -0.0484769121, 0.0121936621, -0.0144681735, 0.0123049309, -0.0015607475, -0.0597051457, -0.0075582219, -0.03195462, 0.0664883703, -0.0161935352, 0.0220867489, -0.0443961173, 0.0418737344, 0.0328954645, 0.0485384315, -0.0244566575, -0.0018707722, 0.0034622692, -0.0501117073, -0.0271666609, 0.0251612104, 0.046742782, -0.0704085752, -0.0057905214, -0.0279595517, 0.0086316941, -0.0334532633, -0.0344878323, 0.0242551602, 0.0054775164, 0.0100606522, 0.0222363546, -0.0145839127, -0.0032885752, 0.0045692436, 0.0573632233, 0.0101231309, -0.0196052808, -0.0060733613, 0.0215254799, 0.0378722921, -0.0502663217, -0.0148207331, 0.0253664274, -0.0525643118, -0.0051899087, -0.0635311157, -0.0167369228, 0.0257124119, 0.0533985831, 0.0465295278, -0.0022733712, 0.0093809338, -0.0077620903, -0.0572296269, 0.0654915273, -0.0133557813, -0.0075748176, -0.0595974512, -0.0028158696, 0.0597694442, -0.0415884703, -0.0173124038, 0.0006459572, -0.0074780243, -0.0277847182, 0.0247853436, 0.0159282703, 0.0119700264, 0.0438544638, 0.0048113526, -0.0206189603, 0.0559546202, 0.0555600747, -0.0354154222, 0.0024228881, 0.016958354, 0.0495836474, -0.0461758226, 0.0111319786, -0.0383979119, 0.0471045077, 0.0079174154, 0.0372404121, -0.0281051919, -0.0400613919, -0.0033236407, -0.0148195839, 0.0590626337, -0.0353413373, 0.0008840934, -0.0848515704, 0.0377383791, -0.0181814749, 0.0255646724, -0.0034977158, -0.0023880422, 0.0310557839, -0.0167275928, -0.0286418162, 0.0591544956, -0.0083222045, 0.0419913828, -0.064780578, 0.0282844286, 0.0079727229, 0.0339540951, -0.0104512451, -0.0034556675, -0.0026706846, 0.0083724242, 0.0307723898, 0.0867525265, -0.0123757413, 0.0722811669, 0.0310863759, -0.0076331808, -0.0280979238, 0.029918598, -0.0625358522, 0.0334483981, -0.0276058093, 0.0283830613, 0.0572264045, -0.0388447344, 0.0403084159, -0.0043128142, -0.0194700304, 0.0323673859, 0.0070475913, 0.0060300799, 0.0162688065, -0.0121733127, 0.0438789353, 0.0147133972, 0.0222883485, 0.0623335503, 0.015402237, 0.0231762007, 0.0361949131, -0.0144762928, -0.0355013162, 0.0049827681, 0.0172197074, 0.0056360182, 0.0080582658, -0.0131619899, -0.0059092334, -0.0331655405, 0.0467164926, 0.0057867984, -0.0170288906, 0.0178906266, 0.0206306502, 0.0218480323, 0.0082836514, -0.030957872, -0.0289661996, 0.0363334306, 0.0226776414, -0.0314688534, -0.0338188075, -5.756360938e-33, -0.0570229143, -0.0167672522, 0.0005084079, -0.0099014631, -0.0446501561, 0.0550236329, -0.0171294678, -0.0549119227, 0.0147859417, -0.0087074041, -0.0471671745, 0.0122837154, 0.0201292317, 0.0253155027, -0.0299130008, -0.029899681, 0.0407792963, 0.0319418386, -0.0090778489, 0.0131796077, 0.0525767133, 0.0832318142, 0.0783988759, -0.0537840202, 0.0316366479, -0.0270343628, 0.0155238397, -0.0103273252, 0.0484611727, 0.0307039544, -0.031902343, -0.0028885037, 0.022493124, -0.0796686485, 0.039631512, 0.0605171099, -0.153740719, -0.022186134, -0.0158751588, 0.0112342378, -0.0032646854, -0.0332123041, 0.0241696946, -0.0137412222, 0.0255034231, 0.0046762158, 0.0615084469, -0.0244362913, 0.0009190575, -0.09533149, -0.0703264475, 0.0041044368, 0.0055086082, 0.0289106425, 0.036741212, -0.0172405578, 0.0345497094, 0.0226326697, -0.0701710656, -0.0211492516, 0.0255641229, -0.0084075099, -0.0214813109, 0.0501072071, 0.0062552667, 0.0483309813, 0.0335731655, 0.0017520566, -0.0422080308, -0.0336585529, 0.027464401, 0.0046067717, -0.024990242, 0.0432045646, 0.0462169386, -0.0045289528, -0.0593930595, 0.0745298266, 0.0048856246, -0.0009661289, 0.0092435405, -0.0252667405, -0.0336388052, 0.003836934, -0.0128957583, -0.0272911564, -0.0301255919, 0.0265515056, 0.0060931793, 0.0222772509, -0.0358782895, 0.0264588073, 0.0379463248, -0.0470799282, -0.0281900484, 0.0157477371, 0.0265933461, 0.0176625773, -0.0148315402, 0.0093521588, -0.0175425615, -0.0365213007, 0.037379764, -0.0150259035, 0.0341815539, -0.0327944942, 0.031755846, 0.0077801575, -0.0607541874, -0.0116572157, -0.0176907461, 0.0163137335, -0.0172126815, 0.0652406216, -0.0048011625, -0.0051060608, 0.0101828221, 0.0576015301, 0.0304560941, 0.027734736, -0.0361557156, -0.0021648807, 0.0065667122, 0.0247649048, -0.0147512443, 0.0102770822, 0.0005132021, 0.0545512103, 0.0208749417, -0.0755919814, 0.0029758387, 0.0024946884, 2.512e-7, 0.0143769849, 0.0053052492, 0.0486438684, -0.0332757682, -0.0162392072, 0.0014122962, 0.0180557519, 0.0633020848, -0.0056920503, -0.0199411754, 0.0128161861, -0.009639862, 0.0023646392, 0.0169584397, -0.1128607616, -0.0608405881, -0.037355233, -0.0207540914, -0.0679196343, -0.0129346326, 0.0272668302, 0.0599553734, -0.0107097877, -0.0183925591, -0.0024796464, -0.0041763829, 0.0585980415, -0.0461896285, 0.0143769681, 0.0444429703, 0.0446811654, 0.0630844608, -0.0225934405, -0.0110490108, -0.0190995876, 0.0606085323, 0.0060249083, 0.0628838763, 0.0157804694, -0.0452890098, 0.0210340898, -0.0293873157, -0.0064749606, -0.0365788862, 0.0693910494, -0.0447915345, 0.0043489886, 0.0253096558, -0.0541912131, -0.0161154438, -0.0032451956, -0.0084021892, -0.0020064826, 0.0413210727, 0.0068101753, -0.0390633754, 0.0076920004, -0.1354952008, 0.027445728, 0.0307516176, -0.0287451353, 0.0222974773, -0.0141177978, -0.0500745848, 0.000461821, -0.0692860633, 0.0316660814, 2.243018168e-34, -0.0060581304, -0.0075821043, -0.0192465875, 0.0356691889, 0.0209831987, -0.0297150034, -0.0165469181, -0.0005922989, -0.0155223841, -0.0670182556, -0.0053894059 ]
http://arxiv.org/abs/2310.10106v1
http://arxiv.org/pdf/2310.10106v1
End-to-end Multichannel Speaker-Attributed ASR: Speaker Guided Decoder and Input Feature Analysis
2023-10-16T06:40:18
2023-10-16T06:40:18
Can Cui, Imran Ahamad Sheikh, Mostafa Sadeghi, Emmanuel Vincent
cs.CL
cs.CL, cs.SD, eess.AS
We present an end-to-end multichannel speaker-attributed automatic speech recognition (MC-SA-ASR) system that combines a Conformer-based encoder with multi-frame crosschannel attention and a speaker-attributed Transformer-based decoder. To the best of our knowledge, this is the first model that efficiently integrates ASR and speaker identification modules in a multichannel setting. On simulated mixtures of LibriSpeech data, our system reduces the word error rate (WER) by up to 12% and 16% relative compared to previously proposed single-channel and multichannel approaches, respectively. Furthermore, we investigate the impact of different input features, including multichannel magnitude and phase information, on the ASR performance. Finally, our experiments on the AMI corpus confirm the effectiveness of our system for real-world multichannel meeting transcription.
[ -0.0454384163, -0.0274516102, 0.0404865481, 0.0279453844, 0.007060891, -0.0067126215, 0.0728146806, -0.0525095761, 0.0113203879, -0.00391697, -0.0553739555, -0.0304299798, 0.0468454398, 0.0161373522, 0.0136364643, -0.0118102701, -0.0185448434, -0.0396211408, 0.01519896, -0.029904278, 0.0014640806, -0.005354079, -0.0428462774, 0.0195545256, -0.0351031013, 0.0286393315, 0.0018658538, 0.0018709896, 0.028931424, 0.015543526, -0.0158598647, 0.0088173011, 0.054139901, 0.0256167408, 0.0000019215, -0.002372673, -0.0637383759, -0.0026445091, -0.0645900965, -0.0207961891, 0.0012671718, -0.0066400883, -0.010602938, 0.0402389988, 0.0173194259, -0.0260885712, 0.0380398557, 0.0601757132, 0.0310882851, 0.0006799379, 0.0068776957, -0.0911102146, -0.0048488351, 0.001323982, -0.0252159722, -0.0460112132, -0.0166562069, -0.0382632464, -0.0293815732, -0.0313845053, -0.0040569329, 0.0702147037, -0.0053607994, -0.0141262114, 0.037601579, -0.0368382558, 0.0152120432, -0.0124031566, -0.0424486995, 0.0799822882, 0.0399106927, -0.023478521, 0.0230275318, 0.0057163434, -0.0211826302, -0.0003798118, 0.0151754534, 0.0012599943, -0.0234797392, -0.0291282963, -0.0078280009, 0.0589943938, -0.015796056, -0.0397987254, -0.0312822647, 0.0092976997, -0.0009907756, -0.0098362975, 0.0094810659, -0.0280463006, 0.0122345928, 0.029919859, 0.0602705739, -0.0117771234, -0.0018883878, -0.0170627348, -0.0065625035, -0.0557111725, -0.0606140271, -0.0368285254, -0.0085343448, 0.0622622147, -0.0515414923, -0.0139025273, 0.0029123428, 0.0802941769, -0.0080337944, 0.0087038567, -0.0067977123, -0.0148905469, 0.0051971204, 0.0251270495, -0.0322881676, -0.004003461, -0.0029244302, -0.0330258496, -0.0353645571, 0.0162086692, -0.0149267754, -0.0162080228, 0.0347268805, -0.0012816025, -0.0171534121, -0.0300478805, 0.053056322, 0.0862849802, 0.0293822773, 0.014624848, -0.0223500393, -0.0764456838, -0.0316817127, 0.0535341389, 0.0433724225, 0.0012227383, -0.0317650214, 0.0316977985, -0.0210812744, -0.0547723211, -0.0138810845, 0.0122245783, -0.0490690991, -0.0140433293, 0.0302043948, -0.0231267195, 0.0607555769, 0.0509872064, 0.0000685858, -0.0434432961, 0.0032853, -0.0518084317, 0.0346551612, 0.0456409976, 0.0417975485, 0.024612058, 0.087040931, -0.0246498864, 0.0231001042, 0.0045176777, 0.0505132191, -0.026489282, -0.0235050861, -0.0674315989, 0.0320398733, 0.058584448, -0.0315370187, -0.0046218974, 0.0239934158, -0.0157446228, 0.0363115221, -0.0055701109, 0.0120547786, 0.0270836465, -0.0104020005, -0.0187265258, 0.0380262844, -0.0221509933, 0.0410258882, 0.006140972, 0.051824607, 0.0039029887, -0.021407783, 0.0114410575, 0.0060200891, 0.0147835715, 0.0180697534, -0.009217998, 0.0940396339, 0.0118578533, -0.0238358751, 0.0174792521, 0.0194835067, -0.0161471684, -0.0094364239, 0.0289081335, 0.0385391787, -0.0266198181, -0.054888811, 0.0993922353, -0.0289548133, -0.0655125901, 0.0142764365, -0.0021548888, -0.0493910015, 0.0328017026, 0.0072294814, -0.0117377443, 0.0139717972, -0.0554259829, 0.00050992, 0.0052656834, 0.0470386334, 0.0175911207, 0.0460921973, -0.046217788, -0.0148969693, 0.0531235225, -0.0171703827, 0.074308686, -0.0397316664, 0.0112764575, 0.0146775674, 0.0001016053, 0.045581948, -0.0337632485, -0.0055169873, -0.0399985351, -0.002022648, 0.0202702507, 0.0433387496, 0.0507259741, -0.026341781, -0.0045407438, 0.0272830352, -0.0163633693, 0.0066413842, 0.0406078249, -0.05188521, 0.0121504245, 0.0369666032, -0.0215945505, 0.0034335679, 0.0324414074, 0.0412601791, -0.0739733055, 0.0500360727, -0.0590340197, 0.0487355292, -0.0306638833, 0.0756634399, 0.0372531153, 0.0438113138, 0.0279449504, -0.0253847167, 0.0094552217, 0.0025667455, -0.0207136888, -0.0473786816, -0.0172535609, -0.0753440112, 0.0032307655, -0.0199141037, -0.0051287613, 0.0273632724, -0.0144525636, -0.0441448092, 0.0263499152, -0.0287782252, 0.0025662137, -0.0503914095, -0.0327287726, 0.0164854825, -0.048401814, 0.0340045728, 0.0010176349, -0.0288901627, -0.0028342374, -0.0320977382, 0.0066833608, -0.0335758813, -0.0683182478, -0.0024621603, -0.0606505908, 0.0221253205, 0.0008078956, 0.0074125584, 0.006599104, 0.0108018536, -0.0760839358, -0.0709780976, -0.0215671621, 0.0559570342, 0.0208115503, -0.009225741, 0.0150206024, -0.0384601243, 0.0200599171, 0.0069593331, 0.0129963206, 0.0047153388, -0.0246813297, -0.0041798525, -0.0225796793, -0.0350736454, 0.0127176344, 0.0354068354, 0.0404058956, 0.0233782474, 0.0109726703, -0.012238279, 0.006236718, 0.0255302861, 0.0439080857, -0.0211003404, -0.0406163149, 0.0344966687, -0.0441620424, 0.0307051353, -0.0367188938, -0.0408849567, -0.0341303945, 0.0102122342, -0.0006537407, 0.0337219201, -0.0775983706, -0.0541002117, -0.0019316049, -0.0113378428, 0.0096949628, -0.0332415663, -0.0213264208, -0.0019395311, -0.006492598, -0.0897203088, 0.0381890051, 0.0380068272, 0.0329329073, -0.0692251176, 0.097297065, -0.0045662192, 0.0069367695, -0.0191756915, -0.0371624343, 0.0051906807, -0.0129339192, -0.0263746642, 0.0132347578, 0.0108555704, -0.0164733194, -0.0860764161, 0.0628726855, 0.0626327768, 0.0186442081, 0.0062246532, 0.0378511697, -0.0361758731, 0.0564440042, -0.0114377076, 0.0797336921, 0.0125752259, -0.0276794061, 0.0078023304, -0.030024793, 0.0318767428, 0.0017104395, -0.0183634944, -0.0319507644, 0.0473180898, 0.0005442422, -0.0224055536, -0.0049120453, 0.0464820042, -0.012971119, 0.053629633, 0.0936473981, -0.0071878671, -0.0862637684, -0.0536472276, -0.001810138, -0.0066604679, 0.0075373254, 0.0048512262, -0.0813405588, -0.0394761264, 0.0539941825, 0.0309507549, 0.0375874601, 0.0249698088, -0.0226908773, -0.0456317067, 0.0167523809, 0.0377692282, -0.0243109688, -0.0837189406, -0.0384263992, -0.0207772534, -0.0371887423, 0.0614847355, 0.022072712, -0.0312078223, -0.0524981767, 0.010726098, -0.0438346975, -0.0324615985, 0.0080397781, -0.0227050632, 0.0808247998, 0.0128621971, 0.0047300779, -0.0201612543, -0.0496326126, -0.0424582474, -0.0288056899, -0.0060489411, -0.0077122417, 0.0297143888, -0.0226242784, 0.0084386598, 0.0419172198, 0.0371815488, 0.0062555009, 0.0143898437, -0.0053669028, 0.0301014371, -0.0469694026, 0.0123100253, 0.0640313178, 0.0207733531, 0.0239247456, 0.0442919619, 0.0080083013, -0.0033768755, -0.0207232926, -0.0096941153, 0.1037842631, 0.0226623062, -0.0036705576, -0.000071462, -0.0159501471, -0.0624831431, 0.0273209214, -0.0051788064, 0.0087563302, -0.0064961216, 0.0195013527, -0.0411964469, -0.0313690826, 0.03017601, -0.0154668102, -0.0117988316, -0.0311080385, 0.0478896946, -0.0768719092, 0.0182482693, 0.0230043214, -0.079004705, 0.0043670037, 0.0793194249, -0.0153656099, -0.026771497, 0.0500422828, -0.0539454892, 0.0107101928, 0.0570560656, -0.0228276532, -0.0257308818, -0.001248998, -0.0701884478, -0.0148421647, 0.0349818319, 0.0433015823, 0.0039690104, -0.0411394164, 0.0153442062, -0.0335788131, 0.0307013709, -0.0265292618, -0.0005413232, -0.0205821842, -0.1081102714, -0.0206569657, 0.0369685702, 0.0363477692, -0.0005401661, 0.0374539755, 0.0082197003, 0.063553758, 0.0183276404, 0.060257189, -0.0037313041, -0.0320936963, -0.0287346747, 0.0126933148, 0.0108304126, 0.0565127172, -0.0338509046, -0.0262854267, 0.0010998084, 0.090983294, -0.0112064285, -0.0461797975, -0.0137468604, -0.0229340233, -0.027683964, 0.0631840676, 0.0889663249, 0.0280404091, -0.013332569, 0.0270794984, -0.0475275926, 0.0110289464, 0.0080802431, 0.0310641024, -0.0502960421, 0.0394856706, -0.0091208471, 0.0094053177, 0.0045491182, 0.0219111834, 0.069288753, 0.0333336033, 0.0377872735, -0.0400443897, 0.0362341553, -0.0435599983, 0.0087137092, 0.0101532442, -0.0141734788, -0.0162002742, 0.033293847, 0.0351193883, -0.0294127371, -0.0004471204, -0.0541117378, 0.0212753359, -0.0628893599, -0.0535639636, -0.0411754735, -0.0384240933, -0.0267012678, -0.0536032319, -0.0076557361, -0.018326031, 0.0720897242, -0.0397720896, 0.0156013584, -0.0315568298, -0.01818965, -0.0181584526, -0.0345136374, -0.0028066502, 0.0282075536, -0.0464991182, -0.0078629935, -0.0022121894, 0.0046380181, -6.118494381e-33, -0.0302430522, 0.032270126, -0.00508834, 0.0221944675, -0.0310118888, -0.0008003843, -0.007771106, 0.0239373818, 0.0044904063, -0.0363806188, -0.007434947, 0.0123430844, 0.0415048003, 0.0091369748, -0.0043710135, -0.0118164429, 0.0843113586, -0.0087110214, -0.0060524754, 0.0217020568, 0.0632653758, 0.0225159917, 0.0144024016, -0.0190814156, -0.0131208478, 0.016117705, 0.003200986, -0.0393597372, 0.0030825131, 0.0093622562, 0.0016688787, 0.0276053641, -0.0327010229, -0.0697972253, -0.0029291254, 0.0547804683, -0.0688405335, 0.0193337202, -0.0650813282, 0.0630530417, 0.0578567758, -0.0379684977, 0.030281892, 0.0092569198, -0.0646226183, -0.036657013, 0.0323593356, 0.001658135, -0.0052191843, -0.0170535333, 0.0376880877, 0.0259897877, -0.020493919, -0.015954772, 0.0815870166, 0.0724927485, 0.0174536761, -0.0306361094, -0.0964931473, 0.0607194267, 0.0014288685, -0.0277377553, 0.0330116041, 0.039561335, -0.0107241571, -0.0109045263, 0.0522838533, -0.0887942761, -0.011826681, -0.0738663897, 0.0155611802, 0.0171921533, 0.0194189735, 0.0273274239, -0.021376064, -0.0111965863, -0.0046206387, -0.0105437711, 0.0007775516, 0.0081552342, 0.0061048833, 0.0153479148, -0.0328331068, 0.0113981282, -0.0514653474, -0.0137709258, -0.007865252, -0.0044950205, 0.014891088, -0.014438835, 0.0072936388, -0.0126906065, 0.0840964094, -0.0261192303, 0.0251640249, 0.0330959521, 0.0172528867, 0.0306779463, -0.0124845365, 0.0151483202, -0.020433668, 0.007614742, 0.0673722178, 0.0113737322, 0.0092761824, -0.0452013053, -0.0097659733, 0.0777880102, -0.066919595, -0.0155922081, 0.0409580842, 0.0052024731, 0.008904865, 0.0116523169, 0.0321333855, -0.0150019741, 0.0241020769, 0.0101094302, -0.0137936519, 0.0533349365, 0.0097173806, 0.0198256392, 0.0406595469, 0.0502559133, -0.0585939623, 0.0342179872, 0.0278319046, -0.0164676551, 0.0388897434, -0.0097560212, 0.0056543457, 0.0045763017, 2.728e-7, -0.0368567444, 0.0160148926, 0.0710616186, -0.0685002655, 0.0131984688, 0.0018263203, 0.0217518248, 0.0130529897, -0.015715247, -0.0004764134, -0.0086511699, -0.0190629568, 0.095440045, -0.0097880596, -0.1034778804, -0.0182299316, -0.0294602998, 0.0340411365, 0.0148600051, 0.047897473, 0.0227410104, 0.0511356592, -0.0119458204, -0.0209776331, -0.0168735161, 0.0206475705, 0.0205926187, 0.0240662526, 0.0059437496, 0.0032834259, 0.0013353609, -0.0549784489, -0.0465780012, 0.0540867746, -0.0347706042, 0.0539774001, -0.0004441369, 0.0347109623, -0.0019497785, -0.0849302933, -0.0076171481, 0.0597255565, -0.0422603041, 0.025654193, 0.0304937046, -0.0030083673, -0.014924312, -0.0029792937, -0.0784918889, -0.002153401, -0.0142404875, 0.0172909293, 0.0432905704, 0.0150784208, -0.0111772241, -0.024105804, -0.0159643702, -0.0144540286, 0.0310450122, -0.0048552342, -0.0435709693, 0.0016929728, 0.0141734155, -0.073903434, 0.0433221273, -0.0096933292, -0.0153642222, 1.777988011e-34, 0.0303948112, 0.0038467483, 0.0015674538, -0.015159321, 0.0037852374, -0.0734762773, -0.0205428135, 0.0163542517, -0.001456867, -0.0731853619, -0.0252480283 ]
http://arxiv.org/abs/2310.10103v1
http://arxiv.org/pdf/2310.10103v1
Navigation with Large Language Models: Semantic Guesswork as a Heuristic for Planning
2023-10-16T06:21:06
2023-10-16T06:21:06
Dhruv Shah, Michael Equi, Blazej Osinski, Fei Xia, Brian Ichter, Sergey Levine
cs.RO
cs.RO, cs.AI, cs.CL, cs.LG
Navigation in unfamiliar environments presents a major challenge for robots: while mapping and planning techniques can be used to build up a representation of the world, quickly discovering a path to a desired goal in unfamiliar settings with such methods often requires lengthy mapping and exploration. Humans can rapidly navigate new environments, particularly indoor environments that are laid out logically, by leveraging semantics -- e.g., a kitchen often adjoins a living room, an exit sign indicates the way out, and so forth. Language models can provide robots with such knowledge, but directly using language models to instruct a robot how to reach some destination can also be impractical: while language models might produce a narrative about how to reach some goal, because they are not grounded in real-world observations, this narrative might be arbitrarily wrong. Therefore, in this paper we study how the ``semantic guesswork'' produced by language models can be utilized as a guiding heuristic for planning algorithms. Our method, Language Frontier Guide (LFG), uses the language model to bias exploration of novel real-world environments by incorporating the semantic knowledge stored in language models as a search heuristic for planning with either topological or metric maps. We evaluate LFG in challenging real-world environments and simulated benchmarks, outperforming uninformed exploration and other ways of using language models.
[ 0.057188075, 0.0046265805, -0.0063365134, -0.0280218143, -0.0522497259, -0.015026927, -0.0386594906, -0.0295824781, 0.0303517822, -0.0312897973, -0.0042084702, 0.004128383, 0.0056915395, 0.0334833078, -0.0246972218, -0.0491869152, 0.037408296, -0.0570328049, -0.0477823205, 0.0098618213, -0.0845422372, 0.0062797945, -0.0092503885, 0.0464301035, -0.0225570016, 0.0269336179, -0.0539700128, 0.0288192965, -0.021591913, -0.0654575899, -0.0408666879, -0.0023524333, 0.0623697266, 0.0258467756, 0.0000020182, -0.0316042155, -0.0649440289, -0.0298504923, 0.0580892228, -0.0853699893, 0.0267685615, -0.0235222671, 0.0174654648, 0.0016198336, -0.039211683, -0.0336883962, 0.0415885486, 0.043652527, 0.0005787924, 0.0411416069, -0.0088717649, -0.0533734895, -0.0538286045, 0.0193119776, -0.0049109412, -0.0626056045, -0.0049882582, 0.054267291, 0.0293779112, 0.004329232, -0.01686511, -0.0157891195, 0.0166474618, 0.0021100524, -0.0203571077, 0.0562176518, -0.0000420739, -0.0094891069, -0.002103379, 0.0708284751, -0.0567262545, -0.0392091423, 0.0364579223, 0.0133821443, -0.0250214655, 0.0375564545, -0.0338045433, 0.0297039375, -0.0139754033, 0.0121277301, 0.0082282322, -0.018497156, 0.0276165921, 0.0087477611, -0.0421730652, 0.1728409231, 0.0091170585, 0.0148228239, 0.0228855349, -0.0276657268, -0.0179622397, -0.0544222444, 0.0149286781, 0.0606110282, -0.0454624668, 0.0600600094, -0.045656424, 0.0632089898, -0.0125961071, -0.0136840232, -0.0012427251, 0.0495861731, 0.0080773067, 0.0314867795, -0.0214960855, 0.0292438511, -0.0095672794, 0.0414677411, -0.0922491401, -0.0290204231, -0.0392929874, 0.0569014437, -0.0637966841, 0.012330032, -0.0382589847, -0.077941224, 0.0378251262, 0.0824455097, -0.0000911558, 0.0367578566, -0.014822524, -0.006824235, 0.0183166619, -0.0161753856, -0.0190904569, -0.0870905742, -0.0442233756, 0.0091250204, -0.0390474461, 0.0091584893, 0.0262915343, 0.0520166755, -0.0194200315, -0.0144342724, -0.0197908692, 0.1016263291, 0.04087127, -0.0207899362, -0.0408179499, -0.039295882, -0.0076794475, -0.0246666074, 0.0470552258, -0.0820395574, -0.0211520139, 0.0099428659, -0.0222057626, -0.0248517115, 0.0135095268, 0.0219205599, -0.0084580593, 0.0550566837, 0.0072759613, 0.0447773375, 0.0603194423, 0.0071970639, 0.0009884908, 0.0584105887, 0.0258930307, 0.086480096, -0.0048517496, 0.065166913, -0.0105742747, 0.0339109637, -0.0236150101, -0.0019479224, -0.0103033902, 0.0266426839, 0.052949179, 0.0556458831, -0.0386468619, 0.0266126692, -0.0123458132, 0.0162075143, -0.0057603233, 0.0795453936, 0.0048116725, -0.0044140057, 0.0217724442, -0.0106850183, -0.0380122848, -0.0448967591, -0.008557965, 0.0031786265, -0.0138195846, -0.0200290326, -0.0082556736, -0.0081525985, 0.0030920906, -0.0286612399, -0.0300610922, 0.0357719176, 0.0695378408, -0.0323287211, 0.0313526802, 0.0210114066, -0.0539952666, 0.0369644947, 0.0144862831, 0.0131078539, -0.0271753594, -0.0105687799, 0.0211305451, 0.0441382304, 0.0376863703, -0.0306318309, -0.0139763793, 0.0353961736, 0.0017441949, 0.007768054, 0.0305722188, -0.0134181241, -0.0073194411, -0.0195084792, -0.0503640883, 0.0179784298, -0.0047378209, 0.0368946753, 0.0323425829, 0.0209472254, -0.012886378, -0.0623473004, -0.0250721909, 0.0759457722, 0.0306333825, 0.0096011218, -0.010898889, 0.003494449, -0.0004252297, 0.0020368849, 0.0175221059, 0.0124908742, 0.0362499245, -0.0110947983, -0.0268681236, 0.0296681859, -0.0283987354, -0.0218337756, 0.0318007022, -0.0470382795, -0.0234830435, 0.0247464217, -0.0152911292, -0.0099277338, 0.0026211739, -0.031120291, 0.033012107, 0.0391008891, 0.0133034531, 0.0107105197, -0.0612491742, -0.0574790724, 0.0380921066, -0.0189649649, 0.0051693427, -0.0091259936, 0.0231586117, 0.0292607527, 0.0116194692, 0.0069403891, 0.0217197295, 0.007756677, -0.0327276811, 0.0314085223, 0.0379497111, -0.0351847112, -0.0635011122, -0.0985135809, -0.0317602605, -0.0193546209, -0.0229490604, 0.025424635, -0.0628708974, -0.0035347722, 0.0017216337, 0.0048450464, 0.0423217528, -0.0381370708, -0.0096163442, 0.0121455537, 0.0326372758, -0.0351914875, -0.0112053519, 0.015349986, -0.0234174468, -0.0000512606, 0.0310653318, -0.0162470397, -0.0450735018, 0.0185169429, -0.0452631786, 0.0285674967, -0.0222655367, -0.0088615296, 0.0251121726, -0.0515943803, 0.029460825, 0.0335522443, 0.0145241888, 0.0147302952, 0.1210438758, -0.0227305107, -0.0383666828, 0.014100641, -0.0603102297, 0.0082839634, -0.0496797189, -0.0482308678, 0.0301270485, -0.0297367945, -0.0088846805, 0.0117144287, -0.0250492021, 0.0183474161, -0.0564055182, -0.022254739, -0.0276890453, 0.0397914685, 0.0014058044, 0.1096063778, -0.0157726947, -0.0155358287, 0.0233940221, -0.0215586182, 0.0176611394, -0.0201678704, 0.0117793595, -0.0277078208, 0.0504561737, -0.0036693045, 0.0704745352, 0.0060686958, -0.0010777266, 0.0171667915, -0.0306955501, -0.0272011198, 0.0079372562, 0.0374300443, -0.0797106102, 0.0260547735, 0.0556529537, -0.0436692499, -0.0270299837, 0.0184466727, -0.0190022755, 0.0148741584, -0.0407076813, -0.0624697618, -0.0166193042, 0.0204082727, 0.016856879, 0.0771971419, 0.0059265853, -0.0408258773, -0.005340321, -0.0229557939, 0.0646723434, 0.0185066462, 0.0291769486, -0.0031549227, -0.0124430191, 0.0051913098, -0.0207545757, 0.0023020916, -0.0267450977, 0.0156045146, 0.0327786952, 0.0195635762, -0.0163997579, 0.0428351685, 0.0116968779, -0.0197210871, -0.0675912499, 0.0933742598, 0.0649652854, 0.0414301828, 0.0135689797, -0.072763063, 0.0176603291, 0.0300740618, 0.01913644, -0.019409677, -0.0112011796, 0.0365843847, -0.0150103178, -0.0060577313, -0.0307881013, 0.005299218, -0.0956060961, 0.0365762152, 0.0180439055, -0.0861957297, -0.0223508663, -0.0265118815, -0.0236611385, 0.0055473698, -0.0514945649, -0.0179213509, 0.0314130485, -0.019168321, -0.0157531444, -0.0355844088, 0.0005030492, 0.0056868442, -0.0185324419, 0.0372590721, 0.0236393809, 0.0547629893, 0.0127955666, 0.0088320188, 0.0217170008, 0.0881416425, 0.0396918394, -0.0697896257, -0.0247626901, 0.003060462, 0.0227144565, 0.0382544585, 0.0188338775, -0.0472108535, -0.0470421612, -0.0186199192, 0.0381586179, -0.0350622647, 0.014301599, -0.0353989564, 0.0157046188, 0.0067927344, 0.0654264167, -0.0458390936, 0.0151240053, -0.0435833484, -0.0512455627, -0.0306785293, 0.0008226698, -0.062625654, 0.0160090756, 0.0060793157, -0.0625994578, -0.0424979664, -0.0371147841, 0.0241297409, 0.0619745478, 0.0125212632, -0.0228086468, -0.0038627053, -0.0047104564, -0.0315872878, 0.0046251263, -0.0455142632, 0.0149494419, -0.0024520289, 0.0142425289, 0.0211089589, -0.0602657646, -0.0241410416, 0.0297693145, 0.0147203505, -0.0646386445, 0.0292312577, 0.0339873806, 0.015765382, -0.0003573761, -0.0280503985, 0.0224619266, 0.0279311594, -0.0117531177, 0.0217929389, 0.0246143881, 0.0203585606, 0.0697957575, 0.0507317297, 0.0327266641, -0.0507834926, 0.0086803464, 0.0009317891, 0.0412787236, -0.0488639735, -0.0318425111, 0.0392061323, -0.0315614641, 0.043597579, 0.0065811775, 0.0135724274, -0.0055039097, -0.0115734553, -0.0330419466, -0.0358362831, -0.0174237881, 0.0450128019, 0.0491369739, 0.0240160283, 0.0405531004, 0.0202636514, -0.019247273, 0.0385511257, 0.0156690907, -0.0319937542, 0.0204207562, 0.0133736851, 0.0274986513, 0.0161808766, -0.0008280909, 0.0006572981, -0.0458581671, 0.0337305553, 0.0235124733, 0.018936621, 0.0563025698, -0.0419073068, -0.0726690218, 0.0007819534, -0.0560611822, -0.0897282213, 0.0156409256, 0.0559594594, 0.0772350207, -0.0050821747, 0.007370417, -0.0841234475, 0.0180984866, 0.0203634892, -0.0533796698, 0.0492169745, -0.0637395903, 0.0600421466, 0.0157502219, 0.0027352851, -0.0074284808, 0.0146682225, 0.0043380973, 0.0839766338, 0.0319411606, -0.0425707102, -0.0220881272, -0.0059216581, 0.0343503542, 0.0389045179, -0.0248531699, 0.0304417983, -0.039656844, -0.0051486362, 0.0092709986, 0.0434453748, -0.0246172324, 0.0162555501, 0.0754520595, 0.0222527646, -0.0132951606, -0.0670095608, -0.0488144085, -0.0385582075, -0.0202787742, -0.0160298459, -0.0255644675, -5.851791611e-33, -0.0009117917, -0.0786823034, 0.0532068908, -0.0513153747, 0.0143721458, -0.0612123907, -0.0265763104, 0.0148937423, -0.0475782491, 0.0256948955, -0.0142298033, -0.0024704873, 0.0133150527, 0.0179459881, -0.0268868599, 0.0083340704, 0.0085165156, 0.0430741161, -0.0589913502, -0.0468958616, 0.0385068916, -0.0092879152, -0.0359707959, -0.0522724763, -0.047693558, -0.0113316113, -0.0179947466, 0.0485364161, 0.0236020032, -0.0050179958, 0.0030522563, -0.0098317806, 0.0028438007, -0.008830769, -0.0372111909, 0.015160583, -0.0121438708, -0.0470175557, 0.0137654822, 0.036906302, -0.009875726, -0.0297960099, 0.007069306, 0.0140496306, -0.0341076367, 0.0534531884, -0.0050785197, -0.0165482201, -0.0199664738, 0.0500221699, -0.0293735377, 0.0412748866, 0.0170611963, -0.0439529605, 0.0447707847, 0.0216487385, 0.015984904, -0.0234437734, -0.0017152951, 0.0268639605, -0.0222326741, 0.0168431941, 0.0461428091, 0.0182302352, 0.0416189395, 0.056179259, 0.0059673493, 0.0129845869, 0.0254275203, -0.0189794358, 0.0245271791, 0.0408177823, -0.0578153133, -0.0099016428, -0.0071925451, 0.0318194702, -0.0250471719, 0.0140792336, -0.0858039409, 0.0129215382, 0.0382198654, 0.0355774388, -0.045840241, -0.0105128195, -0.0591678247, 0.0126465932, 0.0047324714, -0.0080121504, 0.0088820634, 0.0054077916, 0.009711422, -0.0275518652, -0.0116496533, -0.0064066849, 0.0165970586, 0.0399519131, -0.0444426462, 0.0176913533, -0.036130473, 0.0460903868, -0.0244475324, -0.0638403744, 0.000669631, 0.0059514563, -0.0102545675, 0.0161542986, -0.0765771642, 0.0490970127, -0.0171971731, -0.0381081179, -0.0284616817, -0.0615737215, 0.0233419854, -0.0357774533, 0.0771237388, -0.0024674269, -0.0029545135, 0.062146917, 0.012250076, -0.037091691, 0.0271249544, -0.0279073734, -0.015971221, 0.0038480773, -0.0241103768, -0.0088065965, -0.0350438021, 0.010309685, 0.0398413278, -0.0333721042, -0.0024087671, 0.041417256, 2.812e-7, 0.0024059189, 0.0744493902, -0.011928143, 0.0492647365, -0.0192319937, 0.0118160034, 0.0400760099, 0.0106186727, -0.0577992611, -0.0142168654, 0.0357225202, 0.0609181598, -0.0119664241, 0.0029452003, -0.0838699862, 0.0314900577, -0.0073429598, -0.0565184467, -0.0274897758, 0.0050335359, 0.0577469878, 0.0715287924, -0.016072711, 0.0185317341, -0.0020306045, -0.0495019145, 0.0051149623, -0.0469832309, 0.0384371057, 0.0116048623, -0.0011715036, 0.0246456098, -0.012254972, -0.0335943736, 0.0197567344, 0.0089834537, -0.0135538848, 0.0499586836, -0.0265866611, -0.0422024727, 0.0022112534, -0.0260361545, -0.0030066629, -0.072656408, 0.0414494425, -0.0408626497, 0.0110814041, 0.0273404587, 0.0470814928, 0.0090395035, -0.0090234363, -0.0193030704, -0.0247262456, -0.0236501899, -0.0051958635, 0.014750408, 0.0245226491, -0.0737936273, 0.001685016, 0.0278866906, -0.0404825285, 0.0042460593, 0.0080610653, 0.0180305894, -0.0153939882, -0.0423986241, -0.019000249, 2.113980572e-34, 0.0080919946, -0.0078012394, -0.0515770502, 0.0185775645, 0.0251267459, 0.0207140241, 0.0004157834, 0.0126838489, 0.0085790902, -0.0331074186, -0.0255414825 ]
http://arxiv.org/abs/2310.10094v1
http://arxiv.org/pdf/2310.10094v1
Decomposed Prompt Tuning via Low-Rank Reparameterization
2023-10-16T05:56:06
2023-10-16T05:56:06
Yao Xiao, Lu Xu, Jiaxi Li, Wei Lu, Xiaoli Li
cs.CL
cs.CL
While prompt tuning approaches have achieved competitive performance with high efficiency, we observe that they invariably employ the same initialization process, wherein the soft prompt is either randomly initialized or derived from an existing embedding vocabulary. In contrast to these conventional methods, this study aims to investigate an alternative way to derive soft prompt. Our empirical studies show that the soft prompt typically exhibits a low intrinsic rank characteristic. With such observations, we propose decomposed prompt tuning, a novel approach that utilizes low-rank matrices to initialize the soft prompt. Through the low-rank reparameterization, our method significantly reduces the number of trainable parameters while maintaining effectiveness. Experimental results on the SuperGLUE benchmark in both high-resource and low-resource scenarios demonstrate the effectiveness of the proposed method.
[ 0.0051745116, 0.0103982957, 0.0195634253, 0.0654711947, 0.0219613444, -0.0046815043, 0.0314748101, -0.0167265106, -0.0394336432, -0.0129223848, -0.0245863311, -0.0153217707, -0.0012535958, 0.013246879, 0.0222561751, -0.0498055071, 0.0343731828, -0.0409663916, -0.0055417153, -0.0175081678, -0.029157361, -0.011756598, -0.0404292718, 0.0276663061, -0.0169702359, -0.011356242, -0.0512796901, 0.0474022366, 0.017919438, 0.0062989132, -0.0057047135, 0.0962625146, 0.0375302173, 0.0312827788, 0.0000021594, -0.0426061042, -0.0166700259, -0.014035671, -0.02000314, 0.0668135062, -0.0198365003, -0.0303972382, -0.0469966494, 0.0034791231, -0.0027072057, 0.0315499343, 0.0310793053, -0.0323194377, 0.0546170436, 0.0577390864, -0.0012331801, -0.0582794957, -0.0133007374, -0.0502211042, -0.0273511875, -0.0570878536, 0.0022130304, -0.0490024164, -0.0274791624, -0.0011539676, -0.0303543545, 0.0168585293, -0.0127744246, -0.0196756199, 0.049671635, 0.0165595673, 0.0044648005, -0.0182765666, -0.03296756, 0.095999755, -0.0598389842, 0.0249106828, -0.0007726235, -0.0492044613, 0.0453398451, -0.0028684698, -0.0067687095, -0.0020620006, 0.0096564991, 0.0001317542, -0.060710527, -0.0035376204, 0.0123562329, -0.0547438264, -0.0214258861, 0.0495371148, 0.0012831282, -0.0068307966, -0.0044362252, -0.028006006, -0.0326702371, 0.0014409249, -0.0231246762, 0.0145241553, -0.0862934813, -0.0110256718, -0.0387414768, -0.0378424749, 0.0203409865, 0.0267356969, 0.0976557657, 0.0290840138, -0.005638429, 0.0309083369, -0.0835029483, 0.049586609, 0.0092272284, 0.045949012, -0.0442305431, 0.0345900655, 0.0005929871, 0.0032097374, -0.0491869003, -0.0030750087, -0.0275422204, -0.004788145, -0.0105165113, 0.035627231, -0.0062211445, 0.002923554, -0.0385191068, 0.0089196786, -0.0625323728, -0.0040354873, -0.0368066654, -0.0056388373, -0.0370289497, 0.0302768648, -0.0172582362, 0.0046652332, -0.0175546613, -0.0221884493, 0.0186894834, -0.005140088, 0.0225961935, 0.0160216447, -0.0648590252, 0.0027814012, -0.0085422182, -0.0124743935, 0.0023890254, -0.0370653458, -0.0145226615, -0.0143805156, 0.0077181999, 0.0034491639, 0.0251530409, -0.0365158953, -0.0121884719, -0.0164008867, -0.0227152333, 0.0698989257, 0.0131473262, -0.0048718229, -0.0064007537, -0.0198023375, 0.0073110028, 0.0425468236, -0.0239786599, 0.0591761619, 0.0401817374, -0.0275535975, -0.0270234738, 0.0101409471, 0.0268818811, 0.0100281946, -0.034467224, -0.0315607674, 0.1229494438, 0.0426277332, 0.0467107333, -0.005793639, -0.0105169993, -0.0343917757, 0.0288710166, 0.025640754, 0.033161696, 0.0259202663, 0.0437729433, 0.0067796856, -0.0178111065, 0.0335296616, -0.0097751748, -0.0011760368, -0.0453522578, 0.0102088889, 0.0407479182, 0.0552086085, -0.0506521799, -0.0474536568, 0.0341012813, -0.0087160924, -0.0358218811, -0.0197752789, 0.023318762, -0.0160804931, -0.0898656249, -0.0077246367, 0.0291407872, -0.0470684394, -0.0613757856, -0.0244071744, 0.0290628672, 0.0071700024, -0.0014147887, -0.0208656974, -0.0365927927, -0.0321841389, 0.0312562138, 0.0265862551, 0.0336770788, -0.0241148025, 0.0259508211, -0.0420180298, -0.0554201566, 0.0236408561, 0.0115095004, 0.0457668863, -0.0489037037, -0.0024098041, 0.009298183, 0.0539379008, 0.0150196953, 0.0222954042, -0.008233984, -0.0398681909, 0.0268964376, 0.0337050781, 0.0398240909, 0.0391159281, 0.0118028298, -0.0417515375, 0.044678811, -0.0174767561, 0.0200545844, -0.0738929063, -0.0685045123, -0.0108526759, 0.0207969081, -0.0114354715, 0.0097724376, 0.0324147195, -0.0395171642, -0.0552370474, -0.0222306997, 0.0191889144, -0.0200880226, -0.0400537141, 0.0094260592, -0.0392795429, 0.013744113, -0.0704929382, 0.0471119508, 0.0014333838, 0.0165625699, 0.0903361812, 0.0597605184, 0.0102701662, -0.0852812082, -0.0883043706, 0.0442827456, 0.0050917766, 0.0358952507, 0.0251045581, -0.0000312945, -0.0058710123, -0.065685004, -0.0454777665, 0.0070302747, -0.0154350102, -0.0422789231, 0.0234649871, -0.0269741789, -0.0054731802, -0.0388773046, -0.0103210211, 0.0338571928, -0.0191793311, -0.0264639147, 0.0055201664, 0.0608308502, -0.0287609659, -0.0255349521, -0.0055623339, 0.0195323303, 0.0154193565, 0.012536088, -0.0173997004, -0.0577326342, 0.0333940685, -0.0231709257, 0.0162445903, -0.0149056781, -0.053292349, 0.0034032015, -0.0088026645, 0.0264389608, 0.0928594321, -0.0047161751, 0.0099578705, 0.020242285, 0.0239523165, -0.0485851914, 0.0142637119, -0.0508597828, -0.0688122362, 0.0050101792, 0.0317412689, 0.0141366394, 0.0457960851, 0.0148219457, 0.0072997236, -0.0443408377, 0.0589457862, 0.0293838456, 0.0003809124, -0.0838199109, 0.0193663146, -0.0385489091, 0.0161123276, 0.0109836878, -0.029468691, 0.0487997532, -0.0338015258, 0.0057690023, 0.0075270012, -0.0222977158, 0.0317440964, -0.0443507209, 0.0025529659, 0.0110991932, 0.0104172193, -0.0156102246, -0.0339439511, 0.0194579307, 0.0643043518, -0.0176965967, -0.0151482895, 0.0078528468, 0.0165813211, -0.024475731, -0.0569628179, -0.0387644544, -0.0783185214, 0.0348655619, -0.0051543773, 0.0029238693, -0.0435938314, 0.0153043326, 0.0213967618, 0.0237738211, 0.0525182821, -0.0154559053, 0.0249284636, -0.0556823686, 0.01298491, 0.0255525615, 0.0380294584, -0.0117912581, 0.015055052, 0.0850598514, -0.0167272817, 0.0374105535, -0.0401462466, -0.0571638234, 0.0377223119, 0.0104774814, 0.0177518819, -0.026650548, 0.0348286591, -0.0119343018, 0.0037999253, 0.0180423837, 0.0406503677, 0.0229860805, -0.0635036081, -0.0119534452, 0.0404057465, 0.0760623738, 0.0493920632, 0.0042902525, -0.0390751958, -0.0227240324, 0.0192674659, 0.0574048869, 0.0347922631, -0.0066815419, 0.0140358787, -0.1091455892, 0.0547322258, 0.0168832857, -0.0345770232, -0.0679714456, -0.0230929665, 0.0111753298, 0.0201096348, 0.0406673253, 0.0704805404, -0.035926193, 0.0175941288, 0.0401037671, 0.0397591107, -0.0664312765, -0.017016096, -0.0103557305, 0.0401993915, 0.0315582901, -0.0035645918, -0.0108321114, -0.0283760168, 0.0134418216, -0.0370251499, -0.0063447207, -0.0254665948, -0.010171772, 0.0095021063, -0.0168736503, 0.0265250225, 0.0415792428, 0.0131505337, 0.0126345502, -0.0208549201, 0.0860702246, -0.0148342336, 0.0628465042, 0.0093013914, -0.0534415357, 0.0083246706, 0.0510574952, 0.0308151636, -0.0419085324, -0.001344643, -0.0017984788, 0.0222534407, 0.0083402153, -0.0547771081, 0.0004307992, -0.0374579392, -0.0149643663, -0.036214225, 0.0163772292, 0.0151017392, 0.0957969576, -0.0042980146, -0.0004880763, -0.0748164803, 0.0401229076, -0.045902539, 0.0268856902, -0.0138792833, -0.0003835152, -0.08813411, -0.0247393623, 0.0350625217, -0.0093531534, -0.0421698615, -0.0208499115, 0.0222648755, -0.0480647683, 0.0045848577, 0.0229624882, 0.0255985744, 0.0372604989, -0.0315165222, -0.051341027, 0.0782317966, 0.0141518507, -0.0053835278, 0.0750511736, 0.0393509641, -0.0186376758, -0.0214066543, 0.0346987285, -0.0468341559, 0.0018510208, 0.0230274219, -0.0054536704, 0.0063333376, -0.0984758511, -0.002491622, 0.0377866104, 0.0674787313, 0.0043095769, -0.0223515313, -0.0638031065, 0.0494151749, -0.0051932256, 0.0107604498, -0.0348186269, 0.0466134325, -0.0250209663, -0.0340697952, 0.0073861298, -0.0483479127, 0.0178290997, 0.0788869783, -0.0730133057, -0.0036153293, 0.0057863872, 0.0076702167, 0.0216807164, 0.0318333283, 0.0032988274, 0.0585153811, 0.0175249893, 0.0350130014, 0.0053374781, 0.0264947955, 0.0439088829, 0.0456887186, -0.0629832372, 0.0608817264, -0.0448737554, -0.0944390297, -0.0514380671, 0.0056109964, 0.0593212731, 0.0090160696, 0.0030138656, 0.0395233184, -0.0184081122, 0.0033711481, 0.0326734334, 0.0390824825, -0.040016979, 0.0417411923, -0.0062416182, 0.0020045261, 0.0400405452, 0.0663998723, -0.0472234301, 0.0383455902, -0.0268882066, 0.0338947885, -0.0525735654, 0.0128913838, 0.0513694771, 0.0467287935, -0.0177733693, 0.002354213, -0.0187331904, -0.0089175627, -0.0096026566, -0.0108535318, -0.0206372794, 0.016422132, 0.0419338346, 0.0387010127, -0.031990096, 0.0285277683, -0.0148682082, -0.035872668, 0.0036065478, -0.0238314923, 0.0192745402, -5.958684822e-33, -0.0549960695, 0.0473670401, -0.036436785, -0.0246411711, -0.0108843679, 0.0350449011, 0.021719465, 0.0265142061, 0.004335498, 0.0113314651, -0.0495378748, -0.0348339863, 0.0050154291, -0.0010966654, -0.034433499, -0.0010393135, 0.0575170815, -0.0253352318, -0.024232069, 0.0474851355, 0.047907602, 0.0315782689, 0.0200563725, -0.0119378502, -0.0293668117, -0.0008787446, -0.0525305718, 0.011539829, 0.0022255739, 0.020369634, -0.0464704111, 0.0238738116, -0.0312394127, -0.057659056, -0.0172448512, 0.0525304787, -0.0459649414, -0.050551828, -0.0186636299, 0.0115164984, -0.0245444477, -0.0358549356, 0.0007456332, -0.0121423081, -0.0499835424, 0.000267508, 0.0397378393, -0.0096236551, -0.0254333969, -0.0335830599, -0.0331484005, -0.0074368417, -0.0050752037, -0.0215792395, 0.0670238659, 0.0302037802, 0.0025496585, 0.0211548824, -0.0509985574, -0.0112144072, 0.0205868315, 0.0451084413, 0.021227913, 0.024340013, -0.0246765427, 0.0490300804, 0.0118833659, -0.0005081741, 0.0482229292, -0.0020371373, -0.0079561034, 0.0286245979, 0.0416501164, 0.0270968825, 0.0280690417, -0.0129861338, -0.0406867005, 0.041842822, 0.0336569473, -0.0238505583, 0.0561353229, 0.0242096148, -0.0027017556, -0.0193916671, -0.0652972981, -0.0360248871, 0.0007456039, -0.017505601, 0.0280324314, 0.0108844768, -0.0336963683, -0.0296068992, 0.0721446201, -0.0095347147, 0.0555074699, -0.0001693738, -0.0189382304, 0.017574871, -0.0026275548, -0.028485436, -0.0430937521, -0.0417722128, 0.0456839874, -0.0093485834, 0.041279003, -0.0095307389, -0.0229564495, 0.0312835313, -0.0455819815, 0.0028265612, -0.0215472039, 0.0222471301, 0.0049990071, 0.0613946132, 0.0232613105, -0.0384622924, 0.0037195585, 0.0584937222, -0.0059307944, -0.0073551526, 0.0095211044, -0.0394208767, -0.0113172093, 0.0244869906, -0.0308296811, 0.0128027499, 0.0042784777, 0.0084542595, 0.0289157853, -0.0344380327, 0.0000257931, 0.000549604, 2.866e-7, -0.0066101495, 0.0200707428, 0.001155171, -0.015365297, -0.0009425807, 0.0417174995, -0.0101467939, 0.0059080389, 0.0126385232, -0.070788525, 0.0368419923, 0.0168667827, 0.0026725063, -0.0424043462, -0.1048320755, 0.021953309, -0.0755463466, 0.0610742122, -0.0699597597, 0.0042956886, 0.0206084177, 0.0864199698, 0.0010262871, -0.0186842028, 0.0411539972, 0.0064146272, 0.0013512425, -0.0395558253, 0.0218936559, -0.0019503024, 0.0992242545, -0.0321954675, -0.0230382439, 0.0531003326, -0.0046353815, 0.0610038452, 0.0023488554, 0.0389360189, -0.0093039833, -0.0112572107, 0.0285694785, 0.023983337, 0.018303562, -0.0664831921, 0.0515526943, 0.0019877725, 0.0066984501, 0.0014015168, -0.04568002, -0.0229214504, 0.0562731847, -0.0460896865, 0.0091712689, 0.0397079922, 0.0397296697, 0.0179517046, -0.0129468311, -0.0801568329, 0.0324879624, 0.0207325667, -0.0486701094, -0.0540993065, 0.0082062613, -0.0387324169, 0.0344049968, -0.0699259639, 0.0033157275, 2.902347439e-34, 0.0155891217, -0.0144946137, 0.078408435, 0.0284940824, 0.0202222914, -0.016606953, -0.0002981234, 0.0257075056, 0.0601719432, -0.1009986103, -0.0341735482 ]
http://arxiv.org/abs/2310.10083v2
http://arxiv.org/pdf/2310.10083v2
JMedLoRA:Medical Domain Adaptation on Japanese Large Language Models using Instruction-tuning
2023-10-16T05:28:28
2023-12-01T00:29:37
Issey Sukeda, Masahiro Suzuki, Hiroki Sakaji, Satoshi Kodera
cs.CL
cs.CL
In the ongoing wave of impact driven by large language models (LLMs) like ChatGPT, the adaptation of LLMs to medical domain has emerged as a crucial research frontier. Since mainstream LLMs tend to be designed for general-purpose applications, constructing a medical LLM through domain adaptation is a huge challenge. While instruction-tuning is used to fine-tune some LLMs, its precise roles in domain adaptation remain unknown. Here we show the contribution of LoRA-based instruction-tuning to performance in Japanese medical question-answering tasks. In doing so, we employ a multifaceted evaluation for multiple-choice questions, including scoring based on "Exact match" and "Gestalt distance" in addition to the conventional accuracy. Our findings suggest that LoRA-based instruction-tuning can partially incorporate domain-specific knowledge into LLMs, with larger models demonstrating more pronounced effects. Furthermore, our results underscore the potential of adapting English-centric models for Japanese applications in domain adaptation, while also highlighting the persisting limitations of Japanese-centric models. This initiative represents a pioneering effort in enabling medical institutions to fine-tune and operate models without relying on external services.
[ 0.0452491902, 0.0150310565, -0.0139121674, -0.0018320004, -0.015236143, 0.04284909, 0.0356734395, 0.0407052301, 0.0016328824, -0.0005844241, -0.0556735285, -0.0561419427, -0.0073952191, -0.0189999901, 0.0275598783, -0.0677436143, 0.034521278, -0.0187803749, -0.0135953901, -0.0295892637, -0.0062679895, -0.0084218048, -0.0345534757, 0.0287635718, 0.0691779554, -0.0336318798, 0.0366563685, -0.0077317548, 0.0218573678, -0.0477169566, 0.0114515526, 0.0455037951, -0.0226305779, -0.038946908, 0.0000019703, -0.0566313863, -0.0108740153, 0.0074311038, -0.0241224766, 0.0132646067, 0.0096609164, -0.0008255493, -0.0009964982, 0.0377873667, -0.0532110333, -0.0464211553, 0.02431993, -0.0186783131, 0.0480091646, 0.0686571226, -0.004416361, -0.0072331559, 0.0114468588, -0.0154273724, 0.0036999471, -0.0432108827, -0.0011666989, 0.0166117847, 0.0126035986, -0.0044828197, -0.0332393348, 0.0163412094, 0.0098017342, 0.0470785983, -0.0232626256, -0.0021903042, -0.0181383714, 0.0272695478, 0.0119415941, 0.0445891358, 0.0397553928, -0.0014830056, -0.0092818327, 0.0214856956, 0.0090349019, 0.0489327274, -0.0704474971, -0.0054603927, -0.0204036906, -0.0388725363, 0.0464841016, -0.0300114583, 0.0030197967, 0.0101279132, -0.0181257837, 0.0427696072, 0.0532332435, -0.042906899, 0.0038248666, -0.0171555057, -0.0386467315, -0.0344628617, 0.0500232168, 0.0748026669, -0.0398098119, 0.0196760204, -0.0192752499, -0.0018268813, 0.0703374222, -0.0384304225, 0.0347404666, 0.0552003607, -0.0198027492, 0.0058494117, 0.0036130184, 0.060715992, -0.0093347076, 0.0192063861, -0.0920971334, 0.0115510942, -0.0536927842, -0.0158135667, -0.0240255166, -0.0016787945, -0.0126756029, 0.0278646536, -0.097518988, 0.0001161858, 0.0129551562, -0.0278216805, 0.0023015237, -0.0133488448, -0.0176656917, -0.0025251193, -0.0489695184, 0.0651143119, -0.0330833122, 0.0117999874, -0.0012789879, -0.0491085015, 0.0088151293, 0.0184186809, 0.0022315711, -0.015572926, 0.0311027803, 0.0532549955, -0.0038452942, -0.0074567939, 0.0264530014, -0.0196034275, -0.0325357206, -0.0341883749, 0.0426050052, -0.0562329926, 0.0073449309, 0.0271250196, 0.0333739519, -0.0373158641, 0.0013879024, 0.0483133867, -0.0087756934, 0.0422372222, 0.0167116579, 0.0354527682, 0.0098975785, 0.0279880073, 0.0074204607, 0.0236770585, 0.0029132229, -0.0726617724, 0.0253557581, -0.0503923185, 0.005245897, 0.0461108647, -0.0073606828, 0.0081094308, 0.0421452858, 0.0353270359, 0.0397114158, 0.0530180372, 0.0122774951, 0.0114639495, 0.0018830437, 0.0155845676, 0.0357752368, 0.0789489374, 0.0298819579, -0.0116181355, 0.0278933402, -0.0561706536, 0.012671859, 0.0282599498, -0.0164578594, -0.0046728179, -0.0443970673, 0.032818459, -0.0310123637, 0.0324084535, -0.0418716967, -0.0483103991, -0.0419111736, 0.0348829143, -0.0353715196, 0.0299814735, 0.0169288795, -0.0014613853, -0.0080244252, 0.0887145773, 0.0530625358, -0.026531823, 0.0204494279, -0.0759062693, -0.0418928936, 0.0465436019, 0.0588582717, -0.0292906612, -0.0595264994, 0.0266462732, 0.0700926706, 0.0506309383, 0.0569598451, -0.0249696616, -0.0336407758, -0.0488562211, -0.0136236353, 0.0260041524, -0.0027847993, -0.012364232, 0.0199565589, 0.058464203, -0.0264396463, -0.0390101597, -0.0147926798, 0.0235972367, -0.0838094577, -0.0272402633, -0.021842584, 0.0222379118, 0.0205307975, 0.0127525534, 0.0049968162, 0.0448423363, 0.0036348347, -0.0330017544, 0.0087544555, 0.0017913575, -0.0419469625, -0.0243628193, 0.0530273654, 0.0082127955, -0.0169441607, -0.002079959, -0.0178980716, -0.0299156159, -0.022239428, -0.0347264223, 0.0005602421, -0.0028497824, 0.0417393818, 0.0078863911, 0.0091248099, -0.068868801, 0.0150413048, -0.0061502387, 0.036230769, 0.0302088559, -0.017997561, 0.0065074866, -0.0437230468, -0.0195628442, 0.021646902, -0.0079824375, 0.0160862766, -0.0118582742, 0.0292066727, -0.0500247478, -0.0383436009, -0.0712285414, 0.0087961303, -0.0020607538, 0.0423543192, 0.0494249798, 0.0226473361, -0.0344157703, -0.0127891945, -0.0685144588, -0.0000021964, 0.0368224531, 0.0546435155, 0.0098127089, -0.0027039065, 0.0046151364, -0.0292037334, -0.0308426712, -0.0317326486, -0.0167508721, -0.0140008479, 0.008766491, -0.0444835536, 0.0269443672, -0.0467655547, -0.0263934508, 0.0147134475, -0.0489772335, 0.0225633532, -0.005821859, 0.038807638, 0.0517047495, -0.0121700391, -0.0316629261, 0.0442717038, -0.0174235106, -0.0184937865, 0.022455791, -0.0162723921, -0.0712919235, -0.0278563723, -0.0477120019, 0.0026324333, 0.0723129213, 0.0154619552, -0.0142814284, -0.022694312, -0.0103836665, -0.0895471498, 0.0064182035, -0.0500376858, 0.0504498668, -0.0204559807, 0.0419127457, -0.0000672472, -0.0066164322, 0.0983602926, 0.0089411456, 0.0327148065, -0.1189250946, -0.0038072418, -0.0488189422, 0.003129442, -0.0349590033, 0.0221051741, 0.0206864346, -0.0286370441, -0.0443572551, 0.0348074697, 0.0122820288, -0.0684273168, 0.0510922223, -0.045946043, -0.0154198082, 0.00888942, -0.0414429232, -0.0294445846, -0.0150098847, -0.0020812959, 0.0111328494, -0.0102873286, 0.0262681376, -0.047434967, 0.0327303484, 0.0099768369, 0.0355618782, -0.0107646156, -0.0031887735, -0.0027433804, 0.0302573666, 0.0667332187, 0.050991483, -0.0080456669, -0.0280671455, 0.0445529297, 0.0360397361, 0.0524181686, -0.0252003726, 0.050372012, 0.040086478, 0.0638781637, -0.0734529868, -0.0052810609, 0.0362570807, 0.0718998909, -0.0501180775, -0.0357861891, 0.1171362624, 0.0203738343, -0.0255770478, 0.001769582, -0.0654864311, 0.0056265797, 0.0159380026, 0.0593626201, -0.0509175882, -0.0295617916, -0.0056000636, 0.0389928743, -0.0120785618, -0.0011610202, 0.0347394869, -0.104050681, 0.0217198767, -0.0077499785, -0.0661192015, -0.0238704123, -0.0440720282, 0.0205540303, 0.0243768953, 0.0574404188, 0.0021280234, -0.0419421792, 0.0014901055, 0.0128513975, -0.0499828719, -0.0579000376, 0.0471497029, -0.0088821016, 0.0423686691, 0.0404886417, 0.0024894683, -0.0115127089, -0.0296125039, 0.0229166821, -0.0234023798, 0.0343350507, -0.0347525589, 0.0313330069, 0.0426256433, -0.0058562788, -0.0389849842, 0.0037212139, -0.0312424004, -0.0038511632, 0.0552364364, 0.0572268404, 0.0216437466, -0.0048353802, -0.0326510146, 0.0171214957, -0.0229178891, 0.0427453145, 0.0312301498, -0.0528083742, 0.0239412282, -0.0020077548, -0.0018140583, 0.009558442, -0.0331311449, 0.0406418294, -0.0631361231, 0.0229077805, -0.0641514584, -0.0449992381, 0.0405265503, -0.005624264, 0.0225539505, 0.0171683151, -0.0011143413, 0.0096134907, -0.018930031, 0.0390933752, -0.0338626131, 0.0131227151, -0.0502509139, -0.0416546911, 0.0510431565, 0.0110864891, -0.0165235996, -0.0068531437, 0.0140865725, -0.0066792881, 0.0002866996, 0.0631332248, 0.0149092032, -0.0267341565, 0.0162169244, -0.0204565823, 0.0163961966, 0.0015332459, -0.0117981266, 0.0365546718, -0.0055249217, -0.0181518346, -0.0146762254, 0.0072344705, -0.024424253, 0.0052065714, 0.0431976579, 0.0736674666, 0.0093429768, -0.0301533379, 0.0393050611, 0.0546726212, 0.0163667966, -0.0073550623, -0.0217755958, -0.0057150479, 0.0406561159, -0.0262546521, 0.0244425442, -0.0027216934, -0.0634674206, 0.0440599285, -0.013493238, -0.0106439693, 0.0175856184, -0.0652071983, -0.0352476314, -0.085006468, 0.0492400713, 0.0488315336, 0.0340139456, -0.0007035771, 0.0033030841, -0.0165949054, -0.0423244871, 0.0388929434, 0.0495037213, 0.0045718267, 0.104906626, -0.0358110145, 0.0090047754, -0.0014922343, 0.0398703516, -0.0374402292, -0.0328138135, -0.0014892176, 0.0218250807, 0.0488268845, 0.013781148, 0.0315832011, 0.0171396509, -0.02231724, -0.0129938889, -0.039269194, -0.008132657, 0.0150014283, 0.0520926267, 0.019853441, 0.0278358608, -0.0370347649, 0.1009730622, 0.0196949635, 0.0784225166, -0.0061031836, -0.0051557953, -0.0197267924, -0.0263857115, 0.0046208436, 0.0137300901, -0.0371764526, -0.0089985542, -0.0691201314, -0.0838933811, -0.0301949475, -0.0024240457, -0.0007529932, -0.0057065752, 0.0345193706, 0.0378521606, -0.0063291197, -0.0581698753, -0.0215683375, 0.065308556, -0.058507517, 0.0057897731, 0.0360671356, -5.937819797e-33, -0.0402747579, -0.0123731988, 0.0631802231, -0.0103430636, -0.0034830514, 0.0131397275, -0.0377987921, 0.0084711881, -0.0480437204, 0.0039054225, -0.0393815823, -0.005964682, 0.0207750369, 0.0121806739, 0.0154751129, -0.0509007685, -0.0057016187, 0.0185776241, -0.0187622327, -0.0047366726, -0.0435490683, -0.002807765, 0.0395853668, -0.0106517132, 0.0118063521, -0.0119727552, 0.0411028937, 0.0088176057, -0.0227270722, 0.0868488997, -0.0143159917, 0.0657985508, 0.0376785435, -0.053433679, -0.0114100771, -0.00802748, -0.0878818631, -0.0424025021, 0.0434935465, -0.0060877558, -0.0001369647, -0.0618608743, 0.0327716023, 0.0007472276, -0.0340170413, -0.0418057106, 0.0146905594, -0.0517254882, -0.0161274169, 0.0033249445, -0.0604446195, 0.0050797868, 0.0185009036, -0.0018195325, -0.0489421003, 0.012773213, -0.0326467343, 0.0019638108, 0.0179750714, 0.0240947362, 0.0321978107, 0.065074496, 0.0472003333, 0.0002505189, -0.0367066637, 0.0023313663, 0.0349897482, -0.0061909277, 0.0176908355, -0.0081094746, -0.0069590276, -0.0231044218, 0.0565219484, 0.0455153622, 0.018992316, -0.0106127271, -0.112444438, 0.0486006886, -0.035583932, 0.0573996864, 0.0009149619, -0.013804541, -0.0558519512, -0.0226761643, -0.0399635695, 0.0450673662, -0.0497513376, -0.0451598726, 0.0577334538, -0.040294759, -0.0228149071, -0.0117347101, 0.0209637526, -0.0329180658, 0.0111049293, -0.0330608152, 0.0220113527, 0.0279163085, -0.0496830381, 0.0220219735, -0.032974951, -0.0189177711, -0.0331046656, -0.0185872447, 0.0384223349, 0.01890935, -0.0055345497, -0.0235865675, -0.0613349937, -0.0170782935, 0.0003866198, -0.0294102915, 0.0299216397, 0.0070885909, 0.024821898, 0.0390162244, 0.0184673257, 0.0480455756, 0.0375929624, -0.0378349125, -0.0592190102, -0.0616372153, -0.002589386, -0.0049329489, -0.0498196892, 0.0288824122, -0.0286862757, 0.0539995208, -0.0124700032, -0.0449685082, -0.0279286914, -0.0126740849, 2.624e-7, 0.0768944696, 0.0782147944, -0.0186168421, 0.0089867981, 0.0159337204, -0.0171268918, -0.0047249459, -0.024731582, 0.080444105, 0.008868983, 0.0148208113, 0.0131011866, 0.0404064991, 0.0080107739, -0.079518497, -0.0211699326, -0.0279086623, 0.0098346192, -0.0297079999, 0.0032210066, 0.0256290063, 0.0396871828, -0.0477391481, -0.0319236033, -0.018942818, -0.0271403845, 0.0376211628, -0.0016420033, -0.0339784957, 0.0560835302, 0.0162330978, -0.0036439374, 0.0228429548, 0.0445524342, -0.0213285349, -0.0106549291, 0.0454444885, 0.0852164254, -0.0328859724, 0.0006173211, 0.0125149582, 0.0036207589, 0.0140224369, -0.0520837158, 0.056564346, -0.062408518, -0.0414513983, 0.0069853789, -0.0138060879, -0.0399250723, 0.0463134907, -0.0153418193, -0.0360122398, 0.0287574939, 0.0346211977, 0.025782425, -0.0289370883, -0.0081905248, -0.0226925313, 0.0338446833, -0.0029161195, -0.0809813589, 0.0041823746, -0.0282113273, -0.0062015527, -0.05903586, -0.0003796753, 2.301441385e-34, -0.0008313303, 0.0137093728, 0.045995988, 0.0326642208, 0.0052156416, -0.0156529918, 0.0054690889, 0.0400900654, 0.027417738, -0.1020275205, -0.0253956653 ]
http://arxiv.org/abs/2310.10080v1
http://arxiv.org/pdf/2310.10080v1
Let's reward step by step: Step-Level reward model as the Navigators for Reasoning
2023-10-16T05:21:50
2023-10-16T05:21:50
Qianli Ma, Haotian Zhou, Tingkai Liu, Jianbo Yuan, Pengfei Liu, Yang You, Hongxia Yang
cs.CL
cs.CL
Recent years have seen considerable advancements in multi-step reasoning with Large Language Models (LLMs). The previous studies have elucidated the merits of integrating feedback or search mechanisms during model inference to improve the reasoning accuracy. The Process-Supervised Reward Model (PRM), typically furnishes LLMs with step-by-step feedback during the training phase, akin to Proximal Policy Optimization (PPO) or reject sampling. Our objective is to examine the efficacy of PRM in the inference phase to help discern the optimal solution paths for multi-step tasks such as mathematical reasoning and code generation. To this end, we propose a heuristic greedy search algorithm that employs the step-level feedback from PRM to optimize the reasoning pathways explored by LLMs. This tailored PRM demonstrated enhanced results compared to the Chain of Thought (CoT) on mathematical benchmarks like GSM8K and MATH. Additionally, to explore the versatility of our approach, we develop a novel method to automatically generate step-level reward dataset for coding tasks and observed similar improved performance in the code generation tasks. Thus highlighting the robust nature of our reward-model-based approach to inference for reasoning tasks.
[ 0.0117834639, 0.0611515678, -0.0035592739, 0.0184499025, -0.0386271253, 0.0257988796, -0.0036886735, -0.0153347356, -0.0347112976, 0.0034338611, -0.014355096, -0.0107651167, 0.0004927638, 0.0087961927, 0.0314560086, -0.0268907659, 0.0139964055, -0.0613106824, 0.0327571183, -0.0080293221, -0.031110866, 0.011603103, -0.0184446424, 0.0435990095, -0.0056164037, -0.038116198, 0.0013352769, 0.003138687, 0.0227841213, -0.0517491847, -0.0027505676, 0.028273344, 0.0450559296, 0.0387849994, 0.0000024844, -0.0430425294, -0.0110770324, -0.0023748428, -0.0455040187, -0.0147754485, -0.0448767543, 0.0300699361, 0.0178409982, 0.0395676345, -0.0268319771, 0.018355038, 0.0369369611, 0.0120177176, 0.0633083507, 0.0622521117, 0.024708651, -0.0712598488, -0.0195301007, -0.0322335809, 0.0595265999, -0.0438336283, 0.0169170983, 0.0547815673, 0.0567301549, 0.0052901772, -0.0124705248, 0.0236567482, 0.0583041832, -0.0042193928, -0.0166040938, 0.0611063056, 0.0418296866, -0.0003094215, 0.0268484149, 0.0328512304, -0.0436908565, -0.0205180794, 0.0211985745, -0.0295634922, -0.0269166362, -0.0323722735, -0.0307079908, 0.0634103045, -0.0390786082, 0.0246290229, 0.0236121975, -0.0296789967, 0.0433166474, 0.0292957984, -0.0624458566, 0.0917125046, -0.0135763139, -0.0366013423, 0.0120863989, 0.0202817935, -0.0255846456, -0.0432033949, 0.0147351138, 0.0515588559, -0.0317951925, 0.0214747582, -0.0048927693, -0.0211906619, -0.0582195297, 0.0216078218, 0.0493448004, 0.0675183311, 0.0187571682, 0.0277318582, -0.0409113094, 0.0153010665, -0.0503210239, 0.0189016964, -0.0367240086, 0.0234510675, -0.0452925675, -0.0065554497, -0.0252001714, 0.0647330433, -0.0055082347, -0.0031241532, -0.0404910482, 0.0305953696, -0.0208984353, 0.0333915316, 0.0193183534, -0.0084998393, 0.0045120069, -0.0018942135, -0.0297690537, -0.0107545462, -0.0454600006, 0.0040657953, 0.0158974621, 0.0269780923, -0.0285464562, 0.0225013364, -0.0196345393, -0.0404346734, 0.0222844854, 0.0764149129, 0.009858815, -0.0027472337, -0.055400189, -0.0447943583, 0.0405495763, -0.081533663, 0.0379987732, -0.0801153705, 0.0066252444, 0.0166409556, -0.039828714, -0.0143181309, 0.0240209978, 0.0190979056, -0.0174044631, 0.0418379903, 0.0252002385, 0.0013926118, 0.0302644391, 0.0112880571, -0.0507457182, 0.0512890853, 0.0651204139, 0.0137350382, -0.0182446353, 0.0181836579, 0.0200163778, 0.0309365448, 0.0154547552, -0.0193945467, 0.0286645442, 0.0034851944, 0.0132153518, 0.0446063615, 0.0298366379, 0.0004634975, -0.0586184151, 0.0488786176, 0.021636961, 0.0419095419, 0.0006501752, -0.0070707835, 0.0612924695, -0.0068440167, 0.0101745725, -0.0334714465, -0.070435755, 0.0482861698, -0.0196908787, 0.023250876, 0.0082501257, -0.0047362614, -0.0160122272, -0.0689932182, 0.0013181402, 0.0302635767, -0.0054300008, 0.0588232391, 0.0810861066, -0.0348308943, -0.0656230226, 0.0304425694, -0.0051577738, -0.0121642305, 0.0076911915, -0.0646590292, 0.0603897981, 0.0308946855, 0.0539567508, -0.0308010951, 0.0260004383, -0.0123160221, 0.0086468952, 0.0050750254, -0.0280821063, -0.0105159748, -0.0198280122, -0.040401198, -0.0487716012, -0.0336923487, -0.0019863998, -0.007074229, 0.073638685, -0.0248665176, 0.0282946434, 0.0203531049, -0.0277684405, 0.045179408, -0.0172155965, -0.0130601004, 0.0194092616, 0.0078156935, 0.0072668977, -0.0228702016, -0.0126882447, 0.0374797471, -0.0147168143, -0.0205103867, -0.0268904455, -0.0083498759, -0.040747758, -0.0907674134, 0.0060338452, -0.0145264957, -0.0100051984, 0.0066017648, -0.041058898, -0.013015043, 0.0701610669, -0.0332871638, 0.0173262507, -0.0147621799, 0.0314307921, 0.0147475358, -0.0299026072, -0.0372433588, 0.0876174793, -0.004529451, 0.0049872072, 0.0066636079, 0.0410757847, -0.0007737187, -0.0267515834, 0.0142360898, 0.0154844159, -0.0339003615, 0.0001083618, 0.0084637646, 0.0429182909, -0.0407510288, -0.0162757691, -0.0250068903, 0.024600938, -0.0130768549, 0.0279140919, 0.0044259136, -0.0173002109, -0.0012315925, -0.0183848348, -0.020851234, -0.0007748749, 0.0086710304, 0.0005324987, 0.0175046194, 0.0039373222, -0.0457191169, -0.0350920334, -0.0172023792, -0.0332250372, 0.0319578163, -0.0155830188, 0.0369992442, -0.0463880152, 0.0557744168, -0.0351113342, -0.0101742912, -0.0044871182, 0.0183317047, 0.0513464436, -0.0365914255, 0.0026649118, 0.0943595693, -0.0008845032, 0.0221732371, 0.0220129248, -0.0018519543, -0.0437459871, 0.0294963829, -0.0276261792, -0.0253508408, 0.0123617211, -0.0284051355, -0.0046382407, 0.1068915203, 0.0080645066, 0.0071591036, -0.0640166253, 0.0161190554, 0.005667374, -0.006062699, -0.0372267552, 0.0053892881, -0.0044127703, 0.0561519451, -0.044964619, -0.0606336445, 0.0901101306, -0.0166732743, -0.0007183133, -0.0545405075, 0.0120872371, -0.0126490584, 0.0588268377, -0.0174174253, 0.0028677417, -0.0341108069, -0.0102107916, -0.0409725942, -0.0016639588, 0.0548099801, -0.0293894559, 0.035162732, -0.0664137974, 0.0081618391, 0.0121929934, -0.0656821132, -0.0650044829, 0.026619589, -0.0223544706, 0.0132438336, -0.0145639004, -0.0198124424, 0.0044532814, -0.0031434682, 0.0363762528, 0.0395867862, -0.0166714229, -0.0522896089, -0.0196332932, -0.0227213372, 0.0370414704, -0.0235079825, 0.0310996417, -0.0605292134, 0.0118576819, -0.0063551706, 0.0645567328, 0.0229775868, -0.0134300319, 0.0151350535, 0.007471588, -0.0224683248, -0.0151258893, 0.0595669225, 0.0273731798, -0.0754389018, -0.0360927992, 0.1012247428, 0.0323867463, -0.040036235, 0.0066497317, -0.0373118222, 0.0231640395, 0.0265085567, 0.038667243, -0.0629724488, -0.0263941735, 0.0206750855, 0.0331735201, -0.0084281089, -0.0391097292, 0.0076667592, -0.1169650182, 0.0277665053, 0.0025959227, -0.0182761271, -0.0160146896, -0.0360314734, -0.0161187854, 0.0030839907, -0.0730762556, 0.0462788902, 0.0164361596, 0.0278950594, 0.0204255227, 0.0310951229, -0.0172291882, 0.0354300998, -0.0310359001, -0.0078232549, 0.0901405066, -0.0048242863, 0.0188655816, -0.0107036857, 0.0235490147, 0.0130725941, 0.0000191424, -0.0255028419, -0.0008042082, -0.0031453574, -0.0078723859, -0.003766028, 0.079427518, -0.0593901835, -0.0352640338, 0.0327482857, 0.1143037826, -0.0376181044, -0.0285417903, -0.0204745606, 0.017140273, -0.0096122464, 0.062218409, 0.0146068819, -0.0250837673, -0.0538733453, -0.0518241674, -0.0304768849, -0.044344034, -0.0013293044, -0.0076866765, 0.0313548073, 0.0449975543, -0.0235000309, -0.0194867235, 0.0478597656, 0.0664318949, -0.0199720766, -0.0222597495, 0.0067395531, 0.0043225451, -0.0596491769, 0.0218679626, -0.0487637073, 0.0443340838, -0.011075262, 0.0034872962, -0.050136555, -0.0427860394, -0.0415317528, -0.0013686207, -0.1127685308, -0.0383287482, -0.0651149824, 0.063492693, 0.0213492494, 0.0478128828, -0.0204352569, -0.0065280767, 0.0056297416, -0.0454195589, -0.0132775297, 0.0051081828, 0.0293989126, 0.0110531133, 0.0040011574, 0.0060067088, -0.0409546494, -0.0012065837, 0.0386776179, 0.0659356862, 0.0415116996, -0.0120990938, 0.0288197249, -0.0152304471, 0.0055626156, -0.0079268068, -0.0011505587, -0.0366554633, 0.0122384597, 0.0011618196, -0.023064537, -0.0314645842, -0.0011590702, 0.0240991171, -0.0186098125, 0.0126680676, -0.0262640156, 0.0490890332, 0.0367638133, 0.0239021424, 0.0227769613, -0.0204699188, 0.0328407139, 0.0477721393, -0.0379129276, -0.0053856582, 0.0114320684, 0.0172336269, 0.0402012542, -0.005187199, 0.0950440243, 0.0495105982, 0.0290817395, -0.0101750772, -0.0249504969, -0.0511015877, -0.0748451278, -0.0190643407, -0.036433395, 0.0816199109, 0.0210690536, -0.0117939636, -0.0525161847, 0.0131341498, 0.0117271664, 0.039297726, -0.0190756153, -0.0549509488, 0.0270227883, 0.0323163234, 0.0213947278, -0.0775374919, 0.0719605833, 0.0104432842, 0.067754887, -0.0450850241, -0.0008949068, -0.010873585, -0.0558741204, -0.0272152685, 0.0093261078, -0.0011965242, -0.0011672104, -0.0399258211, -0.107171081, -0.0716457963, 0.021097837, -0.0059702634, 0.0015740283, 0.0496929027, 0.0886271894, -0.012624315, -0.0478059165, -0.0011273823, 0.0096770544, -0.0068403077, -0.0274990536, -0.0808590725, -6.605755157e-33, -0.0059262128, -0.0391008705, 0.0578050688, 0.0475061648, -0.0348948017, -0.0462727956, -0.0892668888, 0.0059144809, 0.0031160624, -0.0051623229, 0.0052700145, 0.0383305363, -0.0056090215, 0.0161727611, 0.0342059098, 0.0076087154, 0.0349729508, -0.0127028013, -0.0739525408, 0.0081416909, 0.0026981637, 0.0071706632, 0.0427029468, -0.0220890306, -0.0209307745, 0.0128821563, -0.0048852148, 0.0463355519, -0.0478534847, 0.0483366773, 0.0235235486, 0.0035171336, 0.0171967521, -0.0419477001, -0.00336019, -0.0151827298, -0.0357942432, -0.0252956748, 0.0185943116, -0.0110652624, -0.0331917331, -0.0473501086, 0.020784989, 0.0101126358, -0.0346332453, -0.0184031986, 0.0038366141, -0.014347354, 0.0021239915, -0.0256636292, -0.0531905442, 0.0162750464, -0.0288577154, -0.0182506386, 0.0233911537, 0.0339699276, -0.0246694628, 0.0063205739, -0.0004808941, 0.0379980505, 0.0180441719, 0.0598632619, 0.0759925321, 0.0530699007, 0.0271117222, 0.0153022474, 0.0121558942, -0.0215469804, -0.0419782884, -0.0020286061, 0.0458673984, 0.0262179691, 0.0365362056, -0.0267923754, 0.0197058674, 0.0487140082, -0.082768485, 0.0012148768, -0.0166133847, 0.0565894246, 0.0432580933, 0.0127533739, -0.017857438, -0.0317840725, -0.0783739239, 0.018139055, -0.0371840261, -0.045477502, 0.0480821654, 0.0232768115, -0.001872002, -0.0142281856, 0.0072415657, -0.0171234403, -0.0000017104, 0.0389653668, -0.0324900337, 0.0255925432, -0.0106408373, 0.0254427977, -0.0717071742, -0.0319150425, -0.0056662331, -0.0199458897, 0.0243443623, 0.0238166992, -0.0083178077, 0.0249405503, -0.017949665, -0.0073892209, -0.0859366506, 0.0045246971, 0.0185854137, 0.0399504714, 0.0359578915, 0.0170814339, 0.0028162312, 0.0068737823, -0.0225020759, -0.0139765032, -0.0498307943, 0.0498861596, -0.0144454287, 0.0393183753, -0.0082552545, -0.0186498463, -0.0608155169, 0.0114556942, 0.0216027535, -0.0917200968, -0.0397398584, 0.0440690853, 3.166e-7, 0.0094647296, 0.0295281503, -0.0287320353, 0.0758055747, 0.0217729043, 0.0517289564, -0.0117406771, -0.0616333857, 0.0312869325, -0.0472141206, -0.0000536386, 0.0542406812, 0.042701643, -0.0000388095, -0.0443470329, -0.0080080666, -0.0278365277, -0.0094452798, -0.0534432419, -0.0170124602, 0.0528275147, 0.0749385506, 0.0155554544, -0.0065149255, 0.0214731842, 0.0023717887, 0.067604281, 0.023080131, 0.0186242536, 0.0101680662, -0.0358342789, -0.0310737062, 0.0123597188, 0.0039661806, -0.0012029224, 0.0220662281, -0.0263805687, 0.0689870045, 0.0389810167, 0.0282015037, -0.0227487832, -0.0140400492, 0.0067145173, -0.0753958747, 0.0572316535, -0.0781990439, -0.0205907058, 0.0015296395, 0.0381748602, -0.025239449, 0.0062072654, -0.0239623208, 0.0205853507, -0.0077369618, -0.0025116012, 0.0055206316, 0.0149920164, -0.0645428374, -0.0420512892, 0.0338720419, -0.038333673, -0.0326244831, -0.0635216385, 0.0198348928, 0.015496931, -0.032304801, 0.0031616155, 3.360656156e-34, 0.0212768055, -0.0497301668, 0.0032225254, 0.0225551799, 0.0551600643, 0.0131812403, -0.0264974516, 0.0239173006, 0.0133764036, -0.0476441681, -0.0324029624 ]
http://arxiv.org/abs/2310.10077v1
http://arxiv.org/pdf/2310.10077v1
Prompt Packer: Deceiving LLMs through Compositional Instruction with Hidden Attacks
2023-10-16T05:19:25
2023-10-16T05:19:25
Shuyu Jiang, Xingshu Chen, Rui Tang
cs.CL
cs.CL
Recently, Large language models (LLMs) with powerful general capabilities have been increasingly integrated into various Web applications, while undergoing alignment training to ensure that the generated content aligns with user intent and ethics. Unfortunately, they remain the risk of generating harmful content like hate speech and criminal activities in practical applications. Current approaches primarily rely on detecting, collecting, and training against harmful prompts to prevent such risks. However, they typically focused on the "superficial" harmful prompts with a solitary intent, ignoring composite attack instructions with multiple intentions that can easily elicit harmful content in real-world scenarios. In this paper, we introduce an innovative technique for obfuscating harmful instructions: Compositional Instruction Attacks (CIA), which refers to attacking by combination and encapsulation of multiple instructions. CIA hides harmful prompts within instructions of harmless intentions, making it impossible for the model to identify underlying malicious intentions. Furthermore, we implement two transformation methods, known as T-CIA and W-CIA, to automatically disguise harmful instructions as talking or writing tasks, making them appear harmless to LLMs. We evaluated CIA on GPT-4, ChatGPT, and ChatGLM2 with two safety assessment datasets and two harmful prompt datasets. It achieves an attack success rate of 95%+ on safety assessment datasets, and 83%+ for GPT-4, 91%+ for ChatGPT (gpt-3.5-turbo backed) and ChatGLM2-6B on harmful prompt datasets. Our approach reveals the vulnerability of LLMs to such compositional instruction attacks that harbor underlying harmful intentions, contributing significantly to LLM security development. Warning: this paper may contain offensive or upsetting content!
[ 0.0560746565, 0.0238646157, -0.0334922373, 0.0404960886, -0.0426422469, 0.016512556, 0.0378194191, 0.0236678943, 0.0277314801, -0.0367064513, -0.012131433, -0.02742837, 0.0242004171, 0.0249639004, 0.057035435, -0.0186783522, 0.0466341004, -0.0163778793, -0.0029512541, -0.0001901033, 0.0365879349, 0.0103282006, 0.0070155663, 0.0448897108, -0.0143315801, -0.0211230293, -0.0440733768, 0.0162133817, 0.0118720271, 0.0067807185, 0.014956153, 0.029955877, 0.0093552703, 0.0661567673, 0.0000021856, -0.0553329363, -0.0376564711, 0.0072051976, -0.0529312678, 0.0393817611, 0.0408178717, -0.0096582323, -0.0494396538, 0.0328150652, -0.0252108928, 0.0562270097, 0.0431750491, 0.0541162826, 0.0910914019, 0.1019609496, -0.0023770218, 0.0027831586, 0.0355485901, -0.0071550668, 0.051089108, -0.0128069399, 0.0152210249, -0.0494963378, -0.0237189885, 0.0552319065, 0.0129642291, -0.0265063774, -0.001489648, -0.0178005677, -0.0623245724, -0.0093191154, 0.008981308, -0.0272432249, -0.0148694552, 0.032473959, -0.0500665903, 0.0013113336, 0.0212217942, 0.0093076406, 0.0266310889, -0.0044471789, 0.0138899321, 0.0603846423, -0.0276241209, -0.0310637876, -0.0029124718, -0.0160452556, 0.0294840876, 0.0160197765, 0.0187799055, 0.0270968545, 0.0172836129, -0.0447021089, -0.0194120072, -0.0707232356, 0.0278487336, -0.0445498675, -0.0038859711, 0.0349272639, -0.0188164562, 0.0258348081, -0.0746038631, -0.0232008155, 0.058175683, -0.0629273131, 0.0526413843, 0.0605628155, -0.0246134996, 0.0060627689, -0.024001142, 0.063677229, -0.0005387695, 0.0369035415, -0.0081099859, 0.030890882, 0.0159389619, -0.0139810396, -0.0131270094, 0.0342725515, -0.0251665749, 0.0237722006, -0.0610354282, 0.0509326383, -0.0561720394, 0.0310059413, -0.0049204431, -0.0254654158, -0.017729789, 0.0118666654, 0.0265412517, -0.0273387488, -0.0079597449, -0.010456101, -0.0126701584, -0.0731464326, -0.0178989172, 0.0262265597, -0.0568950847, 0.010894333, -0.0031351533, 0.1157725081, 0.0178983752, -0.0015996236, -0.0481305011, -0.0902858749, -0.0423849449, -0.0079784095, 0.0102029946, -0.067589961, -0.0077297622, -0.019226009, -0.0243396126, -0.0607138313, 0.0221509952, 0.0260747503, -0.0273476578, 0.0667467415, 0.0111347847, -0.0203472991, 0.0181399938, 0.0524819642, -0.0395784527, 0.0495867468, 0.0053882818, 0.0768248737, 0.0370305628, -0.0321626626, 0.0376268849, 0.0301569905, 0.0074370764, 0.0255555138, 0.0242096651, -0.0087404763, 0.0523431413, -0.0335785337, -0.0097565381, 0.0610745661, -0.0084104482, -0.0533544458, 0.0865934715, 0.0327474251, -0.0493744165, 0.0169904549, 0.0505485274, 0.029018661, -0.0126536544, 0.0183557048, -0.0479248501, -0.0086299609, -0.0971680135, -0.0418215171, -0.0214372892, 0.0350248478, -0.0082327239, -0.0017947705, 0.0104904007, -0.0406633019, 0.0674810484, 0.0010842998, -0.0178088006, 0.0383634679, -0.055287417, 0.0093986271, 0.0485218205, -0.0352872908, -0.0164818522, -0.0704816282, -0.0111925649, 0.0624338612, 0.0177533086, 0.0115436437, -0.0285408273, -0.0418838486, -0.0116975391, 0.0134436022, 0.0044230237, 0.0110785244, -0.0121974042, -0.0314314142, -0.0280490965, -0.0293230098, -0.0053496324, 0.0012560982, 0.0128157465, -0.014260998, 0.0411742516, 0.036624603, 0.0064249597, 0.0163280219, 0.0078254445, -0.0530466512, -0.0048085083, 0.0301620141, 0.0523645878, 0.0016565218, 0.0015811113, 0.0120019689, 0.0390817262, 0.00708107, -0.0187548976, -0.0344278403, -0.0233264603, -0.0084709618, 0.0155825494, -0.0192927942, 0.0035282809, 0.0418982096, -0.0298121702, 0.0097313328, 0.0257443264, -0.0634244382, -0.0012932208, -0.0279482864, 0.0147894043, 0.007516609, -0.0044805016, -0.0082687773, 0.028451696, -0.013459472, -0.0117042065, 0.0201077145, -0.0068607521, 0.0066496348, 0.0034244806, -0.0304485224, -0.0118897464, -0.0492716208, 0.0181722529, 0.0203070492, 0.0378208943, -0.0256150551, -0.0376346, -0.0776265785, 0.004046171, -0.0176668428, 0.0170281231, 0.0494112298, 0.0370976478, -0.0120341834, -0.0125881936, -0.0468026288, -0.0469272397, -0.0062412587, 0.0159705188, 0.0137125747, -0.0357226655, -0.0471198075, 0.0111072352, 0.0088266972, -0.0283756834, 0.0111861061, -0.0315274373, -0.0329966582, -0.0102670034, 0.022728825, -0.0202211402, 0.0025108822, -0.0217784196, -0.0602221526, 0.0357134752, 0.0067121987, 0.0134423478, 0.0724290609, 0.0920251161, 0.0631947666, 0.0403216518, 0.0052706064, -0.0623638593, -0.0041158963, -0.0008759472, -0.0206137598, -0.0293042455, -0.0793565512, 0.0181435682, 0.0454907492, 0.0767109767, 0.0146212624, -0.0520465337, 0.0163841117, -0.0253301337, -0.0180883165, -0.0204860959, -0.0728107318, -0.0466521457, -0.0292184576, -0.0205573067, -0.0842413679, 0.0836386681, -0.0497178324, 0.0089070238, -0.0108129345, -0.023502145, 0.0287762526, 0.0323476233, -0.0077418317, 0.0393180773, 0.0378484391, -0.0346155912, -0.0279617179, -0.0141614638, 0.0462422855, -0.0401084423, -0.0195409879, -0.0264762677, -0.0187770817, -0.0055055609, -0.0231829807, -0.0823666602, -0.08415398, 0.0250807051, -0.0221319757, 0.0221080799, -0.0090665631, -0.0110043511, -0.0298956372, 0.0481481776, -0.003443856, -0.0224849395, 0.0033349704, -0.0341987796, -0.0346572325, 0.0344243906, -0.0726245046, -0.0283918325, -0.0284654666, 0.0263903104, 0.0949981809, -0.0059182625, -0.013074141, 0.0112654185, 0.0046159527, 0.0206291899, -0.002719525, -0.0095456997, 0.0518807806, 0.0469079167, -0.0304044262, 0.0104225781, 0.0744272545, 0.0296847597, -0.0232489817, 0.0040081698, 0.0250914916, 0.0061573964, -0.0092037069, -0.0028901638, -0.088530466, -0.0050661094, 0.0260684341, 0.0666448027, -0.0602110624, 0.0142880548, -0.0198484305, -0.0997152478, 0.0156502016, 0.0290102791, -0.0117245102, -0.0016812546, -0.0296322349, -0.0267118681, 0.0620239563, 0.0352032855, -0.0366919227, -0.0030866663, -0.045393236, 0.0121640638, -0.0649375841, -0.0179985259, 0.0116467476, -0.0102101574, 0.0740942657, 0.0552451462, -0.0042783124, -0.0170053486, -0.0355690196, 0.0521608368, -0.0052237036, -0.0026348815, 0.0068972833, 0.0333613493, -0.0063454639, -0.0086819986, -0.0071408697, 0.0462824181, -0.0038972984, -0.0202163607, 0.0595235378, 0.042377457, -0.008450143, -0.0117166042, -0.0251559895, 0.023133656, 0.0630144775, 0.0728472844, 0.0117696822, -0.0404675566, 0.0072128857, -0.0946860909, 0.0052539431, 0.0032610693, -0.0535817407, 0.0095141064, -0.0171372574, -0.0244780462, -0.0508639626, -0.0214414261, -0.0111489948, 0.0061925105, 0.0564022548, -0.0111124646, -0.0044442015, 0.0059118206, -0.037324179, -0.0404383354, -0.0222998708, 0.0549629033, -0.0482582189, 0.0025238916, -0.0290711801, -0.0460650511, 0.0033100417, 0.022317173, -0.0678412765, -0.0611890294, 0.0075495448, 0.0785851255, 0.0199056845, 0.0364673696, -0.0386798978, -0.0155344037, 0.0649411902, 0.0331026725, -0.0544985756, 0.0003687274, 0.0895892307, -0.0106939636, 0.0231431089, -0.0187879782, -0.0294840205, 0.0027000948, 0.0542466044, -0.0253138468, -0.0610068738, -0.0004787825, 0.0300585162, 0.0449625552, 0.0264305025, -0.020776853, 0.0305279326, 0.0282204971, 0.0129310004, -0.0225523468, -0.0385825075, 0.0102365371, 0.0113434875, 0.0147093376, -0.0065711145, 0.0487200655, 0.0075932704, -0.045098301, -0.0093446551, -0.016075097, 0.0366232321, 0.0193169266, 0.0427640826, 0.0354585722, 0.0116445944, -0.0416604392, 0.0589837618, 0.0265847463, 0.00509887, 0.0069544846, 0.0645167232, -0.0026370727, 0.013394203, 0.0051821754, 0.0394191667, -0.0388927124, -0.0021750126, 0.0076889438, 0.0330758281, -0.0261818897, 0.0226159953, 0.0287286937, -0.0091314772, 0.0173141249, -0.0338330306, 0.0186791345, -0.0183756799, -0.0747536495, -0.0006834161, 0.0031994395, -0.0121048475, -0.0039643762, 0.0609719269, -0.0482684299, 0.0446479842, 0.0269491356, -0.0461228192, -0.043111667, -0.0152023332, 0.0491231978, 0.0513713285, -0.0284883995, -0.0442112796, -0.0599703193, -0.0554519854, -0.0194056313, -0.0156542584, 0.0391895175, -0.0138712497, 0.0069729211, 0.0380638577, -0.0130433142, 0.0167613011, -0.0722019151, 0.0296819005, 0.0206329245, -0.0435088649, 0.0216268189, -5.712494428e-33, 0.003999901, -0.027127862, -0.0413904786, 0.035693001, 0.0174508933, 0.0070691188, 0.006704093, -0.0044588149, -0.0192457456, -0.0181684848, -0.013603054, -0.0099041881, 0.000795522, 0.0147325955, -0.053539481, -0.0084829004, 0.019003991, -0.0099224718, -0.0329353064, 0.0433845297, 0.0707941204, -0.0171919595, 0.0118980873, -0.0682943091, 0.0592067167, -0.0217852406, -0.0587370954, -0.0063586412, -0.0352807902, 0.0621604957, -0.0001134713, 0.0356335603, 0.0047209226, -0.0053681969, -0.0099631026, 0.0904930905, 0.0027995072, -0.0317802206, 0.0308116153, -0.0159701016, -0.0013545166, -0.0753515959, 0.0171233676, -0.0321023986, -0.0155388759, -0.012897904, -0.0080363955, 0.0015495605, 0.0126422485, -0.0397957005, -0.0644610003, -0.0133722201, -0.0292658862, -0.0435498916, -0.0253347978, 0.039219588, 0.043543268, -0.0423157625, -0.0407005399, 0.0515894331, 0.0041701323, -0.0107314046, 0.0194732565, -0.0116092218, -0.0294847395, 0.0608152635, -0.021733731, 0.0105070639, -0.0347363539, 0.0307024587, -0.0046828981, 0.0377600454, 0.0536308028, 0.0326167643, 0.0262927469, -0.0592241697, -0.0406180322, 0.0476348698, 0.0551477261, -0.0067427377, 0.0399193391, -0.0260302629, -0.0771893784, -0.0129494118, -0.0214921087, 0.0132397423, -0.0223441049, -0.0490138344, 0.031646017, 0.009364469, -0.03757599, -0.0419879146, 0.0077172201, -0.0603565834, 0.036425326, 0.0212765392, -0.0145709105, -0.0400847308, -0.0023958711, 0.0175199714, 0.0297023933, -0.0272030439, 0.0528872088, -0.0692151859, 0.0221244488, 0.004035858, 0.0456869975, 0.051552549, -0.0665484518, -0.014303606, -0.0245559383, 0.0619875975, 0.0110912351, -0.0023719848, 0.0435610898, 0.0035416908, -0.0122374874, -0.0173185784, 0.0220555384, -0.0267576519, -0.0548081324, 0.0035118456, -0.0357718505, 0.0303843282, -0.0267766267, 0.0137049016, 0.0036409732, 0.0413608924, 0.043076314, -0.0418448225, -0.0088565275, -0.0219609179, 3.047e-7, -0.0146861514, 0.0066016284, 0.0117592327, 0.0521258861, 0.0260923523, 0.0657952055, 0.0086016394, 0.0857176334, 0.0103895841, -0.0399649926, -0.0224928372, 0.0111029195, 0.0555068813, 0.0382020883, -0.0469572209, 0.0032032982, -0.0397926085, -0.010756297, -0.0739953518, 0.0518013276, 0.0765260011, 0.0852359384, 0.0284709483, -0.0428813025, -0.0037574994, -0.0185346995, 0.000660244, -0.0243170001, -0.00047969, -0.033143308, 0.0240050964, 0.0013317594, 0.0170694664, 0.0312802978, -0.0215929132, -0.0421344526, -0.0348395184, 0.0784397498, 0.0261190087, -0.0029792991, -0.0138034243, -0.0383486301, 0.0053676972, -0.0350199416, 0.064909637, 0.0255289692, 0.0042166268, -0.0206151009, -0.0448052548, -0.046182964, 0.0159443766, -0.0559994765, -0.0099004973, 0.0049689929, 0.0090014515, 0.008376007, 0.0348355807, -0.0444286652, -0.0140904887, -0.0221284702, -0.0024792957, -0.0592272133, -0.0104643898, 0.0417089239, 0.0377758518, -0.0281239878, 0.0324657336, 3.128995607e-34, -0.0171655901, -0.0497410186, 0.020450335, -0.0197929759, 0.029326329, 0.0368372463, 0.0048471782, 0.0214192905, 0.022331506, -0.0182370134, -0.0337173082 ]
http://arxiv.org/abs/2310.10076v1
http://arxiv.org/pdf/2310.10076v1
Verbosity Bias in Preference Labeling by Large Language Models
2023-10-16T05:19:02
2023-10-16T05:19:02
Keita Saito, Akifumi Wachi, Koki Wataoka, Youhei Akimoto
cs.CL
cs.CL, cs.AI
In recent years, Large Language Models (LLMs) have witnessed a remarkable surge in prevalence, altering the landscape of natural language processing and machine learning. One key factor in improving the performance of LLMs is alignment with humans achieved with Reinforcement Learning from Human Feedback (RLHF), as for many LLMs such as GPT-4, Bard, etc. In addition, recent studies are investigating the replacement of human feedback with feedback from other LLMs named Reinforcement Learning from AI Feedback (RLAIF). We examine the biases that come along with evaluating LLMs with other LLMs and take a closer look into verbosity bias -- a bias where LLMs sometimes prefer more verbose answers even if they have similar qualities. We see that in our problem setting, GPT-4 prefers longer answers more than humans. We also propose a metric to measure this bias.
[ 0.0779444203, 0.0479497761, -0.0179934576, 0.0191863291, -0.0388050042, 0.0205773357, -0.0317266472, -0.009167932, 0.0146981198, -0.0393405221, -0.039220158, -0.0423807725, -0.015882574, 0.0011882866, -0.0082790041, -0.0619945601, 0.0379285254, -0.018184267, 0.0521503277, -0.0210278798, 0.0132037196, 0.0058704922, 0.0121191004, 0.0345048867, 0.0380135663, -0.0033093006, -0.0027443138, -0.0284099448, -0.0030745454, -0.0301473569, 0.0079322727, 0.0596390702, -0.0199674442, 0.0464979485, 0.0000017977, -0.0714662969, 0.0073926128, -0.0118408054, -0.0267786253, 0.0278891288, 0.031121932, 0.019262163, 0.0192401409, 0.0181599408, -0.0551117063, -0.015859222, 0.0525489151, 0.0659028813, 0.0160548054, 0.0625595748, 0.0178863816, -0.0047332956, 0.0011706352, -0.0462008677, 0.0291705318, -0.0324407034, 0.0091547891, -0.0396321751, 0.0376185514, 0.0070197065, -0.0047311764, 0.0136472741, 0.0282993596, 0.00172883, 0.0112835737, 0.0444779098, 0.0006296196, -0.005071626, -0.001498885, 0.0638806224, 0.0217944663, 0.0121724829, -0.0216723271, -0.0197498817, 0.0102734417, -0.007490695, -0.0131994653, 0.026535891, -0.0134825408, 0.0282994248, 0.0229089763, 0.005379085, 0.0250412617, 0.0102210864, -0.0161360074, 0.1134083718, -0.0127418786, -0.0477993861, 0.0537126921, 0.010480213, -0.0371348001, -0.0731251314, -0.0095445719, -0.000047975, -0.0590536483, 0.0124704801, -0.0046032886, 0.0361959413, 0.0339768901, -0.0360688791, 0.0259106196, 0.004649011, -0.0015612176, 0.0341357067, 0.0143298982, 0.0403043367, -0.0174378362, 0.0244069789, -0.0595344678, 0.003824909, -0.0238442738, -0.0139544215, 0.0193569139, 0.0366439559, -0.0034348287, -0.0051223314, -0.0598392114, 0.0175808761, -0.0399591587, 0.026492862, 0.0168839619, 0.0394560248, -0.0224640146, 0.004309345, -0.0907343403, 0.0569858067, -0.0595835336, 0.031799186, 0.0052624671, -0.016809091, 0.0210693404, 0.0115267867, -0.0195516907, -0.0643540546, -0.0056698564, 0.0678775758, 0.0074418131, -0.0092471605, 0.0074190623, -0.0139515661, -0.0434036516, -0.0753806755, -0.0252498165, -0.0548021011, 0.0211063046, 0.0133755784, -0.0148552349, -0.0255478956, -0.0040091281, 0.0210229233, -0.025246717, 0.0834059119, 0.0185316559, 0.0052750446, -0.0098468494, -0.0145069016, -0.0145169646, 0.0341810882, 0.022824781, 0.0371386223, 0.0651952922, -0.0104249734, 0.0181353912, 0.0230291169, -0.0075322888, 0.0149465753, -0.0170808043, 0.0257765055, 0.0032196527, 0.0311914198, 0.0595862567, 0.0705125555, -0.0066221231, -0.0444713123, 0.0809945613, 0.0512410551, -0.0198863614, -0.0371466763, 0.0028444538, 0.03485699, 0.0056820111, 0.0527327955, -0.0534957796, 0.0197185762, -0.0208519083, -0.0017934346, 0.0364506654, 0.0037719633, -0.0027739822, -0.0647449419, -0.0124400668, -0.008988793, 0.0308090821, 0.0318846665, 0.0306976531, -0.0318948589, -0.0062887678, -0.0114953686, 0.0294820778, -0.0082173031, 0.0013202046, -0.0450526103, 0.0524079613, 0.0515986532, 0.0148967467, -0.0376654826, 0.0109018693, -0.0166818909, -0.0302745048, 0.0298355427, 0.0875317976, -0.0293275286, -0.0261101574, -0.0007977043, -0.0287202355, -0.0127510019, 0.01383988, 0.0161404852, 0.0280403756, -0.0038414348, 0.0042992313, -0.0236039236, -0.0588185675, 0.0231865197, 0.0337041877, -0.0541809164, 0.0375360996, -0.0029191999, 0.0746491179, 0.0122571057, -0.0125880744, 0.0197045766, 0.008247504, -0.000599583, -0.0270518381, -0.0224558953, -0.0310206078, -0.0215272773, 0.0443055443, -0.0106723439, -0.0424760841, 0.0465477519, -0.0449253619, -0.011232553, -0.0375475883, -0.0293672848, 0.0629866421, 0.0014961159, 0.0087406971, -0.0026328205, -0.018984409, -0.0969012231, 0.0396820009, 0.0001326565, 0.0244981609, -0.0140373027, -0.0275395941, 0.0050335317, -0.0274967365, -0.0261858143, 0.0638452023, 0.0290570967, 0.0179840308, 0.080786787, -0.0017481992, -0.0504427664, -0.0319953635, -0.0829707608, -0.0062345886, 0.0057385769, 0.0067928745, 0.0017710354, 0.0068258038, 0.0134124234, -0.0115895281, -0.0719518214, -0.0394300632, 0.0142362742, 0.044371482, 0.038443692, 0.0288088527, 0.0087730838, -0.0565895066, -0.0133583359, -0.0228387732, -0.005823561, 0.0197458435, 0.0320080593, -0.0630378574, 0.003980285, -0.0369246155, 0.0144482646, -0.0101616392, -0.0245599914, 0.0126682948, -0.0008668982, 0.0279280841, 0.0932607204, 0.0273489282, 0.0284184497, 0.0883725062, 0.0354683027, -0.0666780248, -0.0110851359, -0.0615916848, -0.0655332282, -0.0478033088, -0.0374168232, 0.0506565347, 0.0510679707, 0.004194255, 0.0097497189, -0.0335365534, 0.0286850259, -0.0271317866, -0.0341985114, -0.0022788974, 0.0008709166, -0.0365671702, 0.0675923228, 0.0011926928, -0.0778509304, 0.0911453739, 0.0103524523, 0.0151140913, -0.0586644337, -0.0257527679, -0.0497162305, 0.0277129058, 0.0309431553, 0.0095054042, -0.0019058512, -0.0039400542, -0.0727702752, -0.0335451327, 0.0090235909, -0.0247958452, 0.0451871641, -0.0442712344, -0.0099092908, -0.0128423097, -0.0653008893, -0.0258428678, -0.0596755929, -0.0258364305, 0.0092227785, 0.0556104667, -0.0385688394, 0.0044083605, -0.0190063436, 0.0480892472, 0.003461709, -0.0268163756, -0.0131024215, -0.0052561271, 0.0289237425, 0.0856648907, 0.0204846729, 0.0315938778, -0.0253951792, -0.0022319281, 0.0622797124, 0.0455925427, 0.0135850692, -0.0067706429, -0.0037262191, 0.0440215655, -0.0470375493, -0.02719713, 0.0406955183, 0.0222894158, -0.0228604916, 0.038548097, 0.1228948683, 0.0454221368, -0.0829647109, 0.0225900691, -0.0063398764, 0.0879387259, 0.0205562077, 0.047874406, -0.0540787876, -0.0145535078, 0.0088977087, 0.0525366887, -0.0287003331, -0.0136907995, -0.0060821171, -0.1493621618, 0.0101734996, -0.0187303089, -0.0323375091, -0.023070205, -0.0484003834, 0.0170433335, -0.03063705, 0.0033061674, 0.0089676036, -0.0065412857, 0.0119103873, 0.0397162512, -0.0140675213, -0.0296789482, 0.0400994122, -0.0504470989, 0.0725938156, 0.0639661402, 0.0194609892, -0.0178752504, -0.0105295135, 0.010073496, 0.0093258992, -0.0329222418, -0.0240612458, 0.0399255902, -0.0114998221, 0.0085093025, -0.0246436018, 0.0268925801, 0.0027492843, 0.0324143246, 0.0304882545, 0.0616001785, 0.0058688032, -0.0145492898, -0.0153385913, -0.00958768, 0.0015333471, 0.0754478946, 0.0136907082, -0.0686738268, -0.0690815896, -0.0567325018, -0.0304094907, 0.0003375261, -0.0691112056, -0.0064541898, -0.0149709247, -0.0024475984, -0.0547553785, -0.058702834, 0.0032829973, -0.000567993, 0.0050079338, 0.0194443185, 0.0097780861, -0.0031746647, -0.0003481733, 0.0178641267, 0.0048473077, 0.0168315917, -0.0932366177, -0.0121429591, 0.0094372043, -0.0271134898, -0.0241672285, 0.006747019, -0.0251368731, -0.048359476, 0.0006909985, 0.035654489, 0.0258227251, 0.0478673354, 0.0026625097, -0.0540506057, -0.0072607314, 0.0326207429, -0.0263585523, 0.0170071702, 0.023405008, 0.0452761427, 0.0098509453, 0.0389480069, -0.0300514139, -0.0023901546, 0.0076965452, 0.0294213668, -0.0170147773, -0.0383558534, 0.0387566686, 0.0231964272, 0.0419659354, -0.0110517237, 0.0008750317, -0.0154277841, 0.0032908758, -0.0215107333, -0.0536869876, -0.0226352867, -0.0484929569, 0.0353401825, -0.0013905271, -0.0296593066, -0.0132736638, 0.0010815867, 0.0278837066, -0.0132726366, 0.0161146298, 0.0254331306, -0.0140084997, 0.0185515117, 0.0172650162, -0.0206570085, 0.0066269492, 0.0308021102, 0.0699103177, 0.0181976184, 0.0513625927, 0.0283253789, -0.034644559, 0.0155581841, 0.0133314943, -0.0748469234, -0.0810754746, 0.0003518829, -0.0257747788, 0.0044603981, -0.0482359119, 0.0678704828, -0.0307181068, -0.015945686, -0.0381524041, -0.0114321811, -0.0121052749, 0.0077652256, 0.0457671061, 0.0210141558, -0.0472719781, 0.0305259898, 0.0834440738, 0.0504262596, 0.0168740507, -0.0255436096, -0.0364476852, -0.0273215491, -0.0184693821, 0.0171168111, 0.0265123602, -0.0162201505, 0.0000032465, -0.0774797648, -0.0525246076, -0.0401807837, -0.0049506016, -0.0010504443, -0.0451472364, 0.0421513133, 0.0476517044, -0.0291124638, -0.0453833379, -0.0676747561, -0.0126826102, -0.0175000131, -0.0139678828, -0.0471601672, -6.257812502e-33, -0.0100654829, -0.0476626903, 0.0038810372, -0.0029903715, -0.0176940653, -0.009478542, 0.0036874043, 0.0188910943, -0.0090595558, 0.0143595254, -0.0164779965, -0.021468224, 0.0085401479, -0.003167199, 0.0569912717, -0.03318974, 0.0322514586, -0.023911193, -0.0375330113, 0.0117028467, 0.0068923356, -0.0265417583, 0.0258045588, -0.0981487483, 0.0657567382, 0.0652463213, 0.0052175685, 0.0264256913, -0.0462272763, 0.0698658675, -0.0361612737, 0.0601916276, 0.0080556143, -0.0554318875, 0.0170553438, 0.0303459615, -0.0332610458, -0.0337461643, 0.0328616202, -0.0007280885, -0.0211546496, -0.0153680937, 0.0255797878, -0.0102814268, -0.0419027731, 0.0021078929, 0.0511482731, -0.0127383964, -0.0206272118, 0.013383979, -0.045717705, 0.0252141654, -0.0013460525, 0.0141456518, 0.0066854334, 0.0688326508, -0.020466499, 0.0766232759, -0.023653049, 0.0214278698, 0.025015993, 0.045050621, 0.0315661207, 0.0010621808, 0.0087038092, 0.051092077, 0.0578316972, 0.011230424, -0.0056735575, -0.0353016481, -0.0233787429, 0.0263800994, 0.0384323522, 0.0179216266, 0.0171372257, 0.0367849469, -0.0212527905, 0.0047455993, 0.0162980016, 0.0239098594, 0.0400277376, 0.0010354833, -0.0777671561, -0.0530233346, -0.0287327133, -0.0315579735, -0.0383731797, -0.0227054805, 0.01708382, -0.0062901545, -0.018366497, -0.0233749952, 0.0221653245, -0.040285714, -0.0473138131, -0.0037619632, -0.0260367822, 0.0341117419, 0.0219826587, -0.0144580994, -0.080465585, 0.0298302416, -0.0287748612, -0.0064225383, 0.0034391501, -0.0048256973, 0.0114201605, -0.0053254273, -0.0655906126, 0.0076486277, -0.0162051972, -0.0003912829, 0.003803838, -0.0070599238, 0.0509748571, -0.0241702236, 0.0018336428, 0.0573693998, -0.0024037182, -0.027247712, -0.042107977, -0.0568837263, -0.0129701868, -0.0008585441, -0.0156273246, 0.0057733567, -0.0001773061, 0.0425729379, -0.009016946, -0.0260617957, -0.0128795225, -0.0213717241, 2.599e-7, 0.0244683437, 0.0676135495, 0.0006392658, 0.0280558188, 0.0103141963, 0.0692427382, 0.0056559271, 0.0104998527, 0.0224668738, 0.0145529974, 0.0005638885, -0.0041921348, 0.046130266, 0.0293020308, -0.0622239746, -0.006537837, -0.0766711831, -0.0009476719, -0.0355858356, -0.0024188487, 0.0566428453, 0.0750403777, 0.047226157, 0.0130735366, -0.0122454064, -0.0168751236, 0.0383900367, -0.0701952502, 0.0029686093, 0.0288094319, 0.0433215238, -0.0079627251, 0.0232648514, 0.0042891228, 0.0145121533, -0.0149817616, -0.0016134713, 0.0775616616, 0.0177024119, -0.0549949966, -0.0209114105, 0.0010643676, 0.0133555923, -0.1056335047, 0.0692524686, -0.0412099585, -0.0533691607, -0.0454445705, 0.013328121, -0.0594123565, 0.0346902125, -0.0208071787, -0.0189776774, -0.005944449, 0.0111963265, 0.0076693608, -0.0273793954, -0.0605242439, -0.0275190733, 0.0239556879, -0.0358016938, -0.0506735034, -0.024041418, 0.085352473, -0.00472904, -0.0469986536, 0.0052649505, 2.529568793e-34, 0.051661551, -0.0187657401, 0.0443939976, 0.0057373377, 0.0464631617, 0.0462605469, 0.0111432169, 0.0107814129, 0.0508630462, -0.0769524872, -0.0216019843 ]
http://arxiv.org/abs/2310.10698v2
http://arxiv.org/pdf/2310.10698v2
Bridging Code Semantic and LLMs: Semantic Chain-of-Thought Prompting for Code Generation
2023-10-16T05:09:58
2023-10-22T10:21:12
Yingwei Ma, Yue Yu, Shanshan Li, Yu Jiang, Yong Guo, Yuanliang Zhang, Yutao Xie, Xiangke Liao
cs.CL
cs.CL
Large language models (LLMs) have showcased remarkable prowess in code generation. However, automated code generation is still challenging since it requires a high-level semantic mapping between natural language requirements and codes. Most existing LLMs-based approaches for code generation rely on decoder-only causal language models often treate codes merely as plain text tokens, i.e., feeding the requirements as a prompt input, and outputing code as flat sequence of tokens, potentially missing the rich semantic features inherent in source code. To bridge this gap, this paper proposes the "Semantic Chain-of-Thought" approach to intruduce semantic information of code, named SeCoT. Our motivation is that the semantic information of the source code (\eg data flow and control flow) describes more precise program execution behavior, intention and function. By guiding LLM consider and integrate semantic information, we can achieve a more granular understanding and representation of code, enhancing code generation accuracy. Meanwhile, while traditional techniques leveraging such semantic information require complex static or dynamic code analysis to obtain features such as data flow and control flow, SeCoT demonstrates that this process can be fully automated via the intrinsic capabilities of LLMs (i.e., in-context learning), while being generalizable and applicable to challenging domains. While SeCoT can be applied with different LLMs, this paper focuses on the powerful GPT-style models: ChatGPT(close-source model) and WizardCoder(open-source model). The experimental study on three popular DL benchmarks (i.e., HumanEval, HumanEval-ET and MBPP) shows that SeCoT can achieves state-of-the-art performance, greatly improving the potential for large models and code generation.
[ 0.0004540904, 0.0309880972, -0.0327581726, 0.0455643237, -0.0417183563, -0.0004489401, -0.0753258616, -0.0108338557, -0.0108482698, -0.0205432829, 0.0086467015, 0.0386918299, 0.0110332631, 0.0501906388, 0.0098769898, -0.0075541241, 0.0240820087, -0.0202001873, -0.0437023789, 0.0240353774, 0.0019590766, 0.0451856926, 0.0385843031, 0.0586474948, 0.0145995989, -0.0432535969, -0.0304839369, 0.0523649491, -0.0021596742, -0.0361451022, -0.0039922036, 0.0348284617, 0.0215231162, -0.0009657881, 0.0000025085, -0.0602959059, -0.0209553819, 0.0221334137, 0.029489832, 0.019068053, -0.0196189508, -0.0140371537, 0.0053056101, 0.0259666406, -0.033218652, 0.006750274, 0.0520475954, -0.0254446678, 0.094700858, 0.0420598127, 0.0090771662, -0.0294828098, 0.0253132861, 0.0453448147, 0.0668322966, -0.0288206358, -0.0167316012, 0.0261587463, 0.0061730868, -0.0047183987, -0.0047032009, 0.0156011544, 0.0215759277, 0.0078447042, 0.0181859098, 0.039525602, -0.0136800688, -0.01912136, -0.0095566083, 0.0383526608, -0.0401353575, -0.0269881357, 0.0206316561, -0.0156666543, -0.0436386988, -0.012276643, -0.0160610788, 0.0289816335, -0.021723995, 0.0072474494, 0.0377133489, -0.0048960927, -0.0008699285, -0.0017972464, -0.0462920442, 0.0515130535, -0.0144954119, -0.0172862913, -0.027030332, -0.0375824533, 0.0299322531, -0.0578252934, -0.0284160264, 0.0766053349, -0.0213182643, 0.008700598, -0.0191074181, -0.0065360568, 0.0133099565, -0.0158085972, 0.0077332477, 0.0654393733, -0.0125953639, -0.00807813, -0.0471875444, 0.0771102086, -0.0242993981, 0.0006942961, -0.0465111136, 0.0084780669, -0.0512696579, -0.0285056941, -0.057974793, 0.0730263293, -0.0145721445, 0.0359372199, -0.0453114137, 0.0584026314, 0.0029107817, 0.0594405979, -0.0230015088, -0.0342464373, -0.0251779053, 0.0052006007, 0.0161971152, -0.0257697515, 0.0043006707, -0.0601754785, -0.0116122719, -0.0451371185, 0.0068380786, 0.031241985, -0.040237844, -0.005266807, 0.0115807839, 0.1051572561, 0.0242127534, 0.0333551355, -0.0718779936, -0.0570908189, 0.0433951654, -0.0386434905, 0.0064686555, -0.0841516331, -0.0541411415, 0.0313084908, -0.0076499395, -0.0371726342, 0.009546197, 0.0060648313, 0.0020175911, 0.0410831198, -0.0616369434, 0.0264772661, 0.0002531777, 0.0255043171, -0.0104284734, 0.0324267633, 0.0604847372, 0.0154533098, -0.0178938787, -0.0336827412, 0.0256060306, 0.0252565797, -0.0229422431, -0.0027077906, -0.0200721975, 0.0316014625, 0.0397306867, -0.0045993305, 0.0025127891, 0.0253213532, -0.0117674991, 0.0389156863, -0.0101252943, 0.0399483666, 0.009584818, 0.029282907, 0.1150079668, 0.0420991071, -0.0324953981, 0.0112842228, -0.015784787, 0.0692700222, -0.0139599172, 0.0192292556, -0.0179194454, 0.0528802052, -0.0004045792, -0.05993836, 0.0083360597, -0.0068235784, -0.010386019, -0.0137184672, 0.0032290369, 0.0153230513, -0.0409317166, 0.0354433358, 0.0145420302, -0.0526829064, -0.0314522907, -0.0599920228, 0.0369897, 0.0576795898, 0.0511154532, -0.0463230424, -0.0110888332, -0.0121810157, -0.0241676252, 0.009135507, -0.0020103354, -0.0185618568, -0.0219779033, -0.0615737177, -0.0266923942, -0.0341958627, -0.0099109104, 0.0470288545, -0.0136072636, -0.0352901854, 0.0371576995, 0.0434226282, -0.0334388874, 0.0552740209, -0.0076722289, 0.0296697542, 0.0317210481, -0.0061506773, 0.0380636789, -0.0229958259, -0.0282756221, 0.0385015979, 0.025444923, -0.0280994289, -0.0350617729, -0.0372975133, -0.043738354, -0.0410989858, 0.0007366718, -0.0430561081, -0.013605047, 0.0155519405, -0.0392894708, -0.0132654142, 0.0543806478, -0.0227134004, 0.0202610362, -0.008461073, 0.0006771103, -0.0151430732, -0.0390052646, -0.0291365404, 0.0637673736, 0.0039441735, 0.0176919643, 0.0266148914, 0.0710140467, 0.026927039, 0.031234378, 0.0092645641, 0.0157284904, -0.042970743, 0.0331880599, 0.0295301788, 0.0751564503, -0.0078359582, -0.0325868092, -0.0533977076, 0.0393457487, -0.0094203409, 0.0023521585, 0.0304056387, 0.0469992831, 0.0108954739, 0.0045364988, -0.0347350761, 0.0259424523, -0.0157338735, -0.0067543369, 0.0357401893, -0.0340755582, -0.0816741735, 0.0133413905, 0.0219147243, -0.0378218107, 0.0293926578, -0.0089356173, -0.0238594338, -0.0715370774, 0.098867178, -0.0154737765, -0.0020428989, -0.0248703044, -0.0295846723, 0.0238817632, -0.0378462151, 0.0650926009, 0.026046345, -0.0091306875, -0.0007666228, 0.0581932701, -0.005275338, -0.0615444332, 0.031443838, -0.0019002199, -0.0281011071, -0.0023078367, -0.0334134437, 0.0739620999, 0.0846232101, 0.0363958888, -0.0148732997, -0.0540123656, 0.0169127192, 0.0139399683, 0.0350428894, -0.0217400808, -0.0465116538, -0.0263769217, 0.0740665942, -0.0062619476, -0.0912599042, 0.0652749687, -0.0394547619, -0.0056454614, -0.0174233746, -0.0248342138, -0.0607319027, 0.0634716973, -0.0050673727, 0.0336004011, 0.0089308983, -0.0292845741, -0.0362183861, 0.0200259667, -0.0092001539, -0.0249064583, 0.0454153642, -0.0547706932, 0.0015079093, -0.0059279213, -0.0167397428, -0.052152317, 0.0228556693, 0.0052461596, -0.0093759261, 0.0086324885, 0.0046255696, 0.060599152, -0.0120079145, 0.0134902112, 0.0414032415, 0.0338065252, -0.0536806956, -0.0392582156, -0.0399341956, -0.0197847746, -0.0841477439, -0.0242652986, 0.0256243385, 0.0155845387, 0.010270087, -0.0010602101, 0.046961423, -0.0504460372, 0.0013231792, 0.0400958695, -0.0007372192, -0.0373083614, 0.0707245022, 0.0306542702, -0.0366489477, -0.0195791591, 0.0929170102, 0.0378137641, -0.0277327094, 0.0174060203, -0.0159473941, 0.0430729538, 0.0808242187, 0.0338427238, -0.0673645735, -0.0288371928, -0.0098135397, 0.0233012754, -0.0392426774, -0.0117306057, -0.0580587089, -0.0875438601, 0.0353828706, -0.0060293078, -0.0484574325, -0.0286095273, -0.0150573794, -0.0363831557, 0.0235230904, -0.064306736, 0.0234490223, 0.0219425745, 0.0041824295, -0.0087309293, -0.040741697, 0.0227336939, 0.0462421626, -0.0108110895, 0.0067562489, 0.1040616408, 0.0085885534, 0.0178690087, -0.0015493925, 0.0458174907, -0.0174520537, 0.03040649, -0.0394933596, 0.0082460223, -0.0031667312, -0.00424803, 0.0109809851, 0.0212205276, -0.0599205643, -0.0247921906, 0.0474787131, 0.0742956549, -0.0219175518, -0.009250503, -0.0285101049, 0.0034660029, -0.0055986098, 0.0334717631, 0.0383618437, -0.0123542417, -0.0248262081, -0.0781550407, -0.0208462849, -0.0242221616, -0.0259706303, -0.0098175164, -0.0069249119, -0.027917264, -0.0461271517, 0.0340636149, -0.0096913911, 0.0282111429, 0.0469634831, -0.0041016988, 0.0379744656, -0.0289320815, -0.058578901, -0.0057518021, -0.0341312066, 0.0222920459, 0.0115323467, -0.0063670315, 0.0284750182, -0.0381615609, -0.0085074119, 0.0272569228, -0.0516269021, -0.0426990278, -0.0633976907, 0.0471675731, 0.0242092069, 0.0278038997, -0.0445050299, -0.0319550447, -0.0229057949, 0.0131814498, -0.0621085949, -0.0143371671, 0.0046565766, 0.0504664555, 0.044239033, -0.0083007123, -0.0658139214, 0.01599738, 0.009701265, -0.0005760951, -0.0046852482, 0.0300756916, 0.0861029848, 0.036876414, 0.0113876732, -0.003796139, -0.0275025349, -0.0071688895, -0.020828709, 0.0042195604, -0.0529529341, -0.0799065605, 0.0244818963, 0.0192513689, -0.0230130106, 0.0453845784, -0.0461748615, -0.0417042859, 0.0457811244, -0.0014969278, 0.0406923704, -0.0176925454, 0.0822460949, 0.0807741582, -0.0180600751, -0.0298452601, 0.0157815535, -0.0054308828, 0.0003479383, 0.0061202054, 0.0836484283, 0.0276705902, 0.0623206683, 0.0330612846, 0.0063983132, -0.0359149389, -0.0611646324, -0.0052696425, 0.0232096184, 0.0171871483, 0.0870160758, -0.0000654941, -0.0254023708, 0.0312216766, -0.0060967975, 0.0887181759, -0.0065588555, -0.0766362846, 0.0179581847, 0.0265455656, -0.0136965569, -0.0730837956, 0.0890733898, -0.0169490501, 0.0023755434, -0.0239781048, -0.0284081306, -0.0446813405, 0.013199402, 0.0508946739, -0.0144036897, -0.0091808764, 0.013423658, -0.082360819, -0.0433234647, -0.0163316242, 0.0072136163, 0.0503238365, -0.0057748859, 0.0510085635, 0.0691803992, -0.0086224489, -0.0294756778, -0.0124679264, -0.0138668148, -0.0184660759, -0.0517880917, -0.048740074, -6.41913e-33, -0.0354152098, -0.0385232158, 0.0330295935, 0.0694722906, -0.005326204, -0.0295147523, -0.0554624572, -0.0155628566, 0.0189727284, -0.0420648083, 0.0582944266, -0.009097876, -0.0328389965, -0.0341950655, 0.0285413172, 0.0036073807, 0.0216159467, 0.0069049965, -0.0491978414, 0.0152766611, -0.0048106229, 0.0043125493, -0.0048094811, -0.0436659232, -0.0269332752, -0.0366509631, 0.03057638, 0.0152768185, 0.0136620719, 0.0089640496, -0.0080957562, 0.0072199809, 0.0137059446, -0.0380586386, -0.0309057608, 0.0039262627, 0.0141671086, -0.051242888, 0.0347207971, -0.0122688934, -0.0006200891, -0.076391086, 0.0561183952, -0.0016634448, -0.0334055759, -0.0079957535, 0.0131200673, 0.0279681478, 0.0137172909, -0.0738311037, -0.0820256025, 0.0380963758, -0.0576424301, -0.0256189741, -0.0309119597, 0.0330471322, -0.0051811682, 0.0466430224, 0.069220908, 0.0074578538, 0.0200319905, 0.0408361703, 0.0684255287, 0.0001241638, 0.0137484018, 0.005082103, 0.0245999862, -0.0103016878, -0.0490525588, 0.0474326164, 0.0036816308, 0.0479173623, 0.0186372753, -0.0031937861, 0.010708997, 0.0105415313, -0.0526561141, 0.0181566589, -0.0450664572, 0.0368725732, 0.0292066578, 0.0147219049, -0.0081798583, -0.0090857865, -0.0390444957, 0.0163688045, -0.0146461884, -0.0298686083, 0.0487201214, -0.0243722089, -0.0061749802, -0.0362867825, -0.0133115677, -0.0332504921, 0.0293232445, 0.0121994065, -0.071213007, 0.0085381456, -0.0226860568, 0.0209959596, 0.01640491, -0.0297173802, 0.0411062427, -0.0272507723, 0.0774336234, 0.0408854261, 0.013646422, 0.0226358715, -0.0378421247, -0.0039000341, -0.0922156572, -0.0159825888, -0.0251730792, -0.0122455889, -0.012443454, -0.0192508195, -0.0166971143, 0.013057909, 0.0024666893, -0.0281723775, -0.0312003531, -0.0032572653, 0.0096920365, 0.0295307711, -0.0467381552, -0.0395752937, -0.028610846, 0.0186189469, 0.0506908298, -0.002041114, -0.0701780394, 0.0453394279, 3.289e-7, -0.0144225629, -0.0067430618, -0.0163723659, 0.071384564, -0.0071030529, 0.0335558169, -0.0203894526, 0.0077881771, 0.0106880656, -0.0444556661, -0.0381538756, -0.0034388895, 0.0372697785, 0.014799444, -0.0769175068, 0.0273407288, 0.0153976465, -0.0160232857, -0.0579899251, 0.0446581356, 0.0780982226, 0.0420657061, -0.0112248389, 0.0086888084, 0.0283257905, -0.0023017162, 0.0010101756, -0.0119907297, 0.0174241159, 0.0272108968, -0.0635013059, 0.0152977984, -0.0036295396, -0.0012738224, 0.0049298257, -0.00850596, 0.0048278729, 0.0500688814, -0.0041282279, 0.0631490052, 0.0566511862, -0.017738454, 0.0006053392, -0.0688762739, 0.0298230015, -0.0328575857, -0.0140514169, 0.0197007544, -0.0172678027, 0.0084085502, -0.0179115478, -0.015854612, 0.0252965558, -0.0047891159, -0.0128353518, -0.0178478863, -0.0165821556, -0.0182101671, -0.0202261303, -0.0322405286, -0.01263355, -0.0553903431, -0.0441143289, 0.0571640767, 0.0314780436, -0.0278650522, 0.0236322787, 3.407700955e-34, 0.0211242363, -0.0602876022, 0.0106273899, 0.0142719829, 0.0403661877, 0.002996057, -0.0311794169, 0.0450463332, 0.0131759429, -0.0090557737, -0.0288493503 ]
http://arxiv.org/abs/2310.10072v3
http://arxiv.org/pdf/2310.10072v3
Fine-tuning ChatGPT for Automatic Scoring
2023-10-16T05:09:16
2023-12-26T01:13:11
Ehsan Latif, Xiaoming Zhai
cs.CL
cs.CL, cs.AI
This study highlights the potential of fine-tuned ChatGPT (GPT-3.5) for automatically scoring student written constructed responses using example assessment tasks in science education. Recent studies on OpenAI's generative model GPT-3.5 proved its superiority in predicting the natural language with high accuracy and human-like responses. GPT-3.5 has been trained over enormous online language materials such as journals and Wikipedia; therefore, more than direct usage of pre-trained GPT-3.5 is required for automatic scoring as students utilize a different language than trained material. These imply that a domain-specific model, fine-tuned over data for specific tasks, can enhance model performance. In this study, we fine-tuned GPT-3.5 on six assessment tasks with a diverse dataset of middle-school and high-school student responses and expert scoring. The six tasks comprise two multi-label and four multi-class assessment tasks. We compare the performance of fine-tuned GPT-3.5 with the fine-tuned state-of-the-art Google's generated language model, BERT. The results show that in-domain training corpora constructed from science questions and responses for BERT achieved average accuracy = 0.838, SD = 0.069. GPT-3.5 shows a remarkable average increase (9.1%) in automatic scoring accuracy (mean = 9.15, SD = 0.042) for the six tasks, p =0.001 < 0.05. Specifically, for multi-label tasks (item 1 with 5 labels; item 2 with 10 labels), GPT-3.5 achieved significantly higher scoring accuracy than BERT across all the labels, with the second item achieving a 7.1% increase. The average scoring increase for the four multi-class items for GPT-3.5 was 10.6% compared to BERT. Our study confirmed the effectiveness of fine-tuned GPT-3.5 for automatic scoring of student responses on domain-specific data in education with high accuracy. We have released fine-tuned models for public use and community engagement.
[ 0.0376772247, -0.0231130384, -0.0188897904, -0.0070147193, -0.0281515606, -0.0008146943, 0.012463334, -0.002981483, 0.0537794158, -0.092160292, -0.0481381565, -0.0092997234, -0.010761098, 0.0414278954, 0.0060004191, -0.0477062352, 0.0175515022, 0.0008102375, 0.0579100177, -0.0057751024, -0.019329004, 0.0053944699, -0.0414776467, 0.0405960977, 0.0285236202, -0.0436588749, 0.0228785537, -0.0374753252, 0.026113227, -0.0332231075, 0.0731289238, 0.1167125776, -0.0015792716, 0.0210864805, 0.0000022747, -0.0560871623, 0.0132017648, -0.0005809104, 0.0181726366, 0.0398927182, 0.0294365399, 0.051139988, 0.0012792823, 0.0273936801, -0.0706358925, -0.0486378968, 0.0346803367, 0.0265885331, 0.0431570001, 0.0337185226, 0.0010089093, -0.0244781226, 0.0609479658, 0.0175685287, 0.0403742753, -0.0192547534, 0.0129330782, 0.0603268333, 0.0155349812, 0.0340892412, -0.0175795052, 0.0227406267, 0.0184857342, -0.0184468701, 0.046338696, 0.0476835631, -0.0590175577, 0.0038586, 0.0225421935, 0.0696323812, 0.0017031553, -0.0229078289, -0.0427348502, -0.0104472209, -0.0113969846, 0.0141062029, -0.0535422303, 0.0046239952, -0.0082206782, -0.0036245636, 0.0152427405, -0.0094008269, -0.0168745685, 0.0343897194, 0.0294564161, 0.0241111126, 0.0362980291, -0.0365126953, -0.0108500961, 0.0364829116, -0.0385320857, -0.0435062796, -0.0002177545, 0.0229896475, -0.0267892797, 0.0137460595, -0.0322230123, -0.0478123315, 0.0270455349, -0.0174853951, 0.0283360891, 0.0446766689, -0.0065983981, -0.0016537219, -0.019920554, 0.0880453736, 0.0577783994, 0.05440953, -0.023486983, -0.0053459322, -0.0770138204, -0.0230368134, -0.0076007219, 0.021099057, 0.0208965577, 0.0013078386, -0.08212284, -0.0120925363, -0.0157330763, -0.0185111929, 0.0391385593, 0.0084846197, -0.0405998044, 0.0363872126, -0.0409822837, 0.0469253995, -0.0347676538, 0.0199541878, 0.0290669315, -0.0348913148, -0.0028175903, 0.0049345242, 0.0051297848, -0.0027442377, 0.0004400331, 0.0401327871, -0.0206863005, -0.0310627706, 0.0056321765, -0.0168296322, -0.0169808287, -0.0770645663, 0.0303422473, -0.048396714, -0.0029552453, 0.0400224663, -0.0032699492, -0.0019112126, 0.0026690834, 0.03343568, 0.0116912397, 0.0155174807, -0.015686417, -0.0274331998, 0.0285512153, 0.030874813, 0.0036562695, 0.0347163007, 0.0578783527, -0.013548064, -0.0008818839, -0.0509741753, 0.0206940323, 0.017053362, 0.0128615443, -0.0180282891, 0.0353281461, 0.0016818524, 0.0239170678, 0.0520943031, -0.0373138748, 0.0223147161, 0.0148755442, 0.0528244674, 0.0440974161, 0.0386500917, 0.0146526834, 0.0226102397, 0.0067726495, 0.0152303074, 0.0524605401, 0.0442571379, -0.031259235, 0.0385288745, -0.0227842219, 0.0118086282, 0.027740553, 0.0125984391, -0.0085160788, -0.0568687133, -0.0288123284, 0.0136569962, -0.0221505556, -0.0028589759, 0.0395457111, 0.0007717512, -0.0326325856, 0.0101826238, 0.0099365059, -0.070982784, 0.0620638095, -0.057615377, 0.0399527736, 0.0402020141, 0.056339737, -0.0283795334, -0.0714648142, 0.0087061655, -0.0148805976, 0.0569013208, 0.0470474139, -0.0349766798, -0.0314800404, -0.0529654957, -0.0389269628, -0.0084655508, 0.0041058846, -0.0046122265, 0.0083870646, 0.017293008, 0.0069782762, -0.0675514564, -0.0427874997, 0.0299513638, -0.0211589262, -0.059389621, -0.0156404357, -0.0340855718, 0.0357604027, 0.0006257113, 0.0028575044, 0.0215922166, 0.0192845184, 0.0033309169, -0.0264327358, -0.056449078, -0.0428042188, -0.0340564586, 0.0403989032, -0.0307060238, -0.0285514593, 0.0608084165, -0.0377124175, -0.0680548623, 0.0053233914, -0.0135079594, -0.0073935734, -0.0268799476, -0.0261099618, -0.0237580221, -0.0323983431, -0.0481856391, 0.0521332882, 0.0585162453, 0.0632529706, -0.0178170409, 0.014018924, 0.0459224023, 0.0161996223, -0.0474910811, 0.0005068854, 0.0101806168, 0.0233318228, 0.0311866291, 0.0212220624, -0.0889208391, -0.0240154322, -0.1024667323, 0.0068644304, 0.0151341269, 0.0309303291, 0.0269917417, -0.0236898325, -0.0115313008, 0.040209204, -0.0540611856, -0.0018368781, 0.0094101233, 0.0011622475, 0.02572597, -0.0108864848, 0.0188687332, -0.0504384451, 0.010821607, -0.0723528638, 0.0046935226, 0.0664512813, 0.0066586048, -0.0217116643, 0.0420039408, -0.0370917208, -0.0047717146, 0.0322893411, -0.0590054318, 0.0365951173, -0.0182037242, 0.078052558, 0.0692702532, 0.0360377245, -0.0102142347, 0.0260973014, -0.0193308946, -0.0717073679, 0.0137723451, -0.0257196296, -0.0224875677, 0.0073582274, -0.0011602702, -0.0115638906, 0.0554211475, 0.0355881453, -0.0422064662, -0.0619851314, 0.0251782127, -0.0416104048, 0.0257115532, -0.0343414098, 0.016508393, -0.0134707093, 0.0071852747, 0.0129815424, -0.0244749766, 0.0823820159, -0.0144147957, 0.0058887783, -0.1054542139, 0.060617391, 0.0008369935, 0.046789173, 0.0034851804, -0.0065994533, 0.0248861685, 0.0057887039, -0.0606458895, 0.0324656777, 0.03640683, -0.0429606177, -0.0053485529, -0.0439113379, -0.0093090367, -0.0201736186, -0.0190896839, -0.0292384718, 0.0244752802, 0.0086624231, 0.0444916822, -0.0005714908, -0.0189119782, -0.0156528577, -0.0150122708, 0.0147839347, 0.0131254951, -0.0717238784, -0.0113564488, -0.0147297457, 0.0500214025, 0.0442176238, -0.0078868363, -0.0237041377, -0.0077103428, 0.0024318269, 0.0517057069, 0.0355501585, 0.0291438885, 0.010067313, -0.0132193975, 0.0288338531, -0.0441029817, 0.0043702628, 0.0272367038, 0.0431310683, -0.0620682724, -0.0083230734, 0.118410252, 0.033302322, -0.0224010684, -0.03932143, 0.0000970753, 0.0093521075, 0.002397828, 0.0187138729, -0.0614010245, -0.0227986481, -0.037796583, 0.0274538305, -0.0019745696, -0.0249516089, 0.0029680745, -0.1073638052, 0.0250218641, 0.007572589, -0.0443908423, 0.0000699351, -0.0380970053, -0.0044539636, 0.0034310149, -0.0109526524, -0.0282538794, 0.0153123112, 0.035103403, 0.046811901, -0.0067214984, -0.083659336, 0.0620466508, -0.0187979657, 0.0762666911, 0.0494278856, 0.0621844716, -0.0382073335, -0.0404045358, 0.0520013198, -0.0224422235, -0.0192397386, -0.0046754926, 0.0188319013, 0.0128944609, 0.020915987, -0.0455674008, 0.018272927, -0.0321750641, 0.005685335, 0.0262575354, 0.1100000516, -0.0053545157, -0.0191259813, -0.038204208, 0.0013404674, -0.0049633575, 0.0728075579, 0.0188732781, -0.0503458232, -0.0149148628, -0.0386415385, 0.0241231862, -0.0614254735, -0.0267774556, 0.0229766909, -0.0252811052, -0.0069514033, -0.0598762594, -0.0658440515, 0.0653941557, -0.0302766636, 0.0291485265, 0.0037564684, 0.0093591008, 0.0142112682, -0.0234008525, 0.0198046565, -0.0168662369, -0.0230397303, -0.0387040526, -0.0346431322, 0.0464974567, -0.0019931404, -0.026384877, 0.0183813218, -0.0336614363, -0.0436918847, -0.0028207439, 0.065727815, 0.0127168512, -0.0362286083, 0.0124325296, -0.0333147235, 0.0150497695, 0.0124545358, -0.0210351702, -0.0139531689, -0.0173090883, -0.01833109, -0.0017104127, -0.0137510998, -0.0164874233, 0.032435745, 0.0182960071, 0.0478982963, 0.0329812765, -0.0318978652, 0.0268866047, 0.0558213778, 0.0967722461, -0.0272059534, -0.0344942287, -0.0445128419, -0.008737036, -0.0019090502, -0.0135875763, -0.0206623599, -0.0081637586, 0.0270211603, 0.0018605534, -0.0218655467, 0.0479799695, -0.0610050038, 0.0376435295, -0.0583692715, 0.0290651284, 0.0005740031, 0.0342755392, 0.0155368764, -0.0094200792, -0.0604303516, -0.0383324437, 0.0232778266, 0.035262391, -0.0189842712, 0.0672947764, 0.020048527, 0.0292930175, 0.0607376657, 0.0184627213, -0.0490261801, 0.011931275, -0.0595880002, 0.0331703015, 0.0095292851, 0.0323498547, 0.0157217886, -0.030628603, 0.0022153405, -0.0477948338, 0.0316630714, 0.0131166363, -0.0131645044, 0.0484644845, -0.0027007372, 0.0210940503, -0.0407678038, 0.0769302323, -0.0005657959, 0.0371923, -0.0070780381, -0.0156108784, -0.0236623604, -0.0078195073, -0.0232913736, 0.0130900536, 0.014378286, 0.0112384409, -0.0355744325, -0.0280450676, 0.0039107543, 0.0350249931, 0.024068227, -0.0239752177, 0.0337984748, 0.0570833609, -0.0681980103, -0.0506346002, -0.0276762154, 0.0170790814, -0.0417462662, -0.0333172828, -0.0269106925, -6.279155072e-33, -0.0511674806, -0.0457817353, 0.0211376417, 0.0593158379, 0.0033606538, -0.0005732256, -0.0499957316, 0.0280343164, -0.0184468422, 0.0207246486, 0.012066151, 0.0019786744, 0.0025249012, 0.0443282463, 0.0314692818, -0.0173680056, 0.0021216518, -0.0286189653, -0.0322444402, 0.043559581, 0.0221548565, -0.0131174354, 0.0959995091, -0.0580486208, 0.0471096002, -0.0359275155, -0.0011990184, -0.0322447792, -0.0563867614, 0.0433367901, -0.033028394, 0.0802193806, 0.0242160913, -0.0460840389, 0.0052170255, 0.0064961896, -0.0341304466, -0.0637430847, -0.0005091767, -0.014309884, -0.0291451383, -0.0120624257, 0.0105859507, 0.0017503181, -0.0714774281, -0.0428055152, 0.0758932903, -0.0147511186, -0.0075566708, -0.0481335931, -0.0768856332, -0.0091104042, 0.0020804477, -0.0350831486, -0.0472160168, 0.0615873523, 0.0086582098, 0.0186744444, -0.0221969709, 0.0266934019, 0.0277972072, 0.0637942925, 0.0223257691, 0.0139648626, -0.0066773999, 0.0626597553, 0.019292729, 0.0165353138, -0.0024984693, -0.0485222563, 0.0485670306, -0.0192279648, 0.1060530022, 0.0487235449, 0.0218008328, 0.0020803048, -0.0793763474, 0.0787760243, 0.0271198191, -0.0258567054, 0.0096059013, -0.0416282788, -0.005856059, -0.0218306165, -0.0475222506, 0.0017226164, -0.0330487825, -0.0159586705, 0.036438629, -0.0657623187, -0.0041061682, -0.0308573097, 0.0203727074, -0.0190303903, -0.014931933, -0.0245641079, -0.0316304937, 0.046376694, -0.017138442, 0.0173610561, -0.0448477417, -0.0055314549, 0.0219710618, 0.0074603735, 0.006075508, 0.0185320657, 0.0153826158, 0.008247667, -0.0239112824, -0.0143489977, -0.0496793017, -0.0376214348, 0.0398428589, 0.0250480454, -0.004138683, 0.0105608944, 0.0112637682, 0.0554579943, 0.0132339001, 0.0228722766, -0.0366246514, -0.0295143258, 0.0013248631, -0.008656689, -0.0150240678, -0.0116577977, -0.0254591946, -0.015757123, -0.0373857394, -0.0347275324, 0.0005581817, 0.0066262186, 2.776e-7, 0.0720231459, 0.0762163624, -0.0091678668, -0.0163801871, -0.0015052365, 0.0355284028, 0.00146412, 0.0115990285, 0.0750117823, 0.0149706425, -0.0186005216, -0.0271042455, 0.0190014839, 0.0405090787, -0.0977436975, -0.0191501081, -0.0184367485, -0.016647255, -0.0277016703, 0.0390032418, 0.0860443339, 0.028246915, -0.0007833965, -0.0089803664, -0.0107368724, -0.0274742693, 0.07059443, 0.0040974026, -0.0236383453, 0.0529714748, -0.0064893384, 0.0281801224, 0.0153098609, 0.0633541122, -0.0459202603, -0.0284176581, 0.0321895592, 0.0309857987, 0.0090895873, -0.0215291977, 0.0434346162, 0.0018266614, 0.014964534, -0.0647846758, 0.0268482976, -0.0601502061, -0.0130544072, 0.0504713058, -0.0072951983, -0.0197901707, 0.012428212, -0.0494691543, -0.0134082241, 0.0051804567, -0.0096273888, -0.0062352209, -0.0146206338, -0.0289375912, -0.0346113443, 0.0182782523, -0.0402064957, -0.0502709858, -0.0345620327, -0.0548652448, 0.0268251244, -0.0569338687, 0.001609106, 2.46839671e-34, 0.0188834183, -0.037475016, 0.0233542174, -0.0404379815, 0.005001253, 0.0133473957, 0.0556848049, -0.001206848, 0.0298798345, -0.0713540986, -0.0300620198 ]
http://arxiv.org/abs/2310.10062v2
http://arxiv.org/pdf/2310.10062v2
A Comprehensive Evaluation of Tool-Assisted Generation Strategies
2023-10-16T04:53:22
2023-12-28T15:41:35
Alon Jacovi, Avi Caciularu, Jonathan Herzig, Roee Aharoni, Bernd Bohnet, Mor Geva
cs.CL
cs.CL, cs.AI
A growing area of research investigates augmenting language models with tools (e.g., search engines, calculators) to overcome their shortcomings (e.g., missing or incorrect knowledge, incorrect logical inferences). Various few-shot tool-usage strategies have been proposed. However, there is no systematic and fair comparison across different strategies, or between these strategies and strong baselines that do not leverage tools. We conduct an extensive empirical analysis, finding that (1) across various datasets, example difficulty levels, and models, strong no-tool baselines are competitive to tool-assisted strategies, implying that effectively using tools with in-context demonstrations is a difficult unsolved problem; (2) for knowledge-retrieval tasks, strategies that *refine* incorrect outputs with tools outperform strategies that retrieve relevant information *ahead of* or *during generation*; (3) tool-assisted strategies are expensive in the number of tokens they require to work -- incurring additional costs by orders of magnitude -- which does not translate into significant improvement in performance. Overall, our findings suggest that few-shot tool integration is still an open challenge, emphasizing the need for comprehensive evaluations of future strategies to accurately assess their *benefits* and *costs*.
[ 0.0118796425, 0.03719927, -0.035820514, -0.003653866, -0.0616818182, 0.0031819488, 0.0333489701, 0.0014920462, -0.0306431763, -0.0667857379, 0.0033832593, -0.0017151616, -0.0204003695, -0.0044401251, 0.0386400856, -0.0487494245, 0.0762469172, -0.0102722114, -0.0021324398, 0.0139311878, -0.0101321628, 0.0185977388, -0.0398829989, 0.0672917292, -0.0313426554, 0.0175239928, -0.0388026275, -0.0021430755, 0.0033471161, -0.0142845493, -0.0163215455, 0.0453152768, 0.0101321526, 0.0757104382, 0.0000019418, -0.057997603, 0.00323484, 0.0089176558, -0.0430879369, -0.0130299637, 0.0541266613, 0.0239763539, -0.0047589508, 0.0293510072, -0.0424725451, -0.0296855662, 0.0581509024, -0.0323173702, 0.0121580092, 0.0493942499, 0.0060387198, 0.0145577528, 0.0143746352, -0.0105740409, 0.0450448692, -0.0068091564, -0.0250449069, -0.0115851788, 0.0456018671, -0.0122964224, 0.0062142648, 0.0433620922, 0.0521897115, -0.0095007559, 0.0272985045, 0.050911054, -0.0705829412, -0.0467233583, -0.000297504, 0.0392576084, -0.0163195729, -0.0471043475, -0.0017090796, -0.0186757725, 0.019070344, 0.058834333, -0.0667278096, 0.0321634784, 0.0064586508, 0.0014832963, -0.0018852078, -0.0571389645, 0.0284779575, 0.0248233192, 0.0089292238, 0.0410447232, 0.0098402202, -0.033495836, -0.0117966067, 0.0148881059, -0.0163993891, -0.0718975812, -0.0338636786, 0.0373724513, -0.0418522619, 0.0514237098, -0.0500206761, -0.0538952574, 0.0360981002, -0.0178944897, 0.0420758165, 0.0514951199, -0.0207466222, 0.0188911837, -0.0620186664, 0.0275986027, 0.0512911081, 0.0233835746, -0.0236060135, 0.0213611405, -0.0590275228, -0.0455674753, -0.0352927186, 0.0311928019, -0.029351186, -0.0241865925, -0.0174320862, 0.0290679503, -0.0048437249, 0.0143231452, -0.0367342755, -0.002441457, -0.0249987561, 0.0189932864, -0.0124040209, 0.0169212073, -0.0509954281, 0.0408529826, 0.06110752, -0.0821673349, -0.0298908018, 0.0248264391, 0.0135734724, -0.0120093459, -0.0014222972, 0.0478480943, -0.0427189283, -0.0408698283, -0.0412661396, -0.0743698627, -0.0174613502, -0.0440885499, 0.0061383913, -0.1059346348, 0.0351217203, 0.0301840566, -0.037687812, -0.0203372948, 0.0132969525, 0.0432316884, -0.0131489588, 0.0159467701, -0.0166564975, 0.0139763216, 0.0066377912, 0.0116748856, -0.0253900718, 0.0882697925, -0.0011485271, 0.0144898538, 0.0182396937, 0.0036152697, -0.002132389, 0.034729328, 0.0321262516, -0.0116450982, -0.0453110561, -0.0272013303, -0.0129482467, 0.0233337898, 0.0040434245, 0.0281417891, -0.0720803961, 0.0570441559, 0.0359124281, 0.0161811057, 0.0469953306, -0.0148786902, 0.0845152661, -0.023522839, 0.0231230799, -0.0038621889, -0.049165681, 0.0033202758, -0.0589294396, 0.038098678, 0.0069860108, 0.0180096123, -0.0124214124, -0.0211486276, -0.0144284163, 0.0215833578, -0.0057760165, 0.0034986616, 0.0757890865, 0.0404756106, -0.011091833, 0.0186767764, 0.0128026437, -0.0744461119, 0.0113703525, -0.0665513277, 0.01354542, 0.0430990197, 0.089618817, 0.0220805388, -0.0480147935, 0.0363813564, 0.0011452743, 0.0430313051, 0.0522820838, -0.0187771171, 0.006904474, -0.0260741711, -0.0336728916, -0.0325155295, 0.0290111843, -0.0004064666, 0.075358741, -0.0097141815, 0.0398385078, -0.1054377258, 0.0197436903, 0.0323150307, -0.014989919, -0.024364816, -0.0395403542, 0.0002621369, 0.0058653788, 0.0160815436, -0.0254031159, 0.0311924238, 0.0332665034, 0.0018044186, -0.0088418117, 0.0241379477, -0.0158331431, -0.0367032103, 0.018836746, -0.0030222987, 0.0032723658, 0.0034153992, -0.00639896, -0.0452926457, 0.0185661502, -0.0340964422, 0.0696422309, -0.0407488532, 0.0221358556, -0.0093119033, -0.0167150386, -0.0309311058, 0.085976623, 0.0082220184, 0.0224582031, 0.0304330774, 0.0041114301, -0.0185108185, -0.04027519, -0.0135695618, -0.002113339, -0.0214493312, 0.0105509516, 0.0238675606, 0.0069232783, -0.0522860363, 0.0031575768, -0.1160888374, 0.0002196019, -0.0169906896, 0.0204767566, 0.0240597669, 0.0008023847, -0.0132242721, 0.0000143392, -0.0085695945, 0.0118467798, 0.0099967644, 0.0562715456, -0.0008390223, 0.0324193016, -0.0149466125, -0.0282884054, -0.0179611929, -0.0241040643, 0.0298956465, 0.0211353917, 0.0179183707, 0.0053614597, 0.0874003619, -0.0545007661, -0.0102642905, 0.0141142923, 0.0037746744, 0.0570214801, -0.0228900351, 0.0251481514, 0.0077761095, -0.0165226441, 0.0565628149, 0.0535594262, -0.0363792479, -0.0968830585, 0.002876634, -0.0016894045, -0.0301473029, 0.0036201335, -0.0436838642, 0.0016633092, 0.0342478417, 0.0288436767, 0.0128585398, -0.0287938826, 0.0439536758, -0.0184867959, -0.0711482167, -0.0274170786, -0.0112801418, -0.0128420088, 0.0221619233, -0.0156979375, -0.0513077527, 0.0759572238, -0.0293940641, 0.0025377718, -0.0113309668, 0.0243320372, 0.0125353625, 0.0412766188, 0.008936421, 0.0183591004, 0.001845142, -0.0010275928, -0.0697116554, 0.0048959125, 0.0382844023, -0.0342213623, 0.0134340599, -0.0553542972, 0.0146500897, -0.0093172397, -0.0169946905, -0.0460522212, -0.0165607575, 0.0069674104, 0.0277198087, 0.0265220646, -0.0075917938, -0.014927973, -0.0068393513, 0.0627210215, 0.0423851162, -0.0007286842, -0.0286196824, -0.0049804179, 0.0435642079, 0.0411441475, -0.0107279373, 0.0266361386, -0.0308959316, 0.0358082615, 0.0437538438, 0.0884383395, -0.010514739, -0.0230632629, -0.0192423332, 0.0144364983, -0.0235786568, -0.0117424177, 0.0506338216, 0.0348815359, -0.0835014731, -0.019761499, 0.0799237043, 0.0490425862, -0.0008024164, 0.0024422884, -0.0101891402, 0.0316696689, 0.0228356253, 0.0278708432, -0.1205113754, -0.0151617993, 0.0368996151, 0.0542911366, -0.0535618551, -0.0278800074, -0.0007019198, -0.1637590975, 0.0501149483, 0.0101063522, -0.0394000076, 0.0295666046, -0.0336815305, 0.012289471, 0.0333789475, 0.0153496396, 0.0647384599, -0.0147959935, 0.0335988924, 0.0155356787, 0.0063424716, -0.0745889544, -0.0055113537, -0.015098582, 0.0462694541, 0.0515448265, -0.0127001461, 0.0057368991, 0.0121902805, 0.0677692294, 0.0102658002, 0.0286142677, -0.0265959557, 0.0246028528, 0.0171208419, -0.0087597333, -0.0109034181, 0.0159264728, 0.0022152306, -0.0431740172, -0.0254351441, 0.0541255921, -0.0156296529, 0.0020899794, -0.0284180343, -0.0221993718, -0.0178312808, 0.0551634319, 0.0477024987, -0.0182587001, -0.020980753, -0.0141617488, -0.0076106191, -0.0716651604, -0.0075395256, 0.0067194952, 0.0104912696, -0.0133078545, -0.0484269671, -0.0727215558, 0.067755118, 0.0507773049, -0.0176829752, -0.0070840959, -0.0575784333, 0.0062602046, -0.0508870371, 0.0188329723, -0.0267670434, 0.0043554641, -0.0294859782, -0.0210591108, -0.0355953537, -0.0451570526, -0.0031750209, 0.02242296, -0.0507280529, -0.0772293136, -0.0093577579, 0.0535461828, 0.032273192, 0.0104271322, -0.0118543785, -0.0286675692, 0.039886754, 0.1092051342, -0.0171574894, 0.0151279792, -0.0198907163, -0.0431926958, 0.0060444907, 0.0026403109, -0.051692415, -0.0118684899, -0.0122457966, 0.0961548015, -0.0063413014, 0.0060754954, 0.060766574, 0.0218269471, 0.0421607643, -0.047145009, 0.0025507833, -0.0258429125, -0.0013581148, -0.0324204043, -0.0235925578, -0.0248594098, -0.0290809069, -0.034323737, 0.0261768904, 0.0337413214, 0.0099013522, -0.003315137, 0.0918412283, -0.0284559131, -0.0073863938, 0.0215720721, -0.0011830075, 0.0297442023, 0.0059298291, -0.0107443174, -0.0034436828, -0.0316710696, 0.0339227356, -0.0431608073, 0.0534473024, 0.0039528627, -0.0154555067, 0.010731006, -0.0046372842, -0.0501178317, -0.0587694198, -0.0390267484, 0.0065955687, 0.0419928096, -0.0038666916, 0.0387227088, -0.0492714904, -0.0148851583, -0.0114178751, -0.012704486, 0.0028815789, -0.0611015186, -0.0015480741, 0.0487170182, -0.0081363646, -0.0397795029, 0.0625065491, -0.0039374884, 0.0685277283, -0.0168125834, 0.0046608374, -0.0262877308, -0.047537379, 0.0360143892, 0.0274984948, -0.0103011075, -0.0333528891, -0.0793996155, -0.0733597353, -0.0227721874, 0.0323624983, 0.0004936858, 0.0120676588, 0.0358881578, 0.0885482728, -0.0071492367, -0.0162050053, -0.035060849, 0.0283345096, -0.0256212801, -0.0149960574, 0.0069836373, -5.828170786e-33, -0.0534464903, -0.035407573, 0.04049173, -0.0560348332, 0.0050780475, -0.0102837356, -0.0559562892, 0.0456400178, -0.0252333786, 0.0018126476, -0.002960993, -0.007507286, 0.0136911822, 0.0099912919, 0.0369689725, 0.0226609148, 0.040011853, 0.0009085216, -0.0566249564, -0.0038991217, 0.0607644618, -0.0066031786, 0.0426294133, -0.005885602, 0.0167640448, 0.011865004, -0.0224573668, -0.0015771744, -0.0155075192, 0.0638970509, 0.0315413512, 0.0660590604, 0.01474771, -0.0066289529, -0.0219276883, -0.0143697141, -0.0539201535, -0.0309449006, 0.0384690464, 0.0006817513, -0.0120005123, -0.0267490726, 0.0482735336, -0.034697216, -0.0252045132, 0.0272531006, 0.010745883, -0.0101149464, -0.0144018708, -0.0231906865, -0.0751491487, 0.0102757365, 0.007293357, -0.0469791815, -0.0133296, 0.0749047175, -0.0014014038, -0.0307619777, -0.0396967083, 0.0411039926, 0.0308758449, 0.0325626507, 0.1062161997, 0.0201916173, -0.0124592911, 0.0436706915, 0.0415348373, -0.0365201309, -0.0110462857, -0.0022675567, 0.0815181583, 0.0342938527, 0.0231693108, 0.0421349779, 0.0297646299, 0.0118632531, -0.0173321012, 0.0250887126, 0.0176716093, 0.0522587337, 0.0348622352, 0.0236369558, -0.0610075966, -0.0132024381, -0.037605796, -0.0136006363, -0.0494935736, -0.0581439473, 0.0531451069, 0.0363084711, -0.0144425277, -0.0333879441, 0.0365719609, 0.0032248141, 0.0200689472, 0.0196009018, -0.0342834815, 0.0575985089, -0.0224244092, 0.0064696274, -0.0431859419, -0.0254911594, 0.0362804905, 0.0302784517, 0.0099804373, 0.0123895342, 0.0040978235, 0.0357395001, -0.0540577546, 0.0022926023, -0.0528642125, 0.0187218711, 0.0065915831, -0.0731848106, 0.056576021, 0.0200923868, -0.0212584324, -0.0201100651, 0.0172093865, -0.0252409149, -0.0443740748, 0.0214252528, -0.0249951538, -0.0265558809, 0.000508161, 0.0148789268, -0.0265277326, 0.0109994728, 0.0206933767, -0.0166452453, -0.011944076, 0.0119412895, 2.635e-7, 0.0490415618, 0.0310634542, 0.0067833378, 0.0399592482, 0.0005011918, 0.0039777593, 0.0005897973, -0.0239253528, 0.0219965279, 0.0063431202, -0.0006955246, 0.0240195822, 0.0276679695, 0.05193967, -0.04296235, 0.0057486105, -0.0346147344, -0.0165351871, -0.0535143912, 0.0065021985, 0.0575341471, 0.0326682031, -0.008892606, -0.0047181943, -0.0161835905, -0.0761520118, 0.0511842072, 0.0137899807, -0.0134659037, -0.0056110248, -0.0120204436, 0.0442484096, 0.0345321596, 0.0223326627, -0.0152428225, 0.0023598657, -0.0073811663, 0.0144521343, 0.0006595272, -0.0205198787, -0.0037149377, -0.0461108647, -0.0000380936, -0.0784051567, 0.0597999357, -0.0514927395, 0.0169394389, -0.008805749, -0.0268196315, 0.0246945713, -0.0335882343, -0.0402809381, -0.0243804753, 0.0112662856, 0.0010747889, 0.02523911, -0.0321876332, -0.0287495181, -0.0514167845, 0.0695008636, -0.0415552147, -0.0924496129, -0.0542025603, -0.002513174, -0.0255374629, -0.0465449654, -0.0258712508, 2.575944112e-34, 0.0118092187, 0.0141661875, 0.0368336141, 0.0283964798, -0.0000475096, 0.0061530345, -0.0115738884, 0.0117496196, 0.0192063786, -0.0547774136, -0.0383416861 ]
http://arxiv.org/abs/2310.10054v1
http://arxiv.org/pdf/2310.10054v1
NASH: A Simple Unified Framework of Structured Pruning for Accelerating Encoder-Decoder Language Models
2023-10-16T04:27:36
2023-10-16T04:27:36
Jongwoo Ko, Seungjoon Park, Yujin Kim, Sumyeong Ahn, Du-Seong Chang, Euijai Ahn, Se-Young Yun
cs.CL
cs.CL, cs.AI, cs.LG
Structured pruning methods have proven effective in reducing the model size and accelerating inference speed in various network architectures such as Transformers. Despite the versatility of encoder-decoder models in numerous NLP tasks, the structured pruning methods on such models are relatively less explored compared to encoder-only models. In this study, we investigate the behavior of the structured pruning of the encoder-decoder models in the decoupled pruning perspective of the encoder and decoder component, respectively. Our findings highlight two insights: (1) the number of decoder layers is the dominant factor of inference speed, and (2) low sparsity in the pruned encoder network enhances generation quality. Motivated by these findings, we propose a simple and effective framework, NASH, that narrows the encoder and shortens the decoder networks of encoder-decoder models. Extensive experiments on diverse generation and inference tasks validate the effectiveness of our method in both speedup and output quality.
[ 0.0074242353, 0.0813546181, -0.0083593624, 0.056914974, -0.0240606591, 0.0023925393, 0.0023455457, 0.0096279755, -0.0758697018, 0.0101493746, 0.0045565637, -0.0167006701, 0.0003450472, 0.0058021359, 0.006725159, -0.0321778283, 0.0167351756, -0.0353910662, 0.0103333751, 0.0004334665, 0.0104925325, 0.0235872213, 0.0034834247, 0.064060092, 0.0190970059, -0.0147667751, -0.0095509905, 0.0148904929, -0.0398414545, -0.0042642904, 0.0069121588, 0.0501311496, -0.000851668, -0.0107059395, 0.0000021079, 0.0063072438, 0.0014298819, -0.0088665867, -0.0421715043, 0.052169349, 0.0280684102, -0.0657025203, -0.0004673212, 0.0299083032, -0.0023578592, -0.0788242966, 0.0531798899, 0.0394392572, 0.0349103771, 0.0875679627, -0.0087751253, -0.0501192436, 0.0058266316, -0.0446320586, -0.0710171014, -0.0373578146, 0.0045734686, -0.0088369232, -0.0429431573, -0.0058072843, -0.0300717894, 0.012157117, 0.0492406152, 0.0449516475, 0.007483114, 0.0596272759, -0.0029583557, -0.0175575279, 0.0024951298, 0.0204444323, -0.0615371726, -0.0293819923, -0.0041238535, -0.0213032626, -0.0244074818, -0.0243897159, -0.0285945702, 0.0257310383, -0.0189803094, 0.0247057211, -0.0006464807, 0.0142534077, 0.0281623974, -0.0114154173, 0.0011591889, 0.0506691262, 0.0346968435, 0.00906944, -0.0364763848, 0.0204470176, 0.0197855178, -0.0520696864, 0.0155118033, 0.0170227271, 0.0144853564, 0.0011064889, -0.0460064299, -0.0035138698, -0.0291143954, -0.0364136398, 0.0280383807, 0.0450758673, 0.0369998626, -0.000105538, -0.0314345695, 0.0442939065, -0.0138536002, -0.0053556813, -0.0578262061, -0.0244553275, 0.005623728, -0.0310455188, -0.054870937, 0.0377837718, -0.0615749024, -0.0380553044, -0.0355082825, 0.0043127625, -0.000599498, -0.0469740704, 0.062367335, 0.022525467, -0.022772463, -0.009015209, -0.0087402919, 0.0655454844, -0.0474975966, 0.0109338183, -0.0040720389, -0.0794511512, -0.0308520328, 0.0147165777, 0.0225041267, -0.0390127599, -0.008868413, 0.0651103854, -0.0206081849, -0.033519268, -0.0390754715, -0.0253145769, -0.0005096312, -0.0506455712, 0.0156412385, -0.069168821, 0.0401160344, -0.0019738537, 0.0044887601, -0.0793212727, -0.0136204921, 0.0215949621, -0.0234752372, 0.0134124029, 0.0007832673, 0.0194050651, 0.0016388467, -0.0060401894, 0.0191524681, 0.0819708481, 0.0277338978, 0.0151772154, -0.0086079743, -0.0413553864, 0.00719014, 0.0495058447, 0.0301810671, -0.0199548472, -0.0144053018, -0.0601185225, -0.0306750778, -0.0072985217, 0.0672835931, 0.0794792324, -0.0834150687, -0.0157321263, 0.0438071564, 0.0003714401, 0.0403341241, 0.0498633906, 0.0478779152, -0.0041045896, -0.0045008166, 0.0421844386, -0.0165795516, 0.030037852, 0.0051366715, -0.0092788786, -0.0186198484, 0.052862931, -0.057630688, -0.0294020865, -0.0236109495, -0.0008701425, 0.0224937554, -0.0036060249, 0.0544116907, 0.0557667278, -0.0679249614, 0.1029723138, 0.0264656395, -0.064047575, 0.026061384, -0.0311166309, -0.0453501083, 0.0547890328, 0.055263076, 0.0485191979, -0.018276548, 0.0601098612, -0.0404477194, 0.0276479106, 0.0232978407, -0.0227933694, 0.0242556147, -0.0655924827, -0.0093908021, -0.0145488502, 0.0406701081, -0.0018775881, 0.0435510315, -0.0208656806, 0.0315850042, -0.0377263352, -0.0031622727, 0.0325239673, -0.0309741553, -0.0013619127, 0.0141066853, 0.0037074129, 0.0099483933, -0.0001116188, -0.0068192296, 0.0231060758, 0.0337461494, -0.0516708121, 0.0140809612, 0.0031575267, -0.0519104488, -0.0924107507, 0.0102674309, -0.0419540815, 0.0362577662, 0.0782647058, -0.0392827392, -0.0233372841, 0.02778605, -0.0696475729, 0.0302731954, -0.0370666943, 0.0230477899, -0.0026152355, 0.0225862544, 0.007957031, 0.0567282103, -0.0226410981, 0.0142270606, 0.0379633941, -0.0127765518, -0.0051268726, -0.0422516838, -0.0189771317, 0.0151165705, -0.0437605157, -0.0193377919, 0.0338548422, -0.0086101182, 0.0271547772, -0.0180536881, -0.0348374657, 0.0000526032, -0.0268491972, 0.0296346359, 0.0264199935, 0.0462659746, 0.0363053195, 0.0162563436, 0.0095913885, 0.008311417, 0.0262718815, 0.0385033228, -0.0039800517, -0.0088271489, -0.0669028312, -0.0084339418, -0.047358349, 0.03112044, 0.0817414597, -0.0454491079, -0.0522913486, -0.0343546905, 0.0315454267, -0.008121999, 0.0367196165, -0.0162068252, -0.048531048, -0.0104780681, 0.0097442409, 0.0174134467, 0.0094180126, -0.0158919338, 0.0812214613, 0.0358685851, 0.013004547, -0.0334408619, 0.0139341243, -0.0582360178, 0.0009618687, -0.0437395498, -0.0590074658, 0.0128515828, 0.1052762866, 0.0267064441, 0.00714212, -0.0846318081, -0.0086892843, -0.0038732917, -0.0330169424, -0.0035551402, -0.0530975685, 0.0117547316, 0.0327071771, -0.0345671996, -0.0083825802, 0.0362580456, -0.0411974452, -0.0017373029, -0.0081190607, 0.0117415693, -0.0297504421, 0.0491836518, 0.0499687344, 0.0294535216, 0.0147257568, -0.043135304, -0.0330102071, 0.0353876874, 0.0166670252, -0.0184002835, 0.0160871521, -0.0513866767, 0.0248492993, -0.006964026, -0.0413759686, -0.0335781574, 0.0277534015, -0.0146723315, 0.0452731326, 0.0662852153, 0.009838501, -0.011979199, 0.0484253354, -0.0484209545, 0.044403322, 0.0103626875, 0.0232974291, -0.0193906948, 0.0640526786, 0.0469006822, -0.0173649359, 0.0230278615, -0.0421885699, 0.0230958983, 0.0596317872, 0.0046925815, 0.0454102792, -0.0560748875, -0.001254209, 0.0364445113, 0.0013357876, 0.0012720862, 0.0145299891, 0.0636875629, -0.0505783707, -0.0457779653, 0.1015365347, 0.0136996834, -0.0279899202, 0.0320772044, 0.0477449484, 0.0569011383, 0.0047641438, 0.0127757033, -0.0429870002, -0.0259963647, 0.0163592584, -0.0117049245, 0.0129919965, -0.0076509537, -0.0141383084, -0.1439017206, 0.0168291163, -0.0039265468, -0.0244867094, -0.0296797268, -0.0532330833, -0.025367517, -0.0168864019, 0.0059082857, 0.0390038528, 0.0103755482, -0.0056101847, 0.0306582544, -0.0289661903, -0.0654585585, -0.0136476066, -0.0142207388, 0.0241017435, 0.0578831919, -0.0135329841, 0.0203403495, -0.046051234, 0.0699920431, -0.0341915637, 0.0081544034, -0.0207890645, 0.0535659865, 0.0031825528, 0.0004889784, -0.0047976268, -0.0004150275, -0.042331744, 0.0013894866, -0.061764922, 0.0524914376, -0.0005923659, -0.0615828671, -0.0102261025, -0.0051476951, -0.0335717499, 0.0565031804, 0.0453753807, 0.0002190524, -0.0627407506, -0.0140566295, 0.002969637, -0.0726771951, -0.0290623233, 0.0286118537, 0.0434181429, -0.0844884068, -0.037066225, -0.0110353213, 0.0159820318, -0.0112632057, -0.0257620327, -0.0152547229, 0.0559085347, 0.0050371117, -0.0276922323, -0.0028664721, -0.0129597038, 0.0125062922, -0.0176104549, 0.0083061568, 0.0192708671, 0.0128744356, -0.0198874287, -0.0046080849, -0.1186344326, -0.040303465, -0.0418670774, 0.0335493088, 0.020235382, 0.0403058417, -0.0063587013, -0.0518571883, -0.0334046856, 0.0158500653, -0.0397350565, 0.0450069606, -0.0110998116, -0.0723383501, -0.0058786874, 0.0602702796, -0.021505069, 0.0458604172, -0.0039918558, 0.0679455549, 0.0049769809, -0.0197101403, 0.0235940665, 0.013728383, 0.0234852992, 0.0055128168, 0.0014638987, -0.0232562739, 0.0239704009, -0.0212330762, 0.0052110632, -0.061869096, 0.0174825583, 0.028024571, 0.0518079512, -0.0086498, 0.0235112738, 0.0535210297, 0.0217529051, -0.0090445336, -0.0122325309, 0.0350469947, -0.0378950201, 0.0404916219, -0.0041117044, -0.0347025022, -0.0162668936, -0.0079690889, -0.0050186757, -0.0461628959, -0.0020160414, 0.0287489891, 0.0289809052, -0.0589050539, -0.0075712404, -0.0076602418, -0.0359727368, -0.0545925088, -0.0018777495, 0.0298803858, -0.0029837224, 0.0474058986, -0.0051468075, 0.0095865829, -0.0302557889, 0.0236285497, 0.0244230907, -0.0392178334, 0.0388487801, 0.006462744, -0.004425616, -0.0539509095, 0.0921180248, 0.0217470061, 0.0666859299, -0.0333261825, 0.0134268347, -0.0318106301, -0.0535637625, -0.0563689023, 0.0023906943, -0.0123705436, 0.0358294137, -0.0283269398, -0.0617267825, -0.0278064478, -0.0081687653, 0.0519132912, -0.0258038659, 0.0635341182, 0.0506540574, -0.0070544239, -0.0402592607, -0.0002895964, -0.0212742724, -0.0299022309, -0.0144544365, -0.036633946, -6.749127999e-33, -0.0243202504, -0.0067542191, 0.0424100608, -0.0189497527, -0.0440435149, 0.0175159369, -0.0554079339, -0.0257289577, -0.0329748727, 0.0108621232, 0.0078001046, 0.0181159843, 0.0016233693, 0.0516522676, -0.0183797292, -0.0120732356, 0.0761641636, 0.0001001299, -0.030297881, 0.0173397083, 0.0056235241, 0.0223593879, 0.0376170576, -0.0107412003, -0.0623303801, 0.0058436957, -0.0100494968, 0.0134916296, 0.012021523, 0.0279423967, -0.0180241466, 0.0318183452, 0.0383474529, -0.0656995997, 0.00435255, 0.0069906646, -0.1050036624, -0.0072962372, 0.021244226, 0.0446885191, -0.0314367712, -0.0526657067, 0.0498396792, 0.0370909497, -0.0212966967, -0.0241803285, 0.0025261266, -0.0006932808, -0.0361182205, -0.0591678172, -0.0496295057, 0.031500563, 0.0054423828, -0.0348327234, 0.0269205067, 0.0590227097, -0.0438935868, 0.0116919028, -0.0406574085, -0.0107515762, 0.0331659988, 0.0866666883, 0.057545159, 0.0160514284, -0.012271978, 0.0306332652, 0.0135194575, -0.016214788, -0.0399243832, 0.0331587829, 0.0259908885, 0.0604743063, 0.0542465001, -0.0235895757, 0.0472564846, -0.0166392513, -0.0657814443, -0.0103883957, -0.0164054185, 0.0535902642, 0.0485101528, 0.0262688324, -0.0053001605, -0.0430890881, -0.037163958, -0.0321994647, -0.0238759127, -0.0210844073, 0.0152437147, 0.0575509258, -0.0316700749, 0.0036444375, 0.0310269054, -0.0390718952, 0.0069560665, 0.0558146238, -0.0071643228, 0.0336024687, 0.0009671823, 0.0313500874, -0.0449800193, 0.0020811083, -0.0034444174, -0.0064102625, 0.0012724567, 0.0069087367, 0.0059289755, 0.0143837221, -0.0382265262, -0.0243553109, -0.075211145, 0.0251346808, -0.0136396186, 0.0752653927, 0.0396445356, 0.0416975394, -0.0307870694, 0.0273583531, 0.0002818815, 0.0102557819, -0.0289071519, 0.0201543625, 0.0445384048, 0.0333830491, -0.0174349677, -0.0015920656, -0.0714005455, 0.017960405, 0.0405386277, -0.0609189086, -0.0526492447, 0.0436208434, 2.718e-7, 0.0384138413, 0.00130254, 0.0532899275, 0.0369879454, 0.0374264196, -0.0116655529, 0.0261850487, 0.0052393298, 0.007913366, -0.0213644449, -0.0035579922, 0.033978425, 0.0472868942, 0.0019918557, -0.0687765256, 0.033148203, -0.0778401271, -0.0126065016, 0.0062374594, -0.0346438959, 0.0150122354, 0.0721623525, -0.0311252475, -0.0044057793, -0.0047347588, 0.0123465518, 0.0473938622, 0.0086107543, 0.015604753, 0.0336074829, -0.0123041486, -0.0311231371, 0.0114046847, 0.0043570083, -0.0051805652, 0.0022505105, -0.0090888459, 0.0804664195, -0.0016826491, -0.0251101349, 0.0257453583, 0.0012821344, -0.0331147462, -0.0093158036, 0.0781490877, -0.0482488982, -0.0176151544, -0.0067746122, -0.0342709608, 0.046305649, -0.0585869811, 0.0123818154, -0.0083984453, 0.0302364901, 0.0360901318, -0.0162875187, -0.0230126418, -0.0486725196, -0.0135976169, -0.0113220671, -0.0497911274, -0.0368553847, -0.0264810715, -0.0204166677, 0.0438539013, -0.0267951638, -0.0166203305, 2.472956572e-34, 0.0189373512, -0.0010386863, 0.008793653, 0.0715570822, 0.0252118781, -0.0455917269, 0.0011122144, 0.013477819, -0.0361902788, -0.0623720847, -0.0327709392 ]
http://arxiv.org/abs/2310.10050v1
http://arxiv.org/pdf/2310.10050v1
EfficientOCR: An Extensible, Open-Source Package for Efficiently Digitizing World Knowledge
2023-10-16T04:20:16
2023-10-16T04:20:16
Tom Bryan, Jacob Carlson, Abhishek Arora, Melissa Dell
cs.CV
cs.CV, cs.CL, econ.GN, q-fin.EC
Billions of public domain documents remain trapped in hard copy or lack an accurate digitization. Modern natural language processing methods cannot be used to index, retrieve, and summarize their texts; conduct computational textual analyses; or extract information for statistical analyses, and these texts cannot be incorporated into language model training. Given the diversity and sheer quantity of public domain texts, liberating them at scale requires optical character recognition (OCR) that is accurate, extremely cheap to deploy, and sample-efficient to customize to novel collections, languages, and character sets. Existing OCR engines, largely designed for small-scale commercial applications in high resource languages, often fall short of these requirements. EffOCR (EfficientOCR), a novel open-source OCR package, meets both the computational and sample efficiency requirements for liberating texts at scale by abandoning the sequence-to-sequence architecture typically used for OCR, which takes representations from a learned vision model as inputs to a learned language model. Instead, EffOCR models OCR as a character or word-level image retrieval problem. EffOCR is cheap and sample efficient to train, as the model only needs to learn characters' visual appearance and not how they are used in sequence to form language. Models in the EffOCR model zoo can be deployed off-the-shelf with only a few lines of code. Importantly, EffOCR also allows for easy, sample efficient customization with a simple model training interface and minimal labeling requirements due to its sample efficiency. We illustrate the utility of EffOCR by cheaply and accurately digitizing 20 million historical U.S. newspaper scans, evaluating zero-shot performance on randomly selected documents from the U.S. National Archives, and accurately digitizing Japanese documents for which all other OCR solutions failed.
[ 0.0096213752, 0.1152433679, 0.0449351072, 0.0498201884, -0.0362734757, 0.0335811935, 0.0237712767, 0.0344441719, -0.0032298681, -0.0113219963, -0.0054973457, 0.0389682762, 0.0576512255, 0.0281376522, -0.0490967855, -0.0647797957, 0.0028964239, -0.0371832065, -0.0090478361, -0.0104318568, 0.0108925765, 0.0179501604, 0.0036768375, 0.0039093625, 0.0192966387, -0.002198346, -0.0389986336, 0.0172850601, 0.0182910673, 0.0148275318, -0.026021447, 0.0176998172, 0.0303730369, 0.0724682435, 0.000002133, -0.0485737883, -0.0552999228, 0.0207361281, -0.0047776503, 0.0395321101, 0.1169568971, -0.0669792295, -0.0330179073, -0.0204207562, 0.0242210701, -0.0241593327, 0.0909359828, 0.058299467, 0.0024676409, 0.0695408955, -0.0303351339, -0.0401472524, -0.0099830534, -0.0154230688, -0.0347542614, -0.0021606386, 0.0190877933, -0.0117303105, -0.0419914462, 0.0230800081, -0.0101758419, 0.0460826196, -0.0181558616, -0.0233163349, -0.0227942485, 0.029662637, -0.0152782751, -0.0090889735, -0.0013345698, 0.0329775922, -0.0133014945, -0.0320749618, 0.0323763527, 0.0128835207, -0.04550834, 0.0086434884, -0.0285927784, 0.0258471873, -0.0304443259, 0.0147876572, -0.0149930269, -0.0214776378, 0.0043658637, 0.0160292834, -0.0334993787, 0.0184575859, 0.0177989732, -0.0314843133, 0.0096951658, -0.0052710501, -0.0037806476, -0.0216041282, 0.0408418626, 0.0211573746, 0.0703394189, 0.0074835084, -0.0432721339, -0.0867693275, 0.0276273638, -0.0279183816, 0.0412748903, 0.0318975039, -0.0423796289, 0.0682813078, -0.0192485098, 0.0666721016, -0.0121818297, 0.035768684, 0.0052718059, -0.0279909372, -0.0443756618, -0.0139513686, -0.0551710315, -0.0050080568, -0.0284360927, -0.0376531482, -0.0217723493, -0.0258483011, 0.0055939592, -0.0119720697, 0.0039114296, -0.0132792806, -0.0041156253, -0.0356309749, -0.024737915, 0.0442837514, 0.0223410744, -0.0114263659, -0.0368097834, -0.021306539, 0.0032512508, 0.0170204528, 0.0851717666, 0.0049569099, 0.0266556535, 0.0272675306, -0.0349962935, -0.0620652847, -0.018571198, -0.0066954275, -0.0273340959, -0.0421156436, 0.0041064871, -0.0580222011, 0.0270314775, -0.0119349947, 0.0191138685, -0.0208309591, 0.0067551327, 0.0171319209, -0.0314867832, 0.0751245469, -0.0249535367, -0.0274560228, 0.0579035915, 0.002341355, 0.0405330993, 0.0243740864, 0.0284047835, 0.0383994021, 0.0629875287, 0.0015418967, 0.0145079708, 0.0690170676, -0.0156485643, -0.0074794423, 0.0200997852, -0.0231268723, 0.0027727042, 0.0081872782, 0.0674939603, 0.0371299088, -0.0357214995, -0.0030849564, 0.0448709503, 0.0654887408, -0.0099130506, 0.0003278594, -0.0128212934, 0.0136095006, 0.0115871457, -0.0371558852, -0.016271593, 0.0165495835, 0.024028644, 0.0111327348, -0.0250643939, 0.0312095657, 0.0033523266, -0.0059698382, -0.0039564283, -0.0406653471, 0.0097957021, 0.0089568058, 0.1124526188, 0.0064451015, -0.0593165718, 0.0533554703, 0.0113887424, -0.0636289269, -0.0218611471, -0.0353836156, 0.0222556982, 0.0582311563, 0.0957001448, -0.0754571483, 0.0511362925, 0.0141769461, 0.0018349529, 0.0543050654, 0.0252116807, -0.0040723491, 0.0387766287, -0.089979656, -0.0341198891, 0.0267226547, -0.0164475292, 0.0463140309, 0.0301732961, 0.053844966, 0.0195407569, -0.0110206651, -0.0509713627, 0.047592029, -0.0254637748, -0.046449475, -0.0259182993, 0.0403464474, 0.0213332735, 0.0168494061, -0.0254294723, -0.0208926853, 0.032686837, -0.0388543978, -0.0031385163, -0.0147507889, -0.0112336613, 0.0212843269, 0.0491478778, -0.0480218977, 0.0353873484, 0.0624859631, -0.0375186019, -0.0266328435, 0.0157969557, -0.000345477, 0.0180884041, -0.0634779558, 0.0189855676, -0.0319592915, 0.0126782432, -0.0162041839, 0.0337006375, 0.004494451, -0.0306645148, 0.0547286496, -0.0695317537, 0.0339833237, -0.0326201506, -0.0219156854, -0.0121303406, -0.008534289, 0.0021707735, 0.0217342656, 0.0267706066, -0.0214849487, -0.0391779579, -0.0968170539, -0.0058624917, -0.0065365899, -0.0127635645, -0.0026007227, 0.0138569809, 0.0272452012, -0.0210077241, 0.01696565, 0.0402379259, -0.0142592816, -0.0120452046, 0.0316307098, -0.016789401, -0.0255533736, 0.0022885373, -0.0173062664, 0.0335817114, 0.0118936123, 0.0143246306, -0.0597936809, -0.0367534868, 0.0275690574, -0.0004362683, 0.0206902083, -0.0256145075, -0.0002077591, -0.0092455409, -0.0444102213, -0.0552074388, 0.0638106763, -0.0073614847, -0.0234360155, 0.014360304, -0.0294925421, -0.0458640754, -0.0141209522, -0.00432311, -0.0099107828, 0.0199843403, -0.0136144906, 0.0080285892, 0.0279252194, -0.0202563461, 0.054738909, -0.0199248828, -0.0454927869, -0.0166849475, -0.0364234187, -0.0665435493, -0.0138920378, -0.0045069926, 0.0166515056, -0.059546683, -0.0266091842, 0.021466054, -0.0307443738, -0.0194030404, -0.0097130947, 0.0238186326, -0.0510518812, 0.0545995384, 0.0097225187, 0.0340223387, 0.0577508844, -0.0401659496, 0.0081693865, 0.0183002744, 0.0378157124, -0.0688176677, 0.012892995, -0.046535667, 0.0435876139, -0.0358388238, -0.0280157365, 0.0073324591, -0.0152867623, -0.0271146614, -0.0179322157, -0.0550896376, -0.03752435, -0.0397973172, 0.0655074865, 0.0469525233, 0.0892628804, 0.0081117908, 0.0048931991, -0.0111382185, 0.0804726183, 0.0289469343, -0.0046585519, -0.0163172949, -0.0316976681, -0.0205369294, 0.0372264795, 0.0136564914, -0.0076381252, -0.0071458425, 0.0218842514, 0.034088742, -0.013729047, 0.0224336572, -0.0386936255, 0.0189882889, -0.0640477911, -0.0068357522, 0.0791794285, 0.0132871587, -0.0549341738, -0.0742610097, -0.0255713649, -0.0226811729, -0.0010013493, -0.0121037615, -0.1048927233, -0.0263299681, 0.0280343201, 0.0586551689, -0.011649684, -0.0141528109, 0.0032411497, -0.0953351855, 0.0273757558, 0.0106399674, -0.0123023493, -0.0400582924, -0.0609486699, -0.0104450341, -0.0345058553, -0.0437708013, 0.0046355706, -0.0018135888, -0.0291881058, -0.0189819019, 0.0174450353, 0.0069111516, -0.0153144607, -0.0181611888, -0.0153326895, 0.0541893318, 0.0418989919, -0.0033927299, -0.0171271563, 0.010265653, 0.0118576419, -0.0174851771, -0.0408453979, 0.1188791469, 0.0409038402, -0.00962839, -0.0212881267, 0.0378896967, -0.0197038669, -0.0109573994, 0.0075116227, -0.0160166454, 0.0442573801, -0.0006204427, -0.0012415141, -0.0430027619, -0.007436262, 0.0244329032, -0.0183180179, -0.0144716585, -0.0333213657, -0.0308830477, 0.0387445763, -0.0738422722, -0.0362744369, 0.0017868468, -0.0252318513, -0.0939699337, -0.0358167663, -0.0024462179, 0.0002569084, 0.0229728799, 0.0307419226, -0.0435669497, 0.0258747824, 0.000872008, -0.0660178065, -0.0035833814, -0.0957681835, -0.0129138473, -0.062724404, 0.0208895318, 0.0075269896, 0.0006083592, -0.0112770004, 0.0228974577, -0.0529593788, -0.0354088023, 0.0574305914, 0.0646619573, 0.0186054278, -0.0170033257, 0.0288905948, -0.0288462657, 0.0676821694, 0.0265755318, 0.0291568395, 0.0004735476, 0.0023102057, -0.0276716743, -0.0470307842, 0.0153234741, -0.0318499692, 0.0017753533, 0.0030284126, -0.046312172, -0.0558893606, -0.0657471344, -0.0085417554, 0.017393047, 0.0313267447, -0.0386958495, 0.0060037146, -0.0419533662, 0.0049091429, 0.0012910415, 0.0086489031, -0.0227195732, -0.0136601664, 0.0237708073, 0.0142611731, 0.008483612, 0.0760776848, 0.0321875401, 0.0282626934, -0.0364278965, 0.0360380784, 0.0045095859, 0.0501949899, -0.0051373821, 0.002979812, -0.0023412297, 0.067862615, -0.0188925564, 0.0484714657, -0.0125165572, 0.0471868664, 0.0009689716, 0.0257563554, -0.0030362506, 0.0065009478, -0.0387473665, -0.0136836777, -0.0335617885, 0.0519075431, 0.090075396, -0.0235402137, 0.072519511, -0.0400295742, -0.0465871096, -0.0353558064, -0.0016827077, 0.0397149883, -0.0118548637, -0.0453941934, 0.0399987884, 0.0177914631, 0.025405772, 0.0653890073, -0.0015091057, 0.021117609, 0.0204875804, -0.0215880759, -0.0436812751, 0.0001908404, 0.0347792469, -0.0336793922, -0.0370781496, -0.0340754613, -0.0035740945, -0.002127368, 0.0568412766, 0.0029500555, -0.0292111859, -0.0004955372, 0.0193035621, -0.0066619418, -0.0301954653, 0.0167679787, -0.0159776751, 0.0160582084, -0.0144671472, -0.0450518578, 0.022888016, -5.769234071e-33, 0.0185174812, 0.0031705946, -0.0139339538, 0.0051748566, -0.0161112752, 0.0181908365, -0.0240884107, -0.0100927008, -0.0015336889, -0.0094199693, -0.024922885, -0.0271120071, 0.041906327, 0.0322884917, -0.0100214807, 0.0386599973, 0.0457299501, -0.0237899926, -0.0210555997, -0.0133625912, 0.0672423393, 0.029937055, 0.022036558, -0.0622355528, 0.0205597226, -0.0049974951, -0.0340050943, -0.0281901397, 0.0578406081, 0.0170414709, -0.0305261984, 0.0168156307, 0.0027810559, -0.0388004296, 0.0138184661, 0.0565936714, -0.1440778822, 0.0543734916, -0.0588290021, 0.0515581407, 0.0050200699, -0.0460314453, -0.0082795946, -0.0046409317, 0.0098601161, -0.029421445, 0.0406949148, -0.0281769987, -0.017824322, -0.0001550329, -0.0304605849, 0.0208035726, -0.0194646306, -0.0065199458, 0.103284739, -0.019504467, 0.0258872937, 0.0410329401, -0.05244416, 0.00118496, 0.0108467862, 0.029157538, 0.0231465045, 0.0496096537, -0.003562978, -0.0029003692, 0.0377553888, -0.042115014, 0.0102733271, -0.0159604941, 0.0417535827, -0.0189963393, 0.0108919824, 0.1091133058, 0.1076925471, -0.0367604606, -0.0304652918, 0.0276641566, 0.0045481999, 0.0437491871, 0.0297790505, 0.0097124344, -0.0130319847, 0.0141508896, -0.0021721181, -0.0343195796, -0.0412038267, 0.0164116286, 0.0161370691, 0.0518439487, -0.0472839102, -0.0134182665, 0.0478055514, -0.0437442996, -0.0282207336, 0.0141331973, 0.0276677851, 0.0464981087, -0.0282735638, -0.0025209871, -0.0701430887, -0.0319365412, 0.0051827859, 0.0214813165, 0.0019346819, -0.0200312193, 0.0417825654, 0.0265883282, -0.0481383018, 0.015456521, 0.0071176635, -0.0003547286, 0.0312052313, 0.0734263882, -0.0130830873, -0.0183689427, 0.0371010453, -0.0285327155, 0.0374664068, 0.0001777337, -0.0159899238, -0.0467789881, 0.0122392913, -0.0131388968, 0.0012746154, 0.017587686, -0.0251212344, 0.020333387, -0.0014680785, -0.0375146158, 0.0085101873, 0.039913211, 2.659e-7, 0.043056082, 0.0147988889, 0.0731653124, 0.0191866811, -0.023596257, 0.0383652858, -0.017333867, 0.0123527106, -0.0241232663, -0.0185048245, 0.0558443516, 0.0290058274, 0.107171461, -0.0030963814, -0.1223066822, -0.0056430516, 0.0063066864, -0.0088896109, -0.0351364203, 0.0048000873, 0.0073734601, 0.033680968, -0.0249291211, -0.0525362715, 0.0035344965, -0.0349672437, 0.0687882155, -0.0036569946, 0.0288011059, -0.0178292356, 0.0107142553, 0.0202828534, -0.0482129045, -0.0235703941, -0.0064271828, 0.0097200638, 0.0318130925, 0.0715223551, -0.024257021, -0.0337577164, 0.0022947015, -0.0096270116, -0.0288301613, -0.0285291355, 0.0553967804, 0.0335115194, 0.0309961215, -0.0126301274, -0.0340230241, 0.0200502854, 0.0026466835, -0.0197876375, -0.0549908951, 0.0413120389, 0.0390531234, -0.0370002352, -0.0241033807, -0.0656684563, 0.015521653, -0.0503654405, 0.0086469026, 0.0047582178, -0.0509424359, 0.0013634936, 0.0281198956, -0.042043183, 0.0191995408, 2.418188867e-34, 0.034568157, -0.0303921998, -0.0335196815, 0.0172106978, 0.0029708273, -0.03278381, -0.0113655021, -0.0154448031, -0.041414842, -0.0704455525, 0.0054635862 ]
http://arxiv.org/abs/2310.10047v1
http://arxiv.org/pdf/2310.10047v1
Improving Large Language Model Fine-tuning for Solving Math Problems
2023-10-16T04:11:19
2023-10-16T04:11:19
Yixin Liu, Avi Singh, C. Daniel Freeman, John D. Co-Reyes, Peter J. Liu
cs.CL
cs.CL
Despite their success in many natural language tasks, solving math problems remains a significant challenge for large language models (LLMs). A large gap exists between LLMs' pass-at-one and pass-at-N performance in solving math problems, suggesting LLMs might be close to finding correct solutions, motivating our exploration of fine-tuning methods to unlock LLMs' performance. Using the challenging MATH dataset, we investigate three fine-tuning strategies: (1) solution fine-tuning, where we fine-tune to generate a detailed solution for a given math problem; (2) solution-cluster re-ranking, where the LLM is fine-tuned as a solution verifier/evaluator to choose among generated candidate solution clusters; (3) multi-task sequential fine-tuning, which integrates both solution generation and evaluation tasks together efficiently to enhance the LLM performance. With these methods, we present a thorough empirical study on a series of PaLM 2 models and find: (1) The quality and style of the step-by-step solutions used for fine-tuning can make a significant impact on the model performance; (2) While solution re-ranking and majority voting are both effective for improving the model performance when used separately, they can also be used together for an even greater performance boost; (3) Multi-task fine-tuning that sequentially separates the solution generation and evaluation tasks can offer improved performance compared with the solution fine-tuning baseline. Guided by these insights, we design a fine-tuning recipe that yields approximately 58.8% accuracy on the MATH dataset with fine-tuned PaLM 2-L models, an 11.2% accuracy improvement over the few-shot performance of pre-trained PaLM 2-L model with majority voting.
[ 0.0027739687, 0.0773467422, 0.0115337567, 0.027804954, -0.0431818366, 0.0302326046, 0.014383493, -0.0032644896, -0.03741372, -0.0753773972, -0.032648053, 0.018127678, 0.0045306631, 0.0150728049, 0.0262657497, -0.0189428627, 0.0328976735, -0.041620966, 0.0108142551, -0.0052964441, -0.0299164671, 0.0053723115, -0.0126027893, 0.0123158442, -0.025479177, -0.0565655716, 0.041903235, -0.0561739206, 0.0104827937, -0.018319793, 0.0341757499, 0.0784953609, 0.0035351969, 0.0401026085, 0.0000023386, -0.0367564932, -0.0130176535, 0.0219092928, -0.0356596708, 0.028576443, 0.0021278113, 0.0004249488, 0.0030972322, 0.0372917093, -0.0600976944, -0.0046011233, -0.0023383661, 0.0364903808, 0.0658834651, 0.0409394093, 0.0067763398, -0.037349619, 0.0238633715, -0.0312619917, -0.0129700573, -0.0567874648, 0.025945425, 0.032815747, 0.0266489685, -0.0004505299, -0.0422942005, 0.033213634, 0.0405907929, -0.0037403272, 0.01291731, 0.0052975407, -0.0737833977, 0.0126356371, 0.0152576426, 0.0660837144, -0.0547778085, -0.00543109, -0.0259004086, -0.0188319162, -0.0108242556, 0.0180543493, -0.0573829301, -0.0000508334, 0.0157190021, -0.0106532034, 0.0072725932, -0.0140798986, 0.0360213891, 0.0142696816, -0.0593689159, 0.0735224932, 0.0228392221, -0.0144865783, -0.0091155721, -0.008924284, -0.0733546689, -0.0452104621, 0.0501739383, 0.0320936702, -0.0208386742, -0.0009645374, -0.024514135, -0.0583967231, -0.0124831432, -0.0193655249, 0.0827254057, 0.0496249497, 0.0159266032, 0.0434665792, -0.026410142, 0.0554116108, -0.0181264374, 0.0093659777, -0.030807266, 0.0101204328, -0.0199756194, 0.0008202257, -0.0307384674, 0.039497409, -0.0405365042, -0.0102076856, -0.0369867682, 0.0066491961, 0.0009332419, 0.006367621, 0.0395427942, -0.0097265365, 0.0083233137, -0.0241339058, -0.0152672259, 0.0554236956, -0.0565227009, 0.0224694815, -0.0094432198, -0.0342835188, -0.006530616, 0.00303161, -0.0135454461, -0.0422570072, 0.0363613777, 0.0734463707, -0.0019085967, 0.0000695339, 0.0037007995, -0.0092755174, -0.0042052618, -0.1025308445, -0.0214575045, -0.0884246901, 0.0440875143, 0.0336802043, 0.0045190318, 0.0055232029, 0.0038141361, 0.0097748023, 0.0179483853, 0.0528624766, 0.0325808488, -0.004366227, 0.0485376194, -0.0007714362, -0.0229106098, 0.039230749, 0.0474323258, -0.010448602, 0.0013125229, -0.0447141267, 0.0168584827, 0.0427911803, -0.0098468876, 0.0040847957, 0.0092955567, 0.019215785, 0.0388392732, 0.0303513687, -0.0283888001, 0.026646778, -0.0577186607, -0.0122294361, 0.0192939881, 0.0548957475, 0.0171152782, 0.019465616, 0.0019608175, -0.0159626752, 0.0257183369, -0.0268137529, -0.0827590227, 0.023796387, -0.0386722684, -0.0167544354, -0.0002832995, 0.0279865507, -0.012694845, -0.0675878003, -0.0092610531, 0.0147938766, -0.0220336299, 0.0299322382, 0.0815368816, -0.0222190227, -0.0058834879, 0.0512209274, -0.0064912136, -0.0214826073, 0.0015797168, -0.0310466718, 0.0315046757, 0.0038839751, 0.0548830554, -0.0191953313, -0.0614472926, -0.0019102329, 0.0179493167, -0.0090723466, 0.0441576913, -0.0207669325, -0.0211523287, -0.0540348478, -0.017928971, -0.0256083123, 0.0072727329, -0.0093918797, 0.0408163816, 0.0137416031, 0.0122413728, -0.0007596963, -0.0038100004, 0.0129107777, -0.0270883255, -0.0355862752, 0.0175149459, 0.0013004289, 0.0167256184, -0.0277278181, 0.0221439153, 0.0362756923, 0.0187901855, -0.0284141507, -0.0068617114, -0.0482263677, -0.0547045022, -0.034170948, 0.0591528341, -0.0256820116, -0.0281106867, 0.0314489901, -0.0532345064, -0.0285852756, 0.0396213047, -0.0159491338, -0.025209073, -0.0085666124, 0.0422957949, -0.0017233995, -0.018833749, -0.0367145091, 0.0590851754, 0.0033209759, 0.0282991417, -0.00507358, 0.0051668817, 0.0184685234, -0.0036408517, 0.0010679499, -0.0198171567, -0.0237581246, 0.0345601626, 0.001385932, 0.0245655719, -0.040843267, -0.0618003868, -0.0396291651, 0.0207387134, -0.0168547556, 0.0430012159, -0.0072025526, -0.0171291661, -0.0045928014, -0.012752302, -0.0465427972, -0.0382746682, 0.0144725088, -0.0074478337, 0.0116064018, 0.0111392029, -0.0140541615, -0.0551697873, -0.0406143814, -0.0179321971, 0.0334062278, 0.001737161, 0.0603773184, -0.0357997231, 0.0521514975, -0.0359888114, 0.0028560222, -0.0050196024, -0.0003594605, 0.0143560609, -0.0301408954, 0.0067738737, 0.087231487, -0.0331885777, 0.0420002006, 0.0189731326, -0.0250267982, -0.06022783, 0.0154610202, -0.0222960822, -0.0158405025, -0.0206785295, 0.0029332463, -0.0312579162, 0.0933777913, -0.0087609934, -0.0320369713, -0.0325128473, 0.0224954691, -0.0137228994, 0.0054020463, -0.0247425493, 0.0054976996, 0.0016666411, 0.0199557859, -0.0156135242, -0.0530014671, 0.0450123847, -0.0097905649, -0.0052039567, -0.0946998894, 0.0137703763, -0.0582613163, 0.0029013178, -0.0066756685, -0.027631646, -0.0422916897, -0.0036044661, -0.0612779707, -0.0205869023, 0.0260067172, -0.0382474437, 0.0753462389, -0.0319552086, 0.0046054828, -0.0376357101, -0.0844945535, -0.0267083887, -0.0197035652, -0.0384017229, 0.0516020395, 0.0217337403, -0.035270445, -0.0396368764, -0.0059501696, 0.0280692689, 0.0385267809, -0.0486543849, -0.0226453487, -0.0352535285, 0.0162359979, 0.0406996608, 0.0248947591, 0.0624279603, -0.0574645922, -0.0027579817, 0.03798417, 0.0701228753, 0.0095804669, -0.0264668074, 0.0295916945, 0.0410444066, -0.0350118726, -0.0534363352, 0.0134582818, 0.0299379975, -0.0780141875, 0.0113377171, 0.1199594066, 0.0367014855, -0.0177373402, -0.0068214317, -0.0263806675, -0.0137559082, 0.0419122539, 0.0261354726, -0.0427042134, -0.0225819647, 0.0136652449, 0.0025053383, 0.0356530324, -0.0198439322, 0.0146264657, -0.142836675, 0.0421580486, 0.0336042121, -0.0501236469, -0.0003226188, -0.0332747921, 0.0119479699, -0.0129611334, 0.0028432303, 0.0118637644, -0.0155408625, 0.0223045219, 0.0251553506, 0.0323029384, -0.0352111086, 0.0628450289, -0.0458376482, -0.0350843295, 0.0308391917, -0.0029408529, 0.0027303072, -0.0306842085, 0.0521044992, 0.0148711093, -0.0170794725, -0.0169491358, -0.0373494513, -0.0034545483, -0.0165970009, 0.0016624106, 0.0577122569, -0.0673228055, -0.0024318434, 0.0253694579, 0.1246532872, -0.0150949061, 0.0158459991, -0.0035379576, -0.0215563644, -0.0515880026, 0.0463180169, 0.0518721305, -0.0346754193, -0.0241181049, -0.0138434339, -0.0253880974, -0.0093118465, 0.0174617171, 0.0047309054, 0.0271220598, 0.0355717689, -0.0333152823, -0.0230697747, 0.0740765333, 0.0702573881, -0.0013047104, -0.0044669616, 0.0116026532, -0.0243464783, -0.0233790744, 0.0643718615, -0.0386451073, 0.0310545713, -0.0800852776, 0.0478381254, 0.0347913615, 0.0052080047, -0.0346326157, 0.0001922755, -0.1149869785, -0.0537792072, -0.0320755467, 0.0447484627, 0.0170256831, 0.0113185178, -0.0292135365, -0.0698910505, 0.014059674, 0.0102416053, -0.0663737133, 0.028347481, 0.0113400146, -0.0248015299, -0.0083986893, 0.0140653774, -0.0140947402, 0.0086350637, 0.0310300235, 0.0487912036, -0.0427401848, -0.0418273658, -0.0059479605, 0.0303931814, 0.0206340961, 0.0187308919, 0.0081204996, -0.0065906709, 0.0451183021, -0.0175868589, -0.0260616336, -0.0329644457, -0.0000190248, 0.0011974908, -0.0051680352, -0.0026132462, 0.0197293162, 0.0490488894, 0.0629861951, -0.0143517973, 0.0540728383, 0.0215280317, -0.003757952, 0.0539653562, -0.0056842919, -0.0149684912, -0.0029926545, 0.0094357422, 0.0343764126, -0.0290100984, 0.0500154458, 0.0155748557, 0.0341117047, -0.0541869104, 0.0101927342, -0.0081203235, -0.1024627686, -0.0433013737, 0.008725117, 0.0314459801, -0.0056162677, -0.0139778806, -0.0155455982, -0.0420247205, -0.0462511852, -0.0032397725, 0.0132457232, 0.0224122517, 0.0354377888, 0.0484957546, 0.0115239527, -0.0368225686, 0.0453434661, -0.0173965655, 0.0392667018, 0.0152627891, 0.0168210715, -0.0259905308, -0.0215029884, 0.0121697327, -0.0007978587, 0.0072571221, 0.0077558137, -0.0648163185, -0.0874867141, 0.0279938206, -0.0065563833, -0.0145761259, 0.0065615838, 0.0513953939, 0.0658541918, -0.0328232832, 0.0113302041, -0.0059593879, -0.0126049332, -0.0008240661, -0.040636342, -0.0075487713, -6.325969869e-33, -0.0275043789, -0.0347255468, 0.0432015173, -0.0063978429, 0.0205158852, -0.0161251817, -0.0194053221, 0.0273038745, -0.018503027, 0.0101102106, -0.0161208063, 0.0044485829, 0.0108832419, 0.0088365916, 0.0218360536, -0.0102247279, 0.0338184051, -0.0205498859, -0.04770796, -0.0172256306, 0.0073696151, 0.0145682301, 0.0602590144, -0.0529883467, -0.044844456, 0.0322600827, -0.0094667692, 0.0226071272, -0.0703382865, 0.0922015756, -0.0098130833, 0.0216792971, 0.018454073, -0.0495458245, -0.0336909145, -0.0120557332, -0.0481195115, -0.0462326594, 0.0041345521, 0.0070901406, -0.0249841735, -0.0316736326, 0.0306588057, 0.0208007712, -0.0615057349, -0.041370824, 0.0195524599, -0.0448262617, -0.0399997905, -0.0214425046, -0.0322464779, 0.0203718841, -0.0193561614, -0.0384759642, 0.0145951267, 0.0018260698, -0.0239708088, 0.0169149879, -0.0068352111, -0.0033495235, 0.0604523383, 0.0558731407, 0.0647297353, -0.0043856343, -0.0118380673, 0.0237866789, -0.0028715183, -0.0400469266, 0.0216167942, -0.0290104747, 0.067636244, 0.0764722005, 0.1061760113, 0.0239331797, 0.0317085534, 0.0399003178, -0.0568287969, -0.007474592, -0.0333596021, 0.034869872, 0.0189768188, 0.0105610592, -0.0298453066, -0.0143743586, -0.0886749327, 0.0155081572, -0.0714540705, 0.0151158273, 0.0362474881, 0.0001396087, -0.0087626632, 0.0182982795, 0.0512732826, -0.0374368504, -0.0112690441, 0.023387637, -0.0050865058, 0.0615781657, 0.0119446935, 0.0212585758, -0.0746479779, -0.0121481689, -0.0036957662, -0.0073959692, -0.0003377021, 0.0126874046, 0.0120266257, 0.0060121738, -0.0473794937, -0.0065584155, -0.0224110577, 0.0021988966, 0.0697874352, 0.0615202561, 0.0247415565, -0.0079899607, 0.0114220018, 0.0870927945, -0.0261368714, -0.0166088752, 0.0132709751, 0.0658027679, 0.0174768548, 0.0262640901, -0.0018618681, 0.0044650794, -0.0158674214, -0.0051981076, 0.0532790683, -0.0222230852, -0.0181207899, 0.0346125774, 2.891e-7, 0.0603334568, 0.0624611415, 0.0075571109, -0.0052260584, 0.0284059942, 0.0589860566, -0.0102808243, -0.0152845196, 0.0279862843, 0.0078289807, 0.0037664913, 0.0381873623, 0.0492598414, 0.0367750078, -0.0244779009, 0.0324949399, -0.0330549665, 0.0314049646, -0.0498983264, 0.0063385582, 0.0056446283, 0.1316953152, 0.0252980907, -0.0235741027, -0.0181639846, -0.0314579271, 0.0648185983, -0.0185369309, -0.009240753, 0.0362453088, -0.0361519158, 0.0167840403, 0.0216652919, 0.0095532555, -0.0069866176, 0.0340868235, 0.0319018364, 0.092023693, 0.0143524064, 0.0266831014, 0.0160733815, -0.0142428987, -0.0168154109, -0.0496399663, 0.0660731941, -0.0875586122, -0.0343569294, -0.0274296347, -0.0036338668, -0.0597847737, 0.03638798, -0.0445770398, 0.0482840538, 0.0319980197, 0.0261355937, -0.0056909323, -0.0278853569, -0.0723980591, -0.0197283663, 0.0313822441, -0.0518937185, -0.0314893462, -0.0220933221, -0.0345124938, 0.0527039692, -0.0107273981, -0.0126406085, 3.043346609e-34, 0.0419835038, -0.0197885819, 0.0372596905, 0.0540809445, 0.0204179119, -0.014526926, -0.0684056431, 0.02167085, 0.0282271672, -0.0945999399, -0.0267088469 ]
http://arxiv.org/abs/2310.10035v1
http://arxiv.org/pdf/2310.10035v1
Empirical Study of Zero-Shot NER with ChatGPT
2023-10-16T03:40:03
2023-10-16T03:40:03
Tingyu Xie, Qi Li, Jian Zhang, Yan Zhang, Zuozhu Liu, Hongwei Wang
cs.CL
cs.CL
Large language models (LLMs) exhibited powerful capability in various natural language processing tasks. This work focuses on exploring LLM performance on zero-shot information extraction, with a focus on the ChatGPT and named entity recognition (NER) task. Inspired by the remarkable reasoning capability of LLM on symbolic and arithmetic reasoning, we adapt the prevalent reasoning methods to NER and propose reasoning strategies tailored for NER. First, we explore a decomposed question-answering paradigm by breaking down the NER task into simpler subproblems by labels. Second, we propose syntactic augmentation to stimulate the model's intermediate thinking in two ways: syntactic prompting, which encourages the model to analyze the syntactic structure itself, and tool augmentation, which provides the model with the syntactic information generated by a parsing tool. Besides, we adapt self-consistency to NER by proposing a two-stage majority voting strategy, which first votes for the most consistent mentions, then the most consistent types. The proposed methods achieve remarkable improvements for zero-shot NER across seven benchmarks, including Chinese and English datasets, and on both domain-specific and general-domain scenarios. In addition, we present a comprehensive analysis of the error types with suggestions for optimization directions. We also verify the effectiveness of the proposed methods on the few-shot setting and other LLMs.
[ 0.0528004803, 0.0165372286, 0.0330006294, 0.0566184931, -0.0312733501, 0.0594146065, 0.0011217343, -0.0090109771, 0.0260664001, -0.0759196952, -0.0294320621, -0.03872177, -0.0257870741, -0.0138957528, 0.0248681027, -0.0013657087, 0.0379742458, -0.021273762, 0.0448201559, 0.0095829088, -0.0031897575, 0.0100899013, -0.0032551459, 0.0288437326, 0.0185148101, -0.0080239549, -0.0132171223, -0.0001857937, 0.0198815856, -0.0665536001, 0.0012382627, 0.0205266047, -0.0097086215, 0.0629516467, 0.0000020829, -0.0586469248, -0.0380580574, 0.0179169774, -0.0707690492, -0.0142806498, 0.0223424528, -0.0010687514, -0.0104447184, 0.0226737205, -0.0113954153, -0.0511646643, 0.0136987818, 0.0861604065, 0.0473668724, 0.0845702067, -0.005271771, -0.0282229893, 0.027619103, -0.0093471808, 0.0312770829, -0.0441283286, 0.0353612117, 0.0039183511, 0.0177379027, 0.0380799398, 0.0187921468, 0.0236801505, 0.028262563, 0.0229983106, -0.003740154, 0.0496647991, -0.0746339336, 0.0195091814, 0.0023503879, 0.0704820976, -0.0105191758, 0.0041523399, 0.0364217684, 0.0071320273, -0.0259378459, -0.0440196842, -0.0622095466, 0.0272336826, -0.0249206275, 0.0194498114, 0.0439862795, -0.0169101264, 0.0092786932, 0.0155410115, -0.0454252623, 0.0483493432, 0.0165126547, -0.0324004553, 0.0031574301, 0.0152010303, -0.0528849028, -0.0760246292, -0.0096434075, 0.0665315837, 0.0099647231, 0.0379530527, -0.0016954219, 0.0218323078, 0.0040405663, -0.0503063314, -0.0156345423, 0.0469037928, -0.0026551071, 0.084571369, -0.0598583333, 0.0329683311, -0.0028672244, 0.0181659125, -0.0169746783, -0.0352530666, -0.0791888535, -0.0359037369, -0.0381892547, 0.0751302987, -0.0126154628, -0.028786879, -0.0184107665, 0.0263305102, 0.0311659221, 0.0298809819, 0.0281856582, -0.0034341067, 0.0035540343, -0.020430224, -0.040053118, 0.0436166115, -0.0326097049, -0.0119621586, -0.0040469435, -0.0555151254, -0.0239210185, -0.0123816449, 0.0186348539, -0.0479103737, 0.0197259337, 0.0788439587, -0.000155109, -0.0623838007, -0.047952231, 0.0006433981, -0.0143197495, -0.0730255023, 0.0038641519, -0.0404113494, 0.0279262494, 0.0197341572, -0.0043693534, -0.0139320074, 0.0377401933, 0.017161971, -0.0382513702, 0.0731741264, 0.0148547208, -0.0252519026, -0.0045654695, 0.0001649439, 0.0025077716, 0.063796401, 0.0435225442, -0.0161532797, 0.0253466759, 0.0280329213, -0.0040164432, 0.0203414354, 0.0104100769, -0.0109967785, -0.006370856, 0.0285395123, -0.0199358724, -0.0102254897, 0.0065857586, 0.0485884547, -0.0332055762, -0.0238566417, 0.0258293059, 0.0481005386, -0.0136549613, -0.0050320169, 0.0148931257, 0.0019404092, 0.0043880646, -0.002508251, -0.0617627949, 0.0290718544, -0.0611808412, 0.0273885187, 0.0136414161, 0.0144228479, -0.0430544131, -0.0159205142, -0.036418926, 0.0135155944, -0.0000758259, 0.0227020402, 0.055975005, -0.0108462023, -0.0446267463, 0.0598039106, 0.0295031611, -0.0179619659, -0.015869109, -0.0598168895, 0.025940001, 0.0408263803, 0.0504915453, -0.0147292819, -0.074878484, -0.0414003246, -0.0158699602, 0.0585227497, -0.0038214864, -0.0080547072, 0.0046619633, -0.0362845622, -0.0051986603, -0.0086790649, 0.0037836297, 0.0177040827, 0.0226041302, 0.0366919972, 0.0228409339, -0.0293149333, 0.0064060017, 0.0218450837, -0.0236365292, -0.0625516698, 0.0235433057, 0.0105051864, 0.0100178756, 0.0265740063, -0.0253969859, 0.0137732467, -0.0041073239, -0.0296531171, -0.0402322784, -0.0067426031, -0.0188178234, -0.0952898338, 0.0289678667, 0.0173929408, -0.0269838031, -0.0093597881, -0.0468345881, -0.0585921817, -0.0369691998, 0.0223696455, 0.0251585674, -0.0467404798, 0.0249996036, 0.0413429476, -0.0074452269, -0.0261999313, 0.0753219947, 0.0010019238, 0.017533686, 0.0102099013, 0.017901456, 0.0043538092, -0.0389395691, -0.0617380626, 0.0143701974, 0.0037927108, -0.0155017888, 0.015961023, 0.0035234573, -0.0461101905, -0.0316005088, -0.110113062, 0.0424950309, -0.0210368354, 0.0544533767, 0.0162494499, -0.0025126841, -0.0225018263, -0.0168835223, -0.0236004796, 0.0234138947, 0.0050021126, 0.0127036376, 0.0405793525, 0.0074538696, -0.0082901549, -0.0200078841, 0.0061506354, -0.0491378233, 0.0255322717, 0.0256450251, -0.0250658654, -0.0394854732, 0.0510896966, -0.0468013994, 0.0082812989, -0.0000261823, 0.0067472267, 0.0026043162, -0.0100171277, -0.0197757054, 0.0691708773, -0.0266697556, 0.0023660557, -0.0089717451, -0.0190458205, -0.0596467331, 0.0354809724, -0.0116602965, -0.0075709368, -0.0008095303, -0.0144739142, -0.0053448812, 0.1052203327, -0.0197972562, 0.0029227994, -0.0393938385, 0.0162328761, -0.0129573438, 0.0049340571, -0.0334372856, 0.0424478613, 0.0020682057, -0.0075815325, -0.0363554582, 0.0162674971, 0.0722550452, -0.0441308059, -0.0335288532, -0.0467147455, 0.0174212269, -0.0750772953, 0.0619784594, 0.0184882153, -0.0090321815, 0.0730953217, -0.0577805117, -0.0070671481, 0.0045830985, 0.0195240937, -0.0068627354, 0.0300108474, 0.0051895077, 0.0432655364, -0.0359432288, -0.036099162, -0.0462777913, -0.0398122147, -0.0598032512, 0.0295152664, -0.0192416105, 0.003345357, 0.0005625305, 0.0444878861, 0.0147015955, 0.0364353545, -0.026665749, -0.0117494911, -0.0446977355, 0.0520041622, 0.0688281432, 0.0156258065, 0.0078864638, 0.0027702223, 0.0518655106, 0.0541929007, 0.0290533882, 0.0236645732, -0.0038450703, -0.0159498695, -0.0015368105, -0.055957038, -0.0117639443, -0.0212629959, 0.0438109189, -0.0750149414, 0.0041445112, 0.1406711489, 0.0328819863, 0.0001356803, -0.029793933, -0.0124674011, 0.0285688601, 0.0272110328, 0.0294715576, -0.119180426, -0.0759591609, 0.0126991877, -0.0159282405, -0.0129975872, -0.0791802108, -0.0092553766, -0.1537003666, 0.0257564876, -0.0249560568, -0.0601877309, 0.038005732, -0.037035238, 0.0158696063, -0.0316064991, -0.000024178, 0.0070537329, -0.026147034, 0.0060425671, 0.0093159629, 0.0155994585, -0.0255320482, 0.0478416346, -0.0350714922, 0.0591940582, 0.0294387862, 0.0286468696, 0.0030885348, 0.0313210189, 0.0444437191, -0.0248719007, 0.0023851423, -0.0214741565, 0.0390163139, -0.0517035984, -0.00276927, -0.0220154356, 0.0118757607, -0.0046853009, 0.009716725, 0.0281876326, 0.0636422485, -0.0015247705, 0.0138769355, -0.0003621901, -0.0111510614, -0.010631213, 0.1067292094, 0.0137738269, -0.0087149004, -0.0686281845, -0.0304753017, -0.0496715344, -0.0118083581, -0.0114871515, 0.000978284, -0.0130705461, -0.0083923526, -0.0499556698, -0.0530524924, 0.0719536394, 0.0250049178, -0.022992596, 0.0090349736, 0.0267727152, 0.0348618962, -0.0153058916, 0.0125530241, -0.0445127562, -0.0055373027, -0.0476745889, 0.0250262786, 0.0284537934, 0.0156974196, -0.0285116788, -0.0144126881, -0.0661660507, -0.0507196747, -0.0445575528, 0.025679389, 0.0125432489, 0.0323885269, -0.0285762642, -0.0211144742, 0.0251174625, 0.052884575, -0.0269216131, -0.0087021478, 0.0170190763, 0.0428945161, 0.0018338138, 0.0349340923, -0.0306541976, 0.0172963776, 0.0232064445, 0.0757966489, -0.0428078957, -0.0021416449, 0.022606384, 0.0461768694, 0.0222675689, 0.0268452894, 0.0097994199, -0.0241547637, 0.0407662876, -0.0183160361, -0.0113151651, -0.0303157736, -0.0086874887, 0.0019934298, -0.0399759859, -0.0145508749, 0.0316034853, -0.0240822379, 0.0545355305, -0.0302226748, -0.002515275, 0.011812157, 0.0154771786, 0.0043770983, -0.0359713174, -0.009919567, 0.0173826236, 0.0522266142, 0.041335769, -0.0354588777, 0.0678736791, 0.0126939015, -0.0216723457, -0.0314118862, -0.0042299409, -0.0673891455, -0.0280883368, -0.0080449656, 0.0667319819, 0.0578742586, 0.0115098916, 0.0454895422, -0.01983767, -0.0224273838, -0.0118393367, 0.0029283867, -0.0006391067, -0.0080601545, 0.0348485447, 0.0372728743, -0.023173932, -0.0087333806, 0.0579219833, 0.0187507737, 0.0287256651, 0.038212318, -0.0122777373, -0.0371166691, -0.0079400977, 0.0164364744, -0.0182317048, 0.0030927481, 0.0363640711, -0.0528977513, -0.0627577528, -0.0049252873, -0.0185591914, -0.0309014339, -0.0098999031, 0.0102607617, 0.0186443608, 0.0164447855, -0.0424380563, -0.047936298, 0.0039796247, -0.008902452, -0.0129504269, -0.0101406202, -6.68576518e-33, -0.0387188196, -0.0144398008, 0.0572245941, -0.0026416217, -0.0052127428, 0.0207815822, -0.0478842631, -0.0046296022, -0.0082161808, -0.0163265243, -0.0379249416, 0.0012787832, 0.0224239379, 0.0255185515, -0.0173892509, -0.0561320111, 0.0450569503, -0.0039547682, -0.0219940674, -0.0012115026, 0.0450494178, 0.0460781343, 0.0502223559, -0.0238094032, 0.0262082554, 0.0001000145, 0.0224984661, 0.0292753261, 0.0362201743, 0.0676473379, -0.0257296469, -0.0032244062, 0.0346648991, -0.0788124874, -0.0016166158, 0.0019338074, -0.1419234276, -0.0412987061, 0.0066790604, -0.0033808926, -0.0186438318, -0.0130178984, 0.0085629961, -0.0124862222, 0.0394595936, -0.0093302038, 0.0079544205, -0.0147721553, 0.0132949427, 0.0052418695, -0.0563605689, 0.0485657379, 0.0069171013, -0.003735468, 0.0239486098, 0.0238032155, 0.0003820922, 0.0234207548, -0.0673628747, -0.0276675783, 0.0303444397, 0.005357028, 0.0385567471, 0.0216966365, 0.0137463436, 0.0410504974, 0.0254409015, -0.0240867641, -0.0755723491, -0.0188711211, 0.0039650332, 0.027126532, -0.0079185618, 0.0212767683, 0.056558907, 0.028940348, -0.0801012069, 0.0003311182, 0.0513458997, 0.051379893, 0.0145350676, -0.0049269875, -0.0758628696, -0.0217292067, -0.0053623631, 0.0012797153, -0.0672955588, -0.0417525768, 0.0504363328, 0.0113867056, -0.0480569527, 0.0083124088, 0.0629309639, -0.0469138473, -0.0322377011, 0.0517313182, 0.0179932695, 0.019037392, -0.0128519647, 0.0498233289, -0.079696089, -0.0141209783, 0.0075128349, -0.0184421372, -0.0002194768, 0.0116024688, 0.0369020551, -0.006193643, -0.073876217, -0.0170323644, -0.0389346406, 0.0217217263, -0.0467055961, 0.0315343402, 0.0207555126, 0.0282244086, 0.0150830327, 0.0380011052, 0.0175125487, 0.0007365808, -0.0273619294, 0.0363660567, 0.0041488078, 0.0030870081, -0.0054574609, 0.0150747169, 0.0065676244, 0.0060039395, -0.0122724092, -0.0662874132, 0.0054074666, 0.0233615283, 2.814e-7, 0.016612364, 0.0314480253, 0.0153663727, 0.0078216372, 0.0011291042, 0.0436184965, -0.0076555507, 0.0227727257, 0.0036607846, -0.011748814, -0.0049072551, 0.0417716689, 0.009303485, 0.0397793278, -0.1029729173, 0.000201686, -0.0300085228, -0.03352632, -0.0403532758, 0.0179934241, 0.0564692207, 0.0901603103, -0.0128794182, -0.0019681707, -0.0107059451, -0.0661756247, 0.0546865314, 0.0367832817, -0.0271587968, 0.0416647494, 0.0264465604, 0.0438666046, -0.0024577877, 0.0139995208, 0.0312068537, 0.0376796797, 0.010249678, 0.0879120752, -0.0112644993, -0.0148074236, -0.0118339462, -0.0422617905, 0.0085013714, -0.0446491651, 0.1302125454, -0.0838151276, -0.0431194156, -0.0168778095, 0.0090510538, -0.0117863379, 0.0019879118, 0.0059246127, -0.0286655091, 0.0157083701, 0.0356391184, -0.0459781885, -0.0125637976, -0.0782597959, 0.0043294881, 0.0109305708, -0.0080455551, -0.0301589463, -0.0144742932, -0.0100739794, 0.0095263738, -0.0641031191, -0.0182467457, 2.971137506e-34, 0.0138554061, -0.0060362592, -0.0088195801, 0.0615074188, 0.0334318541, 0.019567037, -0.0469318926, 0.003054851, 0.0095329341, -0.08945214, -0.004287689 ]
http://arxiv.org/abs/2310.09983v1
http://arxiv.org/pdf/2310.09983v1
Farzi Data: Autoregressive Data Distillation
2023-10-15T23:23:27
2023-10-15T23:23:27
Noveen Sachdeva, Zexue He, Wang-Cheng Kang, Jianmo Ni, Derek Zhiyuan Cheng, Julian McAuley
cs.LG
cs.LG, cs.AI, cs.CL, cs.IR
We study data distillation for auto-regressive machine learning tasks, where the input and output have a strict left-to-right causal structure. More specifically, we propose Farzi, which summarizes an event sequence dataset into a small number of synthetic sequences -- Farzi Data -- which are optimized to maintain (if not improve) model performance compared to training on the full dataset. Under the hood, Farzi conducts memory-efficient data distillation by (i) deriving efficient reverse-mode differentiation of the Adam optimizer by leveraging Hessian-Vector Products; and (ii) factorizing the high-dimensional discrete event-space into a latent-space which provably promotes implicit regularization. Empirically, for sequential recommendation and language modeling tasks, we are able to achieve 98-120% of downstream full-data performance when training state-of-the-art models on Farzi Data of size as little as 0.1% of the original dataset. Notably, being able to train better models with significantly less data sheds light on the design of future large auto-regressive models, and opens up new opportunities to further scale up model and data sizes.
[ -0.0157322604, 0.1109846905, -0.0088883284, 0.0334161408, 0.0148017174, 0.0282361414, 0.0253517125, -0.0051349718, -0.0117529184, 0.007453098, -0.00357127, -0.0153944902, -0.0261198692, 0.078655012, 0.0178408585, 0.0041903886, 0.013789258, -0.0318743885, 0.0260316059, -0.0229653176, 0.0362261012, -0.006931534, 0.0075941617, 0.0293434039, 0.015760446, 0.0256452709, -0.0400899276, -0.0150487237, 0.0138751362, -0.0245859586, -0.0001693757, 0.032526806, 0.0561753884, -0.0066121905, 0.000002117, -0.0118548637, -0.0102733374, -0.0340124592, -0.028311491, 0.0111057516, -0.0537888855, 0.0214306507, 0.0293403566, -0.014074347, -0.0338784717, -0.0503552742, -0.0015444251, 0.0299650431, 0.0517608449, 0.0721838847, -0.0146634635, -0.038505923, 0.0508302227, -0.0690885484, 0.0221778117, 0.0012981131, 0.0177346151, -0.0764981136, -0.0132533079, -0.012739921, -0.033977706, -0.0099954773, 0.0199856963, 0.0095205661, 0.056621246, 0.0101183122, -0.0094610183, -0.0452067219, 0.0064710006, 0.0785367116, 0.0188166685, -0.0464547686, 0.0310521163, -0.0191305354, -0.0099391248, 0.0076052635, -0.0370805711, -0.0054769889, 0.0028004695, 0.0398555771, 0.0252945255, -0.0018218906, 0.0269112587, -0.0034373053, -0.0335045196, 0.0306935273, -0.0035756195, -0.0349803679, 0.0117939292, -0.0002621019, -0.006323047, -0.0412257873, 0.0153403413, 0.003497248, -0.0279800557, -0.0262884293, -0.0112873726, 0.0049562026, -0.0242009629, -0.0102405353, 0.0632425919, 0.0355940871, -0.0067441361, 0.0205250643, 0.0177256167, 0.040755678, 0.0120091634, -0.0092677083, -0.0222260263, 0.0316528939, -0.0154721895, 0.0218775179, -0.024885688, 0.0421446338, -0.0235756878, -0.0125718927, -0.0541663729, -0.0045999615, -0.0337813385, -0.0115316818, 0.0127627412, 0.0447160117, -0.034617044, 0.0044337991, -0.0073165833, -0.0069345594, -0.0803156644, 0.039130941, 0.0167036373, 0.0072713555, -0.0072652232, -0.0025876339, 0.0284189694, -0.0100698806, 0.0075426167, 0.0294618253, 0.001938393, -0.0315439589, -0.057769727, -0.0275139827, -0.0101793017, -0.0624595024, 0.0043424056, -0.0267749093, 0.0422574282, 0.0206973739, 0.0064994833, -0.0508301742, -0.0065923152, -0.0217655785, -0.0391351059, 0.052664496, 0.0493638068, -0.0108224181, -0.0021416498, -0.0131570259, 0.0316675082, 0.0419333875, 0.0392395705, 0.0585414693, 0.012466439, 0.0162338745, -0.0319283828, 0.0274243169, 0.0843485147, 0.038666755, -0.0361244157, 0.0002366481, -0.0570673011, 0.0185864568, 0.0602447614, 0.0071405349, -0.0471847318, -0.0193006974, 0.0453245975, 0.0137118613, 0.021328574, 0.0698696077, 0.0071112239, -0.0141570205, -0.0128074111, 0.0018134408, -0.0080041178, 0.0416636616, 0.0253298301, -0.0313135386, 0.083869949, 0.0239846501, -0.0736246184, -0.0468779281, 0.0567855872, -0.0140397809, 0.0274030305, 0.0238183737, 0.0404572859, 0.0025303271, -0.0291746929, 0.0176547952, 0.0219944399, -0.0291345511, -0.0069260607, -0.0191769674, 0.0349125452, 0.0450462848, 0.0272682328, -0.0387514345, 0.0178628098, -0.0363736823, 0.0417055115, -0.0550674014, 0.0111423926, -0.0367302187, 0.0372543633, -0.0167294554, -0.0665855035, 0.0128168203, -0.0027518261, 0.034054812, 0.0062337294, 0.0301545393, 0.0143010383, 0.0357026309, -0.0202978123, 0.0007823299, -0.0950337127, -0.0859731585, 0.0315034464, 0.0133180683, 0.038687937, 0.0055869236, -0.0053901691, -0.0127089033, 0.0352162719, -0.056977395, -0.0278625693, -0.0133765154, -0.0505983084, -0.0393607244, 0.0328321792, -0.0096322959, 0.0303114019, 0.1039727405, -0.0598879158, -0.0662196949, 0.0425737761, 0.0012020253, 0.032179933, -0.0282264259, 0.0061045224, 0.0635657012, 0.0330313332, 0.0069061848, -0.0060463152, -0.0687772557, 0.0193130467, -0.0648481324, -0.0569172576, 0.0154931145, -0.014421544, -0.0158442259, 0.0105895558, -0.0002049745, -0.0155873932, 0.0609809607, -0.0153870555, 0.0035838785, 0.0417685062, -0.0155909983, 0.010117284, -0.061761573, -0.0037963928, -0.0175899714, 0.0572921634, 0.0226103961, -0.0218300857, -0.0226335283, -0.0047170948, -0.0143020665, 0.0097831143, 0.0026804176, 0.0426051915, -0.0150838066, -0.0360764712, -0.0592124686, 0.0004019108, 0.0321395844, -0.0364946797, -0.0009391322, 0.0002692407, -0.0432346612, -0.0225833245, 0.0331456438, -0.0489540733, -0.0178434383, -0.0136319939, -0.0492475443, 0.0003397405, 0.0513302274, -0.0188811738, 0.0218056086, -0.009109607, -0.0086627463, -0.0475175753, 0.0290416479, -0.0464079939, 0.0347150676, -0.028550433, -0.0026503569, -0.0255959164, 0.0780064538, -0.0456626266, 0.0178915411, -0.0497098453, -0.0107174367, -0.0133468313, -0.0543739609, -0.0148848686, -0.0212754011, -0.0337662473, 0.0383111984, -0.0172668342, -0.0291348118, 0.05475723, -0.0002738532, -0.0155723225, 0.0242301561, -0.0162732191, -0.0446804315, 0.0170557518, 0.0197856128, -0.0129790893, -0.0579862483, 0.0021057148, -0.0195984319, -0.0033581224, 0.0411330871, -0.0186825506, 0.0434720889, -0.0399570167, 0.0283149015, 0.0076400372, -0.0981278121, -0.0464152507, -0.0804760382, 0.0357453637, -0.0324945413, 0.0124391606, -0.0098335985, -0.0438290872, -0.002334208, -0.0142515218, 0.0694163665, -0.0179085974, -0.0161127355, 0.0031208226, 0.0241798945, 0.0854175314, -0.0530128554, -0.0110728415, -0.0334930681, 0.0095714582, 0.0166085772, 0.0521261133, -0.0110402405, -0.0521130487, 0.0365677588, 0.0421861149, -0.0240115561, -0.0214413702, 0.0157072227, 0.0058698552, -0.0001769488, -0.0129431058, 0.0632900521, -0.0021966759, -0.084922649, 0.0232168455, 0.0659352839, 0.048700083, 0.012438437, -0.0068457238, -0.0455214046, -0.0082424395, 0.0164225418, 0.0444760285, 0.0279543325, -0.0499044433, 0.0107038226, -0.0638311878, 0.0178287439, -0.0079086479, -0.0246640686, -0.0322467797, -0.0743480846, -0.0064994846, -0.0611317866, -0.0322156809, -0.012243445, -0.0220433865, 0.0115532847, 0.0310926512, -0.0254072547, -0.0194251835, -0.0001054239, 0.0208997633, 0.0378153883, 0.0167892743, 0.0288367383, -0.0033409311, 0.0159855187, 0.0265220366, 0.0130174281, -0.0111609325, -0.028318638, 0.0526581518, -0.0118848281, 0.0142052565, 0.0051396801, 0.077885285, -0.0233470704, -0.0061569782, -0.0265147109, 0.0646235049, -0.0111819878, -0.0055991714, -0.0010437896, -0.0275839865, 0.0307067484, 0.065097712, 0.0198384915, -0.0290800482, -0.063171275, 0.0046014683, -0.0121571217, -0.0238850322, 0.0060512554, -0.0402677208, 0.0182443392, -0.0393231101, -0.0202058703, -0.0466251858, -0.0033863846, 0.0374910422, -0.032154005, 0.0179143772, 0.001017698, -0.0134739233, -0.0416821651, -0.0025830029, 0.0048582088, 0.0172265228, 0.0020773427, -0.0187229309, -0.0072755301, -0.0017934737, -0.0244837217, 0.0361151658, -0.0895039141, -0.0664288998, 0.0348699726, 0.0524513572, 0.021945484, 0.0901704654, 0.024688838, -0.0720671937, 0.0558890663, 0.032856375, -0.0404442325, -0.0051615806, 0.0357282385, 0.006370849, 0.0003621631, 0.0433487967, -0.0387767181, 0.0382094495, -0.011765047, 0.021661818, -0.0313854516, -0.004313651, -0.002777175, 0.006233247, 0.078892529, -0.0219968818, 0.0119966045, -0.0460660271, 0.0230305549, 0.0300307032, 0.0230838992, -0.0382172875, 0.0225640498, 0.0546026342, -0.0133620463, -0.0566763282, 0.0286671668, -0.0081964266, -0.0148081267, -0.108815141, 0.0159743056, 0.0228977595, 0.0202805661, 0.0340498388, 0.0105066029, 0.0046980898, 0.0317614898, 0.0770658553, 0.039519947, -0.0297464244, 0.0152008021, 0.0068336031, 0.0888378397, -0.0381988622, -0.0056111482, -0.0864991769, -0.024779195, -0.0295055956, 0.026045084, 0.0316176787, -0.0373547412, 0.0646894127, 0.005668777, 0.0066132066, -0.0212839376, 0.0220098365, -0.0262375139, 0.0272035673, -0.0119138416, 0.0138307158, -0.0225920137, 0.0283458754, 0.1044238955, 0.0558886342, 0.0430333577, -0.0329858921, 0.0063058343, -0.0672497451, -0.0369922668, 0.0554594733, 0.0396875292, -0.0082773808, -0.021435596, -0.0138054695, -0.0680139288, -0.0295429006, -0.0442177877, 0.0059942338, -0.0404922552, 0.0413313247, 0.0288920179, -0.006101443, 0.0145654911, -0.0284691919, 0.0175828692, -0.031174494, -0.053943038, -0.001597797, -6.782782402e-33, 0.0468619242, 0.0597558059, 0.0218661129, 0.0144853815, -0.00689631, -0.0024456466, -0.0193037596, -0.0268972516, 0.0386523642, 0.0223588292, -0.0425406396, 0.0380941518, 0.0118686948, 0.0247969367, 0.0326514468, -0.0287852995, 0.0884240121, -0.0351977348, -0.0034117424, 0.0819873586, 0.0342572071, 0.0715454668, -0.0075644427, -0.0212363806, -0.0290974248, -0.0471523963, -0.0042018895, -0.0289823692, 0.0297245607, 0.0313708745, -0.0162354521, 0.0371165946, 0.0072047175, -0.0692266598, 0.0013681027, -0.0071101128, -0.1102656946, -0.0368305072, -0.0150841661, -0.0179024301, -0.030370513, 0.0093452139, 0.0201193932, 0.0131429899, -0.0194999464, 0.0002458263, 0.0238511506, 0.0224986952, -0.0409654565, -0.0761269331, -0.0086748404, 0.005439911, -0.0438174009, -0.0230424609, 0.0525840409, 0.0673222169, -0.006341435, 0.0394314826, -0.0226409715, 0.0215169247, -0.0377433263, 0.0361759923, 0.0155901266, 0.0281194206, -0.0179784037, 0.0373875201, 0.0214903858, -0.0077288998, -0.0145773645, 0.0467405692, 0.0057278681, 0.0553022362, -0.0529387593, 0.0035412556, 0.0614042617, -0.0189128444, -0.1022725627, 0.0476170741, 0.0218494721, 0.0138088707, -0.0203538314, 0.0255334619, -0.0351133496, -0.0348854698, -0.018364124, -0.0444335043, 0.0063213124, 0.0239670817, 0.0368310399, 0.0840225443, -0.0171150677, -0.0128351878, 0.0426321551, -0.0524070002, -0.0177565869, 0.0419759154, -0.028639257, -0.0451426357, 0.0521153696, 0.0098216189, -0.0951382294, -0.0450259708, -0.0288985781, -0.0095667597, 0.0344278514, -0.0310314167, 0.0415200815, 0.0386317447, -0.0314903669, -0.0035349831, -0.0259100236, 0.0391777158, 0.0367237516, 0.0350426547, 0.0507899411, 0.0047208364, -0.0105667291, 0.0542887263, -0.0015578604, 0.0463281572, 0.0019801517, -0.0487765409, 0.0163020063, 0.0023930406, -0.0265634041, -0.0195457712, -0.0294344034, 0.0117743909, 0.040601965, -0.1007811353, -0.0366267189, 0.0226585642, 2.778e-7, 0.0012917171, 0.0187919829, 0.0307649318, -0.0022133193, 0.0302717444, 0.0030422637, -0.0177103784, 0.043442335, 0.0084199067, 0.0366760567, 0.0321209989, 0.024312472, 0.0497560725, -0.0022973574, -0.0554137453, -0.0218692683, -0.0927160382, 0.0251344591, -0.0661163926, -0.0366466828, 0.0149746342, 0.0916144326, 0.0334623232, -0.009971953, 0.0509299859, -0.0242637917, 0.0533708222, -0.0105858957, -0.0131729431, 0.0064961463, 0.0161806308, -0.002117882, -0.0547514185, -0.0314067304, -0.0436747596, 0.0343822204, -0.020892255, 0.051967632, -0.0193179995, -0.0520050451, 0.0007860563, 0.0078187156, 0.0009775115, -0.0163187552, 0.0797258392, -0.0075794393, 0.0098031489, -0.0047617964, -0.0468915626, 0.0169346817, 0.0661419556, 0.0025457123, 0.0571909472, 0.0152260875, 0.0176951084, -0.003177003, -0.0117357699, -0.0729341283, 0.0243582018, 0.0336848758, -0.0232677869, -0.032718882, -0.0643718541, 0.0345200039, 0.0079556759, 0.0030751033, -0.0139057403, 2.423827796e-34, 0.039251741, 0.0203949828, -0.0060137087, -0.0502058044, -0.0011821364, -0.0337119251, -0.0340099894, 0.0207918994, 0.0221277624, -0.0598673411, -0.0285842568 ]
http://arxiv.org/abs/2310.09949v3
http://arxiv.org/pdf/2310.09949v3
Chameleon: a heterogeneous and disaggregated accelerator system for retrieval-augmented language models
2023-10-15T20:57:25
2023-11-29T16:34:49
Wenqi Jiang, Marco Zeller, Roger Waleffe, Torsten Hoefler, Gustavo Alonso
cs.LG
cs.LG, cs.AI, cs.AR, cs.CL
A Retrieval-Augmented Language Model (RALM) augments a generative language model by retrieving context-specific knowledge from an external database. This strategy facilitates impressive text generation quality even with smaller models, thus reducing orders of magnitude of computational demands. However, RALMs introduce unique system design challenges due to (a) the diverse workload characteristics between LM inference and retrieval and (b) the various system requirements and bottlenecks for different RALM configurations such as model sizes, database sizes, and retrieval frequencies. We propose Chameleon, a heterogeneous accelerator system that integrates both LM and retrieval accelerators in a disaggregated architecture. The heterogeneity ensures efficient acceleration of both LM inference and retrieval, while the accelerator disaggregation enables the system to independently scale both types of accelerators to fulfill diverse RALM requirements. Our Chameleon prototype implements retrieval accelerators on FPGAs and assigns LM inference to GPUs, with a CPU server orchestrating these accelerators over the network. Compared to CPU-based and CPU-GPU vector search systems, Chameleon achieves up to 23.72x speedup and 26.2x energy efficiency. Evaluated on various RALMs, Chameleon exhibits up to 2.16x reduction in latency and 3.18x speedup in throughput compared to the hybrid CPU-GPU architecture. These promising results pave the way for bringing accelerator heterogeneity and disaggregation into future RALM systems.
[ 0.0488584712, 0.036394231, -0.014745337, 0.0505189151, -0.0255689565, -0.0016602648, 0.0272050258, -0.00299242, 0.0159886163, -0.031483043, -0.0089918813, -0.0504543073, -0.0170106534, 0.0221851338, 0.0083661312, -0.0053940257, 0.0543143936, 0.0009218146, 0.0132233789, -0.0322059318, 0.0104019893, 0.0226209946, 0.028906066, 0.0264219306, 0.0146994367, -0.0001974775, -0.0249553639, 0.0445074625, 0.0086676767, 0.0301225577, 0.0034316194, -0.0051195142, 0.0300202165, 0.0719478279, 0.000002234, -0.0116509013, -0.0443473458, -0.0006178882, -0.0009469967, -0.0184688549, 0.0792468786, 0.0085670585, -0.0196336638, 0.0036532462, -0.005749173, -0.0487367995, 0.0730751902, -0.0291731134, -0.0000669785, 0.0417398661, -0.0043906826, -0.0228303913, 0.025047332, -0.0434017479, -0.0038443184, -0.0102212988, 0.0040325075, -0.0309875887, 0.0258402396, 0.0231648758, -0.0005267483, 0.0608702525, 0.0025785221, 0.0035238601, 0.0215617847, 0.0252638143, -0.0490518473, 0.0005903947, -0.0022311783, 0.0194649696, -0.0390430242, -0.0476837382, 0.0269645303, 0.0030549178, -0.0628838986, -0.0053804647, -0.0228085481, 0.0899561197, -0.0185338706, -0.0052069402, 0.0293311812, -0.0385948084, 0.035671778, 0.0030374762, -0.0155940391, 0.0437634587, 0.060204789, 0.0360339768, -0.0521363132, 0.010252974, -0.0162857808, -0.0435846522, 0.0402052142, 0.0152048683, -0.0305094551, 0.0382762216, -0.0571869761, -0.0603949092, 0.0206388813, 0.0052802879, 0.0093128262, 0.0572466254, -0.0076658144, 0.0123121301, -0.0554030873, 0.0014435382, -0.0307898335, -0.0439764746, -0.0826191083, -0.0304370727, 0.0099176364, -0.0289724991, -0.0377316773, 0.018651668, -0.0841292813, -0.0325099751, -0.0391931459, 0.0137250023, 0.0040063467, -0.0325696953, -0.0314991474, 0.0214276109, -0.0718414485, 0.0097038867, -0.0004017937, 0.0461970866, -0.0361114256, -0.0257093385, 0.051818829, -0.1169208512, -0.0149739664, -0.0079393135, 0.030115582, -0.0150581729, 0.03468512, 0.0423318818, -0.0172550604, -0.0566426404, -0.002274513, -0.0484401174, 0.0267028529, -0.0618282929, 0.0272775833, -0.0697821528, 0.0582263842, 0.0420983545, -0.009065588, 0.0091382153, 0.021754859, 0.0502971411, -0.0197001584, -0.011350031, -0.0305752903, 0.0025600949, 0.0447495095, -0.0211689491, 0.0265135597, 0.0737540424, -0.0185248908, 0.0530812331, 0.0279017538, 0.0555196516, 0.0035019279, 0.0175510831, 0.0421124883, -0.012735852, -0.0555192865, 0.0002843572, 0.0084592197, 0.0161888283, 0.044884488, 0.0675729364, -0.0437376015, -0.0260271002, 0.0223894268, 0.0630441457, 0.0114461565, 0.0234966706, 0.0205313805, 0.0091959694, -0.0252680797, -0.050965488, 0.0094950646, 0.0438466594, -0.0572344773, 0.0115644783, 0.0571548864, 0.0821799859, -0.0110021988, -0.0103185866, -0.0214909092, -0.0062310463, -0.0120620457, 0.0132202506, 0.0690631419, -0.0087090414, -0.0433252528, 0.0056042233, 0.0532796867, -0.0712287426, -0.0545521043, -0.0554794297, 0.043271929, 0.0679607093, 0.0704951659, -0.0006563826, -0.0231552068, 0.0315011404, -0.0389087796, 0.0322069824, 0.016982045, 0.0135558788, -0.0025504797, -0.0626518205, 0.0089780036, 0.0070667756, 0.0099099055, 0.0442642123, 0.0408302397, -0.006251228, 0.01135536, 0.0201430004, -0.0204384699, -0.0089862673, -0.0187532641, 0.0097907959, 0.0139014618, -0.0097642345, -0.0152934389, -0.0223530009, -0.0251636542, 0.0013822579, 0.0286641438, -0.0477687381, -0.0245142225, -0.0093251932, -0.001666874, -0.0200575106, -0.0108715426, 0.0118346047, 0.0607788004, -0.0202215277, 0.0013809577, -0.0557651296, 0.0594865009, -0.0371996164, 0.0549807996, -0.0453603566, 0.0305572394, 0.0111721028, 0.00080307, -0.0179889109, 0.0735755637, -0.012801392, 0.0279990863, 0.0422946885, 0.012302381, 0.0216205325, -0.0350038633, -0.0232327953, -0.0072452137, 0.0050333566, 0.0002777959, 0.021415323, -0.0683661848, 0.0090046683, 0.013800377, -0.0547837764, 0.0383128785, -0.0251944643, -0.0103345364, 0.0194352325, 0.0472101569, 0.0053634634, -0.0059703002, 0.0095795058, 0.0433891974, 0.0455008224, 0.0557619706, 0.006485437, 0.0083402898, -0.020564666, -0.0407581478, -0.0554254167, 0.0165918004, 0.0719549507, 0.0083481036, -0.0233199447, 0.0034259998, -0.0259559602, -0.0622053482, 0.0350780711, -0.0343319476, -0.00954, 0.0122229951, -0.0478905961, 0.0401875898, 0.0545136184, -0.0239338707, -0.0169402398, 0.0366229825, -0.0323590487, -0.0597962625, 0.0261487868, -0.0076618013, -0.0139935585, 0.0569194704, 0.0026822367, -0.0372060314, 0.042746976, -0.0085773105, -0.0432643779, -0.0160490703, -0.0192979667, 0.0081925802, -0.0147205535, -0.0345419757, -0.0102286395, 0.0126865283, 0.0245668329, -0.0326521918, -0.0854544863, 0.0403239504, -0.0279795844, 0.0091446592, -0.0258671064, -0.0110895662, -0.0100882305, 0.0485860184, 0.0220695715, 0.0600522645, -0.0577989705, 0.035206683, 0.0138847828, 0.0540108196, 0.0032502671, -0.0727641881, 0.0492837131, 0.0033172953, 0.0301816035, -0.044653967, -0.0117783071, -0.0212117285, 0.0341592096, -0.0124288984, -0.0055627455, 0.0703039169, -0.0335143358, -0.0331116058, 0.020363003, 0.0280138887, 0.0369403288, -0.0383534469, -0.0173642132, -0.0122891776, 0.0071907025, 0.0622009672, -0.0196123831, -0.0085755875, 0.0046527153, -0.0340039022, 0.065719232, 0.0493868664, -0.0528075919, -0.0485297889, -0.0056716688, 0.0521295853, -0.0052080667, -0.0410614572, 0.0111273238, 0.0143584721, -0.0877314061, -0.0349298716, 0.0363290198, 0.0069111241, -0.039793659, -0.0349277034, 0.0319530442, 0.0326371491, 0.0384280272, 0.0672401786, -0.1076645777, -0.0151073476, 0.026630288, 0.0116905859, -0.0194015652, 0.0221452899, -0.0311445631, -0.0874867365, 0.0616375916, -0.0108341454, 0.0158761572, -0.0371923633, -0.0421592407, -0.0036871503, 0.0171208642, -0.03382992, 0.0580074079, -0.0093620559, 0.020960886, -0.0281302035, 0.0053931526, 0.0227222387, -0.0277445856, -0.0110491654, 0.0028271875, 0.0616031848, -0.0180107802, 0.0269260462, -0.0464792773, -0.0038916948, -0.0009874908, 0.0225656796, -0.0465051569, 0.0167951193, -0.0252797417, -0.0225470532, -0.0587206967, -0.011674121, 0.0261206999, -0.0248139445, -0.036296308, 0.0558288023, 0.0052813021, 0.0235826839, -0.0501987934, -0.0258102734, -0.0049143159, 0.057581678, -0.0079673501, -0.007079768, -0.0603318661, -0.0660693124, -0.0256495588, 0.0002040044, 0.0048290677, -0.0286265034, 0.0007982642, -0.0447355844, -0.0104090832, 0.0301578138, -0.0164856333, 0.044684317, -0.0045151133, 0.0072641228, 0.0013311019, -0.0219826289, -0.1081294045, 0.0166244358, -0.0430702567, 0.0093586482, -0.0167093985, -0.009050048, 0.0307014957, -0.0620333776, -0.0229754262, 0.0549547784, -0.0688917488, -0.0607170574, -0.0113278432, 0.012291125, 0.0212505497, 0.0296820998, 0.0149648963, -0.0281310529, 0.0322126821, 0.0674385652, -0.0485630371, 0.046752125, -0.024530746, -0.0154531123, -0.0202281065, 0.0175805427, -0.0442754738, 0.0352257937, -0.0095549095, 0.04868716, 0.0277424566, -0.0586487353, -0.0211438518, 0.0040274579, 0.0021390496, 0.0054082922, -0.0179178249, -0.054114446, 0.0166194737, -0.0144960722, 0.0027995277, -0.044747103, -0.0121206809, -0.0015455455, -0.0357397869, -0.0063446444, -0.0193004757, 0.0384865552, 0.0362603888, -0.0690328106, -0.0105407601, -0.0271643549, -0.0042590261, -0.0004816053, -0.0156383254, 0.0062031928, -0.0212709121, -0.0270587746, 0.0517719984, -0.0660056919, 0.028916195, 0.0100249806, -0.0268376283, -0.0251014438, 0.0017859681, -0.0415229499, -0.0228510294, -0.0294911247, -0.0152556291, 0.0537508763, 0.0258690044, 0.0697277486, -0.0092867678, -0.0157446265, -0.0276237261, 0.0031705089, 0.0316363424, -0.0561660081, 0.0320468657, 0.0097770859, -0.0014941044, 0.0039602588, 0.0367048644, -0.0303919744, 0.0363893062, -0.013406137, -0.0241697673, -0.0122546256, -0.0561115444, -0.0035426177, 0.0032177116, 0.0075507681, -0.0369818211, -0.0116744284, -0.01342283, 0.0123966429, 0.0291425604, -0.0258188695, -0.0278905015, 0.0175064411, 0.0613572076, 0.0300224889, -0.0659689233, -0.0295300316, 0.0877312645, -0.0713824332, 0.0423949398, 0.0297209602, -7.035773765e-33, -0.020343136, 0.0076653468, 0.0382910855, -0.066194877, -0.0263002012, 0.0411993042, -0.0367295519, -0.014695066, -0.0116168065, -0.0223240275, -0.0238713883, 0.0310433302, 0.008449913, 0.0202913899, -0.0010791146, 0.0293442961, 0.0525591783, 0.0147438506, -0.0201727003, 0.0449173376, 0.0360298716, 0.0554676615, 0.024965629, -0.0253357925, -0.0407121405, -0.0559108295, 0.0447807647, -0.0266256053, -0.0098850764, 0.049529288, -0.0550216064, 0.0515633933, -0.00934524, -0.0512682199, -0.0033106189, 0.0105787832, -0.0796727985, 0.0001282587, 0.000850089, -0.005973855, -0.0157620795, -0.0335840136, 0.0346042477, 0.0383208767, 0.018599648, -0.0042669782, -0.0022331441, -0.0164060388, -0.0479922518, -0.060318388, -0.0202783141, 0.0270069391, 0.0482857749, 0.0462549403, 0.0548496023, 0.0176512431, 0.0079215914, 0.0190725476, -0.0381830744, 0.0126461331, -0.0197630338, 0.0714911669, 0.0760206655, 0.043361377, 0.029138919, 0.0597735643, 0.0491528101, -0.0133954119, -0.0113925654, 0.0291031785, 0.0287344288, 0.0385659188, -0.0298471209, 0.0373287983, 0.0637437478, -0.0215336215, -0.0566429459, 0.0128473993, 0.0622142516, 0.0134987291, 0.0651802495, 0.0273711588, -0.0316818431, -0.0351704657, -0.0149566652, 0.0203687269, -0.0483983979, -0.0191205572, 0.0406414419, 0.0687395483, -0.0306466054, -0.0004691054, 0.0355792232, -0.0252072588, -0.0013211436, 0.0754480287, -0.0025215084, -0.0175279025, 0.0034384709, 0.0489844754, -0.0290972311, -0.048389852, 0.0152039258, -0.01802909, -0.0281636063, 0.0090677207, -0.023546366, 0.039121177, -0.0627929941, 0.0043835226, -0.0542913154, 0.0204950962, -0.0312351715, 0.0302687418, 0.0318941064, 0.02493014, 0.0121248234, 0.0352370627, -0.0120986607, 0.0497188978, -0.018899614, -0.0176818315, -0.0048657511, -0.0080534536, -0.0287053213, 0.051122468, -0.0350546092, 0.0539389141, 0.0014606997, -0.0794285238, -0.0199952312, 0.0406168848, 3.025e-7, 0.0234988723, 0.0357168838, 0.0467668176, 0.0243399963, 0.0015249489, -0.0207874905, 0.0409235656, 0.0280474648, 0.0416653678, 0.0073942868, -0.0196273271, 0.0451597348, 0.0389714241, 0.0292353462, -0.02185506, 0.0304991622, -0.0369503424, 0.0182892326, -0.0427514426, -0.0373902433, 0.0075691412, 0.0772458538, -0.0181532092, -0.0159987677, 0.0390650965, 0.0102996388, 0.0504872203, 0.0034290771, 0.0093911625, -0.004865258, 0.0517983511, 0.0848809853, -0.0223226771, -0.0120509304, 0.0102554457, 0.0292398408, -0.046976354, 0.0531718284, -0.0037330657, -0.0341102481, 0.0705121905, -0.0328927971, -0.0201841388, -0.0219132695, 0.0667343959, 0.0427952781, 0.0327244438, -0.0645146668, -0.0112521155, -0.0008101462, -0.0198354498, -0.0116408933, 0.0173446629, 0.0261117648, 0.0009423948, -0.0194462352, -0.0421864763, -0.0748227015, -0.0465375856, 0.0096290288, -0.0530905239, -0.0252227634, -0.0948188603, 0.0202856883, -0.0020001372, -0.0517611504, -0.0070468318, 3.126450157e-34, 0.038588997, -0.0036463114, -0.0366475731, 0.0249619782, 0.0223565381, -0.0328156278, -0.0188147407, 0.0207100157, -0.033252731, -0.1110539734, -0.0424012356 ]
http://arxiv.org/abs/2310.09946v1
http://arxiv.org/pdf/2310.09946v1
UvA-MT's Participation in the WMT23 General Translation Shared Task
2023-10-15T20:49:31
2023-10-15T20:49:31
Di Wu, Shaomu Tan, David Stap, Ali Araabi, Christof Monz
cs.CL
cs.CL, cs.LG
This paper describes the UvA-MT's submission to the WMT 2023 shared task on general machine translation. We participate in the constrained track in two directions: English <-> Hebrew. In this competition, we show that by using one model to handle bidirectional tasks, as a minimal setting of Multilingual Machine Translation (MMT), it is possible to achieve comparable results with that of traditional bilingual translation for both directions. By including effective strategies, like back-translation, re-parameterized embedding table, and task-oriented fine-tuning, we obtained competitive final results in the automatic evaluation for both English -> Hebrew and Hebrew -> English directions.
[ 0.0061808247, 0.0187127087, -0.0023228531, 0.0657206327, -0.0386802666, 0.035927847, 0.0121165728, 0.0010747019, -0.0494325459, -0.0148137584, -0.0261815563, -0.050985124, 0.0061976681, -0.0175105631, 0.0676466823, -0.032932356, 0.010612377, -0.0282101128, -0.0818799585, -0.0022029697, 0.0015540379, 0.0160553064, 0.0110281343, 0.0008949978, 0.0152059188, -0.0197092462, 0.0237103272, 0.0598527864, 0.063689217, 0.0028990752, -0.031582877, 0.0134999361, 0.0031996064, 0.0534365363, 0.0000018941, -0.0232438948, -0.0509776548, 0.0073032584, 0.0062461821, -0.002739789, 0.0406919084, -0.0873747841, -0.0473201759, 0.0309868604, -0.0012592094, 0.0062010195, 0.0546476953, 0.0019144673, 0.0563382097, 0.0690881014, -0.0146560436, -0.0056742299, 0.0118249049, -0.0411298722, -0.0119206943, -0.0448661745, -0.0561177507, -0.0243807025, -0.0571906269, 0.0433034115, -0.0013950376, 0.053573966, 0.0175969359, 0.0215968583, -0.0392803699, -0.015420204, -0.0493627787, -0.0103058601, 0.0013591615, 0.0397563688, -0.0110253645, -0.0180499908, 0.0090734391, 0.0059783473, -0.0322718248, -0.0218719486, -0.0310222115, 0.0269109793, -0.0001772757, -0.0270698015, 0.0027963179, 0.053485699, 0.0396208018, -0.019187361, -0.0499657467, -0.0219664592, 0.0611413531, -0.0410317369, -0.0000498454, 0.0366866626, -0.0043683662, 0.0067453827, 0.0313934013, -0.0249851551, 0.0121332807, -0.0361378081, -0.0244968999, -0.0631602108, -0.0142548364, -0.0632175878, 0.0736881569, 0.0869668722, -0.0137610249, 0.0378525816, -0.0158968307, 0.0535230376, -0.0111135682, -0.0270059146, -0.0779905319, -0.0085569592, 0.0043864134, 0.0603501759, -0.0390286259, -0.0162325948, -0.0818373263, 0.0265870243, -0.017503662, 0.0005100486, 0.0275285058, 0.0151489805, 0.0281425212, -0.0345820077, -0.0774964318, -0.032694269, 0.0258591175, 0.0195975602, -0.0432414114, -0.0604687817, -0.0422060117, -0.0229065102, -0.0422747098, 0.0570501834, -0.0264146831, -0.0454696342, 0.0007578035, 0.1052163914, -0.0344972722, -0.0218713842, -0.0022968748, 0.0117579233, -0.0220430903, -0.0580509193, -0.0015937106, -0.0371487364, 0.0908384472, 0.0043628206, 0.0136795668, 0.0204312056, -0.0313107856, 0.0025813074, 0.0055930372, 0.0494408309, 0.0680998862, -0.0391684473, 0.0457534008, -0.0045326864, -0.0163534731, 0.0633137226, 0.0101718698, 0.019980723, -0.0071071577, 0.0169400834, -0.0140251946, 0.0633050352, 0.0290313158, 0.0541902743, -0.0291171521, 0.0088531012, 0.0506995171, 0.0516227297, 0.0058494192, 0.0606427751, -0.0346493572, -0.0120058171, 0.0524248965, 0.002076291, 0.0120727103, 0.0647964254, 0.0351086929, 0.0009594807, -0.0041992767, 0.0099291345, -0.022516137, 0.0460043512, -0.0125047695, -0.014430115, 0.0415255837, 0.0517009124, -0.0235300902, -0.0347316787, 0.0108882971, -0.0225144755, 0.001163238, -0.0274019931, 0.0293780286, -0.0121460911, -0.0692138895, 0.0221331809, -0.0352510214, -0.0453293249, 0.0190936923, -0.0124463858, -0.0516457707, 0.0254475847, 0.033856798, 0.0168334469, -0.0522785522, -0.0041562067, 0.0077178869, 0.0544046313, 0.0701110885, 0.0401104055, 0.0409719385, -0.045227237, -0.0102930944, 0.0076220161, 0.0067990003, 0.0218036324, -0.0180715919, 0.0384137183, 0.0673365593, -0.0353082642, -0.028656546, 0.0088398485, -0.0167620406, -0.0103773633, -0.008837888, 0.0183651447, 0.0267650131, 0.0237476882, -0.0037174746, 0.0130416909, 0.0145446127, -0.0545596033, -0.0109155355, 0.0283231884, -0.0281316955, -0.0354260541, 0.0180458911, -0.043080613, -0.0001362786, 0.0165994037, -0.0343585759, -0.0450480357, 0.0213609021, -0.0216903742, -0.0312814154, -0.0169833284, 0.0458906814, 0.0511743724, 0.000353949, -0.0328229778, 0.0355161317, 0.0225146618, 0.0055718608, 0.0188939236, -0.0853237957, 0.0259544253, -0.0201746561, -0.0272090286, 0.0338759199, 0.0158428531, 0.0393584184, 0.0118003637, -0.0177636184, -0.0062156608, -0.0558131933, -0.0654131398, 0.0250439588, -0.0418738909, 0.0555572882, 0.0382010899, 0.0414641276, 0.0235217046, 0.0148211122, -0.0177560449, -0.0144311367, 0.00893299, 0.0112708909, 0.0106535656, -0.0204061531, 0.0473495275, -0.0459362343, -0.0050667669, -0.0005719963, 0.027399553, -0.0018200513, 0.0094663678, -0.0493065529, -0.0205663182, -0.0416981317, -0.0005804254, -0.0097244913, -0.0444896407, 0.003217198, 0.0019128578, 0.0884132236, 0.037324138, -0.0243427549, -0.0022349921, -0.0056460625, -0.0070765046, -0.0697167516, 0.0265978035, 0.0142864222, -0.0494991727, -0.0367012471, -0.0334110633, 0.0078032194, 0.023891367, 0.0034279551, -0.0123165548, -0.0694250539, 0.00239411, -0.0081021795, 0.0112342807, 0.0090836445, 0.0454649813, 0.006872281, 0.0240123589, -0.0379480459, -0.0382626802, 0.048625499, -0.0495773926, -0.0243311655, -0.0639492422, 0.0064025251, -0.0361815766, 0.0537276231, -0.0325140581, 0.025910018, -0.0824070573, 0.0085200751, -0.0663594753, 0.0128800366, 0.0130814388, -0.020677723, 0.0340999141, -0.0360306799, -0.0026316431, -0.0595153868, -0.0289701167, 0.0111736627, -0.0019822826, -0.0054065646, -0.0058041043, 0.046812132, -0.0012261021, -0.0459872261, 0.0253594443, -0.0064148218, 0.0602737851, -0.0022154595, 0.0075175394, -0.032237649, 0.0006294404, -0.0011554998, 0.0041658543, -0.0161956847, -0.0346840397, 0.0251153037, 0.0203295834, -0.0099324565, -0.0280174986, -0.0260255728, -0.0105062947, 0.0558314286, -0.0101878652, -0.0700615272, -0.0367635936, 0.0327442437, -0.0294505693, 0.0172223523, 0.0852254182, 0.0271101668, -0.0476328619, -0.0215251558, -0.0204466172, 0.0191925131, 0.0126174148, 0.0354900658, -0.1037034914, 0.0024231181, 0.0065039448, 0.015806105, 0.0493975244, 0.0253818557, -0.0084556416, -0.0549694896, 0.0027871323, 0.0663986877, -0.0073454506, -0.0460027084, 0.0099674417, -0.057311818, -0.0387173779, 0.0261168331, -0.0151526723, 0.0163052734, 0.0130064711, 0.0025387804, 0.063606821, -0.0258395225, 0.0062531452, -0.0829964504, 0.0151744625, 0.0352679119, 0.0490472242, -0.0146259936, -0.0298381634, 0.0134047093, -0.0478383079, -0.0076856213, -0.0083350549, -0.0207307693, -0.0060530351, -0.0285935979, 0.0261470824, -0.0151733803, -0.0341071673, 0.0288674384, 0.0288128592, 0.0742035881, -0.0206261091, 0.022979293, 0.0286394842, 0.0040452476, -0.0265179239, 0.0589169674, -0.0088143824, -0.0165851973, -0.0068862629, -0.0184268095, 0.0130119734, -0.059130501, -0.0109420065, -0.0255095139, 0.0072868741, -0.0176926032, -0.105460234, -0.044536978, 0.0074057253, 0.0668462738, 0.007888156, -0.0000357849, -0.0222634003, -0.0072864303, -0.0330993049, 0.0144328205, -0.0304727033, 0.0391468182, -0.0366197303, 0.0027456032, 0.0303367972, -0.0519060642, 0.0103791459, 0.0578409545, -0.0738394111, -0.0662115663, -0.0439089984, 0.0532072373, 0.0238257293, 0.038557291, -0.0260600355, 0.0067575327, -0.0195560623, -0.0476764105, -0.0115623195, 0.0232699607, 0.0613062605, 0.0118312892, -0.0312375929, 0.0528301261, 0.0261137038, -0.0037254086, 0.0099002868, 0.0456008017, 0.0174326003, -0.0113217114, 0.0105356947, -0.012757835, 0.020127682, 0.0071398304, -0.0309885386, -0.0221451372, 0.018790558, -0.0266564488, -0.0198080782, -0.0657851398, 0.0106336325, 0.0448332727, -0.0039994656, -0.0109086428, 0.0257140417, -0.0029935567, -0.0384375341, -0.0005604366, 0.007763816, -0.0121926693, 0.0225910265, -0.0010563056, 0.0424487367, -0.0030667363, -0.007611494, -0.0101666013, 0.0205420405, -0.0524332523, 0.0063471389, -0.0164079126, 0.0368317366, -0.0125370733, 0.0564971082, 0.0019823622, -0.0074041411, -0.0116440961, 0.0430729687, 0.0680378079, 0.0211334229, 0.1307257265, 0.028660493, -0.0302582402, -0.0076453122, 0.0339428522, 0.0196561795, 0.0195150655, -0.0032273212, -0.0026426692, 0.0044258893, -0.0017519767, 0.0585862137, 0.0040670028, -0.0004970467, 0.0132357338, -0.0054857354, -0.0106506161, -0.0213321503, 0.0267740134, -0.0331433862, -0.0137197748, -0.0150756314, -0.0229133591, -0.0591859519, 0.0184718631, 0.0351997986, -0.0197136868, -0.0282105561, 0.0070019271, 0.1088956743, -0.0315012448, 0.0123273004, -0.0391653366, -0.0023917402, 0.0412757285, -0.0470665768, -0.016212564, -6.223221377e-33, -0.0051633366, 0.0228063744, 0.0087052248, -0.058361955, -0.0347802602, -0.0086160442, -0.0271881483, -0.0146179805, -0.0043532127, -0.0231833644, -0.0075450479, 0.0072613433, 0.0368916355, -0.0253733397, 0.0233914368, -0.0042335801, 0.0666944236, 0.0061753942, -0.0641312227, 0.0137510737, -0.0090396423, 0.024394298, 0.1095147431, 0.0071646427, 0.0296664573, -0.0340710282, -0.013014189, 0.0087320143, -0.0006643606, 0.0287761986, 0.0014359525, 0.0208456479, 0.0172365699, -0.0578532629, 0.0002812805, -0.0441921651, -0.059745539, -0.0102161942, 0.0402496979, 0.027118817, -0.044799041, -0.0481025875, 0.0075038509, -0.0505588464, -0.0441315249, -0.019417325, -0.008950701, -0.0322975591, -0.0271913353, -0.0016088258, -0.0671385527, 0.0252394825, -0.0099253217, -0.0191641375, 0.0477881804, 0.0523627438, 0.0158899724, 0.0220488012, -0.0894540474, -0.0124647263, -0.054539647, 0.0532507412, 0.0707566813, -0.035574235, -0.0585738495, -0.0279018804, 0.0236424301, 0.006670468, 0.046968583, 0.0222331304, -0.0020294155, -0.0094400719, 0.0743072778, 0.0494699031, 0.0003363245, 0.0007520903, -0.0255464874, 0.0437807515, -0.0049588722, -0.00449338, -0.0075640534, 0.0112174684, -0.0439319164, -0.011812795, -0.0501641706, -0.060966365, -0.0335374214, -0.0205034316, 0.0191486683, 0.0327706076, -0.0274038855, 0.0182698611, 0.0612268858, -0.0162020456, 0.0412621275, 0.0154375639, -0.0049951333, -0.009176773, -0.0231116749, 0.0802772269, -0.0024560455, -0.055190336, -0.0008457673, 0.0101206647, 0.0053441064, -0.0243926626, 0.0183251966, 0.0214101914, -0.039362397, -0.0043084519, -0.0584388413, -0.0292603169, -0.0378761627, 0.0561186299, -0.0142092677, 0.0043547158, 0.0219716392, 0.047799632, 0.0476697944, -0.0290856399, 0.0033575709, 0.0271314681, 0.0308812689, 0.0252206251, -0.0060230303, 0.0442093909, -0.0040356903, -0.0181306787, 0.0494926944, -0.0344979726, -0.026873786, -0.0049514319, 2.718e-7, 0.0581781045, 0.0419385098, 0.0021648796, 0.0041207457, -0.0115848025, 0.011921891, -0.0383897983, 0.0229693502, 0.0067167343, 0.0861696899, 0.0429146625, 0.0163218975, 0.1135032699, 0.0177059509, -0.0526940711, -0.0263716504, -0.0415770523, 0.0293278527, -0.0614268892, -0.0111435754, 0.0854926035, 0.1252271533, -0.0380933881, 0.0263740718, -0.0329621509, -0.0114768511, 0.0755879357, -0.0269104801, -0.0434614979, -0.0046167853, 0.04076197, -0.0222676191, -0.0458221473, -0.0277937409, -0.030799225, 0.0296004973, 0.0728974193, 0.0934009403, 0.0184905753, -0.0085681593, 0.0079471515, -0.0052081244, -0.0179850888, -0.0330121294, 0.0687480867, -0.0153891379, -0.0088848118, 0.0554940663, -0.0268227141, 0.028732691, 0.0607943647, -0.0203360114, -0.0459680744, 0.0154247126, 0.08491043, 0.0183263533, -0.0094865104, -0.0416403785, -0.0022808095, 0.0046544303, -0.0088811265, -0.027139198, -0.0169091932, -0.034331724, 0.0181581378, 0.0080519561, -0.0197748952, 2.31426185e-34, 0.0665195584, -0.039263688, 0.0425095074, -0.046088066, 0.0342911445, -0.0202455539, -0.0210975092, -0.0023434944, -0.0286894813, -0.0205044951, -0.0390591398 ]
http://arxiv.org/abs/2310.09930v1
http://arxiv.org/pdf/2310.09930v1
FiLM: Fill-in Language Models for Any-Order Generation
2023-10-15T19:37:39
2023-10-15T19:37:39
Tianxiao Shen, Hao Peng, Ruoqi Shen, Yao Fu, Zaid Harchaoui, Yejin Choi
cs.CL
cs.CL
Language models have become the backbone of today's AI systems. However, their predominant left-to-right generation limits the use of bidirectional context, which is essential for tasks that involve filling text in the middle. We propose the Fill-in Language Model (FiLM), a new language modeling approach that allows for flexible generation at any position without adhering to a specific generation order. Its training extends the masked language modeling objective by adopting varying mask probabilities sampled from the Beta distribution to enhance the generative capabilities of FiLM. During inference, FiLM can seamlessly insert missing phrases, sentences, or paragraphs, ensuring that the outputs are fluent and are coherent with the surrounding context. In both automatic and human evaluations, FiLM outperforms existing infilling methods that rely on left-to-right language models trained on rearranged text segments. FiLM is easy to implement and can be either trained from scratch or fine-tuned from a left-to-right language model. Notably, as the model size grows, FiLM's perplexity approaches that of strong left-to-right language models of similar sizes, indicating FiLM's scalability and potential as a large language model.
[ 0.0273257867, 0.0529503301, 0.012806748, 0.0092137288, -0.0434696898, -0.0041008717, -0.0029948922, -0.0188639965, 0.0182477254, -0.0446979403, 0.0120384479, -0.0726770312, 0.0265412014, 0.0760365427, 0.0486954227, -0.0788638145, 0.0044980804, -0.0350006446, -0.0119925868, 0.0155738294, -0.0227592699, 0.0254899245, -0.0211330652, 0.0278489795, -0.0117057553, -0.0179253742, -0.0439897664, 0.0424322747, 0.0357912742, -0.0241103452, 0.0272856355, 0.0354676396, -0.013105276, 0.0081106322, 0.0000018634, -0.0077485521, 0.0108095696, -0.0118781943, 0.0054540318, 0.014471068, 0.0196016449, -0.0415767618, -0.0352217853, 0.0246249456, -0.0312467013, 0.0227990746, 0.046873752, 0.0181641728, 0.0598215312, 0.0580461621, -0.0174614191, -0.0151302973, 0.0043145446, -0.0613329336, 0.0280916989, -0.0087314807, 0.019665923, -0.0459888354, 0.0310117342, -0.00653903, -0.0086992215, 0.0396326929, 0.0487376526, -0.0222412515, 0.0335291922, 0.0588557944, 0.0139517449, -0.019892402, -0.0609950423, 0.068260476, -0.0465425029, -0.0220329687, 0.003971857, -0.0196995493, 0.007546322, -0.0284539182, -0.0298466962, 0.0659610033, 0.0084613562, 0.0049186293, 0.0242112745, 0.0125341248, 0.024056945, 0.0021690947, -0.0358120203, 0.0343847722, 0.0239354689, -0.0378698781, -0.0430091992, -0.0102342442, -0.0343024954, -0.0788577422, 0.0132172583, 0.0338335074, 0.0166619215, 0.0202201158, -0.0932792649, -0.0278743785, 0.0233298615, 0.0011999521, 0.0041761622, 0.0340319872, -0.041134242, 0.0395783074, -0.0506651476, 0.0320973545, -0.0068139834, -0.0071738916, -0.0392602906, -0.0029601702, 0.026179485, -0.0272014197, -0.0175909009, -0.0067621376, -0.0853846148, -0.0632081255, -0.026524784, 0.0181265008, -0.004390534, -0.0019894999, 0.0317591503, 0.0205827802, -0.0395490564, -0.0219890624, 0.0198171586, -0.0028687709, -0.0207811426, -0.0062101856, 0.0696776733, -0.0338110439, -0.0367115289, 0.0356930085, 0.0005855226, -0.0111996308, -0.00229201, 0.063485384, -0.0544883013, -0.0040668789, -0.0371065997, 0.0031919838, -0.0290240031, -0.0687492564, -0.0203338284, -0.055156853, 0.0108116586, -0.0045181247, -0.004056721, -0.0479109325, 0.0350743607, 0.0429869704, -0.0120417792, 0.0384895466, -0.0380786881, 0.011041807, 0.0377700552, -0.0112885833, 0.0220912322, 0.037381433, 0.0440283641, 0.0329824872, -0.0120977275, 0.0300420336, 0.0234686472, 0.029724393, 0.0215904564, 0.0071275868, -0.0522027388, -0.035117358, -0.0093403403, 0.0420576744, 0.0567924008, 0.0670028403, -0.0400436036, -0.0028905247, 0.0566689633, -0.0008582349, -0.0118169133, -0.0082963277, 0.0911996886, 0.0324447565, -0.0173853785, 0.0235464089, -0.0176694673, 0.0492261052, 0.0257310774, 0.0427025519, 0.0266572498, 0.0492639951, -0.0208682828, -0.0411050953, -0.0134985372, -0.0157789961, 0.0315638632, -0.04221268, 0.047008615, 0.086509414, -0.1042370722, 0.0020055289, -0.0151270553, -0.0401674733, 0.0314467028, 0.0013000531, -0.0077614887, 0.0825312212, 0.0362140648, 0.0275160335, -0.026788773, 0.0005457171, 0.0284660924, 0.0775576457, 0.0040455544, 0.0129797226, 0.0016625277, -0.0622202791, 0.0112740723, -0.0038932967, 0.0162490942, 0.0609620661, 0.0032266898, 0.0034408048, 0.032808613, -0.038417872, -0.0047789565, 0.058912646, -0.0566041432, -0.0229140278, 0.0070060282, 0.015311474, -0.0125705022, 0.0020985228, -0.0175485797, 0.0402492806, 0.0390227996, -0.0487504229, -0.0421224497, 0.0315464437, -0.0873114318, -0.0617656112, 0.0046507767, -0.0425067842, -0.0183085185, 0.0340947919, -0.0102017811, -0.0759762153, -0.0098525025, -0.0269564744, 0.0130172046, -0.0739335492, 0.0376619287, 0.0833932236, -0.0098532792, -0.0449653864, 0.0663678348, -0.032158345, 0.0053936243, 0.0406670496, 0.0206014477, 0.0252871234, -0.0466834381, 0.0041561308, -0.0045143971, -0.020980835, -0.029018227, -0.0078656934, 0.0237172935, -0.0183954109, -0.0520134345, -0.0615028813, 0.0077349222, -0.0212849136, -0.0225261226, 0.0343701057, 0.0200287532, -0.0029285857, -0.0228865258, -0.0349810086, -0.0422865041, 0.0403917283, -0.016971454, 0.0460802689, 0.0215439126, -0.010265572, -0.0264799781, -0.0004944294, -0.0013733434, 0.0060129594, 0.007339491, -0.0413491279, -0.0607852526, 0.0026685658, -0.0074036717, 0.0248602685, -0.0401220433, -0.0507435836, 0.0004715487, 0.0006453439, 0.0630990118, 0.0844411552, 0.0348697565, 0.0033724988, 0.0130178016, 0.0130014345, 0.0004392578, 0.0222166181, -0.0066063632, 0.0201678835, -0.0223229863, -0.0141728455, -0.009645476, 0.0416524783, 0.0485130586, 0.0306469686, -0.0835812837, 0.0163627863, -0.0007724365, -0.0497656241, -0.0145928049, -0.037739791, -0.0275130514, 0.0414830595, -0.0546814576, -0.0299912058, 0.0401646458, -0.0646986812, -0.0262609571, -0.0223868191, 0.0078331856, -0.026557235, 0.0150918467, 0.0415906832, 0.0406303629, -0.0202215333, -0.0264845006, -0.052985128, 0.0066299629, -0.0019599481, -0.0154003957, -0.0036263494, -0.0730516091, -0.0041767382, 0.0004838942, -0.0625870526, -0.0701320022, -0.0474298634, 0.0085658496, -0.0097796526, 0.0236750562, -0.0446785241, -0.0183352362, 0.0247820225, 0.0012468799, 0.1032537669, -0.0085929874, 0.0033264086, -0.0481596105, 0.0265934858, 0.0616819747, -0.0305771139, 0.0080929454, -0.0569227822, 0.036541909, 0.0210382696, 0.0184088387, 0.0424996354, 0.0091554513, 0.0205408577, 0.0181287099, -0.0088004963, -0.0233470909, 0.0382231511, 0.0408971384, -0.0442152321, -0.0015450116, 0.1046114266, 0.0128446287, -0.00525244, -0.0112044597, 0.0043110154, 0.0735664666, 0.0206313506, 0.0139648085, -0.1094603315, -0.0043036216, 0.0197972357, 0.0271370206, 0.004366077, 0.0070884717, -0.0241434406, -0.123813726, 0.0902069211, 0.0282787718, -0.0026274594, -0.0368986912, 0.0171673428, -0.0090130577, 0.0227123871, -0.0112437932, 0.0266284067, -0.011873954, 0.0047450657, 0.029129589, 0.0108022252, -0.0233768467, -0.0290159639, -0.0202008802, 0.0633973628, 0.0322697684, 0.0154883293, 0.0085119624, -0.0260711983, 0.0499955937, -0.0181934126, 0.0046186568, 0.0024135252, 0.0448915996, -0.0130470404, -0.0270925853, 0.0011775617, 0.0601692908, -0.0476712398, -0.028229095, -0.0082417261, 0.0258612074, -0.0084096761, 0.0064974353, -0.0302857142, 0.0162712727, 0.0509183221, 0.0816252977, 0.0267200321, -0.0431399681, -0.0444179066, -0.0272314567, 0.0395549834, -0.0849127993, 0.0244302638, 0.036946483, 0.0247063562, -0.0533079803, -0.0929959193, -0.0376646891, 0.0253377538, 0.0732110515, 0.0306604877, 0.0059120771, -0.007656564, -0.0537280776, -0.027395336, -0.0276794787, -0.0007946426, 0.0231681634, -0.0455440432, -0.0448456556, 0.000166279, -0.05773459, -0.0143792899, 0.0300345961, -0.0517461486, -0.0414870977, 0.0261082705, 0.074356921, 0.026285775, 0.0719443634, -0.0210455675, -0.0043644421, 0.0648259595, 0.0053005526, 0.0041523729, 0.0319429077, 0.0126869418, -0.0030966459, -0.0098321857, 0.0142033305, -0.0146082444, -0.0193837006, 0.0089646587, 0.0514497198, -0.0316073485, -0.0050881016, 0.0427923612, -0.0549542978, -0.0077233324, -0.0640148669, 0.0164180268, -0.0368491784, 0.0051612514, -0.0376526788, -0.0292833317, -0.061847318, 0.0238740165, 0.0599566959, 0.0271255895, 0.0006636586, -0.0116032343, -0.0096577127, 0.0532682166, 0.004464577, -0.0481158234, -0.0219775643, 0.0183112528, 0.0272620879, 0.0018121992, -0.0102073615, 0.0325861648, -0.0483424179, 0.0374005884, 0.0026573008, 0.0571550615, 0.0172824413, -0.0341556519, -0.0022719917, 0.0362022556, -0.0405099876, -0.0121833486, -0.0548600443, 0.0131419329, 0.0500107594, -0.0013320378, 0.0777083635, -0.0412572958, -0.0119116046, 0.0050279414, 0.0305909086, 0.0056452085, -0.0568937249, -0.0227188393, 0.0266324822, -0.0009431357, -0.0102039641, 0.0678579584, 0.0661177635, 0.0355909131, -0.0114101842, 0.0304111764, -0.0469125174, -0.0138827404, 0.0086588552, 0.0528568216, 0.0159796476, 0.0014722073, -0.024249183, -0.074845396, 0.0395890549, 0.0383450948, -0.0029507242, -0.0049603507, 0.0385805629, 0.0402016491, -0.0368686654, -0.0180586837, -0.0593757592, 0.01039299, 0.0216208287, -0.0463767499, -0.0491018519, -5.991492502e-33, -0.0591947399, -0.042105455, 0.0131289409, -0.0186334364, -0.0175537542, -0.0378179215, -0.0335844643, -0.0003656894, 0.0405171812, 0.0152854938, 0.0068418006, -0.0040016575, 0.0205113459, 0.0543256365, -0.0101664849, 0.0123311514, 0.0570299737, 0.0184694603, 0.000050748, 0.0036456187, 0.0083809961, 0.0400267877, 0.0217333492, -0.0206984244, -0.0128609808, -0.053787116, -0.0701298267, 0.0243705176, -0.010846124, 0.0098464666, 0.0093398662, 0.0017807354, 0.0110013094, 0.0016477696, -0.0283173639, 0.0420690477, -0.0545730107, 0.0028474745, -0.0025955441, -0.0020183318, -0.0417067856, -0.041135408, 0.0353912376, -0.06039837, 0.0175467506, 0.0141744409, 0.0521004125, -0.0257232636, 0.001291703, 0.0073378189, -0.0616074018, 0.0095791239, -0.0333070047, -0.0654145777, -0.0311933197, 0.0612912737, 0.0063457675, -0.0267013982, -0.0658221692, 0.0158591401, -0.0015765001, 0.0299650673, 0.0474117659, 0.0306753702, -0.0117601315, 0.0587785877, 0.0326000564, 0.0095453411, -0.0244853254, -0.0136613399, 0.0019776777, 0.0234422144, 0.020796176, 0.0482224971, 0.0247963797, -0.002674283, -0.0393300653, 0.0390196294, -0.0388004147, -0.0047457344, 0.0097315246, 0.012337964, -0.0225387439, -0.0093821874, -0.0183673371, -0.0628231019, 0.0103385206, -0.0101609435, 0.06103554, 0.0308629759, -0.0369441658, -0.0172562525, 0.0407794677, 0.000524885, -0.0056578238, 0.0192258898, -0.0516085699, 0.0307511631, -0.011104919, 0.0559197664, -0.0315733925, -0.0325174481, 0.032402955, 0.0784255639, 0.0057679955, 0.0035381056, 0.0376235694, 0.0436930917, -0.0678939298, 0.0128493421, -0.0396758653, 0.0590053499, 0.0040380941, 0.0224050172, 0.0228857659, 0.0113234092, -0.0232035145, 0.032475289, -0.0080527328, -0.0055960608, -0.0308312681, -0.0032866807, -0.0169167127, 0.0105814077, -0.040102344, 0.0112562682, -0.0278188419, 0.0083566913, 0.0436935015, -0.0317784175, 0.0138522815, 0.0355882645, 2.472e-7, 0.0449825525, -0.0278349947, 0.0769435912, 0.0125194946, 0.0102102021, 0.0027063997, -0.0055693854, 0.0262060836, 0.022440115, 0.0078208158, 0.0008351286, 0.0064886333, 0.0583809502, -0.0209762193, -0.1049299315, 0.0530106612, -0.0649940819, -0.0279172603, -0.0612393096, -0.0116065452, 0.0290031359, 0.0390616022, -0.0075001596, -0.0048652859, 0.0168553349, -0.0253432207, 0.0703095496, 0.0149955899, -0.0139588378, 0.004506269, 0.0059710946, 0.0074322955, -0.0225536507, 0.0157736149, -0.0206099078, 0.0049752346, 0.0578979328, 0.0616246872, 0.0117475446, -0.0263977386, 0.0038925759, 0.0130661037, -0.015564763, -0.0492180213, 0.0368698053, -0.0200180057, 0.0159999952, -0.0268265791, -0.0706908852, 0.0356087722, 0.0191320237, -0.0528034791, -0.0367715247, 0.0197996255, 0.0588711537, 0.0117179789, -0.0191477612, -0.0408245139, -0.0603322387, -0.0480376445, -0.068105422, 0.0045836926, -0.0710302144, 0.0179212745, 0.0303655118, -0.0380158983, -0.0193607751, 2.595246785e-34, 0.0300466716, -0.0283388533, 0.0194187239, 0.0126415882, 0.0302269161, 0.0077469507, 0.003361277, 0.048728399, -0.0102067897, -0.0627347156, -0.0393851586 ]
http://arxiv.org/abs/2310.09929v1
http://arxiv.org/pdf/2310.09929v1
Prompting Scientific Names for Zero-Shot Species Recognition
2023-10-15T19:36:43
2023-10-15T19:36:43
Shubham Parashar, Zhiqiu Lin, Yanan Li, Shu Kong
cs.CV
cs.CV, cs.CL
Trained on web-scale image-text pairs, Vision-Language Models (VLMs) such as CLIP can recognize images of common objects in a zero-shot fashion. However, it is underexplored how to use CLIP for zero-shot recognition of highly specialized concepts, e.g., species of birds, plants, and animals, for which their scientific names are written in Latin or Greek. Indeed, CLIP performs poorly for zero-shot species recognition with prompts that use scientific names, e.g., "a photo of Lepus Timidus" (which is a scientific name in Latin). Because these names are usually not included in CLIP's training set. To improve performance, prior works propose to use large-language models (LLMs) to generate descriptions (e.g., of species color and shape) and additionally use them in prompts. We find that they bring only marginal gains. Differently, we are motivated to translate scientific names (e.g., Lepus Timidus) to common English names (e.g., mountain hare) and use such in the prompts. We find that common names are more likely to be included in CLIP's training set, and prompting them achieves 2$\sim$5 times higher accuracy on benchmarking datasets of fine-grained species recognition.
[ 0.0148175806, 0.0459788926, 0.0034681335, 0.0407391675, -0.0249649882, 0.0291453116, 0.0392103717, 0.0312923566, -0.0535326414, -0.096562475, -0.0455410443, -0.023844745, 0.0493983217, 0.00904842, 0.0022988224, -0.0945339799, 0.016150102, -0.043959599, 0.0363888666, -0.013225493, -0.03128317, -0.0077611739, 0.001487511, 0.0210820884, 0.016393004, -0.0052149133, -0.0087181954, 0.027378818, 0.0648285374, -0.0385265015, -0.0603391677, 0.0512768812, 0.0167783983, 0.0570929535, 0.0000015, -0.0491124503, 0.0381858945, 0.028019337, 0.0073911455, -0.0166936032, 0.036466755, -0.0310019013, 0.0133667747, -0.0243763458, 0.0113556525, -0.0488146283, 0.089112699, 0.0099417465, -0.0193676669, 0.0489238352, 0.0012188213, -0.0655692145, 0.0262442678, 0.0016972907, 0.0725310296, -0.021844659, 0.0446574725, -0.0267971139, -0.019903617, 0.0592324324, -0.0224299189, 0.0300282482, -0.0059133521, -0.0273985304, -0.0089303507, 0.0977661535, -0.0657840967, -0.0694313496, 0.0156003088, 0.0726055205, -0.0358757004, -0.018187575, -0.0196812004, 0.0010086223, -0.0302190688, -0.0062234765, -0.0368146859, 0.0650876909, -0.0039493735, 0.0196025614, -0.0058971518, 0.0180866681, 0.0092831589, 0.0405596718, -0.0203220993, -0.0021736883, 0.0487252176, -0.0055893017, -0.0193572883, 0.0146103958, 0.0027269186, -0.058417663, -0.0086066723, 0.0409566574, -0.0139046647, 0.0100239441, -0.0403772853, -0.0124843046, 0.0227180813, -0.0186278597, 0.0481987409, 0.0269074738, -0.0452284254, 0.0666757077, -0.045307111, 0.0662304088, 0.0307808835, 0.0117133632, 0.0132531347, -0.0267915521, -0.0328029618, -0.0029151614, -0.0164111219, -0.0093391649, -0.0190235246, 0.0003921369, -0.0105375834, -0.045678623, 0.006914496, 0.0468435511, -0.0421443917, -0.0328246951, -0.0287983883, -0.017104011, -0.0100463368, 0.0317511037, 0.014603883, -0.0082694683, -0.0162804686, -0.0701526701, 0.0191594418, 0.0037843152, 0.039933078, -0.0062465225, 0.0096424334, 0.0670562163, 0.0154266795, -0.1081977487, 0.0193416681, -0.0041163224, -0.0379089117, -0.0496772677, -0.0076270006, -0.0459883958, 0.0094139921, -0.0042691519, 0.0281297434, -0.0134009719, 0.0101553006, 0.0213948172, -0.0460781604, 0.1445437074, -0.0576599389, -0.0181166586, -0.013050572, -0.0011759419, 0.0387500972, 0.0710480884, -0.0205085445, 0.0365006141, 0.0194418952, -0.0151280044, 0.0287639983, 0.0016684586, -0.019025065, 0.0034246617, -0.0484082289, -0.0205187052, 0.0405957475, 0.0241697337, 0.0329167508, 0.0439836383, 0.0116949826, -0.0227002893, 0.0455009714, 0.0900336578, -0.0008981409, -0.0245830938, 0.0734885558, 0.0022630775, -0.009083516, -0.016301034, -0.0572826378, 0.0122785149, -0.0627565086, 0.023743704, -0.0362861454, 0.0296569131, -0.054418575, -0.01798735, -0.0105045987, -0.0185532514, -0.022109054, 0.031039115, 0.078080222, -0.0257177893, 0.010248825, -0.0149502913, 0.035225261, -0.0332873762, 0.0086106546, -0.036535684, 0.0535677373, 0.0697436631, 0.0081378054, 0.0051630824, -0.0209138002, 0.0273952894, -0.0060035042, 0.0741012916, 0.0273762848, -0.0220125597, -0.007111609, -0.042005688, -0.0542573445, 0.034206558, 0.0081097921, 0.0283358078, 0.0089344317, 0.062161427, 0.0653242469, -0.0095017292, -0.0269733276, 0.0612553693, 0.0073960572, -0.0467331558, 0.0134385172, 0.0080466196, -0.0031406544, 0.0082138041, -0.0228514243, -0.0015194896, 0.0133079439, -0.0018201721, 0.0146161923, 0.005526687, -0.0031035314, -0.0303083286, 0.0775571764, -0.0426005609, -0.0072783115, -0.0016800661, -0.004700901, -0.0596686266, -0.027142182, -0.0070211045, -0.016197253, -0.003845392, 0.040355619, -0.0311513785, 0.0071866116, -0.0211379267, 0.0264199954, 0.0288002472, 0.0646030828, 0.009724889, -0.0461582132, -0.0309926104, -0.0687296912, -0.0501955375, 0.0006717988, 0.0200128276, -0.0181795098, 0.0060747722, 0.0265006162, -0.0178820286, 0.0278875977, -0.068831183, -0.0419814661, -0.0011306455, 0.0224056449, -0.0300723556, -0.0272034779, 0.0079257842, -0.0034366627, -0.0202444084, 0.0080587585, -0.044139795, 0.0187382828, 0.0119981496, -0.0033373707, -0.0155598177, 0.0137679745, -0.0131269582, 0.0285539739, 0.0674475208, 0.0320346169, -0.0471802652, -0.0243660174, 0.04579328, -0.0611643195, -0.0102524292, -0.0023231639, 0.0130175762, 0.0279485248, -0.0044999546, -0.0188988168, 0.0239432622, 0.0061676325, -0.0464179106, 0.0424392223, 0.0330401212, -0.045444306, -0.0571334958, 0.0159048084, -0.0490130223, 0.0145769557, -0.0206817426, 0.0020916245, 0.0368644409, -0.0809296593, -0.0127112074, -0.0512278974, 0.0523592532, -0.0008572701, -0.0177150965, -0.0803487971, 0.0368766077, 0.0073979688, 0.0367591567, -0.0393858254, -0.0704207644, 0.0313780643, -0.0566406623, -0.0024310062, 0.0235627573, 0.0161416736, -0.0224221572, 0.0734448209, 0.0352954343, 0.0121581927, 0.0383059904, 0.0017353921, -0.0019744814, 0.0049799057, 0.0000153429, -0.0217897147, 0.0303116273, -0.0214533508, 0.053281296, -0.0891556144, 0.0133928275, -0.0233599264, 0.0108826216, -0.0727537945, 0.0422303714, -0.047980547, -0.0521129631, -0.0274913404, 0.0375319347, 0.0454580784, 0.0028864855, -0.0013516387, 0.006745432, -0.0087445946, 0.0243353639, 0.0195016582, -0.0152418381, -0.0034328131, -0.0112839527, 0.0189996958, 0.0049067121, -0.0036770666, 0.03194822, -0.0144710587, -0.0042322036, 0.0322710387, -0.0024935671, -0.030747287, 0.0205001868, 0.0288328938, -0.034360785, 0.0313130654, 0.1011275426, 0.0128475185, -0.0717268437, -0.0445179753, -0.0217617098, -0.0042683939, 0.0339284316, 0.0117129916, -0.0623146407, -0.0211269818, 0.0017693865, -0.0411335565, -0.0084763216, -0.0251450855, -0.0417998806, -0.111016266, 0.0209718607, 0.0305546615, -0.0834406465, 0.007699654, -0.0135594858, 0.0129035814, -0.0418969132, -0.0323392339, -0.020614218, -0.0348172039, 0.0030058415, 0.0180974808, 0.038652949, -0.0935120508, -0.0123206377, -0.0395909473, -0.0159596782, 0.0648242906, 0.0391312316, -0.0307057016, -0.0592659637, 0.0039025606, -0.0121517312, -0.0019644273, -0.0021070044, 0.039362058, -0.0203411486, -0.0151220551, 0.0326638445, 0.0109587461, 0.0168006197, -0.0268755313, 0.007508391, 0.0451053753, 0.0024488939, -0.0251924973, -0.0306839421, -0.0270259362, -0.0029379721, 0.0834448636, 0.0580344759, -0.0199423097, -0.0314442143, -0.0259789061, -0.0281913653, -0.0242448226, -0.0436351523, -0.0015731185, -0.0415153988, -0.0606225841, -0.0628653616, 0.0069813714, 0.0921336859, 0.036331933, -0.009225972, -0.0112560224, -0.0227972846, 0.0352322832, -0.041263219, 0.0853939727, -0.0566054843, 0.0140035786, -0.0733401254, -0.0049188109, 0.0703217462, -0.0044234484, 0.0032137891, 0.0071527306, -0.0202398282, -0.0696804523, -0.0428412147, 0.0625386387, 0.0200734735, -0.0206859168, 0.0276148431, -0.0907419696, 0.0501577891, 0.082425639, 0.0606525131, 0.0063940031, 0.0150944395, -0.0090692509, -0.0051132236, 0.0321385637, -0.0172533579, 0.0389595032, 0.0343672186, -0.0058948575, -0.0141052864, -0.0104135377, -0.0230343845, 0.0375435576, 0.0657575428, -0.0688028261, -0.010917509, 0.01400124, -0.0051304521, 0.0112384427, -0.0073587126, -0.007047785, -0.0239672642, 0.0056566163, 0.0210467037, 0.0016996996, -0.0060273651, -0.0508102253, -0.0160468332, -0.047538396, -0.010224659, 0.0428939313, -0.0253693443, 0.015996417, -0.000500521, -0.0301389918, 0.032720495, -0.0206609592, 0.0184366126, -0.0052718534, -0.0119847581, 0.0256760977, 0.0444494821, -0.0431439579, 0.0128711406, 0.006333861, -0.0325233601, -0.0148710739, 0.0780920759, 0.0415019765, -0.0062925844, 0.0068952604, -0.0191435143, -0.039781902, -0.0296273828, 0.0264930017, 0.0016215827, -0.0512321666, 0.0643093586, 0.0293861721, -0.0245853234, -0.0233434867, 0.0633078367, 0.0164113045, 0.013184431, 0.0166450217, 0.0230290107, 0.0217922833, 0.0276577119, -0.0272737946, -0.029909268, -0.0014068062, 0.0152710127, -0.0483076051, -0.063486509, 0.032787025, -0.0071595744, 0.0092803044, 0.0276684724, 0.0250598788, -0.0101220803, 0.0060917758, 0.011315587, 0.0004230971, 0.0132553708, -0.0100139976, -0.0120208291, -0.0501510501, -4.639277637e-33, -0.0326596722, -0.0592561401, -0.0042168023, 0.0243762527, 0.0428720564, 0.0441592224, 0.000886934, 0.0290613584, -0.0321543813, 0.0372558571, 0.0168287102, -0.0471801758, 0.0294467844, 0.0405593999, 0.0229982026, 0.0266647488, 0.0424658693, 0.006182055, -0.0089719659, 0.0013438241, 0.0266439039, 0.02017943, 0.0417629331, -0.0030718984, -0.0157686789, 0.0118189519, 0.0195134245, -0.0112270163, -0.0123141231, 0.0388071053, -0.0387059636, 0.0238108728, 0.0163988732, -0.0121664135, -0.0311303418, 0.0410654619, -0.0747752339, -0.0051113851, 0.0215736739, 0.018136343, 0.0044836812, -0.0087607307, 0.0278772116, -0.0217691828, -0.0071242861, -0.0057536229, 0.0412425734, -0.0727237165, -0.0523448214, -0.0531839542, -0.0617828704, 0.0400829166, 0.0545274578, -0.0032406098, 0.0705612153, 0.0298117921, 0.0214731507, 0.0549226068, -0.0021938556, 0.0604468286, 0.0730282143, 0.0004686099, 0.066478774, 0.0695960969, 0.001824708, 0.0483219698, 0.0409480892, -0.0215772409, -0.0182149895, -0.0255780965, 0.0222151522, -0.0006129167, 0.0637831986, 0.0338683836, 0.041892767, 0.0158564039, -0.0052035819, 0.0214331336, -0.041505482, 0.0090074316, 0.0189098269, 0.0101105189, 0.0122330654, -0.007365942, -0.0542063229, -0.0323375277, -0.0570941791, -0.0031964476, 0.0222785175, 0.0154186441, -0.0294902977, 0.0269867405, 0.0398467183, -0.0034076974, -0.0542558283, -0.016627267, 0.0257246681, 0.054517176, -0.0022665241, -0.0447959416, -0.0732024908, -0.0703265816, 0.0430347174, 0.0246551149, -0.0073613231, 0.005942374, 0.0677123591, -0.0141942827, -0.0385368466, -0.0199660435, -0.0293725301, -0.0310243778, 0.0093113519, 0.0712790042, 0.0453061089, -0.0255247485, -0.0089300359, 0.0299504232, 0.0121966144, -0.0712539926, 0.0208449662, 0.0228830874, -0.0370509662, 0.0364651121, -0.03694731, 0.025503356, -0.0078429738, 0.0228585377, 0.0168207046, -0.0014874901, 0.0015950603, 0.0115377577, 2.317e-7, 0.0103278533, -0.0000483619, -0.0218762346, -0.0122525413, 0.0016364751, 0.0336725488, -0.0057347547, 0.0044649341, -0.0217706989, 0.00105746, -0.0208590217, -0.0091117034, 0.0334693529, -0.0112275565, -0.0556638427, -0.0113399737, -0.0395985506, 0.0011065232, -0.0574270226, -0.0046810801, -0.0125073241, 0.0985130444, 0.0023900443, -0.0130060613, 0.0387326702, -0.0275507011, 0.0903979465, -0.0670984834, 0.0008113485, -0.0299216416, 0.0088730911, 0.023277171, -0.0038816913, 0.0455841348, 0.0118188616, 0.0006347053, 0.0186422039, 0.0100993849, -0.0442729257, 0.0704120994, -0.0188976396, 0.0229373667, -0.025582131, -0.0491030812, 0.082040064, -0.045818679, -0.0158554893, -0.0364611335, -0.0044064196, 0.021216182, 0.0161079727, -0.0325753726, -0.0049502067, 0.0426881239, 0.0123783723, -0.0192081667, -0.0239632186, -0.0753544271, 0.0215638261, 0.0036922533, -0.0113194985, -0.0347018689, -0.030045215, -0.0417677648, 0.0143677276, -0.033903297, -0.0473127291, 1.450811084e-34, -0.0096360566, 0.0126001472, -0.0304595735, 0.0009680542, -0.0731047317, 0.0036952219, -0.0010360704, -0.0046068579, -0.0016200427, -0.0258559454, -0.0007910095 ]
http://arxiv.org/abs/2310.09925v1
http://arxiv.org/pdf/2310.09925v1
Homophone Disambiguation Reveals Patterns of Context Mixing in Speech Transformers
2023-10-15T19:24:13
2023-10-15T19:24:13
Hosein Mohebbi, Grzegorz Chrupała, Willem Zuidema, Afra Alishahi
cs.CL
cs.CL, cs.AI, cs.LG
Transformers have become a key architecture in speech processing, but our understanding of how they build up representations of acoustic and linguistic structure is limited. In this study, we address this gap by investigating how measures of 'context-mixing' developed for text models can be adapted and applied to models of spoken language. We identify a linguistic phenomenon that is ideal for such a case study: homophony in French (e.g. livre vs livres), where a speech recognition model has to attend to syntactic cues such as determiners and pronouns in order to disambiguate spoken words with identical pronunciations and transcribe them while respecting grammatical agreement. We perform a series of controlled experiments and probing analyses on Transformer-based speech models. Our findings reveal that representations in encoder-only models effectively incorporate these cues to identify the correct transcription, whereas encoders in encoder-decoder models mainly relegate the task of capturing contextual dependencies to decoder modules.
[ 0.0045975302, 0.0571546406, -0.0225584209, 0.039532911, -0.0374845751, 0.0039836019, 0.0313717835, -0.0489463061, -0.0568389595, -0.0390716568, -0.0701009184, -0.0545584224, 0.0651243478, -0.0410770103, 0.0103583122, -0.0280920006, 0.028922461, -0.0385064781, -0.0710652024, -0.0335990377, -0.0058177621, 0.022696685, -0.0200906079, 0.0403187536, -0.0028599061, 0.0136729302, 0.0015272516, 0.0390896089, 0.0153232226, 0.0587916672, -0.0141531406, 0.0356514156, -0.0034807189, 0.0666313171, 0.0000017, -0.0630722791, -0.0267914571, -0.0030211364, -0.048368901, -0.0129779587, 0.0252782218, -0.0164779648, -0.0242596865, 0.0291619636, 0.0187945273, -0.0137803489, 0.0575582497, 0.0014838648, 0.0031083736, 0.0120019605, 0.0013992531, -0.0806371123, -0.0071498062, -0.0089640804, -0.0036668794, 0.0093710879, 0.0105418693, -0.0210930966, -0.0277364478, -0.0527081117, -0.0727209374, 0.0677388757, 0.0151462844, 0.0266579147, -0.001396447, -0.0070782537, 0.0050908444, -0.0389306583, -0.0095101325, 0.0219364353, 0.006620564, -0.0320920534, 0.0064101182, 0.0108866356, -0.0448657498, 0.0339638032, 0.0209411662, 0.013826875, -0.0013608662, -0.0046667466, 0.0221336912, 0.0066618994, 0.0168707296, -0.0456561856, -0.0563417822, 0.0409318171, 0.0307009611, -0.0441635996, -0.0030344352, 0.0124537097, 0.0101520699, -0.006726874, 0.0310461167, 0.0036663006, -0.0006801073, 0.0021129181, 0.0236273836, -0.0387092642, -0.0004857716, -0.0129008377, -0.0616298467, 0.0246017985, -0.0396291576, -0.0142099597, 0.0006135621, 0.0856933892, -0.0405539908, 0.0092159733, -0.0453760251, -0.0454421081, -0.0391076468, -0.0056094388, -0.0261508171, -0.0133064827, -0.0366103686, 0.0145087754, -0.0461720116, 0.0228705183, -0.0017133158, 0.0186353978, 0.0300947092, -0.0275634434, -0.0437656976, 0.0210522935, -0.004241372, 0.0699954852, 0.0192260295, 0.0295489412, -0.0540907048, -0.0886897594, 0.0052355193, 0.0090752561, 0.0215078536, -0.0382720865, -0.0301395562, 0.056807287, -0.0099618416, -0.0173852593, 0.0459886119, -0.0277894959, -0.0531233996, -0.056895338, -0.0131680332, -0.0680496469, 0.0259674061, 0.0444858149, 0.0269077439, -0.0501721166, -0.0101328753, -0.0343550481, 0.0084556844, 0.0797416046, 0.0220006797, 0.0208080672, 0.0684037134, 0.0118701831, -0.028639961, 0.0378617048, 0.0407925025, -0.0581430122, 0.0003292404, -0.020708587, 0.0267943088, 0.0652094558, -0.04350942, -0.013427332, 0.0189523976, -0.068407394, -0.0339060239, 0.00118056, 0.0485251844, 0.0820950866, -0.0372527801, -0.0057074153, 0.0507958159, 0.0422815047, 0.0696958303, -0.0037433512, 0.0230745878, 0.0100286137, 0.000700111, 0.0661978573, -0.0115105892, -0.018406054, 0.0182819311, 0.0277185906, -0.023052454, 0.044352755, -0.0126413712, -0.0138881067, -0.0180413425, -0.0166947786, 0.0139974821, 0.0117015606, 0.0476581678, 0.0317257419, -0.0253588315, 0.0922084376, 0.0097985882, -0.0837624148, 0.0448004715, -0.0119332429, -0.0277082529, 0.052651491, 0.0125829615, 0.0149045391, 0.0017941722, -0.0244397428, -0.0831206515, 0.0428350344, -0.0087553589, -0.0199999269, 0.0550261401, -0.0547033697, -0.0266210176, 0.0535499081, 0.0251079891, -0.0067141447, -0.016858818, -0.0087933643, 0.0339224637, -0.0488357283, 0.0470809862, 0.0021384987, -0.0362561159, -0.0028729702, -0.0291425884, 0.0225788988, 0.0180751923, 0.0059517445, -0.0447412133, 0.023175396, 0.0150750969, -0.011794447, 0.0332207419, 0.0752129555, -0.0455091521, -0.0422730036, 0.0124952029, -0.0510696992, -0.0112902345, 0.0324986987, 0.0359223038, -0.0378861614, 0.0236004181, -0.0551081784, 0.0622358844, -0.0415430255, 0.0688369125, 0.0026415505, -0.0110556753, -0.0120736733, 0.0108644059, 0.0174617451, 0.0169998594, 0.0140124382, 0.0435199551, 0.0063226898, -0.0377039425, -0.0482610799, 0.0177984517, -0.0055247257, 0.0223457441, 0.0166241266, -0.0509654395, 0.0077809598, -0.0559468232, -0.0477055982, -0.0400595702, -0.051294975, 0.0207080673, 0.0180653259, 0.0233393162, 0.0274980478, -0.0090114744, 0.0043728552, -0.0332701504, -0.0044510122, 0.023080647, -0.015486571, -0.0170431025, -0.0707332492, -0.0115873767, -0.008604859, -0.0080248797, 0.0600449145, -0.0074948296, -0.0083046807, -0.0602908805, 0.0080945967, -0.0123815211, -0.0144075025, -0.0092127118, -0.01518742, 0.0145951882, 0.0224694908, 0.0716889277, -0.0096167428, -0.0021404149, 0.0299835932, 0.0360844433, -0.0119661838, -0.0200702082, -0.0316881165, -0.0310881529, -0.0119055798, -0.0591535941, -0.0316417441, -0.0133693758, 0.0750050023, 0.020825997, 0.0110561559, -0.0049673356, -0.0256421175, -0.0468518808, -0.0401609764, 0.006306794, -0.0497246198, -0.0376389176, 0.0519249924, -0.0213596523, 0.0008670305, 0.0585888252, -0.0516532287, -0.0130663207, -0.0548260696, -0.0097069778, -0.0230786484, 0.0176633429, -0.0027457864, 0.0047613494, 0.0213530045, -0.0627121702, -0.0452773236, 0.0188818891, 0.0659472942, -0.0438545682, 0.1122160181, -0.0522886179, -0.002329217, -0.0003140266, -0.0457588024, -0.0447239205, 0.0226189606, -0.0443512723, 0.0425689593, 0.0759117529, -0.014528811, -0.0184364952, 0.0379560329, 0.0316526629, 0.0570428707, 0.0497435667, 0.0033723046, -0.0188884921, 0.0733142048, -0.0068855868, 0.0520861857, 0.0287194625, -0.0586024746, 0.0207613464, -0.0215200353, 0.0513990037, 0.0135349045, -0.0318953171, -0.016580062, 0.0500176698, -0.0081913043, -0.0454109572, 0.0146463551, 0.0499750637, -0.0196327921, -0.0298539903, 0.1048290431, 0.0003889791, -0.0420491844, -0.0065010414, -0.0051661129, 0.0377096385, -0.000699137, -0.0280612092, -0.071583651, -0.0086692655, 0.0451167338, -0.0125732329, 0.0229545031, 0.0264476128, 0.0106838522, -0.0608837232, 0.0353097208, 0.0055912775, -0.0462192558, -0.0302878357, -0.0114055201, 0.0090384996, -0.0521394797, 0.0522348955, -0.000535654, -0.0373204648, -0.0455876179, 0.0308246333, -0.0435081311, -0.038014587, -0.0343995318, -0.0665847659, 0.0342726037, 0.0568245724, -0.0038144882, -0.0006617397, -0.0053184917, 0.010810378, -0.0585063398, -0.0028583717, 0.0206017289, 0.0009460118, 0.0325402208, -0.0224870965, -0.0086189779, -0.0324441083, -0.0032763211, -0.0072878799, -0.0164407603, 0.0340050198, -0.031802766, 0.0095104408, 0.0319544598, 0.0196288303, -0.012520113, 0.0570186228, 0.0356259756, -0.0036654281, -0.0479872823, -0.0081874309, 0.0488430671, 0.0083164461, -0.0279123615, 0.0243762452, -0.0186112691, -0.072491698, -0.0264312793, -0.0111396015, -0.0071924077, -0.0254809037, 0.0225185584, 0.0083347503, 0.0600081086, 0.009556191, -0.0343593284, 0.0000112573, -0.0028530073, 0.032452628, -0.0468653105, -0.0154117178, 0.0418832898, -0.0297561977, -0.0207613576, 0.0235921256, -0.0784939677, -0.0462944619, 0.0760807544, -0.0467870533, 0.0282100961, 0.0398918763, -0.023974536, -0.0370782055, -0.0004466239, -0.0033010312, -0.0066587543, 0.0622221902, 0.0343563221, -0.0142792966, -0.0262137763, 0.0161939356, -0.0530006178, 0.0404674336, -0.00477004, 0.0147042666, -0.0599908978, -0.0893551111, 0.0022984743, -0.0121850967, 0.0387351438, -0.0242530145, 0.0458980948, -0.0049799522, 0.0357830077, 0.0127019538, 0.0678057447, 0.0121703362, -0.0371215492, 0.0410292894, 0.0418376625, 0.0145188859, 0.0470623858, -0.0091543179, 0.0199362263, 0.0007498174, 0.0285746697, 0.0289088618, -0.0559402108, 0.0016547142, 0.0402631275, 0.0042663668, 0.048799146, 0.0284227505, 0.029536264, 0.0047490411, 0.0135397585, -0.0069695511, 0.009024092, -0.0085815452, 0.0165872946, -0.0647958741, 0.0162667129, 0.0065541174, -0.0335094593, 0.0463703834, -0.0101751396, 0.0903741345, -0.0118446415, 0.0357121564, -0.0316743851, 0.0264729299, -0.0328016058, 0.0442426763, -0.0028253582, 0.0120906625, 0.0025315313, 0.0199499521, 0.0524902269, 0.0397909582, 0.0150129003, -0.0299885273, 0.0319759287, -0.0070408466, -0.0455843806, -0.0561844073, -0.0356994532, -0.0398522988, -0.0577827878, -0.0617976785, -0.0699566156, 0.0592427552, -0.0306959543, 0.0583193675, -0.0453665443, 0.0113010099, 0.0199709293, -0.015083815, -0.0359601714, 0.0132732717, -0.004766379, 0.0221206341, 0.0187916066, -0.0073172711, -5.845861976e-33, -0.0332206711, -0.0179161187, -0.0207248777, -0.0114485603, -0.0423261151, 0.0160737596, -0.0069661946, -0.0145949749, -0.0189709272, -0.0114206243, 0.0210221, 0.0251209587, 0.0268403478, 0.0143506033, 0.0175886918, -0.0356991775, 0.1094969139, 0.0299356282, -0.0172556899, -0.0320592411, 0.0362852998, 0.0119067067, 0.0232370384, -0.0332093313, -0.0272921771, -0.0409708284, 0.0020127038, 0.002870599, -0.0267531648, 0.0804534182, -0.0089590121, 0.0795115829, 0.0144745186, -0.0639264658, -0.0202848129, 0.0518760942, -0.11451938, -0.0043220771, 0.0331207067, 0.0514358133, 0.0072115124, -0.0377937481, 0.0779917166, 0.0075784079, -0.0611871369, -0.0153399287, 0.0291419625, 0.0031264694, -0.0072890888, -0.0366753452, -0.046250999, 0.0065114796, -0.0104306424, -0.0006479757, 0.0895124078, 0.0415213071, -0.0095910653, 0.0020743408, -0.091346994, 0.0395100974, -0.0025029161, 0.0474947244, 0.0469182022, 0.059940502, -0.0237410739, 0.0156693123, 0.0434706509, -0.054001525, -0.0111274226, -0.0738699883, 0.0308120344, 0.0149451001, 0.0121556055, 0.0264530871, 0.0253244881, -0.0157482903, 0.0165514052, -0.0462036282, 0.0318165496, -0.0044230213, 0.020767184, -0.0024084987, -0.0204761475, -0.0394742452, -0.0954545066, 0.0001224592, -0.0117444461, 0.0035888061, 0.0134793464, -0.0095600663, 0.02384023, 0.0335217267, 0.063552618, -0.0227703769, 0.0167079289, -0.0283949487, 0.0095561119, 0.0418813787, 0.0012394192, 0.0362791568, -0.0093317656, 0.010123943, 0.0471935757, 0.0735539794, 0.0028876688, -0.0205363873, -0.0265214518, 0.0089591788, -0.0368314981, 0.0190966483, -0.0259745289, 0.0034536696, -0.0320045166, 0.0040971148, 0.033002533, 0.0286867209, 0.0020553241, -0.0176865682, 0.0025734394, 0.0227576215, -0.0210168082, 0.0413609967, -0.0281194001, 0.0476917922, -0.0419946127, -0.0174102616, -0.004824901, 0.0401398502, 0.0863653049, -0.0227393284, -0.0145522235, -0.0133882314, 2.568e-7, 0.0252513885, 0.0169537738, 0.0608305931, -0.0288110282, 0.0402844697, -0.0092300689, -0.00366879, -0.0197115857, 0.0177715216, -0.0286889039, -0.0236541331, -0.0011877151, 0.0827664137, 0.0221603904, -0.0327396281, -0.0491587296, -0.0623548105, 0.0267867818, -0.0062954025, 0.0468229689, 0.0140519291, 0.0923270881, -0.0416406542, -0.0231105462, -0.0583533458, 0.0381128453, 0.0325864963, -0.0116605107, 0.0057009845, 0.0164148882, -0.0053483667, -0.0270487908, 0.0416270681, 0.0455785282, -0.0177538916, -0.0026316342, 0.0234384388, 0.023637509, -0.0014768142, -0.0645262599, -0.0040692268, 0.014588993, -0.0420095809, -0.0060363603, 0.0183741823, -0.0361906998, 0.019101169, -0.0169164464, -0.053598579, 0.0276661254, 0.0111236293, 0.0188799575, -0.0138945747, 0.0192291476, 0.0145909665, 0.0197376963, -0.0225529224, -0.0436693281, -0.0176517814, 0.0051136585, -0.057375107, -0.0456689894, 0.0346631296, -0.0619065017, 0.0336708315, -0.0206047557, -0.0101370495, 1.901562543e-34, 0.0333525091, 0.0259303711, 0.0143794036, 0.048119124, 0.0162378009, -0.0626045167, 0.0023848412, 0.0488320291, -0.0022313143, -0.0349809192, -0.0000772796 ]
http://arxiv.org/abs/2310.09917v3
http://arxiv.org/pdf/2310.09917v3
Empirical study of pretrained multilingual language models for zero-shot cross-lingual knowledge transfer in generation
2023-10-15T18:58:53
2024-04-22T17:10:45
Nadezhda Chirkova, Sheng Liang, Vassilina Nikoulina
cs.CL
cs.CL
Zero-shot cross-lingual knowledge transfer enables the multilingual pretrained language model (mPLM), finetuned on a task in one language, make predictions for this task in other languages. While being broadly studied for natural language understanding tasks, the described setting is understudied for generation. Previous works notice a frequent problem of generation in a wrong language and propose approaches to address it, usually using mT5 as a backbone model. In this work, we test alternative mPLMs, such as mBART and NLLB-200, considering full finetuning and parameter-efficient finetuning with adapters. We find that mBART with adapters performs similarly to mT5 of the same size, and NLLB-200 can be competitive in some cases. We also underline the importance of tuning learning rate used for finetuning, which helps to alleviate the problem of generation in the wrong language.
[ 0.0000657775, -0.0097236335, 0.0109897163, 0.0324234925, -0.0260378215, 0.0070346985, 0.0503722131, -0.0428286009, -0.0488996804, -0.057157062, -0.0327591635, -0.0404678546, -0.0146015724, 0.0180432294, 0.0402172692, -0.0380569398, 0.0385741591, -0.0272663645, -0.0325015858, -0.0011775472, -0.0183586758, 0.0410901308, -0.0034961521, 0.0136181861, 0.0125014381, 0.0080000712, -0.0134519152, -0.0002491767, 0.0206172746, -0.0013961804, -0.0117884045, 0.0485945493, 0.0001978481, 0.033715643, 0.000001965, -0.0354804061, -0.0283581819, -0.0027088325, -0.0015074316, -0.0156369172, 0.0103933709, -0.0547078624, -0.0031317889, 0.0182516146, -0.0192067996, -0.013500642, 0.0586551987, 0.0387992524, 0.0409187265, 0.0740414262, -0.0115340641, -0.0002184327, -0.0057253125, -0.0322267152, 0.0350615568, -0.0408291295, 0.0134130446, 0.0205036253, -0.0205244906, -0.0014712912, -0.0242976528, 0.0298309047, 0.016571153, 0.0088260425, -0.0245121382, 0.0382093601, -0.0257684626, -0.02794802, -0.0098400004, 0.0846800879, -0.0625632703, -0.0424319208, 0.0127150165, -0.0182337724, -0.0284159519, -0.0185557157, -0.0341053344, 0.0469447263, 0.003863368, 0.0210115742, 0.0346923247, -0.0127135646, 0.0179679431, 0.0126282759, -0.0239615422, 0.0412223786, 0.0290256124, -0.001411623, -0.012443793, 0.0157867391, -0.0143680051, -0.0653398633, -0.0347891822, 0.0379724018, -0.0033112133, 0.017459685, -0.1021260694, -0.0254737362, 0.0122793289, -0.0191811267, 0.0849019587, 0.0421875045, 0.0147589752, 0.0327641852, -0.0781432912, 0.0267811809, -0.0108967675, -0.0080393888, -0.0592855886, -0.0252276771, -0.0581348911, 0.0066616754, -0.050193049, 0.0207825545, -0.0472744033, -0.0076177665, -0.0288326573, 0.0130006904, 0.0141181843, -0.0433270633, -0.0069227233, -0.0290741883, -0.068151027, -0.0408686101, 0.0040534805, 0.0811745226, -0.0211622082, 0.0081074471, 0.013746338, -0.0703602135, -0.0191391949, 0.0459497161, 0.0294799618, -0.0499472395, 0.0019264831, 0.0551626272, -0.0517209657, -0.0196949374, -0.058297839, -0.0633125305, -0.0105741518, -0.0936827883, 0.0287478231, -0.066639699, 0.044516664, 0.00419917, -0.0248626173, -0.0075959438, 0.0078768907, 0.0085016908, -0.0389710739, 0.0219094772, -0.0207965281, -0.0082966117, -0.0088335797, -0.0075519672, -0.0028685438, 0.0879528522, 0.013944325, 0.0387042351, 0.0041259467, 0.0050634732, -0.0422037356, 0.0203523189, 0.0513477065, 0.0252253413, -0.0179698989, -0.0336350873, -0.0088190306, 0.0204458367, 0.0335658342, 0.0195616074, -0.0517153963, 0.0419497117, 0.0575124621, -0.0174749717, 0.0479599461, 0.0198385492, 0.1290750057, -0.0204824582, -0.0430659093, 0.0218596272, -0.0116814468, 0.0614723377, -0.0451705754, 0.0344186537, 0.0024622551, 0.0644655079, -0.0580831803, 0.0005703809, 0.0148793906, -0.0330506563, -0.0159531347, -0.0336978287, 0.0535806865, 0.0516582541, -0.0658532009, 0.0600222461, 0.0320274271, -0.0509489998, 0.0384223051, -0.0307746157, 0.0278882086, 0.0304398406, 0.0065408256, 0.0462462045, -0.0723206997, -0.0150074558, 0.0139225563, 0.0496836491, 0.0824811608, -0.0051887226, 0.0125454571, -0.066178225, -0.0172762405, -0.0420186333, 0.0011881812, 0.0636988357, -0.0343582258, 0.0651790053, 0.043805059, -0.0203528535, 0.0076601789, 0.0171717983, -0.0948311016, -0.0163511131, 0.0068113315, 0.0039482433, 0.018147599, -0.0105622439, 0.0062152976, -0.0006750107, -0.0021827416, -0.0370725431, -0.0003276207, 0.0332425609, -0.074575536, -0.0694161505, 0.0246644374, -0.0234059021, 0.0386398323, -0.029899817, -0.0144230165, -0.058581952, 0.0329602361, 0.0473928787, 0.0206195693, -0.05288307, 0.0117349913, 0.0211437624, 0.0320932455, 0.0051142778, 0.0560111366, 0.0132099446, 0.005952355, 0.0338209048, -0.0358699933, 0.0342316367, -0.0084276292, -0.0232197251, 0.0312313586, 0.0007317892, 0.0044743703, 0.0269422401, 0.0541285574, -0.0253975447, -0.0294122528, -0.0669748411, 0.0291760024, -0.0270760003, 0.0144676063, 0.046636153, 0.0306814648, 0.0116165997, 0.0020008129, -0.0553156957, 0.0280957017, 0.0444137678, 0.0155671472, 0.0218274724, 0.0251757111, 0.0345653407, 0.0003344658, 0.0040171449, 0.0271261688, 0.0379766263, -0.0017111722, -0.0197419152, -0.0319729373, 0.0388096422, -0.0680669025, 0.0074735857, 0.0090321861, -0.0282684304, -0.0057690255, -0.0116491159, 0.043188829, 0.0070449128, -0.0067363083, 0.0084081255, 0.0311320983, -0.0203110967, -0.0352788232, 0.0246381797, -0.0195261892, -0.0141429631, -0.0299121216, -0.0200081673, -0.0063047353, 0.0798959807, -0.0006762917, -0.0239898097, -0.0919620618, 0.0551668778, 0.0138776498, -0.039036151, 0.0201073419, 0.0355254784, 0.0196225625, 0.0484300554, -0.0241654608, -0.0209294278, 0.0365089104, -0.047790464, -0.0043864828, -0.0293971784, 0.011188183, -0.0165087711, 0.0096144443, 0.0144188898, 0.0625654683, 0.0358707272, 0.0139771039, -0.0606318749, -0.0113748256, 0.0323235281, 0.0104618063, -0.0109431352, -0.0467881002, 0.0039467444, -0.0230602194, -0.0036016088, -0.0223159492, -0.0055700555, 0.0167788342, 0.0328316167, -0.0112444321, 0.0067667817, -0.0333968028, 0.0190699995, 0.0265687313, 0.031105781, -0.0275661312, 0.0070385528, -0.0256105959, 0.0348419249, 0.0598234907, -0.0015437903, 0.0134765645, -0.0594383515, 0.0213260315, -0.0064394451, -0.0145971496, 0.0244460311, -0.012806627, 0.0094176866, 0.0196695216, -0.0199392792, -0.0423204377, 0.0174250808, 0.0767998546, -0.0477986299, -0.0226353183, 0.0938999727, 0.0024960432, 0.0043980917, -0.0049189664, 0.0004385556, 0.0186907146, -0.0080513759, 0.036273241, -0.0863435119, -0.0365581624, -0.0066126632, -0.0017406465, -0.0099392524, -0.0337536484, -0.0459155776, -0.1282713413, 0.0244158767, 0.0171511061, -0.0774805993, -0.0155991307, 0.0014795508, -0.0517686568, 0.0231287368, 0.0319592059, -0.0096271932, -0.0084400764, 0.032942906, 0.0259468742, 0.0270299502, -0.0924848765, 0.0152225355, -0.0346540958, 0.0400878154, 0.0574885234, 0.0209258124, 0.00538859, -0.0179641657, 0.0064902143, -0.0310964379, 0.0047306498, -0.0121006323, 0.0306763705, -0.0060626059, -0.0294955689, 0.0343279168, 0.0181552581, 0.0012343652, 0.0255778264, -0.0268454626, 0.0686243698, 0.0197626613, -0.0332292132, 0.0349386446, 0.0310228355, 0.0018382794, 0.0625902116, 0.0293691419, -0.0186805669, -0.0370108299, 0.0028648849, -0.018806234, -0.0921932459, -0.0100818481, 0.0167982224, -0.0310607124, -0.0301002264, -0.0909984857, -0.0667619482, 0.0305888373, 0.093338944, 0.0032053378, 0.0115347207, -0.0200458728, -0.0258302335, -0.0097259637, -0.0077484809, -0.0261851456, -0.0101505453, -0.0569590032, -0.0276614092, 0.0236237328, -0.0734701082, 0.0163128302, -0.011740922, -0.0638386458, -0.0677015781, -0.0499713719, 0.0885473341, 0.0176948719, 0.0580808856, -0.0046368884, -0.0126429098, 0.045302242, 0.0528824292, -0.0151070347, 0.0107763167, 0.0357005782, -0.0126556447, -0.009561697, 0.0557478182, -0.0395708047, 0.018962713, 0.0138776954, 0.0536925942, -0.0049512298, -0.0412868969, 0.0245709065, 0.015894223, -0.0208446197, -0.0409838185, -0.0070015923, -0.02146459, -0.0138662104, -0.036023099, -0.0064098281, -0.0732473731, -0.0178502183, 0.0350486003, -0.0038725117, 0.0176693965, -0.0209666807, -0.0199820381, 0.026141122, 0.0024974158, -0.0025492085, -0.0054722712, 0.0232586507, 0.0293455087, 0.0199337844, -0.0258832872, -0.0169963427, 0.0037115919, 0.0302271824, -0.0588088147, 0.0573839918, 0.0129284924, 0.034357857, -0.0104637928, 0.0224687178, -0.0180969834, -0.0310470611, -0.0315416753, 0.0115363766, 0.074609831, -0.0120315356, 0.1042417586, -0.0279390123, -0.0146318907, -0.0228901152, 0.0798344761, -0.0099905366, -0.0187014733, 0.011010942, -0.0040345718, -0.0025406987, 0.0078521557, 0.1001499444, -0.0061844741, 0.0350573249, 0.0249003172, 0.0246784519, -0.0241907034, 0.0075978418, 0.0289488267, -0.0265181381, 0.0122022154, 0.0397569612, -0.0380844623, -0.0616425239, 0.025236683, -0.0227907468, -0.0022681991, 0.0203383416, 0.0272132829, 0.0666207075, -0.0355457887, 0.008794887, -0.0709681511, -0.0054265745, 0.0256859586, 0.0139229866, 0.0086746654, -6.411443002e-33, -0.0691065788, 0.0017905537, 0.0647052005, 0.016734235, -0.0226971637, -0.0222936068, -0.0410071015, -0.0091894455, -0.0146937892, 0.0096940771, 0.0283695441, -0.066028893, 0.0092949113, 0.0361434743, -0.0064646224, 0.0012508555, 0.052626323, -0.0054249428, -0.0189906769, 0.0475474037, 0.0634217262, 0.0367237516, 0.0615008734, 0.0227869004, -0.0217652582, 0.0009047407, -0.0060563548, -0.0031907873, 0.0180301517, 0.021455925, 0.0122971525, 0.0087877279, 0.0240068417, -0.0341754407, -0.049060367, -0.0371163189, -0.0578784719, -0.0414970331, 0.0123556582, -0.0004848671, -0.0208038483, -0.0399418548, 0.0267802868, -0.0285874959, 0.0390134193, -0.0168129392, 0.0164145026, -0.0122786853, -0.0390862897, -0.03618595, -0.0933392346, 0.0068168677, 0.0012159899, -0.0566800386, 0.0286557842, 0.0925672203, -0.0146520687, -0.010802961, -0.0404191427, 0.0125650046, -0.0073708496, 0.0372405536, 0.0799268857, 0.0105096707, -0.0137684802, 0.0157316029, 0.0184951723, 0.0046885712, 0.0336604938, 0.0551689416, 0.0527932793, 0.0448612012, 0.0098468019, 0.0559676103, 0.0235459097, 0.0165224057, -0.0541835092, 0.0331014879, -0.01290642, 0.0266488139, 0.0331790894, -0.0281212088, 0.0195103511, -0.0162092131, -0.0330876336, -0.0587224513, -0.0267045349, -0.0642756671, 0.036575187, 0.0301865991, -0.0056354105, -0.0057095443, 0.0966159552, -0.0042436416, -0.0019727112, 0.013918886, -0.0545214079, 0.0023535204, -0.0284480229, 0.0478884727, -0.0914085507, -0.0451981612, 0.0133130737, 0.0062864567, -0.0046655885, 0.0253092907, 0.049847763, 0.0293211676, -0.0440149531, 0.0102929538, -0.0750990286, 0.0418402068, 0.0205466654, 0.0414724536, -0.0001717306, -0.0143721262, -0.0394868888, 0.0369748659, 0.0047617932, -0.0600677431, 0.0265988428, -0.0176953599, 0.0164335575, 0.0254643299, -0.0498333871, 0.0208767653, -0.0414951742, 0.021176897, 0.0383399762, -0.0327093676, -0.0190554, 0.0318730511, 2.742e-7, 0.0252172891, 0.0142379608, 0.0015273998, -0.0107678007, -0.0006282602, 0.0359350741, -0.0336715057, 0.0437934324, 0.0070458655, 0.0416565947, 0.0008146007, 0.0269255023, 0.0330194123, 0.0306049194, -0.0558954105, 0.028933011, -0.0160916802, 0.0231578704, -0.0189999398, -0.0399170667, 0.0210267957, 0.0214174446, -0.0240813065, -0.0124084614, 0.0371610895, -0.0369333513, 0.0947145596, 0.0058229528, -0.0559417531, 0.0228916854, 0.0308922213, 0.000577897, -0.0286163352, 0.0251519065, -0.0357317328, -0.0118122241, -0.0048090606, 0.0386075713, 0.011481653, -0.0253941212, 0.0512473546, -0.0027391268, -0.0240568239, -0.0164588094, 0.0741517693, -0.0643371567, -0.0228295997, -0.0025522655, -0.0350498781, 0.036887195, -0.0055994624, -0.0505456775, -0.0241497774, 0.0554360338, 0.0448547192, 0.0179995354, -0.048534248, -0.0114280693, -0.0082223369, 0.0192160401, -0.0226042178, -0.032315854, -0.0293379966, -0.0486423112, 0.0272237584, -0.0550794974, 0.0055773221, 2.340424635e-34, 0.0037436632, -0.0295496099, 0.0135306064, -0.0195658505, 0.0043968875, -0.0101302424, -0.0376565047, 0.0138144726, -0.0109373378, -0.0256097633, -0.0400761776 ]
http://arxiv.org/abs/2310.09909v3
http://arxiv.org/pdf/2310.09909v3
Can GPT-4V(ision) Serve Medical Applications? Case Studies on GPT-4V for Multimodal Medical Diagnosis
2023-10-15T18:32:27
2023-12-04T14:13:35
Chaoyi Wu, Jiayu Lei, Qiaoyu Zheng, Weike Zhao, Weixiong Lin, Xiaoman Zhang, Xiao Zhou, Ziheng Zhao, Ya Zhang, Yanfeng Wang, Weidi Xie
cs.CV
cs.CV, cs.CL
Driven by the large foundation models, the development of artificial intelligence has witnessed tremendous progress lately, leading to a surge of general interest from the public. In this study, we aim to assess the performance of OpenAI's newest model, GPT-4V(ision), specifically in the realm of multimodal medical diagnosis. Our evaluation encompasses 17 human body systems, including Central Nervous System, Head and Neck, Cardiac, Chest, Hematology, Hepatobiliary, Gastrointestinal, Urogenital, Gynecology, Obstetrics, Breast, Musculoskeletal, Spine, Vascular, Oncology, Trauma, Pediatrics, with images taken from 8 modalities used in daily clinic routine, e.g., X-ray, Computed Tomography (CT), Magnetic Resonance Imaging (MRI), Positron Emission Tomography (PET), Digital Subtraction Angiography (DSA), Mammography, Ultrasound, and Pathology. We probe the GPT-4V's ability on multiple clinical tasks with or without patent history provided, including imaging modality and anatomy recognition, disease diagnosis, report generation, disease localisation. Our observation shows that, while GPT-4V demonstrates proficiency in distinguishing between medical image modalities and anatomy, it faces significant challenges in disease diagnosis and generating comprehensive reports. These findings underscore that while large multimodal models have made significant advancements in computer vision and natural language processing, it remains far from being used to effectively support real-world medical applications and clinical decision-making. All images used in this report can be found in https://github.com/chaoyi-wu/GPT-4V_Medical_Evaluation.
[ 0.0093790647, 0.0746654421, -0.0263697803, 0.0020295659, -0.0404599309, 0.0196368936, 0.0269201566, 0.0531479269, -0.0037030233, 0.0078966273, -0.0150473369, -0.0539806262, 0.0133583024, 0.0402589329, 0.0028371057, -0.0889171436, -0.0004787066, 0.0419643, -0.0034953083, -0.0230408963, -0.0128690312, -0.0177829359, -0.0270949882, 0.0903744921, -0.0411747657, 0.0132739749, -0.0062012998, -0.02075449, 0.0413423553, -0.0420754813, -0.015419214, 0.016294755, -0.006329759, 0.0120817004, 0.0000024773, -0.0403878056, -0.0114108305, 0.0386128239, 0.0349254869, 0.0042921645, 0.0659348965, -0.0578386597, -0.0046833451, -0.0144922044, -0.0385404862, -0.0402698107, 0.0403178111, 0.0647254214, 0.0333787613, 0.0474980287, -0.0264256038, -0.0205922183, 0.0778167844, -0.001878712, 0.0003578291, -0.0740754008, -0.0060324934, -0.00355141, 0.0123758549, -0.021440722, -0.0045109382, 0.0515696816, 0.0332900994, 0.0484687053, -0.0027731215, 0.1072145775, 0.0205069911, -0.0520016029, -0.0503125638, 0.0399670713, -0.0135158217, -0.0100433724, -0.0202325992, -0.0114487708, -0.0374165364, -0.0025126394, -0.0165740196, -0.0023288957, -0.0155875692, -0.005494961, -0.0356096886, -0.0096978052, 0.0114043793, -0.0118711246, -0.0208550468, -0.0164252296, 0.02921254, 0.0294709764, 0.0370277576, 0.0062884358, -0.0724196285, -0.0209030155, 0.0136854472, 0.0280557536, -0.0505318381, -0.0295710713, -0.0320671275, -0.0270325262, 0.0394905508, -0.0388019867, 0.0136662321, 0.0174751058, -0.0411428735, 0.0380342789, -0.01208416, 0.0142862666, -0.1215726584, 0.0732278526, -0.0211739987, 0.0041285907, -0.0469279028, -0.0047467295, -0.0209444501, 0.0000455474, 0.0078665297, -0.0658523291, -0.0348842852, -0.0043353513, 0.0060237101, -0.0325130634, 0.0059702634, 0.0870759562, -0.0175532885, 0.0202514753, -0.0265178271, 0.033858154, 0.0205165055, 0.0105134156, -0.0262342319, -0.0003208591, 0.0301874075, 0.03171473, -0.0128155006, -0.0099882344, 0.0184358675, 0.0429721773, 0.0060216645, -0.0275857858, 0.0165829677, -0.0286677293, -0.013973603, -0.0675025731, 0.0509454049, -0.0187882129, -0.0126321884, 0.0130708776, 0.022372026, -0.0091724163, 0.016615238, -0.0056502279, 0.0067948783, 0.0693077222, -0.0317843296, -0.0276905056, 0.039903786, 0.0330939293, 0.0048728851, -0.0186427459, 0.0434902832, -0.0132664246, -0.0156648122, -0.0347250439, 0.0094108107, -0.0025655935, -0.0156002352, -0.0195532814, -0.0157138947, -0.0242211539, -0.0030082059, 0.0729779899, -0.0234367177, 0.0646460578, 0.030046083, -0.0098189777, 0.0381904952, 0.0343945287, 0.0285694748, 0.0158855841, 0.004651017, -0.042748034, -0.0179102663, -0.0179189853, 0.0052451408, 0.0367411822, -0.0098710796, -0.0290618464, -0.0424246378, 0.0086365249, -0.0185883883, -0.038733989, -0.054071065, -0.0342725068, -0.0141636804, -0.00512351, 0.0687683374, -0.0518172793, -0.0284123067, -0.0336864181, 0.0196041856, 0.0019019337, -0.0795419663, -0.0818506181, 0.00260935, 0.0162103325, 0.0152711403, -0.0269416161, -0.0506582558, 0.0128151467, 0.0144124189, -0.0032913783, 0.0422245599, 0.0475137308, 0.0478011891, -0.0317270197, -0.000148954, 0.0297837779, 0.0294456445, -0.0174135268, 0.0157350209, 0.034116473, -0.0339519754, -0.0180856679, 0.0557430163, 0.0093716327, -0.00309122, 0.0201130081, 0.0155005949, 0.0282946452, 0.0486412384, -0.0059733456, -0.0228983387, -0.0282186829, 0.035111662, -0.0088976799, -0.0424452201, 0.0053123273, -0.009243181, 0.0355538242, 0.0172488131, -0.0494483188, -0.0133810611, 0.0100388685, -0.051505357, -0.017480813, -0.0120688686, -0.0537065901, -0.0435699485, -0.0289054196, -0.0207942296, 0.0505961403, 0.0197157767, 0.00120371, 0.0456120484, -0.0022893075, -0.0607827492, 0.0140751638, -0.022496555, 0.0419470519, -0.0433257855, -0.055123616, 0.0111196013, -0.0068840818, 0.0033389227, -0.0115894945, 0.0158632528, 0.0054502529, 0.0156926811, -0.1050769761, 0.0102189165, 0.0286388081, -0.0254568513, 0.0405311622, 0.0253767706, -0.0022919881, -0.0195989441, -0.0021257969, 0.0335422084, 0.0604648367, -0.0120779593, 0.061578691, 0.0407123566, 0.0012776392, -0.0106441202, 0.0192315578, -0.0314218402, -0.0346295349, 0.037008591, -0.0352855735, 0.0050943037, -0.0111397495, -0.0322424583, 0.0251996033, 0.0208061393, -0.0519536883, 0.0234197583, -0.031451121, -0.059892796, 0.0829843581, -0.0095061008, 0.0547222197, -0.0057959324, 0.0271286387, 0.0465930179, 0.0192419458, -0.0179622099, -0.0389044173, 0.0573119298, -0.0202015433, -0.041573178, 0.0417181291, 0.0197751652, 0.023863174, -0.020799173, -0.0061583738, -0.0262397006, 0.0039169556, -0.037509419, 0.0455200411, -0.0349817164, 0.0199555084, -0.010952997, -0.045451995, 0.0526618436, 0.0285571925, 0.0291159935, -0.0181251131, -0.0239803251, -0.0418919809, 0.0300359745, 0.0122463861, 0.063513495, -0.0075252843, -0.0025808325, -0.0079048928, 0.0117137581, -0.0190772843, -0.0359411612, 0.0218939856, -0.0429291576, 0.0306296963, -0.0049345396, -0.042387452, -0.0141992448, 0.0161558893, 0.0093014715, -0.001607194, -0.0385217257, 0.0299030859, 0.0112866145, 0.039491497, -0.0085291173, 0.046484787, -0.0016449944, -0.0037881683, -0.0219980143, 0.0636933297, -0.0112141706, 0.0355729237, -0.0264109578, 0.0090607256, 0.0121812038, 0.0608236082, -0.0117604947, 0.0196233317, -0.0972610638, 0.0241989568, -0.0301405899, 0.0354589261, -0.0346752219, 0.0111118956, 0.033100266, -0.0244993381, 0.0098300204, 0.0362030976, -0.0080036363, -0.0766856819, -0.0138007738, 0.0470970348, -0.0542190708, -0.0407377742, -0.0210303161, -0.0692128986, -0.0458440743, -0.0115995742, -0.006905721, -0.0160750169, 0.0096500358, 0.0346463434, 0.0042232592, 0.1048341095, -0.0103270868, -0.0678337514, -0.0366940759, -0.0130195897, 0.0129290894, -0.0258937627, 0.0051140818, -0.0252356697, 0.0084160017, -0.0337611511, -0.0030272973, -0.0009171406, -0.0803897008, 0.0094946437, -0.007502446, -0.0497970209, 0.0631370991, 0.0474947095, -0.0346788056, -0.0619752184, -0.002250995, 0.0479237773, 0.0326894373, -0.0129002081, 0.0790969506, 0.0130228251, 0.0053433618, -0.0513727851, 0.0634969324, 0.0085212691, 0.0289585982, -0.039308846, 0.0794922039, -0.0520369969, -0.0073258034, -0.1005461141, -0.0160066579, 0.0171430688, -0.0113125741, -0.0295020957, -0.0096463775, -0.0942930654, 0.0292519089, 0.1015914306, 0.0186857507, -0.0025976854, -0.0066879238, -0.0053833732, -0.0754270926, -0.0327014402, 0.005273445, 0.003620466, 0.00291913, 0.038182307, -0.0242986027, -0.0070978119, 0.0349449553, -0.0439543948, 0.0295099467, 0.0518137217, 0.0238896813, -0.0507102385, -0.0055844649, 0.06654495, -0.0417777859, -0.0007336983, 0.0518483557, -0.0016973888, 0.0486705601, -0.0408068746, 0.0536977574, 0.0256472342, -0.0536195897, -0.0487877429, 0.0094440766, 0.0300770476, 0.0394622013, -0.0262592509, 0.0042098174, 0.0141017744, -0.0440588556, -0.0211818703, -0.014721713, 0.0202120524, 0.0391239561, -0.0443106368, -0.0273580123, 0.0087983916, -0.0095175346, 0.0265761577, 0.0594259389, 0.08400812, -0.0232632961, 0.0027612681, -0.0030564608, 0.0234397501, 0.0075429119, 0.0518754497, -0.033593148, 0.0223895423, 0.0409173742, -0.0018181641, -0.0206218306, -0.0090011014, 0.007652441, -0.0515916012, -0.0372313, 0.0109693725, 0.0430821925, -0.0050022537, 0.013680907, -0.0003745812, -0.0051446003, -0.0514358506, 0.0069466303, -0.0002340884, 0.0089211948, 0.0649511069, -0.0077642729, 0.0196399298, 0.0094058495, 0.0747932568, -0.0244164504, -0.0261458699, -0.0301679131, 0.0331795663, 0.0607922375, 0.0217850748, 0.0187604111, -0.0410224162, -0.0095927995, -0.0058891638, 0.0467525348, -0.0297647808, 0.0043577575, 0.0386491939, -0.0180935562, 0.0402392708, -0.0009941742, 0.0697761998, -0.0068045561, 0.0283631962, -0.0284050982, -0.0477336273, -0.0516032092, -0.0216301475, 0.0412649363, 0.0319840945, -0.0455773361, 0.0179863237, -0.0372988097, -0.0329652652, -0.0198558774, -0.0239997841, -0.0260739252, -0.0466816351, 0.047280252, 0.0234982781, -0.0068479674, -0.0995422006, 0.0026533401, -0.0169272684, -0.044114273, 0.015988579, 0.053678304, -6.283450769e-33, 0.007565252, -0.0044455021, 0.0321447365, -0.0276484434, -0.0023230894, 0.0417727903, -0.0325470008, 0.0155222705, 0.0166227501, 0.0298379939, -0.0227055438, -0.0345450453, 0.0117873596, 0.0445640497, 0.0218200199, -0.007642813, -0.0100187548, -0.0219619684, 0.0035406193, 0.0303842574, -0.0093867499, -0.0091652684, 0.0590289906, -0.0761248544, -0.0703747198, 0.0512600057, -0.0471136905, -0.027010506, -0.0992275178, 0.0341486633, -0.0590846092, 0.0320417769, 0.0220714472, -0.0117747718, 0.0200849473, -0.0146999257, -0.0234436728, 0.0147196837, -0.0145834573, -0.0011928224, -0.0741441324, -0.0299288426, 0.0454553962, -0.0291387569, -0.0145128481, -0.0103468075, 0.0358834527, -0.02486616, 0.0286025051, -0.0017427856, -0.0288729426, 0.0472836532, 0.02760203, -0.0206663925, 0.0004442947, -0.0199453998, -0.046678327, 0.0459314324, -0.0357232802, -0.0058763004, 0.0373932309, -0.034104161, 0.0155620957, -0.053941682, -0.0039409269, 0.0465080068, 0.0588570572, -0.1017235741, -0.0455480479, -0.0169240031, -0.0414755307, 0.0830791965, 0.059427999, 0.0158489943, 0.0188138448, -0.0355036743, -0.0696974918, 0.0295473598, -0.0557473861, 0.0505790636, 0.0078482842, -0.036477901, -0.0372960865, 0.0198516939, 0.0623543039, -0.0649776235, -0.0059405444, -0.013638231, 0.0543978624, 0.0058886185, -0.001354647, 0.0693101883, 0.0352550857, -0.0211608279, 0.048779875, -0.0460712612, 0.0479765385, 0.0591818094, 0.0035175765, -0.0142478505, -0.042014461, -0.0310278703, 0.0189998727, 0.0007643258, 0.0357839018, -0.0021083732, -0.0125176227, 0.02734695, -0.0143161844, 0.0137599232, -0.0034445748, 0.0033924805, -0.0016803107, 0.0104933428, 0.047522895, -0.0234517809, -0.0026635102, 0.0295633078, -0.0234714542, 0.0338223428, -0.0826699734, -0.0719696432, -0.0447609872, -0.0167960841, -0.0190531798, -0.0216233265, -0.013999369, -0.0271948483, 0.019204516, -0.0518570282, -0.0462230816, 0.0473683998, 3.216e-7, 0.0457724743, 0.0338190161, 0.0152401002, -0.0253982842, 0.0286885966, 0.0217240583, -0.0342873111, 0.0236205198, -0.0107677123, -0.0143275568, 0.0522756875, 0.0306339338, -0.0045950986, 0.0174562968, -0.0053307107, 0.0017232045, 0.0274701621, 0.0125230281, -0.0092357462, 0.0094972914, 0.0555031449, 0.0404239073, -0.0089816879, -0.0790471509, 0.0749832913, 0.0082556242, 0.053925775, -0.017886553, 0.0517854542, -0.0243737958, 0.0201798156, 0.0329181962, 0.00572136, 0.0443607718, 0.0294278022, -0.0254521109, 0.0294660199, 0.0459692106, -0.0762880892, -0.0037847715, 0.0168259442, 0.0315081067, 0.025020333, -0.072990939, 0.0907672346, -0.0177695751, -0.0321098082, -0.0329823904, -0.0009109837, -0.0274051819, 0.0807710439, -0.0345209278, -0.0046846964, 0.0130839515, -0.0029422147, -0.0014005054, -0.0501022227, -0.0563145652, 0.0226386674, 0.0155714732, -0.0329191685, -0.017110901, 0.0423422344, -0.0054889391, 0.0552484505, -0.0762375221, -0.0574124381, 2.512669225e-34, 0.009122896, 0.0028900723, 0.0130004948, 0.006548347, 0.0065773027, 0.0319375955, 0.0143797817, -0.0297735464, -0.0309550576, -0.0144061465, -0.0166526809 ]
http://arxiv.org/abs/2310.09897v1
http://arxiv.org/pdf/2310.09897v1
Reformulating NLP tasks to Capture Longitudinal Manifestation of Language Disorders in People with Dementia
2023-10-15T17:58:47
2023-10-15T17:58:47
Dimitris Gkoumas, Matthew Purver, Maria Liakata
cs.CL
cs.CL
Dementia is associated with language disorders which impede communication. Here, we automatically learn linguistic disorder patterns by making use of a moderately-sized pre-trained language model and forcing it to focus on reformulated natural language processing (NLP) tasks and associated linguistic patterns. Our experiments show that NLP tasks that encapsulate contextual information and enhance the gradient signal with linguistic patterns benefit performance. We then use the probability estimates from the best model to construct digital linguistic markers measuring the overall quality in communication and the intensity of a variety of language disorders. We investigate how the digital markers characterize dementia speech from a longitudinal perspective. We find that our proposed communication marker is able to robustly and reliably characterize the language of people with dementia, outperforming existing linguistic approaches; and shows external validity via significant correlation with clinical markers of behaviour. Finally, our proposed linguistic disorder markers provide useful insights into gradual language impairment associated with disease progression.
[ -0.0023993712, 0.1063493788, -0.0284185503, 0.0065968782, -0.05055077, 0.002356394, 0.0391766429, 0.0557540134, 0.0251830891, -0.0792834088, 0.0349938013, -0.0030356427, 0.0385747962, 0.0213948339, -0.0047947322, -0.0541602038, 0.0429487601, -0.0121977339, 0.043602895, 0.0128089916, 0.0049838717, -0.0091942549, -0.0334090963, 0.0297889467, -0.0632238761, -0.023116285, 0.0262660645, -0.0332897753, 0.0035732612, -0.0284548402, -0.0175323188, 0.0225906037, 0.0208170526, -0.0279204287, 0.0000018083, -0.0587281175, -0.0075800507, -0.0021861282, 0.0163004454, -0.0389569402, 0.0277692974, -0.0160570275, 0.0109153828, 0.0278113186, -0.047505483, -0.0014872163, 0.0157168452, 0.0595714524, 0.0105035137, 0.0449539572, -0.0185245145, 0.0039815637, 0.0334065333, -0.0073311012, 0.0289442912, -0.0089127095, 0.0482914299, 0.0122842789, -0.0278573297, -0.0645612404, -0.0276811961, 0.0551918931, -0.0253631268, 0.016689077, -0.0147399344, 0.0140169859, 0.0636203066, -0.0049715578, -0.0164649952, 0.0245091859, -0.0349340439, 0.0143856229, 0.0248182192, 0.0108677894, -0.0126672769, 0.0165820774, -0.0337287299, -0.0202844571, 0.0263376273, 0.0124293678, 0.0377754532, 0.0364649147, 0.0174575783, -0.0357313715, 0.0094741341, 0.05237481, -0.0246499088, -0.0376986153, -0.0082916301, -0.0093818689, -0.0093165981, -0.0475054272, 0.0360744186, 0.0110250171, -0.0503848456, 0.0352961794, -0.0148381405, -0.0611167848, 0.0377369486, -0.0215385929, 0.0399515294, -0.0025875377, -0.0719769746, 0.0199911278, -0.0078580994, 0.0327072144, 0.0239206981, -0.0223347712, 0.0019765596, 0.0233604647, -0.0384409912, 0.0027275695, -0.0315772891, 0.0195442662, -0.0131193483, -0.0358973704, -0.0576001033, -0.00142248, 0.0153615708, -0.0312139355, 0.0344453976, 0.037069682, -0.0159102567, 0.0462312289, -0.0290880818, 0.0174841806, -0.0404946879, 0.0179649927, 0.015018668, -0.0443620943, 0.0381354615, 0.0291629992, -0.0035359054, -0.0431410708, -0.0065573216, 0.0618453361, 0.0217782967, -0.011134739, -0.0548140295, -0.0321065858, -0.0734416544, -0.0298850797, -0.013935429, -0.0282638315, 0.0230143834, 0.0218506884, 0.0036409933, -0.0666417107, -0.002638503, -0.0024386528, -0.0115853129, 0.0951033533, -0.0377069004, 0.001763895, 0.0336533971, -0.0353357568, 0.0112346625, 0.0559949353, 0.0720435753, -0.0873425528, 0.0212096032, -0.0313142575, -0.011415638, 0.0465218425, 0.0184737574, -0.0202053729, -0.0441000685, -0.005502041, -0.0135432491, 0.0198057331, 0.0498194844, 0.0545409806, 0.020095909, -0.007702894, 0.0449759252, 0.0876425207, 0.0227363203, -0.0107078506, 0.0108923269, 0.0015532407, -0.0253911447, -0.0098119415, 0.0114052221, -0.0366454199, -0.0144542549, -0.0290253814, -0.0038385345, 0.0095623033, 0.0094441865, -0.050074473, -0.0047933846, -0.0544586405, 0.0964600518, 0.0195125993, 0.007060667, 0.0217960924, 0.0091036251, -0.0180908423, 0.0144863138, -0.0117076915, -0.0006869535, -0.054169111, 0.0046538617, 0.0699906051, 0.0207250919, -0.0476891771, 0.0201386753, -0.0327347741, 0.0174798872, 0.0235890597, -0.0405177958, 0.0396493264, 0.0645667091, -0.0135727935, 0.0130287698, 0.0451548882, 0.0111331688, -0.0227152519, 0.0238550194, 0.0253784861, -0.0055136145, -0.0301103964, -0.0194090232, 0.045238696, -0.0205665864, -0.0158868097, 0.0260170531, -0.0066500437, 0.0350272469, 0.0216681026, -0.0022104711, 0.0117646232, 0.024517661, -0.0413406938, -0.0264060069, 0.0298661608, -0.0793608949, -0.0420169719, -0.0019480331, 0.0284475368, 0.0171667673, -0.0182127431, 0.0261553712, -0.0413976014, 0.0316958278, -0.0727793872, 0.0707293823, -0.0242093336, -0.004433291, 0.0189420357, 0.026089428, -0.0521535538, 0.0719813555, -0.0109397648, -0.0007841504, 0.0097021088, -0.0392206647, -0.0072438782, -0.0484879538, -0.0495458506, -0.0396696813, -0.0308143627, 0.031999018, 0.0098601375, -0.000827807, -0.0227622539, 0.0067160805, -0.0896138176, 0.0083756736, -0.0110718291, -0.0167178866, 0.0119376844, 0.0030607393, -0.0175943654, -0.0359363332, -0.0221774708, 0.0187563933, 0.04199237, 0.0235959254, 0.0302630439, 0.0249013845, -0.0672830343, -0.0654716194, -0.006506789, -0.0306833647, 0.0349376649, 0.0139893359, -0.0622314028, -0.0516579188, 0.0095280418, -0.0184441358, 0.0492688529, -0.0000702674, 0.0072172671, 0.0171892401, 0.0023218403, 0.0438540205, 0.0781769231, 0.0050178505, 0.1195029914, 0.0179782715, -0.0529526025, -0.0429321676, -0.0176668894, -0.0597069822, 0.0514905117, -0.058715906, -0.0060298555, 0.0374216996, 0.05283444, 0.0687673986, 0.0188449696, -0.0395177267, -0.0167323221, -0.0485865884, 0.0024984071, -0.0127822673, -0.0234342664, -0.0517487638, 0.0339773521, 0.0134495124, -0.0935189202, 0.0320561528, -0.0048752842, 0.0082522416, -0.0551697426, -0.0438952185, -0.019137349, 0.0572042875, -0.0097259069, 0.0126108723, 0.055828698, -0.0630607307, -0.0149436248, -0.0020508987, 0.0028553614, -0.0475898013, 0.0336544886, -0.063198626, 0.0256902259, 0.0539207347, 0.0039256504, -0.0427905247, 0.0079039605, -0.0002078294, 0.0087823216, -0.0071375906, -0.0375951305, -0.0829659924, -0.0196322091, 0.0129232006, 0.0247868709, 0.0028190871, -0.0145880366, -0.0036672687, 0.0281426366, 0.0152907344, 0.021541819, -0.0455421656, -0.0139347445, -0.0015168339, -0.0050017587, -0.0239846706, 0.0658900738, -0.0366738439, 0.0220134538, -0.0181480963, -0.0216938332, -0.0131598664, 0.0673601031, 0.0441532545, -0.0184626002, -0.0175293926, 0.1190707013, 0.040172372, -0.0489817522, 0.0144470287, 0.01629466, 0.0250624791, -0.0054196822, -0.0134708257, -0.0528511889, -0.037343815, -0.0136718014, 0.0093440795, -0.0259380676, -0.0103368582, -0.0091468934, -0.0202863701, -0.0135732051, -0.0309123714, -0.009125975, 0.0389348976, -0.0104724159, -0.0047039222, 0.0003257311, 0.0440214388, -0.0498243012, 0.0087562045, -0.010161709, 0.0261534043, -0.1231791899, -0.1009436175, 0.049396798, -0.0226464644, 0.0873072818, 0.0968458131, 0.0282402206, 0.0072255149, -0.041065488, 0.0042642117, -0.0188874323, 0.0481782407, -0.0009677894, 0.0870679766, 0.0049272035, -0.0168021545, -0.0521114357, 0.0074355816, -0.0538138859, -0.0127825672, -0.0034887041, 0.0634505227, -0.0374452993, 0.0087222308, 0.0004459015, -0.0059556891, 0.0484090373, 0.0481065921, -0.0027193197, -0.069057636, -0.0248055793, -0.0000339409, 0.0545796007, 0.0240613986, -0.0356480293, -0.016935477, -0.0010509193, -0.0086316895, -0.0900168121, -0.0228124429, 0.0813822001, 0.0050548594, 0.029681677, 0.0139160333, 0.0143742338, -0.0178546086, -0.0700566322, 0.0423997045, 0.0210094284, 0.0303275287, -0.087966904, -0.0555154197, -0.0014906082, 0.0302919522, -0.0131481308, 0.0289243069, -0.0659122318, -0.0502197742, 0.0646633729, 0.0211775694, 0.0234345961, 0.0258314367, 0.0013689012, -0.0632448271, 0.0101687219, 0.0477965325, -0.0026766898, 0.0270042252, -0.0024331841, 0.0043145074, 0.0171978008, 0.018859474, -0.0001837786, -0.0116766291, -0.0218131822, 0.002832368, -0.0465105847, -0.0007967451, 0.0190825108, -0.0095401434, 0.0507598072, -0.0361710154, -0.043449901, 0.0009346026, -0.0436350144, -0.0221314933, 0.017719239, -0.0392438695, -0.0109187579, 0.0218749549, -0.0279110856, -0.0268072505, 0.0225467607, -0.0554095916, -0.0509029552, -0.0431269147, 0.0401822366, -0.0175010394, -0.001118073, 0.0067879311, 0.0202008281, 0.0470057912, 0.0267347191, -0.0324217677, 0.0055204174, 0.0308855306, 0.0291896928, -0.0032706403, -0.0085506458, 0.0230007917, -0.0079473425, -0.008923837, -0.058922857, -0.0050245025, -0.0238864366, 0.0378345549, 0.0084136045, 0.0771499872, -0.0017053653, 0.0490234122, -0.0230145752, 0.0055709621, 0.0291916858, -0.0257036146, 0.0307526309, -0.0101420293, -0.0339503475, -0.0070959395, 0.0573617034, -0.0065612467, -0.0333404839, -0.0009914846, 0.0053619952, -0.0352117755, -0.0085393181, 0.043616306, 0.0145253111, -0.0675572678, -0.0044821682, -0.0137173878, -0.0639136806, 0.0536630414, -0.0357397497, 0.0315853432, 0.0099154338, 0.0263365172, -0.0070424043, -0.033474192, -0.0146918138, -0.0491021983, -0.0109989513, -0.0035753513, -0.0511613004, -0.0352054387, -5.732421629e-33, -0.0183107462, -0.0519609675, 0.0190081149, -0.0117295859, 0.0366308726, 0.0349208228, -0.0220593903, 0.0499851108, 0.0109080961, 0.0085081235, 0.0234207157, 0.0070299464, 0.032910265, 0.0388749838, -0.00532261, -0.0292504504, 0.0284937769, -0.0283939168, 0.0017891331, -0.0275804754, 0.033544004, 0.0195555482, 0.0774741843, -0.0873828828, 0.0666728169, 0.0640716106, -0.0286477245, 0.0104936138, 0.0679897368, 0.0226029381, -0.0541935079, 0.0573082305, 0.0151726035, 0.0122988056, -0.0282336809, 0.0519871898, -0.0565577894, -0.0437939763, 0.0449368544, 0.0371269993, -0.0629049912, 0.0486224517, 0.0100638913, -0.0033660892, -0.0208826475, 0.0285201892, 0.0480639786, -0.0178478304, 0.0153824743, 0.0114856446, -0.0384553522, 0.0179589558, -0.0021908844, 0.0060937423, -0.0000825245, -0.0365079381, -0.0180404671, -0.0255243089, -0.0601150915, 0.0018957036, -0.0282834191, 0.0159435999, 0.0224413835, -0.0302040689, 0.0026958836, 0.0827442259, 0.0591389574, -0.0063423538, 0.0250568297, -0.0041528856, 0.031644579, 0.0045737782, 0.0409908071, -0.0449267812, 0.0669447556, -0.0171520878, -0.0238105711, -0.0269673988, 0.0148975039, -0.0025451183, 0.0296967905, 0.0028567426, -0.0181471482, -0.0284939501, -0.0391975418, 0.0640289709, -0.0058421935, -0.0395982116, 0.0656540319, 0.0153631717, 0.0233376231, -0.0162596423, 0.0329945274, -0.0308646746, -0.0488259308, -0.0403015986, 0.0083957007, 0.0209140331, 0.0055543967, -0.014748523, -0.0061254129, -0.0164943226, 0.0409303643, 0.0219557695, 0.0539928526, -0.0066929623, 0.0481488444, -0.0013331163, -0.0674213767, 0.0013134605, 0.0224506874, 0.0264326427, -0.0070882062, 0.0194710083, 0.0019546833, 0.0085828202, -0.0410915576, 0.0687733665, 0.0026814993, -0.0249953866, -0.0288130697, 0.0199887771, -0.0129318526, 0.0180011671, -0.006570227, -0.0441458449, -0.0406825729, 0.0003874755, 0.0326049887, -0.0245514158, 0.0118034715, -0.0097647337, 2.593e-7, 0.0759345815, 0.0913717598, 0.0234610718, 0.065262787, 0.043174725, -0.0316416658, 0.0121735903, -0.0048932778, -0.0033160413, -0.0176057108, -0.0439520851, -0.001983976, 0.0289920494, 0.0478378274, -0.0423611067, -0.0184011906, -0.0505022779, -0.0143392514, -0.0642107204, 0.033066012, 0.0632850751, 0.0504257716, -0.0142738167, -0.0379460268, 0.0254845396, -0.0438678674, 0.0449405946, -0.0402026922, 0.0165802799, -0.0106595308, 0.0108054318, -0.0207801871, 0.0611491092, 0.0604019612, -0.0495589599, -0.0077142152, -0.0446341522, 0.0437767878, -0.0672163367, -0.0413366333, -0.0051632337, 0.0458581299, -0.0266319085, 0.0224434696, 0.0487415753, -0.00044771, -0.0269862432, -0.0065595289, 0.0111137386, -0.0069443947, 0.0694966838, -0.020099178, -0.0372642614, 0.0007943582, 0.0254883915, 0.0289535634, -0.0079196692, -0.0655109063, -0.0424081981, 0.0126204686, -0.0385776982, -0.0013141193, -0.0117982952, -0.0151555222, -0.006676686, -0.0706986561, 0.014198509, 2.480570194e-34, 0.0232507214, 0.0413189195, 0.0311650485, 0.0367414393, 0.019963365, 0.0035716076, 0.0116808079, 0.0408732854, 0.0048048263, -0.0470319651, -0.0133117512 ]
http://arxiv.org/abs/2310.09886v4
http://arxiv.org/pdf/2310.09886v4
Lifelong Sequence Generation with Dynamic Module Expansion and Adaptation
2023-10-15T16:51:11
2023-11-22T06:44:16
Chengwei Qin, Chen Chen, Shafiq Joty
cs.CL
cs.CL, cs.AI
Lifelong sequence generation (LSG), a problem in continual learning, aims to continually train a model on a sequence of generation tasks to learn constantly emerging new generation patterns while avoiding the forgetting of previous knowledge. Existing LSG methods mainly focus on maintaining old knowledge while paying little attention to knowledge transfer across tasks. In contrast, humans can better learn new tasks by leveraging previously acquired knowledge from similar tasks. Inspired by the learning paradigm of humans, we propose Dynamic Module Expansion and Adaptation (DMEA), which enables the model to dynamically determine the architecture for acquiring new knowledge based on task correlation and select the most similar previous tasks to facilitate adaptation to new tasks. In addition, as the learning process can easily be biased towards the current task which might cause more severe forgetting of previously learned knowledge, we propose dynamic gradient scaling to balance the learning of the current task and replayed tasks. With extensive experiments, we demonstrate that DMEA can consistently outperform existing methods in different LSG settings.
[ -0.0101250978, 0.006404228, -0.0414694436, -0.0562602952, -0.0090110507, 0.0228694193, -0.0207448136, -0.0114422794, 0.0138507998, 0.0090455674, -0.0047163046, -0.0380949564, 0.0038282285, 0.0364297181, 0.0324658379, -0.0497863069, 0.053839229, -0.01579489, -0.0312197655, 0.0007142633, -0.0278839394, -0.0666254163, -0.0102980146, 0.0052223173, -0.0446376689, 0.0121597834, -0.0600062907, -0.0553795397, 0.0115784947, -0.0716091245, 0.0164156277, 0.0348289981, 0.0432451665, -0.017673498, 0.0000021564, -0.0128822979, -0.005195166, -0.0538787805, -0.0117628332, -0.0682831034, 0.0116362087, 0.0713481307, -0.0201175753, 0.0259734336, -0.0680569336, 0.0228360016, 0.0443405956, 0.0056490926, 0.0108538754, 0.0348919146, 0.0088878917, -0.0279495884, 0.0398625508, -0.0613844246, 0.0571416318, 0.0247185882, 0.0204753987, 0.0188930742, 0.0018444693, -0.0144840116, -0.0018062474, 0.0210284963, 0.0463171862, 0.0048628235, 0.0549086146, 0.0481893644, 0.059772931, -0.0361704119, 0.0079317279, 0.0323233381, -0.0429786295, 0.0010909339, 0.037957225, -0.008323242, 0.0236910526, -0.0293194, -0.0610093735, 0.0180545207, -0.0439620614, 0.0111843711, -0.007269585, -0.0210588295, 0.0044306591, -0.0277254581, -0.0124779362, -0.0037083016, 0.0144117204, 0.0017099224, -0.0701779872, -0.0382353365, -0.0028836727, -0.0264532808, 0.0071034161, 0.0735676885, -0.0153994905, 0.0316113681, -0.0336959288, -0.0423265174, 0.0242584869, -0.0173445791, 0.0516536571, 0.0395652838, 0.0110073546, -0.0147342877, -0.0749210939, 0.0503904335, 0.0082877278, -0.031718988, -0.0291807, 0.0529298596, -0.1173105836, 0.0052899024, 0.0169973951, 0.0851435214, -0.0038367005, 0.0074694031, -0.0648821294, 0.0664696023, 0.001582119, 0.000182816, -0.0057532177, 0.0230006799, -0.062169075, 0.0228605755, -0.0267082062, 0.0048065078, -0.0133252898, 0.0147739938, 0.0338349044, 0.0368576534, -0.0171858482, 0.0194953699, 0.0017573682, 0.0275932252, 0.0057134461, 0.1025818214, -0.0427210554, -0.0336293951, -0.053554073, -0.0309269391, -0.0192211624, -0.0223288964, 0.0383969285, -0.006509495, 0.0102385627, -0.0310834106, -0.0387888215, -0.0112967668, 0.0315286033, -0.0158431102, -0.0225800406, 0.0407757312, 0.0364166349, -0.0098413629, 0.0390439667, 0.0144012328, -0.0061572562, 0.023647815, 0.0176683292, 0.0257984344, -0.015090568, 0.0354324169, 0.0164672844, 0.0052581369, -0.000479595, 0.007157627, 0.0028857158, -0.0301910713, 0.040321663, 0.0328195021, 0.020166168, -0.0135694025, -0.0201921538, 0.0268956013, 0.0610509925, 0.025302032, 0.0221268926, 0.0475526378, 0.0563554056, -0.0401640162, -0.0120475637, 0.0355736278, -0.0325731337, 0.0625842288, 0.0167637672, 0.0154739795, -0.0083737867, 0.004782055, -0.022674866, -0.0279295202, 0.0426854044, -0.0181397945, 0.0107221529, -0.0216080807, 0.012926246, 0.016335886, -0.0594561249, 0.0413108394, -0.0054400726, -0.0591613539, -0.0094420956, -0.029755488, 0.0582642555, 0.0672610104, 0.0256651621, -0.0504408851, -0.1101873443, 0.0013267786, -0.0376571007, -0.0116968863, -0.0633427501, -0.0078207944, 0.0260036681, -0.0442138202, -0.0524940714, 0.0329777487, -0.0086591737, 0.0233031046, 0.0369686596, 0.0169071425, 0.0181989819, 0.0220850315, -0.0532287881, 0.0260809287, -0.1023846194, -0.0336342044, 0.0403467678, -0.0173458215, 0.0110193873, -0.0173182394, -0.0039119804, 0.0011603121, 0.0656816065, -0.0641020983, -0.0169270094, 0.0312025249, -0.1267220974, -0.0233742911, 0.0521467328, 0.004281634, 0.0134978043, -0.052956678, 0.0026613032, -0.0553507842, 0.0213544331, -0.0335834697, 0.0213454682, -0.0214154236, 0.0320137404, 0.0047525596, 0.0088343825, -0.0095784245, 0.0463635065, -0.0374882482, -0.0230442751, 0.0273361467, 0.0061804908, -0.00316593, -0.0617170073, 0.0292425808, 0.0150044085, 0.0065221055, 0.0031174263, 0.0282433517, 0.019041881, -0.0400302336, -0.036559511, -0.0350274071, 0.0068499115, 0.0191027466, 0.018356042, 0.0139457434, -0.0087144477, -0.0050116922, -0.0179733336, -0.0593164712, 0.0558439046, 0.0006552598, -0.0080699893, 0.0402810499, 0.0153516941, -0.0184898097, -0.03464856, -0.0002906807, 0.0031480899, 0.0247122049, -0.0277514998, 0.0366806425, -0.0237657484, -0.01811436, -0.0247148648, 0.026302183, -0.0219483133, -0.0169398654, 0.0130917365, -0.011558299, 0.0672003329, 0.0550403669, 0.0523700714, 0.0020916078, 0.0475939661, -0.0271546151, -0.0047344221, 0.0041601341, -0.0641272068, 0.0034521401, 0.0001356514, 0.0103088981, 0.0031870285, 0.0599586405, -0.0124893831, 0.0083657466, -0.0561362058, -0.028421808, 0.017020341, -0.0170030557, 0.0075913854, -0.0190987326, -0.0658860207, -0.0247879755, -0.0163809378, -0.0442285165, 0.0311112348, 0.0347770602, 0.0121756298, -0.027548423, 0.0028673552, -0.0020672202, 0.0795661509, 0.0098318486, 0.0157185681, 0.0773721263, -0.043833103, -0.0738382638, 0.011182298, 0.0332102589, -0.0380140245, 0.0256950054, -0.0541513152, -0.0263429563, -0.0016512483, -0.0118985986, -0.0932135284, 0.0614967532, 0.0523995049, 0.0218240563, -0.0180406515, -0.0242013074, -0.0576800331, -0.0244158432, 0.0700388104, 0.0267759208, -0.0014657538, 0.0022388157, -0.0363709852, 0.049010478, 0.0224206336, 0.0601358376, -0.0109776389, -0.0290429313, 0.0210371632, 0.0260309912, 0.0257030949, 0.0069381511, -0.0159858875, 0.0097154025, -0.0174963418, -0.0368341878, -0.0141993938, 0.0398279503, -0.0060837562, -0.0545081757, -0.0090792757, 0.0540358946, -0.0032773938, -0.0439134911, 0.0205527656, 0.0082541946, 0.0356706828, 0.012239405, 0.0341540426, -0.0626961663, -0.0017507102, 0.0210118797, 0.0379582047, -0.0086645233, -0.0281160939, 0.0101604946, -0.0514562391, -0.016162619, 0.0301948041, -0.0311190337, 0.0081929462, -0.0341339894, -0.0282999724, 0.0301139411, -0.01107697, 0.0548530258, -0.0170969684, 0.0154964011, 0.0448241159, -0.0476136953, -0.0455140583, 0.0098835435, -0.0123171797, 0.031250149, 0.0793600455, -0.0105444621, 0.0463978425, -0.0334122814, 0.0158557575, -0.0027436418, 0.0368280858, -0.0038717, 0.0288048461, 0.0200572964, -0.010782158, -0.0226427745, 0.0384984799, -0.0165151395, -0.026689183, 0.0163083859, 0.0455482751, 0.0048554102, 0.0225269943, -0.0298098233, -0.0218646526, -0.0071775177, 0.0168819632, 0.0216431469, -0.0228575151, -0.0056862114, -0.019299075, 0.0047043147, -0.0601749942, -0.0085464241, -0.0029293224, -0.0494989008, -0.0066838749, -0.1069548875, 0.0006971126, -0.0255078878, 0.049018383, 0.0470347442, -0.0060930774, 0.0419802926, -0.0037888931, -0.1001719758, -0.0636209697, 0.0196070261, -0.0258613154, -0.0442757756, -0.0189137273, 0.041149959, -0.0295238569, 0.0175837781, 0.0083510801, -0.0818851516, -0.0601677261, -0.0158079378, 0.0872191563, 0.0072697396, 0.0649430901, 0.0362603106, 0.0150168808, 0.0652499944, 0.0324256122, -0.0111136921, 0.0279648043, 0.0195325054, 0.0139310593, -0.0136404177, 0.0267172288, -0.0193490088, 0.0019754355, 0.0126141105, 0.0466633178, 0.0066997581, 0.018335199, 0.0158671159, -0.0173698198, -0.0193408132, -0.0287455115, -0.0322606787, -0.012798449, 0.0224545281, 0.0223385263, 0.0197276734, -0.0282617025, 0.0315294787, -0.0013031071, 0.0319355801, 0.0244565867, -0.0102196326, 0.0281189084, 0.0337152295, -0.0184717625, 0.010452006, -0.0521844961, 0.015777329, -0.0070248013, 0.0200798996, -0.0008512934, -0.0092173042, -0.0190991405, 0.0165419951, -0.0344187431, 0.0300286468, 0.0058364714, 0.0283437893, -0.0260190796, 0.0239010882, -0.0463476442, -0.0472810157, -0.0393433012, 0.0282306578, 0.1010521799, 0.0370332077, 0.0277792402, -0.0095665595, 0.0356902629, -0.0292282514, 0.0347969159, -0.0486893095, 0.0071577253, -0.0483313426, 0.025625065, 0.002918334, 0.0055029118, 0.1100048199, -0.0332642198, 0.0499066673, -0.0246283729, 0.0094757881, -0.0395999886, -0.0006791084, 0.0453881957, 0.0080635324, -0.0135777183, 0.0102461288, 0.0061395937, -0.0408834442, 0.0317116007, 0.0071771764, 0.0349286012, 0.0025705232, 0.0570389815, -0.0133206043, -0.026164351, -0.0203031413, -0.0105744135, 0.030868452, 0.0362634622, -0.012307696, 0.0028449129, -5.996411211e-33, -0.0192453265, 0.0073036905, 0.0353525877, 0.0182160474, -0.1045858264, -0.0167323034, -0.0689879507, 0.0426912978, 0.0520739183, -0.0534041114, -0.0000602312, -0.0108293872, -0.0119802784, 0.0245672222, 0.1059034243, 0.0141043188, 0.0488867573, -0.0054396116, 0.0022124525, 0.0560274944, 0.0694208965, 0.0435940102, 0.0096850172, -0.0234584399, -0.0304621458, 0.0562255196, 0.0255015846, -0.0188486017, 0.0247694869, 0.0432716832, -0.0180680603, -0.0061894679, 0.0219923854, -0.0644554198, -0.0572094433, -0.043650724, -0.1012727246, -0.0347243138, -0.0556585938, -0.0453524105, -0.0567225888, -0.0608650222, 0.0400360376, -0.0151254321, -0.0321871527, 0.0210257061, 0.0293591656, -0.0442782976, -0.0673946291, -0.0067064483, -0.0390353091, -0.0044743395, 0.0116161741, -0.0289126169, -0.0298078153, 0.0016318556, -0.019744914, -0.0765436441, -0.0288393013, 0.0329514742, 0.012068117, 0.0727440417, 0.0142142707, 0.0438420214, 0.0562803, 0.0231966563, 0.0447767414, -0.0148801282, -0.003374422, -0.0030938135, -0.007011713, 0.015769545, -0.0190267563, -0.0055949558, 0.0515740849, -0.0276804417, -0.0174387153, 0.0352788866, 0.0428598672, 0.066412203, 0.0164487418, 0.0355508551, 0.0443719886, -0.0034296743, -0.0308891274, 0.0731689036, -0.0044977735, -0.0263328329, 0.0405786671, 0.0683745369, 0.008643249, -0.0276641697, 0.0218569022, -0.0151990736, 0.0299628526, 0.0040002428, -0.0238694716, -0.0257378686, 0.0406399518, 0.0098134829, -0.0390374511, -0.0411955975, 0.0203371979, -0.0199998301, -0.0060984059, -0.0016182101, 0.0084308218, 0.0524510629, -0.0135298222, -0.0088048484, -0.0118728662, 0.0289418772, 0.0543832779, 0.0160857104, 0.0050955741, -0.0036579662, -0.0203487184, -0.0064980164, -0.0204810333, -0.0393531471, -0.0459102131, 0.0415201113, 0.0303988103, 0.0768357962, -0.0206257999, -0.0118324831, -0.0645389482, 0.0171168242, -0.0306699891, -0.0848924294, -0.0106833521, 0.0132304579, 2.834e-7, -0.0502852276, 0.0134465257, 0.0254668538, -0.0404666886, 0.0726852566, 0.0206525289, -0.0414416678, 0.0352475457, -0.0294736344, 0.0244352799, 0.0150317028, 0.0136651499, 0.0159105994, -0.0177956223, -0.0351449102, -0.0224777237, -0.0111088045, 0.0422103181, -0.037496943, 0.0158512034, 0.0033160634, 0.0339314789, 0.0057123229, -0.0050084908, 0.0514250621, -0.0446878858, 0.0753607824, 0.0462759174, 0.0570026822, -0.0475538708, -0.0280766468, 0.0325492807, -0.0274228137, 0.0006579539, -0.0395794995, -0.0122328009, -0.0503582098, 0.0222574789, 0.0103414189, -0.0419796482, 0.0587943755, 0.0544794835, 0.0084593287, -0.0180007704, 0.0181243643, -0.0612811856, 0.0102764005, 0.027406441, -0.0360675715, 0.0212845672, -0.0299030524, 0.0155059956, -0.0247008931, 0.0164602529, 0.0057791932, 0.0527935028, -0.0009718593, -0.0729546249, 0.0402365141, 0.0141017772, -0.0850411803, -0.0164531134, -0.0846618563, -0.0050525609, 0.013066778, -0.0269690994, -0.0103228735, 2.410743993e-34, -0.0290766582, -0.0365573652, -0.0149126248, 0.0290742069, -0.0097286124, -0.0290518906, -0.0427917428, 0.0197529718, 0.0516404882, -0.0352476723, -0.0674429014 ]
http://arxiv.org/abs/2310.09881v3
http://arxiv.org/pdf/2310.09881v3
In-Context Learning with Iterative Demonstration Selection
2023-10-15T16:40:19
2024-06-23T05:01:28
Chengwei Qin, Aston Zhang, Chen Chen, Anirudh Dagar, Wenming Ye
cs.CL
cs.CL, cs.AI
Spurred by advancements in scale, large language models (LLMs) have demonstrated strong few-shot learning ability via in-context learning (ICL). However, the performance of ICL has been shown to be highly sensitive to the selection of few-shot demonstrations. Selecting the most suitable examples as context remains an ongoing challenge and an open problem. Existing literature has highlighted the importance of selecting examples that are diverse or semantically similar to the test sample while ignoring the fact that the optimal selection dimension, i.e., diversity or similarity, is task-specific. Based on how the test sample is answered, we propose Iterative Demonstration Selection (IDS) to leverage the merits of both dimensions. Using zero-shot chain-of-thought reasoning (Zero-shot-CoT), IDS iteratively selects examples that are diverse but still strongly correlated with the test sample as ICL demonstrations. Specifically, IDS applies Zero-shot-CoT to the test sample before demonstration selection. The output reasoning path is then used to choose demonstrations that are prepended to the test sample for inference. The generated answer is followed by its corresponding reasoning path for extracting a new set of demonstrations in the next iteration. After several iterations, IDS adopts majority voting to obtain the final result. Through extensive experiments on tasks including reasoning, question answering, and topic classification, we demonstrate that IDS can consistently outperform existing ICL demonstration selection methods.
[ -0.0003827954, 0.0365721658, 0.0155542148, 0.0268441178, -0.0831006542, 0.0358229429, 0.0353568457, 0.0001730208, -0.0212314781, -0.0713887587, -0.0065710349, -0.0253139995, -0.0169512555, -0.0496607423, 0.0386279821, -0.0160641968, 0.0371574797, -0.0278082397, -0.0090402924, -0.0112132356, -0.0278913174, 0.0244424716, -0.0128467595, 0.006650513, 0.0126751699, -0.0349767916, -0.003596362, 0.0034126565, 0.01148709, -0.0398211367, -0.0020952516, 0.0511998236, 0.0549166128, 0.0045704194, 0.000002046, -0.0479070507, -0.0035493188, 0.0034110155, -0.0590699054, -0.0240844674, 0.0013606069, 0.041606646, 0.0343759209, 0.0174018759, -0.039123483, -0.0169222225, 0.0128836017, 0.0357808843, 0.0183271933, 0.0530037209, 0.0110808415, -0.0171455089, -0.0347933955, -0.020842962, 0.0173434857, -0.0306613278, 0.0356583707, 0.0023394071, 0.0492213629, 0.0429471806, -0.0201888494, 0.0263432767, 0.0309897568, 0.0133979525, 0.0021026335, 0.0557728857, -0.0539371707, -0.0032994738, 0.0244599357, 0.0749611184, -0.0111867813, -0.0467424989, -0.0124832019, -0.0096762562, -0.0060477233, -0.0021550346, -0.088110052, -0.0075103352, 0.0034488752, 0.0277525373, 0.0266918801, 0.0262392517, 0.0260273889, 0.0295869652, -0.0291484054, 0.0372427553, -0.007747496, -0.0386757143, 0.0042783925, 0.008948314, -0.0363087803, -0.0482672192, -0.0574613325, 0.0368422233, -0.0604388192, 0.030262785, -0.0010962337, -0.0428033359, 0.0293544438, -0.0083876094, 0.0361408331, 0.0170740671, 0.0263201911, 0.0966174826, -0.0142437713, 0.022821866, 0.0090121152, 0.0389444716, -0.0397773795, -0.0258323997, -0.0735873356, 0.0088188397, -0.025041515, 0.0727231726, -0.003450278, -0.0210118052, -0.0075919838, 0.0317378342, -0.0303395074, -0.0096079083, -0.027717704, -0.0041393302, -0.0118398666, -0.0185144972, -0.0054504778, 0.0483953357, -0.0536019206, 0.028309321, 0.0099879066, -0.0471613035, -0.04121387, 0.014988455, 0.0118696829, -0.0318809487, 0.0170377549, 0.0505630039, -0.0208283495, -0.0625444502, -0.0270884596, 0.0061712875, -0.0122048156, -0.0509344377, -0.0007757784, -0.0979255363, 0.0266244821, 0.0184935909, -0.0042760628, -0.0193871185, -0.0029492022, 0.0595521815, -0.0218351521, 0.0624446757, 0.0255125389, 0.0001767553, 0.017176494, 0.0044945353, -0.0277989302, 0.1047488526, -0.0050720712, -0.0293963719, 0.0275294501, 0.0296930503, 0.0343742855, 0.0026584682, 0.0404956639, 0.0395649523, -0.0153093552, 0.0516055077, 0.0190730821, 0.0242602322, -0.0159864295, 0.009387739, -0.0465282202, -0.0036441325, 0.0489170253, 0.0737294257, 0.0055023413, -0.0256405063, 0.0060264366, 0.0232682452, 0.0001608711, -0.0129034175, -0.0222565979, 0.049471166, -0.0401967466, -0.0056462423, 0.0355795957, 0.0000427321, -0.0630268157, -0.0055558207, -0.0204418376, 0.0040413928, 0.0093850242, 0.046764113, 0.0632317066, 0.0253493395, -0.0392053574, 0.0373740382, 0.0477979891, 0.0042130258, -0.0251052566, -0.0505014025, 0.0607725829, -0.0089904955, 0.0649205223, -0.0347223766, -0.0221111253, -0.0489032418, 0.0776933283, 0.0179331489, 0.0095988531, -0.0428379513, -0.0044407882, -0.0322003588, -0.0213189684, -0.0367267467, 0.0040875697, -0.0090746637, 0.0190078001, 0.0145746535, -0.0172277018, -0.0528789647, 0.0313736983, 0.0245671198, -0.0256549921, -0.0357207879, 0.04909667, -0.0004740978, 0.0445566662, -0.0140565718, -0.0027196808, 0.0031613938, 0.0092190579, -0.0349327885, -0.0092734387, -0.0016487677, -0.0578339063, -0.1234636679, 0.0029386645, -0.0290222671, -0.026711233, -0.0143270437, -0.0667241737, -0.0043580942, -0.0003326446, -0.0091994694, -0.0130259385, -0.0368844643, -0.0055770562, -0.0211618785, -0.0257493444, -0.0739956945, 0.0851175636, 0.000470023, 0.0128903473, 0.0317330174, 0.0188349076, -0.0060702567, -0.0536131635, -0.0194110498, 0.0224038083, -0.0096296258, 0.007500614, 0.0070059537, 0.0189715959, -0.0406734236, 0.0042371056, -0.0893518627, 0.0127706854, -0.036832504, 0.0163850002, -0.0132313985, -0.0085098147, 0.0057897414, -0.0093772933, -0.0237556528, -0.0241755601, -0.0035744996, 0.0246076193, 0.0223786291, 0.0141373388, 0.0314775445, 0.0046894364, -0.0114871822, -0.0102634504, 0.0977262035, -0.0190470256, 0.0377664082, -0.0159959085, 0.0068595647, -0.0212998595, -0.0215076245, -0.0139280576, 0.0378455706, 0.0289425571, -0.0178316478, -0.016583113, 0.0639619976, -0.0032320772, 0.0177581813, 0.0003334506, 0.0199902393, -0.0712032095, 0.0163487606, -0.0078504076, 0.0345739797, -0.0155715775, 0.0204985607, 0.0212581884, 0.0308502372, 0.0026905125, -0.0163670592, -0.0491351672, 0.0571192019, -0.0224435274, -0.0062902281, -0.0754385069, 0.000142457, 0.0057669031, -0.0014428935, -0.0170966573, -0.0178067274, 0.0784050003, 0.0197337866, 0.0109572494, -0.0970518291, 0.0203641225, -0.0386824869, 0.050625816, -0.0300576016, -0.0091550676, 0.0042843423, 0.0187811796, -0.0331488103, -0.0325722657, 0.0091155246, -0.0193679165, 0.0550394356, -0.0523598641, 0.0272016954, 0.0082858903, -0.0606408268, -0.0505685359, -0.0514468104, -0.0063342378, 0.0487766713, -0.0512183756, 0.0530312061, -0.0177139454, -0.0240885653, 0.0469289757, 0.0182673447, -0.002605774, -0.0086506465, -0.0097625889, 0.0330339335, 0.0468710773, -0.0060112597, 0.0133912116, -0.0147983376, 0.0306688268, 0.0531770587, 0.0805014595, 0.0191846825, -0.019239096, -0.0068895463, 0.0047691581, -0.0260252785, -0.0211138427, 0.0315992422, 0.0662262142, -0.0261343978, -0.0035902471, 0.091683194, 0.0162167959, -0.0589170493, -0.0024798003, -0.0025685204, -0.0039685131, 0.0210116208, 0.0350895599, -0.0858429596, -0.0397670679, 0.0051092273, 0.0018365399, -0.0233123824, -0.0242436528, -0.0064040297, -0.1302748173, 0.0488192812, 0.0149512235, -0.0624259897, -0.0064899339, -0.0776505247, 0.0365802683, 0.0026363572, 0.0133973835, 0.0267070942, -0.009167783, 0.007642115, 0.0293409713, 0.026496809, -0.0888303444, 0.0635572299, -0.0132927047, 0.0048216847, 0.0236220472, 0.0235936716, 0.0073853354, -0.0043809228, 0.0284894817, -0.0638997257, 0.0185760409, -0.0330056399, 0.0208304506, 0.0027900252, -0.0080214627, -0.0081711775, 0.0591288507, -0.0229088292, -0.0495152734, 0.0007542953, 0.091121085, -0.0258188136, 0.0016090763, -0.0024366663, -0.0318790227, 0.0325661264, 0.0847024471, 0.0422896557, -0.0532434583, -0.0290932041, -0.0140378112, -0.0289273728, -0.0244680364, 0.0242027249, 0.0016279739, 0.023627203, 0.0381676666, -0.0477195606, -0.0175572317, 0.0593097471, 0.0915036872, -0.0319421142, 0.0231435951, -0.0125594875, 0.0150015792, 0.0087639866, 0.0089134788, -0.0404463112, 0.0117400186, -0.0226234384, -0.007433041, 0.0282282885, -0.0333336927, -0.0330938771, 0.0145724034, -0.0778723955, -0.0407549851, -0.040378511, 0.0365621522, 0.0121020237, 0.0546340384, 0.0025984412, -0.0426313318, 0.1012478024, 0.0413245149, 0.036605414, 0.0305465404, 0.0214053635, 0.0152578875, -0.0007506227, 0.0560962744, -0.022778064, 0.0169439632, 0.0519044623, 0.0474194959, -0.0379637629, 0.0267120972, 0.0161919668, -0.0315028057, 0.0196736678, 0.0044076988, -0.0331161059, -0.0057732468, 0.0329857953, 0.0062458403, -0.0113644013, -0.0184006654, -0.0138981203, -0.0085481629, -0.0520459823, -0.0178030133, -0.0228633434, -0.0152796041, 0.0594577193, -0.0347821862, -0.0157290138, 0.0419156142, -0.0252837017, 0.0105633512, 0.0137601513, -0.0408106819, -0.0324918516, -0.0061872685, 0.0357427523, -0.0252863225, 0.07990174, 0.0536230281, -0.0176103599, -0.0445647091, -0.0130855553, -0.0686689466, -0.0009925376, -0.0142982183, 0.0401049219, 0.0299610626, -0.0056896722, 0.0160237812, -0.0064858249, -0.0357227214, -0.0337415226, 0.0111433407, -0.0146480817, -0.029668618, 0.0157117452, 0.0514818281, 0.0113461111, 0.023955524, 0.0766806453, -0.0189998057, 0.018766623, 0.0169452764, 0.0394511148, -0.0473805293, 0.0048807664, 0.0268016532, 0.0518574864, 0.0304920841, 0.0325133875, -0.054561317, -0.0382487364, 0.0217043273, -0.0183505155, -0.0364278071, -0.0064418735, 0.0467623696, 0.0561162718, -0.003123095, -0.0181427598, -0.0196825247, -0.0157036521, 0.0112684909, -0.0322921425, -0.0444820523, -6.278564386e-33, 0.003569735, -0.0071596643, 0.0280213635, -0.011416778, 0.0392340496, -0.0073686847, -0.0420312062, -0.0207612868, -0.0474527851, 0.0238752719, -0.0262224451, -0.0289058797, -0.0066404347, 0.0647782236, 0.0063646492, -0.0336900577, 0.0108701866, -0.0074380678, -0.0329654105, 0.0260137711, 0.0078245178, 0.0098028537, 0.0453982055, -0.0324017629, 0.0016806232, -0.0010963047, 0.0235683396, 0.0270512849, -0.0314006098, 0.0479241349, 0.0084982542, 0.0316864587, 0.0434310324, -0.0654810593, -0.0096216984, 0.0108469892, -0.0707123652, -0.0615629628, 0.0076473658, -0.0235222839, -0.0304991659, -0.0133309411, 0.0196094252, -0.007329077, 0.0064660222, -0.0644566417, 0.0128822904, -0.0062918314, -0.0342156626, -0.0234574005, -0.0407613739, 0.017622903, -0.0077892444, -0.0478760861, -0.0207490847, 0.0469755605, -0.0319638699, 0.0301106311, -0.0463174097, 0.017493017, 0.0000456254, -0.0090988437, 0.0493681543, -0.014987627, 0.027274441, 0.0770757496, -0.0232426822, 0.0017445356, 0.00060305, -0.0608733334, 0.0234564282, 0.0346055627, 0.0339067727, 0.0536590517, 0.0389755741, 0.0565207601, -0.1062482744, -0.0159845613, 0.0530707873, 0.0248809978, 0.058379665, 0.0179496687, -0.0543092974, -0.0443929061, -0.0467625186, -0.0000819375, -0.0251258425, -0.0269980133, 0.0384336039, 0.0248263255, -0.0546032265, 0.025388943, 0.0696344376, -0.0487909317, -0.0530896187, 0.0584080704, -0.0253724065, 0.0153629677, 0.0192449521, 0.0056597679, -0.0720964074, -0.0299330205, 0.0081389472, 0.0165980831, -0.0035854487, 0.0050437129, 0.0444917642, 0.0127441641, -0.0419249833, -0.0277873613, -0.0386595465, 0.0050765234, 0.0067719505, -0.0012652152, 0.0309662018, 0.0577476509, 0.0070755859, 0.0469839089, 0.0056777368, -0.0693441704, 0.0161798168, 0.0174858849, -0.0603590868, -0.0206617862, -0.012803006, -0.0024196387, -0.0011748774, 0.0116799735, 0.000792853, -0.033203762, -0.0198086053, 0.0433737822, 2.74e-7, 0.024033051, 0.0546427704, -0.0274926256, -0.002468654, 0.0519693121, 0.037750423, -0.0230413843, 0.022792602, 0.0365701094, -0.0275955684, 0.0125675574, 0.0456729382, 0.0433354452, 0.0525564067, -0.0855596811, 0.0094026849, -0.0444746092, 0.0052251653, -0.0353505909, -0.0243577827, 0.0386276655, 0.0937659815, 0.0333477929, -0.01052339, -0.0023576182, -0.045220349, 0.0856032819, -0.0157891084, -0.0040006903, 0.0128387948, -0.0254625604, -0.0146819325, 0.0360308364, 0.0683656186, -0.0111997193, 0.0107953381, -0.0175481588, 0.0354251862, -0.0073005063, -0.0446529575, -0.0202980153, -0.0188921131, 0.0177105144, -0.0554148667, 0.1211949438, -0.1262164563, -0.0291866641, -0.0262120944, -0.0047443556, -0.0245586857, 0.033093486, 0.023038622, -0.0192837492, 0.0171285793, 0.0153716756, 0.0130359242, -0.0229357835, -0.0619885027, 0.0016678523, 0.0207736008, -0.0776250213, -0.0149659868, -0.0079866536, -0.0040774457, 0.0277220197, -0.0477884375, 0.0143794827, 2.527831036e-34, -0.0028061348, -0.0034189301, 0.0002271479, 0.0506025255, -0.0143736564, -0.0064444472, -0.0332162939, -0.002553192, 0.0382225774, -0.0597847663, -0.0049308874 ]
http://arxiv.org/abs/2310.09876v1
http://arxiv.org/pdf/2310.09876v1
Bounding and Filling: A Fast and Flexible Framework for Image Captioning
2023-10-15T16:17:20
2023-10-15T16:17:20
Zheng Ma, Changxin Wang, Bo Huang, Zixuan Zhu, Jianbing Zhang
cs.CV
cs.CV, cs.CL
Most image captioning models following an autoregressive manner suffer from significant inference latency. Several models adopted a non-autoregressive manner to speed up the process. However, the vanilla non-autoregressive manner results in subpar performance, since it generates all words simultaneously, which fails to capture the relationships between words in a description. The semi-autoregressive manner employs a partially parallel method to preserve performance, but it sacrifices inference speed. In this paper, we introduce a fast and flexible framework for image captioning called BoFiCap based on bounding and filling techniques. The BoFiCap model leverages the inherent characteristics of image captioning tasks to pre-define bounding boxes for image regions and their relationships. Subsequently, the BoFiCap model fills corresponding words in each box using two-generation manners. Leveraging the box hints, our filling process allows each word to better perceive other words. Additionally, our model offers flexible image description generation: 1) by employing different generation manners based on speed or performance requirements, 2) producing varied sentences based on user-specified boxes. Experimental evaluations on the MS-COCO benchmark dataset demonstrate that our framework in a non-autoregressive manner achieves the state-of-the-art on task-specific metric CIDEr (125.6) while speeding up 9.22x than the baseline model with an autoregressive manner; in a semi-autoregressive manner, our method reaches 128.4 on CIDEr while a 3.69x speedup. Our code and data is available at https://github.com/ChangxinWang/BoFiCap.
[ 0.0239432119, 0.0638169646, 0.013189151, 0.0242166575, -0.0300170369, -0.0018898105, 0.0130652897, -0.0096986918, 0.0082658259, -0.0640514046, 0.0093665617, -0.0523945801, 0.0278787334, 0.0871108994, -0.0000654291, -0.0873688683, 0.0325624347, -0.0453681052, -0.0336133018, 0.0020949736, 0.0210222118, 0.0132041583, -0.0072290595, 0.0236361921, -0.0396394134, -0.0227659121, -0.0050153751, -0.0039909747, 0.0077616298, -0.0363340266, -0.0066218944, 0.0807729736, 0.0438147336, -0.0101374257, 0.0000021642, 0.008934957, 0.0146061946, 0.0112869414, 0.0404647999, 0.0077210423, 0.0328790881, -0.0450555123, 0.0162649453, 0.0031496529, -0.0119463243, -0.0005548478, 0.0659896061, 0.0490001589, 0.0516647324, 0.0184489787, -0.0349736363, -0.0305719581, -0.0123905335, -0.0482321493, -0.0084633473, -0.0479511321, -0.0147595331, 0.0563314632, 0.0166324861, -0.0147054354, -0.0500532761, 0.0456184819, 0.0064858468, -0.0237017553, 0.0297339242, 0.0724059567, -0.0098944083, -0.0330689289, -0.0440523587, 0.0858457163, 0.0098898467, 0.0218030456, -0.0343070365, 0.0088082217, -0.0243982878, -0.024349777, -0.0509756617, 0.0408812091, -0.0130223213, 0.0002739796, -0.0411924906, 0.0533236079, -0.0062612249, 0.0165826213, 0.0003842565, -0.0070544789, 0.0130027691, 0.0122451968, -0.0480309539, 0.0275746454, -0.0591161512, -0.0640286058, 0.0343409404, 0.0127356509, -0.0130967777, 0.0023465236, -0.0749493167, -0.0106557049, 0.023060739, -0.0055941171, 0.0098778615, 0.0070922193, -0.0431595631, 0.0797022954, -0.0308358725, 0.034411218, -0.0113080516, -0.0354646109, -0.0439473391, 0.0165020563, -0.0243228264, -0.0264410395, -0.0586730503, 0.0176744349, -0.0626875013, -0.0924807861, -0.0389448293, 0.0097225979, -0.0422113016, 0.014224913, 0.0075538335, 0.0329217613, -0.031735979, 0.0149708167, -0.0175850168, 0.0008610537, -0.0429887027, -0.016928589, -0.0042224359, -0.0100103877, -0.0206534434, 0.0213514511, 0.0214915499, -0.0212132763, -0.0185440145, 0.0536505319, -0.0473206155, -0.0143569158, 0.0140900072, -0.0506186783, -0.0482964069, -0.0549406558, -0.0094817253, -0.0450778604, 0.0136164529, -0.0094346479, -0.0027349212, -0.0095117474, 0.0233988743, 0.0525326692, -0.0073513747, 0.0915665999, -0.0311664157, 0.000248996, 0.0116198231, 0.0350464508, 0.0026018594, 0.0799999386, 0.026935257, 0.0511651859, 0.0136382394, 0.0232165996, 0.0221726354, 0.0312292706, 0.0067520044, -0.0242059659, -0.0289728884, -0.0058712359, 0.0170836002, 0.0358060077, 0.0643545389, 0.0467741676, -0.0190418754, 0.0162356626, 0.0694895536, 0.0421584435, -0.0367540605, 0.0090389736, 0.061721798, 0.0108438339, -0.0079118665, 0.0083113788, -0.0277388524, 0.0741934627, 0.0589196049, 0.0293362644, 0.0309689455, 0.0494535528, -0.0301028471, -0.0217270739, -0.0017062941, -0.0250009317, 0.0150283352, -0.0259999465, 0.038334135, 0.0394835062, -0.0603950024, 0.0617685281, -0.0151522718, -0.0192543548, -0.0198148377, -0.0172973629, -0.0165488534, 0.0577876866, 0.0563916489, 0.0243369322, -0.0178715363, -0.0120094121, 0.0741922259, 0.0702484027, 0.0130324159, 0.0253564902, -0.0171875805, -0.0560566746, -0.0453328602, -0.0032099632, -0.0135601331, 0.0263683014, 0.0433528386, 0.0279272795, 0.0398708321, 0.0252488796, -0.0480333716, 0.0357101932, 0.0394281633, -0.0049951868, -0.0177331269, 0.0229403004, -0.0191460624, -0.0087914038, -0.0164852384, 0.011817744, -0.0136027876, -0.0225043781, -0.0298983324, 0.0819006637, -0.0782875568, -0.0684545338, -0.0145814689, -0.0537288673, -0.016756203, 0.0003917197, -0.0108408742, -0.0584212765, 0.0205932707, -0.0369607285, -0.0087253125, -0.0646228716, 0.013372968, 0.0320832357, 0.0240249448, 0.0139436731, 0.0575084873, -0.0158434901, -0.0265082084, 0.0384627022, 0.0331267565, 0.0014348673, -0.0335233286, -0.0460554585, -0.0169490743, -0.003002027, -0.032396093, 0.0055003376, 0.0335514992, -0.0301379021, -0.0058702282, -0.0649937913, -0.0113126859, 0.0154402107, -0.037729919, -0.0253680442, 0.0224881582, 0.0296566933, -0.0235580113, -0.0090529043, 0.0027977515, 0.0090269195, 0.0259789471, 0.0493133962, 0.0193913262, -0.0360185467, -0.0099445712, 0.0316726901, 0.0220517777, 0.0436559469, 0.0335621759, -0.0482694469, -0.002920477, 0.0072771288, -0.0122813899, 0.0268746503, -0.0193347186, -0.0155639835, 0.0034031132, 0.0021439765, 0.0092380559, 0.0372648649, 0.0366216339, 0.0196341798, -0.0097798826, 0.0026716015, -0.0125311371, 0.0474812016, -0.0071561686, -0.0198560078, 0.0547244251, -0.0627214387, -0.0343600586, 0.0601462089, -0.0102071101, 0.0408566296, -0.0649973452, 0.0096671851, -0.0224052947, -0.0199008919, -0.0686583519, 0.0040398822, -0.0224566683, 0.0194857419, -0.0778395981, -0.0896170139, 0.0366878547, -0.0516681597, -0.043014314, 0.0080855545, 0.0256093312, -0.0277390666, 0.1014166027, 0.0408160836, 0.0462876596, -0.000286018, -0.0144756744, -0.0053284755, 0.0300093647, 0.0381532013, -0.0160322208, 0.0013975964, -0.035679549, 0.0048359432, -0.0314163193, -0.0396897532, -0.0251078866, -0.0114837615, -0.0096363407, -0.0185410231, 0.0153717231, -0.0391734727, 0.0075208531, 0.1056594849, -0.0287475251, 0.0283388123, -0.0316455401, -0.0070615532, -0.0177946594, 0.0253362302, 0.0701854974, 0.0009027937, -0.0562021993, -0.0233295169, 0.024933653, 0.0314190537, -0.0027088614, 0.0336016752, -0.0241225138, 0.0206519328, 0.0050711511, 0.02741611, -0.0075986665, 0.0139123444, 0.0777661726, -0.0490432866, -0.0394764729, 0.0939128995, 0.0169722736, -0.0049063889, -0.040594168, 0.0311413761, 0.0530702993, 0.0469616465, 0.0019444877, -0.0764378235, -0.0376248881, -0.0140793771, -0.0001998641, 0.0284371655, 0.0203500185, -0.0784515589, -0.0896841139, 0.0807351321, 0.0107312696, -0.0304010343, -0.0369431414, 0.0211881157, -0.0260487963, 0.0306533389, -0.0373286381, -0.0222288053, -0.0071596289, 0.0116347354, 0.0135703282, -0.0305838417, -0.0122029027, -0.0146718733, -0.0456552133, 0.0293401573, 0.0312997177, 0.0236968715, -0.0005502289, -0.0147285648, -0.007048056, 0.0215916429, 0.0034520188, -0.0306950528, 0.0574419573, -0.0155813154, -0.0430278145, 0.002984565, -0.0139586804, 0.0015816841, -0.0268361624, -0.0172112528, 0.0211622827, -0.000424979, 0.0030300114, -0.061547257, 0.0726475343, 0.0344087519, 0.0903135687, 0.0303027704, -0.029165335, -0.0325545631, 0.0200245604, -0.0212971792, -0.1111263856, 0.0328216702, 0.0053535146, -0.0018518352, -0.0260640271, -0.0668903589, -0.0032260683, 0.0504350588, 0.0657962412, 0.0138733564, 0.0324998945, -0.0329495147, 0.0159654133, -0.0843938068, 0.0106539847, -0.0258648805, 0.0305057075, -0.0180308558, -0.0172646083, 0.0327145793, -0.0138356434, -0.0340465941, 0.0482715443, -0.073462747, -0.0049570776, -0.0367053896, 0.0593259707, 0.0133477468, 0.0323307738, 0.0050664926, -0.0193782654, -0.0022960035, 0.0384147502, 0.0439765751, 0.0022427645, -0.0216774121, 0.0096660675, -0.0187185686, 0.0052014687, -0.0273844618, 0.0138294827, -0.0335240029, 0.0481397845, -0.0078817215, -0.0482559912, 0.0017675866, -0.0141751701, -0.0044609541, -0.076880224, 0.0429968014, -0.0168521199, -0.0178594794, -0.0204215329, -0.037817996, -0.0779814869, 0.030782653, 0.0081584072, 0.0165190902, -0.001585421, 0.0074760811, 0.004311075, 0.0090487832, -0.0024917098, -0.0327616222, 0.0020745429, -0.0210999027, 0.0035011726, 0.0123139387, -0.0056835543, -0.0272092968, -0.0063580377, 0.0130634038, -0.0380891785, 0.0407039262, 0.0054273745, -0.0093163932, -0.0340988226, 0.0218124036, 0.0077725141, 0.0196293443, -0.0691535175, 0.0484449901, 0.0542272516, -0.0017352096, 0.0133134481, -0.0401364267, -0.0099081909, 0.0184605606, 0.0398377851, -0.0115916636, -0.0549686179, 0.0481593385, 0.0203802977, 0.0129684974, -0.005723617, 0.0665521175, 0.01000713, 0.0319991745, -0.0021804757, -0.057880342, -0.0393533967, -0.0042690313, -0.0069412272, -0.0098010711, 0.0063768076, 0.0377623811, -0.0108718937, -0.0392126255, 0.0307572167, 0.0063368161, -0.0059013246, 0.0590882227, 0.0584309623, 0.0030051367, 0.0286981799, -0.014370596, -0.0419103727, -0.0005383486, -0.0250129644, 0.0177280884, -0.0162005201, -6.072877486e-33, -0.0754062906, -0.0795726702, 0.0226520989, -0.0280781724, -0.0408498347, 0.0127322376, -0.0255857278, 0.011364704, 0.0532363318, 0.0082101654, 0.0338941291, -0.027717961, 0.029151449, 0.0380868167, -0.0028632723, 0.0205701385, 0.0567877553, -0.0064382898, -0.0021173491, 0.0130336536, 0.0045347558, 0.0261003133, -0.0180942025, -0.0194885153, -0.0219579861, -0.0274205655, -0.045496054, 0.0215745233, 0.0696061701, 0.0312837623, -0.0263514183, 0.0021163616, 0.0116805043, -0.0055041085, -0.0288729835, 0.0313902497, -0.0825194195, 0.0204978548, 0.0298738275, 0.0412012897, -0.0491757616, 0.0097646592, 0.0061773681, -0.0456730947, 0.011444224, -0.0114456331, 0.0410455577, -0.0067016892, 0.0105837174, -0.0277049132, -0.0598915182, -0.0015738514, -0.0172745064, -0.0501180254, 0.0253453422, 0.0397545882, 0.032419838, -0.0017150777, -0.0133577716, 0.0153543372, 0.0243430696, 0.042741321, 0.0721284449, 0.0783777162, 0.0136627015, 0.0508287661, 0.0289195869, -0.0153375659, -0.022577554, 0.0255263057, 0.0080623301, 0.0516577289, 0.0228761956, 0.038256187, 0.0548101887, 0.0050963731, -0.0177250784, 0.0413014069, -0.064734824, 0.0317954086, 0.0171620883, 0.0013010539, -0.0269845333, -0.0009897327, -0.0340589955, -0.0109429061, -0.0409374349, 0.0000516093, 0.050192073, 0.0543312654, -0.050109487, 0.0297268257, 0.051388748, -0.0080077136, 0.0108701233, -0.0400451981, -0.0238781981, 0.059031155, -0.020894222, 0.0092722652, 0.0069493218, -0.059584029, 0.0288416892, 0.0445581265, 0.0277602859, 0.0201176237, 0.0621306486, 0.0284961797, -0.0405916721, -0.0070967674, -0.0476700366, 0.0149663575, -0.0327487513, -0.0077920412, 0.0119852545, -0.0109944865, -0.0649068058, 0.0187280253, -0.0039307536, 0.0258262884, -0.0216408931, -0.0568823703, -0.0024331219, 0.0269867294, -0.0182258245, 0.0358847976, -0.0211964604, -0.0030045281, 0.0324464291, -0.0797071904, -0.0330889188, 0.0545454361, 2.697e-7, 0.0143957241, 0.029200526, 0.0377205797, 0.0388162546, 0.018562926, -0.0044644848, -0.006737899, 0.0092142038, -0.0169850513, 0.0122459354, 0.0451214798, 0.0337741747, 0.064443022, -0.0147361094, -0.0654325113, 0.0134770591, -0.063828811, -0.0106613236, -0.047804974, -0.0524834991, 0.0541140437, 0.0299712047, -0.052199956, -0.0236255415, 0.0320871808, -0.0944744572, 0.0924750492, -0.0105255079, 0.0224111974, -0.0048592757, 0.0092926584, 0.0754013062, -0.0352789573, 0.0256582536, -0.0318027958, -0.0127726123, 0.0592588037, 0.0333294757, -0.0106005725, -0.0009045204, -0.0204882156, 0.0331640169, -0.0114155523, -0.0166397952, 0.06542781, -0.0739513338, 0.0052726772, -0.0728007033, -0.0136464424, 0.0077156564, 0.0289357603, -0.0332565531, -0.0412384383, 0.0168259013, 0.0559894331, -0.0144327357, -0.0529665351, -0.0909018368, -0.0368236005, -0.0001658774, -0.0536749214, 0.0035937715, -0.0906638354, -0.0201081596, 0.0177674107, -0.0092736548, -0.0435253456, 2.494213275e-34, 0.0435903668, -0.0360316746, -0.000186113, 0.0253173336, 0.0251982119, -0.0040506762, -0.0351143554, 0.0094864545, -0.0239303168, -0.0477135442, -0.0320631303 ]
http://arxiv.org/abs/2310.09848v1
http://arxiv.org/pdf/2310.09848v1
Enhancing Stance Classification with Quantified Moral Foundations
2023-10-15T14:40:57
2023-10-15T14:40:57
Hong Zhang, Prasanta Bhattacharya, Wei Gao, Liang Ze Wong, Brandon Siyuan Loh, Joseph J. P. Simons, Jisun An
cs.CL
cs.CL
This study enhances stance detection on social media by incorporating deeper psychological attributes, specifically individuals' moral foundations. These theoretically-derived dimensions aim to provide a comprehensive profile of an individual's moral concerns which, in recent work, has been linked to behaviour in a range of domains, including society, politics, health, and the environment. In this paper, we investigate how moral foundation dimensions can contribute to predicting an individual's stance on a given target. Specifically we incorporate moral foundation features extracted from text, along with message semantic features, to classify stances at both message- and user-levels across a range of targets and models. Our preliminary results suggest that encoding moral foundations can enhance the performance of stance detection tasks and help illuminate the associations between specific moral foundations and online stances on target topics. The results highlight the importance of considering deeper psychological attributes in stance analysis and underscores the role of moral foundations in guiding online social behavior.
[ 0.0107141947, 0.0875011533, 0.0143472226, 0.0149263125, -0.0416829251, 0.0150749348, -0.0027904978, -0.0207025241, -0.0232281238, -0.0478993766, 0.0317851007, -0.0372958481, -0.0321809016, -0.0183863435, -0.0273891911, -0.019583445, 0.0261892546, 0.0708820075, 0.059635248, -0.0139325578, 0.0424468517, 0.0621026456, -0.0029460231, 0.0129605243, -0.0282029957, -0.0138584413, 0.0110884132, -0.0433279425, 0.0741197467, -0.0361274406, 0.0150547326, 0.0460979752, -0.0020964204, -0.0039882381, 0.0000016358, -0.0429447442, -0.0389220193, -0.0231375806, 0.0308135413, -0.0364063494, 0.0622129515, -0.0419798344, 0.0122729614, 0.0119216973, -0.0500417501, 0.0330076404, 0.0244614985, 0.0770208165, 0.0552484915, 0.0436964966, -0.0077288854, -0.0239774697, -0.0033765303, 0.0108172195, -0.0188846756, -0.0089885565, 0.0073586912, 0.0178674031, -0.0825814605, 0.0764967948, -0.0111849951, -0.0198898558, -0.0126136132, 0.0012832823, -0.0183346663, -0.0139690451, 0.0043813628, -0.0304378029, 0.0112735722, 0.0317641124, 0.0330824032, -0.025774138, 0.0325591899, -0.0310871564, 0.0001648546, 0.0218237974, -0.0091905594, 0.0221431386, -0.053903956, 0.0355050936, 0.0542979613, 0.0423383564, 0.0002059274, 0.0702486262, 0.0180106163, 0.0400039181, -0.0689990669, -0.0162435919, 0.0333878398, 0.0143801766, -0.0351692997, -0.0115838405, 0.0184958465, -0.001785132, 0.038511198, 0.0412171111, -0.0075588133, 0.0383662842, 0.0483567454, -0.061034482, -0.0141777033, 0.0341798514, -0.0039548906, 0.0531392507, 0.044453755, 0.0176922977, -0.0184870679, 0.0094795767, 0.0064525548, 0.0501950346, -0.0692861825, 0.0098439818, 0.0249061603, 0.0520348921, -0.0053887311, 0.0169602316, -0.0246796273, -0.0194965135, -0.0264377352, -0.0452381596, -0.0212835278, -0.0051725078, 0.042188894, 0.0119750509, -0.025933098, 0.0548216291, -0.0439585671, 0.0255648009, -0.0353260972, 0.0069094873, 0.0555874668, -0.0238380134, 0.0229641795, 0.0094183711, 0.0449240841, 0.0101679768, 0.0606597923, -0.0290141478, -0.0013576095, -0.013958402, -0.0047983057, -0.0359709859, -0.0458029881, -0.047941085, 0.0352919251, 0.003767947, 0.0003161395, -0.0547853671, 0.018816201, 0.047337234, 0.0178849157, 0.0595009364, 0.0232496597, -0.0189858042, 0.0136737349, 0.0313071497, 0.0095013632, 0.0560278669, -0.0261353571, 0.0318135843, 0.0680723339, 0.0163586736, -0.0363523662, -0.0387016386, 0.0249070823, 0.0023624969, 0.0190562606, 0.0284182783, -0.0594259761, -0.0247088093, -0.0294947382, 0.0271367449, 0.0230130851, -0.0292110294, 0.0417516194, 0.1172946543, 0.0063582347, 0.0359624773, -0.0116825989, 0.0465422049, 0.0247207861, -0.010285221, -0.0236053187, 0.0176376402, 0.0031954669, -0.0257366132, -0.0786504298, 0.0516846478, -0.0194889512, -0.0497375913, -0.0153107364, 0.0208450127, 0.0423237197, -0.0033746385, -0.0024180184, -0.0299724154, -0.0181576554, -0.0352729186, 0.0390380435, -0.0875281021, 0.0162515473, -0.0175057389, 0.0517129935, 0.0272315107, 0.010268908, -0.0335591808, -0.0452042818, -0.0431605428, 0.0185019076, 0.0327685587, 0.0345142521, -0.0284836143, -0.0298474599, -0.0076167705, -0.0264638383, -0.0051164548, -0.0220829248, 0.0199713167, 0.0042125373, 0.0190220568, -0.0103724794, 0.0321903788, 0.0408419743, 0.048050411, 0.0585526824, 0.0157819372, -0.0103177391, 0.0469456688, 0.0391118079, 0.0598846786, 0.0319048986, -0.0347795449, 0.0053946245, -0.0002556088, -0.0511128493, -0.0135794403, -0.0079853162, 0.0054713553, 0.0200164057, -0.024163425, -0.0069308314, 0.0210869666, -0.0092160059, 0.0577587821, -0.0306716077, -0.0240263846, -0.0444801375, -0.0569170415, -0.0440109856, -0.074351199, -0.0046612201, -0.0354564637, 0.0724790245, -0.0178342033, 0.0070418902, -0.0261902213, -0.062243212, 0.0435995683, -0.0100167412, 0.034588702, -0.0470123589, -0.0180246327, 0.0452352948, 0.0520104505, 0.0079713548, -0.0250897463, -0.0182709508, -0.085942924, -0.025737036, -0.0217139553, 0.0400535986, 0.0114050005, -0.026318213, 0.0080552539, 0.0388845913, -0.0577828623, -0.0455762483, -0.0335764624, 0.0088576563, 0.0239283163, -0.0296175759, -0.0063997768, -0.0093934722, 0.0003462419, -0.034851674, -0.0109775085, 0.0376105905, -0.0660940334, -0.011392042, -0.0027191024, -0.0754503459, -0.0311098099, 0.0096725402, -0.0483625419, 0.0112860827, 0.0081157777, -0.0566649176, 0.0184776429, 0.0821985826, 0.0949816927, -0.0264800768, 0.0872700512, -0.0136883538, -0.0311836489, -0.0673884004, 0.0655874461, -0.0239192694, 0.0010001367, 0.0338376909, 0.0460360795, -0.0046971105, -0.0054169367, -0.053783197, 0.0529121906, -0.0536959618, -0.0444643535, -0.0328064188, -0.0068141306, -0.0066809445, 0.0145371063, 0.0058815563, -0.0364335068, 0.0496450923, 0.0497607104, 0.036522761, -0.0241349414, -0.0252640601, -0.0389509685, 0.0430749767, -0.0001056423, 0.022857381, 0.0498821437, -0.0004897942, 0.0437688418, -0.0173814278, 0.037484318, -0.0319807343, -0.0162932407, 0.0239186734, 0.0195546113, 0.0156529956, -0.0532736778, -0.0035604262, -0.1060023978, -0.0353605859, -0.0205163173, -0.0390207693, -0.0002490505, 0.0844985843, 0.0226589013, -0.0048848079, -0.051826898, 0.0066007706, -0.0049322178, 0.0202647485, -0.0157747157, 0.0000912758, -0.0282806195, 0.0421328619, -0.0027892974, 0.0154979061, 0.0450004898, -0.0023106628, 0.0111771245, 0.0176627077, 0.0044769929, -0.0056970306, -0.0172431208, 0.0024672679, -0.0209115446, 0.0513501689, -0.0085059674, 0.033340577, 0.0754682124, 0.045068603, 0.0150113264, 0.0228102878, 0.0342863351, -0.0419122688, 0.0092128785, -0.0182057396, -0.030236518, -0.0202544834, -0.0461971276, 0.0021392331, -0.0685733631, -0.0341669209, 0.0062601515, -0.0355915055, -0.0094466638, -0.0043208427, -0.0515657999, -0.0341471732, -0.0558984429, 0.0328321196, -0.0454846025, -0.0035988486, -0.0078562424, 0.0114481328, -0.0020875486, 0.0116606792, -0.0271763355, 0.0118731465, 0.0176218357, -0.0260258168, -0.0177621208, 0.014758056, 0.0477878451, -0.0112577593, -0.0493023768, 0.0000506733, -0.0152036687, 0.0145910177, 0.0176594704, 0.0189484302, -0.0493315682, -0.0053060455, -0.06014359, 0.0401943587, -0.0227227509, -0.0364603102, -0.0525472313, 0.0616603345, 0.0096078347, -0.0288065262, -0.0063110213, 0.0436683632, 0.030150421, 0.0327933431, 0.0044161137, -0.0351804271, 0.0063563092, -0.0439861566, -0.0082076937, -0.0512249954, -0.0603992566, -0.0362469219, -0.0162480045, 0.0150203547, -0.0335335992, -0.0357259996, -0.0322864987, 0.0157674719, -0.0215501208, -0.0390228741, 0.0755723566, 0.0594022125, -0.0574030802, 0.0361254476, 0.017097095, 0.0449232906, 0.0067406017, -0.0049123252, 0.0739657357, 0.0135166971, -0.0403455384, -0.0708698183, -0.0020639142, -0.0225855373, -0.0043359837, 0.0014375194, 0.0033327441, -0.037270885, 0.0033697998, 0.0047897724, 0.034004882, 0.0597502738, -0.0662937611, 0.0286551602, 0.0590493493, 0.0366194472, -0.0225572214, 0.0045223469, 0.0172060151, 0.0100079644, 0.0288619455, -0.0333531089, -0.0357312709, 0.0134554468, -0.0051921229, -0.0012520941, 0.0185597185, 0.0251475833, -0.0611986443, -0.0241422448, -0.0535771847, -0.0035577412, -0.0435783044, -0.011219495, -0.0056811487, 0.0277176201, -0.0276464466, -0.0679414347, 0.0441680364, -0.0488426313, 0.0644376278, -0.0269312114, 0.0293188989, -0.0159451067, 0.0605074391, -0.0494526774, -0.0270684958, -0.040689379, -0.0492933914, 0.0201837514, -0.0212701317, -0.0047908435, 0.059037827, 0.0024835397, 0.0008297829, 0.0058379909, 0.0107739232, -0.0407291166, -0.0193411857, -0.0480149016, -0.0234236401, -0.0210280698, 0.0376824252, -0.0068598813, 0.0016459411, -0.0402037874, -0.0043640858, 0.0383679979, -0.0305599105, -0.0435040519, 0.0308409072, 0.0369600244, -0.0142189935, -0.0331627838, -0.0239497926, -0.0433569476, 0.0061085508, 0.0327473022, -0.048402898, -0.0185277071, -0.012339985, -0.0157428235, 0.0063942727, 0.009994179, 0.0451961532, -0.0926395357, -0.0021202182, 0.0592201911, -0.0074445042, 0.0254652817, 0.0117569705, -0.0222083852, 0.0514006428, -0.0270522255, 0.0499942154, -0.0548314489, -0.0053136838, -0.0728645027, 0.0088474341, -0.0464868769, -5.030998272e-33, 0.0062867589, -0.0613046624, -0.0493878201, 0.036242947, -0.0077871736, -0.0080809658, 0.0323095731, 0.045916725, -0.0045001572, 0.0699263141, -0.0046360083, 0.0342266746, -0.003239037, 0.0128506897, -0.039763771, -0.0329036415, -0.0018695134, -0.0126549127, -0.04200387, 0.0218189992, 0.0071937186, -0.0246804692, 0.0303394739, -0.0962895975, 0.037852373, 0.0276163574, -0.0062152166, 0.0062697753, 0.0385888293, 0.0477818549, 0.0056149513, 0.0542525984, 0.0743628368, -0.0328244865, 0.0292907357, 0.1043203771, -0.021781994, -0.0101481369, 0.0117011527, -0.0172826629, -0.0094158053, -0.007355833, -0.0319804735, 0.0071782358, -0.0447288156, -0.0281758178, 0.0482429005, -0.0007556613, 0.0586239584, -0.0600278527, -0.0457852744, 0.0206761025, -0.0208510738, -0.0042403983, -0.0319390111, 0.0218478013, 0.0007060813, 0.0336311385, 0.054207582, 0.0315904841, -0.0928881317, -0.013953981, -0.0242639408, -0.0185585245, 0.0012010121, 0.0808482468, -0.0097252829, 0.0268296544, -0.0579582639, 0.0108857621, -0.005291264, -0.0075585796, 0.0960406736, 0.0920159742, 0.0065899226, -0.0158674549, -0.0637538657, 0.0090255952, 0.10172683, -0.0177946649, 0.0092851454, -0.0098973233, -0.0180272255, 0.0123970108, -0.029614104, -0.0783375055, -0.0272883251, 0.0086297691, -0.018784659, -0.0122278985, -0.0707285851, 0.0392425247, 0.013125197, -0.0382663868, -0.0077459277, 0.0931921005, -0.0017480805, 0.0277600735, 0.008668757, 0.0102339424, -0.0364612713, -0.0199993942, -0.0157638472, -0.0028872578, 0.0551269576, -0.0392836221, 0.0710873753, 0.0041925139, -0.0170306433, -0.0438018516, 0.012701083, -0.0044688154, -0.0183078609, 0.0427372456, 0.0192396604, 0.0290956441, 0.0166986287, 0.0473814681, -0.003894092, 0.0250743218, -0.0372693948, -0.0158369765, -0.0231681932, 0.042037826, -0.0240836479, -0.0473789126, -0.0090737734, 0.0018132515, -0.022444902, -0.0583273806, -0.0156673808, 0.0052287471, 2.306e-7, 0.0113042016, 0.018517619, 0.0102536539, -0.0310178027, 0.0005003513, 0.0521694832, 0.0595068149, 0.0342985578, -0.0077417679, -0.0767921135, 0.0033220418, 0.033777792, 0.0322159901, -0.0050715697, -0.0473883636, 0.0296635535, 0.0355395861, 0.0034295192, -0.0257183108, 0.0405202694, -0.0031653615, 0.0246824622, 0.0061025163, -0.0025971818, 0.0295096003, 0.0536167026, 0.0272381678, -0.0226938203, -0.0181932803, -0.0123792449, -0.0314664021, -0.0782852992, 0.0081570093, -0.0067712958, 0.002280069, -0.0060090865, 0.0382853709, 0.0763464943, -0.0002762903, -0.0583769232, -0.0190349929, -0.0007628874, -0.0073130792, 0.0363418199, 0.0409592949, -0.053398449, -0.0422566608, -0.0715759546, -0.0135462796, 0.016029181, 0.0196312889, 0.0090057235, -0.0317805745, 0.0108282138, 0.0267195422, -0.0177376904, 0.0180004127, -0.0559201278, -0.0103127155, -0.0174411014, -0.0023031482, -0.0589558668, 0.0632684082, -0.002239916, 0.0465339646, -0.0518883467, -0.0029121717, 1.597034431e-34, -0.0060474724, -0.0219951309, 0.0271553993, -0.0145408399, 0.0316003002, 0.0409866944, -0.0284383241, 0.0102482336, 0.0410025939, -0.0225220807, 0.0196569245 ]
http://arxiv.org/abs/2310.09832v3
http://arxiv.org/pdf/2310.09832v3
Merging Experts into One: Improving Computational Efficiency of Mixture of Experts
2023-10-15T13:28:42
2023-11-21T20:30:00
Shwai He, Run-Ze Fan, Liang Ding, Li Shen, Tianyi Zhou, Dacheng Tao
cs.CL
cs.CL
Scaling the size of language models usually leads to remarkable advancements in NLP tasks. But it often comes with a price of growing computational cost. Although a sparse Mixture of Experts (MoE) can reduce the cost by activating a small subset of parameters (e.g., one expert) for each input, its computation escalates significantly if increasing the number of activated experts, limiting its practical utility. Can we retain the advantages of adding more experts without substantially increasing the computational costs? In this paper, we first demonstrate the superiority of selecting multiple experts and then propose a computation-efficient approach called \textbf{\texttt{Merging Experts into One}} (MEO), which reduces the computation cost to that of a single expert. Extensive experiments show that MEO significantly improves computational efficiency, e.g., FLOPS drops from 72.0G of vanilla MoE to 28.6G (MEO). Moreover, we propose a token-level attention block that further enhances the efficiency and performance of token-level MEO, e.g., 83.3\% (MEO) vs. 82.6\% (vanilla MoE) average score on the GLUE benchmark. Our code will be released upon acceptance. Code will be released at: \url{https://github.com/Shwai-He/MEO}.
[ 0.0485729948, 0.0662882328, 0.0100538367, -0.0010097855, -0.0444813147, -0.0229251217, 0.0715855211, -0.012906705, 0.0071070669, -0.0430502519, -0.0196371246, -0.0323551372, 0.0041367956, 0.0287872739, 0.0252826214, -0.0665144473, 0.0592610464, -0.0291078929, 0.0040305811, -0.0095822429, 0.0046478212, 0.0116736731, 0.0022613003, 0.0512218401, -0.0273933075, 0.0150817335, -0.0006399504, -0.0012777955, -0.0047734273, 0.0174216572, -0.0067898938, 0.1027949974, -0.0194772407, 0.0163634326, 0.0000022101, -0.0150575014, -0.0255962554, -0.0005846661, 0.0002561156, 0.034096092, 0.0171300173, -0.0031970933, -0.0037093386, 0.0204806272, -0.0066342112, -0.0115547273, 0.0799561441, 0.0313236974, 0.0600354709, 0.1008820757, -0.007624507, 0.0074897185, 0.0547045283, -0.0191917624, 0.0205125883, -0.0583520532, 0.0323208533, -0.0021877198, -0.0015274954, -0.0069604437, 0.000891446, 0.0507255718, -0.001300791, 0.0126616182, 0.0454414077, 0.0352474786, -0.0163855683, -0.0397685356, -0.0490516312, 0.053257551, -0.0769428685, -0.0232961178, -0.0050788224, 0.0166311227, -0.0085199447, 0.0116384216, -0.0429193377, -0.0105162673, 0.0061806329, 0.0168273803, 0.0213225093, 0.0172246769, 0.0321637876, 0.026230216, -0.0668713674, 0.0564365797, 0.0187154561, -0.0181511883, -0.0204649959, 0.004326297, -0.0315910503, -0.0598711111, 0.0142463762, 0.0195053276, -0.0517773218, 0.0018276089, -0.05220313, -0.0549566783, -0.0061753835, -0.0108467042, 0.0183687657, 0.0488334633, 0.011586355, 0.1050286815, -0.0227596983, 0.0127414707, -0.0232907403, 0.0266543496, -0.03333221, -0.025142936, -0.0553421564, 0.0042414917, -0.0317459591, 0.0667456686, -0.0261614826, -0.0655156076, -0.0056103203, -0.018600205, -0.0345097929, -0.01547202, -0.0077914456, 0.0010438024, -0.007037452, -0.0288073104, -0.0019214537, 0.0566315427, -0.0590574369, -0.0145647256, 0.0046034195, -0.0688492879, -0.0343650989, 0.0358375199, 0.0135997338, -0.0196584575, 0.0086664921, 0.0500933304, -0.023762187, -0.0214656331, 0.0081614899, -0.0097969314, -0.0070050764, -0.0701255575, -0.0162950717, -0.0869758204, 0.0874970257, -0.0129082846, 0.0178504903, -0.0748405233, 0.0035233111, 0.0270341374, -0.0492041931, 0.0546548627, -0.0487709455, 0.0106059145, -0.014655848, 0.0115903532, -0.0422010571, 0.0667079538, -0.015346556, 0.0166898072, 0.0161377601, -0.024964327, -0.0051509212, 0.0113809453, 0.0093311351, -0.0012306992, 0.0069546271, -0.0022423612, -0.0045132544, 0.0146317827, 0.0160884634, 0.0980809256, -0.0351759978, 0.0003301592, 0.0252838228, 0.0328277573, -0.0098520154, 0.0793848112, 0.0084199309, 0.0206701085, 0.0194595512, -0.0143802566, -0.0455368459, 0.0414562039, -0.0454479232, 0.007215424, 0.1093425825, 0.0684968457, -0.0379941165, -0.0206364654, -0.0307849068, 0.0053714397, -0.0440621115, 0.0190330967, 0.0480065867, -0.041829139, -0.0492259786, 0.0293579325, 0.0268648751, -0.0546906888, -0.0068132542, -0.0304718334, -0.0286151059, 0.0495428033, 0.0238759965, -0.0188456848, -0.0246313643, 0.0084830271, -0.0234811697, -0.0036430154, 0.0457826182, 0.0370006599, -0.0131634977, -0.0673228949, -0.0267257355, 0.0071085878, 0.0011365139, 0.0410049073, 0.0721522942, -0.0105831679, 0.021694079, 0.0349175557, -0.0113100139, 0.0198930502, 0.0100834891, 0.0305894632, 0.0008053306, 0.0010540499, 0.0477804393, 0.0284870528, 0.0002635667, 0.0422524028, 0.0411950722, -0.0331638716, -0.0336748771, -0.02619268, -0.0510842428, -0.0299047437, 0.0596323796, -0.0237023812, -0.0241068136, -0.0105925621, -0.0109497467, -0.0665437058, 0.018225342, -0.0562925674, 0.0594111606, -0.0168310292, 0.0065033492, 0.0235778429, 0.0284811426, -0.0284362659, 0.0701347664, -0.0282498021, 0.0260684155, 0.0165350102, 0.0162101723, -0.0000186045, -0.0358131975, -0.0372283086, -0.0377345867, 0.0029573706, 0.0460189953, 0.0058141737, -0.0173183177, -0.0451051407, -0.0789826661, -0.1000441015, 0.0363286808, -0.0287509877, -0.0101357996, 0.0064963032, 0.0138419364, 0.0074885841, 0.017440591, -0.009915675, -0.0166173242, -0.027494492, 0.0187520944, -0.0080549531, -0.0041335234, -0.0282488484, -0.0297489222, -0.0465259589, -0.0128093502, 0.0278514177, -0.0174286403, -0.0608019345, -0.0224144477, -0.0103155281, -0.0341390148, 0.0039314204, -0.0010908545, -0.019475989, -0.0098881181, -0.059867423, 0.0910057053, 0.0405036174, -0.0072540832, 0.0385774374, 0.0555433109, -0.016355399, -0.0222639609, 0.0336122885, 0.0166400429, 0.0179852117, 0.0160702672, -0.0014032203, 0.0016894398, 0.0378767066, -0.0113161132, -0.0408477224, -0.0565042906, 0.0084865047, 0.0243659038, -0.027555475, 0.0047109881, 0.0116240913, -0.0134082902, 0.0403705686, -0.0494645052, -0.0340744965, 0.073857218, -0.0278918706, -0.0304413158, -0.0368479565, -0.0013682693, -0.035279341, 0.0175557882, -0.0070012207, 0.0299279895, -0.0720482245, -0.0286775958, 0.0130691621, 0.0222315714, -0.0507488549, -0.0217975918, 0.0433532931, -0.0323427282, 0.0507731885, -0.0156583488, -0.0210034866, 0.0001564993, -0.0225685891, -0.0517940819, 0.0333524495, 0.0734149069, -0.0317373686, -0.0940040424, 0.0486176088, 0.0290176887, 0.0305626113, -0.0028590325, 0.0254641678, -0.0045778444, 0.0218966641, -0.0005550495, 0.0438304134, 0.0004519695, -0.019348124, -0.0005426662, 0.0690636486, 0.0868236721, -0.0156528018, -0.0395778641, 0.0025043299, 0.0414672457, -0.0431471691, -0.0128879556, -0.0045555821, 0.0479940511, -0.0552700236, 0.0229409393, 0.1221388951, 0.0260687955, -0.0567974336, -0.0244562812, 0.0274785478, 0.0555216372, 0.0075789774, 0.0271443408, -0.0277539548, -0.0424432643, 0.023015622, -0.0122287441, 0.0223227665, -0.0350384116, -0.0201667361, -0.1140514612, 0.0060387449, 0.0240218993, -0.0318536945, -0.038760528, -0.0676682517, 0.0072421855, 0.0030594261, -0.0035124144, 0.0126502495, -0.0008115799, -0.0180329382, 0.0005613238, 0.017956527, -0.0297651682, 0.0094228145, -0.023673689, 0.0635795817, 0.0359201431, -0.0049249311, 0.0024116435, -0.0358303748, 0.0371526405, 0.010306037, -0.00065538, -0.0267745871, 0.0227725115, -0.047163371, -0.0037922896, -0.0028872155, -0.0008042849, -0.0163201708, 0.0082433512, -0.0261642933, 0.0697151497, 0.0233977027, -0.0116972681, -0.0217761416, 0.011245884, -0.0312635265, 0.0791325197, 0.0271064341, -0.0421863608, -0.035315387, -0.0251515061, -0.0164584331, -0.0307623073, -0.0323515274, 0.0204565469, 0.0050309389, -0.0636122599, -0.0142802261, -0.0229401346, 0.0678650066, 0.0697236285, 0.0006916961, 0.0183891878, 0.0013468956, 0.0176259149, 0.0027096726, 0.0568476319, -0.0407994539, 0.000801696, -0.0892793313, -0.0123641277, 0.0220711771, 0.0177008882, -0.015618179, 0.014607829, -0.0828584433, -0.0787920132, -0.0117863445, 0.0562863611, 0.0261946004, -0.0044301623, -0.0030884694, -0.0686417073, 0.017772872, 0.0435006246, -0.0701021627, -0.0005821645, 0.0103062773, -0.0384483673, 0.0072534592, 0.0195684563, -0.0010517702, 0.0052140658, 0.0202529375, 0.0365063213, -0.0508612916, -0.0151743786, 0.0048060338, 0.0178715289, 0.0250109844, -0.019751098, 0.0478079468, 0.0035669536, -0.0016555827, 0.0225893259, -0.0005413989, -0.0360480174, -0.002678419, 0.0234595407, -0.0278624091, 0.0299770068, 0.0065093995, 0.0401398018, -0.0424688607, 0.0207539778, 0.0049416879, 0.0002589963, -0.0203006566, 0.0234053284, -0.025398558, -0.0585674196, 0.011576375, -0.0098977629, 0.011196672, -0.0557310209, -0.0126684094, 0.0212286226, -0.0029735249, -0.029937366, 0.0344007872, -0.0731750503, -0.0678685009, 0.0028860271, 0.0618505031, 0.0649557561, -0.0234335102, 0.053372331, -0.0055024978, -0.0120801181, -0.0455492139, 0.0039060221, 0.0062405253, 0.0061303051, -0.0026066448, 0.0372892804, 0.0128157893, 0.0246559922, 0.0814373568, 0.0004186928, 0.0031033752, 0.0296506751, 0.0067260722, -0.0332322605, 0.0070515419, -0.0108033791, 0.0608417355, -0.0234491043, 0.0124878958, -0.0375330746, -0.0423785001, 0.0029786758, -0.0028761693, 0.0029792935, 0.0254858583, 0.0279090106, 0.037802171, -0.018832868, 0.0096502313, -0.0210160967, 0.0060468512, 0.0367678478, -0.0231863577, 0.017459726, -7.090489354e-33, -0.0207259152, -0.02931384, -0.0078875851, -0.0483586937, -0.0019118275, 0.0023105498, -0.0260612089, 0.0238698721, -0.0169431772, -0.0239190198, -0.0601782538, -0.0132156825, 0.0110332295, 0.0144645199, 0.0195494555, 0.0337984003, 0.0374795347, 0.026449481, 0.0060200794, 0.0169615578, -0.0128761837, 0.0022434981, 0.0157937258, -0.048704572, -0.0032111919, 0.0193775203, -0.0012638472, -0.0029413663, -0.0003850967, 0.0253600758, 0.0049954136, 0.0307473373, 0.0155647593, -0.0373313613, -0.0308624636, -0.0133997453, -0.0696393549, -0.0405714586, 0.0366212726, -0.0302991755, 0.0041262517, -0.0474025793, 0.0530747734, 0.0281888284, 0.0463888608, -0.0603201129, 0.0238063037, 0.0056148106, -0.0493328646, 0.0182162262, -0.0142866541, 0.0567226447, -0.0134322261, 0.0268186703, 0.071604237, -0.0429450758, 0.0050787842, -0.0014821211, -0.0353551544, 0.0186346825, 0.0378488041, 0.0987942591, 0.0523457676, 0.0033452639, -0.0245569684, 0.0383510292, 0.0189613402, 0.013257524, -0.0243658982, -0.0100786593, 0.0275794026, 0.0478408672, 0.0427834801, -0.0028302923, 0.0579650328, -0.010226965, -0.0416036844, 0.0072211633, 0.0612366088, 0.0341471918, 0.0446750596, 0.0255686641, -0.0551266372, -0.013349724, -0.0055003632, -0.0193329174, -0.0582609214, -0.0421063416, 0.0105123529, 0.0352823064, -0.0358919688, 0.0102883652, 0.047972627, -0.0360487886, 0.0189167969, -0.004898631, 0.022870196, 0.0426784866, -0.0165305194, 0.0285334084, -0.0899117365, -0.055245474, 0.0200038068, -0.0029449931, -0.008035047, -0.0000574475, -0.0028214252, -0.0185250472, -0.087367475, -0.0219863225, -0.0249896478, 0.0106949881, -0.0181211662, 0.0372179821, 0.0445748456, 0.0235531107, 0.0171214659, 0.003374764, 0.0042931223, 0.011389832, -0.0197383892, 0.0039052446, 0.0100094145, 0.0042339265, -0.0076888879, 0.0059012664, -0.0689983517, -0.0551496334, 0.0127592776, 0.001740937, -0.044931177, 0.0064602531, 2.85e-7, 0.0214797147, 0.0572989658, 0.0287991557, -0.0070789875, -0.0059221517, -0.0006292491, -0.0037894752, -0.0067255273, -0.0025348559, -0.0116786761, 0.0113172373, 0.0505090728, 0.0272379648, 0.0210394524, -0.1265588999, -0.0431341082, -0.0303620528, 0.0331559554, -0.0492406785, -0.023450939, 0.0346199721, 0.1197637096, 0.043093808, -0.0002170575, -0.0150295654, -0.0392621234, 0.0396818481, -0.0071456032, -0.0036636668, 0.0506812632, 0.0776672959, 0.0101836883, -0.0193037577, 0.0232632533, 0.0070651891, 0.040190585, 0.0387060605, 0.0990980342, -0.0539719872, -0.0249736719, 0.03589743, -0.0138984472, -0.0189474076, -0.0500613302, 0.0772643313, -0.0170157999, 0.0060574077, 0.0008642587, -0.0187240839, -0.002722959, 0.0056515001, 0.007598469, -0.0292883795, 0.0357076041, 0.0362281054, -0.0366231427, -0.0113361264, -0.0882729739, -0.0261642653, 0.0024087846, -0.0600155555, -0.0377669558, -0.0190384444, -0.0110029615, 0.0390185341, -0.0556898154, -0.0293140765, 2.919662104e-34, 0.0485469215, -0.0107249655, 0.0384195261, 0.0553216375, 0.040384043, -0.0378682725, -0.0546271019, -0.0075607491, -0.0049370993, -0.0779679343, -0.0366054624 ]
http://arxiv.org/abs/2310.10690v3
http://arxiv.org/pdf/2310.10690v3
Large Language Models for In-Context Student Modeling: Synthesizing Student's Behavior in Visual Programming
2023-10-15T12:56:13
2024-05-03T22:03:43
Manh Hung Nguyen, Sebastian Tschiatschek, Adish Singla
cs.CL
cs.CL, cs.AI
Student modeling is central to many educational technologies as it enables predicting future learning outcomes and designing targeted instructional strategies. However, open-ended learning domains pose challenges for accurately modeling students due to the diverse behaviors and a large space of possible misconceptions. To approach these challenges, we explore the application of large language models (LLMs) for in-context student modeling in open-ended learning domains. More concretely, given a particular student's attempt on a reference task as observation, the objective is to synthesize the student's attempt on a target task. We introduce a novel framework, LLM for Student Synthesis (LLM-SS), that leverages LLMs for synthesizing a student's behavior. Our framework can be combined with different LLMs; moreover, we fine-tune LLMs to boost their student modeling capabilities. We instantiate several methods based on LLM-SS framework and evaluate them using an existing benchmark, StudentSyn, for student attempt synthesis in a visual programming domain. Experimental results show that our methods perform significantly better than the baseline method NeurSS provided in the StudentSyn benchmark. Furthermore, our method using a fine-tuned version of the GPT-3.5 model is significantly better than using the base GPT-3.5 model and gets close to human tutors' performance.
[ 0.0160344094, 0.0172735509, -0.0465265214, 0.0479109883, -0.0006897929, -0.0079839695, 0.0032191956, -0.0459162034, 0.0073052668, -0.0447083265, 0.0106958849, -0.0131427934, -0.0410192944, 0.0208607651, 0.0352354012, -0.1069292501, 0.0012523313, -0.0578597113, -0.0465222672, 0.0350416824, 0.0055036284, 0.0071076457, -0.0171960369, 0.088161841, 0.0078263395, -0.0532663614, -0.0162378885, 0.0076530874, 0.0090608988, -0.0143570546, 0.0074816043, 0.0400755294, 0.055405993, -0.0031034832, 0.0000021975, -0.0276776776, -0.0074069863, -0.018842468, 0.0198623799, 0.0154197225, 0.0265507475, 0.0399509966, -0.006175363, 0.0354422294, -0.0484261625, -0.023132883, 0.0431557857, -0.0124533949, 0.1116444096, 0.0242355969, 0.0154646728, -0.0067475964, 0.0034923248, 0.0244530849, 0.0478416607, -0.0076938774, 0.0291771945, 0.0492826812, 0.0062361043, 0.0071730618, -0.0542852208, 0.0096485177, 0.0059301406, -0.0231739059, 0.0346649736, -0.000154248, -0.0236161612, 0.0092048058, 0.013408443, 0.0447498597, -0.0509986877, 0.0150364405, 0.0131441029, -0.001976213, 0.0176310316, 0.063303411, -0.0710630566, 0.0100919558, -0.0325493738, 0.0116852922, -0.01303274, 0.0012661665, -0.0166477803, -0.0064427298, 0.0069619883, -0.0096122697, 0.0079371603, -0.0108161476, -0.0387598909, 0.0136202285, -0.0238557532, -0.0140277874, -0.0048284805, 0.0635210648, -0.0497249104, 0.0062592272, -0.041337017, -0.0252982043, -0.0271881614, -0.0090930425, 0.0977792963, 0.0634014755, 0.0091356859, 0.0213606805, -0.0280495081, 0.0749368593, -0.0142478589, -0.0500565097, -0.02397638, -0.0083991066, -0.0782118589, 0.0077284635, -0.0339269787, 0.027711371, 0.0076821642, 0.0109546622, -0.0632342249, 0.069675833, -0.0556742065, 0.0178578366, -0.0272333398, 0.006841667, -0.0328981541, 0.0208645016, -0.0514295064, 0.0249148756, 0.0108412299, -0.0281072054, -0.0158681646, -0.0155021828, 0.0031095354, 0.0245424751, -0.015983047, 0.0031903239, -0.0129159782, 0.0696136653, -0.0053915507, 0.011485287, -0.0461650379, -0.0480608642, 0.0336874388, -0.02626721, 0.0288649444, -0.0931214392, -0.0199099351, 0.0094034858, 0.0138074448, -0.0480339974, 0.0066068778, 0.0443974473, 0.052054055, 0.0464345217, 0.0140324151, 0.0101343002, 0.0091414833, 0.0211967211, -0.0345241018, 0.0487495214, 0.022021126, 0.0175025631, -0.0334621593, -0.0565558001, 0.0560882501, 0.0658334717, -0.0063896705, 0.0085466495, -0.0312282182, -0.0000852194, 0.0632153749, 0.0523838699, 0.0149393203, 0.0349141955, -0.0206758194, 0.0322819874, 0.0333606191, 0.0419219956, -0.0094051966, 0.039540045, 0.0861673132, 0.0266074017, 0.0334342867, -0.003170843, -0.0528761111, 0.0590651631, 0.0037973714, 0.0169994142, -0.0107698943, 0.0535481423, -0.0105689587, -0.0544798002, 0.0052130688, 0.0015437389, -0.0410177819, 0.0051223165, 0.055161491, -0.006708289, -0.0587394834, 0.0198453106, 0.0148467431, -0.0630557388, 0.0016124432, -0.0650100634, 0.0397845246, 0.0926295817, 0.0548543483, -0.0533444919, -0.0319946595, -0.0286932494, 0.0030689628, 0.0157935005, 0.0435445681, -0.0443930514, -0.0303314179, -0.0362328775, -0.0319410376, -0.0013615144, -0.0037193901, 0.0111657633, 0.0362798572, -0.0228272062, 0.0203736741, -0.0210854225, -0.0351362377, 0.034917105, -0.0809881389, -0.0263166074, -0.0408292003, -0.0040533557, 0.0221890565, -0.009543879, 0.017735146, -0.0138360867, 0.0227731615, -0.0137365479, 0.0272777546, -0.0443001576, -0.061023958, -0.0385347269, 0.0649633706, -0.0706075132, -0.0375386663, 0.0005209962, -0.0553084463, -0.03450571, 0.0603644699, -0.0137957865, 0.0139385974, -0.0020190806, 0.011664669, -0.0297045559, -0.0164998453, -0.0240380596, 0.0261016525, 0.032702703, 0.0367441364, 0.0563671887, -0.0009619948, -0.0128736068, -0.0297789909, -0.0162399635, -0.0455623157, 0.006019027, 0.0539258309, -0.0293935072, 0.0112523912, -0.0673903376, -0.029218819, -0.0590109266, -0.010619361, 0.030708855, -0.0037003409, -0.0038412625, -0.0218671225, -0.0281320997, -0.0024819735, -0.0354934298, -0.0079095764, -0.032735534, -0.0258502699, 0.0002844909, 0.0039864206, -0.0576915219, -0.0343491435, 0.0003197154, -0.0543503873, 0.0300321616, 0.0149105433, 0.0145266345, -0.035841547, 0.0715035722, -0.0024615901, 0.0538939647, -0.0166986771, 0.0047204271, 0.031176744, -0.062586844, 0.0996691808, 0.0692500398, -0.0238768049, 0.0586258732, 0.0435483195, -0.0350500643, -0.061262358, 0.0418605134, -0.013254337, -0.0200914349, -0.0012987091, -0.0771052241, -0.0133402087, 0.0237141922, 0.0065296367, -0.0305929929, -0.0592093095, 0.0709482953, 0.0020488487, 0.0402085073, -0.0350579396, 0.0193462335, -0.0014652335, -0.0145961242, -0.0015607045, -0.0399985202, 0.0811334178, -0.0169470236, 0.0068162894, 0.0387501493, -0.0021107865, -0.0152559541, 0.0516657457, 0.0185749214, -0.0283205528, -0.0170613043, 0.0210759807, -0.0420432277, 0.0153471753, 0.0364271663, -0.0410349779, 0.0582917668, -0.0970502943, -0.0530723594, -0.0100687686, 0.0187805314, -0.0473480709, 0.0079164458, -0.0059639434, 0.0040536094, -0.0232218932, -0.0482868552, -0.0077663637, -0.005112105, -0.0084156403, -0.0083527621, -0.0275071487, -0.038439028, -0.0163307395, -0.0362118594, 0.0261247493, -0.0228145085, -0.0658149123, -0.074457325, 0.0384157561, 0.0517285727, 0.0426778011, 0.004543582, -0.0508108884, 0.0031691475, 0.0221655034, 0.0107531762, -0.0134758456, 0.0651565716, 0.0292043425, -0.0654387027, -0.0043936442, 0.1080706194, 0.0088916412, -0.0330819227, -0.0177140143, -0.0051592849, 0.0541505143, 0.0481319837, 0.0474502519, -0.0583159253, -0.0406500697, -0.03442581, 0.048053138, 0.0260387845, -0.0537078641, -0.0114229145, -0.1006247848, 0.0596061051, 0.0463166796, -0.0331908055, -0.020737052, -0.0245365649, 0.0096749095, -0.0108288676, -0.0251269396, -0.0156103037, -0.0138201779, 0.0502894484, 0.0478455126, -0.0129012633, -0.0542383045, 0.0368943922, -0.0218125489, 0.0348176211, 0.0011065962, 0.0178090092, 0.0064777625, -0.0451717041, 0.0019825033, 0.0285002515, 0.024667114, -0.0021467227, 0.0531627946, -0.0121433521, 0.0033738492, -0.0215607919, 0.0267984029, -0.0457758643, -0.0054946668, 0.0655394867, 0.0980736539, -0.0274369512, 0.0031327133, -0.0596546642, -0.0243724193, 0.0476483032, 0.0436219387, 0.0544476919, -0.0699715987, -0.0076072202, -0.0681659952, -0.0198749434, -0.0320945159, -0.0285928678, -0.0229528882, -0.0011885045, 0.0269017052, -0.0034995088, -0.020264918, 0.070752725, 0.0273714289, 0.005949894, 0.0006717853, 0.028606806, 0.0004823109, -0.0400371999, 0.05193175, -0.0271730367, 0.0333113559, -0.0405437239, -0.0227798801, -0.0061504003, -0.0319457948, 0.0022673896, 0.033949744, -0.0776007399, -0.0576025583, -0.0106296381, 0.0836283416, 0.0183711983, 0.0401927903, 0.0241286643, -0.014658886, -0.0176154915, 0.0258456562, 0.0642571151, -0.0020803099, -0.0098586632, -0.0202571675, -0.0091517186, -0.0114013497, -0.0167639051, -0.0028826261, 0.0278968271, -0.0061842361, -0.0311519429, -0.0261789039, 0.0124592166, 0.0045209518, 0.0477808267, 0.0060381731, -0.0153400199, -0.0222711079, -0.0314153656, -0.0178533327, -0.0225250497, -0.0545907095, -0.0180689599, 0.0401623771, -0.0005468131, 0.0430265144, -0.0098900413, -0.0381381512, 0.0230030734, -0.0332997888, 0.0421513394, -0.0077427342, 0.0292998981, 0.0713699758, 0.0093299216, -0.0061110836, -0.0206577573, 0.0102509996, 0.0487229824, 0.01192821, 0.0875413418, 0.0052207476, 0.060360942, 0.021988051, 0.0103056971, -0.0201555155, -0.0447085649, -0.0475277714, 0.0183988567, 0.0264039747, 0.045358967, 0.0117260655, -0.0369062945, 0.0264278259, -0.0086636404, 0.0754015371, -0.0189079884, -0.0630416274, 0.0179373212, 0.0186904799, 0.0427195691, -0.0439236313, 0.0699568614, 0.0082599102, 0.017184874, -0.0253666528, -0.0432453267, -0.0310862586, 0.0141599886, 0.0685484707, -0.0040071942, 0.0306976307, 0.0025873762, -0.0666182339, -0.0647839606, 0.0000548714, 0.0505622029, -0.0041735051, -0.0448474325, 0.068869397, 0.0366579033, -0.0412168391, -0.0049823411, -0.021685645, 0.025845807, 0.0004138268, -0.0305782761, -0.0318958573, -5.726058163e-33, -0.0633396134, -0.0398765318, 0.0518153459, 0.0170826465, -0.010581742, -0.0221686177, -0.0383159257, 0.0159339011, 0.0130315768, -0.023457285, 0.0293052625, 0.0152574088, -0.017725233, 0.0186517704, 0.023972569, 0.0315832235, 0.0503968187, 0.0109513821, -0.0082234349, 0.0321203656, 0.0126644811, -0.0162660517, 0.045380801, -0.094438687, 0.0066860029, -0.0423745848, 0.0232645739, -0.0007430806, -0.0116596129, 0.0308288094, -0.0157427993, 0.0698751509, 0.0096078841, -0.0370234363, -0.036487259, -0.01064358, -0.0199164338, -0.0624633543, 0.0081976475, 0.003815793, -0.0198515207, -0.0281971805, 0.0285848491, 0.0269734282, -0.0560847521, -0.04049116, 0.0845921859, -0.0069001978, 0.0058632288, 0.0172358081, -0.0682420805, -0.0058940444, -0.0436661616, -0.0485171564, -0.0018420026, 0.0308067799, -0.0102890739, -0.0157567635, -0.0064242021, 0.0665214583, 0.0308331121, 0.0143003752, 0.0788567141, 0.0646342412, 0.0221481435, 0.0420071073, 0.0469754823, 0.018045729, -0.033202935, -0.0307480022, 0.0282563288, 0.0480100475, 0.0655775368, 0.0314291939, -0.0077511002, 0.0233482476, -0.0438037328, 0.0528793968, 0.0203247089, -0.0102109648, -0.0091165649, -0.0107349809, -0.024506947, -0.0328114219, -0.0249572881, -0.0551624671, 0.0056141419, -0.0151759256, 0.034973938, -0.0285870545, -0.0061927568, -0.0174020845, 0.0164430439, -0.0369228013, -0.00458796, -0.0261341892, -0.0506084785, 0.0459743477, -0.0172806568, 0.0040264558, -0.028762497, -0.0412059426, 0.0245326273, -0.0362009145, 0.0503484085, 0.0232199728, 0.0084250979, 0.0548406504, -0.0469037481, 0.0021934935, -0.0554876514, -0.0150110926, 0.0090639731, -0.0098862108, 0.0098486068, -0.0077889957, -0.0132309366, 0.0409359932, 0.0135990465, -0.0560303628, -0.0219482984, -0.0254045352, -0.0058725933, -0.0126465745, -0.0018351515, -0.0045642438, -0.04996619, -0.0070455354, 0.0202546194, -0.0554960296, -0.0238740388, 0.0014642561, 2.675e-7, 0.0098014642, 0.0155286593, -0.0055291872, 0.03168118, -0.0054693907, 0.0547828786, -0.0120442379, 0.0051557184, 0.0774891824, -0.0155482758, -0.0131863961, 0.0378746167, 0.0116030602, 0.0037370189, -0.0725258067, 0.0272578001, 0.0330291204, 0.0046243323, -0.0443481766, 0.0358178467, 0.0768442899, 0.015535363, 0.0361304022, 0.0080631999, 0.0258764103, -0.0381403454, 0.0379957594, -0.0131275933, -0.0315740481, 0.0110806888, -0.0227777008, -0.0142655848, -0.0036156748, 0.0324814543, 0.0085389391, -0.0335277058, 0.0134439897, 0.0453322157, -0.0117287217, 0.0489410199, 0.0364111476, -0.0034645449, -0.0247639008, -0.0192736182, -0.0006789441, -0.0383612551, 0.0222642347, 0.027857665, -0.0244038533, -0.0167688914, -0.001486396, -0.0162658896, 0.0202626921, -0.0180718526, 0.0086156437, -0.0372516327, -0.0118510928, -0.0122399284, -0.0376264788, -0.0286257584, -0.0425182879, -0.0469995886, -0.0123487478, -0.0203513615, 0.0167326257, -0.0063719107, -0.0013809513, 2.501430168e-34, 0.016469717, 0.0285332017, 0.0793339759, 0.0041613844, 0.0001889844, 0.0010951173, -0.0095271943, 0.0556199253, 0.0509478599, -0.0256172717, -0.0716746151 ]
http://arxiv.org/abs/2310.09820v1
http://arxiv.org/pdf/2310.09820v1
Assessing the Reliability of Large Language Model Knowledge
2023-10-15T12:40:30
2023-10-15T12:40:30
Weixuan Wang, Barry Haddow, Alexandra Birch, Wei Peng
cs.CL
cs.CL
Large language models (LLMs) have been treated as knowledge bases due to their strong performance in knowledge probing tasks. LLMs are typically evaluated using accuracy, yet this metric does not capture the vulnerability of LLMs to hallucination-inducing factors like prompt and context variability. How do we evaluate the capabilities of LLMs to consistently produce factually correct answers? In this paper, we propose MOdel kNowledge relIabiliTy scORe (MONITOR), a novel metric designed to directly measure LLMs' factual reliability. MONITOR computes the distance between the probability distributions of a valid output and its counterparts produced by the same LLM probing the same fact using different styles of prompts and contexts.Experiments on a comprehensive range of 12 LLMs demonstrate the effectiveness of MONITOR in evaluating the factual reliability of LLMs while maintaining a low computational overhead. In addition, we release the FKTC (Factual Knowledge Test Corpus) test set, containing 210,158 prompts in total to foster research along this line (https://github.com/Vicky-Wil/MONITOR).
[ 0.0275441743, 0.0087954598, -0.0184863601, 0.0427330695, -0.069425419, 0.0014866581, -0.0097959293, 0.0022677297, 0.0223800782, -0.0431469791, -0.0019744521, -0.0771816596, 0.0180004518, 0.0184773244, 0.0164677296, -0.0087328423, 0.0593059137, -0.0450389199, 0.0083045224, -0.01874776, -0.0159400888, 0.0118323434, -0.0323604457, 0.0382909551, -0.0386203416, -0.0440874174, -0.0053992881, -0.0179025643, 0.0188628584, -0.0040659481, 0.0081412401, 0.0560217164, -0.0266877599, 0.0807997584, 0.0000021135, -0.0872803703, 0.0113975005, -0.0116952714, -0.0661490783, 0.0265069734, 0.0227692202, 0.0303025264, -0.0170831755, 0.0227040257, -0.0296404101, 0.0017394302, 0.0280002188, 0.0302285459, 0.0493668988, 0.0467720777, 0.0177421924, 0.0185343958, 0.0391996652, 0.0173135307, 0.0212913081, -0.0249135774, 0.024382405, 0.060114149, -0.0191947706, -0.0041880975, -0.0004023103, 0.0541504584, 0.0216320381, -0.0159639847, -0.0202391855, 0.0307019968, -0.0443180874, -0.0426872484, 0.0228143092, 0.0312168617, 0.0187082384, -0.0354946554, -0.0289315116, -0.0028299545, 0.0056862216, 0.0563730262, -0.0311963279, 0.0249333326, -0.0275326483, -0.0095311794, 0.0233316999, -0.0050718621, 0.0444403067, 0.0056099636, -0.026296692, 0.1198087931, 0.0175065547, -0.0350598954, 0.012479905, -0.0024563198, -0.0151161607, -0.0773111656, -0.0104082562, 0.0121249035, -0.0560759157, 0.0528528169, -0.0138524109, 0.0101923859, 0.0578136109, -0.0695599765, 0.0003602525, 0.0187374428, -0.0559358858, 0.0669500902, -0.0067318296, 0.0665588528, 0.0147149796, 0.0136703858, -0.0029240905, -0.0045878007, -0.0558958687, -0.0136659183, 0.0248697475, -0.0122525487, 0.0268959086, -0.0129576474, -0.0157433823, 0.0260678735, -0.0144965956, 0.0519990213, 0.011243335, -0.0029368738, 0.0231371634, -0.0160360523, -0.0664875433, 0.0322464854, -0.0232196823, 0.0042237663, 0.0081731575, -0.0824604481, -0.0035141662, 0.0056300294, -0.0210256372, -0.0200025775, -0.0022367651, -0.0048122928, 0.0194628909, -0.0144294901, -0.0424130596, -0.0398640186, -0.037838202, -0.0791757852, -0.0295305066, -0.0836583972, 0.0081459899, 0.0284012668, 0.0007065957, -0.0315127373, 0.0122228116, 0.0151686231, -0.0082300361, 0.0613105781, 0.0084678102, 0.0264154486, 0.0306535326, 0.0198903829, -0.0293476675, 0.053738609, 0.0142852813, 0.0093691219, 0.0683470964, 0.0131131336, -0.0026654385, 0.0356400758, -0.0153096886, 0.001974442, -0.0003568898, 0.0230793674, 0.0347834751, 0.0063850242, -0.0094491588, 0.0515314452, 0.0057251463, -0.0083561847, 0.0755371526, 0.0138241723, 0.000730227, -0.0104213478, 0.0464648493, 0.0043710424, 0.0483434871, 0.0059570037, -0.039542716, -0.0066666594, -0.0550135411, 0.0168045964, 0.0133659421, 0.0200920627, 0.0021586525, -0.0304779299, -0.032461796, -0.001025063, -0.023146119, 0.0299349092, 0.0463320352, -0.0208734907, -0.0300608762, 0.0783986151, 0.0211869162, -0.0342288986, 0.006777402, -0.0515991785, 0.0428616963, 0.0532947481, 0.0402324013, -0.0271582734, -0.0248988327, -0.0033371914, -0.0084307902, 0.035656184, 0.0629852861, -0.018646244, -0.0035990204, -0.0165588371, 0.0172147825, 0.0024026311, 0.0474117622, 0.008920541, 0.0138539728, 0.0274076946, 0.0026957639, -0.0659524947, -0.005884659, 0.0245670434, -0.0388213433, 0.0033015225, -0.040326573, -0.0025844488, 0.0029319504, 0.0171805099, -0.0213827305, 0.0361231752, 0.0136334728, -0.0024690859, -0.0017939094, 0.0191398095, -0.0444316827, -0.0148815718, 0.0662838072, 0.023037741, -0.0203875396, 0.0036415448, 0.0066116503, -0.04538453, -0.0111762816, -0.0380149707, 0.0351939872, -0.06709297, 0.0331790149, -0.0332603566, 0.0119091151, -0.0092033548, 0.0876669139, -0.0112833334, 0.0482817963, 0.0217423867, 0.0002474731, 0.0237913374, -0.0200292077, -0.0343161561, -0.0033410306, -0.0024459255, 0.0005208345, 0.0266003143, -0.0190735124, -0.0796133876, -0.0015121793, -0.0947890878, 0.0056693004, -0.0298773553, 0.0309173949, 0.019089656, -0.0235401802, -0.0243730824, 0.0047839647, -0.0366352238, -0.0212722793, 0.0025276458, 0.0198769215, -0.0020634651, -0.0072402703, -0.0190463979, -0.011874022, 0.0249304082, -0.0087023303, 0.0454325229, 0.0123206535, 0.0010575475, -0.0706544742, 0.0666342825, -0.0550281256, 0.0005994745, -0.0007879352, -0.0016107977, 0.0304432008, 0.0085881744, 0.0281125065, 0.0389521979, 0.019607326, 0.0047751553, 0.0596245304, -0.0374102257, -0.050032258, -0.0181619599, -0.0012566267, -0.033744324, -0.0255691651, -0.0617870353, -0.0203064363, 0.0343598016, 0.0417518727, -0.0168806948, -0.0488791615, 0.0170710254, -0.0545903556, -0.0420550145, -0.0466109067, 0.0001744837, -0.0268850476, 0.0920205712, -0.0119612059, -0.0411990248, 0.0688169897, -0.0654788315, 0.0250881519, 0.0047490825, 0.0036759137, 0.0239880718, 0.045133274, -0.0115596717, 0.00039801, 0.0354811326, -0.0057868138, -0.0528255254, 0.0021837491, 0.0172744058, -0.0615677014, 0.0509625115, -0.076139845, 0.0106745912, 0.0337773263, 0.0023887528, -0.0612003058, -0.0311121885, -0.0295844264, 0.0005065149, -0.0432620049, -0.0040385043, -0.0160265062, 0.0153892627, 0.0414399207, 0.0078451075, -0.0033166255, -0.014701602, -0.0015691657, 0.0443570949, 0.0507841259, 0.0176014751, 0.0692614466, -0.0156524163, 0.0305657536, 0.059333913, 0.0083001396, 0.0553857349, -0.0090584261, -0.0304353759, 0.0114751579, -0.0238322765, -0.0283755288, 0.0231487993, 0.0502343401, -0.0457824469, -0.0488151573, 0.1455919743, 0.0581464879, -0.0094302986, -0.0035655941, -0.0562126599, 0.0418239534, 0.0216751862, 0.0085012233, -0.0759052113, -0.0037766646, 0.0206461772, 0.004417371, -0.0297332034, -0.045612514, -0.0178244729, -0.1244975924, 0.0159535315, -0.0208641682, -0.0150287673, -0.0296066571, -0.0538690574, 0.0266955849, -0.0009237308, 0.0367126837, 0.0206067991, 0.034015052, -0.0028993536, 0.0073359227, -0.0428927839, -0.0656320974, 0.1070504561, -0.0292673651, 0.0786947608, 0.0646581948, 0.0148273101, -0.0246891063, -0.0541225784, -0.031847883, -0.0349452831, -0.0163970646, 0.0257786345, 0.0020305968, 0.0082465308, 0.001490987, -0.0035572099, -0.0160562359, -0.0194102228, -0.0141150057, 0.0282549802, 0.1029583067, -0.0291400086, -0.0180377197, 0.0073340111, -0.0076646134, 0.0139581403, 0.1048838347, 0.0328972004, -0.0053679538, 0.0168073867, -0.028916968, 0.0162736718, 0.002233546, -0.0498107299, 0.0372133739, 0.0283469949, -0.0066333408, -0.0719016269, -0.0046661627, 0.0307029039, 0.0159808174, -0.0189796425, 0.0014771811, 0.0085652992, 0.0054302327, -0.0275636222, 0.0211877618, -0.0547769889, 0.0377789289, -0.0449575484, 0.0210577752, 0.0063225101, -0.0095245391, -0.0194798093, -0.0014955529, -0.0848944411, -0.0693679675, 0.0227917414, 0.0297584236, 0.0274041072, 0.0162419695, -0.0438466109, -0.0207049865, 0.0376349762, 0.0000960639, -0.0409072898, 0.0257998519, 0.0003078568, -0.0084720151, -0.0090192202, 0.0307813883, -0.0488509163, -0.0277141165, -0.0243735295, 0.0506371781, 0.0033027662, -0.0728937164, 0.0235952698, 0.0335619189, 0.0269027129, -0.0236543696, -0.0054316451, -0.023339605, 0.0017031358, -0.0316289961, -0.0288248695, 0.0006582283, 0.0196573231, 0.0270762388, -0.0325648598, -0.0127731496, -0.0321670659, -0.0411622673, 0.0374191031, -0.0179529693, -0.0349271111, 0.0318582617, 0.0088398755, 0.0282925311, -0.0312917493, -0.0303930603, -0.0126839438, -0.0097802086, 0.0422725677, 0.0046389685, 0.0749848485, -0.0043308944, -0.0334566571, 0.0099821631, -0.0005406506, -0.0382677689, -0.037305247, 0.0163342841, 0.063680701, 0.0466695912, -0.0089174109, 0.0515078045, -0.0636321902, 0.0030223702, -0.0337555744, -0.0112829478, 0.0573596843, -0.0210296996, 0.0272615794, 0.0352225006, -0.0170366, 0.0196028706, 0.0732732937, -0.0259581711, 0.0516784377, -0.0067922957, -0.0392937437, -0.0282624718, -0.0170324184, -0.0461897254, -0.0039441939, -0.0402108207, 0.0123087252, -0.1049408242, -0.0929923728, 0.0227942802, 0.0443691798, -0.0120639689, 0.0014698572, 0.0096715409, 0.0904197246, 0.0060212477, 0.0061041391, -0.0448642522, 0.0012795634, -0.0055768606, 0.0291507635, -0.011860284, -6.761835092e-33, -0.0221997052, -0.0540386625, -0.0018769304, -0.0525375232, -0.0087829875, -0.0120179579, -0.0260675941, 0.0152989402, -0.0366354585, 0.0175427031, -0.0155266263, 0.0181112904, 0.0243615471, -0.001691618, 0.013234253, -0.0210795254, 0.0097404066, 0.0216362905, -0.0384200588, 0.0030575185, 0.0603749119, -0.008577168, 0.0605928935, -0.0394488573, 0.0929847509, -0.009911417, -0.0084401453, 0.0440587737, -0.0396533422, 0.0557707623, -0.0177985672, 0.0714130998, 0.021692995, -0.0627184585, 0.0022461633, 0.0041878559, -0.0432254598, -0.0625955239, 0.0663622394, 0.018385129, -0.0101233423, 0.0022189065, -0.0052428604, -0.0157957394, -0.000277951, -0.0043589324, 0.0195209626, -0.0352534018, -0.0063118041, 0.0152369542, -0.0168784857, 0.0196932629, 0.0041009951, -0.0290278252, -0.01251812, 0.0300819539, 0.011070394, -0.0321032181, -0.0654297024, 0.0106524611, 0.0084317094, 0.0235166587, 0.0837500617, 0.0046314336, -0.0039939913, 0.0679945871, -0.0118725393, -0.0009672939, -0.027014235, -0.009782888, 0.034734387, 0.0179763101, 0.039109651, 0.0694180652, 0.0059192763, 0.0191368032, -0.0685598329, 0.014863316, 0.0300984532, 0.0448490866, 0.0323042497, -0.01840817, -0.0469519496, -0.0275353026, -0.0596288592, 0.0201609302, -0.0402348265, -0.0254642311, 0.0385461487, -0.0360569842, 0.0081895581, -0.0394289568, 0.0254900549, -0.0220865738, -0.0045779673, 0.0180955455, -0.0126691032, 0.001445792, -0.0167983267, 0.0633521974, -0.0189733431, 0.0279807188, 0.0000546345, -0.0024996987, 0.0114333434, 0.0119717568, 0.0093114479, 0.0057840613, -0.0494274199, 0.0086164987, -0.038376186, -0.0051634279, 0.0024525344, -0.0161897969, 0.0310568418, 0.0053403848, -0.016375497, 0.0010995166, 0.0371084101, -0.0104282796, -0.0203793384, 0.011745085, -0.0324313119, 0.0009845374, -0.0371227898, -0.0202755388, -0.0431831963, 0.000188623, 0.0183394495, -0.0129144406, 0.0102325398, -0.0009572997, 2.83e-7, 0.0502624959, 0.0643195882, -0.0207891744, 0.0591166131, 0.0132261254, 0.03420192, -0.0273971781, -0.0191928688, 0.0337554999, -0.097144939, -0.0165333357, -0.0003303385, 0.0513419397, 0.0620513484, -0.0819280669, -0.0065638009, -0.0610380657, -0.0048290659, -0.0386815444, 0.0014369179, 0.0515563935, 0.0663182065, 0.0195826292, -0.0144618088, -0.0045724446, -0.0483015478, 0.0265554823, -0.0039100959, -0.0276770163, 0.0160865989, 0.0700081065, -0.0042484077, 0.0467957519, 0.0641584471, 0.0048908875, -0.0134437373, -0.0132082263, 0.0273878183, 0.0213989373, -0.0098899128, -0.0498374552, -0.0516626574, 0.0185699966, -0.1061355472, 0.0773805007, 0.0002510982, -0.0000892571, -0.0363684855, 0.0006326751, -0.0399629138, 0.0553630106, -0.0205628593, -0.0368638113, 0.0209812541, -0.0045395661, 0.0276863631, -0.0191558264, -0.0342830643, -0.0568064153, 0.0226152614, -0.034154091, -0.0894457325, 0.0148847289, -0.0439830534, 0.0009131264, -0.104799293, 0.0313632302, 2.661248956e-34, 0.0260262005, 0.0334329046, 0.0110819731, 0.025054615, 0.0477974452, -0.0152505822, 0.0211096592, 0.0049941042, -0.0072883051, -0.0727851093, -0.0170649476 ]
http://arxiv.org/abs/2310.09773v1
http://arxiv.org/pdf/2310.09773v1
RSVP: Customer Intent Detection via Agent Response Contrastive and Generative Pre-Training
2023-10-15T08:21:38
2023-10-15T08:21:38
Yu-Chien Tang, Wei-Yao Wang, An-Zi Yen, Wen-Chih Peng
cs.CL
cs.CL
The dialogue systems in customer services have been developed with neural models to provide users with precise answers and round-the-clock support in task-oriented conversations by detecting customer intents based on their utterances. Existing intent detection approaches have highly relied on adaptively pre-training language models with large-scale datasets, yet the predominant cost of data collection may hinder their superiority. In addition, they neglect the information within the conversational responses of the agents, which have a lower collection cost, but are significant to customer intent as agents must tailor their replies based on the customers' intent. In this paper, we propose RSVP, a self-supervised framework dedicated to task-oriented dialogues, which utilizes agent responses for pre-training in a two-stage manner. Specifically, we introduce two pre-training tasks to incorporate the relations of utterance-response pairs: 1) Response Retrieval by selecting a correct response from a batch of candidates, and 2) Response Generation by mimicking agents to generate the response to a given utterance. Our benchmark results for two real-world customer service datasets show that RSVP significantly outperforms the state-of-the-art baselines by 4.95% for accuracy, 3.4% for MRR@3, and 2.75% for MRR@5 on average. Extensive case studies are investigated to show the validity of incorporating agent responses into the pre-training stage.
[ 0.0861192867, 0.034380611, -0.0207889024, 0.0056984737, -0.0210035108, -0.0033817808, 0.0153446561, -0.0260730479, 0.0291955229, -0.0553341582, -0.0367900208, -0.037079975, -0.0246331934, 0.0453488119, -0.0159042347, -0.0078792293, 0.0231323205, 0.0151785919, 0.0399188623, 0.0235593524, 0.0088382633, 0.0233875699, -0.0357369259, 0.0471252017, -0.0289072897, -0.0350134335, -0.0195388757, 0.0181314591, 0.0044258363, -0.0319331735, 0.0957054347, 0.0299057234, 0.0437289178, 0.0099104429, 0.0000019397, -0.0571734644, -0.0108030951, -0.0170143023, -0.0958817229, -0.0173876006, 0.0356937684, 0.039046485, 0.0207350552, 0.0413094088, -0.0686288625, 0.0144129256, 0.0133480197, 0.0869808421, 0.0656680018, 0.0798731893, -0.0337314941, -0.0200495943, -0.0088500408, -0.0124377394, 0.0339764915, -0.0432785861, -0.0026873103, -0.0103559094, -0.0125466697, 0.0215973947, 0.0365550444, 0.0188095849, 0.00172234, -0.0192019008, 0.0210596044, 0.0287658311, -0.0006049487, -0.0156117594, -0.0638305768, 0.0948844403, 0.0007261252, -0.0000514489, 0.0047069136, -0.0304480568, -0.0145001765, -0.0552931465, -0.0104054511, -0.013391505, 0.0062753656, 0.0063335653, -0.0317793265, 0.0354569107, -0.0177040771, -0.0094531449, -0.0351410657, 0.046060849, -0.020958934, -0.0446575098, 0.024700528, -0.0011001742, 0.0307606477, -0.0528490618, 0.012402093, 0.0335200466, -0.0567678958, 0.0022414424, -0.0026329935, -0.0050680535, 0.0275788549, -0.063375175, 0.0206709187, 0.0167031772, -0.0185368117, 0.0278961286, -0.0310057141, 0.0265313722, 0.0021460168, 0.0094136223, -0.0544683896, 0.0166991651, -0.050630752, 0.0000928923, -0.071494177, 0.032304246, -0.0848081037, -0.0320349261, -0.0268758535, 0.0519288704, 0.0066156117, -0.0072795241, 0.007259578, 0.0563199669, -0.0610599071, 0.0024282865, -0.0506759398, 0.0147186331, -0.0343519002, 0.0332428105, 0.0051536984, -0.0647857338, -0.0098615075, 0.0329738446, 0.0105348062, -0.0055192271, 0.010873924, 0.023077026, -0.0134800998, -0.0489941277, -0.0374551527, -0.0114604244, -0.0314910412, -0.0746947452, -0.0302357785, 0.0028408167, 0.0294936635, -0.0096500162, -0.0314659923, 0.0149683878, 0.0269246642, 0.0173501987, 0.0082171541, 0.0631638169, -0.0035541258, 0.0166029334, 0.0128274662, -0.0057282383, -0.0075724288, 0.048310928, 0.0135299377, 0.0413368605, 0.0213855915, -0.0039483658, 0.0319730006, -0.005833243, 0.0254734531, -0.0235706251, 0.0614210889, 0.0762246996, -0.0212513618, 0.0329282843, 0.0346974991, 0.0282722898, -0.016525887, -0.0331134759, 0.0605783127, 0.0210402999, -0.0076557328, 0.0256268177, 0.0552689731, 0.0922945142, -0.0279883761, -0.0071900156, -0.0177674945, 0.0105934599, -0.0116451886, 0.000320736, 0.0174467284, -0.00741771, -0.0803726912, -0.0318320729, 0.0269439425, -0.007962211, 0.023822898, 0.0450408794, 0.0267883074, 0.0175888576, -0.0756464005, 0.0015105795, -0.0135721033, -0.039404396, -0.0421784185, -0.047605142, 0.0438494012, 0.0697655305, 0.0304021314, -0.0306054596, -0.0460881665, -0.0260350313, -0.0285379123, 0.0472052582, 0.0466416366, -0.010988594, 0.0602171309, -0.048699148, 0.0034112786, -0.0271762535, -0.0295571629, 0.0334829874, -0.0157267116, -0.008727924, 0.0335845537, 0.0149111887, 0.0000398456, 0.0057963347, -0.0020509874, -0.0318460129, 0.0400532335, 0.0163807943, 0.0499151349, 0.028102532, -0.0044483468, -0.0056556356, 0.0235488471, 0.0043229302, -0.0125769982, 0.0321385078, -0.0347737893, -0.0748567134, 0.0112251872, 0.013161201, -0.0432264097, 0.0513443276, -0.0104134586, -0.0356432199, 0.008446197, -0.0329776667, 0.033753369, -0.0795631483, -0.0119052138, 0.0579971634, 0.0549947396, -0.0084292796, 0.0305912141, 0.0418017656, -0.0069345464, 0.0286641624, 0.0198283568, 0.0270045027, -0.0476131514, -0.0116743911, -0.0461809933, -0.0279318076, 0.016088739, 0.0400354862, 0.0453280844, -0.0354042239, 0.0186762549, -0.0821324363, 0.0090616848, -0.0188453719, -0.0188921522, -0.0121634323, 0.0375525169, -0.0002624179, -0.0439518131, -0.0622501299, 0.0289617963, 0.0411418788, -0.0025708256, 0.0420894325, 0.0104500819, -0.0368163437, -0.0439140387, 0.037182752, 0.0102067674, -0.0079666693, 0.0217907615, 0.0125369271, -0.0466160774, 0.0118445558, -0.0258070026, 0.0383641943, -0.0164579488, -0.0546384007, 0.0039188908, -0.0176261906, 0.0178458933, 0.0557555333, 0.0427426063, 0.0070279781, -0.0541925021, -0.0236480609, -0.0700633302, 0.0585080124, -0.0726748258, -0.0172613785, -0.0343045704, -0.0330815874, 0.0563486591, 0.0520781837, 0.0074971016, -0.0069848537, -0.0491059534, -0.0458358116, 0.0489928536, -0.0551183298, -0.0110345762, 0.0205257572, -0.0228218436, 0.0589110591, 0.022028422, -0.0307126474, 0.0497386083, -0.0002613683, -0.0504256785, -0.0794183314, -0.0398279503, -0.0447755232, 0.0303199328, -0.0307335556, 0.0223592874, 0.0132828569, -0.0316846557, -0.0088448515, -0.0155253634, -0.0008825367, -0.0123378849, 0.0479223318, -0.0095341159, 0.0373088755, -0.0222868305, -0.0404646955, -0.0880808085, -0.0905233547, 0.015350082, -0.0002668301, 0.0501856059, -0.0005652355, -0.037153583, 0.0263022967, -0.0296721365, 0.0482915081, -0.0048535606, -0.0208886545, -0.0158627387, 0.0233534183, 0.0574945025, 0.0626525432, 0.0197003223, 0.0019833287, 0.0499898307, 0.0240008645, 0.0482850038, -0.0258680936, -0.0261331052, -0.0106575834, 0.0203449819, -0.0097770588, 0.0496398248, 0.0276895501, 0.0408255272, 0.0128273563, -0.0334941149, 0.106185168, 0.0238403622, -0.028431613, -0.0095413812, -0.0114086242, -0.0092738857, 0.0105953533, 0.0317435563, -0.053567376, -0.0155929467, -0.0265883598, 0.0067873844, -0.0091992421, -0.02105942, -0.0212283283, -0.0889994726, 0.0737580359, -0.030920662, 0.0056360015, -0.022726018, 0.0073107332, -0.0040024524, -0.003368825, 0.0289883744, -0.0165617224, -0.0131315347, -0.0297549907, 0.0094400849, -0.0226060599, -0.0275627729, 0.0313198976, -0.0199434366, 0.0679828227, 0.0537661687, 0.0209692195, 0.0349989571, -0.0020657266, -0.0041243597, -0.0062986836, 0.0074709342, -0.0121050607, 0.0647334084, -0.0271250475, -0.0000041356, 0.0053894948, 0.0011155236, -0.0563337058, 0.0118810162, 0.0191283002, -0.0171350427, -0.0634266138, 0.0017563758, -0.0009796112, 0.0617120154, 0.0736813322, 0.0931605026, 0.0152951833, -0.0396069065, -0.051659625, -0.0119966641, 0.0000851962, -0.0324886739, 0.018063657, -0.0060438691, 0.0051358435, 0.007502099, -0.0385783762, -0.0936626643, 0.0290405862, 0.0102794385, 0.0032809644, -0.0166013017, 0.0028911931, 0.0061684595, -0.0045275907, -0.009829537, -0.0290062595, 0.0311327334, -0.0444962606, -0.033591561, 0.0312386472, -0.0826234892, -0.0106693339, -0.0060539502, -0.0848435834, -0.0402675308, -0.0230849795, 0.0802520216, 0.0160658788, 0.0597462691, -0.0073339012, 0.0011491746, -0.0259443838, 0.0285272971, -0.0807922482, -0.0247470513, 0.0486750752, 0.0634630546, -0.0170569215, 0.0411543921, -0.0313361101, 0.0504583083, 0.0096808728, 0.045117639, -0.0294060968, -0.0835956037, 0.043680802, -0.0163636152, 0.0152666373, 0.0291507635, 0.0079862103, -0.0521273054, 0.036141526, 0.0016372077, 0.0012621999, -0.0782021135, -0.0273937806, -0.018001467, 0.0021520394, 0.0087985648, -0.0048931381, -0.0836279988, 0.0133976592, -0.0124567281, -0.010826882, 0.0177214798, 0.0037234135, 0.0076501728, -0.0103395488, -0.022198474, 0.0253301114, 0.0491650291, 0.0416446477, 0.0448513962, 0.0805599615, 0.0236215778, -0.007889526, -0.0008320285, 0.0201775096, -0.0437524393, -0.0555504784, -0.00673716, 0.0002041771, 0.009546007, -0.0059445915, 0.0135910008, -0.0524576828, 0.0431745276, -0.0247840676, 0.0681666732, -0.014354215, -0.0070285024, 0.0143059669, -0.0122690359, -0.0432317853, 0.0032869484, 0.0668723285, -0.0340964906, 0.0016211995, 0.0142749958, 0.0005621254, -0.0831432119, -0.0164775345, 0.0167187899, 0.0130564803, -0.0098172138, 0.0061773402, -0.0305289216, -0.0358342305, 0.0172196459, -0.0130064711, -0.0212630611, -0.0141493017, 0.0612359829, 0.0325587578, -0.0001399311, -0.0217624903, -0.0439737216, 0.0209690426, -0.0665544868, -0.0013676266, -0.0598828234, -6.096918182e-33, -0.0194911025, 0.0051014186, 0.0403406359, 0.0107063223, -0.0109721813, -0.000832777, -0.0293442793, -0.0294962618, -0.0154726012, -0.0006123722, -0.020420989, 0.0262686796, 0.0095407311, 0.0384739898, -0.0221993215, -0.0359259434, 0.0823373944, -0.0215905104, 0.0164668858, 0.0551978908, -0.0013148694, 0.0336816199, 0.0389779396, -0.0894321874, -0.0062580365, -0.0170315783, 0.005314305, 0.0411179699, 0.0127109243, 0.0560062937, -0.0285333004, 0.0513609461, 0.0121736079, -0.0339645445, 0.0201805457, 0.043105375, -0.0753749311, -0.0299386792, 0.0076293065, -0.0034636143, -0.0565971732, 0.0292999297, -0.0121684074, -0.0200120658, 0.0089195464, 0.0270834547, 0.027986927, 0.0083532697, 0.0126478225, -0.00287344, -0.0574763007, -0.0124265784, -0.0262975059, -0.0612855926, 0.0080345487, 0.0704315901, 0.00694991, -0.0237461235, -0.0531478226, 0.0217986908, -0.0141269444, -0.0391984247, -0.0191873219, 0.0318110771, -0.0024856243, 0.0446369909, 0.0514448769, 0.0154106105, 0.0129032694, -0.0150631135, -0.0289743338, 0.0510917641, -0.0300880782, 0.0323948674, -0.0030890703, -0.0212361962, -0.0364683196, 0.0477512293, 0.0611458458, 0.0009688392, 0.0354987346, -0.02759967, -0.0438682586, -0.0015700398, 0.0218113232, 0.0149426702, -0.0253397822, -0.0231541358, 0.0468352512, 0.0524826311, 0.0149199637, 0.0227525905, 0.0517954491, -0.0427229293, 0.0071605598, 0.0040611485, -0.0102872811, -0.0452465937, 0.0008148555, 0.024899764, -0.0793285891, -0.0074083824, 0.0307520684, -0.0049277069, -0.0245356597, 0.0218837801, -0.0098141516, -0.0185625833, -0.0129794935, 0.0013333888, -0.0128708938, 0.0681535453, -0.0595425889, 0.0609995574, 0.0059958887, 0.0304449908, -0.0377917066, 0.0853072107, -0.0313844718, -0.0163343046, -0.0380628407, -0.0275647286, 0.0434088856, 0.0152862174, -0.0367844328, 0.0179887675, -0.0145470137, -0.0185199361, 0.0024204911, -0.0475056842, -0.0078798551, 0.0069771241, 2.591e-7, -0.0106002958, 0.0038936113, 0.0275023002, 0.0510386862, -0.0000749462, 0.0525067151, 0.0182049088, 0.0377358049, 0.024782585, 0.0079798726, 0.0506259538, -0.0055080792, 0.0477310792, -0.0111137349, -0.0907094777, -0.0002616529, -0.0428780876, -0.0157535579, -0.0369344279, -0.0070172367, 0.0717953742, 0.0657727569, -0.0100653581, -0.0179584213, 0.0167587232, 0.0001982211, 0.045489043, -0.0429047421, 0.002733065, 0.0439538062, 0.0183944851, 0.0062401663, -0.0195145085, 0.0187094752, -0.0194238815, 0.0558641329, -0.0212294925, 0.0361152329, -0.0003848979, -0.1009845287, -0.0006203238, 0.0262648128, 0.0223159194, -0.0250102188, 0.0376373194, -0.0759871006, -0.0241105109, 0.0014551888, -0.0181076154, -0.0067621837, -0.0253160484, 0.0048507857, -0.0143966405, 0.0003383595, 0.0267295297, -0.0146986982, -0.003604932, -0.0990200564, 0.0677437261, 0.0135941785, -0.0520849116, -0.014239857, -0.0353728496, 0.024335688, 0.0211116821, -0.0277836993, 0.012964691, 1.882491066e-34, 0.0405028872, 0.0002452435, -0.0137513392, 0.0611631908, 0.0124613242, 0.0035717983, -0.0152494302, -0.0024641056, 0.0728065446, -0.0708604977, -0.026058713 ]
http://arxiv.org/abs/2310.09772v2
http://arxiv.org/pdf/2310.09772v2
Rethinking Relation Classification with Graph Meaning Representations
2023-10-15T08:07:56
2023-12-28T02:57:12
Li Zhou, Wenyu Chen, Dingyi Zeng, Malu Zhang, Daniel Hershcovich
cs.CL
cs.CL
In the field of natural language understanding, the intersection of neural models and graph meaning representations (GMRs) remains a compelling area of research. Despite the growing interest, a critical gap persists in understanding the exact influence of GMRs, particularly concerning relation extraction tasks. Addressing this, we introduce DAGNN-plus, a simple and parameter-efficient neural architecture designed to decouple contextual representation learning from structural information propagation. Coupled with various sequence encoders and GMRs, this architecture provides a foundation for systematic experimentation on two English and two Chinese datasets. Our empirical analysis utilizes four different graph formalisms and nine parsers. The results yield a nuanced understanding of GMRs, showing improvements in three out of the four datasets, particularly favoring English over Chinese due to highly accurate parsers. Interestingly, GMRs appear less effective in literary-domain datasets compared to general-domain datasets. These findings lay the groundwork for better-informed design of GMRs and parsers to improve relation classification, which is expected to tangibly impact the future trajectory of natural language understanding research.
[ 0.037102133, 0.0363889448, 0.01046154, 0.0742217526, -0.023916889, 0.0257829148, -0.0004468032, -0.0183031578, 0.0354051068, -0.031655807, 0.0048563974, -0.034674827, 0.0198434498, 0.0551305339, 0.0016597681, -0.0298107378, 0.031764593, 0.0139182163, 0.037495058, 0.0128193377, -0.002624514, 0.0233831182, 0.0293282177, 0.0138035826, -0.024392629, -0.0404687338, 0.0027693296, 0.0215879437, -0.0077779503, -0.0833139122, -0.0263569932, 0.0164413452, 0.0407659672, 0.0250160582, 0.0000017401, -0.0247317702, -0.0206588227, 0.000912785, -0.0547817759, -0.0141354967, 0.0295890253, -0.0737526193, 0.0463747159, -0.0298546646, -0.0531879328, -0.0781140998, 0.0139783276, 0.0362075195, 0.0100074848, 0.0839931443, -0.0325583592, -0.0619154833, 0.0155596919, -0.0230712723, -0.0004198228, -0.0452510715, 0.0273928493, 0.042021405, 0.0032603871, -0.013900171, -0.0820348039, 0.0146364234, 0.0166642666, 0.0123899663, 0.0326943696, 0.0466214791, 0.0214219373, 0.0078102346, 0.0215542037, 0.1015750691, 0.0114383623, -0.0119027961, 0.0011115064, -0.0105180731, -0.0049272622, 0.0348583087, 0.0002112227, -0.0093181999, -0.0349543542, 0.0467144139, 0.0193569344, -0.0365877487, 0.0629578531, -0.0068828883, -0.0147995232, 0.0426541306, -0.0286005046, -0.021138832, 0.0332647152, 0.0212473292, -0.0364167131, -0.031735938, 0.0197968259, 0.0121539533, -0.0166436881, 0.0383460335, -0.0037208267, 0.0008186471, -0.0259224884, -0.0576315485, -0.0058774804, 0.0174790286, 0.0004148417, 0.0117875477, -0.0130862789, 0.0438906215, -0.0143326567, 0.0411979035, -0.0535229817, 0.0019007835, -0.0478729308, -0.0038337158, -0.047230009, 0.0477564782, -0.0305542219, -0.0738512054, -0.0498752482, 0.0365858227, 0.0102609592, -0.0117950439, 0.0189531371, 0.047541827, 0.0013909193, 0.0435521267, -0.0121824816, 0.0239308979, -0.0021242164, -0.0109557416, -0.0294642206, -0.0103153102, -0.0169773642, 0.0003237628, 0.0726369768, -0.0355455503, -0.0066382131, 0.0956074074, 0.0449317805, -0.0586139597, -0.0046655629, -0.0348494239, -0.0088705737, -0.0162161198, 0.039705839, -0.0276303347, 0.0377872773, 0.035552375, 0.0035850394, -0.0598601699, 0.046590969, -0.0102178771, -0.0378565155, 0.0542917624, -0.0163833555, -0.0357728526, -0.0522786118, -0.0023148437, 0.0023059552, 0.0284527466, 0.0522122234, 0.011467943, 0.0393797569, 0.0199416652, -0.0601113327, -0.0219902135, 0.0099740615, -0.0496595427, -0.0020173993, -0.0058189565, -0.010947858, 0.0245254226, 0.0194894597, 0.0418145843, -0.0344524011, -0.0431747437, 0.0079046637, 0.0271323808, 0.0121636027, 0.0042445869, 0.0516947471, 0.0073833507, -0.012332594, 0.0106686791, -0.0723804384, -0.019152103, 0.023722982, 0.0493064635, -0.0640463233, -0.0267690979, 0.0215740427, -0.0045940997, -0.02124984, -0.0166680887, 0.0677653775, 0.0132579468, 0.055479899, 0.0192275923, -0.0362738706, 0.0000958807, 0.0441028178, 0.0014384041, 0.0123894522, 0.0343306102, -0.0235454552, 0.0657356307, 0.0460251383, -0.0055934372, -0.0455739386, 0.0021938994, -0.0235779639, 0.0056210998, 0.0147088105, -0.0334487073, 0.0367232971, -0.0363179073, -0.0453213453, -0.0335176438, -0.0140567794, 0.022581704, -0.0045716031, -0.0083086016, 0.0010859271, -0.0522819757, -0.0446360447, 0.0248624012, 0.0116739934, -0.0224296693, -0.000497703, 0.0227252711, 0.0146401934, 0.0383342393, -0.0074447254, 0.0048026703, 0.0298134852, -0.0355601422, 0.0054239901, 0.0406532511, -0.098420307, -0.1054321751, 0.0448775515, -0.0181450248, -0.0541374236, -0.0216068868, -0.0472988598, -0.0421547145, 0.0403190553, -0.0630782694, 0.0603427067, -0.009089415, -0.0254710969, 0.0121578258, 0.0390019193, 0.0103256097, 0.0799589083, -0.0130347926, -0.0091837766, -0.0052464949, 0.0119970394, -0.0185743272, -0.0068282499, -0.0048983218, 0.0310622379, 0.0284518432, -0.0231478401, 0.0172673482, 0.0024037231, -0.0382202119, 0.0349059477, -0.0431545377, -0.0041379491, -0.0052060275, 0.043211069, 0.0176474638, 0.0180784054, 0.017882267, -0.0417273939, -0.0369074307, 0.0331621394, -0.0136115402, -0.0065144901, 0.0522222407, -0.0081761824, -0.0216588061, -0.0139227575, -0.0295260232, -0.0500513241, 0.0943145901, 0.0278290119, -0.0396596715, 0.01050427, 0.0355445594, -0.0397919565, 0.0300384928, -0.0171010885, 0.0071528815, -0.0050654942, -0.0146699073, 0.0010374594, 0.0120905424, -0.0468643233, 0.0797467306, 0.0261328164, -0.042384617, -0.0089551769, -0.0133347288, -0.0248097926, 0.0400911048, -0.0412339494, -0.0249439813, -0.0632545501, 0.0383242555, 0.0097027104, 0.0107075479, -0.0156088434, -0.0176183674, -0.0073298602, 0.013123937, -0.0084715607, -0.0028120836, 0.0005013669, -0.0151316868, -0.0765415058, 0.0236748196, 0.0895430371, 0.0049630087, -0.0309357233, -0.0032045934, -0.0117243053, -0.0587701164, 0.0860492662, 0.0461140536, 0.0179451164, 0.0065392591, -0.0627045631, -0.0199125167, 0.0001184098, 0.0313400738, -0.0143426796, 0.0217839163, -0.0141723482, 0.0181873534, -0.012225071, 0.0138405878, -0.0247111153, 0.0022940997, -0.0364376456, 0.0266112834, -0.0059432681, -0.0010715942, 0.0353165232, -0.0033941814, -0.0316179208, 0.0014181598, -0.0116302781, -0.0103142699, -0.0364897698, 0.0469995849, 0.0434215441, 0.0100386441, 0.0068809744, -0.0038348096, 0.0487095378, 0.041252818, -0.0237088874, -0.01588553, -0.0425598957, 0.0406621844, -0.0073260581, -0.0255956501, -0.024217099, -0.0266308356, 0.0289522, -0.0926490501, -0.0379510187, 0.0768675506, 0.013205383, -0.0308143552, 0.0168922842, 0.038275633, 0.0112108486, 0.0524044894, -0.0192906708, -0.1061795279, -0.0433854535, -0.0157379396, -0.0103404913, 0.0315398239, -0.0690177605, -0.0123880487, -0.0706498176, -0.0158751216, 0.0068882126, -0.0283394624, -0.0145573253, -0.0515934043, -0.0197040699, -0.0034512812, 0.0181732811, -0.0396292098, -0.0466492549, 0.0105856545, 0.0074810027, 0.0229127444, -0.0410462357, 0.0118209021, -0.0249373205, -0.0033879685, 0.0067769219, 0.045274999, 0.0078483885, 0.0170062762, 0.0463822931, 0.0215908755, 0.0040851347, -0.0281440932, 0.0540436246, -0.0160459895, 0.0086218966, -0.0440704301, -0.019791957, -0.0915538222, -0.020331176, -0.0489693582, 0.0734877512, -0.0016912385, -0.0353629328, 0.0237100702, -0.0097440863, -0.0217938833, 0.0180756655, 0.0539797023, 0.021477785, -0.0683786944, -0.0379541144, 0.0561731607, -0.0492202155, -0.0049782894, 0.0169183128, -0.0400401466, 0.0119394781, -0.0398382246, -0.0890582055, 0.0048840209, -0.0195628162, 0.0075264908, 0.0040347031, 0.0687635019, -0.0371133909, -0.0731543601, 0.0010695276, -0.0075558764, 0.0138682183, 0.0253990404, -0.0000492776, -0.0000265479, -0.0107437754, -0.0077354424, -0.0265800525, -0.0421588011, -0.056667462, -0.0174350627, -0.0247112345, 0.0063669481, 0.0610625222, -0.007397797, 0.0272590425, 0.0066581359, 0.0215315353, 0.0057665664, -0.0144268721, 0.0350935385, -0.000071782, -0.0098614059, 0.0212648008, -0.0461861789, 0.0258554984, 0.0170158483, 0.042799063, -0.0116362739, -0.0054936097, 0.0361609384, 0.048504699, 0.0437798314, 0.028023608, 0.0014025214, -0.0568782203, -0.00655354, -0.0614309646, -0.0158066284, -0.0202904288, -0.0110864937, 0.0274039265, -0.0049092444, -0.0336077027, -0.0313704647, 0.017104337, 0.0245294478, -0.0141233075, 0.010350626, 0.0360109694, -0.0274747629, -0.00370834, 0.0252478607, -0.0184759963, 0.0223979801, 0.0219787043, 0.0040895152, -0.0217471197, 0.0199562293, 0.0241398066, -0.0037353963, -0.0456740968, -0.008374718, -0.0708844736, 0.0336007252, 0.0214237813, -0.0143427327, 0.0856324509, -0.0125298789, 0.0560157672, 0.0068075107, 0.0164154302, -0.0038728986, 0.0787032023, -0.0177791212, -0.0460437909, 0.0264760572, 0.0330327526, -0.0052771843, -0.0000561934, 0.0544557683, 0.0046881987, 0.0419844352, 0.0517956726, -0.0651912838, -0.0334842317, -0.0245598089, -0.0126327816, 0.046788767, -0.0027988325, 0.0255329702, -0.0471865349, -0.1060903743, 0.0077949078, -0.0185661856, 0.0403017141, 0.0145851178, 0.0132570984, -0.0148898251, 0.0551882461, -0.0457790904, -0.0338335671, 0.0388086624, -0.029992342, -0.0153349759, -0.0218632799, -5.607925022e-33, -0.0316064507, -0.0481118076, -0.0032629294, 0.0135003859, -0.0722926185, 0.0490158759, -0.0702105239, -0.028371444, -0.0398260541, 0.03765117, 0.0048688222, 0.0164537486, -0.0006837611, 0.0176254828, -0.0191876311, -0.052888643, 0.0461553745, 0.0046280711, 0.0472508483, 0.0103321178, 0.0855460316, 0.0441239625, 0.0620465204, -0.0658454448, 0.0412703604, -0.0020489837, 0.0405643433, 0.0048676827, 0.0279367026, 0.0317423008, -0.0078856917, 0.0732892081, 0.043142654, 0.0454453453, -0.0048665665, -0.0048812176, -0.1558793187, -0.070307903, -0.0017399751, 0.0446509458, -0.0183824021, -0.0396936648, 0.0448496863, -0.0000940563, 0.0456780083, -0.0249331426, 0.0571944602, 0.0110643115, -0.040756762, -0.0237525068, -0.0443240702, 0.0229368508, 0.003124713, 0.0118324514, 0.0382288434, 0.0086028297, 0.0153658371, -0.0035546778, -0.0545981266, -0.0386102907, -0.0687999427, -0.0175123923, -0.0256135017, 0.049354516, 0.0340740755, 0.0472565144, 0.0197698865, -0.0346925482, -0.0126851015, 0.0212683678, 0.0137451608, 0.0332048759, -0.0407307893, 0.0118317883, 0.0361684449, -0.0118780304, -0.091781348, -0.0339318998, 0.035972409, 0.0451525412, -0.0307629947, 0.0077582556, -0.0148521392, -0.0639744774, 0.003272335, -0.0325687826, -0.0207654163, -0.0392264687, -0.0013789631, -0.0243465845, 0.0016163967, 0.0531153828, -0.0032578134, -0.0700332522, -0.0178652424, 0.0748691708, 0.0065665129, 0.018898489, 0.0092344815, 0.0078020543, -0.0414038375, -0.0357788764, -0.0162100475, -0.0311603639, 0.0411351435, 0.0057629789, 0.0828023255, -0.0134039847, 0.0100698387, -0.0061338111, -0.0622684397, -0.0343975164, -0.0289446805, -0.0070012906, 0.0499295071, 0.0511776954, -0.018174313, 0.0288497806, 0.0621383116, 0.0552772582, -0.043098297, 0.0549681894, -0.0046586618, 0.0585612059, -0.0141347256, -0.0199756641, -0.0014222298, 0.0383037813, 0.0461297184, -0.073151283, -0.0329170264, -0.0190869011, 2.508e-7, 0.069798708, 0.0483522676, 0.088508077, 0.067361027, 0.0069979252, 0.0200001188, -0.0122948326, 0.0551103316, -0.0186408572, -0.0004720287, 0.027410049, 0.042908363, -0.0409690849, 0.0445375703, -0.0290807504, 0.0431222953, -0.0647800192, -0.0316416547, -0.0059469286, 0.0542182177, 0.0835449547, 0.0347318947, 0.0229348373, -0.0015957106, -0.0311261117, -0.0353453755, 0.0541870706, -0.0221957564, 0.0329966024, -0.0083225286, -0.0209462363, -0.0188401006, -0.0132609149, 0.0308164582, 0.0096352501, 0.0301078726, 0.024126634, 0.0097107841, -0.0286362898, -0.003854729, -0.0202552285, -0.0216365326, 0.0120047675, -0.0151200322, 0.0663597956, -0.0524620339, -0.048225224, -0.012942099, -0.036046695, -0.002665143, 0.0080321627, 0.0369318575, 0.0012646826, 0.0117369555, 0.0299704969, -0.0310648493, 0.002684966, -0.0413064621, -0.0017282368, 0.0508448444, 0.031105306, 0.0021044284, 0.018811984, 0.0080038179, 0.0164112207, -0.0143275876, -0.0083666435, 2.014814077e-34, 0.0064486233, 0.0094986688, 0.0037167324, 0.0257373806, 0.02122478, -0.0588624068, -0.0212282129, 0.0141741764, 0.0196567904, -0.0795070305, -0.0242434721 ]
http://arxiv.org/abs/2310.09767v2
http://arxiv.org/pdf/2310.09767v2
VLIS: Unimodal Language Models Guide Multimodal Language Generation
2023-10-15T07:58:52
2023-12-19T13:01:50
Jiwan Chung, Youngjae Yu
cs.CL
cs.CL, cs.AI
Multimodal language generation, which leverages the synergy of language and vision, is a rapidly expanding field. However, existing vision-language models face challenges in tasks that require complex linguistic understanding. To address this issue, we introduce Visual-Language models as Importance Sampling weights (VLIS), a novel framework that combines the visual conditioning capability of vision-language models with the language understanding of unimodal text-only language models without further training. It extracts pointwise mutual information of each image and text from a visual-language model and uses the value as an importance sampling weight to adjust the token likelihood from a text-only model. VLIS improves vision-language models on diverse tasks, including commonsense understanding (WHOOPS, OK-VQA, and ScienceQA) and complex text generation (Concadia, Image Paragraph Captioning, and ROCStories). Our results suggest that VLIS represents a promising new direction for multimodal language generation.
[ 0.0293336026, 0.0521665849, 0.0075364402, 0.0184890926, -0.0227982886, 0.0111159971, 0.0184124094, -0.0022701598, -0.0010789459, -0.0927834734, -0.0323588848, -0.0448247045, 0.0296902657, 0.0515702777, 0.061473731, -0.1041696146, 0.0090524163, -0.0440212004, -0.0176649746, -0.0032689807, 0.02934351, 0.0291138217, -0.0079918718, 0.0463607535, -0.0393345729, -0.0198815428, 0.0067680534, 0.0361788049, 0.0132186739, -0.0212624799, -0.0322744735, 0.0476533398, 0.0484242216, -0.0260396022, 0.0000016491, -0.0253367871, 0.0316652805, -0.005440047, 0.0769854635, -0.0355010927, 0.0484032407, -0.0670784563, 0.0180394724, -0.0118304091, -0.030168755, -0.0132427681, 0.0961148292, 0.0139921978, 0.0466044061, 0.014745268, -0.0350891016, -0.0052083461, -0.0188686233, -0.0148182409, 0.0369837619, -0.0085911239, -0.0153875258, 0.0453164838, -0.0110382531, -0.0001934534, -0.0492840819, 0.0370575115, 0.0192241799, -0.0384714715, -0.0044277431, 0.0607395321, 0.0086696493, -0.025684841, -0.040992979, 0.0888315365, -0.0229043104, -0.0125385895, -0.0163757913, 0.0052107964, 0.0055214879, 0.0159571115, -0.0519759059, 0.0794057697, -0.0020961012, 0.0250279382, -0.0066344049, -0.0107586058, -0.0017163415, 0.0070576458, 0.0074385102, -0.0109333014, 0.0359688587, 0.0495717227, -0.0271960571, 0.0211836044, -0.0803856477, -0.0759719089, 0.0201906972, 0.027820548, 0.0005585256, -0.0040489151, -0.063475199, -0.0397467054, -0.0048941085, -0.0192690734, 0.0357000306, 0.0246701036, -0.0447319523, 0.0363713577, -0.014621431, 0.0367920212, 0.0233663283, 0.0293052644, -0.0208756812, -0.00465415, -0.0108594578, -0.0307956263, -0.0203311443, 0.0016230048, -0.0817176327, -0.0493569076, -0.015681643, 0.0174023248, 0.0011970911, -0.031353876, 0.0098064244, 0.0426218696, -0.047370296, -0.013965264, -0.0076816739, 0.0218629334, 0.0210683662, 0.0210328754, 0.0098196091, -0.0306585319, -0.0104475133, 0.0520579182, 0.0257255752, 0.0037482949, -0.0445758849, 0.0871878266, -0.0578372255, -0.0526879206, -0.0022546647, -0.0409300886, -0.0399495699, -0.0436633229, 0.0202005804, -0.0466696955, -0.0082259225, -0.0097112516, 0.0036440487, -0.0228357241, 0.0103043979, 0.0128997238, -0.0039809453, 0.0728399381, -0.0372733288, 0.0020577682, 0.0047046761, 0.0046747378, 0.0289920047, 0.0816425905, 0.0421089157, 0.052285783, 0.0110306926, 0.0224389005, 0.0063497974, 0.0353586823, -0.0212767851, 0.0066701244, -0.0638834089, -0.0489286259, -0.0111859376, 0.0144500583, 0.0683114082, 0.0620548576, -0.0472855568, 0.0158916991, 0.0889518037, 0.0087019429, -0.0078727612, -0.0128207412, 0.0755326897, -0.0032763053, -0.0243189652, 0.0100907749, -0.0486558564, 0.0715390369, 0.0081778271, 0.0182425138, 0.0219237059, 0.0363040082, -0.0232444536, -0.0303387567, 0.0107889911, -0.0151257245, -0.0074305981, -0.000055956, 0.048891291, 0.0477344245, -0.047967609, 0.0006332121, 0.0142407063, -0.0556194149, 0.0532479733, 0.0011391186, 0.0218748394, 0.0721979812, 0.034314774, 0.0184196681, 0.0219522361, 0.0163831171, 0.0200588237, 0.0931182131, -0.0005793005, -0.0074198958, 0.0391146876, -0.0630391389, -0.0372903198, -0.0011431319, 0.0097163124, 0.0210850928, -0.0503878593, 0.0169736184, 0.0065589333, -0.015922809, -0.0143484408, 0.0407279246, 0.0317079164, 0.0184267983, -0.0218224153, -0.0031689175, -0.018606402, -0.0206360742, -0.0235447399, 0.0203224812, -0.0237472616, -0.0556873009, 0.0053864745, 0.0545777939, -0.0496100299, -0.0771070346, 0.0131522715, -0.0636641905, 0.0138338134, -0.0170030035, -0.0094645694, -0.0368424132, 0.0371481255, -0.0340155587, 0.0113941319, -0.075420104, -0.0140083414, 0.0551035441, 0.0354088731, -0.0435246751, 0.046188809, -0.0463992693, -0.0242679752, 0.0128744245, 0.0015955027, -0.0097337952, -0.0290818159, -0.0044587716, -0.002740484, -0.0025838828, 0.0140083591, 0.0127072381, 0.0345451571, -0.00980841, -0.0118916063, -0.1172515377, -0.0397838801, -0.02194741, -0.0203960314, 0.0144368364, 0.014830579, 0.0058493023, -0.0246155765, -0.0382338949, 0.0269771554, 0.0166824982, 0.009510709, 0.0362963453, -0.0010614711, 0.0314226784, -0.0241180509, 0.000210867, 0.0193041246, 0.0809710547, 0.0535462275, -0.0210470092, -0.0489973761, 0.0127828987, -0.0382809266, 0.0013927602, -0.0034457431, -0.0292116683, 0.0307023171, -0.0096585089, 0.0669948533, 0.0310682431, 0.0314237997, 0.0112116393, 0.0312803872, -0.0268678404, -0.0275432151, -0.0108589958, -0.0065986002, 0.0055365767, 0.0158824231, -0.0459820852, -0.0063185114, 0.0581456274, 0.027710719, 0.0207075123, -0.0906168297, 0.0510971323, 0.0196863096, -0.0758078545, -0.024603039, 0.0135679832, -0.0019629456, 0.0238323491, -0.0432388671, -0.0755193383, 0.0287631601, -0.0491230711, -0.0190833621, 0.0043352647, 0.0453278944, 0.0003146536, 0.0679978281, 0.0456159525, 0.038633164, 0.0101559553, -0.0129172867, -0.0492936075, -0.0007776278, 0.0105260769, -0.0063056131, 0.0356708877, -0.0825071931, 0.0190788768, -0.0084396275, -0.0049669696, -0.0091758836, 0.0025460708, -0.020099625, -0.0026087461, -0.017786745, -0.0102267759, 0.0229152348, 0.0353668518, 0.0376218073, 0.0233330727, -0.0091500198, -0.0260559358, -0.0198387951, 0.0404211394, 0.0814051703, 0.0239543691, -0.0092054922, -0.0630808473, -0.0184259564, 0.0443425104, 0.0426900424, 0.0075664553, -0.046164304, 0.0372622348, 0.0329871811, 0.0307835639, -0.012651531, 0.0441972017, 0.0607651137, -0.0169632267, -0.0100032538, 0.0539319366, -0.0007294007, -0.0568345301, 0.0070580221, 0.0289550554, 0.0508830026, 0.0213544369, -0.0058085858, -0.0941334739, -0.0617224015, -0.006586785, -0.0147838779, 0.0145092858, -0.0341333449, -0.0474564694, -0.0491984561, 0.05706672, 0.0132306162, -0.044470869, -0.0334373228, 0.0289164744, -0.0124081066, 0.0120341973, -0.0324600711, 0.0093896575, -0.0273112562, 0.0348129645, 0.0247390717, 0.030633077, -0.027337715, -0.0250133425, -0.0358051993, -0.0030208365, 0.0527711958, 0.0076633906, 0.0162825417, -0.0285596382, 0.0208813176, 0.007517471, 0.0090959752, -0.0326554663, 0.051254455, -0.0184147023, -0.0396732837, 0.0082718711, 0.0529745296, -0.0222773235, -0.037365146, -0.0251143314, -0.0032524299, -0.0289320331, -0.0298023038, -0.0276395846, 0.0384454057, 0.0443765409, 0.0262533762, 0.0379633904, -0.0544967577, -0.0408898592, -0.018134268, 0.0188697036, -0.0886677951, -0.0062224199, -0.0297550429, 0.0144161256, -0.0255550556, -0.1166015938, 0.0012514825, 0.0315243341, 0.0772068724, -0.0096715475, 0.0030505273, 0.0026501536, 0.0049344455, -0.0438649766, 0.0502971821, -0.0202944893, 0.0001053594, -0.0353065506, -0.0152393626, 0.0003625427, -0.0547305793, -0.024314601, 0.0258348659, -0.0491567478, -0.0483326502, -0.0495986342, 0.1053923517, 0.0216023065, 0.0185649209, 0.0352152996, -0.0662152469, 0.0227389075, 0.0538809635, 0.0248479992, 0.0381039158, -0.0101567674, -0.0202790499, -0.0004135548, 0.0298215039, -0.0192455631, 0.0093212537, -0.0016718121, 0.0582008101, 0.0057726749, -0.0191145279, 0.0074032471, -0.0128349811, 0.000200034, -0.0722800195, 0.0386598147, -0.055902347, -0.0408448875, -0.0135748331, -0.0112148533, -0.119498238, 0.0428242572, 0.002597902, 0.0153167034, -0.0022010277, -0.0379228294, -0.0060282494, 0.0273037087, 0.0134091703, -0.0208780169, -0.0057886015, 0.0176841225, 0.0118048787, -0.0008506563, 0.0041732029, 0.0126817822, -0.0575580671, 0.0135697443, -0.0077297059, 0.0690794885, 0.0292013828, -0.0279939473, 0.0039581489, 0.036652565, 0.0018674352, 0.0029611252, -0.0392378047, 0.0313423052, 0.0679593682, 0.0203383677, 0.0527320206, -0.0353068709, 0.011650186, -0.0218054112, 0.076728493, 0.008617538, -0.0491962135, 0.0660734102, -0.0088251987, -0.0127000464, -0.0224056095, 0.1091249064, 0.013857075, 0.0071015535, -0.0205497611, 0.0065493202, -0.0262737274, -0.0385315605, 0.0312847905, 0.0224752221, -0.0094370535, 0.0425579287, -0.031357415, -0.0424029157, 0.0040574772, 0.0478503928, 0.0002591752, 0.0118687395, 0.0575932451, 0.0269001648, -0.0015073228, 0.0016261907, -0.0370834284, -0.0079207728, -0.0019448595, 0.0007616693, -0.0038219844, -5.523129635e-33, -0.0405273736, -0.0480909161, 0.023832636, 0.0055238735, -0.007932486, 0.0103137363, -0.0495086573, 0.0285999887, 0.034601599, 0.019666208, 0.0501623303, -0.0343082137, 0.0035778254, 0.0589729175, -0.0015634139, 0.026279822, 0.0065203765, 0.0032840497, -0.0124747735, 0.0310494266, 0.035038583, 0.0060804808, 0.0478107557, 0.001219385, -0.0076101036, 0.0167973842, -0.0271387808, 0.0074502951, 0.0168022383, 0.0466950387, -0.0370017663, 0.0095371446, 0.0280724671, 0.0268067345, -0.0447499119, 0.032991536, -0.0234661754, -0.0105911046, 0.0366846509, 0.0015859278, -0.1022463813, -0.0138017423, 0.0507765785, -0.0349564664, -0.0136132892, -0.0056898338, 0.0515860692, -0.0275847092, -0.0314633921, -0.0013221903, -0.0598289222, 0.0104924226, -0.0210927501, -0.0466039367, 0.0154204695, 0.0478585325, 0.0201731138, 0.0075011835, 0.0032883331, 0.0431166552, -0.0364345089, 0.0190214422, 0.0787714645, 0.0557451397, 0.0017020709, 0.0714431331, 0.0162225459, -0.0567104593, -0.01558886, 0.01592323, 0.0361344814, 0.0407677814, 0.0105315279, 0.0728057101, -0.0194016658, 0.0180738848, -0.0408170372, 0.0343255401, -0.0420128219, 0.0056871325, 0.0235614516, -0.010292978, 0.0170627758, -0.0007430914, -0.0365017392, -0.0405849554, -0.0369119793, -0.0002689128, 0.0338174365, 0.0303392652, -0.0163848456, 0.0211299956, 0.0842718184, -0.0079501895, -0.0190374963, -0.0160137936, -0.0266670827, 0.0617599189, -0.0141122974, -0.0078080418, -0.0353511535, -0.0282034427, 0.0730220601, 0.0138285933, -0.0016971446, 0.0299089663, 0.0185113829, 0.0112562487, -0.0220308434, -0.0066693341, -0.0362595841, 0.0138634602, -0.005029921, 0.0346881486, 0.0431845449, -0.0141187981, -0.0721515119, -0.0036655974, -0.0236334614, -0.025944164, -0.0166941639, -0.0348368324, -0.0174771175, 0.0462693572, -0.0495037325, 0.0111593241, -0.0335648768, -0.050458964, 0.01348837, -0.0412427038, -0.0310825482, 0.0640837103, 2.377e-7, 0.0363287926, 0.0110341553, -0.0094673876, -0.007555488, 0.0249960255, 0.0504801422, 0.0033329064, 0.0526352003, 0.0027486808, -0.0232684687, -0.0299824961, 0.0267605036, 0.0320989527, -0.0362684876, -0.0158265736, 0.0453482531, -0.0036871135, 0.003848826, -0.0265544541, -0.0286238249, 0.0579156466, 0.0288611986, -0.0471696742, -0.0370745584, 0.046193324, -0.0419535711, 0.1116911843, -0.0090444712, -0.0210770816, -0.0090253539, 0.0218269285, 0.0055902964, -0.0260901526, 0.0209963657, -0.0083277011, -0.0627692565, 0.0573203936, 0.0043717446, -0.0307412222, -0.0120250005, 0.0051252209, 0.0166279152, -0.0265083984, -0.0431125276, 0.0682011247, -0.0577937514, -0.0067581651, -0.0380986631, -0.014206158, 0.0092189126, -0.0103737134, -0.039419435, -0.0760272667, 0.0589459427, 0.0482169278, -0.0026908978, -0.0500542782, -0.0338535756, -0.0446289182, -0.0208686758, -0.034351185, -0.0003761206, -0.0791801363, -0.0362663344, 0.016554201, -0.0448936932, -0.0587553233, 1.828022056e-34, 0.0156997107, -0.0225966964, 0.0026601048, -0.0138601642, 0.0132747898, -0.0198458731, -0.0087427553, 0.0166783426, 0.0094401045, -0.0546351485, -0.0291287098 ]
http://arxiv.org/abs/2310.09765v1
http://arxiv.org/pdf/2310.09765v1
Improving Access to Justice for the Indian Population: A Benchmark for Evaluating Translation of Legal Text to Indian Languages
2023-10-15T07:49:56
2023-10-15T07:49:56
Sayan Mahapatra, Debtanu Datta, Shubham Soni, Adrijit Goswami, Saptarshi Ghosh
cs.CL
cs.CL, cs.AI
Most legal text in the Indian judiciary is written in complex English due to historical reasons. However, only about 10% of the Indian population is comfortable in reading English. Hence legal text needs to be made available in various Indian languages, possibly by translating the available legal text from English. Though there has been a lot of research on translation to and between Indian languages, to our knowledge, there has not been much prior work on such translation in the legal domain. In this work, we construct the first high-quality legal parallel corpus containing aligned text units in English and nine Indian languages, that includes several low-resource languages. We also benchmark the performance of a wide variety of Machine Translation (MT) systems over this corpus, including commercial MT systems, open-source MT systems and Large Language Models. Through a comprehensive survey by Law practitioners, we check how satisfied they are with the translations by some of these MT systems, and how well automatic MT evaluation metrics agree with the opinions of Law practitioners.
[ 0.0517772734, 0.0116805891, -0.0250236355, 0.0078204945, -0.1105054468, 0.0580705293, 0.0323019922, 0.0342584364, -0.0139710419, -0.0288605168, 0.0018090862, -0.0281207487, 0.0236401744, -0.028714506, -0.0283696055, -0.0274349861, 0.0301836133, 0.0270599257, 0.0373349749, 0.0162498616, 0.0393773802, 0.0572988093, -0.0203657523, 0.0219444931, -0.0045809341, -0.0036019839, 0.0049955016, 0.0187450107, 0.0034731692, -0.0032632998, -0.0317527056, 0.0419344716, 0.0076449555, 0.0488781035, 0.0000014681, -0.0640517399, 0.0002361565, 0.0069947168, 0.0207353365, 0.0123156561, 0.0348430276, -0.0707311705, -0.0191429406, 0.008832355, -0.0093714781, 0.0408198498, 0.0527642556, -0.0342197381, 0.0353070684, 0.1200783998, -0.0149359079, -0.0622178726, 0.0158570968, -0.0210891701, -0.036846783, -0.0298737213, -0.0263370704, 0.0434051305, 0.0167706478, -0.0103964182, 0.0365933031, 0.0124297198, -0.0075640734, -0.0569853522, -0.0358680934, -0.0632165745, -0.0290778466, -0.0165089443, 0.0653200597, 0.0450487621, 0.0248583388, -0.0426380187, 0.0081566041, -0.0031689054, 0.013479664, 0.0110933641, -0.0091736615, 0.0971997455, -0.0250519924, 0.0407014936, 0.0711355358, 0.0574524812, -0.0207198765, -0.0152381752, 0.0098206447, -0.0145356953, 0.0250371769, -0.023335686, -0.0050212569, 0.0244905204, 0.0045943544, 0.0076955343, 0.0616352297, -0.0182870552, -0.0113786682, 0.045941107, -0.0263220593, -0.1168983206, 0.0526163094, -0.0978108719, 0.0257103611, 0.0490275808, -0.0039885798, 0.0517185777, -0.0266056284, 0.0368675143, -0.0245793778, 0.0141830416, -0.0190742556, -0.0405136384, 0.0243709385, 0.039781142, -0.0061240848, 0.0011253681, -0.1317877769, 0.024795508, -0.0518040098, 0.0227179509, 0.0271414928, 0.0229644049, 0.0383693501, -0.0690815151, -0.0469587892, -0.0663437769, -0.0095648654, -0.0137500791, -0.0438200086, 0.0112282354, -0.0266167037, -0.0199391395, 0.004280305, 0.0222550537, -0.0315069854, -0.0231634583, -0.0495059565, 0.0796987414, -0.0359138958, -0.031975504, -0.0262553487, -0.0023695524, -0.0460752174, -0.0534329489, -0.0671956912, -0.0590078793, 0.0398938209, 0.0067084264, 0.01541143, -0.0296360459, 0.0262096263, 0.0449821725, 0.0032223668, 0.0531121492, -0.0068595256, -0.0007296944, 0.0093950443, 0.01967608, 0.0525000691, 0.0127529223, 0.0238356516, -0.0065860609, 0.0274941418, -0.0120054996, 0.0154008102, 0.0591481514, -0.0390763432, -0.0079346066, -0.0188226011, 0.0369788222, 0.0070379595, 0.0319458358, -0.0047901883, 0.0432517119, 0.0127888368, 0.0359625816, -0.0138546526, 0.0553344004, 0.022857191, 0.0730905235, -0.0232296865, -0.0178329702, 0.0261123478, -0.0090916259, -0.0239534043, 0.0160700716, 0.0248981416, -0.0067257816, -0.0052386974, 0.0122245215, 0.0249878988, -0.0217820294, 0.0007986912, -0.0198070072, -0.0238771904, -0.0483324975, 0.0397533476, 0.0072181011, -0.022780098, -0.0055123167, 0.0256295949, -0.0772330835, 0.0030469862, -0.0081191128, -0.0136231566, 0.0052883979, 0.038712658, -0.0120155336, 0.022668682, -0.0109362034, -0.0047163181, 0.0557430051, 0.0362454727, 0.0176240262, -0.0102059394, -0.0182095449, -0.0263747759, 0.0727903172, 0.0202737339, -0.0042687226, -0.0098363906, 0.0427318849, 0.0504090562, -0.0489767119, -0.0246734545, 0.0341024473, 0.0055170269, 0.00519539, 0.0206002165, -0.0011643595, 0.0551943704, 0.0088875154, -0.0121819237, -0.03105166, 0.0199516416, 0.0077026347, 0.0022472886, 0.0868612751, -0.0050432063, -0.0077028978, 0.0042017787, -0.0842791051, 0.0453549102, 0.0257014334, -0.0292377006, -0.0345982648, -0.0341295414, -0.0296791513, 0.0009654828, -0.0242290869, 0.0434082896, -0.0083903084, -0.0557442792, -0.0280554369, 0.0149389245, 0.0203290731, -0.0256956965, -0.0042783441, -0.0200885125, 0.0797976404, -0.0138575751, -0.0145554468, -0.018603649, 0.002903803, 0.0023287311, 0.0456734151, 0.0126845073, -0.0560510308, -0.0466577448, -0.0509421118, 0.0030416972, -0.0061384044, 0.0218699109, 0.0217481628, 0.0421106257, 0.0027336306, 0.0022674715, 0.0039015752, 0.0065292949, 0.0410506763, -0.0399247818, 0.0156867635, -0.0294530783, 0.0221293401, 0.0009671244, -0.0189617928, 0.0092594652, 0.0152407885, 0.0234978106, -0.0400876664, -0.0271587707, 0.0494107977, 0.0161387566, -0.0210581739, -0.0249271393, -0.0395680442, -0.0239821915, -0.006832574, -0.0357007086, 0.0018226599, 0.0471502952, -0.0176310148, -0.0158789717, 0.0159997232, -0.0208000746, -0.0319044851, 0.0142407203, -0.0235825945, 0.0016005015, -0.0180934891, 0.0331989862, -0.0117682405, -0.0062724133, 0.0245983824, -0.0378164276, -0.0622303523, -0.0521898419, 0.0285522826, -0.0091203144, 0.0330056697, -0.0342855714, 0.0842368975, 0.0161834285, -0.0670594648, 0.0322057232, 0.0067019928, 0.0687062815, -0.0736952126, 0.008360872, -0.0638810992, 0.0493967757, -0.0447700918, 0.0202157144, -0.0759676099, -0.0473148674, 0.0313195586, 0.0348830707, 0.0540117286, -0.0325777233, 0.0387290418, -0.0629730448, 0.0538925081, -0.0547793284, -0.0270926356, -0.0029695921, -0.0576916188, 0.0363972075, -0.0079051042, 0.0426762663, 0.0135888541, -0.0154365292, 0.0506793484, -0.0279007554, -0.0012693949, 0.0058720899, 0.0095347082, -0.0205587074, 0.0149096362, -0.0030843371, -0.0322526731, -0.0047818436, -0.0098856771, -0.0088084778, -0.0164922569, 0.0120515674, -0.0298366621, 0.0484310053, -0.0232587233, 0.0134761976, -0.0629370064, -0.0185171235, 0.0042752763, 0.0239340551, 0.041701287, 0.0110564437, 0.0897376165, 0.0273576193, -0.0492513254, -0.0476405099, -0.040154621, -0.0155698461, 0.0160562806, 0.0166068189, -0.1267337501, 0.030222388, 0.0314101204, 0.0007422966, -0.0159594398, 0.0024184815, -0.0196008775, -0.0684148818, 0.0069019361, 0.0421627946, -0.0082581658, -0.0476060696, 0.0102768503, -0.0382528268, -0.011491091, 0.0236298945, 0.0332943164, -0.0200733915, -0.0143702552, 0.0156249627, 0.0104845576, 0.0323936231, -0.0244640615, -0.0691194534, 0.0544704348, 0.0239771623, -0.0097909775, -0.0357641801, -0.0118631395, -0.0218304824, -0.0321956575, -0.032228779, 0.014699039, -0.0231484398, 0.0150171071, -0.0001987986, -0.0382475294, 0.0145931169, 0.0052812295, -0.0119395778, 0.0661766678, 0.0245641004, -0.0357472561, 0.0242812391, -0.0017109783, -0.0362168066, -0.0097586811, 0.026543403, -0.0234850347, 0.0048689228, 0.0007149859, -0.0247473959, -0.0532050952, -0.0455603376, 0.0101124384, -0.0078613777, -0.0487502068, -0.0432105474, -0.0154276919, -0.0211454649, -0.0088573815, 0.0645758808, 0.0621210225, 0.0253073312, 0.0260955896, -0.0254670735, -0.0284888241, -0.0142918546, -0.0746948421, 0.0258487798, -0.0545241572, 0.0588480905, -0.0133956317, 0.024174165, -0.0212335624, -0.0140270619, 0.0213070959, -0.0396019444, -0.0122586777, 0.0190187655, 0.021154847, -0.0471846759, -0.0740642846, -0.0508470349, 0.0186794717, -0.0134688299, -0.0347972065, -0.0283340588, 0.0059475028, -0.0246201698, -0.030253971, 0.007518474, -0.0120150726, -0.0025163894, -0.0115835033, 0.0056140344, 0.0138022909, -0.0303244945, 0.0482706539, 0.0512938611, -0.0028989117, -0.0252421293, -0.0358267985, 0.0005784943, -0.0056750905, -0.0334428698, -0.0007848626, -0.0107528651, -0.0220328532, 0.079065375, -0.0015960155, -0.0142057352, 0.0506878011, -0.0139488941, -0.010580143, -0.0397658236, 0.053672988, 0.0057239081, 0.0605120435, 0.0105472635, -0.0095468909, 0.0113318302, 0.0051222173, -0.0537901446, 0.0293141231, -0.0468406565, 0.0319037661, -0.0040503214, 0.024035329, 0.056640204, 0.0457184017, 0.0468053855, 0.0403831266, -0.0084998654, 0.0450866334, 0.079873763, 0.0077686254, 0.0701212958, -0.0051895534, 0.008769596, -0.0199754778, 0.046713423, -0.0077081998, 0.01288589, 0.009934959, -0.0092166457, -0.0138136344, 0.0311416183, 0.0170830954, -0.0547691546, -0.0401994996, 0.0280470848, -0.0230327286, -0.0124936486, -0.0209337361, -0.0482968837, 0.0062590642, 0.0043687294, -0.0797997564, -0.0541317873, -0.0021967893, -0.0310916528, 0.0461492874, 0.0255227033, -0.0035909209, -0.0008014038, 0.0428606197, 0.0215048213, -0.0152714327, -0.0460597165, 0.0438431166, -0.0386731029, -0.0201338269, -0.0059645739, -4.355768603e-33, -0.0386936404, -0.0265713334, -0.0170402788, -0.0078088217, -0.0159175321, -0.0486211032, -0.0046381424, -0.0128381616, 0.0130830985, 0.0232566819, -0.0432630628, 0.0227711741, 0.0260345824, -0.0344509073, 0.0225478057, 0.0232333876, 0.0008396114, 0.036930494, -0.0331568234, 0.0038264103, 0.0181828421, -0.027731318, 0.048470173, -0.0600184947, 0.0587541685, -0.0203992389, -0.0385845788, -0.0065173749, -0.0510789379, 0.0123895817, -0.0049211667, 0.0083894599, 0.0154428426, -0.0208868887, 0.0159426257, 0.0534177609, -0.0926956609, 0.0856121331, 0.034005098, 0.0478298925, 0.0164144915, -0.0305377487, 0.0303082764, -0.0193563979, -0.0681839138, 0.0386146307, 0.0036823002, -0.0169235896, -0.0249036029, -0.0482304208, -0.0758861229, 0.0477983505, -0.0206487682, 0.0319892727, 0.026476752, 0.0290920157, 0.0046938448, 0.000864961, -0.0536330827, -0.0094355457, -0.0438580811, 0.0243438054, 0.0380972512, -0.0668815151, -0.0581129156, -0.0205851421, -0.0230800714, -0.0277933311, 0.011212931, 0.0279831495, 0.0031388961, 0.0202431623, 0.0486138165, 0.0629690886, 0.0486640967, -0.0733091533, -0.0476387776, 0.0594492033, 0.016199071, 0.0410350449, 0.0278413575, -0.0126553047, -0.0470541939, -0.0175638497, -0.0185989197, -0.0387088545, -0.0107012484, -0.0105010634, 0.035037417, -0.0154538956, 0.0584663898, -0.0239873938, 0.0363460593, -0.020112304, 0.039451763, 0.000201393, -0.0268099159, 0.0269523729, -0.0343732014, 0.0509464219, -0.0317901261, -0.0679960027, 0.0118229743, 0.0253369119, -0.0037126376, -0.0460117199, 0.0284527205, -0.065417476, -0.0714567453, -0.0096819252, -0.0040200371, 0.0514336638, 0.0221748725, 0.0376071297, 0.0103757381, 0.0160617102, 0.0203704853, -0.0218378436, 0.0450794287, -0.0338720456, -0.0022860214, 0.0005253907, 0.0356682725, -0.0311728939, 0.0007952038, 0.0608644895, 0.0087646088, 0.0583962649, 0.0375572667, -0.003443301, 0.0108065316, 0.0527691841, 2.168e-7, 0.0641744658, 0.0592178032, 0.012889728, -0.0216320138, -0.0610717386, 0.0189019069, -0.0095503666, 0.0443244539, 0.0014970326, 0.0255501363, 0.0180499554, -0.0261110608, 0.0993123204, 0.0352860019, -0.056517601, -0.0352665558, -0.0549573116, -0.0073201144, -0.050509356, 0.0665646791, 0.0030534382, 0.0499410033, 0.0413887873, 0.0051929103, -0.0211539753, -0.0156069277, 0.0381530412, -0.0200280529, -0.0507511571, -0.0218117088, 0.0580729879, -0.0431030616, -0.0465323105, 0.0269684177, 0.0022389907, 0.0296292882, -0.0024621235, 0.0773563832, 0.0044080983, 0.0860696808, -0.0125857936, -0.0397073291, 0.0108216424, -0.0089890445, 0.0401730351, 0.0567683168, -0.0216833856, -0.0201061666, -0.0280454457, -0.0048777168, 0.0388643779, 0.0301522203, -0.0116182538, -0.0357470736, 0.0598694272, -0.0315738618, -0.0069150808, -0.055282589, -0.0107046161, 0.0071811127, 0.0153890336, -0.0064268908, -0.0128527703, 0.0437493883, 0.0594976507, -0.0619790629, 0.0198934339, 1.378434382e-34, 0.0666718557, -0.0408334732, 0.0326080061, 0.0027036506, 0.0426525846, 0.0268092416, -0.0129766222, -0.0142342281, -0.0198056679, -0.0714263394, 0.0329948328 ]
http://arxiv.org/abs/2310.09762v1
http://arxiv.org/pdf/2310.09762v1
Diversifying the Mixture-of-Experts Representation for Language Models with Orthogonal Optimizer
2023-10-15T07:20:28
2023-10-15T07:20:28
Boan Liu, Liang Ding, Li Shen, Keqin Peng, Yu Cao, Dazhao Cheng, Dacheng Tao
cs.CL
cs.CL, cs.AI
The Mixture of Experts (MoE) has emerged as a highly successful technique in deep learning, based on the principle of divide-and-conquer to maximize model capacity without significant additional computational cost. Even in the era of large-scale language models (LLMs), MoE continues to play a crucial role, as some researchers have indicated that GPT-4 adopts the MoE structure to ensure diverse inference results. However, MoE is susceptible to performance degeneracy, particularly evident in the issues of imbalance and homogeneous representation among experts. While previous studies have extensively addressed the problem of imbalance, the challenge of homogeneous representation remains unresolved. In this study, we shed light on the homogeneous representation problem, wherein experts in the MoE fail to specialize and lack diversity, leading to frustratingly high similarities in their representations (up to 99% in a well-performed MoE model). This problem restricts the expressive power of the MoE and, we argue, contradicts its original intention. To tackle this issue, we propose a straightforward yet highly effective solution: OMoE, an orthogonal expert optimizer. Additionally, we introduce an alternating training strategy that encourages each expert to update in a direction orthogonal to the subspace spanned by other experts. Our algorithm facilitates MoE training in two key ways: firstly, it explicitly enhances representation diversity, and secondly, it implicitly fosters interaction between experts during orthogonal weights computation. Through extensive experiments, we demonstrate that our proposed optimization algorithm significantly improves the performance of fine-tuning the MoE model on the GLUE benchmark, SuperGLUE benchmark, question-answering task, and name entity recognition tasks.
[ 0.0511535928, 0.0980696529, 0.0182129573, 0.0368819945, -0.0055517266, -0.0167920738, 0.0303808227, -0.016075341, 0.0074156476, -0.0259187575, -0.0507785641, -0.0499206707, 0.0006206672, -0.0339442305, 0.0067093195, -0.0609770156, 0.0112006525, -0.0105766505, 0.0009642456, -0.0468678139, -0.0071781864, 0.0168987811, -0.0126619879, 0.0346982926, 0.0135365659, -0.0094054583, 0.0222182199, -0.0011374247, 0.0105559006, 0.0471676886, 0.0160853378, 0.0798742101, 0.0482940227, 0.0667024553, 0.0000020757, -0.0119847124, -0.0207524169, 0.0062502087, -0.0091839954, 0.0255742297, 0.0045795254, -0.0063200588, 0.0058594444, -0.0012663421, -0.0297264531, -0.036201857, 0.0506191961, 0.0526945442, 0.0223243199, 0.0880298465, -0.00556341, -0.0131705366, 0.0533172525, -0.0402421281, 0.0003629086, -0.0317543484, 0.0080392687, 0.0088052936, -0.0317987539, 0.0133441258, -0.0104981614, 0.0262488555, 0.0337302759, 0.0650005415, 0.0488902777, 0.0563473888, 0.0020127287, 0.0168117657, -0.0161662344, 0.0941547826, -0.0658266395, 0.0163001288, -0.0210544262, -0.0113700554, 0.0214445833, 0.0139710028, -0.0339358449, 0.0148480544, 0.001771305, 0.0260382146, 0.0141230794, 0.02606369, 0.0540565737, 0.0321304239, -0.0796115622, 0.0310261268, 0.0271854606, -0.0126613174, 0.0132138431, -0.0037475505, -0.0848071054, 0.0022971856, 0.0104430616, 0.0038578629, -0.0221822374, 0.0085547557, -0.0084957425, -0.0265815463, -0.0017076067, -0.0135672037, 0.0326926634, 0.0393806174, -0.0200185683, 0.0494325757, -0.0087508187, 0.0210616868, -0.0300861765, 0.0020083056, -0.0221819691, -0.023630837, -0.079647623, -0.0474845208, 0.0024994253, 0.0268842988, -0.0194253828, -0.0165342968, -0.0170413721, 0.0009611782, -0.0485326722, -0.0374259315, 0.0181696378, 0.0594241843, -0.0159255397, -0.0367132761, -0.033686921, 0.0808647275, -0.0311590489, 0.0284859389, -0.0189210661, -0.0679803565, -0.0154055152, 0.0355277508, -0.0347442552, -0.0323516987, 0.0309634879, 0.0452412292, -0.048642572, -0.038752947, 0.0221926775, -0.0129429884, -0.0300447587, -0.0820647553, 0.0036176511, -0.0850484073, 0.0617558248, 0.0008279086, 0.0178778544, -0.1044860855, -0.0009575071, -0.0296592861, -0.0510791913, 0.0361022986, -0.0448080711, -0.0172325596, 0.0238328408, 0.0232153703, -0.0063642096, 0.0628820136, 0.0129065616, -0.0050335438, 0.0031654572, 0.0187980328, 0.0032765986, 0.0162558705, -0.0028290071, -0.0016322843, 0.0130618811, -0.0020933715, -0.0272934306, 0.0380266085, 0.0517942682, 0.0494074672, -0.0406967029, -0.0390050635, 0.0299643259, 0.0274221767, -0.0146396235, 0.0774114877, 0.0000837458, -0.0052762297, -0.0075400462, 0.0384877287, -0.0186076816, 0.0194582064, -0.0107313106, -0.0181592833, 0.045519501, 0.0497548692, -0.0458869077, -0.0064247698, 0.0114090303, 0.0001469491, -0.0636870936, 0.0355571881, 0.0380961187, -0.0468388572, -0.0172815118, 0.0786915943, 0.0402226038, -0.0368307345, 0.0070479889, -0.0325287469, -0.0051827347, 0.0537241995, -0.003720934, -0.0377154313, -0.01799969, -0.016760068, -0.0135148512, -0.0083635794, 0.058810249, 0.0161840413, 0.0449484289, -0.06846378, -0.0423930697, -0.004346299, 0.0391992778, 0.0760884732, 0.0291283634, -0.0006100566, 0.0451421067, -0.0344579518, -0.0102707725, 0.0216090009, -0.0424143039, -0.0192151181, 0.0508994907, 0.0084904516, 0.0074154972, 0.0306074843, -0.0356574282, -0.0142507246, 0.0013044786, -0.0357244797, -0.0554337017, -0.0350714587, -0.0649908185, -0.0013337154, 0.0579821952, -0.0670581609, -0.0171925873, 0.0150198918, -0.0192869995, -0.0562284216, 0.0487771221, -0.0198165439, 0.0056388075, -0.0487189852, -0.0486215129, 0.0068228124, 0.0374417417, -0.0359665379, 0.0887014493, -0.0284172576, -0.0172051154, 0.0315813906, 0.0176467784, 0.0367449932, -0.0446016155, -0.018593505, -0.0155635709, 0.035670381, 0.0501523688, 0.013451335, -0.0080573652, -0.0162676889, -0.0967953578, -0.1232308298, 0.012856761, -0.0549609698, -0.0049590589, 0.0056295427, 0.0200603958, -0.0006744956, 0.0118666422, -0.0318227634, -0.0437664129, -0.0202176906, -0.0048850309, -0.021127902, -0.0014451665, 0.0047948449, 0.0032999378, -0.0446444228, -0.020067269, 0.0470114313, -0.037778452, 0.0061647901, -0.0203951988, -0.0429031998, -0.052151747, 0.029076403, -0.0199462269, 0.0167175177, -0.0157708284, -0.036765445, 0.0887159929, 0.052587714, -0.0084048007, 0.0320381671, 0.0592264645, 0.0094569623, -0.033281859, 0.0173261911, -0.0105016781, 0.028236175, -0.0161059946, -0.0230968352, -0.0247665141, 0.0172382481, 0.0211318098, -0.0325482972, -0.0562112853, -0.0144494409, 0.0117088957, -0.0376617685, -0.0162632149, 0.0252444241, -0.0094968341, -0.0077806707, -0.0298792683, -0.0168518852, 0.0654146224, 0.0093704239, -0.0060775797, -0.053214021, -0.0348768942, -0.0605628155, 0.0145054869, -0.0253061354, 0.0162476432, -0.0318764113, -0.0089512775, -0.0561873689, -0.002587599, 0.0016922575, -0.0174522884, 0.0285896584, -0.0194286834, 0.0136492075, 0.0038998486, -0.0339425206, -0.0119015733, -0.0519836843, -0.0336587913, 0.0538617484, 0.0328495316, -0.0341902114, -0.0569328256, 0.0115488423, 0.0057299803, 0.0274269488, -0.043278046, 0.0327849947, -0.0114085106, 0.0341379307, 0.0186696816, 0.0368833095, 0.0171303991, -0.043648228, -0.0007298519, 0.0203672331, 0.0336731225, -0.0246035568, -0.0398524776, 0.0362539776, 0.0193811562, 0.003584893, -0.0459448323, -0.0089567956, 0.0262089744, -0.0226093624, 0.034217719, 0.0974774435, 0.0130579555, -0.0831018612, -0.0109587749, 0.0060425089, 0.0632834882, 0.0258652698, 0.0178789813, -0.040979661, -0.041530814, -0.0253701378, 0.0150912795, 0.0358340628, -0.024784077, 0.0007453747, -0.066891253, 0.0113353562, 0.0105689159, -0.0753005445, -0.045944076, -0.0278565623, -0.0133065404, -0.0435319096, 0.056779936, -0.0070576132, -0.0031810973, -0.0134850945, 0.0353075787, -0.0183225088, -0.0665613934, 0.0209550858, -0.058839906, 0.042927973, 0.0588971637, -0.0192708634, -0.0328429341, -0.0283164233, -0.0103347665, -0.0097746924, 0.0000980807, -0.0029551848, 0.0459154733, -0.0275223106, -0.016392475, 0.0014485171, 0.0255056657, -0.0151191903, 0.0285067186, -0.0064540864, 0.0766341612, 0.0088513494, -0.0229380969, -0.0061478238, -0.0244612303, 0.0016879662, 0.0721731558, 0.0003469114, -0.013962633, -0.0350548476, -0.0118946899, 0.0152323265, -0.0168963205, 0.0041058213, 0.0431456752, 0.0510355867, -0.0681736469, 0.0196782835, -0.0019621055, 0.0354052968, 0.0399011374, -0.0073112054, 0.0230867639, -0.0369899943, 0.030717466, -0.0249678008, 0.0459513031, -0.0261253249, -0.0087107765, -0.0277918708, -0.0215945281, 0.0246563591, -0.0212792661, -0.0130799962, 0.0006943811, -0.0781729668, -0.0685514286, -0.0172352046, 0.0521118343, 0.0145153468, 0.0036310172, 0.0204275176, -0.1035978422, 0.0572200194, 0.0394109488, -0.0248955451, 0.0118073765, 0.0410280153, -0.0615872256, 0.0007704502, 0.038267646, -0.0183454566, 0.0035674013, 0.0340918303, 0.0123902624, -0.0364619866, -0.0063289432, -0.0082056588, -0.0258092433, 0.0063667009, -0.0068183239, 0.0165661406, -0.0383650921, 0.0050444813, 0.024494512, -0.0014143838, -0.016801836, 0.0163734537, 0.0567619875, -0.006977356, 0.0200308096, 0.0398865156, 0.0299379863, 0.0300174858, -0.0272520743, 0.0174468569, -0.0108440667, -0.0305418484, 0.0036220623, 0.0256762113, -0.0293739643, 0.0375747867, -0.0000336419, 0.0053794463, -0.0156212039, -0.0137359621, 0.0123504978, 0.004097465, -0.0518334247, -0.0046820096, -0.1188674495, -0.0642680302, -0.0050476454, 0.042176079, 0.087843582, -0.0021515279, 0.0327272303, -0.0175035484, -0.0165536217, -0.0344938003, -0.0157086682, -0.023627203, 0.0402631126, 0.0214540716, 0.0249245223, 0.0047022668, 0.0097483061, 0.1076560244, 0.0196711291, 0.0178134236, 0.0037088634, 0.0047936784, -0.0532152764, -0.0210627783, 0.0518363416, 0.090004079, -0.035069976, 0.0342480205, -0.0209144987, -0.0333179608, -0.0205729082, -0.0312382076, 0.0013260186, 0.0077054971, 0.0398327038, 0.0600934587, -0.0440052152, -0.0040249135, 0.005550792, -0.0146869253, 0.019746514, -0.0214486048, 0.0021147889, -6.991284978e-33, 0.0181171745, 0.0106784245, -0.0075748684, -0.0691957995, -0.0124311019, -0.0031326842, 0.0063505303, 0.0379893333, -0.0514424816, 0.0055467207, -0.0281368122, 0.0237871166, -0.0012478136, 0.0360078849, 0.0066319271, 0.0055169212, 0.0561902002, 0.0106432736, 0.0042936145, 0.02326384, -0.0001722066, 0.0361821018, 0.0783186704, -0.0518923327, -0.0050264406, 0.0006497976, 0.0040510781, 0.0110261589, -0.0227290653, 0.0511457399, -0.034162648, 0.0836515203, 0.0297954213, -0.029272709, -0.0086573903, -0.0453925952, -0.0568410233, -0.0519257858, 0.0064458498, -0.0186436456, -0.0325618684, -0.0269420072, 0.0454447791, 0.0343397669, 0.0154258739, -0.0613997839, 0.0553987212, -0.0001431226, -0.025825642, 0.0308938771, -0.002527545, 0.0448838584, -0.0217032041, 0.0237338077, 0.0374002308, -0.0087165106, 0.0046037473, -0.0224017762, -0.0229185894, -0.0164065249, 0.0264490545, 0.0414736569, 0.0141786393, 0.0305560343, -0.0217158981, 0.0337465666, 0.0367841274, 0.0070906826, -0.0443015769, -0.0503589883, 0.0424520075, 0.0229138117, 0.0382063612, 0.0139967101, 0.0503335111, 0.0133046759, -0.0680936426, -0.0171765555, 0.0400173776, -0.0089827534, 0.0562328026, 0.0013154398, -0.0323453322, -0.0210411381, -0.0203454569, -0.0567996651, -0.0420415588, -0.035836719, -0.0070815175, 0.0303087104, -0.0392892696, 0.024246376, 0.0333833396, -0.0660285503, -0.0155586097, 0.0323681682, -0.0123769408, -0.005785584, 0.0246513616, 0.0277851168, -0.0731952786, -0.0368623249, 0.0214901157, 0.0082753571, -0.0169770531, 0.0031400819, 0.0297204331, -0.0100576431, -0.0557495356, -0.0298637822, -0.0066671614, 0.0017303342, 0.0109846862, 0.075899139, 0.014281041, 0.0294586495, 0.0019349024, 0.0289502665, 0.0407130979, 0.010372078, -0.0170642566, -0.0252183471, 0.0028469791, 0.0015996486, -0.0015770764, 0.02735411, -0.0098416209, -0.0482855327, 0.0200220216, -0.0339974985, -0.0402886495, -0.0267627034, 2.688e-7, 0.0450291336, 0.0176458154, 0.0192237031, -0.0105296914, -0.0065413276, 0.0123662939, 0.0056282119, 0.0397322625, -0.013452271, -0.0406101868, 0.0389896408, 0.0720487386, 0.0295370109, 0.0180852469, -0.0884893686, 0.0146951526, -0.0539489761, 0.0335063972, -0.0453635789, -0.0123140952, 0.0609736107, 0.1347483993, 0.0376442745, -0.0494321585, 0.0117377797, 0.0154049601, 0.070170559, -0.0149821891, 0.0362764224, 0.0302698519, 0.0771175623, 0.0345397368, -0.0142687121, 0.0522265956, 0.0287463292, 0.0596035384, 0.0070928731, 0.0488858931, -0.0362428054, -0.0233285315, 0.0194866937, 0.012821652, 0.0018277821, -0.0594779216, 0.0742403269, 0.006062008, -0.0126254978, -0.0504241548, -0.0144724455, 0.0009341011, 0.0616044179, -0.0290778913, -0.0291085877, 0.0385255143, 0.0040128534, -0.0200110804, -0.0257239491, -0.0826081187, 0.0134600764, -0.0020374088, -0.0811134428, -0.0412080586, 0.0053964723, -0.0019025671, 0.0619664975, -0.0209173299, 0.0278857406, 2.620567898e-34, 0.0463576652, 0.0304602124, 0.0001867187, 0.0492824689, 0.0254401248, -0.0314881392, -0.0383088812, -0.0211441778, 0.0187808983, -0.0643606335, -0.0362132266 ]
http://arxiv.org/abs/2310.09753v2
http://arxiv.org/pdf/2310.09753v2
When can transformers reason with abstract symbols?
2023-10-15T06:45:38
2024-04-16T17:53:37
Enric Boix-Adsera, Omid Saremi, Emmanuel Abbe, Samy Bengio, Etai Littwin, Joshua Susskind
cs.CL
cs.CL, cs.AI, cs.LG
We investigate the capabilities of transformer models on relational reasoning tasks. In these tasks, models are trained on a set of strings encoding abstract relations, and are then tested out-of-distribution on data that contains symbols that did not appear in the training dataset. We prove that for any relational reasoning task in a large family of tasks, transformers learn the abstract relations and generalize to the test set when trained by gradient descent on sufficiently large quantities of training data. This is in contrast to classical fully-connected networks, which we prove fail to learn to reason. Our results inspire modifications of the transformer architecture that add only two trainable parameters per head, and that we empirically demonstrate improve data efficiency for learning to reason.
[ 0.0229779407, 0.0869346187, 0.0052860612, 0.0550515205, 0.019744534, 0.0328341164, 0.023847051, -0.0022630761, -0.0347776785, -0.0146299312, -0.0139345024, -0.0325174667, 0.0028433905, -0.0172327328, 0.011109801, -0.0595267117, 0.0257253647, 0.0095601967, -0.0299243163, 0.02137197, -0.0429354161, 0.0238620732, -0.0275617745, 0.0226005819, -0.0578073636, -0.0061318087, -0.0120582487, -0.0162932277, 0.0403523073, 0.0103088561, -0.0172188785, 0.001911366, 0.0274578929, 0.0186872315, 0.0000019076, -0.0169297419, -0.0281222705, 0.0012633629, -0.0518311374, -0.0734048411, -0.031165963, -0.0176225584, -0.0116962101, 0.0196790639, -0.0485000163, -0.0317455567, 0.0682470351, 0.1057922319, 0.0538838282, 0.0666921288, -0.0268920343, -0.0395605974, 0.0261814911, -0.0440040752, 0.0294528715, 0.0169845857, -0.0055593285, 0.0061419159, -0.0374297947, -0.0118906144, -0.0164385289, 0.0095088053, 0.0839591101, 0.0027362665, -0.0117679257, 0.0667497814, -0.0484693795, -0.0429329872, 0.037843585, 0.0622308813, -0.019955419, -0.0210315436, 0.001988969, 0.010694054, 0.0044173258, -0.0030820095, 0.0040783109, 0.0358799398, -0.0206526127, 0.0152359297, -0.0252140742, -0.001179599, 0.0569213592, 0.0045408318, -0.0934017375, 0.0687964037, -0.0114402901, 0.0045096865, 0.0262622871, 0.0049549825, -0.0577326231, -0.048324585, -0.0095773414, 0.0741384476, -0.0304390918, 0.036162328, -0.0107919844, 0.0055286512, -0.0306082964, -0.0033992329, -0.0028446226, 0.0512391403, 0.0347823091, 0.031341549, -0.0558742546, 0.0579638481, -0.0672705621, 0.064620018, -0.0110951923, -0.0431917608, -0.0581754632, -0.0384429209, -0.0512755923, 0.0520397574, -0.0203751624, -0.0126706911, -0.0091647962, 0.0320592262, -0.0089462725, 0.0374229625, 0.0012058013, 0.0194045007, -0.0418489352, -0.0321656875, -0.05894804, 0.019056689, -0.0249784738, 0.0061002225, 0.0302632283, -0.0156268105, -0.0204169862, -0.0410538875, 0.0241554417, -0.0255117007, 0.0182096846, 0.1122188419, -0.0268489234, -0.0342409201, -0.0221302062, -0.0323611051, 0.0326629654, -0.0657628179, 0.0290830564, -0.0321572199, 0.0248939749, 0.022276232, -0.008295483, -0.0372028425, 0.035263747, 0.0195569526, -0.0365835726, 0.088596113, 0.0160560813, -0.0112105478, -0.0120348111, 0.0182242114, -0.0183908194, 0.0269436035, 0.0232736953, 0.0135599421, -0.0324576609, -0.0062831794, 0.0108150681, -0.0049091415, 0.024399288, -0.0368395187, 0.0128965899, -0.0013489438, -0.0367075913, 0.0441915318, -0.0184418447, 0.0757828951, -0.0322969295, -0.0308175571, 0.0309990589, 0.0135267042, 0.0264627803, 0.04153632, 0.0509212837, -0.0020206207, 0.0069880127, 0.0073575061, -0.1043540537, 0.0460212007, 0.0103347991, -0.0082416032, -0.0832142681, 0.0019310734, -0.040075995, -0.0740221813, -0.0085882926, -0.013514962, -0.0070213554, -0.0052213552, 0.0704431608, 0.0695754141, -0.0471761376, 0.0853948444, 0.0244382787, -0.0280256942, -0.0102506159, -0.0310242027, 0.0241776351, -0.0075745373, 0.0236284975, -0.0139579279, -0.0350007862, -0.0434843451, 0.0088056019, 0.0453969091, 0.0251522958, -0.003747714, 0.0282682888, -0.0433771238, -0.0228759777, 0.0266394187, 0.0028303249, 0.0083559668, 0.0229302905, -0.0303592347, 0.0301180165, -0.0412543118, 0.030738458, 0.0331101939, -0.0390195511, -0.0125791896, -0.0094698006, 0.0412348434, 0.0039020078, -0.0013529463, -0.0181336254, -0.0039239232, 0.0360190161, -0.0247684177, -0.0553178713, 0.0273604859, -0.069245249, -0.0055623762, 0.0041832151, -0.0592903681, -0.0364249647, 0.0450172201, -0.0179959852, -0.0283779744, 0.0081640324, -0.0336155184, 0.0647817552, -0.0215101559, -0.0116367554, 0.0211289637, -0.0076311133, 0.0168394744, 0.0826695487, -0.0207222644, -0.0039248602, -0.0078388499, -0.0097070532, -0.003051793, -0.0248930342, 0.0123452162, 0.0244804006, -0.0408239327, -0.0068016062, -0.0281715654, -0.0097007751, -0.0161888935, -0.0340454839, -0.0069008381, -0.0058501856, -0.0059764851, 0.0113293966, 0.015937997, 0.007260364, 0.0512399562, -0.0044133952, -0.019558914, 0.0351396874, -0.005060324, -0.0027231111, 0.0580130666, -0.0089108925, -0.0391140915, 0.0099002682, -0.0409050733, -0.0377672687, 0.0765082613, 0.0189154446, 0.0205607377, -0.0071470411, 0.0010763166, -0.0377307832, 0.0371245891, -0.0385199524, -0.0270228982, 0.031576924, -0.0130086588, 0.0136138275, 0.0573920645, 0.011752353, 0.0229501873, 0.0009767778, 0.0080989897, -0.0417964682, 0.0290062446, -0.0451091565, 0.002558907, -0.0459545404, -0.0106785996, -0.0310846604, 0.0787231252, -0.0513829663, 0.0135677513, -0.0533939898, 0.0328587666, 0.0202578995, 0.0024801672, -0.0151014663, -0.0026189901, 0.0365213193, 0.030618567, -0.0450987592, -0.0090913866, 0.0712177157, 0.0075438283, -0.0226576608, -0.0077032666, -0.0217471421, -0.024468746, 0.0745905414, -0.0021928053, 0.0140168192, 0.0358180851, -0.0306691378, -0.0709716901, -0.010576129, 0.012327563, -0.0044156942, 0.0702699125, -0.0087087778, 0.0103829456, -0.0199092813, -0.0335708223, -0.0627612323, 0.0122767203, -0.0287050437, 0.0242638178, -0.0082631307, -0.0594385825, -0.0606383458, 0.0145330997, 0.0061328895, 0.0350478031, 0.0084888889, -0.0295412056, -0.0261184033, -0.001842407, 0.0256422665, 0.0452687293, 0.0588777326, -0.0260038078, 0.0465530083, 0.0329479203, 0.0335439332, -0.04282346, -0.0403755084, 0.0305938646, -0.0373801999, -0.0035894511, -0.0204876475, -0.0030355589, 0.0196709931, -0.0578456745, -0.0481745228, 0.0785433128, 0.021171106, -0.0341661759, -0.0049671438, 0.0069205784, 0.0024788368, 0.0302555785, 0.0318629146, -0.093839623, -0.01732032, 0.038041085, -0.0281361546, 0.036145024, -0.0438812263, -0.0042491355, -0.0952410623, 0.0239216704, -0.0208689589, -0.0478137396, -0.0496435165, -0.0087492829, 0.0065146545, -0.0359928012, 0.0049256394, -0.0033182912, -0.0243853107, -0.0302610211, 0.0199741367, 0.01769205, -0.0117704887, -0.0032975234, -0.0253097937, -0.0191235952, 0.0204187836, 0.0288093295, -0.0010999062, -0.0640914813, 0.0227247924, -0.0178857129, 0.005445228, 0.000977087, 0.0692088827, 0.011921199, -0.0386416055, -0.0158333201, 0.0259467438, -0.0599535219, -0.0187099427, -0.049159728, 0.0618303791, -0.0191962998, -0.0328110121, 0.0105009293, -0.0202756654, -0.026912095, 0.0406613909, -0.0023749471, 0.0027119191, -0.0615876056, -0.0321478471, -0.0174209103, -0.0153990602, -0.0266746953, 0.003013433, 0.0187269244, -0.0342576914, -0.0579497479, -0.02206688, 0.0233393498, 0.0448034406, -0.0033245422, -0.082181491, 0.0374063812, -0.0000487189, -0.0711696446, 0.0345834456, -0.0168849081, 0.005988698, 0.000378108, 0.0265000798, 0.013675727, -0.052699849, -0.0393756814, -0.0212999173, -0.048062522, -0.0211243574, 0.0030246349, 0.036651846, 0.0345990621, 0.0483901612, -0.0344584547, -0.0011708621, -0.0133742085, 0.0494337454, -0.027709173, -0.009605336, 0.0612138472, -0.0263261683, 0.0166841634, 0.0500702597, -0.0256187022, 0.0524280854, 0.0290411003, -0.0048638587, -0.037075974, 0.0474503525, 0.0464955904, -0.0196151305, 0.0244886801, 0.0705224201, 0.0223676451, -0.0241210051, 0.0594724305, 0.0057215877, -0.0172922332, -0.0657868758, 0.03403816, 0.0001772001, 0.0392511301, -0.0090174554, -0.018048536, 0.0550647564, 0.0479233824, 0.0401109047, -0.0227121841, 0.0309760161, -0.0257901195, 0.0269383658, 0.0022293392, 0.0220371652, -0.0079633724, 0.0278353468, 0.0541897342, 0.0065310001, 0.0436767414, 0.0506598502, -0.0005157864, -0.0603182763, -0.0227260999, -0.0895140693, -0.079279758, 0.0205725748, -0.0181851704, 0.0231921729, -0.0050735441, -0.0218510572, -0.0327859633, 0.0190507732, 0.0389209054, 0.0337698944, 0.006015264, -0.0015760711, 0.0556262769, 0.0259077605, 0.0104671419, -0.0215428695, 0.0385724157, -0.05757704, 0.0546353683, -0.0196690951, 0.0023632001, -0.0443301499, -0.0000918936, -0.0299899168, -0.0230086334, 0.0071026604, 0.0166252758, -0.0096928002, -0.100934729, -0.0016774588, 0.0082215397, 0.0142474519, 0.0009492385, 0.0026549865, 0.0212815572, 0.0332717374, -0.0383581035, 0.017585624, -0.0045472849, -0.0365973637, 0.0103406869, -0.0180465542, -6.180814683e-33, -0.0142382998, -0.014456884, 0.0198626798, -0.0099968184, -0.0241793897, 0.0254865475, -0.0495538227, -0.0325569957, -0.0606612004, 0.0374669954, -0.0331844278, 0.0625598431, 0.0088421497, 0.0264178403, -0.0102842906, -0.0522202998, 0.0321067981, 0.0265237708, -0.0172573887, 0.0095658898, 0.0483444482, 0.005045868, 0.0632965788, -0.0400307626, -0.0286476985, -0.0122189438, -0.0210398044, 0.0747500807, -0.064786993, 0.0713274255, -0.0127783995, 0.0007745798, 0.0230060425, -0.0220021605, -0.0119371666, 0.0294283032, -0.1541106403, -0.01335938, -0.03465496, 0.019009104, -0.0510584936, -0.0216570273, 0.0549146943, 0.004989692, 0.0315879695, -0.0645460039, 0.0208638236, -0.0114120133, 0.006148282, -0.0226190425, -0.0090000546, -0.0052235317, -0.0061011375, -0.0276319981, 0.0220685005, 0.0415847078, 0.0008260639, 0.0028794643, -0.0418943986, -0.0128012653, -0.0114118522, -0.0036146478, 0.0230416507, 0.0149839623, -0.0266925395, 0.0475618839, 0.0346276984, -0.0119349733, -0.0657961518, -0.0110210944, 0.0086669782, 0.0760919303, 0.0484508798, -0.0018993434, 0.0440564305, 0.0031518519, -0.0608958788, -0.0175405797, -0.034072455, 0.0831078291, 0.0143247284, 0.0017731137, -0.0000934077, 0.0013194038, -0.0368582159, -0.0034736556, -0.0472138785, -0.0270614848, 0.0025109812, 0.0183319505, -0.0083496673, 0.0459055342, -0.0004665221, -0.0564796031, 0.0206811931, 0.0373291485, 0.0155658582, -0.009564192, -0.0100227389, -0.0201136824, -0.0246336572, -0.0117435185, 0.0165032744, 0.0227722321, 0.0170643292, 0.0396560766, 0.0736948922, 0.0426450968, -0.0450623706, -0.0437489972, -0.0719595924, 0.0186034013, -0.0260549542, 0.0497594029, 0.0331795812, 0.0482216217, -0.0395361036, 0.0045582466, -0.0254865419, 0.0179385431, -0.02986091, 0.11863821, -0.0144725889, 0.037277434, 0.0130297327, -0.0238213073, -0.0475353971, 0.0044723758, 0.0495402552, -0.0872447789, -0.0140929613, 0.0420890041, 2.67e-7, 0.0263488814, 0.0138948057, 0.0461678766, 0.0424477682, 0.014793749, 0.0192646123, 0.0208664536, -0.009390913, 0.0157172773, -0.0136062577, 0.0130684432, 0.0447043218, 0.0300275553, 0.0443509035, -0.0507501662, -0.0192817785, -0.0544417873, -0.0517281443, -0.0107805552, 0.0020551987, 0.0606295243, 0.1067902222, 0.0339784585, -0.0097448444, 0.0171957891, -0.0019630524, 0.0298085175, -0.0283196066, 0.0538711809, -0.0103356298, -0.0018437078, 0.0076769087, 0.0167085398, 0.0713685378, 0.0074626044, 0.0194829013, -0.0092633711, 0.0160178505, -0.0037666506, -0.0079848524, -0.0126185138, -0.0137687428, 0.0127405999, -0.0062345006, 0.0545916222, -0.1025051102, -0.0165992994, 0.0390998386, -0.0147185754, 0.0088780317, 0.0021453432, 0.0373182148, 0.0234861504, 0.0085035153, 0.008402884, -0.0050969827, 0.0279339626, -0.0975474045, -0.0210678466, 0.04316248, -0.0279722456, -0.0051806616, -0.0201756489, -0.0413181148, 0.0538322106, -0.0303810798, -0.0411982872, 2.107141812e-34, -0.0012495628, 0.0029483959, -0.0092746131, 0.0648106858, 0.0640533864, -0.0213614721, 0.0084865754, -0.0124532664, 0.0138840936, -0.0612098835, -0.0013436854 ]
http://arxiv.org/abs/2310.09748v1
http://arxiv.org/pdf/2310.09748v1
Large Language Model-Aware In-Context Learning for Code Generation
2023-10-15T06:12:58
2023-10-15T06:12:58
Jia Li, Ge Li, Chongyang Tao, Jia Li, Huangzhao Zhang, Fang Liu, Zhi Jin
cs.SE
cs.SE, cs.CL
Large language models (LLMs) have shown impressive in-context learning (ICL) ability in code generation. LLMs take a prompt consisting of requirement-code examples and a new requirement as input, and output new programs. Existing studies have found that ICL is highly dominated by the examples and thus arises research on example selection. However, existing approaches randomly select examples or only consider the textual similarity of requirements to retrieve, leading to sub-optimal performance. In this paper, we propose a novel learning-based selection approach named LAIL (LLM-Aware In-context Learning) for code generation. Given a candidate example, we exploit LLMs themselves to estimate it by considering the generation probabilities of ground-truth programs given a requirement and the example. We then label candidate examples as positive or negative through the probability feedback. Based on the labeled data, we import a contrastive learning objective to train an effective retriever that acquires the preference of LLMs in code generation. We apply LAIL to three LLMs and evaluate it on three representative datasets (e.g., MBJP, MBPP, and MBCPP). LATA outperforms the state-of-the-art baselines by 11.58%, 6.89%, and 5.07% on CodeGen, and 4.38%, 2.85%, and 2.74% on GPT-3.5 in terms of Pass@1, respectively.
[ 0.0134265572, 0.05369303, -0.0171783417, 0.0324837975, -0.0461069867, -0.0028246364, -0.0435866304, 0.003976997, -0.0138767697, -0.0306309666, -0.0025593422, -0.0275707282, -0.0115898652, 0.0250030495, 0.0454914346, -0.0145525318, -0.013914736, -0.0208727084, -0.0377627835, 0.015787052, -0.0079917144, 0.041744519, 0.030528117, 0.0640889481, 0.024828691, -0.0210827887, -0.0023400127, 0.0347043462, -0.0002276771, -0.0582081564, 0.0374423973, 0.0257356949, 0.01469668, -0.0164105501, 0.0000022683, -0.0522437543, -0.0530538075, -0.0149298953, 0.0128105786, -0.0153627768, 0.0093790311, -0.0175151099, -0.0187365692, 0.0294278879, -0.0297736004, 0.0263422914, 0.0447180271, -0.017574165, 0.0629731268, 0.0542816482, -0.001017226, 0.012594888, -0.0405114144, -0.0052191406, 0.057171315, -0.0141034983, 0.0113992589, 0.020702403, 0.0200675614, 0.0007692627, 0.0070060906, 0.0150665827, 0.0168797728, 0.0131601561, -0.0079305703, 0.0711201951, -0.0367060974, 0.0178302508, 0.0141513981, 0.0652873144, -0.0633392558, -0.0485832728, 0.0315556228, -0.0356432945, -0.0279222876, -0.0261590742, -0.0237684604, 0.023963619, -0.0207818653, 0.0470646173, 0.0321577564, -0.0112402011, 0.0008529276, 0.0024847181, -0.0284738727, 0.016236674, 0.0216744449, -0.0184233319, -0.0171224922, -0.0145722274, -0.033968702, -0.0414475426, -0.0204632208, 0.035207089, -0.047808893, 0.0323433205, -0.0463185944, -0.0173158031, 0.0081586754, -0.0429518558, 0.0556964651, 0.0339052342, -0.0123270014, 0.012915872, -0.0391499698, 0.0481519513, 0.0094586154, -0.0421485193, -0.0434695669, 0.0227057319, -0.0342499055, 0.0195480026, -0.0542204678, 0.0722911432, -0.0261714924, 0.0157971401, -0.0345080197, 0.0442506559, -0.0021802401, 0.0423781946, -0.0156297218, -0.0130199157, -0.064920038, 0.014529448, 0.0133430818, -0.0110440878, 0.021724103, -0.0523850173, -0.0244847294, -0.0541370884, 0.0064409478, 0.0308507588, -0.0165640805, -0.0372782536, 0.0267734025, 0.0677933767, 0.0064377473, -0.0155877881, -0.0684518963, -0.0217018202, 0.0221170057, -0.0303230695, -0.0287913885, -0.0835374147, -0.0673949867, 0.0234323069, -0.0225672405, -0.0401263125, 0.0227378346, 0.0128604928, 0.0261359382, 0.0281773154, -0.0159569867, 0.0180907585, 0.0190079045, 0.0040141055, -0.0187581219, 0.0566861928, 0.0483584292, 0.0225845184, 0.0118944161, 0.0023867129, 0.0423099436, 0.0456548035, 0.012315603, 0.0228212178, -0.028628869, 0.0263220388, 0.037614949, -0.0250424463, 0.0294653885, 0.0218255073, -0.0048304326, 0.0385906696, 0.0489311293, 0.0195429418, 0.0361637063, 0.0311276838, 0.0750195533, 0.0423145518, -0.0441552289, -0.0185905546, -0.0088918684, 0.07967747, -0.030509403, 0.0441442952, 0.0134030543, 0.0400438644, -0.025607869, -0.0407001302, 0.0045537641, -0.0251128823, -0.0590625852, 0.0104600135, 0.0584155433, -0.0030399084, -0.0833207369, 0.0177418739, 0.0245481431, -0.0402048454, -0.019092299, -0.043597389, 0.0314131752, 0.0315979011, 0.0523626432, -0.0526275076, -0.0099173514, -0.012779084, -0.0188805033, -0.0009541715, 0.0240206886, -0.0179386716, 0.0209467784, -0.0571133383, -0.0217924528, -0.0263426881, -0.0222265944, 0.0376055315, 0.0256791059, -0.0059063947, 0.0409094058, -0.0006883744, -0.057251785, 0.03914636, -0.039187558, -0.0148365023, 0.0538774729, 0.0066061164, 0.0408170708, -0.0577436276, -0.0440755151, 0.0078976303, 0.0259115901, -0.0340077691, -0.0063751037, -0.0262234788, -0.0646153241, -0.0694611371, 0.0151435221, -0.0314486288, 0.0065890145, -0.0007732911, -0.0246673636, -0.0127522266, 0.0281836912, -0.0331956111, 0.0616176799, -0.0236058515, 0.0242163893, -0.0148304924, -0.0385480709, -0.0479076393, 0.071151033, 0.0151051302, 0.0298400912, 0.0160754956, 0.0575536527, 0.0070053199, 0.0036274253, -0.0208328031, 0.0097720949, -0.0236612204, 0.0453021936, 0.0236087255, 0.0618609004, -0.0284999106, -0.0359921269, -0.061000783, 0.0556064658, -0.0174412616, 0.0130310412, 0.01827031, 0.0330714285, 0.0010190643, -0.0137477005, -0.0351082198, -0.0091614285, -0.0150973182, -0.0025886095, 0.015432517, 0.0200412441, -0.0424828418, -0.0372008011, 0.0150509458, 0.0114490138, 0.038991008, -0.0099358978, -0.0000464826, -0.0711232126, 0.1408582181, -0.013362838, 0.0103380522, -0.0347443782, 0.0053974125, 0.0093917688, -0.0535661541, 0.0598851778, 0.023046324, -0.0015184948, 0.013853441, 0.0530560315, 0.0242160149, -0.0778843239, 0.0067000678, 0.0037397936, -0.0342726298, 0.0224303845, -0.0227589756, 0.0699422657, 0.0469809473, 0.0141705656, -0.0223634746, -0.0416494496, 0.0013513251, 0.0097677959, 0.0306667015, -0.0023641435, 0.0034964476, -0.0079848114, 0.0406345241, -0.016168315, -0.0999395773, 0.0674761161, -0.005271134, -0.0051560453, -0.0468427055, -0.02895578, -0.0410877503, 0.0423831418, -0.0206341669, 0.0216690376, 0.010176356, -0.0333925486, -0.0529707894, 0.0069603943, 0.0049975128, -0.0439136736, 0.0778798461, -0.0670935661, 0.0343522914, 0.0041745128, -0.0422693454, -0.0696332529, 0.0084120091, 0.0164888185, 0.0036260504, -0.0050855507, 0.0273396485, 0.0296950843, 0.0125654554, 0.0086398497, 0.0664864779, 0.0224580932, -0.0610865876, -0.0234416705, -0.0322400667, 0.027452562, -0.0566396303, -0.0106590707, -0.0227571595, -0.0031517749, -0.0179622862, 0.0402647778, 0.0327235721, -0.059879981, 0.0138352849, 0.0418662205, -0.0163610913, -0.0380960666, 0.0905199721, 0.030869985, -0.0264823548, -0.0419584475, 0.0966053456, 0.0398380645, -0.0583449341, 0.0092453482, 0.012163491, 0.0371797755, 0.0836453438, 0.031679105, -0.0370273441, -0.0205881279, 0.0026012959, 0.0501793511, -0.0353896953, -0.0135286786, -0.0528266877, -0.1401618421, 0.0265927035, 0.0191469695, -0.034822695, -0.0437183194, -0.022932848, -0.0056464528, -0.0030750867, -0.0353100635, 0.0400612056, -0.0185415447, 0.0434700698, -0.00021594, -0.0042362423, -0.041429501, 0.0205757152, -0.0221258532, 0.0071984958, 0.0961750075, 0.0134387575, 0.0252480134, 0.0082745291, 0.0506009087, -0.0548747517, 0.0059556728, -0.0390631966, 0.0243257154, 0.0129127875, -0.0186044965, 0.0120234648, 0.0374755114, -0.0618354268, -0.0132966153, 0.0394407287, 0.043329224, -0.0183197707, 0.011378576, 0.0139473798, -0.0155773321, 0.0520472936, 0.0295378212, 0.0383055843, -0.0375492349, -0.0085054999, -0.0540341362, -0.0046084514, -0.0391208567, 0.0338368267, -0.0187673233, -0.0343537703, 0.0217730459, -0.0713536218, 0.0439527333, 0.0201139562, 0.0863220245, 0.0198224783, 0.0144565618, 0.0104318792, -0.0133454427, -0.0370499454, -0.0065462957, -0.0157616101, 0.0115618408, -0.0268360693, -0.0476841442, 0.0231072679, -0.0576541871, -0.0184751861, 0.0032999536, -0.0672301427, -0.0656411201, -0.0703307986, 0.0503724553, 0.0202751625, 0.0443858802, -0.0198108982, -0.0267109238, -0.0056174463, 0.0420896597, -0.0121766534, -0.0034052054, -0.0019440046, 0.0244408436, 0.0230889581, 0.0015679016, -0.0737460405, 0.0102521777, 0.0557060167, 0.0105768228, -0.0139334705, 0.0138260601, 0.0622548684, 0.0157273673, -0.0099064447, -0.0110363215, -0.0442435667, -0.0294841658, -0.0023743156, 0.0250923745, -0.0260036178, -0.0590364635, 0.0211602636, 0.0054558828, -0.0166800059, 0.0159333441, -0.0086012436, -0.0195708293, 0.0652833357, -0.013627951, 0.0317704827, -0.0010755721, 0.0696789771, 0.0934505761, -0.027315259, -0.0145933405, 0.007988588, 0.0155911846, 0.0388338305, -0.0018517443, 0.063188307, 0.0185546633, 0.0342339762, 0.0147469444, -0.0069418345, -0.0333768204, -0.0375945047, -0.0626411438, -0.0047616353, 0.0615575761, 0.0236813743, 0.0304127093, -0.0236233007, 0.0290532056, -0.0415103696, 0.0849817768, -0.0062087532, -0.058305975, 0.0041739382, 0.0133822011, -0.0127604194, -0.0002983889, 0.1000768766, -0.0111435903, 0.0077752611, -0.0076378612, 0.0016810582, -0.0462845899, 0.0418280959, 0.0539362133, -0.0017755177, -0.0017192172, 0.0204538871, -0.0389659852, -0.0351201966, 0.0070635146, -0.0036459733, 0.0067863269, -0.001625711, 0.0301775895, 0.092735894, -0.026167687, 0.0084208306, -0.0485186093, 0.0018629954, -0.0288900975, -0.0276990235, -0.0472598001, -6.151273408e-33, -0.0239323173, -0.037202552, 0.0039711031, 0.0159909558, 0.0101740919, -0.0003383404, -0.0707406625, -0.0141763147, 0.0284465011, -0.0678492412, 0.0457992256, -0.0057496089, -0.0220041089, 0.0007843005, 0.0248482991, 0.0212247781, 0.0238196738, 0.0225372519, -0.0484057218, 0.040472202, -0.0175746717, 0.0337615013, 0.004682262, -0.0602155291, -0.0300607458, -0.0243197102, 0.0355693102, -0.0072098146, 0.0214367602, 0.0475930832, 0.0157284327, 0.0219672639, 0.0086363684, -0.040307194, -0.031853918, -0.0346239619, 0.0224167127, -0.0377860889, -0.0077889618, -0.0232180674, 0.0423197001, -0.0543987192, 0.0377285182, -0.0005862556, -0.0294178072, 0.0048336033, 0.0351925008, -0.0131226573, -0.0241516586, -0.0335133709, -0.0811404809, 0.0342836902, -0.0267636534, -0.0230997, -0.0215791315, 0.0344474018, -0.0114147654, 0.055230286, 0.0414402783, 0.0108594699, 0.0084823212, 0.0542768091, 0.0688264668, 0.0301885214, 0.0371171422, 0.0287699196, -0.0014980555, 0.0073865163, 0.0387199186, -0.0524259061, 0.0215512179, 0.0483613461, 0.0029452762, 0.0398689583, 0.0354317315, 0.001853512, -0.0730974898, 0.0307155829, -0.0146751972, -0.0098843658, 0.0497563258, 0.0174995754, -0.034294311, 0.0005108813, -0.0279209502, -0.0453959964, -0.0283738878, -0.0315244198, 0.0645053163, 0.0127010886, -0.0139968907, 0.011772112, 0.026968196, -0.0202497933, -0.0438336059, 0.0218456499, -0.0875895992, -0.0161061827, -0.023417132, 0.0265027322, -0.0323942006, -0.0447326526, 0.034424752, -0.0228292085, 0.0519969463, 0.0319598839, 0.0252696089, 0.0158973243, -0.0769200549, 0.0007543984, -0.0867329761, 0.0012389465, -0.0053300266, 0.0404569544, 0.0025902721, -0.0322446041, 0.0066108615, 0.0235692244, 0.0032576697, -0.0745486543, -0.0529841892, -0.0162827987, -0.013464516, 0.0089408709, -0.0376974866, -0.0171791874, -0.0205973778, 0.0442960449, 0.047739435, 0.0039415648, -0.0703911632, 0.0069432626, 2.976e-7, 0.0021728054, 0.0161641445, -0.0362954885, 0.0301393736, -0.0110810837, 0.0499614142, -0.0540781915, -0.0003317558, 0.036257986, -0.0024920348, -0.0171326399, -0.010299583, 0.0558414683, 0.0395797864, -0.0648432747, 0.0723959804, -0.0119360508, -0.014637325, -0.0721114129, -0.0027833642, 0.0631232485, 0.0686995611, -0.012009047, 0.0036413886, 0.0338174365, -0.0273633283, 0.0308915414, -0.034815602, 0.0149762183, 0.0106210615, -0.0698765665, 0.0169447958, -0.0290841907, 0.004201205, -0.0201155934, -0.0116321323, 0.0074350708, 0.0478226393, 0.0000133499, 0.019061679, 0.0620465949, 0.0274448823, 0.0088462494, -0.0737763345, 0.0362728685, -0.0442929193, 0.010828929, -0.0396879464, -0.0116911726, -0.0049687135, -0.0341816843, -0.0189616755, 0.0114081092, -0.0093081687, -0.0115120364, -0.0151125723, -0.0330645628, -0.0199350826, -0.0126621481, 0.0244260114, -0.0127958097, -0.0422010571, -0.0729852542, 0.0437564068, 0.0190418474, -0.0243756361, 0.0570688844, 3.059568202e-34, -0.0000747408, -0.0468232706, 0.0133677768, 0.0430543683, 0.0241529681, 0.0028383483, -0.0412858054, 0.0324312039, 0.0012382115, -0.0106676128, -0.028458206 ]
http://arxiv.org/abs/2310.09736v1
http://arxiv.org/pdf/2310.09736v1
Domain-Specific Language Model Post-Training for Indonesian Financial NLP
2023-10-15T05:07:08
2023-10-15T05:07:08
Ni Putu Intan Maharani, Yoga Yustiawan, Fauzy Caesar Rochim, Ayu Purwarianti
cs.CL
cs.CL, cs.AI
BERT and IndoBERT have achieved impressive performance in several NLP tasks. There has been several investigation on its adaption in specialized domains especially for English language. We focus on financial domain and Indonesian language, where we perform post-training on pre-trained IndoBERT for financial domain using a small scale of Indonesian financial corpus. In this paper, we construct an Indonesian self-supervised financial corpus, Indonesian financial sentiment analysis dataset, Indonesian financial topic classification dataset, and release a family of BERT models for financial NLP. We also evaluate the effectiveness of domain-specific post-training on sentiment analysis and topic classification tasks. Our findings indicate that the post-training increases the effectiveness of a language model when it is fine-tuned to domain-specific downstream tasks.
[ 0.0339447819, 0.0688080564, -0.002978673, 0.0077783344, -0.010103547, 0.0156588946, 0.0298079774, 0.0514904223, -0.0079864506, -0.0647329688, -0.065157786, -0.0204319973, -0.0311914645, -0.0050101527, 0.0276525598, -0.0585904829, 0.0340019092, 0.0035781446, 0.0502404161, -0.0318702906, 0.0219683554, -0.0060383091, -0.0065770517, 0.0176977683, -0.0022936491, -0.0130555304, 0.004418246, -0.0311579853, -0.0070341602, -0.0126803443, 0.0626530722, 0.0456592031, -0.0056533236, 0.0037483731, 0.0000017502, -0.0537047945, -0.0288696364, -0.0056348615, 0.0242818613, 0.019820312, 0.0466697142, -0.020078769, 0.0213380698, 0.0265587699, -0.0608825944, -0.0205730982, 0.0154142035, 0.113346085, 0.0932819098, 0.0846877918, -0.0257793106, -0.0744746029, -0.0026462616, -0.0662789196, -0.0393265896, -0.0337889865, 0.0253234096, 0.0159152187, -0.0130062914, -0.0035519151, -0.0020399007, -0.0032423467, -0.0109789465, -0.0052900268, 0.0151917953, -0.0286059044, -0.071985051, -0.0085414806, -0.0192606095, 0.0167751051, 0.0257229228, 0.0108460123, 0.0016310021, 0.0034838356, -0.0016165065, 0.0394592918, -0.0009336934, 0.0105563616, -0.0010718232, 0.0087344991, 0.0527454428, 0.0100428788, 0.0012805758, -0.0010761895, -0.0083660064, 0.019446576, 0.0074840961, -0.023520831, 0.023830438, 0.0315293111, -0.0332575627, -0.0436173454, 0.0246066023, -0.0055840462, 0.0763152316, 0.0024995874, -0.0076243179, -0.0366597958, 0.0013817812, -0.1103668064, 0.0007351962, 0.0335361548, -0.0253373049, 0.0213798955, -0.0372408703, 0.0055713393, 0.0011056316, -0.0290529486, -0.0184156559, 0.0064865248, -0.0795973986, -0.0053320453, -0.0719429255, 0.0960547253, -0.0058834814, -0.0169268735, -0.077744022, 0.0192587003, 0.0044358252, -0.0299971495, 0.0503998734, -0.0465686992, -0.0344770625, -0.0145396618, -0.0124172401, 0.0193405021, -0.0461065844, 0.0312660784, -0.0234769899, 0.0005685507, 0.0286365915, 0.0289632343, -0.0577731915, -0.0406002589, 0.0164257977, 0.0455849916, 0.0428619199, -0.056230478, -0.0811370537, 0.0090478295, -0.0023380374, -0.0035631061, 0.023909701, -0.0234958436, -0.0183961969, 0.004439557, -0.0139253996, 0.0114135556, -0.0005554283, -0.0212033447, 0.0102908136, 0.0902986526, -0.0006360403, -0.0267402027, 0.0286688749, -0.0435898006, 0.0338778384, 0.0626349747, -0.0159138571, -0.0023832496, 0.0371336415, -0.0087294253, -0.0375539698, 0.0577329211, 0.0010133323, -0.0454955548, -0.0300724227, 0.0347882509, -0.0350089036, -0.0188046396, 0.0426243432, 0.0019565905, -0.0200677551, 0.0243396405, 0.0212426595, 0.0404901467, 0.0653926507, 0.0500462279, -0.0234526247, 0.0235964954, 0.059906505, -0.0050840848, 0.0223829318, -0.0450090095, -0.002146516, 0.0323347449, -0.0299661905, -0.0206985381, -0.0333022997, -0.018471105, -0.0100463731, -0.0498762876, -0.0354957022, -0.0171709973, 0.0686702058, 0.0028600451, -0.013257443, 0.0910580605, 0.0414640494, -0.0237291586, -0.0022470944, -0.0366258509, 0.0266490187, 0.058562424, 0.014241063, -0.0274683926, 0.005655501, -0.0124659175, -0.0249846037, 0.0644468144, 0.0327894799, -0.004067909, -0.0470609218, -0.0292777382, 0.0088060778, 0.0182448067, 0.0523327366, 0.0264231507, -0.0064516268, 0.013384372, -0.0223525707, -0.0507219918, 0.0218301881, 0.0227028411, 0.0151130669, -0.0134025533, 0.01845048, -0.0354761407, 0.0135355825, 0.0419768952, -0.0252285581, -0.0136494478, 0.0059425593, -0.025226986, -0.0472382866, 0.0240881722, -0.0045286892, -0.0418720171, 0.0027792996, -0.0087681832, 0.0024506957, 0.0268537998, -0.0018192005, -0.0140179992, -0.0159719363, -0.004905073, 0.041779004, -0.0689710602, -0.0076774256, -0.0362832099, 0.0028607091, -0.0274833571, 0.061771322, -0.0145614427, -0.008384103, -0.042802792, 0.0164029263, 0.0345148966, -0.016138602, 0.0117118452, 0.0096500507, -0.0092265764, 0.0353054293, 0.0459446236, 0.0128681958, 0.0160151646, -0.0397467539, -0.0915745348, -0.0381235369, -0.0081862174, 0.0593323633, 0.0077519584, 0.0087044491, -0.0159580987, -0.0147350105, -0.0091422936, -0.0245630983, -0.0145292673, -0.0092001045, 0.0751688778, -0.016060004, 0.0287589394, -0.0521994829, -0.012640927, 0.0039510084, 0.0285039134, 0.0338213108, -0.0754699036, -0.0230390783, -0.0107299909, 0.0241406336, 0.014146856, 0.0003547538, -0.0169859268, -0.0185759012, -0.0208527334, 0.0023535688, 0.0079389159, 0.013429963, 0.0622455887, -0.04631982, 0.0166529138, -0.0349178798, 0.0135903805, -0.0118935164, 0.0127741368, -0.0098047294, 0.042953413, 0.0387719534, 0.090545401, -0.0463559851, -0.0182230845, -0.0710942671, -0.0260102265, -0.029436104, 0.0270717889, -0.0093202954, -0.004113439, -0.0072280373, 0.0215798914, 0.03541651, -0.0206551459, 0.0611024834, 0.0162189733, 0.0153525751, -0.0939661935, -0.0072505767, -0.0754709095, 0.0090881744, -0.0509979352, -0.0096443258, 0.0341611393, -0.0526937358, 0.0164829139, -0.0158500839, 0.0195784196, 0.0030276123, 0.0304820053, -0.0268901866, 0.0563659221, 0.0109899295, -0.0217048973, -0.0143982386, -0.0843305737, -0.0111112772, 0.0318161249, 0.0567679964, -0.0310320556, -0.0258947238, 0.0305270217, -0.0244173948, -0.0484736711, -0.0029139547, -0.0255585555, 0.0286550224, 0.0296923406, 0.0433174074, -0.0272141714, -0.0006258988, -0.0177447256, 0.015611859, -0.0116579989, 0.0291239023, -0.0183075573, -0.0225445833, 0.0083611039, 0.020007642, -0.0784907192, -0.0174157135, -0.0317090899, -0.0203785505, -0.0196093377, -0.015349715, 0.1107837036, 0.007842971, -0.0159743112, -0.013511695, -0.0056569865, -0.0005720741, -0.0306566563, 0.0480811447, -0.0594530329, -0.0276808962, -0.0111935623, 0.0193245914, 0.0409163497, -0.0091581754, 0.0019782325, -0.1314167231, -0.0053940662, -0.0355299376, 0.003027997, -0.0257341433, -0.0483642966, -0.0446364805, -0.0454604402, 0.0201883912, -0.0023910457, -0.0247570053, 0.0453109629, 0.0629247501, -0.0651865676, -0.0532440692, -0.0196619406, -0.0020057152, -0.0355292261, 0.0501683019, -0.0091946553, -0.030008981, 0.0088561326, 0.0006653669, -0.0235608071, -0.0081971884, -0.0148674427, 0.0456748344, -0.0281032082, -0.0466398001, 0.0205138046, -0.005347834, -0.0455204472, 0.0539487936, -0.0052757873, -0.0307093915, -0.0315467194, -0.0044721146, -0.0179582871, 0.0214657206, -0.0170776509, 0.0517826118, -0.0178996734, -0.0824031383, 0.0152869094, -0.0143926023, -0.0067503047, -0.0421780497, 0.0092124566, -0.013001685, -0.0239570905, -0.0342089795, -0.1125948057, -0.0842283294, 0.012655464, 0.0632266924, -0.0150035266, -0.0048727333, 0.061156176, 0.0005187494, -0.0231372211, 0.0414038301, -0.0060899272, -0.010996975, -0.0672985464, -0.0069992556, 0.0521611497, 0.0098524736, -0.0389655232, -0.0201599188, -0.0130201224, -0.0350308567, 0.045600336, 0.0197554491, 0.0225539263, -0.0242885835, -0.0399962887, 0.0086630611, 0.0121324258, 0.0502253287, -0.0584606081, -0.0336619355, 0.0667009577, 0.0087505952, -0.0026725992, 0.0132338079, -0.0297715534, 0.0425939187, -0.0058995169, 0.0268655438, -0.0275114886, -0.0060720798, 0.0091791768, 0.0128675047, 0.0647378936, 0.0055305311, -0.0155564481, -0.0311660729, -0.0210676081, 0.0115725202, 0.0087705189, -0.0341796167, -0.0180733278, 0.0562558137, -0.0032495758, -0.0443873405, 0.0519585013, -0.033580333, -0.0414378382, -0.0147928065, 0.0360670909, 0.0010934223, 0.0473558865, -0.0172655135, -0.0052269534, 0.0225781929, -0.0370897576, 0.0365543701, -0.0377278067, -0.0147870332, 0.0367987901, 0.0156106921, 0.0059109912, 0.0174302142, -0.0077148667, -0.0076672281, 0.0509802774, -0.0058592027, 0.0576158427, 0.0381725952, -0.048717171, 0.0025966093, -0.0566866286, 0.0177583005, -0.0092238523, 0.0247552842, 0.0118993297, -0.0211788341, 0.0342403799, -0.0152282817, -0.0604627505, -0.0178298559, 0.0894597769, -0.0029937564, 0.041708488, -0.0168026201, 0.0143566951, -0.0355854295, -0.0292200446, 0.0769569799, -0.0073144017, -0.0254578032, 0.0281039141, -0.0478284098, -0.0443218462, 0.0064173327, -0.0257404223, 0.0133006759, 0.0013917991, 0.0657206476, 0.0749136284, 0.0177474432, 0.0559421107, -0.0256347526, 0.006187248, -0.010403337, 0.0104861306, -0.0938807353, -5.62238397e-33, -0.0509719886, 0.0385937653, 0.0087840818, 0.0184141509, 0.0507786609, -0.0062890062, -0.0061162612, 0.0028267112, -0.0155496141, 0.0379253738, 0.0152218603, 0.0534274839, 0.0096326657, 0.0342990309, 0.0075092604, 0.0140216453, 0.0351848491, -0.0094896751, 0.0121838236, -0.016672384, 0.0279561598, 0.0927261338, 0.0762420148, -0.0504081734, 0.0282397289, 0.0021370412, -0.010867333, 0.0119715305, 0.0863144249, 0.0444330238, -0.0018049455, 0.0427223705, 0.0169237647, -0.0762273893, -0.0124067841, -0.0225654989, -0.0457093008, -0.0420275591, 0.0176271461, 0.0673950687, 0.0294935033, 0.0092078177, 0.0318002962, -0.0209065173, -0.0326601416, 0.0264580976, 0.0188357029, 0.0061080041, 0.00300854, -0.0583048463, -0.0621574409, 0.0462512895, 0.0221967567, 0.0220880471, 0.0436105095, 0.0622465275, -0.0094519695, -0.0136776036, 0.0111768814, -0.0034831329, -0.0005619247, 0.0305321962, -0.0153512247, -0.0373307243, -0.0230248626, 0.0482034534, -0.016729271, 0.0253636427, 0.0558563843, 0.0234881099, 0.0370372422, 0.0193629041, 0.0252844524, 0.0265240949, 0.0009337009, -0.0400573239, -0.0294511598, 0.0374694206, 0.0308943745, 0.0126835676, -0.0120347999, 0.0182270091, -0.0266321767, -0.0437978879, 0.0228248388, -0.0014442801, -0.0043887086, -0.0011603857, 0.0014162887, -0.0081413034, 0.0058762841, 0.0274554063, -0.0127355224, -0.0586813428, -0.050029356, -0.013053597, -0.0166222285, 0.0013830645, -0.0047967737, 0.0054732459, -0.0210933872, -0.0535248108, -0.0363503769, 0.0355346799, -0.0298787802, -0.0371158011, 0.049978558, 0.0016294897, -0.0468661152, -0.0169436876, 0.0063852072, 0.0180636048, 0.0173852555, 0.0997403115, 0.000081828, 0.0451052859, -0.0033482946, 0.0251063686, 0.010089186, 0.0152429044, 0.0107420348, -0.0139128482, 0.0100026662, 0.0505775511, 0.019679904, -0.0039618569, -0.0003260962, 0.1087867916, 0.0016339397, -0.0301752333, -0.0197518338, 0.0128444741, 2.469e-7, 0.0632953793, 0.0919284672, 0.0250030141, -0.0341127105, 0.0075038322, 0.0391430184, -0.0393578373, 0.0282697249, -0.0076331147, 0.0413822383, -0.0036289655, -0.0246368069, 0.0537651591, -0.023238793, -0.0819273293, -0.0539592095, -0.03511573, 0.0419155844, -0.0392969698, 0.0727468655, 0.0124327457, 0.0779327676, -0.004562133, -0.0209696032, -0.017959496, -0.0758033991, 0.079493843, -0.0368056111, -0.0592068769, 0.0383627452, 0.027742954, 0.041381523, 0.0153348343, -0.000373662, -0.0338460915, 0.0320049785, 0.0135079958, 0.0497022532, 0.0247327946, 0.0222203508, 0.039085675, -0.0002617795, -0.0351739191, -0.0079905791, 0.0299757607, -0.0904541165, -0.0631907061, -0.0290391054, -0.060102433, 0.0111637395, 0.0409839898, 0.0044852775, -0.0210532043, 0.033070676, 0.0379706137, -0.0378810242, -0.0260966588, -0.0185719077, -0.0238808393, 0.0298952553, -0.029847635, 0.0575401746, -0.0285416283, 0.0085965693, 0.0225137118, -0.0443435386, 0.0366836041, 2.059169244e-34, 0.0707522035, -0.0198696889, -0.044481203, 0.0405693017, 0.0492629372, -0.0009964622, -0.0123268617, 0.0378793329, -0.0011483607, -0.042284783, 0.0294345841 ]
http://arxiv.org/abs/2310.12172v2
http://arxiv.org/pdf/2310.12172v2
Overview of ImageArg-2023: The First Shared Task in Multimodal Argument Mining
2023-10-15T04:52:04
2023-10-24T14:58:13
Zhexiong Liu, Mohamed Elaraby, Yang Zhong, Diane Litman
cs.CL
cs.CL
This paper presents an overview of the ImageArg shared task, the first multimodal Argument Mining shared task co-located with the 10th Workshop on Argument Mining at EMNLP 2023. The shared task comprises two classification subtasks - (1) Subtask-A: Argument Stance Classification; (2) Subtask-B: Image Persuasiveness Classification. The former determines the stance of a tweet containing an image and a piece of text toward a controversial topic (e.g., gun control and abortion). The latter determines whether the image makes the tweet text more persuasive. The shared task received 31 submissions for Subtask-A and 21 submissions for Subtask-B from 9 different teams across 6 countries. The top submission in Subtask-A achieved an F1-score of 0.8647 while the best submission in Subtask-B achieved an F1-score of 0.5561.
[ 0.0198784843, 0.0239476133, 0.0336582027, 0.0392516144, -0.0241913032, 0.0467580743, 0.0396364294, 0.0008196675, -0.0116638942, -0.0647977889, 0.004727501, -0.0120227244, -0.0279365666, -0.0080468114, 0.0070405267, -0.0828972906, 0.0056071701, 0.0380162783, 0.0714840293, -0.0074452348, 0.0567626543, 0.016717026, -0.0516320877, 0.069501102, -0.0238209739, -0.0487720519, 0.0060253604, 0.010259456, 0.0455364101, -0.0394692533, 0.018872289, 0.0260094739, -0.0014734933, -0.0092914719, 0.0000019948, -0.022633126, -0.0066401958, -0.022966262, 0.0171908662, -0.0283162706, 0.0883825123, 0.0371956825, -0.0014623572, 0.0159838665, -0.0296274424, 0.0192108806, 0.0739794746, 0.1035118029, 0.064749293, 0.0645142794, -0.0301562361, -0.0140500506, -0.0308141075, 0.0041181245, -0.0256853532, 0.0239701662, -0.0176018476, 0.0186671931, -0.0362674147, 0.0422792025, 0.0187033378, 0.005579045, 0.0005418542, -0.0088673579, -0.0411694348, 0.0203846153, -0.0198394917, -0.0479467772, 0.0246674847, 0.0173581075, -0.0177476071, -0.0275029577, 0.0159255862, -0.0320464633, 0.01599022, 0.0174036343, -0.053563524, 0.0482898168, -0.0269522481, 0.0375613384, 0.0150761502, 0.0420132987, -0.0045031793, 0.0440200157, 0.0392770283, -0.0135980835, -0.030967433, 0.0002113687, 0.0407823622, 0.0088177305, -0.0609925576, -0.0530532971, 0.0238736626, 0.0035075136, 0.0156120909, 0.0099874493, 0.0154532855, -0.0363849066, 0.0512922555, -0.1140043437, 0.0414605141, -0.0154888295, -0.0375038534, 0.0551665947, 0.0256043859, -0.0316967554, -0.0026824193, -0.0327336565, 0.0205355641, -0.0034962578, -0.0665916502, 0.0253268983, -0.0129856532, -0.0035966909, -0.0271717962, -0.0361797921, -0.0248953234, -0.023792183, -0.0567687713, -0.0234236456, 0.0206402317, 0.0131130079, 0.0113310833, -0.017601328, -0.0166466683, 0.0538865849, -0.0196054485, 0.0337819681, 0.0051727584, 0.0160420164, 0.0164029635, 0.0350614302, 0.0175879188, -0.01857589, 0.0083307959, -0.0089112399, -0.039861273, 0.012943645, -0.0227794759, -0.0550785437, -0.0468737967, -0.0568627529, 0.0233050585, -0.0840975791, 0.011906011, -0.043916747, 0.0029933916, -0.0263118353, 0.0056961859, 0.0298234858, 0.0039793449, 0.0439850502, 0.0187183172, -0.043615777, 0.0533388518, 0.048099678, -0.0542232879, 0.0682779625, 0.0023813245, 0.075212948, 0.054491397, 0.0124034667, -0.0248960927, -0.0140883792, -0.0008029246, -0.0072338306, 0.0797187835, -0.0215439145, -0.0616891682, -0.0159750469, -0.0289200544, 0.0146620395, -0.0245533306, -0.0424293689, 0.0388822593, 0.0600409955, 0.0098822825, -0.0103323013, -0.0036046267, 0.0066523124, 0.0191618092, -0.0098126549, 0.0038300173, 0.0407499224, -0.0049822233, -0.0336912833, 0.0030262482, 0.0368981138, -0.0229945257, -0.0363837518, 0.0061446978, -0.0265077595, 0.0297859982, -0.0457310826, -0.0031344926, 0.0139057152, -0.0424631983, -0.0138475308, 0.0288100783, -0.0412718914, -0.0539071746, -0.0063500572, 0.034836974, -0.0229794905, -0.0255266801, -0.0014015303, 0.0116658648, -0.0295144264, 0.1027740166, 0.0529853739, 0.0304504186, -0.0049455557, 0.0023684136, -0.0408935323, -0.0421504192, -0.0552674048, 0.0016611589, 0.0190734603, -0.0050484398, 0.0317312703, 0.008383505, 0.0566309094, -0.0177326351, -0.0076510273, 0.0898238197, 0.0414575413, 0.0134420991, 0.0462263674, 0.0219904259, 0.0601740107, -0.015828805, -0.0142922997, 0.0105746947, -0.0191707816, -0.0168811698, 0.0476087034, -0.0223094374, -0.0060443822, 0.0388925113, -0.087460801, -0.02116579, -0.0100014834, -0.0428879969, 0.0361133777, 0.0613410808, -0.0107177235, -0.0388790853, -0.0213306118, -0.0226910468, 0.0081305429, 0.0129924072, -0.015868973, 0.055800546, 0.0333426632, -0.0373451635, -0.0454927981, -0.0045310152, 0.0549938157, -0.0236508176, 0.0181460828, 0.0118414452, 0.0032759467, 0.0177289248, 0.0316609628, -0.0126890838, -0.0591999888, -0.0006309724, -0.094119899, -0.016421888, -0.0158035606, 0.0233960506, 0.0026943716, -0.0511173047, 0.0205112379, 0.0170924738, -0.0121607874, -0.0011569222, -0.018273674, 0.0161799714, 0.0244958457, -0.0180806033, 0.0608014837, -0.0167213175, 0.0042242226, -0.0144493207, 0.0475143977, 0.0418196879, -0.0133155929, -0.0062875743, -0.0005026068, -0.0363883302, 0.0093727363, 0.0087188054, -0.0353721343, 0.0617522374, 0.004231737, 0.0320172235, 0.0253647529, 0.0382625647, 0.0421246327, -0.0037931958, 0.0046123732, -0.0381101072, -0.0252445489, -0.0013053094, 0.0516641811, 0.0313919112, -0.0276407916, 0.0137384711, 0.0440382175, -0.0207544453, 0.0421700142, -0.0654752553, 0.0499660335, -0.0113331303, -0.0105662476, -0.0131030008, -0.0039325273, 0.0196967497, 0.0186296124, -0.028577039, -0.0254080407, 0.0510148332, 0.0027806333, 0.029884221, -0.0463191383, -0.0639310032, 0.0031386469, 0.0431401432, 0.0049558938, 0.0377489179, 0.041913867, 0.0381561294, 0.0297427587, -0.0641384348, 0.042058479, -0.0196468905, 0.0025725996, -0.0185025688, -0.0142181972, -0.0019021413, -0.045519989, 0.0097039361, -0.0362224579, -0.0320213139, -0.0586687513, -0.0353225879, -0.0004027089, 0.0038642127, 0.0020606711, 0.0006677131, -0.0308910329, 0.0220891777, -0.0041728001, 0.0464544408, 0.0311899129, 0.0251959842, -0.0033199203, -0.0194610972, 0.013074616, 0.0297354236, 0.1124424785, -0.0210719965, -0.0487016402, -0.0801733956, -0.0251990501, -0.0334562398, -0.0041760723, -0.0123273274, -0.0462649241, 0.0663902313, -0.028420398, 0.0698928982, 0.0421369858, 0.0261145495, -0.0152335614, -0.018887762, 0.013102795, -0.0284960214, -0.0015084618, -0.024291316, -0.0840475559, -0.0253370441, -0.0540845133, -0.0078839175, -0.0528320484, -0.0067995801, -0.0280390959, -0.0499657243, 0.0758254901, 0.0010219568, 0.0345170945, -0.000744137, -0.0326483399, -0.0004262529, -0.0264541768, -0.0391874611, -0.0359213762, 0.0182666983, 0.0152707072, 0.0277965218, -0.021576032, 0.0147075951, -0.0065081487, -0.0475722626, -0.0114407167, -0.0263956171, 0.0559937656, 0.0085210204, -0.0639980957, 0.0177732129, 0.0161427595, -0.0077282442, -0.0303145479, 0.0306892078, -0.0098938998, -0.0243038181, -0.0257407259, 0.0254008919, 0.0299025513, -0.0781855211, 0.0007090842, 0.0584949218, -0.0359484963, -0.0107290121, -0.0218468513, 0.0496559925, 0.0206638481, 0.0154416626, 0.029902745, 0.0159662683, -0.0376034155, -0.0328955017, 0.0008563851, -0.0969727859, -0.0036772112, -0.0227066129, -0.007669949, 0.0205791965, -0.0656777397, -0.0185887385, -0.011372881, 0.0249573663, -0.0636311099, -0.0301230811, 0.0081665535, 0.0351845808, -0.0419414006, 0.0333259404, 0.0358901098, 0.018542679, 0.0223020781, -0.0118507203, 0.0096798427, 0.0159339402, -0.0261075944, 0.0259478148, -0.016758658, -0.0573572852, -0.0293023475, 0.0560659915, 0.0051900237, -0.0200214218, 0.040087685, -0.0301624257, 0.0237368476, 0.0503283292, 0.0445187986, -0.0232140869, 0.0687697753, 0.0162691679, 0.0056885784, -0.0022778502, 0.0102029881, 0.0645301044, 0.0077118878, -0.0227979757, -0.0408185273, 0.0310413726, -0.0285466574, 0.0041172178, 0.0539632328, -0.0005271666, -0.0897385627, -0.0253627859, -0.0126806339, -0.0085402066, -0.0131949643, -0.0406147093, 0.035652224, -0.0270616617, -0.0297633242, -0.0027920986, 0.007882989, -0.0326268747, 0.0488484986, -0.0105716176, 0.0607420243, 0.0333520286, 0.0227609631, -0.0563860945, -0.0022590912, -0.0181115158, 0.0140021443, 0.0233509243, 0.0119631412, -0.0228393786, 0.0820269808, 0.0126676243, -0.002989277, 0.0124482391, 0.0380900949, -0.0037866042, 0.0106534809, -0.0185532495, -0.0061333608, 0.0432343408, -0.0239014365, 0.0509131812, -0.027664911, -0.0229122117, 0.0042311247, 0.0266186688, -0.013686724, -0.0130405864, 0.042432379, 0.0012289672, -0.0132655995, 0.0125500727, 0.018834129, -0.0975463241, 0.0035852953, 0.0604875237, -0.0370965637, -0.0382825695, -0.0512791723, -0.0183025096, 0.0300442465, 0.0150224296, 0.0233458392, 0.0091036242, -0.0020561561, -0.0151420115, -0.0053145271, -0.0026714134, 0.0609193891, 0.013530124, 0.0302334204, -0.0006319148, 0.0320968255, -0.0311759319, -0.0302485414, -0.0065212338, 0.0009232335, 0.0127716139, -6.714255489e-33, 0.0308866147, -0.0358668193, -0.0225065518, 0.0668601096, 0.0261889063, 0.0047350824, -0.0118440771, 0.0419308208, 0.0006956968, 0.0875350311, 0.0527881831, -0.0036790033, 0.0215039663, -0.0126406252, -0.015072315, 0.0330950767, -0.0056295902, -0.0194687042, -0.0328070857, 0.0321586169, 0.0254182536, -0.0429088697, 0.0272772666, -0.1234655827, 0.025871072, 0.0359216817, -0.0315488018, -0.0387616493, 0.0379302725, 0.082648702, -0.0023227639, 0.0506662093, 0.0349173956, -0.0584148243, 0.0105853826, 0.0456256606, -0.0551282056, -0.0443909466, 0.0190400165, -0.0406025201, -0.0518376455, -0.0488539897, -0.0157592595, 0.0145046068, -0.019334076, -0.048187837, 0.0111867134, -0.0130745284, 0.0505608954, -0.0125381518, -0.0323352143, 0.0310978405, -0.0529088974, -0.0131686432, 0.0054759425, 0.0258549657, 0.0232000966, 0.0695133433, -0.054596547, 0.0338274539, -0.053911902, -0.037825793, 0.0207990222, -0.0732886195, -0.0195131265, 0.0594805814, -0.0141950911, -0.0067739701, -0.0292363446, 0.0216266289, -0.0451565087, 0.0749030486, 0.0740295649, 0.0755636767, 0.043884322, -0.0063632792, -0.0799950287, -0.0066841315, 0.0784408897, 0.0462415144, -0.0020462093, -0.0005348151, -0.0002558749, 0.0008806, 0.0129271327, -0.0852623358, -0.0459748022, -0.0705540851, -0.0331809297, 0.0271792039, -0.0014151834, 0.0910400525, 0.0237741135, -0.019484276, 0.0051154592, -0.0118840812, -0.0029216334, 0.0205599032, 0.0169484522, -0.0027716665, -0.0244349577, 0.0041495501, 0.0402156487, 0.0251068715, 0.056050919, -0.0230118986, 0.0668106824, -0.0239955559, -0.0465677045, -0.018286081, -0.0190516822, 0.0270473156, -0.0306255966, 0.0493289195, -0.0196093246, 0.0242244117, -0.0158642828, 0.0233493708, -0.0080836099, 0.0086649982, -0.0162500944, -0.0697991997, -0.0335901268, 0.0049568112, -0.007935741, -0.0062382836, -0.0038084243, -0.040897239, 0.0136807701, -0.0636718571, -0.0147867678, -0.0105089266, 2.703e-7, 0.0399734452, 0.0447108932, -0.0162705779, -0.0335729495, 0.0174813513, 0.0339544863, -0.0286270753, 0.0064393342, -0.0046914178, -0.0345767587, -0.030905826, 0.0351068899, 0.0407607257, 0.0485081449, -0.0079771802, -0.0555015244, -0.0323194377, -0.041026812, -0.0529399998, 0.0522993356, 0.0649836808, 0.0615566671, 0.0165574849, -0.0188997053, 0.0001124498, 0.0088785626, 0.0650131181, -0.0291309375, -0.02278083, -0.0425341651, 0.0550489984, -0.0726518556, 0.003627727, 0.0081358179, -0.0153697813, -0.0374429971, 0.0085461149, 0.0454722457, 0.0253956709, -0.030077232, -0.0030592058, 0.0253635328, -0.0046125143, -0.0455402285, 0.0395266674, -0.0797269046, -0.0659213066, -0.0663761869, -0.0426905416, 0.0221422184, 0.0550943464, -0.0131058404, -0.0580730848, -0.0251225121, 0.028892424, 0.0042648641, -0.0170765705, -0.1028924808, -0.0148922876, 0.0194362123, 0.0101770507, -0.0137492856, 0.0301102865, -0.0514379703, 0.0405662246, -0.0261332877, -0.0053868541, 1.660733253e-34, 0.0413087755, -0.0266258046, 0.0287654158, -0.0218274537, 0.0307907369, 0.0242037494, -0.035413295, -0.0254406314, 0.0138017423, -0.0274593309, 0.005041535 ]
http://arxiv.org/abs/2310.09725v3
http://arxiv.org/pdf/2310.09725v3
KGQuiz: Evaluating the Generalization of Encoded Knowledge in Large Language Models
2023-10-15T04:00:36
2024-03-23T11:45:55
Yuyang Bai, Shangbin Feng, Vidhisha Balachandran, Zhaoxuan Tan, Shiqi Lou, Tianxing He, Yulia Tsvetkov
cs.CL
cs.CL
Large language models (LLMs) demonstrate remarkable performance on knowledge-intensive tasks, suggesting that real-world knowledge is encoded in their model parameters. However, besides explorations on a few probing tasks in limited knowledge domains, it is not well understood how to evaluate LLMs' knowledge systematically and how well their knowledge abilities generalize, across a spectrum of knowledge domains and progressively complex task formats. To this end, we propose KGQuiz, a knowledge-intensive benchmark to comprehensively investigate the knowledge generalization abilities of LLMs. KGQuiz is a scalable framework constructed from triplet-based knowledge, which covers three knowledge domains and consists of five tasks with increasing complexity: true-or-false, multiple-choice QA, blank filling, factual editing, and open-ended knowledge generation. To gain a better understanding of LLMs' knowledge abilities and their generalization, we evaluate 10 open-source and black-box LLMs on the KGQuiz benchmark across the five knowledge-intensive tasks and knowledge domains. Extensive experiments demonstrate that LLMs achieve impressive performance in straightforward knowledge QA tasks, while settings and contexts requiring more complex reasoning or employing domain-specific facts still present significant challenges. We envision KGQuiz as a testbed to analyze such nuanced variations in performance across domains and task formats, and ultimately to understand, evaluate, and improve LLMs' knowledge abilities across a wide spectrum of knowledge domains and tasks.
[ 0.0363213792, 0.0197523851, -0.0073935059, 0.0344622657, -0.0399020761, 0.0107888933, 0.0128482888, -0.0008542142, -0.0028608881, -0.0533461832, -0.0060334192, -0.0206994284, -0.0265093017, 0.0356059745, 0.0352606699, -0.0225142669, 0.0651999116, -0.0464442968, 0.0073295794, -0.0084574632, 0.0106859552, -0.0012480483, 0.0032886786, 0.0271632597, -0.0175060332, -0.0238787904, -0.033009477, -0.022526728, -0.0023046881, 0.0110206669, 0.0018801783, 0.0705061033, 0.0225822236, 0.0542939156, 0.0000020871, -0.0511300676, -0.001115847, -0.0124618551, -0.0548947491, 0.0535493493, -0.0170620233, -0.0015945019, 0.0145146903, 0.0028680183, -0.04760544, -0.0185597334, 0.0248808991, 0.0276790485, 0.0465970412, 0.0756591186, 0.0144619588, 0.0053021307, 0.0263095573, -0.0325133093, 0.0295775998, -0.0385453515, 0.0347066484, 0.0582802519, -0.0052304873, -0.0000502123, 0.001439701, 0.0397849604, 0.0426266752, -0.0126765613, 0.0088722585, 0.0388644226, -0.0449375026, -0.0013149951, 0.0174558703, 0.0810566619, 0.0031239886, -0.0069176219, -0.0164099056, 0.0085623385, 0.014883575, 0.0011353804, -0.0344381183, 0.01122633, -0.0101217842, -0.0169819202, -0.0175124649, -0.0279433392, 0.0377432406, 0.0086947242, -0.0369214714, 0.0924100578, 0.0282070991, -0.0349741727, 0.0063500786, -0.0318787172, -0.0700324774, -0.086148344, -0.0042960132, 0.0453987494, -0.0498207137, 0.0180869047, -0.0386603363, -0.0058665876, 0.0349857211, -0.021846341, 0.0478253886, 0.0424096063, -0.014376035, 0.0753424317, -0.0396069139, 0.0834257603, -0.0135355638, 0.0199478846, -0.0176602677, -0.0230073277, -0.0556459986, -0.0247674547, -0.0056988439, 0.0432739444, -0.0376715027, 0.0001828248, -0.0127850873, 0.0169032775, -0.0182268694, 0.0496815182, 0.0290212333, 0.0092014791, 0.0083692726, -0.0519252904, -0.0562606566, 0.0303811915, -0.0664850473, 0.0243321862, 0.0318398066, -0.0430123955, -0.006612638, -0.0098235318, 0.0059322775, -0.0369189344, 0.0143649159, 0.0432807915, -0.0264423899, -0.0081408145, -0.0317725241, -0.0497940592, -0.0054864809, -0.0984993353, -0.013518475, -0.0612052716, 0.0470629707, 0.0237320773, -0.0278947689, -0.0329617001, 0.014532485, -0.0001263512, -0.0043621948, 0.0550207309, 0.0085652247, 0.0079358816, 0.0319231004, 0.0315662846, -0.0303340703, 0.0591688827, 0.0181483123, 0.0159039889, 0.027295256, 0.0064703473, -0.0110947359, 0.0376056693, 0.0379403047, 0.0140712, -0.019835934, 0.0542270429, 0.0345904678, 0.0712924376, 0.0123919677, 0.0567347929, -0.0385065936, -0.0135160936, 0.0746598616, -0.0023620459, 0.0122463284, 0.010709445, 0.0597925484, -0.0227380749, 0.0438471138, -0.0008086896, -0.0540496036, 0.0330002904, -0.0428404659, 0.0170481391, -0.0057684095, 0.0350204743, -0.024826752, -0.0288546868, -0.0121482881, 0.012773646, -0.003551332, 0.0062811966, 0.0265494362, 0.0197378136, -0.0182194375, 0.0564702302, 0.0152392071, -0.019644076, 0.0108223082, -0.0444854833, 0.0492032692, 0.047894869, 0.0482007079, -0.0458965227, -0.0630042627, -0.017672237, -0.0015829647, 0.0146862091, 0.0628987923, -0.0345858075, -0.0060150982, -0.0272610635, -0.0164040849, -0.0521559119, 0.0304188766, 0.0168491378, 0.0752197281, 0.0108655356, 0.0210765824, -0.0593178943, 0.0209539849, 0.0159342643, -0.0622296855, -0.0407289043, -0.0117133725, 0.0039447914, -0.0117566502, 0.0007353103, -0.0126759475, 0.0113236243, -0.0074134897, -0.0404705591, -0.031763766, -0.0085031539, -0.0446678884, -0.0427535102, 0.0618626513, 0.0081766732, -0.0314940959, 0.0502383448, -0.0392495617, -0.0324736759, 0.0092817526, 0.0131292203, 0.0534847043, -0.0501181409, -0.003428627, 0.0025450271, -0.0255057868, -0.0081513599, 0.0860249773, -0.0075425934, 0.0009275025, 0.0145840701, -0.003892991, 0.0069972849, -0.0058689523, -0.0244889818, 0.0087622497, -0.0067231096, -0.0032036847, 0.0094077997, 0.0057839612, -0.0652525276, -0.0176607855, -0.0918850973, 0.0431925915, -0.0249704216, -0.0000427736, 0.0341742039, 0.000386172, 0.0017118957, 0.0251488071, -0.0614073016, -0.0004935769, 0.0083556613, 0.0175408944, 0.0254884753, 0.0187241919, 0.010791976, -0.0192429107, 0.0155057497, -0.0211346913, 0.0440248549, -0.0023312403, 0.0461963005, -0.0200667623, 0.0627263859, -0.08214131, 0.0208429191, -0.0154293599, -0.0036093062, -0.0051762904, -0.0223707724, 0.0594923533, 0.061367318, -0.019845888, -0.0074099666, 0.0534056239, -0.0145222116, -0.0481559075, 0.0340351872, -0.0186742581, -0.0201868825, -0.0383154191, -0.0133620659, -0.024448175, 0.0674075186, 0.0163252838, -0.0237341709, -0.0582393743, 0.041429624, -0.0297206845, -0.0241729096, -0.0775302649, 0.0126336627, 0.006208295, 0.0499335229, -0.0398519896, -0.016409412, 0.0682197586, -0.0192118268, 0.0050580497, 0.001615144, 0.0114782825, -0.0309479702, 0.0795228258, -0.0253451783, 0.0259627141, 0.0119549539, 0.0082649942, -0.0691517591, -0.0161957107, 0.002278809, -0.0542115904, 0.0666094497, -0.0713645443, -0.0014309806, 0.0073159114, -0.0551186129, -0.0428652614, 0.0113960411, -0.0246045757, 0.033206556, 0.0163235795, -0.039536614, -0.0016293266, -0.0017063373, 0.0524875522, 0.0606168061, -0.0234012846, -0.0188242123, -0.0301468484, 0.0463513806, 0.0698516071, 0.0333036594, 0.0455255061, -0.0241071247, 0.0264765434, 0.0547015667, 0.0121786762, 0.0006721027, 0.0017303211, -0.0017356921, -0.0252390131, -0.0611624494, 0.0038370383, -0.0032852462, 0.0458175242, -0.0609415397, -0.0099764299, 0.132064566, 0.0225179344, -0.008348804, -0.0071026143, -0.0381432958, 0.0380738713, 0.0431764349, 0.0416047461, -0.1085137278, -0.0204645488, 0.0078857848, -0.0275611021, 0.0007541255, -0.0696955174, -0.012659872, -0.1270448864, 0.0080183614, -0.0177489389, -0.0321861655, -0.0532836206, 0.0033537296, -0.003273549, 0.0023989235, 0.0162037443, 0.0340800956, 0.0259489492, -0.0035167371, -0.0084680477, 0.0073466748, -0.0461726785, 0.0863325521, -0.024633551, 0.0558099225, 0.0160449035, 0.0198152214, 0.0045755063, -0.0127863334, -0.0323191248, 0.029741941, -0.0037430683, -0.0006559896, 0.0185926072, -0.0008106983, -0.007550878, -0.0025542984, 0.0059115216, -0.0307094157, -0.0098226815, 0.0278510768, 0.1027671471, -0.0032878721, -0.0332743786, 0.0118479589, -0.0195442531, -0.0140095968, 0.098118566, 0.0307875052, -0.0199885573, -0.0151963914, -0.0235756319, -0.0176858641, -0.053741999, -0.0255478974, 0.0205964819, 0.0249156356, 0.0315461084, -0.0675276443, -0.0143147977, 0.0633372739, 0.0368086398, 0.0135531556, 0.0004507648, 0.0358806886, -0.0210257769, -0.0564016365, -0.006809013, -0.05492872, 0.0015559238, -0.0076181516, -0.0207484737, 0.0049081948, -0.042854555, -0.0300029498, -0.0125078717, -0.0903305411, -0.0623634234, -0.0142802773, 0.0461069196, 0.0270419791, 0.053651724, -0.012041444, -0.0466966592, 0.0400571302, -0.0227674898, -0.0342808105, 0.025550833, -0.0086090779, -0.0081364624, 0.007176721, 0.0557235144, -0.0416760482, -0.0058776326, -0.0004651762, 0.0304369833, -0.0238030218, -0.0167906526, 0.0133144362, 0.0193661638, -0.0133756399, 0.0175915975, 0.0086805336, -0.0353469476, 0.0209299624, -0.0378041007, -0.0263047833, -0.0437758416, -0.0004181408, 0.025801871, -0.0031339622, 0.0095094694, -0.0090685962, 0.0272564627, 0.0343112759, -0.015620511, -0.0437351838, 0.0009858827, 0.0125550684, 0.0782975629, -0.0254986621, -0.0172984954, 0.0389907546, -0.023974169, 0.0480705127, -0.0465864316, 0.0555249825, 0.0094039254, -0.0138939647, -0.0067999866, -0.0140397791, -0.0426651426, -0.0658443421, -0.0060057309, 0.0522676073, 0.0388640612, 0.0109872799, 0.0125289299, -0.0662377402, -0.0449570268, -0.0063126492, 0.0053039896, 0.0107141593, -0.0209601037, 0.0195127521, 0.0304901749, -0.0199998356, 0.0121662887, 0.0865367502, 0.014546074, 0.0945593193, -0.0092088813, -0.0122139687, -0.0563567877, -0.0355814509, 0.0067011658, -0.003397739, -0.0177995004, 0.0312285814, -0.0882344022, -0.0751539245, 0.0127940113, 0.0326189697, -0.0239069089, 0.0007340109, 0.0146947354, 0.0720908269, -0.0059833177, -0.0355302803, -0.0248953868, 0.0299856551, -0.0466040671, -0.0005218534, 0.0163794346, -6.784973229e-33, -0.0465933606, -0.0143893668, 0.059847489, -0.0348363258, -0.0243313815, 0.0141954795, -0.0247659814, 0.0043153344, -0.0237163939, 0.0289316028, -0.0158120487, 0.0132253543, -0.0150572704, 0.0246119555, 0.0007305378, -0.0163875446, 0.0244644526, -0.0134307556, -0.0315445401, 0.0354463756, 0.0455926321, 0.0222857613, 0.0508455075, -0.0095898807, 0.0143674389, -0.0016577531, -0.006853071, 0.0474689938, -0.0588252991, 0.042500101, -0.0315688662, 0.0237823594, 0.0144287106, -0.0584088303, 0.0042875651, -0.0269777123, -0.0644623041, -0.0172416624, 0.0427159071, -0.013822685, -0.0441922508, -0.0317117423, 0.0273004137, 0.0030096285, 0.0040338668, -0.0423394553, 0.0004623666, -0.0104225464, -0.0059965756, -0.0236102995, -0.0647709891, 0.0092507396, -0.017424481, -0.0181512572, -0.0301096775, 0.0121382736, 0.0110666472, -0.0084662409, -0.0617338754, -0.0084738694, 0.0347101279, 0.0278285537, 0.0539416596, 0.0016255151, 0.0024875738, 0.0527577624, -0.004567313, 0.009802348, -0.0471157692, 0.0395314917, -0.0009392847, 0.058676526, 0.0255558454, 0.0825178698, -0.0098847253, -0.010011171, -0.079618521, -0.0079021649, -0.0082409913, 0.0135631235, 0.0121478606, -0.011713339, -0.0006265843, 0.0086324774, -0.0648341179, 0.0565672629, -0.0520267412, -0.0101206172, 0.0476090014, 0.0011936437, -0.0083505269, -0.0189371631, 0.0180352889, -0.0280259233, 0.0183753334, 0.0406741984, -0.0329460725, 0.0270077493, -0.0134337312, 0.0440504663, -0.067395933, -0.0174784325, 0.0112496121, -0.0021496194, 0.0059612049, 0.0265588406, 0.037976481, 0.0178556982, -0.0456608273, 0.0060977819, -0.0474592894, 0.040525075, 0.0157625172, -0.0167585816, 0.0150486054, 0.0049423734, -0.0074954033, 0.0057340306, 0.0352216847, -0.0049870168, -0.0286375415, -0.0003769318, 0.0192706473, 0.0254028495, -0.0132634994, -0.0000854788, -0.0501075014, -0.0348736644, 0.0409071781, -0.0228803232, 0.0089383293, 0.0218545776, 2.773e-7, 0.0491454601, 0.063798964, -0.0059255916, 0.0493316427, 0.0187839307, 0.0441791192, -0.0173468627, 0.0149928769, 0.011095807, -0.048058942, -0.0054027713, 0.0493735559, 0.0297733005, 0.0431520045, -0.07714542, -0.0118660275, -0.0401172712, -0.0259522814, -0.0636707917, -0.0195320304, 0.0397875868, 0.0731086209, 0.0254355893, -0.0072543882, 0.0299118403, -0.0704917833, 0.0805518553, 0.0000863413, -0.0319633782, 0.0246845335, 0.0432918034, 0.0270733889, 0.0150921708, 0.0414836779, 0.0200260244, -0.0069210082, 0.0087089855, 0.1062105671, 0.0345596112, -0.0098344935, -0.0283090193, -0.0356438868, -0.0060816798, -0.1050834209, 0.1006993055, -0.0333044678, 0.0006795339, -0.0197540335, 0.0197575111, -0.0171479266, 0.0171260163, -0.0308060404, 0.0111285532, -0.0029217419, -0.0064083561, 0.0178885367, -0.0088616172, -0.0557669252, -0.0507902801, 0.0069914293, -0.0329591073, -0.0768924952, -0.0604166761, -0.0554998927, 0.0178679135, -0.06727878, 0.0177134052, 2.744954026e-34, 0.0233742371, 0.0155137191, 0.0319193155, 0.006604665, 0.0610027239, -0.0185643416, -0.0339495502, -0.0254087914, -0.0102553386, -0.0877538994, -0.0034823178 ]
http://arxiv.org/abs/2310.09720v1
http://arxiv.org/pdf/2310.09720v1
HiCL: Hierarchical Contrastive Learning of Unsupervised Sentence Embeddings
2023-10-15T03:14:33
2023-10-15T03:14:33
Zhuofeng Wu, Chaowei Xiao, VG Vinod Vydiswaran
cs.CL
cs.CL, cs.LG
In this paper, we propose a hierarchical contrastive learning framework, HiCL, which considers local segment-level and global sequence-level relationships to improve training efficiency and effectiveness. Traditional methods typically encode a sequence in its entirety for contrast with others, often neglecting local representation learning, leading to challenges in generalizing to shorter texts. Conversely, HiCL improves its effectiveness by dividing the sequence into several segments and employing both local and global contrastive learning to model segment-level and sequence-level relationships. Further, considering the quadratic time complexity of transformers over input tokens, HiCL boosts training efficiency by first encoding short segments and then aggregating them to obtain the sequence representation. Extensive experiments show that HiCL enhances the prior top-performing SNCSE model across seven extensively evaluated STS tasks, with an average increase of +0.2% observed on BERT-large and +0.44% on RoBERTa-large.
[ 0.0023607134, 0.0610244311, 0.0049037412, 0.0255600307, -0.0551519841, 0.0122932326, 0.0101563428, -0.0389124677, -0.0147188017, -0.0498680361, -0.0131494738, -0.0249321256, -0.0005732038, 0.0122059993, 0.0357023478, -0.0882553011, 0.0246094875, -0.0022783352, 0.0099654095, 0.0122638755, 0.0189659633, -0.0083752833, -0.0151989888, 0.0350701734, -0.0103026293, -0.0357095599, 0.0084157242, 0.0229925755, 0.0667750388, -0.0521490648, 0.049408108, 0.0510334671, 0.0563990586, -0.006131452, 0.0000018633, -0.0255323295, -0.0074109132, -0.0030776598, 0.0216517877, 0.0269656368, 0.0395034552, -0.032342121, 0.0048347232, 0.0343397558, -0.024170829, -0.009733174, 0.0001564594, 0.0678590462, 0.0327417515, 0.0704108924, -0.022997031, -0.0516216904, -0.0015014061, -0.0129348272, -0.0483737849, 0.0349607617, 0.0178996678, -0.0303467866, -0.0209732372, 0.0355439186, -0.0232950207, 0.0134649696, 0.0464185923, -0.0086089736, 0.018004125, 0.0282305162, -0.0554231666, 0.0465511233, -0.0090531241, 0.0710886568, -0.0116340797, 0.0130358217, -0.0167670287, 0.0111809727, -0.0167382471, -0.0496839173, -0.0096543105, 0.0252582692, 0.0154543212, 0.0402012318, 0.0419441909, 0.0439094789, -0.0104412893, -0.0172630288, -0.0430176444, -0.01381044, 0.0300404914, -0.0489137731, -0.0134369945, 0.0117537687, -0.0117606409, -0.0141146695, 0.0574125238, -0.0130144646, -0.0569562055, -0.0207087081, -0.0170140173, -0.0396401063, 0.0067119468, -0.0217271671, 0.0230364911, 0.0312249549, -0.0241896044, 0.0162812509, -0.0230173543, 0.0387538001, -0.0228589289, 0.0142291188, -0.0512106344, -0.004220115, -0.0288667735, 0.0109932069, -0.0538304448, 0.0307853725, -0.0710276812, -0.0415199623, -0.0394492224, 0.019734839, 0.0397132821, 0.0201695282, 0.0203470327, 0.0165326037, -0.0229247827, 0.016984418, 0.0276548173, 0.0349885784, -0.0492344089, -0.0052296882, 0.0190696716, -0.0072137211, -0.041236531, 0.0513794012, 0.0236438904, -0.0284016822, 0.0103297988, 0.0194902308, -0.0186192077, -0.0691498294, -0.0301387906, 0.0201899782, -0.0345452465, -0.0247106161, -0.0013768255, -0.0512323342, 0.0148170963, -0.0041722981, -0.0037756821, 0.0292509533, -0.0111860596, 0.0244966745, -0.0102837821, 0.0437530503, -0.0149491485, -0.0732041448, -0.0519362055, 0.007697768, 0.0224206708, 0.0351165533, 0.0329923816, 0.0206615664, 0.00431696, 0.0042180903, -0.0244185049, -0.0019337389, -0.0097617554, -0.012759014, -0.0521828942, 0.0322146341, -0.0001211623, 0.0213358682, 0.0562440492, 0.0660538822, -0.0306669325, -0.0290847234, 0.0405554101, 0.053226307, 0.0039414489, 0.0261591394, 0.0663585812, 0.0453083962, -0.0239967294, 0.0469657853, -0.0044968645, 0.0216792915, 0.0276954863, 0.0321973376, 0.0468978249, 0.0143123642, -0.0325520374, 0.0023526496, -0.0156033859, -0.0484772809, -0.0296746828, -0.0336495601, 0.0507575981, 0.0419553816, -0.0584130585, 0.0579355992, 0.0417912193, -0.0503080711, -0.0315075852, 0.0176082272, -0.0256524496, 0.0535114631, 0.0440596864, -0.01554091, -0.0105668316, -0.0151141193, -0.0189676695, 0.0816694498, -0.0354657993, 0.0003714011, 0.017989181, -0.0442163572, -0.0220433418, -0.0497751907, 0.0040229876, 0.0020608597, -0.0137413284, -0.0146083273, 0.0143521437, -0.033849027, 0.0322290398, 0.021359764, 0.0162984505, -0.0068132337, 0.0035753886, 0.0305904932, 0.0075129527, 0.0254561435, -0.0286543928, 0.0202399995, 0.0182134006, -0.0781104565, -0.025821168, -0.0245553013, -0.1100521982, -0.1305356324, -0.0266345777, -0.0850098729, -0.0037352473, 0.0900469795, -0.04378758, -0.0140960785, -0.0127186282, -0.0686018243, 0.0461939871, -0.0264836736, -0.0231456347, 0.043913953, 0.0276686456, -0.0066218488, 0.0756966695, -0.03444314, 0.0094403969, -0.0033702301, 0.0342281684, 0.0110046631, -0.0528281033, -0.0289788581, -0.0166158956, -0.0008878159, -0.038888935, -0.0005664761, 0.0194066223, -0.0242591258, 0.0117975082, -0.0618594512, -0.0021624514, -0.0212634094, 0.0198423974, 0.0051210392, 0.0185606815, 0.0110878348, -0.0231570359, -0.023253398, -0.0225110836, -0.0306047518, 0.027637925, 0.0652794838, -0.0090385666, -0.0417276844, -0.0352764688, -0.0261785816, -0.018657418, 0.0940975696, -0.057446681, 0.0139899524, -0.0305710956, 0.0312482752, -0.0016165175, 0.0046502347, 0.0053540757, -0.0861766785, -0.0054837395, 0.0033757933, 0.0730910823, 0.0643000081, 0.048536472, 0.0054747043, 0.0023294825, 0.0015596462, 0.0127955275, 0.0127763962, -0.0090247151, 0.0538586862, -0.0291987415, -0.0097630266, 0.004512792, 0.1178419739, 0.0031014676, 0.0149586648, -0.0252002925, -0.0404206626, 0.0122573739, 0.0249032788, -0.001727566, -0.0115093151, -0.0272358824, -0.0219639782, -0.0263281353, -0.00314882, 0.070905827, -0.0436453409, -0.0214668121, -0.0717787743, -0.0340151303, -0.037214458, 0.0279225539, 0.0292088483, 0.0241141506, 0.0068494081, -0.0483528599, -0.013638759, -0.0143371094, -0.0131445872, 0.0095190722, 0.0133309206, 0.0153149301, -0.0293839462, -0.0296974685, -0.0740859583, -0.046384532, -0.0304181725, -0.0184624381, 0.0424753316, 0.1053159982, -0.0244422331, -0.0379228443, -0.0194746722, 0.0190584734, 0.0658920631, 0.0132117867, 0.0036421097, -0.0296072289, 0.0952423438, 0.0454252921, -0.0020002215, 0.0296071656, -0.0187919103, 0.0436225832, 0.0575988777, 0.0475828424, 0.0049339635, -0.0611460097, -0.0095354784, 0.0008380787, -0.0331067257, 0.0111254407, 0.0056181909, 0.0302603431, -0.0311720595, -0.030546315, 0.110992521, 0.0235442147, -0.0406589061, 0.0115188072, 0.0140031865, 0.0171463527, 0.0015541969, -0.017230073, -0.0596134476, -0.0313429572, -0.0008007977, -0.0058861561, 0.0266018305, -0.0252702963, 0.0095681101, -0.0647944957, 0.010951506, -0.0076410305, -0.060171321, -0.0152172921, -0.0354416408, -0.0283654965, -0.0060985829, 0.0269775558, 0.0140560912, -0.0215819422, -0.0260053594, 0.0098704007, -0.0689127445, -0.0382448435, 0.0169930253, -0.0491256379, -0.0158031788, 0.0330784656, 0.0184165016, 0.0218067411, -0.0340011381, -0.0125153577, -0.0625523403, 0.0076892618, -0.0115244659, 0.0546278171, -0.0689836442, -0.0149414996, -0.0517678298, 0.0189372431, -0.0221459605, -0.0135154286, -0.0217570588, 0.0460051522, 0.029385034, 0.0028165472, -0.0363825634, 0.032938607, -0.0029217412, 0.0696050227, 0.0380740948, -0.0471429341, -0.0102679562, -0.0085771494, 0.0081949681, -0.0687315762, 0.0283318907, 0.0110408822, 0.0376229435, 0.0467434376, -0.0619093738, -0.0581443757, -0.0220711883, 0.0210060552, -0.0541933775, 0.0042168899, -0.0442572646, -0.0108683808, -0.0397476032, 0.0312007125, -0.028221868, 0.0068344208, -0.0231889915, 0.0041037397, 0.0480824225, 0.0128304772, -0.0525202304, -0.0600455217, -0.0410940014, -0.0133143403, -0.0271349829, 0.0514701568, -0.0039810315, 0.0160148088, 0.0127666239, -0.0005043038, 0.0755226538, 0.027986981, -0.0227437634, -0.0047624391, 0.0401300341, 0.0122276349, -0.0009326868, 0.0352418758, -0.0236333031, -0.0017164601, 0.0146286394, 0.0600680783, 0.0266303159, -0.0101232659, 0.005579534, -0.041011367, 0.0894212797, -0.0132922176, 0.006630545, 0.0064383713, 0.0575247966, -0.0320594646, -0.0013098947, -0.037843056, 0.0329255983, -0.0062166657, 0.0484680794, -0.015575978, 0.05559754, -0.0215415787, 0.0128315445, -0.0004854728, 0.0479753464, 0.0269496385, -0.0063411193, 0.0007969362, 0.0115728294, -0.0466868058, -0.0454615951, -0.0235402789, 0.0106312837, -0.0253642872, 0.0417276807, 0.0432087407, 0.0011640138, -0.0155766848, 0.05711402, -0.0452678278, 0.0853635445, -0.0329266153, -0.0223893765, 0.0765592828, -0.0419067554, 0.0036683583, -0.0079630809, 0.0084729483, -0.0060365843, 0.0522928201, -0.0365656801, -0.0192694962, -0.0103653027, 0.0106670521, -0.0144832637, 0.009315786, 0.0686898977, 0.0099896444, 0.0146348923, 0.0033690119, -0.0117562022, -0.0646827519, -0.0050068498, 0.0304433852, 0.0537730269, -0.0148903253, -0.0099607836, -0.0202359892, -0.0348873101, 0.0399957374, 0.0070435344, -0.0059959888, 0.0366727039, 0.0632365271, 0.0076238462, 0.0012455448, -0.0647530109, 0.0181196537, 0.0044159074, 0.0298827216, -0.0428193063, -0.011824674, -6.141553907e-33, -0.0040612505, -0.0075717308, -0.0166868418, -0.0210168492, -0.0215423163, 0.0344421603, -0.0441660583, -0.0361730494, 0.013161323, 0.0284735356, 0.003031628, -0.0060530799, -0.0041717514, 0.0781495497, -0.0078962995, 0.0094959158, 0.0632120073, 0.0127048278, -0.0191712547, -0.007552051, -0.0021954197, 0.0714611113, 0.0812099874, -0.0098606972, -0.0398362949, -0.0187754408, 0.0316964537, 0.0230580121, 0.0412293375, 0.0610105619, -0.0250326525, 0.0149369538, 0.021345906, -0.0223431215, -0.009649599, 0.0557020977, -0.0672204942, -0.000592905, -0.0072255018, -0.0154518448, -0.0735948756, -0.0364938267, -0.0049857423, -0.012341029, 0.0169623494, -0.0308362413, 0.0372385047, -0.0060378006, -0.0052176933, -0.0381004512, -0.0736217424, 0.0181710105, -0.0021711506, 0.0027449359, -0.0246540625, 0.0634980127, 0.0266656876, 0.0507569648, -0.0240936317, -0.0072437888, 0.0178212561, 0.0341564454, -0.0038467837, -0.0061772708, -0.0229208581, 0.0402134173, 0.0307547376, -0.060841918, 0.0045513632, -0.0353287347, 0.0165841207, 0.0113824317, 0.0519321039, 0.0438545644, 0.0035407131, 0.0381661095, -0.098952502, -0.002299208, -0.0246077832, 0.0389413908, 0.0119273961, 0.0429891199, -0.0227925703, 0.0041019106, 0.0186495204, -0.0145904729, -0.0066482173, -0.0305693727, 0.0321361087, 0.0290242713, -0.0075763962, 0.010195164, 0.0563135557, -0.0110472096, -0.000088072, 0.0193781722, 0.0092639215, -0.0138287647, 0.0054017249, 0.0166350137, -0.070806317, -0.007533601, 0.0317887403, 0.0105931014, -0.0151284076, -0.0106561715, 0.0706286356, -0.0000759801, -0.0609571598, 0.0029960901, 0.0096855238, -0.0406236462, -0.0591261424, 0.0198565982, 0.0481803901, 0.0087491935, -0.0116970493, 0.1202482879, -0.0237224456, -0.0084733982, -0.0346545838, 0.0147004547, 0.0069618737, 0.041489847, 0.0195489656, 0.0141937369, -0.0359231681, 0.0482119583, -0.0067057228, -0.0503516234, -0.0015155653, 0.0022048154, 2.451e-7, 0.0027865495, 0.0276164003, 0.0537560992, -0.0128491642, 0.0376337469, 0.0357328653, 0.0089284815, 0.0550469533, -0.035763219, 0.0195626114, 0.0096983146, -0.0117336009, 0.0569171607, -0.0119358916, -0.1119160429, 0.0180788804, -0.101438798, -0.0598789304, -0.0355362259, 0.0005590545, 0.0842930004, 0.0870685577, -0.0110168485, -0.0004245976, -0.0004136971, -0.0139979338, 0.0596400537, 0.0003489486, -0.0278103612, -0.0264116041, -0.0600947589, 0.0200317558, -0.0114844022, 0.0024543877, -0.0316364169, 0.0598463491, -0.0130777676, 0.0293850489, 0.0275742579, -0.0485496446, 0.0322699733, 0.0328105949, -0.015454839, -0.0327919871, 0.037517786, -0.0830427855, -0.0027168484, -0.0018919753, -0.0439910479, 0.012432009, 0.0078512877, -0.0045502069, -0.0302230045, 0.0182403009, 0.0206764862, -0.0035260653, -0.0213139281, -0.0962159932, 0.0054399767, 0.0561267659, -0.0318189971, -0.0167273302, -0.0337301567, 0.0063898019, 0.0499504358, -0.0156187601, -0.0079797804, 2.525248622e-34, 0.0347699821, -0.036341425, 0.0114580486, 0.0328071788, 0.0078430576, -0.0219320152, -0.0338032953, -0.0627841577, 0.0469089337, -0.0699467361, -0.0108635789 ]
http://arxiv.org/abs/2310.09716v2
http://arxiv.org/pdf/2310.09716v2
Enhancing Conversational Search: Large Language Model-Aided Informative Query Rewriting
2023-10-15T03:04:17
2023-10-18T13:48:03
Fanghua Ye, Meng Fang, Shenghui Li, Emine Yilmaz
cs.HC
cs.HC, cs.AI, cs.CL, cs.IR
Query rewriting plays a vital role in enhancing conversational search by transforming context-dependent user queries into standalone forms. Existing approaches primarily leverage human-rewritten queries as labels to train query rewriting models. However, human rewrites may lack sufficient information for optimal retrieval performance. To overcome this limitation, we propose utilizing large language models (LLMs) as query rewriters, enabling the generation of informative query rewrites through well-designed instructions. We define four essential properties for well-formed rewrites and incorporate all of them into the instruction. In addition, we introduce the role of rewrite editors for LLMs when initial query rewrites are available, forming a "rewrite-then-edit" process. Furthermore, we propose distilling the rewriting capabilities of LLMs into smaller models to reduce rewriting latency. Our experimental evaluation on the QReCC dataset demonstrates that informative query rewrites can yield substantially improved retrieval performance compared to human rewrites, especially with sparse retrievers.
[ 0.0519362278, 0.0461861789, -0.0071239015, 0.0178287309, -0.0254848376, -0.0131808305, -0.0169531778, 0.0298159067, -0.0120429806, -0.0499366298, -0.0520655476, -0.0187854655, -0.038329646, 0.0228226073, 0.0319440886, -0.0676098615, 0.0150282569, -0.0073359418, -0.0091490038, 0.0287124906, 0.0195195172, -0.0168931652, 0.0367137156, 0.0414434895, 0.0174904764, 0.0174651556, -0.0414864905, 0.0612976067, -0.0582832657, -0.0070759803, 0.0203848891, 0.0577674918, 0.0158401765, 0.0501512848, 0.0000018129, -0.0198064987, -0.0327226296, 0.0123955961, -0.0330753066, 0.038016431, 0.0402528048, 0.0377135314, 0.0038056623, 0.0397917517, -0.0319749601, 0.0008730203, 0.0506303534, 0.0512933992, 0.0593121015, 0.0917218477, -0.0022626845, -0.0301430617, -0.0233165994, -0.0219632033, 0.0612825826, -0.0469960608, 0.0219676457, -0.0068730055, 0.0344193801, 0.0587457828, 0.0146874674, 0.0428868793, 0.0010036861, -0.0751717463, 0.0332355835, 0.0023008364, -0.0437054969, 0.0073380461, 0.0057857363, 0.0630899742, -0.0183597356, -0.0070580649, -0.0011659025, 0.0343634039, 0.0045984047, 0.0284901913, -0.0535713881, -0.0339161567, 0.0077875243, -0.0175273828, -0.0436930358, -0.0188884996, 0.0430150069, 0.0049579358, -0.0241456088, 0.0563230105, 0.036633376, -0.027926648, -0.0236242469, -0.0257088207, 0.0124267936, -0.0582736321, 0.0261550881, 0.0419305079, -0.0664730147, 0.0265659075, -0.0493585244, 0.0091518285, 0.0090514412, -0.0539357737, 0.0021110643, 0.0292687435, 0.0243342314, 0.0546053052, -0.000033851, 0.0455264784, 0.0031497304, -0.0009928921, -0.0758251324, -0.0212257784, -0.0496236347, -0.0214563627, -0.090466544, 0.0214899238, -0.0787399411, -0.0109072113, -0.0160670094, 0.0740318373, 0.0571462512, -0.0415837131, -0.0011970906, 0.0155101763, -0.0278765745, -0.0224272925, -0.0310929026, 0.0334368683, 0.0166663732, -0.0284790751, 0.0205676015, -0.0815336034, -0.014054996, 0.0150407217, 0.0279272478, -0.0443175137, -0.0281000324, 0.0133343004, -0.0270232763, -0.0355788842, -0.0317431092, -0.0386385433, 0.0302052852, 0.0145654632, -0.0213422496, -0.0254427101, 0.0464585871, -0.0255519524, -0.0231035836, -0.0361180529, -0.0040413267, 0.069594346, 0.002347226, 0.0381857045, 0.0109896073, 0.0431503728, 0.0488082618, 0.0148213813, 0.0213024002, 0.0671001747, 0.0017194004, 0.030540742, 0.0520547368, -0.0083895735, 0.0617724061, 0.0084954761, 0.0040792231, 0.0294271912, -0.0159368664, 0.0708253458, 0.0150737157, 0.0486399643, 0.0241107363, 0.0589134209, -0.0574150048, -0.032325279, 0.0619425587, 0.0307299122, 0.0494478606, -0.0095528746, 0.0529565923, 0.036495585, -0.0291350801, -0.0058498126, -0.0410805382, 0.0137300044, -0.0229679588, -0.0016540081, 0.0386573374, -0.0175722521, -0.0333801657, -0.0430255644, 0.0396465212, 0.0375701338, -0.0178201292, 0.0254818648, -0.0099040177, 0.0062209712, -0.0279402398, 0.0152815627, 0.0043395786, -0.065321967, 0.005873458, -0.057531964, -0.0188443698, 0.1000543684, 0.0756549761, -0.0057215849, -0.0076219463, 0.0145936953, -0.0016609977, -0.0120334933, 0.0686682537, -0.0180888679, 0.0152636115, -0.0320745632, -0.023962874, 0.0032950323, 0.0179901849, 0.0163510125, 0.0544069596, -0.0290815923, 0.0545689203, -0.0449444763, -0.024057379, 0.0219499227, 0.0039100721, -0.0503699258, 0.0288842637, 0.0162129812, -0.0139468331, 0.0036610372, 0.0074901143, 0.0362880975, 0.0339807533, 0.0266293027, -0.0166210849, -0.0316706821, -0.015659336, -0.0294143409, -0.0004508766, -0.0073640565, 0.0135003114, -0.0164446607, -0.0161282066, -0.0498139486, -0.0233431719, -0.0607788116, 0.0672592968, -0.0300130062, 0.0360283889, -0.0006615461, -0.0222900305, -0.0746223927, 0.0149354097, 0.0376572311, -0.0144958515, 0.034141697, -0.0127027556, -0.0128209302, -0.0952408835, -0.0299047362, 0.0084582055, 0.0251566507, 0.00004242, 0.0286876857, 0.010991293, -0.0278177857, -0.005418167, -0.120094195, 0.0000244548, -0.0393192098, -0.0054267729, 0.0263757221, 0.0834927857, -0.0082992809, -0.0196036994, -0.0366369486, -0.0630022287, 0.0026911621, 0.0687028319, 0.009416488, 0.0540029965, -0.0719319656, -0.0458166637, -0.0515729114, 0.0248293784, 0.0356721729, -0.0011688223, -0.0207994599, -0.0269666035, 0.0300219972, -0.0474427976, 0.0127815846, -0.010407743, -0.0155101921, -0.0177526586, -0.0584164783, 0.0360594243, 0.0622960702, 0.0258234907, 0.011795775, 0.0135251852, -0.0217564162, -0.0539912581, 0.0185489748, -0.0344346277, -0.0371758007, -0.0325099193, -0.0483898148, 0.0590434186, 0.0087706195, -0.0366435908, 0.0009767592, -0.0159951001, -0.0125809722, 0.0202433858, -0.0191555098, -0.0830944404, -0.0102081075, 0.0311916769, 0.0478624478, -0.010464536, -0.0545047857, 0.067963019, -0.0010533375, -0.0212433487, -0.0267233625, -0.0272537954, -0.0435193181, 0.0477564335, -0.0102741299, 0.0230416358, -0.0031964334, -0.0403340012, -0.0170189403, -0.0076290937, 0.0279174279, -0.04029819, 0.0524086282, -0.0491440967, 0.022310948, 0.0300828591, -0.0663323849, -0.0208869819, -0.0626430139, -0.0023653435, -0.0068440861, 0.0454538539, -0.0500481762, -0.0510296561, 0.0404753685, 0.0399661958, 0.0462052487, -0.0247273743, -0.0303375293, 0.005065735, 0.0070362599, 0.0470601879, 0.0214159898, -0.0296193007, 0.0021611252, 0.0487056635, 0.0330338404, 0.0527737699, -0.0913180187, 0.0273254607, -0.0257028844, 0.0220722519, -0.0182950161, -0.0228324011, 0.0270743538, 0.0083855437, -0.0551399104, -0.0288658738, 0.0773583055, 0.0375762805, -0.0530065522, -0.0222523175, -0.0190476794, 0.0489665605, 0.0241968464, 0.0741043314, -0.0402513631, -0.0265686736, 0.0249347966, 0.0249932427, -0.0033858642, -0.0079038246, -0.0140153673, -0.0873260945, 0.0500073656, -0.0218508877, 0.0062163025, -0.0045288545, -0.0666088611, -0.0010873727, 0.0040966426, 0.0051439265, 0.0672056898, -0.0370287672, -0.0102128275, -0.0131332455, 0.0150516257, -0.0226905141, -0.0075904136, -0.0144733423, -0.0173916928, 0.0602141172, 0.0144802053, 0.0518097132, -0.0030593306, 0.0308743622, -0.0045755743, -0.0020529809, -0.0259333178, 0.0271452311, -0.0155370953, 0.0082785226, -0.0210957415, -0.0157357194, -0.0084815109, 0.0378964506, -0.0067975433, 0.0346384123, -0.0360396132, 0.0483232141, -0.0226296261, -0.035077557, 0.003166517, 0.07228297, 0.0357318372, 0.0159302652, -0.0354947671, -0.0552422889, -0.0166307911, -0.0292710494, -0.0266643707, -0.0220297575, -0.0233837161, 0.011175896, -0.0437318571, -0.0288710184, 0.0168479532, 0.0238126051, 0.0044653146, 0.012427507, 0.0190231074, -0.002289759, -0.0332707092, 0.0078609455, -0.0673053488, 0.0376725122, -0.056726139, -0.0069695609, 0.0197169278, -0.0296368059, 0.0003013849, -0.0078084106, -0.032375969, -0.0614914633, -0.0256764907, 0.0248213336, 0.0191222634, 0.0230327547, -0.0302057452, -0.0667803288, -0.02286111, 0.0289626773, -0.0409269333, 0.0052149156, -0.0038396611, 0.0224210285, 0.0105981324, 0.0491438843, -0.0568657294, -0.0313617438, -0.0270874314, 0.0265264306, -0.0507694557, -0.0799047947, 0.0598950163, 0.0465848558, 0.0226640329, 0.0359631889, 0.0263722092, 0.0058644819, 0.0624143481, -0.0761046782, -0.0292968582, -0.0397372954, 0.0269641522, 0.0229810234, 0.0148550514, 0.0178660639, 0.0271383151, -0.0358831286, 0.0205677748, -0.0564033389, -0.0141266091, -0.0346464664, -0.0501775816, 0.0558157377, 0.0161850303, 0.0061325184, 0.0458713844, 0.0273907855, 0.0387896299, -0.0249911714, 0.0025167004, 0.0292475894, -0.0298819598, -0.0461201854, 0.0314156674, -0.1017275825, -0.0630100071, -0.0152825024, 0.0027230689, 0.0068719136, 0.022869885, 0.0002259218, -0.0253271069, -0.01793015, -0.0199041702, 0.012420821, 0.0206531063, -0.032221172, 0.0410554558, 0.0337046757, -0.0040412513, 0.0089663453, 0.0733716041, 0.0119495559, 0.0385679118, -0.0173795614, -0.0473150164, -0.0147517929, -0.0251412448, 0.0583238117, 0.0357542261, -0.0378173366, -0.0478045978, -0.0120544629, -0.011029006, 0.0044463812, -0.0252725538, -0.0054547978, -0.0240219422, 0.0849316195, 0.1082038656, 0.0036116394, -0.0245187711, -0.0481764935, 0.0132168718, -0.03288991, -0.0356183238, -0.0299065225, -6.065719828e-33, -0.0138354022, -0.0120865898, 0.0488116294, -0.0221229829, -0.0387232006, -0.009611452, -0.0367504321, -0.0071211415, -0.0176870581, 0.0011763223, -0.0366240256, 0.0533620566, 0.0121018682, 0.0182308517, -0.0340196565, -0.0169677418, 0.0612094626, 0.0159287807, -0.018313013, 0.0261975415, -0.0009550998, 0.0271043982, -0.016914105, -0.0423294269, -0.0157320444, -0.0209188201, -0.0116414186, 0.0746258497, 0.0130689489, 0.0403602235, -0.0050835377, 0.0169046596, 0.0064321076, -0.0176134463, 0.0065755513, 0.0131152701, -0.0210793316, 0.0318564251, 0.0235979892, 0.0088800117, -0.0109716076, -0.0339749865, 0.0346712582, -0.0127625307, 0.0037012079, 0.0263827853, -0.0117633399, 0.0074563576, -0.0470322333, 0.0080236001, -0.0257570483, 0.0215479061, 0.0010058183, -0.0408777706, 0.0089809718, 0.0332073979, 0.0021196469, 0.0245947447, 0.0272234343, 0.0518529862, 0.0131246448, 0.0741657615, 0.006096798, 0.0451274328, 0.0252099056, 0.0143385893, 0.0397890247, 0.0336483903, -0.0011337475, -0.0175499246, -0.0014877599, 0.0334350653, -0.0017469521, 0.0389450528, -0.0188700203, 0.0329726115, -0.0126705887, 0.0378729142, -0.0272582732, 0.0198820997, -0.0042073103, 0.0742210075, -0.0667102709, -0.037393976, -0.0324200764, 0.0499935932, -0.0631984472, 0.005658322, 0.0309973694, 0.044881884, -0.0206852462, -0.0089634825, 0.0211496893, -0.0049955989, -0.0349929035, 0.0096571669, -0.000903702, 0.0011465315, 0.000523643, -0.0173641909, -0.0004988799, 0.0299100317, 0.0418812521, 0.0064827427, -0.0451249741, -0.0121471155, -0.0132283075, 0.0361030959, -0.0518740639, -0.0197255481, -0.0236355625, -0.003860733, -0.0264836606, -0.0163450129, 0.0117513482, 0.0340424888, -0.0007642896, 0.0639705807, 0.0142492959, -0.0107578943, -0.0481702723, -0.0787145123, 0.0350093134, 0.0090371314, 0.0037778132, 0.0312289353, -0.024676621, 0.0151696429, 0.0255774893, -0.0360270068, -0.0187530089, 0.021935828, 2.643e-7, 0.0353977047, 0.0507407412, 0.0166369956, 0.056439016, -0.0162603408, 0.0208336469, 0.0375473648, -0.0198514778, 0.0369389877, 0.0068211555, 0.0537594594, 0.0197258126, 0.0281440783, -0.0261259284, -0.0909356922, -0.0159506425, -0.0700821429, -0.0537535362, -0.044491075, -0.0632124469, 0.0367716178, 0.0979475155, -0.0179238226, 0.0112823723, -0.0027106979, -0.0505884103, 0.0318886824, -0.0302440282, -0.0396107771, 0.0197693985, 0.0242774002, 0.0175088868, 0.0229465179, -0.0264970213, -0.0216806978, 0.0077394657, 0.0272704642, 0.0686317235, -0.0062554926, -0.0014866306, -0.0128535889, -0.0370761156, -0.014961103, -0.043948926, 0.0460893661, 0.0059598414, 0.033884272, 0.0255564135, 0.0000577107, -0.0204231255, 0.033149045, -0.0531207435, -0.0444121957, -0.0080466587, 0.0206832886, 0.0094076218, 0.0151815182, -0.0648851395, -0.0369306095, -0.0191487391, -0.0469694622, -0.0282995477, -0.0799877271, -0.0039402684, -0.0179265421, -0.0020072181, 0.0027727091, 2.353096326e-34, 0.0550090075, 0.0261654835, -0.0065762196, 0.0429241434, 0.0765870363, 0.0062563876, -0.0221858006, 0.0161201432, 0.0279630031, -0.1287946999, -0.0433469191 ]
http://arxiv.org/abs/2310.09680v4
http://arxiv.org/pdf/2310.09680v4
Improved Contextual Recognition In Automatic Speech Recognition Systems By Semantic Lattice Rescoring
2023-10-14T23:16:05
2024-03-04T04:37:35
Ankitha Sudarshan, Vinay Samuel, Parth Patwa, Ibtihel Amara, Aman Chadha
cs.CL
cs.CL, cs.AI, cs.SD, eess.AS
Automatic Speech Recognition (ASR) has witnessed a profound research interest. Recent breakthroughs have given ASR systems different prospects such as faithfully transcribing spoken language, which is a pivotal advancement in building conversational agents. However, there is still an imminent challenge of accurately discerning context-dependent words and phrases. In this work, we propose a novel approach for enhancing contextual recognition within ASR systems via semantic lattice processing leveraging the power of deep learning models in accurately delivering spot-on transcriptions across a wide variety of vocabularies and speaking styles. Our solution consists of using Hidden Markov Models and Gaussian Mixture Models (HMM-GMM) along with Deep Neural Networks (DNN) models integrating both language and acoustic modeling for better accuracy. We infused our network with the use of a transformer-based model to properly rescore the word lattice achieving remarkable capabilities with a palpable reduction in Word Error Rate (WER). We demonstrate the effectiveness of our proposed framework on the LibriSpeech dataset with empirical analyses.
[ -0.0457858145, 0.0596293062, 0.0039376598, 0.0622310638, -0.0213660058, -0.0190624651, 0.0121042514, -0.010657791, -0.0784909576, -0.0381148756, -0.0504804403, -0.0125374254, 0.0488459393, -0.0220690221, -0.0190978013, -0.0364208445, -0.0015228669, -0.044177603, -0.0339049809, -0.0258844178, -0.0092562065, 0.0246369075, -0.0512716435, 0.0430672206, -0.0223612376, 0.0153870117, 0.0083376523, 0.0404977091, 0.0406817645, -0.0226413216, -0.0170068443, 0.0086192377, 0.0239057541, 0.0353333652, 0.0000020358, -0.0227811243, -0.0057726908, -0.0210945699, -0.0781912208, -0.0337898582, 0.0169933811, -0.0561625399, -0.0421437286, 0.0186114665, -0.0237330291, -0.0112552065, 0.0509749353, 0.0259615462, -0.0244953874, 0.0385621004, -0.0144475326, -0.059954457, 0.0500986725, -0.0052084643, 0.0052379346, -0.0892033577, -0.0134497043, 0.0393725261, 0.0036735334, -0.0152183436, -0.015319339, 0.059588097, 0.0007607062, -0.0059533333, 0.0039428123, 0.0183225516, 0.0040577189, 0.013977115, -0.0276330281, 0.0704895109, -0.0068750782, -0.0251698904, -0.0047331094, -0.0193483159, -0.0124158924, 0.0221896023, -0.0159617681, 0.0464326739, -0.0103641767, 0.0255598743, 0.0001131079, 0.0385083817, 0.0609629825, -0.0009430844, -0.0199367628, 0.0799904689, 0.0106330561, -0.0237684175, -0.0276392829, -0.0172325857, 0.040375486, -0.0022026019, 0.0687686056, 0.0167009924, 0.0064258655, 0.0208020881, -0.0129671916, -0.0027310164, 0.001956922, -0.0331713669, -0.0015431402, 0.0459200591, -0.0405717976, 0.0064739143, -0.0250871796, 0.0066350615, -0.0050532427, 0.0273385737, -0.0028734098, -0.025700964, -0.03338347, 0.0255129393, -0.0305777062, -0.0000238172, -0.0224382989, -0.0138091883, -0.0469257571, 0.0300294645, -0.0083966851, -0.0035452927, -0.0120216785, -0.0022049074, -0.0215169042, -0.0170143638, 0.0319356807, -0.0059391889, 0.0035752023, 0.0484284312, 0.0065841805, -0.0911997855, -0.0076648253, -0.0055593555, 0.0686639622, -0.0025269084, 0.0047617452, 0.0238347519, 0.0106925722, -0.0514243543, -0.0542769246, 0.0394378118, -0.0668543428, -0.0080511654, -0.0179966185, -0.0869844481, 0.000424196, -0.0134936897, 0.009079501, -0.0143421544, 0.0132383034, -0.0105839418, 0.0379136838, 0.0888926014, 0.0259443484, -0.023492001, 0.0440972149, 0.0010995644, 0.0524259992, 0.0215624534, 0.058823254, 0.0021933233, 0.00771299, -0.0267053526, 0.0527042821, 0.0425431207, -0.0201903339, -0.0102625005, -0.0536828488, -0.046913866, 0.0140110357, 0.0419640802, 0.0578626879, 0.0299048759, -0.0304866936, 0.0001116462, 0.0542109907, 0.0401375033, 0.0517853312, 0.0489638709, 0.010201389, 0.0083804578, -0.0211298615, -0.0355850905, -0.0230320003, 0.0122483317, 0.0044383649, 0.0188042931, -0.0084038768, 0.0144992201, -0.0199875869, -0.030511966, -0.0082648918, -0.0166655723, -0.0075122258, 0.0215734392, 0.0268673766, 0.0183117948, -0.0568495095, 0.0513036251, -0.0011731264, -0.0580249429, -0.0052196481, -0.0621926934, -0.0378356576, 0.0915366039, 0.0299539827, -0.0473539084, -0.0275208186, -0.0503824614, -0.0774900839, 0.0531665348, -0.0136662917, 0.0035265414, 0.0634927079, -0.0806923062, 0.0089608775, 0.0603564903, 0.005333296, 0.0556541085, -0.0085333791, 0.0137697076, 0.039742928, -0.0330543779, 0.0403821133, 0.0108184349, 0.0100449491, -0.0296095777, 0.0433688164, 0.0157041792, 0.0606056824, 0.0309829414, -0.0277467854, -0.0130685028, 0.0369429439, -0.0299154241, -0.036986094, 0.0174391735, -0.1061458513, -0.073741354, 0.014916013, -0.0045338557, 0.0302735548, -0.0031529285, 0.0069774343, -0.0686821416, 0.0000637906, -0.0520281754, 0.0628434345, -0.0560440272, 0.0168883, 0.0254073907, 0.0742681623, -0.0364612453, 0.0003845899, -0.01025707, -0.0181832537, 0.0438871831, 0.0018126266, -0.0231107064, -0.0837618783, 0.0238662511, -0.0007202331, -0.0497151166, 0.0695153475, 0.0056622094, 0.0056777056, -0.0049746772, -0.0290947072, -0.079678379, -0.0354601331, -0.0453028418, 0.0102967247, 0.0117029967, 0.0419541411, -0.0088567408, -0.0120438915, -0.0183699857, -0.0176491905, 0.0019176706, -0.0311353989, -0.0266145654, -0.001009392, -0.0423984863, -0.0435160846, -0.0002026598, 0.000006732, 0.0092699369, -0.0115665942, -0.0131066516, -0.0130716432, 0.01120969, 0.0354830995, 0.0165778659, -0.0029613748, 0.0012688, -0.0164270829, -0.022240242, 0.0385397226, 0.0478960797, -0.0042386609, 0.0247236546, -0.0034495085, -0.0251796748, -0.0570267327, 0.0030509215, -0.0032106973, 0.054070808, -0.025502421, -0.0090522589, -0.0327817947, 0.0200237706, 0.0523176491, 0.0586826876, -0.0000584527, -0.0453952178, 0.0142691908, -0.0482452437, 0.0025652808, -0.0042005801, -0.0413036831, 0.0037168621, -0.0038310578, -0.0126839662, 0.0118738422, -0.0647589117, -0.0271938108, -0.018260818, -0.0591483787, -0.0261910055, -0.0176247135, -0.0021113071, 0.0045101237, -0.074325189, -0.0544745736, 0.0023797753, -0.0157796852, -0.0097026993, -0.0316381231, 0.069547385, -0.0338458419, 0.0355334766, 0.009047254, -0.0429098643, -0.0415526144, 0.035031043, -0.030494025, 0.0295635853, 0.0168220084, -0.0364152379, -0.0111471061, 0.0395531505, -0.0025011536, 0.0862923041, 0.0264471751, 0.0046630967, -0.0374187343, 0.0878421441, -0.0080756899, 0.0449569337, 0.0507902019, 0.0229724701, 0.0426334627, -0.0037103165, 0.0908869952, 0.012578629, -0.0605601929, -0.0073821605, 0.0515746176, -0.0178087112, 0.0091058891, 0.0178158842, -0.0055237743, -0.0605437197, -0.0028370558, 0.0875402912, 0.0073325038, -0.0238533504, -0.0220793951, 0.0136478301, -0.0051419274, -0.0015242791, -0.0109102419, -0.0544580221, -0.0632194579, 0.0572607331, 0.004478835, 0.0163482707, 0.0107946377, 0.0284995735, -0.0682265386, 0.0426051281, 0.0151800103, -0.045677606, -0.0070446515, -0.0290408544, -0.0022492968, -0.0191962328, 0.0138922697, 0.0021005441, -0.0270205867, -0.0642952472, 0.0487877801, -0.0307533052, -0.0559275858, 0.0312766507, -0.0342739373, 0.0787880644, 0.0684706941, 0.0190629326, -0.0637368709, -0.0319406427, 0.0676099956, -0.043357268, -0.0051352056, -0.0026242721, 0.0013628388, -0.0181290247, 0.0117313536, 0.0348216109, 0.0279970299, -0.0474345982, -0.0287310202, -0.0109524094, 0.0310151018, -0.0319549032, 0.0345583335, 0.0044240048, 0.0210111588, 0.0369070694, 0.048683621, 0.0059985532, 0.0114768436, -0.0118279764, -0.0046019419, 0.0535161383, -0.0624245331, 0.0017266959, 0.0217190143, 0.030194195, -0.0107856551, -0.0354196578, -0.0442220829, -0.0062873806, 0.0140198423, 0.0237572081, -0.0292816106, -0.0124033755, 0.0514702685, -0.0650073364, -0.0168203898, -0.0432611555, 0.0575124174, -0.0664166659, 0.0126858, 0.02743873, -0.070920527, -0.0282830559, 0.0247054193, -0.0733028278, -0.0092126066, 0.0475399047, 0.0128987934, 0.0167239122, 0.0636743829, -0.0262413751, -0.023403313, 0.1258102804, 0.0304346252, -0.0393625833, 0.0042130165, 0.0310554374, 0.0199735537, -0.0165490899, 0.0187646151, -0.0401952825, 0.0611399114, -0.0235103592, 0.0282098036, -0.037047971, -0.1197451949, -0.0104147522, -0.0223685764, 0.0237689223, -0.000637875, 0.0248568784, -0.0254461877, 0.0417404808, 0.0265903194, 0.0582740791, -0.0174701903, -0.0176272895, 0.0235270653, -0.0128476992, -0.0124227256, 0.0005262126, -0.0051347846, -0.0217544828, -0.011015499, 0.0553484373, 0.0354484916, 0.0145647759, -0.0200214181, 0.0276745558, -0.018942479, 0.0678704455, 0.0558651499, 0.0257446468, 0.0015464949, 0.0238419771, -0.00493098, -0.0205240361, -0.0399398617, 0.0332791619, -0.0651711151, -0.0112806922, -0.0356954783, 0.0393606648, 0.0291303601, -0.0012938016, 0.0359150507, -0.0124153681, 0.0186289921, -0.0490312576, 0.0380675644, -0.0012336827, 0.000679351, 0.0258934554, 0.0222829152, -0.0089772409, 0.0209282041, 0.0255861711, -0.0048979921, 0.0096218176, 0.0210340619, 0.0042202771, -0.0650106817, -0.0338355899, -0.0420364141, -0.0030264573, -0.0199230965, -0.0216272287, -0.0268736538, -0.0554048643, 0.0428635664, 0.0050099683, 0.0492131412, -0.0498809926, 0.0245518833, 0.0206127986, -0.0440369956, -0.0115075046, -0.0162248127, -0.0096945288, 0.0049271747, -0.0392645784, -0.0144504206, -6.289009388e-33, -0.0189390443, -0.0147310141, 0.0206472725, 0.0567861684, -0.0177786499, -0.0002195315, -0.0146383997, -0.0035875314, -0.0171172712, -0.0013107519, -0.0390144512, 0.0482422784, 0.056742847, 0.0344986171, -0.0186907426, -0.0328721628, 0.087859273, 0.0243618134, 0.0164686386, 0.007831567, 0.0400114954, 0.0614722557, 0.059479624, -0.0529333055, -0.0213723276, 0.0341984034, -0.025806563, -0.0042366087, 0.0137128346, 0.035467051, -0.0233865771, 0.0274966396, 0.0162018854, -0.0595299378, 0.0129135288, 0.0638380796, -0.1015034765, 0.0300110374, -0.0225483719, 0.0405595973, 0.0145958085, -0.0471577533, 0.0571596287, 0.0090558892, -0.0371927395, 0.0037764574, 0.0349567495, -0.0428215787, -0.0443174765, -0.0914084092, -0.0365505442, 0.0619238578, -0.0221348926, -0.0363127142, 0.0703489557, -0.0093513299, -0.0266863294, 0.0197969116, -0.0952925608, 0.0082210517, -0.0191173013, 0.0475754477, 0.0283026099, 0.0799615979, -0.0558743738, 0.0087668588, 0.0285213757, -0.0631983578, 0.0218398813, -0.051236514, 0.0476318561, 0.052746214, -0.0042253975, 0.0126555227, 0.0415009111, -0.0277666021, -0.040723037, 0.0019967561, -0.0181586854, 0.0206149295, 0.0213368516, 0.0242067017, -0.0305785481, 0.018235242, -0.0577224195, -0.0277312975, -0.0204354823, 0.041810751, 0.0339778922, 0.0143946409, -0.0103355134, -0.0003877534, 0.0560571179, -0.0391124114, -0.0102523342, -0.0133048343, 0.0038946599, -0.0138204712, -0.0176590104, 0.0036413847, -0.0329186879, -0.011617505, 0.012654339, 0.0571863577, 0.0258652288, -0.011683967, 0.0166820362, 0.0554598309, -0.0693161264, 0.0010096097, -0.012839132, 0.0035135876, -0.0342106037, 0.0441519096, 0.0291138776, -0.0224835053, 0.0236761924, 0.0342881866, 0.0203724075, 0.0279220492, 0.0201329272, -0.0152520975, 0.0067191171, 0.0526845306, -0.046873007, -0.0075871209, 0.0030969947, -0.033595819, 0.0552174821, -0.0487876013, 0.0123236468, 0.0041128467, 2.819e-7, -0.004063224, 0.034400329, 0.0559034981, -0.0614797585, 0.0236130897, 0.0470444858, 0.0188275725, 0.0008104559, -0.0159661397, 0.0102289319, 0.0509101562, 0.017541226, 0.0810643062, 0.0162338354, -0.0969001874, 0.0100750318, -0.0540614128, 0.0274271145, 0.0145998951, -0.0014787255, -0.0101527553, 0.1016266868, -0.0147270011, -0.0624375567, 0.0230772868, -0.0341908559, 0.0265703369, -0.0200938713, 0.022010237, 0.0190179758, 0.0129215019, 0.0077812816, -0.0162913166, 0.0162900966, -0.0026390138, 0.0290532093, 0.0150540955, 0.0260681529, -0.0257581864, -0.0430063829, -0.0126534691, -0.0043449602, 0.004197835, 0.0078160912, 0.0290970057, -0.0041767075, 0.0162511393, 0.0074456623, -0.0381394289, 0.0052419621, 0.0286506806, 0.0204639044, -0.001341469, 0.0029299227, 0.0233748574, -0.010909589, -0.0430491231, -0.0887319595, -0.0132089173, 0.0026834058, -0.0618741848, -0.0077907084, -0.001975918, -0.0398414657, 0.0458152965, -0.0272971783, -0.0299942289, 2.375907575e-34, 0.0223936588, 0.0178548042, 0.0023807974, 0.0403779, -0.0067991223, -0.0109744696, -0.0459237359, 0.0272486471, -0.0231629014, -0.0715010613, -0.0268166456 ]
http://arxiv.org/abs/2310.09675v1
http://arxiv.org/pdf/2310.09675v1
Efficient Model-Agnostic Multi-Group Equivariant Networks
2023-10-14T22:24:26
2023-10-14T22:24:26
Razan Baltaji, Sourya Basu, Lav R. Varshney
cs.LG
cs.LG, cs.AI, cs.CL
Constructing model-agnostic group equivariant networks, such as equitune (Basu et al., 2023b) and its generalizations (Kim et al., 2023), can be computationally expensive for large product groups. We address this by providing efficient model-agnostic equivariant designs for two related problems: one where the network has multiple inputs each with potentially different groups acting on them, and another where there is a single input but the group acting on it is a large product group. For the first design, we initially consider a linear model and characterize the entire equivariant space that satisfies this constraint. This characterization gives rise to a novel fusion layer between different channels that satisfies an invariance-symmetry (IS) constraint, which we call an IS layer. We then extend this design beyond linear models, similar to equitune, consisting of equivariant and IS layers. We also show that the IS layer is a universal approximator of invariant-symmetric functions. Inspired by the first design, we use the notion of the IS property to design a second efficient model-agnostic equivariant design for large product groups acting on a single input. For the first design, we provide experiments on multi-image classification where each view is transformed independently with transformations such as rotations. We find equivariant models are robust to such transformations and perform competitively otherwise. For the second design, we consider three applications: language compositionality on the SCAN dataset to product groups; fairness in natural language generation from GPT-2 to address intersectionality; and robust zero-shot image classification with CLIP. Overall, our methods are simple and general, competitive with equitune and its variants, while also being computationally more efficient.
[ 0.0073899589, 0.1108620986, 0.0028848387, 0.0508671068, -0.0266181603, 0.0178852007, 0.0816860795, -0.0462854058, -0.0509783253, -0.067481108, -0.0430534333, -0.0023821238, -0.008443661, 0.0235693306, 0.0399544165, 0.006414467, 0.0044584479, -0.0044527161, -0.0606476702, -0.0749422982, -0.0245064534, 0.0079195267, -0.0257862862, 0.0304472614, -0.0107373679, 0.0212320089, 0.0010678018, 0.0114971707, 0.0221953038, 0.0461201891, 0.0257641003, 0.0543105677, -0.0024293906, 0.0266742222, 0.0000020413, 0.0127961515, 0.0237849467, -0.0031048236, 0.0064587882, 0.0201381296, 0.0367965773, -0.0265050642, 0.001592994, -0.0031529553, -0.0321170539, -0.0342407078, 0.0883939713, 0.0130479857, 0.0126907928, 0.0409557857, -0.0474980958, -0.0749266446, -0.0374727808, -0.0522602722, 0.0025926547, -0.0112744952, 0.010329661, -0.0459691882, -0.0149722351, -0.0268817358, -0.0263082255, 0.071209386, 0.0445341095, 0.0133316182, 0.0203874391, 0.0367021412, -0.0435798876, -0.018360436, -0.0011943621, 0.0538788661, -0.0455228873, -0.0073226234, -0.0047608023, -0.0239024293, 0.0163013823, 0.0637742653, -0.0069023119, -0.0085171051, 0.015097904, 0.0131212845, -0.0494759232, 0.0119898049, 0.0276602525, 0.0085028652, -0.0523960888, -0.0307606403, 0.0452800766, 0.0714972913, -0.0505185574, 0.0378007106, -0.0884696543, -0.0142716318, -0.0250981841, 0.0044551147, -0.0243128426, -0.0364003964, -0.0391891375, -0.0290417988, -0.0095466254, -0.068159841, 0.0221764632, 0.0179628693, 0.0091635128, 0.0163321514, -0.0308575425, 0.0531368181, -0.0614099689, 0.073597163, -0.059210211, -0.0418398455, 0.0134239169, -0.0159583129, -0.0327415988, 0.0241231062, 0.0083895922, -0.0263460204, -0.0417459495, 0.0343965665, -0.0512741841, -0.006704988, -0.0045914217, 0.0491826013, -0.0193340797, -0.0242864601, 0.0598284639, 0.0075789737, 0.0267505944, 0.045331195, -0.0332312435, -0.0401324518, 0.0052600959, 0.0422402844, -0.0144934487, -0.0113508645, 0.0185111463, 0.0464375392, -0.0266786497, -0.0497480147, -0.0318854302, 0.0250400528, -0.0271503292, -0.0386386439, -0.0019265646, -0.0568607375, 0.0418754071, 0.0325451903, -0.014363911, -0.0553570688, -0.0236459058, -0.0277963039, -0.0587211028, 0.0911904424, 0.1312411726, -0.0115667218, 0.0178083554, -0.0433371812, -0.0176811293, 0.0712900907, 0.0288095176, -0.0136222802, 0.002496918, -0.0121658854, 0.0214031618, 0.0432757027, 0.0138129285, 0.0050704964, -0.0331741981, -0.0289618354, -0.0117692314, -0.0014256128, 0.0520829447, 0.0211795736, -0.0450823493, -0.0982919335, 0.0453049839, 0.0285161044, -0.0157070551, 0.0761028901, 0.027683489, -0.034220174, -0.0606011488, 0.0234864056, -0.0702344254, 0.0341581814, 0.0116631817, -0.0416754559, -0.015029355, 0.0502429307, -0.0961808413, 0.0138296895, 0.0187089071, -0.0151733076, 0.0502256677, -0.0077915564, 0.0455466993, -0.040707238, -0.0321237296, 0.0439387932, -0.0357153341, -0.0684919506, 0.0242954288, -0.0232552923, 0.013300823, -0.010291853, 0.0328718536, -0.0075965342, -0.014429179, 0.0120870424, -0.0181930177, 0.0245810989, 0.053354729, -0.0139042167, 0.0254643336, -0.0374266841, -0.0477224216, -0.0027758009, 0.021796871, 0.0385987535, -0.0328261591, -0.0047760475, 0.0386123657, -0.0036048801, 0.0295832176, -0.0075381142, -0.0061158515, -0.025471, 0.044814676, 0.0182318185, 0.0648433417, -0.0062364321, -0.0294765867, 0.0093147438, 0.0103338799, -0.0519493781, -0.0470630005, 0.0652825534, -0.0241857655, -0.0162101313, 0.0145242484, -0.0684744418, 0.0405858606, 0.0303032119, -0.0597210489, -0.0481284447, 0.0836248994, -0.0118404515, 0.001382662, -0.0569838844, -0.0244822782, 0.0002981321, 0.0324008688, -0.0421384908, 0.0077410154, 0.0333710425, -0.0090648234, -0.0003266535, -0.031276416, 0.0244990233, -0.0191246513, -0.0432453379, 0.0685909539, 0.032781601, 0.0427305996, 0.0362501107, -0.0428323261, 0.0451121368, -0.0326348096, -0.0411765911, -0.000806029, -0.0114764553, 0.0131600071, 0.0243151225, 0.0339373536, 0.029089354, -0.0105524203, -0.0448545069, 0.0113190776, 0.0052035796, 0.0148533648, -0.0007330993, 0.0189395528, -0.0533667803, 0.0263331607, -0.0557178557, 0.0209086835, 0.0791980922, 0.0158362761, -0.006109809, -0.017025698, -0.0346004106, -0.0154672451, 0.0747288316, -0.003965829, -0.0365976244, -0.0260045733, 0.0175536871, -0.0288661029, 0.0779025704, 0.0158152245, -0.0155666787, 0.0077834227, 0.0321167335, 0.0002851377, -0.0041901232, -0.0806592032, -0.0281637367, 0.0533556417, 0.044427868, -0.0093577029, 0.0302782618, -0.0009813688, -0.0689650252, -0.0654896274, -0.0098675406, 0.020713646, -0.0189084262, -0.0530291758, -0.0266874656, 0.0320886336, -0.0437036678, -0.0376097262, -0.0234082695, 0.0239362232, 0.0205111988, 0.0053551132, -0.0181751307, 0.0139190294, -0.0156163648, 0.0047524199, 0.0192842036, -0.0024590562, 0.002411172, 0.0008280161, -0.0676914379, -0.0188187473, 0.0846996009, -0.0262419414, 0.0399786979, -0.0187305454, 0.0706541613, -0.031299945, -0.0580052845, -0.0429683067, -0.0280627292, 0.023130428, 0.0097350394, -0.0182188898, -0.0471678488, -0.0467891954, 0.0148146534, -0.029792238, 0.0378789902, -0.027055094, 0.0154011641, -0.0002225523, 0.065853551, -0.0317223258, 0.0191487633, -0.0250028558, -0.0366689302, -0.0173255056, 0.0489323661, 0.010725203, 0.0500069372, -0.0350788198, 0.0460219458, 0.0461778454, 0.0158795882, -0.026623277, -0.0377902836, 0.0257647745, 0.0140184984, 0.031311363, 0.0436051637, -0.0113629866, -0.0775323063, -0.0140686641, 0.0369548649, 0.006361505, 0.0272725634, 0.0109031294, -0.0359807201, -0.0130130416, -0.0466546826, 0.0039891009, 0.0287607517, -0.0152980778, 0.0103352461, -0.0159991533, -0.0068280576, 0.0488089807, -0.0522927158, -0.0468257517, 0.0611036792, 0.0536981374, -0.0573213249, 0.0025286404, -0.0502072945, 0.005720662, -0.0453121364, 0.0196392927, 0.0364749506, -0.0088096661, 0.0134641621, -0.0274834447, -0.0197251327, 0.0260789003, 0.0085889883, -0.0055479524, -0.0912287533, 0.0445288457, -0.0274997819, -0.0478313901, 0.0241048913, 0.0048959558, -0.0047519985, -0.0085401349, 0.0317283049, 0.0610393025, -0.0511948504, -0.0046852664, -0.0972119197, 0.0276001822, -0.0103288703, -0.0054873703, -0.0273562297, -0.037635956, 0.00720168, 0.0515541956, 0.0073461952, -0.041490417, -0.029936146, 0.0166710187, -0.0011472704, -0.0528581291, 0.0073791863, 0.023474602, 0.0311095733, -0.0619213842, -0.0231721606, 0.0507143103, 0.0149880433, 0.0031354709, -0.0328117199, -0.0685496852, 0.0389830917, -0.0279870853, -0.014117158, -0.0040201498, -0.0148627209, 0.0556827337, -0.0262421276, 0.015351966, 0.0401414111, -0.0161521751, -0.0349659137, 0.0141098527, -0.0552704893, -0.0766831636, -0.0155718466, -0.0136233242, 0.0083144596, 0.039250128, -0.0191612709, -0.0081240488, 0.0638852194, 0.0742942765, 0.0514628217, 0.0374268331, 0.0365141593, -0.0346131884, -0.0107964324, 0.0405859798, -0.0121130291, 0.0330700167, 0.0316074751, -0.0385382921, -0.001097394, -0.0694781914, -0.004457606, -0.0231637694, 0.0255352091, -0.026903579, 0.0533776842, -0.0344665051, 0.001066688, 0.0397092514, 0.0184872486, -0.0603274368, -0.0191250965, 0.0101074493, -0.008198482, -0.0159434322, 0.0138739506, 0.0483734347, 0.0781870261, -0.0151045593, 0.0020772535, -0.0286933389, -0.0436484888, -0.0065577114, 0.0452251844, 0.0006703991, 0.0226101894, 0.0064108968, 0.0247735083, -0.0245007835, 0.0418853387, 0.0476542935, 0.0609120056, -0.0596706197, 0.0281663109, -0.0410642922, -0.0185898226, -0.0705030113, 0.018426232, 0.0594844222, -0.0017530748, 0.0148028731, -0.0429414287, -0.0396044031, -0.0319560692, 0.0550209209, 0.0130385011, 0.0312636793, 0.0788352564, 0.0268221702, 0.0274273716, -0.0312326141, 0.0554232709, -0.0108952178, 0.0333559997, -0.0397552736, -0.0111902403, -0.0344725475, -0.0001069214, 0.031696476, -0.0312596373, -0.0218563844, 0.0341639519, -0.04198521, -0.0388470441, -0.0260953959, 0.0011540927, 0.0389567278, 0.0032134242, 0.025310358, 0.0453776196, -0.0230011921, -0.0234749299, 0.0200256966, -0.0200164951, 0.0204346627, -0.0117654568, 0.00151611, -6.056008775e-33, 0.0055816835, -0.0079186531, 0.0024842042, 0.0144388154, 0.0016312891, -0.0060022413, 0.0439060554, -0.0025758538, -0.0313463472, 0.0007803321, 0.0071420697, -0.0008788613, 0.0018446174, 0.032657247, -0.0064236233, -0.0197900198, 0.034662351, -0.0212118514, -0.0194825102, 0.0431466624, 0.0213393699, -0.0341163985, 0.0194611885, -0.0425278023, -0.071602948, -0.0237695873, -0.0175049864, 0.0157280974, -0.0414496735, 0.0153963724, -0.0127620315, 0.0123291183, 0.0239822958, -0.0210984051, -0.0170415789, -0.0034241262, -0.0259511974, -0.0249554478, -0.0355503522, 0.0456512831, -0.0199079793, -0.004714089, 0.0365012325, 0.014175293, -0.0218715556, -0.0541821793, 0.007644163, 0.0026758139, -0.009198877, 0.0260596182, 0.0122901201, 0.0180449877, -0.0127357868, -0.064303197, 0.0120727345, 0.0078880945, -0.0140106687, 0.0146298287, -0.0143076507, -0.0017391288, -0.0634892583, 0.0058286525, 0.0355248787, 0.0669116452, 0.0396134146, 0.0092052948, 0.0101899328, -0.0394800492, -0.0535523035, -0.0122788791, 0.0182806775, -0.004028345, 0.0457142778, 0.0482901633, 0.0694140866, -0.0129762208, -0.0431090966, 0.0011110151, -0.046565786, 0.0246277601, 0.0274300873, 0.0471339934, 0.0189220589, -0.041066993, -0.0091118915, -0.0519572012, -0.0191902481, 0.023547221, -0.000748034, 0.0283927824, -0.0384419337, 0.033106938, 0.0445058867, -0.053505823, -0.0065201418, 0.071396783, 0.0020420086, 0.0548672527, 0.0231718421, -0.019450888, -0.023338303, -0.0074647097, 0.0072827381, 0.0187852122, -0.0296364874, -0.0009799802, 0.0299117807, 0.0992358699, -0.0199230667, -0.0226902422, -0.0282570738, 0.0109432563, 0.0083359787, 0.0496194623, 0.0174308755, 0.0550666079, -0.0029180648, 0.0115276892, -0.017496312, -0.0318505839, 0.018373467, 0.0096860882, 0.0071036587, 0.0626357123, -0.0069420789, -0.00092772, -0.0063587138, -0.0246030129, 0.0652744845, -0.0549131073, -0.0294514783, -0.0072817276, 2.867e-7, 0.0474351272, -0.0477018356, 0.0471745804, 0.0117907133, 0.0328915939, 0.0680306181, 0.0154370461, 0.0839881301, -0.0025447679, -0.0024401331, 0.0174441189, 0.0729407668, 0.0098519912, -0.0167096239, -0.0270940959, 0.0568868853, -0.0683024228, 0.0594239682, 0.0060925377, -0.0258389562, 0.0463018008, 0.0280085839, 0.0147561133, -0.0216913186, 0.0057435278, -0.009494504, 0.0714834109, 0.0000659437, 0.0464061201, -0.0011461488, 0.0141448537, -0.0226343684, 0.0013496689, 0.0674713328, 0.0219662655, 0.0291907508, 0.0129856821, -0.0030200246, -0.026218364, -0.0261735432, -0.046421092, -0.0209619198, -0.0332325958, -0.0415105261, 0.0416637287, -0.0383200869, -0.0034901637, -0.0237426646, -0.0366979167, 0.0462449752, 0.0438841321, 0.0087882997, -0.0186772179, 0.0387674198, 0.0176663771, 0.0053901104, 0.0293882694, -0.0500034988, 0.0390975364, -0.0388368107, -0.0793024749, 0.0195852071, 0.0137491431, -0.0071677724, 0.0692889467, 0.017558597, -0.0399638042, 2.033777189e-34, -0.0047221179, 0.0127694858, 0.0178320836, 0.0171133913, -0.0369605683, -0.0529049076, -0.0482478365, -0.044782754, 0.0195102151, -0.0181628261, -0.0316176265 ]
http://arxiv.org/abs/2310.09668v1
http://arxiv.org/pdf/2310.09668v1
Beyond Testers' Biases: Guiding Model Testing with Knowledge Bases using LLMs
2023-10-14T21:24:03
2023-10-14T21:24:03
Chenyang Yang, Rishabh Rustogi, Rachel Brower-Sinning, Grace A. Lewis, Christian Kästner, Tongshuang Wu
cs.CL
cs.CL, cs.SE
Current model testing work has mostly focused on creating test cases. Identifying what to test is a step that is largely ignored and poorly supported. We propose Weaver, an interactive tool that supports requirements elicitation for guiding model testing. Weaver uses large language models to generate knowledge bases and recommends concepts from them interactively, allowing testers to elicit requirements for further testing. Weaver provides rich external knowledge to testers and encourages testers to systematically explore diverse concepts beyond their own biases. In a user study, we show that both NLP experts and non-experts identified more, as well as more diverse concepts worth testing when using Weaver. Collectively, they found more than 200 failing test cases for stance detection with zero-shot ChatGPT. Our case studies further show that Weaver can help practitioners test models in real-world settings, where developers define more nuanced application scenarios (e.g., code understanding and transcript summarization) using LLMs.
[ 0.0316900909, 0.0385265164, -0.0293981452, 0.0654976442, -0.0447238944, -0.0043251058, -0.0144567927, 0.0322040953, 0.0377848409, -0.0755026042, 0.0310109835, 0.0392723829, -0.014037597, 0.0134853525, 0.0203449856, -0.0091882637, 0.0609849468, 0.009656949, -0.0001618625, 0.0302888267, 0.0514410585, 0.0542222559, -0.0532905571, 0.040300034, -0.00987323, -0.0459140949, -0.0289832111, 0.0037819522, -0.0123122623, -0.0435361229, 0.0015361333, 0.0530160367, -0.0063826148, 0.0108516468, 0.0000022256, -0.0769518837, -0.0302908868, 0.0114458771, -0.0481238775, 0.0212277025, 0.0009543609, 0.0339354798, 0.0111868121, 0.0258621778, -0.0515530221, 0.0417095385, 0.0327822343, 0.0275733601, 0.0718703717, 0.0574077554, -0.0034240072, 0.0266809352, -0.0052642999, 0.0179582089, 0.0535598956, -0.0254920144, 0.0013653914, 0.0448951572, 0.0563678332, 0.0266010892, 0.0212077554, 0.0023069731, 0.0314874984, -0.0004131661, -0.0294117033, -0.0141420718, -0.0169012882, -0.0333497263, -0.0028785586, 0.0412798189, 0.0507343262, -0.0290666427, -0.0023571583, -0.0080329515, -0.003321015, 0.063558571, -0.0097083487, 0.0178310983, -0.050200101, -0.0358212106, -0.0190048199, -0.0413859189, -0.0004598809, 0.0233556218, -0.0084920479, 0.0395431705, -0.0132566607, -0.0094716242, 0.0174978841, 0.0188127924, 0.0166328289, -0.0349388719, -0.0150460955, 0.028690001, -0.0398582295, 0.0278480574, 0.0006643399, 0.0351586118, 0.0893202275, -0.024557326, -0.0014897662, 0.0228901077, -0.0176921543, 0.0322667137, -0.0355317146, 0.0543292463, 0.0054332586, -0.0239323135, 0.0021068449, 0.0386908017, -0.0580707416, -0.021124348, -0.0116083883, 0.0330281556, -0.0183009822, 0.0017514065, 0.0130548114, 0.0448156931, -0.0310937874, 0.0371451564, -0.0337009989, 0.0059648431, 0.0210184101, 0.0058847358, -0.0213475302, -0.0113502713, 0.0066433768, -0.0035176035, 0.0014577943, -0.0974311307, -0.015234597, 0.0385953262, -0.036039196, 0.0173447374, -0.0095771356, 0.0415622219, 0.0254921261, -0.0106952218, -0.013213071, -0.0450038575, -0.0315187983, -0.0085938927, -0.0130889891, -0.1009848714, -0.0259208996, 0.0426142663, -0.0029332777, -0.0779944882, 0.0026710536, 0.0244774111, 0.028627377, 0.0727587715, -0.0098215118, -0.0216395222, 0.0213181898, 0.0539433733, -0.0092753228, 0.1379153877, -0.0026641004, 0.0010835554, 0.0488029011, 0.0192455556, 0.0277914461, 0.0445045978, -0.0095517561, 0.0415427536, -0.004249285, 0.0399781056, -0.0295468252, -0.0178160053, -0.0306382403, 0.0258473027, -0.0106805433, 0.0010466818, 0.0336567871, 0.062263757, 0.0281490926, 0.0110650398, 0.0376657471, 0.0391188376, -0.0091445828, -0.0185854398, 0.0053203562, 0.0235658418, -0.0542262048, -0.0032659289, -0.0554982722, 0.0104844058, -0.0074851625, -0.0382629074, -0.0507924333, 0.0135081019, 0.0171191972, 0.0235108174, -0.0049348171, 0.0070979572, -0.0362323262, 0.107389994, 0.0356224291, -0.0613019206, -0.030050192, -0.0513746925, 0.0280045494, 0.0392451547, 0.0457686037, -0.0558830909, -0.0726365224, -0.0138542317, -0.0441092625, 0.0684185773, 0.0814806297, -0.0052986862, -0.0580661707, -0.0009655938, -0.0148983635, -0.0167571362, 0.0295226313, 0.0052006575, 0.0216006543, 0.0100892344, 0.0258771777, -0.0578811206, -0.0135471756, 0.0483408272, -0.0436922461, -0.0068611177, -0.0396461859, 0.0146710994, 0.0166538432, 0.0413290709, 0.0106246695, 0.0069481353, 0.0382845588, 0.0025795891, -0.0198010616, 0.02202438, 0.0011416412, -0.0335430615, 0.0175499283, -0.0381542668, -0.0360445827, 0.0193415191, -0.0132227167, 0.0150638996, -0.0075593959, -0.0312422235, 0.0166078378, -0.0513530411, -0.0311531574, -0.046774108, -0.0332267508, -0.0248183534, 0.0177314244, 0.0186518542, 0.0157640055, -0.0184024293, -0.0068913894, 0.0174567234, -0.0040272372, -0.041896414, 0.0390744954, -0.0082699955, 0.029125087, 0.0166758522, 0.0683937371, -0.0695690289, -0.025815038, -0.1185242906, 0.003529442, -0.0152650168, 0.0373215526, 0.0212956462, 0.0213216953, -0.0116101047, 0.0286383182, -0.0226684101, -0.0315886736, -0.0065762894, 0.0124771008, 0.0501679033, -0.0194461141, -0.0067389798, -0.0084957452, 0.0517338738, -0.0620337874, 0.0623108894, 0.0040558721, 0.006442796, -0.0478792749, 0.047148563, -0.0203678627, -0.0224555489, 0.0141745014, -0.0273637623, 0.0559618734, 0.0072740293, -0.0098601067, 0.0307116322, 0.0115521736, 0.05569667, -0.0037757691, 0.0202052947, -0.0749068931, -0.0148921274, 0.0449149273, 0.0227287952, -0.0070556356, -0.0115291122, 0.0161433332, 0.0569826066, -0.0151803633, -0.0139359944, -0.0400807075, 0.070096992, -0.0545782074, 0.0394171663, 0.0012022143, -0.0356134772, -0.0301394295, 0.0190549027, -0.0155170579, -0.0339454226, 0.0688702613, -0.0559878908, -0.0143418694, -0.0623226799, -0.0017779267, -0.0664931536, 0.0759260803, -0.0341263786, 0.0018803136, 0.013284307, 0.0015711411, -0.0076770508, -0.0292855743, 0.0342186801, -0.0340605974, 0.0748706162, -0.0572996363, 0.0552615188, -0.0062339562, -0.017924441, -0.0603526682, -0.0052421833, -0.0650299639, 0.0072174231, 0.0008187897, 0.0208371263, 0.0465375781, 0.0191305447, 0.0000431465, 0.0161601659, 0.0010204358, -0.0177441947, -0.0024329072, -0.0176969189, -0.0078832526, -0.0219829287, 0.0374190174, -0.0190707706, 0.0434038863, 0.0615648143, -0.0111496598, 0.0190582816, -0.0553997718, -0.0216035731, -0.001936137, -0.0622055121, 0.042625796, -0.0131844003, 0.0662752986, -0.0417297818, 0.0108042518, 0.0997370034, 0.0601450205, -0.0529293641, 0.0204098132, -0.0008073915, 0.0303528626, 0.0689490065, 0.0323528573, -0.110234268, -0.0278135389, -0.0183640849, 0.0071875895, -0.0179718155, -0.0122681782, -0.0452568084, -0.1062508374, 0.0157473776, -0.0309824236, -0.0017749401, -0.0000975008, -0.0144309038, 0.0200821217, -0.0110811638, 0.0486293994, 0.0473975539, -0.016257599, 0.0098192245, 0.0038005142, -0.0955206305, -0.030939186, 0.0490930378, -0.035936445, 0.0049903179, 0.0487991683, 0.0232559945, 0.0007838983, -0.0285231564, 0.0274549872, -0.0287123807, 0.0343540385, -0.0395429395, 0.0081410073, 0.0067377873, 0.0038412707, 0.0011480738, 0.0037470215, -0.0730855167, -0.0065231421, 0.0334376395, 0.0058670188, -0.0193030257, -0.0081845894, -0.0032590993, 0.0390697047, 0.0065241745, 0.0314432494, 0.0642825812, -0.0402294174, 0.0071555288, -0.0575789697, -0.0189662967, -0.0485273302, -0.1022899374, -0.0212464314, 0.0132195372, 0.0562680252, -0.0768210366, -0.0179020818, 0.0538025461, 0.0350728296, -0.0007235871, -0.0322323181, -0.0004531671, 0.0159238651, -0.0073459302, 0.0636142567, -0.0009240665, 0.018053567, 0.0211085323, -0.003683903, 0.0391315967, -0.0406126268, -0.0159069914, -0.0021068186, -0.0462070294, -0.0556070432, -0.0198777057, 0.0217521712, 0.0287698992, 0.0489490181, -0.0374296047, 0.0004228142, -0.0223850645, 0.0317153521, -0.0591157004, -0.0051930817, 0.0247500539, 0.011829488, -0.0111130737, 0.0008631251, -0.0466964841, 0.0083164051, -0.0312146116, -0.0100647993, 0.0063029351, -0.039994739, 0.0379135087, 0.0179361347, 0.006671499, 0.0063961996, -0.0373045355, -0.0060468181, -0.0039795348, -0.0182842854, -0.0396736488, -0.0327510051, 0.0223165192, -0.0540800802, -0.0601838604, 0.0054658437, 0.0140018333, -0.081999369, 0.0887440965, -0.0151817631, 0.0877712891, 0.0333940014, -0.0097984672, 0.0042612874, -0.0530758202, -0.0332532264, -0.024316201, -0.071819745, 0.0333767049, 0.0037340736, 0.0626281127, 0.0085295746, 0.0095645795, 0.0261725336, 0.0076541333, -0.0039542541, -0.0665692165, 0.0048188088, 0.027792532, 0.0038213555, -0.0032601757, 0.0248091575, -0.041358009, 0.0169182401, 0.016012175, -0.0024529551, -0.0563706495, -0.0205923766, 0.0219236426, 0.0594054423, -0.0138150444, -0.0625525638, 0.0358922742, -0.0226815958, 0.0224053767, 0.0088658007, -0.0095936032, -0.0512892976, -0.0125447493, 0.0333109386, -0.0178185757, -0.018994838, -0.0268050618, -0.0806631744, -0.0817064345, -0.00168454, 0.0277540721, 0.0035466566, 0.0273216832, 0.0080546904, 0.0914300382, 0.0220611598, 0.00781989, -0.0213578325, -0.0280357394, -0.0433646813, -0.0107681844, -0.0124524552, -6.234539918e-33, -0.0056076786, -0.0686450973, 0.0259103645, -0.0333203077, 0.01382202, -0.0067557618, 0.0018387263, 0.0392525867, -0.0172715113, 0.0053014355, 0.0012337649, 0.0304506663, -0.0026357246, -0.0138028348, -0.0012753184, 0.0111805564, 0.0229064487, -0.0025611443, -0.0310029387, 0.009135046, -0.0396099165, -0.0203640088, 0.022797795, -0.0412560813, 0.0722457543, -0.0098146889, -0.0166174471, 0.010111141, -0.0380976833, 0.0736495107, 0.0053984053, 0.0501896441, 0.0366466567, -0.008541829, 0.0122911362, 0.0041392478, -0.0182713121, -0.0319948941, 0.0563426502, -0.0053758998, -0.0089512682, 0.005091235, 0.0433053225, -0.0402838588, 0.0025844458, 0.031299267, 0.0217454694, -0.0107605383, 0.039590504, -0.0043461709, -0.0417831726, 0.0318386257, -0.0501101501, -0.0250060949, -0.0426680669, 0.0692135617, 0.0083336364, -0.0196362473, -0.0086824261, -0.0090219369, -0.0178846978, 0.0013197514, 0.0580329821, -0.0111018671, -0.0262792222, 0.0666734502, -0.0603421144, 0.0349400118, -0.0303783473, -0.0178411026, 0.0526782349, 0.0361073613, 0.060778413, 0.0480769239, -0.0060294946, 0.0007241022, -0.0159645621, 0.025427863, 0.0334722847, 0.0148587851, 0.0504290834, 0.0053623351, -0.0778948069, -0.0116410982, -0.02963477, -0.0108192693, -0.0270761307, -0.0586923696, 0.019855801, -0.0145862438, -0.0508773029, -0.0125968326, -0.0222732034, -0.047544416, -0.0123190461, 0.0214604996, -0.0438259281, -0.0092337262, -0.0375188366, 0.0058027576, 0.0093226451, -0.0055143144, 0.002328113, 0.0280474704, 0.049047064, 0.0024483921, 0.010139077, -0.0446547978, -0.0624255128, -0.0163588095, -0.0311222523, 0.0363880992, -0.016268298, 0.0502806269, 0.0177091509, 0.0302385613, 0.0001509009, 0.0460635535, 0.0235482976, -0.0663571581, -0.0722114444, 0.0312354136, -0.0470682532, 0.0184920449, -0.0353905112, -0.0474225134, 0.0101383608, 0.0605495498, 0.0211858973, -0.0473947152, -0.0157681201, 0.0155177442, 2.883e-7, 0.0530807711, 0.0724371374, -0.0166614298, 0.0201473981, 0.0244881865, 0.0206452105, -0.0109093199, -0.0130620487, 0.0382052325, -0.0791669562, -0.0417042971, 0.0412278473, 0.0599952266, 0.0580303371, -0.0878653973, -0.0013360813, 0.0169497672, -0.0037462474, -0.0452130325, 0.0175206885, 0.0482652709, 0.0053396369, -0.0077391472, 0.0254209489, -0.0145745529, -0.033050824, -0.0036902931, -0.0230248682, 0.0023436444, 0.0361742452, 0.0377170518, -0.0588183217, 0.0255322643, 0.0479575247, -0.0006150022, -0.0178909786, -0.0377928093, 0.0438923202, -0.0140251825, -0.0309624709, -0.0193088353, -0.0287163965, 0.0267124716, -0.0534677282, 0.0685588866, -0.0039658495, 0.0095658405, -0.054824397, -0.017740123, -0.0563280806, -0.0075158072, -0.0106016845, 0.0018170604, 0.0367966704, -0.0324305184, -0.0384589434, -0.0192797445, -0.0235379729, -0.0396079645, 0.012766216, -0.0468446538, -0.0460757911, 0.0148733594, -0.0430482179, -0.0127918413, -0.0372418463, 0.0159660615, 2.909633208e-34, -0.0078840526, 0.0171668027, 0.0471810102, 0.0408000425, 0.0596500672, 0.0362826288, 0.006546089, 0.0260105226, 0.0107799666, -0.0032104568, -0.000849463 ]
http://arxiv.org/abs/2310.09661v1
http://arxiv.org/pdf/2310.09661v1
Legend at ArAIEval Shared Task: Persuasion Technique Detection using a Language-Agnostic Text Representation Model
2023-10-14T20:27:04
2023-10-14T20:27:04
Olumide E. Ojo, Olaronke O. Adebanji, Hiram Calvo, Damian O. Dieke, Olumuyiwa E. Ojo, Seye E. Akinsanya, Tolulope O. Abiola, Anna Feldman
cs.CL
cs.CL
In this paper, we share our best performing submission to the Arabic AI Tasks Evaluation Challenge (ArAIEval) at ArabicNLP 2023. Our focus was on Task 1, which involves identifying persuasion techniques in excerpts from tweets and news articles. The persuasion technique in Arabic texts was detected using a training loop with XLM-RoBERTa, a language-agnostic text representation model. This approach proved to be potent, leveraging fine-tuning of a multilingual language model. In our evaluation of the test set, we achieved a micro F1 score of 0.64 for subtask A of the competition.
[ 0.0601087734, 0.0462385304, -0.0089847036, 0.0274143554, -0.066348426, 0.0209683869, 0.0259923507, 0.0327136293, -0.0291171819, -0.052236788, -0.0427569412, -0.0605480224, 0.0420323201, 0.0318988115, 0.0489390716, -0.0171927381, 0.0169374533, -0.045077987, 0.0555433147, -0.0036020835, 0.0653926954, 0.0292950124, -0.0006853573, 0.043844156, 0.010307896, -0.0710259229, -0.0133333821, -0.0268690679, 0.0145580461, -0.0053035361, 0.0175604187, 0.0668121055, 0.0133985505, 0.0154413972, 0.0000019263, -0.0383833535, -0.0327657647, -0.033258006, -0.0321712196, -0.0060491553, 0.1100144908, -0.0140853981, -0.0345272087, 0.0055655511, -0.0422175638, 0.0321765505, 0.0234994497, 0.1083778441, 0.0687064752, 0.0902604386, 0.0079886736, -0.0148545234, 0.0139205987, -0.0217313077, -0.0104552722, -0.0021371739, 0.0107036885, -0.0551252551, -0.005904899, 0.0463217795, 0.0145179182, 0.0314418264, -0.026036948, -0.0348406881, -0.0655266419, -0.0333358124, -0.0274099074, -0.0038511436, 0.0077821515, 0.0107500479, 0.0014164957, -0.0285541788, -0.0012556615, 0.023015881, 0.0174338594, 0.0381121747, -0.0141682159, 0.0335855223, -0.0153906075, 0.0054873652, 0.0371881835, -0.0031286471, 0.0059344219, 0.027670607, -0.0090904217, 0.0197562743, -0.0258233789, -0.0636022761, 0.0771340504, -0.0129160304, -0.0099509843, -0.0550637804, 0.0418770015, -0.0135379443, -0.0339896567, -0.0159898102, -0.0066287541, -0.0288829971, 0.0384970047, -0.1049614027, 0.0383711122, 0.0421162546, 0.0301138349, 0.0211836658, -0.028354086, 0.0249966644, 0.0179576874, -0.0068172989, 0.002797469, 0.021232672, -0.0446127392, 0.0080268085, 0.0015507583, 0.0205331985, -0.0236079991, -0.0132321417, -0.0642709062, -0.023667708, -0.0774036497, 0.0515495837, -0.0277974736, 0.00262997, -0.0162613057, 0.0024491793, -0.0145416437, 0.0159647558, -0.0115169976, 0.0139936684, -0.0186144318, -0.036391899, 0.0020023568, 0.0463667288, 0.0045700921, -0.0110027865, 0.0069846767, 0.0008341434, -0.0552850328, -0.0179464649, -0.04225678, -0.0165256653, -0.0106697939, -0.0623604767, -0.0094675375, -0.0353618674, 0.0209203716, -0.0289414655, -0.0034082443, -0.0275071133, 0.0095218308, 0.048665408, 0.0223099254, 0.0528197587, 0.0830012411, -0.0055889487, 0.0519032106, 0.0355856344, -0.0052715796, 0.0850653276, 0.0286979675, 0.0874840692, 0.0199047737, 0.0037793543, 0.0469308943, 0.0342906192, 0.0382977054, 0.0160958152, 0.0139676761, -0.0253260359, -0.0391284265, 0.0288911685, -0.0137029532, 0.0461627133, -0.025871519, -0.0109020611, 0.0747382119, 0.0260613039, -0.0350667052, 0.0230120309, 0.0216412209, 0.0528631955, 0.0440015607, 0.0083176279, -0.0132512245, -0.0240480322, -0.026178306, -0.0089737428, 0.0250443686, 0.0385650061, -0.0243802983, -0.0504190326, 0.0046819011, -0.0217651837, 0.0267563034, 0.0136583783, 0.0545874834, 0.0022421051, -0.062604636, -0.0530808233, 0.0150664626, -0.01352253, -0.0197306555, -0.0539803319, -0.0162700973, -0.0016695105, 0.0152122537, -0.0115457978, 0.011207087, -0.0672619194, 0.0106235761, 0.0772755742, 0.0237060916, -0.0442833379, -0.0269874297, -0.0251954254, -0.0479802266, 0.0008656027, -0.0055625066, -0.003278373, -0.0110955797, 0.0418965854, -0.0197681971, -0.0338637717, -0.0225529708, 0.0189641658, 0.0244905967, -0.0234501939, -0.0282028075, 0.0395664945, 0.0408245847, 0.0499862544, -0.0235045496, -0.0133775324, 0.0290591531, -0.0389393233, -0.0108663552, -0.0003224275, -0.0305066165, 0.0114096114, 0.0232595112, -0.0212989654, -0.0315227136, 0.0471454784, 0.0021741784, -0.0180316474, 0.0934958681, -0.0372362062, 0.0505479649, -0.0159022734, 0.0352754407, -0.0063919532, -0.0082324715, 0.0022664473, 0.0578567758, -0.0078827133, -0.0265261941, -0.0026210959, -0.0537016205, 0.025016889, -0.0048088967, -0.0116085894, -0.0088572698, 0.0168715883, 0.012534909, 0.0681722239, -0.0126725407, 0.0001711053, -0.0566425212, -0.0864981413, -0.0385819189, -0.0209390968, 0.0322098061, -0.0344964936, -0.0231359452, -0.0078513846, 0.023043083, -0.0791106224, -0.0503681712, 0.0075674304, 0.0088852234, 0.0218090452, -0.0185739342, 0.0096317399, -0.0237612277, 0.0221003927, -0.0078102085, 0.0756000057, 0.0130048357, -0.0592838414, 0.0000924376, -0.0466353074, 0.0206865836, 0.0137342252, -0.0176209714, -0.0532344542, 0.0249866936, 0.0211928561, 0.0401336066, 0.0753524601, 0.025307484, 0.0172978267, 0.0009259874, 0.0462045819, -0.0615092777, 0.0057387301, -0.0041698273, 0.0366452709, -0.0625565276, -0.051064387, 0.0080385925, 0.0003357069, 0.0056274789, 0.0239185225, -0.0144617949, 0.0347066335, 0.0264903475, -0.0360892043, -0.0106898518, -0.0372424908, -0.0164579023, 0.0392389931, -0.0177345891, -0.0494509488, 0.0428857803, -0.0287771188, -0.0001004637, -0.0436142571, -0.03524087, 0.0022424781, 0.0200768523, -0.0249902736, 0.0494375303, 0.0102553749, -0.0250367876, -0.0214683972, -0.0544711761, 0.0022744634, -0.0401741304, 0.0396582671, 0.0200588275, 0.0084550828, 0.0332177021, -0.0256522335, -0.0482305326, -0.025937723, -0.0296806227, -0.0121150594, 0.0402751453, -0.0321153216, -0.0679376349, -0.0008876807, 0.0307536218, 0.0156166451, -0.02890753, 0.0060297088, 0.001334189, -0.0314058363, 0.0446742661, -0.0186130796, 0.012133739, -0.0414042249, 0.0073504895, 0.055666551, -0.0277417637, -0.0321384668, -0.0344184749, -0.012995204, 0.0434905924, -0.0738464147, 0.0116671873, -0.0599758327, 0.0047432687, -0.047110118, 0.0282871462, 0.0799532384, 0.0106888171, -0.0899475291, -0.0058695907, -0.0063691428, 0.0244068764, -0.0276030414, 0.020120075, -0.1121040285, 0.008335771, 0.0299134497, 0.0200563855, -0.0218672529, 0.0083245235, 0.0144871213, -0.0866377503, 0.0150828343, 0.0100039775, 0.0352632366, -0.038364917, -0.0420385562, -0.0162549429, -0.0149793858, -0.0058485172, -0.0582058802, -0.0195364188, 0.014486189, 0.0177271888, -0.0099749556, -0.0551042035, -0.0078655714, -0.0355210043, 0.0169555284, 0.0617142171, 0.0380264409, -0.0115988702, -0.0546614714, 0.0508497246, 0.0007107452, -0.0296148732, -0.0251680296, 0.0635533705, -0.0487479009, 0.0184259675, -0.0225693882, -0.0023014429, -0.0334187895, -0.0221507605, 0.0225752722, 0.0565647818, -0.0229421761, -0.0012973786, 0.0230742712, 0.0167307295, 0.0431420915, 0.0739502236, 0.0038554356, -0.037394125, -0.0535309203, -0.0450739972, -0.0080300411, -0.0493519567, -0.0362549946, -0.0453535989, 0.0485203452, -0.0008645138, -0.0443580002, -0.0669014081, 0.0090713594, 0.0333791003, 0.022766171, 0.0243700389, -0.006267854, 0.0409403853, -0.0178311523, -0.034021154, -0.0009967822, 0.028084565, -0.0415644683, -0.0352021828, -0.018912632, -0.073825568, 0.0013204033, -0.0219940059, -0.025526775, -0.0336761028, -0.0070296018, 0.0143692587, 0.0184490923, 0.0498488694, 0.0165735912, -0.0382946245, 0.0456622094, -0.0147916777, -0.0019034601, 0.0173546206, 0.0589875132, 0.0078173466, -0.0106485225, 0.0507761948, 0.0466945618, 0.0360119157, 0.0445313379, -0.0073494245, -0.0304431245, 0.0144010456, 0.0177300442, -0.0552532412, -0.0172068104, -0.0331945419, -0.058187373, -0.0602050051, -0.0247693453, 0.0037766749, -0.015152528, -0.0374516584, 0.0121237766, -0.0006360242, 0.0208852682, 0.0267534927, 0.0087716356, -0.0294790752, 0.0108252261, -0.0320293084, 0.0795409828, 0.0083639128, 0.0640632957, -0.0411754027, 0.0378440209, 0.0244788583, 0.004223065, -0.0060905595, 0.0449391119, -0.0014856532, 0.0390471667, 0.0049143098, -0.0074943313, 0.0564819463, 0.0766787082, -0.0147680053, -0.0033794965, -0.0030402248, 0.0007623989, 0.0505801886, -0.0364822373, 0.0565012358, 0.0031360819, 0.0070110094, -0.0104845325, 0.0102321729, -0.0429732502, -0.0003712792, -0.03028257, -0.0053332672, -0.023193799, 0.0328831747, 0.0221784357, -0.0774368569, 0.0012857686, 0.0541099645, -0.0279998258, -0.0237512309, -0.0505003557, 0.040604312, 0.0289805103, -0.0258195121, -0.0061405692, -0.0280794296, -0.04717011, 0.0259496141, 0.0005578841, -0.0317720212, 0.0146587826, 0.0185433794, 0.0737059712, -0.0008398776, 0.0399096683, -0.0965817273, -0.0115567241, 0.0260283053, -0.0325984173, 0.0160509963, -6.068757378e-33, 0.0448047966, -0.0149985002, 0.0048997784, -0.0057796724, -0.0021705241, 0.0090785744, -0.010080711, 0.0081688808, -0.0292651914, 0.0663692504, -0.0316093713, 0.0146226743, 0.0109804217, -0.0029258518, 0.003187232, 0.0136891166, 0.0542289764, -0.0098830033, -0.047526706, 0.0456531756, 0.0506402552, 0.0203417223, 0.0707443357, -0.1164955348, 0.0775911808, -0.0103572942, -0.0609800778, -0.0164736677, 0.0241287258, 0.1028753221, -0.0347684585, 0.0215182696, 0.0159804337, -0.0388635248, 0.0238891356, 0.0546516627, -0.0144519527, -0.0175579526, 0.0205102563, 0.0185711179, -0.0004843848, -0.0313556083, -0.0031840014, -0.0276277885, -0.0504848175, 0.04023166, 0.01030357, -0.0062615834, 0.0220683441, 0.0025293904, -0.0811491013, 0.0339905694, -0.0056452397, -0.001161753, 0.0590560101, 0.0759295747, 0.0204522554, -0.0003268318, -0.0805318877, 0.0386240482, -0.012928782, 0.0289572198, 0.046770785, -0.0359522253, -0.0493360423, 0.083364673, 0.0157707315, -0.0156148514, 0.0149754314, -0.0057279235, -0.0025854877, -0.0136817945, 0.0436256118, 0.0514807105, -0.0153856287, -0.0194798633, -0.0518141389, 0.0240362361, 0.0847218558, 0.0209697485, 0.0181180108, -0.0397280827, -0.0604101717, -0.0121874679, -0.0213932376, -0.0567299053, -0.0288869124, -0.0355246216, 0.0157801546, 0.0208181106, 0.0018067814, 0.0924805701, 0.0139898155, -0.0434169956, -0.0147018647, 0.0108546056, 0.0097837998, 0.0233235098, 0.0218953416, -0.0065805679, -0.0330730118, -0.0284322463, -0.0199714247, 0.0107096527, 0.0348960273, 0.0028245051, 0.041052267, 0.032534305, -0.0931463391, 0.0049438942, 0.0020833306, 0.0366497375, 0.0209824443, 0.0720559284, 0.0148829175, -0.0098489178, 0.0170337353, 0.0492625758, -0.003384718, -0.0177473575, 0.0045840302, -0.0085920291, -0.028300764, 0.009016512, -0.0256353877, 0.0042739529, -0.0268377159, 0.0171199199, -0.0120014129, -0.0534538478, 0.0214869753, -0.042892348, 2.681e-7, 0.0160623956, 0.0419348516, -0.0271725152, 0.015337022, -0.0205258001, 0.0309548192, -0.0055270721, 0.0053094355, 0.0005072133, -0.0103256525, -0.0064471634, 0.0030464109, 0.0494461805, 0.0014821447, -0.1102527007, -0.0206462014, -0.0007321641, -0.0176898446, -0.057494618, 0.0281277411, 0.0236131996, 0.1245552823, -0.0126560275, -0.0026737629, -0.0445606038, -0.0253246687, 0.0474031605, -0.0332170762, -0.0294291154, 0.0400347523, 0.0322165675, -0.0857525095, -0.0105583994, -0.0026510775, -0.0303110629, 0.0174713098, -0.0138965538, 0.0931591392, 0.0170586463, -0.0051996931, 0.013856045, 0.0115102408, -0.0132810604, -0.0377246328, 0.0271738134, 0.025141824, -0.0596305467, -0.0434036367, -0.0270937737, 0.008302711, 0.0438695662, 0.000463149, -0.0214287005, 0.012996966, 0.0195729658, 0.0086438721, 0.0127579775, -0.0496785641, 0.0305512901, -0.0264205597, 0.0190781653, -0.0150636509, -0.0099734617, -0.023517685, -0.0125731956, -0.0190402716, -0.0010716156, 2.484389173e-34, 0.0528946742, -0.0324969664, 0.0164736155, 0.0268371515, 0.0371954888, 0.0159499627, 0.0196791347, 0.0087110279, 0.0401732847, -0.0440539196, -0.0268306248 ]
http://arxiv.org/abs/2310.09651v1
http://arxiv.org/pdf/2310.09651v1
Lexical Entrainment for Conversational Systems
2023-10-14T19:47:37
2023-10-14T19:47:37
Zhengxiang Shi, Procheta Sen, Aldo Lipani
cs.CL
cs.CL, cs.AI, cs.LG
Conversational agents have become ubiquitous in assisting with daily tasks, and are expected to possess human-like features. One such feature is lexical entrainment (LE), a phenomenon in which speakers in human-human conversations tend to naturally and subconsciously align their lexical choices with those of their interlocutors, leading to more successful and engaging conversations. As an example, if a digital assistant replies 'Your appointment for Jinling Noodle Pub is at 7 pm' to the question 'When is my reservation for Jinling Noodle Bar today?', it may feel as though the assistant is trying to correct the speaker, whereas a response of 'Your reservation for Jinling Noodle Bar is at 7 pm' would likely be perceived as more positive. This highlights the importance of LE in establishing a shared terminology for maximum clarity and reducing ambiguity in conversations. However, we demonstrate in this work that current response generation models do not adequately address this crucial humanlike phenomenon. To address this, we propose a new dataset, named MULTIWOZ-ENTR, and a measure for LE for conversational systems. Additionally, we suggest a way to explicitly integrate LE into conversational systems with two new tasks, a LE extraction task and a LE generation task. We also present two baseline approaches for the LE extraction task, which aim to detect LE expressions from dialogue contexts.
[ 0.065368928, 0.0451750159, -0.0240295921, 0.0465269275, -0.0440461338, -0.0071997675, -0.0130602764, 0.0050345133, -0.0221440215, -0.0439299159, -0.0514291376, -0.0170203745, 0.0031970004, 0.0257167853, 0.0206526108, -0.0445756726, 0.0356312767, 0.0050092102, 0.0009916794, -0.0000438296, 0.01332785, 0.0083430922, -0.0206273515, 0.0577988513, -0.0197846647, -0.0077062063, -0.0256869588, 0.0196385551, -0.0003223958, -0.0255341027, 0.0417712852, 0.0484210774, -0.0014158132, -0.0193928741, 0.0000019138, -0.0651702657, 0.0338367186, -0.0531955212, -0.0265418496, -0.0291397497, -0.0050107632, -0.0234575532, -0.000034935, 0.0142803695, -0.054272715, 0.046044413, 0.0383008905, 0.0230034702, 0.0301232245, 0.0777139142, 0.0039290539, 0.0078745522, -0.0110953329, 0.0031534878, 0.0032988952, -0.0610648282, -0.000161851, -0.0189142507, -0.0219627488, -0.0304098576, -0.0118184239, -0.0063546337, 0.0070093763, 0.0068691103, 0.021238476, 0.0386204161, -0.0028577473, -0.0427269824, -0.032181032, 0.1027394086, 0.0429133326, 0.01303015, -0.0070944652, -0.0079945922, 0.034868259, 0.0211517792, -0.0284137484, 0.0002765867, -0.0213070735, -0.003280303, -0.0162507296, 0.0103869364, -0.0179853998, 0.0271548089, 0.0039360602, 0.0747593865, 0.0181454625, -0.0466046929, -0.0051418575, 0.0037753291, 0.0118095335, -0.0662554353, 0.0135056684, 0.0309111532, -0.0652537644, 0.0364889055, -0.0482775606, -0.0040154299, 0.0429787822, -0.0566544235, 0.0051480243, 0.0144995758, -0.010894821, -0.0108635891, -0.0099719753, 0.0446826592, 0.0011554346, 0.0235038996, -0.0506008342, -0.0108620925, -0.0407821275, -0.0125673842, -0.0659274906, 0.0094657792, -0.0748261437, -0.0473120958, -0.0562555678, 0.035986159, -0.0257728156, -0.0049373284, -0.0290843304, 0.0531610511, -0.0341156572, -0.0105983866, -0.0392154232, 0.0038430861, -0.0736439154, 0.0495515168, 0.0391477421, -0.095675543, -0.0190686136, 0.0232942887, 0.0278984793, -0.0042225588, -0.0052035674, 0.0552686378, -0.0295618381, -0.0359465517, 0.0054134307, -0.0385998338, -0.0491385125, -0.0578086413, -0.0139408568, -0.0395542569, 0.0169367213, 0.0019033898, -0.0224188808, 0.00371944, 0.0256982557, 0.0259669386, -0.0351146124, 0.0754898936, -0.0339274444, 0.0234970693, 0.0543944463, 0.0018407567, -0.0094943857, 0.05489913, 0.0758375227, 0.0168376714, 0.0745631307, -0.0225282907, 0.032701686, 0.0282964166, 0.0050650653, -0.0247725602, 0.0048743598, 0.0176674817, -0.0323893763, 0.0212187991, 0.0414002761, 0.0441987142, -0.0629700348, -0.0127797723, 0.0681265593, 0.0482126661, -0.0166572593, 0.0186535958, 0.0220809318, 0.0120274425, -0.0297992304, 0.0351110175, -0.0312729217, 0.0143605014, -0.0459418856, 0.0126915025, 0.0431946255, 0.0066448799, -0.0337182879, -0.0369570665, 0.007649947, -0.01226955, 0.0248569585, -0.0214831978, 0.0258484241, 0.0406328999, -0.0409898199, 0.0182354748, 0.0151465489, -0.0353853442, -0.0090714842, -0.0583156906, 0.0044886437, 0.0857881531, 0.0378498286, 0.0328344256, -0.0524735413, -0.0006954288, -0.030750474, 0.0789107829, 0.0360810235, -0.0415286757, 0.0569785982, -0.0343185738, 0.0078776367, 0.0178334918, 0.0025917133, 0.0411442481, 0.0074746967, -0.0049735308, 0.0347010158, 0.0077764993, -0.0045362017, 0.0285104644, -0.0129475296, -0.0451912694, 0.0459450446, 0.0034604161, 0.044466611, 0.027040109, -0.0148189906, 0.0111692799, 0.0018056371, -0.0094319079, -0.0183866806, 0.0564928316, -0.0753393844, -0.0341148414, 0.0178303756, -0.0031708041, 0.0017321754, 0.0384618081, -0.0107447626, -0.0485954322, 0.0088676745, -0.0347523838, 0.0484619103, -0.0830887407, -0.0007608547, 0.0459234715, 0.0354832485, -0.0133592319, 0.0135210156, 0.0137529103, 0.0129072359, -0.000206964, 0.0411858931, 0.0217505414, -0.0368294865, 0.0101488605, 0.0303157885, -0.0333052874, 0.0216972064, 0.0493489467, 0.0398554988, -0.0844660625, -0.0104562435, -0.1202220172, -0.0048833471, -0.0208252016, -0.0009702769, 0.0292239245, 0.0108725764, -0.0143302036, -0.0469134226, -0.0424743034, 0.015260784, 0.0601040013, 0.0500434898, 0.0494149141, -0.0140673351, -0.0311635211, -0.0549086966, 0.0248952489, 0.0140535003, -0.0013864021, -0.0040579606, 0.0047250181, -0.0700121224, -0.0180342384, -0.0486427322, -0.0001093668, 0.0112181008, -0.0702035949, 0.0264309775, 0.0311741009, 0.0131038669, 0.0431203954, 0.0705664307, 0.0247901101, -0.0057328846, -0.0310040191, -0.0469379164, 0.0214452129, -0.0488570966, -0.0377231352, -0.0173700266, -0.0322328433, 0.0330981202, 0.033453986, 0.0316623896, 0.0302570816, -0.0315767676, 0.0024485488, 0.0218491778, -0.0642172843, -0.0303122588, -0.016987903, -0.0660516918, 0.0578093156, -0.0036036237, -0.0475643575, 0.0692314133, -0.0147534851, -0.039101366, -0.0592257604, -0.0162761882, 0.012401321, 0.0135630406, -0.0171416979, 0.026002204, 0.0134396907, -0.0595176481, -0.0413537882, -0.0227774419, 0.0056005712, -0.0404687412, 0.0709235594, -0.0504205041, -0.0100518018, 0.0289266072, -0.0748298243, -0.0830942839, -0.0089684324, -0.0085416278, 0.0297371875, 0.0009750163, -0.0000288503, 0.0049887672, -0.0044843745, -0.0111724883, 0.0399500318, -0.0233839359, -0.015713796, -0.0287569575, 0.0721731335, 0.0841049105, 0.0670653209, 0.0117794983, -0.0034533206, 0.0218431782, 0.0344247259, 0.0342492089, 0.0022209284, -0.0182151161, -0.0143042933, 0.0203758702, -0.0298709627, 0.0273277536, 0.0389312655, 0.0482014194, 0.0006226939, -0.0418427065, 0.1214678064, 0.0347365551, -0.0334767699, 0.020063132, -0.0185896661, 0.0339467935, 0.010874223, 0.0061273039, -0.0704908222, -0.0452944785, 0.0180564001, 0.027974328, -0.0140886726, -0.01181849, -0.0169153605, -0.1170042753, 0.0345990248, 0.0093105873, -0.0552847609, -0.0438111983, -0.0146848615, 0.0255261976, 0.0355641581, 0.0643163994, -0.002483848, 0.0040611341, -0.0141462609, 0.0039316779, -0.0151090585, -0.0332544111, 0.0057111615, -0.0171578173, 0.0907568038, 0.0731681436, 0.0413346142, 0.0319289677, -0.0034655535, 0.0280138385, -0.0354236402, 0.0051584239, -0.016915014, 0.0458086394, -0.0265489221, 0.0126311788, -0.0133905262, 0.0438880399, -0.0466989875, -0.0034839008, 0.0326705575, -0.0269034728, -0.031772092, 0.0025048158, -0.0231707059, 0.0466531627, 0.0676707774, 0.0631489679, 0.0338807255, -0.0524446443, 0.0006626302, -0.0068758372, 0.0250828303, -0.0326032676, 0.0464636125, -0.0116633, -0.0355885103, 0.0011397935, -0.1013396531, -0.10391137, -0.0356336273, 0.0016688536, -0.0063737296, -0.0382387452, 0.0265179817, 0.0159453917, -0.0161671489, -0.0205736794, 0.0023891656, 0.0027488887, -0.0493255034, -0.0392033011, 0.0186937675, -0.0299352072, -0.0221810173, 0.0500950851, -0.0465937033, -0.0556088425, -0.0244435053, 0.0513305441, 0.0293533709, 0.055729039, 0.0042841709, 0.0045671714, 0.0070050987, 0.0212005638, -0.0544295236, -0.0052615847, 0.0197511222, 0.0558291413, -0.0120192729, 0.0595685728, -0.0191081818, 0.0682620183, -0.0226465445, 0.0481875129, -0.0314885676, -0.1000736281, 0.0175504088, 0.0201493297, 0.0389598012, -0.0143558737, 0.0003627718, -0.0262246616, 0.0260500144, -0.0163658038, -0.0229109861, -0.0280514862, -0.0398421362, -0.0000878001, 0.0054502063, -0.0070078392, -0.0365478434, -0.036479678, 0.0365806445, 0.0029040298, -0.0588218383, 0.0189091694, 0.0229198709, 0.0009524936, 0.0159255918, -0.0228697751, 0.0325812809, 0.0056141857, 0.047743123, 0.0068536876, 0.0820923522, 0.0227442011, -0.0357328802, -0.0070997737, 0.023739038, -0.0345952772, -0.0049453126, -0.0129215335, 0.0332683884, 0.0271564312, -0.006410758, 0.0659398586, -0.0404343009, 0.0304479543, -0.0199136306, 0.0469780713, -0.0199766532, -0.0234479923, 0.0099237822, -0.0089659132, -0.0400557891, -0.0087454123, 0.0625331551, -0.0454543382, 0.0281955451, -0.0251002014, 0.0053102854, -0.0635218173, -0.0149791325, -0.0044548106, 0.0404610075, 0.0039188513, 0.0266706534, -0.0625320673, -0.0424963161, 0.0174311101, 0.001279337, 0.0182902701, -0.0188328605, 0.0558663048, 0.0691769049, -0.0169670153, -0.0355109982, -0.0369719863, 0.0102830622, -0.0484099463, -0.0198089574, -0.036993932, -6.242038837e-33, -0.0530534945, -0.0522867143, 0.0244722459, 0.0206925664, -0.0209983755, -0.0157676656, -0.0247274488, 0.0074879066, -0.0063899225, 0.0268378183, -0.0190020129, -0.0051217685, 0.0130654704, 0.0432912782, 0.0424995087, -0.0291901287, 0.0362499952, -0.0046535959, -0.0264344607, 0.0142490119, 0.0477639996, 0.0275644585, 0.061539147, -0.0499503426, 0.0141660795, -0.0156504326, -0.0222340189, 0.0003316439, 0.019031411, 0.0292620286, -0.0188428909, 0.067632027, 0.0209616646, -0.0018067441, 0.0074646389, 0.0799119696, -0.0470673069, -0.0496132933, 0.0327749774, 0.0018848762, -0.0495609418, -0.0199590214, 0.0404096991, -0.0136395739, -0.0383135639, 0.0507910214, 0.0196940284, -0.0164704714, -0.0164561477, 0.0055865818, -0.1084754467, 0.0026510267, -0.0176009424, -0.0727364123, -0.0305097308, 0.0747490823, -0.0238669217, -0.0423270576, -0.0488063544, 0.0360678248, 0.0057892697, 0.004338122, 0.0513091348, 0.037135344, -0.0092805335, 0.0706940815, 0.021329632, 0.0026609064, 0.0089722723, -0.0206691995, 0.0112024089, 0.0552290492, -0.030443415, 0.0476828404, 0.0297056045, -0.0270429198, -0.0162461065, 0.0311781764, 0.0546192601, 0.0178317633, 0.009487154, -0.0219720099, -0.028822545, 0.0062210541, 0.0020395501, -0.0023778102, -0.0284186918, -0.0450016446, 0.0457063317, 0.0232750196, 0.0171169657, -0.0013889621, 0.0232130606, -0.0247390065, 0.0086677736, 0.0204576273, -0.0373566784, -0.0192673597, -0.0071353451, 0.0004267281, -0.0630942807, -0.0455445722, 0.0230761487, 0.0306404904, 0.0080868443, 0.0191954821, -0.0077872453, -0.0099562546, -0.0450908989, 0.0224563163, -0.0352264978, 0.0353926904, -0.0421211571, -0.0165647008, 0.0384617895, 0.0106614782, -0.0550603718, 0.0668062717, -0.0036484522, -0.0176126547, -0.0492405519, -0.0462817363, 0.01427205, 0.0467940941, -0.0346595272, 0.0201381668, -0.0136706317, -0.032798674, 0.0066515673, 0.0054988181, 0.0130689768, -0.0250426829, 2.793e-7, -0.0115696844, 0.0554648899, 0.0335930213, 0.0269708578, 0.0377541967, 0.0421513468, 0.0047899424, 0.0622842349, 0.0172958728, -0.0078697512, 0.0225880928, -0.0319362804, 0.0475060791, 0.0188513864, -0.061770808, -0.0439574458, -0.08601477, 0.0143445134, -0.0161107425, -0.0000587899, 0.0672815293, 0.0297468752, 0.0041418853, -0.0280456189, -0.0237311218, -0.0544168763, 0.038602747, -0.0443062745, -0.0162393637, 0.0289638694, 0.018975284, -0.0032199104, 0.0171455089, 0.0266936067, -0.0050963582, 0.0154866138, -0.004995272, 0.0606155656, -0.0416294225, -0.0708417147, -0.0232492685, 0.0174486861, 0.0205665529, -0.0335789509, 0.0289258007, -0.0312555172, -0.0184790343, -0.0088388035, -0.0315142237, 0.0120276036, 0.0155511182, -0.0483814813, -0.0325595066, 0.0306043886, 0.0208458491, 0.0334925726, 0.0047082808, -0.0745452717, 0.0149183571, 0.008257363, -0.0489104949, -0.0449557491, -0.0284602959, -0.0190320704, 0.0180338863, -0.0421868004, 0.0103103518, 1.645654324e-34, 0.0165719576, 0.0287407432, 0.0182332415, 0.0792803094, 0.0196363013, -0.0255244169, -0.0021000521, 0.0155079914, 0.0421734788, -0.0405922122, -0.0103199454 ]
http://arxiv.org/abs/2310.09634v1
http://arxiv.org/pdf/2310.09634v1
An End-to-End System for Reproducibility Assessment of Source Code Repositories via Their Readmes
2023-10-14T18:01:11
2023-10-14T18:01:11
Eyüp Kaan Akdeniz, Selma Tekir, Malik Nizar Asad Al Hinnawi
cs.CL
cs.CL, cs.SE
Increased reproducibility of machine learning research has been a driving force for dramatic improvements in learning performances. The scientific community further fosters this effort by including reproducibility ratings in reviewer forms and considering them as a crucial factor for the overall evaluation of papers. Accompanying source code is not sufficient to make a work reproducible. The shared codes should meet the ML reproducibility checklist as well. This work aims to support reproducibility evaluations of papers with source codes. We propose an end-to-end system that operates on the Readme file of the source code repositories. The system checks the compliance of a given Readme to a template proposed by a widely used platform for sharing source codes of research. Our system generates scores based on a custom function to combine section scores. We also train a hierarchical transformer model to assign a class label to a given Readme. The experimental results show that the section similarity-based system performs better than the hierarchical transformer. Moreover, it has an advantage regarding explainability since one can directly relate the score to the sections of Readme files.
[ 0.0002034909, 0.0223143771, -0.0302176494, 0.0083160885, -0.0166291837, 0.0135668162, 0.0103544425, 0.0123308804, -0.0024295161, -0.0184445065, -0.015223654, 0.0710613579, 0.0408346467, 0.0535541065, 0.0127651617, -0.0123716881, 0.0064048758, 0.0394761972, -0.0332417525, 0.0072789001, -0.0199469719, -0.0078938296, 0.028527597, 0.0257055275, 0.0417816341, -0.0333058238, 0.0115911011, -0.0141880168, 0.0135586821, 0.0356139392, 0.0138330692, 0.0377107523, -0.0119836889, 0.1085221544, 0.0000019684, -0.0319289193, -0.0422128662, 0.074112244, 0.0123880235, -0.0046070968, 0.0491203368, -0.0314515196, 0.002214489, -0.0123937111, 0.009681697, 0.0057469876, 0.0613425002, 0.0337060839, 0.0806648359, 0.0195789505, 0.0026167247, -0.0271759275, 0.0495360494, 0.017525835, 0.0972272009, 0.0041445675, -0.0228980333, 0.0865305662, 0.0172058959, 0.0412104428, 0.0318764821, 0.0409329832, 0.0375974029, -0.0336914733, 0.053881593, 0.0169803295, -0.0275773518, -0.0050333752, 0.0189464316, 0.0514038801, 0.0003829841, -0.0626266152, 0.0321796797, -0.0319584124, -0.03890533, 0.0472307391, -0.0383350998, 0.004460555, 0.034122441, -0.010525153, -0.0314950123, -0.0064070704, 0.0356119312, -0.0358802862, 0.0030866161, 0.0610429905, -0.0025959576, -0.024839567, -0.0020568133, 0.0108244754, 0.0285349693, -0.0351534672, 0.0065576555, -0.0145556079, 0.0396681316, -0.0186037105, -0.029250605, -0.0618886277, 0.0693384558, -0.0350167677, 0.0193001572, -0.0076620975, -0.0213374235, 0.019434439, -0.0157848932, 0.0656506643, -0.0242471807, 0.042583473, 0.0069102263, 0.008570225, -0.075652644, -0.0063517424, -0.0109603694, -0.0041130949, 0.0681836084, 0.0183715913, -0.045910988, 0.0448109098, -0.026665248, 0.047499951, 0.0141529609, -0.0286469534, -0.0194138251, 0.0334133729, 0.0453613289, -0.0282970015, 0.0040570158, -0.0133695593, -0.0275242068, 0.0166732818, 0.0191261806, 0.0100468434, -0.0202130098, 0.0050296546, 0.0060017542, -0.0264114086, 0.0695964918, 0.0102006849, 0.0004601947, -0.0323146395, 0.0030610503, -0.0207218044, -0.0039484883, -0.0850036293, -0.0098631429, 0.0241814405, 0.0052823587, -0.0428421013, -0.0423104055, -0.0185309649, -0.0384890139, 0.0689008981, -0.0545547158, 0.008205981, 0.029506335, 0.0281132925, -0.0411306806, -0.011809946, 0.0349257626, -0.0070576533, 0.0536966436, -0.0690642372, 0.0610663965, -0.022126466, 0.0008068593, -0.0109192505, 0.0323956273, 0.0365021974, 0.0246042907, -0.0153824892, -0.0192137081, 0.0331366472, -0.0439850278, -0.0506009199, 0.018801054, 0.0326766744, 0.0645608455, -0.0094753085, 0.0078239935, 0.0405748859, 0.0181240533, -0.0105883274, -0.0274458565, 0.0585170835, 0.0052476996, 0.0054496964, 0.0069626388, 0.0017420335, -0.0014418095, -0.043791268, -0.0149697354, -0.0432890393, -0.038464278, -0.0131113566, 0.0449115783, 0.0128416205, -0.0030365782, -0.0055806939, 0.0097094802, -0.0612444878, -0.0280758291, -0.0181298181, 0.0543627962, 0.0201834105, 0.1083680019, -0.0355385393, 0.0353727713, -0.0186854452, -0.0168891214, -0.0189236403, -0.0075059407, -0.0294889845, -0.0149641633, -0.0419184007, -0.0310739875, -0.0341981575, -0.0193639137, 0.0093565667, 0.0056143287, -0.0303414762, 0.0197478291, -0.0280732457, -0.0480775684, 0.0524412468, -0.0121202953, 0.0320082232, -0.0220856909, -0.0340436436, 0.0671622306, -0.000062909, -0.0232529938, 0.0242393892, 0.0527857281, 0.0229657944, -0.0323717073, -0.0075863102, 0.0593581572, 0.0187668186, 0.0183340162, -0.0902031213, -0.0259137861, 0.0487223454, -0.0354117788, 0.0107978797, -0.0088905841, -0.031035183, 0.0051567652, -0.0067400802, 0.0146351326, -0.0625590906, 0.0066935285, -0.0092254654, 0.0123510621, 0.0125703225, 0.0666605905, -0.0169497989, -0.0160112493, 0.0365989096, 0.0221785009, -0.0519493595, 0.0078062499, -0.0427118018, 0.0165713429, 0.0102952542, 0.0140428375, -0.0161234792, -0.0240024552, -0.0068019177, -0.0235648975, 0.0154174352, 0.0106273256, 0.023733981, -0.0397691429, 0.0206871275, -0.0224157274, 0.0215465147, 0.0258039888, -0.0178382359, -0.0373491608, 0.0619846508, -0.0306594111, -0.0339114405, -0.0337231457, -0.0278381705, -0.0187662207, 0.0887486115, 0.0474888235, 0.0353669152, -0.1089217812, 0.0677629858, -0.0154515896, -0.0060332366, 0.0045157368, -0.0089084441, 0.0091833109, 0.0302141141, 0.0200429261, 0.0420570634, -0.0143174892, -0.0299494788, 0.0581802651, 0.0210351013, -0.0540131778, -0.0251919627, -0.015162183, -0.0417512208, 0.0178827886, -0.0845711082, 0.047183536, 0.0204920713, -0.0299648698, -0.0090475604, -0.0220292006, 0.0010670043, -0.004299839, -0.0237722136, 0.00970688, -0.0260885116, 0.0054424517, 0.02301687, 0.0070728636, -0.1048440859, 0.055233065, -0.0858372897, -0.0128017673, -0.0304373857, 0.0279561877, -0.0397428833, 0.0378746241, 0.0208001435, -0.0074252742, -0.0059201038, 0.0312661752, 0.0117682787, 0.0369666629, 0.0123383282, -0.0060165529, -0.0019702259, 0.0171099771, 0.0079840915, 0.0186191313, 0.0132538918, -0.002419926, 0.0082665645, 0.0156810228, 0.0020155567, 0.0116369454, -0.040641021, -0.0320385545, 0.0260767024, 0.0680789202, 0.0253135916, 0.033278659, -0.0441580825, -0.000047282, -0.0062395949, -0.0137348948, -0.0503734834, -0.0101949833, -0.0049953782, -0.0524124689, 0.0454941764, 0.0390220024, 0.0506313629, -0.0789287761, -0.0453829095, 0.0187644567, -0.0425889194, -0.0157440919, 0.0126934135, -0.0014391876, -0.0196505301, 0.0115628177, 0.0531402491, 0.0478227362, -0.0498542562, -0.0290842801, -0.0431780107, 0.0041891024, 0.0165842194, 0.0445964225, -0.0564344339, 0.0222190637, 0.0060276021, 0.0542900823, -0.0034560643, -0.012930139, 0.0577627979, -0.0199135374, 0.0708196536, -0.0087571591, -0.0598844178, -0.0762936771, -0.0980472565, -0.0159439091, -0.0156446528, -0.0521465763, 0.0194519702, 0.0241348185, 0.004999618, -0.0157564282, -0.0510540307, -0.0134215485, 0.026421139, -0.0500578284, 0.0168162156, 0.1147758216, 0.0380149931, 0.007027844, -0.0435181968, -0.0546895564, -0.0360341668, -0.0206143986, -0.0128980577, 0.0773658678, -0.0023366967, 0.0042628744, -0.0052290005, 0.0355725884, -0.0238645375, -0.0231526438, 0.0013313615, 0.0782885104, -0.0295637771, -0.0550971963, -0.0681552365, -0.0010887109, -0.0024542382, 0.0563540645, 0.0431789048, 0.005618453, -0.0184270572, -0.0350093395, 0.0264502689, -0.0065717385, -0.0117443651, -0.0129329404, -0.0569199547, -0.0181169901, -0.0788922235, 0.0021731118, -0.0326867104, -0.0045967335, -0.0001367092, -0.040362414, 0.0105960667, -0.0319555551, -0.0623646602, -0.0021627897, 0.0083758533, 0.0207695588, -0.0447600149, -0.0406558327, 0.0414618067, -0.0081006838, -0.0409261212, 0.0125831114, -0.0205424652, -0.0045170053, -0.0197022483, 0.0708943531, 0.0245691389, 0.004013407, -0.04997712, -0.0553642139, -0.0122177908, 0.0153779322, -0.0431665182, 0.0139407655, 0.0080112908, -0.0616445802, -0.013190344, -0.0360655598, -0.0607363656, 0.0021592793, 0.0047485339, -0.058291506, 0.0181614365, -0.0018392144, -0.0007960511, 0.0272137374, 0.0525970757, 0.017212769, -0.002604347, 0.018967934, 0.0135427145, 0.0157358162, -0.0104378024, -0.040113017, 0.0386219546, 0.0363539159, -0.0123171471, 0.0111756474, 0.0749700889, -0.0422225408, 0.0426931195, -0.0314786471, 0.0646657422, -0.0017462239, 0.0703271553, -0.0078732967, -0.0153024532, -0.0229108389, -0.0403063446, -0.0352005921, 0.0158400685, -0.0052780188, 0.0231403746, 0.0213189498, 0.0115079433, 0.036880549, 0.0217826478, -0.0877045766, -0.0049237236, -0.0297991112, -0.0239015371, -0.0052395458, 0.0581000224, 0.0559939146, -0.0395038612, -0.0092644496, -0.0609667934, 0.0602611303, 0.0286003985, -0.0040549845, -0.0036070852, 0.0185397435, -0.0172515847, -0.0222817902, 0.056885872, -0.0242184214, -0.0388494059, -0.0417787135, -0.0573282875, -0.0181821175, -0.009762072, 0.0111734513, -0.0109637035, -0.0492982902, -0.0914104804, -0.0210313126, -0.0322995447, 0.0462705493, 0.0817033872, 0.0263718441, 0.039614737, -0.0161119513, 0.0951259658, 0.0030461447, -0.0231219083, -0.0154589815, -0.0061959834, -0.0301360544, -0.055078201, -0.001490875, -5.238624737e-33, 0.0009544021, -0.0311736204, -0.0377626605, 0.0411168188, 0.0091595184, 0.0147383707, -0.0437368713, -0.0518260226, 0.0113691511, -0.0026722124, 0.0130554354, 0.0280046482, -0.00409838, -0.0664528534, 0.0693137348, 0.0318707898, 0.0283467956, 0.0223997124, -0.0465876572, 0.0525414236, -0.0065072584, 0.0150125986, 0.0132182362, -0.065489985, 0.0471348166, -0.0308663771, 0.0355340466, -0.0499351062, -0.0133100152, 0.0877542421, -0.0011981168, -0.0191350374, 0.0204681307, -0.019391017, -0.0149504319, -0.0182882752, -0.0546899922, 0.0085260412, 0.0007648874, 0.0010087967, -0.009544095, -0.0028236376, 0.0936237127, -0.0524970703, -0.0228401516, -0.0376038104, 0.0646091104, -0.0042340322, -0.0356974863, -0.0422316641, -0.0388684832, 0.0312440451, -0.0366888121, 0.0263639502, 0.020735994, 0.0615647398, 0.0351152271, 0.0638039038, -0.0211984124, 0.0214436091, 0.0005721738, 0.0140381828, 0.0684998408, -0.0416547544, 0.038538713, 0.0121019641, 0.0360618122, -0.0141965905, -0.0190539546, -0.0168463048, 0.0467794091, 0.0515262857, 0.0846716911, 0.0562569313, 0.0340902098, 0.0120414384, -0.0184912272, 0.0537034944, -0.0428324118, 0.0348830298, 0.0283467434, 0.0239278898, -0.0364376642, -0.0141875735, -0.028016666, -0.0259132385, -0.0162016079, -0.0634620339, -0.0075298892, -0.0237599127, -0.0357466638, 0.0426230989, 0.012945367, -0.0292313863, 0.0030180786, 0.0379760601, -0.0020767986, 0.0716469586, -0.0010930625, -0.0091282902, -0.0137108387, 0.0086133145, 0.0251626875, -0.0058289268, 0.0812143087, -0.005047109, 0.0625196174, 0.0111905066, -0.0323648602, -0.0038746225, -0.0162668321, -0.0705466792, -0.0300076064, 0.0201643202, 0.0010596417, 0.0118452571, -0.0050484343, 0.0095475186, -0.0197556969, 0.0323571339, -0.0511745214, 0.0123617612, -0.0020382274, -0.0035493991, -0.0016958285, -0.0263326894, -0.0283449739, 0.0560212843, 0.0337833464, -0.0010635321, -0.019940136, 0.0071296399, 2.61e-7, 0.0566918254, 0.0246112961, 0.0127540082, -0.0362041295, 0.0334755555, 0.0019596773, -0.0687604845, 0.0047927229, 0.0048990166, 0.0033539343, 0.0200384334, -0.0206540953, 0.068812266, 0.0295720696, -0.0422543027, -0.0617563762, -0.0478460379, -0.0424299315, -0.0373822041, 0.0039569619, 0.0070545096, 0.0152800465, 0.0411291942, 0.0216166992, 0.0240570884, 0.0056010531, 0.0027419194, -0.0526953638, 0.0638437048, 0.0486698896, 0.0096067609, -0.0260913633, -0.0094027091, -0.023625005, -0.0268294569, -0.0450451337, 0.0124799553, 0.0184972994, 0.0300639607, 0.0430868156, 0.0157394148, -0.0380737148, 0.0065614828, -0.0895883963, -0.0095684743, -0.0350781791, -0.0393830612, -0.0257849172, -0.0548013411, -0.0408862047, 0.0645767227, -0.0199077353, 0.042414289, 0.0114836078, -0.0239619073, -0.0450250767, -0.0327120386, -0.0343637839, -0.0202440601, -0.0065333373, -0.0133422138, -0.0494209677, -0.0216334797, -0.0488164313, 0.0550778098, -0.0387299843, 0.0360248201, 2.195679266e-34, 0.0454855449, -0.0376895033, 0.0109259412, 0.0058585885, 0.0367117412, -0.0265207589, 0.0169756971, 0.0233110972, -0.0388503559, -0.0062702321, -0.0068449955 ]
http://arxiv.org/abs/2310.09624v2
http://arxiv.org/pdf/2310.09624v2
ASSERT: Automated Safety Scenario Red Teaming for Evaluating the Robustness of Large Language Models
2023-10-14T17:10:28
2023-11-11T05:30:34
Alex Mei, Sharon Levy, William Yang Wang
cs.CL
cs.CL, cs.AI, cs.LG
As large language models are integrated into society, robustness toward a suite of prompts is increasingly important to maintain reliability in a high-variance environment.Robustness evaluations must comprehensively encapsulate the various settings in which a user may invoke an intelligent system. This paper proposes ASSERT, Automated Safety Scenario Red Teaming, consisting of three methods -- semantically aligned augmentation, target bootstrapping, and adversarial knowledge injection. For robust safety evaluation, we apply these methods in the critical domain of AI safety to algorithmically generate a test suite of prompts covering diverse robustness settings -- semantic equivalence, related scenarios, and adversarial. We partition our prompts into four safety domains for a fine-grained analysis of how the domain affects model performance. Despite dedicated safeguards in existing state-of-the-art models, we find statistically significant performance differences of up to 11% in absolute classification accuracy among semantically related scenarios and error rates of up to 19% absolute error in zero-shot adversarial settings, raising concerns for users' physical safety.
[ -1.815e-7, 0.0230404325, -0.0071761888, 0.0270889159, -0.0176792163, 0.0041004103, 0.0063820188, -0.0134326024, 0.0196117032, -0.0684603974, -0.0089304177, -0.0184201747, -0.0116881225, 0.026770493, 0.0286157951, -0.0440266989, 0.0717496946, -0.0550363846, -0.0368699431, 0.0125786774, 0.0119807357, 0.0023501639, -0.0213524941, 0.0516761318, -0.0500912927, -0.0096490225, 0.0050734151, 0.0244303402, 0.0389251597, -0.020015901, 0.0188827608, 0.0630468726, 0.0116169052, 0.0556218177, 0.0000021441, -0.0546976961, -0.0006829083, 0.0194420088, -0.0391159505, -0.0216144025, 0.0237987228, -0.0322965868, -0.0281095672, 0.0321367048, -0.0232150517, -0.0252313502, 0.0403744951, 0.0385444239, 0.0638293996, 0.0578469634, -0.0083687715, 0.030733183, 0.0598929226, 0.0038285779, -0.0456685759, -0.0796274021, 0.0284735132, 0.0038054278, 0.0130688734, -0.0016045045, -0.0008073704, 0.0277939048, 0.0527437441, -0.0261144396, -0.066489771, 0.0196012184, -0.0266261268, -0.0100749098, -0.0363835581, 0.0555805005, -0.0312929451, -0.015823612, -0.030783331, 0.0047419546, -0.0027202896, 0.016747376, -0.0040183347, 0.0164582431, -0.0083907899, -0.0184131209, 0.0102884844, 0.0424153283, 0.0503807515, 0.018855352, 0.0086230002, 0.0877002552, 0.0150788696, -0.0314548053, 0.0211713407, 0.0123325102, -0.0219064727, -0.0424644388, -0.0114073437, -0.0051874002, -0.03758711, 0.0165580567, -0.0883768424, -0.0521272235, 0.0541936345, -0.0330950245, 0.045213066, 0.0103372736, -0.0141108762, 0.0402007289, -0.0105932876, 0.0225994661, 0.0033786814, 0.0274392739, -0.0190695077, 0.0156786423, -0.032791432, 0.0048218402, -0.0176881943, -0.0040913294, -0.0158843994, 0.0273368321, -0.0394287556, 0.049366422, -0.0408754535, 0.0248511415, -0.039184317, -0.0105559267, -0.0311541725, -0.0153749846, 0.0146116884, -0.0573256277, -0.0274790339, 0.0072984444, 0.0069161467, -0.0941730961, -0.0032752282, 0.0349852778, -0.055230815, -0.0442040488, -0.0343253911, 0.1254078746, 0.0189846847, -0.0305365436, -0.0327232927, -0.040926557, -0.0415807292, -0.034259513, -0.0007026514, -0.0489004999, -0.0015204886, -0.0145243471, -0.0238750651, -0.0736145228, 0.0027104209, 0.0056201327, -0.0130279334, 0.0781622007, -0.0088708866, -0.0256146472, -0.0102024758, 0.0383449793, -0.0378620997, 0.071480751, 0.0302131828, 0.0173791479, 0.0445073321, 0.0172843635, 0.0305243544, 0.0475552231, -0.0025328246, 0.03396523, -0.0442921557, -0.0004609614, 0.039728608, -0.005986853, -0.0361614041, 0.0591757037, 0.0009528323, -0.024191305, 0.0461766087, 0.0225725491, -0.0274714399, -0.0067994175, 0.0559756644, -0.0239666216, -0.0278306454, 0.0075083873, -0.0753821209, -0.0225606523, -0.0955737084, -0.0294311158, -0.0098212734, 0.0444142744, -0.0223842952, -0.0241481792, -0.045411855, -0.0253368244, 0.0546123683, 0.0071660951, 0.0197727419, 0.0068395776, -0.0250637345, -0.0153970113, 0.0222078506, -0.0385651663, -0.0151441675, -0.0688573122, -0.0305229519, 0.0644190013, 0.0466055498, -0.0282100327, -0.0421124287, -0.0270044375, 0.0345225334, 0.0201574992, 0.0324769877, 0.0005853632, 0.0244311616, -0.0409651212, -0.0374513827, 0.0231297463, 0.0286583398, 0.0238453187, 0.0517707728, 0.0094804103, 0.0000934373, 0.0094811637, -0.0552518442, 0.0524215624, -0.0259303767, -0.0435193442, -0.0142856017, 0.0205845032, 0.0053095669, 0.0014085905, -0.0342268012, 0.0029374943, 0.0322031863, -0.0006646613, -0.019697234, 0.0112839341, -0.023555724, 0.0023265986, 0.0377224088, 0.0039844261, -0.0437817052, 0.0453940816, -0.0358776562, -0.0030436402, -0.0114592807, -0.0271445084, -0.0336752199, -0.0202808809, 0.0208930932, -0.0062131081, 0.0308590084, -0.0356228277, 0.0448527671, -0.0017470011, -0.0245353598, -0.0633513555, 0.0061473325, 0.0225676503, -0.0498610102, -0.0644821003, 0.013740954, -0.0349822082, 0.0661929995, 0.0093662022, 0.0186309163, -0.0263841115, 0.0198897757, -0.0571033508, -0.001792549, -0.0349576287, 0.0095593529, 0.0164746642, -0.0172568932, -0.013489401, -0.0154777253, 0.013967759, 0.019252969, -0.0021178513, 0.0341347978, -0.0008548002, -0.0009792103, -0.0385975391, -0.0173744764, -0.0103461118, -0.030596206, 0.0509127118, 0.0285528824, -0.0276490673, -0.0236690901, 0.0256834514, -0.0004424718, 0.0453175381, 0.0053975149, -0.0335875638, 0.0190837439, 0.0227123927, -0.0007845482, 0.0452603213, 0.013218943, 0.0331495702, 0.0767389163, 0.0273480043, -0.0222260915, 0.0092681311, 0.0169237107, -0.0440028459, 0.0079760905, -0.0180881694, 0.0120508326, 0.0540550873, -0.0021485935, -0.0183040835, -0.0483613797, -0.0136751803, -0.0490511023, -0.0628890917, -0.025708681, -0.0520054623, -0.0282727629, 0.0525316335, -0.015415608, -0.0231637675, 0.1073720232, -0.0295340829, 0.0269383248, -0.0193908047, -0.0494487174, 0.0216422174, 0.0393180922, -0.0082028564, 0.017473232, 0.0336411297, 0.0046924637, -0.0400563441, -0.0499629304, 0.0003301249, -0.0265444778, 0.0671926811, -0.0645752698, 0.0055693192, 0.0019642925, -0.0520228818, -0.0806431547, -0.0573756732, -0.0266869962, 0.0199593883, -0.04178565, -0.0013941095, -0.0389765017, 0.0196718499, 0.0121808099, 0.0350339003, -0.0175933577, -0.0033016943, -0.0104328683, -0.0059227329, 0.0517581366, -0.0221525524, 0.0122164711, -0.0335004367, 0.0570475198, 0.0807300806, 0.0299684554, 0.0309336931, -0.0579055622, -0.024912538, 0.0191425569, -0.0054956558, -0.0033083279, 0.041140154, 0.0180324465, -0.060041368, -0.0073118093, 0.0589288697, 0.016488621, 0.0072474857, 0.011461867, -0.0117135709, 0.0368908457, 0.0104968157, 0.0261016823, -0.0627862588, -0.0223244689, 0.0233428162, 0.0368438065, 0.0049487683, -0.0337869301, 0.0263989996, -0.10292992, 0.0285584293, -0.0025221, -0.0693505183, -0.0095833549, 0.0042906469, 0.026154561, 0.0048692785, 0.0926859528, -0.0007424175, 0.0022288519, -0.0319139846, 0.0290209688, 0.0047298917, -0.0802012458, 0.0282674283, -0.0573438518, 0.0629511476, 0.0788520649, -0.0130453641, -0.0317244641, -0.0047219158, 0.0383391939, -0.0003774657, 0.0115945535, 0.0195431169, 0.0590332784, -0.0145372506, 0.0128520364, 0.0058752066, 0.0111913392, 0.00609551, -0.0402694196, 0.0410756879, 0.0532493256, -0.0245001931, -0.0129208285, -0.0431215763, 0.0226095375, 0.049767524, 0.0699269101, 0.0173840709, -0.0485362448, -0.0095146382, -0.0349143073, 0.0014442971, -0.0708810389, -0.0465656109, 0.0279527847, -0.0296400078, -0.0704903454, -0.0642843544, -0.0420605317, 0.020360589, 0.0335296877, 0.0276521891, -0.0356521942, -0.0474213213, 0.0138301514, -0.0263952967, 0.0292007383, -0.0274555646, 0.0528367907, -0.0336661674, 0.0714082792, -0.0006724166, -0.0114559038, -0.0122261383, 0.0380446203, 0.000268062, -0.0935648531, 0.0360947438, 0.058686547, 0.0233053006, 0.0078847371, -0.068848148, -0.0697221458, 0.0869721696, 0.0535834692, -0.0276888534, 0.0010893452, 0.0571076274, -0.0375506915, 0.0055656391, 0.0140131284, -0.0575637817, 0.01477875, -0.0056095091, 0.006744863, -0.0400188528, -0.0387854017, 0.0074256309, 0.037294697, 0.0616068617, -0.0349252187, -0.0195894577, 0.0185685977, 0.0040665399, -0.018866688, -0.043213997, -0.0023828119, 0.0489515886, 0.0169099495, -0.0167225488, 0.0282230731, 0.0089339875, -0.0211655051, 0.0484943688, -0.0136602921, -0.0056185657, 0.0183380842, 0.0650517046, 0.0180454794, 0.0311884601, -0.0252199136, 0.0160804801, -0.0027543351, 0.0257299151, -0.0084810415, 0.0333776399, 0.028014075, 0.017903097, -0.0057714288, 0.0558868758, -0.0456764549, -0.0312930308, -0.0131530697, 0.0476689935, 0.0371556729, 0.0153144691, 0.0365131646, -0.0373672657, -0.0147307627, -0.0428579822, -0.0032727399, 0.0111110508, -0.0482399873, 0.0429573171, 0.043699827, 0.0089409715, 0.010577308, 0.0493030623, -0.0059540421, 0.0510014705, 0.0172218848, -0.0221587904, -0.0432182737, -0.0308749974, 0.0268193875, 0.0122307483, -0.0436995439, -0.0216835383, -0.0826231837, -0.1032502726, 0.0063293846, 0.0503988303, 0.0064422549, 0.0332047418, 0.0135240741, 0.0316585153, 0.0313168243, 0.020025488, -0.0220566485, -0.0105236508, -0.0234978851, -0.024487108, -0.0132013299, -6.333966169e-33, -0.0029436261, -0.0346316919, -0.0091572376, -0.0426475145, 0.0010226439, 0.0160788223, -0.0105665689, 0.0128803486, -0.0245427042, 0.023090424, 0.0026275227, -0.0119447, 0.0081417235, 0.0113598453, -0.0142673217, -0.0380648673, 0.0000717772, -0.0018627173, -0.0284403674, -0.0053301672, 0.036445953, -0.0106690666, 0.0173454918, -0.1187861338, 0.0454293527, 0.0021131174, -0.0390764922, 0.0251713954, -0.0417076983, 0.066870302, 0.0119293164, 0.0619124472, 0.0016728044, -0.0194462836, 0.0106391991, 0.0424518548, -0.0290360674, -0.0178285912, -0.0034749685, -0.0084588174, -0.0670978278, -0.0274104886, 0.0232374091, -0.0342839137, -0.0198696591, -0.018260492, 0.0072078914, -0.018051818, 0.0003815437, -0.006051816, -0.0509168394, 0.0146798072, 0.0067925621, -0.0504140593, 0.0241401941, 0.0618210956, 0.0417958312, -0.0197978672, -0.0221752431, -0.0101231625, -0.0146841872, -0.0098393252, 0.0926984623, 0.0172605775, -0.0435768329, 0.0736751929, -0.0519217774, 0.0000866672, -0.0223781038, -0.0224910434, 0.0208291244, 0.0531803258, 0.0425093472, 0.1052469984, 0.0044440799, -0.0043455097, -0.0700184926, 0.049228929, 0.0246879365, 0.0456679054, 0.0241728462, 0.0091027534, -0.1193959042, -0.0180108342, -0.0201590341, 0.0064963615, -0.0408709049, -0.0451704785, 0.0395360775, -0.0184270628, -0.068162784, 0.0096222246, -0.0067202137, -0.0369784422, 0.0197292399, 0.0395242684, 0.0058020097, -0.020604372, -0.0156802572, 0.0623792857, 0.0307321139, -0.0182376709, 0.0278702937, -0.0104992762, 0.0350555107, -0.0047780727, 0.0674073696, 0.0515962169, -0.0439702533, 0.0033589571, -0.0125735421, 0.0534085296, 0.0353692956, 0.0068725101, 0.0424456447, 0.014374692, 0.00451292, 0.0287671965, 0.0599522926, -0.0185562521, -0.02561111, 0.0158688817, -0.0327693224, 0.0050673485, -0.0240453929, -0.0053674621, 0.0049064145, -0.0183285289, 0.0417481028, -0.0638947263, -0.0030022815, -0.0105668334, 2.865e-7, 0.0302095059, 0.0470454507, 0.0283608716, -0.0066192946, 0.0000517619, 0.0726086348, -0.0275352597, 0.0552423708, 0.0079616811, 0.0020023184, -0.0185332503, 0.0270378273, 0.0594829991, 0.0639986619, -0.0283036456, -0.0313746706, -0.0334065035, 0.0296211671, -0.0490765013, 0.0002052353, 0.0914815366, 0.063244313, 0.0217169616, -0.0220783167, -0.0039727706, -0.0720055029, 0.0089491028, -0.0340770073, -0.0008188163, -0.0063166195, 0.0230872631, 0.0404379256, 0.0187914837, 0.071877867, -0.0090246713, -0.0063799466, 0.0009036324, 0.0654968917, -0.01448547, -0.0054345499, -0.0230003949, -0.0435813963, 0.0079383282, -0.0450897105, 0.0752351582, -0.0472306311, -0.0062675341, -0.0184664968, -0.0175774936, -0.0216400884, 0.028260285, -0.0303893536, -0.022747241, 0.0046775565, 0.0242365487, 0.0078981323, -0.0285573602, -0.0559755489, -0.0286420323, 0.0238673724, -0.0139919315, -0.054543566, 0.0260702763, 0.0282596052, 0.0024630981, -0.0975610912, 0.0080240732, 2.936258844e-34, 0.0090444731, 0.0002660039, 0.0182230733, -0.0375166796, 0.0427601561, 0.0167372078, -0.0005917189, 0.0189336687, 0.0165396277, -0.0196979083, -0.0188278239 ]
http://arxiv.org/abs/2310.09623v1
http://arxiv.org/pdf/2310.09623v1
A Digital Language Coherence Marker for Monitoring Dementia
2023-10-14T17:10:19
2023-10-14T17:10:19
Dimitris Gkoumas, Adam Tsakalidis, Maria Liakata
cs.CL
cs.CL
The use of spontaneous language to derive appropriate digital markers has become an emergent, promising and non-intrusive method to diagnose and monitor dementia. Here we propose methods to capture language coherence as a cost-effective, human-interpretable digital marker for monitoring cognitive changes in people with dementia. We introduce a novel task to learn the temporal logical consistency of utterances in short transcribed narratives and investigate a range of neural approaches. We compare such language coherence patterns between people with dementia and healthy controls and conduct a longitudinal evaluation against three clinical bio-markers to investigate the reliability of our proposed digital coherence marker. The coherence marker shows a significant difference between people with mild cognitive impairment, those with Alzheimer's Disease and healthy controls. Moreover our analysis shows high association between the coherence marker and the clinical bio-markers as well as generalisability potential to other related conditions.
[ -0.030847678, 0.0929542109, -0.0192807838, -0.0258559473, -0.0596612282, -0.0084595308, 0.0150645394, 0.0588105172, 0.0347602144, -0.0176670216, 0.0454736613, 0.001427225, 0.0876565427, 0.067826435, -0.0023622983, -0.0257308166, 0.0641303211, 0.0076075299, 0.0754519254, 0.0267721377, -0.0218103081, -0.0196905658, -0.0486385077, 0.0278747547, -0.0686966255, -0.0672329217, 0.0239734892, -0.0050683082, 0.0172974523, -0.0248615369, -0.0609365962, 0.0067467098, -0.0000201244, 0.0163168162, 0.0000018983, -0.0690349117, -0.0151214162, -0.0070645311, -0.0240321178, -0.030031763, -0.033399865, 0.0049597728, 0.0074526989, -0.0012566417, -0.0432395823, 0.040711116, 0.0116777085, 0.0199709199, 0.0165708568, 0.0562955551, -0.0224305857, 0.0209335536, 0.0454643629, -0.0232826285, 0.0103892861, 0.0191956926, 0.008561044, 0.0165444054, -0.0340366289, -0.0541912727, -0.0026375297, 0.0424227305, 0.0001692791, 0.0258968771, -0.0330136269, 0.0328724459, 0.0152451545, -0.0135935275, -0.0090997051, 0.0278331358, 0.0291106831, 0.0204631407, 0.0249522682, 0.022799151, 0.0136316912, 0.0212861989, -0.032261245, -0.0120697962, -0.002032809, 0.0307601858, 0.0147882048, -0.001234105, 0.0143371867, -0.0394890457, 0.004064295, 0.0706694275, -0.0249837842, -0.03867561, 0.0066114324, 0.0112597272, -0.0144242551, -0.0369923189, 0.0421922915, 0.018125236, -0.0503512844, -0.0059251012, -0.0486404896, -0.0266258661, 0.0470599942, -0.0339798927, 0.0248000193, 0.0065129939, -0.0740445554, 0.0377971716, -0.0083411736, 0.0548130237, 0.0334273055, -0.0014869982, 0.0061873221, 0.0220530424, -0.0319852568, 0.0120076267, -0.0267728511, 0.0280229673, 0.0237787571, -0.0479676388, -0.0747073889, -0.014403211, -0.0066965204, 0.011555749, -0.0120163644, 0.0284562781, 0.0164297894, 0.0536544435, -0.0188859142, 0.0443337262, -0.0430113003, 0.0102275992, 0.009018247, -0.0501187034, 0.0096470667, 0.0694598407, 0.0013101809, -0.0345352478, 0.0002224256, 0.024862567, -0.0025115386, -0.0047437218, -0.0613805465, -0.0734921619, -0.0561344028, -0.0302072261, 0.0165108927, -0.0266723018, 0.0253038835, 0.0164499544, -0.0042752358, -0.0559606105, -0.0223247781, -0.0074582249, -0.0040586498, 0.0226995572, -0.052255597, -0.00467064, 0.0423581004, -0.0167332515, 0.0074461796, -0.0035553302, 0.0728920773, -0.0362164341, 0.0310216211, 0.0046486533, -0.0175762624, 0.0269810725, 0.0033346559, -0.0464534126, -0.0603195652, -0.003611536, 0.0039066072, 0.0429382138, 0.0505994745, 0.0614812449, 0.0207456816, -0.0282763895, 0.0802841038, 0.0634966269, 0.0511070602, -0.0471810959, 0.0234276596, -0.0100899208, 0.0241272096, 0.0403221771, -0.0054352824, -0.0126635535, 0.0077634403, 0.010591777, -0.0062526502, 0.0039504059, 0.0032852958, -0.0466461331, -0.003166015, -0.0344905145, 0.0395082645, 0.0144947926, -0.013104504, -0.0205447171, 0.0158787798, -0.001745093, 0.0174647477, -0.0245200824, -0.0051454036, -0.0505115911, 0.0631787255, 0.0631942153, -0.0023325644, -0.0428242721, 0.0217089746, -0.0237997994, 0.0324879885, 0.0230631307, -0.0521194078, 0.0338322334, 0.0885050669, -0.0359891951, 0.0377542712, 0.0198159777, 0.0219661146, -0.0299524702, -0.0233142655, 0.0401743278, -0.0143973362, -0.0200863685, 0.0212378204, 0.0391041525, 0.0184553172, 0.0238903202, -0.0202851929, 0.009842677, 0.005418173, 0.0511527061, -0.0176502969, 0.0123416642, 0.0518855453, -0.0301739387, -0.0051663597, 0.0278623048, -0.0914655775, -0.0155092068, 0.0273015033, -0.0065571084, -0.0393168628, -0.0209510606, 0.0160047729, -0.0369885117, 0.0170586091, -0.0783431381, 0.01642696, -0.0295312759, 0.0060721585, 0.0073970477, 0.0270428024, -0.014491966, 0.0648450628, -0.0226381067, -0.0110165654, 0.0110798739, -0.0388526246, 0.022996882, -0.0644401461, -0.0223218966, -0.0024184058, -0.0473592542, 0.0116215935, -0.008812977, -0.0303783957, -0.0495645665, -0.0050771213, -0.0712725446, 0.0009409272, 0.0031417012, 0.001209583, 0.0035631598, -0.0362392589, -0.001285364, -0.0149506545, -0.0176808815, 0.0400037132, 0.0288040787, 0.0222722031, 0.0204557944, -0.0354540609, -0.0149766458, -0.0452118665, -0.0142313847, -0.0397740267, 0.0728372112, 0.0204384401, -0.0669494644, -0.0713472441, -0.0318418033, -0.0441913418, -0.0149696842, 0.0246329028, 0.0011903399, 0.0411462002, 0.0164187718, 0.0267621502, 0.0814023912, 0.0152535914, 0.0638598278, 0.0385451391, -0.0412367284, -0.0013241961, -0.0281741451, -0.0039280793, 0.0837440714, -0.0167565532, -0.03498099, 0.0296563618, 0.0232305937, 0.069350861, 0.0487793572, -0.0425314121, -0.0237831473, -0.0456350818, 0.0101428367, 0.011244392, -0.029402839, -0.0229358245, -0.0039981683, -0.0072550033, -0.0503214449, 0.0509526879, -0.0413721427, 0.0040982519, -0.0016830931, -0.0451974794, -0.0222012103, 0.0410528667, -0.0022915874, 0.0231381729, 0.0205170754, -0.044621896, -0.023010632, -0.0182685964, -0.0015914246, -0.023683833, 0.0739575624, -0.0608004853, 0.0122188004, 0.0449960567, 0.0143711595, -0.0246001147, 0.0150388563, -0.0222422145, 0.0512044504, -0.0226035956, -0.0169871505, -0.0954219624, -0.0451048501, 0.0340036228, 0.0158849359, 0.0078119058, -0.025982853, 0.0026679276, 0.0559031181, 0.0320819207, 0.0685290843, -0.02859696, -0.0227857679, 0.0082332073, 0.0306656919, -0.0584738441, 0.0460770689, -0.0555971973, 0.0051215691, -0.0568228178, -0.0338547304, -0.0025717043, 0.0417710803, 0.0274067335, -0.0122360438, 0.0097365072, 0.1095000282, 0.0030997593, -0.0223352052, -0.0021105269, -0.0498741269, -0.0004193597, -0.0056272312, -0.0280216932, -0.0580664203, -0.0492463186, -0.0291723069, 0.0400284529, -0.0012121578, -0.0003062881, 0.0006425439, 0.0122075342, 0.0061283731, -0.0336636268, -0.0190353803, 0.0088065173, -0.023895476, -0.0034071524, 0.0054769311, 0.0211206097, -0.0372182764, 0.0080560073, -0.0053949966, 0.0087121567, -0.0994284675, -0.0285077039, 0.0174214952, -0.0296762455, 0.0860588625, 0.0953217223, 0.0561740473, -0.0149959484, -0.0715292171, -0.0354342535, -0.0377128795, 0.0401016511, -0.0042181583, 0.0858847573, 0.0368418731, -0.0008262119, -0.0423382521, 0.0324091427, 0.0232945513, -0.054642424, 0.0043182224, 0.0455840789, -0.0405006148, -0.0370847024, 0.0212997422, 0.030051522, 0.0283720624, 0.063726306, 0.0247667711, -0.0485555753, -0.029315982, 0.0171677172, 0.0832770392, 0.0080428803, -0.0137512265, -0.013835418, 0.0053839087, -0.0027234573, -0.1113514751, -0.0260205921, 0.0406264178, 0.0143992808, 0.0119401747, -0.0002149492, 0.0750262439, -0.0331587195, -0.0772168338, 0.0495358929, 0.0080413958, 0.0136526851, -0.0938952565, -0.0158316251, -0.0245472025, -0.0101146204, 0.0006649012, 0.0287754294, -0.0305306576, -0.0359141119, 0.0786232352, 0.0129649844, 0.0187547468, -0.0211322308, 0.0009696198, -0.0290306322, 0.0049438374, 0.0266338158, 0.0027854259, 0.073785238, 0.0107478099, 0.0280585848, -0.0197841041, 0.0275703501, 0.0217921343, -0.0336447917, -0.044599615, 0.0065820091, -0.0269235261, -0.0110114869, 0.0139081096, -0.000538867, 0.0574449711, 0.0153209521, 0.0388196036, -0.0033369802, -0.0234402232, 0.0056513348, 0.0290284157, -0.0011510371, -0.0296270065, -0.0037821869, -0.0363323279, -0.0210666023, 0.0168192741, -0.0599067695, -0.0405018739, -0.0405878797, -0.011122793, -0.0576936565, -0.0011885384, -0.0286456924, -0.0128677236, 0.02851329, 0.0555195361, -0.0642765909, 0.029961681, 0.018432172, 0.0480406545, -0.0022728604, 0.0135053638, -0.0084148217, -0.0049961479, -0.0093971658, -0.0380572043, 0.0516608022, 0.0211382192, 0.039389465, 0.0102517828, 0.0767854452, 0.0130967051, 0.0428764485, -0.0175767541, 0.025702361, 0.0385428183, -0.0091523873, -0.0083873477, -0.0028468103, -0.0253303144, 0.0124047883, 0.0608526506, -0.0754228681, -0.0088624805, -0.0060726372, -0.0329189785, -0.0150611335, -0.0478911921, -0.0061168033, -0.0116900466, -0.0796803981, -0.0355683528, -0.0319160707, -0.0071701221, 0.1092463732, 0.0013877901, 0.0558106899, 0.0141149852, -0.0008331049, -0.0031308809, -0.0213430207, -0.0259925481, -0.0209113155, 0.0133913308, 0.0024700731, -0.0383055396, -0.0389247835, -6.066263494e-33, -0.0175927877, -0.0472473502, 0.0121724568, -0.0227901656, 0.0292599816, 0.0454329066, -0.0461901166, 0.0486862324, -0.0100499671, 0.036751233, 0.0226936415, 0.0176127162, 0.0322984308, 0.0356284231, -0.0112670092, -0.0245454684, 0.030804038, 0.0101489769, -0.0123250978, -0.0348041989, 0.0592639111, -0.0160402656, 0.0525717475, -0.0837246031, 0.0359010398, 0.0510660857, -0.0176507626, 0.0026660501, 0.0059613055, 0.0030619963, -0.0184254479, 0.0361705311, 0.01903468, 0.0432826318, 0.006545668, 0.0461300761, -0.079460904, -0.0562187582, 0.0468562096, -0.00124783, -0.0607118942, 0.0001309706, 0.0028026321, -0.0108804591, 0.0273143426, 0.0076400433, 0.0451908112, 0.0035579558, -0.0091900891, -0.0246072784, -0.0457589552, 0.0001140593, -0.0207104422, 0.0087966323, -0.027742859, 0.0028814338, -0.018347539, -0.0432598069, -0.1019912809, 0.0081258491, -0.0657592714, 0.0008794949, 0.0126156639, -0.0482171923, -0.0339117162, 0.1044359282, 0.0428617708, -0.0091565894, -0.0355516635, 0.0209896248, 0.0096774613, 0.033877559, 0.0824237913, -0.0521454364, 0.0524406843, -0.0330526568, -0.0594717003, -0.0132357581, -0.0076725739, 0.0112208324, 0.0316886902, 0.0000656894, -0.007947132, 0.0053268527, -0.0155609371, 0.0286820997, -0.0411466956, -0.0227827709, 0.0097454395, -0.0264991615, 0.0183544457, -0.0078289006, 0.0234886184, 0.015860742, 0.0028848303, -0.0260262713, -0.0154788215, 0.0198151544, 0.0227494445, -0.0187197849, -0.005103237, -0.0135129616, 0.0555918589, 0.0415783823, 0.0734727457, 0.0051873247, 0.0838744342, -0.0140147982, -0.0065968069, 0.0044217291, 0.0338979736, 0.0243854169, -0.021078622, -0.0676932782, 0.0106079075, 0.0161505099, -0.0330484472, 0.0389953107, -0.0309429318, -0.0150179556, -0.0313791484, 0.0167150479, 0.0016770626, 0.0299552511, 0.0004008774, -0.0010626012, -0.032186985, 0.0326158777, -0.006622843, -0.0360607766, -0.0038178903, 0.0195351243, 2.648e-7, 0.0344817154, 0.0573702902, 0.0284727588, 0.0464747474, 0.0257213358, -0.0189742912, -0.011698585, 0.0007835581, -0.0374752879, -0.0455907024, -0.0502108335, 0.0342221074, 0.06630674, 0.0448029451, -0.0025666838, -0.0292797517, -0.0821054801, -0.0137249054, -0.074748978, 0.043551784, 0.0662348196, -0.000157078, -0.012796442, -0.0413486362, 0.0425761342, -0.0141724972, 0.0283817314, 0.0008570758, 0.0378260538, -0.0399557315, 0.0368809216, -0.0481118597, 0.0345176086, 0.0460383184, -0.0203166679, -0.0263738316, -0.0219781082, 0.0431319773, -0.0271880366, -0.0143752974, -0.0259249322, 0.0310717914, -0.0183264129, 0.0417666659, 0.0681906044, 0.0022820653, -0.0757373273, -0.0085640755, 0.0227806363, -0.0016866628, 0.0859360173, -0.0322363786, -0.0122230789, -0.0033183598, 0.0163615197, 0.0157984309, -0.019840477, -0.0354365669, -0.0674232543, 0.0302887969, -0.0456767641, -0.0097472882, -0.0240139365, -0.0182998553, 0.0097737247, -0.0863036364, 0.0172533449, 1.960844193e-34, -0.0010895755, 0.0311210975, 0.0252410583, -0.0079325046, 0.0038751501, -0.027712388, 0.0065361075, 0.0088802064, -0.0250413194, -0.0315244831, -0.0016410042 ]
http://arxiv.org/abs/2310.10688v4
http://arxiv.org/pdf/2310.10688v4
A decoder-only foundation model for time-series forecasting
2023-10-14T17:01:37
2024-04-17T18:24:45
Abhimanyu Das, Weihao Kong, Rajat Sen, Yichen Zhou
cs.CL
cs.CL, cs.AI, cs.LG
Motivated by recent advances in large language models for Natural Language Processing (NLP), we design a time-series foundation model for forecasting whose out-of-the-box zero-shot performance on a variety of public datasets comes close to the accuracy of state-of-the-art supervised forecasting models for each individual dataset. Our model is based on pretraining a patched-decoder style attention model on a large time-series corpus, and can work well across different forecasting history lengths, prediction lengths and temporal granularities.
[ -0.0309315696, 0.1093273982, 0.0196226593, -0.0064248247, 0.0052398336, 0.0091728354, 0.0178197939, -0.0171234515, -0.0158662871, -0.0071056052, 0.0250108764, -0.0358086266, -0.0109829726, 0.0422936603, -0.0269638747, -0.0422507338, 0.0339448564, 0.0181823596, 0.0238843374, 0.0065137437, 0.0176776908, -0.0101481052, 0.0215542633, 0.0459932573, -0.0100266421, -0.0260622017, -0.0545324683, -0.0310980026, -0.0095991548, -0.0464455634, 0.0200582538, 0.0180307906, 0.0530536249, 0.0513787344, 0.0000018842, -0.0115760434, -0.0115370862, -0.0220176503, -0.0332176648, 0.0001674177, 0.0115751335, -0.0919445157, 0.0362487361, 0.0137008047, -0.0792616457, -0.0216973368, 0.0727025196, 0.0435995199, 0.0786968619, 0.0771034136, 0.0008890471, -0.0424787514, 0.0202830769, -0.0453935154, 0.0098131336, -0.0759291872, 0.0020155022, -0.0382038616, -0.060878031, -0.0363083147, -0.0506736226, 0.0284765474, 0.0064890049, 0.0516274199, 0.0315729603, 0.0496444665, 0.0012399475, -0.0120130256, -0.05981417, 0.0425272696, 0.0181944799, -0.0666192099, -0.0260267071, 0.0169731528, -0.0536316745, 0.0052907304, -0.052831348, -0.0070205103, 0.0198606327, 0.0480856784, 0.0621279068, 0.0278281271, 0.004543215, 0.0288383216, -0.0356001742, 0.0748730227, -0.0430853888, -0.0540538691, -0.0196831636, 0.048036065, 0.0418262742, -0.0489942059, -0.0147885149, 0.0246525947, -0.012922341, -0.0099718766, -0.064653784, -0.0490661226, -0.0525419712, -0.0106708137, 0.0383963175, 0.0699492693, 0.002254609, 0.0383407511, -0.0044443416, 0.016080616, 0.0075987345, -0.0279532708, -0.0111961141, 0.0012451498, -0.0733184069, -0.0013603765, -0.0547823422, -0.0164032634, -0.0084991632, -0.0132048102, -0.0219431017, -0.0308174454, 0.0131656686, -0.0089335376, 0.0478843227, 0.0153880185, -0.070842877, -0.0241399482, -0.0061883437, 0.0413588323, -0.000135446, 0.024916783, -0.0170731749, -0.0495046414, -0.0527579226, -0.0066282167, 0.0052567371, 0.0063740904, -0.007122959, 0.0168566313, 0.0230269413, -0.0196279455, -0.0489851721, -0.0339935943, 0.0070541743, -0.0400147252, 0.0015203919, 0.0256892648, 0.0131583475, -0.0106368139, 0.0491178297, -0.0223398339, 0.0013859058, -0.0009813239, -0.0181860831, 0.065351218, 0.026753962, -0.0114759197, -0.0340399444, -0.0645673871, 0.0325706899, 0.0453902893, 0.0009640355, 0.0262386743, 0.0091472641, -0.0122681595, -0.0174973626, -0.0120088821, 0.0234800428, -0.04337788, -0.0321507007, 0.0213334281, -0.060373649, -0.0333260074, 0.0484421663, -0.0328082517, 0.0162952337, -0.0019240946, 0.0507911965, 0.0131706167, 0.0374378003, 0.0515866838, 0.0392654613, 0.0190718193, -0.0019817564, -0.0447872281, -0.0033568675, 0.0578303449, -0.0305051003, 0.0393625908, -0.0190555714, -0.0051506897, -0.0374471247, -0.025680203, 0.0078978194, 0.0000714506, -0.0029790886, -0.0134269735, 0.0437092371, -0.0202875752, -0.0674882457, 0.0624205954, 0.0134036774, 0.006860774, 0.0037859872, 0.0168813951, 0.008437939, 0.0893961787, -0.0021474641, 0.0194616858, -0.0031684383, -0.0373190083, 0.0569709167, 0.0255089737, 0.0118275015, 0.0285098273, -0.0069076298, -0.065491125, -0.022921633, 0.0141898207, 0.0552655198, 0.0167998802, -0.019753512, 0.0400999859, 0.0052986578, -0.0142146833, -0.003019863, 0.0088250628, 0.0262464527, -0.0905326158, -0.0131498817, -0.0088589741, 0.0541910417, -0.0101176351, -0.016361136, 0.0499258563, 0.028940076, -0.0296352282, -0.0071549099, 0.0525971279, -0.0589438006, -0.0485556759, -0.00366045, -0.009227396, 0.007589573, 0.0498197973, -0.0451600291, -0.0428733416, 0.0788060278, -0.0358704366, 0.0944373012, -0.0549567267, 0.0075090816, 0.0160231274, -0.0080833277, 0.0107634831, 0.0391668007, -0.0306401476, -0.0243150741, -0.0241115168, 0.0425977521, -0.0186985005, -0.0274644271, -0.0150645096, -0.0117298551, 0.0042236852, 0.0034700702, -0.0214588735, -0.0017935754, -0.0050253049, 0.0185419619, -0.0353441499, -0.0301809534, -0.0331233479, 0.0228556599, 0.0000604674, -0.0180712193, 0.0272993408, -0.0216112062, 0.0389996581, 0.002317901, -0.0226044934, -0.0402188934, -0.0105190212, -0.0334976427, -0.0034680283, -0.0145680225, 0.0012129862, -0.0066560195, 0.0407469086, 0.0239323899, -0.0387508497, -0.0120767672, -0.0019203724, 0.0129310908, -0.0082723638, 0.001132361, -0.0132902144, -0.0446298905, -0.0253920574, -0.030847678, 0.0377789252, -0.0027904569, 0.0163715184, -0.0050513707, -0.0287675038, -0.036840152, 0.0357299335, -0.022279907, 0.00388461, -0.0170519799, -0.0014076473, 0.014210172, 0.1224190816, -0.0040675593, 0.0203299504, -0.1040902585, 0.0203332119, -0.0332980752, -0.0118920421, -0.0249310471, 0.0249120053, -0.0427318923, 0.040469002, -0.042670887, -0.0582734086, 0.0337935165, 0.0023441457, -0.0198861472, -0.0093213134, 0.0048514679, -0.0694687963, -0.0141057074, 0.0003376267, 0.0066023637, 0.0088117868, -0.023306042, 0.0181313753, 0.0046549742, -0.0044457349, -0.0125497794, 0.013606023, 0.0033589213, 0.0190666765, 0.0216307361, 0.0123502398, -0.0310504865, -0.0341127068, -0.0938883871, -0.0036584598, -0.0024863421, -0.0013447899, -0.0571480244, 0.0289418902, -0.0208168607, 0.0196566135, 0.022367565, -0.0061847465, 0.0336317085, 0.0094017191, 0.0394434631, 0.0023406532, -0.0325547531, -0.0255426057, 0.0312923975, -0.010935653, 0.0776979923, 0.0458570011, -0.0442281738, 0.0198790096, 0.018856341, -0.008666303, -0.0041804155, 0.0375277288, -0.0287093036, -0.0616019145, -0.031748943, 0.1068649888, 0.0190563388, -0.0032882406, 0.0026377633, 0.0001928441, 0.0076349475, 0.0024853509, -0.0042763236, -0.061883606, -0.0625009611, 0.0201653391, 0.0312990248, 0.02306219, -0.0627246723, -0.0171806626, -0.1082466245, 0.0425161757, 0.0225133542, -0.0127128344, -0.0145924184, -0.0608585738, -0.0221297033, -0.0566314757, -0.0278910995, 0.0175165962, -0.0181303825, 0.0384568237, 0.0588585585, -0.072537899, -0.0888576806, -0.0012939856, 0.0065123569, -0.0031855684, 0.0734604001, 0.0014556032, -0.01527189, -0.0198117234, -0.0578704067, -0.0301313046, 0.0354378708, -0.0209809672, 0.0381162614, -0.0687476397, -0.0127168018, -0.0120903431, 0.0436658785, -0.0576734021, 0.0386744477, 0.011503322, 0.0594317205, -0.0143665727, -0.011219441, 0.0221645981, -0.01200807, 0.0211720373, 0.0622977391, 0.0055832793, -0.0228950828, -0.0550510995, -0.0173163004, 0.0283709764, -0.0874467939, -0.0540462695, 0.0259301532, -0.0098135062, -0.0572686978, -0.0292692948, -0.0458053052, 0.033610031, 0.0176206008, 0.0093630794, 0.0001045795, 0.043426469, -0.0229263511, -0.0589727946, 0.0218020454, -0.0104356548, 0.0207537245, -0.0723480284, -0.0104347784, 0.0487512127, 0.0031859404, -0.0092877923, 0.0141608287, -0.0738639086, -0.0177460685, 0.0427127965, 0.0289320089, 0.0146951703, 0.015562267, 0.0070523554, 0.0241320394, 0.0507184416, 0.0300758574, -0.0314724594, 0.0141706523, 0.0677560791, -0.0232329872, 0.0266216546, 0.0295497365, -0.0010621512, 0.0474822409, -0.0091055483, 0.0210366715, -0.0506686457, 0.0126769803, 0.0252318401, -0.0072332565, 0.0626633242, 0.0197014809, 0.0107097514, -0.0070177722, 0.0024502818, 0.0380156115, 0.0124729583, -0.0472317189, 0.0079136277, 0.0483037792, -0.0064063249, -0.0263280459, 0.0751106739, -0.0019135834, -0.0083250366, -0.0038326727, 0.0642510578, -0.0085163899, 0.0137842083, 0.0123062655, 0.0017560627, 0.0081174215, -0.0377613939, 0.0285530835, 0.0157005396, 0.0381078497, 0.0068570976, -0.0170662347, 0.0606355332, -0.0118073914, -0.0530442446, -0.0763160288, -0.0323738344, -0.0282691177, -0.0303834956, -0.0020979377, -0.0673712119, 0.0332777835, -0.0317831002, 0.0264253356, 0.0285653509, 0.0474097803, -0.0165369064, -0.002396442, 0.0297597945, -0.0215335973, -0.049737636, -0.0043944232, 0.0537440553, 0.0354679823, 0.0721581131, 0.0218900125, -0.0179587342, -0.0339079723, -0.0109437732, 0.0066835606, 0.0102255624, 0.0134614985, 0.0100819878, -0.0733960792, -0.0191935711, 0.0405100212, -0.0543861352, 0.0126617765, -0.0328686461, -0.002281673, 0.0019284956, -0.0140887825, 0.0270914156, 0.0000710783, 0.0134881483, -0.034979824, -0.0126535697, -0.0759674907, -5.923799089e-33, -0.0112605104, 0.0147699965, 0.0184023306, -0.0650488436, -0.0325525738, 0.0703296438, -0.0152491899, -0.0259912759, -0.0083877016, 0.0124635929, -0.0232045669, 0.0268497355, 0.0253835022, 0.0423275791, 0.0731269196, 0.0048603783, 0.0682607442, -0.0218436532, 0.0039213435, -0.0151870018, 0.0441428721, 0.049663011, 0.0800008625, 0.0052758893, -0.0014194425, 0.0042989617, -0.0243970323, 0.0072863121, 0.0615328178, 0.0364606529, 0.0052266619, 0.0240988992, 0.0267176107, -0.0635638162, -0.0580613688, 0.0236024465, -0.0390822105, -0.0476327799, -0.003242177, -0.0096564498, 0.0049286676, 0.0152014615, -0.0312423669, 0.0167129841, 0.0018740861, 0.0017601007, -0.0050614509, -0.0283056572, -0.0089440634, -0.0471944101, -0.0042449315, 0.0343328044, -0.0382083394, -0.0083695287, 0.0530152619, 0.0667073727, -0.0105871167, 0.049186293, -0.0616440512, 0.0276666954, 0.0291482024, -0.0057213642, 0.0243305396, 0.0181294102, 0.0107815443, 0.0391434617, 0.0066772704, -0.0425489768, -0.0416034162, 0.0245661009, 0.0067596175, 0.0353572182, 0.0023949472, 0.0137318149, 0.0776478946, -0.0362372026, -0.0114701632, 0.0084853573, -0.0072117429, 0.1112393811, 0.0594889186, 0.0212127548, -0.026446972, -0.0192258377, -0.0136039648, -0.0009766045, -0.0072015394, 0.0029811251, 0.0423177071, 0.0470183566, 0.0049851034, 0.0429309271, 0.0530757308, -0.0308775473, 0.0247661155, 0.0277768523, 0.025098335, -0.0129141891, -0.0009658565, 0.0228097904, -0.1187471375, -0.0183427911, 0.008091758, 0.0332192853, -0.0031082705, -0.0360715874, 0.0166099966, 0.0305597745, -0.0436319858, -0.0361743569, -0.0326831006, 0.0058519617, 0.0116263451, 0.0482225344, 0.0792497396, -0.0009998757, -0.0153992102, 0.0239996742, -0.0160759836, 0.0118654389, 0.0165264141, -0.0346174203, 0.0398768075, 0.0233992916, 0.0004496898, -0.0245090947, -0.006485458, -0.0118300756, 0.0345496349, -0.0337935463, -0.020662982, 0.0261128042, 2.534e-7, 0.0356833115, 0.0533161871, -0.0026734953, 0.0385317989, -0.0090652453, 0.0205274522, -0.0385678113, 0.0571474358, -0.0285973232, -0.0037870381, 0.0546909347, 0.01077234, 0.0701654926, -0.0084877452, -0.0634774193, -0.0636117458, -0.0684109926, 0.0248947125, -0.0246969108, -0.0334704556, 0.0339116789, 0.1192593798, 0.02831126, 0.0110158538, 0.0643426776, 0.0020055736, 0.0264218301, 0.0100657325, -0.0000441427, -0.0053808847, -0.0056138881, 0.0270003136, -0.0481938496, 0.0073124119, -0.0434990749, 0.028417781, -0.033347588, 0.0226524659, -0.0265574008, -0.0221523494, -0.0099382456, 0.010332955, -0.0475435257, -0.0001294775, 0.040152967, -0.0722642392, -0.0477900803, -0.0060752863, -0.0915498137, 0.0810744464, -0.0136062056, 0.0329913944, 0.0192272216, 0.0125189107, -0.0064358404, -0.0242115352, -0.0165319405, -0.0383410044, -0.0226228721, -0.0015631929, -0.0153102251, -0.0039462321, -0.0379784182, 0.0013381944, 0.0376957431, -0.0754072964, 0.0041853054, 1.933263468e-34, 0.070890151, 0.0086134085, 0.0005074887, 0.0460343249, 0.012023122, -0.0222810376, 0.0194116551, 0.0323816948, 0.0289225411, -0.0836610273, -0.0120731769 ]
http://arxiv.org/abs/2310.09619v3
http://arxiv.org/pdf/2310.09619v3
An Expression Tree Decoding Strategy for Mathematical Equation Generation
2023-10-14T17:00:28
2023-10-18T09:28:54
Wenqi Zhang, Yongliang Shen, Qingpeng Nong, Zeqi Tan, Yanna Ma, Weiming Lu
cs.CL
cs.CL
Generating mathematical equations from natural language requires an accurate understanding of the relations among math expressions. Existing approaches can be broadly categorized into token-level and expression-level generation. The former treats equations as a mathematical language, sequentially generating math tokens. Expression-level methods generate each expression one by one. However, each expression represents a solving step, and there naturally exist parallel or dependent relations between these steps, which are ignored by current sequential methods. Therefore, we integrate tree structure into the expression-level generation and advocate an expression tree decoding strategy. To generate a tree with expression as its node, we employ a layer-wise parallel decoding strategy: we decode multiple independent expressions (leaf nodes) in parallel at each layer and repeat parallel decoding layer by layer to sequentially generate these parent node expressions that depend on others. Besides, a bipartite matching algorithm is adopted to align multiple predictions with annotations for each layer. Experiments show our method outperforms other baselines, especially for these equations with complex structures.
[ -0.0655765086, 0.0834717751, -0.0035809129, 0.049251914, -0.0310688093, -0.0133257993, 0.0094565758, -0.0028922504, -0.0743743926, -0.0383471809, -0.0042416025, 0.0320185348, 0.0099939704, 0.0381600522, -0.0061979159, -0.0461784564, 0.0007412079, -0.0128748082, 0.0394736938, -0.0059378287, -0.0042748381, 0.0247596744, -0.0149719315, 0.0400796197, -0.0728286728, -0.0926783457, 0.0042785122, -0.044981733, 0.0085475473, -0.0514404774, -0.0212493408, 0.0070946328, 0.0105614597, 0.0273878779, 0.0000020525, -0.0240414888, -0.064901948, 0.0489205942, -0.0418243296, 0.0074117668, 0.0109825246, -0.0366339795, 0.0119903851, 0.018091308, -0.0803624243, -0.0368935876, 0.0471945554, -0.0175815672, 0.056653142, 0.0297389459, -0.0394104645, -0.0573445372, 0.0129247801, 0.0337175578, 0.0080187041, -0.0746731833, -0.0031637072, 0.0168094821, -0.0155480793, -0.0628153458, -0.0559751987, -0.0212770868, 0.0616183206, -0.0329295471, 0.0350627117, 0.0230889954, 0.0044174911, 0.0159877371, -0.0412572585, 0.0625821128, -0.0052036555, -0.0169002134, 0.00318139, -0.0197112449, 0.0067192926, -0.0030206575, -0.044953078, 0.0464769751, -0.0385335125, 0.0086469417, 0.0242289286, -0.0057322495, 0.0244183168, -0.0015822505, -0.0343158841, 0.0448434241, 0.0267914515, -0.0385998301, -0.0262487903, 0.0119500849, -0.0257913955, -0.0419760346, 0.0639560744, 0.0136973774, -0.0052729379, 0.024243813, -0.0927126706, -0.10303545, -0.069852069, -0.043454878, 0.0275512747, 0.0893992558, 0.0340360068, 0.0001190319, -0.050220117, 0.065848425, -0.0172244571, -0.0280940849, -0.0411134325, 0.0437393934, -0.0295517966, -0.0074265236, -0.0761550739, 0.0645793676, -0.0565281846, -0.0182142574, -0.0512056351, 0.0132906092, -0.0123816477, -0.0534468368, 0.0294819865, 0.0005336802, -0.0116462829, -0.0283626057, 0.031825304, 0.0161122885, -0.0216539633, 0.0055194553, 0.0127183208, -0.0356323794, -0.0228407923, 0.0435355157, 0.0292848051, -0.010775974, -0.0295396224, 0.0744269416, -0.0170508921, 0.0221832301, 0.0056809969, -0.0552474633, 0.0244379528, -0.0212795828, 0.0120830229, -0.0398375206, 0.0860644802, 0.0125741484, -0.0541810244, -0.037328463, 0.0115488935, 0.012974605, 0.0484500118, 0.0096930834, -0.0390466601, -0.0281322915, 0.0367862284, -0.0243287757, -0.0190052707, 0.017416697, 0.0759908557, 0.0062644179, -0.0159900188, -0.0332993753, -0.0016528289, 0.0143073509, 0.0346802361, -0.0239431933, -0.0164145436, 0.0055199852, -0.0057518212, 0.0289563984, -0.0036893189, 0.0172650777, -0.0981706306, 0.009324071, -0.0136589408, 0.0218890235, -0.0183605999, 0.0305500962, 0.0676542148, -0.0167913046, 0.0116020944, 0.0088687167, -0.020380782, 0.0612893663, -0.0088111013, 0.0026741668, 0.0086640008, 0.0172273163, 0.0262708161, -0.0390237048, 0.0180755164, -0.0274998825, -0.0138176838, -0.0208461192, 0.0213331059, 0.0175986141, -0.0384856164, 0.0794580206, -0.0008024381, -0.0535359941, 0.0066315243, -0.0371197797, -0.0065602837, 0.0228412095, 0.0315508693, 0.0343616158, -0.0296944045, 0.0114384135, -0.0304607861, 0.0495369509, -0.0132661657, 0.0012918119, 0.0101094255, -0.0641618669, -0.0325586125, 0.0052261408, 0.0101792375, 0.0325797461, 0.0170095507, -0.0325428471, 0.0428732075, -0.0123033226, -0.0021247375, 0.0313085169, -0.0249410253, -0.0396179259, 0.0494467318, -0.0099446476, 0.0213376563, 0.009967301, 0.0315026008, 0.0664170235, 0.0222978164, -0.0155754434, -0.0331283994, 0.0378742218, -0.0522907972, -0.0722289681, 0.019329166, -0.0615075789, -0.0253100097, -0.0471234955, -0.0134306401, -0.0389233902, 0.0507286265, -0.0621225573, 0.0518825054, -0.008346051, 0.0053848326, 0.0295860767, -0.0402285159, 0.0258034877, 0.0854880214, 0.010614248, -0.0142760407, 0.0144105414, -0.0087791514, 0.0160603356, 0.0005920639, 0.0669168234, -0.0559398793, -0.056018997, -0.0033863198, -0.020061804, 0.0457829125, 0.0022005755, -0.0043310579, -0.0019851623, -0.0021004707, -0.0074143112, 0.0770440549, 0.0448657461, -0.0020993853, 0.0106110089, 0.0114769125, -0.0326235518, 0.0251388997, -0.0154562481, -0.0241548419, -0.0045617344, -0.028056873, -0.0343586914, -0.0212649889, -0.0059122876, -0.064254351, 0.0694244951, 0.0185839105, -0.0164106991, -0.0040908381, 0.0074353768, -0.002772101, -0.008269514, 0.0347871557, 0.0115311211, 0.0369589031, -0.0442227721, 0.043310333, 0.0200569313, -0.001613827, 0.0730136633, -0.0216569807, -0.0474887788, -0.0587868914, 0.0159904957, -0.0174159147, 0.0502247587, 0.0023279511, -0.0317063481, 0.0316694304, 0.0804680288, 0.0220495574, 0.0054989276, -0.0697732568, 0.0410101116, 0.0007309326, -0.0157991219, 0.0045606107, -0.0160380527, -0.0009770181, 0.0213600546, -0.0100626061, -0.0431856625, 0.0519638844, 0.0013689543, -0.0179938395, -0.0607977323, 0.0379644968, -0.0596132129, 0.0240924712, -0.0224541817, 0.0054627103, -0.0193493869, -0.0610741042, 0.0022676915, 0.0280968715, 0.0241482519, -0.0161146466, -0.0132737001, -0.0214137621, 0.0388142504, -0.0366984271, -0.0231089424, -0.0099972291, 0.0105913579, 0.0231581125, 0.0013298523, 0.0619990751, -0.0205723532, -0.0038499404, -0.0099466993, 0.0062501649, 0.0187105909, -0.0512762368, -0.0112150433, -0.0304697324, 0.0263928492, 0.0266383812, 0.0184031334, 0.0254127644, -0.0503461547, 0.0166516397, 0.0161084626, 0.0454545207, 0.034929309, -0.0254189782, 0.0040676328, 0.0029137104, -0.015448615, -0.0181349665, 0.0422577672, -0.04333077, -0.0755356029, 0.0122972839, 0.0570722036, 0.0258649811, -0.0180478431, -0.0237213541, -0.0686181933, 0.0247803163, 0.00484628, 0.0062454212, -0.11438898, 0.0021998661, -0.0003817513, 0.0159426127, 0.0484276935, -0.0287224539, -0.0050578285, -0.1189821362, 0.0202612597, 0.0324642323, -0.0602409169, -0.0047773896, -0.0082690716, -0.0552026294, 0.0291534513, -0.029940363, 0.0652333796, 0.0077063655, 0.0341499634, 0.0138766337, -0.0234760288, -0.0069049657, -0.0267320611, -0.0150954155, -0.0607977845, 0.0478044897, 0.0317140855, 0.0305445697, -0.0261674486, -0.0124453176, 0.0381370224, -0.0120345466, -0.0223398153, -0.0604044944, 0.0111216251, -0.0021609515, 0.0058388407, 0.0714373589, -0.0846246034, -0.0041632494, 0.0215555597, 0.090717867, -0.0029592218, -0.0085316189, 0.0010114182, -0.0021490238, -0.0049173324, 0.0298981927, 0.006271427, -0.0008948874, -0.0706896782, -0.0398809426, 0.0369929187, -0.108280763, 0.0323098674, 0.0107269073, 0.0352873281, -0.0039845165, -0.0294715781, -0.0169856753, 0.0539048426, 0.0747050494, 0.0045122248, -0.032087341, 0.036929857, -0.042297855, -0.0144057609, -0.0220471099, -0.0032680859, 0.0124357697, 0.0004199529, 0.0306329411, -0.0076847444, -0.0155603662, -0.0062832641, 0.0230577402, -0.0453081131, -0.0413876362, -0.0128792049, 0.0493758805, 0.0104165785, -0.005474824, 0.0184376445, 0.0179961845, -0.0360115953, 0.0419767909, -0.0664302185, 0.0199482199, 0.0147465756, -0.0137708271, 0.0086929612, 0.0040685674, -0.0450664684, 0.0112479804, -0.0237115193, 0.0737268403, -0.0277318601, 0.0036831789, 0.0664598569, 0.0287191011, -0.0167981349, -0.0144452741, 0.0025169039, 0.0284543503, 0.0086526228, -0.0657660291, -0.0196432602, -0.0537637547, 0.0331541188, -0.0132697616, 0.0419172607, 0.0336224288, -0.0193694681, 0.0594904348, 0.0121699059, 0.0555871166, 0.057706587, 0.0217328127, 0.0095043331, 0.0331694558, -0.0401593596, 0.0057357126, -0.0257034283, -0.0009408187, -0.0031573409, -0.0267198682, 0.0299336277, 0.0112249255, 0.0242397413, 0.0039351047, -0.0507160351, 0.0069717965, -0.0495820902, -0.0408670753, -0.0200380366, 0.0569681823, 0.0759205744, 0.0336247385, -0.0354658291, 0.0096016815, 0.0012438779, 0.0570636801, 0.0309383869, -0.0224294569, 0.0313911028, -0.0029500721, 0.0016428595, -0.1025043949, 0.0780498758, 0.00573465, 0.0154660055, 0.0020379929, 0.0446927063, -0.032144893, -0.037241172, -0.027205715, 0.0168775823, 0.0030290443, -0.0158778913, -0.0250935182, -0.0115478598, 0.0237771571, 0.0237504765, 0.0146818571, -0.0089214258, 0.0676160082, 0.0576348081, -0.0563965514, -0.0311245527, 0.0228975359, 0.0519104488, -0.0816267803, -0.026948953, -0.037225958, -5.606175739e-33, -0.0506803878, -0.0442857035, 0.0337230526, 0.0386512242, -0.0194324497, -0.0001210695, -0.0460971147, 0.014413435, 0.0522423498, -0.0113215316, 0.0370083749, -0.0079828734, -0.0053826985, 0.0181987341, 0.0275808927, 0.0052998681, 0.0283916052, -0.0508766882, -0.0244770218, -0.0155119523, 0.011198204, 0.0464709848, 0.0639909357, -0.0341414399, -0.0067908168, -0.005603496, -0.0064372099, -0.0098270886, -0.0104105631, 0.0510539599, -0.0039037676, 0.0143264793, 0.0018578609, 0.0051228139, -0.0495738499, 0.0061598667, -0.0311749317, -0.0128099928, -0.0038914115, 0.014220708, -0.0967802703, -0.0358100086, 0.0524028577, 0.0018599792, -0.0453050435, -0.0262668561, 0.0194436945, -0.008826253, -0.0246248413, -0.059028998, -0.0640215352, 0.0267067049, -0.0074909274, 0.014806333, 0.0188362375, 0.0537604727, -0.0426639505, -0.013072351, -0.0261655096, 0.0230717435, -0.0144773601, 0.026229538, 0.0435327068, -0.0143252769, 0.0435223021, 0.0008737372, 0.0561756901, -0.0519861616, -0.0106478939, 0.0124600073, 0.0090812193, 0.0490754917, 0.055077251, -0.0008637913, 0.0679521933, 0.0339225791, -0.0479360372, -0.0126926703, 0.0059083602, 0.0112727825, -0.0056954329, 0.0452239662, 0.019523384, -0.015177127, -0.014163428, 0.0031791793, -0.0321536958, -0.0312614404, 0.0204039346, -0.0172443837, -0.0138993701, 0.0209115818, 0.0360923894, -0.0102408212, -0.0070362161, 0.0215530992, 0.0084525952, 0.0420673154, -0.0210590251, 0.019611245, -0.0057487311, -0.0450052656, 0.0023997058, -0.0209311564, 0.0580044203, 0.0350122042, -0.0267039165, 0.0200053155, -0.0148153482, -0.0059512025, -0.0196796786, -0.0142104356, 0.0341320448, 0.0291694365, 0.0507621616, 0.0190355554, 0.0218939036, 0.0109871514, -0.0100629544, 0.0268158894, -0.0223547444, 0.0188844409, -0.0008321251, 0.0530415289, -0.0042325985, -0.0236439928, -0.0115721179, -0.0102968169, 0.0020547728, -0.0505589768, -0.0196445342, 0.0608629026, 2.756e-7, 0.032406494, 0.0453267954, 0.0798534602, 0.0138830151, 0.0305787195, -0.0056065223, 0.0115880761, -0.0059274221, 0.0019305022, -0.011965421, -0.0128596239, -0.0169763397, 0.0521128774, 0.0466844961, -0.0773492232, 0.0493170582, -0.0762562603, -0.0076153632, -0.0340926684, 0.0280737951, 0.0714221671, 0.0172973834, -0.0081452234, 0.0328371935, 0.0064742402, 0.0074977544, 0.0591077693, 0.0429733507, 0.015122897, 0.0155869788, -0.0773836151, -0.0604234412, -0.0114229359, 0.0058237417, -0.0356400497, 0.0509137921, 0.034647543, 0.0625829697, 0.0089443745, 0.0597045422, 0.0464977622, -0.0184153039, -0.0015133012, 0.0149319032, 0.0142105222, -0.0613088943, -0.0143869249, -0.0300080851, -0.0288226269, 0.0162864309, -0.0259859562, -0.0024969787, 0.0315194167, 0.0148010645, 0.0308733173, 0.0089136157, -0.0213932134, 0.0042223842, -0.044318229, -0.0125761433, -0.0499211289, 0.0031682386, -0.0540652871, 0.0614542179, 0.0303326361, 0.0569823533, -0.0479600839, 2.65992377e-34, 0.0065596914, -0.0378695652, 0.0465835333, 0.0952756479, 0.0233708993, -0.0080330903, -0.0553393066, 0.0589626543, 0.0160082486, -0.0423357897, -0.036009945 ]
http://arxiv.org/abs/2310.09618v1
http://arxiv.org/pdf/2310.09618v1
Moral consensus and divergence in partisan language use
2023-10-14T16:50:26
2023-10-14T16:50:26
Nakwon Rim, Marc G. Berman, Yuan Chang Leong
cs.CL
cs.CL
Polarization has increased substantially in political discourse, contributing to a widening partisan divide. In this paper, we analyzed large-scale, real-world language use in Reddit communities (294,476,146 comments) and in news outlets (6,749,781 articles) to uncover psychological dimensions along which partisan language is divided. Using word embedding models that captured semantic associations based on co-occurrences of words in vast textual corpora, we identified patterns of affective polarization present in natural political discourse. We then probed the semantic associations of words related to seven political topics (e.g., abortion, immigration) along the dimensions of morality (moral-to-immoral), threat (threatening-to-safe), and valence (pleasant-to-unpleasant). Across both Reddit communities and news outlets, we identified a small but systematic divergence in the moral associations of words between text sources with different partisan leanings. Moral associations of words were highly correlated between conservative and liberal text sources (average $\rho$ = 0.96), but the differences remained reliable to enable us to distinguish text sources along partisan lines with above 85% classification accuracy. These findings underscore that despite a shared moral understanding across the political spectrum, there are consistent differences that shape partisan language and potentially exacerbate political polarization. Our results, drawn from both informal interactions on social media and curated narratives in news outlets, indicate that these trends are widespread. Leveraging advanced computational techniques, this research offers a fresh perspective that complements traditional methods in political attitudes.
[ 0.0190588646, 0.0986192375, -0.0122346338, 0.0247460622, -0.0117767956, 0.003998423, -0.0008809212, -0.0097657684, 0.0043115485, -0.054817982, -0.0005755599, -0.0123989079, 0.0159029216, -0.0057229609, -0.0046718102, -0.0460226238, 0.0317523181, 0.0805640519, 0.076350905, -0.0452468209, 0.0331370533, 0.0465364307, 0.0160416402, 0.0228491779, -0.0121221747, -0.0250186697, 0.0198053047, -0.0144574028, 0.0508913063, -0.0014949602, -0.0126208188, 0.0618769415, -0.0030152297, 0.0137639046, 0.0000016435, -0.0370986983, 0.0140398862, -0.0175993592, 0.0525116213, 0.0062004486, 0.1172914654, -0.0103530036, 0.0144912014, 0.0138078481, -0.0247106422, -0.0077950107, 0.0554223545, 0.0310989935, 0.0246302802, 0.0260316059, 0.0026330343, -0.0182022043, -0.0141486479, 0.0057716095, -0.010376595, 0.0115154888, 0.0330452248, 0.00489979, -0.0720139146, -0.0270368531, -0.0355014466, -0.0250545256, 0.0122470688, 0.0484584346, -0.0301988646, 0.0252541546, 0.0020362989, -0.0118907159, 0.021825904, 0.0366315208, -0.0028235975, -0.0106467931, 0.0426587351, -0.0004938799, -0.0235654283, 0.034535151, -0.0163503867, 0.0312798545, -0.0323066711, 0.0079808151, 0.0478289761, -0.0111957286, 0.016757505, 0.0620862991, -0.0060202922, 0.0421166308, -0.0111186784, -0.0125085562, 0.0085441228, -0.0123726074, -0.0388710611, 0.0090200379, 0.0427073501, -0.0385707021, 0.0416134149, 0.03932181, -0.0499515608, 0.0024785742, 0.041935768, -0.0588021204, -0.0041225343, -0.0097296629, 0.0025327788, 0.0740608722, 0.0593781546, -0.0326316729, 0.0110914363, 0.015935801, 0.0066197598, -0.0015035368, -0.0278993323, 0.0227458067, 0.0463262312, 0.002995179, 0.0107302219, 0.0182397198, -0.008599557, -0.0385903306, -0.0613404475, -0.0356807299, 0.0026088278, 0.011620163, 0.0188617669, -0.0278333314, -0.0292528924, 0.0236765202, -0.0837527215, 0.029751135, -0.0650368035, 0.0239600055, 0.0438065119, 0.0156778526, -0.0036385835, -0.0026088278, 0.0141915064, 0.0389176905, 0.0148544824, -0.0091614602, 0.0353389382, 0.0023188591, -0.0292534437, -0.0112009915, 0.017194571, -0.0458940566, 0.0586091876, -0.0038912566, -0.0219705924, -0.0656700134, 0.0133338524, 0.0281379521, -0.0634183213, 0.0466507934, 0.0228864308, -0.0017711302, 0.0244266465, 0.0368046947, 0.0227765068, 0.0488385633, 0.0065579135, -0.0040606703, 0.0634381771, -0.0010011778, -0.0213292893, -0.0105719054, -0.0227093976, -0.0063688518, -0.0431071259, 0.0058296523, -0.0142563442, -0.0362204686, 0.0328865163, 0.0354270525, 0.0161833186, -0.0591367818, 0.0297979899, 0.1147606447, -0.0383398794, 0.0526569411, -0.0005512011, 0.0154877193, 0.0064765248, -0.0100997733, -0.0121099995, -0.0090957265, 0.0011482617, -0.0698707551, 0.0342397727, 0.0806953907, -0.0069292611, -0.0038117894, -0.0381750576, -0.002877743, 0.0470288061, -0.0529458113, 0.0015493059, -0.0305092596, -0.0029230244, -0.030230822, 0.0765165463, -0.0438529551, 0.0008734124, 0.0149755422, 0.0709217042, 0.0359390602, 0.0246331915, 0.0100470083, 0.0078964289, -0.0362538174, 0.0497070327, 0.0462640226, 0.0368678719, -0.0161439721, -0.0317974128, -0.0303619821, -0.0222956352, 0.0097550107, 0.0155806728, 0.0528290272, 0.0109897126, 0.0419291072, -0.01923142, 0.0123461597, 0.0115385093, 0.0349129215, 0.0010251172, 0.025045909, -0.0091701709, 0.0328705646, 0.0233006384, 0.0008370541, -0.022302689, -0.0481782444, 0.0244135279, 0.0088155922, -0.0402378328, -0.0089843711, -0.0132202609, 0.0508850664, 0.0201888327, -0.0579737872, -0.0340365954, 0.0029636812, -0.0069277659, 0.0508020446, 0.0626313835, -0.0260026287, 0.0013079098, -0.0028043895, -0.0298564974, -0.0695538521, 0.0138143199, -0.0171046462, 0.0634955913, -0.035332296, 0.0326070115, -0.0385663323, -0.058594387, 0.0323597416, 0.0687289387, -0.0259720068, -0.0202605836, 0.0127142696, 0.0242555607, 0.0274106041, -0.0330867581, -0.0416260958, -0.0630011484, -0.0429171398, -0.0237659048, -0.0018286012, 0.024891302, 0.0097691948, -0.0489900559, 0.0102739073, 0.0705456808, 0.0053698025, -0.0189745706, -0.0582853369, 0.0148154516, 0.0232031066, -0.0440253429, -0.0212365743, -0.0144716874, 0.0109211039, -0.0333078727, 0.0002328571, 0.0035759818, -0.0211546272, 0.0132195493, 0.0513182059, -0.0986201316, -0.0137937833, -0.0230162423, -0.0457199551, 0.0072391634, 0.0323286019, 0.0279818289, 0.0550266653, 0.0641943291, 0.0590702221, 0.0393947363, 0.0289561283, -0.0469379202, -0.0330009274, -0.0466014668, 0.0328706764, -0.0173758157, -0.0364217162, -0.0236431733, 0.0900715142, 0.0282772537, 0.0119992811, -0.0170745123, 0.0547079816, -0.0650275722, -0.0460276753, 0.0280027501, -0.0046877125, 0.0022833715, 0.0046964413, -0.010604565, -0.0161628462, 0.0250457376, 0.0472049564, 0.0597743392, -0.0149104828, -0.0170760211, 0.0125458445, 0.0348611847, -0.0288855042, 0.0058800448, -0.0104700057, -0.0102647981, -0.0293726064, -0.0400217772, 0.0502253883, -0.0634131581, 0.068855159, -0.0414729901, -0.0039570713, 0.0091158981, -0.0277136322, -0.0283306353, -0.0709980875, -0.0222884323, -0.0338140093, 0.0431946553, -0.051454898, 0.00504106, -0.011672006, 0.0373721011, -0.105484657, 0.0204848815, -0.0080228923, 0.0294478517, -0.0015581107, 0.0189040601, -0.0163947474, 0.0425340682, 0.0366664492, -0.0144157046, 0.0394353122, -0.0261546168, 0.0387160592, -0.0070414692, -0.0265720915, -0.0096544139, -0.0022472406, 0.012889374, -0.0270273704, 0.0072124959, 0.0016211875, 0.0356306471, 0.0671841949, 0.0409425572, -0.0245949067, -0.0176844765, -0.0160564464, -0.0541159101, 0.0489890911, -0.0248806216, -0.0682352707, 0.0146520901, -0.0103748878, -0.0096209478, -0.0298751704, -0.0507980548, -0.0153464964, -0.0885097235, -0.033982411, -0.0035024243, 0.0097329253, -0.0280089434, -0.0529565886, 0.0323404334, -0.0055683949, -0.0083206575, -0.0135023436, 0.0183216259, 0.0193067007, -0.0181265455, -0.0567798577, -0.0066125216, 0.0334776118, -0.0020510987, 0.0323606916, 0.0006362788, 0.0966954976, -0.0198675338, -0.0318110548, 0.0334391482, 0.0060551967, -0.0592160635, -0.0266416669, 0.0555040576, -0.0351793915, 0.013211119, -0.0569316521, 0.0393831134, 0.0248728357, -0.0214863215, -0.0123201599, 0.0552420095, 0.024084311, -0.0567282811, -0.0121406689, 0.0467645377, 0.0214304682, 0.0564535744, 0.0220945962, -0.0209719632, 0.0175243653, -0.0388932787, 0.0295500029, -0.0085448334, -0.0668567494, -0.0401381217, -0.0137939593, -0.0209489428, -0.0284857657, -0.0515010878, 0.0003327827, -0.0196126867, 0.0413069315, -0.0067029065, 0.0344911441, -0.0305577256, -0.0356135778, 0.0007094979, 0.0040596356, -0.0186839048, 0.0377218425, -0.0360778607, -0.0160787925, 0.0185103137, -0.034225855, 0.0048964065, 0.0114016915, -0.0164849665, 0.0517320335, -0.0460692979, 0.0055721863, -0.0126416227, -0.026934959, 0.0163068864, 0.0256634429, 0.082366541, -0.0771560222, 0.0277208984, 0.0230826382, 0.0784932822, 0.0314412117, -0.0021369467, 0.0006782263, 0.0084721437, 0.0414508879, -0.057152614, -0.0503266491, -0.0152489385, -0.0135176443, -0.0091436822, 0.0398003682, 0.0264331736, -0.0198000353, -0.0567643717, -0.0617780685, -0.0205799732, -0.0482408479, 0.0412753858, -0.0176780056, 0.0179552026, -0.0363316908, -0.0552502945, 0.0532560758, -0.029889686, 0.0475638807, -0.0128256176, 0.0017982333, -0.0180333015, 0.0413908064, -0.0030075926, -0.0074979593, -0.0130365938, 0.0021283673, -0.0161033664, 0.0113306083, -0.0282214284, 0.031277623, -0.0107229818, 0.0060236123, 0.0114496574, -0.0288319141, -0.013123787, -0.0330125466, 0.0410279743, 0.0411162265, -0.0198175348, 0.0041083265, 0.0244902726, 0.0052470015, -0.0137687661, -0.0177493244, 0.0343068801, -0.035531003, -0.0335419476, 0.025840506, 0.0153838452, -0.0680488721, 0.0006504715, 0.0287016537, -0.0549166091, 0.0220967438, 0.0420686901, -0.0450436585, -0.0035022907, -0.0356432982, 0.0400938205, -0.0116037596, -0.0147401178, -0.0096861785, -0.0772980899, -0.0240874346, 0.0249357671, -0.0194046497, 0.0033644333, 0.0024618839, -0.0342598036, 0.0747368634, -0.0343932472, 0.0741845667, -0.0293003004, 0.068831861, -0.083264865, -0.0364582427, -0.0244054087, -5.416926292e-33, 0.0012077118, -0.0188032631, -0.0338408016, 0.0063372538, 0.0155745652, 0.0283805802, 0.0110574225, 0.0508997329, -0.030915156, 0.0631666258, 0.0080473553, 0.0358484946, 0.0095143262, -0.0173166171, 0.010131293, -0.0474108681, -0.0196400415, -0.0250544716, -0.0108830165, 0.0054633161, 0.0283966642, -0.0118927928, 0.0309243891, -0.0882661343, 0.0227281954, 0.0485714525, 0.0080641769, -0.0570523217, 0.0409109853, 0.0054272739, -0.0275671687, 0.0297286566, 0.0312254597, -0.0053798142, -0.0001732307, 0.1033114493, -0.0160244051, -0.0474385656, 0.0399399102, -0.0210823305, -0.0314893164, -0.0124734277, -0.0249506235, 0.0330484211, -0.0401970632, -0.0497849509, 0.050476715, 0.0087087089, 0.0132228853, -0.0522535034, -0.023652764, 0.0201760307, -0.0342263803, -0.0051221857, -0.0354799591, 0.0171258729, 0.0666083694, 0.0537691601, -0.0325480811, 0.0368735828, -0.0975552425, 0.0119345319, 0.0033476355, -0.0646553412, 0.0187235475, 0.115559116, -8.388e-7, 0.024628045, -0.0589858219, 0.0163918901, 0.0254166424, -0.0037486106, 0.0411202647, 0.0604891963, 0.0284406096, -0.1003076136, -0.0359204151, -0.0393578038, 0.0907844156, -0.0043519274, 0.0495718755, -0.0179258157, -0.0133904759, -0.0043179453, -0.0390447341, -0.0839006081, -0.0434078053, -0.0236136559, -0.0230324231, 0.0070647667, -0.025458537, -0.0240407083, 0.0103687998, -0.0323369764, -0.0179303065, 0.0767445043, -0.0320989601, -0.0065463181, 0.0076170242, 0.0339492261, -0.0245955903, -0.0139858751, -0.0356689617, -0.0010891721, 0.0500284582, -0.0478432663, 0.0448660553, -0.0317417309, -0.0445920415, -0.0212950073, -0.015150262, -0.0141673414, -0.0080376342, 0.0153546669, 0.0311731659, 0.0814474598, 0.0189696737, -0.0184390955, 0.0497958995, 0.017735796, 0.0020071452, -0.0362701192, -0.0559270419, 0.0227422751, -0.0379633084, -0.0409167148, -0.0440038964, 0.006006158, 0.0287962444, -0.0326551162, -0.0229230095, -0.0435305722, 2.333e-7, 0.0467653684, 0.0729420632, -0.0107016275, 0.0129684042, -0.0076167844, 0.0211836994, 0.0536738485, 0.0405474007, -0.0367814936, -0.0966800153, -0.0699256584, 0.0122148199, 0.0422173813, 0.0260536671, -0.0127198678, -0.0007840849, -0.0168392994, 0.0235365797, -0.0330677256, 0.005800081, 0.0218582805, 0.0273903925, 0.0704561099, 0.0033802548, -0.0576159135, 0.0202803761, 0.0356208645, -0.0560195707, -0.0377231576, 0.0091039576, -0.0329489335, -0.0457796268, 0.0041575641, 0.0054135472, 0.0051688254, 0.0017679852, 0.0159073453, 0.0421089195, 0.0269958284, -0.0068849055, -0.0025927608, -0.0256051384, -0.0119209522, 0.0100966273, 0.0652007163, -0.0670781806, -0.0148621025, -0.0682859868, -0.0252669454, 0.0129341418, 0.066897586, -0.0058662831, -0.0297256168, -0.005352078, -0.0011646844, 0.0096868714, 0.0075126276, -0.0548732504, 0.0041931937, 0.0022370324, -0.0514649302, -0.0415748693, 0.0231749117, 0.048740007, 0.0733525008, 0.0045186435, 0.0275608655, 1.709277267e-34, 0.00697674, -0.0168633703, -0.0072518783, -0.0422104225, 0.0479114205, -0.0146065708, -0.0094323838, -0.0039852927, 0.0177458264, -0.0349618271, 0.0158792734 ]
http://arxiv.org/abs/2310.09596v2
http://arxiv.org/pdf/2310.09596v2
RethinkingTMSC: An Empirical Study for Target-Oriented Multimodal Sentiment Classification
2023-10-14T14:52:37
2023-12-23T12:48:58
Junjie Ye, Jie Zhou, Junfeng Tian, Rui Wang, Qi Zhang, Tao Gui, Xuanjing Huang
cs.CL
cs.CL
Recently, Target-oriented Multimodal Sentiment Classification (TMSC) has gained significant attention among scholars. However, current multimodal models have reached a performance bottleneck. To investigate the causes of this problem, we perform extensive empirical evaluation and in-depth analysis of the datasets to answer the following questions: Q1: Are the modalities equally important for TMSC? Q2: Which multimodal fusion modules are more effective? Q3: Do existing datasets adequately support the research? Our experiments and analyses reveal that the current TMSC systems primarily rely on the textual modality, as most of targets' sentiments can be determined solely by text. Consequently, we point out several directions to work on for the TMSC task in terms of model design and dataset construction. The code and data can be found in https://github.com/Junjie-Ye/RethinkingTMSC.
[ 0.0315481462, 0.0688354895, 0.015157979, 0.0231738184, -0.0236429181, 0.0011013997, 0.0089232894, -0.0185723808, -0.0319999158, -0.0971019641, -0.0758420005, -0.0188269876, -0.0130741941, 0.0175046846, 0.0136536984, -0.0374840014, 0.0182325188, 0.0379354022, -0.0324084498, 0.0045082876, 0.059214253, 0.0392359644, -0.0449256562, 0.0592447966, -0.0462969765, -0.0209779087, 0.019276442, 0.0198721569, 0.0404759794, -0.0071425689, 0.028008977, 0.0055715931, 0.0130585339, 0.0156481359, 0.0000017307, -0.0122182434, 0.0217634235, -0.0161151495, 0.0441561118, -0.0357680507, 0.126424253, -0.0650053918, 0.0361173116, 0.0151283257, -0.0220718011, 0.0052634659, 0.0654304475, 0.0529485978, 0.0694551393, 0.0444314219, -0.0384425484, -0.031122556, 0.0068786056, 0.0223912504, -0.0046003032, -0.0104908515, -0.0432521626, -0.0125098107, -0.0085747289, 0.0129801305, -0.0296232086, 0.0220432784, -0.0245534498, 0.0061091785, 0.0233688373, 0.0188453179, 0.015057764, -0.0189581867, -0.0341631994, 0.0633071512, 0.0250936821, 0.0085134329, -0.0275399424, 0.011746713, -0.0234564766, -0.0146032395, -0.0186681803, 0.0120286597, 0.0055105314, 0.0095053203, -0.0228023659, 0.0428335331, 0.0376165435, 0.0336282626, -0.0105390167, -0.0201835185, -0.0388323851, 0.0127102826, 0.0143015292, 0.0391670018, -0.0082791802, -0.001041138, -0.0494620614, -0.0273756776, 0.004645762, -0.0217672568, -0.0248615164, -0.0171690453, 0.0050088414, -0.0368463956, 0.0318320915, 0.0079545099, -0.056885384, 0.0227214545, 0.0208165534, -0.0342550799, -0.0245254394, 0.0194691531, -0.0225234646, -0.0196279362, -0.108142674, 0.0270950906, 0.0516198874, 0.0177561939, 0.0114023145, -0.0421297848, -0.0771973133, 0.0231562331, -0.0161878485, -0.0149988048, -0.0221554991, 0.0116023775, 0.029729858, 0.0117866518, -0.0209806319, 0.0667291656, -0.0125102336, 0.0569084808, -0.0300623886, -0.0308049265, 0.0311691929, 0.0589856617, -0.0224383362, -0.0280018337, 0.0302244388, 0.0866748467, -0.0211523827, -0.0618182607, -0.0319134481, -0.0464034006, -0.0382158644, -0.054772377, 0.0458124951, -0.0223924313, 0.0299435221, 0.0087079648, 0.0173535906, 0.0301994868, -0.0219784118, -0.0059118685, 0.0069151376, 0.097527571, 0.0115601318, -0.0508597568, -0.0003844073, 0.003779667, -0.0205927696, 0.0520130284, -0.0039783171, 0.0688990057, 0.0301066767, 0.0077644913, -0.0057214675, -0.0067902305, -0.0233886205, 0.0015368682, -0.0245957654, 0.0128973611, -0.0378369577, 0.0000628735, 0.0491657965, 0.0096201459, -0.0074341227, -0.0236935392, 0.0494182706, -0.0014443308, -0.0149637517, 0.0223971829, -0.0288786143, -0.0178692229, -0.019833399, -0.0336201042, -0.0137562957, 0.0443202145, -0.0510284193, -0.034578722, 0.0473461673, 0.0310139433, -0.0383718647, -0.0183016639, -0.0155863408, -0.0614705533, 0.0290350094, 0.0105830105, 0.0496695153, -0.0099502821, -0.0484227091, 0.0042492989, 0.0354354605, -0.0659120753, -0.0080578681, -0.0214363877, -0.0130871879, 0.0220414363, 0.0223837849, -0.0472166687, -0.0068086353, -0.0395257249, -0.0043776417, -0.0005098144, 0.001553175, -0.0070784949, 0.0484978855, -0.0728043541, -0.0270767678, -0.0255800653, -0.0044350387, 0.0061232769, -0.0136928968, 0.013399289, -0.0282506943, -0.0013553476, 0.0671404079, -0.0062459628, 0.0817537829, 0.0335167199, -0.001792509, 0.0324510485, 0.0654811934, 0.0145295141, -0.0376042463, -0.0287027974, -0.0003141219, -0.0401557311, -0.041655805, 0.0357593484, -0.0137516018, -0.0449570753, 0.0346668251, -0.0509555303, -0.0003002466, 0.0684564039, -0.0286248773, 0.0218856651, 0.0335331373, -0.0406090207, -0.0032188008, -0.0289312676, -0.0135748703, -0.0054941569, 0.0147676663, 0.0062733106, 0.0207474604, -0.0267276391, -0.0440202802, -0.0226555988, -0.0161845721, 0.0228576344, 0.0604149252, -0.0210813787, 0.0200899951, 0.0168659575, 0.0279200841, 0.018159993, -0.0201017819, 0.0019417682, -0.0517105907, -0.1174946055, -0.0317504518, 0.0167787317, -0.0041702893, -0.0206328798, -0.0017246228, 0.0210267287, 0.0110268202, -0.0217944495, 0.0180523656, -0.0298232269, 0.0497829728, 0.0297783688, 0.0176658146, 0.0439677648, -0.0297355596, 0.0027550377, -0.007182708, 0.0637628064, -0.0268716905, -0.027890861, 0.0086756255, -0.0195072629, -0.0699530989, 0.0403008796, -0.0210821256, -0.0441720821, 0.0182450563, -0.0265495647, 0.0138618425, -0.0290594418, 0.0217988379, 0.042387709, 0.0102012204, -0.0028902951, -0.0131536555, 0.0172112007, -0.0057765283, 0.0182618089, 0.0088336365, -0.0175002906, 0.0056339949, 0.0443191156, 0.0188832115, 0.0021824555, -0.0444468148, 0.0026401572, 0.0300000962, -0.0186585262, -0.0298746545, 0.0278852545, 0.0216419473, -0.0290500373, -0.0013599464, -0.0377504863, 0.0501816049, -0.0121978596, -0.0133851748, -0.0517005622, -0.0156890247, -0.0544825085, 0.0410757884, -0.0130663542, 0.030171562, 0.0117659345, 0.0405157171, -0.005652566, -0.0378571302, 0.0167800542, 0.0154159972, 0.0714643225, 0.0222330913, 0.0166264251, -0.0078318464, -0.0345246643, 0.0190747213, -0.0859112889, -0.0511719286, -0.0345528871, -0.0085104797, -0.018071644, -0.0356000289, -0.017795708, 0.0148589993, -0.0518164597, 0.0216821246, -0.0635959357, 0.0167948585, 0.0473097302, 0.0224399753, -0.0016225292, -0.0232584681, -0.0178794134, -0.0334965475, 0.0487577431, 0.0206300635, 0.0071650571, -0.0599557683, -0.0306159128, 0.0422816388, 0.0646773875, -0.0143604949, -0.0360534713, 0.0559885278, 0.0048313444, 0.0675753877, 0.0665713623, 0.0123296669, -0.0321385488, -0.0160021745, 0.0548971407, 0.0041103167, 0.0159023423, -0.0516875535, -0.0301031154, -0.083189033, -0.0420728624, 0.0260170493, -0.0191669054, 0.0212843381, 0.0012717115, -0.0746000558, 0.0104371766, -0.0233044829, -0.0340101346, -0.0137473829, -0.0138150081, -0.0109533863, -0.00821173, -0.0280553699, -0.0627045035, 0.0115047824, -0.0218812227, -0.0180134419, -0.0275203846, -0.0253736973, 0.0340382792, -0.0334545709, -0.0024037119, 0.0395959988, 0.0492662676, -0.0200955085, -0.0414277241, 0.0409933329, 0.0050321864, 0.0009677839, -0.0289232265, 0.0556606725, -0.0530454367, -0.0272201542, -0.005004813, 0.0060828943, -0.0163622312, -0.0022832344, -0.0552110113, 0.0441859178, -0.0509304516, 0.0079369154, -0.0788565874, 0.0629398078, 0.002677466, 0.0269739497, -0.0344253369, -0.0802889541, -0.0087995725, 0.0100323716, -0.0080247549, -0.0221520066, -0.0095522096, 0.007074188, -0.0227990579, -0.0111100208, -0.0463398807, -0.0446372777, -0.0225122347, 0.0374668352, -0.040053498, 0.0046102605, -0.0780066103, 0.0219944231, -0.0091482745, 0.0533397086, 0.028329581, 0.0460259318, -0.0228607859, -0.0019335056, 0.0400222726, -0.0232632458, 0.0168390982, 0.0141638918, -0.0325829312, -0.0267629903, -0.0836499035, 0.0391778238, 0.0005852629, -0.0339321494, 0.0478877611, -0.047136534, 0.0183453038, 0.0588363297, -0.0183831397, 0.0030185296, 0.0724355653, 0.0407927148, -0.0114802253, 0.0107440529, -0.0152515667, 0.0184224956, -0.0124036521, -0.0652933791, -0.0176713374, 0.0064436938, -0.0181471873, -0.0431213751, 0.0860938579, -0.0350551456, -0.0172600728, -0.0279126093, -0.0215218272, -0.0087368535, -0.0025587119, -0.0280564222, -0.0031418167, 0.0149265556, 0.0017001703, -0.0446831919, -0.0077534639, -0.0104879793, 0.061242871, -0.0122141168, 0.0904464796, 0.0597860105, 0.0079508657, -0.0164874252, 0.0130801601, -0.0165410861, -0.0135999275, -0.0073376382, -0.0505443811, -0.0073987618, 0.0755741894, 0.0165925846, -0.0023854983, -0.0250811279, 0.0478081144, 0.0159283299, 0.0829001814, -0.0304153431, -0.0001190776, 0.0445136242, 0.0111191999, 0.0159706362, -0.0186348148, 0.0132215591, -0.0070363185, 0.0486469604, -0.0431689471, -0.0185961332, 0.0416551344, 0.0019429675, -0.0079658534, -0.0114969723, 0.0348520204, -0.0751553699, 0.030412063, 0.0320297778, -0.0198986158, -0.0400126167, 0.001126794, 0.0676792935, 0.0326552056, 0.0333676711, 0.0327274129, -0.0445455089, -0.023951076, 0.1105150953, -0.0237698425, -0.0110635618, 0.0219700877, 0.0207694136, 0.0475549065, 0.0328939222, 0.0227789599, -0.0739790872, -0.0107121198, -0.004492437, 0.0040463661, 0.0220567156, -5.608479341e-33, 0.0397710316, 0.0293945111, -0.0224536192, -0.0136453994, -0.0096249431, 0.0149671929, 0.0169363022, 0.0313164629, 0.0256635174, -0.0023176449, 0.0233831666, 0.0190843642, -0.0184916295, 0.0330422595, 0.0085054869, 0.0229030829, 0.0115198325, -0.0088849599, -0.0009721009, 0.0015640609, 0.0437959731, -0.0191759598, 0.037717022, -0.1149716899, 0.0405146964, 0.0009804718, -0.0531330705, -0.0052136634, 0.0528792553, 0.0412440673, -0.0258011222, 0.1094853356, 0.0463076867, -0.0146168331, -0.0099494169, 0.0507407337, -0.0212210231, 0.0254052952, -0.0144613069, 0.0200419426, -0.043197602, -0.0278823171, 0.0075488999, 0.0039033806, -0.0253229104, -0.0513699353, 0.023657579, -0.0120332567, 0.0487627648, -0.0363502651, -0.0248407945, 0.0265062023, -0.0164096765, -0.0156352036, 0.0218741, 0.0605587512, 0.0628732592, 0.0208835918, -0.048133295, 0.0376461707, -0.0637744516, -0.0212753266, 0.0181587227, 0.0087127332, -0.0096305031, 0.0835108384, 0.0271854773, 0.0084221493, -0.0016891735, 0.0543153249, 0.0146800382, 0.0311821941, 0.0485062785, 0.0928261429, -0.0026244048, -0.0219395775, -0.0320717059, 0.0452588536, 0.0347873271, -0.0018541268, 0.0518315285, 0.0351973735, -0.0271789189, 0.0041313102, 0.0349067673, -0.0000908754, -0.0303281285, -0.008446984, 0.0067086583, -0.0030604044, 0.0136748757, 0.0227928367, 0.0490521044, -0.032465551, -0.0103384918, 0.0320089087, -0.0300909281, 0.0790671036, 0.0089298021, -0.0311953388, -0.0205355659, -0.0086240377, 0.036135871, -0.0329931565, 0.0407081544, -0.0189831331, 0.0256720372, 0.0655531809, -0.0469820648, -0.0382066965, 0.0047305753, 0.0174353626, -0.0248512942, 0.0492434427, -0.0114377216, 0.0203359462, -0.0393845253, 0.0326584764, -0.0345399491, 0.0298147835, -0.0201231278, -0.0153300921, -0.0104465568, 0.007479514, 0.0015636476, -0.0238680281, -0.018126592, -0.0810295269, -0.0010572379, -0.0581991449, -0.0167843848, -0.0137020955, 2.45e-7, 0.0328963287, 0.0335168354, -0.0186965298, -0.0137515236, 0.0114016235, 0.0949215665, -0.0236779526, 0.048272457, -0.0008914283, -0.0272288825, 0.0077670198, 0.0301357079, 0.0178065803, 0.0709764436, -0.022325661, 0.007144786, -0.0071404367, 0.0034473611, -0.0269055776, 0.0711969733, 0.0719852671, 0.0851367563, 0.0260711107, -0.0502174981, -0.0138018038, -0.0067127482, 0.0680091456, -0.0174986348, -0.0418450832, -0.0112484144, 0.032641381, -0.0320366472, -0.0216966327, -0.0201249719, 0.0115975672, -0.0355299935, 0.0173257645, 0.0079238517, 0.002394594, -0.0934041217, -0.001115476, 0.034019094, -0.0489576869, 0.0377424769, 0.04105464, -0.0318920314, -0.0491424948, -0.0638412461, -0.007094793, 0.0212251209, 0.0632056147, 0.019714687, -0.038177181, 0.0362685807, 0.0119579602, -0.031968873, -0.069612518, -0.1220430881, 0.0123595465, 0.0258580297, -0.0487391576, -0.0254674442, 0.036205627, 0.0251787547, 0.0512436517, -0.0469254367, -0.0568026416, 1.637194438e-34, 0.0355794057, -0.0600801334, 0.0227379091, -0.0395641997, 0.0080988361, -0.0208991822, -0.0451224819, -0.0480094738, 0.060571868, -0.0514004305, 0.0159253199 ]
http://arxiv.org/abs/2310.09590v2
http://arxiv.org/pdf/2310.09590v2
Solving Math Word Problems with Reexamination
2023-10-14T14:23:44
2023-11-20T03:29:23
Yi Bin, Wenhao Shi, Yujuan Ding, Yang Yang, See-Kiong Ng
cs.CL
cs.CL, cs.AI
Math word problem (MWP) solving aims to understand the descriptive math problem and calculate the result, for which previous efforts are mostly devoted to upgrade different technical modules. This paper brings a different perspective of \textit{reexamination process} during training by introducing a pseudo-dual task to enhance the MWP solving. We propose a pseudo-dual (PseDual) learning scheme to model such process, which is model-agnostic thus can be adapted to any existing MWP solvers. The pseudo-dual task is specifically defined as filling the numbers in the expression back into the original word problem with numbers masked. To facilitate the effective joint learning of the two tasks, we further design a scheduled fusion strategy for the number infilling task, which smoothly switches the input from the ground-truth math expressions to the predicted ones. Our pseudo-dual learning scheme has been tested and proven effective when being equipped in several representative MWP solvers through empirical studies. \textit{The codes and trained models are available at:} \url{https://github.com/steven640pixel/PsedualMWP}. \end{abstract}
[ -0.0376780666, 0.0454124473, -0.0067499941, 0.0131080467, -0.0605261549, 0.0084818657, -0.0147730289, 0.0153442444, -0.0565919541, -0.0321108252, 0.0235679038, -0.0104385633, 0.0245663207, 0.0258546211, 0.0177230239, -0.0167944524, 0.0483582802, -0.0090303682, 0.0042293742, 0.0030753778, -0.0231165439, -0.0400692262, -0.073234804, -0.0359394327, -0.0578350276, -0.0358209088, -0.0007689996, -0.0652695596, 0.0220336337, -0.008185301, 0.0299619809, 0.023964202, 0.0568584017, 0.0707236007, 0.0000024412, -0.0357628837, -0.0357170664, 0.0034765275, -0.0496136174, -0.0016883491, -0.0084554181, -0.0119954748, 0.0074800584, 0.0353123546, -0.070534423, 0.0112865744, 0.0375555828, 0.0597402751, 0.0698847771, 0.0454126932, -0.0219859071, -0.0261775516, 0.006470453, -0.0281426255, 0.0057147602, -0.0513181761, 0.0291598998, 0.0340742618, -0.0163721461, -0.0281283911, -0.0048358371, 0.0362387747, 0.0399217829, 0.0026805771, 0.02972221, -0.0215471443, -0.0090519721, 0.0227800086, -0.0486301035, 0.0388213061, -0.0636676699, 0.0222109854, -0.0015221147, -0.0153960949, -0.0139226969, 0.019789299, -0.0299820062, -0.0182172097, 0.0096294442, 0.0056705014, -0.0255681872, 0.003736669, 0.0172207616, -0.0057499772, -0.040083725, 0.0575462431, 0.0042126235, -0.0291746948, 0.0108327018, -0.0039703064, -0.0573343337, -0.0301067811, 0.0634116381, 0.0683310181, -0.009527904, 0.0341006182, -0.0430657417, -0.1247622296, -0.0235283561, -0.0414743051, 0.0387602225, 0.0710408166, 0.024693938, 0.0218341611, -0.0646973476, 0.0342548154, -0.0034216968, 0.0211203415, -0.049993962, 0.0690024272, -0.0359767824, -0.034131255, -0.0617971011, 0.0372587554, -0.0061525358, -0.0168021508, -0.0417920835, -0.0142776286, -0.0186483897, -0.0076526399, 0.0060618729, -0.026079217, -0.035090629, -0.0416051075, -0.0440573394, 0.0309075844, -0.0352731198, 0.0362572372, -0.0245874915, -0.0042532841, -0.0109635219, -0.0392387807, -0.0216058455, -0.0331546403, 0.0143292071, 0.0694980919, -0.0488230847, 0.0132024596, -0.0359221622, -0.0369513072, 0.0163232349, -0.0601349548, 0.0127188647, -0.0567413941, 0.0525506176, -0.0196798481, -0.0369833447, -0.0373892039, 0.045867186, -0.0059124692, 0.0506194755, 0.0852854773, 0.0193312522, -0.0095136054, 0.0558981448, -0.0110840155, -0.0353322215, 0.0622580908, 0.0277704131, -0.0288174413, -0.0057737413, -0.0254297126, 0.0437954031, 0.0406441577, 0.0308240689, -0.02685339, -0.0327171199, -0.0416418388, 0.0782205164, 0.0206582528, 0.0001406691, 0.0138316816, -0.0585345179, -0.0024340434, 0.0418824628, 0.0217773877, 0.0368894078, 0.0290803071, -0.0104414467, -0.0337826498, 0.01998288, 0.0262739714, -0.0503284857, 0.038030766, -0.0101043591, -0.0084490608, -0.0230935942, 0.0046095429, -0.0051113954, -0.0796498507, -0.0162175857, -0.0063523892, 0.0261000767, 0.0099241938, 0.0744947717, -0.0138085932, -0.0194514971, 0.0316093937, 0.0205771718, -0.0002154055, -0.0103306687, -0.0395685658, -0.0405332483, -0.0060021561, 0.0389520451, -0.0661886781, -0.0554697551, 0.0030336925, -0.0586374328, -0.0326884761, 0.0223985072, 0.0133680077, -0.0227751285, -0.0460266955, -0.0204157066, -0.0280896612, 0.0063746744, -0.0160718691, 0.0267490745, -0.0148397805, 0.0099967718, -0.0150741255, 0.001196136, 0.0446656384, -0.0448308364, -0.066857934, 0.0111170579, 0.0132213011, -0.0032622712, -0.0202227738, 0.0449596457, 0.0492891483, 0.0199292451, -0.0322680101, -0.0394997485, -0.0059740902, -0.0828485489, -0.0265431441, 0.1035801694, -0.0499206856, -0.0185499135, 0.0263913274, -0.0047567338, -0.0420050099, 0.0483532585, -0.0686392337, 0.0219669156, -0.0194351524, 0.0621015057, 0.00778569, -0.0205844138, -0.0205829535, 0.0770001337, 0.0380758271, 0.0220314581, -0.0172768068, -0.0699763596, 0.0164170247, -0.0185463298, 0.0149234599, -0.0156387743, -0.0075174877, -0.0117964158, -0.037949305, -0.0477560759, -0.0429837555, -0.0278299414, -0.003126116, -0.0059286561, 0.0107669933, 0.0514308065, 0.0129598081, -0.0184700005, 0.0131716682, -0.0327620283, -0.0537149273, -0.0010416238, -0.0264093559, -0.0283824373, 0.0253559295, 0.0103755193, 0.0384731889, -0.0091898404, -0.0289186314, -0.0453378446, 0.0185107142, 0.0129343774, -0.0273398701, -0.0457497984, 0.0575383045, -0.0207451507, 0.0382256843, -0.0054791579, 0.0194407888, -0.0320869908, 0.0024249253, 0.0836827233, 0.0402759723, -0.0067956299, 0.0213850904, 0.0250077397, -0.0386162959, -0.0422034524, 0.0159000345, -0.0335618705, 0.0062870369, 0.0233596563, 0.00176803, -0.0251637958, 0.0682270154, -0.0256264638, -0.0079345712, -0.0024425148, 0.0161963888, -0.0067974478, -0.0145679973, -0.0275292378, -0.0073143174, -0.0033582973, -0.0176520403, -0.0195310041, -0.0089888452, 0.0879454687, 0.029792197, -0.0221458748, -0.10204757, 0.0009478408, -0.0403713249, -0.0160312001, -0.0107495748, -0.0245007835, -0.0319565944, -0.0310168248, -0.0280038156, -0.0142666204, 0.0371301137, -0.0315540731, 0.0518523455, -0.0166979171, 0.0300519168, -0.0205862839, -0.0561464764, -0.0327577554, -0.007015272, -0.0024743946, 0.0363328159, -0.0371241607, -0.0103590516, -0.0691294596, -0.0075838421, 0.0739332959, 0.0603980832, -0.0285134334, -0.0151633518, -0.0283279177, 0.0147975916, 0.0466932021, 0.0513559468, 0.0168046635, -0.047231257, -0.0030352378, -0.024832882, 0.086051099, -0.0064791576, -0.0191171784, 0.0307199769, 0.0108962143, -0.0607845969, -0.007764813, 0.0273725614, -0.0250077248, -0.0732454509, 0.0113899829, 0.0466677621, 0.0528602526, -0.0278333221, -0.0194966625, -0.0844219327, -0.0469196774, 0.0281268656, 0.0480333939, -0.0431886278, 0.0085227052, 0.0272871088, -0.0047299373, 0.0097555285, -0.0189940557, -0.0058407872, -0.1222936437, 0.036230363, 0.020212708, -0.008735206, 0.002926226, -0.0279668607, 0.0068427222, 0.0143976621, -0.0060492591, 0.0052152472, -0.0152385281, 0.0194971152, 0.0266322363, 0.0262752436, 0.014555702, -0.0161017329, -0.0170811266, -0.0389550142, 0.0261283163, -0.0035245973, -0.0540851057, -0.134507969, 0.0461764783, 0.0317679904, -0.0357592963, 0.0010485365, 0.0185963567, 0.013567742, -0.0187879167, -0.0052488707, 0.0565459095, -0.0561639592, -0.04648434, 0.0129344221, 0.1167073771, 0.0012906423, 0.0416057408, 0.0103352964, -0.0223343819, 0.0203866791, 0.0317940898, -0.0121790487, -0.024922369, -0.0297682192, 0.0144548835, 0.0197329558, -0.017789511, 0.0090525318, 0.0259053111, 0.0203225575, 0.0225922912, -0.0505933277, 0.0095251556, 0.068110995, 0.1012383997, 0.0267315023, -0.0150140589, 0.0243974496, -0.0093312589, -0.0778548047, -0.0105726048, -0.0302121621, 0.0758067816, -0.0358400904, 0.0339032523, -0.015196193, -0.008235517, -0.0282843783, -0.0150174778, -0.0830434933, -0.0410550945, 0.0085579697, 0.0201474838, 0.0259567145, -0.0066166501, -0.0176661927, 0.0055336268, 0.0166061651, 0.0246848278, -0.0731666982, 0.0248340238, 0.0123523623, 0.0104813287, 0.0020047904, -0.0172910616, 0.0083161453, -0.0078597665, 0.0135852806, 0.0384804495, -0.0107817724, 0.0463022292, 0.043599207, 0.0548647828, 0.0176534038, 0.0378194228, 0.0314690806, -0.0295871682, 0.0182080865, -0.0266922116, -0.0185595434, -0.0370490551, 0.0261450745, -0.0045773629, 0.0367428064, 0.0417673178, -0.011316576, 0.0555502474, -0.006336696, 0.0230003707, 0.0220493469, 0.0445945971, 0.0026709917, 0.0045755282, 0.0037378988, 0.0341705084, 0.0169817638, 0.0135005908, 0.0585987233, -0.0077294619, 0.0575884208, 0.0328861661, 0.0054478515, -0.1250642687, -0.0332153738, 0.0056832391, -0.0672626197, -0.0159085151, 0.0224230345, -0.0011711359, -0.0102446135, -0.0341169052, -0.0190402865, -0.0236553717, 0.0183400754, -0.0173816271, -0.011173849, 0.0483798049, 0.0225949883, 0.0427564606, 0.0150957126, -0.0235321354, 0.0435625762, -0.0554164648, 0.0387420096, 0.0013340248, 0.0011130748, -0.0319932327, -0.0139589328, 0.0395621732, 0.0349152535, 0.0025829708, -0.0059586968, -0.0473583452, -0.0390228592, 0.0321572013, 0.0039588702, -0.0201895889, 0.0056158248, 0.0470979288, 0.0716488734, -0.0454691723, -0.0096973069, -0.0118443044, 0.0587724745, 0.039688766, -0.0140920496, -0.0025983497, -6.39981075e-33, -0.0078144073, -0.0282325801, 0.0291079227, 0.0079734828, -0.0372696556, 0.0284095202, -0.0005275385, 0.0353233516, 0.0063541755, -0.0011975245, -0.0206007678, -0.0149601782, 0.0358857997, -0.0144099044, -0.0068715387, 0.01837321, 0.003320859, -0.0192671549, -0.0197833311, -0.078562066, -0.0063887625, 0.042277053, 0.073170498, -0.0489335135, -0.0081707723, 0.0452028885, 0.0097262366, 0.0391684659, 0.0011216818, 0.0256253947, -0.0320275612, 0.0103846788, 0.0156749636, -0.059933126, -0.0409009978, 0.0249645747, -0.0777226165, -0.0331153683, 0.0045855022, 0.0229251701, -0.0752645135, -0.0086140772, 0.0550237857, -0.0056046071, -0.0192513652, -0.0283380244, 0.0183258764, -0.0363580026, -0.0118671777, 0.0331444889, -0.049426429, 0.0156582743, 0.021048747, -0.0205850378, 0.0468475036, -0.0047015119, -0.0303179864, -0.041886311, -0.0448650382, 0.0033573406, 0.0265548006, 0.0341018178, -0.0015860079, 0.0270317961, -0.0190004241, 0.0176110826, -0.0015296176, -0.0292456485, 0.0148668177, -0.0155996, 0.0649495721, 0.0155343665, 0.0823750496, 0.0204529073, 0.1117110178, 0.0111869955, -0.0431993976, 0.0145969288, 0.027880352, 0.0218364093, 0.0068660565, 0.0638353825, -0.0124478871, -0.0085513899, -0.0503819957, 0.019335689, -0.063989304, -0.0080737611, -0.0024003044, 0.0108884005, -0.0019889453, 0.0564939864, 0.0028640656, -0.0058431202, 0.0264044236, -0.0126302475, 0.0336590298, 0.0276124664, -0.0134909647, 0.0043267962, -0.0268992111, -0.0043356698, -0.0035819209, 0.0664426163, 0.0378487967, -0.024063617, 0.0006855914, 0.024259882, -0.0331106484, 0.0124780107, -0.0445341729, -0.0052849143, 0.0887437239, 0.0687235594, 0.0338107869, 0.0081106219, -0.0127680944, -0.0169443432, -0.0054972852, -0.0549038835, 0.0098266322, 0.0446216688, 0.0269593261, 0.0603006557, 0.0164548252, -0.001396227, -0.0073655411, -0.0185072105, 0.0127454139, -0.0479216985, 0.0069672819, -0.0077597564, 3.237e-7, 0.0269235354, 0.0392855145, 0.0373984724, -0.0182737242, 0.0145275956, 0.0184221659, -0.0222777892, 0.0021088556, 0.005468504, -0.0340086967, 0.0398004614, 0.0347604007, 0.0158541836, 0.0281384327, 0.0097324103, -0.0321992151, -0.0214483496, -0.0099927438, -0.0373404622, 0.0294298492, 0.0041889618, 0.0370717682, 0.0477997847, -0.015546062, -0.0030886275, -0.0333934873, 0.0402027443, 0.0160359703, 0.0127036795, 0.0013086491, -0.0053106896, 0.0118145971, 0.0116001656, 0.0248435531, -0.0216212608, 0.0850211605, 0.088691242, 0.0539302044, 0.0187298208, 0.0274784919, -0.0093466723, 0.0235612094, -0.0161151048, -0.0208883751, 0.0458331928, -0.0817489475, -0.0419162512, -0.0136125488, -0.0457622856, -0.035867326, 0.0510159843, -0.0097111836, 0.0450720005, 0.0499084704, 0.0287493411, 0.0343416929, -0.0276515875, -0.0635711253, -0.03999421, 0.0379685946, -0.0804514214, 0.0205127299, -0.0265792236, -0.0085668899, 0.051177647, -0.042281732, -0.0113065802, 3.050617684e-34, 0.0157724526, -0.0159367677, 0.0155759146, 0.0473889038, -0.004696093, -0.0156212011, -0.0609096885, 0.035489209, 0.0333168618, -0.0663138926, -0.0167129897 ]
http://arxiv.org/abs/2310.10686v1
http://arxiv.org/pdf/2310.10686v1
Autonomous Tree-search Ability of Large Language Models
2023-10-14T14:14:38
2023-10-14T14:14:38
Zheyu Zhang, Zhuorui Ye, Yikang Shen, Chuang Gan
cs.CL
cs.CL, cs.AI
Large Language Models have excelled in remarkable reasoning capabilities with advanced prompting techniques, but they fall short on tasks that require exploration, strategic foresight, and sequential decision-making. Recent works propose to utilize external programs to define search logic, such that LLMs can perform passive tree search to solve more challenging reasoning tasks. Though impressive results have been achieved, there are several fundamental limitations of these approaches. First, passive tree searches are not efficient as they usually require multiple rounds of LLM API calls to solve one single problem. Moreover, passive search methods are not flexible since they need task-specific program designs. Then a natural question arises: can we maintain the tree-search capability of LLMs without the aid of external programs, and can still generate responses that clearly demonstrate the process of a tree-structure search? To this end, we propose a new concept called autonomous tree-search ability of LLM, which can automatically generate a response containing search trajectories for the correct answer. Concretely, we perform search trajectories using capable LLM API via a fixed system prompt, allowing them to perform autonomous tree-search (ATS) right out of the box. Experiments on 4 puzzle games demonstrate our method can achieve huge improvements. The ATS-BFS method outperforms the Chain of Thought approach by achieving an average accuracy improvement of 33%. Compared to Tree of Thoughts, it requires 65.6% or 47.7% less GPT-api cost to attain a comparable level of accuracy. Moreover, we have collected data using the ATS prompt method and fine-tuned LLaMA. This approach yield a greater improvement compared to the ones fine-tuned on CoT data. Specifically, it outperforms CoT-tuned LLaMAs by an average of 40.6% and 38.5% for LLaMA2-7B and LLaMA2-13B, respectively.
[ 0.0454162583, 0.0422618948, -0.0448184498, 0.083694458, -0.0632586256, -0.0187968425, -0.0482186116, 0.0035314672, -0.0051765456, -0.0105089825, -0.0286702998, -0.0229643881, -0.0205711108, 0.0404020138, -0.0210608654, 0.0072535933, 0.0302751027, -0.0622260347, 0.0515279472, -0.0220713373, -0.0402208269, -0.0066300072, -0.0203981455, 0.0271387622, 0.012426001, -0.0296651442, -0.0662932992, 0.0063199848, -0.0018260656, -0.0762546957, -0.0483147912, 0.0089391181, 0.0005366542, 0.0541794933, 0.0000023015, -0.0452176183, -0.026305845, -0.0321115218, -0.0544968098, -0.0348187909, -0.0275439844, 0.0721759796, -0.0023400281, 0.0079994518, -0.0620734617, 0.0120776016, 0.0672688484, -0.0139022069, 0.0771323964, 0.0610174611, 0.0235491712, -0.0361801051, 0.0221915469, 0.0106137469, 0.0184851568, -0.0652162433, 0.0140089579, -0.0140304649, 0.0675640032, 0.015246667, -0.0247865915, 0.0062518483, 0.0222306289, -0.0262684487, -0.0399981812, 0.0300298482, -0.0236775801, -0.0182335339, -0.014819473, 0.0420596302, -0.0053019468, -0.0194269959, 0.0005181923, -0.0174372643, -0.0083714239, -0.0177747253, -0.0443513989, 0.070016101, -0.0323907696, 0.0142718237, 0.0326422043, 0.0060574436, 0.0380651094, 0.0133007132, -0.0430883393, 0.1444050521, -0.0125883166, -0.0358107388, 0.0141583364, -0.0342416503, -0.0006908552, -0.0791733339, -0.012449651, 0.0646258965, -0.0838616565, 0.0361566581, 0.0196760613, 0.0051644188, 0.0015931911, 0.0110429889, 0.0347154327, 0.0713625327, -0.0088797212, 0.0339766406, 0.0129578672, 0.0568962879, -0.0257942751, 0.0125352489, -0.0538117141, -0.0127264764, -0.0135085732, -0.0296418853, -0.0490131676, 0.0675360262, -0.0532132648, -0.0168747324, -0.0060259388, 0.0232600067, 0.0044893939, 0.0182487071, 0.0021112638, 0.005232072, 0.0301531237, -0.0107883504, -0.0481056832, -0.0071996138, -0.0441477448, -0.0118059879, 0.0264945347, -0.0177877564, -0.0023472526, 0.0003121919, 0.0030736958, -0.0096779699, 0.0529100113, 0.0763080642, 0.0105516771, -0.022190528, -0.0332333334, -0.0043131639, 0.0023436528, -0.0813384578, 0.025595272, -0.0823290944, 0.011139039, -0.0000467504, -0.0214975532, 0.0102052921, 0.0360582992, 0.042748265, 0.0122254658, 0.0669888407, -0.0055675716, 0.0481133759, 0.0087837428, -0.0008409101, -0.0141648101, 0.0932199806, 0.0494213477, 0.0602144822, 0.0295436569, 0.0118975099, 0.0056852116, 0.0610858276, -0.013462007, -0.0267582964, 0.0083535882, 0.0332503393, -0.0486835651, 0.0588052981, -0.0545240492, 0.0070134583, -0.0190470554, -0.0029542535, 0.0316059403, 0.0788671449, -0.0138246147, -0.0038963596, 0.0425964408, -0.0463468172, 0.008017648, -0.0157704912, -0.0377645865, 0.0462539345, -0.0536841303, 0.0073196562, -0.0297233388, 0.0397730395, 0.0073756343, -0.0402298458, -0.0039418186, 0.0304565169, -0.0137497857, 0.0374196395, 0.0383900627, 0.0028558602, -0.0231180433, 0.0506714582, -0.0081046075, -0.0111851394, -0.0638763607, -0.0928302035, 0.049481716, 0.0439841822, 0.0681821778, -0.0319825299, -0.0453931466, 0.0410495289, -0.0062045818, 0.0605468601, -0.0105365738, -0.0004243756, -0.0149146393, -0.0399255678, -0.0288033411, -0.0193769112, 0.005668859, 0.0437330827, 0.0012244234, 0.0051539941, -0.0237211287, -0.0345745273, 0.0326262824, 0.0145963319, -0.0020781385, -0.0178987905, 0.0052503697, 0.0145238601, 0.0383272171, 0.0245136376, 0.011344621, 0.0324031301, 0.0248286165, -0.0083478848, -0.0343593732, -0.0187345408, -0.0328836031, 0.0013751759, 0.0376795642, -0.0119040683, -0.0193580016, 0.0258071292, -0.013271125, -0.0339516774, -0.0024728542, -0.040817339, 0.0309745092, -0.0157198701, 0.0530657247, -0.0142083839, -0.0450436324, -0.037432842, 0.0902380869, -0.0115926899, 0.012965831, 0.0260533839, -0.0024557044, 0.0499758087, -0.0532503203, 0.0003157906, 0.0571782626, -0.0163771883, -0.020206809, -0.0056885388, 0.0514947511, -0.0469473526, -0.030165555, -0.0779116079, 0.0397547372, -0.01148347, 0.0286072176, -0.0167955421, 0.0272060279, -0.0211623348, 0.0049596215, -0.0232399702, 0.0256431121, 0.0267090444, 0.0250534881, 0.0057402365, 0.0291107427, -0.0573464781, -0.0255529322, -0.0110863158, -0.0241919085, -0.0029012747, -0.0286379345, -0.0357341692, -0.0450448692, 0.0284871049, -0.0516650043, 0.0401089303, -0.0068264157, -0.0203295816, 0.055213701, -0.0578366667, -0.0072727869, 0.0717398673, -0.0201417562, -0.0014277254, 0.0771830902, -0.05672675, -0.0509859063, 0.0501033887, 0.0121780513, -0.0185758825, -0.0116666974, -0.0364843272, 0.0258786865, 0.0656599179, -0.0192759335, 0.007627151, -0.0320588425, 0.0195461977, 0.0400299095, -0.0178514626, -0.0188920815, -0.0284713209, -0.0164146274, 0.0608743094, -0.0228282548, -0.0442401581, 0.0803368092, -0.0371456556, -0.0168455243, -0.0196684338, -0.005705873, -0.0488994308, 0.1204340905, 0.0008537426, 0.0007156552, 0.0001724385, -0.0254661087, -0.0399574749, -0.0003989822, 0.0303899478, -0.0355922468, 0.0535942614, -0.0619089194, 0.0090970099, -0.0025566043, -0.0637301356, -0.0375939235, 0.0027316529, -0.0703320652, -0.009985921, 0.0154025992, -0.0352259018, -0.0262654088, 0.0022957444, 0.0432643704, 0.0122972336, -0.004184959, -0.0021999658, -0.026931189, -0.0081080534, 0.0465952456, 0.0306446161, 0.0541400164, 0.0012721954, 0.0632264018, 0.0359641127, 0.0340473093, -0.0411790498, -0.0016740687, 0.0051466278, 0.0285117254, -0.00740419, -0.0379243866, 0.045294445, 0.005752062, -0.0507442541, -0.0265450813, 0.0767843202, 0.0431614518, -0.0301596988, -0.0124581587, -0.0779781789, 0.0028136787, 0.0408934131, 0.0394986384, -0.0583299175, -0.0381584056, 0.0263773408, -0.0055225068, -0.0223983433, -0.0464550368, -0.0166864619, -0.1392484456, 0.0295906756, -0.0075145643, -0.0178577546, -0.0252494123, 0.0056843488, -0.0130109433, 0.0411269255, -0.0280528795, 0.0287273508, 0.0127004376, -0.0027778293, -0.0463485494, -0.0168382637, 0.0370440558, 0.0463661216, -0.0016632247, 0.0336677581, 0.0738454238, 0.0435177609, 0.0024859034, -0.0450566188, 0.0280022807, 0.0003147029, 0.012822723, -0.0429598726, -0.0286070406, 0.0306481719, 0.0015588796, -0.0053423624, -0.0103171794, -0.0050058463, -0.0239751004, 0.043788556, 0.0983798057, -0.0520275533, -0.0249063559, -0.0213443916, -0.0108623579, -0.0129091563, 0.046744477, 0.0002508503, -0.0119369477, -0.0371173695, -0.0532690994, -0.038800247, -0.0206931662, -0.0307571888, 0.0246162433, 0.0289439987, 0.0587860607, -0.0369853787, 0.0030401426, -0.0023018876, 0.041605372, -0.0074762451, 0.0222747475, -0.033156354, 0.0237498134, -0.0047049262, -0.0123189725, -0.0513120741, 0.0264223386, -0.0314159729, 0.0168593004, 0.0257843807, -0.0529830419, -0.0057254541, 0.0273580439, -0.0278027244, -0.0284053478, -0.0357608013, 0.0552913062, 0.0340027548, 0.0093569858, -0.0069869808, -0.0182964001, 0.0034687824, 0.0257214028, -0.0249897987, -0.005986881, -0.0093342327, 0.0253735948, 0.0155338105, 0.0274873618, -0.0573920272, -0.0031960593, 0.0112073459, 0.0848737881, -0.0030107722, -0.0189477112, 0.0303181708, 0.05724819, 0.0198209658, -0.0110290293, -0.0096330289, 0.0059043914, 0.0674601793, -0.0432303362, -0.0421517342, -0.0320395119, 0.0021404782, -0.0127515038, -0.010814514, 0.0355368406, -0.0261144172, 0.0045829779, 0.0000326058, -0.0014798822, 0.0316775925, 0.0205300543, 0.0321433805, 0.0514002182, -0.0215335377, 0.0139439162, 0.003130086, 0.0342553891, 0.0523961745, 0.0153425625, 0.071028471, 0.0327700302, -0.0512002856, -0.0437520444, 0.0239754394, -0.0631812811, -0.1030480415, 0.0356746614, 0.0327695459, 0.0935974345, 0.0312804207, -0.0452419557, -0.0435779057, 0.0150279757, 0.025959393, -0.0401172228, 0.0767123476, -0.0709539652, 0.0330249891, 0.0337133333, -0.0022422641, -0.0398505628, 0.011705108, 0.012566993, 0.0377837718, -0.0011385494, -0.0067054355, -0.0328664407, -0.0377782956, -0.0224942546, 0.0224428419, -0.0173087902, -0.0058088228, -0.0674939826, -0.0422322452, 0.0044357912, 0.0422101058, -0.0059522502, -0.0084465127, 0.0509725213, 0.0615962557, 0.0375458971, -0.0439632982, -0.0135884909, 0.0193630382, -0.0283632036, -0.0158920661, -0.043457143, -6.202987446e-33, -0.0331173725, -0.060654223, 0.0641277805, 0.030317761, -0.0138541618, -0.0402817652, -0.0524705946, 0.0168739129, -0.0090820016, -0.0120604709, -0.0319055133, 0.00883146, 0.003100133, -0.0023649693, 0.0282420851, -0.0191244222, -0.0136878975, 0.0060384301, -0.0440873951, -0.0364582613, -0.0001269698, -0.0249952953, 0.0254668966, -0.0314028412, -0.023424603, 0.0026742527, -0.0045581949, 0.0748593062, -0.0717906728, 0.0395708792, 0.0164007246, 0.0140697779, 0.0078370078, -0.0170679148, 0.0116554182, -0.0072949217, -0.0083132721, -0.0519123152, 0.0562114604, -0.0226691179, -0.0186939016, -0.0151661113, 0.0105573442, 0.0271404441, -0.0017852087, 0.0285071973, 0.0019283782, -0.0410265625, 0.0018147494, -0.005912032, -0.0116088344, 0.0001589067, 0.0117026549, -0.0168290157, 0.0212670472, 0.0267184041, -0.0034817331, 0.0111568877, 0.0099211084, 0.0428817905, 0.0375248566, -0.0091344481, 0.0549175479, 0.0341909453, 0.0318201073, 0.0309161004, 0.0265149865, -0.0130712437, -0.0490344428, -0.0060673738, -0.0048875338, 0.0764469504, 0.0503768139, 0.0039433525, -0.0026376662, 0.0499072112, -0.0646371841, 0.0115066227, 0.0364253297, 0.0640871897, 0.0360369682, 0.0120613454, -0.0346051268, 0.0026402655, -0.0158483107, 0.0182774309, -0.0523928218, -0.0163757484, 0.0262136273, -0.0115083652, 0.0240441822, -0.0740531161, 0.0012075035, -0.0168478396, -0.0012930908, 0.0317083374, 0.0038073144, 0.0299350712, -0.0055879978, 0.0214197263, -0.0035569305, -0.0307829734, -0.0190831143, -0.0297149215, 0.0120950751, 0.0187446065, -0.0585019626, 0.0496944822, -0.0458877124, -0.0058172303, -0.0435606986, 0.0247171428, -0.0109178452, -0.0364080556, 0.0261907168, -0.0336056091, -0.0004277943, 0.0215844568, 0.010309713, -0.0256175157, -0.0377607048, 0.0141701102, -0.0083769429, -0.0080810692, -0.0105505856, 0.0109955752, -0.047990527, 0.0133943381, -0.0333966427, -0.0395054109, 0.0028102989, 0.0300691985, 3.03e-7, -0.0077008274, 0.0413591452, -0.0353364833, 0.0849839225, 0.0093527231, 0.0298541766, -0.0293112583, -0.0580627173, 0.034420304, -0.0807992667, 0.0063091959, 0.026289247, 0.0232258253, 0.0318453051, -0.110377945, 0.0316908769, -0.0179563295, -0.0277182348, -0.0618459657, -0.0055857301, 0.0367116518, 0.0640623942, 0.0021155868, 0.004903398, -0.0188654512, -0.0389072746, -0.008069613, -0.0203082003, 0.0258160252, -0.0064334972, -0.0166168921, -0.0085687209, -0.0081553897, 0.0078146225, 0.0040600845, 0.0527344011, -0.0037530586, 0.0436586663, 0.0019895092, -0.038962394, 0.0029803403, -0.0322030038, -0.0009112005, -0.0495450459, 0.0674665868, -0.0014708595, -0.0150113255, -0.0058748205, 0.0350955091, -0.0244014785, -0.0423884057, -0.0415200442, -0.0083296048, 0.0130694965, -0.0149473064, -0.0153441755, 0.0222838577, -0.0639144853, -0.0172039475, -0.0176396091, -0.0272320379, -0.0320529006, -0.0812438801, 0.02568206, 0.0019782248, -0.0291653294, -0.0091525745, 2.987232825e-34, 0.0258857962, -0.0405200198, 0.0234759115, 0.0477140658, 0.0388351083, 0.0427521504, -0.0238317251, 0.029317962, 0.0412404202, -0.0677979365, -0.0254191887 ]
http://arxiv.org/abs/2310.09573v1
http://arxiv.org/pdf/2310.09573v1
Self-Detoxifying Language Models via Toxification Reversal
2023-10-14T12:51:38
2023-10-14T12:51:38
Chak Tou Leong, Yi Cheng, Jiashuo Wang, Jian Wang, Wenjie Li
cs.CL
cs.CL
Language model detoxification aims to minimize the risk of generating offensive or harmful content in pretrained language models (PLMs) for safer deployment. Existing methods can be roughly categorized as finetuning-based and decoding-based. However, the former is often resource-intensive, while the latter relies on additional components and potentially compromises the generation fluency. In this paper, we propose a more lightweight approach that enables the PLM itself to achieve "self-detoxification". Our method is built upon the observation that prepending a negative steering prompt can effectively induce PLMs to generate toxic content. At the same time, we are inspired by the recent research in the interpretability field, which formulates the evolving contextualized representations within the PLM as an information stream facilitated by the attention layers. Drawing on this idea, we devise a method to identify the toxification direction from the normal generation process to the one prompted with the negative prefix, and then steer the generation to the reversed direction by manipulating the information movement within the attention layers. Experimental results show that our approach, without any fine-tuning or extra components, can achieve comparable performance with state-of-the-art methods.
[ 0.015184789, 0.03865977, -0.0343201272, 0.0305074919, -0.0009103779, 0.0116108013, -0.0083367433, -0.0132908085, -0.0032073837, -0.0135742845, -0.0305059645, 0.0127801504, -0.0296154544, 0.0786289647, 0.0210808218, -0.0093365563, 0.0623202398, -0.0304058287, -0.0222234428, 0.0048751552, 0.0054615396, 0.0311649106, 0.0352243707, 0.0567469932, 0.022004582, -0.0279206056, 0.0090643549, 0.028563112, -0.0191281587, -0.0453958623, 0.0028778224, 0.0189813282, 0.0162807126, 0.0295873787, 0.0000023201, -0.0238135345, -0.0242482908, -0.0084122783, -0.0482029505, 0.0346267186, 0.0653263927, -0.0255483277, -0.0552382097, 0.0263998937, -0.0245818049, 0.0451623537, 0.0658197105, -0.0092700757, 0.1205749288, 0.0442408398, 0.0000183412, 0.0088882484, 0.0011018754, 0.005183313, -0.021215992, 0.0102499854, -0.0002549277, -0.0163083151, -0.0288799871, 0.0058589559, -0.0257365257, 0.0468794666, 0.0420883335, 0.006016525, -0.0137923229, -0.0077732438, 0.0131468708, -0.0421626829, -0.035400182, 0.0519224778, -0.0860847384, -0.0551208816, 0.0059909262, -0.0075626173, -0.0098333452, -0.0527680144, 0.0001156292, -0.0086855432, 0.0247708056, 0.0324767567, 0.000870418, 0.0156830866, 0.0337274075, -0.0028495474, -0.0020472507, 0.0752588809, 0.0128253289, -0.0246523116, -0.0224366318, -0.0446090735, 0.0210540127, -0.038092982, 0.0263321437, 0.0066582048, -0.0091697918, 0.0362428762, -0.0823421329, -0.0445505343, 0.023733478, -0.0872720703, 0.0424975082, 0.0227833707, -0.0561710298, 0.0237824786, -0.0467980504, 0.0140873715, 0.0010243218, 0.0281635858, -0.03053491, 0.0288443696, 0.0171001107, -0.0386136025, -0.0691149235, 0.0030037244, 0.0058667655, 0.0096891671, -0.0320322029, 0.0566833392, -0.0592963286, -0.0239464585, -0.0388857573, 0.041919291, -0.0413749032, 0.0049035861, 0.0116464449, 0.0058519184, -0.0135773364, -0.0056222682, -0.0190193038, -0.0654223412, -0.0012100427, 0.0185722802, -0.0587524697, -0.0034182288, -0.0194503646, 0.0974897295, -0.0173595212, 0.0032014782, -0.068307668, -0.0374766104, -0.0196020082, -0.0093886126, -0.0231467411, -0.0622457191, -0.0214489568, -0.0089902952, -0.0321884453, -0.1139506921, 0.0234557092, -0.0033507547, -0.0512242094, 0.0771516189, -0.0351789594, 0.0072401203, 0.0298098531, 0.0283937361, 0.0001508748, 0.0772227496, 0.0343277045, 0.0513662659, 0.0083488468, -0.0358774439, 0.0147506716, 0.0626976937, 0.0297308825, 0.0341208205, -0.0600127243, -0.0285852812, -0.0226524472, -0.025907252, 0.0537407734, 0.0543467849, -0.0179370064, -0.0193584431, 0.0496371277, 0.0030799157, -0.0386054739, 0.0125819119, 0.0765755251, 0.0388258211, -0.0716985464, 0.0147304907, -0.0726670399, -0.0035014541, -0.0360295884, -0.0262326058, 0.0223503895, 0.049843464, -0.0018514051, -0.0453949086, 0.0243414436, -0.0275573786, 0.0676994771, -0.0068157101, 0.0436685458, 0.0605935976, -0.0493700393, 0.0457584076, 0.0536869764, -0.0476667322, 0.0055721621, -0.0588503517, -0.0029266651, 0.0770810917, 0.0422971658, 0.0167872179, -0.0415509529, -0.0224061068, -0.0102546364, 0.0196732283, -0.0033474332, 0.0126088271, 0.0169656537, -0.0219664443, -0.0139412526, 0.0357069783, 0.0172781944, 0.0010813689, 0.0093946271, -0.0108766817, 0.0317743756, -0.0205642339, -0.067834869, 0.0288475584, -0.0084712077, -0.0576509312, -0.0032445702, 0.0171954334, 0.0516287759, -0.0028843582, -0.006555859, 0.0086492179, 0.0432455316, -0.0187060982, 0.0107920514, 0.0111254212, -0.0569923632, 0.0164004844, 0.0244118311, -0.0215399936, 0.0090754917, 0.0638817325, -0.001903725, -0.0132139334, 0.0692260787, -0.0559267364, 0.0470855907, -0.0192599744, 0.0315104201, -0.010598612, 0.0290692896, -0.0210177302, 0.0149905561, -0.040128801, -0.0399384834, 0.0261244569, 0.0038243928, 0.0098979352, -0.0060971691, -0.0560463518, -0.0193967875, -0.0307366997, 0.0057349792, 0.0178283453, 0.0070124059, -0.0073561054, 0.0156988595, -0.0289932042, -0.0108504482, -0.0303415041, -0.0089496328, 0.0394905098, -0.0069406531, -0.0194615778, -0.0203905758, 0.0056182919, -0.0183018055, 0.0307330415, 0.0304569546, -0.0330592357, -0.0426241942, -0.053012982, -0.0073091416, -0.0048906691, -0.0066545731, 0.0366553031, -0.0521380231, -0.0476449877, -0.0318697877, 0.0383323729, -0.0244059712, 0.018094169, -0.0038112048, -0.0886689126, 0.0594103262, 0.0123112565, 0.0242511276, 0.0344325341, 0.0350052826, 0.0439206697, 0.0815389827, -0.0007815831, -0.079493627, -0.0056171217, -0.0039768768, -0.0347046256, -0.0048685004, -0.0753221735, 0.0098418603, 0.0739803091, 0.0328689627, 0.0190873966, -0.0670011118, 0.0314867981, -0.04558504, -0.0545427017, -0.0049684583, -0.0826874971, -0.0362169333, 0.0226486027, -0.0286200978, -0.088600941, 0.0676854104, -0.0358301625, 0.0235165395, -0.0138198687, 0.004332853, 0.0409385525, 0.0430484749, -0.0034667978, 0.052152358, 0.0648192093, -0.0103260688, -0.0094513725, -0.019972004, -0.001204429, -0.036503721, 0.0151273236, -0.0688374117, -0.0112876231, 0.0304011069, -0.0145826852, -0.0635237843, -0.0282766465, 0.0269834343, -0.0061904406, 0.0341266543, -0.0043442929, 0.030736886, 0.0199251249, 0.0194117893, -0.004147606, 0.0060666865, 0.0166093893, -0.016531786, -0.0310620572, 0.0589284077, -0.0432407856, 0.0123907486, 0.0062672556, 0.017166784, 0.0766795278, 0.004301257, -0.0156357531, -0.0247670468, 0.0204126965, 0.0259684473, 0.0202636551, -0.0065449611, 0.0482856296, 0.0398365706, -0.0588717163, -0.0291660074, 0.0556554571, 0.0291743316, -0.0223470144, 0.042663563, 0.0247119535, 0.0229655672, 0.0137149701, -0.0146950576, -0.0671265721, -0.0111351013, 0.0027880846, 0.0439727269, -0.0434564762, -0.0101774046, -0.0069418689, -0.0873370394, 0.0293093156, 0.0269206185, -0.0298783556, -0.0173058454, -0.0155273555, -0.0130728651, 0.0259549692, 0.0233441852, 0.001246793, 0.0188499559, -0.0015066349, 0.0182920173, -0.027408896, -0.0378693044, -0.0178528465, -0.0229711272, 0.0879840702, 0.0781723559, -0.0171467457, -0.0240157377, -0.0066635031, 0.0386404358, -0.0112781338, 0.0024429967, -0.0088094883, 0.0053905365, 0.0077158487, -0.0218337644, -0.0064432193, 0.0218144916, -0.0264077652, -0.0368674435, -0.0086107058, 0.0766265169, -0.0193229876, -0.0059862789, -0.040547166, 0.0288315341, 0.0308151431, 0.0932162553, 0.0362315811, -0.0674260259, -0.0237167031, -0.0493134521, 0.0133747598, -0.0222363658, -0.0514729917, -0.0178895611, -0.0133036627, -0.0742254928, -0.0569324046, -0.0227244645, 0.0009546635, 0.0295832194, 0.0169155262, -0.0077634784, -0.0116865924, -0.0218971763, -0.0198597349, 0.0172493085, -0.0096782455, 0.0093180928, -0.0665689558, -0.0104734637, -0.0197345745, -0.0218839794, -0.0070667136, 0.0696184561, -0.0452716574, -0.0679048672, 0.0818982944, 0.0816373825, 0.0281721074, 0.0049310839, -0.0399096385, -0.0482552312, 0.084161967, 0.055005528, -0.0588872209, 0.0294628646, 0.0492784195, 0.0137437675, 0.0139550688, 0.0330406465, -0.0330895521, 0.0467429645, 0.0644353852, 0.0160234161, -0.085494563, -0.0109126735, 0.0354335867, 0.0247843396, 0.021985447, -0.046358034, -0.0112432186, 0.0016232434, 0.0075758458, -0.0171613693, -0.0396019369, -0.0186404902, 0.0280645061, 0.0276871901, -0.0230151899, 0.0132141374, -0.0140065616, -0.0490552112, 0.0012199424, -0.0051043285, 0.0020564259, 0.03357042, 0.0342216603, 0.0727263913, 0.0170503519, -0.0169120282, 0.0449645407, -0.0384692289, -0.0191770755, -0.0197893828, 0.0380227678, -0.0006860234, 0.0119243106, -0.0199990366, 0.0677517727, -0.0180209503, -0.0212531388, -0.0214748085, -0.0028694817, 0.0208737534, 0.022094965, 0.0574530773, -0.0236347169, 0.0023168684, -0.0189173371, 0.0103490446, -0.0136947939, -0.0625507087, -0.0027638036, -0.0040334235, -0.0169414617, 0.0009502429, 0.0651071668, -0.0080034295, 0.04360779, 0.0059680161, -0.0099074244, -0.0407081805, -0.0297318548, 0.0130049624, 0.0503468215, -0.0310611892, 0.0184484851, -0.0481911674, -0.0808380693, -0.026114881, 0.0062113553, 0.0216220599, -0.0323823877, 0.0407388173, 0.0575887151, -0.0187387131, -0.0093350699, -0.0259209424, 0.0266999528, 0.015764121, -0.0461697355, -0.0291508008, -6.801876103e-33, -0.0115886908, 0.0003678123, -0.0149279572, -0.0187707655, -0.0088871578, -0.0286209024, -0.0378092006, 0.015678687, 0.0092345867, 0.0005359116, 0.010582881, -0.0104465969, 0.0050321715, 0.01298449, -0.021831356, 0.0069415076, 0.0644914955, -0.0107648913, -0.0282818023, 0.0534669198, 0.0586281009, 0.0169754792, 0.0155263124, -0.0815136507, 0.0127102574, -0.0047761961, -0.0408978686, 0.0030597402, -0.0174547657, 0.062591441, -0.0187827367, 0.0327432454, 0.0127080474, -0.0377199128, -0.0308480542, 0.0330754928, -0.0043384396, 0.0010608644, 0.0435679182, -0.0282815322, -0.0289553776, -0.0694460124, 0.0896248072, -0.0083261356, -0.0228327047, 0.0258472525, 0.0034508638, -0.0126764588, -0.0042993831, -0.016354369, -0.0885521993, 0.0182934608, -0.0153062874, -0.046006836, -0.0067499434, 0.0126668075, -0.0187487099, -0.0069151423, -0.0542731993, 0.0114429723, 0.0377721228, 0.0177340172, 0.0895131007, 0.0271716248, -0.0065777209, 0.0555579364, 0.0075155143, 0.0222432464, -0.0091036437, 0.0039537065, 0.0620821416, 0.023122875, 0.0343509205, -0.0039075939, 0.0428300202, -0.0567274429, -0.0186105669, -0.0006054656, -0.0172428656, 0.0318325832, 0.0393229984, 0.0048559122, -0.0275945812, -0.0395049937, -0.0385712162, -0.0557995476, -0.0071787601, -0.0716948286, 0.0392011963, -0.0062255613, -0.0568262152, -0.0350244939, 0.0239855554, -0.0166271627, 0.0386521406, 0.0195829179, -0.0050737546, 0.004142914, 0.0187986493, 0.0480740257, -0.0324561521, 0.0424036123, 0.008867831, -0.0496389978, 0.0251377728, 0.015150046, 0.0202285778, 0.0265816767, -0.0649972409, 0.029383624, -0.0476829819, 0.0565704331, 0.0041952622, 0.0247625578, 0.0322183967, 0.0188472252, -0.0110420007, -0.0173140001, 0.0495474674, -0.0232343301, -0.0462449305, -0.0009773059, -0.0151870418, 0.048118975, -0.0517336763, -0.0067872833, -0.0239822958, 0.0681508332, 0.059463717, -0.10178525, -0.0130995484, 0.0163092706, 3.058e-7, 0.0222889148, 0.0073503354, 0.0353715196, 0.0157222636, 0.0242458005, 0.0350424796, 0.0084415032, 0.0377437212, 0.0181108471, -0.0060260892, -0.0323132426, 0.0319279991, 0.0250753686, 0.0437853001, -0.028296208, 0.031628821, -0.0643419176, 0.0326803848, -0.0596442558, 0.0006214035, 0.0603295974, 0.0852035508, 0.0191638935, -0.0393177196, 0.0034926238, 0.0084977373, -0.0059563336, -0.0444894917, 0.0116554648, 0.0022774125, 0.014464967, 0.0062993979, -0.0100934915, -0.0118734408, -0.0202034395, -0.0330865532, -0.0321110338, 0.0390636027, -0.0080316132, -0.0472578183, -0.0129018044, -0.0225056764, -0.0151735144, -0.0456806868, 0.0735540017, -0.0309321769, -0.0018406396, -0.0384208858, -0.048501838, 0.0233148932, -0.0199500453, -0.0427184887, -0.0411019064, 0.0091238422, 0.0292180181, 0.0212856289, -0.0087555591, -0.0655484349, -0.0229708962, -0.0148431184, -0.0226159934, -0.0383276418, -0.0610968024, 0.0400750414, 0.0171992537, -0.010520434, 0.0321591683, 2.914670385e-34, 0.0140297925, -0.0365361907, 0.032854341, -0.0402790643, 0.0185067542, 0.0224458501, 0.0194282457, 0.0288992878, 0.0232519247, -0.0290516671, -0.0042809504 ]