id
stringlengths
33
33
doc_url
stringlengths
33
33
title
stringlengths
13
211
publication_date
timestamp[s]
update_date
timestamp[s]
authors
stringlengths
6
16.6k
category_primary
stringclasses
60 values
category_all
stringlengths
5
132
abstract
stringlengths
123
1.99k
embeddings
listlengths
768
768
http://arxiv.org/abs/2403.01616v2
http://arxiv.org/pdf/2403.01616v2
Towards Comprehensive Vietnamese Retrieval-Augmented Generation and Large Language Models
2024-03-03T21:24:35
2024-03-05T18:15:49
Nguyen Quang Duc, Le Hai Son, Nguyen Duc Nhan, Nguyen Dich Nhat Minh, Le Thanh Huong, Dinh Viet Sang
cs.CL
cs.CL
This paper presents our contributions towards advancing the state of Vietnamese language understanding and generation through the development and dissemination of open datasets and pre-trained models for Vietnamese Retrieval-Augmented Generation (RAG) and Large Language Models (LLMs).
[ -0.09120077639818192, -0.6558935642242432, 0.8116167187690735, -0.03363288193941116, -0.1336727738380432, 0.056504540145397186, -0.3218514323234558, -0.029607800766825676, 0.09594804048538208, 1.150123119354248, -0.16984723508358002, -0.49316051602363586, -0.5884170532226562, 0.17646583914756775, -0.28221893310546875, 0.5985912084579468, -0.19934697449207306, 0.046820297837257385, -0.09789035469293594, -0.1397714465856552, -0.422157883644104, -0.7302449345588684, -0.6520895957946777, -0.3358817994594574, 0.5296115279197693, 0.4576868414878845, 0.4062725305557251, 0.4855280816555023, 0.5768707990646362, 0.2744637727737427, -0.11282520741224289, 0.3115750551223755, -0.9050285220146179, 0.2924075722694397, -0.43021160364151, -0.532825231552124, -0.6032163500785828, -0.23849014937877655, 0.8975771069526672, 0.563484251499176, -0.18055368959903717, 0.31350624561309814, -0.12112221121788025, 0.8093822598457336, -0.8983854055404663, 0.04912056401371956, -0.6550971865653992, -0.3222382068634033, -0.2650834619998932, -0.422621488571167, -0.5507460236549377, -0.2822197377681732, 0.059519801288843155, -0.5338174700737, 0.22098226845264435, -0.46914181113243103, 0.5821709632873535, 0.09468691051006317, -0.8944122195243835, -0.2610158622264862, -0.8320730924606323, 0.8720850944519043, -0.377719521522522, 0.5815064311027527, 0.6075345873832703, 0.418282151222229, -0.25560465455055237, -0.8849301338195801, -0.37325453758239746, -0.33782029151916504, 0.039904285222291946, 0.3260037899017334, 0.04413910582661629, 0.23937922716140747, 0.05200909078121185, 0.6664587259292603, -0.5803058743476868, 0.12023197114467621, -0.40064817667007446, -0.0063950978219509125, 0.7846954464912415, 0.1162680834531784, -0.00006193307490320876, -0.17457202076911926, -0.33307045698165894, 0.2774578332901001, -0.9382696747779846, -0.49750974774360657, 0.0007065573008731008, 0.4347118139266968, -0.1786527782678604, 0.9258018732070923, -0.2734849452972412, 1.0966296195983887, -0.4943911135196686, -0.30170467495918274, 0.4160599112510681, -0.7117979526519775, -0.4219277799129486, -0.15063630044460297, 0.35720351338386536, -0.1438104659318924, 0.4052625000476837, 0.0662795826792717, -0.47607919573783875, -0.07355289906263351, 0.23998813331127167, -0.33868199586868286, 0.3091937303543091, 0.19568772614002228, -0.5483565926551819, -0.11352971196174622, 0.5002845525741577, -0.5460216403007507, -0.40516841411590576, -0.6658571362495422, 0.6247132420539856, -0.0692841038107872, -0.6432644128799438, 0.2957702875137329, -0.2603786885738373, 0.3287017047405243, 0.34430453181266785, -0.30948272347450256, 0.014154468663036823, 0.8102118372917175, 0.8659290075302124, -0.22593720257282257, -0.3730469346046448, -0.6508209705352783, 0.5793591141700745, -0.2724950611591339, 0.6632413268089294, -0.625659704208374, -0.7333184480667114, 0.4285249710083008, 0.04170945659279823, 0.11635687947273254, -0.8706257343292236, 0.5779120922088623, -0.6846553683280945, 0.09360069036483765, 0.07612528651952744, -0.5914856195449829, -0.1329740434885025, 0.16756990551948547, -0.6597592830657959, 0.8801772594451904, 0.5833456516265869, -0.714421808719635, -0.10784148424863815, -0.6513851881027222, -0.17949098348617554, 0.1398312896490097, 0.10144516080617905, -0.06088165193796158, 0.4172413647174835, 0.07839853316545486, 0.521552562713623, -0.37055841088294983, 0.3988777697086334, -0.01732211746275425, -0.35970696806907654, 0.17574702203273773, -0.26630279421806335, 0.8371819257736206, 0.6129396557807922, 0.034900955855846405, 0.2738341689109802, -0.9132981300354004, -0.15077415108680725, 0.30777981877326965, -0.5851729512214661, -0.522266149520874, -0.31351351737976074, 0.1765558272600174, 0.0936473160982132, 0.5738816857337952, -0.2749786972999573, 0.34540650248527527, 0.03787439689040184, 0.03111746348440647, 0.6662232875823975, 0.10294687002897263, 0.49302777647972107, -0.028992149978876114, 0.7331786751747131, 0.3212316930294037, -0.11677926033735275, -0.8126225471496582, -0.10795340687036514, -0.8547000288963318, -0.3610435128211975, 0.2649444341659546, 0.4907306134700775, -1.1485304832458496, 0.40548470616340637, -0.34050843119621277, -0.4613506495952606, -0.791870653629303, 0.40517657995224, 0.43975645303726196, 0.5151047110557556, 0.26642879843711853, -0.18154826760292053, -0.9942320585250854, -0.7047675848007202, -0.13104669749736786, -0.24616454541683197, -0.38112953305244446, 0.3140186369419098, 0.4501492381095886, -0.7392368912696838, 0.8054332137107849, -0.5918135046958923, -0.11478628218173981, -0.4633886218070984, -0.08810041844844818, 0.21929116547107697, 0.24625004827976227, 0.45111268758773804, -0.9434857368469238, -0.5612722635269165, 0.1837417483329773, -0.7485735416412354, -0.30972379446029663, 0.42259371280670166, -0.2281126081943512, 0.3327785134315491, 0.6505592465400696, -0.4522570073604584, 0.43631625175476074, 0.5282667875289917, -0.3880595266819, 0.6134490966796875, -0.22077591717243195, 0.06692102551460266, -1.3110986948013306, -0.03253134712576866, -0.10556881874799728, -0.3995233178138733, -0.8553466796875, 0.2745426893234253, -0.20801933109760284, 0.026649249717593193, -0.5136072039604187, 0.8732427954673767, -0.5651947855949402, -0.1598329395055771, -0.5633809566497803, 0.18120810389518738, -0.07268429547548294, -0.28722864389419556, 0.34358134865760803, 0.9979074597358704, 0.6557229161262512, -0.8267070651054382, 0.2883792817592621, 0.02789447456598282, -0.14502693712711334, 0.6299664974212646, -0.6693263649940491, 0.06479206681251526, -0.3132808804512024, 0.1888526827096939, -0.5820416808128357, -0.3153536915779114, -0.1691233366727829, -0.40596941113471985, 0.3004452586174011, -0.2216591238975525, -0.3602138161659241, -0.38164496421813965, -0.0774102658033371, 0.32381612062454224, 0.4770793616771698, -0.6015597581863403, 0.3674013018608093, 0.6735807657241821, -0.029415782541036606, -0.5608171224594116, -0.3184027373790741, -0.04959552362561226, -0.2606513202190399, -0.4460809826850891, -0.0825100839138031, 0.25029072165489197, -0.7541210055351257, -0.18619947135448456, 0.3316240906715393, -0.2717033326625824, -0.25713667273521423, -0.23712415993213654, 0.2032458633184433, -0.7092291116714478, 0.4003406763076782, -0.373222291469574, -0.07581021636724472, -0.12076251953840256, -0.5644717216491699, 0.7020672559738159, 0.12314693629741669, -0.07662404328584671, -0.06751025468111038, 0.2592707574367523, 0.33136922121047974, -0.5338900685310364, 0.8208096027374268, 0.6391938328742981, -0.1565479189157486, 0.04567846655845642, -0.7410668730735779, 0.13023333251476288, -0.4714648127555847, 0.4316576421260834, -0.47752314805984497, -1.3575888872146606, 0.24551504850387573, -0.2681112289428711, -0.15568214654922485, 0.5146974325180054, 0.9688740372657776, 0.14963361620903015, 0.7397308945655823, 1.1185661554336548, -0.09424088895320892, 0.504371166229248, -0.17704197764396667, -0.2812899947166443, -0.8239463567733765, 0.09449039399623871, -0.6663488149642944, 0.2960331439971924, -1.0251697301864624, -0.9243342876434326, 0.19978846609592438, 0.12744994461536407, -0.615989089012146, -0.00047928959247656167, -0.3468058407306671, 0.24311420321464539, 0.6472513675689697, 0.08367735147476196, 0.5637813806533813, 0.03278592973947525, 0.16484487056732178, 0.13027504086494446, -0.525627613067627, -0.6169927716255188, 1.3719762563705444, 0.285972535610199, 0.7806674242019653, 0.05879543349146843, 0.8248220682144165, 0.09361205250024796, 0.13462381064891815, -0.6169183254241943, 0.3640647530555725, -0.19213233888149261, -0.5417221784591675, -0.25564590096473694, -0.6963515281677246, -1.1998215913772583, 0.11961746960878372, 0.12032513320446014, -0.4328473210334778, -0.09208875894546509, -0.16380956768989563, 0.41577938199043274, 0.2119448333978653, -0.726274847984314, 0.5197716951370239, -0.22915461659431458, -0.04432888329029083, -0.368860125541687, -0.46475136280059814, 0.5568285584449768, -0.15662367641925812, 0.04713072627782822, 0.12900875508785248, -0.45622438192367554, 0.6075994372367859, -0.17628516256809235, 0.42892494797706604, -0.2522779405117035, -0.3127823770046234, 0.8367435336112976, -0.033366017043590546, 0.20740438997745514, 0.25711461901664734, -0.2672623097896576, 0.03814096748828888, -0.4202997386455536, -0.645512044429779, -0.3018740117549896, 0.5660952925682068, -0.7867472767829895, -0.6828218698501587, -0.2930300831794739, -0.5112310647964478, -0.10135626792907715, 0.3911902606487274, 0.08509588241577148, -0.007243007887154818, -0.37488099932670593, 0.20365341007709503, 0.8924331068992615, -0.502866268157959, -0.010461045429110527, 0.7643077969551086, -0.6096293330192566, -0.5342248678207397, 1.0552641153335571, 0.16584958136081696, 0.34554627537727356, 0.4810411334037781, 0.06807641685009003, -0.24088725447654724, -0.40326979756355286, 0.19145552814006805, 0.7226392030715942, -0.5421754121780396, -0.21296952664852142, -0.5459087491035461, -0.42511025071144104, -0.6118139624595642, 0.03075413592159748, -0.3294554054737091, -0.45686236023902893, -0.3453814685344696, -0.3204748332500458, 0.6275520920753479, 1.4332494735717773, -0.3876573443412781, 0.6489183902740479, -1.0495291948318481, 0.6286103129386902, 0.11151918023824692, 0.4354229271411896, -0.1224532276391983, -0.7259712815284729, -0.43101766705513, 0.020974906161427498, -0.3094198405742645, -0.619937539100647, 0.1836697906255722, 0.07344526052474976, 0.4147476553916931, 0.21930082142353058, -0.25480493903160095, 0.5515220165252686, -0.47306686639785767, 0.7536543607711792, 0.014116485603153706, -0.7935633659362793, 1.0331746339797974, -0.5945568084716797, 0.5318298935890198, 0.2997436821460724, 0.5458415746688843, -0.5724978446960449, 0.012414386495947838, -0.5415424108505249, -0.7906547784805298, 0.5565336346626282, 0.15565328299999237, 0.011577140539884567, 0.1125652864575386, 0.452191025018692, 0.17371921241283417, 0.38979408144950867, -0.4385697841644287, -0.18138137459754944, -0.05662402883172035, -0.021732272580266, -0.5599051713943481, -0.6325503587722778, 0.1692681610584259, -0.2319764792919159, 0.6105421781539917, -0.10733716189861298, 0.2843097448348999, 0.03146958723664284, 0.014391870237886906, 0.03279229998588562, 0.3743434250354767, 0.5631177425384521, 1.0662635564804077, -0.09922709316015244, 0.003843532409518957, -0.03971729055047035, -0.7845279574394226, 0.3661474585533142, -0.10049792379140854, -0.07988528907299042, 0.2320173978805542, 0.6034170389175415, 0.6641179919242859, -0.3581230044364929, -0.7136391401290894, 0.3131231665611267, -0.036284755915403366, 0.05882284790277481, -0.4592737853527069, 0.008562499657273293, 0.060673557221889496, -0.02050670236349106, 0.5137935280799866, -0.7187321186065674, -0.09837411344051361, -0.6071970462799072, 0.41135910153388977, 0.2270657867193222, -0.4866914749145508, -0.3277265131473541, 0.38825342059135437, 0.08445187658071518, -0.221577450633049, 0.8459250330924988, 0.1950453817844391, -0.566074788570404, 0.3978941738605499, 0.6465520262718201, 0.9254118204116821, -0.5635382533073425, 0.3982084393501282, 0.5131242871284485, 0.21549706161022186, -0.12706047296524048, 0.7979733943939209, 0.012038922868669033, -0.4259883761405945, -0.6793232560157776, -0.8463826775550842, -0.3107573390007019, 0.2418186068534851, -0.8119120597839355, 0.5065200328826904, 0.1536267101764679, -0.13409249484539032, -0.5933375954627991, 0.06341787427663803, -0.6235803365707397, 0.27635329961776733, 0.16910451650619507, 1.2281761169433594, -0.44772154092788696, 1.060287356376648, 0.7691081762313843, -0.4505481421947479, -0.5318679809570312, 0.06728958338499069, -0.22920677065849304, -0.7678846716880798, 0.8807815909385681, -0.023151356726884842, 0.09823492914438248, 0.12352191656827927, -0.6984166502952576, -1.014245629310608, 0.95844966173172, 0.4959271252155304, -0.36596205830574036, -0.056518394500017166, 0.4293665587902069, 0.6267528533935547, -0.5163107514381409, 0.2644914388656616, 0.7976478934288025, 0.5013986825942993, 0.04064195230603218, -1.1271696090698242, -0.45264163613319397, -0.016077907755970955, 0.28644415736198425, 0.14330057799816132, -0.6114651560783386, 0.8269194960594177, -0.102419413626194, 0.029747532680630684, 0.208301842212677, 1.0238021612167358, 0.5345233678817749, 0.29149898886680603, 0.1415245234966278, 0.6793344616889954, 0.5900630354881287, -0.14690379798412323, 1.0655733346939087, 0.07934039831161499, 0.17342615127563477, 1.1490070819854736, -0.1497616171836853, 1.0259112119674683, 0.4185048043727875, -0.1420448273420334, 0.13814935088157654, 0.5322958827018738, 0.41116297245025635, 0.23346419632434845, 0.2693251967430115, -0.5134504437446594, 0.0044577461667358875, -0.6514483094215393, -0.6330820322036743, 0.7253317832946777, 0.6288475394248962, -0.36387956142425537, -0.042982716113328934, 0.19950184226036072, -0.15605494379997253, 0.3108135163784027, -0.7096980810165405, 0.8619970679283142, 0.40275925397872925, -0.5407693982124329, 0.715119481086731, -0.24519377946853638, 0.6109389066696167, -0.6396484375, -0.25298672914505005, -0.06920920312404633, 0.17058949172496796, -0.18766182661056519, -1.1033655405044556, 0.2884019911289215, 0.10234036296606064, -0.11653868108987808, -0.07146351784467697, 0.9350724220275879, -0.5988240838050842, -0.5048829913139343, 0.5099422931671143, 0.8430856466293335, 0.12851783633232117, 0.033442769199609756, -0.5214428901672363, 0.37869852781295776, -0.2213708758354187, -0.2910833954811096, 0.19823351502418518, 0.7056476473808289, 0.040087539702653885, 0.519324004650116, 0.37904641032218933, 0.25272002816200256, 0.23161645233631134, 0.11440814286470413, 0.8863636255264282, -0.7661284804344177, -0.3410954177379608, -0.5676906704902649, 0.5311799049377441, 0.2429186999797821, -0.030154017731547356, 0.8412344455718994, 0.6563087701797485, 1.2814048528671265, -0.22852982580661774, 1.0054388046264648, -0.007676785811781883, 0.8809911012649536, -0.5232435464859009, 0.6621590852737427, -0.678578794002533, -0.01801333576440811, -0.13630540668964386, -1.197765827178955, -0.2523905634880066, 0.2672779858112335, -0.11697889119386673, 0.20526544749736786, 0.17494623363018036, 0.6035782098770142, -0.009365596808493137, -0.4837079346179962, 0.3434458076953888, 0.6447257995605469, 0.3698030114173889, 0.26434001326560974, 0.924131453037262, -0.22410418093204498, 0.18229392170906067, -0.17783600091934204, -0.21547798812389374, -0.10905447602272034, -0.4604097306728363, -0.7991377115249634, -0.8292375206947327, 0.17287656664848328, -0.3900049328804016, 0.18066450953483582, 0.7653853297233582, 0.26564276218414307, -0.7040615081787109, -0.8095815777778625, -0.00243377685546875, 0.27210763096809387, 0.33645373582839966, -0.2425421178340912, 0.4677981436252594, -0.43787992000579834, -0.8408203125, 0.4190070927143097, 0.27993035316467285, 0.09429164975881577, -0.5892025232315063, -0.35490113496780396, -0.5892776846885681, -0.04684379696846008, 1.2399932146072388, 0.2733164131641388, -0.5441049337387085, 0.05691992864012718, 0.08015080541372299, -0.17320118844509125, 0.13434277474880219, 0.9721768498420715, -1.0579068660736084, 0.6817325353622437, 0.7046340703964233, 0.7466904520988464, 0.2331731766462326, 0.04038647189736366, 1.0362515449523926, -0.5611246228218079, 0.48234719038009644, 0.12894010543823242, 0.24867427349090576, 0.4328734874725342, -0.3530307710170746, 0.9062870740890503, 0.0437103696167469, -0.7111608386039734, -1.0917032957077026, 0.45199093222618103, -0.684958279132843, -0.12739640474319458, 1.2056647539138794, -0.0451958104968071, -0.41162317991256714, -0.1398170292377472, -0.33555540442466736, 0.5219742059707642, 0.008303774520754814, 0.23077426850795746, 0.294900119304657, 0.03756391257047653, -0.07832508534193039, -0.7725681662559509, 0.3667973279953003, -0.05892067030072212, -0.7884700298309326, 0.05421018227934837, 0.48595771193504333, -0.296069860458374, 0.0526692196726799, 0.840484082698822, -0.16358882188796997, 0.35328221321105957, -0.18697185814380646, -0.18291833996772766, 0.3504209816455841, -0.5605403184890747, -0.6047154664993286, -0.1378268599510193, 0.37757325172424316, 0.19198301434516907 ]
http://arxiv.org/abs/2403.01599v1
http://arxiv.org/pdf/2403.01599v1
SCHEMA: State CHangEs MAtter for Procedure Planning in Instructional Videos
2024-03-03T19:53:06
2024-03-03T19:53:06
Yulei Niu, Wenliang Guo, Long Chen, Xudong Lin, Shih-Fu Chang
cs.CV
cs.CV, cs.AI, cs.CL, cs.LG
We study the problem of procedure planning in instructional videos, which aims to make a goal-oriented sequence of action steps given partial visual state observations. The motivation of this problem is to learn a structured and plannable state and action space. Recent works succeeded in sequence modeling of steps with only sequence-level annotations accessible during training, which overlooked the roles of states in the procedures. In this work, we point out that State CHangEs MAtter (SCHEMA) for procedure planning in instructional videos. We aim to establish a more structured state space by investigating the causal relations between steps and states in procedures. Specifically, we explicitly represent each step as state changes and track the state changes in procedures. For step representation, we leveraged the commonsense knowledge in large language models (LLMs) to describe the state changes of steps via our designed chain-of-thought prompting. For state change tracking, we align visual state observations with language state descriptions via cross-modal contrastive learning, and explicitly model the intermediate states of the procedure using LLM-generated state descriptions. Experiments on CrossTask, COIN, and NIV benchmark datasets demonstrate that our proposed SCHEMA model achieves state-of-the-art performance and obtains explainable visualizations.
[ 0.07487401366233826, -0.731532871723175, 0.6144660711288452, -0.09756069630384445, -0.2498895674943924, -0.46509572863578796, -0.07373421639204025, 0.09850819408893585, 0.46458423137664795, 0.6097335815429688, -0.6398949027061462, -0.4312942922115326, -0.4960027039051056, -0.08418934047222137, -0.6058042049407959, 0.9274430871009827, -0.49129581451416016, 0.21235747635364532, -0.05681949108839035, 0.16096462309360504, -0.3832198679447174, 0.09620554745197296, -0.24384330213069916, -0.3336383104324341, 0.2750530242919922, 0.4549434185028076, 0.3897574543952942, 1.0221482515335083, 0.42986053228378296, 0.3449479937553406, -0.06102297827601433, -0.04805479571223259, -0.40490102767944336, 0.40290188789367676, -0.3463899493217468, -0.5175672173500061, -0.30056774616241455, -0.33044302463531494, 0.7989681363105774, 0.6867315769195557, -0.424874871969223, 0.12501509487628937, -0.27402395009994507, 0.581805944442749, -0.5900918245315552, 0.6620052456855774, -0.6456412672996521, 0.21523743867874146, -0.02603137493133545, -0.4474802017211914, -0.2341575026512146, -0.13089057803153992, 0.15451045334339142, -0.8485992550849915, 0.3591892421245575, -0.2554241418838501, 0.43405619263648987, 0.38615548610687256, -0.21890948712825775, -0.30237922072410583, -1.0825008153915405, 0.22989974915981293, -0.4184177815914154, 0.5956590175628662, 0.10969321429729462, 0.3266298174858093, -0.3276277184486389, -0.7149391174316406, -0.6764964461326599, -0.07690420001745224, 0.22700822353363037, 0.01787622831761837, 0.006185163278132677, 0.24976566433906555, 0.785709798336029, 0.3178262412548065, -0.2980130612850189, 0.011504407972097397, -0.7017125487327576, -0.30907922983169556, 0.5049669146537781, 0.6183521151542664, 0.20830705761909485, -0.2560916244983673, -0.5198849439620972, -0.1869623214006424, -0.8204636573791504, 0.12468018382787704, 0.07686889171600342, 0.3191032111644745, -0.095447838306427, 0.7166761755943298, -0.45051804184913635, 0.8252505660057068, 0.10452497005462646, -0.4751312732696533, -0.23638270795345306, -0.38206085562705994, -0.6168381571769714, 0.059712041169404984, 0.3758528530597687, 0.40890973806381226, 0.016577383503317833, 0.29351887106895447, -0.011961637996137142, 0.18941394984722137, 0.31761637330055237, -0.9493979215621948, -0.28746581077575684, 0.0042349244467914104, -0.2961658835411072, 0.0638892874121666, -0.025156762450933456, -0.36133337020874023, -0.6184930205345154, -0.8284496665000916, 0.3178442418575287, -0.5679064393043518, -0.0646924301981926, 0.1393919140100479, 0.04420804977416992, 0.15935637056827545, 0.7863039970397949, -1.0743399858474731, 0.45357245206832886, 0.7035916447639465, 0.4037923514842987, -0.059978604316711426, -0.44047030806541443, -0.47613999247550964, 0.38756269216537476, -0.4889477789402008, 0.7464079856872559, -0.6184763312339783, -0.3860795795917511, 0.529992401599884, 0.053880613297224045, -0.01825699955224991, -0.37650105357170105, -0.13371415436267853, -0.2740272283554077, -0.19510473310947418, -0.4496753513813019, -0.8688427209854126, -0.06822577863931656, 0.05280343070626259, -0.4971271753311157, 0.7136353850364685, -0.04096598923206329, -0.574521005153656, 0.7505468130111694, -0.7523934245109558, -0.6356992721557617, -0.08026361465454102, -0.5766441822052002, -0.033837758004665375, 0.004712904803454876, -0.24857723712921143, 0.5778225064277649, 0.1652095764875412, 0.29030194878578186, 0.10449138283729553, -0.38159969449043274, 0.27758586406707764, 0.08148125559091568, 0.25797516107559204, 0.06623739004135132, -0.09711726009845734, 0.560437023639679, -0.7337061762809753, -0.45252200961112976, -0.3559006452560425, -0.3426741063594818, -0.19242976605892181, 0.20437924563884735, -0.44788670539855957, 0.4120035767555237, -0.1015164852142334, -0.263656884431839, 0.4125460982322693, 0.02407008968293667, 0.4887872636318207, 0.6566160321235657, 0.2781427204608917, 0.9707885980606079, 0.21612587571144104, 0.4453999698162079, 0.19848676025867462, 0.27275514602661133, -0.6161961555480957, -0.25568899512290955, -0.8871327638626099, 0.12065562605857849, -0.21347874402999878, 0.4295583963394165, -0.7217000126838684, -0.31563594937324524, -0.09023896604776382, -0.37368467450141907, -0.1494535356760025, -0.10696414858102798, 0.1924540102481842, 0.8810646533966064, 0.5401979088783264, -0.20339623093605042, -0.2626383900642395, -0.8510039448738098, -0.16707348823547363, -0.24648836255073547, 0.05548826977610588, -0.02251356653869152, 0.817547082901001, 0.3100288212299347, 0.5587385296821594, -0.7834206223487854, -0.379161536693573, -0.24395903944969177, 0.1276431679725647, -0.04800967499613762, 0.21466805040836334, -0.15349812805652618, -0.5430631041526794, -0.1849285215139389, -0.3503649830818176, -0.5061657428741455, 0.1942523866891861, -0.5685831904411316, -0.13238109648227692, 0.24734459817409515, 0.8701618909835815, -0.4728724956512451, 0.8825970888137817, 0.04678959771990776, -0.12099934369325638, 0.538714587688446, -0.3181338906288147, 0.26145491003990173, -0.9186403155326843, -0.3232589066028595, 0.15669375658035278, 0.47077280282974243, -0.6895286440849304, -0.020349962636828423, 0.3144534230232239, -0.27457642555236816, -0.7940734624862671, 0.32823464274406433, -0.33785077929496765, -0.5047546625137329, -0.0005019748932681978, 0.061995331197977066, -0.31505146622657776, 0.5518006086349487, 0.4770059585571289, 0.6110386848449707, 0.757177472114563, -0.779957115650177, 0.05977029353380203, 0.30663275718688965, -0.27336493134498596, 0.8304873108863831, -0.2096574902534485, -0.3875540494918823, 0.1104518324136734, 0.47705671191215515, -0.7539045214653015, -0.34244728088378906, 0.49569350481033325, -0.04679596424102783, 0.3886915445327759, -0.373110294342041, -0.3847725987434387, 0.040200915187597275, -0.01142702903598547, -0.10662569105625153, 0.03168495371937752, 0.07189559191465378, 0.5981404781341553, 0.31915953755378723, -0.032622918486595154, -0.5526314377784729, -0.5802415013313293, -0.17984279990196228, -0.062300845980644226, -0.44667693972587585, 0.4878409504890442, 0.21440234780311584, -0.2752675712108612, -0.020804092288017273, -0.5716733932495117, -0.18770627677440643, -0.21138940751552582, 0.5671104788780212, 0.2426629215478897, 0.006563612259924412, 0.3807576894760132, 0.42431190609931946, 0.08345025777816772, 0.40677306056022644, -0.23085857927799225, 0.3813976049423218, 0.19040459394454956, -0.3334517180919647, -0.7500953674316406, 0.43463680148124695, 0.3620225191116333, -0.11265397816896439, 0.37008756399154663, 0.1969665139913559, -0.48409518599510193, -0.1818860024213791, -0.1112067848443985, -0.4319514036178589, -0.40625685453414917, 0.5207352042198181, -0.20611561834812164, -0.6125338673591614, 0.37245824933052063, -0.07337281852960587, 0.3116822838783264, -0.007769982796162367, 0.3975195288658142, -0.4521627426147461, 0.5239985585212708, 0.5600585341453552, 0.48670145869255066, 0.7551103234291077, -0.5253047943115234, -0.022085098549723625, -0.8622742891311646, -0.4003826379776001, -0.22091300785541534, -0.2929210066795349, -0.6181783676147461, -0.9226784110069275, 0.4369121491909027, -0.04767373576760292, -0.42403945326805115, 0.4653983414173126, -0.007972187362611294, 0.3010328710079193, 0.2032770812511444, 0.03366702422499657, 0.24551451206207275, 0.3261473476886749, -0.0739857479929924, -0.3613184094429016, -0.7084386348724365, -0.2488134652376175, 1.032099962234497, 0.012008115649223328, 1.0807042121887207, -0.1994745433330536, 0.9285524487495422, 0.028453774750232697, 0.10174188762903214, -0.8523907661437988, 1.1004669666290283, -0.02950773946940899, -0.2500509023666382, -0.6387204527854919, -0.013920139521360397, -0.8555999994277954, 0.1851462423801422, -0.42476174235343933, -0.5395953059196472, 0.043786026537418365, 0.4668693244457245, -0.04353533685207367, 0.4560922682285309, -0.22498638927936554, 0.5526201128959656, 0.055946219712495804, -0.616385281085968, -0.5769173502922058, -0.6423072814941406, 0.20005136728286743, 0.475334107875824, -0.04084518551826477, 0.2708696126937866, 0.055252037942409515, 0.7754157781600952, -0.686621904373169, 0.9065605401992798, -0.025071458891034126, -0.1621318906545639, 0.29370224475860596, 0.5280228853225708, 0.4601934850215912, -0.21246151626110077, 0.3036248981952667, -0.06939399987459183, -0.35049185156822205, -0.07374993711709976, -0.7534900307655334, 0.5314126014709473, -0.17197807133197784, -0.737680971622467, -0.52887362241745, -0.6859502196311951, -0.016308458521962166, 0.1514851152896881, 0.00023005626280792058, 0.4416385591030121, -0.13552546501159668, -0.12088479101657867, 0.8495291471481323, -0.03539770841598511, 0.3039729595184326, 0.7169656753540039, -0.12438543885946274, -0.04555915668606758, 0.7222850918769836, 0.5056592226028442, 0.4896833002567291, 0.529790997505188, -0.007388961501419544, -0.21944276988506317, -0.4796912372112274, -0.4845578372478485, 0.4315159320831299, -1.0141370296478271, 0.09762495756149292, -0.10506186634302139, -0.016557106748223305, -0.37268275022506714, -0.19708038866519928, -0.2129787653684616, -0.48914557695388794, -0.2960546314716339, -0.2007026970386505, 0.11008305847644806, 0.7993581295013428, -0.05648842453956604, 0.04862355813384056, -0.3373523950576782, 0.20629990100860596, 0.2741096615791321, 0.22781601548194885, -0.2789192795753479, -0.4040459096431732, -0.33038514852523804, -0.21932268142700195, -0.3502512574195862, -1.1509041786193848, 0.04569186642765999, -0.004767338279634714, 0.4505815804004669, 0.594601035118103, -0.2209612876176834, 1.0779047012329102, -0.720311164855957, 0.7497273683547974, 0.32968589663505554, -0.7348964214324951, 1.010574460029602, -0.2710445821285248, 0.21306106448173523, 0.15544015169143677, 0.4366873800754547, -0.8215033411979675, -0.3731575310230255, -0.6553409099578857, -0.6975395679473877, 0.6778397560119629, -0.05688103660941124, 0.056913822889328, -0.03727848455309868, 0.2912503778934479, 0.09943414479494095, 0.32176247239112854, -0.3320122957229614, -0.21834109723567963, -0.17388708889484406, 0.29076018929481506, 0.38093823194503784, 0.026622239500284195, -0.496957004070282, -0.006695951335132122, 0.274118572473526, -0.17011308670043945, 0.08957186341285706, 0.1610765904188156, -0.19536751508712769, -0.26080191135406494, 0.4310145080089569, 0.8855269551277161, 0.8855520486831665, 0.2613029479980469, -0.006942334119230509, -0.004657006356865168, -0.46798989176750183, -0.07306661456823349, 0.028060993179678917, -0.47257837653160095, -0.09004515409469604, 0.49131572246551514, 0.9814208149909973, 0.7790589928627014, -0.22848567366600037, 0.3310330808162689, 0.3440530002117157, -0.34775426983833313, -0.17248377203941345, 0.46747636795043945, 0.0017564190784469247, 0.3335261046886444, -0.019795482978224754, 0.07441743463277817, 0.3679187297821045, -0.6295051574707031, 0.046447668224573135, -0.03821868076920509, -0.33295774459838867, -0.32200050354003906, 0.5726885199546814, 0.154276043176651, -0.5886098146438599, 0.4578264355659485, 0.047968897968530655, -0.23617011308670044, 0.5488418340682983, 0.5433452725410461, 0.31071892380714417, -0.47510743141174316, 0.7726570963859558, 0.48854148387908936, 0.15113519132137299, -0.22433410584926605, 0.5637327432632446, -0.4476848840713501, -0.3022075593471527, -0.2881132960319519, -0.18994757533073425, -0.5366906523704529, 0.13202068209648132, -0.8884773254394531, 0.4625094532966614, -0.4022633731365204, 0.2253817319869995, -0.30626147985458374, -0.26484546065330505, -0.6726085543632507, 0.3474334478378296, 0.062021154910326004, 1.0541068315505981, -1.2431762218475342, 0.5736819505691528, 0.6030614972114563, -0.684485137462616, -1.1099225282669067, -0.0585448257625103, 0.1382247656583786, -0.6542233228683472, 0.7271420359611511, -0.33665159344673157, 0.028217339888215065, -0.5149633288383484, -0.44151437282562256, -0.8291318416595459, 1.3298866748809814, 0.0847269669175148, -0.638256847858429, -0.12773115932941437, 0.30715474486351013, 0.6636772751808167, -0.36733588576316833, -0.27462953329086304, 0.43916577100753784, 0.09739913791418076, 0.24696305394172668, -0.5287010073661804, 0.0518467091023922, 0.22944264113903046, -0.02858586609363556, 0.4322940409183502, -0.21895423531532288, 0.9222592711448669, -0.5739547610282898, -0.37994909286499023, -0.29771915078163147, 0.785576581954956, 0.5181065797805786, 0.5939290523529053, 0.5875151753425598, 0.4813407063484192, 0.6168665289878845, -0.12544409930706024, 0.7565435171127319, -0.11547839641571045, -0.017944997176527977, 1.4683729410171509, -0.38480842113494873, 0.946690559387207, 0.8449252247810364, -0.20231832563877106, 0.6905370950698853, 0.6222124695777893, 0.1292257457971573, 0.335795521736145, 0.42586788535118103, 0.12202384322881699, -0.2919253706932068, 0.12232239544391632, -0.32189950346946716, 0.4040979743003845, 0.677250325679779, -0.5535820722579956, -0.293445885181427, -0.1426236480474472, 0.36144012212753296, 0.06063994765281677, -0.5105181932449341, 0.5616064071655273, -0.24170345067977905, -0.9363546371459961, -0.04630323871970177, -0.5493311882019043, -0.234505757689476, -0.7273358702659607, -0.5562943816184998, -0.3463442623615265, -0.16581572592258453, -0.26264628767967224, -1.0967880487442017, -0.031083162873983383, -0.1668975055217743, -0.036782242357730865, -0.3153316378593445, 0.4873834252357483, -0.7115669250488281, -0.23685243725776672, -0.04343080893158913, 0.15011104941368103, 0.2955624461174011, 0.35625889897346497, -0.5739266872406006, 0.0870530977845192, -0.20638668537139893, -0.04972811043262482, 0.3855884075164795, 0.3212810754776001, -0.5158177018165588, 0.6536350846290588, 0.51177579164505, 0.3320831060409546, -0.015443159267306328, 0.20399484038352966, 0.7927578091621399, -0.45560422539711, -0.7239962816238403, -0.3489382266998291, 0.6952605843544006, -0.14932450652122498, -0.36704084277153015, 0.2377268224954605, 0.40098291635513306, 1.0878698825836182, -0.22142788767814636, 0.4173896014690399, 0.019571024924516678, 0.1161247119307518, -0.8728734254837036, 0.29243215918540955, -0.3950502872467041, 0.36222097277641296, -0.40611323714256287, -0.7766826152801514, -0.1041390597820282, 0.5468123555183411, -0.44336748123168945, -0.3883463144302368, 0.8438159227371216, 0.9001460075378418, 0.10183940082788467, 0.053843528032302856, 0.1659056693315506, 0.2537287473678589, 0.24573339521884918, 0.32163500785827637, 0.6414505839347839, -0.2081865817308426, 0.4269883930683136, -0.33029937744140625, 0.008728507906198502, -0.3788388967514038, -0.9075180888175964, -0.4223380982875824, -1.0387605428695679, -0.5514328479766846, -0.24093778431415558, -0.05764682590961456, 0.7370849847793579, 0.5781911015510559, -0.35611000657081604, -0.6299837827682495, -0.15717202425003052, 0.07660981267690659, -0.23833626508712769, -0.18775425851345062, 0.3795076906681061, -0.12164131551980972, -0.4573688507080078, 0.3575211763381958, 0.5784220099449158, -0.13558559119701385, -0.4567115008831024, -0.09343928843736649, -0.1339637190103531, 0.08634977042675018, 0.5382021069526672, 0.5149781107902527, -1.118336796760559, -0.30064085125923157, 0.2336680144071579, 0.07494276016950607, -0.10569664090871811, 1.3746329545974731, -0.47320863604545593, 0.8038552403450012, 0.5309318900108337, -0.020024854689836502, 0.9002076387405396, -0.3195159435272217, 0.28170910477638245, -0.3747497498989105, -0.06512834131717682, -0.15134404599666595, 0.5194810032844543, 0.14449158310890198, -0.1490650475025177, 0.5265460014343262, 0.06511685252189636, -0.3733707368373871, -0.5833845138549805, 0.6784104108810425, -1.0175179243087769, -0.08924679458141327, 1.0803731679916382, -0.1162579134106636, -0.15919232368469238, 0.2586507797241211, -0.19826476275920868, 0.4985825717449188, -0.3672083616256714, 0.8666024804115295, 0.6369156837463379, -0.8021681308746338, 0.08941098302602768, -0.3876115679740906, 0.6419491171836853, 0.060050152242183685, -0.7955813407897949, 0.10745526105165482, 0.8160776495933533, 0.43589773774147034, 0.18767204880714417, 0.824117124080658, -0.0018572922563180327, 0.48946306109428406, 0.11920307576656342, -0.2769201397895813, -0.09163577854633331, -0.7567122578620911, -0.22645246982574463, -0.06870800256729126, -0.5580821633338928, -0.27301087975502014 ]
http://arxiv.org/abs/2403.01580v1
http://arxiv.org/pdf/2403.01580v1
Enhancing Neural Machine Translation of Low-Resource Languages: Corpus Development, Human Evaluation and Explainable AI Architectures
2024-03-03T18:08:30
2024-03-03T18:08:30
Séamus Lankford
cs.CL
cs.CL, cs.AI
In the current machine translation (MT) landscape, the Transformer architecture stands out as the gold standard, especially for high-resource language pairs. This research delves into its efficacy for low-resource language pairs including both the English$\leftrightarrow$Irish and English$\leftrightarrow$Marathi language pairs. Notably, the study identifies the optimal hyperparameters and subword model type to significantly improve the translation quality of Transformer models for low-resource language pairs. The scarcity of parallel datasets for low-resource languages can hinder MT development. To address this, gaHealth was developed, the first bilingual corpus of health data for the Irish language. Focusing on the health domain, models developed using this in-domain dataset exhibited very significant improvements in BLEU score when compared with models from the LoResMT2021 Shared Task. A subsequent human evaluation using the multidimensional quality metrics error taxonomy showcased the superior performance of the Transformer system in reducing both accuracy and fluency errors compared to an RNN-based counterpart. Furthermore, this thesis introduces adaptNMT and adaptMLLM, two open-source applications streamlined for the development, fine-tuning, and deployment of neural machine translation models. These tools considerably simplify the setup and evaluation process, making MT more accessible to both developers and translators. Notably, adaptNMT, grounded in the OpenNMT ecosystem, promotes eco-friendly natural language processing research by highlighting the environmental footprint of model development. Fine-tuning of MLLMs by adaptMLLM demonstrated advancements in translation performance for two low-resource language pairs: English$\leftrightarrow$Irish and English$\leftrightarrow$Marathi, compared to baselines from the LoResMT2021 Shared Task.
[ -0.11654522269964218, -0.38622474670410156, 0.23982790112495422, 0.22214774787425995, -0.050194598734378815, 0.0677456259727478, -0.5079400539398193, -0.47881779074668884, 0.1866876482963562, 0.5493646860122681, -0.11549167335033417, -0.3140401244163513, -0.7112709283828735, 0.3746151924133301, -0.1443282812833786, 0.9421379566192627, -0.03716196492314339, 0.23573452234268188, 0.09601905196905136, -0.6730515956878662, -0.5600275993347168, -0.3007875382900238, -0.6526709198951721, -0.4841057062149048, 0.6017698645591736, 0.3262435793876648, 1.03352689743042, 0.7217583060264587, 0.7911644577980042, 0.2807307541370392, -0.24053692817687988, 0.2714186906814575, -0.3125803768634796, 0.021044306457042694, -0.25476062297821045, -0.4691004157066345, -0.6195316314697266, -0.3343210220336914, 0.32901376485824585, 0.7489314079284668, 0.05483580380678177, 0.4949166178703308, 0.24985483288764954, 0.7387080788612366, -0.4640979468822479, 0.23704521358013153, -0.586063802242279, 0.007299868389964104, -0.25300681591033936, -0.2559181749820709, -0.4241252541542053, -0.13587947189807892, -0.03696175292134285, -0.43378469347953796, -0.047068458050489426, 0.24945847690105438, 0.7056477069854736, 0.5740997195243835, -0.2737814486026764, -0.1664419323205948, -0.71824049949646, 0.8767789602279663, -0.7984066605567932, 0.5431252717971802, 0.33442747592926025, 0.2339344471693039, -0.009310365654528141, -0.6833929419517517, -0.4166775345802307, -0.1625678390264511, -0.3877885043621063, 0.3323862850666046, -0.49875956773757935, -0.028574561700224876, -0.11184713244438171, 0.4386877715587616, -0.6532782912254333, 0.3079512119293213, -0.5581211447715759, -0.1711476445198059, 0.3336886167526245, 0.418675035238266, 0.4890364706516266, -0.4483431279659271, -0.13566944003105164, -0.06254284828901291, -0.5024011731147766, -0.1328202486038208, 0.16484487056732178, 0.5784434080123901, -0.24228501319885254, 0.6858935356140137, -0.008473644033074379, 0.5897066593170166, -0.15943177044391632, 0.023093217983841896, 0.35780036449432373, -0.7073038816452026, -0.28943654894828796, -0.03266480565071106, 0.6942256689071655, 0.2911682426929474, -0.04575159028172493, -0.3331955373287201, -0.3111395239830017, -0.015571767464280128, 0.3508254587650299, -0.6924762725830078, -0.09661857038736343, 0.002602207940071821, -0.8558047413825989, -0.11236009001731873, -0.6027284264564514, -0.9292542934417725, -0.298001766204834, -0.41535261273384094, 0.41393613815307617, -0.43199360370635986, -0.41512274742126465, 0.20360064506530762, 0.15601447224617004, 0.12435872107744217, 0.04846571758389473, -0.9302408695220947, 0.3828853368759155, 0.4640258252620697, 0.9221488237380981, -0.30076339840888977, -0.27270886301994324, -0.26257845759391785, -0.07486601918935776, -0.17936398088932037, 0.36162230372428894, -0.34955522418022156, -0.1909429430961609, -0.1626429259777069, 0.05092393979430199, -0.3135205805301666, -0.6974388957023621, 0.7454314231872559, -0.5197970271110535, 0.21727705001831055, 0.15119196474552155, -0.014300455339252949, -0.18004846572875977, 0.22616076469421387, -0.6726141571998596, 0.9223025441169739, 0.3012828826904297, -0.6597704887390137, -0.023184364661574364, -1.1905138492584229, -0.5109630227088928, 0.19153982400894165, 0.34292861819267273, -0.30507245659828186, 0.27533474564552307, 0.23731036484241486, 0.1338731050491333, -0.5129622220993042, 0.0056547122076153755, 0.2183610200881958, -0.242271289229393, -0.04842932149767876, -0.6163010597229004, 0.8643008470535278, 0.39704298973083496, -0.23723652958869934, 0.2942214012145996, -0.5553038716316223, 0.06977927684783936, 0.039014142006635666, -0.48209166526794434, -0.3796727955341339, -0.21866080164909363, 0.48207277059555054, 0.24863608181476593, 0.15890662372112274, -0.35990846157073975, -0.1992494761943817, -0.5170337557792664, 0.769470751285553, 0.33754855394363403, -0.2344721257686615, 0.639898419380188, -0.18084987998008728, 0.5470359325408936, 0.194527730345726, 0.2795579433441162, -0.029600191861391068, -0.7046082615852356, -0.6399720907211304, -0.0840054377913475, 0.4601830840110779, 0.7674447894096375, -0.788760244846344, 0.2916061282157898, -0.5699623227119446, -0.3301178812980652, -1.4035707712173462, 0.39814281463623047, 0.39856135845184326, 0.7414140701293945, 0.8493581414222717, -0.11998380720615387, -0.4720894694328308, -1.0191075801849365, -0.24904371798038483, -0.0909787118434906, 0.037147801369428635, 0.20831085741519928, 0.21543748676776886, -0.6345676779747009, 0.49346908926963806, -0.16517069935798645, -0.1806371510028839, -0.3554215729236603, -0.024018732830882072, 0.37880420684814453, 0.5132214426994324, 0.4845821261405945, -0.9463939666748047, -0.3991391658782959, 0.4375549256801605, -0.5674923658370972, 0.0026232083328068256, 0.16374580562114716, -0.2424643486738205, 0.2994396388530731, 0.17832478880882263, -0.5355914831161499, 0.3556402623653412, 0.9183748960494995, -0.16396015882492065, 0.3489093482494354, -0.4564613103866577, 0.07102449238300323, -1.217785358428955, 0.20829109847545624, -0.15232054889202118, -0.12240956723690033, -0.5993892550468445, 0.2011922150850296, 0.0477210208773613, -0.23071643710136414, -0.6353499293327332, 0.5756237506866455, -0.3025989234447479, 0.1339292973279953, -0.24108518660068512, -0.13277071714401245, -0.005655029322952032, 0.3005518317222595, -0.27711451053619385, 0.824881374835968, 0.1241072341799736, -0.2344660460948944, 0.1965322196483612, 0.3850490152835846, -0.20629215240478516, 0.37663534283638, -0.6893708109855652, 0.11319075524806976, -0.009920092299580574, -0.05241069197654724, -0.4796659052371979, -0.10863178968429565, 0.25354817509651184, -0.47461336851119995, 0.06193704903125763, -0.022061621770262718, -0.4607942998409271, -0.24435429275035858, 0.1688900887966156, 0.4434606432914734, 0.708989143371582, -0.44141659140586853, 0.4924919307231903, 0.2792428731918335, -0.09976993501186371, -0.36022624373435974, -1.1556295156478882, 0.4149424135684967, -0.236588254570961, -0.67714923620224, 0.33789923787117004, 0.058275800198316574, -0.34083670377731323, 0.31928911805152893, 0.06028863042593002, -0.21628302335739136, 0.04366735368967056, 0.02148646116256714, 0.3550456762313843, -0.6389150023460388, 0.13624213635921478, 0.02581389993429184, -0.41880202293395996, -0.19288985431194305, -0.6690195202827454, 0.3378443717956543, -0.28535622358322144, -0.14269356429576874, -0.3690783381462097, 0.3577534258365631, 0.674936056137085, -0.4882238805294037, 0.819349467754364, 0.9018106460571289, -0.49646860361099243, 0.10454525798559189, -0.29082658886909485, -0.0701122060418129, -0.39587676525115967, 0.4433562755584717, -0.24833229184150696, -0.8401132225990295, 0.3206082582473755, -0.003480940591543913, -0.034956496208906174, 0.5920644402503967, 0.9098207354545593, 0.06582745164632797, 0.7319936156272888, 0.5779809355735779, -0.1330782026052475, 0.20511552691459656, -0.12895740568637848, 0.42797818779945374, -0.9845595359802246, 0.07893641293048859, -0.45474421977996826, -0.5807730555534363, -0.907216489315033, -0.4985664188861847, 0.44375744462013245, 0.0027952806558459997, 0.07184156030416489, 0.6938971877098083, -0.6714898347854614, 0.23611731827259064, 0.6029713749885559, 0.2837890386581421, 0.3312782347202301, -0.20215915143489838, -0.22396408021450043, -0.2390827238559723, -0.8347527980804443, -0.6384880542755127, 0.9654509425163269, 0.2408774346113205, 0.4816623032093048, 0.11200422793626785, 0.4689350128173828, 0.3012428879737854, 0.3725748062133789, -0.7727184295654297, 0.16533668339252472, -0.433061420917511, -0.46568021178245544, -0.2846711277961731, -0.44257745146751404, -1.1095868349075317, 0.26763927936553955, -0.2016555368900299, -0.3208963871002197, 0.03369179740548134, 0.1308419406414032, -0.4334661662578583, 0.367679238319397, -0.9517892599105835, 0.9362965226173401, -0.4328254163265228, -0.40077537298202515, -0.35494542121887207, -0.6361612677574158, 0.11967507749795914, -0.12324238568544388, 0.18388886749744415, 0.07706606388092041, -0.02719349041581154, 0.40344199538230896, -0.15465015172958374, 0.5277823209762573, 0.04013253375887871, 0.15383142232894897, 0.05683393403887749, -0.028923464938998222, 0.19127729535102844, -0.037216588854789734, -0.45601868629455566, 0.33975622057914734, -0.20646648108959198, -0.5633935332298279, -0.47806695103645325, 0.7630764842033386, -0.6718059182167053, -0.4750140607357025, 0.07456189393997192, -0.8845905065536499, -0.10515424609184265, 0.37986427545547485, 0.24610644578933716, 0.18457023799419403, 0.050610437989234924, 0.2876013219356537, 0.4445462226867676, -0.44484174251556396, 0.38467469811439514, 0.35061779618263245, 0.09702162444591522, -0.49343010783195496, 0.9175137877464294, 0.04842555522918701, 0.23895151913166046, 0.4843800961971283, 0.38585057854652405, -0.17550882697105408, -0.7462545037269592, -0.7433859705924988, -0.0431818887591362, -0.3951142430305481, -0.3825623095035553, -0.7279980182647705, -0.2973136007785797, -0.2732299864292145, -0.04767106473445892, -0.27845051884651184, -0.47597649693489075, -0.05855083465576172, -0.02145344391465187, 0.34191757440567017, 0.614880383014679, 0.005998511333018541, 0.26364442706108093, -0.9538298845291138, 0.18403087556362152, 0.06826598197221756, 0.18734033405780792, 0.03168627992272377, -0.44478973746299744, -0.6762167811393738, 0.11506961286067963, -0.3196105659008026, -0.566616952419281, 0.5028181672096252, -0.04867915064096451, 0.38748711347579956, -0.09159057587385178, -0.1622876524925232, 0.5533860921859741, -0.6943718791007996, 0.611735463142395, 0.08697706460952759, -0.742473840713501, 0.47592803835868835, -0.18670259416103363, 0.368887722492218, 0.6470880508422852, 0.10480684041976929, -0.6381603479385376, -0.15433479845523834, -0.35063406825065613, -0.8179026246070862, 0.4175795614719391, 0.46138250827789307, 0.2533368170261383, 0.10297953337430954, 0.1528671681880951, 0.1548081487417221, -0.03577771410346031, -0.36259499192237854, -0.16424855589866638, -0.19233998656272888, -0.4800049364566803, -0.1483820229768753, 0.14809614419937134, 0.0036393837071955204, -0.3396015167236328, 0.4734758734703064, -0.11082883179187775, 0.24386738240718842, 0.11576062440872192, -0.3427126407623291, -0.11318784207105637, 0.4042823314666748, 0.6726406216621399, 0.4625226855278015, -0.0328686460852623, 0.17185258865356445, 0.41913938522338867, -0.532148003578186, 0.19365674257278442, 0.09874443709850311, -0.2771342396736145, 0.16056744754314423, 0.4294222295284271, 0.8733100891113281, 0.29805365204811096, -0.33403265476226807, 0.22653315961360931, -0.06683552265167236, 0.20961381494998932, 0.10931122303009033, -0.06235165894031525, 0.3868965208530426, 0.11579644680023193, 0.056372981518507004, 0.6471801996231079, 0.05459420010447502, -0.21197709441184998, 0.010894712060689926, 0.05325033888220787, -0.47858843207359314, -0.6599015593528748, 0.8272077441215515, 0.38947418332099915, -0.7407174706459045, 0.6660202145576477, 0.013721020892262459, -0.3685745894908905, 0.39538782835006714, 0.6773571968078613, 0.9037327170372009, -0.2886902391910553, -0.06237917020916939, 0.2027779370546341, 0.6831108927726746, 0.08733634650707245, 0.08957374840974808, 0.08787274360656738, -0.5443634390830994, -0.5307523608207703, -0.7631374001502991, -0.37947946786880493, 0.0627669095993042, -0.65708988904953, 0.2321062535047531, 0.06325539201498032, -0.3113047778606415, -0.049686186015605927, -0.17935432493686676, -1.042699933052063, 0.003078930079936981, -0.09139183908700943, 1.0775998830795288, -0.698085606098175, 0.9349164962768555, 0.8959256410598755, -0.5030485987663269, -0.5126597285270691, -0.04995632544159889, -0.11939940601587296, -0.9012889862060547, 0.6861487030982971, -0.1576371043920517, 0.009655601345002651, 0.14522522687911987, 0.054742999374866486, -0.5551031231880188, 1.1004878282546997, 0.5248665809631348, -0.4695908725261688, -0.2674768567085266, 0.47636696696281433, 0.8718476891517639, -0.12841250002384186, 0.24260661005973816, 0.5206663608551025, 0.785548746585846, -0.4477241635322571, -1.0505588054656982, -0.04559921473264694, -0.31734758615493774, 0.18787801265716553, 0.3444053828716278, -0.6442661285400391, 0.47188204526901245, -0.1292944699525833, 0.07332244515419006, 0.13783568143844604, 0.5141637325286865, -0.21117174625396729, 0.22919735312461853, 0.3467032313346863, 0.598742663860321, 0.6210576891899109, -0.01705060712993145, 1.1038440465927124, -0.5405480265617371, 0.16142968833446503, 0.9944432973861694, -0.0816316306591034, 0.9119813442230225, 0.6676414012908936, -0.1172289252281189, 0.2050018310546875, 0.2541309893131256, 0.24678808450698853, 0.3366609215736389, 0.24327193200588226, -0.23633787035942078, -0.010789606720209122, -0.3609124720096588, -0.19604472815990448, 0.6318856477737427, 0.3796725869178772, -0.5820336937904358, -0.251254141330719, 0.23889735341072083, -0.012806699611246586, 0.25375431776046753, -0.2097829133272171, 0.6048011779785156, 0.21218058466911316, -0.4624426066875458, 0.5612302422523499, 0.2120189517736435, 0.762241780757904, -0.3727140724658966, 0.06449351459741592, -0.3915167450904846, 0.32974371314048767, -0.26832315325737, -0.584362268447876, 0.8124138712882996, 0.0690644159913063, -0.32975873351097107, -0.5281001329421997, 0.7378422617912292, -0.4750586450099945, -0.5672099590301514, 0.6176435947418213, 0.7651435136795044, -0.049076277762651443, 0.2999365031719208, -0.661199688911438, -0.04550167918205261, -0.25973907113075256, 0.046014703810214996, 0.20920579135417938, 0.4737006425857544, -0.13853305578231812, 0.39684033393859863, 0.6415345072746277, 0.45006871223449707, 0.07033314555883408, -0.06867261230945587, 0.5463257431983948, -0.508368730545044, -0.12378355860710144, -0.8117009997367859, 0.41510072350502014, 0.23050256073474884, -0.427338182926178, 0.6370784640312195, 0.6219226717948914, 0.6407197117805481, -0.18669496476650238, 0.6165890693664551, 0.05888970196247101, 0.3331853747367859, -0.36444005370140076, 1.1264958381652832, -0.46510928869247437, -0.13782109320163727, 0.16074754297733307, -0.784489095211029, -0.48190295696258545, 0.13883395493030548, -0.13512057065963745, -0.35167115926742554, 0.670670747756958, 0.8591774702072144, -0.30194297432899475, -0.15850916504859924, 0.48182302713394165, 0.1941475123167038, 0.12799078226089478, 0.6345577836036682, 0.5658050775527954, -0.6593432426452637, 0.6846147775650024, -0.14060845971107483, -0.15101192891597748, -0.17014768719673157, -0.6567782759666443, -0.49888235330581665, -0.44717517495155334, -0.10432133823633194, -0.5104808211326599, 0.2241591215133667, 1.029377818107605, 0.7146288156509399, -0.8506682515144348, -0.21859417855739594, 0.0748622938990593, 0.11185618489980698, -0.4380008280277252, -0.22482694685459137, 0.2919207215309143, -0.4369801878929138, -0.7591795921325684, 0.5757479667663574, 0.5544425845146179, -0.1449524313211441, -0.2613079845905304, -0.3221453130245209, -0.02701166644692421, -0.07083088904619217, 0.6362408995628357, 0.12121464312076569, -0.6497635841369629, -0.14394396543502808, 0.24924024939537048, -0.3924805521965027, 0.2919519543647766, 0.5855149626731873, -0.5757007598876953, 0.42439544200897217, 0.5122894048690796, 1.2105467319488525, 0.09986745566129684, -0.3046436309814453, 0.4818677008152008, -0.3600534200668335, 0.19793225824832916, 0.36914411187171936, 0.37004753947257996, 0.5481085181236267, -0.42225217819213867, 0.6361997127532959, 0.12060391157865524, -0.5410823822021484, -0.6384368538856506, -0.011767411604523659, -0.6966351866722107, 0.2780326008796692, 0.9011639952659607, -0.04719729349017143, -0.4516332447528839, -0.14938585460186005, -0.14866513013839722, 0.4169880747795105, -0.06760210543870926, 0.7246946692466736, 0.5873245596885681, -0.03977944701910019, -0.03259123116731644, -0.8565515875816345, 0.1901923418045044, 0.7379617691040039, -0.8135446310043335, -0.15125517547130585, -0.017243893817067146, 0.09948446601629257, 0.311349481344223, 0.309426486492157, -0.32776519656181335, 0.1700427532196045, -0.24216605722904205, 0.02993728034198284, -0.11076574772596359, 0.08502310514450073, -0.5347974300384521, -0.1313243955373764, -0.09662597626447678, -0.38902607560157776 ]
http://arxiv.org/abs/2403.01570v2
http://arxiv.org/pdf/2403.01570v2
SERVAL: Synergy Learning between Vertical Models and LLMs towards Oracle-Level Zero-shot Medical Prediction
2024-03-03T17:35:52
2024-03-16T04:07:01
Jiahuan Yan, Jintai Chen, Chaowen Hu, Bo Zheng, Yaojun Hu, Jimeng Sun, Jian Wu
cs.CL
cs.CL, cs.LG
Recent development of large language models (LLMs) has exhibited impressive zero-shot proficiency on generic and common sense questions. However, LLMs' application on domain-specific vertical questions still lags behind, primarily due to the humiliation problems and deficiencies in vertical knowledge. Furthermore, the vertical data annotation process often requires labor-intensive expert involvement, thereby presenting an additional challenge in enhancing the model's vertical capabilities. In this paper, we propose SERVAL, a synergy learning pipeline designed for unsupervised development of vertical capabilities in both LLMs and small models by mutual enhancement. Specifically, SERVAL utilizes the LLM's zero-shot outputs as annotations, leveraging its confidence to teach a robust vertical model from scratch. Reversely, the trained vertical model guides the LLM fine-tuning to enhance its zero-shot capability, progressively improving both models through an iterative process. In medical domain, known for complex vertical knowledge and costly annotations, comprehensive experiments show that, without access to any gold labels, SERVAL with the synergy learning of OpenAI GPT-3.5 and a simple model attains fully-supervised competitive performance across ten widely used medical datasets. These datasets represent vertically specialized medical diagnostic scenarios (e.g., diabetes, heart diseases, COVID-19), highlighting the potential of SERVAL in refining the vertical capabilities of LLMs and training vertical models from scratch, all achieved without the need for annotations.
[ -0.06457418203353882, -0.32309114933013916, 0.45564353466033936, -0.5219311714172363, -0.3812713623046875, 0.06503506004810333, -0.03737156093120575, -0.6658560633659363, 0.3071850538253784, 0.7875451445579529, -0.747122585773468, -0.8208937048912048, -0.5938133597373962, -0.08235375583171844, 0.13231733441352844, 1.4240155220031738, 0.15368732810020447, 0.28878992795944214, -0.44689321517944336, -0.4595648944377899, -0.5915970206260681, -0.541366457939148, -0.4068832993507385, -0.42567089200019836, 0.563215970993042, 0.6155824065208435, 0.3549671471118927, 0.33319222927093506, 0.4277304410934448, 0.19357915222644806, 0.10252071917057037, 0.11358128488063812, -0.49557459354400635, 0.5457586050033569, -0.11905837804079056, -0.5971423387527466, -0.43042615056037903, -0.13362297415733337, 0.5358108282089233, 0.9040431976318359, 0.03310522064566612, 0.34346336126327515, -0.19225607812404633, 0.5434300899505615, -0.5099363327026367, 0.30245518684387207, -0.6785656213760376, 0.3151475489139557, -0.18320900201797485, -0.13080960512161255, 0.008104052394628525, 0.10375385731458664, 0.4122893214225769, -0.6119897365570068, -0.04251425340771675, -0.006446360144764185, 0.5673553347587585, 0.5832080245018005, -0.46020960807800293, 0.31553375720977783, -0.48748210072517395, 0.7384836077690125, -0.4483104348182678, 0.1329747587442398, 0.014219366014003754, 0.7708262205123901, -0.04319026321172714, -0.8168330192565918, -0.2814651131629944, -0.11257360875606537, 0.09925184398889542, 0.37555184960365295, 0.10434924066066742, 0.2803956866264343, 0.14000049233436584, 0.43016722798347473, -0.42405006289482117, 0.45429089665412903, -0.5216770768165588, -0.25563177466392517, 0.4734441041946411, 0.4473878741264343, 0.19673314690589905, -0.14044752717018127, -0.5186550617218018, 0.09334217011928558, -0.6351043581962585, 0.21494640409946442, -0.3384552001953125, 0.4652940332889557, -0.06833941489458084, 0.5972973108291626, -0.17090916633605957, 0.7306624054908752, -0.07143937051296234, -0.47294169664382935, 0.3901787996292114, -0.2765067219734192, -0.6570065021514893, 0.1716589778661728, 0.48715007305145264, 0.09907055646181107, -0.22463476657867432, -0.16751421988010406, -0.0517306812107563, 0.30605247616767883, 0.15198203921318054, -0.6513180136680603, 0.03822494298219681, 0.12732738256454468, -0.2957434058189392, -0.5165947675704956, -0.3096143305301666, -0.5301867127418518, -0.8116171360015869, -0.26592034101486206, 0.6729982495307922, -0.11189871281385422, 0.06606640666723251, 0.24630111455917358, 0.031510692089796066, 0.07977350801229477, 0.34612712264060974, -0.6470385789871216, 0.3630578815937042, 0.6397660970687866, 0.4682350754737854, -0.05909603461623192, -0.19237898290157318, -1.0947635173797607, 0.163307785987854, -0.13145796954631805, 0.628960132598877, -0.5136012434959412, -0.10873718559741974, -0.20860600471496582, 0.07730821520090103, 0.19388073682785034, -0.3807905316352844, 0.498405396938324, -0.23270918428897858, 0.401122123003006, -0.06901083141565323, -0.4995397925376892, -0.31807470321655273, 0.18949337303638458, -0.4158208668231964, 0.5879573822021484, 0.23410458862781525, -0.9262980222702026, 0.7347184419631958, -0.3445325791835785, -0.36567065119743347, 0.4440689980983734, -0.7366740107536316, -0.6501713991165161, -0.017549607902765274, 0.3194330036640167, 0.5112937092781067, -0.6408544182777405, 0.15864446759223938, -0.463406503200531, -0.15719670057296753, -0.31295397877693176, -0.03827165439724922, 0.7096078991889954, -0.29649481177330017, -0.261636346578598, 0.2565469741821289, -0.9586191177368164, -0.24141612648963928, -0.015468964353203773, 0.35105961561203003, -0.4518742859363556, -0.4734191298484802, -0.5780705809593201, 0.35647866129875183, 0.19912396371364594, -0.4283067286014557, 0.34095656871795654, -0.7814142107963562, -0.15883417427539825, 0.5180261731147766, 0.35839009284973145, 0.4932258427143097, -0.46228671073913574, 0.7821136713027954, 0.11719470471143723, 0.3150731921195984, -0.13807904720306396, -0.582319974899292, -0.46232184767723083, -0.4402102530002594, 0.2713130712509155, 0.480502188205719, -1.0164101123809814, 0.15393491089344025, 0.14043402671813965, -0.5534834265708923, -0.8116994500160217, 0.20130294561386108, 0.4222712516784668, 1.1892666816711426, 0.43312397599220276, -0.5981840491294861, -0.7243186831474304, -0.8070741891860962, -0.07669520378112793, -0.14116381108760834, 0.10504691302776337, 0.4821954071521759, 0.35817980766296387, -0.2719395160675049, 0.3940635323524475, -0.2621868848800659, -0.7031263709068298, -0.2180059552192688, 0.36427032947540283, 0.4145826995372772, 0.16762720048427582, 0.461990088224411, -0.4805428385734558, -0.2800772190093994, 0.12021534889936447, -1.0025913715362549, -0.21896743774414062, 0.1143212765455246, -0.05886460468173027, 0.19102412462234497, 0.17443004250526428, -0.035240523517131805, 0.6689011454582214, 0.707649827003479, -0.19498023390769958, 0.6054470539093018, -0.4338259994983673, -0.12234251946210861, -1.2672754526138306, 0.012891625054180622, 0.12915927171707153, -0.09154589474201202, -0.5772464275360107, -0.19185414910316467, -0.31502434611320496, -0.1901806890964508, -0.4612107574939728, 0.5522375106811523, -0.3882862329483032, -0.3897116780281067, -0.17156383395195007, -0.09248314797878265, -0.07867860794067383, 0.28728604316711426, 0.1346556544303894, 0.5760875940322876, 0.9623560905456543, -0.33947429060935974, 0.4342712461948395, 0.130130797624588, -0.08698830753564835, 0.5072042942047119, -0.6217828989028931, -0.34707406163215637, -0.07033690065145493, 0.19056947529315948, -0.7428974509239197, -0.2566894590854645, 0.17793580889701843, -0.48111599683761597, 0.15786013007164001, -0.2782890200614929, -0.3565320372581482, -0.36732590198516846, -0.1216508150100708, 0.25474080443382263, 0.7286299467086792, -0.4882582128047943, 0.47853800654411316, 0.691611647605896, 0.015338657423853874, -0.8555205464363098, -0.6929361820220947, -0.17884255945682526, -0.03699149191379547, -0.6761733293533325, 0.22837921977043152, 0.3533552587032318, 0.012120412662625313, 0.04443098232150078, -0.2773367762565613, -0.05069069191813469, 0.03688307851552963, 0.6634458303451538, 0.6777412295341492, -0.15662813186645508, 0.47071269154548645, -0.002762913005426526, -0.40237629413604736, -0.192449152469635, -0.7580877542495728, -0.042405325919389725, -0.24483522772789001, -0.413192480802536, -0.40287137031555176, -0.08654283732175827, 0.7127302885055542, -0.26565754413604736, 0.8687303066253662, 0.607464075088501, -0.47543713450431824, -0.18346887826919556, -0.42642742395401, -0.39435893297195435, -0.33391690254211426, 0.07537446171045303, -0.18215784430503845, -1.121848702430725, 0.5994465947151184, -0.15728573501110077, -0.14572933316230774, 0.5684617757797241, 0.6606932878494263, 0.017761602997779846, 0.876783549785614, 0.8573157787322998, -0.07678361237049103, 0.05808059126138687, -0.34180331230163574, -0.014824585057795048, -0.6593620181083679, -0.49108344316482544, -0.15787827968597412, -0.23438334465026855, -0.7117904424667358, -0.4524739980697632, 1.1116498708724976, -0.183155819773674, -0.27395397424697876, 0.026439504697918892, -0.5185855031013489, 0.15826579928398132, 0.45045116543769836, 0.13363997638225555, 0.3813159465789795, 0.10660577565431595, -0.6409593820571899, -0.25933048129081726, -0.8441373109817505, 0.13511526584625244, 1.1696248054504395, 0.2595520615577698, 0.7169605493545532, -0.33825790882110596, 0.9430291652679443, -0.04672202467918396, 0.07114619016647339, -0.6647894382476807, 0.3494461476802826, -0.3755485415458679, -0.3687806725502014, -0.25690507888793945, -0.3690667748451233, -0.9611304998397827, 0.07075891643762589, -0.6507620811462402, -0.6099359393119812, 0.08623471856117249, -0.03771001473069191, -0.7725399732589722, 0.37374985218048096, -0.364820271730423, 0.9929724335670471, -0.36131229996681213, -0.8126038312911987, -0.04029406979680061, -0.9785069227218628, 0.40064606070518494, -0.01827199198305607, -0.04631498083472252, -0.017946504056453705, -0.2374781221151352, 0.34873318672180176, -0.6839349865913391, 1.109103798866272, -0.24925513565540314, 0.06637950986623764, 0.18552638590335846, -0.047016389667987823, 0.14447836577892303, 0.32933369278907776, 0.12009444832801819, 0.07385971397161484, -0.05799908563494682, -0.5154240727424622, -0.6026753783226013, 0.5167735815048218, -0.828917920589447, -0.43211039900779724, -0.6761433482170105, -0.522116482257843, -0.5034473538398743, 0.17111580073833466, 0.037810202687978745, 0.417167603969574, 0.17365847527980804, 0.15337851643562317, 0.4783976674079895, -0.32825374603271484, -0.10941870510578156, 0.5185297727584839, -0.16751855611801147, -0.5046262145042419, 0.7435444593429565, 0.1168496310710907, 0.06716931611299515, 0.2390216737985611, 0.148928701877594, -0.22502723336219788, -0.2658284604549408, -0.28258541226387024, 0.2716662585735321, -0.43129250407218933, -0.46495649218559265, -0.405890554189682, -0.5154246091842651, -0.24091258645057678, -0.1697157621383667, -0.30860504508018494, -0.40138235688209534, -0.15412287414073944, 0.043282438069581985, 0.4459654688835144, 0.5259436368942261, -0.16067427396774292, -0.06744470447301865, -0.7731044888496399, 0.28060123324394226, 0.49628710746765137, 0.3736605644226074, -0.18988776206970215, -0.5885313749313354, -0.18745584785938263, -0.11962375044822693, 0.025853179395198822, -0.5685427784919739, 0.46696582436561584, -0.10206432640552521, 0.5519707202911377, 0.3025585412979126, -0.0025612055324018, 0.7324577569961548, -0.11361681669950485, 0.7238357067108154, 0.48068860173225403, -0.5804129242897034, 0.6874088048934937, -0.2555505335330963, 0.12290187925100327, 0.640920102596283, 0.42358726263046265, -0.4243091940879822, -0.11761368066072464, -0.7453641295433044, -0.5894060134887695, 0.5771710276603699, -0.17173726856708527, -0.6483420133590698, 0.4320255517959595, 0.33349284529685974, 0.6202965974807739, 0.29966500401496887, -0.4639461040496826, -0.028879133984446526, 0.17753133177757263, -0.04637249931693077, -0.0573371946811676, 0.19718202948570251, -0.20695070922374725, -0.6396217346191406, 0.6456962823867798, -0.26067879796028137, -0.07465588301420212, 0.09528005868196487, 0.0714697614312172, -0.2913218140602112, 0.049934159964323044, 0.18673714995384216, 0.3077284097671509, -0.18222063779830933, -0.06842847168445587, 0.41206493973731995, -0.10499822348356247, 0.09830493479967117, 0.21516188979148865, -0.009639215655624866, -0.166105717420578, 0.3423270881175995, 0.9539236426353455, 0.3264204263687134, -0.7103270292282104, 0.6966201066970825, -0.1097279042005539, -0.30940064787864685, -0.2783266603946686, 0.0032856501638889313, -0.2095233052968979, 0.5515610575675964, 0.061542291194200516, 0.18448421359062195, 0.0789896547794342, -0.5134114623069763, 0.40543800592422485, 0.36642152070999146, -0.6637964248657227, -0.2610544264316559, 0.7376177906990051, 0.21571512520313263, 0.40490153431892395, 0.3327823579311371, -0.17720383405685425, -0.30789685249328613, 0.6322385668754578, 0.3105599284172058, 0.6663038730621338, 0.06997878104448318, 0.2181960642337799, 0.30362629890441895, -0.029702480882406235, 0.09546329826116562, 0.21046413481235504, -0.11511372774839401, -0.39378148317337036, -0.7495567798614502, -0.5116297602653503, -0.532776951789856, 0.25949010252952576, -0.575465738773346, 0.6322904229164124, -0.40499502420425415, 0.020708026364445686, 0.10615336149930954, 0.510987401008606, -0.7205121517181396, 0.2836022675037384, 0.44357049465179443, 0.6760392785072327, -1.001009464263916, 0.9780515432357788, 0.9240526556968689, -0.8976680636405945, -0.6660224199295044, -0.06850431859493256, 0.15741868317127228, -1.077728509902954, 0.8042401671409607, 0.08476049453020096, 0.04662320017814636, -0.32503607869148254, -0.4646516740322113, -0.508009135723114, 1.4155529737472534, 0.3349997103214264, -0.5608208179473877, -0.14393733441829681, 0.002328562783077359, 0.9652203321456909, -0.5908905267715454, 0.24969814717769623, 0.28236672282218933, -0.007971661165356636, 0.4526740312576294, -1.050471305847168, 0.007820132188498974, 0.0007737535634078085, -0.04930698499083519, 0.028666291385889053, -0.6792383193969727, 0.7355983853340149, -0.5250369906425476, 0.06337190419435501, 0.07987425476312637, 0.5175882577896118, 0.3537558615207672, 0.6037928462028503, 0.3053480088710785, 0.8145818710327148, 0.7984996438026428, 0.19633848965168, 0.876066267490387, -0.4741554856300354, 0.08846387267112732, 1.05219566822052, -0.6341370940208435, 0.5760216116905212, 0.30893316864967346, 0.24781548976898193, 0.6293532848358154, 0.40980544686317444, -0.050615426152944565, 0.5306740999221802, 0.027538541704416275, -0.49377021193504333, -0.40858227014541626, -0.4412840008735657, -0.5345637202262878, 0.5674453377723694, 0.5509611368179321, -0.31514817476272583, -0.41594696044921875, 0.2523520886898041, -0.37402334809303284, -0.010675846599042416, -0.4913076162338257, 0.982591450214386, 0.18484380841255188, -0.5802087187767029, 0.713989794254303, -0.3830012083053589, 0.451795369386673, -0.434180349111557, -0.10490790754556656, -0.17807190120220184, 0.2012212574481964, -0.2253183126449585, -0.544470489025116, 0.05867981165647507, -0.2019730806350708, -0.040570877492427826, 0.2063397467136383, 1.253395915031433, -0.5332289934158325, -0.30132216215133667, 0.5223410725593567, 0.7876502871513367, -0.035942766815423965, 0.37871935963630676, -0.6135534048080444, -0.14298997819423676, -0.24327430129051208, 0.45797815918922424, 0.4415651857852936, 0.6663472652435303, -0.02558131143450737, 0.5540446639060974, 0.455126017332077, 0.5660932660102844, -0.29234156012535095, 0.18387213349342346, 0.9913823008537292, -0.42329466342926025, -0.39246898889541626, -0.5073426961898804, 0.43392282724380493, -0.09856509417295456, -0.018266798928380013, 0.4026559591293335, 0.24702301621437073, 0.8348689079284668, 0.12864802777767181, 1.0262593030929565, 0.3820362687110901, 0.6810089349746704, -0.1580866277217865, 0.49282512068748474, -0.8830477595329285, 0.36122775077819824, 0.025347081944346428, -0.35698625445365906, -0.6021305918693542, 0.2521086633205414, -0.6379364728927612, -0.14732731878757477, 0.5811907052993774, 0.5094227194786072, -0.04109850898385048, -0.055159423500299454, 0.6409538984298706, 0.2680750787258148, -0.08103000372648239, 0.9651556015014648, 0.510604977607727, -0.4177916646003723, 0.4137268662452698, -0.3762041926383972, -0.4810408055782318, -0.36747121810913086, -0.7313045859336853, -1.1532927751541138, -0.42635297775268555, -0.17132322490215302, -0.369987815618515, 0.44229042530059814, 1.0133637189865112, 0.8387852311134338, -0.6264373064041138, -0.030355947092175484, -0.22671358287334442, -0.10227972269058228, -0.13352376222610474, -0.06504450738430023, 0.1998528242111206, -0.5898326635360718, -0.20011523365974426, 0.20177945494651794, 0.7528283596038818, -0.021738983690738678, -0.3206443786621094, -0.06917326897382736, 0.0391417071223259, -0.317128449678421, 0.44968733191490173, 0.6204800605773926, -0.49694445729255676, -0.04624456912279129, -0.15448449552059174, -0.06996569782495499, 0.006997744087129831, 0.5222060680389404, -1.3896510601043701, 0.8369212746620178, 0.4702165126800537, 1.0719417333602905, 0.48823612928390503, -0.15641982853412628, 0.46512866020202637, -0.8072397112846375, 0.4226556420326233, 0.4509999454021454, 0.18913404643535614, 0.17247451841831207, -0.2982749044895172, 0.47985780239105225, 0.5696778893470764, -0.6185606122016907, -0.7161615490913391, 0.041164837777614594, -0.7308759093284607, -0.0963037982583046, 0.7972992658615112, 0.043796394020318985, -0.44064614176750183, 0.12855875492095947, -0.168526753783226, 0.5428422689437866, -0.19229236245155334, 0.821679413318634, 0.16701631247997284, -0.33230674266815186, -0.110477976500988, -0.6668446660041809, 0.5967856645584106, 0.8771016597747803, -0.783061146736145, -0.36666494607925415, 0.35440680384635925, 0.03452577441930771, -0.10454297065734863, 0.40101557970046997, -0.2722058892250061, 0.511523962020874, -0.04766582325100899, 0.12457136809825897, -0.1901245415210724, -0.567023515701294, -0.5259034633636475, 0.09236650168895721, 0.03273550793528557, -0.29809898138046265 ]
http://arxiv.org/abs/2403.01548v3
http://arxiv.org/pdf/2403.01548v3
In-Context Sharpness as Alerts: An Inner Representation Perspective for Hallucination Mitigation
2024-03-03T15:53:41
2024-03-12T09:49:28
Shiqi Chen, Miao Xiong, Junteng Liu, Zhengxuan Wu, Teng Xiao, Siyang Gao, Junxian He
cs.CL
cs.CL, cs.AI, cs.LG
Large language models (LLMs) frequently hallucinate and produce factual errors, yet our understanding of why they make these errors remains limited. In this study, we delve into the underlying mechanisms of LLM hallucinations from the perspective of inner representations, and discover a salient pattern associated with hallucinations: correct generations tend to have sharper context activations in the hidden states of the in-context tokens, compared to the incorrect ones. Leveraging this insight, we propose an entropy-based metric to quantify the ``sharpness'' among the in-context hidden states and incorporate it into the decoding process to formulate a constrained decoding approach. Experiments on various knowledge-seeking and hallucination benchmarks demonstrate our approach's consistent effectiveness, for example, achieving up to an 8.6 point improvement on TruthfulQA. We believe this study can improve our understanding of hallucinations and serve as a practical solution for hallucination mitigation.
[ -0.14240652322769165, -0.5652201175689697, 0.7870283722877502, 0.07733792811632156, -0.4191363453865051, -0.20707201957702637, -0.3654162883758545, -0.5020050406455994, 0.3235383629798889, 0.34095534682273865, -0.5523156523704529, -0.4758218824863434, -0.5090135335922241, 0.2319236695766449, -0.26381903886795044, 0.4871406853199005, 0.14184632897377014, 0.22475770115852356, -0.294018417596817, 0.05114724487066269, -0.7954631447792053, -0.7380664944648743, -0.3433593809604645, -0.27569299936294556, 0.2024277299642563, 0.409007728099823, 0.5488461852073669, 0.3162674605846405, 0.6944679021835327, 0.13986395299434662, -0.0482478030025959, 0.24853934347629547, -0.7241018414497375, 0.4422798454761505, 0.06131188943982124, -0.4252455532550812, -0.013210773468017578, -0.2556248605251312, 0.60242760181427, 0.7864303588867188, 0.10459310561418533, -0.18439292907714844, 0.30365487933158875, 0.6863016486167908, -0.7647484540939331, 0.06951674073934555, -0.9831077456474304, 0.36282095313072205, 0.06936769932508469, -0.6642235517501831, -0.44980528950691223, -0.2581199109554291, 0.05810146778821945, -0.25694769620895386, 0.21906675398349762, 0.06500595808029175, 0.6210748553276062, 0.7794720530509949, -0.13924409449100494, -0.4957582354545593, -0.5509155988693237, 0.6499496102333069, -0.6216853857040405, 0.6227416396141052, 0.5680680871009827, -0.02064328081905842, -0.15289127826690674, -0.43235334753990173, -0.2512987554073334, -0.25192418694496155, -0.1548275649547577, -0.19172696769237518, -0.10004357248544693, 0.1800728291273117, 0.347411572933197, 0.40108516812324524, -0.33093008399009705, -0.0664171352982521, -0.2994725704193115, -0.4869917333126068, 0.44413068890571594, 0.2664622962474823, 0.13347935676574707, -0.13520336151123047, -0.28466302156448364, -0.06269397586584091, -0.6155401468276978, -0.25561174750328064, 0.1294529289007187, 0.3241713345050812, 0.1751960963010788, 0.43157726526260376, -0.10251586139202118, 0.22598490118980408, 0.10310430824756622, -0.15393199026584625, 0.13398829102516174, -0.22504115104675293, -0.2805388271808624, 0.49474242329597473, 0.230229452252388, 0.5841303467750549, 0.10482680797576904, -0.5365062952041626, -0.5320721864700317, 0.02162593975663185, 0.48694896697998047, -0.806717574596405, -0.2297625094652176, 0.19611836969852448, -0.5304029583930969, -0.1581074297428131, 0.21263869106769562, -0.6925637125968933, -0.8438453078269958, -0.31315454840660095, 0.5851098299026489, -0.6104534864425659, -0.12089452892541885, 0.2454753965139389, -0.21966275572776794, 0.45838722586631775, 0.054275836795568466, -0.8778368830680847, 0.20080173015594482, 0.5605039596557617, 0.8925614356994629, -0.07412716001272202, -0.1300024688243866, -0.22844363749027252, 0.05171918869018555, -0.5547008514404297, 0.6849408745765686, -0.4580537676811218, -0.30380484461784363, 0.1338167041540146, -0.19649843871593475, -0.012394333258271217, -0.7803028225898743, 0.6005645990371704, -0.29736068844795227, -0.2483709305524826, -0.5438024997711182, -0.5691364407539368, -0.45903006196022034, -0.002180123934522271, -0.5066795945167542, 0.9338242411613464, 0.019661562517285347, -0.5546091794967651, 0.6679922938346863, -0.4197525382041931, -0.2616526186466217, 0.29574093222618103, -0.24754968285560608, -0.2154717892408371, 0.7789539098739624, 0.2411353439092636, 0.5144094228744507, -0.048083432018756866, 0.2901689410209656, -0.13348843157291412, -0.7959478497505188, 0.4333183765411377, -0.5789780616760254, 0.46352240443229675, 0.17632879316806793, -0.5906981229782104, 0.19921009242534637, -0.6222681999206543, -0.11617051064968109, 0.03536442294716835, -0.1348372846841812, -0.4763403832912445, 0.002090663183480501, -0.2188234180212021, -0.08196906000375748, 0.05474420264363289, -0.11785273253917694, 0.0901656225323677, -0.5252255797386169, 0.26290959119796753, 0.7969107627868652, 0.25086477398872375, 0.37927570939064026, -0.31122535467147827, -0.024936586618423462, 0.2649381756782532, 0.3211715519428253, 0.06982015818357468, -0.24981875717639923, -0.8830285668373108, -0.1364269256591797, -0.2623295783996582, 0.38032588362693787, -0.42366644740104675, 0.5972596406936646, -0.2942964434623718, 0.051405370235443115, -0.5944531559944153, -0.0905902162194252, 0.3167911171913147, 0.3803625702857971, 0.3048330247402191, -0.30514198541641235, -0.7032099962234497, -0.7886390686035156, -0.22995635867118835, 0.03845062851905823, 0.06771167367696762, -0.024905411526560783, 0.5764537453651428, -0.6211193799972534, 0.6497688293457031, -0.17059208452701569, -0.3445439040660858, -0.03197214752435684, -0.14184202253818512, -0.03281058371067047, 0.4408438205718994, 0.13841645419597626, -0.7292661666870117, 0.039005618542432785, -0.17163750529289246, -1.0030323266983032, 0.007803119253367186, -0.31055155396461487, -0.004044090863317251, 0.3564223349094391, 0.931681215763092, -0.2832256853580475, 0.6186533570289612, 0.04978417232632637, -0.5121640563011169, 0.5403904318809509, -0.06908504664897919, 0.077201247215271, -0.7246628999710083, -0.06373400241136551, -0.27656182646751404, 0.16016997396945953, -0.6717572808265686, 0.17717204988002777, 0.0744670107960701, 0.13024133443832397, -0.24994774162769318, 0.3789164423942566, -0.46711525321006775, 0.015535210259258747, -0.1599765568971634, 0.12895949184894562, -0.08403609693050385, 0.5650517344474792, -0.28936007618904114, 0.9084648489952087, 0.5197628140449524, -0.6127723455429077, 0.08303175866603851, -0.11614347249269485, -0.5667631030082703, 0.5403056740760803, -0.20912818610668182, 0.22599445283412933, -0.453946590423584, -0.13444304466247559, -0.7359805703163147, -0.4876217246055603, 0.2948775291442871, -0.31164976954460144, 0.28178367018699646, 0.1619398146867752, -0.575430691242218, -0.07180070877075195, -0.4466588795185089, 0.5614829659461975, 0.48745959997177124, -0.6574662923812866, 0.4064618647098541, 0.2481638491153717, 0.42194169759750366, -0.535321831703186, -0.7592659592628479, 0.3444348871707916, -0.46172189712524414, -0.5406044125556946, 0.4611262381076813, -0.3509308993816376, -0.7405090928077698, -0.19643689692020416, -0.32789352536201477, 0.18055394291877747, 0.19754765927791595, 0.3961794674396515, -0.10744534432888031, -0.0188312828540802, 0.3581114113330841, -0.12025412172079086, 0.10758937150239944, 0.420219749212265, -0.387129545211792, 0.7557744383811951, -0.15839649736881256, -0.27297699451446533, -0.6826880574226379, 0.40569445490837097, 0.6436282396316528, 0.22169843316078186, 0.7182237505912781, 0.2306642234325409, -0.7164525985717773, -0.34537968039512634, -0.6765828132629395, -0.7264311909675598, -0.4528093636035919, 0.22659598290920258, -0.6413372755050659, -0.6444459557533264, 0.8675644993782043, 0.0032274785917252302, -0.3392852246761322, 0.3227722644805908, 0.4460943043231964, 0.05820838734507561, 0.9719444513320923, 0.7773979902267456, 0.16540062427520752, 0.3886672854423523, -0.27113261818885803, 0.49114617705345154, -0.8842411041259766, -0.7527223229408264, -0.3166497051715851, -0.06454314291477203, -0.3244498670101166, -0.26721814274787903, 0.4393016993999481, 0.2419406920671463, -0.18310534954071045, -0.2278861105442047, -0.7693651914596558, 0.7029841542243958, 0.5173121690750122, 0.3790796399116516, 0.09796910732984543, 0.20045889914035797, -0.22185422480106354, -0.19629833102226257, -0.6604470014572144, -0.47089532017707825, 0.7469052672386169, 0.33752748370170593, 0.6732727289199829, 0.014853747561573982, 0.7545937299728394, 0.2418687343597412, -0.19002284109592438, -1.0700693130493164, 0.5386909246444702, 0.256309449672699, -0.36030131578445435, -0.34279078245162964, -0.35020941495895386, -0.6203809976577759, 0.20243939757347107, -0.1305500715970993, -0.8752471208572388, 0.4612734615802765, -0.14125342667102814, -0.4192066788673401, 0.38885498046875, -0.5227252840995789, 0.5607189536094666, -0.015796512365341187, -0.26478150486946106, -0.08248887956142426, -0.6539303064346313, 0.36299386620521545, -0.0076209488324820995, 0.1272161453962326, -0.14487607777118683, 0.1500852406024933, 0.686812698841095, -0.17037861049175262, 1.0298728942871094, -0.057516712695360184, -0.3761029541492462, 0.11304416507482529, 0.15087173879146576, 0.5351368188858032, 0.06291279941797256, -0.11762476712465286, 0.2238488644361496, -0.266488641500473, -0.2628755569458008, -0.545674741268158, 0.5723569989204407, -0.6707747578620911, -0.681834876537323, -0.3556446135044098, -0.7598608732223511, -0.11910779029130936, -0.0003318307572044432, 0.6072067618370056, 0.5254647731781006, -0.1271345317363739, 0.15799881517887115, 1.0661218166351318, 0.022519517689943314, 0.4543920159339905, -0.18567965924739838, -0.0012351529439911246, -0.3368986248970032, 0.7468777894973755, 0.1205706000328064, 0.0024793504271656275, 0.31287050247192383, 0.07875185459852219, -0.2795822322368622, -0.7998654246330261, 0.0017542669083923101, 0.21772482991218567, -1.3922960758209229, -0.28669241070747375, -0.5477400422096252, -0.30244970321655273, -0.546352744102478, -0.37919482588768005, 0.0035032087471336126, -0.011770287528634071, -0.571221649646759, -0.12735848128795624, 0.27467411756515503, 0.7484492659568787, -0.14071045815944672, 0.14337782561779022, -0.28574448823928833, 0.15694215893745422, 0.2965773642063141, 0.461271196603775, 0.15247370302677155, -0.6459563970565796, -0.37319085001945496, -0.054428521543741226, 0.08494756370782852, -0.8586120009422302, 0.4137161374092102, 0.02765338495373726, 0.5276814699172974, 0.7001385688781738, 0.33722907304763794, 0.8347798585891724, -0.14761222898960114, 0.8234816789627075, 0.07107920944690704, -1.130668044090271, 0.48304128646850586, 0.14856071770191193, 0.3490915596485138, 0.7585505247116089, 0.1062166839838028, -0.5279101729393005, -0.6002646088600159, -0.2909933030605316, -0.771719753742218, 0.3602718710899353, 0.045465726405382156, 0.2134486883878708, -0.04622162505984306, 0.5035943388938904, 0.282624214887619, -0.02512405253946781, -0.8874863386154175, 0.0032276499550789595, -0.2594345510005951, -0.12236004322767258, 0.11273542791604996, -0.7253586053848267, -0.3632180392742157, -0.41188517212867737, 0.4683329463005066, -0.16404083371162415, 0.4806777536869049, 0.4779610335826874, -0.39661917090415955, -0.24093087017536163, 0.015501168556511402, 0.8746647834777832, 0.6683811545372009, -0.4507017135620117, 0.6990991234779358, 0.31565436720848083, -0.6621795296669006, -0.0927199050784111, -0.36989206075668335, -0.08619064837694168, 0.008760708384215832, 0.5111659169197083, 0.9023173451423645, 0.20471183955669403, -0.5638247728347778, 0.3445633351802826, -0.0034928619861602783, -0.04230862110853195, -0.36482495069503784, 0.06733886152505875, -0.590103805065155, 0.4348173141479492, 0.7539191246032715, 0.06481597572565079, 0.3607223927974701, -0.7134848833084106, 0.13962428271770477, 0.6133204102516174, -0.6242107152938843, -0.2037862241268158, 0.5417195558547974, -0.09824200719594955, -0.20435605943202972, 0.8268475532531738, -0.34718218445777893, -0.6906852126121521, 0.3838192820549011, 0.6511059403419495, 1.3162786960601807, -0.001499525154940784, -0.20408271253108978, 0.32058319449424744, 0.5859885215759277, -0.02891811542212963, 0.36256715655326843, -0.055728234350681305, -0.7288507223129272, -0.14314678311347961, -0.6735566258430481, 0.02207368239760399, 0.1643848568201065, -0.555354118347168, 0.1425998955965042, -0.2958572804927826, -0.05988691374659538, -0.37024450302124023, -0.08922932296991348, -0.485806941986084, 0.05911258980631828, 0.34841030836105347, 0.6423003077507019, -0.5304251909255981, 0.7057040333747864, 0.08910276740789413, -0.320080041885376, -0.6026736497879028, 0.6750574707984924, -0.053345926105976105, -0.7916337251663208, 0.49058786034584045, 0.5478426814079285, -0.45954641699790955, -0.13312144577503204, -0.716863214969635, -0.8460012674331665, 0.9024168848991394, 0.2766972482204437, -0.41468700766563416, -0.005455183330923319, 0.0743575245141983, 0.2745327353477478, -0.36826109886169434, -0.256281316280365, 0.7541379928588867, 0.4961535930633545, 0.08983181416988373, -0.5524206161499023, 0.48293212056159973, -0.12669222056865692, 0.0614476203918457, 0.1605406552553177, -0.26902085542678833, 0.5969210267066956, -0.44730299711227417, -0.6763613820075989, -0.18690502643585205, 0.5028278231620789, 0.07550935447216034, 0.42541101574897766, 0.22711777687072754, 0.4111478626728058, 1.0268328189849854, -0.07317503541707993, 0.9316837191581726, -0.4784103035926819, 0.03809588775038719, 0.6831125020980835, -0.048478271812200546, 0.4292975068092346, 0.8863241076469421, 0.3695368766784668, 0.2880100905895233, 0.603206217288971, 0.045238494873046875, 0.948844850063324, 0.28382381796836853, -0.37772172689437866, -0.11568086594343185, -0.2656551003456116, -0.3709556460380554, 0.21890166401863098, 0.6581164598464966, -0.29520708322525024, 0.24602606892585754, 0.34017857909202576, 0.12890906631946564, -0.03773591294884682, -0.46251294016838074, 0.9973534345626831, 0.21990080177783966, -0.6076033711433411, 1.0678023099899292, -0.21529032289981842, 0.8062129020690918, -0.18880631029605865, -0.05435489863157272, -0.5271180272102356, 0.051285333931446075, -0.23400337994098663, -0.5418742895126343, 0.4790455400943756, -0.3433084487915039, -0.2840202748775482, -0.12246166914701462, 0.6712139248847961, -0.19731388986110687, -0.2999488413333893, 0.3871608078479767, 0.15915369987487793, 0.4555825889110565, -0.34189173579216003, -0.1587039977312088, 0.5368310213088989, 0.007876568473875523, 0.13358502089977264, -0.0013450373662635684, 0.728033185005188, -0.10074679553508759, 0.47858351469039917, 0.25391045212745667, -0.10821904987096786, 0.235245481133461, 0.2469182312488556, 0.8414905667304993, -0.7664970755577087, -0.2534889876842499, -1.0541974306106567, 0.24845562875270844, 0.03724333271384239, -0.30151239037513733, 0.7288565039634705, 0.3762281537055969, 0.906356692314148, -0.12074272334575653, 0.5025591850280762, 0.2566688060760498, -0.16063937544822693, -0.7778380513191223, 0.8212235569953918, -0.6817011833190918, 0.4073304831981659, -0.11224991083145142, -1.0001051425933838, -0.7852463722229004, 0.7252592444419861, -0.107020802795887, -0.23135904967784882, 0.8650218844413757, 1.0782334804534912, 0.19869683682918549, -0.010669117793440819, 0.6637099981307983, 0.23682942986488342, -0.07011417299509048, 0.5315884351730347, 1.0375573635101318, -0.2315441220998764, 0.2881385385990143, -0.35445573925971985, -0.03247418254613876, -0.7073870301246643, -0.5898756980895996, -0.9905926585197449, -1.0113446712493896, -0.13193300366401672, -0.35194557905197144, 0.19826006889343262, 0.9621639847755432, 0.6190515160560608, -0.6717233657836914, -0.09813952445983887, -0.24302689731121063, 0.12133803218603134, -0.3544631004333496, -0.20936237275600433, 0.4676477015018463, -0.7581464052200317, -0.35091784596443176, 0.5170828104019165, 0.42641445994377136, 0.33329126238822937, -0.3704489767551422, -0.11419221013784409, 0.33970025181770325, 0.3867982029914856, 0.8042170405387878, -0.21098914742469788, -1.036936640739441, -0.47680121660232544, 0.060017477720975876, -0.24518656730651855, 0.30116134881973267, 0.932654082775116, -0.6868544816970825, 0.47542956471443176, 0.3299976885318756, 0.26941797137260437, 0.08919308334589005, -0.44990846514701843, 0.24018064141273499, -0.765791118144989, 0.3132020831108093, 0.494686096906662, 0.27150386571884155, 0.4751463234424591, -0.7601056098937988, 0.39902618527412415, 0.1533624678850174, -0.3960040509700775, -1.1711593866348267, 0.16010507941246033, -0.7365023493766785, -0.6629606485366821, 1.0948987007141113, 0.4371020495891571, -0.21996621787548065, -0.23001380264759064, -0.20946314930915833, 0.31586089730262756, -0.2708280086517334, 1.2523250579833984, 0.6238408088684082, -0.009578036144375801, -0.15774448215961456, -0.4929850697517395, 0.9296125173568726, 0.40480634570121765, -0.5943175554275513, 0.2936866283416748, 0.5643860101699829, -0.24986013770103455, 0.19526073336601257, 0.3254478871822357, 0.04124340042471886, 0.01641983352601528, 0.25075027346611023, 0.13823118805885315, 0.3070339262485504, -0.7913060188293457, -0.6889835596084595, 0.33444347977638245, 0.06778658181428909, 0.08330750465393066 ]
http://arxiv.org/abs/2403.01528v2
http://arxiv.org/pdf/2403.01528v2
Leveraging Biomolecule and Natural Language through Multi-Modal Learning: A Survey
2024-03-03T14:59:47
2024-03-05T11:12:47
Qizhi Pei, Lijun Wu, Kaiyuan Gao, Jinhua Zhu, Yue Wang, Zun Wang, Tao Qin, Rui Yan
cs.CL
cs.CL, cs.AI, q-bio.BM
The integration of biomolecular modeling with natural language (BL) has emerged as a promising interdisciplinary area at the intersection of artificial intelligence, chemistry and biology. This approach leverages the rich, multifaceted descriptions of biomolecules contained within textual data sources to enhance our fundamental understanding and enable downstream computational tasks such as biomolecule property prediction. The fusion of the nuanced narratives expressed through natural language with the structural and functional specifics of biomolecules described via various molecular modeling techniques opens new avenues for comprehensively representing and analyzing biomolecules. By incorporating the contextual language data that surrounds biomolecules into their modeling, BL aims to capture a holistic view encompassing both the symbolic qualities conveyed through language as well as quantitative structural characteristics. In this review, we provide an extensive analysis of recent advancements achieved through cross modeling of biomolecules and natural language. (1) We begin by outlining the technical representations of biomolecules employed, including sequences, 2D graphs, and 3D structures. (2) We then examine in depth the rationale and key objectives underlying effective multi-modal integration of language and molecular data sources. (3) We subsequently survey the practical applications enabled to date in this developing research area. (4) We also compile and summarize the available resources and datasets to facilitate future work. (5) Looking ahead, we identify several promising research directions worthy of further exploration and investment to continue advancing the field. The related resources and contents are updating in \url{https://github.com/QizhiPei/Awesome-Biomolecule-Language-Cross-Modeling}.
[ -0.2009100615978241, -1.0760966539382935, 0.3977701663970947, -0.0879446417093277, 0.021008852869272232, 0.5060365200042725, -0.24001608788967133, -0.9192418456077576, 0.09168827533721924, 0.13616998493671417, -0.2667973041534424, -0.23770023882389069, -0.49631282687187195, 0.29296445846557617, -0.07154112309217453, 0.9390594363212585, 0.20474565029144287, 0.4617786109447479, -0.36346736550331116, -0.2640472948551178, -0.2503991425037384, -0.508704662322998, -0.11013396084308624, -0.30101677775382996, 0.6132375001907349, -0.11239919811487198, 0.6258246898651123, 0.6418304443359375, 0.4716412425041199, 0.39444035291671753, -0.21566955745220184, 0.09636320173740387, -0.04830282926559448, 0.030264468863606453, -0.35551154613494873, -0.3776649534702301, -0.5138020515441895, 0.19590012729167938, 0.7304030060768127, 1.3096694946289062, 0.2334388941526413, 0.02158404141664505, 0.1045568659901619, 0.7275794744491577, -0.5187414884567261, 0.2728336453437805, -0.20609155297279358, 0.0949031263589859, -0.19865551590919495, -0.08108260482549667, -0.20461006462574005, -0.20317116379737854, 0.4666459262371063, -0.30157896876335144, 0.10527343302965164, 0.02609254978597164, 0.6281324028968811, -0.016479898244142532, -0.9340758323669434, -0.48107731342315674, -0.7403799295425415, 0.9056564569473267, -0.6631381511688232, 0.9498664140701294, 0.23135539889335632, 0.48520365357398987, -0.23000198602676392, -0.5920533537864685, -0.36716651916503906, -0.8687018752098083, -0.08714985102415085, 0.20207014679908752, -0.022601459175348282, 0.30699360370635986, -0.10997562110424042, 0.47637099027633667, -0.7584540843963623, -0.2775530219078064, -0.654017984867096, -0.20880545675754547, 0.47437795996665955, -0.035585857927799225, 0.5478042364120483, -0.35245150327682495, -0.5198109745979309, -0.0999424085021019, -0.23698526620864868, 0.12111429125070572, 0.1565243899822235, 0.5248456597328186, -0.22678999602794647, 0.761829137802124, -0.08088626712560654, 0.8394178748130798, -0.3395431339740753, 0.009048604406416416, 0.3027598559856415, -1.0715124607086182, -0.37336766719818115, 0.3275960683822632, 0.7516826391220093, -0.02781197801232338, -0.015098236501216888, -0.08175361156463623, 0.059377625584602356, -0.18476353585720062, 0.2003917247056961, -0.4585338830947876, -0.011017522774636745, 0.42871591448783875, -0.577164351940155, -0.15490278601646423, 0.14008478820323944, -1.0882967710494995, -0.24247333407402039, -0.47331318259239197, 0.2733345925807953, -0.6373441219329834, -0.07355278730392456, 0.004820880480110645, -0.19377560913562775, 0.06058499589562416, 0.17543677985668182, -0.7975953221321106, 0.27407166361808777, 0.2731457054615021, 0.9198552370071411, -0.11100472509860992, -0.1177702322602272, -0.3107041120529175, 0.5686804056167603, -0.023162102326750755, 0.5114808082580566, -0.6763268709182739, -0.4182516932487488, -0.21570071578025818, -0.008215057663619518, -0.010596265085041523, -0.3751988112926483, 0.234966441988945, -0.2592780292034149, 0.1396913230419159, -0.23037026822566986, -0.3455922305583954, -0.5580759048461914, 0.16362576186656952, -0.9475117921829224, 0.5939434766769409, 0.09609836339950562, -0.3752508759498596, 0.23925550282001495, -0.7585367560386658, -0.611640214920044, 0.14532051980495453, -0.21730811893939972, -0.1761152744293213, 0.12357501685619354, -0.13245823979377747, 0.3080350458621979, -0.5377489924430847, 0.3981841504573822, -0.4374517798423767, 0.29488030076026917, 0.6743968725204468, -0.3316044807434082, 0.6041761040687561, 0.17743101716041565, -0.016821863129734993, 0.09311366081237793, -0.7556596398353577, -0.12201327830553055, -0.3984542787075043, -0.4977022111415863, -0.1056855171918869, -0.2522980272769928, 0.25633177161216736, 0.30143529176712036, 0.43564480543136597, -0.5296924710273743, 0.35839933156967163, -0.3696315288543701, 0.5619210004806519, 0.5952630043029785, 0.0033992219250649214, 0.6871804594993591, -0.3000277280807495, 0.26113733649253845, 0.018542716279625893, 0.07814390957355499, -0.04350614175200462, -0.5350094437599182, -0.07860204577445984, -0.3238454759120941, 0.3417319357395172, 0.4517744779586792, -0.5103923678398132, 0.10715755075216293, 0.0834360271692276, -0.48888099193573, -0.4507438838481903, 0.34876272082328796, 0.31882888078689575, 0.5624376535415649, 0.8441256880760193, -0.30572858452796936, -0.5738086104393005, -0.847993016242981, -0.4022895395755768, -0.3064664900302887, 0.09290189296007156, 0.3122704029083252, 0.5073809623718262, -0.30140313506126404, 0.7984240651130676, -0.2939811050891876, -0.33371174335479736, -0.581965982913971, 0.2630385756492615, 0.20372627675533295, 0.49598023295402527, 0.4658397436141968, -0.9420491456985474, -0.40922561287879944, 0.6004894971847534, -0.8402329683303833, 0.17286993563175201, 0.0022830809466540813, -0.004383189138025045, 0.19697189331054688, 0.14964041113853455, -0.5820315480232239, 0.2247300148010254, 0.389199823141098, -0.39270949363708496, 0.47928881645202637, -0.29024064540863037, 0.25837185978889465, -0.9586158990859985, 0.35409578680992126, 0.38871830701828003, -0.09493730962276459, -0.9001685976982117, -0.21909479796886444, 0.010145985521376133, -0.028532879427075386, -0.5466151833534241, 0.621166467666626, -0.7342109084129333, -0.05977503955364227, -0.03241467475891113, -0.36712002754211426, 0.007963573560118675, 0.42110925912857056, -0.09334456920623779, 0.4628627300262451, 0.5709806680679321, -0.4648807942867279, 0.45377790927886963, 0.19093570113182068, 0.07159217447042465, 0.40145882964134216, -0.6613381505012512, -0.3887782096862793, -0.15403419733047485, 0.19102147221565247, -0.8831855654716492, -0.30518221855163574, 0.6827656030654907, -0.4054231345653534, 0.451193630695343, -0.006297041196376085, -0.22424504160881042, -0.1775292605161667, -0.37851482629776, 0.45918163657188416, 0.1679663360118866, 0.06479636579751968, 0.88392573595047, 0.48609459400177, -0.09852144867181778, -0.05637452378869057, -0.9284645318984985, 0.05912400782108307, 0.07050946354866028, -0.4135302007198334, 0.302264541387558, -0.3153877556324005, -0.02266407012939453, 0.03316301479935646, -0.3556132912635803, -0.3858011066913605, -0.27665114402770996, 0.058514028787612915, 0.4148406982421875, -0.18823468685150146, 0.3270905315876007, 0.0691189244389534, 0.08448224514722824, 0.021062538027763367, -0.31110551953315735, 0.20276686549186707, -0.34348905086517334, -0.0928088128566742, -0.3049269914627075, 0.459172785282135, 0.5954269170761108, -0.4509613811969757, 0.6443648338317871, 0.44748470187187195, -0.3363497853279114, 0.17234137654304504, -0.09037509560585022, -0.2387729436159134, -0.4556165039539337, 0.4060407876968384, -0.17378632724285126, -0.5008676052093506, 0.12848205864429474, -0.01903802715241909, -0.3976599872112274, 0.006811090745031834, 0.4942823648452759, -0.1857271045446396, 0.7586809396743774, 0.8877598643302917, 0.0837293490767479, 0.45548781752586365, -0.1950557976961136, 0.43485647439956665, -0.6794679760932922, -0.6345329284667969, -0.4852500855922699, -0.347802072763443, -0.5396920442581177, -0.6727422475814819, 0.5666388273239136, 0.022131381556391716, 0.1595699042081833, 0.24945998191833496, -0.2458493709564209, 0.13174259662628174, 0.23677116632461548, 0.17050296068191528, 0.2036713808774948, -0.0692354068160057, -0.4396120309829712, 0.16430145502090454, -0.7228630185127258, -0.4691088795661926, 0.9339260458946228, 0.3090313673019409, 0.6854979991912842, 0.13571828603744507, 0.17655690014362335, 0.19837413728237152, 0.07842408865690231, -0.6395179033279419, 0.4053970277309418, 0.11029218137264252, -0.5255865454673767, -0.20066389441490173, -0.5530507564544678, -0.9075655341148376, 0.12407539784908295, -0.3857239782810211, -0.4502795934677124, 0.4404619038105011, 0.22665095329284668, -0.10311052948236465, 0.32941919565200806, -0.5596147179603577, 0.9954276084899902, -0.7646468877792358, -0.5634101629257202, -0.26993265748023987, -1.0393036603927612, 0.35679253935813904, -0.023133616894483566, 0.4405282437801361, 0.02779635228216648, -0.20401649177074432, 0.4438924491405487, -0.1329185664653778, 0.8022480607032776, 0.20252725481987, -0.07008951157331467, 0.21696969866752625, 0.062303368002176285, -0.1687246561050415, -0.06704672425985336, -0.02100343257188797, 0.4144008457660675, 0.22394004464149475, -0.5343488454818726, -0.4190985858440399, 0.4421921968460083, -0.4828452467918396, -0.05346372723579407, -0.6505928635597229, -0.6296483278274536, -0.2326006144285202, 0.3066188395023346, -0.15489867329597473, 0.5865451693534851, -0.0825575590133667, 0.17379562556743622, 0.4427095353603363, -0.3971189260482788, 0.5290616154670715, 0.35908472537994385, -0.15906386077404022, -0.44077762961387634, 1.1539785861968994, 0.27468085289001465, 0.3662168085575104, 0.8328191637992859, 0.30177122354507446, -0.3879333436489105, -0.40640294551849365, -0.17137692868709564, 0.36333993077278137, -0.37982121109962463, -0.21477515995502472, -0.6659506559371948, -0.07611081749200821, -0.5416562557220459, -0.19212539494037628, -0.33653998374938965, -0.4164023697376251, 0.026928892359137535, -0.13025382161140442, 0.3277132511138916, 0.6452690958976746, -0.2695932984352112, -0.31056520342826843, -1.1780409812927246, 0.6290870904922485, 0.10256009548902512, 0.31470078229904175, 0.07115675508975983, 0.18984372913837433, -0.6331966519355774, 0.40710926055908203, -0.30824172496795654, -1.2219352722167969, 0.5055497288703918, 0.43578431010246277, 0.9048990607261658, 0.06680116057395935, -0.5163549184799194, 0.25867143273353577, -0.27283787727355957, 0.7013060450553894, 0.05237894505262375, -0.7322307825088501, 0.713878870010376, -0.25794515013694763, 0.5123096108436584, 0.364641934633255, 0.8250429034233093, -0.5501870512962341, -0.4482109844684601, -0.2653783857822418, -0.9243436455726624, 0.23687727749347687, 0.12474453449249268, -0.2938973605632782, 0.07004414498806, -0.07217081636190414, 0.3872348666191101, 0.44396474957466125, -0.6732087135314941, -0.2016410082578659, -0.33537834882736206, -0.3870655298233032, 0.055879853665828705, 0.04653344303369522, -0.06350127607584, -0.41502845287323, 0.4890316128730774, -0.3118179738521576, 0.21559271216392517, 0.04759961739182472, -0.5117290616035461, 0.12517333030700684, 0.31123483180999756, 0.5740988850593567, 0.4336964786052704, -0.3399755358695984, 0.2233208268880844, -0.14887015521526337, -0.5433582663536072, 0.018870342522859573, 0.2681630551815033, 0.14663980901241302, -0.13049177825450897, 0.5733617544174194, 0.4485052227973938, 0.3187721073627472, -0.9061657786369324, 0.0173203032463789, 0.23227615654468536, 0.07398411631584167, 0.381590336561203, -0.1787528246641159, 0.025084558874368668, 0.3853318393230438, 0.34199729561805725, 0.24455195665359497, 0.3498342037200928, -0.8984642028808594, 0.1634995937347412, 0.5540388226509094, -0.5331461429595947, -0.7247896194458008, 0.7024786472320557, 0.3109678030014038, 0.15547147393226624, 0.31190311908721924, 0.19330719113349915, -0.351286917924881, 0.35802924633026123, 0.47519680857658386, 0.7900605201721191, -0.36992424726486206, 0.2160118669271469, 0.34449875354766846, 0.14724425971508026, 0.41375160217285156, 0.21559248864650726, -0.3981667459011078, -0.5592377781867981, -0.009992722421884537, -0.8563050627708435, -0.1893388330936432, -0.26022204756736755, -0.19282488524913788, 0.11878323554992676, -0.5293663740158081, 0.03237810358405113, 0.2512649595737457, 0.01849163882434368, -0.4285050630569458, -0.06206776201725006, 0.31868016719818115, 0.8013513088226318, -0.9118901491165161, 0.8676737546920776, 1.0098141431808472, -1.025541067123413, -0.241171732544899, -0.30073654651641846, 0.3673414885997772, -0.20230767130851746, 0.9818335771560669, 0.09455720335245132, 0.00698721082881093, -0.2946651577949524, -0.4029882848262787, -0.9403337240219116, 0.9826986789703369, -0.005717453546822071, -0.2859121859073639, -0.14018630981445312, 0.5966590046882629, 0.741996705532074, -0.29793259501457214, 0.237936332821846, 0.48672714829444885, 0.7146300673484802, 0.03227648884057999, -0.9381722807884216, 0.03884890303015709, -0.44825121760368347, -0.027367427945137024, 0.16230244934558868, -0.5593054294586182, 0.7414632439613342, -0.021399199962615967, -0.1829553097486496, -0.0006307458970695734, 0.723858654499054, 0.2218528538942337, 0.23906217515468597, -0.12194016575813293, 0.1263226568698883, 0.6635715365409851, 0.06643135845661163, 1.1175090074539185, -0.37445104122161865, 0.1086331307888031, 0.600349485874176, -0.22831586003303528, 0.5476996302604675, 0.743556559085846, -0.2441265732049942, 0.3270221948623657, 0.37441128492355347, -0.2538575232028961, 0.4216175079345703, 0.09306639432907104, -0.3543804883956909, -0.07815462350845337, -0.43848201632499695, -0.3874177932739258, 0.3297792673110962, 0.4380391538143158, -0.2480909824371338, -0.39172592759132385, 0.37801170349121094, -0.4556143879890442, 0.08321503549814224, -0.2286180704832077, 0.466606467962265, 0.2201281040906906, -0.07740390300750732, 0.19093367457389832, -0.05916869267821312, 0.4627018868923187, -0.8611078858375549, -0.44937166571617126, -0.0062718684785068035, -0.13348664343357086, 0.03677981346845627, -0.7170389890670776, 0.2709916830062866, -0.41930243372917175, -0.266327440738678, -0.4151257276535034, 0.7738642692565918, -0.8372038006782532, -0.5455840229988098, 0.42241141200065613, 0.5604379773139954, -0.11902009695768356, 0.3816402554512024, -0.6759471297264099, 0.08533164113759995, -0.25559282302856445, -0.034964669495821, 0.1848721206188202, 0.35010918974876404, 0.037574753165245056, 0.8643643260002136, 0.7537282109260559, 0.1021089181303978, 0.0767817273736, -0.30064505338668823, 0.8810878396034241, -1.1115469932556152, -0.27536651492118835, -0.6141788363456726, 0.7815548777580261, 0.17546187341213226, -0.23611919581890106, 0.7079847455024719, 0.8015813827514648, 0.9782809615135193, -0.3193080723285675, 0.9433391094207764, -0.14487233757972717, 0.2948336601257324, -0.5784720182418823, 0.5896790623664856, -0.59294193983078, -0.00692931329831481, -0.27075913548469543, -0.6976192593574524, -0.39040714502334595, 0.4259086549282074, -0.0053352671675384045, 0.29556816816329956, 0.944150984287262, 0.8373312950134277, -0.1463954746723175, 0.05777523294091225, 0.02334718219935894, 0.4095737934112549, 0.4290647804737091, 0.5891071557998657, 0.7412502765655518, -0.32557132840156555, 0.16481894254684448, -0.2725432217121124, -0.0011126369936391711, -0.3543776273727417, -0.8124703764915466, -0.792909562587738, -0.5820664167404175, -0.262452632188797, -0.145537868142128, 0.08192861825227737, 1.0503416061401367, 0.4535524547100067, -0.8176407217979431, -0.7492923736572266, -0.1349870264530182, 0.14353905618190765, -0.159758523106575, -0.1978878676891327, 0.0675443783402443, -0.18759186565876007, -0.6510308384895325, 0.6803541779518127, 0.7625053524971008, 0.43182384967803955, -0.29519781470298767, -0.09394366294145584, -0.9605634808540344, -0.027824794873595238, 0.8015201091766357, 0.7583397030830383, -0.6177288889884949, 0.10972481966018677, 0.11894414573907852, -0.381911039352417, 0.08265780657529831, 0.7376294732093811, -0.897172749042511, 0.520524799823761, 0.7285946011543274, 0.8707120418548584, 0.15004760026931763, -0.29825857281684875, 1.1370658874511719, -0.45749643445014954, -0.09045979380607605, 0.20862193405628204, 0.18168766796588898, 0.4087933599948883, -0.3251972198486328, 0.45389658212661743, 0.4206322729587555, -0.200717493891716, -0.6261163949966431, 0.16224943101406097, -1.3854272365570068, -0.6501403450965881, 0.7463067770004272, 0.5840763449668884, -0.4528595507144928, -0.14090140163898468, -0.2520614564418793, 0.46497392654418945, -0.3924430310726166, 0.5851994752883911, 0.6424458026885986, -0.2800229787826538, -0.09570625424385071, -0.747873067855835, 0.5332066416740417, 0.4593951404094696, -1.0307124853134155, 0.004761533811688423, 0.6506938338279724, -0.14638644456863403, 0.10585147142410278, 0.07883002609014511, -0.20765557885169983, 0.3145827353000641, -0.34539198875427246, 0.0571989081799984, -0.15144650638103485, -0.5412221550941467, -0.5765610933303833, 0.17511919140815735, -0.233013316988945, 0.16580255329608917 ]
http://arxiv.org/abs/2403.01518v1
http://arxiv.org/pdf/2403.01518v1
Revisiting Dynamic Evaluation: Online Adaptation for Large Language Models
2024-03-03T14:03:48
2024-03-03T14:03:48
Amal Rannen-Triki, Jorg Bornschein, Razvan Pascanu, Marcus Hutter, Andras György, Alexandre Galashov, Yee Whye Teh, Michalis K. Titsias
cs.CL
cs.CL, cs.LG
We consider the problem of online fine tuning the parameters of a language model at test time, also known as dynamic evaluation. While it is generally known that this approach improves the overall predictive performance, especially when considering distributional shift between training and evaluation data, we here emphasize the perspective that online adaptation turns parameters into temporally changing states and provides a form of context-length extension with memory in weights, more in line with the concept of memory in neuroscience. We pay particular attention to the speed of adaptation (in terms of sample efficiency),sensitivity to the overall distributional drift, and the computational overhead for performing gradient computations and parameter updates. Our empirical study provides insights on when online adaptation is particularly interesting. We highlight that with online adaptation the conceptual distinction between in-context learning and fine tuning blurs: both are methods to condition the model on previously observed tokens.
[ -0.3876391649246216, -0.9152369499206543, 0.4948715269565582, 0.2183515578508377, -0.1084110364317894, 0.24044817686080933, -0.6735210418701172, -0.7068250775337219, -0.052039988338947296, -0.06062927097082138, -0.45844966173171997, 0.2357155680656433, -0.3190814256668091, -0.15108777582645416, -0.4536948502063751, 1.0614888668060303, -0.3322264552116394, 0.06572436541318893, -0.06576671451330185, -0.250942200422287, -0.42337462306022644, -0.10874569416046143, -1.0362533330917358, -0.2794521152973175, 0.3652587831020355, -0.15944424271583557, 0.49558964371681213, 0.7811184525489807, 0.3763473629951477, 0.3349650204181671, -0.1709689050912857, -0.096890889108181, -0.7897664904594421, 0.2825092375278473, -0.172988623380661, -0.7225612998008728, -0.27425363659858704, -0.27677497267723083, 0.9164621233940125, 0.8734652996063232, -0.3265073895454407, 0.15504875779151917, -0.04994454234838486, 0.6000391244888306, -0.9962912201881409, -0.04466193914413452, -0.7363076210021973, 0.16720186173915863, 0.13806457817554474, -0.46680310368537903, -0.31439149379730225, -0.4990903437137604, 0.46128129959106445, -0.8450922966003418, 0.15659333765506744, -0.25091156363487244, 0.7777495384216309, 0.30080562829971313, -0.24444298446178436, -0.32749396562576294, -1.1748366355895996, 0.6839809417724609, -0.4829665422439575, 0.6684913039207458, 0.26812291145324707, 0.6195070147514343, -0.14172828197479248, -0.8852678537368774, -0.24360477924346924, -0.5543182492256165, 0.5011361241340637, 0.20326705276966095, 0.0390625037252903, 0.03715018182992935, 0.3271416127681732, 0.4082298278808594, 0.16904900968074799, 0.1001213863492012, -0.36382851004600525, -0.0871090218424797, 0.5826079845428467, 0.16801267862319946, 0.10618357360363007, 0.4372760057449341, -0.08288692682981491, -0.04522261023521423, -0.33530163764953613, 0.11862365156412125, 0.35619935393333435, 0.2009718269109726, -0.2520369589328766, -0.1527540534734726, -0.21737872064113617, 0.7597797513008118, 0.4112682640552521, -0.06961224973201752, 0.2571861743927002, -0.3417322635650635, 0.1043761596083641, 0.04729902744293213, 0.12241031229496002, 0.3763143718242645, 0.2757072150707245, -0.24850456416606903, -0.23475202918052673, -0.15652737021446228, 0.3110558092594147, -0.8726147413253784, -0.24597172439098358, -0.032859209924936295, -0.4997277557849884, -0.137197345495224, -0.09594987332820892, -1.0449000597000122, -0.5694553852081299, -0.425517201423645, 0.7349216938018799, -0.27468448877334595, -0.1680404096841812, 0.2807188034057617, -0.20457486808300018, 0.010612732730805874, 0.5692814588546753, -0.983386218547821, 0.574888288974762, 0.45020097494125366, 0.8665570020675659, -0.3772836923599243, -0.3132779896259308, -0.726517915725708, -0.1690550595521927, -0.28060030937194824, 0.7055238485336304, -0.6096214056015015, -0.10275492072105408, 0.10350186377763748, -0.03609037771821022, -0.23376280069351196, -0.5280892848968506, 0.1619238555431366, -0.6602275967597961, 0.14367015659809113, -0.17223139107227325, -0.5254678130149841, 0.013521512970328331, 0.027042482048273087, -0.6595652103424072, 1.1278204917907715, 0.3027457892894745, -0.5147302150726318, 0.638196587562561, -0.9369456768035889, -0.3354828953742981, -0.19621871411800385, 0.3886329233646393, -0.2299557775259018, 0.5028901696205139, 0.06339357048273087, 0.13283558189868927, 0.0010330852819606662, 0.08946854621171951, -0.5490763783454895, -0.6387490630149841, 0.5583142042160034, -0.2764571011066437, 0.5090046525001526, 0.31310245394706726, -0.46308135986328125, 0.1343069076538086, -1.0658321380615234, 0.13690103590488434, -0.14640502631664276, -0.8760891556739807, -0.34298476576805115, 0.5371209979057312, -0.05937494337558746, -0.0409776046872139, -0.00018636553431861103, -0.2925477921962738, 0.14798565208911896, -0.817238986492157, 0.7119020223617554, 0.8809565305709839, 0.057278823107481, 0.5002541542053223, -0.12518474459648132, 0.4405924379825592, -0.2801969349384308, 0.2847225069999695, -0.18169844150543213, -0.09764980524778366, -1.0808485746383667, -0.08557066321372986, 0.8098593354225159, 0.3571571707725525, -0.4307991564273834, 0.17648163437843323, -0.33622607588768005, -0.3902054727077484, -0.4107573628425598, -0.13006404042243958, 0.08269479870796204, -0.054833848029375076, 0.1611814945936203, -0.5518170595169067, -0.47010549902915955, -0.5272547006607056, -0.4806616008281708, 0.042864859104156494, -0.16235840320587158, 0.3746013343334198, 0.3904661536216736, -0.254734069108963, 0.6928182244300842, -0.3891870081424713, 0.15000203251838684, -0.15052805840969086, 0.15183693170547485, -0.16726523637771606, 0.2521643340587616, 0.6697710752487183, -0.39240574836730957, -0.36262014508247375, -0.09518728405237198, -0.24967984855175018, -0.1256195306777954, -0.4780389964580536, 0.18485699594020844, 0.11737847328186035, 0.4668605625629425, -0.18001532554626465, -0.0015561730833724141, 0.5727821588516235, -0.3135147988796234, 0.20518150925636292, -0.6192895174026489, 0.19670920073986053, -0.9161612391471863, -0.14561481773853302, -0.16129067540168762, -0.2754898965358734, -0.5122044086456299, 0.4022899866104126, 0.03715123236179352, -0.05582257732748985, -0.595770001411438, 0.7368516325950623, -0.6500281691551208, -0.3023868501186371, -0.2841791808605194, 0.25056833028793335, -0.13531272113323212, 0.14859770238399506, -0.47921282052993774, 0.7194207310676575, 0.6254068613052368, -0.827793538570404, 0.3594653904438019, -0.1956275999546051, -0.667676568031311, 0.29757606983184814, -0.16760565340518951, 0.26154083013534546, -0.11164484173059464, 0.3674243986606598, -0.6491208672523499, -0.13508188724517822, -0.024362407624721527, -0.00837424211204052, 0.3502766191959381, 0.23967435956001282, -0.2827008366584778, -0.03574361279606819, -0.40385332703590393, 0.5940476059913635, 0.3687165379524231, -0.4598682224750519, 0.4604223966598511, 0.30579888820648193, 0.2692718207836151, -0.11703471839427948, -0.5099540948867798, -0.13592514395713806, -0.3716999590396881, -0.14931820333003998, 0.5429273247718811, -0.2352091521024704, -0.4533044397830963, -0.04952484369277954, -0.02069716341793537, -0.31988370418548584, 0.7097702622413635, -0.023231500759720802, -0.22141693532466888, -0.31205204129219055, 0.3407760262489319, 0.0335056371986866, 0.16699494421482086, 0.04036364704370499, -0.116121806204319, 0.4480375647544861, -0.07258825749158859, -0.11578063666820526, -0.3577403426170349, 0.11596367508172989, 0.4471684396266937, -0.010855155065655708, 0.7722875475883484, 0.6280003786087036, -0.5373881459236145, -0.42970436811447144, -0.3893715441226959, -0.3803195059299469, -0.47726577520370483, 0.634876012802124, -0.39057978987693787, -0.8249946236610413, 0.7954781651496887, -0.5114322304725647, -0.31159454584121704, 0.4748149812221527, 0.6704282164573669, -0.01828913204371929, 0.8930099606513977, 0.8915581107139587, 0.2948685586452484, 0.885344922542572, 0.08246789127588272, 0.19651824235916138, -0.752666175365448, 0.002174219349399209, -0.2854786217212677, -0.5828728675842285, -0.8426687717437744, -0.32889214158058167, 0.21416422724723816, 0.40317365527153015, -0.11848221719264984, 0.03312965855002403, -0.14169786870479584, 0.6055827736854553, 0.009881893172860146, 0.35129013657569885, -0.015180312097072601, -0.07711615413427353, -0.056481678038835526, -0.1611921191215515, -0.6556164622306824, 0.17078885436058044, 0.9666855931282043, 0.478702187538147, 0.5336464047431946, -0.04367624968290329, -0.08571714162826538, 0.3598489463329315, 0.23470351099967957, -0.8523799180984497, 0.36292195320129395, 0.08731835335493088, -0.6503592133522034, -0.13162924349308014, -0.1975952386856079, -1.029215931892395, 0.030960634350776672, -0.3395657241344452, -0.8182408213615417, 0.15289060771465302, 0.2950764000415802, -0.6393068432807922, 0.22655336558818817, -0.6668118238449097, 0.6746392250061035, -0.5313175320625305, -0.5226364731788635, -0.7983277440071106, -0.4372158348560333, 0.13834688067436218, -0.5750666856765747, 0.13374553620815277, -0.026096966117620468, -0.19894056022167206, 0.8764212131500244, -0.052268002182245255, 0.7771236300468445, -0.20217080414295197, 0.1941918432712555, 0.03228320926427841, 0.15426555275917053, 0.49984583258628845, -0.16882790625095367, -0.3207576274871826, 0.017180083319544792, 0.3261251747608185, -0.22036558389663696, -0.8570374846458435, 0.7774887681007385, -0.7021031975746155, -0.38771864771842957, -0.362455278635025, -0.6333164572715759, -0.41581493616104126, 0.019861513748764992, -0.18250128626823425, 0.44927605986595154, -0.2108604609966278, 0.2966919541358948, 0.49502670764923096, -0.5574160814285278, 0.4535087049007416, 0.5008388757705688, -0.2605338394641876, -0.23294185101985931, 0.8621370196342468, 0.303791344165802, 0.643405556678772, 0.3544256389141083, 0.602590024471283, -0.24767403304576874, -0.7167576551437378, -0.45243605971336365, 0.15860387682914734, -0.9621314406394958, 0.33894073963165283, -0.24176737666130066, -0.05034993216395378, 0.08845531195402145, -0.22297869622707367, -0.4611707925796509, -0.5713862776756287, -0.3459020256996155, -0.07097353786230087, 0.5320484638214111, 0.7179268002510071, 0.07171269506216049, 0.3355501592159271, -0.5708015561103821, 0.003751461859792471, 0.10601359605789185, 0.7896333336830139, 0.10193854570388794, -0.7900483012199402, -0.6178240180015564, -0.027239801362156868, -0.4209052324295044, -0.7679495811462402, 0.09761350601911545, 0.84394371509552, 0.7034761309623718, 0.44325605034828186, -0.055715881288051605, 1.081011414527893, -0.6426168084144592, 0.7430130243301392, -0.19046036899089813, -1.0484083890914917, 0.37102019786834717, -0.32101866602897644, 0.448498010635376, 0.6069900989532471, 0.4155844449996948, -0.4789091944694519, -0.10610965639352798, -0.3881995677947998, -0.8358924388885498, 0.5188910365104675, -0.2117607146501541, 0.574974775314331, 0.28567489981651306, 0.813875675201416, 0.35927635431289673, 0.28074705600738525, -0.4122893512248993, -0.015581821091473103, -0.034635163843631744, 0.09244481474161148, -0.10121827572584152, -0.3308318853378296, -0.0013959313509985805, -0.6952998638153076, 0.1768004298210144, -0.2913323640823364, 0.5672195553779602, -0.11636094748973846, -0.12250373512506485, -0.3343530297279358, 0.1933361291885376, 0.8180311322212219, 1.2270679473876953, -0.21353623270988464, -0.05093635618686676, 0.8230782747268677, -0.2090281844139099, -0.027142584323883057, -0.15426334738731384, -0.035639774054288864, -0.3271048367023468, 0.45934927463531494, 1.317141056060791, 0.7542107105255127, -0.7417857050895691, 0.3574654757976532, 0.006297629792243242, -0.002845081267878413, -0.36774736642837524, 0.24847780168056488, -0.13911692798137665, 0.25322529673576355, 0.2245747447013855, 0.08926238864660263, 0.13624171912670135, -0.9181250333786011, 0.28694114089012146, 0.20064783096313477, -0.4892607033252716, -0.658389151096344, 0.6757203936576843, 0.24836158752441406, -0.4630516469478607, 0.3667430281639099, -0.03737332299351692, -0.4922727942466736, 0.38259515166282654, 0.7960106134414673, 0.9944051504135132, -0.3282328248023987, -0.1567547619342804, 0.32571882009506226, -0.11764775216579437, -0.23056583106517792, 0.15520796179771423, -0.10776545852422714, -0.524661660194397, -0.49361076951026917, -0.9346288442611694, -0.30032649636268616, 0.16315051913261414, -0.5451499819755554, 0.2755260467529297, -0.6700231432914734, -0.19852082431316376, -0.07881736010313034, -0.2186891883611679, -0.3672877550125122, 0.33142295479774475, 0.20117631554603577, 0.9570459723472595, -0.6998180150985718, 0.8128125071525574, 0.451471745967865, 0.08190227299928665, -0.4821810722351074, 0.3802710175514221, -0.2247338891029358, -0.46305224299430847, 0.5429974794387817, 0.12458112835884094, -0.002155182184651494, 0.06732537597417831, -0.028240153566002846, -1.1563721895217896, 0.8451928496360779, 0.7350216507911682, -0.48036277294158936, 0.16995128989219666, -0.2029208093881607, 1.029613733291626, -0.2931845784187317, 0.5365527272224426, 0.6248484253883362, 0.3400968313217163, -0.2509206533432007, -1.205115556716919, 0.00757228210568428, -0.024272548034787178, 0.007251621689647436, 0.3552665412425995, -0.6319097280502319, 0.7582297325134277, -0.10957390815019608, -0.37786227464675903, -0.1524760127067566, 0.43404316902160645, -0.38465723395347595, 0.07541428506374359, 0.5801917910575867, 0.31063446402549744, 0.8045738339424133, -0.12310350686311722, 1.3665993213653564, -0.36271461844444275, 0.4062183201313019, 0.8784436583518982, -0.2922048568725586, 1.0847527980804443, 0.4539012610912323, -0.3933762013912201, 0.6178463697433472, 0.9591237902641296, -0.019299674779176712, 0.6756134033203125, 0.47023504972457886, -0.08315400034189224, -0.2662523686885834, -0.05650170147418976, -0.4173724949359894, 0.36946579813957214, 0.1818782389163971, -0.30859532952308655, -0.28968513011932373, 0.18161322176456451, -0.24308793246746063, 0.08842504769563675, -0.5222508907318115, 0.6406999826431274, -0.04534221068024635, -0.7497294545173645, 0.8329934477806091, 0.19707593321800232, 0.32350829243659973, -0.5579502582550049, 0.21824142336845398, 0.06264989823102951, 0.6806982755661011, -0.045372311025857925, -0.4177384078502655, 0.5363126397132874, -0.3487756550312042, -0.05524389445781708, -0.14342878758907318, 0.5199606418609619, 0.01187181193381548, -0.4808475971221924, 0.6295283436775208, 0.27918070554733276, 0.11192699521780014, 0.16292844712734222, -0.8410189151763916, 0.30237236618995667, -0.2257043719291687, -0.3904680013656616, 0.6922188997268677, 0.14665964245796204, -0.29497838020324707, 0.8910109400749207, 0.6088066697120667, 0.2864329516887665, 0.501494288444519, 0.21403363347053528, 0.8231365084648132, -0.47871941328048706, -0.5821064114570618, -0.8479790687561035, 0.39018386602401733, 0.1835167557001114, -0.5114014744758606, 0.5476052165031433, 0.4238635003566742, 1.1223772764205933, -0.1372847706079483, 0.5193894505500793, 0.11577094346284866, 0.28003302216529846, -0.6943643093109131, 0.74867182970047, -0.8271970152854919, 0.01670931838452816, -0.032335251569747925, -0.9571824073791504, -0.31068918108940125, 0.5176588296890259, -0.43744856119155884, 0.1274752914905548, 1.0501940250396729, 0.5072952508926392, -0.25149744749069214, -0.12363165616989136, 0.22271591424942017, 0.30516451597213745, 0.04115196689963341, 0.40964198112487793, 0.8620597720146179, -0.5468519926071167, 0.16837961971759796, -0.07760577648878098, -0.12699992954730988, -0.30424198508262634, -1.1138489246368408, -0.7693800330162048, -0.5884050726890564, -0.47923964262008667, -0.2440895140171051, 0.4594394862651825, 1.030024528503418, 0.5979359745979309, -0.9841845035552979, -0.3570918142795563, -0.07254672050476074, -0.4247089624404907, -0.5426808595657349, -0.17842501401901245, 0.21731047332286835, -0.33734825253486633, -0.768648087978363, 0.5687488913536072, 0.2088138908147812, -0.23689378798007965, -0.4584518373012543, -0.0876552015542984, -0.1919899433851242, 0.26841050386428833, 0.5715126991271973, 0.1494840830564499, -0.6697707772254944, -0.5954285264015198, -0.3358839452266693, 0.23714452981948853, 0.33603614568710327, 0.8600813150405884, -0.6876604557037354, 0.8447778820991516, 0.7200232148170471, 1.0325580835342407, 0.6790603399276733, -0.05491049960255623, 0.803209662437439, -0.24552159011363983, 0.19170095026493073, -0.059939004480838776, 0.11624541878700256, 0.3105944097042084, -0.1644221991300583, 0.0550009086728096, 0.41197919845581055, -0.5558974146842957, -1.1244125366210938, 0.20921938121318817, -0.7412344813346863, -0.2543427646160126, 1.1249268054962158, -0.07117482274770737, -0.20033693313598633, -0.03670244291424751, 0.06412092596292496, 0.37977609038352966, -0.11104852706193924, 1.206291675567627, 0.8200056552886963, -0.11679669469594955, -0.1284393072128296, -1.0113577842712402, 0.6919971704483032, 0.32956358790397644, -0.8069412112236023, -0.03734468296170235, 0.18718133866786957, 0.4663812220096588, -0.08374181389808655, 0.25377723574638367, 0.2936113178730011, 0.2585201561450958, -0.024553224444389343, -0.2579507529735565, 0.19810977578163147, -0.3602065145969391, -0.8394976854324341, 0.14797434210777283, 0.37831905484199524, -0.056581005454063416 ]
http://arxiv.org/abs/2403.01509v2
http://arxiv.org/pdf/2403.01509v2
Fantastic Semantics and Where to Find Them: Investigating Which Layers of Generative LLMs Reflect Lexical Semantics
2024-03-03T13:14:47
2024-06-09T13:07:50
Zhu Liu, Cunliang Kong, Ying Liu, Maosong Sun
cs.CL
cs.CL
Large language models have achieved remarkable success in general language understanding tasks. However, as a family of generative methods with the objective of next token prediction, the semantic evolution with the depth of these models are not fully explored, unlike their predecessors, such as BERT-like architectures. In this paper, we specifically investigate the bottom-up evolution of lexical semantics for a popular LLM, namely Llama2, by probing its hidden states at the end of each layer using a contextualized word identification task. Our experiments show that the representations in lower layers encode lexical semantics, while the higher layers, with weaker semantic induction, are responsible for prediction. This is in contrast to models with discriminative objectives, such as mask language modeling, where the higher layers obtain better lexical semantics. The conclusion is further supported by the monotonic increase in performance via the hidden states for the last meaningless symbols, such as punctuation, in the prompting strategy. Our codes are available at https://github.com/RyanLiut/LLM_LexSem.
[ -0.3984166979789734, -0.6334599256515503, 0.8847746849060059, 0.03521352261304855, -0.29417625069618225, 0.3672008514404297, -0.05652061477303505, -0.37758392095565796, 0.21883054077625275, 0.5708269476890564, -0.71419358253479, -0.7856848239898682, -0.644394040107727, 0.0654163807630539, -0.370140016078949, 0.7881594896316528, 0.09219993650913239, -0.20140831172466278, -0.18169139325618744, 0.06793922185897827, -0.2474532425403595, -0.6969351768493652, -0.35184189677238464, -0.632537841796875, 0.4505099356174469, 0.258206307888031, 0.8647864460945129, 0.7325445413589478, 0.20052330195903778, 0.20264913141727448, -0.7632567882537842, 0.28147947788238525, -0.5121643543243408, 0.17750424146652222, -0.17212516069412231, -0.7730755805969238, -0.18232619762420654, -0.22200222313404083, 0.5940101146697998, 0.7338780760765076, -0.12841229140758514, -0.037843283265829086, -0.10121607035398483, 0.3409843146800995, -0.738472580909729, 0.29714590311050415, -0.8290886878967285, 0.25971686840057373, -0.41409826278686523, -0.42358317971229553, -0.2577474117279053, -0.09529004245996475, 0.07789602875709534, -0.45966988801956177, 0.15825045108795166, 0.11215081065893173, 0.8380118012428284, 0.2884126305580139, -0.20792576670646667, -0.5521664023399353, -0.44376370310783386, 0.7061159014701843, -0.5122467279434204, 0.28359222412109375, 0.43240800499916077, 0.07855258882045746, -0.32128530740737915, -0.5626972913742065, -0.6075097918510437, -0.6475792527198792, -0.020441094413399696, 0.2086809128522873, -0.46070581674575806, 0.14034558832645416, 0.1256849616765976, 0.5296489000320435, -0.13754938542842865, 0.519844651222229, 0.07196158915758133, -0.4320184290409088, 0.12581202387809753, 0.18645812571048737, 0.40215766429901123, -0.3351195454597473, -0.6379868388175964, 0.09597859531641006, -1.0570883750915527, -0.25915834307670593, 0.3346540331840515, 0.09205705672502518, -0.3287668526172638, 0.7355809211730957, -0.052399203181266785, 0.4213095009326935, -0.4400143623352051, -0.06255219876766205, 0.3835703730583191, -0.42301246523857117, 0.07856013625860214, 0.17610055208206177, 0.2665298283100128, -0.05810561403632164, 0.22130772471427917, -0.3269227147102356, -0.4420911371707916, 0.3418714702129364, 0.02888520434498787, -0.47410285472869873, -0.15377356112003326, -0.11512482166290283, -0.21555261313915253, -0.37624379992485046, -0.12332471460103989, -0.1507466584444046, -0.515575647354126, -0.2844487428665161, 0.19958554208278656, -0.4930512309074402, -0.27918723225593567, 0.24668745696544647, -0.15087667107582092, 0.6143205165863037, 0.268881231546402, -0.8955885171890259, 0.28800415992736816, 1.0539124011993408, 0.895093560218811, -0.16915786266326904, -0.18795663118362427, -0.3836748003959656, 0.14320795238018036, -0.7989933490753174, 0.9433631300926208, -0.7952897548675537, -0.3014819025993347, 0.13116170465946198, 0.0048299930058419704, 0.19491367042064667, -0.7712080478668213, 0.6942235231399536, -0.7226415872573853, 0.08258850872516632, -0.4888879060745239, -0.47465795278549194, -0.2607412338256836, 0.1983775943517685, -0.4672694802284241, 1.1335020065307617, -0.01741386577486992, -0.7715937495231628, 0.32923415303230286, -0.6062374711036682, -0.26013126969337463, 0.2292252480983734, -0.17708948254585266, -0.14998404681682587, 0.6648902893066406, 0.19256135821342468, 0.568050742149353, -0.3671068251132965, -0.013781663961708546, -0.17984354496002197, -0.4591433107852936, 0.4281782805919647, -0.2930760979652405, 0.7131298780441284, 0.11922026425600052, -0.4652247428894043, -0.03063841350376606, -0.6979660391807556, -0.23577624559402466, 0.30078789591789246, -0.34716174006462097, -0.4476163387298584, 0.13049201667308807, -0.243935689330101, 0.051437728106975555, 0.37701207399368286, -0.43918174505233765, -0.06609530746936798, -0.4664822220802307, 0.5201285481452942, 0.8264399766921997, -0.03757661208510399, 0.3521665632724762, -0.13663075864315033, 0.5124189257621765, 0.1644454151391983, -0.23128001391887665, -0.2175462543964386, -0.5720219016075134, -0.9401324987411499, -0.2278990000486374, 0.12712261080741882, 0.4224257469177246, -0.5786095857620239, 0.3895920515060425, -0.1249045878648758, -0.1946636587381363, -0.40003708004951477, 0.25824734568595886, 0.6272960305213928, 0.2802024185657501, 0.23562879860401154, -0.2955147624015808, -0.22928358614444733, -1.1631910800933838, 0.10850851237773895, -0.36937904357910156, -0.03695381060242653, 0.20486608147621155, 0.3585009276866913, -0.5442746877670288, 0.6314586400985718, -0.33536750078201294, -0.007919849827885628, -0.47759881615638733, -0.04675361514091492, 0.10239897668361664, 0.08753567934036255, 0.4166164994239807, -0.34281590580940247, 0.2462553083896637, 0.013816495425999165, -0.6804814338684082, -0.44101035594940186, 0.05837076157331467, -0.3465782105922699, 0.0766667053103447, 0.39146292209625244, -0.6134956479072571, 0.031159447506070137, 0.4633103907108307, -0.126528799533844, 0.5317869782447815, -0.13737289607524872, -0.44831666350364685, -0.952232837677002, -0.17029842734336853, -0.2747216820716858, -0.15299850702285767, -0.6455602645874023, 0.38457825779914856, 0.15744921565055847, 0.21402615308761597, -0.26409733295440674, 0.3680037260055542, -0.7712944149971008, -0.4472983479499817, -0.2955766022205353, 0.33138272166252136, -0.08492550998926163, 0.3199714720249176, 0.12086635082960129, 0.9424036741256714, 0.8514503240585327, -0.4973442554473877, 0.012689106166362762, 0.14771217107772827, -0.5344418883323669, 0.10453689843416214, -0.36580100655555725, 0.19488100707530975, -0.249650239944458, 0.2005956768989563, -0.9767097234725952, -0.23676292598247528, 0.018471362069249153, -0.40887582302093506, 0.25629398226737976, 0.06925685703754425, -0.7734849452972412, -0.35360223054885864, -0.4563963711261749, 0.21680942177772522, 0.5588276982307434, -0.6444007158279419, 0.1908612847328186, 0.5035775899887085, -0.005340716801583767, -0.5011283159255981, -0.8213528990745544, 0.38141903281211853, -0.12792323529720306, -0.21312500536441803, 0.4224530756473541, 0.13192443549633026, -0.3334222733974457, -0.09966091811656952, -0.10674358159303665, 0.4132999777793884, 0.3762407600879669, 0.2082909643650055, 0.24235594272613525, -0.38328754901885986, 0.1301640421152115, 0.2685840427875519, -0.24999256432056427, 0.3415025770664215, -0.4384605884552002, 0.8792376518249512, -0.31146255135536194, -0.20605047047138214, -0.5010871291160583, 0.027631042525172234, 0.4721837639808655, -0.21038740873336792, 0.7165334224700928, 0.536395788192749, -0.5158655643463135, -0.4057152569293976, -0.5434376001358032, -0.04132159799337387, -0.44489428400993347, 0.4601443111896515, -0.5295525193214417, -1.0343270301818848, 0.729795515537262, -0.01320724468678236, -0.22301051020622253, 0.3263288736343384, 0.9054742455482483, 0.09150026738643646, 0.8154364824295044, 0.633050799369812, 0.10128938406705856, 0.18275107443332672, -0.33567047119140625, 0.002073079813271761, -0.857642650604248, -0.4800928235054016, -0.2900054156780243, 0.011335093528032303, -0.658812940120697, -0.4833790063858032, 0.24437303841114044, 0.45017126202583313, 0.0029225365724414587, 0.3740406632423401, -0.27769213914871216, 0.5991854667663574, 0.49480047821998596, 0.04825441166758537, 0.2767736315727234, 0.26122766733169556, -0.5638911724090576, 0.18121972680091858, -0.6288096904754639, -0.5775289535522461, 0.7513565421104431, 0.5756924748420715, 0.6547255516052246, 0.23115257918834686, 0.8173933625221252, 0.1183205246925354, 0.062965027987957, -0.8726473450660706, 0.7420582175254822, -0.07431197911500931, -0.3600553870201111, 0.13229359686374664, -0.16222693026065826, -0.7942144274711609, 0.18596139550209045, -0.07896868139505386, -0.732405424118042, -0.027680855244398117, -0.028336811810731888, -0.2449408918619156, 0.22556106746196747, -0.4671466052532196, 0.4657202661037445, -0.11604717373847961, -0.23325279355049133, -0.28302767872810364, -0.5262590646743774, 0.35336464643478394, -0.0073541137389838696, 0.09338191896677017, -0.35288846492767334, -0.5287432670593262, 0.5674267411231995, -0.3849889934062958, 0.7676227688789368, 0.048395369201898575, -0.510695219039917, 0.3033025562763214, 0.380271315574646, 0.4613807499408722, -0.049268078058958054, 0.03781731799244881, 0.26278162002563477, -0.32647979259490967, -0.462738037109375, -0.3869081735610962, 0.8588773608207703, -0.7875681519508362, -0.7623076438903809, -0.19869963824748993, -0.39389753341674805, -0.25681328773498535, -0.008776330389082432, 0.2842375934123993, 0.5673732161521912, 0.2531892657279968, 0.017265044152736664, 0.7167587280273438, -0.36882123351097107, 0.3429567813873291, 0.21546833217144012, -0.11718413233757019, 0.0021690858993679285, 0.8698665499687195, -0.1691998541355133, 0.33562690019607544, 0.685447633266449, 0.3662409484386444, -0.5478091239929199, -0.8172401189804077, -0.2899894118309021, 0.43180808424949646, -0.9328687787055969, -0.15961450338363647, -0.4683067798614502, -0.30266886949539185, -0.0967612937092781, -0.11030924320220947, -0.19923236966133118, -0.39061275124549866, -0.5969741940498352, -0.47483885288238525, 0.22653979063034058, 0.9646188616752625, -0.12460179626941681, 0.23530344665050507, -0.35686805844306946, 0.08853717148303986, 0.16711296141147614, 0.24514271318912506, 0.07517483830451965, -0.5783281326293945, 0.15239045023918152, -0.391964852809906, -0.04844067618250847, -0.7894478440284729, 0.10130403190851212, 0.22307293117046356, 0.5372289419174194, 0.5522825717926025, -0.26173195242881775, 0.4943608045578003, -0.44844046235084534, 0.8122837543487549, 0.19717468321323395, -0.7996383905410767, 0.4403243660926819, -0.25514233112335205, 0.4253614544868469, 0.2880125641822815, 0.32392042875289917, -0.389171302318573, -0.5328474044799805, -0.28448352217674255, -0.7184486985206604, 0.6017579436302185, 0.26753008365631104, 0.6580095291137695, -0.3359866142272949, 0.4475833773612976, 0.41082116961479187, 0.14592264592647552, -0.7100937366485596, -0.26092666387557983, -0.017048968002200127, -0.005515743512660265, 0.10505848377943039, -0.7043377757072449, -0.04759472608566284, 0.08684723824262619, 0.270999938249588, -0.03246062621474266, 0.4272840619087219, -0.0575922466814518, -0.1769765019416809, 0.23297595977783203, 0.42726215720176697, 0.5511804223060608, 0.6205658912658691, 0.09878160059452057, 0.6879317760467529, 0.21298068761825562, -0.4263072609901428, -0.14426612854003906, -0.08047150820493698, -0.10845191776752472, -0.06672732532024384, 0.8134927153587341, 1.0301822423934937, 0.539825975894928, -0.695303738117218, 0.45101988315582275, 0.44216471910476685, -0.15938718616962433, -0.5033124089241028, 0.32645663619041443, 0.19675065577030182, 0.3057670295238495, 0.42417481541633606, -0.3424903452396393, 0.14706897735595703, -0.7143303751945496, 0.0725448802113533, 0.5898957848548889, -0.29581761360168457, -0.4738612174987793, 0.6924278736114502, -0.23594419658184052, -0.0643240362405777, 0.346004843711853, -0.49590739607810974, -0.7754133343696594, 0.3454745411872864, 0.751733660697937, 0.7629803419113159, 0.3050019145011902, 0.3720364570617676, 0.01915094628930092, 0.23653633892536163, 0.211584210395813, 0.251497745513916, -0.4355038106441498, -0.8592569828033447, -0.27384087443351746, -0.9211103320121765, -0.23279711604118347, 0.14648878574371338, -0.4148835837841034, 0.12442538887262344, -0.4089781939983368, 0.033345289528369904, 0.03199229761958122, -0.17049136757850647, -0.5727699398994446, -0.13643576204776764, 0.8017321228981018, 0.8849778771400452, -0.4552455246448517, 0.7504124641418457, 0.631012499332428, -0.25741273164749146, -0.47004953026771545, 0.07435797154903412, 0.059461332857608795, -1.493375301361084, 0.7451549172401428, 0.28380918502807617, -0.47597581148147583, 0.1930997222661972, -0.624359130859375, -0.9844627976417542, 1.0049054622650146, 0.4741053581237793, -0.42564108967781067, -0.23282960057258606, 0.3441629707813263, 0.6351141333580017, -0.2581915855407715, 0.31834664940834045, 0.665531575679779, 0.14934813976287842, 0.2656542658805847, -0.4749370217323303, 0.13863427937030792, -0.09976043552160263, 0.5718254446983337, 0.07073910534381866, -0.35363492369651794, 0.6447560787200928, -0.4575744569301605, -0.6532734036445618, 0.3491380512714386, 0.7090211510658264, 0.37424802780151367, -0.0016368725337088108, 0.23616565763950348, 0.7345265746116638, 0.6217289566993713, -0.1783616989850998, 1.1823315620422363, -0.29178401827812195, 0.2952486276626587, 0.6134907007217407, -0.13645586371421814, 0.8025195002555847, 0.32669317722320557, -0.06966345757246017, 0.8421550393104553, 0.8635963797569275, 0.1665537804365158, 0.6137126088142395, 0.4497838020324707, -0.44541871547698975, -0.40073370933532715, -0.36148136854171753, -0.35748982429504395, 0.4569619297981262, 0.6709766983985901, -0.30537766218185425, -0.3539718985557556, -0.07823678106069565, 0.2083212435245514, -0.07179223001003265, -0.4740039110183716, 0.9081236124038696, 0.07370592653751373, -0.3823983073234558, 0.8713094592094421, -0.046773746609687805, 0.6578596830368042, -0.44983503222465515, 0.045914746820926666, -0.5296526551246643, -0.04309511557221413, -0.1852881759405136, -0.9127172231674194, -0.09906405210494995, -0.12783779203891754, 0.12400364130735397, 0.006275918800383806, 0.6857646703720093, -0.17891880869865417, -0.3935806453227997, 0.6765289306640625, 0.5566048622131348, 0.2453141063451767, 0.3009301722049713, -0.5695245265960693, 0.23501332104206085, -0.3568072021007538, -0.19730877876281738, 0.08071666955947876, 0.45938795804977417, -0.08344598114490509, 0.5453945398330688, 0.5263171792030334, 0.07060777395963669, 0.3525680601596832, 0.35227149724960327, 0.8971052169799805, -0.5919699668884277, -0.42110446095466614, -0.932663083076477, 0.13045525550842285, 0.13471706211566925, -0.41657519340515137, 0.5116748213768005, 0.42896345257759094, 0.9441943764686584, 0.051026348024606705, 0.4766116440296173, 0.21574082970619202, 0.17969386279582977, -0.8678389191627502, 0.4441834092140198, -0.6410395503044128, 0.421857625246048, -0.05212264880537987, -1.1934291124343872, -0.3921970725059509, 0.27291926741600037, -0.2107820063829422, -0.1997404396533966, 0.6389553546905518, 1.002604365348816, -0.0016685010632500052, 0.09184262156486511, 0.337443470954895, 0.5094365477561951, 0.010022005997598171, 0.5145887732505798, 1.3508039712905884, 0.16017404198646545, 0.08309431374073029, -0.23682205379009247, -0.34180906414985657, -0.08874160796403885, -0.6141255497932434, -0.7707954049110413, -0.6279200315475464, -0.13633441925048828, -0.15305350720882416, 0.23621582984924316, 0.7350560426712036, 0.40650200843811035, -0.7917447686195374, -0.07974842190742493, -0.5415306091308594, 0.07377922534942627, 0.1918361335992813, -0.21658208966255188, 0.35347771644592285, -0.6418783664703369, -0.4685060977935791, 0.4810863733291626, 0.4442507028579712, -0.04231114685535431, -0.5282905101776123, -0.016720551997423172, 0.13076160848140717, 0.043452031910419464, 0.8401587605476379, 0.05254535377025604, -1.213649868965149, -0.38408827781677246, 0.03084798902273178, -0.15664948523044586, -0.051191430538892746, 0.6746072769165039, -0.7328788042068481, 0.2695205509662628, 0.26621028780937195, 0.7932384014129639, 0.446219801902771, -0.2489733099937439, 0.1899953931570053, -0.5639588832855225, 0.0013610413298010826, 0.07526267319917679, 0.4448782801628113, 0.4127095341682434, -0.10583477467298508, 0.3961421847343445, 0.38320139050483704, -0.0743991881608963, -0.817246675491333, 0.3454575538635254, -0.8620738387107849, -0.21664372086524963, 1.3565690517425537, 0.1602398157119751, -0.22570939362049103, 0.0958206057548523, -0.04987126961350441, 0.018511099740862846, -0.14209258556365967, 0.6613377332687378, 0.6523869037628174, -0.2768605947494507, -0.25449469685554504, -0.6210160255432129, 0.4129696786403656, 0.4780050814151764, -0.6274124383926392, 0.028307201340794563, 0.4998263716697693, 0.06648517400026321, 0.3273136019706726, 0.2829331159591675, -0.2355073243379593, 0.09936172515153885, -0.08128050714731216, -0.3064403235912323, 0.012318329885601997, -0.4373193085193634, -0.26008373498916626, 0.17639599740505219, 0.3003069758415222, -0.15699125826358795 ]
http://arxiv.org/abs/2403.01481v1
http://arxiv.org/pdf/2403.01481v1
Infusing Knowledge into Large Language Models with Contextual Prompts
2024-03-03T11:19:26
2024-03-03T11:19:26
Kinshuk Vasisht, Balaji Ganesan, Vikas Kumar, Vasudha Bhatnagar
cs.CL
cs.CL
Knowledge infusion is a promising method for enhancing Large Language Models for domain-specific NLP tasks rather than pre-training models over large data from scratch. These augmented LLMs typically depend on additional pre-training or knowledge prompts from an existing knowledge graph, which is impractical in many applications. In contrast, knowledge infusion directly from relevant documents is more generalisable and alleviates the need for structured knowledge graphs while also being useful for entities that are usually not found in any knowledge graph. With this motivation, we propose a simple yet generalisable approach for knowledge infusion by generating prompts from the context in the input text. Our experiments show the effectiveness of our approach which we evaluate by probing the fine-tuned LLMs.
[ -0.21352607011795044, -0.8316349983215332, 0.8524048328399658, 0.00021857238607481122, -0.23523126542568207, 0.09192358702421188, -0.21261434257030487, -0.490499347448349, 0.27349168062210083, 0.7533973455429077, -0.6285027861595154, -0.2825855016708374, -0.37272047996520996, 0.21939128637313843, -0.34663137793540955, 0.9905471801757812, -0.008108340203762054, -0.02148725651204586, -0.8752862215042114, 0.1955498605966568, -0.5641237497329712, -0.6776972413063049, -0.7772334218025208, -0.6728007793426514, 0.503978431224823, 0.4535596966743469, 0.3027394413948059, 0.19488437473773956, 0.1466597318649292, 0.19116008281707764, -0.16283003985881805, 0.5962823629379272, -0.24964511394500732, 0.370606005191803, -0.34812596440315247, -0.3621438443660736, -0.23425734043121338, -0.22228273749351501, 0.6510143876075745, 1.0391215085983276, 0.14114922285079956, -0.1502537727355957, 0.5198719501495361, 0.4171237647533417, -0.5176393985748291, -0.09333021938800812, -0.6292157173156738, -0.06626208126544952, -0.22440990805625916, -0.5585298538208008, -0.4177128076553345, -0.3305208384990692, 0.6768596172332764, -0.6151314973831177, -0.01673959568142891, 0.20256996154785156, 0.6622158885002136, 0.20168817043304443, -0.4279312193393707, -0.5125502347946167, -0.5905998945236206, 0.5933017730712891, -0.7470657825469971, 0.2053295522928238, 0.309271901845932, 0.26342296600341797, -0.34673553705215454, -0.986699640750885, -0.7716348767280579, -0.21318985521793365, -0.3887222409248352, -0.18319258093833923, 0.043808095157146454, 0.13807690143585205, 0.32740136981010437, 0.14367206394672394, -0.31900715827941895, 0.04078259691596031, 0.15789227187633514, -0.07733061164617538, 0.13064377009868622, 0.269001305103302, 0.5035735368728638, -0.08089321106672287, -0.5034124255180359, 0.1350879967212677, -1.0802645683288574, 0.006117478013038635, 0.03880513459444046, 0.44321927428245544, 0.09771332889795303, 0.5602554678916931, -0.25533100962638855, 1.2933359146118164, 0.10387635231018066, -0.4216584265232086, 0.018673298880457878, -0.5206229090690613, -0.30032050609588623, 0.12366948276758194, 0.5636101961135864, 0.2631780207157135, 0.21403460204601288, -0.36466988921165466, -0.13648740947246552, -0.37263205647468567, -0.031115999445319176, -1.0183509588241577, 0.10696551203727722, 0.2944521903991699, 0.13167154788970947, -0.19660300016403198, -0.2097187340259552, -0.5830063223838806, -0.700514018535614, -0.37065449357032776, 0.3258365988731384, -0.549701988697052, 0.07346569746732712, 0.15018002688884735, -0.4458805322647095, 0.26033708453178406, 0.5183967351913452, -1.1169439554214478, -0.09270323067903519, 0.4528461992740631, 0.7172057628631592, -0.2914573550224304, -0.23868310451507568, -0.49000605940818787, 0.6592915058135986, -0.09163842350244522, 1.101925015449524, -0.7127368450164795, -0.33623525500297546, 0.43907591700553894, -0.005215117707848549, 0.10738328844308853, -0.5559589266777039, 0.33852681517601013, -0.6996608972549438, 0.40089601278305054, -0.44203686714172363, -1.006581425666809, -0.1237422451376915, 0.4984269142150879, -0.20236201584339142, 1.0784927606582642, 0.4151110351085663, -0.7213987112045288, 0.4972922205924988, -0.7980703115463257, -0.43101435899734497, 0.334628701210022, -0.1995096355676651, 0.2452557533979416, -0.21674294769763947, 0.5732596516609192, 0.7306215167045593, -0.4154989421367645, 0.5209453701972961, -0.30919545888900757, -0.037579406052827835, 0.2701382637023926, -0.20604397356510162, 0.8736009001731873, 0.02003907971084118, -0.06020501255989075, 0.04006708785891533, -0.6118469834327698, -0.09214535355567932, -0.03869503736495972, -0.40139201283454895, -0.5953003764152527, -0.2757510840892792, -0.303581178188324, 0.044613614678382874, 0.28507673740386963, -0.37731409072875977, 0.6185166835784912, -0.903215229511261, 0.48178908228874207, 0.5006200671195984, 0.5468299984931946, 0.8762971758842468, -0.12783512473106384, 0.4480559229850769, 0.03064570389688015, -0.12812724709510803, -0.3557877242565155, -0.4507808983325958, -0.6355041861534119, -0.4485413432121277, 0.19483371078968048, 0.5609580278396606, -1.2036645412445068, 0.5205737948417664, -0.22595202922821045, -0.3459397256374359, -0.16119295358657837, 0.36461201310157776, 0.006439410150051117, 1.3074167966842651, 0.39355504512786865, 0.10506683588027954, -0.4508114457130432, -0.6732968091964722, -0.12581217288970947, 0.16137506067752838, -0.3937261700630188, 0.4086868464946747, 0.28162652254104614, -0.4613635838031769, 1.3510279655456543, -0.5541788339614868, -0.27004820108413696, -0.4292096197605133, -0.2630929946899414, 0.33347275853157043, 0.46439284086227417, 0.6219437122344971, -0.3571045994758606, -0.5889676809310913, 0.024484341964125633, -1.1121858358383179, -0.15547852218151093, -0.11887162178754807, -0.22537867724895477, -0.11454480141401291, 0.8603934645652771, -0.6220589280128479, -0.015674792230129242, 0.39885213971138, -0.5139016509056091, 0.32740917801856995, -0.1568491905927658, 0.06488587707281113, -1.3424116373062134, 0.04051145166158676, -0.3176349699497223, -0.3816046416759491, -0.9936031699180603, -0.05666508898139, 0.08859728276729584, -0.20682910084724426, -0.6067971587181091, 1.1410298347473145, -0.31734731793403625, 0.2095210999250412, -0.22445334494113922, 0.5344718098640442, 0.3364310562610626, 0.3554474115371704, 0.10445889830589294, 0.6594719290733337, 0.7414240837097168, -0.8385041952133179, 0.4536234438419342, 0.4606190323829651, -0.6217217445373535, 0.692184567451477, -0.6405549049377441, 0.2136823982000351, -0.13929995894432068, 0.49072012305259705, -1.0540522336959839, -0.5081268548965454, 0.37710514664649963, -0.24194097518920898, 0.4774393141269684, -0.06023259460926056, -0.48125794529914856, -0.05479447916150093, 0.04350550100207329, 0.4383666217327118, 0.3885866701602936, -0.9245030283927917, 0.8705042004585266, 0.23505252599716187, -0.26192745566368103, -0.5349917411804199, -0.692463219165802, 0.17198391258716583, -0.4261094629764557, -0.804558515548706, 0.47336873412132263, -0.08984760195016861, -0.24751871824264526, -0.07155632227659225, 0.46071118116378784, 0.04670313000679016, 0.14496538043022156, 0.0069974446669220924, 0.20052507519721985, -0.06970050185918808, 0.38826990127563477, 0.36486172676086426, 0.0866272822022438, 0.024727968499064445, -0.7542881369590759, 0.550513744354248, 0.24417644739151, -0.401317834854126, -0.4134807884693146, 0.464536190032959, 0.30395522713661194, -0.0912090614438057, 0.9029812216758728, 0.2522585690021515, -0.5059173107147217, -0.44237491488456726, -0.60043865442276, -0.3762578070163727, -0.49570006132125854, 0.06586345285177231, -0.19487448036670685, -1.0498689413070679, 0.45372265577316284, -0.49559691548347473, -0.058578021824359894, 0.35934919118881226, 0.557345449924469, -0.27236005663871765, 0.8698561191558838, 0.6273197531700134, 0.0242994986474514, 0.6410686373710632, -0.12926208972930908, 0.15709486603736877, -0.7629626989364624, -0.24940593540668488, -0.44384318590164185, -0.006061920430511236, 0.08545785397291183, -0.4574529230594635, 0.39757248759269714, 0.26642823219299316, -0.16096340119838715, -0.10694003105163574, -0.34877607226371765, 0.6107500791549683, 0.5308738350868225, 0.1829274594783783, 0.275422602891922, -0.069990374147892, -0.30671975016593933, 0.08709497004747391, -0.9625259041786194, -0.47529637813568115, 1.037766456604004, 0.05826739966869354, 0.4300474524497986, -0.09799524396657944, 0.6573079824447632, 0.009679148904979229, 0.42680680751800537, -0.7639574408531189, 0.37079042196273804, 0.18803754448890686, -0.38703933358192444, -0.4951031804084778, -0.09662266075611115, -0.9414755702018738, -0.19450658559799194, -0.4324227273464203, -0.6867893934249878, 0.19035327434539795, 0.39593300223350525, -0.7423912882804871, 0.08964098244905472, -0.7543724775314331, 0.696553647518158, 0.032425425946712494, -0.0794830173254013, 0.16396339237689972, -0.5120525360107422, 0.2936323285102844, -0.15981751680374146, 0.12380119413137436, 0.29022130370140076, -0.12536700069904327, 0.7082511186599731, -0.7601529955863953, 0.9323912262916565, -0.38820984959602356, -0.3356774151325226, 0.2953397333621979, -0.25793230533599854, 0.8986296057701111, 0.09837019443511963, 0.02136358432471752, -0.21298103034496307, -0.2702766954898834, -0.3125355839729309, -1.1174037456512451, 0.688993513584137, -0.4814758896827698, -0.7528280019760132, -0.06656453013420105, -0.6967385411262512, -0.8238574266433716, 0.17803677916526794, 0.2255736142396927, 0.6788643002510071, -0.03394315764307976, 0.12501180171966553, 1.1081875562667847, -0.3424017131328583, 0.36574554443359375, 0.37469494342803955, -0.24209289252758026, -0.28739604353904724, 0.6633641123771667, -0.07458484917879105, 0.40531787276268005, 0.6415744423866272, 0.2915506958961487, -0.5036543011665344, -0.47100743651390076, -0.6622772216796875, 0.19191357493400574, -0.9888983368873596, -0.3517352342605591, -0.8420852422714233, 0.017207663506269455, -0.5058644413948059, -0.6084190607070923, 0.13817232847213745, -0.2978505492210388, -0.5417997241020203, -0.14308778941631317, 0.6019811034202576, 0.6448457837104797, 0.24116919934749603, 0.4437902569770813, -0.8837621212005615, 0.03360772505402565, 0.7345832586288452, 0.08664355427026749, 0.09105263650417328, -0.6727884411811829, -0.34520283341407776, -0.006989433895796537, 0.12918764352798462, -0.9764490723609924, 0.3226031959056854, 0.2446105182170868, 0.6133163571357727, 0.65402752161026, -0.017970282584428787, 0.7858088612556458, -0.6457148790359497, 1.1160328388214111, 0.17455071210861206, -0.9733317494392395, 0.7151897549629211, -0.470075398683548, 0.39951926469802856, 0.584952175617218, 0.4821133017539978, -0.5478358864784241, -0.450700968503952, -0.5070936679840088, -0.861210823059082, 0.4305266737937927, -0.38521793484687805, 0.41182824969291687, -0.14438943564891815, 0.5987803339958191, 0.03899110481142998, 0.1773661971092224, -0.4048537611961365, -0.12452305853366852, 0.03125453367829323, -0.2189665585756302, -0.07180533558130264, -0.5147690176963806, -0.36353081464767456, -0.3368420898914337, 0.5945225954055786, -0.29868075251579285, 0.114156574010849, 0.3663318455219269, -0.2993142306804657, 0.19661322236061096, 0.05043541267514229, 0.533735990524292, 0.7180304527282715, -0.01573086902499199, 0.258323609828949, 0.4416012167930603, -0.10759446769952774, -0.016830405220389366, -0.07865357398986816, -0.2540244460105896, -0.08616282790899277, 0.4417707920074463, 0.7250891923904419, 0.4331755042076111, -0.7151123285293579, 0.5530737638473511, 0.10667864978313446, -0.1560562551021576, -0.18660786747932434, 0.04978078976273537, 0.38442397117614746, 0.38589978218078613, 0.314948171377182, -0.1699339598417282, -0.029719781130552292, -0.5863544344902039, 0.10164924710988998, 0.5642948150634766, -0.31864452362060547, 0.10751575231552124, 0.4277934432029724, 0.3384323716163635, -0.1605449616909027, 0.6525777578353882, -0.11462514847517014, -0.46070486307144165, 0.07807725667953491, 0.8111119866371155, 0.6887405514717102, -0.03286055102944374, 0.03611653298139572, 0.37476539611816406, -0.07688339799642563, 0.06211264804005623, -0.016711421310901642, -0.11693695932626724, -0.9677639007568359, -0.5837391018867493, -0.6675918102264404, -0.47979143261909485, -0.05381017550826073, -0.27489516139030457, 0.2819640040397644, -0.2758941352367401, 0.08147081732749939, -0.10398182272911072, -0.18124952912330627, -0.8045205473899841, 0.16821226477622986, -0.06725049018859863, 1.1060267686843872, -0.7495377063751221, 1.0890954732894897, 0.6226055026054382, -0.3214017152786255, -0.8750149011611938, -0.11229540407657623, -0.4548042118549347, -0.9423213005065918, 0.7286162972450256, -0.16647280752658844, 0.08768241107463837, 0.20994745194911957, -0.782566487789154, -0.9299681186676025, 1.1553996801376343, 0.6204210519790649, -0.16490960121154785, -0.1477753221988678, 0.19728177785873413, 0.370321661233902, -0.5615819692611694, 0.13919419050216675, 0.545454204082489, 0.574836015701294, 0.18702584505081177, -0.5016058683395386, 0.2641887962818146, -0.02463226392865181, 0.022845396772027016, -0.04433135688304901, 0.03325371444225311, 0.6351307034492493, -0.10839826613664627, -0.20647947490215302, -0.21443350613117218, 0.9091864228248596, 0.17217795550823212, -0.07021782547235489, 0.5705590844154358, 0.3948889672756195, 1.2564270496368408, 0.10792172700166702, 1.2705421447753906, -0.34358909726142883, -0.1124778762459755, 1.0658977031707764, -0.16490072011947632, 0.5747519135475159, 0.7771415114402771, 0.08647159487009048, 0.6741942167282104, 0.6019077301025391, 0.2793247401714325, 0.6288596391677856, 0.07545941323041916, -0.5284118056297302, -0.31981393694877625, -0.6045398116111755, -0.422919899225235, 0.08241483569145203, 0.4937744736671448, -0.2752310037612915, -0.15053239464759827, 0.2512744665145874, 0.2183195799589157, -0.10807840526103973, -0.39699798822402954, 1.0304125547409058, 0.06723255664110184, -0.9186736941337585, 0.6200526356697083, -0.30108842253685, 0.6138386726379395, -0.9792574048042297, -0.13726593554019928, -0.28675079345703125, -0.17422187328338623, -0.2448674440383911, -0.744552493095398, 0.22394214570522308, -0.03473958373069763, -0.3187611401081085, -0.6106049418449402, 0.9250411987304688, -0.7863566279411316, -0.15008306503295898, 0.09357348084449768, 0.7013036012649536, 0.04990150406956673, -0.22769944369792938, -0.23830825090408325, -0.46547454595565796, 0.01031550019979477, -0.30180349946022034, 0.5789453983306885, 0.6085677742958069, 0.11933379620313644, 0.5607969760894775, 0.7918126583099365, 0.08558499813079834, -0.3314831852912903, 0.2605099678039551, 1.070974588394165, -0.36202263832092285, -0.48368752002716064, -0.9798004031181335, 0.6915796399116516, -0.16500557959079742, -0.2166435569524765, 0.8979560136795044, 0.08746438473463058, 0.6070995330810547, -0.1988183856010437, 0.9475933909416199, 0.07072626799345016, 0.4670388102531433, -0.7252316474914551, 0.706646203994751, -0.7253032326698303, 0.12586848437786102, -0.3156183660030365, -0.6664674878120422, -0.45300668478012085, 0.3802966773509979, -0.16822317242622375, -0.27977073192596436, 0.690992534160614, 0.8499690890312195, 0.329962819814682, -0.14173226058483124, 0.32518354058265686, 0.06423051655292511, 0.2860306203365326, 0.5070980787277222, 1.0017967224121094, 0.10865525156259537, 0.22652684152126312, -0.012834721244871616, -0.3901641070842743, -0.1517879217863083, -1.21738862991333, -1.1168451309204102, -0.6331008672714233, -0.03922432288527489, -0.36359885334968567, -0.14981572329998016, 1.045118808746338, 0.4214451313018799, -0.6810123920440674, 0.05110030621290207, 0.05345902219414711, 0.3693166673183441, -0.08144181966781616, -0.18315942585468292, 0.3610887825489044, -0.7138177156448364, -0.7952189445495605, 0.7802323698997498, 0.20584014058113098, 0.2206326276063919, -0.36194175481796265, 0.021497737616300583, -0.11643315851688385, 0.19900570809841156, 0.8073357939720154, 0.07881283760070801, -0.36806562542915344, -0.4256461262702942, 0.019787348806858063, 0.01243169791996479, -0.16382735967636108, 0.9350038170814514, -1.0539093017578125, 0.48367825150489807, 0.638581395149231, 0.9981358647346497, 0.24944397807121277, -0.1674703061580658, 0.9411838054656982, -1.082519769668579, 0.23153568804264069, 0.23359714448451996, 0.5762003660202026, 0.47305452823638916, -0.526217520236969, 0.2958778142929077, 0.2206033170223236, -0.43133682012557983, -0.9047648310661316, 0.28786876797676086, -0.9055078625679016, -0.22700457274913788, 1.5049501657485962, -0.15666180849075317, -0.033443957567214966, -0.26575925946235657, -0.21729131042957306, 0.17852705717086792, -0.2669287919998169, 0.39136937260627747, 0.7184614539146423, -0.11218153685331345, 0.34223124384880066, -0.37641096115112305, 1.005778431892395, 0.257797509431839, -1.1167869567871094, 0.02608882077038288, 0.3519098162651062, 0.152782142162323, 0.1644149273633957, 0.7529149651527405, 0.25403669476509094, -0.10698992013931274, -0.22172263264656067, -0.1505752056837082, -0.07557767629623413, -0.366691529750824, -0.2316054105758667, 0.327353835105896, 0.14351986348628998, 0.39598289132118225 ]
http://arxiv.org/abs/2403.01479v3
http://arxiv.org/pdf/2403.01479v3
Align-to-Distill: Trainable Attention Alignment for Knowledge Distillation in Neural Machine Translation
2024-03-03T11:13:44
2024-03-25T08:46:15
Heegon Jin, Seonil Son, Jemin Park, Youngseok Kim, Hyungjong Noh, Yeonsoo Lee
cs.CL
cs.CL, cs.AI, 68T50, I.2.7
The advent of scalable deep models and large datasets has improved the performance of Neural Machine Translation. Knowledge Distillation (KD) enhances efficiency by transferring knowledge from a teacher model to a more compact student model. However, KD approaches to Transformer architecture often rely on heuristics, particularly when deciding which teacher layers to distill from. In this paper, we introduce the 'Align-to-Distill' (A2D) strategy, designed to address the feature mapping problem by adaptively aligning student attention heads with their teacher counterparts during training. The Attention Alignment Module in A2D performs a dense head-by-head comparison between student and teacher attention heads across layers, turning the combinatorial mapping heuristics into a learning problem. Our experiments show the efficacy of A2D, demonstrating gains of up to +3.61 and +0.63 BLEU points for WMT-2022 De->Dsb and WMT-2014 En->De, respectively, compared to Transformer baselines.
[ -0.36039677262306213, -0.4019060730934143, 0.5976284742355347, 0.20945951342582703, -0.19724175333976746, 0.21689607203006744, -0.5490791201591492, 0.09093374758958817, -0.22247911989688873, 0.17244365811347961, -0.39766058325767517, -0.26475009322166443, -1.1395537853240967, -0.15092791616916656, -0.421896755695343, 0.9320637583732605, -0.18371637165546417, 0.022219305858016014, -0.5268136262893677, -0.29856061935424805, -0.8421207666397095, -0.09669849276542664, -0.6021943688392639, -0.5605055093765259, 0.6273404955863953, 0.5725769400596619, 0.6349288821220398, 0.8959161639213562, 0.8672226071357727, 0.4112735092639923, -0.1587711125612259, 0.16268248856067657, -0.3851487934589386, 0.3669348955154419, -0.48427721858024597, -0.5161176919937134, -0.2998569905757904, -0.08607472479343414, 0.33263614773750305, 0.8020954132080078, -0.25456708669662476, 0.3579469621181488, 0.6575790643692017, 1.127229928970337, -0.6400402784347534, 0.07918862253427505, -0.7908526062965393, 0.057917218655347824, 0.059575144201517105, -0.009084578603506088, -0.3460988402366638, -0.221753790974617, 0.6093376874923706, -0.49228325486183167, 0.1356915980577469, -0.13558417558670044, 0.642526388168335, 1.1448029279708862, -0.3063792884349823, -0.22766245901584625, -0.7292417287826538, 0.6675850749015808, -0.4414495825767517, 0.262904554605484, 0.09647320210933685, 0.7635714411735535, 0.016605982556939125, -0.7884909510612488, -0.561612069606781, 0.42342761158943176, -0.2537723481655121, 0.29699021577835083, -0.05655061453580856, -0.30473554134368896, 0.2954199016094208, 0.3702786862850189, -0.2982361912727356, -0.011797658167779446, -0.39075279235839844, 0.1516420543193817, 0.42715179920196533, -0.07093846052885056, -0.11127228289842606, 0.36211326718330383, -0.6495428681373596, -0.28776848316192627, -0.08239102363586426, -0.06764834374189377, 0.1381952464580536, 0.2619033753871918, 0.09648962318897247, 0.3684264123439789, -0.05629700794816017, 0.7118449807167053, 0.7256605625152588, -0.26490190625190735, 0.0863429605960846, -0.030976252630352974, -0.15674032270908356, 0.6734511852264404, 0.587148129940033, 0.4814888834953308, 0.3654535412788391, -0.29330113530158997, -0.12862595915794373, -0.05217054858803749, 0.6200236678123474, -0.8492291569709778, -0.5358920693397522, 0.20312100648880005, -0.12708966434001923, -0.3519779443740845, -0.2864985764026642, -0.7478596568107605, -0.39443543553352356, -0.6059147715568542, 0.7806283831596375, -0.3148162066936493, -0.2120959758758545, 0.005859235767275095, -0.3503546118736267, 0.07513853162527084, 0.048718713223934174, -1.028254508972168, 0.07750243693590164, 0.4507350027561188, 0.7550690770149231, -0.44146934151649475, -0.46989190578460693, -0.062275614589452744, 0.2983521819114685, -0.14344482123851776, 0.4039241373538971, -0.11945454031229019, -0.0049076201394200325, -0.3018589913845062, -0.19872058928012848, -0.2844727635383606, -0.7359672784805298, 0.33837467432022095, -0.5276303291320801, 0.2650430500507355, -0.40298977494239807, -0.47611674666404724, -0.2789808213710785, 0.3199773132801056, -0.443011611700058, 1.006270170211792, 0.3650549352169037, -0.6675284504890442, 0.33489423990249634, -0.685202419757843, -0.38229337334632874, -0.21562542021274567, 0.04950779303908348, -0.7064400315284729, 0.14684844017028809, 0.2880140244960785, 0.22493579983711243, -0.15794803202152252, 0.4189508855342865, -0.008954977616667747, -0.06523033231496811, 0.22086122632026672, -0.46096500754356384, 0.8204108476638794, 0.22079750895500183, -0.5928499102592468, -0.05180937051773071, -0.5382525324821472, -0.2133866846561432, 0.10857666283845901, -0.18427063524723053, -0.44366270303726196, -0.0929194837808609, -0.35862645506858826, 0.23703575134277344, 0.3201996684074402, -0.08637310564517975, 0.36209842562675476, -0.10250868648290634, 0.5170738101005554, 0.6393185257911682, -0.2021198868751526, 0.7782838344573975, -0.13173314929008484, 0.29925623536109924, 0.6442005038261414, -0.05846149101853371, -0.1088142842054367, -0.2871469259262085, -0.7977926135063171, -0.2562594711780548, 0.57979416847229, 0.4960491955280304, -0.7052012085914612, 0.6150944828987122, -0.5402314066886902, -0.47532981634140015, -1.0649991035461426, 0.30846551060676575, 0.31410694122314453, 1.2069547176361084, 0.6757687926292419, -0.10004305839538574, -0.3630799353122711, -0.7836991548538208, -0.15334612131118774, 0.27413275837898254, 0.08593787997961044, -0.162478506565094, 0.09251318126916885, -0.03407447412610054, 1.0010017156600952, -0.8209630846977234, -0.6730669736862183, 0.0792907252907753, -0.07065616548061371, -0.019056880846619606, 0.5013682842254639, 0.6394606828689575, -0.7012139558792114, -0.9027568101882935, 0.09252557903528214, -0.6415191888809204, -0.05849806219339371, -0.04852026328444481, -0.5386070609092712, -0.08117282390594482, 0.4407457411289215, -0.41618528962135315, 0.20056012272834778, 0.45070257782936096, -0.1255248337984085, -0.16379669308662415, -0.04900383576750755, 0.12025447934865952, -1.4229964017868042, 0.06705949455499649, -0.026936322450637817, -0.21458931267261505, -0.46290189027786255, -0.11047561466693878, 0.2521129250526428, 0.018348319455981255, -0.286397248506546, 0.18486346304416656, -0.49371635913848877, -0.020594514906406403, -0.509790301322937, 0.38742730021476746, 0.24510560929775238, 0.5681984424591064, -0.06538938730955124, 0.6801188588142395, 0.6144923567771912, -0.42760589718818665, 0.4608752429485321, 0.477406769990921, -0.30904415249824524, 0.9058725237846375, -0.3815021812915802, 0.23783864080905914, -0.07594095170497894, -0.039320316165685654, -1.2579708099365234, 0.15594612061977386, 0.05672575533390045, -0.4446538984775543, 0.582974374294281, -0.1609676331281662, -0.027105063199996948, -0.4742642343044281, 0.015085374936461449, 0.5887405276298523, 0.702272355556488, -0.7539427280426025, 0.6783131957054138, 0.12309468537569046, -0.06069732457399368, -0.7932450771331787, -0.7584008574485779, 0.04074201360344887, -0.586151123046875, -0.41561782360076904, 0.6003864407539368, 0.1518651694059372, 0.028430389240384102, 0.2763741910457611, -0.45519953966140747, -0.16629308462142944, 0.3349537253379822, -0.09211262315511703, 0.2839125990867615, -0.4034651219844818, -0.17116865515708923, 0.20826296508312225, -0.2769626975059509, 0.061783600598573685, -0.6545711755752563, 0.40782877802848816, 0.37456899881362915, -0.2221851646900177, -0.4776943624019623, 0.060659606009721756, 0.7539963126182556, -0.25923922657966614, 0.717578649520874, 0.7637082934379578, -0.3119928240776062, -0.10032579302787781, -0.4429532289505005, -0.34085750579833984, -0.5079419612884521, 0.4333476424217224, -0.2874755263328552, -0.35074475407600403, 0.4055519104003906, -0.22259022295475006, 0.1298818737268448, 0.35185903310775757, 0.500698447227478, -0.33692166209220886, 0.9471349120140076, 0.5238764882087708, -0.32892903685569763, 0.4209689497947693, -0.3528828024864197, 0.32504504919052124, -1.026048183441162, -0.2722530663013458, -0.4566252529621124, -1.379769206047058, -0.2557688355445862, -0.2794165313243866, 0.35787472128868103, 0.3200780749320984, -0.06752113252878189, 0.5905477404594421, -0.9478223323822021, 0.5411348938941956, 0.5715826749801636, 0.10168101638555527, 0.22845889627933502, -0.029212431982159615, -0.0196720901876688, -0.2629927694797516, -0.6090710759162903, -0.13474230468273163, 1.1372802257537842, 0.06049848347902298, 0.5195838212966919, 0.1138177365064621, 0.7422300577163696, -0.15695331990718842, 0.20727333426475525, -1.0603035688400269, 0.2591286301612854, -0.19638682901859283, -0.33885031938552856, -0.4015358090400696, -0.15365219116210938, -0.7134589552879333, 0.2656193971633911, 0.09736195206642151, -0.3167612850666046, 0.18189637362957, 0.32727810740470886, -0.4471391439437866, 0.10436617583036423, -0.9579629898071289, 1.0494285821914673, -0.4132656753063202, -0.263515830039978, 0.01497227419167757, -0.8208585381507874, 0.13955846428871155, -0.19593507051467896, -0.16187873482704163, 0.1487257331609726, 0.08172819018363953, 0.4109936058521271, -0.20400163531303406, 0.46230071783065796, -0.47808894515037537, -0.18325014412403107, 0.13518056273460388, -0.19998860359191895, 0.3939911723136902, -0.22320784628391266, 0.13849948346614838, 0.08247444778680801, -0.32718217372894287, -0.3046543002128601, -0.9430944323539734, 0.6941860914230347, -0.8423555493354797, -0.9242441654205322, -0.2511250674724579, -0.9255340099334717, -0.13280950486660004, 0.15103942155838013, 0.260717511177063, 0.013556022197008133, 0.22115929424762726, 0.3038213849067688, 0.9342408776283264, 0.36537423729896545, 0.5634893774986267, 0.42739155888557434, -0.056502338498830795, -0.5526153445243835, 0.9616584181785583, 0.31671544909477234, 0.4397599399089813, 0.43190181255340576, 0.2679980993270874, -0.4509899318218231, -0.5832817554473877, -0.674010694026947, -0.3168594241142273, -0.5595434904098511, -0.4603782594203949, -0.5478223562240601, -0.43791013956069946, -0.48574158549308777, -0.127561554312706, -0.48390427231788635, -0.45596253871917725, -0.20385143160820007, 0.0228387750685215, 0.3520326316356659, 0.11120239645242691, 0.18997512757778168, 0.5345973372459412, -0.5453396439552307, 0.3591774106025696, 0.46552181243896484, 0.08110342174768448, 0.006770503707230091, -0.9516381621360779, -0.38153982162475586, 0.11801274120807648, -0.8218247294425964, -0.7106449007987976, 0.12243843823671341, 0.3499690592288971, 0.42462486028671265, 0.4700588285923004, 0.20209918916225433, 1.0257627964019775, -0.720772385597229, 0.3009582459926605, 0.20216268301010132, -0.8349170088768005, 0.49452152848243713, 0.16468258202075958, 0.4931148886680603, 0.8145846128463745, 0.6029962301254272, -0.4268077313899994, -0.31002798676490784, -0.38172972202301025, -0.9250671863555908, 0.6789482235908508, 0.068075992166996, -0.028997207060456276, 0.4059402048587799, 0.3269955515861511, 0.08213324099779129, 0.3200593888759613, -0.3079150319099426, -0.4629479944705963, -0.276073157787323, -0.9387310147285461, -0.029928814619779587, 0.14673438668251038, -0.33142203092575073, -0.46045583486557007, 0.6350176334381104, -0.2560582160949707, -0.0546998530626297, 0.035423800349235535, -0.2443399429321289, 0.05888686329126358, -0.07462218403816223, 0.47522541880607605, 0.5478583574295044, -0.031132083386182785, 0.36946699023246765, 0.07661805301904678, -0.5768231749534607, 0.3066675364971161, 0.30193522572517395, -0.1897619366645813, -0.2103409469127655, -0.023457089439034462, 0.8529850244522095, 0.19677628576755524, -0.05552617460489273, 0.4369255006313324, 0.0751110389828682, -0.37462884187698364, 0.09022185206413269, 0.22551338374614716, 0.4603401720523834, 0.5847423076629639, 0.33387330174446106, 0.3271348178386688, 0.13437218964099884, -0.19500334560871124, 0.20190787315368652, 0.2507927417755127, -0.5434614419937134, -0.13033992052078247, 0.838661253452301, 0.1895362287759781, -0.3659648001194, 0.7558152079582214, 0.04807236045598984, -0.5849667191505432, 0.6232686638832092, 0.599491536617279, 1.0571271181106567, -0.607998788356781, -0.09657907485961914, 0.3705940246582031, 0.1843634694814682, -0.18355830013751984, -0.07579236477613449, -0.204837366938591, -0.6798582077026367, -0.15755635499954224, -0.5303174257278442, -0.06602835655212402, -0.0801595151424408, -0.9588001370429993, 0.3897750973701477, -0.07135172933340073, -0.13972577452659607, 0.4189906716346741, -0.22899934649467468, -0.5764684677124023, 0.08385507017374039, 0.06953156739473343, 0.5517152547836304, -0.776843249797821, 1.0015161037445068, 0.7266673445701599, -0.22221040725708008, -0.6761457324028015, 0.20995666086673737, -0.003370195161551237, -0.7477273344993591, 0.5671905875205994, 0.1464642882347107, 0.23444156348705292, 0.5083091259002686, -0.09963105618953705, -0.7857574224472046, 1.6225368976593018, 0.5950148105621338, -0.9846429228782654, -0.16780254244804382, 0.3806021511554718, 0.3571477234363556, -0.2968798279762268, 0.02194962091743946, 0.7981771230697632, 0.4715608060359955, 0.36896631121635437, -0.727902352809906, -0.08669919520616531, 0.17971374094486237, 0.1003929004073143, 0.4193556606769562, -0.6346194744110107, 0.45466697216033936, -0.21998904645442963, -0.09007123857736588, -0.4958812892436981, 0.7319538593292236, -0.08021760731935501, 0.2581421732902527, 0.600831151008606, 1.080469012260437, 0.7319349050521851, -0.38977670669555664, 0.35713472962379456, -0.4784596860408783, 0.3313654065132141, 1.3383327722549438, -0.2753261625766754, 0.5692746639251709, 0.9885047078132629, -0.17993491888046265, 0.2237953543663025, 0.3831266462802887, -0.08668377995491028, 1.054746389389038, 0.09047496318817139, -0.09512656182050705, 0.0025518848560750484, 0.16494032740592957, -0.32414767146110535, 0.3935275375843048, 0.1229235976934433, -0.42948994040489197, -0.2429155558347702, 0.17980895936489105, -0.2505173087120056, 0.39409691095352173, -0.104182668030262, 1.2273904085159302, 0.12777066230773926, -1.0365298986434937, 0.6766875982284546, -0.28668493032455444, 0.417388379573822, -0.2411501705646515, 0.05439053475856781, -0.27858173847198486, 0.6345599889755249, -0.1604212075471878, -0.7071087956428528, 0.5609531402587891, -0.18619082868099213, -0.5716236233711243, -0.38377031683921814, 0.34989458322525024, -1.1494691371917725, -0.37932702898979187, 0.1210528090596199, 0.1517062485218048, -0.2775641977787018, -0.14409871399402618, -0.7050591111183167, -0.117879718542099, 0.024262573570013046, -0.0934167355298996, 0.4890029728412628, 0.7331942319869995, 0.1628877967596054, 0.36578261852264404, 0.18169890344142914, -0.23772898316383362, 0.1300109326839447, -0.03877002000808716, 0.8693647384643555, -0.21447214484214783, -0.2365935742855072, -1.118876338005066, 0.8219241499900818, -0.1016354113817215, -0.23867063224315643, 0.4713364243507385, 0.6056420803070068, 0.8523532152175903, -0.0651022270321846, 0.5575761198997498, 0.01615484617650509, 0.1924663484096527, -0.36973732709884644, 0.8769971132278442, -0.40294548869132996, 0.15553122758865356, 0.047172050923109055, -1.2781014442443848, 0.2248937487602234, 0.5556539297103882, -0.06534125655889511, -0.23355336487293243, 0.8228709697723389, 0.535791277885437, -0.34714317321777344, -0.2576697766780853, 0.220272958278656, 0.12339679151773453, 0.24077348411083221, 0.6389877796173096, 0.48774081468582153, -0.7339828014373779, 0.6003918051719666, -0.4709359407424927, -0.1915464997291565, -0.08575626462697983, -0.7922354936599731, -0.7507062554359436, -0.7372256517410278, -0.7561101913452148, -0.32861706614494324, 0.001958906650543213, 0.669600784778595, 0.42668119072914124, -0.6964759826660156, 0.02719290927052498, -0.03863164037466049, 0.17108801007270813, -0.68136066198349, -0.19691987335681915, 0.49192509055137634, -0.7205359935760498, -0.9774309396743774, 0.11901520192623138, 0.1895284503698349, 0.07929722219705582, -0.19240784645080566, -0.011797373183071613, -0.10108140856027603, -0.16847743093967438, 0.29822614789009094, -0.22818733751773834, -0.5168529748916626, -0.13076813519001007, 0.09150350093841553, -0.304608553647995, 0.23072919249534607, 0.5816648602485657, -0.5595263838768005, 0.4879131317138672, 0.290287047624588, 1.230830430984497, 0.4458356201648712, 0.1560491919517517, 0.47364145517349243, -0.9698891043663025, 0.1974506974220276, -0.0125620998442173, 0.10344617813825607, 0.35091158747673035, -0.4013439118862152, 0.38725608587265015, 0.12819892168045044, -0.6082687377929688, -0.7117659449577332, -0.14315135776996613, -1.0349290370941162, 0.05815717950463295, 0.7756214141845703, -0.3219541609287262, -0.29247328639030457, 0.17848752439022064, -0.32638195157051086, 0.5310133099555969, -0.0728980302810669, 1.2063143253326416, 0.8898725509643555, 0.3212328553199768, 0.0027547727804630995, -0.4081006646156311, 0.5543922781944275, 0.5324683785438538, -0.5373600721359253, 0.07768520712852478, 0.07736342400312424, 0.3504732847213745, 0.35346415638923645, 0.09153743088245392, -0.04634736105799675, 0.10348200052976608, -0.2560766637325287, -0.0014769156696274877, -0.22856833040714264, -0.5503751039505005, -0.1456226408481598, -0.03148435801267624, -0.0027209322433918715, -0.7079805731773376 ]
http://arxiv.org/abs/2403.12984v2
http://arxiv.org/pdf/2403.12984v2
When SMILES have Language: Drug Classification using Text Classification Methods on Drug SMILES Strings
2024-03-03T11:09:32
2024-03-27T21:51:03
Azmine Toushik Wasi, Šerbetar Karlo, Raima Islam, Taki Hasan Rafi, Dong-Kyu Chae
q-bio.BM
q-bio.BM, cs.CL, cs.IR, cs.LG, stat.ML
Complex chemical structures, like drugs, are usually defined by SMILES strings as a sequence of molecules and bonds. These SMILES strings are used in different complex machine learning-based drug-related research and representation works. Escaping from complex representation, in this work, we pose a single question: What if we treat drug SMILES as conventional sentences and engage in text classification for drug classification? Our experiments affirm the possibility with very competitive scores. The study explores the notion of viewing each atom and bond as sentence components, employing basic NLP methods to categorize drug types, proving that complex problems can also be solved with simpler perspectives. The data and code are available here: https://github.com/azminewasi/Drug-Classification-NLP.
[ -0.04214334860444069, -0.8136467933654785, 0.7977501749992371, -0.03882373124361038, 0.025152841582894325, 0.41866645216941833, -0.5375985503196716, -0.8270723223686218, 0.247170552611351, 0.325094610452652, -0.5798065066337585, -0.7220503687858582, -0.6325746774673462, 0.3348087966442108, -0.14550845324993134, 1.2559281587600708, 0.07254042476415634, 0.37094077467918396, -0.42823880910873413, -0.18326878547668457, 0.0348474383354187, -0.29037898778915405, -0.5426348447799683, -0.6085944175720215, 0.8263944387435913, 0.42923682928085327, 0.6528118848800659, 0.4928972125053406, 0.752318799495697, 0.4394739270210266, -0.11537211388349533, -0.06522242724895477, 0.11945828795433044, 0.04549384117126465, -0.13023003935813904, -1.1660956144332886, -0.381007581949234, 0.00601838156580925, -0.015066538006067276, 0.8829009532928467, -0.09936012327671051, -0.09276681393384933, -0.2993907332420349, 0.6888440847396851, -0.43928366899490356, 0.34956061840057373, -0.32855910062789917, 0.39411216974258423, -0.4138219654560089, -0.22379183769226074, -0.41042983531951904, -0.4647084176540375, 0.2978978157043457, -0.45801517367362976, -0.001808107946999371, 0.22400452196598053, 1.07282555103302, -0.14462149143218994, -0.8252387046813965, -0.8096979856491089, -0.5768870115280151, 0.6938085556030273, -0.6830335855484009, -0.013798657804727554, -0.009934176690876484, 0.5776135325431824, -0.598888635635376, -0.8846215605735779, -0.7559894919395447, -0.3984455168247223, -0.13374389708042145, -0.0757012739777565, 0.09929493814706802, 0.5251961350440979, 0.118585966527462, 0.7303947806358337, -0.7923961877822876, -0.12232159823179245, -0.3620215654373169, -0.19505079090595245, 0.4294337034225464, -0.08136354386806488, 0.9876981973648071, -0.40610894560813904, -0.6121636629104614, 0.03939986974000931, -0.5773651003837585, 0.08157725632190704, 0.030746448785066605, 0.6819325089454651, 0.18196143209934235, 1.0398037433624268, 0.06958958506584167, 0.5907840728759766, -0.21726000308990479, -0.2813047468662262, 0.4673959016799927, -0.014865154400467873, -0.3541676104068756, 0.5399098992347717, 0.8271833658218384, 0.4066573679447174, 0.5917725563049316, -0.06740240752696991, -0.1995386779308319, 0.4506596326828003, 0.2314741611480713, -0.6498876214027405, -0.19904303550720215, 0.5117320418357849, -0.43941786885261536, -0.19776062667369843, 0.02799307182431221, -0.6812065243721008, -0.41477665305137634, -0.2819126844406128, 0.5915221571922302, -0.39990872144699097, 0.14831778407096863, 0.2984827160835266, -0.43585243821144104, 0.2104131579399109, 0.08965644240379333, -0.8764980435371399, 0.8769431710243225, 0.622433066368103, 0.7933669090270996, -0.2643052339553833, 0.007403717376291752, -0.33542728424072266, -0.17499129474163055, -0.10335838794708252, 1.0513219833374023, -0.39281344413757324, -0.315260648727417, 0.07559335976839066, 0.10495980083942413, -0.1111004427075386, -0.7544143795967102, 0.4333818256855011, -0.21802835166454315, 0.5181881785392761, -0.19387368857860565, -0.7347835898399353, -0.16259707510471344, 0.0914304107427597, -0.46972647309303284, 0.29050910472869873, 0.2902117967605591, -0.7644400596618652, 0.30002930760383606, -0.7223527431488037, -0.7648137211799622, 0.11437858641147614, -0.305607408285141, -0.4604261517524719, 0.10124307125806808, -0.3322548568248749, 0.13210603594779968, 0.030187727883458138, 0.12322314083576202, -0.37813976407051086, -0.27200934290885925, 0.7600575685501099, 0.0450790636241436, 0.7579131126403809, 0.6696038246154785, -0.5417804718017578, 0.18438202142715454, -0.7122766971588135, 0.005708983633667231, -0.1842312216758728, -0.5999829173088074, -0.2840774357318878, -0.13179044425487518, 0.5131775736808777, 0.29380378127098083, 0.2273796945810318, -0.7239126563072205, 0.585793673992157, -0.6175501346588135, 0.4093429148197174, 0.5334277749061584, 0.08441085368394852, 0.41776329278945923, -0.14527298510074615, 0.3954547047615051, 0.01574692688882351, -0.008233957923948765, 0.0034407542552798986, -0.7219669222831726, -0.8299418687820435, -0.16384252905845642, 0.4481780529022217, 0.7947197556495667, -0.5294185280799866, 0.41555193066596985, -0.07902424037456512, -0.11346344649791718, -0.3145867586135864, 0.11715026199817657, 0.3874869644641876, 0.2577194273471832, 0.3711460828781128, -0.15665888786315918, -0.46273037791252136, -0.8886228799819946, -0.623614490032196, -0.15994642674922943, -0.03612035512924194, 0.3279404938220978, 0.5557069778442383, -0.251007080078125, 0.7073325514793396, -0.9168659448623657, -0.4867037832736969, -0.28633928298950195, 0.4033735394477844, 0.05065516382455826, 0.2160664051771164, 0.4695937931537628, -0.9776275753974915, -0.3880409002304077, 0.2139434665441513, -0.7891044020652771, 0.09467826038599014, -0.1907588094472885, 0.04545092210173607, 0.10604320466518402, 0.5301898717880249, -0.8337754607200623, 0.0674806609749794, 0.014487816952168941, -0.5496487617492676, 0.03647572174668312, -0.12132798880338669, 0.44338616728782654, -0.9317651987075806, -0.1512955278158188, 0.3538443446159363, -0.44948217272758484, -0.6809257864952087, -0.11419244110584259, -0.24446983635425568, -0.26059094071388245, -0.4080096483230591, 0.23758162558078766, -0.26834478974342346, -0.04943137988448143, -0.33249157667160034, 0.02468111924827099, -0.008231193758547306, 0.364076167345047, 0.009469816461205482, 0.40811586380004883, 0.6067935228347778, -0.4487278461456299, 0.36615505814552307, -0.03848402202129364, -0.3679422438144684, 0.7241695523262024, -0.30882054567337036, -0.3198639452457428, -0.0740441158413887, 0.24575255811214447, -1.0347423553466797, -0.7143555283546448, 0.23977051675319672, -0.4828176200389862, 0.6587395071983337, 0.2236562967300415, -0.5245452523231506, -0.5394061803817749, -0.29502084851264954, -0.1667129397392273, 0.4828265905380249, -0.1767180860042572, 0.32029175758361816, 0.4432761073112488, -0.04594546556472778, -0.4249410033226013, -0.9991039633750916, 0.03216836228966713, -0.36931830644607544, -0.34498804807662964, 0.4684828519821167, 0.0019380786688998342, -0.3865792155265808, 0.09147246181964874, -0.29570895433425903, -0.327976256608963, 0.10416381061077118, 0.3504514992237091, 0.06057485193014145, -0.2036549299955368, 0.43012094497680664, 0.33895793557167053, 0.18614241480827332, 0.10146953910589218, -0.005759809631854296, 0.4580932855606079, -0.3555777668952942, 0.10560616850852966, -0.37070176005363464, 0.5103617906570435, 0.7630900144577026, 0.03056504763662815, 0.6239114999771118, 0.35452020168304443, -0.42626234889030457, -0.29519543051719666, 0.24395348131656647, -0.08382720500230789, -0.5078840851783752, 0.1281331181526184, -0.3172377645969391, -0.8342966437339783, 0.33343058824539185, -0.3384872376918793, -0.46025994420051575, 0.22517332434654236, 0.4527865946292877, -0.501848042011261, 0.8154259324073792, 0.5508255958557129, 0.3742057979106903, 0.30048009753227234, 0.041946616023778915, 0.3152877986431122, -0.31023097038269043, -0.6359250545501709, -0.34186580777168274, -0.30365273356437683, -0.680314838886261, -0.12246666103601456, 0.26697656512260437, 0.10422302782535553, -0.22016111016273499, 0.40564900636672974, -0.5144482254981995, 0.5388806462287903, 0.2171618491411209, 0.28364554047584534, 0.08749977499246597, -0.01368949469178915, 0.15932738780975342, 0.050118863582611084, -0.22399380803108215, -0.4628753960132599, 0.8040297627449036, 0.30450817942619324, 0.5412811636924744, 0.05304211750626564, 0.8967501521110535, 0.5465192198753357, 0.2979160249233246, -1.117887258529663, 0.7072440385818481, -0.32540246844291687, -0.6868459582328796, 0.1461426168680191, -0.5868420600891113, -1.109096646308899, -0.13086676597595215, -0.3659364581108093, -0.8571907877922058, 0.19722424447536469, -0.2056804746389389, -0.3052535057067871, 0.04354209080338478, -0.9509950876235962, 0.885211169719696, -0.18237194418907166, 0.38437387347221375, -0.05094684660434723, -1.0323817729949951, 0.35165342688560486, 0.2244187295436859, 0.323405921459198, -0.11317019909620285, 0.18613660335540771, 0.648460865020752, -0.5476239919662476, 0.5407615303993225, 0.09313356131315231, -0.00661158561706543, 0.5342859625816345, -0.07714240252971649, -0.21966911852359772, -0.4198816418647766, 0.4763125479221344, -0.35380440950393677, 0.003543308237567544, -0.37086260318756104, -0.9485729932785034, 0.9254835247993469, -0.5440096259117126, -0.20915929973125458, -0.6959725022315979, -0.0841895267367363, -0.1816592961549759, 0.2755413353443146, 0.3067936897277832, 0.4563349485397339, 0.12301231175661087, -0.15621308982372284, 0.7334794402122498, -0.2963436245918274, 0.35953229665756226, 0.16790470480918884, -0.5212938189506531, -0.3077019453048706, 0.9895795583724976, 0.22836574912071228, 0.34364578127861023, 0.7233696579933167, 0.21874478459358215, -0.2839623987674713, -0.16281424462795258, -0.03486327826976776, 0.272478312253952, -0.8294123411178589, -0.23578594624996185, -0.5088375210762024, 0.023138325661420822, -0.470133900642395, 0.028853299096226692, -0.26666074991226196, -0.5801631808280945, -0.10516770929098129, -0.2738879919052124, 0.6465581655502319, 0.7675508856773376, 0.07064196467399597, 0.23913191258907318, -0.7874791622161865, 0.5330054759979248, 0.3601306080818176, 0.5628066658973694, -0.42648524045944214, 0.35414063930511475, -0.06394457072019577, -0.12657023966312408, -0.17523601651191711, -1.092805027961731, 0.1482429802417755, 0.4981272518634796, 0.41451728343963623, 0.25759604573249817, 0.04499940946698189, 0.29599621891975403, -0.565184473991394, 0.7239588499069214, 0.23352113366127014, -0.975043535232544, 0.9317912459373474, -0.42019423842430115, 0.14379601180553436, 0.6147297620773315, 0.7030366659164429, -0.5737851858139038, -0.46291303634643555, -0.3850161135196686, -0.8650190830230713, 0.39886853098869324, 0.4549065828323364, 0.015247264876961708, -0.3410003185272217, 0.5054500102996826, -0.21159593760967255, 0.36268457770347595, -0.7499847412109375, -0.8056229948997498, -0.08856434375047684, -0.8069044351577759, 0.20463129878044128, 0.03210630640387535, -0.1024494469165802, 0.04473656415939331, 0.029803814366459846, 0.07286204397678375, 0.4006609320640564, 0.3866613507270813, -0.2719790041446686, -0.025327472016215324, 0.7327449321746826, 0.41337457299232483, 0.19271837174892426, -0.5432408452033997, 0.44134777784347534, -0.38395166397094727, -0.7210458517074585, 0.31503456830978394, -0.1828615963459015, 0.1448487639427185, -0.10304714739322662, 0.3194207549095154, 0.32036569714546204, 0.1162688359618187, -1.0353294610977173, 0.33731159567832947, -0.042577795684337616, 0.09106387197971344, 0.032941851764917374, 0.43678510189056396, 0.046537160873413086, 0.3695127069950104, 0.09679028391838074, 0.4188908338546753, 0.7976077795028687, -1.406220555305481, 0.6367388367652893, 0.043040044605731964, -0.7135756015777588, -0.1583484411239624, 0.2661792039871216, -0.09842029958963394, -0.5966368913650513, 0.48558562994003296, -0.10688004642724991, -0.6876410841941833, 0.4665461778640747, 0.6252608895301819, 0.7935650944709778, -0.32017892599105835, 0.5393020510673523, 0.15480941534042358, -0.35765865445137024, -0.0794767215847969, 0.32224929332733154, 0.08607962727546692, -0.46050316095352173, -0.1316586285829544, -0.6063791513442993, -0.09692355245351791, -0.20056019723415375, -0.6741880774497986, 0.2959699332714081, -0.5812593698501587, -0.2870030403137207, 0.5374049544334412, 0.11227942258119583, -0.05473843961954117, 0.5028162002563477, 0.6145117878913879, 0.5648894906044006, -1.0806196928024292, 0.6871654391288757, 0.883923351764679, -0.5073781609535217, -0.3680376708507538, -0.11105252057313919, 0.18776807188987732, -0.08135659247636795, 0.5346022248268127, 0.5473716259002686, -0.27325135469436646, -0.34918978810310364, -0.9342644214630127, -0.4065474569797516, 0.6918404698371887, -0.1191156730055809, -0.291716068983078, -0.051448382437229156, 0.16199041903018951, 0.8962344527244568, -0.4354248046875, -0.020098764449357986, 0.44275999069213867, 0.3964616656303406, 0.18492962419986725, -0.7734438180923462, -0.005198861472308636, -0.6438997387886047, -0.18730922043323517, 0.12947197258472443, -0.23535247147083282, 1.1243245601654053, -0.24991026520729065, -0.476560115814209, -0.001802067388780415, 0.6875549554824829, 0.25928810238838196, 0.5286930203437805, 0.4416240453720093, 0.3968908488750458, 1.0148403644561768, -0.2949555218219757, 1.2115072011947632, 0.2415817677974701, 0.5841767191886902, 0.7940492033958435, -0.12259625643491745, 0.8932331800460815, 0.4798007309436798, -0.4647824168205261, 1.104451298713684, 0.8630325198173523, -0.15718010067939758, 0.6891194581985474, 0.6842770576477051, -0.38211262226104736, -0.12082601338624954, -0.037343788892030716, -0.001236440846696496, 0.3984374701976776, 0.6659608483314514, -0.013011985458433628, -0.22022300958633423, 0.7583514451980591, 0.22665531933307648, 0.3352457880973816, -0.3007572889328003, 0.6850683093070984, 0.5137243270874023, -0.47480595111846924, 0.10449682176113129, -0.06469401717185974, 0.5232346057891846, -0.4984004497528076, -0.19656547904014587, 0.03623361513018608, 0.5116378664970398, -0.3967963457107544, -1.0722852945327759, 0.21287918090820312, -0.26901838183403015, -0.08924274891614914, 0.267345130443573, 0.6329341530799866, -0.6812304854393005, -0.25439706444740295, 0.06793186813592911, -0.11273860931396484, 0.15078620612621307, 0.07821688801050186, -0.737293004989624, -0.3096539378166199, 0.023442717269062996, -0.2125624269247055, 0.45433932542800903, 0.5556356310844421, 0.050857581198215485, 0.9512268900871277, 0.39411282539367676, 0.0000027889429929928156, 0.06819182634353638, 0.0023661928717046976, 0.6432577967643738, -0.9586296677589417, -0.18150198459625244, -0.7823513150215149, 0.4524386525154114, -0.14446762204170227, -0.33069199323654175, 0.9034613966941833, 0.6618228554725647, 0.44142675399780273, -0.25353172421455383, 0.37200242280960083, 0.06335621327161789, 0.3354818522930145, -0.5172658562660217, 0.723075270652771, -0.7512245178222656, 0.12551163136959076, -0.453113853931427, -0.6976438164710999, -0.9164670705795288, 0.7096896767616272, 0.1614343672990799, -0.16850681602954865, 0.9063823819160461, 0.4178156852722168, 0.221884086728096, 0.0005043772980570793, -0.25923624634742737, 0.11614708602428436, 0.33729591965675354, 0.5817503929138184, 0.6255343556404114, -0.5851801633834839, 0.1364084780216217, 0.000005738679647038225, 0.04417307674884796, -0.2794569432735443, -0.3010645806789398, -0.8499728441238403, -0.49048712849617004, -0.5187698602676392, -0.8992239236831665, -0.1539871096611023, 1.241182804107666, 0.14531424641609192, -0.9634012579917908, -0.4194530248641968, -0.3804740905761719, 0.5131433010101318, 0.10655912011861801, -0.2976876497268677, 0.40912166237831116, -0.5621314644813538, -0.6830967664718628, 0.19898609817028046, 0.4670453667640686, 0.39678001403808594, -0.2330782264471054, 0.16660736501216888, -0.364846795797348, 0.2204485833644867, 0.6172652840614319, 0.34241822361946106, -0.5003947019577026, -0.0013213061029091477, 0.30194729566574097, -0.5553228259086609, 0.4480590522289276, 0.9838974475860596, -0.5912076830863953, 0.7129342555999756, 0.5954039692878723, -0.012882212176918983, 0.4864722788333893, -0.2687135636806488, 0.7052065134048462, -0.48158472776412964, -0.09258481860160828, 0.3105672299861908, 0.25200286507606506, 0.3202904462814331, -0.2637590765953064, 0.1401834934949875, 0.11613057553768158, -0.44356146454811096, -0.9133802056312561, 0.3479403853416443, -1.701666235923767, -0.8711917996406555, 0.9952766299247742, -0.2867021858692169, -0.978401243686676, -0.19647102057933807, -0.32019925117492676, 0.2667096257209778, -0.3321225047111511, 0.5731117129325867, 0.5744662284851074, -0.2827463150024414, -0.13825297355651855, -0.32399097084999084, 0.8600088357925415, -0.24907530844211578, -1.0379329919815063, -0.306497722864151, 0.1993754655122757, 0.19556139409542084, 0.7176423072814941, 0.4575663208961487, -0.2803720533847809, -0.02902042679488659, 0.05841096490621567, 0.05595861375331879, 0.6648922562599182, -0.42759621143341064, -0.057639267295598984, 0.1533782035112381, -0.03739585727453232, -0.09313420206308365 ]
http://arxiv.org/abs/2403.01472v2
http://arxiv.org/pdf/2403.01472v2
WARDEN: Multi-Directional Backdoor Watermarks for Embedding-as-a-Service Copyright Protection
2024-03-03T10:39:27
2024-06-09T04:34:55
Anudeex Shetty, Yue Teng, Ke He, Qiongkai Xu
cs.CR
cs.CR, cs.CL, cs.LG
Embedding as a Service (EaaS) has become a widely adopted solution, which offers feature extraction capabilities for addressing various downstream tasks in Natural Language Processing (NLP). Prior studies have shown that EaaS can be prone to model extraction attacks; nevertheless, this concern could be mitigated by adding backdoor watermarks to the text embeddings and subsequently verifying the attack models post-publication. Through the analysis of the recent watermarking strategy for EaaS, EmbMarker, we design a novel CSE (Clustering, Selection, Elimination) attack that removes the backdoor watermark while maintaining the high utility of embeddings, indicating that the previous watermarking approach can be breached. In response to this new threat, we propose a new protocol to make the removal of watermarks more challenging by incorporating multiple possible watermark directions. Our defense approach, WARDEN, notably increases the stealthiness of watermarks and has been empirically shown to be effective against CSE attack.
[ -0.5651654005050659, -0.6026475429534912, 0.41009965538978577, 0.5919274091720581, -0.2675792872905731, 0.40253034234046936, 0.10114762932062149, -0.4801962375640869, 0.4148877263069153, 0.721356213092804, -0.4819124639034271, -0.6869968175888062, -1.0825151205062866, 0.1301879733800888, -0.6463002562522888, 0.5340823531150818, 0.11443246155977249, 0.1639251708984375, 0.22752618789672852, -0.2658076584339142, -0.7413532733917236, -0.4362180829048157, -0.9649698138237, 0.21303001046180725, 0.6149162650108337, 0.12248503416776657, 0.5627154111862183, 0.6794739961624146, 0.3605808913707733, 0.22986021637916565, -0.008792050182819366, -0.19932740926742554, -0.08122091740369797, 0.4822220206260681, -0.2622571885585785, -0.21328380703926086, -0.22528615593910217, 0.09609410166740417, 0.5340206623077393, 0.038990605622529984, -0.015391881577670574, -0.1157803013920784, -0.035804398357868195, 0.750485360622406, -1.1153862476348877, -0.2056538313627243, -0.6381180882453918, 0.23359237611293793, -0.20781941711902618, -0.045361705124378204, -0.5411316752433777, -0.1674448400735855, 0.15313228964805603, -0.6042052507400513, -0.16857412457466125, 0.270271897315979, 0.89506596326828, 0.14855404198169708, -0.04514043778181076, -0.22233536839485168, -0.4278792440891266, 0.85419100522995, -0.3303242623806, 0.3784916400909424, 0.34778955578804016, 0.547926127910614, 0.10696671158075333, -0.6059783697128296, -0.23998789489269257, 0.3204476237297058, 0.16748814284801483, 0.24983097612857819, -0.6285189390182495, -0.5681180357933044, 0.15179336071014404, 0.026006076484918594, -0.24626174569129944, 0.17638564109802246, 0.014242785051465034, -0.23330193758010864, 0.7326430678367615, -0.06808102130889893, 0.47000619769096375, 0.045900557190179825, -0.6460165977478027, -0.14786279201507568, -0.9535080790519714, 0.17932073771953583, 0.6082074046134949, 0.03626466542482376, 0.08515137434005737, 0.3422054052352905, 0.1727566123008728, 0.01664031483232975, 0.18182383477687836, 0.41710013151168823, -0.0032997652888298035, 0.29184889793395996, 0.10283143818378448, 0.3108861744403839, 0.6047734022140503, 0.38557273149490356, -0.14356881380081177, -0.6220205426216125, -0.41947802901268005, -0.06769196689128876, 0.4994516372680664, -0.9286735653877258, -0.009310162626206875, 0.46296426653862, -0.5585001111030579, -0.5455363392829895, 0.5169044733047485, -0.9669578075408936, -0.4785563051700592, 0.11715005338191986, 0.43110716342926025, -0.4374008774757385, -0.20960791409015656, -0.07843982428312302, -0.642232358455658, 0.7355380058288574, 0.08144156634807587, -0.5706387162208557, 0.4199609160423279, 0.8374367356300354, 0.8306359648704529, -0.36358609795570374, -0.22530339658260345, -1.0256459712982178, 0.8933587074279785, -0.20687389373779297, 0.9307752251625061, -0.8802944421768188, -0.6683990359306335, -0.03032381646335125, 0.29337480664253235, 0.18253980576992035, -0.32953116297721863, 0.04088558256626129, -1.0119237899780273, -0.16019879281520844, -0.42566806077957153, -0.526831328868866, -0.19508430361747742, 0.2563672363758087, -0.8821168541908264, 0.5443630814552307, -0.3572475016117096, -0.5636090040206909, 0.258285790681839, -0.657241702079773, -0.3108537495136261, 0.07938654720783234, -0.39600902795791626, -0.6562989354133606, -0.05338975042104721, 0.6168370842933655, 0.3234499394893646, -0.030584288761019707, -0.06711395829916, -0.41084024310112, -0.2464042454957962, 0.3346173167228699, -0.37400728464126587, 0.890006959438324, 0.07252732664346695, -0.5927788615226746, 0.0286448672413826, -0.6886683106422424, 0.07734827697277069, 0.0703597292304039, -0.04926776513457298, -0.5628837943077087, 0.14605477452278137, -0.08158423006534576, 0.21400363743305206, 0.2493066042661667, -0.8699082732200623, 0.05789140611886978, -0.1374807208776474, 0.4216843545436859, 1.134379506111145, 0.2831057012081146, 0.5833125114440918, -0.10697343945503235, 0.6961520910263062, 0.04277335852384567, 0.5660685300827026, 0.04253067076206207, -0.8907446265220642, -0.1621125191450119, -0.9864040613174438, 0.22974003851413727, 0.5053838491439819, -0.6078644394874573, 0.5157783627510071, 0.13861802220344543, -0.5938416719436646, -0.46545469760894775, 0.10149705410003662, 0.6262997388839722, -0.17925140261650085, 0.6650499105453491, -0.3924911320209503, -0.20088453590869904, -0.8525272607803345, -0.7014748454093933, 0.4967672824859619, 0.03713536635041237, 0.19251161813735962, 0.2941296398639679, -0.5164602994918823, 1.1076014041900635, -0.6332494020462036, -0.4040708839893341, 0.15379007160663605, 0.06440530717372894, -0.2747146189212799, 0.5617971420288086, 0.6632090210914612, -0.9877645969390869, -0.6824156045913696, -0.22716903686523438, -0.7361591458320618, -0.2716389000415802, 0.27999547123908997, -0.18975642323493958, 0.01203853264451027, 0.6977448463439941, -0.3645131587982178, 0.8063740134239197, 0.6598785519599915, -0.4715791940689087, 0.5104129314422607, 0.05036378279328346, 0.0061087110079824924, -0.7416940927505493, 0.007126137614250183, -0.30267250537872314, -0.006527558900415897, -0.285404235124588, 0.35216477513313293, 0.21106618642807007, -0.6228994131088257, -0.24970705807209015, 0.512583315372467, -0.5267384648323059, -0.18729856610298157, -0.3415224850177765, 0.03478829562664032, 0.1060999184846878, 0.2928468883037567, -0.10522796958684921, 0.5871957540512085, 0.9024832248687744, -0.5161240696907043, 0.2002921849489212, 0.4125423729419708, 0.34469741582870483, 0.8186308145523071, -0.7450376152992249, 0.421124130487442, -0.1575150340795517, 0.24961715936660767, -0.7521945238113403, 0.5394417643547058, 0.2922176420688629, -0.23396697640419006, 0.39552056789398193, -0.379019558429718, -0.22568616271018982, 0.07328012585639954, -0.8522138595581055, 0.15596073865890503, 0.11382690817117691, -0.7813733816146851, 1.0427148342132568, 0.3311600983142853, -0.11349379271268845, -0.7587863802909851, -0.6980851292610168, 0.32437700033187866, -0.19708971679210663, -0.6321130394935608, 0.8654113411903381, -0.0937131717801094, -0.10043106973171234, 0.20906901359558105, -0.09964067488908768, -0.24764281511306763, 0.27065134048461914, 0.5016714334487915, -0.06357161700725555, -0.12088067084550858, -0.40410536527633667, 0.27537569403648376, -0.6761385798454285, 0.13446414470672607, -0.1691826581954956, 0.4099034368991852, -0.03556283935904503, -0.6528844833374023, -0.4116980731487274, 1.0807253122329712, 0.3709101974964142, -0.6411730647087097, 0.7578573226928711, 0.6677883863449097, -0.40977218747138977, -0.2119123935699463, -0.49087995290756226, -0.35832875967025757, -0.5504404306411743, -0.04274237900972366, -0.22556649148464203, -0.5619570016860962, 0.7497879862785339, 0.1196247860789299, 0.40634873509407043, 0.16610927879810333, -0.1675838679075241, 0.022986026480793953, 1.1600942611694336, 0.6629865169525146, -0.153957337141037, 0.6521543860435486, -0.41012042760849, 0.539936900138855, -1.0436122417449951, -0.2633987069129944, -0.6903716325759888, -0.2934536635875702, -0.551758885383606, 0.08015952259302139, 0.03053056262433529, 0.25812476873397827, -0.13001276552677155, 0.642789900302887, -0.49160677194595337, 0.310477614402771, 0.4137710928916931, 0.21527279913425446, 0.28858035802841187, 0.06537381559610367, -0.1415402889251709, -0.1413981169462204, -0.28731784224510193, -0.6273403763771057, 0.9558539986610413, 0.332855761051178, 0.5559096336364746, 0.47162261605262756, 1.0999425649642944, 0.3947239816188812, 0.43844467401504517, -0.5738130211830139, 0.5462428331375122, -0.13665229082107544, -0.5513677000999451, -0.3702058792114258, -0.019632380455732346, -0.9512328505516052, 0.3493603765964508, -0.16854248940944672, -0.6638550162315369, 0.3869543671607971, -0.08141427487134933, -0.3514600992202759, 0.3132316470146179, -0.6202613711357117, 0.7026926875114441, -0.061241619288921356, -0.5958576202392578, -0.3680226802825928, -0.4155241549015045, -0.394546240568161, -0.14780203998088837, 0.4152359962463379, 0.10779698938131332, -0.39081496000289917, 0.7440286874771118, -0.5631875991821289, 0.672253429889679, -0.6041319966316223, -0.23869410157203674, 0.10758588463068008, 0.26084399223327637, 0.7929185628890991, 0.4100900888442993, 0.17913411557674408, 0.2331709861755371, 0.016768498346209526, -0.5274180173873901, -0.6501421928405762, 0.6018701791763306, -0.5309247970581055, -0.7093058824539185, -0.5745810270309448, 0.03631197661161423, -0.19916440546512604, 0.19860363006591797, 0.17594659328460693, 0.5756306648254395, 0.026036620140075684, 0.29613181948661804, 0.6202171444892883, -0.5071553587913513, 0.882151186466217, 0.7817056179046631, -0.0205558892339468, -0.6854076981544495, 0.8777345418930054, 0.02076096460223198, 0.05232521519064903, 0.2247968167066574, 0.3453369736671448, -0.2336471825838089, -0.6239097118377686, -0.25629445910453796, -0.011780180037021637, -0.6161733865737915, -0.19891200959682465, -0.7464818954467773, -0.4096052646636963, -0.20476123690605164, -0.6716418266296387, -0.5071573853492737, -0.08093063533306122, -0.0124308867380023, 0.2067824751138687, 0.45730119943618774, 0.7344969511032104, 0.011427554301917553, 0.4206022620201111, -0.8126198649406433, 0.34926557540893555, 0.5925287008285522, 0.39425310492515564, 0.051583752036094666, -0.24828864634037018, 0.11068105697631836, -0.185029536485672, -0.6302297711372375, -1.053371548652649, 0.3504900634288788, -0.10764621198177338, 0.7509300112724304, 0.6464544534683228, -0.20379261672496796, 0.42651090025901794, -0.7701570987701416, 0.7458217740058899, 0.33638623356819153, -0.9563043713569641, 0.4717831015586853, -0.17809079587459564, -0.041630689054727554, 0.3216173052787781, 0.17802095413208008, -0.27011147141456604, -0.625356137752533, -0.7449816465377808, -1.041597604751587, 0.16233772039413452, 0.21579137444496155, 0.07498869299888611, -0.032272566109895706, 0.033616144210100174, 0.09769447892904282, 0.342338502407074, -0.557043194770813, -0.28761425614356995, -0.4395228624343872, 0.19797374308109283, 0.230152428150177, -0.21205466985702515, -0.11529474705457687, -0.05266449600458145, 0.9425367116928101, 0.06445429474115372, 0.5175953507423401, 0.24140602350234985, -0.20390544831752777, 0.20734184980392456, 0.4154812693595886, 0.14139863848686218, 0.3426492214202881, -0.01806741952896118, 0.07844074815511703, -0.09344787150621414, -0.6926461458206177, 0.017349034547805786, -0.11492795497179031, -0.31888777017593384, -0.07773896306753159, 0.27259448170661926, 0.07488307356834412, 0.4892687201499939, -0.11023862659931183, 1.0109347105026245, -0.10801362246274948, 0.15424808859825134, -0.42957305908203125, -0.21869027614593506, -0.08317716419696808, 0.21290509402751923, 0.6799745559692383, 0.27010345458984375, 0.0751751959323883, -0.2700987458229065, 0.35158228874206543, 0.6375635862350464, -0.653315544128418, -0.2008701115846634, 0.3385944962501526, 0.22587840259075165, -0.3301701247692108, 0.06434646248817444, -0.2746279239654541, -0.6661916971206665, 0.5880020260810852, 0.5655479431152344, 1.3893835544586182, -0.3185603618621826, 0.1364867389202118, -0.06003677845001221, 0.5635656714439392, 0.11842534691095352, 0.41096609830856323, 0.09198106080293655, -0.6238943338394165, -0.10937713086605072, -0.39191174507141113, -0.31299105286598206, -0.08935202658176422, -0.963057816028595, 0.19451117515563965, -0.9669775366783142, 0.012975235469639301, 0.08033596724271774, -0.2376786768436432, -0.5129926800727844, -0.19984199106693268, -0.14673586189746857, 0.8676374554634094, -0.6477368474006653, 0.5368391275405884, 0.4148887097835541, -0.35437050461769104, -0.581329345703125, 0.05501418933272362, -0.04851256683468819, -0.6256341338157654, 0.3302151560783386, 0.44105708599090576, -0.4482405185699463, 0.21572574973106384, -0.7460128664970398, -0.6921132802963257, 1.0906782150268555, 0.28237321972846985, -0.5043601989746094, 0.3380250334739685, -0.3911197781562805, 0.18482717871665955, -0.37195268273353577, -0.23561938107013702, 0.32490530610084534, 0.6728494167327881, -0.5047137141227722, -0.09187880158424377, 0.45160046219825745, -0.13536976277828217, 0.08925577253103256, -0.08070506155490875, -0.5361364483833313, 0.5503416657447815, 0.18752644956111908, -0.23247382044792175, -0.005292649380862713, 0.3510156571865082, 0.35018670558929443, 0.2623157501220703, 0.4223557710647583, 0.5889859795570374, 0.29906439781188965, -0.002233202336356044, 0.9008852243423462, -0.24835245311260223, -0.04332940652966499, 0.7035306692123413, -0.49913841485977173, 0.9897923469543457, 0.907636821269989, 0.1466193050146103, 0.8286799192428589, -0.040887873619794846, -0.4478597939014435, 0.9382346868515015, -0.07586146891117096, -0.23647630214691162, -0.07826238870620728, 0.06166178360581398, -0.5448734164237976, 0.3962516486644745, 0.211419478058815, -0.30822885036468506, -0.08409386873245239, 0.1461142599582672, -0.03774716332554817, 0.3919983208179474, -0.35263553261756897, 0.792486310005188, 0.24057266116142273, -0.18854835629463196, -0.09217897802591324, 0.40632328391075134, 0.816867470741272, -0.7385430335998535, 0.027640260756015778, 0.05696902796626091, -0.008435922674834728, -0.3684302270412445, -0.6072646379470825, 0.4251851439476013, 0.0019842025358229876, -0.18687613308429718, -0.3795931041240692, 0.6239469051361084, -0.06129320338368416, 0.00700624193996191, 0.8755559921264648, 0.20449097454547882, -0.10970129072666168, -0.4239962697029114, -0.9585615396499634, 0.17737942934036255, -0.47885841131210327, -0.20796412229537964, 0.2550280690193176, 0.16019867360591888, -0.11954743415117264, 0.7111803293228149, 0.8315765261650085, 0.24763670563697815, 0.33803829550743103, 0.3378903567790985, 0.8560320734977722, -0.6524521708488464, -1.096370816230774, -0.9247173070907593, 0.182639479637146, -0.5532857179641724, -0.07941839843988419, 1.1346317529678345, 0.5348721146583557, 0.34906911849975586, -0.07980610430240631, 0.8292330503463745, -0.012809526175260544, 0.09980709850788116, -0.4330303370952606, 0.9404727816581726, -0.2646007835865021, 0.2682156264781952, -0.6970425248146057, -0.7843675017356873, -0.11691156029701233, 0.4540571868419647, -0.26210519671440125, -0.18146559596061707, 0.9364613890647888, 1.0266326665878296, -0.004315090831369162, 0.4911668598651886, 0.19967173039913177, -0.23482926189899445, 0.684092104434967, 0.32804277539253235, 0.9285683035850525, -0.8030586242675781, 0.5358622074127197, -0.2182379513978958, -0.3099587559700012, 0.08555144816637039, -1.1697028875350952, -0.9151994585990906, -0.31988978385925293, -0.41097015142440796, -0.3526367247104645, 0.07504944503307343, 0.5316434502601624, 0.6446139812469482, -1.178084135055542, 0.24194452166557312, 0.021585898473858833, 0.1359606385231018, -0.7859314680099487, -0.2019452452659607, 0.3657476007938385, -0.0011598009150475264, -0.23026065528392792, 0.44817420840263367, 0.6448309421539307, 0.08335058391094208, -0.350128173828125, -0.1767592579126358, -0.24046948552131653, 0.03517921268939972, 0.44392260909080505, 0.21450449526309967, -0.541576623916626, -0.4196907579898834, -0.16391287744045258, -0.2630045413970947, -0.2592432498931885, 0.970417857170105, -0.28826260566711426, 0.16987541317939758, 0.13997647166252136, 0.9745496511459351, 0.3770638108253479, -0.28414756059646606, 0.657049834728241, -0.9158776998519897, 0.3074553906917572, 0.1290271282196045, 0.35716918110847473, 0.2564146816730499, -0.5253894329071045, 0.09627475589513779, 0.4447295367717743, -0.04375256970524788, -0.73105388879776, 0.2936759889125824, -0.7335602641105652, -0.4741511046886444, 0.9311760067939758, -0.3953652083873749, -0.3848625421524048, -0.4831240177154541, -0.18314996361732483, -0.20075201988220215, -0.6242300271987915, 0.7973796725273132, 0.7087937593460083, 0.5038350820541382, 0.08925870805978775, -0.3757389187812805, 0.45832279324531555, 0.3614324927330017, -0.6217561960220337, 0.0676112174987793, 0.00824076496064663, 0.4805712401866913, 0.38752099871635437, 0.21269598603248596, -0.7067029476165771, 0.5478951930999756, -0.07962648570537567, -0.06391426920890808, -0.3532067537307739, -0.5512614846229553, -0.5194947719573975, 0.3630436360836029, -0.2219386100769043, -0.39805665612220764 ]
http://arxiv.org/abs/2403.01469v2
http://arxiv.org/pdf/2403.01469v2
KorMedMCQA: Multi-Choice Question Answering Benchmark for Korean Healthcare Professional Licensing Examinations
2024-03-03T10:31:49
2024-03-05T09:58:08
Sunjun Kweon, Byungjin Choi, Minkyu Kim, Rae Woong Park, Edward Choi
cs.CL
cs.CL
We introduce KorMedMCQA, the first Korean multiple-choice question answering (MCQA) benchmark derived from Korean healthcare professional licensing examinations, covering from the year 2012 to year 2023. This dataset consists of a selection of questions from the license examinations for doctors, nurses, and pharmacists, featuring a diverse array of subjects. We conduct baseline experiments on various large language models, including proprietary/open-source, multilingual/Korean-additional pretrained, and clinical context pretrained models, highlighting the potential for further enhancements. We make our data publicly available on HuggingFace (https://huggingface.co/datasets/sean0042/KorMedMCQA) and provide a evaluation script via LM-Harness, inviting further exploration and advancement in Korean healthcare environments.
[ -0.6127197742462158, -0.43029189109802246, 0.722865879535675, 0.20609568059444427, -0.13756923377513885, 0.12923337519168854, 0.1578138768672943, -0.1999748945236206, 0.094840407371521, 0.8018458485603333, -0.6339057087898254, -0.5153130292892456, -0.31273481249809265, 0.08233547955751419, 0.4521014988422394, 0.7573110461235046, -0.2336292713880539, 0.42379963397979736, -0.6091075539588928, -0.5566274523735046, -0.12255068123340607, -0.5924428701400757, -0.43986454606056213, -0.4158836603164673, 0.8901644945144653, 0.5000512003898621, 0.6482282876968384, 0.2969287037849426, 0.287722647190094, 0.12613065540790558, 0.056285228580236435, -0.004876250866800547, -0.010606518015265465, 0.08396516740322113, -0.02767355926334858, -0.13380323350429535, -0.596243679523468, 0.2585830092430115, 0.48712462186813354, 0.7314935922622681, -0.06964189559221268, 0.6206991076469421, -0.34211742877960205, 0.8671672344207764, -0.7687144875526428, -0.2237471342086792, -0.13597546517848969, 0.10098841041326523, 0.1643647402524948, -0.10548675060272217, -0.18940027058124542, -0.8180005550384521, 0.13233298063278198, -0.40670856833457947, -0.22641395032405853, -0.3025124669075012, 0.9209495782852173, 0.2049904316663742, -1.0753273963928223, -0.3752463757991791, 0.013233574107289314, 0.4693986177444458, -0.45399150252342224, 0.9091299176216125, 0.3396143317222595, 0.8058891296386719, 0.010891040787100792, -1.1122390031814575, -0.4147818684577942, -0.5899152755737305, 0.3400242030620575, 0.5364284515380859, 0.22261112928390503, 0.13758142292499542, -0.0752764642238617, 0.2961224913597107, -0.5050303339958191, -0.07500803470611572, -0.4533475637435913, -0.5343821048736572, 0.6974289417266846, 0.11565274745225906, 0.3565707802772522, -0.18507535755634308, -0.5313458442687988, -0.09162689745426178, -0.6553954482078552, 0.15992315113544464, 0.29988348484039307, 0.0017555882222950459, -0.03591504320502281, 0.7706727385520935, -0.5627280473709106, 0.49197736382484436, -0.13467755913734436, -0.18719448149204254, 0.5455552935600281, -0.5213376879692078, -0.29385051131248474, 0.25641071796417236, 0.7414852976799011, 0.7397528290748596, 0.014963971450924873, -0.011164584197103977, 0.3097954988479614, 0.06169627606868744, 0.32805854082107544, -0.6565066576004028, -0.8014458417892456, 0.7422404289245605, -0.5492838025093079, -0.2923862338066101, -0.1907907873392105, -0.9845399260520935, -0.5344786643981934, -0.41998153924942017, 0.4240500330924988, 0.1415272206068039, -0.46733349561691284, 0.24888615310192108, 0.133820042014122, 0.3374868929386139, -0.03963668271899223, -0.12317159026861191, 0.408221036195755, 0.44599103927612305, 0.5150082111358643, -0.39268630743026733, -0.1565372347831726, -0.5630547404289246, -0.4647083282470703, -0.5027735233306885, 0.6161780953407288, -0.15995058417320251, -0.4810461401939392, -0.19473041594028473, 0.2789776921272278, -0.18233293294906616, -0.8443081378936768, 0.848700761795044, -0.6462624073028564, 0.10832596570253372, -0.5605509877204895, -0.42402881383895874, 0.10165359824895859, 0.41365358233451843, -0.5780125260353088, 1.1112010478973389, 0.4828471839427948, -0.7222887277603149, 0.45395585894584656, -0.5294075012207031, 0.10702599585056305, 0.06330743432044983, -0.23945893347263336, -0.5387706160545349, -0.23343101143836975, 0.4278249442577362, 0.4732130467891693, 0.039450034499168396, 0.2640417814254761, -0.5090420246124268, 0.1671242117881775, 0.48780307173728943, -0.24562931060791016, 1.1153422594070435, 0.3235650062561035, 0.3851833641529083, 0.044349879026412964, -0.9849671721458435, 0.6030269265174866, 0.012958015315234661, -0.5162538290023804, -0.10977143794298172, -0.5375298261642456, -0.1324281096458435, 0.9749893546104431, 0.07918369770050049, -0.7523036599159241, 0.06285473704338074, 0.048230089247226715, -0.0002615426492411643, 0.3846246302127838, 0.5476461052894592, 0.2097969651222229, -0.41435712575912476, 1.1941118240356445, 0.1304815411567688, 0.3222839832305908, -0.029696190729737282, -0.6942571997642517, -0.27186155319213867, -0.5445349216461182, 0.6306343674659729, 0.6958597302436829, -0.994996964931488, -0.1626615971326828, -0.00396939180791378, -0.8294399976730347, -1.1625888347625732, -0.18997317552566528, 0.5759506225585938, 0.7969114184379578, 0.4149337112903595, -0.013993584550917149, -0.4143116772174835, -0.9302543997764587, -0.38363444805145264, -0.113718681037426, -0.0926232635974884, 0.5781493782997131, 0.422414094209671, -0.20397241413593292, 0.5221302509307861, -0.6090750694274902, 0.13853146135807037, -0.01825270801782608, -0.25009456276893616, 0.13277770578861237, 0.27947402000427246, 0.5280434489250183, -0.8551618456840515, -0.7167763113975525, -0.013567128218710423, -0.4078773856163025, -0.45758894085884094, 0.009864923544228077, -0.3770869970321655, -0.20334385335445404, 0.6802101731300354, -0.41997990012168884, 0.0706423819065094, 0.8363613486289978, -0.4325418174266815, 1.299095630645752, -0.05942799523472786, 0.45583757758140564, -1.1424793004989624, 0.11819011718034744, -0.3112940788269043, -0.32247063517570496, -0.810347855091095, 0.3173489272594452, 0.4561094641685486, -0.04617682471871376, -0.7752014994621277, 0.7002457976341248, -0.38221919536590576, -0.04299004375934601, 0.04494093358516693, 0.3139232099056244, -0.00037851231172680855, 0.2138403356075287, -0.21629834175109863, 0.8147352337837219, 0.5270035862922668, -0.8457143902778625, 0.3148135542869568, 0.3508884012699127, -0.423037588596344, 0.9387363791465759, -0.6984540820121765, 0.06414773315191269, 0.024407759308815002, 0.1290910542011261, -1.0180153846740723, -0.4620888829231262, 0.4293571710586548, -0.6853675842285156, -0.125130757689476, -0.3483024835586548, -0.2983724772930145, -0.5000149607658386, 0.031730230897665024, 0.3510734736919403, 0.3187919855117798, -0.4784267246723175, 0.309032678604126, 0.5169334411621094, -0.30280598998069763, -0.6718056797981262, -0.455942839384079, -0.28532809019088745, -0.15025104582309723, -0.20250089466571808, -0.06727517396211624, -0.26995471119880676, -0.04540680721402168, -0.19498756527900696, -0.31288886070251465, -0.41331392526626587, 0.019370852038264275, 0.10138189047574997, 0.5111371874809265, -0.4669549763202667, 0.06189111992716789, 0.27737295627593994, -0.07802370935678482, 0.562420129776001, -0.1085539162158966, 0.39421775937080383, -0.053489867597818375, -0.4823639690876007, -0.3404599130153656, 0.19734685122966766, 0.7546086311340332, -0.23267048597335815, 0.4711587727069855, 0.567795991897583, -0.15500551462173462, 0.3430054485797882, -0.39273756742477417, 0.22405682504177094, -0.5097758173942566, 0.5018588304519653, -0.5411959290504456, -1.0308098793029785, 0.5300946235656738, -0.23770107328891754, -0.06488879024982452, 0.3619396984577179, 0.8602358102798462, 0.1000853106379509, 1.1442885398864746, -0.13081708550453186, 0.37080293893814087, -0.3918812572956085, 0.40883907675743103, -0.01988977938890457, -1.042097806930542, -0.49851560592651367, -0.3951265811920166, -0.0144925182685256, -0.8457066416740417, -0.548627495765686, 0.5640839338302612, 0.10142941027879715, -0.39761990308761597, 0.0537518635392189, -0.4699234366416931, 0.4389687478542328, 0.4251379072666168, 0.35682231187820435, 0.2517990469932556, -0.6322250366210938, -0.8889358043670654, -0.1415684074163437, -0.5442051887512207, -0.42642346024513245, 1.4350310564041138, 0.4406205713748932, 0.22387385368347168, 0.006142726633697748, 0.6727351546287537, -0.1270979642868042, 0.40988364815711975, -0.7203770875930786, 0.5390891432762146, 0.34789833426475525, -0.7492128610610962, 0.08393347263336182, -0.5482422709465027, -0.7819238901138306, 0.47639453411102295, 0.010634424164891243, -0.6196544766426086, 0.2724214494228363, 0.15289676189422607, -0.3933952748775482, 0.09304849058389664, -0.547766923904419, 1.101549744606018, -0.07601172477006912, -0.016331462189555168, 0.6290287971496582, -0.7962734699249268, 0.6118210554122925, -0.15983155369758606, -0.09301813691854477, -0.4667847752571106, -0.49769288301467896, 0.5437261462211609, -0.1205999106168747, 0.10413505882024765, -0.42832067608833313, 0.026589591056108475, 0.248845174908638, -0.08021248877048492, -0.10685949772596359, 0.5986897945404053, -0.1047876849770546, -0.08597937226295471, 0.7674591541290283, -0.6327314972877502, -0.4529002904891968, 0.5240196585655212, -0.6402645111083984, 0.037382178008556366, -0.3747483491897583, -0.387342244386673, -0.8272231221199036, 0.3802361488342285, 0.2845304012298584, 0.3838962912559509, -0.2411782145500183, 0.007344791200011969, 0.8049794435501099, -0.5632890462875366, -0.22705696523189545, 0.5514680743217468, -0.7523930072784424, -0.7135194540023804, 0.6512329578399658, 0.10170692950487137, 0.6153202056884766, -0.12596283853054047, 0.1657361537218094, -0.7156810164451599, -0.30093199014663696, -0.6028931140899658, 0.29386305809020996, -0.892312228679657, -0.02120525948703289, -1.1374098062515259, -0.46824318170547485, -0.23779472708702087, -0.01113340724259615, -0.5713568329811096, -0.3368772566318512, -0.05999772995710373, -0.05461147055029869, 0.005981967784464359, 0.3356570303440094, 0.20626670122146606, 0.18722645938396454, -0.8435471057891846, 0.6491351127624512, 0.34190332889556885, 0.7617971301078796, -0.21844004094600677, -0.30378514528274536, -0.011207821778953075, 0.01407162006944418, -0.2992287874221802, -0.9141883850097656, 0.08812934905290604, -0.12742511928081512, 0.7557945847511292, 0.26244163513183594, 0.2965525686740875, 0.45804521441459656, -0.6054666638374329, 0.9538940787315369, 0.13382169604301453, -0.47466424107551575, 0.09890412539243698, -0.315811425447464, 0.8498522043228149, 1.070786952972412, 0.9091924428939819, -0.8277341723442078, -0.15173976123332977, -0.5259584188461304, -0.6354847550392151, 0.1843784749507904, 0.012803067453205585, -0.09329944849014282, -0.018153786659240723, 0.3296593129634857, 0.18862572312355042, 0.40764203667640686, -0.35951492190361023, -0.48561447858810425, -0.07777108252048492, -0.14712165296077728, -0.011201927438378334, -0.2727496325969696, -0.07435911148786545, -0.4306589961051941, 0.5702764391899109, -0.06060856953263283, 0.4890477657318115, 0.391681969165802, 0.14678597450256348, 0.2121293842792511, 0.5196353197097778, 0.5380229949951172, 1.0471787452697754, -0.09844353795051575, 0.03828402981162071, 0.14708846807479858, -0.946543276309967, 0.3211475908756256, 0.2284824550151825, 0.15311725437641144, 0.19561061263084412, -0.24821725487709045, 0.3074326515197754, 0.11294794827699661, -0.9518284201622009, 0.2912463843822479, -0.1336820125579834, -0.8522804975509644, -0.18697944283485413, -0.18824301660060883, 0.39021456241607666, 0.18847858905792236, -0.004754308611154556, -0.23825694620609283, 0.1634664684534073, -0.2241973727941513, 0.7067947387695312, -0.023697787895798683, -0.7962990403175354, -0.03152809664607048, 0.8624557852745056, -0.38185232877731323, 0.059820495545864105, 0.5360254049301147, -0.07698099315166473, -0.6604880690574646, 0.6239181160926819, 0.30908018350601196, 0.5406054854393005, -0.47275209426879883, 0.6360163688659668, 0.608672022819519, 0.1230592355132103, -0.07623384147882462, 0.995339035987854, 0.21513035893440247, -0.45450326800346375, -0.22692130506038666, -0.38969287276268005, -0.7135491967201233, 0.18113484978675842, -1.1638036966323853, 0.02592051774263382, -0.35172662138938904, -0.31821319460868835, 0.06038330867886543, 0.2452845424413681, -0.5893116593360901, 0.4780718684196472, 0.0039000757969915867, 1.2818968296051025, -0.6002993583679199, 0.6248921155929565, 0.8907684087753296, -0.16436976194381714, -0.6821774244308472, -0.18869754672050476, 0.08574739098548889, -0.6297382712364197, 0.03612149506807327, 0.07957858592271805, 0.1484520435333252, -0.10234592109918594, -0.555570662021637, -0.6189630627632141, 1.0338258743286133, 0.034498028457164764, -0.14160864055156708, 0.3741557002067566, 0.3821907937526703, 0.514920175075531, -0.40065309405326843, -0.09557940810918808, 0.9297103881835938, 0.2347620278596878, -0.09840895980596542, -0.9255110621452332, -0.07663578540086746, -0.39600372314453125, -0.3266347348690033, 0.22949886322021484, -0.4175546169281006, 0.7521862983703613, -0.062166471034288406, 0.15275061130523682, 0.1761505901813507, 0.25940218567848206, 0.8735193014144897, 0.8935365676879883, 0.3425769805908203, 0.427744060754776, 0.916370153427124, -0.07001793384552002, 0.9916663765907288, -0.05887074023485184, 0.16732296347618103, 1.5666513442993164, -0.38482600450515747, 0.7754754424095154, 0.430850625038147, -0.3833690285682678, 0.2519647181034088, 0.9725914001464844, 0.1827266365289688, 0.4726253151893616, 0.17031477391719818, -0.32206976413726807, -0.2931705713272095, -0.15165375173091888, -0.651487410068512, 0.34064024686813354, 0.15036705136299133, -0.24316205084323883, 0.0378112867474556, 0.2605307698249817, 0.12524138391017914, -0.036859236657619476, -0.5630021095275879, 0.5920620560646057, 0.1831480860710144, -0.7304041981697083, 0.39559656381607056, -0.34377211332321167, 0.028083782643079758, -0.543867826461792, 0.20335069298744202, -0.0007050538551993668, 0.047965217381715775, -0.0010693402728065848, -0.9587429165840149, 0.03568058833479881, -0.31846126914024353, 0.1953062117099762, 0.009180308319628239, 0.7538113594055176, -0.590162456035614, -0.421351820230484, 0.025246519595384598, 0.7092913389205933, 0.29981476068496704, -0.16058306396007538, -1.0582668781280518, -0.22434623539447784, -0.29628267884254456, -0.08270512521266937, 0.4967308044433594, 0.3079266846179962, 0.15024840831756592, 0.8481326699256897, 0.5662684440612793, 0.22063110768795013, 0.40908199548721313, 0.04757218807935715, 1.0372270345687866, -0.20633390545845032, -0.8040545582771301, -0.3073788583278656, 0.6508558392524719, -0.12788215279579163, -0.7179562449455261, 0.7286811470985413, 0.6292409300804138, 0.770261824131012, -0.212092325091362, 0.630775511264801, 0.21066749095916748, 0.8376038074493408, -0.42438799142837524, 1.078859806060791, -0.707074761390686, -0.327156662940979, -0.3593229353427887, -0.5607216954231262, -0.12931154668331146, -0.1440868228673935, -0.10070331394672394, 0.2032194286584854, 0.4917896091938019, 0.6865406632423401, -0.14675433933734894, -0.041583649814128876, 0.5324774384498596, -0.18763123452663422, -0.09030196070671082, 0.42030179500579834, 0.7971647381782532, -0.5877346396446228, 0.4635060429573059, -0.5411444902420044, 0.003409476950764656, -0.0857483297586441, -0.7340998649597168, -0.9196817874908447, -0.5605776309967041, -0.5488398671150208, -0.7933841347694397, -0.040509164333343506, 1.1873120069503784, 0.38605648279190063, -1.0285564661026, 0.14417527616024017, 0.46412456035614014, -0.07190977782011032, -0.46769437193870544, -0.24544598162174225, 0.46913015842437744, 0.04838407784700394, -0.16192403435707092, 0.222733274102211, 0.11107002198696136, -0.011837895959615707, -0.15312707424163818, -0.30515092611312866, -0.4047059416770935, 0.26403161883354187, 0.5175067186355591, 0.5080193281173706, -0.3201407492160797, 0.09992989897727966, 0.39577391743659973, -0.3618043065071106, 0.36978599429130554, 0.6393042802810669, -0.5766912698745728, 0.9340286254882812, 0.25226151943206787, 0.9008482098579407, -0.015060474164783955, 0.17893949151039124, 0.313387006521225, -0.42105841636657715, -0.2593696713447571, 0.4779915511608124, -0.1375436633825302, 0.029540350660681725, -0.19847378134727478, 0.3280795216560364, -0.07714203745126724, -0.9475010633468628, -0.886879563331604, 0.20037707686424255, -1.0717347860336304, -0.1363394558429718, 0.9380273818969727, -0.2698429226875305, -0.047089483588933945, -0.6223772168159485, -0.29679733514785767, 0.2817569971084595, 0.08740147203207016, 0.4653920531272888, 0.7510696649551392, -0.1815679669380188, -0.5137181282043457, -1.4827220439910889, 0.766589879989624, 0.2052709311246872, -1.0275192260742188, -0.13370366394519806, 0.4503302574157715, 0.4572175145149231, -0.3305153250694275, 1.0337060689926147, -0.5468098521232605, 0.8926222920417786, 0.07753731310367584, -0.1446876972913742, -0.009077075868844986, -0.32984277606010437, -0.492342472076416, 0.21291227638721466, -0.20202624797821045, -0.5382299423217773 ]
http://arxiv.org/abs/2403.01461v1
http://arxiv.org/pdf/2403.01461v1
Answerability in Retrieval-Augmented Open-Domain Question Answering
2024-03-03T09:55:35
2024-03-03T09:55:35
Rustam Abdumalikov, Pasquale Minervini, Yova Kementchedjhieva
cs.CL
cs.CL
The performance of Open-Domain Question Answering (ODQA) retrieval systems can exhibit sub-optimal behavior, providing text excerpts with varying degrees of irrelevance. Unfortunately, many existing ODQA datasets lack examples specifically targeting the identification of irrelevant text excerpts. Previous attempts to address this gap have relied on a simplistic approach of pairing questions with random text excerpts. This paper aims to investigate the effectiveness of models trained using this randomized strategy, uncovering an important limitation in their ability to generalize to irrelevant text excerpts with high semantic overlap. As a result, we observed a substantial decrease in predictive accuracy, from 98% to 1%. To address this limitation, we discovered an efficient approach for training models to recognize such excerpts. By leveraging unanswerable pairs from the SQuAD 2.0 dataset, our models achieve a nearly perfect (~100%) accuracy when confronted with these challenging text excerpts.
[ -0.4626163840293884, -0.8289245963096619, 0.5822804570198059, -0.15282906591892242, -0.022303907200694084, 0.09875272214412689, 0.026169776916503906, -0.5607239007949829, 0.009306814521551132, 0.3609241843223572, -0.68767249584198, -0.175804004073143, -0.31813740730285645, 0.11459106206893921, -0.3804469406604767, 1.0721931457519531, -0.3349417746067047, 0.037168215960264206, -0.40867379307746887, -0.5384780168533325, -0.36649274826049805, -0.576992928981781, -0.33596840500831604, -0.24246199429035187, 0.21591149270534515, 0.3091399669647217, 0.5317971110343933, 0.43881770968437195, 0.5653045773506165, 0.17275087535381317, -0.1218324601650238, 0.2474069595336914, -0.8112571239471436, 0.17425574362277985, -0.22432774305343628, -0.2517995834350586, -0.15264034271240234, 0.19784697890281677, 0.44202062487602234, 0.7599332928657532, -0.13242949545383453, 0.1491011679172516, -0.15060263872146606, 0.5191307663917542, -0.7238602042198181, -0.12598726153373718, -0.9545087218284607, -0.019953088834881783, 0.17534573376178741, -0.2277575582265854, -0.4610437750816345, -0.2786455750465393, 0.42549726366996765, -0.7940961122512817, 0.47798317670822144, 0.07758542895317078, 0.6960189938545227, 0.19380222260951996, -0.17437595129013062, -0.48226913809776306, -0.708853006362915, 0.8244243264198303, -0.3691542446613312, 0.04596951976418495, 0.6986559629440308, 0.19250555336475372, -0.05382073298096657, -0.5134088397026062, -0.4933822751045227, 0.06981399655342102, -0.010874235071241856, 0.25368112325668335, -0.08001558482646942, -0.016150787472724915, 0.02775547467172146, 0.2807641923427582, -0.5962824821472168, 0.06572084128856659, -0.4123477041721344, 0.06731197237968445, 0.5138444304466248, 0.10413956642150879, 0.3868703842163086, 0.0013875867007300258, -0.5370093584060669, 0.051124729216098785, -0.33919769525527954, 0.25878003239631653, 0.34236952662467957, 0.30286705493927, 0.29429125785827637, 0.8400718569755554, -0.4785856008529663, 0.5930777192115784, 0.14474745094776154, 0.4011737108230591, 0.05494461581110954, -0.5050597786903381, -0.1311040222644806, -0.1833106428384781, 0.48310309648513794, 0.19876913726329803, 0.2595301866531372, -0.517235279083252, -0.19140613079071045, -0.3985154926776886, 0.4123679995536804, -0.5894465446472168, -0.2277505248785019, 0.626430332660675, -0.3024210035800934, -0.17428503930568695, 0.3148036599159241, -0.5510802268981934, -0.10285928100347519, 0.03430401161313057, 0.8043233752250671, -0.5320665240287781, -0.13436056673526764, 0.10206874459981918, -0.4951779246330261, 0.319649338722229, 0.32892870903015137, -0.7269061803817749, 0.3943505585193634, 0.4759601950645447, 0.6014208197593689, -0.4116159677505493, -0.16509996354579926, -0.7902331352233887, 0.04897813871502876, -0.2475462108850479, 0.7551562786102295, -0.4174692630767822, -0.293518990278244, 0.01794995740056038, -0.05029122531414032, -0.4286535084247589, -0.5979982018470764, 0.5296705961227417, -1.1308457851409912, 0.17218825221061707, -0.2662574052810669, -0.7221055626869202, -0.0454423762857914, 0.159798726439476, -0.6930202841758728, 0.9908616542816162, 0.3735697567462921, -0.6957476139068604, 0.2689369022846222, -0.38719049096107483, -0.05623301491141319, -0.15025198459625244, -0.07764846086502075, -0.30147260427474976, 0.09238304197788239, 0.26899752020835876, 0.3237497806549072, -0.16902919113636017, -0.07651872932910919, -0.41841429471969604, -0.5855236053466797, 0.27059441804885864, -0.15041609108448029, 0.6141015291213989, 0.060202378779649734, 0.03662009537220001, -0.1901283860206604, -0.7143772840499878, 0.401640385389328, 0.16057704389095306, -0.22821249067783356, -0.8002585172653198, -0.11957038938999176, -0.10719400644302368, 0.16970472037792206, 0.11413383483886719, -0.7704302668571472, 0.12984056770801544, -0.4533541798591614, 0.36360788345336914, 0.6830706000328064, 0.16050326824188232, 0.6802521347999573, -0.5278231501579285, 0.5523605346679688, 0.037954121828079224, -0.20094181597232819, 0.0706353560090065, -0.5205286145210266, -0.35898134112358093, -0.35594621300697327, 0.3133580982685089, 0.5400511026382446, -1.1314202547073364, 0.1668311059474945, -0.24464790523052216, -0.43963706493377686, -0.5057655572891235, 0.0764111876487732, 0.7484666705131531, 0.5756844878196716, 0.6694220900535583, -0.2612329125404358, -0.3590124845504761, -0.6705061197280884, -0.48349982500076294, -0.21711136400699615, 0.014059128239750862, 0.339213490486145, 0.7370097637176514, 0.40306994318962097, 1.15891432762146, -0.5902788639068604, 0.028288986533880234, -0.22261004149913788, 0.055930767208337784, -0.09948950260877609, 0.591783344745636, 0.4638978838920593, -1.2033593654632568, -0.3626041114330292, -0.2863888740539551, -0.9097626209259033, 0.23484617471694946, 0.26513659954071045, -0.25977081060409546, 0.057829584926366806, 0.6816912889480591, -0.6059940457344055, 0.7406906485557556, 0.17241264879703522, -0.15589363873004913, 0.4015631079673767, -0.20023758709430695, 0.2040015012025833, -0.709941029548645, 0.13131102919578552, -0.2510795593261719, -0.006518073379993439, -0.7893195748329163, 0.20415566861629486, 0.15170247852802277, 0.046270228922367096, -0.5078006386756897, 0.8167336583137512, -0.3282928466796875, 0.00874264445155859, -0.003726172260940075, 0.14727868139743805, -0.09311452507972717, 0.6006782650947571, 0.1548682153224945, 1.0351331233978271, -0.07599886506795883, -0.6816026568412781, -0.04627453163266182, 0.8040379285812378, -0.5267690420150757, 0.558901309967041, -0.9780340790748596, 0.3316129446029663, -0.4111623466014862, 0.16472448408603668, -1.2936066389083862, -0.5780193209648132, 0.1467721164226532, -0.5807478427886963, 0.07224425673484802, -0.16354228556156158, -0.19747905433177948, -0.24223744869232178, -0.3699255585670471, 1.0382908582687378, 0.45034313201904297, -0.7546112537384033, 0.2504953145980835, 0.17848782241344452, -0.3049777150154114, -0.7993208169937134, -0.42773130536079407, -0.7162638902664185, 0.16462449729442596, -0.37234368920326233, 0.3316599130630493, -0.15838120877742767, -0.18901345133781433, 0.1740896850824356, -0.3650820851325989, -0.6800280809402466, 0.09642870724201202, 0.18102768063545227, 0.3769048750400543, -0.18058273196220398, 0.3188974857330322, 0.06538094580173492, 0.3424879312515259, -0.13542723655700684, -0.20013758540153503, 0.35637199878692627, 0.201027050614357, -0.37436413764953613, -0.12776589393615723, 0.571907639503479, 0.1835874617099762, -0.3627743721008301, 1.0834271907806396, 0.3494220972061157, -0.2613202631473541, -0.1278364658355713, -0.29917746782302856, -0.05227290838956833, -0.4103059768676758, 0.5999313592910767, -0.40453124046325684, -0.8639394640922546, 0.5503424406051636, 0.5255211591720581, 0.0004629900795407593, 0.46867799758911133, 0.19216229021549225, -0.24152028560638428, 0.8963737487792969, 0.34561026096343994, 0.23697015643119812, 0.20384123921394348, -0.1965956836938858, -0.10896581411361694, -0.8869695067405701, -0.4398217499256134, -0.7081056833267212, 0.026256941258907318, -0.41996270418167114, -0.4731336832046509, 0.3770139813423157, 0.325174480676651, -0.24179726839065552, 0.31872648000717163, -0.34261637926101685, 0.646175742149353, 0.7658075094223022, 0.5468583703041077, 0.33133217692375183, 0.160613015294075, -0.04878946766257286, 0.12781277298927307, -0.8171987533569336, -0.23458881676197052, 1.2201770544052124, 0.0899341031908989, 0.5633249282836914, 0.22261373698711395, 0.47519466280937195, 0.28150346875190735, 0.048868823796510696, -0.5887528657913208, 0.45507916808128357, 0.03855426609516144, -0.8919621109962463, -0.5266892313957214, -0.5726643204689026, -0.8214370608329773, 0.06559869647026062, -0.20829962193965912, -0.7103455066680908, 0.2781551480293274, -0.13828186690807343, -0.5232093334197998, 0.3045286536216736, -0.6196724772453308, 0.5352803468704224, 0.3689984083175659, -0.20737434923648834, 0.1849091798067093, -0.8399791121482849, 0.3162456154823303, -0.32242727279663086, 0.01301179826259613, 0.07681608200073242, -0.290863573551178, 0.8617116212844849, -0.37225672602653503, 0.4027554988861084, -0.011447343975305557, -0.032579366117715836, 0.5605453848838806, -0.19511500000953674, 0.33118289709091187, -0.07637582719326019, -0.4709665775299072, -0.1724216789007187, 0.1986067146062851, -0.9906659126281738, -0.7774391174316406, 0.41601964831352234, -0.8292227387428284, -0.32546311616897583, -0.441080242395401, -0.6072309017181396, -0.6363891363143921, -0.01722213253378868, 0.3880109488964081, 0.6508805751800537, -0.5018937587738037, 0.10437554866075516, 0.9641675353050232, -0.20794661343097687, 0.5119013786315918, 0.5533410310745239, 0.12198715656995773, -0.6017105579376221, 0.7974188327789307, 0.16282810270786285, 0.6246418952941895, 0.4935004711151123, -0.34412312507629395, -0.41017165780067444, -0.6296001076698303, -0.5219593644142151, 0.16880106925964355, -0.6737326383590698, -0.08690795302391052, -0.719052255153656, -0.459560751914978, -0.30920252203941345, 0.0640958696603775, -0.06511075049638748, -0.7318077087402344, -0.3927123248577118, -0.053617097437381744, 0.26019763946533203, 0.8212475776672363, 0.3575178384780884, 0.16912120580673218, -0.7824739217758179, 0.45498979091644287, 0.49262353777885437, 0.35160988569259644, 0.016580266878008842, -0.8419212698936462, -0.20169125497341156, 0.15240271389484406, -0.1629692167043686, -0.6857902407646179, 0.009446498937904835, 0.3150233328342438, 0.5497540831565857, -0.13285936415195465, 0.6280805468559265, 0.466465026140213, -0.40784740447998047, 0.659132182598114, -0.09422814100980759, -0.5727010369300842, 0.5635667443275452, -0.4328027069568634, 0.21869398653507233, 0.8598585724830627, 0.7736634612083435, 0.3087446391582489, -0.22856175899505615, -0.6576541066169739, -0.6977288722991943, 1.0125863552093506, 0.6463995575904846, 0.003969365730881691, -0.09755989909172058, 0.5861008167266846, 0.18202221393585205, 0.3642023503780365, -0.27490517497062683, -0.2735006511211395, 0.14931604266166687, -0.2678731083869934, -0.18235591053962708, -0.2022828310728073, -0.0605897419154644, -0.012069021351635456, 0.6339579820632935, 0.004007729236036539, 0.3887385129928589, 0.5720854997634888, -0.11645837873220444, -0.003934566397219896, 0.18352194130420685, 0.5186387896537781, 0.44728925824165344, -0.6656030416488647, -0.18787753582000732, 0.05038244649767876, -0.6771978139877319, 0.3968503177165985, 0.1956997513771057, -0.3537622094154358, 0.012485673651099205, 0.279293030500412, 0.3530117869377136, -0.09600768983364105, -0.9422671794891357, 0.6982729434967041, -0.09811607003211975, -0.28311994671821594, -0.16935855150222778, 0.07782742381095886, -0.3522196412086487, 0.1456252485513687, 0.5518954992294312, 0.33405187726020813, 0.10809001326560974, -0.6832621097564697, 0.23574483394622803, 0.558647632598877, -0.8352289795875549, -0.16723713278770447, 0.6344075202941895, 0.07056433707475662, -0.2079734057188034, 0.5549453496932983, -0.16641409695148468, -0.430421382188797, 0.8131916522979736, 0.1870155930519104, 0.5680155754089355, -0.05188800394535065, 0.28536078333854675, 0.2592656910419464, 0.10202375799417496, -0.21559229493141174, 0.311358779668808, 0.0010861105984076858, -0.67341548204422, -0.12521763145923615, -0.40160515904426575, -0.5048961043357849, 0.03124730847775936, -1.1187779903411865, -0.1101817786693573, -0.3109225928783417, 0.07975248247385025, -0.06653176248073578, -0.11798671633005142, -0.4763447046279907, 0.4097048342227936, -0.7725560069084167, 0.9552076458930969, -0.530125081539154, 0.608940601348877, 0.848548948764801, -0.7620455026626587, -0.7229123711585999, 0.20010675489902496, -0.4590247869491577, -0.9751431345939636, 0.6197032332420349, 0.053443510085344315, 0.09221778810024261, 0.1451559215784073, -0.5957774519920349, -0.39466047286987305, 0.9437304735183716, 0.10467003285884857, 0.21442976593971252, -0.22050413489341736, 0.12555380165576935, 0.41684210300445557, -0.26195961236953735, 0.6073958873748779, 0.4747494161128998, -0.010971221141517162, 0.2518208920955658, -0.9592306017875671, -0.004554043989628553, -0.314363569021225, -0.09260120242834091, 0.12070222944021225, -0.6048250794410706, 0.7358888387680054, -0.38339200615882874, 0.08935736864805222, 0.8110994696617126, 0.5614203810691833, 0.0647527351975441, 0.6189302206039429, 0.3749597370624542, 0.39938464760780334, 0.709632933139801, 0.03283616527915001, 1.0570472478866577, 0.19541548192501068, 0.3546941876411438, 1.3359736204147339, -0.1842079609632492, 1.2075861692428589, 0.4326251447200775, -0.061919450759887695, 0.21872147917747498, 0.4265775978565216, 0.3804403841495514, 0.7572100162506104, 0.02826899290084839, -0.47381824254989624, -0.40041619539260864, -0.20029565691947937, -0.45149192214012146, 0.3888434171676636, 0.017886735498905182, -0.4139423370361328, -0.09952934086322784, 0.037783313542604446, -0.28857603669166565, 0.37888380885124207, -0.3571220338344574, 0.9322184324264526, -0.20854748785495758, -0.9202406406402588, 0.6668505072593689, -0.22559025883674622, 0.32800883054733276, -0.4558534324169159, -0.1433439999818802, -0.2660501301288605, 0.04854962229728699, -0.07572346925735474, -0.7432073354721069, 0.0024228901602327824, -0.10625043511390686, -0.6302404403686523, 0.026371270418167114, 0.5897062420845032, -0.5446887612342834, -0.23838385939598083, 0.018784653395414352, 0.8810051083564758, 0.03664182871580124, -0.22952055931091309, -0.25899702310562134, -0.33411434292793274, -0.026201633736491203, 0.0736025869846344, 0.5538953542709351, 0.4764895439147949, 0.204717755317688, 0.6786454916000366, 0.4105483591556549, -0.154307559132576, -0.027210701256990433, -0.4925021827220917, 0.8289098143577576, -0.36379027366638184, -0.2263466715812683, -0.46837225556373596, 0.3206826150417328, -0.13853512704372406, -0.3932885527610779, 0.7581713199615479, 0.519593358039856, 0.885372519493103, -0.27392837405204773, 0.9097827672958374, -0.028120458126068115, 0.9941104054450989, -0.6660826802253723, 0.5363553762435913, -0.6728284358978271, 0.41694700717926025, -0.3392387330532074, -0.5982332825660706, 0.17968310415744781, 0.3109934329986572, -0.27475258708000183, 0.20184136927127838, 0.6427837014198303, 0.6703504920005798, -0.21949177980422974, 0.35939913988113403, 0.23623882234096527, -0.10411382466554642, -0.08268816024065018, 0.6300495862960815, 0.9630808234214783, -0.8792390823364258, 0.9147093296051025, -0.21505878865718842, -0.19892308115959167, -0.17959754168987274, -0.4224393367767334, -1.166540265083313, -0.6290978193283081, -0.25494736433029175, -0.6599262356758118, 0.4376944303512573, 0.8434454798698425, 0.6540742516517639, -0.8840214014053345, 0.13780444860458374, -0.20781414210796356, 0.1443692445755005, -0.10212984681129456, -0.1733471155166626, 0.3989405632019043, -0.33817464113235474, -0.6097362041473389, 0.1993156373500824, -0.16593679785728455, 0.2554590106010437, 0.1497807502746582, 0.06336234509944916, -0.4379248321056366, 0.20788806676864624, 0.38068893551826477, 0.6717957854270935, -0.42391708493232727, -0.36092934012413025, 0.3650946021080017, -0.13843759894371033, -0.006274644751101732, 0.6248181462287903, -0.8294250965118408, 0.34819692373275757, 0.4383202791213989, 0.9134883880615234, 0.1751508116722107, 0.5304529070854187, 0.6534784436225891, -0.8516713380813599, 0.026395423337817192, 0.38509976863861084, -0.1248905211687088, 0.04018596559762955, -0.10851118713617325, 0.7541812062263489, 0.3026965856552124, -0.5488019585609436, -0.8402139544487, 0.11250908672809601, -1.057565450668335, -0.3095392882823944, 1.241341233253479, -0.5257478952407837, 0.010632294230163097, -0.4944334626197815, -0.27894777059555054, -0.014488903805613518, -0.4379023611545563, 0.49695268273353577, 0.7258948683738708, -0.10287084430456161, 0.27574029564857483, -0.6145895719528198, 0.5036306381225586, 0.6714149117469788, -0.683820366859436, -0.23994417488574982, 0.255102276802063, 0.12608377635478973, 0.052037376910448074, 0.7656570076942444, 0.11254595965147018, 0.442888081073761, -0.06196391209959984, -0.5294310450553894, -0.08871910721063614, -0.14364606142044067, -0.2437925487756729, 0.517356812953949, -0.07499386370182037, -0.39984649419784546 ]
http://arxiv.org/abs/2403.01457v1
http://arxiv.org/pdf/2403.01457v1
Logic Rules as Explanations for Legal Case Retrieval
2024-03-03T09:22:21
2024-03-03T09:22:21
Zhongxiang Sun, Kepu Zhang, Weijie Yu, Haoyu Wang, Jun Xu
cs.IR
cs.IR, cs.CL
In this paper, we address the issue of using logic rules to explain the results from legal case retrieval. The task is critical to legal case retrieval because the users (e.g., lawyers or judges) are highly specialized and require the system to provide logical, faithful, and interpretable explanations before making legal decisions. Recently, research efforts have been made to learn explainable legal case retrieval models. However, these methods usually select rationales (key sentences) from the legal cases as explanations, failing to provide faithful and logically correct explanations. In this paper, we propose Neural-Symbolic enhanced Legal Case Retrieval (NS-LCR), a framework that explicitly conducts reasoning on the matching of legal cases through learning case-level and law-level logic rules. The learned rules are then integrated into the retrieval process in a neuro-symbolic manner. Benefiting from the logic and interpretable nature of the logic rules, NS-LCR is equipped with built-in faithful explainability. We also show that NS-LCR is a model-agnostic framework that can be plugged in for multiple legal retrieval models. To showcase NS-LCR's superiority, we enhance existing benchmarks by adding manually annotated logic rules and introducing a novel explainability metric using Large Language Models (LLMs). Our comprehensive experiments reveal NS-LCR's effectiveness for ranking, alongside its proficiency in delivering reliable explanations for legal case retrieval.
[ -0.02048918977379799, -0.6887414455413818, 1.0827009677886963, -0.07521617412567139, -0.6124505996704102, -0.2605149745941162, -0.19341515004634857, -0.27659979462623596, 0.12988993525505066, 0.6843620538711548, -0.439815491437912, -0.4189836382865906, -0.32427164912223816, 0.10168404132127762, -0.6120952367782593, 1.007608413696289, 0.3196660578250885, 0.3412953019142151, -0.2493865191936493, -0.24399910867214203, -0.6782407164573669, -0.7463226318359375, -0.48984432220458984, -0.3897394835948944, 0.4805871248245239, -0.044961776584386826, 0.665203869342804, 0.7832115292549133, 0.5185244679450989, 0.28634560108184814, -0.22505506873130798, -0.16945713758468628, -0.22176113724708557, 0.05689038708806038, -0.2966116964817047, -0.6648809313774109, -0.4922002851963043, -0.20344075560569763, 0.07602739334106445, 0.33706191182136536, -0.5461025834083557, -0.13504289090633392, -0.5769246220588684, 0.8223781585693359, -0.4847610294818878, 0.1916031688451767, -0.6957709789276123, 0.4371897280216217, 0.04353079944849014, -0.4697604179382324, -0.5130869746208191, -0.693243682384491, -0.08147941529750824, -1.0428111553192139, 0.20395860075950623, 0.21448814868927002, 0.7117843627929688, 0.29740259051322937, -0.5267743468284607, -0.38094061613082886, -0.4370425343513489, 0.4463578760623932, -0.8261998891830444, 0.48180845379829407, 0.17202994227409363, 0.8577841520309448, 0.0909334123134613, -0.6829181909561157, -0.7510501742362976, -0.5114789605140686, -0.3182260990142822, 0.28251543641090393, -0.2706356346607208, 0.19797182083129883, 0.5689870119094849, -0.08590130507946014, -0.513215959072113, -0.33414000272750854, -0.28109368681907654, -0.4256226122379303, 0.6564048528671265, 0.014285207726061344, 0.41038739681243896, -0.0616849921643734, -0.017720205709338188, 0.22444283962249756, -0.6961126327514648, -0.1568981260061264, 0.35719242691993713, 0.439628005027771, 0.3196404278278351, 0.7523822784423828, -0.1261129379272461, 0.6683531403541565, 0.2358734905719757, 0.06050944700837135, 0.19006352126598358, -0.5400066375732422, -0.09024465084075928, 0.5292471647262573, 0.517019510269165, 0.4321717619895935, 0.5241608023643494, -0.33173081278800964, -0.32796674966812134, -0.2056659758090973, 0.3383466303348541, -0.7297961115837097, 0.16566304862499237, -0.0025534993037581444, -0.9405200481414795, -0.044811442494392395, 0.19690725207328796, -0.5513024926185608, -0.5000433921813965, -0.667572557926178, 0.4530404210090637, -0.46551695466041565, -0.3221217691898346, 0.4292911887168884, -0.46935978531837463, 0.3954295516014099, 0.4921585023403168, -0.500799834728241, 0.5065518617630005, 0.9414829611778259, 0.4370327889919281, 0.3691859245300293, 0.36597898602485657, -0.7136309742927551, 0.05308670550584793, -0.3034749925136566, 0.4460498094558716, -0.577903687953949, 0.14346089959144592, -0.06234480440616608, -0.04356982186436653, 0.14511051774024963, -0.562885582447052, 0.8257842659950256, -0.8661452531814575, -0.15655438601970673, -0.5808528661727905, -0.4598689675331116, -0.5199937224388123, 0.11791957169771194, -0.465731143951416, 0.3842097520828247, -0.3835306167602539, -0.5050837993621826, 0.6906989812850952, -0.701762855052948, -0.7676172256469727, 0.2596902847290039, -0.3332597315311432, -0.24747608602046967, 0.31763869524002075, 0.1013941615819931, 0.21538859605789185, -0.1816893070936203, 0.5718565583229065, -0.22298532724380493, -0.5186626315116882, 0.13454757630825043, -0.133148655295372, 1.1578696966171265, 0.4048127830028534, -0.3943216800689697, 0.07553279399871826, -0.3411368131637573, -0.12320725619792938, 0.25616610050201416, -0.18603171408176422, -0.38278457522392273, 0.20913264155387878, -0.3749012351036072, 0.467680960893631, 0.04483731836080551, -0.5289556980133057, -0.2990959882736206, -0.31472161412239075, 0.4724728465080261, 0.5645769238471985, -0.16974042356014252, 0.37817126512527466, -0.24090637266635895, 0.532574474811554, 0.15073832869529724, 0.1771426796913147, 0.04947568103671074, -0.22712907195091248, -0.47491514682769775, 0.023216161876916885, 0.1193370446562767, 0.48937785625457764, -0.5063228011131287, 0.3103846311569214, -0.3768989145755768, 0.08350441604852676, -0.6417978405952454, -0.0405331589281559, 0.3855721950531006, 0.6528316140174866, 0.48730599880218506, 0.05607135221362114, -0.6769535541534424, -1.1517635583877563, -0.6780068278312683, -0.2011566460132599, 0.13815869390964508, 0.6457880735397339, 0.6674869656562805, 0.22757285833358765, 0.9265684485435486, 0.09946054220199585, -0.11382278800010681, -0.475466787815094, -0.18478065729141235, 0.633194088935852, -0.0878661721944809, 0.4056091606616974, -1.0308542251586914, -0.1711743175983429, 0.10948983579874039, -0.9822714328765869, -0.3107304871082306, -0.4269503057003021, -0.17623035609722137, -0.0019429471576586366, 0.7864869236946106, -0.6052496433258057, 0.6005842685699463, -0.5538882613182068, -0.6541644930839539, 0.6598021388053894, -0.2844295799732208, 0.015476131811738014, -0.48856428265571594, -0.1888531744480133, 0.10612025111913681, -0.4014185070991516, -0.450935423374176, 0.37446755170822144, 0.16404904425144196, 0.3165000081062317, -0.5477860569953918, 0.32714033126831055, -0.4087236821651459, -0.3220396339893341, -0.35756149888038635, 0.456975519657135, 0.17590764164924622, 0.21359434723854065, -0.1452200710773468, 0.4175853729248047, 0.39154690504074097, -0.583650529384613, 0.40803414583206177, 0.05680659040808678, 0.09727967530488968, 0.7703092694282532, -0.8124164342880249, -0.2695631682872772, -0.4862912893295288, 0.2797353267669678, -0.3792100250720978, 0.16277192533016205, 0.21348343789577484, -0.1691550612449646, 0.10354325920343399, -0.5225552916526794, -0.7477782964706421, -0.33546319603919983, 0.018957359716296196, 0.16885507106781006, 0.5577911734580994, -0.6346651911735535, 1.1207034587860107, 0.22304430603981018, 0.15766552090644836, -0.5026417374610901, -0.4229719042778015, 0.0701846033334732, -0.4137820303440094, -0.20846576988697052, 0.30176660418510437, -0.07198767364025116, -0.5234208703041077, 0.2686369717121124, -0.3499462306499481, -0.11207487434148788, 0.284443736076355, 0.3391953110694885, 0.14373742043972015, -0.4538733959197998, 0.22060778737068176, 0.18686456978321075, 0.01814328134059906, 0.7370328307151794, -0.06570503860712051, 0.21031661331653595, -0.3709682822227478, -0.5567081570625305, -0.5034183859825134, 0.26055213809013367, 0.36926427483558655, -0.2181471586227417, 0.4565081000328064, 0.12885203957557678, -0.3695792257785797, -0.051368508487939835, -0.646324634552002, -0.3795314133167267, -0.4240071773529053, 0.171559140086174, -0.6173921227455139, -0.6320732831954956, 0.4151695966720581, -0.026427024975419044, -0.05707200616598129, 0.544096052646637, 0.36420202255249023, -0.03675659000873566, 1.1107807159423828, 0.35453563928604126, 0.17292910814285278, 0.2464946210384369, 0.29212942719459534, 0.4539203643798828, -0.5507984757423401, -0.6517625451087952, -0.5417144894599915, -0.08915888518095016, -0.2561025023460388, 0.10832171142101288, 0.03409099578857422, 0.15187345445156097, -0.4942455291748047, 0.3338030278682709, -0.4111683964729309, 0.9134368896484375, 0.5370468497276306, 0.32385650277137756, 0.5126641392707825, 0.02724272757768631, -0.6626196503639221, 0.08587359637022018, -0.597740650177002, -0.20706631243228912, 0.8086897730827332, -0.06627172231674194, 0.39502885937690735, 0.3750782907009125, 0.6027097105979919, 0.1877710074186325, -0.016352280974388123, -0.874505877494812, 0.8309105634689331, -0.2941347360610962, -0.6776092648506165, 0.023599551990628242, -0.5991371870040894, -0.6284932494163513, 0.361593097448349, -0.3857603669166565, -0.5992645621299744, 0.03058493509888649, -0.10133760422468185, -0.5784828066825867, -0.044071223586797714, -0.334831565618515, 0.5862759947776794, -0.6319199800491333, -0.41360190510749817, -0.5084799528121948, -0.6554661989212036, 0.41258636116981506, -0.1485474407672882, 0.31049782037734985, -0.14461711049079895, 0.18665048480033875, 0.6008545756340027, -0.7475153207778931, 0.4315914511680603, -0.2940395474433899, 0.416228711605072, 0.00370308430865407, 0.287114679813385, 0.2199351042509079, 0.035038288682699203, -0.44069504737854004, -0.21490056812763214, 0.008956429548561573, 0.04980561137199402, -1.0413521528244019, 0.6095576286315918, -0.29437699913978577, -0.877036988735199, -0.43121081590652466, -0.5284079313278198, 0.4374488294124603, 0.3097565770149231, -0.38708239793777466, 0.17851488292217255, 0.40128812193870544, 0.37335148453712463, 0.533460795879364, -0.3369216322898865, 0.20799267292022705, 0.8463488221168518, -0.06764306128025055, -0.011227828450500965, 0.8705098628997803, 0.013258231803774834, -0.33569198846817017, 0.34317123889923096, 0.4462655186653137, -0.6931769847869873, -0.642982006072998, -0.198751762509346, 0.4032262861728668, -0.8935953378677368, -0.09248511493206024, -0.6004568934440613, -0.24677246809005737, -0.0859711542725563, -0.1575358361005783, 0.12982796132564545, -0.6190560460090637, -0.15211139619350433, -0.28349655866622925, 0.461225688457489, 0.46435967087745667, -0.07724542915821075, -0.11084354668855667, -0.4014089107513428, 0.6634787321090698, 0.06606321781873703, 0.35019394755363464, -0.10933293402194977, -0.8334799408912659, 0.1801028549671173, 0.026003094390034676, 0.12335444986820221, -0.8717997074127197, 0.28988438844680786, 0.1577436625957489, 0.9378839731216431, 0.390733540058136, 0.13991205394268036, 0.8942645788192749, -0.6674678921699524, 0.22400327026844025, 0.07841125875711441, -0.9442759156227112, 0.89736008644104, -0.12457700818777084, -0.2116958349943161, 0.6589871048927307, 0.21840715408325195, -0.22370339930057526, -0.16393543779850006, -0.47301018238067627, -0.8547362089157104, 0.7653230428695679, 0.23115883767604828, 0.2222193479537964, -0.037057895213365555, 1.0983026027679443, -0.01430714875459671, 0.14907418191432953, -0.7742652893066406, -0.06410040706396103, -0.4430645704269409, -0.313535213470459, 0.4481945037841797, 0.0743650272488594, -0.13041675090789795, -0.5265963673591614, 0.7231631875038147, -0.17056365311145782, 0.24152664840221405, 0.18592290580272675, -0.3971613645553589, 0.34231099486351013, 0.2554127275943756, 0.4407840371131897, 0.6086665987968445, -0.1728757619857788, 0.09864827245473862, -0.032503802329301834, -0.14641182124614716, 0.0030892968643456697, 0.2272852510213852, -0.27271050214767456, 0.05205726996064186, 0.1400887668132782, 0.5368481278419495, -0.030836554244160652, -0.8241491317749023, 0.6145266890525818, -0.3764202296733856, -0.5011852979660034, -0.5018012523651123, 0.07280386239290237, 0.08859089761972427, 0.4880193769931793, 0.3819162845611572, -0.090090811252594, 0.47229114174842834, -0.6184930801391602, 0.44061118364334106, 0.6272830963134766, -0.43290120363235474, 0.03281247243285179, 0.9603407979011536, -0.16380633413791656, -0.15943127870559692, 0.8584190607070923, -0.07786881178617477, -0.585637629032135, 0.9725149869918823, 0.606113076210022, 0.5193804502487183, 0.6313917636871338, 0.215432271361351, 0.2820082902908325, 0.362746000289917, -0.40140363574028015, 0.47586822509765625, -0.1968269795179367, -0.5239437818527222, -0.38443583250045776, -0.4392663836479187, -0.10751757025718689, -0.23251484334468842, -0.832516610622406, 0.015720486640930176, -0.44826093316078186, -0.004276453983038664, 0.1659841388463974, -0.28700265288352966, -0.5062284469604492, 0.03184138983488083, -0.08353365957736969, 1.0489031076431274, -0.5829367637634277, 0.560083270072937, 0.4375165104866028, -0.7762811183929443, -0.7409416437149048, -0.2650126814842224, 0.27056461572647095, -0.803278923034668, 1.0283869504928589, 0.20405255258083344, -0.0024115147534757853, -0.2956382930278778, -0.399400532245636, -0.47291332483291626, 1.107954502105713, 0.6351678371429443, -0.6147170662879944, 0.08086522668600082, 0.18471109867095947, 0.7832761406898499, -0.3038018047809601, 0.5678187608718872, 0.49577832221984863, 0.5917749404907227, 0.34207451343536377, -0.41664695739746094, 0.6122563481330872, -0.48089584708213806, -0.07374612987041473, 0.009641492739319801, -0.15053384006023407, 0.3399546146392822, -0.5741187930107117, -0.029849087819457054, -0.02822043001651764, 0.45824992656707764, 0.5890120267868042, 0.4104575216770172, 0.4944351315498352, 0.5348637104034424, 0.6982377171516418, -0.49146604537963867, 1.3644100427627563, -0.33937790989875793, -0.007521101739257574, 1.0889724493026733, -0.34198832511901855, 0.6750642657279968, 0.6309766173362732, 0.28200092911720276, 0.621446967124939, 0.36723655462265015, -0.17048561573028564, 0.4785385727882385, 0.462914377450943, -0.07637813687324524, -0.7241547703742981, -0.4121133089065552, -0.011592155322432518, 0.17766694724559784, 0.19786794483661652, -0.8026626110076904, -0.2586061954498291, -0.17562374472618103, -0.18744859099388123, 0.15065425634384155, -0.3938785493373871, 0.7387847304344177, 0.06587350368499756, -0.45310401916503906, 0.11320511996746063, -0.07223950326442719, 0.2626872658729553, -0.32428544759750366, -0.35015761852264404, -0.32869982719421387, 0.23456330597400665, -0.3437066078186035, -0.8095323443412781, 0.3424130380153656, -0.006185960955917835, -0.1926427185535431, -0.4015101492404938, 0.7616556286811829, -0.00011235041165491566, -0.5011789202690125, 0.5305414199829102, 0.4305843412876129, 0.3061673045158386, -0.16547489166259766, -1.1178319454193115, -0.20858995616436005, -0.3185567259788513, -0.09931767731904984, 0.21259525418281555, 0.667999804019928, -0.2580004930496216, 0.8984997272491455, 0.770829975605011, -0.03140980005264282, 0.0912679061293602, 0.6015647053718567, 0.7667202949523926, -0.7029081583023071, -0.17495733499526978, -0.9479460120201111, 0.38550207018852234, -0.19155718386173248, 0.29073193669319153, 0.42797553539276123, 0.6036273241043091, 0.4643368721008301, 0.15325632691383362, 0.5439051985740662, 0.02306675910949707, 0.06057584658265114, -0.6472933292388916, 0.7940614819526672, -0.6696178317070007, 0.5185545086860657, 0.011505910195410252, -0.6959827542304993, -0.42075058817863464, 0.91991126537323, -0.17828890681266785, 0.23645934462547302, 0.6601743698120117, 0.8291839957237244, -0.37908661365509033, 0.10912059992551804, 0.27903732657432556, 0.27848461270332336, 0.08270663768053055, 0.44298750162124634, 0.6788272261619568, -0.29429835081100464, 0.8056566119194031, -0.025388723239302635, 0.1365712583065033, -0.28910720348358154, -1.040523648262024, -0.713753342628479, -0.04105374589562416, -0.27358299493789673, -0.3589251637458801, 0.45631060004234314, 0.6906969547271729, 0.7712503671646118, -0.5868675112724304, -0.05234179273247719, -0.4940531253814697, 0.3937786817550659, -0.35167810320854187, -0.29691967368125916, 0.04297736659646034, -0.24482367932796478, -0.051588669419288635, 0.5858619809150696, 0.10566643625497818, -0.18903371691703796, 0.42496752738952637, -0.37454646825790405, -0.22478242218494415, 0.187347874045372, 0.49066153168678284, 0.31920677423477173, -0.9277481436729431, -0.12870967388153076, 0.0944024920463562, 0.0869237408041954, 0.024106338620185852, 0.9018728733062744, -0.9190735220909119, 0.35557758808135986, 0.438640832901001, 0.6175975799560547, 0.4092351794242859, -0.03313935175538063, 0.664592981338501, -0.3509206175804138, -0.31393346190452576, 0.2770134210586548, 0.7879688143730164, -0.12766459584236145, -0.3515201508998871, 0.5807017087936401, 0.17291510105133057, -0.1680285930633545, -0.5593453645706177, 0.13077278435230255, -1.0823994874954224, -0.4147186577320099, 0.9438620805740356, -0.1417102813720703, -0.21807214617729187, -0.34796950221061707, 0.07410694658756256, 0.26434165239334106, -0.542758047580719, 0.7783580422401428, 0.528311550617218, -0.1669338494539261, -0.42582470178604126, -0.8527095317840576, 0.13680234551429749, 0.4220699071884155, -0.7859818339347839, -0.03221900388598442, 0.7216417193412781, 0.4443015158176422, 0.061987098306417465, 0.3654254376888275, -0.5819490551948547, 0.6642484068870544, -0.32237985730171204, -0.18556979298591614, -0.41903170943260193, -0.22172604501247406, -0.5360807180404663, 0.08429165184497833, -0.3692687451839447, 0.46537482738494873 ]
http://arxiv.org/abs/2403.01456v1
http://arxiv.org/pdf/2403.01456v1
Controlling Cloze-test Question Item Difficulty with PLM-based Surrogate Models for IRT Assessment
2024-03-03T09:18:05
2024-03-03T09:18:05
Jingshen Zhang, Jiajun Xie, Xinying Qiu
cs.CL
cs.CL, cs.AI, cs.CY
Item difficulty plays a crucial role in adaptive testing. However, few works have focused on generating questions of varying difficulty levels, especially for multiple-choice (MC) cloze tests. We propose training pre-trained language models (PLMs) as surrogate models to enable item response theory (IRT) assessment, avoiding the need for human test subjects. We also propose two strategies to control the difficulty levels of both the gaps and the distractors using ranking rules to reduce invalid distractors. Experimentation on a benchmark dataset demonstrates that our proposed framework and methods can effectively control and evaluate the difficulty levels of MC cloze tests.
[ -0.8280911445617676, -0.9178398251533508, 0.23302192986011505, -0.05400022864341736, -0.20727455615997314, -0.10414985567331314, -0.13623224198818207, -0.19597266614437103, -0.2513030767440796, 0.815077006816864, -0.7248389720916748, -0.07768891006708145, -0.5800725817680359, 0.39658042788505554, 0.02187909185886383, 1.129077672958374, -0.329812228679657, -0.11071786284446716, -0.3351600766181946, -0.23895421624183655, -0.9321921467781067, -0.4666265547275543, -0.6057544946670532, 0.0012209682026878, 0.49635395407676697, 0.6875885128974915, 0.5125412344932556, 0.03849839046597481, 0.7908498048782349, 0.22390322387218475, 0.020636292174458504, 0.2729239761829376, -0.3166232109069824, 0.2420944720506668, -0.32933732867240906, -0.3076000213623047, -0.27226337790489197, 0.1735221892595291, 0.25058799982070923, 0.6331495642662048, -0.3137158453464508, 0.22715730965137482, 0.1656653732061386, 0.5195267200469971, -0.6753015518188477, -0.16247615218162537, -0.606009304523468, -0.17037534713745117, -0.03892424702644348, -0.24418103694915771, -0.6198166012763977, -0.4081404209136963, 0.4277186691761017, -0.42148128151893616, 0.3321351408958435, 0.10015463083982468, 0.6512980461120605, 0.340772420167923, -0.48580029606819153, -0.5109241604804993, -0.6803194880485535, 0.6246631741523743, -0.42737212777137756, 0.3357570767402649, 0.46108919382095337, 0.05842777341604233, -0.16508285701274872, -0.6755073070526123, -0.26013830304145813, -0.7865214943885803, -0.1482391357421875, 0.3352454900741577, 0.3723900616168976, 0.23405860364437103, 0.2610073387622833, 0.13851115107536316, -0.7545015215873718, -0.16863895952701569, -0.7110298871994019, 0.01305528823286295, 0.5535357594490051, 0.07911606878042221, 0.38855111598968506, 0.13642941415309906, -0.6773574948310852, 0.07906590402126312, -0.6502688527107239, 0.08386022597551346, -0.11410168558359146, 0.11844077706336975, 0.5541108846664429, 0.6880004405975342, -0.09948916733264923, 0.800948977470398, -0.010767162777483463, 0.09224803745746613, 0.03839660808444023, -0.25886642932891846, 0.05673227831721306, -0.13829779624938965, 0.3473035991191864, 0.15252785384655, 0.32135483622550964, 0.19745658338069916, -0.07160903513431549, 0.04962935671210289, 0.42391785979270935, -0.8483136892318726, -0.21549959480762482, 0.2887653112411499, -0.18800020217895508, 0.17577624320983887, -0.05488499253988266, -0.7366843223571777, -0.4291253387928009, -0.13376939296722412, 0.7362894415855408, -0.6215623021125793, 0.00782388262450695, 0.24962417781352997, 0.01576925441622734, 0.11401572823524475, 0.041394542902708054, -0.5179550051689148, 0.6109325289726257, 0.13859137892723083, 0.6284898519515991, -0.14782318472862244, -0.5659641623497009, -0.6790817975997925, -0.02022833190858364, -0.23380203545093536, 0.8635968565940857, -0.7310675978660583, -0.43305206298828125, -0.23110708594322205, -0.16626325249671936, -0.6923981308937073, -0.6352051496505737, 0.19580353796482086, -0.4510762691497803, 0.4032684564590454, -0.27159038186073303, -0.7384078502655029, -0.22223834693431854, 0.3679637908935547, -0.44283220171928406, 0.9679512977600098, 0.475094199180603, -0.5584040284156799, 0.2796553373336792, -0.9557295441627502, -0.44990766048431396, 0.07918088883161545, 0.2141517549753189, -0.32097381353378296, 0.182064488530159, 0.1781478375196457, 0.25409722328186035, -0.17963984608650208, -0.08340862393379211, -0.2593725919723511, -0.3287714421749115, 0.47572025656700134, -0.22423741221427917, 0.22029799222946167, 0.09254597127437592, -0.2385648488998413, -0.004219801630824804, -0.6105583906173706, 0.1964334100484848, -0.15101471543312073, -0.38479822874069214, -0.34515485167503357, 0.15738317370414734, -0.3297353684902191, 0.26681220531463623, 0.06252181529998779, -0.28426289558410645, 0.21209397912025452, -0.00447456119582057, 0.29310208559036255, 0.7060017585754395, 0.2525959014892578, -0.016359135508537292, -0.6340788006782532, 0.7818651795387268, -0.08126392960548401, 0.30807924270629883, -0.022921456024050713, -0.441415935754776, -0.7914972901344299, -0.09089213609695435, 0.4325851500034332, 0.9474456310272217, -0.7015339136123657, 0.15052060782909393, 0.2921505570411682, -0.4182322025299072, -0.6425799131393433, 0.32296493649482727, 0.40612342953681946, 0.5064298510551453, 0.5736739039421082, -0.5856729745864868, -0.26045161485671997, -0.5713906288146973, -0.045854758471250534, -0.04721638187766075, -0.04812098294496536, 0.3448643088340759, 0.5845324993133545, 0.07544249296188354, 0.7793550491333008, -0.5407919883728027, -0.4347496032714844, -0.5238304734230042, 0.41373375058174133, -0.11744678765535355, 0.6709492802619934, 0.36208558082580566, -1.1545382738113403, -0.5736372470855713, -0.20425616204738617, -0.06346012651920319, -0.4724854826927185, -0.045893002301454544, 0.13007712364196777, 0.02952677384018898, 0.5740020871162415, -0.5878802537918091, 0.44736599922180176, 0.06850428134202957, -0.26289427280426025, 0.7569035291671753, -0.19617119431495667, 0.15842069685459137, -0.8267016410827637, 0.005959829781204462, -0.25565046072006226, -0.0879158154129982, -0.9390614032745361, 0.1659362018108368, 0.0502001978456974, -0.1076851412653923, -0.690237283706665, 0.39280810952186584, -0.294721782207489, 0.2708127796649933, -0.37489548325538635, 0.10022913664579391, 0.06640893220901489, 0.5019320249557495, 0.3429427444934845, 0.9533829092979431, 0.2658761739730835, -0.9862551689147949, 0.11610545963048935, 0.34295403957366943, -0.1626775562763214, 0.7441720962524414, -0.6109129786491394, 0.279194176197052, -0.2301803082227707, -0.003847143379971385, -1.175813913345337, -0.15567755699157715, 0.16925306618213654, -0.28559690713882446, 0.17203092575073242, 0.10804829001426697, -0.10557030141353607, -0.4594475030899048, -0.26986658573150635, 0.39313262701034546, 0.600172221660614, -0.11014311015605927, 0.6702008843421936, -0.11900661140680313, -0.6609181761741638, -0.4908142685890198, -0.4876670837402344, -0.44262489676475525, -0.4926413595676422, -0.2880634069442749, 0.14738373458385468, -0.8517800569534302, -0.019478311762213707, -0.30003613233566284, -0.13356411457061768, -0.33200183510780334, 0.31523028016090393, 0.014238488860428333, 0.19325433671474457, -0.03583909943699837, 0.16005514562129974, -0.3265211880207062, -0.12708011269569397, -0.10766460746526718, 0.042978301644325256, 0.6911608576774597, -0.1743132621049881, -0.5153053402900696, -0.1971057802438736, 0.39067450165748596, 0.36323562264442444, -0.5113717913627625, 0.4443139433860779, 0.4554452896118164, -0.25809842348098755, -0.13841448724269867, -0.7920234203338623, -0.26317504048347473, -0.47534090280532837, 0.39804399013519287, -0.49985113739967346, -0.7753284573554993, 0.691659152507782, -0.10751909017562866, -0.05150808021426201, 0.060764163732528687, 0.4973641335964203, -0.13086755573749542, 1.0727601051330566, 0.3968432545661926, 0.1701751947402954, 0.34331652522087097, -0.05812850594520569, 0.01854878105223179, -1.0199050903320312, 0.08172798901796341, -0.3892771005630493, -0.30209654569625854, -0.3942280411720276, -0.20497632026672363, 0.5034303069114685, 0.17591314017772675, -0.3586192727088928, 0.20560653507709503, -0.401488333940506, 0.6265381574630737, 0.5999359488487244, 0.2924247980117798, 0.02512611821293831, -0.3711041212081909, -0.10999749600887299, 0.16128937900066376, -0.6482589244842529, -0.18690909445285797, 1.0196771621704102, 0.1051756888628006, 0.6552087664604187, -0.08664868026971817, 0.580943763256073, 0.05262192338705063, 0.4992034435272217, -0.5280057191848755, 0.6153877973556519, -0.13343487679958344, -0.944688081741333, -0.35978835821151733, -0.34994906187057495, -0.8309220671653748, 0.5008435249328613, 0.2444271594285965, -0.9433642029762268, 0.34283673763275146, 0.05607172101736069, -0.8863312602043152, -0.010122700594365597, -0.9153155088424683, 0.8039425015449524, -0.2344033271074295, -0.3780401647090912, 0.23543091118335724, -0.7791261076927185, 0.18709149956703186, 0.028721129521727562, 0.14746186137199402, -0.13985496759414673, 0.030750218778848648, 0.6870372891426086, -0.41452041268348694, 0.7895156741142273, -0.0697096586227417, 0.4194222092628479, 0.7280723452568054, 0.6039547920227051, 0.5438394546508789, 0.15285281836986542, -0.03009732998907566, -0.4534893035888672, 0.01125016063451767, -0.5375078320503235, -0.4595155119895935, 0.21884430944919586, -0.4874294698238373, -0.933449387550354, -0.4656449258327484, -0.984931230545044, -0.4016087055206299, 0.2996746003627777, 0.3782057464122772, 0.41099944710731506, 0.01928023062646389, 0.3241422474384308, 0.9776579141616821, -0.01431170105934143, 0.33324891328811646, 0.8470304608345032, 0.08612832427024841, -0.45437490940093994, 0.9111973643302917, 0.49038365483283997, 0.73183274269104, 0.1850796639919281, 0.37229615449905396, -0.31066909432411194, -0.8099930882453918, -0.017501698806881905, -0.13227221369743347, -0.5641463994979858, -0.23260106146335602, -0.1363259106874466, -0.30809712409973145, -0.1971251517534256, -0.2530864477157593, -0.2881503701210022, 0.0003599665651563555, -0.3459654450416565, -0.320463091135025, 0.31785669922828674, 0.6207455396652222, -0.06353370100259781, 0.3827923834323883, -0.5879631638526917, 0.3123685121536255, 0.5030791759490967, 0.29957371950149536, -0.5135061144828796, -0.5862839221954346, 0.16584981977939606, -0.15403001010417938, -0.48632827401161194, -0.9634199738502502, 0.3845979869365692, 0.19513623416423798, 0.210164874792099, 0.20468828082084656, 0.2632790803909302, 0.8829044699668884, -0.37560874223709106, 0.9240574240684509, -0.05840341001749039, -0.9268473386764526, 0.5069313049316406, -0.09335211664438248, 0.07531306892633438, 0.8150795698165894, 0.44323113560676575, -0.3675816059112549, -0.40916261076927185, -0.6419076919555664, -0.7561651468276978, 0.6853393316268921, 0.3124622404575348, 0.0004366495122667402, -0.08415354043245316, 0.38347485661506653, 0.26262956857681274, 0.3673950731754303, -0.9509384632110596, 0.06805790960788727, -0.13714808225631714, -0.20010779798030853, 0.044838204979896545, -0.37874919176101685, -0.09041613340377808, -0.06171951815485954, 0.45730966329574585, -0.010268562473356724, -0.13873504102230072, 0.6250925660133362, -0.2879495918750763, 0.0069696963764727116, 0.529575765132904, 0.8340864181518555, 0.7372242212295532, -0.5436503291130066, 0.21080636978149414, 0.6750733256340027, -0.564276397228241, 0.21788883209228516, 0.31874504685401917, -0.21494773030281067, -0.40159276127815247, 0.08434576541185379, 0.643915057182312, -0.07288430631160736, -0.741174042224884, 0.24931570887565613, 0.108283631503582, -0.35075244307518005, -0.182036891579628, 0.21625347435474396, -0.23324239253997803, -0.05861460044980049, 0.19633172452449799, 0.0033692042343318462, -0.0025330076459795237, -0.2527662217617035, 0.44379815459251404, 0.2834160327911377, -0.5233709216117859, -0.06417806446552277, 0.5459999442100525, -0.006430300883948803, -0.3823276460170746, 0.567947268486023, -0.25002726912498474, -0.6241923570632935, 0.818193256855011, 0.783589243888855, 0.4041289687156677, -0.7948651909828186, 0.3058772683143616, -0.03318608179688454, 0.7513342499732971, -0.1899632215499878, 0.7470706105232239, 0.3034527897834778, -0.531199038028717, -0.11425375938415527, -0.19796042144298553, -0.5237066149711609, 0.5126695036888123, -0.694497287273407, 0.0838969275355339, -0.3964289724826813, 0.03048710711300373, -0.4742472767829895, 0.07472139596939087, -0.7233133912086487, 0.5308524966239929, -0.05856141448020935, 0.9060796499252319, -0.6369026303291321, 0.3451223075389862, 0.6060172915458679, -0.7119495272636414, -0.7409544587135315, -0.2446836233139038, -0.5289093852043152, -0.5831396579742432, 0.2488209754228592, 0.2739591896533966, 0.25310879945755005, 0.16520409286022186, -0.40195971727371216, -0.8118280172348022, 0.9203264117240906, 0.16095823049545288, -0.2757543921470642, 0.236311137676239, 0.4178369343280792, 0.4415280818939209, -0.4173923432826996, 0.6713836789131165, 0.6670008301734924, 0.5709673762321472, -0.0650080218911171, -0.9208310842514038, 0.0016814203700050712, -0.13442137837409973, 0.0569736585021019, 0.2004963457584381, -0.8034500479698181, 0.990986168384552, -0.16308754682540894, -0.021292027086019516, 0.17493557929992676, 0.37445271015167236, 0.5949082970619202, 0.5412818789482117, 0.6552643775939941, 0.3313663601875305, 0.7212440967559814, 0.037764642387628555, 0.9171544313430786, -0.1591576337814331, 0.2673957347869873, 1.1951621770858765, -0.7931376695632935, 0.8967840075492859, 0.4519317150115967, 0.043829891830682755, 0.47772106528282166, 0.8267826437950134, 0.06308663636445999, 0.44221583008766174, 0.6371178030967712, -0.07963170856237411, -0.4287133514881134, -0.202948197722435, -0.436383992433548, 0.2826613187789917, 0.5217008590698242, -0.1000601276755333, -0.09265246242284775, 0.44922471046447754, -0.24677877128124237, 0.030179111286997795, -0.27996739745140076, 0.6189528107643127, -0.04427110776305199, -0.8411041498184204, 0.5499514937400818, -0.46140310168266296, 0.18202286958694458, -0.8871593475341797, 0.009777341969311237, -0.3876635730266571, -0.00542355515062809, 0.1845853477716446, -0.4977279007434845, 0.047086358070373535, -0.2293284833431244, -0.08392607420682907, 0.035567380487918854, 0.9722608327865601, -0.5997711420059204, -0.6096774935722351, 0.08150807023048401, 0.49345749616622925, 0.11962874233722687, -0.09276223182678223, -0.7170203328132629, -0.2169359177350998, -0.2269383668899536, -0.7520027756690979, 0.287474125623703, 0.11276011914014816, -0.10043393075466156, 1.0660152435302734, 0.4763742685317993, -0.16321226954460144, 0.2920656204223633, -0.1416894644498825, 0.6531144976615906, -0.6457901000976562, -0.39331525564193726, -0.8070855140686035, 0.7012766599655151, 0.16203933954238892, -0.3518068790435791, 0.28457871079444885, 0.32691529393196106, 0.7346298694610596, -0.28903526067733765, 0.8719507455825806, -0.11276250332593918, 0.6980687975883484, -0.4906730055809021, 0.3975074291229248, -0.47511202096939087, 0.1998390555381775, -0.03892724588513374, -0.6065719127655029, -0.3068636953830719, 0.3478113114833832, -0.3252195417881012, 0.23532749712467194, 1.029478907585144, 0.8534691333770752, -0.11451812833547592, -0.14997552335262299, 0.26179713010787964, 0.19860431551933289, 0.19036996364593506, 1.0179311037063599, 1.0681127309799194, -0.23792897164821625, 0.8357154130935669, -0.40414130687713623, -0.13689647614955902, -0.10224512219429016, -0.7306122183799744, -1.1612380743026733, -0.5491008758544922, -0.4490610957145691, -0.28681570291519165, 0.054899297654628754, 1.026498556137085, 0.5356775522232056, -0.9050967693328857, -0.19982512295246124, -0.21743030846118927, 0.37024885416030884, -0.6350252628326416, -0.2510712742805481, 0.5225797295570374, -0.483141154050827, -0.5738778114318848, 0.42571163177490234, -0.027176903560757637, 0.21354582905769348, -0.023337021470069885, 0.1503731906414032, -0.30182668566703796, 0.38188716769218445, 0.3748045563697815, 0.2053496092557907, -0.6054404973983765, -0.4594687521457672, 0.1448115110397339, 0.22519998252391815, 0.07148484140634537, 0.9037342071533203, -0.6359307765960693, 0.5081541538238525, 0.4319997727870941, 0.34107735753059387, 0.008368098177015781, 0.4210151433944702, 0.4767889082431793, -0.7616546750068665, 0.010099961422383785, 0.3623654842376709, 0.26380565762519836, 0.11031033843755722, -0.4358566105365753, 0.5609034895896912, 0.2142753303050995, -0.6875175833702087, -1.0477526187896729, 0.36989834904670715, -0.8042424917221069, -0.41952502727508545, 1.1224411725997925, -0.2647351324558258, -0.04342198371887207, -0.3549517095088959, -0.5292152762413025, 0.030571497976779938, 0.04104996100068092, 0.9725519418716431, 0.8931171894073486, -0.3725651800632477, -0.34793752431869507, -0.7407806515693665, 0.5584871768951416, 0.8358421921730042, -0.712735116481781, 0.07953090965747833, 0.14756780862808228, 0.5011580586433411, 0.3496803343296051, 0.7099934220314026, 0.2190147489309311, 0.4602876901626587, -0.40977343916893005, 0.055806342512369156, -0.11183595657348633, -0.48401808738708496, 0.024066196754574776, 0.5235487818717957, 0.03310480713844299, -0.31211382150650024 ]
http://arxiv.org/abs/2403.04787v2
http://arxiv.org/pdf/2403.04787v2
Ever-Evolving Memory by Blending and Refining the Past
2024-03-03T08:12:59
2024-04-07T04:31:30
Seo Hyun Kim, Keummin Ka, Yohan Jo, Seung-won Hwang, Dongha Lee, Jinyoung Yeo
cs.CL
cs.CL, cs.AI
For a human-like chatbot, constructing a long-term memory is crucial. However, current large language models often lack this capability, leading to instances of missing important user information or redundantly asking for the same information, thereby diminishing conversation quality. To effectively construct memory, it is crucial to seamlessly connect past and present information, while also possessing the ability to forget obstructive information. To address these challenges, we propose CREEM, a novel memory system for long-term conversation. Improving upon existing approaches that construct memory based solely on current sessions, CREEM blends past memories during memory formation. Additionally, we introduce a refining process to handle redundant or outdated information. Unlike traditional paradigms, we view responding and memory construction as inseparable tasks. The blending process, which creates new memories, also serves as a reasoning step for response generation by informing the connection between past and present. Through evaluation, we demonstrate that CREEM enhances both memory and response qualities in multi-session personalized dialogues.
[ -0.294088214635849, -1.1671687364578247, 0.5484974980354309, 0.1002996414899826, 0.01858121156692505, 0.6423237323760986, -0.3773691952228546, -0.5048888325691223, 0.4003148078918457, 0.748871386051178, -0.5698961615562439, -0.3276069462299347, 0.03763286769390106, -0.445133775472641, -0.2730751633644104, 0.896578311920166, 0.20162516832351685, -0.3088267147541046, -0.10904153436422348, -0.3715583086013794, -1.0901919603347778, -0.777930498123169, -0.9805372357368469, -0.36656761169433594, 0.37160611152648926, 0.3627740144729614, 0.7768831253051758, 0.20577087998390198, -0.09142181277275085, 0.3190513253211975, -0.0319812074303627, 0.37284141778945923, -0.6984671950340271, 0.5974190831184387, -0.2920236885547638, -0.5395174026489258, -0.7488017082214355, -0.2831309735774994, 0.4268525242805481, 0.6842560768127441, -0.27684256434440613, -0.17285044491291046, 0.029799077659845352, 0.49966326355934143, -0.5755473971366882, -0.1784493774175644, -1.1043834686279297, 0.10535698384046555, 0.04471173509955406, -0.3196631669998169, -0.5553745031356812, -0.26765620708465576, 0.2318010777235031, -0.26870372891426086, 0.2086491584777832, 0.05857604742050171, 0.7476860880851746, -0.2691362202167511, -0.10505059361457825, -0.28403860330581665, -1.1488125324249268, 0.8946128487586975, -0.5580083727836609, 0.0994199886918068, 0.3002854585647583, 0.389450341463089, -0.3001653850078583, -0.6673310399055481, -0.53236323595047, -0.05139175429940224, 0.21324779093265533, 0.31565162539482117, -0.12929505109786987, -0.005741811823099852, -0.19059620797634125, 0.24901331961154938, -0.33875831961631775, -0.26153624057769775, -0.6211481094360352, -0.33132973313331604, 0.33021560311317444, 0.5164914131164551, 0.5005576610565186, 0.057071659713983536, -0.7627493143081665, 0.1492602527141571, -0.49859997630119324, -0.23222044110298157, 0.2117777019739151, 0.30998966097831726, 0.2251717746257782, 0.10249084234237671, 0.008052199147641659, 0.5723472833633423, 0.03347257524728775, -0.16348762810230255, 0.19144612550735474, -0.06364161521196365, -0.21432949602603912, 0.11492181569337845, 0.7565641403198242, 0.49703559279441833, 0.008283061906695366, -0.3411352336406708, 0.0467437319457531, -0.15164195001125336, 0.46039730310440063, -0.5441253185272217, -0.43560001254081726, 0.28207021951675415, -0.5187138319015503, 0.0725972056388855, 0.041256800293922424, -0.7138305306434631, -0.06234767287969589, -0.008406085893511772, 0.5935750007629395, -0.7616169452667236, -0.40943193435668945, 0.2083543986082077, -0.19456668198108673, 0.24051007628440857, 0.4454044699668884, -0.8632757663726807, 0.4305764436721802, 0.32526177167892456, 0.8232777714729309, -0.39927390217781067, -0.18488271534442902, -0.49391311407089233, 0.5086396336555481, -0.16594171524047852, 0.7189171314239502, -0.6013779044151306, -0.650558590888977, 0.02570563368499279, -0.1768055260181427, 0.23511391878128052, -0.9777831435203552, 0.22149908542633057, -0.4447205662727356, 0.6653770804405212, 0.3647647202014923, -0.5305564403533936, -0.14230309426784515, 0.19649165868759155, -0.33596184849739075, 1.0151216983795166, 0.5301102995872498, -0.10908744484186172, 0.17855358123779297, -0.4794738292694092, -0.5402950644493103, 0.37161892652511597, -0.14639951288700104, -0.333848774433136, 0.0891394391655922, -0.022493859753012657, 0.27172234654426575, -0.04302484169602394, 0.3816182613372803, -0.1277519166469574, -0.23469577729701996, 0.4164060056209564, -0.38876304030418396, 0.4174700975418091, 0.21370437741279602, 0.06730933487415314, 0.07189349830150604, -0.4312674403190613, 0.4485054910182953, -0.10795319080352783, -0.3215204179286957, -0.04633304476737976, -0.006456371396780014, -0.1217297688126564, 0.10961976647377014, 0.3152856230735779, -0.5888487100601196, 0.011189636774361134, -0.4177529811859131, 0.8263612985610962, 0.7918964624404907, 0.04243898764252663, 0.38517093658447266, -0.6521669626235962, 0.2740175127983093, 0.2934797406196594, 0.40842628479003906, -0.9752180576324463, -0.3221172094345093, -1.1570173501968384, 0.17813047766685486, -0.17242790758609772, 0.48107969760894775, -0.30818095803260803, 0.5808972120285034, -0.15359453856945038, -0.05879708379507065, -0.17723581194877625, 0.2745640277862549, 0.002894732402637601, 0.5000924468040466, 0.5747062563896179, -0.6204429268836975, -0.7807853817939758, -0.8535674810409546, -0.04375813528895378, -0.4500042498111725, -0.33809521794319153, 0.4574742317199707, -0.09309082478284836, -0.2731161415576935, 1.2308610677719116, -0.6336273550987244, -0.13120241463184357, -0.2823403477668762, -0.02541070245206356, -0.061080243438482285, 0.4262585937976837, 0.25204503536224365, -0.5053108334541321, -0.3719230890274048, -0.20140527188777924, -0.48685359954833984, 0.34926342964172363, -0.5910385847091675, -0.3753223121166229, 0.21260450780391693, 0.5986586809158325, -0.7222090363502502, 0.22508354485034943, 0.30174148082733154, -0.222939595580101, 0.19985902309417725, -0.23829299211502075, 0.11783929169178009, -1.1916462182998657, -0.370654821395874, -0.6635593771934509, -0.3634095788002014, -0.4888486862182617, -0.5323891639709473, 0.08324328809976578, -0.27685025334358215, -0.6085764765739441, 1.0083824396133423, -0.6449998617172241, 0.40768420696258545, -0.48660579323768616, 0.269687682390213, -0.013071575202047825, 0.7037334442138672, -0.16852353513240814, 0.469461053609848, 0.5485497713088989, -0.7239274382591248, 0.40809366106987, 0.1368916630744934, -0.0392288975417614, 0.7987415194511414, -0.31049981713294983, 0.4320380985736847, -0.06773681938648224, 0.14680229127407074, -1.1441549062728882, -0.17870061099529266, 0.23734253644943237, -0.5237684845924377, 0.45027104020118713, 0.05778256431221962, -0.13412368297576904, -0.3151102066040039, -0.19380232691764832, 0.3494000732898712, 1.002550721168518, -0.46409872174263, 1.0834200382232666, 0.3955109715461731, -0.4052412509918213, 0.0000388703920179978, -0.5223822593688965, 0.6392190456390381, -0.2847503125667572, -0.7760847210884094, 0.5201492309570312, -0.3104422688484192, -0.07470754534006119, -0.13836689293384552, -0.24169044196605682, -0.13925792276859283, -0.2164023220539093, 0.387498676776886, 0.46026891469955444, -0.35416659712791443, 0.4074971377849579, -0.04259030520915985, -0.005165836773812771, -0.10855308175086975, -0.28058886528015137, 1.1225228309631348, 0.005265834741294384, -0.2068975567817688, -0.45715227723121643, 0.48700034618377686, 0.48889219760894775, 0.04838268458843231, 0.6593325138092041, 0.46167275309562683, -0.13623517751693726, -0.3653098940849304, -1.0266613960266113, -0.30365893244743347, -0.5231357216835022, 0.3632022440433502, -0.13569815456867218, -0.9904915690422058, 0.5454398989677429, -0.20763374865055084, 0.06958906352519989, 0.2023162841796875, 0.5168755650520325, -0.367297887802124, 0.6636916995048523, 0.4019492566585541, -0.08220718055963516, 0.7705997228622437, 0.26600971817970276, 0.28024086356163025, -0.9297794699668884, -0.3418624699115753, 0.05719119682908058, -0.43165841698646545, -0.09684210270643234, -0.40290123224258423, -0.022851234301924706, 0.2995131015777588, -0.4859975278377533, 0.17249292135238647, -0.42554324865341187, 0.6020873188972473, 0.41493818163871765, 0.37896788120269775, 0.2808895409107208, -0.17428581416606903, 0.36720651388168335, 0.07013003528118134, -0.5233948230743408, -0.6501218676567078, 0.9195975661277771, 0.1303751915693283, 1.0482345819473267, 0.0013426188379526138, 0.7272700071334839, 0.3140994608402252, 0.2889285981655121, -0.5579238533973694, 0.7436193227767944, 0.24949419498443604, -0.3729898929595947, -0.1320628970861435, -0.2794223725795746, -1.211410403251648, 0.038623321801424026, -0.11534257978200912, -0.9236053824424744, -0.44165119528770447, 0.31502240896224976, -0.6378098130226135, 0.4069051444530487, -0.8877130746841431, 0.42728087306022644, -0.43615373969078064, -0.3772740960121155, -0.23141784965991974, -0.8456827998161316, 0.32602500915527344, 0.2321460098028183, -0.2382127046585083, -0.3296993374824524, -0.08763913065195084, 0.4243304133415222, -0.21418026089668274, 0.9257100224494934, 0.145758256316185, 0.18801002204418182, 0.5941265225410461, 0.25501549243927, 0.06794850528240204, 0.18974246084690094, 0.25253307819366455, -0.0814843475818634, -0.22464005649089813, -0.4496989846229553, -0.7670100927352905, 0.7731167078018188, -0.5254101753234863, -0.9414616227149963, -0.11632625758647919, -0.5061779618263245, -0.3234368562698364, 0.03387370705604553, -0.1104828417301178, 0.2138517051935196, -0.6354790925979614, 0.13277676701545715, 0.8000775575637817, -0.5184522867202759, 0.4936635494232178, 0.3816864788532257, -0.47424155473709106, -0.4524082541465759, 0.586440920829773, -0.4313257038593292, 0.6627593040466309, 0.3516624867916107, 0.12173611670732498, 0.09680397808551788, -0.30367404222488403, -0.2675049901008606, 0.03276573121547699, -0.4278086721897125, -0.44015932083129883, -0.8994026184082031, -0.5391889214515686, -0.07094260305166245, -0.16387338936328888, -0.38222673535346985, -0.2921905219554901, -0.16635160148143768, 0.11343464255332947, 0.4266425669193268, 0.337458074092865, 0.2143387645483017, 0.29352235794067383, -1.0127111673355103, 0.3724586069583893, 0.5448766350746155, 0.26334428787231445, 0.1929573118686676, -0.3838425278663635, -0.10597708076238632, 0.2887267768383026, -0.7072286605834961, -0.5957786440849304, 0.29849404096603394, 0.38063371181488037, 0.6094237565994263, 0.22892598807811737, -0.21298004686832428, 0.7709968686103821, -0.5538544654846191, 1.0362130403518677, 0.5894380211830139, -0.7615947127342224, 0.7047972679138184, -0.24465666711330414, 0.663162112236023, 0.38196003437042236, -0.21848182380199432, -0.8526903986930847, -0.6065916419029236, -0.7344064116477966, -1.052043080329895, 0.4309321641921997, 0.10455066710710526, 0.9071289300918579, -0.48261648416519165, 0.4859106242656708, 0.27393853664398193, 0.03126738965511322, -0.34989574551582336, -0.09954264760017395, -0.04189525544643402, -0.08491943776607513, 0.22791308164596558, -0.2519180476665497, -0.11470090597867966, -0.056070875376462936, 0.29241639375686646, 0.15195180475711823, 0.3800925612449646, -0.20705318450927734, -0.06564438343048096, 0.04188083857297897, 0.39519909024238586, 0.41608527302742004, 0.7111492156982422, -0.17732807993888855, 0.07090172916650772, 0.34317824244499207, -0.40804752707481384, -0.02523234486579895, -0.6034445762634277, 0.08114009350538254, -0.03727716952562332, -0.011438990011811256, 0.6293428540229797, 0.24418291449546814, -0.8946264982223511, 0.26747018098831177, -0.10402725636959076, 0.03632671758532524, -0.5255899429321289, 0.648668110370636, 0.5284156203269958, 0.24654577672481537, 0.6714039444923401, 0.20588502287864685, -0.3200019598007202, -1.1849457025527954, 0.262421578168869, 0.5040910840034485, -0.44521188735961914, -0.2608889639377594, 0.5695413947105408, 0.42527294158935547, -0.6908895969390869, 0.9199004173278809, 0.1611037403345108, -0.35720208287239075, 0.17030678689479828, 0.7272294163703918, 0.8342676162719727, -0.48429563641548157, 0.17263323068618774, 0.417283833026886, -0.30049359798431396, -0.22791787981987, 0.2104603499174118, -0.28738194704055786, -0.7889391779899597, -0.03592054545879364, -0.4941028356552124, -0.32812395691871643, 0.17169877886772156, -0.5293591022491455, 0.10401935875415802, -0.5499699711799622, -0.5023674964904785, -0.4676770865917206, -0.40609970688819885, -0.5471217036247253, 0.12200651317834854, -0.0461219847202301, 0.4086760878562927, -0.2519054412841797, 0.5840625166893005, 0.08752422034740448, -0.22096920013427734, -0.17144747078418732, -0.08036544919013977, -0.29669398069381714, -0.9027455449104309, 0.39564454555511475, 0.1095614954829216, -0.4010952413082123, -0.3136422038078308, -0.4796627163887024, -0.7435867786407471, 1.0760102272033691, 0.2891548275947571, -0.4860036373138428, -0.21165436506271362, -0.17461559176445007, 0.4968012571334839, -0.35842570662498474, 0.09957093745470047, 0.3770219683647156, -0.06562820076942444, 0.4491504430770874, -0.7658154964447021, -0.13434231281280518, -0.12042990326881409, 0.11659692227840424, 0.6970920562744141, -0.8810417056083679, 0.898654043674469, -0.3488314151763916, -0.8304235935211182, 0.43169769644737244, 0.9849056601524353, -0.02894383668899536, 0.017908789217472076, 0.2090902477502823, 0.21336965262889862, 0.8825621008872986, -0.043031707406044006, 0.39216935634613037, -0.2881048321723938, -0.12769478559494019, 1.5991442203521729, -0.3539142310619354, 0.8475795984268188, 0.5027249455451965, -0.10546597093343735, 0.6719921827316284, 0.15946923196315765, 0.18696071207523346, 0.26753342151641846, 0.22903335094451904, -0.5053650140762329, -0.2741725742816925, 0.19897179305553436, -0.23529866337776184, 0.34152504801750183, 0.4173368215560913, -0.32895350456237793, -0.14111843705177307, 0.1694742888212204, 0.1267491728067398, 0.1931414157152176, -0.11200990527868271, 0.8079566359519958, 0.018159979954361916, -0.7722565531730652, 0.45439478754997253, -0.35729658603668213, 0.9159652590751648, -0.7121491432189941, -0.03329816088080406, -0.4675278961658478, 0.26617884635925293, -0.09912751615047455, -0.9407629370689392, 0.3700251877307892, -0.3149486780166626, -0.055550720542669296, -0.3543781042098999, 0.6445440649986267, -0.7493478655815125, -0.1732420027256012, 0.17009897530078888, 0.8221864700317383, 0.04254717752337456, 0.08710907399654388, -0.4136797785758972, 0.12216386944055557, -0.027793219313025475, 0.019214190542697906, 0.37960878014564514, 0.44004279375076294, 0.053511980921030045, 0.8845343589782715, 0.3838372826576233, 0.013913242146372795, -0.005045074503868818, 0.035667531192302704, 0.7106118202209473, -1.096339225769043, -0.34722259640693665, -1.0184593200683594, 0.38306689262390137, -0.2657725214958191, -0.4889947175979614, 0.6726711988449097, 0.833626925945282, 0.7182820439338684, 0.13266994059085846, 0.8503506183624268, 0.1389515995979309, 0.5688454508781433, -0.6150788068771362, 0.5956665873527527, -0.1412619650363922, 0.03059018962085247, 0.067811019718647, -0.766758382320404, -0.1707502007484436, 0.5276370644569397, 0.23787279427051544, 0.25392523407936096, 0.5767406821250916, 0.6950128078460693, -0.061691977083683014, 0.11910320073366165, 0.5161219835281372, 0.13699553906917572, 0.5037134289741516, 0.9756746888160706, 1.1655082702636719, -0.23888099193572998, 0.7819052934646606, 0.37081024050712585, 0.05547739565372467, -0.04405326023697853, -0.5399278998374939, -0.9733933210372925, -0.7573444843292236, -0.19843779504299164, -0.30396729707717896, 0.09466040879487991, 0.7532733678817749, 0.7436690926551819, -0.4161640703678131, -0.41008836030960083, 0.2312067151069641, -0.17736771702766418, 0.015965554863214493, -0.2525409460067749, 0.1307661384344101, -0.5815213918685913, -0.5828993320465088, 0.3102256655693054, 0.9549388885498047, 0.27125105261802673, -0.4527752101421356, -0.045352041721343994, 0.02279549650847912, 0.27391695976257324, 0.8208658695220947, 0.5056322813034058, -0.7518508434295654, -0.4256177842617035, 0.15286089479923248, -0.11777424067258835, 0.8772395849227905, 0.900576114654541, -1.0319206714630127, 0.8016537427902222, 0.1543695628643036, 0.3978178799152374, 0.8364856243133545, -0.04986632242798805, 0.9546616077423096, -0.3940792977809906, 0.06228015571832657, 0.5862843990325928, 0.12939460575580597, 0.4934799373149872, -0.1698465347290039, 0.1814197152853012, -0.2226366251707077, -0.4292961359024048, -0.5340992212295532, 0.4887675940990448, -1.0705156326293945, -0.4708029627799988, 0.83781898021698, 0.24351376295089722, -0.21006391942501068, -0.4463769495487213, -0.6381019353866577, -0.012917013838887215, -0.5890601873397827, 0.9921234846115112, 0.8872359395027161, -0.7044914364814758, -0.1891021579504013, -0.32016491889953613, 0.37787139415740967, 0.2504456341266632, -0.7966047525405884, 0.04439288750290871, 0.502042293548584, 0.36041292548179626, 0.16133156418800354, 1.019505262374878, -0.10939767956733704, 0.22815032303333282, 0.08111733943223953, -0.1387149542570114, 0.20692956447601318, -0.17492002248764038, 0.42861706018447876, 0.18056155741214752, -0.09931352734565735, -0.12550362944602966 ]
http://arxiv.org/abs/2403.01432v2
http://arxiv.org/pdf/2403.01432v2
Fine Tuning vs. Retrieval Augmented Generation for Less Popular Knowledge
2024-03-03T08:07:55
2024-03-07T11:24:09
Heydar Soudani, Evangelos Kanoulas, Faegheh Hasibi
cs.CL
cs.CL
Large language models (LLMs) memorize a vast amount of factual knowledge, exhibiting strong performance across diverse tasks and domains. However, it has been observed that the performance diminishes when dealing with less-popular or low-frequency concepts and entities, for example in domain specific applications. The two prominent approaches to enhance the performance of LLMs on low-frequent topics are: Retrieval Augmented Generation (RAG) and fine-tuning (FT) over synthetic data. This paper explores and evaluates the impact of RAG and FT on customizing LLMs in handling low-frequency entities on question answering task. Our findings indicate that FT significantly boosts the performance across entities of varying popularity, especially in the most and least popular groups, while RAG surpasses other methods. Additionally, the success of both RAG and FT approaches is amplified by advancements in retrieval and data augmentation techniques. We release our data and code at https://github.com/informagi/RAGvsFT.
[ -0.9747629761695862, -1.1961870193481445, 0.5276534557342529, -0.21303793787956238, -0.15544165670871735, 0.360024094581604, -0.4372881054878235, -0.6797916889190674, 0.2974180281162262, 0.6424892544746399, -0.39648178219795227, -0.2796521782875061, -0.32546645402908325, 0.1958041936159134, -0.2558956444263458, 1.0565035343170166, 0.1404494345188141, -0.1810985654592514, -0.39667457342147827, -0.271104097366333, -0.5822921395301819, -0.435932457447052, -0.7514547109603882, -0.3523339331150055, 0.6015805602073669, 0.6574252843856812, 0.6589705944061279, 0.7249473333358765, 0.5002234578132629, 0.28533273935317993, -0.3275723457336426, 0.8273712992668152, -0.9349780082702637, 0.22967040538787842, -0.33863288164138794, -0.3911534249782562, -0.4517277181148529, -0.2232125848531723, 0.4113314151763916, 0.8792340755462646, -0.13817304372787476, 0.4259033501148224, -0.00964425876736641, 0.7999556064605713, -0.7041580080986023, -0.2086111158132553, -1.1477066278457642, -0.3969900906085968, -0.2725391983985901, -0.477958083152771, -0.17270731925964355, -0.2968565821647644, 0.01597028784453869, -0.8736175894737244, 0.49603042006492615, 0.3303830921649933, 0.8821430802345276, 0.5156559944152832, -0.12682481110095978, -0.2825964689254761, -1.0246065855026245, 0.8860519528388977, -0.411420613527298, 0.48630139231681824, 0.3686423599720001, 0.23004846274852753, -0.17781631648540497, -0.5961064100265503, -0.5631979703903198, -0.08339516818523407, -0.054075926542282104, -0.0816025361418724, -0.10693936049938202, -0.0023069584276527166, 0.43924084305763245, 0.5946637988090515, -0.2736620008945465, 0.10321807861328125, -0.39845553040504456, 0.004483667202293873, 0.5909040570259094, 0.2610792815685272, 0.02742699719965458, -0.24536238610744476, -0.18487843871116638, 0.11978980153799057, -0.8939082622528076, -0.08941273391246796, 0.15971675515174866, 0.4652138948440552, 0.17824026942253113, 0.6925747990608215, -0.5996906757354736, 0.8809430599212646, 0.4043833315372467, -0.12487965822219849, 0.13916294276714325, -0.36734911799430847, -0.28357723355293274, -0.20119072496891022, 0.24004259705543518, 0.3240526020526886, 0.3248104453086853, -0.24719491600990295, -0.41844287514686584, -0.34651240706443787, 0.17774932086467743, -0.6848117709159851, 0.03641902282834053, -0.21013669669628143, -0.30494067072868347, 0.018932338804006577, -0.233400359749794, -0.7165294885635376, -0.5270507335662842, -0.8462216258049011, 0.4613049030303955, -0.3954337239265442, 0.09698864072561264, -0.030727852135896683, -0.1466592252254486, 0.12813490629196167, 0.6359269022941589, -0.9019733667373657, 0.3353765606880188, 1.0537599325180054, 0.6816570162773132, -0.32814228534698486, 0.12397781014442444, -0.7404108047485352, 0.11164376884698868, -0.3661976158618927, 0.9857009053230286, -0.7397476434707642, -0.35816821455955505, -0.24146682024002075, -0.20832495391368866, -0.07358808815479279, -0.8941709995269775, 0.38032644987106323, -0.9843697547912598, 0.007735301740467548, -0.45206594467163086, -0.7158868312835693, 0.08771239966154099, 0.20139886438846588, -0.6519941091537476, 1.1753278970718384, 0.2305295616388321, -0.5775095820426941, 0.46597814559936523, -0.38885393738746643, -0.47257745265960693, 0.08991371840238571, -0.04640309885144234, -0.22146502137184143, 0.3003902733325958, 0.15782447159290314, 0.3734985589981079, -0.5903098583221436, -0.10368906706571579, -0.3460981249809265, -0.7052688002586365, 0.1929626315832138, -0.28429681062698364, 0.07206013053655624, 0.5804523825645447, 0.12816032767295837, -0.28805282711982727, -0.9112101197242737, 0.08865917474031448, -0.14414989948272705, -0.6113268733024597, -0.6754494309425354, -0.01041316892951727, -0.11935073882341385, -0.0848698765039444, 0.2789396643638611, -0.42636561393737793, 0.18691731989383698, -0.8002381324768066, 0.18991009891033173, 0.5418139696121216, 0.5325816869735718, 0.6595157980918884, -0.7855419516563416, 0.42236602306365967, -0.13145418465137482, -0.19217288494110107, 0.22081279754638672, -0.3716796040534973, -0.7169135212898254, -0.0637914389371872, 0.4149148762226105, 0.45840656757354736, -1.118947982788086, -0.16428041458129883, -0.3452117145061493, -0.5236629843711853, -0.7666431665420532, 0.5569649934768677, 0.32643499970436096, 0.7347447276115417, 0.5922145843505859, -0.001105639268644154, -0.6440590023994446, -0.9157968163490295, -0.5393759608268738, 0.07903388142585754, -0.08743734657764435, 0.8230946660041809, 0.13259351253509521, -0.20033998787403107, 0.900242269039154, -0.6695401072502136, -0.18872956931591034, -0.31402647495269775, -0.0646907314658165, 0.2503439784049988, 0.4082460403442383, 0.5842838287353516, -0.7777189016342163, -0.6737264394760132, 0.07798267155885696, -0.015398099087178707, -0.03430955111980438, 0.10558723658323288, -0.14701558649539948, 0.5685024261474609, 0.47576940059661865, -0.5648590922355652, 0.12464779615402222, 0.2819264531135559, 0.09300665557384491, 0.1667226105928421, -0.08036116510629654, 0.42554450035095215, -1.0380398035049438, 0.017348019406199455, -0.05771157518029213, -0.2276354730129242, -0.8675355911254883, 0.024830637499690056, -0.14396370947360992, 0.1934405416250229, -0.44509223103523254, 0.7248978018760681, -0.31343457102775574, 0.06318800151348114, -0.3028578758239746, 0.24449670314788818, 0.09050120413303375, 0.2986879348754883, -0.15838399529457092, 1.1729176044464111, 0.07580042630434036, -0.9886665940284729, 0.0481269396841526, 0.2236384153366089, -0.48908132314682007, 0.3316662013530731, -0.6770626306533813, 0.2581714987754822, -0.29844990372657776, -0.3300839960575104, -0.8095924854278564, -0.4170432388782501, -0.15948468446731567, -0.42657849192619324, 0.4685126841068268, -0.36934059858322144, -0.6029971241950989, -0.02381068281829357, -0.2871110141277313, 0.20021872222423553, 0.6726912260055542, -0.432131290435791, 0.38389313220977783, 0.4426042437553406, -0.04212265461683273, -0.4225509464740753, -0.5917244553565979, -0.31895706057548523, -0.44906166195869446, -0.6020025610923767, 0.36732056736946106, -0.08365342766046524, -0.4539948105812073, -0.19787411391735077, -0.2401258647441864, -0.11022673547267914, 0.26291507482528687, -0.0359419584274292, 0.19896000623703003, -0.47157174348831177, 0.4432016909122467, 0.07575817406177521, 0.030875438824295998, -0.4521251618862152, 0.03146881237626076, 0.6119487285614014, -0.09148550778627396, -0.19801098108291626, 0.16106966137886047, 0.16652485728263855, 0.28078946471214294, -0.25139349699020386, 0.8736637830734253, 0.5555673241615295, -0.29143086075782776, -0.42086243629455566, -0.8813093304634094, -0.24162089824676514, -0.5319653153419495, 0.11880321055650711, -0.45235031843185425, -1.1883630752563477, 0.41198235750198364, -0.2502307891845703, -0.0007543679093942046, 0.48201531171798706, 0.6534863114356995, -0.29991772770881653, 0.946182906627655, 0.575312614440918, 0.02506173774600029, 0.5890985727310181, -0.10884691774845123, 0.013598337769508362, -0.9176047444343567, 0.1458425372838974, -0.5953719615936279, -0.3539092540740967, -0.865032434463501, -0.5515194535255432, 0.4575338661670685, 0.41458460688591003, -0.18896888196468353, 0.09310643374919891, -0.5578627586364746, 0.5898870825767517, 0.6138206720352173, 0.10082130879163742, 0.6148160099983215, 0.31779277324676514, 0.2695430815219879, -0.07619389146566391, -0.7577682733535767, -0.4605103135108948, 1.1116352081298828, 0.06804131716489792, 0.896767258644104, 0.14872485399246216, 0.7142288088798523, 0.08257387578487396, 0.23342809081077576, -0.6815931797027588, 0.46931299567222595, -0.5973406434059143, -0.6999121904373169, -0.3728632628917694, -0.5295262336730957, -1.0193192958831787, 0.03600708022713661, -0.4026281237602234, -0.44567304849624634, 0.2641535997390747, 0.42723631858825684, -0.47448480129241943, 0.1807272732257843, -0.8015283942222595, 0.3277466595172882, 0.16315703094005585, -0.2880057394504547, -0.2819647490978241, -0.229268878698349, 0.3311758041381836, -0.24148067831993103, 0.11773493885993958, -0.0644950196146965, -0.15989021956920624, 0.5578997135162354, -0.258743017911911, 0.5299385190010071, -0.15935350954532623, 0.1297028362751007, 0.4084245562553406, -0.027151692658662796, 0.7340906262397766, 0.30192598700523376, -0.3511607348918915, -0.2716056704521179, 0.05728921666741371, -0.22857767343521118, -0.7412028312683105, 0.964594841003418, -0.7070606350898743, -0.885392963886261, 0.09084797650575638, -0.625274658203125, -0.6730162501335144, 0.1299741268157959, 0.19122712314128876, 0.32126230001449585, -0.010220522060990334, 0.46906712651252747, 1.1407232284545898, -0.22199702262878418, 0.09211856126785278, 0.7040553689002991, -0.07755176723003387, -0.3787953555583954, 1.1128151416778564, 0.3652580976486206, 0.501984715461731, 0.4361844062805176, -0.01736120507121086, -0.04464391991496086, -0.7454113960266113, -0.3917422890663147, 0.36976760625839233, -0.6333810687065125, -0.3638390302658081, -0.6853765249252319, -0.15508180856704712, -0.36699554324150085, -0.0728391781449318, -0.3563031256198883, -0.7627449035644531, -0.5108064413070679, 0.08100958168506622, 0.9019582271575928, 0.5709704756736755, 0.06845158338546753, 0.09473828971385956, -0.7503760457038879, 0.6650710701942444, 0.26356229186058044, 0.5148242115974426, -0.13038088381290436, -0.606317400932312, -0.34997203946113586, 0.1221332922577858, -0.10698682069778442, -0.4398459792137146, 0.11244126409292221, 0.3494974970817566, 0.47285014390945435, 0.006010557524859905, 0.1610672026872635, 1.0104402303695679, -0.4973165690898895, 0.5377407670021057, -0.37819358706474304, -0.5296596884727478, 0.3447456955909729, -0.4208317995071411, 0.1732373684644699, 0.9221048951148987, 0.22832469642162323, -0.4905286729335785, -0.44964489340782166, -0.5047938823699951, -0.8446240425109863, 0.7147549986839294, 0.035728082060813904, 0.26401790976524353, 0.00922344345599413, 0.7421941161155701, 0.157314732670784, 0.4894104599952698, -0.04965422302484512, -0.49658697843551636, 0.1702568680047989, -0.08043655008077621, -0.17444072663784027, -0.22067517042160034, -0.08188926428556442, -0.3139122724533081, 0.6885758638381958, -0.13568681478500366, 0.19104629755020142, 0.16675089299678802, -0.2166011780500412, -0.3786425292491913, 0.40386512875556946, 0.7203070521354675, 0.5891860723495483, -0.19676199555397034, -0.07847926765680313, 0.6020894646644592, -0.39352577924728394, -0.16922400891780853, 0.16679301857948303, -0.6569622159004211, -0.009849323891103268, 0.1993931382894516, 0.8594714999198914, 0.07803873717784882, -0.5351017713546753, -0.07027272135019302, 0.19463221728801727, -0.11501658707857132, -0.13889554142951965, 0.5118769407272339, 0.11982607841491699, 0.25305402278900146, 0.37494078278541565, 0.20667900145053864, 0.13492488861083984, -0.5405697822570801, 0.13904327154159546, 0.6041421294212341, -0.03811214864253998, -0.08124713599681854, 0.518047034740448, -0.025821402668952942, -0.13730573654174805, 0.20486919581890106, -0.18203306198120117, -0.15718646347522736, 0.5383100509643555, 0.32569625973701477, 0.38448527455329895, 0.06018095090985298, 0.06531684100627899, 0.2749386727809906, 0.24454611539840698, 0.025901146233081818, 0.38015246391296387, -0.06819956004619598, -0.6523734331130981, -0.6235886812210083, -0.9018223285675049, -0.37455490231513977, 0.32138410210609436, -0.5452235341072083, 0.28275492787361145, -0.42165863513946533, -0.1307910680770874, 0.0988176092505455, 0.3451176583766937, -0.7835886478424072, 0.24542178213596344, -0.10100630670785904, 0.8842917680740356, -0.3475394546985626, 0.7350785136222839, 1.010994553565979, -0.34539347887039185, -0.8476293683052063, -0.019360987469553947, -0.24461697041988373, -0.764107882976532, 0.5979331731796265, -0.41014567017555237, -0.022837374359369278, 0.2964542806148529, -0.38506147265434265, -1.2756999731063843, 1.101418375968933, 0.3139338791370392, -0.53728848695755, 0.00453608762472868, 0.29188981652259827, 0.8758590817451477, -0.2417295277118683, -0.05831551179289818, 0.776560366153717, 0.4703241288661957, 0.24048416316509247, -0.9506033062934875, -0.11670776456594467, 0.07424765080213547, 0.15164273977279663, 0.4240795373916626, -0.735152542591095, 0.7827199101448059, -0.048542771488428116, -0.36053621768951416, 0.12611357867717743, 0.5828030705451965, 0.42689159512519836, 0.5259265899658203, 0.4602817893028259, 0.4534277617931366, 0.903828501701355, -0.2123813033103943, 1.1007370948791504, -0.3680330514907837, 0.2328425496816635, 1.1134880781173706, -0.0968133956193924, 0.8245717287063599, 0.5021580457687378, -0.09682845324277878, 0.05111764371395111, 0.5204975605010986, 0.04174135625362396, 0.5160695314407349, 0.07159648835659027, -0.04500708729028702, -0.38097140192985535, -0.23756659030914307, -0.3418334126472473, 0.23048752546310425, 0.5120511651039124, -0.14432866871356964, -0.18423306941986084, 0.16451862454414368, -0.050436779856681824, 0.24396497011184692, -0.5966984629631042, 1.1453758478164673, 0.12370618432760239, -0.8290073275566101, 1.0187407732009888, 0.05958033353090286, 0.6322160959243774, -0.1793821007013321, -0.05301377549767494, -0.4390489161014557, 0.0750073716044426, -0.28762078285217285, -0.6695365905761719, 0.5169604420661926, 0.14345033466815948, -0.49466168880462646, -0.15783433616161346, 1.0161726474761963, -0.39199069142341614, -0.25947389006614685, -0.030235351994633675, 0.6812688708305359, -0.17280316352844238, 0.05528140440583229, -0.5333941578865051, -0.009050024673342705, -0.03256439045071602, -0.41339173913002014, 0.45438113808631897, 0.5643518567085266, -0.15728743374347687, 0.7012400031089783, 0.7717968821525574, 0.19222751259803772, 0.20873302221298218, 0.15210585296154022, 1.0911650657653809, -0.43989256024360657, -0.00041363260243088007, -0.5060498118400574, 0.2603256404399872, 0.03017428144812584, -0.18132305145263672, 0.9217232465744019, 0.6080937385559082, 0.9058377146720886, -0.09290493279695511, 0.5352923274040222, 0.016762500628829002, 1.263031005859375, -0.6730024218559265, 0.5943644046783447, -0.8192037343978882, 0.5731635093688965, -0.23615385591983795, -0.9971701502799988, -0.10385613143444061, 0.0872039943933487, -0.47448253631591797, 0.14145468175411224, 0.24587026238441467, 1.0052013397216797, -0.14519165456295013, -0.13214470446109772, 0.3118113875389099, 0.33300942182540894, 0.07395655661821365, 0.297095388174057, 0.9041564464569092, -0.19268356263637543, 0.5501798391342163, -0.361441045999527, 0.17908403277397156, -0.27368852496147156, -0.3992636799812317, -0.8630326986312866, -0.45480096340179443, -0.16818681359291077, -0.1651025414466858, 0.045543454587459564, 0.9246265292167664, 0.4626111090183258, -0.8735218644142151, 0.2107909470796585, -0.035629358142614365, 0.29711487889289856, 0.09765072911977768, -0.287520170211792, 0.12310806661844254, -0.5310257077217102, -0.8268951773643494, 0.4107495844364166, 0.021448330953717232, 0.036201559007167816, 0.05159289762377739, 0.014068666845560074, -0.17136308550834656, 0.42252519726753235, 0.710809051990509, 0.3033360540866852, -0.63679039478302, -0.2830088138580322, 0.3482435941696167, -0.1360858976840973, 0.07867665588855743, 0.6777258515357971, -0.9753926396369934, 0.15472450852394104, 0.7499310970306396, 0.8490768671035767, 0.594239354133606, 0.572618305683136, 0.2872394025325775, -0.9439771175384521, -0.1424904316663742, 0.21608835458755493, 0.03864240273833275, 0.3268720805644989, -0.4988626539707184, 0.4869075417518616, 0.11454378813505173, -0.6963415145874023, -1.0499563217163086, 0.21038918197155, -0.8050497770309448, -0.32825759053230286, 1.1811492443084717, 0.4031623601913452, -0.11382509768009186, -0.31474077701568604, -0.11434309929609299, 0.12373314052820206, -0.4388802945613861, 0.7029427886009216, 0.5893667340278625, -0.2793739140033722, -0.053070761263370514, -0.8511708974838257, 0.936823844909668, 0.4818093776702881, -0.6119595170021057, -0.07435629516839981, 0.5328832268714905, 0.47064539790153503, 0.24447819590568542, 0.46051526069641113, 0.2322763204574585, 0.33200404047966003, -0.47126245498657227, -0.405218243598938, -0.22852514684200287, -0.18322312831878662, -0.18100620806217194, 0.21184757351875305, 0.37468284368515015, 0.29504185914993286 ]
http://arxiv.org/abs/2403.01411v1
http://arxiv.org/pdf/2403.01411v1
OVEL: Large Language Model as Memory Manager for Online Video Entity Linking
2024-03-03T06:47:51
2024-03-03T06:47:51
Haiquan Zhao, Xuwu Wang, Shisong Chen, Zhixu Li, Xin Zheng, Yanghua Xiao
cs.CL
cs.CL
In recent years, multi-modal entity linking (MEL) has garnered increasing attention in the research community due to its significance in numerous multi-modal applications. Video, as a popular means of information transmission, has become prevalent in people's daily lives. However, most existing MEL methods primarily focus on linking textual and visual mentions or offline videos's mentions to entities in multi-modal knowledge bases, with limited efforts devoted to linking mentions within online video content. In this paper, we propose a task called Online Video Entity Linking OVEL, aiming to establish connections between mentions in online videos and a knowledge base with high accuracy and timeliness. To facilitate the research works of OVEL, we specifically concentrate on live delivery scenarios and construct a live delivery entity linking dataset called LIVE. Besides, we propose an evaluation metric that considers timelessness, robustness, and accuracy. Furthermore, to effectively handle OVEL task, we leverage a memory block managed by a Large Language Model and retrieve entity candidates from the knowledge base to augment LLM performance on memory management. The experimental results prove the effectiveness and efficiency of our method.
[ -0.6477996706962585, -1.0395046472549438, 0.3543459177017212, 0.09021789580583572, -0.31165817379951477, -0.07605137676000595, -0.5214584469795227, -0.5981069207191467, 0.2750377357006073, 0.29002290964126587, -0.2939623296260834, -0.36218735575675964, -0.2911019027233124, -0.348526269197464, -0.4443854093551636, 0.7057215571403503, -0.37099942564964294, 0.05914144963026047, -0.09738525003194809, -0.41162043809890747, -0.31338828802108765, -0.16550703346729279, -0.7638027667999268, 0.2515694797039032, 0.4745117425918579, 0.0011218669824302197, 0.5865854620933533, 0.9166971445083618, 0.5903355479240417, 0.29422855377197266, 0.1672806590795517, 0.4577234983444214, -0.5073555111885071, 0.5333656072616577, -0.3329470455646515, -0.2064957469701767, -0.8215875029563904, -0.7324861884117126, 0.8694579601287842, 0.30304232239723206, -0.24954766035079956, 0.3417077660560608, -0.4083397686481476, 0.3255852460861206, -0.9281217455863953, 0.18739797174930573, -0.8735659122467041, 0.11041698604822159, -0.2845230996608734, -0.14199689030647278, -0.1850779503583908, -0.38744357228279114, -0.03120017610490322, -0.6759199500083923, 0.12289291620254517, 0.41262906789779663, 0.6774877309799194, 0.3403400480747223, -0.24474428594112396, -0.1750490367412567, -0.9527514576911926, 0.5216391682624817, -0.5400876402854919, 0.6576662659645081, 0.44614705443382263, 0.7397557497024536, 0.12990988790988922, -0.3946858048439026, -0.6791532039642334, -0.15423548221588135, 0.5108845829963684, -0.26846376061439514, 0.23990517854690552, 0.0729607567191124, 0.32630226016044617, 0.3704478144645691, -0.1764470487833023, -0.210079625248909, -0.3140570819377899, -0.12734240293502808, 0.33695051074028015, 0.1353929489850998, 0.5194255113601685, -0.01391750480979681, -0.5532586574554443, 0.33313482999801636, -0.7466254830360413, -0.5601536631584167, 0.21739229559898376, 0.17623306810855865, -0.06435076892375946, 0.8917691111564636, 0.013101238757371902, 0.8706151843070984, -0.21040034294128418, -0.5248382687568665, 0.09234850853681564, -0.32418403029441833, -0.35775673389434814, 0.2626042068004608, 0.6979132294654846, 0.5491299033164978, 0.3221515119075775, -0.1637718677520752, -0.13664259016513824, 0.1450260877609253, 0.29342204332351685, -0.7870610952377319, -0.14689821004867554, -0.15133152902126312, -0.3347170054912567, 0.2788013815879822, 0.10388490557670593, -0.8896798491477966, -0.3716758191585541, -0.008678067475557327, 0.627494215965271, -0.653431236743927, -0.4000276029109955, -0.0999072715640068, 0.3519878387451172, -0.1325901448726654, 0.549504816532135, -0.7354518175125122, 0.2921789288520813, 0.3847620487213135, 0.8289249539375305, -0.23335562646389008, -0.3647337555885315, -1.0413761138916016, 0.8519842028617859, 0.18689146637916565, 0.5647487044334412, -0.44104883074760437, 0.06783653050661087, 0.5247383117675781, -0.08494678139686584, -0.11947769671678543, -0.47913408279418945, 0.19052104651927948, -0.9318944811820984, -0.1536197066307068, -0.23155273497104645, -0.5850813984870911, -0.1804056167602539, 0.5784120559692383, -0.9322735071182251, 0.9705070853233337, -0.17333859205245972, -0.6252665519714355, 0.47336387634277344, -0.48854580521583557, -0.41707348823547363, -0.08963271975517273, -0.2670069932937622, -0.33857443928718567, -0.2244938313961029, 0.10026169568300247, 0.559283435344696, -0.32460224628448486, 0.5781980752944946, -0.4901610016822815, -0.09497503936290741, 0.09794825315475464, -0.2640324532985687, 0.19630180299282074, 0.2354905605316162, -0.2786233425140381, -0.04165547341108322, -0.9637562036514282, -0.5064594745635986, -0.020883405581116676, -0.5347728729248047, -0.44012632966041565, 0.03548141196370125, -0.01832052692770958, 0.3300226926803589, -0.12400040030479431, -0.4766700267791748, 0.30096712708473206, -0.030765490606427193, 0.48233962059020996, 0.4778347313404083, 0.13195210695266724, 0.5658482909202576, 0.03210664540529251, 0.403931200504303, 0.08213992416858673, 0.26370078325271606, -0.53655606508255, -0.4851762652397156, -0.8577072024345398, -0.21105195581912994, 0.008743365295231342, 0.25335946679115295, -0.7725258469581604, -0.22344672679901123, -0.49181056022644043, -0.04667603597044945, -0.450624942779541, 0.447238028049469, 0.3140152394771576, 0.5406822562217712, 0.5605570077896118, -0.1610143929719925, -0.48287418484687805, -0.519988477230072, 0.03284694626927376, -0.2029644250869751, 0.006145547144114971, 0.510736882686615, 0.3396173119544983, -0.14188869297504425, 0.8894947171211243, -0.6682742238044739, -0.7364399433135986, 0.12225233018398285, -0.05529652535915375, -0.27887752652168274, 0.030051153153181076, 0.5407446026802063, -0.9177740812301636, -0.41928547620773315, -0.10795453190803528, -0.8424837589263916, 0.4621832072734833, 0.06524855643510818, -0.15741465985774994, 0.2560579478740692, 0.45694878697395325, -0.7111963629722595, 0.2131866216659546, 0.40239229798316956, 0.022520799189805984, 0.13626013696193695, -0.36276161670684814, 0.395506352186203, -1.0542020797729492, -0.040643494576215744, 0.07052402198314667, -0.32782265543937683, -0.09206234663724899, 0.051206573843955994, -0.05897361785173416, -0.10067588090896606, -0.922066330909729, 0.6931041479110718, -0.685819149017334, -0.471231609582901, 0.13725192844867706, 0.5754299759864807, -0.23631632328033447, 0.5255991220474243, 0.0482901968061924, 0.5422595143318176, 0.6819192171096802, -0.9702773690223694, 0.8459754586219788, 0.2316294014453888, -0.447109580039978, 0.8406366109848022, -0.09302671253681183, -0.22746632993221283, -0.232335165143013, -0.07167552411556244, -0.8847265839576721, -0.3948293924331665, 0.30242612957954407, -0.2539985477924347, 0.3538713753223419, -0.24648068845272064, -0.5083592534065247, -0.05865487456321716, -0.05976741760969162, 0.5338911414146423, 0.23506209254264832, -0.38819772005081177, 0.963715136051178, 0.6365935802459717, -0.059218909591436386, -0.3545689880847931, -0.5667932629585266, -0.05019359290599823, -0.32979536056518555, -0.666328489780426, 0.4575768709182739, -0.07791868597269058, -0.3125859200954437, 0.3670506179332733, -0.12298880517482758, -0.28958606719970703, -0.2822120189666748, 0.3132880628108978, 0.3123672306537628, -0.418979287147522, 0.3765033781528473, -0.24068160355091095, 0.11159973591566086, 0.08790943026542664, -0.17262625694274902, 0.37766849994659424, 0.40726438164711, -0.4877692461013794, 0.12125843018293381, 0.4111156165599823, 0.5556525588035583, -0.36042317748069763, 1.2082120180130005, 0.7843390703201294, -0.7022126317024231, -0.045837804675102234, -1.0228524208068848, 0.02143765240907669, -0.3837480843067169, 0.34831365942955017, -0.1711416095495224, -0.851137638092041, 0.6716448068618774, -0.20139771699905396, -0.09535636007785797, 0.17001700401306152, 0.4198607802391052, -0.05194473639130592, 0.6707983613014221, 0.44927531480789185, -0.16897785663604736, 0.5933043956756592, -0.17407067120075226, 0.11782938241958618, -0.8523610830307007, -0.6046356558799744, -0.20969246327877045, 0.05331450328230858, 0.047604531049728394, -0.8726481199264526, 0.4708729088306427, 0.3143225908279419, -0.5762342214584351, 0.5103474259376526, 0.09318926930427551, 0.13950300216674805, 0.1790858656167984, 0.0195558313280344, 0.5730677843093872, 0.23421509563922882, -0.251294881105423, 0.03962039574980736, -0.6964360475540161, -0.1545201987028122, 0.7349011301994324, 0.3923361897468567, 1.0343354940414429, 0.4315618574619293, 0.07600974291563034, 0.40629422664642334, 0.11773492395877838, -0.4937240779399872, 0.7708953619003296, 0.4057265818119049, -0.7083489298820496, -0.32089763879776, -0.20321108400821686, -0.5764796733856201, -0.14265696704387665, -0.461439847946167, -0.7858867645263672, -0.47341907024383545, 0.4578620493412018, -0.38397303223609924, 0.8152594566345215, -0.22531627118587494, 0.8048762679100037, -0.4460298717021942, -0.7444524168968201, -0.3627428412437439, -0.7596384286880493, 0.37107837200164795, 0.05798603594303131, 0.48862209916114807, 0.03190405294299126, -0.23561058938503265, 0.5326676964759827, -0.41106560826301575, 0.5381735563278198, 0.011177093721926212, -0.13121023774147034, 0.606971025466919, 0.16364358365535736, 0.7187715768814087, 0.18655292689800262, 0.09319699555635452, -0.08840613067150116, -0.47913822531700134, -0.03909149765968323, -0.45930635929107666, 1.1705436706542969, -0.5797570943832397, -0.2288026511669159, -0.19515171647071838, -0.15405555069446564, -0.24166113138198853, 0.13195550441741943, -0.14833614230155945, 0.5699939727783203, -0.27727022767066956, 0.12182538211345673, 1.2168811559677124, -0.4216175973415375, 0.7090245485305786, 0.5004904866218567, -0.504368782043457, -0.6671083569526672, 0.9564542770385742, 0.05444788560271263, 0.3575358986854553, 0.8153854608535767, -0.36001887917518616, -0.30154749751091003, -0.36482858657836914, -0.9093118906021118, 0.31524625420570374, -0.7810256481170654, -0.36527255177497864, -0.976967990398407, -0.07179218530654907, -0.30452269315719604, -0.03832881152629852, -0.6175915598869324, 0.16890370845794678, -0.16369770467281342, -0.18248116970062256, 0.6951851844787598, 0.3064451217651367, 0.38741034269332886, 0.14111411571502686, -0.990094006061554, 0.6847970485687256, 0.493124395608902, 0.786781907081604, 0.39478224515914917, -0.2147814929485321, -0.5314928889274597, -0.18181520700454712, -0.07220780849456787, -1.0601555109024048, 0.22114260494709015, 0.44320178031921387, 0.6260338425636292, 0.8192405700683594, -0.10618425905704498, 0.8126296401023865, -0.7371025681495667, 0.7347278594970703, 0.26845550537109375, -0.6800220012664795, 0.5408837795257568, -0.6420215368270874, -0.10812810808420181, 0.33533456921577454, 0.5923416614532471, -0.337531715631485, -0.08562848716974258, -0.3202366232872009, -0.9863332509994507, 0.37650641798973083, 0.045312635600566864, -0.026746928691864014, -0.27806514501571655, 0.10148411989212036, -0.03311009705066681, 0.553617537021637, -0.4890470504760742, -0.46868497133255005, 0.08803025633096695, 0.34561818838119507, 0.10391682386398315, -0.1900087147951126, 0.03813163936138153, 0.01132154930382967, 0.6219161748886108, 0.030239921063184738, 0.41859889030456543, -0.08898923546075821, -0.502325177192688, -0.4452645778656006, 0.17673325538635254, 0.5911193490028381, 0.7671838998794556, -0.32631680369377136, 0.17838850617408752, 0.45401039719581604, -0.38446044921875, 0.08947663754224777, -0.12005570530891418, -0.18077263236045837, 0.07915988564491272, 0.17694556713104248, 0.9151619076728821, 0.6989007592201233, -0.8444696664810181, 0.5117965340614319, 0.36848047375679016, 0.31206071376800537, -0.7801194190979004, 0.03407646343111992, 0.17175425589084625, 0.3148648142814636, 0.32793939113616943, 0.12653891742229462, -0.0871587023139, -0.9348109364509583, 0.06295499950647354, 0.3161613941192627, -0.4427332580089569, -0.21670527756214142, 1.135872721672058, 0.3516005575656891, -0.4812101721763611, 0.5460585951805115, -0.15132082998752594, -0.3661613166332245, 0.1885177344083786, 0.44693684577941895, 0.5910012722015381, -0.3138764798641205, 0.07850860059261322, 0.5042227506637573, -0.06638681888580322, -0.5037617087364197, 0.1661883294582367, -0.10339386761188507, -0.5456180572509766, -0.6881833076477051, -0.6566608548164368, -0.10339154303073883, 0.0724559873342514, -0.7058393359184265, 0.5579618215560913, -0.2391929030418396, -0.24556481838226318, -0.2471873164176941, -0.42731544375419617, -0.7811153531074524, 0.40198808908462524, 0.31019821763038635, 1.00270414352417, -0.7192648649215698, 1.036784291267395, 0.8703213930130005, -0.7802940607070923, -0.772354006767273, -0.40015530586242676, -0.08835739642381668, -0.6015851497650146, 0.5846889615058899, -0.239645317196846, -0.1350223273038864, -0.008902915753424168, 0.09436098486185074, -0.7932655215263367, 1.2378851175308228, 0.44531893730163574, -0.6209284067153931, -0.2761783301830292, -0.1075412780046463, 0.3454086184501648, -0.3943195641040802, 0.4538983106613159, -0.12897557020187378, 0.4292242228984833, 0.4003438353538513, -0.9077754020690918, 0.04855545610189438, 0.06585992872714996, -0.11108347773551941, 0.6618722677230835, -0.7098662853240967, 0.7258781790733337, -0.29899704456329346, -0.036921706050634384, -0.254067987203598, 0.913809061050415, 0.1891712099313736, 0.41144052147865295, 0.41390854120254517, 0.5822510123252869, 0.3382112979888916, 0.38778698444366455, 0.6933426260948181, -0.19551870226860046, 0.2900402545928955, 1.3428561687469482, -0.41864728927612305, 1.0482813119888306, 0.5680432319641113, -0.17108173668384552, 0.29779624938964844, 0.15277139842510223, -0.08793886750936508, 0.5556412935256958, 0.1012536883354187, -0.530058741569519, -0.4197930693626404, -0.25066640973091125, -0.5576795935630798, 0.04112715274095535, 0.26858264207839966, -0.6434186697006226, -0.3391924202442169, 0.2934921085834503, 0.019576752558350563, 0.16724339127540588, -0.770636260509491, 0.5221250653266907, -0.037582170218229294, -0.7393990159034729, 0.11434467881917953, 0.031041793525218964, 0.5246424674987793, -0.6061381697654724, -0.1826317459344864, 0.008606739342212677, 0.29849326610565186, -0.1394757181406021, -0.5015695095062256, 0.3220931589603424, 0.20989900827407837, -0.13997963070869446, 0.018385034054517746, 0.7200621962547302, -0.7893290519714355, -0.2192845195531845, 0.4641592502593994, 0.3556264638900757, 0.10443872213363647, -0.14834466576576233, -0.37397119402885437, 0.4856024980545044, -0.35642802715301514, -0.11920429766178131, 0.6484862565994263, 0.4115171730518341, -0.26248443126678467, 0.971442699432373, 0.2620673179626465, 0.25938481092453003, 0.29550400376319885, -0.008296327665448189, 0.9958605170249939, -0.7135136723518372, -0.36562883853912354, -0.9687590599060059, 0.4111281633377075, -0.07224643230438232, -0.0710393413901329, 0.9789866805076599, 0.9349898099899292, 1.006729245185852, -0.34150806069374084, 0.662788987159729, -0.21427205204963684, 0.26904064416885376, -0.5665675401687622, 0.3889458179473877, -0.3770580589771271, 0.2633328139781952, -0.5647433400154114, -1.3250815868377686, -0.21067775785923004, 0.46215391159057617, -0.05876479670405388, -0.04784660041332245, 0.6681405901908875, 0.7366926670074463, -0.5006006360054016, -0.19455401599407196, 0.4194318354129791, 0.2180391401052475, -0.021642720326781273, 0.579794704914093, 0.714400053024292, -0.4550604820251465, 0.8941888213157654, 0.07741888612508774, 0.27711278200149536, -0.5309790372848511, -1.3405946493148804, -1.2492507696151733, -0.566209614276886, -0.6071111559867859, -0.3707849979400635, 0.22023388743400574, 1.1308258771896362, 0.699988842010498, -0.557969868183136, 0.02367747575044632, 0.25528794527053833, -0.13162584602832794, -0.10093342512845993, -0.11426923424005508, 0.2994782030582428, 0.39554616808891296, -0.5636487603187561, 0.16377927362918854, 0.6735839247703552, -0.203232079744339, -0.7461238503456116, -0.16021811962127686, -0.43741586804389954, -0.1902826726436615, 0.5488129258155823, 0.3838501572608948, -0.7021209597587585, -0.33581802248954773, 0.09621263295412064, -0.010019107721745968, -0.010615051724016666, 0.9359762668609619, -0.62596195936203, 0.5936875939369202, 0.6181828379631042, 0.6321975588798523, 0.9067097306251526, 0.011563816107809544, 0.5116807222366333, -0.5069652199745178, 0.020827898755669594, 0.022780850529670715, 0.43794530630111694, 0.44876039028167725, -0.14832372963428497, 0.2958473861217499, 0.18814247846603394, -0.3209390640258789, -0.7222461104393005, 0.16733497381210327, -1.179365634918213, 0.16544751822948456, 1.2743419408798218, -0.4743335247039795, -0.26236504316329956, -0.06359423696994781, -0.2493642419576645, 0.5857968330383301, -0.5615059733390808, 0.6965799331665039, 0.4576428532600403, 0.31293994188308716, -0.5094221234321594, -1.1071815490722656, 0.3842584788799286, -0.17039696872234344, -0.7037279009819031, -0.3602750301361084, 0.6224642992019653, 0.38390490412712097, 0.11205390095710754, 0.6523693799972534, 0.14875295758247375, -0.018405653536319733, -0.1025758758187294, 0.010110567323863506, -0.5239182114601135, -0.585792064666748, 0.23355282843112946, 0.621379017829895, -0.04782338812947273, -0.320609986782074 ]
http://arxiv.org/abs/2403.01404v1
http://arxiv.org/pdf/2403.01404v1
What Is Missing in Multilingual Visual Reasoning and How to Fix It
2024-03-03T05:45:27
2024-03-03T05:45:27
Yueqi Song, Simran Khanuja, Graham Neubig
cs.CL
cs.CL
NLP models today strive for supporting multiple languages and modalities, improving accessibility for diverse users. In this paper, we evaluate their multilingual, multimodal capabilities by testing on a visual reasoning task. We observe that proprietary systems like GPT-4V obtain the best performance on this task now, but open models lag in comparison. Surprisingly, GPT-4V exhibits similar performance between English and other languages, indicating the potential for equitable system development across languages. Our analysis on model failures reveals three key aspects that make this task challenging: multilinguality, complex reasoning, and multimodality. To address these challenges, we propose three targeted interventions including a translate-test approach to tackle multilinguality, a visual programming approach to break down complex reasoning, and a novel method that leverages image captioning to address multimodality. Our interventions achieve the best open performance on this task in a zero-shot setting, boosting open model LLaVA by 13.4%, while also minorly improving GPT-4V's performance.
[ -0.21755412220954895, -0.6105257272720337, 0.6104320287704468, 0.3607519865036011, -0.08454125374555588, 0.022959597408771515, -0.2009323686361313, -0.5794762969017029, -0.24886451661586761, 0.24407827854156494, -0.4587602913379669, -0.29977187514305115, -0.5575595498085022, 0.25843092799186707, -0.023279903456568718, 0.6687130331993103, -0.4977659285068512, 0.16370949149131775, -0.3197895586490631, -0.43421733379364014, -0.8481034636497498, -0.3723192512989044, -0.49264243245124817, -0.08765941113233566, 0.4973111152648926, 0.3837687075138092, 0.9256787896156311, 0.14153537154197693, 0.6927285194396973, 0.3018423914909363, 0.21632139384746552, 0.3833889663219452, -0.1023719310760498, 0.04912065714597702, -0.26785483956336975, -0.623210608959198, -0.34090471267700195, -0.13827931880950928, 0.4906632602214813, 0.5645251870155334, 0.04405907914042473, -0.09542029350996017, -0.06985201686620712, 0.3179422616958618, -0.6309306025505066, 0.4721754789352417, -0.42662060260772705, 0.1980913132429123, -0.09599202126264572, -0.07249755412340164, -0.4042603075504303, -0.07271483540534973, 0.011431990191340446, -0.7271071076393127, 0.07892712950706482, 0.13366039097309113, 1.0043935775756836, 0.36840584874153137, -0.5739782452583313, -0.02825075387954712, -0.7186761498451233, 0.9014344215393066, -0.6306769251823425, 0.6120333075523376, 0.23484252393245697, 0.38576239347457886, 0.016188176348805428, -0.4539361894130707, -0.5958545207977295, -0.25980305671691895, 0.1026446744799614, 0.2561907470226288, -0.3595608174800873, -0.1214243471622467, 0.5031008720397949, 0.06124725565314293, -0.8169149160385132, -0.14630061388015747, -0.2660517692565918, -0.25445878505706787, 0.3559757173061371, -0.10834309458732605, 0.724729061126709, -0.27016109228134155, -0.23350413143634796, -0.02782934345304966, -0.5487934350967407, 0.07893162965774536, 0.33110135793685913, 0.4118473529815674, -0.17946988344192505, 0.8656920194625854, -0.09370154142379761, 0.8275250792503357, -0.6154659390449524, -0.3282800316810608, 0.37945693731307983, -0.702176034450531, -0.28835228085517883, -0.3935348689556122, 0.5160800218582153, 0.4921606779098511, 0.5143622159957886, 0.07833372801542282, -0.3018650710582733, 0.24568414688110352, -0.02176050655543804, -0.325674444437027, -0.1689147800207138, 0.0805252194404602, -0.31159594655036926, 0.19807609915733337, -0.3389304578304291, -0.47687020897865295, -0.0845738872885704, -0.3828464150428772, 0.5147747993469238, -0.6040098667144775, -0.4932546019554138, 0.347601056098938, -0.2684062719345093, 0.17160633206367493, 0.6434234380722046, -0.9631643891334534, -0.033422406762838364, 0.39151713252067566, 0.869647741317749, -0.06775040179491043, -0.471978098154068, -0.4405289590358734, 0.10947304964065552, -0.3962273895740509, 0.8076146841049194, -0.47540339827537537, 0.04798852279782295, -0.06179889664053917, 0.03073449805378914, -0.3608523905277252, -0.32474061846733093, 0.31205055117607117, -0.1032349094748497, 0.2567395865917206, -0.503119707107544, -0.08372058719396591, -0.2367480993270874, 0.6697131395339966, -0.6233326196670532, 0.6817765831947327, -0.0422731377184391, -0.8239759206771851, 0.431196391582489, -0.8857686519622803, -0.16586826741695404, 0.13274702429771423, -0.31556236743927, -0.15758675336837769, -0.039680689573287964, 0.571624219417572, 0.3118550777435303, 0.047313205897808075, 0.15208828449249268, -0.3033718764781952, -0.34894174337387085, -0.16511550545692444, -0.45978668332099915, 0.756586492061615, 0.032314203679561615, -0.45858460664749146, 0.3775515854358673, -0.5837371945381165, 0.04228635132312775, 0.41928791999816895, -0.2584458887577057, -0.3197450637817383, -0.06156183406710625, 0.17154715955257416, 0.30814072489738464, -0.04694264754652977, -0.43970754742622375, 0.24097754061222076, -0.4265579879283905, 0.4141223132610321, 0.7528606653213501, -0.368956983089447, 0.36658501625061035, 0.09624674171209335, 0.8371356129646301, 0.0791151225566864, 0.32047611474990845, -0.4322744309902191, -0.9426122903823853, -0.8148535490036011, -0.22130577266216278, 0.17306260764598846, 0.7570964694023132, -1.452478289604187, -0.47587162256240845, -0.14386093616485596, -0.058797769248485565, -0.379705548286438, 0.07721414417028427, 0.44767701625823975, 0.27631711959838867, 0.3618207275867462, -0.2881491482257843, -0.25598639249801636, -1.125253677368164, -0.3502066433429718, -0.2925559878349304, 0.05204305797815323, 0.16846883296966553, 0.8453760147094727, -0.22317247092723846, 0.3804604411125183, -0.24542036652565002, -0.20846545696258545, -0.3346274793148041, 0.0033110531512647867, 0.10625673830509186, 0.33370867371559143, 0.610818088054657, -0.9506905674934387, -0.2899450361728668, 0.2869321405887604, -0.9715985655784607, 0.09000478684902191, -0.20509488880634308, 0.06287053972482681, 0.3106427788734436, 0.3266207277774811, -0.547549307346344, 0.6255455613136292, 0.7152734398841858, -0.4902067184448242, 0.7779841423034668, -0.41125553846359253, 0.27101948857307434, -0.5700021982192993, -0.2526399493217468, 0.1280989646911621, -0.24312737584114075, -0.3848353326320648, 0.44993096590042114, 0.1969621777534485, -0.2223414182662964, -0.5060511827468872, 0.47362998127937317, -0.5669196844100952, -0.18534719944000244, 0.07695630937814713, 0.16291238367557526, 0.07330531626939774, 0.4624458849430084, -0.10271697491407394, 0.7441960573196411, 0.6158071756362915, -0.1537773609161377, 0.4697571098804474, 0.30544593930244446, -0.2937651574611664, 0.6250386238098145, -0.6220131516456604, -0.2505229413509369, -0.268001914024353, 0.018749168142676353, -0.9217606782913208, -0.3429607152938843, 0.2999681830406189, -0.2799913287162781, 0.12037051469087601, -0.16285420954227448, -0.5964146852493286, -0.3683086633682251, -0.01833704300224781, 0.42365148663520813, -0.03375590220093727, -0.5487805604934692, 0.7578230500221252, 0.08122298866510391, -0.16121375560760498, -0.7846810221672058, -0.7294303178787231, 0.3286445736885071, -0.023775501176714897, -1.0732746124267578, 0.016165394335985184, -0.09562651813030243, -0.34109950065612793, -0.07986821979284286, -0.005278009921312332, -0.08092024177312851, 0.0705123245716095, 0.035661011934280396, 0.2879166901111603, -0.20224235951900482, 0.31768137216567993, -0.07531601935625076, -0.05819883197546005, -0.14186719059944153, -0.16286703944206238, 0.21078826487064362, -0.7476962208747864, -0.8418508172035217, -0.15030571818351746, 0.563538670539856, 0.4752434194087982, -0.6890850067138672, 0.3700106143951416, 0.8295974135398865, -0.28925982117652893, -0.2049940824508667, -0.3976920247077942, 0.08867674320936203, -0.36328864097595215, 0.43318504095077515, -0.7217893004417419, -0.8606699109077454, 0.4113026261329651, 0.14713162183761597, 0.037429582327604294, 0.19267266988754272, 0.6299030184745789, -0.01712031103670597, 1.2035263776779175, 0.7953664064407349, 0.5616437792778015, 0.1742352694272995, -0.16700443625450134, 0.5856142640113831, -0.4822293817996979, -0.3822859227657318, -0.14440865814685822, -0.19452962279319763, -0.5703684687614441, -0.6466771364212036, 0.5386714935302734, 0.12116441130638123, -0.009085474535822868, 0.23724836111068726, -0.3650364875793457, 0.4533575177192688, 0.7245562672615051, -0.07444548606872559, 0.4708497226238251, -0.09585294127464294, -0.6412865519523621, -0.35294613242149353, -0.7857529520988464, -0.47468534111976624, 0.8586081862449646, 0.2821255624294281, 0.5028440356254578, 0.4812304377555847, 0.2394121140241623, -0.15428611636161804, 0.20769040286540985, -0.6897345781326294, 0.4418615400791168, -0.0221998393535614, -0.5363743305206299, -0.23436520993709564, -0.2256729155778885, -0.7521896958351135, 0.673894464969635, -0.27417701482772827, -0.580115795135498, 0.07938055694103241, 0.2574414908885956, -0.07515453547239304, 0.4033055305480957, -1.0626641511917114, 1.2801989316940308, -0.37832212448120117, -0.40697240829467773, 0.05627091974020004, -0.5702609419822693, 0.6077089905738831, 0.044395238161087036, 0.4453761875629425, -0.19573190808296204, 0.14437466859817505, 0.1826632171869278, -0.10947500169277191, 0.651627779006958, -0.14312981069087982, -0.14381422102451324, -0.06679315865039825, 0.09060376137495041, 0.1559934765100479, -0.0029634693637490273, 0.3264160752296448, 0.29920873045921326, -0.05623393505811691, -0.5051674842834473, -0.7067885994911194, 0.555587649345398, -0.43135231733322144, -0.5794474482536316, -0.46985214948654175, -0.7708984017372131, -0.2909986078739166, 0.19792278110980988, -0.09583638608455658, 0.2640548646450043, 0.07050685584545135, 0.046282026916742325, 0.5070595145225525, -0.6155138611793518, 0.638263463973999, 0.3457648456096649, -0.5190609693527222, -0.09117866307497025, 0.7822717428207397, 0.04781718924641609, 0.44347137212753296, 0.09001492708921432, 0.09605705738067627, -0.2849602997303009, -0.6256958246231079, -0.8213638663291931, 0.22401975095272064, -0.9516228437423706, 0.07739568501710892, -0.6020101308822632, 0.14928676187992096, -0.3605423867702484, -0.015346248634159565, -0.39136672019958496, -0.38909196853637695, 0.013683394528925419, -0.11755628883838654, -0.07234352082014084, 0.48628440499305725, -0.21926331520080566, -0.17083555459976196, -0.6482798457145691, 0.469270795583725, 0.32064908742904663, 0.45791155099868774, -0.0560116320848465, -0.2086944580078125, 0.04334848374128342, -0.09502145648002625, -0.4225664436817169, -0.796482264995575, 0.36166054010391235, 0.013219528831541538, 0.5390368700027466, 0.0647868812084198, -0.3814226984977722, 0.6733796000480652, -0.8360439538955688, 0.9177138209342957, 0.3836829960346222, -0.8589363694190979, 0.7024877071380615, -0.5036686658859253, 0.5208917260169983, -0.008861917071044445, 0.40980657935142517, -0.5131841897964478, -0.41865184903144836, -0.251716673374176, -0.8354446887969971, 0.3057937026023865, 0.3845764398574829, -0.020585430786013603, -0.07108839601278305, -0.018196672201156616, -0.013124180026352406, -0.01567748934030533, -1.1717280149459839, 0.04257352650165558, -0.4758174419403076, 0.06757247447967529, -0.0441674068570137, 0.01772003062069416, -0.18025623261928558, -0.3466431796550751, 0.40400180220603943, -0.4469022750854492, 0.10843400657176971, 0.2415829449892044, -0.12843595445156097, 0.1444053053855896, 0.32317960262298584, 0.8842322826385498, 1.0762150287628174, -0.0344352088868618, 0.03045595809817314, -0.066880002617836, -0.049187593162059784, 0.05620082840323448, 0.034409891813993454, -0.16209706664085388, 0.08317290246486664, 0.6560924053192139, 1.0187902450561523, 0.21496166288852692, -0.8498546481132507, 0.7689913511276245, -0.26349493861198425, -0.1667165458202362, -0.24068427085876465, -0.16926537454128265, 0.22220294177532196, 0.37006115913391113, 0.08606687933206558, 0.43962642550468445, -0.0066780103370547295, -0.551485002040863, 0.07464815676212311, 0.484165221452713, -0.33173587918281555, -0.22355981171131134, 1.0155872106552124, 0.06796858459711075, -0.08572208136320114, 0.518216073513031, -0.23873044550418854, -0.5130452513694763, 0.46087566018104553, 0.5135491490364075, 0.47018900513648987, -0.18094339966773987, 0.4969969093799591, 0.3690216839313507, 0.8577854633331299, -0.23044390976428986, 0.5993226170539856, 0.22108837962150574, -0.8707528710365295, -0.9409159421920776, -0.3345016539096832, -0.4274534583091736, -0.22259582579135895, -0.3790920376777649, 0.1746591329574585, -0.11832401901483536, -0.0006411205977201462, 0.017977941781282425, -0.5167242884635925, -0.8614456057548523, 0.20183202624320984, 0.2579864263534546, 0.6993080973625183, -1.0973314046859741, 0.5763555765151978, 0.6534196138381958, -0.7988854050636292, -0.6912479996681213, -0.42103198170661926, 0.13236477971076965, -0.7836331129074097, 0.9810591340065002, 0.22838614881038666, -0.0010622033150866628, -0.3556082844734192, -0.5408974885940552, -0.7802414894104004, 0.6933535933494568, 0.6153500080108643, -0.44086262583732605, -0.01607309654355049, 0.0851798951625824, 0.5024533867835999, -0.22380739450454712, 0.3652752935886383, 0.3330536484718323, 0.7714803814888, -0.07280713319778442, -1.328226923942566, -0.12165907025337219, -0.3340938091278076, 0.11501109600067139, -0.00209256773814559, -0.3636828064918518, 0.9067989587783813, -0.6016959547996521, -0.06344012171030045, -0.1353878378868103, 0.44230976700782776, 0.3112751245498657, 0.2413543313741684, 0.5543592572212219, 0.7658785581588745, 0.6985100507736206, -0.28627848625183105, 1.5092904567718506, 0.31096765398979187, 0.16731460392475128, 1.0620338916778564, -0.3404565155506134, 0.9194784164428711, 0.6840103268623352, -0.0030722888186573982, 0.3120913505554199, 0.4477616548538208, -0.11404313147068024, 0.39414411783218384, 0.13988804817199707, -0.10286306589841843, -0.3866293132305145, -0.1436888873577118, -0.2101372629404068, 0.7120884656906128, 0.18611270189285278, -0.035349611192941666, -0.38789719343185425, 0.45595717430114746, -0.13296033442020416, 0.21293818950653076, -0.23977945744991302, 0.3038143813610077, 0.07819395512342453, -0.6364133954048157, 0.591251015663147, 0.11604802310466766, 0.529464602470398, -0.46406880021095276, -0.36536747217178345, -0.11528901010751724, 0.20900246500968933, -0.11699998378753662, -0.6968672275543213, 0.4105876088142395, -0.1604955494403839, -0.12503692507743835, -0.47305113077163696, 0.6023883819580078, -0.47600871324539185, -0.605109691619873, 0.5725601315498352, 0.7543977499008179, 0.14259248971939087, -0.25126194953918457, -0.847204327583313, 0.21259386837482452, 0.24133425951004028, -0.017180120572447777, 0.1844366043806076, 0.4414483606815338, -0.36927294731140137, 0.9569370150566101, 0.7539106011390686, -0.004391226917505264, 0.23287814855575562, 0.435142457485199, 0.5449742674827576, -0.5974016189575195, -0.19897769391536713, -0.7592193484306335, 0.6253724694252014, 0.02851008251309395, -0.3724326193332672, 0.9106699824333191, 0.3889148235321045, 1.1755743026733398, -0.2608008086681366, 0.7398580312728882, 0.15336266160011292, 0.0918632298707962, -0.5880651473999023, 0.4590171277523041, -0.8708867430686951, 0.11598715931177139, -0.3183651268482208, -0.8765982985496521, -0.8367723226547241, 0.6913367509841919, -0.23964723944664001, -0.130594864487648, 1.0005353689193726, 0.6617532968521118, -0.13054099678993225, -0.09802312403917313, 0.590344250202179, 0.11199028789997101, 0.5903732180595398, 0.7692856788635254, 0.9133656620979309, -0.44703570008277893, 0.682508647441864, -0.14186738431453705, -0.3653494119644165, 0.2251145839691162, -1.0351886749267578, -0.8896414041519165, -0.4268198013305664, -0.3723526895046234, -0.2353612780570984, 0.034766342490911484, 0.4426834285259247, 0.5699442028999329, -0.5616274476051331, 0.019895413890480995, 0.22053830325603485, 0.2534569203853607, -0.29696908593177795, -0.2003871351480484, 0.21019916236400604, -0.31276676058769226, -0.7608776688575745, 0.4263395667076111, 0.6985329389572144, -0.011560337617993355, -0.33014369010925293, 0.004315644968301058, -0.27678948640823364, -0.1891510784626007, 0.8428769111633301, 0.16944003105163574, -1.1046751737594604, -0.4383740723133087, 0.08034373819828033, 0.1544879972934723, 0.14164170622825623, 0.6230421662330627, -0.37560221552848816, 0.9207391142845154, 0.3937007486820221, 0.6195971965789795, 0.4961808919906616, -0.246760293841362, 0.7106619477272034, -0.6159090995788574, 0.24783413112163544, 0.36168643832206726, 0.7623404264450073, 0.5986157655715942, 0.06571219116449356, 0.6012654900550842, 0.4088279902935028, -0.4109322428703308, -0.7670308351516724, 0.4814067780971527, -1.0456562042236328, -0.4081745743751526, 0.9601803421974182, -0.29608622193336487, -0.16159622371196747, -0.17318107187747955, -0.22565707564353943, -0.1567331701517105, 0.018826279789209366, 0.3491111993789673, 0.9527642130851746, -0.20714853703975677, -0.51010662317276, -1.1349691152572632, 0.2065163403749466, 0.3884134888648987, -0.7335799336433411, -0.2584036886692047, 0.5995396971702576, 0.20701153576374054, 0.3261367082595825, 0.728500485420227, -0.23985713720321655, 0.35786885023117065, 0.08036342263221741, 0.3401724100112915, -0.032842881977558136, -0.4650161564350128, -0.22322076559066772, 0.2268691211938858, -0.15113089978694916, -0.06886379420757294 ]
http://arxiv.org/abs/2403.01395v1
http://arxiv.org/pdf/2403.01395v1
CR-LT-KGQA: A Knowledge Graph Question Answering Dataset Requiring Commonsense Reasoning and Long-Tail Knowledge
2024-03-03T04:47:01
2024-03-03T04:47:01
Willis Guo, Armin Toroghi, Scott Sanner
cs.CL
cs.CL, I.2.4, I.2.7
Knowledge graph question answering (KGQA) is a well-established field that seeks to provide factual answers to natural language (NL) questions by leveraging knowledge graphs (KGs). However, existing KGQA datasets suffer from two significant limitations: (1) no existing KGQA dataset requires commonsense reasoning to arrive at an answer and (2) existing KGQA datasets focus on popular entities for which large language models (LLMs) can directly answer without hallucinating and without leveraging the KG. In this work, we seek a novel KGQA dataset that supports commonsense reasoning and focuses on long-tail entities (e.g., non-mainstream and recent entities) where LLMs frequently hallucinate, and thus create the need for novel methodologies that leverage the KG for factual and attributable commonsense inference. We create a novel Commonsense Reasoning (CR) and Long-Tail (LT) KGQA dataset with two subtasks -- question answering and claim verification -- that address both limitations (1) and (2). We construct CR-LT-KGQA by building extensions to existing reasoning datasets StrategyQA and CREAK over Wikidata. While existing KGQA methods are not applicable due to their lack of commonsense inference support, baseline evaluation of LLMs on CR-LT KGQA demonstrate a high rate of hallucination. Thus, CR-LT KGQA poses significant challenges for hallucination-prone LLMs, hence paving the way for future commonsense KGQA research to provide accurate and factual answers for long-tail entities in the era of LLMs.
[ -0.5366600155830383, -0.9238842725753784, 0.6518535017967224, -0.04240309074521065, -0.2276187688112259, 0.0031691163312643766, -0.12289843708276749, -0.23508524894714355, 0.08463786542415619, 0.8271999359130859, -0.6762722134590149, -0.6494708061218262, -0.5367095470428467, 0.2439415454864502, -0.13841687142848969, 0.8334375023841858, 0.05336283519864082, -0.2627154588699341, -0.4627135992050171, -0.4566766619682312, -0.5547280311584473, -0.3844504952430725, -0.4692569971084595, -0.3295955955982208, 0.8973473906517029, 0.46356436610221863, 0.906265914440155, 0.2755727469921112, -0.04241667687892914, 0.1700354963541031, 0.03401061147451401, 0.3194982707500458, -0.6407012343406677, -0.03974144905805588, -0.1792144924402237, 0.017929593101143837, -0.29374322295188904, -0.37849998474121094, 0.568350613117218, 0.8142083287239075, -0.10624583065509796, 0.12592864036560059, -0.10486508160829544, 0.8352617025375366, -0.6729404330253601, 0.2299458235502243, -0.8806719779968262, -0.011142261326313019, -0.11068644374608994, 0.06660809367895126, -0.5210691094398499, -0.4335123896598816, -0.01830672100186348, -0.7860368490219116, -0.06182079389691353, 0.0907406136393547, 0.8084320425987244, 0.3335718810558319, -0.8000631332397461, -0.5121465921401978, -0.1444198191165924, 0.7339029312133789, -0.6272822022438049, 0.7970806360244751, 0.5151206254959106, 0.48083528876304626, -0.15356822311878204, -0.8488380312919617, -0.9572409987449646, -0.2631690502166748, -0.25420576333999634, 0.027653714641928673, -0.12624265253543854, -0.1081843301653862, 0.08118540793657303, 0.0426492877304554, -0.9249587655067444, 0.12466689944267273, -0.36035266518592834, -0.448325514793396, 0.5122430324554443, 0.17010630667209625, 0.21044297516345978, -0.5010480284690857, -0.5065850615501404, 0.09783800691366196, -0.6235285997390747, -0.1328638345003128, 0.3808355927467346, 0.32459351420402527, 0.04195619374513626, 0.7036804556846619, -0.6322187781333923, 0.8012910485267639, -0.43452680110931396, -0.12900088727474213, 0.2219245433807373, 0.1297425478696823, -0.20996634662151337, 0.21295228600502014, 0.7529887557029724, 0.43587344884872437, 0.3432990312576294, -0.3985014855861664, -0.13300417363643646, -0.19619527459144592, -0.04336154833436012, -0.7228731513023376, -0.3822180926799774, 0.4604423940181732, -0.2786959111690521, -0.3553731143474579, -0.4625559449195862, -1.0163451433181763, -0.5262590050697327, -0.2289804220199585, 0.6468760371208191, -0.2892032861709595, -0.44373971223831177, 0.21542079746723175, -0.13972608745098114, 0.31294915080070496, 0.20868411660194397, -0.4637148380279541, 0.2460058033466339, 0.7008787393569946, 0.5412103533744812, -0.20094740390777588, -0.1455080509185791, -0.4109545052051544, 0.08986888080835342, -0.2818901836872101, 0.6329056620597839, -0.5430576205253601, -0.2540956437587738, -0.09320192784070969, 0.10503636300563812, -0.02000289410352707, -0.5316412448883057, 0.8426713347434998, -0.9595755338668823, 0.1954701691865921, -0.6592844128608704, -0.4842487573623657, -0.3502642810344696, 0.5886609554290771, -0.8191216588020325, 1.041163444519043, 0.2184210866689682, -0.8622488975524902, 0.20607498288154602, -0.6493229866027832, -0.4332611858844757, 0.10881874710321426, -0.08065100759267807, -0.2999572455883026, -0.5024215579032898, 0.5459634065628052, 0.4592967927455902, -0.3635566532611847, 0.5212939977645874, -0.45922884345054626, -0.09771807491779327, 0.4161187410354614, -0.5520055890083313, 0.899774968624115, 0.28149768710136414, 0.10281725972890854, -0.32314398884773254, -0.8236215710639954, 0.2060016542673111, 0.3393453359603882, -0.021895263344049454, -0.2340518683195114, -0.23098094761371613, -0.2985984981060028, 0.048330456018447876, 0.2766556441783905, -0.5511126518249512, 0.11558828502893448, 0.05253848060965538, 0.46954700350761414, 0.6810587048530579, 0.145634263753891, 0.15994592010974884, -0.2857017517089844, 0.31644511222839355, -0.0011827211128547788, -0.09008659422397614, 0.40620341897010803, -0.5505897998809814, -0.4027850031852722, -0.3546951413154602, 0.33258572220802307, 0.5187870264053345, -1.2505775690078735, 0.14697209000587463, -0.6704561710357666, -0.43510815501213074, -0.10013581067323685, -0.044778186827898026, 0.3850146234035492, 1.036189079284668, 0.5257435441017151, 0.008570215664803982, -0.2781282663345337, -1.0621381998062134, -0.17579804360866547, -0.07189130038022995, 0.05589102581143379, 0.5988405346870422, 0.6662285923957825, 0.06875688582658768, 1.0453516244888306, -0.7984775304794312, -0.0067436364479362965, -0.3645274043083191, 0.0769389420747757, 0.30957210063934326, 0.1057937815785408, 0.16806478798389435, -1.0537420511245728, -0.2118758112192154, -0.13392522931098938, -0.7607818841934204, -0.056026868522167206, -0.0326111875474453, -0.16056807339191437, 0.10873408615589142, 0.22416768968105316, -0.9322444796562195, 0.19727090001106262, 0.510094404220581, -0.32261279225349426, 0.7325337529182434, 0.24468258023262024, 0.21954232454299927, -0.9038118124008179, 0.12809498608112335, -0.2715637981891632, -0.03075898066163063, -0.6499024033546448, -0.08406775444746017, 0.047948796302080154, -0.16629208624362946, -0.4337841868400574, 0.8856806755065918, -0.043980374932289124, -0.10122383385896683, 0.005142877344042063, 0.37103742361068726, 0.19729745388031006, 0.7711865901947021, 0.16380715370178223, 0.7118149995803833, 0.27669665217399597, -0.6151275038719177, 0.40483731031417847, 0.514264702796936, -0.29349637031555176, 0.44604063034057617, -0.6398847103118896, 0.1662789285182953, -0.2570290267467499, 0.4011886417865753, -0.9298429489135742, -0.5225846171379089, 0.4143548905849457, -0.6329196095466614, -0.010590922087430954, -0.36163923144340515, -0.5790697932243347, -0.5488442182540894, 0.04124501347541809, 0.6137346029281616, 0.41693198680877686, -0.6875877380371094, 0.8359096646308899, 0.1023179143667221, -0.16730569303035736, -1.131981611251831, -0.5527582764625549, 0.24436643719673157, -0.30424052476882935, -0.7159218192100525, 0.021793849766254425, 0.18379482626914978, -0.0956568717956543, 0.3666231036186218, -0.15864181518554688, -0.3918789327144623, -0.05728759616613388, -0.07441125810146332, 0.26413315534591675, -0.2502315044403076, 0.29636475443840027, 0.10099240392446518, -0.017361490055918694, 0.19089676439762115, -0.26181480288505554, 0.5219478011131287, 0.07138829678297043, -0.23789657652378082, -0.27883923053741455, 0.13213475048542023, 0.5679474472999573, -0.16981473565101624, 0.7143090963363647, 0.5245828032493591, -0.38344672322273254, -0.37861746549606323, -0.5818151235580444, -0.16413280367851257, -0.4725373685359955, 0.6979376673698425, -0.5544233322143555, -1.0109100341796875, 0.4585237503051758, 0.0910283699631691, -0.11112061142921448, 0.4063694477081299, 0.5721748471260071, 0.09800650924444199, 0.4767201542854309, -0.2391529381275177, 0.06367993354797363, -0.46467825770378113, -0.011431757360696793, 0.32815051078796387, -0.6829454302787781, -0.33989182114601135, -0.4081740975379944, -0.06971018016338348, -0.4279072880744934, -0.41581135988235474, 0.33955878019332886, -0.01598823443055153, -0.5205179452896118, 0.16136181354522705, -0.4687694013118744, 0.5584772229194641, 0.3863579332828522, 0.21885152161121368, 0.3735038936138153, -0.21924829483032227, -0.10293986648321152, 0.1869463473558426, -0.669527530670166, -0.3843832314014435, 1.121315836906433, 0.22614054381847382, 0.538847804069519, 0.28843995928764343, 0.4686717987060547, 0.46859487891197205, 0.16241738200187683, -0.639332115650177, 0.8401560187339783, -0.02437633089721203, -0.7727627158164978, -0.658727765083313, -0.8883569836616516, -0.8201049566268921, 0.1821153610944748, -0.1491135209798813, -0.7341687679290771, -0.11443153768777847, 0.11989101022481918, -0.11657899618148804, 0.4622744619846344, -0.5644969344139099, 1.102831244468689, -0.04285271838307381, -0.2632337808609009, 0.06443871557712555, -0.7763516902923584, 0.756843626499176, -0.02348714880645275, 0.19077683985233307, -0.20337900519371033, 0.1428200900554657, 0.8105682730674744, -0.37953367829322815, 0.8113560676574707, -0.45093610882759094, -0.3710230588912964, 0.6829336881637573, 0.17424163222312927, 0.8605259656906128, 0.24430741369724274, 0.02056647092103958, 0.002860580338165164, 0.1322939395904541, -0.5378237962722778, -0.898608386516571, 0.6922756433486938, -0.6380211710929871, -0.4984193742275238, -0.26998740434646606, -0.7368928790092468, -0.6422566175460815, 0.34065473079681396, -0.09568852186203003, 0.5604777336120605, 0.035656776279211044, 0.23633407056331635, 0.7792097926139832, -0.39258861541748047, 0.03641290217638016, 0.1880238950252533, -0.1617928445339203, -0.743026077747345, 1.053739070892334, 0.1364678293466568, 0.4120604395866394, 0.36260372400283813, 0.21539737284183502, -0.7659104466438293, -0.5178331136703491, -0.6161897778511047, 0.28743112087249756, -1.0028408765792847, -0.2614652216434479, -0.9048414826393127, -0.2883891761302948, -0.41185739636421204, -0.060282181948423386, -0.19247031211853027, -0.7376053929328918, 0.1524205207824707, -0.01987103372812271, 0.5466663837432861, 0.47968026995658875, 0.1065308153629303, -0.13317541778087616, -0.7917596697807312, 0.8539953231811523, 0.8222475647926331, 0.28140494227409363, 0.26889482140541077, -0.3391256630420685, 0.1363024115562439, 0.18023298680782318, -0.04931885749101639, -0.8343774080276489, 0.046194422990083694, -0.167310431599617, 0.5220780968666077, 0.042290136218070984, 0.5994395017623901, 0.5135473012924194, -0.2731405198574066, 0.8703295588493347, 0.1376396268606186, -0.6237959265708923, 0.017877953127026558, -0.4595155715942383, 0.09949161112308502, 0.5003579258918762, 0.5687996745109558, -0.6507384777069092, -0.13319581747055054, -0.45646414160728455, -0.6765219569206238, 0.3193289339542389, 0.45007088780403137, 0.07063227891921997, -0.1308535635471344, 0.21233311295509338, 0.26473554968833923, 0.26715847849845886, -0.883874773979187, -0.22007928788661957, -0.4477614462375641, -0.36988139152526855, 0.3623507618904114, -0.1513337790966034, -0.2804837226867676, -0.11659887433052063, 0.8068862557411194, -0.22839142382144928, 0.20940546691417694, 0.21732047200202942, -0.006590627133846283, 0.2978689670562744, 0.5186695456504822, 0.28435516357421875, 0.5926475524902344, -0.1685114949941635, 0.2975064814090729, 0.6416274309158325, -0.3835759460926056, -0.12318243086338043, 0.12164197862148285, -0.14549098908901215, -0.15333154797554016, 0.2813734710216522, 0.5287222862243652, -0.07513578236103058, -0.8348835706710815, 0.5133438110351562, 0.21097543835639954, -0.5941112041473389, -0.29268643260002136, -0.09213297814130783, 0.46791699528694153, 0.2407432496547699, 0.4862600862979889, -0.29137998819351196, -0.00498256366699934, -0.3159339725971222, 0.25980979204177856, 0.4907653033733368, -0.2130776047706604, 0.1269124448299408, 0.5600239038467407, 0.03805585578083992, 0.07092959433794022, 0.8356322646141052, -0.4306134879589081, -0.6356019377708435, 0.7209776043891907, 0.3762229084968567, 0.4167574346065521, 0.418295681476593, 0.38613343238830566, 0.5127824544906616, 0.1142353042960167, 0.15217085182666779, 0.2617637813091278, -0.16692966222763062, -0.8946988582611084, -0.5459150671958923, -0.5333606004714966, -0.29692599177360535, 0.3603532612323761, -0.5949981808662415, 0.21028411388397217, -0.030897511169314384, 0.10855036973953247, -0.18965882062911987, 0.012333364225924015, -0.38082075119018555, 0.4859991669654846, 0.1311941146850586, 0.9435299038887024, -0.6261524558067322, 0.6778162717819214, 0.032697997987270355, -0.19769445061683655, -0.7501254677772522, -0.08166032284498215, -0.11030901223421097, -1.0769245624542236, 0.7872714996337891, 0.04404063522815704, -0.09712537378072739, 0.0881064236164093, -0.6465873718261719, -0.6651307344436646, 1.3574020862579346, 0.08063123375177383, -0.24599970877170563, -0.1770159900188446, 0.6383444666862488, 0.042516060173511505, 0.00016528334526810795, -0.2435774803161621, 0.4042985737323761, 0.7104284763336182, 0.5762884616851807, -0.6361318230628967, 0.4239533543586731, 0.12421950697898865, -0.44589775800704956, 0.3055095672607422, -0.6868286728858948, 0.4347388744354248, -0.2028607577085495, -0.15500052273273468, 0.2086731642484665, 0.7827838063240051, 0.6921268105506897, 0.7105143070220947, 0.6568913459777832, 0.9995976090431213, 0.8848047256469727, -0.03939540684223175, 0.7029736042022705, -0.06683479994535446, 0.3812236785888672, 1.3882306814193726, -0.35697782039642334, 0.6729903817176819, 0.33890092372894287, -0.2115117758512497, 0.37229716777801514, 0.3570597171783447, -0.039295002818107605, 0.4875873625278473, 0.24544066190719604, -0.38660281896591187, -0.5263049006462097, -0.12498726695775986, -0.4329524636268616, 0.29388460516929626, 0.30818644165992737, 0.004677502438426018, -0.3726860284805298, -0.03645610809326172, 0.21377065777778625, -0.01365683227777481, -0.21226048469543457, 0.36777395009994507, 0.010408054105937481, -0.6352683901786804, 0.7473528981208801, -0.2809487581253052, 0.2195160835981369, -0.5434143543243408, -0.09408733993768692, -0.17086312174797058, -0.41044554114341736, -0.14614015817642212, -1.0821424722671509, 0.0686890184879303, -0.06144242733716965, 0.1622217893600464, 0.11753349006175995, 0.7006098031997681, -0.3144276440143585, -0.4034551680088043, -0.029079589992761612, 0.5562896132469177, 0.049723245203495026, 0.03978665545582771, -0.6165386438369751, -0.22715047001838684, -0.04186658188700676, -0.2717946171760559, 0.18102101981639862, 0.877941906452179, -0.053129892796278, 0.9731380343437195, 0.6597355604171753, -0.2495305985212326, -0.06628435105085373, -0.02188437059521675, 1.0817041397094727, -0.5351231098175049, -0.30423396825790405, -0.47623491287231445, 0.41750141978263855, -0.2042165994644165, -0.2751155197620392, 0.5646849870681763, 0.6564545035362244, 0.4890212118625641, -0.005657336208969355, 0.7809261083602905, -0.3874426484107971, 0.5274633765220642, -0.8729901313781738, 0.7852937579154968, -0.5972251296043396, -0.0211531650274992, -0.12515509128570557, -0.5925512313842773, -0.27924296259880066, 0.09898769855499268, -0.4404415786266327, 0.1023520827293396, 0.6848570108413696, 1.156628131866455, -0.07989650219678879, 0.24505716562271118, 0.34830573201179504, 0.3461437225341797, 0.08501141518354416, 0.7796785235404968, 0.8785756826400757, -0.2697610557079315, 0.9904864430427551, -0.25952911376953125, 0.25143370032310486, 0.06618347764015198, -0.9121848344802856, -0.9351904392242432, -0.6196707487106323, -0.31131964921951294, -0.736348032951355, 0.29068124294281006, 0.6886687874794006, 0.2841942310333252, -0.6930648684501648, 0.3904276490211487, -0.1078752651810646, 0.21664394438266754, 0.04840940237045288, -0.33283618092536926, 0.7423132658004761, -0.12812042236328125, -0.33725082874298096, 0.19762088358402252, -0.16646236181259155, -0.17897222936153412, -0.05131342262029648, -0.2931077778339386, -0.10417407006025314, 0.013015324249863625, 0.5253743529319763, 0.46877968311309814, -0.7214595079421997, -0.49881431460380554, 0.07170049846172333, 0.12005703896284103, 0.06529781967401505, 0.6259085536003113, -0.8600396513938904, 0.1890999972820282, 0.3145112097263336, 0.8961851000785828, 0.39683929085731506, -0.0759751945734024, 0.1403426229953766, -0.6617717146873474, -0.06644117832183838, 0.5003125667572021, 0.12400586158037186, 0.2245025485754013, -0.34001970291137695, 0.45385944843292236, 0.2875669300556183, -0.5965738296508789, -0.8886830806732178, 0.5177333950996399, -1.2540217638015747, -0.4959295392036438, 1.3418201208114624, 0.10501085966825485, -0.1927456557750702, -0.4113996624946594, -0.07401014119386673, 0.17619091272354126, -0.33141177892684937, 0.6788008213043213, 0.8301118612289429, 0.0001258481206605211, -0.23421305418014526, -0.7341948747634888, 0.38767245411872864, 0.190533846616745, -0.6766210198402405, 0.4506484270095825, 0.5614781379699707, 0.30531540513038635, -0.11516852676868439, 0.5898812413215637, -0.14917415380477905, 0.2799278199672699, 0.16006973385810852, -0.28640612959861755, -0.4056496024131775, -0.18116222321987152, 0.3564419448375702, 0.5314381718635559, -0.05130787938833237, 0.02544506825506687 ]
http://arxiv.org/abs/2403.04786v2
http://arxiv.org/pdf/2403.04786v2
Breaking Down the Defenses: A Comparative Survey of Attacks on Large Language Models
2024-03-03T04:46:21
2024-03-23T05:21:49
Arijit Ghosh Chowdhury, Md Mofijul Islam, Vaibhav Kumar, Faysal Hossain Shezan, Vaibhav Kumar, Vinija Jain, Aman Chadha
cs.CR
cs.CR, cs.CL
Large Language Models (LLMs) have become a cornerstone in the field of Natural Language Processing (NLP), offering transformative capabilities in understanding and generating human-like text. However, with their rising prominence, the security and vulnerability aspects of these models have garnered significant attention. This paper presents a comprehensive survey of the various forms of attacks targeting LLMs, discussing the nature and mechanisms of these attacks, their potential impacts, and current defense strategies. We delve into topics such as adversarial attacks that aim to manipulate model outputs, data poisoning that affects model training, and privacy concerns related to training data exploitation. The paper also explores the effectiveness of different attack methodologies, the resilience of LLMs against these attacks, and the implications for model integrity and user trust. By examining the latest research, we provide insights into the current landscape of LLM vulnerabilities and defense mechanisms. Our objective is to offer a nuanced understanding of LLM attacks, foster awareness within the AI community, and inspire robust solutions to mitigate these risks in future developments.
[ -0.44242769479751587, -1.0901139974594116, 0.4665793180465698, -0.31069448590278625, 0.22244109213352203, 0.25507256388664246, -0.07477308064699173, -0.5822952389717102, -0.172450989484787, 0.8161383271217346, -0.44171270728111267, -0.30137747526168823, -0.8102418184280396, 0.08181443065404892, -0.7144191265106201, 0.8746858835220337, 0.34858840703964233, 0.10281136631965637, -0.3757437765598297, 0.05760364979505539, -0.2631717026233673, -1.0347729921340942, -0.6574127078056335, -0.16993771493434906, 0.5952030420303345, -0.21420583128929138, 0.6440960764884949, 0.29169508814811707, 0.9190166592597961, 0.3996797800064087, -0.35077956318855286, -0.32536017894744873, -0.5203731060028076, 0.48288920521736145, -0.17381198704242706, -0.6188737154006958, -0.4538514018058777, -0.16316939890384674, 0.6039003729820251, 0.592167854309082, 0.04239371791481972, 0.07283402979373932, -0.00463878596201539, 0.6591470241546631, -0.6737276315689087, -0.308458149433136, -1.036167860031128, 0.045770540833473206, -0.5637157559394836, 0.05881489813327789, -0.6295664310455322, -0.08876179158687592, 0.1488431841135025, 0.12387049943208694, -0.013760341331362724, 0.006773130502551794, 0.6214981079101562, 0.20530544221401215, -0.5000969767570496, -0.24841058254241943, -0.5042046308517456, 1.051931619644165, -0.8617434501647949, 0.2614043653011322, 0.2956276834011078, 0.31272685527801514, -0.42274147272109985, -0.5234123468399048, -0.2553047835826874, -0.47397756576538086, -0.010007064789533615, -0.24523089826107025, -0.8104174733161926, 0.2651241719722748, 0.34546592831611633, 0.4830012321472168, -0.7082186937332153, 0.49436697363853455, -0.29379284381866455, -0.0648888424038887, 0.7828140258789062, 0.3097383677959442, 0.765509843826294, -0.07797802239656448, -0.4472826421260834, -0.10098433494567871, -0.9769182801246643, -0.200867161154747, 0.5070370435714722, 0.13387548923492432, -0.15757502615451813, 0.669490396976471, 0.20905564725399017, 0.7472748160362244, -0.35633981227874756, -0.20353418588638306, -0.38880985975265503, -0.12553641200065613, -0.4757946729660034, -0.1607368141412735, 1.0237979888916016, 0.20727381110191345, 0.18017056584358215, -0.43064773082733154, -0.313637912273407, -0.18202190101146698, 0.5430822968482971, -0.5329362154006958, -0.007688408717513084, 0.1779857575893402, -0.39632588624954224, -0.6441048979759216, -0.02376457303762436, -0.8127918839454651, -0.8121113181114197, 0.07898694276809692, 0.033041778951883316, -0.28261229395866394, -0.13709639012813568, -0.02111571468412876, 0.017530526965856552, 0.3441739082336426, 0.005927626043558121, -0.8833144903182983, 0.48376476764678955, 0.9448658227920532, 0.7927416563034058, -0.18529585003852844, -0.02608378976583481, -0.33293747901916504, 0.11586950719356537, -0.22851677238941193, 0.4252772629261017, -0.23904892802238464, -0.6167676448822021, 0.045969389379024506, -0.36582303047180176, -0.018714619800448418, -0.5678994655609131, 0.5355432033538818, -0.8488309383392334, -0.0824679285287857, -0.16994982957839966, -0.5580131411552429, -0.21853488683700562, 0.8642377853393555, -0.9714529514312744, 0.656053900718689, -0.2066827416419983, -1.1138778924942017, -0.3208141028881073, -0.5298856496810913, -0.45648473501205444, -0.07429189234972, -0.19994747638702393, -0.20438681542873383, 0.23638619482517242, 0.10876639932394028, 0.6390607357025146, -0.6909062266349792, -0.10090371966362, -0.5509334206581116, 0.09934062510728836, 0.45323219895362854, -0.5426034331321716, 0.9568649530410767, 0.2811782658100128, -0.14896754920482635, 0.25064384937286377, -0.7035321593284607, -0.09642879664897919, 0.6386051774024963, -0.18876104056835175, -0.3034769594669342, 0.052439168095588684, -0.33385398983955383, -0.040952179580926895, 0.3402741849422455, -0.3149819076061249, 0.2754250466823578, -0.6458342671394348, 0.7215732932090759, 0.7272524833679199, 0.2142459601163864, 0.41412702202796936, -0.13659800589084625, 0.7359471917152405, -0.3828420341014862, 0.38982415199279785, -0.03919300436973572, -0.30925121903419495, -0.45783883333206177, -0.11925283074378967, 0.1462392359972, 0.538817286491394, -0.46914035081863403, 0.25552234053611755, -0.10738323628902435, -0.7486141920089722, -0.3223414719104767, 0.29189613461494446, 0.4117077887058258, 0.2719202935695648, 0.25385504961013794, 0.051353707909584045, -0.5247859358787537, -0.858787477016449, -0.45149320363998413, -0.2797619104385376, -0.10283838212490082, 0.0061715152114629745, 0.48982346057891846, -0.2760031819343567, 0.6586533784866333, -0.5104908347129822, -0.15266931056976318, -0.5821991562843323, -0.2328113317489624, -0.07656152546405792, 0.26921555399894714, 0.78257817029953, -0.6350547075271606, -0.21408100426197052, -0.14164909720420837, -0.7206265330314636, 0.11354254931211472, 0.04604705423116684, 0.17768137156963348, 0.22247155010700226, 0.6792066693305969, -0.8550602197647095, 0.23006121814250946, 0.6185510754585266, -0.14242307841777802, 0.5017674565315247, 0.1787165254354477, -0.14637315273284912, -1.0699371099472046, -0.13001807034015656, -0.06474346667528152, -0.10036272555589676, -0.8950926065444946, 0.6024038791656494, -0.3279837667942047, 0.022477366030216217, -0.5425884127616882, 0.5026354789733887, -0.3607131540775299, -0.1278090476989746, -0.21146352589130402, -0.10226564854383469, 0.08309964090585709, -0.026632191613316536, -0.20006705820560455, 0.45587676763534546, 0.5466627478599548, -0.35888364911079407, 0.6564947366714478, -0.01607404090464115, -0.35075703263282776, 0.24449770152568817, -0.8865056037902832, 0.5145941972732544, 0.13360165059566498, 0.22659966349601746, -0.7553665041923523, -0.10057339817285538, 0.3065941631793976, -0.485139936208725, 0.7009763717651367, -0.16684189438819885, -0.5618981719017029, -0.10839777439832687, -0.6224571466445923, 0.2562066316604614, 0.3007897734642029, -0.46389269828796387, 0.6365413069725037, 0.5770173072814941, -0.18248580396175385, -0.9177829027175903, -0.8549126982688904, 0.6545920372009277, -0.5360842943191528, -0.8032634854316711, 0.14580748975276947, 0.015800438821315765, -0.9511073231697083, -0.2853861153125763, 0.2205706387758255, 0.09814153611660004, 0.6844237446784973, 0.23657485842704773, 0.26633429527282715, -0.09422656148672104, -0.25033634901046753, -0.5563603043556213, 0.11345848441123962, 0.5183713436126709, 0.05776600539684296, 0.7960628867149353, -0.07943461835384369, -0.5604161024093628, -0.29345375299453735, 0.4403325617313385, 0.6173160076141357, -0.24709069728851318, 0.9470508098602295, 0.29814910888671875, -0.37819039821624756, -0.16331519186496735, -0.527167797088623, -0.29137465357780457, -0.4407588243484497, 0.7481056451797485, -0.2147439867258072, -0.9528738260269165, 0.3200249969959259, 0.21106970310211182, 0.2479693442583084, 0.5343422293663025, 0.6675891280174255, -0.06697411835193634, 0.9889951348304749, 0.503326952457428, -0.5889902114868164, 0.2874866724014282, -0.11127880215644836, 0.41560113430023193, -0.6819981336593628, -0.26902034878730774, -0.6705441474914551, -0.06557999551296234, -0.36920541524887085, -0.22673940658569336, -0.04778999090194702, 0.04675627872347832, -0.252310186624527, 0.222095787525177, -0.2796461582183838, 0.4016568660736084, 0.29742494225502014, -0.28877466917037964, 0.2754151225090027, -0.22971567511558533, 0.27634692192077637, 0.013356179930269718, -0.5371214151382446, -0.6936026215553284, 1.2036129236221313, 0.7403250932693481, 0.9162208437919617, 0.5400055050849915, 0.5014164447784424, 0.5310168862342834, 0.21538978815078735, -0.7217137813568115, 0.7197170853614807, -0.06549638509750366, -0.7622752785682678, -0.15550991892814636, -0.5060825347900391, -0.8406654596328735, 0.1702868789434433, -0.22830109298229218, -0.854698121547699, -0.3821471333503723, -0.10701064765453339, -0.13551810383796692, 0.803368091583252, -0.5503957867622375, 0.702629804611206, -0.6475192308425903, -0.13959594070911407, -0.10482364147901535, -0.6418925523757935, 0.6634891033172607, -0.13944080471992493, 0.15567968785762787, 0.04997850954532623, 0.08896961063146591, 0.6486813426017761, -0.21530622243881226, 1.0208066701889038, 0.15549421310424805, -0.44830432534217834, 0.1736704409122467, 0.18153569102287292, 0.44850054383277893, 0.009726058691740036, 0.018314972519874573, 0.3361857533454895, -0.03160998970270157, -0.3232102692127228, -0.29744279384613037, 0.7275897860527039, -0.6142973899841309, -0.9481604099273682, -0.4307106137275696, -0.48314011096954346, -0.09177237749099731, 0.10332239419221878, 0.2442401945590973, 0.1731867492198944, -0.5038143396377563, 0.26823708415031433, 0.8731759786605835, -0.44420403242111206, 0.44747522473335266, 0.27199801802635193, -0.12702827155590057, -0.36455875635147095, 0.6887139081954956, -0.018519779667258263, 0.5763576030731201, 0.5476778745651245, -0.06124664470553398, -0.20705784857273102, -0.872338056564331, -0.11096843332052231, 0.09399204701185226, -0.6988679766654968, -0.3935580551624298, -0.58619624376297, -0.39958706498146057, -0.7409960031509399, -0.08391626179218292, -0.41060444712638855, -0.17160922288894653, -0.14966103434562683, -0.322609007358551, 0.3930455446243286, 0.9680632948875427, 0.3560422360897064, 0.2549680471420288, -0.7845369577407837, 0.06612510979175568, 0.33814552426338196, -0.15636934340000153, 0.17332223057746887, -0.4656756818294525, 0.02075488679111004, -0.22643552720546722, -0.4321667551994324, -0.9126346111297607, 0.42058542370796204, -0.09987842291593552, 0.4304387867450714, 0.49113988876342773, 0.10847042500972748, 0.04107414186000824, -0.40025100111961365, 0.964594304561615, 0.3220495879650116, -0.7100111246109009, 0.3520202040672302, -0.22670745849609375, 0.12362975627183914, 0.3599989712238312, 0.3992767632007599, -0.3178667426109314, -0.34234631061553955, -0.5708451867103577, -0.756080687046051, 0.38131022453308105, 0.045213326811790466, 0.31446030735969543, 0.10406355559825897, 0.18493196368217468, -0.225006103515625, 0.010779079981148243, -0.8107785582542419, -0.2918732464313507, 0.21106120944023132, -0.09313064068555832, 0.07970452308654785, -0.48057645559310913, -0.5011876821517944, 0.1159181073307991, 0.6815580129623413, 0.18230164051055908, -0.23954741656780243, -0.11071239411830902, -0.22661340236663818, 0.37390005588531494, 0.45385777950286865, 0.46948567032814026, 0.2266930788755417, -0.0598006397485733, 0.3824162185192108, 0.471418559551239, -0.542136549949646, 0.14397738873958588, -0.09918663650751114, -0.18113583326339722, -0.28741028904914856, 0.8301861882209778, 0.5986426472663879, 0.23682665824890137, -0.890291690826416, 0.43860360980033875, -0.17687715590000153, -0.11666601151227951, -0.3795150816440582, 0.04049583151936531, 0.22965095937252045, 0.25815433263778687, 0.07719048112630844, -0.16422340273857117, -0.03744891285896301, -0.5657426118850708, -0.03432520106434822, 0.8302621245384216, -0.28439685702323914, -0.281258761882782, 0.45725375413894653, -0.04995938763022423, -0.4087505638599396, 0.4735129177570343, 0.27465054392814636, -0.6509421467781067, 0.5629231929779053, 0.549534261226654, 0.8142377138137817, -0.220617413520813, -0.30314770340919495, -0.07618100196123123, 0.6589423418045044, 0.12912391126155853, -0.2598589360713959, 0.12609001994132996, -0.7693669199943542, -0.18571510910987854, -0.47368791699409485, -0.5361009240150452, 0.5309512615203857, -0.6311994791030884, -0.02771545760333538, -0.8946152925491333, -0.3741932511329651, -0.1232989951968193, 0.004842680878937244, -0.24760426580905914, -0.047874487936496735, 0.5862958431243896, 0.9585111141204834, -0.3923991322517395, 0.6112444400787354, 0.6344807147979736, -0.3328988254070282, -0.31556257605552673, -0.023877020925283432, 0.430480033159256, -0.4702821373939514, 0.6314834952354431, -0.03285455331206322, -0.19829308986663818, -0.3552611172199249, -0.5236137509346008, -0.6973446607589722, 0.7206678986549377, 0.5590662956237793, -0.5508172512054443, -0.07205571979284286, 0.4716264009475708, 0.33374008536338806, -0.06787333637475967, 0.07170295715332031, 0.853888988494873, 0.4131021797657013, -0.3179834485054016, -0.4984540343284607, -0.0777270644903183, -0.07997176796197891, -0.1209060549736023, 0.16173991560935974, -0.709577202796936, 0.6810311675071716, -0.050131481140851974, -0.10959947854280472, 0.0825410708785057, 0.590076208114624, 0.31681180000305176, 0.12008371949195862, 0.41173475980758667, 0.7624666094779968, 0.5346407294273376, 0.07642757147550583, 1.262755036354065, -0.1717081367969513, -0.02849331870675087, 1.0610426664352417, -0.35912561416625977, 0.8969194889068604, 0.45352116227149963, -0.3352491557598114, 0.11608074605464935, 0.4400467872619629, -0.20860779285430908, 0.10527604073286057, 0.5649983286857605, -0.29093876481056213, 0.0208661500364542, 0.06514272838830948, -0.32414257526397705, 0.4500616490840912, 0.3081110119819641, -0.32713189721107483, -0.26328957080841064, -0.10617084801197052, 0.5092738270759583, 0.15079374611377716, -0.3303080201148987, 0.89923495054245, 0.42876875400543213, -0.2712954580783844, 0.3512747585773468, 0.3038486838340759, 0.759352445602417, -0.8519273996353149, 0.3615191876888275, -0.0660947635769844, 0.2101757675409317, -0.23757225275039673, -0.6593966484069824, 0.3043088912963867, 0.4434426426887512, -0.3139420449733734, -0.1265178918838501, 0.8356270790100098, -0.03568335622549057, -0.23506172001361847, 0.569202184677124, 0.23562946915626526, -0.13238665461540222, -0.21696841716766357, -0.8813226222991943, 0.4828985631465912, -0.09069671481847763, -0.5064595341682434, 0.7929527163505554, -0.05488177388906479, 0.0966227799654007, 0.9182501435279846, 0.5476905703544617, 0.17944419384002686, 0.16632451117038727, 0.21063488721847534, 0.7432563900947571, -0.5753013491630554, 0.05774794518947601, -1.460336446762085, 0.0734749510884285, -0.31870755553245544, -0.00965008046478033, 1.0384182929992676, 0.4094415605068207, 0.7206007838249207, 0.18821386992931366, 0.7445722818374634, 0.3044350743293762, 0.4145602881908417, -0.6855943202972412, 1.0406862497329712, -0.24886488914489746, 0.7327505946159363, -0.21486328542232513, -0.7723727226257324, -0.41326120495796204, 0.15887311100959778, -0.3675302267074585, -0.04664734750986099, 0.26668232679367065, 0.6992300748825073, 0.3561497628688812, -0.1316043585538864, 0.25534385442733765, 0.4197271764278412, 0.7975614070892334, 0.45502611994743347, 1.1451215744018555, -0.24085795879364014, 0.5308624505996704, -0.1691545695066452, 0.1219969168305397, 0.00667903758585453, -0.8230288624763489, -1.204206943511963, -0.2569950222969055, -0.15696991980075836, -0.28572192788124084, 0.07196028530597687, 0.6129871010780334, 0.4286080002784729, -0.7685952186584473, -0.15598124265670776, 0.169088214635849, 0.270896315574646, 0.29286742210388184, -0.2167944759130478, 0.3862098753452301, -0.27863359451293945, -0.5287842154502869, 0.6710087060928345, 0.284292072057724, 0.023091895505785942, -0.7058109641075134, 0.04139983654022217, -0.23678477108478546, 0.2545419931411743, 0.49085569381713867, 0.4284247159957886, -0.7841678261756897, -0.0813206136226654, -0.13244207203388214, -0.3309921622276306, -0.27387091517448425, 0.642708957195282, -0.3283471465110779, 0.09997916966676712, 0.5296618938446045, 1.1320685148239136, -0.18039575219154358, -0.17589107155799866, 0.6709210872650146, -0.6203600764274597, 0.04334529489278793, 0.3544885218143463, 0.5129201412200928, 0.5245736241340637, -0.4256502687931061, 0.4526319205760956, 0.0695527195930481, -0.4004265367984772, -1.3514606952667236, 0.43102404475212097, -0.8272038102149963, -0.49029624462127686, 1.0333384275436401, -0.1353169083595276, -0.3341560661792755, 0.02233411930501461, -0.03216300904750824, -0.15491840243339539, 0.0631299838423729, 0.7329006195068359, 0.7843676805496216, 0.28148069977760315, 0.06826836615800858, -0.7423558235168457, 0.5405430793762207, 0.28835558891296387, -0.8445642590522766, 0.2694782018661499, 0.23693151772022247, 0.10244308412075043, 0.033784184604883194, 0.1392815262079239, -0.36332690715789795, -0.1895621418952942, -0.20745575428009033, -0.041135676205158234, 0.017701830714941025, -0.1753576397895813, -0.5156357884407043, 0.4835786521434784, 0.2752094566822052, 0.09995374083518982 ]
http://arxiv.org/abs/2403.01390v1
http://arxiv.org/pdf/2403.01390v1
Right for Right Reasons: Large Language Models for Verifiable Commonsense Knowledge Graph Question Answering
2024-03-03T04:22:13
2024-03-03T04:22:13
Armin Toroghi, Willis Guo, Mohammad Mahdi Abdollah Pour, Scott Sanner
cs.CL
cs.CL, I.2.7
Knowledge Graph Question Answering (KGQA) methods seek to answer Natural Language questions using the relational information stored in Knowledge Graphs (KGs). With the recent advancements of Large Language Models (LLMs) and their remarkable reasoning abilities, there is a growing trend to leverage them for KGQA. However, existing methodologies have only focused on answering factual questions, e.g., "In which city was Silvio Berlusconi's first wife born?", leaving questions involving commonsense reasoning that real-world users may pose more often, e.g., "Do I need separate visas to see the Venus of Willendorf and attend the Olympics this summer?" unaddressed. In this work, we first observe that existing LLM-based methods for KGQA struggle with hallucination on such questions, especially on queries targeting long-tail entities (e.g., non-mainstream and recent entities), thus hindering their applicability in real-world applications especially since their reasoning processes are not easily verifiable. In response, we propose Right for Right Reasons (R3), a commonsense KGQA methodology that allows for a verifiable reasoning procedure by axiomatically surfacing intrinsic commonsense knowledge of LLMs and grounding every factual reasoning step on KG triples. Through experimental evaluations across three different tasks--question answering, claim verification, and preference matching--our findings showcase R3 as a superior approach, outperforming existing methodologies and notably reducing instances of hallucination and reasoning errors.
[ -0.5711284875869751, -0.919958770275116, 1.0639762878417969, -0.09436062723398209, -0.18116436898708344, -0.2112765610218048, -0.10351823270320892, -0.31596583127975464, -0.10412528365850449, 0.7998424768447876, -0.3886536657810211, -0.5123350024223328, -0.37310880422592163, 0.19196972250938416, -0.08983364701271057, 0.5802597403526306, -0.19615717232227325, -0.14254865050315857, -0.5287011861801147, -0.3846326172351837, -0.40767526626586914, -0.4554917812347412, -0.5298708081245422, -0.47593122720718384, 0.7599968314170837, 0.7160350680351257, 1.0598200559616089, 0.5981939435005188, 0.1731661707162857, 0.21347081661224365, 0.035207267850637436, 0.2699648439884186, -0.3905288875102997, 0.042482659220695496, -0.35125744342803955, -0.373524010181427, -0.10991296917200089, 0.1092621311545372, 0.24362200498580933, 0.523395836353302, -0.09834904223680496, 0.12048903852701187, -0.3714120090007782, 0.8129630088806152, -0.6696556806564331, -0.13488700985908508, -0.400118350982666, 0.16446158289909363, 0.009138049557805061, -0.31532222032546997, -0.4673393666744232, -0.6888355016708374, -0.024443408474326134, -0.6001281142234802, 0.07973877340555191, 0.3650013208389282, 0.9437232613563538, 0.22796274721622467, -0.5925445556640625, -0.46110299229621887, -0.4067797362804413, 0.8981003761291504, -0.8605929613113403, 0.8251457810401917, 0.7399986982345581, 0.5611250996589661, -0.3507283329963684, -0.715723991394043, -0.9494335055351257, -0.3512139916419983, -0.19077818095684052, 0.05676841363310814, -0.14278650283813477, -0.0024326518177986145, 0.556390643119812, 0.09169954806566238, -0.7278218865394592, 0.10233578830957413, -0.21898335218429565, -0.37310367822647095, 0.6958154439926147, -0.028436604887247086, 0.43074098229408264, -0.32351770997047424, -0.14283227920532227, 0.23465226590633392, -0.9080327749252319, -0.09280109405517578, 0.5443439483642578, 0.13783112168312073, 0.05741243064403534, 0.6315613389015198, -0.43199241161346436, 1.0497218370437622, -0.1409449428319931, -0.24868252873420715, -0.11927712708711624, -0.07249133288860321, -0.1562681794166565, 0.003589597065001726, 0.6215699911117554, 0.4282917380332947, 0.5662515759468079, -0.47757139801979065, 0.01002069003880024, -0.4767974317073822, 0.13761556148529053, -0.6784157752990723, 0.004656043369323015, 0.6507383584976196, -0.44388484954833984, -0.23327545821666718, -0.4748387038707733, -0.5793159604072571, -0.39316004514694214, -0.6215027570724487, 0.4213881194591522, -0.33974921703338623, -0.3533998131752014, 0.10020540654659271, -0.1328963190317154, 0.26724693179130554, 0.2543093264102936, -0.7994666695594788, 0.05610912665724754, 0.9259229302406311, 0.47830358147621155, 0.0273189265280962, -0.22506055235862732, -0.5616635084152222, 0.14606663584709167, -0.5220305323600769, 0.5164499282836914, -0.5544043183326721, -0.17964118719100952, 0.06603971868753433, -0.10700935870409012, -0.02564367838203907, -0.6237956881523132, 0.6992126107215881, -1.0423282384872437, 0.37612277269363403, -0.6999781727790833, -0.4608774483203888, -0.341322124004364, 0.6599751114845276, -0.4973411560058594, 0.8842382431030273, -0.06988732516765594, -0.8954737782478333, 0.31751227378845215, -0.6003697514533997, -0.34329190850257874, -0.009986991994082928, -0.1359507292509079, -0.17695370316505432, -0.2321162074804306, 0.3553607761859894, 0.5931342840194702, -0.4259679317474365, 0.5396765470504761, -0.4221736192703247, -0.021848125383257866, 0.4318709969520569, -0.3729425072669983, 0.9117828011512756, 0.5124359726905823, -0.07183997333049774, -0.17084205150604248, -0.8255643248558044, 0.18949292600154877, 0.09188792109489441, -0.15243005752563477, -0.2892487645149231, 0.07982231676578522, -0.5491328239440918, 0.19873246550559998, 0.04632429778575897, -0.5541811585426331, -0.24177488684654236, -0.36159375309944153, 0.4126714766025543, 0.5511137247085571, 0.11017172783613205, 0.17866921424865723, -0.2764190435409546, 0.4671071469783783, -0.1877797693014145, 0.14457263052463531, 0.5785278081893921, -0.6863037943840027, -0.37347084283828735, -0.28167521953582764, 0.18469463288784027, 0.4882367253303528, -0.8274962306022644, -0.03464057296514511, -0.41910338401794434, -0.34501853585243225, -0.15526685118675232, -0.05441693961620331, 0.3531941771507263, 0.9892023205757141, 0.2711678445339203, 0.2907448709011078, -0.3730834424495697, -0.992702305316925, -0.37277552485466003, -0.4365851879119873, 0.20445530116558075, 0.5174251198768616, 0.7443203926086426, 0.07834246009588242, 1.206594705581665, -0.5394297242164612, 0.39491161704063416, -0.3805793225765228, -0.01487037818878889, 0.3162098228931427, 0.15311181545257568, 0.24464812874794006, -1.2603760957717896, -0.30131950974464417, 0.05923600122332573, -0.8394140005111694, -0.0675404816865921, 0.21218660473823547, -0.33985456824302673, 0.1767720729112625, 0.4004523754119873, -0.7297725081443787, 0.30973052978515625, 0.49839818477630615, -0.23376737534999847, 0.5909844636917114, 0.021842246875166893, 0.278786838054657, -1.0449579954147339, 0.18448370695114136, -0.12093435972929001, -0.39165252447128296, -0.7041424512863159, 0.18413393199443817, -0.05948686599731445, -0.12760645151138306, -0.47341015934944153, 0.6608605980873108, 0.010524970479309559, -0.18849095702171326, -0.07592123746871948, 0.39683306217193604, 0.10563928633928299, 0.401105672121048, 0.1351589411497116, 0.5780488848686218, 0.3557218313217163, -0.7591826319694519, 0.6745649576187134, 0.17398805916309357, -0.3124818801879883, 0.6508213877677917, -0.4361428916454315, 0.17421720921993256, -0.2794400751590729, 0.18872976303100586, -0.9665601849555969, -0.4804709255695343, 0.6546517610549927, -0.7133254408836365, -0.06874433904886246, -0.2769509553909302, -0.5321434736251831, -0.6678622364997864, 0.05946602299809456, 0.3562348783016205, 0.32323580980300903, -0.9035043120384216, 0.9708621501922607, 0.368209570646286, 0.01731664128601551, -0.9051879644393921, -0.6325576901435852, 0.1512826681137085, -0.42138299345970154, -0.9255721569061279, -0.1266346573829651, 0.06848205626010895, -0.38727399706840515, 0.12677299976348877, -0.15325027704238892, -0.37418150901794434, 0.21851499378681183, 0.12122206389904022, 0.18372038006782532, -0.10276513546705246, 0.0877738669514656, -0.129342719912529, -0.28348708152770996, 0.15972045063972473, -0.2573711574077606, 0.2346905767917633, 0.06856690347194672, -0.33791637420654297, -0.38813331723213196, 0.3101293444633484, 0.6093119978904724, -0.1592692881822586, 0.4562365412712097, 0.40114688873291016, -0.494245707988739, -0.21819652616977692, -0.770466685295105, -0.14354491233825684, -0.4236694872379303, 0.28242263197898865, -0.4721606373786926, -1.185525894165039, 0.6142117977142334, 0.20212948322296143, -0.03349177539348602, 0.09376230835914612, 0.7496575117111206, -0.03539822995662689, 1.0019099712371826, 0.09555817395448685, 0.09391385316848755, -0.36567196249961853, 0.1839032620191574, 0.8206048607826233, -0.5416676998138428, -0.27518483996391296, -0.6565292477607727, 0.11944390833377838, -0.35970813035964966, -0.3363841474056244, 0.2145475298166275, -0.0024638341274112463, -0.24438722431659698, -0.011220904067158699, -0.34617653489112854, 0.8290858864784241, 0.3973334729671478, -0.018599292263388634, 0.3276837468147278, -0.2628666162490845, -0.1785290390253067, 0.06958586722612381, -0.8670240044593811, -0.6314294934272766, 0.817343533039093, 0.3746013343334198, 0.45822298526763916, 0.30031928420066833, 0.6190602779388428, 0.1863960176706314, 0.4112469255924225, -0.7125136852264404, 0.86512690782547, 0.281437486410141, -1.0461630821228027, -0.5706188082695007, -0.6501284241676331, -0.8510186672210693, 0.27860018610954285, 0.1863478124141693, -0.8389549255371094, 0.025032905861735344, 0.373857319355011, -0.41511279344558716, 0.29185977578163147, -0.4523491859436035, 1.0275225639343262, -0.06955132633447647, -0.37827569246292114, -0.17852970957756042, -0.8267975449562073, 0.5533491373062134, 0.0630277693271637, 0.5144627094268799, -0.07928847521543503, 0.28464624285697937, 0.854313313961029, -0.5493154525756836, 0.5696510672569275, -0.38594332337379456, -0.30874568223953247, 0.5037437677383423, 0.051407068967819214, 0.7548763751983643, 0.27952906489372253, 0.009034003131091595, -0.23177039623260498, 0.12790866196155548, -0.28116321563720703, -0.9442694187164307, 0.8106004595756531, -0.6199562549591064, -0.9066340923309326, -0.2969266474246979, -0.5228626728057861, -0.5554442405700684, 0.19588488340377808, 0.021665772423148155, 0.4764426350593567, 0.26133015751838684, 0.0675533190369606, 0.8960346579551697, -0.15417951345443726, 0.16910606622695923, 0.37265533208847046, -0.380180299282074, -0.49827539920806885, 0.8963356018066406, 0.25388482213020325, 0.3596324920654297, 0.2921993136405945, 0.49119019508361816, -0.7354730367660522, -0.6213539838790894, -0.540683388710022, 0.4550674259662628, -1.0893608331680298, -0.10058249533176422, -0.7983523011207581, 0.14896897971630096, -0.6071929335594177, -0.23434865474700928, -0.12729057669639587, -0.5041523575782776, 0.06263403594493866, -0.23159489035606384, 0.22751225531101227, 0.2637072503566742, -0.24956727027893066, -0.23814034461975098, -0.699143648147583, 0.7638311982154846, 0.7653821706771851, 0.2522298991680145, 0.07722203433513641, -0.40788131952285767, -0.12133044004440308, -0.017497925087809563, -0.04160834476351738, -0.9039496183395386, 0.07134290784597397, -0.38843706250190735, 0.6991573572158813, 0.11476708203554153, 0.21987275779247284, 0.6175371408462524, -0.08854403346776962, 0.7933183312416077, -0.016391189768910408, -0.7378278374671936, 0.33217471837997437, -0.37231892347335815, -0.11262606084346771, 0.4822596311569214, 0.739079475402832, -0.6821873784065247, -0.3455919325351715, -0.5627143979072571, -0.541954755783081, 0.6236574649810791, 0.11066918075084686, -0.07702372223138809, -0.02656451240181923, 0.3657848834991455, 0.027004573494195938, 0.05528697744011879, -0.762826144695282, 0.09756988286972046, -0.34333518147468567, -0.2523999512195587, 0.409130722284317, -0.3118492066860199, -0.511133074760437, 0.021073903888463974, 1.0682295560836792, -0.23117628693580627, 0.027058802545070648, 0.36545857787132263, 0.11992378532886505, -0.006583807989954948, 0.422244131565094, 0.38089704513549805, 0.9315054416656494, -0.10078994184732437, 0.18093962967395782, 0.4146454632282257, -0.031776003539562225, 0.0911654680967331, -0.03670312464237213, -0.3118419051170349, -0.14551576972007751, 0.1276530772447586, 0.5518772006034851, -0.17207488417625427, -0.7169572114944458, 0.574383020401001, 0.0127350352704525, -0.44404399394989014, -0.22828800976276398, -0.036482300609350204, 0.2629513442516327, 0.25016486644744873, 0.11544087529182434, -0.3197024464607239, 0.06366703659296036, -0.5054405331611633, -0.01429738849401474, 0.3337985575199127, -0.3183063566684723, 0.050789155066013336, 0.40651413798332214, -0.029445355758070946, -0.09764500707387924, 0.7611760497093201, -0.1563999056816101, -0.6502571702003479, 0.4757532477378845, 0.5914741158485413, 0.5277232527732849, 0.2660556435585022, 0.47714370489120483, 0.48576873540878296, 0.07302670925855637, -0.24721142649650574, 0.4080084264278412, -0.229047030210495, -1.1164309978485107, -0.6691045165061951, -0.3436005711555481, -0.49411842226982117, 0.012481349520385265, -0.40829789638519287, 0.0792449340224266, -0.22463670372962952, -0.0749061331152916, -0.18686985969543457, -0.17088757455348969, -0.2461913675069809, 0.5749990344047546, 0.23969492316246033, 0.9613669514656067, -0.730224609375, 0.4942172169685364, 0.43043947219848633, -0.3182345926761627, -1.1408734321594238, -0.19904126226902008, -0.1555669605731964, -0.8382904529571533, 0.8760534524917603, -0.07444662600755692, -0.17400489747524261, 0.17686888575553894, -0.8659660816192627, -0.7910364866256714, 0.8807187080383301, 0.13369254767894745, -0.24219514429569244, -0.0194618608802557, 0.46627917885780334, 0.04166272655129433, 0.014798670075833797, -0.08199986815452576, 0.498568058013916, 0.8276205062866211, 0.45833951234817505, -0.5481768846511841, 0.30785098671913147, 0.19789986312389374, -0.16108588874340057, 0.19273798167705536, -0.5874541401863098, 0.12431064248085022, -0.3822581470012665, -0.18688872456550598, 0.05491945520043373, 0.7290089130401611, 0.7599246501922607, 0.7403656244277954, 0.4661484360694885, 1.0693018436431885, 1.146520972251892, -0.21656525135040283, 1.1943578720092773, -0.11444868892431259, 0.3285447359085083, 0.7493026256561279, -0.31723329424858093, 0.4456452429294586, 0.6098576188087463, -0.03548198193311691, 0.2362910807132721, 0.5757484436035156, 0.2688502073287964, 0.47926291823387146, 0.4522702097892761, -0.16230149567127228, -0.5936456322669983, -0.06147952005267143, -0.32015305757522583, 0.23956458270549774, 0.10896146297454834, 0.036901842802762985, -0.3169126510620117, 0.04967906326055527, 0.5505701899528503, 0.11584897339344025, -0.2949031889438629, 0.2986224293708801, 0.012609855271875858, -1.113213300704956, 0.5966766476631165, -0.05293142423033714, 0.03993593901395798, -0.59440016746521, 0.13587412238121033, -0.19279621541500092, -0.23500487208366394, -0.3615141808986664, -0.9510793685913086, 0.25882357358932495, 0.05267471820116043, 0.028673607856035233, -0.22146354615688324, 0.7744705080986023, 0.013228921219706535, -0.27445533871650696, -0.20208288729190826, 0.46880874037742615, 0.26811903715133667, 0.19230209290981293, -0.6356346011161804, -0.16178862750530243, 0.07116291671991348, -0.3643854558467865, 0.04418627917766571, 0.8145505785942078, -0.11933861672878265, 0.9197446703910828, 0.8090581297874451, -0.07837935537099838, 0.028933661058545113, 0.1766800433397293, 0.6380927562713623, -0.6312781572341919, -0.33401936292648315, -0.8457160592079163, 0.39139723777770996, -0.16368038952350616, -0.27638959884643555, 0.8730430006980896, 0.6345639228820801, 0.5812001824378967, 0.14217537641525269, 0.8329694271087646, -0.18078221380710602, 0.651640772819519, -0.9084532856941223, 0.47450074553489685, -0.5217932462692261, -0.05558374524116516, -0.0920550525188446, -0.7496147751808167, -0.7558445930480957, 0.4762404263019562, -0.6453914642333984, -0.006722698919475079, 0.5988408327102661, 1.1749531030654907, 0.17837445437908173, 0.4248998761177063, 0.4358028173446655, 0.1497451514005661, 0.4984258711338043, 0.39172282814979553, 1.1628187894821167, -0.02699124999344349, 0.40546339750289917, -0.0032777676824480295, -0.03146804869174957, -0.08904644846916199, -0.9986246824264526, -0.7168979644775391, -0.369875967502594, -0.440519243478775, -0.7235748767852783, 0.355398565530777, 0.897681474685669, 0.5588409900665283, -0.5546493530273438, 0.1126626506447792, -0.23544780910015106, 0.46486762166023254, 0.07201710343360901, -0.2141144722700119, 0.3856508135795593, -0.3474356532096863, -0.32775288820266724, 0.1796765774488449, 0.1530844271183014, -0.15010231733322144, -0.040396858006715775, -0.3596426844596863, -0.10002116113901138, 0.18220774829387665, 0.36600980162620544, 0.6682060956954956, -0.6723496317863464, -0.6366913318634033, -0.06956057250499725, -0.01913660578429699, 0.024483516812324524, 0.6798686981201172, -0.7684212327003479, 0.23040908575057983, 0.6853244304656982, 0.72768235206604, 0.2210419774055481, 0.0755598172545433, 0.3126518726348877, -0.20114104449748993, -0.3406291902065277, 0.47660309076309204, 0.14788396656513214, 0.3287379741668701, -0.1794198751449585, 0.582291841506958, 0.31250521540641785, -0.8709242939949036, -0.9888978600502014, 0.4984965920448303, -0.994417667388916, -0.1762249916791916, 1.3542605638504028, 0.07947488874197006, -0.35948607325553894, -0.5274738073348999, -0.10193359851837158, 0.13728295266628265, -0.014656568877398968, 0.6941908001899719, 1.0589649677276611, -0.09905443340539932, 0.030143439769744873, -0.6412935853004456, 0.485103577375412, 0.40935903787612915, -0.6306158304214478, 0.3614048957824707, 0.6856765747070312, 0.17643630504608154, 0.1460617184638977, 0.8797323703765869, -0.30506953597068787, 0.41190406680107117, -0.3863109350204468, -0.4051724076271057, -0.18310673534870148, -0.2652542293071747, 0.32996928691864014, 0.45919135212898254, 0.27622827887535095, 0.09045728296041489 ]
http://arxiv.org/abs/2403.01384v2
http://arxiv.org/pdf/2403.01384v2
On the Compressibility of Quantized Large Language Models
2024-03-03T03:27:07
2024-05-06T02:29:14
Yu Mao, Weilan Wang, Hongchao Du, Nan Guan, Chun Jason Xue
cs.LG
cs.LG, cs.AI, cs.CL
Deploying Large Language Models (LLMs) on edge or mobile devices offers significant benefits, such as enhanced data privacy and real-time processing capabilities. However, it also faces critical challenges due to the substantial memory requirement of LLMs. Quantization is an effective way of reducing the model size while maintaining good performance. However, even after quantization, LLMs may still be too big to fit entirely into the limited memory of edge or mobile devices and have to be partially loaded from the storage to complete the inference. In this case, the I/O latency of model loading becomes the bottleneck of the LLM inference latency. In this work, we take a preliminary step of studying applying data compression techniques to reduce data movement and thus speed up the inference of quantized LLM on memory-constrained devices. In particular, we discussed the compressibility of quantized LLMs, the trade-off between the compressibility and performance of quantized LLMs, and opportunities to optimize both of them jointly.
[ -0.2847762107849121, -0.7949156761169434, 0.6171389222145081, 0.10007792711257935, -0.2942655682563782, 0.20193330943584442, -0.24411043524742126, -0.42055052518844604, 0.01185152493417263, 0.4630039632320404, -0.2817392945289612, -0.3402327001094818, -0.5265330076217651, -0.17698289453983307, -0.4175984263420105, 0.4132447838783264, 0.023496849462389946, -0.26372674107551575, -0.38826507329940796, -0.024377048015594482, -0.06965232640504837, -0.9907974600791931, -0.6897069811820984, -0.0672745630145073, -0.0499156229197979, 0.07416734844446182, 1.1296225786209106, 0.933318555355072, 0.3898424506187439, 0.3019360303878784, -0.27297091484069824, -0.2720548212528229, -0.4253869950771332, 0.30103230476379395, 0.20084667205810547, -0.697258710861206, -0.4402611553668976, -0.2619941532611847, 0.6305019855499268, 0.8515864610671997, -0.3390722870826721, 0.15369491279125214, -0.06208578869700432, 0.6410082578659058, -0.7908194065093994, -0.1137356236577034, -0.40482696890830994, 0.1478279083967209, -0.18135182559490204, 0.0007440434419550002, -0.41858965158462524, -0.44277793169021606, -0.009264066815376282, -0.45535507798194885, 0.11721574515104294, 0.13696539402008057, 0.6957231163978577, 0.6757253408432007, -0.5774591565132141, 0.010187963955104351, -0.9928446412086487, 0.9262279868125916, -0.671517014503479, 0.5890064835548401, 0.44043678045272827, 0.15746572613716125, -0.07600948214530945, -0.676288366317749, -0.5563158988952637, 0.14859043061733246, 0.21513457596302032, -0.34254834055900574, -0.24020501971244812, 0.23978380858898163, 0.589888334274292, 0.6126548647880554, -0.6418026089668274, 0.20784564316272736, -0.12112032622098923, -0.19943086802959442, 0.6514505743980408, 0.060909539461135864, 0.21112878620624542, 0.1410224586725235, -0.17591145634651184, 0.018788350746035576, -0.9577348828315735, 0.03337423875927925, 0.2240203619003296, -0.0728822648525238, -0.11332455277442932, 0.4178319573402405, -0.32167521119117737, 0.8836754560470581, -0.25711092352867126, -0.4513084590435028, -0.06633476912975311, -0.285220205783844, -0.351718008518219, -0.07398054003715515, 0.7546460628509521, 0.3067203760147095, 0.19956181943416595, -0.06044009327888489, -0.20899470150470734, -0.003495933022350073, -0.16690756380558014, -1.163240671157837, -0.1741323620080948, 0.5360479354858398, -0.6862943768501282, 0.1348648965358734, -0.3647581934928894, -0.46507883071899414, -0.20087571442127228, -0.07936783134937286, 0.47526851296424866, -0.2242816835641861, -0.06532604992389679, 0.430896133184433, 0.16633595526218414, -0.2104378193616867, 0.22439423203468323, -0.9120426774024963, 0.45685139298439026, 0.6270155906677246, 1.1155586242675781, -0.003982034511864185, 0.37146061658859253, -0.6341609358787537, 0.23904137313365936, -0.026665760204195976, 0.45111551880836487, -0.36397483944892883, -0.523669421672821, -0.03317245468497276, -0.3274851143360138, -0.025737982243299484, -0.5966790914535522, 0.7453629970550537, -0.6271311044692993, -0.39310774207115173, 0.08752308785915375, -0.696990430355072, -0.2147749364376068, -0.03559667617082596, -0.8701801300048828, 0.7918728590011597, 0.11639408767223358, -0.4527839124202728, -0.1078319326043129, 0.056744638830423355, -0.49688151478767395, -0.12162674218416214, 0.006880606058984995, -0.54194575548172, 0.40061941742897034, 0.24606870114803314, 0.6307854056358337, -0.48056167364120483, 0.13679011166095734, -0.47872862219810486, -0.6611628532409668, 0.460633248090744, -0.37174996733665466, 0.766401469707489, 0.3748382031917572, 0.023479286581277847, -0.4598064124584198, -0.7229858040809631, 0.2736726999282837, -0.09646118432283401, -0.508256733417511, -0.5015855431556702, 0.2638140320777893, -0.3593730628490448, 0.03761326149106026, 0.16464917361736298, -0.33751657605171204, 0.5523204803466797, -0.1712302714586258, 0.7627212405204773, 0.36582618951797485, -0.22511857748031616, 0.43005141615867615, -0.1246483102440834, 0.6142063736915588, -0.17381854355335236, 0.29857268929481506, -0.09644897282123566, -0.054852135479450226, -0.7773354053497314, -0.5170144438743591, 0.5648715496063232, 0.6661363244056702, -0.9301772713661194, 0.17854200303554535, -0.550544261932373, -0.34766197204589844, -0.5145323872566223, 0.03631032258272171, 0.25180789828300476, 0.017907988280057907, -0.032390471547842026, 0.17516157031059265, -0.3605755865573883, -0.6782817840576172, -0.10031517595052719, -0.048796892166137695, -0.06894543766975403, 0.17004413902759552, 0.22135257720947266, 0.07461416721343994, 0.7548815608024597, -0.533674955368042, 0.20669971406459808, 0.046155549585819244, 0.1790831983089447, 0.29774847626686096, 0.574602484703064, 0.15499770641326904, -0.9572032690048218, -0.44619297981262207, -0.24321304261684418, -0.6046631336212158, -0.4522705674171448, -0.06029825285077095, 0.37017589807510376, 0.29227980971336365, 0.7200109958648682, -0.9808961153030396, 0.6010733842849731, 1.065304160118103, -0.1275889277458191, 0.38352975249290466, -0.20606663823127747, 0.08479267358779907, -0.8068844676017761, -0.33496516942977905, -0.14536559581756592, -0.5202713012695312, -0.652301013469696, 0.08732610940933228, 0.01351527776569128, -0.373588889837265, -0.5323633551597595, 0.4441429376602173, -0.7052634358406067, -0.23906166851520538, -0.1533026546239853, 0.026889493688941002, 0.10205377638339996, 0.22513744235038757, 0.14071489870548248, 0.985844075679779, 0.6802647113800049, -1.0322706699371338, 0.030986957252025604, 0.015015127137303352, -0.3173624575138092, 0.4535936415195465, -0.7486127614974976, 0.11259955912828445, 0.1420830637216568, 0.3070898652076721, -0.5232263803482056, 0.19064943492412567, -0.06713157892227173, -0.1463022232055664, 0.21906138956546783, -0.33919110894203186, -0.9487683773040771, -0.21328723430633545, -0.3655056059360504, 0.7111032009124756, 0.7399219274520874, -0.6060205698013306, 0.602482259273529, 0.4070502519607544, -0.1297057569026947, -0.2293330878019333, -0.8095378279685974, 0.0794665515422821, -0.47601333260536194, -0.7437976598739624, 0.6392790675163269, -0.21948185563087463, -0.5450246930122375, -0.07415136694908142, -0.02228309027850628, -0.09953666478395462, 0.2468622624874115, 0.47712966799736023, -0.02420426346361637, -0.06893058866262436, 0.39762747287750244, 0.22599279880523682, -0.14177873730659485, -0.1141049861907959, -0.3084987699985504, 0.6098386645317078, -0.04303884133696556, -0.20180918276309967, -0.4552556574344635, 0.3224108815193176, 0.31429365277290344, 0.037204548716545105, 0.8334064483642578, 0.34573113918304443, -0.2194996327161789, -0.1328185349702835, -0.4549902081489563, -0.019977791234850883, -0.5212833881378174, 0.1498742699623108, -0.557785153388977, -1.0809658765792847, 0.4920850694179535, -0.45093539357185364, -0.3859204351902008, 0.09329450130462646, 0.44677841663360596, 0.014938038773834705, 0.9579772353172302, 0.4986651539802551, 0.018146978691220284, 0.3850123882293701, -0.36770302057266235, 0.36293482780456543, -0.9043040871620178, 0.21479275822639465, -0.6533392667770386, -0.27171358466148376, -0.7231862545013428, -0.6203923225402832, 0.5246157050132751, 0.5008751749992371, -0.09165603667497635, 0.19019456207752228, -0.3467302918434143, 0.3981248438358307, 0.35366305708885193, 0.12762589752674103, 0.5548950433731079, 0.06479170173406601, 0.2853197455406189, 0.0876820906996727, -0.8323419094085693, -0.29848313331604004, 0.9609305262565613, 0.4184497892856598, 0.9793556928634644, 0.34197089076042175, 0.5006906390190125, 0.08645099401473999, -0.22977596521377563, -0.7397374510765076, 0.7713730931282043, -0.33943450450897217, -0.2852173149585724, -0.30344799160957336, -0.6883981227874756, -0.8881285190582275, 0.2957264482975006, -0.10113746672868729, -1.0658382177352905, 0.13098102807998657, 0.05147106572985649, -0.7092078924179077, 0.2983829975128174, -0.704960286617279, 0.4026278257369995, -0.03091646544635296, -0.554935872554779, -0.2682320773601532, -0.4627560079097748, 0.2901689112186432, -0.06068386510014534, 0.42489463090896606, -0.127431720495224, -0.28469619154930115, 0.6428394913673401, -0.9052677154541016, 0.7284565567970276, -0.10709304362535477, -0.3429933786392212, 0.3810221552848816, 0.24884635210037231, 0.5291475653648376, 0.07720153778791428, -0.17034515738487244, 0.2941986620426178, 0.20909346640110016, -0.4290875196456909, -0.795380711555481, 0.6169331073760986, -0.3972777724266052, -0.5322772264480591, -0.1420001983642578, -0.7799253463745117, -0.17939512431621552, -0.12526579201221466, 0.33365240693092346, 0.49187883734703064, 0.17145541310310364, 0.15840208530426025, 0.9970969557762146, -0.3907146155834198, 0.8915448784828186, 0.29288989305496216, -0.2860593795776367, -0.35497915744781494, 0.966424286365509, 0.4066784083843231, 0.43739235401153564, 0.5458132028579712, 0.14228349924087524, -0.19706088304519653, -0.7550899982452393, -0.312007874250412, 0.10465070605278015, -0.43341928720474243, -0.2301815301179886, -0.5705627202987671, -0.1588554084300995, -0.2625501751899719, -0.16280697286128998, -0.5329911708831787, -0.7640231847763062, -0.31758663058280945, 0.23756065964698792, 0.40579867362976074, 0.24765028059482574, -0.14271321892738342, 1.051426649093628, -1.0166707038879395, 0.1920660436153412, 0.12201963365077972, 0.10290106385946274, -0.004377348814159632, -0.45945048332214355, -0.6135382056236267, 0.01110992580652237, -0.1365836262702942, -0.45035168528556824, 0.3641866445541382, 0.3128972351551056, -0.03317269682884216, 0.32006463408470154, 0.19547176361083984, 0.7392821907997131, -0.1255965679883957, 0.684335470199585, -0.1119217723608017, -1.2248111963272095, 0.19813793897628784, -0.11013497412204742, 0.2671743929386139, 0.2988565266132355, 0.529996395111084, -0.18242229521274567, -0.1067211776971817, -0.5110491514205933, -0.8318963646888733, 0.10483645647764206, 0.0922946184873581, 0.21532180905342102, 0.2500499188899994, 0.49981486797332764, 0.019307225942611694, 0.33143121004104614, -0.714387059211731, -0.05266883969306946, 0.4110244810581207, -0.12677639722824097, 0.1345204859972, -0.4748622179031372, 0.3009469211101532, -0.22021076083183289, 0.5283955335617065, -0.026245279237627983, 0.316588431596756, 0.11632255464792252, -0.2622308135032654, 0.17662283778190613, 0.1537734419107437, 0.5010735988616943, 0.21153174340724945, -0.07658696919679642, 0.36282193660736084, -0.05157042667269707, -0.46455201506614685, 0.43318891525268555, 0.05787713825702667, -0.3915305435657501, 0.004927164874970913, 0.3347224295139313, 0.9398008584976196, 0.07146798074245453, -0.6667222380638123, 0.29873740673065186, -0.16850106418132782, 0.09877178072929382, -0.14919449388980865, -0.009549629874527454, 0.051781997084617615, 0.4345550835132599, 0.2704969644546509, -0.5005646347999573, 0.2285604327917099, -0.4579051733016968, -0.014591054990887642, 0.6129570603370667, 0.08255238085985184, -0.22857773303985596, 0.4952559769153595, 0.12334853410720825, -0.3260642886161804, 0.6391652226448059, -0.2904368042945862, -0.4327085018157959, 0.3426145911216736, 0.48174989223480225, 0.5959153175354004, -0.3249051868915558, -0.09986812621355057, 0.1810106337070465, 0.05066203698515892, -0.29253682494163513, 0.2693365514278412, -0.25771716237068176, -0.5459219813346863, -0.9090909957885742, -0.36159077286720276, -0.27446675300598145, -0.03618165850639343, -0.5724058151245117, 0.10039059817790985, -0.22010476887226105, -0.508380651473999, -0.4656344950199127, 0.03817462548613548, -0.2883332371711731, 0.23706474900245667, 0.12889546155929565, 0.8329549431800842, -0.5767236948013306, 0.9285333156585693, -0.011777730658650398, 0.11633319407701492, -0.778710663318634, 0.13364790380001068, -0.16970354318618774, -0.6454826593399048, 0.7668748497962952, -0.047387056052684784, 0.026486920192837715, 0.2908468544483185, -0.5368880033493042, -0.9173178672790527, 0.995585560798645, 0.5777380466461182, -0.8927276730537415, -0.001271093962714076, 0.2697339951992035, 0.37817952036857605, 0.12829072773456573, 0.30739572644233704, 0.505713701248169, 0.2857353091239929, 0.06614658236503601, -0.949802577495575, 0.2550053298473358, 0.10100295394659042, 0.1021643653512001, 0.4667750597000122, -0.8327205181121826, 1.032339334487915, -0.1215406134724617, -0.34543654322624207, 0.14794744551181793, 0.5492455959320068, 0.25974416732788086, 0.2652661204338074, 0.39278924465179443, 0.9568502902984619, 0.7780072689056396, -0.014750687405467033, 1.241024136543274, -0.3703337609767914, 0.42444366216659546, 0.8704084157943726, -0.28544339537620544, 1.013080358505249, 0.6256437301635742, -0.43036168813705444, 0.23718605935573578, 0.782721757888794, 0.23505744338035583, 0.3434760272502899, 0.6146247982978821, -0.6122951507568359, -0.16746361553668976, -0.32075029611587524, -0.3069891929626465, 0.2591577470302582, 0.29424718022346497, -0.05957626923918724, 0.018926842138171196, 0.18130449950695038, 0.224291130900383, -0.15450309216976166, -0.40432220697402954, 0.40242627263069153, 0.3292790949344635, -0.343852162361145, 1.0140457153320312, -0.05097472667694092, 0.6252345442771912, -0.044028520584106445, 0.16737453639507294, -0.21287158131599426, -0.12605151534080505, -0.17061543464660645, -0.4575289785861969, 0.42927926778793335, -0.22392378747463226, -0.12691326439380646, -0.40598294138908386, 0.5501661896705627, -0.30961915850639343, -0.3655722439289093, 0.14715562760829926, 0.5561686158180237, 0.3158167004585266, -0.49871331453323364, -0.2809080183506012, 0.6415334343910217, -0.14938417077064514, -0.5108619332313538, 0.4761320650577545, 0.5335584282875061, -0.09397325664758682, 1.2421233654022217, 0.5528469085693359, 0.2449231743812561, 0.0059035178273916245, -0.29160547256469727, 0.7755837440490723, -0.6363293528556824, -0.3518357574939728, -1.1848015785217285, 0.22345317900180817, 0.19246578216552734, 0.21530459821224213, 0.5301591753959656, 0.6810078024864197, 0.4698125422000885, 0.05117679014801979, 0.6596680879592896, -0.06851338595151901, 0.3754636347293854, -1.0928587913513184, 0.5336920022964478, -0.4828961193561554, 0.5818095803260803, 0.07196896523237228, -0.7315341234207153, -0.26308882236480713, 0.4774051010608673, -0.1450890302658081, -0.062044207006692886, 0.8573797345161438, 0.7545741200447083, 0.20554065704345703, -0.28087592124938965, 0.49060124158859253, 0.14828655123710632, 0.09279295057058334, 0.9598362445831299, 0.6409626007080078, -0.580766499042511, 0.5686188340187073, -0.4417584240436554, -0.016360566020011902, -0.2092088907957077, -1.1623258590698242, -0.7622310519218445, -0.6251392960548401, -0.7671462297439575, -0.32222700119018555, -0.044068679213523865, 0.5075954794883728, 1.1093631982803345, -0.26479673385620117, -0.33900120854377747, -0.1332809031009674, 0.333091676235199, 0.014774620532989502, -0.206869974732399, 0.3396284580230713, 0.3076046109199524, -0.8447358012199402, 0.2413983941078186, 0.24812036752700806, 0.4418852627277374, -0.16986116766929626, -0.009747873060405254, 0.040832437574863434, 0.05782647803425789, 0.6480845212936401, 0.30231329798698425, -0.28897377848625183, 0.04662255942821503, -0.14598879218101501, -0.11612223088741302, -0.01124608051031828, 0.9105678796768188, -1.0448983907699585, 0.02245323173701763, 0.4556008577346802, 0.5558280944824219, 0.6577604413032532, 0.07381822168827057, 0.6437297463417053, -0.6264110207557678, 0.4541071355342865, -0.026813965290784836, 0.17589028179645538, 0.1660042107105255, -0.514926016330719, 0.7024555206298828, 0.17448145151138306, -0.7280327081680298, -1.111665964126587, 0.2018306851387024, -0.9806649684906006, -0.3002294898033142, 1.213950276374817, -0.1738349348306656, -0.3762149214744568, 0.01898672804236412, -0.04575658217072487, 0.24019742012023926, -0.2129056602716446, 0.5982523560523987, 0.6215572357177734, -0.21585004031658173, -0.4907861649990082, -0.9063822627067566, 0.4026375114917755, 0.4088635742664337, -0.8058180212974548, 0.11296794563531876, 0.17163905501365662, -0.19605857133865356, 0.01417192816734314, 0.5401841402053833, 0.23845840990543365, -0.12008459120988846, 0.12350966036319733, 0.23197130858898163, -0.019142523407936096, 0.0964634045958519, -0.6375587582588196, 0.10878752171993256, 0.05568521097302437, -0.22329087555408478 ]
http://arxiv.org/abs/2403.01382v1
http://arxiv.org/pdf/2403.01382v1
Automatic Question-Answer Generation for Long-Tail Knowledge
2024-03-03T03:06:31
2024-03-03T03:06:31
Rohan Kumar, Youngmin Kim, Sunitha Ravi, Haitian Sun, Christos Faloutsos, Ruslan Salakhutdinov, Minji Yoon
cs.CL
cs.CL
Pretrained Large Language Models (LLMs) have gained significant attention for addressing open-domain Question Answering (QA). While they exhibit high accuracy in answering questions related to common knowledge, LLMs encounter difficulties in learning about uncommon long-tail knowledge (tail entities). Since manually constructing QA datasets demands substantial human resources, the types of existing QA datasets are limited, leaving us with a scarcity of datasets to study the performance of LLMs on tail entities. In this paper, we propose an automatic approach to generate specialized QA datasets for tail entities and present the associated research challenges. We conduct extensive experiments by employing pretrained LLMs on our newly generated long-tail QA datasets, comparing their performance with and without external resources including Wikipedia and Wikidata knowledge graphs.
[ -0.6590688824653625, -0.8817685842514038, 0.7029945254325867, -0.041377753019332886, -0.2225891351699829, 0.10610402375459671, -0.150605246424675, -0.3837512135505676, 0.32460564374923706, 0.8657852411270142, -0.8090790510177612, -0.5531174540519714, -0.20056065917015076, 0.43095311522483826, -0.24570512771606445, 1.0435904264450073, -0.11491076648235321, -0.33380770683288574, -0.179956316947937, -0.14355017244815826, -0.4423358738422394, -0.4515284299850464, -0.6757723093032837, 0.17001821100711823, 0.46249306201934814, 0.44909289479255676, 0.6043911576271057, 0.3045468032360077, 0.2496868222951889, 0.158954918384552, 0.30952951312065125, 0.4601920545101166, -0.558047890663147, 0.14290034770965576, -0.1943904012441635, -0.27328577637672424, -0.42341557145118713, -0.31185004115104675, 0.7400349974632263, 0.8185662031173706, -0.05478900298476219, 0.4650329053401947, -0.20850378274917603, 0.6972602605819702, -0.5517618060112, 0.0891832485795021, -0.9616948962211609, -0.24522022902965546, -0.3872098922729492, -0.16198061406612396, -0.1250169426202774, -0.5623753666877747, 0.19239182770252228, -0.9582653641700745, 0.25884824991226196, 0.09908991307020187, 0.9104188084602356, 0.34583091735839844, -0.5566532015800476, -0.5218909978866577, -0.6372703313827515, 0.5954788327217102, -0.767795979976654, 0.3008238673210144, 0.13109147548675537, 0.23940381407737732, -0.284379780292511, -0.6792919635772705, -0.6437272429466248, 0.12347028404474258, -0.021405253559350967, -0.09606295078992844, -0.1628613919019699, -0.1884203404188156, 0.30975261330604553, 0.10351376980543137, -0.7304204702377319, 0.2611943781375885, -0.4211731255054474, 0.21148638427257538, 0.824924647808075, 0.390918493270874, 0.10521256178617477, -0.21195924282073975, 0.12171073257923126, -0.1161399632692337, -1.0457135438919067, 0.08143804967403412, 0.5054079294204712, 0.12934695184230804, 0.45975133776664734, 0.6864163279533386, -0.45577993988990784, 0.8307272791862488, 0.1776355504989624, 0.14609304070472717, 0.3300015330314636, -0.08327433466911316, -0.040725816041231155, -0.21429148316383362, 0.8566210269927979, 0.2840290367603302, 0.6310757994651794, -0.35522353649139404, -0.39072078466415405, -0.6437070369720459, 0.15341471135616302, -0.7858818769454956, -0.1443641036748886, 0.37386226654052734, 0.025524988770484924, -0.027923595160245895, -0.16573761403560638, -0.7779198288917542, -0.09442687034606934, -0.27601101994514465, 0.7094517350196838, -0.2407274842262268, -0.48387688398361206, 0.13123871386051178, 0.09340556710958481, 0.3317357301712036, 0.05504125729203224, -0.5166600346565247, 0.4521620273590088, 0.28338876366615295, 0.2937259078025818, -0.5706222653388977, -0.22102488577365875, -0.71345055103302, 0.24083958566188812, -0.5341079831123352, 0.7603948712348938, -0.3362543284893036, -0.25582894682884216, 0.12598444521427155, 0.12922510504722595, -0.09269227832555771, -0.698098361492157, 0.08831021189689636, -1.1074763536453247, -0.028699902817606926, -0.3043188154697418, -0.7513189911842346, -0.051886625587940216, 0.06145185977220535, -0.8842786550521851, 0.868380606174469, 0.25001099705696106, -1.0744904279708862, 0.2530154287815094, -0.6894670724868774, -0.3642978370189667, 0.1491333693265915, -0.2524675726890564, -0.3510476350784302, -0.1329658478498459, 0.6289241909980774, 0.6084327697753906, -0.33334681391716003, 0.3785554766654968, -0.05076651647686958, -0.15120653808116913, 0.34086349606513977, 0.06466779857873917, 0.6826819181442261, 0.07459842413663864, -0.12302311509847641, -0.024076877161860466, -0.965045690536499, 0.34791356325149536, 0.4556266963481903, -0.029222767800092697, -0.5601193308830261, 0.01549150887876749, -0.388123095035553, -0.07348541915416718, 0.327444463968277, -0.4401989281177521, 0.22346751391887665, -0.29364725947380066, 0.2578991949558258, 0.6938018202781677, 0.42190021276474, 0.17790846526622772, -0.1306019425392151, 0.6899679899215698, 0.1488649994134903, -0.10633353888988495, 0.005271621514111757, -0.2370031625032425, -0.759604811668396, 0.08244120329618454, 0.3046048879623413, 0.5148671865463257, -0.9894370436668396, 0.46922722458839417, -0.4945007860660553, -0.3928981423377991, -0.390251487493515, 0.3218238651752472, 0.14961346983909607, 0.5209352374076843, 0.4299221336841583, -0.13339895009994507, -0.4237443804740906, -0.9170538783073425, 0.03927748277783394, -0.02157018519937992, -0.154388889670372, 0.5890796184539795, 0.5833513140678406, -0.0011138183763250709, 1.2273129224777222, -1.0504626035690308, 0.006486702244728804, 0.08951108157634735, 0.1289617121219635, 0.1347663253545761, 0.20901308953762054, 0.4328140914440155, -0.5748275518417358, -0.3293650150299072, -0.4104301333427429, -0.7604631185531616, -0.04738909378647804, 0.020733749493956566, -0.28715088963508606, 0.14137977361679077, 0.4275190234184265, -0.888662576675415, -0.06259920448064804, 0.30550825595855713, -0.013803932815790176, 0.8532934784889221, -0.0033553086686879396, 0.09822534769773483, -1.0653408765792847, 0.2073465883731842, -0.09270484745502472, 0.03170940652489662, -0.4516963064670563, 0.09704095125198364, -0.023397129029035568, -0.22649982571601868, -0.4119114577770233, 0.6182536482810974, -0.5256328582763672, -0.1723717749118805, 0.11248888820409775, 0.22976627945899963, -0.15555530786514282, 0.5196223855018616, 0.3966974914073944, 0.8856173157691956, 0.4303978681564331, -0.9818761348724365, 0.347943514585495, 0.2935373783111572, -0.12640440464019775, 0.2737540304660797, -0.8745695948600769, 0.3968372046947479, -0.1237250491976738, 0.12946344912052155, -0.5461788773536682, -0.43249133229255676, 0.13094842433929443, -0.1964869499206543, 0.2138890027999878, -0.1561232954263687, -0.6556060910224915, -0.5491747856140137, -0.02551073022186756, 0.43026286363601685, 0.7662255764007568, -0.43767422437667847, 0.3601560890674591, 0.45084643363952637, -0.48400360345840454, -0.6608728766441345, -0.02142995223402977, -0.07852537930011749, -0.22538088262081146, -0.8963595032691956, 0.10595507174730301, -0.1692589670419693, -0.1813526153564453, 0.005009409971535206, 0.16411715745925903, -0.3272109031677246, 0.057362500578165054, 0.05313032492995262, 0.06310617178678513, -0.47983717918395996, 0.5663365721702576, 0.20221197605133057, 0.24419598281383514, 0.45841366052627563, -0.3919389247894287, 0.3432057499885559, -0.1588568240404129, -0.36102792620658875, 0.09928806871175766, 0.4068150818347931, 0.1444048136472702, -0.6173232793807983, 0.4860968291759491, 0.3133818805217743, -0.26798105239868164, -0.5320460796356201, -0.6360462307929993, -0.22629521787166595, -0.44534334540367126, 0.432438462972641, -0.3521865904331207, -0.7936855554580688, 0.46789678931236267, 0.12742939591407776, 0.3716978132724762, 0.500619649887085, 0.4759475588798523, 0.010046491399407387, 0.8349337577819824, 0.45561400055885315, 0.2343515157699585, -0.0669114738702774, -0.22283749282360077, 0.009313465096056461, -0.43563804030418396, 0.015303635969758034, -0.4548361897468567, 0.2747304439544678, -0.5318853855133057, -0.30832189321517944, 0.4780404567718506, 0.1443966180086136, -0.3642168343067169, 0.06214219704270363, -0.4707503914833069, 0.44750097393989563, 0.5969750285148621, -0.015111058950424194, 0.5380519032478333, -0.0909886285662651, 0.23713603615760803, 0.33634212613105774, -0.5642367601394653, -0.5958127379417419, 1.4861770868301392, 0.12037321925163269, 0.8311890959739685, -0.13546223938465118, 0.943141520023346, -0.09386659413576126, 0.15085740387439728, -0.4766824245452881, 0.49519073963165283, -0.010598999448120594, -0.523949146270752, -0.7495278120040894, -0.5677960515022278, -1.1007094383239746, -0.24895301461219788, -0.12980017066001892, -0.16555696725845337, -0.17284204065799713, 0.11102898418903351, -0.5192316770553589, 0.219931498169899, -0.48953700065612793, 0.6463837027549744, -0.30600735545158386, -0.053194884210824966, 0.11639409512281418, -0.6237660050392151, 0.6486703157424927, -0.6181792616844177, 0.015219154767692089, -0.03994976356625557, 0.08144804835319519, 1.218259334564209, -0.29745498299598694, 0.5720070600509644, -0.34869006276130676, -0.416464239358902, 0.6710079312324524, -0.0585334450006485, 0.6568353772163391, 0.22736839950084686, 0.02919737622141838, -0.1860286295413971, 0.25454026460647583, -0.35797005891799927, -0.5266318321228027, 0.35730597376823425, -0.8341965079307556, -0.7934741377830505, -0.08461064845323563, -0.5350103974342346, -0.7542623281478882, 0.21884453296661377, 0.19691431522369385, 0.14412562549114227, -0.2789410948753357, -0.16132168471813202, 1.1068097352981567, -0.4276562035083771, 0.13286255300045013, 0.8692768216133118, -0.2906952202320099, -0.22174420952796936, 0.9177373647689819, 0.3479585349559784, 0.0639333724975586, 0.19559374451637268, -0.12287919223308563, -0.43587008118629456, -0.7056463360786438, -0.7182579040527344, 0.3591131269931793, -0.5588694214820862, -0.3135494589805603, -0.765849232673645, -0.48097437620162964, -0.28002455830574036, 0.270248144865036, -0.2025989443063736, -0.36815229058265686, -0.3833537697792053, 0.00829553697258234, 0.6568716764450073, 0.7858930826187134, 0.14350701868534088, 0.14552870392799377, -1.0871466398239136, 0.6213614344596863, 0.7532532811164856, 0.18728415668010712, 0.06991706043481827, -0.14279699325561523, -0.2968422770500183, 0.17988194525241852, -0.1387924700975418, -0.8230773210525513, 0.28597530722618103, 0.2345171570777893, 0.5207962989807129, 0.08665686845779419, 0.4790230095386505, 0.5108388662338257, -0.6703952550888062, 0.7766374349594116, -0.017457803711295128, -0.5762287378311157, 0.566716730594635, -0.41922762989997864, 0.026942001655697823, 0.4014627933502197, 0.9303277134895325, -0.11027916520833969, -0.6030628085136414, -0.6634398102760315, -0.8899877071380615, 0.2589394152164459, 0.2407715618610382, 0.1971951425075531, -0.19348357617855072, 0.4987097680568695, 0.5204216241836548, 0.3261243999004364, -0.4768434166908264, -0.09654861688613892, -0.14059630036354065, -0.24389342963695526, -0.026046330109238625, 0.002728984458371997, -0.08622536063194275, 0.15625068545341492, 0.657986044883728, -0.2990069091320038, -0.16496853530406952, 0.10366148501634598, -0.4026525020599365, -0.2510141432285309, 0.2880786061286926, 0.0918254554271698, 1.1756658554077148, -0.268097460269928, -0.1033405289053917, 0.23466670513153076, -0.2720321714878082, 0.20433948934078217, 0.17738984525203705, -0.3290891647338867, 0.013596457429230213, 0.07979042828083038, 0.4691306948661804, -0.2977718710899353, -1.0020009279251099, 0.43150565028190613, -0.041014429181814194, -0.21272803843021393, -0.7195383906364441, 0.1488596647977829, 0.34003737568855286, 0.020464392378926277, 0.7880897521972656, -0.7061961889266968, -0.17253880202770233, -0.19219589233398438, 0.35369616746902466, 0.4923305809497833, 0.1790134459733963, -0.21396218240261078, 0.3769153654575348, 0.3498287498950958, 0.05607214197516441, 1.017849326133728, -0.16586172580718994, -0.3082183599472046, 0.64699786901474, 0.2558426558971405, 0.5137397646903992, 0.021634424105286598, 0.14655305445194244, 0.4142289459705353, 0.13437315821647644, 0.09588170796632767, 0.2972521185874939, 0.21385589241981506, -0.6210314631462097, -0.7312905788421631, -0.7289192080497742, -0.4550512433052063, 0.5124843120574951, -0.7644020318984985, 0.13226871192455292, -0.13724787533283234, -0.06012865900993347, -0.20446057617664337, 0.07266362011432648, -0.9820905923843384, 0.4351083040237427, -0.11500298231840134, 0.8975139260292053, -0.6729814410209656, 0.5818028450012207, 0.6290802359580994, -0.7416312098503113, -0.9103512763977051, 0.07557663321495056, -0.8248205780982971, -0.7829269170761108, 1.019656777381897, -0.20680932700634003, 0.016386941075325012, 0.42340752482414246, -0.73102867603302, -0.8051906824111938, 0.9567974805831909, 0.30700379610061646, -0.6347705721855164, -0.754274845123291, 0.40980446338653564, 0.4116045832633972, -0.2942695915699005, 0.0953742042183876, 0.5213027596473694, 0.38134822249412537, -0.2406480461359024, -0.961834728717804, 0.18308119475841522, -0.07901684939861298, -0.3924582600593567, 0.1408131867647171, -0.5786365866661072, 0.8253585696220398, -0.3436393439769745, -0.11556482315063477, -0.059183161705732346, 0.9138190150260925, 0.452763170003891, 0.06953845173120499, 0.6349841952323914, 0.49833887815475464, 0.792468786239624, 0.2986985146999359, 0.4806165397167206, -0.3564407527446747, 0.12476589530706406, 1.1334127187728882, -0.3875308632850647, 0.937721848487854, 0.3458203375339508, -0.19212250411510468, 0.4259898066520691, 0.7969611883163452, -0.11920146644115448, 0.2232343852519989, 0.5638957619667053, -0.10480069369077682, -0.5684623718261719, 0.2300994098186493, -0.5228090882301331, 0.253266304731369, 0.2603283226490021, -0.08458627760410309, -0.3296898305416107, -0.09849312901496887, -0.2514179050922394, -0.11676111072301865, -0.3595620095729828, 0.8600122928619385, 0.17486752569675446, -0.8943358659744263, 0.8229165077209473, -0.13670118153095245, 0.6849755048751831, -0.7697587013244629, -0.07504090666770935, -0.24345926940441132, -0.36532941460609436, -0.20748424530029297, -1.0820046663284302, 0.21251578629016876, 0.2844443917274475, -0.04983973503112793, 0.2432837039232254, 0.5074204802513123, -0.31420525908470154, -0.3808256685733795, -0.007241913583129644, 0.9964041709899902, 0.30508604645729065, -0.26799362897872925, -0.407684862613678, -0.4930058419704437, -0.2335614711046219, -0.4714357852935791, 0.34228482842445374, 0.6943790912628174, -0.21773432195186615, 0.8639610409736633, 0.5491506457328796, 0.026941867545247078, 0.41999009251594543, -0.2630325257778168, 0.9200533032417297, -0.626990795135498, -0.427776575088501, -0.23939771950244904, 0.31546321511268616, 0.01704622618854046, -0.27045029401779175, 0.43911051750183105, 0.5216872096061707, 0.8176227807998657, -0.34616997838020325, 0.9295403957366943, -0.04603565111756325, 0.8868230581283569, -0.8149879574775696, 0.9485177397727966, -0.6112618446350098, 0.06560324877500534, -0.022073309868574142, -0.7470681667327881, 0.21915048360824585, 0.10131322592496872, -0.12036821991205215, -0.053727149963378906, 0.5537348389625549, 0.7988622784614563, -0.007629129104316235, -0.26053473353385925, 0.10783203691244125, 0.100811667740345, 0.22263839840888977, 0.8824827075004578, 0.8838393092155457, -0.20039556920528412, 0.8326362371444702, -0.30903398990631104, 0.22061200439929962, 0.044669270515441895, -0.846958577632904, -0.996930718421936, -0.7558797001838684, -0.33969610929489136, -0.23630109429359436, 0.20269885659217834, 0.7677807211875916, 0.46895632147789, -0.7678928971290588, -0.11475163698196411, 0.010924247093498707, 0.1465313732624054, 0.1323687732219696, -0.30583086609840393, 0.862968921661377, -0.4849657416343689, -0.5627700686454773, 0.17512769997119904, -0.4736900329589844, 0.028313331305980682, -0.45676133036613464, 0.022161588072776794, 0.08805213123559952, 0.08000733703374863, 0.34224262833595276, 0.42986029386520386, -0.3936150074005127, -0.23088426887989044, 0.227648064494133, 0.005820618476718664, 0.08316620439291, 0.6711899042129517, -0.8967829942703247, -0.15882864594459534, 0.3127819299697876, 0.8596242070198059, 0.42308905720710754, 0.01753663457930088, 0.707956075668335, -0.7448413968086243, -0.4546881914138794, 0.535897433757782, 0.004339501727372408, 0.15218624472618103, -0.2979865074157715, 0.4510357081890106, 0.01143106259405613, -0.48980212211608887, -0.8906097412109375, 0.21250736713409424, -0.7690345048904419, -0.21825897693634033, 1.2359906435012817, -0.20438534021377563, -0.26467594504356384, -0.19255812466144562, 0.05338845029473305, 0.30228590965270996, -0.22193431854248047, 0.5389607548713684, 0.3801122009754181, -0.16025367379188538, 0.0313190259039402, -0.5372459292411804, 0.6533928513526917, 0.04782741144299507, -1.1108603477478027, 0.23646226525306702, 0.5347931385040283, 0.9033787846565247, -0.06722123920917511, 0.6990119814872742, 0.09996872395277023, 0.2450539618730545, -0.197191521525383, 0.1858077496290207, -0.3175034523010254, -0.05814778804779053, 0.17528794705867767, 0.37648361921310425, 0.3125212490558624, 0.09179673343896866 ]
http://arxiv.org/abs/2403.14666v1
http://arxiv.org/pdf/2403.14666v1
SyllabusQA: A Course Logistics Question Answering Dataset
2024-03-03T03:01:14
2024-03-03T03:01:14
Nigel Fernandez, Alexander Scarlatos, Andrew Lan
cs.CY
cs.CY, cs.CL, cs.IR, cs.LG
Automated teaching assistants and chatbots have significant potential to reduce the workload of human instructors, especially for logistics-related question answering, which is important to students yet repetitive for instructors. However, due to privacy concerns, there is a lack of publicly available datasets. We introduce SyllabusQA, an open-source dataset with 63 real course syllabi covering 36 majors, containing 5,078 open-ended course logistics-related question-answer pairs that are diverse in both question types and answer formats. Since many logistics-related questions contain critical information like the date of an exam, it is important to evaluate the factuality of answers. We benchmark several strong baselines on this task, from large language model prompting to retrieval-augmented generation. We find that despite performing close to humans on traditional metrics of textual similarity, there remains a significant gap between automated approaches and humans in terms of fact precision.
[ -0.1575801819562912, -0.8190144896507263, 0.42270079255104065, -0.27464014291763306, 0.11507080495357513, 0.0563836470246315, 0.1813943088054657, -0.4963727295398712, 0.12469396740198135, 0.4798506796360016, -0.8720389604568481, -0.445886492729187, 0.09107603132724762, -0.007993718609213829, -0.7323241233825684, 1.251338005065918, 0.107884481549263, -0.2663068175315857, -0.569502592086792, -0.3673285245895386, -0.6065046191215515, -0.6811554431915283, -0.6492645740509033, -0.04591028392314911, 0.5745857357978821, 0.3017652928829193, 0.8984286189079285, 0.5211998224258423, 0.5322457551956177, 0.18997475504875183, 0.021126730367541313, -0.11616002768278122, -0.3013589382171631, 0.08272511512041092, -0.3166739046573639, -0.6280086636543274, -0.5908064246177673, -0.12703785300254822, 0.6278345584869385, 0.8824437856674194, -0.6850309371948242, 0.8588054180145264, 0.040949661284685135, 0.5278282165527344, -0.8792802691459656, 0.024392200633883476, -0.3582734763622284, -0.11443480849266052, -0.29147565364837646, 0.1714572310447693, -0.39583534002304077, -0.5892990231513977, 0.41675540804862976, -0.9606354832649231, 0.3817547559738159, 0.09882643073797226, 1.070919394493103, 0.4715009331703186, -0.43689534068107605, -0.43736520409584045, -0.6392419338226318, 0.7098566889762878, -0.3813006281852722, 0.3448107838630676, 0.7452658414840698, 0.4705122113227844, 0.05027283728122711, -0.7151917219161987, -0.4681974947452545, 0.16825929284095764, -0.21167142689228058, 0.2547956705093384, -0.14483051002025604, 0.18909168243408203, 0.10377620905637741, 0.36834874749183655, -1.0035794973373413, 0.004178497474640608, -0.6753630638122559, -0.17240552604198456, 0.8144016265869141, 0.6035864353179932, 0.25383198261260986, -0.2717995345592499, -0.2978154718875885, -0.2999503016471863, -0.4057317078113556, 0.21885839104652405, 0.4458474814891815, -0.12005260586738586, -0.16488714516162872, 0.3660355806350708, -0.5197629332542419, 0.9156380891799927, -0.48382624983787537, 0.1485217809677124, -0.06683901697397232, -0.32632580399513245, -0.4330652356147766, 0.044110316783189774, 0.4704122841358185, 0.41300228238105774, -0.13461890816688538, 0.010400994680821896, 0.05494608357548714, -0.1512438952922821, 0.372933030128479, -0.21440955996513367, -0.540241003036499, 0.5322461724281311, -0.15609392523765564, -0.02715042419731617, 0.019212400540709496, -0.822192370891571, -0.22507566213607788, -0.3168462812900543, 0.595814049243927, 0.020098082721233368, 0.15172117948532104, 0.14415086805820465, -0.09944936633110046, 0.4374871850013733, 0.7200950980186462, -0.5129801630973816, 0.2916702628135681, 0.540103554725647, 0.7630948424339294, -0.0495794303715229, -0.08051987737417221, -0.5810693502426147, 0.20925572514533997, -0.33150339126586914, 0.7158327698707581, -0.22418522834777832, 0.005959019530564547, -0.03203234821557999, 0.11515630036592484, 0.18724225461483002, -0.5487949252128601, 0.48205825686454773, -0.6594463586807251, 0.6017653942108154, -0.24119353294372559, -0.5854840874671936, -0.517990231513977, 0.27663058042526245, -0.8616381883621216, 1.3055845499038696, 0.10894200205802917, -0.3231724202632904, 0.22949188947677612, -0.542068600654602, -0.1463238000869751, 0.33943039178848267, -0.2601935863494873, -0.29656463861465454, -0.3877146244049072, -0.05099206045269966, 0.525994062423706, -0.4812726378440857, 0.580756664276123, -0.11223887652158737, -0.2272588014602661, 0.2416342943906784, -0.42317959666252136, 1.2627290487289429, 0.13096266984939575, -0.08387771248817444, -0.19380556046962738, -0.7300794720649719, 0.10232901573181152, -0.21717697381973267, -0.40030673146247864, -0.2961685359477997, -0.1446632295846939, -0.0035396465100347996, 0.08613389730453491, 0.2884221374988556, -0.40274757146835327, 0.10638582706451416, -0.28125694394111633, -0.006645592395216227, 1.0465905666351318, -0.18347333371639252, 0.10822262614965439, -0.7272605895996094, 0.8393125534057617, -0.10940171033143997, 0.2897745370864868, 0.09752301126718521, -0.7553209662437439, -0.867743194103241, -0.04384755343198776, 0.12510959804058075, 0.672986626625061, -0.6493344902992249, 0.287065714597702, -0.17835506796836853, -0.7060979604721069, -0.6787828207015991, 0.19588539004325867, 0.2865539789199829, 0.5063488483428955, 0.41456231474876404, -0.38324621319770813, -0.39973726868629456, -0.7071716785430908, -0.05358909070491791, -0.6410384178161621, -0.15357984602451324, 0.06821010261774063, 0.38305437564849854, 0.2928428649902344, 1.0874147415161133, -0.9866452813148499, -0.028958918526768684, 0.09812275320291519, -0.08675100654363632, 0.22575102746486664, 0.20179638266563416, 0.37037545442581177, -0.5510261058807373, -0.0007223039283417165, -0.24810029566287994, -1.07732355594635, 0.20547227561473846, -0.2679382860660553, -0.4754622280597687, 0.2798461616039276, 0.11595515161752701, -0.8086672425270081, 0.6577358841896057, 0.256587415933609, -0.42155709862709045, 0.4682523012161255, -0.12457761913537979, -0.10347941517829895, -0.9643530249595642, 0.2759554386138916, -0.14016975462436676, 0.02949683368206024, -0.5315762758255005, 0.06830646097660065, -0.1041482463479042, -0.2725452184677124, -0.28112897276878357, 0.5952191352844238, 0.06807634234428406, -0.27260175347328186, 0.28114598989486694, 0.19280202686786652, 0.11442437022924423, 0.3971762955188751, -0.1094842329621315, 0.7551411390304565, 0.2881065607070923, -0.6247103810310364, 0.8012731671333313, 0.657444953918457, -0.2965145409107208, 0.603917121887207, -0.575774610042572, -0.04924245923757553, -0.405322402715683, 0.5439421534538269, -1.0248123407363892, -0.30568253993988037, 0.3283379077911377, -0.17126168310642242, -0.4831539988517761, 0.0018520259764045477, -0.5282010436058044, -0.2685967981815338, -0.02593117393553257, 0.344065397977829, 0.4786972105503082, -0.3912596106529236, 0.3413355350494385, 0.1529206931591034, -0.35937532782554626, -0.8115559816360474, -0.367178350687027, -0.13093648850917816, -0.13250625133514404, -0.290802001953125, -0.3188684284687042, -0.25049886107444763, -0.27731552720069885, -0.07544360309839249, -0.43894240260124207, -0.5109087228775024, 0.44140657782554626, 0.25078892707824707, 0.702381432056427, -0.2523258626461029, 0.6978278756141663, 0.052750617265701294, 0.14641983807086945, 0.4605698883533478, -0.5146788954734802, 0.2518131136894226, 0.09831994026899338, -0.33417731523513794, -0.4478033781051636, 0.173170268535614, 0.24345022439956665, -0.08431707322597504, 0.7503018975257874, 0.38106346130371094, -0.5288295745849609, 0.04717770963907242, -0.35700520873069763, -0.31534871459007263, -0.5013650059700012, 0.2769321799278259, 0.057903554290533066, -0.5524818301200867, 0.09445087611675262, 0.5094388723373413, 0.5661991834640503, 0.2855340838432312, 0.3652523159980774, -0.41124072670936584, 0.20251958072185516, 0.3891630470752716, -0.042752593755722046, -0.04834023118019104, -0.2472572922706604, 0.07782544195652008, 0.0810396820306778, -0.6984986066818237, -0.5643270611763, -0.20628486573696136, -0.28895971179008484, -0.35034501552581787, 0.3039882481098175, -0.05129637196660042, -0.3493129312992096, 0.3397452235221863, -0.4294475317001343, 0.5300238728523254, 0.7539383769035339, 0.2528749406337738, 0.49285265803337097, -0.0002064859145320952, 0.29738306999206543, 0.33973029255867004, -0.8228923082351685, -0.6702369451522827, 1.1465883255004883, 0.07507068663835526, 0.6582815647125244, 0.3898589611053467, 0.22422005236148834, 0.5933325290679932, 0.07936245948076248, -0.4969103932380676, 0.7957226037979126, -0.06058642640709877, -1.0293960571289062, -0.563886284828186, -0.35855141282081604, -0.9534477591514587, -0.28385165333747864, -0.180938258767128, -0.4261980950832367, -0.06523596495389938, 0.2269987165927887, -0.4517533779144287, 0.25188082456588745, -0.684599757194519, 0.8435280919075012, -0.09335808455944061, -0.06949203461408615, -0.1444506198167801, -1.023134469985962, 0.0695931687951088, -0.347170889377594, 0.18409915268421173, -0.2809438705444336, -0.027433618903160095, 1.1262179613113403, -0.5577542185783386, 0.8383961319923401, 0.17239278554916382, -0.510541558265686, 0.4228494465351105, -0.017507709562778473, -0.033793289214372635, 0.10523252934217453, -0.11689407378435135, 0.07724460959434509, 0.4209491014480591, -0.8918519020080566, -0.7778328657150269, 0.28260770440101624, -0.8429413437843323, -0.49769312143325806, -0.4223788380622864, -0.5672984719276428, -0.09182306379079819, -0.03308304399251938, 0.1470542848110199, 0.7447043061256409, 0.15260149538516998, -0.10513430088758469, 0.6538012027740479, -0.2576325237751007, 0.32279348373413086, 0.3452698290348053, 0.04426968842744827, -0.04928181320428848, 0.9263854622840881, 0.23036742210388184, 0.39511677622795105, 0.5774025321006775, -0.11570271104574203, -0.36323752999305725, 0.1628492921590805, -0.7180408835411072, 0.12358777225017548, -0.9852742552757263, -0.2803359925746918, -0.6540754437446594, -0.36764779686927795, -0.20730148255825043, -0.1424742043018341, -0.05815005302429199, -0.8045835494995117, -0.20580358803272247, -0.20904096961021423, 0.7054353952407837, 0.9270759224891663, 0.2719919681549072, 0.3439217209815979, -0.7366475462913513, 0.06112142652273178, 0.5640562176704407, 0.3453739285469055, 0.03037363290786743, -0.3422180116176605, -0.47907617688179016, 0.11801629513502121, -0.5400986671447754, -0.7687286734580994, -0.09025383740663528, 0.18743963539600372, 0.38047218322753906, 0.24352972209453583, 0.4362459182739258, 0.5732861161231995, -0.07111288607120514, 1.0386719703674316, -0.037768132984638214, -0.7833097577095032, 0.6420810222625732, -0.10122361779212952, 0.18548353016376495, 0.2440507411956787, 1.088314414024353, -0.43016883730888367, -0.5344278812408447, -0.8301752805709839, -0.6195406913757324, 0.8521134257316589, 0.6398496627807617, 0.01468295231461525, 0.46536725759506226, 0.31684383749961853, 0.12216228991746902, 0.36305955052375793, -0.36465221643447876, -0.7148928046226501, -0.171404629945755, -0.622327983379364, -0.33399438858032227, 0.18216781318187714, -0.12744054198265076, -0.14966653287410736, 0.5683169364929199, 0.10944528132677078, -0.05939483270049095, -0.04927632957696915, 0.12263375520706177, 0.1507057398557663, 0.48051267862319946, 0.4477800130844116, 0.8074670433998108, -0.4367738366127014, 0.0036205118522047997, 0.5124965906143188, -1.007057785987854, 0.46178656816482544, 0.03162924572825432, -0.1262204796075821, 0.3139733374118805, 0.2534991204738617, 0.30457863211631775, -0.21851064264774323, -1.2622746229171753, 0.24699930846691132, 0.09376300871372223, -0.04398791119456291, -0.45993900299072266, 0.2152542620897293, -0.22413836419582367, 0.06426332145929337, 0.6811959743499756, -0.2184852659702301, 0.32932206988334656, -0.30838292837142944, 0.3234178423881531, -0.04909803345799446, -0.3351345658302307, -0.29450249671936035, 0.6850827932357788, 0.08844473958015442, -0.11507973074913025, 0.5942111015319824, 0.21563884615898132, -0.1126820370554924, 0.7342671155929565, 0.012640782631933689, 0.4090109169483185, -0.2183796465396881, 0.5465192794799805, 0.4622475206851959, 0.33518943190574646, 0.04861424118280411, 0.3392726480960846, -0.09520552307367325, -0.2927895784378052, -0.2662627100944519, -0.47486063838005066, -0.7469985485076904, 0.05814805626869202, -0.9738522171974182, 0.3991537094116211, -0.48334577679634094, -0.17153874039649963, -0.1434936821460724, -0.013599102385342121, -0.5561957359313965, 0.6328787207603455, -0.14565333724021912, 0.6387856602668762, -0.8502385020256042, 0.552030622959137, 1.259218454360962, -0.46394142508506775, -0.8054093718528748, -0.0678044855594635, 0.031932320445775986, -0.33835989236831665, 0.7370744943618774, -0.09712375700473785, 0.19472214579582214, 0.10773783177137375, -0.4584106504917145, -0.7366178631782532, 1.2819907665252686, 0.39007651805877686, -0.3390105664730072, -0.6454207897186279, 0.441476047039032, 0.3870604932308197, 0.3906509280204773, 0.35857754945755005, 0.42246708273887634, -0.09168580919504166, -0.2578386664390564, -0.907478392124176, 0.035380102694034576, -0.131761834025383, -0.41689297556877136, 0.29375219345092773, -0.6541077494621277, 0.753462016582489, 0.2250286191701889, -0.24326741695404053, 0.07814668864011765, 0.5520336031913757, 0.3803127408027649, 0.632182240486145, 0.3940546214580536, 0.5744995474815369, 1.1564775705337524, 0.03883875161409378, 0.6271181106567383, 0.12489770352840424, 0.3939826190471649, 1.0894930362701416, -0.06410682946443558, 0.9126076698303223, 0.24241000413894653, -0.35570335388183594, 0.7039983868598938, 0.5851873755455017, 0.23433421552181244, 0.08356770128011703, 0.16695134341716766, -0.335754930973053, -0.5432628393173218, -0.26548415422439575, -0.3698188066482544, 0.4591917395591736, 0.2585541307926178, 0.24795430898666382, -0.5254992842674255, 0.015757134184241295, -0.10296023637056351, -0.029239393770694733, -0.1351858675479889, 0.6887220740318298, -0.16096755862236023, -0.4144294261932373, 0.7094392776489258, -0.17527000606060028, 0.018880294635891914, -0.3619368076324463, -0.12701337039470673, -0.4621674120426178, -0.25558584928512573, -0.21235249936580658, -1.1488195657730103, 0.26563575863838196, 0.19397467374801636, -0.061589568853378296, 0.0200358796864748, 0.22722090780735016, -0.31241574883461, -0.2511417269706726, -0.33223095536231995, 0.4375552237033844, 0.16422681510448456, 0.363898366689682, -0.5165091753005981, -0.32896700501441956, -0.3165300786495209, 0.31525325775146484, 0.01860545016825199, 0.43024545907974243, -0.23709611594676971, 1.2473028898239136, 0.4855383038520813, -0.3117639720439911, 0.2358650118112564, -0.5865892767906189, 0.6162624359130859, -0.5883139967918396, -0.6374298334121704, -0.4366071820259094, 0.4946051836013794, -0.09435231238603592, -0.5487745404243469, 0.7100389003753662, 0.7215210795402527, 1.2054357528686523, -0.1688469499349594, 0.5295277833938599, 0.10692843794822693, 0.5223451256752014, -0.6792116165161133, 0.6884523630142212, -0.681763231754303, 0.37331098318099976, -0.33649390935897827, -0.6647843718528748, 0.03475549817085266, 0.31790560483932495, 0.03133325278759003, -0.3540098965167999, 0.5278468132019043, 0.7076082229614258, -0.026705533266067505, 0.395863801240921, 0.13212545216083527, -0.2415424883365631, 0.02522544004023075, 0.7138431072235107, 1.104390025138855, -0.7865736484527588, 0.8909018039703369, -0.3052504360675812, 0.14258171617984772, -0.2632977366447449, -0.3997853100299835, -0.9158505797386169, -0.871214747428894, -0.6492650508880615, -0.5851760506629944, 0.567030668258667, 1.0241823196411133, 0.638077437877655, -0.7711950540542603, -0.7485157251358032, 0.14736208319664001, 0.2038515955209732, -0.18685117363929749, -0.24388454854488373, 0.45609864592552185, -0.02997259795665741, -0.23087486624717712, -0.23601193726062775, -0.00016580158262513578, 0.21017493307590485, -0.11319174617528915, 0.11300799250602722, -0.32283076643943787, 0.03797033801674843, 0.4228956699371338, 0.19192586839199066, -0.6463251709938049, -0.14249862730503082, 0.24577440321445465, -0.22898359596729279, -0.10060730576515198, 0.46551358699798584, -0.864555299282074, 0.16973310708999634, 0.41077688336372375, 1.0696316957473755, 0.007073393557220697, 0.14066974818706512, 0.529796302318573, -0.8810930252075195, 0.06373979896306992, 0.118041031062603, -0.18730080127716064, 0.028982141986489296, -0.43995553255081177, 0.6231127977371216, 0.4290929138660431, -0.4765714108943939, -0.9169435501098633, 0.15063528716564178, -0.9902907609939575, -0.14498864114284515, 0.5187987089157104, -0.13541767001152039, 0.037472520023584366, -0.6088480353355408, -0.15323951840400696, 0.1681859791278839, -0.2840000092983246, 0.7516451478004456, 0.6790394186973572, 0.2565409243106842, -0.08087632060050964, -0.8944207429885864, 0.5340856909751892, 0.6773365139961243, -1.2542403936386108, -0.010138832032680511, 0.6564801931381226, 0.022552289068698883, -0.038111090660095215, 0.6129488945007324, 0.534713089466095, 0.6638625264167786, -0.29606306552886963, -0.17417046427726746, 0.49495047330856323, -0.5093761682510376, -0.10621152818202972, 0.06912529468536377, -0.05369862914085388, -0.2456149011850357 ]
http://arxiv.org/abs/2403.01373v4
http://arxiv.org/pdf/2403.01373v4
Quantity Matters: Towards Assessing and Mitigating Number Hallucination in Large Vision-Language Models
2024-03-03T02:31:11
2024-05-06T13:39:12
Huixuan Zhang, Junzhe Zhang, Xiaojun Wan
cs.CL
cs.CL
Large-scale vision-language models have demonstrated impressive skill in handling tasks that involve both areas. Nevertheless, these models frequently experience significant issues with generating inaccurate information, which is hallucination. In this study, we concentrate on a specific type of hallucination-number hallucination, referring to models incorrectly identifying the number of certain objects in pictures. We perform quantitative evaluations regarding number hallucination, showing it to be critical in major open-source large vision-language models. Furthermore, we utilizes two related tasks to conduct an in-depth analysis of number hallucination, revealing the severe inner and outer inconsistency among all tasks. Based on this examination, we devise a training approach aimed at improving consistency to reduce number hallucinations, which leads to an 8% enhancement in performance over direct finetuning methods. Our code and dataset will be released to the community.
[ -0.43998900055885315, -0.6641643047332764, 0.38679736852645874, 0.6377307176589966, -0.15709413588047028, -0.3070436418056488, -0.0821312665939331, -0.5900009870529175, 0.0053406464867293835, 0.5323894023895264, -0.1788763701915741, -0.041360437870025635, -0.6885889768600464, 0.17565429210662842, -0.538383424282074, 0.5291680097579956, -0.028743961825966835, 0.6002063155174255, -0.4690493047237396, -0.3300287127494812, -0.7642276287078857, -0.5988188982009888, -0.8681881427764893, -0.051731474697589874, 0.48623067140579224, 0.07459712773561478, 0.8013501763343811, 0.4708018898963928, 1.0671372413635254, 0.3503960371017456, 0.11305662989616394, 0.15694281458854675, -0.6967697143554688, -0.1893080770969391, -0.1530592143535614, -0.2540554404258728, -0.5322774648666382, -0.34266722202301025, 0.5181794762611389, 0.8488631844520569, -0.059485066682100296, 0.24836528301239014, 0.08223860710859299, 0.9168996810913086, -0.7980830073356628, 0.2488311380147934, -0.6096258163452148, 0.23421964049339294, 0.007865204475820065, -0.12427626550197601, -0.505522608757019, -0.18400683999061584, -0.04675397276878357, -0.5113669633865356, 0.4170236885547638, -0.13469304144382477, 0.6281428337097168, 0.6391674280166626, -0.04429628327488899, -0.19618086516857147, -0.6374247670173645, 0.7903233766555786, -0.6835376620292664, 0.5770228505134583, 0.7162766456604004, -0.02417679876089096, 0.12339327484369278, -0.2617700397968292, -0.49418553709983826, -0.2784601151943207, 0.08554406464099884, -0.11497306823730469, 0.035875603556632996, 0.056552477180957794, 0.5075618028640747, 0.4049525856971741, -0.5789046883583069, -0.08617368340492249, -0.6882708072662354, -0.1375674307346344, 0.8184057474136353, 0.2721141278743744, 0.2571543753147125, 0.22661326825618744, 0.11729515343904495, -0.34386250376701355, -0.43505796790122986, -0.27879199385643005, 0.2605837285518646, 0.04804007709026337, -0.013468398712575436, 0.8126721978187561, -0.3253026604652405, 0.9288442730903625, 0.16582158207893372, 0.04580167308449745, 0.2558611333370209, -0.2768085300922394, -0.4848388135433197, 0.1408839076757431, 0.4217715561389923, 0.43832826614379883, 0.42400607466697693, -0.28274208307266235, -0.17841315269470215, 0.3118925988674164, 0.5720991492271423, -1.0009212493896484, -0.2071550041437149, 0.42045581340789795, -0.27819767594337463, -0.45313334465026855, 0.3004794120788574, -0.5282135009765625, -0.6883955001831055, -0.5308433175086975, 0.8838403224945068, -0.36917075514793396, -0.1844293773174286, 0.6115719676017761, -0.00356708443723619, 0.068189337849617, 0.4340597689151764, -1.13962721824646, 0.3991204500198364, 0.703555166721344, 0.9136346578598022, -0.06698641180992126, -0.4496804475784302, -0.5843286514282227, -0.12257363647222519, -0.829180121421814, 0.36062857508659363, -0.2514960765838623, -0.07205227017402649, -0.3747682273387909, 0.051251281052827835, 0.15289825201034546, -0.9537171125411987, -0.02724253013730049, -0.28208398818969727, -0.26944464445114136, -0.30051857233047485, -0.4895777702331543, -0.18792732059955597, 0.0893387719988823, -0.9658116102218628, 0.802483856678009, 0.11522587388753891, -0.4976896345615387, 0.5532030463218689, -0.4217832088470459, -0.25450146198272705, 0.26722994446754456, -0.37202200293540955, -0.5121942162513733, 0.6755418181419373, -0.1265905648469925, 0.4244740903377533, 0.02289358526468277, 0.5246153473854065, -0.17645493149757385, -0.7021538019180298, 0.49982890486717224, -0.3853904604911804, 0.5875564813613892, 0.038800936192274094, -0.4986875057220459, 0.058584872633218765, -0.6785858273506165, -0.16538546979427338, 0.03477753326296806, 0.11079570651054382, -0.2716940641403198, -0.06598348170518875, -0.07019243389368057, 0.03398699685931206, 0.15324847400188446, -0.32510414719581604, 0.1265479475259781, -0.3902084529399872, 0.05680818110704422, 0.6736734509468079, -0.019965779036283493, 0.5938418507575989, -0.3326765298843384, 0.16621443629264832, 0.07316173613071442, 0.36590179800987244, 0.20691144466400146, -0.46526265144348145, -0.9933577179908752, 0.1482006162405014, 0.1121574267745018, 0.37096038460731506, -0.7604625225067139, 0.4624882638454437, -0.1585094928741455, -0.4386124014854431, -0.40210214257240295, 0.06888450682163239, 0.24856102466583252, 0.2225242704153061, 0.21227578818798065, -0.48947229981422424, -0.42069292068481445, -0.6085218787193298, 0.05966280400753021, 0.037764836102724075, 0.020298665389418602, -0.02758442796766758, 0.6605937480926514, -0.1824326366186142, 0.646478533744812, -0.4336642920970917, -0.37571242451667786, 0.14355139434337616, 0.2025199979543686, -0.15677478909492493, 0.5993909239768982, 0.4398964047431946, -0.880409836769104, -0.15314503014087677, 0.07103656977415085, -1.013375997543335, -0.004503181204199791, -0.3457047939300537, 0.019552892073988914, 0.6650959253311157, 0.41435492038726807, -0.48438891768455505, 0.777753472328186, 0.6290030479431152, -0.40857651829719543, 0.21944794058799744, -0.2624497413635254, 0.22583171725273132, -0.5240389108657837, -0.14994341135025024, 0.06782324612140656, 0.23127833008766174, -0.6108306050300598, 0.11362100392580032, 0.1073533147573471, -0.19835048913955688, -0.40674856305122375, 0.5017874240875244, -0.20958316326141357, -0.30395641922950745, -0.24778389930725098, -0.2536272704601288, 0.11440292000770569, 0.40298524498939514, 0.16732576489448547, 0.7686836123466492, 0.5406747460365295, -0.5156750082969666, 0.3782755434513092, -0.03570359945297241, -0.5757375359535217, 0.33378955721855164, -0.6018430590629578, 0.12124109268188477, -0.27373212575912476, -0.22315235435962677, -0.8595572710037231, -0.3707939088344574, 0.4259586036205292, -0.314420610666275, 0.06407403945922852, 0.0016711166827008128, -0.5657304525375366, -0.06544707715511322, -0.08515390008687973, 0.6182100772857666, 0.29153570532798767, -0.24826224148273468, 0.31383660435676575, 0.28758248686790466, -0.08714106678962708, -0.4574643075466156, -0.6178656220436096, -0.06784772127866745, -0.11535938829183578, -0.6549862623214722, 0.0018266334664076567, -0.22428660094738007, -0.7284046411514282, -0.33305472135543823, -0.3769861161708832, -0.23495936393737793, 0.131919726729393, 0.29163989424705505, 0.16100244224071503, 0.12254894524812698, 0.5262194871902466, -0.40587714314460754, -0.0816100686788559, 0.18037135899066925, -0.19266808032989502, 0.8483395576477051, -0.23991498351097107, -0.48807817697525024, -0.43460023403167725, 0.2578440010547638, 0.57486492395401, -0.07124662399291992, 0.698976457118988, 0.6977925300598145, -0.6800117492675781, 0.10108499974012375, -0.6435312032699585, -0.48001188039779663, -0.4662870168685913, 0.6851908564567566, -0.5044496059417725, -0.47658705711364746, 0.4121525287628174, 0.4889141619205475, -0.23038792610168457, 0.3617425858974457, 0.43803152441978455, 0.1382380723953247, 1.037753701210022, 0.585245668888092, 0.20001435279846191, 0.30853304266929626, -0.4106419086456299, 0.23171985149383545, -0.2793219983577728, -0.4415161907672882, -0.2640368640422821, -0.19637440145015717, -0.14065997302532196, -0.5060272216796875, 0.1262875497341156, 0.051705487072467804, -0.3797963857650757, 0.20032796263694763, -0.6714630722999573, 0.7800617814064026, 0.2360256463289261, 0.383956640958786, 0.33572712540626526, 0.40623244643211365, 0.773034393787384, -0.33904051780700684, -0.4894203543663025, -0.2961830198764801, 0.8024758696556091, 0.23715123534202576, 0.9100444912910461, 0.13391955196857452, 0.3859326243400574, 0.3106657564640045, 0.02788403071463108, -1.0060948133468628, 0.5798282623291016, -0.29035940766334534, -0.3206855058670044, -0.7874473929405212, -0.740638256072998, -0.7056646943092346, 0.17381809651851654, -0.2209712415933609, -0.6604699492454529, 0.5042968988418579, 0.2265663594007492, -0.2547188103199005, 0.3411974012851715, -0.6097363829612732, 1.0421411991119385, -0.49338775873184204, -0.3768692910671234, -0.476254403591156, -0.311684250831604, 0.22420085966587067, -0.4393655061721802, 0.013551299460232258, -0.08896438032388687, 0.023845957592129707, 0.6861531734466553, -0.3949074447154999, 0.9944117665290833, 0.016989700496196747, -0.5238555669784546, 0.04134280979633331, 0.24586696922779083, 0.4551692605018616, -0.03552247956395149, 0.03696903586387634, 0.5266042351722717, -0.12967826426029205, -0.553174614906311, -0.6925401091575623, 0.4579758048057556, -0.8472598195075989, -0.3557320833206177, -0.30647075176239014, -0.6942286491394043, -0.016743753105401993, -0.12044279277324677, 0.6540327668190002, 0.7334542274475098, 0.000922622624784708, 0.27928078174591064, 0.9648022651672363, -0.22633032500743866, 0.21604371070861816, 0.06428859382867813, -0.3721897304058075, -0.3389550745487213, 1.2736669778823853, 0.6105092167854309, 0.519906222820282, 0.3048623502254486, -0.05407794937491417, -0.046262990683317184, -0.5279322862625122, -0.3136242628097534, 0.0856599435210228, -0.6942574977874756, -0.15382426977157593, -0.5103863477706909, -0.3014320731163025, -0.614644467830658, -0.209457665681839, -0.4215916395187378, -0.3118373155593872, -0.31938204169273376, 0.049391042441129684, 0.5109722018241882, 0.758948802947998, -0.019404998049139977, 0.1626419723033905, -0.5364667177200317, 0.5885015726089478, 0.5309046506881714, 0.45664921402931213, 0.2433425933122635, -0.6845566034317017, -0.48233452439308167, 0.027497991919517517, 0.06350184231996536, -0.6652964949607849, 0.41752636432647705, -0.15605667233467102, 0.060476481914520264, 0.5229629278182983, 0.06557490676641464, 0.9211630821228027, -0.1745622456073761, 0.4293566048145294, 0.37556153535842896, -1.2545106410980225, 0.21313704550266266, 0.003969328012317419, 0.28539249300956726, 0.4672953188419342, 0.16526684165000916, -0.5986298322677612, -0.40422970056533813, -0.7133132219314575, -0.8215625882148743, 0.5850017666816711, 0.3113200068473816, 0.1260751336812973, 0.08698879182338715, -0.0032377690076828003, 0.02815617248415947, 0.17799951136112213, -0.7137609124183655, 0.15695564448833466, -0.29539498686790466, -0.13162483274936676, -0.0016075395978987217, -0.2980571687221527, -0.10578913986682892, -0.41511714458465576, 0.556172788143158, -0.004813670180737972, -0.0961560383439064, 0.09285873174667358, -0.1666589379310608, -0.13366179168224335, -0.08743041753768921, 0.8800110816955566, 1.113530158996582, -0.30755606293678284, 0.12258438020944595, 0.39620769023895264, -0.7803447246551514, 0.16115759313106537, -0.38456404209136963, -0.00765298493206501, 0.05806499719619751, 0.1688893586397171, 0.7555667757987976, -0.01644587703049183, -0.7551663517951965, 0.5416330099105835, 0.1180633082985878, -0.27883854508399963, -0.5425798892974854, -0.05791112780570984, -0.2749796509742737, 0.07394947111606598, 0.4320974051952362, 0.2932440936565399, 0.26891154050827026, -0.38423508405685425, 0.07504431158304214, 0.11357957124710083, -0.4959263801574707, 0.05248942971229553, 0.3654665946960449, 0.03666200861334801, -0.21683920919895172, 0.8401665687561035, -0.19813723862171173, -0.018475374206900597, 1.1271573305130005, 0.2829626202583313, 0.6841972470283508, 0.042122870683670044, 0.3054528534412384, 0.32006898522377014, 0.5434818267822266, -0.5722593665122986, 0.33151715993881226, 0.21379828453063965, -0.889991283416748, -0.7474855184555054, -0.32365405559539795, -0.39769408106803894, 0.30115631222724915, -0.7842027544975281, 0.10272803902626038, -0.3768696188926697, -0.2356245517730713, 0.04726193845272064, -0.1458306461572647, -0.32528719305992126, 0.18646609783172607, 0.30222684144973755, 0.570754885673523, -0.9108149409294128, 0.5385960340499878, 0.4545402526855469, -0.6825162768363953, -0.5084823369979858, -0.23261527717113495, -0.233888179063797, -0.5366039872169495, 0.9182710647583008, 0.21429772675037384, -0.1264464408159256, -0.07786594331264496, -0.805978536605835, -0.6944825649261475, 0.7796477675437927, 0.4130047559738159, -0.6852745413780212, 0.2680877149105072, 0.30875036120414734, 0.3488524854183197, -0.06946342438459396, -0.286907821893692, 0.32287946343421936, 0.5306758284568787, 0.23075060546398163, -0.8268817663192749, 0.07729621231555939, -0.1345318853855133, 0.11698367446660995, 0.40131500363349915, -0.5369350910186768, 0.8792475461959839, -0.32844337821006775, -0.17361100018024445, 0.28540855646133423, 0.30142900347709656, 0.3357376456260681, 0.4315188229084015, 0.3765426576137543, 0.6906448006629944, 0.7863303422927856, -0.18645770847797394, 0.7573750019073486, -0.07345680147409439, 0.36232760548591614, 0.9854883551597595, -0.36513304710388184, 0.7089658975601196, 0.6302080154418945, -0.12582755088806152, -0.3765721917152405, 0.4318278729915619, -0.43881720304489136, 0.2672789990901947, 0.5704063773155212, -0.2974405586719513, -0.28887939453125, 0.0011588499182835221, -0.4857735335826874, 0.2963162362575531, 0.2705019414424896, -0.17527490854263306, 0.2509489357471466, 0.306720107793808, -0.16502715647220612, -0.24435777962207794, -0.515674352645874, 0.8699702024459839, -0.10755068808794022, -0.3308619260787964, 0.7136404514312744, -0.2769942581653595, 0.32651451230049133, -0.2285403311252594, -0.2709386944770813, -0.5604735612869263, 0.2731538414955139, -0.3713330030441284, -0.6786759495735168, 0.5039777755737305, -0.17459678649902344, -0.29062792658805847, -0.10613401234149933, 0.4369666874408722, -0.3775586187839508, -0.7566143274307251, -0.04735298082232475, 0.3205280303955078, 0.5910828709602356, -0.6616244316101074, -0.18468622863292694, 0.4865576922893524, 0.04326419159770012, 0.4060898721218109, 0.24686682224273682, 0.6603915095329285, -0.22839604318141937, 0.544665515422821, 0.38282737135887146, 0.12033554166555405, -0.023440036922693253, 0.42965227365493774, 0.40461671352386475, -0.787128746509552, -0.024958539754152298, -1.0579911470413208, 0.342081755399704, -0.2793196737766266, -0.3075922429561615, 0.5629220008850098, 0.6876457333564758, 1.0543290376663208, -0.6285408139228821, 0.4011334478855133, 0.11655458807945251, -0.34272629022598267, -0.6238030791282654, 0.7312378287315369, -0.45847204327583313, 0.20306141674518585, -0.306370347738266, -1.116951584815979, -0.5942324995994568, 0.8911007046699524, -0.2031461000442505, -0.2522165775299072, 0.5093201398849487, 0.8049802780151367, 0.09899881482124329, -0.11348801106214523, 0.7883763909339905, 0.1476220041513443, -0.3364846706390381, 0.46452173590660095, 0.989494800567627, -0.5393738746643066, 0.5713889598846436, -0.3900448977947235, -0.03763430193066597, -0.30180230736732483, -0.4478684365749359, -0.660600483417511, -0.6896745562553406, -0.622545599937439, -0.32824015617370605, -0.007384157739579678, 0.5366857647895813, 0.8480585217475891, -0.832879900932312, -0.5472494959831238, -0.34023818373680115, -0.04851353541016579, -0.2554056942462921, -0.2599862217903137, 0.21567761898040771, -0.4462946653366089, -0.6589382886886597, -0.1740875244140625, 0.5385711193084717, 0.6008456945419312, -0.5101270079612732, -0.014549682848155499, 0.5095192193984985, -0.11962277442216873, 0.7893738150596619, 0.029961923137307167, -0.7790905237197876, -0.025986390188336372, 0.1792454868555069, -0.15282438695430756, 0.10662927478551865, 0.7457519769668579, -0.6034033894538879, 0.42022156715393066, 0.5643588900566101, 0.5796300172805786, 0.33451348543167114, -0.00782800279557705, 0.43780916929244995, -0.48873022198677063, 0.42653366923332214, 0.05814041197299957, 0.2999120354652405, 0.4075031578540802, -0.41686439514160156, 0.972621738910675, 0.17555275559425354, -0.3674997091293335, -0.8012784123420715, 0.14430341124534607, -1.113553762435913, -0.4977666139602661, 1.021691083908081, 0.28732582926750183, -0.03438486158847809, -0.09141267836093903, -0.37658482789993286, -0.07690045982599258, -0.1803654432296753, 1.1551308631896973, 0.8137046098709106, 0.14648763835430145, -0.24185018241405487, -0.4884461760520935, 0.4572807252407074, 0.4085707664489746, -0.821816623210907, 0.1752203404903412, 0.6807740926742554, -0.28073379397392273, 0.4937954843044281, 0.49259963631629944, -0.13751119375228882, 0.24611233174800873, 0.28776273131370544, 0.3581453561782837, 0.3919314444065094, -0.628592312335968, -0.5180898904800415, 0.09620386362075806, 0.047034852206707, -0.05675402656197548 ]
http://arxiv.org/abs/2403.01364v1
http://arxiv.org/pdf/2403.01364v1
Improving Cross-lingual Representation for Semantic Retrieval with Code-switching
2024-03-03T01:47:52
2024-03-03T01:47:52
Mieradilijiang Maimaiti, Yuanhang Zheng, Ji Zhang, Fei Huang, Yue Zhang, Wenpei Luo, Kaiyu Huang
cs.CL
cs.CL
Semantic Retrieval (SR) has become an indispensable part of the FAQ system in the task-oriented question-answering (QA) dialogue scenario. The demands for a cross-lingual smart-customer-service system for an e-commerce platform or some particular business conditions have been increasing recently. Most previous studies exploit cross-lingual pre-trained models (PTMs) for multi-lingual knowledge retrieval directly, while some others also leverage the continual pre-training before fine-tuning PTMs on the downstream tasks. However, no matter which schema is used, the previous work ignores to inform PTMs of some features of the downstream task, i.e. train their PTMs without providing any signals related to SR. To this end, in this work, we propose an Alternative Cross-lingual PTM for SR via code-switching. We are the first to utilize the code-switching approach for cross-lingual SR. Besides, we introduce the novel code-switched continual pre-training instead of directly using the PTMs on the SR tasks. The experimental results show that our proposed approach consistently outperforms the previous SOTA methods on SR and semantic textual similarity (STS) tasks with three business corpora and four open datasets in 20+ languages.
[ -0.4447990357875824, -0.4551115334033966, 0.15039843320846558, 0.2815937101840973, -0.4075046479701996, 0.13231520354747772, -0.18788596987724304, -0.5002061128616333, 0.3924335539340973, 0.7613162398338318, -0.7186736464500427, -0.5876766443252563, -0.30064618587493896, 0.27764177322387695, -0.3591591715812683, 1.030805230140686, -0.2042444944381714, 0.3820655941963196, -0.05118563771247864, -0.12292291224002838, -0.2773955464363098, -0.6893501281738281, -0.34897565841674805, -0.21324127912521362, 0.49615731835365295, 0.42661240696907043, 0.649189829826355, -0.005218943115323782, 0.10108556598424911, 0.1390482783317566, 0.40655457973480225, 0.03220750391483307, -0.49510258436203003, -0.24139752984046936, -0.4311487376689911, -0.5719118118286133, -0.06242768466472626, -0.2456205040216446, 0.40489691495895386, 0.6916301250457764, 0.0865701213479042, 0.08260796964168549, -0.21738678216934204, 0.6534198522567749, -0.6250792145729065, 0.24405692517757416, -0.8661816120147705, 0.26694613695144653, -0.09838764369487762, -0.43571558594703674, -0.6694157719612122, -0.11450125277042389, 0.39505884051322937, -0.8120091557502747, 0.06255672872066498, 0.10850504040718079, 1.1830271482467651, -0.005655583925545216, -0.41829198598861694, -0.15231290459632874, -0.606162965297699, 0.7546438574790955, -0.34250378608703613, 1.0172110795974731, 0.28432831168174744, 0.17068041861057281, 0.2929501235485077, -0.7440065741539001, -0.3982832729816437, -0.10010944306850433, -0.1315823644399643, 0.2685583531856537, -0.2250562161207199, -0.39925408363342285, -0.01931692101061344, -0.05717041715979576, -0.6229133009910583, -0.22279641032218933, -0.0940568670630455, -0.3291228115558624, 0.30926838517189026, 0.04729849100112915, 0.38651376962661743, -0.007558653596788645, -0.8153635859489441, -0.03652561828494072, -0.8469786047935486, -0.058256689459085464, 0.17699940502643585, 0.39422208070755005, 0.3089185953140259, 0.30640536546707153, -0.34104183316230774, 0.620161771774292, 0.2942485809326172, 0.14627990126609802, 0.36771172285079956, -0.5979666709899902, -0.1692754626274109, 0.14671678841114044, 0.46986475586891174, 0.21022264659404755, 0.3300219178199768, -0.5604249835014343, -0.05115242674946785, 0.12430870532989502, 0.3492532968521118, -0.5357421636581421, -0.17094270884990692, -0.2550942599773407, -0.48259246349334717, 0.22826828062534332, 0.02785751037299633, -0.6871119141578674, 0.3263451159000397, -0.33376678824424744, 0.47159889340400696, -0.44934484362602234, -0.46376195549964905, 0.26528504490852356, 0.170094832777977, 0.5182478427886963, 0.0965372622013092, -0.6162326335906982, 0.43661096692085266, 0.4770491421222687, 0.3475590944290161, -0.25513705611228943, -0.47453439235687256, -0.6000916957855225, 0.2657671272754669, -0.3882969617843628, 0.7343097925186157, -0.7356335520744324, -0.3829309344291687, 0.07271843403577805, 0.2157667726278305, -0.3781098425388336, -0.7350066900253296, 0.12362875044345856, -1.22396981716156, 0.40464305877685547, -0.2399233877658844, -0.22783292829990387, -0.08471640944480896, 0.4116186797618866, -0.5545041561126709, 1.0100423097610474, 0.06875607371330261, -0.7428399920463562, 0.42562153935432434, -0.20638960599899292, -0.5648266673088074, -0.03344201296567917, -0.22798167169094086, -0.4267120063304901, -0.33530187606811523, 0.1503794938325882, 0.13880887627601624, -0.11673419922590256, -0.12697578966617584, -0.018257593736052513, -0.469383180141449, 0.01879894733428955, 0.010818909853696823, 0.5942263007164001, 0.3097696304321289, -0.44383707642555237, -0.06480719149112701, -0.38565927743911743, 0.41395729780197144, -0.04535838961601257, -0.3022586405277252, -0.7890048623085022, -0.3992733657360077, 0.17786502838134766, 0.7290349006652832, 0.46746838092803955, -0.4030594229698181, 0.01815856248140335, -0.26712512969970703, -0.08399728685617447, 0.27474647760391235, -0.18868516385555267, 0.4088633954524994, -0.15808044373989105, 0.7855507135391235, 0.3107370436191559, 0.20712359249591827, 0.197713702917099, -0.418635755777359, -0.7212725877761841, -0.10217427462339401, 0.5136464238166809, 0.7755235433578491, -1.4490638971328735, 0.15345005691051483, -0.5094645023345947, -0.3946816027164459, -0.4482234716415405, 0.19009147584438324, 0.8143118619918823, 0.14965811371803284, 0.582957923412323, -0.5749958753585815, -0.5215150117874146, -0.6239621043205261, -0.6807929277420044, -0.18367476761341095, 0.21507206559181213, 0.2935841381549835, 0.29913896322250366, -0.40473994612693787, 1.215051531791687, -0.4355728328227997, -0.2742350697517395, -0.5529614090919495, 0.17461897432804108, -0.050478316843509674, 0.33442988991737366, 0.37636780738830566, -1.179565668106079, -0.7837144136428833, 0.0350029282271862, -0.22519192099571228, -0.2889748811721802, -0.22812892496585846, -0.5199664831161499, 0.6923326849937439, 0.6643235683441162, -0.6486459970474243, 0.36605730652809143, 0.37941688299179077, -0.44310781359672546, 0.68907630443573, -0.009032857604324818, 0.4151099622249603, -0.7569590210914612, 0.19153828918933868, -0.29051098227500916, -0.21975064277648926, -0.5863239169120789, -0.11091288924217224, 0.40487411618232727, -0.09826973080635071, -0.7339279055595398, 0.5604437589645386, -0.5243656635284424, -0.4615436792373657, 0.04985305666923523, 0.145284503698349, 0.2582356929779053, 0.7957656383514404, 0.413307249546051, 0.6860329508781433, 0.19443289935588837, -0.7213150262832642, -0.07047322392463684, 0.41113296151161194, -0.19261130690574646, 0.5476632714271545, -0.2843310236930847, 0.0633716732263565, -0.01796334981918335, 0.27933579683303833, -0.6391292214393616, 0.49714112281799316, 0.47064971923828125, -0.4000711143016815, 0.17821577191352844, -0.42870065569877625, -0.6627567410469055, 0.041464995592832565, 0.11574283987283707, 0.5344657897949219, 0.18745367228984833, -0.5372036695480347, 0.6960539221763611, 0.182399183511734, -0.2516355812549591, -0.5103159546852112, -0.7688314914703369, 0.16242456436157227, -0.024211252108216286, -0.5948771238327026, 0.6605349779129028, -0.03035779669880867, 0.1420622318983078, 0.18819668889045715, -0.48187991976737976, -0.2020266205072403, -0.2673834264278412, -0.3314315378665924, 0.5621613264083862, -0.2194257229566574, 0.2532377541065216, 0.04468105360865593, -0.43071383237838745, -0.07126322388648987, -0.7074452638626099, 0.7768142223358154, -0.20513002574443817, -0.43940219283103943, -0.085770383477211, 0.47420892119407654, 0.12270094454288483, -0.6346552968025208, 0.4104626178741455, 0.47914403676986694, -0.1042705625295639, -0.10436604171991348, -0.38663992285728455, -0.01854652911424637, -0.40483880043029785, 0.5286805033683777, -0.5776245594024658, -0.9402583241462708, 0.39398959279060364, -0.2056027203798294, -0.13618029654026031, 0.15894442796707153, 0.4720616042613983, 0.2872519791126251, 0.9362735748291016, 0.6299022436141968, 0.21849200129508972, 0.6098095774650574, -0.04499014839529991, 0.5579519271850586, -0.2785550355911255, -0.3906363844871521, -0.6075443625450134, 0.15413761138916016, -0.3719625174999237, -0.6791148781776428, 0.3363349735736847, 0.07884419709444046, -0.2003902643918991, 0.5653757452964783, -0.028508298099040985, 0.1866661161184311, 0.24435880780220032, 0.06544719636440277, 0.5892350673675537, 0.026237456128001213, -0.28057706356048584, -0.09545737504959106, -0.8804081678390503, -0.07469044625759125, 0.7255534529685974, -0.020343756303191185, 1.000890851020813, -0.008028694428503513, 0.7929820418357849, 0.03320835903286934, 0.11166711896657944, -0.5147252082824707, 0.7656710743904114, -0.4556214511394501, -0.46526017785072327, -0.21552921831607819, -0.720927894115448, -1.0585929155349731, 0.5300709009170532, 0.06648137420415878, -0.23203779757022858, 0.30643895268440247, -0.04037459194660187, -0.20309050381183624, 0.1560743898153305, -0.8803703784942627, 1.109858512878418, -0.47103068232536316, -0.21191884577274323, -0.21033425629138947, -0.7668269276618958, -0.044838763773441315, 0.028600789606571198, 0.1608804166316986, 0.15926146507263184, -0.20063401758670807, 0.6665910482406616, -0.3353487253189087, 0.8502079248428345, -0.17447547614574432, -0.22410044074058533, 0.10285752266645432, 0.1368609070777893, 0.39404213428497314, 0.003669807454571128, 0.19967728853225708, 0.21872325241565704, 0.29010525345802307, -0.42732349038124084, -0.7076138257980347, 0.5682144165039062, -0.5848193764686584, -0.5026885867118835, -0.451526015996933, -0.4480738937854767, -0.7060492634773254, 0.44285255670547485, 0.22283118963241577, 0.3419029116630554, -0.10447277873754501, -0.07658935338258743, 0.9097915887832642, -0.31820550560951233, 0.0033661341294646263, 0.8726544976234436, -0.48387086391448975, -0.08933009952306747, 1.0083255767822266, 0.15234160423278809, 0.5177450776100159, 0.7872436046600342, -0.2141251415014267, -0.5109222531318665, 0.00673946738243103, -0.5233134627342224, 0.2074904441833496, -0.7324411869049072, -0.12303073704242706, -0.9195001125335693, -0.0032628437038511038, -0.6062417030334473, -0.06074228137731552, -0.43684646487236023, -0.2575841248035431, -0.2719048857688904, 0.21004442870616913, 0.29010021686553955, 0.1462140530347824, 0.20420725643634796, -0.34344327449798584, -1.1097973585128784, 0.5447734594345093, 0.2695184051990509, 0.6149430274963379, -0.15060733258724213, -0.3375084102153778, -0.5080313086509705, -0.09938502311706543, 0.22423410415649414, -0.7290888428688049, 0.4026639759540558, 0.12554609775543213, 0.7087564468383789, 0.0978570431470871, 0.30020663142204285, 0.7857856750488281, -0.45437145233154297, 0.5093649625778198, 0.33595010638237, -1.0188833475112915, 0.21493873000144958, -0.017046188935637474, 0.48637789487838745, 0.7217979431152344, 0.7316870093345642, -0.8553962111473083, -0.1953429877758026, -0.4243001341819763, -0.936926007270813, 0.7152041792869568, -0.00961571279913187, 0.14511904120445251, -0.12156187742948532, -0.16466957330703735, 0.43613526225090027, 0.21700745820999146, -0.6393634676933289, -0.2521134316921234, -0.5987226366996765, -0.09017691761255264, 0.21697819232940674, 0.1304493397474289, 0.17941007018089294, -0.09120945632457733, 0.7406547665596008, -0.28539973497390747, 0.33014512062072754, 0.29489865899086, -0.5049422979354858, 0.032673899084329605, 0.4977291226387024, 0.08450482040643692, 0.6436867713928223, 0.19995300471782684, 0.07201320677995682, 0.14593316614627838, -0.3357827663421631, -0.1607179194688797, 0.12867121398448944, -0.1683698445558548, 0.33389565348625183, -0.14326989650726318, 0.6801103949546814, 0.7854343056678772, -0.9689225554466248, 0.3905276954174042, -0.0589340478181839, -0.10921761393547058, -0.23140420019626617, -0.18320468068122864, 0.10353990644216537, 0.160689577460289, 0.32964932918548584, 0.10003583878278732, 0.041697658598423004, -0.7178922295570374, 0.4658833146095276, 0.24472643435001373, -0.4412248730659485, -0.015293524600565434, 0.2689599394798279, 0.17785701155662537, -0.11146055907011032, 0.5262816548347473, -0.17560969293117523, -0.7437251806259155, 0.3793223798274994, 0.6694326400756836, 0.7084155678749084, 0.04777013882994652, 0.3987855017185211, -0.15253853797912598, 0.1327512562274933, 0.06508751958608627, 0.5152952671051025, -0.13747812807559967, -0.816261351108551, -0.33722853660583496, -0.25294703245162964, -0.3738626539707184, -0.4453505575656891, -0.8845020532608032, 0.32288724184036255, -0.18250301480293274, 0.04694114997982979, -0.6239600777626038, 0.004964972380548716, -0.7973213791847229, 0.3025481104850769, -0.022195324301719666, 1.1107161045074463, -0.4428839385509491, 1.1223726272583008, 0.801328718662262, -0.36040619015693665, -0.5980093479156494, 0.29872390627861023, -0.4989691972732544, -0.7659255862236023, 0.8853105306625366, -0.12255383282899857, -0.4800972044467926, 0.14719080924987793, -0.16270379722118378, -0.734343409538269, 0.9353936314582825, 0.21772980690002441, -0.38477736711502075, -0.06459570676088333, 0.42735904455184937, 0.5525006651878357, -0.44552093744277954, 0.04194903373718262, 0.5201592445373535, 0.26968851685523987, -0.09953702241182327, -0.9169133901596069, -0.0671006515622139, -0.4972899854183197, 0.15647199749946594, 0.14588864147663116, -0.7446209192276001, 0.7096087336540222, -0.05823446810245514, -0.2926204204559326, -0.013324095867574215, 0.5587259531021118, 0.3426605463027954, 0.3304930329322815, 0.8433780670166016, 0.42702990770339966, 0.2723890244960785, 0.01891331374645233, 0.8211354613304138, -0.48060283064842224, 0.37413203716278076, 1.0320864915847778, -0.6781619191169739, 0.890436053276062, 0.7029175162315369, 0.08646943420171738, 0.6470295190811157, 0.424148827791214, 0.22574792802333832, 0.7607381939888, 0.0009218068444170058, 0.08057953417301178, -0.716799795627594, -0.016269799321889877, -0.6197522878646851, 0.3355634808540344, 0.1707666963338852, 0.004889282397925854, -0.3831334412097931, 0.05586183816194534, 0.07717090100049973, 0.018467355519533157, -0.24622289836406708, 0.6395397186279297, 0.03195346146821976, -0.7338772416114807, 0.7207953929901123, 0.0031897034496068954, 0.8821088671684265, -1.071305751800537, -0.06858713924884796, -0.2603902816772461, -0.059954073280096054, -0.12298823893070221, -0.3984696865081787, 0.3611566424369812, 0.01288587599992752, -0.05622686445713043, -0.7081839442253113, 0.7175163626670837, -0.6584092974662781, -0.2522243559360504, 0.7466782331466675, 0.5650519132614136, -0.0313870944082737, 0.037570297718048096, -0.8154491782188416, 0.032266706228256226, 0.014011251740157604, -0.0766596570611, 0.622077465057373, 0.5982871651649475, -0.3235042095184326, 0.5129939317703247, 0.5487779974937439, -0.2967015504837036, 0.4506506025791168, 0.2768278419971466, 0.992730438709259, -0.7747727632522583, -1.0031790733337402, -0.09618989378213882, 0.07428433001041412, 0.2311033308506012, -0.4496610760688782, 0.7510327100753784, 0.5817493200302124, 1.4009933471679688, -0.3232925236225128, 0.7997176051139832, -0.0872686356306076, 0.5493956804275513, -0.7349040508270264, 0.6732181906700134, -0.7026675939559937, 0.2729516327381134, -0.42262163758277893, -0.6092271208763123, -0.17520588636398315, 0.35745909810066223, -0.4844033718109131, 0.16609756648540497, 0.7997890710830688, 0.890476644039154, -0.04519033804535866, 0.07228298485279083, 0.3955019414424896, 0.12653717398643494, 0.02342541143298149, 0.699105441570282, 0.8382145762443542, -0.4154340922832489, 1.29127836227417, -0.007493473589420319, 0.03171847015619278, -0.3633243143558502, -0.5279489159584045, -0.6050621271133423, -0.5536366701126099, -0.4404154121875763, -0.3157069981098175, 0.34626254439353943, 0.7749000191688538, 0.6039562821388245, -0.8896113038063049, -0.15550290048122406, 0.24560673534870148, 0.05204346403479576, -0.587518036365509, -0.23196333646774292, 0.11352964490652084, -0.5151312351226807, -0.6531432271003723, 0.17373204231262207, 0.2813754677772522, -0.3555821478366852, -0.2320486158132553, -0.30032235383987427, -0.4925917983055115, -0.02952103689312935, 0.5755120515823364, 0.41370829939842224, -0.4778623580932617, -0.21535950899124146, 0.4583340585231781, -0.3888718783855438, -0.003921628929674625, 1.1271302700042725, -1.0462396144866943, 0.15110495686531067, 0.6676383018493652, 0.9541727900505066, 0.5135572552680969, -0.3985881805419922, 0.4921741187572479, -0.5309727191925049, -0.05667940527200699, 0.3872668147087097, 0.2100527286529541, 0.12412695586681366, -0.25286412239074707, 0.2895274758338928, 0.39954882860183716, -0.12845860421657562, -0.31828054785728455, 0.475806325674057, -0.8866344690322876, -0.4892604351043701, 1.1201294660568237, -0.3860832750797272, -0.10169896483421326, -0.8612087965011597, -0.14270444214344025, 0.1671077013015747, -0.2162182331085205, 0.7202471494674683, 0.4225020706653595, -0.17591175436973572, -0.20110739767551422, -0.14435799419879913, 0.27208051085472107, 0.9439662098884583, -0.8081079721450806, -0.054685771465301514, 0.22868113219738007, 0.3762204647064209, 0.13830265402793884, 0.8757789731025696, -0.5004297494888306, 0.5347582697868347, -0.24174939095973969, 0.13314661383628845, 0.15242217481136322, -0.45387759804725647, -0.016687985509634018, 0.05280335247516632, -0.26863738894462585, -0.06134685128927231 ]
http://arxiv.org/abs/2403.01342v1
http://arxiv.org/pdf/2403.01342v1
LM4OPT: Unveiling the Potential of Large Language Models in Formulating Mathematical Optimization Problems
2024-03-02T23:32:33
2024-03-02T23:32:33
Tasnim Ahmed, Salimur Choudhury
cs.CL
cs.CL, cs.IR
In the rapidly evolving field of natural language processing, the translation of linguistic descriptions into mathematical formulation of optimization problems presents a formidable challenge, demanding intricate understanding and processing capabilities from Large Language Models (LLMs). This study compares prominent LLMs, including GPT-3.5, GPT-4, and Llama-2-7b, in zero-shot and one-shot settings for this task. Our findings show GPT-4's superior performance, particularly in the one-shot scenario. A central part of this research is the introduction of `LM4OPT,' a progressive fine-tuning framework for Llama-2-7b that utilizes noisy embeddings and specialized datasets. However, this research highlights a notable gap in the contextual understanding capabilities of smaller models such as Llama-2-7b compared to larger counterparts, especially in processing lengthy and complex input contexts. Our empirical investigation, utilizing the NL4Opt dataset, unveils that GPT-4 surpasses the baseline performance established by previous research, achieving an F1-score of 0.63, solely based on the problem description in natural language, and without relying on any additional named entity information. GPT-3.5 follows closely, both outperforming the fine-tuned Llama-2-7b. These findings not only benchmark the current capabilities of LLMs in a novel application area but also lay the groundwork for future improvements in mathematical formulation of optimization problems from natural language input.
[ -0.4345468580722809, -0.9686689376831055, 0.960051417350769, 0.40728551149368286, -0.3121449649333954, 0.03882093355059624, -0.47745048999786377, -0.5173389911651611, -0.2093936949968338, 0.34200412034988403, -0.5485329031944275, -0.2801646292209625, -0.5575321316719055, 0.5279672145843506, -0.059131547808647156, 1.0048166513442993, -0.3990696370601654, -0.0597592368721962, -0.14318665862083435, 0.15434587001800537, -0.30241870880126953, -0.41708049178123474, -0.7517440319061279, -0.48890990018844604, 0.37352293729782104, -0.041929010301828384, 0.819121778011322, 0.7181518077850342, 0.8133075833320618, 0.2644619345664978, 0.030803674831986427, -0.03226820006966591, -0.650726318359375, -0.10793764889240265, 0.0054156165570020676, -0.36487486958503723, -0.34480395913124084, -0.10781065374612808, 0.7574889659881592, 0.577653169631958, -0.20541827380657196, 0.06757733225822449, -0.03587616607546806, 0.6594580411911011, -0.4535917341709137, 0.42208048701286316, -0.8181411623954773, 0.34651556611061096, -0.20828311145305634, -0.24811646342277527, 0.0023307318333536386, -0.37114983797073364, 0.14247660338878632, -0.8611830472946167, 0.06769529730081558, -0.16438305377960205, 0.8475627899169922, 0.7416893243789673, 0.020149586722254753, -0.34288647770881653, -0.5904245972633362, 0.9556961059570312, -0.9724839329719543, 0.1444375067949295, 0.3354075253009796, 0.25709444284439087, -0.17809517681598663, -0.5989634990692139, -0.4034782350063324, -0.1318032294511795, 0.3041536509990692, 0.09349431097507477, -0.4675291180610657, 0.2663177251815796, 0.36944475769996643, 0.24605198204517365, -0.47315701842308044, 0.27990421652793884, -0.3571566343307495, -0.2101108282804489, 0.46037736535072327, 0.02096918784081936, -0.17848500609397888, -0.0022325755562633276, -0.27455049753189087, 0.24872048199176788, -0.7306054830551147, -0.2468322366476059, 0.2553557753562927, 0.2526070773601532, 0.04975481331348419, 0.5094091892242432, -0.2109554260969162, 0.7929814457893372, -0.22033897042274475, -0.3946351110935211, 0.1935408115386963, -0.4668605923652649, -0.23039761185646057, -0.1435905545949936, 0.5513095259666443, 0.293684720993042, 0.39460137486457825, -0.05706333369016647, -0.39201030135154724, 0.13919290900230408, 0.0018066412303596735, -0.8272700309753418, -0.03742612898349762, -0.056788504123687744, -0.10899427533149719, -0.2664889097213745, -0.2998480796813965, -0.6751148700714111, 0.11906707286834717, -0.5438699722290039, 0.5184515118598938, -0.2582593858242035, 0.05633939802646637, 0.3637099862098694, 0.24274413287639618, 0.29674047231674194, 0.3083899915218353, -0.7757890820503235, 0.33650103211402893, 0.8817565441131592, 1.034887433052063, -0.3054714798927307, -0.03341641649603844, -0.32578447461128235, 0.1301717460155487, -0.5224375128746033, 0.6203126311302185, -0.5358357429504395, -0.15336140990257263, -0.13347218930721283, -0.6335002779960632, -0.06843461841344833, -0.5650970935821533, 0.7297030687332153, -0.38989073038101196, 0.11179295182228088, -0.21925301849842072, -0.4677667021751404, -0.35567715764045715, 0.43087753653526306, -0.5754228830337524, 1.102765679359436, 0.24011284112930298, -0.5043337941169739, 0.1104762852191925, -0.9315283298492432, -0.17390449345111847, 0.043894167989492416, -0.20821519196033478, -0.6302843689918518, 0.295392781496048, 0.2242271602153778, 0.3279363811016083, -0.5448856353759766, 0.12294507026672363, -0.30972906947135925, -0.30085909366607666, -0.15215785801410675, -0.5333727598190308, 0.24510784447193146, 0.24015973508358002, -0.4103242754936218, -0.05635785683989525, -0.4799824655056, 0.18568366765975952, 0.4952828288078308, -0.42955586314201355, 0.0026451083831489086, -0.04508214816451073, -0.4978981018066406, 0.16076481342315674, 0.5048732161521912, -0.2280610352754593, 0.2663586139678955, -0.5873203873634338, 0.7055906057357788, 0.7784509658813477, 0.00873852614313364, 0.245550274848938, -0.0538846030831337, 0.9138435125350952, -0.49467933177948, 0.1075810045003891, -0.10586750507354736, -0.6415726542472839, -0.5454288721084595, -0.12031836062669754, 0.2527309060096741, 0.5281354188919067, -0.6499263644218445, -0.010531757026910782, -0.13435953855514526, -0.10568501055240631, -0.29793116450309753, 0.2870634198188782, 0.37705162167549133, 0.5761313438415527, 0.38120028376579285, 0.08214954286813736, -0.4509487450122833, -1.1255098581314087, -0.2759968936443329, 0.14593231678009033, 0.06781613826751709, 0.3118878901004791, 0.4632987678050995, -0.15903545916080475, 0.8030058741569519, -0.5971619486808777, -0.38125401735305786, -0.2848929464817047, -0.05502113699913025, 0.4421597719192505, 0.18072985112667084, 0.5646899342536926, -0.5639455318450928, -0.535574197769165, 0.2337506115436554, -0.6997779011726379, -0.30274564027786255, 0.18872661888599396, -0.01676282472908497, 0.08653246611356735, 0.16527976095676422, -0.5686896443367004, 0.2327718287706375, 0.6555378437042236, 0.2801564037799835, 0.5130456686019897, -0.14569351077079773, -0.3157398998737335, -0.7348734736442566, -0.18999968469142914, -0.07804574817419052, -0.1148916631937027, -0.5078621506690979, 0.11936181038618088, -0.10707234591245651, -0.1300692856311798, -0.35063639283180237, 0.333242803812027, -0.5419776439666748, -0.3393493890762329, -0.056973736733198166, 0.2697053551673889, -0.1897399127483368, 0.6497076153755188, -0.12550033628940582, 0.8683643937110901, 0.4817286729812622, -0.38003218173980713, 0.21256093680858612, 0.049092330038547516, -0.15023410320281982, -0.0004255792882759124, -0.7346621751785278, 0.33466750383377075, 0.060682233422994614, 0.20983067154884338, -0.698440432548523, -0.18358716368675232, 0.15954168140888214, -0.15068930387496948, 0.050727177411317825, 0.018803829327225685, -0.6313450932502747, -0.39639022946357727, -0.5377528667449951, 0.6173964142799377, 0.3320997953414917, -0.2016540914773941, 0.36508870124816895, 0.08599178493022919, -0.3129325807094574, -0.5175395011901855, -0.3539201021194458, 0.015929101034998894, -0.4120194613933563, -0.49989765882492065, 0.4310762286186218, -0.10818098485469818, -0.13338863849639893, -0.14863908290863037, -0.30662021040916443, 0.048026833683252335, 0.07609038800001144, -0.30247238278388977, 0.08173025399446487, -0.37769070267677307, -0.0026720277965068817, -0.05005154386162758, -0.33245763182640076, 0.022179940715432167, -0.24820014834403992, 0.6204056143760681, -0.2451065182685852, -0.184774249792099, -0.2983277142047882, 0.23465502262115479, 0.16508062183856964, -0.3906324803829193, 0.29620569944381714, 0.4102787673473358, -0.4932728707790375, -0.14436019957065582, -0.35445958375930786, -0.11688975989818573, -0.4906885027885437, 0.4518112540245056, -0.6414859890937805, -0.8576890826225281, 0.33112913370132446, -0.14339296519756317, 0.10698748379945755, 0.5009170770645142, 0.715941309928894, 0.29968899488449097, 1.2024831771850586, 0.6429421901702881, -0.1368737667798996, 0.38992300629615784, -0.3125670254230499, 0.46498221158981323, -0.7601536512374878, 0.04666239395737648, -0.4432637095451355, -0.32105863094329834, -0.570576548576355, -0.557669997215271, 0.6219128966331482, 0.21420659124851227, -0.23991547524929047, 0.22342275083065033, -0.4908360242843628, 0.7350603342056274, 0.244820699095726, -0.25334230065345764, 0.43546101450920105, 0.0942441076040268, -0.25425559282302856, -0.1461663693189621, -0.7044810056686401, -0.5366665124893188, 1.1219614744186401, 0.42153626680374146, 0.5493050217628479, 0.2615383565425873, 0.5485054850578308, -0.0592300184071064, 0.2808631956577301, -0.8411376476287842, 0.4138640761375427, 0.05057139694690704, -0.5416107773780823, -0.33103853464126587, -0.5802907347679138, -0.9780690670013428, 0.4321560859680176, 0.11947090923786163, -0.7134037613868713, -0.3406580686569214, 0.22201615571975708, -0.3981405794620514, 0.1869843304157257, -0.5812238454818726, 0.9666957259178162, -0.5260217785835266, -0.39886292815208435, -0.06340618431568146, -0.4215746819972992, 0.3422345221042633, -0.5492569804191589, 0.39748284220695496, -0.5157003998756409, -0.4724210798740387, 0.4547393023967743, -0.24505457282066345, 0.459333598613739, 0.035994525998830795, -0.4314788579940796, 0.04695536196231842, 0.10905466973781586, 0.5392810106277466, 0.16308873891830444, -0.3466932475566864, 0.337506502866745, -0.10105767101049423, -0.3927532136440277, -0.5507540702819824, 0.7971823215484619, -0.7973381280899048, -0.5832139849662781, -0.2557832896709442, -0.4812732934951782, -0.3248664140701294, 0.35128211975097656, 0.3788459300994873, 0.2389838993549347, 0.11389683187007904, 0.11367401480674744, 0.29240715503692627, -0.13747747242450714, 0.54380202293396, 0.2338225543498993, -0.23789528012275696, -0.24944321811199188, 0.855354905128479, 0.09930522739887238, 0.3960218131542206, 0.498953253030777, 0.4437219500541687, -0.4560774266719818, -0.8086287975311279, -0.31657886505126953, 0.39714163541793823, -0.6677442193031311, -0.5074678659439087, -0.34093934297561646, 0.027486180886626244, -0.0666380375623703, -0.23580294847488403, -0.5757461786270142, -0.39041200280189514, -0.1962881088256836, -0.10436104238033295, 0.17661811411380768, 0.7760166525840759, -0.11347824335098267, 0.3714136779308319, -0.32460179924964905, 0.3108152747154236, 0.02542434073984623, 0.44421881437301636, -0.16684579849243164, -0.29654496908187866, -0.1957206130027771, 0.002665118547156453, -0.6016204953193665, -0.8092859387397766, 0.44925788044929504, 0.41509076952934265, 0.586529016494751, 0.412639856338501, -0.2394447922706604, 0.7488385438919067, -0.5809869170188904, 0.6143821477890015, 0.05698226019740105, -0.9147288799285889, 0.553954541683197, -0.5725976228713989, 0.2792559564113617, 0.3863675594329834, 0.43574628233909607, 0.07203057408332825, 0.0009104094933718443, -0.3503190279006958, -0.8236623406410217, 0.5233281254768372, 0.5979204773902893, -0.0008052548510022461, 0.10705376416444778, 0.7133628129959106, 0.18111562728881836, 0.49161580204963684, -0.9479194283485413, 0.11216415464878082, -0.0215251874178648, -0.1544814109802246, -0.2652122974395752, -0.10978217422962189, -0.004345653112977743, -0.23773789405822754, 0.4764559268951416, -0.2701842188835144, 0.3662344515323639, -0.0690143033862114, 0.09417452663183212, -0.23916970193386078, -0.045482516288757324, 0.8714484572410583, 0.8881717920303345, -0.11000215262174606, -0.008577072992920876, 0.3259035646915436, -0.2979564070701599, -0.1575048416852951, 0.1502414047718048, -0.10107389837503433, -0.12155245244503021, 0.5547960996627808, 0.780724048614502, 0.3960570693016052, -0.5099128484725952, 0.27429404854774475, 0.20611105859279633, -0.32069337368011475, -0.2912459671497345, -0.1172327995300293, -0.0991421565413475, 0.0024011849891394377, 0.2740207314491272, -0.1800907850265503, 0.3930405080318451, -0.3301791846752167, -0.1391085833311081, 0.5866420865058899, 0.14526022970676422, -0.4062362015247345, 0.6566845178604126, 0.054995473474264145, -0.264708936214447, 0.25345683097839355, -0.13713133335113525, -0.8294846415519714, 0.5211060047149658, 0.7262917757034302, 0.6268415451049805, -0.06784497201442719, -0.10100872069597244, 0.40519392490386963, 0.4006000757217407, -0.1336500644683838, 0.05974561348557472, -0.07619234919548035, -0.7912414073944092, -0.7182605266571045, -0.9170182943344116, -0.48306509852409363, 0.25459349155426025, -0.46199095249176025, 0.17231707274913788, -0.5516479015350342, -0.21082699298858643, 0.14273150265216827, 0.2581949532032013, -0.7482532858848572, -0.09364612400531769, -0.06370475143194199, 0.3933211863040924, -0.3632248640060425, 0.5259854197502136, 0.5762989521026611, -0.2588426172733307, -0.9435731172561646, -0.13110537827014923, 0.13106778264045715, -1.0157866477966309, 0.3329167366027832, 0.18866334855556488, -0.29132044315338135, 0.270565927028656, -0.36734893918037415, -1.1395236253738403, 0.9614890813827515, 0.7177987098693848, -0.6194684505462646, -0.1830262988805771, 0.2577672302722931, 0.46259161829948425, -0.3529013693332672, 0.0185936838388443, 0.8498852252960205, 0.6554417014122009, -0.05264629051089287, -1.2284835577011108, -0.19360129535198212, 0.08238300681114197, 0.23863904178142548, 0.44700881838798523, -0.620212733745575, 0.920971155166626, -0.2580813765525818, 0.09710456430912018, 0.24576067924499512, 0.27496352791786194, 0.3931957185268402, 0.20923654735088348, 0.26093369722366333, 0.606911838054657, 0.48585206270217896, -0.23022189736366272, 1.266076683998108, -0.20382805168628693, 0.6414381861686707, 0.8020190596580505, -0.2753136456012726, 0.8872967958450317, 0.4676215350627899, -0.5376684665679932, 0.16117644309997559, 0.8329665064811707, 0.13192737102508545, 0.5732765793800354, 0.44234582781791687, -0.29504960775375366, -0.06882429122924805, 0.30270636081695557, -0.5414661169052124, 0.5447827577590942, 0.42846062779426575, -0.048337653279304504, -0.3960839807987213, -0.12874802947044373, 0.12091927975416183, -0.0256758164614439, -0.3361262083053589, 0.7945776581764221, 0.22389736771583557, -0.6393523812294006, 0.8279670476913452, 0.17320649325847626, 0.5523526668548584, -0.7031885981559753, -0.10791308432817459, -0.21237924695014954, 0.3488035202026367, -0.10961873084306717, -0.5994122624397278, 0.24332158267498016, 0.04794928431510925, 0.09695152938365936, -0.08065982908010483, 0.5084336996078491, -0.13432076573371887, -0.5892900824546814, 0.24213024973869324, 0.3643372356891632, 0.4034084677696228, -0.20401401817798615, -0.8577877879142761, 0.4236910343170166, 0.13968884944915771, -0.20282262563705444, 0.08975159376859665, 0.5228695869445801, -0.09399425238370895, 0.6864151358604431, 0.7398468852043152, 0.060954391956329346, 0.1065579205751419, 0.02700333669781685, 0.7009921073913574, -0.5769860148429871, -0.3992305397987366, -1.0422011613845825, -0.10452347248792648, 0.12089169770479202, -0.4222705364227295, 0.6189627051353455, 0.693369448184967, 0.805632472038269, -0.031785376369953156, 0.6740488409996033, 0.32235413789749146, 0.38423463702201843, -0.7013520002365112, 0.11745531111955643, -0.477279931306839, 0.4698912799358368, -0.4760676622390747, -1.4413671493530273, -0.5237534642219543, 0.9876881837844849, -0.4279121458530426, 0.3185819983482361, 0.5423681139945984, 0.515645444393158, -0.03165680915117264, -0.03617999702692032, 0.41159841418266296, 0.23681266605854034, 0.4805617034435272, 0.7292979955673218, 0.6957513093948364, -0.07499498873949051, 0.5995333790779114, -0.26533108949661255, -0.26964113116264343, -0.25538143515586853, -1.1030653715133667, -0.6409164071083069, -0.161096453666687, -0.07200030237436295, 0.3069940507411957, -0.006123760715126991, 0.7640426158905029, 0.5472623109817505, -0.5071130394935608, -0.12300539016723633, -0.2593038082122803, -0.05510413274168968, -0.07130896300077438, -0.2111392319202423, 0.23095139861106873, -0.4217444956302643, -0.7702944874763489, 0.4888767600059509, 0.590960681438446, -0.015681300312280655, -0.35227447748184204, -0.23601134121418, 0.045335687696933746, 0.16608880460262299, 0.8496859073638916, 0.17436471581459045, -1.0285770893096924, -0.17114828526973724, -0.024732884019613266, 0.2917097508907318, 0.19302821159362793, 0.6940246224403381, -0.574539303779602, 0.2498043030500412, 0.010159932076931, 0.7737851738929749, 0.7716305255889893, 0.08123379945755005, 0.6708862781524658, -0.6250079870223999, 0.09893223643302917, 0.4434153437614441, 0.33062297105789185, 0.36297687888145447, -0.2690204381942749, 0.9254488945007324, 0.09674979746341705, -0.6446084976196289, -0.8339785933494568, 0.2838977873325348, -1.0486631393432617, -0.06983736157417297, 1.1184394359588623, 0.13348570466041565, 0.06601469218730927, 0.17110376060009003, -0.35693490505218506, -0.09864455461502075, -0.4178769290447235, 0.5419803857803345, 0.7304184436798096, -0.5645134449005127, -0.1372848004102707, -1.1533235311508179, 0.6123907566070557, 0.5764055848121643, -0.8680974841117859, -0.2031836062669754, 0.3886197507381439, 0.2643536329269409, 0.06471063196659088, 0.5922355055809021, -0.1337994933128357, 0.12443987280130386, -0.3474258482456207, -0.33517491817474365, -0.08269617706537247, -0.07279204577207565, -0.256740927696228, 0.207116961479187, 0.12242402881383896, 0.04584028571844101 ]
http://arxiv.org/abs/2403.04785v1
http://arxiv.org/pdf/2403.04785v1
Large Language Multimodal Models for 5-Year Chronic Disease Cohort Prediction Using EHR Data
2024-03-02T22:33:17
2024-03-02T22:33:17
Jun-En Ding, Phan Nguyen Minh Thao, Wen-Chih Peng, Jian-Zhe Wang, Chun-Cheng Chug, Min-Chen Hsieh, Yun-Chien Tseng, Ling Chen, Dongsheng Luo, Chi-Te Wang, Pei-fu Chen, Feng Liu, Fang-Ming Hung
cs.CL
cs.CL, cs.AI
Chronic diseases such as diabetes are the leading causes of morbidity and mortality worldwide. Numerous research studies have been attempted with various deep learning models in diagnosis. However, most previous studies had certain limitations, including using publicly available datasets (e.g. MIMIC), and imbalanced data. In this study, we collected five-year electronic health records (EHRs) from the Taiwan hospital database, including 1,420,596 clinical notes, 387,392 laboratory test results, and more than 1,505 laboratory test items, focusing on research pre-training large language models. We proposed a novel Large Language Multimodal Models (LLMMs) framework incorporating multimodal data from clinical notes and laboratory test results for the prediction of chronic disease risk. Our method combined a text embedding encoder and multi-head attention layer to learn laboratory test values, utilizing a deep neural network (DNN) module to merge blood features with chronic disease semantics into a latent space. In our experiments, we observe that clinicalBERT and PubMed-BERT, when combined with attention fusion, can achieve an accuracy of 73% in multiclass chronic diseases and diabetes prediction. By transforming laboratory test values into textual descriptions and employing the Flan T-5 model, we achieved a 76% Area Under the ROC Curve (AUROC), demonstrating the effectiveness of leveraging numerical text data for training and inference in language models. This approach significantly improves the accuracy of early-stage diabetes prediction.
[ -0.07415556907653809, -0.8952650427818298, 0.7621444463729858, -0.20710700750350952, -0.3236522674560547, 0.03118518553674221, -0.2720944285392761, -0.5868952870368958, 0.35469818115234375, 0.6915920972824097, -0.17112144827842712, -0.6347848773002625, -0.5886890888214111, 0.16700425744056702, -0.12196368724107742, 1.069117546081543, -0.023280100896954536, 0.41609954833984375, -0.27399665117263794, -0.013990079052746296, -0.47765225172042847, -0.6487801671028137, -0.49352672696113586, -0.4191673696041107, 0.8815001249313354, 0.3688231110572815, 0.3126384913921356, 0.3741425573825836, 0.6554617285728455, 0.19145961105823517, 0.1254921853542328, 0.14508451521396637, -0.18207669258117676, 0.10148555785417557, 0.3746374547481537, -0.22788602113723755, -0.591126024723053, -0.37031176686286926, 0.2286134511232376, 0.6510542631149292, -0.06360834091901779, -0.0204201377928257, -0.13532784581184387, 0.4513230323791504, -0.23970790207386017, 0.3708638548851013, -0.2531978487968445, 0.32407402992248535, -0.21963433921337128, -0.28583574295043945, -0.4508320987224579, -0.190163254737854, 0.3554072082042694, -0.4144958257675171, 0.17524917423725128, -0.09716475009918213, 0.6101095676422119, 0.2380584180355072, -0.6609125137329102, -0.20070520043373108, -0.5805703997612, 0.6187451481819153, -0.7497483491897583, 0.49053290486335754, 0.4884682595729828, 0.36629244685173035, -0.040056973695755005, -0.6538085341453552, -0.39427655935287476, -0.5963016748428345, -0.13808408379554749, 0.3713590204715729, 0.2174014300107956, 0.20196221768856049, 0.06876960396766663, 0.348490446805954, -0.7331960797309875, 0.005733042024075985, -0.5322993397712708, 0.004113732371479273, 0.5358283519744873, 0.26205164194107056, 0.2898130416870117, -0.12056176364421844, -0.5552676320075989, -0.0071046496741473675, -0.37383267283439636, -0.1761055290699005, -0.44903549551963806, 0.27272409200668335, -0.20955094695091248, 0.5622647404670715, 0.08834584802389145, 0.3489062488079071, 0.15082235634326935, -0.4006597101688385, 0.4678114354610443, -0.5547034740447998, -0.2647895812988281, 0.37325558066368103, 0.5913873910903931, 0.40942564606666565, 0.13166117668151855, -0.17775073647499084, -0.08037949353456497, 0.14759720861911774, 0.2331855297088623, -0.7743296027183533, -0.4973861873149872, 0.5833596587181091, -0.5927252769470215, 0.004949485417455435, -0.18783551454544067, -0.9040651917457581, -0.46030253171920776, -0.2786928713321686, 0.02676667831838131, -0.5702805519104004, -0.13022911548614502, 0.3416973054409027, 0.12914720177650452, -0.27356573939323425, 0.37572309374809265, -0.6756913065910339, 0.24629426002502441, 0.44705289602279663, 0.6271870136260986, -0.18153472244739532, -0.08172786235809326, -0.5453284978866577, 0.19982217252254486, 0.039164524525403976, 0.6185593008995056, -0.37657907605171204, -0.2057993859052658, -0.06388238817453384, 0.013003407046198845, -0.18783845007419586, -0.5217114686965942, 0.3500858545303345, -0.36535781621932983, -0.12291928380727768, 0.2367333620786667, -0.5565904974937439, 0.10979731380939484, 0.2432609647512436, -0.9658889770507812, 0.9499902725219727, 0.10157819837331772, -0.7035490870475769, 0.46690136194229126, -0.33086153864860535, -0.6058552265167236, 0.21833141148090363, -0.08643114566802979, -0.9620606303215027, 0.06744104623794556, 0.2697978615760803, 0.6928762197494507, -0.28993070125579834, 0.9996485114097595, -0.5896967649459839, 0.10437577217817307, 0.4069053828716278, -0.438850462436676, 0.29000183939933777, 0.07985246181488037, -0.19084236025810242, 0.23464488983154297, -0.7201183438301086, -0.21835999190807343, -0.027109436690807343, -0.2507929801940918, -0.5992304682731628, -0.14595787227153778, 0.39841121435165405, 0.3596940040588379, 0.09998170286417007, -0.5451165437698364, 0.13752961158752441, -0.3440222442150116, 0.39631178975105286, 0.4646632969379425, 0.03897792845964432, -0.03303409367799759, -0.4929526746273041, 0.3927753269672394, 0.41056209802627563, 0.3559136986732483, -0.39866605401039124, -0.7160757780075073, -0.2236257940530777, -0.2455955147743225, 0.24584820866584778, 0.5413978099822998, -0.44567298889160156, 0.6096252202987671, -0.6267290115356445, -0.35562974214553833, -0.292521595954895, -0.03793688490986824, 0.2696183919906616, 0.5133580565452576, 0.538037896156311, -0.40439754724502563, -0.35293594002723694, -0.7759165167808533, 0.2984374761581421, -0.04222182556986809, 0.10925180464982986, 0.45345714688301086, 0.7264751195907593, -0.4390777051448822, 0.3765759766101837, -0.6593109965324402, -0.4681985378265381, -0.2919140160083771, 0.02067871205508709, -0.031244464218616486, 0.5228453278541565, 0.2732844650745392, -0.9644310474395752, -0.5152662992477417, 0.24130681157112122, -0.5358065366744995, 0.20952895283699036, -0.031930793076753616, 0.19354897737503052, -0.10508781671524048, 0.38133612275123596, -0.40386563539505005, 0.39644259214401245, 0.7661340236663818, -0.41814985871315, 0.382321834564209, -0.39392369985580444, -0.07339273393154144, -1.2265125513076782, 0.18235744535923004, 0.28195375204086304, -0.2833153009414673, -0.7368595600128174, -0.2035451978445053, 0.11273141950368881, -0.17102733254432678, -0.14020761847496033, 0.7276524305343628, -0.27238258719444275, 0.4133296012878418, 0.046199943870306015, -0.07554417103528976, 0.02956990711390972, 0.16782121360301971, 0.05086423084139824, 0.14554205536842346, 0.22111211717128754, -0.48342347145080566, 0.3247803747653961, 0.39359283447265625, -0.5676189661026001, 0.24596334993839264, -0.5461962819099426, -0.21807894110679626, -0.16366709768772125, 0.49482569098472595, -0.9333170652389526, -0.35006770491600037, -0.0020493892952799797, -0.43391454219818115, 0.3937379717826843, 0.27672794461250305, -0.5089930891990662, -0.565755307674408, -0.15206791460514069, 0.4935857355594635, 0.07716985791921616, -0.13677363097667694, 0.5945088863372803, 0.5523747801780701, -0.3440130352973938, -0.37164103984832764, -0.9714779853820801, 0.00709457928314805, -0.21615037322044373, -0.4769216477870941, 0.5773269534111023, -0.18254192173480988, 0.10277542471885681, 0.13546940684318542, 0.13724353909492493, -0.4406137764453888, 0.12196315079927444, 0.24963811039924622, 0.4032254219055176, -0.22329893708229065, 0.4626663029193878, -0.20081470906734467, -0.1758253276348114, -0.17465007305145264, -0.09356602281332016, 0.519399106502533, 0.29333728551864624, -0.3015182614326477, -0.4013514220714569, 0.5349307060241699, 0.8018800616264343, -0.37466391921043396, 0.702980637550354, 0.5156937837600708, -0.5273115634918213, 0.31939056515693665, -0.5978506207466125, -0.2944391667842865, -0.3162930905818939, 0.5578426122665405, -0.0960150957107544, -0.9259859323501587, 0.4454825222492218, 0.05804213508963585, -0.13540324568748474, 0.16228513419628143, 0.6635897755622864, 0.19378462433815002, 0.9711397886276245, 0.6141539812088013, -0.08912718296051025, 0.3670922815799713, -0.05242132022976875, 0.1419091671705246, -0.7651677131652832, -0.4697146415710449, -0.22876271605491638, 0.024626467376947403, -0.5704832673072815, -0.6120360493659973, 0.8294731974601746, -0.38635486364364624, -0.35134363174438477, -0.0774536058306694, -0.2500006854534149, -0.062326159328222275, 0.21487414836883545, 0.6665428876876831, 0.29752117395401, -0.03931912034749985, -0.38215169310569763, -0.030777085572481155, -0.6304553747177124, -0.23431305587291718, 1.3361064195632935, 0.49959835410118103, 0.7000324726104736, -0.012088111601769924, 0.5861262679100037, 0.21035389602184296, 0.7169658541679382, -0.7083887457847595, -0.12127260118722916, -0.5655173063278198, -0.6275665760040283, -0.3001030683517456, -0.4216117858886719, -1.0428656339645386, -0.06093493849039078, -0.16694606840610504, -0.47277677059173584, 0.03260141611099243, 0.2065407633781433, -0.7411422729492188, 0.23152439296245575, -0.6621823906898499, 0.9680750966072083, -0.7654311656951904, -0.28899863362312317, 0.0035119259264320135, -0.7420828342437744, 0.439767986536026, -0.33388546109199524, 0.30477556586265564, -0.060743000358343124, 0.18005840480327606, 0.38344016671180725, -0.15071481466293335, 1.0721086263656616, 0.0709976777434349, -0.10375626385211945, -0.21170832216739655, -0.40303096175193787, 0.3799241781234741, 0.26122862100601196, 0.03323862701654434, -0.030658317729830742, 0.041465625166893005, -0.31138476729393005, -0.2576448917388916, 0.6259652376174927, -0.6372283101081848, -0.23747216165065765, -0.44157126545906067, -0.35585981607437134, -0.2551541328430176, 0.31913331151008606, -0.17479245364665985, 0.6307373642921448, -0.3024403750896454, 0.20250408351421356, 0.7777804732322693, -0.48710036277770996, 0.0693075880408287, 0.3004612922668457, -0.02709946781396866, -0.6938608884811401, 0.688650369644165, -0.1357066035270691, 0.24768196046352386, 0.6315383911132812, 0.5332086086273193, -0.22656291723251343, -0.3435184061527252, -0.4262421429157257, 0.2512185573577881, -0.4193210005760193, -0.25867530703544617, -0.8225988745689392, -0.10919635742902756, -0.517749547958374, -0.01550385169684887, -0.20589837431907654, 0.21016764640808105, -0.34317806363105774, -0.04959764704108238, 0.4514460265636444, 0.5624945163726807, 0.26168036460876465, 0.043362174183130264, -1.1303589344024658, 0.4689923822879791, 0.03292373940348625, 0.44272613525390625, 0.28130629658699036, -0.25456520915031433, -0.475957453250885, -0.08245185017585754, -0.16788724064826965, -0.7825145125389099, 0.7655007243156433, 0.22988593578338623, 0.5046261548995972, 0.44536182284355164, -0.03973979502916336, 0.6905243396759033, -0.6146992444992065, 0.5712417960166931, 0.5111910104751587, -0.4594101309776306, 0.40014150738716125, -0.22951321303844452, 0.4153817296028137, 0.4984210729598999, 0.390117883682251, -0.7089542746543884, -0.15801893174648285, -0.5263863801956177, -0.9251738786697388, 0.27082204818725586, -0.19632039964199066, -0.06964351236820221, -0.007147831842303276, 0.2718653976917267, 0.29341045022010803, 0.14068272709846497, -0.6739415526390076, -0.3562862277030945, -0.15897327661514282, -0.6524381637573242, -0.5423685312271118, -0.189060777425766, -0.07782235741615295, -0.41199371218681335, 0.27614250779151917, -0.30766186118125916, 0.3947461247444153, 0.4025091826915741, -0.05740536004304886, -0.1424713283777237, 0.3446354866027832, 0.759651243686676, 0.42759138345718384, -0.2774653136730194, 0.18360501527786255, 0.0254694651812315, -0.7297750115394592, 0.031687259674072266, 0.458936870098114, 0.031091980636119843, -0.07121266424655914, 0.40363559126853943, 0.7834042906761169, 0.5264192819595337, -0.9202920794487, 0.5036085247993469, -0.011561321094632149, -0.08114255219697952, -0.7628099918365479, -0.39575502276420593, 0.1891791820526123, -0.033406924456357956, 0.19589221477508545, -0.07075052708387375, 0.05006026476621628, -0.4111223816871643, 0.573347806930542, 0.16406415402889252, -0.6006250977516174, -0.35851964354515076, 0.7910729646682739, 0.27042660117149353, 0.4045543670654297, 0.4666770398616791, 0.26200437545776367, -0.3969346582889557, 0.8306460380554199, 0.5114448070526123, 0.574761152267456, -0.33013859391212463, 0.20061716437339783, 0.38448548316955566, 0.14280658960342407, -0.2550928592681885, 0.1818385124206543, 0.40305906534194946, -0.5952271223068237, -0.6287698745727539, -0.6624485850334167, -0.19876068830490112, 0.5404653549194336, -0.46091219782829285, 0.29616472125053406, -0.2702557146549225, -0.22358699142932892, 0.3027721345424652, -0.042869195342063904, -0.6393968462944031, 0.44970008730888367, 0.5126695036888123, 0.5599890947341919, -0.866516649723053, 1.0602283477783203, 0.6025399565696716, -0.44193241000175476, -0.6010860204696655, -0.011136743240058422, -0.027013959363102913, -0.5615267753601074, 0.7228182554244995, 0.4031081795692444, 0.41549426317214966, -0.1572744995355606, -0.19916288554668427, -0.88857102394104, 0.9722278714179993, 0.16545580327510834, -0.835599958896637, -0.17408744990825653, 0.136514812707901, 0.5919479727745056, -0.47488561272621155, 0.11095798015594482, 0.3141001760959625, 0.6022196412086487, -0.06261808425188065, -1.1567704677581787, 0.03157191723585129, -0.18834656476974487, -0.1862214207649231, 0.31575238704681396, -0.6243351697921753, 1.012495517730713, -0.2999250888824463, 0.051489558070898056, -0.00013961733202449977, 0.29896312952041626, 0.28435268998146057, 0.6914491653442383, 0.20178675651550293, 0.7149949669837952, 0.7992412447929382, 0.09995188564062119, 1.2016282081604004, -0.40751197934150696, 0.3125525116920471, 1.0133403539657593, -0.579063355922699, 0.7390273213386536, 0.2900710105895996, 0.008269185200333595, 0.35614916682243347, 0.6249148845672607, -0.10866973549127579, 0.5717687606811523, 0.23263156414031982, -0.3574479818344116, -0.2947361171245575, -0.1230718195438385, -0.30745431780815125, 0.25568369030952454, 0.59816575050354, -0.6799545288085938, 0.009252510033547878, 0.4244421124458313, -0.0856945738196373, -0.13250106573104858, -0.17626750469207764, 0.620586633682251, 0.21640682220458984, -0.4533238410949707, 0.4394814968109131, -0.12263020873069763, 0.6834938526153564, -0.4388362467288971, -0.20805877447128296, -0.04599902406334877, 0.5420731902122498, 0.0022259659599512815, -0.5079488158226013, 0.15974144637584686, -0.35729125142097473, -0.2062920331954956, -0.0679367408156395, 0.6682477593421936, -0.7604093551635742, -0.7443617582321167, 0.4192344844341278, 0.49782055616378784, -0.0579056516289711, 0.06680256873369217, -0.7013543248176575, -0.14052288234233856, -0.2876908481121063, 0.021353712305426598, 0.3981264531612396, 0.5565832257270813, -0.22588422894477844, 0.6940833926200867, 0.5400680899620056, 0.27464503049850464, -0.11366453766822815, 0.06057535856962204, 0.9395776987075806, -0.7910926342010498, -0.2784518301486969, -0.6953391432762146, 0.4245428740978241, 0.1796390265226364, -0.36979469656944275, 0.290192574262619, 0.5948268175125122, 0.5933752059936523, -0.3147854804992676, 0.9743627905845642, 0.17918598651885986, 0.5345739126205444, -0.6305058002471924, 0.686995804309845, -0.6589046716690063, -0.17687655985355377, -0.20317687094211578, -0.06916558742523193, -0.6191133260726929, 0.24454626441001892, -0.22284266352653503, 0.11140090972185135, 0.9156039357185364, 0.43656301498413086, -0.07889010012149811, -0.3311971127986908, 0.4186922013759613, 0.37509819865226746, 0.33539852499961853, 0.919649064540863, 0.3020566701889038, -0.30365926027297974, 0.212558776140213, -0.3221476674079895, -0.03251876309514046, -0.6247349381446838, -0.5569674968719482, -0.8775434494018555, -0.6265227794647217, -0.2691155970096588, -0.3209133446216583, 0.1706114113330841, 0.8508973717689514, 0.5401838421821594, -0.952122688293457, 0.11565668880939484, 0.126125305891037, -0.2400546669960022, -0.2956632375717163, -0.16375358402729034, 0.6495379209518433, 0.18405693769454956, -0.474571168422699, 0.1209835410118103, 0.2390776127576828, 0.2244136929512024, -0.40203672647476196, 0.08030765503644943, -0.3463461697101593, -0.46929341554641724, 0.7795538306236267, 0.004721777979284525, -0.8435912728309631, -0.2080869972705841, 0.290580153465271, -0.43278735876083374, 0.14937084913253784, 0.8225376605987549, -0.6401597261428833, 0.4892985224723816, 0.1570759117603302, 0.631629467010498, 0.3612731695175171, -0.08059154450893402, 0.535516619682312, -0.3136715292930603, 0.022384556010365486, 0.5357043743133545, 0.297414094209671, 0.4721551835536957, -0.579214870929718, 0.1693667620420456, 0.2864097058773041, -0.5079505443572998, -0.48154720664024353, -0.06792274117469788, -1.1429482698440552, -0.31448158621788025, 1.0610332489013672, -0.16695059835910797, -0.36352595686912537, -0.6219336986541748, -0.06501450389623642, 0.4438769519329071, -0.4823139011859894, 1.0412111282348633, 0.35942965745925903, -0.27610382437705994, -0.23378455638885498, -1.023056149482727, 0.33269596099853516, 0.40788939595222473, -0.9921984076499939, 0.14094845950603485, 0.6411490440368652, 0.2950798273086548, 0.07071569561958313, 0.6510090231895447, -0.1517234891653061, 0.32448646426200867, -0.26215115189552307, 0.21163783967494965, 0.07089678943157196, -0.36403873562812805, -0.19407065212726593, 0.042606670409440994, -0.2559052109718323, 0.206827774643898 ]
http://arxiv.org/abs/2403.01309v1
http://arxiv.org/pdf/2403.01309v1
VNLP: Turkish NLP Package
2024-03-02T20:46:56
2024-03-02T20:46:56
Meliksah Turker, Mehmet Erdi Ari, Aydin Han
cs.CL
cs.CL, cs.AI, cs.LG
In this work, we present VNLP: the first dedicated, complete, open-source, well-documented, lightweight, production-ready, state-of-the-art Natural Language Processing (NLP) package for the Turkish language. It contains a wide variety of tools, ranging from the simplest tasks, such as sentence splitting and text normalization, to the more advanced ones, such as text and token classification models. Its token classification models are based on "Context Model", a novel architecture that is both an encoder and an auto-regressive model. NLP tasks solved by VNLP models include but are not limited to Sentiment Analysis, Named Entity Recognition, Morphological Analysis \& Disambiguation and Part-of-Speech Tagging. Moreover, it comes with pre-trained word embeddings and corresponding SentencePiece Unigram tokenizers. VNLP has an open-source GitHub repository, ReadtheDocs documentation, PyPi package for convenient installation, Python and command-line API and a demo page to test all the functionality. Consequently, our main contribution is a complete, compact, easy-to-install and easy-to-use NLP package for Turkish.
[ -0.5115420818328857, -0.5949487090110779, -0.008258071728050709, 0.43838071823120117, -0.6152769923210144, -0.3803092837333679, -0.4681394696235657, -0.6575173139572144, 0.34631478786468506, 0.6298190355300903, -0.3080916702747345, -0.6590510606765747, -0.4911841154098511, 0.19755719602108002, -0.21143992245197296, 1.1598546504974365, 0.22642764449119568, 0.12738196551799774, 0.21396076679229736, -0.17017970979213715, -0.41114234924316406, -0.47171488404273987, -0.6498804688453674, -0.12913574278354645, 0.5606545805931091, 0.18530502915382385, 0.43005964159965515, 0.43758031725883484, 0.4227936863899231, 0.20719648897647858, -0.45428088307380676, -0.13787996768951416, 0.1863190084695816, 0.2625463306903839, -0.24289488792419434, -0.17874692380428314, -0.4143472909927368, -0.3997170329093933, 0.6042008399963379, 0.47858211398124695, -0.2181369662284851, 0.6433544158935547, 0.09701337665319443, 0.7608972787857056, -0.6953009366989136, 0.069008968770504, -0.5916306972503662, 0.2688126564025879, -0.421294629573822, -0.24981209635734558, -0.2691875100135803, 0.015535683371126652, 0.029829464852809906, -0.3335975706577301, -0.06605270504951477, -0.09124339371919632, 0.6686680316925049, 0.3278166949748993, -0.39168816804885864, -0.4465171992778778, -0.5138831734657288, 0.6844371557235718, -1.109692931175232, 0.24537725746631622, 0.09770404547452927, 0.5027155876159668, -0.28560709953308105, -1.0510730743408203, -0.6723644733428955, -0.14773499965667725, -0.08936966955661774, -0.13946427404880524, 0.0062883649952709675, 0.2281097024679184, 0.02893085964024067, 0.7545466423034668, -0.6528457999229431, 0.06991497427225113, -0.3332342505455017, -0.020244602113962173, 0.325214684009552, -0.01841617375612259, 0.3107275068759918, -0.2465984970331192, -0.39279791712760925, 0.22021840512752533, -0.36559560894966125, 0.2705915868282318, 0.15093408524990082, 0.576397180557251, 0.12505586445331573, 1.0610207319259644, -0.7643924355506897, 1.1609034538269043, -0.3953312337398529, -0.0014941024128347635, 0.041690949350595474, -0.3386665880680084, -0.7125838398933411, 0.5062875747680664, 0.7565891146659851, 0.07212202250957489, -0.1198010966181755, 0.10792666673660278, -0.014641632325947285, 0.00027752097230404615, 0.12422438710927963, -0.4587063193321228, 0.05653201416134834, 0.5222670435905457, -0.5269386768341064, -0.5393299460411072, -0.1644422709941864, -0.6925649046897888, -0.20788007974624634, -0.3383805751800537, 0.29673051834106445, -0.14351649582386017, -0.514814019203186, 0.5661407709121704, 0.11478547006845474, 0.501166820526123, 0.30285894870758057, -0.9735105037689209, 0.5390294194221497, 1.0576348304748535, 0.9925228357315063, -0.21793514490127563, -0.09475439041852951, -0.7465916275978088, -0.16085298359394073, 0.037545714527368546, 0.7051880359649658, -0.21980024874210358, 0.02657964453101158, 0.35277360677719116, 0.038154538720846176, 0.2145557552576065, -0.3427654206752777, 1.2269015312194824, -0.2758122384548187, 0.4998385012149811, -0.2391824573278427, -0.6261811256408691, -0.1739407479763031, 0.38022592663764954, -0.7529059052467346, 1.0055900812149048, 0.00868403259664774, -1.4952929019927979, 0.5226573348045349, -0.756767749786377, -0.12061437219381332, 0.479194700717926, -0.09631434082984924, -0.09609636664390564, 0.3002711832523346, 0.22575761377811432, 0.41953322291374207, -0.02528567425906658, 0.05591157451272011, 0.00580031331628561, -0.2105126976966858, -0.21023103594779968, -0.11199469119310379, 1.2123552560806274, 0.36564695835113525, -0.31778424978256226, 0.4205819070339203, -0.7802648544311523, 0.10999519377946854, -0.0675731748342514, -0.9339141249656677, -0.27901360392570496, -0.09080744534730911, 0.7685778141021729, 0.484475702047348, 0.5045502781867981, -0.589989423751831, 0.5470767021179199, -0.6881661415100098, 0.06337519735097885, 0.6294989585876465, -0.46345335245132446, 0.28783518075942993, 0.13375070691108704, 0.4052536189556122, -0.06901099532842636, 0.05084148794412613, -0.1852106899023056, -0.7735278606414795, -0.8718393445014954, -0.2968652546405792, 0.37815630435943604, 0.736495852470398, -0.5294434428215027, 0.5822174549102783, -0.156532883644104, -0.2656010687351227, -0.5719829201698303, 0.03590009734034538, 0.09708289057016373, 0.550699770450592, 0.42353034019470215, -0.0353248305618763, -0.8244609236717224, -0.780684232711792, -0.3731954097747803, -0.252925843000412, -0.07874485850334167, -0.15983285009860992, 0.36553701758384705, -0.07946087419986725, 0.8323591351509094, -0.17722496390342712, -0.6687347888946533, -0.6448989510536194, -0.15732528269290924, 0.5137439966201782, 0.4979345202445984, 0.27661949396133423, -0.6686077117919922, -0.48202791810035706, 0.2750602960586548, -0.5718731880187988, -0.1663682609796524, 0.25674334168434143, 0.14855439960956573, 0.7356064915657043, 0.38911518454551697, -0.9155318140983582, 0.3940812647342682, 0.5612749457359314, -0.6750378608703613, 0.897509753704071, -0.0828445628285408, -0.3084894120693207, -1.3180787563323975, 0.32008105516433716, -0.14389388263225555, -0.47361794114112854, -0.6072034239768982, 0.4165702760219574, -0.5572766661643982, 0.0534321628510952, -0.8037163615226746, 0.7108426094055176, -0.049157992005348206, -0.10481391102075577, -0.3792460262775421, -0.37041449546813965, -0.2796597480773926, 0.2856380343437195, 0.45222488045692444, 0.5098586082458496, 0.467532753944397, -0.585168182849884, 0.47578391432762146, 0.05960763618350029, -0.4489230811595917, 0.3441345989704132, -0.6296065449714661, -0.05221680924296379, 0.06321702897548676, -0.04957066476345062, -0.6780408620834351, -0.0464358776807785, 0.6446810364723206, -0.4742128849029541, 0.29645836353302, -0.24058875441551208, -0.44780126214027405, -0.1355314701795578, -0.3440517485141754, -0.009152458049356937, 0.381041944026947, -0.41451382637023926, 0.38416287302970886, 0.2410563975572586, -0.2994292080402374, -1.0854101181030273, -0.6518340706825256, 0.2717176079750061, -0.25414058566093445, -0.5001206994056702, 0.3538592457771301, 0.1148688793182373, -0.31874731183052063, 0.2791522741317749, 0.006332315970212221, -0.31651249527931213, -0.0036109620705246925, -0.0005449462914839387, -0.14355872571468353, -0.6320011019706726, 0.09220992773771286, -0.004883987363427877, -0.3889754116535187, -0.3313809335231781, -0.5837981104850769, 0.7892854809761047, -0.6197506189346313, -0.04927944019436836, -0.5255903601646423, 0.4815959334373474, 0.25710752606391907, -0.2090771347284317, 0.8562085628509521, 1.0702615976333618, -0.4696008861064911, -0.1277579367160797, -0.34689876437187195, 0.20630210638046265, -0.4185998737812042, 0.3633841872215271, -0.2571505904197693, -0.9839465022087097, 0.09793177992105484, -0.09023916721343994, 0.5756333470344543, 0.5465072393417358, 0.5501016974449158, -0.05985436215996742, 0.7085972428321838, 1.0356231927871704, -0.32483750581741333, 0.19054165482521057, 0.1801355481147766, 0.14501149952411652, -0.6190885901451111, -0.047069303691387177, -0.7263088226318359, -0.05271380394697189, -0.594490647315979, -0.1617293804883957, -0.1876409500837326, 0.3163997232913971, 0.090789794921875, 0.3616938889026642, -0.870146632194519, 0.4232454299926758, 0.6298691630363464, -0.5435696840286255, 0.357730507850647, 0.2252732515335083, 0.013596930541098118, -0.08344756811857224, -0.5433312058448792, -0.8349853754043579, 0.8940080404281616, 0.4564420282840729, 0.18638214468955994, 0.1087956503033638, 0.8586345911026001, 0.4404236376285553, -0.15510642528533936, -1.026721477508545, 0.700984537601471, -0.21340100467205048, -0.38124799728393555, -0.38471654057502747, -0.013616472482681274, -1.0588505268096924, 0.29893189668655396, -0.376941978931427, -1.1499537229537964, -0.24868986010551453, 0.005940408445894718, -0.23175212740898132, 0.3844517767429352, -0.3101862668991089, 1.1109035015106201, 0.18626388907432556, 0.050536490976810455, -0.1247442290186882, -0.5448063015937805, 0.5961112380027771, 0.37340888381004333, -0.05936210975050926, -0.02594045177102089, -0.05642472580075264, 0.7500028610229492, -0.5916374325752258, 0.28760576248168945, -0.246741384267807, 0.2065063714981079, 0.20200811326503754, -0.01454146672040224, 0.08567341417074203, 0.27784907817840576, 0.11594048142433167, 0.2806832194328308, 0.4311676025390625, -0.42307358980178833, -0.32368573546409607, 0.6842186450958252, -0.5119388699531555, -0.40785348415374756, -0.7760908007621765, -0.1620795875787735, 0.32820597290992737, 0.3016500473022461, 0.15044260025024414, 0.21441054344177246, -0.2550452649593353, 0.2745547592639923, 0.5523195862770081, -0.546991229057312, 0.7700268626213074, 0.31965237855911255, -0.9032911062240601, -0.3799351453781128, 0.6551233530044556, -0.18211178481578827, -0.16775819659233093, 0.44062137603759766, 0.31571072340011597, -0.38198646903038025, -0.6728142499923706, -0.4506962299346924, 0.07185476273298264, -0.8195116519927979, 0.10194911062717438, -0.797446072101593, -0.36588525772094727, -0.3714020550251007, -0.07239363342523575, -0.5243737101554871, -0.7753582000732422, -0.07250943034887314, -0.06491482257843018, -0.022073596715927124, 0.658890962600708, -0.10428866744041443, 0.33084774017333984, -0.5467150211334229, 0.4018923342227936, 0.4592134952545166, 0.018512282520532608, -0.45731160044670105, -0.16308525204658508, -0.3629402816295624, -0.37657448649406433, -0.04200742393732071, -0.7504602074623108, 0.5867965817451477, 0.21735034883022308, 0.40933895111083984, 0.34840700030326843, 0.02683003805577755, 0.022616071626544, -0.3496483266353607, 1.1675217151641846, 0.02845657989382744, -0.8383985757827759, 0.5560941696166992, -0.2820894122123718, 0.6225224733352661, 0.5885276794433594, 0.03334921970963478, -0.793154239654541, -0.0720931813120842, -0.3809551000595093, -1.0638900995254517, 0.7013785243034363, 0.3081616461277008, -0.08554156124591827, 0.18233722448349, 0.19551551342010498, 0.06664969027042389, 0.43030616641044617, -1.0332292318344116, -0.3106265962123871, -0.3494090139865875, -0.2742961645126343, 0.005063813645392656, -0.5921559929847717, 0.02137644961476326, -0.29709166288375854, 0.7030872106552124, 0.026591943576931953, 0.3481288254261017, 0.32557687163352966, -0.23900456726551056, 0.17613530158996582, 0.5053014159202576, 0.9922946691513062, 0.5151936411857605, -0.5627040863037109, 0.27117401361465454, 0.0572037436068058, -0.6978002190589905, -0.08767592906951904, 0.08130919188261032, -0.05458791181445122, 0.5635964870452881, 0.48043766617774963, 0.651206374168396, -0.3620702028274536, -0.5831925868988037, 0.6538640856742859, -0.40675681829452515, 0.17284515500068665, -0.6970745325088501, -0.11498530954122543, 0.15840160846710205, 0.15275880694389343, 0.5288265943527222, -0.1185019239783287, 0.39302414655685425, -0.34332671761512756, 0.3768393397331238, 0.16876454651355743, -0.6120628118515015, -0.2424086183309555, 0.5347979664802551, -0.029844526201486588, -0.7012115120887756, 0.4294266402721405, -0.29830607771873474, -0.36194103956222534, 0.33262237906455994, 0.42018964886665344, 1.0971530675888062, -0.10992554575204849, 0.567166268825531, 0.4352435767650604, 0.476528525352478, 0.07914114743471146, 0.4991303086280823, -0.2633153796195984, -0.5880321860313416, -0.7593826651573181, -1.0002920627593994, -0.14577370882034302, 0.5479854941368103, -0.5829817652702332, 0.5966722965240479, -0.6614949703216553, -0.04882887750864029, -0.0017472758190706372, 0.1289728283882141, -0.6358015537261963, 0.2183692902326584, 0.41619154810905457, 1.1853221654891968, -0.7197785973548889, 1.1169970035552979, 0.8879938125610352, -0.21558696031570435, -0.42413994669914246, -0.13963936269283295, -0.06055080518126488, -0.33553117513656616, 0.8664224743843079, 0.5369262099266052, 0.14427299797534943, 0.05485491082072258, -0.4756345748901367, -0.47217249870300293, 0.6217989325523376, 0.15182554721832275, -0.38212162256240845, 0.08185636252164841, 0.43506765365600586, 0.5542150139808655, -0.2135765254497528, 0.1589958667755127, 0.481383740901947, 0.3181677460670471, -0.2127007097005844, -1.127629280090332, 0.044038236141204834, -0.3826073408126831, -0.1477237045764923, -0.015340707264840603, -0.08672609180212021, 0.775875449180603, 0.29189643263816833, -0.11687151342630386, -0.0739651620388031, 0.8899370431900024, 0.2769739031791687, 0.28785523772239685, 0.5203864574432373, 0.7654588222503662, 0.33969324827194214, 0.058466847985982895, 0.7953728437423706, -0.2624220848083496, 0.14838404953479767, 1.2477530241012573, 0.29177331924438477, 1.053823709487915, 0.7530102729797363, -0.15181748569011688, 0.3052197992801666, 0.5811405181884766, 0.46572375297546387, 0.5306334495544434, 0.15473581850528717, -0.5840305685997009, -0.04759645089507103, -0.38452813029289246, -0.575573205947876, 0.5211167335510254, 0.22954443097114563, -0.09637286514043808, -0.43956801295280457, -0.27647072076797485, 0.15011022984981537, -0.2704103887081146, -0.2899269759654999, 0.6519694328308105, 0.2377091348171234, -0.2580116391181946, 0.3542711138725281, 0.2785925567150116, 0.9193193912506104, -0.7754127383232117, -0.100833959877491, 0.10906359553337097, 0.011907483451068401, -0.3568377196788788, -0.7944286465644836, 0.7055239677429199, -0.15304267406463623, 0.14304907619953156, 0.0020922364201396704, 1.0417311191558838, -0.29012975096702576, -0.4419044256210327, 0.05902225524187088, 0.3287937343120575, 0.18347373604774475, -0.2333613932132721, -0.904849648475647, -0.05315970256924629, -0.06694979220628738, -0.7265638113021851, 0.2958700358867645, 0.1882469654083252, 0.16088034212589264, 0.4748661518096924, 0.7478440403938293, 0.40427273511886597, 0.34186291694641113, -0.07628072798252106, 0.6765767931938171, -0.7478537559509277, -0.5832223296165466, -0.9282970428466797, 0.9588772058486938, -0.22571156919002533, -0.5241641998291016, 0.5708003044128418, 0.5266616940498352, 0.8140476942062378, -0.27573341131210327, 0.6536514759063721, -0.18838554620742798, 0.350460410118103, -0.5196248888969421, 0.6697911024093628, -0.49025774002075195, 0.08407357335090637, -0.3960188031196594, -1.1164089441299438, -0.5743077397346497, 0.620195209980011, 0.20341382920742035, -0.6207472085952759, 0.6481589078903198, 0.2815288305282593, 0.008020066656172276, -0.27989959716796875, 0.39043989777565, -0.10721336305141449, 0.3461102843284607, 0.2846981883049011, 0.640390157699585, -0.28205549716949463, 0.2039586752653122, -0.2273605316877365, 0.03127902373671532, -0.19953136146068573, -0.933802604675293, -0.9828295707702637, -0.6853559017181396, -0.25878703594207764, -0.22527199983596802, -0.16571985185146332, 1.317893624305725, 0.4396042823791504, -0.917324960231781, -0.23154519498348236, -0.38165196776390076, 0.20128817856311798, -0.3115288019180298, -0.2654232382774353, 0.4423050880432129, -0.5814245343208313, -0.6071536540985107, 0.30536848306655884, 0.5171632766723633, -0.09886660426855087, -0.4459957778453827, 0.01940010115504265, -0.38713690638542175, -0.05708220601081848, 0.5899114012718201, 0.5064176321029663, -0.8560081124305725, 0.06351618468761444, -0.2401507943868637, -0.030241983011364937, 0.10432781279087067, 0.5758492946624756, -0.770672619342804, 0.6552789807319641, 0.911101222038269, 0.6025474071502686, 0.33958086371421814, -0.44253501296043396, 0.5460801124572754, -0.5607203841209412, 0.6827380657196045, 0.3083690106868744, 0.46104827523231506, 0.30620989203453064, -0.2864437997341156, 0.4721307158470154, 0.09881235659122467, -0.4441583752632141, -1.138587236404419, 0.3631064295768738, -1.2254118919372559, -0.2475367784500122, 0.9656864404678345, -0.18986788392066956, -0.35777223110198975, -0.4060506522655487, -0.687926709651947, 0.3630092442035675, -0.08287674188613892, 0.8095480799674988, 0.7024158239364624, 0.29270103573799133, -0.3884343206882477, -0.831024706363678, 0.940321147441864, 0.2988651394844055, -0.6690212488174438, -0.23497751355171204, 0.11220008879899979, 0.09377586841583252, 0.09353967756032944, 0.8557294607162476, 0.11371535062789917, 0.011166484095156193, -0.04686315730214119, 0.35593336820602417, -0.24567918479442596, -0.2245471328496933, -0.610905110836029, 0.36279869079589844, 0.19501455128192902, -0.37608885765075684 ]
http://arxiv.org/abs/2403.01308v2
http://arxiv.org/pdf/2403.01308v2
VBART: The Turkish LLM
2024-03-02T20:40:11
2024-03-14T16:37:37
Meliksah Turker, Mehmet Erdi Ari, Aydin Han
cs.CL
cs.CL, cs.AI, cs.LG
We present VBART, the first Turkish sequence-to-sequence Large Language Models (LLMs) pre-trained on a large corpus from scratch. VBART are compact LLMs based on good ideas leveraged from BART and mBART models and come in two sizes, Large and XLarge. Fine-tuned VBART models surpass the prior state-of-the-art results in abstractive text summarization, title generation, text paraphrasing, question answering and question generation tasks. They allow fine-tuning for future text generation tasks and datasets, carving a new path for Turkish Natural Language Processing (NLP) research. Our work shows that having a pre-trained LLM for Turkish outperforms up to 3x multilingual models, improving existing results and providing efficient models for training and inference. Moreover, we show that our monolingual tokenizer is up to 11x more efficient than multilingual tokenizers. Last but not least, we introduce a method to enlarge an existing pre-trained LLM and question the relevancy of Chinchilla Scaling Law to sequence-to-sequence masked language models. Our fine-tuned models, tokenizer and cleaned vngrs-web-corpus of 135 GB are publicly available at huggingface.co/vngrs-ai.
[ -0.5895131230354309, -0.6083734035491943, 0.23012958467006683, 0.25521811842918396, -0.8084036707878113, 0.11772306263446808, -0.31406712532043457, -0.4139693081378937, 0.3546673357486725, 0.8679487109184265, -0.4526498317718506, -0.3858304023742676, -0.6564859747886658, 0.21460673213005066, -0.4219408929347992, 1.2873250246047974, 0.06366300582885742, 0.18132954835891724, 0.1822085827589035, -0.14518016576766968, -0.4035170078277588, -0.6633034944534302, -0.5949084162712097, -0.038420114666223526, 0.6112733483314514, 0.020800573751330376, 0.3159462809562683, 0.7303246855735779, 0.37236788868904114, 0.24679507315158844, -0.22641494870185852, 0.10766278952360153, -0.2637923061847687, 0.07551394402980804, -0.15010040998458862, -0.24976517260074615, -0.4973228871822357, -0.4070361256599426, 0.5284830331802368, 0.6403836011886597, -0.04390277713537216, 0.5833590030670166, 0.040900953114032745, 0.7733296155929565, -0.33146587014198303, 0.10645169019699097, -0.6691334247589111, -0.10126778483390808, -0.4433128237724304, -0.12248627096414566, -0.30697494745254517, -0.3085058033466339, -0.00977151095867157, -0.2441159188747406, 0.14655309915542603, 0.21103835105895996, 0.6000723838806152, 0.3062251806259155, -0.711722731590271, -0.22478047013282776, -0.6283185482025146, 0.5556061267852783, -0.8603895902633667, 0.394843727350235, 0.2597461938858032, 0.3018999397754669, -0.31953415274620056, -1.1646085977554321, -0.5202059745788574, -0.34970083832740784, 0.1471288651227951, -0.037382639944553375, -0.007273707538843155, 0.08786360174417496, 0.06496718525886536, 0.5429636240005493, -0.7902740240097046, 0.031794462352991104, -0.5649599432945251, 0.1039724051952362, 0.36218681931495667, 0.21340897679328918, -0.07866127043962479, 0.026393910869956017, -0.2118828147649765, 0.17385487258434296, -0.8709725141525269, 0.029028508812189102, 0.21344241499900818, 0.535091757774353, 0.24983488023281097, 0.9049872756004333, -0.27900055050849915, 0.9454765319824219, 0.1967872679233551, -0.03988206014037132, -0.058549653738737106, -0.4314110577106476, -0.3823312819004059, 0.32037875056266785, 0.7300447821617126, -0.13429072499275208, 0.233024463057518, 0.06878360360860825, 0.038911912590265274, -0.264399915933609, 0.40084096789360046, -1.0203121900558472, 0.06004222109913826, 0.12790261209011078, -0.3314167261123657, -0.36089298129081726, -0.04792269319295883, -0.30691367387771606, -0.3817872405052185, -0.37536707520484924, 0.4424561858177185, -0.30134376883506775, -0.20268350839614868, 0.5127426981925964, 0.3289867341518402, 0.43358922004699707, 0.42986634373664856, -0.9316714406013489, 0.36930596828460693, 0.8866095542907715, 0.6532843708992004, 0.12421923875808716, -0.11452659219503403, -0.517250657081604, -0.13888299465179443, -0.5480408668518066, 0.6280140280723572, -0.05125374346971512, -0.05843602865934372, 0.24812465906143188, 0.16181601583957672, 0.30602380633354187, -0.40209540724754333, 0.6785339713096619, -0.6310093402862549, 0.11845968663692474, -0.29314589500427246, -0.660333514213562, -0.2331019639968872, 0.3413628041744232, -0.724528431892395, 0.9126927256584167, -0.010933666490018368, -1.017884612083435, 0.5179546475410461, -0.26990604400634766, -0.6415601372718811, 0.22576506435871124, -0.0035142782144248486, -0.4319989085197449, 0.3783229887485504, 0.30951303243637085, 0.6252419948577881, -0.45789146423339844, 0.12810993194580078, -0.09526408463716507, -0.23666638135910034, -0.06151248514652252, -0.2526737153530121, 0.8095110654830933, 0.21626581251621246, -0.16885870695114136, 0.16631385684013367, -0.7301293015480042, -0.09954311698675156, 0.0849388912320137, -0.7462763786315918, -0.27128922939300537, -0.0667334571480751, 0.08562944084405899, 0.16152991354465485, 0.42921575903892517, -0.41659435629844666, 0.323078989982605, -0.38587573170661926, 0.39235496520996094, 0.6092323064804077, -0.15572547912597656, -0.02086613141000271, -0.32447075843811035, 0.5537829399108887, -0.22761252522468567, -0.26661577820777893, -0.383295476436615, -0.23970183730125427, -0.9045042991638184, -0.6465951204299927, 0.4217306971549988, 0.5891258716583252, -0.5105991363525391, 0.5232539772987366, -0.4162929952144623, -0.5515377521514893, -0.5053693056106567, 0.1744917333126068, 0.1037447452545166, 0.2694171965122223, 0.19886888563632965, -0.38514795899391174, -0.8349595665931702, -0.6258558034896851, -0.2300780564546585, -0.17004044353961945, -0.04155435413122177, -0.0687544122338295, 0.3458901643753052, -0.06345367431640625, 0.8555920720100403, 0.16209471225738525, -0.27222543954849243, -0.7169344425201416, 0.0480181910097599, 0.5533113479614258, 0.2823925018310547, 0.3800932765007019, -0.595207691192627, -0.6215757131576538, 0.1398135870695114, -0.43528419733047485, -0.13813059031963348, 0.08131535351276398, 0.18899419903755188, 0.33294951915740967, 0.8353211879730225, -0.6755709648132324, 0.23912477493286133, 0.5214418172836304, -0.3256458640098572, 0.8858436346054077, -0.25309473276138306, 0.05042363703250885, -1.6248958110809326, -0.021201306954026222, -0.22851316630840302, -0.6791039109230042, -0.6253646612167358, 0.05393197014927864, 0.03491498529911041, 0.05647794529795647, -0.629334568977356, 0.7747107744216919, -0.47705698013305664, -0.04827796295285225, -0.34670862555503845, -0.21660368144512177, -0.3721987307071686, 0.28198057413101196, 0.11006385087966919, 0.8687227964401245, 0.30790913105010986, -0.6627155542373657, 0.4048387408256531, 0.24682751297950745, -0.7290191054344177, 0.3469781279563904, -0.6117294430732727, -0.05217919498682022, -0.10425067692995071, 0.30517148971557617, -0.864160418510437, -0.17524810135364532, 0.020220398902893066, -0.450744092464447, 0.4891694486141205, -0.3061586916446686, -0.5456058382987976, -0.5620306730270386, -0.3513016104698181, 0.5342501401901245, 0.5796237587928772, -0.6287241578102112, 0.3970208466053009, 0.09022645652294159, -0.47346875071525574, -0.8645501136779785, -0.5707483887672424, 0.13348005712032318, -0.35039329528808594, -0.4274377226829529, 0.04809749126434326, 0.052238911390304565, -0.07425450533628464, -0.1966615617275238, -0.11845087260007858, -0.04989507421851158, 0.010735545307397842, 0.026966048404574394, 0.03178105503320694, -0.7043138742446899, 0.12752942740917206, 0.06922838091850281, 0.04478399455547333, -0.15477152168750763, -0.7240240573883057, 0.9562478065490723, -0.4174672067165375, -0.24133209884166718, -0.22164148092269897, 0.08913759142160416, 0.37524569034576416, -0.543055534362793, 0.9047185778617859, 0.738575279712677, -0.3081852197647095, 0.20667874813079834, -0.6419603228569031, 0.14808371663093567, -0.4575027823448181, 0.7085865139961243, -0.4908081889152527, -1.3036352396011353, 0.3198893368244171, -0.3009311556816101, 0.3939037024974823, 0.404686838388443, 1.0062273740768433, 0.004404209554195404, 0.7804694175720215, 0.8382576107978821, -0.21605244278907776, 0.5251367688179016, 0.14403411746025085, 0.31544122099876404, -0.6229910850524902, 0.2169329971075058, -0.46652162075042725, 0.23274289071559906, -0.712737500667572, -0.4331601560115814, 0.02279721386730671, 0.28728780150413513, -0.34592750668525696, 0.48465579748153687, -0.04203367605805397, 0.5177393555641174, 0.5526843070983887, -0.19033361971378326, 0.22825385630130768, 0.05428009480237961, 0.031060118228197098, 0.07379259169101715, -0.4886159300804138, -0.740399956703186, 1.3964909315109253, 0.15315189957618713, 0.5219554305076599, 0.15217426419258118, 0.8921536803245544, 0.3292674720287323, 0.2470920830965042, -0.756295919418335, 0.46464282274246216, -0.2815834879875183, -0.7700079679489136, -0.39643594622612, -0.14347107708454132, -1.13858163356781, 0.40885940194129944, -0.2175533026456833, -0.7158969044685364, -0.4871935546398163, 0.1687033623456955, -0.41083309054374695, 0.32430389523506165, -0.16925790905952454, 0.837528645992279, -0.11493933945894241, -0.3299248516559601, -0.13937148451805115, -0.6483548879623413, 0.7045170664787292, -0.3875294327735901, 0.1687687188386917, -0.03494083881378174, 0.01059898640960455, 0.6913788318634033, -0.6940188407897949, 0.4890916645526886, 0.19790922105312347, 0.061099711805582047, 0.25417596101760864, 0.15594890713691711, 0.38259947299957275, 0.08392324298620224, 0.10472862422466278, 0.1155242919921875, 0.19116483628749847, -0.6444283723831177, -0.17936263978481293, 0.29408755898475647, -0.5352704524993896, -0.7447733879089355, -0.47340595722198486, -0.14711754024028778, -0.07963240891695023, 0.4298519194126129, 0.2590794563293457, 0.4058566987514496, -0.490989089012146, 0.3672808110713959, 0.72845458984375, -0.46976402401924133, 0.26269155740737915, 0.4663997292518616, -0.5964184999465942, -0.416214257478714, 0.6636816263198853, -0.1201188936829567, 0.1426747590303421, 0.4678305387496948, 0.08767634630203247, -0.1904049813747406, -0.66440749168396, -0.6127366423606873, 0.3662962019443512, -0.42562445998191833, -0.14556743204593658, -0.759757399559021, -0.37859687209129333, -0.6531564593315125, -0.17493005096912384, -0.6936102509498596, -0.49566489458084106, -0.030675465241074562, -0.2882251739501953, 0.2566298842430115, 0.8245618343353271, -0.34996476769447327, 0.5626465678215027, -0.6870454549789429, 0.22930759191513062, 0.3598136305809021, -0.09337585419416428, -0.3772546052932739, -0.7202284336090088, -0.4579504132270813, -0.24058938026428223, -0.08300188183784485, -0.4976964592933655, 0.7411661148071289, 0.09492059051990509, 0.26030245423316956, 0.37263059616088867, -0.03640715777873993, 0.42522570490837097, -0.7763636112213135, 0.8239692449569702, 0.10043565928936005, -0.7609494924545288, 0.12420758605003357, -0.38297244906425476, 0.3425832986831665, 0.542169451713562, 0.3003951609134674, -0.7123550176620483, -0.39084139466285706, -0.25550222396850586, -1.0432931184768677, 0.5330426096916199, -0.004361087456345558, 0.3140416145324707, -0.0043946229852736, 0.3397991955280304, 0.4262792766094208, 0.45574966073036194, -0.8069902658462524, -0.20975716412067413, -0.21367080509662628, -0.39752697944641113, -0.44572848081588745, -0.6411585807800293, 0.2893427014350891, -0.27999696135520935, 0.7334390878677368, 0.013371884822845459, 0.2014014571905136, -0.034745730459690094, -0.3485921025276184, 0.1527302861213684, 0.33921921253204346, 0.9285836219787598, 0.5357176661491394, -0.4245375692844391, 0.20006747543811798, 0.3368358016014099, -0.6433164477348328, 0.2501026690006256, 0.19867663085460663, 0.22548720240592957, -0.025040147826075554, 0.5491651296615601, 0.8130877614021301, -0.18377724289894104, -0.6992809176445007, 0.5892528295516968, -0.41026097536087036, -0.29172876477241516, -0.5977346897125244, -0.4562438726425171, 0.14640340209007263, 0.41815346479415894, 0.30838292837142944, -0.3772977888584137, -0.011890891939401627, -0.3660467565059662, 0.38507968187332153, 0.23455779254436493, -0.30345138907432556, -0.2434026598930359, 0.7379735708236694, -0.05735211819410324, -0.3046129643917084, 0.4073193073272705, -0.08965850621461868, -0.6852586269378662, 0.40454328060150146, 0.505096971988678, 0.7439075708389282, -0.22848166525363922, 0.1718958467245102, 0.5147412419319153, 0.6008099913597107, -0.23102451860904694, 0.07556111365556717, -0.18136413395404816, -0.511620819568634, -0.5948437452316284, -0.9671260714530945, -0.24950921535491943, 0.5170230865478516, -0.5290407538414001, 0.5046219229698181, -0.5964307188987732, -0.01348844449967146, -0.30838266015052795, 0.32246965169906616, -0.7337862253189087, 0.18901249766349792, 0.09720919281244278, 0.9736037850379944, -0.6760730147361755, 1.0959852933883667, 0.6627153754234314, -0.31690242886543274, -0.6112698912620544, -0.18257750570774078, -0.20649215579032898, -0.8464849591255188, 0.5626714825630188, 0.3284919559955597, 0.13538150489330292, 0.18504022061824799, -0.43453386425971985, -0.9437255859375, 0.8328514099121094, 0.30005159974098206, -0.5644870400428772, 0.10368666797876358, 0.28567278385162354, 0.5737444758415222, -0.18003585934638977, 0.15327945351600647, 0.550068199634552, 0.21015220880508423, 0.022083990275859833, -0.9979804754257202, 0.008500155992805958, -0.04725399985909462, -0.09642983973026276, 0.22939351201057434, -0.46646833419799805, 0.9625500440597534, -0.15181292593479156, 0.1358191817998886, 0.41992124915122986, 0.8723155856132507, 0.29075297713279724, -0.17145103216171265, 0.2921604514122009, 0.5818846225738525, 0.5397427082061768, 0.2551896870136261, 1.0094385147094727, -0.25173455476760864, -0.02957097627222538, 1.3017559051513672, -0.11926960200071335, 0.8727511763572693, 0.5316495895385742, -0.05298791453242302, 0.0938776433467865, 0.9609651565551758, 0.35280919075012207, 0.6746898889541626, 0.4798848628997803, -0.4387110471725464, -0.27021512389183044, 0.15569962561130524, -0.44504255056381226, 0.37783148884773254, 0.21470139920711517, -0.15408238768577576, -0.203184574842453, 0.1150876134634018, 0.1449347883462906, -0.24469639360904694, -0.38683977723121643, 0.7448455095291138, 0.1950552612543106, -0.379220187664032, 0.5204904675483704, 0.2484225630760193, 0.6925209164619446, -0.5975173115730286, 0.3533560037612915, -0.47557803988456726, 0.29771557450294495, 0.23844042420387268, -0.29004427790641785, 0.11505437642335892, 0.1501220017671585, 0.16683566570281982, -0.08964814990758896, 0.5609172582626343, -0.3744726777076721, -0.6887463927268982, -0.056089360266923904, 0.5354401469230652, 0.328921914100647, -0.2245257943868637, -0.34015893936157227, -0.18622218072414398, -0.08600624650716782, -0.7156466245651245, 0.3473658263683319, 0.6429858207702637, -0.25797009468078613, 0.5424781441688538, 0.5661755800247192, 0.23150324821472168, 0.5329779386520386, -0.11883813142776489, 0.6343655586242676, -0.7779399156570435, -0.334825336933136, -0.9406937956809998, 0.4419739246368408, 0.23803812265396118, -0.20619353652000427, 0.45333370566368103, 0.686782956123352, 1.0093812942504883, -0.2132156640291214, 0.895141065120697, -0.00012223537487443537, 0.6686884760856628, -0.5070756673812866, 0.7561958432197571, -0.7814171314239502, -0.09347760677337646, -0.0999760702252388, -1.0087569952011108, -0.381712406873703, 0.5177618265151978, -0.004982926417142153, -0.1269911229610443, 0.5453465580940247, 0.5570736527442932, -0.06338469684123993, -0.3612491488456726, 0.5553394556045532, 0.26573383808135986, 0.40471893548965454, 0.4273979067802429, 0.8437017798423767, -0.3867279887199402, 0.42995697259902954, 0.06796909868717194, -0.055999550968408585, -0.413967102766037, -0.8385085463523865, -1.2552354335784912, -0.7433876395225525, 0.030947532504796982, -0.16627855598926544, 0.10521231591701508, 1.2762089967727661, 0.593021035194397, -0.7875269055366516, -0.3979897201061249, -0.1868273913860321, -0.13869698345661163, -0.023231621831655502, -0.08409814536571503, 0.26676318049430847, -0.39459314942359924, -0.4624093472957611, 0.30291125178337097, 0.10722722858190536, 0.18109913170337677, -0.10192384570837021, -0.10600587725639343, -0.032574232667684555, 0.440120667219162, 0.7873096466064453, 0.5122542381286621, -0.7540996074676514, -0.09723743051290512, -0.24013036489486694, -0.24381984770298004, 0.060233090072870255, 0.7428316473960876, -0.7334136366844177, 0.2346656322479248, 0.3894927203655243, 0.9302310347557068, 0.9532896280288696, -0.2871153950691223, 0.7088198065757751, -0.5346036553382874, 0.36963582038879395, 0.06770750135183334, 0.4477514922618866, 0.24585369229316711, 0.17817479372024536, 0.4808952510356903, -0.12853550910949707, -0.3857104778289795, -1.0129574537277222, 0.18682537972927094, -1.0401767492294312, -0.23586267232894897, 0.9080219268798828, -0.1077776849269867, -0.23275689780712128, 0.0022348095662891865, -0.5670773386955261, 0.5608692169189453, -0.00260248058475554, 0.8686410784721375, 0.6740913987159729, 0.3152638077735901, -0.3493793308734894, -0.7153683304786682, 0.572243869304657, 0.41681182384490967, -0.8325621485710144, 0.08956955373287201, 0.21610799431800842, 0.32385149598121643, -0.38072487711906433, 0.8234062194824219, 0.03620578721165657, 0.1295298933982849, -0.11796485632658005, 0.2740899324417114, -0.20834752917289734, -0.23349609971046448, -0.3838902711868286, 0.018410788848996162, 0.4904302954673767, -0.14758281409740448 ]
http://arxiv.org/abs/2403.01304v1
http://arxiv.org/pdf/2403.01304v1
Improving the Validity of Automatically Generated Feedback via Reinforcement Learning
2024-03-02T20:25:50
2024-03-02T20:25:50
Alexander Scarlatos, Digory Smith, Simon Woodhead, Andrew Lan
cs.CL
cs.CL
Automatically generating feedback via large language models (LLMs) in intelligent tutoring systems and online learning platforms has the potential to improve the learning outcomes of many students. However, both feedback generation and evaluation are challenging: feedback content has to be valid especially in subjects like math, which requires models to understand the problem, the solution, and where the student's error lies. Feedback also has to be pedagogically valid to reflect effective tutoring strategies, such as explaining possible misconceptions and encouraging the student, among other desirable features. In this work, we address both problems of automatically generating and evaluating feedback while considering both correctness and alignment. First, we propose a rubric for evaluating math feedback and show that GPT-4 is able to effectively use it to annotate human-written and LLM-generated feedback. Second, we propose a framework for feedback generation that optimizes both correctness and alignment using reinforcement learning (RL). Specifically, we use GPT-4's annotations to create preferences over feedback pairs in an augmented dataset for training via direct preference optimization (DPO). We show that our methods significantly increase the correctness and alignment of generated feedback with Llama 2, an open-source LLM, qualitatively analyze our generation and evaluation systems using case studies, and outline several areas for future work.
[ -0.18782399594783783, -0.7432757616043091, 0.5803852677345276, 0.4478684663772583, -0.08345481008291245, 0.20028258860111237, -0.4941544234752655, -0.15302632749080658, -0.06565514951944351, 0.18197524547576904, -0.5749807357788086, -0.4029605984687805, -0.37099647521972656, 0.3271563649177551, -0.07211744785308838, 1.3976356983184814, -0.428722620010376, 0.3165985643863678, -0.516549825668335, 0.018022501841187477, -0.5830442309379578, -0.44045886397361755, -0.6770215630531311, -0.5181785821914673, 0.41698336601257324, 0.4511426091194153, 0.47474727034568787, 0.6195375323295593, 0.5028871893882751, 0.3450673520565033, 0.41370120644569397, 0.5251004695892334, -0.45925819873809814, 0.2515299916267395, -0.0951187014579773, -0.28798219561576843, -0.42852383852005005, 0.003113451413810253, 0.650140643119812, 0.3205043077468872, -0.3384397625923157, 0.1523990035057068, 0.18963949382305145, 0.6961292028427124, -0.2714352309703827, 0.24200090765953064, -0.3983099162578583, 0.23562221229076385, 0.049148786813020706, -0.26988282799720764, -0.3222660720348358, -0.9552134275436401, 0.12419071048498154, -0.9671512246131897, -0.10014098137617111, -0.05262814462184906, 0.8403874635696411, 0.5466702580451965, -0.0905766561627388, -0.6449337601661682, -0.7504849433898926, 0.7966300249099731, -0.6731986999511719, 0.21311615407466888, 0.3956032693386078, 0.4980630576610565, -0.3730314373970032, -0.4059331715106964, -0.568679690361023, -0.45186418294906616, 0.0915556401014328, 0.221802219748497, 0.13545800745487213, -0.10839385539293289, 0.35824891924858093, 0.2031056433916092, -0.21049392223358154, 0.18945319950580597, -0.08220503479242325, -0.3916338384151459, 0.8647919297218323, 0.15380677580833435, 0.1884060502052307, -0.1423293650150299, -0.17738986015319824, -0.164007768034935, -0.8278874754905701, 0.18425540626049042, 0.9922464489936829, 0.2536543905735016, 0.11829101294279099, 0.6713041663169861, 0.0007586348801851273, 0.6469206809997559, 0.435577392578125, -0.46402689814567566, 0.24159274995326996, -0.2902398407459259, 0.10994426161050797, -0.010714228264987469, 0.8244949579238892, 0.3931136429309845, 0.22492103278636932, -0.1814347207546234, -0.47977414727211, 0.2779017686843872, 0.2927182614803314, -0.5984506607055664, -0.1988992989063263, 0.15199331939220428, -0.048004064708948135, -0.5457385182380676, 0.15273955464363098, -0.678499162197113, -0.2048371136188507, -0.8078343272209167, 0.42245882749557495, -0.36656975746154785, -0.1651262491941452, 0.03628556802868843, 0.28654730319976807, 0.06909237056970596, 0.6643089056015015, -1.0226585865020752, 0.42987895011901855, 0.7389464974403381, 0.48993754386901855, -0.4145315885543823, -0.2699987292289734, -0.7590945959091187, -0.0012053768150508404, -0.3379800021648407, 0.7682325839996338, -0.37890926003456116, -0.25280988216400146, 0.08381299674510956, -0.28299379348754883, 0.14488953351974487, -0.5996374487876892, 0.23970039188861847, -0.5004875063896179, 0.5474159717559814, -0.1664399355649948, -0.8038281202316284, 0.05895187705755234, 0.4424198865890503, -0.5881349444389343, 1.1116081476211548, 0.18625149130821228, -0.45317983627319336, 0.38672763109207153, -0.8225266337394714, -0.2521241009235382, 0.011151688173413277, -0.3838246464729309, -0.802130401134491, -0.11081436276435852, 0.3444100022315979, 0.017285626381635666, 0.04743634909391403, 0.5845216512680054, -0.16281627118587494, -0.2513638734817505, 0.439650297164917, -0.24746616184711456, 0.2597961127758026, 0.07562185823917389, -0.7271351218223572, 0.39151227474212646, -0.7050259709358215, 0.16233496367931366, 0.08791492879390717, -0.6416044235229492, 0.11785221844911575, -0.009311513043940067, -0.27962133288383484, 0.09306994825601578, 0.315573513507843, -0.5165902376174927, 0.370257169008255, -0.3273070156574249, 0.3342006802558899, 1.0696372985839844, 0.03226698935031891, 0.32156866788864136, -0.28252777457237244, 0.6883525252342224, 0.009205708280205727, 0.10538646578788757, 0.02387249656021595, -0.14535966515541077, -0.7503465414047241, 0.08412172645330429, 0.5273095965385437, 0.4824495315551758, -0.9407013058662415, 0.4063681662082672, -0.07309433817863464, -0.20324362814426422, -0.43374142050743103, 0.5534090399742126, 0.5972217321395874, 0.5027554631233215, 0.21643273532390594, -0.2863369286060333, -0.6867074370384216, -0.5756659507751465, -0.06776505708694458, -0.349308580160141, 0.11477109044790268, 0.29436179995536804, 0.3495383560657501, -0.27241504192352295, 1.008040189743042, -0.29815587401390076, -0.031071171164512634, -0.02800009585916996, 0.06069368124008179, -0.11617453396320343, 0.5156722068786621, 0.3417719900608063, -0.34616684913635254, -0.3454216718673706, -0.1643001139163971, -0.5784035921096802, -0.3078634440898895, -0.06048082187771797, -0.36614832282066345, 0.3965810537338257, -0.03021320328116417, -0.24019016325473785, 0.3076869547367096, 0.3801107108592987, -0.08153178542852402, 0.6395687460899353, -0.12271028012037277, 0.09559635818004608, -0.8135152459144592, -0.06957773119211197, 0.11459735780954361, -0.3669280409812927, -0.1162097230553627, -0.28205519914627075, -0.08097700774669647, -0.013328511267900467, -0.10432873666286469, 0.4106554687023163, -0.16970761120319366, -0.18346606194972992, -0.25169065594673157, 0.35711386799812317, -0.0016552726738154888, 0.5985257029533386, 0.036745864897966385, 0.7980495095252991, 0.030094081535935402, -0.3706440329551697, 0.7319564819335938, 0.23933514952659607, -0.27319440245628357, 0.654103696346283, -0.5253510475158691, 0.3006989359855652, 0.21152184903621674, 0.4049660861492157, -0.8217324614524841, -0.3028041124343872, 0.5052467584609985, -0.5114255547523499, 0.26589706540107727, -0.03305131196975708, -0.48876944184303284, -0.3171128034591675, -0.4042906165122986, 0.2968604564666748, 0.36349329352378845, -0.6741870045661926, 0.23812079429626465, 0.27208808064460754, -0.11986280232667923, -0.7328402996063232, -0.07905982434749603, -0.1778496503829956, -0.05436813831329346, -0.3691224157810211, 0.11163517832756042, -0.19227802753448486, -0.24693618714809418, 0.091103196144104, -0.0899932011961937, 0.21945302188396454, 0.1004457101225853, 0.1958186775445938, 0.4136103689670563, -0.002600323176011443, 0.1927313357591629, 0.06035265699028969, -0.2993503510951996, 0.1558409184217453, -0.3716700077056885, 0.372732013463974, -0.27917808294296265, -0.5770323276519775, -0.3486271798610687, -0.04540227726101875, 0.18866172432899475, -0.035433486104011536, 0.052408281713724136, 0.443026065826416, -0.2030572146177292, -0.3792116343975067, -0.5245080590248108, -0.257595032453537, -0.41309213638305664, 0.25434762239456177, -0.14638912677764893, -0.942790687084198, 0.31945571303367615, -0.08845995366573334, 0.4066985845565796, 0.29787519574165344, 0.7586420178413391, -0.03430837765336037, 1.2681831121444702, 0.5110991597175598, 0.13340923190116882, 0.4045044779777527, -0.24023377895355225, 0.11846241354942322, -0.8403671383857727, -0.3721124827861786, -0.23791274428367615, -0.184997096657753, -0.43999457359313965, -0.11169842630624771, 0.17908699810504913, 0.1326383799314499, -0.25335749983787537, 0.12909859418869019, -0.5488977432250977, 0.4992069602012634, 0.5890880227088928, 0.17354951798915863, 0.28284701704978943, 0.14462226629257202, -0.34187257289886475, -0.2916138470172882, -0.512359619140625, -0.7032602429389954, 1.1798726320266724, 0.4072730541229248, 0.7385379076004028, 0.26233887672424316, 0.8660170435905457, 0.14681962132453918, 0.6734077334403992, -0.8391015529632568, 0.3979514241218567, 0.2920379042625427, -0.2177489697933197, -0.32296115159988403, -0.6510400772094727, -0.788166880607605, 0.08041730523109436, -0.23524686694145203, -0.3804771304130554, -0.4802597165107727, 0.41601675748825073, -0.4882199466228485, 0.14311601221561432, -0.4601670205593109, 0.690485417842865, -0.6567716002464294, -0.7111433744430542, -0.06148480251431465, -0.4300994277000427, 0.32178547978401184, -0.04569406434893608, 0.04896339401602745, 0.006808186415582895, 0.019796721637248993, 0.744644820690155, -0.8721043467521667, 0.80290687084198, -0.2346978783607483, -0.5023022294044495, 0.36326196789741516, 0.15475505590438843, 0.3150886595249176, 0.28599298000335693, 0.08945861458778381, -0.2830617129802704, -0.12334830313920975, -0.1643606424331665, -0.9943276643753052, 0.7341079115867615, -1.170939564704895, -0.6088777184486389, -0.43144044280052185, -0.5941240191459656, -0.2870146334171295, -0.14687393605709076, -0.09186992049217224, 0.4862425625324249, 0.12403542548418045, -0.3915461003780365, 0.5002128481864929, -0.16364063322544098, 0.15895234048366547, 0.5011972784996033, -0.5655748844146729, -0.8954696655273438, 1.272782325744629, -0.010651569813489914, -0.04334573447704315, 0.018209144473075867, 0.1997024267911911, -0.5829545259475708, -0.3863248825073242, -0.9416332840919495, 0.3582631051540375, -0.7618430256843567, -0.36381134390830994, -0.005662455223500729, -0.13782554864883423, -0.33401575684547424, -0.02879403717815876, -0.21724019944667816, -0.5761175155639648, -0.19619373977184296, -0.2091326117515564, 0.33319342136383057, 1.129372239112854, -0.2629120349884033, 0.05384155735373497, -0.6026844382286072, -0.1075790673494339, 0.357404887676239, 0.4892022907733917, 0.030034638941287994, -0.41976198554039, -0.18817207217216492, -0.018718166276812553, -0.7652779817581177, -0.6594133377075195, 0.15706610679626465, -0.07669738680124283, 0.40035170316696167, 0.20255786180496216, -0.31025829911231995, 0.6664801836013794, -0.6398303508758545, 0.767367422580719, 0.24077051877975464, -1.0526471138000488, 0.7065062522888184, -0.28931355476379395, 0.025955678895115852, 0.49699145555496216, 0.1555822640657425, -0.3559902310371399, -0.3537617325782776, -0.7050893902778625, -0.683603048324585, 0.6498109698295593, 0.12438898533582687, -0.042908091098070145, 0.03619278594851494, 0.6127607226371765, 0.3498847186565399, 0.4540630280971527, -0.9006803035736084, 0.09314771741628647, -0.4346221685409546, -0.6438257694244385, 0.2231752872467041, -0.09022313356399536, -0.3493267893791199, -0.19827255606651306, 0.934252142906189, -0.2563267946243286, 0.09793383628129959, -0.03130876645445824, -0.12132750451564789, -0.41777896881103516, 0.1047244518995285, 0.8739044666290283, 0.8449082374572754, 0.05416719987988472, -0.12471969425678253, 0.09080386906862259, -0.32851096987724304, 0.4536660313606262, 0.06061205640435219, -0.2831004858016968, -0.0379176028072834, 0.27757328748703003, 0.8287501335144043, 0.22407719492912292, -0.6363893151283264, 0.6072188019752502, -0.15788839757442474, -0.2920878231525421, -0.4356039762496948, 0.12116004526615143, -0.32552051544189453, 0.09220211952924728, 0.06300908327102661, -0.21746227145195007, -0.16730263829231262, -0.07567186653614044, 0.2050749957561493, 0.392316073179245, -0.23939521610736847, -0.40576091408729553, 0.3397778570652008, 0.530148983001709, -0.2959514856338501, 0.5274869799613953, -0.18860316276550293, -0.7900579571723938, 0.481949120759964, 0.7335003614425659, 0.687711238861084, -0.06101106479763985, 0.38396134972572327, 0.6182661652565002, -0.10590095818042755, -0.03625136613845825, 0.09712939709424973, -0.4079701900482178, -0.6043674349784851, -0.7347007989883423, -0.5671315789222717, -0.9427942037582397, -0.05002298578619957, -0.6089009642601013, 0.3296774923801422, -0.5872856378555298, -0.2569274306297302, -0.4013613164424896, 0.3788129389286041, -0.35771307349205017, 0.06462502479553223, 0.08011900633573532, 0.29142439365386963, -0.6547555923461914, 0.5010889172554016, 0.9983130693435669, -0.5823898315429688, -1.2104305028915405, -0.26001089811325073, -0.038998816162347794, -0.8997260928153992, 0.9956270456314087, 0.09856174886226654, -0.14269782602787018, -0.0465715155005455, -0.6138815879821777, -0.8135815262794495, 0.9026691317558289, 0.31949692964553833, -0.6753230690956116, 0.06329629570245743, 0.22718508541584015, 0.6330263018608093, -0.27302107214927673, 0.49501553177833557, 0.26245319843292236, 0.4592387080192566, 0.013723458163440228, -0.9143319725990295, -0.08851773291826248, -0.2778002917766571, 0.1326935887336731, 0.2775941491127014, -0.5816683769226074, 0.47000882029533386, -0.15203498303890228, -0.07116278260946274, 0.13371394574642181, 0.6979127526283264, 0.6088330745697021, 0.1914544552564621, 0.5514334440231323, 1.0401442050933838, 0.786131739616394, -0.3233881890773773, 0.9746363759040833, -0.21774594485759735, 0.4211362898349762, 1.1283742189407349, -0.254650741815567, 0.6143743395805359, 0.5530520677566528, -0.29853469133377075, 0.7910782694816589, 0.8053013682365417, -0.077957384288311, 0.3297322988510132, 0.6818770170211792, -0.10967399179935455, -0.1790400892496109, 0.11008115857839584, -0.21253150701522827, 0.075054831802845, 0.1068708598613739, -0.043309494853019714, -0.2360331118106842, -0.1701827347278595, 0.02162150666117668, 0.36707842350006104, -0.26448124647140503, 1.007607340812683, -0.10810791701078415, -1.0525792837142944, 0.3197915256023407, -0.0729028657078743, 0.5583811402320862, -0.4823620915412903, -0.3891308903694153, -0.2498139590024948, 0.22235190868377686, -0.47939109802246094, -0.6999425292015076, 0.021287228912115097, 0.3222801685333252, -0.10186527669429779, -0.0917753130197525, 0.34293583035469055, -0.6105943322181702, -0.433098703622818, -0.0014171828515827656, 0.3797115683555603, -0.04388607665896416, 0.6481978297233582, -0.7741367220878601, 0.28604719042778015, 0.0895804613828659, -0.17402882874011993, 0.29668086767196655, 0.37315380573272705, -0.0636543557047844, 0.5423504114151001, 0.8855780363082886, 0.2805901765823364, -0.07073964178562164, 0.1933995634317398, 0.7672027349472046, -0.2703184187412262, -0.3120192289352417, -0.8961350321769714, 0.3337950110435486, -0.09774087369441986, -0.3710603713989258, 0.8545682430267334, 0.4402609169483185, 1.0415349006652832, 0.09438983350992203, 0.8823197484016418, 0.13896553218364716, 0.5695158243179321, -0.6360607743263245, 0.15952356159687042, -0.24149388074874878, 0.3803962767124176, -0.3454684615135193, -1.2155673503875732, -0.40032172203063965, 0.8924015760421753, -0.6139715909957886, 0.07117011398077011, 0.5689401030540466, 0.5358197093009949, 0.2308482676744461, 0.015713948756456375, -0.1695641726255417, -0.21779178082942963, 0.6463930010795593, 0.6789345145225525, 1.2886991500854492, -0.40830591320991516, 0.5359829068183899, -0.35922330617904663, -0.14267279207706451, -0.17554067075252533, -0.9862954020500183, -0.7065404653549194, -0.3324929177761078, -0.5321411490440369, -0.7116195559501648, 0.05897257849574089, 1.2477978467941284, 0.37825915217399597, -0.8646894097328186, -0.37617599964141846, -0.24963496625423431, 0.2516653835773468, 0.08328240364789963, -0.2545040249824524, 0.38345664739608765, -0.7416372299194336, -0.7221398949623108, 0.1265724152326584, 0.225364550948143, 0.18234755098819733, -0.5356459617614746, -0.515242338180542, 0.3485647737979889, -0.168175607919693, 0.3876717686653137, 0.3617990016937256, -0.8908025026321411, -0.5631703734397888, -0.08123094588518143, -0.2002738118171692, 0.11685536056756973, 0.8132928609848022, -0.6697317957878113, 0.36331892013549805, 0.2916748523712158, 1.0065425634384155, 0.16643723845481873, 0.27960583567619324, 0.7983726859092712, -0.5819574594497681, -0.1781606376171112, 0.36092665791511536, 0.22446678578853607, 0.660849928855896, -0.2918623387813568, 0.5966472029685974, 0.21608664095401764, -0.8606688380241394, -0.8847833275794983, 0.20774182677268982, -0.6376926302909851, 0.2623017728328705, 1.1379292011260986, -0.2927497923374176, -0.1631966084241867, 0.2909998893737793, -0.4952259361743927, 0.24841730296611786, -0.48357152938842773, 0.9979245066642761, 0.8392118811607361, -0.4068252146244049, 0.13234633207321167, -0.19990357756614685, 0.7057710289955139, 0.6743130087852478, -0.8645662665367126, -0.21927736699581146, 0.7874613404273987, 0.37434121966362, 0.21159885823726654, 0.4143058955669403, -0.16799362003803253, 0.4771583676338196, -0.4530608355998993, 0.09294632077217102, -0.20224633812904358, -0.3205074369907379, -0.40882065892219543, -0.09256111830472946, 0.320529043674469, -0.019408920779824257 ]
http://arxiv.org/abs/2403.01289v2
http://arxiv.org/pdf/2403.01289v2
Greed is All You Need: An Evaluation of Tokenizer Inference Methods
2024-03-02T19:01:40
2024-05-31T08:07:45
Omri Uzan, Craig W. Schmidt, Chris Tanner, Yuval Pinter
cs.CL
cs.CL
While subword tokenizers such as BPE and WordPiece are typically used to build vocabularies for NLP models, the method of decoding text into a sequence of tokens from these vocabularies is often left unspecified, or ill-suited to the method in which they were constructed. We provide a controlled analysis of seven tokenizer inference methods across four different algorithms and three vocabulary sizes, performed on a novel intrinsic evaluation suite we curated for English, combining measures rooted in morphology, cognition, and information theory. We show that for the most commonly used tokenizers, greedy inference performs surprisingly well; and that SaGe, a recently-introduced contextually-informed tokenizer, outperforms all others on morphological alignment.
[ -0.09576759487390518, -0.5857521295547485, 0.3454490303993225, 0.10025493800640106, -0.5546323657035828, -0.24667149782180786, -0.07370542734861374, -0.3234737515449524, 0.6406618356704712, 0.1915503293275833, -0.47701939940452576, -0.14606589078903198, -0.7529522180557251, 0.08209789544343948, -0.38879722356796265, 1.039986252784729, 0.38671809434890747, 0.4352555572986603, -0.09496843069791794, 0.06534884124994278, -0.6171758770942688, -0.4337306022644043, -0.5512416958808899, -0.2344287484884262, 0.5772219300270081, -0.03953259065747261, 0.6135675311088562, 0.8559876680374146, 0.22322697937488556, 0.32961219549179077, -0.20788586139678955, 0.06675564497709274, -0.32911214232444763, -0.247965469956398, -0.489984929561615, -0.5427830815315247, 0.06030866503715515, 0.04748311638832092, 0.16180790960788727, 0.5851251482963562, -0.052538491785526276, 0.4299074709415436, -0.14489780366420746, 0.36907759308815, -1.233275294303894, -0.18833595514297485, -1.0479296445846558, 0.14228393137454987, -0.4365193545818329, -0.2675229012966156, -0.5498847365379333, -0.08063361793756485, 0.24858620762825012, -0.5715662837028503, 0.11962287127971649, 0.05893905088305473, 1.1603022813796997, 0.3845032751560211, -0.21284322440624237, -0.6957488059997559, -0.24463491141796112, 1.1684849262237549, -0.5795485973358154, 0.31269943714141846, 0.3479492962360382, 0.04575353115797043, -0.0009429064812138677, -1.2319663763046265, -0.45409542322158813, 0.005096748936921358, -0.3042459785938263, 0.4303530156612396, -0.19509762525558472, 0.4198470115661621, -0.043267007917165756, 0.43227243423461914, -0.20185768604278564, 0.15781402587890625, -0.4544287621974945, -0.5345183610916138, 0.26553887128829956, -0.12148396670818329, 0.3762420117855072, -0.6720077991485596, -0.66324782371521, -0.0472554974257946, -0.38824427127838135, -0.12025724351406097, 0.3179638385772705, 0.25601276755332947, 0.43768852949142456, 0.9157781600952148, 0.5341624617576599, 0.8948047757148743, -0.14865584671497345, -0.08688409626483917, -0.30788373947143555, -0.5238147377967834, -0.40091168880462646, 0.15956853330135345, 0.552402138710022, 0.482704222202301, 0.1324286013841629, -0.4551093876361847, -0.20365001261234283, 0.3688511252403259, 0.5142572522163391, -0.5098711252212524, 0.0903637632727623, 0.6085087060928345, -0.6462071537971497, -0.18459463119506836, 0.08915792405605316, -0.9052437543869019, -0.41542378067970276, -0.19442619383335114, 0.5139226913452148, -0.4547663927078247, 0.0954228863120079, 0.31510844826698303, -1.0611153841018677, 0.7245961427688599, -0.09329457581043243, -1.105348825454712, 0.19245168566703796, 1.0644609928131104, 1.093521237373352, -0.2993563413619995, -0.4890884459018707, -0.8932859301567078, -0.008010385558009148, -0.585093080997467, 1.0756717920303345, -0.5039775967597961, -0.35279926657676697, 0.0923900455236435, -0.20749877393245697, -0.19829247891902924, -0.31499361991882324, 1.1372921466827393, -0.5836262702941895, 0.10441591590642929, -0.393795907497406, -0.8732103705406189, -0.2235560268163681, 0.16465498507022858, -0.648438036441803, 0.7115386724472046, 0.07859067618846893, -0.9924485683441162, 0.9810936450958252, -0.4722059369087219, -0.3971327245235443, 0.3848929703235626, -0.06380700320005417, -0.088558629155159, 0.6015049815177917, 0.20348608493804932, 0.41852709650993347, -0.25100335478782654, 0.36451736092567444, -0.05821867287158966, -0.5848115682601929, 0.07491306215524673, -0.3637021481990814, 0.9436145424842834, 0.10183165222406387, -0.49635425209999084, 0.11114858835935593, -0.22822846472263336, -0.0012517777504399419, -0.07076934725046158, -0.23096942901611328, -0.47396647930145264, 0.346450537443161, 0.14627757668495178, -0.21238334476947784, 0.3857506811618805, -0.5602045059204102, 0.35130032896995544, -0.5891819596290588, 0.5485012531280518, 1.1330106258392334, -0.04403034597635269, 0.3161029517650604, -0.1942155361175537, 0.5919548273086548, -0.18231746554374695, 0.07730039209127426, 0.09614696353673935, -0.2925531566143036, -0.8202774524688721, -0.6137226819992065, 0.7916889786720276, 0.48342469334602356, -0.5332295298576355, 0.42983606457710266, -0.33005356788635254, -0.5341342091560364, -0.46443411707878113, -0.08525901287794113, 0.3129713237285614, 0.18470259010791779, 0.06812041252851486, -0.296419233083725, -0.6924304366111755, -1.0254749059677124, -0.7710548043251038, -0.21116062998771667, -0.11380335688591003, 0.2938597798347473, 0.4266776442527771, -0.20904210209846497, 1.0247876644134521, -0.44673028588294983, -0.3732142448425293, -0.38060250878334045, 0.08220888674259186, 0.1997302621603012, 0.2126612514257431, 0.8376672863960266, -0.48687872290611267, -0.09231536090373993, 0.03820296749472618, -0.1070718914270401, -0.10352868586778641, -0.3408968448638916, -0.5491036772727966, -0.03693332523107529, 0.3700643479824066, -0.49057361483573914, 0.2439812570810318, 0.41147011518478394, -0.5827206969261169, 0.6004260778427124, 0.13477984070777893, -0.23987364768981934, -0.914660632610321, 0.24145320057868958, 0.022443072870373726, -0.024107206612825394, -0.4564379155635834, 0.37688276171684265, -0.025474481284618378, 0.1309143602848053, -0.4331955909729004, 0.8380628228187561, -0.38113895058631897, -0.17054075002670288, -0.023480940610170364, 0.39727890491485596, -0.011440585367381573, 0.1887223720550537, 0.07882799953222275, 0.9734025597572327, 0.5096139907836914, -0.5410988330841064, 0.3159179389476776, 0.10392770171165466, -0.4572162628173828, 0.2374156415462494, -0.6783106327056885, -0.07051727920770645, -0.2803489565849304, -0.08760228008031845, -0.8276679515838623, -0.23954471945762634, -0.08409246802330017, -0.4441172778606415, 0.2348901480436325, -0.4002404510974884, -0.2618728280067444, -0.3628014922142029, -0.474006712436676, -0.0013881943887099624, 0.31794998049736023, -0.661098301410675, 0.9360288381576538, 0.44434648752212524, 0.14304602146148682, -1.016446590423584, -0.6407008171081543, 0.262928307056427, -0.48252567648887634, -0.1779528707265854, 0.3318629562854767, 0.14611561596393585, -0.2971210181713104, -0.03520404174923897, -0.21015389263629913, 0.11356640607118607, 0.26867103576660156, -0.15594661235809326, 0.3216639757156372, 0.06576236337423325, -0.013300123624503613, 0.13411572575569153, -0.10098012536764145, 0.037149809300899506, -0.7748799920082092, 0.8175206184387207, 0.19780156016349792, -0.36590269207954407, -0.0998997911810875, 0.18209390342235565, 0.6526809334754944, -0.2585449814796448, 0.4996398389339447, 0.502777636051178, -0.31425976753234863, -0.13975051045417786, -0.7132173776626587, 0.011792217381298542, -0.4825449585914612, 0.44227996468544006, -0.3393580913543701, -0.5720412731170654, 0.5712260603904724, -0.011680019088089466, 0.34147709608078003, 0.5365899205207825, 0.5677545070648193, 0.6199531555175781, 0.9996835589408875, 0.35086530447006226, -0.23317092657089233, 0.29700639843940735, -0.22690080106258392, 0.5179857611656189, -0.6153150796890259, -0.043390024453401566, -0.5874496698379517, -0.3517656624317169, -0.5756836533546448, -0.4074588119983673, 0.18406108021736145, 0.1262947916984558, 0.05593404918909073, 0.30732765793800354, -0.5711872577667236, 0.9157530069351196, 0.7117800116539001, -0.1989280879497528, -0.0904512107372284, 0.03924400359392166, -0.22778509557247162, -0.1912432461977005, -0.7090344429016113, -0.5819137096405029, 0.8796222805976868, 0.06011294573545456, 0.33434370160102844, 0.05452008545398712, 0.5278342366218567, 0.3365755081176758, 0.31049320101737976, -1.6322060823440552, 0.32397979497909546, -0.342763215303421, -0.7724191546440125, -0.06819259375333786, -0.2091233730316162, -1.0721722841262817, 0.4423225522041321, 0.006093794014304876, -0.8432392477989197, 0.2906050384044647, 0.013092542067170143, -0.4091738760471344, 0.3400888442993164, -1.0660507678985596, 0.9783539772033691, -0.2988489270210266, -0.22832001745700836, -0.018424319103360176, -0.35228633880615234, 0.4063015580177307, 0.017663493752479553, 0.03210321068763733, 0.25896820425987244, -0.4717980921268463, 0.8005704879760742, -0.4941428005695343, 0.7657340168952942, -0.3346844017505646, -0.009035969153046608, 0.44364893436431885, 0.21946746110916138, 0.3368835747241974, -0.03720215708017349, -0.2917608618736267, 0.2592875063419342, 0.33554211258888245, -0.7749748229980469, -0.6159013509750366, 0.43599456548690796, -0.5667644739151001, -0.4746566712856293, -0.5439572930335999, 0.11986443400382996, -0.16013523936271667, 0.4431575536727905, 0.6140244007110596, 0.4601863920688629, -0.20156210660934448, -0.057268235832452774, 0.018905743956565857, -0.09983595460653305, 0.547703206539154, 0.06515086442232132, 0.12294874340295792, -0.5447028875350952, 1.084261178970337, 0.07981757074594498, 0.06744743138551712, 0.3322395384311676, 0.6275753974914551, -0.46601665019989014, -0.4608066976070404, -0.6894270181655884, 0.22806665301322937, -0.7519198656082153, -0.3060409426689148, -0.5937482714653015, 0.010542036965489388, -0.4216248393058777, -0.5575792789459229, -0.44149360060691833, -0.22190910577774048, -0.2427864968776703, -0.31129923462867737, 0.15696723759174347, 0.8113914728164673, -0.11381220072507858, 0.26111000776290894, -0.7543054819107056, -0.04050332307815552, 0.4119317829608917, 0.2951216399669647, 0.1962704211473465, -0.31515222787857056, -0.10210806876420975, -0.2331291139125824, -0.01322869211435318, -0.8848650455474854, 0.40519389510154724, 0.21580077707767487, 0.3585991859436035, 0.8426964282989502, -0.058879073709249496, 0.987311601638794, -0.6033785343170166, 1.2874916791915894, 0.10434894263744354, -1.4046207666397095, 0.2758120596408844, -0.08105433732271194, -0.34975332021713257, 0.6281974911689758, 0.2510118782520294, -0.7168691158294678, 0.10142001509666443, -0.5589219331741333, -1.095158576965332, 0.4964759647846222, -0.05773145332932472, 0.3162994384765625, -0.6049423813819885, 0.5073410868644714, 0.19900478422641754, 0.247160866856575, -0.7489325404167175, -0.20759378373622894, -0.3094606399536133, 0.005451017525047064, -0.013836346566677094, -0.5029798746109009, 0.026295511052012444, 0.041060127317905426, 0.5979779958724976, -0.2890263795852661, 0.2193181812763214, 0.19914835691452026, -0.03776716813445091, 0.31981706619262695, 0.20053789019584656, 0.3751530945301056, 0.6977552175521851, -0.026637040078639984, 0.10740987956523895, 0.13698427379131317, -0.6040511131286621, -0.045646678656339645, -0.19330890476703644, -0.1143350899219513, 0.22944849729537964, 0.5288562774658203, 0.6782830357551575, 0.10328838229179382, -1.0978374481201172, 0.8867665529251099, -0.13518959283828735, -0.06154532730579376, -0.3493514060974121, -0.12935331463813782, -0.16002695262432098, -0.13311153650283813, 0.16683675348758698, -0.19641779363155365, 0.43085339665412903, -0.45924270153045654, -0.02446599118411541, 0.8139336109161377, -0.4745705723762512, -0.15378542244434357, 0.5616636872291565, -0.11741751432418823, -0.05208239704370499, 0.47872424125671387, -0.4598129391670227, -0.7396138310432434, 0.284481018781662, 0.5990999341011047, 1.0727825164794922, 0.21189603209495544, 0.20452208817005157, 0.40694350004196167, 0.42809420824050903, -0.01029048953205347, 0.23506039381027222, -0.2689153850078583, -0.7188012003898621, -1.0621581077575684, -1.011013150215149, -0.3730855882167816, 0.012105987407267094, -0.6527696251869202, 0.4486868977546692, -0.24742445349693298, -0.14994244277477264, -0.00800585001707077, -0.05094531551003456, -0.3975159227848053, -0.03710656613111496, -0.3438437879085541, 1.0279209613800049, -0.7907013893127441, 0.015687121078372, 0.7420222163200378, -0.26153308153152466, -0.7169829607009888, 0.1532299667596817, -0.02842177264392376, -1.1636912822723389, 0.7934414744377136, 0.05622245743870735, -0.1455731838941574, -0.04028923809528351, -0.638399064540863, -0.8899980783462524, 0.7573418617248535, 0.22109293937683105, -0.13435597717761993, -0.29882365465164185, -0.17651188373565674, 0.27446481585502625, 0.2712123394012451, 0.3219870924949646, 0.879276692867279, 0.5949753522872925, 0.11993198841810226, -0.5999338030815125, -0.1658790409564972, -0.3017590343952179, 0.13051407039165497, 0.37757498025894165, -0.5870872139930725, 0.5000045895576477, 0.134037047624588, -0.6025741100311279, 0.24732723832130432, 0.48572197556495667, 0.08822648972272873, -0.10427145659923553, 0.6223055124282837, 0.723794162273407, 0.6694345474243164, -0.14342547953128815, 1.1977990865707397, -0.37176713347435, 0.2041945904493332, 0.6536285877227783, -0.03236743062734604, 0.5991463661193848, 0.5326113700866699, -0.16791263222694397, 0.20343010127544403, 0.8375459909439087, -0.1019131988286972, 0.3306349217891693, 0.5462605953216553, -0.09017998725175858, -0.14443369209766388, -0.35657936334609985, 0.20796941220760345, 0.8245704174041748, 0.6083208322525024, -0.2038409411907196, -0.1802903711795807, -0.18897311389446259, 0.1609811633825302, -0.3233315348625183, -0.3745558261871338, 1.0442895889282227, -0.22769857943058014, -1.01177179813385, 0.4494268298149109, 0.17826835811138153, 0.9962875843048096, -0.6676895022392273, 0.25049397349357605, -0.1491212546825409, 0.010139531455934048, -0.1829776018857956, -0.24235890805721283, 0.3411622643470764, 0.12225949764251709, 0.27945294976234436, 0.04848859831690788, 0.6639232635498047, 0.11668723076581955, -0.38016754388809204, 0.15413840115070343, 0.363727867603302, 0.26824912428855896, -0.043703023344278336, -0.4421766400337219, -0.17833562195301056, 0.008722676895558834, -0.2180161476135254, 0.11385500431060791, 0.5029172301292419, 0.3109559416770935, 0.2705577611923218, 0.667297899723053, 0.507919430732727, 0.2886185944080353, 0.18974529206752777, 0.7132142782211304, -0.6352296471595764, -0.30043113231658936, -1.0821934938430786, 0.49272534251213074, -0.15285761654376984, -0.5141451954841614, 0.873551070690155, 0.7664415836334229, 0.8058508634567261, -0.07859457284212112, 0.7179127931594849, -0.15211114287376404, 0.26350027322769165, -0.716578483581543, 0.39241740107536316, -0.6941068172454834, -0.22235819697380066, -0.4498452842235565, -0.81842041015625, -0.3227771818637848, 0.7168764472007751, -0.08142080903053284, -0.1195489689707756, 0.7154553532600403, 0.35325706005096436, -0.019002385437488556, -0.045941583812236786, 0.1282372921705246, -0.04857836663722992, 0.19177137315273285, -0.0642957016825676, 0.7702674269676208, -0.19726571440696716, 0.37789636850357056, -0.10408299416303635, -0.30221840739250183, -0.06372887641191483, -1.0111595392227173, -0.7724961638450623, -0.593103289604187, 0.11858625710010529, -0.6105506420135498, -0.2899077534675598, 0.9765705466270447, 0.6019294261932373, -0.5548434853553772, -0.21390190720558167, -0.3558574914932251, 0.2158871293067932, -0.3218686282634735, -0.28574758768081665, 0.5573663115501404, -0.755479633808136, -1.1553587913513184, 0.2125406265258789, 0.2916252613067627, -0.0707363560795784, -0.3603629171848297, 0.40364277362823486, 0.08092273026704788, 0.4687352478504181, 0.7415809631347656, -0.012846284545958042, -0.8753693699836731, -0.19343769550323486, 0.2062927484512329, 0.3651878237724304, -0.16043949127197266, 1.2433773279190063, -0.470870703458786, 0.5828083157539368, 0.6388814449310303, 0.8821729421615601, 0.1552276909351349, 0.146140456199646, 0.5581777095794678, -0.6527776718139648, 0.21608227491378784, 0.4360352158546448, 0.7026479840278625, 0.036540400236845016, -0.2842848598957062, 0.49360814690589905, 0.14885590970516205, -0.5449903011322021, -0.8075995445251465, 0.4447374641895294, -0.655255138874054, -0.5620699524879456, 1.020323395729065, 0.06006014347076416, -0.604522705078125, 0.07241019606590271, -0.3791521489620209, 0.06510434299707413, -0.08903079479932785, 0.7818716168403625, 0.9040636420249939, 0.012457341887056828, 0.31777000427246094, -0.23076152801513672, 0.5077258348464966, 0.6044249534606934, -0.4948168694972992, 0.20114895701408386, 0.5463828444480896, -0.11886816471815109, 0.5087546110153198, 0.48705410957336426, -0.1933916062116623, -0.05316583067178726, 0.11601827293634415, -0.00036299662315286696, 0.5623248219490051, -0.002251529833301902, -0.21536757051944733, -0.06410552561283112, 0.28470802307128906, -0.10070876032114029 ]
http://arxiv.org/abs/2403.01273v1
http://arxiv.org/pdf/2403.01273v1
NoMAD-Attention: Efficient LLM Inference on CPUs Through Multiply-add-free Attention
2024-03-02T17:29:22
2024-03-02T17:29:22
Tianyi Zhang, Jonah Wonkyu Yi, Bowen Yao, Zhaozhuo Xu, Anshumali Shrivastava
cs.LG
cs.LG, cs.AI, cs.CL
Large language model inference on Central Processing Units (CPU) is challenging due to the vast quantities of expensive Multiply-Add (MAD) matrix operations in the attention computations. In this paper, we argue that there is a rare gem in modern CPUs, Single-Instruction-Multiple-Data (SIMD) registers, which allow for ultra-low-latency lookups in batch. We leverage this unique capability of CPUs to propose NoMAD-Attention, an efficient attention algorithm that replaces MAD operations with in-register lookups. Through hardware-aware algorithmic designs, NoMAD-Attention achieves the computation of attention scores using repeated fast accesses to SIMD registers despite their highly limited sizes. Moreover, NoMAD-Attention works with pre-trained attention-based LLMs without model finetuning. Empirical evaluations demonstrate that NoMAD-Attention maintains the quality of the original LLMs well, and speeds up the 4-bit quantized LLaMA-7B-based model by up to 2$\times$ at 16k context length. Our results are reproducible at https://github.com/tonyzhang617/nomad-dist.
[ -0.2949186861515045, -0.6645587086677551, 0.6446981430053711, 0.3048902451992035, -0.2974449396133423, 0.024340294301509857, -0.18120598793029785, -0.30078381299972534, 0.21664580702781677, 0.5121369957923889, -0.6628203988075256, -0.4775596261024475, -0.2716016173362732, -0.22521352767944336, -0.15685498714447021, 0.7611624598503113, 0.057718273252248764, -0.27802103757858276, -0.36747631430625916, -0.30684220790863037, -0.17900560796260834, -0.718043327331543, -0.46637535095214844, 0.10403387248516083, 0.5924035906791687, 0.4821201264858246, 0.5354989171028137, 0.7304012775421143, 0.5715916156768799, 0.15203547477722168, 0.008123954758048058, 0.3683452606201172, -0.6308139562606812, 0.11851926147937775, 0.38860979676246643, -0.4895106256008148, -0.9562079310417175, 0.015476933680474758, 0.7115252614021301, 0.5279738903045654, -0.09345147758722305, 0.6343756318092346, -0.22448010742664337, 0.5751864910125732, -1.1345839500427246, -0.04960756003856659, -0.5158673524856567, 0.14701911807060242, -0.43223223090171814, -0.2558218538761139, -0.7456289529800415, -0.1702485978603363, -0.29165002703666687, -0.6938635110855103, 0.3037686347961426, 0.2173982709646225, 0.4185604155063629, 0.8836954236030579, -0.2857820987701416, 0.2926800847053528, -0.6885548233985901, 1.1542654037475586, -0.6117696762084961, 0.6351150274276733, 0.1893455684185028, 0.2538345456123352, -0.28520044684410095, -0.5378715991973877, -0.4760124683380127, -0.06542696803808212, 0.32275131344795227, 0.02720087766647339, -0.27561336755752563, 0.11565958708524704, 0.4083085060119629, 0.47477349638938904, -0.31681761145591736, -0.1357090026140213, 0.13374865055084229, 0.05148407071828842, 0.2693471908569336, 0.25373488664627075, 0.11857157945632935, 0.45893165469169617, -0.5782141089439392, 0.19898395240306854, -0.8911491632461548, 0.10316816717386246, 0.10939808189868927, 0.2420911192893982, -0.22088900208473206, 0.40677472949028015, -0.38446953892707825, 0.9944374561309814, 0.27567538619041443, -0.1904943287372589, 0.07379816472530365, -0.2603270411491394, -0.6697574853897095, 0.23355737328529358, 0.6642308235168457, 0.13798631727695465, 0.05523047596216202, -0.4408457577228546, -0.02311227284371853, 0.24121613800525665, 0.3932495415210724, -0.7328489422798157, -0.17370542883872986, 0.29736146330833435, -0.38701868057250977, -0.10300090909004211, -0.4069017171859741, -0.5435662269592285, -0.2136610895395279, 0.013247057795524597, 0.06293278187513351, -0.09397527575492859, -0.11237162351608276, 0.2513869106769562, 0.15635986626148224, 0.41347548365592957, 0.38644862174987793, -0.7791340351104736, 0.4310399293899536, 0.5157559514045715, 0.8897161483764648, -0.14563076198101044, -0.10424827039241791, -0.9527393579483032, 0.30884313583374023, -0.3547310531139374, 0.984037458896637, -0.6407540440559387, -0.16215065121650696, -0.640147864818573, -0.26548436284065247, -0.30543163418769836, -0.5559751391410828, 0.31321391463279724, -0.8053454756736755, -0.3867267668247223, -0.07684703171253204, -0.2361670732498169, -0.17983266711235046, 0.2042982131242752, -0.6650025844573975, 1.1523839235305786, -0.05290521681308746, -0.8299362659454346, -0.20586784183979034, -0.7646743655204773, -0.5622152090072632, -0.13780762255191803, 0.06528764218091965, -0.364971786737442, 0.39611130952835083, 0.23532503843307495, 0.2908499240875244, -0.49973922967910767, -0.1079525277018547, -0.6817476749420166, -0.45315152406692505, 0.31485888361930847, -0.5395098924636841, 0.8101959824562073, 0.16554327309131622, -0.2797608971595764, 0.2320283204317093, -0.7235804796218872, 0.08588758111000061, -0.044225528836250305, -0.4069575369358063, -0.14761804044246674, -0.1347006857395172, -0.007442060858011246, 0.19985148310661316, 0.44167429208755493, -0.6281862258911133, 0.27986785769462585, -0.23425163328647614, 0.12102174013853073, 0.6713228821754456, -0.22981341183185577, 0.47321051359176636, -0.09693961590528488, 0.6461564898490906, -0.1044192835688591, 0.36974796652793884, -0.2278018295764923, -0.3171001672744751, -0.9295960664749146, -0.8145846724510193, 0.2432778775691986, 0.45966511964797974, -0.5493048429489136, -0.1354537308216095, -0.10615070164203644, -0.4009990394115448, -0.9140760898590088, 0.23074060678482056, 0.5531044006347656, 0.4766930639743805, 0.3200402855873108, -0.2677636742591858, -0.4091125428676605, -0.7900093793869019, -0.31548967957496643, 0.21034936606884003, -0.04025586321949959, 0.4560309052467346, -0.22145406901836395, -0.31309816241264343, 0.5466575026512146, -0.5659644603729248, -0.14306890964508057, -0.1396467536687851, -0.2711820900440216, 0.10126543045043945, 0.15647657215595245, 0.25952938199043274, -0.21050333976745605, -0.4154050350189209, 0.09700184315443039, -0.7569692730903625, -0.215637668967247, -0.06894973665475845, -0.37060239911079407, 0.11096527427434921, 0.5349934697151184, -0.7387647032737732, 0.304065078496933, 0.5261640548706055, 0.07600796967744827, 0.3872935175895691, -0.21828050911426544, -0.14161528646945953, -0.6654561758041382, 0.09059552103281021, -0.23909498751163483, -0.4441145062446594, -0.7652830481529236, 0.12111342698335648, 0.2885032296180725, 0.12557587027549744, -0.6051597595214844, 0.698111891746521, -0.6511666178703308, -0.39891278743743896, -0.27913475036621094, 0.05836810916662216, -0.008558749221265316, 0.7652860283851624, -0.33974653482437134, 0.8852570652961731, 0.5892966985702515, -0.711954653263092, 0.2688364088535309, 0.029916858300566673, -0.09724677354097366, 0.5828957557678223, -0.3386038541793823, 0.559562087059021, -0.10004090517759323, 0.11244423687458038, -1.2396600246429443, -0.09436162561178207, 0.10709840804338455, -0.27014926075935364, 0.33933770656585693, 0.06964606046676636, -0.4412415325641632, -0.19109803438186646, -0.4359220564365387, 0.7851796746253967, 0.23910337686538696, -0.587317168712616, 0.5713342428207397, 0.5829179883003235, 0.07800697535276413, -0.6849318146705627, -0.48806238174438477, -0.01408341620117426, 0.050111230462789536, -0.24458546936511993, -0.045041028410196304, -0.22608572244644165, -0.21914339065551758, -0.03575679287314415, -0.4812186658382416, -0.21757660806179047, 0.30792319774627686, 0.4089457094669342, 0.4346877634525299, -0.4729628264904022, 0.10664013773202896, -0.02363269217312336, -0.1973472535610199, -0.2352178692817688, -0.3322741687297821, 0.5505608320236206, -0.05691229924559593, -0.3030003607273102, -0.7353602051734924, 0.23836325109004974, 1.0035126209259033, -0.4235892593860626, 0.4185401499271393, 0.31000348925590515, -0.2051991969347, -0.25820133090019226, -0.7085403203964233, -0.03393623232841492, -0.4091110825538635, 0.06819887459278107, -0.24059878289699554, -0.8978567719459534, 0.3058587908744812, -0.1543954461812973, 0.08522851765155792, 0.3407881259918213, 0.6967905163764954, -0.10304124653339386, 0.8541218042373657, 0.6875240206718445, -0.21018503606319427, 0.6030970811843872, 0.008422997780144215, 0.30340930819511414, -1.3324048519134521, -0.04583052918314934, -0.264592707157135, -0.6000083088874817, -0.26787906885147095, -0.8831800222396851, 0.29090458154678345, -0.250419944524765, -0.15939687192440033, -0.017318356782197952, -0.4161849617958069, 0.553019106388092, 0.5659365653991699, 0.08356721699237823, 0.332418292760849, -0.05555824562907219, 0.06602554768323898, 0.20340682566165924, -0.860177218914032, -0.2909093499183655, 1.2397269010543823, -0.05508020892739296, 0.9115176200866699, -0.1677793711423874, 0.4635474383831024, 0.08462662994861603, 0.5643250942230225, -0.7609236836433411, 0.5766834020614624, -0.08827854692935944, -0.4956609010696411, -0.08576493710279465, -0.3113952577114105, -0.7398433685302734, 0.3334549367427826, 0.3082367181777954, -0.5671075582504272, 0.14241907000541687, 0.3089750111103058, -0.936069130897522, 0.4555204510688782, -0.6460144519805908, 0.7994100451469421, -0.08439988642930984, -0.4440757632255554, -0.21732938289642334, -0.6051891446113586, 0.5821294784545898, -0.11812537908554077, 0.12991701066493988, -0.4374966323375702, -0.2977638244628906, 0.5619363188743591, -0.264423131942749, 0.8895492553710938, -0.044359397143125534, -0.025432642549276352, 0.27643755078315735, -0.01708844304084778, 0.43015384674072266, -0.17172493040561676, -0.0764160230755806, 0.18007397651672363, -0.27272269129753113, -0.5558145046234131, -0.3452359437942505, 1.0606834888458252, -0.7085762023925781, -0.37300270795822144, -0.14038921892642975, -0.9018310904502869, -0.15997588634490967, 0.2706184387207031, -0.18642283976078033, 0.33588460087776184, -0.17676745355129242, -0.09611574560403824, 0.946648120880127, -0.12743942439556122, 0.44152918457984924, 0.5033997297286987, 0.09560304135084152, -0.2819158136844635, 0.8781956434249878, 0.14787892997264862, 0.38419920206069946, 0.43256914615631104, -0.22745680809020996, -0.14848171174526215, -0.19493593275547028, -0.6929244995117188, 0.34633737802505493, -0.31915968656539917, -0.3321753442287445, -1.0309242010116577, 0.13238142430782318, -0.1443871408700943, -0.09976569563150406, -0.7564951181411743, -0.560289204120636, -0.35942351818084717, 0.13715016841888428, 0.3773249387741089, 0.4995241165161133, 0.197951540350914, 0.7257711291313171, -0.4815719425678253, 0.8391007781028748, 0.35691821575164795, 0.5026754140853882, 0.341263085603714, -0.4542207717895508, -0.3951856195926666, -0.11228490620851517, -0.4667302072048187, -0.6372833847999573, 0.2528761923313141, 0.11197613924741745, 0.5453105568885803, 0.5905237793922424, 0.2969094216823578, 0.8747929930686951, -0.5910440683364868, 0.30203697085380554, -0.04999561235308647, -0.9395105838775635, 0.15551786124706268, -0.1464252471923828, 0.5725889801979065, 0.49007996916770935, -0.03360879048705101, -0.5444192886352539, -0.5038849711418152, -0.6145181655883789, -0.8031856417655945, 0.969875156879425, -0.06641373038291931, -0.06689126044511795, -0.032938580960035324, 0.39966055750846863, -0.09129147976636887, 0.610719621181488, -0.2241307497024536, -0.5058581829071045, 0.2302207052707672, -0.09572307020425797, 0.02150922641158104, -0.36527517437934875, 0.07082202285528183, -0.12293389439582825, 0.5194838643074036, -0.021341996267437935, 0.5719619989395142, 0.20191816985607147, -0.19589969515800476, -0.24349907040596008, 0.1394294947385788, 0.6529222726821899, 0.21264077723026276, -0.30116966366767883, 0.6058885455131531, 0.33538007736206055, -0.4768347442150116, 0.22669002413749695, -0.1981026530265808, 0.0015797766391187906, -0.09618493169546127, 0.08497481048107147, 0.8597404956817627, 0.4390845000743866, -0.5095711350440979, 0.280466765165329, -0.33835652470588684, 0.25992947816848755, 0.08627846091985703, 0.11325325816869736, 0.346452921628952, 0.33179140090942383, 0.09556131064891815, 0.284625381231308, 0.2026260644197464, -0.13518960773944855, 0.020517369732260704, 0.7082666158676147, -0.4453715682029724, -0.4534737467765808, 0.9292933344841003, -0.01909801736474037, -0.29675260186195374, 0.568703830242157, -0.17895540595054626, -0.10453570634126663, 0.7592045068740845, 0.6217774748802185, 1.118303894996643, -0.5941743850708008, -0.1988971084356308, 0.012231046333909035, 0.43111681938171387, -0.03540831431746483, 0.4971855878829956, -0.3857680559158325, -0.42975762486457825, -0.6967724561691284, -0.5336271524429321, -0.5825807452201843, -0.01576206460595131, -0.6369844675064087, 0.010239260271191597, -0.8527781367301941, -0.2137414664030075, 0.02242504432797432, -0.16162297129631042, -0.7240029573440552, -0.026278097182512283, 0.34379813075065613, 0.7260569334030151, -0.5049248933792114, 1.068769931793213, 0.4930395781993866, 0.2790582478046417, -0.4271238446235657, -0.03739245608448982, -0.10966911166906357, -0.7950916290283203, 0.27448800206184387, 0.402451753616333, -0.6352688670158386, 0.3601202666759491, -0.5121938586235046, -0.855894923210144, 0.8528895378112793, 0.8852839469909668, -0.6564244031906128, 0.28903767466545105, -0.2970913052558899, 0.2628405690193176, -0.33700600266456604, 0.29524627327919006, 0.5683969855308533, 0.3182826042175293, 0.031675923615694046, -0.7271319627761841, -0.0608193539083004, -0.1918717622756958, -0.28774183988571167, 0.46786051988601685, -1.0256729125976562, 1.0284361839294434, -0.6867337226867676, -0.350681871175766, -0.22377125918865204, 0.514772355556488, 0.2048921436071396, 0.4862942397594452, 0.1600184142589569, 0.7567289471626282, 0.9935970306396484, 0.22690938413143158, 1.3659727573394775, -0.4023341238498688, 0.3585813343524933, 1.2248892784118652, -0.48802807927131653, 0.9564011693000793, 0.6941110491752625, -0.16358885169029236, 0.3276442289352417, 0.5461518168449402, 0.4790477454662323, 0.6835455298423767, 0.1475832313299179, -0.5952020287513733, -0.6020930409431458, -0.29034262895584106, -0.186152383685112, 0.18681791424751282, 0.17698819935321808, -0.0030728636775165796, -0.2952919006347656, -0.273761123418808, 0.021046137437224388, -0.5315878391265869, -0.39743664860725403, 0.7838055491447449, 0.09759411215782166, -0.2579495310783386, 0.9090076088905334, -0.0901196226477623, 0.42241373658180237, -0.3461109697818756, 0.09556029736995697, -0.3399272561073303, 0.411342978477478, -0.014247729443013668, 0.021175822243094444, 0.15624931454658508, -0.04143216088414192, -0.7032685875892639, -0.03129809722304344, 0.4697628915309906, -0.28143981099128723, -0.6490383744239807, 0.22070348262786865, 0.48353976011276245, 0.32861173152923584, -0.41024452447891235, -0.22532542049884796, 0.30380770564079285, -0.030371101573109627, -0.3850521445274353, 0.5800657868385315, 0.45823073387145996, -0.2709353268146515, 0.7283545732498169, 0.8939354419708252, -0.053839828819036484, 0.3301553428173065, -0.26996585726737976, 1.023572325706482, -0.6572194695472717, -0.4444085657596588, -1.1546032428741455, 0.10618733614683151, 0.22903673350811005, -0.05826650932431221, 0.8022176027297974, 0.634194552898407, 0.5640645027160645, -0.1855238825082779, 0.7925088405609131, 0.4601795971393585, 0.13432414829730988, -0.10633394122123718, 0.4895038306713104, -0.591228187084198, 0.06618782877922058, 0.0484115406870842, -0.6703722476959229, -0.6309258341789246, 0.62078458070755, -0.46497291326522827, -0.31189778447151184, 0.5596033334732056, 0.7632699012756348, -0.42793747782707214, -0.3076556324958801, 0.5066268444061279, 0.29240089654922485, 0.004377939738333225, 0.8777815699577332, 0.5902314782142639, -0.3765071928501129, 0.33055269718170166, 0.025414155796170235, -0.28257858753204346, -0.538353443145752, -0.7811960577964783, -0.8568152189254761, 0.1571298986673355, -0.239898681640625, 0.04733080044388771, -0.006295624189078808, 0.757325291633606, 0.6134059429168701, -0.7241721153259277, -0.3511785566806793, 0.3269445300102234, 0.42413026094436646, -0.4004404842853546, -0.09780756384134293, 0.46253642439842224, -0.4846629798412323, -0.6776527166366577, 0.5878399610519409, 0.9265661239624023, -0.16256962716579437, -0.11786802858114243, 0.021098608151078224, -0.2243465632200241, 0.35278668999671936, 0.7154805660247803, 0.23575763404369354, -0.6212815046310425, 0.21561744809150696, 0.31000906229019165, -0.2786549925804138, 0.3139709234237671, 0.7823750972747803, -0.7782591581344604, 0.5356904864311218, 0.24616438150405884, 0.8602470755577087, 0.5781050324440002, -0.0018955643754452467, 0.21721015870571136, -0.7286378741264343, 0.4724731743335724, -0.07029399275779724, 0.05766856670379639, 0.3425411880016327, -0.4597378373146057, 0.1450868397951126, 0.15011410415172577, -0.5019215941429138, -0.9195213913917542, 0.20715530216693878, -1.1207484006881714, 0.1463802456855774, 0.9879499077796936, -0.14297521114349365, -0.8402051329612732, -0.1895635426044464, -0.3956417441368103, 0.30527469515800476, -0.5363534688949585, 0.6753153800964355, 0.34197214245796204, -0.3904024362564087, -0.17767934501171112, -1.015292763710022, 0.3063872158527374, 0.4836772084236145, -0.7157866358757019, 0.662346363067627, 0.3416004180908203, 0.14446742832660675, 0.013590623624622822, 1.0064061880111694, 0.13517552614212036, 0.3518409729003906, -0.07271284610033035, 0.515720009803772, -0.1922270953655243, -0.5081356763839722, -0.34804534912109375, 0.348421186208725, 0.13069021701812744, -0.721822202205658 ]
http://arxiv.org/abs/2403.01270v1
http://arxiv.org/pdf/2403.01270v1
A comprehensive cross-language framework for harmful content detection with the aid of sentiment analysis
2024-03-02T17:13:47
2024-03-02T17:13:47
Mohammad Dehghani
cs.CL
cs.CL
In today's digital world, social media plays a significant role in facilitating communication and content sharing. However, the exponential rise in user-generated content has led to challenges in maintaining a respectful online environment. In some cases, users have taken advantage of anonymity in order to use harmful language, which can negatively affect the user experience and pose serious social problems. Recognizing the limitations of manual moderation, automatic detection systems have been developed to tackle this problem. Nevertheless, several obstacles persist, including the absence of a universal definition for harmful language, inadequate datasets across languages, the need for detailed annotation guideline, and most importantly, a comprehensive framework. This study aims to address these challenges by introducing, for the first time, a detailed framework adaptable to any language. This framework encompasses various aspects of harmful language detection. A key component of the framework is the development of a general and detailed annotation guideline. Additionally, the integration of sentiment analysis represents a novel approach to enhancing harmful language detection. Also, a definition of harmful language based on the review of different related concepts is presented. To demonstrate the effectiveness of the proposed framework, its implementation in a challenging low-resource language is conducted. We collected a Persian dataset and applied the annotation guideline for harmful detection and sentiment analysis. Next, we present baseline experiments utilizing machine and deep learning methods to set benchmarks. Results prove the framework's high performance, achieving an accuracy of 99.4% in offensive language detection and 66.2% in sentiment analysis.
[ -0.3315402865409851, -1.008275032043457, 0.1422485113143921, 0.3494083285331726, -0.47420674562454224, 0.11064544320106506, -0.32727673649787903, -0.5048028826713562, 0.0445021390914917, 0.5526553392410278, -0.4071827232837677, -0.9808691740036011, -0.7885120511054993, 0.07373803108930588, -0.5207217335700989, 1.0751560926437378, 0.10166509449481964, -0.03416093811392784, 0.1151401698589325, -0.2758892774581909, -0.252591997385025, -0.42677754163742065, -0.7814128994941711, 0.2524343430995941, 0.38791510462760925, 0.2934219539165497, 0.6328590512275696, 0.342369943857193, 0.6224246025085449, 0.31044963002204895, -0.06848432868719101, 0.02427503652870655, -0.3149307668209076, 0.3052361309528351, -0.46974411606788635, -0.1401200145483017, -0.28981491923332214, -0.38709935545921326, 0.3630160391330719, 0.3653869926929474, 0.07737265527248383, 0.11766564846038818, 0.10514865815639496, 0.5635210275650024, -0.8115710020065308, 0.05974695831537247, -0.4343945384025574, 0.22426608204841614, -0.4744180738925934, -0.20986175537109375, -0.11261456459760666, -0.3870469629764557, -0.2968071401119232, -0.44284915924072266, -0.3250865042209625, -0.21140263974666595, 0.5196035504341125, 0.2403341382741928, -0.4319351613521576, -0.5373636484146118, -0.631332278251648, 0.9568629860877991, -0.7426689863204956, 0.3107968270778656, 0.4151180386543274, 0.32715529203414917, 0.025461765006184578, -0.3488060235977173, -0.6471889019012451, 0.03381230682134628, -0.036836136132478714, -0.1366158127784729, -0.49633896350860596, -0.17401324212551117, 0.05734045058488846, 0.2190409153699875, -0.6758309006690979, -0.012260505929589272, -0.10935523360967636, -0.4235744774341583, 0.8113022446632385, 0.02712678723037243, 0.7491010427474976, -0.4929267466068268, -0.4042970538139343, 0.11773698776960373, -0.3962826132774353, -0.15404365956783295, 0.6876506209373474, 0.4321480393409729, -0.24497775733470917, 0.19029363989830017, -0.3295193016529083, 0.15021604299545288, -0.10854671150445938, 0.030741048976778984, 0.4421553611755371, -0.31040841341018677, -0.0025965296663343906, -0.06828726828098297, 1.1796926259994507, 0.5418329834938049, 0.48304641246795654, -0.0011086795711889863, -0.1969260573387146, 0.38800376653671265, 0.1774430125951767, -0.7364704608917236, -0.12673352658748627, 0.024613654240965843, -0.41963404417037964, -0.7121484279632568, -0.04614706709980965, -0.9282116889953613, -0.9565554261207581, 0.12309946119785309, 0.20907457172870636, -0.2859059274196625, -0.6984431147575378, 0.14816272258758545, 0.144696444272995, 0.15350431203842163, 0.09308779984712601, -0.4772884249687195, 0.29705607891082764, 0.535490095615387, 0.6176731586456299, -0.34922924637794495, 0.2613290846347809, -0.4427589774131775, 0.06698871403932571, -0.14983688294887543, 0.7931216955184937, -0.6609909534454346, -0.3506043553352356, 0.27534061670303345, 0.06630043685436249, 0.3444576561450958, -0.4770902395248413, 1.1167445182800293, -0.39367711544036865, 0.22056327760219574, -0.3464670181274414, -0.14217203855514526, -0.5837453007698059, 0.3981572091579437, -0.5767318606376648, 0.9015764594078064, 0.012430351227521896, -1.1539970636367798, 0.21314656734466553, -0.5305165648460388, -0.8912535309791565, 0.2691115736961365, -0.020454570651054382, -0.5269220471382141, -0.20775306224822998, 0.03208884596824646, 0.542499303817749, -0.19365054368972778, 0.3496541976928711, -0.48846158385276794, -0.34340783953666687, 0.23501743376255035, -0.49650633335113525, 1.0798618793487549, 0.48513758182525635, -0.6647792458534241, 0.2997049391269684, -0.46122294664382935, -0.08191809058189392, 0.1769534945487976, -0.1555551439523697, -0.5728919506072998, 0.055710747838020325, 0.40136295557022095, 0.4037831425666809, 0.09800256788730621, -0.6379061341285706, -0.5459834337234497, -0.29838690161705017, 0.13053560256958008, 0.6765538454055786, 0.32453420758247375, 0.28761276602745056, -0.09843013435602188, 0.7201838493347168, 0.16270166635513306, 0.44343674182891846, 0.006649293936789036, -0.19164976477622986, -0.5423704981803894, -0.07572561502456665, -0.16374507546424866, 0.7941555976867676, -0.689627468585968, 0.7024760842323303, -0.14856210350990295, -0.3168749511241913, -0.21211892366409302, 0.4899194836616516, 0.5124654769897461, 0.27148663997650146, 0.28589197993278503, -0.5609360337257385, -0.7744941115379333, -0.8227885961532593, -0.49061405658721924, -0.3263511657714844, 0.1685076206922531, 0.19212554395198822, 0.22341522574424744, -0.4245731830596924, 0.3993896245956421, -0.14023657143115997, -0.6972491145133972, -0.30285948514938354, -0.02867480367422104, -0.029660018160939217, 0.40955355763435364, 0.6604534983634949, -1.0234992504119873, -0.8707440495491028, 0.017054853960871696, -0.9905340075492859, -0.44738271832466125, 0.1647685170173645, -0.3178892433643341, 0.12109585106372833, 0.3461476266384125, 0.045977722853422165, 0.35840585827827454, 0.5494420528411865, -0.43105918169021606, 0.2869417071342468, 0.4197324514389038, 0.2763507068157196, -0.9760118722915649, 0.08673936128616333, 0.4359041452407837, -0.31627100706100464, -0.7665866017341614, 0.10137536376714706, -0.17505310475826263, 0.10769295692443848, -0.6975266337394714, 0.4726048409938812, 0.04075608029961586, 0.6311706304550171, -0.37755286693573, 0.05378395691514015, -0.09845761209726334, 0.36288732290267944, 0.06581547856330872, 0.492427259683609, 0.5578266382217407, -0.38624709844589233, 0.2906908690929413, 0.06540071219205856, -0.08372803032398224, 0.7286165356636047, -0.36174264550209045, -0.11904502660036087, -0.201541468501091, -0.0962359756231308, -0.6956444382667542, -0.008446458727121353, 0.8689196109771729, -0.594799280166626, 0.0676368772983551, -0.11100275814533234, -0.591284453868866, 0.01141267828643322, -0.7082132697105408, 0.3349766731262207, 0.26230937242507935, -0.21098299324512482, 0.6050312519073486, 0.8320258259773254, -0.2466331571340561, -0.6451682448387146, -0.6494774222373962, 0.2194095104932785, -0.490060955286026, -0.538762092590332, -0.08174429833889008, -0.07843846827745438, -0.42251071333885193, 0.12803031504154205, 0.007864316925406456, -0.19149279594421387, 0.3882625102996826, 0.3981216847896576, -0.10599610209465027, 0.04287608712911606, 0.003029600717127323, 0.24077898263931274, -0.1445271074771881, 0.4075109362602234, 0.10877969115972519, 0.4728294909000397, -0.24605631828308105, -0.18051740527153015, -0.5122530460357666, 0.583278477191925, 0.39107459783554077, -0.34514570236206055, 0.3932744860649109, 1.0090810060501099, -0.5075094699859619, -0.2536759376525879, -0.3712257146835327, 0.12716494500637054, -0.5224128365516663, 0.39041364192962646, 0.09148672223091125, -0.753879964351654, 0.40148839354515076, 0.02977670356631279, -0.11708300560712814, 0.3374433219432831, 0.5068104267120361, 0.0537477545440197, 1.129574179649353, 0.6776344180107117, -0.4191451966762543, 0.5430671572685242, 0.020356126129627228, 0.39057502150535583, -0.4499591588973999, -0.02934104949235916, -0.4501652419567108, 0.09408663213253021, -0.7147667407989502, -0.3471372723579407, 0.25088587403297424, -0.05818754807114601, -0.34206244349479675, 0.20002534985542297, -0.3052108585834503, 0.4119258522987366, 0.17697884142398834, 0.06139873340725899, 0.31284213066101074, 0.07039796561002731, -0.05791624262928963, -0.03555778041481972, -0.2580040693283081, -0.8991218209266663, 0.7642267942428589, 0.4219834804534912, 0.7287189960479736, 0.3897022008895874, 0.5517856478691101, 0.858112096786499, 0.36840924620628357, -0.7251430153846741, 0.613586962223053, -0.40747687220573425, -0.8653820753097534, -0.08762646466493607, -0.32380226254463196, -0.4568924009799957, 0.1838299185037613, -0.3381950557231903, -0.6422263979911804, 0.12934117019176483, 0.08181269466876984, -0.13624784350395203, 0.48394209146499634, -0.44036442041397095, 0.849125325679779, -0.3978413939476013, -0.7002843022346497, -0.2579251229763031, -0.5424383282661438, 0.4961302578449249, -0.15463261306285858, 0.8216598033905029, -0.34122756123542786, -0.036622002720832825, 0.565612256526947, 0.08893194049596786, 1.1750082969665527, -0.44222939014434814, -0.2749132812023163, 0.37747353315353394, 0.35628870129585266, 0.10761071741580963, 0.10084525495767593, -0.18827319145202637, 0.30392396450042725, -0.14905372262001038, -0.2120850384235382, -0.11440883576869965, 0.7036470174789429, -0.3622394800186157, -0.2710527181625366, -0.3863282799720764, -0.20566537976264954, -0.13756370544433594, 0.4671187400817871, -0.08430401235818863, 0.05780038982629776, -0.41431593894958496, 0.06284661591053009, 0.7036095261573792, -0.6657766103744507, 0.22853733599185944, 0.34834060072898865, -0.25729674100875854, -0.3159894645214081, 1.1881189346313477, -0.27359312772750854, -0.05720771104097366, 0.1116802990436554, 0.2928294539451599, -0.28051576018333435, -0.5728760957717896, -0.4708195626735687, 0.012825481593608856, -0.8300431966781616, -0.3417075574398041, -0.724600076675415, 0.004415517672896385, -0.4100037217140198, 0.035812389105558395, -0.10359648615121841, -0.05337700620293617, -0.01558500062674284, -0.03207078203558922, -0.00405430281534791, 0.5616956949234009, -0.2742254436016083, 0.16116349399089813, -0.9463170766830444, 0.2851008474826813, -0.006456845439970493, 0.43979352712631226, -0.004483907017856836, -0.216142937541008, -0.1502717286348343, 0.08340255916118622, -0.24047686159610748, -0.9459724426269531, 0.34647461771965027, 0.14124764502048492, 0.550685703754425, 0.7844520211219788, 0.4982641041278839, 0.17479410767555237, -0.1061684787273407, 0.5475706458091736, 0.052882418036460876, -0.8759011626243591, 0.58917236328125, -0.4698083996772766, -0.11092448234558105, 0.6512216925621033, 0.6612430810928345, -0.8897804617881775, -0.6851984858512878, -0.2624926269054413, -0.8567361235618591, 0.3941490948200226, 0.1490146666765213, 0.6065019965171814, -0.33673006296157837, 0.01814045011997223, 0.15154977142810822, 0.19575659930706024, -0.8618563413619995, -0.17106015980243683, -0.29138150811195374, -0.3953346312046051, 0.21075616776943207, -0.20807543396949768, -0.030620211735367775, -0.1135859414935112, 0.9482259750366211, -0.03031853958964348, -0.02401214838027954, -0.13442225754261017, -0.5375286340713501, -0.4118865728378296, 0.3880576491355896, 0.056599631905555725, 0.22091692686080933, 0.09166879206895828, 0.2211710512638092, 0.05632534623146057, -0.5574970245361328, -0.06313833594322205, 0.014301390387117863, -0.44459500908851624, -0.15382413566112518, 0.38606077432632446, 0.4071913957595825, 0.10277089476585388, -0.8532387614250183, 0.9160861372947693, -0.1672474890947342, 0.14290179312229156, -0.4455626308917999, 0.15564373135566711, -0.1337500810623169, 0.1384495198726654, 0.2792207598686218, -0.16692374646663666, 0.5348725318908691, -0.46966710686683655, 0.3809894621372223, 0.525952160358429, -0.774444043636322, -0.36795344948768616, 0.4547045826911926, 0.3926030695438385, 0.013918254524469376, 0.025735866278409958, -0.521271288394928, -0.9646892547607422, 0.31986406445503235, 0.23837867379188538, 0.9225292205810547, -0.21221493184566498, 0.4750835597515106, 0.4381621778011322, 0.3839327394962311, 0.3891996145248413, 0.552736222743988, -0.1713077276945114, -0.8529280424118042, -0.29247766733169556, -0.8630342483520508, -0.09282603114843369, -0.011345049366354942, -0.6540849208831787, 0.1660764366388321, -0.8299855589866638, -0.058250270783901215, -0.011198586784303188, 0.2035355567932129, -0.3366868793964386, 0.3687661290168762, 0.4384157657623291, 0.5665411353111267, -1.27028489112854, 0.5138272643089294, 0.8256955742835999, -0.5216187834739685, -0.4281446635723114, 0.10779593139886856, 0.43779271841049194, -0.610842764377594, 0.34868887066841125, 0.2174868881702423, -0.4359424114227295, -0.19888541102409363, -0.4455222189426422, -0.25818395614624023, 0.4987344443798065, 0.0488729327917099, -0.2540608048439026, 0.4379890263080597, 0.3404349386692047, 0.7367251515388489, -0.10001382231712341, -0.08543559908866882, 0.37688106298446655, 0.5447982549667358, -0.07811014354228973, -0.518386721611023, 0.5177677869796753, -0.556965708732605, -0.14659810066223145, 0.2596464157104492, -0.48029625415802, 0.511099100112915, 0.1532704085111618, -0.5842342972755432, -0.04558754712343216, 0.3239850401878357, -0.19945645332336426, 0.2722605764865875, 0.7364070415496826, 0.467406302690506, 0.32043027877807617, 0.08087038993835449, 0.6244708895683289, -0.3148103952407837, 0.24593698978424072, 0.8003380298614502, -0.1806066930294037, 0.7071685194969177, 0.1854424774646759, -0.03088138811290264, 0.6622903943061829, 0.2761642634868622, -0.015074487775564194, 0.5118659138679504, 0.24745765328407288, -0.6342555284500122, -0.4013083577156067, -0.6930001974105835, -0.18850532174110413, 0.469136506319046, 0.5401639342308044, -0.5361292362213135, -0.3369850218296051, 0.13721635937690735, 0.29572075605392456, 0.5903335213661194, -0.33904722332954407, 0.8941320180892944, 0.06526614725589752, -0.10451669245958328, 0.15506665408611298, 0.28326594829559326, 1.0220777988433838, -0.4077731668949127, 0.06451188027858734, -0.19245469570159912, 0.19363006949424744, -0.4515581727027893, -0.8134039044380188, 0.6017837524414062, 0.2700394093990326, 0.22338134050369263, -0.10248131304979324, 1.2032126188278198, -0.2584022879600525, -0.4852712154388428, 0.6284328103065491, 0.6273684501647949, -0.007177275139838457, -0.17989017069339752, -0.8636936545372009, 0.3091298043727875, -0.07087112218141556, -0.009811450727283955, 0.2163032740354538, 0.5025761723518372, -0.3984452486038208, 0.4510176181793213, 0.638733983039856, -0.0037568011321127415, 0.03848522901535034, 0.28092047572135925, 1.0000312328338623, -0.5605452060699463, -0.5975245237350464, -0.7218057513237, 0.5280683636665344, -0.29904842376708984, 0.04530605301260948, 0.8545724749565125, 0.4774481952190399, 1.0570952892303467, 0.35190433263778687, 1.104690432548523, -0.3305666744709015, 0.4887266457080841, 0.017709219828248024, 0.8929693102836609, -0.5965043902397156, 0.3154577910900116, -0.6452252864837646, -0.7784995436668396, -0.7292492985725403, 0.7566193342208862, -0.16091188788414001, -0.04726007208228111, 0.4454171359539032, 0.9109855890274048, 0.012618576176464558, 0.1668769121170044, 0.20580941438674927, 0.20977914333343506, 0.35052335262298584, 0.3822319209575653, 0.8413313031196594, -0.3242485821247101, 0.7752178311347961, -0.6698036789894104, -0.20205819606781006, 0.03345924988389015, -0.8957067728042603, -1.1379501819610596, -0.3145020306110382, -0.3988291025161743, -0.4204044044017792, 0.29750508069992065, 0.8212592005729675, 0.4215606153011322, -1.1746697425842285, -0.1491084098815918, 0.1931818425655365, 0.15391872823238373, -0.021837903186678886, -0.23438666760921478, 0.18788830935955048, -0.09514155983924866, -0.6495181322097778, 0.027611158788204193, 0.32129526138305664, -0.22477373480796814, -0.45720651745796204, -0.11575264483690262, -0.2766338586807251, -0.055416304618120193, 0.727645993232727, 0.3413398563861847, -0.3730558156967163, -0.4658779501914978, -0.050548940896987915, -0.15659427642822266, -0.17050236463546753, 0.5360572338104248, -0.33700209856033325, 0.46048444509506226, 0.5281476378440857, 0.659183144569397, 0.007804313208907843, -0.11002065241336823, 0.24513746798038483, -0.8659493923187256, 0.05633403733372688, 0.43769776821136475, 0.1967826634645462, 0.617506206035614, -0.514200747013092, 0.42048510909080505, 0.19051414728164673, -0.035956405103206635, -0.7174121737480164, 0.32936975359916687, -0.836107075214386, -0.3214656114578247, 1.3046646118164062, -0.2034597247838974, -0.22902911901474, -0.5171369314193726, -0.3369261622428894, 0.4755740463733673, -0.557188868522644, 0.9155772924423218, 0.4938468933105469, 0.21929991245269775, 0.0333411879837513, -0.4476672410964966, 0.4068692922592163, 0.23423375189304352, -0.8217834234237671, 0.10722538828849792, 0.5990294218063354, 0.43094417452812195, 0.06024938449263573, 0.5469202399253845, -0.4633806049823761, 0.3437586724758148, -0.3982490003108978, 0.04305928200483322, -0.05640426278114319, -0.06620146334171295, -0.43999141454696655, 0.24178680777549744, -0.13269482553005219, -0.021729741245508194 ]
http://arxiv.org/abs/2403.01267v1
http://arxiv.org/pdf/2403.01267v1
Dissecting Language Models: Machine Unlearning via Selective Pruning
2024-03-02T17:10:44
2024-03-02T17:10:44
Nicholas Pochinkov, Nandi Schoots
cs.LG
cs.LG, cs.CL
Understanding and shaping the behaviour of Large Language Models (LLMs) is increasingly important as applications become more powerful and more frequently adopted. This paper introduces a machine unlearning method specifically designed for LLMs. We introduce a selective pruning method for LLMs that removes neurons based on their relative importance on a targeted capability compared to overall network performance. This approach is a compute- and data-efficient method for identifying and removing neurons that enable specific behaviours. Our findings reveal that both feed-forward and attention neurons in LLMs are specialized; that is, for specific tasks, certain neurons are more crucial than others.
[ -0.34132206439971924, -0.9198459982872009, 0.31646373867988586, -0.06216873601078987, -0.3858836889266968, 0.36080896854400635, -0.5195518136024475, -0.010194976814091206, 0.08676189929246902, 0.6660182476043701, -0.8410897254943848, -0.13561555743217468, -0.5166028141975403, -0.13026954233646393, -0.6809722781181335, 0.8481045365333557, 0.21970608830451965, -0.012297233566641808, -0.294262558221817, -0.054974596947431564, -0.43398317694664, -0.5478219985961914, -0.735856294631958, -0.813421905040741, 0.8284966349601746, 0.26602494716644287, 0.5244678854942322, 0.7209430932998657, 0.33640626072883606, 0.44927963614463806, -0.6799112558364868, 0.2368548959493637, -0.8229398131370544, 0.2167542427778244, -0.2533166706562042, -0.5513331294059753, -0.2727922201156616, -0.04930571839213371, 0.8563036322593689, 0.990641713142395, -0.09938064217567444, 0.04118536040186882, 0.4481239318847656, 0.676666259765625, -0.432464599609375, -0.010082479566335678, -0.953301191329956, 0.10427281260490417, -0.21406620740890503, -0.13056355714797974, -0.6502386927604675, 0.07658681273460388, -0.12731993198394775, -0.24285422265529633, 0.4014846980571747, -0.37952178716659546, 0.6598852872848511, 0.3154066801071167, -0.3460920453071594, 0.08353740721940994, -0.7706372737884521, 1.0128229856491089, -0.2471376210451126, 0.16345816850662231, 0.38859981298446655, 0.11708901822566986, -0.2121559977531433, -0.7718189358711243, -0.19078831374645233, -0.013976175338029861, -0.24186880886554718, -0.13151587545871735, -0.26329997181892395, 0.20978668332099915, 0.28234729170799255, 0.38288986682891846, -0.5473787784576416, 0.3567441999912262, -0.67205810546875, -0.20902341604232788, 0.5039768218994141, 0.08406005799770355, 0.4463791251182556, 0.06587239354848862, 0.016378723084926605, 0.22047053277492523, -0.9438253045082092, -0.1530466228723526, 0.5730497241020203, 0.0877087414264679, 0.5200167894363403, 0.7079116702079773, -0.062381334602832794, 0.8831288814544678, -0.2266356199979782, -0.092229925096035, 0.1275324821472168, 0.2017289400100708, -0.40332698822021484, -0.15284627676010132, 0.7284308671951294, -0.009239324368536472, 0.691199779510498, -0.49866071343421936, -0.5553653240203857, 0.022332515567541122, 0.503460705280304, -0.47979477047920227, -0.2882004380226135, 0.20929493010044098, -0.6091887950897217, -0.44335925579071045, -0.4206849932670593, -0.43271303176879883, -0.2544477880001068, -0.4443938434123993, 0.1966119110584259, -0.4605693817138672, -0.528256893157959, -0.1530863642692566, -0.3331426978111267, -0.020544100552797318, 0.10868620872497559, -0.9779589176177979, 0.29074010252952576, 0.7498748302459717, 0.6616036891937256, -0.3566195070743561, -0.3906534016132355, -0.4286007285118103, 0.12198334187269211, -0.29559481143951416, 0.37809672951698303, -0.8110565543174744, -0.41319653391838074, -0.27739417552948, 0.36110249161720276, -0.08323001861572266, -1.0112898349761963, 0.2758665084838867, -0.7174900770187378, -0.19644612073898315, -0.06696546077728271, -0.4190109968185425, -0.5454535484313965, 0.027489105239510536, -0.6998670697212219, 0.6430373787879944, 0.08973154425621033, -0.5077107548713684, 0.015100536867976189, -0.48044353723526, -0.7710597515106201, -0.01180582121014595, -0.06917909532785416, -0.3450394868850708, 0.43764007091522217, 0.06170998141169548, 0.5724866390228271, -0.16769559681415558, 0.6205801367759705, -0.2992464005947113, -0.26342156529426575, 0.1814800500869751, -0.6065316200256348, 0.9862335920333862, 0.5025803446769714, -0.05934686213731766, 0.4530205726623535, -0.7521985769271851, -0.010722469538450241, 0.3316560685634613, -0.2638987898826599, -0.2650792598724365, 0.29520383477211, -0.32317668199539185, 0.08146410435438156, 0.15210680663585663, -0.35694944858551025, 0.2036622315645218, -0.610576331615448, 1.2707669734954834, 0.7805310487747192, -0.07531169056892395, 0.6190990805625916, -0.3533600866794586, 0.40211254358291626, 0.1417255997657776, 0.1258772611618042, -0.11136242002248764, -0.41929155588150024, -0.8320539593696594, -0.48260900378227234, 0.22532092034816742, 0.18891160190105438, -0.5255365371704102, 0.3197678327560425, 0.10297774523496628, -0.46677330136299133, -0.6195405125617981, 0.4709837734699249, 0.3587090075016022, 0.3280755281448364, 0.2452334761619568, -0.2120169848203659, -0.6142310500144958, -1.0938007831573486, -0.4221853017807007, -0.048877689987421036, -0.1984289437532425, 0.0029990358743816614, 0.29795101284980774, -0.2228909283876419, 0.8735855221748352, -0.36926135420799255, -0.01164272055029869, -0.5429951548576355, -0.0909302830696106, 0.20596230030059814, 0.3100311756134033, 0.17122238874435425, -0.8423014283180237, -0.20506539940834045, 0.044768694788217545, -0.7024364471435547, 0.15466320514678955, -0.18507684767246246, 0.22427593171596527, -0.2590712308883667, 0.5765942931175232, -0.6905840039253235, 0.48748743534088135, 0.4777570962905884, 0.1936621069908142, 0.3346599340438843, -0.1431465446949005, -0.3901476263999939, -0.5520541667938232, 0.12494000047445297, -0.04099218547344208, -0.23775511980056763, -0.7382212281227112, -0.014272080734372139, 0.09796933829784393, -0.0915917232632637, -0.5090253949165344, 0.5240094065666199, -0.8301506638526917, -0.34905102849006653, -0.4581087827682495, 0.07341297715902328, 0.024779530242085457, 0.633148729801178, 0.1967046856880188, 0.5646946430206299, 0.6068031787872314, -0.7827767729759216, 0.2930992841720581, 0.0038784858770668507, -0.41554149985313416, -0.45952993631362915, -0.6450222134590149, 0.12861067056655884, -0.2207220047712326, -0.33403053879737854, -1.0177196264266968, 0.18112291395664215, 0.07179602235555649, -0.3558137118816376, 0.4938002824783325, -0.2893557846546173, -0.35731828212738037, -0.2700880467891693, 0.10413707792758942, 0.3666163682937622, 0.7454332113265991, -0.5249772667884827, 0.4851386845111847, 0.747840404510498, -0.24762561917304993, -0.41429048776626587, -0.6297121047973633, -0.11634618788957596, -0.3290901780128479, -0.3455272912979126, 0.5498957633972168, 0.09730108827352524, -0.4580840468406677, -0.0625617504119873, -0.0417557954788208, -0.2734432816505432, 0.40409114956855774, 0.403919517993927, -0.01588662900030613, -0.006777364294975996, 0.2244303971529007, 0.008825741708278656, -0.1457703709602356, 0.0734405592083931, 0.07671412080526352, 0.7926356792449951, 0.3165179491043091, -0.46974828839302063, -0.4202704131603241, 0.23712976276874542, 0.7358974814414978, -0.628900408744812, 0.5805703401565552, 0.4916146695613861, -0.24761587381362915, -0.5608824491500854, -0.23422938585281372, -0.5849577188491821, -0.5963939428329468, 0.6315674781799316, -0.3149533271789551, -0.8312391638755798, 0.3883526623249054, -0.2639175057411194, 0.28432682156562805, 0.15538328886032104, 0.647326648235321, 0.09153212606906891, 1.2834227085113525, 0.7361159324645996, -0.3709005117416382, 0.6515260338783264, -0.2091640830039978, 0.3730242848396301, -0.9342779517173767, -0.26335203647613525, -0.46830928325653076, -0.4936455488204956, -0.3186599910259247, -0.20718131959438324, -0.09101931005716324, 0.20766466856002808, -0.01979474164545536, 0.21002909541130066, -0.875584602355957, 0.6581907272338867, 0.46383020281791687, 0.18945367634296417, 0.17917753756046295, 0.19366203248500824, -0.16123275458812714, 0.14208893477916718, -0.7069032192230225, -0.6612610816955566, 1.020379662513733, 0.4656040370464325, 0.4960799217224121, -0.09756229817867279, 0.41798385977745056, -0.14643636345863342, 0.48771366477012634, -0.989109992980957, 0.7712830305099487, -0.25133076310157776, -0.7140130400657654, -0.42703118920326233, -0.5632151365280151, -1.1268709897994995, 0.451069712638855, 0.21258383989334106, -0.8717958331108093, -0.28517240285873413, 0.04609701409935951, -0.20485177636146545, 0.7078208923339844, -0.8709461688995361, 0.5573484301567078, -0.2537728548049927, -0.2784007787704468, -0.5095608234405518, -0.22183941304683685, 0.4497610330581665, -0.0012456277618184686, 0.11879117041826248, -0.18811966478824615, -0.033523011952638626, 0.806970477104187, -0.2688431441783905, 1.1736388206481934, -0.05162502080202103, 0.10530732572078705, 0.433170348405838, 0.4305374324321747, 0.4519566297531128, -0.1637635976076126, -0.19461041688919067, 0.1205865815281868, -0.3129729926586151, -0.21253341436386108, -0.3488253057003021, 0.770320475101471, -0.8436957001686096, -0.896941065788269, 0.037731993943452835, -0.5470017790794373, -0.2411566823720932, 0.19256864488124847, -0.06088227033615112, 0.3014029264450073, -0.24051135778427124, 0.17335595190525055, 0.7468112111091614, -0.251102089881897, 0.8995246887207031, 0.4831711947917938, -0.2669176459312439, -0.10407902300357819, 1.0770472288131714, 0.2960304617881775, 0.09579295665025711, 0.39671117067337036, -0.029674462974071503, -0.0836469829082489, -0.9104381203651428, 0.005463885143399239, 0.36696553230285645, -0.621796727180481, 0.09501855820417404, -0.5972608923912048, -0.49428707361221313, -0.11614379286766052, 0.08922760933637619, -0.3154848515987396, -0.2925125062465668, -0.6986430287361145, -0.23186999559402466, 0.22117629647254944, 0.9125196933746338, 0.17133410274982452, 0.646746039390564, -0.8534250855445862, 0.28863853216171265, 0.36535048484802246, 0.22037968039512634, 0.17104476690292358, -0.6384636163711548, 0.1483796238899231, -0.00009212725854013115, -0.39715495705604553, -0.8179976940155029, 0.8880069851875305, 0.2204495072364807, 0.8919844031333923, 0.7131607532501221, -0.19489158689975739, 0.5770344734191895, -0.5810877680778503, 0.39604443311691284, 0.39430129528045654, -0.7562889456748962, 0.5312313437461853, -0.2268187403678894, 0.26683309674263, 0.19856415688991547, 0.44270265102386475, -0.5188324451446533, -0.18159426748752594, -0.7498161792755127, -0.8903003334999084, 0.8124157190322876, 0.06390226632356644, 0.08987753838300705, -0.018797079101204872, 0.6043815612792969, 0.05270111933350563, 0.367133229970932, -0.5317341089248657, -0.26732000708580017, 0.3267555832862854, -0.11567861586809158, -0.5272676944732666, -0.42862558364868164, -0.2476433962583542, -0.41593337059020996, 0.4715489149093628, 0.14579766988754272, -0.011062055826187134, -0.2480114847421646, -0.45048558712005615, -0.06598979979753494, 0.001589526771567762, 0.25198790431022644, 0.7934024333953857, 0.10973584651947021, 0.16057389974594116, 0.16476038098335266, -0.46077626943588257, 0.15804551541805267, -0.6999796628952026, -0.20962898433208466, -0.026867160573601723, 0.3687364161014557, 0.560430645942688, 0.00574873061850667, -0.64072585105896, 0.17525462806224823, 0.009550290182232857, -0.25139057636260986, -0.047874510288238525, 0.3631938695907593, 0.3035680949687958, -0.025092989206314087, 0.06611302495002747, 0.20893092453479767, -0.09527423977851868, -0.6044871211051941, 0.3728434145450592, 0.3590985834598541, -0.7077246904373169, -0.5162057876586914, 0.05953821912407875, 0.3351902365684509, -0.6406812071800232, 0.8622844219207764, -0.007383190095424652, -0.3690686821937561, 0.8490040302276611, 0.5477063059806824, 0.9344912767410278, -0.3513289988040924, 0.25218039751052856, 0.13674630224704742, 0.548725426197052, -0.05736612528562546, 0.0571051687002182, 0.0454668328166008, -0.8155202865600586, -0.755367636680603, -0.6224672794342041, 0.01994163542985916, 0.5797264575958252, -0.6649162173271179, 0.04086301848292351, -0.7279832363128662, -0.24833416938781738, 0.34322062134742737, -0.10956373810768127, -0.4059748649597168, 0.14745394885540009, -0.0178376454859972, 0.7355353236198425, -0.7146642208099365, 1.2818728685379028, 0.763413667678833, -0.055032879114151, -0.6238945722579956, -0.3171517848968506, 0.09893729537725449, -0.9393748044967651, 0.6652529239654541, 0.09624714404344559, 0.0063528683967888355, 0.12133506685495377, -0.4574500620365143, -0.6382099986076355, 0.5995147228240967, 0.6242995262145996, -1.0524064302444458, 0.1400335431098938, -0.10529135912656784, 0.12450843304395676, -0.11457347869873047, 0.4271775186061859, 0.5707172155380249, 0.3755590617656708, -0.16693048179149628, -0.6488752365112305, -0.1552838534116745, -0.1851748377084732, -0.19951023161411285, 0.4001820385456085, -0.7138839364051819, 0.9594282507896423, -0.15807107090950012, -0.19364260137081146, -0.20277859270572662, 0.43636590242385864, 0.07607918977737427, -0.0830204039812088, 0.625227689743042, 0.35286808013916016, 1.0516092777252197, -0.08080070465803146, 0.48978662490844727, -0.24061737954616547, 0.033549435436725616, 0.9223921298980713, -0.38619714975357056, 0.7088232040405273, 0.8183443546295166, -0.08512195944786072, -0.04934083670377731, 0.7450928092002869, 0.20492149889469147, 0.6346479058265686, 0.6109976172447205, -0.15033024549484253, -0.5431836843490601, 0.15075846016407013, 0.1399613320827484, 0.5288786292076111, 0.5575130581855774, -0.48404401540756226, -0.21166366338729858, 0.04987727105617523, 0.00006579028558917344, 0.03183355554938316, -0.4841881990432739, 0.9230743050575256, 0.22721563279628754, -0.8237454295158386, 0.632131814956665, 0.1649782508611679, 0.4076809883117676, -0.57492995262146, 0.04404781013727188, -0.1950969398021698, 0.44237780570983887, -0.3114696145057678, -0.6017158031463623, 0.5459245443344116, 0.021071380004286766, -0.40317824482917786, -0.4984779953956604, 0.8076775670051575, -0.24076621234416962, -0.1946486234664917, 0.6786715984344482, 0.5475146770477295, 0.3239511251449585, -0.2704682946205139, -0.8190813660621643, 0.22976845502853394, 0.5245306491851807, -0.6555331945419312, 0.7906692028045654, 0.46145930886268616, -0.06633776426315308, 1.0897243022918701, 0.7361249327659607, 0.18768222630023956, -0.2381892204284668, 0.18157409131526947, 1.2337472438812256, -0.7193928360939026, -0.12018712610006332, -1.1587047576904297, 0.4759639501571655, -0.053117536008358, -0.24250173568725586, 0.565509557723999, 0.4185682535171509, 0.6129258275032043, 0.16288697719573975, 0.8052160739898682, 0.30021920800209045, 0.3774290978908539, -0.348228394985199, 0.9459888935089111, -0.5364587903022766, 0.5598751902580261, 0.3004058599472046, -0.79195237159729, -0.1299596130847931, 0.5837237238883972, -0.4805201292037964, 0.14107787609100342, 0.5988099575042725, 1.094849944114685, -0.1040806770324707, 0.09261825680732727, 0.675903856754303, 0.2838864028453827, 0.21009384095668793, 0.2849924862384796, 1.0751510858535767, 0.18618887662887573, 0.6605328917503357, -0.29625198245048523, -0.24449729919433594, -0.08114014565944672, -0.6105495095252991, -1.1089544296264648, -0.3956531882286072, -0.37197577953338623, 0.11929243057966232, 0.12539809942245483, 0.3051517605781555, 0.8748573064804077, -0.7698222994804382, -0.37107327580451965, -0.253070205450058, 0.5452753901481628, -0.30633923411369324, -0.12799467146396637, 0.20693561434745789, -0.5480849742889404, -0.5862483382225037, 0.8116295337677002, 0.37526416778564453, -0.27114802598953247, -0.436015784740448, 0.08209049701690674, -0.09601065516471863, -0.13938504457473755, 0.5093864798545837, 0.2920673191547394, -0.6517833471298218, 0.06346389651298523, -0.0833483412861824, 0.05367324873805046, -0.04424124211072922, 0.9849459528923035, -0.7208859920501709, 0.12158727645874023, 0.5559316277503967, 0.35237014293670654, 0.4179672300815582, -0.2980320155620575, 0.7322695851325989, -0.9779425859451294, 0.4617331922054291, 0.4913441836833954, 0.4809076488018036, 0.12127695977687836, -0.14466170966625214, 0.2057931274175644, 0.16497302055358887, -0.5216333866119385, -1.1180998086929321, 0.27858424186706543, -0.48651593923568726, -0.8802868723869324, 1.2933992147445679, -0.23459458351135254, -0.8449413776397705, -0.21564722061157227, -0.18280190229415894, 0.280188649892807, -0.12578052282333374, 0.3610554039478302, 0.47528213262557983, 0.19951176643371582, -0.33578184247016907, -0.5884199142456055, 0.3727697730064392, 0.6849380135536194, -0.2908165156841278, 0.3904353678226471, 0.18673156201839447, 0.40394899249076843, -0.12261389195919037, 0.425235390663147, -0.1557736098766327, -0.20304632186889648, -0.15525609254837036, 0.2648509740829468, -0.16192106902599335, -0.6913855075836182, -0.535491943359375, 0.5377137660980225, 0.2281600683927536, -0.2617071866989136 ]
http://arxiv.org/abs/2403.04783v1
http://arxiv.org/pdf/2403.04783v1
AutoDefense: Multi-Agent LLM Defense against Jailbreak Attacks
2024-03-02T16:52:22
2024-03-02T16:52:22
Yifan Zeng, Yiran Wu, Xiao Zhang, Huazheng Wang, Qingyun Wu
cs.LG
cs.LG, cs.CL, cs.CR
Despite extensive pre-training and fine-tuning in moral alignment to prevent generating harmful information at user request, large language models (LLMs) remain vulnerable to jailbreak attacks. In this paper, we propose AutoDefense, a response-filtering based multi-agent defense framework that filters harmful responses from LLMs. This framework assigns different roles to LLM agents and employs them to complete the defense task collaboratively. The division in tasks enhances the overall instruction-following of LLMs and enables the integration of other defense components as tools. AutoDefense can adapt to various sizes and kinds of open-source LLMs that serve as agents. Through conducting extensive experiments on a large scale of harmful and safe prompts, we validate the effectiveness of the proposed AutoDefense in improving the robustness against jailbreak attacks, while maintaining the performance at normal user request. Our code and data are publicly available at https://github.com/XHMY/AutoDefense.
[ -0.5810081958770752, -0.9083224534988403, 0.39854520559310913, 0.11815355718135834, -0.00664886087179184, 0.4881044924259186, 0.03739066421985626, -0.5607850551605225, 0.24271927773952484, 0.7095584869384766, -0.5641090273857117, -0.50983065366745, -0.5593271851539612, 0.1897612363100052, -0.38427063822746277, 0.8826703429222107, 0.12899865210056305, -0.1133812889456749, 0.0715281069278717, 0.04585538059473038, -0.6489608287811279, -0.5408729910850525, -0.6871114373207092, -0.014581273309886456, 0.4008873403072357, 0.34306058287620544, 0.5955946445465088, 0.446850061416626, 0.6105144619941711, 0.395922988653183, 0.3204020857810974, -0.06289932131767273, -0.036938972771167755, 0.7911633253097534, -0.25895044207572937, -0.2258668839931488, -0.6841837763786316, 0.040397047996520996, 0.0077676246874034405, -0.19270826876163483, -0.26500630378723145, -0.14543786644935608, -0.13728328049182892, 0.47118136286735535, -0.7855223417282104, -0.3841557502746582, -0.6833796501159668, -0.06407009810209274, 0.057029157876968384, 0.2872922122478485, -0.5467158555984497, -0.23239828646183014, -0.08902963250875473, -0.137939915060997, -0.249439999461174, 0.17794987559318542, 0.3829376697540283, 0.2889541983604431, -0.26831820607185364, -0.16677021980285645, -0.18947364389896393, 0.3691156208515167, -0.743033766746521, 0.060335658490657806, 0.42385610938072205, 0.23541001975536346, -0.5608496069908142, -0.2724635899066925, -0.4647673964500427, -0.4711993336677551, 0.08875305950641632, 0.010017179884016514, -0.5486268997192383, 0.36348336935043335, 0.02092243731021881, 0.06807807087898254, -0.8041313886642456, 0.3080395758152008, 0.02344255894422531, -0.39931720495224, 0.726386308670044, 0.2622027099132538, 0.6994513869285583, -0.08435045182704926, -0.599217414855957, -0.12386809289455414, -0.6557934880256653, 0.10793706774711609, 0.5252615213394165, 0.035806119441986084, -0.14758647978305817, 0.4207330048084259, -0.14756223559379578, 0.6556307077407837, 0.2339693158864975, -0.09206615388393402, -0.062105245888233185, -0.25528985261917114, -0.19448640942573547, 0.057054243981838226, 0.9571927785873413, 0.42203861474990845, 0.18629415333271027, -0.289861798286438, -0.29184895753860474, -0.02319357544183731, 0.46525368094444275, -1.0502878427505493, -0.10070033371448517, 0.3088512122631073, -0.2977573573589325, -0.7046253681182861, 0.2656340003013611, -0.9321606755256653, -0.8995205760002136, 0.2567451298236847, 0.16611585021018982, -0.3531126379966736, -0.26039865612983704, 0.34946775436401367, 0.0735228881239891, 0.16731837391853333, 0.020581398159265518, -0.6166865229606628, 0.5085315108299255, 0.4680369198322296, 0.73039710521698, -0.2865717113018036, -0.42139336466789246, -0.9654757976531982, 0.20884296298027039, -0.10377590358257294, 1.0045336484909058, -0.23757095634937286, -0.5534508228302002, -0.4090292155742645, 0.04055115208029747, -0.2566002607345581, -0.5059398412704468, 0.2378605306148529, -0.7933282256126404, -0.31395527720451355, 0.20134970545768738, -0.40733802318573, -0.03608269616961479, 0.472847580909729, -0.7562628984451294, 0.5203972458839417, 0.018970279023051262, -0.602918803691864, -0.022147946059703827, -0.6157255172729492, -0.6033437848091125, -0.057541560381650925, 0.05454001575708389, -0.38040679693222046, -0.09078894555568695, 0.3383387625217438, 0.30836221575737, -0.3631124198436737, 0.20683389902114868, -0.7614104151725769, 0.05903562158346176, 0.25824329257011414, -0.28945431113243103, 0.7496665120124817, 0.5946044325828552, -0.49768802523612976, 0.4340285360813141, -0.5036704540252686, 0.009901745244860649, 0.2948716878890991, -0.17199945449829102, -0.3811517357826233, 0.11049102991819382, -0.2827070355415344, 0.24627986550331116, 0.24448160827159882, -0.8327281475067139, 0.2802355885505676, -0.5567780137062073, 0.35223397612571716, 0.7509644031524658, 0.15434971451759338, 0.4263528287410736, -0.3539346158504486, 0.809940755367279, -0.009747766889631748, 0.5462793111801147, -0.2344713658094406, -0.3079683184623718, -0.07271271198987961, -0.5303099155426025, -0.31145811080932617, 0.9123949408531189, -0.6507085561752319, 0.5763168931007385, 0.36603471636772156, -0.37619340419769287, -0.37604066729545593, 0.447674959897995, 0.3179652690887451, 0.32312601804733276, 0.40316420793533325, -0.44470906257629395, -0.5718696713447571, -0.7196208238601685, -0.3094853162765503, -0.4373752474784851, 0.26149171590805054, -0.026403142139315605, 0.30202028155326843, -0.48286211490631104, 0.8933351635932922, -0.5347394943237305, -0.12471991032361984, -0.28550583124160767, -0.21950632333755493, -0.009967186488211155, 0.34958574175834656, 0.9719131588935852, -0.2924792766571045, -0.559689462184906, -0.4362032413482666, -0.6891497373580933, -0.554853618144989, 0.08380887657403946, -0.10486303269863129, 0.12769542634487152, 0.7502766251564026, -0.6423588395118713, 0.39728298783302307, 0.34630611538887024, -0.8116359114646912, 0.6846386194229126, -0.12027589976787567, 0.07048286497592926, -1.1549016237258911, -0.43736574053764343, -0.12329846620559692, -0.4592353105545044, -0.6641582250595093, 0.2676001489162445, -0.04584631696343422, 0.014491740614175797, -0.4021395444869995, 0.6205733418464661, -0.20817342400550842, 0.16623122990131378, -0.7760761976242065, 0.20585225522518158, 0.16244959831237793, -0.05045328661799431, -0.3526356816291809, 1.0040464401245117, 0.6165279746055603, -0.3373895585536957, 0.9021850228309631, 0.1478486955165863, -0.16607765853405, 0.6994463205337524, -0.7171255350112915, 0.2583298683166504, -0.05664890259504318, 0.3800569474697113, -0.9561554789543152, -0.09933637827634811, 0.4596617519855499, -0.35448792576789856, 0.07038765400648117, -0.24991977214813232, -0.5313829183578491, -0.5156668424606323, -0.6720200181007385, 0.12011686712503433, 0.11099743843078613, -0.5690951347351074, 0.5974990129470825, 0.5337039828300476, -0.3312343657016754, -0.5848209857940674, -0.39176395535469055, 0.5497827529907227, -0.5328974723815918, -0.7833861112594604, 0.0011184279574081302, -0.5272694826126099, -0.5364835262298584, -0.17547565698623657, 0.06624404340982437, -0.1473167985677719, 0.6524868011474609, 0.41150423884391785, 0.49027299880981445, -0.012838704511523247, -0.16662372648715973, -0.14049680531024933, 0.015350968576967716, 0.5155825018882751, -0.30458566546440125, 0.5671306848526001, -0.19981813430786133, -0.42673295736312866, -0.23786108195781708, 0.5401121973991394, 0.9609560370445251, -0.42575204372406006, 0.7392857670783997, 0.49566367268562317, 0.04437282308936119, -0.273422509431839, -0.5707252025604248, -0.40499818325042725, -0.5604792833328247, 0.3552166819572449, -0.31460997462272644, -0.988010048866272, 0.4191131889820099, 0.14991098642349243, 0.05127432569861412, 0.03902488574385643, 0.5849397778511047, 0.013142166659235954, 0.8697015047073364, 0.3686198592185974, -0.7794865965843201, 0.6294684410095215, 0.050550393760204315, 0.09078144282102585, -0.562465250492096, -0.04142165556550026, -0.4554968476295471, 0.13941602408885956, -0.3700736463069916, 0.11131109297275543, 0.17986755073070526, -0.15147794783115387, -0.4768178164958954, 0.6413678526878357, -0.41684654355049133, 0.5466505885124207, 0.31935447454452515, 0.06421671062707901, 0.15150032937526703, -0.19485560059547424, -0.19204430282115936, 0.5277424454689026, -0.3538456857204437, -0.48234936594963074, 0.9848031997680664, 0.45308300852775574, 1.2226406335830688, 0.4986282289028168, 0.9060972332954407, 0.6901558041572571, 0.28196215629577637, -0.666820228099823, 0.6962187886238098, -0.04013554006814957, -0.7862163186073303, -0.18425388634204865, -0.21737068891525269, -0.8363848328590393, 0.5369430184364319, 0.025538288056850433, -0.8417143225669861, -0.001369303441606462, 0.0003369735204614699, -0.6289412975311279, 0.4195635914802551, -0.7278831005096436, 0.7223256230354309, -0.5314651727676392, -0.3578377366065979, -0.3645004332065582, -0.6043667197227478, 0.3582926094532013, -0.2774120271205902, 0.44044065475463867, -0.34673237800598145, 0.24619373679161072, 0.5030308365821838, -0.6987819075584412, 1.031718134880066, -0.47645679116249084, -0.23126880824565887, 0.6001064777374268, 0.3313443958759308, 0.6730729937553406, 0.4306344985961914, -0.011103744618594646, -0.4074312448501587, 0.048672281205654144, -0.16374455392360687, -0.3214896619319916, 0.7047567367553711, -0.685359001159668, -1.0079965591430664, -0.3498811721801758, -0.6353079080581665, 0.06772147119045258, 0.2383478730916977, -0.062347520142793655, 0.04911324754357338, -0.19182142615318298, -0.09609542042016983, 0.7540039420127869, -0.3247961699962616, 0.8570753335952759, 0.928130030632019, -0.2643844783306122, -0.7264521718025208, 0.49939149618148804, -0.3023967146873474, 0.2031998336315155, -0.07447715103626251, 0.1407192349433899, -0.2087770253419876, -0.591222882270813, -0.4490644037723541, -0.13417837023735046, -0.4408552348613739, -0.6833879351615906, -0.5848222970962524, -0.21101826429367065, -0.6764134764671326, 0.02502431534230709, -0.2776337265968323, -0.11163116246461868, 0.11054275929927826, -0.17910034954547882, 0.6307513117790222, 0.6267709136009216, -0.2920081913471222, 0.48748719692230225, -0.8418467044830322, 0.549984335899353, 0.3045959174633026, 0.22203119099140167, -0.1502424031496048, -0.5219234824180603, -0.1994168907403946, -0.14582248032093048, -0.45519348978996277, -1.1104151010513306, 0.3375842869281769, 0.018942946568131447, 0.7103615403175354, 0.34867221117019653, 0.6300584077835083, 0.19704324007034302, -0.4884657561779022, 0.35533633828163147, 0.15465228259563446, -0.8133916258811951, 0.6069756150245667, -0.13199461996555328, 0.16469542682170868, 0.721193253993988, -0.19978827238082886, -0.1453734189271927, -0.7729882001876831, -0.1671338975429535, -0.8061258792877197, 0.5616036653518677, -0.011534232646226883, 0.18334724009037018, -0.16818830370903015, 0.23656058311462402, -0.25372838973999023, 0.13520652055740356, -0.7722612619400024, -0.18071873486042023, -0.3537156879901886, -0.17149576544761658, 0.2635539472103119, -0.1886489987373352, -0.14363741874694824, -0.07509321719408035, 0.6607184410095215, 0.1049744039773941, -0.025944681838154793, 0.2077196091413498, -0.47020062804222107, 0.05514642223715782, 0.6021333932876587, 0.5959489345550537, -0.12646737694740295, -0.08840660005807877, 0.28488457202911377, 0.1584913283586502, -0.9260455369949341, 0.8268508315086365, 0.2697018086910248, -0.05306955426931381, -0.5060985088348389, 0.28021109104156494, 0.5544593334197998, -0.2814536690711975, -0.7141693234443665, 0.5829159021377563, -0.2152874618768692, 0.14102081954479218, -0.30841776728630066, 0.5543263554573059, -0.24151937663555145, 0.44327598810195923, 0.23516219854354858, -0.08779627084732056, 0.11089758574962616, -0.31379011273384094, 0.4678196310997009, 0.4777756333351135, -0.21650096774101257, -0.23548604547977448, 0.732977569103241, 0.162937730550766, -0.1485191434621811, 0.36806774139404297, -0.15366418659687042, -0.5850242376327515, 0.9649455547332764, 0.6976712942123413, 1.1568516492843628, -0.7768990397453308, -0.008552178740501404, 0.029038524255156517, 0.7445533275604248, 0.1530131846666336, 0.2363671511411667, 0.05689900740981102, -0.834162175655365, -0.3621608316898346, -0.43597662448883057, -0.26948821544647217, 0.2894801199436188, -0.3813871443271637, -0.1467038094997406, -0.6731299161911011, -0.45447269082069397, -0.2548903822898865, -0.24628694355487823, -0.10170929878950119, 0.06995042413473129, 0.1889677345752716, 0.9921988844871521, -0.5357033014297485, 0.988267183303833, 0.8298390507698059, -0.3106251060962677, -0.5161429643630981, -0.0026018493808805943, 0.37173402309417725, -0.5755665898323059, 0.45397230982780457, 0.24056115746498108, -0.6035206317901611, -0.19849750399589539, -0.5239861011505127, -0.7532690167427063, 0.7491173148155212, 0.42845964431762695, -0.4466310739517212, 0.22121362388134003, 0.0414142943918705, 0.1716851145029068, -0.6175603270530701, 0.1499183624982834, 0.558227002620697, 0.5297103524208069, -0.3925206959247589, -0.6713916063308716, 0.17576757073402405, -0.27132168412208557, -0.2991146445274353, 0.19203132390975952, -0.5477380752563477, 0.46836763620376587, -0.37094226479530334, 0.2375754565000534, 0.13833209872245789, 0.3710646629333496, 0.3560383915901184, 0.36928942799568176, 0.7242133617401123, 0.607370138168335, 0.22589707374572754, 0.17115727066993713, 0.7882765531539917, -0.5566604137420654, -0.02053874172270298, 1.3032876253128052, -0.5589806437492371, 0.4492621421813965, 0.1829911470413208, 0.07455971837043762, 0.5375192761421204, 0.43197786808013916, -0.30981364846229553, 0.6926982402801514, 0.41264432668685913, -0.5826783776283264, -0.08378484845161438, 0.04593877121806145, -0.1716490387916565, 0.4573896825313568, 0.26201131939888, -0.1830262839794159, -0.4197874665260315, 0.720732569694519, 0.2941073179244995, 0.09414359927177429, -0.22930417954921722, 1.0078126192092896, 0.07979908585548401, -0.49435335397720337, 0.36189964413642883, 0.2585388123989105, 0.6203517913818359, -0.6018074154853821, 0.45662447810173035, -0.24456088244915009, 0.21007299423217773, -0.19466863572597504, -0.7583295106887817, 0.3785763680934906, 0.37927693128585815, -0.361313134431839, -0.06932778656482697, 0.9942542314529419, -0.0762413963675499, 0.22174333035945892, 0.9473755359649658, 0.3303585648536682, -0.10088852047920227, -0.2145141065120697, -0.864037036895752, 0.11656790971755981, -0.13024723529815674, -0.47831088304519653, 0.43136927485466003, -0.027609150856733322, -0.061721544712781906, 0.7962551116943359, 0.5695631504058838, 0.05935144051909447, 0.2611585259437561, 0.07134605199098587, 1.0312774181365967, -0.4651855528354645, -0.4818097949028015, -1.3363471031188965, 0.1367083042860031, -0.19225287437438965, 0.35636675357818604, 0.7311083674430847, 0.49266317486763, 0.5375217199325562, 0.08710988610982895, 0.9748163223266602, -0.2559843957424164, 0.27076849341392517, -0.2805408835411072, 1.030027151107788, -0.014133591204881668, 0.5814785361289978, -0.3554050028324127, -0.5754387378692627, -0.11439947038888931, 0.4504300355911255, -0.1961960643529892, -0.041414421051740646, 0.5152572393417358, 0.8436958193778992, 0.19415998458862305, -0.20994877815246582, 0.3552338778972626, 0.19566287100315094, 0.6577522158622742, 0.5059860348701477, 0.8494598865509033, -0.15492412447929382, 0.6364582777023315, -0.010920887812972069, -0.29685094952583313, 0.033820852637290955, -0.7372420430183411, -1.1468425989151, -0.07187879085540771, -0.10799134522676468, -0.4935010075569153, 0.24057412147521973, 1.1371029615402222, 0.7645353674888611, -0.9121675491333008, -0.37156781554222107, 0.04243917390704155, 0.14610843360424042, 0.12155241519212723, -0.20080861449241638, -0.06337396800518036, -0.5339063405990601, -0.10415884107351303, 0.9605147242546082, 0.3173149824142456, 0.11658403277397156, -0.1409073919057846, -0.1301521211862564, -0.2014211118221283, 0.31975889205932617, 0.510733962059021, 0.3517514765262604, -0.565571665763855, -0.20027588307857513, -0.07335496693849564, -0.4582957923412323, -0.1324143260717392, 0.5810458064079285, -0.6849870681762695, 0.35993605852127075, 0.245747372508049, 0.7942678332328796, -0.06986550241708755, -0.1312282681465149, 0.5288895964622498, -0.46878165006637573, 0.22966477274894714, -0.11477211117744446, 0.4577593207359314, 0.08207585662603378, -0.5390986204147339, 0.3909543454647064, 0.103134386241436, -0.4993906319141388, -0.6159808039665222, 0.6156366467475891, -0.5433555245399475, -0.5974360108375549, 0.9226958155632019, -0.4029783308506012, -0.2430954873561859, -0.49465411901474, -0.3207641839981079, -0.028164833784103394, -0.7202343344688416, 0.7652502655982971, 0.6909474730491638, 0.06859707087278366, -0.2446795552968979, -0.5216803550720215, 0.4111693203449249, 0.15063627064228058, -1.1534476280212402, 0.18647190928459167, 0.5013094544410706, 0.4891531765460968, -0.07286681979894638, 0.3808390498161316, -0.2033509910106659, 0.38253527879714966, -0.46954429149627686, 0.10229760408401489, -0.3681301772594452, -0.5105025768280029, -0.2861948013305664, 0.2978995144367218, 0.21161894500255585, -0.25561732053756714 ]
http://arxiv.org/abs/2403.01251v2
http://arxiv.org/pdf/2403.01251v2
Accelerating Greedy Coordinate Gradient via Probe Sampling
2024-03-02T16:23:44
2024-05-27T07:02:28
Yiran Zhao, Wenyue Zheng, Tianle Cai, Xuan Long Do, Kenji Kawaguchi, Anirudh Goyal, Michael Shieh
cs.CL
cs.CL
Safety of Large Language Models (LLMs) has become a critical issue given their rapid progresses. Greedy Coordinate Gradient (GCG) is shown to be effective in constructing adversarial prompts to break the aligned LLMs, but optimization of GCG is time-consuming. To reduce the time cost of GCG and enable more comprehensive studies of LLM safety, in this work, we study a new algorithm called $\texttt{Probe sampling}$. At the core of the algorithm is a mechanism that dynamically determines how similar a smaller draft model's predictions are to the target model's predictions for prompt candidates. When the target model is similar to the draft model, we rely heavily on the draft model to filter out a large number of potential prompt candidates. Probe sampling achieves up to $5.6$ times speedup using Llama2-7b-chat and leads to equal or improved attack success rate (ASR) on the AdvBench. Furthermore, probe sampling is also able to accelerate other prompt optimization techniques and adversarial methods, leading to acceleration of $1.8\times$ for AutoPrompt, $2.4\times$ for APE and $2.4\times$ for AutoDAN.
[ -0.42959606647491455, -0.7476964592933655, 0.4824085235595703, 0.25990912318229675, -0.3613656759262085, 0.17266888916492462, -0.10996674001216888, -0.3020778298377991, 0.024800831452012062, 0.3147895038127899, -0.5451292991638184, -0.5216881036758423, -0.699364185333252, -0.14795245230197906, -0.20070502161979675, 0.6614179015159607, 0.228366881608963, 0.1960921585559845, 0.24833284318447113, 0.22432024776935577, -0.2744165062904358, -0.2815418243408203, -1.1757142543792725, -0.17456328868865967, 0.6298073530197144, 0.2999787926673889, 0.4239073097705841, 1.0728026628494263, 0.43846234679222107, 0.27566736936569214, -0.3639254570007324, 0.13973809778690338, -0.7385172247886658, 0.4320371448993683, 0.14343881607055664, -0.604292094707489, -0.44708579778671265, 0.21535097062587738, 0.5399217009544373, 0.3985477387905121, -0.3557981848716736, -0.10335079580545425, -0.006055857520550489, 0.58470618724823, -0.6995803713798523, -0.08912216871976852, -0.7518566846847534, -0.2568250596523285, -0.4501350522041321, -0.5182050466537476, -0.42251408100128174, -0.30316564440727234, 0.08787615597248077, -0.8311158418655396, 0.4502900242805481, 0.2300977259874344, 0.6548078656196594, 0.26623350381851196, -0.28163668513298035, -0.07981882244348526, -0.31921064853668213, 0.7410120368003845, -0.4686968922615051, 0.12824074923992157, 0.23302794992923737, 0.5351954102516174, -0.6444129943847656, -0.8100482225418091, -0.33685097098350525, -0.3030194640159607, 0.34220460057258606, 0.14510950446128845, -0.061835289001464844, 0.20126959681510925, 0.5877245664596558, 0.08553561568260193, -0.540803074836731, 0.5149258971214294, -0.3859802782535553, -0.42917492985725403, 0.7053728103637695, 0.45215436816215515, 0.10036638379096985, -0.04522207751870155, -0.6785475015640259, -0.4738638699054718, -0.8986964821815491, 0.28314998745918274, 0.6413151621818542, 0.3605559170246124, -0.12201377004384995, 0.1867009997367859, -0.46277815103530884, 0.8370267152786255, 0.22717073559761047, 0.18765562772750854, 0.09128373861312866, -0.29145705699920654, -0.04092275723814964, -0.015379736199975014, 0.915772020816803, 0.5289308428764343, 0.23450814187526703, 0.12381491810083389, -0.18389388918876648, 0.27885034680366516, 0.28746476769447327, -1.045411229133606, -0.38902390003204346, 0.20786453783512115, -0.15729504823684692, -0.3396061062812805, -0.3173519968986511, -1.0272618532180786, -0.6822174787521362, 0.08604889363050461, -0.047869667410850525, -0.2687482535839081, -0.018880710005760193, 0.18974971771240234, -0.10702469944953918, 0.44215887784957886, 0.44574013352394104, -0.6553776264190674, 0.016799435019493103, 0.7304139137268066, 0.7831740975379944, -0.3626183867454529, -0.21054337918758392, -1.1716587543487549, -0.1631307154893875, -0.5059412717819214, 0.9149330258369446, -0.490371435880661, -0.8006611466407776, -0.07617054879665375, -0.16859003901481628, -0.04363140091300011, -0.38814833760261536, 0.75506991147995, -0.8594393730163574, 0.17516286671161652, -0.5182488560676575, -0.5037908554077148, -0.08506245166063309, 0.4745112657546997, -0.7994404435157776, 1.0242862701416016, -0.040662650018930435, -0.6781495809555054, 0.4719703495502472, -0.422966331243515, -0.3169552981853485, 0.20641914010047913, -0.2405097931623459, -0.3809692859649658, -0.27489253878593445, 0.6428645849227905, 0.6260828971862793, -0.6569381356239319, 0.04244038090109825, -0.31581568717956543, -0.6509569883346558, -0.06724825501441956, -0.23092786967754364, 0.9696076512336731, 0.18772083520889282, -0.322855144739151, 0.1357252597808838, -0.4512442946434021, -0.040240705013275146, 0.23692673444747925, -0.5570606589317322, -0.22684572637081146, -0.0779154896736145, -0.40251338481903076, 0.029173193499445915, 0.03910006210207939, -0.5103713274002075, 0.4243380129337311, -0.46802929043769836, 0.048611387610435486, 0.8945403695106506, 0.18864946067333221, 0.7158759236335754, -0.3738585412502289, 0.8950716257095337, -0.09395309537649155, 0.03700757026672363, -0.22314544022083282, -0.5998027324676514, -0.47398829460144043, -0.5262323021888733, 0.37681275606155396, 0.5969210863113403, -0.8950056433677673, 0.20825882256031036, -0.1426362842321396, -0.7427453398704529, -0.39208588004112244, -0.12268799543380737, 0.5044668316841125, 0.6117643117904663, 0.3037194311618805, -0.05315309390425682, -0.1880255788564682, -0.5711026191711426, -0.3351321518421173, -0.3061280846595764, -0.24431703984737396, 0.508979856967926, 0.02004123665392399, -0.05747486650943756, 0.38444966077804565, -0.7155078649520874, -0.10388536751270294, -0.10330929607152939, 0.23980218172073364, 0.2972923517227173, 0.40382301807403564, 0.8036532998085022, -0.4939507842063904, -0.4880019724369049, -0.35852065682411194, -0.3394882380962372, -0.44202572107315063, -0.09253670275211334, -0.49057307839393616, 0.05319801717996597, 0.8187687993049622, -0.6139135956764221, 0.16539396345615387, 0.39830857515335083, -0.21918438374996185, 0.49998435378074646, 0.05758305639028549, 0.11352690309286118, -0.9973116517066956, 0.01806328073143959, 0.08689875900745392, 0.009826532565057278, -0.6370179057121277, 0.15805085003376007, 0.3325434923171997, 0.11519686132669449, -0.6343299150466919, 0.8396285176277161, -0.6660326719284058, 0.3813374936580658, -0.40523967146873474, 0.4147389829158783, -0.058098312467336655, 0.34149450063705444, -0.2934783399105072, 0.8821512460708618, 0.9200420379638672, -0.8410851359367371, 0.4367729425430298, 0.025271091610193253, -0.16203293204307556, 0.40634602308273315, -0.6196808815002441, 0.34300515055656433, -0.0930708721280098, 0.3145727813243866, -1.0340607166290283, 0.11998919397592545, 0.48510390520095825, -0.696099579334259, 0.5076039433479309, -0.26991790533065796, -0.06243402510881424, -0.23493169248104095, -0.5652037858963013, 0.5903617143630981, 0.5720478892326355, -0.6691774725914001, 0.631615161895752, 0.3655848205089569, -0.019050240516662598, -0.9601610898971558, -0.17750097811222076, -0.08439213037490845, -0.2698443531990051, -0.4487195909023285, 0.21579007804393768, 0.040661003440618515, -0.16646550595760345, -0.32424888014793396, 0.11834339797496796, 0.4738772213459015, 0.3074606955051422, 0.04448484629392624, 0.3624190092086792, 0.1274089366197586, -0.18076331913471222, 0.026877643540501595, -0.3093765676021576, 0.36783626675605774, -0.3810955882072449, 0.782845675945282, 0.36541175842285156, -0.29058143496513367, -0.12221746146678925, 0.20631153881549835, 0.3700510263442993, -0.0790349692106247, 0.43637675046920776, 0.6574138402938843, -0.20731420814990997, -0.6000373363494873, -0.5073001384735107, -0.44159388542175293, -0.567527711391449, 0.49097126722335815, -0.25031164288520813, -0.7535537481307983, 0.7821575403213501, -0.03889230638742447, 0.07451491057872772, 0.3141341507434845, 0.6530078053474426, 0.2426716834306717, 0.8262085914611816, 0.2973038852214813, -0.5027104020118713, 0.5822991728782654, -0.3035440444946289, -0.08586887270212173, -1.0278631448745728, -0.2699754536151886, -0.7000135779380798, -0.37945157289505005, -0.5846987962722778, -0.7245102524757385, 0.6031190156936646, -0.020495912060141563, -0.0589020773768425, 0.09223967045545578, -0.3344587981700897, 0.34305137395858765, 0.8749806880950928, 0.06105215102434158, -0.09781796485185623, -0.015558101236820221, -0.5057656764984131, 0.1223621517419815, -0.7394731640815735, -0.0687207505106926, 1.2920176982879639, 0.19622944295406342, 1.0582056045532227, -0.25029730796813965, 0.4893779158592224, 0.18441051244735718, 0.23029941320419312, -0.8002614378929138, 0.9516480565071106, 0.01855139620602131, -0.41001254320144653, -0.21086657047271729, -0.5444650650024414, -1.1261065006256104, 0.31965214014053345, -0.06471617519855499, -0.535095751285553, 0.13421304523944855, 0.35930439829826355, -0.3977653980255127, 0.17175652086734772, -0.4608016610145569, 0.26704612374305725, -0.029470451176166534, -0.46081769466400146, -0.07865127921104431, -0.6844879388809204, 0.3364589810371399, -0.016396407037973404, -0.3881775736808777, -0.2475125640630722, -0.08891251683235168, 0.9117013812065125, -0.03465694561600685, 0.5677484273910522, -0.6562378406524658, -0.18466372787952423, 0.34673190116882324, 0.36224278807640076, 0.9878582954406738, 0.17412781715393066, -0.26757606863975525, 0.17194469273090363, -0.5712862610816956, -0.4691709578037262, -0.5095319151878357, 0.6339303851127625, -0.5062993168830872, -0.8549909591674805, -0.4990895092487335, -0.6113098859786987, -0.2744872570037842, 0.08370954543352127, 0.4143795371055603, 0.23464353382587433, -0.06808386743068695, -0.03903496265411377, 0.5402233600616455, -0.2537080645561218, 0.4209243953227997, 0.6288902163505554, 0.09766054153442383, -0.3409489691257477, 0.5703837871551514, -0.1468677818775177, 0.4253946542739868, 0.17525814473628998, 0.16735361516475677, -0.4846346378326416, -0.8415301442146301, -0.5431866645812988, 0.3430282175540924, -0.40719538927078247, -0.5269648432731628, -0.6493451595306396, -0.20297874510288239, -0.30498337745666504, -0.18457575142383575, -0.22147423028945923, -0.21382588148117065, -0.3688717782497406, -0.04616163671016693, 0.31880906224250793, 0.09271678328514099, -0.09443654865026474, 0.566581666469574, -0.6677948236465454, 0.30941304564476013, 0.2028590887784958, 0.02581820636987686, -0.11949019134044647, -0.6869922876358032, -0.035814110189676285, 0.0613245852291584, -0.21673047542572021, -0.7664006352424622, 0.35980361700057983, -0.14719614386558533, 0.7206806540489197, 0.5742281079292297, 0.2719181776046753, 0.5711984038352966, -0.5028142333030701, 0.6715259552001953, -0.09868942201137543, -0.6092737317085266, 0.3051969110965729, -0.7886416912078857, 0.34499800205230713, 0.3073433041572571, 0.33422064781188965, -0.4837206304073334, -0.42447152733802795, -0.3106538653373718, -1.098968505859375, 0.7656556963920593, -0.03711869940161705, -0.10438507795333862, 0.026655729860067368, 0.5532995462417603, -0.32145529985427856, -0.016113460063934326, -0.17783746123313904, -0.22626431286334991, 0.2722659111022949, 0.11757049709558487, -0.07935980707406998, -0.3871404826641083, -0.3684128522872925, 0.1650085151195526, 0.636430025100708, -0.3695923686027527, 0.4630137085914612, 0.0655817985534668, 0.22492121160030365, -0.21330228447914124, -0.033466845750808716, 0.5865919589996338, 0.1388479322195053, -0.09064286202192307, -0.005495622754096985, 0.20299437642097473, -0.7696552872657776, 0.2359752207994461, 0.5188176035881042, -0.2628076374530792, -0.45138952136039734, 0.17519409954547882, 0.6173090934753418, -0.3265298008918762, -0.5921412706375122, 0.5438376665115356, -0.42209744453430176, -0.28963661193847656, 0.037159211933612823, 0.42066046595573425, -0.08625989407300949, 0.3609077036380768, 0.5101169347763062, -0.11538155376911163, 0.1415509134531021, 0.16610205173492432, 0.13409768044948578, 0.8350508809089661, -0.013674509711563587, -0.10178704559803009, 0.8774212002754211, 0.2916054427623749, -0.21717427670955658, 0.7026357650756836, -0.3684488832950592, -0.6314818263053894, 0.8041285872459412, 0.43999379873275757, 0.9384731650352478, -0.5495687127113342, -0.017470063641667366, 0.4263319969177246, 0.3797873854637146, -0.17438772320747375, 0.4244706332683563, 0.1300070434808731, -0.7696150541305542, -0.3707382082939148, -0.429343044757843, -0.5357683300971985, 0.15798354148864746, -0.5734767317771912, 0.2076379358768463, -0.4302300810813904, -0.1106724813580513, -0.4230020046234131, 0.11549755930900574, -0.4814753830432892, 0.18806897103786469, 0.1327109932899475, 1.1177371740341187, -0.6446331143379211, 0.6475771069526672, 0.4805174767971039, 0.5026460289955139, -0.9912910461425781, 0.16425934433937073, 0.09640512615442276, -1.063023328781128, 0.5503705143928528, 0.17427921295166016, -0.4407942593097687, 0.04820462688803673, -0.5100623965263367, -0.8744834065437317, 1.073589563369751, 0.4602110981941223, -0.6874593496322632, 0.0007052112487144768, -0.16749835014343262, 0.3903985619544983, -0.06350218504667282, 0.234442338347435, 0.510762631893158, 0.2671602666378021, 0.14456084370613098, -0.5408161282539368, 0.3575109839439392, -0.3718668520450592, 0.03316478431224823, 0.3403623402118683, -0.7123664617538452, 0.877443790435791, -0.3152410387992859, -0.40778273344039917, 0.014507540501654148, 0.6397209167480469, 0.6990965604782104, 0.08486099541187286, 0.8081958889961243, 0.5840898156166077, 0.8754113912582397, -0.3084803521633148, 1.0258581638336182, -0.5466861128807068, 0.12133034318685532, 0.802595317363739, -0.4728521704673767, 0.38953256607055664, 0.38481512665748596, 0.001775395474396646, 0.05219650641083717, 0.8208262324333191, -0.03561995550990105, 0.5194153189659119, 0.48524391651153564, -0.3550209403038025, -0.13834162056446075, -0.11294771730899811, -0.3736339211463928, 0.3512311577796936, 0.4049372673034668, -0.217750683426857, -0.17471599578857422, -0.1586722582578659, 0.3118067979812622, -0.21225503087043762, -0.292643278837204, 0.47313904762268066, -0.06753721833229065, -0.9382569193840027, 0.7864504456520081, 0.092183418571949, 0.6277713179588318, -0.5785501599311829, 0.12304449081420898, -0.36021050810813904, 0.1748126745223999, 0.30246326327323914, -0.5224639177322388, -0.3128722310066223, -0.19629321992397308, 0.26473507285118103, -0.09719910472631454, 0.7175313830375671, -0.33042001724243164, -0.25281187891960144, 0.5759952664375305, 0.49700188636779785, -0.16290774941444397, -0.1385260373353958, -0.49434882402420044, 0.014485055580735207, -0.1613718569278717, -0.7206318378448486, 0.16806671023368835, 0.31106269359588623, 0.018360428512096405, 0.9296072721481323, 0.8807288408279419, 0.4547256827354431, 0.3449469804763794, -0.07725085318088531, 1.3365848064422607, -0.5773831605911255, -0.6997316479682922, -0.9650785326957703, 0.34211522340774536, -0.027257202193140984, -0.3331708312034607, 0.7750696539878845, 0.3799620568752289, 0.7490518689155579, 0.19549864530563354, 0.5492267608642578, 0.11280348151922226, 0.618431806564331, -0.8424001336097717, 0.7464634776115417, -0.36330410838127136, 0.40540263056755066, -0.14478638768196106, -0.7835081219673157, -0.3298076391220093, 0.30100375413894653, -0.2997448444366455, 0.20129160583019257, 0.6072044372558594, 1.169173240661621, 0.15478703379631042, -0.26958760619163513, 0.12079949676990509, 0.08810752630233765, 0.6633219122886658, 0.6930605173110962, 0.8758953809738159, -0.2977226674556732, 0.5488208532333374, -0.21867726743221283, -0.27133920788764954, -0.24824896454811096, -0.999158501625061, -1.129469633102417, -0.239210844039917, -0.07614731788635254, -0.5943183898925781, 0.1145467683672905, 0.7703565359115601, 0.7718492150306702, -0.4785378873348236, -0.03749136999249458, -0.07644032686948776, -0.15699893236160278, -0.03540465608239174, -0.20123903453350067, 0.4073544442653656, -0.3491392135620117, -1.0524678230285645, 0.7097799181938171, -0.001566752907820046, 0.07003209739923477, -0.17816439270973206, -0.0883418396115303, -0.1543651968240738, 0.039245106279850006, -0.02848873846232891, 0.32567229866981506, -0.30362170934677124, 0.03363708406686783, 0.2247314453125, -0.2666456997394562, -0.06089361757040024, 0.9302592873573303, -0.8635141253471375, 0.4897087812423706, 0.6215524673461914, 0.9142789840698242, 0.4747256934642792, 0.4290589988231659, 0.7285341024398804, -0.6897293329238892, 0.41709452867507935, 0.40908199548721313, 0.36592867970466614, 0.12853838503360748, -0.7152285575866699, 0.34787824749946594, 0.25853511691093445, -0.7161003947257996, -0.8233041763305664, 0.3522877097129822, -0.9940710067749023, 0.03146270662546158, 1.4353114366531372, -0.28021878004074097, -0.263275146484375, 0.1499643176794052, -0.29085245728492737, 0.4359053075313568, -0.7471494674682617, 0.9219238758087158, 0.3246895372867584, -0.03928545489907265, 0.008649980649352074, -0.28355538845062256, 0.7863529920578003, 0.669922411441803, -0.745316207408905, 0.057413067668676376, 0.5138195753097534, 0.05705752968788147, -0.08294948935508728, 0.6892956495285034, -0.00009981857147067785, 0.4178287088871002, 0.04686181992292404, -0.18881845474243164, -0.3519076406955719, -0.36912035942077637, -0.5237841010093689, 0.20203861594200134, -0.07464519143104553, -0.4965571165084839 ]
http://arxiv.org/abs/2403.04782v1
http://arxiv.org/pdf/2403.04782v1
A Survey on Temporal Knowledge Graph: Representation Learning and Applications
2024-03-02T16:21:45
2024-03-02T16:21:45
Li Cai, Xin Mao, Yuhao Zhou, Zhaoguang Long, Changxu Wu, Man Lan
cs.CL
cs.CL, cs.AI
Knowledge graphs have garnered significant research attention and are widely used to enhance downstream applications. However, most current studies mainly focus on static knowledge graphs, whose facts do not change with time, and disregard their dynamic evolution over time. As a result, temporal knowledge graphs have attracted more attention because a large amount of structured knowledge exists only within a specific period. Knowledge graph representation learning aims to learn low-dimensional vector embeddings for entities and relations in a knowledge graph. The representation learning of temporal knowledge graphs incorporates time information into the standard knowledge graph framework and can model the dynamics of entities and relations over time. In this paper, we conduct a comprehensive survey of temporal knowledge graph representation learning and its applications. We begin with an introduction to the definitions, datasets, and evaluation metrics for temporal knowledge graph representation learning. Next, we propose a taxonomy based on the core technologies of temporal knowledge graph representation learning methods, and provide an in-depth analysis of different methods in each category. Finally, we present various downstream applications related to the temporal knowledge graphs. In the end, we conclude the paper and have an outlook on the future research directions in this area.
[ -0.2892840504646301, -0.5736985802650452, 0.7104625105857849, 0.07720538973808289, -0.2157747447490692, 0.7178246974945068, 0.17455391585826874, -0.576042115688324, 0.27008089423179626, 0.06621907651424408, -0.4458591639995575, -0.7021540999412537, -0.5431966781616211, -0.26675912737846375, -0.19982263445854187, 0.3645414710044861, -0.22975094616413116, -0.08666667342185974, -0.2207852154970169, -0.3154681324958801, -0.5000982284545898, -0.516160249710083, -0.7487345933914185, -0.7647219300270081, 0.8122565150260925, 0.023520508781075478, 0.03096492402255535, 0.6735039949417114, -0.17844416201114655, 0.27811095118522644, 0.017430931329727173, 0.10829036682844162, -0.3156639337539673, 0.22653165459632874, -0.1354568749666214, -0.15970808267593384, -0.21607661247253418, 0.07639185339212418, 0.9091722965240479, 1.1545435190200806, -0.06132791191339493, 0.31754788756370544, 0.012961168773472309, 0.3860788941383362, -0.6669310331344604, 0.8587656021118164, -0.23287734389305115, 0.4102593958377838, -0.5042899250984192, -0.4228629469871521, -0.36614087224006653, -0.6870007514953613, 0.1661282181739807, -0.5465379357337952, -0.10915683954954147, 0.2902989089488983, 0.48074203729629517, 0.041762951761484146, -1.1616885662078857, -0.08561685681343079, -0.8286121487617493, 0.705420970916748, -0.2920216917991638, 0.7248020768165588, -0.190090149641037, 0.9414878487586975, 0.05997205153107643, -1.0530200004577637, -0.2454337775707245, -0.026661761105060577, 0.004830359946936369, 0.24856992065906525, -0.2484988421201706, -0.0991826131939888, 0.20351706445217133, 0.12583579123020172, -0.5429965257644653, 0.15950897336006165, -0.0020965319126844406, -0.20642635226249695, 0.21223212778568268, 0.5238862037658691, 0.036353059113025665, -0.01922541856765747, -0.5240572094917297, -0.03363240510225296, -0.46079567074775696, 0.09781000763177872, 0.2301066517829895, -0.10596973448991776, 0.06105616316199303, 0.5333422422409058, -0.27112144231796265, 0.8564124703407288, -0.2525850236415863, -0.03254508227109909, 0.21092699468135834, 0.007796482183039188, 0.00016708829207345843, 0.02907172031700611, 0.5291430950164795, 0.35173675417900085, 0.10682564973831177, -0.5666667819023132, 0.0762491449713707, -0.16678495705127716, 0.006869731470942497, -0.5654558539390564, -0.03464579954743385, -0.055804040282964706, -0.5997685790061951, -0.18604886531829834, -0.13941675424575806, -0.582422137260437, -0.3652391731739044, -0.36053672432899475, -0.05833456665277481, -0.5569212436676025, -0.3639772832393646, -0.2089638113975525, -0.44415974617004395, 0.1634155809879303, 0.3136759102344513, -0.5503079295158386, 0.37773045897483826, 0.4857810437679291, 0.7638956904411316, -0.06254243850708008, -0.1552382856607437, -0.06888484954833984, 0.6398424506187439, -0.32253673672676086, 0.64711594581604, -0.5117794275283813, -0.44402679800987244, 0.003768101567402482, -0.04317628592252731, -0.2430400848388672, -0.3522845506668091, -0.061980877071619034, -1.164931058883667, -0.16287031769752502, -0.23854410648345947, -0.835785448551178, -0.5485394597053528, 0.3455735445022583, -0.6050719618797302, 0.6373704075813293, 0.361061155796051, -0.7582725882530212, 0.6534222364425659, -0.5724022388458252, -0.2689037621021271, 0.13064275681972504, -0.16638408601284027, -0.17171572148799896, -0.2582550346851349, 0.05149875208735466, 0.5753574967384338, 0.028377896174788475, -0.07250944525003433, -0.30245548486709595, -0.09326425939798355, 0.08087226003408432, 0.09251987189054489, 0.6737492084503174, 0.4067723751068115, -0.04584259167313576, -0.16347476840019226, -0.3924066126346588, -0.125570610165596, 0.3649900257587433, -0.1607062965631485, -0.4107680916786194, 0.2776421904563904, -0.3080919086933136, -0.0022423677146434784, 0.307850182056427, -0.5425626039505005, 0.3867964744567871, 0.1122356727719307, 0.7218288779258728, 0.6345409750938416, 0.7372692823410034, 0.48599040508270264, -0.06606559455394745, 0.461515873670578, 0.449074387550354, 0.18157373368740082, 0.23228813707828522, -0.342240571975708, -0.21826788783073425, 0.41002294421195984, 0.6719251275062561, 0.3830018639564514, -1.0005738735198975, 0.05904167518019676, -0.6605076789855957, -0.6751956939697266, 0.42898479104042053, -0.12800709903240204, -0.09653566777706146, 0.7119928598403931, 0.29741498827934265, -0.13139647245407104, -0.577468991279602, -0.4732311964035034, -0.18190371990203857, -0.6257769465446472, 0.1838587373495102, 0.4585009515285492, 0.33796241879463196, -0.31136032938957214, 1.1254642009735107, -0.8021794557571411, -0.07833036035299301, -0.09251906722784042, 0.40817251801490784, -0.045694347470998764, 0.06528957188129425, 1.0352119207382202, -0.6614497303962708, -0.06887990236282349, -0.005963482428342104, -0.7374142408370972, 0.3231414556503296, 0.0738816186785698, -0.0872785747051239, 0.10307655483484268, 0.5380715727806091, -0.15979258716106415, 0.1432304084300995, 0.3392804265022278, -0.2435341477394104, 0.20538629591464996, 0.14599573612213135, 0.032333724200725555, -0.7701386213302612, -0.04147585481405258, -0.00816219300031662, -0.5535617470741272, -0.05915851145982742, -0.3620282709598541, -0.009832752868533134, -0.40863704681396484, -0.32867980003356934, 0.6670563817024231, -0.3844367563724518, -0.07461930066347122, 0.274077445268631, 0.1913498491048813, -0.3266757130622864, 0.45727893710136414, 0.10878404974937439, 0.1539732813835144, 0.3422447443008423, -0.825333833694458, 0.5031479001045227, -0.006982254795730114, -0.2264019101858139, 0.09910953789949417, -0.41367676854133606, 0.08060946315526962, -0.09596984088420868, 0.08571875095367432, -0.5427454113960266, -0.0846150740981102, 0.4111713767051697, -0.5034626722335815, 0.5559304356575012, -0.5714046359062195, -0.5044484734535217, -0.4055466651916504, 0.09074606001377106, 0.28374388813972473, 0.5065440535545349, -0.37366926670074463, 0.688664972782135, 0.6277766823768616, 0.27645790576934814, -0.5195913910865784, -0.45662975311279297, -0.32035011053085327, -0.012583614327013493, -0.33625251054763794, 0.3243049085140228, 0.6001490950584412, -0.14241957664489746, 0.5970441699028015, -0.4679601788520813, 0.14849045872688293, -0.12400170415639877, 0.035275720059871674, -0.1427517533302307, -0.1255449503660202, 0.4882027506828308, -0.04270927980542183, -0.2609863579273224, 0.0551660917699337, -0.7448625564575195, 0.5072811245918274, 0.15324074029922485, -0.46491482853889465, 0.30895623564720154, 0.02126341499388218, 0.24905754625797272, -0.1093774065375328, 0.8909658789634705, 0.7465900182723999, -0.48187655210494995, -0.011485472321510315, -0.16963206231594086, 0.1396179348230362, -0.3866881728172302, 0.2449522167444229, 0.10094071179628372, -0.8038039207458496, 0.4992533028125763, -0.6495910286903381, 0.10829932987689972, 0.6203373670578003, 0.20590081810951233, -0.25487983226776123, 0.7656136155128479, 0.5567525625228882, -0.21254833042621613, 0.8983300924301147, -0.7394405007362366, 0.11459892243146896, -0.693205714225769, -0.6125515103340149, -0.39792725443840027, -0.46140486001968384, -0.6311971545219421, -0.07770068943500519, 0.4255337119102478, 0.16212984919548035, -0.6493211984634399, 0.07595868408679962, -0.22908379137516022, -0.014696120284497738, 0.13915084302425385, 0.14154240489006042, 0.19121119379997253, 0.03933917358517647, -0.20674671232700348, 0.012788130901753902, -0.6794766187667847, -0.3072395324707031, 0.7663490772247314, 0.34563735127449036, 0.6411301493644714, 0.04718253016471863, 0.7397839426994324, 0.6213537454605103, 0.03163696452975273, -0.8172585964202881, 0.42812493443489075, -0.11228900402784348, -0.27770906686782837, -0.3289865255355835, -0.895217776298523, -0.8648873567581177, -0.4658248722553253, 0.07882088422775269, -0.6092668175697327, 0.45474758744239807, 0.03684158995747566, 0.02122265100479126, 0.6932398676872253, -0.899458646774292, 0.7807064056396484, -0.23227733373641968, 0.01523909904062748, -0.21942728757858276, -0.43570560216903687, -0.012088585644960403, 0.41618290543556213, -0.03576295077800751, -0.07384402304887772, -0.11893247812986374, 1.0490922927856445, -0.36554327607154846, 0.9208272695541382, -0.8201248049736023, 0.40940186381340027, 0.5363672375679016, -0.056194815784692764, 0.3394903838634491, 0.21030524373054504, 0.1971893310546875, 0.21837347745895386, 0.2137162685394287, -0.4366968870162964, -0.8147650361061096, 0.31275632977485657, -0.7686397433280945, -0.3190804719924927, -0.6562502980232239, -0.13835927844047546, -0.45101287961006165, 0.32055068016052246, -0.08196766674518585, 0.5507091879844666, -0.14880599081516266, -0.003974615130573511, 0.5221925377845764, 0.06527213752269745, 0.4417724907398224, 0.16356119513511658, -0.41299083828926086, -0.22901076078414917, 0.9974009990692139, 0.5414102077484131, -0.113838329911232, 0.7409749031066895, 0.0908493772149086, -0.5199942588806152, -0.6049256324768066, -0.035308048129081726, 0.15947288274765015, -0.7993165254592896, -0.18459732830524445, -0.7714858651161194, -0.25309062004089355, -0.5184800624847412, 0.28172236680984497, 0.08045858144760132, -0.8348746299743652, -0.22170329093933105, -0.05314195528626442, 0.73765629529953, 0.9866631031036377, 0.056977529078722, 0.1767372488975525, -0.7495676279067993, 0.18462982773780823, 0.6667634844779968, 0.4507100284099579, 0.4955073893070221, 0.28544560074806213, -0.3627774119377136, -0.10301502794027328, -0.5326298475265503, -0.9350412487983704, -0.07696196436882019, 0.12014363706111908, 0.9267873167991638, 0.47006791830062866, 0.04565957933664322, 0.557806134223938, -0.1820322424173355, 0.846044659614563, -0.053086429834365845, -0.6346450448036194, 0.3621123135089874, -0.3200743496417999, 0.026403140276670456, -0.03917313739657402, 0.6760366559028625, -0.8812002539634705, 0.13077469170093536, -0.4794832766056061, -0.7582270503044128, 0.23681536316871643, -0.09308674186468124, -0.08659524470567703, 0.21698376536369324, 0.5678284764289856, -0.19444003701210022, 0.18848489224910736, -0.04677063971757889, -0.3850291967391968, -0.5462189316749573, -0.010119323618710041, 0.049703095108270645, -0.08878856152296066, 0.0968218669295311, -0.11344210058450699, 0.4462970495223999, -0.23728016018867493, 0.7730920910835266, -0.15350548923015594, -0.12751036882400513, 0.2220546305179596, 0.30880817770957947, 0.04448403790593147, 0.7664828896522522, -0.2319592833518982, -0.024739408865571022, 0.12552088499069214, -0.6197383403778076, 0.13432595133781433, 0.11802303791046143, -0.03632179647684097, 0.06863314658403397, 0.6322729587554932, 0.527689516544342, 0.11977869272232056, 0.02773234248161316, 0.2880651354789734, 0.04711269959807396, 0.18621514737606049, -0.5810148119926453, -0.06433141976594925, 0.42364439368247986, 0.43083715438842773, 0.5383440852165222, 0.1320059448480606, -0.052872542291879654, -0.8025937676429749, -0.18672487139701843, 0.09076692909002304, -0.6272104382514954, -0.11802875995635986, 0.6084573268890381, -0.09227246791124344, 0.24183952808380127, 0.7682695388793945, -0.5039295554161072, -0.5221549272537231, 0.4824793040752411, 0.21238166093826294, 0.5220080018043518, 0.09038525074720383, 0.17197120189666748, 0.2147769182920456, -0.11911524087190628, 0.44538819789886475, 0.4156752824783325, -0.2873283922672272, -0.6503327488899231, -0.22928471863269806, -0.44119638204574585, -0.5168209075927734, -0.34848812222480774, -0.4379264712333679, 0.14197739958763123, -0.5114911198616028, -0.6430646181106567, -0.14526045322418213, 0.33382752537727356, -0.8907155394554138, -0.11861363798379898, -0.06774485111236572, 1.2178672552108765, -0.7823858857154846, 0.6536563634872437, 1.0639796257019043, -0.4664309322834015, -0.5810507535934448, -0.13862237334251404, 0.016601940616965294, -0.5990884900093079, 0.9311215877532959, -0.41945192217826843, -0.14377781748771667, 0.12895892560482025, -0.5701091289520264, -0.5182639956474304, 1.5137139558792114, 0.25894924998283386, -0.2777463495731354, -0.4292122721672058, 0.030335301533341408, 0.3985341489315033, -0.5042348504066467, -0.015949323773384094, 0.3899361789226532, 0.3334345519542694, 0.1528433859348297, -0.18845981359481812, -0.07389054447412491, -0.22377727925777435, 0.2875310480594635, 0.1651151180267334, -0.712449848651886, 0.5599596500396729, 0.11797719448804855, -0.5166700482368469, -0.3073674142360687, 0.846832811832428, 0.15177856385707855, 0.419586718082428, 0.4767484962940216, 0.32388490438461304, 0.6482219696044922, -0.5961626172065735, 0.8930419683456421, -0.19792436063289642, 0.2695585787296295, 0.7614132165908813, -0.197194904088974, 0.25444096326828003, 0.22565996646881104, -0.35310035943984985, 0.871546745300293, 1.0434719324111938, 0.07844720035791397, 0.6390472054481506, 0.06583654135465622, -0.07082000374794006, -0.26482391357421875, -0.318129301071167, -0.5581946969032288, 0.008944296278059483, 0.7089323997497559, -0.24966974556446075, -0.5430482029914856, 0.012529115192592144, -0.2539507746696472, -0.3833593428134918, -0.5040943026542664, 0.6910122036933899, 0.12140911817550659, 0.08870647102594376, -0.042214151471853256, -0.14423057436943054, 0.026680178940296173, -0.696931779384613, -0.45447495579719543, 0.09219234436750412, -0.11525634676218033, -0.3139364421367645, -0.9935098886489868, 0.24323192238807678, -0.5118088722229004, -0.08705850690603256, -0.4730646312236786, 0.8243764042854309, 0.17853014171123505, -0.029589682817459106, 0.6122300028800964, 0.5216624736785889, -0.11258522421121597, 0.2835090458393097, -0.353319376707077, -0.277382493019104, -0.5034939050674438, -0.15285004675388336, -0.16531743109226227, 0.6763591766357422, -0.22818152606487274, 0.7049044966697693, 0.04828562214970589, 0.2679942548274994, 0.380033940076828, 0.2041466385126114, 0.9210744500160217, -0.7518040537834167, -0.42713066935539246, -0.3530213236808777, 0.34447234869003296, -0.06106250360608101, -0.022856147959828377, 0.6103230714797974, 0.5385254621505737, 0.8613450527191162, 0.06710600852966309, 0.8212332725524902, -0.3743947744369507, 0.5741305947303772, -0.8956295847892761, 0.7714595198631287, -0.3131674826145172, -0.04574636369943619, -0.047394994646310806, -0.829852283000946, -0.10261820256710052, -0.18528495728969574, -0.6646520495414734, 0.2864680886268616, 0.5708191394805908, -0.04463926702737808, -0.04965673014521599, 0.21216018497943878, 0.019781164824962616, 0.06582333892583847, 0.17986738681793213, 0.47361254692077637, 1.1210826635360718, -0.23533332347869873, 0.4604912996292114, -0.4098982810974121, -0.06493725627660751, -0.2543882429599762, -0.8845673203468323, -0.708155632019043, -0.9380353689193726, -0.3013712167739868, -0.2081676572561264, -0.02182249166071415, 0.7195124626159668, 0.7146462202072144, -0.5604797601699829, -0.026804884895682335, 0.2992735505104065, 0.4455459713935852, -0.6207125782966614, -0.20821626484394073, 0.5466464161872864, -0.2862548530101776, -0.3028823137283325, 0.13837401568889618, 0.023778297007083893, 0.29567235708236694, -0.25807642936706543, 0.1575869917869568, -0.025802388787269592, -0.6747803688049316, 0.6500123739242554, 0.6010096669197083, 0.09267707169055939, -0.4989751875400543, 0.29281169176101685, 0.281179815530777, 0.008472592569887638, 1.3859386444091797, -0.8919233083724976, 0.34106820821762085, 0.9371628165245056, 0.3686479926109314, 1.0684800148010254, -0.33229124546051025, 0.318342000246048, -0.9007518291473389, -0.03997534513473511, 0.2845056354999542, 0.6999027729034424, 0.13619929552078247, -0.31687837839126587, 0.5571615695953369, 0.5603387355804443, -0.3358345925807953, -0.2284037172794342, 0.42442554235458374, -0.9968381524085999, -0.08268706500530243, 0.5534045696258545, -0.08289909362792969, -0.45390620827674866, -0.5776276588439941, 0.484551340341568, 0.9315686821937561, -0.466766357421875, 0.49625688791275024, 0.5292798280715942, -0.5188443064689636, -0.15307217836380005, -0.4980720281600952, 0.09963817149400711, -0.6106424331665039, -0.45631587505340576, -0.17663003504276276, 0.16643396019935608, 0.3012530207633972, 0.39034128189086914, 0.4964978098869324, -0.5336896181106567, -0.11625546962022781, 0.004517003428190947, -0.20947377383708954, -0.3886180520057678, -0.19150201976299286, 0.033814672380685806, 0.19589215517044067, 0.1779126524925232, -0.22783192992210388 ]
http://arxiv.org/abs/2403.01248v1
http://arxiv.org/pdf/2403.01248v1
SceneCraft: An LLM Agent for Synthesizing 3D Scene as Blender Code
2024-03-02T16:16:26
2024-03-02T16:16:26
Ziniu Hu, Ahmet Iscen, Aashi Jain, Thomas Kipf, Yisong Yue, David A. Ross, Cordelia Schmid, Alireza Fathi
cs.CV
cs.CV, cs.AI, cs.CL, cs.LG
This paper introduces SceneCraft, a Large Language Model (LLM) Agent converting text descriptions into Blender-executable Python scripts which render complex scenes with up to a hundred 3D assets. This process requires complex spatial planning and arrangement. We tackle these challenges through a combination of advanced abstraction, strategic planning, and library learning. SceneCraft first models a scene graph as a blueprint, detailing the spatial relationships among assets in the scene. SceneCraft then writes Python scripts based on this graph, translating relationships into numerical constraints for asset layout. Next, SceneCraft leverages the perceptual strengths of vision-language foundation models like GPT-V to analyze rendered images and iteratively refine the scene. On top of this process, SceneCraft features a library learning mechanism that compiles common script functions into a reusable library, facilitating continuous self-improvement without expensive LLM parameter tuning. Our evaluation demonstrates that SceneCraft surpasses existing LLM-based agents in rendering complex scenes, as shown by its adherence to constraints and favorable human assessments. We also showcase the broader application potential of SceneCraft by reconstructing detailed 3D scenes from the Sintel movie and guiding a video generative model with generated scenes as intermediary control signal.
[ -0.34215661883354187, -0.7588000893592834, 0.6425555944442749, 0.3749978840351105, 0.1759517937898636, 0.21852447092533112, 0.31605568528175354, -0.28349438309669495, -0.111164890229702, 0.7407017350196838, -0.5695978999137878, -0.6124376058578491, -0.03906871750950813, 0.061743393540382385, -0.532404899597168, 0.40481123328208923, 0.007873747497797012, -0.10645683109760284, -0.35211631655693054, 0.2319682091474533, -0.17059090733528137, -0.3569727838039398, -0.6517123579978943, -0.3794286847114563, 0.3339272141456604, 0.1276800036430359, 0.6848095655441284, 0.853248119354248, 0.2911764085292816, 0.5212424397468567, 0.10220880061388016, 0.22032509744167328, -0.46119800209999084, 0.09041009843349457, -0.4064546227455139, -0.07575400918722153, -0.5540580749511719, -0.11204126477241516, 0.4194455146789551, 0.5264917016029358, 0.027031773701310158, 0.272419273853302, 0.003139110980555415, 0.6550738215446472, -0.4208782911300659, 0.38265588879585266, -0.3558182120323181, 0.35554617643356323, 0.2302212119102478, -0.36330413818359375, -0.11934161931276321, -0.033587295562028885, 0.2855364680290222, -0.9385982751846313, 0.6247150897979736, 0.28932127356529236, 0.5099033117294312, 0.3191000521183014, -0.04538387060165405, 0.14995674788951874, -0.6584920287132263, 0.6807486414909363, -0.456124484539032, 0.02356838807463646, -0.01789739727973938, 0.5903635621070862, -0.4487953186035156, -0.8686265349388123, -0.4056418240070343, -0.10137646645307541, 0.1864691823720932, 0.1941017359495163, 0.02232549525797367, 0.22562868893146515, 0.38332903385162354, 0.48257824778556824, -0.41098180413246155, -0.15631432831287384, -0.47234535217285156, -0.48093298077583313, 0.557000994682312, 0.5190487504005432, 0.6665549874305725, -0.25244346261024475, -0.6321560144424438, -0.33424144983291626, -0.646026611328125, -0.03627796471118927, 0.4140949249267578, 0.10223615914583206, 0.09054972231388092, 0.776267409324646, -0.2831602394580841, 0.6424455642700195, -0.20810642838478088, -0.21818940341472626, 0.025079568848013878, -0.016505232080817223, -0.37440919876098633, 0.2542213797569275, 0.5660417675971985, 0.7732704877853394, 0.010072452016174793, 0.17688967287540436, -0.3134298026561737, -0.22737431526184082, 0.5406152009963989, -0.885391354560852, -0.44614464044570923, 0.4609498083591461, -0.2793481945991516, -0.5149999260902405, -0.16666145622730255, -0.5643858909606934, -0.6449296474456787, -0.4382840692996979, 0.27438583970069885, -0.3403904139995575, -0.25496363639831543, -0.030332738533616066, -0.35734251141548157, 0.3762720823287964, 0.7600627541542053, -0.47779110074043274, 0.1417285054922104, 0.5106426477432251, 0.7725784778594971, -0.2338382750749588, -0.5948060750961304, -0.34404176473617554, 0.4580720365047455, -0.6068183183670044, 0.9947782754898071, -0.19280828535556793, -0.5133932828903198, 0.046221017837524414, -0.0367991104722023, 0.48444122076034546, -0.6921887397766113, -0.221884086728096, -0.28877896070480347, -0.08475888520479202, 0.07932444661855698, -0.1913052350282669, -0.25025489926338196, 0.7361215949058533, -1.06504225730896, 0.7216534614562988, 0.36576664447784424, -0.4836992025375366, 0.030835624784231186, -0.35446661710739136, -0.1396016776561737, 0.04980161786079407, -0.16842271387577057, -0.09973138570785522, 0.17132292687892914, 0.31794047355651855, 0.3378589153289795, -0.2577894926071167, 0.24728474020957947, -0.17088119685649872, -0.21779105067253113, 0.38767123222351074, -0.41593432426452637, 0.17667174339294434, 0.5334797501564026, 0.11397303640842438, 0.2786339819431305, -0.8561517000198364, 0.01579536497592926, -0.014518020674586296, -0.4330444931983948, 0.18939213454723358, 0.036738019436597824, 0.22030429542064667, 0.24975961446762085, 0.38173437118530273, -0.372387170791626, -0.07865989208221436, -0.6346571445465088, 0.16292575001716614, 0.7065659761428833, -0.08055096864700317, 0.6247265934944153, -0.41412192583084106, 0.6037626266479492, -0.020493824034929276, -0.11211453378200531, -0.6303758025169373, -0.25758495926856995, -0.4991053640842438, -0.1522555947303772, -0.49171754717826843, 0.5076166987419128, -0.9848676323890686, -0.1779848337173462, -0.0006334644858725369, -0.2396722435951233, -0.07895255833864212, 0.08460254967212677, 0.38166725635528564, 0.277452677488327, 0.1664053499698639, -0.19251784682273865, -0.6420713663101196, -0.9166894555091858, -0.1898372918367386, -0.08538514375686646, -0.20722010731697083, 0.05301286652684212, -0.062249328941106796, -0.1884859949350357, 0.9895243644714355, -0.4487556517124176, -0.28755903244018555, -0.7212433218955994, -0.22906376421451569, 0.374697208404541, 0.5355640053749084, 0.30267155170440674, -0.4300093650817871, -0.2822035849094391, 0.3348988890647888, -0.856813907623291, -0.1436031311750412, 0.0035184877924621105, -0.17232480645179749, 0.027805853635072708, 0.8381465077400208, -0.2988909184932709, 0.4721386730670929, 0.575923502445221, -0.19798021018505096, 0.6252862811088562, -0.47382181882858276, 0.12333005666732788, -1.0398622751235962, -0.20643256604671478, 0.015025243163108826, -0.3821943402290344, -0.5508735179901123, 0.11329857259988785, -0.49740299582481384, -0.7098588943481445, -0.9409198760986328, 0.827748715877533, -0.39061951637268066, -0.27084025740623474, -0.3241594135761261, -0.03005490079522133, 0.15596309304237366, 0.7250955700874329, 0.1862695962190628, 0.6319934725761414, 0.6047688126564026, -0.579154908657074, 0.7285218834877014, 0.030007947236299515, -0.49954691529273987, 0.54336017370224, -0.614815890789032, -0.09946992993354797, -0.11271258443593979, 0.1559232473373413, -1.031603455543518, -0.6349350810050964, 0.17284195125102997, 0.09551848471164703, 0.012618417851626873, -0.34964558482170105, -0.5035977363586426, -0.08931780606508255, -0.13026069104671478, 0.5335697531700134, 0.3514899015426636, -0.5231922268867493, 1.0597331523895264, 0.4813605546951294, -0.08336389809846878, -0.27760758996009827, -0.6103202700614929, -0.03832507133483887, -0.07431554794311523, -0.47413700819015503, 0.31161195039749146, -0.048306237906217575, -0.3449930250644684, 0.032563094049692154, -0.3109660744667053, -0.26775890588760376, -0.3456871211528778, 0.5511040091514587, 0.2139635980129242, 0.03721625357866287, -0.4614351987838745, 0.00023108154709916562, -0.27437421679496765, 0.24730883538722992, -0.3664870262145996, 0.5170332193374634, -0.17159004509449005, -0.4413412809371948, -0.19658058881759644, 0.062061380594968796, 0.6674652695655823, 0.2327388972043991, -0.07865700125694275, 0.5638023614883423, -0.09360166639089584, -0.6313816905021667, -0.4676017463207245, 0.28506338596343994, -0.5601449608802795, 0.5886873602867126, -0.6345411539077759, -0.7437654733657837, 0.5838498473167419, -0.6124150156974792, 0.17806579172611237, 0.2851285934448242, 0.41648533940315247, -0.08746084570884705, 0.8563668727874756, 0.36788347363471985, 0.30581164360046387, 0.5469653010368347, -0.5901477932929993, -0.024046365171670914, -0.8092670440673828, -0.2550325393676758, 0.10228519141674042, -0.34778258204460144, -0.3072807192802429, -0.849450945854187, 0.4980413615703583, -0.24126896262168884, -0.4088583290576935, 0.25475889444351196, -0.5780786871910095, 1.029258370399475, 0.3019583225250244, 0.12270273268222809, 0.18483060598373413, 0.36937496066093445, -0.09473040699958801, 0.217242032289505, -0.551811933517456, -0.5327893495559692, 0.7065010070800781, 0.30943408608436584, 1.0095781087875366, -0.09235566854476929, 0.6233272552490234, 0.392870157957077, 0.01093220617622137, -0.5303374528884888, 0.8490388989448547, 0.06984208524227142, -0.47759485244750977, -0.33288365602493286, -0.10743260383605957, -0.7320480346679688, 0.5044742822647095, -0.012747470289468765, -0.53558748960495, -0.006574958097189665, 0.2137695699930191, -0.3160627484321594, 0.43634048104286194, -0.4802171587944031, 0.9777233004570007, -0.13607221841812134, -0.6493405103683472, -0.29924866557121277, -0.16395506262779236, 0.3090789020061493, 0.0949636846780777, 0.2029210776090622, -0.36938345432281494, 0.12499668449163437, 0.08385653048753738, -0.5339334011077881, 0.9763866066932678, 0.0379599966108799, -0.2529795467853546, 0.6491233110427856, 0.8496459126472473, 0.3271466791629791, 0.1691412478685379, 0.05361327901482582, 0.12517017126083374, 0.34490305185317993, -0.29239535331726074, -0.49307045340538025, 0.8154709339141846, -0.9572058916091919, -0.8300756216049194, -0.44479233026504517, -0.7569428086280823, 0.1904892921447754, 0.23429489135742188, 0.07330527156591415, 0.8105353713035583, -0.8441280722618103, -0.2054099291563034, 0.5916159749031067, -0.8969278335571289, 0.38333022594451904, 0.1439436823129654, -0.8734037280082703, -0.5591732859611511, 1.0904754400253296, -0.3191623091697693, 0.23063860833644867, 0.5220323204994202, -0.04175911843776703, 0.026396652683615685, -0.3496795892715454, -0.5987146496772766, -0.21880951523780823, -0.8560894131660461, -0.24885809421539307, -0.33072954416275024, -0.6334736943244934, 0.08068761974573135, -0.656944751739502, -0.6399467587471008, -0.27536827325820923, -0.16123728454113007, -0.11822083592414856, 0.09174918383359909, 0.960941731929779, 0.09919638186693192, 0.23656262457370758, -0.602291464805603, 0.48581305146217346, 0.5180327892303467, 0.2496495246887207, -0.07845596969127655, -0.14227551221847534, -0.21360576152801514, -0.23605884611606598, -0.20862802863121033, -0.24301473796367645, 0.7094773054122925, -0.08482176065444946, 0.43848809599876404, 0.13772931694984436, -0.27764958143234253, 0.8229254484176636, -0.5995193719863892, 0.9508211612701416, 0.25314590334892273, -0.6665390133857727, 0.4466303884983063, -0.4048508405685425, 0.6669449806213379, 0.18881066143512726, -0.4115367829799652, -0.2044261246919632, -0.5951535701751709, -0.5446563363075256, -0.8686313033103943, 0.8941534757614136, 0.14745761454105377, 0.28230518102645874, -0.0012909048236906528, 0.06903120130300522, -0.17168918251991272, 0.10219189524650574, -0.5172644853591919, 0.09530315548181534, -0.5995497703552246, 0.008135136216878891, 0.12365440279245377, -0.2574702799320221, -0.19933992624282837, -0.09562870860099792, 0.2553882598876953, -0.15393999218940735, 0.2027183473110199, 0.4354814291000366, -0.1829422265291214, 0.027906198054552078, -0.004068421665579081, 0.26864445209503174, 0.6393178701400757, -0.11953254789113998, 0.22222761809825897, 0.18666493892669678, -0.29849037528038025, 0.14553113281726837, -0.14403758943080902, 0.04959504306316376, -0.1430472880601883, 0.4306062161922455, 0.5578212738037109, 0.33434388041496277, -0.8466242551803589, 0.43969061970710754, 0.11156032234430313, -0.37982845306396484, -0.6644402146339417, 0.3026348650455475, 0.04035470634698868, 0.4972679018974304, -0.0033689276315271854, 0.1842382699251175, 0.256579726934433, -0.4706261157989502, 0.021193213760852814, 0.17502900958061218, -0.29944032430648804, -0.2815730571746826, 0.8468924760818481, 0.2935088574886322, -0.16161641478538513, 0.7075726985931396, -0.04868922382593155, -0.20968683063983917, 0.9008572697639465, 0.6629219651222229, 1.0471092462539673, -0.04693466052412987, 0.39272406697273254, 0.5165172815322876, 0.10490100085735321, -0.17497029900550842, 0.08044720441102982, -0.021915895864367485, -0.7684526443481445, -0.4453004002571106, -1.0199841260910034, -0.2930270731449127, -0.1605157107114792, -0.06677085906267166, 0.1391083151102066, -1.0421098470687866, 0.14687593281269073, -0.42748743295669556, -0.2974148094654083, -0.7584134340286255, 0.03299564868211746, 0.1819024682044983, 0.8695866465568542, -0.3894656300544739, 0.8074899911880493, 0.8231786489486694, -0.4774671196937561, -0.7314177751541138, -0.40157759189605713, 0.22906725108623505, -0.783650279045105, 0.7473270893096924, 0.2134365290403366, -0.3509770333766937, 0.15724243223667145, -0.5845041871070862, -0.9121397733688354, 1.199636697769165, 0.3270874619483948, -0.46839576959609985, -0.01823314279317856, 0.36965233087539673, 0.5521319508552551, -0.6252067685127258, -0.011967875994741917, 0.34189191460609436, 0.21657291054725647, 0.700916588306427, -0.4258553981781006, -0.059118904173374176, -0.418245404958725, 0.5597938895225525, -0.21219903230667114, -0.2752958834171295, 0.65473872423172, -0.1657690703868866, -0.2911923825740814, 0.28134602308273315, 0.5649394392967224, 0.4676693081855774, 0.3544671833515167, 0.3184990882873535, 0.5688387751579285, 0.09995143115520477, 0.042688749730587006, 1.0856761932373047, -0.26834964752197266, -0.16974376142024994, 0.9901340007781982, -0.25673139095306396, 0.3704286813735962, 0.23093222081661224, -0.0705961063504219, 0.4958413541316986, 0.4850146472454071, -0.03420945629477501, 0.5396487712860107, 0.3041340410709381, -0.3303285241127014, -0.21490100026130676, 0.08632083237171173, 0.10405231267213821, 0.17881476879119873, 0.3728918731212616, -0.14869746565818787, -0.36799073219299316, -0.03606037423014641, -0.3065054714679718, 0.043393515050411224, -0.5404329895973206, 0.9323816299438477, 0.1403263658285141, -0.4970172345638275, 0.21005980670452118, -0.1605507731437683, -0.07654781639575958, -0.45573151111602783, -0.40292152762413025, -0.3542534112930298, 0.307471364736557, -0.32030946016311646, -0.9137566685676575, 0.24955865740776062, -0.2796696424484253, -0.09962541610002518, -0.4721109867095947, 0.6157001852989197, -0.5158728957176208, -0.46412310004234314, -0.11001750826835632, 0.3921746611595154, 0.3804989755153656, -0.20888037979602814, -0.7104277610778809, 0.2740935683250427, 0.02037745527923107, -0.21953465044498444, 0.40468505024909973, 0.7662432193756104, -0.07339192926883698, 0.7696800231933594, 0.8543946146965027, 0.1509123295545578, -0.09510798007249832, 0.20920494198799133, 0.954395592212677, -0.7021141052246094, -0.414678156375885, -0.6750014424324036, 0.662783682346344, -0.0275651216506958, 0.15380075573921204, 0.6237177848815918, 0.7108994722366333, 0.947655200958252, -0.41787421703338623, 0.8105964064598083, 0.05537515506148338, -0.16724960505962372, -0.5598511099815369, 0.47016650438308716, -0.3305128216743469, 0.5553297996520996, -0.31600216031074524, -1.438985824584961, -0.4638429880142212, 0.6460981369018555, 0.0403054840862751, -0.41039031744003296, 0.5901840329170227, 1.033705711364746, -0.2399332970380783, -0.4792734980583191, 0.6891245245933533, -0.11165379732847214, 0.5347180962562561, 0.375172883272171, 1.1828749179840088, -0.10639496892690659, 0.6378057599067688, -0.14633086323738098, 0.0004511445004027337, 0.07075132429599762, -0.8704490065574646, -1.0106279850006104, -0.3565734028816223, -0.315782368183136, -0.3888154923915863, -0.24903538823127747, 0.8055493235588074, 0.5934572815895081, -0.5237259864807129, -0.6891830563545227, -0.2581949234008789, 0.2768999934196472, -0.32753118872642517, -0.21878917515277863, 0.1484367847442627, -0.4136773347854614, -0.8947784900665283, 0.5047039985656738, 0.7486594915390015, 0.129524827003479, -0.7528818845748901, -0.14910708367824554, 0.32298460602760315, 0.007507051806896925, 0.829928994178772, 0.31384119391441345, -0.7340890169143677, 0.06774180382490158, -0.36442679166793823, -0.13115376234054565, -0.08985573798418045, 0.7942296862602234, -0.7963895201683044, 0.8323734998703003, 0.7035768628120422, 0.3842395544052124, 0.6504434943199158, 0.18437059223651886, 1.0543735027313232, -0.7062914967536926, 0.4470134973526001, -0.24499815702438354, 0.361992210149765, 0.28982919454574585, -0.2103111743927002, 0.5059617757797241, -0.06664970517158508, -0.4621354639530182, -0.456817626953125, 0.42635577917099, -1.0525708198547363, -0.4646148383617401, 1.0269511938095093, 0.04587420076131821, -0.7673377990722656, 0.015352313406765461, -0.6413863897323608, -0.15417101979255676, -0.2577036917209625, 0.5310124158859253, 0.40375804901123047, 0.047559287399053574, -0.31245917081832886, -0.5313794016838074, 0.6297417879104614, -0.4918871819972992, -0.5627124309539795, 0.10024967789649963, 0.96821129322052, 0.30809980630874634, 0.20967456698417664, 0.6466485857963562, -0.3396841585636139, 0.1262928694486618, 0.257797509431839, 0.37503913044929504, -0.43850165605545044, -0.44493043422698975, 0.011391174979507923, 0.27670130133628845, 0.03653253614902496, 0.09415224194526672 ]
http://arxiv.org/abs/2403.01244v2
http://arxiv.org/pdf/2403.01244v2
Mitigating Catastrophic Forgetting in Large Language Models with Self-Synthesized Rehearsal
2024-03-02T16:11:23
2024-05-25T12:17:29
Jianheng Huang, Leyang Cui, Ante Wang, Chengyi Yang, Xinting Liao, Linfeng Song, Junfeng Yao, Jinsong Su
cs.CL
cs.CL, cs.AI
Large language models (LLMs) suffer from catastrophic forgetting during continual learning. Conventional rehearsal-based methods rely on previous training data to retain the model's ability, which may not be feasible in real-world applications. When conducting continual learning based on a publicly-released LLM checkpoint, the availability of the original training data may be non-existent. To address this challenge, we propose a framework called Self-Synthesized Rehearsal (SSR) that uses the LLM to generate synthetic instances for rehearsal. Concretely, we first employ the base LLM for in-context learning to generate synthetic instances. Subsequently, we utilize the latest LLM to refine the instance outputs based on the synthetic inputs, preserving its acquired ability. Finally, we select diverse high-quality synthetic instances for rehearsal in future stages. Experimental results demonstrate that SSR achieves superior or comparable performance compared to conventional rehearsal-based approaches while being more data-efficient. Besides, SSR effectively preserves the generalization capabilities of LLMs in general domains.
[ -0.1475479155778885, -0.5527231097221375, 0.4573616087436676, 0.5332428216934204, -0.10683854669332504, 0.36320745944976807, -0.3844083547592163, 0.014021651819348335, 0.21057374775409698, 0.7133919596672058, -0.7708081603050232, -0.3395287096500397, 0.061225973069667816, 0.06474845856428146, -0.44050082564353943, 0.8684632182121277, -0.10614901036024094, 0.06547312438488007, -0.27505165338516235, -0.07866813987493515, -0.5739792585372925, -0.6013228297233582, -0.8533333539962769, -0.46363648772239685, 0.3983195722103119, 0.5876394510269165, -0.05788589268922806, 0.4439831078052521, -0.06884507834911346, 0.29747477173805237, 0.1732177883386612, 0.15804345905780792, -0.9957011938095093, 0.4885033965110779, -0.312263548374176, -0.2299860715866089, -0.35143834352493286, -0.049440354108810425, 1.282164216041565, 0.53028804063797, -0.4456924796104431, 0.05895029008388519, 0.1682298630475998, 0.8478491902351379, -0.607623279094696, 0.07166043668985367, -1.1727932691574097, 0.3035753071308136, -0.04315847158432007, -0.18877486884593964, -0.641545832157135, -0.03508031368255615, -0.197177454829216, -0.45450475811958313, 0.415289044380188, -0.17461322247982025, 0.2632414996623993, 0.07825667411088943, 0.024229593575000763, 0.07371242344379425, -0.9524493217468262, 0.8215004801750183, -0.6330432891845703, 0.4563924968242645, 0.3568253517150879, 0.5212925672531128, -0.48743578791618347, -0.5779854655265808, -0.5819776058197021, -0.3249818980693817, 0.4187929928302765, 0.425239622592926, 0.30156707763671875, -0.05454552173614502, 0.04132872074842453, 0.35974279046058655, -0.5954751968383789, 0.24161985516548157, -0.2903860807418823, -0.45833802223205566, 0.46470460295677185, 0.3200947344303131, 0.2165837436914444, 0.049646344035863876, -0.35573580861091614, 0.005850968882441521, -1.2647558450698853, -0.5387605428695679, 0.07454442977905273, 0.2969242036342621, 0.06279538571834564, 0.28498610854148865, -0.09423387795686722, 0.42782238125801086, 0.13643160462379456, -0.09095300734043121, -0.004915867932140827, -0.17079627513885498, -0.14574956893920898, -0.02649860270321369, 0.5765300393104553, 0.012356494553387165, 0.26076847314834595, -0.47576045989990234, -0.4057765007019043, -0.07053254544734955, 0.38550373911857605, -0.511218249797821, -0.33440539240837097, 0.08766339719295502, 0.12481788545846939, -0.03139791637659073, -0.4499719440937042, -0.6590440273284912, -0.06756819039583206, -0.6023764610290527, 0.5217077136039734, -0.47306719422340393, -0.1586911976337433, -0.22386017441749573, 0.13712042570114136, -0.07378452271223068, 0.1762048751115799, -1.0685858726501465, 0.2863025367259979, 0.3392318785190582, 0.8823573589324951, -0.11912208050489426, -0.7393242716789246, -0.6396675109863281, 0.6884627938270569, -0.7334896922111511, 0.5697223544120789, -0.008780709467828274, -0.2839447259902954, -0.011266290210187435, -0.13562028110027313, -0.24977174401283264, -0.850665271282196, -0.009743320755660534, -0.34698036313056946, -0.052485834807157516, -0.01673632673919201, -0.6278049945831299, 0.2570075988769531, 0.2140757441520691, -0.5304646492004395, 0.9168453812599182, 0.12307441234588623, -0.1600225567817688, 0.2153792679309845, -0.08949322253465652, -0.35830631852149963, 0.05521984025835991, -0.3559972643852234, -0.5760383605957031, 0.3294640779495239, 0.12824973464012146, 0.49130743741989136, -0.23657594621181488, 0.20748475193977356, -0.30539947748184204, -0.48380038142204285, 0.2513977587223053, -0.21144308149814606, -0.004621011670678854, 0.17661572992801666, -0.2513236105442047, -0.02541855350136757, -0.8856185078620911, 0.07609319686889648, 0.16695857048034668, -0.5047935843467712, -0.07739829272031784, 0.14605280756950378, 0.06077837944030762, 0.36669978499412537, -0.11666881293058395, -0.36199304461479187, 0.01156003400683403, -0.4546300172805786, 0.6200823783874512, 1.0571770668029785, 0.12944462895393372, 0.5509722232818604, -0.4818102717399597, 0.6027196645736694, 0.030566785484552383, -0.1217716708779335, -0.4135591387748718, 0.20698854327201843, -1.031248688697815, -0.2387513518333435, 0.0798826515674591, 0.22291728854179382, -0.617434561252594, 0.29838719964027405, -0.28842654824256897, -0.4343448579311371, -0.2802395522594452, 0.34617361426353455, 0.44145551323890686, 0.36391276121139526, 0.3635556399822235, -0.25307178497314453, -0.7705610394477844, -0.7597323656082153, -0.17431548237800598, 0.0027502335142344236, -0.04632747918367386, 0.05230458453297615, 0.3524004817008972, -0.2833103835582733, 1.0613293647766113, -0.06376819312572479, -0.6967246532440186, -0.43835410475730896, 0.06228350102901459, -0.02460912987589836, 0.8458477258682251, 0.37086984515190125, -0.2849677801132202, -0.39645853638648987, -0.14112365245819092, -0.7720309495925903, 0.0947587862610817, -0.6354373097419739, -0.044075071811676025, 0.5990369915962219, 0.706787645816803, -0.4504440128803253, -0.02101203426718712, 0.711338460445404, 0.20939645171165466, 0.7984676361083984, -0.31500035524368286, -0.1993868201971054, -0.9628206491470337, -0.009652776643633842, -0.2727827727794647, -0.23624560236930847, -0.5995965003967285, -0.02424832433462143, 0.31521013379096985, -0.4055936634540558, -0.39531204104423523, 0.7315876483917236, -0.7158175110816956, -0.041776012629270554, -0.29442355036735535, 0.18930238485336304, -0.2773701846599579, 0.5134492516517639, -0.06537123024463654, 0.8473849892616272, 0.6442751288414001, -0.8159993290901184, -0.10645278543233871, 0.05328712239861488, -0.3731365501880646, 0.34444570541381836, -0.4144032895565033, 0.507321834564209, -0.14878639578819275, 0.5759497284889221, -0.8137220740318298, -0.4285438358783722, 0.026171350851655006, -0.16369998455047607, 0.7049649953842163, -0.5746384263038635, -0.4428914487361908, -0.33849623799324036, -0.012565008364617825, 0.27690935134887695, 0.6443254947662354, -0.5907266736030579, 0.6362910270690918, 0.38618138432502747, -0.23437832295894623, -0.21712791919708252, -0.7175905704498291, 0.33532819151878357, -0.30984586477279663, -0.3527452051639557, 0.37362295389175415, -0.2920915484428406, 0.22223739326000214, -0.3963817358016968, -0.39435404539108276, 0.13738393783569336, -0.1010185107588768, 0.2300581932067871, -0.0034210095182061195, -0.008795103058218956, 0.3540598154067993, 0.150383859872818, -0.23339729011058807, 0.001170605537481606, -0.6204264163970947, 0.7513840198516846, 0.09425805509090424, -0.3420618176460266, -0.24699853360652924, 0.43153101205825806, 0.8108721971511841, 0.05886060744524002, 0.7584378719329834, 0.28533780574798584, -0.32792186737060547, -0.8208758234977722, -0.887734591960907, -0.3478614389896393, -0.5148003697395325, 0.3441682457923889, -0.22854232788085938, -0.8858704566955566, 0.8148996233940125, -0.23094943165779114, -0.14900025725364685, 0.1485358625650406, 0.5505509972572327, -0.258415162563324, 0.6914146542549133, 0.3159213960170746, -0.2553892731666565, 0.537173330783844, -0.3538477420806885, -0.03785434737801552, -1.0587294101715088, 0.01319457869976759, -0.13427947461605072, -0.04999854415655136, -0.29737356305122375, -0.4416314959526062, 0.5886773467063904, 0.04577611759305, -0.3162718415260315, 0.21268028020858765, -0.06497396528720856, 0.6458590626716614, 0.34022483229637146, 0.136140376329422, -0.01662404276430607, 0.22146688401699066, -0.3350551426410675, -0.27897030115127563, -0.8528915047645569, -0.24789482355117798, 1.1424918174743652, 0.2139727771282196, 0.8068378567695618, -0.15188787877559662, 1.043562412261963, 0.035163696855306625, 0.281944215297699, -0.3723219633102417, 0.6976491808891296, 0.04209200665354729, -0.6057721376419067, -0.40717434883117676, -0.7335197925567627, -0.7491046786308289, 0.33836299180984497, -0.0591309517621994, -0.6516539454460144, -0.2451525330543518, 0.5921874642372131, -0.037258461117744446, 0.13711312413215637, -0.5507239103317261, 0.6383518576622009, 0.018319295719265938, -0.5365365147590637, -0.5504664182662964, -0.24530552327632904, 0.32858213782310486, -0.5519043803215027, 0.28904470801353455, -0.023614132776856422, 0.4779994487762451, 0.6747689247131348, -0.2535506784915924, 1.129747748374939, 0.0000018142674207410892, -0.06183173507452011, 0.39820730686187744, 0.42461490631103516, 0.9110643267631531, 0.048728618770837784, -0.033868033438920975, -0.011003962717950344, -0.353590726852417, -0.44707757234573364, -0.5786016583442688, 1.0373713970184326, -0.5343073010444641, -0.597489058971405, -0.271824449300766, -0.4568808674812317, -0.5390264987945557, 0.10851031541824341, 0.299393892288208, 0.5615978240966797, -0.2839062213897705, 0.14952212572097778, 0.49355852603912354, -0.14893276989459991, 0.5095570087432861, 0.6269868016242981, -0.19528940320014954, -0.8391813635826111, 1.1870588064193726, 0.45045286417007446, 0.6811847686767578, 0.021937191486358643, 0.24082233011722565, -0.21386180818080902, -0.8527873754501343, -0.3874441981315613, 0.4056898355484009, -0.8904966115951538, -0.17345550656318665, -0.5196830630302429, -0.3891238272190094, -0.4045315384864807, -0.22269180417060852, -0.6830405592918396, -0.42874184250831604, -0.1690058708190918, -0.126372292637825, 0.08511720597743988, 0.5460814833641052, -0.35260799527168274, 0.009347907267510891, -0.8141416311264038, 0.20143209397792816, 0.3700306713581085, 0.45015576481819153, 0.35445210337638855, -0.7206217646598816, -0.5230351686477661, -0.017032643780112267, -0.388473242521286, -0.4272289574146271, 0.5993872284889221, 0.4852021336555481, 0.6235090494155884, 0.018083179369568825, 0.06643687933683395, 0.9715456366539001, -0.8720548152923584, 0.6862083077430725, 0.2999930679798126, -0.8825002908706665, 0.6766843795776367, -0.6419144868850708, 0.5057734847068787, 0.5882383584976196, 0.08802231401205063, -0.7023297548294067, -0.7944726347923279, -0.42378857731819153, -1.1693360805511475, 0.6205419301986694, 0.2631656229496002, 0.3056538999080658, -0.2860008180141449, 0.4381212592124939, 0.13484376668930054, 0.13219186663627625, -0.9273070693016052, -0.0011458004591986537, -0.20909929275512695, 0.020068159326910973, -0.31750112771987915, -0.38971003890037537, -0.07646705955266953, -0.13898152112960815, 0.7738445997238159, -0.2592175304889679, 0.19912682473659515, 0.13913729786872864, -0.28494465351104736, -0.4217735230922699, 0.08779429644346237, 0.5854994654655457, 0.8580052852630615, 0.01413862593472004, 0.12982165813446045, 0.5046964883804321, -0.3855248689651489, 0.33250105381011963, -0.496377557516098, -0.1665959507226944, -0.2923247516155243, 0.39318951964378357, 0.48354941606521606, 0.7551030516624451, -0.6965733766555786, -0.0642041265964508, 0.28635314106941223, -0.07943437993526459, -0.9629111886024475, 0.24511770904064178, 0.23296678066253662, 0.014170167967677116, 0.47963812947273254, -0.10842125862836838, -0.22032053768634796, -0.8016598224639893, 0.48089858889579773, 0.1980617195367813, -0.20052364468574524, -0.2965804636478424, 0.4590926170349121, 0.00421897554770112, -0.2483542263507843, 0.8777564764022827, 0.09663263708353043, -0.5078949332237244, 0.39863091707229614, 1.1569560766220093, 0.997947633266449, -0.5517804026603699, 0.14109662175178528, 0.521037220954895, 0.08930669724941254, -0.36613017320632935, 0.05714966356754303, -0.019330916926264763, -0.5264115333557129, -0.4808048605918884, -0.7011969089508057, -0.3178626596927643, 0.41709789633750916, -0.5349324345588684, -0.01306719146668911, -0.7745607495307922, 0.19743147492408752, -0.4503314793109894, -0.4348810911178589, -0.32597655057907104, 0.3109414875507355, -0.040478840470314026, 0.6273685693740845, -0.7869687080383301, 0.9500514268875122, 0.2871597707271576, -0.3716718554496765, -0.684689462184906, 0.2222772240638733, 0.03502265363931656, -0.7015117406845093, 0.43304646015167236, 0.1264287531375885, -0.09985968470573425, 0.1525896042585373, -0.46556276082992554, -1.1060025691986084, 1.0559132099151611, 0.5711005330085754, -0.8975037932395935, 0.16112899780273438, 0.15239697694778442, 0.6576352715492249, -0.27632278203964233, -0.174092099070549, 0.491996169090271, 0.19162437319755554, 0.4206068813800812, -0.7602649927139282, -0.10523360967636108, -0.016565708443522453, 0.05947711318731308, 0.043942030519247055, -0.7372788190841675, 0.5972667932510376, -0.0033336267806589603, -0.37948134541511536, 0.09618598222732544, 0.5497096180915833, 0.5985866189002991, 0.1611088216304779, 0.33179447054862976, 0.5930686593055725, 0.5740882158279419, 0.059621553868055344, 0.8727065920829773, -0.02059072256088257, 0.3710920810699463, 1.403725028038025, -0.4186626374721527, 0.8395566940307617, 0.42362454533576965, -0.04778814688324928, 0.28386619687080383, 0.4149671196937561, 0.22170570492744446, 0.6920519471168518, 0.4783204197883606, -0.41948655247688293, -0.6310170292854309, 0.38501861691474915, -0.2646236717700958, 0.38116273283958435, 0.3417017459869385, -0.13439612090587616, -0.18435660004615784, 0.10528906434774399, -0.04639328271150589, 0.17534898221492767, -0.3486187756061554, 0.8281687498092651, 0.3278759717941284, -0.9139496684074402, 1.0819668769836426, -0.3883547782897949, 0.04775742441415787, -0.7242431044578552, 0.10019243508577347, -0.5782017707824707, 0.42315444350242615, 0.1425255835056305, -0.3529471158981323, 0.4107603430747986, -0.21644575893878937, -0.20515723526477814, -0.29612234234809875, 0.3814130127429962, -0.71860271692276, -0.40972501039505005, 0.27093571424484253, -0.001260405289940536, -0.015951143577694893, -0.11800651252269745, -0.3995322287082672, 0.24216945469379425, -0.31142133474349976, -0.1470654308795929, 0.8635081648826599, 0.4310886263847351, -0.013893954455852509, 1.0859071016311646, 0.6343477368354797, 0.11362967640161514, 0.09738894551992416, 0.2244877964258194, 1.0061872005462646, -0.8964022397994995, -0.6870505809783936, -0.6660337448120117, 0.4270879328250885, 0.1355733424425125, -0.11879123747348785, 0.7494012117385864, 0.4368998110294342, 0.8241209983825684, -0.42286479473114014, 0.7631050944328308, 0.502309262752533, 0.41942349076271057, -1.0818058252334595, 1.0125844478607178, -0.42840149998664856, 0.32699188590049744, -0.2720559239387512, -0.9637854695320129, -0.2933892011642456, 0.6286445260047913, 0.027817945927381516, 0.12259948998689651, 0.7126911878585815, 0.7448257803916931, -0.06391165405511856, -0.26888081431388855, 0.5571189522743225, 0.47241315245628357, 0.3615357577800751, 0.6581797003746033, 1.0178292989730835, -0.2457188069820404, 0.3484733998775482, -0.015869049355387688, -0.09819445013999939, -0.12712179124355316, -0.8900625705718994, -0.9930042028427124, -0.8056619167327881, -0.2945862114429474, -0.2663930654525757, 0.2369270920753479, 0.8294335007667542, 0.87828528881073, -0.8567361831665039, -0.37669262290000916, -0.5098399519920349, -0.1253669410943985, -0.17745527625083923, -0.1473006159067154, 0.2413681000471115, -0.7933306694030762, -0.4812747836112976, 1.061624526977539, 0.37263378500938416, 0.3197077512741089, -0.45670416951179504, -0.13337096571922302, 0.038529880344867706, 0.16761747002601624, 0.5633702278137207, 0.49025002121925354, -0.6187715530395508, -0.42679446935653687, -0.3847917318344116, 0.21315768361091614, -0.09739107638597488, 0.8503298759460449, -0.9163921475410461, 0.4962767958641052, 0.05598190426826477, 0.4739973247051239, 0.8242200016975403, -0.3509303033351898, 0.8913019895553589, -1.0012215375900269, 0.14443592727184296, 0.28396177291870117, 0.3637614846229553, 0.44971609115600586, -0.17979691922664642, 0.3678841292858124, 0.2285308986902237, -0.684831440448761, -0.8418453931808472, 0.34631288051605225, -0.8346869945526123, -0.10049185901880264, 1.1317931413650513, -0.17450879514217377, -0.06673625856637955, -0.007927554659545422, 0.11936470121145248, -0.03775281831622124, -0.15621064603328705, 1.1727774143218994, 0.5848026275634766, 0.24701449275016785, -0.18740060925483704, -0.20253874361515045, 0.5282597541809082, 0.4627794921398163, -0.5181476473808289, 0.4452788531780243, 0.6115790009498596, 0.6715466976165771, -0.169866681098938, 0.765292227268219, -0.21005503833293915, 0.2715245187282562, -0.11150442063808441, -0.05089332163333893, -0.018462855368852615, -0.9195894002914429, -0.3690047562122345, 0.05207272619009018, -0.02110017091035843, 0.14245587587356567 ]
http://arxiv.org/abs/2403.01242v1
http://arxiv.org/pdf/2403.01242v1
Augmenting Automation: Intent-Based User Instruction Classification with Machine Learning
2024-03-02T16:06:03
2024-03-02T16:06:03
Lochan Basyal, Bijay Gaudel
cs.LG
cs.LG, cs.AI, cs.CL, cs.HC
Electric automation systems offer convenience and efficiency in controlling electrical circuits and devices. Traditionally, these systems rely on predefined commands for control, limiting flexibility and adaptability. In this paper, we propose a novel approach to augment automation by introducing intent-based user instruction classification using machine learning techniques. Our system represents user instructions as intents, allowing for dynamic control of electrical circuits without relying on predefined commands. Through a machine learning model trained on a labeled dataset of user instructions, our system classifies intents from user input, enabling a more intuitive and adaptable control scheme. We present the design and implementation of our intent-based electric automation system, detailing the development of the machine learning model for intent classification. Experimental results demonstrate the effectiveness of our approach in enhancing user experience and expanding the capabilities of electric automation systems. Our work contributes to the advancement of smart technologies by providing a more seamless interaction between users and their environments.
[ -0.29541876912117004, -0.5222517848014832, 0.6884005069732666, -0.006480957381427288, 0.29740235209465027, -0.1923108696937561, -0.005020331125706434, -0.19294598698616028, -0.04141518101096153, 0.6479734182357788, -0.5776452422142029, -0.3027324676513672, -0.42458391189575195, 0.08382514119148254, -0.2807771563529968, 0.58851557970047, -0.3928269147872925, -0.3073796331882477, -0.18519334495067596, 0.09844101220369339, -0.6342888474464417, -0.1827475130558014, -0.13176773488521576, -0.5282899141311646, 0.4113999009132385, 0.8582897186279297, 0.3379562795162201, 0.1876482367515564, 0.4571734070777893, 0.41416826844215393, 0.6513776779174805, 0.5065426826477051, -0.012759934179484844, 0.23848801851272583, -0.024468326941132545, -0.48851901292800903, -0.3522290289402008, 0.1063854768872261, 0.14163251221179962, 0.6064630746841431, -0.09734881669282913, -0.016124602407217026, -0.17084595561027527, 0.5662723779678345, -0.6576257348060608, 0.3660430312156677, -0.3955114185810089, 0.19579628109931946, 0.3336668014526367, -0.8740113377571106, -0.9231299757957458, -0.24503475427627563, 0.12336878478527069, -0.6559694409370422, -0.21637681126594543, 0.15993927419185638, 0.6570116281509399, 0.2879945933818817, -0.6633327603340149, -0.3479235768318176, -1.1493059396743774, 0.8065277934074402, -0.1189122200012207, 0.5462968349456787, 0.21753886342048645, 0.5786567330360413, -0.08171956241130829, -0.8707528710365295, -0.5096157789230347, -0.32260453701019287, -0.27515530586242676, 0.07613516598939896, 0.2210628241300583, 0.3331563472747803, 0.37390604615211487, -0.061258070170879364, -0.3728668689727783, 0.21893249452114105, -0.23681016266345978, -0.047035977244377136, 0.7967233061790466, 0.32055753469467163, 0.5065183639526367, 0.10641322284936905, -0.49258339405059814, -0.01835637167096138, -0.4332238435745239, 0.4512021839618683, 0.5905388593673706, 0.2435847669839859, 0.3272680640220642, 0.6789430379867554, -0.26393210887908936, 0.4978893995285034, 0.3594760000705719, 0.05412272736430168, 0.3471558392047882, 0.2528627812862396, -0.5099791288375854, 0.4612739682197571, 0.5775425434112549, 0.31493234634399414, 0.11121722310781479, -0.11667544394731522, -0.4573129713535309, -0.2792986035346985, 0.7364129424095154, -0.5675267577171326, -0.386147677898407, 0.11357629299163818, -0.4970250427722931, -0.2872168719768524, 0.6163766384124756, -0.14873768389225006, -0.33249199390411377, -0.8302580118179321, 0.6448426842689514, -0.1857408583164215, 0.27790915966033936, 0.24920348823070526, -0.22331556677818298, 0.2798524796962738, 0.8149545192718506, -1.2635478973388672, 0.3825840353965759, 0.6859003901481628, 0.3026392459869385, -0.029415789991617203, -0.30495113134384155, -0.4203069508075714, 0.2998833656311035, 0.0026258432772010565, 0.6101410984992981, -0.5469191670417786, -0.519429087638855, -0.1277170330286026, 0.347258061170578, -0.23413904011249542, -0.2583494782447815, 0.26840323209762573, -1.0954413414001465, 0.42200127243995667, 0.4449922740459442, -0.5595537424087524, -0.7261962294578552, -0.11406461894512177, -0.553851306438446, 0.591115415096283, 0.2903701961040497, -0.4490445554256439, 0.4304666519165039, -1.1253955364227295, -0.7525937557220459, 0.21464580297470093, -0.10615277290344238, -0.45333346724510193, -0.07359235733747482, -0.30807560682296753, 0.5555480122566223, 0.4747072756290436, 0.015588727779686451, -0.270658940076828, -0.2207375317811966, 0.37097397446632385, -0.6785418391227722, 0.7072259783744812, 0.09829847514629364, -0.41433265805244446, 0.4710671305656433, -0.702560305595398, 0.028419053182005882, -0.20348788797855377, -0.15216030180454254, -0.17746783792972565, 0.026725010946393013, -0.07739467918872833, 0.1420498788356781, 0.5009328722953796, -0.4208716154098511, 0.2573642134666443, -0.2582134008407593, -0.06045392528176308, 0.788692831993103, -0.1410927176475525, 0.6496115326881409, -0.25613856315612793, 0.399673730134964, -0.3033560514450073, 0.3260101079940796, -0.20092682540416718, -0.4727652072906494, -0.7026088833808899, 0.02782547101378441, 0.21089240908622742, 1.1498565673828125, -0.41862571239471436, 1.08210027217865, -0.06893987953662872, -0.22216857969760895, -0.1560634821653366, 0.24590151011943817, -0.2373337745666504, 0.5731438398361206, 0.4687773585319519, -0.29490038752555847, -0.47418996691703796, -0.6991259455680847, 0.02650868520140648, 0.053859151899814606, -0.3718726336956024, 0.6844694018363953, 0.16890999674797058, -0.472354531288147, 0.9340869784355164, -0.5750164985656738, -0.309169739484787, -0.40912023186683655, 0.2532574534416199, 0.0441887266933918, 0.36064445972442627, 0.08738255500793457, -0.9993830919265747, -0.5970779657363892, 0.5934110879898071, -0.7533671259880066, -0.06120753288269043, -0.2513653635978699, 0.14266249537467957, 0.009539133869111538, 0.4782496988773346, -0.2439340204000473, 0.8134378790855408, 0.13581374287605286, -0.16166739165782928, 0.5830524563789368, -0.4443647265434265, 0.40670308470726013, -0.5616183876991272, -0.11017650365829468, -0.2391001135110855, -0.3400769531726837, -0.7348379492759705, -0.5861382484436035, 0.17324213683605194, 0.12895561754703522, -0.7188262939453125, 0.24680016934871674, -0.1796720027923584, -0.03367353230714798, -0.5838677883148193, -0.45918330550193787, 0.1224253922700882, 0.5286975502967834, -0.03394694626331329, 0.7275655269622803, 0.6228031516075134, -1.032523512840271, 0.6488279700279236, 0.2286866456270218, -0.19630561769008636, 0.19586873054504395, -0.2795425057411194, 0.020350534468889236, -0.02039584517478943, 0.011839963495731354, -0.6591348052024841, -0.6433216333389282, 0.2559835910797119, -0.3134496212005615, 0.5141846537590027, 0.0746326670050621, -0.23033127188682556, -0.48031753301620483, -0.10122454911470413, 0.07502269744873047, 0.8870351314544678, -0.7340688109397888, 1.0908901691436768, 0.2252584844827652, -0.15165011584758759, -0.20402684807777405, -0.39343395829200745, -0.25001758337020874, -0.30396997928619385, -0.4156421422958374, 0.2325156331062317, 0.15982918441295624, -0.19066587090492249, -0.13558988273143768, 0.07311063259840012, -0.09055786579847336, 0.324741929769516, 0.4841310381889343, 0.27105873823165894, 0.10847408324480057, 0.35913345217704773, 0.37023335695266724, -0.20133619010448456, 0.31421974301338196, -0.6243206262588501, 0.5004234910011292, 0.04767647013068199, -0.6356006860733032, -1.3558108806610107, 0.32009807229042053, 0.6221871972084045, -0.09424104541540146, 0.23591992259025574, 0.22027818858623505, -0.056133393198251724, -0.5038104057312012, -0.0959116593003273, -0.3999176323413849, -0.6679750680923462, 0.0604952834546566, -0.26242733001708984, -0.64732426404953, 0.010086233727633953, -0.5575674176216125, 0.22083038091659546, 0.38468682765960693, 0.40792179107666016, -0.6357924342155457, 1.2425435781478882, 0.9932684302330017, 0.3102714419364929, 1.013089656829834, -0.26370513439178467, 0.26454025506973267, -0.5224546194076538, -0.4137726128101349, -0.1397300362586975, -0.736674427986145, -0.46610328555107117, -0.04036083444952965, 0.07843773812055588, -0.40833625197410583, -0.24520926177501678, 0.43661603331565857, -0.6499565243721008, 0.22976809740066528, 0.5465903282165527, 0.49979180097579956, 0.09668976813554764, 0.0184866264462471, 0.24514518678188324, 0.33717969059944153, -0.499904066324234, -0.9034984111785889, 1.2092517614364624, 0.3848629295825958, 1.0825947523117065, -0.048585548996925354, 0.5621852874755859, 0.7876228094100952, 0.36781764030456543, -0.9622387886047363, 0.36254897713661194, 0.04821472242474556, -0.06164054572582245, -0.6589905619621277, -0.3880695104598999, -1.146864891052246, -0.28004568815231323, 0.2596180737018585, -0.9007729887962341, 0.3001292645931244, 0.4061182737350464, -0.5077099800109863, 0.2297905683517456, -1.1658722162246704, 0.7906404137611389, -0.9028165340423584, -0.08945325762033463, -0.07157330214977264, -0.5781920552253723, 0.2632131576538086, 0.23434266448020935, -0.14183855056762695, 0.122197724878788, -0.19924882054328918, 0.5798344612121582, -0.5272508263587952, 0.5850018262863159, -0.20409554243087769, -0.16501662135124207, 0.4397563934326172, -0.2616606652736664, 0.4785640239715576, 0.09876322001218796, -0.10336373746395111, -0.35723888874053955, -0.6940634846687317, -0.20520803332328796, -0.826688289642334, 0.618162989616394, -0.5424482822418213, -0.4202814996242523, -0.10810536891222, -0.6357589960098267, -0.08084694296121597, 0.4927660822868347, -0.024987105280160904, 0.4444403648376465, -0.01903880387544632, 0.1310439258813858, 1.1408867835998535, 0.1501391977071762, 0.4542172849178314, 0.18498195707798004, -0.28417620062828064, -0.031103095039725304, 0.9390310645103455, -0.1589440405368805, 0.1242319867014885, 0.7935887575149536, -0.007855581119656563, -0.5582993626594543, -0.26900357007980347, -0.37729412317276, -0.45880362391471863, -0.551584005355835, 0.11833762377500534, -1.0269100666046143, 0.024199066683650017, -0.4498134255409241, -0.5994523167610168, 0.14132964611053467, -0.3953199088573456, -0.6890897154808044, -0.11750197410583496, 0.4632411599159241, 0.5498618483543396, 0.44290536642074585, 0.7702343463897705, -0.6436108350753784, 0.3810032904148102, 0.8154733180999756, 0.4804750978946686, -0.4653101861476898, -0.32357528805732727, 0.022473182529211044, -0.21756772696971893, -0.7549238801002502, -0.7892319560050964, 0.37124747037887573, 0.12069154530763626, 0.6346442699432373, 0.7481324672698975, 0.26088249683380127, -0.15292511880397797, -0.591385543346405, 0.38430270552635193, 0.45856890082359314, -0.6469859480857849, 0.6652383804321289, 0.04007522016763687, 0.13872869312763214, 0.7350236773490906, 0.3971652686595917, -0.10965219885110855, 0.1194552630186081, -0.7318165898323059, -0.6915299296379089, 0.8092767000198364, -0.30083125829696655, 0.14790977537631989, 0.454743355512619, -0.024090318009257317, 0.3008842170238495, 0.18920095264911652, -0.2601683735847473, -0.3073095977306366, -0.30569425225257874, -0.5854396820068359, 0.05414070188999176, 0.3225092589855194, -0.05941963195800781, -0.12745454907417297, 0.7283205986022949, -0.1587245613336563, 0.3936460316181183, -0.10512476414442062, -0.351889431476593, -0.02511696144938469, 0.382922887802124, 0.6240692734718323, 0.37624338269233704, -0.11599551141262054, 0.07365670055150986, 0.3335822522640228, -0.5172230005264282, 0.4244391620159149, 0.18514281511306763, -0.4675045609474182, -0.04292493686079979, -0.29973122477531433, 0.9872084259986877, 0.01375768706202507, -0.6275015473365784, 0.29075953364372253, -0.38718321919441223, -0.32880157232284546, -0.4918154180049896, 0.8818129301071167, -0.29178592562675476, 0.001452979282476008, 0.13363578915596008, 0.4270398020744324, 0.6671715974807739, -0.32173582911491394, 0.5285617113113403, 0.1376321166753769, -0.749101996421814, -0.12763795256614685, 0.44271790981292725, 0.48911020159721375, -0.7897818088531494, 0.323430597782135, -0.38298413157463074, -0.5742955803871155, 0.799648642539978, 0.29302236437797546, 0.9918036460876465, -0.33283746242523193, 0.04792314022779465, -0.0040357946418225765, 0.22583423554897308, 0.3323155343532562, 0.438233345746994, -0.3232180178165436, -0.299797385931015, -0.1696452647447586, -0.27066850662231445, -0.472396582365036, -0.02745763771235943, -0.26242223381996155, 0.7582257986068726, -0.5507470965385437, 0.17564892768859863, -0.15356644988059998, -0.11853279173374176, -0.7801977396011353, 0.2537325620651245, -0.029552383348345757, 1.0166122913360596, -0.8085838556289673, 0.6732804179191589, 0.8949514031410217, 0.014558391645550728, -0.8103182911872864, 0.0065444414503872395, -0.24784453213214874, -0.31051912903785706, 0.6684936881065369, 0.7251486778259277, -0.19564981758594513, 0.3472505509853363, -0.3000790476799011, -0.29722946882247925, 1.2745128870010376, -0.44022881984710693, -0.29016515612602234, 0.26956018805503845, -0.18473805487155914, 0.22639814019203186, -0.3122941255569458, 0.47813090682029724, 0.20669320225715637, 0.870795488357544, -0.034368619322776794, -0.6183282732963562, -0.23860003054141998, -0.08367704600095749, -0.37837934494018555, 0.41391485929489136, -0.20003335177898407, 0.31722190976142883, -0.3185175657272339, -0.2551300823688507, -0.18143253028392792, 1.058722734451294, -0.1646658331155777, 0.7075877785682678, 0.7175287008285522, 0.11733844876289368, 0.7392317652702332, 0.019029734656214714, 0.7566573023796082, -0.19639331102371216, 0.28790518641471863, 0.8325635194778442, -0.48228397965431213, 0.35630232095718384, 0.3213096261024475, -0.2725474536418915, 0.7529045343399048, 0.33186060190200806, 0.0795770138502121, 0.6126883029937744, -0.11405719816684723, -0.6488621830940247, -0.21688580513000488, 0.13192526996135712, 0.08813772350549698, 0.30421340465545654, 0.6926714181900024, -0.36732950806617737, -0.11379215866327286, 0.47986721992492676, -0.5789873600006104, -0.10373416543006897, -0.5092906951904297, 0.9547001719474792, -0.2033635377883911, -0.44926705956459045, -0.015033728443086147, 0.008290065452456474, 0.5801887512207031, -0.45080506801605225, -0.1966087967157364, 0.6142160892486572, 0.24974288046360016, -0.5925225019454956, -0.8311729431152344, 0.0720343366265297, -0.09448622167110443, -0.24349866807460785, -0.601674497127533, 0.9947699308395386, -0.2627470791339874, -0.3175193667411804, -0.1757100373506546, -0.0044591790065169334, 0.1869433969259262, 0.4433692395687103, -0.383029967546463, -0.4071004092693329, 0.034219078719615936, -0.22154398262500763, 0.05384233593940735, 0.5959576368331909, -0.2182178795337677, 0.8535826206207275, 0.5643054842948914, -0.3140298128128052, 0.2107633650302887, -0.08116427809000015, 0.5057218074798584, -0.4222200810909271, -0.6177762746810913, -0.37196648120880127, 0.6764687299728394, -0.22591517865657806, -0.039716076105833054, 0.7125198245048523, 0.4547826647758484, 0.9165894985198975, -0.19250182807445526, 1.2086411714553833, -0.26361724734306335, 0.227238729596138, -0.33394354581832886, 0.37332937121391296, -0.4036112129688263, 0.3287392854690552, 0.20321282744407654, -0.4166475832462311, -0.23292796313762665, 0.29620301723480225, -0.7008355855941772, 0.2779140770435333, 0.516690731048584, 0.549288272857666, -0.64867103099823, 0.0962730273604393, 0.5416174530982971, -0.37776806950569153, 0.28114646673202515, 0.2582606375217438, 0.9906426072120667, -0.07552268356084824, 0.15766601264476776, -0.42677706480026245, -0.6085157990455627, -0.913366436958313, -0.5516294836997986, -0.5448058843612671, -0.30972689390182495, -0.06972713023424149, 0.15765587985515594, -0.3001512289047241, 1.0527514219284058, 0.5215836763381958, -0.927783191204071, -0.1279587745666504, -0.5660324096679688, 0.4488944709300995, -0.4730471968650818, -0.29533547163009644, 0.10359615832567215, -0.7377045750617981, -0.6406881809234619, 0.35317450761795044, 0.5853970050811768, 0.17143794894218445, -0.15540751814842224, -0.4319884181022644, -0.05527156963944435, 0.17228052020072937, 0.8123140931129456, 0.5067470669746399, -0.5457732081413269, -0.24551433324813843, 0.20370528101921082, -0.23942448198795319, -0.006115541327744722, 0.8561934232711792, -0.7621610164642334, 0.41572821140289307, 0.6846727132797241, 0.6647176742553711, -0.18338629603385925, 0.3003539741039276, 0.4630657732486725, -0.3752458989620209, -0.21397468447685242, 0.27213799953460693, 0.3532811999320984, 0.03195309638977051, -0.8500056862831116, -0.21038982272148132, -0.12937144935131073, -0.7773560881614685, -0.36609044671058655, 0.43970024585723877, -1.2424296140670776, -0.313199907541275, 0.74434894323349, -0.12095311284065247, -0.42048195004463196, -0.5294755101203918, -0.6247866153717041, 0.28005072474479675, -0.4841237962245941, 0.9327816963195801, -0.04948113113641739, -0.9234687685966492, -0.08044662326574326, -0.42421576380729675, 0.1616819202899933, 0.1954786479473114, -1.2490720748901367, 0.0023849839344620705, 0.37457722425460815, -0.15461032092571259, 0.2766742706298828, 0.21370314061641693, 0.229736328125, 0.6974042654037476, -0.5516484379768372, 0.2757198214530945, -0.32087475061416626, -0.9446081519126892, -0.2922167181968689, 0.37396252155303955, -0.18494616448879242, -0.47512245178222656 ]
http://arxiv.org/abs/2403.01241v2
http://arxiv.org/pdf/2403.01241v2
IntactKV: Improving Large Language Model Quantization by Keeping Pivot Tokens Intact
2024-03-02T16:05:26
2024-05-25T10:33:03
Ruikang Liu, Haoli Bai, Haokun Lin, Yuening Li, Han Gao, Zhengzhuo Xu, Lu Hou, Jun Yao, Chun Yuan
cs.CL
cs.CL, cs.AI
Large language models (LLMs) excel in natural language processing but demand intensive computation. To mitigate this, various quantization methods have been explored, yet they compromise LLM performance. This paper unveils a previously overlooked type of outliers in LLMs. Such outliers are found to allocate most of the attention scores on initial tokens of input, termed as pivot tokens, which are crucial to the performance of quantized LLMs. Given that, we propose IntactKV to generate the KV cache of pivot tokens losslessly from the full-precision model. The approach is simple and easy to combine with existing quantization solutions with no extra inference overhead. Besides, IntactKV can be calibrated as additional LLM parameters to boost the quantized LLMs further with minimal training costs. Mathematical analysis also proves that IntactKV effectively reduces the upper bound of quantization error. Empirical results show that IntactKV brings consistent improvement over various quantization methods across different LLMs and downstream tasks, leading to the new state-of-the-art for LLM quantization. The codes are available at https://github.com/ruikangliu/IntactKV.
[ 0.16627532243728638, -0.6727228760719299, 0.5616714954376221, 0.15427321195602417, -0.6920168399810791, 0.06767391413450241, -0.5115676522254944, 0.004611867014318705, 0.09343738853931427, 0.68211829662323, -0.23131632804870605, -0.5366033315658569, -0.5622559785842896, -0.2399718165397644, -0.28087979555130005, 0.8385694622993469, 0.10968366265296936, 0.2111649364233017, -0.25495803356170654, -0.21599991619586945, -0.38886553049087524, -0.3937041461467743, -0.3730606436729431, -0.2456737458705902, 0.14065082371234894, 0.3351801633834839, 0.6450057625770569, 0.839777946472168, 0.544863224029541, 0.28871703147888184, -0.2629909813404083, 0.18661433458328247, -0.4982755780220032, 0.5288787484169006, 0.1643933802843094, -0.6538297533988953, -0.43766385316848755, -0.42522358894348145, 0.9991233348846436, 0.6293947696685791, -0.35837432742118835, 0.030466539785265923, -0.04997626692056656, 0.9589121341705322, -0.9662647843360901, 0.31313028931617737, -0.8040230870246887, -0.07914738357067108, -0.43319055438041687, 0.2451530545949936, -0.6966946721076965, -0.33373579382896423, -0.193693608045578, -0.5064696669578552, -0.22556695342063904, -0.27147310972213745, 0.6979542970657349, 0.5544871687889099, -0.34064534306526184, 0.2138906568288803, -0.6267019510269165, 0.6556991934776306, -0.7857372760772705, 0.46199190616607666, 0.28045254945755005, 0.1511920839548111, -0.3545989394187927, -0.9207326769828796, -0.2572875916957855, -0.002376670017838478, 0.19424684345722198, 0.18555457890033722, -0.08570614457130432, 0.20707818865776062, 0.030567605048418045, 0.44985711574554443, -0.33229151368141174, 0.01978074572980404, -0.3938208520412445, -0.19680999219417572, 0.35883140563964844, 0.294528990983963, 0.2603883147239685, -0.20956958830356598, -0.11073216795921326, -0.015265244990587234, -0.9772547483444214, 0.25749361515045166, 0.3172888159751892, 0.28954118490219116, 0.13137201964855194, 0.8815305233001709, -0.2880246341228485, 0.44819509983062744, -0.006519170943647623, -0.14959219098091125, 0.14270684123039246, -0.4239956736564636, -0.35943618416786194, 0.3157745599746704, 0.7556101083755493, 0.10616813600063324, 0.25362926721572876, -0.052916597574949265, -0.02369282953441143, -0.04222843796014786, 0.4274819791316986, -0.8973073959350586, -0.5661547780036926, 0.17355242371559143, -0.39311277866363525, -0.253943532705307, 0.183568075299263, -0.3104960024356842, -0.11283475905656815, -0.39258265495300293, 0.30809226632118225, -0.5659706592559814, -0.2894408702850342, 0.01977493055164814, 0.29648151993751526, 0.19615969061851501, 0.3512020409107208, -0.7516515851020813, -0.054314885288476944, 1.1140532493591309, 0.8744603991508484, -0.2247348576784134, 0.10036683827638626, -0.9154785871505737, 0.16000553965568542, -0.5669649243354797, 0.5392531156539917, -0.4983959197998047, -0.17591610550880432, -0.018751291558146477, 0.013761366717517376, 0.3891753852367401, -0.4469429552555084, 0.6269089579582214, -0.40212753415107727, -0.12791214883327484, -0.23151026666164398, -0.5575444102287292, 0.028639420866966248, 0.13521908223628998, -0.5919516682624817, 1.3128529787063599, 0.07452274858951569, -0.7982187867164612, 0.5283523201942444, -0.35794374346733093, -0.31321775913238525, 0.37597498297691345, 0.08068279922008514, -0.7282817959785461, 0.5598582625389099, 0.24825626611709595, 0.381317675113678, 0.01832389086484909, 0.4898969233036041, -0.35168877243995667, -0.3764590620994568, 0.27354615926742554, -0.507493257522583, 0.7945636510848999, -0.07581789046525955, -0.08462779223918915, 0.24611707031726837, -0.6426568627357483, 0.3096931576728821, -0.16549772024154663, -0.6671141386032104, -0.5267273187637329, 0.03388003259897232, -0.15264858305454254, -0.2230159193277359, -0.04104427993297577, -0.5732879042625427, 0.4621724784374237, -0.9875553250312805, 0.5749912858009338, 0.8567460179328918, -0.08775883167982101, 0.560462236404419, 0.25781768560409546, 0.3379078209400177, 0.16838285326957703, 0.13574711978435516, -0.6039183735847473, -0.3914828300476074, -0.833652138710022, -0.8184009194374084, 0.5680986046791077, 0.028617898002266884, -0.7733474969863892, 0.44056418538093567, -0.7129993438720703, -0.46556776762008667, -0.7133209705352783, 0.0005222233012318611, 0.23799824714660645, 0.4551662504673004, -0.053469277918338776, -0.14086931943893433, -0.45868781208992004, -0.9705207943916321, -0.37156084179878235, -0.13991130888462067, -0.24852706491947174, -0.2853665351867676, 0.24467788636684418, -0.04873104393482208, 1.0864533185958862, -0.3544533848762512, -0.21205773949623108, 0.03997838869690895, -0.07294318825006485, 0.24500441551208496, 0.3396426737308502, -0.03729734569787979, -0.6685324311256409, -0.8456916213035583, 0.21331407129764557, -0.30170848965644836, 0.003641332732513547, 0.2762543261051178, -0.35191959142684937, 0.39909976720809937, 0.5243644714355469, -0.679573118686676, 0.5596614480018616, 0.3418142795562744, -0.2836858630180359, 0.371182382106781, -0.24519142508506775, -0.004113995004445314, -1.129225730895996, 0.0723118931055069, -0.3617638647556305, -0.7504031658172607, -0.5925800800323486, -0.14691492915153503, 0.6264523267745972, 0.2040531486272812, -0.7296818494796753, 0.2741953432559967, -0.4392669200897217, -0.08182595670223236, -0.38988685607910156, 0.07873791456222534, 0.05793486908078194, 0.45443472266197205, -0.2935796082019806, 0.6429638266563416, 0.49284088611602783, -0.30928027629852295, 0.48967820405960083, 0.15731962025165558, -0.5105724334716797, 0.3263970613479614, -0.6146183609962463, 0.04402444511651993, -0.31241118907928467, 0.16183914244174957, -0.752997875213623, -0.21467477083206177, 0.2574267089366913, -0.45254185795783997, 0.5027568936347961, -0.46252045035362244, -0.7125937938690186, 0.24713104963302612, -0.5296516418457031, 0.49927130341529846, 0.6708287596702576, -0.3371899724006653, 0.622735321521759, 0.46018198132514954, -0.12151705473661423, -0.5115417242050171, -0.7017579674720764, -0.017247503623366356, -0.16860319674015045, -0.48650574684143066, 0.17429398000240326, 0.1133028194308281, -0.14271420240402222, -0.0027606890071183443, -0.25126439332962036, -0.0019136341288685799, -0.030539920553565025, 0.32605868577957153, 0.22593167424201965, -0.3392030596733093, 0.37105798721313477, 0.19312676787376404, -0.27059605717658997, -0.0875050276517868, -0.4802246689796448, 0.4858861267566681, -0.34188970923423767, -0.4185052812099457, -0.40604960918426514, 0.09546691179275513, 0.9103518724441528, -0.3427745997905731, 0.851033091545105, 0.43250325322151184, -0.45114102959632874, 0.049838919192552567, -0.45616310834884644, 0.05732259899377823, -0.483891099691391, 0.7437507510185242, -0.16126658022403717, -0.8837954998016357, 0.39830127358436584, -0.13391371071338654, 0.003966362681239843, 0.289659708738327, 0.9536539912223816, 0.09656527638435364, 1.017259120941162, 0.520453155040741, 0.0057793776504695415, 0.5052466988563538, 0.02634137123823166, 0.3483552634716034, -1.0416067838668823, -0.33523017168045044, -0.36708348989486694, -0.11342678219079971, -0.40343260765075684, -0.4917652904987335, 0.5014784932136536, 0.3340834379196167, -0.2925513684749603, -0.06603899598121643, -0.5399190783500671, 0.670839250087738, 0.34181320667266846, 0.07498328387737274, 0.3038414716720581, 0.10231556743383408, -0.18693256378173828, -0.35888174176216125, -0.6976070404052734, -0.40264225006103516, 1.178756833076477, 0.2867625057697296, 0.6864879727363586, 0.00019916956080123782, 0.22997871041297913, 0.030875951051712036, 0.47608959674835205, -0.8816874623298645, 0.09181378781795502, -0.2573672831058502, -0.39221352338790894, -0.4858063757419586, -0.42384982109069824, -0.8452721238136292, 0.4035494327545166, -0.008444203063845634, -0.8363142609596252, -0.07510848343372345, 0.1618947833776474, -0.30426090955734253, 0.32135114073753357, -0.6415530443191528, 0.8299712538719177, -0.13179196417331696, -0.2618957757949829, 0.19898538291454315, -0.5437330007553101, 0.5468698740005493, -0.2447023242712021, 0.027702370658516884, -0.3460284173488617, -0.1979765146970749, 0.5759772658348083, -0.7504810094833374, 0.7445381283760071, -0.09571731835603714, -0.06823956221342087, 0.20028181374073029, 0.013611896894872189, 0.9214047193527222, 0.3358851969242096, 0.09076778590679169, 0.17563632130622864, 0.0195209588855505, -0.47025254368782043, -0.666010856628418, 0.6001022458076477, -0.5643596649169922, -0.35428866744041443, -0.06565485894680023, -0.3737996518611908, -0.042099498212337494, 0.3309216797351837, 0.2380460500717163, 0.3694303035736084, 0.22631077468395233, 0.8447698950767517, 0.8009201288223267, -0.03139106556773186, 0.5060662031173706, 0.3551613688468933, -0.048850011080503464, -0.8232161402702332, 0.6986345648765564, 0.026706332340836525, 0.3361380994319916, 0.4120120108127594, 0.34596097469329834, -0.2105366587638855, -0.4630676805973053, -0.29723772406578064, 0.11062805354595184, -0.7798022627830505, -0.7811819314956665, -0.685827910900116, -0.07586131989955902, -0.3113182783126831, 0.014212492853403091, -1.3343048095703125, -0.4938865602016449, -0.19871151447296143, -0.07660943269729614, 0.48937252163887024, 0.3338080942630768, 0.18912436068058014, 0.41983696818351746, -1.0184733867645264, 0.1644994467496872, 0.03418423607945442, 0.46689391136169434, -0.0032236117403954268, -0.4968322217464447, -0.4732811450958252, 0.3212173879146576, -0.16624082624912262, -0.48805588483810425, 0.5178113579750061, 0.33465421199798584, 0.30480262637138367, 0.5367365479469299, 0.30280420184135437, 0.9146648645401001, -0.6277023553848267, 0.6294777393341064, 0.2760874032974243, -1.1854418516159058, 0.4224637746810913, -0.12957412004470825, 0.5799355506896973, 0.7280110120773315, -0.07039966434240341, -0.7115499377250671, -0.48278364539146423, -0.25427699089050293, -1.262163758277893, 0.8667587041854858, 0.3038153350353241, 0.19000384211540222, 0.1378912776708603, 0.6517054438591003, 0.30466949939727783, 0.2277398556470871, -0.9624518752098083, -0.227722629904747, -0.04895931854844093, -0.515344500541687, 0.34510353207588196, -0.4511909782886505, 0.18930086493492126, -0.34821051359176636, 0.6433239579200745, -0.1717757284641266, 0.05210539326071739, 0.09820639342069626, -0.21669282019138336, -0.34304100275039673, -0.07685161381959915, 0.6236433982849121, 0.7603849768638611, 0.15546876192092896, 0.25031688809394836, 0.16064025461673737, -0.7220717072486877, 0.11062369495630264, -0.4380418062210083, -0.1479615420103073, -0.08600207418203354, 0.3637796938419342, 0.7094465494155884, 0.4840061068534851, -0.8058962225914001, 0.6977066993713379, -0.2717110216617584, -0.054884977638721466, -0.34004437923431396, -0.15407724678516388, 0.1939450204372406, 0.35382553935050964, 0.3763277530670166, -0.18682536482810974, -0.28026217222213745, -0.37991392612457275, 0.08209703862667084, 0.49003541469573975, -0.4121488332748413, -0.3528176546096802, 0.6212034821510315, 0.0021889887284487486, -0.40110158920288086, 0.9511804580688477, 0.06713099032640457, -0.8247211575508118, 0.2547365128993988, 0.20378780364990234, 0.9899618029594421, -0.1398385614156723, -0.07470880448818207, 0.04828859865665436, 0.560954213142395, -0.21991850435733795, 0.011309402994811535, -0.15519410371780396, -0.4257476329803467, -0.907163679599762, -0.6464477181434631, -0.17575794458389282, -0.08434510976076126, -0.4629688262939453, 0.46389836072921753, -0.11835954338312149, 0.1655264049768448, -0.3869968056678772, -0.14475204050540924, -0.32766345143318176, -0.17216530442237854, -0.049275029450654984, 0.4511512517929077, -0.6017915606498718, 1.1581456661224365, 0.6359872221946716, -0.02332152985036373, -0.5926845669746399, -0.09547120332717896, -0.4993806481361389, -0.6405051946640015, 0.702461302280426, 0.12963634729385376, 0.3350547254085541, -0.19318930804729462, -0.5844523906707764, -1.117697834968567, 0.9192413687705994, 0.8115860819816589, -0.578815758228302, 0.16241000592708588, 0.3389844298362732, 0.3264411687850952, 0.014416063204407692, 0.17160950601100922, 0.43956613540649414, 0.406026154756546, 0.10974381864070892, -0.7432417273521423, -0.025595160201191902, -0.023375216871500015, 0.026254769414663315, 0.7811974287033081, -0.6471220850944519, 0.581010103225708, 0.2333202213048935, -0.16562196612358093, -0.13026008009910583, 0.6811811923980713, 0.3439389765262604, 0.01720525324344635, 0.19483502209186554, 0.641010046005249, 0.6265406608581543, -0.31850099563598633, 0.688603937625885, -0.20549356937408447, 0.43446892499923706, 0.8763378858566284, -0.07772853225469589, 0.8653905391693115, 0.7622819542884827, -0.3119303286075592, -0.16621790826320648, 0.5140278935432434, 0.20662765204906464, 0.6300853490829468, 0.17668339610099792, -0.20307672023773193, -0.4350760579109192, 0.3296841084957123, -0.1564134806394577, 0.6044375896453857, 0.20395374298095703, -0.12377116084098816, -0.089925117790699, 0.1040562316775322, 0.17383794486522675, -0.2861294746398926, -0.3348429203033447, 0.7647097110748291, 0.15336082875728607, -0.5974664688110352, 0.48474133014678955, 0.19952796399593353, 0.5179356336593628, -0.641275942325592, 0.03996387496590614, -0.29734566807746887, 0.3867148458957672, -0.05319121852517128, -0.3571661412715912, 0.5617155432701111, -0.11273376643657684, -0.2003767490386963, -0.295386403799057, 0.6631585955619812, -0.5327446460723877, -0.8110311627388, -0.3106265962123871, 0.016195019707083702, 0.13380655646324158, -0.43758395314216614, -0.2231328934431076, 0.3296746015548706, 0.09863128513097763, -0.4326878786087036, 0.3862871527671814, 0.8818922638893127, -0.060911718755960464, 0.7279323935508728, 0.6444684267044067, 0.1480352282524109, 0.36936503648757935, -0.40424296259880066, 0.9757966995239258, -0.52158123254776, -0.5102236866950989, -1.254153847694397, 0.9530399441719055, 0.07245150208473206, -0.24223020672798157, 0.5932310819625854, 0.6856080889701843, 0.5806405544281006, 0.04586179926991463, 0.32061153650283813, 0.40856602787971497, 0.08264342695474625, -0.618349552154541, 0.9282240867614746, -0.4774906039237976, 0.24756111204624176, -0.17075753211975098, -1.0943247079849243, -0.5105006694793701, 0.43063288927078247, 0.10027822107076645, -0.27838134765625, 0.592917263507843, 0.3955480456352234, -0.014502068981528282, -0.21558550000190735, 0.5455560684204102, 0.31320005655288696, 0.4702378511428833, 0.37460872530937195, 0.7297921776771545, -0.46069368720054626, 0.7269926071166992, -0.2614111006259918, -0.030726440250873566, -0.29870831966400146, -1.0783851146697998, -0.6652825474739075, -0.39794090390205383, -0.5903593301773071, -0.04218880832195282, 0.069699726998806, 0.7586711645126343, 0.7447068691253662, -0.5508514046669006, 0.19270873069763184, -0.28806525468826294, 0.26559028029441833, 0.25545191764831543, -0.25622785091400146, 0.5694370269775391, -0.3828866183757782, -0.7828464508056641, 0.1624118983745575, 0.8294634819030762, -0.24447692930698395, -0.21308280527591705, -0.12220583111047745, 0.11247227340936661, -0.19342397153377533, 0.6737605333328247, -0.1521841436624527, -0.7964640259742737, -0.1477295607328415, -0.07241562008857727, 0.07653647661209106, 0.40116649866104126, 0.8944332003593445, -0.7533843517303467, 0.7364305853843689, 0.4521997570991516, 0.8605448007583618, 0.6156731843948364, 0.015426810830831528, 0.6697065234184265, -0.9517337083816528, 0.2600201964378357, 0.36825236678123474, 0.3251930773258209, 0.3325772285461426, -0.3901427984237671, 0.21370051801204681, 0.16953516006469727, -0.6136863827705383, -1.3494219779968262, 0.0019583820831030607, -0.7603402733802795, -0.18667034804821014, 1.0054669380187988, -0.21208547055721283, -0.5015775561332703, 0.0706995353102684, -0.09127678722143173, 0.39353910088539124, -0.3599691390991211, 0.5526365637779236, 0.8145503401756287, 0.15541572868824005, -0.1821039915084839, -0.4060136675834656, 0.33991649746894836, 0.4127900004386902, -0.5668196678161621, 0.4117702543735504, 0.2385721504688263, 0.24143032729625702, -0.23364834487438202, 0.3570648729801178, -0.45670101046562195, 0.13457566499710083, -0.1833663284778595, 0.1772616058588028, -0.08497432619333267, 0.014231325127184391, -0.37021201848983765, 0.1164889857172966, 0.056806255131959915, -0.22539211809635162 ]
http://arxiv.org/abs/2403.01222v2
http://arxiv.org/pdf/2403.01222v2
Emotion Analysis in NLP: Trends, Gaps and Roadmap for Future Directions
2024-03-02T14:38:03
2024-03-18T10:51:14
Flor Miriam Plaza-del-Arco, Alba Curry, Amanda Cercas Curry, Dirk Hovy
cs.CL
cs.CL
Emotions are a central aspect of communication. Consequently, emotion analysis (EA) is a rapidly growing field in natural language processing (NLP). However, there is no consensus on scope, direction, or methods. In this paper, we conduct a thorough review of 154 relevant NLP publications from the last decade. Based on this review, we address four different questions: (1) How are EA tasks defined in NLP? (2) What are the most prominent emotion frameworks and which emotions are modeled? (3) Is the subjectivity of emotions considered in terms of demographics and cultural factors? and (4) What are the primary NLP applications for EA? We take stock of trends in EA and tasks, emotion frameworks used, existing datasets, methods, and applications. We then discuss four lacunae: (1) the absence of demographic and cultural aspects does not account for the variation in how emotions are perceived, but instead assumes they are universally experienced in the same manner; (2) the poor fit of emotion categories from the two main emotion theories to the task; (3) the lack of standardized EA terminology hinders gap identification, comparison, and future goals; and (4) the absence of interdisciplinary research isolates EA from insights in other fields. Our work will enable more focused research into EA and a more holistic approach to modeling emotions in NLP.
[ -0.713360071182251, -0.5338205695152283, 0.26904770731925964, 0.5982182621955872, 0.1287132054567337, 0.16622968018054962, -0.252407044172287, -0.9838529229164124, 0.33757925033569336, 0.2665282189846039, -0.6127813458442688, -0.5931934714317322, -0.8107197284698486, 0.4221826195716858, -0.3690967857837677, 0.7091310024261475, -0.1454300880432129, -0.292456716299057, -0.14257557690143585, -0.5590759515762329, -0.4388527572154999, -0.8586744070053101, -0.6216961145401001, -0.26576587557792664, 0.5104944109916687, 0.28121182322502136, 0.3098878860473633, 0.12242734432220459, 0.5679867267608643, 0.3669013977050781, -0.4234234094619751, -0.17974461615085602, -0.292885959148407, 0.23467499017715454, 0.14141714572906494, -0.394492506980896, -0.6185563206672668, 0.12234923988580704, 0.22683006525039673, 0.8059194087982178, 0.026629792526364326, 0.1477481573820114, 0.004443655256181955, 1.2482794523239136, -0.6356555223464966, 0.24541865289211273, -0.2463904619216919, 0.47477540373802185, -0.24641741812229156, -0.23655268549919128, -0.164564311504364, 0.055240727961063385, 0.42869454622268677, -0.03662775829434395, 0.24021047353744507, 0.0009997546439990401, 0.6148871183395386, 0.16129277646541595, -0.7438721060752869, -0.54477858543396, -0.5697812438011169, 0.8914623856544495, -0.6341392993927002, 0.3927902281284332, 0.17916882038116455, -0.23916082084178925, 0.18147291243076324, -0.5069214105606079, -0.33557936549186707, 0.10634072870016098, 0.11482719331979752, 0.3373226821422577, -0.6846883893013, 0.18567217886447906, 0.25016260147094727, 0.32489678263664246, -0.47498154640197754, 0.11574482172727585, -0.12186551094055176, 0.2604450583457947, 0.7817577123641968, 0.3050529360771179, 0.42627817392349243, -0.037717875093221664, -0.38264816999435425, 0.2376701682806015, -0.4210548996925354, 0.08638066798448563, 0.44757750630378723, -0.13472868502140045, -0.020934851840138435, 0.39724013209342957, -0.2850452661514282, 0.4677805006504059, 0.055437736213207245, 0.45205917954444885, 0.1997596174478531, 0.006056301295757294, -0.1552637666463852, -0.2035762518644333, 0.7663587927818298, 0.5762036442756653, 0.03883729130029678, -0.20035724341869354, -0.050385940819978714, 0.14858311414718628, 0.5016060471534729, -0.3782561719417572, 0.12452181428670883, 0.7492153644561768, -0.5574691891670227, -0.06199266389012337, -0.18916843831539154, -1.303438663482666, -0.2371244877576828, -0.32011178135871887, -0.299575537443161, -0.022766748443245888, -0.44563090801239014, 0.01749058999121189, 0.06044068560004234, 0.22656498849391937, 0.14248649775981903, -0.9152063131332397, 0.4696063697338104, 0.8518438935279846, 0.7203109264373779, -0.3382902145385742, -0.1644209772348404, 0.1719379723072052, -0.565325140953064, -0.31889113783836365, 0.7593744397163391, -0.4633885622024536, -0.27597400546073914, 0.515943169593811, 0.07036138325929642, -0.038119398057460785, -0.33919307589530945, 0.6081064343452454, -0.3593556582927704, 0.3331061005592346, -0.5589670538902283, -0.42266732454299927, -0.4061579406261444, 0.30980151891708374, -0.7058123350143433, 1.0639159679412842, -0.14686910808086395, -0.7451549172401428, 0.16244196891784668, -0.8428502082824707, -0.3089100420475006, 0.04819771274924278, 0.19975027441978455, 0.06490662693977356, 0.32916000485420227, -0.131681427359581, 0.43105459213256836, -0.3858041763305664, 0.1440175324678421, -0.23029132187366486, -0.1870967149734497, 0.03413183242082596, 0.12989281117916107, 0.7155373692512512, 0.1613699197769165, -0.672398567199707, -0.06427893042564392, -0.5257465839385986, -0.07546457648277283, -0.1810818612575531, -0.0145451370626688, -0.24855685234069824, 0.3607005476951599, 0.292336642742157, 0.35915300250053406, 0.21030935645103455, -0.45270559191703796, -0.044240403920412064, -0.4604097604751587, 0.24229009449481964, 0.48642227053642273, -0.1487034112215042, 0.574704110622406, 0.223018616437912, 0.8414377570152283, -0.2532958984375, 0.040425319224596024, 0.022691911086440086, -0.7010038495063782, -0.8299767971038818, 0.4198446571826935, 0.06999365240335464, 0.5846711993217468, -0.09211165457963943, 0.6765645146369934, 0.32213011384010315, -0.5011241436004639, -0.5370150804519653, -0.14366495609283447, 0.1372414380311966, 0.3524290919303894, 0.40798071026802063, -0.34900686144828796, -0.5165268182754517, -0.6129942536354065, -0.49551787972450256, -0.3179711699485779, 0.161470428109169, -0.06558653712272644, 0.25428521633148193, -0.23899538815021515, 0.8829498291015625, -0.40699344873428345, -0.3814704120159149, -0.37723204493522644, 0.6804662942886353, -0.13258236646652222, 0.27959534525871277, 0.6769891381263733, -0.8907752633094788, -0.3928226828575134, 0.025038646534085274, -0.8538455963134766, -0.45390623807907104, 0.014027220197021961, 0.08393365144729614, 0.3883954882621765, 0.421954482793808, -0.6189760565757751, 0.3926013112068176, 0.7350844740867615, -0.3468107581138611, 0.33131861686706543, 0.1844104677438736, 0.07502610236406326, -0.6458619236946106, 0.294942170381546, 0.44128096103668213, 0.3785593807697296, -1.0037764310836792, 0.0788385197520256, -0.23610712587833405, -0.10199273377656937, -0.24585428833961487, 0.5615606904029846, -0.658469021320343, 0.10536764562129974, -0.46030980348587036, 0.10938772559165955, -0.03672483190894127, 0.5018004775047302, 0.20667028427124023, 0.06542792916297913, 0.46078571677207947, -0.45161065459251404, 0.4573175013065338, 0.28368523716926575, 0.028036419302225113, 0.6957612037658691, -0.4894031286239624, 0.30136239528656006, -0.3395325541496277, 0.15705208480358124, -0.6958872675895691, 0.06590570509433746, 0.18909326195716858, -0.3499475121498108, 0.17733199894428253, 0.132257342338562, -0.0183865986764431, -0.31637513637542725, -0.21029670536518097, 0.2337929755449295, 0.5185407996177673, -0.013494965620338917, 0.7749074697494507, 0.4908815920352936, -0.5700520277023315, -0.7539743185043335, -0.6127446293830872, 0.2859896719455719, -0.43854644894599915, -0.44716349244117737, 0.15014582872390747, -0.11063625663518906, -0.6647101044654846, 0.025906076654791832, -0.29368820786476135, -0.3713243901729584, 0.1764874905347824, 0.3958200216293335, -0.15977707505226135, -0.0855475515127182, 0.2087571769952774, -0.13863931596279144, -0.12843798100948334, 0.4367692172527313, 0.14276061952114105, 0.262382835149765, -0.5359989404678345, -0.07666212320327759, -0.1613178551197052, 0.8857741355895996, 0.23612858355045319, -0.35261571407318115, 0.4234567880630493, 0.7739630937576294, -0.444492906332016, -0.05417438596487045, -0.5994358062744141, 0.21387776732444763, -0.31914442777633667, 0.516129732131958, 0.015909621492028236, -0.8478696942329407, 0.5832949280738831, -0.11874754726886749, 0.22576111555099487, 0.6417297124862671, 0.5580741167068481, -0.35093384981155396, 0.9295095801353455, 1.079008936882019, -0.058976687490940094, 0.5516355633735657, -0.22631976008415222, 0.4310763478279114, -0.8390927910804749, -0.11368807405233383, -0.7852903604507446, -0.6467576026916504, -0.5976493954658508, 0.1212681457400322, -0.06876040995121002, -0.027084369212388992, 0.32045063376426697, 0.08956123143434525, -0.2366422563791275, 0.2046595811843872, 0.18374982476234436, -0.48872610926628113, -0.000310937175527215, -0.4010286331176758, 0.5605675578117371, -0.2530374526977539, -0.5938919186592102, -0.6236504912376404, 0.632646918296814, 0.5529485940933228, 0.2579842209815979, 0.047548890113830566, 0.6506635546684265, 0.24125789105892181, 0.5598440766334534, -0.9451128244400024, 0.49589213728904724, -0.0762903243303299, -0.7224319577217102, -0.23178377747535706, -0.15321049094200134, -1.1273746490478516, 0.3498219847679138, -0.3422282040119171, -1.1882418394088745, 0.4350254237651825, 0.025287533178925514, -0.061165980994701385, 0.1534702479839325, -0.6565129160881042, 1.053098201751709, -0.13509635627269745, -0.15573428571224213, 0.040728211402893066, -0.8360769748687744, 0.5631490349769592, -0.10570060461759567, 0.3586534559726715, -0.4994437098503113, 0.1436055302619934, 0.8491777777671814, -0.14439773559570312, 0.7193837761878967, -0.17963877320289612, -0.20791855454444885, 0.3659707009792328, -0.09332851320505142, 0.06951789557933807, -0.2965922951698303, -0.07188041508197784, 0.28014349937438965, 0.2827529013156891, -0.22359611093997955, -0.575724184513092, 0.4159270226955414, -0.3561488687992096, -0.5202066898345947, -0.5834352374076843, -0.38293927907943726, -0.435537725687027, 0.016437459737062454, 0.24386057257652283, 0.09924408048391342, -0.39218997955322266, 0.05561034008860588, 0.42027518153190613, -0.1683627963066101, 0.4783598780632019, 0.2150481641292572, 0.12248892337083817, 0.0794181302189827, 0.6423567533493042, 0.026571480557322502, 0.02363230660557747, 0.2459525763988495, 0.009223386645317078, -0.09464932233095169, -0.4359184801578522, 0.028914613649249077, -0.01827932894229889, -0.6661503314971924, -0.054368313401937485, -0.8469255566596985, 0.21436159312725067, -0.3825765550136566, -0.12998813390731812, -0.3656643033027649, 0.056731414049863815, -0.3919655680656433, -0.06769637763500214, 0.2946249544620514, 0.8032345771789551, 0.031108208000659943, 0.27701297402381897, -0.9082136750221252, 0.2765049636363983, 0.049983374774456024, 0.39256155490875244, 0.2226509153842926, 0.028979994356632233, -0.25597551465034485, -0.21756358444690704, -0.2405785173177719, -1.231799602508545, 0.7195636630058289, 0.14440320432186127, 0.18190786242485046, 0.3954954147338867, 0.224608913064003, 0.4667130410671234, -0.40315282344818115, 0.9727624654769897, 0.18141400814056396, -1.1408404111862183, 0.25970032811164856, -0.037629228085279465, 0.21830138564109802, 0.4925558567047119, 0.5454418063163757, -1.042768120765686, -0.36126595735549927, -0.7889133095741272, -1.3433265686035156, 0.6620838642120361, 0.008129507303237915, 0.2263767272233963, -0.11065242439508438, 0.17518611252307892, -0.08306097239255905, 0.22960467636585236, -0.52461177110672, -0.3534071743488312, 0.24181599915027618, -0.4469485878944397, -0.010655922815203667, -0.24508188664913177, -0.19522880017757416, 0.1775401085615158, 0.22653140127658844, -0.10891695320606232, 0.5135977268218994, 0.11850740760564804, 0.08760297298431396, -0.33114415407180786, 0.31464773416519165, 0.33329981565475464, 0.4840599596500397, -0.349457710981369, -0.04945552349090576, 0.26048097014427185, -0.3923247158527374, 0.04263584688305855, 0.00525645911693573, 0.16068896651268005, 0.21705757081508636, 0.5627491474151611, 0.7184486985206604, 0.30316925048828125, -0.602924644947052, 0.6160039901733398, -0.013026133179664612, -0.2726215422153473, -0.2598026394844055, -0.42558518052101135, 0.061814334243535995, 0.4422330856323242, 0.42137640714645386, 0.01582981087267399, 0.406421959400177, -0.7388472557067871, -0.07936319708824158, 0.33865147829055786, -0.5837715864181519, -0.549760103225708, 0.46965017914772034, 0.44835081696510315, -0.2509198784828186, 0.2939518094062805, -0.11673058569431305, -0.6399009227752686, 0.7867627143859863, 0.08965425938367844, 1.200845718383789, -0.0979565680027008, 0.10646570473909378, -0.024649959057569504, 0.3707117736339569, -0.025860803201794624, 0.3996712267398834, 0.1455351710319519, -0.5826753973960876, -0.4785703420639038, -0.5131223201751709, -0.6766538023948669, -0.06744225323200226, -0.8736715912818909, -0.016212377697229385, -0.1388353407382965, -0.3753044307231903, -0.07305815815925598, 0.12957993149757385, -0.9947338700294495, 0.41232115030288696, 0.20352999866008759, 0.9797854423522949, -0.9514608979225159, 0.32166588306427, 0.7630495429039001, -0.20095977187156677, -0.3552643954753876, 0.16623833775520325, 0.34271860122680664, -0.09936656802892685, 0.6665228009223938, 0.1539618968963623, 0.050648048520088196, -0.1727752387523651, -0.46067437529563904, -0.7122902274131775, 0.7205000519752502, -0.15084326267242432, -0.18182672560214996, -0.308531254529953, -0.1700257807970047, 0.9034234881401062, -0.4042690396308899, 0.2652750611305237, 0.5816209316253662, 0.46630874276161194, -0.30817562341690063, -0.47079792618751526, -0.4012547731399536, -0.488189697265625, -0.128323495388031, 0.2747459411621094, -0.6814203262329102, 0.5292120575904846, 0.23385994136333466, -0.4230913817882538, -0.05901366472244263, 0.7945159077644348, -0.05235033109784126, 0.5561501979827881, 0.3761906325817108, 0.30588066577911377, 0.5070647597312927, -0.4668067395687103, 0.9553185105323792, -0.3325997292995453, 0.3460193872451782, 0.5496309399604797, -0.5904967188835144, 0.8610799312591553, 0.4190730154514313, -0.42305004596710205, 0.34093382954597473, 0.7180721759796143, 0.10130685567855835, -0.07278136909008026, 0.19419118762016296, -0.09748753160238266, 0.17344947159290314, -0.1711903065443039, -0.295568585395813, 0.5968708992004395, 0.5119578838348389, -0.01772185228765011, -0.1037687286734581, -0.034582290798425674, -0.0663938969373703, -0.11906339228153229, -0.21984893083572388, 0.7005295157432556, 0.18597352504730225, -0.4123893082141876, 0.03375716879963875, 0.07487494498491287, 0.6922342777252197, -0.6349676847457886, 0.05594806745648384, -0.3713313937187195, -0.3245982825756073, -0.43079859018325806, -0.7794784307479858, 0.5871996283531189, 0.4198113977909088, -0.0010146411368623376, -0.4755287766456604, 0.6949973106384277, -0.48670125007629395, 0.06051813066005707, 0.4813089966773987, 0.6009432673454285, 0.3268726170063019, -0.1297774314880371, -0.6081916093826294, 0.2018500119447708, -0.22810162603855133, -0.7122108936309814, 0.2678225636482239, 0.8078830242156982, 0.23397362232208252, 0.3918147385120392, 0.27347230911254883, 0.1634976714849472, -0.0042469073086977005, -0.13475199043750763, 0.36769673228263855, -0.952130913734436, -0.24074508249759674, -0.6157911419868469, 0.7464655041694641, 0.08676867932081223, -0.6396916508674622, 0.5277583599090576, 0.005214354954659939, 0.39937400817871094, -0.014676307328045368, 0.6236007809638977, -0.33805304765701294, 0.13110841810703278, -0.43450912833213806, 0.322472482919693, -0.5818802118301392, -0.15354342758655548, -0.7362588047981262, -1.1576594114303589, -0.44492974877357483, 0.4769548177719116, -0.11982113867998123, 0.05875849351286888, 0.7381309866905212, 0.08689984679222107, 0.4206043779850006, 0.256066232919693, 0.16003970801830292, 0.0799127146601677, 0.08773180842399597, 0.5135633945465088, 0.9031565189361572, -0.2798745334148407, -0.001634560409002006, -0.3194828927516937, -0.2197878509759903, -0.3589300811290741, -1.0623201131820679, -0.31612229347229004, -0.777093768119812, -0.45935729146003723, -0.03388477489352226, -0.32713982462882996, 0.7996148467063904, 0.4071226119995117, -0.7303947806358337, -0.28758126497268677, 0.10620849579572678, 0.20974715054035187, -0.36358562111854553, -0.2518378496170044, 0.19113744795322418, -0.4404006898403168, -0.9630523920059204, 0.1959099918603897, 0.49039819836616516, -0.17966166138648987, -0.13741539418697357, 0.1036757081747055, -0.275675505399704, 0.010434764437377453, 0.7342655062675476, 0.7045978903770447, -0.7925581932067871, -0.17364171147346497, 0.07699739187955856, 0.14118175208568573, -0.02834238111972809, 0.6831507682800293, -0.16107572615146637, 0.4126088619232178, 0.4713573753833771, 0.6812171339988708, 0.04587347060441971, -0.08511828631162643, 0.6456531882286072, -0.7725011110305786, -0.059622809290885925, 0.4445219337940216, 0.4696331322193146, 0.2105422019958496, -0.3291255831718445, 0.7285894155502319, 0.1298520714044571, -0.6414105892181396, -0.7983118295669556, 0.339615136384964, -1.1569483280181885, -0.050196584314107895, 0.9639054536819458, -0.09144391119480133, -0.09751510620117188, -0.02205340377986431, -0.13659916818141937, 0.15334396064281464, -0.1931707262992859, 0.7764407992362976, 1.1984747648239136, -0.482749342918396, -0.2070329338312149, -0.7017342448234558, 0.6486658453941345, 0.6635323762893677, -1.0504696369171143, 0.2801975905895233, 0.4602791965007782, -0.33803442120552063, 0.48226186633110046, 0.5957866311073303, 0.056327056139707565, 0.008915437385439873, -0.17919400334358215, 0.5346609354019165, 0.674049973487854, -0.2694958448410034, -0.7228226661682129, 0.326861709356308, -0.020179204642772675, 0.308197945356369 ]
http://arxiv.org/abs/2403.01216v2
http://arxiv.org/pdf/2403.01216v2
API Is Enough: Conformal Prediction for Large Language Models Without Logit-Access
2024-03-02T14:14:45
2024-04-04T02:15:39
Jiayuan Su, Jing Luo, Hongwei Wang, Lu Cheng
cs.CL
cs.CL, cs.AI, cs.LG
This study aims to address the pervasive challenge of quantifying uncertainty in large language models (LLMs) without logit-access. Conformal Prediction (CP), known for its model-agnostic and distribution-free features, is a desired approach for various LLMs and data distributions. However, existing CP methods for LLMs typically assume access to the logits, which are unavailable for some API-only LLMs. In addition, logits are known to be miscalibrated, potentially leading to degraded CP performance. To tackle these challenges, we introduce a novel CP method that (1) is tailored for API-only LLMs without logit-access; (2) minimizes the size of prediction sets; and (3) ensures a statistical guarantee of the user-defined coverage. The core idea of this approach is to formulate nonconformity measures using both coarse-grained (i.e., sample frequency) and fine-grained uncertainty notions (e.g., semantic similarity). Experimental results on both close-ended and open-ended Question Answering tasks show our approach can mostly outperform the logit-based CP baselines.
[ -0.30689945816993713, -0.4774731397628784, 0.7894220948219299, 0.31418555974960327, -0.2976945638656616, -0.10659817606210709, -0.3867143392562866, -0.5560834407806396, 0.08458884805440903, 0.48993539810180664, -0.6535084843635559, -0.5425440073013306, -0.6889554858207703, 0.08418121933937073, -0.2657339572906494, 0.6915223002433777, -0.06304388493299484, 0.017459554597735405, -0.37386882305145264, -0.08974209427833557, -0.46236637234687805, -0.2700828015804291, -0.28954675793647766, -0.012938817963004112, 0.30920690298080444, 0.17670509219169617, 0.5670745968818665, 0.7252463102340698, 0.25664612650871277, 0.12697869539260864, -0.18734996020793915, 0.10488273948431015, -0.18776634335517883, 0.1266816258430481, 0.16857601702213287, -0.7774407863616943, -0.40795236825942993, -0.22321991622447968, 0.7425236105918884, 0.9178375005722046, -0.029672835022211075, 0.3981640040874481, 0.12414441257715225, 0.728628396987915, -0.7462261319160461, 0.4904188811779022, -0.9595034122467041, -0.19720342755317688, -0.07264258712530136, 0.25677794218063354, -0.39511629939079285, -0.36481866240501404, 0.34883153438568115, -0.7780497074127197, -0.024456478655338287, 0.25585082173347473, 0.4190186858177185, 0.42937177419662476, -0.29988497495651245, -0.2866588234901428, -0.6995696425437927, 1.1027436256408691, -0.84300696849823, 0.7318775057792664, 0.7746788859367371, 0.17604942619800568, -0.2173713892698288, -0.3240055739879608, -0.5054817199707031, -0.18760059773921967, 0.06098358705639839, -0.0729295015335083, -0.16981972754001617, 0.1410776823759079, -0.09048627316951752, 0.11019053310155869, -0.4864104390144348, -0.10351818799972534, -0.49377167224884033, -0.3256170451641083, 0.45301952958106995, 0.003788415575399995, -0.08464620262384415, 0.1405935287475586, -0.20752248167991638, 0.15367701649665833, -0.6435867547988892, 0.25383955240249634, 0.2318907380104065, 0.5397323966026306, -0.24546340107917786, 0.5666110515594482, -0.024023301899433136, 0.5711937546730042, -0.04749520868062973, 0.042030368000268936, 0.1131962388753891, -0.219298854470253, -0.34721842408180237, -0.23058123886585236, 0.8000169992446899, -0.011574411764740944, 0.2776694595813751, -0.15299180150032043, -0.25769394636154175, -0.12054572254419327, -0.052345890551805496, -0.5216248631477356, -0.30602025985717773, 0.6367524862289429, -0.1639942079782486, -0.0722937136888504, -0.12204582244157791, -0.8019454479217529, -0.25789186358451843, -0.4047050178050995, 0.07849261909723282, -0.603859007358551, -0.4330568015575409, -0.09141433984041214, 0.07391922175884247, 0.06782391667366028, 0.35404807329177856, -0.8835871815681458, 0.30370402336120605, 0.7680987119674683, 0.9946750998497009, -0.13625985383987427, -0.24975121021270752, -0.3589312434196472, 0.1715410351753235, -0.6332618594169617, 0.7848544716835022, -0.6649495363235474, -0.47828084230422974, 0.05746202543377876, -0.10921493917703629, -0.029247071593999863, -0.3836609721183777, 0.5897481441497803, -0.38965433835983276, -0.32968464493751526, -0.08258724212646484, -0.9544957876205444, 0.027201801538467407, 0.1763768047094345, -0.8065470457077026, 0.733344554901123, 0.18783268332481384, -0.493671178817749, 0.21005775034427643, -0.41110578179359436, -0.15621317923069, -0.07045508921146393, -0.15478171408176422, -0.542999804019928, 0.2662279009819031, 0.12168882042169571, 0.24642977118492126, -0.10984063893556595, 0.0866672545671463, -0.7145722508430481, -0.20624825358390808, 0.4235740303993225, -0.4425201714038849, 0.4720008075237274, 0.172109454870224, -0.10093190521001816, -0.03337906301021576, -0.7399415969848633, 0.5750854015350342, -0.328265517950058, -0.25269222259521484, -0.3572240471839905, -0.006032786797732115, 0.08521019667387009, -0.19283992052078247, 0.41720014810562134, -0.5969662666320801, 0.001901120413094759, -0.7079545259475708, 0.45843541622161865, 1.101442813873291, -0.3159680962562561, 0.7049674391746521, -0.36338111758232117, 0.4314761459827423, -0.3490375280380249, 0.22919456660747528, 0.07578697055578232, -0.4479463994503021, -0.387307345867157, -0.4072752892971039, 0.3489464223384857, 0.5499598979949951, -0.1955021172761917, 0.42225217819213867, -0.3014928102493286, -0.6729462146759033, -0.3803962469100952, 0.4617626965045929, 0.6206613779067993, 0.11209377646446228, 0.2716712951660156, 0.116450235247612, -0.7085524797439575, -0.678238034248352, -0.12000597268342972, -0.6078518629074097, -0.3723590672016144, 0.3637336194515228, 0.15285804867744446, -0.27633970975875854, 0.8318226337432861, -0.5558153390884399, -0.30504122376441956, -0.08338344842195511, -0.15009544789791107, 0.30990251898765564, 0.3018805980682373, 0.3852783441543579, -0.7280884981155396, -0.6654815077781677, -0.12882748246192932, -0.45457085967063904, -0.12003534287214279, 0.1619020700454712, -0.02237427793443203, 0.408158540725708, 0.4925328493118286, -0.5940693020820618, 0.21294492483139038, 1.0746595859527588, -0.14997951686382294, 0.6841840744018555, -0.07321352511644363, -0.256491094827652, -0.7312384843826294, 0.1279577910900116, -0.04331890121102333, -0.34945082664489746, -0.5927948951721191, -0.10093709826469421, 0.28630590438842773, -0.07306212931871414, -0.37580475211143494, 0.7139166593551636, -0.24075105786323547, 0.1848381608724594, -0.2440844476222992, -0.08724901080131531, 0.019464218989014626, 0.42723581194877625, 0.17961128056049347, 0.9043798446655273, 0.7204437851905823, -0.6725972294807434, -0.136646568775177, 0.30538055300712585, -0.21391472220420837, 0.3468325138092041, -0.6856406927108765, -0.04026152938604355, -0.10042231529951096, 0.25455257296562195, -1.2023049592971802, -0.1622241586446762, -0.08997344970703125, -0.5795636773109436, 0.15450921654701233, -0.1573905646800995, -0.1884145438671112, -0.15579332411289215, -0.39339226484298706, 0.5785508751869202, 0.5383065342903137, -0.18275758624076843, 0.6179214119911194, 0.396915078163147, -0.24402981996536255, -0.41143161058425903, -0.7184047698974609, -0.23062829673290253, -0.061969269067049026, -0.4095532298088074, -0.12516653537750244, -0.5987638831138611, -0.11600231379270554, -0.17584073543548584, -0.48702913522720337, -0.4702345132827759, 0.029743902385234833, 0.39434102177619934, 0.4815933406352997, -0.22722510993480682, 0.255657434463501, -0.036409810185432434, 0.06843231618404388, 0.026303287595510483, -0.572047770023346, 0.4051355719566345, -0.532779335975647, -0.4241543412208557, -0.35870909690856934, 0.18622703850269318, 0.7596578598022461, -0.10975126922130585, 0.5579237341880798, 0.1260475218296051, -0.4141405522823334, -0.24295246601104736, -0.557529628276825, 0.0014665772905573249, -0.4590851068496704, 0.11667124181985855, -0.2090742290019989, -0.8889281153678894, 0.6042273044586182, 0.022900577634572983, 0.2880694568157196, 0.181453675031662, 0.4369014501571655, -0.11277810484170914, 0.6481908559799194, 0.7490725517272949, -0.08965108543634415, 0.33971282839775085, 0.07608126103878021, 0.18759381771087646, -0.7980647087097168, -0.07888507843017578, -0.42377376556396484, 0.0452362485229969, -0.49079105257987976, -0.3610335886478424, 0.3890606164932251, 0.14178438484668732, -0.31153398752212524, 0.35938864946365356, -0.307559996843338, 0.44342291355133057, 0.4448642432689667, 0.02193306013941765, 0.3245392143726349, -0.23152263462543488, 0.030317949131131172, 0.09080404043197632, -0.09353788197040558, -0.45748522877693176, 1.6377867460250854, 0.3799484372138977, 0.8219093084335327, 0.17074747383594513, 0.483237624168396, 0.17386817932128906, 0.30919477343559265, -0.719394326210022, 0.32621628046035767, -0.12149740010499954, -0.5670439600944519, -0.7653672099113464, -0.3884814977645874, -0.8494285941123962, -0.045927125960588455, 0.01179580669850111, -0.9030752182006836, 0.24997690320014954, 0.45124199986457825, -0.3609847128391266, 0.23448726534843445, -0.6454919576644897, 0.38418030738830566, 0.0818781852722168, 0.14258238673210144, 0.3136746883392334, -0.5768415927886963, 0.24315951764583588, -0.5953489542007446, 0.5775750279426575, -0.39446648955345154, -0.2983628213405609, 0.3022215664386749, -0.3388088643550873, 0.9926756620407104, -0.10116149485111237, -0.2267070710659027, 0.475096195936203, 0.4018577039241791, 0.5948465466499329, 0.3524071276187897, -0.26503893733024597, 0.5502178072929382, 0.6223623156547546, -0.45309698581695557, -0.5692636966705322, 0.5757767558097839, -0.6793093681335449, -0.385231077671051, -0.13853967189788818, -0.6149452328681946, -0.5203369855880737, 0.33313220739364624, 0.2290172278881073, -0.00672963447868824, -0.08087470382452011, 0.11479240655899048, 0.7953667044639587, 0.08216234296560287, 0.3254915177822113, 0.4708986282348633, -0.16381783783435822, -0.38517865538597107, 0.7690877318382263, 0.014058255590498447, 0.5728513598442078, 0.32330355048179626, 0.45523786544799805, -0.5923007130622864, -0.6252923607826233, -0.36266231536865234, 0.18388012051582336, -0.4780842959880829, -0.35109105706214905, -0.4146678149700165, -0.08921962976455688, -0.6737956404685974, -0.055625271052122116, -0.5868733525276184, -0.35570845007896423, -0.11788348853588104, -0.010724121704697609, 0.2896909713745117, 0.4134773910045624, -0.02868015132844448, 0.36284205317497253, -0.7634069323539734, 0.09577363729476929, 0.14328444004058838, 0.8582963347434998, -0.051329970359802246, -0.4413405656814575, -0.03929721564054489, 0.2545466721057892, -0.19552795588970184, -0.5921680927276611, 0.34542208909988403, 0.5973567962646484, 0.4338279664516449, 0.19167257845401764, 0.3587609827518463, 0.516608476638794, -0.6442779302597046, 0.6723207235336304, 0.22664715349674225, -1.092785120010376, 0.5116395354270935, -0.3094746172428131, 0.1689819097518921, 0.6377525925636292, 0.27731651067733765, -0.4122779667377472, -0.9179306030273438, -0.46654102206230164, -0.8797761797904968, 0.2868773639202118, 0.33970049023628235, 0.2620047330856323, 0.019890140742063522, 0.3134193420410156, 0.20257847011089325, 0.47917792201042175, -0.8829159736633301, -0.15138162672519684, -0.23994767665863037, -0.3599644899368286, 0.0023930862080305815, -0.16624431312084198, -0.03996383771300316, -0.08326711505651474, 0.6148777008056641, -0.3571596145629883, 0.25011876225471497, 0.26499611139297485, 0.20670318603515625, -0.4735632538795471, 0.3964453637599945, 0.39780136942863464, 0.9841856956481934, -0.4623919725418091, 0.09749636054039001, 0.3393942713737488, -0.5847402215003967, -0.02985699661076069, -0.1372544765472412, -0.1404867023229599, 0.04926653951406479, 0.38044989109039307, 0.5443741083145142, 0.0012524346821010113, -1.3072972297668457, 0.6221193075180054, -0.032306574285030365, -0.23117870092391968, -0.9369338750839233, -0.22977736592292786, 0.12681087851524353, 0.37770411372184753, 0.2778297960758209, 0.003453795798122883, -0.07112547010183334, -0.20860734581947327, 0.4244672954082489, 0.49443140625953674, -0.6534435153007507, -0.3567923307418823, 0.6591402888298035, -0.2393719106912613, -0.04365222901105881, 0.3300483822822571, 0.10121138393878937, -0.029887594282627106, 0.5816799402236938, 0.6397114396095276, 0.7488637566566467, -0.3442500829696655, -0.01130311656743288, 0.18710751831531525, 0.2343471497297287, -0.2786721885204315, 0.26226261258125305, 0.28947263956069946, -0.6342407464981079, -0.49710825085639954, -0.9555010795593262, -0.4791293740272522, 0.421616792678833, -0.5727077126502991, 0.3216298818588257, -0.7925005555152893, 0.03287153318524361, -0.07159040868282318, -0.2653982937335968, -0.5243733525276184, 0.029577240347862244, 0.14194504916667938, 1.1504460573196411, -0.7547828555107117, 0.7704721093177795, 0.3912244439125061, -0.10457833111286163, -0.9540137648582458, 0.19093278050422668, 0.030978119000792503, -0.8561153411865234, 0.3579658567905426, 0.058206114917993546, 0.09475424140691757, -0.20283880829811096, -0.6530501246452332, -1.0432244539260864, 0.9100419878959656, 0.5932571291923523, -0.7115790247917175, -0.05660067871212959, 0.27133554220199585, 0.4314095079898834, -0.12514422833919525, -0.035043150186538696, 0.5364819765090942, 0.5347182750701904, 0.28143686056137085, -1.2387933731079102, -0.010692877694964409, 0.07311798632144928, 0.031172240152955055, 0.3217501640319824, -0.45714834332466125, 0.9236609935760498, -0.09957444667816162, -0.1283321976661682, 0.3822023868560791, 0.7239985466003418, 0.47251832485198975, 0.2983916699886322, 0.6713272929191589, 0.3086666762828827, 0.9938850402832031, 0.19992226362228394, 1.073061466217041, -0.4772690534591675, 0.5146781802177429, 1.0517425537109375, -0.10331013053655624, 1.1219637393951416, 0.603843629360199, -0.43160781264305115, 0.12247885018587112, 0.7069429159164429, 0.12289608269929886, 0.602161169052124, 0.27097979187965393, -0.5097901821136475, -0.3446500301361084, 0.1216602697968483, -0.11894402652978897, 0.19680741429328918, 0.456486314535141, -0.009325595572590828, -0.16606222093105316, -0.06450393795967102, -0.06703796237707138, 0.24646130204200745, -0.4213440418243408, 0.7168672680854797, 0.28634166717529297, -0.46374422311782837, 0.9120883345603943, -0.2174243927001953, 0.6401187181472778, -0.8181527256965637, 0.15701180696487427, -0.020472463220357895, 0.04678774252533913, -0.06267087906599045, -0.7644027471542358, 0.583318829536438, -0.2829188108444214, -0.21264682710170746, 0.11631370335817337, 0.3480057716369629, -0.4680718779563904, -0.8669823408126831, 0.24650540947914124, 0.4535178244113922, 0.045484092086553574, -0.29672449827194214, -0.38917601108551025, -0.0319465734064579, -0.10611818730831146, -0.1208743155002594, 0.2937780022621155, 0.6859485507011414, -0.16681164503097534, 0.8951818943023682, 0.5980518460273743, 0.3867024779319763, 0.19063670933246613, -0.3166034519672394, 0.8410629034042358, -0.3012514114379883, -0.47829535603523254, -0.9104812741279602, 0.1776767075061798, 0.4172402620315552, -0.1859159767627716, 0.32329991459846497, 0.6027467846870422, 0.7682844996452332, -0.1751539260149002, 1.1521565914154053, 0.038346219807863235, 0.5731500387191772, -0.503281831741333, 0.36098724603652954, -0.5024585127830505, 0.3387129008769989, -0.209395632147789, -0.8848276138305664, -0.47972995042800903, 0.33228814601898193, -0.1763477325439453, -0.43494245409965515, 0.6112080812454224, 0.6760818362236023, -0.15307608246803284, 0.013623043894767761, 0.49596700072288513, 0.08344805985689163, 0.40124696493148804, 0.6531152129173279, 0.3430079519748688, -0.16623090207576752, 0.8811550140380859, -0.03387460857629776, -0.4008362591266632, 0.14722317457199097, -0.9150850176811218, -0.8538546562194824, -0.6884851455688477, 0.12316028028726578, -0.3467470109462738, -0.002782772993668914, 0.9120346307754517, 0.6007415652275085, -1.0826925039291382, -0.25920790433883667, -0.3145767152309418, 0.11335555464029312, -0.18206192553043365, -0.13072645664215088, 0.4936327636241913, -0.6416053175926208, -0.9528698921203613, 0.18902002274990082, 0.024042658507823944, 0.23837654292583466, -0.21249504387378693, -0.058422572910785675, 0.15318997204303741, 0.38322678208351135, 0.4048331677913666, 0.4079805612564087, -0.7999670505523682, -0.5097253322601318, 0.11474960297346115, 0.12190734595060349, 0.044220395386219025, 0.6690068244934082, -0.43949705362319946, 0.21682895720005035, 0.25543084740638733, 0.9497924447059631, 0.12023553252220154, -0.041643235832452774, 0.720068633556366, -1.0882993936538696, 0.2514513432979584, 0.3588947653770447, 0.35317444801330566, -0.0632932037115097, -0.5596012473106384, 0.29314088821411133, 0.04243782162666321, -0.5727587938308716, -0.7682156562805176, 0.5907293558120728, -1.1070507764816284, -0.40308505296707153, 1.342079520225525, -0.3514932692050934, -0.41650494933128357, -0.34120890498161316, 0.011815439909696579, -0.12437811493873596, -0.6348333954811096, 0.7378997802734375, 0.8045759797096252, -0.19397062063217163, -0.13331370055675507, -0.7481626272201538, 0.4521530866622925, 0.22276344895362854, -0.5538819432258606, 0.66241055727005, 0.4672534167766571, 0.5308611392974854, 0.3379630744457245, 0.7126871347427368, -0.09250322729349136, 0.0424409843981266, -0.3409830331802368, -0.08074523508548737, -0.07518178969621658, -0.2744489312171936, -0.024357199668884277, -0.008836858905851841, 0.5013759732246399, -0.03889288008213043 ]
http://arxiv.org/abs/2403.01203v1
http://arxiv.org/pdf/2403.01203v1
Pseudo-Label Calibration Semi-supervised Multi-Modal Entity Alignment
2024-03-02T12:44:59
2024-03-02T12:44:59
Luyao Wang, Pengnian Qi, Xigang Bao, Chunlai Zhou, Biao Qin
cs.LG
cs.LG, cs.CL, cs.DB
Multi-modal entity alignment (MMEA) aims to identify equivalent entities between two multi-modal knowledge graphs for integration. Unfortunately, prior arts have attempted to improve the interaction and fusion of multi-modal information, which have overlooked the influence of modal-specific noise and the usage of labeled and unlabeled data in semi-supervised settings. In this work, we introduce a Pseudo-label Calibration Multi-modal Entity Alignment (PCMEA) in a semi-supervised way. Specifically, in order to generate holistic entity representations, we first devise various embedding modules and attention mechanisms to extract visual, structural, relational, and attribute features. Different from the prior direct fusion methods, we next propose to exploit mutual information maximization to filter the modal-specific noise and to augment modal-invariant commonality. Then, we combine pseudo-label calibration with momentum-based contrastive learning to make full use of the labeled and unlabeled data, which improves the quality of pseudo-label and pulls aligned entities closer. Finally, extensive experiments on two MMEA datasets demonstrate the effectiveness of our PCMEA, which yields state-of-the-art performance.
[ -0.41597118973731995, -0.646558403968811, 0.6803046464920044, -0.24377566576004028, -0.41557401418685913, 0.08474806696176529, 0.0029305547941476107, -0.44049134850502014, 0.5558004975318909, 0.032608889043331146, -0.5617258548736572, -0.44698768854141235, -0.04377355799078941, -0.050290659070014954, 0.280501127243042, 0.8557036519050598, 0.03911450132727623, 0.20288391411304474, -0.34703364968299866, -0.15120887756347656, -0.5613657832145691, -0.2572328746318817, -0.12693187594413757, -0.14984826743602753, 0.4792732894420624, 0.19967955350875854, 0.6442145705223083, 0.2353370636701584, 0.2195824384689331, 0.29623034596443176, 0.325116902589798, 0.6957628130912781, -0.6367854475975037, -0.3079845607280731, -0.3343014419078827, -0.28859421610832214, -0.6930171847343445, 0.26443180441856384, 0.5621604919433594, 0.6067343950271606, -0.054163508117198944, 0.2999809980392456, -0.09306038916110992, 0.22151648998260498, -0.6505774259567261, 0.3460552394390106, -0.4507979452610016, -0.09114734828472137, -0.31640341877937317, -0.4127088785171509, -0.4007641077041626, -0.11052048951387405, 0.2280196249485016, -1.1223251819610596, -0.3537178039550781, 0.21214818954467773, 1.0363022089004517, 0.4872731566429138, -0.899242639541626, -0.031162941828370094, -0.669780969619751, 1.0950394868850708, -0.4144456684589386, 0.7089501619338989, 0.3361770808696747, 0.3124462068080902, -0.056397996842861176, -0.6049732565879822, -0.6834256649017334, 0.2098976969718933, -0.09190302342176437, 0.4859349727630615, -0.10565607249736786, 0.007063697092235088, -0.10030387341976166, 0.23054718971252441, -0.5908606052398682, -0.0528869666159153, -0.2966194152832031, -0.7037307024002075, 0.19374245405197144, -0.060658492147922516, 0.3030844032764435, 0.003026649123057723, -0.8855346441268921, -0.32789146900177, -0.6287419199943542, -0.09650859981775284, 0.2946351170539856, 0.19416749477386475, -0.0514262393116951, 0.626352846622467, 0.12471405416727066, 0.8555858731269836, 0.38861003518104553, -0.5402913093566895, 0.666649341583252, -0.7442208528518677, -0.3913063406944275, 0.2392563670873642, 0.7843927145004272, 0.501681923866272, -0.37410733103752136, -0.21675586700439453, -0.20709244906902313, 0.2780596911907196, 0.2709139883518219, -0.7889555096626282, -0.329841285943985, -0.14881782233715057, -0.5010584592819214, -0.20810270309448242, 0.09814759343862534, -0.9436959624290466, 0.034337375313043594, -0.894585132598877, 0.7864348292350769, -0.257164865732193, -0.1883947104215622, -0.15079715847969055, 0.2179238200187683, 0.21579313278198242, 0.14170756936073303, -0.31685635447502136, -0.32660821080207825, 0.2524363100528717, 0.5872469544410706, 0.1536785066127777, -0.12765102088451385, -0.41994336247444153, 0.6715360283851624, -0.16018612682819366, 0.6594148278236389, -0.7422540187835693, -0.23106805980205536, -0.24944402277469635, 0.08215745538473129, -0.3008413016796112, -0.35433658957481384, 0.18014270067214966, -0.7600882053375244, 0.42736107110977173, -0.4042525887489319, -0.41445279121398926, -0.46702632308006287, 0.28413647413253784, -0.6766316294670105, 0.8058251142501831, 0.08899284899234772, -0.6619745492935181, 0.44642600417137146, -0.1983029544353485, -0.2958701550960541, -0.18828624486923218, -0.4224518835544586, -0.6656013131141663, -0.017301050946116447, 0.14139311015605927, 0.21894940733909607, -0.3834318518638611, 0.5587698221206665, -0.5229480862617493, -0.15135017037391663, 0.14470995962619781, -0.42276430130004883, 0.46146658062934875, 0.2288363128900528, -0.29933077096939087, 0.24650976061820984, -1.0363832712173462, -0.07810550928115845, -0.2501857280731201, -0.08942229300737381, -0.5172623991966248, -0.15084807574748993, -0.08988436311483383, 0.6518082022666931, 0.5756885409355164, -0.3039822280406952, 0.02564302645623684, -0.20080046355724335, 0.16125057637691498, 0.7245396971702576, 0.15460117161273956, 0.6478550434112549, -0.18933004140853882, 0.23933200538158417, 0.554653525352478, 0.008331401273608208, 0.0955357775092125, -0.3140455484390259, -0.2496710866689682, -0.7448107004165649, 0.3161517381668091, 0.46597981452941895, -1.2400506734848022, 0.5856518149375916, -0.2613809108734131, -0.459255188703537, -0.47093483805656433, 0.3584374785423279, 0.41371533274650574, 1.102228045463562, 0.6193984746932983, -0.5939194560050964, -0.45002058148384094, -1.1028499603271484, 0.32961830496788025, -0.2509158253669739, -0.058403003960847855, 0.3634779155254364, -0.013973950408399105, -0.4071009159088135, 0.9204786419868469, -0.24479345977306366, -0.6907378435134888, 0.43661069869995117, 0.6650192141532898, -0.08129525184631348, 0.3654136657714844, 0.6624947786331177, -0.9664771556854248, -0.22587044537067413, -0.11273451894521713, -0.6505913138389587, -0.21396884322166443, -0.41464000940322876, -0.4859013259410858, -0.410038560628891, 0.13834248483181, -0.3901277780532837, 0.1422790288925171, 0.43160736560821533, -0.1939285546541214, 0.1961296945810318, -0.17367039620876312, 0.332183837890625, -1.4108304977416992, 0.1690841019153595, 0.4423324167728424, -0.4789188802242279, -0.40462154150009155, -0.4260590970516205, 0.3318093419075012, 0.012051008641719818, -0.4968346357345581, -0.03702123835682869, -0.8553431034088135, -0.0018772002076730132, -0.29983559250831604, 0.2572943866252899, 0.010317983105778694, 0.5744251012802124, 0.2284277379512787, 0.9764779806137085, 0.5740208029747009, -0.6037649512290955, 0.13084915280342102, 0.10782063752412796, 0.0553334541618824, 1.0790557861328125, -0.18771465122699738, 0.08688212931156158, -0.06042395532131195, 0.41026008129119873, -0.7677746415138245, 0.12754186987876892, 0.2507031261920929, 0.07639580965042114, 0.5820621252059937, 0.03225089982151985, -0.40236541628837585, -0.07778055220842361, -0.42135635018348694, 0.7327221035957336, 0.017998570576310158, -0.3708091974258423, 0.9262048602104187, 0.6970090270042419, 0.466619074344635, -0.49686360359191895, -0.49258366227149963, -0.1750388741493225, -0.06056433171033859, -0.45614245533943176, 0.7682092785835266, -0.226687490940094, 0.1201799064874649, 0.11722505837678909, -0.31456291675567627, -0.09105516970157623, -0.30666378140449524, 0.3632439970970154, 0.6346843838691711, -0.4409070909023285, 0.020113855600357056, 0.340872198343277, -0.13274464011192322, -0.12400073558092117, -0.2676433026790619, 0.2944340407848358, -0.19650521874427795, -0.3704351484775543, -0.8128052353858948, -0.005033220164477825, 0.47982993721961975, -0.3047570586204529, 0.9129475355148315, 0.7108666300773621, -0.4428352117538452, 0.2686901390552521, -0.4881068766117096, -0.37562745809555054, -0.42314907908439636, 0.26619523763656616, -0.5148352980613708, -0.559632420539856, 0.2764126658439636, -0.5784037709236145, -0.040988482534885406, 0.39787551760673523, 0.5445880889892578, -0.21150723099708557, 0.9409422278404236, 0.7040364146232605, -0.1920042484998703, 0.33660101890563965, -0.09287411719560623, 0.5137799382209778, -0.7980514764785767, -0.47252747416496277, -0.15649867057800293, -0.5905947089195251, -0.46433037519454956, -0.7004160284996033, 0.44871482253074646, 0.0370115265250206, 0.2319561094045639, 0.4340601861476898, -0.32264643907546997, 0.32687613368034363, 0.5183601975440979, 0.46340319514274597, 0.1578056514263153, -0.23972006142139435, -0.03442294895648956, -0.2704756557941437, -0.34008723497390747, -0.5032126903533936, 1.0525126457214355, 0.02604397013783455, 0.6168201565742493, 0.1832321435213089, 0.4213482737541199, 0.10860364139080048, 0.25151917338371277, -0.5085830688476562, 0.3843468129634857, 0.22868624329566956, -0.6548168063163757, 0.09750420600175858, -0.6763609647750854, -0.5531995892524719, 0.30935972929000854, -0.4173787236213684, -0.549946129322052, 0.7376930117607117, 0.3196272552013397, -0.24463114142417908, 0.16543929278850555, -0.8357715010643005, 0.9548357725143433, -0.1718629151582718, -0.40515655279159546, -0.1554424911737442, -0.8813552260398865, 0.4434943199157715, -0.4173040986061096, 0.33986231684684753, 0.13612858951091766, -0.20627683401107788, 0.6808172464370728, -0.30264636874198914, 1.0175246000289917, -0.18875378370285034, -0.13176047801971436, 0.3303021788597107, -0.06945279985666275, 0.4557494521141052, -0.0509236678481102, 0.2711852192878723, 0.03062635287642479, 0.18386122584342957, -0.36902326345443726, -0.3743453323841095, 0.8186904788017273, -0.7798135280609131, -0.22255510091781616, -0.2620418667793274, -0.6548794507980347, -0.536249577999115, 0.30719438195228577, -0.17152589559555054, 0.413082093000412, -0.1615898609161377, 0.12953931093215942, 0.8288678526878357, 0.11241613328456879, 0.28997835516929626, 0.6092140674591064, 0.1817142367362976, -0.5323184728622437, 1.3746891021728516, 0.11448666453361511, 0.013734519481658936, 0.5566552877426147, -0.18144038319587708, -0.4713771641254425, -0.053525812923908234, -0.5051292181015015, 0.44127407670021057, -0.4630655348300934, -0.48814767599105835, -0.4521978199481964, 0.34133005142211914, -0.3656541705131531, -0.04210874065756798, -0.45799770951271057, -0.2729874551296234, -0.7868441939353943, -0.01429418008774519, -0.2755288779735565, 0.19171768426895142, -0.1814376711845398, 0.2994498014450073, -0.639582097530365, 0.405244380235672, 0.41368094086647034, -0.14938820898532867, -0.2995101809501648, -0.43063971400260925, 0.07588160783052444, 0.1742471307516098, -0.4080362915992737, -1.3841253519058228, 0.05172577500343323, 0.20998577773571014, 0.5329132080078125, 0.7499938607215881, 0.11651521176099777, 0.9792478084564209, -0.2815926671028137, 0.5543175935745239, 0.5723398923873901, -0.7974576950073242, 0.4486674666404724, 0.10832852870225906, 0.026797063648700714, 0.8156365752220154, 0.5792191624641418, 0.14065654575824738, -0.03897249326109886, -0.39563047885894775, -0.6921520829200745, 0.4927307367324829, -0.008431046269834042, -0.08309635519981384, 0.11505034565925598, 0.06846274435520172, 0.025655923411250114, 0.3525848984718323, -0.78497314453125, -0.5278922319412231, -0.2978553771972656, -0.5658627152442932, 0.03383306786417961, -0.25412699580192566, -0.2780841588973999, -0.034111976623535156, 1.0754928588867188, -0.3244669735431671, 0.012259010225534439, 0.10960251837968826, -0.6463422179222107, -0.24934838712215424, 0.11798965930938721, 0.6124674677848816, 0.9754824638366699, -0.1660975068807602, 0.5144162178039551, -0.09179390966892242, -0.22133667767047882, 0.18706749379634857, 0.44496798515319824, -0.25242719054222107, -0.16936081647872925, -0.15196065604686737, 0.6474227905273438, 0.5157787203788757, -0.45968881249427795, 0.7071144580841064, 0.02827221341431141, 0.001049955259077251, 0.31985896825790405, -0.423945814371109, 0.06831689924001694, 0.30872154235839844, 0.13917240500450134, 0.16667310893535614, 0.2783818244934082, -0.5927150845527649, 0.4652521014213562, 0.5985289216041565, -0.5293567776679993, -0.7380528450012207, 0.7616443634033203, 0.0978582575917244, 0.346335232257843, 0.20993177592754364, -0.25830772519111633, -0.4146921634674072, 0.055107876658439636, 0.6422391533851624, 0.2862449288368225, -0.3165040910243988, 0.36272576451301575, 0.29837125539779663, 0.44396069645881653, 0.36846187710762024, 0.17695054411888123, -0.3386955261230469, -0.5336369276046753, -0.4614895284175873, -0.5575427412986755, -0.22140082716941833, 0.001999177038669586, -0.5638203024864197, 0.29371312260627747, -0.16360552608966827, -0.3574567139148712, 0.11706484854221344, -0.034824829548597336, -0.7364429831504822, 0.41508549451828003, 0.14646849036216736, 0.29782620072364807, -1.2043145895004272, 0.8657739758491516, 1.10752534866333, -0.7581278681755066, -1.0221325159072876, -0.24061241745948792, 0.3285315930843353, -0.5403708219528198, 0.27880409359931946, 0.18252675235271454, -0.26563072204589844, 0.0398232527077198, -0.0911736860871315, -0.7255673408508301, 1.3499693870544434, 0.5135626196861267, -0.8133361339569092, -0.06489966064691544, 0.13447895646095276, 0.33095428347587585, -0.19951343536376953, 0.3595995008945465, 0.19129498302936554, 0.5713147521018982, 0.2986486852169037, -0.7629557251930237, 0.022433660924434662, -0.10108795017004013, -0.14170309901237488, 0.2909030318260193, -0.7765048742294312, 0.1460772305727005, 0.23473744094371796, -0.1453712284564972, -0.555736780166626, 1.1298102140426636, 0.29378774762153625, 0.6381279230117798, 0.7549281120300293, 0.8088430166244507, 0.8895899653434753, 0.03499845042824745, 0.47029104828834534, -0.27662283182144165, 0.26272469758987427, 1.1888248920440674, -0.33975088596343994, 0.436582088470459, 0.8741199374198914, 0.005285934079438448, 0.3193863034248352, 0.7945059537887573, 0.16366785764694214, 0.7947233319282532, -0.3121437430381775, -0.20205019414424896, -0.45984119176864624, -0.31118375062942505, -0.337545245885849, 0.39659884572029114, 0.0355713814496994, -0.411845326423645, -0.2938687801361084, 0.10163836181163788, -0.16080981492996216, -0.1278931051492691, -0.13164715468883514, 0.8381637334823608, 0.036201149225234985, -0.25953707098960876, 0.10207976400852203, -0.03528926149010658, 0.4986705482006073, -0.26105937361717224, -0.025406183674931526, 0.14238616824150085, -0.2256503403186798, -0.09528065472841263, -0.2960290014743805, 0.04655162990093231, -0.4499327540397644, -0.3837023079395294, -0.16600830852985382, 0.7857472896575928, -0.6779695749282837, -0.2663629949092865, 0.14370734989643097, 0.5473077297210693, 0.030379535630345345, 0.08650100976228714, -0.7306160926818848, -0.09731324762105942, 0.07334966212511063, -0.24753297865390778, 0.4553425908088684, 0.48788928985595703, -0.019331946969032288, 0.09124499559402466, 0.6778377294540405, -0.0924396812915802, 0.23452481627464294, 0.049274567514657974, 0.9822081327438354, -0.27867627143859863, -0.4096066355705261, -0.5483344197273254, 0.3758421838283539, -0.0656839907169342, -0.11682752519845963, 0.43520501255989075, 0.8732258677482605, 0.8863672614097595, 0.13326396048069, -0.07767476886510849, 0.04212480038404465, 0.0911872386932373, -0.4937734007835388, 0.5103635787963867, -0.7983737587928772, 0.158583402633667, -0.1945423036813736, -1.3565839529037476, -0.2226458191871643, 0.43590760231018066, -0.2688696086406708, 0.0026856036856770515, 0.620926558971405, 0.9659942388534546, -0.60222989320755, -0.06414522975683212, 0.44991186261177063, 0.06691675633192062, 0.3039000928401947, 0.6536638736724854, 0.45172119140625, -0.42074355483055115, 0.49167874455451965, -0.681420624256134, -0.4599304795265198, 0.061173733323812485, -0.8075249195098877, -0.7221755981445312, -0.7813975214958191, -0.6071606874465942, -0.008096055127680302, -0.27258116006851196, 0.6494563817977905, 0.9956125020980835, -0.7343486547470093, 0.2971593141555786, 0.35582292079925537, -0.20612236857414246, -0.16852673888206482, -0.2500114142894745, 0.5309486389160156, 0.020157502964138985, -0.8666306138038635, 0.7801073789596558, 0.4891994893550873, 0.11737104505300522, -0.04087128862738609, 0.020562145859003067, -0.4496774971485138, 0.077614426612854, 0.3622618019580841, 0.13962672650814056, -0.4974019229412079, -0.0741661861538887, -0.33173760771751404, -0.16179372370243073, 0.09587499499320984, 0.6224803924560547, -0.7362074255943298, 0.7660441398620605, 0.3033755421638489, 0.7059525847434998, 0.421135812997818, 0.1630685180425644, 0.39350518584251404, -0.7502707839012146, 0.0884769931435585, 0.11637101322412491, 0.45848095417022705, 0.10514072328805923, -0.31146880984306335, 0.16105596721172333, 0.39524292945861816, -0.4146108627319336, -0.7996583580970764, -0.09465332329273224, -1.3574354648590088, 0.013511402532458305, 0.5571733713150024, -0.019879382103681564, -0.4431972801685333, 0.09940920025110245, -0.2435671091079712, 0.6656132340431213, -0.33517250418663025, 0.592634916305542, 0.483536958694458, 0.11471505463123322, -0.13516566157341003, -0.15355589985847473, 0.13765554130077362, 0.5505995154380798, -0.9273567795753479, -0.58846116065979, 1.0077518224716187, 0.06365698575973511, 0.41455936431884766, 0.2868991494178772, -0.11944141983985901, 0.3345782160758972, -0.46856406331062317, -0.015086566098034382, -0.13539260625839233, -0.47498002648353577, 0.044163234531879425, 0.24139177799224854, -0.33474647998809814, -0.37914684414863586 ]
http://arxiv.org/abs/2403.01197v2
http://arxiv.org/pdf/2403.01197v2
DMoERM: Recipes of Mixture-of-Experts for Effective Reward Modeling
2024-03-02T12:31:22
2024-04-28T03:24:41
Shanghaoran Quan
cs.CL
cs.CL
The performance of the reward model (RM) is a critical factor in improving the effectiveness of the large language model (LLM) during alignment fine-tuning. There remain two challenges in RM training: 1) training the same RM using various categories of data may cause its generalization performance to suffer from multi-task disturbance, and 2) the human annotation consistency rate is generally only $60\%$ to $75\%$, causing training data to contain a lot of noise. To tackle these two challenges, we introduced the idea of Mixture-of-Experts (MoE) into the field of RM for the first time. We propose the Double-Layer MoE RM (DMoERM). The outer layer MoE is a sparse model. After classifying an input into task categories, we route it to the corresponding inner layer task-specific model. The inner layer MoE is a dense model. We decompose the specific task into multiple capability dimensions and individually fine-tune a LoRA expert on each one. Their outputs are then synthesized by an MLP to compute the final rewards. To minimize costs, we call a public LLM API to obtain the capability preference labels. The validation on manually labeled datasets confirms that our model attains superior consistency with human preference and outstrips advanced generative approaches. Meanwhile, through BoN sampling and RL experiments, we demonstrate that our model outperforms state-of-the-art ensemble methods of RM and mitigates the overoptimization problem. Our code and dataset are available at: https://github.com/quanshr/DMoERM-v1.
[ -0.4004560708999634, -0.5249395370483398, 0.3870067894458771, 0.05649035796523094, -0.12887343764305115, 0.18006032705307007, -0.3128094971179962, -0.3543073534965515, 0.1743268221616745, 0.6881268620491028, -0.5331631302833557, -0.2327882945537567, -0.8243274092674255, -0.13753430545330048, 0.004653801675885916, 0.8187083601951599, -0.13384948670864105, -0.13147135078907013, -0.5136126279830933, -0.16034035384655, -0.6923438906669617, -0.579217255115509, -0.45555734634399414, -0.5938520431518555, 0.770754337310791, 0.6217015385627747, 0.33719658851623535, 0.8437305092811584, 0.5454133152961731, 0.3118637204170227, -0.06654545664787292, 0.5536491274833679, -0.6048638820648193, 0.19741971790790558, -0.14247870445251465, -0.5065089464187622, -0.6103777289390564, 0.2992572784423828, 0.2990018129348755, 0.39388105273246765, -0.4112757742404938, -0.2069401890039444, 0.029507437720894814, 0.7268680334091187, -0.7219069600105286, 0.14778351783752441, -0.7749501466751099, -0.16478510200977325, -0.08838856220245361, -0.4271949231624603, -0.31437015533447266, -0.05454757437109947, -0.033698420971632004, -0.578071653842926, -0.10438763350248337, 0.08012028783559799, 0.5386430621147156, 0.7429547905921936, -0.5345840454101562, -0.1448563188314438, -0.7315816283226013, 1.1155403852462769, -0.6154454350471497, 0.08329309523105621, 0.5116323828697205, 0.309826523065567, -0.31496378779411316, -0.11996419727802277, -0.5721498727798462, -0.15867342054843903, 0.19143089652061462, 0.2057589590549469, 0.09563606232404709, 0.02338389866054058, -0.1449946016073227, 0.6827548742294312, -0.20555491745471954, 0.5108072757720947, -0.15481498837471008, 0.04069354385137558, 0.9258078932762146, 0.34815916419029236, 0.14801493287086487, 0.10380259901285172, -0.6810011267662048, -0.31340500712394714, -0.47734859585762024, 0.10899453610181808, 0.43387696146965027, 0.019053172320127487, -0.011443538591265678, 0.5438998937606812, -0.3324379622936249, 0.7174758911132812, 0.14763665199279785, -0.4896596372127533, 0.1546521633863449, -0.0990523248910904, -0.006184201687574387, 0.02277860976755619, 0.7629033327102661, 0.4086885154247284, -0.01651580072939396, -0.240303173661232, -0.5234043598175049, -0.02114533632993698, 0.26474156975746155, -0.6111422777175903, -0.43054085969924927, 0.36424756050109863, -0.10021988302469254, -0.6051450967788696, 0.1872117817401886, -0.4054521918296814, -0.5325735211372375, -0.6335389018058777, 0.6388235688209534, -0.4021068215370178, -0.6108645796775818, 0.4021603763103485, -0.19296474754810333, -0.2731606364250183, 0.33161023259162903, -1.081718921661377, 0.24716313183307648, 0.9647186398506165, 0.5506682991981506, -0.37773606181144714, -0.28538817167282104, -0.6242722868919373, 0.24675250053405762, 0.0183600801974535, 0.7534376978874207, -0.4488738477230072, -0.3022862672805786, -0.33161109685897827, -0.5066689848899841, -0.20190811157226562, -0.7333909869194031, 0.4933818280696869, -0.46041953563690186, 0.1955610066652298, -0.3366718590259552, -0.7470123171806335, -0.25441840291023254, 0.4292995035648346, -0.5842199325561523, 1.1159749031066895, 0.22601166367530823, -0.6148670315742493, 0.47524240612983704, -0.7518690228462219, -0.21740368008613586, 0.09283085912466049, -0.2488221675157547, -0.13438007235527039, 0.17139199376106262, 0.20694543421268463, 0.4977574646472931, -0.31380173563957214, 0.4315422773361206, -0.11869004368782043, -0.2840175926685333, 0.48939886689186096, -0.21244266629219055, 0.4854470193386078, 0.20161543786525726, -0.26731449365615845, 0.19052547216415405, -0.7074765563011169, -0.052398327738046646, 0.08383038640022278, -0.6015724539756775, -0.5726514458656311, 0.10425137728452682, 0.019712137058377266, 0.4016720950603485, 0.28920021653175354, -0.5008023381233215, 0.4420187175273895, -0.21454916894435883, 0.6062096357345581, 1.0289281606674194, -0.239167720079422, 0.5377586483955383, -0.5235217809677124, 0.4617513418197632, 0.3026496469974518, -0.007921812124550343, -0.05128331854939461, -0.3586540222167969, -0.6380812525749207, -0.7739155888557434, 0.6202526688575745, 0.569899320602417, -0.5236133933067322, 0.9626284241676331, -0.37253010272979736, -0.4856719970703125, -0.7621399164199829, 0.3302869498729706, 0.3476591408252716, 0.4808175265789032, 0.3123844563961029, -0.46485990285873413, -0.29496848583221436, -0.9383946657180786, 0.054293833673000336, -0.03189137205481529, 0.008016800507903099, 0.26151302456855774, 0.4766564667224884, -0.2337597906589508, 1.0868595838546753, -0.5202515721321106, -0.4246171712875366, -0.25996291637420654, 0.320464551448822, 0.06574829667806625, 0.8538782000541687, 0.2694964110851288, -0.783987283706665, -0.33868396282196045, 0.08655910938978195, -0.6075499057769775, -0.04712875187397003, 0.15590505301952362, -0.35417476296424866, 0.06991741061210632, 0.031765520572662354, -0.480153352022171, -0.13286927342414856, 0.6121081709861755, -0.0031741857528686523, 0.1822177916765213, -0.14261972904205322, 0.22970741987228394, -1.1545954942703247, 0.10731224715709686, 0.08755479007959366, -0.21914151310920715, -0.4170883893966675, 0.20289573073387146, -0.032911524176597595, 0.23756268620491028, -0.12944559752941132, 0.5884886980056763, -0.192643404006958, 0.3671703338623047, -0.5973660945892334, -0.13296781480312347, -0.08685711026191711, 0.7411721348762512, 0.08166662603616714, 0.4741007089614868, 0.4448956847190857, -0.5871055722236633, 0.44757598638534546, 0.07213662564754486, -0.46227264404296875, 0.6567216515541077, -0.657288134098053, 0.28872424364089966, 0.012602175585925579, 0.2271772176027298, -0.9601683020591736, -0.5178399085998535, 0.34297990798950195, -0.26183944940567017, 0.5162745714187622, -0.14329472184181213, -0.6403379440307617, -0.1825694441795349, -0.20100903511047363, 0.4715891182422638, 0.7725089192390442, -0.35574886202812195, 0.6698983311653137, 0.6092714071273804, -0.18625164031982422, -0.6745542287826538, -0.6502081751823425, -0.025769811123609543, -0.25284644961357117, -0.8178026676177979, 0.6201627254486084, -0.2458396553993225, -0.2102491557598114, -0.08011431992053986, -0.23895259201526642, -0.11960694938898087, 0.36413270235061646, 0.30213966965675354, 0.15612556040287018, 0.08554872870445251, -0.10890614986419678, 0.15723982453346252, -0.3660593330860138, -0.09912754595279694, -0.26684558391571045, 0.49432018399238586, 0.1876092106103897, -0.4806760549545288, -0.5631712675094604, 0.3360503613948822, 0.5532494187355042, -0.3052983582019806, 0.7562103867530823, 0.5965911746025085, -0.196781724691391, -0.029507748782634735, -0.9549915790557861, -0.275522917509079, -0.4249686002731323, 0.3065440356731415, -0.29690465331077576, -0.8639950156211853, 0.45418456196784973, 0.042672209441661835, 0.2238636016845703, 0.3538112938404083, 0.6617909073829651, 0.0440470390021801, 1.160651683807373, 0.6011183261871338, -0.4029039144515991, 0.48587098717689514, -0.30666595697402954, -0.09154738485813141, -0.747587263584137, -0.4703132212162018, -0.25207436084747314, -0.6882982850074768, -0.1022772490978241, -0.4180554747581482, 0.5399996638298035, 0.22547607123851776, 0.09459151327610016, 0.020612649619579315, -0.585713267326355, 0.48432379961013794, 0.7972065210342407, 0.38200339674949646, 0.2749675214290619, 0.10840928554534912, -0.004993152804672718, 0.11060547083616257, -0.9664217829704285, -0.38497042655944824, 0.9572451114654541, 0.4891149699687958, 0.8861153721809387, -0.14277873933315277, 0.8938920497894287, 0.2155788242816925, 0.06733506917953491, -0.7802888751029968, 0.4345373809337616, -0.02744772657752037, -0.5984581708908081, -0.22146949172019958, -0.6298370361328125, -0.5924968123435974, 0.35548022389411926, -0.24933598935604095, -0.3113430142402649, 0.12024921923875809, 0.4523617923259735, -0.44700920581817627, 0.32823559641838074, -0.5393820405006409, 0.78937166929245, -0.41686898469924927, -0.4139978289604187, -0.39755240082740784, -0.6604583859443665, 0.4718002378940582, -0.012841208837926388, 0.12688133120536804, -0.2838757336139679, 0.007806404493749142, 0.7313073873519897, -0.4151262044906616, 0.7444116473197937, -0.16245605051517487, -0.2030715048313141, 0.10184868425130844, 0.0017733679851517081, 0.6138371229171753, -0.08830755203962326, -0.09415076673030853, 0.06621913611888885, -0.3931835889816284, -0.5348361134529114, -0.5035141706466675, 0.8496025800704956, -0.9635282158851624, -0.555022120475769, -0.2281322032213211, -0.990696907043457, -0.0584985613822937, -0.06530731171369553, 0.17879952490329742, 0.3750629723072052, 0.20156267285346985, 0.28422245383262634, 0.8928353190422058, 0.08847465366125107, -0.05806303024291992, 0.40407389402389526, 0.15187470614910126, -0.4955761730670929, 1.0319163799285889, 0.04124909266829491, 0.20324257016181946, 0.5355337858200073, 0.23212683200836182, -0.21976572275161743, -0.573144257068634, -0.5194140076637268, -0.17532934248447418, -0.46521610021591187, -0.2282170206308365, -0.808431088924408, -0.02465081959962845, -0.10791568458080292, -0.05179625004529953, -0.5113397836685181, -0.49944886565208435, -0.22566573321819305, 0.09102798998355865, 0.43922707438468933, 0.7198387384414673, -0.05890009552240372, 0.295004665851593, -0.7031481266021729, 0.10900069028139114, 0.48529040813446045, 0.25505557656288147, 0.0515606515109539, -0.4960809350013733, -0.42777109146118164, 0.3640497326850891, -0.40263035893440247, -0.3323388695716858, 0.20058949291706085, -0.16157716512680054, 0.8615731000900269, 0.33312278985977173, 0.04960170388221741, 0.5214172601699829, -0.04342612251639366, 0.6484944820404053, 0.33139848709106445, -0.6286448240280151, 0.31955742835998535, -0.4409800171852112, -0.06882362812757492, 0.6083968877792358, 0.28342926502227783, -0.26533061265945435, -0.41566115617752075, -0.3895024061203003, -1.0225706100463867, 0.8288915157318115, 0.09977647662162781, -0.13273590803146362, 0.14296337962150574, 0.1952628195285797, 0.5522708296775818, 0.3830117881298065, -0.6340141892433167, -0.11910320073366165, -0.14962467551231384, -0.503186821937561, -0.16960717737674713, -0.4039028584957123, -0.3903903663158417, -0.23228880763053894, 0.6237654089927673, 0.13300849497318268, 0.017361260950565338, -0.1008577048778534, -0.15030686557292938, -0.3958509564399719, 0.31840765476226807, 0.7235394716262817, 0.70033198595047, -0.42181694507598877, 0.14119714498519897, -0.10364589840173721, -0.04628036171197891, 0.17094089090824127, 0.1410549432039261, 0.06669656187295914, -0.4245159924030304, 0.1614413559436798, 0.8284942507743835, 0.343838632106781, -0.6558775305747986, 0.40866440534591675, 0.29708489775657654, -0.5163586735725403, -0.18578478693962097, 0.5430195927619934, 0.1020968109369278, 0.18473535776138306, 0.5447217226028442, 0.22559195756912231, -0.11017812043428421, -0.3951351046562195, -0.08763626217842102, 0.4672173857688904, -0.19506222009658813, -0.2173728048801422, 0.7452430725097656, 0.40841934084892273, -0.0397968664765358, 0.5907725691795349, -0.12277060747146606, -0.630497932434082, 0.5156009197235107, 0.1758410632610321, 0.6570436358451843, -0.19099171459674835, -0.06346582621335983, 0.07158422470092773, 0.09429304301738739, -0.5775688886642456, 0.18649883568286896, 0.044301193207502365, -0.6863507628440857, -0.5074604749679565, -0.49142152070999146, -0.3942369818687439, 0.038097985088825226, -0.6687867045402527, 0.16142722964286804, -0.1155628189444542, 0.025665489956736565, -0.08014892786741257, -0.11694522202014923, -0.5812207460403442, 0.06036113202571869, 0.1028575599193573, 0.7284921407699585, -0.8285856246948242, 0.8668326735496521, 0.8518694639205933, -0.3648786246776581, -0.6229106783866882, -0.3966827392578125, -0.05699784308671951, -0.829092264175415, 0.7322916388511658, 0.12294812500476837, 0.07084830850362778, 0.036550372838974, -0.5029512047767639, -0.5435197353363037, 1.225883960723877, 0.1860228031873703, -0.6717866659164429, 0.1774314045906067, 0.011993280611932278, 0.2510134279727936, -0.5715184807777405, 0.1902952790260315, 0.32502514123916626, 0.5770779252052307, 0.2072523683309555, -0.8936118483543396, -0.15981709957122803, -0.20619544386863708, -0.09172128885984421, 0.3058292269706726, -0.5843853950500488, 1.0617932081222534, 0.01757742092013359, 0.21707308292388916, 0.1212373748421669, 0.5077137351036072, 0.5994822978973389, 0.36808785796165466, 0.7679618000984192, 0.8713136315345764, 0.6587842106819153, -0.026621919125318527, 1.0640701055526733, -0.341950386762619, 0.2354755848646164, 0.7712484002113342, -0.33302852511405945, 0.7483553290367126, 0.5929728746414185, -0.021423783153295517, 0.42357516288757324, 0.6059519052505493, 0.028285879641771317, 0.6800369620323181, 0.16525927186012268, -0.1280863732099533, -0.63572758436203, -0.11932927370071411, -0.44689151644706726, 0.3385297656059265, 0.0635925680398941, -0.2792985141277313, 0.09053310751914978, 0.044279035180807114, -0.2703682482242584, 0.16203045845031738, -0.3768608868122101, 0.8141494989395142, -0.029513109475374222, -0.756779134273529, 0.5807887315750122, 0.1494351029396057, 1.0461121797561646, -0.6225612759590149, 0.029602276161313057, -0.13662567734718323, 0.25225207209587097, -0.22141006588935852, -0.6864303946495056, -0.2314101904630661, -0.27788686752319336, -0.43994107842445374, -0.22975561022758484, 0.540955126285553, -0.794838011264801, -0.47228965163230896, -0.08788196742534637, 0.43524619936943054, 0.0036082041915506124, -0.36287498474121094, -0.5219377279281616, -0.015389347448945045, -0.09340953826904297, -0.23416854441165924, 0.598711371421814, 0.33146926760673523, 0.12049456685781479, 0.8095797896385193, 0.5047856569290161, -0.166608989238739, -0.03838090971112251, -0.14003197848796844, 1.0391653776168823, -0.5193207263946533, -0.5558406114578247, -0.8837251663208008, 0.8966584801673889, -0.006433424539864063, -0.26758873462677, 0.5488334894180298, 0.5646184682846069, 0.814099133014679, -0.1662071943283081, 0.7588850259780884, 0.014460147358477116, 0.3943459391593933, -0.6753523349761963, 0.514593243598938, -0.9246174097061157, 0.18780286610126495, -0.11797986924648285, -0.7922348976135254, 0.04829620197415352, 0.49097996950149536, -0.14157049357891083, 0.13253158330917358, 0.3121296465396881, 0.7223225831985474, -0.37963321805000305, -0.13909541070461273, 0.21666772663593292, -0.06475879997015, 0.12636379897594452, 0.7515764236450195, 1.0901830196380615, -0.15630283951759338, 0.4085357189178467, -0.5823784470558167, -0.32885247468948364, -0.6205818057060242, -0.8638800978660583, -0.8236489295959473, -0.49633878469467163, -0.4531307518482208, -0.02931942418217659, -0.13015614449977875, 1.3215560913085938, 0.931196928024292, -0.6378077268600464, -0.2403361201286316, 0.00966047216206789, 0.10350058972835541, -0.578755795955658, -0.18633690476417542, 0.04561662673950195, -0.24404871463775635, -0.7373422384262085, 0.388685941696167, 0.2628409266471863, -0.00021327336435206234, -0.4049631655216217, -0.34373927116394043, 0.022751426324248314, -0.21392621099948883, 0.4663957953453064, -0.0940379872918129, -0.8548278212547302, 0.01333680935204029, -0.026055028662085533, -0.23384255170822144, 0.043159253895282745, 0.8567662835121155, -0.5172424912452698, 0.3959413170814514, 0.4678105115890503, 0.6862698197364807, 0.2220730185508728, 0.22816616296768188, 0.6883173584938049, -0.7355250716209412, 0.15840822458267212, 0.2196994423866272, 0.3555153012275696, 0.22642838954925537, -0.45415806770324707, 0.542454719543457, 0.1522982120513916, -0.7620681524276733, -0.9540516138076782, 0.1812342256307602, -1.4479073286056519, -0.22397300601005554, 1.1502772569656372, -0.10023893415927887, -0.011914798989892006, 0.04450061172246933, -0.3488054573535919, 0.1078537181019783, -0.6787244081497192, 1.1349451541900635, 0.8369339108467102, 0.0030172665137797594, -0.048580482602119446, -0.4310082197189331, 0.16869881749153137, 0.5844805836677551, -0.4822571575641632, -0.022228945046663284, 0.4107803404331207, 0.41022488474845886, 0.05558187514543533, 0.46501925587654114, 0.03571595996618271, 0.193664088845253, -0.18547885119915009, 0.34474679827690125, -0.7888222336769104, -0.2794400155544281, -0.16706068813800812, 0.1208055391907692, 0.38299429416656494, -0.2852841317653656 ]
http://arxiv.org/abs/2403.01196v1
http://arxiv.org/pdf/2403.01196v1
Machine Translation in the Covid domain: an English-Irish case study for LoResMT 2021
2024-03-02T12:29:28
2024-03-02T12:29:28
Séamus Lankford, Haithem Afli, Andy Way
cs.CL
cs.CL, cs.AI
Translation models for the specific domain of translating Covid data from English to Irish were developed for the LoResMT 2021 shared task. Domain adaptation techniques, using a Covid-adapted generic 55k corpus from the Directorate General of Translation, were applied. Fine-tuning, mixed fine-tuning and combined dataset approaches were compared with models trained on an extended in-domain dataset. As part of this study, an English-Irish dataset of Covid related data, from the Health and Education domains, was developed. The highest-performing model used a Transformer architecture trained with an extended in-domain Covid dataset. In the context of this study, we have demonstrated that extending an 8k in-domain baseline dataset by just 5k lines improved the BLEU score by 27 points.
[ 0.12977315485477448, -0.5070263743400574, 0.07184574753046036, 0.1493464857339859, 0.03380421921610832, 0.12838174402713776, 0.04537967965006828, -0.7980166673660278, 0.10032671689987183, 0.6406188011169434, -0.47512945532798767, -0.3707144558429718, -0.62298184633255, 0.17861148715019226, -0.4044049382209778, 1.2077783346176147, -0.22335074841976166, 0.13003167510032654, -0.35776016116142273, -0.011467279866337776, -0.6071490049362183, -0.7017775177955627, -0.687109112739563, -0.40679147839546204, 0.2343665510416031, 0.7277277112007141, 0.5751330256462097, 0.1593366414308548, 1.2472679615020752, 0.08006332814693451, 0.27177947759628296, 0.3384656608104706, -0.6738072037696838, -0.0022943534422665834, -0.48194101452827454, -0.38048428297042847, -0.8481550216674805, 0.08638238161802292, 0.13575305044651031, 0.6826573610305786, 0.07898864895105362, 0.5423631072044373, 0.05217369645833969, 0.5074983835220337, -0.3570452034473419, 0.09679167717695236, -0.5507436990737915, 0.06529221683740616, -0.02460409142076969, -0.33038198947906494, -0.7212601900100708, 0.1547328382730484, 0.5593937635421753, -0.7232844829559326, 0.24837246537208557, 0.38500845432281494, 0.8945663571357727, 0.387373685836792, -0.5075516700744629, -0.3242557942867279, -0.7500348091125488, 0.9123965501785278, -0.3559553027153015, 0.4733369052410126, 0.38704004883766174, 0.19329719245433807, -0.30573737621307373, -0.7260931134223938, 0.0074896072037518024, -0.05909192934632301, 0.015334699302911758, 0.555950403213501, -0.8012270331382751, -0.21398991346359253, 0.027308009564876556, 0.24481984972953796, -0.9519215226173401, 0.014693760313093662, -0.9942960143089294, -0.20918579399585724, 0.8856706023216248, 0.23655059933662415, 0.3128328323364258, 0.056649986654520035, -0.633662760257721, -0.08723033219575882, -0.5161027908325195, 0.008150875568389893, -0.12305225431919098, 0.27610817551612854, -0.33136528730392456, 0.6886589527130127, 0.03665313869714737, 0.6181066036224365, 0.2308865338563919, -0.11784286797046661, 0.2998031973838806, -0.30221351981163025, -0.6082656979560852, 0.266887903213501, 0.1554110199213028, 0.5497664213180542, 0.0396614633500576, -0.36162039637565613, -0.004469199571758509, 0.17140862345695496, 0.46296024322509766, -0.6843076944351196, -0.26314103603363037, 0.15329548716545105, -0.3220148980617523, 0.07970480620861053, -0.13781191408634186, -0.5467228889465332, -0.05478942021727562, -0.3509020507335663, 0.5861139893531799, -0.4121885597705841, 0.022720912471413612, 0.5236528515815735, -0.43035632371902466, 0.2775227725505829, 0.5517958402633667, -0.5121132135391235, 0.5686023235321045, 0.42434728145599365, 0.5805871486663818, -0.7720134854316711, -0.1283707171678543, -0.6229018568992615, 0.2867223024368286, -0.34863755106925964, 0.45952415466308594, -0.48918524384498596, -0.22059409320354462, -0.14673858880996704, 0.15097078680992126, -0.5021392703056335, -0.6732528805732727, 0.7991979718208313, -0.5271657705307007, 0.27782145142555237, 0.14175020158290863, -0.4980633854866028, -0.34016355872154236, 0.2447950392961502, -0.5776821374893188, 0.8793631196022034, 0.33148086071014404, -0.6137557625770569, 0.24901774525642395, -0.7296756505966187, -0.5525830388069153, 0.17630144953727722, 0.4208812713623047, -0.5144767761230469, 0.13108617067337036, 0.30287420749664307, 0.740423858165741, -0.4105425775051117, 0.24016205966472626, -0.10779953747987747, -0.10324114561080933, 0.07460537552833557, -0.23093317449092865, 0.7192648649215698, 0.3415276110172272, 0.015377219766378403, -0.23511697351932526, -0.7115102410316467, -0.2574536204338074, -0.1693669855594635, -0.11967845261096954, -0.46374568343162537, -0.28996244072914124, 0.19131867587566376, 0.17424236238002777, 0.3913781940937042, -0.45350730419158936, 0.16072171926498413, -0.15424545109272003, 0.29737207293510437, -0.036238815635442734, 0.08467257767915726, 0.5980780720710754, -0.5375106930732727, 0.6159825325012207, 0.19034677743911743, 0.26800039410591125, 0.09997481107711792, -0.761478066444397, -0.440279483795166, -0.43371397256851196, -0.04082190617918968, 1.1161315441131592, -0.6776552796363831, 0.21520587801933289, -0.3650727868080139, -0.6009209752082825, -0.8060691356658936, -0.23284342885017395, 0.16083505749702454, 0.6022032499313354, 0.846348762512207, -0.175713449716568, -0.7185906767845154, -0.7011946439743042, -0.10289197415113449, -0.011296235024929047, 0.2925529181957245, 0.2247295081615448, 0.8074710965156555, -0.5486409068107605, 0.576587438583374, -0.38517823815345764, -0.30662307143211365, -0.09321931004524231, 0.0810261070728302, 0.13185285031795502, 0.5858004093170166, 0.31276172399520874, -1.0467689037322998, -0.4267863929271698, 0.5417241454124451, -0.8480648398399353, 0.028289487585425377, -0.04766323044896126, -0.06007194146513939, -0.0374646857380867, 0.40005308389663696, -0.16023142635822296, 0.7490083575248718, 0.986479640007019, -0.5375084280967712, 0.49451062083244324, -0.25500786304473877, 0.36785888671875, -1.4261516332626343, -0.08332376927137375, -0.08085420727729797, -0.5029194355010986, -0.7856345772743225, 0.28285375237464905, 0.000063823361415416, -0.4571285843849182, -0.4999082088470459, 0.6255506277084351, -0.0965559333562851, 0.2515180706977844, 0.012521643191576004, -0.26772913336753845, 0.46919238567352295, -0.038604363799095154, -0.004892648197710514, 0.9605311155319214, 0.5196200609207153, -0.4752156734466553, 0.5259214639663696, 0.5181499719619751, -0.10738132894039154, 0.7554041147232056, -0.5246390700340271, 0.022095391526818275, 0.310507208108902, 0.10228952765464783, -0.6609393358230591, -0.37341341376304626, 0.12694822251796722, -0.4283399283885956, 0.04408750683069229, -0.078969307243824, 0.10864612460136414, -0.33034372329711914, 0.18122896552085876, 0.30783623456954956, 0.41659319400787354, -0.593230128288269, 0.23839892446994781, 0.2613331079483032, -0.18178673088550568, -0.32618147134780884, -1.0664973258972168, 0.33805328607559204, -0.4780476689338684, -0.8587740659713745, 0.7596703767776489, -0.291292279958725, -0.33179613947868347, 0.13971233367919922, 0.007713454309850931, -0.42117998003959656, 0.06934835761785507, 0.08364441245794296, 0.304426372051239, -0.42639943957328796, -0.08755235373973846, 0.14362406730651855, 0.21613988280296326, -0.13428258895874023, -0.596624493598938, 0.15733295679092407, 0.09166129678487778, -0.05281658098101616, -0.5038239359855652, 0.6127199530601501, 0.6251065731048584, -0.1375420242547989, 0.6897295713424683, 0.4422188699245453, -0.5026504397392273, -0.08665990829467773, -0.291260689496994, 0.16661807894706726, -0.35209840536117554, 0.24988093972206116, -0.5879017114639282, -1.0026981830596924, 0.4189872443675995, -0.18703606724739075, -0.2734454572200775, 0.6389511823654175, 0.5075187683105469, -0.201009139418602, 0.43940800428390503, 0.9419591426849365, -0.044564008712768555, 0.1341707855463028, -0.22378680109977722, 0.1603129655122757, -0.6739434003829956, -0.20582802593708038, -0.4894210398197174, 0.06418409198522568, -0.5534847974777222, -0.5381245613098145, 0.4066494107246399, 0.09651864320039749, 0.10906928777694702, 0.6941981315612793, -0.43687039613723755, -0.09781801700592041, 0.22498434782028198, 0.37451422214508057, 0.22793449461460114, 0.2166370153427124, 0.03842879459261894, 0.03754338622093201, -0.8692296743392944, -0.3507918417453766, 0.9222394227981567, 0.21751636266708374, 0.6931902766227722, 0.09143348783254623, 0.7299123406410217, 0.7209857106208801, -0.15876778960227966, -0.5756639242172241, -0.0007683676667511463, -0.6484845876693726, -0.4645926356315613, -0.4239204525947571, -0.2150256335735321, -1.1137093305587769, -0.3496270775794983, -0.004474333953112364, -0.41500383615493774, 0.5563104152679443, 0.010822994634509087, -0.3091653287410736, -0.034115467220544815, -0.9515436887741089, 0.7378832101821899, -0.03721289336681366, -0.3799213171005249, -0.29520976543426514, -0.3304857313632965, -0.012170805595815182, -0.4157662093639374, 0.2576158344745636, -0.011385634541511536, 0.31840524077415466, 0.840851902961731, -0.21582390367984772, 0.7351769804954529, 0.16248802840709686, -0.11340183764696121, 0.12208785116672516, -0.1520928293466568, 0.45145052671432495, -0.059270747005939484, -0.5299607515335083, 0.22841982543468475, 0.2398841679096222, -0.746405839920044, -0.2994401156902313, 0.27991783618927, -1.0269972085952759, -0.5654629468917847, -0.33256104588508606, -0.7672479748725891, 0.005482872016727924, -0.14728333055973053, 0.3590690791606903, 0.5296376943588257, -0.5999984741210938, 0.20742125809192657, 0.5875131487846375, -0.2797608971595764, 0.13478685915470123, 0.43842196464538574, -0.004470129497349262, -0.32882165908813477, 0.800057590007782, 0.10045731067657471, 0.34120112657546997, 0.809615433216095, 0.20285066962242126, 0.2090267837047577, -0.584151566028595, -0.5741324424743652, -0.1816430240869522, -0.4529287815093994, -0.41031956672668457, -0.42676419019699097, -0.5563262104988098, -0.6761485934257507, -0.4554899334907532, 0.0011703517520800233, -0.33904221653938293, -0.3434535562992096, -0.027930166572332382, 0.8448027968406677, 0.943780243396759, 0.1410750448703766, 0.4626867473125458, -0.7188237905502319, 0.28299862146377563, 0.1687457263469696, -0.11514962464570999, -0.6308256983757019, -0.9708836078643799, -0.7856587767601013, -0.007424894720315933, -0.051084261387586594, -0.5290108919143677, 0.8762073516845703, 0.3909587562084198, 0.21431964635849, -0.14281335473060608, -0.0345134511590004, 1.07111656665802, -0.8134783506393433, 0.9577697515487671, 0.23824171721935272, -0.7573481202125549, 0.5573647022247314, -0.21715271472930908, 0.26636803150177, 0.3205049932003021, 0.5659263134002686, -0.6215510368347168, -0.21871399879455566, -0.4794420301914215, -0.5492828488349915, 0.256351113319397, 0.16212071478366852, 0.004611110780388117, 0.1934085190296173, 0.4179284870624542, 0.5793471336364746, -0.21689373254776, -0.12611904740333557, -0.029972627758979797, -0.029638953506946564, -0.27031636238098145, -0.32246288657188416, 0.03630705177783966, -0.0640125423669815, -0.5549401640892029, 0.628400444984436, 0.006694061681628227, 0.32845938205718994, 0.46283724904060364, -0.48711535334587097, -0.20660974085330963, 0.2630440890789032, 0.5966371893882751, 0.7274612188339233, -0.2365569919347763, -0.03449948877096176, 0.32013946771621704, -0.920801043510437, 0.13389451801776886, 0.2072196900844574, -0.14966034889221191, -0.017307491973042488, 0.5971789360046387, 0.9709792733192444, -0.0014298399910330772, -0.26492536067962646, 0.47577452659606934, -0.0776943638920784, -0.20703427493572235, -0.2638965845108032, 0.11791449040174484, -0.2515588104724884, 0.42022705078125, 0.5898537039756775, 0.48386433720588684, 0.3503202795982361, -0.3408929705619812, 0.5646069049835205, 0.06982389092445374, -0.46050652861595154, -0.6028624176979065, 0.5391041040420532, 0.20239412784576416, -0.3933415710926056, 0.24510332942008972, 0.10870449244976044, -0.1612536460161209, 0.4814961552619934, 0.9504267573356628, 0.6786678433418274, -0.5069528818130493, 0.23530535399913788, 0.1508316546678543, 0.2987087666988373, -0.23629708588123322, 0.4128262996673584, 0.49874889850616455, -0.6001242399215698, -0.6053606867790222, -0.5975843071937561, -0.6264673471450806, 0.04806096851825714, -1.1442126035690308, 0.3595430552959442, 0.24449892342090607, -0.006094608921557665, -0.10954896360635757, 0.2851058840751648, -1.1806374788284302, 0.6590909361839294, 0.06393551081418991, 1.2381483316421509, -1.073918104171753, 1.0522124767303467, 0.9183481335639954, -0.21928228437900543, -0.538154661655426, -0.019951246678829193, -0.4517766237258911, -0.9208105206489563, 0.6969937086105347, -0.1902008056640625, -0.0700412318110466, 0.19484969973564148, -0.5605948567390442, -1.0487936735153198, 1.1902347803115845, 0.42415884137153625, -0.6842987537384033, 0.07947288453578949, 0.46073415875434875, 0.5695993900299072, -0.600439190864563, -0.26779240369796753, 0.5221125483512878, 0.276233047246933, -0.038231343030929565, -1.172143816947937, -0.34652459621429443, -0.20306138694286346, -0.4845307171344757, -0.14917144179344177, -0.6015669107437134, 0.45422008633613586, 0.00997931882739067, 0.20224317908287048, 0.016293209046125412, 0.6941401958465576, -0.09066124260425568, 0.7520266771316528, -0.08267199248075485, 0.66202312707901, 1.1471341848373413, 0.06538496166467667, 0.9354508519172668, -0.05978579819202423, 0.12686467170715332, 1.0550644397735596, -0.38938409090042114, 0.8735272288322449, 0.3998081386089325, 0.0014205281622707844, 0.39706799387931824, 0.5548827052116394, 0.059072427451610565, 0.508612334728241, -0.0023234367836266756, -0.24467088282108307, -0.1405368447303772, -0.4153200387954712, -0.2937944233417511, 0.6431077122688293, 0.6258236169815063, -0.21885645389556885, 0.04796906188130379, 0.5421159267425537, -0.07121029496192932, 0.026410870254039764, -0.6020325422286987, 0.7208721041679382, 0.19871945679187775, -0.5256875157356262, 0.5619052648544312, 0.07730064541101456, 0.3947829008102417, -0.3208766579627991, -0.06717722117900848, -0.22986842691898346, 0.10425231605768204, -0.33255335688591003, -0.577129602432251, 0.6049799919128418, 0.09038500487804413, -0.5784736275672913, -0.44351017475128174, 0.8733431696891785, -0.49852609634399414, -0.7743699550628662, 0.5063430666923523, 0.7374099493026733, 0.44083553552627563, 0.2813321053981781, -0.6155900359153748, 0.09427613765001297, -0.12128200381994247, 0.10308244079351425, 0.14679114520549774, 0.7122361660003662, -0.5358538031578064, 0.46638980507850647, 0.38390782475471497, 0.29731231927871704, 0.2999067008495331, -0.20016178488731384, 0.5641648173332214, -0.45282959938049316, -0.11976905912160873, -0.6478268504142761, 0.29397785663604736, 0.0887257307767868, -0.3641188442707062, 0.7422506213188171, 0.8236836791038513, 0.9556323885917664, -0.26925915479660034, 0.9808936715126038, 0.11852313578128815, 0.38969242572784424, -0.4112410545349121, 0.4645116329193115, -0.4626022279262543, -0.28598514199256897, 0.048595283180475235, -0.33071795105934143, -0.6006340384483337, 0.2990792691707611, -0.476529598236084, -0.7337096333503723, 0.7463131546974182, 0.6387902498245239, -0.2452850490808487, -0.14076083898544312, 0.7994157671928406, 0.15319737792015076, 0.12298583984375, 0.4892917573451996, 0.5510014891624451, -0.8699334263801575, 0.30341836810112, 0.060535822063684464, -0.1891927570104599, -0.29010695219039917, -0.7987653017044067, -0.8760867714881897, -0.6902741193771362, -0.501133918762207, -0.4057692587375641, 0.741712749004364, 0.9547821879386902, 0.7735539674758911, -1.1247544288635254, -0.3653424382209778, 0.4039272964000702, -0.2669351100921631, -0.6081082224845886, -0.15095148980617523, 0.48138779401779175, -0.23835906386375427, -0.5612871050834656, 0.6414527893066406, 0.47640731930732727, -0.10501261800527573, 0.08922313898801804, -0.1468726545572281, -0.23852373659610748, 0.12517531216144562, 0.8636547923088074, -0.11764929443597794, -0.34762853384017944, -0.46474626660346985, 0.47993266582489014, -0.14182303845882416, 0.13070261478424072, 0.5626761317253113, -0.6736910939216614, 0.37069442868232727, 0.2590002417564392, 0.8489231467247009, 0.47556033730506897, -0.26366549730300903, 0.7671449184417725, -0.7056598663330078, 0.12319480627775192, 0.17331527173519135, 0.2750929892063141, 0.4296610951423645, -0.7494747638702393, 0.5964412689208984, 0.28524959087371826, -0.6566920876502991, -0.539085328578949, -0.007781231310218573, -1.1686220169067383, 0.03413354232907295, 1.0482929944992065, -0.2672573924064636, -0.3061395287513733, -0.5704821348190308, -0.16146092116832733, 0.4989554286003113, -0.36859914660453796, 0.5160620808601379, 0.6294394135475159, -0.06626449525356293, 0.1355048269033432, -0.7479512095451355, 0.4006904065608978, 0.19379346072673798, -0.7843294739723206, -0.1930970847606659, -0.017718113958835602, 0.11187687516212463, -0.04108348861336708, 0.19192637503147125, 0.1361331045627594, 0.42484787106513977, -0.2846536636352539, 0.17049750685691833, 0.3518691658973694, -0.44547703862190247, -0.4089237451553345, 0.10226184874773026, -0.13242554664611816, -0.0699172168970108 ]
http://arxiv.org/abs/2403.01193v3
http://arxiv.org/pdf/2403.01193v3
RAGged Edges: The Double-Edged Sword of Retrieval-Augmented Chatbots
2024-03-02T12:19:04
2024-06-12T12:00:52
Philip Feldman, James R. Foulds, Shimei Pan
cs.CL
cs.CL, cs.AI, H.3.3; I.2.7
Large language models (LLMs) like ChatGPT demonstrate the remarkable progress of artificial intelligence. However, their tendency to hallucinate -- generate plausible but false information -- poses a significant challenge. This issue is critical, as seen in recent court cases where ChatGPT's use led to citations of non-existent legal rulings. This paper explores how Retrieval-Augmented Generation (RAG) can counter hallucinations by integrating external knowledge with prompts. We empirically evaluate RAG against standard LLMs using prompts designed to induce hallucinations. Our results show that RAG increases accuracy in some cases, but can still be misled when prompts directly contradict the model's pre-trained understanding. These findings highlight the complex nature of hallucinations and the need for more robust solutions to ensure LLM reliability in real-world applications. We offer practical recommendations for RAG deployment and discuss implications for the development of more trustworthy LLMs.
[ -0.5043911933898926, -0.9318007230758667, 0.8137356638908386, 0.11591329425573349, -0.07438075542449951, 0.2985493540763855, -0.2451656013727188, -0.6384775042533875, 0.31040140986442566, 0.8276164531707764, -0.5612581968307495, -0.16680897772312164, -0.631675124168396, -0.02509123459458351, -0.6639693379402161, 1.0317305326461792, 0.366254597902298, -0.13095033168792725, -0.22517649829387665, 0.06812906265258789, -0.7027538418769836, -0.7354859709739685, -0.7427619695663452, -0.3857886791229248, 0.4224306046962738, 0.14173024892807007, 1.1108611822128296, 0.12310005724430084, 0.5423676371574402, 0.28763121366500854, -0.08187933266162872, 0.6473581194877625, -0.742805540561676, 0.590160071849823, -0.050456319004297256, -0.4200590252876282, -0.08197638392448425, -0.1766725331544876, 0.2692975103855133, 0.49903732538223267, -0.3235979378223419, -0.20639029145240784, 0.06075871363282204, 0.8275900483131409, -0.38860321044921875, -0.35683122277259827, -1.0398461818695068, 0.2092560976743698, 0.039468295872211456, -0.3470506966114044, -0.7140913605690002, -0.3499404191970825, -0.0005673092673532665, -0.4887792766094208, 0.19114743173122406, 0.31514692306518555, 1.0183101892471313, 0.726936399936676, -0.06131231039762497, -0.7216270565986633, -0.9328678846359253, 0.5135388970375061, -0.2961968779563904, 0.4878139793872833, 0.6222547888755798, 0.5088304281234741, -0.700104832649231, -0.8621062636375427, -0.4854414463043213, -0.5891496539115906, -0.0357971154153347, 0.0638657882809639, -0.22011762857437134, 0.010810664854943752, 0.3219131529331207, 0.11699710786342621, -0.49097976088523865, -0.0014205218758434057, -0.5094456076622009, -0.21321086585521698, 0.564854621887207, 0.12865683436393738, 0.3912522792816162, -0.24166043102741241, -0.34918129444122314, 0.02424686960875988, -0.5820147395133972, -0.5225980281829834, 0.48763108253479004, 0.3862170875072479, 0.3491310179233551, 0.7284883856773376, 0.20300225913524628, 0.4192753732204437, 0.1706657111644745, -0.03313187509775162, 0.08050679415464401, 0.2029358297586441, 0.025312423706054688, 0.1443745195865631, 0.7095475196838379, 0.321688711643219, 0.45463860034942627, -0.5118431448936462, -0.4111473560333252, 0.06347262859344482, 0.9289640784263611, -0.46606743335723877, -0.39684242010116577, 0.28663158416748047, -0.23583410680294037, -0.18526609241962433, -0.10790324211120605, -1.0452251434326172, -1.080471158027649, -0.2192799150943756, 0.7230542898178101, -0.6821043491363525, -0.049407776445150375, -0.10397735238075256, -0.28653407096862793, 0.18947072327136993, 0.2604827582836151, -0.5594595074653625, 0.3768105208873749, 0.810178279876709, 0.9444889426231384, -0.274163156747818, -0.09472858160734177, -0.5128770470619202, -0.20333126187324524, -0.45975640416145325, 1.0105549097061157, -0.5286350250244141, -0.6266462802886963, 0.0570504292845726, -0.14770272374153137, 0.1732041835784912, -0.8508275151252747, 0.7521063685417175, -0.5170009136199951, 0.3018427789211273, -0.08987434953451157, -0.1915845274925232, -0.15731368958950043, 0.2831275463104248, -0.49421846866607666, 1.2535059452056885, -0.03685688599944115, -0.6541566252708435, 0.08059541881084442, -0.29179468750953674, -0.42547687888145447, 0.1269071251153946, -0.31582653522491455, -0.46236252784729004, 0.29030704498291016, 0.1954175978899002, 0.1816188395023346, -0.0865955650806427, 0.19255174696445465, -0.07075422257184982, -0.6069145798683167, 0.34884393215179443, -0.6574895977973938, 0.5588127374649048, 0.32000914216041565, -0.3417242467403412, -0.04557791352272034, -0.5829009413719177, -0.02165856398642063, 0.2598119378089905, 0.06052397936582565, -0.3894861936569214, 0.05372248589992523, -0.1885530948638916, 0.04463908448815346, 0.1047591045498848, -0.23826438188552856, -0.010969899594783783, -0.3872246742248535, 0.01949526183307171, 0.9771601557731628, 0.030161026865243912, 0.10701809823513031, -0.7429699897766113, 0.41061314940452576, -0.17609725892543793, -0.003969717305153608, 0.06742404401302338, -0.5235885381698608, -0.8475949168205261, -0.13110212981700897, -0.08931177854537964, 0.6245832443237305, -1.1182416677474976, 0.2784622311592102, -0.08054787665605545, -0.6083238124847412, -0.6691958904266357, -0.11785396933555603, 0.1703232228755951, 0.4891069233417511, 0.5639913082122803, -0.009070799686014652, -0.6689907312393188, -0.6719068884849548, -0.4889465272426605, -0.07846177369356155, -0.11677046865224838, 0.6775815486907959, 0.3212713599205017, -0.6177086234092712, 0.6930474638938904, -0.2988485097885132, -0.32836711406707764, -0.05501050874590874, -0.045011039823293686, 0.0926862359046936, 0.29405033588409424, 0.11978374421596527, -0.9975069761276245, -0.2896744906902313, -0.17470133304595947, -0.7678908705711365, -0.18388491868972778, -0.419979065656662, -0.2427241951227188, 0.42665448784828186, 0.3193567097187042, -0.8028292059898376, 0.431087464094162, 0.40965259075164795, -0.33248165249824524, 0.8187000751495361, -0.3151612877845764, 0.20513705909252167, -0.8911546468734741, -0.06903806328773499, -0.31279391050338745, -0.2061939239501953, -0.6223210692405701, 0.025355372577905655, -0.3629215657711029, -0.13418233394622803, -0.1487657129764557, 0.6507554650306702, -0.2899881899356842, -0.09096118062734604, -0.41183194518089294, 0.5779213905334473, 0.05310230702161789, 0.3266187310218811, -0.038902461528778076, 0.9278964996337891, 0.1636705845594406, -0.6649361252784729, 0.41566202044487, 0.29608747363090515, -0.09299040585756302, 0.6939644813537598, -0.5679660439491272, 0.5938841104507446, -0.2727382481098175, 0.07440654933452606, -0.8103142976760864, -0.3312453031539917, 0.256368488073349, -0.7098812460899353, 0.34376057982444763, 0.03553374856710434, -0.5106818675994873, -0.35829007625579834, -0.3851926028728485, -0.020812738686800003, 0.8412664532661438, -0.8213969469070435, 0.7495823502540588, 0.5908756256103516, 0.037551410496234894, -0.6700859665870667, -0.5908302664756775, 0.3924137353897095, -0.28743523359298706, -0.45988014340400696, 0.19483418762683868, -0.08382958173751831, -0.5351381301879883, -0.19184449315071106, -0.12395519763231277, 0.12980733811855316, -0.004760671406984329, 0.5707658529281616, 0.1650603711605072, 0.0774972066283226, 0.2728605270385742, -0.11534798890352249, 0.1313229650259018, 0.1885872483253479, -0.14560763537883759, 0.9102656245231628, 0.13064129650592804, -0.42837610840797424, -0.10893091559410095, 0.24759919941425323, 0.41934606432914734, 0.16522125899791718, 0.651948094367981, 0.509760856628418, -0.48066624999046326, -0.4188952147960663, -1.0254063606262207, -0.36311715841293335, -0.5561788082122803, 0.32535356283187866, -0.45254814624786377, -0.6433691382408142, 0.5809239745140076, -0.10451485961675644, -0.028713537380099297, 0.3682304322719574, 0.5178952813148499, -0.17162905633449554, 1.0145819187164307, 0.4899069666862488, 0.2763829529285431, 0.3931463360786438, -0.02766989730298519, 0.2645990252494812, -0.864984393119812, -0.5003513097763062, -0.5466728806495667, -0.09239545464515686, -0.7726716995239258, -0.39413318037986755, 0.4767802655696869, 0.019547030329704285, -0.19536393880844116, 0.06725171953439713, -0.9391979575157166, 0.46072277426719666, 0.5949357748031616, 0.3698495626449585, 0.19853171706199646, 0.12330039590597153, 0.05774487182497978, 0.03491673991084099, -0.6049460768699646, -0.6254948377609253, 0.7356852293014526, 0.354087233543396, 0.9007980823516846, -0.049892764538526535, 0.7119638919830322, 0.4020863473415375, -0.013742093928158283, -0.8305368423461914, 0.5792214870452881, 0.03595548868179321, -0.6042627096176147, -0.2500157952308655, -0.5458546876907349, -0.9793810248374939, 0.2899880111217499, -0.23871032893657684, -0.844262957572937, 0.09167516976594925, -0.06697526574134827, -0.3212919235229492, 0.4093327820301056, -0.614539384841919, 0.30418509244918823, -0.26065558195114136, -0.41173118352890015, -0.04258441552519798, -0.46317070722579956, 0.36718645691871643, -0.1800745278596878, 0.2521844506263733, 0.055521100759506226, 0.039128270000219345, 0.7631992697715759, -0.2725938558578491, 0.7825457453727722, -0.1694258600473404, -0.159917414188385, 0.5629889965057373, 0.4298301637172699, 0.7284405827522278, -0.05454039201140404, 0.015391861088573933, 0.03702710196375847, -0.06700532138347626, -0.14980226755142212, -0.7102551460266113, 0.6746904850006104, -0.7566318511962891, -0.9057344794273376, -0.47173890471458435, -0.682037889957428, -0.2949112057685852, 0.06101274862885475, 0.4426862895488739, 0.1966521143913269, -0.055497847497463226, -0.08053995668888092, 0.892284631729126, -0.5050286650657654, 0.05817902088165283, 0.026128970086574554, -0.4202132225036621, -0.32988765835762024, 1.084384560585022, 0.25567391514778137, 0.27823325991630554, -0.22852873802185059, 0.12326299399137497, -0.2430408000946045, -0.42301151156425476, -0.37286901473999023, 0.21238170564174652, -0.8226750493049622, -0.2936462461948395, -0.8728151321411133, -0.5742480158805847, -0.32721391320228577, -0.1347890943288803, -0.41056162118911743, -0.31080061197280884, -0.22926698625087738, 0.02479156292974949, 0.6786627173423767, 0.9563478231430054, -0.19164887070655823, 0.0658508688211441, -0.7587647438049316, 0.5132569074630737, 0.19169771671295166, 0.26198476552963257, 0.05977838113903999, -0.8414667844772339, 0.07998819649219513, 0.19615212082862854, -0.28132739663124084, -0.7787542343139648, 0.4649744927883148, -0.16189932823181152, 0.39425399899482727, 0.10109452158212662, 0.28515005111694336, 0.784519374370575, -0.8229503035545349, 0.8152706623077393, -0.10338453203439713, -0.5600598454475403, 0.31478404998779297, -0.1454630196094513, 0.05644068866968155, 0.4262830317020416, 0.5244928598403931, -0.7195077538490295, -0.6530632376670837, -0.6690723299980164, -0.7879352569580078, 0.30889612436294556, 0.03691130131483078, 0.5140308141708374, -0.13291899859905243, 0.40387675166130066, 0.2866029143333435, -0.0024777196813374758, -0.6030285358428955, -0.06636992841959, -0.14218030869960785, -0.14134332537651062, 0.43717095255851746, -0.4666101038455963, -0.03877287358045578, 0.19983342289924622, 0.7179139852523804, 0.18980920314788818, 0.4297442138195038, 0.3394506871700287, -0.07370331883430481, -0.05967194214463234, 0.048130426555871964, 0.6696199774742126, 0.4933019280433655, 0.008594240993261337, 0.32228466868400574, 0.34281861782073975, -0.6930478811264038, -0.0007429452380165458, -0.02781454101204872, -0.16639059782028198, 0.059431497007608414, 0.3076498508453369, 0.6665804386138916, -0.16069874167442322, -0.8621184825897217, 0.18980608880519867, -0.009962355718016624, -0.016954446211457253, -0.6325415372848511, 0.10873030126094818, -0.2918913960456848, 0.4705047905445099, 0.6078231930732727, 0.11412441730499268, 0.2550927698612213, -0.5748780965805054, 0.4303227961063385, 0.6424073576927185, -0.5875115990638733, -0.05140703171491623, 0.4936407208442688, -0.17324863374233246, -0.8673696517944336, 0.7386298179626465, -0.27692216634750366, -0.8676104545593262, 0.2937330901622772, 0.6257969737052917, 0.8339376449584961, -0.20151939988136292, 0.08873928338289261, 0.07868333905935287, 0.47264546155929565, -0.17312434315681458, 0.09792974591255188, 0.0625365823507309, -0.5533872842788696, -0.2290339320898056, -0.5322079658508301, -0.5297263860702515, 0.07819545269012451, -0.3476421535015106, 0.22471649944782257, -0.33914700150489807, -0.23405230045318604, -0.4976080060005188, -0.07242943346500397, -0.38605427742004395, -0.05479692667722702, 0.1654043048620224, 0.5866202712059021, -0.25655022263526917, 0.4807584881782532, 0.09206517785787582, -0.3232559561729431, -0.4596607983112335, 0.16553565859794617, -0.04401946812868118, -0.9254776239395142, 0.47068291902542114, 0.2232033610343933, -0.38493630290031433, -0.16969525814056396, -0.5913352370262146, -0.6687526702880859, 0.6641404032707214, 0.07761089503765106, -0.443264365196228, -0.30449622869491577, -0.02856678143143654, 0.5757692456245422, 0.06020226329565048, 0.19105921685695648, 0.5988344550132751, 0.39077430963516235, 0.3690018653869629, -0.9844569563865662, 0.15116244554519653, -0.012964599765837193, -0.14681409299373627, 0.2614881098270416, -0.4517301619052887, 0.6363053917884827, -0.5129734873771667, -0.5200477838516235, 0.14275814592838287, 0.5245542526245117, 0.44312208890914917, 0.31840643286705017, 0.31091493368148804, 0.42032143473625183, 1.0027010440826416, -0.03024130128324032, 1.0208837985992432, -0.11367424577474594, -0.03854725882411003, 1.1807249784469604, -0.2726340889930725, 0.734549880027771, 0.5512732267379761, 0.040424637496471405, 0.4147043228149414, 0.34058529138565063, -0.163897305727005, 0.43424439430236816, 0.27724817395210266, -0.06799071282148361, -0.044267430901527405, -0.3713388442993164, -0.34257206320762634, 0.32016876339912415, 0.6227552890777588, -0.11057940870523453, 0.031317565590143204, 0.2558211088180542, 0.1267402172088623, 0.37286871671676636, -0.10023093223571777, 1.062197208404541, 0.30832594633102417, -0.6872657537460327, 0.7395977973937988, -0.40455806255340576, 0.7628591060638428, -0.25391706824302673, -0.3336654305458069, -0.23750297725200653, 0.13572363555431366, -0.2590485215187073, -0.7161476612091064, 0.4261731207370758, -0.004007664509117603, 0.21173438429832458, 0.14746356010437012, 0.9754638671875, -0.23958609998226166, -0.3537881374359131, 0.391872376203537, 0.4854975640773773, 0.4487387537956238, -0.2025243639945984, -0.4842343330383301, 0.2942110002040863, -0.07288913428783417, -0.2763400077819824, 0.13614320755004883, 0.7677206993103027, 0.0160953551530838, 0.976728081703186, 0.5641351342201233, 0.26743561029434204, 0.07590972632169724, -0.0241316519677639, 0.9376704096794128, -0.6141123175621033, -0.09981419146060944, -0.9723963141441345, 0.3600391447544098, -0.22220323979854584, 0.03311670571565628, 0.7906157970428467, 0.3444552421569824, 0.6434873342514038, 0.24320214986801147, 0.5913415551185608, 0.09989599138498306, 0.7327059507369995, -0.5624366402626038, 0.9779374003410339, -0.4228888154029846, 0.3276972770690918, -0.12018244713544846, -0.8366467952728271, -0.3412192165851593, 0.698698878288269, -0.31683555245399475, 0.3247181475162506, 0.5225173830986023, 0.9876644611358643, 0.1559959352016449, 0.007153122685849667, 0.5946000814437866, 0.21352852880954742, 0.3484627902507782, 0.3710426390171051, 1.239175796508789, -0.379116415977478, 0.7074804902076721, -0.2366020232439041, 0.02248302474617958, -0.27799445390701294, -0.4559529721736908, -1.1932064294815063, -0.6870587468147278, 0.13096778094768524, -0.8121881484985352, 0.37878236174583435, 0.9834444522857666, 0.4331013560295105, -0.5005895495414734, 0.051711391657590866, 0.11845556646585464, 0.291302889585495, 0.2062910497188568, -0.2746923863887787, 0.3932577669620514, -0.7587986588478088, -0.5464022159576416, 0.4381449520587921, 0.1436169147491455, 0.17639991641044617, -0.3990503251552582, -0.11567531526088715, -0.09953849762678146, 0.3486505448818207, 0.6086663603782654, 0.06754349172115326, -0.90177321434021, -0.5862585306167603, 0.13190332055091858, -0.2249642163515091, 0.12035412341356277, 0.5324873328208923, -1.1150696277618408, 0.40765905380249023, 0.2524532079696655, 0.7782065272331238, 0.22768534719944, 0.0837615504860878, 0.46807530522346497, -0.6144154071807861, 0.18488538265228271, 0.6115483641624451, 0.09445048123598099, 0.502108097076416, -0.6820029020309448, 0.6133336424827576, -0.0009494957630522549, -0.7572212815284729, -1.3172675371170044, 0.11420349776744843, -0.4610426425933838, -0.41603901982307434, 1.1171923875808716, 0.1973363757133484, -0.19281212985515594, -0.13029950857162476, -0.6331718564033508, 0.17943306267261505, -0.2715834975242615, 1.2863906621932983, 0.6291386485099792, -0.08618158847093582, -0.11070425063371658, -0.7520642280578613, 0.8106188774108887, 0.31303659081459045, -0.6820719838142395, 0.2721768617630005, 0.46732616424560547, -0.3196253776550293, 0.56448894739151, 0.37590867280960083, -0.05160190910100937, 0.12751375138759613, 0.3306339383125305, -0.006531912833452225, -0.03474016860127449, -0.5990571975708008, -0.3073647916316986, 0.09178776293992996, 0.19846415519714355, 0.07611034065485 ]
http://arxiv.org/abs/2403.01187v1
http://arxiv.org/pdf/2403.01187v1
A Compositional Typed Semantics for Universal Dependencies
2024-03-02T11:58:24
2024-03-02T11:58:24
Laurestine Bradford, Timothy John O'Donnell, Siva Reddy
cs.CL
cs.CL
Languages may encode similar meanings using different sentence structures. This makes it a challenge to provide a single set of formal rules that can derive meanings from sentences in many languages at once. To overcome the challenge, we can take advantage of language-general connections between meaning and syntax, and build on cross-linguistically parallel syntactic structures. We introduce UD Type Calculus, a compositional, principled, and language-independent system of semantic types and logical forms for lexical items which builds on a widely-used language-general dependency syntax framework. We explain the essential features of UD Type Calculus, which all involve giving dependency relations denotations just like those of words. These allow UD-TC to derive correct meanings for sentences with a wide range of syntactic structures by making use of dependency labels. Finally, we present evaluation results on a large existing corpus of sentences and their logical forms, showing that UD-TC can produce meanings comparable with our baseline.
[ -0.018416523933410645, -0.524454653263092, 0.8686401844024658, 0.46279412508010864, -0.08142241835594177, 0.11849423497915268, 0.0500783734023571, -0.4574854075908661, 0.39763835072517395, 0.5443329215049744, -0.3255797326564789, -0.3773674964904785, -0.4508275091648102, 0.15980786085128784, -0.37533533573150635, 0.973576545715332, -0.2842792868614197, -0.0850796177983284, -0.3160723149776459, -0.37888744473457336, -0.4804025888442993, -0.5317699313163757, 0.10651008039712906, -0.05119757354259491, 0.6682267189025879, 0.16856010258197784, 0.6887035965919495, 0.46752145886421204, 0.7898640036582947, 0.2813624441623688, 0.17334315180778503, -0.45485296845436096, -0.115786612033844, 0.2800382971763611, -0.2929724454879761, -0.5142215490341187, -0.12852853536605835, -0.09417761862277985, 0.7295310497283936, 1.0055118799209595, -0.18289965391159058, -0.1014033704996109, -0.22156022489070892, 0.6853976845741272, -0.8449712991714478, 0.6739664077758789, -0.44389042258262634, 0.015745284035801888, -0.3936207890510559, 0.03661563992500305, -0.4310525357723236, -0.28409260511398315, 0.5425429940223694, -0.5789252519607544, -0.29012545943260193, -0.3586406111717224, 0.6237437725067139, 0.13356132805347443, -0.7407809495925903, -0.21568235754966736, -0.7224938273429871, 0.5209179520606995, -0.17875318229198456, 0.5163595676422119, -0.006828032899647951, 0.24785484373569489, -0.10099417716264725, -0.7661033272743225, -0.39389532804489136, -0.48599186539649963, -0.42394301295280457, 0.38677605986595154, 0.20052942633628845, 0.3538983464241028, -0.004902247805148363, 0.38473138213157654, -0.32084158062934875, -0.10412421822547913, -0.1837783306837082, -0.21691744029521942, 0.24493934214115143, 0.3074655532836914, 0.8778042793273926, -0.2485930472612381, -0.4046822488307953, 0.3880714476108551, -0.8813880085945129, 0.043134208768606186, 0.1896810084581375, 0.4783255159854889, -0.45728161931037903, 0.7452648878097534, -0.24302686750888824, 0.7205274105072021, -0.43077030777931213, -0.197187140583992, -0.1199939101934433, -0.2185942530632019, -0.33112362027168274, -0.11038994789123535, 0.5188999772071838, -0.12386664748191833, 0.5030985474586487, -0.6525370478630066, 0.1362086534500122, 0.348595529794693, 0.16620099544525146, -0.6259235739707947, -0.08580165356397629, -0.05343957617878914, -0.04960326850414276, -0.16342328488826752, 0.3701480031013489, -0.3427443206310272, 0.09424007683992386, -0.7669540047645569, 0.405407190322876, -0.27188095450401306, -0.14697447419166565, 0.41340410709381104, -0.09933296591043472, 0.19123241305351257, 0.3065711557865143, -1.0563820600509644, 0.4594067335128784, 0.44630366563796997, 0.5918381214141846, -0.21933427453041077, -0.165441632270813, -0.6659180521965027, 0.7409875392913818, 0.1376998871564865, 0.9460936188697815, -0.7047044038772583, -0.3757716119289398, 0.11785988509654999, -0.29450422525405884, -0.17370480298995972, -0.2659943699836731, 0.4794233441352844, -0.37688982486724854, 0.3881378769874573, -0.274437814950943, -0.7140478491783142, -0.2505796253681183, -0.18963518738746643, -0.6746721267700195, 0.536587655544281, 0.568571150302887, -0.8424298763275146, 0.3866428732872009, -0.6056720018386841, -1.0238916873931885, 0.5669941306114197, -0.5903507471084595, 0.3302254378795624, 0.1380319595336914, -0.5880380272865295, 0.2710793912410736, -0.39988264441490173, 0.30231553316116333, -0.3514019548892975, 0.1355980485677719, -0.035348791629076004, 0.06846334040164948, 1.1937397718429565, 0.029972760006785393, -0.5625020265579224, -0.11981802433729172, -1.082458257675171, -0.1386786848306656, -0.2524624466896057, -0.6625229120254517, -0.458121657371521, 0.226448193192482, -0.020648499950766563, 0.07679102569818497, 0.19674474000930786, -0.6304144859313965, 0.1591392308473587, -0.34864383935928345, 0.5386607646942139, 0.784367561340332, -0.07242071628570557, 0.4827755093574524, -0.0493062324821949, 0.4355640411376953, 0.17279992997646332, -0.047035571187734604, 0.1294596791267395, -0.5018185377120972, -0.7906790375709534, -0.510391116142273, 0.014518560841679573, 0.6742894649505615, -0.38594529032707214, 0.6726959347724915, -0.048240430653095245, 0.031275954097509384, -0.01485957857221365, 0.01585054025053978, 0.26739558577537537, 0.6541679501533508, 0.2494862675666809, -0.24130459129810333, -0.6197333931922913, -0.7973335981369019, 0.10239177942276001, -0.3712795376777649, 0.25605878233909607, -0.06972721219062805, 0.35253259539604187, -0.19185076653957367, 1.1515333652496338, -0.781977117061615, -0.4946337342262268, -0.30031275749206543, -0.13858996331691742, -0.2636517286300659, 0.12610147893428802, 0.6195125579833984, -0.6681893467903137, -0.5268869400024414, 0.14845961332321167, -0.8537436723709106, -0.2127373367547989, 0.05429532006382942, -0.36327096819877625, 0.16806255280971527, 0.207195445895195, -0.6643406748771667, 0.5081859230995178, 0.14449933171272278, -0.41574621200561523, 0.8306076526641846, -0.08938560634851456, -0.1488174945116043, -0.8588320016860962, 0.10629519820213318, -0.1295808106660843, -0.1455804705619812, -0.38984784483909607, 0.4057907164096832, -0.2721182703971863, 0.23307238519191742, -0.5503088235855103, 0.525029182434082, -0.11019425839185715, 0.012670022435486317, 0.06866177171468735, 0.030675871297717094, 0.22820177674293518, 0.14661768078804016, 0.14627356827259064, 0.3757413923740387, 0.8593107461929321, -0.7358291149139404, 0.8274275064468384, 0.3569243252277374, -0.07132092118263245, 0.8607752323150635, -0.5989124774932861, -0.39277616143226624, -0.12165863811969757, 0.2576198875904083, -0.8004475831985474, -0.16949431598186493, 0.11073672771453857, -0.07811711728572845, -0.06971864402294159, -0.06958268582820892, -0.672185480594635, -0.2659705579280853, 0.06895583868026733, 0.26541292667388916, 0.0775376632809639, -0.1878892481327057, 0.8146080374717712, 0.25898516178131104, 0.1407231241464615, -0.3808976411819458, -0.777108907699585, -0.10802329331636429, -0.18032312393188477, -0.7703585028648376, 0.13317447900772095, -0.0538865327835083, -0.7225131392478943, 0.2858724892139435, -0.20946502685546875, -0.2766009271144867, 0.23784995079040527, 0.18713276088237762, 0.38920143246650696, -0.2670154571533203, 0.38343098759651184, 0.00020112954371143132, -0.1878402829170227, 0.16193807125091553, -0.5901485681533813, 0.35092613101005554, -0.14739277958869934, -0.33767613768577576, -0.29877084493637085, 0.6692121028900146, 0.4668513238430023, -0.20334458351135254, 0.46332889795303345, 0.24646058678627014, -0.2716444134712219, -0.16175664961338043, -0.35126781463623047, 0.066215880215168, -0.42311570048332214, 0.007866475731134415, -0.7945216298103333, -1.1091982126235962, 0.6495831608772278, 0.5512362122535706, 0.04549037665128708, 0.6000773906707764, 0.6503626108169556, 0.04973088204860687, 0.4094527065753937, 0.7022199630737305, -0.040571536868810654, 0.14986863732337952, 0.02780650556087494, 0.13707181811332703, -0.3026959002017975, -0.3201044499874115, -0.6159576177597046, 0.004524167161434889, -0.6411789059638977, 0.09787654131650925, 0.1778973639011383, -0.014152668416500092, -0.3594444692134857, 0.6836509108543396, -0.31916823983192444, 0.3734833896160126, 0.6754381656646729, -0.23597143590450287, 0.42183685302734375, -0.06940604746341705, -0.6636514067649841, 0.09166387468576431, 0.10244278609752655, -0.17755688726902008, 0.9593396186828613, -0.2577528655529022, 0.8770312070846558, 0.5157175660133362, 0.6563978791236877, 0.3376922309398651, 0.04722163453698158, -0.9140435457229614, 0.5621734261512756, -0.6153716444969177, -0.5885884165763855, 0.2067711502313614, -0.5643025636672974, -0.7473374009132385, 0.051237739622592926, 0.05415847525000572, -1.061943769454956, -0.15974454581737518, -0.3060514032840729, -0.20270058512687683, 0.23142097890377045, -0.9596593976020813, 0.7143343091011047, -0.15680640935897827, 0.19219030439853668, -0.09489960223436356, -0.6802873611450195, 0.34685102105140686, 0.11023398488759995, -0.2926461696624756, -0.12060811370611191, 0.15587162971496582, 0.42040157318115234, -0.48012301325798035, 0.8445437550544739, 0.2179594784975052, -0.23255963623523712, 0.549307644367218, 0.5754647850990295, -0.004222123418003321, 0.2379048764705658, 0.3118759095668793, -0.289570689201355, 0.33455684781074524, -0.3369215726852417, -0.6915435194969177, 0.5840678811073303, -0.7394412159919739, -0.5469464063644409, -0.2422427237033844, -0.7117435336112976, -0.3496125042438507, 0.5056677460670471, 0.0935811921954155, 0.8480135798454285, -0.1452023684978485, -0.1281842291355133, 0.30977821350097656, 0.17704689502716064, 0.5363930463790894, 0.6007601022720337, -0.23685340583324432, -0.3060327470302582, 0.7328665852546692, -0.06284037232398987, 0.5756153464317322, 1.1246777772903442, 0.19431710243225098, -0.48878273367881775, 0.03532090410590172, -0.29647505283355713, 0.23323532938957214, -0.8598008155822754, -0.09844046831130981, -0.8135204911231995, -0.34173154830932617, -0.6433598399162292, -0.43372324109077454, -0.02684013545513153, -0.8296859860420227, -0.2763933837413788, -0.30071839690208435, 0.54402756690979, 0.9692412614822388, -0.181627094745636, 0.14179635047912598, -0.8535968065261841, 0.452160507440567, 0.6825745105743408, 0.4869559705257416, -0.3530677258968353, -0.03623126074671745, 0.005715603474527597, -0.17575834691524506, -0.35951197147369385, -0.5600869655609131, -0.14862747490406036, 0.22327877581119537, 0.6611505746841431, 0.5393179059028625, -0.09063557535409927, 0.3547065854072571, -0.4300033152103424, 0.45106247067451477, 0.4114033877849579, -1.1506257057189941, 0.5666438937187195, -0.511902391910553, -0.014008235186338425, 0.5331264138221741, 0.26564744114875793, -0.6377816796302795, -0.6732205748558044, -0.6629194021224976, -0.40492895245552063, 0.3533386290073395, 0.0890253409743309, -0.039027921855449677, -0.26795706152915955, 0.4596402049064636, 0.10378962010145187, 0.012930790893733501, -0.937361478805542, -0.39305686950683594, -0.01184081844985485, -0.4312533438205719, 0.33772069215774536, -0.10300377756357193, -0.23695607483386993, -0.1713363081216812, 0.06027167662978172, -0.0008386048139072955, 0.18485397100448608, 0.0015432067448273301, -0.42889609932899475, 0.17091259360313416, 0.43995726108551025, 0.6638147830963135, 0.6703981161117554, -0.29056188464164734, 0.6045728325843811, -0.6220709681510925, -0.5899431705474854, 0.4143694341182709, 0.13060151040554047, -0.4203297197818756, -0.20111070573329926, 0.15748895704746246, 0.4202476739883423, 0.24870750308036804, -0.5335253477096558, 0.27457305788993835, 0.35190311074256897, -0.055928099900484085, 0.08072049170732498, -0.0234054122120142, 0.4140253961086273, -0.2375209778547287, -0.09869116544723511, -0.0826987475156784, 0.37800729274749756, -0.8283978700637817, 0.6699914932250977, 0.19152776896953583, -0.5505625605583191, -0.5967734456062317, 0.6172098517417908, 0.2961186170578003, 0.3171703517436981, 0.4241846203804016, -0.22921714186668396, -0.4257069230079651, 0.46803197264671326, 0.6872240304946899, 1.0500202178955078, 0.009104156866669655, 0.751911461353302, -0.02982383966445923, -0.05855207517743111, 0.0489593967795372, 0.37772613763809204, 0.027117975056171417, -0.8540703058242798, -0.6058301329612732, -0.7575280070304871, -0.3817474842071533, -0.37330135703086853, -0.5448930859565735, 0.29839080572128296, -0.49544793367385864, 0.4205334186553955, 0.2227390557527542, -0.4261598587036133, -0.5760098695755005, 0.20153307914733887, 0.06053262576460838, 0.35417863726615906, -0.7040244340896606, 0.693328857421875, 0.9355785250663757, -1.0659019947052002, -0.980021059513092, -0.2970154583454132, 0.11888505518436432, -0.8922427296638489, 1.3010262250900269, 0.14598152041435242, -0.20530429482460022, 0.06234334781765938, -0.07032406330108643, -0.7961326241493225, 0.5899885892868042, 0.5633890628814697, -0.12730075418949127, -0.21856315433979034, 0.7767282128334045, 0.5225911736488342, -0.6496006846427917, 0.23961849510669708, 0.7054257392883301, 0.5581568479537964, 0.062225304543972015, -0.8101933002471924, 0.30364277958869934, 0.20675675570964813, 0.054982732981443405, 0.5013834834098816, -0.36198690533638, 0.6332862377166748, -0.21727459132671356, -0.45166003704071045, -0.0003097749431617558, 0.4865233600139618, -0.11383650451898575, -0.4270809292793274, 0.24919791519641876, 1.1494327783584595, 0.21930643916130066, -0.12835587561130524, 0.7285852432250977, -0.061250872910022736, 0.34761515259742737, 1.0491310358047485, -0.2610678970813751, 0.5202500224113464, 0.13817204535007477, -0.44191601872444153, 0.9186350107192993, 0.11627822369337082, 0.19629542529582977, 0.42124053835868835, 0.5401416420936584, -0.7733760476112366, -0.20954079926013947, -0.26576465368270874, -0.19669954478740692, 0.6365169882774353, 0.31045329570770264, -0.032265886664390564, -0.8094703555107117, 0.03931349888443947, -0.012682614848017693, 0.1421738564968109, -0.062249526381492615, 0.7431634068489075, 0.25743117928504944, -0.38028010725975037, 0.1563226580619812, -0.47605931758880615, 0.29478245973587036, -0.5024279952049255, 0.1339794397354126, -0.14045089483261108, 0.04933224990963936, -0.241375133395195, -1.0227110385894775, 0.46435391902923584, -0.2628246247768402, -0.13287325203418732, -0.06524593383073807, 0.34537720680236816, -0.28917041420936584, -0.5256456136703491, 0.5364131927490234, 0.5759519934654236, -0.1563798040151596, 0.0767807587981224, -0.30208706855773926, -0.39463165402412415, -0.15696090459823608, 0.27812790870666504, 0.23330147564411163, 0.7217231392860413, 0.08569557964801788, 0.6396275758743286, 0.13544747233390808, 0.14054663479328156, 0.2445373833179474, 0.5419696569442749, 0.5830727815628052, -0.7868334650993347, -0.5216614007949829, -0.6227976083755493, 0.6522244215011597, 0.4853207767009735, -0.3347896635532379, 0.2127184271812439, 0.43552717566490173, 0.6863389015197754, 0.012546034529805183, 0.8574534058570862, -0.5685353875160217, 0.14376163482666016, -0.38629451394081116, 0.2629368007183075, -0.3160421550273895, -0.15521836280822754, -0.23949015140533447, -1.101859211921692, -0.823201596736908, 0.1790173202753067, -0.14255200326442719, -0.40372586250305176, 1.1765055656433105, 0.122212253510952, -0.03183476999402046, 0.06914345175027847, 0.34523865580558777, 0.05355001613497734, 0.590712308883667, 0.6018251776695251, 0.7776467800140381, 0.09221738576889038, 0.6402842998504639, -0.12559892237186432, -0.17947545647621155, 0.10211364924907684, -0.6121782064437866, -0.5124484300613403, -0.8980064392089844, -0.4011800289154053, -0.32867002487182617, -0.26184898614883423, 0.5201981067657471, 0.3487979471683502, -0.8679726123809814, -0.3814338743686676, -0.6559938192367554, 0.2360534816980362, 0.18471898138523102, -0.39085087180137634, 0.3542782664299011, -0.7880300283432007, -0.3733575940132141, 0.039461009204387665, 0.9125264286994934, 0.2254934161901474, -0.21337468922138214, 0.28839945793151855, -0.16290158033370972, -0.06386909633874893, 0.932296872138977, 0.4227087199687958, -0.7546447515487671, -0.9313511252403259, -0.17713898420333862, -0.3425807058811188, 0.15748724341392517, 1.0763771533966064, -0.6278154850006104, 0.3782523572444916, 0.7045719027519226, 0.6052348017692566, 0.0181284099817276, -0.45179483294487, 0.6801390051841736, -0.4115687608718872, 0.31009894609451294, 0.14287671446800232, 0.7044993042945862, 0.03689193353056908, -0.1853095442056656, 0.5413235425949097, 0.7250986099243164, -0.33972233533859253, -0.18245084583759308, 0.9507123231887817, -1.640803337097168, 0.026370162144303322, 1.1647049188613892, -0.37450239062309265, 0.15273213386535645, -0.33305391669273376, 0.10991527885198593, -0.027075836434960365, -0.22434906661510468, 0.5713699460029602, 0.6031537652015686, -0.15359295904636383, 0.12577776610851288, -0.053989753127098083, 0.2433897852897644, 0.14207521080970764, -1.1252721548080444, -0.1206875666975975, 0.7016819715499878, 0.5223211646080017, 0.23306170105934143, 0.6427172422409058, -0.2516443133354187, 0.10206304490566254, -0.18884935975074768, 0.20640210807323456, 0.46640685200691223, -0.33326882123947144, 0.4488615095615387, 0.024868881329894066, -0.21701420843601227, -0.07354816049337387 ]
http://arxiv.org/abs/2403.01185v1
http://arxiv.org/pdf/2403.01185v1
Balancing Exploration and Exploitation in LLM using Soft RLLF for Enhanced Negation Understanding
2024-03-02T11:54:55
2024-03-02T11:54:55
Ha-Thanh Nguyen, Ken Satoh
cs.CL
cs.CL, cs.AI
Finetuning approaches in NLP often focus on exploitation rather than exploration, which may lead to suboptimal models. Given the vast search space of natural language, this limited exploration can restrict their performance in complex, high-stakes domains, where accurate negation understanding and logical reasoning abilities are crucial. To address this issue, we leverage Reinforcement Learning from Logical Feedback (RLLF) to create an effective balance between exploration and exploitation in LLMs. Our approach employs an appropriate benchmark dataset for training and evaluation, highlighting the importance of exploration in enhancing negation understanding capabilities. We compare the performance of our RLLF-enhanced LLMs with baseline models trained without RLLF, demonstrating the value of this balanced approach. Furthermore, we showcase the potential of our method in legal AI applications by employing transfer learning and evaluating its impact on negation understanding. Our experimental results exhibit the effectiveness of balancing exploration and exploitation with RLLF in improving LLMs' negation capabilities. This has implications for the development of more accurate, reliable, and logically consistent language models in high-stakes domains.
[ -0.24760685861110687, -0.9434923529624939, 0.3978224992752075, 0.27057087421417236, -0.18221428990364075, -0.010252585634589195, -0.35632675886154175, -0.4919089376926422, 0.12279430031776428, 0.846377432346344, -0.7697039842605591, -0.5284207463264465, -0.7140105962753296, 0.11579461395740509, -0.2038939744234085, 1.2731519937515259, 0.13880254328250885, -0.002404743805527687, -0.4348796606063843, -0.5400973558425903, -1.0359385013580322, -0.4090847373008728, -0.7159230709075928, -0.8576246500015259, 0.45346716046333313, 0.38129115104675293, 0.7773932218551636, 0.3788316547870636, 0.3983357846736908, 0.3167016804218292, -0.13080601394176483, 0.2636120021343231, -0.7473819851875305, 0.17845748364925385, -0.6367530822753906, -0.5063841938972473, -0.3286227881908417, 0.011432361789047718, 0.47076666355133057, 0.6737561821937561, -0.596662163734436, -0.06812281906604767, -0.05711253732442856, 0.7756088972091675, -0.607126772403717, 0.06296109408140182, -0.6121534705162048, 0.4068651497364044, 0.20193195343017578, -0.2957276403903961, -0.3838242292404175, -0.20676541328430176, 0.4961007833480835, -0.7924687266349792, -0.169329434633255, 0.007162468042224646, 0.7554930448532104, 0.45764487981796265, -0.48111194372177124, -0.19571344554424286, -0.5964016318321228, 0.762152373790741, -0.7119462490081787, 0.3068993389606476, 0.157334566116333, 0.22014202177524567, -0.3063414394855499, -0.6388393044471741, -0.4253630042076111, -0.5335574150085449, -0.1648855060338974, 0.19396184384822845, -0.16979867219924927, 0.24912936985492706, 0.3717719316482544, -0.047162603586912155, -0.2631448209285736, 0.4181886315345764, -0.41310638189315796, -0.31499457359313965, 0.7840489149093628, 0.15894879400730133, 0.1754995435476303, 0.05369313806295395, -0.5944235920906067, -0.06723188608884811, -0.7113006114959717, 0.18435849249362946, 0.4293294847011566, 0.3364203870296478, 0.050794146955013275, 0.6650170087814331, -0.10905255377292633, 0.7660134434700012, 0.05264656990766525, -0.1100815087556839, 0.34664925932884216, -0.20006859302520752, -0.3058326542377472, 0.09817968308925629, 0.5046610236167908, 0.44945353269577026, 0.3271048665046692, -0.19413356482982635, -0.6734694838523865, -0.05917884409427643, 0.509712815284729, -0.6188564300537109, 0.13030685484409332, 0.02213890478014946, -0.39777329564094543, -0.4467601180076599, -0.03681502118706703, -0.7815598845481873, -0.7435846328735352, -0.4706399440765381, 0.547563910484314, -0.4696844518184662, -0.3803432285785675, 0.39679211378097534, -0.15753667056560516, 0.5191183686256409, 0.4522497355937958, -0.7895358204841614, 0.5902956128120422, 0.9049620628356934, 0.4120517373085022, -0.27236056327819824, -0.2374277114868164, -1.0899866819381714, -0.13925974071025848, -0.26993057131767273, 0.4952245354652405, -0.42002546787261963, -0.28927186131477356, 0.1225910484790802, -0.2737310528755188, -0.08129659295082092, -0.8538979291915894, 0.7818363904953003, -0.5530096888542175, 0.1407831460237503, 0.2370438277721405, -0.4533637762069702, -0.6222381591796875, 0.5115634799003601, -0.6521309018135071, 0.9097738265991211, 0.09330878406763077, -0.4096359610557556, 0.5357276797294617, -0.6005698442459106, -0.6873088479042053, 0.08262782543897629, -0.3015557825565338, -0.4140605628490448, 0.11382085084915161, 0.26250219345092773, 0.197704017162323, -0.12370046973228455, 0.5079318881034851, -0.2190316915512085, -0.34434202313423157, 0.3689912259578705, -0.34978005290031433, 0.6249120831489563, -0.015816526487469673, -0.6383838653564453, 0.49889883399009705, -0.5073510408401489, -0.03137707710266113, 0.11106663942337036, -0.40841391682624817, -0.22796094417572021, 0.19550858438014984, -0.052342887967824936, 0.2662564814090729, 0.03685227036476135, -0.299330472946167, -0.09919141978025436, -0.7136580348014832, 0.2688477337360382, 0.815257728099823, 0.01557321846485138, 0.44792458415031433, -0.34413525462150574, 0.8835161924362183, -0.1575191766023636, -0.07786078006029129, 0.26098617911338806, -0.2582642436027527, -0.8380776643753052, -0.013730335049331188, 0.369462251663208, 0.7882941961288452, -0.6088317036628723, 0.34871238470077515, -0.18234625458717346, -0.0012231660075485706, -0.636724054813385, 0.4527148902416229, 0.39754518866539, 0.8190602660179138, 0.5993814468383789, -0.3032868802547455, -0.5433091521263123, -0.8787088394165039, -0.4540601968765259, -0.0023390487767755985, 0.2860015034675598, 0.6366394758224487, 0.35452982783317566, -0.40148940682411194, 0.9671165943145752, -0.13617900013923645, -0.5732883810997009, -0.6744535565376282, 0.2689049541950226, 0.4867226779460907, 0.48851627111434937, 0.36650869250297546, -0.8782050013542175, -0.14492382109165192, -0.04032266139984131, -0.6792559027671814, -0.2863399088382721, -0.5028600692749023, -0.1657656878232956, 0.1636722981929779, 0.6524955630302429, -0.5547559857368469, 0.38823920488357544, 0.18859398365020752, -0.4622471332550049, 0.3343029022216797, -0.21947228908538818, -0.1786564290523529, -0.24234192073345184, -0.027454758062958717, 0.0807216688990593, -0.6212670207023621, -0.5071063041687012, 0.26942574977874756, 0.0025292541831731796, 0.13413527607917786, -0.7428554892539978, 0.4219551682472229, -0.2677856683731079, -0.12407491356134415, -0.40881848335266113, 0.6407995223999023, -0.05179973691701889, 0.5488293170928955, 0.032573554664850235, 0.539756178855896, 0.373023122549057, -0.6534734964370728, 0.3235006630420685, -0.010100006125867367, -0.09180033951997757, 0.5303571820259094, -0.7039135694503784, 0.0073466310277581215, -0.19281046092510223, 0.1700981855392456, -0.4549730718135834, 0.2604716420173645, 0.2604067921638489, -0.3506785035133362, 0.466543585062027, -0.313874214887619, -0.2814735770225525, -0.05783430114388466, -0.3653051555156708, 0.14956548810005188, 0.572597324848175, -0.5556800365447998, 0.8616548776626587, 0.3764421045780182, -0.02163304202258587, -0.9666322469711304, -0.6532336473464966, 0.059939268976449966, -0.5072126984596252, -0.6083795428276062, 0.31161898374557495, 0.27066564559936523, -0.3903961479663849, 0.2356756031513214, -0.21768076717853546, 0.2567427158355713, 0.4309424161911011, 0.19035714864730835, 0.3651309907436371, -0.17072921991348267, -0.06515147536993027, -0.18515869975090027, -0.23295986652374268, 0.4203658699989319, -0.4053140878677368, 0.4428180158138275, -0.2760842442512512, -0.24095556139945984, -0.23123973608016968, 0.010716987773776054, 0.1467462033033371, -0.3237057030200958, 0.5828464031219482, 0.52434241771698, -0.3339359164237976, -0.5543296337127686, -0.4609138071537018, -0.23987625539302826, -0.44727927446365356, 0.40870290994644165, -0.13548725843429565, -1.1251431703567505, 0.3430755138397217, -0.22772526741027832, 0.08737531304359436, 0.6421079635620117, 0.323788046836853, 0.00031707933521829545, 0.8347197771072388, 0.8549322485923767, -0.11363834887742996, 0.3298355042934418, -0.22297583520412445, 0.06880764663219452, -0.7002398371696472, -0.363459050655365, -0.19709797203540802, -0.4505573511123657, -0.5993568897247314, -0.2597532868385315, 0.10068484395742416, 0.16484171152114868, -0.0568147711455822, 0.10711166262626648, -0.21160005033016205, 0.5458000898361206, 0.4895617961883545, 0.2031014859676361, 0.2550621032714844, 0.006904556881636381, -0.34485137462615967, -0.15869951248168945, -0.8184503316879272, -0.2605878412723541, 1.10207998752594, 0.44084489345550537, 0.9136643409729004, 0.20032550394535065, 0.7131267786026001, 0.337502121925354, 0.30013594031333923, -0.9617228507995605, 0.5866332650184631, 0.05166523903608322, -0.2417493313550949, -0.3861236870288849, -0.5313229560852051, -0.8607550263404846, 0.5313192009925842, -0.6281131505966187, -0.4730733633041382, 0.11786621063947678, 0.14151506125926971, -0.5341506600379944, 0.09646511822938919, -0.617084801197052, 0.8567565083503723, -0.46747905015945435, -0.831079363822937, -0.6667576432228088, -0.5894800424575806, 0.49112430214881897, 0.3145357072353363, 0.3017505407333374, 0.0412626639008522, -0.1884516030550003, 0.7377601265907288, -0.2948233187198639, 0.8569865822792053, -0.3310285806655884, -0.14499060809612274, 0.3252231478691101, 0.15603981912136078, 0.5757986903190613, 0.3718547523021698, -0.007409039419144392, -0.20327261090278625, -0.5152367353439331, -0.19425587356090546, -0.7399519085884094, 0.6589353084564209, -0.6641451716423035, -0.8804716467857361, -0.7282055020332336, -0.4350045621395111, -0.11339040100574493, 0.25453516840934753, -0.2842249274253845, 0.04697928950190544, -0.05738374590873718, 0.2206604778766632, 0.929897129535675, -0.32466503977775574, 0.19774997234344482, 0.5591461062431335, -0.30142930150032043, -0.4489588141441345, 0.8057289123535156, -0.09922129660844803, 0.19778257608413696, 0.307380735874176, 0.3034231960773468, -0.5001344680786133, -0.7466755509376526, -0.25168585777282715, 0.16686567664146423, -0.7501903176307678, -0.32717713713645935, -0.5960263609886169, -0.24148274958133698, -0.2908211052417755, -0.06933881342411041, -0.1009717807173729, -0.32796600461006165, -0.2037358582019806, -0.38625386357307434, 0.41645243763923645, 0.6514753103256226, -0.29222577810287476, 0.09216108918190002, -0.5394649505615234, 0.4019586741924286, 0.3683982193470001, 0.28885185718536377, -0.16812483966350555, -0.6496192812919617, -0.08089045435190201, -0.1017385795712471, -0.23493757843971252, -0.807266354560852, 0.41835999488830566, 0.1525842249393463, 0.8387117981910706, 0.08853448927402496, -0.007375148590654135, 0.5941995978355408, -0.2207152545452118, 0.38359251618385315, 0.08821167796850204, -0.9131293892860413, 0.571473240852356, -0.19355903565883636, 0.05314906686544418, 0.7856022119522095, 0.029368184506893158, -0.5584682822227478, -0.1398680955171585, -0.7372074127197266, -1.1253252029418945, 0.8941999673843384, -0.028006521984934807, 0.05043568089604378, 0.4173343777656555, 0.391584187746048, 0.11400143802165985, 0.2725151777267456, -1.2219284772872925, -0.027351200580596924, -0.0009002505103126168, 0.019904853776097298, 0.0810745432972908, -0.07363767176866531, -0.4324618875980377, -0.1824202537536621, 0.8275811076164246, -0.2034856230020523, -0.06288126856088638, 0.28148093819618225, -0.6037142872810364, 0.04532209038734436, 0.24897080659866333, 0.5259563326835632, 0.6196098327636719, -0.11013705283403397, 0.153671532869339, 0.5300493836402893, -0.2998979687690735, -0.08331990242004395, 0.16482405364513397, -0.14567767083644867, -0.3443979322910309, 0.6129540205001831, 0.8305925130844116, 0.1351105123758316, -1.077639102935791, 0.5679296255111694, 0.036373402923345566, -0.5807124972343445, -0.24785307049751282, 0.4306963086128235, 0.06823418289422989, 0.4557647407054901, 0.08548296242952347, 0.07290871441364288, 0.1467936784029007, -0.4092269539833069, 0.3621980547904968, 0.4449980556964874, -0.5413548350334167, 0.29209601879119873, 0.33277708292007446, 0.15418775379657745, -0.31519025564193726, 0.8932476043701172, -0.3137299120426178, -0.7125821709632874, 0.8679636120796204, 0.5732216835021973, 0.8185125589370728, 0.4486480951309204, 0.15054984390735626, 0.12367668002843857, 0.6209266781806946, 0.18531154096126556, 0.32903552055358887, -0.08301234990358353, -0.7232798933982849, -0.6975154876708984, -0.24762709438800812, -0.4488217234611511, 0.22292618453502655, -0.48918893933296204, 0.3557109236717224, -0.745647132396698, 0.0995432659983635, -0.42736852169036865, 0.1302335113286972, -0.6121336221694946, 0.13977091014385223, 0.10305535048246384, 0.8962273001670837, -0.5842316746711731, 0.5977124571800232, 0.6091501712799072, -0.46087661385536194, -0.6369208097457886, -0.08057348430156708, -0.030548453330993652, -0.8388071060180664, 0.7907634377479553, 0.3680821359157562, -0.321291446685791, -0.21786093711853027, -0.6298876404762268, -0.6369117498397827, 1.191189169883728, 0.32865092158317566, -0.4309893548488617, 0.45153695344924927, 0.044659506529569626, 0.5887930989265442, -0.387676477432251, 0.178569495677948, 0.697670578956604, 0.504814624786377, -0.09146390855312347, -0.47565391659736633, 0.10522858798503876, -0.2386888712644577, -0.20276346802711487, 0.04956544190645218, -0.3871460258960724, 0.46086809039115906, -0.31331127882003784, -0.1458437740802765, -0.3844274878501892, 0.919413149356842, 0.39447346329689026, 0.3276287019252777, 0.8691222667694092, 0.7439271211624146, 0.6281085014343262, 0.07164762169122696, 0.7337774038314819, 0.05016179755330086, 0.17690205574035645, 1.38286554813385, -0.3520738184452057, 0.7027080059051514, 0.602828323841095, 0.0387381836771965, 0.41808459162712097, 0.5177009701728821, 0.08030975610017776, 0.4569809138774872, 0.7242866158485413, -0.16004279255867004, -0.19811829924583435, -0.3134804368019104, -0.12138712406158447, 0.20286233723163605, 0.5869871377944946, -0.04713653773069382, -0.33097654581069946, -0.02571789175271988, 0.0318499393761158, 0.520548403263092, -0.34456369280815125, 0.9860053658485413, 0.0036997455172240734, -0.8345102667808533, 0.43895861506462097, 0.2717714011669159, 0.975595235824585, -0.5078418850898743, -0.3260309398174286, -0.37549278140068054, 0.14148035645484924, -0.409846693277359, -0.8573411703109741, 0.28286752104759216, 0.05490424111485481, 0.2578107416629791, -0.5788593888282776, 0.9531264901161194, -0.3297300338745117, -0.20159798860549927, 0.7700117826461792, 0.41042599081993103, -0.20758818089962006, 0.3466067910194397, -0.8823872804641724, -0.2998236417770386, 0.036634135991334915, -0.10746875405311584, 0.18287083506584167, 0.5340920090675354, -0.02921062335371971, 0.7021599411964417, 0.6495913863182068, 0.11647329479455948, 0.1559927761554718, 0.24400001764297485, 0.9025732278823853, -0.7378383874893188, -0.43358665704727173, -0.9654967188835144, 0.3992885649204254, -0.10131014883518219, -0.34816834330558777, 0.3871866762638092, 0.3750019371509552, 0.8854027986526489, 0.17284350097179413, 0.6303406953811646, 0.04611564055085182, 0.18076196312904358, -0.8813872337341309, 0.41325825452804565, -0.4951149821281433, 0.4067588448524475, -0.032861821353435516, -0.7461407780647278, -0.29493728280067444, 0.8205080628395081, -0.3017216920852661, -0.057248011231422424, 0.49303433299064636, 0.7905436754226685, -0.17580750584602356, -0.08176187425851822, 0.15118837356567383, 0.2893657684326172, 0.3369700610637665, 0.643710196018219, 0.9587429165840149, -0.04785916581749916, 0.4673425853252411, -0.25297993421554565, -0.26170116662979126, -0.3527456223964691, -1.1592260599136353, -0.772127091884613, 0.1759236454963684, -0.217494398355484, -0.47321152687072754, 0.1710377335548401, 1.1359187364578247, 0.5528464913368225, -0.6123470664024353, -0.4840277433395386, -0.4256998300552368, 0.4490101933479309, -0.39344748854637146, -0.2669580578804016, 0.048483557999134064, -0.7238958477973938, -0.41231080889701843, 0.7023782134056091, 0.274630069732666, -0.15967467427253723, -0.35678794980049133, -0.4161159098148346, -0.6152209043502808, -0.00868732389062643, 0.4677242636680603, 0.4129995107650757, -0.3833194077014923, -0.09111437201499939, -0.06160903722047806, 0.009819290600717068, -0.05614852160215378, 0.8096153140068054, -1.1090517044067383, 0.2140112668275833, 0.5556597709655762, 1.2472310066223145, 0.6281003952026367, -0.2650907039642334, 0.8426346182823181, -0.5013411641120911, 0.21851062774658203, 0.43261900544166565, 0.3098011612892151, 0.14645177125930786, -0.4641709327697754, 0.7350373864173889, 0.22186492383480072, -0.2417098879814148, -0.5605248212814331, 0.14135514199733734, -0.7331967353820801, -0.21488645672798157, 1.0513056516647339, -0.049640435725450516, -0.08593824505805969, 0.10788266360759735, -0.18505331873893738, 0.08057040721178055, -0.4391603469848633, 0.4846096634864807, 0.7177994251251221, -0.3154951333999634, -0.09038321673870087, -0.8741797804832458, 0.44067540764808655, 1.1301485300064087, -0.7774983048439026, -0.1363794505596161, 0.4450557827949524, 0.056600332260131836, -0.03705328702926636, 0.48775532841682434, -0.04411879554390907, 0.2824491858482361, -0.4755368232727051, -0.21988119184970856, -0.04033585637807846, -0.3652658760547638, -0.8059206008911133, 0.07284201681613922, 0.06748565286397934, 0.08446019142866135 ]
http://arxiv.org/abs/2403.01166v2
http://arxiv.org/pdf/2403.01166v2
DINER: Debiasing Aspect-based Sentiment Analysis with Multi-variable Causal Inference
2024-03-02T10:38:31
2024-06-06T07:27:33
Jialong Wu, Linhai Zhang, Deyu Zhou, Guoqiang Xu
cs.CL
cs.CL, cs.AI
Though notable progress has been made, neural-based aspect-based sentiment analysis (ABSA) models are prone to learn spurious correlations from annotation biases, resulting in poor robustness on adversarial data transformations. Among the debiasing solutions, causal inference-based methods have attracted much research attention, which can be mainly categorized into causal intervention methods and counterfactual reasoning methods. However, most of the present debiasing methods focus on single-variable causal inference, which is not suitable for ABSA with two input variables (the target aspect and the review). In this paper, we propose a novel framework based on multi-variable causal inference for debiasing ABSA. In this framework, different types of biases are tackled based on different causal intervention methods. For the review branch, the bias is modeled as indirect confounding from context, where backdoor adjustment intervention is employed for debiasing. For the aspect branch, the bias is described as a direct correlation with labels, where counterfactual reasoning is adopted for debiasing. Extensive experiments demonstrate the effectiveness of the proposed method compared to various baselines on the two widely used real-world aspect robustness test set datasets.
[ -0.4858507812023163, -1.3282591104507446, 0.8120768070220947, 0.4519040584564209, -0.33384808897972107, -0.4857269525527954, 0.19486567378044128, -0.09276200830936432, 0.39912542700767517, 0.5247406363487244, -0.7141437530517578, -0.6033011078834534, -0.31589075922966003, 0.09811840951442719, -0.033682651817798615, 0.7666525840759277, 0.2106928527355194, 0.5006090402603149, -0.2330273687839508, -0.35322362184524536, -0.6927191615104675, -0.5020820498466492, -0.5787134170532227, -0.2735603153705597, 0.7008140683174133, 0.3618660867214203, 0.5122291445732117, -0.04409278184175491, 0.3805181086063385, 0.19505000114440918, 0.004217730835080147, 0.13508741557598114, -0.07856369018554688, 0.31108880043029785, -0.4406535029411316, -0.33475935459136963, -0.4050518870353699, 0.17044739425182343, 0.1113051101565361, 0.6257058382034302, 0.3108260929584503, -0.09279326349496841, 0.105907142162323, 0.7813494801521301, -0.7754795551300049, 0.4343680739402771, -0.3892362713813782, -0.0645231083035469, 0.31102216243743896, 0.25854820013046265, -0.32956284284591675, -0.42463165521621704, -0.1557605266571045, -0.46956121921539307, -0.024534665048122406, -0.126676544547081, 0.6442726850509644, 0.3546815812587738, -0.4503740668296814, 0.02702285908162594, -0.8415381908416748, 0.8997288942337036, -0.9364596605300903, 0.17752589285373688, 0.5434004068374634, 0.029241893440485, 0.10013996064662933, -0.19125838577747345, -0.7969573140144348, 0.012261061929166317, 0.0036687019746750593, 0.27825796604156494, -0.03722270950675011, -0.06991657614707947, -0.06738920509815216, 0.15388765931129456, 0.023452676832675934, 0.09098263829946518, 0.1935364007949829, 0.32169052958488464, 0.4322638213634491, -0.02018054760992527, 0.007179123815149069, -0.6494471430778503, -0.6138941049575806, -0.15528322756290436, -0.889048159122467, 0.0982784628868103, 0.3929702937602997, 0.5633351802825928, -0.17794202268123627, 0.4010450839996338, -0.2598002552986145, 0.4478524327278137, 0.17201456427574158, 0.22597113251686096, 0.3723203241825104, -0.45068004727363586, -0.3078114688396454, -0.11667169630527496, 0.8956320285797119, 0.7871944904327393, -0.24892400205135345, 0.05145794898271561, 0.045640729367733, 0.18796341121196747, 0.41523125767707825, -0.47422468662261963, -0.02072473242878914, 0.6179687976837158, -0.43415477871894836, -0.5563582181930542, 0.2313176542520523, -1.1661722660064697, -0.7235344052314758, -0.2677862346172333, 0.3958666920661926, -0.33666476607322693, -0.31466156244277954, -0.2612440586090088, -0.09303926676511765, 0.263830304145813, 0.23395605385303497, -0.4896056056022644, -0.23751476407051086, 0.8379952907562256, 0.7388393878936768, 0.1799365133047104, -0.2877120077610016, -0.3445512652397156, -0.01421510148793459, -0.4840320944786072, 0.8881112933158875, -0.5842232704162598, -0.2467721700668335, 0.02618045173585415, -0.024521375074982643, 0.016718288883566856, 0.04347316548228264, 0.6066362261772156, -0.3833684027194977, 0.01981603354215622, -0.7906572818756104, -0.059329692274332047, -0.6492578983306885, 0.6789796352386475, -0.8313213586807251, 0.5881378054618835, 0.09949548542499542, -1.0308113098144531, 0.6867719292640686, -0.2842476963996887, -0.49570372700691223, -0.6566267013549805, -0.20831115543842316, -0.8220380544662476, 0.3217555284500122, 0.7729184031486511, 0.3228873014450073, -0.5538747310638428, 0.715408205986023, -1.0285190343856812, -0.03233112394809723, 0.36441776156425476, -0.6712347865104675, 0.5706928372383118, -0.02263561263680458, -0.5132081508636475, 0.4220602810382843, -0.5144795179367065, -0.3174300491809845, -0.2700694501399994, 0.1945262849330902, -0.8598646521568298, 0.19215568900108337, -0.16018325090408325, 0.4350002408027649, -0.12896724045276642, -0.6723912358283997, 0.060842182487249374, -0.3329804837703705, 0.06569548696279526, 0.6680139303207397, 0.5663931369781494, 0.2836347222328186, -0.197357177734375, 0.30845603346824646, 0.6372092962265015, 0.4878731966018677, 0.06019630283117294, -0.22696155309677124, -0.6681457757949829, -0.4412364661693573, 0.05886523798108101, 0.3134302496910095, -1.0465587377548218, 0.6471167206764221, -0.0010070009157061577, -0.3293287754058838, -0.38827094435691833, -0.25646960735321045, 0.6217135190963745, 0.6506931781768799, 0.5304659605026245, -0.40366342663764954, -0.3580608069896698, -1.0563292503356934, -0.274177223443985, -0.3734327256679535, 0.29951807856559753, 0.1758028268814087, 0.16934612393379211, -0.11044874787330627, 0.8338921666145325, -0.5598438382148743, -0.5195245146751404, -0.3047780394554138, 0.3734786808490753, 0.3246240019798279, 0.5780892372131348, 0.7303563356399536, -0.7308105230331421, -0.08377373963594437, -0.4884614944458008, -0.9114252924919128, 0.001424413756467402, -0.4019639492034912, -0.22267617285251617, -0.01896188221871853, 0.275703489780426, -0.36901840567588806, 0.5521522164344788, 0.13188184797763824, -0.4916395843029022, 0.5452057719230652, 0.17400804162025452, 0.3753872811794281, -1.0803974866867065, -0.14400029182434082, 0.433775931596756, 0.19253212213516235, -0.30038225650787354, -0.06866870075464249, -0.20752011239528656, 0.15173852443695068, -0.2586415112018585, 0.2975129187107086, -0.12463388592004776, 0.17075224220752716, -0.38103020191192627, -0.21949715912342072, 0.3733717203140259, 0.860594630241394, -0.028812523931264877, 0.22465229034423828, 0.6048070788383484, -0.19752661883831024, 0.19918912649154663, 0.17602849006652832, -0.03745937719941139, 1.0976605415344238, -0.4820307195186615, -0.09733272343873978, -0.38507306575775146, 0.3150530457496643, -1.1418795585632324, 0.1628597229719162, 0.6679115295410156, -0.13358630239963531, 0.14293600618839264, -0.13386954367160797, -0.0930926725268364, -0.1573815941810608, -0.8586348295211792, 0.18880867958068848, -0.2974385917186737, -0.562371015548706, 0.7118455171585083, 0.26181235909461975, -0.16733470559120178, -0.7500977516174316, -0.6426702737808228, -0.03642432764172554, -0.37164396047592163, -0.15560367703437805, 0.03214365616440773, 0.23052796721458435, -0.48602575063705444, 0.1714739203453064, -0.3432497978210449, -0.17387056350708008, 0.02778528444468975, 0.5286827087402344, 0.12086863815784454, -0.11234518885612488, -0.08278138190507889, 0.437763512134552, -0.20001888275146484, 0.3085647225379944, -0.08788260817527771, 0.32596898078918457, -0.16282066702842712, -0.4417487680912018, -0.5211679339408875, 0.5951317548751831, 0.6328999996185303, -0.028441259637475014, 0.7350033521652222, 0.40195170044898987, -0.0747743621468544, -0.005794737953692675, -0.47314363718032837, -0.29842597246170044, -0.31328272819519043, 0.5000511407852173, -0.3581145107746124, -0.12469854205846786, 0.5657966732978821, 0.24794237315654755, -0.13699543476104736, 0.4555799961090088, 0.31887805461883545, 0.10177445411682129, 0.6892436146736145, 0.22760406136512756, -0.49302154779434204, 0.5590584874153137, -0.21432913839817047, 0.2662610113620758, -1.0283303260803223, -0.22340445220470428, -0.5721992254257202, -0.2585998475551605, -0.4174845218658447, -0.3578965961933136, 0.36027172207832336, 0.12105704098939896, -0.48668092489242554, -0.04872770980000496, -0.1102803573012352, 0.18550942838191986, 0.7801381945610046, 0.4891889989376068, 0.2547183930873871, -0.24125857651233673, -0.07486360520124435, 0.1709233820438385, -0.26972508430480957, -0.21302226185798645, 0.839777410030365, 0.24711133539676666, 1.0406242609024048, 0.18027669191360474, 0.39711707830429077, 0.32861024141311646, 0.49925661087036133, -0.7783762812614441, 0.13533490896224976, -0.11602166295051575, -0.5944548845291138, -0.2822481095790863, -0.3851155638694763, -0.33818283677101135, 0.554267168045044, -0.17379754781723022, -0.5559064745903015, 0.8292078971862793, 0.02735702320933342, -0.293356716632843, 0.3185211718082428, -0.5278053879737854, 0.8525422215461731, -0.2102123647928238, -0.8295808434486389, -0.25045859813690186, -0.6203238368034363, 0.44219958782196045, 0.05717070773243904, 0.519359827041626, -0.18517963588237762, 0.46429958939552307, 0.41732558608055115, -0.49311551451683044, 1.3559232950210571, -0.7004625797271729, -0.14745892584323883, 0.22457949817180634, 0.16403815150260925, 0.27941542863845825, 0.7411163449287415, -0.2102721929550171, 0.6011705994606018, -0.22906337678432465, -0.0886436402797699, -0.6633880138397217, 0.9991013407707214, -0.7927922606468201, -0.6601018309593201, -0.5013658404350281, -0.4649360179901123, -0.6090759634971619, 0.22735081613063812, -0.07467225193977356, 0.4975607395172119, -0.28971314430236816, 0.026483360677957535, 0.04691256210207939, -0.2639043927192688, 0.5123488903045654, 0.5203548669815063, -0.004972396418452263, -0.7749496102333069, 0.66445392370224, -0.2435040920972824, -0.17593663930892944, 0.6472802758216858, 0.4835219085216522, -0.26818081736564636, -0.27660632133483887, -0.4321688115596771, 0.08231490850448608, -0.5542182326316833, -0.4414210319519043, -0.4399421513080597, 0.34992164373397827, -0.46930140256881714, -0.1096506416797638, -0.6392977833747864, -0.3448422849178314, -0.13978613913059235, -0.18041765689849854, 0.1507023721933365, 0.5771816968917847, -0.2863311469554901, 0.41340261697769165, -0.37020143866539, 0.44794636964797974, 0.24504531919956207, 0.1877726912498474, 0.24574175477027893, -0.08985815197229385, -0.07945814728736877, 0.1476019024848938, -0.5040498971939087, -1.1027634143829346, 0.41978442668914795, -0.11686738580465317, 0.20053207874298096, 0.7133554816246033, 0.3188174068927765, 0.43889319896698, -0.04155542701482773, 0.8435948491096497, 0.3791164755821228, -0.9703317284584045, 0.4324758052825928, -0.24050889909267426, 0.00939367525279522, 0.7821496725082397, 0.2853911817073822, -0.355132132768631, -0.6095827221870422, -0.3147544860839844, -1.320335030555725, 0.6097813844680786, -0.10197921842336655, 0.02153276838362217, -0.3051190674304962, 0.3215438425540924, 0.3572790026664734, 0.34017643332481384, -0.7885556817054749, -0.3059871196746826, -0.6292098760604858, -0.204378142952919, 0.06538043916225433, -0.32182130217552185, -0.10485164821147919, -0.20793527364730835, 0.9881328344345093, -0.2765979468822479, 0.11629825085401535, 0.3795313835144043, 0.15183179080486298, -0.04520593583583832, 0.3860100209712982, 0.2692226767539978, 0.672041118144989, -0.33261048793792725, 0.2771257758140564, -0.1331726461648941, -0.16599300503730774, 0.17191673815250397, 0.13759271800518036, -0.3754000663757324, -0.1916431486606598, 0.4404771625995636, 0.7633323073387146, 0.20978742837905884, 0.031024960801005363, 0.7538890838623047, -0.27590516209602356, 0.35984787344932556, -0.32615968585014343, -0.19865302741527557, -0.12187722325325012, 0.38988998532295227, 0.1931641399860382, 0.12629111111164093, 0.17093002796173096, -0.4498772919178009, 0.18378515541553497, 0.5674713253974915, -0.9775735139846802, -0.6194112300872803, 0.7203649878501892, 0.3416251838207245, 0.3926214277744293, 0.49782419204711914, -0.12326717376708984, -0.35719597339630127, 0.6187794804573059, 0.264438271522522, 1.2537559270858765, -0.24099509418010712, 0.4548287093639374, 0.36749541759490967, 0.28710776567459106, 0.11726097762584686, 0.49335190653800964, 0.175540030002594, -0.7986667156219482, -0.4975508153438568, -0.619021475315094, -0.3111211657524109, 0.23421019315719604, -0.9943671822547913, -0.03234442323446274, -0.40067699551582336, -0.31281232833862305, 0.000023271764803212136, -0.29724177718162537, -0.4208672046661377, 0.34964099526405334, -0.1347275823354721, 0.442361056804657, -1.2896630764007568, 0.5760284662246704, 0.6215261816978455, -0.8575026988983154, -0.5686441659927368, 0.4348788559436798, 0.18729133903980255, -0.4676670730113983, 0.38184502720832825, 0.1684173047542572, -0.22228683531284332, -0.630242645740509, -0.32783231139183044, -0.4851611256599426, 0.5765548348426819, 0.035309042781591415, -0.3545614182949066, 0.128910094499588, -0.06588105112314224, 0.3396514356136322, -0.32665398716926575, 0.269827276468277, 0.474896639585495, 0.5061814188957214, -0.10256494581699371, -0.4107373058795929, 0.31834352016448975, -0.011167852208018303, -0.06694704294204712, -0.055696893483400345, -0.8586385250091553, 0.9541722536087036, -0.06252649426460266, 0.5309503078460693, -0.2573278248310089, 0.7715594172477722, 0.0029729476664215326, 0.5211695432662964, 0.5935161113739014, 0.5785794854164124, 0.29482582211494446, -0.06729542464017868, 1.0103367567062378, -0.19189700484275818, 0.5683376789093018, 1.4170639514923096, -0.4166727066040039, 0.4939447343349457, 0.7373466491699219, -0.043411001563072205, 0.824951171875, 0.5233755707740784, 0.19567374885082245, 1.0092073678970337, -0.17585182189941406, 0.023922018706798553, -0.18599137663841248, -0.12599122524261475, -0.1901693344116211, 0.5555469393730164, 0.33852776885032654, -0.44599032402038574, -0.22208154201507568, 0.057759471237659454, 0.2860918939113617, -0.12696686387062073, -0.26719793677330017, 0.8801297545433044, 0.26475465297698975, -0.7741521596908569, -0.07019619643688202, 0.15983512997627258, 0.4822898805141449, -0.37832924723625183, 0.09751120954751968, -0.5874943733215332, 0.3873385190963745, 0.034435924142599106, -0.5178729295730591, 0.45944440364837646, -0.20777124166488647, -0.3881584107875824, 0.04318637773394585, 0.4322411119937897, -0.14960364997386932, -0.676037073135376, 0.2738552987575531, 0.5927159190177917, -0.4772395193576813, -0.4577021896839142, -0.5662299394607544, -0.00909743458032608, -0.05838955193758011, -0.411844938993454, -0.008360512554645538, 0.4905335307121277, -0.12967713177204132, 0.02876364439725876, 0.3035909831523895, -0.009982225485146046, -0.6700537204742432, 0.39171919226646423, 0.9451186060905457, -0.9883930683135986, -0.9213531017303467, -1.1020525693893433, 0.20529212057590485, -0.09535066783428192, -0.3156683146953583, 0.8710706830024719, 0.33304697275161743, 0.4621908664703369, -0.1387030929327011, 0.8516583442687988, -0.18158797919750214, 0.3462086617946625, -0.5366179347038269, 0.6285748481750488, -0.4280187785625458, 0.32435476779937744, -0.7209591269493103, -0.6591910719871521, -0.3790535032749176, 0.5527355670928955, -0.6399391293525696, 0.13083310425281525, 0.8237438201904297, 0.6674603819847107, 0.05653106048703194, 0.3051391541957855, 0.024246370419859886, 0.3973456621170044, 0.5662870407104492, 0.30021172761917114, 0.8002363443374634, -0.15963536500930786, -0.1636531800031662, -0.5321175456047058, -0.32720378041267395, -0.2059984803199768, -0.9466813802719116, -0.8845790028572083, -0.5190256834030151, -0.3672732710838318, -0.5712281465530396, -0.019165214151144028, 0.690640926361084, 0.6236206889152527, -0.9955227971076965, 0.27708935737609863, -0.06013115867972374, 0.5327388048171997, -0.9212501645088196, -0.30151763558387756, 0.7307562232017517, -0.38970962166786194, -0.6408624053001404, 0.3369496464729309, 0.25347262620925903, -0.5079202651977539, -0.4955386221408844, 0.5034313201904297, -0.36057308316230774, 0.270037442445755, 0.6013221740722656, -0.10853341221809387, -0.6089696884155273, -0.5633028745651245, -0.4788694977760315, 0.1657724678516388, 0.20070038735866547, 0.8531132340431213, -0.6589004993438721, 0.5533154010772705, 0.4324168562889099, 0.32188746333122253, 0.30221429467201233, 0.4931928217411041, 0.5500530004501343, -1.0664750337600708, 0.324970543384552, -0.009617687202990055, 0.5325297117233276, 0.39375221729278564, -0.4950827360153198, 0.14991900324821472, 0.3398345708847046, -0.15589436888694763, -0.4772050678730011, 0.3812805414199829, -0.9063287973403931, -0.6828504204750061, 1.1743499040603638, -0.30869176983833313, -0.5147827863693237, -0.22938598692417145, -0.03255370631814003, 0.3449534773826599, -0.5583759546279907, 1.1201756000518799, 0.41479700803756714, -0.34981250762939453, 0.38852018117904663, -0.02624010294675827, 0.18995487689971924, 0.4016042649745941, -1.0856484174728394, 0.29257166385650635, 0.9300857782363892, 0.1962721198797226, 0.1795409619808197, 0.4315911829471588, -0.13990437984466553, 0.02043532207608223, 0.24288256466388702, 0.03384515643119812, -0.2910056412220001, -0.6712380647659302, -0.3971570134162903, 0.3899308741092682, -0.053998567163944244, -0.5080352425575256 ]
http://arxiv.org/abs/2403.01165v2
http://arxiv.org/pdf/2403.01165v2
STAR: Constraint LoRA with Dynamic Active Learning for Data-Efficient Fine-Tuning of Large Language Models
2024-03-02T10:38:10
2024-06-06T07:31:39
Linhai Zhang, Jialong Wu, Deyu Zhou, Guoqiang Xu
cs.CL
cs.CL, cs.AI
Though Large Language Models (LLMs) have demonstrated the powerful capabilities of few-shot learning through prompting methods, supervised training is still necessary for complex reasoning tasks. Because of their extensive parameters and memory consumption, both Parameter-Efficient Fine-Tuning (PEFT) methods and Memory-Efficient Fine-Tuning methods have been proposed for LLMs. Nevertheless, the issue of large annotated data consumption, the aim of Data-Efficient Fine-Tuning, remains unexplored. One obvious way is to combine the PEFT method with active learning. However, the experimental results show that such a combination is not trivial and yields inferior results. Through probe experiments, such observation might be explained by two main reasons: uncertainty gap and poor model calibration. Therefore, in this paper, we propose a novel approach to effectively integrate uncertainty-based active learning and LoRA. Specifically, for the uncertainty gap, we introduce a dynamic uncertainty measurement that combines the uncertainty of the base model and the uncertainty of the full model during the iteration of active learning. For poor model calibration, we incorporate the regularization method during LoRA training to keep the model from being over-confident, and the Monte-Carlo dropout mechanism is employed to enhance the uncertainty estimation. Experimental results show that the proposed approach outperforms existing baseline models on three complex reasoning tasks.
[ -0.221071258187294, -1.3788495063781738, 0.54329514503479, -0.33262869715690613, -0.09466482698917389, 0.1465878188610077, -0.44674354791641235, -0.444625586271286, -0.048307061195373535, 0.44831743836402893, -0.5697717666625977, -0.3782161474227905, -0.3151252269744873, -0.27688390016555786, 0.011654980480670929, 0.49805521965026855, -0.5660735368728638, -0.2503480315208435, 0.2759757936000824, -0.11651473492383957, -0.3521856367588043, -0.14375902712345123, -0.4328133761882782, -0.29614633321762085, 0.6914946436882019, 0.6002606749534607, 0.7816675901412964, 0.7841012477874756, 0.33282068371772766, 0.24210575222969055, -0.37323665618896484, 0.8217183351516724, -0.25981515645980835, 0.23307614028453827, -0.15416181087493896, -0.5730167031288147, -0.42958882451057434, -0.008512076921761036, 0.8020158410072327, 0.9755582213401794, -0.19080479443073273, 0.11378081887960434, -0.1772482991218567, 0.43774139881134033, -1.0247422456741333, 0.15773068368434906, -0.8490222096443176, 0.087348572909832, -0.09217224270105362, 0.17892320454120636, -0.03437516465783119, -0.1671357899904251, -0.055651672184467316, -0.8232620358467102, -0.2237084060907364, -0.07436110824346542, 1.0735446214675903, 0.9291089177131653, -0.46317020058631897, -0.04420917481184006, -1.1543840169906616, 0.8982617855072021, -0.7431451678276062, 0.3021625280380249, 0.46948492527008057, 0.2500772178173065, -0.0842442661523819, -0.31797951459884644, -0.6534425616264343, 0.02183481864631176, 0.36643925309181213, -0.05784239247441292, -0.023619266226887703, 0.12151452153921127, 0.2040441334247589, 0.2841023802757263, -0.02341333217918873, 0.38897597789764404, -0.212571382522583, -0.21845805644989014, 0.439911812543869, 0.0027929346542805433, -0.2175246924161911, 0.15394864976406097, -0.1799202561378479, 0.009836828336119652, -0.80723637342453, -0.004342925734817982, 0.5948922634124756, 0.6815577149391174, 0.053036753088235855, 0.5281888842582703, -0.2523646056652069, 0.8648358583450317, 0.17044620215892792, -0.18437273800373077, 0.26177874207496643, -0.06623439490795135, -0.17150625586509705, -0.07144961506128311, 0.6150711178779602, -0.32987889647483826, -0.006234598811715841, 0.12068583816289902, -0.3077477812767029, 0.15483711659908295, -0.06409990042448044, -0.3886606991291046, -0.01582365296781063, 0.18342356383800507, 0.14247862994670868, -0.2757822275161743, -0.0047791460528969765, -0.5029972791671753, -0.21600964665412903, -0.34405189752578735, 0.7457345724105835, -0.2615363895893097, -0.0975482240319252, 0.40696072578430176, 0.6677170991897583, -0.028958236798644066, 0.5838788747787476, -0.6326877474784851, 0.1936841756105423, 0.4257009029388428, 0.37629929184913635, -0.18527837097644806, -0.1676338165998459, -0.9706129431724548, 0.38109472393989563, -0.2271343171596527, 0.6801366209983826, -0.5488287210464478, 0.11333268135786057, -0.022597644478082657, -0.2193899154663086, -0.1413944810628891, -0.5534807443618774, 0.7463770508766174, -0.4985217750072479, 0.0023973670322448015, -0.015084100887179375, -0.3721986413002014, -0.29645904898643494, 0.30427753925323486, -0.7583720088005066, 1.2430834770202637, 0.11080312728881836, -0.469843327999115, 0.25503990054130554, -0.4575941562652588, -0.29858148097991943, -0.08482242375612259, -0.2692379951477051, -0.754459023475647, 0.018277287483215332, 0.22441920638084412, 0.3659152686595917, -0.18699872493743896, 0.37685030698776245, -0.25256243348121643, -0.4907708764076233, 0.3198261260986328, -0.46305495500564575, 0.2873498499393463, 0.32265302538871765, -0.4554833769798279, 0.10222382843494415, -0.8504218459129333, 0.08860555291175842, 0.09053760766983032, -0.6520691514015198, -0.19407927989959717, 0.18782939016819, -0.31563207507133484, -0.05642836540937424, 0.5115796327590942, -0.3490154445171356, 0.4094444215297699, -0.49499085545539856, 0.4028640389442444, 0.5593412518501282, 0.039782531559467316, 0.41540685296058655, -0.014941195957362652, 0.4325556755065918, 0.025612397119402885, 0.15271905064582825, 0.010562666691839695, -0.140589639544487, -1.070705533027649, -0.11054075509309769, 0.6557121872901917, 0.6884135007858276, -0.5290613174438477, 0.6409767866134644, 0.1831582486629486, -0.2953755557537079, -0.32588812708854675, 0.44898882508277893, 0.3252660632133484, 0.3410613238811493, 0.27588823437690735, 0.21060286462306976, -0.25514572858810425, -0.6896046996116638, -0.1363879144191742, -0.2151366025209427, 0.2950105369091034, 0.3770815134048462, 0.38392508029937744, -0.19040046632289886, 0.7202048897743225, -0.5939720273017883, -0.3752991557121277, -0.14495660364627838, 0.10955262929201126, 0.3337974548339844, 0.5518830418586731, 0.24746006727218628, -0.7612563371658325, -0.4255737364292145, -0.04441806301474571, -0.25843510031700134, -0.16173280775547028, -0.08373037725687027, -0.14006908237934113, 0.11477161943912506, 0.49597349762916565, -0.6501780152320862, 0.3678123950958252, 0.5969943404197693, -0.25435125827789307, 0.29526087641716003, -0.20129747688770294, -0.20841388404369354, -0.7444658875465393, 0.04398265480995178, -0.17939238250255585, -0.1883898675441742, -0.38095352053642273, -0.01691310666501522, 0.19839851558208466, -0.096196249127388, -0.38169869780540466, 0.530085563659668, -0.6839936971664429, 0.3163664638996124, -0.2891368567943573, 0.15061840415000916, -0.0676848515868187, 0.53420090675354, 0.0654483214020729, 0.40349680185317993, 0.6588596701622009, -0.5535991191864014, 0.35176193714141846, 0.07789373397827148, -0.605078399181366, -0.040815822780132294, -0.421833336353302, 0.0038448579143732786, 0.24828936159610748, 0.02897537685930729, -0.7903866171836853, -0.4464989900588989, 0.30931708216667175, -0.1102997362613678, 0.4416812062263489, -0.12980623543262482, -0.5412949323654175, -0.13195130228996277, 0.08428891748189926, 0.3833156228065491, 0.45294180512428284, -0.3273867070674896, 0.7463822364807129, 0.31044235825538635, 0.1441464126110077, -0.737878680229187, -0.6932248473167419, -0.24644221365451813, -0.26722827553749084, -0.28225812315940857, 0.3085998594760895, 0.08796221017837524, -0.297542929649353, -0.04635275900363922, -0.45285454392433167, -0.12299493700265884, 0.39198166131973267, 0.11513040214776993, 0.08367736637592316, -0.09428094327449799, 0.2140876203775406, 0.408462792634964, -0.1245734691619873, -0.2456713765859604, 0.000604184519033879, 0.4187430441379547, -0.04745509847998619, -0.8355683088302612, -0.5783190131187439, 0.08317951112985611, 0.4773463010787964, -0.4177020192146301, 0.8639875054359436, 0.46416738629341125, -0.6159328818321228, -0.512002170085907, -0.7526371479034424, -0.14905676245689392, -0.4858770966529846, 0.1849755495786667, -0.3154129683971405, -0.8025942444801331, 0.7124683260917664, -0.35906916856765747, 0.13422547280788422, 0.33531519770622253, 0.4324100911617279, 0.01131368800997734, 0.9803820848464966, 0.5339722633361816, 0.2588345408439636, 0.7730071544647217, -0.338837593793869, 0.3023239076137543, -0.5309810042381287, -0.10221114009618759, -0.39966440200805664, -0.4458070695400238, -0.16807810962200165, -0.6770278811454773, 0.29432231187820435, 0.45969805121421814, -0.4557077884674072, -0.11648428440093994, -0.1944972425699234, 0.4632313549518585, 0.4710816740989685, 0.23504625260829926, 0.3984740078449249, -0.023608040064573288, -0.1526944488286972, 0.12958793342113495, -0.7932507991790771, -0.4043653905391693, 0.7251677513122559, 0.34838876128196716, 1.120231032371521, 0.12341807037591934, 0.4333339333534241, -0.12257164716720581, -0.29676496982574463, -1.0052783489227295, 0.5144586563110352, 0.022206055000424385, -0.561495304107666, -0.5073014497756958, -0.5970296263694763, -0.9924939274787903, -0.06572385877370834, -0.3489821255207062, -0.5895236730575562, 0.2978404462337494, 0.4450450539588928, -0.8335726261138916, 0.5004543662071228, -0.5699850916862488, 0.6586679816246033, -0.36322787404060364, -0.647339403629303, -0.08441594243049622, -0.6380468606948853, 0.16693292558193207, -0.39803776144981384, 0.16157099604606628, -0.36170506477355957, -0.34293505549430847, 0.6236935257911682, -0.4058421552181244, 1.1032822132110596, -0.24180175364017487, -0.3801194429397583, 0.5249011516571045, 0.22005416452884674, 1.0024961233139038, 0.11838272213935852, -0.24967971444129944, -0.21966490149497986, -0.3306494355201721, -0.3541405200958252, -0.558473527431488, 0.716644287109375, -0.8353540301322937, -0.5228065252304077, -0.4095751941204071, -0.7475262880325317, -0.6530385613441467, 0.18285585939884186, -0.12366265058517456, 0.08619461208581924, 0.1286289244890213, 0.1469230055809021, 0.9732739925384521, -0.2338941991329193, 0.1326085925102234, 0.717721700668335, 0.03213457763195038, -0.17389804124832153, 0.5700621604919434, 0.3064662218093872, 0.40900421142578125, 0.38375619053840637, 0.31472617387771606, 0.00810981448739767, -0.8015062212944031, -0.23650702834129333, 0.43580999970436096, -0.4528498351573944, -0.39849621057510376, -0.4032287001609802, -0.21174228191375732, -0.09914375841617584, -0.16076110303401947, -0.8482279777526855, -0.5535986423492432, -0.422315776348114, -0.020211046561598778, 0.4729507863521576, 0.39371994137763977, -0.03311518579721451, 0.47876858711242676, -0.5399895310401917, 0.18816958367824554, 0.4353471100330353, 0.40393897891044617, -0.17388463020324707, -0.5940724015235901, -0.3986518085002899, 0.20485369861125946, -0.19231337308883667, -0.6200968623161316, 0.15814858675003052, 0.44495952129364014, 0.7419769763946533, 0.6460788249969482, 0.33756837248802185, 0.6903828382492065, -0.20060467720031738, 0.5822626948356628, -0.08022943139076233, -0.9217109084129333, 0.8352347016334534, -0.5098013281822205, 0.3954651355743408, 0.6871997117996216, 0.11468178778886795, 0.05100421980023384, -0.31440672278404236, -0.556470513343811, -0.9618545770645142, 0.5724103450775146, 0.1419224739074707, -0.08178049325942993, 0.25944626331329346, 0.6866285800933838, 0.027545347809791565, -0.01902271807193756, -0.5113246440887451, -0.1752234548330307, 0.3071572184562683, -0.17040227353572845, 0.059700895100831985, -0.1276269555091858, -0.17987556755542755, -0.31735026836395264, 0.8018581867218018, -0.33721572160720825, 0.015542810782790184, -0.18440242111682892, -0.02500370889902115, -0.5628367066383362, 0.16233602166175842, 0.2652769386768341, 0.5951590538024902, -0.29668620228767395, 0.15350064635276794, 0.4597652852535248, -0.37664347887039185, 0.023955851793289185, 0.1800217181444168, -0.2266385853290558, -0.13487014174461365, 0.1887858361005783, 0.9943402409553528, 0.24430720508098602, -1.0018922090530396, 0.2921244204044342, 0.14959542453289032, -0.3378431499004364, -0.358964741230011, 0.43375203013420105, 0.0017997873947024345, 0.41387638449668884, 0.3972022235393524, 0.11704878509044647, -0.3437301814556122, -0.5187618732452393, -0.06810974329710007, 0.3454659581184387, -0.4640863239765167, -0.19866757094860077, 0.6835463643074036, 0.2045225352048874, -0.06132571026682854, 0.4200671315193176, -0.031748801469802856, -0.5176453590393066, 0.5157395005226135, 0.32899945974349976, 0.4260607659816742, -0.3740883469581604, -0.05969260260462761, 0.3331826329231262, 0.1546764373779297, -0.37702131271362305, 0.6460761427879333, 0.008404065854847431, -0.8171220421791077, -0.7848731875419617, -0.6383078694343567, -0.6507291197776794, 0.3009803295135498, -0.6301159262657166, 0.5333991050720215, -0.4456115961074829, -0.1253284215927124, -0.18793252110481262, 0.4186756908893585, -0.2782684564590454, 0.17067627608776093, 0.14910146594047546, 0.7056176662445068, -0.9574253559112549, 1.035523533821106, 0.7671660780906677, -0.16695018112659454, -1.061447024345398, -0.018658330664038658, -0.186314195394516, -0.6526062488555908, 0.3955777883529663, -0.10214352607727051, -0.23721355199813843, -0.051830001175403595, -0.5744996070861816, -1.1104660034179688, 0.8839482665061951, 0.6459420919418335, -0.7449977993965149, -0.026497654616832733, -0.14899711310863495, 0.31853431463241577, -0.09003308415412903, -0.42142874002456665, 0.44324612617492676, 0.6396538615226746, 0.37529537081718445, -0.9018214344978333, -0.07319866865873337, -0.09831271320581436, -0.4967495799064636, 0.6686559319496155, -0.8820786476135254, 0.9128062129020691, -0.24212677776813507, -0.1591775268316269, 0.12033670395612717, 0.6798503994941711, 0.2886423170566559, 0.07869106531143188, 0.8211238384246826, 0.4791509807109833, 0.9839736223220825, -0.22058361768722534, 0.4600312113761902, -0.2615651786327362, 0.39173027873039246, 1.1790539026260376, -0.43451201915740967, 0.9002425074577332, 0.5249544382095337, -0.052113886922597885, 0.24327024817466736, 0.775415301322937, 0.022332336753606796, 0.4088364243507385, 0.18397676944732666, -0.36048656702041626, -0.7658320069313049, -0.07592509686946869, -0.10032684355974197, 0.6159199476242065, 0.7773320078849792, -0.14857327938079834, -0.052181243896484375, -0.00222631823271513, 0.06804651767015457, 0.1125500351190567, -0.2415386140346527, 0.5065296292304993, -0.05100402608513832, -0.7102735638618469, 0.7636523842811584, -0.012991395778954029, 0.47962602972984314, -0.780726969242096, 0.12546277046203613, -0.08584050834178925, 0.42054668068885803, -0.1286524087190628, -0.4943735599517822, 0.15045571327209473, -0.039651792496442795, 0.12359834462404251, -0.06569237262010574, 0.5100095272064209, -0.5312375426292419, -0.5312595367431641, 0.07140424847602844, 0.7722886204719543, 0.0590052492916584, -0.04127687215805054, -0.6691855192184448, 0.2542702555656433, 0.04685187339782715, -0.49851927161216736, 0.143990620970726, 0.66811203956604, -0.1578012853860855, 0.6903738379478455, 0.3898875415325165, 0.2945657968521118, -0.05153583735227585, 0.03836517408490181, 0.9863609075546265, -0.46833059191703796, -0.3189536929130554, -0.5976733565330505, 0.2603646516799927, 0.2389535754919052, -0.2669469714164734, 0.5924873352050781, 0.5828230381011963, 0.4745005965232849, 0.30514591932296753, 0.663871169090271, 0.00654166005551815, 0.6996176242828369, -0.678946852684021, 0.45218008756637573, -0.793921172618866, 0.5698268413543701, -0.12976549565792084, -1.0436710119247437, -0.5779959559440613, 0.8420997262001038, -0.3279446065425873, -0.07062108814716339, 0.6481662392616272, 0.6942955851554871, -0.3992238938808441, -0.42233291268348694, 0.24696147441864014, 0.2957443594932556, 0.011155043728649616, 0.6793380975723267, 0.7376628518104553, -0.3602461814880371, 0.6789741516113281, -0.3025693893432617, -0.19586440920829773, -0.21852052211761475, -0.8312700390815735, -0.8968601226806641, -0.4375121593475342, -0.6671379208564758, -0.25169092416763306, -0.00325232301838696, 0.7574886083602905, 0.6400917172431946, -0.7817315459251404, 0.026794640347361565, -0.04221367835998535, 0.057632725685834885, -0.3988141417503357, -0.10874146223068237, 0.5608253479003906, -0.15188701450824738, -1.0247753858566284, 0.5057985186576843, 0.012468422763049603, 0.3255479633808136, -0.44523733854293823, 0.06499257683753967, -0.49171411991119385, 0.2798973619937897, 0.18664446473121643, 0.40088966488838196, -0.7101370692253113, -0.23940952122211456, -0.10420238971710205, 0.10912604629993439, 0.0019097133772447705, 0.5103793740272522, -0.8527053594589233, 0.22299730777740479, 0.40537580847740173, 0.55063396692276, 0.7443721294403076, -0.02790149673819542, 0.5145193934440613, -0.6127517819404602, 0.3531406819820404, 0.34191760420799255, 0.2585033178329468, 0.08437395840883255, -0.3099348545074463, 0.5525388717651367, 0.06879362463951111, -0.4930107593536377, -1.1612204313278198, 0.41105660796165466, -1.2044527530670166, -0.44467994570732117, 1.2860044240951538, -0.1522735357284546, -0.25401878356933594, -0.1444845348596573, -0.2157895416021347, 0.43437284231185913, -0.46703389286994934, 0.7731614708900452, 0.4573320746421814, -0.1123126968741417, -0.14164923131465912, -0.6143215894699097, 0.264602929353714, 0.5493194460868835, -0.6801766753196716, 0.13417598605155945, 0.4810115396976471, 0.047769829630851746, 0.07441999018192291, -0.19753456115722656, 0.24749350547790527, 0.10477113723754883, -0.0940864235162735, -0.10446802526712418, -0.2750204801559448, -0.31715601682662964, -0.2219351977109909, 0.21433383226394653, 0.21253341436386108, 0.015586982481181622 ]
http://arxiv.org/abs/2403.01163v1
http://arxiv.org/pdf/2403.01163v1
BootTOD: Bootstrap Task-oriented Dialogue Representations by Aligning Diverse Responses
2024-03-02T10:34:11
2024-03-02T10:34:11
Weihao Zeng, Keqing He, Yejie Wang, Dayuan Fu, Weiran Xu
cs.CL
cs.CL
Pre-trained language models have been successful in many scenarios. However, their usefulness in task-oriented dialogues is limited due to the intrinsic linguistic differences between general text and task-oriented dialogues. Current task-oriented dialogue pre-training methods rely on a contrastive framework, which faces challenges such as selecting true positives and hard negatives, as well as lacking diversity. In this paper, we propose a novel dialogue pre-training model called BootTOD. It learns task-oriented dialogue representations via a self-bootstrapping framework. Unlike contrastive counterparts, BootTOD aligns context and context+response representations and dismisses the requirements of contrastive pairs. BootTOD also uses multiple appropriate response targets to model the intrinsic one-to-many diversity of human conversations. Experimental results show that BootTOD outperforms strong TOD baselines on diverse downstream dialogue tasks.
[ -0.5169201493263245, -0.2922889292240143, 0.2296581119298935, 0.44669732451438904, -0.47633427381515503, 0.44247275590896606, -0.12354148179292679, -0.30640625953674316, 0.34096816182136536, 0.3994849622249603, -0.8698469996452332, -0.5230533480644226, -0.5333725810050964, 0.03771621361374855, -0.25149354338645935, 1.232815146446228, 0.208016499876976, 0.4086962640285492, -0.010642373003065586, -0.5506563186645508, -0.6441811323165894, -0.4863531291484833, -0.46507829427719116, -0.30186447501182556, 0.3118741512298584, 0.3338979482650757, 0.26811590790748596, 0.2960219085216522, 0.20251362025737762, 0.33303216099739075, 0.3758789300918579, -0.37735310196876526, -0.4408746659755707, 0.6014842987060547, -0.21974438428878784, -0.3348531126976013, 0.0009586852975189686, -0.005790929775685072, 0.45427191257476807, 0.7514298558235168, -0.19682720303535461, -0.04948083311319351, 0.39389896392822266, 0.2915048599243164, -0.6014000773429871, -0.08018855005502701, -0.57065749168396, 0.019542407244443893, 0.14354807138442993, 0.04560372233390808, -0.14864079654216766, 0.05512402579188347, 0.1767486035823822, -0.48229387402534485, 0.24868686497211456, -0.03415164723992348, 0.4540266692638397, 0.24389930069446564, -0.372588187456131, -0.10746157914400101, -0.6661353707313538, 0.7790595889091492, -0.6474562287330627, 0.3146911859512329, 0.0938432589173317, 0.3162554204463959, 0.11323490738868713, -0.3489273190498352, -0.4959632456302643, 0.09237174689769745, -0.10695680230855942, 0.15784870088100433, 0.2088703066110611, 0.0690707117319107, -0.08687444031238556, 0.48962831497192383, -0.4177350103855133, 0.23255451023578644, -0.0061399671249091625, -0.15879076719284058, 0.15485472977161407, 0.3631312847137451, 0.05198662728071213, -0.0355135053396225, -0.7030342817306519, -0.140051931142807, -0.4874957799911499, 0.007402126211673021, 0.29615122079849243, 0.6299108862876892, -0.33256518840789795, 0.07105854153633118, -0.32219263911247253, 0.6799994707107544, 0.36470913887023926, -0.1907244175672531, 0.2548554837703705, -0.3930034339427948, -0.31665119528770447, -0.11762481182813644, 0.9943701028823853, 0.343109130859375, -0.1537981927394867, -0.16409409046173096, -0.3507712483406067, -0.07526645064353943, 0.4041678011417389, -0.9223688840866089, -0.05963559448719025, 0.21142181754112244, -0.4764844477176666, -0.31017619371414185, -0.3368786871433258, -0.8376114964485168, -0.39289233088493347, -0.14701803028583527, 0.40491563081741333, -0.30066534876823425, -0.34382641315460205, -0.04568511247634888, 0.14742229878902435, 0.22534909844398499, 0.5345097780227661, -1.0447036027908325, 0.7825517058372498, 0.2784559726715088, 0.5830788612365723, -0.4875423014163971, -0.17280004918575287, -0.7205797433853149, -0.07202023267745972, -0.07404198497533798, 0.519523024559021, -0.801077127456665, -0.4186452627182007, 0.06331877410411835, -0.14370989799499512, 0.028403451666235924, -0.45121580362319946, 0.1718454509973526, -0.34094592928886414, 0.506583034992218, -0.22621534764766693, -0.2395721971988678, -0.007320832926779985, 0.5530275702476501, -0.44809240102767944, 0.7459579706192017, 0.40599358081817627, -0.8641683459281921, 0.3460867404937744, -0.620616614818573, -0.5809676647186279, 0.05582636594772339, -0.5893139243125916, -0.39106878638267517, -0.08689974993467331, 0.217409148812294, 0.4387437105178833, -0.5595387816429138, 0.4215056300163269, -0.15617287158966064, -0.13421942293643951, -0.08351562917232513, -0.23859159648418427, 0.7401055097579956, 0.3867485821247101, -0.684353232383728, 0.4080691933631897, -0.5924606323242188, -0.1353851705789566, 0.0838911160826683, -0.034653034061193466, -0.3985409140586853, -0.2721542716026306, 0.24310944974422455, 0.40822967886924744, 0.009460052475333214, -0.797321617603302, 0.09060511738061905, -0.3346184492111206, -0.01592407561838627, 0.7487037777900696, -0.2532399296760559, 0.43545278906822205, -0.3521939218044281, 0.7886309623718262, 0.44785967469215393, -0.2665380835533142, -0.5048676133155823, -0.37564364075660706, -0.7270265221595764, -0.3589131236076355, 0.29825299978256226, 0.4893639385700226, -0.6513897776603699, 0.41239097714424133, 0.02378683350980282, -0.33711060881614685, -0.6811266541481018, 0.18238013982772827, 0.6996855139732361, 0.551161527633667, 0.4008837342262268, -0.6779819130897522, -0.4033068120479584, -0.9264765381813049, -0.2940652370452881, -0.30401092767715454, -0.11627165228128433, 0.18287041783332825, 0.2874194085597992, -0.10090827196836472, 1.02519690990448, -0.23374994099140167, -0.28500309586524963, -0.4498564302921295, 0.3930132985115051, -0.12489046156406403, 0.8886253833770752, 0.5065209269523621, -0.8013100028038025, -0.5198035836219788, -0.165222629904747, -0.39334145188331604, -0.14645051956176758, -0.3946576714515686, -0.039163511246442795, -0.1757766455411911, 0.2782193124294281, -0.4960730969905853, 0.2819259464740753, 0.4902857840061188, -0.2158593088388443, 0.5164405107498169, 0.1651662141084671, 0.4843362867832184, -1.5783082246780396, -0.07171492278575897, 0.028628187254071236, -0.6213399767875671, -0.6294001340866089, -0.16317658126354218, -0.1575656533241272, -0.324017733335495, -0.3866082727909088, 0.5607733130455017, -0.40008363127708435, -0.1852860152721405, -0.17989994585514069, -0.07392102479934692, -0.18752571940422058, 0.706089198589325, 0.33311280608177185, 0.8197542428970337, 0.5743901133537292, -0.6626150608062744, 0.28269651532173157, 0.4187297224998474, -0.3378610610961914, 0.8403740525245667, -0.5113263726234436, 0.048658519983291626, -0.030323853716254234, 0.3278113603591919, -1.3419543504714966, -0.020767560228705406, 0.4213148057460785, -0.10985943675041199, 0.5083495378494263, -0.29044201970100403, -0.17698292434215546, -0.15010742843151093, -0.1446727216243744, 0.9552897214889526, 0.5126741528511047, -0.6247559785842896, 0.6638429164886475, 0.2927986681461334, -0.5967573523521423, -0.6086888313293457, -0.28681981563568115, -0.2225329428911209, -0.2427286058664322, -0.2959621548652649, 0.3836359679698944, -0.27217361330986023, 0.006023316644132137, -0.3934643566608429, -0.33068764209747314, -0.1796293705701828, -0.04515695199370384, 0.28909820318222046, 0.05240383371710777, -0.2877654433250427, 0.2831510007381439, -0.10560935735702515, -0.05416291207075119, -0.048897791653871536, -0.49378731846809387, 0.9513971209526062, -0.12361584603786469, -0.6146040558815002, -0.3855646550655365, 0.6364728808403015, 0.5772384405136108, -0.25955331325531006, 0.5621570348739624, 0.6679458022117615, -0.09053203463554382, 0.14809688925743103, -0.8373237252235413, -0.35321927070617676, -0.4645719826221466, 0.4947037994861603, -0.29496827721595764, -1.0945546627044678, 0.6075285077095032, -0.1982155740261078, 0.1521664559841156, 0.20238885283470154, 0.5624033808708191, -0.23503121733665466, 0.7754359245300293, 0.6599608063697815, -0.05155065283179283, 0.7042416930198669, 0.1342802494764328, 0.07022249698638916, -0.8380876183509827, -0.23455160856246948, -0.5789642930030823, -0.4492388963699341, -0.4887678027153015, -0.35529935359954834, -0.010299070738255978, -0.17223824560642242, -0.4278572201728821, 0.39431411027908325, -0.4017404019832611, 0.3869284689426422, 0.4120998680591583, -0.07947231829166412, 0.14433099329471588, -0.11220863461494446, -0.16267625987529755, -0.20615175366401672, -0.6503607034683228, -0.3586650490760803, 0.9612376093864441, 0.3023582100868225, 0.9433618187904358, -0.23723174631595612, 1.0552524328231812, 0.09329450130462646, 0.464008629322052, -0.5254053473472595, 0.4940339922904968, 0.04473339766263962, -0.6221336126327515, -0.3168904483318329, -0.35307827591896057, -0.8703511357307434, 0.44248855113983154, -0.12135335057973862, -0.9883948564529419, 0.20715750753879547, 0.11491633951663971, -0.41300034523010254, 0.24640841782093048, -0.5996930003166199, 1.1380784511566162, -0.1771671622991562, -0.2604226768016815, -0.2234916239976883, -1.0405123233795166, 0.17711815237998962, 0.10379918664693832, 0.12172678858041763, -0.04127462953329086, 0.23442243039608002, 0.9217812418937683, -0.4275640547275543, 1.175277829170227, -0.2636580169200897, -0.03980860486626625, 0.20960313081741333, 0.2508660554885864, 0.32741308212280273, 0.05171510949730873, 0.19689080119132996, -0.2164577692747116, 0.0037339474074542522, -0.68265300989151, -0.6322686076164246, 0.5262365937232971, -0.6215448379516602, -1.0011484622955322, -0.37746715545654297, -0.5585811734199524, -0.542169451713562, 0.15927517414093018, 0.3789883553981781, 0.5804126858711243, -0.6138284206390381, 0.0433390736579895, 0.41803044080734253, -0.0420529730618, 0.5312862396240234, 0.5888404846191406, -0.2953365445137024, -0.3274722993373871, 0.8318846225738525, -0.47878384590148926, 0.7208529114723206, 0.3443031311035156, -0.08945360034704208, -0.17286032438278198, -0.5011416077613831, -0.42211073637008667, 0.01781199872493744, -0.6927687525749207, -0.24010401964187622, -0.6600230932235718, 0.007747664116322994, -0.21945521235466003, -0.1145402193069458, -0.5964648127555847, -0.3910163342952728, -0.1732269823551178, -0.042159225791692734, -0.11854612827301025, 0.7262254357337952, 0.11760438233613968, 0.46559178829193115, -0.6073826551437378, 0.5960121750831604, 0.5820814371109009, 0.4327433109283447, -0.20578162372112274, -0.3617781400680542, -0.17441421747207642, 0.14573189616203308, -0.505142867565155, -0.8635172247886658, 0.3128425180912018, 0.03005984053015709, 0.49786534905433655, 0.4705979824066162, 0.4053370952606201, 0.4221239984035492, -0.45096954703330994, 0.8388234376907349, 0.9168515205383301, -0.7782634496688843, 0.4503766894340515, -0.3883957266807556, 0.6005774736404419, 0.8341251015663147, 0.5181819796562195, -0.4664005637168884, -0.645545482635498, -0.4833827018737793, -0.4478825330734253, 0.7338669896125793, 0.27602145075798035, 0.3362066149711609, -0.18645446002483368, -0.25733742117881775, 0.6510177850723267, 0.5168803334236145, -0.8833639621734619, -0.24423086643218994, -0.6392534971237183, -0.30242225527763367, 0.06612826883792877, 0.009377454407513142, -0.3759104013442993, -0.13395309448242188, 0.40504178404808044, -0.23047396540641785, 0.417598694562912, 0.10348013043403625, -0.23088981211185455, 0.14015300571918488, 0.6662043333053589, 0.4044535160064697, 0.31040918827056885, -0.035008594393730164, 0.02597568742930889, 0.08978413045406342, -0.3107599914073944, 0.5766147971153259, 0.08240067958831787, 0.3311358392238617, -0.04828259348869324, 0.08583732694387436, 0.8036951422691345, 0.29562848806381226, -0.5171658396720886, 0.6869571805000305, -0.18794682621955872, 0.09615431725978851, 0.1947353035211563, -0.016006281599402428, 0.021345259621739388, 0.3725001811981201, 0.4956147074699402, 0.3772381842136383, 0.1891545057296753, -0.7015915513038635, 0.13201341032981873, 0.5467151403427124, -0.5741181373596191, -0.20694653689861298, 0.48515501618385315, 0.8228057622909546, -0.5710844993591309, 0.5738856196403503, -0.35920605063438416, -0.7245248556137085, 0.48032304644584656, 0.8160824179649353, 1.1097744703292847, -0.541718065738678, 0.36476606130599976, 0.24844974279403687, -0.06446705758571625, 0.29834744334220886, 0.07514837384223938, -0.5788121819496155, -0.8506262898445129, -0.29261791706085205, -0.573189914226532, -0.37585607171058655, 0.25405004620552063, -0.8255764842033386, 0.028525544330477715, -0.5343983769416809, -0.1355312317609787, -0.36975860595703125, -0.39810681343078613, -0.8842763304710388, 0.5832961201667786, -0.10652084648609161, 0.46021944284439087, -0.7869654893875122, 0.7191464900970459, 0.5165123343467712, -0.2929816246032715, -0.4175250232219696, 0.37827038764953613, -0.12837032973766327, -0.6920163631439209, 0.7400336861610413, 0.43948474526405334, -0.33293676376342773, -0.02712390385568142, -0.4534436762332916, -0.4225064814090729, 0.681755781173706, 0.5290961265563965, -0.6599243879318237, -0.010126017965376377, -0.012986398302018642, 0.2543003261089325, -1.0714032649993896, 0.31961363554000854, 0.2847091257572174, -0.005031623411923647, 0.23750483989715576, -0.9749664068222046, 0.24022939801216125, -0.534169614315033, -0.07433385401964188, 0.10093025118112564, -0.5055682063102722, 0.5895440578460693, -0.20783595740795135, -0.1891496181488037, 0.2212810516357422, 0.5561331510543823, 0.1151738241314888, 0.04915015399456024, 0.8253839612007141, 0.29357826709747314, 0.4202221930027008, -0.1128380224108696, 0.8569770455360413, -0.38392820954322815, -0.03861619904637337, 1.3568246364593506, -0.2621147930622101, 0.5960404276847839, 0.48623010516166687, -0.1296999305486679, 0.7712846994400024, 0.5470191240310669, 0.28809812664985657, 0.7816513776779175, 0.031570810824632645, -0.5163981318473816, -0.7511736154556274, 0.10434499382972717, -0.4495711028575897, 0.2860379219055176, 0.2976336181163788, -0.13070982694625854, -0.24805696308612823, 0.14595434069633484, -0.455059289932251, 0.18537642061710358, 0.016400672495365143, 0.9217329621315002, -0.03869865462183952, -0.7959132194519043, 0.6620420813560486, -0.2361021488904953, 0.7832460999488831, -0.6818830966949463, -0.08700397610664368, -0.11649756133556366, -0.10518458485603333, -0.06319406628608704, -0.5883778929710388, -0.05587754771113396, -0.18876728415489197, -0.13166046142578125, -0.4176179766654968, 0.44262611865997314, -0.7452874183654785, -0.17093078792095184, 0.3500692844390869, 0.3755219578742981, -0.112953782081604, 0.03436782956123352, -0.5893887877464294, -0.0961947962641716, 0.062195584177970886, -0.05553309619426727, 0.7021127343177795, 0.25594058632850647, 0.1892189085483551, 0.7444724440574646, 0.2382606863975525, -0.42116832733154297, -0.24496671557426453, 0.1945953518152237, 1.1439018249511719, -0.6578733921051025, -0.9565995335578918, -0.5399148464202881, 0.8582718968391418, -0.18672797083854675, -0.4309057891368866, 0.3770633935928345, 0.48006829619407654, 0.7030712962150574, -0.3044144809246063, 0.8490092754364014, 0.1129491999745369, 0.5237893462181091, -0.401380330324173, 0.33497366309165955, -0.38741910457611084, 0.32063382863998413, -0.5119218230247498, -1.1500247716903687, 0.07698304951190948, 0.896364152431488, -0.14580635726451874, 0.39677852392196655, 0.8461077809333801, 0.5617653131484985, -0.2953855097293854, 0.18402256071567535, 0.3471728563308716, 0.1772564947605133, 0.2141416370868683, 0.41810131072998047, 0.957489013671875, -0.23011837899684906, 0.6088243126869202, 0.03994150459766388, -0.11330042034387589, -0.22366926074028015, -0.7364861965179443, -1.113203763961792, -0.8729462027549744, -0.4094897210597992, -0.30162617564201355, 0.17658521234989166, 1.1139180660247803, 1.0225980281829834, -1.0045000314712524, -0.4689100682735443, -0.12763608992099762, 0.02257474511861801, -0.10686121135950089, -0.15955683588981628, -0.21662817895412445, -0.8205438256263733, -0.5635877251625061, 0.4357573390007019, 0.39325425028800964, 0.19502033293247223, -0.20350664854049683, -0.3660396337509155, -0.10317723453044891, -0.11573083698749542, 0.24281376600265503, 0.36217740178108215, -0.6687151789665222, -0.21367745101451874, -0.3103107213973999, -0.11026063561439514, 0.4814182221889496, 1.1169397830963135, -1.071581482887268, 0.6124497056007385, 0.08921675384044647, 0.6937856078147888, 0.853782594203949, 0.11556509882211685, 1.232229232788086, -0.9072499871253967, 0.370452344417572, 0.4435490369796753, 0.23052537441253662, 0.5702580213546753, -0.007292989641427994, 0.20184864103794098, 0.18901866674423218, -0.2713984549045563, -0.489719957113266, 0.6797463893890381, -0.95545494556427, -0.23541054129600525, 0.9414736032485962, -0.32685500383377075, 0.26382508873939514, -0.3436552882194519, -0.47831764817237854, 0.07079969346523285, -0.4952125549316406, 0.6217470169067383, 0.6027751564979553, 0.09444970637559891, -0.22819514572620392, 0.06612394005060196, 0.5356689095497131, 0.7952988743782043, -0.8492318391799927, 0.13465416431427002, 0.3548831045627594, 0.4264664947986603, 0.23409801721572876, 0.9524569511413574, 0.09604180604219437, 0.3591081202030182, -0.005328695755451918, -0.09116767346858978, 0.2500500977039337, -0.36899760365486145, -0.11141723394393921, 0.2078181952238083, -0.017116520553827286, -0.33042430877685547 ]
http://arxiv.org/abs/2403.01152v1
http://arxiv.org/pdf/2403.01152v1
A Survey of AI-generated Text Forensic Systems: Detection, Attribution, and Characterization
2024-03-02T09:39:13
2024-03-02T09:39:13
Tharindu Kumarage, Garima Agrawal, Paras Sheth, Raha Moraffah, Aman Chadha, Joshua Garland, Huan Liu
cs.CL
cs.CL, cs.AI
We have witnessed lately a rapid proliferation of advanced Large Language Models (LLMs) capable of generating high-quality text. While these LLMs have revolutionized text generation across various domains, they also pose significant risks to the information ecosystem, such as the potential for generating convincing propaganda, misinformation, and disinformation at scale. This paper offers a review of AI-generated text forensic systems, an emerging field addressing the challenges of LLM misuses. We present an overview of the existing efforts in AI-generated text forensics by introducing a detailed taxonomy, focusing on three primary pillars: detection, attribution, and characterization. These pillars enable a practical understanding of AI-generated text, from identifying AI-generated content (detection), determining the specific AI model involved (attribution), and grouping the underlying intents of the text (characterization). Furthermore, we explore available resources for AI-generated text forensics research and discuss the evolving challenges and future directions of forensic systems in an AI era.
[ -0.18523016571998596, -0.91282719373703, 0.70986008644104, -0.2062366008758545, -0.04858241230249405, 0.14003773033618927, 0.10195274651050568, -0.81546550989151, 0.17457088828086853, 0.7748963236808777, -0.42594045400619507, -0.2680565118789673, -0.7253962159156799, 0.34332624077796936, -1.048124074935913, 1.3239132165908813, 0.019045034423470497, -0.24208912253379822, -0.4302326738834381, -0.0033353625331074, -0.25024983286857605, -0.780868411064148, -0.6625645160675049, -0.26232635974884033, 0.2757664918899536, 0.19216248393058777, 0.4072412848472595, 0.9684529900550842, 0.7676078677177429, 0.31308498978614807, 0.09062914550304413, 0.18957222998142242, -0.1531587839126587, 0.33776065707206726, 0.04156000539660454, -0.43261194229125977, -0.2497294545173645, 0.18294242024421692, 0.5051032900810242, 0.07361495494842529, 0.06912325322628021, 0.21285566687583923, -0.20351272821426392, 0.2760052978992462, -0.7696330547332764, -0.3889275789260864, -0.8360845446586609, -0.07434746623039246, -0.5958636999130249, -0.24812965095043182, -0.5534666180610657, -0.4008050262928009, 0.13703800737857819, -0.42247307300567627, 0.2941288650035858, 0.155579075217247, 0.5559006929397583, 0.3668718934059143, -0.5226264595985413, -0.8375115394592285, -0.9376049637794495, 0.6212661266326904, -0.41344964504241943, -0.11107020080089569, 0.3380829393863678, 0.36739811301231384, 0.18712832033634186, -0.863703191280365, -0.6119456887245178, -0.13300743699073792, -0.06910225749015808, -0.12380706518888474, -0.3255356550216675, -0.04714619368314743, -0.16631077229976654, 0.5820857882499695, -0.2723093330860138, 0.24852389097213745, -0.05232599005103111, -0.6270999312400818, 0.7701424956321716, 0.5105074644088745, 0.6999982595443726, -0.228451669216156, -0.21165962517261505, 0.018677424639463425, -0.9796274304389954, -0.3671497106552124, 0.6390008330345154, -0.03870179504156113, 0.15590500831604004, 0.5404837131500244, 0.1764206737279892, 0.37018755078315735, -0.23036319017410278, -0.44159752130508423, -0.05801374837756157, -0.7004315853118896, -0.06997901201248169, 0.27949705719947815, 1.2072241306304932, 0.020179951563477516, 0.16031518578529358, 0.09175192564725876, -0.3939785659313202, -0.10542786866426468, 0.4114331901073456, -0.5649473667144775, -0.16612812876701355, 0.07918007671833038, -0.8037035465240479, -0.8323820233345032, -0.11136416345834732, -0.4631906747817993, -0.7891438007354736, -0.03396311774849892, 0.2633747160434723, -0.5642445087432861, -0.16991138458251953, -0.07521378993988037, -0.2914314568042755, 0.12369540333747864, 0.35140204429626465, -0.6843438148498535, 0.22690285742282867, 0.49069276452064514, 0.6824791431427002, -0.28527307510375977, -0.12259012460708618, -0.2571379244327545, 0.37698766589164734, -0.1771215945482254, 0.922214686870575, -0.23309294879436493, -0.25541621446609497, 0.08251457661390305, -0.3077763020992279, 0.5569848418235779, -0.6641572117805481, 0.467526912689209, -0.5366184115409851, 0.17869295179843903, 0.10894542187452316, -0.3675675392150879, -0.11418180167675018, 0.5486898422241211, -0.7118311524391174, 0.8581060171127319, -0.24385803937911987, -0.8063803315162659, 0.42388811707496643, -0.6361889839172363, -0.6913979053497314, 0.4257444739341736, -0.26355862617492676, -0.4096749722957611, -0.06678404659032822, 0.14579471945762634, 0.5278959274291992, -0.5364983081817627, 0.4626738131046295, 0.16385075449943542, -0.089775949716568, 0.3319834768772125, -0.8086013197898865, 0.8764445185661316, 0.39956584572792053, -0.1656816601753235, 0.07062403112649918, -0.9782031774520874, -0.4263727068901062, 0.292985737323761, -0.4262043833732605, -0.29516735672950745, 0.37143415212631226, 0.17766499519348145, -0.4194450080394745, 0.4633219540119171, -0.601814866065979, -0.07352720201015472, -0.3038052022457123, 0.4877568483352661, 0.5611428618431091, 0.21552030742168427, 0.2510196566581726, -0.17005056142807007, 0.40394043922424316, 0.08089324831962585, -0.06006262078881264, -0.5784139037132263, -0.32043981552124023, -0.5143704414367676, -0.3503638803958893, 0.08280818164348602, 0.8794190883636475, -0.6927522420883179, 0.514703631401062, -0.1497161090373993, -0.5885707139968872, -0.2899665832519531, -0.27687305212020874, 0.4033301770687103, 0.2886776924133301, 0.2282768040895462, 0.0572703592479229, -0.41696447134017944, -1.0922771692276, -0.48205748200416565, -0.5347818732261658, -0.3462599515914917, 0.23645949363708496, 0.708304226398468, -0.285121351480484, 0.8847925066947937, -0.29737353324890137, -0.31279313564300537, -0.14144998788833618, 0.4696354568004608, -0.18381354212760925, 0.3702775835990906, 0.6573560833930969, -0.5927891731262207, -0.24706321954727173, -0.06376194208860397, -0.8810935020446777, -0.11522386968135834, -0.15731771290302277, 0.5366417765617371, 0.11358648538589478, 0.7558896541595459, -0.4082881808280945, 0.3700518310070038, 0.06629274040460587, -0.24524541199207306, 0.7801157236099243, 0.04343505576252937, 0.33507880568504333, -0.9525117874145508, 0.22253720462322235, -0.21359799802303314, -0.45439431071281433, -0.7168723940849304, 0.4001416563987732, -0.14909936487674713, -0.0926644429564476, -0.4106687307357788, 0.28442877531051636, -0.4332200288772583, -0.04172183573246002, -0.3939521312713623, 0.024661315605044365, -0.15255138278007507, -0.1782679408788681, -0.1907578855752945, 0.7662099003791809, 0.2857844829559326, -0.4241749942302704, 0.5902973413467407, 0.261380136013031, -0.49481576681137085, 0.4798906445503235, -0.43031206727027893, 0.08430028706789017, -0.08145207911729813, 0.19205980002880096, -0.7450466752052307, -0.3811490535736084, 0.44535955786705017, -0.7615983486175537, 0.20118142664432526, 0.026141859591007233, -0.8596261143684387, -0.016365543007850647, -0.3618859350681305, 0.7832913994789124, 0.260989248752594, -0.18227776885032654, 0.6993750929832458, 0.5004056096076965, -0.3335941731929779, -0.7132171392440796, -0.7326271533966064, 0.5830573439598083, -0.40525615215301514, -0.5301547646522522, 0.420702189207077, 0.3271773159503937, -0.7377004623413086, -0.08536780625581741, 0.5649085640907288, 0.086029551923275, 0.44749948382377625, 0.15324421226978302, 0.11952077597379684, -0.166503444314003, 0.1065637469291687, 0.0046432106755673885, 0.0017576729878783226, 0.3460606336593628, 0.07376029342412949, 0.4387993812561035, 0.1910516619682312, -0.3970653712749481, -0.4768390357494354, 0.5466935634613037, 0.6289203763008118, -0.2450251281261444, 0.568861186504364, 0.4895825684070587, -0.5010221600532532, 0.08798348903656006, -0.4718784987926483, -0.22753772139549255, -0.41173410415649414, 0.37805262207984924, -0.1066993698477745, -0.8031084537506104, 0.6678721904754639, 0.11074519902467728, 0.18884672224521637, 0.8293185830116272, 0.7606011033058167, 0.021169280633330345, 0.9556477665901184, 0.6640801429748535, -0.38580945134162903, 0.3209410011768341, 0.24173913896083832, 0.42857638001441956, -0.4118466377258301, -0.24441736936569214, -0.8023715019226074, 0.03826334327459335, -0.5011726021766663, 0.14134366810321808, 0.5348412990570068, -0.24502290785312653, -0.44857141375541687, -0.07002953439950943, -0.4843495488166809, 0.5248607397079468, 0.6355922222137451, -0.2056313455104828, 0.5270471572875977, 0.07447272539138794, 0.46612539887428284, 0.3721258044242859, -0.12190298736095428, -0.9245864748954773, 1.293015480041504, 0.5605807304382324, 0.3999723792076111, 0.11625706404447556, 0.7211253643035889, 0.7976292967796326, 0.29456791281700134, -0.9127954840660095, 0.45617789030075073, -0.22050227224826813, -0.9383925199508667, -0.30606380105018616, -0.08477503061294556, -0.6823064684867859, -0.3039216101169586, -0.3947858214378357, -0.8200342655181885, -0.30640822649002075, -0.07058294117450714, -0.3055744469165802, 0.37091007828712463, 0.015800900757312775, 0.1291951984167099, -0.14149148762226105, -0.013870513066649437, -0.33727601170539856, -0.6711522936820984, 0.48392727971076965, -0.19394582509994507, 0.2428659200668335, 0.05227337405085564, -0.05134088546037674, 0.9877279996871948, -0.39952194690704346, 0.6462081074714661, -0.01336049847304821, -0.5643271207809448, 0.8365556597709656, 0.4959835708141327, 0.5200665593147278, 0.13934718072414398, 0.09050959348678589, 0.08573727309703827, -0.03776709362864494, 0.19655846059322357, -0.1227225661277771, 0.2830626964569092, -0.5713127255439758, -0.5036627054214478, -0.2659110426902771, -0.6672027707099915, 0.12788332998752594, 0.5635987520217896, 0.6744502782821655, 0.48753437399864197, -0.4718707799911499, -0.07731498032808304, 0.8203549981117249, -0.43224141001701355, 0.5381381511688232, 0.16011856496334076, 0.016279269009828568, -0.3933424949645996, 1.3258625268936157, -0.49366089701652527, -0.05417320132255554, 0.2757182717323303, -0.05527913197875023, -0.05693621560931206, -1.1517261266708374, -0.6015931367874146, -0.05621285364031792, -0.7691332101821899, -0.5618629455566406, -0.6773098111152649, -0.29737547039985657, -0.4834378659725189, -0.15471026301383972, -0.33107414841651917, -0.2180938571691513, -0.8123285174369812, 0.04022228345274925, 0.3831329047679901, 1.0144461393356323, 0.1631065011024475, 0.48625993728637695, -0.993614912033081, 0.3410814106464386, -0.08951938897371292, 0.002750720363110304, -0.11807296425104141, -0.31204167008399963, -0.08810198307037354, -0.05202978849411011, -0.3613838851451874, -0.7175472378730774, 0.37430644035339355, 0.009929708205163479, 0.2137734591960907, 0.597955048084259, -0.07729402929544449, -0.19741134345531464, -0.5681543350219727, 1.2808724641799927, 0.06066408380866051, -0.7450123429298401, 0.519697368144989, -0.6314617395401001, -0.30841946601867676, 0.4063754379749298, 0.29462161660194397, -0.30822107195854187, -0.5677529573440552, -0.34703028202056885, -0.7564867734909058, 0.5235223770141602, 0.1938047707080841, 0.3494853079319, 0.10319043695926666, 0.4438651204109192, 0.28138887882232666, 0.21339166164398193, -0.8397054076194763, -0.38504743576049805, -0.08993823081254959, -0.5265703201293945, 0.16393128037452698, -0.2098073810338974, -0.3171866238117218, 0.29918473958969116, 0.4916098117828369, -0.10966602712869644, 0.44586172699928284, -0.061441484838724136, -0.1580209583044052, 0.17305110394954681, -0.005337780807167292, 0.5264280438423157, 0.11516116559505463, 0.06237124651670456, 0.03427090868353844, -0.25760993361473083, -0.6871034502983093, 0.418152779340744, -0.18905216455459595, -0.3702029883861542, -0.28142136335372925, 0.8885858654975891, 0.3873358368873596, -0.74215167760849, -0.7593321800231934, 0.6694210171699524, 0.02382199652493, -0.4442388713359833, -0.65496426820755, 0.05088745802640915, -0.3614504635334015, 0.08988812565803528, 0.7470180988311768, 0.034779902547597885, 0.5930618643760681, -0.6675595641136169, 0.02415418066084385, 0.6294692158699036, -0.08107306808233261, -0.20338767766952515, 0.49802568554878235, 0.2562958300113678, -0.42713338136672974, 0.7969261407852173, 0.10891301929950714, -0.49796152114868164, 0.5858960151672363, 0.4608256220817566, 0.9717984795570374, 0.08079495280981064, 0.057180095463991165, -0.05279654636979103, 0.4800645112991333, 0.12800471484661102, -0.10100382566452026, -0.012181983329355717, -1.0373488664627075, 0.03584590181708336, -0.5198193192481995, -0.10535302013158798, 0.3936960995197296, -0.37888139486312866, 0.22970622777938843, -0.5306310057640076, -0.08228355646133423, 0.12159842252731323, -0.3899189829826355, -0.18339993059635162, 0.22622190415859222, 0.2809954285621643, 0.6902006268501282, -0.8023068904876709, 0.30401018261909485, 0.4795065224170685, -0.2563372850418091, -0.2941068112850189, 0.07698585838079453, 0.4546530544757843, -0.8482863306999207, 0.47260138392448425, 0.028526317328214645, -0.31524658203125, 0.15040837228298187, -1.0234804153442383, -0.7272583842277527, 0.9471001029014587, 0.21404443681240082, 0.12614329159259796, -0.21998032927513123, 0.43786686658859253, 0.5036014318466187, -0.38799309730529785, 0.04642066732048988, 0.8159151673316956, 0.33373433351516724, -0.32170572876930237, -0.586591899394989, 0.07918480783700943, -0.3050388991832733, -0.3123210668563843, 0.25517308712005615, -0.2580704391002655, 0.8315961956977844, 0.0832316055893898, -0.4584731161594391, 0.3054807484149933, 0.5843621492385864, 0.15243814885616302, 0.24997709691524506, 0.17000290751457214, 0.42894846200942993, 0.4718917906284332, 0.02655569091439247, 0.9380873441696167, -0.0627085268497467, -0.12744122743606567, 0.6132916212081909, -0.11146362125873566, 0.42982587218284607, 0.40478086471557617, -0.15281197428703308, 0.5613287687301636, 0.6128620505332947, -0.29842638969421387, 0.24443741142749786, 0.20769014954566956, -0.2923617660999298, -0.041045982390642166, -0.31047117710113525, -0.02354038506746292, 0.7910219430923462, 0.6927394270896912, -0.729677140712738, -0.05215607210993767, 0.19986112415790558, -0.15943150222301483, 0.0910138338804245, -0.34155893325805664, 1.1993932723999023, -0.4198412001132965, -0.5179126262664795, 0.14107894897460938, 0.34813299775123596, 0.8119277954101562, -0.17843809723854065, 0.013537231832742691, 0.07715311646461487, 0.001137354876846075, -0.10693953186273575, -0.9337911009788513, 0.3465516269207001, 0.0991264283657074, -0.44425058364868164, -0.3019999861717224, 1.1613456010818481, -0.03829800337553024, -0.27435624599456787, -0.1557009071111679, 0.4026235044002533, 0.2677991986274719, -0.247235968708992, -0.19474796950817108, 0.012428343296051025, -0.049972351640462875, -0.16614745557308197, 0.21717122197151184, 0.4090573787689209, -0.08471386879682541, 0.8293683528900146, 0.365785151720047, -0.03595472127199173, -0.011498075909912586, -0.31919774413108826, 0.5719522833824158, -0.5254531502723694, -0.3028794527053833, -1.0189110040664673, 0.25270727276802063, 0.08145950734615326, -0.0939834862947464, 0.38277363777160645, 0.3434234857559204, 0.6387559771537781, 0.0488126203417778, 1.1956512928009033, -0.2980900704860687, 0.5994022488594055, -0.5642070174217224, 1.1918411254882812, -0.6309389472007751, 0.20110207796096802, -0.2541341185569763, -0.6233531832695007, -0.2529851794242859, 0.03465377539396286, 0.18354086577892303, -0.21774065494537354, 0.48112013936042786, 0.4035785496234894, 0.08966492116451263, 0.13860532641410828, -0.08661135286092758, -0.24421773850917816, 0.5826612114906311, 0.3499253988265991, 0.9737817645072937, -0.4770151376724243, 0.5597503781318665, 0.37716493010520935, -0.06754973530769348, -0.22459080815315247, -0.8861516714096069, -0.6746410131454468, -0.8377059102058411, -0.0891248881816864, 0.003101994516327977, -0.28791967034339905, 0.2812453508377075, 0.2069031447172165, -0.634009599685669, -0.06949129700660706, -0.21974582970142365, -0.05323294922709465, 0.3602357804775238, -0.18501392006874084, 0.20177844166755676, -0.06887716799974442, -0.621187150478363, 0.19611532986164093, 0.19048115611076355, 0.38752031326293945, -0.455886572599411, 0.351176917552948, -0.1870609074831009, 0.20526233315467834, 0.6724374294281006, -0.012112435884773731, -0.7404826879501343, -0.4233314096927643, -0.1906689703464508, -0.2895703911781311, -0.11950420588254929, 1.1595499515533447, -0.5771413445472717, -0.00287529150955379, 0.5592688918113708, 0.9486249685287476, 0.018531832844018936, -0.0925283133983612, 0.7852795720100403, -0.6693345904350281, -0.10294249653816223, 0.5112695097923279, 0.1350899189710617, 0.22106632590293884, -0.7320813536643982, 0.24403339624404907, 0.29614388942718506, -0.5587252974510193, -1.0121504068374634, 0.513014554977417, -0.31685811281204224, -0.5022886991500854, 0.7680715322494507, -0.004952343180775642, 0.06735321134328842, -0.31733110547065735, -0.022861631587147713, 0.38742417097091675, -0.08588796108961105, 0.6343317031860352, 0.789040207862854, -0.09689852595329285, 0.06874606758356094, -0.10653446614742279, 0.6928776502609253, 0.06903373450040817, -0.8992446660995483, 0.4271409213542938, 0.9028738141059875, 0.08655965328216553, 0.5922125577926636, 0.6012190580368042, -0.38088393211364746, 0.05059921368956566, 0.025330593809485435, 0.09120461344718933, -0.042766354978084564, -0.5858047008514404, -0.0858762338757515, 0.29616326093673706, -0.017524002119898796, 0.03541882336139679 ]
http://arxiv.org/abs/2403.04780v2
http://arxiv.org/pdf/2403.04780v2
MuseGraph: Graph-oriented Instruction Tuning of Large Language Models for Generic Graph Mining
2024-03-02T09:27:32
2024-03-13T15:52:33
Yanchao Tan, Hang Lv, Xinyi Huang, Jiawei Zhang, Shiping Wang, Carl Yang
cs.CL
cs.CL, cs.AI
Graphs with abundant attributes are essential in modeling interconnected entities and improving predictions in various real-world applications. Traditional Graph Neural Networks (GNNs), which are commonly used for modeling attributed graphs, need to be re-trained every time when applied to different graph tasks and datasets. Although the emergence of Large Language Models (LLMs) has introduced a new paradigm in natural language processing, the generative potential of LLMs in graph mining remains largely under-explored. To this end, we propose a novel framework MuseGraph, which seamlessly integrates the strengths of GNNs and LLMs and facilitates a more effective and generic approach for graph mining across different tasks and datasets. Specifically, we first introduce a compact graph description via the proposed adaptive input generation to encapsulate key information from the graph under the constraints of language token limitations. Then, we propose a diverse instruction generation mechanism, which distills the reasoning capabilities from LLMs (e.g., GPT-4) to create task-specific Chain-of-Thought-based instruction packages for different graph tasks. Finally, we propose a graph-aware instruction tuning with a dynamic instruction package allocation strategy across tasks and datasets, ensuring the effectiveness and generalization of the training process. Our experimental results demonstrate significant improvements in different graph tasks, showcasing the potential of our MuseGraph in enhancing the accuracy of graph-oriented downstream tasks while keeping the generation powers of LLMs.
[ 0.009652109816670418, -0.6742882132530212, 0.5314858555793762, -0.09579450637102127, -0.16617465019226074, 0.4841928780078888, -0.2100842148065567, -0.22409626841545105, 0.17383235692977905, 0.46302762627601624, -0.8116868734359741, -1.0156937837600708, -0.5999283790588379, -0.12269994616508484, -0.17049601674079895, 0.7721790075302124, -0.05229847505688667, -0.012148904614150524, -0.3599330484867096, -0.12620310485363007, -0.5509417057037354, -0.21217156946659088, -0.7471392750740051, -0.3814106583595276, 0.594586968421936, 0.29569897055625916, 0.42837971448898315, 0.781360924243927, 0.14323478937149048, 0.36155444383621216, 0.20126372575759888, 0.719569206237793, -0.6810895204544067, 0.02238333597779274, -0.2701936662197113, -0.5900532603263855, -0.6686239838600159, -0.10750465840101242, 0.6843135356903076, 0.7158448100090027, 0.12984944880008698, 0.2780832350254059, 0.24564959108829498, 0.23143582046031952, -0.33361130952835083, 0.7268635034561157, -0.7697535157203674, -0.03630666434764862, -0.3765953779220581, -0.2219604253768921, -0.6095740795135498, -0.16930320858955383, -0.19455699622631073, -0.6817196607589722, 0.45122307538986206, 0.25333428382873535, 0.7575077414512634, 0.17489106953144073, -0.244125634431839, -0.2032732516527176, -0.23162822425365448, 0.43956851959228516, -0.4868134558200836, 0.1624710112810135, 0.17437362670898438, 0.284770131111145, -0.3354409337043762, -1.0984386205673218, -0.2910636365413666, 0.07551763951778412, -0.12269425392150879, 0.03556632250547409, -0.2963084578514099, 0.1963646113872528, 0.11004431545734406, 0.30411291122436523, -0.4889014959335327, 0.5308097004890442, 0.03885488212108612, -0.334113746881485, 0.1852022111415863, 0.38832521438598633, 0.3900738060474396, -0.144429013133049, -0.025498008355498314, 0.10007213056087494, -0.8454052209854126, -0.1529160737991333, 0.5690970420837402, 0.6387141346931458, 0.1854018121957779, 0.4638477563858032, -0.2584063708782196, 1.0000783205032349, 0.045665305107831955, 0.013865616172552109, 0.32956352829933167, 0.05601311847567558, -0.15873095393180847, -0.10977154970169067, 0.6764763593673706, 0.1887206733226776, 0.15862077474594116, -0.5279190540313721, -0.03213998302817345, 0.09957912564277649, 0.25144413113594055, -0.8443301320075989, -0.47999510169029236, -0.24100753664970398, -0.10640131682157516, -0.37421050667762756, -0.23859208822250366, -0.6360845565795898, -0.3996526002883911, -0.22621934115886688, 0.15854576230049133, -0.4791705310344696, 0.07857772707939148, -0.012047491036355495, -0.04650231823325157, -0.0699344202876091, 0.1774487942457199, -0.9293146729469299, 0.23674209415912628, 0.7694866061210632, 0.8431743383407593, -0.23292483389377594, -0.3649293780326843, -0.7660373449325562, 0.3844871520996094, -0.10669239610433578, 0.8101226091384888, -0.863539457321167, -0.27714234590530396, -0.08559224754571915, 0.13529899716377258, -0.5795246362686157, -0.39736753702163696, 0.43554213643074036, -0.6141321063041687, 0.007572160568088293, -0.11683841049671173, -0.5996706485748291, -0.261522114276886, 0.4139822721481323, -0.5689049959182739, 1.0317277908325195, 0.5046968460083008, -0.7452251315116882, 0.32406434416770935, -0.7548558115959167, -0.7447917461395264, 0.22095388174057007, -0.024324316531419754, -0.47813084721565247, -0.17639215290546417, 0.49770593643188477, 0.4413778781890869, -0.4267512857913971, 0.07149998843669891, -0.3985004127025604, -0.3338596224784851, 0.008306743577122688, -0.37369200587272644, 0.7132938504219055, -0.03911822661757469, -0.42748045921325684, 0.3842192590236664, -0.6271637082099915, 0.2886432707309723, 0.13136540353298187, -0.34535419940948486, 0.11019843816757202, 0.107718825340271, -0.37195226550102234, 0.009782509878277779, 0.16189144551753998, -0.4754015803337097, 0.35039302706718445, -0.2095281183719635, 0.9094370007514954, 0.9736504554748535, -0.061601851135492325, 0.18218746781349182, -0.03622281551361084, 0.4486672580242157, -0.29400813579559326, -0.017562104389071465, -0.13229058682918549, -0.4383438229560852, -0.9003983736038208, -0.4746440649032593, 0.34485384821891785, 0.6268576979637146, -0.6568836569786072, 0.3853963613510132, -0.6208515763282776, -0.26441505551338196, -0.34375232458114624, 0.27183154225349426, 0.26863670349121094, 0.7523179054260254, 0.25582632422447205, -0.2515890300273895, -0.4349583685398102, -0.5797967910766602, -0.04154504835605621, -0.014264512807130814, 0.07347386330366135, 0.8166683912277222, -0.03054370917379856, -0.32534292340278625, 0.856155514717102, -0.9179926514625549, -0.2684327960014343, -0.4636553227901459, 0.062735415995121, 0.24589364230632782, 0.2857019007205963, 0.5062865018844604, -0.3087491989135742, -0.40049394965171814, -0.052679333835840225, -0.5830152034759521, -0.27290594577789307, 0.09152717143297195, -0.42858052253723145, -0.08289521187543869, 0.5494588017463684, -0.744879961013794, 0.1398514062166214, 0.4301878809928894, 0.040679335594177246, 0.3417009711265564, -0.15541890263557434, -0.1239328533411026, -0.9516021013259888, -0.19466577470302582, -0.2194601446390152, -0.5751276016235352, -0.16840513050556183, 0.20633310079574585, -0.1537705659866333, -0.5254181623458862, -0.013158069923520088, 0.2674684524536133, -0.5346834063529968, -0.016674773767590523, -0.35024574398994446, 0.2856101095676422, 0.1937238723039627, 0.622207760810852, -0.30276015400886536, 0.6502124667167664, 0.8988999128341675, -0.4396494925022125, 0.7282720804214478, 0.12514622509479523, -0.27499812841415405, 0.5791867971420288, -0.3141001760959625, 0.4672170579433441, -0.07877197116613388, 0.4214685261249542, -0.9978561997413635, -0.3299546241760254, 0.3874609172344208, -0.29650822281837463, 0.6945887207984924, -0.4281585216522217, -0.5340189337730408, -0.7370538115501404, 0.11443394422531128, -0.049332790076732635, 0.29341211915016174, -0.7052252888679504, 0.8464294672012329, 0.3495714068412781, -0.07276340574026108, -0.41370365023612976, -0.4419623017311096, 0.22192750871181488, -0.11745991557836533, -0.7391287684440613, 0.4186965227127075, 0.17535383999347687, 0.42278820276260376, 0.4158448576927185, -0.13128457963466644, 0.11759807169437408, 0.09720193594694138, 0.22831682860851288, 0.2547948658466339, -0.21321438252925873, 0.21857595443725586, 0.044370464980602264, -0.31106436252593994, -0.1482105404138565, -0.9715293049812317, 0.9214325547218323, -0.010922199115157127, -0.4818473756313324, -0.19109277427196503, 0.012300338596105576, 0.3125377595424652, -0.4513443112373352, 0.5075746774673462, 0.773517906665802, -0.18433412909507751, -0.5004171133041382, -0.05253630131483078, 0.11498785763978958, -0.5086624622344971, 0.6469095945358276, -0.3604876697063446, -0.9135472774505615, 0.439859002828598, -0.6142898201942444, -0.023374691605567932, 0.3148943781852722, 0.5454900860786438, -0.03207375109195709, 1.0063481330871582, 0.4032405912876129, -0.38055914640426636, 0.4461731016635895, -0.5795740485191345, 0.3162895739078522, -1.028261423110962, -0.156375914812088, -0.2897033095359802, -0.6297236084938049, -0.4104963541030884, -0.5397217869758606, 0.12536339461803436, -0.1513921171426773, -0.3362218737602234, 0.2808091938495636, -0.5674023628234863, 0.55088871717453, 0.6242218613624573, 0.3056727349758148, -0.14051783084869385, 0.01845932938158512, -0.19825051724910736, 0.2937449514865875, -0.915183424949646, -0.291989803314209, 1.1369612216949463, -0.1513405442237854, 0.7069196105003357, -0.13471978902816772, 0.5464791655540466, 0.23860172927379608, 0.4341264069080353, -0.6491183638572693, 0.7587981820106506, -0.43764063715934753, -0.19195829331874847, -0.3228915333747864, -0.6172440052032471, -1.0258874893188477, -0.04806068539619446, -0.05208558589220047, -0.9451462626457214, -0.3173270523548126, 0.43254390358924866, 0.04961321875452995, 0.5578298568725586, -0.753415048122406, 1.0400100946426392, -0.24633429944515228, -0.253104567527771, -0.13107147812843323, -0.2605677545070648, 0.07696808874607086, 0.2822202146053314, -0.06880635023117065, -0.2111644744873047, 0.19245906174182892, 0.2952175438404083, -0.4153846502304077, 1.1482594013214111, -0.30747660994529724, 0.23839716613292694, 0.44422951340675354, 0.03521343320608139, 0.9757037162780762, -0.044146277010440826, -0.06470012664794922, 0.07244133204221725, -0.7818859219551086, -0.33876895904541016, -0.7347713708877563, 1.0058746337890625, -0.6797780394554138, -0.9355524778366089, 0.11012522131204605, -0.9922972917556763, -0.3801308870315552, 0.4722811281681061, 0.37826868891716003, 0.6537740230560303, -0.11918136477470398, -0.0018620491027832031, 0.4416555166244507, -0.01833084598183632, 0.0655367448925972, 0.05135386064648628, 0.034863412380218506, -0.32284003496170044, 1.2880066633224487, 0.1423613578081131, 0.24988099932670593, 0.5359102487564087, 0.0646623969078064, -0.15571695566177368, -0.7491672039031982, -0.6917572617530823, 0.04404381662607193, -0.7565500140190125, -0.2899787127971649, -0.705753743648529, -0.07845563441514969, -0.5397329330444336, -0.10520441085100174, -0.03080095909535885, -0.3581170439720154, -0.5439938306808472, -0.28610408306121826, 0.5327214598655701, 0.2908410131931305, 0.291989803314209, 0.32674989104270935, -0.4365087151527405, 0.05502219498157501, 0.566318690776825, 0.5477005839347839, 0.06724805384874344, -0.18924491107463837, -0.2034822702407837, -0.02851467952132225, -0.4191155433654785, -0.6145598888397217, 0.09287860244512558, 0.3873947560787201, 0.7305839657783508, 0.2772817611694336, -0.08490590006113052, 0.7010031938552856, -0.7294957041740417, 0.43535494804382324, -0.09054305404424667, -0.8825139999389648, 0.24021267890930176, -0.4514530599117279, 0.10003439337015152, 0.10385625809431076, 0.08176722377538681, -0.4311196506023407, -0.40135306119918823, -0.5496824383735657, -1.025016188621521, 0.7799403667449951, -0.11879124492406845, 0.2897855341434479, -0.048361122608184814, 0.3079570531845093, -0.1470441073179245, 0.17178653180599213, -0.5880899429321289, -0.06284410506486893, -0.5792633891105652, -0.592951774597168, 0.036375947296619415, 0.15233658254146576, -0.32080182433128357, -0.12039877474308014, 0.6115718483924866, -0.5058510303497314, 0.3246791660785675, -0.41793182492256165, -0.32913780212402344, 0.12423618882894516, 0.0038984541315585375, 0.046710845082998276, 0.5963647961616516, -0.01637379266321659, 0.31115859746932983, 0.2806583642959595, -0.4245053231716156, -0.039763495326042175, 0.355398029088974, -0.32197991013526917, -0.2680899500846863, 0.33582592010498047, 1.2407341003417969, 0.33544138073921204, -0.4797099828720093, 0.20795397460460663, 0.37358558177948, 0.13741733133792877, 0.09962999075651169, 0.5456581115722656, 0.536992609500885, 0.0982188731431961, 0.034635040909051895, 0.07238812744617462, -0.06143336743116379, -0.4298807382583618, 0.10799399763345718, 0.5479716062545776, -0.41267287731170654, -0.25451990962028503, 0.7104051113128662, 0.2316901981830597, -0.4963722229003906, 0.9966046810150146, -0.4593997001647949, -0.5665022730827332, 0.4862859845161438, 1.0079792737960815, 0.8318086862564087, 0.07695942372083664, 0.3884844481945038, 0.18789081275463104, 0.23796305060386658, 0.5339167714118958, -0.16939204931259155, 0.11237727850675583, -0.8049631118774414, -0.41422128677368164, -0.39523082971572876, -0.2278527468442917, -0.0165175162255764, -0.3446672856807709, 0.09793440252542496, -0.48333144187927246, -0.13547278940677643, 0.058209288865327835, -0.11501038819551468, -0.609285831451416, 0.046777017414569855, -0.08561607450246811, 0.644078254699707, -0.5893113613128662, 0.6904768943786621, 0.6065159440040588, -0.07448939234018326, -0.8523162603378296, -0.20556025207042694, 0.054660264402627945, -1.0975102186203003, 0.4594796299934387, 0.2713724970817566, -0.1139955073595047, 0.3937419652938843, -0.39128515124320984, -0.8544124364852905, 1.262312412261963, 0.6531065106391907, -0.2910972535610199, -0.03924443945288658, 0.20762348175048828, 0.3139266073703766, -0.6248493790626526, -0.2713419198989868, 0.5085884928703308, 0.23796166479587555, 0.2946363091468811, -0.30016839504241943, 0.12601447105407715, -0.29120463132858276, -0.07341990619897842, 0.44737663865089417, -0.6841496229171753, 0.8913421034812927, -0.18952171504497528, -0.31169962882995605, -0.1151471808552742, 0.5522505044937134, 0.17695385217666626, 0.11803639680147171, 0.5325507521629333, 0.7714198231697083, 1.2294518947601318, -0.3121695816516876, 1.1676609516143799, -0.4501463770866394, 0.1891564577817917, 1.1491352319717407, -0.3223368525505066, 0.13195517659187317, -0.2874790132045746, -0.022574961185455322, 0.765122652053833, 0.6974725127220154, -0.1431286782026291, 0.28780797123908997, 0.3943566679954529, -0.2469238042831421, -0.467536598443985, 0.0035431513097137213, -0.009974384680390358, 0.3517175316810608, 0.4538378417491913, -0.39605090022087097, -0.38540151715278625, -0.06463782489299774, 0.1647014319896698, -0.09094850718975067, -0.5319363474845886, 0.393701434135437, -0.22862650454044342, -0.4258866608142853, 0.35397565364837646, 0.055736202746629715, 0.2293422818183899, -0.6455042958259583, 0.01978074386715889, 0.08937278389930725, 0.2006807178258896, -0.13457274436950684, -0.5915493369102478, -0.11308375746011734, 0.07189825922250748, -0.3474861681461334, -0.06750500202178955, 0.8158870339393616, -0.1731937825679779, -0.6488997340202332, 0.06518026441335678, 0.10707099735736847, -0.10891654342412949, 0.21224157512187958, -0.6110073924064636, -0.17963244020938873, 0.050489019602537155, -0.03432224690914154, 0.39618223905563354, 0.598842442035675, -0.22481191158294678, 0.7544554471969604, 0.8430603742599487, 0.1575217992067337, 0.21642132103443146, 0.32933568954467773, 1.2501858472824097, -0.26714545488357544, -0.5315181612968445, -0.5973262190818787, 0.28960514068603516, -0.31551381945610046, -0.19282056391239166, 0.835102379322052, 0.6889323592185974, 0.5833790898323059, 0.15907151997089386, 0.7945778369903564, -0.03537142649292946, 0.27513980865478516, -0.6240989565849304, 0.4056476652622223, -0.0537673719227314, 0.1140168085694313, -0.30471229553222656, -0.9685729742050171, -0.3030926287174225, 0.4504888653755188, -0.4185445010662079, 0.034122224897146225, 0.46879640221595764, 0.8768954873085022, -0.2194085270166397, -0.10231953114271164, -0.21385246515274048, 0.23513227701187134, 0.4918712377548218, 0.5906133055686951, 0.4138437509536743, 0.11859910935163498, 0.7113131880760193, 0.24162869155406952, -0.23489069938659668, -0.02478042058646679, -0.8323785662651062, -0.8605622053146362, -0.23836974799633026, -0.24882511794567108, -0.2736643850803375, -0.04344955459237099, 0.5578264594078064, 0.6710295081138611, -0.48341044783592224, 0.07692856341600418, -0.3734700679779053, 0.3191337287425995, -0.3949746787548065, -0.2150643914937973, 0.768904447555542, -0.6005915403366089, -0.860004723072052, 0.47788429260253906, 0.5464083552360535, -0.13427680730819702, -0.1099853515625, 0.07873090356588364, 0.0362267829477787, 0.0024705221876502037, 0.4896514415740967, 0.24288471043109894, -0.24196983873844147, -0.619500458240509, 0.14541468024253845, 0.11037927120923996, 0.11573923379182816, 0.9774662256240845, -0.6157000660896301, 0.5436844229698181, 0.32689541578292847, 0.6261622905731201, 0.8176335692405701, -0.1483781933784485, 0.3926478326320648, -0.9907909631729126, 0.2517527639865875, 0.08355219662189484, 0.5366663932800293, 0.4672614336013794, -0.44521474838256836, 0.3753412067890167, 0.4813324809074402, -0.35074976086616516, -0.8107435703277588, 0.6158139705657959, -0.8285189270973206, -0.21066991984844208, 0.7903759479522705, -0.48038697242736816, -0.29460081458091736, -0.025961782783269882, -0.15199579298496246, 0.4040736258029938, -0.04550414904952049, 0.6654162406921387, 0.5151670575141907, -0.31691282987594604, 0.04773474857211113, -0.06111926585435867, 0.10433996468782425, -0.22121982276439667, -0.8180937170982361, 0.2527769207954407, 0.627528965473175, 0.37121665477752686, 0.01099956315010786, 0.49466344714164734, 0.09558019787073135, 0.0061393603682518005, 0.1554238349199295, -0.06778611987829208, -0.6353739500045776, -0.21228386461734772, 0.4262276887893677, 0.33425650000572205, -0.03812149167060852, -0.33848756551742554 ]
http://arxiv.org/abs/2403.01139v4
http://arxiv.org/pdf/2403.01139v4
ParallelPARC: A Scalable Pipeline for Generating Natural-Language Analogies
2024-03-02T08:53:40
2024-05-14T16:41:24
Oren Sultan, Yonatan Bitton, Ron Yosef, Dafna Shahaf
cs.CL
cs.CL, cs.AI
Analogy-making is central to human cognition, allowing us to adapt to novel situations -- an ability that current AI systems still lack. Most analogy datasets today focus on simple analogies (e.g., word analogies); datasets including complex types of analogies are typically manually curated and very small. We believe that this holds back progress in computational analogy. In this work, we design a data generation pipeline, ParallelPARC (Parallel Paragraph Creator) leveraging state-of-the-art Large Language Models (LLMs) to create complex, paragraph-based analogies, as well as distractors, both simple and challenging. We demonstrate our pipeline and create ProPara-Logy, a dataset of analogies between scientific processes. We publish a gold-set, validated by humans, and a silver-set, generated automatically. We test LLMs' and humans' analogy recognition in binary and multiple-choice settings, and found that humans outperform the best models (~13% gap) after a light supervision. We demonstrate that our silver-set is useful for training models. Lastly, we show challenging distractors confuse LLMs, but not humans. We hope our pipeline will encourage research in this emerging field.
[ -0.40309110283851624, -0.5319116711616516, 0.7419441938400269, 0.1969386339187622, -0.29483795166015625, 0.014142674393951893, -0.31531015038490295, -0.19659295678138733, 0.2607031464576721, 0.14019432663917542, -0.5907249450683594, -0.23348385095596313, -0.44053134322166443, 0.27825412154197693, -0.5048384666442871, 0.9163466095924377, -0.044270094484090805, 0.052114807069301605, -0.5188507437705994, -0.07130704075098038, -0.4191642701625824, -0.3571273386478424, -0.6917813420295715, -0.35732874274253845, 0.47860991954803467, 0.3035491406917572, 0.7672284245491028, 0.9901067018508911, 0.40160393714904785, 0.42562609910964966, 0.011587142944335938, -0.0200948566198349, -0.4456542730331421, 0.048520248383283615, -0.4366036653518677, -0.39607474207878113, -0.15781404078006744, 0.07422278076410294, 0.5969071984291077, 0.9927480220794678, -0.05389922857284546, 0.20744052529335022, 0.10773014277219772, 0.5573254823684692, -0.6265653967857361, 0.3958098292350769, -0.8475059270858765, 0.1727191060781479, -0.2490377128124237, 0.021691346541047096, 0.061102885752916336, -0.3464469015598297, 0.08604948222637177, -0.8286506533622742, 0.40470966696739197, 0.5052566528320312, 0.7616758346557617, 0.15851537883281708, 0.17394928634166718, -0.4583594501018524, -0.6772743463516235, 0.8346021771430969, -0.5698596835136414, 0.07187847793102264, -0.013615484349429607, 0.4064902365207672, -0.2681845426559448, -1.142571210861206, -0.977027952671051, -0.1875002235174179, 0.08913509547710419, 0.23469604551792145, -0.07058418542146683, -0.1434093415737152, 0.22905047237873077, 0.4063767194747925, -0.49337175488471985, 0.16858775913715363, -0.37536031007766724, -0.10754777491092682, 0.2864106297492981, 0.6762872338294983, 0.46730801463127136, -0.02521275170147419, -0.28330016136169434, -0.11238440126180649, -0.7938597202301025, -0.223593607544899, 0.30944451689720154, 0.07204156368970871, 0.20527687668800354, 0.4584818184375763, -0.23061497509479523, 0.7192503809928894, -0.07969183474779129, -0.05649430304765701, 0.1132063940167427, -0.3318844437599182, -0.014768147841095924, 0.2102615386247635, 0.9328601956367493, 0.5724949836730957, 0.32850709557533264, -0.42121028900146484, 0.017742685973644257, 0.5820746421813965, 0.2163226455450058, -0.7950584292411804, -0.3622525632381439, 0.07892496138811111, -0.2671225368976593, -0.2865409851074219, 0.021338175982236862, -0.7617231011390686, -0.4982478618621826, -0.6968600153923035, 0.30594226717948914, -0.3015429973602295, 0.12583282589912415, 0.21011044085025787, -0.3684600293636322, 0.06457705050706863, 0.08514424413442612, -0.8858286738395691, 0.7846918106079102, 0.8436993360519409, 0.8223840594291687, -0.3751346468925476, -0.9515873789787292, -0.5029410123825073, 0.3408711850643158, -0.3145979046821594, 1.0148301124572754, -0.4836156368255615, -0.2228049486875534, -0.25493377447128296, -0.19147907197475433, 0.0038704758044332266, -0.9091410636901855, 0.851088285446167, 0.07739275693893433, 0.3519994020462036, -0.1495380997657776, -0.7593369483947754, 0.22130680084228516, 0.009444734081625938, -0.5455828905105591, 0.5984470248222351, -0.1694958209991455, -1.034749150276184, 0.06518010795116425, -0.4913576543331146, -0.15586444735527039, 0.1276228278875351, -0.34398308396339417, -0.15895143151283264, 0.1491568386554718, 0.2984600067138672, 0.21411076188087463, -0.8847463726997375, 0.33426761627197266, -0.48008644580841064, -0.5092516541481018, 0.4098663926124573, -0.2579469084739685, 0.5711467862129211, 0.33049267530441284, 0.14122872054576874, 0.25989869236946106, -0.6011954545974731, -0.1440996676683426, 0.17086531221866608, 0.15115785598754883, -0.35407888889312744, 0.1067420095205307, -0.14966826140880585, 0.4446130394935608, 0.09217973798513412, -0.7785962820053101, -0.2718927264213562, -0.3263643980026245, 0.85988849401474, 0.6288059949874878, -0.047222837805747986, 0.3956378102302551, -0.7408936619758606, 0.3798162043094635, 0.17239783704280853, -0.15500400960445404, -0.3645772635936737, -0.34519678354263306, -0.998753011226654, -0.5678653717041016, 0.27674978971481323, 0.5182090997695923, -0.5117630362510681, 0.47009792923927307, -0.6606348752975464, -0.506513774394989, -0.6469331979751587, -0.10088704526424408, 0.20951063930988312, 1.0012359619140625, 0.1717500388622284, -0.3194868564605713, -0.6071010231971741, -1.0020197629928589, -0.4699110686779022, -0.0437970794737339, -0.7388783097267151, 0.12146645784378052, 0.28496304154396057, 0.037801578640937805, 1.142129898071289, -0.6640100479125977, -0.3454520106315613, 0.027940455824136734, 0.24124793708324432, 0.19620709121227264, 0.24462878704071045, 0.22483839094638824, -0.4008887708187103, -0.32679495215415955, -0.22375281155109406, -0.9449954628944397, -0.3380178213119507, -0.3198436200618744, -0.171861931681633, -0.523262083530426, 0.6831890344619751, -0.7589010000228882, 0.015357146970927715, 0.18671563267707825, -0.08691497147083282, 0.6726177334785461, -0.2116905152797699, -0.16473257541656494, -1.1095764636993408, 0.2305649220943451, 0.027937036007642746, -0.07688558846712112, -0.5716375112533569, -0.09266035258769989, -0.21454927325248718, -0.49707236886024475, -0.6492515206336975, 0.6810210943222046, -0.18293985724449158, -0.050993725657463074, -0.20369689166545868, 0.284186989068985, 0.13975360989570618, 0.38496267795562744, 0.18159587681293488, 0.9315658211708069, 0.6636784672737122, -0.2674616575241089, 0.3904436230659485, 0.25910645723342896, -0.44308754801750183, 0.589024543762207, -0.8413270115852356, -0.054022166877985, -0.25596025586128235, 0.4615135192871094, -0.5376626253128052, -0.42592328786849976, 0.15902045369148254, 0.06685484945774078, -0.2525351941585541, 0.36618584394454956, -0.7083404660224915, -0.35411539673805237, -0.43287670612335205, 0.3845134675502777, 0.8214024901390076, -0.598082423210144, 0.3166847229003906, 0.40100759267807007, -0.6375171542167664, -0.14753557741641998, -0.581226646900177, 0.34557732939720154, -0.6033306121826172, -0.28832536935806274, 0.5082593560218811, -0.12432816624641418, -0.33121588826179504, 0.0017867175629362464, 0.07121141999959946, -0.1732378453016281, -0.24874137341976166, 0.33775827288627625, 0.3081073462963104, 0.04824182391166687, -0.07093629986047745, 0.06951110064983368, -0.11704690009355545, 0.284136563539505, -0.1870518922805786, 0.3041130602359772, -0.3618256747722626, -0.3717505633831024, -0.4351710081100464, 0.44694647192955017, 0.6473475098609924, 0.1582087129354477, 0.5989312529563904, 0.3007233142852783, -0.33261892199516296, -0.10276772081851959, -0.36013227701187134, -0.23712413012981415, -0.47928565740585327, 0.19994790852069855, -0.40392664074897766, -0.7236786484718323, 0.5216195583343506, -0.46672943234443665, -0.11955588310956955, 0.11363190412521362, 0.649179220199585, -0.15791237354278564, 0.5550892353057861, -0.06153770536184311, 0.10800869017839432, 0.07494556903839111, 0.1555521935224533, 0.3129226267337799, -0.7851598858833313, 0.12829868495464325, -0.273904025554657, -0.2570377588272095, -0.33523520827293396, -0.5126624703407288, 0.24595916271209717, 0.357735276222229, -0.27824869751930237, 0.329434335231781, -0.40878406167030334, 0.6835815906524658, 0.5560328364372253, -0.12825195491313934, 0.2683529257774353, 0.017220407724380493, -0.19553236663341522, -0.3277074098587036, -0.9425957798957825, -0.6308032870292664, 0.9655152559280396, 0.2731391191482544, 0.6270179748535156, -0.39872297644615173, 0.7017885446548462, -0.06114251911640167, 0.35423970222473145, -0.6287745833396912, 0.7699457406997681, -0.2142047882080078, -0.2114381641149521, 0.00024242103972937912, -0.2737800180912018, -0.944600522518158, 0.24249663949012756, -0.311810165643692, -0.6727083921432495, -0.0211490448564291, 0.17438997328281403, -0.11081171035766602, 0.24144093692302704, -0.8455349802970886, 0.8497480750083923, 0.1615099012851715, -0.3565347194671631, -0.08745010197162628, -0.6759156584739685, 0.3689330220222473, -0.3334208130836487, 0.23633690178394318, -0.22579416632652283, -0.04223332554101944, 0.4849383533000946, -0.5475497841835022, 0.670631468296051, 0.37244299054145813, 0.40677642822265625, 0.56059330701828, 0.15125887095928192, 0.34360042214393616, -0.12942510843276978, -0.1661517471075058, 0.23961728811264038, -0.15468229353427887, -0.44633427262306213, -0.7132703065872192, 0.9116904735565186, -0.4373720586299896, -0.6047492623329163, -0.3570076525211334, -1.0392680168151855, -0.050503209233284, 0.08503561466932297, 0.09617818892002106, 0.19841904938220978, -0.35331326723098755, 0.03411628305912018, 0.1829763948917389, -0.06480544060468674, 0.5166924595832825, 0.07659211754798889, 0.09025705605745316, -0.4103541374206543, 1.2941627502441406, -0.2628779113292694, 0.06893711537122726, 0.21493154764175415, 0.40862298011779785, -0.25186532735824585, -0.42240482568740845, -0.456636905670166, 0.21285010874271393, -0.5064687132835388, -0.16245827078819275, -0.4790330231189728, -0.23578496277332306, -0.14383304119110107, -0.30334922671318054, -0.27659842371940613, -0.6306040287017822, -0.3680172860622406, 0.10099630057811737, 0.1613665223121643, 0.33834198117256165, 0.002170003717765212, 0.13039326667785645, -0.5968614220619202, 0.5042527914047241, 0.7265624403953552, 0.12568284571170807, -0.05534115061163902, -0.20129214227199554, -0.03087667003273964, -0.056007467210292816, -0.42429831624031067, -0.47844403982162476, 0.5305072069168091, 0.4075797498226166, 0.29861965775489807, 0.29964688420295715, 0.07710948586463928, 0.696228563785553, -1.0823464393615723, 0.7731821537017822, 0.446168452501297, -1.0617283582687378, 0.1127801164984703, -0.39371389150619507, 0.46677255630493164, 0.5355288982391357, 0.3231540024280548, -0.4367828369140625, -0.5460747480392456, -0.5313193798065186, -0.6972109079360962, 0.4231778383255005, 0.6236338019371033, -0.13133642077445984, -0.19702205061912537, 0.129903644323349, 0.25823670625686646, 0.4705818295478821, -0.4247896075248718, 0.023915737867355347, -0.32926228642463684, -0.5047298073768616, 0.050351597368717194, 0.1466454416513443, -0.2213636338710785, -0.15937276184558868, 0.14675450325012207, -0.1585233211517334, 0.2636702358722687, -0.09880897402763367, 0.06715533137321472, 0.12967345118522644, 0.30057546496391296, 0.29375967383384705, 0.7421243190765381, -0.05041242018342018, 0.5444051623344421, 0.390249639749527, -0.22576825320720673, 0.02232208475470543, 0.28276321291923523, 0.0015528658404946327, 0.002480813767760992, 0.3336341381072998, 0.7844470739364624, 0.04474165663123131, -1.1963201761245728, 0.35193702578544617, -0.008210337720811367, -0.0844811201095581, -0.3001227080821991, 0.1329127997159958, 0.5527636408805847, 0.03404771536588669, 0.04064972326159477, 0.15042957663536072, 0.27657026052474976, -0.5169093608856201, 0.15358835458755493, 0.29135626554489136, -0.08137820661067963, -0.3153999447822571, 0.8629971742630005, 0.10992114245891571, -0.5746893882751465, 0.5943698287010193, -0.07005955278873444, -0.15666444599628448, 0.5642372369766235, 0.6546644568443298, 0.8970934748649597, 0.17103269696235657, -0.026973245665431023, 0.2643285393714905, -0.12270596623420715, -0.2589084804058075, -0.031205089762806892, 0.016067296266555786, -0.5993711352348328, -0.3173700273036957, -0.8354119658470154, -0.4559435248374939, 0.1422371119260788, -0.5857411026954651, 0.35551872849464417, -0.4499639570713043, 0.0786798745393753, 0.27379563450813293, -0.5279075503349304, -0.6968579888343811, 0.030709078535437584, 0.1548396348953247, 0.6923131346702576, -1.1234469413757324, 0.9484725594520569, 0.683033287525177, -0.21453863382339478, -0.5056198835372925, 0.1413346230983734, -0.20833055675029755, -0.41517722606658936, 0.5850807428359985, 0.1968420147895813, -0.09224843978881836, -0.10165591537952423, -0.2992579936981201, -0.5231432318687439, 1.1798810958862305, 0.6511719226837158, -0.5228106379508972, -0.15951736271381378, 0.4034965932369232, 0.9221316576004028, -0.7487471699714661, 0.19342640042304993, 0.6975100636482239, 0.0878995805978775, 0.09264062345027924, -0.7595900297164917, 0.019829299300909042, -0.09038694947957993, 0.30580511689186096, -0.08080916106700897, -0.4584195613861084, 0.9791345000267029, 0.011337265372276306, -0.3123045265674591, 0.15408512949943542, 0.6299657821655273, 0.7307203412055969, 0.2750944197177887, 0.5697224736213684, 0.8952756524085999, 0.2876291573047638, 0.14215371012687683, 0.8980118632316589, -0.18855835497379303, 0.18557101488113403, 1.5857630968093872, -0.47500085830688477, 0.700764536857605, 0.7961611747741699, -0.24171029031276703, 0.43412530422210693, 0.4385165870189667, 0.0009092243271879852, 0.4747956693172455, 0.47215455770492554, -0.47035831212997437, -0.17333576083183289, -0.46589425206184387, 0.05207197368144989, 0.0553455650806427, 0.5432071089744568, -0.30249345302581787, -0.41606298089027405, -0.26517152786254883, -0.08163820207118988, 0.49553078413009644, -0.13628508150577545, 0.631198525428772, 0.29015210270881653, -0.7609022855758667, 0.537519097328186, -0.23414237797260284, 0.3311578333377838, -0.48215508460998535, -0.10745221376419067, -0.15636231005191803, 0.15852674841880798, 0.1957988739013672, -0.832991361618042, 0.32305365800857544, -0.018155109137296677, -0.1514347940683365, -0.1678081899881363, 0.4862081706523895, -0.5452702045440674, -0.5893582105636597, -0.005316695664077997, 0.4136864244937897, 0.3552594780921936, 0.09886166453361511, -0.7820279002189636, 0.1602063775062561, -0.25200527906417847, 0.13860274851322174, 0.48338592052459717, 0.3792978525161743, -0.09223014861345291, 0.8760794401168823, 0.5447573661804199, 0.34849971532821655, 0.12451567500829697, -0.10962449014186859, 1.0377092361450195, -0.4435740113258362, -0.4188113212585449, -0.6027354001998901, 0.16217847168445587, -0.249972864985466, -0.2267366647720337, 0.5682113170623779, 0.6438185572624207, 0.7861090302467346, -0.4101027846336365, 0.661977231502533, 0.03615950793027878, 0.5770024657249451, -0.24625885486602783, 0.44859936833381653, -0.15162916481494904, 0.16938947141170502, -0.2733843922615051, -1.1547939777374268, -0.2704736888408661, 0.4072078466415405, -0.11009938269853592, -0.48840460181236267, 1.0443307161331177, 0.8836316466331482, -0.4936125576496124, 0.0738692507147789, 0.10535429418087006, 0.14222300052642822, 0.2605400085449219, 0.7414690852165222, 0.9019435048103333, -0.40595221519470215, 0.6441535353660583, -0.14386707544326782, 0.05369587615132332, 0.2670532763004303, -1.139992594718933, -1.005593180656433, -0.4768937826156616, -0.30152833461761475, -0.0733875036239624, 0.08825848996639252, 0.9154047966003418, 0.41358599066734314, -0.7547720670700073, -0.4744076430797577, -0.7750117182731628, -0.08312398940324783, -0.25186917185783386, -0.14896172285079956, 0.40799015760421753, -0.36166495084762573, -1.0334635972976685, 0.35026684403419495, 0.2477874457836151, -0.008752353489398956, -0.2883144021034241, 0.05648574233055115, -0.01686503179371357, 0.2000180184841156, 0.3905302882194519, 0.35731151700019836, -0.9022452235221863, -0.17888833582401276, -0.42004701495170593, 0.008025097660720348, 0.017117202281951904, 0.95550537109375, -1.0415606498718262, 0.6004864573478699, 0.5987906455993652, 0.6332051753997803, 0.3629296123981476, 0.12038667500019073, 0.6993697285652161, -0.5988609790802002, 0.6627906560897827, 0.302996426820755, 0.3077377378940582, 0.4604915678501129, 0.12492208182811737, 0.2938312292098999, 0.26849567890167236, -0.5820212960243225, -0.7447654008865356, 0.4152075946331024, -0.8815905451774597, -0.3496018350124359, 0.875427782535553, -0.36621683835983276, -0.33857834339141846, 0.040658462792634964, -0.26661577820777893, 0.03920159116387367, -0.3241381347179413, 0.9821367263793945, 0.6180465221405029, -0.1789444237947464, 0.10507077723741531, -0.2608165442943573, 0.4776902496814728, 0.5327184796333313, -0.9655788540840149, 0.13945256173610687, 0.5455463528633118, 0.32618826627731323, 0.11909554898738861, 0.254454642534256, -0.04494931176304817, -0.032040439546108246, 0.3176637291908264, -0.07330645620822906, -0.07247315347194672, -0.1769069880247116, -0.24091507494449615, 0.24115817248821259, -0.06237567961215973, -0.318387895822525 ]
http://arxiv.org/abs/2403.01131v2
http://arxiv.org/pdf/2403.01131v2
LLaMoCo: Instruction Tuning of Large Language Models for Optimization Code Generation
2024-03-02T08:21:59
2024-03-05T11:11:41
Zeyuan Ma, Hongshu Guo, Jiacheng Chen, Guojun Peng, Zhiguang Cao, Yining Ma, Yue-Jiao Gong
math.OC
math.OC, cs.AI, cs.CL, cs.LG, cs.NE, cs.SE
Recent research explores optimization using large language models (LLMs) by either iteratively seeking next-step solutions from LLMs or directly prompting LLMs for an optimizer. However, these approaches exhibit inherent limitations, including low operational efficiency, high sensitivity to prompt design, and a lack of domain-specific knowledge. We introduce LLaMoCo, the first instruction-tuning framework designed to adapt LLMs for solving optimization problems in a code-to-code manner. Specifically, we establish a comprehensive instruction set containing well-described problem prompts and effective optimization codes. We then develop a novel two-phase learning strategy that incorporates a contrastive learning-based warm-up procedure before the instruction-tuning phase to enhance the convergence behavior during model fine-tuning. The experiment results demonstrate that a CodeGen (350M) model fine-tuned by our LLaMoCo achieves superior optimization performance compared to GPT-4 Turbo and the other competitors across both synthetic and realistic problem sets. The fine-tuned model and the usage instructions are available at https://anonymous.4open.science/r/LLaMoCo-722A.
[ -0.17537935078144073, -0.571766197681427, 0.5081471800804138, 0.3931141495704651, -0.37677720189094543, 0.021299494430422783, -0.5097264051437378, -0.1913156807422638, -0.09742648899555206, 0.5558897852897644, -0.7043229937553406, -0.6153720021247864, -0.3529934585094452, 0.23794826865196228, -0.06678297370672226, 0.9118160009384155, 0.022861575707793236, 0.13857614994049072, -0.3208561837673187, 0.34464800357818604, -0.1470998227596283, -0.18154770135879517, -0.7608913779258728, -0.16470946371555328, 0.4073742628097534, 0.6484665274620056, 0.1620626300573349, 0.952943742275238, 0.30059128999710083, 0.291760116815567, -0.12499332427978516, 0.5315344929695129, -0.7872635126113892, 0.12837208807468414, 0.06666150689125061, -0.6295284628868103, -0.405027836561203, -0.47696179151535034, 0.5106806755065918, 0.4273119866847992, -0.2798353135585785, 0.030839236453175545, 0.13099700212478638, 0.7005198001861572, -0.6869377493858337, 0.2005251944065094, -0.9888484477996826, -0.022296013310551643, 0.0017615080578252673, -0.7080814242362976, -0.3550301790237427, -0.42873895168304443, -0.36700743436813354, -0.6054785847663879, 0.37115466594696045, 0.09346157312393188, 0.36646461486816406, 0.5811768174171448, -0.227994903922081, -0.5411779284477234, -0.4925401508808136, 0.9403166770935059, -0.7113978862762451, 0.16817110776901245, 0.05019905045628548, 0.015591784380376339, -0.24153897166252136, -0.5516587495803833, -0.12398702651262283, -0.3014785349369049, 0.5106531381607056, 0.1376577764749527, -0.03405461460351944, 0.15511037409305573, 0.1961393803358078, 0.3494609296321869, -0.37300917506217957, 0.5089935064315796, -0.4088149666786194, -0.10765515267848969, 0.5798569917678833, 0.3337252736091614, -0.10828939080238342, 0.26741188764572144, -0.15889324247837067, 0.14362862706184387, -0.8923901319503784, -0.20392382144927979, 0.5101401209831238, 0.31499287486076355, -0.0888935774564743, 0.3556599020957947, -0.16566798090934753, 0.5542190074920654, 0.09184058010578156, -0.03320860490202904, -0.063125841319561, -0.07926943898200989, -0.07139372080564499, 0.10875540971755981, 0.40044131875038147, 0.2879911959171295, 0.33457857370376587, -0.02265029028058052, -0.43749040365219116, -0.04444205015897751, 0.44329169392585754, -1.0384924411773682, -0.08528736978769302, 0.017304863780736923, -0.12264949083328247, -0.672466516494751, -0.2453293800354004, -0.860723614692688, -0.18889160454273224, -0.4087928235530853, 0.16706471145153046, 0.06149863451719284, 0.004471105989068747, 0.2628731429576874, 0.3129245340824127, 0.47078877687454224, 0.16767452657222748, -1.1193227767944336, 0.2907367944717407, 0.8467108607292175, 0.761834979057312, -0.17739731073379517, -0.1020229235291481, -0.6689007878303528, 0.041106805205345154, -0.5406798720359802, 0.6382697820663452, -0.6853909492492676, -0.6129176616668701, 0.35882705450057983, -0.04461011663079262, 0.15656960010528564, -0.7316407561302185, 0.3311299681663513, -0.6364567279815674, -0.2272549569606781, -0.11628491431474686, -0.5544361472129822, 0.08858168870210648, 0.0005782842636108398, -0.3966487944126129, 0.9178681373596191, 0.12630385160446167, -0.33061203360557556, -0.18760176002979279, -0.5352362394332886, -0.6653062701225281, -0.001252750284038484, -0.18662694096565247, -0.501991331577301, 0.5666592717170715, -0.04062385857105255, 0.21003314852714539, -0.7204472422599792, -0.1251285970211029, -0.13230973482131958, -0.4287218153476715, 0.055716656148433685, -0.15992313623428345, 0.4889289438724518, 0.38921234011650085, -0.24243158102035522, 0.2723751664161682, -0.6389297842979431, 0.26088947057724, 0.34276363253593445, -0.3692706227302551, 0.008793897926807404, 0.043952688574790955, -0.4390428066253662, -0.17890994250774384, 0.5265577435493469, -0.009398083202540874, 0.37711307406425476, -0.33988356590270996, 0.6622107028961182, 0.8577271699905396, -0.009866459295153618, 0.1900249868631363, -0.21427562832832336, 0.8577550649642944, -0.23100437223911285, 0.15555088222026825, -0.376155287027359, -0.23329442739486694, -1.0018478631973267, 0.04246371239423752, 0.1854911893606186, 0.6275038123130798, -0.5995209217071533, 0.25608354806900024, 0.1315842717885971, -0.18777017295360565, -0.34571710228919983, 0.4883166253566742, 0.5852949023246765, 0.4433581531047821, 0.20572148263454437, -0.07371474802494049, -0.5151408314704895, -0.7768588066101074, 0.02236977405846119, 0.28643545508384705, 0.19003017246723175, 0.5200583934783936, 0.5776364207267761, -0.1766936480998993, 0.2208346426486969, -0.8515870571136475, 0.010937144048511982, -0.2183619737625122, -0.05029050633311272, 0.16868485510349274, 0.48091259598731995, 0.36724475026130676, -0.4575008153915405, -0.40732893347740173, 0.20127266645431519, -0.40048304200172424, -0.42902541160583496, 0.15506726503372192, -0.32452070713043213, 0.16924913227558136, 0.7867923378944397, -0.0313437320291996, -0.047819677740335464, 0.7542658448219299, 0.28139957785606384, 0.6146325469017029, -0.40985509753227234, -0.05434499680995941, -1.148288607597351, -0.14164505898952484, 0.0041175042279064655, -0.10948775708675385, -0.42945465445518494, 0.16842392086982727, 0.038231879472732544, -0.2445870339870453, -0.4493817389011383, 0.293678343296051, -0.47178977727890015, -0.09898333251476288, -0.48480066657066345, -0.025455331429839134, -0.019521107897162437, 0.6054314374923706, -0.09621480107307434, 1.1894619464874268, 0.6114036440849304, -0.8064398765563965, 0.27484387159347534, -0.11454712599515915, -0.3494624197483063, 0.2064610868692398, -0.8470724821090698, 0.6804729104042053, -0.011186976917088032, -0.1555991917848587, -0.6043277382850647, -0.3471792936325073, -0.024197757244110107, -0.08059433847665787, 0.3988267481327057, -0.19540826976299286, -0.42247289419174194, -0.21924945712089539, -0.21121785044670105, 0.6363310217857361, 0.6344616413116455, -0.5740700364112854, 0.22776544094085693, 0.15733851492404938, -0.18285338580608368, -0.26122477650642395, -0.33320531249046326, -0.328277587890625, -0.21226979792118073, -0.3171321153640747, 0.30203789472579956, -0.22142377495765686, 0.026475071907043457, -0.4329424500465393, -0.224629208445549, -0.18445928394794464, 0.24056854844093323, -0.11127551645040512, 0.20700673758983612, -0.2153293788433075, 0.13575540482997894, 0.37050193548202515, -0.13142453134059906, 0.09253638237714767, -0.630641758441925, 0.7359310388565063, -0.13006170094013214, 0.02304314635694027, -0.3162192702293396, 0.4010462164878845, 0.23619061708450317, -0.33112919330596924, 0.5498694777488708, 0.1946643441915512, -0.2170628011226654, -0.6348314881324768, -0.34097859263420105, -0.13519006967544556, -0.5225393772125244, 0.6747149229049683, -0.4701301157474518, -0.8124178647994995, 0.2601659297943115, -0.5733206272125244, 0.022007999941706657, 0.10598386824131012, 0.8825190663337708, 0.05107112228870392, 1.0594419240951538, 0.8888042569160461, 0.08480770140886307, 0.6181990504264832, -0.31907811760902405, -0.07929643243551254, -0.8876612186431885, -0.1975504457950592, -0.8261426091194153, -0.17970411479473114, -0.7062771916389465, -0.5428498387336731, 0.4315093159675598, 0.24456992745399475, -0.2608422636985779, 0.11944684386253357, -0.5604416131973267, 1.069322943687439, 0.36355242133140564, 0.24819576740264893, 0.22453323006629944, -0.014159789308905602, -0.0153751689940691, 0.09024718403816223, -0.8187044262886047, -0.26386475563049316, 1.057300329208374, 0.0028183143585920334, 0.8955487608909607, -0.06662990152835846, 0.7823277115821838, 0.21030057966709137, 0.10615644603967667, -0.7874817252159119, 0.3795253336429596, -0.33730676770210266, -0.3359096944332123, 0.17336155474185944, -0.7260861992835999, -0.8037494421005249, -0.017911672592163086, 0.07105784863233566, -0.49995070695877075, -0.09096866101026535, 0.4917706549167633, -0.350578635931015, -0.023849645629525185, -0.5954862833023071, 0.7666552662849426, -0.6332662105560303, -0.5911454558372498, -0.42312583327293396, -0.2706587314605713, 0.3275291919708252, -0.23983080685138702, 0.1968095749616623, -0.02206517942249775, -0.4256967306137085, 0.3055615723133087, -0.32192471623420715, 0.7902947068214417, 0.061486583203077316, -0.4496675133705139, 0.12243334203958511, 0.25090649724006653, 0.5844498872756958, 0.02994379587471485, -0.18589253723621368, -0.041662637144327164, -0.2767319977283478, -0.4750220775604248, -0.6165686249732971, 0.9325317740440369, -0.6179618835449219, -0.6350311040878296, 0.06227226182818413, -0.5711385011672974, -0.24308565258979797, 0.3365565836429596, 0.36511892080307007, 0.5473224520683289, 0.0042360033839941025, 0.24933485686779022, 0.9043182134628296, -0.27831894159317017, 0.06245098263025284, 0.36159756779670715, -0.12991169095039368, -0.44094040989875793, 0.9863926768302917, -0.49350133538246155, 0.4412704408168793, 0.5040842890739441, 0.35082152485847473, -0.1369452327489853, -0.6815822720527649, -0.22122013568878174, 0.2542616128921509, -0.5369170308113098, -0.3635385036468506, 0.047803379595279694, -0.14062348008155823, -0.2269192636013031, -0.3579137921333313, -0.5879061222076416, -0.005804124288260937, -0.5119744539260864, 0.23484870791435242, 0.15695004165172577, 0.6464840769767761, 0.12351679056882858, 0.36208072304725647, -0.5064260959625244, 0.15010157227516174, 0.1885863095521927, 0.37644997239112854, -0.15328353643417358, -0.5700257420539856, -0.4999729096889496, -0.000534461869392544, -0.37742695212364197, -0.5577592253684998, 0.22328345477581024, 0.37429434061050415, 0.26223599910736084, 0.3682973384857178, 0.01116822101175785, 0.5614458322525024, -0.6119232773780823, 0.27159446477890015, 0.034018225967884064, -0.8683118224143982, 0.7707164883613586, -0.2570600211620331, 0.3842512369155884, 0.43604278564453125, 0.4068435728549957, -0.004937736317515373, 0.012345432303845882, -0.2596885561943054, -0.6791303157806396, 0.46542420983314514, -0.010476159863173962, 0.44521182775497437, 0.01948637142777443, 0.7846832871437073, 0.14250825345516205, 0.47560349106788635, -0.42698386311531067, -0.13167420029640198, 0.046078912913799286, -0.3264656662940979, -0.06618445366621017, -0.3498475253582001, -0.31236574053764343, -0.17925164103507996, 0.6808714270591736, -0.5102931261062622, 0.2556297183036804, -0.15409432351589203, -0.09191685169935226, -0.2468797117471695, 0.09420913457870483, 1.0768530368804932, 0.5061757564544678, 0.04324294626712799, -0.14312662184238434, 0.19402532279491425, -0.26605167984962463, -0.03918636962771416, -0.12384353578090668, -0.13864508271217346, -0.5198917984962463, 0.21198755502700806, 0.9866133332252502, 0.4631893038749695, -0.6753786206245422, 0.15261420607566833, -0.028711901977658272, -0.28576111793518066, -0.15993407368659973, 0.53790682554245, -0.1074354276061058, 0.32675036787986755, 0.024759676307439804, -0.269501268863678, 0.033319126814603806, -0.427316278219223, -0.059217244386672974, 0.5313899517059326, -0.023883523419499397, -0.09843230247497559, 0.7470739483833313, 0.5656155943870544, -0.4400216042995453, 0.4695882201194763, -0.24407872557640076, -0.6732092499732971, 0.8038840293884277, 0.9089431762695312, 0.991486132144928, -0.0967220887541771, -0.07508500665426254, 0.38070324063301086, 0.25222083926200867, 0.050545644015073776, 0.20283670723438263, -0.25771525502204895, -0.5881245732307434, -0.35502105951309204, -0.713420569896698, -0.522030770778656, -0.039215538650751114, -0.7797629237174988, 0.29307860136032104, -0.7436596751213074, 0.07879839837551117, -0.326328843832016, 0.25969135761260986, -0.5058936476707458, -0.04066917300224304, 0.12269358336925507, 0.8346232771873474, -0.5546231865882874, 0.8314133882522583, 0.5216361284255981, -0.020237402990460396, -0.6116067171096802, 0.04903418943285942, -0.029814407229423523, -1.1188007593154907, 0.26408007740974426, 0.15427549183368683, -0.5118778347969055, 0.597432553768158, -0.7889087796211243, -0.5200549364089966, 1.0318245887756348, 0.4886907637119293, -1.0329127311706543, 0.024538157507777214, 0.027576277032494545, 0.3904712498188019, -0.724036693572998, -0.09625151008367538, 0.6879805326461792, 0.08752015233039856, 0.2802427411079407, -0.56330806016922, -0.20095935463905334, -0.08851505815982819, 0.3697338402271271, 0.31570953130722046, -0.9762408137321472, 0.654137909412384, -0.5352572202682495, 0.10262259840965271, 0.36337050795555115, 0.5796002745628357, 0.2747439742088318, 0.03847135603427887, 0.31999659538269043, 0.3972164988517761, 0.7746683955192566, -0.011952491477131844, 1.1689066886901855, -0.5980207324028015, 0.41479256749153137, 1.0550602674484253, -0.27085253596305847, 0.5761076211929321, 0.2622893452644348, 0.02540430799126625, 0.3098078966140747, 0.5302153825759888, 0.0037665420677512884, 0.625530481338501, 0.4730316698551178, -0.3377656936645508, -0.3845458924770355, -0.07356875389814377, -0.40116772055625916, 0.3574255406856537, 0.37261900305747986, -0.2762666642665863, 0.04052804410457611, -0.4066102206707001, 0.07041385769844055, 0.15418830513954163, -0.5292319059371948, 0.7883574366569519, 0.15440404415130615, -0.6625834703445435, 0.8643069267272949, 0.005754201672971249, 0.3534071445465088, -0.5875422954559326, -0.06381826102733612, -0.46860066056251526, 0.2542349398136139, -0.13217991590499878, -0.3129480183124542, -0.05389782786369324, 0.2811746299266815, -0.2418912649154663, 0.09696073830127716, 0.2666841447353363, -0.4149174988269806, -0.5833627581596375, 0.020231125876307487, 0.08822205662727356, 0.04642491415143013, 0.14817439019680023, -0.6937451362609863, 0.5248161554336548, 0.3014427423477173, 0.03540881350636482, 0.2346353530883789, 0.38487857580184937, 0.15157081186771393, 0.6950981616973877, 0.5457647442817688, 0.12897144258022308, 0.1182817593216896, 0.24062082171440125, 0.8121331334114075, -0.5834248065948486, -0.30079513788223267, -0.6389007568359375, 0.16983060538768768, 0.18395940959453583, -0.4623531699180603, 0.3051309287548065, 0.5907377004623413, 0.8575466871261597, -0.1631082147359848, 0.6442019939422607, 0.24297228455543518, 0.005769805517047644, -1.0804507732391357, 0.19372832775115967, -0.8346377015113831, 0.5420053601264954, 0.11865641921758652, -1.0893782377243042, -0.17310750484466553, 0.6014730334281921, -0.1784452646970749, 0.2928207218647003, 0.6505725383758545, 1.1112974882125854, 0.08699310570955276, -0.1482110321521759, 0.20207761228084564, 0.3020806610584259, 0.23134343326091766, 0.8777535557746887, 0.7075703144073486, -0.14206211268901825, 0.5561284422874451, -0.37688758969306946, -0.3415296673774719, -0.38490018248558044, -0.9895004034042358, -0.8164985179901123, -0.25448527932167053, -0.3142307698726654, -0.1795133650302887, 0.20729917287826538, 0.9516372084617615, 0.5872125029563904, -0.6516500115394592, -0.47207286953926086, -0.34348157048225403, 0.02322658710181713, -0.06681510806083679, -0.13459712266921997, -0.06139390915632248, -0.7861928343772888, -0.964496910572052, 0.4365319609642029, 0.22313594818115234, -0.09356962144374847, -0.20252282917499542, -0.3588292896747589, 0.3395087718963623, 0.21427220106124878, 0.39924004673957825, 0.43111106753349304, -0.4054033160209656, 0.1332310289144516, 0.05657001957297325, -0.13052710890769958, 0.14362139999866486, 1.160847544670105, -0.23054586350917816, 0.38863492012023926, 0.11202861368656158, 0.6355319023132324, 0.6419647932052612, 0.07735053449869156, 0.5821018218994141, -0.8079109191894531, 0.336826890707016, 0.25668343901634216, 0.15909914672374725, 0.0660800039768219, -0.3562180995941162, 0.3221418261528015, 0.04705455154180527, -0.6930849552154541, -0.7406888008117676, 0.44607847929000854, -0.8424638509750366, -0.1999431699514389, 1.1767257452011108, 0.21250754594802856, -0.35625195503234863, 0.544942319393158, -0.22417442500591278, 0.1927768439054489, -0.3354499042034149, 0.911281168460846, 0.31344151496887207, -0.18754695355892181, -0.28100746870040894, -0.6286423206329346, 0.4255245625972748, 0.43058282136917114, -0.9462383985519409, 0.02017897553741932, 0.4171697795391083, 0.28898534178733826, -0.31814536452293396, 0.16372567415237427, 0.0690634548664093, 0.41468679904937744, 0.05205800011754036, -0.07792141288518906, -0.3285464644432068, -0.5665587782859802, -0.3640281856060028, -0.11605725437402725, 0.3380415737628937, -0.18085381388664246 ]
http://arxiv.org/abs/2403.01116v1
http://arxiv.org/pdf/2403.01116v1
MulCogBench: A Multi-modal Cognitive Benchmark Dataset for Evaluating Chinese and English Computational Language Models
2024-03-02T07:49:57
2024-03-02T07:49:57
Yunhao Zhang, Xiaohan Zhang, Chong Li, Shaonan Wang, Chengqing Zong
cs.CL
cs.CL
Pre-trained computational language models have recently made remarkable progress in harnessing the language abilities which were considered unique to humans. Their success has raised interest in whether these models represent and process language like humans. To answer this question, this paper proposes MulCogBench, a multi-modal cognitive benchmark dataset collected from native Chinese and English participants. It encompasses a variety of cognitive data, including subjective semantic ratings, eye-tracking, functional magnetic resonance imaging (fMRI), and magnetoencephalography (MEG). To assess the relationship between language models and cognitive data, we conducted a similarity-encoding analysis which decodes cognitive data based on its pattern similarity with textual embeddings. Results show that language models share significant similarities with human cognitive data and the similarity patterns are modulated by the data modality and stimuli complexity. Specifically, context-aware models outperform context-independent models as language stimulus complexity increases. The shallow layers of context-aware models are better aligned with the high-temporal-resolution MEG signals whereas the deeper layers show more similarity with the high-spatial-resolution fMRI. These results indicate that language models have a delicate relationship with brain language representations. Moreover, the results between Chinese and English are highly consistent, suggesting the generalizability of these findings across languages.
[ -0.4314643144607544, -0.7487226128578186, 0.49460098147392273, 0.3682249188423157, -0.10331311821937561, -0.13008467853069305, -0.6304070949554443, -0.5515128374099731, -0.08708734810352325, 0.23147530853748322, -0.4852169454097748, -0.3003852069377899, -0.2733459174633026, -0.05304399132728577, 0.042436227202415466, 0.570647656917572, 0.158254474401474, 0.4509693384170532, -0.2484961748123169, -0.31345105171203613, -0.4936651587486267, -0.5678108930587769, -0.5347239971160889, -0.375264436006546, 0.2846512794494629, -0.16324153542518616, 0.9068486094474792, 0.5627936124801636, 0.32525426149368286, 0.34350499510765076, 0.12845101952552795, 0.11055213958024979, -0.3581041693687439, -0.08333880454301834, -0.18663401901721954, -0.229165717959404, -0.43566417694091797, 0.14832022786140442, 0.6777880191802979, 0.9310413002967834, -0.3496529757976532, -0.13326065242290497, 0.34019261598587036, 0.231998011469841, -0.4773634672164917, 0.449237197637558, -0.8172454833984375, -0.21245531737804413, -0.20651432871818542, 0.02070303075015545, -0.3312297761440277, -0.05196258798241615, -0.1918196827173233, -0.49846312403678894, 0.2531525492668152, 0.13966001570224762, 0.7222530245780945, -0.052664149552583694, -0.4311593472957611, -0.29383566975593567, -0.1356906294822693, 0.9914731979370117, -0.7051931023597717, 0.6978428363800049, 0.45646125078201294, 0.377340167760849, -0.14176934957504272, -0.3034512400627136, -0.6558116674423218, -0.7393301725387573, -0.4307839274406433, 0.26753300428390503, 0.18785923719406128, -0.03406956046819687, 0.28707894682884216, 0.17897343635559082, -0.9375808238983154, -0.0760391354560852, -0.3053685426712036, -0.40217897295951843, 0.5656920075416565, 0.37146487832069397, 0.3121444582939148, -0.23586072027683258, -0.3944070339202881, -0.2919795513153076, -0.30222058296203613, 0.13509707152843475, 0.2235172837972641, 0.47154700756073, -0.2594456970691681, 0.15004700422286987, -0.0031435254495590925, 0.8206676244735718, -0.2903828024864197, -0.1268889605998993, 0.5403979420661926, -0.39986875653266907, -0.042693495750427246, -0.100129134953022, 0.981708824634552, 0.3336195647716522, 0.32543158531188965, -0.2989104986190796, -0.05877910926938057, 0.35306283831596375, 0.09895665943622589, -0.6011744737625122, -0.18844519555568695, -0.02169281803071499, -0.5477807521820068, 0.0833987221121788, 0.19105784595012665, -0.6699625253677368, -0.4603344798088074, -0.4874495565891266, -0.051507603377103806, -0.6082975268363953, -0.4944304823875427, 0.19021163880825043, 0.13367561995983124, 0.21255065500736237, 0.04960251227021217, -0.9908040761947632, 0.2986426055431366, 0.8244805335998535, 0.5033898949623108, -0.3016776442527771, -0.9299124479293823, -0.1433172971010208, 0.14053352177143097, -0.332112580537796, 0.7964917421340942, -0.7230460047721863, -0.2098817080259323, -0.2416429966688156, 0.1933484822511673, -0.3341243863105774, -0.47816285490989685, 0.4668061435222626, -0.24027639627456665, 0.017932800576090813, -0.20006494224071503, -0.27798038721084595, -0.15748034417629242, 0.43086129426956177, -0.9224669933319092, 1.046465516090393, 0.062081918120384216, -0.6504042148590088, 0.2931804358959198, -0.47525426745414734, -0.45919644832611084, 0.03195912018418312, -0.567123532295227, -0.0662028044462204, 0.22377456724643707, 0.119088314473629, 0.595196008682251, -0.7851843237876892, 0.4286736249923706, -0.5882694125175476, -0.25560706853866577, 0.5089627504348755, -0.6278161406517029, 0.7302237153053284, 0.30145204067230225, -0.08613762259483337, -0.23176205158233643, -0.8664610385894775, 0.3534608781337738, 0.14280492067337036, -0.41943031549453735, -0.5487045049667358, 0.11096372455358505, 0.36627131700515747, 0.5945389866828918, 0.22285279631614685, -0.7099217176437378, -0.0018326666904613376, -0.08201514929533005, 0.5868375897407532, 0.5029919147491455, -0.45334237813949585, 0.09769833832979202, -0.35399129986763, 0.11384747922420502, 0.22809894382953644, 0.021177608519792557, -0.4646106958389282, -0.3573547601699829, -0.2076636701822281, -0.4367476999759674, 0.11979478597640991, 0.36419400572776794, -0.4831768870353699, 0.1570710837841034, -0.6825695633888245, -0.5292150378227234, -0.8364081978797913, -0.037234917283058167, 0.24501992762088776, 0.4028637409210205, 0.3967168629169464, -0.2869209051132202, -0.10842578113079071, -1.1314018964767456, -0.432425320148468, 0.002584122121334076, -0.32103946805000305, 0.5360531806945801, 0.1379980593919754, -0.32721948623657227, 0.4909481406211853, -0.34827083349227905, -0.04519205912947655, 0.08821641653776169, 0.30693063139915466, 0.1826184093952179, 0.47429215908050537, 0.6371616125106812, -0.708480715751648, -0.4016648232936859, 0.2720252573490143, -0.7536107897758484, 0.06117141246795654, -0.10817573964595795, -0.031321585178375244, 0.09225182235240936, 0.5880293250083923, -0.2494131326675415, 0.09367790818214417, 0.764865517616272, -0.22175097465515137, 0.36594298481941223, -0.23034441471099854, 0.7260348200798035, -0.8522908687591553, 0.27264603972435, -0.31946590542793274, -0.03018900565803051, -0.5546384453773499, 0.021678738296031952, 0.35887837409973145, -0.2679171562194824, -0.2740704417228699, 0.4877963066101074, -0.5106675028800964, 0.1540471315383911, -0.13118861615657806, 0.24367572367191315, -0.10774387419223785, 0.862706184387207, 0.2674431800842285, 0.611784815788269, 0.757685661315918, -0.48358237743377686, 0.3327884376049042, -0.15887042880058289, -0.5955208539962769, 0.7124112248420715, -0.587398111820221, 0.1685396283864975, -0.10590196400880814, -0.24516382813453674, -1.1635854244232178, 0.013656148687005043, -0.24844993650913239, -0.3151033818721771, 0.22202160954475403, 0.40695324540138245, -0.4508150517940521, -0.14730055630207062, -0.41637122631073, 0.6231920123100281, -0.010753992944955826, -0.280449777841568, 0.9394388794898987, 0.4123583137989044, -0.16280768811702728, -0.33501550555229187, -1.1067570447921753, -0.15880608558654785, 0.15730589628219604, -0.7642080783843994, 0.5231322646141052, -0.27016520500183105, 0.14417840540409088, -0.053894054144620895, 0.23640777170658112, -0.2702694535255432, 0.03493490815162659, 0.21813614666461945, 0.20599693059921265, -0.4334110617637634, 0.15315359830856323, -0.13316762447357178, -0.11233224719762802, 0.02373046986758709, 0.25563403964042664, 0.6103029847145081, -0.33824700117111206, -0.4029686748981476, 0.0810793787240982, 0.5194542407989502, 0.7269059419631958, -0.3760334849357605, 0.7635483145713806, 0.5078238844871521, -0.49834585189819336, 0.1388193666934967, -0.5793919563293457, -0.283092737197876, -0.44526126980781555, 0.6254419088363647, -0.8112686276435852, -0.7263883948326111, 0.5020294785499573, -0.012345190159976482, -0.08429869264364243, 0.1421843320131302, 0.6839736104011536, -0.022054094821214676, 1.039612889289856, 0.4195941984653473, -0.35404762625694275, 0.4036409854888916, 0.17716765403747559, -0.021465672180056572, -0.874927282333374, -0.09228719770908356, -0.42753612995147705, -0.03144684061408043, -0.5723953247070312, -0.26495984196662903, 0.00012240433716215193, -0.14336366951465607, -0.26978757977485657, 0.5274602770805359, -0.2784152626991272, 0.4286471903324127, 0.3373982012271881, 0.07831691205501556, 0.17929911613464355, 0.09981925040483475, -0.5618245601654053, -0.2622244656085968, -0.6749698519706726, -0.3478270173072815, 0.8206496238708496, -0.10396284610033035, 0.8613340854644775, -0.0478798933327198, -0.12018973380327225, 0.19717904925346375, 0.18998382985591888, -0.4114818871021271, 0.5101675987243652, -0.15821972489356995, -0.5984622836112976, -0.1386985182762146, -0.4805452525615692, -1.298244595527649, 0.6224039196968079, -0.34684374928474426, -0.6825332045555115, -0.06094461306929588, -0.2181800752878189, -0.04631837457418442, 0.09658857434988022, -0.5144177079200745, 1.084080457687378, -0.44683927297592163, -0.36700332164764404, -0.5762798190116882, -0.544367790222168, 0.3844180405139923, -0.18755897879600525, 0.5177001357078552, -0.30640289187431335, -0.049383100122213364, 0.46816110610961914, 0.09476576745510101, 0.4619186520576477, 0.24191206693649292, 0.021941881626844406, 0.1351122260093689, 0.2513441741466522, 0.03563009202480316, -0.16882096230983734, -0.39247652888298035, 0.6190885305404663, 0.2030324935913086, -0.5221951603889465, -0.5188851356506348, 1.0539199113845825, -0.7676156163215637, -0.40031394362449646, -0.41302844882011414, -0.621543288230896, -0.2654186189174652, 0.2565341591835022, 0.03351856768131256, 0.35951489210128784, -0.5441639423370361, 0.14990153908729553, 0.05452301725745201, -0.05407319217920303, 0.488127738237381, 0.8202947378158569, -0.152180477976799, -0.3928244709968567, 0.8375510573387146, 0.11560361832380295, 0.1756405532360077, 0.4091776907444, -0.005394109524786472, -0.2448779195547104, -0.11021724343299866, -0.3823143243789673, 0.45279160141944885, -0.6122426390647888, 0.17395329475402832, -0.4336467981338501, -0.09651271253824234, -0.3885960876941681, -0.042257100343704224, -0.39593350887298584, 0.046831659972667694, 0.27418437600135803, 0.14686881005764008, -0.09240306913852692, 0.4708680510520935, 0.0715089738368988, -0.01273393351584673, -0.8550860285758972, 0.39616885781288147, 0.3070182800292969, 0.4978767931461334, 0.1859542280435562, -0.10853894054889679, -0.44187214970588684, 0.36100301146507263, -0.217426598072052, -0.9063966274261475, 0.018043087795376778, 0.15775224566459656, 0.9286521673202515, 0.4224589169025421, -0.34797561168670654, 0.6805533170700073, -0.5119564533233643, 0.7389892935752869, 0.14618048071861267, -0.9906442165374756, 0.21688829362392426, -0.2962968349456787, 0.5208985805511475, 0.6193864345550537, 0.3052254617214203, -0.9509284496307373, -0.217770054936409, -0.32967305183410645, -0.30495646595954895, 0.8400104641914368, 0.09167584031820297, 0.13141708076000214, -0.15343746542930603, -0.02954879216849804, 0.03718607872724533, 0.24927963316440582, -0.6857789158821106, -0.12557324767112732, -0.290607750415802, -0.17779187858104706, -0.224348783493042, 0.07812982052564621, 0.13158060610294342, -0.027677444741129875, 0.3008965253829956, -0.20074163377285004, 0.29649055004119873, -0.19251926243305206, -0.26391154527664185, 0.20229880511760712, 0.27040213346481323, 0.46639978885650635, 0.5063749551773071, 0.1487790048122406, 0.2960297167301178, 0.4338732361793518, -0.6133169531822205, 0.01686052978038788, 0.07727054506540298, 0.29449695348739624, -0.2539558410644531, 0.5524686574935913, 0.5646613240242004, 0.3513377904891968, -0.8586996793746948, 0.5770893096923828, -0.2453431338071823, 0.29635995626449585, 0.2252374142408371, -0.1073845773935318, 0.2746005356311798, -0.10420975834131241, 0.03166183829307556, 0.1245475709438324, 0.18083585798740387, -0.6105304956436157, 0.024556651711463928, 0.4750979244709015, -0.37189701199531555, -0.51301509141922, 0.5258426666259766, 0.021112913265824318, 0.020870596170425415, 0.8674628734588623, -0.05174408480525017, -0.44019508361816406, 0.48529312014579773, 0.47658514976501465, 0.5949388146400452, -0.5595645308494568, -0.2266952395439148, 0.5456139445304871, 0.5007649064064026, 0.040128014981746674, 0.3459257185459137, -0.10428617149591446, -0.9376404881477356, -0.2058507651090622, -0.343627393245697, -0.021680131554603577, 0.17068639397621155, -0.6949883699417114, 0.4848209023475647, -0.232146754860878, -0.222647026181221, 0.10166741162538528, -0.21685858070850372, -0.8629875183105469, 0.23198916018009186, 0.3395351767539978, 0.5437999367713928, -0.8353387117385864, 1.168924331665039, 0.705092191696167, -0.21973109245300293, -0.6399158835411072, -0.23169074952602386, -0.09071303904056549, -0.6736195683479309, 0.1823820024728775, 0.3558083474636078, -0.42626723647117615, -0.37339580059051514, -0.3270476460456848, -0.7476335167884827, 1.0303318500518799, 0.6413612961769104, -0.40573543310165405, 0.34870943427085876, 0.4405785799026489, 0.6025583148002625, -0.44323429465293884, 0.5674362182617188, 0.7036778330802917, 0.5181959867477417, -0.2972323000431061, -0.869257390499115, 0.15667323768138885, -0.5056400299072266, 0.17508454620838165, 0.2208726853132248, -0.8167223930358887, 1.2016122341156006, 0.17348475754261017, -0.49218347668647766, -0.19978290796279907, 0.5685335397720337, 0.29106780886650085, 0.010717406868934631, 0.4485931992530823, 0.3382664620876312, 0.8076198697090149, -0.02613869681954384, 0.9754231572151184, -0.6343667507171631, 0.3409847617149353, 1.1897006034851074, -0.3594430983066559, 0.8253724575042725, 0.31430166959762573, -0.24016079306602478, 0.5623233318328857, 0.4288966655731201, -0.03153223544359207, 0.5034927725791931, 0.08592365682125092, 0.16686150431632996, -0.37796321511268616, -0.06886876374483109, -0.42161715030670166, 0.36506229639053345, 0.3815116584300995, -0.11252292990684509, -0.3344993591308594, 0.13932502269744873, 0.19327542185783386, 0.24086816608905792, -0.1847829520702362, 0.6336378455162048, -0.06871464848518372, -0.7908393144607544, 0.7474969029426575, 0.06866691261529922, 0.7886940240859985, -0.8937453031539917, 0.1453857421875, -0.15573766827583313, 0.16355231404304504, 0.033088091760873795, -0.6592735052108765, 0.2579725980758667, -0.2687138319015503, -0.3154415488243103, 0.2592921257019043, 0.36507850885391235, -0.7481335401535034, -0.41849854588508606, 0.6685618162155151, 0.4576525390148163, 0.1952442079782486, -0.24151137471199036, -1.0551235675811768, 0.14720222353935242, -0.14633214473724365, -0.16841842234134674, 0.2568138539791107, 0.37069904804229736, -0.27801787853240967, 0.525290846824646, 0.5966506004333496, -0.033375728875398636, 0.256013423204422, 0.05791207775473595, 0.7775856852531433, -0.8273457288742065, -0.4940122961997986, -0.955988347530365, 0.22289049625396729, -0.06005604937672615, -0.3138449490070343, 0.7101361751556396, 0.677287757396698, 0.8896622657775879, -0.28836315870285034, 0.7107178568840027, 0.060132816433906555, 0.3364288806915283, -0.3889305889606476, 0.7650070786476135, -0.6070104837417603, -0.11143876612186432, -0.22524233162403107, -0.9323111772537231, -0.14709165692329407, 0.5911867022514343, -0.16883988678455353, 0.33125099539756775, 1.0172762870788574, 1.2415611743927002, -0.4620603919029236, 0.14306573569774628, 0.6582687497138977, 0.2830274999141693, 0.15757347643375397, 1.0041382312774658, 0.8551589846611023, -0.3434777855873108, 0.3885001242160797, -0.05472559481859207, -0.2773762345314026, 0.09179817885160446, -0.9544287919998169, -0.929562509059906, -0.7764939665794373, -0.10212395340204239, 0.054504405707120895, -0.39930593967437744, 0.9043959379196167, 0.7409509420394897, -0.9393126964569092, -0.49674150347709656, 0.25329822301864624, -0.21327674388885498, -0.6787627339363098, -0.18683816492557526, 0.4644063413143158, -0.28438273072242737, -0.782290518283844, 0.4394291043281555, 0.3078722357749939, -0.010522914119064808, -0.3959589898586273, -0.08984582126140594, -0.21483463048934937, 0.31040680408477783, 0.5484668016433716, -0.11477110534906387, -0.8027375936508179, -0.07436072826385498, 0.14090244472026825, -0.6882572770118713, 0.11780330538749695, 1.0226157903671265, -0.7009984850883484, 0.5750247240066528, 0.6157723665237427, 0.48577970266342163, 0.43961992859840393, -0.31748080253601074, 0.42637571692466736, -0.35524851083755493, 0.3929634392261505, -0.04275057837367058, 0.6524125933647156, 0.48091939091682434, -0.07422415167093277, 0.5026213526725769, -0.08099113404750824, -0.42178162932395935, -0.4059702157974243, 0.12156789004802704, -1.0313440561294556, -0.5080984830856323, 0.8117668628692627, -0.2827610373497009, -0.3231140971183777, -0.2007206231355667, -0.38781487941741943, -0.08679039776325226, -0.2675987482070923, 0.8068344593048096, 1.113593339920044, 0.09360481798648834, -0.023781636729836464, -0.3767338693141937, 0.23300595581531525, 0.38052257895469666, -0.68718421459198, 0.30649158358573914, 0.34680646657943726, 0.16399753093719482, 0.239132821559906, 0.4691217243671417, -0.1942862570285797, 0.3306747376918793, 0.20720194280147552, 0.11687720566987991, -0.17478494346141815, -0.20989470183849335, -0.3329634666442871, 0.2276570200920105, -0.19882787764072418, 0.037505269050598145 ]
http://arxiv.org/abs/2403.01106v2
http://arxiv.org/pdf/2403.01106v2
Distilling Text Style Transfer With Self-Explanation From LLMs
2024-03-02T06:38:15
2024-05-04T17:23:21
Chiyu Zhang, Honglong Cai, Yuezhang, Li, Yuexin Wu, Le Hou, Muhammad Abdul-Mageed
cs.CL
cs.CL, cs.AI
Text Style Transfer (TST) seeks to alter the style of text while retaining its core content. Given the constraints of limited parallel datasets for TST, we propose CoTeX, a framework that leverages large language models (LLMs) alongside chain-of-thought (CoT) prompting to facilitate TST. CoTeX distills the complex rewriting and reasoning capabilities of LLMs into more streamlined models capable of working with both non-parallel and parallel data. Through experimentation across four TST datasets, CoTeX is shown to surpass traditional supervised fine-tuning and knowledge distillation methods, particularly in low-resource settings. We conduct a comprehensive evaluation, comparing CoTeX against current unsupervised, supervised, in-context learning (ICL) techniques, and instruction-tuned LLMs. Furthermore, CoTeX distinguishes itself by offering transparent explanations for its style transfer process.
[ -0.18568916618824005, -0.6932685971260071, 0.7892151474952698, 0.3672192096710205, -0.42170947790145874, 0.46121785044670105, -0.4303320646286011, -0.20660953223705292, 0.13185252249240875, 0.697059154510498, -0.9397256374359131, -0.5452582836151123, -0.45523226261138916, 0.2725332975387573, -0.7668137550354004, 1.0777409076690674, -0.4139496088027954, -0.43254512548446655, -0.03967152163386345, 0.14687830209732056, -0.45718279480934143, -0.49977362155914307, -0.7402510046958923, -0.48188701272010803, 0.5109596252441406, 0.6385486125946045, 0.3741035461425781, 0.678200364112854, 0.1541818082332611, 0.2674861550331116, 0.09883342683315277, 0.28072425723075867, -0.6376792788505554, 0.11247055977582932, -0.5557613372802734, -0.4281632900238037, -0.4200836420059204, -0.020737485960125923, 0.43344539403915405, 0.34322965145111084, 0.0485137514770031, 0.11240921914577484, 0.3594350516796112, 1.0706754922866821, -0.4236951470375061, -0.11623378843069077, -0.6923949718475342, -0.028053004294633865, -0.16801594197750092, -0.2313331663608551, -0.4460381269454956, -0.24178867042064667, 0.34162604808807373, -0.3459869623184204, 0.24469730257987976, 0.22040021419525146, 0.5163969993591309, 0.25051701068878174, -0.4936273992061615, -0.1629730463027954, -0.736537754535675, 0.8628178238868713, -0.43997722864151, 0.14315691590309143, 0.260151207447052, 0.33246955275535583, 0.1942821443080902, -1.0772777795791626, -0.6371439695358276, 0.11418605595827103, -0.20062921941280365, 0.22591426968574524, -0.06638464331626892, -0.13171504437923431, 0.12788309156894684, 0.39462554454803467, -0.4547675848007202, 0.03206143155694008, -0.21612346172332764, -0.08165447413921356, 0.6425682306289673, 0.018250176683068275, 0.2665189504623413, -0.046008650213479996, -0.7879940867424011, 0.09680993109941483, -0.7011098265647888, -0.3092111051082611, -0.05023949593305588, 0.21221135556697845, -0.1804770529270172, 0.0703577995300293, -0.18790669739246368, 0.6823055744171143, 0.20043808221817017, -0.12434312701225281, -0.21261091530323029, -0.47722771763801575, -0.21971264481544495, 0.3787493109703064, 0.8358072638511658, 0.5460495948791504, 0.3514576256275177, -0.2860351502895355, -0.4227556586265564, -0.29228007793426514, 0.06999551504850388, -0.7876226305961609, -0.23044054210186005, 0.0970691666007042, -0.44349735975265503, -0.31587257981300354, -0.23996856808662415, -0.9063999056816101, -0.44053953886032104, -0.9744959473609924, 0.23612290620803833, -0.26998138427734375, -0.2569001019001007, 0.08822077512741089, -0.25241807103157043, 0.2285357266664505, 0.5569303035736084, -0.8198724389076233, 0.4580538868904114, 0.5876492857933044, 1.1795299053192139, -0.6325174570083618, -0.08089185506105423, -0.22306208312511444, 0.14351598918437958, -0.2502237558364868, 0.9023428559303284, -0.3373379111289978, -0.33790260553359985, -0.15107929706573486, -0.03755372390151024, 0.07666755467653275, -0.27549639344215393, 0.37041226029396057, -0.1425754576921463, -0.2086108773946762, -0.5349234938621521, -0.41154396533966064, 0.19141225516796112, 0.03853493183851242, -0.5683748722076416, 0.9855507612228394, 0.1360039860010147, -0.6960378289222717, 0.07895850390195847, -0.42874160408973694, -0.6296601295471191, -0.1547156274318695, 0.0390666238963604, -0.297865629196167, 0.18106040358543396, 0.43228474259376526, 0.47064414620399475, -0.4563969671726227, 0.23145435750484467, -0.3042196035385132, -0.20002824068069458, 0.46216365694999695, -0.44428032636642456, 0.6505756974220276, 0.41059672832489014, -0.35997530817985535, 0.031209543347358704, -0.6859398484230042, -0.055932510644197464, -0.03728620707988739, 0.21364544332027435, -0.45401448011398315, -0.2771390974521637, 0.14725777506828308, 0.42494919896125793, 0.2211516946554184, -0.5090618133544922, 0.23717929422855377, 0.11908342689275742, 0.9437651038169861, 0.9872907400131226, -0.0533611997961998, 0.5633828639984131, -0.5086748600006104, 0.34309127926826477, -0.2512625455856323, 0.0945933535695076, -0.050522055476903915, 0.039214860647916794, -0.8385284543037415, -0.046849727630615234, 0.14566314220428467, 0.29635363817214966, -1.0170693397521973, -0.09871372580528259, -0.008778532966971397, -0.3471764028072357, -0.34975090622901917, 0.16470928490161896, 0.34846076369285583, 0.6354252099990845, 0.5483769774436951, 0.04891709238290787, -0.5059301853179932, -0.9564974308013916, -0.38148176670074463, 0.2522242069244385, 0.1928166002035141, 0.11585886031389236, 0.3101517856121063, 0.05417603999376297, 0.9328673481941223, -0.49481070041656494, -0.19243955612182617, -0.630614697933197, 0.5223539471626282, -0.037867482751607895, 0.4835255444049835, 0.6664847731590271, -0.6613565683364868, -0.8342583179473877, 0.04411126300692558, -0.4901253879070282, -0.4088585376739502, -0.38530975580215454, -0.30541345477104187, 0.10348333418369293, 0.8567055463790894, 0.2482919543981552, 0.5361559987068176, 0.47263556718826294, -0.09962724894285202, 0.7808197736740112, -0.1461065113544464, 0.19029980897903442, -1.41086745262146, -0.17746353149414062, 0.21828781068325043, -0.45301780104637146, -0.5604870319366455, -0.36620020866394043, 0.2629912197589874, 0.022403283044695854, -0.3939405083656311, 0.6401942372322083, -0.6045413613319397, 0.04874454438686371, -0.5142598748207092, 0.3162635862827301, 0.36204826831817627, 0.4671550393104553, 0.3117462992668152, 0.972678542137146, 0.4759594798088074, -0.5582448840141296, 0.3841305673122406, 0.036184221506118774, -0.3198319673538208, 0.9793199896812439, -0.708819568157196, 0.39830371737480164, -0.11798473447561264, 0.3464944064617157, -1.0164318084716797, 0.15404239296913147, -0.28578540682792664, 0.2750943899154663, 0.3432115912437439, -0.4387369453907013, -0.4531426727771759, -0.28650981187820435, -0.13504597544670105, 0.3977689743041992, 0.44613510370254517, -0.8550407886505127, 0.4769269526004791, 0.04134788364171982, -0.18701207637786865, -0.5807427763938904, -0.760384738445282, 0.2744918167591095, -0.38913819193840027, -0.3933718800544739, 0.6224550604820251, -0.233782559633255, -0.33101943135261536, -0.2774522304534912, -0.3385275900363922, -0.30514001846313477, 0.11319252103567123, -0.12190328538417816, 0.35310080647468567, -0.13796672224998474, 0.31581491231918335, 0.3160722851753235, 0.017135094851255417, -0.028854889795184135, -0.6085798740386963, 0.44512325525283813, -0.2506186366081238, 0.10932721942663193, -0.7471258044242859, 0.2956047058105469, 0.6104564070701599, -0.24664360284805298, 0.5991412401199341, 0.5082857608795166, 0.03937092423439026, -0.8349510431289673, -0.5458539128303528, -0.27368980646133423, -0.48823073506355286, 0.04820956662297249, -0.5113373398780823, -0.8323087096214294, 0.44127628207206726, -0.45505455136299133, -0.0023041199892759323, 0.339629203081131, 0.28775203227996826, -0.17275342345237732, 0.49763792753219604, 0.6710211038589478, 0.04939386248588562, 0.6893699169158936, -0.23558096587657928, 0.09708387404680252, -0.9751244187355042, 0.04666096717119217, -0.4449843466281891, -0.6227705478668213, -0.5624573230743408, -0.18212074041366577, 0.2553848326206207, -0.1515929400920868, -0.0775383859872818, 0.4942309558391571, -0.5672136545181274, 0.8704590797424316, 0.5526391863822937, 0.34649839997291565, 0.4843331277370453, 0.06803669035434723, -0.014474546536803246, 0.10987960547208786, -0.547802746295929, -0.34343892335891724, 1.0905860662460327, 0.06877250969409943, 1.1768383979797363, 0.025497961789369583, 0.893389880657196, 0.4090663194656372, 0.3228852450847626, -0.6910167932510376, 0.3896087408065796, -0.6074143052101135, -0.25988730788230896, -0.15832273662090302, -0.28792014718055725, -0.6491276025772095, -0.056416746228933334, -0.22750867903232574, -0.813434898853302, 0.2598596215248108, 0.16368673741817474, -0.2855139672756195, 0.3753613233566284, -0.6081506013870239, 0.6528031229972839, -0.23954105377197266, -0.7607119679450989, -0.05704503506422043, -0.47689923644065857, 0.4701355993747711, -0.21213899552822113, 0.18245211243629456, -0.12063878774642944, 0.02204592153429985, 0.6868089437484741, -0.6549564599990845, 0.9774806499481201, 0.47610533237457275, -0.34610164165496826, 0.49865004420280457, 0.5115455389022827, 0.48718518018722534, -0.04638088867068291, -0.14905746281147003, 0.0745207741856575, 0.10376401990652084, -0.10169435292482376, -0.9465599060058594, 1.010425329208374, -0.7054069638252258, -0.5616063475608826, -0.21978311240673065, -0.6295889616012573, -0.2167978137731552, 0.17874914407730103, 0.2779988944530487, 0.9394789338111877, -0.00039772631134837866, 0.1805313676595688, 0.7069548964500427, 0.04447996988892555, 0.5535055994987488, 0.3939557373523712, -0.23582987487316132, -0.2277889847755432, 0.8820031881332397, 0.12607793509960175, 0.6702245473861694, 0.5033880472183228, 0.5617488622665405, -0.6245591640472412, -0.47335633635520935, -0.4437827169895172, 0.19932405650615692, -0.7407845854759216, -0.13268747925758362, -0.4759213328361511, -0.2917057275772095, -0.31665512919425964, -0.4310559034347534, -0.4267020523548126, -0.6404068470001221, -0.26881301403045654, -0.04912291467189789, 0.5860583782196045, 1.047844648361206, 0.03952844440937042, 0.5640730261802673, -0.5684632658958435, 0.2554316222667694, 0.45001116394996643, 0.39952751994132996, -0.1361856609582901, -0.6525951623916626, -0.027275435626506805, -0.03788788244128227, -0.17889855802059174, -0.8989089131355286, 0.3838951587677002, 0.18971723318099976, 0.15551838278770447, 0.08193187415599823, 0.366581529378891, 0.727154552936554, -0.5089471340179443, 0.5664731860160828, 0.2638832926750183, -1.213228464126587, 0.6624804735183716, -0.22079496085643768, 0.33826348185539246, 0.6385560035705566, 0.26147422194480896, -0.806084394454956, -0.08779117465019226, -0.5217585563659668, -0.6718180179595947, 0.7296004295349121, 0.2250920832157135, -0.2539612650871277, 0.08884231746196747, 0.6704810857772827, 0.3157488703727722, 0.1268940418958664, -0.5897654891014099, -0.208907812833786, -0.4169720709323883, -0.42085087299346924, -0.05732567235827446, -0.1573585569858551, -0.11602336168289185, -0.054970934987068176, 0.5367141962051392, -0.2333468198776245, -0.06895480304956436, 0.39583584666252136, -0.3474142551422119, 0.27445366978645325, 0.5018689036369324, 0.6251401901245117, 0.7822070121765137, 0.06323873996734619, 0.5938894748687744, 0.09864670783281326, -0.23851355910301208, 0.1164235770702362, -0.2797940969467163, -0.13075782358646393, -0.10140082240104675, 0.24298717081546783, 0.8070199489593506, 0.13979756832122803, -0.14496725797653198, 0.3582959771156311, -0.31516119837760925, -0.242386594414711, 0.1344633251428604, -0.045298490673303604, -0.10034500062465668, 0.022818677127361298, 0.039117757230997086, -0.08954842388629913, 0.22785334289073944, -0.5716366171836853, 0.3158513903617859, 0.19128724932670593, -0.5284097194671631, -0.224624365568161, 0.4640549123287201, 0.4031795561313629, -0.022830991074442863, 0.35443100333213806, 0.17363542318344116, -0.3851568102836609, 0.6205601692199707, 0.7791054248809814, 1.0298477411270142, -0.11692705005407333, 0.423941045999527, 0.43160438537597656, 0.30188748240470886, -0.3442278802394867, -0.06188918277621269, -0.3850643038749695, -0.451315313577652, -0.44007638096809387, -0.7099815607070923, -0.38270145654678345, 0.08913261443376541, -0.6261798143386841, 0.306290864944458, -0.5683778524398804, 0.06108127161860466, 0.010858768597245216, -0.329975962638855, -0.6260020136833191, 0.015490739606320858, 0.05091356858611107, 0.9158883690834045, -0.8959836363792419, 0.849448025226593, 0.37252721190452576, -0.17158883810043335, -0.7979975938796997, 0.2329854965209961, 0.09800072014331818, -0.8812615871429443, 0.7532681226730347, 0.02755877748131752, -0.556426465511322, 0.24476678669452667, -0.6446965932846069, -0.8455550670623779, 1.116878628730774, 0.36284464597702026, -0.9699472188949585, 0.21067892014980316, 0.10006464272737503, 0.4443185031414032, -0.289040744304657, 0.12937118113040924, 0.8824386596679688, 0.3459150791168213, 0.39157524704933167, -1.0952975749969482, 0.229331374168396, 0.21703854203224182, 0.20875553786754608, 0.06212715059518814, -0.6519972085952759, 0.7475782036781311, -0.06864825636148453, -0.38041478395462036, 0.01604403182864189, 0.7051121592521667, -0.23082607984542847, 0.21871238946914673, 0.3146570920944214, 0.2460181564092636, 0.7641457915306091, -0.27030321955680847, 1.0004040002822876, -0.27515631914138794, 0.320099800825119, 1.4781631231307983, -0.22258260846138, 0.5412169694900513, 0.4389217495918274, -0.0957251489162445, 0.9200804829597473, 0.5576939582824707, 0.5705796480178833, 0.46110546588897705, 0.2197994589805603, -0.20623812079429626, -0.38883480429649353, -0.2740851640701294, -0.17367663979530334, 0.3264598548412323, 0.2354149967432022, -0.31949251890182495, -0.36549174785614014, 0.04903078079223633, 0.16930370032787323, 0.47099143266677856, -0.5195215940475464, 1.0089902877807617, 0.34241345524787903, -0.8228714466094971, 0.6291297674179077, -0.326875776052475, 0.5364983677864075, -0.5482960343360901, -0.06698565930128098, -0.3480987250804901, 0.2858957350254059, -0.13518840074539185, -1.187251091003418, 0.21162870526313782, -0.16736890375614166, -0.07824878394603729, -0.798703670501709, 0.9316892027854919, -0.6941196322441101, -0.5295127034187317, 0.09140294790267944, 0.5260193347930908, -0.020401347428560257, -0.12199971824884415, -0.6786025762557983, 0.10962308943271637, -0.06616707891225815, 0.1269504576921463, 0.2829088270664215, 0.8939765095710754, -0.0604085773229599, 0.6156165599822998, 0.4003729522228241, -0.12092482298612595, -0.29691165685653687, 0.1821395456790924, 0.7963550686836243, -0.47731372714042664, -0.5075529217720032, -1.176619052886963, 0.258188933134079, -0.3714366853237152, -0.12315139174461365, 0.7355718016624451, 0.23007608950138092, 0.5165477395057678, -0.07822134345769882, 1.0300413370132446, 0.17999623715877533, 0.25256359577178955, -0.7674787640571594, 0.7215161323547363, -0.5162761211395264, 0.1688922494649887, -0.371173620223999, -0.7437435984611511, -0.03932896628975868, 0.47896453738212585, -0.3190056383609772, -0.08296874165534973, 1.0400196313858032, 0.48068124055862427, -0.08844180405139923, 0.2493608295917511, 0.1900557577610016, 0.3270375728607178, 0.23807626962661743, 0.4383598566055298, 0.7224491834640503, -0.008718863129615784, 0.2798178195953369, -0.544670581817627, -0.5081003308296204, -0.040132295340299606, -1.2950984239578247, -1.220306158065796, -0.7289305329322815, -0.5019490122795105, -0.46809983253479004, 0.13862377405166626, 0.9719030857086182, 0.6520764231681824, -0.5460731983184814, -0.3977402448654175, -0.2606692314147949, 0.3261129856109619, -0.47214359045028687, -0.19490589201450348, 0.4418114423751831, -0.42129915952682495, -0.7643420696258545, 0.33377987146377563, 0.4007972776889801, 0.18772073090076447, -0.21268056333065033, 0.2847500741481781, -0.010766268707811832, 0.16336770355701447, 0.8171152472496033, 0.10671158879995346, -0.5308318734169006, -0.2517406642436981, -0.07598313689231873, -0.05138874426484108, 0.03813116252422333, 1.2015348672866821, -0.6913238763809204, 0.5461674928665161, 0.44681426882743835, 0.42874428629875183, 0.5862477421760559, 0.06292811036109924, 0.7047162652015686, -0.9451200366020203, -0.1596985012292862, -0.15645018219947815, 0.3668576180934906, 0.24577221274375916, -0.40351584553718567, 0.3939087688922882, 0.298872709274292, -0.4576248824596405, -0.43871447443962097, 0.3881257176399231, -1.1821362972259521, -0.5453621745109558, 1.3750238418579102, 0.03704727813601494, -0.5322638154029846, -0.2509077787399292, -0.5851521492004395, 0.0608234740793705, -0.3809269368648529, 0.7234981060028076, 0.5235810279846191, -0.09594711661338806, -0.3149768114089966, -0.1679326295852661, 0.8180636763572693, 0.02000868320465088, -0.9616668820381165, 0.49316275119781494, 0.22923436760902405, 0.4830053448677063, -0.27807506918907166, 0.5565513372421265, 0.0200802069157362, 0.04232937842607498, -0.4151722192764282, -0.06225346401333809, -0.15916770696640015, -0.44233426451683044, 0.021944036707282066, -0.1333867907524109, -0.25016993284225464, 0.1536152958869934 ]
http://arxiv.org/abs/2403.01081v3
http://arxiv.org/pdf/2403.01081v3
LAB: Large-Scale Alignment for ChatBots
2024-03-02T03:48:37
2024-04-29T18:55:34
Shivchander Sudalairaj, Abhishek Bhandwaldar, Aldo Pareja, Kai Xu, David D. Cox, Akash Srivastava
cs.CL
cs.CL, cs.LG
This work introduces LAB (Large-scale Alignment for chatBots), a novel methodology designed to overcome the scalability challenges in the instruction-tuning phase of large language model (LLM) training. Leveraging a taxonomy-guided synthetic data generation process and a multi-phase tuning framework, LAB significantly reduces reliance on expensive human annotations and proprietary models like GPT-4. We demonstrate that LAB-trained models can achieve competitive performance across several benchmarks compared to models trained with traditional human-annotated or GPT-4 generated synthetic data. Thus offering a scalable, cost-effective solution for enhancing LLM capabilities and instruction-following behaviors without the drawbacks of catastrophic forgetting, marking a step forward in the efficient training of LLMs for a wide range of applications.
[ -0.03697746619582176, -0.9662113785743713, 0.38593602180480957, -0.05554358661174774, 0.14310412108898163, 0.7189635038375854, -0.19211836159229279, -0.13561555743217468, -0.0626213327050209, 0.5375670790672302, -0.6664792895317078, -0.4074424207210541, -0.347199410200119, 0.0032880064100027084, -0.5664819478988647, 1.0069894790649414, 0.1823706477880478, 0.0970936045050621, -0.1621927171945572, -0.05834273248910904, -0.602523148059845, -0.5049264430999756, -0.9801511764526367, -0.3092394769191742, 0.6254994869232178, 0.5637650489807129, 0.732471764087677, 0.8613790273666382, 0.5410605669021606, 0.39228272438049316, 0.07994162291288376, 0.321972519159317, -0.8026599884033203, 0.06786894798278809, 0.0352540947496891, -0.6073789596557617, -0.6984274983406067, -0.044497739523649216, 0.8016999959945679, 0.487048864364624, -0.2655341625213623, 0.0989597886800766, -0.1998678296804428, 0.8325207233428955, -0.2775842547416687, 0.17829541862010956, -0.9326157569885254, 0.015152220614254475, -0.03675755858421326, -0.22050826251506805, -0.7308341264724731, -0.3009456396102905, -0.02826976217329502, -0.5906253457069397, 0.44235071539878845, 0.36746248602867126, 0.7762913703918457, 0.4525027573108673, -0.3566848337650299, 0.04363313689827919, -0.701017439365387, 0.7495359182357788, -0.6016290783882141, 0.36033204197883606, 0.06187693029642105, 0.5934738516807556, -0.4435618817806244, -0.5715401768684387, -0.7861964702606201, 0.002083642641082406, 0.15839867293834686, 0.05926665663719177, 0.1771547794342041, 0.18059022724628448, 0.3066062331199646, 0.1783725917339325, -0.6108505129814148, 0.39707696437835693, -0.39682626724243164, -0.3057195246219635, 0.668749213218689, 0.268221378326416, 0.2196100503206253, 0.3704445958137512, -0.042464498430490494, -0.28824448585510254, -0.7927893996238708, -0.2554861307144165, 0.29925206303596497, 0.5254994034767151, -0.13633330166339874, 0.6982947587966919, -0.09206291288137436, 0.6657482981681824, 0.24312330782413483, -0.2117486149072647, 0.41954025626182556, -0.3191315233707428, -0.19064725935459137, 0.25454336404800415, 0.9708830118179321, 0.21727968752384186, 0.1972929835319519, -0.19870643317699432, -0.03422055393457413, -0.1745585799217224, 0.46430501341819763, -0.7302075624465942, -0.3301819860935211, 0.36649090051651, 0.11197090148925781, -0.3597809672355652, -0.43343210220336914, -0.7596921324729919, -0.5916341543197632, -0.6065109372138977, 0.5035157799720764, -0.5158671140670776, 0.029086295515298843, -0.18032598495483398, -0.06572820991277695, 0.45382726192474365, 0.4484901428222656, -1.2305201292037964, 0.10101631283760071, 0.8721075654029846, 0.9423801898956299, -0.18372809886932373, -0.23478703200817108, -0.6637656688690186, 0.2147708237171173, -0.5520028471946716, 0.47004249691963196, -0.5131990909576416, -0.23292036354541779, 0.027246974408626556, 0.06917042285203934, 0.007690972648561001, -0.4779687821865082, 0.1145147979259491, -0.5104764699935913, 0.05666130408644676, 0.21701613068580627, -0.7639063000679016, 0.11858851462602615, 0.3279639780521393, -0.47239693999290466, 1.0891426801681519, 0.13780753314495087, -0.4287187457084656, 0.1575905978679657, -0.5437402725219727, -0.4428650736808777, 0.19772885739803314, -0.1601824313402176, -0.5718041658401489, -0.24966369569301605, 0.2250346690416336, 0.5049519538879395, -0.3453088402748108, 0.26233482360839844, -0.11016982793807983, -0.20815427601337433, 0.3341352343559265, -0.15901745855808258, 0.3446728587150574, -0.06940200179815292, -0.27226436138153076, 0.7108342051506042, -1.0071089267730713, -0.0859551727771759, -0.044600408524274826, -0.2587669789791107, 0.08091755211353302, 0.14416588842868805, -0.19240009784698486, 0.1253041923046112, 0.4019947648048401, -0.6449102759361267, 0.28702598810195923, -0.41701799631118774, 0.7677888870239258, 0.9105375409126282, -0.3891790509223938, 0.6410496234893799, -0.2260623276233673, 0.5706980228424072, -0.20626972615718842, 0.20070892572402954, -0.22124499082565308, -0.45770955085754395, -0.8488982915878296, -0.4824214279651642, 0.28827476501464844, 0.6393502354621887, -0.6352469325065613, 0.6345840692520142, -0.43026500940322876, -0.7877328395843506, -0.6000033617019653, 0.34392061829566956, 0.42678019404411316, 0.6461571455001831, 0.3228365480899811, -0.006317202001810074, -0.4926305413246155, -1.009206771850586, 0.18048007786273956, 0.20063476264476776, -0.17216168344020844, 0.15329168736934662, 0.4763074517250061, -0.4151357412338257, 0.913414716720581, -0.4673152565956116, -0.19939343631267548, -0.23820370435714722, 0.1979590505361557, 0.10719716548919678, 0.6175951361656189, 0.10808448493480682, -0.5831494331359863, -0.5593023896217346, 0.2652834355831146, -0.3414447009563446, 0.030050819739699364, -0.1314277946949005, -0.5016669034957886, 0.35055556893348694, 0.8969199657440186, -0.6283547878265381, -0.00590964499861002, 0.8662588596343994, 0.07291862368583679, 0.4824458360671997, -0.2966810166835785, -0.004667321220040321, -1.252256989479065, -0.02160567045211792, -0.09567517787218094, -0.4694982171058655, -0.625444233417511, -0.1719195395708084, 0.33389294147491455, -0.1909642219543457, -0.29560384154319763, 0.5735917687416077, -0.2065483033657074, 0.12033573538064957, -0.25259503722190857, 0.40550899505615234, -0.12687234580516815, 0.5073226690292358, -0.10780342668294907, 1.0194059610366821, 0.4579177498817444, -0.4434352219104767, 0.5161073803901672, 0.3209736943244934, -0.08039864152669907, 0.5593927502632141, -0.6133161187171936, 0.3328237533569336, 0.01337572280317545, 0.5582064390182495, -1.1320608854293823, -0.633776068687439, -0.011526696383953094, -0.4483024477958679, 0.552924394607544, -0.03749614208936691, -0.84699547290802, -0.369766503572464, -0.21535634994506836, 0.28283199667930603, 0.7507067322731018, -0.5853683352470398, 0.7470665574073792, 0.4205125570297241, 0.014231981709599495, -0.5663309693336487, -0.3089386224746704, -0.08071854710578918, -0.27813953161239624, -0.44342663884162903, 0.156157448887825, -0.04528624936938286, 0.21707606315612793, -0.5792267918586731, 0.0032458726782351732, 0.07560551166534424, -0.006853438913822174, 0.2640708386898041, 0.4714691638946533, -0.13817669451236725, 0.3516426682472229, -0.08962737023830414, 0.0551178939640522, -0.12702465057373047, -0.1290946751832962, 0.8833447694778442, 0.07112699747085571, -0.20325106382369995, -0.5552964806556702, 0.017488138750195503, 0.650560736656189, -0.05453987047076225, 0.9040940403938293, 0.6462200880050659, -0.06001026928424835, -0.20752675831317902, -0.5732373595237732, -0.12543673813343048, -0.5602461695671082, 0.5604243874549866, -0.011399224400520325, -1.121755838394165, 0.4067915081977844, -0.18886211514472961, 0.3808267116546631, 0.3621796667575836, 0.7110610008239746, -0.23497359454631805, 1.4151734113693237, 0.5202765464782715, -0.11606898903846741, 0.5773681998252869, 0.16055625677108765, 0.38055768609046936, -0.9609180092811584, -0.12019594758749008, -0.572547435760498, -0.5047775506973267, -0.7323930859565735, -0.6200745701789856, 0.4369816482067108, -0.20023147761821747, -0.8485565185546875, 0.3136758804321289, -0.7475566267967224, 0.582800567150116, 0.6797301173210144, 0.09484485536813736, 0.05890404060482979, -0.25987115502357483, 0.2256924957036972, 0.23389409482479095, -0.6765555143356323, -0.4161062240600586, 1.2766731977462769, 0.2424456924200058, 0.5876410603523254, 0.15060636401176453, 0.4620005786418915, -0.14717300236225128, 0.37626394629478455, -0.8740317821502686, 0.586174488067627, -0.02281380072236061, -0.7907527089118958, -0.7235090136528015, -0.48988884687423706, -1.1544674634933472, 0.11891679465770721, -0.2931896150112152, -1.055140733718872, -0.6163927316665649, 0.3685203492641449, -0.19254042208194733, 0.15607884526252747, -0.8190355896949768, 0.9026393890380859, -0.2781740725040436, -0.31507596373558044, -0.28896066546440125, -0.8348864316940308, 0.4404335021972656, -0.5450202226638794, 0.29655352234840393, -0.20024485886096954, 0.10927090048789978, 0.6796336770057678, -0.43232107162475586, 1.0255517959594727, 0.12398511171340942, -0.2672208547592163, 0.00495742354542017, -0.08889351785182953, 0.5671982765197754, -0.08108960092067719, 0.15890491008758545, -0.11496872454881668, 0.008886481635272503, -0.4846275746822357, -0.5096490979194641, 0.6566866040229797, -0.9555565118789673, -0.690414547920227, -0.2351996749639511, -1.026547908782959, -0.6268792152404785, 0.16237309575080872, -0.051463283598423004, 0.2557631731033325, -0.15207383036613464, 0.39971548318862915, 0.8086066842079163, -0.5818260908126831, 0.18505868315696716, 0.3654094636440277, -0.3554845154285431, -0.37411394715309143, 0.9191461205482483, -0.3135547637939453, 0.7392230033874512, 0.6606488227844238, 0.18716134130954742, -0.22075870633125305, -0.3535248935222626, -0.5247811675071716, 0.21087849140167236, -0.471103310585022, -0.267490953207016, -0.5824635028839111, -0.44148024916648865, -0.5161133408546448, -0.48080068826675415, -0.6516144275665283, -0.32026830315589905, -0.21031548082828522, 0.1041109636425972, 0.6520103812217712, 0.33228230476379395, 0.3379959166049957, 0.7392774820327759, -0.9547995924949646, 0.27366381883621216, 0.32851630449295044, 0.2144930213689804, -0.14266403019428253, -0.610596776008606, -0.2743288278579712, 0.12037429958581924, -0.5682728886604309, -0.34828072786331177, 0.3497159481048584, 0.30613502860069275, 0.2617279887199402, 0.16538803279399872, -0.30259281396865845, 0.7972638010978699, -0.8767300844192505, 0.7600509524345398, 0.36069971323013306, -0.9168908596038818, 0.6439188718795776, -0.5729672312736511, 0.6027606129646301, 0.43385937809944153, 0.2852955460548401, -0.4877735674381256, -0.5005345344543457, -0.48330238461494446, -0.991638720035553, 0.7805001735687256, 0.09132184833288193, 0.34487101435661316, 0.1679939329624176, 0.38008683919906616, 0.10752832889556885, 0.3035624325275421, -0.4913496971130371, -0.14551813900470734, 0.0303786788135767, -0.6444492340087891, -0.4373825192451477, 0.12191878259181976, -0.402017205953598, -0.3906267583370209, 0.8152539134025574, -0.4215448796749115, 0.0782034769654274, -0.3682318925857544, 0.10565534234046936, -0.045548416674137115, 0.1244187206029892, 0.5406873226165771, 0.5193771123886108, -0.20883949100971222, -0.19931823015213013, 0.15294025838375092, -0.4742271304130554, 0.2165699005126953, -0.07527802884578705, 0.08112996816635132, -0.39765655994415283, 0.20017848908901215, 0.7148107290267944, 0.43651387095451355, -0.9395932555198669, 0.25364989042282104, 0.014790629036724567, -0.27390915155410767, -0.23683317005634308, 0.427694708108902, 0.38158920407295227, 0.31611937284469604, 0.09020687639713287, -0.343639612197876, -0.2596719264984131, -0.668292224407196, 0.02559981867671013, 0.5949828028678894, -0.21414387226104736, -0.15715081989765167, 0.7521012425422668, 0.21321803331375122, -0.6044428944587708, 0.8761369585990906, -0.08061368018388748, -0.4013964533805847, 0.7333329916000366, 0.6301933526992798, 0.6453579664230347, -0.21017691493034363, 0.23480285704135895, 0.5864547491073608, 0.02092207409441471, -0.26882535219192505, -0.027707116678357124, 0.20784804224967957, -0.7619531750679016, -0.5406763553619385, -0.7376826405525208, -0.8079758882522583, 0.06664036959409714, -0.3429235517978668, 0.4891577661037445, -0.6085146069526672, -0.01474260725080967, 0.3060210049152374, -0.311885267496109, -0.5543814897537231, 0.06995473802089691, 0.10434846580028534, 0.5379594564437866, -0.5269513130187988, 1.0278048515319824, 0.4077674448490143, -0.0711308941245079, -0.957745373249054, -0.4159901738166809, 0.3216603100299835, -0.9376135468482971, 0.5527785420417786, 0.21616116166114807, -0.0138099892064929, 0.2221986949443817, -0.7768492698669434, -1.0521677732467651, 1.2166961431503296, 0.14636150002479553, -1.133198857307434, -0.06565201282501221, 0.1921582669019699, 0.8121833205223083, -0.3739517331123352, -0.00045901467092335224, 0.7913869619369507, 0.1436166614294052, 0.555344820022583, -1.1433357000350952, -0.035522062331438065, 0.022358516231179237, -0.1457403600215912, 0.5388230085372925, -0.8399791717529297, 0.7228636145591736, 0.040883488953113556, 0.003983307164162397, 0.06933917850255966, 0.421768456697464, 0.40267428755760193, -0.03747262433171272, 0.33364731073379517, 0.37700584530830383, 1.025651454925537, -0.1269174963235855, 0.7307204604148865, -0.3765662610530853, 0.10874197632074356, 1.4228143692016602, -0.4592686891555786, 0.8716638088226318, 0.2711750268936157, -0.225789412856102, 0.29226455092430115, 0.5456067323684692, -0.16748762130737305, 0.2501600682735443, 0.42295971512794495, -0.037921931594610214, -0.1488698571920395, 0.2908466160297394, -0.09349878877401352, 0.4809817671775818, 0.5790928602218628, -0.14887453615665436, 0.1995667666196823, -0.1954856663942337, -0.03955078125, -0.13647694885730743, -0.2728731632232666, 0.8043764233589172, -0.13168960809707642, -0.7099347710609436, 0.6515565514564514, -0.4218003749847412, 0.6232824921607971, -0.5831926465034485, 0.12984715402126312, 0.014293098822236061, 0.29923686385154724, -0.08892074227333069, -0.6351406574249268, 0.032265737652778625, -0.06549718976020813, 0.1534910351037979, -0.1421431452035904, 0.1921277493238449, -0.36182519793510437, -0.5365694165229797, -0.10142863541841507, 0.2632999122142792, 0.0737769678235054, 0.15530942380428314, -0.608349084854126, -0.06769159436225891, -0.09623482823371887, -0.12017026543617249, 0.5808328986167908, 0.5443692207336426, -0.10921850800514221, 0.8775913715362549, 0.5851662755012512, -0.12080798298120499, 0.15264146029949188, 0.21636411547660828, 0.6987181901931763, -0.6651995778083801, -0.03984561190009117, -0.8600447773933411, 0.37333670258522034, -0.215103417634964, -0.22320809960365295, 0.6012502312660217, 0.618788480758667, 0.6870375275611877, 0.11200867593288422, 0.7213436961174011, 0.0778806209564209, 0.4807509481906891, -0.5064795017242432, 0.43678489327430725, -0.39833271503448486, 0.10685840249061584, -0.1425655484199524, -0.973560094833374, -0.3747715353965759, 0.3626345098018646, -0.08595433831214905, -0.12601009011268616, 0.6555652618408203, 0.9731811285018921, 0.12626391649246216, 0.02514995075762272, 0.2997456192970276, 0.31007176637649536, 0.598863959312439, 0.464199960231781, 0.7420486807823181, -0.1607450395822525, 0.4464353322982788, -0.04671843349933624, -0.2864643335342407, -0.23393042385578156, -0.6693708300590515, -1.1596484184265137, -0.620503306388855, -0.4820221960544586, -0.275458425283432, -0.2138807475566864, 0.9799738526344299, 0.7171000242233276, -0.7099353075027466, -0.13301250338554382, -0.1974048912525177, -0.17210935056209564, -0.04345191270112991, -0.18731072545051575, 0.26877889037132263, -0.770859956741333, -0.9618992805480957, 0.2946852445602417, 0.281754732131958, 0.13916631042957306, -0.27034762501716614, 0.11745016276836395, -0.25008636713027954, 0.20681187510490417, 0.6855101585388184, 0.3085530996322632, -0.6299249529838562, -0.4584239721298218, 0.010444984771311283, -0.246726855635643, 0.40329647064208984, 0.4630292057991028, -0.49130818247795105, 0.504474937915802, 0.24469837546348572, 0.7529598474502563, 0.5667744874954224, 0.043436143547296524, 0.8840847015380859, -0.9406622648239136, 0.17512431740760803, 0.12271095812320709, 0.19898676872253418, 0.4055290222167969, -0.2819370925426483, 0.5759289860725403, -0.298086017370224, -1.0316247940063477, -0.775812566280365, 0.1065603494644165, -1.2535779476165771, -0.1000940352678299, 1.2808630466461182, 0.1897212117910385, -0.3538703918457031, 0.035654060542583466, -0.47122812271118164, 0.4690443277359009, -0.3498423099517822, 1.0452358722686768, 0.7821218967437744, -0.25181102752685547, -0.0947662815451622, -0.7660797238349915, 0.4772008955478668, 0.3074190020561218, -0.9312971234321594, 0.21853980422019958, 0.6798191070556641, 0.19898897409439087, 0.18993307650089264, 0.3585682213306427, -0.00841918122023344, 0.029492642730474472, -0.02434021793305874, 0.28186649084091187, 0.3244214653968811, -0.04709652066230774, -0.08512292802333832, -0.059849683195352554, 0.11626125872135162, -0.17683108150959015 ]
http://arxiv.org/abs/2403.01069v2
http://arxiv.org/pdf/2403.01069v2
LLMCRIT: Teaching Large Language Models to Use Criteria
2024-03-02T02:25:55
2024-06-04T15:30:20
Weizhe Yuan, Pengfei Liu, Matthias Gallé
cs.CL
cs.CL
Humans follow criteria when they execute tasks, and these criteria are directly used to assess the quality of task completion. Therefore, having models learn to use criteria to provide feedback can help humans or models to perform tasks better. However, existing research in this field tends to consider only a limited set of criteria or quality assessment aspects. To fill this gap, we propose a general framework that enables large language models (LLMs) to use comprehensive criteria for a task in delivering natural language feedback on task execution. In particular, we present a model-in-the-loop framework that semi-automatically derives criteria from collected guidelines for different writing tasks and constructs in-context demonstrations for each criterion. We choose three tasks from real-world scenarios to operationalize this idea: paper introduction writing, Python code writing, and Reddit post writing, and evaluate our feedback generation framework using different LLMs. The results reveal the fine-grained effects of incorporating criteria and demonstrations and provide valuable insights on how to teach LLMs to use criteria more effectively.
[ -0.1793825477361679, -0.8507622480392456, 0.7877264022827148, 0.22264479100704193, -0.3741696774959564, -0.1700473427772522, -0.5121175050735474, -0.35012876987457275, -0.12085609138011932, 0.7947545647621155, -0.37984028458595276, -0.5866755247116089, -0.2583514153957367, 0.11683519929647446, -0.6794751286506653, 1.1533889770507812, -0.36082661151885986, 0.007008175831288099, -0.41711896657943726, 0.23792964220046997, -0.5455772280693054, -0.6081933975219727, -0.6451885104179382, -0.5193040370941162, 0.5784268975257874, 0.600740373134613, 0.2639155983924866, 0.1915009617805481, 0.5723486542701721, 0.26108571887016296, 0.20164112746715546, 0.4430692493915558, -0.2811490297317505, 0.09852518886327744, -0.31202757358551025, -0.50020831823349, -0.33528950810432434, 0.11375193297863007, 0.7011280059814453, 0.7380070090293884, -0.27609875798225403, 0.31798702478408813, 0.3438349962234497, 0.3458097279071808, -0.3266521692276001, 0.13997428119182587, -0.4455450475215912, 0.017740866169333458, 0.014429383911192417, -0.35063937306404114, -0.5416978001594543, -0.6708104014396667, -0.012113004922866821, -0.482128381729126, 0.01892699860036373, -0.02189263515174389, 0.6741148829460144, -0.008143588900566101, -0.3624926805496216, -0.7488071918487549, -0.709164559841156, 0.7753016948699951, -0.8957322835922241, -0.08341803401708603, 0.5151786208152771, 0.3164660632610321, -0.08624088019132614, -0.6473629474639893, -0.608668863773346, -0.8974623680114746, -0.09051143378019333, -0.16445720195770264, 0.23848964273929596, 0.09189538657665253, 0.41755685210227966, 0.3423537313938141, -0.21359342336654663, 0.17803822457790375, -0.36437904834747314, -0.1573815494775772, 0.5583981871604919, 0.25259929895401, 0.16882741451263428, -0.19096697866916656, -0.02045377902686596, 0.22073449194431305, -0.7779273986816406, 0.09432791918516159, 0.3869840204715729, 0.5102701783180237, -0.2741905450820923, 0.7920053601264954, -0.2799072265625, 0.9892019033432007, 0.01075976062566042, -0.2557302713394165, -0.2815065383911133, -0.42996281385421753, -0.15114596486091614, -0.36452487111091614, 0.6937926411628723, 0.4157702624797821, 0.2955239415168762, -0.20410017669200897, -0.5311924815177917, 0.25902923941612244, 0.4626087546348572, -0.7904278635978699, 0.062427815049886703, -0.0890585407614708, -0.4110049307346344, -0.31156396865844727, 0.06454066187143326, -0.7290043234825134, -0.452479749917984, -0.9108119606971741, 0.5065010786056519, -0.10779837518930435, -0.10059316456317902, 0.025244221091270447, 0.08126084506511688, 0.2060043066740036, 0.4948662221431732, -0.7270984053611755, 0.4017852544784546, 0.7088492512702942, 0.8046287894248962, -0.3025995194911957, -0.3497503399848938, -0.915177583694458, 0.00016561892698518932, -0.3771917521953583, 0.7552124857902527, -0.8323097825050354, -0.27775195240974426, 0.2358824759721756, -0.11645426601171494, 0.05510624870657921, -0.539310097694397, 0.547964870929718, -0.1027088537812233, 0.3167248070240021, -0.20522712171077728, -0.658274233341217, -0.07365857064723969, 0.3193858861923218, -0.30177047848701477, 0.9159263372421265, 0.30223384499549866, -0.5349562168121338, 0.45808082818984985, -0.752200186252594, -0.6215682625770569, 0.06577698141336441, 0.016612421721220016, -0.11156827956438065, 0.3605268597602844, 0.08122474700212479, 0.754327118396759, -0.4494713246822357, 0.48421788215637207, -0.1363448202610016, -0.44991403818130493, 0.3057774305343628, -0.23773333430290222, 0.20754854381084442, 0.2390490472316742, -0.38659191131591797, 0.5119925141334534, -0.6252462863922119, 0.10688728839159012, -0.26353344321250916, -0.7534466981887817, -0.03242729976773262, -0.04447133094072342, 0.14311759173870087, 0.14029647409915924, -0.11060076206922531, -0.34566745162010193, 0.2690507769584656, -0.2166898250579834, 0.7237392067909241, 0.3895423412322998, 0.09671714901924133, 0.41977450251579285, -0.6298711895942688, 0.7210862040519714, -0.28111717104911804, -0.05883192643523216, -0.12985411286354065, -0.1120382621884346, -0.9807958006858826, -0.07867302745580673, 0.26242688298225403, 0.2787040174007416, -0.7671042680740356, 0.49743714928627014, -0.012454147450625896, -0.5712253451347351, -0.4327329695224762, 0.6709558367729187, 0.4564563035964966, 0.3693564534187317, -0.05471792444586754, -0.46226438879966736, -0.5249203443527222, -0.612416684627533, 0.08602584898471832, -0.1762833297252655, -0.09582296758890152, 0.10518868267536163, 0.5721873044967651, -0.23387135565280914, 0.681924045085907, -0.03910217061638832, -0.2440893054008484, -0.7080649733543396, 0.17408205568790436, 0.34900063276290894, 0.4053553342819214, 0.2657533884048462, -0.3514673113822937, -0.32388463616371155, -0.12765465676784515, -0.671890139579773, -0.2510567903518677, -0.38875600695610046, -0.33344995975494385, 0.34089839458465576, 0.45365390181541443, -0.5798736810684204, 0.14980058372020721, 0.4778918921947479, -0.11613411456346512, 0.7106725573539734, -0.31090089678764343, 0.22767463326454163, -0.9005436897277832, 0.16429759562015533, 0.2696766257286072, -0.42203834652900696, -0.4169784486293793, 0.3182438015937805, -0.04200126230716705, -0.22688765823841095, -0.31519845128059387, 0.44266632199287415, -0.2533089220523834, 0.10516072064638138, -0.4602985978126526, 0.20190295577049255, 0.05594714730978012, 0.36273929476737976, 0.10424171388149261, 0.630165696144104, 0.4076905846595764, -0.8397932052612305, 0.29322028160095215, -0.07171323895454407, -0.80267733335495, 0.824532687664032, -0.7074052095413208, 0.2125295251607895, 0.01234530471265316, 0.3394182622432709, -0.6941202282905579, -0.3165203928947449, 0.06522735208272934, -0.21774008870124817, 0.39559832215309143, -0.0365225113928318, -0.721703290939331, -0.580221951007843, -0.16549475491046906, -0.17485205829143524, 0.42157894372940063, -0.34832847118377686, 0.3312808871269226, 0.3227273225784302, -0.048354849219322205, -0.11404924094676971, -0.5237736701965332, 0.18083757162094116, -0.23735754191875458, -0.30865979194641113, 0.05710930377244949, -0.18743908405303955, -0.2296786606311798, -0.13828615844249725, 0.14684323966503143, 0.09217541664838791, 0.2702772319316864, 0.32989880442619324, 0.16871069371700287, -0.012100696563720703, 0.08837668597698212, -0.20626983046531677, 0.0739467442035675, 0.16819621622562408, -0.27566325664520264, 0.6116668581962585, 0.03698834404349327, -0.5936541557312012, -0.668550431728363, 0.40017271041870117, 0.6246070265769958, -0.2572842240333557, 0.30678337812423706, 0.5493435263633728, -0.3104989528656006, -0.5037848353385925, -0.6529850363731384, -0.20673903822898865, -0.43883413076400757, 0.4196252226829529, -0.15226131677627563, -1.084481120109558, 0.14228147268295288, 0.06307050585746765, 0.33710572123527527, 0.19553199410438538, 0.9737117290496826, -0.16649918258190155, 0.8634089231491089, 0.7531436085700989, -0.08221109956502914, 0.39513087272644043, -0.20804864168167114, 0.40206965804100037, -0.9875572919845581, -0.0485355406999588, -0.5383483171463013, -0.04623285308480263, -0.14131298661231995, -0.6185950636863708, 0.06470853835344315, 0.291843056678772, -0.22046729922294617, 0.3175213038921356, -0.5725721716880798, 0.4231927692890167, 0.6027415990829468, 0.02298494428396225, 0.02108805440366268, 0.011727494187653065, -0.35336703062057495, 0.09203950315713882, -0.5616188645362854, -0.9950509071350098, 0.9411006569862366, 0.2815645933151245, 0.9083013534545898, -0.19915816187858582, 0.7367209792137146, 0.5476470589637756, 0.7500929832458496, -0.8731939196586609, 0.6835184693336487, 0.025589125230908394, -0.4274766743183136, -0.19051498174667358, -0.45081597566604614, -0.5893558263778687, 0.0259057879447937, -0.07029648870229721, -0.6943392753601074, -0.4415075480937958, 0.2351188361644745, -0.40623077750205994, 0.16880273818969727, -0.6272034049034119, 0.7135096192359924, -0.36920151114463806, -0.4096876382827759, -0.24655696749687195, -0.1964884251356125, 0.4502424895763397, -0.04707186669111252, 0.2900611460208893, -0.07862842082977295, 0.25958874821662903, 0.7140219807624817, -0.38029181957244873, 1.3604069948196411, -0.27142372727394104, -0.39293062686920166, 0.6906565427780151, 0.20122329890727997, 0.48036056756973267, 0.07858489453792572, -0.323966920375824, -0.46157610416412354, 0.018168475478887558, -0.027164295315742493, -0.5776167511940002, 0.6959283351898193, -0.42341184616088867, -0.65480637550354, -0.06719208508729935, -0.5701178908348083, -0.25557056069374084, -0.038759421557188034, 0.02167453244328499, 0.6688417196273804, 0.051370084285736084, 0.1654980629682541, 0.09495357424020767, -0.20499493181705475, 0.3017772138118744, 0.5391597747802734, -0.30780351161956787, -0.20805911719799042, 0.9194469451904297, -0.07256492972373962, 0.43507784605026245, 0.2789371907711029, 0.22499245405197144, -0.2613164186477661, -0.6030868887901306, -0.43801549077033997, 0.31392955780029297, -0.9497671723365784, -0.24327446520328522, -0.34351521730422974, -0.09430515021085739, -0.32918012142181396, -0.2966964840888977, 0.09389976412057877, -0.208095982670784, -0.24507947266101837, -0.01610664650797844, 0.04813224449753761, 0.9841822385787964, 0.19626042246818542, 0.27925005555152893, -0.8089459538459778, 0.10439681261777878, 0.3206963837146759, 0.2680951952934265, 0.33801016211509705, -0.7658616900444031, -0.22118881344795227, 0.11844994127750397, -0.5061746835708618, -0.44411802291870117, 0.34240224957466125, 0.32342636585235596, 0.8057012557983398, 0.22348959743976593, -0.035152219235897064, 0.565455973148346, -0.39858293533325195, 0.896763265132904, 0.16760705411434174, -1.2042608261108398, 0.7950258851051331, -0.4058383107185364, 0.36084139347076416, 0.511146068572998, 0.28392085433006287, -0.761150598526001, -0.7542528510093689, -0.021012522280216217, -0.6009320020675659, 0.5128084421157837, 0.04928881302475929, 0.48555269837379456, -0.00772867863997817, 0.6798506379127502, 0.2289147824048996, 0.40602898597717285, -0.8428670167922974, 0.37573227286338806, -0.017276737838983536, -0.39293372631073, -0.09101825207471848, -0.3811109662055969, -0.16015949845314026, -0.3566165864467621, 0.5642163157463074, -0.3682878613471985, 0.26541540026664734, 0.1580086201429367, -0.4073675870895386, -0.14642594754695892, 0.4397715628147125, 0.7888402938842773, 1.1684753894805908, 0.06738658994436264, 0.07482380419969559, 0.1577257364988327, -0.040189243853092194, 0.09150070697069168, -0.2155217081308365, -0.19627498090267181, -0.16949725151062012, 0.6918807625770569, 0.7345954179763794, 0.4152475893497467, -0.8637471199035645, 0.28094518184661865, 0.0864063948392868, -0.4006735682487488, -0.13882219791412354, 0.3502441346645355, 0.16586032509803772, 0.10515927523374557, 0.018689937889575958, -0.4387558698654175, -0.013757343403995037, -0.8330438733100891, 0.22366605699062347, 0.2726621627807617, -0.6068761944770813, -0.3325421214103699, 0.43453121185302734, 0.35720211267471313, -0.4007333815097809, 0.5462502241134644, -0.3146737813949585, -0.6908437609672546, 0.6104519367218018, 0.6411040425300598, 0.631753146648407, 0.12820222973823547, 0.3956971764564514, 0.49669402837753296, 0.20749378204345703, -0.30007505416870117, 0.29895851016044617, -0.35328495502471924, -0.2600548267364502, -0.7159051895141602, -1.0876511335372925, -0.660913348197937, -0.0787658616900444, -0.5545195937156677, 0.3382914960384369, -0.48787617683410645, -0.14399388432502747, 0.09094357490539551, 0.10800801217556, -0.5955652594566345, 0.029427653178572655, 0.25110870599746704, 0.6192525029182434, -0.6644469499588013, 0.8551185727119446, 0.7825689315795898, -0.5019696354866028, -0.9251030683517456, -0.15913890302181244, 0.004133677575737238, -0.5128439664840698, 0.7027806043624878, 0.34984487295150757, 0.09022210538387299, -0.3259012997150421, -0.6908646821975708, -0.5071539282798767, 0.6965967416763306, 0.21122047305107117, -0.6609475612640381, 0.047185298055410385, 0.10012674331665039, 0.7254874110221863, -0.7356135249137878, 0.2962084114551544, 0.44174724817276, 0.5683283805847168, 0.12660810351371765, -1.1105459928512573, 0.13340610265731812, -0.2773435115814209, -0.003942416049540043, -0.023902148008346558, -0.35633739829063416, 0.5401871204376221, -0.43174228072166443, -0.15406733751296997, 0.35943982005119324, 0.5652320384979248, 0.22125214338302612, 0.06460455060005188, 0.5378876328468323, 0.40701067447662354, 0.7713222503662109, -0.04352772235870361, 1.3329179286956787, -0.12972486019134521, 0.25029781460762024, 1.1751612424850464, -0.5282611846923828, 0.9285880327224731, 0.30645421147346497, -0.11533313989639282, 0.47236791253089905, 0.5495796203613281, -0.13632404804229736, 0.22481679916381836, 0.8821759819984436, 0.009365429170429707, -0.455436646938324, -0.383129745721817, 0.005544913932681084, 0.39375442266464233, 0.2748873233795166, -0.29823678731918335, -0.1354297548532486, 0.17356108129024506, 0.03156905248761177, 0.2984630763530731, -0.35962069034576416, 0.6479761004447937, 0.20490802824497223, -1.1644340753555298, 0.510382354259491, 0.05361201614141464, 0.861867368221283, -0.6340653300285339, -0.2536723017692566, -0.1369432508945465, 0.21666935086250305, -0.22901372611522675, -0.7845339775085449, 0.38216888904571533, 0.30455806851387024, -0.20970307290554047, -0.17312969267368317, 0.37367838621139526, -0.5485572814941406, -0.8019686937332153, 0.10992193222045898, 0.05421137064695358, 0.0887233316898346, 0.06421173363924026, -0.35138267278671265, 0.11343754827976227, -0.14631740748882294, -0.07331990450620651, 0.28454309701919556, 0.33458390831947327, -0.12067431211471558, 0.768739640712738, 0.6181210279464722, 0.2936641275882721, -0.19281268119812012, 0.57247394323349, 0.7138217091560364, -0.5544494390487671, -0.21595612168312073, -0.7176969647407532, 0.3734152019023895, -0.18141832947731018, -0.2405993938446045, 0.7817806005477905, 0.40389591455459595, 0.8598233461380005, 0.04278293624520302, 0.9293376803398132, -0.13518935441970825, 0.5405847430229187, -0.6861894130706787, 0.6558577418327332, -0.5699924230575562, 0.3156208097934723, -0.22709637880325317, -1.1288081407546997, -0.30189141631126404, 0.6566333770751953, -0.19143512845039368, 0.15544162690639496, 0.8588025569915771, 0.7934603691101074, 0.07519836723804474, -0.13519269227981567, 0.32560351490974426, -0.03665090352296829, 0.5842090845108032, 0.5996052026748657, 1.0891631841659546, 0.08282501250505447, 0.44432851672172546, -0.2934827208518982, -0.05472452566027641, -0.19323456287384033, -0.8981014490127563, -1.2338106632232666, -0.5783929824829102, -0.5263018012046814, -0.30688410997390747, 0.049229029566049576, 1.0586388111114502, 0.8686591982841492, -0.7760472893714905, -0.5176457762718201, 0.07770951092243195, 0.06435796618461609, -0.05795866250991821, -0.20261794328689575, 0.15391996502876282, -0.7698550820350647, -0.6465484499931335, 0.18035441637039185, 0.24132290482521057, -0.19497156143188477, -0.45771902799606323, -0.10677208006381989, 0.00003844148886855692, 0.11469981074333191, 0.6792467832565308, 0.00932527519762516, -0.7952407002449036, -0.4337438642978668, -0.22463317215442657, -0.2496490478515625, -0.2944507300853729, 1.255090355873108, -0.4000347852706909, 0.31963711977005005, 0.39018431305885315, 0.5450124740600586, 0.2534870505332947, -0.2639600932598114, 0.7775534987449646, -0.4643414616584778, -0.17188937962055206, 0.18116803467273712, 0.2692127227783203, 0.6169294714927673, -0.13048729300498962, 0.4091021716594696, -0.04347311705350876, -0.628849983215332, -0.906441330909729, 0.025636982172727585, -0.8741044998168945, -0.0466063991189003, 1.4758728742599487, -0.2554342448711395, -0.18597851693630219, -0.04537591710686684, -0.3952081501483917, 0.0782330110669136, -0.23576423525810242, 0.8712960481643677, 0.8658948540687561, 0.12031310051679611, -0.12570463120937347, -0.7564316987991333, 0.3387894332408905, 0.2516593933105469, -1.0538665056228638, 0.22509969770908356, 0.5051846504211426, 0.3212350010871887, -0.15735405683517456, 0.5364391207695007, -0.031011482700705528, 0.274929940700531, -0.36443206667900085, 0.035747114568948746, 0.04078465327620506, -0.34389424324035645, -0.21600931882858276, 0.2250651866197586, 0.5004028677940369, 0.3034694790840149 ]
http://arxiv.org/abs/2403.01063v1
http://arxiv.org/pdf/2403.01063v1
FaiMA: Feature-aware In-context Learning for Multi-domain Aspect-based Sentiment Analysis
2024-03-02T02:00:51
2024-03-02T02:00:51
Songhua Yang, Xinke Jiang, Hanjie Zhao, Wenxuan Zeng, Hongde Liu, Yuxiang Jia
cs.CL
cs.CL
Multi-domain aspect-based sentiment analysis (ABSA) seeks to capture fine-grained sentiment across diverse domains. While existing research narrowly focuses on single-domain applications constrained by methodological limitations and data scarcity, the reality is that sentiment naturally traverses multiple domains. Although large language models (LLMs) offer a promising solution for ABSA, it is difficult to integrate effectively with established techniques, including graph-based models and linguistics, because modifying their internal architecture is not easy. To alleviate this problem, we propose a novel framework, Feature-aware In-context Learning for Multi-domain ABSA (FaiMA). The core insight of FaiMA is to utilize in-context learning (ICL) as a feature-aware mechanism that facilitates adaptive learning in multi-domain ABSA tasks. Specifically, we employ a multi-head graph attention network as a text encoder optimized by heuristic rules for linguistic, domain, and sentiment features. Through contrastive learning, we optimize sentence representations by focusing on these diverse features. Additionally, we construct an efficient indexing mechanism, allowing FaiMA to stably retrieve highly relevant examples across multiple dimensions for any given input. To evaluate the efficacy of FaiMA, we build the first multi-domain ABSA benchmark dataset. Extensive experimental results demonstrate that FaiMA achieves significant performance improvements in multiple domains compared to baselines, increasing F1 by 2.07% on average. Source code and data sets are anonymously available at https://github.com/SupritYoung/FaiMA.
[ -0.7546859979629517, -0.6804007291793823, 0.29671889543533325, 0.4723367989063263, -0.34899288415908813, 0.08745434880256653, -0.22203004360198975, -0.4550222158432007, 0.28361040353775024, 0.3913436233997345, -0.48904794454574585, -0.683983325958252, -0.6939561367034912, 0.15753112733364105, -0.16983357071876526, 0.9627802968025208, -0.13930878043174744, -0.020288869738578796, -0.5521446466445923, -0.7370392084121704, -0.3613985776901245, -0.6695746183395386, -0.3855953514575958, -0.15124967694282532, 0.2501898407936096, 0.5897868871688843, 0.2598501145839691, 0.09294358640909195, 0.5412635207176208, 0.23861373960971832, 0.0758974626660347, 0.6081833243370056, -0.3259164094924927, 0.18832828104496002, -0.21433600783348083, -0.030853595584630966, -0.5483160614967346, -0.16201025247573853, 0.5821787118911743, 0.745776891708374, 0.26139286160469055, -0.05354837700724602, 0.3882104754447937, 0.8249014616012573, -0.6690830588340759, 0.4739951193332672, -0.616629958152771, -0.18984337151050568, -0.13235364854335785, -0.13206499814987183, -0.2827052175998688, -0.1485360860824585, 0.23335500061511993, -0.5300946831703186, 0.10857334733009338, 0.03313259035348892, 0.874802827835083, 0.1351625919342041, -0.3340895473957062, -0.3155283033847809, -0.1556878387928009, 0.7834458351135254, -0.42354923486709595, 0.486959308385849, 0.3278883695602417, -0.05823648348450661, 0.11817673593759537, -0.5674375891685486, -0.49001839756965637, 0.3026904761791229, -0.085354283452034, 0.11656881123781204, -0.03172197937965393, -0.20473362505435944, -0.22443053126335144, 0.4474565088748932, -0.36118388175964355, -0.2279151827096939, 0.08216258883476257, -0.00862463004887104, 0.4926791787147522, -0.09157583862543106, 0.020150812342762947, 0.028809404000639915, -0.619355320930481, -0.026624714955687523, -0.7641245126724243, 0.3269820809364319, 0.04711711034178734, 0.780403733253479, -0.32658109068870544, -0.06595925986766815, -0.2669411897659302, 0.4783220887184143, 0.033984120935201645, -0.05254783108830452, 0.628092885017395, -0.09080240875482559, -0.29703351855278015, -0.08879182487726212, 0.898137092590332, 0.09930280596017838, -0.11444631218910217, 0.042609717696905136, -0.23487557470798492, -0.04200224578380585, 0.26305776834487915, -0.9251073598861694, -0.1771625131368637, 0.2960224449634552, -0.25294017791748047, -0.11541738361120224, 0.25464269518852234, -0.7508822083473206, -0.40929949283599854, -0.16176727414131165, 0.40355879068374634, -0.6867880821228027, -0.15776893496513367, 0.06091557443141937, 0.3003789186477661, 0.020561065524816513, 0.2379656434059143, -0.6221439242362976, 0.17955610156059265, 0.8671279549598694, 0.962402880191803, -0.12936271727085114, -0.4574618637561798, -0.5953973531723022, -0.2027449607849121, -0.28807371854782104, 0.8671960830688477, -0.6803041696548462, -0.3916400372982025, 0.0899529829621315, -0.0851057842373848, -0.21346214413642883, -0.6508107781410217, 0.42839089035987854, -0.5710656642913818, 0.03272577002644539, -0.2870679199695587, -0.47068193554878235, -0.8321889638900757, 0.44153574109077454, -0.5801406502723694, 0.845581591129303, 0.3551504909992218, -0.7294387817382812, 0.2919715344905853, -0.8926995992660522, -0.7730970978736877, -0.24018831551074982, -0.06737907230854034, -0.7712957859039307, 0.046908315271139145, 0.4722626209259033, 0.7691464424133301, -0.2802125811576843, 0.21360176801681519, -0.5295145511627197, -0.19280599057674408, 0.4003686308860779, -0.2181832194328308, 0.6057942509651184, 0.12648345530033112, -0.20275752246379852, 0.34183627367019653, -0.2744396924972534, -0.36470386385917664, -0.049344502389431, -0.058206651359796524, -0.42685747146606445, -0.21819831430912018, 0.18405590951442719, 0.35411375761032104, 0.09623720496892929, -0.505148708820343, -0.0557117834687233, -0.5295774340629578, 0.2337682545185089, 0.5708258748054504, 0.19207872450351715, 0.3891143500804901, -0.30306246876716614, 0.3977140486240387, 0.603011429309845, 0.12441189587116241, -0.40908312797546387, -0.47977396845817566, -0.675340473651886, -0.5933952927589417, 0.18130388855934143, 0.14208288490772247, -0.6606783270835876, 0.5366853475570679, -0.23683741688728333, -0.08745979517698288, -0.5087823271751404, 0.4970255196094513, 0.4143441319465637, 0.5726917386054993, 0.46895742416381836, -0.6955142617225647, -0.17231696844100952, -0.7458025217056274, -0.08689720928668976, -0.04970970004796982, 0.3634224236011505, 0.4406338036060333, 0.46802470088005066, -0.35467520356178284, 1.1237051486968994, -0.45910778641700745, -1.0285013914108276, -0.38104552030563354, 0.07303306460380554, -0.15623235702514648, 0.21599717438220978, 0.8299396634101868, -0.967045247554779, -0.589766800403595, 0.19018368422985077, -0.888361930847168, 0.04670464247465134, -0.04076631739735603, -0.20040884613990784, 0.28172820806503296, 0.17183305323123932, -0.315577894449234, 0.10364874452352524, 0.5020744204521179, -0.19139666855335236, 0.006280715111643076, 0.229402557015419, 0.07737484574317932, -1.3534934520721436, 0.0766117125749588, 0.44086718559265137, -0.25829559564590454, -0.43393969535827637, 0.19040589034557343, 0.1797182559967041, 0.04086197912693024, -0.5026929378509521, 0.5187816023826599, -0.2604522407054901, -0.0655754804611206, -0.5053667426109314, 0.2540230453014374, 0.39481204748153687, 0.6955899000167847, 0.02850419469177723, 0.7921215891838074, 0.7435991764068604, -0.552349865436554, -0.043647147715091705, 0.30716392397880554, -0.18335875868797302, 0.7466438412666321, -0.025419097393751144, 0.09178676456212997, -0.05368439108133316, 0.30522117018699646, -0.8274470567703247, -0.25278523564338684, 0.3679846525192261, -0.4200836718082428, 0.35599640011787415, 0.057593125849962234, -0.07035243511199951, 0.09968666732311249, -0.5586550235748291, 0.3279144763946533, -0.044343527406454086, -0.7679615616798401, 0.9099928736686707, 0.7224743366241455, -0.21986795961856842, -0.8631604313850403, -0.2756483554840088, -0.020835326984524727, -0.3053799271583557, -0.36055320501327515, 0.420226514339447, 0.002853924408555031, -0.21537016332149506, 0.0337505117058754, -0.0656539648771286, -0.18797346949577332, 0.381311297416687, 0.39212727546691895, -0.16133001446723938, -0.21020008623600006, 0.1447691172361374, 0.3802703320980072, -0.051865700632333755, 0.0682503953576088, -0.3867095410823822, 0.45856213569641113, -0.5366935133934021, -0.22137929499149323, -0.5299374461174011, 0.4479658901691437, 0.48970523476600647, -0.4581221044063568, 0.530785322189331, 0.5886508822441101, -0.5718977451324463, -0.551331102848053, -0.07012420892715454, -0.14440663158893585, -0.46097713708877563, 0.4295622408390045, -0.5772579312324524, -1.0591099262237549, 0.4587405025959015, -0.3994796872138977, -0.0216366034001112, 0.41088035702705383, 0.5048633217811584, -0.08101008087396622, 0.501750111579895, 0.7616970539093018, -0.3902355134487152, 0.47146743535995483, -0.6670500040054321, 0.2939073443412781, -1.0167814493179321, -0.16617877781391144, -0.3318934440612793, -0.20494934916496277, 0.03434227779507637, -0.4435073733329773, 0.38790079951286316, 0.26341262459754944, -0.16514812409877777, 0.05943578481674194, -0.20301344990730286, 0.3961995542049408, 0.22010178864002228, 0.08186466991901398, 0.13485002517700195, -0.10604698210954666, 0.057136308401823044, 0.17184603214263916, -0.6039214730262756, -0.26630088686943054, 0.9683565497398376, 0.3057653307914734, 0.4008083641529083, 0.10539204627275467, 0.5627387166023254, 0.37171196937561035, 0.7921608090400696, -1.0541428327560425, 0.3216562569141388, -0.45637047290802, -0.052414704114198685, 0.010776907205581665, -0.3331846296787262, -0.47351551055908203, 0.45256489515304565, -0.19119615852832794, -0.38302329182624817, 0.4064081907272339, -0.1017458364367485, -0.316816508769989, 0.29490357637405396, -0.26545250415802, 0.9369269609451294, -0.07501283288002014, -0.2532787024974823, -0.10051213949918747, -0.5448126196861267, 0.43274810910224915, -0.47430676221847534, 0.3538528084754944, -0.26107990741729736, 0.03666898235678673, 0.4145631790161133, -0.1981930434703827, 1.086262822151184, -0.2582588493824005, -0.15899072587490082, 0.3486293852329254, 0.05303112417459488, 0.08472520858049393, 0.4475858509540558, -0.013480273075401783, 0.6152059435844421, -0.48936206102371216, -0.06437615305185318, -0.482932984828949, 1.026559829711914, -0.8266193866729736, -0.34439322352409363, -0.3696660101413727, -0.5555328726768494, -0.645689070224762, 0.10758640617132187, 0.11153599619865417, 0.6137681007385254, -0.3938203752040863, 0.34456294775009155, 0.6247537136077881, 0.020449914038181305, 0.48418128490448, 0.3783267140388489, -0.16919772326946259, -0.4457610547542572, 1.1611850261688232, -0.17670850455760956, -0.1665695160627365, 0.6412448883056641, 0.10553526878356934, -0.323877215385437, -0.5080404281616211, -0.5272713899612427, 0.08806707710027695, -0.8655247092247009, -0.7114546895027161, -0.8853740096092224, -0.018712764605879784, -0.32345473766326904, -0.2589878737926483, -0.3104718327522278, -0.10963384807109833, -0.42716434597969055, 0.0392870269715786, 0.5313217639923096, 0.6240074038505554, 0.22647058963775635, 0.4260261058807373, -0.701521098613739, 0.2836143970489502, 0.0805942565202713, 0.4397851824760437, 0.0715315043926239, -0.3911340832710266, -0.4855383038520813, -0.150079607963562, -0.522482693195343, -0.5234028100967407, 0.5470008850097656, 0.7109537720680237, 0.30763477087020874, 0.7037428617477417, 0.17378951609134674, 0.36173027753829956, -0.111097551882267, 0.675049364566803, -0.06727735698223114, -1.1914496421813965, 0.40637901425361633, -0.0829085186123848, 0.07321178168058395, 0.636319100856781, 0.5087077617645264, -0.49087798595428467, -0.4720872938632965, -0.2303381860256195, -0.9065667390823364, 0.7703568935394287, -0.1025991216301918, 0.23325131833553314, -0.16720452904701233, 0.4044812321662903, 0.4214290976524353, 0.1462990641593933, -0.36469849944114685, -0.3039688766002655, -0.4719279110431671, -0.6078708171844482, -0.014837455935776234, 0.05562502145767212, -0.23447299003601074, -0.06006579101085663, 0.8697296380996704, -0.8980118632316589, 0.08639924228191376, 0.17725041508674622, -0.42667824029922485, 0.11842186003923416, 0.1359695941209793, 0.48990052938461304, 0.6346818804740906, -0.011003020219504833, -0.00958994496613741, 0.11687237024307251, -0.33781898021698, -0.08085528016090393, 0.18822455406188965, -0.12824667990207672, -0.1700143963098526, 0.3177010416984558, 0.8693100214004517, 0.29380348324775696, -0.4627175033092499, 0.767169177532196, -0.10331602394580841, -0.14436227083206177, -0.031770430505275726, -0.06193344667553902, 0.017511986196041107, 0.2993658185005188, 0.45020198822021484, 0.31276077032089233, 0.2025485783815384, -0.4263271689414978, 0.5122086405754089, 0.5014545321464539, -0.7632836103439331, -0.40990644693374634, 0.5830497741699219, 0.29130229353904724, -0.013070646673440933, 0.21020826697349548, -0.15930768847465515, -0.6173563003540039, 0.5810432434082031, 0.4545942544937134, 1.281769037246704, -0.14424195885658264, 0.359923392534256, -0.03655996918678284, -0.05770445987582207, 0.16771189868450165, 0.2646351754665375, -0.03398424759507179, -1.037268042564392, -0.10866282135248184, -0.766354501247406, -0.5988669395446777, -0.14201052486896515, -0.5731764435768127, -0.06552039831876755, -0.6067153811454773, -0.15714751183986664, -0.0788738802075386, -0.07157549262046814, -0.5116973519325256, 0.30420851707458496, -0.07009978592395782, 0.6504007577896118, -0.7457552552223206, 0.9681118726730347, 0.8303453326225281, -0.40749600529670715, -0.395141065120697, 0.46945491433143616, 0.04340426251292229, -0.370049387216568, 0.2651374340057373, 0.6025604605674744, -0.509722113609314, -0.2921900153160095, -0.13828438520431519, -0.5738114714622498, 0.97980135679245, 0.2929801344871521, -0.07249533385038376, 0.7265229821205139, 0.11694596707820892, 0.45684871077537537, -1.1551381349563599, -0.15757916867733002, 0.3704512119293213, 0.04179711267352104, -0.24776601791381836, -0.4947027266025543, -0.004646428395062685, -0.20222340524196625, -0.03530646860599518, 0.15209227800369263, -1.1723711490631104, 0.8595619797706604, -0.11009291559457779, 0.0009751997422426939, -0.3281513452529907, 1.1774948835372925, 0.11563559621572495, 0.5367777347564697, 0.4694291353225708, 0.3619481325149536, 0.7420396208763123, -0.0904722809791565, 0.8710523247718811, -0.6660521030426025, 0.4292038083076477, 0.8642745018005371, -0.5497286319732666, 0.9712129831314087, 0.22296598553657532, 0.21802201867103577, 0.7193662524223328, 0.5815574526786804, 0.622706413269043, 0.6466788649559021, -0.3767628073692322, -0.411767840385437, -0.22594493627548218, -0.2358211725950241, -0.15370777249336243, 0.6187899708747864, 0.740014910697937, -0.33883577585220337, -0.00809476152062416, 0.35098591446876526, 0.08370339125394821, 0.2532537579536438, -0.2706420123577118, 0.8392924666404724, 0.39229050278663635, -0.19717000424861908, 0.24920283257961273, 0.25305914878845215, 0.896760106086731, -0.6436221599578857, 0.07632297277450562, -0.6178807616233826, 0.3566019833087921, -0.19420258700847626, -0.6644939184188843, 0.390815794467926, -0.08859117329120636, -0.3239228129386902, -0.13381130993366241, 0.5858258605003357, -0.5188726782798767, -0.406578004360199, 0.5374180674552917, 0.44988933205604553, -0.2953803241252899, -0.3994961380958557, -0.7732676863670349, 0.12783585488796234, -0.211837500333786, -0.30040255188941956, 0.5963255763053894, 0.5266041159629822, -0.33819371461868286, 0.5954748392105103, 0.3177154064178467, -0.36406010389328003, -0.6205448508262634, 0.2624972462654114, 1.0183414220809937, -0.46775171160697937, -0.7468535304069519, -0.6733237504959106, 0.10798179358243942, 0.06248188763856888, -0.5495954751968384, 0.6723963022232056, 0.7025564908981323, 1.0180507898330688, 0.05876380205154419, 0.9195955395698547, 0.26810887455940247, 0.2823857367038727, -0.45140331983566284, 0.8582372069358826, -0.713364839553833, 0.20646041631698608, -0.23346276581287384, -0.98700350522995, -0.6297940611839294, 0.6017876267433167, 0.04644319415092468, 0.10413765162229538, 0.7280179858207703, 0.7177668213844299, -0.19646230340003967, 0.2486531138420105, 0.1015041172504425, 0.07624194025993347, 0.3611403703689575, 0.47265157103538513, 0.405085951089859, -0.4824111759662628, 0.13669665157794952, -0.43374815583229065, -0.17087532579898834, -0.19339391589164734, -0.7009742856025696, -0.7210565209388733, -0.8445502519607544, -0.44100749492645264, -0.2617228329181671, -0.17017146944999695, 1.1148613691329956, 0.6893787980079651, -1.0350080728530884, -0.167465478181839, 0.42765605449676514, 0.32408589124679565, -0.7115656137466431, -0.28351449966430664, 0.6592754125595093, -0.5779815912246704, -0.7366558313369751, 0.6648075580596924, 0.5991156697273254, -0.3915993571281433, -0.2729792892932892, -0.13425104320049286, -0.15433958172798157, 0.2748175263404846, 0.8932972550392151, 0.06325166672468185, -0.543426513671875, -0.4093402326107025, -0.2893397808074951, -0.07999876886606216, 0.3839968144893646, 0.9091331362724304, -0.7720662355422974, 0.37146976590156555, 0.38830357789993286, 0.9183247685432434, 0.08184178918600082, 0.2226693481206894, 0.312761127948761, -1.2131664752960205, 0.1066189780831337, 0.1034868136048317, 0.6025521755218506, 0.7021675705909729, -0.40937045216560364, 0.29864591360092163, 0.36000242829322815, -0.12107672542333603, -0.5480656623840332, 0.06423462927341461, -1.0675712823867798, -0.5071162581443787, 0.9336788654327393, -0.435384064912796, -0.22600267827510834, -0.32385510206222534, -0.050259001553058624, -0.020574962720274925, -0.622812807559967, 0.8105195164680481, 0.47369953989982605, -0.24432332813739777, -0.016314363107085228, 0.054768580943346024, 0.6382639408111572, 0.11936342716217041, -0.9936854243278503, 0.3118637502193451, 0.522422194480896, 0.1788019984960556, 0.03377183526754379, 0.7472389340400696, -0.04446797072887421, 0.1205679178237915, -0.25939083099365234, -0.08333457261323929, -0.3312695026397705, -0.9240807294845581, -0.6588481664657593, 0.6943140625953674, -0.0416523739695549, -0.11292634159326553 ]
http://arxiv.org/abs/2403.01061v1
http://arxiv.org/pdf/2403.01061v1
Reading Subtext: Evaluating Large Language Models on Short Story Summarization with Writers
2024-03-02T01:52:14
2024-03-02T01:52:14
Melanie Subbiah, Sean Zhang, Lydia B. Chilton, Kathleen McKeown
cs.CL
cs.CL
We evaluate recent Large language Models (LLMs) on the challenging task of summarizing short stories, which can be lengthy, and include nuanced subtext or scrambled timelines. Importantly, we work directly with authors to ensure that the stories have not been shared online (and therefore are unseen by the models), and to obtain informed evaluations of summary quality using judgments from the authors themselves. Through quantitative and qualitative analysis grounded in narrative theory, we compare GPT-4, Claude-2.1, and LLama-2-70B. We find that all three models make faithfulness mistakes in over 50% of summaries and struggle to interpret difficult subtext. However, at their best, the models can provide thoughtful thematic analysis of stories. We additionally demonstrate that LLM judgments of summary quality do not match the feedback from the writers.
[ -0.11183686554431915, -0.665213942527771, 1.0827833414077759, 0.347309947013855, -0.5562266707420349, 0.1951446384191513, -0.05528910830616951, -0.8618884682655334, 0.28699207305908203, 0.606519341468811, -0.5491189360618591, -0.32914772629737854, -0.6843974590301514, 0.3574332594871521, -0.600958526134491, 1.1881017684936523, -0.19706706702709198, -0.09367775917053223, -0.46538493037223816, -0.10934137552976608, -0.23959745466709137, -0.46975943446159363, -0.40667209029197693, -0.5206973552703857, 0.5827248096466064, 0.14487780630588531, 0.832245409488678, 0.4498588442802429, 0.48474207520484924, 0.2545960545539856, -0.35386061668395996, 0.007873537950217724, -0.7912752032279968, 0.05226597562432289, -0.20778462290763855, -0.3595752716064453, -0.6363461017608643, -0.041855957359075546, 0.4970836639404297, 0.6179459691047668, 0.13094693422317505, 0.19109225273132324, 0.004042080137878656, 0.658162534236908, -0.23616747558116913, 0.0952368900179863, -0.18584184348583221, 0.025007521733641624, -0.0769835039973259, -0.04100966453552246, -0.27056756615638733, -0.5562623739242554, 0.3598966598510742, -0.35979488492012024, 0.3049944043159485, 0.06870058923959732, 0.6697552800178528, 0.0755918025970459, -0.6296391487121582, -0.47459927201271057, -0.6559164524078369, 0.8373538255691528, -0.8285840749740601, 0.033997878432273865, 0.5969033241271973, 0.06206115335226059, 0.1335621327161789, -0.8648050427436829, -0.4146117866039276, -0.5114704370498657, -0.3272353410720825, 0.2633732259273529, -0.3633687198162079, -0.13507050275802612, 0.07295377552509308, 0.6298316121101379, -0.6642810702323914, 0.09917937964200974, -0.5132105350494385, -0.11124756932258606, 0.6874867677688599, 0.5217481851577759, 0.3188788890838623, -0.20825932919979095, -0.27013450860977173, 0.2647162675857544, -0.7584320902824402, -0.053807929158210754, 0.6423752903938293, -0.15262679755687714, -0.28430551290512085, 0.7720354795455933, -0.07524757832288742, 0.3155546188354492, -0.26294100284576416, -0.3593725264072418, 0.029160333797335625, -0.7128553986549377, -0.1265789121389389, -0.05899715796113014, 0.8405648469924927, 0.7491504549980164, 0.5406554937362671, -0.10806305706501007, -0.32297834753990173, -0.2915864884853363, 0.022764980792999268, -0.6569828987121582, -0.0653112381696701, 0.21492478251457214, -0.6587008237838745, -0.30602648854255676, -0.16650570929050446, -0.4777865707874298, -0.499939501285553, -0.2920057475566864, 0.19120532274246216, -0.28968504071235657, 0.12443523108959198, 0.13889557123184204, -0.2700214385986328, 0.06822766363620758, 0.47836676239967346, -0.9339932799339294, 0.2857987880706787, 0.616277813911438, 0.9549366235733032, -0.12549149990081787, -0.46775108575820923, -0.16341447830200195, 0.15116067230701447, -0.35554805397987366, 0.854102373123169, -0.21308083832263947, -0.6355226039886475, -0.22510486841201782, -0.12746359407901764, 0.060189153999090195, -0.32041415572166443, 0.5154298543930054, -0.30108705163002014, 0.29931318759918213, -0.2869037389755249, -0.554620087146759, -0.16931293904781342, 0.22558587789535522, -0.7397398352622986, 0.7359350919723511, 0.15323378145694733, -0.7811617851257324, -0.03222004696726799, -0.22434265911579132, -0.41381052136421204, -0.21257443726062775, 0.11570607870817184, -0.17539821565151215, 0.42204347252845764, 0.6094846725463867, 0.4600321054458618, -0.35913753509521484, 0.21018506586551666, -0.0955856591463089, -0.4417929947376251, 0.23285642266273499, -0.23138728737831116, 0.5727952122688293, 0.02297413907945156, -0.011026072315871716, 0.25227171182632446, -0.256034255027771, -0.2517952620983124, 0.30756351351737976, -0.28139975666999817, -0.3342989385128021, 0.024699052795767784, 0.11227589100599289, -0.12961606681346893, 0.32544317841529846, -0.2622797191143036, 0.2239583134651184, -0.3516967296600342, 0.46392834186553955, 0.48588335514068604, 0.13139665126800537, 0.2299853265285492, -0.5718135833740234, 0.7324904203414917, -0.11119811236858368, 0.18651367723941803, -0.44015932083129883, -0.3700876235961914, -0.6621342301368713, -0.15333105623722076, 0.3511795401573181, 0.47001370787620544, -0.786570131778717, -0.11907629668712616, -0.231739342212677, -0.6970399022102356, -0.37686842679977417, 0.15617795288562775, 0.5571762919425964, 0.3123480975627899, 0.35840708017349243, -0.2724585235118866, -0.36270391941070557, -0.9621194005012512, -0.5812373757362366, -0.2992951273918152, -0.15752045810222626, 0.049990780651569366, 0.8511918187141418, -0.297795832157135, 0.8023853898048401, -0.4976706802845001, -0.10970413684844971, -0.9033073782920837, 0.33949679136276245, 0.22397568821907043, 0.21317361295223236, 0.8316023349761963, -0.538970410823822, -0.4508713483810425, -0.24965175986289978, -0.704610288143158, -0.19341450929641724, 0.07163145393133163, 0.4033948481082916, 0.19355624914169312, 0.5299404263496399, -0.6017480492591858, 0.40502506494522095, 0.7373895049095154, -0.3791104555130005, 0.723115086555481, -0.17270362377166748, 0.21315814554691315, -0.9479345083236694, -0.17200469970703125, 0.09666755795478821, -0.5173261761665344, -0.2918343245983124, 0.007742824964225292, -0.051099229604005814, 0.25222355127334595, -0.42249852418899536, 0.47412800788879395, -0.3993616998195648, -0.22804291546344757, -0.3444884717464447, 0.23556773364543915, 0.12642596662044525, 0.18555235862731934, 0.014532702974975109, 0.632990300655365, -0.054862916469573975, -0.21373793482780457, 0.3687567710876465, 0.1143076941370964, -0.6663556098937988, 0.3211331069469452, -0.9837870001792908, 0.037651028484106064, -0.20343075692653656, 0.5764121413230896, -0.7967001795768738, -0.3690594732761383, 0.03531306982040405, -0.3273611068725586, 0.14870552718639374, -0.08943251520395279, -0.6415817141532898, -0.027709176763892174, -0.3825274705886841, 0.4990883767604828, 0.5084009766578674, -0.2712670862674713, 0.5108790993690491, 0.2962290942668915, -0.5638758540153503, -0.46075716614723206, -0.81033855676651, 0.21448399126529694, -0.17215174436569214, -0.28108254075050354, 0.18563596904277802, -0.0769776999950409, -0.5101244449615479, 0.14884597063064575, -0.19248761236667633, -0.06771035492420197, -0.1065826341509819, -0.08333468437194824, 0.0575268380343914, -0.22015036642551422, -0.2020522505044937, 0.18532031774520874, -0.1606307178735733, 0.10203584283590317, 0.08560531586408615, 0.2903400957584381, -0.17613743245601654, -0.19574229419231415, -0.3494403660297394, 0.48023420572280884, 0.6345113515853882, -0.10674743354320526, 0.5665347576141357, 0.3621389865875244, -0.24585893750190735, 0.15286174416542053, -0.4310626685619354, 0.0547180213034153, -0.3719549775123596, 0.4227354824542999, -0.20143553614616394, -1.0673787593841553, 0.5065076351165771, 0.24048031866550446, 0.0020662888418883085, 0.6921756267547607, 0.5556503534317017, -0.2808641791343689, 0.7998806834220886, 1.039117693901062, -0.09813641011714935, 0.3752857744693756, -0.0818474292755127, 0.14172612130641937, -0.6289164423942566, -0.08914143592119217, -0.4588452875614166, -0.17243726551532745, -0.20129132270812988, -0.24051980674266815, 0.32586735486984253, 0.12241292744874954, 0.04512256756424904, 0.24895308911800385, 0.12820389866828918, 0.9064178466796875, 0.36839908361434937, -0.021165909245610237, 0.6755706667900085, -0.21901996433734894, -0.03601354360580444, -0.2685692608356476, -0.39834627509117126, -0.7922217845916748, 0.7705700397491455, 0.6289637088775635, 1.0187304019927979, 0.34189996123313904, 0.42301592230796814, 0.3532570004463196, 0.3240598738193512, -0.8575698733329773, 0.4970366358757019, -0.1836724877357483, -0.46729549765586853, -0.26399680972099304, -0.5261402130126953, -0.692142903804779, 0.294225811958313, -0.05620701238512993, -0.7785261273384094, -0.02664267271757126, -0.08756564557552338, -0.2673807740211487, 0.18048402667045593, -0.6364942789077759, 0.682321310043335, -0.202848419547081, 0.04643529653549194, -0.1981872320175171, -0.8087583780288696, 0.7006590366363525, -0.17492614686489105, 0.20897488296031952, -0.15050473809242249, -0.20469363033771515, 0.649956464767456, -0.2378588169813156, 0.9431852102279663, 0.4281158447265625, -0.2053627073764801, 0.3396061360836029, 0.33478307723999023, 0.28345009684562683, 0.2916892170906067, 0.09154200553894043, 0.22153134644031525, 0.300309956073761, -0.5215697288513184, -0.5779896974563599, 0.5445659756660461, -0.7296916246414185, -0.5156348943710327, -0.5933898687362671, -0.7273317575454712, -0.1800214946269989, 0.2710094451904297, 0.3892023265361786, 0.4488840401172638, -0.3778212368488312, 0.25798043608665466, 0.3898651599884033, -0.18781736493110657, 0.5479407906532288, 0.4168768525123596, -0.38931745290756226, -0.5595550537109375, 0.3435952961444855, 0.09266509860754013, 0.41337111592292786, 0.4868660569190979, 0.21760523319244385, -0.36794134974479675, -0.75838303565979, -0.33993804454803467, 0.502566397190094, -0.8026825189590454, 0.04568590596318245, -0.6540815830230713, -0.0710148811340332, -0.209995836019516, -0.11320772767066956, -0.32885241508483887, -0.5308864712715149, -0.2629023492336273, -0.36088111996650696, 0.18756866455078125, 1.247084140777588, 0.21349479258060455, 0.456685334444046, -1.0432467460632324, 0.27389419078826904, 0.09338679164648056, 0.04888700693845749, -0.07097279280424118, -0.5461723804473877, -0.44046857953071594, -0.16586634516716003, -0.27819472551345825, -0.9006834626197815, 0.4086187779903412, -0.19371840357780457, 0.21504947543144226, -0.03843560069799423, 0.06390697509050369, 0.5788535475730896, -0.43191957473754883, 1.0757156610488892, 0.0947103351354599, -1.1905344724655151, 0.3734426498413086, -0.6013170480728149, 0.4877924621105194, 0.41660869121551514, 0.5546117424964905, -0.4198934733867645, -0.5942857265472412, -0.43701738119125366, -0.9090123772621155, 0.49534833431243896, 0.3461241126060486, 0.2570229470729828, 0.14349141716957092, 0.3718706965446472, 0.2416166067123413, 0.3150778114795685, -0.9009771943092346, -0.07947366684675217, -0.13405485451221466, -0.3625556230545044, -0.6176514029502869, -0.9391148686408997, -0.08096330612897873, -0.019657282158732414, 0.5406913757324219, -0.041415996849536896, -0.028964901342988014, 0.30503255128860474, -0.2861515283584595, -0.11768165230751038, 0.2511114180088043, 1.0375758409500122, 1.1320836544036865, -0.23886652290821075, 0.10235530138015747, 0.38290318846702576, -0.6220109462738037, -0.0905192643404007, -0.24684526026248932, -0.014618147164583206, 0.1929628849029541, 1.1712251901626587, 0.5722671747207642, 0.36810630559921265, -0.7202653288841248, 0.5560862421989441, -0.4744764268398285, -0.1930180937051773, -0.25222527980804443, -0.20368799567222595, 0.2536128759384155, 0.48016759753227234, 0.2321728765964508, -0.3303092420101166, 0.06368531286716461, -0.7080641388893127, -0.1559937745332718, -0.00071790034417063, -0.38502737879753113, -0.37487301230430603, 0.5107415318489075, 0.10135525465011597, 0.0061008562333881855, 0.5506815314292908, 0.13195987045764923, -0.39595481753349304, 0.6528015732765198, 0.5720306038856506, 0.9454115629196167, 0.09533615410327911, 0.1281883269548416, 0.015079955570399761, 0.8199600577354431, -0.21797798573970795, 0.050797805190086365, 0.27811399102211, -0.3907865583896637, -0.8230245113372803, -0.54317706823349, -0.8452789187431335, 0.24476075172424316, -0.6201642751693726, -0.023910654708743095, -0.13348151743412018, 0.02121848240494728, -0.16043251752853394, -0.029286324977874756, -0.06428351253271103, 0.11850416660308838, -0.2555946707725525, 0.906524121761322, -0.7514743208885193, 0.560847282409668, 0.5510163307189941, -0.4789270758628845, -0.5090488791465759, 0.3389686048030853, -0.04654468223452568, -0.35970640182495117, 0.4001128673553467, -0.0706169605255127, -0.07206142693758011, 0.07149698585271835, -0.4676423668861389, -0.7088127732276917, 1.1784040927886963, 0.5389791131019592, -0.5328955054283142, -0.06612467765808105, -0.09913942217826843, 0.8143643736839294, -0.3169836699962616, 0.2713972330093384, 0.5110162496566772, 0.30652087926864624, -0.032989226281642914, -1.1289880275726318, -0.06979639083147049, 0.05213242396712303, -0.13599853217601776, 0.044401999562978745, -0.7455074787139893, 0.8861154317855835, -0.3306574821472168, -0.07781046628952026, 0.5006319284439087, 0.7870478630065918, 0.2598068118095398, 0.5348472595214844, 0.33097290992736816, 0.48030543327331543, 0.43509751558303833, -0.05181662365794182, 1.4371607303619385, 0.1907203644514084, 0.5532098412513733, 1.2623212337493896, -0.17693142592906952, 0.6766740679740906, 0.45074373483657837, -0.16308718919754028, 0.4344818890094757, 0.7555980086326599, 0.23048880696296692, 0.5003382563591003, 0.1447790265083313, -0.05505175143480301, -0.1243799477815628, -0.01908981055021286, -0.39433786273002625, 0.24852050840854645, 0.19712597131729126, -0.41610628366470337, -0.3614502251148224, -0.16369333863258362, 0.0674160048365593, 0.11873460561037064, -0.42912033200263977, 0.7015483975410461, 0.5501609444618225, -0.5639565587043762, 0.09406449645757675, 0.30137017369270325, 0.2972080409526825, -0.4402035176753998, 0.12874455749988556, -0.6056583523750305, 0.10932452976703644, -0.14120060205459595, -0.8723032474517822, 0.4549572765827179, 0.3569103479385376, -0.45231038331985474, -0.25003841519355774, 0.4340934157371521, -0.2721444070339203, -0.44705650210380554, 0.19526782631874084, 0.6086384654045105, 0.2792939245700836, 0.042701225727796555, -0.484906405210495, 0.1781274676322937, -0.19686907529830933, -0.48518213629722595, 0.3300612270832062, 0.3765626847743988, -0.21972376108169556, 0.5549463629722595, 0.4869363605976105, -0.11284606158733368, -0.30486661195755005, 0.18761920928955078, 0.5915889143943787, -0.9383818507194519, -0.49032655358314514, -1.0930964946746826, 0.4113795757293701, 0.1419382244348526, -0.40122896432876587, 0.856131374835968, 0.5504922866821289, 0.7461441159248352, -0.24054236710071564, 0.6318703889846802, 0.2606317102909088, 0.4629780352115631, -0.891008734703064, 0.6829769611358643, -0.4581505060195923, 0.45699170231819153, -0.33268216252326965, -1.064194679260254, -0.26100292801856995, 0.3720560073852539, -0.400316059589386, 0.19533394277095795, 1.0530692338943481, 0.24006332457065582, -0.046635471284389496, 0.15783977508544922, 0.3052375614643097, 0.3785609304904938, 0.24509607255458832, 0.5362419486045837, 1.281031847000122, -0.30042245984077454, 0.4170253276824951, -0.049942560493946075, -0.011621488258242607, -0.2561141550540924, -1.1611199378967285, -1.1784166097640991, -0.3487926423549652, -0.21847571432590485, -0.3039257228374481, 0.03156587481498718, 0.539249062538147, 0.18282175064086914, -0.551597535610199, -0.2161208540201187, 0.1852084845304489, 0.4117387533187866, -0.08523177355527878, -0.19780392944812775, 0.28211116790771484, 0.1333562582731247, -0.8912217617034912, 0.4642677903175354, 0.43699634075164795, 0.36874160170555115, -0.297126829624176, -0.026539387181401253, 0.09946876019239426, 0.28924867510795593, 0.7070997357368469, -0.11232765763998032, -0.8369711637496948, -0.228330597281456, -0.22848939895629883, -0.2691290080547333, -0.3298749625682831, 0.9327725768089294, -0.4391452968120575, 0.05257817357778549, 0.6922764778137207, 0.41938716173171997, 0.6183788776397705, 0.19271354377269745, 0.6181834936141968, -0.5403230786323547, -0.10763522237539291, 0.34902703762054443, 0.5728315114974976, 0.21539781987667084, -0.2885262668132782, 0.5644506812095642, 0.2226262241601944, -0.6608529686927795, -0.9634897708892822, 0.26490554213523865, -1.0178598165512085, -0.38291189074516296, 1.0275261402130127, -0.3421051502227783, -0.22119438648223877, -0.09506864100694656, -0.29913416504859924, -0.08571247011423111, 0.04843103140592575, 0.5729728937149048, 1.031613826751709, -0.20723111927509308, -0.30226877331733704, -0.8344956636428833, 0.31513187289237976, 0.3024592995643616, -0.7438629269599915, -0.1351054161787033, 0.5925522446632385, 0.4077285826206207, -0.07592102140188217, 0.8347153067588806, -0.18305236101150513, 0.21625925600528717, -0.06935396790504456, -0.3206028342247009, -0.2000121921300888, -0.4100610613822937, -0.3737788796424866, 0.06518811732530594, -0.03969164565205574, 0.4621184468269348 ]
http://arxiv.org/abs/2403.01031v2
http://arxiv.org/pdf/2403.01031v2
Peacock: A Family of Arabic Multimodal Large Language Models and Benchmarks
2024-03-01T23:38:02
2024-05-24T20:24:36
Fakhraddin Alwajih, El Moatez Billah Nagoudi, Gagan Bhatia, Abdelrahman Mohamed, Muhammad Abdul-Mageed
cs.CL
cs.CL, cs.AI
Multimodal large language models (MLLMs) have proven effective in a wide range of tasks requiring complex reasoning and linguistic comprehension. However, due to a lack of high-quality multimodal resources in languages other than English, success of MLLMs remains relatively limited to English-based settings. This poses significant challenges in developing comparable models for other languages, including even those with large speaker populations such as Arabic. To alleviate this challenge, we introduce a comprehensive family of Arabic MLLMs, dubbed \textit{Peacock}, with strong vision and language capabilities. Through comprehensive qualitative and quantitative analysis, we demonstrate the solid performance of our models on various visual reasoning tasks and further show their emerging dialectal potential. Additionally, we introduce ~\textit{Henna}, a new benchmark specifically designed for assessing MLLMs on aspects related to Arabic culture, setting the first stone for culturally-aware Arabic MLLMs.The GitHub repository for the \textit{Peacock} project is available at \url{https://github.com/UBC-NLP/peacock}.
[ -0.5048768520355225, -0.5574764609336853, 0.06189001351594925, 0.5283499956130981, -0.18078432977199554, 0.21542520821094513, -0.21133022010326385, -0.6934688687324524, -0.14351710677146912, 0.2816278636455536, -0.24173274636268616, -0.48615509271621704, -0.27585849165916443, 0.25350865721702576, -0.3292883038520813, 0.5669335722923279, 0.018604282289743423, 0.15698769688606262, 0.37667837738990784, -0.6019235849380493, -0.23415276408195496, -0.35236361622810364, -0.46029898524284363, -0.0037570116110146046, 0.9711121320724487, 0.2688864469528198, 0.9906779527664185, 0.6056442260742188, 0.3295700252056122, 0.3050989806652069, 0.0621703565120697, 0.5306468605995178, -0.2351887822151184, 0.3905538320541382, -0.36094748973846436, 0.04367215558886528, -0.16819249093532562, -0.15335020422935486, 0.8506319522857666, 0.9069427251815796, 0.008286980912089348, 0.4161808490753174, -0.00833121407777071, 0.7290710806846619, -0.9780495166778564, 0.2410762757062912, -0.6859816312789917, 0.18097439408302307, -0.2083592712879181, -0.09984665364027023, -0.3875770568847656, -0.12174122780561447, 0.05922822654247284, -0.37881043553352356, -0.32821574807167053, 0.41429227590560913, 0.7208194136619568, -0.06403620541095734, -0.9788300395011902, 0.15493708848953247, -0.4613220989704132, 1.105708122253418, -0.5259454250335693, 0.7023336291313171, 0.2515805959701538, 0.7098471522331238, 0.024017442017793655, -0.6821494698524475, -0.5411786437034607, -0.278655081987381, 0.27645620703697205, -0.05068277567625046, -0.1258084625005722, -0.3710307776927948, 0.11316873133182526, 0.14980527758598328, -0.5255406498908997, -0.29633888602256775, -0.0545213520526886, -0.24009621143341064, 0.42865046858787537, 0.18084026873111725, 0.4207180440425873, -0.08252841234207153, -0.21473628282546997, 0.14259935915470123, -0.8226638436317444, 0.31206607818603516, 0.2277669608592987, 0.48391735553741455, -0.15286000072956085, 0.6443307399749756, -0.31526657938957214, 0.7195963859558105, -0.2950015366077423, -0.0671418085694313, 0.08146896213293076, -0.27290281653404236, -0.21197521686553955, -0.1852382868528366, 0.44585761427879333, 0.34554043412208557, 0.4282509982585907, -0.009678979404270649, -0.13019882142543793, -0.03115404024720192, -0.09722486138343811, -0.9499844908714294, -0.10773254185914993, 0.15584121644496918, -0.8787574768066406, -0.16772279143333435, -0.2597830593585968, -0.6816639304161072, -0.7870723605155945, -0.3366687297821045, 0.11385390162467957, -0.42782336473464966, -0.772902250289917, -0.12709614634513855, -0.05201275274157524, 0.5888304114341736, 0.4607406258583069, -0.7419691681861877, -0.07225275039672852, 0.5536332726478577, 0.6547628045082092, -0.13725298643112183, -0.6237085461616516, -0.7735288143157959, 0.18851079046726227, -0.7050439715385437, 0.5992161631584167, -0.9616662859916687, -0.2230953574180603, 0.49996596574783325, -0.07066202163696289, 0.07848822325468063, -0.4839896261692047, 0.636579692363739, -0.7030853033065796, -0.3857990503311157, -0.582238495349884, -0.1485801637172699, -0.5112305879592896, 0.5551605820655823, -0.7535637617111206, 0.6746439933776855, 0.08085127919912338, -0.8620502948760986, 0.39626607298851013, -0.31683579087257385, -0.4847371578216553, 0.10102013498544693, -0.2786634862422943, -0.16903547942638397, -0.13882140815258026, 0.21319055557250977, 0.3600578010082245, -0.4205550253391266, 0.037805765867233276, -0.6427311301231384, -0.40416738390922546, 0.506586492061615, -0.5474156737327576, 0.9986218810081482, 0.4731542766094208, -0.35872504115104675, 0.5836589336395264, -0.9105424284934998, 0.24036960303783417, -0.14927196502685547, -0.46904873847961426, -0.09221073240041733, 0.014088100753724575, 0.8164309859275818, 0.34762123227119446, 0.22261254489421844, -0.35502320528030396, 0.029778411611914635, -0.0629335567355156, 0.37530893087387085, 0.6715782284736633, -0.344858318567276, 0.05737771466374397, -0.32408377528190613, 0.527603268623352, 0.209380641579628, 0.26594072580337524, -0.27077382802963257, -0.4596029222011566, -0.9773809909820557, -0.5094358325004578, 0.16076955199241638, 0.36217647790908813, -0.9983962178230286, -0.23984134197235107, 0.001995445229113102, -0.44782793521881104, -0.4589889347553253, 0.14810870587825775, 0.3940041661262512, 0.202786386013031, 0.3278368413448334, 0.20195214450359344, -0.5509069561958313, -1.1146321296691895, -0.46142300963401794, 0.05751101300120354, 0.3777823746204376, 0.30439600348472595, 0.5435881018638611, -0.38310760259628296, 0.7050386071205139, 0.19019049406051636, -0.044600117951631546, -0.35552677512168884, 0.27554336190223694, 0.1399155855178833, 0.4390103220939636, 0.6393408179283142, -1.0990958213806152, -0.7776920199394226, 0.484806090593338, -0.8106065988540649, 0.1275426149368286, 0.07721692323684692, -0.13958317041397095, 0.4738682806491852, 0.18380843102931976, -0.4547363221645355, 0.443454384803772, 0.6862809658050537, -0.5295460820198059, 1.052353858947754, 0.10880494117736816, 0.45350754261016846, -0.9246177673339844, 0.22040729224681854, 0.02472282573580742, -0.3623467981815338, -0.5151379108428955, 0.2918564975261688, 0.21438300609588623, -0.1914244294166565, -0.6070393323898315, 0.7414156198501587, -0.7368170619010925, -0.24942167103290558, -0.15535646677017212, -0.30352920293807983, -0.0765499398112297, 0.567059338092804, 0.12269658595323563, 0.9941608309745789, 0.8645278215408325, -0.3559863567352295, 0.4866972267627716, 0.0038677649572491646, -0.6530855298042297, 0.6500664353370667, -0.6722956299781799, -0.12356996536254883, 0.1323491781949997, -0.1316363364458084, -0.8867347836494446, -0.09132614731788635, 0.0455559566617012, -0.15011796355247498, 0.27694547176361084, -0.1130320131778717, -0.5024212002754211, -0.19806179404258728, -0.4868484139442444, 0.7052675485610962, 0.4326517581939697, -0.5838468670845032, 0.9063493013381958, 0.1835513561964035, -0.1979823112487793, -0.948527455329895, -0.4762563705444336, 0.4538663923740387, -0.18477952480316162, -0.6796040534973145, -0.08279445767402649, 0.10856259614229202, -0.46893802285194397, -0.13633953034877777, 0.20275740325450897, -0.20135946571826935, -0.15169021487236023, 0.1340334266424179, 0.2569126784801483, -0.5719550251960754, 0.15068770945072174, -0.12153175473213196, 0.05878361314535141, -0.15625125169754028, -0.37001100182533264, 0.3998209536075592, -0.6989619135856628, -0.6252110600471497, -0.3075220584869385, 0.7130423784255981, 0.9339906573295593, -0.8881216645240784, 0.8657118082046509, 0.9355821013450623, -0.2785394489765167, -0.2407948225736618, -0.767559826374054, 0.15677084028720856, -0.4503999352455139, 0.5834057927131653, -0.7046396732330322, -0.6204414963722229, 0.5622170567512512, -0.10206625610589981, -0.023154160007834435, 0.229745015501976, 0.599126935005188, -0.13503387570381165, 1.4663045406341553, 0.6439521908760071, 0.013533244840800762, 0.2826269865036011, -0.1603347361087799, 0.010269022546708584, -0.9995197057723999, 0.029954206198453903, -0.4155118763446808, -0.1935395747423172, -0.6252604722976685, -0.5685431361198425, 0.34674906730651855, 0.08633419126272202, -0.6941344738006592, -0.13421683013439178, -0.13322480022907257, 0.38909056782722473, 0.6734077334403992, -0.05314657837152481, 0.4304218888282776, -0.02673463150858879, -0.29604247212409973, -0.00518708536401391, -0.6409198045730591, -0.7413231134414673, 1.1117701530456543, 0.15178655087947845, 0.6762934923171997, 0.5374212861061096, 0.013505549170076847, 0.34683674573898315, 0.3903608024120331, -0.46182718873023987, 0.6577048301696777, -0.03622196614742279, -0.5259395241737366, -0.30032598972320557, -0.19140230119228363, -0.9460626244544983, 0.6619322299957275, -0.2778685390949249, -0.613398015499115, 0.20169639587402344, 0.047569114714860916, -0.016440700739622116, 0.37375473976135254, -0.33477702736854553, 1.0805058479309082, -0.2828039526939392, -0.9633076786994934, -0.3904598355293274, -0.526513397693634, 0.467260479927063, -0.02757151983678341, 0.2987675368785858, -0.2678622305393219, -0.26151978969573975, 0.3718782663345337, -0.43400654196739197, 0.8051415085792542, -0.003889947896823287, -0.04416868835687637, 0.32113006711006165, 0.22035925090312958, 0.44165533781051636, -0.22907325625419617, -0.34313109517097473, 0.15073487162590027, 0.2291773110628128, -0.8082606196403503, -0.4049130082130432, 0.7699651122093201, -0.7894669771194458, -0.34189262986183167, -0.49281391501426697, -0.7009300589561462, -0.5818514227867126, 0.2890545129776001, -0.2638637125492096, 0.7032973766326904, -0.021546900272369385, 0.45318230986595154, 0.2953720688819885, -0.3957112729549408, 0.5324186086654663, 0.6056398153305054, -0.7328619956970215, -0.3417474925518036, 0.9550994038581848, 0.04760394245386124, -0.0344291627407074, 0.2198438197374344, 0.22141553461551666, -0.6143759489059448, -0.7664355635643005, -0.8665568828582764, 0.017961902543902397, -0.9694883227348328, 0.051866315305233, -0.38382717967033386, -0.042668212205171585, -0.25062835216522217, -0.005903991870582104, -0.09976236522197723, -0.21665139496326447, 0.12714985013008118, 0.41193774342536926, 0.1348569542169571, 0.7166112065315247, 0.09691745042800903, -0.3192427456378937, -0.8262556195259094, 0.3015282452106476, 0.6595276594161987, 0.26737716794013977, 0.3124655783176422, -0.33832117915153503, -0.2025109976530075, 0.22209079563617706, -0.1776708960533142, -0.9355068802833557, 0.2813059687614441, 0.203897163271904, 0.6703916192054749, 0.6113284230232239, 0.047058675438165665, 0.6954634189605713, -0.5710218548774719, 0.7123056054115295, 0.30883145332336426, -0.9334280490875244, 0.23575067520141602, -0.8624684810638428, 0.393456369638443, 0.30391204357147217, 0.28688162565231323, -0.6816837787628174, -0.15789318084716797, 0.16647730767726898, -0.5769139528274536, 0.09553013741970062, 0.23358625173568726, -0.0008171296794898808, 0.0018228782573714852, -0.17907562851905823, 0.1272144466638565, 0.48390892148017883, -0.7589357495307922, -0.14590886235237122, -0.4975423216819763, -0.19058506190776825, 0.04215088486671448, -0.3884860873222351, 0.07155688852071762, -0.5551319718360901, 0.711984395980835, -0.2752451002597809, -0.29543668031692505, 0.01314748264849186, -0.281283974647522, -0.003465739544481039, 0.3775409758090973, 0.5970979332923889, 0.976169228553772, 0.1153574287891388, 0.26872143149375916, 0.03758503124117851, -0.2517111003398895, 0.03472006693482399, 0.04130684211850166, -0.07047780603170395, -0.2035110592842102, 0.6226898431777954, 0.42033517360687256, 0.29414820671081543, -1.0319840908050537, 0.45590800046920776, 0.1781584471464157, 0.24714499711990356, -0.23030170798301697, -0.3249454200267792, 0.2998603880405426, 0.5971194505691528, 0.4338078200817108, 0.06410600244998932, 0.33922824263572693, -0.8998001217842102, 0.040452562272548676, 0.7723193168640137, -0.26769542694091797, -0.028200170025229454, 0.5422987937927246, 0.5442242622375488, -0.21489731967449188, 0.45592716336250305, -0.3333907425403595, -0.710631787776947, 0.4567846357822418, 0.5024542212486267, 0.7268335223197937, -0.14596499502658844, 0.22220420837402344, 0.29563814401626587, 0.2354145050048828, 0.3439323306083679, 0.6065878868103027, -0.2799278199672699, -0.773222804069519, -0.4293391704559326, -0.81825852394104, -0.5002679228782654, -0.1589937061071396, -0.3860071301460266, 0.12925375998020172, -0.2822086811065674, -0.03936871141195297, -0.0227790717035532, -0.022066812962293625, -0.6256104707717896, -0.0522703118622303, 0.31437060236930847, 1.0944252014160156, -0.42892059683799744, 0.9240514636039734, 0.858011782169342, -0.5946823954582214, -0.7749735713005066, -0.2772681713104248, 0.0021429327316582203, -0.8173293471336365, 1.073401689529419, 0.26880255341529846, -0.7628592848777771, -0.10073433071374893, -0.2644234597682953, -0.6927527189254761, 0.6542752981185913, 0.20287355780601501, -0.5369933247566223, 0.33631235361099243, 0.2820839285850525, 0.39880111813545227, -0.46123141050338745, 0.23894686996936798, 0.31897956132888794, 0.8231873512268066, 0.17374549806118011, -0.9807659983634949, -0.08824831992387772, -0.6929934024810791, 0.14244063198566437, -0.05548761039972305, -0.6941176056861877, 1.239160418510437, -0.39313259720802307, -0.09653154760599136, 0.4541321098804474, 0.7293331623077393, 0.25892776250839233, 0.22190771996974945, 0.4508133828639984, 0.10438892990350723, 0.722442090511322, 0.04022713750600815, 0.9275487661361694, -0.3841562271118164, 0.1688622236251831, 1.0500633716583252, -0.6292645931243896, 1.3027279376983643, 0.47346991300582886, -0.34510040283203125, 0.5965202450752258, 0.6812318563461304, 0.12662851810455322, 0.21318687498569489, 0.3044814467430115, -0.41373151540756226, -0.6119785308837891, -0.49140021204948425, -0.5905314683914185, 0.5605314373970032, 0.011777007021009922, -0.14919330179691315, -0.12218385189771652, 0.18798886239528656, -0.2386305034160614, 0.29101812839508057, -0.6314786672592163, 0.3392443060874939, -0.18302419781684875, -0.46764519810676575, 0.8567631244659424, -0.16139358282089233, 0.6530843377113342, -0.6262860894203186, -0.3161320984363556, -0.009640243835747242, 0.27156415581703186, -0.11248204857110977, -0.6880318522453308, 0.06656594574451447, -0.08778883516788483, -0.0632202997803688, -0.07769643515348434, 0.6620308756828308, -0.595383882522583, -0.9562981128692627, 0.20959274470806122, 0.616435706615448, 0.094705730676651, -0.2724470794200897, -0.6682722568511963, 0.3792789578437805, -0.19874462485313416, -0.21533076465129852, 0.042122747749090195, 0.45766574144363403, -0.16553592681884766, 0.9970516562461853, 0.6885508298873901, 0.12327683717012405, 0.2621884047985077, 0.2820277810096741, 0.6165041923522949, -0.7823188900947571, -0.42413973808288574, -0.79875248670578, 0.3940792679786682, -0.3261444866657257, -0.3084045648574829, 1.0653353929519653, 0.795301616191864, 0.2987046539783478, -0.2775859534740448, 0.7737454771995544, 0.36252012848854065, 0.46391770243644714, -0.3482796847820282, 1.0731370449066162, -0.9292581081390381, -0.05092905834317207, -0.20226682722568512, -0.8513375520706177, -0.08623441308736801, 0.7507240772247314, -0.06868704408407211, 0.2777441740036011, 0.7437850832939148, 0.6092886328697205, 0.0026357751339673996, 0.21867600083351135, 0.6456924080848694, 0.41124650835990906, 0.24088138341903687, 0.5725796818733215, 1.4275392293930054, 0.019948061555624008, 0.5657592415809631, -0.08925627917051315, -0.1417296826839447, -0.33672329783439636, -1.0584746599197388, -1.2268292903900146, -0.6791654825210571, -0.22376735508441925, -0.08290331065654755, 0.10486867278814316, 1.0161157846450806, 1.0998117923736572, -0.9333847761154175, -0.35692569613456726, 0.14434228837490082, 0.1875985711812973, -0.39939969778060913, -0.17042873799800873, 0.33431947231292725, -0.28285783529281616, -0.6658071279525757, 0.16398607194423676, 0.5357732176780701, 0.1524505913257599, -0.7241529822349548, -0.1542014181613922, -0.29926592111587524, 0.18149755895137787, 0.9759429097175598, 0.22760099172592163, -1.073534369468689, -0.2493015080690384, -0.15983982384204865, -0.18834225833415985, -0.2704634964466095, 0.6345720887184143, -0.739565372467041, 0.3236235976219177, 0.1987345963716507, 0.6791574358940125, 0.2943150997161865, -0.3571353554725647, 0.46078914403915405, -0.1698693484067917, 0.2965593636035919, 0.31502777338027954, 0.711320698261261, 0.5127943158149719, 0.23897041380405426, 0.38872674107551575, -0.03881506621837616, -0.2220723181962967, -0.8272231817245483, 0.5607909560203552, -0.9678537845611572, -0.4843927025794983, 1.1343345642089844, -0.13198933005332947, -0.21289323270320892, -0.4486634433269501, -0.6149561405181885, -0.02515108697116375, -0.1453675627708435, 0.6185309886932373, 0.7423279285430908, 0.09492474794387817, -0.3496939539909363, -0.425314724445343, 0.43326571583747864, 0.395634263753891, -0.8532363176345825, 0.18119050562381744, 0.60135817527771, 0.12307044118642807, -0.0006549031240865588, 0.26216933131217957, 0.21514232456684113, 0.6111841797828674, 0.14429502189159393, -0.08252037316560745, -0.3168646991252899, -0.4451051950454712, 0.07676371932029724, 0.4822942912578583, 0.27898111939430237, -0.17500801384449005 ]
http://arxiv.org/abs/2403.01002v1
http://arxiv.org/pdf/2403.01002v1
Attribute Structuring Improves LLM-Based Evaluation of Clinical Text Summaries
2024-03-01T21:59:03
2024-03-01T21:59:03
Zelalem Gero, Chandan Singh, Yiqing Xie, Sheng Zhang, Tristan Naumann, Jianfeng Gao, Hoifung Poon
cs.CL
cs.CL, cs.AI
Summarizing clinical text is crucial in health decision-support and clinical research. Large language models (LLMs) have shown the potential to generate accurate clinical text summaries, but still struggle with issues regarding grounding and evaluation, especially in safety-critical domains such as health. Holistically evaluating text summaries is challenging because they may contain unsubstantiated information. Here, we explore a general mitigation framework using Attribute Structuring (AS), which structures the summary evaluation process. It decomposes the evaluation process into a grounded procedure that uses an LLM for relatively simple structuring and scoring tasks, rather than the full task of holistic summary evaluation. Experiments show that AS consistently improves the correspondence between human annotations and automated metrics in clinical text summarization. Additionally, AS yields interpretations in the form of a short text span corresponding to each output, which enables efficient human auditing, paving the way towards trustworthy evaluation of clinical information in resource-constrained scenarios. We release our code, prompts, and an open-source benchmark at https://github.com/microsoft/attribute-structuring.
[ 0.2756056785583496, -0.463622123003006, 0.7115620374679565, 0.37747058272361755, -0.38785284757614136, -0.02955101802945137, -0.180068239569664, -0.5135257244110107, 0.13466978073120117, 0.3573674261569977, -0.3149717450141907, -0.6452808976173401, -0.5244951844215393, 0.11507882177829742, -0.035226065665483475, 1.3709447383880615, -0.08223707973957062, 0.0667751356959343, -0.8812625408172607, -0.4269779622554779, -0.28733423352241516, -0.4929211437702179, -0.6470819115638733, -0.6225570440292358, 0.5796105861663818, 0.3943089544773102, 0.787387490272522, 0.8819065093994141, 0.8959004878997803, 0.2880692481994629, -0.24551697075366974, 0.1520698368549347, -0.31218451261520386, 0.3438304364681244, 0.11187434941530228, -0.28195720911026, -0.969423770904541, -0.15554608404636383, 0.5621200203895569, 0.9035518765449524, -0.07477065175771713, 0.1765855997800827, 0.21601040661334991, 0.9278355836868286, -0.6594966053962708, 0.11531352996826172, -0.2990732192993164, 0.021945279091596603, 0.15546442568302155, -0.5036563873291016, -0.3262598514556885, -0.19148264825344086, 0.3409057855606079, -0.23623186349868774, 0.22683386504650116, -0.05148846283555031, 0.8151689171791077, 0.3028038442134857, -0.4105546176433563, -0.28867167234420776, -0.1828073114156723, 0.6029273867607117, -0.5649769902229309, 0.31722167134284973, 0.602341890335083, 0.08737614005804062, 0.11474893242120743, -0.5446476936340332, -0.08349286019802094, -0.44694820046424866, -0.39575767517089844, 0.26168808341026306, -0.07997766137123108, 0.3020286560058594, -0.028027119114995003, 0.5441409945487976, -0.4207237958908081, 0.2603749632835388, -0.33600112795829773, -0.4736911654472351, 0.8937665224075317, 0.33302468061447144, 0.366436630487442, -0.26747360825538635, -0.25229936838150024, -0.013048812747001648, -0.8261734843254089, -0.20304302871227264, 0.02361552231013775, 0.067000612616539, -0.3707827627658844, 0.581072986125946, -0.1388600468635559, 0.12245331704616547, -0.10073434561491013, -0.4633806645870209, 0.41132667660713196, -0.3956058621406555, -0.3895452320575714, 0.15600872039794922, 0.7276829481124878, 0.9048890471458435, -0.12889230251312256, -0.42283010482788086, -0.021804625168442726, 0.06505156308412552, 0.3021240532398224, -0.9720589518547058, -0.3253730535507202, 0.5892462134361267, -0.7926576733589172, -0.6741307973861694, -0.21791541576385498, -0.34717878699302673, -0.5428571701049805, -0.2852090001106262, 0.1722998321056366, -0.6256351470947266, 0.16397538781166077, -0.08061030507087708, -0.1120028868317604, -0.13279519975185394, 0.7687011957168579, -0.5210621953010559, 0.3579052984714508, 0.5284572839736938, 0.8552417755126953, -0.3290523886680603, -0.14631202816963196, -0.7370902895927429, 0.25447919964790344, 0.024084899574518204, 0.8298077583312988, -0.3058854341506958, -0.5088471174240112, -0.1422465294599533, -0.25440120697021484, 0.27288082242012024, -0.5455499887466431, 0.5305626392364502, -0.08018422871828079, 0.10128560662269592, -0.04386769235134125, -0.3060404658317566, 0.20524516701698303, 0.17884957790374756, -0.6730209589004517, 0.9201712012290955, 0.07114863395690918, -0.6169013977050781, 0.471688449382782, -0.5398417115211487, -0.7563007473945618, 0.020752768963575363, -0.27274221181869507, -1.0221960544586182, 0.44026878476142883, 0.3062329888343811, 0.4691012501716614, -0.39090001583099365, 0.06703995913267136, -0.08153954148292542, -0.07249363511800766, 0.37785133719444275, -0.10596393793821335, 0.4295402765274048, 0.1480027288198471, 0.12222769111394882, 0.389607697725296, -0.8612785339355469, 0.06167379394173622, -0.17447559535503387, -0.24322395026683807, -0.43266868591308594, 0.13556142151355743, 0.0836726501584053, -0.021220052614808083, 0.024574005976319313, -0.2126931995153427, -0.07001141458749771, -0.3945671319961548, 0.1748223602771759, 0.46718597412109375, 0.23826362192630768, 0.6129739880561829, -0.5691794753074646, 0.45528966188430786, 0.07944820076227188, -0.04278389737010002, -0.30932894349098206, -0.13052807748317719, -0.5362980365753174, -0.5987811088562012, 0.051813866943120956, 0.3501946032047272, -0.5767349600791931, 0.48930132389068604, -0.384112149477005, -0.5046417713165283, -0.5797115564346313, -0.04599044844508171, 0.8778762817382812, 0.6438030004501343, 0.45522749423980713, -0.20859970152378082, -0.28503429889678955, -1.138344407081604, -0.3993411958217621, -0.4423183798789978, -0.4877414405345917, 0.1232943907380104, 0.6024465560913086, -0.22611896693706512, 0.7474135756492615, -0.6788924932479858, -0.601857602596283, -0.6620151996612549, 0.42411500215530396, -0.12606042623519897, 0.4613151550292969, 0.4623536765575409, -0.5435118079185486, -0.19028359651565552, 0.003535100957378745, -0.5720875263214111, -0.6199737787246704, -0.25982850790023804, -0.06592873483896255, 0.008920815773308277, 0.23819324374198914, -0.4569932222366333, 0.8716268539428711, 0.012703079730272293, -0.38095417618751526, 0.7405791878700256, -0.3977064788341522, 0.33087730407714844, -0.716357409954071, 0.2413095086812973, -0.21039317548274994, -0.3210234045982361, -0.5552238821983337, 0.17953963577747345, 0.2318631410598755, 0.08264151960611343, -0.2694721817970276, 0.3285229206085205, -0.47379958629608154, 0.2112189084291458, -0.16523605585098267, 0.08194418996572495, 0.26723429560661316, 0.27332136034965515, 0.08693938702344894, 0.6667810082435608, 0.11873286962509155, -0.6601826548576355, -0.07771605998277664, 0.38607874512672424, -0.20339623093605042, 0.8201286792755127, -0.8477843999862671, -0.10513987392187119, -0.4195311963558197, 0.14841072261333466, -0.6779158115386963, -0.25906631350517273, -0.23373031616210938, -0.4215412139892578, 0.23150821030139923, 0.14181235432624817, -0.4037356376647949, 0.06270018965005875, -0.9313806891441345, 0.36621251702308655, 0.07776933908462524, -0.006316371727734804, 0.5818809866905212, 0.5087634325027466, -0.2632506489753723, -0.2334095984697342, -0.8797244429588318, 0.16520822048187256, -0.22104333341121674, -0.6161574721336365, 0.6377471685409546, -0.037810202687978745, -0.36211371421813965, 0.027708305045962334, -0.35954397916793823, -0.12554708123207092, 0.43466293811798096, 0.26737651228904724, 0.4003135561943054, -0.08533518761396408, 0.4007832407951355, 0.07694792747497559, -0.18745069205760956, 0.10184365510940552, 0.3241799473762512, 0.15393131971359253, -0.08923421055078506, -0.380347341299057, -0.5583745241165161, 0.5402894020080566, 0.462230384349823, -0.23357313871383667, 0.8448012471199036, 0.17054866254329681, -0.46052247285842896, -0.22622275352478027, -0.4620925784111023, -0.09432313591241837, -0.33237507939338684, 0.7141963243484497, -0.10712791979312897, -0.7382665276527405, 0.6293284893035889, 0.24264506995677948, -0.02929941564798355, 0.532355785369873, 0.680737316608429, -0.266895055770874, 0.6423451900482178, 0.4931719899177551, 0.0665845274925232, 0.14637310802936554, 0.11647000163793564, 0.15848538279533386, -0.8849501609802246, -0.3267402946949005, -0.4832516610622406, -0.21643947064876556, -0.2109198123216629, -0.4026131331920624, 0.9472811818122864, 0.029369642958045006, 0.10656817257404327, -0.1123868077993393, -0.4010748863220215, 0.5507783889770508, 0.06993681192398071, 0.47811079025268555, 0.5923956036567688, 0.03933735191822052, -0.07803661376237869, -0.14378298819065094, -0.3710920214653015, -0.6227394938468933, 1.036816954612732, 0.5977567434310913, 0.645023763179779, 0.21169185638427734, 0.5678635239601135, 0.3441038429737091, 0.7948080897331238, -0.7120470404624939, 0.40494346618652344, 0.04523516446352005, 0.008598637767136097, -0.24069805443286896, -0.4881267845630646, -0.5695419907569885, 0.45908746123313904, -0.34307166934013367, -0.8544617295265198, -0.19146420061588287, 0.18692390620708466, -0.4687619209289551, -0.11292363703250885, -0.5813412666320801, 0.5748236775398254, -0.26367661356925964, -0.4381854832172394, -0.21633872389793396, -0.6766257882118225, 0.18935240805149078, 0.02428544871509075, 0.010189912281930447, -0.06507602334022522, -0.14183224737644196, 0.620622992515564, -0.8924076557159424, 0.6193228363990784, 0.22726225852966309, -0.0667121633887291, -0.013686423189938068, 0.041011009365320206, 0.2899135947227478, 0.18603014945983887, -0.07874026894569397, 0.01724812760949135, 0.11396908760070801, -0.1138482391834259, -0.8406730890274048, 0.31423869729042053, -0.48451098799705505, -0.4621528685092926, -0.543329119682312, -0.5568168759346008, -0.35029253363609314, 0.08973649889230728, 0.16238299012184143, 0.6040992736816406, -0.31011533737182617, 0.44035011529922485, 0.4190327227115631, -0.3737381100654602, 0.17919035255908966, 0.4366901218891144, 0.10668744891881943, -0.7380580306053162, 0.403787225484848, -0.11948172748088837, 0.46249085664749146, 0.5262399911880493, 0.28317204117774963, -0.2639469802379608, -0.765424907207489, -0.09979255497455597, 0.3337806463241577, -0.7469896078109741, -0.5239080786705017, -0.5921536684036255, -0.19384391605854034, -0.31388869881629944, -0.2398662567138672, -0.045568689703941345, -0.48960867524147034, -0.11623240262269974, -0.3612312972545624, 0.2502334713935852, 0.5728853940963745, 0.22776620090007782, 0.44891005754470825, -0.7353521585464478, 0.25308454036712646, -0.04865038022398949, 0.41288459300994873, 0.15636152029037476, -0.2504880726337433, -0.41604694724082947, -0.1874135136604309, -0.42441970109939575, -0.7806797623634338, 0.22662308812141418, 0.3432807922363281, 0.42105963826179504, 0.4633532464504242, 0.26931098103523254, 1.04096257686615, -0.6916090846061707, 0.5925345420837402, 0.4416658580303192, -0.9153140783309937, 0.6221845149993896, -0.11163488030433655, 0.24553729593753815, 0.9392818808555603, -0.14251230657100677, -0.42351093888282776, -0.6797566413879395, -0.3499893248081207, -1.1822117567062378, 0.5474545359611511, 0.6466615200042725, -0.4819848835468292, 0.16337265074253082, 0.1972641944885254, 0.002003472065553069, 0.35231053829193115, -0.6855407357215881, -0.33707302808761597, 0.16609154641628265, -0.531822681427002, 0.020918913185596466, -0.6701821088790894, -0.3571927845478058, -0.26255640387535095, 0.3722602427005768, -0.14558273553848267, 0.2350156605243683, 0.5434291362762451, -0.5952528715133667, 0.05167771503329277, 0.42103004455566406, 0.59577476978302, 0.7432948350906372, -0.25121721625328064, 0.40041422843933105, 0.20463308691978455, -0.6886242032051086, -0.02260822057723999, -0.16099730134010315, -0.07657694071531296, -0.13065385818481445, 1.0520319938659668, 0.6061641573905945, 0.5267829298973083, -0.606208086013794, 0.6439106464385986, 0.009729201905429363, -0.172804594039917, -0.08902905136346817, -0.10607192665338516, -0.14691303670406342, -0.01867515780031681, 0.4092356264591217, -0.19824813306331635, 0.23449116945266724, -0.35548722743988037, 0.26097238063812256, 0.30603763461112976, -0.17323780059814453, -0.36385849118232727, 0.684217095375061, 0.19500569999217987, -0.11404625326395035, 0.30193382501602173, 0.16907088458538055, -0.4032309353351593, 0.549454927444458, 0.5449332594871521, 1.1210979223251343, -0.09393870085477829, 0.30008089542388916, -0.047247014939785004, 0.4002835750579834, 0.23572571575641632, 0.1624399572610855, -0.35910847783088684, -0.30037668347358704, -0.31227654218673706, -0.6104875802993774, -0.49886420369148254, -0.014829268679022789, -0.7165464758872986, 0.22167609632015228, -0.33335474133491516, 0.09872368723154068, 0.04307584837079048, -0.12376437336206436, -0.4376026690006256, 0.3176599144935608, -0.040179312229156494, 0.8468652367591858, -0.7902180552482605, 0.4279889166355133, 0.6757891774177551, -0.5344844460487366, -0.4678238332271576, -0.06266475468873978, 0.21223574876785278, -0.5753143429756165, 0.5101830959320068, 0.2857148349285126, -0.018646106123924255, -0.6058701276779175, -0.3032286763191223, -0.6264476776123047, 1.2427126169204712, 0.29001712799072266, -0.04501453787088394, -0.09128420799970627, 0.33902689814567566, 0.8898823857307434, -0.4693664014339447, 0.46200117468833923, 0.5072826743125916, 0.2554156184196472, 0.09261451661586761, -1.0219097137451172, 0.3104579746723175, -0.41292890906333923, 0.006586287170648575, -0.023713311180472374, -0.26861435174942017, 0.4311572015285492, -0.27468839287757874, -0.23148372769355774, 0.10918989032506943, 0.626767098903656, 0.2585527002811432, 0.5441340208053589, 0.32382580637931824, 0.5169853568077087, 0.9555582404136658, -0.10338471829891205, 1.132096290588379, 0.010441661812365055, 0.14619329571723938, 1.2568975687026978, -0.3525756299495697, 0.5321993231773376, 0.3958754539489746, -0.2885594666004181, 0.3517303466796875, 0.2137373387813568, 0.29514193534851074, 0.46243199706077576, 0.127676859498024, -0.21344490349292755, -0.11804922670125961, -0.2734077274799347, -0.26201188564300537, 0.3619029223918915, 0.23165911436080933, -0.5873150825500488, -0.34242892265319824, -0.16352318227291107, 0.2776467800140381, 0.03149037063121796, -0.3878497779369354, 0.9764065742492676, 0.20370624959468842, -0.5688716173171997, 0.21956925094127655, -0.054393380880355835, 0.08662869781255722, -0.6443156003952026, -0.024075891822576523, -0.15772032737731934, 0.21862146258354187, -0.6041744947433472, -0.6401147842407227, 0.478287011384964, 0.1866808384656906, -0.2702343165874481, -0.42117345333099365, 0.6453151702880859, -0.5341183543205261, -0.4768066108226776, -0.129325270652771, 0.2089064121246338, -0.010957219637930393, 0.0409003347158432, -0.22464410960674286, 0.0946008637547493, -0.19650346040725708, -0.11703405529260635, 0.41310983896255493, 0.543743371963501, -0.364629864692688, 0.6518998742103577, 0.5818971395492554, 0.40036532282829285, -0.7626713514328003, 0.27178025245666504, 1.020983099937439, -0.6859614253044128, -0.8795664310455322, -1.1160988807678223, 0.8661875128746033, -0.46489813923835754, -0.29122793674468994, 0.6907835602760315, 0.702401340007782, 0.09363897144794464, 0.11460844427347183, 0.5476529002189636, 0.20774152874946594, 0.3796870708465576, -0.6069611310958862, 1.255248785018921, -0.551218569278717, 0.5175674557685852, -0.4797693192958832, -0.42068707942962646, -0.853233814239502, 0.5363427996635437, -0.17429815232753754, -0.20832563936710358, 0.9142971634864807, 0.4292987287044525, 0.2513907551765442, -0.14340940117835999, 0.11114473640918732, 0.2610478401184082, 0.537209153175354, 0.4341999888420105, 0.46420538425445557, -0.19813422858715057, 0.14731097221374512, -0.10110735148191452, -0.519389808177948, -0.2531032860279083, -1.2368707656860352, -1.0538800954818726, -0.2670056223869324, -0.5684771537780762, -0.47454169392585754, -0.09987972676753998, 0.9203120470046997, 0.3333698511123657, -0.8178952932357788, -0.017556577920913696, 0.27817076444625854, 0.3311455547809601, -0.1969263106584549, -0.16255134344100952, 0.8411902785301208, -0.24715447425842285, -0.09886174649000168, 0.0630268007516861, 0.7491260170936584, -0.14072301983833313, 0.025868680328130722, -0.091861791908741, 0.18402284383773804, -0.23642471432685852, 0.751006543636322, -0.10997600108385086, -0.5118807554244995, -0.43591731786727905, -0.2504091262817383, -0.18443036079406738, 0.12571381032466888, 0.7831286191940308, -0.6813595294952393, 0.35800573229789734, 0.2814435660839081, 0.6135445237159729, 0.12523439526557922, 0.2776165306568146, 0.714543342590332, -0.9453195929527283, 0.06814704835414886, 0.3517187833786011, 0.32991504669189453, 0.26979637145996094, -0.5280243158340454, 0.5226128697395325, 0.06464560329914093, -0.3906398117542267, -1.106196641921997, 0.049708425998687744, -0.9468540549278259, 0.049612242728471756, 1.0676003694534302, -0.009384173899888992, -0.37829676270484924, -0.008402555249631405, -0.16892218589782715, 0.060310278087854385, -0.23471461236476898, 0.9032192826271057, 0.5783581137657166, -0.24135532975196838, 0.017179470509290695, -0.05012128874659538, 0.699074387550354, 0.4255051016807556, -0.9934470653533936, 0.07980803400278091, 0.6567365527153015, 0.10385030508041382, 0.12322591990232468, 0.7650769948959351, -0.23773522675037384, 0.5001450777053833, -0.5660188794136047, -0.10115084797143936, -0.3417106866836548, -0.13403986394405365, -0.4138783812522888, 0.21070905029773712, -0.23677708208560944, -0.05895274132490158 ]
http://arxiv.org/abs/2403.00998v1
http://arxiv.org/pdf/2403.00998v1
Predictions from language models for multiple-choice tasks are not robust under variation of scoring methods
2024-03-01T21:48:08
2024-03-01T21:48:08
Polina Tsvilodub, Hening Wang, Sharon Grosch, Michael Franke
cs.CL
cs.CL
This paper systematically compares different methods of deriving item-level predictions of language models for multiple-choice tasks. It compares scoring methods for answer options based on free generation of responses, various probability-based scores, a Likert-scale style rating method, and embedding similarity. In a case study on pragmatic language interpretation, we find that LLM predictions are not robust under variation of method choice, both within a single LLM and across different LLMs. As this variability entails pronounced researcher degrees of freedom in reporting results, knowledge of the variability is crucial to secure robustness of results and research integrity.
[ -0.18574567139148712, -0.7395896911621094, 0.40988853573799133, 0.08987222611904144, -0.09433985501527786, 0.09387736767530441, -0.2584284543991089, -0.675760805606842, 0.08020403236150742, 0.1986204981803894, -0.49875763058662415, -0.33418601751327515, -0.6356321573257446, 0.12819932401180267, -0.06132287532091141, 0.9090280532836914, -0.13046947121620178, 0.33721283078193665, -0.3875576853752136, -0.053451623767614365, -0.31571486592292786, -0.39712318778038025, -0.3279358148574829, -0.24013327062129974, 0.5137688517570496, 0.3863852620124817, 0.8299676179885864, 0.48779943585395813, 0.7819004654884338, 0.19486212730407715, 0.00465026218444109, 0.06289181858301163, -0.1737622171640396, 0.4469418227672577, -0.026386333629488945, -0.850748598575592, -0.3330298364162445, 0.25399249792099, 0.4308925271034241, 0.26920798420906067, -0.18782329559326172, 0.10666687041521072, 0.15881149470806122, 0.13385261595249176, -0.579075276851654, 0.1819019913673401, -0.7199724912643433, -0.29275569319725037, -0.1637391746044159, 0.05411067605018616, -0.3985901474952698, -0.28012099862098694, 0.2476276010274887, -0.20809075236320496, 0.1133652776479721, 0.1437421441078186, 0.7996623516082764, 0.11705034226179123, -0.17305608093738556, -0.496082067489624, -0.6827750205993652, 1.2292183637619019, -0.853229820728302, 0.04322722554206848, 0.7556509375572205, 0.505471408367157, 0.060747720301151276, -0.470203161239624, -0.23972757160663605, -0.5297543406486511, 0.21108366549015045, 0.16462865471839905, 0.20410233736038208, 0.017104310914874077, 0.08020910620689392, 0.429328978061676, -0.4842087924480438, 0.22654414176940918, -0.1487719714641571, -0.14172375202178955, 0.7509462833404541, 0.1920216828584671, -0.024351941421628, -0.40963083505630493, -0.4730740785598755, -0.12989285588264465, -0.5529728531837463, 0.3971889615058899, 0.5397283434867859, 0.6137878894805908, -0.09547893702983856, 0.7143819332122803, -0.1489827185869217, 0.8202384114265442, -0.11495581269264221, -0.6443196535110474, 0.32955262064933777, -0.2886732220649719, -0.3172346353530884, -0.6076240539550781, 0.787260890007019, 0.4503352642059326, 0.06242698058485985, 0.03231225535273552, -0.22269019484519958, 0.031506720930337906, -0.03788675740361214, -0.23757143318653107, -0.040729328989982605, 0.19708116352558136, -0.5160498023033142, -0.3789321482181549, -0.01102925930172205, -0.9249611496925354, -0.3441777229309082, 0.042921580374240875, 0.2335028052330017, -0.36302146315574646, -0.24353903532028198, 0.08239740878343582, 0.009972505271434784, 0.23688535392284393, 0.46042755246162415, -0.6601887345314026, 0.09443968534469604, 0.41868481040000916, 0.5751872062683105, -0.49393078684806824, -0.575125515460968, -0.26319852471351624, -0.3852514624595642, -0.37389272451400757, 0.8277645707130432, -0.6649417877197266, -0.6359529495239258, 0.04879821091890335, -0.2587476372718811, -0.09817647933959961, -0.46208885312080383, 0.6885327696800232, -0.2642227113246918, 0.38402488827705383, -0.3153849244117737, -0.40575385093688965, -0.11721666157245636, 0.08734047412872314, -0.523838460445404, 0.9028857946395874, 0.19692103564739227, -0.9864975214004517, 0.6383213400840759, -0.21353818476200104, -0.22294266521930695, -0.024247299879789352, -0.41347840428352356, -0.3403356671333313, 0.262545108795166, -0.14315123856067657, 0.3081933557987213, -0.14395153522491455, 0.3392201364040375, -0.6752176284790039, -0.12591849267482758, 0.727279543876648, -0.7045844793319702, 0.7644217014312744, 0.2803654968738556, -0.21646688878536224, 0.05326439440250397, -0.7662656903266907, 0.21774423122406006, 0.04533356428146362, -0.6295244097709656, -0.18691764771938324, 0.29285353422164917, -0.09561623632907867, 0.48047226667404175, 0.3699009120464325, -0.5917937159538269, 0.04837573319673538, -0.34346804022789, -0.0014014927437528968, 0.831364631652832, -0.28869304060935974, 0.2617693543434143, -0.8281697034835815, 0.9098410606384277, -0.10618040710687637, -0.13555282354354858, 0.3257097005844116, -0.7757996916770935, -0.4768998622894287, -0.1282041370868683, 0.3772054612636566, 0.725213348865509, -0.48737776279449463, 0.0014773127622902393, -0.14363792538642883, -0.5855443477630615, -0.6910122036933899, -0.07413224130868912, 0.4655167758464813, 0.2602764666080475, 0.16740137338638306, -0.20654457807540894, -0.5283660888671875, -0.8814641237258911, -0.7865370512008667, -0.38499099016189575, -0.08360225707292557, 0.39700087904930115, 0.427104651927948, 0.23068971931934357, 0.8072085380554199, -0.3092101812362671, 0.10952871292829514, -0.4416446089744568, 0.26478925347328186, 0.11362948268651962, 0.28973624110221863, 0.5384576916694641, -0.6742100119590759, -0.4930587112903595, -0.29776063561439514, -0.43645578622817993, 0.10030827671289444, 0.18934433162212372, 0.408448189496994, 0.1708618849515915, 0.12365985661745071, -0.515651524066925, 0.4598209857940674, 0.706831157207489, -0.29571986198425293, 0.892997682094574, 0.10167147219181061, 0.1502496898174286, -1.0668458938598633, -0.3172145187854767, 0.1039000079035759, -0.15543371438980103, -0.6978572010993958, 0.17169708013534546, -0.03403385728597641, 0.19878685474395752, -0.5040621161460876, 0.4363132119178772, -0.1530909240245819, -0.024003634229302406, -0.2939072549343109, -0.06964676827192307, -0.0877811536192894, 0.20763789117336273, 0.034165821969509125, 0.8208333849906921, 0.5913981199264526, -0.4122486710548401, 0.12070253491401672, 0.002182761672884226, -0.49237582087516785, 0.33097004890441895, -0.3059524595737457, 0.13735854625701904, -0.12494497746229172, -0.19604520499706268, -1.2078216075897217, -0.3515622913837433, 0.0633196234703064, -0.684687614440918, 0.493763267993927, 0.253441721200943, -0.37671738862991333, -0.2650620937347412, -0.6091023683547974, 0.1043562963604927, 0.3651420474052429, -0.07923801243305206, 0.48044559359550476, 0.1696857362985611, -0.2619190812110901, -0.9460710287094116, -1.2456005811691284, -0.41955795884132385, -0.5587045550346375, -0.3260657787322998, 0.08507382124662399, -0.4974089562892914, -0.7585622072219849, -0.21208049356937408, -0.41485604643821716, 0.020899251103401184, 0.4177619218826294, 0.23448936641216278, 0.4362665116786957, -0.12075527012348175, 0.03414520248770714, -0.17452532052993774, -0.022960646077990532, -0.011959348805248737, 0.20753857493400574, 0.17284074425697327, -0.09043455123901367, -0.5959364771842957, 0.07896251976490021, 0.5473089218139648, 0.4212903678417206, 0.021943548694252968, 0.6740894317626953, 0.15098603069782257, -0.2898939549922943, -0.1387760043144226, -0.4718113839626312, 0.01407333742827177, -0.4346790909767151, 0.232676699757576, -0.5688779354095459, -1.0382615327835083, 0.4427441954612732, 0.37484773993492126, 0.322200208902359, 0.5851395726203918, 0.7539379000663757, -0.2438288927078247, 1.0336424112319946, 0.43470942974090576, 0.26812756061553955, 0.4898672103881836, 0.2785460352897644, 0.17175304889678955, -0.5132899880409241, 0.03700384125113487, -0.9108141660690308, -0.15108752250671387, -1.0075862407684326, -0.4435093402862549, 0.013813070952892303, 0.11440888792276382, -0.0564187690615654, 0.14266996085643768, -0.2963705360889435, 0.28579285740852356, 0.6985333561897278, -0.21675710380077362, 0.29555949568748474, 0.18642455339431763, -0.23879438638687134, -0.2761601507663727, -0.5592918395996094, -0.5655995607376099, 1.5329493284225464, 0.2699994742870331, 0.9750027656555176, 0.11888942122459412, 0.8121205568313599, -0.024822939187288284, 0.3633185923099518, -0.7160159349441528, 0.5137078762054443, -0.18217647075653076, -0.763873815536499, -0.4676680564880371, -0.3896094560623169, -0.7678651213645935, 0.5311084985733032, -0.09580149501562119, -1.0840593576431274, 0.19450335204601288, -0.3488657474517822, -0.2681424617767334, 0.22460661828517914, -0.5409473776817322, 0.27779313921928406, -0.18823674321174622, -0.16887906193733215, 0.19836509227752686, -0.641817569732666, 0.19593684375286102, -0.06260700523853302, 0.5470006465911865, -0.36401551961898804, 0.07625699788331985, 0.821851372718811, 0.21248459815979004, 0.9026236534118652, 0.06516356021165848, -0.09129557758569717, 0.4034745991230011, 0.42868679761886597, 0.25782251358032227, 0.1485709398984909, -0.647484540939331, 0.05607915297150612, -0.15672972798347473, -0.36829954385757446, -0.2302352637052536, 0.6711613535881042, -0.8552103638648987, -0.9611603617668152, -0.6035712957382202, -0.8002586364746094, -0.49932950735092163, 0.13988764584064484, 0.7282004952430725, 0.21997356414794922, -0.14012493193149567, 0.1495954841375351, 0.4117458462715149, 0.00990375317633152, 0.6500816345214844, 0.36747926473617554, -0.1089019626379013, -0.33481565117836, 0.5388625264167786, 0.362635999917984, 0.4720240533351898, 0.43887320160865784, 0.1498645544052124, -0.37541061639785767, -0.701094388961792, -0.017255231738090515, -0.04685965180397034, -0.90846186876297, -0.2614802122116089, -0.06928692013025284, -0.06412538886070251, -0.3663959503173828, -0.10609792172908783, -0.09108182787895203, -0.5856066942214966, -0.508997917175293, -0.6152772903442383, 0.09146886318922043, 0.7108717560768127, -0.17895139753818512, 0.025904560461640358, -0.295884370803833, 0.02069328911602497, 0.24575059115886688, 0.4144289195537567, -0.27749186754226685, -0.5859135985374451, -0.251161128282547, 0.08062713593244553, -0.44978779554367065, -1.0477368831634521, 0.39943599700927734, 0.17059661448001862, 0.8195744752883911, 0.2845430374145508, -0.08788634836673737, 0.28688398003578186, -0.07671578973531723, 1.154468297958374, 0.24329189956188202, -0.6799225211143494, 0.562023937702179, -0.3039971888065338, 0.13913266360759735, 0.5190317630767822, 0.41550788283348083, -0.023955071344971657, -0.5892561674118042, -0.7790194153785706, -0.5818173885345459, 0.6957061886787415, -0.12104902416467667, 0.007610855624079704, -0.08921331912279129, -0.008082077838480473, 0.6752699017524719, 0.3535270392894745, -1.1028465032577515, -0.4881325960159302, -0.17510567605495453, -0.08591777086257935, -0.41516056656837463, -0.43209072947502136, -0.15656794607639313, 0.037043496966362, 0.42998215556144714, -0.07063677161931992, 0.37786629796028137, 0.23229987919330597, 0.1197749450802803, -0.2628178596496582, 0.5529728531837463, 0.6333602666854858, 0.9789736270904541, -0.22578412294387817, 0.21819959580898285, 0.30094465613365173, -0.2270544320344925, 0.08440463989973068, -0.004433048889040947, -0.052076105028390884, 0.16833904385566711, 0.5605459213256836, 0.8854920268058777, -0.008770146407186985, -0.6223734021186829, 0.2827093005180359, -0.034983228892087936, -0.4652760326862335, -0.006675383076071739, 0.08786934614181519, 0.07983240485191345, 0.11184395104646683, 0.19034381210803986, 0.11940077692270279, 0.043197982013225555, -0.38660770654678345, 0.033872637897729874, 0.3900417387485504, -0.289247989654541, -0.25211989879608154, 0.47836825251579285, -0.31554168462753296, -0.5987944006919861, 0.3083711862564087, -0.23003697395324707, -0.015060871839523315, 0.6268273591995239, 0.6275007128715515, 0.7936678528785706, -0.7165879011154175, 0.28653740882873535, -0.0036461015697568655, 0.1613001525402069, -0.17398208379745483, 0.7697078585624695, 0.3732844293117523, -0.7657623291015625, -0.4925667643547058, -0.6747925281524658, -0.4575503170490265, 0.37565159797668457, -0.7052870392799377, -0.014340762048959732, -0.29049232602119446, -0.48365625739097595, -0.21158954501152039, 0.00695117237046361, -0.6577434539794922, 0.29688820242881775, -0.007189168594777584, 0.9176627397537231, -0.825605034828186, 0.7173105478286743, 0.8562482595443726, -0.3046203553676605, -1.060651421546936, 0.15119849145412445, 0.05865039676427841, -0.670437753200531, 0.35581710934638977, 0.058048997074365616, -0.061546918004751205, -0.4984685480594635, -0.42977944016456604, -0.9756483435630798, 0.9059435725212097, 0.3390665650367737, -0.41403311491012573, -0.21054962277412415, 0.22596138715744019, 0.45170435309410095, -0.4926142692565918, 0.39399227499961853, 0.32428640127182007, 0.3255879878997803, -0.19459103047847748, -1.1263132095336914, -0.16926603019237518, 0.07499527931213379, 0.04083560034632683, -0.07042859494686127, -0.4614191949367523, 1.2797571420669556, -0.17262066900730133, -0.04458681866526604, 0.11553152650594711, 0.47961440682411194, 0.5164830088615417, 0.2959117293357849, 0.21115565299987793, 0.3675520718097687, 0.8076612949371338, -0.11314194649457932, 1.1376606225967407, -0.18232065439224243, 0.6591437458992004, 1.0444817543029785, -0.277431845664978, 1.0435264110565186, 0.4854564368724823, -0.475404292345047, 0.6651750802993774, 0.8007514476776123, -0.000409795087762177, 0.6234959959983826, 0.2633686661720276, -0.09510716050863266, -0.3201577365398407, 0.18109595775604248, -0.21956641972064972, 0.6748111248016357, 0.4190531075000763, -0.33913612365722656, -0.1937650591135025, -0.07606542855501175, -0.13718363642692566, -0.037517987191677094, -0.19434984028339386, 0.6293060183525085, 0.24401484429836273, -0.8444964289665222, 0.45604851841926575, 0.11880642175674438, 0.8475578427314758, -0.4205722510814667, 0.3204299211502075, -0.06811778247356415, -0.07288464158773422, -0.16447807848453522, -0.9760825037956238, 0.2260141372680664, -0.170076385140419, -0.09747745841741562, -0.18182595074176788, 0.9967551231384277, -0.04166293144226074, -0.37471097707748413, 0.3495396077632904, 1.0396729707717896, -0.02846575528383255, 0.35365694761276245, -0.8432795405387878, -0.24738304316997528, 0.1976964771747589, -0.6088541746139526, 0.7247313857078552, 0.12116382271051407, -0.07504274696111679, 0.8931111097335815, 0.45935317873954773, 0.1523035764694214, 0.16002435982227325, -0.18916065990924835, 0.36620455980300903, -0.37346184253692627, -0.3869609236717224, -0.9167571067810059, 0.45000362396240234, 0.29963961243629456, -0.3900676667690277, 0.7742019891738892, 0.28614139556884766, 0.7929288744926453, -0.19142752885818481, 1.0028027296066284, 0.022826483473181725, 0.7782802581787109, -0.2436078041791916, 0.1128208264708519, -0.48570194840431213, 0.31424885988235474, -0.1942347139120102, -0.6041398048400879, -0.2107008844614029, 0.5086493492126465, -0.6387637257575989, 0.3109859824180603, 0.825537383556366, 0.6118135452270508, 0.17687803506851196, 0.08584138751029968, 0.41044431924819946, 0.06399679183959961, 0.02140653505921364, 0.3580840229988098, 0.944977343082428, 0.12109065800905228, 0.5666195750236511, -0.11467667669057846, -0.24444325268268585, -0.3314073085784912, -0.8242491483688354, -0.6922551989555359, -0.5402892827987671, -0.15822842717170715, -0.4750336706638336, -0.08203393220901489, 0.6376973986625671, 0.5202149748802185, -0.8638497591018677, -0.45187273621559143, -0.10171924531459808, 0.26129844784736633, -0.486278772354126, -0.28144320845603943, 0.18125450611114502, -0.30345484614372253, -0.6094377636909485, 0.5617866516113281, 0.0955842062830925, 0.08238185942173004, -0.18347667157649994, 0.1130913570523262, -0.11987128108739853, 0.26064518094062805, 0.04128687083721161, 0.05349469557404518, -1.0437791347503662, -0.43342775106430054, 0.0644051656126976, -0.174077570438385, 0.38704580068588257, 0.5218336582183838, -0.4439575672149658, 0.25756561756134033, 0.7069594860076904, 0.2595939636230469, 0.13431717455387115, -0.06323342770338058, 0.5345817804336548, -0.7295650243759155, -0.12348685413599014, 0.4411848485469818, 0.47768592834472656, 0.213516503572464, -0.28326356410980225, 0.18665918707847595, 0.008854646235704422, -0.7270100116729736, -0.8183372616767883, 0.8187898397445679, -0.8194058537483215, -0.5345889329910278, 1.3047505617141724, -0.6026118397712708, 0.10165178775787354, -0.26323485374450684, 0.05580196529626846, 0.1336967796087265, -0.36678263545036316, 0.6768915057182312, 1.1424450874328613, -0.3225668668746948, -0.09752504527568817, -0.7638107538223267, 0.6265531182289124, 0.427612841129303, -0.4713466763496399, 0.04541081190109253, 0.15295688807964325, 0.5400623679161072, 0.37483856081962585, 0.5452927947044373, 0.03380965813994408, 0.2131221741437912, 0.16461502015590668, -0.3398689925670624, 0.22554521262645721, -0.17918545007705688, -0.49614888429641724, 0.4830889403820038, 0.7313069105148315, -0.1012522280216217 ]
http://arxiv.org/abs/2403.00994v1
http://arxiv.org/pdf/2403.00994v1
Leveraging Prompt-Based Large Language Models: Predicting Pandemic Health Decisions and Outcomes Through Social Media Language
2024-03-01T21:29:32
2024-03-01T21:29:32
Xiaohan Ding, Buse Carik, Uma Sushmitha Gunturi, Valerie Reyna, Eugenia H. Rho
cs.HC
cs.HC, cs.AI, cs.CL, cs.SI
We introduce a multi-step reasoning framework using prompt-based LLMs to examine the relationship between social media language patterns and trends in national health outcomes. Grounded in fuzzy-trace theory, which emphasizes the importance of gists of causal coherence in effective health communication, we introduce Role-Based Incremental Coaching (RBIC), a prompt-based LLM framework, to identify gists at-scale. Using RBIC, we systematically extract gists from subreddit discussions opposing COVID-19 health measures (Study 1). We then track how these gists evolve across key events (Study 2) and assess their influence on online engagement (Study 3). Finally, we investigate how the volume of gists is associated with national health trends like vaccine uptake and hospitalizations (Study 4). Our work is the first to empirically link social media linguistic patterns to real-world public health trends, highlighting the potential of prompt-based LLMs in identifying critical online discussion patterns that can form the basis of public health communication strategies.
[ -0.17112325131893158, -1.202314853668213, 0.8421406149864197, 0.3859293460845947, -0.2544155418872833, 0.16053088009357452, -0.211150661110878, -0.3416607677936554, 0.6646619439125061, 0.18275326490402222, -0.7882519364356995, -0.6635228395462036, -0.7064424753189087, 0.26316431164741516, -0.36592745780944824, 0.9455995559692383, 0.2076706439256668, 0.3029464781284332, -0.18784458935260773, 0.38737329840660095, -0.3785175681114197, -0.33609530329704285, -1.088686227798462, -0.2165696918964386, 0.9146555066108704, 0.8931769728660583, 0.5521993041038513, 0.3941347897052765, 0.5414410829544067, 0.11956480890512466, -0.1566997766494751, -0.06995850801467896, -0.39147159457206726, 0.23230096697807312, -0.20484711229801178, -0.22374598681926727, -0.19687141478061676, 0.11115037649869919, 0.16209445893764496, 0.4865530729293823, -0.25841036438941956, 0.3169112801551819, 0.1328006088733673, 0.33175989985466003, -0.23860274255275726, 0.2344406247138977, -0.3283156454563141, -0.12003783136606216, 0.05659361928701401, -0.4289102256298065, -0.16966687142848969, -0.43114691972732544, 0.23206627368927002, -0.3015468418598175, 0.08158556371927261, -0.41433554887771606, 0.5517556071281433, 0.0010182287078350782, -0.5159066915512085, -0.515587329864502, -0.5444008111953735, 0.4286127984523773, -0.7480338215827942, 0.26687687635421753, 0.7542899250984192, 0.4172421395778656, -0.35915133357048035, -0.6318574547767639, -0.32300928235054016, -0.13836318254470825, 0.23429247736930847, 0.06440798193216324, -0.10850287228822708, 0.04695913568139076, 0.09772361069917679, 0.026844816282391548, -0.6388453245162964, -0.05155745521187782, -0.31779950857162476, -0.0760044977068901, 0.8086881637573242, 0.16385972499847412, 0.520251452922821, -0.356253057718277, -0.1387084573507309, 0.3695860505104065, -0.4059249758720398, 0.48997271060943604, -0.12355459481477737, 0.4444221556186676, -0.568406343460083, 0.23624484241008759, -0.16411040723323822, 0.3686940670013428, 0.2950344681739807, -0.6563177704811096, -0.09447512030601501, -0.5576037764549255, -0.027865873649716377, 0.241215780377388, 0.7084037661552429, 0.37754759192466736, 0.1031932607293129, 0.07468806207180023, 0.335904061794281, 0.12971927225589752, 0.22051715850830078, -0.7746243476867676, -0.19044436514377594, 0.25300437211990356, -0.5473687052726746, -0.13947676122188568, 0.12810243666172028, -0.8606482744216919, -0.8122979998588562, -0.21096812188625336, 0.12832897901535034, -0.37952837347984314, -0.16776274144649506, 0.07139755040407181, -0.14460361003875732, 0.28283247351646423, 0.5966402888298035, -0.4377659559249878, 0.1281995326280594, 0.8827542662620544, 1.0746949911117554, 0.06766242533922195, 0.09755977988243103, -0.5634705424308777, -0.20011669397354126, -0.47799211740493774, 0.8377357125282288, -0.6043664216995239, -0.28827863931655884, 0.38225921988487244, -0.11280873417854309, -0.056303080171346664, -0.23516106605529785, 0.5748448967933655, -0.2609078586101532, 0.13643299043178558, -0.5615583062171936, -0.3055626153945923, -0.0640873834490776, 0.32275769114494324, -0.3851522207260132, 0.663200855255127, -0.22241923213005066, -0.8377387523651123, 0.41545769572257996, -0.4123639762401581, -0.8337494730949402, 0.12313567101955414, -0.30086952447891235, -0.4040500521659851, -0.1444040983915329, 0.36400485038757324, 0.8604817986488342, -0.7544814944267273, 0.6078994870185852, -0.677056074142456, -0.17580296099185944, 0.16602829098701477, -0.2828982472419739, 0.6850401759147644, 0.21517308056354523, -0.356762170791626, 0.24849924445152283, -0.5111545920372009, -0.28042617440223694, -0.04868779331445694, -0.19618771970272064, -0.3560248911380768, 0.34559085965156555, -0.4137094020843506, 0.3197958469390869, -0.06656734645366669, -0.07791970670223236, 0.08361917734146118, -0.171385258436203, 0.6527330279350281, 0.3608139455318451, 0.7232229709625244, 0.2134704440832138, -0.5177873373031616, 0.7031742930412292, -0.08714424818754196, 0.6481450796127319, -0.4304017424583435, -0.9255140423774719, -0.18480633199214935, -0.5799304246902466, -0.3343995213508606, 0.6361669898033142, -0.7058749794960022, 0.40907174348831177, -0.2429063320159912, -0.6784310936927795, -0.2805022895336151, -0.019841603934764862, 0.03542707487940788, 0.5614179372787476, 0.34856802225112915, 0.002243535593152046, -0.4632927179336548, -0.6031142473220825, -0.34708961844444275, -0.37664276361465454, 0.34200429916381836, 0.19593662023544312, 0.186380073428154, -0.3174160420894623, 0.7034823894500732, -0.14684832096099854, 0.03365897387266159, -0.5416942238807678, 0.3783826529979706, 0.24766521155834198, 0.009822842665016651, 0.25464004278182983, -0.6209368705749512, -0.6298040151596069, -0.12235014885663986, -0.6880421042442322, -0.4012538492679596, -0.2636050879955292, 0.1474040448665619, -0.1982453614473343, 0.6997413635253906, -0.39754530787467957, 0.527057409286499, 0.5477021336555481, -0.43564146757125854, 0.40486761927604675, 0.09937382489442825, 0.57064288854599, -1.2975153923034668, -0.2438947707414627, 0.4911819100379944, -0.0964212417602539, -0.8374876976013184, -0.33778637647628784, -0.06859664618968964, -0.2165188193321228, -0.3401132822036743, 0.46236610412597656, -0.23980611562728882, 0.275675892829895, -0.19401343166828156, -0.18320558965206146, -0.147323340177536, -0.1954837441444397, -0.22721752524375916, 0.7015365362167358, 0.6665967106819153, -0.6211116313934326, 0.2987309396266937, 0.0537496842443943, -0.4732895493507385, 0.6092696189880371, -0.658398449420929, -0.4091014266014099, -0.16649340093135834, 0.4811587929725647, -1.0074197053909302, -0.5709073543548584, 0.45207828283309937, -0.5591647624969482, -0.08069213479757309, 0.019664350897073746, -0.3942798972129822, -0.6458937525749207, -0.379802942276001, 0.0038650622591376305, 0.29819953441619873, -0.19080014526844025, 0.26136618852615356, 0.6239942312240601, -0.637212872505188, -0.23141434788703918, -0.6377609372138977, 0.20312286913394928, -0.31565243005752563, -0.7446756362915039, -0.1087002083659172, -0.030271658673882484, -0.538762092590332, -0.26189279556274414, -0.07298287004232407, -0.16435879468917847, 0.3715897798538208, 0.34816446900367737, 0.0602865144610405, -0.14249174296855927, 0.25971242785453796, 0.03605927526950836, 0.174250066280365, 0.2083507478237152, -0.07113701105117798, 0.6150932312011719, 0.043271444737911224, -0.32697030901908875, -0.6913356184959412, 0.7105681300163269, 0.6386063694953918, 0.1227034330368042, 0.6283338069915771, 0.40606436133384705, -0.28873687982559204, 0.15489532053470612, -0.5378358960151672, -0.3325847089290619, -0.3708488345146179, 0.05448693782091141, 0.18453000485897064, -0.8329454660415649, 0.6064645648002625, -0.05573922395706177, -0.31351563334465027, 0.09297045320272446, 0.5657857060432434, -0.05068163201212883, 0.8935847878456116, 0.4037480652332306, -0.10551167279481888, 0.616269588470459, 0.006514269392937422, 0.18084558844566345, -0.20001807808876038, -0.29768452048301697, -0.46554291248321533, 0.008713977411389351, -0.5303384065628052, -0.5336170792579651, 0.6407679319381714, 0.32562288641929626, -0.3439266085624695, 0.1488468050956726, -0.2328518182039261, 0.07634095102548599, 0.45473799109458923, 0.3123522996902466, 0.022727033123373985, -0.20373189449310303, -0.10687053948640823, 0.049820855259895325, -0.8964428901672363, -0.420489102602005, 0.4608196020126343, 0.21192432940006256, 0.922922670841217, 0.06729023158550262, 0.6075575947761536, 0.6286797523498535, 0.20178258419036865, -0.8568055629730225, 0.453263521194458, 0.1877756118774414, -0.38016068935394287, -0.1914030760526657, -0.346038281917572, -1.0523390769958496, -0.19047848880290985, -0.2820703983306885, -0.7162489295005798, 0.11234762519598007, 0.07872168719768524, -0.5804125070571899, -0.09927674382925034, -0.6237287521362305, 0.6053656339645386, -0.2690911591053009, -0.40849196910858154, -0.3544120788574219, -0.8724923133850098, 0.17536716163158417, 0.06849361956119537, 0.6363526582717896, -0.36243700981140137, 0.16203849017620087, 0.4603712260723114, -0.32341474294662476, 1.134639859199524, 0.19744741916656494, -0.12718534469604492, 0.502826988697052, -0.2720297574996948, 0.4120737910270691, 0.6033689975738525, -0.13828891515731812, 0.2568725049495697, -0.030890848487615585, -0.4340870976448059, -0.3323676586151123, 0.8284347057342529, -0.662993848323822, -0.9231980443000793, -0.5825158357620239, -0.01979913003742695, -0.24736866354942322, 0.056934699416160583, 0.04599868506193161, 0.47577333450317383, -0.4507324695587158, -0.05168088898062706, 0.6275773644447327, -0.4424385726451874, 0.4936366081237793, 0.4871349036693573, -0.017564576119184494, -0.5908165574073792, 0.5447012186050415, 0.1265951544046402, 0.12703850865364075, 0.44407859444618225, 0.7642073035240173, -0.05024741217494011, -0.20421619713306427, -0.11628956347703934, 0.3186660408973694, -0.64216148853302, -0.32570868730545044, -0.621380627155304, -0.22711822390556335, -0.937105119228363, -0.42452964186668396, 0.17137721180915833, 0.14518585801124573, -0.5515755414962769, -0.1562633067369461, 0.7051011323928833, 0.9147416353225708, -0.47693926095962524, 0.23145340383052826, -0.9630488157272339, 0.20757092535495758, 0.30240127444267273, 0.2154339998960495, 0.03911770507693291, -0.2737773358821869, -0.4026780128479004, 0.2332201600074768, -0.03055412322282791, -1.3940995931625366, 0.3530735671520233, 0.025823166593909264, 0.6648770570755005, 0.7023412585258484, 0.09682207554578781, 0.7405581474304199, -0.5450096726417542, 1.0686943531036377, 0.4361334443092346, -0.7806564569473267, 0.7850790023803711, -0.6618609428405762, 0.36862170696258545, 0.5452544689178467, 0.7132379412651062, -1.1187292337417603, -0.33751681447029114, -0.5408016443252563, -0.8133550882339478, 0.4977428615093231, -0.4505477249622345, -0.04029921442270279, -0.5989413857460022, 0.1253882646560669, 0.18499219417572021, -0.02586180903017521, -0.14584629237651825, -0.18967001140117645, -0.15662531554698944, -0.11634622514247894, -0.04409874975681305, -0.49114876985549927, -0.05949622392654419, -0.3951355516910553, 0.5913131237030029, -0.08987346291542053, 0.1811155527830124, 0.41942161321640015, 0.1622779220342636, -0.21880944073200226, 0.44789764285087585, 0.7635349631309509, 0.6886581778526306, 0.06809552758932114, 0.30779391527175903, -0.15358835458755493, -0.394378662109375, 0.1277163177728653, 0.053599607199430466, -0.07189902663230896, 0.06435170769691467, 0.545774519443512, 0.6754383444786072, 0.38363340497016907, -0.5388332009315491, 0.6305840015411377, 0.05101313069462776, 0.049937743693590164, -0.28333669900894165, -0.005725563503801823, 0.3192496597766876, 0.3884265422821045, 0.4415879249572754, -0.19659127295017242, 0.16705787181854248, -0.610618531703949, 0.5730483531951904, 0.45352602005004883, -0.42358165979385376, -0.5832120776176453, 0.4376581609249115, 0.32514822483062744, -0.4123731851577759, -0.03256099671125412, 0.13034850358963013, -0.1372808814048767, 0.5746978521347046, 0.2515018582344055, 0.7066179513931274, -0.44407111406326294, 0.7576685547828674, 0.5073171854019165, 0.22367063164710999, -0.5128726959228516, 0.39243781566619873, 0.10807469487190247, -0.2945096492767334, -0.6424651145935059, -0.2884223759174347, -0.2928053140640259, 0.22657695412635803, -0.685286283493042, 0.5803629755973816, -0.4923012852668762, -0.3538770079612732, 0.2361694872379303, -0.11134497821331024, -0.5978038311004639, 0.022748656570911407, 0.4193791449069977, 0.9838536381721497, -1.0410960912704468, 0.6380230784416199, 0.6358931660652161, -0.6272104978561401, -0.9192476868629456, 0.5994876027107239, 0.29786476492881775, -0.7851988673210144, 0.2501634657382965, 0.3610619902610779, 0.025466738268733025, -0.20152367651462555, -0.8504210114479065, -1.0130451917648315, 1.053342342376709, 0.31717637181282043, -0.337539404630661, 0.13960950076580048, 0.23576956987380981, 0.4990759491920471, -0.3885153830051422, 0.29837045073509216, 0.14708134531974792, 0.4650183916091919, 0.22711977362632751, -1.0336230993270874, -0.0562346912920475, -0.10514495521783829, -0.07224837690591812, -0.14259910583496094, -0.5389493107795715, 0.6067640781402588, -0.4959205090999603, -0.5123469829559326, -0.2461927831172943, 0.532532811164856, 0.019097037613391876, 0.680457353591919, 0.17944888770580292, 0.2793252170085907, 0.8523714542388916, 0.2640591263771057, 1.1701966524124146, -0.3338022530078888, 0.18797358870506287, 0.9997313618659973, -0.24619606137275696, 0.6719695329666138, 0.3390924632549286, 0.07694141566753387, 0.6284911036491394, 0.7797756791114807, 0.4670282006263733, 0.5709882974624634, 0.10339106619358063, -0.3755267560482025, -0.4798294007778168, -0.3455829322338104, -0.4160020351409912, 0.18920478224754333, 0.6612021327018738, -0.5344327688217163, -0.4374590218067169, 0.2462502121925354, 0.31869247555732727, 0.1604287028312683, -0.5057273507118225, 0.9708796739578247, 0.2452910840511322, -0.6174576282501221, 0.42769208550453186, -0.1301400363445282, 0.5908327698707581, -0.6144734025001526, -0.15894214808940887, -0.1456242799758911, -0.07806996256113052, -0.0188895370811224, -0.7244839072227478, 0.39342477917671204, -0.11409369856119156, -0.354676216840744, -0.23091425001621246, 0.8864305019378662, -0.608024537563324, -0.49968138337135315, 0.3972136378288269, 0.904003918170929, 0.00026894829352386296, -0.03380511701107025, -0.8154551982879639, 0.1294865757226944, -0.3788995146751404, -0.13053977489471436, 0.3053724467754364, 0.5617961287498474, -0.24860861897468567, 0.6243394613265991, 0.645487368106842, 0.1942397952079773, -0.05342162773013115, 0.0106531186029315, 0.5371153950691223, -0.5324864387512207, -0.6333708763122559, -1.0311533212661743, 0.17074421048164368, -0.22571773827075958, -0.06455419212579727, 0.8278359174728394, 0.12992936372756958, 0.4790496230125427, 0.13853423297405243, 1.1026736497879028, 0.008387462235987186, 0.683259129524231, -0.14791682362556458, 0.7570957541465759, -0.37061524391174316, 0.053094420582056046, -0.03287409991025925, 0.01801191456615925, -0.42906880378723145, 0.5428178310394287, -0.6815895438194275, -0.3553646504878998, 0.5472747683525085, 0.6609659790992737, 0.4184719920158386, 0.10510435700416565, 0.25867849588394165, 0.22291052341461182, 0.4179595708847046, -0.049807604402303696, 0.7565587162971497, 0.09861614555120468, 0.30103400349617004, 0.011947749182581902, -0.35306286811828613, -0.4923502802848816, -0.824583888053894, -0.9904918074607849, -0.5384904742240906, -0.31814882159233093, -0.6016370058059692, 0.4478916823863983, 1.488305687904358, 0.29395318031311035, -0.7993983626365662, -0.07103452831506729, -0.22703300416469574, 0.2713380455970764, -0.3958416283130646, -0.31542399525642395, 0.1614164561033249, -0.2844164967536926, -0.17970512807369232, 0.30403679609298706, 0.46814167499542236, -0.16828233003616333, -0.1617215871810913, 0.14422859251499176, -0.5943406224250793, 0.3999103605747223, 0.8332255482673645, 0.3652329444885254, -0.8309779167175293, -0.29763326048851013, 0.21788673102855682, -0.5890783667564392, 0.01087777316570282, 0.9475110769271851, -0.531669557094574, 0.2598622739315033, 0.6922031044960022, 0.5315442085266113, -0.242332324385643, 0.024265673011541367, 0.5566953420639038, -0.3559817969799042, -0.23691552877426147, 0.23214471340179443, 0.27841559052467346, 0.5399883985519409, -0.407765656709671, 0.35157135128974915, 0.44888201355934143, -0.34558334946632385, -0.4193587601184845, 0.19522938132286072, -0.8859568238258362, -0.3482480049133301, 1.909697413444519, 0.01593361608684063, -0.22253462672233582, -0.4542604982852936, -0.16806377470493317, 0.4189084470272064, -0.8278168439865112, 0.9727610945701599, 0.6652200222015381, -0.15213415026664734, -0.25575166940689087, -0.49086424708366394, 0.5800507664680481, -0.042534198611974716, -0.9352167248725891, -0.06837188452482224, 0.46864163875579834, 0.20597027242183685, -0.09403206408023834, 0.9511114954948425, 0.21697069704532623, 0.19554324448108673, -0.24397791922092438, -0.1941579282283783, 0.17981219291687012, -0.33251655101776123, -0.25334301590919495, 0.005219840444624424, -0.17545659840106964, 0.22074082493782043 ]
http://arxiv.org/abs/2403.00990v1
http://arxiv.org/pdf/2403.00990v1
Formulation Comparison for Timeline Construction using LLMs
2024-03-01T21:24:24
2024-03-01T21:24:24
Kimihiro Hasegawa, Nikhil Kandukuri, Susan Holm, Yukari Yamakawa, Teruko Mitamura
cs.CL
cs.CL
Constructing a timeline requires identifying the chronological order of events in an article. In prior timeline construction datasets, temporal orders are typically annotated by either event-to-time anchoring or event-to-event pairwise ordering, both of which suffer from missing temporal information. To mitigate the issue, we develop a new evaluation dataset, TimeSET, consisting of single-document timelines with document-level order annotation. TimeSET features saliency-based event selection and partial ordering, which enable a practical annotation workload. Aiming to build better automatic timeline construction systems, we propose a novel evaluation framework to compare multiple task formulations with TimeSET by prompting open LLMs, i.e., Llama 2 and Flan-T5. Considering that identifying temporal orders of events is a core subtask in timeline construction, we further benchmark open LLMs on existing event temporal ordering datasets to gain a robust understanding of their capabilities. Our experiments show that (1) NLI formulation with Flan-T5 demonstrates a strong performance among others, while (2) timeline construction and event temporal ordering are still challenging tasks for few-shot LLMs. Our code and data are available at https://github.com/kimihiroh/timeset.
[ -0.09724054485559464, -0.6287908554077148, 0.598236083984375, 0.6539089679718018, -0.26779288053512573, -0.07549059391021729, 0.0702693834900856, -0.5220009684562683, 0.18624068796634674, 0.20763076841831207, -0.8338826894760132, -0.562568187713623, -0.44578713178634644, 0.08920344710350037, -0.25126123428344727, 0.8039170503616333, -0.3307322561740875, -0.2620092034339905, -0.15369194746017456, -0.27222636342048645, -0.12409647554159164, -0.23809492588043213, -0.6683946847915649, -0.4408074915409088, 0.5939933657646179, -0.04908101260662079, 0.6423175930976868, 0.9139479994773865, 0.5532603859901428, 0.22538696229457855, -0.2199225127696991, 0.4199769198894501, -0.27437475323677063, -0.06726350635290146, 0.10409694910049438, -0.3236650824546814, -0.8312044143676758, 0.06926993280649185, 0.6083713173866272, 0.6641282439231873, 0.07685994356870651, 0.5601677894592285, -0.2129558026790619, 0.38740894198417664, -0.8440654277801514, 0.28276440501213074, -0.360024631023407, 0.7960585951805115, -0.624150812625885, -0.4867672622203827, -0.2053680121898651, -0.39992547035217285, 0.19012050330638885, -0.8018621802330017, 0.15146231651306152, 0.15009434521198273, 0.7524362206459045, 0.3852260112762451, -0.34832385182380676, 0.015218307264149189, -0.6321495771408081, 0.7615875005722046, -0.6765220165252686, 0.4394631087779999, 0.009560116566717625, 0.45275694131851196, -0.28294625878334045, -0.9035344123840332, -0.32920747995376587, -0.041578397154808044, 0.132435142993927, 0.402422696352005, 0.05671070143580437, 0.03471865504980087, 0.5480958223342896, 0.378422349691391, -0.6632630825042725, 0.3171573877334595, -0.20945164561271667, -0.11638118326663971, 0.3757873773574829, 0.35654976963996887, -0.08582985401153564, -0.41427046060562134, -0.7626808881759644, 0.03503764793276787, -0.7974866628646851, -0.14808392524719238, 0.2620002329349518, 0.20069527626037598, -0.23000401258468628, 0.8128805160522461, -0.2014070302248001, 0.48638513684272766, 0.06669773161411285, -0.3596137464046478, 0.34156036376953125, -0.42551106214523315, -0.5799390077590942, -0.10350453853607178, 0.587391197681427, 0.7198819518089294, 0.11525333672761917, -0.25047433376312256, -0.1749350130558014, 0.1847362369298935, 0.20389164984226227, -0.6551330089569092, 0.30663275718688965, 0.4102744460105896, -0.45068976283073425, -0.2793443202972412, 0.08389265835285187, -0.592361569404602, -0.36949145793914795, -0.3024344742298126, 0.20349076390266418, -0.04638130962848663, 0.17014120519161224, -0.3260086476802826, -0.08848999440670013, 0.19523844122886658, 0.36509665846824646, -0.27907007932662964, 0.07949382811784744, 0.7589012980461121, 0.9652745723724365, -0.22964629530906677, -0.3216071128845215, -0.8720782995223999, 0.39150363206863403, -0.5671720504760742, 0.6137260794639587, -0.33025455474853516, -0.3509087562561035, 0.0855918750166893, -0.3336853086948395, 0.14654453098773956, -0.5046645998954773, 0.6414887309074402, -0.6185638308525085, 0.24217404425144196, 0.029038384556770325, -0.5598397254943848, 0.2507901191711426, 0.15833386778831482, -0.7607259750366211, 1.3035857677459717, 0.1740490198135376, -0.7161033153533936, 0.7285500168800354, -0.7477167844772339, -0.4696546792984009, -0.1337701827287674, -0.25554773211479187, -0.447785347700119, -0.030629457905888557, 0.4001353681087494, 0.45342764258384705, -0.14058704674243927, 0.15821366012096405, -0.35929161310195923, -0.30686628818511963, 0.030864136293530464, -0.16241031885147095, 0.5018523931503296, 0.37109124660491943, -0.44424426555633545, 0.1521856039762497, -0.5941555500030518, 0.1415705382823944, 0.027016812935471535, -0.31032443046569824, 0.0925116166472435, 0.06358280032873154, -0.14532612264156342, 0.18827709555625916, 0.3276917040348053, -0.3411006033420563, 0.20844773948192596, -0.674103319644928, 0.1586093157529831, 0.767475426197052, 0.37729519605636597, 0.39463695883750916, -0.39063403010368347, 0.48900309205055237, 0.12829077243804932, 0.49654117226600647, -0.08599039167165756, -0.22068172693252563, -0.8435747623443604, 0.1308470070362091, 0.06979071348905563, 0.6946901082992554, -0.8271824717521667, 0.1083238422870636, -0.486083984375, -0.2911604940891266, -0.08700749278068542, 0.05531706288456917, 0.6321510672569275, 0.3247598707675934, 0.26150286197662354, -0.2062307894229889, -0.8869022727012634, -0.8375155925750732, 0.009587645530700684, -0.15793216228485107, -0.14933453500270844, -0.031187793239951134, 0.25890499353408813, 0.1354760229587555, 0.8460986614227295, -0.37014099955558777, -0.09373494237661362, 0.09321238845586777, 0.39909958839416504, 0.27918216586112976, 0.07047180086374283, 0.7078166007995605, -0.6084799766540527, -0.025506729260087013, -0.0905635878443718, -0.9162294864654541, -0.11710070073604584, -0.12065065652132034, -0.12867242097854614, 0.34523794054985046, 0.29805994033813477, -0.29235443472862244, 0.7886123657226562, 0.1535293310880661, -0.2469322681427002, 0.4298112690448761, 0.06819633394479752, 0.23852179944515228, -0.9563645720481873, 0.12316659837961197, -0.27293527126312256, -0.25793713331222534, -0.5295430421829224, -0.09308438748121262, -0.007533713709563017, -0.1251879781484604, -0.712283194065094, 0.8267229199409485, -0.4818762242794037, -0.46217215061187744, -0.017306119203567505, 0.42942702770233154, -0.08162472397089005, 0.5879149436950684, -0.1263894885778427, 0.6301412582397461, -0.004453964997082949, -0.6953380703926086, -0.07200551778078079, 0.2674788534641266, -0.44723114371299744, 0.5123512148857117, -0.5932461619377136, 0.2421519160270691, -0.01263591181486845, 0.07679403573274612, -0.6207348704338074, -0.1186695247888565, 0.36395788192749023, -0.1385229229927063, 0.08081582188606262, -0.25229746103286743, -0.7715842127799988, -0.500984251499176, -0.6678072810173035, 0.2679474651813507, 0.20104029774665833, -0.5385738611221313, 0.5585396885871887, 0.07131735235452652, -0.11159737408161163, -0.875910758972168, -0.7369743585586548, -0.07945921272039413, -0.23055148124694824, -0.6331517696380615, 0.5383365154266357, -0.16935832798480988, -0.41440874338150024, -0.08053696900606155, -0.6939780712127686, -0.020146096125245094, 0.16345669329166412, 0.4531124532222748, 0.2318941056728363, -0.22682785987854004, -0.16849477589130402, 0.19256845116615295, -0.19213959574699402, -0.2018958181142807, -0.2528470754623413, 0.01907682791352272, 0.20238950848579407, -0.4047988951206207, -0.2782505452632904, 0.20089010894298553, 0.41232362389564514, -0.16218695044517517, 0.3641207218170166, 0.656925618648529, -0.534541130065918, -0.23180271685123444, -0.759641170501709, 0.33117690682411194, -0.3704209327697754, 0.05646255984902382, -0.42444926500320435, -0.6941384673118591, 0.41870105266571045, 0.07953303307294846, 0.5778779983520508, 0.5024077892303467, 0.49042952060699463, -0.031880415976047516, 0.3780929148197174, 0.24707889556884766, -0.060497820377349854, 0.738580584526062, -0.2746943235397339, -0.18831869959831238, -0.6285847425460815, -0.05835539847612381, -0.19385099411010742, -0.32769575715065, -0.1360911875963211, -0.4984588623046875, 0.5947787761688232, 0.21135598421096802, -0.3232041597366333, 0.33171042799949646, 0.0038862978108227253, 0.41157442331314087, 0.3306877613067627, 0.07256519794464111, 0.522354245185852, 0.1338052898645401, -0.1285296231508255, 0.010160582140088081, -0.6418547630310059, -0.810786247253418, 1.0387173891067505, 0.10032537579536438, 0.20684966444969177, 0.1284576952457428, 0.7592882513999939, 0.5714453458786011, 0.4671972990036011, -0.2892057001590729, 0.6072127819061279, -0.20036089420318604, -0.4682120084762573, -0.21636003255844116, -0.2910831570625305, -0.8960715532302856, 0.04919785261154175, -0.11074066907167435, -0.8357673287391663, 0.17142392694950104, -0.09144476801156998, -0.5193029642105103, 0.17415286600589752, -0.7047250270843506, 0.7794686555862427, -0.26715540885925293, -0.4226241409778595, -0.04451320320367813, -0.7963899970054626, 0.004843214992433786, 0.2221316546201706, 0.08773434907197952, -0.5239719152450562, -0.27255645394325256, 0.7831934094429016, -0.6903743147850037, 0.8485669493675232, -0.07259703427553177, 0.07519304752349854, 0.413972944021225, 0.15588143467903137, 0.48859313130378723, 0.24697642028331757, -0.43730035424232483, 0.14412283897399902, -0.010960553772747517, -0.14314205944538116, -0.821933925151825, 0.6044200658798218, -0.5001659989356995, -0.18958871066570282, -0.2623900771141052, -0.541313648223877, 0.009138318710029125, 0.1914733499288559, 0.1594313383102417, 0.8921483159065247, -0.36550775170326233, -0.4713747799396515, 0.06617996096611023, 0.2658400535583496, 0.8280331492424011, 0.27228376269340515, -0.1505771428346634, -0.5165629386901855, 0.44228363037109375, 0.17977596819400787, 0.08719304949045181, 0.7667334675788879, -0.2019105702638626, -0.2262432724237442, -0.6272699236869812, -0.39386916160583496, 0.2090710997581482, -0.8058626055717468, -0.3269587457180023, -0.2638910412788391, -0.029203224927186966, -0.27818623185157776, -0.320908784866333, -0.32291266322135925, -0.7287676930427551, -0.27837398648262024, -0.11887849867343903, 0.14634113013744354, 0.8649400472640991, 0.15284602344036102, 0.11770966649055481, -0.4808081090450287, 0.33230987191200256, -0.1543010175228119, 0.4660361707210541, -0.0028250934556126595, -0.09767423570156097, -0.03989989310503006, -0.27778562903404236, -0.5671092867851257, -0.6127713322639465, 0.010119082406163216, 0.017186393961310387, 0.7076206207275391, 0.3697705566883087, -0.02575875259935856, 1.0217162370681763, -0.6144853830337524, 0.6363570094108582, -0.07672704011201859, -0.8765667676925659, 0.7934817671775818, -0.3250937759876251, 0.332148015499115, 0.38556233048439026, 0.19304101169109344, -0.33584722876548767, -0.3010525703430176, -0.7760380506515503, -0.9235760569572449, 0.7356575727462769, 0.7275838851928711, -0.7792381644248962, -0.040470220148563385, 0.692890465259552, 0.0159751009196043, 0.42266300320625305, -0.6267287135124207, -0.42050600051879883, -0.041356611996889114, -0.07536584883928299, -0.012108095921576023, -0.4419417679309845, -0.2538036108016968, 0.48397260904312134, 0.3031281530857086, 0.08148417621850967, 0.5126780867576599, 0.32592034339904785, -0.2296265959739685, -0.15566383302211761, 0.48084306716918945, 0.5449991226196289, 1.0379538536071777, -0.4124163091182709, -0.04829735681414604, 0.4716288447380066, -0.09249407052993774, -0.14228855073451996, 0.37184932827949524, -0.1344374418258667, -0.06282603740692139, 1.00640070438385, 0.8543307781219482, 0.6504106521606445, -0.2844054102897644, 0.3684166371822357, 0.29709142446517944, 0.05199216306209564, -0.276457816362381, -0.130399689078331, -0.24157625436782837, 0.6716680526733398, 0.4335310459136963, -0.3656015694141388, 0.05051831156015396, -0.25733429193496704, 0.12429837882518768, -0.04426008462905884, -0.014193490147590637, -0.24631184339523315, 0.7382062673568726, 0.1314457356929779, -0.3667442202568054, 0.4548036754131317, -0.2977692186832428, -0.17992743849754333, 0.662241518497467, 0.22114062309265137, 0.800614595413208, 0.0011309061665087938, -0.09430617839097977, 0.23561976850032806, 0.34725600481033325, 0.02151321806013584, 0.4675363302230835, 0.017459671944379807, -0.1770244687795639, -0.5365868210792542, -0.6205552816390991, -0.4464626610279083, -0.052279580384492874, -0.5007096529006958, 0.2763126790523529, -0.6264926195144653, -0.34455665946006775, -0.053992148488759995, 0.2828032374382019, -0.9044107794761658, -0.018914273008704185, 0.02631538175046444, 0.9899764060974121, -0.7050606608390808, 0.26739227771759033, 0.7428855299949646, -0.4070235788822174, -0.37176039814949036, 0.11538778245449066, 0.4044019877910614, -0.465334415435791, 0.5982561111450195, 0.11772721260786057, -0.06025352329015732, -0.3180195987224579, -0.06336448341608047, -0.7716711163520813, 1.662231206893921, 0.3435297906398773, -0.3953685462474823, -0.3559568524360657, -0.046471007168293, 0.566544771194458, -0.47461652755737305, 0.3371567130088806, 0.26068738102912903, 0.5754823684692383, 0.13333816826343536, -1.0991218090057373, 0.052588097751140594, -0.15829648077487946, 0.2134544849395752, 0.3732603192329407, -0.46158212423324585, 0.41767606139183044, -0.26450058817863464, -0.7008280158042908, 0.5291252732276917, 0.9980736970901489, 0.17398416996002197, 0.8363273739814758, 0.47351765632629395, 0.45297157764434814, 0.6049305200576782, -0.29199081659317017, 1.2388572692871094, -0.03252176567912102, 0.19034361839294434, 1.3398213386535645, -0.3739539384841919, 0.6580896973609924, 0.3909471929073334, -0.5189939141273499, 0.18238720297813416, 0.8743512034416199, 0.08370178937911987, 0.444566935300827, -0.051157694309949875, -0.0425882488489151, -0.10789310932159424, -0.08923604339361191, -0.38814109563827515, -0.02198607102036476, 0.11741888523101807, 0.05259506776928902, -0.5794965624809265, -0.2087498903274536, -0.019670072942972183, -0.22337564826011658, -0.26254066824913025, 0.4681253731250763, 0.14792393147945404, -0.40648698806762695, 0.18758559226989746, -0.03216131776571274, 0.3097861707210541, -0.6831567883491516, 0.04530396685004234, -0.3845418691635132, -0.04542180150747299, -0.2468176633119583, -0.6188802719116211, 0.3893415927886963, -0.07473257184028625, -0.19345532357692719, -0.11868038028478622, 0.3027653694152832, -0.24995043873786926, -0.39336925745010376, 0.14921553432941437, 0.4766821265220642, 0.02362893708050251, 0.3998863101005554, -0.593778669834137, 0.22603152692317963, -0.44029924273490906, -0.3294050395488739, -0.10986403375864029, 0.35558685660362244, -0.4025854170322418, 0.5134314298629761, 0.24776434898376465, -0.1788751482963562, 0.06896578520536423, 0.42264342308044434, 0.5504459738731384, -0.5313571095466614, -0.4287378787994385, -0.7050542235374451, 0.4700145125389099, -0.08119041472673416, -0.4487683176994324, 0.7379410862922668, 0.7599443197250366, 0.7235934138298035, 0.013293500989675522, 0.3774004280567169, -0.07923896610736847, 0.47546544671058655, -0.8656551837921143, 0.1036667674779892, -0.6261518597602844, 0.4388912320137024, -0.563471794128418, -0.9844744801521301, -0.5604518055915833, 0.18664608895778656, -0.44023072719573975, 0.12602609395980835, 0.8296718597412109, 0.6775588989257812, -0.0923025980591774, 0.06094014272093773, -0.09813201427459717, 0.18374913930892944, 0.21368974447250366, 0.6715831160545349, 0.7997962832450867, -0.3865543305873871, 0.5336694121360779, -0.3217625617980957, -0.05570952966809273, -0.1398010104894638, -1.4399179220199585, -1.026154637336731, -0.5059497952461243, -0.3591223657131195, -0.2241344302892685, 0.500255286693573, 1.1097615957260132, 0.5367488265037537, -0.4863984286785126, -0.26950255036354065, 0.3526303470134735, 0.16446267068386078, -0.3467442989349365, -0.19561779499053955, 0.5642433166503906, -0.12963548302650452, -0.7700790166854858, 0.8809642791748047, 0.5079169273376465, 0.22250886261463165, 0.08971255272626877, 0.2780594527721405, -0.28000161051750183, -0.25661271810531616, 0.7443748712539673, 0.21979527175426483, -0.7992976307868958, -0.3772619962692261, -0.1445399969816208, 0.18648949265480042, 0.2439405769109726, 0.930293083190918, -0.5461475849151611, 0.3850996494293213, 0.288458913564682, 0.46403753757476807, 0.8265068531036377, -0.08744320273399353, 0.5067028403282166, -1.2835352420806885, 0.22144140303134918, -0.09825016558170319, 0.3754403293132782, 0.16849933564662933, -0.33795738220214844, 1.1196269989013672, 0.13961344957351685, -0.1725553423166275, -0.7056344151496887, 0.24592047929763794, -1.356971025466919, 0.14845050871372223, 0.7917271256446838, 0.020222527906298637, -0.062283534556627274, 0.010417099110782146, 0.27995648980140686, 0.3546442687511444, -0.29078245162963867, 0.49688002467155457, 0.5432403087615967, -0.32287198305130005, 0.397975355386734, -0.5162962675094604, 0.2003966122865677, 0.17385432124137878, -0.7539849281311035, -0.24919746816158295, 0.491057813167572, 0.0626186728477478, 0.19821123778820038, 0.7717470526695251, -0.13303133845329285, 0.4166180193424225, -0.2774536907672882, -0.18716438114643097, -0.5362357497215271, -0.5346494913101196, -0.1611713021993637, 0.3066125810146332, -0.039559878408908844, -0.08374515175819397 ]
http://arxiv.org/abs/2403.00986v2
http://arxiv.org/pdf/2403.00986v2
Merging Text Transformer Models from Different Initializations
2024-03-01T21:16:29
2024-03-07T18:45:09
Neha Verma, Maha Elbayad
cs.CL
cs.CL, cs.AI, cs.LG
Recent work on one-shot permutation-based model merging has shown impressive low- or zero-barrier mode connectivity between models from completely different initializations. However, this line of work has not yet extended to the Transformer architecture, despite its dominant popularity in the language domain. Therefore, in this work, we investigate the extent to which separate Transformer minima learn similar features, and propose a model merging technique to investigate the relationship between these minima in the loss landscape. The specifics of the architecture, like its residual connections, multi-headed attention, and discrete, sequential input, require specific interventions in order to compute model permutations that remain within the same functional equivalence class. In merging these models with our method, we consistently find lower loss barriers between minima compared to model averaging for several models trained on a masked-language modeling task or fine-tuned on a language understanding benchmark. Our results show that the minima of these models are less sharp and isolated than previously understood, and provide a basis for future work on merging separately trained Transformer models.
[ -0.6231687068939209, -0.5055453181266785, 0.5821225643157959, -0.3098977208137512, 0.004811988212168217, -0.20669573545455933, -0.1229829266667366, -0.431039422750473, -0.20467163622379303, 0.5812246799468994, -0.7964712977409363, -0.23994317650794983, -0.8192055225372314, -0.046614985913038254, -0.527366578578949, 0.9670236706733704, -0.029020538553595543, -0.22221191227436066, -0.1667366325855255, -0.3967404067516327, -0.5343963503837585, -0.33328160643577576, -0.4613068103790283, -0.6915989518165588, 0.5423505902290344, 0.31352952122688293, 0.6603802442550659, 0.642667293548584, 0.6556853652000427, 0.3206179738044739, -0.29497411847114563, -0.1054336354136467, -0.5396894216537476, -0.23800915479660034, -0.0635451003909111, -0.4481668472290039, -0.23489633202552795, -0.008682862855494022, 0.7112211585044861, 0.9639244079589844, 0.1337948739528656, 0.24539916217327118, 0.40839889645576477, 0.38389837741851807, -0.5875058770179749, -0.15789924561977386, -0.6619323492050171, 0.30553293228149414, -0.11631245166063309, -0.0006999095203354955, -0.6912323832511902, 0.12795883417129517, 0.3006279170513153, -0.15841369330883026, 0.42485859990119934, -0.22901910543441772, 0.9858918190002441, 0.41262611746788025, -0.5576217174530029, 0.10919900983572006, -0.8351880311965942, 0.7206395864486694, -0.6137807965278625, 0.5797272324562073, -0.033655159175395966, 0.3892705738544464, 0.28962644934654236, -0.3342593312263489, -0.7250430583953857, 0.14835084974765778, -0.5735089778900146, -0.0905677080154419, -0.6658791899681091, -0.02085011452436447, 0.0447954498231411, 0.13205893337726593, -0.5719759464263916, 0.3747148811817169, -0.4769721031188965, -0.13783012330532074, 0.26836755871772766, 0.36229395866394043, 0.08137616515159607, -0.15309005975723267, -0.4112100303173065, -0.4013575613498688, -0.7970910668373108, 0.04061027243733406, 0.2993243336677551, 0.39968404173851013, -0.5702570080757141, 0.4535275399684906, 0.06713145971298218, 0.6837590932846069, 0.04801641404628754, -0.23661784827709198, 0.17720116674900055, -0.5249462723731995, -0.40063440799713135, -0.20711809396743774, 0.8612903356552124, 0.07864796370267868, 0.0022723760921508074, -0.20419088006019592, -0.1179843544960022, 0.05035022273659706, 0.23118647933006287, -0.5935420989990234, -0.3776565194129944, -0.28542912006378174, -0.8196189403533936, -0.439856618642807, -0.22784090042114258, -0.3418290913105011, -0.3387710750102997, -0.2491416037082672, 0.45679935812950134, -0.41502076387405396, -0.1508084088563919, 0.06290196627378464, 0.0285925455391407, 0.419172465801239, 0.031847499310970306, -0.8945344686508179, 0.4301678240299225, 0.6340734958648682, 0.7874699234962463, -0.15792450308799744, -0.4135785698890686, -0.16376006603240967, -0.12821438908576965, -0.10710859298706055, 0.8004999160766602, -0.40592068433761597, -0.267065167427063, -0.042021602392196655, -0.1313580870628357, -0.3861137926578522, -0.5263575315475464, 0.26759836077690125, -0.5168373584747314, 0.4275091886520386, 0.12191679328680038, -0.2955590784549713, -0.45438262820243835, 0.22231274843215942, -0.7891865968704224, 0.7448297739028931, 0.10260681807994843, -0.8811071515083313, 0.16376441717147827, -0.5500773787498474, -0.36401766538619995, -0.1907084435224533, -0.20736382901668549, -0.5061728954315186, 0.28409433364868164, 0.041920725256204605, 0.2230362743139267, -0.38871699571609497, -0.19661524891853333, 0.017264433205127716, -0.2635287344455719, 0.10398971289396286, -0.5825572609901428, 0.9032058119773865, -0.04961476847529411, -0.08455237001180649, 0.23678475618362427, -0.7690386772155762, -0.36524736881256104, 0.15823087096214294, -0.17069143056869507, -0.5372971296310425, -0.0963534489274025, 0.17517176270484924, 0.28389352560043335, 0.12716691195964813, -0.21077388525009155, 0.2536368668079376, -0.4768202006816864, 0.3023988902568817, 0.5925881862640381, 0.022716790437698364, 0.9032976627349854, -0.6282263398170471, 0.3545924127101898, 0.3777957856655121, 0.018999753519892693, -0.47308260202407837, -0.5297335982322693, -1.1341632604599, -0.22729311883449554, 0.39098384976387024, 0.5081884860992432, -0.5657695531845093, 0.4112452566623688, -0.5000408887863159, -0.5558983683586121, -0.6202273964881897, 0.02644783817231655, 0.5524625182151794, 0.7733338475227356, 0.3579903841018677, -0.32581424713134766, -0.46744683384895325, -1.0733731985092163, -0.2798932194709778, -0.11655934900045395, -0.240004301071167, 0.31205278635025024, 0.2411436289548874, -0.38048169016838074, 1.0808619260787964, -0.5384684205055237, -0.45135629177093506, -0.4289996027946472, 0.052044644951820374, 0.32968172430992126, 0.5065150856971741, 0.7940781116485596, -0.5456034541130066, -0.6460921764373779, 0.14295946061611176, -0.38903141021728516, 0.08065395057201385, -0.11740154027938843, -0.0046101282350718975, -0.20343753695487976, 0.28213736414909363, -0.5449094772338867, 0.39791762828826904, 0.6049513220787048, -0.056014806032180786, 0.1516098529100418, -0.008215542882680893, 0.1504584103822708, -0.9783045053482056, -0.24172109365463257, 0.058517102152109146, -0.06552445143461227, -1.0740602016448975, -0.0933246836066246, -0.018856002017855644, -0.09692510217428207, -0.6014133095741272, 0.5884454250335693, -0.3247130215167999, 0.14611199498176575, -0.33249011635780334, 0.21863022446632385, -0.13755251467227936, 0.5798019766807556, -0.27607104182243347, 0.5307773947715759, 0.5949354767799377, -0.6695569753646851, -0.1968594491481781, 0.5770873427391052, -0.08546100556850433, 0.13107702136039734, -0.38927119970321655, 0.33456340432167053, -0.3423320949077606, -0.026746824383735657, -1.221977949142456, 0.07524935901165009, 0.36322736740112305, -0.24914053082466125, 0.1354815661907196, -0.25731727480888367, -0.19242888689041138, -0.16873064637184143, -0.25951555371284485, 0.6437017917633057, 0.7745092511177063, -0.48805513978004456, 0.8694277405738831, 0.27247315645217896, -0.09327439218759537, -0.2684355080127716, -0.8204935193061829, -0.1317744255065918, -0.2676166594028473, -0.8559976816177368, 0.6568475365638733, -0.004987548105418682, 0.03094959445297718, 0.1722618192434311, -0.055240679532289505, -0.223435178399086, 0.019353438168764114, 0.19734960794448853, 0.2872476577758789, -0.4639084041118622, 0.019187409430742264, 0.26931774616241455, -0.18089492619037628, -0.34016552567481995, -0.07087114453315735, 0.5837366580963135, 0.09556692838668823, -0.279192715883255, -0.6135244965553284, 0.3658285439014435, 0.48005586862564087, -0.26848962903022766, 1.1337721347808838, 0.22624991834163666, -0.5442487001419067, -0.07518339902162552, -0.6425042152404785, -0.3887287974357605, -0.4949168562889099, 0.25731566548347473, -0.8504922389984131, -1.0482109785079956, 0.720889687538147, 0.033197011798620224, 0.10226557403802872, 0.6678731441497803, 0.48789775371551514, -0.07854660600423813, 0.7455541491508484, 1.3860745429992676, -0.08261807262897491, 0.6304771900177002, -0.3152907192707062, 0.44999024271965027, -0.7472385764122009, -0.13531358540058136, -0.523453414440155, -0.5023030042648315, -0.6325598955154419, -0.32050445675849915, 0.2540391683578491, -0.06569331884384155, -0.10235583037137985, 0.6918500661849976, -0.47218021750450134, 0.5477511882781982, 0.2665806710720062, 0.07280633598566055, 0.5219598412513733, 0.21605528891086578, -0.1299867480993271, -0.21822446584701538, -1.0738791227340698, -0.489681214094162, 0.864172101020813, 0.416467547416687, 0.6860621571540833, 0.06262380629777908, 0.7815021872520447, -0.09962734580039978, 0.6401331424713135, -0.7656068205833435, 0.4183204472064972, -0.4816998839378357, -0.24636021256446838, -0.2850189805030823, -0.5517619252204895, -0.8967552185058594, 0.5332934856414795, -0.44069015979766846, -0.7876282930374146, 0.2726573944091797, 0.2118752896785736, -0.5071282982826233, 0.14840459823608398, -0.6394822001457214, 1.0352888107299805, 0.2769155502319336, 0.279704749584198, -0.19619259238243103, -0.6196329593658447, 0.7533701062202454, -0.14845366775989532, 0.13047251105308533, 0.08525805920362473, 0.0962139293551445, 0.6993395090103149, -0.294514000415802, 0.7086666822433472, 0.37042784690856934, -0.1404048204421997, 0.1654587835073471, 0.15891849994659424, 0.350813090801239, -0.44562670588493347, 0.33835214376449585, 0.34695345163345337, -0.26614782214164734, -0.11364848911762238, -0.5149396657943726, 0.41267696022987366, -0.7055598497390747, -0.47967156767845154, -0.028753912076354027, -0.4656483232975006, -0.12729021906852722, 0.2861957550048828, 0.49366408586502075, 0.4081944227218628, -0.1241455152630806, 0.11937905848026276, 0.7028117179870605, 0.044992562383413315, 0.5266445875167847, 0.6281253695487976, 0.06134087219834328, -0.27213355898857117, 0.566358208656311, -0.1452690213918686, 0.15431436896324158, 0.6217823028564453, 0.11448219418525696, -0.04425616189837456, -0.4733845591545105, -0.04236934706568718, 0.39938420057296753, -0.7649698257446289, -0.288592129945755, -0.6949129104614258, -0.5887651443481445, -0.36108291149139404, -0.12368044257164001, -0.42183199524879456, -0.1812058389186859, -0.1765376478433609, 0.04492652788758278, 0.00901282113045454, 0.6161351203918457, 0.27171826362609863, 0.9155977368354797, -1.1165175437927246, 0.2662121653556824, 0.19877170026302338, 0.25687387585639954, 0.23758511245250702, -0.9100210070610046, -0.36673504114151, -0.1813979148864746, -0.3863942623138428, -1.1703295707702637, 0.21959379315376282, 0.19078554213047028, 0.4368346631526947, 0.5011545419692993, -0.18656568229198456, 0.6907693147659302, -0.9026404619216919, 0.3648301959037781, 0.5470409989356995, -1.059604525566101, 0.2483428567647934, -0.07450752705335617, 0.47911250591278076, 0.6524309515953064, 0.3149658739566803, -0.664013683795929, -0.3788551986217499, -0.5403350591659546, -0.4835095703601837, 0.784362256526947, 0.30769243836402893, 0.07107877731323242, 0.36940687894821167, 0.06746125966310501, 0.08940696716308594, -0.05353368818759918, -0.8516697883605957, -0.5238568186759949, 0.18241626024246216, -0.47051921486854553, -0.039703141897916794, -0.08322154730558395, -0.3543328642845154, -0.23480871319770813, 0.25151708722114563, -0.005665169097483158, 0.24784962832927704, -0.2140669971704483, -0.45452049374580383, 0.03931429237127304, 0.2142167091369629, 0.549135148525238, 0.24356238543987274, 0.2009918987751007, 0.38796377182006836, 0.41591519117355347, -0.30827954411506653, 0.40867117047309875, 0.043145034462213516, -0.3866322934627533, 0.08384916186332703, 0.5674914717674255, 1.0461763143539429, 0.4131130576133728, -0.4325341582298279, 0.5896070003509521, -0.10719213634729385, -0.23765940964221954, 0.2828913629055023, 0.033960942178964615, 0.018292337656021118, 0.3289109468460083, 0.23989318311214447, 0.5388990044593811, 0.09371598064899445, -0.34964296221733093, 0.33730462193489075, 0.4180350601673126, -0.42934760451316833, -0.36614179611206055, 0.6084175705909729, 0.20602825284004211, -0.44145628809928894, 0.5887661576271057, -0.09330485016107559, -0.5355749726295471, 0.5482597351074219, 0.44654807448387146, 1.1677228212356567, -0.14976002275943756, 0.005699581000953913, 0.1532655954360962, 0.7327837347984314, 0.027195049449801445, -0.39069971442222595, -0.04300788417458534, -0.8702499270439148, -0.547259509563446, -0.45483776926994324, -0.22845788300037384, 0.15435102581977844, -0.3186037540435791, 0.5199846625328064, -0.10784107446670532, -0.1503409743309021, 0.1400231271982193, -0.40464046597480774, -0.8839653134346008, 0.0017647790955379605, 0.16439729928970337, 0.8338237404823303, -1.2146337032318115, 0.7501329779624939, 0.6277614235877991, -0.31130170822143555, -0.8072646856307983, 0.10971953719854355, -0.08534398674964905, -0.23880648612976074, 0.5271742939949036, 0.23909907042980194, -0.20574381947517395, -0.11165675520896912, -0.0006593798752874136, -0.7705076336860657, 1.0169366598129272, 0.47275418043136597, -0.5604159832000732, -0.2698637843132019, 0.2009127140045166, 0.35284024477005005, -0.6824733018875122, 0.23163361847400665, 0.6968761682510376, 0.18193919956684113, 0.011886871419847012, -0.990459144115448, 0.09409619122743607, -0.021081343293190002, 0.12377871572971344, 0.38697725534439087, -0.573851466178894, 0.9833527207374573, 0.07975184172391891, -0.6901895999908447, 0.02926211804151535, 0.6083795428276062, -0.09828425198793411, 0.1428374946117401, 0.7688020467758179, 0.495126873254776, 0.3767150044441223, -0.017490122467279434, 0.6248918175697327, -0.3881383538246155, 0.6942399144172668, 1.2264893054962158, -0.020391512662172318, 0.7972650527954102, 0.22498556971549988, -0.09152422100305557, 0.39230582118034363, 0.2916947603225708, 0.1344245821237564, 0.6957709789276123, -0.16422319412231445, -0.07813027501106262, -0.17748595774173737, 0.17133420705795288, -0.2219894826412201, 0.518663227558136, -0.14611537754535675, -0.36399853229522705, -0.4539508521556854, 0.21862614154815674, -0.09054923057556152, -0.009916101582348347, 0.012669723480939865, 0.8805350661277771, -0.041838616132736206, -0.46163633465766907, 0.6121711134910583, 0.261623740196228, 0.8427332043647766, -0.48311758041381836, 0.1773185282945633, -0.4134185314178467, 0.12420158088207245, -0.06884033232927322, -0.3955093026161194, 0.5859884023666382, 0.034842196851968765, -0.5585288405418396, -0.40146008133888245, 0.7440118193626404, -0.7081162333488464, -0.31904712319374084, 0.26910480856895447, 0.427702397108078, -0.19676394760608673, 0.16266950964927673, -0.3851134181022644, 0.23924341797828674, 0.0030161261092871428, -0.04944683611392975, 0.3322388827800751, 0.004897784907370806, 0.19064313173294067, 0.5252468585968018, 0.3397100865840912, -0.2931652367115021, 0.41903385519981384, 0.07496679574251175, 0.9954114556312561, -0.5022010803222656, -0.5908345580101013, -0.9172070026397705, 0.6740861535072327, 0.034092895686626434, -0.22250056266784668, 0.6315696239471436, 0.5193682909011841, 0.819007933139801, -0.31457582116127014, 0.5980608463287354, 0.2219730019569397, 0.2484985888004303, -0.3827036917209625, 0.9650136232376099, -0.6120123267173767, 0.23334796726703644, -0.01772068627178669, -1.1700847148895264, -0.15982367098331451, 0.4923606514930725, -0.0155003871768713, -0.22887982428073883, 0.8036209344863892, 0.8402110934257507, -0.36642318964004517, -0.41405901312828064, 0.4239720106124878, 0.19963623583316803, 0.22198016941547394, 0.7880752682685852, 0.506493091583252, -0.7781609892845154, 0.7555907368659973, -0.2763287127017975, -0.271401971578598, -0.1701582968235016, -0.7036617398262024, -0.9334072470664978, -0.6692350506782532, -0.41036877036094666, -0.12337721139192581, -0.14228177070617676, 0.43764981627464294, 0.5800941586494446, -0.6495620012283325, -0.126134991645813, 0.005788735114037991, 0.37723803520202637, -0.26842254400253296, -0.19390197098255157, 0.13939668238162994, -0.22148677706718445, -0.7106075286865234, 0.3702494502067566, 0.46059709787368774, 0.18724565207958221, -0.2420821487903595, -0.03605634719133377, -0.08507537841796875, 0.49800562858581543, 0.4694470167160034, 0.23688054084777832, -0.6215459704399109, -0.3130896985530853, 0.036527324467897415, -0.32617902755737305, 0.188514843583107, 0.9697592854499817, -0.9084380865097046, 0.3185883164405823, 0.798366367816925, 0.8221627473831177, 0.5577607154846191, -0.24567389488220215, 0.29430484771728516, -0.85426265001297, 0.39161932468414307, 0.01741900108754635, 0.3058859407901764, 0.2519732415676117, 0.03436556085944176, 0.2733631432056427, 0.14114652574062347, -0.05186840891838074, -0.9178823828697205, 0.5329967737197876, -0.9291679859161377, -0.052052151411771774, 0.6534004807472229, 0.10166429728269577, -0.04533501714468002, 0.25402384996414185, -0.0024968634825199842, 0.31533804535865784, 0.2664981782436371, 0.6220827102661133, 0.6678146123886108, -0.1480562537908554, -0.5130053758621216, -0.04502122476696968, 0.43661925196647644, 0.36533287167549133, -0.7426899671554565, -0.18465836346149445, 0.015530756674706936, 0.3291347026824951, 0.48034778237342834, 0.4992482662200928, 0.17260333895683289, 0.1104453057050705, 0.2187132090330124, 0.012010021135210991, 0.16377416253089905, -0.5594550967216492, -0.6357807517051697, 0.29200246930122375, -0.17646558582782745, -0.2326437383890152 ]
http://arxiv.org/abs/2403.00982v1
http://arxiv.org/pdf/2403.00982v1
LocalRQA: From Generating Data to Locally Training, Testing, and Deploying Retrieval-Augmented QA Systems
2024-03-01T21:10:20
2024-03-01T21:10:20
Xiao Yu, Yunan Lu, Zhou Yu
cs.CL
cs.CL
Retrieval-augmented question-answering systems combine retrieval techniques with large language models to provide answers that are more accurate and informative. Many existing toolkits allow users to quickly build such systems using off-the-shelf models, but they fall short in supporting researchers and developers to customize the model training, testing, and deployment process. We propose LocalRQA, an open-source toolkit that features a wide selection of model training algorithms, evaluation methods, and deployment tools curated from the latest research. As a showcase, we build QA systems using online documentation obtained from Databricks and Faire's websites. We find 7B-models trained and deployed using LocalRQA reach a similar performance compared to using OpenAI's text-ada-002 and GPT-4-turbo.
[ -0.5748329758644104, -0.8389250636100769, 0.4834490716457367, -0.011668732389807701, 0.2786886394023895, 0.12296321243047714, 0.376740038394928, -0.2850155532360077, 0.19242623448371887, 0.5033761858940125, -0.1792844980955124, -0.07591375708580017, 0.23816624283790588, 0.12556307017803192, -0.4207635521888733, 0.7027980089187622, -0.29232752323150635, 0.13435062766075134, -0.42379292845726013, -0.16421294212341309, -0.4792419672012329, -0.596729576587677, -0.5220235586166382, -0.015242801047861576, 0.48143792152404785, 0.3875414729118347, 1.0907772779464722, 0.4368066191673279, 0.42547890543937683, 0.12242033332586288, -0.057666581124067307, -0.1973208338022232, -0.28009283542633057, 0.12290789186954498, -0.26089784502983093, -0.5305025577545166, -0.28289809823036194, -0.09967005252838135, 0.5701758861541748, 0.4889070689678192, -0.41432249546051025, 0.6095376014709473, -0.6201652884483337, 0.5342801809310913, -0.9320460557937622, -0.3412262499332428, -0.2626674771308899, -0.06582927703857422, -0.0790010318160057, 0.2481103241443634, -0.15146641433238983, -1.0476561784744263, -0.04243657365441322, -0.6582995057106018, 0.09480977803468704, -0.050240617245435715, 0.6941125988960266, 0.13662636280059814, -0.6955094933509827, -0.14019642770290375, -0.6651239991188049, 0.6668114066123962, -0.7950928807258606, 0.7796267867088318, 0.518586277961731, 0.8166825175285339, -0.2185155749320984, -0.9317360520362854, -0.5839956998825073, -0.1865643858909607, 0.17670223116874695, -0.005828517489135265, -0.08906568586826324, -0.24733202159404755, 0.17976151406764984, 0.7909011244773865, -0.7878401875495911, -0.24692244827747345, -0.5548166632652283, -0.14009463787078857, 0.3942754566669464, 0.12872587144374847, 0.20754797756671906, -0.22392039000988007, -0.1378175914287567, -0.02733510546386242, -0.9855197072029114, 0.08596834540367126, 0.23773080110549927, 0.21966366469860077, 0.22064870595932007, 0.6171653270721436, -0.7649544477462769, 0.6647523045539856, 0.08159207552671432, 0.0689406469464302, 0.3185395896434784, -0.5035467147827148, -0.3331466317176819, -0.19939884543418884, 0.4580947756767273, -0.3390147387981415, -0.3556916117668152, -0.22878606617450714, -0.4482325613498688, 0.024766206741333008, 0.27079495787620544, -0.7632266283035278, -0.26268041133880615, 0.20822323858737946, -0.40571972727775574, -0.30103692412376404, -0.3035123646259308, -0.34386777877807617, -0.33002907037734985, -0.2889446020126343, 0.8546595573425293, -0.07181502133607864, -0.44322115182876587, 0.013850482180714607, -0.0963086485862732, 0.3597757816314697, -0.03646400198340416, -0.3701600730419159, 0.27519071102142334, 0.2078191637992859, 0.7125569581985474, 0.05289595574140549, -0.009730668738484383, -0.7638298869132996, -0.22329968214035034, -0.5012575387954712, 0.6097326278686523, -0.4651336371898651, -0.2701127231121063, 0.19922402501106262, -0.05837897211313248, 0.2543431520462036, -0.7283967137336731, 0.3503105044364929, -1.0978443622589111, 0.3989224433898926, -0.41138750314712524, -0.31900179386138916, -0.09669032692909241, 0.2561158239841461, -0.6759913563728333, 1.4441542625427246, 0.4860653877258301, -0.6901366710662842, 0.15424583852291107, -0.7264319658279419, -0.1966685801744461, 0.06858731806278229, 0.01791466772556305, 0.052222687751054764, -0.020250778645277023, 0.5110260248184204, 0.4384397566318512, -0.3700234889984131, -0.03397544473409653, -0.03737051784992218, -0.5351871252059937, 0.010667025111615658, -0.04173672944307327, 0.9846588373184204, 0.7313964366912842, -0.06839954853057861, 0.07644890993833542, -0.7071569561958313, 0.14703018963336945, 0.09718592464923859, -0.4245252013206482, -0.06674610078334808, -0.214410662651062, -0.13650324940681458, 0.15891438722610474, 0.4015253484249115, -0.6088126301765442, 0.15762442350387573, -0.5542502403259277, 0.33017927408218384, 0.11714401841163635, 0.19049133360385895, 0.6910528540611267, -0.4900965094566345, 0.955119252204895, -0.16210772097110748, 0.49065566062927246, -0.09849407523870468, -0.5803820490837097, -0.514305830001831, -0.21429069340229034, 0.3932221531867981, 0.6701602339744568, -1.1938996315002441, -0.2702272832393646, -0.08325688540935516, -0.908595085144043, -0.6899492740631104, 0.18522603809833527, 0.29721248149871826, 0.3522207736968994, 0.2584388256072998, -0.4058231711387634, -0.30855676531791687, -0.7563354969024658, 0.015907002612948418, -0.10537189990282059, -0.19950564205646515, 0.08367575705051422, 0.33633488416671753, -0.2397906482219696, 1.2715699672698975, -0.4260055124759674, 0.0409405380487442, 0.04377942532300949, 0.07896561920642853, 0.044838447123765945, 0.24785752594470978, 0.4584386646747589, -0.8820602893829346, -0.16905032098293304, 0.01311025582253933, -0.5713146328926086, -0.010338104330003262, 0.3382017910480499, -0.08873952925205231, 0.062209438532590866, 0.1523783653974533, -0.4972805678844452, 0.48475778102874756, 0.3977832496166229, -0.11865175515413284, 0.7412113547325134, -0.04904940351843834, 0.40443721413612366, -1.174454927444458, 0.2754201292991638, -0.32653194665908813, -0.3561209738254547, -0.5331910848617554, 0.5258309841156006, 0.03845609351992607, -0.36386576294898987, -0.5649014115333557, 0.9183910489082336, -0.398613840341568, -0.40295735001564026, -0.006657151505351067, 0.2216958850622177, 0.11777406930923462, 0.22011864185333252, -0.08102997392416, 1.159203290939331, 0.2845623195171356, -0.5947038531303406, 0.49711376428604126, 0.6804350018501282, -0.5568227171897888, 0.38065436482429504, -0.5312830805778503, 0.4400189518928528, -0.007077387534081936, -0.049153514206409454, -0.507070779800415, -0.4625042974948883, 0.059266820549964905, -0.43454816937446594, -0.20828935503959656, -0.30949580669403076, -0.6693705320358276, -0.31112006306648254, -0.1491895318031311, 0.7924019694328308, 0.7099131941795349, -0.7391882538795471, 0.6415330767631531, 0.5867509841918945, -0.30725857615470886, -0.5538359880447388, -0.4286756217479706, -0.27992963790893555, 0.14024297893047333, -0.5849266648292542, -0.1290169209241867, 0.03480285778641701, -0.36869528889656067, -0.08573844283819199, 0.043337441980838776, -0.6235218048095703, 0.12365780770778656, 0.23062573373317719, -0.04443247243762016, -0.48496484756469727, 0.2461841106414795, 0.04613134637475014, 0.37744006514549255, 0.03452393412590027, 0.14268609881401062, 0.1719258427619934, -0.3189711272716522, -0.3735978901386261, -0.19071908295154572, 0.3219323754310608, 0.28397583961486816, -0.7199608087539673, 0.42978933453559875, 0.37435606122016907, -0.4127840995788574, 0.008748790249228477, -0.6572250127792358, -0.1903153955936432, -0.5097612142562866, 0.14366193115711212, -0.39228135347366333, -0.8057982921600342, 0.6305858492851257, 0.026518816128373146, 0.15559716522693634, 0.1452130377292633, 0.46143561601638794, 0.1484280675649643, 1.2513238191604614, 0.4912866950035095, 0.28953254222869873, 0.48941513895988464, -0.06636658310890198, 0.26770052313804626, -0.6106480956077576, -0.20501084625720978, -0.7221159338951111, 0.11720499396324158, -0.10502251237630844, -0.6398548483848572, 0.26595771312713623, 0.3284376263618469, -0.7678545117378235, 0.23448768258094788, -0.6261748671531677, 0.5180581212043762, 0.8247169256210327, -0.08352973312139511, 0.28925082087516785, 0.005440361797809601, 0.025184057652950287, 0.25273191928863525, -0.8285956978797913, -0.47734129428863525, 0.9144614338874817, 0.3619304895401001, 0.7080484628677368, 0.1566171944141388, 0.592865526676178, 0.20287953317165375, 0.5007796883583069, -0.47093403339385986, 0.3067915141582489, 0.42141950130462646, -0.9963194131851196, -0.171518936753273, -0.6610308885574341, -0.7803776264190674, -0.30221807956695557, -0.020042400807142258, -0.5424458384513855, 0.4292091727256775, 0.08423827588558197, -0.48871827125549316, 0.23314808309078217, -0.8782480955123901, 0.9766359329223633, -0.09192166477441788, 0.1294649988412857, 0.06783629208803177, -0.4623725116252899, 0.34351786971092224, -0.21210110187530518, 0.26245418190956116, 0.031240124255418777, 0.21249990165233612, 0.6423768401145935, -0.29230234026908875, 0.529961109161377, -0.39927157759666443, -0.23257170617580414, 0.6200903654098511, 0.5059390664100647, 0.4090062081813812, 0.07882862538099289, -0.19038307666778564, -0.06705950200557709, 0.8151268362998962, -0.7019933462142944, -0.7247159481048584, 0.6606401801109314, -0.6538682579994202, -0.22387124598026276, -0.3094838261604309, -0.4426323175430298, -0.5134874582290649, 0.07681632041931152, -0.06652527302503586, 0.7038919925689697, -0.1372990757226944, -0.08107222616672516, 0.6031377911567688, -0.31399476528167725, -0.12173033505678177, 0.2980186641216278, -0.8403132557868958, -0.5097962617874146, 0.9674817323684692, -0.0020442313980311155, 0.2817419171333313, 0.3613530695438385, -0.0614771842956543, -0.404074490070343, -0.43565887212753296, -0.4178885519504547, 0.06271116435527802, -0.964802622795105, -0.41674792766571045, -0.023707039654254913, -0.12937405705451965, -0.4329396188259125, -0.14519229531288147, -0.32342207431793213, -0.716588020324707, -0.08361516892910004, -0.04425763711333275, 0.5317583084106445, 1.27070152759552, 0.03778044879436493, 0.37986162304878235, -0.9385034441947937, 0.40280744433403015, 0.46981966495513916, 0.4568970799446106, -0.030765574425458908, -0.5372676253318787, -0.47846391797065735, 0.2429066300392151, -0.3328932225704193, -1.0656771659851074, 0.22835427522659302, -0.004971446003764868, 0.410433292388916, -0.03587491437792778, 0.12228475511074066, 0.2918892502784729, -0.21758566796779633, 0.9927533864974976, -0.19059927761554718, -0.7852379083633423, 0.679645299911499, -0.4255005717277527, 0.46455249190330505, 0.6259851455688477, 0.5647867321968079, -0.42079949378967285, -0.27908581495285034, -0.27516910433769226, -0.6371573805809021, 0.38760867714881897, 0.09611225128173828, 0.17332221567630768, -0.19778868556022644, 0.8091015219688416, 0.11077325791120529, 0.14129027724266052, -0.386140912771225, -0.21678867936134338, -0.35733649134635925, -0.37178659439086914, 0.4068622589111328, -0.14425069093704224, -0.02874869480729103, -0.04374738410115242, 1.0614101886749268, -0.2757578194141388, 0.41711223125457764, 0.33932584524154663, -0.23345263302326202, 0.12853477895259857, 0.22571711242198944, -0.010628658346831799, 0.9043651223182678, -0.26306164264678955, -0.12079207599163055, 0.2641279101371765, -0.3657895028591156, 0.2770908772945404, 0.09654546529054642, -0.4729668200016022, -0.13687707483768463, -0.32457640767097473, 0.5919670462608337, 0.07257945835590363, -0.9219582080841064, 0.49154573678970337, -0.29723724722862244, -0.06232977285981178, -0.17680566012859344, -0.042779166251420975, 0.00014808258856646717, 0.3703421354293823, 0.4940653443336487, -0.20043368637561798, 0.3041481673717499, -0.5107911825180054, 0.2153097540140152, 0.2135242521762848, -0.38444316387176514, -0.26066529750823975, 0.6806822419166565, 0.13626891374588013, -0.35332736372947693, 0.5858317017555237, -0.43026262521743774, -0.3245537579059601, 0.414546936750412, 0.33643409609794617, 0.6116371750831604, -0.14195369184017181, 0.6733418107032776, 0.42159202694892883, 0.036984242498874664, -0.25907474756240845, 0.7482665181159973, -0.0554550439119339, -0.3844205141067505, -0.7455838918685913, -0.6253584027290344, -0.6558951139450073, -0.14078205823898315, -0.7795149087905884, 0.004347736947238445, -0.4680368900299072, -0.1585180163383484, -0.2124801129102707, 0.1277572065591812, -0.7266790270805359, 0.36521807312965393, -0.11806701123714447, 1.2978216409683228, -0.4350854456424713, 0.5798904299736023, 0.9983857870101929, -0.7138656377792358, -1.1503326892852783, -0.3277633786201477, -0.48085907101631165, -0.44124847650527954, 0.585448145866394, -0.15263551473617554, 0.06494041532278061, 0.17200171947479248, -0.42734548449516296, -1.142628788948059, 1.1796623468399048, 0.5201868414878845, -0.07494310289621353, -0.13890725374221802, -0.11783638596534729, 0.45184463262557983, -0.14031097292900085, 0.5320754647254944, 0.4248654842376709, 0.14144021272659302, -0.052528396248817444, -1.2798287868499756, 0.09771817922592163, -0.13262280821800232, -0.09527121484279633, 0.27497172355651855, -0.364106148481369, 0.5853191018104553, -0.1626206338405609, -0.22270488739013672, 0.44439786672592163, 0.6270313858985901, 0.08369249105453491, 0.08771803975105286, 0.08335093408823013, 0.5133987665176392, 0.9301007986068726, -0.021763967350125313, 1.1438592672348022, -0.024115800857543945, 0.12816400825977325, 1.055855631828308, -0.2709358334541321, 1.3558933734893799, 0.21245799958705902, -0.09869714826345444, 0.5810796022415161, 0.6361498832702637, 0.25479644536972046, 0.3739514946937561, -0.0634583905339241, -0.3010067939758301, -0.2954539954662323, -0.18323858082294464, -0.3804948329925537, 0.20107780396938324, -0.17691370844841003, 0.057225242257118225, -0.22777409851551056, 0.16663959622383118, -0.426066130399704, 0.023359501734375954, -0.5088940262794495, 0.5528042912483215, -0.0782446339726448, -0.49728551506996155, 0.7312548160552979, -0.0009106240468099713, 0.2997489273548126, -0.4241088330745697, 0.05398774519562721, -0.608538806438446, -0.05339060351252556, -0.13662196695804596, -0.587562620639801, 0.2831237316131592, 0.08579394966363907, -0.16616573929786682, 0.12928955256938934, 0.5895089507102966, -0.18347403407096863, -0.3654184639453888, -0.11591716855764389, 0.803260862827301, 0.31754109263420105, -0.2783390283584595, -0.5661492943763733, -0.38271644711494446, -0.15115439891815186, -0.17648543417453766, 0.26304084062576294, 0.24162977933883667, -0.3034828007221222, 0.939039409160614, 0.6041892170906067, 0.0028838394209742546, 0.42744842171669006, 0.0020617772825062275, 0.654313862323761, -0.6414651870727539, -0.2705051898956299, 0.12384317070245743, 0.3362230658531189, 0.27648279070854187, -0.30977123975753784, 0.6156063675880432, 0.6739961504936218, 0.8652061820030212, 0.06359026581048965, 0.5877168774604797, -0.18559768795967102, 0.8629186153411865, -0.2869526743888855, 0.7417272925376892, -0.6019324064254761, 0.02297641709446907, 0.30969128012657166, -0.9332289099693298, -0.24345408380031586, 0.4655435383319855, -0.3351263403892517, 0.1159251257777214, 0.3328497111797333, 1.0330922603607178, -0.10142724215984344, -0.06831587105989456, 0.2253851443529129, 0.09762617200613022, 0.1676265001296997, 0.34078723192214966, 1.1394110918045044, -0.7890118360519409, 0.7008604407310486, -0.3147209882736206, 0.020926568657159805, 0.10927373915910721, -0.6173717379570007, -0.8837233185768127, -0.6112578511238098, -0.16936343908309937, -0.2333042323589325, 0.12306158244609833, 0.8039856553077698, 0.7498020529747009, -0.870619535446167, -0.02425001561641693, 0.12601147592067719, 0.13708800077438354, -0.08264432847499847, -0.24815386533737183, 0.23060713708400726, -0.32766878604888916, -0.32950887084007263, 0.6504696607589722, -0.21125862002372742, 0.05923467129468918, -0.4843321144580841, -0.3108619749546051, -0.26963749527931213, 0.19846832752227783, 0.23830312490463257, 0.7106744647026062, -0.38400402665138245, -0.11110565811395645, 0.2856649160385132, -0.0984959676861763, 0.13031639158725739, 0.5065308213233948, -1.3861569166183472, 0.5088908672332764, 0.6258009076118469, 0.9248504042625427, 0.3579910397529602, -0.0056740171276032925, 0.8327028155326843, -0.8376872539520264, -0.18615250289440155, 0.3917694091796875, 0.151651531457901, 0.5949367880821228, -0.216491237282753, 0.5301974415779114, -0.288341224193573, -0.8867123126983643, -1.082736611366272, 0.18276558816432953, -0.5235189199447632, -0.005572558846324682, 1.0213329792022705, -0.002621436957269907, -0.22564895451068878, -0.33083727955818176, -0.37984925508499146, 0.13793888688087463, -0.19623516499996185, 0.5656368136405945, 0.24587848782539368, 0.1847134232521057, 0.04973844438791275, -0.7855123281478882, 0.7303164005279541, 0.3018691837787628, -0.9911813139915466, -0.1398451030254364, 0.6561249494552612, 0.4989679157733917, 0.34778013825416565, 0.7460917234420776, -0.04309668391942978, 0.755939781665802, -0.03210984542965889, 0.30093225836753845, -0.05797417089343071, -0.08344824612140656, -0.4304354786872864, 0.22572143375873566, 0.4244652986526489, 0.06446658819913864 ]
http://arxiv.org/abs/2403.00964v1
http://arxiv.org/pdf/2403.00964v1
MALTO at SemEval-2024 Task 6: Leveraging Synthetic Data for LLM Hallucination Detection
2024-03-01T20:31:10
2024-03-01T20:31:10
Federico Borra, Claudio Savelli, Giacomo Rosso, Alkis Koudounas, Flavio Giobergia
cs.CL
cs.CL, cs.LG
In Natural Language Generation (NLG), contemporary Large Language Models (LLMs) face several challenges, such as generating fluent yet inaccurate outputs and reliance on fluency-centric metrics. This often leads to neural networks exhibiting "hallucinations". The SHROOM challenge focuses on automatically identifying these hallucinations in the generated text. To tackle these issues, we introduce two key components, a data augmentation pipeline incorporating LLM-assisted pseudo-labelling and sentence rephrasing, and a voting ensemble from three models pre-trained on Natural Language Inference (NLI) tasks and fine-tuned on diverse datasets.
[ -0.42687201499938965, -0.8890005350112915, 0.7148157954216003, -0.003033344866707921, -0.4067888855934143, -0.16198284924030304, -0.06844212114810944, -0.5835622549057007, 0.44291597604751587, 0.993761420249939, -0.9631625413894653, -0.5144989490509033, -0.5202926993370056, 0.7150406241416931, -0.36528825759887695, 0.7047882080078125, 0.17182795703411102, 0.1256929636001587, -0.2940922677516937, 0.08876907080411911, -0.7784900069236755, -0.7376819252967834, -0.3562931716442108, -0.30911970138549805, 0.39654865860939026, 0.36199671030044556, 0.5467197895050049, 0.5218757390975952, 0.2901468873023987, 0.38703757524490356, 0.26066914200782776, 0.6239396333694458, -0.27793586254119873, 0.5217896699905396, 0.04421844705939293, -0.33136478066444397, -0.25760358572006226, -0.16712430119514465, 0.16162768006324768, 0.556187093257904, -0.08950678259134293, -0.3557160496711731, 0.07078547030687332, 0.44077032804489136, -0.4561190605163574, 0.11709512770175934, -0.9666049480438232, 0.19755448400974274, -0.2912772297859192, -0.44334059953689575, -0.42705443501472473, -0.22880390286445618, -0.140565887093544, -0.3881668448448181, 0.32605260610580444, 0.16537466645240784, 0.6375532150268555, 0.7477689385414124, -0.27637171745300293, -0.7028049230575562, -0.4081176817417145, 0.6770298480987549, -0.8619377017021179, 0.5223803520202637, 0.5142840147018433, 0.1876196563243866, -0.3264141082763672, -0.9735527038574219, -0.6352102160453796, -0.2594550549983978, -0.2038005143404007, -0.01760810986161232, 0.07871997356414795, 0.10812889039516449, 0.20886607468128204, 0.3379955589771271, -0.6071961522102356, -0.0171367060393095, -0.5219126343727112, -0.4449041783809662, 0.7373377680778503, 0.36395302414894104, 0.276332288980484, -0.4080692231655121, -0.056615907698869705, 0.0843825563788414, -0.25116708874702454, -0.7217634320259094, 0.45614752173423767, 0.352407306432724, 0.3716897964477539, 0.7251983284950256, -0.07889708131551743, 0.6498584151268005, -0.09444686025381088, 0.24101176857948303, 0.4230186343193054, -0.42451637983322144, -0.2904779016971588, 0.4331299364566803, 0.6279819011688232, 0.2296445518732071, 0.13175420463085175, -0.1232607513666153, -0.4701293110847473, 0.24574466049671173, 0.6354612112045288, -0.5746760964393616, -0.4496632218360901, 0.17065484821796417, -0.22135937213897705, -0.7355173826217651, -0.09139776229858398, -0.9288487434387207, -0.844555675983429, -0.5459762215614319, 0.8440588712692261, -0.40277543663978577, 0.16771326959133148, 0.09393104165792465, -0.22969651222229004, 0.20336014032363892, 0.18877366185188293, -0.7768092751502991, 0.17764724791049957, 0.5790438652038574, 0.6617201566696167, -0.3581346273422241, -0.23976166546344757, -0.5989366173744202, 0.010958194732666016, -0.31127575039863586, 0.8298155069351196, -0.5818254947662354, -0.3489363193511963, -0.15479327738285065, 0.33542850613594055, -0.06592971831560135, -0.775230884552002, 0.7941921353340149, 0.06636723130941391, 0.5928875207901001, -0.1895292103290558, -0.48723945021629333, -0.10867124795913696, 0.18206897377967834, -0.6436855792999268, 1.047502040863037, 0.28018587827682495, -0.6865186095237732, 0.26197636127471924, -0.3269434869289398, -0.5008949041366577, 0.23710021376609802, -0.37265744805336, -0.5339358448982239, 0.47687387466430664, 0.35650634765625, 0.4197944700717926, -0.12328966706991196, 0.5832877159118652, -0.18514400720596313, -0.5417205691337585, 0.12321750819683075, -0.6143778562545776, 0.489084929227829, 0.19887325167655945, -0.4487226903438568, 0.37715357542037964, -0.986035943031311, -0.23535630106925964, 0.05796976760029793, -0.019871696829795837, -0.15058889985084534, -0.07434261590242386, 0.027151046320796013, 0.037820249795913696, 0.1620807945728302, -0.22802825272083282, 0.08923029899597168, -0.5928422212600708, 0.379722535610199, 0.8805436491966248, 0.3439674377441406, 0.17558223009109497, -0.43876808881759644, 0.4459872245788574, -0.152411550283432, 0.03074292652308941, -0.24007007479667664, -0.5792403221130371, -0.8007304668426514, -0.18830326199531555, 0.03406986594200134, 0.5237458348274231, -0.9140843152999878, 0.6863788962364197, -0.13759759068489075, -0.3439023494720459, -0.629080057144165, 0.0821726843714714, -0.16267621517181396, 0.49700960516929626, 0.4948998987674713, -0.03953169658780098, -1.032001256942749, -1.0656781196594238, -0.19247967004776, 0.08892995864152908, -0.1557205617427826, 0.2571255564689636, 0.5401846766471863, -0.68310546875, 0.4825502038002014, -0.29490581154823303, -0.6121042966842651, -0.24338282644748688, 0.3080829381942749, 0.0780177116394043, 0.3500504195690155, 0.09963908046483994, -0.5836531519889832, -0.02463201992213726, -0.057843275368213654, -0.9951441884040833, -0.7050022482872009, -0.2469833791255951, 0.03984343260526657, 0.5386180281639099, 0.801003634929657, -0.35525211691856384, 0.41328611969947815, 0.4154910147190094, -0.05319388210773468, 0.48799964785575867, -0.09359468519687653, 0.3425884544849396, -1.2502691745758057, -0.31902071833610535, -0.40308481454849243, -0.15593427419662476, -0.8378090262413025, -0.21193264424800873, -0.1712035834789276, -0.05915313586592674, -0.22840969264507294, 0.3629445731639862, -0.317324697971344, 0.12047789990901947, -0.4675259590148926, 0.08221584558486938, -0.06925268471240997, 0.47701379656791687, 0.21320129930973053, 0.7333407998085022, 0.1973532885313034, -0.47884413599967957, 0.3282613158226013, 0.06969005614519119, -0.16260434687137604, 0.29430314898490906, -0.3901752829551697, 0.36703234910964966, -0.029665842652320862, 0.05346312373876572, -1.0278385877609253, -0.7142139673233032, 0.44074347615242004, -0.5425230860710144, 0.04151858761906624, 0.21208447217941284, -0.48158782720565796, -0.39011189341545105, -0.38505324721336365, 0.17417874932289124, 0.35983866453170776, -0.505955696105957, 0.8873818516731262, 0.41998589038848877, 0.18651755154132843, -0.4078209102153778, -0.7926304936408997, 0.4346230924129486, -0.3777848780155182, -0.5730724930763245, 0.3965820372104645, 0.19830381870269775, -0.273021936416626, -0.2473902404308319, -0.22895397245883942, 0.13609646260738373, 0.09448204189538956, 0.41785627603530884, 0.21154113113880157, -0.07447431236505508, 0.04606180265545845, 0.059805504977703094, -0.08404716849327087, 0.2795671820640564, -0.2637677788734436, 0.8538751006126404, 0.06730440258979797, -0.4064590036869049, -0.4400244355201721, 0.08190037310123444, 0.5608701705932617, 0.2155834287405014, 0.5577105283737183, 0.6700667142868042, -0.8608863949775696, -0.42528894543647766, -0.7189309597015381, -0.6380138397216797, -0.5167495608329773, 0.29953497648239136, -0.4030890464782715, -0.8150920271873474, 0.5243508815765381, 0.12992660701274872, -0.1491919755935669, 0.39371058344841003, 0.6726678013801575, -0.015507528558373451, 1.078848958015442, 0.13950370252132416, 0.2106315940618515, 0.034134943038225174, -0.06821000576019287, 0.5095164179801941, -0.5154514312744141, -0.3921259343624115, -0.44794321060180664, -0.29219675064086914, -0.6600512862205505, -0.6384157538414001, 0.26233381032943726, -0.1420009583234787, 0.3269973397254944, 0.5074368715286255, -0.7137147784233093, 0.3903158903121948, 0.48750829696655273, 0.02233104594051838, 0.3066368103027344, -0.0006133623537607491, -0.06935258954763412, -0.3052615523338318, -0.411978155374527, -0.5991600155830383, 0.8762953281402588, 0.13076424598693848, 0.5601599812507629, -0.2542915940284729, 0.9529001116752625, 0.503505289554596, 0.06062938645482063, -0.7788590788841248, 0.696410059928894, 0.010542573407292366, -0.4213239848613739, -0.3324262201786041, -0.32743924856185913, -0.7325108051300049, 0.41211503744125366, -0.21424229443073273, -0.6464982628822327, 0.21795468032360077, -0.23463313281536102, -0.08996347337961197, 0.11619274318218231, -0.5202511548995972, 0.6244124174118042, -0.22354361414909363, -0.3088371455669403, -0.0579206682741642, -0.4041946828365326, 0.591638445854187, -0.4147621989250183, 0.19598309695720673, 0.12939129769802094, 0.11328312009572983, 0.6772730350494385, -0.46425750851631165, 0.7617090940475464, -0.07959842681884766, -0.27398794889450073, 0.3380022644996643, 0.1255761682987213, 0.6105851531028748, 0.11876863986253738, -0.13238243758678436, 0.031156467273831367, -0.1150551587343216, 0.02171461097896099, -0.6289957165718079, 0.6690673828125, -0.3746167719364166, -0.7485345602035522, -0.5189079642295837, -0.496967077255249, -0.38521847128868103, -0.05040501803159714, 0.5974757075309753, 0.29057812690734863, 0.02012280561029911, 0.31786417961120605, 0.48783522844314575, -0.2959868907928467, 0.23673798143863678, -0.06278123706579208, -0.2967955768108368, -0.699728786945343, 0.996876060962677, 0.03304503113031387, -0.09893310815095901, -0.008132329210639, 0.1099986806511879, -0.5820252299308777, -0.6711354851722717, -0.23231972754001617, 0.16851459443569183, -0.6251999735832214, -0.23496386408805847, -0.9519607424736023, -0.6351311206817627, -0.603397786617279, -0.2711733877658844, -0.19006182253360748, -0.41073599457740784, -0.477883517742157, -0.31104975938796997, 0.10394071787595749, 0.7497599124908447, -0.21869586408138275, 0.3403190076351166, -0.7669810652732849, 0.3976065218448639, 0.33668190240859985, -0.12404593080282211, -0.24459698796272278, -0.7355429530143738, 0.047760769724845886, -0.004127544350922108, -0.319612056016922, -1.0233004093170166, 0.8517447113990784, -0.02302894927561283, 0.5966756939888, 0.3871590197086334, 0.03618777170777321, 0.8884445428848267, -0.2609993517398834, 0.7922460436820984, -0.08931998163461685, -0.8834323287010193, 0.8625792264938354, -0.2278188318014145, 0.006019801367074251, 0.7637848258018494, 0.1794857680797577, -0.46139419078826904, -0.7304546236991882, -0.5722522139549255, -0.7602128386497498, 0.5622081160545349, 0.5426207184791565, 0.30545538663864136, -0.3040916323661804, 0.29060015082359314, 0.36714667081832886, 0.2747175097465515, -0.8485340476036072, 0.21219947934150696, -0.04198743775486946, -0.4186626970767975, 0.15683116018772125, -0.2776792347431183, 0.17291449010372162, -0.2111234962940216, 0.7295634150505066, -0.05650012195110321, 0.033844973891973495, 0.3515859842300415, -0.30973076820373535, 0.0013468693941831589, 0.14411582052707672, 0.7648541927337646, 0.4367642402648926, -0.2920718789100647, 0.2757602632045746, 0.5754976272583008, -0.46854615211486816, 0.027032766491174698, -0.13404573500156403, 0.03937834873795509, 0.23077021539211273, 0.6956425905227661, 0.8379579186439514, 0.08902519196271896, -0.8042147159576416, 0.24650943279266357, 0.014176242984831333, -0.6482120752334595, -0.39211007952690125, 0.2778242230415344, -0.19141744077205658, 0.22212065756320953, 0.45704925060272217, 0.033103734254837036, 0.3802366256713867, -0.5524560213088989, 0.7911020517349243, 0.2753734886646271, -0.6603220701217651, -0.34174177050590515, 0.7552129030227661, -0.08226945251226425, -0.6304779648780823, 0.674085795879364, -0.2893252372741699, -0.7486192584037781, 0.45077836513519287, 0.5251376032829285, 0.9875165224075317, -0.31083372235298157, 0.0939701572060585, 0.389507532119751, 0.4875759184360504, -0.032305117696523666, 0.3673011362552643, 0.00979702454060316, -0.7249553799629211, -0.1869920790195465, -0.6910064220428467, -0.05681257322430611, 0.7288905382156372, -0.4363352358341217, 0.7069687247276306, -0.16433104872703552, -0.08732379972934723, -0.16667582094669342, -0.07507877796888351, -0.24708858132362366, 0.11041006445884705, 0.3377000093460083, 0.36084237694740295, -1.0100438594818115, 0.7128760814666748, 0.26588454842567444, -0.12598870694637299, -0.42484480142593384, -0.014462027698755264, 0.16016589105129242, -0.6986232995986938, 0.3177720904350281, 0.5320591330528259, -0.16997218132019043, 0.022579634562134743, -0.5612562894821167, -0.2130148708820343, 0.985205352306366, 0.07226923108100891, -0.6983028650283813, -0.21587790548801422, 0.3148162364959717, 0.6189426779747009, -0.387636661529541, -0.0964752733707428, 0.7724074125289917, 0.6861622929573059, 0.2921608090400696, -0.58065265417099, -0.02735177055001259, -0.13363106548786163, -0.17075838148593903, 0.09539952129125595, 0.06419779360294342, 0.5015217065811157, -0.043977897614240646, -0.2571699321269989, -0.035143136978149414, 0.6696226596832275, 0.6187009215354919, 0.6335898041725159, 0.7241815328598022, 0.7666208148002625, 0.908646285533905, -0.1321684569120407, 0.6751005053520203, -0.2436549812555313, -0.1499074399471283, 1.3183659315109253, -0.4217062294483185, 0.5223256349563599, 0.6924682259559631, 0.12187417596578598, 0.046399038285017014, 0.830065131187439, -0.33651015162467957, 0.5144597887992859, 0.4266721308231354, -0.1623743623495102, -0.3339960277080536, -0.2623603045940399, -0.358318567276001, 0.5885506868362427, 0.5461028814315796, -0.4006980359554291, 0.0014669696101918817, 0.3932146728038788, -0.3384558856487274, 0.1709069311618805, 0.0957997664809227, 0.8899000287055969, 0.1779903620481491, -0.6920276880264282, 0.429229736328125, -0.05123968422412872, 0.7354527711868286, -0.1962490677833557, -0.2599119544029236, -0.38347914814949036, -0.06237611919641495, -0.15069806575775146, -0.4637316167354584, 0.7072404623031616, -0.2192019373178482, 0.2908026874065399, -0.12198431044816971, 0.9438742399215698, -0.3647041916847229, -0.5879514813423157, 0.2957325577735901, 0.5101971626281738, 0.2697755992412567, -0.2982341945171356, -0.3211461007595062, 0.19517715275287628, 0.2133994996547699, -0.03297842666506767, -0.038022302091121674, 0.6806596517562866, -0.2776910960674286, 0.6018527150154114, 0.5749224424362183, 0.1032692939043045, 0.23739711940288544, 0.5033502578735352, 0.6704582571983337, -0.5753023624420166, -0.2357524037361145, -1.0292474031448364, 0.2269083857536316, -0.16421349346637726, -0.019603844732046127, 0.5997908115386963, 0.6974700689315796, 0.6624467968940735, -0.24021117389202118, 0.5966728329658508, 0.1256553828716278, 0.11844293773174286, -0.6455248594284058, 0.6302818655967712, -0.707771360874176, 0.43780258297920227, -0.16178813576698303, -1.0463309288024902, -0.3044924736022949, 0.826389729976654, -0.07849804311990738, -0.09215422719717026, 0.8655456304550171, 1.206652283668518, 0.1229490414261818, 0.37795311212539673, 0.4785005748271942, 0.15177643299102783, 0.09151101857423782, 0.4149723947048187, 1.2029601335525513, -0.5671899318695068, 0.3772737681865692, -0.33644792437553406, 0.3214193880558014, -0.22668522596359253, -0.5884569883346558, -1.0180727243423462, -1.0922869443893433, -0.3491947650909424, -0.39430907368659973, 0.052343662828207016, 0.88604336977005, 0.47876831889152527, -1.1104469299316406, -0.03934172913432121, -0.5022957921028137, 0.06341826915740967, 0.16288547217845917, -0.30571433901786804, 0.15329070389270782, -0.6082828640937805, -0.8305901885032654, 0.6168020963668823, 0.43827131390571594, 0.2625637948513031, -0.24332450330257416, 0.05516332387924194, -0.09083663672208786, 0.35206541419029236, 0.5109109282493591, -0.578369677066803, -0.8140401840209961, -0.3329664468765259, 0.11378610879182816, -0.07185348868370056, 0.009382064454257488, 0.7656745314598083, -0.7412538528442383, 0.3271331191062927, 0.737819492816925, 0.7117234468460083, 0.33879151940345764, 0.08947448432445526, 0.5845867395401001, -0.6362271308898926, 0.02312495745718479, 0.5607336163520813, 0.20551058650016785, 0.21260973811149597, -0.5410534739494324, 0.8636873960494995, 0.4922926425933838, -0.4588537812232971, -1.3637983798980713, -0.1204429641366005, -0.7788561582565308, -0.48943495750427246, 0.8000078201293945, 0.633955717086792, -0.3113248944282532, -0.3666146695613861, -0.3867245316505432, 0.29145556688308716, 0.04200342297554016, 1.0940008163452148, 0.992434561252594, -0.05527789890766144, -0.35180991888046265, -0.7764051556587219, 0.7876107692718506, 0.4322294592857361, -1.0211001634597778, 0.04287536442279816, 0.6538237929344177, -0.24080021679401398, 0.14194950461387634, 0.6116078495979309, -0.1564175933599472, -0.023053450509905815, -0.044419001787900925, -0.08748595416545868, -0.060403451323509216, -0.6117351055145264, -0.4500155448913574, 0.1766902655363083, -0.4131818413734436, -0.20221765339374542 ]
http://arxiv.org/abs/2403.00953v1
http://arxiv.org/pdf/2403.00953v1
AutoRD: An Automatic and End-to-End System for Rare Disease Knowledge Graph Construction Based on Ontologies-enhanced Large Language Models
2024-03-01T20:06:39
2024-03-01T20:06:39
Lang Cao, Jimeng Sun, Adam Cross
cs.CL
cs.CL, cs.AI
Objectives: Our objective is to create an end-to-end system called AutoRD, which automates extracting information from clinical text about rare diseases. We have conducted various tests to evaluate the performance of AutoRD and highlighted its strengths and limitations in this paper. Materials and Methods: Our system, AutoRD, is a software pipeline involving data preprocessing, entity extraction, relation extraction, entity calibration, and knowledge graph construction. We implement this using large language models and medical knowledge graphs developed from open-source medical ontologies. We quantitatively evaluate our system on entity extraction, relation extraction, and the performance of knowledge graph construction. Results: AutoRD achieves an overall F1 score of 47.3%, a 14.4% improvement compared to the base LLM. In detail, AutoRD achieves an overall entity extraction F1 score of 56.1% (rare_disease: 83.5%, disease: 35.8%, symptom_and_sign: 46.1%, anaphor: 67.5%) and an overall relation extraction F1 score of 38.6% (produces: 34.7%, increases_risk_of: 12.4%, is_a: 37.4%, is_acronym: 44.1%, is_synonym: 16.3%, anaphora: 57.5%). Our qualitative experiment also demonstrates that the performance in constructing the knowledge graph is commendable. Discussion: AutoRD demonstrates the potential of LLM applications in rare disease detection. This improvement is attributed to several design, including the integration of ontologies-enhanced LLMs. Conclusion: AutoRD is an automated end-to-end system for extracting rare disease information from text to build knowledge graphs. It uses ontologies-enhanced LLMs for a robust medical knowledge base. The superior performance of AutoRD is validated by experimental evaluations, demonstrating the potential of LLMs in healthcare.
[ -0.3028573989868164, -0.7950443625450134, 0.411527156829834, -0.43717408180236816, -0.2888938784599304, 0.2210894525051117, 0.12379610538482666, -0.607520580291748, 0.5512937903404236, 0.47992849349975586, -0.22426317632198334, -0.6896753311157227, -0.7191773653030396, 0.3459855914115906, -0.4194895625114441, 0.9947527050971985, 0.0441078245639801, 0.19766658544540405, -0.011304778046905994, -0.1753486543893814, 0.04925301671028137, -0.4203580915927887, -0.470186710357666, -0.2978014051914215, 0.2054193615913391, 0.6071186065673828, 0.9731042385101318, 0.884666919708252, 0.7510629296302795, 0.2645706534385681, 0.04295323044061661, 0.1765626072883606, -0.6856319308280945, 0.3745731711387634, -0.02182924933731556, 0.03747024014592171, -1.0610395669937134, -0.16546131670475006, 0.27353331446647644, 0.7787171602249146, -0.1242169663310051, -0.10710350424051285, 0.008113833144307137, 0.7251827120780945, -0.15254035592079163, 0.13775667548179626, -0.2702612578868866, 0.41813260316848755, -0.35576218366622925, -0.24489489197731018, 0.10417033731937408, -0.23962032794952393, 0.30631178617477417, -0.7677204608917236, 0.03145657852292061, 0.27407732605934143, 0.79750657081604, 0.4397457540035248, -0.47571253776550293, -0.5305933356285095, -0.514092743396759, 0.33373749256134033, -0.6414048075675964, 0.30767181515693665, 0.20567192137241364, 0.4863458573818207, -0.18662723898887634, -1.1356561183929443, -0.4725308418273926, -0.13611827790737152, -0.097050741314888, 0.24874798953533173, -0.4154142737388611, 0.30265066027641296, 0.18673382699489594, 0.7633740901947021, -0.9189004302024841, 0.28548696637153625, -0.2956424057483673, -0.2632575035095215, 0.622742235660553, 0.6235225796699524, 0.4142773747444153, -0.44467148184776306, -0.400164932012558, 0.25978419184684753, -0.6621313095092773, -0.5404645800590515, 0.09920896589756012, -0.07860002666711807, 0.04743274673819542, 0.8083324432373047, -0.6083347201347351, 1.1193734407424927, 0.041928187012672424, -0.00984992366284132, 0.5210859179496765, -0.4724917709827423, -0.23890775442123413, 0.026178652420639992, 0.8885593414306641, 0.38688188791275024, 0.30465835332870483, -0.33044981956481934, -0.1431465446949005, -0.13493363559246063, -0.06384976953268051, -0.5540719628334045, -0.6263877153396606, 0.21915853023529053, -0.8310075998306274, -0.4429008662700653, -0.36757057905197144, -0.785548746585846, -0.23794956505298615, 0.0805421993136406, 0.3666107952594757, -0.5504857301712036, -0.1610991656780243, -0.052105486392974854, -0.13661575317382812, 0.05179637670516968, 0.46672406792640686, -0.4568749964237213, 0.4569147229194641, 0.132572740316391, 0.6845914125442505, -0.7221381664276123, -0.03348417207598686, -0.5216196179389954, 0.33593523502349854, -0.03290276601910591, 1.055548071861267, -0.48239314556121826, -0.5521655082702637, -0.49648845195770264, 0.08865334838628769, 0.05706537887454033, -0.4557836949825287, 0.1763889193534851, -0.4852164089679718, 0.1564839780330658, -0.04454372823238373, -0.7825050354003906, 0.06498714536428452, 0.12553070485591888, -0.8426944017410278, 0.6899868249893188, 0.43438243865966797, -0.656408429145813, 0.37806880474090576, -0.5189341902732849, -0.5397042036056519, 0.4743797183036804, -0.42788246273994446, -0.0012557122390717268, -0.28045740723609924, 0.10159670561552048, 0.3407363295555115, -0.6525576114654541, 0.027090858668088913, -0.33910471200942993, 0.09579205513000488, -0.03745843470096588, -0.3152470290660858, 0.6505967974662781, 0.5771887898445129, -0.3314632177352905, -0.3631952404975891, -0.8988585472106934, 0.28561490774154663, 0.20626020431518555, -0.23285408318042755, -0.35677510499954224, -0.2870636582374573, -0.1701764464378357, 0.280909925699234, 0.4019376337528229, -0.47744548320770264, 0.3246159851551056, -0.7408134937286377, 0.14239080250263214, 0.422952264547348, 0.13334937393665314, 0.2784405052661896, -0.4505082666873932, 0.7382524013519287, -0.07157021760940552, 0.3230646848678589, 0.05299438163638115, -0.8048200011253357, -0.4562761187553406, -0.1972629576921463, 0.5374294519424438, 0.6731182336807251, -0.5323910117149353, 0.8750940561294556, -0.29984375834465027, -0.21083945035934448, -0.3693092465400696, 0.11936644464731216, 0.4526926577091217, 0.8507493734359741, 0.355832040309906, -0.8189583420753479, -0.3802016079425812, -0.5343236923217773, -0.04292750358581543, -0.16605286300182343, 0.34366780519485474, 0.5254523158073425, 0.36276358366012573, -0.40330541133880615, 1.002941370010376, -0.8706998825073242, -0.7403059601783752, -0.1925177127122879, -0.11878267675638199, 0.08440373837947845, 0.3619033992290497, 0.48045244812965393, -0.421774685382843, -0.7587315440177917, 0.27843132615089417, -1.0847870111465454, -0.3015943467617035, 0.5869849920272827, 0.19183824956417084, 0.3394108712673187, 0.47731706500053406, -0.532332718372345, 0.6277817487716675, 0.5247003436088562, -0.4737105071544647, 0.46362408995628357, -0.5415160655975342, 0.09548944979906082, -0.800321638584137, 0.3327568471431732, -0.5180065035820007, -0.5326413512229919, -0.37957727909088135, -0.19857262074947357, -0.32044345140457153, -0.008731626905500889, -0.0016429995885118842, 0.6480923295021057, -0.6500056982040405, -0.07833641022443771, -0.20128878951072693, 0.2006932646036148, 0.1554669439792633, -0.08310280740261078, -0.14499177038669586, 0.25020459294319153, 0.5534749627113342, -0.4307589828968048, 0.6355093717575073, 0.25265783071517944, -0.2570256292819977, 0.579460620880127, -0.7186682820320129, -0.1553783267736435, 0.2456209361553192, 0.2131481021642685, -1.151549220085144, -0.2688467800617218, 0.23602105677127838, -0.7216925024986267, 0.5409192442893982, -0.03741873800754547, -0.6028262376785278, -0.6595678925514221, 0.2502354085445404, 0.12953810393810272, 0.46768391132354736, -0.048948436975479126, 0.45876190066337585, 0.8714885115623474, -0.34907618165016174, -0.5133659243583679, -0.8190804123878479, 0.23962873220443726, 0.06961673498153687, -0.5847118496894836, 0.15243734419345856, -0.08758877217769623, -0.28273338079452515, 0.5300984382629395, 0.023659899830818176, -0.4106394350528717, -0.025564778596162796, 0.01920546218752861, -0.048147596418857574, -0.13840429484844208, 0.3268773555755615, 0.15464933216571808, -0.39088672399520874, -0.19892102479934692, -0.2647632658481598, 0.49742603302001953, -0.11788808554410934, -0.5777242183685303, -0.2345825433731079, 0.3012765645980835, 0.51676344871521, -0.03223605081439018, 0.14673185348510742, 0.2171233892440796, -0.33797383308410645, -0.0338183268904686, -0.48020678758621216, -0.07186185568571091, -0.42289942502975464, 0.32612156867980957, -0.22336958348751068, -0.7040538787841797, 0.6892970204353333, -0.09403117746114731, -0.09361725300550461, 0.8352574110031128, 0.5147103071212769, -0.10591559112071991, 0.8909737467765808, 0.5145077109336853, -0.038041964173316956, -0.24085918068885803, -0.23262768983840942, 0.022002998739480972, -0.5059940814971924, -0.24550853669643402, -0.301396906375885, -0.11619098484516144, -0.4290563464164734, -0.5970993638038635, 0.5766375064849854, -0.007248724810779095, -0.01732066459953785, 0.001977217383682728, -0.7971265912055969, 0.06468674540519714, 0.020002061501145363, 0.08642082661390305, 0.8151172399520874, 0.03262367472052574, -0.3217049837112427, -0.1102706640958786, -1.0524547100067139, -0.3570866286754608, 1.7003535032272339, 0.20237421989440918, 0.9392839670181274, 0.015762751922011375, 0.7908098697662354, 0.567121684551239, 0.5088356733322144, -0.7005816102027893, 0.28343403339385986, -0.44489267468452454, -0.7882164716720581, -0.5863525867462158, -0.4603624939918518, -1.1520336866378784, -0.04261293262243271, -0.07120884954929352, -0.46363991498947144, 0.28159603476524353, 0.2159471958875656, -0.5723883509635925, 0.16345830261707306, -0.4815223217010498, 0.6833691596984863, -0.5786815285682678, 0.04054049402475357, -0.09457593411207199, -0.8822983503341675, 0.26928848028182983, -0.41773632168769836, 0.32054078578948975, 0.20623807609081268, -0.08195251226425171, 0.7773215174674988, -1.011849284172058, 0.7035605907440186, 0.023137837648391724, -0.07389244437217712, 0.11988364905118942, -0.0354238823056221, 0.6387165784835815, 0.14730092883110046, -0.1766480803489685, 0.24951428174972534, -0.05239913612604141, -0.01300048641860485, -0.46749189496040344, 0.8260358572006226, -0.7512392401695251, -0.4198743402957916, -0.6342897415161133, -0.5320062637329102, -0.08115313947200775, 0.5851611495018005, 0.3454948365688324, 0.6059132814407349, -0.5982936024665833, -0.19964230060577393, 0.7478278875350952, -0.318927526473999, 0.0548400804400444, 0.8544061183929443, -0.2106548547744751, -0.6376160383224487, 0.8725964426994324, 0.38713860511779785, 0.4559744596481323, 0.27603527903556824, 0.12846045196056366, -0.12335020303726196, -0.44913050532341003, -0.6711583137512207, 0.11020133644342422, -0.997912585735321, -0.3067498505115509, -1.2820619344711304, -0.31872695684432983, -0.7506768703460693, 0.08064837753772736, -0.36517369747161865, -0.798803448677063, -0.46587690711021423, 0.1226361095905304, 0.7018754482269287, 0.9955185055732727, -0.4513203799724579, 0.012379416264593601, -0.651119589805603, 0.5122795701026917, 0.21167200803756714, 0.16020365059375763, -0.0936744436621666, -0.6608190536499023, -0.07750565558671951, -0.2197515219449997, -0.06110202148556709, -0.882063090801239, 0.6764518022537231, 0.3478144705295563, 0.9206312298774719, 0.5329160094261169, 0.25161197781562805, 0.7448968291282654, -0.3172869384288788, 0.4637738764286041, 0.20807161927223206, -0.6236114501953125, 0.36180374026298523, -0.17448052763938904, 0.19891148805618286, 0.5718382596969604, 0.45892876386642456, -0.2240866869688034, -0.4057275354862213, -0.9630846977233887, -1.0081701278686523, 0.5534412264823914, 0.0671302080154419, -0.5472438335418701, -0.06048079580068588, 0.2718578279018402, 0.13483168184757233, 0.10008736699819565, -0.4277670681476593, -0.8684694766998291, -0.06137511879205704, -0.16787207126617432, -0.0731392502784729, -0.20964014530181885, -0.4190959334373474, -0.3368971049785614, 0.27516815066337585, -0.11781470477581024, 0.26165303587913513, 0.5673686861991882, -0.4038795530796051, -0.4008476734161377, -0.06814552843570709, 0.0035805855877697468, 0.5724346041679382, -0.07549768686294556, 0.03079415112733841, 0.3042633831501007, -0.6181442737579346, -0.10355185717344284, 0.6194573044776917, 0.04104327782988548, 0.1588183045387268, 0.2980009913444519, 0.30110272765159607, 0.08619621396064758, -0.6359714269638062, 0.7263550758361816, -0.08016566932201385, -0.06789494305849075, -0.3609728217124939, 0.0006868482450954616, -0.026219969615340233, 0.052220579236745834, 0.4074677526950836, -0.15591756999492645, 0.3145008385181427, -0.2055312693119049, 0.7292554378509521, 0.5357279777526855, -0.560961127281189, -0.1365533471107483, 0.6187770962715149, 0.26365789771080017, 0.023560330271720886, 0.4681423306465149, -0.3905045688152313, -0.20431794226169586, 0.8124710321426392, 0.44849827885627747, 0.4794219434261322, -0.2923157215118408, -0.0016308506019413471, 0.037186987698078156, 0.4370152950286865, 0.16018159687519073, 0.5033014416694641, 0.1139821708202362, -0.35996291041374207, -0.36604705452919006, -0.6670889854431152, -0.2272547036409378, -0.08884484320878983, -0.4060281813144684, 0.3460730016231537, -0.033417098224163055, -0.12163429707288742, 0.012579287402331829, 0.016028784215450287, -0.6002284288406372, 0.48906224966049194, -0.2067055106163025, 0.7943914532661438, -0.5434858798980713, 0.989483654499054, 0.7568411827087402, -0.3908224403858185, -0.6754959225654602, -0.13270996510982513, 0.05016402527689934, -0.997316300868988, 1.0740715265274048, -0.3604179322719574, 0.11133809387683868, 0.5516545176506042, -0.1934814453125, -1.3734570741653442, 1.2108803987503052, -0.07621721923351288, -0.6239494681358337, -0.1482669860124588, 0.12571291625499725, 0.7074565887451172, -0.44402775168418884, 0.5279994606971741, 0.3745608627796173, 0.5682205557823181, 0.07818952202796936, -1.3346837759017944, 0.19789808988571167, -0.17759492993354797, -0.5569123029708862, 0.13904666900634766, -0.5049614310264587, 0.7187064290046692, -0.4263592064380646, -0.20150594413280487, 0.18617968261241913, 0.31910866498947144, -0.007576120551675558, 0.2685084342956543, 0.3545168340206146, 1.0478161573410034, 0.9413241147994995, 0.06734716147184372, 1.002227783203125, -0.7797071933746338, 0.319025456905365, 0.7464763522148132, -0.47594282031059265, 0.11699001491069794, -0.02257530391216278, -0.041148267686367035, 0.47129979729652405, 0.3487441837787628, 0.10922476649284363, 0.5649338364601135, 0.25094544887542725, -0.0019198826048523188, -0.2850516438484192, 0.12362704426050186, -0.7868958115577698, 0.42101815342903137, 0.7014167308807373, -0.6659000515937805, -0.48141518235206604, 0.03434948995709419, -0.10318221151828766, -0.4184523820877075, 0.07836951315402985, 0.7556173205375671, 0.21335600316524506, -0.3609229028224945, 0.8019613027572632, -0.371940016746521, 0.198395237326622, -0.6531587243080139, -0.09598195552825928, -0.09712249040603638, 0.15561777353286743, -0.3692144453525543, -0.8524447679519653, 0.3354044258594513, -0.11618984490633011, -0.22038599848747253, 0.06754429638385773, 1.0305991172790527, -0.2155507355928421, -0.3163631856441498, 0.4206438958644867, 0.9596020579338074, 0.6260021328926086, 0.43190088868141174, -0.768101155757904, -0.10799507051706314, -0.11286631226539612, -0.366216242313385, 0.42351603507995605, 0.8476258516311646, -0.12175323814153671, 0.6678435802459717, 0.5939300656318665, 0.48686304688453674, -0.34796205163002014, -0.1400177925825119, 1.0575567483901978, -0.8069503307342529, -0.3884117305278778, -0.5328782200813293, 0.015147545374929905, -0.15046639740467072, -0.5285259485244751, 0.7742376923561096, 0.7121309041976929, 0.46069201827049255, 0.3821641802787781, 1.1096025705337524, -0.44197362661361694, 0.6574101448059082, -0.18265341222286224, 1.2005964517593384, -0.7196174263954163, 0.31716856360435486, -0.42340731620788574, -0.4217630624771118, -0.5707380175590515, 0.449735552072525, -0.18692944943904877, 0.07043725997209549, 0.9922177195549011, 0.6492018699645996, 0.05365479364991188, -0.1814357340335846, 0.46264147758483887, 0.508405864238739, 0.1572292298078537, 0.5964098572731018, 0.42551159858703613, -0.3402416706085205, 0.847844123840332, -0.007616425398737192, -0.6216371655464172, -0.3590751588344574, -0.7131205797195435, -0.47991493344306946, -0.233366921544075, -0.29790711402893066, -0.6089909076690674, 0.5287060141563416, 0.5359833240509033, 0.452631413936615, -0.630584716796875, -0.16233891248703003, -0.13048899173736572, 0.07193265855312347, -0.04621998220682144, -0.20499975979328156, 0.5427783131599426, -0.23370784521102905, -0.3626178801059723, 0.5093257427215576, 0.49744391441345215, -0.07057034224271774, -0.2751557528972626, -0.17966799437999725, -0.07096824049949646, -0.6082206964492798, 0.45133423805236816, 0.5717988014221191, -0.3910709619522095, 0.12381041049957275, 0.07587571442127228, -0.429646760225296, 0.09661692380905151, 0.5167787075042725, -1.0000159740447998, 0.8249849081039429, 0.6006149649620056, 0.24909864366054535, 0.3935639560222626, -0.06795726716518402, 0.8173880577087402, 0.06726349145174026, -0.249994695186615, 0.5522884726524353, 0.2708999216556549, 0.10291291773319244, -0.5196244120597839, 0.457349568605423, 0.6707842350006104, -0.8503574132919312, -0.7280834317207336, 0.17474736273288727, -0.8576254844665527, -0.3020809590816498, 1.4766902923583984, -0.12373935431241989, -0.1272275596857071, -1.019544005393982, 0.16069301962852478, 0.4521571099758148, -0.3025992512702942, 0.7231721878051758, 0.11766668409109116, -0.6367140412330627, 0.3277490437030792, -0.534210205078125, 0.6626291871070862, 0.34739041328430176, -0.8770942091941833, -0.12792682647705078, 0.5597931742668152, 0.5136404633522034, -0.1106722429394722, 1.1970224380493164, -0.6245877742767334, 0.41841667890548706, -0.3719770610332489, 0.24916566908359528, -0.02001456916332245, 0.019978562369942665, -0.3382627069950104, 0.03655378893017769, -0.01817907579243183, 0.3232586979866028 ]
http://arxiv.org/abs/2403.00952v1
http://arxiv.org/pdf/2403.00952v1
MediSwift: Efficient Sparse Pre-trained Biomedical Language Models
2024-03-01T20:03:44
2024-03-01T20:03:44
Vithursan Thangarasa, Mahmoud Salem, Shreyas Saxena, Kevin Leong, Joel Hestness, Sean Lie
cs.CL
cs.CL, cs.LG
Large language models (LLMs) are typically trained on general source data for various domains, but a recent surge in domain-specific LLMs has shown their potential to outperform general-purpose models in domain-specific tasks (e.g., biomedicine). Although domain-specific pre-training enhances efficiency and leads to smaller models, the computational costs of training these LLMs remain high, posing budgeting challenges. We introduce MediSwift, a suite of biomedical LMs that leverage sparse pre-training on domain-specific biomedical text data. By inducing up to 75% weight sparsity during the pre-training phase, MediSwift achieves a 2-2.5x reduction in training FLOPs. Notably, all sparse pre-training was performed on the Cerebras CS-2 system, which is specifically designed to realize the acceleration benefits from unstructured weight sparsity, thereby significantly enhancing the efficiency of the MediSwift models. Through subsequent dense fine-tuning and strategic soft prompting, MediSwift models outperform existing LLMs up to 7B parameters on biomedical tasks, setting new benchmarks w.r.t efficiency-accuracy on tasks such as PubMedQA. Our results show that sparse pre-training, along with dense fine-tuning and soft prompting, offers an effective method for creating high-performing, computationally efficient models in specialized domains.
[ -0.10540488362312317, -0.6153871417045593, 0.7672098875045776, 0.10111437737941742, -0.29949629306793213, 0.07094026356935501, -0.4616435766220093, -0.2900506556034088, 0.40225350856781006, 0.5954156517982483, -0.756898045539856, -0.4137231409549713, -0.6714038848876953, 0.0899626687169075, -0.3567526638507843, 1.1449155807495117, -0.02215457893908024, 0.24490471184253693, -0.20747558772563934, -0.26228225231170654, -0.07128150761127472, -0.3654578924179077, -0.45226892828941345, -0.5121505856513977, 0.9233861565589905, 0.2619592845439911, 0.7517001628875732, 0.4061468541622162, 0.44412171840667725, 0.26366326212882996, 0.0874902531504631, 0.29084542393684387, -0.6610040068626404, 0.07612726837396622, -0.10821041464805603, -0.17978942394256592, -0.537373960018158, -0.02420259825885296, 0.4585273563861847, 1.1833418607711792, -0.19205042719841003, 0.1935892552137375, 0.14927811920642853, 0.7942306995391846, -0.5122501850128174, -0.22165705263614655, -0.6136643290519714, -0.1534431129693985, -0.2567136883735657, -0.1943177431821823, -0.3133563697338104, -0.15211087465286255, 0.1780330091714859, -0.740750789642334, 0.13915765285491943, -0.17092199623584747, 0.9124724268913269, 0.44731611013412476, -0.1192655935883522, 0.11975093930959702, -0.4470013678073883, 0.6958419680595398, -0.43871310353279114, 0.638258695602417, 0.4301125705242157, -0.13048921525478363, -0.39036431908607483, -1.1711134910583496, -0.14608971774578094, -0.18286627531051636, 0.07098688930273056, 0.002143512014299631, -0.35616016387939453, 0.26768335700035095, 0.05464620888233185, -0.09018882364034653, -0.8171818256378174, 0.199503555893898, -0.3457472622394562, 0.0482267290353775, 0.25395461916923523, 0.10291258990764618, 0.0383664034307003, 0.2782827913761139, -0.08775252848863602, -0.026789307594299316, -0.748041033744812, -0.20148581266403198, -0.12019258737564087, 0.24192523956298828, -0.10483352094888687, 0.47293999791145325, 0.07743223011493683, 0.5464854836463928, 0.14098362624645233, -0.1551639586687088, 0.4144839346408844, -0.09202507883310318, -0.23148126900196075, -0.4323994815349579, 0.618812084197998, -0.09262268990278244, 0.4579026401042938, -0.3422258496284485, -0.14593687653541565, -0.0982404574751854, 0.40416279435157776, -1.0134944915771484, -0.31158095598220825, 0.34669309854507446, -0.7103351354598999, -0.19946430623531342, -0.7095105648040771, -0.4188849627971649, -0.37953945994377136, -0.44786810874938965, 0.5008209347724915, -0.5913630723953247, -0.21012242138385773, 0.4246975779533386, 0.17790944874286652, -0.27036425471305847, 0.27682480216026306, -0.769292950630188, 0.5670532584190369, 0.3124607503414154, 0.913195013999939, -0.38135191798210144, -0.2215336114168167, -0.5905918478965759, 0.19971559941768646, -0.2090432196855545, 0.9216792583465576, -0.3941280245780945, -0.37382689118385315, -0.13958129286766052, 0.031001249328255653, -0.27144166827201843, -0.463008314371109, 0.405285507440567, -0.40302133560180664, -0.22905756533145905, -0.010563524439930916, -0.5737450122833252, 0.3651633858680725, -0.11026084423065186, -0.47566258907318115, 0.8027209639549255, 0.28658851981163025, -0.5972758531570435, 0.42809364199638367, -0.6091017723083496, -0.6315802931785583, 0.42607632279396057, -0.4335577189922333, -0.5370326042175293, 0.2351687103509903, 0.12068762630224228, 0.72585529088974, -0.3446770906448364, 0.35690391063690186, -0.42464062571525574, -0.47149190306663513, 0.35388970375061035, -0.21583683788776398, 0.48301956057548523, 0.3614124059677124, -0.14192678034305573, 0.04508579522371292, -0.725605309009552, 0.13824397325515747, 0.19455116987228394, -0.3181721568107605, -0.4307679831981659, 0.15468040108680725, 0.3867175877094269, -0.025315824896097183, 0.12511782348155975, -0.33968713879585266, 0.18479023873806, -0.6899846196174622, 0.4064726233482361, 0.5030017495155334, -0.21079353988170624, 0.44533637166023254, -0.22873128950595856, 0.37286728620529175, -0.2867683470249176, 0.2162049412727356, 0.18808512389659882, -0.2910879850387573, -0.3244239091873169, -0.9097574353218079, 0.4610372483730316, 0.40605980157852173, -0.6746068596839905, 0.33430323004722595, -0.2462601512670517, -0.4966045022010803, -0.5125588774681091, 0.14608760178089142, 0.24795201420783997, 0.42020440101623535, 0.5695354342460632, 0.049773044884204865, -0.20840021967887878, -0.8297035694122314, -0.34570860862731934, 0.19352200627326965, -0.26798561215400696, 0.3296397030353546, 0.3992631733417511, -0.6248803734779358, 0.7152109742164612, -0.5269374847412109, -0.15478087961673737, -0.25035369396209717, 0.22673991322517395, 0.30401358008384705, 0.5966387987136841, 0.6914340257644653, -0.696343719959259, -0.2573961615562439, -0.18521688878536224, -0.18846313655376434, -0.364473819732666, -0.085354283452034, -0.041055284440517426, -0.034866683185100555, 0.530705988407135, -0.8499654531478882, 0.22132854163646698, 0.6715694069862366, -0.42144277691841125, 0.3526179790496826, -0.590805172920227, 0.14164213836193085, -0.9331699013710022, 0.33190101385116577, -0.05775441229343414, -0.2913672924041748, -0.6822341680526733, -0.37953221797943115, 0.23549510538578033, -0.09622161090373993, -0.22716999053955078, 0.5689184069633484, -0.38344109058380127, 0.14767369627952576, -0.3445119261741638, -0.11730020493268967, -0.011712150648236275, 0.4337122440338135, 0.19003188610076904, 0.7700092792510986, 0.3879767656326294, -0.4412861764431, -0.2904762327671051, 0.16700224578380585, -0.23695075511932373, 0.1623486876487732, -0.9316067099571228, -0.16235744953155518, -0.15766239166259766, 0.14194603264331818, -0.77189701795578, -0.14948426187038422, -0.09214434772729874, -0.249375581741333, 0.5631318688392639, -0.155182883143425, -0.5377177596092224, -0.3622521162033081, -0.12226207554340363, 0.43621280789375305, 0.7174726128578186, -0.4784129858016968, 0.4935537278652191, 0.4789719879627228, -0.3887636363506317, -0.5120136141777039, -0.721936047077179, -0.16493970155715942, 0.02335161156952381, -0.39579689502716064, 0.5230302214622498, -0.1701265573501587, 0.1393008828163147, -0.15141810476779938, -0.014674575068056583, -0.16512194275856018, 0.11285991966724396, 0.260580837726593, 0.29374462366104126, -0.04673958942294121, 0.2707047462463379, 0.4301286041736603, -0.21715742349624634, -0.23706795275211334, -0.501643180847168, 0.40848731994628906, 0.09525730460882187, -0.4139697551727295, -0.10198888182640076, 0.3482080399990082, 0.4864597022533417, -0.18001201748847961, 0.7549456357955933, 0.505741536617279, -0.4818382263183594, -0.21504509449005127, -0.6551088094711304, -0.2600231468677521, -0.5136467814445496, 0.8591564893722534, -0.21438893675804138, -1.0539127588272095, 0.11413345485925674, -0.5089183449745178, 0.08683318644762039, 0.2676648199558258, 0.6498486995697021, -0.1937410533428192, 1.3324519395828247, 0.7551844120025635, 0.1001533642411232, 0.3374752402305603, 0.013507687486708164, -0.03332100063562393, -0.16937723755836487, -0.15774892270565033, -0.7228288650512695, -0.15823335945606232, -0.31188321113586426, -0.5716390013694763, 0.6011497974395752, -0.16412794589996338, -0.40755316615104675, 0.05427529662847519, -0.49390891194343567, 0.48277103900909424, 0.11465369910001755, 0.217641681432724, 0.010783347301185131, 0.42965057492256165, -0.2555687129497528, -0.18184010684490204, -0.9286240339279175, -0.37158045172691345, 1.050935983657837, 0.43580880761146545, 1.0324286222457886, -0.3675205409526825, 0.5095383524894714, 0.17799311876296997, 0.46375834941864014, -0.5080457329750061, 0.2823876440525055, -0.5338879823684692, -0.1488347202539444, -0.1153550073504448, -0.5695607662200928, -1.202043890953064, 0.014246721751987934, -0.6376034617424011, -0.5945184230804443, 0.1561686396598816, 0.2820970416069031, -0.6061770915985107, 0.19143067300319672, -0.5951282382011414, 0.7914445400238037, -0.17795410752296448, -0.38005468249320984, -0.3686705529689789, -0.5659827589988708, 0.12111293524503708, -0.4123880863189697, 0.31509363651275635, -0.08829667419195175, -0.40513309836387634, 0.817686915397644, -0.4530273377895355, 0.6957648992538452, -0.18802706897258759, 0.16193489730358124, -0.08482088148593903, 0.08079619705677032, 0.34784063696861267, -0.038995224982500076, 0.21918094158172607, 0.36366400122642517, 0.27139294147491455, -0.49371665716171265, -0.25025999546051025, 0.7383206486701965, -0.8374972939491272, -0.053436439484357834, -0.23012244701385498, -0.5940559506416321, -0.7719027996063232, 0.26517152786254883, 0.42122507095336914, 0.5318000912666321, -0.08909343183040619, 0.1019788384437561, 1.0588594675064087, -0.46209999918937683, 0.016071660444140434, 0.712510347366333, 0.09727079421281815, -0.4217314124107361, 0.6698907017707825, 0.13215167820453644, 0.1538058966398239, 0.1763296276330948, -0.030563833191990852, -0.23860064148902893, -0.8495849370956421, -0.322845458984375, 0.49596765637397766, -0.23940140008926392, -0.5066912770271301, -0.9576146602630615, -0.17709079384803772, -0.3544800281524658, -0.40198391675949097, -0.5293365716934204, -0.38740870356559753, -0.28530412912368774, 0.27461421489715576, 0.5300384163856506, 0.5588136911392212, -0.0693383514881134, 0.45048344135284424, -1.0433592796325684, 0.400744765996933, -0.02898154780268669, 0.7194653153419495, -0.3720352053642273, -0.5675442218780518, -0.531559944152832, -0.12892132997512817, -0.021130818873643875, -0.7303335070610046, 0.38597571849823, 0.2914428412914276, 0.42245325446128845, 0.30644354224205017, -0.3438127338886261, 0.6927725076675415, -0.8351584672927856, 0.5189366936683655, 0.5159168243408203, -0.5560323596000671, 0.3186214566230774, -0.30452990531921387, 0.29327574372291565, 0.7389222979545593, 0.537621259689331, -0.10876742005348206, -0.29998859763145447, -0.4772137999534607, -0.8357394933700562, 0.4615303575992584, 0.10200563818216324, 0.019400963559746742, -0.03366454690694809, 0.7156325578689575, 0.1664930284023285, 0.10929891467094421, -0.42554914951324463, -0.25164172053337097, 0.23130127787590027, -0.6202228665351868, -0.11467871069908142, -0.19371676445007324, 0.008085393346846104, -0.3532044589519501, 0.6402557492256165, -0.34172242879867554, 0.16547851264476776, 0.19854937493801117, -0.16437165439128876, -0.30137360095977783, 0.044771019369363785, 0.40998074412345886, 0.31016862392425537, -0.025056267157197, 0.026449134573340416, 0.24718286097049713, -0.9137622714042664, 0.05958428606390953, 0.46852344274520874, 0.08885592967271805, 0.011796088889241219, 0.2823925316333771, 0.3943883180618286, 0.3946492075920105, -1.0736169815063477, 0.7147136330604553, -0.1974106729030609, -0.4991450011730194, 0.06483398377895355, -0.08242350816726685, 0.21781806647777557, 0.3307042717933655, 0.27882686257362366, 0.21776752173900604, 0.22125935554504395, 0.1642284095287323, 0.2469746321439743, 0.4844115674495697, -0.1118190661072731, -0.08627062290906906, 0.8129909634590149, 0.029720226302742958, 0.14258742332458496, 0.32994213700294495, 0.34183037281036377, -0.046367015689611435, 0.2460215538740158, 0.42281317710876465, 0.6571161150932312, -0.21024303138256073, 0.004610711708664894, 0.17013129591941833, 0.1740276962518692, -0.23392434418201447, 0.2910420298576355, -0.07360271364450455, -0.4724920690059662, -0.8872283101081848, -0.8880810141563416, -0.18961505591869354, 0.3232419490814209, -0.2834324240684509, 0.2784560024738312, -0.3479510247707367, -0.44864553213119507, 0.11812668293714523, 0.08171162754297256, -0.6893642544746399, 0.26649609208106995, 0.20606718957424164, 1.1753478050231934, -0.7167428135871887, 0.9590203762054443, 0.6053886413574219, -0.20228883624076843, -0.7642737030982971, -0.34766948223114014, -0.3683231472969055, -0.754330039024353, 0.6626226305961609, -0.17684026062488556, -0.2761048972606659, -0.06775705516338348, -0.7978609204292297, -1.0056203603744507, 0.7862960696220398, 0.6170117259025574, -0.8129560351371765, -0.07449313998222351, 0.223971888422966, 0.566116213798523, -0.12333370745182037, 0.1357409954071045, 0.5691380500793457, 0.11772991716861725, -0.10627591609954834, -0.8412010073661804, -0.05092068016529083, -0.3166750371456146, -0.15990328788757324, 0.20819661021232605, -0.3481416404247284, 0.7794700264930725, -0.17271380126476288, 0.1029081642627716, 0.31905102729797363, 0.5843001008033752, 0.33013588190078735, 0.14090898633003235, 0.540978193283081, 0.26571714878082275, 0.8123672008514404, 0.02905348688364029, 0.8382037281990051, -0.4152517318725586, 0.06100281700491905, 0.7013591527938843, -0.4533844590187073, 0.6189403533935547, 0.5984011292457581, -0.17024174332618713, 0.34953776001930237, 0.4995594918727875, 0.2060190737247467, 0.4699597656726837, 0.23156005144119263, -0.2622070610523224, -0.48283272981643677, 0.03109690546989441, -0.39892420172691345, -0.011564572341740131, 0.7087736129760742, -0.2237931340932846, -0.0873604416847229, 0.3639891445636749, 0.12968450784683228, 0.07940040528774261, -0.385672390460968, 0.6489366888999939, 0.19579488039016724, -0.5031448602676392, 0.7087783217430115, -0.049312710762023926, 0.6663730144500732, -1.1274429559707642, 0.06731199473142624, -0.08675272017717361, 0.45856040716171265, -0.132486954331398, -0.4162190556526184, 0.07700005918741226, 0.18978841602802277, -0.18282665312290192, -0.33371472358703613, 1.053858995437622, -0.49151214957237244, -0.3556458055973053, 0.36544352769851685, 0.656914472579956, 0.11456071585416794, 0.028340181335806847, -0.9346373081207275, 0.09161518514156342, -0.33417758345603943, -0.5583341717720032, 0.5975764989852905, 0.3169797956943512, 0.09777366369962692, 0.5585967302322388, 0.6027045249938965, 0.5223193764686584, -0.2907695472240448, 0.31144142150878906, 1.0615397691726685, -0.4147576093673706, -0.3585848808288574, -0.5517095923423767, 0.23980917036533356, -0.08483066409826279, -0.16734935343265533, 0.2631905972957611, 0.48727306723594666, 0.3276363015174866, -0.11105434596538544, 0.6741558313369751, 0.2861591577529907, 0.8823502659797668, -0.43500590324401855, 0.9833548069000244, -0.8183236718177795, 0.005631929729133844, -0.2750421464443207, -0.42252764105796814, -0.5280063152313232, 0.5677171945571899, -0.15672416985034943, 0.25031113624572754, 0.6006113886833191, 0.801535964012146, -0.18454968929290771, -0.10714437067508698, 0.4295971989631653, 0.22356270253658295, -0.03926743566989899, 0.5754647850990295, 0.5894830822944641, -0.13464374840259552, 0.3416280448436737, 0.06269767135381699, -0.5233520865440369, -0.04009576141834259, -0.6780266761779785, -0.9672126173973083, -0.42997628450393677, -0.2736051380634308, -0.4796549081802368, 0.2099984884262085, 1.3239248991012573, 0.9952749609947205, -0.7304161787033081, -0.046758022159338, 0.03128587454557419, -0.4152759313583374, -0.022553037852048874, -0.07813198119401932, 0.510846734046936, -0.6949445605278015, -0.33292239904403687, 0.5725529193878174, 0.4038451611995697, 0.1591697633266449, 0.007559706456959248, -0.13581253588199615, -0.08560482412576675, 0.3784124553203583, 0.548248827457428, 0.3315099775791168, -0.22095058858394623, 0.058596812188625336, 0.14798426628112793, -0.38686439394950867, -0.33747342228889465, 1.0258899927139282, -0.9938245415687561, -0.17342312633991241, 0.1385243833065033, 0.9157644510269165, 0.6738969087600708, -0.3102126121520996, 0.3997417092323303, -0.5854719281196594, 0.3101288378238678, 0.3156597912311554, 0.47576940059661865, 0.15149760246276855, -0.2723712623119354, 0.44233500957489014, 0.27925118803977966, -0.7183098196983337, -0.8234103918075562, -0.07522013038396835, -0.8761292695999146, -0.7112826704978943, 1.0235230922698975, 0.12567734718322754, -0.2898394763469696, -0.21456000208854675, -0.2497035413980484, 0.15661443769931793, 0.033468686044216156, 0.5075300931930542, 0.07449503988027573, -0.16914241015911102, 0.3197474777698517, -0.45435047149658203, 0.8533973097801208, 0.8641169667243958, -0.8021073937416077, 0.036413706839084625, 0.508324384689331, 0.48184049129486084, -0.310615599155426, 1.0472846031188965, -0.19429631531238556, 0.3340805768966675, -0.17262090742588043, 0.08421057462692261, 0.04151058942079544, -0.3481118679046631, -0.32377195358276367, 0.12684839963912964, 0.0219908244907856, 0.21712921559810638 ]
http://arxiv.org/abs/2403.00932v2
http://arxiv.org/pdf/2403.00932v2
Differentially Private Knowledge Distillation via Synthetic Text Generation
2024-03-01T19:22:24
2024-06-05T03:07:44
James Flemings, Murali Annavaram
cs.LG
cs.LG, cs.CL, cs.CR
Large Language models (LLMs) are achieving state-of-the-art performance in many different downstream tasks. However, the increasing urgency of data privacy puts pressure on practitioners to train LLMs with Differential Privacy (DP) on private data. Concurrently, the exponential growth in parameter size of LLMs necessitates model compression before deployment of LLMs on resource-constrained devices or latency-sensitive applications. Differential privacy and model compression generally must trade off utility loss to achieve their objectives. Moreover, simultaneously applying both schemes can compound the utility degradation. To this end, we propose DistilDP: a novel differentially private knowledge distillation algorithm that exploits synthetic data generated by a differentially private teacher LLM. The knowledge of a teacher LLM is transferred onto the student in two ways: one way from the synthetic data itself -- the hard labels, and the other way by the output distribution of the teacher evaluated on the synthetic data -- the soft labels. Furthermore, if the teacher and student share a similar architectural structure, we can further distill knowledge by aligning the hidden representations between both. Our experimental results demonstrate that DistilDP can substantially improve the utility over existing baselines, at least $9.0$ PPL on the Big Patent dataset, with strong privacy parameters, $\epsilon=2$. These promising results progress privacy-preserving compression of autoregressive LLMs. Our code can be accessed here: https://github.com/james-flemings/dp_compress.
[ -0.18254904448986053, -0.3641771972179413, 0.6565936803817749, 0.11234261840581894, -0.304349809885025, 0.5940146446228027, -0.22705526649951935, -0.20095689594745636, -0.028942011296749115, 0.3839243948459625, -0.3980685770511627, -0.6328086256980896, -0.8988412618637085, -0.033809561282396317, -0.5233161449432373, 0.906484067440033, 0.17553001642227173, -0.07657056301832199, 0.02559550106525421, 0.10351797193288803, -0.0841328576207161, -0.8067456483840942, -0.1730555295944214, -0.10060504823923111, 0.31186389923095703, 0.15752153098583221, 0.4532295763492584, 0.6505118012428284, 0.05357448011636734, 0.4533681273460388, -0.2735077142715454, 0.37476077675819397, -0.5998120903968811, 0.36186566948890686, -0.19035501778125763, -0.32400426268577576, -0.37011292576789856, 0.20103096961975098, 0.5971980690956116, 0.7129077911376953, -0.22216546535491943, 0.20614342391490936, 0.5395094752311707, 1.0026859045028687, -0.7057006359100342, 0.31373441219329834, -0.7809831500053406, 0.1645357459783554, -0.029475202783942223, -0.09618989378213882, -0.3711778223514557, -0.6186034679412842, 0.03216272220015526, -0.20624031126499176, 0.3730810880661011, -0.15006668865680695, 0.4651894271373749, 0.587936282157898, -0.2883354723453522, 0.06869348883628845, -0.8073275685310364, 0.6330355405807495, -0.541953444480896, 0.18636766076087952, 0.29511603713035583, 0.33765271306037903, -0.2694563865661621, -0.823370099067688, -0.6744655966758728, 0.044605884701013565, -0.15594109892845154, -0.10185461491346359, -0.05940159037709236, 0.022222748026251793, 0.19466464221477509, 0.8038449287414551, -0.23584653437137604, 0.1248549297451973, -0.45713984966278076, -0.07229399681091309, 0.8397420048713684, 0.002620853716507554, -0.07914559543132782, 0.008720368146896362, -0.4090091288089752, -0.1972460150718689, -0.4890766441822052, -0.20641684532165527, 0.7173243165016174, 0.010546939447522163, -0.14407791197299957, 0.49564456939697266, -0.15476447343826294, 0.6175289154052734, 0.09548869729042053, -0.2701840400695801, 0.04802373796701431, -0.0393281988799572, -0.22383764386177063, 0.30916163325309753, 0.8278806805610657, 0.2524245083332062, 0.13216885924339294, -0.06093310937285423, -0.02409905567765236, 0.027422068640589714, -0.10388100892305374, -0.7904596328735352, -0.5192181468009949, 0.15562039613723755, -0.06077435240149498, -0.6447138786315918, -0.07677793502807617, -0.9405977725982666, -0.7126753926277161, -0.4421289563179016, 0.2758769690990448, 0.009466338902711868, -0.21019518375396729, 0.2935950458049774, -0.33334264159202576, -0.48854202032089233, -0.027123577892780304, -1.0705927610397339, 0.5620360374450684, 0.6502625942230225, 0.8486143946647644, -0.05838293209671974, -0.057700421661138535, -0.453763484954834, 0.5107848048210144, 0.08887284994125366, 0.11057130247354507, -0.21492362022399902, -0.5608378648757935, -0.19624875485897064, -0.06557366997003555, 0.4185684323310852, -0.5335426926612854, 0.21470747888088226, -0.4689077138900757, 0.26286330819129944, 0.15214338898658752, -0.5297071933746338, 0.07900878041982651, 0.018854854628443718, -0.6708382964134216, 0.6665648221969604, 0.07218268513679504, -0.7722935080528259, 0.1312463879585266, -0.2965306341648102, -0.170416921377182, -0.018950235098600388, -0.4177483320236206, -0.5853271484375, 0.21091175079345703, 0.1958303600549698, 0.6555760502815247, -0.20157521963119507, 0.5171985626220703, -0.35732173919677734, -0.22092199325561523, 0.4199634790420532, -0.7040955424308777, 0.8985701203346252, 0.16763266921043396, -0.4652058482170105, -0.531466543674469, -1.008774995803833, -0.02262972481548786, 0.16929477453231812, -0.3750424385070801, -0.7271111607551575, -0.3299243450164795, -0.5320901870727539, -0.0358390137553215, 0.490119993686676, -0.5302192568778992, 0.48856937885284424, -0.3712691068649292, 0.5309028625488281, 1.1260401010513306, -0.12767720222473145, 0.645715057849884, -0.1271105259656906, 0.33278611302375793, -0.12834656238555908, 0.2891586124897003, 0.25525525212287903, -0.3676074743270874, -0.33970463275909424, -0.5699250102043152, 0.5602681636810303, 0.14837901294231415, -0.36614352464675903, 0.48492899537086487, -0.289871484041214, -0.45583295822143555, -0.31419187784194946, 0.12012834846973419, 0.3414137661457062, 0.5643974542617798, 0.3206186294555664, -0.02197212539613247, -0.32541096210479736, -0.7390692234039307, -0.3059012293815613, 0.01824112981557846, -0.10147915035486221, 0.29047664999961853, 0.016298426315188408, 0.01781504787504673, 0.799289345741272, -1.0332449674606323, -0.5416001081466675, 0.017590368166565895, 0.20294252038002014, 0.24885129928588867, 0.6039744019508362, 0.4764277935028076, -0.7023648023605347, -0.7504166960716248, -0.36170685291290283, -0.3336128294467926, -0.37048056721687317, 0.21499024331569672, -0.29684340953826904, 0.2251344472169876, 0.06813140213489532, -0.44914406538009644, 0.38391661643981934, 1.0764367580413818, -0.31388112902641296, 0.30113619565963745, -0.5148208141326904, 0.04478120803833008, -1.2504503726959229, -0.17982912063598633, -0.25075802206993103, -0.43652814626693726, -0.25248026847839355, -0.1534392237663269, 0.06125786527991295, -0.2425295114517212, -0.5015669465065002, 0.3701733648777008, -0.6873745918273926, 0.1384592205286026, -0.41098839044570923, -0.08082004636526108, 0.2794128656387329, 0.35663917660713196, 0.1205725371837616, 0.5556156039237976, 0.5078738927841187, -0.6828077435493469, 0.38401734828948975, 0.1392822563648224, -0.14111874997615814, 0.04366069287061691, -0.4587269127368927, 0.4082586467266083, -0.020015038549900055, 0.23425191640853882, -0.7549548745155334, -0.11609695851802826, 0.17258495092391968, -0.16596607863903046, 0.6349135637283325, -0.46329304575920105, -0.6189550161361694, -0.16685336828231812, -0.3858932554721832, 0.1817794144153595, 0.9728265404701233, -0.9149343967437744, 0.4206959903240204, 0.5806390643119812, -0.09202685952186584, -0.727312445640564, -0.9809150695800781, 0.06794284284114838, -0.3285875618457794, -0.4710098206996918, 0.7833383679389954, 0.01907704956829548, -0.25121474266052246, 0.11137564480304718, -0.3205592930316925, -0.37758418917655945, 0.015110420994460583, 0.31074944138526917, 0.3096467852592468, 0.3325139284133911, -0.09037187695503235, 0.6645520925521851, -0.22435951232910156, 0.1569814383983612, -0.5235256552696228, 0.460886687040329, 0.22902365028858185, -0.10151854157447815, -0.4131445586681366, 0.23312032222747803, 0.2590477168560028, 0.27991968393325806, 0.9999996423721313, 0.025329258292913437, -0.07090624421834946, -0.7424640655517578, -0.33213773369789124, -0.3417321443557739, -0.6423154473304749, -0.025295836851000786, -0.06521125882863998, -0.6906712055206299, 0.04647740721702576, -0.5508273243904114, 0.08890756964683533, 0.004857000429183245, 0.43356919288635254, 0.32827484607696533, 0.7736656069755554, 0.6301184892654419, -0.17780618369579315, 0.17748230695724487, -0.535950243473053, 0.27813321352005005, -0.3256503641605377, -0.2235005646944046, -0.45708540081977844, -0.6010576486587524, -0.771024227142334, -0.4424559473991394, 0.4746219217777252, 0.07633698731660843, 0.07574541121721268, 0.22860363125801086, -1.12301766872406, 0.8078562617301941, 0.6210243105888367, 0.1762099713087082, 0.8100437521934509, 0.1661260724067688, 0.08285202831029892, -0.1896226704120636, -0.44791287183761597, -0.5280821919441223, 1.2318434715270996, 0.2692779302597046, 0.9385579228401184, 0.2506614923477173, 1.3795433044433594, 0.1966840922832489, 0.07534736394882202, -0.27346014976501465, 0.7180994749069214, -0.618109941482544, -0.529800295829773, -0.19848744571208954, -0.5197774171829224, -0.5960408449172974, 0.09362828731536865, 0.06504164636135101, -0.5782915353775024, 0.24240465462207794, 0.32849839329719543, -0.2169162929058075, 0.25086742639541626, -0.8756340146064758, 0.2900657653808594, -0.16115039587020874, -0.746773898601532, -0.17882466316223145, -0.5495585203170776, 0.5746695399284363, -0.3852260112762451, 0.16885115206241608, -0.1492958813905716, 0.05821772664785385, 0.5122513771057129, -0.6667222380638123, 0.8870607018470764, -0.5669229626655579, -0.20839138329029083, -0.03686758130788803, 0.1980404555797577, 0.5578424334526062, 0.502918541431427, -0.010387714952230453, 0.48711884021759033, 0.06016068160533905, -0.09241091459989548, -0.8278211355209351, 1.033305048942566, -0.6378892064094543, -0.8914583325386047, -0.5722595453262329, -0.39757031202316284, -0.13035012781620026, -0.04855131730437279, 0.11179963499307632, 0.12850230932235718, 0.29480597376823425, 0.11430815607309341, 0.6264445781707764, -0.2986798882484436, 0.34138792753219604, 0.7552929520606995, -0.07098324596881866, -0.14550675451755524, 0.8080967664718628, 0.2753601670265198, 0.20888575911521912, 0.2798762023448944, 0.5531623363494873, -0.7694269418716431, -0.5655619502067566, -0.21000520884990692, 0.16221199929714203, -0.5022252202033997, -0.2997298538684845, -0.6029929518699646, -0.5086764693260193, -0.4780389368534088, -0.035485122352838516, -0.6663954257965088, -0.8607358932495117, -0.366252064704895, -0.13328441977500916, 0.5731465816497803, 0.5276896357536316, -0.6229081153869629, -0.06799813359975815, -0.8693258166313171, 0.5584945678710938, 0.48375797271728516, 0.22031334042549133, -0.21396444737911224, -0.39070120453834534, 0.16011221706867218, 0.19869768619537354, -0.5017072558403015, -0.7080733180046082, 0.5713598728179932, 0.3300637900829315, 0.23482415080070496, 0.10443554073572159, 0.8423144817352295, 0.5094475746154785, -0.6024178266525269, 0.7629266977310181, 0.14584089815616608, -0.9049473404884338, 0.3548027575016022, 0.0739569440484047, -0.10793943703174591, 0.5090619921684265, 0.5451714396476746, 0.0742315798997879, -0.7962934970855713, -0.5608185529708862, -0.9263314008712769, 0.5812127590179443, 0.2344672679901123, 0.5615633726119995, 0.42575374245643616, 0.3498976528644562, 0.5119900107383728, 0.39718884229660034, -0.7242177128791809, -0.5080860257148743, -0.08860879391431808, -0.5104901790618896, 0.0847386047244072, -0.2680070102214813, -0.39271339774131775, -0.3646920919418335, 0.5640933513641357, 0.22287103533744812, 0.035311371088027954, 0.14963114261627197, 0.27977386116981506, 0.5145311951637268, 0.30408304929733276, 0.15567085146903992, 0.25128793716430664, -0.060205552726984024, 0.5513736605644226, -0.1872510015964508, -0.7318004369735718, 0.6855108737945557, 0.6268101334571838, -0.12768973410129547, 0.04864347353577614, -0.3401256799697876, 0.2083732932806015, -0.18291647732257843, -0.30395740270614624, 0.45377424359321594, -0.3213202953338623, -0.4756961762905121, -0.35170671343803406, 0.3617417514324188, -0.04501472786068916, 0.47273555397987366, 0.23108918964862823, -0.16492755711078644, 0.35848280787467957, -0.18185366690158844, 0.039635878056287766, 0.03861038386821747, 0.141012504696846, -0.26846763491630554, 0.9311308860778809, 0.3080257773399353, -0.0977436751127243, 0.2978459894657135, -0.05759386345744133, -0.23677434027194977, 0.07410356402397156, 0.2690105140209198, 0.9157395958900452, -0.19326262176036835, 0.20404386520385742, -0.003869507694616914, -0.20482848584651947, -0.20792359113693237, 0.074965700507164, -0.557962954044342, -0.323768675327301, -0.2963215708732605, -0.7091379761695862, -0.28021904826164246, 0.4665886461734772, -0.33428722620010376, 0.2480425387620926, -0.6599644422531128, -0.17596568167209625, -0.045438095927238464, 0.10161547362804413, -0.3735973834991455, -0.05690063163638115, 0.2040928155183792, 0.36023247241973877, -0.48168742656707764, 0.9862639904022217, 0.120529904961586, 0.0121406065300107, -0.9800052046775818, 0.2126668095588684, 0.034590352326631546, -0.5901288390159607, 0.9917270541191101, -0.039996784180402756, -0.18421171605587006, 0.10788844525814056, -0.3801061511039734, -0.5721696019172668, 0.9911981821060181, 0.8442070484161377, -1.2367864847183228, -0.02751067467033863, 0.6611186265945435, 0.6077730655670166, 0.21682339906692505, -0.4899163544178009, 0.20840701460838318, 0.2757303714752197, 0.019081488251686096, -0.7484111785888672, 0.2645809054374695, 0.030283795669674873, -0.123405821621418, 0.07746808975934982, -0.5465584993362427, 0.6929821968078613, 0.06681346893310547, -0.22986023128032684, -0.18331335484981537, 0.2956676781177521, 0.43784475326538086, 0.4522208273410797, 0.3247348666191101, 0.501704752445221, 0.8131816387176514, 0.12355071306228638, 0.7348594069480896, -0.6919864416122437, 0.31467196345329285, 1.2537039518356323, -0.30246496200561523, 0.34601595997810364, 0.7281590104103088, -0.22524964809417725, 0.350419282913208, 0.17507709562778473, 0.16926388442516327, 0.9827646017074585, 0.5412718653678894, -0.6245967745780945, 0.23815777897834778, -0.014032816514372826, -0.6394840478897095, 0.2427685707807541, -0.14414411783218384, -0.6737741231918335, -0.10516253113746643, -0.14902275800704956, -0.03483292832970619, 0.4369964003562927, 0.11453425884246826, 0.7106198668479919, 0.2868933081626892, -0.38953742384910583, 0.7950598001480103, 0.06184886768460274, 0.6779369711875916, -0.472873717546463, -0.017691288143396378, -0.17688807845115662, 0.43448591232299805, -0.18900975584983826, -0.6643694043159485, 0.5255157947540283, 0.25921890139579773, -0.0910894051194191, -0.6405791640281677, 0.6006474494934082, -0.5555346608161926, -0.2769208252429962, 0.18546746671199799, 0.20321659743785858, 0.1684659719467163, -0.04468058422207832, -0.5053434371948242, -0.09462863951921463, -0.0652085468173027, -0.28324252367019653, 0.5202497839927673, 0.5917617678642273, 0.439174622297287, 0.27529993653297424, 0.6175468564033508, 0.337985634803772, 0.19137471914291382, 0.0762997418642044, 1.334952473640442, -0.24327999353408813, -0.6393808722496033, -1.1626901626586914, 0.47644758224487305, -0.358158677816391, 0.04468967765569687, 0.7968963384628296, 0.532481849193573, 0.7612512111663818, -0.06134544685482979, 0.7821770906448364, 0.13313812017440796, 0.6018431782722473, -0.6726856231689453, 1.0499261617660522, -0.461064875125885, 0.622170090675354, -0.22134727239608765, -0.8332598209381104, -0.08032678067684174, 0.33772024512290955, -0.27214527130126953, -0.3981601297855377, 0.4764598608016968, 0.7298668026924133, -0.10738790035247803, -0.07031060010194778, 0.25465142726898193, 0.10800394415855408, 0.4391371011734009, 0.44837886095046997, 0.946838915348053, -0.31871217489242554, 0.39246630668640137, -0.8377366662025452, -0.2769750654697418, 0.3000248968601227, -0.9590570330619812, -0.8910561800003052, -0.6215941905975342, -0.5429286360740662, -0.27896296977996826, 0.17488010227680206, 0.58580482006073, 0.8280797004699707, -0.2623831629753113, 0.09755009412765503, -0.5679079294204712, 0.02626039832830429, 0.1712886542081833, -0.2285272628068924, 0.3047465682029724, 0.05667192116379738, -1.140975832939148, 0.36416319012641907, 0.08221763372421265, 0.546529233455658, -0.6605150103569031, -0.04832206293940544, 0.3723333775997162, -0.06262414902448654, 0.2296091765165329, -0.04732199385762215, -0.11812646687030792, 0.1765034943819046, -0.29160991311073303, 0.00889616645872593, -0.2918168008327484, 0.7677187323570251, -0.8089486956596375, 0.27511030435562134, 0.4732816815376282, 0.5040311217308044, 0.7069826126098633, 0.0050217281095683575, 0.6434780359268188, -1.1793161630630493, 0.6533350348472595, 0.4857628047466278, -0.0624472014605999, 0.1646994799375534, -0.8300837278366089, 0.28269752860069275, 0.26811543107032776, -0.7197017073631287, -1.1746817827224731, 0.052869297564029694, -0.6530604362487793, -0.5540453791618347, 1.0632152557373047, -0.4569336175918579, -0.3441295325756073, -0.04079000651836395, -0.22110220789909363, 0.28139248490333557, -0.6220478415489197, 1.4524227380752563, 0.288179874420166, 0.11464740335941315, 0.1322452276945114, -0.13456423580646515, 0.6876323819160461, 0.05044734477996826, -0.5521963238716125, 0.3119180500507355, 0.5002456307411194, 0.2132265418767929, -0.12501122057437897, 0.5275275707244873, -0.2802065312862396, -0.3261352777481079, 0.020744189620018005, -0.36209097504615784, -0.6664981245994568, -0.3481876254081726, -0.27600106596946716, 0.33341431617736816, -0.10848730057477951, -0.5468814373016357 ]
http://arxiv.org/abs/2403.00923v1
http://arxiv.org/pdf/2403.00923v1
An Interpretable Ensemble of Graph and Language Models for Improving Search Relevance in E-Commerce
2024-03-01T19:08:25
2024-03-01T19:08:25
Nurendra Choudhary, Edward W Huang, Karthik Subbian, Chandan K. Reddy
cs.IR
cs.IR, cs.CL, H.3.3; I.2.7; J.7
The problem of search relevance in the E-commerce domain is a challenging one since it involves understanding the intent of a user's short nuanced query and matching it with the appropriate products in the catalog. This problem has traditionally been addressed using language models (LMs) and graph neural networks (GNNs) to capture semantic and inter-product behavior signals, respectively. However, the rapid development of new architectures has created a gap between research and the practical adoption of these techniques. Evaluating the generalizability of these models for deployment requires extensive experimentation on complex, real-world datasets, which can be non-trivial and expensive. Furthermore, such models often operate on latent space representations that are incomprehensible to humans, making it difficult to evaluate and compare the effectiveness of different models. This lack of interpretability hinders the development and adoption of new techniques in the field. To bridge this gap, we propose Plug and Play Graph LAnguage Model (PP-GLAM), an explainable ensemble of plug and play models. Our approach uses a modular framework with uniform data processing pipelines. It employs additive explanation metrics to independently decide whether to include (i) language model candidates, (ii) GNN model candidates, and (iii) inter-product behavioral signals. For the task of search relevance, we show that PP-GLAM outperforms several state-of-the-art baselines as well as a proprietary model on real-world multilingual, multi-regional e-commerce datasets. To promote better model comprehensibility and adoption, we also provide an analysis of the explainability and computational complexity of our model. We also provide the public codebase and provide a deployment strategy for practical implementation.
[ -0.23725296556949615, -0.7846124172210693, 0.6093445420265198, 0.2210943102836609, -0.3052252531051636, 0.15891173481941223, -0.23328275978565216, -0.6077229976654053, 0.22442275285720825, 0.282335102558136, -0.4311991333961487, -0.6478851437568665, -0.36453065276145935, -0.1554591953754425, -0.5752353072166443, 0.857310950756073, 0.1024605855345726, -0.3697509467601776, -0.28284746408462524, -0.1122872605919838, -0.18214359879493713, -0.4942784905433655, -0.4845116138458252, -0.21659968793392181, 0.5611013174057007, 0.0035301127936691046, 0.8623982071876526, 0.33305755257606506, 0.2782614827156067, 0.2781730592250824, -0.2270251214504242, 0.29688167572021484, -0.736644446849823, -0.04819519817829132, -0.08692612498998642, -0.35351279377937317, -0.5598532557487488, -0.21026074886322021, 0.2594190835952759, 0.8313460350036621, -0.40896719694137573, 0.14861679077148438, 0.21122442185878754, 0.1890205293893814, -0.5192920565605164, 0.38313838839530945, -0.6997832655906677, -0.3384631872177124, 0.12826302647590637, -0.20715387165546417, -0.6812044978141785, -0.36790940165519714, 0.24372506141662598, -1.0063170194625854, 0.3542172908782959, 0.32414501905441284, 0.9167147874832153, -0.35569867491722107, -0.4665251672267914, -0.4198119044303894, -0.8463941216468811, 0.6690027117729187, -0.7014839053153992, 0.4337587356567383, 0.308661550283432, 0.3691962659358978, -0.3519386649131775, -1.0693137645721436, -0.3971925973892212, 0.024941634386777878, -0.5201806426048279, 0.1752413511276245, -0.3345271348953247, 0.014011304825544357, -0.03331415727734566, 0.3584161698818207, -0.9408340454101562, 0.07259218394756317, -0.2221629023551941, -0.2142566740512848, 0.49876463413238525, 0.1297566145658493, 0.64240562915802, 0.14579032361507416, -0.043629325926303864, 0.19641034305095673, -0.5396201610565186, 0.12249936163425446, 0.5520415902137756, 0.5630343556404114, -0.06527608633041382, 0.3275398910045624, -0.2876822352409363, 0.9398794174194336, -0.016758158802986145, 0.08513259142637253, 0.07691965252161026, -0.4326806366443634, -0.10197392851114273, -0.11713014543056488, 0.5303123593330383, 0.34092584252357483, 0.005294053349643946, -0.4610297679901123, -0.05443112924695015, 0.08318203687667847, 0.49831539392471313, -0.6872937679290771, -0.24670830368995667, 0.34717607498168945, -0.6943174600601196, -0.2585470676422119, -0.023443439975380898, -0.7740227580070496, 0.0052225710824131966, -0.31477469205856323, 0.42011040449142456, -0.09474015980958939, -0.4013654887676239, 0.3225288987159729, -0.0488126277923584, 0.0537063293159008, 0.30133718252182007, -0.9514515399932861, 0.5907759070396423, 0.9506338238716125, 0.9797711968421936, -0.0304424986243248, -0.1236695721745491, -0.30970004200935364, 0.0724172368645668, -0.2632012665271759, 0.6439122557640076, -0.693385899066925, -0.20010770857334137, 0.15237504243850708, 0.24552606046199799, -0.3757307231426239, -0.4102620482444763, 0.5109943151473999, -1.2085834741592407, 0.3448084890842438, 0.09465158730745316, -0.7000370025634766, -0.6235306262969971, 0.22160275280475616, -0.7881838083267212, 0.6553484797477722, 0.21576005220413208, -0.5544102787971497, 0.42917707562446594, -0.4996500611305237, -0.5224769711494446, 0.3036303222179413, -0.09482453763484955, -0.5982674360275269, 0.22180548310279846, 0.2628445029258728, 0.24642616510391235, -0.26737791299819946, 0.2172471135854721, -0.580354630947113, -0.8034919500350952, -0.023540074005723, -0.09041009843349457, 0.7343427538871765, 0.22508357465267181, -0.2422809898853302, 0.028455248102545738, -0.4960191249847412, 0.17162883281707764, 0.31266871094703674, -0.33202970027923584, -0.2687704861164093, 0.24404694139957428, 0.15294510126113892, 0.22681884467601776, 0.2708026170730591, -0.10332268476486206, 0.24256856739521027, -0.4923405647277832, 0.611770510673523, 0.5794472694396973, -0.14728274941444397, 0.47493988275527954, -0.05340803787112236, 0.8200142979621887, -0.24002277851104736, 0.3512410819530487, -0.2504566013813019, -0.9350113272666931, -0.35486599802970886, -0.06352932006120682, 0.3623974919319153, 0.428361713886261, -0.5596548318862915, 0.30750471353530884, -0.44694238901138306, -0.43062934279441833, -0.37033388018608093, 0.11640086024999619, 0.061927542090415955, 0.6375228762626648, 0.26207706332206726, -0.4448600113391876, -0.20269104838371277, -0.7420923709869385, -0.2732903063297272, -0.2722764015197754, -0.2092950940132141, 0.8441022634506226, 0.15191416442394257, -0.28539541363716125, 0.8861334919929504, -0.6128787994384766, -0.048404790461063385, -0.2636447548866272, 0.12150243669748306, 0.744361400604248, -0.0348573736846447, 0.5097881555557251, -1.101749300956726, -0.5129695534706116, 0.35740092396736145, -0.5581114292144775, -0.11228388547897339, 0.2550722062587738, -0.01262510847300291, -0.04659396782517433, 0.20577701926231384, -0.36319097876548767, 0.47730180621147156, 0.5246990323066711, -0.23853850364685059, 0.5276179313659668, -0.4494369924068451, 0.1623591184616089, -0.7238036394119263, 0.35060033202171326, 0.06363135576248169, -0.23274943232536316, -0.794420063495636, 0.2165701538324356, 0.024134937673807144, -0.3223276734352112, -0.4352887272834778, 0.527029275894165, -0.17910988628864288, -0.4271245002746582, -0.1006508469581604, 0.47936922311782837, 0.5740252137184143, 0.4865717887878418, -0.24420668184757233, 0.8035445213317871, 0.4925788938999176, -0.9888210296630859, 0.17286913096904755, 0.2122504711151123, -0.5301244258880615, 0.22335289418697357, -0.8391612768173218, 0.08073170483112335, -0.03859700262546539, 0.251214861869812, -1.1538037061691284, -0.17668072879314423, 0.18973201513290405, -0.2773403227329254, 0.12543335556983948, -0.5831550359725952, -0.615280270576477, -0.48145031929016113, 0.17674238979816437, 0.6839160323143005, 0.5078673958778381, -0.6706042289733887, 0.719009280204773, 0.3094891905784607, -0.21359264850616455, -0.38465699553489685, -0.31243258714675903, 0.053514111787080765, -0.48655885457992554, -0.8750234842300415, 0.5835071206092834, -0.027526460587978363, 0.08308585733175278, -0.006991194095462561, 0.1739719659090042, -0.009106004610657692, 0.4337967336177826, -0.3044532835483551, 0.3757174015045166, -0.249932199716568, 0.38083699345588684, -0.15944033861160278, -0.1745890974998474, -0.17399945855140686, -0.7557575702667236, 0.6877301931381226, -0.12902025878429413, -0.512538731098175, -0.041157107800245285, 0.1670617163181305, 0.33627310395240784, -0.30239447951316833, 0.5797818303108215, 0.6052908897399902, -0.2790548801422119, -0.11691943556070328, -0.19554612040519714, -0.10709550231695175, -0.514090895652771, 0.3641522526741028, -0.1994943767786026, -0.7859871983528137, 0.7908017039299011, -0.35754644870758057, -0.25492149591445923, 0.2423049509525299, 0.5032942891120911, 0.03913406282663345, 1.5887302160263062, 0.6517587304115295, 0.0858376994729042, 0.3560221493244171, -0.08491530269384384, 0.8426558971405029, -0.7763744592666626, -0.2607971727848053, -0.4570620656013489, -0.36809736490249634, -0.8543369174003601, -0.2835906147956848, 0.215081125497818, 0.2126627117395401, -0.10145111382007599, 0.3876214027404785, -0.6871397495269775, 0.4303578734397888, 0.4443278908729553, 0.19645220041275024, 0.28670552372932434, 0.369752436876297, -0.2090318650007248, 0.11908335238695145, -0.8290289640426636, -0.40398985147476196, 1.1262218952178955, 0.1042833998799324, 0.7284121513366699, 0.42067840695381165, 0.2670358121395111, 0.17751763761043549, 0.027694618329405785, -0.8178301453590393, 0.27688702940940857, -0.4541075825691223, -0.5398819446563721, -0.04726067930459976, -0.41688933968544006, -1.2394561767578125, 0.3592331111431122, 0.1291581690311432, -1.2607487440109253, 0.3434845805168152, 0.22839760780334473, -0.32710105180740356, 0.08489921689033508, -0.6841341853141785, 1.0024287700653076, -0.5157930850982666, -0.5212265253067017, -0.2040514498949051, -0.3625301718711853, 0.22462430596351624, 0.0018275132169947028, 0.5350073575973511, 0.1049947589635849, 0.0039545344188809395, 0.3551611602306366, -0.1550499051809311, 0.5258005261421204, 0.16624073684215546, -0.09023335576057434, 0.2627571225166321, 0.17235159873962402, 0.8083311319351196, -0.2197457104921341, -0.10853239893913269, 0.13968676328659058, -0.39278632402420044, -0.4333363473415375, -0.9622522592544556, 0.6319481134414673, -0.48208311200141907, -0.45263049006462097, 0.1510201245546341, -0.2989887595176697, -0.1793329268693924, 0.3131496012210846, 0.2395494282245636, 0.49572300910949707, -0.19121703505516052, -0.018458789214491844, 0.5576297044754028, -0.3621547818183899, 0.18493136763572693, 0.30971360206604004, -0.8474623560905457, -0.15233822166919708, 1.2445991039276123, 0.11572277545928955, 0.18932992219924927, 0.2357454001903534, 0.302166223526001, -0.5633067488670349, -0.48532938957214355, -0.339256227016449, 0.06546026468276978, -0.8264747858047485, 0.23872314393520355, -0.6893906593322754, 0.048960041254758835, -0.3479039967060089, -0.15812283754348755, 0.21570134162902832, -0.34077540040016174, -0.30503010749816895, -0.009416716173291206, 0.24417567253112793, 0.7902266979217529, 0.16490593552589417, 0.38041865825653076, -0.5183888077735901, 0.22049832344055176, 0.44136446714401245, 0.6863549947738647, 0.2998288869857788, -0.44131097197532654, -0.6116682887077332, 0.057538263499736786, -0.10299642384052277, -0.7391284704208374, 0.45155060291290283, 0.25822073221206665, 0.7015060186386108, 0.46485045552253723, -0.28156739473342896, 0.650341272354126, -0.37914949655532837, 0.6541681885719299, 0.008478977717459202, -0.8532601594924927, 0.5198172330856323, -0.6394025087356567, -0.04870961233973503, 0.20208914577960968, 0.4876110255718231, -0.5419274568557739, -0.09877002239227295, -0.7534915804862976, -1.3623765707015991, 0.7602552175521851, 0.28093069791793823, 0.09035392850637436, 0.08306749910116196, 0.33969101309776306, -0.007043836172670126, 0.48453211784362793, -0.4817618131637573, -0.13386429846286774, -0.18047118186950684, -0.14781567454338074, -0.11836355924606323, -0.037788569927215576, 0.030687857419252396, -0.15719671547412872, 0.7471276521682739, -0.45498308539390564, 0.3030412793159485, -0.24881550669670105, -0.302400678396225, 0.1850917786359787, 0.13258473575115204, 0.47519630193710327, 0.8927215933799744, -0.16783608496189117, -0.0565689355134964, -0.1562267243862152, -0.32004258036613464, 0.0011087475577369332, 0.12477623671293259, -0.3485758304595947, 0.032893773168325424, 0.1300532966852188, 0.7727629542350769, 0.38531988859176636, -0.5294636487960815, 0.47154921293258667, -0.29054585099220276, 0.27141398191452026, -0.010343137197196484, -0.07682066410779953, 0.2981169819831848, 0.0898665189743042, 0.14728529751300812, -0.24543511867523193, 0.6079818606376648, -0.6063697934150696, 0.27004560828208923, 0.3658606708049774, -0.3195957839488983, -0.40098652243614197, 0.7040766477584839, -0.06539630889892578, -0.44748255610466003, 0.8763823509216309, -0.4604344964027405, -0.6694083213806152, 0.8103540539741516, 0.7132143378257751, 0.7739607691764832, -0.008043374866247177, 0.470314085483551, 0.2429533153772354, 0.21135468780994415, -0.013563272543251514, 0.10444971174001694, 0.1177092045545578, -0.7623098492622375, -0.4337361454963684, -0.51795494556427, -0.3719056248664856, 0.07761780172586441, -0.665016233921051, 0.422035813331604, -0.16553297638893127, -0.2607598602771759, -0.021589307114481926, -0.22635339200496674, -0.923628032207489, 0.1108282059431076, 0.00307606253772974, 0.44594377279281616, -0.7806478142738342, 0.46853548288345337, 0.615832507610321, -0.458635151386261, -0.7901322245597839, -0.14263904094696045, -0.1369418501853943, -0.9343698620796204, 0.5133861899375916, 0.2869982421398163, 0.0668792650103569, -0.010311216115951538, -0.3436419367790222, -0.9303098917007446, 1.1865787506103516, 0.4083227813243866, -0.543707013130188, 0.01574188657104969, 0.09335236996412277, 0.7210123538970947, -0.6772330403327942, 0.5974530577659607, 0.4916479289531708, 0.33733007311820984, 0.020701555535197258, -0.8123216032981873, -0.1431683897972107, -0.3262847661972046, 0.08607237786054611, 0.1486668884754181, -0.49681517481803894, 0.9144014120101929, 0.08219542354345322, -0.3508027195930481, -0.08482784777879715, 0.028349393978714943, 0.22809243202209473, 0.5173777937889099, 0.41032522916793823, 0.5348221659660339, 1.005027174949646, -0.011122522875666618, 1.211294412612915, -0.5811923146247864, 0.8244724273681641, 1.1915960311889648, -0.4436771273612976, 0.8103896975517273, 0.05213630571961403, -0.2764250636100769, 0.738305926322937, 0.7822099924087524, -0.01489165984094143, 0.4293802082538605, 0.26113229990005493, -0.17545996606349945, -0.5145332217216492, -0.22573961317539215, -0.16437047719955444, 0.2655628025531769, 0.5937616229057312, -0.5184334516525269, -0.3425460457801819, -0.26862961053848267, -0.2428303062915802, -0.08423172682523727, -0.2845064401626587, 0.7137247323989868, 0.05488637089729309, -0.34773319959640503, 0.32533693313598633, -0.1887766718864441, 0.18523745238780975, -0.4911838173866272, -0.13304266333580017, 0.08829354494810104, 0.12443103641271591, -0.32649126648902893, -0.4772603213787079, 0.07974039018154144, -0.32272079586982727, -0.11281099915504456, 0.021234486252069473, 0.971754789352417, -0.19166848063468933, -0.7379224896430969, 0.8039445281028748, 0.6008973717689514, 0.08782096952199936, -0.017260972410440445, -0.7602472901344299, 0.024032244458794594, -0.24394555389881134, -0.0731140598654747, 0.37905123829841614, 0.21992899477481842, -0.00022547441767528653, 0.7289270758628845, 0.6916394829750061, -0.01103081926703453, 0.03547034412622452, 0.19552826881408691, 0.8157070279121399, -0.22082598507404327, -0.8321565389633179, -0.6147478222846985, 0.5398290753364563, -0.16322444379329681, 0.11964605003595352, 0.666465699672699, 0.6445521116256714, 0.6709029674530029, 0.2240016609430313, 0.8323217034339905, 0.1928466260433197, 0.17283575236797333, -0.400603711605072, 0.7272220849990845, -0.7566912174224854, 0.46203988790512085, -0.32439079880714417, -1.032978892326355, -0.2529973089694977, 0.6524238586425781, -0.37832802534103394, 0.2793404161930084, 0.40478119254112244, 0.7182680368423462, -0.5864623785018921, 0.1632995903491974, 0.3454272449016571, 0.2882941663265228, 0.4776477813720703, 0.370880126953125, 0.6124231815338135, -0.48626983165740967, 0.688796877861023, -0.054692547768354416, -0.24632810056209564, -0.5636271834373474, -0.9948065876960754, -0.43795332312583923, -0.3418964147567749, -0.32426854968070984, -0.4143894612789154, -0.015770651400089264, 0.5884284973144531, 0.7246266007423401, -0.7027106285095215, -0.3579425811767578, -0.14434784650802612, 0.3544806241989136, -0.4692486524581909, -0.22092083096504211, 0.45165473222732544, -0.38022440671920776, -0.5306451320648193, 0.34588465094566345, 0.45547306537628174, -0.1023259237408638, -0.22184397280216217, -0.046358685940504074, -0.1233987957239151, 0.17845703661441803, 0.6898259520530701, 0.13822457194328308, -0.6751315593719482, -0.345549076795578, 0.30884599685668945, 0.3815782368183136, 0.16590678691864014, 0.7840928435325623, -0.8267390727996826, 0.8001487851142883, 0.5212169885635376, 0.44970768690109253, 0.4976542294025421, -0.05067028850317001, 0.7105072736740112, -0.5764901638031006, -0.12374888360500336, 0.12453814595937729, 0.5704280138015747, 0.1915598064661026, -0.39587733149528503, 0.5894291400909424, 0.05142654478549957, -0.6343573331832886, -0.6283474564552307, 0.5565549731254578, -0.6256642937660217, -0.23478519916534424, 0.9705164432525635, -0.4361017048358917, -0.27754780650138855, -0.5281834602355957, 0.11510283499956131, 0.10038100928068161, -0.27056029438972473, 0.8911696076393127, 0.6932207942008972, -0.03723514452576637, 0.07375658303499222, -0.45345255732536316, 0.011815645731985569, 0.016478437930345535, -0.4887032210826874, 0.010663343593478203, 0.2512322664260864, 0.10458357632160187, 0.4270944893360138, 0.43284785747528076, 0.07733304053544998, 0.3837069869041443, -0.16261309385299683, -0.30771782994270325, 0.102615125477314, -0.27312934398651123, -0.4973607659339905, 0.24361175298690796, 0.17197315394878387, 0.22376678884029388 ]
http://arxiv.org/abs/2403.00758v3
http://arxiv.org/pdf/2403.00758v3
Mitigating Reversal Curse in Large Language Models via Semantic-aware Permutation Training
2024-03-01T18:55:20
2024-03-20T07:37:24
Qingyan Guo, Rui Wang, Junliang Guo, Xu Tan, Jiang Bian, Yujiu Yang
cs.CL
cs.CL, cs.AI, cs.LG
While large language models (LLMs) have achieved impressive performance across diverse tasks, recent studies showcase that causal LLMs suffer from the "reversal curse". It is a typical example that the model knows "A's father is B", but is unable to reason "B's child is A". This limitation poses a challenge to the advancement of artificial general intelligence (AGI), as it suggests a gap in the models' ability to comprehend and apply bidirectional reasoning. In this paper, we first conduct substantial evaluation and identify that the root cause of the reversal curse lies in the different word order between the training and inference stage, namely, the poor ability of causal language models to predict antecedent words within the training data. Accordingly, permutation on the training data is considered as a potential solution, since this can make the model predict antecedent words or tokens. However, previous permutation methods may disrupt complete phrases or entities, thereby posing challenges for the model to comprehend and learn from training data. To address this issue, we propose Semantic-aware Permutation Training (SPT), which addresses this issue by segmenting the training sentences into semantic units (i.e., entities or phrases) with an assistant language model and permuting these units before feeding into the model. Extensive experiments demonstrate that SPT effectively mitigates the reversal curse since the performance on reversed questions approximates that on the forward ones, and significantly advances the performance of existing works.
[ -0.11442535370588303, -0.8204056620597839, 0.48609688878059387, 0.28870171308517456, -0.47835206985473633, 0.13084940612316132, -0.07242254167795181, -0.3771910071372986, 0.2463553249835968, 0.8692975044250488, -0.7226678729057312, -0.1534886360168457, -0.9185208678245544, 0.3061217665672302, -0.6625979542732239, 1.0177427530288696, 0.14379945397377014, 0.3796934187412262, -0.29160478711128235, -0.033896610140800476, -0.7376341223716736, -0.3962385058403015, -0.8303516507148743, -0.49190619587898254, 0.3999299108982086, 0.4517829716205597, 0.7011402249336243, 0.4919683635234833, 0.3056308627128601, 0.32681307196617126, 0.07364226132631302, 0.11990534514188766, -0.7653805017471313, 0.20788396894931793, -0.33401113748550415, -0.6300644874572754, -0.20709432661533356, -0.10290022194385529, 0.7355547547340393, 0.9397335052490234, 0.0762520506978035, -0.021576587110757828, -0.13529764115810394, 0.40468737483024597, -0.6398725509643555, -0.07468580454587936, -1.341363787651062, 0.05082681402564049, -0.13534046709537506, -0.36623257398605347, -0.3660135269165039, -0.058590181171894073, 0.11171381920576096, -0.5251350998878479, 0.33123958110809326, -0.09642155468463898, 0.8782798051834106, 0.45905351638793945, -0.43443500995635986, -0.17113420367240906, -0.7706805467605591, 0.7436289191246033, -0.59620201587677, 0.481167197227478, 0.4433910548686981, 0.072687067091465, -0.4586481750011444, -0.3958776891231537, -0.9457522034645081, 0.004687955603003502, -0.02184407040476799, 0.29482197761535645, -0.018101874738931656, -0.12536925077438354, 0.1457371860742569, 0.04501521214842796, -0.5662999749183655, 0.37564700841903687, -0.10165613889694214, -0.14757758378982544, 0.45948997139930725, 0.21528559923171997, 0.44924551248550415, 0.04636755585670471, -0.6547354459762573, 0.03568125516176224, -1.1148651838302612, -0.3038271963596344, 0.6471783518791199, 0.332217276096344, 0.4164675772190094, 0.53761225938797, 0.011069935746490955, 0.5868171453475952, 0.07041504234075546, -0.0825866237282753, 0.2223121076822281, -0.21198874711990356, -0.17137213051319122, 0.3485936224460602, 0.29258033633232117, 0.028137248009443283, 0.24250751733779907, -0.3943377137184143, -0.25225919485092163, 0.32579824328422546, 0.4031558930873871, -0.6796386241912842, -0.0059842681512236595, 0.056914072483778, 0.06456197053194046, -0.16072411835193634, -0.0029194604139775038, -0.38925784826278687, -0.6777374148368835, -0.3810405731201172, 0.6632724404335022, -0.533034086227417, -0.25032103061676025, 0.23776675760746002, -0.04013381525874138, 0.42911022901535034, 0.334157258272171, -0.7140056490898132, 0.12424495071172714, 0.9220739006996155, 0.19677139818668365, -0.09347417205572128, -0.6702843308448792, -0.5753166079521179, 0.29508551955223083, -0.11358071863651276, 0.7189474105834961, -0.7209654450416565, -0.4588865637779236, -0.3055843412876129, -0.06840350478887558, -0.4331692159175873, -0.4750250279903412, 0.3528926372528076, -0.6114711761474609, 0.1993580162525177, 0.0025867128279060125, -0.5124249458312988, -0.27646511793136597, 0.18896989524364471, -0.3104582726955414, 0.442303329706192, -0.29687103629112244, -0.9194642305374146, 0.3322707414627075, 0.04433376342058182, -0.6936379671096802, -0.12877269089221954, -0.33039236068725586, -0.8061846494674683, 0.26434624195098877, 0.25382694602012634, 0.16633112728595734, -0.3980047404766083, 0.33851194381713867, -0.17132803797721863, -0.3525846600532532, 0.12479328364133835, -0.7402642965316772, 0.8304110169410706, -0.024426737800240517, -0.4353683888912201, 0.18803466856479645, -0.8197249174118042, -0.41845211386680603, 0.2917798161506653, -0.012636084109544754, -0.6330407857894897, 0.10132115334272385, -0.5567455887794495, 0.18996334075927734, 0.11069025099277496, -0.4891664385795593, 0.05163463577628136, -0.6284092664718628, 0.07586874067783356, 1.0058395862579346, -0.10725075006484985, 0.3856876492500305, 0.14860568940639496, 0.46390461921691895, 0.3016526401042938, 0.1841978132724762, 0.07584308832883835, -0.5174933671951294, -0.9105054140090942, -0.16126546263694763, 0.05973087623715401, 0.795055627822876, -1.0267343521118164, 0.4455436170101166, -0.3992078900337219, -0.1273537576198578, -0.6164619326591492, 0.15973567962646484, 0.697425127029419, 0.7014163136482239, 0.4210909903049469, -0.4769009053707123, -0.5062221884727478, -0.8290170431137085, -0.4603419005870819, -0.18440106511116028, 0.24868685007095337, 0.1539333611726761, 0.5623065829277039, -0.22426600754261017, 1.0060977935791016, -0.5438047051429749, -0.07674850523471832, -0.27946650981903076, 0.23364754021167755, 0.019557496532797813, 0.4861074388027191, 0.05413594841957092, -1.1326768398284912, 0.04330101236701012, -0.2997679114341736, -0.4533209204673767, -0.19697165489196777, -0.21532653272151947, -0.27308568358421326, 0.22954706847667694, 0.5437179207801819, -0.5992944836616516, 0.664817750453949, 0.3246506154537201, -0.8679141402244568, 0.8621571660041809, -0.17307938635349274, -0.2050299346446991, -0.8859469294548035, -0.0721283033490181, -0.6423447728157043, -0.01340329460799694, -0.6525536179542542, 0.04788266494870186, -0.25518491864204407, 0.10852120816707611, -0.101000115275383, 0.5783236622810364, -0.42298150062561035, -0.17763473093509674, -0.2885560989379883, 0.02951989509165287, -0.18733659386634827, 0.15665645897388458, 0.025781216099858284, 0.5613293647766113, 0.421457439661026, -0.6986705660820007, 0.02798345498740673, 0.36800384521484375, -0.011516964063048363, 0.5380874276161194, -0.24230915307998657, 0.20327754318714142, -0.24732914566993713, 0.19551919400691986, -1.1066381931304932, 0.14448589086532593, 0.16905158758163452, -0.6348384618759155, 0.5574591755867004, 0.07052857428789139, -0.39432859420776367, -0.43643173575401306, -0.08685041964054108, 0.4343702495098114, 0.13415774703025818, -0.6310921907424927, 0.8247352838516235, 0.13958556950092316, 0.022784428671002388, -0.9266378283500671, -0.6390585899353027, 0.2557477355003357, -0.17442187666893005, -0.6382358074188232, 0.2758835256099701, 0.16338981688022614, -0.04111260175704956, -0.0005703696515411139, -0.4493437111377716, 0.1101614460349083, 0.39838075637817383, 0.15403695404529572, 0.21202895045280457, 0.0037089709658175707, 0.2026582509279251, 0.060730237513780594, -0.44489142298698425, -0.07535003870725632, -0.5843876600265503, 0.760988175868988, 0.10418464988470078, -0.4223862290382385, 0.03704932704567909, 0.09993727505207062, 0.38741546869277954, -0.4063401520252228, 0.9191330075263977, 0.5208923816680908, -0.26306888461112976, -0.15721724927425385, -0.7774659991264343, -0.33017203211784363, -0.39861902594566345, 0.48570185899734497, -0.5005931854248047, -0.8048917651176453, 0.7069255113601685, 0.04878285154700279, -0.2279161512851715, 0.28596800565719604, 0.48887544870376587, 0.36727964878082275, 1.0933096408843994, 0.46245354413986206, -0.23512251675128937, 0.434691458940506, -0.18223640322685242, 0.5474641919136047, -0.6533797383308411, 0.08584770560264587, -0.45604243874549866, -0.13721448183059692, -0.48802614212036133, -0.39410170912742615, 0.3413922190666199, 0.29695188999176025, -0.3376326262950897, 0.28950485587120056, -0.2617528438568115, 0.49989762902259827, 0.5184329748153687, 0.20526918768882751, 0.6060065627098083, -0.04380800202488899, -0.18414123356342316, 0.5127374529838562, -0.5838727951049805, -0.3562667965888977, 0.8520422577857971, 0.005487856920808554, 0.6087352633476257, -0.029944928362965584, 0.903952956199646, -0.3426826000213623, 0.1902279555797577, -0.5470063090324402, 0.8990695476531982, -0.4988503158092499, -0.5765159726142883, -0.4597344994544983, -0.6749326586723328, -1.2550634145736694, 0.474363774061203, -0.18834781646728516, -0.7183389663696289, 0.11029157042503357, -0.021128034219145775, -0.1977836787700653, 0.4071595370769501, -0.8901686668395996, 0.7977277040481567, -0.27097585797309875, -0.3665045201778412, -0.5330597162246704, -0.8413496613502502, 0.395844966173172, 0.0033727658446878195, 0.06329155713319778, 0.051719389855861664, 0.18695011734962463, 0.4454887807369232, -0.7131699919700623, 0.8741471767425537, -0.23493129014968872, -0.17210809886455536, 0.08904508501291275, 0.2171739637851715, 0.6688474416732788, -0.04796786606311798, 0.25002387166023254, -0.17038588225841522, -0.3753800690174103, -0.5103337168693542, -0.6067931056022644, 0.7545871734619141, -0.8005408644676208, -1.004874348640442, -0.2618464231491089, -0.5113733410835266, -0.5510554909706116, 0.1944119781255722, 0.2625618577003479, 0.26593124866485596, 0.1282891184091568, -0.3655153810977936, 0.6081058979034424, -0.5799124836921692, 0.05556626245379448, 0.727952241897583, -0.21002407371997833, -0.23296548426151276, 1.1625574827194214, 0.165490061044693, 0.28939318656921387, 0.42082419991493225, 0.3928866684436798, -0.0036500918213278055, -0.6321883201599121, -0.36416417360305786, 0.35720211267471313, -0.619873046875, -0.15536536276340485, -0.5870809555053711, 0.012977304868400097, -0.4283352792263031, -0.09458554536104202, -0.2950499355792999, -0.594210684299469, -0.2935827672481537, -0.25976499915122986, 0.18462231755256653, 0.32032647728919983, 0.35358721017837524, 0.13507632911205292, -0.3621162474155426, 0.30700936913490295, 0.4520033001899719, 0.3980856239795685, 0.3202526271343231, -0.5968688130378723, 0.29511386156082153, -0.18459565937519073, -0.058906491845846176, -0.679547905921936, 0.20942454040050507, -0.11689022183418274, 0.38600701093673706, 0.5176472067832947, -0.18368326127529144, 0.9166420102119446, -0.6317571401596069, 0.5688000321388245, 0.3531452417373657, -0.7466782331466675, 0.36323100328445435, -0.15126655995845795, 0.22530776262283325, 0.510022759437561, 0.12268427014350891, -0.4403475522994995, -0.7807765603065491, -0.6820465922355652, -1.2224490642547607, 0.6552212834358215, 0.22414304316043854, 0.22160188853740692, -0.14571057260036469, 0.224968820810318, 0.41409990191459656, 0.21286249160766602, -0.4443983733654022, -0.17375682294368744, -0.225350484251976, -0.11903886497020721, -0.20201639831066132, -0.16733847558498383, 0.13638967275619507, -0.34587299823760986, 0.9915112257003784, 0.13847771286964417, 0.25038596987724304, 0.12586607038974762, -0.5231034159660339, 0.062333766371011734, 0.21467503905296326, 0.5531007051467896, 0.6369653940200806, 0.050458312034606934, 0.35762834548950195, 0.166148841381073, -0.6540230512619019, -0.07473801076412201, 0.3416823446750641, -0.42059653997421265, -0.35242903232574463, 0.47847187519073486, 0.9646775126457214, 0.11755471676588058, -0.39201414585113525, 0.3863695561885834, 0.1056639775633812, 0.1571820080280304, -0.3698126971721649, -0.05975702032446861, 0.12081379443407059, 0.1437717229127884, 0.2863066494464874, -0.1290881186723709, 0.021926149725914, -0.5870241522789001, 0.15080051124095917, 0.5317776203155518, -0.15454839169979095, -0.29091736674308777, 0.5126138925552368, 0.05732876807451248, -0.12545563280582428, 0.8578671813011169, -0.15401634573936462, -0.9208375811576843, 0.6877648234367371, 0.8939713835716248, 1.0042948722839355, -0.42746832966804504, 0.03655492514371872, 0.053003065288066864, 0.22953012585639954, 0.007026222068816423, 0.20325233042240143, 0.1434754729270935, -1.308151364326477, -0.39738577604293823, -0.6905842423439026, -0.07889064401388168, -0.11129175871610641, -0.37512877583503723, 0.15268900990486145, -0.2931605279445648, 0.1186363622546196, -0.09086797386407852, -0.23456794023513794, -0.7642821073532104, 0.2230433076620102, 0.21882140636444092, 0.7091599106788635, -0.7743278741836548, 0.804657518863678, 0.6450119614601135, -0.6446928381919861, -0.8302767872810364, 0.10957033187150955, -0.21715304255485535, -1.1106972694396973, 0.7546470761299133, 0.10156376659870148, -0.4749269485473633, 0.16560199856758118, -0.7011157274246216, -0.4791766107082367, 0.9084966778755188, 0.3945210874080658, -0.3812336027622223, -0.03608066216111183, 0.25883913040161133, 0.4459885060787201, -0.22499413788318634, 0.19232605397701263, 0.8048880100250244, 0.5101351141929626, 0.23837321996688843, -0.7485776543617249, 0.10729719698429108, 0.055843304842710495, 0.018302790820598602, 0.4220860004425049, -0.43668556213378906, 0.6434379816055298, -0.21019229292869568, -0.187175452709198, 0.07605022937059402, 0.39757776260375977, 0.12388620525598526, 0.39924192428588867, 0.8482276797294617, 0.8576850891113281, 0.6653295159339905, -0.06023131310939789, 1.130240797996521, 0.09226300567388535, 0.13334877789020538, 1.397457480430603, -0.3722539246082306, 0.550225555896759, 0.7205327749252319, 0.07727643102407455, 0.44548138976097107, 0.049407217651605606, 0.16940444707870483, 0.3037300109863281, 0.39466866850852966, -0.23931032419204712, -0.41153305768966675, 0.07376335561275482, -0.07655544579029083, 0.692570686340332, 0.4122891426086426, -0.2788310945034027, -0.3614182770252228, 0.29568126797676086, 0.2530617415904999, 0.1442960798740387, -0.5550312399864197, 0.8680148720741272, 0.02330802194774151, -0.6179473400115967, 0.5820062160491943, -0.10413718968629837, 0.6219634413719177, -0.6307646632194519, 0.013993333093822002, -0.3786351978778839, 0.39359650015830994, -0.20359916985034943, -0.49411511421203613, 0.34132254123687744, -0.1561412662267685, -0.08268522471189499, -0.13881638646125793, 0.8908528685569763, -0.5093283653259277, -0.5023671984672546, 0.5059723258018494, 0.358857661485672, 0.008663089014589787, 0.003185825189575553, -0.5563310384750366, -0.1993018239736557, -0.13810543715953827, -0.2291732281446457, 0.3062320947647095, 0.44810569286346436, -0.39765676856040955, 0.7460471391677856, 0.34230944514274597, 0.2357209324836731, 0.13267457485198975, 0.3453698456287384, 0.850480318069458, -0.6103235483169556, -0.4634319841861725, -0.8579193949699402, 0.2791663706302643, 0.13032269477844238, -0.22602705657482147, 0.7694254517555237, 0.3907593786716461, 0.9446160197257996, -0.15708518028259277, 0.45797309279441833, 0.23241887986660004, 0.4911981225013733, -0.5482150316238403, 0.5449517965316772, -0.35110169649124146, 0.4623546004295349, -0.4962009787559509, -0.6548870205879211, -0.5851563811302185, 0.47701671719551086, -0.9182600975036621, -0.17807810008525848, 0.47930991649627686, 0.8775400519371033, 0.10467590391635895, 0.252474308013916, 0.23793604969978333, 0.7472481727600098, 0.2617495357990265, 0.5417134165763855, 0.9582943320274353, -0.1335366815328598, 0.5739163756370544, 0.031760428100824356, -0.04699204862117767, -0.10448584705591202, -0.6889358162879944, -0.5874617695808411, -0.4976767301559448, -0.11116119474172592, -0.42753371596336365, 0.3953753113746643, 0.7569461464881897, 0.2134363353252411, -0.8576951026916504, -0.07819583266973495, -0.5004991888999939, 0.6327545046806335, -0.3534950017929077, -0.20696298778057098, 0.4667847156524658, -0.38597211241722107, -0.3387424647808075, 0.18237820267677307, 0.30854159593582153, -0.13585448265075684, -0.1969083547592163, 0.10243373364210129, -0.5536037683486938, 0.1295083463191986, 0.714747965335846, 0.11145839840173721, -0.6711546778678894, -0.6000925302505493, -0.3450688421726227, 0.17735415697097778, -0.18846313655376434, 0.9056529402732849, -0.9570691585540771, 0.5007931590080261, 0.5289493203163147, 0.9001297950744629, 0.3193387985229492, 0.033451616764068604, 0.5810638070106506, -0.6460326313972473, 0.15347477793693542, 0.3364691138267517, 0.21010786294937134, 0.31444236636161804, -0.43456053733825684, 0.47166532278060913, 0.49036237597465515, -0.2919592261314392, -0.7737380862236023, 0.5800299644470215, -0.6501789689064026, -0.6539411544799805, 1.0276494026184082, 0.07071887701749802, -0.0929817333817482, -0.17401930689811707, -0.14628994464874268, 0.5227712392807007, -0.02835044078528881, 0.9158046245574951, 0.642510175704956, -0.02431059442460537, 0.18505404889583588, -0.1700243502855301, 0.1995697021484375, 0.9311052560806274, -0.39098435640335083, 0.20267680287361145, 0.34834954142570496, 0.2988056242465973, 0.17231737077236176, 0.3777823746204376, -0.33939728140830994, 0.048279985785484314, -0.14223375916481018, 0.014405817724764347, -0.006279840134084225, -0.42939937114715576, -0.5039796233177185, -0.22651037573814392, 0.043866585940122604, -0.11937010288238525 ]
http://arxiv.org/abs/2403.00745v1
http://arxiv.org/pdf/2403.00745v1
AtP*: An efficient and scalable method for localizing LLM behaviour to components
2024-03-01T18:43:51
2024-03-01T18:43:51
János Kramár, Tom Lieberum, Rohin Shah, Neel Nanda
cs.LG
cs.LG, cs.CL
Activation Patching is a method of directly computing causal attributions of behavior to model components. However, applying it exhaustively requires a sweep with cost scaling linearly in the number of model components, which can be prohibitively expensive for SoTA Large Language Models (LLMs). We investigate Attribution Patching (AtP), a fast gradient-based approximation to Activation Patching and find two classes of failure modes of AtP which lead to significant false negatives. We propose a variant of AtP called AtP*, with two changes to address these failure modes while retaining scalability. We present the first systematic study of AtP and alternative methods for faster activation patching and show that AtP significantly outperforms all other investigated methods, with AtP* providing further significant improvement. Finally, we provide a method to bound the probability of remaining false negatives of AtP* estimates.
[ -0.06520992517471313, -0.9554742574691772, 0.46219682693481445, 0.6434721946716309, 0.0992993637919426, 0.18489228188991547, -0.17112776637077332, -0.3701128661632538, 0.4657447934150696, 0.29744216799736023, -0.48269039392471313, -0.05278501287102699, -0.4669686555862427, -0.2037636637687683, -0.3361714780330658, 0.33270835876464844, -0.35138458013534546, 0.2136610895395279, -0.12160694599151611, -0.1279834508895874, -0.09634596854448318, -0.4185955226421356, -0.9275087118148804, -0.802910566329956, 0.6606668829917908, 0.46807077527046204, 0.30672287940979004, 0.863562822341919, 0.64258873462677, 0.29793137311935425, -0.057932689785957336, -0.2040863037109375, -0.3229010999202728, -0.01902541145682335, 0.0817142054438591, -0.8110036849975586, -0.7066616415977478, 0.22026778757572174, 0.7958109378814697, 0.6463591456413269, -0.07594778388738632, 0.16466814279556274, -0.46971872448921204, 0.7705464363098145, -0.8176236152648926, -0.0016232242342084646, -0.4971883296966553, -0.023600101470947266, -0.4120215177536011, -0.4422778785228729, -0.5595123767852783, -0.5241810083389282, -0.2606266736984253, -0.3044891655445099, -0.025495748966932297, 0.05501144751906395, 0.5306614637374878, 0.1857118010520935, -0.6868319511413574, -0.11363521218299866, -0.6163985729217529, 1.0830763578414917, -0.5850331783294678, 0.12920494377613068, 0.4951981008052826, 0.5043724775314331, -0.26346102356910706, -0.47657182812690735, -0.3246864676475525, -0.29067686200141907, 0.03816819563508034, -0.4839443564414978, -0.15919703245162964, 0.08028708398342133, 0.2309577465057373, 0.6086724996566772, -0.03966645523905754, 0.06953629106283188, -0.1991651952266693, -0.44926467537879944, 0.26245370507240295, -0.1433500498533249, 0.5597373843193054, -0.04555222764611244, -0.6855977177619934, -0.03176666423678398, -1.1725399494171143, 0.06474589556455612, 0.5934842228889465, 0.31186601519584656, 0.27841219305992126, 0.6540984511375427, -0.16940486431121826, 0.7065812945365906, 0.12519867718219757, -0.11423271894454956, 0.21606799960136414, -0.41904497146606445, -0.1864999532699585, 0.3041537404060364, 0.4980263113975525, 0.18278414011001587, 0.16197046637535095, -0.09845999628305435, -0.3935886025428772, 0.11694042384624481, 0.18442457914352417, -0.703955352306366, -0.25767266750335693, 0.29670634865760803, -0.21310308575630188, -0.3777584433555603, -0.5567455887794495, -0.5031996369361877, -0.1700601428747177, -0.22947226464748383, 0.5523260235786438, -0.49087435007095337, -0.2596585750579834, 0.14974166452884674, 0.14962680637836456, 0.06511486321687698, 0.09212200343608856, -0.8426207900047302, 0.3875744938850403, 0.42545920610427856, 0.8315033912658691, -0.16803988814353943, -0.3820810616016388, -0.678436279296875, 0.08503655344247818, -0.3256627321243286, 1.2342209815979004, -0.6092578172683716, 0.07136354595422745, 0.06314177811145782, -0.08769911527633667, -0.27536311745643616, -0.6429153680801392, 0.13487139344215393, -0.8737271428108215, -0.2083490937948227, -0.4291687309741974, -0.541940450668335, -0.19616329669952393, 0.3770160675048828, -0.742212176322937, 1.0561888217926025, 0.18620197474956512, -0.38113683462142944, 0.2695273160934448, -0.785663902759552, -0.4797169864177704, -0.36919456720352173, 0.4712742865085602, -0.5311440229415894, -0.07343828678131104, 0.09575389325618744, 0.1710340529680252, -0.1629454344511032, 0.052264001220464706, -0.19030416011810303, -0.31007465720176697, 0.3289062976837158, -0.2584783732891083, 0.8621220588684082, -0.004464376252144575, -0.5633593797683716, 0.33671674132347107, -1.2202943563461304, -0.003682547714561224, -0.04968252778053284, -0.5508960485458374, -0.4273240864276886, 0.10263944417238235, -0.14740121364593506, 0.1553739458322525, 0.06193722039461136, -0.5656691789627075, 0.4485187530517578, -0.2910178005695343, 0.3990213871002197, 0.9721947312355042, 0.13464972376823425, 0.7465396523475647, -0.1510292887687683, 0.6902776956558228, -0.057884227484464645, 0.025915641337633133, -0.41231220960617065, -0.5496096611022949, -0.7717891335487366, -0.5386996269226074, 0.1458703577518463, 0.4338151514530182, -0.7753929495811462, 0.07861024141311646, -0.1525425910949707, -0.6905158162117004, -0.0810287594795227, 0.11182795464992523, 0.9438123106956482, 0.5387850999832153, 0.47467130422592163, -0.23062904179096222, -0.4182298481464386, -1.0600899457931519, -0.5444557666778564, -0.3090100884437561, 0.04297889396548271, 0.2212700992822647, 0.4089730679988861, -0.1675599366426468, 0.7619567513465881, -0.3655378818511963, -0.26909366250038147, -0.1677103042602539, 0.3343021869659424, 0.028465192764997482, 0.71645587682724, 0.4929453134536743, -0.2635597586631775, -0.5518927574157715, -0.22342051565647125, -0.3480362892150879, -0.3075084686279297, -0.02191806770861149, 0.021131103858351707, 0.2067072093486786, 0.5901594161987305, -0.45933327078819275, 0.12435401231050491, 0.7411919236183167, -0.47208812832832336, 0.4283491373062134, -0.1474386304616928, 0.4370531737804413, -0.5434699654579163, 0.02577308565378189, -0.012143896892666817, -0.39283373951911926, -0.9374198913574219, 0.15323084592819214, 0.42614972591400146, -0.032324641942977905, -1.0153825283050537, 0.5753521919250488, -0.6415953040122986, -0.000857782200910151, -0.06809540092945099, -0.24458098411560059, -0.28118762373924255, 0.7910184264183044, -0.40954387187957764, 1.015515923500061, 0.5539215803146362, -0.6184120774269104, 0.5887457132339478, 0.05857647582888603, -0.4165615141391754, 0.3832484781742096, -0.3921205997467041, 0.04963892698287964, 0.03724411875009537, 0.6006336808204651, -0.9542352557182312, -0.1829390674829483, 0.2380734235048294, 0.011764138005673885, 0.43581101298332214, -0.39057329297065735, -0.5119235515594482, -0.11335274577140808, -0.6320023536682129, 1.2757529020309448, 0.5251392126083374, -0.7029137015342712, 0.5346577763557434, 0.41394656896591187, 0.07906045764684677, -0.1658657193183899, -0.690577507019043, -0.0665164440870285, -0.395865261554718, -0.8486659526824951, 0.11780719459056854, 0.1960126757621765, -0.2913271188735962, -0.3594050407409668, -0.08988630771636963, -0.2346295565366745, 0.04976913705468178, -0.06096632778644562, -0.1803615689277649, -0.4132544994354248, -0.0647953599691391, -0.23622407019138336, -0.5961237549781799, 0.1204063668847084, -0.19219674170017242, 0.6563428044319153, -0.11415913701057434, -0.7063626646995544, -0.36537232995033264, 0.28818202018737793, 0.6601578593254089, -0.1385158747434616, 0.6337347626686096, 0.2521416246891022, -0.334869921207428, -0.01529325544834137, -0.5889114737510681, -0.3396361470222473, -0.5037943720817566, 0.2481062412261963, -0.09916353970766068, -0.3676362633705139, 0.8025161623954773, -0.3376644551753998, -0.36830422282218933, 0.3743784725666046, 0.6298958659172058, 0.15035401284694672, 0.807457685470581, 0.5481519103050232, -0.04842229187488556, 0.8115293383598328, -0.2944759130477905, 0.38179007172584534, -0.90828937292099, -0.01363235991448164, -0.4594483971595764, -0.6302731037139893, -0.1798463761806488, -0.7863940596580505, 0.3796451985836029, 0.19447238743305206, -0.1728922426700592, 0.49426090717315674, 0.009313631802797318, 0.7357632517814636, 0.6787763833999634, 0.05583479627966881, 0.21888387203216553, 0.3048411011695862, 0.16951024532318115, -0.029335951432585716, -0.7788349986076355, -0.14232861995697021, 1.197928786277771, 0.34101271629333496, 0.6434727907180786, 0.32063883543014526, 0.5000513195991516, 0.15323887765407562, 0.8244643807411194, -0.5642903447151184, 0.5386629104614258, 0.25490260124206543, -0.7842980027198792, -0.4036993980407715, -0.3348109722137451, -0.8238942623138428, -0.10404352098703384, -0.009939967654645443, -0.9367716312408447, 0.2907567620277405, 0.7314890027046204, -0.12220827490091324, 0.6585860252380371, -0.826002299785614, 0.8090547323226929, 0.26159778237342834, -0.4028806984424591, -0.20292657613754272, -0.3933030366897583, 0.586902916431427, -0.17092837393283844, 0.2298494428396225, 0.0179410632699728, 0.021791592240333557, 0.6530519127845764, -0.5617563724517822, 0.8150840401649475, -0.29560545086860657, -0.4291430413722992, 0.3705958425998688, 0.2385597676038742, 1.1359162330627441, -0.33720311522483826, -0.12049918621778488, 0.1616278439760208, -0.4632206857204437, -0.8517308235168457, -0.7571879029273987, 0.8029494881629944, -0.34633493423461914, -0.41050007939338684, -0.26150596141815186, -0.419836163520813, -0.27759644389152527, 0.11763393878936768, 0.02798854559659958, 0.7233841419219971, 0.21852010488510132, -0.07970289885997772, 0.7798001766204834, -0.16467051208019257, 0.4913761019706726, 0.6822509169578552, -0.259533554315567, -0.21236597001552582, 1.4689902067184448, 0.09624829888343811, 0.6036839485168457, 0.35930535197257996, 0.12417364865541458, -0.07588318735361099, -0.3864830434322357, -0.45553767681121826, 0.2896677851676941, -0.6872632503509521, -0.20884181559085846, -0.4735361933708191, 0.15433040261268616, -0.046094752848148346, -0.41402965784072876, -0.9307782649993896, -0.7317621111869812, -0.00839174259454012, -0.08782269060611725, 0.3354024589061737, 0.22816681861877441, -0.22364379465579987, 0.3698387145996094, -0.5910423994064331, 0.3919791281223297, 0.42868107557296753, 0.6634592413902283, -0.06282112747430801, -0.16219095885753632, -0.2909865975379944, -0.023407405242323875, -0.32174429297447205, -0.9789943099021912, 0.13484935462474823, 0.2919243574142456, 0.3550266623497009, 0.25635644793510437, -0.12805604934692383, 0.7677093148231506, -0.7826300859451294, 0.9610164165496826, 0.2909013628959656, -0.9115654826164246, 0.6372854113578796, -0.4680039882659912, 0.0029398768674582243, 0.34541526436805725, 0.002194399945437908, -0.19292062520980835, -0.550176203250885, -0.6022747159004211, -1.2533069849014282, 0.7001159191131592, 0.4008386433124542, 0.06355758756399155, -0.32340168952941895, 0.3498254418373108, -0.2954275608062744, -0.106517493724823, -0.661540150642395, -0.7440273761749268, 0.19914735853672028, 0.21971678733825684, -0.3192579746246338, -0.6959748268127441, -0.2912440299987793, -0.10384117811918259, 1.076816439628601, -0.09193200618028641, 0.3956650197505951, 0.13471989333629608, -0.3431926667690277, -0.6388444900512695, 0.25045204162597656, 0.9336427450180054, 0.5722373127937317, -0.384463369846344, 0.3970381021499634, -0.009219247847795486, -0.2736539840698242, 0.6715736985206604, -0.38770154118537903, -0.1471601277589798, -0.1499914526939392, 0.5726081132888794, 0.5179741382598877, 0.5219465494155884, -0.6559021472930908, 0.6296138167381287, 0.17761731147766113, 0.06384582072496414, -0.026087561622262, -0.01636047661304474, -0.08544447273015976, 0.21281877160072327, 0.1150384470820427, 0.43391960859298706, 0.08337349444627762, -0.6868659257888794, 0.17929288744926453, 0.35707393288612366, -0.6341791152954102, -0.4235062897205353, 0.6188452839851379, 0.26446643471717834, -0.6093989014625549, 0.40856194496154785, -0.012953524477779865, -0.5765416026115417, 0.8487998843193054, 0.7561334371566772, 0.9199426770210266, -0.4278850257396698, 0.01330341026186943, 0.28273022174835205, 0.17877832055091858, -0.3346126079559326, 0.11771844327449799, 0.026572762057185173, -0.5303181409835815, -0.6969305276870728, -0.5750578045845032, -0.23527391254901886, -0.2680125832557678, -0.483939528465271, 0.005807072389870882, -0.22280913591384888, -0.02362624555826187, -0.0945470929145813, -0.18279904127120972, -0.13508349657058716, 0.021791543811559677, -0.2660459280014038, 1.1496659517288208, -1.1660345792770386, 0.9250406622886658, 0.7931362986564636, -0.11859811097383499, -0.6923942565917969, -0.03249068185687065, 0.1302417665719986, -1.0141916275024414, 0.9097011089324951, -0.12381795793771744, 0.006360223051160574, 0.1317557692527771, -0.22921720147132874, -1.0883169174194336, 1.008908748626709, 0.666041910648346, -0.21360071003437042, 0.39696821570396423, -0.03170605003833771, 0.37777382135391235, -0.12143080681562424, 0.21424418687820435, 0.6565922498703003, 0.7763979434967041, -0.012948017567396164, -0.7270004153251648, 0.22360149025917053, -0.33341920375823975, -0.20635999739170074, 0.3965272009372711, -0.6767979860305786, 1.0027309656143188, -0.015878826379776, 0.050118036568164825, -0.08151956647634506, 0.28424307703971863, 0.2926401197910309, 0.12297496199607849, 0.6402668356895447, 0.5280793905258179, 0.5795300006866455, 0.03782140463590622, 1.5312786102294922, -0.5961379408836365, 0.5892895460128784, 0.6542083621025085, 0.17880114912986755, 0.5753856897354126, 0.9158928394317627, -0.5391888618469238, 0.43936479091644287, 0.5079115629196167, 0.2778262794017792, 0.6032686233520508, 0.5836973190307617, -0.409781277179718, -0.3762129545211792, 0.08910267055034637, -0.35870933532714844, -0.21539364755153656, -0.12682287395000458, -0.12938612699508667, -0.19687330722808838, -0.09751512855291367, 0.09482787549495697, -0.1898566633462906, -0.43627360463142395, 0.42383724451065063, -0.0585779994726181, -0.5989488959312439, 0.6637137532234192, 0.11870807409286499, 0.37248143553733826, -0.6902100443840027, -0.08735043555498123, -0.420265793800354, 0.31134429574012756, -0.25736290216445923, -0.18420682847499847, 0.4250171482563019, -0.18713971972465515, -0.5785527229309082, -0.625633716583252, 0.649001955986023, -0.49297502636909485, -0.629910409450531, 0.2850135862827301, 0.02395554631948471, 0.05105935409665108, -0.12474081665277481, -0.2150411158800125, 0.025731785222887993, -0.03573951497673988, -0.766772449016571, 0.6048035025596619, 0.1800331175327301, -0.34014472365379333, 1.0725343227386475, 0.7592296004295349, 0.294260174036026, 0.3728298544883728, -0.19436348974704742, 1.0643160343170166, -0.5412670969963074, -0.3258879482746124, -0.9157228469848633, 0.6320492029190063, 0.1991603821516037, 0.04463563486933708, 0.7768529057502747, 0.49373793601989746, 0.28848016262054443, -0.08014723658561707, 0.2424226850271225, 0.20287594199180603, 0.06460513174533844, -0.7976595759391785, 0.39311689138412476, -0.6549428105354309, 0.8716727495193481, -0.2206246256828308, -1.1044881343841553, -0.6332193613052368, 0.4581490457057953, -0.42224740982055664, -0.290106862783432, 0.9298804998397827, 0.9140764474868774, -0.3817219138145447, -0.3255464732646942, 0.14551156759262085, 0.5637337565422058, 0.6180663704872131, 0.4366470277309418, 0.5183098912239075, -0.6559039354324341, 0.30898964405059814, -0.17334821820259094, -0.5471861362457275, -0.32872921228408813, -1.0541746616363525, -0.6188095808029175, -0.24371598660945892, -0.48813745379447937, -0.5982365012168884, -0.034090593457221985, 0.8593429923057556, 0.6803379654884338, -0.9592235088348389, 0.01157139241695404, -0.2938718795776367, 0.48009032011032104, -0.35743165016174316, -0.17837867140769958, 0.565575897693634, -0.6915476322174072, -0.48878076672554016, 0.6075963973999023, 0.5233514308929443, -0.2180141657590866, -0.4476373493671417, -0.1362997144460678, -0.34720051288604736, 0.40745073556900024, 0.41377758979797363, 0.5499611496925354, -0.5228855013847351, -0.44909873604774475, -0.3232864737510681, -0.10284195095300674, 0.21379421651363373, 1.3706872463226318, -0.7677210569381714, 0.33555689454078674, 0.3258161246776581, 0.5403637886047363, 0.411055326461792, -0.2636457681655884, 0.8612894415855408, -0.9545493721961975, 0.40147167444229126, -0.09828317165374756, 0.4660433828830719, 0.13887400925159454, -0.1403632014989853, 0.29493626952171326, 0.5216360092163086, -0.5842580795288086, -1.0224053859710693, 0.5252800583839417, -0.9450544118881226, -0.05477939173579216, 1.4418001174926758, -0.4641134738922119, -0.6003125309944153, -0.04582632705569267, -0.08832797408103943, -0.1739421784877777, -0.290803462266922, 1.0201034545898438, 0.4696810245513916, -0.16843564808368683, 0.15638050436973572, -0.18091309070587158, 0.6330537796020508, 0.5000410676002502, -0.4361973702907562, 0.15553541481494904, 0.40119120478630066, 0.38297200202941895, 0.4268454313278198, 0.9853354692459106, 0.017618706449866295, 0.16359484195709229, 0.04974551498889923, -0.019556820392608643, -0.0721423551440239, -0.16930362582206726, -0.26392093300819397, 0.32733672857284546, -0.12138912826776505, 0.06798604130744934 ]
http://arxiv.org/abs/2403.00742v1
http://arxiv.org/pdf/2403.00742v1
Dialect prejudice predicts AI decisions about people's character, employability, and criminality
2024-03-01T18:43:09
2024-03-01T18:43:09
Valentin Hofmann, Pratyusha Ria Kalluri, Dan Jurafsky, Sharese King
cs.CL
cs.CL, cs.AI, cs.CY
Hundreds of millions of people now interact with language models, with uses ranging from serving as a writing aid to informing hiring decisions. Yet these language models are known to perpetuate systematic racial prejudices, making their judgments biased in problematic ways about groups like African Americans. While prior research has focused on overt racism in language models, social scientists have argued that racism with a more subtle character has developed over time. It is unknown whether this covert racism manifests in language models. Here, we demonstrate that language models embody covert racism in the form of dialect prejudice: we extend research showing that Americans hold raciolinguistic stereotypes about speakers of African American English and find that language models have the same prejudice, exhibiting covert stereotypes that are more negative than any human stereotypes about African Americans ever experimentally recorded, although closest to the ones from before the civil rights movement. By contrast, the language models' overt stereotypes about African Americans are much more positive. We demonstrate that dialect prejudice has the potential for harmful consequences by asking language models to make hypothetical decisions about people, based only on how they speak. Language models are more likely to suggest that speakers of African American English be assigned less prestigious jobs, be convicted of crimes, and be sentenced to death. Finally, we show that existing methods for alleviating racial bias in language models such as human feedback training do not mitigate the dialect prejudice, but can exacerbate the discrepancy between covert and overt stereotypes, by teaching language models to superficially conceal the racism that they maintain on a deeper level. Our findings have far-reaching implications for the fair and safe employment of language technology.
[ -0.381387323141098, -0.6091333031654358, 0.6106244325637817, -0.11623473465442657, 0.12047384679317474, -0.2311319261789322, -0.31854239106178284, -0.6379058957099915, 0.4523182809352875, 0.7619266510009766, -0.11138760298490524, -0.0986633375287056, -0.41011831164360046, -0.42304131388664246, -0.5947861671447754, 0.7796183824539185, 0.5348160862922668, 0.2924526035785675, 0.24680350720882416, -0.17800651490688324, -0.2518756091594696, -1.0044159889221191, -0.556118905544281, -0.29716843366622925, 0.4265645444393158, 0.3300033509731293, 1.005415439605713, 0.39445993304252625, 0.05122803896665573, 0.30198580026626587, -0.0002082143910229206, -0.5439620614051819, -0.46465009450912476, 0.22637228667736053, -0.35562899708747864, -0.8336355686187744, -0.1045447364449501, 0.29021579027175903, -0.05990706384181976, 0.9727301001548767, -0.10512936860322952, -0.13699068129062653, -0.31203722953796387, 0.6477945446968079, -0.513420581817627, -0.015081433579325676, -0.8573641180992126, -0.21274824440479279, -0.5599960684776306, 0.5041110515594482, -0.384919673204422, -0.4716086685657501, -0.15980631113052368, -0.24998489022254944, 0.639354944229126, 0.19244587421417236, 0.8645758032798767, 0.11088542640209198, -0.7426100969314575, -0.277314692735672, -0.8247464299201965, 0.7033728361129761, -0.9236215949058533, 0.4586586356163025, 0.636849582195282, 0.5605611205101013, 0.30850908160209656, -0.3320693373680115, -0.9030393362045288, -0.6409996151924133, -0.1265467405319214, 0.08380868285894394, 0.22010602056980133, 0.22290544211864471, 0.43966609239578247, 0.20688606798648834, -0.5498153567314148, 0.1458897590637207, -0.7287535667419434, -0.21122083067893982, 0.7216482162475586, 0.18142788112163544, 0.32676059007644653, -0.12413301318883896, 0.052894413471221924, -0.08684088289737701, -0.5981180667877197, -0.07222051918506622, 0.6191548109054565, 0.516861617565155, 0.07479409873485565, 0.35618138313293457, -0.11462725698947906, 0.276466965675354, -0.294589102268219, 0.20798780024051666, 0.0774465799331665, 0.11855889856815338, 0.08321858942508698, -0.015602211467921734, 0.40130701661109924, 0.4978671967983246, 0.8564897775650024, -0.11545418947935104, -0.19351498782634735, 0.8222976326942444, 0.3367646634578705, -0.4127136766910553, -0.10825751721858978, -0.01648617535829544, -0.14723023772239685, -0.1760581135749817, 0.04886164516210556, -0.8827952146530151, -0.6889846324920654, 0.04292291775345802, 0.0964006558060646, -0.31270354986190796, -0.20839735865592957, 0.17239980399608612, -0.4848295748233795, 0.14558997750282288, 0.16411930322647095, -0.9678750038146973, 0.26260241866111755, 0.7777458429336548, 0.3773635923862457, 0.24008223414421082, -0.1619645208120346, 0.16756080090999603, 0.11226208508014679, -0.5182863473892212, 0.16647134721279144, -0.6662580370903015, -0.32478973269462585, 0.28923219442367554, 0.06948960572481155, 0.11607515066862106, -0.6422773003578186, 0.6405040621757507, -0.35037240386009216, 0.13511699438095093, -0.4042622447013855, -0.19868363440036774, -0.25570768117904663, -0.019678890705108643, -0.436125248670578, 0.6028717160224915, -0.05741332098841667, -0.5597782135009766, 0.5256942510604858, -0.2081923931837082, -0.4939204454421997, -0.09918162226676941, -0.153617262840271, -0.46998608112335205, 0.3178097903728485, -0.06961874663829803, 0.03411458805203438, -0.18387411534786224, 0.31672385334968567, -0.7399165034294128, -0.30527129769325256, 0.3049710988998413, -0.2392597645521164, 1.1404540538787842, 0.3257073163986206, -0.6620151996612549, -0.4901432693004608, -0.48801717162132263, -0.39325833320617676, 0.2630195915699005, -0.01557875331491232, -0.8007665276527405, 0.07772529125213623, -0.3452877104282379, 0.12312784045934677, -0.26655998826026917, -0.8301324844360352, -0.02922920137643814, -0.4777434468269348, 0.13270732760429382, 0.7605876922607422, -0.20774880051612854, 0.5844802856445312, -0.48683100938796997, 0.47044289112091064, -0.21523338556289673, 0.33809947967529297, 0.20542339980602264, -0.6206973791122437, -1.3034014701843262, 0.18959806859493256, 0.06770685315132141, 0.4701540768146515, -0.41500943899154663, 0.16007129848003387, -0.0335807166993618, -0.31367045640945435, -0.5206161141395569, -0.1130489930510521, 0.23660902678966522, 0.3995650112628937, 0.2708582580089569, -0.2514386475086212, -0.307233989238739, -1.07835853099823, -0.6613388061523438, -0.49332067370414734, -0.0630129724740982, 0.49634355306625366, 0.3447840213775635, -0.19467011094093323, 0.7561787366867065, -0.31771284341812134, -0.3193829357624054, -0.17240400612354279, 0.20194579660892487, 0.06195785850286484, 0.3117307424545288, 0.8471368551254272, -0.4798114001750946, -0.45784035325050354, -0.009164457209408283, -0.47699692845344543, -0.3882052004337311, -0.03507426381111145, 0.03315652534365654, 0.1600951850414276, 0.5913410782814026, -0.4891684949398041, 0.44704362750053406, 0.26135677099227905, -0.5587329864501953, 0.5706238746643066, 0.34062302112579346, 0.009616771712899208, -0.7011736035346985, -0.2894451916217804, -0.1414593756198883, 0.06679132580757141, -0.7144280672073364, 0.2559416890144348, -0.03584204614162445, -0.40654999017715454, -0.049746960401535034, 0.7276567220687866, -0.29914820194244385, 0.16987080872058868, -0.03782821446657181, 0.007645863573998213, 0.3022698163986206, 0.25329840183258057, 0.04852234572172165, 0.37753450870513916, 0.3847505748271942, -0.38724222779273987, 0.16486166417598724, -0.01693873107433319, -0.449392169713974, 0.2577352523803711, -0.5172449350357056, 0.2283451408147812, -0.4701097905635834, -0.03879295662045479, -0.8244054913520813, 0.003597310744225979, -0.22794269025325775, -0.5736100673675537, 0.3202654719352722, -0.1313951015472412, 0.3137061893939972, -0.5422667860984802, -0.19619804620742798, 0.23025046288967133, 0.649005115032196, -0.27759188413619995, 0.3129647374153137, 0.35068824887275696, -0.5580481886863708, -0.6005155444145203, -1.2046880722045898, 0.14243173599243164, -0.14850737154483795, -0.631744384765625, 0.09709986299276352, 0.2995224595069885, -0.9986124634742737, -0.21098175644874573, 0.06858324259519577, -0.20224744081497192, -0.07890336960554123, 0.2916499674320221, 0.0923934355378151, -0.18645310401916504, 0.05487287417054176, -0.045790448784828186, 0.1678645759820938, 0.27797290682792664, -0.0169881172478199, 0.3384249806404114, 0.4660801887512207, -0.3923525810241699, 0.2625948488712311, 0.6239567995071411, 0.7694602012634277, -0.06228001043200493, 0.7587123513221741, 0.05684714764356613, -0.05390673875808716, -0.5210501551628113, -0.9875229001045227, -0.5715354681015015, -0.4427984654903412, 0.5024243593215942, -0.15191996097564697, -0.689512312412262, 0.5042501091957092, 0.3026489317417145, -0.04621635004878044, -0.03474992513656616, 0.29905232787132263, -0.21115492284297943, 0.8611586689949036, 0.8132251501083374, -0.3296736180782318, 0.7119014263153076, -0.197157084941864, 0.3827608525753021, -0.24077582359313965, -0.1588451862335205, -0.8846642374992371, -0.09878234565258026, -0.4429704248905182, -0.3375588655471802, 0.32889750599861145, -0.06002415344119072, -0.3075820803642273, 0.04919532313942909, -0.17158541083335876, 0.4905204474925995, 0.6267107129096985, 0.08711294084787369, -0.1442515105009079, -0.021872228011488914, -0.2853742241859436, -0.26280850172042847, -0.33988672494888306, -0.4606747627258301, 1.0097332000732422, 0.31727486848831177, 0.870642900466919, 0.24124054610729218, 0.5210463404655457, 0.5000222325325012, 0.33986997604370117, -0.5078535079956055, 0.4786311984062195, -0.13786254823207855, -1.196415662765503, -0.3446834087371826, -0.2659090757369995, -0.7486985325813293, 0.1658703088760376, 0.04348335787653923, -0.5558822751045227, 0.7495619654655457, 0.33921220898628235, -0.035276733338832855, 0.16927194595336914, -0.9849080443382263, 0.7689619660377502, -0.3316974937915802, -0.37783101201057434, -0.4345937967300415, -0.5661455392837524, 0.5758551955223083, -0.11530987918376923, 0.49384522438049316, -0.20605160295963287, 0.3574794828891754, 0.37456899881362915, -0.8176666498184204, 0.9471669793128967, -0.3399403691291809, 0.11669906973838806, -0.03838740661740303, 0.38578036427497864, 0.5387015342712402, -0.24080577492713928, -0.6613850593566895, 0.37157946825027466, -0.5800849795341492, -0.5280864834785461, -0.5957028865814209, 0.3656740188598633, -0.6786109209060669, -1.0120593309402466, -0.34759846329689026, -0.29302096366882324, -0.21675831079483032, 0.02429923787713051, 0.2322165071964264, 0.21823562681674957, -0.24716858565807343, -0.267057865858078, 0.2651938199996948, -0.42237719893455505, 0.19067168235778809, 0.6360505819320679, -0.13816218078136444, -0.03769801929593086, 0.7962459921836853, 0.03562947362661362, 0.7197895646095276, -0.0244478490203619, 0.21546806395053864, -0.18760523200035095, -0.45401355624198914, -0.0480257049202919, 0.486642450094223, -0.7290951013565063, 0.03833582252264023, -0.5070415139198303, -0.009764095768332481, -0.9064265489578247, -0.5217691659927368, -0.22164955735206604, -0.7736793756484985, 0.2703094482421875, -0.22457462549209595, 0.1321769654750824, 0.8955061435699463, -0.11631408333778381, 0.3525976836681366, -0.1602347493171692, 0.3632580041885376, 0.8430243134498596, -0.008755584247410297, -0.0890074223279953, -0.9082513451576233, -0.1932486742734909, 0.17066188156604767, -0.1995597779750824, -0.9748391509056091, 0.4034295380115509, 0.1618756353855133, 0.5506370663642883, 0.6358627676963806, 0.3843878209590912, 0.1619066596031189, -0.49426382780075073, 0.8814163208007812, -0.04496325924992561, -0.7890467047691345, 0.3644636869430542, -0.2448393553495407, -0.18721434473991394, 0.525507926940918, 0.5382933616638184, -0.7738993167877197, -1.024327039718628, -0.38713186979293823, -0.7292428016662598, 0.752887487411499, -0.06483057141304016, 0.5347233414649963, -0.17972932755947113, 0.09182138741016388, -0.07951416820287704, 0.06446830928325653, -1.0701484680175781, -0.4210084080696106, -0.6939979791641235, 0.10531259328126907, -0.2578295171260834, -0.5940807461738586, -0.04623017460107803, -0.3289138376712799, 0.5645571947097778, 0.17199240624904633, 0.020037328824400902, -0.12229087203741074, -0.15048184990882874, 0.02322736196219921, 0.47136959433555603, 0.3948712944984436, 0.35427096486091614, -0.13391223549842834, 0.23197509348392487, -0.02442965656518936, -0.24377675354480743, 0.34396037459373474, 0.009238306432962418, -0.43934524059295654, 0.1692807823419571, 0.40277954936027527, 0.8373563289642334, -0.4580017030239105, -0.23698215186595917, 0.5841579437255859, 0.15289555490016937, 0.03759056329727173, -0.2525494396686554, 0.028952917084097862, 0.04227809980511665, 0.15598221123218536, 0.16843563318252563, 0.10387279838323593, 0.29508623480796814, -1.130946397781372, 0.014822951517999172, 0.8067095875740051, -0.25772279500961304, -0.3220127820968628, 0.8300512433052063, 0.5645832419395447, -0.3817325532436371, 0.58455491065979, -0.1424330323934555, -1.0564391613006592, 0.6564352512359619, 0.4881725013256073, 0.8265430331230164, -0.6410980224609375, 0.11727098375558853, 0.19687911868095398, 0.779114305973053, 0.22590339183807373, -0.048417828977108, -0.010445619001984596, -1.184801697731018, -0.024786600843071938, -0.7561666965484619, -0.2474898397922516, 0.01707005500793457, -0.48447439074516296, 0.27901265025138855, -0.4047478139400482, -0.31745097041130066, 0.050535764545202255, -0.3524235188961029, -0.1898583322763443, 0.246224507689476, 0.3743847608566284, 0.7876682877540588, -1.2048228979110718, 0.9187552332878113, 0.39398103952407837, -0.44050636887550354, -0.56553715467453, 0.237342968583107, 0.1898653358221054, -0.7588602304458618, 0.8903018236160278, 0.11226406693458557, 0.05423237383365631, -0.29794150590896606, -0.24912558495998383, -0.3713715076446533, 0.20758208632469177, 0.6930707097053528, -0.4966152608394623, -0.23415707051753998, 0.6072418689727783, 0.41454991698265076, 0.005662581883370876, 0.43783140182495117, 0.6392181515693665, 0.517408013343811, -0.14448556303977966, -0.9906111359596252, -0.11507969349622726, -0.21905814111232758, 0.03782947361469269, 0.10969489067792892, -0.5795402526855469, 1.1443419456481934, -0.3361513614654541, -0.21994154155254364, -0.2812061607837677, 0.18226853013038635, -0.3308100402355194, 0.15335503220558167, 0.4812459945678711, 0.4806502163410187, 0.474791020154953, -0.18050570785999298, 0.9995326399803162, -0.1902771145105362, 0.034013211727142334, 0.8100619912147522, -0.5300060510635376, 0.15236391127109528, 0.20171043276786804, -0.2525625228881836, 0.6996448636054993, -0.03127455338835716, 0.36872246861457825, 0.47589313983917236, 0.274751752614975, -0.42085206508636475, -0.1846948266029358, -0.2256011962890625, -0.3245534598827362, 0.46955400705337524, 0.5632334351539612, -0.3797541856765747, -0.0415608175098896, 0.006102759391069412, 0.16452689468860626, 0.5544964671134949, -0.23954829573631287, 0.45348861813545227, 0.1399906724691391, -0.5636237859725952, 0.681290864944458, -0.035540103912353516, 0.7376691699028015, -0.5866778492927551, 0.10880301147699356, -0.7950136065483093, 0.33058565855026245, -0.07568968832492828, -0.19554118812084198, 0.3728829622268677, -0.32291436195373535, -0.3439410924911499, -0.07483706623315811, 0.45562103390693665, -0.5591809749603271, -0.29264384508132935, 0.50739985704422, 0.20287059247493744, 0.11647744476795197, -0.2638988792896271, -0.68421471118927, -0.0272431168705225, 0.20377442240715027, -0.02353297360241413, 0.09345932304859161, 0.4385764002799988, -0.25285017490386963, 0.6622444987297058, 0.3904115557670593, 0.6614241600036621, 0.44924014806747437, 0.351261168718338, 0.6278594136238098, -0.8947828412055969, -0.5565187335014343, -0.6455815434455872, 0.282274454832077, -0.34721988439559937, 0.13846071064472198, 0.8057582378387451, 0.338209331035614, 0.9467136859893799, 0.02465866692364216, 0.9196208715438843, 0.002038350561633706, 0.7455443739891052, -0.3564489483833313, 0.8770795464515686, -0.47050753235816956, 0.2520447373390198, -0.4573005437850952, -0.7737315893173218, 0.044788334518671036, 0.5925131440162659, -0.4378358721733093, 0.49674978852272034, 0.6859286427497864, 1.1769568920135498, 0.000007094472493918147, -0.06433606147766113, 0.7154509425163269, 0.49596190452575684, 0.19292306900024414, 0.24628017842769623, 0.9312413930892944, 0.008390516974031925, 0.4367997348308563, -0.45700305700302124, -0.1593836098909378, -0.28069183230400085, -0.27141594886779785, -0.9435223340988159, -0.31975793838500977, -0.04302457720041275, -0.33100593090057373, 0.3903728723526001, 0.3306654393672943, 0.8777104616165161, -1.00087571144104, -0.47671639919281006, 0.08307554572820663, 0.13065055012702942, 0.15039829909801483, -0.33665624260902405, -0.35992059111595154, -0.27370110154151917, -0.8249460458755493, 0.27168938517570496, 0.0718008503317833, 0.15029893815517426, -0.2665095031261444, -0.023540852591395378, 0.08428466320037842, 0.4157455563545227, 0.3850865066051483, 0.48763248324394226, -0.7540880441665649, -0.29163703322410583, -0.34350377321243286, -0.2751311957836151, -0.32309356331825256, 1.0658490657806396, -0.589625358581543, 0.5249603390693665, 0.20638717710971832, 0.18226617574691772, 0.3884029984474182, -0.0772814229130745, 0.8790261745452881, -0.8019973039627075, 0.7442663908004761, 0.5577602386474609, 0.5628519058227539, 0.30068862438201904, -0.3607315123081207, 0.36258465051651, 0.39762812852859497, -0.4910120964050293, -0.9212445020675659, 0.5766507983207703, -0.2271862030029297, -0.5426749587059021, 0.9706329107284546, 0.07622292637825012, 0.09219492226839066, -0.6684082746505737, -0.04066804423928261, 0.1176321879029274, -0.417915940284729, 0.9935001730918884, 0.465862512588501, 0.13712531328201294, 0.012093853205442429, -0.5310634970664978, 0.7585389614105225, 0.8964584469795227, -0.35326820611953735, 0.3455314040184021, 0.6779918670654297, 0.09599777311086655, 0.2576194405555725, 0.5013874769210815, 0.1349390149116516, 0.20216244459152222, 0.2656223773956299, 0.472187340259552, 0.027183489874005318, -0.24174360930919647, -0.3511742353439331, -0.060475077480077744, 0.3010219633579254, 0.08715765178203583 ]
http://arxiv.org/abs/2403.00724v1
http://arxiv.org/pdf/2403.00724v1
Few-Shot Relation Extraction with Hybrid Visual Evidence
2024-03-01T18:20:11
2024-03-01T18:20:11
Jiaying Gong, Hoda Eldardiry
cs.CL
cs.CL, cs.CV
The goal of few-shot relation extraction is to predict relations between name entities in a sentence when only a few labeled instances are available for training. Existing few-shot relation extraction methods focus on uni-modal information such as text only. This reduces performance when there are no clear contexts between the name entities described in text. We propose a multi-modal few-shot relation extraction model (MFS-HVE) that leverages both textual and visual semantic information to learn a multi-modal representation jointly. The MFS-HVE includes semantic feature extractors and multi-modal fusion components. The MFS-HVE semantic feature extractors are developed to extract both textual and visual features. The visual features include global image features and local object features within the image. The MFS-HVE multi-modal fusion unit integrates information from various modalities using image-guided attention, object-guided attention, and hybrid feature attention to fully capture the semantic interaction between visual regions of images and relevant texts. Extensive experiments conducted on two public datasets demonstrate that semantic visual information significantly improves the performance of few-shot relation prediction.
[ -0.4207969307899475, -0.9458211660385132, 0.6600161790847778, -0.2838960587978363, -0.46763503551483154, -0.24184678494930267, -0.017897751182317734, -0.763177216053009, 0.1894386112689972, 0.42897921800613403, -0.8289400935173035, -0.26720917224884033, -0.6278368234634399, 0.19077427685260773, -0.09783674776554108, 0.9238623380661011, 0.2601769268512726, 0.12355592101812363, -0.27215489745140076, -0.12457098066806793, -0.3912127614021301, -0.20450147986412048, 0.11436433345079422, -0.24729545414447784, 0.6197512149810791, 0.4250444769859314, 0.6603506803512573, 0.5417481660842896, 0.7572728991508484, 0.3341984450817108, 0.22570504248142242, 0.36023834347724915, -0.6745853424072266, 0.09918206185102463, 0.0352247878909111, -0.2960434854030609, -0.23696021735668182, 0.04669718071818352, 0.7000837922096252, 0.20118509232997894, 0.4215238094329834, 0.12131871283054352, -0.24125166237354279, 0.1755020171403885, -1.0149717330932617, 0.3618309795856476, -0.698485791683197, -0.156195729970932, -0.5380783081054688, -0.36373573541641235, -0.382563054561615, 0.2756485044956207, 0.3602915108203888, -0.8198667764663696, -0.06875790655612946, 0.200792595744133, 1.1791408061981201, 0.08173998445272446, -0.6881714463233948, 0.34400731325149536, -0.7106824517250061, 0.7839275002479553, -0.3202127516269684, 0.5635488629341125, 0.4159136414527893, 0.45157620310783386, -0.21475139260292053, -0.37174394726753235, -0.7010716795921326, -0.05660450831055641, -0.5424498319625854, 0.28775250911712646, -0.11776882410049438, 0.03164273872971535, 0.2297193706035614, 0.2434101551771164, -0.245614156126976, -0.17982809245586395, -0.3671450614929199, -0.20390984416007996, 0.424258291721344, 0.3777742385864258, 0.18978632986545563, -0.845503568649292, -0.9611083269119263, 0.06034369766712189, -0.551412045955658, 0.05091513693332672, -0.1958504021167755, 0.22301433980464935, -0.30027538537979126, 0.955906093120575, -0.20489448308944702, 0.802510142326355, -0.15172332525253296, -0.9540295600891113, 0.12776899337768555, -0.7495712041854858, -0.4088185429573059, -0.33550432324409485, 1.0958340167999268, 0.24572136998176575, 0.10056625306606293, -0.12861573696136475, -0.11589071899652481, 0.2499540150165558, -0.2191556841135025, -0.763702929019928, -0.0282755084335804, -0.2200389802455902, -0.6952681541442871, -0.2501741051673889, 0.22768084704875946, -1.1341090202331543, -0.2810012996196747, -0.20307792723178864, 0.4933623671531677, -0.658825159072876, -0.32280024886131287, -0.41586023569107056, -0.6008358597755432, 0.39976370334625244, 0.36019080877304077, -0.7722921967506409, 0.16862675547599792, 0.5489386320114136, 0.738269031047821, -0.30823060870170593, -0.566500186920166, -0.8004469275474548, 0.6710138320922852, 0.296688973903656, 1.0655040740966797, -0.8825299739837646, -0.2718620300292969, -0.09229128062725067, 0.0041903965175151825, -0.17326493561267853, -0.19438104331493378, 0.17047031223773956, -0.49289077520370483, 0.4462401866912842, -0.18227985501289368, -0.5178777575492859, -0.04890482500195503, 0.3245934247970581, -0.818848192691803, 0.9115023612976074, 0.06042522192001343, -1.0150407552719116, 0.5775473713874817, -0.3593125343322754, -0.34518784284591675, 0.0660846158862114, -0.658711850643158, -0.4158669710159302, -0.15910983085632324, 0.2382485568523407, 0.5367600917816162, -0.41274017095565796, -0.21262168884277344, -0.45838260650634766, -0.07770096510648727, 0.18359629809856415, -0.20870831608772278, 0.38309353590011597, -0.11582373827695847, 0.16788344085216522, 0.07371325045824051, -0.9472621083259583, -0.43117251992225647, 0.20054148137569427, -0.3684804439544678, -0.6065584421157837, -0.32290735840797424, 0.24998274445533752, 0.5573745369911194, -0.02679087035357952, -0.7844868898391724, 0.08094464987516403, -0.4073095917701721, -0.18199507892131805, 0.4093361496925354, 0.5166975855827332, 0.7175659537315369, -0.19407330453395844, 0.5354461073875427, 0.45122048258781433, -0.025630218908190727, -0.7098760008811951, -0.5235639810562134, -0.5885562300682068, -0.7140778303146362, 0.17197422683238983, 0.37216460704803467, -1.2164560556411743, 0.11844942718744278, -0.38280609250068665, -0.0163420457392931, -0.2999103367328644, 0.548677384853363, 0.48653683066368103, 0.5674416422843933, 0.34284746646881104, -0.15421782433986664, -0.419359028339386, -0.9872219562530518, -0.14552338421344757, -0.12625451385974884, 0.2021445333957672, 0.39475202560424805, 0.6904674768447876, -0.05726658180356026, 1.3127952814102173, -0.6720044612884521, -0.8800961375236511, -0.38010114431381226, 0.35686734318733215, -0.14949342608451843, 0.2048802226781845, 0.570827066898346, -0.8474171757698059, -0.13605700433254242, 0.09531442821025848, -0.900195300579071, 0.6026636362075806, -0.14939942955970764, -0.3688449561595917, -0.06688814610242844, 0.15393786132335663, -0.8397748470306396, 0.5084326863288879, 0.12752138078212738, -0.23009757697582245, 0.3194204568862915, 0.22666975855827332, 0.11911594122648239, -1.1233313083648682, -0.2737607955932617, 0.4488641619682312, -0.4957449436187744, -0.36854758858680725, -0.1564861685037613, 0.015305318869650364, -0.011660175397992134, -0.7786083817481995, 0.6274855136871338, -0.5881098508834839, -0.21200482547283173, -0.20934435725212097, 0.2648988664150238, 0.10742857307195663, 0.49513909220695496, 0.28336113691329956, 0.34957945346832275, 0.4583737850189209, -0.3105417490005493, 0.4324588477611542, 0.5288925170898438, -0.02274814061820507, 0.5506010055541992, -0.10370039194822311, -0.1299281269311905, -0.24348704516887665, 0.16888543963432312, -0.808371901512146, -0.48115667700767517, 0.26461511850357056, -0.3265179991722107, 0.32905399799346924, -0.3867902159690857, -0.419009804725647, -0.1286369115114212, -0.47868847846984863, 0.3815781772136688, 0.03492981567978859, -0.3282657861709595, 0.7701340913772583, 0.3286518454551697, 0.10573948174715042, -0.46862685680389404, -0.7458042502403259, -0.09323305636644363, 0.011930985376238823, -0.7024345993995667, 0.2843679189682007, 0.5487677454948425, -0.07308197766542435, 0.2905711531639099, 0.027722207829356194, -0.574533998966217, -0.19764426350593567, 0.330483078956604, 0.7405223846435547, -0.41979312896728516, 0.42309844493865967, -0.12514443695545197, -0.32320302724838257, -0.24760791659355164, 0.3754879832267761, 0.12041370570659637, -0.0027643428184092045, -0.03363500162959099, -0.5826125741004944, 0.6399630904197693, 0.6327353715896606, -0.36286625266075134, 0.7665451169013977, 0.8203372359275818, -0.6582531332969666, 0.204946830868721, -0.5874001383781433, -0.43851161003112793, -0.33830809593200684, 0.32502350211143494, -0.6823284029960632, -0.710665762424469, 0.2045697122812271, -0.2839944362640381, -0.3168955147266388, 0.47288835048675537, 0.4283211827278137, -0.22461126744747162, 0.6945765614509583, 1.006205439567566, -0.06005432456731796, 0.6735835671424866, -0.4681265652179718, -0.09400174766778946, -0.649392306804657, -0.43075838685035706, -0.12821945548057556, -0.13997650146484375, -0.2901216745376587, -0.12149441242218018, 0.5868155360221863, 0.06385823339223862, 0.31812405586242676, 0.5659613609313965, 0.00010343731992179528, 0.5706220865249634, 0.4179476797580719, 0.3864023685455322, 0.6695674657821655, -0.12344501167535782, 0.016579994931817055, -0.373904824256897, -0.6327232718467712, -0.3376665711402893, 0.7794374823570251, 0.2499651312828064, 0.8450818657875061, 0.1365129053592682, 0.9618510007858276, -0.182308629155159, 0.133649080991745, -1.106360673904419, 0.2947220504283905, 0.052680984139442444, -0.6793416142463684, -0.20083168148994446, -0.32509371638298035, -0.8777106404304504, 0.5657384991645813, -1.1238017082214355, -0.6993073225021362, 0.3429425358772278, -0.10154198110103607, -0.5233117341995239, -0.10167454928159714, -0.7540582418441772, 0.9625168442726135, -0.20904549956321716, -0.46699923276901245, -0.10949410498142242, -0.7935492396354675, 0.8264347314834595, 0.02831248939037323, 0.07979673892259598, -0.19050250947475433, -0.09418760985136032, 0.7173089981079102, -0.31493300199508667, 0.8241055607795715, 0.206272155046463, 0.3820400536060333, 0.05058744549751282, 0.056788135319948196, 0.2706739008426666, -0.051915645599365234, 0.24794207513332367, -0.11135796457529068, 0.15334923565387726, -0.17410677671432495, -0.49720117449760437, 0.4878571331501007, -0.47146856784820557, -0.1392781138420105, -0.5038160085678101, -0.45151713490486145, -0.1875080019235611, 0.36176836490631104, 0.3986841142177582, 0.3763231635093689, -0.348125159740448, 0.007650826126337051, 0.21887566149234772, 0.3065018057823181, 0.7895644903182983, 0.15374068915843964, -0.1266285926103592, -0.5845409035682678, 0.7710079550743103, -0.05837291479110718, 0.2551954984664917, 0.4774790406227112, 0.2305716574192047, -0.10898220539093018, 0.06466519832611084, -0.49936771392822266, 0.4679219424724579, -0.7015203833580017, -0.5887958407402039, -0.5767451524734497, 0.02861088328063488, -0.3118428587913513, 0.10140906274318695, -0.3618813157081604, -0.29208651185035706, -0.455667108297348, 0.12475859373807907, 0.5452581644058228, 0.5707477331161499, 0.34003719687461853, 0.3859996199607849, -1.1880683898925781, 0.9296529293060303, 0.4999758005142212, -0.13914375007152557, -0.3222726583480835, -0.13939709961414337, 0.0032341983169317245, -0.3676851987838745, -0.42606550455093384, -1.2313865423202515, 0.31829971075057983, 0.41090139746665955, 0.4400670826435089, 0.7000181078910828, -0.05807378143072128, 0.8854683637619019, -0.28192970156669617, 0.6145670413970947, 0.8173814415931702, -0.6185944676399231, 0.7626572251319885, -0.28159376978874207, 0.20107229053974152, 0.6816471219062805, 0.34559935331344604, 0.013843778520822525, -0.09164198487997055, -0.5196442604064941, -0.21719126403331757, 0.780512273311615, 0.32039815187454224, -0.17551878094673157, 0.1642124503850937, 0.12518906593322754, 0.22596170008182526, 0.17784970998764038, -0.9173383712768555, -0.23753465712070465, 0.15483182668685913, -0.12650015950202942, 0.30831417441368103, -0.2707298696041107, -0.31406286358833313, -0.3383827209472656, 0.21960529685020447, -0.2611736059188843, 0.2592972218990326, 0.137229785323143, -0.4491727948188782, -0.2556246221065521, 0.2928852438926697, 0.40396371483802795, 0.57976895570755, -0.21644337475299835, 0.3089161515235901, 0.06466875225305557, -0.08656425029039383, 0.08316928148269653, 0.10424487292766571, -0.099183589220047, 0.17498546838760376, 0.6988918781280518, 0.639569103717804, 0.5697503089904785, -0.3061825931072235, 1.1411598920822144, 0.09706172347068787, -0.01909707859158516, 0.04284643009305, -0.11425864696502686, -0.09453747421503067, 0.4358357787132263, 0.15724699199199677, 0.19631828367710114, 0.25194188952445984, -0.8556463122367859, 0.42438313364982605, 0.5505252480506897, -0.26260438561439514, -0.25492024421691895, 0.3952907919883728, 0.3524326980113983, 0.07517141103744507, 0.20383092761039734, -0.11516299098730087, -0.4536265432834625, 0.17914411425590515, 0.5194982290267944, 0.6724278330802917, 0.31058961153030396, 0.21152158081531525, 0.24882672727108002, 0.1402284801006317, 0.024910878390073776, -0.005662995856255293, -0.2518295645713806, -0.7733139395713806, -0.3816121816635132, -0.46887215971946716, -0.20850220322608948, 0.011747902259230614, -0.46538132429122925, 0.7192070484161377, -0.37388020753860474, -0.25769519805908203, 0.3334876000881195, -0.2036951631307602, -0.7821354269981384, 0.02188594453036785, 0.4064844250679016, 0.4724687933921814, -1.0003739595413208, 1.0017051696777344, 0.552460789680481, -0.9786635041236877, -0.480819970369339, -0.17554907500743866, 0.3371644616127014, -0.6236833333969116, 0.842021644115448, 0.1238962933421135, -0.387673944234848, -0.21966654062271118, -0.46978214383125305, -0.7538624405860901, 1.1931384801864624, 0.4962286651134491, -0.38369572162628174, -0.026807622984051704, -0.12979164719581604, 0.14993193745613098, -0.7131021022796631, 0.2337103933095932, 0.5866367816925049, 0.45388099551200867, 0.4304632842540741, -0.7328725457191467, -0.020678652450442314, 0.05804740637540817, -0.05040000379085541, 0.32056939601898193, -0.5471246242523193, 0.586326539516449, -0.27070826292037964, -0.3897654712200165, 0.030290815979242325, 0.8047614693641663, 0.12870074808597565, 0.42587509751319885, 0.44279488921165466, 0.3721330463886261, 0.4181120693683624, 0.045900795608758926, 1.0789008140563965, 0.19504699110984802, 0.4545862078666687, 1.2981593608856201, -0.2417622208595276, 1.0387282371520996, 0.80168217420578, 0.07751688361167908, 0.4844427704811096, 0.3920792043209076, -0.07825282216072083, 0.7206346988677979, -0.5795652866363525, -0.2464907467365265, -0.6830800175666809, -0.2773948907852173, -0.10918667912483215, 0.8901693224906921, 0.06820998340845108, -0.5489327311515808, -0.5019626617431641, 0.22722920775413513, -0.1292777806520462, -0.24427339434623718, 0.08864989131689072, 1.23958158493042, 0.14464393258094788, -0.2462996542453766, 0.31998923420906067, -0.21830926835536957, 0.7293868064880371, -0.488371342420578, -0.3084380626678467, 0.31367501616477966, -0.019662749022245407, -0.3774208128452301, -0.3972300589084625, -0.07562076300382614, -0.163198322057724, -0.5265854001045227, 0.23947592079639435, 1.1195828914642334, -0.7143976092338562, -0.5062873959541321, 0.33350616693496704, 0.8855499029159546, -0.10736345499753952, 0.01851976104080677, -0.5726673007011414, -0.1014287918806076, -0.31127431988716125, -0.13019226491451263, 0.3278542160987854, 0.36946913599967957, 0.1750277429819107, 0.3289736211299896, 0.6303765773773193, 0.07958760857582092, 0.21998360753059387, 0.02316286787390709, 1.071865200996399, -0.8147231936454773, -0.2563220262527466, -0.8894580602645874, 0.5779170989990234, -0.3035017251968384, -0.5117182731628418, 0.4069689214229584, 0.3615080714225769, 0.453968346118927, -0.14633144438266754, 0.66851407289505, 0.0896332785487175, 0.2093772143125534, -0.6750271320343018, 0.2759440541267395, -0.5588666200637817, -0.07517847418785095, -0.40305885672569275, -0.9572115540504456, -0.3537485897541046, 0.38280653953552246, -0.17291539907455444, -0.31609630584716797, 1.0541479587554932, 0.6486434936523438, -0.3832088112831116, -0.04738810658454895, 0.5218045115470886, -0.13583332300186157, 0.1173647940158844, 0.5542267560958862, 0.9570379853248596, -0.6621566414833069, 0.791929304599762, -0.6065953373908997, -0.24103190004825592, -0.12789049744606018, -0.8600075840950012, -1.0430399179458618, -0.44725552201271057, -0.42620667815208435, -0.12213656306266785, -0.2991373538970947, 0.9812406301498413, 0.8517950177192688, -0.4197089374065399, 0.1164264902472496, 0.38298046588897705, 0.14506562054157257, 0.03708796203136444, -0.2643914520740509, 0.22571471333503723, -0.11281775683164597, -0.4902647137641907, 0.4674125611782074, 0.6449486613273621, 0.20384086668491364, -0.12926219403743744, -0.030632199719548225, -0.7007403373718262, -0.35842880606651306, 0.8202221393585205, 0.1200874000787735, -0.8303750157356262, -0.31766632199287415, -0.07041922211647034, -0.24676966667175293, 0.2889706790447235, 0.8557240962982178, -0.7812728881835938, 0.5839189887046814, 0.7146216630935669, 0.608046293258667, 0.8300249576568604, 0.10602493584156036, 0.4598526954650879, -0.8542720675468445, 0.40638700127601624, 0.0739239975810051, 0.5002337694168091, 0.17792107164859772, -0.43800273537635803, 0.2437993735074997, 0.5709641575813293, -0.05111650750041008, -0.394071489572525, 0.27617111802101135, -1.346594214439392, -0.07467087358236313, 1.2880287170410156, -0.05880946293473244, -0.39539268612861633, -0.14377474784851074, -0.2836918234825134, 0.09975490719079971, -0.645510196685791, 0.18798187375068665, 0.6539573073387146, -0.44603243470191956, -0.6070632338523865, -0.36213475465774536, 0.3647180199623108, 0.12068159878253937, -0.9206436276435852, -0.25371184945106506, 0.8105605244636536, 0.12173981964588165, 0.28032854199409485, 0.49108779430389404, -0.12380319833755493, 0.47063517570495605, 0.09977111965417862, -0.14922112226486206, -0.09771962463855743, -0.4660857021808624, -0.23802141845226288, 0.3147563338279724, -0.21607263386249542, -0.5442906022071838 ]
http://arxiv.org/abs/2403.00696v1
http://arxiv.org/pdf/2403.00696v1
Self-Consistent Decoding for More Factual Open Responses
2024-03-01T17:31:09
2024-03-01T17:31:09
Christopher Malon, Xiaodan Zhu
cs.CL
cs.CL
Self-consistency has emerged as a powerful method for improving the accuracy of short answers generated by large language models. As previously defined, it only concerns the accuracy of a final answer parsed from generated text. In this work, we extend the idea to open response generation, by integrating voting into the decoding method. Each output sentence is selected from among multiple samples, conditioning on the previous selections, based on a simple token overlap score. We compare this "Sample & Select" method to greedy decoding, beam search, nucleus sampling, and the recently introduced hallucination avoiding decoders of DoLA, P-CRR, and S-CRR. We show that Sample & Select improves factuality by a 30% relative margin against these decoders in NLI-based evaluation on the subsets of CNN/DM and XSum used in the FRANK benchmark, while maintaining comparable ROUGE-1 F1 scores against reference summaries. We collect human verifications of the generated summaries, confirming the factual superiority of our method.
[ -0.26081568002700806, -0.3677402436733246, 0.5792843103408813, 0.2943500876426697, -0.1295202672481537, -0.09262680262327194, -0.3353344798088074, -0.3781155049800873, 0.37167173624038696, 0.45143571496009827, -0.30817675590515137, -0.430181086063385, -0.3278583586215973, 0.5816965699195862, -0.29647842049598694, 1.0300301313400269, 0.002522881142795086, -0.022639544680714607, -0.3664397895336151, -0.23729240894317627, -0.09630299359560013, -0.6340004801750183, -0.18277332186698914, -0.06690382957458496, 0.5013770461082458, 0.43202218413352966, 0.5761419534683228, 0.818054735660553, 0.5969260931015015, 0.2765837609767914, 0.22212405502796173, 0.39276063442230225, -0.572473406791687, 0.12186455726623535, -0.2511396110057831, -0.45861440896987915, -0.35146450996398926, 0.13872016966342926, 0.4329235255718231, 0.3125065565109253, -0.2895740568637848, 0.19659839570522308, 0.050532955676317215, 0.707558810710907, -0.9445950388908386, 0.027460316196084023, -0.5792486667633057, 0.023322999477386475, -0.1808590292930603, -0.3505522608757019, -0.7674834132194519, -0.5850276947021484, -0.23362824320793152, -0.30278530716896057, 0.7106421589851379, -0.10342266410589218, 0.7170849442481995, 0.3879537582397461, -0.18964608013629913, -0.5541769862174988, -0.845265805721283, 0.575363278388977, -0.7018807530403137, 0.3951130211353302, 0.34298190474510193, 0.3039208650588989, 0.030712563544511795, -0.6314062476158142, -0.7477678656578064, -0.1779298335313797, -0.30742597579956055, 0.531929612159729, -0.08375602960586548, -0.0016354568069800735, 0.1960006207227707, 0.4264003038406372, -0.5811970233917236, -0.34363436698913574, -0.5103636384010315, -0.4509424567222595, 0.6780880093574524, 0.1740669161081314, -0.0019606025889515877, -0.3616199493408203, -0.26349523663520813, -0.4140359163284302, -0.5587403774261475, 0.11922620981931686, 0.38731181621551514, 0.46632298827171326, 0.11706995964050293, 0.8807677030563354, -0.5258302092552185, 0.6039332151412964, 0.34003525972366333, 0.012978172861039639, 0.3461780548095703, -0.730749785900116, -0.26886025071144104, 0.09921734780073166, 0.8513098955154419, 0.36972546577453613, 0.13339386880397797, -0.214079350233078, -0.10644994676113129, -0.023114033043384552, 0.1984846293926239, -0.8073310852050781, -0.33735549449920654, 0.4587162137031555, -0.6758243441581726, -0.0903603583574295, 0.5933593511581421, -0.8003272414207458, -0.013765922747552395, -0.1985211968421936, 0.12671729922294617, -0.2454783320426941, -0.28002670407295227, 0.3323706090450287, -0.13935993611812592, 0.23906105756759644, 0.37406373023986816, -0.8117652535438538, 0.42088475823402405, 0.3968433439731598, 0.7938253879547119, -0.2120261788368225, -0.17204970121383667, -1.044775128364563, -0.06836971640586853, -0.5768857598304749, 0.8747104406356812, -0.2586430609226227, -0.14987356960773468, -0.10589127987623215, -0.21225164830684662, 0.11065202206373215, -0.7724082469940186, 0.43234413862228394, -0.550087571144104, 0.2955280840396881, -0.6802109479904175, -0.439333438873291, 0.17732183635234833, 0.32111111283302307, -0.7895721793174744, 0.9312140345573425, -0.0718894898891449, -0.771573007106781, 0.3966202735900879, -0.37241330742836, -0.15126420557498932, -0.32422757148742676, -0.3033948242664337, -0.24319693446159363, 0.22537373006343842, 0.48817262053489685, 0.24136140942573547, 0.2712642550468445, 0.002662756945937872, -0.4284057319164276, -0.3290883004665375, 0.3953857123851776, -0.4003455638885498, 0.6417325139045715, 0.37204068899154663, -0.32384034991264343, 0.12144731730222702, -0.6866090297698975, 0.2224302738904953, 0.008930080570280552, -0.4477181136608124, -0.013798415660858154, -0.13912950456142426, -0.18328577280044556, 0.21979920566082, 0.04620587080717087, -0.8646688461303711, 0.02722620777785778, -0.4987252950668335, -0.0219962690025568, 0.7453299760818481, -0.03587557002902031, 0.21538162231445312, -0.38151660561561584, 0.33804965019226074, 0.17587770521640778, -0.19005322456359863, -0.37734222412109375, -0.2681596577167511, -0.5332649350166321, -0.3050236999988556, 0.5831149816513062, 0.4272676706314087, -0.5296183228492737, 0.5853781700134277, -0.3750859498977661, -0.19192717969417572, -0.8021212816238403, 0.001426834729500115, 0.25337690114974976, 0.4374321699142456, 0.45081543922424316, -0.1741820126771927, -0.6301234364509583, -0.6493175029754639, -0.18712468445301056, -0.3116306662559509, -0.1721157729625702, 0.1911492943763733, 0.32631781697273254, 0.2564191222190857, 1.250810980796814, -0.6248382329940796, -0.1925896555185318, -0.08384578675031662, -0.06974758952856064, 0.18449053168296814, 0.3157016634941101, 0.4439893066883087, -0.6150355339050293, -0.48940059542655945, -0.24746809899806976, -0.8647285103797913, 0.1257910430431366, -0.05041923001408577, -0.14821700751781464, 0.29415369033813477, 0.48454076051712036, -0.5134381055831909, 0.5413082838058472, 0.44064193964004517, -0.28178274631500244, 0.3903956115245819, -0.31152820587158203, 0.45632290840148926, -0.9472469687461853, 0.18167957663536072, -0.27280715107917786, -0.5906766057014465, -0.29274120926856995, 0.12783806025981903, 0.0982043445110321, 0.31661659479141235, -0.2916278541088104, 0.4389951229095459, -0.4307566285133362, -0.05758046358823776, -0.2991471290588379, 0.2949950098991394, 0.02815459482371807, 0.2722914516925812, 0.10403195768594742, 0.9506309032440186, 0.020539604127407074, -0.5050410032272339, 0.37039363384246826, 0.4646095037460327, -0.3156138062477112, 0.04924693703651428, -0.9171897172927856, 0.39421331882476807, -0.43546509742736816, 0.3294382095336914, -1.2152172327041626, -0.2645745873451233, 0.44821879267692566, -0.621420681476593, 0.030887924134731293, 0.15743358433246613, -0.299001544713974, -0.2410709261894226, -0.36217066645622253, 0.40544435381889343, 0.5397033095359802, -0.8473181128501892, 0.4807681143283844, 0.010402780026197433, 0.07404404133558273, -0.8346607089042664, -0.6659186482429504, -0.13938382267951965, 0.37901821732521057, -0.42132893204689026, 0.0849018320441246, -0.45823854207992554, -0.31379279494285583, 0.17127640545368195, -0.34408819675445557, 0.08383937925100327, -0.36862966418266296, -0.08940698206424713, 0.09392765164375305, -0.3839046359062195, -0.062401287257671356, -0.16483181715011597, -0.06761390715837479, 0.10192571580410004, -0.08166845142841339, 0.44964900612831116, -0.14659370481967926, -0.5150003433227539, -0.24432983994483948, 0.4586089551448822, 0.39175641536712646, -0.4952808916568756, 0.5065280199050903, 0.2664184272289276, -0.11145096272230148, -0.06560562551021576, -0.550360918045044, -0.394427627325058, -0.4124062955379486, -0.03512262925505638, -0.5133677124977112, -0.8698781728744507, 0.5263806581497192, 0.46501708030700684, 0.04349297285079956, 0.36031898856163025, 0.5568454265594482, 0.059383612126111984, 0.9189603924751282, 0.4298647344112396, 0.1106124073266983, 0.0410887748003006, -0.04022383689880371, 0.16615097224712372, -0.4850882589817047, -0.16822195053100586, -0.7113426327705383, -0.09044753760099411, -0.4745635986328125, -0.4397706985473633, 0.3172929584980011, -0.05152693763375282, 0.2964847683906555, -0.03649824485182762, -0.49208515882492065, 0.6558504104614258, 0.6779107451438904, 0.41251856088638306, 0.42675575613975525, 0.14023980498313904, -0.0788956955075264, -0.16155558824539185, -0.5652891397476196, -0.3598255515098572, 1.1985759735107422, 0.09831580519676208, 0.7600655555725098, 0.23865817487239838, 0.9874194860458374, 0.39263030886650085, 0.23886051774024963, -0.5650326013565063, 0.46504390239715576, 0.04434087872505188, -0.6860812902450562, -0.4235042333602905, -0.6062052249908447, -0.795561671257019, 0.32850828766822815, -0.18870390951633453, -0.33719033002853394, 0.21235345304012299, 0.26620155572891235, -0.5886226892471313, 0.10343950986862183, -0.3588564991950989, 0.6170626282691956, 0.16766740381717682, -0.18924351036548615, -0.12861068546772003, -0.675447940826416, 0.40129825472831726, 0.2611379623413086, -0.166451558470726, -0.13531535863876343, 0.19667373597621918, 0.4566500782966614, -0.2713645100593567, 0.7120915055274963, -0.026619944721460342, 0.030969660729169846, 0.49840158224105835, -0.1305617243051529, 0.3682417869567871, 0.21256881952285767, -0.2278740406036377, -0.00937032699584961, -0.010081765241920948, -0.5755161643028259, -0.9769649505615234, 0.3756502866744995, -0.6247689723968506, -0.5868587493896484, -0.5828603506088257, -0.23101705312728882, 0.0032614057417958975, 0.13813993334770203, 0.4485493004322052, 0.7047277092933655, -0.3734697103500366, 0.3878387212753296, 0.7877058386802673, 0.17792217433452606, 0.49669522047042847, 0.372181236743927, -0.1990022361278534, -0.789017915725708, 0.6134285926818848, -0.08116608113050461, 0.2434682846069336, 0.512616753578186, 0.1945761889219284, -0.5399847626686096, -0.4105185568332672, -0.5894449949264526, 0.35227158665657043, -0.7319392561912537, -0.370395302772522, -0.7591745853424072, -0.20261073112487793, -0.8285744190216064, 0.1316305547952652, -0.3277263939380646, -0.3222595155239105, 0.012195054441690445, -0.35213586688041687, -0.02681148424744606, 0.7425482273101807, -0.4457562267780304, -0.17603939771652222, -0.9169255495071411, 0.7555084228515625, 0.279649019241333, 0.3440603017807007, -0.1470918357372284, -0.30859842896461487, -0.07639287412166595, 0.20617695152759552, -0.02338690310716629, -1.0186136960983276, -0.03171876445412636, 0.12751777470111847, 0.641261637210846, 0.38649794459342957, 0.6816670298576355, 0.5502814054489136, -0.4289710223674774, 0.7882828712463379, 0.07253745943307877, -0.7979552745819092, 0.49109676480293274, -0.007439343724399805, 0.36886128783226013, 0.7603926062583923, 0.273413747549057, -0.18018151819705963, -0.6517773866653442, -0.5501562356948853, -0.445471853017807, 0.6101207137107849, 0.3766041100025177, 0.16392399370670319, -0.5216023921966553, 0.36005398631095886, 0.1483682096004486, 0.1853163093328476, -0.679739773273468, -0.18806977570056915, -0.4793414771556854, -0.47581201791763306, -0.03986441344022751, -0.3284231722354889, -0.32649460434913635, 0.004534689709544182, 0.5534018278121948, -0.5080052018165588, 0.23815052211284637, 0.8871668577194214, 0.1049233078956604, -0.12584809958934784, 0.2821432650089264, 0.6976388096809387, 0.7590575218200684, -0.408563494682312, 0.18497835099697113, -0.015707334503531456, -0.4614614248275757, 0.12209562957286835, -0.1834321767091751, -0.31030508875846863, 0.2973507046699524, 0.38483262062072754, 0.44117408990859985, -0.19049283862113953, -0.6694275140762329, 0.7985437512397766, -0.26568710803985596, -0.2257961928844452, -0.06501995027065277, 0.092283234000206, -0.3412017226219177, 0.14228704571723938, 0.30265215039253235, 0.30718994140625, 0.32434797286987305, -0.5755302309989929, 0.4661863446235657, 0.3487718105316162, -0.2582142949104309, -0.20510299503803253, 0.6229410171508789, 0.029239578172564507, 0.004464412573724985, 0.8196088671684265, -0.19584089517593384, -0.25078102946281433, 0.43587470054626465, 0.6559216976165771, 0.8428827524185181, -0.17075403034687042, 0.420504629611969, 0.7188873291015625, 0.44360947608947754, -0.206771120429039, 0.4827691316604614, -0.23335441946983337, -0.9268376231193542, -0.6430480480194092, -0.5463911890983582, -0.47496411204338074, -0.09911021590232849, -1.0535892248153687, -0.005274205468595028, -0.2926574647426605, 0.09876331686973572, -0.2777272164821625, -0.11758231371641159, -0.3362983763217926, 0.4320661723613739, -0.02037549577653408, 1.0829839706420898, -0.7104112505912781, 0.6431448459625244, 0.3807234764099121, -0.4324192404747009, -0.842179000377655, 0.4429900050163269, -0.228610098361969, -0.4752187132835388, 0.34072181582450867, 0.21493306756019592, -0.37386783957481384, -0.2552335560321808, -0.6593002080917358, -0.9441465139389038, 0.7332945466041565, 0.49637851119041443, -0.3043435215950012, -0.030292456969618797, -0.07298342883586884, 0.4073067903518677, -0.3958509564399719, 0.45786261558532715, 0.46597397327423096, 0.24104362726211548, 0.29665252566337585, -0.6444104313850403, 0.26610180735588074, -0.18370887637138367, -0.21733686327934265, 0.0038825678639113903, -0.5691345930099487, 0.5024045705795288, -0.4905366003513336, -0.32087987661361694, 0.2706962525844574, 1.326032280921936, 0.4705791473388672, 0.42677071690559387, 0.5584070086479187, 0.33297449350357056, 0.8205414414405823, 0.02677801623940468, 0.9122393727302551, -0.2840212881565094, 0.24844591319561005, 1.2984154224395752, -0.2803873121738434, 1.0932942628860474, 0.373863160610199, -0.048107367008924484, 0.4309321939945221, 0.3187029957771301, 0.04340364411473274, 0.6237068176269531, -0.0673312395811081, -0.14080537855625153, -0.3051243722438812, 0.22524546086788177, -0.36526256799697876, 0.6056217551231384, -0.15975266695022583, 0.024352798238396645, -0.4722105860710144, -0.17138810455799103, -0.09239104390144348, 0.5834765434265137, -0.01857858896255493, 0.8171160221099854, -0.16676345467567444, -0.9398284554481506, 0.5673554539680481, -0.1358352154493332, 0.43191853165626526, -0.6333614587783813, -0.210474893450737, -0.32840073108673096, 0.12475591897964478, -0.2233307659626007, -0.8072935938835144, 0.4849735200405121, -0.007672416977584362, -0.5924003720283508, -0.11344563961029053, 0.5282987356185913, -0.5670182704925537, -0.22856567800045013, 0.1127750426530838, 0.4807681739330292, 0.22230949997901917, -0.005898845382034779, -0.20915186405181885, 0.08000143617391586, 0.09303722530603409, -0.13942024111747742, 0.0015495026018470526, 0.225754514336586, 0.3363349139690399, 0.23469482362270355, 0.7372992634773254, 0.0506824254989624, 0.22602546215057373, -0.05564466863870621, 0.7548474073410034, -0.5760003328323364, -0.6272286176681519, -0.7834184169769287, 0.49670669436454773, -0.37144869565963745, -0.3262380361557007, 0.8844597935676575, 0.7952077388763428, 1.0666086673736572, -0.20340581238269806, 0.8480862975120544, -0.1371287852525711, 0.7127204537391663, -0.7848303914070129, 0.38043180108070374, -0.29342249035835266, -0.11700256913900375, -0.09401234984397888, -0.8235555291175842, -0.15254999697208405, 0.5419300198554993, -0.09020258486270905, 0.04874911904335022, 0.7646799683570862, 0.765169084072113, -0.11496657878160477, 0.04329726845026016, 0.3851224184036255, 0.1427670270204544, 0.2935565114021301, 0.1498456597328186, 0.7171407341957092, -0.5004128813743591, 0.7297158241271973, -0.14669248461723328, -0.3155423104763031, -0.12637215852737427, -0.8117465972900391, -0.8442606329917908, -0.43253976106643677, -0.2591492235660553, -0.8424501419067383, -0.023399516940116882, 0.9453654885292053, 0.6698667407035828, -1.035862684249878, -0.23775188624858856, 0.14511916041374207, -0.0023938200902193785, -0.4976189434528351, -0.20962107181549072, 0.1995682716369629, -0.5962797999382019, -0.6471047401428223, 0.5032880902290344, 0.25652796030044556, -0.10085171461105347, -0.09729859232902527, -0.09085632860660553, 0.1763298511505127, 0.3331160545349121, 0.39532560110092163, 0.3389844596385956, -0.8073930144309998, -0.4210158586502075, 0.4580538868904114, -0.2887363135814667, 0.4791051149368286, 1.022018313407898, -0.8161041140556335, 0.5185495615005493, 0.7369903326034546, 0.6704665422439575, 0.4247061312198639, 0.46034032106399536, 0.5577461123466492, -0.6667019128799438, -0.1532796174287796, 0.20166054368019104, 0.14470826089382172, 0.3555556833744049, -0.4503768980503082, 0.4648280143737793, 0.17476077377796173, -0.509427011013031, -0.6946700811386108, 0.26046329736709595, -1.097530484199524, -0.1481657475233078, 0.91973876953125, -0.188648983836174, -0.3588152229785919, -0.007249478716403246, -0.1677408069372177, 0.0032252955716103315, -0.3585663437843323, 0.939397931098938, 0.6256297826766968, -0.196187362074852, -0.04797719791531563, -0.19468344748020172, 0.47035863995552063, 0.2883014380931854, -0.7589042782783508, 0.20226094126701355, 0.5356061458587646, 0.34581100940704346, 0.3893084228038788, 1.1607109308242798, -0.14259456098079681, 0.4283337891101837, -0.009557529352605343, -0.030329296365380287, -0.01371213048696518, -0.6705047488212585, -0.30408337712287903, 0.5757075548171997, -0.1600329428911209, -0.44294336438179016 ]
http://arxiv.org/abs/2403.00686v1
http://arxiv.org/pdf/2403.00686v1
A Bit of a Problem: Measurement Disparities in Dataset Sizes Across Languages
2024-03-01T17:20:11
2024-03-01T17:20:11
Catherine Arnett, Tyler A. Chang, Benjamin K. Bergen
cs.CL
cs.CL
How should text dataset sizes be compared across languages? Even for content-matched (parallel) corpora, UTF-8 encoded text can require a dramatically different number of bytes for different languages. In our work, we define the byte premium between two languages as the ratio of bytes used to encode content-matched text in those languages. We compute byte premiums for 1155 languages, and we use linear regressions to estimate byte premiums for other languages. We release a tool to obtain byte premiums for any two languages, enabling comparisons of dataset sizes across languages for more equitable multilingual model development and data practices.
[ -0.4809611141681671, -0.3831193447113037, 0.32644516229629517, 0.5543218851089478, -0.17260470986366272, 0.09562315046787262, -0.1313585489988327, -0.7247171998023987, 0.3027222454547882, 0.22595854103565216, -0.26798298954963684, -0.22702820599079132, -0.597690761089325, 0.30521607398986816, 0.003353853477165103, 0.7236620187759399, 0.00964768324047327, 0.39883092045783997, -0.4372760057449341, -0.5509742498397827, -0.8723526000976562, -0.29679369926452637, -0.16291925311088562, -0.002946489956229925, 0.5011411905288696, 0.673444926738739, 1.0143461227416992, 0.6231788396835327, 1.0003135204315186, 0.27282392978668213, 0.0010053322184830904, 0.26153093576431274, -0.32596713304519653, -0.08850780874490738, -0.16795402765274048, -0.365781307220459, -0.2894614338874817, -0.1301591694355011, 0.8357648849487305, 1.0516724586486816, -0.062387291342020035, 0.4496636688709259, -0.15946191549301147, 1.0182809829711914, -0.8517372012138367, 0.10002543032169342, -0.32531610131263733, 0.3283030390739441, -0.318558931350708, -0.07136301696300507, -0.4272707998752594, -0.24791699647903442, -0.26768404245376587, -0.5116211175918579, 0.04790045693516731, 0.45791131258010864, 0.6255614757537842, 0.07753989845514297, -0.4204529821872711, -0.39849773049354553, -0.4819674491882324, 0.948442280292511, -0.4440644383430481, 0.5342229604721069, 0.42939090728759766, 0.1309197098016739, 0.022494042292237282, -0.28351086378097534, -0.5501806735992432, -0.1248968243598938, -0.31688737869262695, -0.26110145449638367, -0.3530910015106201, -0.13875135779380798, 0.4544297754764557, 0.7222610712051392, -0.8996416330337524, 0.13088640570640564, -0.5356900691986084, -0.40328821539878845, 0.7610028982162476, 0.3858608603477478, 0.4753102958202362, -0.10593555867671967, -0.27870169281959534, -0.2139018028974533, -0.7600377798080444, -0.03991583734750748, 0.8757444024085999, 0.3650623559951782, -0.23840250074863434, 0.5435113310813904, 0.00790969468653202, 0.8143270611763, -0.15314611792564392, -0.11173359304666519, 0.45427563786506653, -0.4785429537296295, -0.28656187653541565, 0.3644987940788269, 0.6020415425300598, 0.45787134766578674, 0.31004995107650757, -0.1743643581867218, -0.16547229886054993, 0.2063390612602234, -0.00146319973282516, -0.8287885785102844, 0.055061232298612595, 0.1661696583032608, -0.37578248977661133, 0.13970528542995453, -0.1396288126707077, -0.8291705846786499, -0.5195530652999878, -0.24393287301063538, 0.43734514713287354, -0.13874295353889465, -0.3885461390018463, 0.5553610324859619, -0.3367580771446228, 0.19345465302467346, -0.3030276298522949, -1.0187053680419922, 0.1914450228214264, 0.3890465795993805, 0.7644666433334351, -0.033677536994218826, -0.16273073852062225, -0.2743074893951416, -0.14761972427368164, -0.613225519657135, 0.6227922439575195, -0.6233982443809509, -0.38125190138816833, 0.20906007289886475, -0.02057219110429287, -0.05164218693971634, -0.6341619491577148, 0.489280641078949, -0.5251042246818542, -0.03363104164600372, -0.5502899885177612, -0.677895724773407, 0.1032024472951889, 0.16756394505500793, -0.9581400156021118, 0.984680712223053, 0.4031205177307129, -1.119301438331604, 0.615294337272644, -0.08433753252029419, -0.3202092945575714, 0.24831312894821167, -0.3964247703552246, -0.570885419845581, 0.13931623101234436, -0.015267758630216122, 0.17008833587169647, -0.4681113362312317, 0.0782046765089035, -0.47691407799720764, -0.6003325581550598, 0.4235251247882843, -0.3041803240776062, 0.943387508392334, 0.3402642607688904, 0.027595359832048416, -0.1421445906162262, -0.8781923055648804, 0.18705375492572784, -0.07586514949798584, -0.22332024574279785, -0.5168868899345398, -0.020954100415110588, 0.2564528286457062, 0.01169680431485176, 0.4918336570262909, -0.6815594434738159, 0.09821436554193497, -0.03883148357272148, 0.45955437421798706, 0.30836641788482666, -0.3719732463359833, 0.4314534068107605, -0.36542901396751404, 0.3048534691333771, 0.15624886751174927, 0.09300193935632706, -0.10098888725042343, -0.12443862110376358, -0.5949336290359497, -0.43364518880844116, 0.6171007752418518, 0.4362853169441223, -0.4682450592517853, 0.32647594809532166, -0.48307332396507263, -0.38014116883277893, -0.772791862487793, -0.04039715602993965, 0.4393487870693207, 0.040816426277160645, 0.305795282125473, -0.4348459541797638, -0.5934327840805054, -1.3231680393218994, -0.05440565198659897, -0.1733662635087967, -0.026065582409501076, 0.041502807289361954, 0.2964937686920166, 0.026636652648448944, 0.7363963723182678, -0.4017118215560913, -0.23978067934513092, -0.3548685908317566, 0.019444279372692108, 0.03800307586789131, 0.5256336331367493, 0.8374987244606018, -0.9481359124183655, -0.9259209632873535, 0.10502765327692032, -0.6315474510192871, -0.10852587223052979, 0.08069691061973572, -0.12590648233890533, 0.19306574761867523, 0.4118340313434601, -0.24316388368606567, 0.20951123535633087, 0.8043374419212341, -0.5535566210746765, 0.543391227722168, -0.41161561012268066, 0.6293289661407471, -0.9755141735076904, -0.04209180921316147, 0.08107493072748184, -0.315085768699646, -0.3579331636428833, 0.04289659857749939, 0.3479376435279846, 0.034301530569791794, -0.43998974561691284, 0.21385590732097626, -0.6821848750114441, -0.605597734451294, -0.029503416270017624, 0.03355931118130684, 0.19861730933189392, 0.03216293454170227, -0.1153893694281578, 1.2808820009231567, 0.557840883731842, -0.386140912771225, 0.2851933240890503, 0.45273101329803467, -0.6222422122955322, 0.7581333518028259, -0.6389692425727844, -0.178096741437912, -0.19932349026203156, 0.03774221986532211, -0.9629406332969666, -0.06899847835302353, -0.2315913736820221, -0.5537851452827454, 0.21406318247318268, -0.23445387184619904, -0.6396806836128235, -0.19898580014705658, -0.41806551814079285, 0.6289390921592712, 0.3587522506713867, -0.3578568398952484, 0.050105027854442596, 0.7313387989997864, -0.1351376622915268, -0.9353671669960022, -1.0691204071044922, -0.05198328569531441, -0.3060256540775299, -0.95411217212677, 0.38242286443710327, -0.26347702741622925, -0.26640984416007996, 0.08766336739063263, -0.04222990199923515, -0.31574746966362, -0.14893579483032227, -0.12032443284988403, 0.410966694355011, -0.39777451753616333, 0.30259764194488525, -0.023400206118822098, 0.009912649169564247, -0.019053703173995018, -0.3549432158470154, 0.4146151542663574, -0.19340185821056366, -0.29651328921318054, 0.06508471816778183, 0.8021895289421082, 0.3006550073623657, -0.12889212369918823, 1.0249022245407104, 0.4246179163455963, -0.20743167400360107, -0.02465685084462166, -0.49612003564834595, 0.23070229589939117, -0.4988442361354828, 0.29924631118774414, -0.46885573863983154, -0.8676157593727112, 0.6741341948509216, 0.6201181411743164, 0.021526113152503967, 0.3899306058883667, 0.4868164658546448, 0.11055594682693481, 1.03010892868042, 1.0017939805984497, -0.22742818295955658, 0.31682106852531433, 0.2683026194572449, 0.18126626312732697, -0.34081417322158813, -0.10313834995031357, -0.8570862412452698, -0.35619795322418213, -1.0682214498519897, -0.3317144215106964, 0.2671695053577423, 0.11182162910699844, -0.4916077256202698, 0.6185996532440186, -0.37778207659721375, 0.7873647809028625, 0.43383681774139404, -0.12280575186014175, 0.30912870168685913, 0.41939404606819153, -0.04413868486881256, -0.3372703492641449, -0.540925920009613, -0.5083533525466919, 0.8435274362564087, 0.2683401107788086, 0.610252857208252, 0.459769070148468, 0.272733211517334, 0.6675606369972229, -0.2288695126771927, -0.7408288717269897, 0.1927034854888916, -0.5371037125587463, -0.6965747475624084, -0.2899816036224365, -0.751795768737793, -1.0110379457473755, 0.23396460711956024, -0.06371917575597763, -0.6682114005088806, 0.35085228085517883, 0.06344572454690933, 0.08830979466438293, 0.18305905163288116, -0.9152442216873169, 1.1019550561904907, 0.23107418417930603, -0.24940557777881622, -0.3260515630245209, -0.5476776957511902, -0.12087821960449219, 0.14697939157485962, 0.28341448307037354, -0.4584614634513855, 0.11330419033765793, 0.6652480363845825, -0.10114970058202744, 0.42261743545532227, -0.01037360168993473, 0.052177704870700836, 0.34933874011039734, 0.22708289325237274, 0.06294839084148407, 0.004316060803830624, -0.1232227087020874, 0.29228609800338745, 0.4511822760105133, -0.9272913336753845, -0.19887135922908783, 0.45072436332702637, -0.8122655153274536, -0.10135915130376816, -0.4316469728946686, -0.7453842163085938, -0.33684608340263367, 0.05068514868617058, 0.29985710978507996, 0.5798662900924683, -0.30662888288497925, 0.23713253438472748, 0.8495833873748779, -0.43158528208732605, 0.6674560308456421, 0.8811674118041992, 0.09617490321397781, -0.008767182938754559, 0.9673656821250916, 0.12090016901493073, 0.41184186935424805, 0.773524820804596, 0.03204982355237007, -0.3774831295013428, -0.3220681846141815, -0.6164078712463379, -0.10090430825948715, -0.6980272531509399, -0.33768394589424133, -0.46087393164634705, -0.010815582238137722, -0.36801594495773315, -0.13785813748836517, -0.4454744756221771, -0.2865087389945984, 0.21208034455776215, -0.06017374247312546, 0.33184367418289185, 0.5920021533966064, -0.34078553318977356, 0.2277614176273346, -0.9374688863754272, -0.062321167439222336, -0.14950251579284668, 0.3365758955478668, -0.18445047736167908, -0.5291200280189514, -0.45215466618537903, 0.014447287656366825, -0.10374727845191956, -0.8384337425231934, 0.48419275879859924, -0.023603161796927452, 0.5208811163902283, -0.019165892153978348, 0.037640225142240524, 0.48431921005249023, -0.6603161692619324, 0.7134217023849487, 0.4377252161502838, -1.0073268413543701, 0.012938735075294971, -0.04655034467577934, 0.04065489023923874, 0.5849336981773376, 0.7139132022857666, -0.9495643377304077, -0.13749445974826813, -0.2657409608364105, -0.7597257494926453, 0.4398825764656067, 0.14313359558582306, 0.20193731784820557, -0.16951999068260193, -0.1959735006093979, 0.34535473585128784, 0.142033189535141, -0.7023503184318542, -0.4201524555683136, 0.05717368423938751, -0.48823195695877075, -0.2606641948223114, -0.4000008702278137, 0.11006016284227371, 0.04638993740081787, 0.4213635325431824, -0.09786795824766159, 0.34949445724487305, -0.029245875775814056, -0.36117827892303467, 0.014555811882019043, 0.5491697788238525, 0.25922149419784546, 0.6593459248542786, -0.06570576876401901, 0.39431849122047424, 0.08554040640592575, -0.7871872186660767, 0.2962830662727356, 0.1505826711654663, 0.06184333562850952, 0.05219951644539833, 0.2599067986011505, 0.9044240117073059, -0.07669152319431305, -0.7561722993850708, 0.5501459240913391, -0.2142917960882187, -0.05134451389312744, -0.08302721381187439, -0.3591410517692566, 0.1669006049633026, -0.04269108548760414, 0.05014815554022789, -0.40057629346847534, 0.38144195079803467, -0.3591707646846771, 0.35082751512527466, 0.0750996470451355, -0.5689020752906799, -0.11168253421783447, 0.15384796261787415, 0.1974373310804367, -0.01956440880894661, 0.8467877507209778, -0.4415426552295685, -0.10487863421440125, 0.8928220868110657, 0.467525839805603, 0.31738582253456116, -0.08906985819339752, 0.46633854508399963, 0.40125173330307007, 0.4399558901786804, -0.19773927330970764, 0.32034292817115784, 0.3020790219306946, -0.9053577780723572, -0.4858762323856354, -0.6971815228462219, -0.252964586019516, -0.05219203978776932, -0.8563684821128845, 0.15521788597106934, 0.20953156054019928, -0.008209653198719025, 0.6281985640525818, 0.32389354705810547, -0.7218008637428284, 0.05523024499416351, 0.25726747512817383, 0.9636427164077759, -1.2291905879974365, 0.6051638722419739, 0.6302376985549927, -0.7144734263420105, -0.6948915123939514, -0.25301045179367065, -0.25858110189437866, -0.7458264231681824, 0.5884762406349182, 0.3353293240070343, 0.11217373609542847, -0.41519612073898315, -0.26030397415161133, -0.7853502035140991, 0.7406035661697388, 0.6179853677749634, -0.8449723720550537, 0.40011167526245117, 0.9045628905296326, 0.5195245146751404, -0.27507930994033813, 0.40060853958129883, 0.6565094590187073, 0.3406829833984375, -0.37338313460350037, -1.1455459594726562, -0.30279093980789185, -0.053504616022109985, -0.0546455904841423, 0.5491004586219788, -0.6338764429092407, 1.0850696563720703, 0.1571679562330246, -0.1343497931957245, -0.2671632468700409, 0.5808019042015076, 0.034245334565639496, 0.28436577320098877, 0.495624840259552, 0.3112136423587799, 0.657404363155365, 0.04558765888214111, 1.0329784154891968, -0.33096975088119507, 0.502059280872345, 0.9153833389282227, -0.33840009570121765, 0.6681222915649414, 0.4905657470226288, -0.3975624144077301, 0.21033945679664612, 0.7681277990341187, 0.02779351733624935, 0.4155738353729248, 0.38100048899650574, -0.33076855540275574, -0.22212854027748108, -0.3125733435153961, -0.3431766927242279, 0.13531145453453064, 0.2789393961429596, -0.054958026856184006, -0.22998449206352234, -0.023145310580730438, -0.13384640216827393, 0.4768843650817871, -0.39475321769714355, 0.5075773000717163, -0.055613305419683456, -0.5175706744194031, 0.3764522671699524, 0.3346690535545349, 0.5922784805297852, -0.42027920484542847, 0.1954910308122635, -0.6176639795303345, 0.35018888115882874, -0.10108740627765656, -1.1502282619476318, 0.5824928283691406, 0.09101284295320511, -0.5942457318305969, 0.16237139701843262, 0.4823193848133087, -0.6188040375709534, -0.5367302298545837, 0.3659566640853882, 0.4725627303123474, 0.30588653683662415, 0.10838540643453598, -0.6319056749343872, 0.4157562553882599, -0.045468203723430634, 0.17844222486019135, 0.5975296497344971, 0.47177207469940186, -0.21605199575424194, 0.44509831070899963, 0.05628117918968201, 0.026155441999435425, 0.2450404018163681, 0.20544247329235077, 0.5277021527290344, -0.43621543049812317, -0.6872068643569946, -0.7231813669204712, 0.3519248068332672, -0.33299702405929565, -0.24072858691215515, 0.6680924892425537, 0.9724294543266296, 1.2657556533813477, -0.21718499064445496, 0.7880899310112, -0.4422069191932678, 0.3813329339027405, -0.38815420866012573, 0.2918919026851654, -0.5633989572525024, 0.12048977613449097, 0.10010070353746414, -0.9039641618728638, 0.004334453027695417, 0.7008512616157532, -0.12412942200899124, -0.28136762976646423, 0.6962385177612305, 0.961382269859314, -0.17942899465560913, -0.04871835187077522, 0.5178069472312927, -0.20744939148426056, 0.08841393142938614, 0.6284456849098206, 0.6568924188613892, -0.5191839337348938, 0.5655657052993774, -0.09956219792366028, -0.17824476957321167, 0.12200180441141129, -0.9617509841918945, -0.8754671216011047, -0.6669999361038208, -0.32967692613601685, -0.35984373092651367, 0.22917956113815308, 0.9136236906051636, 0.6077741384506226, -0.8858588933944702, -0.42948123812675476, 0.06958531588315964, 0.04702672362327576, -0.22506389021873474, -0.16466650366783142, 0.31303271651268005, -0.4445493519306183, -0.8172820806503296, 0.046327363699674606, 0.10234302282333374, 0.06288735568523407, -0.4730241000652313, 0.1737608015537262, 0.16116201877593994, 0.33028891682624817, 0.33277398347854614, 0.12910281121730804, -0.03257744386792183, -0.2736254334449768, -0.05051647126674652, -0.6403505206108093, 0.2498033046722412, 0.9652150273323059, -0.22536832094192505, 0.2827431559562683, 0.6442255973815918, 0.6611021161079407, 0.3849383592605591, -0.5267051458358765, 0.4399055242538452, -1.2732839584350586, 0.6233795881271362, -0.10498557984828949, 0.3320155441761017, 0.6391001343727112, -0.44715428352355957, 0.454886257648468, -0.0027386893052607775, -0.5222500562667847, -0.8506162762641907, 0.41611388325691223, -0.9535764455795288, -0.42985519766807556, 1.040313720703125, -0.27097758650779724, 0.013667575083673, 0.03849919140338898, -0.08946740627288818, -0.08841907232999802, -0.22363018989562988, 0.6764816045761108, 0.9553289413452148, 0.4708324074745178, 0.284311443567276, -0.7041758894920349, 0.5989931225776672, 0.18673349916934967, -0.5965809226036072, 0.25399264693260193, 0.47587719559669495, 0.2785565257072449, 0.12305305153131485, 0.6243703365325928, -0.23657117784023285, 0.16642551124095917, 0.6904635429382324, 0.2695375382900238, 0.15786196291446686, -0.3642646372318268, -0.09229700267314911, -0.05928521603345871, -0.07407994568347931, -0.340813010931015 ]
http://arxiv.org/abs/2403.00662v1
http://arxiv.org/pdf/2403.00662v1
Modeling the Quality of Dialogical Explanations
2024-03-01T16:49:55
2024-03-01T16:49:55
Milad Alshomary, Felix Lange, Meisam Booshehri, Meghdut Sengupta, Philipp Cimiano, Henning Wachsmuth
cs.CL
cs.CL
Explanations are pervasive in our lives. Mostly, they occur in dialogical form where an {\em explainer} discusses a concept or phenomenon of interest with an {\em explainee}. Leaving the explainee with a clear understanding is not straightforward due to the knowledge gap between the two participants. Previous research looked at the interaction of explanation moves, dialogue acts, and topics in successful dialogues with expert explainers. However, daily-life explanations often fail, raising the question of what makes a dialogue successful. In this work, we study explanation dialogues in terms of the interactions between the explainer and explainee and how they correlate with the quality of explanations in terms of a successful understanding on the explainee's side. In particular, we first construct a corpus of 399 dialogues from the Reddit forum {\em Explain Like I am Five} and annotate it for interaction flows and explanation quality. We then analyze the interaction flows, comparing them to those appearing in expert dialogues. Finally, we encode the interaction flows using two language models that can handle long inputs, and we provide empirical evidence for the effectiveness boost gained through the encoding in predicting the success of explanation dialogues.
[ -0.5315792560577393, -0.950684666633606, 0.8804486989974976, 0.09077179431915283, -0.4073723554611206, -0.09200750291347504, -0.0949438288807869, -0.4882289171218872, 0.13838154077529907, 0.186252623796463, -0.8442093729972839, -0.22668959200382233, -0.4968676269054413, 0.2706923186779022, -0.41578948497772217, 0.7714906930923462, 0.026582414284348488, 0.2855377495288849, -0.4951479434967041, 0.012152060866355896, -0.5518275499343872, -0.3694550096988678, -0.7722262144088745, -0.5071086883544922, 0.6412071585655212, 0.3193466365337372, 0.8087592124938965, 0.5749423503875732, 0.2389473021030426, 0.37649622559547424, -0.28671661019325256, 0.10341768711805344, -0.8424383997917175, 0.21915209293365479, -0.23668533563613892, -0.41199585795402527, -0.266644686460495, 0.05537369102239609, 0.2650873064994812, 0.9990909695625305, -0.13280034065246582, -0.05436325445771217, 0.00242567528039217, 0.24799224734306335, -0.1620471328496933, 0.12985506653785706, -0.3345436155796051, -0.03232114017009735, 0.30219781398773193, -0.46757298707962036, -0.3675099313259125, -0.37355270981788635, 0.15172195434570312, -0.6744722127914429, 0.36532503366470337, -0.12945517897605896, 1.0385503768920898, 0.17053809762001038, -0.08024448156356812, -0.4979783892631531, -0.7696946263313293, 0.5631967186927795, -0.8050765991210938, 0.17355136573314667, 0.3960034251213074, 0.572935938835144, -0.38139626383781433, -0.5845924019813538, -0.8214548230171204, 0.22485560178756714, -0.2732658386230469, 0.2700516879558563, -0.11191064119338989, 0.16882988810539246, 0.05825502425432205, 0.284016877412796, -0.3579895496368408, -0.0020885770209133625, -0.5578877329826355, -0.2106330543756485, 0.637586772441864, 0.190043106675148, 0.3273969292640686, -0.28135642409324646, -0.2777544856071472, 0.2456602305173874, -0.28666335344314575, 0.3234561085700989, 0.35173362493515015, -0.3098331689834595, -0.04371277987957001, 0.316228449344635, -0.03854610025882721, 0.7362874150276184, 0.4333784282207489, -0.20722675323486328, -0.22275744378566742, -0.7177350521087646, -0.1323426067829132, -0.3276732861995697, 0.7138403654098511, 0.6530488729476929, 0.4946443736553192, -0.015874315053224564, 0.12869365513324738, -0.21136844158172607, 0.2724023461341858, -0.8199011087417603, -0.150955930352211, 0.5458235740661621, -0.9310246706008911, -0.30891746282577515, -0.21810978651046753, -0.7278102040290833, -0.4384039342403412, -0.34955283999443054, 0.5161318778991699, -0.47771263122558594, -0.44787168502807617, 0.14723406732082367, -0.21634414792060852, -0.09432751685380936, 0.5009689927101135, -0.9528669118881226, 0.35014739632606506, 0.5931159257888794, 0.4549754559993744, 0.1390191912651062, -0.19826513528823853, -0.3850928544998169, -0.09027761220932007, -0.21514470875263214, 0.863792359828949, -0.5704014301300049, -0.2913927733898163, -0.00013973457680549473, -0.014081776142120361, -0.2788854241371155, -0.4380207061767578, 0.47779542207717896, -0.5431604981422424, 0.419672429561615, 0.01831793040037155, -0.9057129621505737, -0.6443170309066772, -0.03085138648748398, -0.47313621640205383, 0.15236885845661163, -0.1624296009540558, -0.43769407272338867, 0.19005019962787628, -0.9313624501228333, -0.0495658777654171, 0.06297586858272552, -0.03762048855423927, -0.06223373860120773, 0.19740331172943115, 0.23765923082828522, 0.38816434144973755, -0.06177525222301483, 0.26839950680732727, -0.189540296792984, -0.436736136674881, 0.9423374533653259, -0.583060085773468, 0.6832457780838013, 0.2761816680431366, -0.07758994400501251, 0.033551305532455444, -0.3996305763721466, -0.06572657823562622, -0.024912355467677116, 0.08420472592115402, -0.1391170173883438, 0.059201911091804504, -0.5233820080757141, 0.19989733397960663, 0.19272460043430328, -0.3276785612106323, -0.15303610265254974, -0.418417364358902, 0.7938784956932068, 0.31306949257850647, 0.5072087049484253, 0.31741106510162354, -0.15426838397979736, 0.6346549391746521, 0.11897897720336914, 0.42627236247062683, -0.5755529403686523, -0.461420476436615, -0.6661691069602966, 0.07819981873035431, 0.39417585730552673, 0.0984743982553482, -0.4379584491252899, -0.12082500755786896, -0.2905036509037018, -0.12885215878486633, -0.733957052230835, 0.12592971324920654, 0.4132395088672638, 0.3399413824081421, 0.2147122323513031, -0.17451681196689606, -0.2079855501651764, -0.8005696535110474, -0.4306735098361969, -0.2731388509273529, -0.16141358017921448, 0.24267850816249847, 0.2801337242126465, -0.05723530799150467, 1.166115164756775, -0.11741320788860321, 0.38318976759910583, -0.5058781504631042, 0.5389023423194885, 0.2784534990787506, 0.32872891426086426, 0.4576021134853363, -0.8269941806793213, -0.20968115329742432, -0.27715179324150085, -0.736610472202301, -0.03530063107609749, -0.28053349256515503, -0.21765002608299255, 0.02513977512717247, 0.465519517660141, -0.6257954835891724, 0.42805734276771545, 0.43673673272132874, -0.4525390565395355, 0.5874851942062378, -0.22108010947704315, 0.33771756291389465, -0.889492928981781, -0.26066720485687256, -0.059407562017440796, -0.3601755201816559, -0.863507091999054, -0.048007987439632416, -0.3295672535896301, -0.18345634639263153, -0.29880842566490173, 0.4979182779788971, -0.385074645280838, 0.04653666168451309, -0.07740919291973114, 0.2777019739151001, 0.0853242427110672, 0.5981940031051636, 0.046219825744628906, 0.5926069617271423, 0.2933940589427948, -0.5699364542961121, 0.06664682179689407, 0.19218243658542633, -0.005057740956544876, 0.4813136160373688, -0.9648246169090271, 0.05767134577035904, -0.1436830759048462, 0.23934409022331238, -1.2215759754180908, -0.583142101764679, 0.2972909212112427, -1.0156162977218628, -0.1170940026640892, -0.44071653485298157, -0.27373796701431274, -0.3904414772987366, -0.001740031293593347, 0.3278026580810547, 0.4952985942363739, -0.4990016222000122, 0.741798460483551, 0.09516476839780807, -0.22798828780651093, -0.26282942295074463, -0.2979333996772766, -0.1173163428902626, -0.40475937724113464, -0.9031932950019836, 0.050930626690387726, -0.3609907329082489, -0.3807245194911957, 0.05697711929678917, -0.21465329825878143, -0.5237817764282227, 0.17413882911205292, 0.37684550881385803, -0.06668384373188019, -0.30138593912124634, 0.2652764618396759, 0.07351145148277283, -0.2736997902393341, 0.5183674097061157, 0.1023101732134819, 0.4740622341632843, 0.1389649510383606, -0.5069637298583984, -0.9536024332046509, 0.4480802118778229, 0.8633864521980286, -0.06424447894096375, 1.1396257877349854, 0.5846605896949768, -0.1732451468706131, 0.0833713635802269, -0.5180900692939758, -0.5719841122627258, -0.44497057795524597, -0.012676272541284561, -0.7370079159736633, -0.6564375162124634, 0.8418552279472351, -0.0004943240201100707, 0.18802787363529205, 0.4591291546821594, 0.2277870774269104, -0.49487385153770447, 1.460248589515686, 0.3404708206653595, 0.4877476990222931, 0.30407795310020447, -0.1302938610315323, 0.739133894443512, -0.45769503712654114, -0.3291008472442627, -0.3852185904979706, -0.05518638715147972, -0.41515856981277466, -0.4490147829055786, 0.23747701942920685, 0.6183809041976929, 0.06727316975593567, 0.22249622642993927, -0.14689430594444275, 0.5352569222450256, 0.3925088346004486, -0.07615368068218231, 0.37713176012039185, 0.09882128983736038, 0.15333355963230133, -0.07367482781410217, -1.0248991250991821, -0.6587463021278381, 0.5410939455032349, 0.821415364742279, 0.8334671258926392, 0.17764393985271454, 0.6883643269538879, 0.13673490285873413, 0.06596621870994568, -0.54914790391922, 0.43996140360832214, 0.09958571940660477, -0.39697790145874023, -0.517068088054657, -0.40811601281166077, -1.013938307762146, 0.2024179846048355, -0.24079766869544983, -0.7012301087379456, 0.11783912777900696, 0.3961138427257538, -0.5745211839675903, -0.25395146012306213, -0.919021725654602, 1.1257308721542358, -0.07167716324329376, -0.4725445508956909, -0.6528878211975098, -0.7494567632675171, 0.3025052547454834, 0.44121530652046204, 0.4721776247024536, -0.022559793666005135, 0.6343565583229065, 0.6734944581985474, -0.596804678440094, 0.7706591486930847, -0.15382929146289825, 0.04693102464079857, 0.3726097047328949, 0.24961315095424652, 0.12323597073554993, 0.2796017825603485, -0.010375548154115677, 0.15810458362102509, -0.0019457812886685133, -0.4825229346752167, -1.1107161045074463, 0.31705722212791443, -0.6729404926300049, -0.646491527557373, 0.25537195801734924, -0.2713732421398163, 0.17467671632766724, -0.2831408381462097, 0.28503698110580444, 0.7995940446853638, 0.06023649126291275, -0.1359669268131256, 0.7926725745201111, -0.23637500405311584, 0.24725429713726044, 0.6316035985946655, 0.004273625556379557, -0.12450923025608063, 0.9465073943138123, -0.09805206954479218, 0.5662133097648621, 0.022126710042357445, 0.1928984373807907, -0.4461217522621155, -0.6314325332641602, -0.6291645169258118, 0.4883275628089905, -0.875033974647522, 0.18839195370674133, -0.7993945479393005, -0.36806520819664, -0.18532809615135193, -0.22983422875404358, -0.08450350910425186, -0.5127822160720825, -0.14781968295574188, -0.10879843682050705, 0.32496440410614014, 0.9138549566268921, -0.08565051853656769, 0.18510685861110687, -0.6270888447761536, 0.2085203230381012, 0.5839945673942566, 0.26628732681274414, 0.3840973973274231, -0.6398918032646179, -0.3624740540981293, 0.4123231768608093, -0.13524022698402405, -1.14137864112854, 0.2872481346130371, 0.07200668752193451, 0.6726359128952026, 0.845461368560791, -0.21408885717391968, 0.8201192021369934, -0.1985960304737091, 1.070678949356079, 0.15289592742919922, -0.9986324906349182, 0.5940432548522949, -0.3686900734901428, 0.3109086751937866, 0.34859997034072876, 0.3318677246570587, -0.6979880928993225, -0.7093228101730347, -0.7406587600708008, -0.759792685508728, 0.49344274401664734, 0.46292412281036377, 0.10022849589586258, 0.035609543323516846, 0.5679388642311096, 0.40697500109672546, 0.12580522894859314, -0.6757811903953552, -0.1881483793258667, -0.4131932258605957, -0.31244659423828125, 0.24449342489242554, -0.6078182458877563, -0.3474512994289398, 0.031097840517759323, 0.5624224543571472, 0.00027526088524609804, 0.6070047616958618, 0.11317582428455353, -0.2670137882232666, -0.16334590315818787, 0.3119336664676666, 0.9748073220252991, 1.099972128868103, -0.04211727902293205, 0.29536646604537964, -0.15607231855392456, -0.05610308796167374, -0.235582172870636, 0.05662817507982254, 0.33524322509765625, 0.3410795331001282, 0.7639835476875305, 0.7527090311050415, 0.07900809496641159, -0.5563064813613892, 0.3404710590839386, -0.3010185956954956, -0.14870348572731018, -0.1714722067117691, 0.22842669486999512, 0.33100631833076477, 0.11968746781349182, 0.3063850402832031, -0.2676962614059448, 0.3066517114639282, -0.7318138480186462, -0.07555122673511505, 0.2364846169948578, -0.41990768909454346, -0.5358927845954895, 0.6441373825073242, 0.8012287616729736, -0.5557692050933838, 0.5020563006401062, -0.2548416554927826, -0.7016080021858215, 0.6866118907928467, 0.278513640165329, 0.48255154490470886, -0.021206382662057877, 0.45252472162246704, 0.545883059501648, -0.19088944792747498, 0.2427002489566803, -0.033212218433618546, -0.2283693253993988, -0.7367357015609741, -0.8078716397285461, -0.4984889030456543, -0.5826820135116577, 0.14235709607601166, -0.5602136850357056, -0.20502504706382751, 0.2005181461572647, 0.12930092215538025, 0.49954771995544434, -0.2635895609855652, -0.5956088304519653, -0.005029768217355013, -0.18792259693145752, 0.8649741411209106, -0.9613350629806519, 0.0883823037147522, 0.45316845178604126, -0.6812405586242676, -0.8324434757232666, 0.0758870542049408, -0.06303740292787552, -0.6910405158996582, 0.550512969493866, 0.18685567378997803, -0.29592713713645935, -0.18304073810577393, -0.5928785800933838, -0.540920078754425, 0.6559524536132812, 0.1064453274011612, -0.4084516763687134, 0.1906600147485733, -0.01781274378299713, 0.9248746037483215, -0.49292507767677307, 0.7807591557502747, 0.558567225933075, 0.5355038046836853, 0.04787139594554901, -0.9424759745597839, -0.1491488367319107, -0.3091036379337311, -0.10811139643192291, -0.005686191841959953, -0.3713236451148987, 0.3844850957393646, -0.2688908576965332, -0.1875642091035843, 0.202800452709198, 0.6032915115356445, -0.021010201424360275, 0.5528905391693115, 0.5714378356933594, 0.09898154437541962, 0.46246689558029175, -0.1800031214952469, 1.0608724355697632, -0.4284210503101349, 0.4070186913013458, 0.8883064389228821, 0.4071532189846039, 0.5331759452819824, 0.46923887729644775, 0.11907701939344406, 0.9976330399513245, 1.1462702751159668, 0.4827991724014282, 0.2979026734828949, 0.05356113612651825, -0.16765013337135315, -0.6321401000022888, -0.1526441127061844, -0.17372319102287292, 0.26573827862739563, 0.5106797814369202, -0.6597402095794678, -0.04054756462574005, 0.09218129515647888, -0.0637672170996666, 0.12585990130901337, -0.215272456407547, 0.9857642650604248, -0.1120835393667221, -0.9151920080184937, 0.7678690552711487, -0.3290560841560364, 0.02072843164205551, -0.1799754798412323, -0.3101029098033905, -0.4960809051990509, -0.11042431741952896, -0.23850660026073456, -1.0143848657608032, 0.09152267873287201, -0.10940765589475632, -0.45959940552711487, -0.36091357469558716, 0.5540369749069214, -0.7360385060310364, -0.09840218722820282, 0.09589704126119614, 0.6398528218269348, 0.8370193839073181, 0.3943309485912323, -0.4994414746761322, -0.016820110380649567, -0.10067018121480942, -0.02060643956065178, -0.12411942332983017, 0.6267638206481934, 0.016105366870760918, 0.7680463194847107, 0.3527393639087677, -0.37435364723205566, -0.1040695309638977, 0.43932992219924927, 0.6082884669303894, -0.4961805045604706, -0.36236074566841125, -0.7453558444976807, 0.7805142998695374, -0.36087846755981445, -0.1899372637271881, 0.47430142760276794, 0.17240330576896667, 0.37915223836898804, -0.1177491843700409, 0.42778342962265015, 0.15553022921085358, 0.7065662145614624, -0.5792564749717712, 0.5267640352249146, -0.42529019713401794, 0.25822538137435913, 0.18515092134475708, -0.6864243149757385, 0.2692886292934418, 0.7535711526870728, -0.07975941151380539, 0.0662720650434494, 0.7627797722816467, 0.6243062019348145, -0.18267256021499634, 0.2606023848056793, 0.23723289370536804, 0.7294777631759644, 0.17492565512657166, 0.34841910004615784, 0.9698730111122131, -0.013231266289949417, 0.5178677439689636, 0.006122640334069729, -0.0798199251294136, -0.586640477180481, -0.6131741404533386, -1.0769590139389038, -0.48893657326698303, -0.33955034613609314, -0.24856500327587128, 0.30531319975852966, 0.6145933866500854, 0.9642179012298584, -0.5449159145355225, -0.05390239506959915, -0.38171735405921936, 0.5409192442893982, -0.4607292413711548, -0.2810003161430359, -0.007282557897269726, -0.3344734311103821, -0.7920113801956177, 0.29397472739219666, 0.1551022231578827, -0.008988437242805958, -0.4833877980709076, -0.15921998023986816, 0.3428035378456116, 0.4189188480377197, 0.4692613184452057, 0.10570825636386871, -0.9719460606575012, -0.36776313185691833, 0.0644054263830185, 0.28075936436653137, 0.04369393363595009, 0.7832615971565247, -0.6751754879951477, 0.7965165376663208, 0.4869149327278137, 0.3228190243244171, 0.44869464635849, 0.348298579454422, 1.109437346458435, -0.15834690630435944, -0.4466552436351776, -0.10103683918714523, 0.101789191365242, 0.2767355144023895, -0.3092048764228821, 0.48106902837753296, -0.023880263790488243, -0.6557547450065613, -0.5204420685768127, 0.2632337212562561, -0.7982470393180847, -0.36210253834724426, 1.0689116716384888, -0.38702064752578735, -0.031784359365701675, -0.3749716877937317, -0.27722325921058655, 0.2534583806991577, -0.5285792946815491, 1.0283490419387817, 1.0864839553833008, -0.7055501937866211, -0.37863942980766296, -0.6512149572372437, 0.5950233340263367, 0.5072845816612244, -0.7614123225212097, 0.037752095609903336, 0.4219009280204773, 0.3773801028728485, 0.32769423723220825, 0.4278627038002014, 0.10890942066907883, 0.7656110525131226, -0.16671378910541534, -0.27846166491508484, 0.013338827528059483, -0.13602295517921448, -0.48188668489456177, 0.1926575005054474, 0.20066221058368683, -0.20455792546272278 ]
http://arxiv.org/abs/2403.00632v1
http://arxiv.org/pdf/2403.00632v1
Metamorpheus: Interactive, Affective, and Creative Dream Narration Through Metaphorical Visual Storytelling
2024-03-01T16:09:32
2024-03-01T16:09:32
Qian Wan, Xin Feng, Yining Bei, Zhiqi Gao, Zhicong Lu
cs.HC
cs.HC, cs.AI, cs.CL, cs.CY
Human emotions are essentially molded by lived experiences, from which we construct personalised meaning. The engagement in such meaning-making process has been practiced as an intervention in various psychotherapies to promote wellness. Nevertheless, to support recollecting and recounting lived experiences in everyday life remains under explored in HCI. It also remains unknown how technologies such as generative AI models can facilitate the meaning making process, and ultimately support affective mindfulness. In this paper we present Metamorpheus, an affective interface that engages users in a creative visual storytelling of emotional experiences during dreams. Metamorpheus arranges the storyline based on a dream's emotional arc, and provokes self-reflection through the creation of metaphorical images and text depictions. The system provides metaphor suggestions, and generates visual metaphors and text depictions using generative AI models, while users can apply generations to recolour and re-arrange the interface to be visually affective. Our experience-centred evaluation manifests that, by interacting with Metamorpheus, users can recall their dreams in vivid detail, through which they relive and reflect upon their experiences in a meaningful way.
[ -0.38052302598953247, -0.39322376251220703, 0.498066246509552, 0.24476748704910278, -0.6563729643821716, -0.0351298563182354, 0.05076732113957405, -0.6333358883857727, 1.127925992012024, 0.30308008193969727, -0.8895559906959534, -0.27478426694869995, -0.27140119671821594, 0.09444454312324524, -0.11656306684017181, 0.7145359516143799, -0.2421996146440506, -0.4061218500137329, -0.19858793914318085, -0.3335014581680298, -0.713941216468811, -0.2074301689863205, -0.33902257680892944, -0.08405441790819168, 0.6745297312736511, 0.17409475147724152, 1.0496424436569214, 0.16883793473243713, 0.2783297002315521, 0.2677791118621826, 0.4453994333744049, 0.28256258368492126, -0.24156342446804047, 0.508467972278595, 0.0049265599809587, -0.3984108865261078, -0.17696481943130493, 0.16775758564472198, 0.43514376878738403, 0.23782692849636078, -0.4060072898864746, 0.25629541277885437, 0.2530413866043091, 0.601810097694397, -0.896670937538147, 0.12987053394317627, -0.029115308076143265, 0.6890953779220581, -0.05328575521707535, -0.34736913442611694, -0.15198834240436554, -0.37510743737220764, -0.16117046773433685, -0.7567511200904846, -0.17524096369743347, 0.14725323021411896, 0.5252528190612793, 0.4768907129764557, -0.3682251572608948, -0.40987512469291687, -0.8751264810562134, 0.4341447651386261, -0.46291404962539673, 0.42688509821891785, -0.02676554024219513, 0.49475041031837463, 0.24270819127559662, -0.6991000771522522, -1.006530523300171, -0.12854139506816864, -0.21794575452804565, 0.40165477991104126, -0.2680317163467407, 0.13207502663135529, 0.08223717659711838, 0.40399205684661865, -0.5961500406265259, -0.2956727147102356, -0.27884113788604736, -0.0882192999124527, 0.47856301069259644, 0.7090962529182434, 0.7811880111694336, -0.47338056564331055, -0.1972774863243103, -0.22097143530845642, -0.3024115562438965, -0.18669210374355316, 0.22829270362854004, -0.004658765625208616, -0.27871569991111755, 0.7676692008972168, 0.25452902913093567, 0.7357237935066223, -0.2851427495479584, -0.22519096732139587, 0.3642069101333618, 0.36797651648521423, -0.40383514761924744, 0.007493417244404554, 0.743270754814148, 0.7929723262786865, -0.08583223074674606, -0.16382236778736115, -0.0441659651696682, 0.23094089329242706, 0.7127293348312378, -0.7672026753425598, 0.03745272755622864, 0.27954035997390747, -0.9310489296913147, -0.29348957538604736, 0.035347599536180496, -1.1381388902664185, -0.6100706458091736, -0.4610983431339264, 0.48487067222595215, -0.6475909948348999, -0.47098150849342346, -0.034971680492162704, -0.4158666431903839, 0.039792485535144806, 0.3249642848968506, -0.8609004020690918, -0.1196357011795044, 0.4317212402820587, 0.7323947548866272, 0.02205415815114975, -0.38491639494895935, -0.030130397528409958, 0.4667302668094635, -0.11698419600725174, 0.4458436369895935, -0.8453354835510254, -0.5917757153511047, 0.10901505500078201, -0.26596537232398987, -0.11483713984489441, -0.36098945140838623, 0.553312361240387, -0.04254980757832527, 0.4033397138118744, 0.03948531672358513, -0.3239855468273163, -0.27913999557495117, 0.2913089990615845, -0.6885582804679871, 0.3283250629901886, 0.016679631546139717, -0.7562130093574524, 0.14000515639781952, -0.9295802116394043, -0.2973670959472656, 0.4044075310230255, -0.486202210187912, -0.02165396884083748, 0.5252129435539246, -0.19955496490001678, 0.2597843408584595, -0.04797494411468506, -0.2214737832546234, -0.006841829977929592, -0.3974474370479584, 0.19581034779548645, -0.358086496591568, 0.3518696427345276, 0.6234269142150879, -0.520539402961731, 0.25461235642433167, -0.45675989985466003, -0.02713172324001789, 0.17489440739154816, 0.05081301927566528, -0.36803963780403137, -0.14229312539100647, 0.2777530252933502, 0.31625813245773315, -0.1356070637702942, -0.5549429059028625, 0.19700290262699127, -0.06052262708544731, 0.3877241909503937, 0.4112901985645294, -0.194034606218338, 0.1204770877957344, -0.5177724957466125, 1.067092776298523, -0.012754619121551514, 0.21253958344459534, -0.5196459889411926, -0.44000697135925293, -0.6694435477256775, -0.14808602631092072, -0.26005592942237854, 0.3261619508266449, -0.9824473857879639, -0.21770018339157104, -0.2107478827238083, -0.5132982730865479, -0.842069149017334, -0.18599756062030792, 0.11031436920166016, 0.3451659381389618, 0.2877670228481293, -0.08665543794631958, -0.5018298029899597, -0.8888751268386841, -0.30584612488746643, -0.25240322947502136, -0.301673024892807, 0.581307590007782, 0.3276121914386749, -0.7073832750320435, 0.7150367498397827, -0.6556578278541565, -0.3566344380378723, -0.18520872294902802, 0.5665231347084045, 0.057606495916843414, 0.4871468245983124, 0.6670215129852295, -0.9161940813064575, -0.13100919127464294, -0.27198317646980286, -1.071318507194519, 0.12306094169616699, -0.5350551605224609, -0.05687755346298218, 0.10397545248270035, -0.027189156040549278, -1.0107499361038208, 0.47722065448760986, 0.6228651404380798, -0.6540624499320984, 0.6360346078872681, -0.3083558976650238, 0.7244871258735657, -1.0999294519424438, 0.30740058422088623, -0.3842129409313202, 0.08379200100898743, -0.20236827433109283, 0.21562112867832184, -0.22409696877002716, -0.6072116494178772, -0.5423418283462524, 0.5930487513542175, -0.37465932965278625, 0.0040068309754133224, -0.3060765862464905, -0.01035365741699934, 0.004693242255598307, 0.47266680002212524, 0.3566766381263733, 0.339769572019577, 0.40193721652030945, -0.13225214183330536, 0.6276630163192749, 0.3218230605125427, -0.22459948062896729, 0.7289926409721375, -0.20249536633491516, 0.27006796002388, -0.2912987172603607, 0.2245950549840927, -0.8478286266326904, -0.1869897097349167, 0.63741534948349, -0.2819291055202484, 0.06950488686561584, 0.44132137298583984, -0.4253978431224823, -0.5364586710929871, -0.14975956082344055, 0.6589093208312988, 0.6315141320228577, -0.43288302421569824, 1.417925238609314, 0.17304597795009613, -0.042826518416404724, -0.17459335923194885, -0.6772143244743347, 0.517124354839325, -0.5666913390159607, -0.4699896275997162, 0.4170714020729065, -0.3523752689361572, -0.16447857022285461, 0.14235453307628632, 0.22416551411151886, 0.17525142431259155, -0.2892524003982544, 0.9959640502929688, 0.15237148106098175, 0.11110366135835648, 0.20610328018665314, 0.27655357122421265, -0.14184536039829254, 0.3262292444705963, -0.048522576689720154, 0.32862305641174316, -0.24635091423988342, -0.4188386797904968, -0.7039440870285034, 0.7097183465957642, 1.0691947937011719, -0.011843440122902393, 0.6000756621360779, 0.7252421975135803, -0.575051486492157, 0.048308998346328735, -0.6930645108222961, 0.005062649957835674, -0.39132073521614075, -0.23202654719352722, -0.6051662564277649, -0.6219319105148315, 0.3561282455921173, -0.06817013025283813, 0.1030430719256401, 0.3146689832210541, 0.38632604479789734, -0.6664158701896667, 0.7095808982849121, 0.46154314279556274, 0.1463603377342224, 0.41293901205062866, -0.1508851796388626, -0.04508303478360176, -0.8499788045883179, -0.40838906168937683, 0.0999615490436554, -0.8750162124633789, -0.27182644605636597, -0.5636041164398193, 0.3973333537578583, -0.34390801191329956, -0.02486960031092167, -0.030849982053041458, -0.6164770722389221, 0.12221499532461166, 0.5686880946159363, 0.34089356660842896, 0.18546675145626068, -0.2123999148607254, -0.09651520848274231, -0.4243485629558563, -0.21438921988010406, -0.6001973152160645, 0.5812563300132751, 0.051887258887290955, 0.74400794506073, 0.03450971096754074, 0.7690529823303223, 0.5606906414031982, 0.6270432472229004, -0.5330958962440491, 0.5634512901306152, 0.3372507095336914, -0.4383179545402527, -0.22429031133651733, -0.12380237132310867, -0.8687127232551575, 0.19928498566150665, -0.5169939398765564, -0.6556241512298584, 0.2431056797504425, 0.33613044023513794, -0.543166995048523, 0.5171046853065491, -0.3580954670906067, 0.8378452658653259, -0.3585749566555023, -0.19975145161151886, -0.908195436000824, -0.6073622107505798, 0.2609870731830597, 0.379675954580307, 0.1708574742078781, 0.16891856491565704, -0.053972914814949036, 0.57136470079422, -0.19715066254138947, 0.8780665397644043, -0.1008823812007904, 0.10548657178878784, 0.5483136773109436, 0.685973048210144, 0.12129899114370346, -0.1531764417886734, -0.04557134956121445, 0.005989043973386288, -0.028809934854507446, -0.18921983242034912, -0.7058397531509399, 0.6083767414093018, -0.4987677037715912, -0.6070423126220703, -0.27949073910713196, -0.5207927227020264, 0.03803670033812523, 0.020771443843841553, 0.13057690858840942, 0.16286659240722656, -0.6309570670127869, 0.00480657210573554, 0.3128661513328552, -0.42359939217567444, 0.6199859976768494, 0.20006980001926422, -0.48196542263031006, -0.5670413374900818, 0.7756123542785645, -0.06440971791744232, -0.34039464592933655, 0.3982314169406891, 0.29074689745903015, -0.009380834177136421, 0.025200888514518738, -0.4231535494327545, 0.1723945587873459, -0.4517681300640106, -0.16992498934268951, -0.7231179475784302, -0.030846374109387398, -0.028644699603319168, -0.3283354640007019, -0.20186544954776764, -0.3156469762325287, -0.16510944068431854, -0.4408043920993805, -0.03825190290808678, 0.5085481405258179, -0.32565465569496155, -0.13384374976158142, -0.8940527439117432, 0.6735212206840515, 0.8535836338996887, 0.3245945870876312, 0.27078381180763245, 0.06619112193584442, -0.28660571575164795, 0.22335653007030487, -0.4445347189903259, -1.03269362449646, 0.5922509431838989, 0.1108560860157013, 0.35312944650650024, 0.6894021034240723, 0.07400213927030563, 0.6218789219856262, -0.27509814500808716, 0.8110895752906799, 0.5233898758888245, -0.857982337474823, 0.937964677810669, -0.35344070196151733, 0.339834064245224, 0.29624518752098083, 0.35771551728248596, -1.0025132894515991, -0.19566158950328827, -0.6586337089538574, -0.5595805048942566, 0.2623002231121063, 0.4434307813644409, 0.46944108605384827, -0.08127898722887039, 0.6819015741348267, 0.35507071018218994, 0.45487716794013977, -0.8631505966186523, -0.15825189650058746, -0.6653416156768799, -0.41733086109161377, -0.06006492301821709, -0.5871938467025757, -0.17357449233531952, -0.17881755530834198, 0.2456538826227188, -0.11437302827835083, 0.549140453338623, 0.16412971913814545, -0.00627715140581131, -0.38274386525154114, 0.018477899953722954, 0.43285131454467773, 0.4700835049152374, -0.11725722253322601, 0.2997357249259949, 0.03264365345239639, -0.37237805128097534, -0.046252213418483734, -0.09342186897993088, 0.1340385228395462, 0.14352086186408997, 0.3775707483291626, 0.8566668629646301, 0.14555267989635468, -0.8477146625518799, 0.18003539741039276, -0.18850958347320557, 0.03383850306272507, -0.3945609927177429, 0.11237584054470062, 0.2725581228733063, 0.5039260387420654, 0.31849971413612366, -0.01545771211385727, 0.5153235793113708, -0.7291770577430725, -0.13202005624771118, 0.13616429269313812, -0.6501435041427612, -0.40211859345436096, 1.0104480981826782, 0.5696189999580383, -0.6583472490310669, 0.9744889140129089, 0.14899466931819916, -0.23672930896282196, 0.4796249568462372, 0.5233340263366699, 1.3418233394622803, -0.5612515807151794, 0.479889452457428, 0.3265891969203949, 0.144085094332695, 0.574099063873291, 0.5285536050796509, -0.48466482758522034, -0.6537203192710876, 0.14022719860076904, -0.6218556761741638, -0.5580108165740967, -0.2092355489730835, -0.699597179889679, 0.006732637993991375, -0.07396548241376877, -0.037115346640348434, -0.2668921649456024, -0.619504988193512, -0.6864725947380066, 0.49634605646133423, 0.8557632565498352, 0.6285386681556702, -1.0399259328842163, 0.41152605414390564, 0.7356186509132385, -0.3786792755126953, -0.47614699602127075, 0.07648308575153351, 0.06933186203241348, -0.5389131903648376, 0.4910980463027954, 0.5305671095848083, -0.2383974939584732, -0.10642566531896591, -0.14685672521591187, -0.39163392782211304, 1.2507935762405396, 0.38907793164253235, -0.5873512029647827, -0.08507221192121506, 0.33453309535980225, 0.7253084778785706, -0.657551109790802, 0.4296731650829315, 0.2860746681690216, 0.569083571434021, 0.2720731198787689, -0.5116795897483826, 0.1487138420343399, -0.45288923382759094, 0.008962465450167656, 0.09688745439052582, -0.7585769891738892, 0.282040536403656, -0.49219638109207153, -0.3126648962497711, -0.10979126393795013, 0.8950724601745605, 0.21192891895771027, 0.550011157989502, 0.7222878932952881, 0.8010675311088562, 0.4755430221557617, 0.051280442625284195, 1.1114791631698608, -0.2915979027748108, -0.016404859721660614, 1.0271780490875244, 0.1041373685002327, 0.6488533020019531, 0.6989821195602417, 0.06364858895540237, 0.810071587562561, 0.6723201870918274, 0.21894975006580353, 0.4540577232837677, 0.18383261561393738, -0.41376277804374695, -0.29837384819984436, -0.1033458262681961, -0.284537672996521, 0.30731189250946045, 0.20537063479423523, -0.28380030393600464, 0.0554681234061718, 0.8194138407707214, -0.2661857306957245, -0.03650524467229843, -0.13113003969192505, 0.6765596866607666, 0.20219047367572784, -0.609021782875061, -0.02761550433933735, -0.5239392518997192, 0.2964431345462799, -0.4191364347934723, -0.5152010917663574, -0.3217643201351166, -0.20054279267787933, -0.1961735039949417, -0.8823896050453186, 0.6294234991073608, -0.2763589322566986, 0.009539248421788216, -0.6419447660446167, 0.5231715440750122, -0.3025078773498535, -0.4780958592891693, 0.18022271990776062, 0.3155347406864166, 0.14760184288024902, -0.25452929735183716, -0.6587226986885071, 0.2478993684053421, -0.10552755743265152, -0.23495496809482574, -0.07116049528121948, 0.47291526198387146, 0.2935543656349182, 0.943077564239502, 0.09409290552139282, -0.26052749156951904, -0.39309385418891907, 0.012851813808083534, 0.6695666909217834, -0.9988290667533875, -0.7719936966896057, -0.7658509016036987, 0.8466564416885376, 0.20924049615859985, -0.335588663816452, 0.4023466408252716, 0.5050631761550903, 0.11513756215572357, -0.3944053649902344, 0.5944207906723022, -0.4126032590866089, -0.011204509064555168, -0.22335167229175568, 0.6955577731132507, -0.6608801484107971, -0.26064014434814453, -0.5209285616874695, -1.0731796026229858, -0.12761184573173523, 0.42232418060302734, 0.21295930445194244, -0.1892469823360443, 0.5299451351165771, 0.1508253961801529, 0.0834147110581398, 0.15812329947948456, 0.42923665046691895, 0.2986888289451599, 0.2106473445892334, 0.4638533592224121, 1.180087685585022, -0.043404147028923035, 0.21210196614265442, -0.11237664520740509, -0.30530476570129395, -0.3321145474910736, -0.8648493885993958, -0.5696101784706116, -0.8951553106307983, -0.4380228817462921, -0.17929810285568237, 0.09790713340044022, 0.9830807447433472, 0.473070353269577, -0.38601645827293396, -0.22831399738788605, -0.03951450437307358, 0.09198017418384552, -0.3463088572025299, -0.2651754915714264, 0.26826831698417664, 0.004088300745934248, -0.6877468824386597, 0.21231849491596222, 0.6466836333274841, 0.2910242974758148, -0.4091753363609314, -0.11906013637781143, 0.43539613485336304, 0.11289513856172562, 0.5645835399627686, 0.18723945319652557, -0.635438084602356, -0.2726435661315918, -0.5624448657035828, -0.001363741117529571, 0.014844032935798168, 1.0378735065460205, -1.0802546739578247, 0.8533660173416138, 0.2726118266582489, 0.2289953976869583, 0.8343367576599121, -0.24256348609924316, 0.7861931324005127, 0.0018995841965079308, 0.14269432425498962, 0.45855221152305603, 0.36597126722335815, 0.022029384970664978, -0.44706517457962036, 0.5847840905189514, 0.12980212271213531, -0.12951591610908508, -0.5660707950592041, 0.14805051684379578, -1.0783532857894897, -0.409417986869812, 0.7384641766548157, -0.011595631018280983, -0.02288021519780159, 0.5337775349617004, -0.7220871448516846, 0.10756831616163254, 0.15706346929073334, 1.2325797080993652, 0.5644457936286926, -0.5809487104415894, -0.3381170928478241, -0.22419962286949158, 0.35940688848495483, 0.2827811539173126, -0.8186352252960205, -0.10514359921216965, 0.7522460222244263, -0.05345058813691139, 0.24243603646755219, 0.34270521998405457, 0.20420584082603455, 0.24639365077018738, 0.23372158408164978, 0.5228951573371887, -0.23935122787952423, -0.2261282503604889, 0.03557327762246132, 0.3737369775772095, -0.3562602698802948, -0.41627293825149536 ]
http://arxiv.org/abs/2403.00896v2
http://arxiv.org/pdf/2403.00896v2
DiaHalu: A Dialogue-level Hallucination Evaluation Benchmark for Large Language Models
2024-03-01T15:38:55
2024-06-17T15:11:20
Kedi Chen, Qin Chen, Jie Zhou, Yishen He, Liang He
cs.CL
cs.CL, cs.AI
Since large language models (LLMs) achieve significant success in recent years, the hallucination issue remains a challenge, numerous benchmarks are proposed to detect the hallucination. Nevertheless, some of these benchmarks are not naturally generated by LLMs but are intentionally induced. Also, many merely focus on the factuality hallucination while ignoring the faithfulness hallucination. Additionally, although dialogue pattern is more widely utilized in the era of LLMs, current benchmarks only concentrate on sentence-level and passage-level hallucination. In this study, we propose DiaHalu, the first dialogue-level hallucination evaluation benchmark to our knowledge. Initially, we integrate the collected topics into system prompts and facilitate a dialogue between two ChatGPT3.5. Subsequently, we manually modify the contents that do not adhere to human language conventions and then have LLMs re-generate, simulating authentic human-machine interaction scenarios. Finally, professional scholars annotate all the samples in the dataset. DiaHalu covers four common multi-turn dialogue domains and five hallucination subtypes, extended from factuality and faithfulness hallucination. Experiments through some well-known LLMs and detection methods on the dataset show that DiaHalu is a challenging benchmark, holding significant value for further research.
[ -0.47714751958847046, -1.06853187084198, 0.5690189599990845, 0.36455968022346497, -0.38219091296195984, 0.07939505577087402, -0.2511431872844696, -0.47198155522346497, 0.13435497879981995, 0.5201343894004822, -0.5391630530357361, -0.7573227286338806, -0.3943004310131073, 0.41830819845199585, -0.5972698926925659, 0.6273462176322937, 0.09571847319602966, -0.08416273444890976, -0.28800931572914124, 0.0199494119733572, -0.6601224541664124, -0.5893154740333557, -0.43625691533088684, -0.2506833076477051, 0.30551761388778687, 0.22025175392627716, 0.5866496562957764, 0.14702241122722626, 0.42330682277679443, 0.31768348813056946, -0.0018373781349509954, 0.3340549170970917, -0.677970290184021, 0.33186104893684387, 0.33171480894088745, -0.3285209834575653, -0.5187621712684631, -0.008393104188144207, 0.7605717182159424, 0.7091493606567383, -0.27198949456214905, -0.14960235357284546, 0.09513192623853683, 0.4282318651676178, -0.5379951596260071, 0.2433570772409439, -0.6804871559143066, 0.0825352668762207, -0.24721188843250275, -0.20795191824436188, -0.5838804244995117, -0.6680657863616943, 0.0671994537115097, -0.45007088780403137, 0.05755853280425072, 0.05034933239221573, 0.7735925316810608, 0.5508544445037842, -0.09263208508491516, -0.3762846887111664, -0.8298701643943787, 0.8081455230712891, -0.81462162733078, 0.6645991206169128, 0.4538164734840393, 0.3130292296409607, -0.2811296582221985, -0.39121437072753906, -0.7192598581314087, -0.47035643458366394, -0.30191943049430847, -0.023296533152461052, -0.2727341055870056, 0.023472176864743233, 0.3277842700481415, 0.3143869638442993, -0.7743180394172668, 0.03516034036874771, -0.00802659336477518, -0.24136604368686676, 0.3736967146396637, 0.32504385709762573, 0.23141618072986603, -0.10922302305698395, -0.21035096049308777, -0.019861306995153427, -0.6026740074157715, -0.4321940541267395, 0.2411688268184662, -0.02473634108901024, -0.05193237215280533, 0.2807403802871704, -0.2556624710559845, 0.6994813680648804, -0.2260817140340805, -0.14655819535255432, 0.39455485343933105, -0.36417487263679504, -0.227559432387352, 0.279516339302063, 0.891387939453125, 0.37214672565460205, 0.32494333386421204, -0.24923668801784515, -0.23826101422309875, 0.2440713346004486, 0.22012363374233246, -0.9828706383705139, -0.3912241458892822, 0.23558713495731354, -0.36637845635414124, -0.2729213237762451, -0.049164485186338425, -0.9906657338142395, -0.5887671709060669, -0.08363707363605499, 0.17889702320098877, -0.4627981185913086, -0.36282628774642944, 0.2481636255979538, 0.3875463902950287, 0.40968236327171326, 0.4380472004413605, -0.7639720439910889, 0.5466083288192749, 0.8387312889099121, 0.8682974576950073, -0.4549025297164917, -0.3825945258140564, -0.6270228028297424, -0.05207822099328041, -0.5339321494102478, 0.9017911553382874, -0.7469812631607056, -0.46285825967788696, 0.04075079783797264, -0.1617092341184616, -0.1083487793803215, -0.919532299041748, 0.6308626532554626, -0.40252265334129333, 0.11728033423423767, -0.1264335960149765, -0.5142661333084106, -0.2099391520023346, 0.33808189630508423, -0.6958832740783691, 0.922787070274353, 0.004248755984008312, -0.6367056369781494, 0.296852707862854, -0.3972861170768738, -0.31949272751808167, 0.1789235919713974, -0.42514488101005554, -0.5889804363250732, -0.07173523306846619, 0.028724774718284607, 0.28964725136756897, -0.4761695861816406, 0.6108372807502747, -0.3101186156272888, -0.7388527393341064, 0.4025736153125763, -0.6404387354850769, 0.45718446373939514, 0.0023972128983587027, -0.33067086338996887, 0.05521583557128906, -0.7334488034248352, -0.3713279664516449, 0.04687170311808586, -0.17438183724880219, -0.3173588216304779, -0.10715939849615097, -0.0943729504942894, -0.016478952020406723, 0.11112112551927567, -0.4787222743034363, 0.2608034014701843, -0.3156747817993164, 0.1622164100408554, 0.7085294723510742, -0.027749694883823395, -0.13766370713710785, -0.283820778131485, 0.42036694288253784, 0.1463180035352707, 0.09044450521469116, 0.024046268314123154, -0.4879637658596039, -0.8895782828330994, -0.3709386885166168, 0.2554231584072113, 0.4780102074146271, -0.4792473614215851, 0.5043112635612488, -0.23495587706565857, -0.29854971170425415, -0.6903248429298401, 0.13037486374378204, 0.4195905923843384, 0.29072311520576477, 0.3218831419944763, -0.2970787584781647, -0.5945872664451599, -0.9371652603149414, -0.039833132177591324, -0.508372962474823, 0.04702649265527725, 0.3689686954021454, 0.40611785650253296, -0.4400298595428467, 0.7226179242134094, -0.39184871315956116, -0.3745795786380768, -0.22984875738620758, 0.3038080632686615, 0.18002675473690033, 0.17118142545223236, 0.26032906770706177, -0.6629880666732788, -0.30491411685943604, -0.19584479928016663, -1.1390167474746704, -0.4057464897632599, -0.32718056440353394, -0.07931049913167953, 0.33417901396751404, 0.55824875831604, -0.7520284056663513, 0.32548773288726807, 0.519646942615509, -0.1705675721168518, 0.7818402051925659, -0.0007443763897754252, 0.36515527963638306, -0.8502180576324463, 0.057752352207899094, -0.156030535697937, -0.10255450755357742, -0.7684400677680969, -0.24259749054908752, -0.24093006551265717, 0.16194844245910645, -0.15980315208435059, 0.3477398157119751, -0.12044601142406464, -0.23978285491466522, -0.05839530751109123, 0.3615228235721588, -0.08806207031011581, 0.47379961609840393, 0.1704770177602768, 0.7958196401596069, 0.5238892436027527, -0.4975351095199585, 0.4775753617286682, 0.5554341673851013, -0.6493815183639526, 0.5484927892684937, -0.7491080164909363, 0.2736302316188812, 0.17406679689884186, 0.3274746835231781, -0.9550639390945435, -0.011376389302313328, 0.35699424147605896, -0.17758452892303467, 0.06033793091773987, 0.07926338911056519, -0.6206173300743103, 0.01157466322183609, -0.2955838143825531, 0.6375191807746887, 0.4072502851486206, -0.44939514994621277, 0.34060949087142944, 0.29086747765541077, -0.04802663251757622, -0.3569333553314209, -0.31193625926971436, 0.45893609523773193, -0.5274540781974792, -0.48365873098373413, 0.24209584295749664, -0.3583895266056061, -0.42774662375450134, -0.5290647149085999, -0.05086590349674225, 0.29317834973335266, 0.11950371414422989, 0.26084378361701965, 0.34524062275886536, -0.19076696038246155, -0.09114047139883041, -0.13022632896900177, -0.31526628136634827, 0.27274084091186523, 0.05447370558977127, 0.9943251013755798, -0.18115097284317017, -0.47172173857688904, -0.7886341214179993, 0.13498809933662415, 0.5552557110786438, 0.004953473340719938, 0.4309806525707245, 0.6133377552032471, -0.48368456959724426, 0.029526907950639725, -0.760053813457489, -0.364827036857605, -0.4218578338623047, 0.3067629039287567, -0.7446251511573792, -0.6991313099861145, 0.3922789394855499, -0.28466475009918213, 0.1242906004190445, 0.04479140415787697, 0.7293044924736023, 0.16876189410686493, 0.933260977268219, 0.25012001395225525, -0.15781909227371216, 0.13093392550945282, -0.16682815551757812, 0.3756685256958008, -0.8443015813827515, -0.28453823924064636, -0.5209758281707764, -0.14599183201789856, -0.7081064581871033, -0.396536260843277, 0.4223288893699646, 0.2139757126569748, 0.1192135214805603, 0.44488558173179626, -0.2343355417251587, 0.18883918225765228, 0.26024365425109863, -0.00423172814771533, 0.6529352068901062, -0.11174142360687256, -0.12066375464200974, -0.10142409801483154, -0.4220847189426422, -0.6838529109954834, 0.7085412740707397, 0.3099967837333679, 0.847801923751831, 0.22384114563465118, 0.9204974174499512, 0.524547815322876, 0.13633239269256592, -0.6538926362991333, 0.8737292885780334, 0.20924843847751617, -0.1893906146287918, -0.403869092464447, -0.5975663661956787, -1.0033003091812134, 0.2534247040748596, -0.011476980522274971, -0.8885871171951294, 0.2041938751935959, -0.2075393944978714, -0.3819401264190674, -0.01565741002559662, -0.2606298327445984, 0.933010995388031, 0.0655890554189682, -0.2161622941493988, -0.3758814334869385, -0.4372873604297638, 0.5479040741920471, -0.256450891494751, 0.2641383707523346, -0.23812200129032135, 0.23221595585346222, 0.7486488819122314, -0.13559164106845856, 0.8800498843193054, 0.008990519680082798, -0.5591683983802795, 0.06320704519748688, 0.5623267292976379, 0.34385913610458374, 0.3406122326850891, -0.04770845174789429, 0.37049856781959534, -0.006875315215438604, -0.08690069615840912, -0.4619153141975403, 0.8460521101951599, -0.6803886294364929, -0.6760137677192688, -0.4955843389034271, -0.46891841292381287, -0.2814885377883911, -0.005954922642558813, 0.008371739648282528, 0.40108194947242737, -0.5501285791397095, 0.05146176740527153, 0.8379431962966919, -0.46752631664276123, 0.23134395480155945, 0.5081363320350647, -0.5369052290916443, -0.2555363178253174, 1.1734319925308228, -0.35213226079940796, 0.2269870489835739, 0.353564977645874, 0.15492676198482513, -0.230812206864357, -0.5464330315589905, -0.6175745725631714, 0.3177400231361389, -0.5997310280799866, -0.06723903119564056, -0.7683146595954895, -0.42007023096084595, -0.3110714554786682, 0.15047526359558105, -0.3311407268047333, -0.1384963095188141, -0.22421948611736298, 0.06686826050281525, 0.081749826669693, 0.7301080822944641, -0.008379269391298294, -0.1498999297618866, -0.6601999998092651, 0.6800857782363892, 0.32234376668930054, 0.28165048360824585, -0.058151546865701675, -0.5436922907829285, -0.05012287572026253, -0.015516341663897038, -0.19907024502754211, -0.5617881417274475, 0.2494405061006546, 0.20435798168182373, 0.5653672218322754, 0.6284061074256897, 0.20788460969924927, 0.6340091228485107, -0.3917526602745056, 0.7709195613861084, 0.06707555800676346, -0.8641032576560974, 0.5103534460067749, -0.08208272606134415, 0.18127261102199554, 0.5045490860939026, 0.35381603240966797, -0.685428261756897, -0.5346144437789917, -0.256399929523468, -0.2688370645046234, 0.5080649256706238, 0.47792887687683105, 0.0666709691286087, -0.13065223395824432, 0.045839257538318634, 0.43716302514076233, 0.16160665452480316, -0.4861714541912079, -0.09642941504716873, 0.01268470287322998, 0.016176212579011917, -0.03369312360882759, -0.35342735052108765, -0.11701404303312302, -0.27262839674949646, 0.5034999847412109, 0.02658691443502903, 0.28014686703681946, 0.09550848603248596, -0.3568790853023529, -0.11292751878499985, 0.18592534959316254, 0.7021386623382568, 0.667574942111969, -0.38360631465911865, 0.2069859504699707, 0.24242915213108063, -0.5440796613693237, 0.07613185793161392, 0.02749466337263584, -0.1896945685148239, 0.2825641930103302, 0.4895241856575012, 0.8401461243629456, 0.19468171894550323, -0.802470862865448, 0.3261789083480835, -0.3485293388366699, -0.07017070055007935, -0.22093407809734344, 0.04875019192695618, -0.10012561827898026, 0.22598107159137726, 0.15661469101905823, -0.4216693937778473, 0.3459247350692749, -0.6811082363128662, 0.3141099810600281, 0.4834793508052826, -0.4279251992702484, -0.3076934218406677, 0.5318962335586548, 0.198692187666893, -0.41970202326774597, 0.7985671758651733, -0.244537353515625, -0.5418838262557983, 0.12920984625816345, 0.43337804079055786, 1.078368067741394, -0.3156442940235138, 0.40402957797050476, 0.3410715162754059, 0.32117322087287903, 0.09640577435493469, 0.32257571816444397, -0.11715713888406754, -0.815289318561554, -0.22959165275096893, -1.052675485610962, -0.5098590850830078, 0.3706856071949005, -0.5062406063079834, 0.3961236774921417, -0.045872677117586136, 0.018203089013695717, -0.07488983869552612, -0.05533654987812042, -0.24639654159545898, -0.15469685196876526, 0.32981905341148376, 0.5235559344291687, -0.6917516589164734, 0.8483332991600037, 0.11728441715240479, -0.17409537732601166, 0.05058443918824196, 0.25558409094810486, -0.046726129949092865, -0.7079783082008362, 0.386240154504776, 0.39090967178344727, -0.328204870223999, -0.03075181506574154, -0.2827405035495758, -0.25164544582366943, 0.8681788444519043, 0.2897978723049164, -0.6858896017074585, -0.006375215481966734, 0.5940951108932495, 0.45523256063461304, -0.4030180871486664, 0.3332163393497467, 1.1297588348388672, 0.5567131638526917, 0.08624216169118881, -0.9447800517082214, 0.28872019052505493, -0.22772809863090515, -0.0016231831395998597, 0.06829456239938736, -0.6471663117408752, 0.5775110721588135, -0.0344928503036499, -0.2752612233161926, 0.3336777985095978, 0.6263602375984192, 0.5010827779769897, 0.30373916029930115, 0.7099835872650146, 0.6389375925064087, 0.6210954189300537, -0.11643997579813004, 0.5847548246383667, -0.3800722360610962, 0.16531449556350708, 0.898716151714325, -0.5790143013000488, 0.615325391292572, 0.38342034816741943, -0.18359078466892242, 0.704954981803894, 0.679198145866394, -0.03729165345430374, 0.5419605374336243, 0.3956119120121002, -0.4301016330718994, -0.45377448201179504, -0.22754500806331635, -0.4351102113723755, 0.5060139894485474, 0.5175825357437134, 0.03484370559453964, -0.15014909207820892, -0.024966904893517494, -0.13920779526233673, -0.11834976077079773, 0.3599368631839752, 1.1451479196548462, 0.1449373960494995, -0.5603545904159546, 1.1640756130218506, -0.144795760512352, 0.4272795617580414, -0.351696640253067, -0.4616701900959015, -0.5883965492248535, 0.0014436334604397416, -0.10261180251836777, -0.4216651916503906, 0.12449116259813309, 0.03176622465252876, 0.27832257747650146, -0.04719962552189827, 0.4734342396259308, -0.41768917441368103, -0.3004853129386902, 0.4133502244949341, 0.4621899127960205, 0.6869992017745972, -0.13441966474056244, -0.5197656154632568, 0.701471745967865, -0.14833290874958038, -0.13460999727249146, 0.23058463633060455, 0.5352519154548645, -0.024744050577282906, 0.6069623827934265, 0.4955914616584778, -0.12122879922389984, -0.14695030450820923, 0.6113839745521545, 0.9311130046844482, -0.5383555293083191, -0.0463826023042202, -1.0432547330856323, 0.061827559024095535, -0.15990430116653442, -0.3230069577693939, 0.7266456484794617, 0.7767059206962585, 0.8154481649398804, 0.11439488083124161, 0.7452617287635803, 0.1682697832584381, 0.15981502830982208, -0.6524278521537781, 0.6678899526596069, -0.4037644565105438, 0.49068114161491394, -0.5128375291824341, -1.3325225114822388, -0.18446747958660126, 0.7977797389030457, -0.14265893399715424, 0.01141677238047123, 0.8668108582496643, 1.0064127445220947, -0.07985879480838776, 0.35079702734947205, 0.6615647673606873, 0.5175259113311768, 0.3114594519138336, 0.685511589050293, 1.1502522230148315, -0.40845030546188354, 0.4823448956012726, -0.21489404141902924, -0.42360934615135193, -0.40285611152648926, -0.5510389804840088, -1.136655569076538, -0.6524355411529541, -0.48723962903022766, -0.3725769519805908, 0.13017426431179047, 0.7019006013870239, 0.511092483997345, -1.0013428926467896, -0.5427222847938538, -0.17137010395526886, 0.11538077890872955, -0.24111555516719818, -0.18665233254432678, 0.27097195386886597, -0.2617209255695343, -0.8271827101707458, 0.5613890290260315, 0.46125978231430054, -0.07898281514644623, -0.8097676038742065, -0.3067459166049957, -0.1937655210494995, 0.1319383680820465, 0.5938542485237122, -0.12474367767572403, -0.8871088624000549, -0.2286384254693985, 0.06516765803098679, -0.10049213469028473, 0.20660224556922913, 0.8322094082832336, -0.7850915789604187, 0.42391642928123474, 0.2911562919616699, 0.5334341526031494, 0.4440248906612396, -0.08945074677467346, 0.42456313967704773, -0.433887243270874, -0.08705785125494003, 0.2356037199497223, 0.23843532800674438, 0.3724302649497986, -0.0815880298614502, 0.5034103393554688, 0.36809688806533813, -0.5360308289527893, -1.1531745195388794, 0.18623732030391693, -0.9307889938354492, -0.06382039934396744, 1.2238171100616455, -0.03627103194594383, 0.014858024194836617, -0.31939905881881714, -0.29188454151153564, 0.24294205009937286, -0.2994459867477417, 1.320745825767517, 0.8904889822006226, -0.09087003767490387, -0.18997184932231903, -0.6505715847015381, 0.6333670616149902, 0.409867525100708, -1.0070282220840454, 0.5349308252334595, 0.45152974128723145, -0.2221650630235672, 0.16907469928264618, 0.5348269939422607, -0.017058061435818672, 0.10941725224256516, 0.005046500358730555, -0.02460535056889057, 0.321404367685318, -0.6710806488990784, -0.22573217749595642, -0.2022390067577362, 0.005146618001163006, -0.01912860944867134 ]
http://arxiv.org/abs/2403.00894v1
http://arxiv.org/pdf/2403.00894v1
A systematic evaluation of large language models for generating programming code
2024-03-01T14:43:06
2024-03-01T14:43:06
Wenpin Hou, Zhicheng Ji
cs.SE
cs.SE, cs.AI, cs.CL, cs.PL
We systematically evaluated the performance of seven large language models in generating programming code using various prompt strategies, programming languages, and task difficulties. GPT-4 substantially outperforms other large language models, including Gemini Ultra and Claude 2. The coding performance of GPT-4 varies considerably with different prompt strategies. In most LeetCode and GeeksforGeeks coding contests evaluated in this study, GPT-4 employing the optimal prompt strategy outperforms 85 percent of human participants. Additionally, GPT-4 demonstrates strong capabilities in translating code between different programming languages and in learning from past errors. The computational efficiency of the code generated by GPT-4 is comparable to that of human programmers. These results suggest that GPT-4 has the potential to serve as a reliable assistant in programming code generation and software development.
[ -0.22996044158935547, -0.5035778284072876, 0.7958384156227112, 0.442002534866333, 0.03248722851276398, 0.19061359763145447, -0.3707086145877838, -0.23886127769947052, -0.12019218504428864, -0.0031220540404319763, -0.41406360268592834, -0.4530399739742279, -0.3372343182563782, 0.5796635746955872, -0.3473837971687317, 1.087093710899353, 0.041895560920238495, 0.127604141831398, 0.19667693972587585, 0.4146503806114197, -0.650029718875885, -0.7347336411476135, -0.6472097039222717, 0.022185908630490303, 0.30712899565696716, 0.26866981387138367, 0.5949487090110779, 0.22080190479755402, 0.7496771812438965, 0.39562779664993286, 0.44056782126426697, -0.28416451811790466, -0.4661356806755066, 0.08030833303928375, -0.19449447095394135, -0.2793136537075043, -0.3627887964248657, 0.12297684699296951, 0.439432293176651, 0.19160018861293793, -0.2371852993965149, 0.16091366112232208, -0.07896534353494644, 0.49952131509780884, -0.09427690505981445, 0.3296555280685425, -0.538661539554596, -0.09623584151268005, -0.3950372636318207, -0.3086181581020355, -0.394391268491745, -0.7280101180076599, -0.17134104669094086, -0.4998447299003601, 0.34272322058677673, -0.08077210932970047, 0.6028307676315308, 0.022133104503154755, -0.03944838419556618, -0.738430917263031, -0.5307115316390991, 0.572433590888977, -0.7614654898643494, 0.21828994154930115, 0.11669382452964783, 0.29238730669021606, -0.1392562836408615, -0.962806761264801, -0.626030683517456, -0.5644471645355225, 0.4531005322933197, 0.12262405455112457, -0.2283461093902588, 0.05210164189338684, 0.6433616280555725, 0.27998340129852295, -0.7791686058044434, 0.019687499850988388, -0.6163138151168823, -0.1773659735918045, 0.40625, 0.06883295625448227, 0.5206834673881531, -0.3527350425720215, 0.14962276816368103, 0.041395433247089386, -0.7379711866378784, -0.14175328612327576, 0.6684001088142395, -0.0037624426186084747, 0.043189290910959244, 0.5503943562507629, -0.21126654744148254, 0.6573630571365356, 0.06289734691381454, -0.24764396250247955, 0.3376333713531494, -0.6008107662200928, -0.0354163758456707, -0.2961643636226654, 0.741887629032135, 0.39865294098854065, 0.2191743105649948, -0.16638709604740143, -0.4809921979904175, 0.24842941761016846, 0.364650696516037, -0.8176132440567017, -0.5011098980903625, 0.03332686424255371, -0.4900693893432617, -0.28355225920677185, -0.0295953880995512, -0.44618600606918335, -0.08223676681518555, -0.13771870732307434, 0.21641908586025238, -0.40187668800354004, -0.2736763656139374, -0.05810124799609184, -0.29241809248924255, 0.2912319302558899, 0.20730967819690704, -0.8028947114944458, 0.10556896775960922, 0.6170384287834167, 0.913861095905304, -0.27369850873947144, -0.29327359795570374, -0.46580687165260315, -0.19749604165554047, -0.5549465417861938, 0.41108107566833496, -0.5400851368904114, -0.4681001305580139, -0.045554518699645996, -0.3575579822063446, 0.17819100618362427, -0.40852120518684387, 0.4316379725933075, -0.5859460830688477, 0.01539464108645916, -0.38450145721435547, -0.4984029531478882, 0.10850993543863297, 0.19434325397014618, -0.6597951650619507, 0.70231693983078, 0.5402733683586121, -0.6746137142181396, 0.24938428401947021, -0.8815444111824036, -0.15885713696479797, 0.3972747325897217, -0.42851224541664124, -0.18175505101680756, 0.11565226316452026, -0.042732737958431244, 0.45667511224746704, -0.47747373580932617, 0.20387890934944153, -0.030738526955246925, -0.4892413318157196, 0.3133731484413147, -0.17389611899852753, 0.5384199619293213, 0.3410528302192688, -0.6825324296951294, 0.11218173056840897, -0.552406907081604, 0.0727180764079094, 0.31972065567970276, -0.588961660861969, 0.11866626143455505, -0.3915829658508301, -0.2134391814470291, 0.31774741411209106, 0.22157754004001617, -0.5128107666969299, 0.5520966053009033, -0.10760173201560974, 0.5771644115447998, 0.7095162272453308, 0.20959265530109406, 0.21042250096797943, 0.10823360830545425, 0.983387291431427, -0.4976653754711151, 0.09289924055337906, -0.2766045033931732, -0.8017640113830566, -0.3105015754699707, 0.009782437235116959, 0.31108421087265015, 0.48869094252586365, -1.206612229347229, 0.006944033782929182, -0.024726057425141335, -0.35364603996276855, 0.016179339960217476, 0.22967316210269928, 0.6015118360519409, 0.30933165550231934, 0.04109548404812813, -0.30109813809394836, -0.4048227369785309, -0.816021203994751, -0.024080220609903336, -0.09207846224308014, -0.0810888335108757, 0.1613442748785019, 0.45852571725845337, -0.4103702902793884, 0.5758013725280762, -0.4067193865776062, 0.4574911594390869, -0.4888569116592407, 0.2407451570034027, 0.49933645129203796, 0.41617265343666077, 0.7078930735588074, -0.42522796988487244, -0.6370528340339661, 0.10255716741085052, -0.576870858669281, -0.23617881536483765, -0.0929521769285202, -0.07195784151554108, 0.424379825592041, 0.2554314136505127, -0.6039091348648071, 0.265946626663208, 0.7046370506286621, -0.2870226502418518, 0.9777767062187195, -0.29562652111053467, 0.4094115197658539, -0.7000693678855896, 0.2719724774360657, -0.2579791843891144, -0.10940423607826233, -0.42687276005744934, 0.25498563051223755, 0.21970348060131073, -0.4011376202106476, -0.05514727905392647, 0.15018954873085022, -0.5947446227073669, -0.33757126331329346, -0.10844817757606506, 0.059440623968839645, -0.3675265908241272, 0.3647461235523224, 0.023146135732531548, 1.1153355836868286, 0.6142366528511047, -0.377383828163147, 0.6711517572402954, -0.02882022224366665, -0.38508981466293335, 0.27920782566070557, -0.8851646780967712, 0.5175848007202148, 0.2502267062664032, 0.2290385514497757, -0.9479467272758484, -0.3587473928928375, -0.09712838381528854, -0.545744001865387, 0.4403567314147949, -0.057990867644548416, -0.513630747795105, -0.9007812738418579, -0.32006967067718506, 0.3250695466995239, 0.8579912185668945, -0.30000466108322144, -0.0898340716958046, 0.01505248062312603, -0.4951614737510681, -0.3693961799144745, -0.24371491372585297, 0.21990564465522766, -0.07006362825632095, -0.4807995557785034, -0.03832419216632843, -0.14785906672477722, -0.025545815005898476, -0.290431946516037, 0.0873418003320694, 0.2228257954120636, -0.1306907683610916, 0.07635345309972763, 0.3656107783317566, -0.10508586466312408, -0.23726913332939148, -0.33767613768577576, -0.23394903540611267, 0.09796342998743057, -0.4940347373485565, 0.6907774806022644, -0.25121527910232544, -0.4145081043243408, -0.16315039992332458, 0.3681556284427643, 0.3237856924533844, -0.13233770430088043, 0.2729373872280121, 0.37743860483169556, 0.03235333040356636, -0.18861651420593262, -0.4756287634372711, 0.013481072150170803, -0.48642510175704956, 0.47095629572868347, -0.6692442893981934, -0.6940195560455322, 0.43116480112075806, -0.028493080288171768, 0.18539442121982574, 0.339041143655777, 0.815026044845581, 0.4438129663467407, 1.1804897785186768, 0.5984145998954773, -0.028385164216160774, 0.3513681888580322, -0.2579519748687744, 0.3049048185348511, -0.3928704857826233, -0.11651340872049332, -0.7188200950622559, 0.04446917399764061, -0.6365805864334106, -0.5001106262207031, 0.379257470369339, 0.0269582811743021, -0.47916004061698914, 0.34176012873649597, -0.7797025442123413, 0.536641538143158, 0.6926952600479126, -0.2242458015680313, 0.10894755274057388, -0.10796499252319336, -0.20689573884010315, -0.03217260539531708, -0.723701000213623, -0.5283824801445007, 1.2210618257522583, 0.33224260807037354, 0.7843921780586243, 0.3459874987602234, 0.8407604694366455, 0.1919213980436325, 0.4728412628173828, -0.3086569905281067, 0.33223241567611694, 0.13149216771125793, -0.621543824672699, -0.19539405405521393, -0.6938357353210449, -0.7234044671058655, -0.23281554877758026, 0.19543787837028503, -0.6053540706634521, -0.2609383165836334, 0.20028221607208252, -0.4305170476436615, -0.07982560247182846, -0.9422934651374817, 0.938040554523468, -0.2524864673614502, -0.26036572456359863, -0.019550584256649017, -0.565876841545105, 0.5224471092224121, -0.41923826932907104, 0.0749179869890213, 0.24552227556705475, 0.045132748782634735, 0.7153681516647339, -0.2901226282119751, 0.4181154668331146, -0.32121434807777405, -0.21869927644729614, 0.40918204188346863, 0.2765960991382599, 0.5691759586334229, 0.10664671659469604, -0.21344558894634247, -0.008581061847507954, -0.2007783055305481, -0.35600191354751587, -0.49776148796081543, 0.8870304822921753, -0.8430261015892029, -0.3884541690349579, -0.33739903569221497, -0.28177547454833984, -0.15059328079223633, 0.30901041626930237, 0.5999354720115662, 0.71818608045578, -0.1536821871995926, -0.03192039951682091, 0.3035440444946289, -0.6844229102134705, 0.6688118577003479, 0.3167949318885803, -0.3553828299045563, -0.3350735902786255, 0.8186810612678528, -0.06962253153324127, 0.2939728796482086, 0.03996153920888901, -0.01296944823116064, -0.3587420582771301, -0.7147394418716431, -0.6385548710823059, 0.15331514179706573, -0.6981300711631775, -0.3848142623901367, -0.4942006468772888, -0.076356902718544, -0.46137693524360657, -0.4248899221420288, -0.2686615288257599, -0.31189221143722534, 0.26820099353790283, -0.1503296047449112, 0.13662084937095642, 1.3149256706237793, -0.04691873490810394, 0.1344573199748993, -0.8354925513267517, 0.2718314826488495, 0.30169838666915894, 0.31537729501724243, -0.1236264780163765, -0.10039801895618439, -0.1697348952293396, -0.24909137189388275, -0.4024372100830078, -1.0920722484588623, 0.2850683629512787, -0.22639013826847076, 0.5668606758117676, 0.16169527173042297, -0.33244964480400085, 0.3707205057144165, -0.7445963621139526, 1.272323489189148, 0.532589852809906, -1.1175658702850342, 0.4396539628505707, -0.7523018717765808, 0.4698205590248108, 0.29023027420043945, 0.23054827749729156, -0.30404946208000183, -0.32085418701171875, -0.7659640908241272, -0.5634251236915588, 0.7251086235046387, 0.5099827647209167, 0.09025046974420547, -0.24358457326889038, 0.47822314500808716, 0.12924909591674805, 0.3593392074108124, -0.8448590040206909, 0.11669235676527023, -0.4628303050994873, -0.004256062209606171, -0.031548745930194855, -0.11896821856498718, 0.23384501039981842, -0.06524752080440521, 0.45286503434181213, -0.16209839284420013, 0.6048820614814758, -0.07642451673746109, 0.17699426412582397, 0.08212999999523163, 0.16006819903850555, 0.678192675113678, 0.9454965591430664, 0.08587755262851715, -0.038400303572416306, -0.13773375749588013, -0.5076180100440979, 0.03059474565088749, 0.0031470097601413727, -0.11992810666561127, -0.060238245874643326, 0.44414427876472473, 0.517234206199646, -0.00729597732424736, -0.5756614804267883, 0.6726019382476807, -0.18258430063724518, -0.26302483677864075, -0.10703322291374207, 0.23240898549556732, 0.1995231658220291, 0.04593677073717117, 0.297277569770813, -0.011917110532522202, 0.45833471417427063, -0.654552161693573, 0.13038164377212524, 0.3269011378288269, 0.21323543787002563, -0.44567200541496277, 0.6316448450088501, 0.530450165271759, -0.19986023008823395, 0.7773276567459106, -0.7063804268836975, -0.7181478142738342, 0.5819258689880371, 0.8580706715583801, 0.7232872247695923, -0.4296134114265442, 0.2788999676704407, 0.6434274315834045, 0.24906791746616364, -0.18895858526229858, 0.47542014718055725, -0.008827544748783112, -0.3392272889614105, -0.7274391651153564, -0.5915403962135315, -0.3066151738166809, -0.07146814465522766, -0.2478654980659485, 0.1359325349330902, -0.4383552074432373, -0.2598452866077423, -0.09497729688882828, 0.1437501460313797, -0.7928465008735657, -0.18749414384365082, 0.21932601928710938, 0.8129003643989563, -0.5336172580718994, 0.7390486001968384, 0.7649603486061096, -0.5239624977111816, -1.3508403301239014, -0.15527915954589844, -0.002591688185930252, -0.4821969270706177, 0.7265691757202148, 0.09815729409456253, -0.07662054151296616, 0.0923052653670311, -0.6758200526237488, -0.8387490510940552, 0.858344316482544, 0.33420848846435547, -0.6136309504508972, -0.06933306902647018, -0.22344282269477844, 0.39128580689430237, -0.2738344073295593, 0.41671881079673767, 0.7311593890190125, 0.44197818636894226, 0.21783511340618134, -1.3155269622802734, -0.05867975577712059, -0.36023861169815063, 0.29192695021629333, 0.19078263640403748, -0.3727022409439087, 0.98065584897995, -0.40402987599372864, -0.13634470105171204, 0.4015410840511322, 0.353715181350708, 0.5310450792312622, 0.04086162894964218, 0.018987447023391724, 0.06690428406000137, 0.814125120639801, -0.16833727061748505, 1.3641818761825562, -0.43043282628059387, 0.3612726628780365, 0.6037122011184692, -0.4205607771873474, 0.4598255157470703, -0.049357302486896515, -0.39008569717407227, 0.45224088430404663, 0.4237010180950165, 0.027924194931983948, 0.4279567003250122, 0.3435654938220978, 0.07021487504243851, 0.1362873762845993, 0.6388112306594849, -0.5606610178947449, 0.2354295253753662, 0.12604352831840515, -0.17916829884052277, -0.0838557556271553, -0.042653780430555344, 0.2872216999530792, -0.22180449962615967, -0.2975118160247803, 0.6045145392417908, -0.07440637052059174, -1.0536623001098633, 0.6906068921089172, 0.28096804022789, 0.6311857104301453, -0.658087968826294, -0.24678678810596466, -0.23815856873989105, 0.2846909165382385, -0.18318429589271545, -0.6873109936714172, 0.06180039793252945, 0.3879719376564026, 0.037301067262887955, -0.08653172105550766, 0.5427767038345337, -0.12014839798212051, -0.29328039288520813, -0.1921282708644867, 0.4141339063644409, 0.32186004519462585, 0.00686710886657238, -0.7841286063194275, 0.2224188596010208, 0.35181599855422974, -0.39674854278564453, 0.1186678484082222, 0.5581069588661194, 0.012927110306918621, 0.4443291127681732, 0.7361310124397278, 0.0843193382024765, 0.1917121261358261, 0.11760424822568893, 0.7835760116577148, -0.6749956607818604, -0.8097684979438782, -0.7257856726646423, 0.219562366604805, -0.21936769783496857, -0.34538960456848145, 1.108070731163025, 0.5910459756851196, 0.47701311111450195, -0.4192162752151489, 1.001571536064148, -0.45208296179771423, 0.39228731393814087, -0.5184724926948547, 0.3142405152320862, 0.08069441467523575, 0.18899519741535187, -0.7675700187683105, -1.254317045211792, -0.1803017556667328, 0.6814571619033813, -0.2866523265838623, 0.4772176146507263, 0.8429636359214783, 0.6168925166130066, 0.11952466517686844, 0.02499239891767502, 0.3424125611782074, 0.1772764027118683, 0.6586612462997437, 0.7783534526824951, 0.9511164426803589, 0.025951271876692772, 0.39177823066711426, -0.03698192909359932, -0.6195585131645203, -0.06779251992702484, -0.8653059601783752, -0.79301518201828, -0.45251229405403137, -0.08977644890546799, -0.4578533470630646, -0.10524217784404755, 0.7073347568511963, 0.6134709119796753, -0.4729852080345154, -0.04541897773742676, -0.16864261031150818, -0.31237512826919556, -0.1116434782743454, -0.15182606875896454, 0.2964790463447571, -0.50703364610672, -0.6926884055137634, 0.3403717875480652, 0.21640217304229736, -0.18360726535320282, -0.37570276856422424, -0.5399312973022461, 0.3494039475917816, -0.0037116394378244877, 0.7105847597122192, 0.24693140387535095, -0.4388648569583893, -0.1620084047317505, 0.2554968595504761, -0.23578563332557678, -0.29056593775749207, 1.1654711961746216, -0.535015881061554, 0.2495785504579544, 0.5624397397041321, 0.4840501844882965, 0.37616345286369324, 0.26234522461891174, 0.7544159293174744, -0.5336575508117676, -0.040669072419404984, 0.14151212573051453, 0.3375564515590668, 0.3898776173591614, -0.4793260395526886, 0.7173099517822266, 0.1048261895775795, -1.0463560819625854, -0.5250253677368164, 0.17347441613674164, -0.7879192233085632, -0.2787249982357025, 1.4946813583374023, -0.12270539253950119, 0.10701214522123337, -0.1276458501815796, -0.5171656012535095, -0.08064117282629013, -0.5463462471961975, 0.4758559465408325, 0.6559411287307739, -0.4790216386318207, -0.028528479859232903, -0.9602305889129639, 0.732629120349884, -0.07294803857803345, -0.7776885032653809, -0.22186270356178284, 0.91634202003479, 0.4667142629623413, 0.38183167576789856, 1.040014386177063, -0.29391220211982727, 0.656732439994812, 0.31095001101493835, 0.3130747377872467, -0.11088128387928009, -0.19052942097187042, -0.14470471441745758, 0.2878847122192383, 0.45267802476882935, 0.14414101839065552 ]
http://arxiv.org/abs/2403.00553v1
http://arxiv.org/pdf/2403.00553v1
Standardizing the Measurement of Text Diversity: A Tool and a Comparative Analysis of Scores
2024-03-01T14:23:12
2024-03-01T14:23:12
Chantal Shaib, Joe Barrow, Jiuding Sun, Alexa F. Siu, Byron C. Wallace, Ani Nenkova
cs.CL
cs.CL
The diversity across outputs generated by large language models shapes the perception of their quality and utility. Prompt leaks, templated answer structure, and canned responses across different interactions are readily noticed by people, but there is no standard score to measure this aspect of model behavior. In this work we empirically investigate diversity scores on English texts. We find that computationally efficient compression algorithms capture information similar to what is measured by slow to compute $n$-gram overlap homogeneity scores. Further, a combination of measures -- compression ratios, self-repetition of long $n$-grams and Self-BLEU and BERTScore -- are sufficient to report, as they have low mutual correlation with each other. The applicability of scores extends beyond analysis of generative models; for example, we highlight applications on instruction-tuning datasets and human-produced texts. We release a diversity score package to facilitate research and invite consistency across reports.
[ -0.5663889050483704, -0.28724807500839233, 0.10143940895795822, 0.6120541095733643, -0.23281806707382202, 0.11879127472639084, -0.3245033621788025, -0.7096287608146667, 0.39903023838996887, 0.016392212361097336, 0.018475376069545746, -0.6200252175331116, -0.8320357799530029, 0.4149826467037201, -0.6374521255493164, 0.9650458097457886, 0.23085908591747284, -0.2010427564382553, -0.2751152217388153, -0.3965579569339752, -0.27431726455688477, -0.3081660270690918, -0.11969444900751114, -0.08932490646839142, 0.7888761162757874, 0.3530248701572418, 0.7663194537162781, 0.6089359521865845, 0.5926019549369812, 0.3206636905670166, -0.24369920790195465, 0.08092910796403885, -0.5739728808403015, 0.39669597148895264, -0.2542566657066345, -0.23526953160762787, -0.16757594048976898, 0.2894008457660675, 0.8463398814201355, 0.8281168937683105, 0.0312718003988266, 0.21583935618400574, 0.5828129649162292, 0.4972696602344513, -0.5404907464981079, -0.20666518807411194, -0.13064906001091003, -0.03329743817448616, -0.24999704957008362, -0.12361680716276169, -0.3578631579875946, -0.5734795928001404, -0.09485810995101929, -0.1918954849243164, 0.2695295214653015, -0.041686948388814926, 0.7956709861755371, -0.03521617874503136, -0.5116392970085144, -0.539356529712677, -0.6119040250778198, 1.2575109004974365, -0.37056031823158264, 0.3071407377719879, 0.07785993069410324, 0.2511596977710724, 0.1584850400686264, -0.280730664730072, -0.2890584170818329, -0.07306905835866928, -0.1690455675125122, 0.2308255434036255, -0.1696455180644989, -0.22038502991199493, -0.05963179096579552, 0.8883090019226074, -0.6979061961174011, 0.2567931115627289, -0.4885828197002411, -0.2003428190946579, 0.9285368919372559, 0.2316460758447647, 0.36701875925064087, -0.12097378820180893, -0.14934828877449036, -0.3542570173740387, -0.23673689365386963, 0.15348392724990845, 0.7741987705230713, 0.2038324773311615, -0.15712279081344604, 0.30100178718566895, -0.16666589677333832, 0.6695098876953125, -0.23484985530376434, -0.050201885402202606, 0.39261141419410706, -0.3901311159133911, -0.11269284784793854, -0.4513947665691376, 0.9570974707603455, 0.3835347890853882, 0.14972850680351257, -0.19590523838996887, -0.23546472191810608, -0.15500952303409576, 0.11762024462223053, -0.8400489091873169, -0.1933518350124359, -0.1302625685930252, -0.6323462128639221, -0.16779793798923492, 0.38675928115844727, -1.1023536920547485, -0.17131181061267853, -0.0441165566444397, 0.2752763032913208, -0.2651567757129669, -0.04714279621839523, 0.25286880135536194, -0.5599669218063354, 0.22183111310005188, 0.3193313479423523, -0.9625329971313477, 0.430737167596817, 0.4985028803348541, 0.8663390874862671, -0.5207314491271973, -0.4548960030078888, -0.10025923699140549, -0.401472806930542, -0.2922891080379486, 0.7002488374710083, -0.6326260566711426, -0.7908836603164673, -0.16700328886508942, -0.28652074933052063, 0.32896682620048523, -0.6409335732460022, 0.541250467300415, -0.13292352855205536, 0.5358682870864868, -0.3754352331161499, -0.686388373374939, -0.00410479074344039, 0.2893350124359131, -0.6563395261764526, 1.12711501121521, 0.2516326308250427, -0.6836527585983276, 0.5082677006721497, -0.2183084785938263, -0.339777410030365, 0.13199211657047272, -0.21801097691059113, -0.21566690504550934, 0.22295022010803223, -0.0015459543792530894, 0.18743698298931122, -0.3461383879184723, 0.0003490470699034631, -0.12746788561344147, -0.6362336277961731, 0.11348341405391693, -0.5203041434288025, 0.7272288799285889, 0.20658698678016663, 0.028501104563474655, -0.24820192158222198, -0.5013585090637207, 0.11572080105543137, -0.13966889679431915, -0.6570594310760498, -0.4378029704093933, -0.35623133182525635, 0.11831477284431458, -0.08789345622062683, 0.3651001453399658, -0.48953360319137573, 0.19712644815444946, -0.222298264503479, -0.14863891899585724, 0.5917326807975769, -0.23282504081726074, 0.3012934923171997, -0.6545064449310303, 0.5307389497756958, -0.18662816286087036, 0.15494713187217712, -0.36787036061286926, -0.8278219699859619, -0.4112849533557892, -0.45632317662239075, 0.6949604153633118, 0.249814972281456, 0.09591035544872284, 0.8257692456245422, -0.29548531770706177, -0.8728275299072266, -0.7045899033546448, 0.12322472035884857, 0.02356627583503723, -0.09111232310533524, 0.3593919575214386, -0.5851194262504578, -0.3642047941684723, -0.7603642344474792, -0.8579891324043274, -0.006729245651513338, -0.46625038981437683, 0.39830511808395386, 0.403454065322876, -0.07552438974380493, 1.0473952293395996, -0.347755491733551, 0.07424068450927734, -0.13771095871925354, 0.6652923226356506, 0.30912265181541443, 0.5577820539474487, 0.6678919792175293, -0.5586427450180054, -0.6636729836463928, -0.24451743066310883, -0.47163325548171997, -0.42529913783073425, 0.1038920059800148, 0.21933943033218384, -0.12996132671833038, 0.07448935508728027, -0.13549362123012543, 0.17049628496170044, 1.146406650543213, -0.501213788986206, 0.5973409414291382, -0.08308147639036179, 0.7595745921134949, -0.8565765619277954, -0.0960308238863945, -0.05357930064201355, -0.29601579904556274, -0.2913396656513214, 0.15752485394477844, 0.02897939831018448, 0.1828988939523697, -0.09475111216306686, 0.5205578207969666, -0.4075886607170105, -0.10713985562324524, -0.12220793962478638, -0.0014357103500515223, 0.4425889551639557, -0.0012530955718830228, -0.5309054255485535, 0.8296741843223572, 0.10487988591194153, -0.4392968714237213, 0.1384638249874115, -0.09209684282541275, -0.4487572908401489, 0.35642939805984497, -0.6280180811882019, 0.21754269301891327, -0.27146783471107483, -0.08439064025878906, -1.0589666366577148, -0.10488962382078171, -0.24479079246520996, -0.6617262363433838, 0.13786174356937408, 0.07387308776378632, -0.42057567834854126, 0.008142867125570774, -0.6222137808799744, 0.7466397285461426, 0.8659020066261292, -0.4608556032180786, 0.4239802062511444, 0.27156174182891846, -0.11093991994857788, -0.5094280242919922, -0.9640434980392456, 0.028204109519720078, -0.07893543690443039, -0.6372286677360535, 0.40636900067329407, -0.6010200381278992, -0.3358060419559479, -0.013786421157419682, -0.2542705535888672, -0.06068744882941246, 0.12979364395141602, 0.13194841146469116, 0.027222637087106705, -0.14168410003185272, 0.3103872835636139, 0.3032417893409729, 0.44551578164100647, -0.09807537496089935, -0.12062181532382965, 0.41772937774658203, 0.03612753003835678, -0.32172122597694397, 0.1592581868171692, 0.7649117708206177, 0.4335308372974396, 0.09102816134691238, 0.8063728213310242, 0.15427763760089874, -0.12164720892906189, -0.3185660243034363, -0.3820604085922241, -0.09308630228042603, -0.4772331416606903, 0.03747805953025818, -0.10517121851444244, -1.3651701211929321, 0.4670022428035736, 0.2408861219882965, 0.24726206064224243, 0.6127409934997559, 0.5312485098838806, -0.11259317398071289, 0.7928006649017334, 0.5874196887016296, -0.022598234936594963, 0.313676655292511, 0.36268070340156555, 0.26506441831588745, -0.16005630791187286, 0.0070091187953948975, -0.9124528765678406, -0.5513160824775696, -0.6942921876907349, -0.38955625891685486, 0.2659603953361511, 0.4023726284503937, 0.15317033231258392, -0.033839333802461624, -0.600433886051178, 1.0619844198226929, 0.244642972946167, -0.458773672580719, 0.3483806848526001, -0.13300086557865143, -0.05718686431646347, -0.23027829825878143, -0.36210644245147705, -0.5136133432388306, 0.9496076107025146, 0.4285060167312622, 0.6309895515441895, 0.2607749402523041, 1.1477185487747192, 0.5270667672157288, 0.4825822710990906, -0.5967657566070557, 0.37087419629096985, -0.7008708119392395, -0.396514892578125, -0.3790927827358246, -0.8692449927330017, -1.1289441585540771, 0.3251819610595703, -0.1456814557313919, -0.6876681447029114, 0.16204893589019775, -0.05656011402606964, -0.09671533107757568, -0.12523727118968964, -0.7213278412818909, 0.7785016894340515, 0.12619014084339142, -0.03734888136386871, -0.06386005878448486, -0.12485583871603012, 0.4580892324447632, 0.03950076550245285, 0.33928242325782776, -0.24766874313354492, 0.07745593786239624, 0.9766112565994263, 0.19114038348197937, 0.6942383646965027, 0.4271198511123657, -0.12104353308677673, 0.1684742569923401, 0.1600782424211502, -0.05372671037912369, -0.011279022321105003, -0.2405567318201065, 0.49007946252822876, -0.039012130349874496, -0.49701792001724243, -0.6644578576087952, 0.7928950786590576, -0.8415433168411255, -0.382975310087204, -0.3166005313396454, -0.6793619990348816, 0.06693368405103683, -0.002282419940456748, 0.48536205291748047, 0.23761962354183197, -0.40858423709869385, 0.352211058139801, 0.41913288831710815, -0.2952662706375122, 0.3971269726753235, 0.5577491521835327, -0.2402743697166443, -0.2685921788215637, 0.7748419046401978, 0.3527994155883789, 0.2762148976325989, 0.23046079277992249, 0.5093064308166504, -0.07394278049468994, -0.354458212852478, 0.069552943110466, -0.030196573585271835, -0.8460255861282349, -0.2170744389295578, -0.5023278594017029, -0.3004968762397766, -0.39124995470046997, -0.2222864031791687, -0.17690414190292358, -0.3881591260433197, -0.1223822757601738, -0.12047220021486282, 0.08953502029180527, 0.9824850559234619, -0.06665008515119553, -0.05447860807180405, -1.1265006065368652, 0.07035981118679047, 0.5948355197906494, 0.5321449041366577, -0.08017932623624802, -0.6546540260314941, -0.2461952269077301, -0.3419572412967682, -0.33469122648239136, -1.1216918230056763, 0.21439217031002045, 0.20149941742420197, 0.5372374653816223, 0.2583675682544708, -0.05257757008075714, 0.1676626354455948, -0.08114437758922577, 1.11470627784729, 0.11761746555566788, -1.1940854787826538, 0.30733200907707214, -0.08030620962381363, 0.6069822907447815, 0.5175054669380188, 0.5187118053436279, -0.8194764256477356, -0.9745839834213257, -0.45044416189193726, -0.7362897396087646, 0.258337140083313, 0.2711539566516876, 0.45447129011154175, -0.22834503650665283, 0.04780730977654457, 0.48458200693130493, 0.014375305734574795, -0.7021448016166687, -0.3166595995426178, -0.25300103425979614, -0.7094126343727112, -0.1890714019536972, -0.31921663880348206, -0.03446665033698082, -0.2270684689283371, 0.1272631734609604, -0.011524895206093788, -0.19220693409442902, 0.21252864599227905, -0.1525970697402954, 0.22166851162910461, 0.6605201959609985, 0.4229885935783386, 0.36222413182258606, -0.04564682021737099, 0.4000963568687439, -0.028314752504229546, -0.7017472982406616, 0.20846378803253174, -0.08752800524234772, -0.11804927885532379, 0.21978607773780823, 0.4608011245727539, 0.1882021576166153, 0.08359986543655396, -0.6755101084709167, 0.4887787997722626, -0.28997161984443665, -0.18522340059280396, 0.38087400794029236, 0.24234236776828766, -0.08191730082035065, 0.02896927297115326, 0.12912799417972565, -0.027846770361065865, 0.5125290751457214, -0.5904586315155029, 0.3066176176071167, 0.17556880414485931, -0.36392489075660706, -0.2688629627227783, 0.011659041047096252, 0.4346114993095398, -0.3731788098812103, 0.4198096990585327, -0.6023356318473816, -0.25291481614112854, 0.6416112780570984, 0.4603535830974579, 0.7027561664581299, -0.5622376203536987, 0.21587246656417847, 0.43465250730514526, 0.5727074146270752, -0.3360287547111511, 0.24930021166801453, 0.04203922674059868, -0.7814533114433289, -0.28247109055519104, -0.7809804677963257, -0.4332301914691925, -0.14370845258235931, -0.5944904685020447, 0.17666484415531158, -0.3272841274738312, 0.05065092816948891, -0.01904834248125553, -0.1268398016691208, -0.49118664860725403, 0.21501144766807556, 0.18042722344398499, 1.0230450630187988, -0.9706224203109741, 0.5858785510063171, 0.4204252362251282, -0.401235967874527, -0.6591383218765259, 0.19849681854248047, -0.08012280613183975, -0.3140212893486023, 0.5286591053009033, 0.4464431703090668, -0.05321845784783363, -0.3509238064289093, -0.3277412950992584, -0.5764079689979553, 0.6644930839538574, 0.29559287428855896, -0.671740710735321, 0.2703816294670105, 0.21722474694252014, 0.6549534797668457, -0.38344070315361023, 0.6330094337463379, 0.6932138800621033, 0.4333845376968384, -0.23717521131038666, -0.8211815357208252, -0.1657152771949768, -0.4463362991809845, -0.2418803870677948, 0.3668656051158905, -0.4679414629936218, 1.042418360710144, 0.2443106472492218, -0.4868520200252533, -0.03577391058206558, 0.4358728528022766, 0.057643771171569824, 0.188922718167305, 0.5850726962089539, 0.41729268431663513, 0.9512917995452881, -0.014405759051442146, 0.9808170795440674, -0.13648299872875214, 0.5767638087272644, 0.7945804595947266, 0.032825179398059845, 0.6307240724563599, 0.31211599707603455, -0.18256354331970215, 0.6142602562904358, 0.27343088388442993, -0.26381006836891174, 0.07601878046989441, 0.4377466142177582, -0.18985499441623688, -0.17121584713459015, 0.03150492534041405, -0.118449367582798, 0.4884757399559021, 0.08728540688753128, -0.4740065038204193, -0.3689247965812683, -0.1850399523973465, -0.2403143346309662, 0.41005739569664, -0.17089293897151947, 0.6546522378921509, 0.030266113579273224, -0.7254400849342346, 0.48624387383461, 0.09906591475009918, 1.0050171613693237, -0.45256462693214417, 0.07681487500667572, -0.559084951877594, -0.3684976100921631, -0.15905031561851501, -1.1957523822784424, 0.46433109045028687, 0.12426307052373886, -0.6356449723243713, -0.1825542002916336, 0.32490891218185425, -0.5831090807914734, -0.3582417368888855, 0.40501758456230164, 0.3846658170223236, 0.31347984075546265, 0.0917503833770752, -0.28575634956359863, 0.14489321410655975, -0.1522989124059677, -0.06523685902357101, 0.3957519233226776, 0.3131888508796692, 0.10713938623666763, 0.19675607979297638, 0.2835581302642822, -0.11046641319990158, 0.3236570656299591, 0.2790304720401764, 0.5696465969085693, -0.7040631175041199, -0.5799896717071533, -0.8674713373184204, 0.4163106381893158, -0.48042193055152893, -0.7805869579315186, 0.9084873199462891, 0.6191854476928711, 0.7191843390464783, 0.2006050944328308, 0.6687180399894714, 0.12988321483135223, 0.4764106571674347, -0.2829051613807678, 0.5520727634429932, -0.6239867210388184, 0.33241215348243713, -0.09423162043094635, -0.9381835460662842, -0.33743342757225037, 0.2417234480381012, -0.0696953535079956, 0.10621748864650726, 0.6262708902359009, 0.5997835397720337, -0.11440151184797287, 0.060322318226099014, 0.40516379475593567, -0.03334623575210571, 0.2718781530857086, 0.256631076335907, 0.89204341173172, -0.32710203528404236, 0.7506403923034668, 0.2603103518486023, -0.3847670257091522, -0.17007498443126678, -0.7495965957641602, -0.7271155118942261, -0.40124329924583435, -0.24352459609508514, -0.16282227635383606, -0.09720362722873688, 0.4936986267566681, 0.5673773288726807, -0.7359762191772461, -0.3635183274745941, 0.16295374929904938, 0.37967896461486816, -0.30959466099739075, -0.26471614837646484, -0.1687411218881607, -0.47805002331733704, -0.6407220959663391, 0.271563321352005, 0.4726714789867401, 0.1720518171787262, -0.4104788899421692, -0.24923646450042725, 0.3068655729293823, 0.6483336687088013, 0.20371073484420776, 0.13675551116466522, -0.4275893568992615, -0.3461724817752838, -0.0791286826133728, -0.4207363426685333, 0.29780885577201843, 0.9065722227096558, -0.39113640785217285, 0.4736490547657013, 0.9268419146537781, 0.5113261938095093, 0.028595618903636932, -0.07065892964601517, 0.6429231762886047, -1.2443997859954834, -0.02423732541501522, 0.4512844681739807, 0.2926582992076874, 0.47493815422058105, -0.21524657309055328, 0.1178714781999588, 0.05526508018374443, -0.6700189113616943, -0.6581515073776245, 0.4445117712020874, -0.8160645365715027, -0.5690137147903442, 0.8815673589706421, -0.37366676330566406, -0.042146824300289154, -0.06560913473367691, 0.09881100803613663, -0.23324723541736603, -0.44147831201553345, 1.088113784790039, 1.0144941806793213, 0.32787084579467773, -0.22897295653820038, -0.08927956968545914, 0.48791077733039856, 0.48896294832229614, -0.9043800830841064, -0.10153776407241821, 0.12372910231351852, 0.28727659583091736, 0.4411124587059021, 0.35602688789367676, -0.16827991604804993, 0.2516520619392395, 0.14128008484840393, 0.1828942447900772, 0.3407588303089142, -0.28559258580207825, -0.6049593091011047, 0.4610869288444519, 0.11865145713090897, -0.03814071789383888 ]
http://arxiv.org/abs/2403.00528v1
http://arxiv.org/pdf/2403.00528v1
Large Language Models for Simultaneous Named Entity Extraction and Spelling Correction
2024-03-01T13:36:04
2024-03-01T13:36:04
Edward Whittaker, Ikuo Kitagishi
cs.CL
cs.CL, cs.CV, H.3.3; H.3.4; I.2.7; I.7.1; I.7.5
Language Models (LMs) such as BERT, have been shown to perform well on the task of identifying Named Entities (NE) in text. A BERT LM is typically used as a classifier to classify individual tokens in the input text, or to classify spans of tokens, as belonging to one of a set of possible NE categories. In this paper, we hypothesise that decoder-only Large Language Models (LLMs) can also be used generatively to extract both the NE, as well as potentially recover the correct surface form of the NE, where any spelling errors that were present in the input text get automatically corrected. We fine-tune two BERT LMs as baselines, as well as eight open-source LLMs, on the task of producing NEs from text that was obtained by applying Optical Character Recognition (OCR) to images of Japanese shop receipts; in this work, we do not attempt to find or evaluate the location of NEs in the text. We show that the best fine-tuned LLM performs as well as, or slightly better than, the best fine-tuned BERT LM, although the differences are not significant. However, the best LLM is also shown to correct OCR errors in some cases, as initially hypothesised.
[ -0.1476082056760788, -0.7687215209007263, 0.7655772566795349, -0.031239548698067665, -0.29007238149642944, 0.04037146642804146, -0.7092568278312683, -0.9182921051979065, 0.31606826186180115, 0.9852693676948547, -0.31129443645477295, -0.640103280544281, -0.6318694353103638, 0.5748820304870605, -0.4980696141719818, 0.8317927122116089, -0.07343977689743042, 0.18885377049446106, 0.14514197409152985, 0.18253523111343384, -0.2102460116147995, -0.571167528629303, -0.9500725865364075, -0.12167038768529892, 0.7512680292129517, 0.19532667100429535, 0.5880651473999023, 0.5702963471412659, 0.3396744728088379, 0.3263057768344879, -0.13859090209007263, 0.5657838582992554, -0.2515973448753357, 0.2729489803314209, -0.12005751579999924, -0.640110433101654, -0.5838339328765869, -0.3510757386684418, 0.8511794209480286, 0.6366756558418274, 0.008558549918234348, -0.228772833943367, 0.07179461419582367, 0.4184257984161377, -0.5450725555419922, 0.18173179030418396, -0.8152178525924683, -0.17856815457344055, -0.3138091266155243, -0.02079574018716812, -0.8186283111572266, -0.28282296657562256, 0.10236172378063202, -0.5247060656547546, 0.37429842352867126, 0.08167123049497604, 1.0973198413848877, 0.11538680642843246, -0.18379096686840057, -0.5074544548988342, -0.8402187824249268, 0.8102522492408752, -0.9056702852249146, 0.4728231430053711, 0.09394550323486328, -0.008742105215787888, -0.4207616150379181, -0.5585358142852783, -0.6762885451316833, -0.11286324262619019, -0.07674873620271683, 0.03875388950109482, -0.020865583792328835, 0.3702516555786133, 0.5842736959457397, 0.2834179103374481, -0.1672370731830597, 0.621780276298523, -0.217792347073555, -0.26850762963294983, 0.5514182448387146, -0.12364348769187927, 0.7845233082771301, -0.2782764732837677, -0.3013002574443817, -0.07924474775791168, -0.8750715255737305, -0.335682213306427, 0.28197163343429565, 0.6707219481468201, 0.3975924253463745, 0.886466920375824, 0.16433610022068024, 0.5725421905517578, -0.19035567343235016, -0.5835818648338318, -0.03806629404425621, 0.11412140727043152, -0.3854632079601288, 0.40324071049690247, 0.6847681403160095, 0.11523952335119247, 0.2910977602005005, -0.44763559103012085, -0.5248206853866577, -0.23834864795207977, 0.030433742329478264, -0.5968500971794128, -0.3483293950557709, -0.007132998201996088, -0.4268607795238495, 0.057054851204156876, 0.046188272535800934, -0.7675349712371826, -0.4405505657196045, -0.4739550054073334, 0.549225389957428, -0.4575998783111572, -0.17308878898620605, 0.009906104765832424, -0.17797407507896423, 0.06216451898217201, 0.6288337707519531, -0.916707456111908, 0.058987438678741455, 0.6957533955574036, 0.6966145038604736, -0.07006194442510605, -0.12461642175912857, -0.5349091291427612, 0.19394932687282562, -0.4750540852546692, 0.9426444172859192, -0.35315343737602234, -0.16413363814353943, 0.04167298972606659, 0.140486940741539, -0.10770779103040695, -0.6716086268424988, 0.4657241106033325, -0.8661941289901733, 0.08145006000995636, -0.3569045960903168, -0.8448684811592102, -0.1182587519288063, 0.1229972243309021, -1.080274224281311, 0.8439616560935974, -0.1903124302625656, -0.5717608332633972, 0.49935615062713623, -0.38993364572525024, -0.5331583023071289, 0.245516836643219, 0.025492381304502487, -0.37099790573120117, 0.2662912607192993, 0.44372862577438354, 0.5497525334358215, -0.12708382308483124, 0.2956843078136444, -0.16068561375141144, -0.2460382878780365, 0.16090238094329834, -0.4960411489009857, 0.7055211067199707, -0.07137635350227356, -0.3600406348705292, -0.12962475419044495, -1.0322082042694092, 0.0344272255897522, 0.1995806097984314, -0.7650709748268127, -0.6987075805664062, 0.22853770852088928, 0.12402661889791489, -0.17404696345329285, 0.3111531734466553, -0.7658725380897522, 0.3686087727546692, -0.38566163182258606, 0.49906229972839355, 0.7009149193763733, -0.3030349314212799, 0.2557015120983124, -0.05658837780356407, 0.19059711694717407, -0.2012726068496704, -0.4564144015312195, -0.22088094055652618, -0.4289877414703369, -1.188380479812622, -0.7591467499732971, 0.7231488823890686, 0.49599167704582214, -1.0049482583999634, 0.5141797661781311, -0.4275256395339966, -0.3271293342113495, -0.4980298578739166, -0.05111828073859215, 0.27401673793792725, 0.37385210394859314, 0.20407548546791077, -0.20864801108837128, -0.5830729603767395, -0.825072705745697, -0.2968684732913971, -0.010299394838511944, -0.0407479926943779, 0.20467369258403778, 0.2170901745557785, -0.11488869786262512, 0.773392379283905, -0.2865174114704132, -0.385150283575058, -0.1618432253599167, 0.20735269784927368, 0.20872585475444794, 0.18917906284332275, 0.29600054025650024, -0.5789628624916077, -0.4269712567329407, -0.007966352626681328, -0.5751903653144836, -0.1322053223848343, -0.10779847949743271, 0.02434391714632511, 0.8000717163085938, 0.5877664685249329, -0.6383864879608154, 0.3150084316730499, 0.2966145873069763, 0.09815975278615952, 0.4913758635520935, -0.5485970973968506, 0.0553923174738884, -1.0203030109405518, 0.014697866514325142, 0.023412048816680908, -0.38745176792144775, -0.6145688891410828, 0.18018150329589844, 0.3687014579772949, 0.028692256659269333, -0.11748221516609192, 0.5530105233192444, -0.8826735615730286, -0.2922261655330658, -0.3190555274486542, 0.1877443790435791, 0.03663981705904007, 0.2959093153476715, 0.42294296622276306, 0.8476269841194153, 0.3632749021053314, -0.6987051963806152, 0.29507631063461304, 0.14677655696868896, -0.8293604254722595, 0.43811389803886414, -0.40717482566833496, 0.20368292927742004, -0.5133939385414124, 0.10007860511541367, -0.8625068068504333, -0.3495286703109741, 0.2335001528263092, -0.1382976472377777, 0.7160683274269104, -0.09815604239702225, -1.0730648040771484, -0.34078678488731384, 0.15219524502754211, -0.05145712196826935, 0.3879666328430176, -0.9760916829109192, 0.679796576499939, 0.35282719135284424, -0.3434200882911682, -0.3997191786766052, -0.783515453338623, 0.23319111764431, 0.06711596250534058, -0.2937227487564087, 0.41961047053337097, 0.062094803899526596, 0.13223688304424286, 0.09962792694568634, 0.09882136434316635, -0.12082947790622711, 0.11131948232650757, 0.0531163215637207, 0.5278285145759583, -0.3909034729003906, 0.3641442060470581, 0.0876355916261673, -0.0014561021234840155, -0.12194832414388657, -0.15805913507938385, 0.5028904676437378, 0.36507511138916016, -0.29562774300575256, -0.22195717692375183, 0.2645937204360962, 0.6390215158462524, -0.16893881559371948, 0.919693112373352, 0.38315412402153015, -0.734113872051239, -0.2736815810203552, -0.8393256664276123, 0.0481051504611969, -0.3904546797275543, 0.4485955536365509, -0.5742339491844177, -0.9634382724761963, 0.588410496711731, 0.04212401807308197, 0.20484107732772827, 0.6360523104667664, 0.35370713472366333, -0.10991412401199341, 1.0587122440338135, 0.6239293217658997, -0.07917583733797073, 0.3106979429721832, 0.05530577525496483, 0.754560112953186, -0.9415969848632812, -0.40472814440727234, -0.6454359292984009, -0.24134688079357147, -0.5413528680801392, -0.13613852858543396, 0.22307206690311432, 0.30990517139434814, 0.09835110604763031, 0.5169975757598877, -0.4296789765357971, 0.5656364560127258, 0.8496549129486084, 0.3228335678577423, 0.3932560384273529, 0.35792407393455505, -0.21280638873577118, -0.13601087033748627, -0.44224753975868225, -0.6752568483352661, 0.9218874573707581, 0.28617799282073975, 0.6142301559448242, 0.07923032343387604, 0.9919557571411133, -0.1499648094177246, 0.3099009692668915, -1.0131032466888428, 0.7364339232444763, -0.6895082592964172, -0.6922276616096497, -0.32655808329582214, -0.40389007329940796, -1.0794743299484253, 0.1617809385061264, -0.3323638439178467, -0.8727060556411743, 0.23363664746284485, -0.0017551531782373786, -0.4206286668777466, 0.7329327464103699, -0.5374691486358643, 0.5507296919822693, -0.49058374762535095, -0.0072476924397051334, -0.03667793050408363, -0.18427763879299164, 0.18607589602470398, -0.368039608001709, 0.11876659095287323, -0.25864771008491516, -0.08280976861715317, 0.6825000047683716, -0.43617817759513855, 0.6648995280265808, -0.038313835859298706, -0.5388703346252441, 0.07722865045070648, 0.0014287272933870554, 0.4955757260322571, -0.2898484766483307, -0.13387636840343475, 0.4388844072818756, -0.007654948625713587, -0.06132064759731293, -0.4792940616607666, 0.7600942850112915, -0.7772767543792725, -0.5442039966583252, -0.2645728588104248, -0.28169935941696167, 0.04226617142558098, 0.6411609053611755, 0.4030187427997589, 0.5410789847373962, 0.009030040353536606, 0.12721207737922668, 0.8079535961151123, -0.37760499119758606, 0.4145221412181854, 0.5848878622055054, -0.19492846727371216, -0.448392778635025, 0.8216040730476379, 0.3132733702659607, 0.0905933678150177, 0.6758605241775513, -0.061542533338069916, -0.2872248888015747, -0.5687304735183716, -0.5792208313941956, 0.35172760486602783, -0.8233753442764282, -0.28051498532295227, -0.7393980026245117, -0.36260077357292175, -0.3850511908531189, 0.13632960617542267, -0.3747142553329468, -0.13753394782543182, -0.6599818468093872, 0.25687193870544434, 0.14942359924316406, 0.7238577008247375, -0.014018368907272816, 0.11223961412906647, -1.0812617540359497, 0.40001845359802246, 0.3245629370212555, 0.3882193863391876, 0.12840454280376434, -0.2912728488445282, -0.0021461634896695614, 0.2366357147693634, 0.17372049391269684, -0.8064447045326233, 0.49178266525268555, 0.20986957848072052, 0.4814841151237488, 0.25704169273376465, -0.055627770721912384, 1.0256154537200928, -0.7127350568771362, 0.7625802755355835, 0.22856199741363525, -0.9339767694473267, 0.37140434980392456, -0.08977922052145004, -0.059192925691604614, 0.29323217272758484, 0.29580259323120117, -0.5286815762519836, -0.3196125030517578, -0.40955784916877747, -0.9130224585533142, 1.0429195165634155, -0.07132460176944733, 0.1410849243402481, -0.38961654901504517, 0.5107830762863159, 0.16332286596298218, 0.1274874210357666, -0.7180471420288086, -0.1504458785057068, 0.4912945032119751, -0.31760361790657043, -0.05655016750097275, -0.6092591881752014, 0.23989778757095337, 0.06716503202915192, 0.9620970487594604, 0.13870985805988312, 0.3319818079471588, 0.2909011244773865, -0.3634772300720215, -0.23380257189273834, 0.32255271077156067, 0.4248001277446747, 0.46848076581954956, -0.05930275470018387, 0.06885810196399689, 0.0024687645491212606, -0.19884152710437775, -0.10771306604146957, 0.1997688263654709, -0.3397309184074402, 0.2860356569290161, 0.3888568878173828, 0.8570342063903809, 0.5405400395393372, -0.8093381524085999, 0.23889368772506714, 0.021216019988059998, -0.10464204847812653, -0.41044560074806213, 0.015657683834433556, -0.03225551173090935, 0.29561346769332886, 0.3284080922603607, -0.07613776624202728, 0.11795585602521896, -0.5759245753288269, -0.0940462127327919, 0.5475894212722778, 0.315623939037323, -0.030206378549337387, 0.5447744727134705, 0.010276611894369125, -0.4513828456401825, 1.0031472444534302, -0.16582000255584717, -0.7288504242897034, 0.6905661225318909, 0.6804877519607544, 0.8004261255264282, -0.13035902380943298, 0.005989768076688051, 0.46939533948898315, 0.29532116651535034, -0.6258198022842407, 0.025666549801826477, 0.037820540368556976, -1.0117461681365967, -0.4977444112300873, -0.8123122453689575, -0.3891299366950989, 0.4679791033267975, -0.7694061398506165, 0.4883030354976654, -0.41572046279907227, -0.1260317713022232, 0.3979113698005676, -0.19140474498271942, -0.7140505313873291, 0.1406446397304535, 0.544987678527832, 0.6202023029327393, -0.48925331234931946, 0.8658743500709534, 0.8319945931434631, -0.2380848228931427, -1.0520365238189697, -0.043845195323228836, -0.3605235815048218, -0.9462739825248718, 0.7460024356842041, 0.3124467432498932, 0.06051678583025932, 0.17168501019477844, -0.4046477675437927, -1.1339346170425415, 0.754734456539154, 0.36904221773147583, -1.1631709337234497, -0.3500381112098694, 0.051418643444776535, 0.5501113533973694, 0.04082058370113373, 0.23701505362987518, 0.44327113032341003, 0.4178251028060913, 0.07701487839221954, -1.133032202720642, -0.21007850766181946, 0.048190273344516754, 0.30107831954956055, 0.5432119965553284, -0.2766772210597992, 0.7594355344772339, -0.15853935480117798, -0.5736619830131531, 0.5567796230316162, 0.49698957800865173, 0.22074009478092194, -0.04568004235625267, 0.541716992855072, 0.6875074505805969, 1.020786166191101, -0.16586746275424957, 0.7711398005485535, -0.15806232392787933, 0.3795229494571686, 1.0726760625839233, -0.41213467717170715, 1.1066614389419556, 0.2345232367515564, -0.17893747985363007, 0.5413996577262878, 0.5398299694061279, -0.23512253165245056, 0.44501781463623047, 0.11771978437900543, -0.06456360965967178, -0.3360368013381958, 0.2846778333187103, 0.017659008502960205, 0.46650373935699463, 0.4556005299091339, -0.6199425458908081, -0.2336530089378357, 0.2688726782798767, 0.061548445373773575, -0.10652031749486923, -0.530379593372345, 0.9330309629440308, 0.021554678678512573, -0.8289418816566467, 0.44228115677833557, 0.36621662974357605, 0.772739589214325, -0.27150458097457886, 0.0006602818029932678, -0.007538209669291973, 0.31984370946884155, -0.07073065638542175, -0.5944108963012695, 0.0021685229148715734, 0.19371218979358673, -0.4109474718570709, -0.05172235518693924, 0.9030184745788574, -0.7840409278869629, -0.6327616572380066, 0.2776339650154114, 0.06528855115175247, 0.39978736639022827, -0.10607759654521942, -0.3806148171424866, 0.1837877631187439, 0.0212660264223814, -0.09234672039747238, 0.12266602367162704, 0.4507630467414856, 0.1039247140288353, 0.39042311906814575, 0.5257614254951477, 0.3534615635871887, 0.23696449398994446, 0.22771352529525757, 0.3638930022716522, -0.58332359790802, -0.26442962884902954, -0.9149507284164429, 0.2864232659339905, -0.11818481236696243, 0.12129692733287811, 0.5795673131942749, 0.5179203748703003, 0.9572595357894897, -0.25106683373451233, 0.7214694619178772, 0.08190547674894333, 0.6048642992973328, -0.9124269485473633, 0.5619853734970093, -0.6916196346282959, 0.24001455307006836, -0.29805776476860046, -1.2912402153015137, -0.46093320846557617, 0.69073086977005, -0.13002394139766693, -0.1081935241818428, 0.6089549660682678, 0.7183045148849487, 0.12194594740867615, -0.0014414998004212976, 0.32365116477012634, 0.19905255734920502, 0.2763330340385437, 0.5764432549476624, 0.62315434217453, -0.4912101626396179, 0.3241825997829437, -0.216221883893013, -0.048865292221307755, -0.3566872477531433, -0.8423500657081604, -0.9439286589622498, -0.5364946722984314, -0.5257644653320312, -0.3174744248390198, 0.14997658133506775, 0.9374182820320129, 0.4966430068016052, -0.9152594804763794, 0.1550213247537613, -0.0397631973028183, 0.019101744517683983, 0.08954734355211258, -0.21571937203407288, 0.4651099443435669, -0.33322253823280334, -1.2822024822235107, 0.336910218000412, 0.3482106328010559, 0.10472793132066727, -0.025177162140607834, 0.28143471479415894, 0.15094660222530365, -0.01776679791510105, 0.6775455474853516, 0.14493632316589355, -1.1947948932647705, -0.4562632143497467, -0.03360280767083168, -0.2741945683956146, 0.04155317321419716, 0.5889163613319397, -0.5137201547622681, 0.661247968673706, 0.36122921109199524, 0.7428798079490662, 0.2630356550216675, -0.3501112759113312, 0.29886218905448914, -0.6016616821289062, -0.158138245344162, 0.13436129689216614, 0.6219937801361084, 0.40793725848197937, -0.5236676335334778, 0.056627899408340454, 0.07883764803409576, -0.5056644678115845, -0.8196828365325928, -0.045447878539562225, -0.8842971920967102, -0.3335857689380646, 1.259375810623169, -0.2323961704969406, -0.42231330275535583, 0.14399391412734985, -0.34962454438209534, 0.42946478724479675, -0.2568090856075287, 0.6908289790153503, 0.9507085680961609, 0.31464800238609314, -0.43079572916030884, -0.19376465678215027, 0.16910304129123688, 0.25439855456352234, -0.6682449579238892, -0.004496862180531025, 0.5831053256988525, 0.5487772226333618, 0.38164979219436646, 0.4687711000442505, -0.13313736021518707, 0.06589720398187637, -0.2795855402946472, 0.4464840888977051, 0.04400276020169258, -0.4344174563884735, -0.2402355819940567, 0.049223367124795914, 0.24984212219715118, -0.08125382661819458 ]
http://arxiv.org/abs/2403.00510v3
http://arxiv.org/pdf/2403.00510v3
ROME: Memorization Insights from Text, Logits and Representation
2024-03-01T13:15:30
2024-06-16T13:53:44
Bo Li, Qinghua Zhao, Lijie Wen
cs.CL
cs.CL, cs.AI
Previous works have evaluated memorization by comparing model outputs with training corpora, examining how factors such as data duplication, model size, and prompt length influence memorization. However, analyzing these extensive training corpora is highly time-consuming. To address this challenge, this paper proposes an innovative approach named ROME that bypasses direct processing of the training data. Specifically, we select datasets categorized into three distinct types -- context-independent, conventional, and factual -- and redefine memorization as the ability to produce correct answers under these conditions. Our analysis then focuses on disparities between memorized and non-memorized samples by examining the logits and representations of generated texts. Experimental findings reveal that longer words are less likely to be memorized, higher confidence correlates with greater memorization, and representations of the same concepts are more similar across different contexts. Our code and data will be publicly available when the paper is accepted.
[ -0.2580205202102661, -0.7767999768257141, 0.6993392705917358, 0.0980224758386612, -0.18291707336902618, 0.15606383979320526, -0.5046382546424866, -0.35917142033576965, 0.12463779002428055, 0.12303738296031952, -0.19522428512573242, -0.5262912511825562, -0.5112764835357666, 0.1633239984512329, -0.5140944719314575, 1.2137778997421265, -0.17714746296405792, 0.2628917396068573, -0.5205496549606323, -0.4093209505081177, -0.3289891183376312, -0.6565488576889038, -0.5907495617866516, -0.2657805383205414, 0.7345009446144104, 0.37942296266555786, 0.16278593242168427, 0.9540508389472961, 0.5994703769683838, 0.25894251465797424, -0.20763292908668518, 0.0856727585196495, -0.7038903832435608, -0.26885974407196045, -0.05045023187994957, -0.45702579617500305, -0.2615135610103607, 0.03145451098680496, 1.0247379541397095, 0.6082432270050049, -0.012917444109916687, 0.3751552402973175, -0.08554672449827194, 0.8739054203033447, -0.7758508324623108, 0.15009012818336487, -0.7538588643074036, 0.09703906625509262, -0.09682855010032654, -0.48365527391433716, -0.7478406429290771, -0.29682019352912903, -0.045557498931884766, -0.8136065602302551, 0.7082732319831848, -0.07060949504375458, 0.6366913914680481, 0.17989614605903625, -0.2232043296098709, -0.7155218124389648, -0.9397876262664795, 0.5392984747886658, -0.14437180757522583, 0.38310062885284424, 0.33381596207618713, 0.05788189172744751, 0.2312908172607422, -0.8348217606544495, -0.5499811172485352, -0.10240243375301361, -0.3980042636394501, 0.17047318816184998, 0.20528383553028107, -0.09988721460103989, 0.6232433319091797, 0.4256225824356079, -0.4494502544403076, -0.30386605858802795, -0.672153890132904, -0.07897695153951645, 0.5319359302520752, 0.014360838569700718, 0.3008488118648529, 0.18033793568611145, -0.4566570520401001, -0.28941723704338074, -0.6693013906478882, -0.18644914031028748, 0.07910532504320145, -0.04415560141205788, 0.1934015154838562, 0.5279170870780945, 0.16055557131767273, 0.3881624937057495, -0.07988700270652771, -0.15128999948501587, 0.2548913359642029, -0.038312267512083054, -0.36877161264419556, 0.15965598821640015, 0.5165387988090515, 0.09378475695848465, 0.23182319104671478, -0.5591751933097839, -0.07540368288755417, -0.09432051330804825, 0.19909128546714783, -0.8919091820716858, -0.02836865372955799, -0.06644582003355026, -0.24316370487213135, 0.2543855905532837, 0.2913559675216675, -0.6624346971511841, -0.3429504334926605, -0.294567734003067, 0.24685142934322357, -0.7055796384811401, 0.07477254420518875, -0.0828140377998352, -0.288214772939682, -0.15437224507331848, 0.29736897349357605, -1.0727579593658447, 0.5274578928947449, 0.6208858489990234, 0.9226622581481934, -0.16049057245254517, -0.352008193731308, -0.7227216362953186, 0.43958011269569397, -0.5731343030929565, 0.5449044704437256, -0.473135381937027, -0.48417288064956665, 0.008819750510156155, -0.10465367138385773, -0.5198133587837219, -0.6076152920722961, 0.41879802942276, -0.610815703868866, 0.11100766062736511, -0.3826373219490051, -0.9519595503807068, -0.2535177767276764, 0.3155524730682373, -1.1183878183364868, 1.0886574983596802, 0.03155288100242615, -1.0895315408706665, 0.3735361695289612, -0.5473265647888184, -0.29912614822387695, -0.016420722007751465, -0.43806228041648865, -0.3751903176307678, 0.4092218577861786, -0.07802479714155197, 0.27357444167137146, -0.027584107592701912, 0.16173698008060455, -0.07383152097463608, -0.7754507660865784, 0.4106268286705017, -0.34742313623428345, 0.3644725978374481, 0.1318097561597824, -0.4751150608062744, -0.19938355684280396, -0.8284164071083069, -0.020555870607495308, -0.06187138333916664, -0.4087978005409241, -0.5852799415588379, 0.13247954845428467, -0.11230380088090897, -0.12308286130428314, 0.3673078715801239, -0.5089496970176697, 0.1428653746843338, 0.04068602994084358, 0.31195569038391113, 0.4162410497665405, -0.15658800303936005, 0.5860674381256104, -0.33760929107666016, 0.07529501616954803, 0.07389276474714279, -0.19363181293010712, -0.1969386488199234, 0.002146116690710187, -0.8830334544181824, -0.2554643452167511, 0.3960154354572296, 0.5158625245094299, -0.4939834475517273, -0.2528228461742401, -0.6667467355728149, -0.30963948369026184, -0.18516035377979279, 0.37113285064697266, 0.5634915232658386, 0.2985978424549103, 0.406156450510025, -0.255542129278183, -0.4850885570049286, -0.8525772094726562, -0.18709859251976013, -0.48541855812072754, 0.08354663848876953, 0.11220681667327881, 0.8670613765716553, -0.1411042958498001, 0.8080549240112305, -0.6780511736869812, -0.208809956908226, -0.07154583930969238, 0.4578794836997986, -0.21473367512226105, 0.42855313420295715, 0.32458195090293884, -1.0307209491729736, -0.31194546818733215, -0.013963484205305576, -0.6929870843887329, 0.5463957786560059, -0.3878783881664276, 0.1032806783914566, 0.32235610485076904, 0.9664787650108337, -0.3868924379348755, 0.6010544896125793, 0.14877822995185852, -0.1892600804567337, 0.2827037572860718, -0.5248537659645081, 0.08074673265218735, -0.8328295350074768, 0.47248411178588867, -0.42323094606399536, -0.08402740210294724, -0.5108267068862915, -0.060401614755392075, 0.27572503685951233, 0.08329169452190399, -0.21334075927734375, 0.4488891363143921, -0.6369974613189697, -0.17902857065200806, 0.11878728121519089, 0.10341601818799973, 0.06945110857486725, 0.48058611154556274, 0.39659467339515686, 1.217718482017517, -0.16916830837726593, -0.6431009769439697, -0.08761215955018997, 0.24426452815532684, -0.4210178554058075, 0.15989620983600616, -0.5158673524856567, 0.3213750720024109, -0.2935977578163147, -0.02377188950777054, -0.8322156667709351, -0.11454526335000992, -0.18412615358829498, -0.4675060510635376, 0.26031938195228577, 0.008138570934534073, -0.6829730272293091, -0.10417454689741135, -0.09601467847824097, 0.4416610598564148, 0.2620900273323059, -0.40387728810310364, 0.33890578150749207, 0.11008894443511963, 0.027622750028967857, -0.6145022511482239, -0.6813745498657227, -0.17297258973121643, -0.45653796195983887, -0.20112772285938263, 0.41892993450164795, -0.5456789135932922, -0.5836362242698669, -0.10832323879003525, -0.18315336108207703, -0.5072506666183472, 0.07852263003587723, 0.282100647687912, 0.19916747510433197, -0.017032288014888763, 0.6084467768669128, -0.3248310983181, 0.18133924901485443, 0.031662631779909134, -0.16225187480449677, 0.4496932923793793, -0.3074684143066406, -0.08799464255571365, -0.11156145483255386, 0.4831435978412628, 0.7014789581298828, -0.24770981073379517, 0.9216485023498535, 0.6307764053344727, -0.4092215895652771, -0.21539925038814545, -0.46257293224334717, -0.05063892900943756, -0.41197842359542847, 0.2742105722427368, -0.29346203804016113, -0.8001863956451416, 0.3865683078765869, 0.06497077643871307, 0.24930770695209503, 0.04057658836245537, 0.3119053542613983, -0.07820587605237961, 0.5217786431312561, 0.8604793548583984, 0.11780573427677155, 0.5993006825447083, -0.42659303545951843, 0.03154533728957176, -0.6964859366416931, -0.41518208384513855, -0.3509677052497864, -0.07033912092447281, -0.4735473096370697, -0.5733336210250854, 0.10754100233316422, 0.12880609929561615, -0.16527003049850464, 0.2158520668745041, -0.21753792464733124, 0.6146400570869446, 0.5200238823890686, 0.047524888068437576, 0.4139478802680969, 0.26874735951423645, -0.1586010456085205, -0.05955314636230469, -0.5570651292800903, -0.706325113773346, 1.0063667297363281, 0.24454469978809357, 0.2089463621377945, -0.11889704316854477, 0.9591363668441772, 0.3512745797634125, 0.5860596895217896, -0.7957864999771118, 0.6062958240509033, -0.19439978897571564, -0.9884423017501831, -0.2797858417034149, -0.6638955473899841, -0.6019879579544067, 0.055839475244283676, -0.08394874632358551, -0.5993785858154297, -0.07200533151626587, 0.006587435491383076, -0.39837005734443665, 0.4398725628852844, -0.8617685437202454, 0.6857612133026123, -0.02301366627216339, -0.5547890067100525, -0.1412322074174881, -0.4030405879020691, 0.14975285530090332, -0.057116053998470306, 0.3456425666809082, 0.02692699246108532, 0.08164072781801224, 0.929635226726532, -0.07954682409763336, 0.5267590284347534, 0.12479577213525772, 0.01672854833304882, 0.5353555083274841, 0.02453944832086563, 0.12914057075977325, 0.43546584248542786, -0.0427120216190815, -0.25173360109329224, 0.007424965035170317, -0.33407092094421387, -0.7952349781990051, 0.5652132034301758, -0.6353452205657959, -0.4160432517528534, -0.5965273380279541, -0.588010311126709, -0.18495436012744904, 0.1512063592672348, 0.49534180760383606, 0.548725962638855, -0.7993615865707397, 0.015135785564780235, 1.0767446756362915, 0.11372262239456177, 0.6470224857330322, 0.5028271079063416, 0.1117706224322319, -0.6052520275115967, 0.9222564697265625, 0.3604956269264221, 0.19237971305847168, 0.674008846282959, -0.4059445261955261, -0.15607325732707977, -0.5402742028236389, -0.3294849097728729, 0.38693767786026, -0.7700643539428711, 0.25020352005958557, -0.3247016966342926, -0.07707846909761429, -0.18952108919620514, -0.03280043229460716, -0.3637731373310089, -0.4936104118824005, -0.4813844561576843, -0.3234008252620697, 0.12469043582677841, 0.9586403965950012, -0.05096639320254326, 0.33064237236976624, -0.6367990970611572, 0.3653842508792877, 0.3851889967918396, 0.499101847410202, -0.19352269172668457, -0.056196991354227066, -0.5717422962188721, -0.051781389862298965, -0.0848538726568222, -0.8018941879272461, 0.1638413965702057, 0.26486140489578247, 0.15704628825187683, 0.5306223630905151, -0.07892371714115143, 0.9018341898918152, -0.7818853855133057, 0.4904082119464874, 0.2388787716627121, -1.0011597871780396, 0.20564164221286774, -0.11380241066217422, 0.003976383712142706, 1.0669333934783936, 0.348309189081192, -0.5340386629104614, -0.15277257561683655, -0.76866614818573, -0.687743604183197, 0.5025980472564697, 0.4554494023323059, 0.027790438383817673, -0.25912418961524963, 0.5426810383796692, -0.021996021270751953, 0.20657946169376373, -0.6071924567222595, -0.18300028145313263, -0.029205886647105217, -0.1457156091928482, -0.44171252846717834, -0.3433191180229187, -0.396791934967041, -0.32583165168762207, 0.4766560196876526, 0.02770095132291317, 0.47811320424079895, 0.5391215085983276, -0.5679495334625244, 0.33200883865356445, 0.47605088353157043, 0.8408591151237488, 0.9119674563407898, -0.2717028856277466, 0.30359867215156555, 0.5200971364974976, -0.8505457043647766, 0.12036155164241791, -0.11993557959794998, -0.25376787781715393, 0.4608730673789978, 0.546509861946106, 0.6627323031425476, 0.07818607985973358, -0.7384958267211914, 0.2907162606716156, -0.4453764259815216, -0.13071759045124054, -0.9741798043251038, 0.028144147247076035, 0.12076587975025177, -0.06061313673853874, 0.3424992263317108, -0.06663722544908524, 0.07449754327535629, -0.7076355814933777, 0.27861979603767395, -0.06267329305410385, -0.6019247770309448, -0.3189179599285126, 0.5106611251831055, -0.06367503851652145, -0.08535762876272202, 0.7666128873825073, -0.17264212667942047, -0.21607659757137299, 0.6874053478240967, 0.46200665831565857, 0.5910363793373108, 0.07730544358491898, 0.4278471767902374, 0.6838088035583496, 0.23707078397274017, -0.31571292877197266, 0.027921875938773155, -0.09870940446853638, -0.46025192737579346, -0.15371082723140717, -0.3556143045425415, -0.1818581521511078, 0.2262263298034668, -1.0906623601913452, 0.13419412076473236, -0.7829226851463318, -0.22536396980285645, -0.11121860146522522, 0.24344660341739655, -0.5402811765670776, 0.46944859623908997, 0.24518845975399017, 1.089082956314087, -0.7352083921432495, 0.8418921232223511, 0.808424711227417, -0.4839896559715271, -0.6569001078605652, 0.10872988402843475, -0.3102280795574188, -0.4024868905544281, 0.7269420623779297, 0.4853743016719818, -0.12736566364765167, -0.09096087515354156, -0.5097101926803589, -0.45851168036460876, 1.2771782875061035, 0.46972545981407166, -0.7138531804084778, -0.2768618166446686, 0.18598809838294983, 0.6004799008369446, -0.3482888340950012, 0.36186230182647705, 0.8267478346824646, 0.25656405091285706, 0.10055248439311981, -0.5738546252250671, -0.22888398170471191, -0.5252625346183777, -0.031222427263855934, 0.09117653220891953, -0.6615989208221436, 0.8166491985321045, -0.29033178091049194, -0.6663522720336914, 0.19738581776618958, 0.7451776266098022, 0.16765634715557098, 0.6829841136932373, 0.364736944437027, 0.6484128832817078, 1.0989516973495483, -0.1040194183588028, 0.8018206357955933, -0.18443527817726135, 0.3266622722148895, 1.3465383052825928, -0.04928547516465187, 0.8671874403953552, 0.7002156376838684, 0.18333066999912262, 0.7837011814117432, 0.4737812578678131, 0.09845283627510071, 0.37171560525894165, 0.28809642791748047, -0.5666406154632568, -0.12261734157800674, 0.09901580959558487, -0.39177942276000977, 0.26406002044677734, 0.4440484046936035, -0.4992207884788513, 0.04896780475974083, -0.15931855142116547, 0.35371214151382446, 0.39837250113487244, -0.20295865833759308, 0.9415610432624817, -0.022028816863894463, -0.8589819669723511, 0.7986093759536743, -0.18813471496105194, 0.1585555523633957, -0.6151344180107117, -0.030247872695326805, -0.38419094681739807, 0.39422109723091125, -0.04017604887485504, -0.37041333317756653, 0.38647595047950745, 0.19035357236862183, -0.4535672068595886, -0.2548981308937073, 0.14871840178966522, -0.5328337550163269, -0.4416830837726593, 0.4194019138813019, 0.23082982003688812, 0.19233518838882446, 0.11514152586460114, -0.2105380892753601, 0.1261376291513443, -0.12425483763217926, 0.04287487268447876, -0.061474189162254333, 0.5704650282859802, -0.06970669329166412, 0.5425561666488647, 0.2217346876859665, 0.02239220030605793, 0.2222200483083725, -0.16655930876731873, 0.7563791275024414, -0.7712326049804688, -0.32363176345825195, -1.0040919780731201, 0.3019035756587982, -0.3215387165546417, -0.49571287631988525, 0.7154262661933899, 0.9849705100059509, 0.9408599138259888, -0.14786900579929352, 0.7799757719039917, -0.07463794946670532, 0.36674419045448303, -0.6106064915657043, 0.6322717666625977, -0.43653929233551025, 0.2135339081287384, -0.30373263359069824, -0.6773480176925659, -0.1865851730108261, 0.6319478750228882, -0.3912215828895569, -0.3819112181663513, 1.1337050199508667, 0.4649132192134857, -0.09345020353794098, 0.1326712965965271, 0.12518823146820068, -0.05027259886264801, 0.1010865792632103, 0.7557860612869263, 0.7681602835655212, -0.4380156993865967, 0.7900948524475098, 0.013819990679621696, -0.09684494882822037, -0.03646498918533325, -0.5999979376792908, -1.248844027519226, -0.9006597995758057, -0.1689121276140213, -0.2215801328420639, 0.2210836261510849, 0.5294080972671509, 0.452288955450058, -0.6700618863105774, -0.39357972145080566, -0.26454654335975647, 0.2196902334690094, -0.15377624332904816, -0.09634819626808167, 0.4645790159702301, -0.4220448434352875, -0.7938644289970398, 0.13666310906410217, -0.11054935306310654, 0.2570457458496094, 0.06947556883096695, -0.10248622298240662, 0.06840096414089203, 0.10374397039413452, 0.4378522038459778, 0.3715716302394867, -0.2303793579339981, -0.1087317019701004, 0.18567682802677155, -0.23454558849334717, 0.2826562821865082, 1.3083624839782715, -0.6488520503044128, 0.3771280348300934, 0.62689608335495, 0.3717363178730011, 0.7881990671157837, -0.010881971567869186, 0.5463753938674927, -0.7496628761291504, 0.33821284770965576, 0.20766867697238922, 0.3644355237483978, 0.47799935936927795, -0.2645264267921448, 0.5636743903160095, 0.2577992081642151, -0.18750104308128357, -0.675999104976654, 0.23960404098033905, -0.6464866995811462, -0.4870636463165283, 1.1400736570358276, -0.5021149516105652, -0.35966989398002625, 0.08160305768251419, -0.09322074800729752, 0.4860368072986603, -0.13558177649974823, 0.9482143521308899, 1.0867116451263428, 0.24444593489170074, 0.10763968527317047, -0.5883165001869202, 0.6162860989570618, 0.48660025000572205, -0.6698766946792603, 0.2732778489589691, 0.5650323033332825, 0.4417365789413452, 0.6663015484809875, 0.809686541557312, -0.26138967275619507, 0.2800018787384033, -0.05948110297322273, -0.08927460014820099, -0.12204079329967499, -0.8187673687934875, -0.19494125247001648, 0.28628385066986084, -0.04392233118414879, -0.12352045625448227 ]
http://arxiv.org/abs/2403.00509v1
http://arxiv.org/pdf/2403.00509v1
Surveying the Dead Minds: Historical-Psychological Text Analysis with Contextualized Construct Representation (CCR) for Classical Chinese
2024-03-01T13:14:45
2024-03-01T13:14:45
Yuqi Chen, Sixuan Li, Ying Li, Mohammad Atari
cs.CL
cs.CL, cs.AI, cs.CY
In this work, we develop a pipeline for historical-psychological text analysis in classical Chinese. Humans have produced texts in various languages for thousands of years; however, most of the computational literature is focused on contemporary languages and corpora. The emerging field of historical psychology relies on computational techniques to extract aspects of psychology from historical corpora using new methods developed in natural language processing (NLP). The present pipeline, called Contextualized Construct Representations (CCR), combines expert knowledge in psychometrics (i.e., psychological surveys) with text representations generated via transformer-based language models to measure psychological constructs such as traditionalism, norm strength, and collectivism in classical Chinese corpora. Considering the scarcity of available data, we propose an indirect supervised contrastive learning approach and build the first Chinese historical psychology corpus (C-HI-PSY) to fine-tune pre-trained models. We evaluate the pipeline to demonstrate its superior performance compared with other approaches. The CCR method outperforms word-embedding-based approaches across all of our tasks and exceeds prompting with GPT-4 in most tasks. Finally, we benchmark the pipeline against objective, external data to further verify its validity.
[ -0.4535284638404846, -0.5472368001937866, 0.6100677251815796, -0.028847282752394676, -0.25763532519340515, 0.026755575090646744, -0.600377082824707, -0.20614026486873627, 0.1108202263712883, 0.3422556519508362, -0.5972201228141785, -0.511001467704773, -0.3830920159816742, 0.040367670357227325, 0.05697131156921387, 1.022512674331665, 0.07469434291124344, 0.307733416557312, -0.11310828477144241, 0.021381497383117676, -0.11117829382419586, -0.9131693243980408, -0.7621026635169983, -0.3063758909702301, 0.3093933165073395, -0.10985901951789856, 0.5454308986663818, 0.3129684031009674, 0.43260958790779114, 0.20324374735355377, 0.03480806201696396, 0.11004679650068283, -0.5785731673240662, 0.023984801024198532, -0.04779906943440437, -0.23937039077281952, -0.19713562726974487, 0.057562731206417084, 0.4453412890434265, 0.8184170126914978, 0.07651779055595398, 0.07901490479707718, 0.12560127675533295, 0.5315402746200562, -0.8633158206939697, 0.16934695839881897, -0.4581022262573242, 0.3548831045627594, -0.07574615627527237, -0.5582900047302246, -0.6135923266410828, -0.3422943353652954, 0.2696406841278076, -0.47510600090026855, 0.5470356941223145, -0.33331963419914246, 0.5025350451469421, 0.20764757692813873, -0.4364010989665985, -0.2277926355600357, -0.587285041809082, 1.0576597452163696, -0.6870436668395996, 0.2863222658634186, 0.38949859142303467, 0.18122510612010956, -0.08649023622274399, -0.8220692276954651, -0.40837815403938293, -0.3724033832550049, -0.33176520466804504, 0.4189310073852539, -0.0339086540043354, -0.1042427271604538, 0.26047536730766296, 0.45820215344429016, -0.6321805119514465, -0.15277709066867828, -0.5323655009269714, -0.47503039240837097, 0.7021647691726685, 0.40516749024391174, 0.5210497975349426, -0.19108733534812927, -0.05505604296922684, -0.17693763971328735, -0.3887673020362854, -0.06584249436855316, 0.10365187376737595, 0.272972971200943, -0.2013344168663025, 0.26673078536987305, -0.14754880964756012, 0.6511656641960144, 0.29420313239097595, -0.15416733920574188, 0.0029424934182316065, -0.28642791509628296, -0.06657696515321732, 0.05155257508158684, 0.9044610261917114, 0.4820719361305237, 0.20294921100139618, -0.2809872627258301, 0.16200444102287292, 0.2152535766363144, 0.30996471643447876, -0.6777924299240112, -0.6238856911659241, 0.13263332843780518, -0.5063713192939758, 0.05120271444320679, -0.19395741820335388, -0.5885336399078369, -0.5199736952781677, -0.4277186393737793, -0.2736508548259735, -0.693701446056366, -0.33765530586242676, -0.26092293858528137, -0.20127739012241364, 0.4090323746204376, 0.2790064513683319, -0.9286683201789856, 0.1378321647644043, 0.5046466588973999, 0.9564459323883057, -0.37425312399864197, -0.1327063888311386, -0.39549118280410767, 0.1251365840435028, -0.4629446268081665, 0.6577193140983582, -0.31355926394462585, -0.27087005972862244, 0.3109472692012787, 0.08994641155004501, 0.11492713540792465, -0.2966538965702057, 0.7055164575576782, -0.38351207971572876, 0.639153778553009, -0.41996264457702637, -0.1888243407011032, -0.09095937013626099, 0.40677306056022644, -0.6831318140029907, 1.0029748678207397, 0.02720334567129612, -1.005630373954773, 0.19854027032852173, -0.11756632477045059, -0.2721901535987854, 0.1288597285747528, -0.5169857740402222, -0.14308764040470123, -0.08510634303092957, 0.3011113703250885, 0.62897127866745, -0.014038953930139542, 0.2423483282327652, -0.2793424725532532, -0.7350484728813171, 0.1105341762304306, -0.21861635148525238, 1.1822277307510376, 0.330584853887558, -0.26799726486206055, -0.15909700095653534, -0.7851149439811707, -0.10191331058740616, -0.17956650257110596, -0.09267918020486832, -0.7574687004089355, 0.25451934337615967, 0.3837500810623169, 0.1646386682987213, 0.3611049950122833, -0.438298761844635, -0.15547463297843933, -0.5511583685874939, 0.2507033944129944, 0.5124835968017578, 0.03952573612332344, 0.32263001799583435, -0.09628534317016602, 0.3255309760570526, -0.03615303710103035, -0.3461070656776428, -0.19613860547542572, -0.04721999913454056, -0.5228807926177979, -0.08467872440814972, -0.2642061710357666, 0.4359126091003418, -0.8502327799797058, 0.5546532273292542, -0.23962898552417755, -0.6370387673377991, -0.11423639953136444, -0.19361017644405365, 0.1540917307138443, 0.49265918135643005, 0.43631380796432495, -0.40427863597869873, -0.720308244228363, -0.7289412021636963, -0.08527305722236633, -0.4876663386821747, -0.5051553249359131, -0.10380246490240097, 0.31130924820899963, -0.015171337872743607, 0.8407425880432129, -0.6144514083862305, -0.25475406646728516, -0.006179155316203833, 0.36264023184776306, 0.1302887499332428, 0.49025553464889526, 0.4595443904399872, -0.7695624828338623, -0.22653652727603912, 0.18149890005588531, -1.0038055181503296, 0.09385029971599579, -0.21668992936611176, -0.24929210543632507, 0.09107021242380142, 0.4798707664012909, -0.22378748655319214, 0.12127876281738281, 0.37451913952827454, -0.12287088483572006, 0.7014926075935364, -0.050453998148441315, 0.19524379074573517, -1.0677582025527954, 0.3346671164035797, 0.15921640396118164, 0.16267015039920807, -0.6268849968910217, 0.18481037020683289, 0.17266800999641418, -0.22342534363269806, -0.4503882825374603, 0.25398343801498413, -0.6880468726158142, 0.36845892667770386, -0.2882693409919739, 0.329811692237854, -0.6019158363342285, 0.7570344805717468, 0.6610122919082642, 0.5061143040657043, 0.2232026606798172, -0.5702823996543884, 0.3663267493247986, 0.11541890352964401, 0.1098770722746849, 0.8328166007995605, -0.2239912450313568, 0.20199309289455414, -0.2606099843978882, 0.3070417642593384, -1.0523093938827515, -0.16495883464813232, 0.29420003294944763, -0.6033080816268921, -0.005053516943007708, 0.17069528996944427, -0.2646576166152954, -0.30182212591171265, -0.38691312074661255, 0.4391268193721771, 0.43641379475593567, -0.30647727847099304, 0.6264747381210327, 0.1979752629995346, -0.09034979343414307, -0.6342095732688904, -0.8728407621383667, 0.1428554505109787, -0.2878594696521759, -0.2855367362499237, 0.29698827862739563, -0.2408057451248169, -0.22515182197093964, -0.08692248910665512, -0.008253071457147598, -0.36306944489479065, -0.16957038640975952, 0.02610304392874241, 0.47382137179374695, -0.3685683012008667, -0.057893022894859314, 0.01147264614701271, -0.07644908130168915, 0.43539682030677795, -0.023346159607172012, 0.40539026260375977, 0.045668501406908035, -0.2472534477710724, -0.30652645230293274, 0.10488922148942947, 0.3806804418563843, -0.19596250355243683, 0.6260231733322144, 0.7220370173454285, -0.6193816661834717, 0.016836456954479218, -0.6620447039604187, -0.06149115785956383, -0.37700656056404114, 0.38571301102638245, -0.12134553492069244, -0.8723970055580139, 0.3647352457046509, -0.02234620600938797, 0.10474815964698792, 0.2861943244934082, 0.7134354114532471, 0.08809355646371841, 0.8075523376464844, 0.7263985872268677, -0.4151098132133484, 0.5164284706115723, -0.054967302829027176, 0.0891612246632576, -0.6597926020622253, 0.09364946186542511, -0.23410531878471375, -0.06378868222236633, -0.678351879119873, -0.15438833832740784, 0.4248572587966919, -0.2811416983604431, -0.49864593148231506, 0.14133165776729584, -0.6635436415672302, 0.13588346540927887, 0.2456900030374527, 0.4204830825328827, 0.5642332434654236, -0.0642731562256813, 0.13082285225391388, -0.5318884253501892, -0.13107196986675262, -0.7101656794548035, 0.9517825841903687, 0.09942178428173065, 0.39258894324302673, -0.2353285849094391, 0.544874906539917, 0.3133413791656494, 0.6429310441017151, -0.7877423763275146, 0.3622696101665497, -0.12162160128355026, -0.4936174154281616, -0.19042378664016724, -0.14054682850837708, -0.6733461618423462, 0.4824472665786743, -0.005566334817558527, -0.7600788474082947, 0.24831634759902954, -0.03377648815512657, -0.4470447599887848, 0.2896353304386139, -0.2690280079841614, 0.7118382453918457, -0.16440905630588531, -0.41666680574417114, -0.1251375824213028, -0.7900795936584473, 0.7995606064796448, -0.03749258443713188, 0.050246186554431915, 0.353346586227417, 0.0007531481678597629, 0.7599989771842957, -0.17317628860473633, 0.8097829222679138, -0.12217983603477478, -0.22359232604503632, 0.08732406049966812, 0.10892567783594131, 0.29402846097946167, -0.138501837849617, -0.2550275921821594, -0.13538667559623718, 0.4751370847225189, -0.5753099322319031, -0.4752027988433838, 0.6355316638946533, -0.7059869766235352, -0.3519156277179718, -0.6492968797683716, -0.4554668962955475, -0.27009183168411255, 0.1572645604610443, 0.4463326036930084, 0.23078513145446777, -0.7801810503005981, 0.22802725434303284, 0.48188281059265137, -0.2325528860092163, 0.3860676884651184, 0.5325287580490112, 0.17323580384254456, -0.3753798305988312, 0.5849602222442627, -0.009018435142934322, -0.03372591733932495, 0.5260502099990845, -0.2131519764661789, 0.014726382680237293, -0.4467076063156128, -0.20277178287506104, 0.2960180342197418, -0.5392113924026489, 0.24097879230976105, -0.4657589793205261, -0.19680120050907135, -0.298218309879303, -0.24519367516040802, -0.3718779385089874, 0.2801801562309265, -0.41403281688690186, -0.17918312549591064, -0.05395328998565674, 0.2965168356895447, -0.2015860676765442, 0.23787884414196014, -0.36527636647224426, 0.3006638288497925, -0.04746934399008751, 0.025618450716137886, 0.2770451009273529, -0.14666947722434998, -0.5675420761108398, 0.043196480721235275, -0.4661829173564911, -1.0440213680267334, 0.565847635269165, -0.32590505480766296, 0.3731299936771393, 0.6482558846473694, 0.4006493091583252, 0.7690567970275879, -0.3846028745174408, 1.1163647174835205, 0.16692465543746948, -0.7167915105819702, 0.4264133870601654, -0.4761248528957367, 0.1172567754983902, 0.6234703063964844, 0.684207558631897, -0.9292863607406616, -0.5924697518348694, -0.3880235552787781, -0.6587474942207336, 0.5647863149642944, -0.023968879133462906, 0.18588455021381378, -0.21189658343791962, 0.28347283601760864, 0.03130358085036278, -0.13367481529712677, -0.8370592594146729, -0.4598158001899719, -0.31794649362564087, -0.2674049139022827, -0.22719372808933258, 0.1319379210472107, -0.030983151867985725, -0.17264632880687714, 0.32152026891708374, -0.32551929354667664, 0.21070526540279388, 0.4478706419467926, -0.10220803320407867, -0.18924137949943542, 0.26510459184646606, 0.04321043938398361, 0.8645212054252625, -0.4100114405155182, 0.36074915528297424, 0.3584637939929962, -0.5797320008277893, 0.0964137613773346, 0.291734904050827, -0.24701309204101562, 0.0792405903339386, 0.4864749312400818, 0.4251137673854828, 0.1897037774324417, -0.8415747880935669, 0.40173229575157166, -0.05964231118559837, 0.07402747124433517, -0.9621523022651672, -0.22577814757823944, 0.06420230120420456, 0.1337563395500183, 0.8267483711242676, -0.2470884919166565, 0.35209545493125916, -0.6720619201660156, 0.08707787841558456, 0.4268186092376709, -0.6778174042701721, -0.39043161273002625, 0.7225378155708313, -0.1591881364583969, 0.09016639739274979, 0.7284929156303406, -0.05635116621851921, -0.4219112992286682, 0.26212799549102783, 0.4007769823074341, 0.845214307308197, 0.026285896077752113, 0.331453800201416, 0.7758476734161377, 0.2592581510543823, -0.2172856330871582, -0.17952170968055725, -0.34361809492111206, -0.6859521865844727, -0.44545450806617737, -0.31781476736068726, -0.5707259178161621, 0.41369566321372986, -0.9241734147071838, 0.22142742574214935, -0.3141460418701172, -0.01758301444351673, -0.5354077219963074, 0.2846987247467041, -0.6500115990638733, 0.5232399106025696, 0.43239203095436096, 0.5288435220718384, -0.9401739835739136, 0.5886380672454834, 0.6777687072753906, -0.7596216201782227, -0.3986310064792633, 0.23160624504089355, 0.010775390081107616, -0.4572429656982422, 0.6926261782646179, -0.07032589614391327, -0.07566789537668228, -0.020660994574427605, -0.7688384056091309, -0.6624639630317688, 1.0806447267532349, 0.28412073850631714, -0.3223569691181183, -0.22149211168289185, -0.28438594937324524, 1.0716580152511597, -0.06029195338487625, 0.5190578103065491, 0.5601956844329834, 0.37871044874191284, -0.32633280754089355, -0.4637400805950165, 0.43856409192085266, -0.4111146926879883, -0.10388138145208359, -0.07891515642404556, -0.6178173422813416, 0.6892448663711548, 0.07909539341926575, -0.8367767333984375, 0.5058586597442627, 1.1571828126907349, 0.66370689868927, 0.5124636888504028, 0.18237930536270142, 0.26560723781585693, 0.7337223291397095, -0.06466124206781387, 0.9685507416725159, -0.35727018117904663, 0.1765432506799698, 0.8826947212219238, -0.0768035501241684, 0.9232094883918762, 0.5797173976898193, -0.43254461884498596, 0.807878315448761, 0.8217858076095581, -0.03743889927864075, 0.49792346358299255, 0.30181142687797546, -0.3019920289516449, -0.07687073945999146, -0.1250855028629303, -0.5410070419311523, -0.017030607908964157, 0.1314258873462677, -0.3397237956523895, -0.13403713703155518, -0.09631279110908508, 0.07533501088619232, 0.4452002942562103, -0.18584337830543518, 0.4732982814311981, 0.1635919064283371, -0.698552668094635, 0.6383432745933533, -0.14845731854438782, 1.0236666202545166, -0.6722671389579773, 0.11536192148923874, -0.43725818395614624, 0.16899718344211578, -0.1334131360054016, -0.390970379114151, 0.22880394756793976, -0.13144329190254211, 0.017303258180618286, -0.012391511350870132, 0.550599217414856, -0.4944588840007782, -0.4443321228027344, 0.29512882232666016, 0.7075194716453552, 0.27639296650886536, -0.18014000356197357, -0.27282920479774475, -0.18196509778499603, -0.14277943968772888, -0.16588009893894196, 0.30107754468917847, 0.6091086268424988, -0.0979963168501854, 0.37662601470947266, 0.547058641910553, 0.3660210967063904, -0.354780912399292, -0.039091385900974274, 0.6905283331871033, -1.1712433099746704, -0.6514625549316406, -0.8975800275802612, 0.35235363245010376, 0.010211914777755737, -0.278872013092041, 0.7801611423492432, 0.5668440461158752, 0.9733973741531372, -0.25078997015953064, 0.9838210344314575, 0.00480229826644063, 0.4274768531322479, -0.2514055073261261, 0.8635610342025757, -0.3585211932659149, -0.17321713268756866, -0.6463457942008972, -0.5996752977371216, -0.432016521692276, 0.49440252780914307, -0.47452372312545776, -0.19251815974712372, 0.9554794430732727, 0.6468135118484497, -0.022506415843963623, 0.08532174676656723, 0.18472544848918915, 0.06152219697833061, 0.12424789369106293, 0.9191611409187317, 1.1726707220077515, -0.4217693507671356, 0.5210451483726501, -0.29201367497444153, -0.2877208888530731, 0.29589971899986267, -0.8339142203330994, -0.9165424704551697, -0.7993163466453552, -0.23969803750514984, -0.11381694674491882, 0.13833744823932648, 0.7848870754241943, 0.37871330976486206, -0.8735766410827637, -0.550755500793457, 0.20953895151615143, -0.10124392807483673, -0.541705310344696, -0.30218273401260376, 0.7556877136230469, -0.3422060012817383, -0.8849602937698364, 0.1611042469739914, 0.04829871281981468, -0.3127938210964203, -0.5827868580818176, -0.13955837488174438, 0.07451064884662628, -0.37268659472465515, 0.6666045784950256, 0.33181673288345337, -0.8669965267181396, -0.15059517323970795, -0.057095322757959366, -0.2471376657485962, 0.01624007523059845, 1.1424955129623413, -0.8998076319694519, 0.37129199504852295, 0.6223904490470886, 0.6979442238807678, 0.5058339834213257, 0.0482780858874321, 0.8099634647369385, -0.4920366406440735, 0.053484249860048294, 0.19820044934749603, 0.399488627910614, 0.6386820673942566, -0.49297192692756653, 0.6597163081169128, 0.4462341070175171, -0.24744108319282532, -0.7560320496559143, -0.23038449883460999, -1.1375609636306763, -0.5039755702018738, 0.7616721987724304, 0.0411095917224884, -0.06624040752649307, -0.3294501006603241, -0.487396240234375, 0.6671259999275208, -0.2921549081802368, 0.9811291098594666, 0.9201173782348633, -0.2813395857810974, -0.3614380359649658, -0.38967016339302063, 0.4590364098548889, 0.27677783370018005, -0.5474408268928528, 0.05245188623666763, 0.8950815200805664, 0.052851833403110504, 0.3827749788761139, 1.0206172466278076, -0.2258167266845703, 0.30326902866363525, -0.11425574868917465, 0.1795235276222229, 0.26637202501296997, 0.40348267555236816, -0.053085267543792725, 0.5578795671463013, -0.28039005398750305, 0.11468638479709625 ]
http://arxiv.org/abs/2403.00506v1
http://arxiv.org/pdf/2403.00506v1
PoTeC: A German Naturalistic Eye-tracking-while-reading Corpus
2024-03-01T13:07:39
2024-03-01T13:07:39
Deborah N. Jakobi, Thomas Kern, David R. Reich, Patrick Haller, Lena A. Jäger
cs.CL
cs.CL
The Potsdam Textbook Corpus (PoTeC) is a naturalistic eye-tracking-while-reading corpus containing data from 75 participants reading 12 scientific texts. PoTeC is the first naturalistic eye-tracking-while-reading corpus that contains eye-movements from domain-experts as well as novices in a within-participant manipulation: It is based on a 2x2x2 fully-crossed factorial design which includes the participants' level of study and the participants' discipline of study as between-subject factors and the text domain as a within-subject factor. The participants' reading comprehension was assessed by a series of text comprehension questions and their domain knowledge was tested by text-independent background questions for each of the texts. The materials are annotated for a variety of linguistic features at different levels. We envision PoTeC to be used for a wide range of studies including but not limited to analyses of expert and non-expert reading strategies. The corpus and all the accompanying data at all stages of the preprocessing pipeline and all code used to preprocess the data are made available via GitHub: https://github.com/DiLi-Lab/PoTeC.
[ -0.6389634609222412, -0.8027167916297913, 0.4898105561733246, 0.05437780171632767, -0.4682367146015167, 0.24381287395954132, -0.4172249138355255, -0.4132295846939087, 0.12644001841545105, 0.45854711532592773, -0.3751278221607208, -0.9304253458976746, -0.34569212794303894, 0.5144326686859131, -0.4212690591812134, 0.6897910237312317, 0.1108592227101326, 0.32269397377967834, 0.14463408291339874, 0.13659144937992096, -0.25994816422462463, -0.13479451835155487, -0.2412198930978775, 0.0859333947300911, 0.6928151845932007, 1.0328559875488281, 0.4003642201423645, 0.4834708571434021, 0.7266840934753418, 0.21374733746051788, 0.2325110286474228, 0.0852012187242508, -0.24631847441196442, -0.19299760460853577, 0.005619855597615242, -0.6852453351020813, -0.5078625679016113, 0.10253466665744781, 0.9272732734680176, 0.9071815013885498, -0.019116466864943504, 0.2400779277086258, 0.23221220076084137, 0.616021454334259, -0.8089203834533691, 0.09857762604951859, -0.05757630988955498, 0.010546086356043816, -0.6376438140869141, -0.5471464991569519, -0.9016531705856323, -0.08718959242105484, 0.3789953291416168, -1.0068777799606323, 0.5360488891601562, 0.2340778261423111, 0.8923236727714539, 0.16455039381980896, -0.3808395266532898, -0.19340035319328308, -0.4029390811920166, 0.6820113062858582, -0.38511213660240173, 0.4060557186603546, 0.7209541201591492, 0.20409159362316132, 0.05894121900200844, -0.898425817489624, -0.8068552613258362, -0.15693804621696472, -0.15940608084201813, 0.44226109981536865, 0.14436425268650055, -0.11700445413589478, 0.00047003067447803915, 0.1424006223678589, -0.6903311014175415, -0.016220111399888992, -0.5718502998352051, 0.0038887911941856146, 0.47535809874534607, -0.20304320752620697, 0.2895646095275879, -0.19059966504573822, -0.3561966121196747, -0.21093687415122986, -0.23020058870315552, -0.027231888845562935, 0.3804938495159149, 0.20253008604049683, -0.14017558097839355, 0.5515384674072266, -0.20979131758213043, 0.7286015152931213, 0.09204873442649841, 0.08554394543170929, 0.26480403542518616, -0.2900281548500061, -0.15198606252670288, 0.06699958443641663, 0.7963451147079468, 0.3861328363418579, 0.4551474153995514, -0.3000998795032501, 0.28458696603775024, 0.17894260585308075, 0.5777838230133057, -0.45053353905677795, -0.49498802423477173, 0.33323705196380615, -0.1629500687122345, -0.40155360102653503, 0.37231355905532837, -1.293182373046875, 0.04070892930030823, -0.4923936128616333, 0.0982377678155899, -0.7014050483703613, 0.04902101308107376, 0.09772580862045288, 0.03892171010375023, 0.37728744745254517, 0.3774769902229309, -1.100230097770691, 0.4717598259449005, 0.528952419757843, 0.98554527759552, -0.45640861988067627, -0.5711789727210999, -0.4782789945602417, 0.08130201697349548, -0.6043297648429871, 1.2553328275680542, -0.5049520134925842, -0.48634061217308044, 0.0015504820039495826, 0.42324358224868774, -0.0975404754281044, -0.01857050694525242, 0.5321778059005737, -0.5779110789299011, 0.4723965525627136, -0.3972572684288025, -0.7428381443023682, -0.2445184886455536, -0.09959778189659119, -0.7666277885437012, 1.1218875646591187, 0.07342514395713806, -0.9676592350006104, 0.7881492376327515, -0.8459024429321289, -0.35201212763786316, 0.678342878818512, 0.013029670342803001, -0.2852804362773895, -0.41070860624313354, 0.10868226736783981, 0.13838663697242737, 0.05653694272041321, 0.009235991165041924, -0.15768936276435852, -0.33488625288009644, 0.2711960971355438, -0.11418795585632324, 1.0323725938796997, 0.1861194521188736, -0.4838505983352661, 0.3215710520744324, -0.6193028092384338, -0.06381571292877197, -0.32500800490379333, 0.164223313331604, -0.4058503806591034, 0.04898035153746605, 0.16697359085083008, -0.17810989916324615, 0.13573400676250458, -0.7660146355628967, 0.4386773407459259, -0.01167505607008934, 0.2900257706642151, 0.6110474467277527, 0.06146731600165367, 0.48777395486831665, 0.1472676396369934, 0.25800246000289917, -0.3965928554534912, 0.48093512654304504, 0.03966345638036728, -0.3831084966659546, -0.6751205921173096, -0.6818175315856934, 0.6609025597572327, 0.8112207055091858, -0.8110494017601013, 0.21371933817863464, -0.04229632765054703, -0.5022153258323669, -0.4512724280357361, 0.08679141849279404, 0.13320735096931458, 0.560380756855011, 0.2780457139015198, -0.32364895939826965, -0.2089834064245224, -0.7693468928337097, 0.3594532907009125, -0.23925304412841797, -0.4197358191013336, 0.2643401622772217, 0.7582830190658569, -0.26176270842552185, 0.6527223587036133, -0.6000500917434692, -0.4935886859893799, -0.11223088204860687, 0.3549655079841614, -0.3204864263534546, 0.3280346393585205, 0.5368900299072266, -0.828862190246582, -0.6859999895095825, 0.1775500327348709, -0.9070689082145691, -0.520082950592041, -0.09440063685178757, -0.731056272983551, 0.25810813903808594, 0.6937282681465149, -0.4621759057044983, 0.39240559935569763, 0.4236536920070648, -0.7156766057014465, 0.6853295564651489, -0.315300852060318, 0.5024734735488892, -0.9507977962493896, 0.6113384366035461, 0.05850940942764282, -0.2047484815120697, -0.5956847667694092, 0.1948937624692917, 0.3656793236732483, 0.31730636954307556, -0.5870873332023621, 0.3747181296348572, -0.42702516913414, 0.05129917711019516, -0.1956799328327179, 0.27489274740219116, -0.03401188552379608, 0.33469143509864807, 0.3050554692745209, 1.048168420791626, 0.818401038646698, -0.7033898234367371, 0.0776483342051506, 0.5899656414985657, -0.3802567720413208, 0.7896940112113953, -0.5009515285491943, 0.08181672543287277, 0.12823344767093658, -0.07627526670694351, -0.7831252217292786, -0.6924018263816833, 0.2375606745481491, -0.5223546028137207, 0.35979539155960083, 0.42218267917633057, -0.5997971296310425, -0.30441197752952576, -0.4730439782142639, 0.3062610626220703, 0.10818963497877121, -0.3003169000148773, 0.5625536441802979, 0.5264195203781128, -0.17697466909885406, -0.6276945471763611, -0.5906150937080383, 0.26279962062835693, -0.21636399626731873, -0.299345999956131, 0.3831537961959839, -0.056013405323028564, -0.3309611678123474, -0.04619218409061432, 0.14441858232021332, -0.17615382373332977, -0.21391750872135162, -0.03240359574556351, 0.7550461888313293, 0.09169986844062805, 0.06916215270757675, -0.11089007556438446, -0.101939357817173, -0.037376951426267624, -0.03287649527192116, 0.34049755334854126, -0.29578179121017456, 0.19090794026851654, -0.6361167430877686, 0.3781968355178833, 0.4185248613357544, -0.024299347773194313, 0.4972597658634186, 0.5651737451553345, -0.1572025567293167, -0.27485352754592896, -0.36263415217399597, -0.39630797505378723, -0.447594553232193, -0.08473262190818787, -0.38035449385643005, -0.6012555956840515, 0.43313342332839966, 0.12155164033174515, 0.20213404297828674, 0.34585902094841003, 0.7138047218322754, -0.6430325508117676, 0.47449299693107605, 0.9422308802604675, 0.21992702782154083, 0.6057764291763306, -0.2536372244358063, -0.12653996050357819, -0.8697677850723267, -0.295797735452652, -0.3381054401397705, -0.12580926716327667, -0.5418188571929932, -0.41214215755462646, 0.13681147992610931, -0.12997101247310638, 0.0780944675207138, 0.6101654767990112, -0.563827633857727, 0.4482010006904602, 0.9435582160949707, 0.35779669880867004, 0.5383598804473877, -0.10524359345436096, -0.2074013203382492, -0.019409947097301483, -0.6989100575447083, -0.9051903486251831, 1.554734706878662, -0.010011068545281887, 0.31591230630874634, -0.19663752615451813, 0.3615543842315674, 0.7520003914833069, 0.651125967502594, -0.8532501459121704, 0.7249248623847961, 0.05680355057120323, -0.9016814231872559, -0.5410616993904114, -0.131327286362648, -1.2135448455810547, 0.17240041494369507, -0.1313522756099701, -0.9638556838035583, 0.4125449061393738, 0.02251802198588848, -0.2721903622150421, 0.19320005178451538, -0.7884963154792786, 1.2565478086471558, -0.09738650918006897, -0.5011744499206543, -0.1894204467535019, -1.043770670890808, 0.2433953732252121, -0.38190945982933044, 0.0032673447858542204, 0.2584315240383148, -0.437221497297287, 0.7101130485534668, -0.3725852370262146, 0.8589907288551331, 0.2996235489845276, 0.15047982335090637, 0.7430638074874878, 0.06502263247966766, -0.017802074551582336, 0.15167467296123505, 0.23842254281044006, 0.5611458420753479, 0.35804614424705505, -0.7343565821647644, -0.07055070251226425, 0.39898577332496643, -0.6962561011314392, -0.14490240812301636, -0.9710502028465271, -0.3829929828643799, -0.04205068200826645, 0.5745862126350403, 0.4445151090621948, 0.10354022681713104, -0.34987735748291016, 0.40363237261772156, 0.42450881004333496, 0.11902255564928055, 0.45776623487472534, 0.9521444439888, -0.03774185851216316, -0.41901618242263794, 0.7223235964775085, 0.07475816458463669, 0.2429456263780594, 0.4580334424972534, -0.05490197613835335, -0.19276610016822815, -0.41752731800079346, -0.4275776445865631, 0.31374385952949524, -0.4488082826137543, 0.2027035504579544, -0.4575059711933136, 0.2574019134044647, -0.16994445025920868, -0.3069681227207184, -0.144109308719635, 0.09580232203006744, -0.34877699613571167, -0.18398742377758026, 0.0326274111866951, 0.06046219915151596, -0.20040781795978546, 0.5673688650131226, -0.2655155658721924, 0.6585854291915894, 0.2948850989341736, 0.33509671688079834, -0.6956968307495117, -0.11975942552089691, -0.2078511267900467, -0.28288859128952026, -0.30552223324775696, -1.060112714767456, 0.6349754333496094, 0.23530727624893188, 0.08601216226816177, 0.4507230520248413, 0.2950030565261841, 0.2570655047893524, -0.48877832293510437, 0.6856411099433899, -0.09136432409286499, -0.846697986125946, 0.42487582564353943, -0.3516874611377716, 0.4397718012332916, 0.973594605922699, 0.36533185839653015, -0.19133929908275604, -0.6723620891571045, -0.5510231256484985, -0.7534809112548828, 0.7585826516151428, 0.501832902431488, -0.5215534567832947, -0.07571691274642944, 0.13308550417423248, 0.548037052154541, 0.3641798496246338, -0.4622836410999298, -0.12025337666273117, -0.22439906001091003, -0.15735973417758942, -0.1081218272447586, -0.008407815359532833, -0.16245560348033905, -0.41529381275177, 0.683245837688446, -0.3628806173801422, 0.1485545039176941, 0.579089879989624, -0.29600760340690613, -0.3184610903263092, 0.15020602941513062, 0.35972610116004944, 0.7833465337753296, -0.5520048141479492, 0.14279860258102417, 0.09923803806304932, -1.130906105041504, -0.4563634693622589, 0.14847277104854584, -0.7272112369537354, 0.03361906111240387, 0.3642694354057312, 0.5009877681732178, 0.2522379755973816, -0.8621495366096497, 0.13105174899101257, -0.07762081921100616, -0.3333664834499359, -0.5818935632705688, -0.19791856408119202, -0.39419451355934143, 0.01842024363577366, 0.5173642039299011, -0.03745473176240921, 0.5891507267951965, -0.489493727684021, 0.6108971834182739, 0.11403565108776093, -0.1435556411743164, -0.40557295083999634, 0.7020732164382935, 0.2761394679546356, -0.07194028794765472, 0.3487508296966553, -0.1410914957523346, -0.2973996698856354, 0.5436321496963501, -0.0342799611389637, 0.9452736973762512, -0.1484508514404297, 0.7306210994720459, 0.45693835616111755, 0.472954124212265, 0.16194263100624084, 0.45447826385498047, -0.35673022270202637, -0.513229489326477, -0.6480630040168762, -0.5447688102722168, -0.8474107384681702, 0.06897923350334167, -0.7044358253479004, 0.5589901804924011, -0.19676801562309265, -0.39204248785972595, 0.3828374743461609, 0.07394155859947205, -0.5413457155227661, 0.10619286447763443, 0.2639197111129761, 0.9184909462928772, -0.6612736582756042, 0.9469423890113831, 0.6182982921600342, -0.3119127154350281, -0.4779607951641083, 0.14838117361068726, -0.03706829622387886, -0.38355278968811035, 0.3115186095237732, 0.1644531786441803, -0.09287457913160324, 0.19621340930461884, -0.5690760016441345, -0.5782474279403687, 0.8947365283966064, 0.07260231673717499, -0.6928139925003052, 0.0026361579075455666, 0.19736042618751526, 0.8620983362197876, -0.15381589531898499, 0.1487266719341278, 0.723839521408081, 0.7417296767234802, -0.16143685579299927, -0.8538798689842224, -0.33571091294288635, -0.2219812422990799, -0.6613301038742065, 0.2256973385810852, -0.8376291394233704, 0.4782094359397888, -0.10286619514226913, -0.484419584274292, -0.05326377600431442, 0.5649731755256653, -0.24142423272132874, 0.6090629696846008, 0.354302316904068, 0.4059901535511017, 0.6822994947433472, -0.18251091241836548, 1.1896659135818481, -0.6837377548217773, 0.3693271577358246, 0.9036353230476379, -0.2276800274848938, 1.0758700370788574, 0.6936952471733093, -0.21055154502391815, 0.6392568349838257, 0.8773535490036011, -0.15520788729190826, 0.6384825706481934, -0.5156405568122864, -0.2772192358970642, -0.2348274439573288, 0.06738433241844177, -0.14028945565223694, 0.30585694313049316, 0.2774028778076172, -0.09549422562122345, 0.17312754690647125, 0.1927134245634079, -0.23361705243587494, -0.11984474956989288, -0.18364883959293365, 0.6587482690811157, 0.07131185382604599, -0.815669059753418, 0.36178016662597656, -0.37976086139678955, 0.2039058357477188, -0.7150453925132751, 0.20582634210586548, 0.10528307408094406, 0.24841082096099854, -0.15614953637123108, -1.118031620979309, 0.10116526484489441, 0.17784865200519562, 0.14704442024230957, 0.04713866859674454, 0.26168036460876465, -0.36175352334976196, -0.7736419439315796, 0.18405506014823914, 0.4884662628173828, 0.2702505886554718, 0.21818792819976807, -0.3712843656539917, -0.22745366394519806, -0.24010628461837769, -0.6431361436843872, 0.0852479487657547, 0.5433661937713623, -0.14505058526992798, 0.7392377257347107, 0.7418707013130188, 0.1488763391971588, 0.03681787848472595, 0.2823980748653412, 0.552186906337738, -0.6218264698982239, -0.7190988659858704, -0.6103687882423401, 0.5044373869895935, -0.190397247672081, -0.6066058874130249, 0.9809274673461914, 0.5419585704803467, 0.7756574749946594, -0.33442071080207825, 0.4344557821750641, -0.030992740765213966, 0.266437828540802, -0.20358562469482422, 0.5139304995536804, -0.4870184063911438, -0.18711693584918976, -0.46883225440979004, -1.1606221199035645, -0.5067994594573975, 0.6893939971923828, -0.4010619521141052, -0.47606196999549866, 1.2848279476165771, 0.27360472083091736, 0.09984949976205826, 0.09500337392091751, 0.0640198215842247, 0.001036632340401411, -0.09362314641475677, 0.3312148153781891, 0.19429375231266022, -0.1636486053466797, 0.369634211063385, -0.5121864080429077, -0.6967926025390625, -0.3546943664550781, -0.5135452151298523, -1.0158687829971313, -0.532307505607605, -0.6109938621520996, 0.03989681974053383, 0.02383739873766899, 0.4816482663154602, 0.6548824310302734, -1.037151575088501, -0.3400923013687134, -0.5498467087745667, -0.43227872252464294, -0.504501223564148, -0.33654481172561646, 0.6381151080131531, -0.37632352113723755, -1.0801045894622803, 0.1354682743549347, 0.3872396945953369, -0.1102059930562973, -0.2867937386035919, 0.170781210064888, -0.5349237322807312, 0.0631946474313736, 0.5674422979354858, 0.592448353767395, -0.492337703704834, -0.14275091886520386, 0.4750901460647583, -0.21272388100624084, 0.13921479880809784, 0.583314836025238, -0.5898193120956421, 0.9440659880638123, 0.4673989713191986, 0.21279031038284302, 0.7065649032592773, 0.1758049875497818, 0.47843092679977417, -0.38559308648109436, 0.4028494656085968, 0.4606264531612396, 0.31813475489616394, 0.19843246042728424, -0.29903584718704224, 0.771786630153656, 0.425558477640152, -0.6968358159065247, -0.956026017665863, 0.0015776276122778654, -1.581600546836853, -0.35360726714134216, 0.8967029452323914, 0.052605874836444855, -0.7187185287475586, -0.14831659197807312, -0.603659987449646, 0.43017736077308655, -0.5692630410194397, 1.2571799755096436, 1.1172707080841064, -0.01092672348022461, -0.23287218809127808, -1.116082787513733, 0.40895456075668335, 0.4181883633136749, -1.0627135038375854, 0.010901151224970818, 0.6002607941627502, 0.12416844069957733, 0.2496033012866974, 0.33464348316192627, -0.14385700225830078, 0.48261988162994385, 0.27577778697013855, 0.376191645860672, 0.22074496746063232, -0.6929613947868347, 0.31854307651519775, 0.307971328496933, -0.4043690860271454, -0.400983601808548 ]
http://arxiv.org/abs/2403.00891v1
http://arxiv.org/pdf/2403.00891v1
A Regularization-based Transfer Learning Method for Information Extraction via Instructed Graph Decoder
2024-03-01T13:04:12
2024-03-01T13:04:12
Kedi Chen, Jie Zhou, Qin Chen, Shunyu Liu, Liang He
cs.LG
cs.LG, cs.AI, cs.CL
Information extraction (IE) aims to extract complex structured information from the text. Numerous datasets have been constructed for various IE tasks, leading to time-consuming and labor-intensive data annotations. Nevertheless, most prevailing methods focus on training task-specific models, while the common knowledge among different IE tasks is not explicitly modeled. Moreover, the same phrase may have inconsistent labels in different tasks, which poses a big challenge for knowledge transfer using a unified model. In this study, we propose a regularization-based transfer learning method for IE (TIE) via an instructed graph decoder. Specifically, we first construct an instruction pool for datasets from all well-known IE tasks, and then present an instructed graph decoder, which decodes various complex structures into a graph uniformly based on corresponding instructions. In this way, the common knowledge shared with existing datasets can be learned and transferred to a new dataset with new labels. Furthermore, to alleviate the label inconsistency problem among various IE tasks, we introduce a task-specific regularization strategy, which does not update the gradients of two tasks with 'opposite direction'. We conduct extensive experiments on 12 datasets spanning four IE tasks, and the results demonstrate the great advantages of our proposed method
[ 0.07453463226556778, -0.6889998912811279, 0.038266848772764206, 0.00838506780564785, -0.30717700719833374, 0.13227063417434692, -0.41367554664611816, -0.5340738892555237, 0.08178211003541946, 0.1275327205657959, -0.27216410636901855, -0.6565135717391968, -1.02577805519104, 0.27715060114860535, -0.21848717331886292, 1.0132179260253906, -0.40241822600364685, -0.19041581451892853, 0.07597717642784119, 0.3108571171760559, -0.721208393573761, -0.0785880908370018, -0.6021272540092468, -0.1393503099679947, 0.3875458836555481, 0.6292654275894165, -0.0995025783777237, 1.0005501508712769, 0.5213671922683716, 0.14912912249565125, 0.36999252438545227, 0.6185731887817383, -0.9170078039169312, -0.17655344307422638, -0.2278248816728592, -0.3754030764102936, -0.09612500667572021, 0.10019087791442871, 0.404673308134079, 0.8013205528259277, 0.19863781332969666, 0.2987383306026459, 0.557307243347168, 0.5118405818939209, -0.8372144103050232, 0.8486747145652771, -0.6565096974372864, -0.018467620015144348, -0.030574407428503036, -0.46448764204978943, -0.7449138760566711, -0.34860116243362427, 0.13267478346824646, -1.1509348154067993, 0.13080835342407227, 0.07786941528320312, 1.1519526243209839, 0.17134179174900055, -0.486772358417511, -0.2762303650379181, -0.7371802926063538, 0.6389180421829224, -0.1893908679485321, 0.4023057818412781, 0.486508309841156, 0.024370821192860603, 0.1156793013215065, -0.970371425151825, -0.3022116422653198, 0.3430745601654053, -0.3210488259792328, 0.3275783956050873, -0.3370271921157837, -0.0810946598649025, 0.06831217557191849, -0.25033795833587646, -0.5533587336540222, 0.02780047617852688, -0.5331000089645386, -0.08186487853527069, 0.31813567876815796, -0.22455130517482758, 0.2069505751132965, -0.0041205668821930885, -0.6260744333267212, -0.2128840535879135, -0.29842841625213623, 0.33862170577049255, -0.19930525124073029, 0.4192160964012146, 0.09239073097705841, 0.11524366587400436, -0.12650899589061737, 0.7170597910881042, 0.42256560921669006, -0.12014355510473251, 0.1623365730047226, -0.0012162178754806519, -0.28198614716529846, 0.31288865208625793, 0.7472360730171204, 0.3029841482639313, 0.5327996015548706, -0.633364200592041, 0.08854024112224579, -0.18459391593933105, 0.09250740706920624, -0.7283371686935425, -0.31298160552978516, -0.22520342469215393, -0.24574686586856842, -0.059058528393507004, 0.4812023341655731, -0.7130817174911499, 0.0540439635515213, -0.29503268003463745, 0.23193898797035217, -0.38594403862953186, 0.1840968281030655, 0.1639980971813202, -0.04545532912015915, 0.23206892609596252, 0.45322901010513306, -0.6501192450523376, 0.348861962556839, 0.42427462339401245, 0.6109935641288757, -0.5287483334541321, -0.3124694228172302, -0.8584135174751282, 0.7077481150627136, -0.2535504996776581, 0.7996432185173035, -0.5345653295516968, 0.07473921775817871, -0.11205841600894928, 0.39236634969711304, -0.5665917992591858, -0.08042127639055252, 0.24294090270996094, -0.658298909664154, 0.05120199918746948, 0.009434211067855358, -0.7063676118850708, -0.4677984118461609, 0.3886944055557251, -0.5128413438796997, 0.7873361706733704, 0.20107857882976532, -0.9990530610084534, 0.11073897033929825, -0.5104740858078003, -0.6269793510437012, 0.1464371681213379, -0.2540757656097412, -0.17829447984695435, -0.5674430727958679, 0.3104332685470581, 0.5099989771842957, -0.25069814920425415, 0.19032391905784607, -0.03328569233417511, -0.6619145274162292, -0.246198371052742, -0.20083151757717133, 0.722801685333252, 0.008516750298440456, -0.5062434077262878, -0.24557265639305115, -0.6091348528862, -0.12036459147930145, 0.13748104870319366, -0.4880990982055664, -0.40910574793815613, -0.3995695114135742, -0.23362165689468384, -0.07046075165271759, 0.3483787178993225, -0.6211101412773132, 0.6561746001243591, -0.08579627424478531, 0.12829960882663727, 0.9715651273727417, 0.2707354426383972, 0.41731560230255127, -0.05217227339744568, 0.4001469314098358, -0.177193745970726, -0.08671421557664871, 0.16179849207401276, -0.3505391776561737, -0.6077238917350769, -0.3934744596481323, 0.665159285068512, 1.165371060371399, -0.770346462726593, 0.48579245805740356, -0.5571091175079346, -0.1820896714925766, -0.5128567218780518, 0.07018938660621643, 0.3863152861595154, 0.9948291778564453, 0.5719146728515625, -0.030652163550257683, -0.38041070103645325, -0.5181870460510254, -0.20300063490867615, 0.1251354068517685, -0.020814592018723488, 0.2920348644256592, 0.10522275418043137, -0.155195951461792, 0.7526773810386658, -0.8449234962463379, -0.6345388293266296, -0.10516759008169174, 0.46999508142471313, 0.019973203539848328, 0.6424462199211121, 0.2347974330186844, -0.6738752722740173, -0.7135881185531616, 0.43343546986579895, -0.9558078050613403, 0.09835779666900635, -0.40152493119239807, -0.3234139382839203, -0.4559068977832794, 0.5576328039169312, -0.24298015236854553, 0.5553041696548462, 0.18331538140773773, -0.08178306370973587, 0.15774764120578766, -0.012225800193846226, 0.2197970300912857, -1.185820460319519, 0.2291288822889328, 0.05761232227087021, -0.49542275071144104, -0.3762529194355011, -0.3280743360519409, 0.0072293514385819435, -0.06473344564437866, -0.071200892329216, 0.47580698132514954, -0.6592903733253479, 0.3114273250102997, -0.13871699571609497, 0.2976725101470947, 0.35757648944854736, 0.8099384307861328, -0.2990269660949707, 0.5556543469429016, 0.7479314208030701, -0.6218880414962769, 0.43140026926994324, 0.5003108382225037, 0.14753535389900208, 0.2587185502052307, -0.30867481231689453, 0.70075523853302, -0.4119943380355835, 0.07461030036211014, -0.9769245386123657, 0.024058494716882706, 0.5221095681190491, -0.45188581943511963, 0.9550046920776367, -0.44400861859321594, -0.1388465017080307, -0.09665793925523758, -0.04113762825727463, 0.08687727153301239, 0.399587482213974, -0.45376017689704895, 0.6707452535629272, 0.17828160524368286, -0.3573608696460724, -0.7491357326507568, -0.4940433204174042, -0.14382889866828918, -0.06616281718015671, -0.4978121817111969, 0.5172284841537476, -0.0286243986338377, 0.2982616126537323, 0.3039397597312927, -0.4069121778011322, -0.5653733611106873, 0.2032887488603592, -0.03293222561478615, 0.2149706482887268, -0.05958964303135872, 0.03004392609000206, 0.3477860987186432, -0.15780560672283173, -0.2582760751247406, -0.47453004121780396, 0.045876625925302505, 0.0636572316288948, -0.014681622385978699, -1.0002241134643555, 0.35510048270225525, 0.1194719523191452, -0.39039942622184753, 0.5176939964294434, 0.7491558790206909, -0.4977461099624634, -0.035355571657419205, -0.14988449215888977, -0.24947428703308105, -0.37693965435028076, 0.4478967785835266, -0.5357041358947754, -0.662283718585968, 0.22291211783885956, -0.7241238355636597, 0.1945033073425293, 0.2663561999797821, -0.2730962634086609, -0.27325013279914856, 0.904137134552002, 0.9365077614784241, -0.305970162153244, 0.6463232040405273, -0.5779483914375305, 0.08603984862565994, -0.80000901222229, -0.35278207063674927, -0.45461133122444153, -0.3926202952861786, 0.011733004823327065, -0.015565557405352592, 0.00790678896009922, 0.7003632187843323, 0.0017406139522790909, 0.37254828214645386, -0.5677424669265747, 0.359514057636261, 0.35479533672332764, 0.47474586963653564, 0.2223069965839386, 0.48329421877861023, 0.12724798917770386, 0.16553282737731934, -0.7688003778457642, -0.21548402309417725, 0.9531745314598083, 0.01533628348261118, 0.7616175413131714, -0.2399064153432846, 0.7791453003883362, 0.598694384098053, 0.3277953863143921, -0.7238191366195679, 0.16074003279209137, -0.31104594469070435, 0.44328612089157104, -0.4081176519393921, -0.5917584896087646, -1.3876149654388428, -0.13633623719215393, -0.1477440893650055, -0.9747101068496704, 0.5904603600502014, -0.042224954813718796, 0.10245336592197418, 0.2095828652381897, -0.6771901249885559, 0.6887432932853699, 0.25026389956474304, -0.23738877475261688, 0.4205876886844635, -0.7772823572158813, -0.17121639847755432, -0.008899515494704247, 0.25950488448143005, 0.13279299437999725, 0.24999399483203888, 1.0913782119750977, 0.0901855081319809, 0.8047624826431274, -0.31648388504981995, 0.1427341252565384, 0.2075119912624359, 0.26655784249305725, 1.2987602949142456, -0.25337734818458557, -0.06316094845533371, -0.021919241175055504, -0.4175792634487152, -0.39087867736816406, -0.7850984930992126, 0.29123252630233765, -0.7943557500839233, -0.35032182931900024, 0.020218385383486748, -0.6821385025978088, -0.18340696394443512, 0.6340860724449158, 0.5326399207115173, 0.38746628165245056, 0.17069220542907715, 0.13035908341407776, 0.6283495426177979, 0.49465158581733704, 0.11596988141536713, 0.3133845925331116, 0.5510236620903015, -0.26397451758384705, 1.1305574178695679, 0.20787076652050018, -0.03933195024728775, 0.6024624109268188, 0.2359384149312973, 0.0496324859559536, -0.40003931522369385, -0.291515052318573, 0.04044733941555023, -0.831651508808136, -0.5432896018028259, -0.7634375095367432, -0.05259937420487404, -0.5883688926696777, -0.2694421708583832, -0.25183621048927307, -0.1622275412082672, -0.5637551546096802, -0.1675211787223816, 0.22836485505104065, 0.5808574557304382, 0.1770167350769043, 0.07344309240579605, -0.811937153339386, 0.20821881294250488, 0.32895180583000183, 0.00112647726200521, -0.20455719530582428, -0.5457639694213867, -0.25348377227783203, 0.035402894020080566, 0.008920867927372456, -1.1151115894317627, 0.009206741116940975, 0.3578881323337555, 0.6313362717628479, 0.5129101276397705, 0.522508442401886, 0.6672734618186951, -0.26955580711364746, 0.20814292132854462, 0.044832728803157806, -0.7767853140830994, 0.4323577582836151, -0.05109832435846329, -0.19367247819900513, 0.5866826176643372, 0.6853924989700317, -0.1612265706062317, -0.23372633755207062, -0.5039340257644653, -0.7027797698974609, 0.8825162649154663, 0.18053875863552094, -0.3129841089248657, 0.019669508561491966, 0.5357585549354553, 0.1394851803779602, -0.038467906415462494, -0.7701401710510254, -0.35824498534202576, -0.11682290583848953, -0.42835861444473267, 0.369346559047699, 0.12874460220336914, -0.12537403404712677, -0.1378161609172821, 0.6785740256309509, -0.4219660758972168, 0.2783445417881012, 0.5256859660148621, -0.5272069573402405, -0.030194168910384178, 0.1627754420042038, 0.1804392784833908, 0.6418116688728333, -0.26426470279693604, 0.2145906537771225, 0.0021998987067490816, -0.536465048789978, 0.15705537796020508, 0.49168604612350464, -0.29572793841362, 0.008774740621447563, 0.45857518911361694, 0.8116973638534546, -0.07199116796255112, -0.11854460835456848, 0.8080893754959106, 0.0053442842327058315, -0.1491231918334961, 0.34175926446914673, -0.22302353382110596, -0.23542846739292145, 0.026378313079476357, 0.4209645092487335, 0.13650941848754883, 0.2846657633781433, -0.07459892332553864, 0.34255093336105347, 0.04041485860943794, -0.6181409955024719, -0.1486331671476364, 0.2910979688167572, 0.1312466561794281, -0.14304736256599426, 0.8101689219474792, -0.44888919591903687, -0.3112618923187256, 0.5867400765419006, 0.9027554988861084, 0.7610266804695129, -0.26170918345451355, 0.05944850295782089, 0.42287859320640564, 0.330623596906662, 0.11346939206123352, 0.12375544011592865, -0.09310643374919891, -0.5954549908638, -0.5270761847496033, -0.11816346645355225, 0.16678394377231598, -0.07288143038749695, -1.0648249387741089, 0.16771472990512848, -0.18477661907672882, 0.20949263870716095, -0.19249624013900757, -0.2676602005958557, -0.8471699357032776, 0.06046539172530174, -0.10892791301012039, 0.7240106463432312, -0.7892544269561768, 0.7896752953529358, 0.6274774074554443, -0.24132874608039856, -1.113826870918274, 0.11241505295038223, -0.425069123506546, -0.7264500260353088, 0.7897148728370667, 0.2558966875076294, -0.23783114552497864, 0.47542092204093933, -0.602482259273529, -0.7277437448501587, 1.26875638961792, 0.6722621321678162, -0.6584179401397705, -0.38602009415626526, -0.26966387033462524, -0.07380875200033188, -0.4727983772754669, -0.1676425039768219, 0.14771494269371033, 0.5109742879867554, 0.08988088369369507, -0.6110429167747498, 0.2292928397655487, -0.27903300523757935, -0.2608942985534668, 0.08130285143852234, -0.5204969644546509, 0.6809459924697876, -0.2001921832561493, -0.5863662958145142, -0.43470537662506104, 0.6273007988929749, -0.2577510476112366, 0.09438629448413849, 0.4569900333881378, 0.06055784225463867, 1.1848591566085815, 0.20578809082508087, 0.8720828294754028, -0.41385209560394287, 0.750674843788147, 1.2903302907943726, -0.09689708054065704, 0.4823526442050934, 0.316384494304657, 0.07727489620447159, 0.5089529156684875, 0.5493036508560181, -0.168984517455101, 0.6343528628349304, 0.12445378303527832, 0.03453989699482918, -0.23589357733726501, -0.31599780917167664, -0.23217935860157013, 0.501234769821167, 0.24410709738731384, -0.17508761584758759, -0.46083182096481323, 0.20295126736164093, 0.13376083970069885, -0.1312853842973709, -0.30386751890182495, 1.139714241027832, -0.2471802979707718, -0.370797336101532, 0.7498980760574341, -0.07048940658569336, 0.3117663860321045, -0.6912105083465576, -0.642828106880188, -0.14592987298965454, -0.09252046048641205, -0.23120640218257904, -0.4042235016822815, -0.032655347138643265, -0.11564597487449646, -0.26044321060180664, -0.1436600536108017, 0.9916583895683289, -0.5689204335212708, -0.22035010159015656, 0.30359897017478943, 0.22341565787792206, 0.3854491710662842, 0.0556473508477211, -0.5665051937103271, -0.21570536494255066, 0.4275246560573578, -0.13271313905715942, 0.1022585928440094, 0.5452635884284973, -0.06845296919345856, 0.2850725054740906, 0.6475281119346619, 0.13464535772800446, 0.1992328017950058, -0.3883196711540222, 0.9248363375663757, -0.32893136143684387, -0.6891155242919922, -0.4725293219089508, 0.3468421697616577, -0.1080097034573555, -0.011878455057740211, 0.5115135908126831, 0.5776734948158264, 0.781135618686676, -0.06879010051488876, 0.9579368233680725, 0.006295449566096067, 0.10239512473344803, -0.6722201108932495, 0.41942575573921204, -0.1920347511768341, 0.082309789955616, -0.3157716393470764, -0.9189561605453491, -0.15201877057552338, 0.6550920009613037, -0.12930193543434143, -0.31420689821243286, 0.7534715533256531, 0.34238240122795105, -0.27225103974342346, -0.21614083647727966, 0.006649119779467583, 0.16569127142429352, 0.29429149627685547, 0.7274739742279053, 0.23259839415550232, -0.6002846956253052, 0.8012111783027649, -0.13137339055538177, -0.660182535648346, -0.08867622911930084, -0.7258361577987671, -0.6477106213569641, -0.3577011227607727, -0.5780414938926697, -0.3657543361186981, 0.409251868724823, 0.6565492749214172, 0.8732976913452148, -0.5851886868476868, 0.12761126458644867, -0.2355770468711853, 0.11959657818078995, -0.5564786791801453, -0.34183642268180847, 0.9984416961669922, -0.3692072331905365, -0.7406688928604126, 0.44713813066482544, 0.09382183849811554, 0.1207355409860611, 0.5258404016494751, 0.1968591809272766, -0.5561971664428711, -0.285013347864151, 0.23993198573589325, 0.45400291681289673, -0.21370363235473633, -0.5501278042793274, -0.11719031631946564, -0.17463631927967072, 0.38503941893577576, 0.6257357001304626, -0.4860612154006958, 0.6788569688796997, 0.4221884310245514, 1.1457322835922241, 0.6891655921936035, 0.16833209991455078, 0.3604501783847809, -1.1272246837615967, 0.1066524013876915, -0.012857941910624504, 0.12865878641605377, 0.16409482061862946, -0.9523013830184937, 0.5000163912773132, 0.4578065276145935, -0.17782828211784363, -0.459035187959671, 0.09483379870653152, -1.1402078866958618, -0.22104254364967346, 0.9305329322814941, -0.824317216873169, -0.2953047752380371, -0.3456880748271942, -0.15332575142383575, 0.7587825059890747, -0.46695172786712646, 0.6418651342391968, 0.29255008697509766, -0.27160418033599854, 0.008169552311301231, -0.07563816010951996, 0.30790334939956665, -0.14904047548770905, -0.9718835949897766, 0.13101528584957123, 0.04644101858139038, 0.5830610990524292, 0.31734374165534973, 0.5284808278083801, 0.2508566379547119, 0.11536765098571777, -0.07497313618659973, 0.21687310934066772, -0.5661892294883728, -0.6475295424461365, -0.01496617216616869, 0.19143913686275482, -0.32698607444763184, -0.6451547741889954 ]
http://arxiv.org/abs/2403.00499v1
http://arxiv.org/pdf/2403.00499v1
Do Zombies Understand? A Choose-Your-Own-Adventure Exploration of Machine Cognition
2024-03-01T12:42:47
2024-03-01T12:42:47
Ariel Goldstein, Gabriel Stanovsky
cs.CL
cs.CL
Recent advances in LLMs have sparked a debate on whether they understand text. In this position paper, we argue that opponents in this debate hold different definitions for understanding, and particularly differ in their view on the role of consciousness. To substantiate this claim, we propose a thought experiment involving an open-source chatbot $Z$ which excels on every possible benchmark, seemingly without subjective experience. We ask whether $Z$ is capable of understanding, and show that different schools of thought within seminal AI research seem to answer this question differently, uncovering their terminological disagreement. Moving forward, we propose two distinct working definitions for understanding which explicitly acknowledge the question of consciousness, and draw connections with a rich literature in philosophy, psychology and neuroscience.
[ -0.5013532042503357, -0.620730459690094, 1.0546082258224487, 0.008398163132369518, -0.3863614499568939, 0.16533125936985016, -0.2603118121623993, -0.7237733006477356, 0.31231746077537537, 0.31956157088279724, -0.7042865753173828, -0.13571935892105103, -0.6119691133499146, 0.3370952606201172, 0.0033201167825609446, 0.7736550569534302, 0.06221630051732063, 0.00042427421431057155, -0.5582895278930664, -0.012610426172614098, -0.25287923216819763, -0.4853729009628296, -0.8045241236686707, -0.5501337647438049, 0.7687735557556152, 0.2414361983537674, 0.794526219367981, 0.326317697763443, 0.40063047409057617, 0.4094898998737335, -0.050741150975227356, -0.022976160049438477, -0.46390193700790405, -0.018121229484677315, -0.13442263007164001, -0.8877955079078674, -0.08182574808597565, -0.16217686235904694, 0.3483017385005951, 0.763843834400177, 0.18432946503162384, -0.04523441195487976, -0.1938793808221817, 0.5140973329544067, -0.6535613536834717, -0.08581361919641495, -0.6924728751182556, 0.42197293043136597, 0.2183975726366043, -0.04423093795776367, -0.5569348335266113, 0.3080868422985077, -0.04811129719018936, -0.5029822587966919, 0.26718470454216003, 0.06102003529667854, 0.5287914872169495, 0.4534037113189697, -0.39124542474746704, -0.28849413990974426, -0.6615346074104309, 0.4549812078475952, -0.5239885449409485, 0.3119359016418457, 0.44661515951156616, 0.4453834295272827, 0.009458674117922783, -0.47736042737960815, -1.0629150867462158, -0.03551917150616646, 0.07867302000522614, 0.6184999942779541, -0.36100032925605774, 0.1429692804813385, 0.012681355699896812, 0.4843122363090515, -0.4877297580242157, 0.26135575771331787, -0.4321293830871582, -0.17596282064914703, 0.6161643862724304, -0.02429879643023014, 0.6066802740097046, -0.33562004566192627, -0.7739524841308594, 0.18609288334846497, 0.167339026927948, 0.11582231521606445, 0.3177553415298462, -0.10514050722122192, -0.26011279225349426, 0.6525357961654663, 0.017777571454644203, 0.9255419969558716, -0.5547642707824707, 0.34326183795928955, 0.23628374934196472, 0.020181572064757347, -0.7086370587348938, -0.026913996785879135, 0.6463355422019958, 0.5961815714836121, 0.4258822500705719, -0.6068649888038635, -0.1407463103532791, 0.034845657646656036, 0.8005586862564087, -0.23445521295070648, -0.5262017250061035, 0.585361659526825, -0.5492451786994934, 0.0874037817120552, -0.19159984588623047, -0.1962449848651886, -0.622406542301178, -0.25281617045402527, 0.49160370230674744, -0.47885578870773315, -0.36969855427742004, 0.5476688742637634, -0.6776993274688721, 0.18822862207889557, 0.8198367357254028, -0.6447982788085938, 0.037925250828266144, 0.6207870841026306, 1.081450343132019, -0.36368274688720703, -0.17468710243701935, 0.17187286913394928, -0.03139317408204079, -0.4391392469406128, 1.1243748664855957, -0.4060472249984741, -0.7167797088623047, -0.41412353515625, -0.10695666074752808, -0.2398253083229065, -0.2631528377532959, 0.3720315098762512, -0.49550172686576843, 0.21041108667850494, -0.204457625746727, -0.4330511689186096, -0.5506758689880371, 0.18516989052295685, -0.23823614418506622, 0.24993814527988434, -0.0132858632132411, -0.5937454104423523, 0.21838858723640442, -0.48154935240745544, -0.03206871449947357, 0.3141205310821533, -0.352803111076355, 0.38964617252349854, 0.3135305345058441, -0.2444307804107666, 0.3042082190513611, 0.26154959201812744, -0.27602601051330566, -0.18703852593898773, -0.3796771764755249, 0.7127341628074646, -0.34480947256088257, 0.9035501480102539, 0.02520756982266903, 0.09350153058767319, 0.0037822595331817865, -0.6439154148101807, 0.27093225717544556, 0.22550852596759796, 0.13018009066581726, -0.4420413672924042, 0.397562175989151, -0.24853964149951935, 0.17810291051864624, 0.3517412543296814, -0.5916233062744141, 0.039609748870134354, -0.5876127481460571, 0.7243052124977112, 0.9761582612991333, -0.060439471155405045, 0.6186408996582031, -0.4511685371398926, 0.29619377851486206, 0.050037842243909836, 0.03829875960946083, -0.18802256882190704, -0.6910507678985596, -0.8579410314559937, -0.10198729485273361, -0.10794361680746078, 0.5789169073104858, -0.4724675118923187, 0.3791811168193817, 0.08506432175636292, -0.48854953050613403, -0.7737368941307068, 0.00916320737451315, 0.14157648384571075, 0.7499375343322754, 0.601203203201294, -0.3498533070087433, -0.415690153837204, -1.0916424989700317, -0.20460635423660278, -0.4351615607738495, -0.4376518428325653, 0.6342127323150635, 0.4655435085296631, -0.35608357191085815, 0.9281447529792786, -0.5633646845817566, 0.08469624072313309, -0.2963074743747711, -0.02158130332827568, -0.057834818959236145, 0.39368268847465515, 0.3905649483203888, -0.7103806138038635, 0.10336216539144516, 0.06659440696239471, -1.0219980478286743, 0.35138317942619324, -0.32628414034843445, -0.17300575971603394, -0.5107042789459229, 0.311128705739975, -0.4482190012931824, 0.5236387848854065, 0.31708836555480957, -0.4246615171432495, -0.12831845879554749, -0.589168906211853, 0.03414035961031914, -0.7775917053222656, -0.4717727601528168, -0.26670175790786743, -0.15191249549388885, -0.62797611951828, -0.09437448531389236, 0.11341987550258636, 0.2807595729827881, -0.4741736650466919, 0.3301897644996643, -0.26960110664367676, -0.5246321558952332, -0.4641711711883545, 1.0585193634033203, 0.06774677336215973, 0.4409685730934143, 0.16442225873470306, 0.741975724697113, 0.37464797496795654, -0.7937929034233093, -0.048737864941358566, 0.4323095679283142, -0.5429008603096008, 0.23626703023910522, -0.6258512139320374, 0.7324522137641907, -0.5984308123588562, 0.20716674625873566, -1.4146084785461426, -0.054321322590112686, 0.5205234289169312, -0.8931570053100586, -0.42096665501594543, -0.03757580369710922, -0.19472075998783112, -0.2124226838350296, 0.1564950942993164, 0.09023455530405045, 0.6657121181488037, -0.1002139151096344, 0.49705010652542114, 0.4058776795864105, 0.378998339176178, -0.48775383830070496, -1.14029860496521, 0.2504747211933136, 0.06734820455312729, -0.4902459681034088, 0.26863405108451843, -0.4601389169692993, -1.1011985540390015, -0.14326994121074677, -0.15235856175422668, -0.16046427190303802, 0.39973539113998413, 0.5003169775009155, 0.047766055911779404, -0.23530730605125427, 0.430897980928421, -0.06912888586521149, -0.03843311220407486, 0.14846675097942352, -0.3185817301273346, 0.4767414927482605, 0.262142151594162, -0.36292514204978943, -0.47375568747520447, -0.012904801405966282, 0.2596111297607422, -0.02461986616253853, 0.5152783989906311, 0.20037096738815308, -0.18030007183551788, -0.3380194306373596, -0.2553102374076843, 0.17613987624645233, -0.48350536823272705, 0.0431516058743, -0.36999908089637756, -0.6421772241592407, 0.6333876252174377, 0.13784392178058624, 0.15036863088607788, 0.5983441472053528, 0.6859672665596008, -0.6442117094993591, 0.5367709994316101, 0.750914454460144, 0.388410747051239, 0.20724788308143616, -0.06310843676328659, 0.1204221323132515, -0.845888078212738, -0.4721619486808777, -0.4992886781692505, -0.6128209233283997, -0.29002925753593445, -0.6276500225067139, -0.010478891432285309, 0.098111093044281, -0.13713453710079193, 0.11885906010866165, -0.455698698759079, 0.4583737552165985, -0.001791086862795055, 0.406621515750885, 0.3195347785949707, -0.4811495542526245, 0.13483399152755737, 0.22638104856014252, -0.5002605319023132, -0.8273584842681885, 0.6483929753303528, 0.020665664225816727, 0.2846386134624481, 0.2036781758069992, 0.656327486038208, 0.5949834585189819, 0.10424941778182983, -0.8981799483299255, 0.5945337414741516, 0.3366377651691437, -0.5105717778205872, -0.26551008224487305, -0.06288798153400421, -1.0489369630813599, 0.5944337844848633, 0.05852099880576134, -1.006597638130188, 0.17026184499263763, -0.24511176347732544, -0.48245757818222046, 0.7511048913002014, -1.1206300258636475, 0.6844377517700195, -0.26224666833877563, 0.16381525993347168, -0.3982820212841034, -0.7355367541313171, 0.42456600069999695, 0.2340431660413742, 0.4804568290710449, -0.4288249909877777, -0.8205620050430298, 0.8406341075897217, 0.0022771316580474377, 0.7319337725639343, 0.12552328407764435, -0.3537307381629944, 0.3515523076057434, 0.0689220130443573, -0.28096669912338257, 0.34501421451568604, -0.2511949837207794, 0.37366995215415955, -0.20534667372703552, -0.5690687894821167, -0.7523870468139648, 0.20810766518115997, -1.046557068824768, -0.7799987196922302, -0.27013644576072693, -0.5345579385757446, -0.10144644975662231, 0.19604294002056122, 0.2805326282978058, -0.09421762079000473, -0.342326819896698, -0.08509011566638947, 0.7411758899688721, -0.14883826673030853, 0.6946812868118286, 0.6330455541610718, -0.1638149917125702, -0.11506804823875427, 0.509205162525177, -0.0605868399143219, 0.4913766086101532, 0.5284598469734192, -0.01422806829214096, 0.12138067930936813, -0.6309636831283569, -0.6202136874198914, -0.14346431195735931, -1.139299988746643, 0.23507918417453766, -1.2043280601501465, -0.28533419966697693, 0.11817604303359985, -0.41962575912475586, 0.01888304390013218, -0.2639772593975067, -0.5182362198829651, -0.2835428714752197, 0.47847872972488403, 1.0158652067184448, -0.05194482579827309, 0.4173338711261749, -0.6468061804771423, 0.5241410732269287, 0.37838733196258545, -0.025705106556415558, 0.29919639229774475, -0.4295089542865753, -0.13744856417179108, 0.28952527046203613, 0.01539626158773899, -1.1791682243347168, 0.04662312567234039, -0.19861774146556854, 0.6280417442321777, 0.5181522965431213, 0.10604609549045563, 0.42128387093544006, -0.5910714864730835, 1.1574500799179077, 0.1879962831735611, -1.0779211521148682, 0.6417968273162842, 0.05817039683461189, 0.16511794924736023, 0.5259582996368408, 0.37689727544784546, -0.6587908267974854, -0.4140753448009491, -0.8886763453483582, -0.3389531970024109, 0.4311825931072235, 0.3369333744049072, 0.4808868169784546, -0.1766662299633026, 0.5268431901931763, 0.40934351086616516, 0.1161939948797226, -0.5779984593391418, -0.22716020047664642, -0.04534357786178589, 0.20470136404037476, -0.6725297570228577, -0.003463400760665536, -0.0007579089724458754, -0.0251090656965971, -0.07237356156110764, 0.05867522582411766, 0.5895798802375793, 0.5095085501670837, -0.22811870276927948, -0.12596052885055542, 0.07706854492425919, 0.5320227742195129, 0.9955936074256897, 0.03225969150662422, 0.4057295024394989, 0.20782537758350372, -0.6956106424331665, 0.021589526906609535, -0.6427181363105774, -0.03858856111764908, -0.03259442746639252, 0.5208941698074341, 0.7696616053581238, 0.17640741169452667, -0.8101518154144287, 0.24968141317367554, -0.30743587017059326, -0.21233274042606354, -0.3701665699481964, 0.7227412462234497, 0.1921984851360321, 0.38025254011154175, 0.3103671967983246, 0.6943355798721313, 0.07123877108097076, -0.5659709572792053, 0.20041197538375854, 0.42762890458106995, -0.5796937346458435, -0.20982137322425842, 0.5156965851783752, -0.007602924481034279, -1.1167066097259521, 0.5552814602851868, -0.06224066764116287, -0.36912351846694946, 1.1566954851150513, 0.32156625390052795, 1.0022270679473877, 0.1628265380859375, 0.14896196126937866, -0.04276414215564728, 0.6006975769996643, 0.3569783568382263, 0.5086112022399902, -0.5999353528022766, -1.3102867603302002, -0.3139188587665558, -0.2317403107881546, -0.7897592186927795, -0.11531195044517517, -0.4301646649837494, -0.029503237456083298, -0.48217836022377014, -0.1426086574792862, 0.29005756974220276, -0.2781875729560852, -0.6406069993972778, 0.31127798557281494, 0.2727702856063843, 1.027937650680542, -0.3956274390220642, 0.624278724193573, 0.39802953600883484, -0.6087203621864319, -0.03505986928939819, 0.4994143545627594, -0.2611585557460785, -1.1510570049285889, 0.5783892273902893, 0.097939632833004, -0.370850533246994, 0.142207533121109, -0.6978176236152649, -0.5470139980316162, 0.8249635696411133, 0.08532053232192993, -0.29442158341407776, -0.0845472663640976, -0.7162875533103943, 0.40039554238319397, -0.3556268513202667, 0.4177221953868866, 0.11165713518857956, 0.44508668780326843, -0.25247982144355774, -0.3853965997695923, -0.5500980615615845, -0.045696426182985306, -0.24055692553520203, -0.01240603532642126, -0.8505370616912842, 0.7696319818496704, -0.6493797302246094, -0.2358846217393875, -0.18003395199775696, 0.9382649660110474, -0.5089191794395447, 0.7121191024780273, 0.5311092734336853, 0.3216648995876312, 0.9357398152351379, 0.20645099878311157, 0.892848789691925, -0.14205065369606018, 0.07944007217884064, 1.0084081888198853, -0.0652918666601181, 0.9145410656929016, 0.2910381257534027, -0.4523579180240631, 0.6984551548957825, 1.0233993530273438, 0.3311600387096405, 0.3214244544506073, 0.3204057812690735, -0.33039382100105286, -0.6728945970535278, 0.45632609724998474, -0.28327733278274536, 0.6144492626190186, 0.4949359595775604, -0.3497048020362854, -0.10931683331727982, 0.3046734631061554, -0.318269819021225, 0.15816311538219452, -0.37414273619651794, 1.1027028560638428, 0.21617509424686432, -0.4400922656059265, 0.31270766258239746, -0.15931712090969086, 0.33031612634658813, -0.45897340774536133, 0.16833285987377167, 0.0643116906285286, -0.16463373601436615, -0.19872373342514038, -1.0685696601867676, 0.16132351756095886, -0.040944382548332214, -0.10440333187580109, -0.3895972669124603, 0.6132357120513916, 0.16348344087600708, -0.20605234801769257, 0.40907377004623413, 0.9105495810508728, 0.6685917377471924, 0.3168807327747345, -0.5817662477493286, 0.17496328055858612, 0.014582698233425617, 0.16274259984493256, 0.16664372384548187, 0.6453428268432617, 0.5538680553436279, 0.8440727591514587, 0.4124687612056732, -0.2377629429101944, -0.1814178228378296, -0.3370814919471741, 0.6608833074569702, -0.6317899227142334, -0.4797760248184204, -1.1829326152801514, 0.3625640273094177, -0.1416531205177307, -0.5393968224525452, 1.0006647109985352, 0.45342588424682617, 0.9904161691665649, 0.06869912892580032, 1.0325478315353394, -0.08522353321313858, 0.05854056030511856, -0.4276418387889862, 0.7701498866081238, -0.6557314991950989, -0.18268530070781708, -0.04855205491185188, -0.33865857124328613, -0.07533390074968338, 0.8920323848724365, -0.5634738802909851, -0.07101676613092422, 0.42631226778030396, 0.07998843491077423, 0.1124940812587738, 0.6189272403717041, 0.6370635628700256, 0.18986430764198303, -0.22494597733020782, 0.6727255582809448, 1.0107195377349854, 0.06211579591035843, -0.012297945097088814, 0.04297584667801857, -0.3191441595554352, -0.020892487838864326, -0.5166456699371338, -1.0533076524734497, -0.7426367998123169, -0.18643328547477722, -0.30651453137397766, -0.006363996304571629, 0.8993074893951416, 0.32828739285469055, -0.24722936749458313, -0.25044378638267517, -0.33588430285453796, 0.6700026988983154, -0.27241554856300354, -0.06326895952224731, 0.061465002596378326, -0.8012756109237671, -0.7824819684028625, 0.49995315074920654, 0.6398894190788269, 0.14896851778030396, -0.5226432681083679, 0.11570186167955399, -0.17383480072021484, 0.43016526103019714, 0.5353955626487732, 0.188993439078331, -0.843895435333252, -0.3946843147277832, -0.04057373106479645, -0.03728006035089493, 0.5663546323776245, 1.001853346824646, -1.0419082641601562, 0.8450330495834351, 0.5362416505813599, 0.7825374603271484, 0.30582907795906067, -0.3307391107082367, 0.44023624062538147, 0.09884506464004517, 0.2363676130771637, 0.4826471507549286, 0.1586456596851349, 0.086541548371315, -0.5386328101158142, 0.42604681849479675, 0.25969618558883667, -0.4468417167663574, -0.5864835381507874, 0.520997941493988, -1.114719271659851, -0.68234783411026, 0.8770307302474976, -0.009662674739956856, -0.5383175015449524, -0.4239952266216278, -0.27566811442375183, 0.31809043884277344, 0.02798398584127426, 0.5411916971206665, 0.7767617106437683, -0.4885982573032379, -0.20538567006587982, -1.1542655229568481, 0.4737820625305176, 0.1937623769044876, -0.41909343004226685, 0.0007837395532988012, 0.12225545942783356, -0.05755046755075455, 0.07242216169834137, 0.9721041917800903, 0.3793213963508606, -0.08838989585638046, 0.04343963786959648, -0.048986904323101044, 0.30810612440109253, -0.007723108399659395, -0.29501575231552124, 0.09587843716144562, -0.07272572815418243, -0.4459204375743866 ]
http://arxiv.org/abs/2403.00888v1
http://arxiv.org/pdf/2403.00888v1
Margin Discrepancy-based Adversarial Training for Multi-Domain Text Classification
2024-03-01T11:54:14
2024-03-01T11:54:14
Yuan Wu
cs.CL
cs.CL, cs.LG
Multi-domain text classification (MDTC) endeavors to harness available resources from correlated domains to enhance the classification accuracy of the target domain. Presently, most MDTC approaches that embrace adversarial training and the shared-private paradigm exhibit cutting-edge performance. Unfortunately, these methods face a non-negligible challenge: the absence of theoretical guarantees in the design of MDTC algorithms. The dearth of theoretical underpinning poses a substantial impediment to the advancement of MDTC algorithms. To tackle this problem, we first provide a theoretical analysis of MDTC by decomposing the MDTC task into multiple domain adaptation tasks. We incorporate the margin discrepancy as the measure of domain divergence and establish a new generalization bound based on Rademacher complexity. Subsequently, we propose a margin discrepancy-based adversarial training (MDAT) approach for MDTC, in accordance with our theoretical analysis. To validate the efficacy of the proposed MDAT method, we conduct empirical studies on two MDTC benchmarks. The experimental results demonstrate that our MDAT approach surpasses state-of-the-art baselines on both datasets.
[ -0.4681841731071472, -0.7744550108909607, 0.4601495563983917, -0.07370320707559586, -0.016006076708436012, 0.48990413546562195, -0.2682058811187744, -0.24517764151096344, -0.4192623496055603, 0.28582465648651123, -0.642219603061676, -0.5471081137657166, -1.109647274017334, -0.03399137780070305, 0.0882989913225174, 1.1147249937057495, -0.41280344128608704, -0.11804986000061035, -0.030062852427363396, -0.656494140625, -0.44537684321403503, -0.7648788690567017, -0.42023468017578125, -0.0706648975610733, 0.4199512302875519, 0.34423160552978516, 0.4902876317501068, 0.6371011734008789, 0.56584233045578, 0.2065155804157257, 0.07930159568786621, 0.781497061252594, -0.1488979309797287, -0.01680014096200466, 0.0395481176674366, -0.3997782766819, -0.26480066776275635, 0.18364711105823517, 0.3094674050807953, 0.33940786123275757, -0.3260950446128845, -0.3185271620750427, 0.37156111001968384, 0.9173334836959839, -0.8403157591819763, 0.06753070652484894, -0.4810970425605774, -0.019169336184859276, -0.2819742262363434, -0.4084074795246124, -0.7151437997817993, -0.36456236243247986, 0.18243621289730072, -0.7512266635894775, 0.7016472220420837, -0.21153540909290314, 0.8043586611747742, 0.26057666540145874, -0.9683539271354675, -0.4528406262397766, -0.8140993118286133, 0.872223973274231, -0.3248337209224701, 0.39271408319473267, 0.2981426417827606, 0.3393650949001312, -0.0039011910557746887, -0.4954889118671417, -0.34019458293914795, 0.09693325310945511, 0.2814626693725586, 0.23656973242759705, -0.4312405288219452, 0.03471449017524719, -0.052017975598573685, 0.33638662099838257, -0.7218459248542786, 0.1269572377204895, -0.1161346510052681, -0.011482378467917442, 0.346829354763031, 0.03956712782382965, 0.04712150990962982, 0.45203930139541626, -0.8011581301689148, -0.4832037687301636, -0.5619999170303345, 0.04232388362288475, 0.5562056303024292, 0.2804931700229645, -0.02689484879374504, 0.12909995019435883, 0.12761756777763367, 0.3356785178184509, 0.21240881085395813, 0.0483870655298233, 0.1323433816432953, -0.027407914400100708, -0.11756722629070282, -0.01435630489140749, 0.5904338359832764, 0.32356104254722595, -0.041298869997262955, 0.02950158901512623, 0.023585529997944832, 0.16870270669460297, 0.5369649529457092, -0.5822255611419678, -0.2812231481075287, 0.0752979964017868, -0.2937556505203247, -0.35940489172935486, 0.2513032853603363, -0.880579948425293, -0.7658560872077942, -0.27838242053985596, 0.34384384751319885, -0.49598896503448486, -0.35173729062080383, 0.1041199341416359, -0.0572371743619442, -0.4026959538459778, 0.42128294706344604, -0.609197735786438, 0.3967806398868561, 0.5549217462539673, 0.9028276801109314, -0.5142108798027039, -0.34357234835624695, -0.06443843990564346, -0.006913107354193926, -0.20195312798023224, 0.8757957816123962, -0.283374547958374, -0.40347081422805786, 0.09593959152698517, -0.331145703792572, -0.43833446502685547, -0.40633919835090637, 0.8872036337852478, -0.6466449499130249, 0.17197704315185547, -0.21882040798664093, -0.45737379789352417, -0.5074671506881714, 0.4868065416812897, -0.737799346446991, 0.5552121996879578, -0.010872261598706245, -1.2182228565216064, 0.4187402129173279, -0.5580585598945618, -0.5317150950431824, -0.3526492118835449, -0.0881262868642807, -0.8855562806129456, 0.043501466512680054, 0.3973165452480316, 0.44101816415786743, -0.22302381694316864, 0.10035284608602524, -0.3251352906227112, -0.22569993138313293, 0.5401079654693604, -1.048721194267273, 0.7669597864151001, 0.22821658849716187, -0.4336760640144348, -0.14547087252140045, -0.7911278605461121, -0.06241058558225632, 0.019592350348830223, -0.3552513122558594, -0.6230894923210144, -0.19201797246932983, 0.06433888524770737, 0.030809612944722176, -0.08901789039373398, -0.3080289661884308, 0.41456475853919983, -0.20960205793380737, 0.18890680372714996, 0.9875361919403076, 0.11906542629003525, 0.4952024221420288, -0.5146464109420776, 0.4616566002368927, 0.20393745601177216, 0.0059125227853655815, 0.278119295835495, -0.2529030442237854, -0.6244317889213562, -0.5486381649971008, 0.5164300799369812, 0.5657080411911011, -0.9805626273155212, 0.21898816525936127, -0.11108153313398361, -0.4613272547721863, -0.25461921095848083, -0.29140788316726685, 0.3975890874862671, 0.11998804658651352, 0.6722603440284729, -0.20056629180908203, -0.545904815196991, -0.7130385637283325, -0.27686503529548645, 0.04925190284848213, 0.286289244890213, 0.15066151320934296, 0.2746763527393341, -0.24789300560951233, 0.6218773722648621, -0.7466086745262146, -0.7800284624099731, -0.10020218789577484, 0.395163893699646, -0.12149520218372345, 0.3649788796901703, 0.4563317596912384, -1.0432182550430298, -0.5396161675453186, 0.1802920401096344, -0.6176825165748596, 0.4201000928878784, -0.24898770451545715, 0.1234123632311821, 0.4519360661506653, -0.04886624962091446, -0.4769819974899292, 0.5832966566085815, 0.5957942605018616, 0.03644014522433281, 0.663905918598175, -0.38115134835243225, 0.5004065632820129, -0.8433979749679565, -0.255135178565979, 0.25125810503959656, 0.13610661029815674, -0.8737887144088745, -0.03768443316221237, 0.3286776542663574, 0.23180070519447327, -0.09572573751211166, 0.2512097954750061, -0.4229097068309784, 0.5188549160957336, -0.4669612646102905, -0.1644614189863205, 0.13055731356143951, 0.6380664110183716, -0.07068893313407898, 0.9041876792907715, 0.47452953457832336, -0.9215271472930908, -0.04066275805234909, 0.1633145958185196, 0.1850043684244156, 0.8259670734405518, -0.09469597041606903, 0.13653549551963806, 0.23017194867134094, 0.5350502729415894, -0.7720955610275269, 0.07992231100797653, 0.1808774471282959, -0.6867185235023499, 0.592593789100647, -0.1884927898645401, -0.3251141607761383, -0.2065950483083725, -0.33343076705932617, 0.4852749705314636, 0.20369386672973633, -0.8045710325241089, 0.6106033325195312, 0.34401723742485046, 0.16112393140792847, -1.136325716972351, -0.6983728408813477, -0.057366251945495605, -0.3727878928184509, -0.3893715441226959, 0.37359917163848877, 0.038686640560626984, 0.011603901162743568, -0.2708921432495117, -0.41745585203170776, -0.40626490116119385, 0.13440939784049988, 0.32560470700263977, 0.12500981986522675, -0.10393471270799637, 0.004774824250489473, 0.23236720263957977, -0.06847255676984787, -0.0769810825586319, -0.5557377338409424, 0.27121901512145996, -0.15712502598762512, -0.4326905310153961, -0.4119740128517151, 0.2713123857975006, 0.47239255905151367, -0.2532884180545807, 0.6630110144615173, 0.6327717304229736, -0.2503220736980438, -0.6080958247184753, -0.4940001666545868, 0.21234650909900665, -0.44784361124038696, 0.2044524848461151, -0.5009041428565979, -0.669089138507843, 0.27758553624153137, -0.2846089005470276, -0.14215077459812164, 0.5529153347015381, 0.3388945460319519, 0.2059892863035202, 0.9779525995254517, 0.7546206712722778, 0.2458219677209854, 0.19864186644554138, -0.568417489528656, 0.01934177614748478, -0.7567024230957031, -0.015036116354167461, -0.5352423787117004, -0.006283009424805641, -0.5624332427978516, -0.22309920191764832, 0.09101559966802597, -0.1806289106607437, -0.2151518315076828, 0.5334861278533936, -0.5956544280052185, 0.3554771840572357, 0.640228271484375, 0.28297436237335205, 0.29457369446754456, 0.2164633870124817, -0.21660172939300537, -0.21442995965480804, -0.6489735841751099, -0.2742783725261688, 1.1833380460739136, 0.2808154225349426, 0.6158719658851624, 0.3255953788757324, 0.5770675539970398, 0.5749059319496155, 0.3059590458869934, -0.4347865879535675, 0.13242226839065552, -0.49289318919181824, -0.4144597351551056, 0.11694983392953873, -0.6575369238853455, -0.8150708675384521, 0.31508898735046387, 0.10626262426376343, -0.2940472960472107, 0.5549253821372986, -0.12680606544017792, -0.025130348280072212, 0.7428877949714661, -0.5869648456573486, 0.6610938310623169, -0.06665433943271637, -0.1540789157152176, -0.2201102375984192, -0.5423895716667175, 0.37347880005836487, -0.252663254737854, 0.28713634610176086, 0.1475679874420166, 0.07239729166030884, 0.7719738483428955, -0.1692579984664917, 0.7948074340820312, -0.4681340157985687, -0.16544696688652039, 0.21501797437667847, 0.2515529990196228, 0.5090093612670898, -0.09217634052038193, 0.05978476256132126, 0.3670789897441864, -0.16700197756290436, -0.3751348555088043, -0.5313491821289062, 0.6033180952072144, -0.9896051287651062, -0.3222658634185791, -0.8753197193145752, -0.5077165961265564, -0.555277943611145, 0.06457077711820602, 0.42253759503364563, 0.4034181833267212, -0.4077361524105072, 0.024173472076654434, 0.7594426870346069, -0.12404075264930725, 0.24344077706336975, 0.4185084402561188, 0.6866444945335388, -0.611595630645752, 0.9863643050193787, 0.08101735264062881, 0.22093772888183594, 0.6103737354278564, 0.04162992909550667, -0.5235169529914856, -0.8708121180534363, -0.44381067156791687, -0.16019679605960846, -0.8317949175834656, -0.5483008027076721, -0.5862525701522827, -0.2509014308452606, -0.31432291865348816, -0.21776358783245087, -0.3164484202861786, -0.4215738773345947, -0.4187915325164795, 0.036178864538669586, 0.3180786669254303, 0.7391303181648254, -0.18515455722808838, 0.38161590695381165, -0.6925970911979675, 0.08046237379312515, -0.020665308460593224, 0.31252729892730713, 0.10473565757274628, -0.549587607383728, -0.3568207025527954, 0.2922707200050354, -0.8958202600479126, -0.618539571762085, 0.27203553915023804, 0.08579874783754349, 0.5476926565170288, 0.3638080358505249, 0.4908089339733124, 0.4564019739627838, -0.5374119281768799, 0.3667924106121063, 0.37600985169410706, -0.809388279914856, 0.32848674058914185, -0.18123625218868256, -0.1615670621395111, 0.586076557636261, 0.4592839181423187, -0.31799280643463135, -0.31444451212882996, -0.7642475366592407, -0.5618563890457153, 0.5777602195739746, 0.28120487928390503, -0.19782042503356934, 0.3106801509857178, 0.0449957400560379, 0.534752368927002, 0.0020982027053833008, -0.49051180481910706, -0.4011075794696808, -0.2756299376487732, -0.4509890675544739, 0.06585975736379623, 0.08895013481378555, -0.26157641410827637, 0.2997276782989502, 0.7669166326522827, -0.18110233545303345, 0.11952265352010727, 0.28024762868881226, -0.2635413110256195, 0.10385308414697647, 0.4697440564632416, 0.8155069351196289, 0.6469992995262146, -0.11624903976917267, 0.3369255065917969, 0.19492697715759277, -0.8227598667144775, 0.6534736752510071, 0.5196859836578369, 0.07416711002588272, -0.1439182609319687, 0.3261190354824066, 0.5606400966644287, -0.3695972263813019, -0.2130688577890396, 0.7714595794677734, -0.5403306484222412, -0.5429307818412781, 0.011328174732625484, -0.15807324647903442, -0.544526994228363, 0.29729488492012024, 0.7249030470848083, 0.925674319267273, 0.23688779771327972, 0.12701940536499023, 0.4921974241733551, 0.24636825919151306, -0.5312665104866028, -0.029499907046556473, 0.5183207392692566, 0.032243307679891586, -0.07724782824516296, 0.10936856269836426, -0.1827603429555893, -0.733991801738739, 0.5926181077957153, 0.1965092122554779, 0.9456979632377625, -0.3407090902328491, 0.354876309633255, -0.0753440260887146, 0.29897451400756836, -0.28800076246261597, -0.5312811136245728, -0.009497134946286678, -0.5712643265724182, -0.1908901035785675, -0.1874065101146698, -0.5856887102127075, -0.08067434281110764, -0.6938673853874207, 0.10669396072626114, -0.46744006872177124, -0.18717195093631744, -0.06800969690084457, 0.33886831998825073, -0.3988701403141022, 0.16066545248031616, -0.15163086354732513, 0.6087381839752197, -0.6680203080177307, 0.8411898016929626, 0.5211183428764343, -0.36350882053375244, -0.38295209407806396, 0.4125124216079712, 0.24887433648109436, -0.52121502161026, 0.5356742143630981, 0.32098695635795593, -0.40252912044525146, -0.22821228206157684, -0.07861270755529404, -0.34561192989349365, 0.9287872910499573, -0.06956833600997925, -0.38291245698928833, 0.22548270225524902, 0.1814182996749878, 0.43387913703918457, -0.16355091333389282, -0.21025151014328003, 0.24943242967128754, 0.24861307442188263, -0.08397288620471954, -0.59859699010849, 0.22195537388324738, 0.10054051876068115, -0.07090678066015244, 0.13761134445667267, -0.5477842092514038, 0.8445397615432739, -0.2483530044555664, -0.5396230816841125, -0.04952958971261978, 0.5248714089393616, 0.246694415807724, 0.6090301871299744, 0.5378687381744385, 0.5132290124893188, 0.8284900188446045, -0.20224565267562866, 0.8626516461372375, 0.10558192431926727, 0.7390722036361694, 0.8945516347885132, -0.3959123194217682, 0.5040531754493713, 0.10126296430826187, -0.4102344512939453, 0.28538134694099426, 0.7227807641029358, -0.07111998647451401, 0.6958375573158264, 0.10053745657205582, -0.3904460370540619, 0.166351780295372, 0.18940547108650208, -0.5683147311210632, 0.09209178388118744, 0.25762805342674255, -0.015787245705723763, -0.2101477086544037, 0.3613099157810211, 0.022318869829177856, 0.36052969098091125, -0.01564386487007141, 0.6554375290870667, 0.06137091666460037, -0.24678459763526917, 0.7067300081253052, 0.3318619728088379, 0.9058531522750854, -0.41031715273857117, 0.07599479705095291, -0.16221405565738678, 1.0296047925949097, 0.07426591217517853, -0.6656829118728638, 0.20864078402519226, -0.14169152081012726, -0.1974305361509323, -0.07933258265256882, 0.6712560653686523, -0.2700740694999695, -0.2725220322608948, 0.29086315631866455, 0.37630680203437805, -0.47155988216400146, -0.3645114004611969, -0.7626526951789856, -0.09560172259807587, 0.06336136162281036, 0.00952890794724226, 0.41326889395713806, 0.8313974142074585, 0.19005520641803741, 0.5543501377105713, 0.6302729249000549, -0.06708338856697083, -0.16599412262439728, -0.08486029505729675, 0.7271161079406738, -0.33026090264320374, -0.5911094546318054, -0.8915721774101257, 0.14797084033489227, -0.030497068539261818, -0.3871751129627228, 0.7428704500198364, 0.5012019276618958, 0.8113983869552612, -0.13410183787345886, 1.0261709690093994, 0.14975127577781677, 0.5224899649620056, -0.5613997578620911, 0.7065510153770447, -0.5489394068717957, 0.27276861667633057, -0.10698723793029785, -0.6153742671012878, -0.640741229057312, 0.3345547318458557, -0.04570169746875763, 0.04257339984178543, 1.128253698348999, 0.4262921214103699, -0.2653706967830658, 0.20376484096050262, 0.1734638214111328, -0.01704566739499569, 0.5061666965484619, 0.6914598345756531, 0.9490496516227722, -0.6987977027893066, 1.0054452419281006, -0.24772223830223083, -0.3985998332500458, -0.22232884168624878, -0.5081942677497864, -0.9929726123809814, -0.711006224155426, -0.4015692174434662, -0.6346738338470459, 0.5550679564476013, 0.5608038902282715, 0.7921916246414185, -0.7962507605552673, 0.06699931621551514, -0.1627608686685562, 0.08468036353588104, -0.6593555212020874, -0.231135293841362, 0.7897366285324097, -0.18247663974761963, -0.45667654275894165, 0.1915498524904251, 0.01833699829876423, 0.3508475124835968, -0.05823609605431557, -0.08139966428279877, -0.26620835065841675, -0.013795481063425541, 0.2701858580112457, 0.15771271288394928, -0.5008581280708313, -0.11507519334554672, -0.11358149349689484, -0.2908286154270172, 0.3880142569541931, 1.040905475616455, -0.3378913700580597, 0.019865402951836586, 0.09332455694675446, 1.0711712837219238, 0.360158771276474, 0.08258451521396637, 0.41582849621772766, -1.1164557933807373, -0.13155119121074677, 0.14971457421779633, 0.07020597159862518, 0.32897043228149414, -0.4707288146018982, 0.40544557571411133, 0.4046994149684906, -0.5816807746887207, -0.7979646325111389, 0.2179776430130005, -0.9631089568138123, -0.5966701507568359, 0.9340425133705139, -0.2178376168012619, 0.03138747811317444, -0.2157680243253708, -0.40366965532302856, 0.2882240116596222, -0.4339653551578522, 0.719779372215271, 0.8306516408920288, -0.020032843574881554, -0.05343339964747429, -0.4227038621902466, 0.5349187850952148, 0.0769941583275795, -0.7067682147026062, 0.5312162041664124, 0.222425177693367, 0.15657024085521698, 0.27737531065940857, 0.27639633417129517, 0.05924392491579056, 0.23967166244983673, 0.3237168788909912, -0.06483745574951172, -0.27106958627700806, -0.5069111585617065, -0.5167962908744812, 0.35981547832489014, -0.13418592512607574, -0.36750802397727966 ]
http://arxiv.org/abs/2403.00462v2
http://arxiv.org/pdf/2403.00462v2
LUCID: LLM-Generated Utterances for Complex and Interesting Dialogues
2024-03-01T11:33:53
2024-05-03T16:57:07
Joe Stacey, Jianpeng Cheng, John Torr, Tristan Guigue, Joris Driesen, Alexandru Coca, Mark Gaynor, Anders Johannsen
cs.CL
cs.CL, I.2.7
Spurred by recent advances in Large Language Models (LLMs), virtual assistants are poised to take a leap forward in terms of their dialogue capabilities. Yet a major bottleneck to achieving genuinely transformative task-oriented dialogue capabilities remains the scarcity of high quality data. Existing datasets, while impressive in scale, have limited domain coverage and contain few genuinely challenging conversational phenomena; those which are present are typically unlabelled, making it difficult to assess the strengths and weaknesses of models without time-consuming and costly human evaluation. Moreover, creating high quality dialogue data has until now required considerable human input, limiting both the scale of these datasets and the ability to rapidly bootstrap data for a new target domain. We aim to overcome these issues with LUCID, a modularised and highly automated LLM-driven data generation system that produces realistic, diverse and challenging dialogues. We use LUCID to generate a seed dataset of 4,277 conversations across 100 intents to demonstrate its capabilities, with a human review finding consistently high quality labels in the generated data.
[ -0.34349822998046875, -0.7431251406669617, 0.5809692144393921, 0.04488702118396759, -0.2157706767320633, 0.30733203887939453, -0.13189968466758728, -0.40345919132232666, 0.39722415804862976, 0.8460939526557922, -0.5805189609527588, -0.6580056548118591, -0.23798498511314392, 0.10527455061674118, -0.29240256547927856, 1.0437495708465576, 0.25848889350891113, 0.05813780054450035, -0.47385174036026, -0.10697437077760696, -0.5326143503189087, -0.5581179261207581, -0.6062694191932678, -0.1435227394104004, 0.3159118890762329, 0.8272811770439148, 0.5563284158706665, 0.2886316776275635, 0.22551943361759186, 0.30349910259246826, 0.0948869064450264, 0.792339563369751, -0.8496218919754028, 0.613125741481781, -0.03559093922376633, -0.26939815282821655, -0.6420843005180359, -0.3456782102584839, 0.5996457934379578, 0.8233008980751038, -0.18583175539970398, -0.05665206536650658, 0.03760378807783127, 0.45969972014427185, -0.09584224969148636, 0.1035727858543396, -0.8310366868972778, -0.18724267184734344, -0.09172488749027252, -0.16275987029075623, -0.3909514248371124, -0.07972496747970581, 0.12229377031326294, -0.70088791847229, 0.07233978807926178, 0.156368687748909, 0.839363694190979, 0.2785913348197937, -0.19608844816684723, -0.36766117811203003, -1.1170880794525146, 0.9012973308563232, -0.6374201774597168, -0.03326774388551712, 0.22998103499412537, 0.3135257065296173, -0.3084733784198761, -0.6953709721565247, -0.6563605070114136, -0.23438706994056702, 0.23265361785888672, -0.12035401165485382, -0.04023504629731178, 0.2983049154281616, 0.2619568407535553, 0.13499869406223297, -0.2968266010284424, 0.11062072962522507, -0.2400347739458084, 0.09245060384273529, 0.9803974628448486, 0.6862682700157166, 0.2990418076515198, -0.2553679645061493, -0.0919031947851181, 0.09868597984313965, -0.594688355922699, -0.13226480782032013, 0.4323155879974365, 0.21943886578083038, 0.025627639144659042, 0.5785559415817261, -0.3399052917957306, 0.7135676145553589, -0.11166604608297348, -0.37017467617988586, 0.2138233184814453, -0.7197532057762146, -0.05462280660867691, -0.001388234319165349, 0.8208032250404358, 0.5221595168113708, 0.331773042678833, -0.0654866024851799, -0.35323524475097656, -0.4025493860244751, 0.378722220659256, -0.864612340927124, 0.04998643696308136, 0.6105536818504333, -0.028995361179113388, -0.3013538718223572, 0.007735666818916798, -0.4428989887237549, -0.2543143928050995, -0.45336490869522095, -0.11704451590776443, -0.28904473781585693, -0.20867225527763367, 0.05676792562007904, 0.17243868112564087, 0.11000965535640717, 0.6650586724281311, -0.8621422052383423, 0.3400026857852936, 0.7119495272636414, 0.6348668932914734, -0.4220319092273712, -0.022262541577219963, -0.5688209533691406, 0.22573517262935638, -0.3891594111919403, 0.7936031222343445, -0.5910316705703735, -0.6679919958114624, -0.011207574978470802, -0.1625215709209442, 0.1148700937628746, -0.7405974268913269, 0.626754641532898, -0.14126577973365784, 0.05354256182909012, -0.1592179834842682, -0.4716320335865021, 0.1353335827589035, 0.18547309935092926, -0.4750922620296478, 0.7681294679641724, 0.22022351622581482, -0.6221879124641418, 0.2740876376628876, -0.5816811919212341, -0.30855298042297363, 0.5281981825828552, -0.6984021663665771, -0.30522623658180237, 0.09524930268526077, 0.11471142619848251, 0.4399295151233673, -0.6917794942855835, 0.5975366234779358, -0.06205805391073227, -0.3165771961212158, 0.5197954773902893, -0.4658680558204651, 0.43084195256233215, 0.28210029006004333, -0.24526502192020416, 0.36971771717071533, -0.7939277291297913, 0.06089332327246666, -0.05469947308301926, 0.0684615895152092, -0.0727434977889061, 0.03006094880402088, 0.22621718049049377, 0.14056241512298584, 0.09320249408483505, -0.6965001821517944, 0.4020690619945526, -0.45116618275642395, 0.5543707609176636, 0.7244053483009338, 0.17822204530239105, 0.09257974475622177, -0.5422511100769043, 0.6123183965682983, 0.18459925055503845, 0.09859539568424225, -0.22871313989162445, -0.6175604462623596, -0.8224165439605713, -0.37845084071159363, 0.1309356689453125, 0.5590587258338928, -0.8427577018737793, 0.35906195640563965, -0.6697204113006592, -0.4051033556461334, -0.8442911505699158, 0.37977612018585205, 0.25645560026168823, 0.34131959080696106, -0.09069342911243439, -0.35858669877052307, -0.4650234580039978, -1.0970115661621094, 0.3231746554374695, -0.16859452426433563, -0.2652477025985718, 1.021970272064209, 0.26075923442840576, -0.43424031138420105, 1.1498141288757324, -0.3759208023548126, -0.19113701581954956, -0.4674759805202484, 0.20039261877536774, 0.18122492730617523, 0.3899877071380615, 0.09271562844514847, -0.910973072052002, -0.3579067587852478, 0.06967611610889435, -0.8701712489128113, -0.18097108602523804, -0.47757476568222046, -0.06073624640703201, 0.10646890103816986, 0.2849275767803192, -0.8595563769340515, 0.09973028302192688, 0.382718026638031, -0.0315389484167099, 0.5322201251983643, -0.20260222256183624, 0.21427424252033234, -1.4788590669631958, 0.06306122243404388, -0.41601380705833435, -0.257977157831192, -0.7345181703567505, -0.5123215317726135, -0.5480622053146362, -0.3334354758262634, -0.6146490573883057, 0.539880096912384, -0.35340172052383423, -0.3236997127532959, -0.02395148202776909, 0.341192364692688, -0.024468885734677315, 0.39390742778778076, 0.08535932749509811, 1.0157246589660645, 0.3146151900291443, -0.40993180871009827, 0.5753451585769653, 0.5364229679107666, -0.5219890475273132, 0.6250988245010376, -0.8290744423866272, 0.25067394971847534, 0.020716749131679535, 0.243991881608963, -1.0227793455123901, -0.6125355958938599, -0.04980989545583725, -0.4019058346748352, 0.11860240250825882, -0.05817054584622383, -0.5025559663772583, 0.02183743752539158, -0.1291942447423935, 0.6269060969352722, 0.48426321148872375, -0.34476909041404724, 0.5302807092666626, 0.6208575963973999, -0.6616151332855225, -0.5646950006484985, -0.29300954937934875, 0.5599103569984436, -0.08860678225755692, -0.8500169515609741, 0.39631664752960205, -0.38937756419181824, -0.502660870552063, -0.2737079858779907, 0.281858891248703, -0.014165119268000126, -0.0824240893125534, 0.7483844757080078, 0.17790034413337708, 0.012088734656572342, 0.00553350942209363, 0.12090659886598587, -0.11709464341402054, 0.035642318427562714, -0.2268427461385727, 0.49807053804397583, -0.09360680729150772, -0.5557958483695984, -0.674960732460022, 0.5433822274208069, 0.9812706708908081, 0.15442830324172974, 0.3976466655731201, 0.3860020339488983, -0.23519080877304077, -0.4021368622779846, -0.6352746486663818, -0.11906813085079193, -0.44104763865470886, 0.1905556172132492, -0.5645075440406799, -0.8019102215766907, 0.35032597184181213, -0.08942577242851257, 0.28382885456085205, -0.09300102293491364, 0.5903247594833374, -0.17993514239788055, 1.0383720397949219, 0.4331890642642975, 0.18323194980621338, 0.2173447459936142, -0.17981764674186707, 0.2086016684770584, -0.7818005681037903, -0.33216017484664917, -0.05348317697644234, -0.10645367205142975, -0.48717308044433594, -0.6287747621536255, 0.5457924008369446, -0.18243755400180817, 0.29469072818756104, -0.013321975246071815, -0.46868234872817993, 0.19281858205795288, 0.44578275084495544, -0.0972275510430336, 0.34739577770233154, 0.09758643805980682, 0.22041848301887512, -0.2325769066810608, -0.7148629426956177, -0.8242186307907104, 1.2415838241577148, 0.2032189965248108, 0.7076146602630615, 0.10985209792852402, 0.712554395198822, 0.48026835918426514, 0.30257561802864075, -0.8100653290748596, 0.7963687777519226, 0.12775364518165588, -0.3147168457508087, -0.3855798840522766, -0.46296849846839905, -1.036007046699524, -0.07842090725898743, -0.28231924772262573, -0.5370379686355591, 0.03608115762472153, 0.08005429059267044, -0.5313209891319275, 0.12399732321500778, -0.554834246635437, 0.6284717321395874, -0.2768859565258026, -0.5925045609474182, -0.2414538562297821, -0.5156116485595703, 0.4395017921924591, -0.1213938444852829, 0.0850120335817337, -0.28420284390449524, 0.037434209138154984, 0.537886381149292, -0.5699500441551208, 0.8381065726280212, 0.04517725482583046, -0.17087212204933167, 0.5269824266433716, 0.09828789532184601, 0.4064215421676636, 0.28306543827056885, -0.06149546802043915, 0.11767075210809708, -0.2037213146686554, -0.49287837743759155, -0.5220285058021545, 0.8766393065452576, -0.6893764138221741, -0.7064189910888672, -0.09091179072856903, -0.7986502647399902, -0.36371317505836487, -0.07074195146560669, -0.01782558485865593, 0.4489445090293884, -0.49025535583496094, 0.2729138731956482, 0.8575624227523804, -0.25254836678504944, 0.12810871005058289, 0.3505741357803345, -0.053881846368312836, -0.42187270522117615, 1.189433217048645, 0.1864844560623169, 0.49192968010902405, 0.14436474442481995, -0.23838134109973907, -0.058003589510917664, -0.6812291741371155, -0.711135983467102, 0.2640150785446167, -0.42290565371513367, -0.11517293006181717, -0.7479550838470459, -0.3525508940219879, -0.45838335156440735, -0.20821350812911987, -0.3844044506549835, -0.4499431848526001, -0.40364962816238403, -0.18348906934261322, 0.23371334373950958, 0.9776289463043213, 0.062430087476968765, 0.0879722610116005, -0.6838675737380981, 0.30859071016311646, 0.5404117703437805, -0.020342985168099403, -0.4520302414894104, -0.37560418248176575, -0.13093562424182892, 0.21899935603141785, -0.09123285859823227, -0.5385670065879822, 0.7171310782432556, 0.2507305443286896, 0.4382973313331604, 0.46146243810653687, 0.15055349469184875, 0.43111979961395264, -0.37364259362220764, 1.0511679649353027, -0.007919789291918278, -0.6053032279014587, 0.5875284075737, -0.47639915347099304, 0.10471359640359879, 0.5329803228378296, 0.2920094430446625, -0.3138335645198822, -0.3130432069301605, -0.8867319226264954, -0.9030221104621887, 0.6242355108261108, 0.3760615289211273, 0.24402488768100739, 0.05805187299847603, 0.40084341168403625, 0.25720903277397156, 0.42318907380104065, -0.25284504890441895, -0.03703197091817856, -0.03232609108090401, -0.2516423463821411, -0.01645156554877758, -0.5522284507751465, -0.341885507106781, -0.04808572307229042, 0.43230828642845154, -0.20526382327079773, 0.054344214498996735, 0.22005543112754822, 0.06153775379061699, -0.018647318705916405, 0.4000147581100464, 0.8013284802436829, 0.7219057679176331, -0.1861725151538849, -0.23093098402023315, 0.18911713361740112, -0.26655152440071106, 0.032431408762931824, -0.0945022851228714, -0.18842309713363647, 0.2144082486629486, 0.20914994180202484, 0.8897092342376709, 0.11524734646081924, -1.3160920143127441, 0.5252746939659119, -0.3007659614086151, -0.2595662474632263, -0.5238197445869446, 0.27531346678733826, 0.04170568659901619, -0.06468969583511353, 0.20090647041797638, -0.25026729702949524, 0.1375143975019455, -0.4347006380558014, 0.2877061665058136, 0.3941459059715271, -0.1950969099998474, -0.18425102531909943, 0.4418821930885315, 0.6933950781822205, -0.49760669469833374, 0.8661900162696838, -0.24230648577213287, -0.05929740518331528, 0.3888883888721466, 0.19069935381412506, 0.9056742191314697, -0.1888725459575653, 0.35321149230003357, 0.3014991879463196, 0.05145086348056793, 0.27850449085235596, 0.26681584119796753, -0.44491490721702576, -0.7748733162879944, -0.27396032214164734, -0.5858764052391052, -0.8619208335876465, 0.3636139929294586, -0.6019237041473389, 0.14248177409172058, -0.4185258150100708, -0.2050439566373825, -0.004048880655318499, -0.12814904749393463, -0.49566563963890076, 0.01736438274383545, 0.13979725539684296, 0.46039730310440063, -0.6685492396354675, 0.9245893955230713, 0.27417439222335815, -0.32700493931770325, -0.49653172492980957, -0.3364388644695282, -0.19505080580711365, -0.7761278748512268, 0.8338510394096375, 0.07427023351192474, -0.3705780804157257, 0.06799431145191193, -0.6310349702835083, -0.5090881586074829, 1.1276423931121826, 0.4150863587856293, -0.8425304889678955, -0.21197262406349182, 0.3913734555244446, 0.5564106106758118, -0.802703320980072, 0.35145407915115356, 0.5370835065841675, 0.1987345814704895, 0.3011940121650696, -0.9956476092338562, -0.28090840578079224, -0.4379357099533081, 0.04320737347006798, -0.2185945063829422, -0.46592479944229126, 0.5747179388999939, -0.4412301480770111, -0.3380107581615448, 0.08486346900463104, 0.601837694644928, 0.24088451266288757, 0.18532022833824158, 0.5496713519096375, 0.39879781007766724, 0.630682110786438, -0.04111102223396301, 0.8847116231918335, -0.4961603283882141, -0.21614010632038116, 1.1857391595840454, -0.5649458765983582, 0.8493765592575073, 0.4928230047225952, 0.27666422724723816, 0.45776310563087463, 0.5298665761947632, 0.2168193906545639, -0.028019428253173828, 0.3803626298904419, -0.6955782771110535, -0.5570391416549683, -0.7478169798851013, 0.059766367077827454, 0.30482983589172363, 0.9511969089508057, -0.12782365083694458, 0.27455341815948486, 0.21767985820770264, -0.28332412242889404, 0.19434800744056702, 0.11695024371147156, 1.166927695274353, 0.039174117147922516, -0.88523930311203, 0.8600807785987854, -0.3493427634239197, 0.46776652336120605, -0.5436900854110718, -0.42700234055519104, -0.3516990840435028, -0.13842643797397614, -0.27126142382621765, -0.7909175157546997, 0.03745301812887192, 0.13148505985736847, -0.0005747634568251669, -0.5750854015350342, 0.4091804325580597, -0.7029489278793335, -0.26565295457839966, 0.05833495035767555, 0.5573143362998962, 0.6209191679954529, 0.2528115510940552, -0.6701545715332031, 0.41220715641975403, 0.18199612200260162, -0.17066599428653717, 0.10043644160032272, 0.5239933729171753, -0.021910523995757103, 1.0425968170166016, 0.5856227874755859, 0.14976206421852112, -0.22028663754463196, 0.18218371272087097, 0.9674124121665955, -0.5529199838638306, -0.16146297752857208, -0.21736793220043182, 0.651716947555542, -0.39488181471824646, -0.3670662045478821, 0.5672370791435242, 0.6143878698348999, 0.6740832328796387, 0.1821848750114441, 0.9558249711990356, 0.15177281200885773, 0.5604739189147949, -0.48074570298194885, 0.42109471559524536, -0.29730984568595886, 0.5565750598907471, -0.05605664104223251, -0.6574867367744446, 0.10758019238710403, 0.4010690748691559, -0.12985429167747498, -0.11886148154735565, 0.28264614939689636, 1.057806372642517, 0.023715268820524216, -0.109226293861866, 0.7556992769241333, 0.4183512032032013, 0.6676093339920044, 0.7161552309989929, 0.9177888631820679, -0.15621349215507507, 0.5693541169166565, 0.09762245416641235, -0.15722724795341492, -0.4299774169921875, -0.5544366240501404, -0.8867968916893005, -0.8494767546653748, -0.2622159421443939, -0.4000791013240814, 0.13385994732379913, 1.0858335494995117, 0.9897668957710266, -0.6448963284492493, -0.45003440976142883, -0.2239464819431305, 0.1406107395887375, 0.2025591880083084, -0.2290520966053009, -0.007120685651898384, -0.4051676094532013, -1.0972167253494263, 0.7321609258651733, 0.3831355571746826, 0.2117471694946289, -0.5691393613815308, -0.17062050104141235, 0.2506692409515381, 0.2948210835456848, 0.5761477947235107, 0.3332141041755676, -0.7408954501152039, -0.108793243765831, -0.2165164351463318, -0.28839147090911865, 0.035292040556669235, 0.8622910976409912, -0.6686898469924927, 0.7879481315612793, 0.28290167450904846, 0.8713762164115906, 0.5774487853050232, 0.07770231366157532, 0.9466400742530823, -0.67896968126297, 0.08615842461585999, 0.538224458694458, 0.05216304957866669, 0.5226897597312927, -0.3916390538215637, 0.3176141679286957, 0.22549520432949066, -0.5911977291107178, -1.15639066696167, 0.36756059527397156, -1.2897365093231201, -0.09173504263162613, 1.2050869464874268, -0.11893071979284286, -0.1402687132358551, -0.3339720368385315, -0.5918809771537781, -0.24989956617355347, -0.5037021636962891, 0.7143020033836365, 0.5592426061630249, -0.5401206016540527, -0.02155853807926178, -0.6913204789161682, 0.8367041349411011, 0.541689395904541, -1.1088706254959106, 0.367098867893219, 0.6838182806968689, 0.08381284028291702, 0.15260499715805054, 0.7984327077865601, 0.22632785141468048, 0.14566555619239807, 0.12299752235412598, 0.07857780158519745, -0.09834606945514679, -0.5526294112205505, -0.06060781702399254, 0.28611889481544495, 0.24247440695762634, -0.02577073499560356 ]
http://arxiv.org/abs/2403.00887v1
http://arxiv.org/pdf/2403.00887v1
SEGAA: A Unified Approach to Predicting Age, Gender, and Emotion in Speech
2024-03-01T11:28:37
2024-03-01T11:28:37
Aron R, Indra Sigicharla, Chirag Periwal, Mohanaprasad K, Nithya Darisini P S, Sourabh Tiwari, Shivani Arora
eess.AS
eess.AS, cs.AI, cs.CL, cs.LG, cs.SD
The interpretation of human voices holds importance across various applications. This study ventures into predicting age, gender, and emotion from vocal cues, a field with vast applications. Voice analysis tech advancements span domains, from improving customer interactions to enhancing healthcare and retail experiences. Discerning emotions aids mental health, while age and gender detection are vital in various contexts. Exploring deep learning models for these predictions involves comparing single, multi-output, and sequential models highlighted in this paper. Sourcing suitable data posed challenges, resulting in the amalgamation of the CREMA-D and EMO-DB datasets. Prior work showed promise in individual predictions, but limited research considered all three variables simultaneously. This paper identifies flaws in an individual model approach and advocates for our novel multi-output learning architecture Speech-based Emotion Gender and Age Analysis (SEGAA) model. The experiments suggest that Multi-output models perform comparably to individual models, efficiently capturing the intricate relationships between variables and speech inputs, all while achieving improved runtime.
[ -0.33716893196105957, -0.4670380651950836, 0.592261791229248, 0.23930105566978455, 0.02465660497546196, 0.14009703695774078, 0.1686546802520752, -0.4191335141658783, -0.15142488479614258, 0.3566095232963562, -1.0646867752075195, -0.5780526995658875, -0.6069782972335815, -0.09720250964164734, -0.12095855176448822, 0.4212491512298584, 0.5046125650405884, 0.4830630421638489, 0.09094201028347015, -0.017792094498872757, -0.8110820055007935, -0.537150502204895, -0.9788699746131897, -0.2794674336910248, 0.5046558380126953, 0.595593273639679, 0.301663339138031, 0.10480035096406937, 0.01995946653187275, 0.37819185853004456, -0.002555068349465728, 0.06311769783496857, -0.2817050516605377, 0.4327206313610077, 0.392404168844223, -0.42352962493896484, -0.4830895960330963, 0.16565629839897156, 0.40104109048843384, 0.836799144744873, -0.3594070076942444, 0.012436301447451115, -0.15835776925086975, 1.0086320638656616, -0.5853245258331299, 0.4074040651321411, -0.5703315734863281, 0.3637377619743347, -0.009962250478565693, -0.009212261997163296, -0.32630714774131775, -0.38722455501556396, 0.35404786467552185, -0.2547185719013214, 0.17700950801372528, -0.33994150161743164, 0.34616830945014954, 0.3514866232872009, -0.6509785652160645, -0.39062100648880005, -0.8706508874893188, 0.6269862651824951, -0.9235029220581055, 0.4533326327800751, 0.0954589694738388, 0.4933590590953827, 0.06216134503483772, -0.4514237940311432, -0.32835158705711365, -0.07952389121055603, 0.27983275055885315, 0.41306033730506897, -0.49560874700546265, -0.04724367335438728, -0.10141972452402115, 0.044529661536216736, -0.38462305068969727, 0.33755263686180115, -0.638702929019928, 0.36451706290245056, 0.5682680010795593, 0.19826066493988037, 0.4839043617248535, -0.24043580889701843, -0.24514129757881165, -0.25916939973831177, -0.44739803671836853, 0.10244899243116379, 0.6846998333930969, 0.6459064483642578, -0.22738873958587646, 0.35270991921424866, -0.12148602306842804, 0.1311381459236145, 0.3708116412162781, 0.26865309476852417, 0.29037582874298096, 0.2701452672481537, -0.39099016785621643, 0.4502931535243988, 0.9412091374397278, -0.14991898834705353, 0.12227360904216766, -0.06900832056999207, 0.35000181198120117, 0.10856229066848755, 0.4983585476875305, -0.8180272579193115, 0.038380641490221024, 0.5055326819419861, -0.6211555600166321, -0.36466464400291443, 0.1253529042005539, -1.3699448108673096, -0.7619589567184448, -0.5348251461982727, -0.010888206772506237, -0.39610716700553894, -0.3407215476036072, 0.06009477749466896, 0.0930141881108284, -0.2856890559196472, 0.23024453222751617, -0.8154656887054443, 0.25207817554473877, 0.5966960191726685, 0.4908320903778076, 0.10429742932319641, -0.058636508882045746, -0.32836735248565674, -0.21468952298164368, -0.4618603587150574, 0.44450944662094116, -0.7127857804298401, -0.29040294885635376, -0.07963000237941742, -0.25022250413894653, -0.14956936240196228, -0.412091463804245, 0.6214169859886169, -0.2295563817024231, 0.39027467370033264, -0.0018491788068786263, -0.40022012591362, -0.5433333516120911, -0.6823691725730896, -0.7978217601776123, 0.4690244495868683, 0.014076649211347103, -0.4420037269592285, 0.5629942417144775, -0.7963594794273376, -0.15324118733406067, -0.09843317419290543, -0.19273602962493896, -0.4786943197250366, 0.6223747730255127, 0.3543577492237091, 0.6824902892112732, -0.4013494551181793, 0.6874797940254211, -0.710613489151001, -0.23411984741687775, 0.37512412667274475, -0.5701169371604919, 0.5709375739097595, 0.37972140312194824, -0.3630676865577698, 0.20097056031227112, -0.8719267845153809, -0.14597417414188385, 0.08747319877147675, 0.11218972504138947, -0.07536769658327103, 0.23777057230472565, -0.21846820414066315, 0.2926296889781952, -0.019840463995933533, -0.4617367088794708, -0.09957954287528992, -0.21632088720798492, 0.3156989514827728, 0.6974793076515198, -0.2665017545223236, 0.39980995655059814, 0.22070425748825073, 0.7911994457244873, 0.3216077983379364, 0.2149723917245865, 0.033135976642370224, -0.5137187838554382, -0.2843656837940216, -0.2049100548028946, 0.09480224549770355, 0.44882839918136597, -0.12148766964673996, 0.37185823917388916, 0.04009917750954628, -0.8825597763061523, -0.8136398792266846, -0.09076722711324692, 0.1342555582523346, 0.3010229766368866, 0.061917051672935486, -0.3552674353122711, -0.9465885758399963, -0.8008371591567993, -0.17535048723220825, -0.3446294665336609, -0.04954570531845093, 0.5754256248474121, -0.045501142740249634, -0.2757568061351776, 0.6436142921447754, -0.3700859248638153, -0.35445117950439453, -0.16065944731235504, 0.71245276927948, 0.15117275714874268, 0.3444215655326843, 0.4966491758823395, -0.5963490009307861, -0.13513681292533875, -0.06950023770332336, -0.7295895218849182, -0.2645814120769501, -0.014048328623175621, 0.07706062495708466, -0.03881654143333435, 0.08460252732038498, -0.37248557806015015, 0.35265105962753296, 0.7755674123764038, -0.2864265441894531, 0.34322333335876465, -0.028188396245241165, 0.4437357485294342, -0.8500589728355408, -0.10864348709583282, 0.29957115650177, 0.2779245674610138, -0.781518280506134, -0.546555757522583, -0.047811876982450485, -0.6093404293060303, -0.4243968725204468, -0.016579627990722656, -0.27488359808921814, -0.4296153783798218, -0.3459508717060089, -0.21241545677185059, -0.15880151093006134, 0.5150713324546814, -0.021194303408265114, 0.726204514503479, 0.47856009006500244, -0.429908812046051, 0.31999292969703674, 0.10680059343576431, -0.14724336564540863, 0.6340963840484619, -0.5507745742797852, 0.5932087898254395, -0.5010387897491455, 0.23149609565734863, -1.133461594581604, -0.09743919968605042, 0.07912629097700119, -0.7842199802398682, 0.5140280723571777, -0.0632442906498909, 0.0366077683866024, -0.2679968774318695, -0.15007881820201874, 0.11649547517299652, 0.4406435489654541, -0.41432124376296997, 1.1052011251449585, 0.553864598274231, -0.47696447372436523, -0.6580033898353577, -0.2620090842247009, 0.08274742215871811, -0.5812478065490723, -0.5876240730285645, 0.05370811000466347, 0.053729668259620667, -0.11101239174604416, -0.08110751211643219, -0.10392817109823227, -0.3833548128604889, 0.385429322719574, 0.6905652284622192, 0.2444518506526947, -0.4019809067249298, 0.2461247444152832, 0.25749075412750244, -0.17494192719459534, 0.3119162619113922, 0.20658311247825623, 0.5125395059585571, -0.19938579201698303, 0.015603589825332165, -0.6298012733459473, 0.735079288482666, 0.8250120282173157, -0.029282625764608383, 0.6656313538551331, 0.9629228115081787, -0.40061208605766296, -0.09161344915628433, -0.32466578483581543, 0.021517420187592506, -0.40986743569374084, 0.48718181252479553, -0.40084972977638245, -0.48761919140815735, 0.4420344829559326, -0.32999667525291443, -0.24581106007099152, 0.6756336092948914, 0.5405470132827759, -0.38008490204811096, 1.5984909534454346, 0.5655340552330017, -0.1568087488412857, 0.5229998230934143, -0.14459075033664703, -0.0013322483282536268, -0.904782772064209, -0.31334686279296875, -0.8948638439178467, -0.3047449290752411, -0.4639396369457245, -0.054490912705659866, 0.1648247390985489, -0.1721186488866806, -0.5591003894805908, 0.0016138397622853518, -0.38403648138046265, -0.1443527787923813, 0.4668741226196289, -0.062057528644800186, -0.06578432768583298, -0.21787048876285553, 0.27175283432006836, -0.30246490240097046, -0.5262100100517273, -0.5204926133155823, 0.9434201121330261, 0.5160089135169983, 0.8677287697792053, 0.19424979388713837, 0.5125916004180908, 0.36539700627326965, 0.24530409276485443, -0.6539283394813538, 0.21874384582042694, -0.7890774607658386, -0.6354018449783325, -0.16089588403701782, -0.7304849624633789, -1.1455618143081665, 0.3421291708946228, -0.1681588888168335, -1.0210049152374268, 0.6808745265007019, -0.17499200999736786, -0.5009867548942566, 0.2531147003173828, -0.8674643635749817, 0.7878405451774597, -0.39451953768730164, -0.026449380442500114, -0.2111848145723343, -0.5988813638687134, 0.7207022309303284, -0.15190620720386505, 0.20084281265735626, -0.5952980518341064, 0.13690240681171417, 0.8182992935180664, 0.18421514332294464, 1.1550185680389404, -0.3142891526222229, -0.2003975808620453, -0.07693137228488922, 0.06119535490870476, -0.24204514920711517, -0.06543642282485962, -0.08618815988302231, 0.40382349491119385, -0.03456614166498184, 0.13440607488155365, -0.5879855751991272, 0.7409473061561584, -1.17290461063385, -0.26274049282073975, -0.4576508402824402, -0.5987908244132996, -0.5259663462638855, -0.2879331409931183, -0.09254154562950134, 0.4874221086502075, -0.3498002588748932, 0.16755527257919312, 0.40369755029678345, -0.5502897500991821, 0.16864100098609924, 0.44040682911872864, -0.06841814517974854, -0.5741641521453857, 0.5702872276306152, -0.04502846673130989, 0.13258224725723267, 0.09091191738843918, 0.496865838766098, -0.45743969082832336, -0.04780948534607887, -0.49363210797309875, 0.11040031164884567, -0.6750196218490601, -0.050438184291124344, -0.6846624612808228, 0.008476649411022663, -0.6403795480728149, 0.2694985270500183, -0.6044067740440369, -0.03395606949925423, -0.741333544254303, 0.00010649819887476042, 0.07846444845199585, 0.9713719487190247, -0.09377829730510712, 0.25923800468444824, -0.8808565735816956, 0.5063839554786682, 0.5550687909126282, 0.1131853312253952, 0.27180081605911255, -0.09254588931798935, 0.2847002446651459, 0.09511618316173553, -0.38742879033088684, -1.4847558736801147, 0.8165876865386963, 0.4023407995700836, 0.3683871030807495, 0.5849034190177917, -0.1868942379951477, 0.6103219985961914, -0.32101956009864807, 0.6883593201637268, 0.3824496865272522, -1.1976308822631836, 0.6965959668159485, -0.07232165336608887, 0.1385827213525772, 0.4957331418991089, 0.3811213970184326, -0.7782878279685974, 0.13101531565189362, -0.7743998169898987, -0.800056517124176, 0.7958880662918091, -0.050699397921562195, 0.07422678917646408, 0.27040988206863403, 0.18963780999183655, 0.5210605263710022, 0.31561869382858276, -0.06977014243602753, -0.34026461839675903, -0.17082473635673523, -0.6043558120727539, -0.09391437470912933, -0.20703959465026855, 0.18978479504585266, -0.08462408185005188, 0.6579712629318237, -0.2413725107908249, 0.5891169905662537, -0.1237204372882843, 0.10756463557481766, -0.5161908268928528, 0.4817846119403839, 0.4511837661266327, 0.5404300093650818, -0.48204565048217773, -0.039685726165771484, 0.07263477146625519, -0.2372647523880005, 0.27575090527534485, 0.07142393290996552, 0.21456225216388702, 0.05319343879818916, 0.11925293505191803, 1.2905346155166626, 0.3479216992855072, -0.5563213229179382, 0.17977118492126465, -0.4246552586555481, 0.12005122750997543, -0.3547999858856201, -0.14980174601078033, 0.2690301835536957, 0.3639912009239197, 0.5044060349464417, 0.13724997639656067, 0.49762383103370667, -0.9164202809333801, 0.05510733276605606, 0.15675227344036102, -0.7971031069755554, -0.29470527172088623, 0.8010222911834717, 0.15055838227272034, -0.1491241455078125, 0.6893448233604431, 0.2163798063993454, -0.5673637390136719, 1.0346579551696777, 0.29967164993286133, 1.2485264539718628, -0.5685672163963318, 0.4433209300041199, 0.3939663767814636, 0.01076465006917715, 0.2648826837539673, 0.3430367410182953, 0.2632608711719513, -0.6242048740386963, -0.39331725239753723, -0.1995578408241272, -0.5217577219009399, 0.14780427515506744, -0.9934993386268616, 0.042572397738695145, -0.1930084079504013, -0.42678242921829224, 0.23081043362617493, 0.20530226826667786, -0.9841125011444092, 0.37621819972991943, 0.7876853346824646, 0.2242623269557953, -1.1552120447158813, 0.48151659965515137, 0.31741878390312195, -0.3870156407356262, -0.8410111665725708, -0.3623645603656769, 0.23914869129657745, -0.6328097581863403, 0.9322792887687683, 0.2644403576850891, -0.15268957614898682, -0.24442923069000244, -0.44148069620132446, -0.6977243423461914, 0.9886026978492737, 0.5281884074211121, -0.7018665075302124, 0.006994244176894426, -0.10032239556312561, 0.4553990662097931, -0.6893823742866516, 0.4528464674949646, 0.7581312656402588, 0.42315763235092163, -0.020274678245186806, -0.47442641854286194, -0.16789917647838593, -0.12015245854854584, 0.01794249564409256, -0.08765755593776703, -0.36688750982284546, 1.0242536067962646, -0.18938644230365753, -0.46125924587249756, 0.07786653935909271, 0.9197580218315125, 0.40035852789878845, 0.6024377346038818, 0.7112281322479248, 0.38054171204566956, 0.929142415523529, -0.13265641033649445, 0.9572048783302307, 0.20765650272369385, 0.16604796051979065, 1.1677924394607544, -0.4624718427658081, 0.660827100276947, -0.013431177474558353, -0.45960262417793274, 0.5678642988204956, 0.6798359751701355, 0.168831005692482, 0.489178866147995, 0.1789674013853073, 0.023586330935359, -0.08036217093467712, -0.15186314284801483, -0.3975510001182556, 0.8036338686943054, 0.5415774583816528, -0.3873685300350189, 0.09320199489593506, 0.16669170558452606, 0.025963013991713524, -0.31830647587776184, -0.07973875105381012, 0.928839921951294, 0.22080501914024353, -0.37328270077705383, -0.010418280027806759, -0.30053117871284485, 0.5552953481674194, -0.5421419143676758, -0.17424827814102173, -0.05308510363101959, 0.09583837538957596, -0.023595120757818222, -0.4219963252544403, 0.06954938918352127, 0.026406606659293175, -0.05672242119908333, 0.1492176353931427, 0.7365943193435669, -0.5384188294410706, -0.6343346834182739, 0.5252500772476196, 0.7361822128295898, 0.15537172555923462, -0.27651306986808777, -0.90560382604599, 0.13382643461227417, -0.2216624915599823, -0.06524915248155594, 0.18868210911750793, 0.6046680212020874, 0.4399672746658325, 0.584374189376831, 0.5909745693206787, 0.2008785903453827, 0.21313408017158508, 0.4764421880245209, 0.20470724999904633, -0.6043646335601807, -0.4139041304588318, -0.5610355734825134, 0.35228216648101807, -0.016446130350232124, -0.4493389427661896, 0.21896441280841827, 0.11227932572364807, 0.11293226480484009, -0.10676941275596619, 0.7254700064659119, 0.22067365050315857, 0.4375940263271332, -0.31023234128952026, 0.6891813278198242, -0.4540191888809204, -0.06423135846853256, -0.47817304730415344, -0.7051635384559631, 0.16900022327899933, 0.538299024105072, -0.05973842367529869, 0.3498300015926361, 0.5526138544082642, 0.2374681979417801, 0.14275826513767242, 0.5192537903785706, 0.29637566208839417, 0.16612929105758667, 0.40052875876426697, 0.7894527912139893, 0.999435544013977, -0.33860838413238525, 0.09185679256916046, -0.5005884170532227, 0.024200374260544777, -0.20091655850410461, -0.8149935603141785, -0.33858931064605713, -0.748670756816864, -0.3124334216117859, -0.05273187533020973, -0.09431025385856628, 0.8132641315460205, 0.9006401896476746, -0.7682002186775208, -0.29587727785110474, 0.29599422216415405, -0.1654997318983078, -0.6060193777084351, -0.19512201845645905, 0.35855934023857117, -0.21701644361019135, -0.9922395348548889, 0.7578538060188293, 0.06658861041069031, -0.15535485744476318, -0.5099189877510071, -0.002811879152432084, 0.002983628073707223, 0.3090294599533081, 0.39713436365127563, 0.03628372400999069, -0.7712352871894836, -0.17419390380382538, -0.23659856617450714, 0.05054233595728874, 0.14961466193199158, 0.8691517114639282, -0.8508051037788391, 0.4751400053501129, 0.37668314576148987, 0.5492806434631348, 0.39868301153182983, -0.010840337723493576, 0.975395679473877, -0.5943061113357544, -0.3352796137332916, 0.34069404006004333, 0.6427741646766663, 0.48514628410339355, -0.5911315083503723, 0.6435843110084534, -0.1751696765422821, -0.35187828540802, -0.6435851454734802, 0.040894489735364914, -1.2226507663726807, -0.3861684501171112, 0.6695939302444458, -0.13469573855400085, -0.20523349940776825, 0.05121035501360893, -0.4034428000450134, 0.7633564472198486, -0.7713743448257446, 0.8932167291641235, 0.5581023097038269, 0.01624356023967266, -0.34139618277549744, -0.7208461761474609, 0.0668993890285492, 0.4455203711986542, -1.1017658710479736, -0.02082723379135132, 0.5145809650421143, 0.005072687286883593, 0.01731671765446663, 0.2660669684410095, -0.1437431424856186, 0.3360857665538788, -0.06250927597284317, 0.2735339105129242, 0.060285378247499466, -0.4826754927635193, -0.8174259662628174, 0.5892130136489868, -0.45450764894485474, -0.2941398322582245 ]
http://arxiv.org/abs/2403.00438v1
http://arxiv.org/pdf/2403.00438v1
Your Model Is Not Predicting Depression Well And That Is Why: A Case Study of PRIMATE Dataset
2024-03-01T10:47:02
2024-03-01T10:47:02
Kirill Milintsevich, Kairit Sirts, Gaël Dias
cs.CL
cs.CL
This paper addresses the quality of annotations in mental health datasets used for NLP-based depression level estimation from social media texts. While previous research relies on social media-based datasets annotated with binary categories, i.e. depressed or non-depressed, recent datasets such as D2S and PRIMATE aim for nuanced annotations using PHQ-9 symptoms. However, most of these datasets rely on crowd workers without the domain knowledge for annotation. Focusing on the PRIMATE dataset, our study reveals concerns regarding annotation validity, particularly for the lack of interest or pleasure symptom. Through reannotation by a mental health professional, we introduce finer labels and textual spans as evidence, identifying a notable number of false positives. Our refined annotations, to be released under a Data Use Agreement, offer a higher-quality test set for anhedonia detection. This study underscores the necessity of addressing annotation quality issues in mental health datasets, advocating for improved methodologies to enhance NLP model reliability in mental health assessments.
[ -0.37270429730415344, -0.5993552207946777, 0.43898260593414307, 0.7038823366165161, -0.4200752079486847, -0.014787126332521439, -0.014106116257607937, -0.5714594721794128, 0.5757031440734863, 0.2492559254169464, -0.5550664663314819, -0.6236700415611267, -0.9390250444412231, 0.4675843417644501, -0.5115594863891602, 1.1283243894577026, 0.14518819749355316, -0.1426260620355606, -0.2965906858444214, -0.18089905381202698, -0.3313521444797516, -0.5941638946533203, -0.8012245297431946, -0.25493142008781433, 0.38117656111717224, 0.27046290040016174, 1.1042187213897705, 0.2915499806404114, 0.7008271217346191, 0.004023578483611345, -0.5148366689682007, 0.2480710744857788, -0.5871115922927856, -0.11490488797426224, 0.021087434142827988, -0.1951092779636383, -0.4807281196117401, 0.26307520270347595, -0.0421612374484539, 0.6191484928131104, -0.03006638213992119, 0.33499807119369507, -0.03288722038269043, 0.40410053730010986, -0.5784381031990051, -0.026289621368050575, -0.1423182487487793, 0.5338689684867859, -0.2387368530035019, 0.08619413524866104, -0.07394666224718094, -0.3300808072090149, -0.06773629784584045, -0.5967986583709717, 0.22344434261322021, -0.07854504883289337, 0.9227972030639648, 0.8352421522140503, -0.2643001973628998, -0.20430341362953186, -0.519379734992981, 0.612807035446167, -1.1048755645751953, -0.16526484489440918, 1.3004682064056396, 0.13879959285259247, -0.13521206378936768, -0.3665545582771301, -0.4128051996231079, -0.20489300787448883, -0.3080761730670929, 0.08705553412437439, -0.025054818019270897, -0.26757463812828064, 0.6134084463119507, 0.5462386012077332, -0.3994210958480835, 0.07358473539352417, -0.387759804725647, -0.2607938051223755, 0.9659867286682129, 0.15931811928749084, 0.3806953728199005, -0.6201016306877136, -0.09753047674894333, 0.4810786247253418, -0.15826278924942017, 0.28908970952033997, 0.18490120768547058, 0.06423371285200119, -0.42533424496650696, 0.7860404849052429, 0.039044804871082306, 0.4892784357070923, -0.0974913015961647, -0.2051580846309662, 0.2741776406764984, -0.032265737652778625, -0.10286690294742584, -0.060455720871686935, 0.8132830858230591, 0.7479891180992126, 0.2787107825279236, -0.13944914937019348, -0.2452905923128128, 0.17403140664100647, 0.6057339310646057, -0.5722219347953796, -0.6592903733253479, 0.6188984513282776, -0.6884444355964661, -0.2525758445262909, -0.3739398419857025, -0.7121769189834595, -0.760134220123291, -0.20920932292938232, 0.22824609279632568, -0.4963657259941101, -0.4751805365085602, 0.04796142131090164, -0.15459898114204407, -0.5844187140464783, 0.45612001419067383, -0.809441864490509, 0.2908565104007721, 0.5472697019577026, 1.146966814994812, -0.03692226484417915, 0.028052322566509247, -0.01486833207309246, -0.26673415303230286, -0.6475867033004761, 0.7438724040985107, -0.3484354317188263, -0.36166101694107056, -0.1997225284576416, 0.2910361886024475, 0.002193199237808585, -0.4809829592704773, 0.8014974594116211, 0.14207950234413147, 0.32973235845565796, -0.4700033962726593, -0.4964333474636078, -0.26399046182632446, 0.2357969880104065, -0.753829300403595, 1.0046007633209229, 0.36504673957824707, -1.3497803211212158, 0.29658982157707214, -0.4412696063518524, -0.49359583854675293, -0.013373985886573792, -0.06990033388137817, -0.3956635296344757, 0.2404174655675888, 0.26610782742500305, 0.6025152802467346, 0.023877229541540146, 0.43601107597351074, -0.8449057340621948, -0.417460560798645, 0.47123533487319946, -0.0311027392745018, 0.9167466163635254, -0.11166932433843613, 0.007234335411339998, -0.36169084906578064, -0.8156306743621826, -0.36560916900634766, -0.12700486183166504, -0.21159160137176514, -0.450063556432724, 0.2607853412628174, 0.1326145976781845, 0.46827763319015503, 0.06658795475959778, -0.6970006227493286, 0.02893603965640068, -0.12184374779462814, 0.6655386090278625, 0.3545168340206146, 0.13412557542324066, -0.15777020156383514, -0.3431597352027893, 0.40481799840927124, -0.006015920080244541, 0.31652265787124634, 0.2822641432285309, -0.8732415437698364, -0.054742299020290375, -0.588676929473877, 0.4249125123023987, 0.49202850461006165, -0.41013434529304504, 0.6289002299308777, 0.14636670053005219, -0.5557589530944824, -0.5856486558914185, -0.12407299131155014, -0.0310739167034626, 0.6630258560180664, 0.6971266269683838, -0.4883098602294922, -0.44040486216545105, -0.864126980304718, 0.18017445504665375, -0.20733115077018738, -0.1340223252773285, 0.14310063421726227, 0.5405171513557434, -0.4397525191307068, 0.8315631151199341, -0.2124660611152649, -0.4463707208633423, -0.021073170006275177, 0.5082190036773682, 0.1859450787305832, 0.5012502074241638, 0.5677844882011414, -0.7205754518508911, -0.052621398121118546, -0.37454795837402344, -1.0082049369812012, 0.016750792041420937, -0.07850054651498795, -0.10633305460214615, -0.08884893357753754, -0.3422492742538452, -0.6391109824180603, 0.7112305760383606, 0.569577157497406, -0.24256658554077148, 0.5220026969909668, 0.11616400629281998, 0.08344343304634094, -0.7711135149002075, 0.18429870903491974, 0.28547918796539307, -0.03947903588414192, -0.5269030332565308, -0.7788308262825012, -0.01765822246670723, -0.22625523805618286, 0.00533865625038743, 0.20804090797901154, 0.18681803345680237, 0.11869658529758453, -0.4773537516593933, 0.13119326531887054, 0.21191231906414032, 0.16806267201900482, 0.09622371941804886, 0.37294474244117737, 0.6787545084953308, -0.4288303852081299, 0.19241711497306824, 0.6991944313049316, -0.1210496723651886, 0.5319816470146179, -0.5701851844787598, -0.231154665350914, -0.16687607765197754, 0.19486506283283234, -0.8958905935287476, -0.46445685625076294, 0.4371369481086731, -0.6369922757148743, 0.07060135155916214, 0.26885345578193665, -0.3305497467517853, -0.4751901626586914, -0.22745782136917114, 0.32949990034103394, -0.010010152123868465, -0.27003809809684753, 0.08218559622764587, 0.45141172409057617, -0.11539111286401749, -0.6371578574180603, -0.9157318472862244, 0.2784135937690735, -0.4174271523952484, -0.4691016972064972, 0.43935227394104004, 0.31783732771873474, -0.20788808166980743, 0.122291699051857, -0.26354533433914185, -0.33082079887390137, 0.5469318628311157, 0.4809240996837616, 0.022920217365026474, 0.12114914506673813, 0.5263312458992004, -0.04708657041192055, -0.1315814107656479, 0.3050380051136017, 0.5656341314315796, 0.0583135150372982, 0.5278126001358032, 0.09797678142786026, -0.9462604522705078, 0.2745154798030853, 0.30424463748931885, 0.06483878940343857, 0.6844449639320374, 0.5697343945503235, -0.9952190518379211, 0.02397381328046322, -0.313986599445343, -0.11658523976802826, -0.2509225904941559, -0.03447882458567619, -0.03826306387782097, -0.5709085464477539, 0.7003260254859924, 0.06643322855234146, -0.048684392124414444, 0.41345909237861633, 0.1035335510969162, -0.22679120302200317, 1.2935017347335815, 0.8040105104446411, -0.22677521407604218, 0.15051287412643433, -0.1746370494365692, 0.36601054668426514, -0.7997857928276062, 0.02035953290760517, -0.32414790987968445, -0.24484266340732574, -0.6560373902320862, -0.017891183495521545, -0.17412081360816956, 0.4397124946117401, -0.29128095507621765, 0.3894907832145691, -0.6647533178329468, -0.2677861452102661, 0.22923560440540314, 0.36696329712867737, 0.22241529822349548, -0.1886587142944336, 0.3856993317604065, -0.4146218001842499, -0.4412202835083008, -0.8922803997993469, 0.7566351294517517, 0.5341756343841553, 0.5621345043182373, -0.029516208916902542, 0.47872745990753174, 0.7564900517463684, 0.5180597305297852, -0.5255375504493713, 0.12009741365909576, -0.3664635717868805, -0.7620090842247009, -0.36356329917907715, -0.52311110496521, -0.6232609748840332, -0.05685509368777275, -0.3724587857723236, -1.0929096937179565, 0.6287668943405151, 0.05923843756318092, -0.7834282517433167, -0.03980625048279762, -0.39303311705589294, 1.0329499244689941, -0.19157496094703674, 0.07315613329410553, -0.02832016348838806, -0.6196276545524597, 0.7138596773147583, -0.3608899712562561, 0.2764126658439636, -0.8982664942741394, 0.047851551324129105, 0.9785935282707214, -0.4550250470638275, 0.780809760093689, -0.09861268848180771, 0.08335259556770325, 0.20618364214897156, 0.08023258298635483, -0.03784665837883949, 0.5447710752487183, -0.538639485836029, 0.29154565930366516, 0.3660790026187897, -0.5499400496482849, -0.33398890495300293, 0.21826153993606567, -0.9737309813499451, -0.42864179611206055, -0.26591619849205017, -0.2627003490924835, -0.10432577133178711, -0.13367889821529388, 0.3221176862716675, 0.39844557642936707, 0.0891731008887291, -0.10796941816806793, 0.03379404544830322, -0.4116115868091583, 0.21812516450881958, 0.005511261057108641, -0.08650216460227966, -0.6993533968925476, 0.735601007938385, 0.316860556602478, -0.0326269157230854, -0.0963054895401001, 0.11839242279529572, -0.058438487350940704, -0.289118230342865, -0.2869943380355835, 0.3964154124259949, -0.5797300338745117, -0.3220256567001343, -0.6736955642700195, -0.07661991566419601, -0.6507536172866821, 0.12249770760536194, -0.39449018239974976, -0.6871461272239685, -0.5867571234703064, -0.3459111750125885, 0.6376098990440369, 0.7793412208557129, -0.472947895526886, 0.20509479939937592, -0.4847997725009918, 0.5470083951950073, -0.1612267941236496, 0.22503218054771423, 0.0874815434217453, -0.46963369846343994, -0.3475945293903351, 0.18595226109027863, -0.4261273741722107, -1.0929176807403564, 0.8121222853660583, 0.10361172258853912, 0.3349469006061554, 0.6049038767814636, 0.559131920337677, 0.7857522964477539, 0.1131826639175415, 0.8523606657981873, 0.08559509366750717, -1.0712909698486328, 0.7642650604248047, 0.019750118255615234, -0.09418488293886185, 0.6682132482528687, 1.0769212245941162, -0.8400183320045471, -0.5605468153953552, -0.6609781980514526, -0.893754243850708, 0.7736369967460632, 0.3985939621925354, 0.015613218769431114, -0.2876344621181488, 0.7558543086051941, 0.3366096019744873, 0.29427117109298706, -0.785517692565918, -0.33570799231529236, -0.8069507479667664, -0.08664485812187195, -0.35754138231277466, -0.42390578985214233, -0.028658274561166763, -0.21953114867210388, 0.6422221660614014, -0.025144584476947784, 0.22554990649223328, 0.406471848487854, 0.2504296600818634, -0.36530449986457825, -0.3174213469028473, 0.24697968363761902, 0.8436759114265442, -0.572293221950531, 0.2989904284477234, -0.05384808033704758, -0.4493500888347626, -0.037760138511657715, 0.260673850774765, -0.20001831650733948, 0.34953048825263977, 0.5667585730552673, 0.6267151236534119, -0.13187724351882935, -0.4975109100341797, 0.4971795678138733, -0.11729733645915985, -0.03310651332139969, -0.3287625312805176, -0.05734778568148613, 0.15788549184799194, 0.026827944442629814, 0.2586354613304138, -0.11613243818283081, 0.4086856245994568, -0.21984434127807617, 0.05325471609830856, 0.11838686466217041, -0.6322354078292847, -0.5330987572669983, 0.5960134267807007, -0.057696420699357986, -0.5291895866394043, 0.82137131690979, -0.15076084434986115, -0.2369777411222458, 0.6511983871459961, 0.0982527881860733, 0.400674968957901, -0.11878494918346405, 0.5894208550453186, 0.6346579790115356, 0.38148704171180725, -0.3932030498981476, 0.3084612488746643, 0.14683181047439575, -0.47376060485839844, -0.44606584310531616, -0.6269724369049072, -0.5797695517539978, 0.34561887383461, -0.7900602221488953, 0.3222821354866028, -0.4354616701602936, -0.8696398735046387, 0.09766995161771774, 0.0618336983025074, -0.24661128222942352, 0.6643590331077576, 0.3250998854637146, 0.7210066914558411, -1.1488127708435059, 0.48803362250328064, 0.5871833562850952, -0.7347745895385742, -0.45411184430122375, 0.1896985024213791, -0.05070493370294571, -0.27694806456565857, 0.40116947889328003, 0.7215264439582825, 0.5252435207366943, -0.34942811727523804, -0.569085955619812, -1.0507311820983887, 0.9229686260223389, 0.2746097147464752, -0.14225070178508759, 0.2282627671957016, 0.23633335530757904, 0.7821545600891113, -0.3980594873428345, 0.3088855743408203, 0.23157379031181335, 0.3907817006111145, -0.07146419584751129, -0.775364339351654, 0.19068937003612518, -0.34206798672676086, 0.0761626660823822, -0.2353108525276184, -0.33738455176353455, 0.8082883358001709, -0.22392752766609192, -0.5538778901100159, 0.06198261305689812, 0.4303235113620758, 0.03593205660581589, 0.5474579930305481, 0.2851651906967163, 0.8214500546455383, 0.9259820580482483, 0.11946538835763931, 0.9167096018791199, -0.11783072352409363, 0.6148592829704285, 0.9900160431861877, -0.2980310618877411, 0.9572855234146118, 0.06136220321059227, -0.12024260312318802, 0.24113966524600983, 1.5034817457199097, -0.1443711817264557, 0.4985108971595764, 0.3377867341041565, -0.0631714016199112, -0.5561062097549438, -0.2878299057483673, -0.31955283880233765, 0.042941782623529434, 0.5420206189155579, -0.5757958889007568, -0.17790468037128448, 0.18091131746768951, -0.1264658272266388, -0.1222105473279953, -0.06354774534702301, 0.6401325464248657, 0.37985312938690186, -0.10871008038520813, 0.654220700263977, -0.10756651312112808, 0.45381489396095276, 0.20682267844676971, 0.08486650884151459, -0.37197116017341614, -0.15580250322818756, -0.6244193315505981, -0.6378270387649536, 0.7142230868339539, -0.035603173077106476, -0.3383241593837738, 0.08373015373945236, 0.6169227957725525, -0.04954412207007408, -0.6136370301246643, 0.4491933584213257, 0.590796172618866, 0.6120874285697937, -0.14195840060710907, -0.8409895896911621, -0.3088987469673157, -0.28762397170066833, -0.2651483714580536, 0.12331746518611908, 0.784070611000061, -0.1793275624513626, 0.7330631017684937, 0.3007294237613678, 0.05671371892094612, -0.42013683915138245, -0.018181191757321358, 0.6411969065666199, -0.74175626039505, -0.12172816693782806, -0.7685699462890625, 0.3751571774482727, -0.22766710817813873, -0.6431393027305603, 0.5934506058692932, 0.295544296503067, 0.531326413154602, 0.3154643476009369, 0.6766929626464844, -0.16315792500972748, 0.7816013693809509, 0.045695189386606216, 0.6822012066841125, -0.6416687965393066, 0.09806552529335022, -0.038247887045145035, -0.6917827725410461, -0.5777037739753723, 0.8866976499557495, -0.6458287835121155, -0.15646038949489594, 0.4801553785800934, 0.5649085640907288, 0.08249408006668091, 0.5113627910614014, 0.3002999722957611, 0.44076141715049744, 0.08667691797018051, 0.2641160190105438, 1.0283511877059937, -0.14303702116012573, -0.029755037277936935, -0.9297657608985901, -0.1894289255142212, -0.06931190192699432, -0.8148337006568909, -0.9968624114990234, -0.2750808298587799, -0.8145402669906616, -0.38416820764541626, 0.22699210047721863, 0.7321048974990845, 0.49174532294273376, -0.7326875925064087, -0.022130118682980537, 0.1580570787191391, 0.06254377216100693, -0.4609733819961548, -0.21994300186634064, 0.4431867003440857, -0.3822861909866333, -0.12490590661764145, -0.25999215245246887, 0.15791572630405426, 0.03561300039291382, -0.2543904483318329, 0.32841408252716064, -0.3012312948703766, -0.34689009189605713, 0.3057859241962433, 0.09738526493310928, -0.6235001683235168, -0.2951720058917999, -0.36546561121940613, -0.22770312428474426, 0.2192152440547943, 0.15433090925216675, -0.4535636603832245, 0.030783193185925484, 0.11909252405166626, 0.2740788757801056, 0.15651176869869232, 0.34953922033309937, 0.35549846291542053, -0.3115489184856415, -0.3583446443080902, 0.4299986958503723, 0.34573420882225037, 0.787074863910675, -0.7165853381156921, 0.7427079081535339, 0.30778583884239197, -0.6361439228057861, -0.7568844556808472, -0.2828364670276642, -0.8912954926490784, -0.2943286597728729, 0.9882838129997253, -0.6837764978408813, -0.4374784827232361, -0.506976842880249, -0.2911511957645416, 0.23962317407131195, -0.471004456281662, 1.5465036630630493, 0.8014037609100342, -0.5205177068710327, 0.12566818296909332, -0.8461868762969971, 0.7623947858810425, 0.31556272506713867, -0.6008455157279968, 0.2724486291408539, 0.35471028089523315, -0.06870036572217941, 0.38931286334991455, 0.5516093373298645, 0.1638682782649994, 0.32346078753471375, -0.07431769371032715, 0.21394477784633636, 0.16867445409297943, 0.13886377215385437, -0.25312885642051697, 0.1102636530995369, -0.04382169246673584, 0.021786002442240715 ]
http://arxiv.org/abs/2403.00435v1
http://arxiv.org/pdf/2403.00435v1
Hierarchical Indexing for Retrieval-Augmented Opinion Summarization
2024-03-01T10:38:07
2024-03-01T10:38:07
Tom Hosking, Hao Tang, Mirella Lapata
cs.CL
cs.CL
We propose a method for unsupervised abstractive opinion summarization, that combines the attributability and scalability of extractive approaches with the coherence and fluency of Large Language Models (LLMs). Our method, HIRO, learns an index structure that maps sentences to a path through a semantically organized discrete hierarchy. At inference time, we populate the index and use it to identify and retrieve clusters of sentences containing popular opinions from input reviews. Then, we use a pretrained LLM to generate a readable summary that is grounded in these extracted evidential clusters. The modularity of our approach allows us to evaluate its efficacy at each stage. We show that HIRO learns an encoding space that is more semantically structured than prior work, and generates summaries that are more representative of the opinions in the input reviews. Human evaluation confirms that HIRO generates more coherent, detailed and accurate summaries that are significantly preferred by annotators compared to prior work.
[ -0.3341178596019745, -0.5790786147117615, 0.48159584403038025, -0.07197598367929459, -0.274821013212204, 0.2852657437324524, -0.09411630779504776, -0.5235705375671387, 0.7530513405799866, 0.3816068768501282, 0.03812772035598755, -0.5947232842445374, -0.47430065274238586, 0.0642286017537117, -0.38115671277046204, 1.423335313796997, 0.2224119007587433, -0.25115036964416504, -0.14808154106140137, -0.03545626252889633, 0.24330511689186096, -0.6442428827285767, -0.18997524678707123, -0.4440842270851135, 0.582760751247406, 0.4403913915157318, 0.7407940030097961, 0.5407533645629883, 0.540228009223938, 0.27958908677101135, -0.34074023365974426, 0.23874413967132568, -0.5665246844291687, 0.023419702425599098, -0.09605003893375397, -0.4591939449310303, -0.7567248940467834, -0.012330937199294567, 0.7347071766853333, 0.8530095219612122, -0.3149075508117676, 0.11776986718177795, 0.10050243139266968, 0.9198590517044067, -0.7374311089515686, 0.12197965383529663, -0.5787526369094849, 0.11089897155761719, -0.07949234545230865, -0.33791443705558777, -0.2155393362045288, -0.5811960697174072, 0.28998345136642456, -0.6169038414955139, 0.06932365149259567, 0.1633240282535553, 0.5641008615493774, -0.05992210656404495, -0.32226744294166565, -0.3620009124279022, -0.6504300832748413, 0.9239981174468994, -0.6393681764602661, -0.04134321212768555, 0.14574050903320312, 0.2649413049221039, 0.1660260409116745, -0.5912182927131653, -0.35583141446113586, 0.22496835887432098, -0.15587544441223145, 0.5534803867340088, -0.14470534026622772, 0.09698544442653656, -0.2254050374031067, 0.9039452075958252, -0.3584902584552765, -0.061012815684080124, -0.2580798268318176, 0.049347855150699615, 0.5482465028762817, 0.10415834933519363, 0.05308092013001442, -0.7096680998802185, -0.29866427183151245, -0.026928814128041267, -0.7487133145332336, 0.10398069024085999, 0.37642738223075867, 0.015668703243136406, 0.21324244141578674, 0.7039060592651367, -0.5434054136276245, 0.15864033997058868, 0.2738397419452667, -0.30775508284568787, 0.5405439734458923, -0.3461402654647827, -0.11987045407295227, 0.10257498174905777, 0.8622279763221741, 0.5307562351226807, 0.036340873688459396, -0.11490528285503387, -0.3758189380168915, -0.11943815648555756, 0.3230549991130829, -0.7896934747695923, -0.04944184422492981, 0.28449463844299316, -0.6952006220817566, -0.5878894329071045, 0.38120347261428833, -1.0468140840530396, -0.21623511612415314, -0.09034813195466995, 0.409410297870636, -0.028996944427490234, -0.13607622683048248, -0.009413902647793293, -0.3306863009929657, -0.0750778540968895, 0.3140557110309601, -1.1141748428344727, 0.46021759510040283, 0.8408947587013245, 0.684119462966919, -0.4374590814113617, -0.2785181999206543, -0.3596114218235016, 0.1939093917608261, -0.4641842842102051, 1.083978295326233, -0.6090016961097717, -0.5096398591995239, 0.04105125740170479, -0.19666998088359833, 0.057535089552402496, -0.8288260698318481, 0.12227170169353485, -0.6108322739601135, 0.24027420580387115, -0.08826765418052673, -0.36811578273773193, -0.2634355425834656, 0.4243902266025543, -0.43484610319137573, 1.1913728713989258, 0.028913816437125206, -0.9291067123413086, 0.26381295919418335, -0.6741600036621094, -0.6004733443260193, -0.06893040239810944, -0.18586695194244385, -0.32036927342414856, 0.3667297065258026, 0.5116357803344727, 0.37782904505729675, 0.046100541949272156, 0.09305248409509659, -0.004893335048109293, -0.3749779164791107, -0.14802345633506775, 0.11308471858501434, 0.33020415902137756, 0.15716294944286346, -0.10893639922142029, 0.4496510624885559, -0.6469413042068481, -0.13500739634037018, -0.28795650601387024, -0.518197774887085, -0.6123619079589844, 0.22644655406475067, -0.16317400336265564, -0.1133103296160698, 0.5318220853805542, -0.5434744954109192, 0.07568542659282684, -0.8948805332183838, 0.33309367299079895, 0.6491655111312866, 0.5125951766967773, 0.5559453964233398, -0.1958046853542328, 0.34302160143852234, 0.25860634446144104, 0.11356624215841293, -0.3979039490222931, -0.21935516595840454, -0.6606488823890686, -0.2743734121322632, 0.1111186221241951, 0.41454681754112244, -0.5282477140426636, 0.7153620719909668, -0.3233006000518799, -0.39447322487831116, -0.6770210862159729, 0.006512303836643696, 0.3854580521583557, 0.5280048847198486, 0.3780233561992645, -0.47497740387916565, -0.6169400215148926, -1.021589994430542, -0.2125086933374405, -0.5060795545578003, 0.04750743880867958, 0.1871887594461441, 0.8587514758110046, -0.2701174318790436, 0.8276371955871582, -0.5524466037750244, -0.055635806173086166, -0.385701447725296, 0.7464604377746582, 0.35992613434791565, 0.17877189815044403, 0.2295324206352234, -0.5242000818252563, -0.28952911496162415, 0.2503887116909027, -0.826102614402771, 0.17355501651763916, 0.15633730590343475, -0.09000543504953384, -0.07040048390626907, 0.3344651758670807, -0.3220786452293396, 0.23700672388076782, 0.011820854619145393, 0.33727872371673584, 0.4173727333545685, -0.3106449842453003, 0.4559887647628784, -1.3547948598861694, 0.10914899408817291, -0.14660178124904633, -0.24255891144275665, -0.18447783589363098, 0.20848122239112854, -0.25001251697540283, -0.011563336476683617, -0.2579444348812103, 0.12133248150348663, -0.3819587230682373, -0.3417162597179413, -0.435546875, 0.16222739219665527, 0.0012899431167170405, 0.6401532888412476, 0.17888644337654114, 0.7332473993301392, 0.14180076122283936, -0.3588232696056366, 0.09748746454715729, 0.3441862165927887, -0.682944118976593, 0.37814071774482727, -0.9525327086448669, 0.06105925515294075, -0.3951876163482666, 0.17963650822639465, -0.9340248107910156, -0.42446109652519226, -0.2808442711830139, -0.3359730541706085, -0.03602976351976395, 0.05336236208677292, -0.4456861913204193, -0.1642100214958191, -0.8812752962112427, 0.2142876237630844, 0.599202573299408, -0.6622035503387451, 0.3530631959438324, 0.9140447378158569, -0.43710023164749146, -0.7901468873023987, -0.2722843289375305, 0.06372325867414474, -0.18738089501857758, -0.11892282217741013, 0.4427790641784668, 0.050186604261398315, -0.48115670680999756, -0.007772915530949831, -0.02493024803698063, -0.03412901237607002, 0.10906041413545609, 0.13575340807437897, 0.22816826403141022, -0.1864057332277298, -0.12503720819950104, 0.21273571252822876, -0.04402679577469826, 0.12257575988769531, 0.12373938411474228, 0.136921688914299, -0.4432257115840912, 0.11741723865270615, -0.19117054343223572, 0.751240611076355, 0.7103855013847351, -0.21760070323944092, 0.33122459053993225, 0.15642522275447845, -0.436484694480896, -0.057855475693941116, -0.3622875511646271, 0.02360854670405388, -0.334123820066452, 0.6369935870170593, -0.16180798411369324, -0.8983354568481445, 0.5341359376907349, -0.08077584952116013, 0.30955296754837036, 0.7415198683738708, 0.7593463659286499, -0.47772809863090515, 1.297716498374939, 0.6926291584968567, -0.47023409605026245, 0.5511577725410461, -0.29563403129577637, 0.2868536412715912, -0.975372850894928, -0.1553686559200287, -0.5666999220848083, -0.2426227331161499, -0.47099703550338745, 0.0046192132867872715, 0.9017053842544556, 0.09810168296098709, 0.04316048324108124, -0.1283441185951233, -0.23836779594421387, 0.7316891551017761, 0.39620596170425415, 0.0724731981754303, 0.5718725919723511, 0.17667360603809357, -0.02416122332215309, 0.015844883397221565, -0.4916383624076843, -0.5498347878456116, 0.8290476202964783, 0.2116040736436844, 0.7032017111778259, 0.06836856156587601, 0.8223461508750916, 0.35260209441185, 0.404506117105484, -1.0521982908248901, 0.46239563822746277, -0.08889233320951462, -0.42333728075027466, -0.18018805980682373, -0.30394673347473145, -0.8623235821723938, 0.5521998405456543, -0.40352702140808105, -0.5583791136741638, 0.40069684386253357, 0.0005784062086604536, -0.47046002745628357, 0.13351048529148102, -0.4453471004962921, 0.5746767520904541, 0.14473026990890503, -0.0632614716887474, -0.6127438545227051, -0.8013588786125183, 0.4447876811027527, 0.05568629875779152, 0.20572271943092346, 0.30363693833351135, -0.018320413306355476, 1.0642610788345337, -0.662464439868927, 0.7580287456512451, 0.17509816586971283, 0.19679875671863556, 0.1949545443058014, -0.22979632019996643, 0.08938905596733093, 0.016440073028206825, -0.21744205057621002, 0.08391328155994415, -0.023390967398881912, -0.19623184204101562, -0.8056684732437134, 0.5866255164146423, -0.9386755228042603, -0.6018600463867188, -0.5334079265594482, -0.49673551321029663, -0.2390766441822052, 0.35073351860046387, 0.23692914843559265, 0.6338633298873901, -0.4186646342277527, 0.3687014579772949, 0.6025075912475586, 0.1409239023923874, 0.40264928340911865, 0.29209405183792114, -0.24570800364017487, -0.7667081952095032, 0.688867449760437, 0.174888014793396, -0.06327924132347107, 0.7691153883934021, 0.4509856104850769, -0.21780529618263245, -0.7035776972770691, -0.3088606297969818, 0.19900745153427124, -0.634650468826294, -0.009959874674677849, -0.6270456910133362, -0.10311228781938553, -0.22515569627285004, -0.059691958129405975, -0.2693413496017456, -0.6798169016838074, 0.11039276421070099, -0.26441091299057007, 0.09652672708034515, 1.1517161130905151, 0.057053204625844955, 0.3158617913722992, -0.72723388671875, 0.35553357005119324, 0.30217406153678894, 0.1291821300983429, 0.22349771857261658, -0.44993188977241516, -0.6538583040237427, -0.24564789235591888, -0.23389865458011627, -0.6318308115005493, 0.47228798270225525, 0.18142685294151306, 0.3609442412853241, 0.46779659390449524, 0.12246058136224747, 0.8678339719772339, -0.4815932512283325, 0.8006942272186279, 0.13825616240501404, -0.6867634057998657, 0.8061916828155518, -0.3595714271068573, 0.3916521966457367, 0.8787857890129089, 0.6037454605102539, -0.18972332775592804, -0.4047193229198456, -0.5001408457756042, -0.9096094369888306, 0.1963728368282318, -0.19821743667125702, -0.1444339007139206, -0.3882412314414978, 0.3550597131252289, 0.4084606170654297, 0.5947816371917725, -0.37762466073036194, 0.044557176530361176, -0.06447722017765045, -0.36352723836898804, -0.11245845258235931, -0.6469060778617859, -0.16502068936824799, -0.26554733514785767, 0.6264344453811646, -0.05208699405193329, -0.041033342480659485, 0.3671775460243225, -0.3089958429336548, -0.14460401237010956, 0.48422935605049133, 0.02551509626209736, 0.8379274606704712, -0.4638308584690094, 0.40611931681632996, -0.1670563668012619, -0.5228604674339294, -0.21465948224067688, -0.36138466000556946, -0.31335917115211487, -0.0021352919284254313, 0.5337955355644226, 0.5279291868209839, 0.46843859553337097, -0.44039222598075867, 0.6049545407295227, -0.005440600216388702, -0.1124829649925232, -0.08575451374053955, -0.16854891180992126, -0.265208899974823, 0.04412640631198883, 0.3830869495868683, 0.22479547560214996, 0.6550328135490417, -1.100467562675476, 0.08222981542348862, 0.3607819378376007, -0.2618463933467865, -0.5538652539253235, 0.31246036291122437, 0.36840352416038513, -0.003691595746204257, 0.37095877528190613, 0.20253466069698334, -0.5106832385063171, 0.22958149015903473, 0.43724629282951355, 1.056840419769287, -0.007046102080494165, 0.07127019762992859, 0.4048222005367279, 0.09725132584571838, -0.1310458928346634, 0.18294553458690643, -0.4338207244873047, -0.4944343864917755, -0.48862800002098083, -0.5965928435325623, -0.701178789138794, -0.27504608035087585, -0.9466675519943237, -0.33871757984161377, -0.3065628707408905, 0.1337326169013977, 0.18796706199645996, 0.05189352482557297, 0.14941738545894623, 0.1366722583770752, -0.29210183024406433, 0.48695629835128784, -0.8089089393615723, 0.4451620876789093, 0.7769325375556946, -0.445475697517395, -0.2703302204608917, 0.1529538780450821, -0.23535187542438507, -0.5840343832969666, 0.24768073856830597, -0.014711997471749783, -0.5112132430076599, -0.14658798277378082, -0.43851134181022644, -0.580033540725708, 0.8568241000175476, -0.08904583752155304, -0.191018745303154, -0.07888481765985489, -0.2665022611618042, 0.7629163861274719, -0.6079016923904419, 0.4177287817001343, 0.4842720329761505, 0.04049745202064514, 0.09689350426197052, -0.6458930373191833, -0.37706121802330017, -0.5465705394744873, -0.14008575677871704, 0.20130838453769684, -0.4642285406589508, 0.5875658392906189, -0.333657830953598, -0.15359808504581451, 0.08570075780153275, 1.020551085472107, 0.11210209131240845, 0.20924463868141174, 0.5127695202827454, 0.45894181728363037, 0.9721202254295349, 0.11684278398752213, 1.192678451538086, -0.22586560249328613, 0.2371496856212616, 1.045023798942566, -0.12411534786224365, 1.5163326263427734, 0.4949987530708313, -0.026830023154616356, 0.8447456955909729, 0.6012684106826782, 0.4718796908855438, 0.5735398530960083, -0.15619225800037384, -0.1392301619052887, -0.03621750324964523, -0.24052278697490692, -0.2695545554161072, 0.2345729023218155, 0.15017452836036682, -0.11174409836530685, -0.140883207321167, -0.29739928245544434, -0.0277097187936306, 0.27586379647254944, -0.6534409523010254, 1.1350429058074951, 0.08079561591148376, -0.8566893935203552, 0.3747882544994354, -0.09139962494373322, 0.719567596912384, -0.4609355330467224, -0.17046469449996948, -0.220694899559021, 0.14004333317279816, -0.5343058705329895, -0.7782235741615295, 0.4222380816936493, 0.2853788435459137, -0.6372724175453186, -0.24312354624271393, 0.3793729543685913, -0.3887765407562256, -0.4954489767551422, -0.10911167412996292, 0.6068495512008667, 0.36985352635383606, 0.20018945634365082, -0.2232196182012558, -0.34911903738975525, -0.2608381509780884, -0.3763614296913147, 0.40272167325019836, 0.2324482649564743, -0.233491912484169, 0.15383696556091309, 0.39059996604919434, 0.10482817888259888, -0.31855714321136475, 0.34147152304649353, 0.6762014031410217, -0.6670832633972168, -0.8314238786697388, -0.7678889632225037, 0.35531559586524963, -0.25775155425071716, -0.2155531346797943, 0.9074854254722595, 0.8873701691627502, 0.6474134922027588, 0.009886955842375755, 0.7368058562278748, 0.2244579941034317, 0.7784970998764038, -0.4230685532093048, 0.6390817761421204, -0.6452573537826538, 0.26862961053848267, -0.2768607437610626, -0.9187334179878235, -0.22768187522888184, 0.6695648431777954, -0.35425689816474915, -0.07665370404720306, 0.9988107085227966, 0.7302126884460449, 0.061791323125362396, 0.05853072553873062, 0.02176697924733162, 0.46404576301574707, -0.08873555809259415, 0.465165376663208, 0.9357870817184448, -0.4524540603160858, 0.17194588482379913, -0.027038708329200745, -0.48366275429725647, -0.24399203062057495, -0.6898579001426697, -0.842229962348938, -0.45199134945869446, -0.28187379240989685, -0.13843989372253418, 0.08626152575016022, 0.7465111613273621, 0.6425474882125854, -0.7961789965629578, -0.6524192690849304, 0.10542426258325577, 0.34717071056365967, -0.30356812477111816, -0.1810983121395111, 0.5195024013519287, -0.21288199722766876, -0.7773576378822327, 0.43743696808815, 0.5701517462730408, -0.37807193398475647, -0.3287408947944641, 0.13725315034389496, -0.13224542140960693, 0.0723663866519928, 0.8572121858596802, 0.10110627859830856, -0.55184006690979, -0.37726715207099915, -0.12716734409332275, -0.025348393246531487, 0.4337272644042969, 0.8122771382331848, -0.6913802623748779, 0.5003781318664551, 0.8483437895774841, 0.47114723920822144, 0.6926146745681763, 0.35598984360694885, 0.5580434799194336, -0.6294617652893066, -0.08203934133052826, 0.10546048730611801, 0.40354838967323303, 0.1252535581588745, -0.3038942515850067, 0.34985145926475525, 0.05459810048341751, -0.5133490562438965, -0.6474041938781738, -0.025307664647698402, -1.0570809841156006, -0.06363183259963989, 0.7654880881309509, -0.05400365591049194, -0.5831400156021118, 0.0333373099565506, -0.09822721779346466, -0.16066624224185944, -0.42705217003822327, 0.9844537973403931, 0.4528123736381531, -0.28792738914489746, 0.0466439425945282, -0.12207107245922089, 0.24300846457481384, 0.2219957560300827, -0.9879119992256165, -0.05780317261815071, 0.5262829065322876, 0.03189076855778694, 0.3365207314491272, 0.6963881254196167, -0.5332362055778503, 0.26811137795448303, -0.23487533628940582, 0.12591056525707245, 0.07093968242406845, -0.590490460395813, -0.5225294232368469, 0.5755231380462646, 0.12815865874290466, 0.008468352258205414 ]
http://arxiv.org/abs/2403.00418v2
http://arxiv.org/pdf/2403.00418v2
LLMs for Targeted Sentiment in News Headlines: Exploring the Descriptive-Prescriptive Dilemma
2024-03-01T10:10:34
2024-05-28T11:04:32
Jana Juroš, Laura Majer, Jan Šnajder
cs.CL
cs.CL
News headlines often evoke sentiment by intentionally portraying entities in particular ways, making targeted sentiment analysis (TSA) of headlines a worthwhile but difficult task. Due to its subjectivity, creating TSA datasets can involve various annotation paradigms, from descriptive to prescriptive, either encouraging or limiting subjectivity. LLMs are a good fit for TSA due to their broad linguistic and world knowledge and in-context learning abilities, yet their performance depends on prompt design. In this paper, we compare the accuracy of state-of-the-art LLMs and fine-tuned encoder models for TSA of news headlines using descriptive and prescriptive datasets across several languages. Exploring the descriptive--prescriptive continuum, we analyze how performance is affected by prompt prescriptiveness, ranging from plain zero-shot to elaborate few-shot prompts. Finally, we evaluate the ability of LLMs to quantify uncertainty via calibration error and comparison to human label variation. We find that LLMs outperform fine-tuned encoders on descriptive datasets, while calibration and F1-score generally improve with increased prescriptiveness, yet the optimal level varies.
[ -0.2652814984321594, -0.7663193941116333, 0.8779247999191284, 0.5874121785163879, -0.6473407745361328, 0.25565990805625916, -0.26576513051986694, -0.16475512087345123, 0.417529433965683, 0.2634073495864868, -0.54897540807724, -0.8906353116035461, -0.7292284965515137, 0.3982089161872864, -0.26638856530189514, 1.1810696125030518, 0.0441867969930172, 0.1362181305885315, -0.36087682843208313, 0.17432522773742676, -0.21389678120613098, -0.4098615348339081, -0.59012371301651, 0.15015535056591034, 0.8936951160430908, 0.19052650034427643, 0.8028126358985901, 0.36376282572746277, 0.6238771080970764, 0.16290636360645294, -0.24653369188308716, 0.0600564144551754, -0.28610149025917053, -0.1568826287984848, -0.08996068686246872, -0.5236714482307434, -0.3967794179916382, 0.10943758487701416, 0.572732150554657, 0.6045543551445007, 0.1589503288269043, 0.24635736644268036, 0.0723087340593338, 0.7762384414672852, -0.3791297972202301, -0.1412540227174759, -0.3771417737007141, 0.08792731165885925, -0.19326815009117126, -0.43114131689071655, -0.17502251267433167, -0.6801508069038391, 0.297477126121521, -0.6340921521186829, -0.03248356282711029, 0.23590128123760223, 1.0819944143295288, 0.45480817556381226, -0.6159855127334595, -0.536288321018219, -0.7127518653869629, 0.8574767112731934, -0.5805073380470276, 0.3677597939968109, 0.13720814883708954, 0.06472092121839523, -0.1385386437177658, -0.38566717505455017, 0.02028345689177513, -0.3458610773086548, 0.02015475369989872, 0.28654053807258606, -0.3848057985305786, 0.08270446211099625, 0.27456486225128174, 0.14594998955726624, -0.6208916306495667, 0.5430940985679626, -0.31560420989990234, -0.30856236815452576, 0.3116284906864166, 0.10544674843549728, -0.1011517122387886, -0.3979054391384125, -0.6013737320899963, 0.21714577078819275, -0.8128670454025269, 0.30032575130462646, 0.6669639348983765, 0.5946227312088013, -0.12503597140312195, 0.5808085203170776, -0.4558512270450592, 0.8593899011611938, 0.2643108069896698, -0.30077752470970154, 0.24687997996807098, -0.30871522426605225, -0.1487281322479248, 0.1384526938199997, 0.8773245215415955, 0.6906239986419678, 0.3178054392337799, -0.00493871234357357, -0.4293741285800934, 0.04964910075068474, 0.3397367298603058, -0.5597929954528809, 0.38294264674186707, 0.30316615104675293, -0.41613537073135376, -0.5339264869689941, 0.1310393214225769, -0.9621066451072693, -0.43239131569862366, -0.4320620000362396, 0.3683701753616333, 0.024682000279426575, 0.1454792618751526, 0.23147203028202057, 0.0001366176293231547, 0.492113322019577, 0.3323788046836853, -0.3595440983772278, -0.14253540337085724, 0.40887483954429626, 0.7751637697219849, -0.21677418053150177, 0.04692580923438072, -0.31626731157302856, -0.2670261561870575, -0.4561242163181305, 0.9842726588249207, -0.4810374677181244, -0.39244264364242554, 0.07283490896224976, -0.2698805034160614, 0.07784056663513184, -0.4345809817314148, 0.8489694595336914, -0.4845656752586365, 0.2468724250793457, -0.4778134226799011, -0.29079872369766235, -0.019163483753800392, 0.578329861164093, -0.5690252184867859, 0.6237657070159912, 0.15154121816158295, -0.6442628502845764, 0.5625728368759155, -0.41028186678886414, -0.7560907006263733, -0.38615018129348755, 0.07468490302562714, -0.40687957406044006, 0.40886935591697693, 0.5620142817497253, 0.5092843770980835, -0.2893730401992798, 0.3760471045970917, 0.030510444194078445, -0.24040572345256805, 0.43551087379455566, -0.28099554777145386, 0.20867428183555603, 0.5144799947738647, 0.08543377369642258, 0.12441977113485336, -0.6932809948921204, -0.3299841582775116, -0.06517752259969711, -0.4301184415817261, -0.2833245098590851, -0.1961464136838913, -0.11093586683273315, 0.1973716914653778, 0.4630199074745178, -0.4262186884880066, -0.15652596950531006, -0.29077619314193726, 0.1308259665966034, 0.6717039942741394, 0.21976318955421448, 0.5671048164367676, -0.43699654936790466, 0.8236293792724609, 0.38874176144599915, 0.2790253162384033, -0.08847640454769135, -0.20981459319591522, -0.40035781264305115, -0.09629758447408676, 0.23262830078601837, 0.613516628742218, -0.5458544492721558, 0.4388093948364258, -0.12220654636621475, -0.39377546310424805, -0.30242955684661865, -0.10401663929224014, 0.3055835962295532, 0.5628673434257507, 0.3144235908985138, 0.002969783963635564, -0.7476239204406738, -0.784952700138092, -0.7690743207931519, 0.019230524078011513, -0.040086306631565094, 0.0731012150645256, -0.006471638567745686, -0.025868825614452362, 1.1235440969467163, -0.44170400500297546, -0.44029778242111206, -0.4089648425579071, 0.038362305611371994, 0.4770521819591522, 0.18277859687805176, 0.47928011417388916, -0.6961081624031067, -0.28874266147613525, -0.32699495553970337, -0.6883541941642761, -0.31186148524284363, -0.3191283643245697, 0.17456559836864471, 0.09553925693035126, 0.4538000524044037, -0.6993788480758667, 0.19029927253723145, 0.23984012007713318, -0.22402630746364594, 0.6403371691703796, 0.13681241869926453, 0.20651353895664215, -1.222839117050171, -0.2331063449382782, 0.4932710528373718, -0.126678004860878, -0.6147852540016174, -0.30340513586997986, -0.06170947477221489, 0.024898065254092216, -0.7887059450149536, 0.4611372947692871, -0.3013536334037781, -0.0914466381072998, -0.1766788214445114, 0.14724543690681458, 0.14242759346961975, 0.15201865136623383, 0.09115038812160492, 0.6576007604598999, 0.6048506498336792, -0.7508482336997986, 0.27879467606544495, -0.09473997354507446, -0.40409374237060547, 0.7750399708747864, -0.49830102920532227, -0.21694056689739227, -0.6111077070236206, 0.3075537383556366, -0.897163450717926, -0.23196332156658173, 0.29274117946624756, -0.5743556022644043, 0.19791974127292633, 0.11036957055330276, -0.4234980046749115, -0.3595442771911621, -0.4525150656700134, 0.22623690962791443, 0.6498548984527588, -0.18761911988258362, 0.5355284810066223, 0.13444407284259796, -0.03842605650424957, -0.6198644042015076, -0.6666192412376404, 0.20083566009998322, -0.5706620216369629, -0.04514780268073082, 0.09243190288543701, 0.10646030306816101, -0.38709452748298645, -0.12356268614530563, -0.2655278742313385, 0.19572550058364868, 0.1110495775938034, 0.06205149367451668, 0.1102801114320755, -0.16889286041259766, 0.024162717163562775, 0.0611339807510376, -0.10746316611766815, 0.3198392987251282, -0.20900259912014008, 0.3935469090938568, -0.10689058154821396, -0.07842564582824707, -0.5526038408279419, 0.039181508123874664, 0.5437406897544861, -0.08088512718677521, 0.4721719026565552, 0.5478799343109131, -0.2678537368774414, -0.0010056192986667156, -0.5677268505096436, -0.19769898056983948, -0.4177740216255188, 0.3527074456214905, -0.35928452014923096, -0.5263857245445251, 0.5353347063064575, -0.1704179346561432, -0.2197704166173935, 0.4414459764957428, 0.38139820098876953, -0.3756466209888458, 0.9190523028373718, 0.3412645161151886, -0.2412770390510559, 0.45336055755615234, 0.04469812661409378, 0.06807494163513184, -0.5754970908164978, -0.22941800951957703, -0.5631222128868103, -0.3625618517398834, -0.464318186044693, 0.017027854919433594, 0.41788405179977417, -0.1380506306886673, -0.17288224399089813, 0.015261489897966385, -0.2907797396183014, 0.5508735179901123, 0.560306966304779, 0.2742077708244324, 0.27152514457702637, 0.01812922954559326, 0.29452699422836304, -0.03673404082655907, -0.3871227204799652, -0.7222957015037537, 1.0592304468154907, 0.42411676049232483, 1.1409934759140015, -0.2113720029592514, 0.5967524647712708, 0.2515327036380768, 0.03004017472267151, -1.0378780364990234, 0.5956833362579346, -0.26966843008995056, -0.2884663939476013, 0.014860164374113083, -0.3913508951663971, -0.8525853157043457, -0.1523744910955429, -0.14632755517959595, -0.2964063882827759, 0.10887067764997482, 0.009725003503262997, -0.7250808477401733, 0.1646667718887329, -0.3688291907310486, 0.6720031499862671, -0.37973183393478394, 0.06739608943462372, 0.20250679552555084, -0.6401960849761963, 0.17402394115924835, -0.1411806344985962, 0.34138473868370056, -0.3537049889564514, -0.42215830087661743, 0.7252472639083862, 0.14998577535152435, 1.0851303339004517, -0.272744357585907, -0.430713415145874, 0.27471157908439636, -0.24041873216629028, 0.45626136660575867, 0.11188244819641113, -0.017196139320731163, 0.16869094967842102, -0.26260533928871155, -0.3074330985546112, -0.46536174416542053, 0.4593379497528076, -0.8585571646690369, -0.7489752769470215, -0.41592860221862793, -0.5019105076789856, -0.4537319839000702, 0.11798787862062454, 0.7105317115783691, 0.5281955003738403, -0.34213724732398987, -0.03440318629145622, 0.5950360894203186, -0.14211112260818481, 0.2736797034740448, 0.4916844069957733, -0.10586724430322647, -0.3830629885196686, 0.7679190039634705, 0.2731754779815674, 0.0157962404191494, 0.8129732608795166, 0.31959354877471924, -0.473744660615921, -0.8115440607070923, -0.2925356328487396, 0.06524468958377838, -0.6189085245132446, -0.4412617087364197, -0.5391944050788879, -0.011602528393268585, -0.30450648069381714, -0.44074249267578125, -0.2603471875190735, -0.14905603229999542, -0.8236117959022522, -0.3010798692703247, 0.2485550493001938, 0.5695143938064575, 0.18659834563732147, 0.36996695399284363, -0.8571578860282898, 0.31672409176826477, -0.05476304516196251, 0.1997705101966858, -0.6141555905342102, -0.7052760720252991, -0.15102645754814148, 0.08946643024682999, -0.19737085700035095, -0.9862458109855652, 0.31202274560928345, -0.09537011384963989, 0.40212124586105347, 0.5150285959243774, 0.4560978412628174, 0.4581660330295563, -0.11016970872879028, 0.9279136061668396, 0.026551930233836174, -0.7110906839370728, 0.8264575004577637, -0.4675257205963135, 0.46414709091186523, 0.5615344643592834, 0.6310979127883911, -0.22079408168792725, -0.6900854110717773, -0.129274383187294, -0.5329877138137817, 0.4342103898525238, -0.20817671716213226, 0.24814318120479584, -0.2761048376560211, 0.40453094244003296, 0.11880408972501755, 0.3234713077545166, -0.5881710648536682, -0.09458217024803162, -0.25877952575683594, -0.5016257762908936, -0.24107599258422852, -0.458831250667572, -0.05293611064553261, 0.16274023056030273, 0.3899987041950226, -0.12071936577558517, 0.08375824242830276, 0.33224910497665405, -0.15114924311637878, -0.09604918211698532, 0.453743040561676, 0.8165432810783386, 0.5269070863723755, -0.2965002954006195, 0.13016948103904724, 0.11903231590986252, -0.39859524369239807, 0.3745790421962738, 0.01735483668744564, -0.33389315009117126, 0.12044892460107803, 0.33230891823768616, 0.8448516130447388, 0.3857641816139221, -0.5453247427940369, 0.5638023018836975, 0.008397772908210754, -0.12552955746650696, -0.1784122884273529, -0.34918212890625, -0.2735164761543274, 0.23553118109703064, 0.5145760178565979, 0.1807352900505066, 0.16146494448184967, -0.3870830237865448, -0.1413424164056778, 0.5171743631362915, -0.2548685073852539, -0.49010443687438965, 0.5309233069419861, 0.32102540135383606, -0.11247167736291885, 0.3111903667449951, -0.2509806454181671, -0.43000468611717224, 0.7329743504524231, 0.5035726428031921, 1.0119198560714722, -0.08985894918441772, 0.3516335189342499, 0.32726988196372986, 0.5236459374427795, -0.07725749164819717, 0.3374599516391754, 0.18810904026031494, -0.8757179379463196, -0.24565787613391876, -0.6789966225624084, -0.480828195810318, -0.09888053685426712, -0.7888371348381042, 0.35045596957206726, -0.6183264255523682, -0.4922139644622803, -0.37804827094078064, 0.03206239268183708, -0.7633221745491028, 0.40429210662841797, 0.09438466280698776, 0.8299828171730042, -0.8139222860336304, 0.3735012114048004, 1.0183541774749756, -0.29462793469429016, -0.6006012558937073, 0.35815930366516113, -0.06533988565206528, -0.6300251483917236, 0.545333743095398, 0.38695937395095825, 0.09723912924528122, 0.24986594915390015, -0.3335091471672058, -0.7739856243133545, 0.8480883836746216, 0.40148603916168213, -0.656649112701416, -0.26374614238739014, 0.4757813811302185, 0.4446554481983185, -0.3042348027229309, 0.11781608313322067, 0.6313207149505615, 0.6821613311767578, 0.18804818391799927, -0.8400561809539795, 0.010355337522923946, 0.4093882143497467, -0.19041311740875244, -0.03237609565258026, -0.6477963924407959, 0.6274795532226562, -0.44162142276763916, -0.2832208573818207, -0.19017870724201202, 0.7001601457595825, 0.07935353368520737, 0.5442161560058594, 0.39162370562553406, 0.5895103216171265, 0.526941180229187, -0.32558438181877136, 1.1070301532745361, -0.25919830799102783, 0.180439293384552, 0.6578115224838257, -0.14694368839263916, 0.5476003289222717, 0.5238255858421326, -0.3264356553554535, 0.4719531238079071, 0.9519810676574707, 0.19873665273189545, 0.6147714853286743, 0.10497564822435379, -0.21594442427158356, -0.09009776264429092, -0.3601488471031189, -0.12674236297607422, 0.5108284950256348, 0.37775498628616333, -0.3272612690925598, -0.42660364508628845, 0.3854067921638489, 0.10433445870876312, 0.18417255580425262, -0.8664679527282715, 0.8397585153579712, 0.27948832511901855, -0.6764716506004333, 0.22824400663375854, 0.030089229345321655, 0.9426444172859192, -0.6747195720672607, 0.699731707572937, -0.3762197494506836, -0.15336494147777557, -0.38855859637260437, -0.9742103815078735, 0.3995792269706726, 0.186899796128273, -0.1959364265203476, -0.14055605232715607, 0.7113983631134033, -0.38550087809562683, -0.46543046832084656, -0.00943020824342966, 0.6352560520172119, 0.02164846658706665, -0.2921644151210785, -0.5062470436096191, 0.29891860485076904, -0.2178727090358734, -0.5670087337493896, 0.26324743032455444, 0.37661710381507874, 0.07306356728076935, 0.4570595622062683, 0.6236072778701782, 0.21536780893802643, 0.06600304692983627, 0.20583823323249817, 0.7126034498214722, -0.8712242841720581, -0.6685104370117188, -0.9611606597900391, 0.2687605023384094, 0.2245551496744156, -0.39447668194770813, 0.8268105983734131, 0.49332723021507263, 0.5538565516471863, -0.43179988861083984, 0.5298416018486023, 0.24573960900306702, 0.4560593068599701, -0.8790634870529175, 0.2859591841697693, -0.29899269342422485, 0.21093524992465973, -0.08755411952733994, -0.9742246270179749, -0.7195467948913574, 0.3358471393585205, -0.4070613980293274, 0.1252623349428177, 0.5331777334213257, 0.7755008935928345, 0.3477024435997009, -0.22412437200546265, 0.3187001347541809, 0.051162466406822205, 0.16282126307487488, 0.6071453094482422, 1.1619125604629517, -0.04020785167813301, 0.49585530161857605, -0.10127336531877518, -0.04724988713860512, -0.2150907963514328, -1.1704593896865845, -0.9117925763130188, -0.18470703065395355, -0.2870577871799469, -0.16702920198440552, 0.11394762992858887, 1.2050076723098755, 0.46158385276794434, -0.6675645112991333, 0.17569899559020996, -0.0640355572104454, 0.3549800217151642, -0.12381842732429504, -0.30242639780044556, 0.31100353598594666, -0.8078995943069458, -0.9120557904243469, 0.3352082073688507, 0.17803381383419037, 0.260363906621933, -0.18281994760036469, 0.1051846370100975, 0.1813836395740509, 0.3273477554321289, 0.5615752339363098, 0.147808238863945, -0.7902355194091797, -0.21979564428329468, 0.11124461889266968, -0.31621649861335754, -0.0036932448856532574, 0.8713410496711731, -0.9716195464134216, 0.11419790238142014, 0.37091967463493347, 0.6890102028846741, -0.17892886698246002, 0.3697545528411865, 0.3363150656223297, -1.0785919427871704, 0.08834321051836014, 0.35263946652412415, 0.2257550060749054, 0.3378751575946808, -0.6110429763793945, 0.09483758360147476, 0.08254748582839966, -0.3795793950557709, -0.803970456123352, 0.1780250370502472, -1.1892443895339966, -0.09591321647167206, 1.440600037574768, 0.19145467877388, -0.14753533899784088, -0.022832533344626427, -0.2860136926174164, -0.04142631217837334, -0.5751348733901978, 0.4632164239883423, 0.5277486443519592, 0.19042176008224487, -0.18525508046150208, -0.29996198415756226, 0.6723647713661194, 0.21174819767475128, -0.7218549251556396, -0.2751605808734894, 0.36295053362846375, 0.16198447346687317, -0.10482850670814514, 0.5865150690078735, 0.028043696656823158, 0.19230876863002777, -0.39944684505462646, -0.22969664633274078, -0.21896857023239136, -0.52805095911026, -0.5580620169639587, 0.18071570992469788, 0.009966186247766018, -0.4374452531337738 ]