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
sequencelengths
768
768
http://arxiv.org/abs/2402.11908v1
http://arxiv.org/pdf/2402.11908v1
Semantic Textual Similarity Assessment in Chest X-ray Reports Using a Domain-Specific Cosine-Based Metric
2024-02-19T07:48:25
2024-02-19T07:48:25
Sayeh Gholipour Picha, Dawood Al Chanti, Alice Caplier
cs.CL
cs.CL, cs.CV
Medical language processing and deep learning techniques have emerged as critical tools for improving healthcare, particularly in the analysis of medical imaging and medical text data. These multimodal data fusion techniques help to improve the interpretation of medical imaging and lead to increased diagnostic accuracy, informed clinical decisions, and improved patient outcomes. The success of these models relies on the ability to extract and consolidate semantic information from clinical text. This paper addresses the need for more robust methods to evaluate the semantic content of medical reports. Conventional natural language processing approaches and metrics are initially designed for considering the semantic context in the natural language domain and machine translation, often failing to capture the complex semantic meanings inherent in medical content. In this study, we introduce a novel approach designed specifically for assessing the semantic similarity between generated medical reports and the ground truth. Our approach is validated, demonstrating its efficiency in assessing domain-specific semantic similarity within medical contexts. By applying our metric to state-of-the-art Chest X-ray report generation models, we obtain results that not only align with conventional metrics but also provide more contextually meaningful scores in the considered medical domain.
[ -0.33013492822647095, -0.6804946064949036, 0.6585525870323181, -0.2747359871864319, -0.5396084189414978, -0.10895925015211105, -0.07088235765695572, -0.6368619203567505, 0.1380740851163864, 0.6697043180465698, -0.6639596223831177, -0.9858036041259766, -0.6861725449562073, 0.05993783473968506, -0.368384450674057, 0.8668569922447205, -0.15152591466903687, -0.02574789524078369, -0.5930647850036621, -0.3115167021751404, -0.75299471616745, -0.37244585156440735, -0.2623239755630493, -0.17027798295021057, 0.17342083156108856, -0.02713680826127529, 0.905874490737915, 0.6319221258163452, 0.9973125457763672, 0.2916981279850006, 0.41070616245269775, 0.29608675837516785, -0.22161544859409332, 0.10554105788469315, -0.22990761697292328, -0.12927691638469696, -0.473611980676651, 0.019821492955088615, 0.5023238062858582, 0.7092857956886292, 0.23014932870864868, 0.1631329208612442, -0.15155605971813202, 0.710418164730072, -0.4598633944988251, 0.17815837264060974, -0.5492432713508606, 0.3062576353549957, -0.033807169646024704, -0.7433284521102905, -0.29882702231407166, -0.3291110396385193, 0.6263343691825867, -0.640609622001648, 0.33749476075172424, -0.007246507331728935, 1.1064693927764893, 0.24839597940444946, -0.4129330813884735, -0.6495059132575989, -0.32699084281921387, 0.9145144820213318, -0.7538716793060303, 0.5823259949684143, 0.3070186972618103, 0.5223641395568848, 0.12576690316200256, -1.0220191478729248, -0.3920290470123291, -0.3329766094684601, -0.3532477617263794, 0.25852447748184204, -0.30459582805633545, -0.18847911059856415, -0.17976157367229462, 0.4811464846134186, -1.05951988697052, 0.05098198726773262, -0.15338006615638733, -0.26668477058410645, 0.6301038861274719, 0.3997972905635834, 0.5426689982414246, -0.45938292145729065, -0.79547518491745, -0.3593968451023102, -0.5327897667884827, -0.40388429164886475, -0.39127153158187866, 0.20915716886520386, -0.1003153920173645, 0.4110989272594452, -0.41944023966789246, 0.8041464686393738, -0.2041100561618805, -0.4560021162033081, 0.6760268807411194, -0.6297869682312012, -0.5697339177131653, 0.3949221670627594, 0.6796801090240479, 0.7499642968177795, -0.2256714105606079, -0.20272541046142578, 0.1348302662372589, 0.5521863102912903, 0.4082617163658142, -0.5927430987358093, 0.09075913578271866, 0.17822043597698212, -0.7257207632064819, -0.48662295937538147, 0.0565144382417202, -0.5217254161834717, -0.2989276349544525, -0.4159698486328125, 0.4602469801902771, -0.4841671884059906, -0.058920968323946, 0.36409130692481995, -0.1562601923942566, 0.32465165853500366, 0.09892380982637405, -0.2910699248313904, 0.4475521147251129, 0.8450670838356018, 0.6658524870872498, -0.281781405210495, -0.0030187310185283422, -0.6176909804344177, 0.08438081294298172, -0.3439967632293701, 0.8980885148048401, -0.4184901714324951, -0.3088243305683136, -0.07179351150989532, -0.17780651152133942, -0.05148479714989662, -0.7989452481269836, 0.8321690559387207, -0.4961457848548889, 0.2658429741859436, 0.12747514247894287, -0.7820069193840027, -0.34346306324005127, 0.6786866188049316, -0.5773462057113647, 0.8631041049957275, 0.2902888357639313, -0.642255961894989, 0.6612690091133118, -0.21337909996509552, -0.400716632604599, 0.24768111109733582, -0.5686379671096802, -0.7347255945205688, 0.10594569891691208, 0.16984239220619202, 0.742792010307312, -0.6576648354530334, 0.40609338879585266, -0.07022209465503693, 0.10860250145196915, 0.48732566833496094, -0.3513474762439728, 0.39709165692329407, 0.02169204130768776, -0.45259296894073486, 0.03950274735689163, -0.958576500415802, 0.4854980409145355, 0.03569832071661949, 0.2236059606075287, -0.705945611000061, -0.14434055984020233, -0.08854757994413376, 0.2977650463581085, -0.058515701442956924, -0.6848651170730591, -0.27852514386177063, -0.38590070605278015, -0.2023521214723587, 0.0997774600982666, 0.22286809980869293, 0.16092006862163544, -0.7482740879058838, 0.1717757135629654, -0.054256994277238846, 0.08950312435626984, -0.14936921000480652, -0.46638303995132446, -0.20133821666240692, -0.6486295461654663, 0.08648622781038284, 0.40853753685951233, -0.4867554306983948, 0.7510539889335632, -0.7163706421852112, -0.8413746356964111, -0.6501947641372681, -0.13611307740211487, 0.4975879490375519, 1.0483752489089966, 0.48143479228019714, -0.7761637568473816, -0.5532948970794678, -0.8616188764572144, -0.2810935378074646, 0.11389586329460144, -0.08571882545948029, 0.47779759764671326, 0.18660981953144073, -0.3421517312526703, 0.800719678401947, -0.8798750638961792, -0.8224722146987915, -0.019795743748545647, 0.21580277383327484, 0.09397098422050476, 0.2983549237251282, 0.5395292639732361, -0.9678789973258972, -0.5914199948310852, 0.31775060296058655, -1.2211796045303345, -0.0327761173248291, -0.24158059060573578, -0.13930639624595642, 0.2009568214416504, 0.46123653650283813, -0.3594883680343628, 0.6971431970596313, 0.5240416526794434, -0.4756337106227875, 0.3732404410839081, -0.1666545271873474, 0.5587495565414429, -0.8627701997756958, 0.05055093392729759, -0.10417065024375916, -0.3672994375228882, -0.6042672991752625, 0.2742776572704315, -0.06202694773674011, -0.11411946266889572, -0.5191658735275269, 0.5664947628974915, -0.3582516312599182, 0.06546912342309952, -0.19918633997440338, 0.4524837136268616, 0.41937488317489624, 0.1290351301431656, 0.3426136076450348, 0.005658202804625034, 0.5832743048667908, -0.536555826663971, 0.4375743567943573, 0.4469890296459198, -0.5856426954269409, 0.990152895450592, -0.5244650840759277, 0.07273205369710922, 0.07869445532560349, 0.21022242307662964, -0.8052839040756226, 0.02626977115869522, -0.04238063842058182, -0.612251877784729, 0.21983198821544647, 0.306009441614151, -0.39321404695510864, -0.11408732086420059, -0.45298680663108826, 0.4237760603427887, 0.4714587330818176, -0.3204692602157593, 0.47321435809135437, 0.3159627616405487, -0.27524104714393616, -0.17809432744979858, -0.7871708869934082, 0.12910625338554382, -0.01587551459670067, -0.8962039947509766, 0.6742390394210815, 0.02600681409239769, -0.2385355830192566, 0.4088870584964752, -0.16191904246807098, -0.3778933882713318, -0.01031425315886736, 0.20409323275089264, 0.4375697672367096, -0.5645247101783752, 0.01002217922359705, 0.18390636146068573, -0.3594842255115509, 0.011646355502307415, -0.39058488607406616, 0.333953857421875, -0.13874371349811554, -0.4562724232673645, -0.579889714717865, 0.4936217665672302, 0.43477949500083923, -0.17839759588241577, 0.5309140086174011, 0.6109603047370911, -0.5292242765426636, 0.2017754465341568, -0.4991331398487091, 0.09135015308856964, -0.3335840702056885, 0.5150113105773926, -0.24990805983543396, -0.6985881328582764, 0.18284809589385986, 0.04977843537926674, -0.1807442158460617, 0.6422027349472046, 0.8180339932441711, 0.08484458178281784, 0.7378471493721008, 0.4146938920021057, 0.3361290693283081, -0.28397178649902344, -0.19903825223445892, 0.2149025946855545, -0.6537917256355286, -0.4407448470592499, -0.5789654850959778, 0.00889747403562069, -0.455826073884964, -0.4339335858821869, 0.5102920532226562, -0.6628270745277405, 0.1587279736995697, 0.1475864052772522, -0.5538317561149597, 0.23769386112689972, 0.08585531264543533, 0.1772606074810028, 0.5983274579048157, 0.1630955934524536, 0.09532785415649414, -0.33521100878715515, -0.5139419436454773, -0.4626888632774353, 0.8907970190048218, 0.1345597356557846, 0.42325013875961304, 0.017618753015995026, 0.7326047420501709, 0.4070717990398407, 0.18722036480903625, -0.734501302242279, 0.3269866704940796, -0.5284226536750793, -0.3148500323295593, -0.1668204814195633, -0.37224605679512024, -1.039476990699768, 0.2649199664592743, -0.391597181558609, -0.2842346131801605, -0.11325819790363312, -0.4757551848888397, -0.3759290277957916, 0.02444748394191265, -0.4023177921772003, 0.8409170508384705, -0.17782345414161682, -0.0032481153029948473, -0.3680185377597809, -0.6509829163551331, 0.038679566234350204, -0.339523047208786, 0.2528854012489319, -0.27740126848220825, -0.2908134460449219, 0.6973254680633545, -0.49026280641555786, 0.8489477634429932, 0.04368114471435547, -0.13977128267288208, 0.3414086401462555, 0.17192356288433075, -0.09791097044944763, 0.09151435643434525, -0.0592852383852005, 0.46747684478759766, 0.2864645719528198, -0.35512682795524597, -0.7446595430374146, 0.8143130540847778, -0.6556010246276855, -0.24279527366161346, -0.44728851318359375, -0.6160883903503418, -0.16528187692165375, 0.4259239137172699, 0.3679228723049164, 0.9574061632156372, -0.43165716528892517, 0.08791612088680267, 0.42199817299842834, -0.36823657155036926, -0.09796292334794998, 0.5975263118743896, 0.051390547305345535, -0.3783731758594513, 0.916043221950531, 0.12821470201015472, 0.20473356544971466, 0.7487633228302002, 0.3372786343097687, -0.36788660287857056, -0.544792652130127, -0.36316943168640137, 0.20658975839614868, -0.7841141223907471, -0.46280762553215027, -0.5330935716629028, -0.25757235288619995, -0.29331693053245544, -0.5485249757766724, -0.20648729801177979, -0.1902327984571457, 0.1005401462316513, 0.08521625399589539, 0.16677555441856384, 0.42995068430900574, 0.35477834939956665, -0.11473921686410904, -1.3695265054702759, 0.24238421022891998, -0.028103172779083252, 0.3013807535171509, -0.17277131974697113, -0.3474743962287903, -0.13535425066947937, -0.2740330994129181, -0.14044661819934845, -0.534141480922699, 0.5115503072738647, 0.25818318128585815, 0.6017279624938965, -0.08610375970602036, 0.3574320077896118, 0.5468227863311768, -0.4428446292877197, 0.8533199429512024, 0.3686017394065857, -0.8406311273574829, 0.5794252157211304, -0.01477112341672182, 0.307822585105896, 0.6427129507064819, 0.42016491293907166, -0.4546593725681305, -0.4979110360145569, -0.84264075756073, -0.7473485469818115, 0.09643833339214325, 0.17334820330142975, 0.07295242697000504, -0.1316131055355072, 0.1936003565788269, 0.4951789379119873, -0.03477703034877777, -0.16982029378414154, -0.12407931685447693, 0.03968824818730354, -0.6370287537574768, 0.043196901679039, 0.08068650960922241, -0.18944019079208374, 0.025380214676260948, 0.5040793418884277, -0.27354949712753296, 0.2564068138599396, 0.6385097503662109, -0.4159103333950043, 0.07462146133184433, 0.17486625909805298, 0.4626995027065277, 0.5426726937294006, -0.1538778394460678, 0.30407920479774475, 0.08127693831920624, -0.6162554025650024, 0.05570860579609871, -0.029480023309588432, 0.1292998194694519, 0.30092498660087585, 0.7053259015083313, 0.5667812824249268, 0.39625370502471924, -0.8494530916213989, 0.8044013381004333, -0.40909019112586975, -0.34814563393592834, -0.156465545296669, -0.21228672564029694, -0.2754831314086914, 0.03055339679121971, 0.03628025949001312, 0.34454888105392456, 0.3488049805164337, -0.43019381165504456, 0.7564929723739624, 0.240374356508255, -0.8579381704330444, -0.1458040177822113, 0.06147097796201706, 0.16608470678329468, 0.1895400881767273, 0.6289125680923462, 0.05871012806892395, -0.12985102832317352, 0.5707850456237793, 0.4662863612174988, 0.906086266040802, 0.26883694529533386, 0.18063372373580933, 0.2924891412258148, -0.06283506751060486, 0.46122437715530396, 0.012691535986959934, 0.041377950459718704, -0.543954610824585, -0.4751630425453186, -0.33262351155281067, -0.09062948077917099, -0.18994766473770142, -0.9288300275802612, 0.3657597601413727, -0.32224273681640625, -0.033080145716667175, 0.14333711564540863, 0.28686872124671936, -0.6846991181373596, 0.7228783965110779, 0.34994444251060486, 1.0008935928344727, -0.7733630537986755, 0.6987335681915283, 0.5288980603218079, -0.2141980677843094, -0.6338253617286682, -0.05916755273938179, 0.3250926434993744, -0.9085927605628967, 0.5838581323623657, 0.30540773272514343, -0.08188021928071976, -0.40303418040275574, 0.1894940435886383, -0.5922616124153137, 1.2364332675933838, 0.0752149447798729, -0.2797795236110687, 0.31084251403808594, 0.318790465593338, 0.7642006278038025, -0.610078752040863, 0.10228723287582397, 0.6052075624465942, 0.14550556242465973, 0.06967683136463165, -1.0161304473876953, 0.5270605683326721, -0.1896151304244995, -0.13202179968357086, 0.23609459400177002, -0.20098386704921722, 0.3209878206253052, -0.060907620936632156, -0.3033541440963745, 0.2827044427394867, 0.64899742603302, 0.09965471178293228, 0.7203355431556702, 0.3951471447944641, 0.6784393191337585, 0.9852655529975891, 0.10899461060762405, 1.3372867107391357, -0.06766889244318008, 0.47792333364486694, 0.9311240315437317, -0.5001735687255859, 0.8317974209785461, 0.1266394406557083, 0.18047381937503815, 0.7068984508514404, 0.26207447052001953, -0.10368731617927551, 0.6784636378288269, -0.022006884217262268, -0.24877631664276123, -0.011413631960749626, -0.4244921803474426, -0.4786691963672638, 0.4699552059173584, 0.28809744119644165, -0.3781644105911255, -0.4357418119907379, 0.08382994681596756, 0.03758189082145691, 0.3172524869441986, -0.28996601700782776, 1.0127122402191162, 0.14387992024421692, -0.5554468631744385, 0.8670962452888489, -0.2324324995279312, 0.35742422938346863, -0.6927129626274109, 0.007460450287908316, 0.24383392930030823, 0.3353806436061859, -0.45349615812301636, -0.9214909076690674, 0.9637876152992249, 0.054340604692697525, -0.26389604806900024, 0.12901361286640167, 0.8396543860435486, -0.24059922993183136, -0.3799905776977539, 0.3291955888271332, 0.4728514552116394, -0.028407033532857895, 0.05193793401122093, -0.7470880150794983, 0.21496590971946716, -0.1387183964252472, 0.20853064954280853, 0.5031840801239014, 0.3441854417324066, -0.12342143803834915, 0.39509087800979614, 0.5020549297332764, -0.018525611609220505, -0.13728447258472443, 0.0738448053598404, 0.687776505947113, -0.5503242015838623, -0.5643290281295776, -0.7373836040496826, 0.3420531749725342, -0.12312682718038559, -0.32643765211105347, 0.5832394361495972, 0.589136004447937, 0.9057576656341553, -0.10980965197086334, 0.8680267333984375, -0.023173462599515915, 0.5437176823616028, -0.7172313928604126, 0.6392897367477417, -0.6047341823577881, 0.014548980630934238, -0.36100491881370544, -0.48062440752983093, -0.833529531955719, 0.36385536193847656, -0.24610690772533417, -0.3772118091583252, 1.0929032564163208, 0.7663345336914062, -0.10254605114459991, 0.14698107540607452, 0.5294671058654785, 0.18175692856311798, 0.26366856694221497, 0.5566349625587463, 0.5241991281509399, -0.660402774810791, 0.4688783884048462, -0.193691223859787, -0.4478372037410736, -0.08981337398290634, -0.8464610576629639, -0.5526801347732544, -0.6498551964759827, -0.7122147679328918, -0.41233646869659424, -0.11486311256885529, 0.8192742466926575, 0.7365477681159973, -0.5442102551460266, 0.07994575053453445, 0.28318196535110474, -0.17551709711551666, -0.4610413610935211, -0.20990991592407227, 0.850296139717102, -0.36659836769104004, -0.3269113004207611, 0.15690384805202484, 0.6859885454177856, -0.2669459283351898, 0.011768343858420849, -0.1546214371919632, 0.11361861974000931, 0.11928126215934753, 0.8090305924415588, -0.06643925607204437, -0.5613088011741638, -0.29978665709495544, 0.18659783899784088, -0.39605945348739624, 0.2286568135023117, 0.8220562934875488, -1.0853664875030518, 0.6162158846855164, 0.5236140489578247, 0.9481638073921204, 0.2527748644351959, -0.44088563323020935, 0.37220901250839233, -0.6965254545211792, -0.0434059277176857, 0.265510618686676, 0.12574249505996704, 0.5130501389503479, -0.38792884349823, 0.39686790108680725, 0.3596805930137634, -0.2641763687133789, -0.7076767086982727, 0.18416805565357208, -1.369278907775879, -0.2681277096271515, 0.7494593858718872, -0.34312567114830017, -0.3992134928703308, -0.16875721514225006, -0.2477094829082489, 0.20824410021305084, 0.1519910991191864, 0.5732548236846924, 0.11877499520778656, -0.26275327801704407, 0.2618860900402069, -0.26477348804473877, 0.18637517094612122, 0.35201728343963623, -0.9325928688049316, -0.34460803866386414, 0.20620563626289368, 0.37203916907310486, 0.3817596733570099, 0.6019337177276611, -0.6720614433288574, 0.6381927132606506, -0.06292244791984558, -0.30447742342948914, 0.11365911364555359, 0.04696596413850784, -0.16732677817344666, 0.2537335157394409, -0.2053380310535431, -0.10046400874853134 ]
http://arxiv.org/abs/2402.11907v1
http://arxiv.org/pdf/2402.11907v1
Direct Large Language Model Alignment Through Self-Rewarding Contrastive Prompt Distillation
2024-02-19T07:46:40
2024-02-19T07:46:40
Aiwei Liu, Haoping Bai, Zhiyun Lu, Xiang Kong, Simon Wang, Jiulong Shan, Meng Cao, Lijie Wen
cs.CL
cs.CL, 68T50, I.2.7
Aligning large language models (LLMs) with human expectations without human-annotated preference data is an important problem. In this paper, we propose a method to evaluate the response preference by using the output probabilities of response pairs under contrastive prompt pairs, which could achieve better performance on LLaMA2-7B and LLaMA2-13B compared to RLAIF. Based on this, we propose an automatic alignment method, Direct Large Model Alignment (DLMA). First, we use contrastive prompt pairs to automatically generate preference data. Then, we continue to evaluate the generated preference data using contrastive prompt pairs and calculate a self-rewarding score. Finally, we use the DPO algorithm to effectively align LLMs by combining this self-rewarding score. In the experimental stage, our DLMA method could surpass the \texttt{RLHF} method without relying on human-annotated preference data.
[ -0.3455156981945038, -0.49736958742141724, 0.6556092500686646, 0.29852235317230225, -0.5278950929641724, 0.08053906261920929, -0.2827329933643341, -0.20076991617679596, 0.3402586877346039, 0.5021706223487854, -0.6522055864334106, -0.379993736743927, -0.6424176096916199, 0.33477336168289185, -0.052662234753370285, 0.7456836104393005, -0.15020863711833954, 0.014609559439122677, -0.2735143303871155, -0.028712725266814232, -0.7465198636054993, -0.3563803434371948, -0.47937560081481934, -0.4642122685909271, 0.6777998208999634, 0.49933362007141113, 0.46766921877861023, 0.9130019545555115, 0.6594759225845337, 0.3880981504917145, 0.01569828763604164, 0.3085687458515167, -0.47741398215293884, 0.3123115003108978, -0.15523986518383026, -0.0989532396197319, -0.59847491979599, 0.06891652196645737, 0.49178066849708557, 0.41968104243278503, -0.0668056383728981, 0.20343561470508575, 0.3588288128376007, 0.8724331259727478, -0.3469998836517334, 0.11212167888879776, -0.47276797890663147, -0.02806873805820942, 0.018132109194993973, -0.33375051617622375, -0.47051382064819336, -0.4974878430366516, 0.15526607632637024, -0.35006245970726013, -0.24013042449951172, 0.15739569067955017, 0.6288858652114868, 0.5344427227973938, -0.5000469088554382, -0.412868469953537, -0.4863409996032715, 0.880230188369751, -0.8318953514099121, -0.13286219537258148, 0.07833512127399445, 0.3433077037334442, -0.4033777117729187, -0.2661755681037903, -0.7018548250198364, -0.38333916664123535, -0.21698498725891113, 0.06737513840198517, -0.045500610023736954, -0.025568662211298943, 0.026506781578063965, 0.4738316535949707, -0.6844749450683594, 0.5364057421684265, -0.119744673371315, 0.0374530665576458, 0.8298538327217102, 0.4609341621398926, 0.1318926215171814, -0.0937308520078659, -0.603568971157074, -0.262581467628479, -0.5738660097122192, -0.07053299993276596, 0.458832710981369, 0.6038895845413208, -0.1586228609085083, 0.6691954135894775, -0.24184539914131165, 0.7588664889335632, 0.6316885352134705, -0.2936461865901947, 0.5122714638710022, -0.3297154903411865, -0.26573097705841064, 0.3274427354335785, 1.1188218593597412, 0.49548107385635376, 0.24296197295188904, 0.1351567506790161, -0.2846965491771698, -0.03779933229088783, -0.10940089076757431, -0.7626311182975769, -0.02667962573468685, 0.31488293409347534, -0.43170177936553955, -0.43208613991737366, -0.24913831055164337, -0.8598933219909668, -0.6359403133392334, -0.5996728539466858, 0.4247218370437622, 0.030695103108882904, -0.31594815850257874, 0.07876626402139664, 0.2134876549243927, 0.19186314940452576, 0.37914368510246277, -1.1605007648468018, 0.13070806860923767, 0.5904296040534973, 0.6525086164474487, -0.48285067081451416, -0.27323073148727417, -0.6991997361183167, 0.0007144062547013164, -0.20658208429813385, 0.5927125811576843, -0.421667218208313, -0.41498908400535583, -0.06001702696084976, -0.13045793771743774, 0.23977594077587128, -0.6484847664833069, 0.6929346323013306, -0.3904089629650116, 0.3502121567726135, -0.41502895951271057, -0.6513211131095886, 0.041559699922800064, 0.31134653091430664, -0.6475857496261597, 0.9636267423629761, -0.18294519186019897, -0.9489213228225708, 0.05203552916646004, -0.3460005521774292, -0.141152024269104, -0.018964389339089394, -0.20143836736679077, -0.224932000041008, 0.04842700436711311, 0.44427719712257385, 0.4534413814544678, -0.33588916063308716, 0.714126467704773, -0.4876043200492859, -0.2895258367061615, 0.3290070593357086, -0.4683987498283386, 0.7242313027381897, 0.31159675121307373, -0.542976975440979, 0.2908359169960022, -0.7340033054351807, -0.18446868658065796, 0.3271329700946808, -0.32595163583755493, -0.33867937326431274, -0.11926032602787018, -0.22819222509860992, 0.35282644629478455, 0.7431684732437134, -0.30527612566947937, 0.5534743666648865, -0.4134739637374878, 0.030750565230846405, 1.306273102760315, -0.4165952205657959, 0.4436100721359253, -0.10587940365076065, 0.44735920429229736, 0.06893903762102127, 0.04960809275507927, 0.038346849381923676, -0.19546958804130554, -0.6686370968818665, -0.5122537612915039, 0.3688308894634247, 0.36799415946006775, -0.2243872731924057, 0.9609546065330505, -0.2504120171070099, -0.42954546213150024, -0.6890032887458801, 0.28543031215667725, 0.3554699420928955, 1.0077924728393555, 0.37961694598197937, 0.08113421499729156, -0.6134688258171082, -1.1664409637451172, 0.30770641565322876, -0.2008887380361557, 0.04928654432296753, 0.2917759120464325, 0.060354214161634445, -0.11794782429933548, 0.8420759439468384, -0.7776724100112915, -0.2454606145620346, -0.19879105687141418, 0.07443197816610336, 0.5953699946403503, 0.499934583902359, 0.43731969594955444, -0.4843434989452362, -0.6055689454078674, -0.14751558005809784, -0.5958332419395447, -0.5912072658538818, 0.22788049280643463, -0.19214780628681183, 0.2475341260433197, 0.20803196728229523, -0.2854945957660675, -0.10517197847366333, 0.8956468105316162, -0.2101486474275589, 0.4052726924419403, -0.23356711864471436, 0.4606875777244568, -1.269323706626892, 0.19233310222625732, 0.07375171780586243, -0.21917860209941864, -0.3863062262535095, -0.2768896818161011, 0.036590468138456345, 0.21855370700359344, -0.22235876321792603, 0.9014130234718323, -0.5748624801635742, -0.029171273112297058, -0.6537988781929016, 0.4143010675907135, 0.0913180485367775, 0.3091047704219818, 0.18780632317066193, 0.6439806818962097, 0.420054167509079, -0.46345254778862, 0.6835722327232361, 0.2588842213153839, -0.36783260107040405, 0.43930351734161377, -0.6418572068214417, 0.3353134095668793, -0.13555951416492462, 0.41239428520202637, -1.5075417757034302, 0.03165317326784134, 0.4302327036857605, -0.09593022614717484, 0.2914468050003052, 0.034700699150562286, -0.24827460944652557, -0.37527066469192505, -0.3006534278392792, 0.47573110461235046, 0.5120490193367004, -0.9122648239135742, 0.3655999004840851, 0.2156924158334732, -0.45775964856147766, -0.869695246219635, -0.5566717982292175, -0.0433555543422699, -0.6344922184944153, -0.43584737181663513, 0.3958602547645569, -0.3349865972995758, -0.2735406458377838, -0.32061848044395447, -0.0006426709005609155, 0.30472034215927124, 0.09325762838125229, 0.36066436767578125, 0.8259173631668091, -0.07000122219324112, -0.01611533761024475, -0.07009628415107727, -0.2030104696750641, -0.08781248331069946, 0.09461040049791336, 0.739723801612854, 0.16549819707870483, -0.26883357763290405, -0.5876474380493164, 0.22036346793174744, 0.2784803807735443, -0.230065256357193, 0.36344820261001587, 0.25683191418647766, -0.09736447781324387, 0.1036112904548645, -0.7967330813407898, -0.13148120045661926, -0.505639910697937, 0.1125609278678894, -0.37153151631355286, -0.7479968070983887, 0.3888768255710602, 0.1063656359910965, -0.016932332888245583, 0.47087785601615906, 0.8180792331695557, 0.017953485250473022, 1.185681700706482, 0.42219388484954834, -0.37481895089149475, 0.45573413372039795, 0.32715916633605957, 0.10972275584936142, -0.6791989207267761, -0.2133750021457672, -0.658927321434021, -0.6520913243293762, -0.36738383769989014, -0.09002251923084259, 0.06470455229282379, -0.027364246547222137, -0.2781240940093994, 0.28692734241485596, -0.6365996599197388, 0.33140480518341064, 0.5173126459121704, -0.013757201842963696, 0.47219815850257874, -0.05654380843043327, -0.20977218449115753, -0.10570622235536575, -0.2208167016506195, -0.6366804838180542, 1.0487748384475708, 0.4178406000137329, 1.011440396308899, 0.07703956216573715, 1.0415107011795044, 0.200748011469841, 0.18743665516376495, -0.7789647579193115, 0.5234439969062805, -0.09552482515573502, -0.18298856914043427, -0.2923194468021393, -0.44925394654273987, -0.8159428238868713, 0.06453261524438858, -0.10983844101428986, -0.6272347569465637, 0.1230720654129982, 0.25469061732292175, -0.5163387656211853, -0.23657304048538208, -0.6679719090461731, 0.6987590193748474, -0.5309950709342957, -0.2754113972187042, -0.06584086269140244, -0.6318709254264832, 0.5566392540931702, -0.060364801436662674, 0.07613948732614517, -0.3980344235897064, 0.0020861169323325157, 0.6759916543960571, -0.1589910387992859, 0.7783144116401672, -0.24667951464653015, -0.5627399682998657, -0.028509993106126785, 0.0738890990614891, 0.6377094984054565, -0.09708375483751297, -0.24978157877922058, -0.10945744812488556, -0.1933213323354721, -0.13609004020690918, -0.5966513752937317, 1.1290767192840576, -0.7049341797828674, -1.0264387130737305, -0.5339934825897217, -0.5470011234283447, -0.1340043544769287, 0.06583893299102783, -0.09483154863119125, 0.11798027902841568, -0.1592164784669876, -0.32194697856903076, 0.49109750986099243, -0.13070635497570038, 0.5898377299308777, 0.5512593388557434, -0.44768857955932617, -0.5775146484375, 0.5988810658454895, -0.20208078622817993, 0.27123644948005676, 0.5282837152481079, 0.5632230639457703, -0.8528308272361755, -0.44465911388397217, -0.4837598502635956, 0.2703079283237457, -0.6155436635017395, -0.3177185654640198, -0.4318523406982422, 0.07497936487197876, -0.5854410529136658, -0.09270288050174713, -0.22158648073673248, -0.19683589041233063, -0.38449031114578247, -0.08815371245145798, 0.27118468284606934, 0.6203908920288086, -0.0961708277463913, 0.08192399144172668, -0.7607810497283936, 0.266742080450058, 0.4303874671459198, 0.05955616757273674, -0.0744248479604721, -0.8776947855949402, 0.1340845823287964, 0.033284593373537064, -0.111751027405262, -0.69155353307724, 0.44309690594673157, -0.19109174609184265, 0.5458045601844788, 0.46709030866622925, 0.2071492224931717, 0.8207803964614868, -0.501093327999115, 0.5472890734672546, 0.4643626809120178, -0.9029126167297363, 0.5703285336494446, -0.11928793787956238, 0.189657524228096, 0.6886218786239624, 0.4489123225212097, -0.3203090727329254, 0.07704814523458481, -0.21244506537914276, -0.6865798830986023, 0.6205350160598755, -0.24915406107902527, 0.13863664865493774, -0.07013899087905884, 0.34725114703178406, 0.2837650775909424, 0.004518676083534956, -0.7486087083816528, -0.34686988592147827, 0.08433614671230316, -0.6068097949028015, -0.3743797242641449, -0.33370813727378845, -0.3898468315601349, -0.020820554345846176, 0.6392644643783569, -0.2414153814315796, -0.23631028831005096, 0.08227135986089706, 0.11096181720495224, -0.11627025157213211, 0.24919292330741882, 0.5871167182922363, 0.5944152474403381, -0.37696218490600586, 0.250632643699646, -0.09265957772731781, -0.020492322742938995, 0.664705753326416, 0.17028261721134186, 0.08372380584478378, -0.31115126609802246, 0.12931667268276215, 0.6454949975013733, -0.06452930718660355, -0.6705923080444336, 0.5648254156112671, -0.16793565452098846, 0.02675129473209381, 0.013557682745158672, -0.005130539648234844, 0.3613269329071045, 0.3401488661766052, 0.2910372316837311, -0.5346011519432068, 0.12574465572834015, -0.45972076058387756, -0.10909406840801239, 0.5353278517723083, -0.07911968976259232, 0.010582159273326397, 0.4276103973388672, 0.3497019112110138, -0.1280258446931839, 0.5482045412063599, -0.02081175521016121, -0.16040167212486267, 0.5329216718673706, 0.7613096237182617, 0.820789098739624, -0.5368684530258179, 0.09820141643285751, 0.5278688669204712, -0.12295843660831451, -0.23271441459655762, -0.06010499596595764, 0.10404662042856216, -0.6769732236862183, -0.585242748260498, -0.7779369950294495, -0.28818610310554504, 0.194292351603508, -0.7031137943267822, 0.5201319456100464, -0.22929202020168304, 0.009829276241362095, 0.1642567366361618, 0.08295299112796783, -0.4528217911720276, 0.2913180887699127, 0.2908823490142822, 0.6682573556900024, -0.9194086194038391, 0.9650380611419678, 0.392651230096817, -0.3524671196937561, -0.816376805305481, -0.07061741501092911, 0.02122826874256134, -1.0896581411361694, 1.0446293354034424, 0.24387498199939728, -0.2002096176147461, -0.05208743363618851, -0.2673966884613037, -0.9211779236793518, 1.1341681480407715, 0.6019757390022278, -1.2248215675354004, 0.0777822881937027, -0.0314207561314106, 0.3953334391117096, -0.5848290920257568, 0.3385757505893707, 0.5342318415641785, 0.5271369218826294, 0.37724247574806213, -0.9195625185966492, 0.3683428466320038, -0.0970802754163742, -0.07998809963464737, 0.1573178619146347, -0.692276656627655, 0.5751660466194153, -0.21015962958335876, -0.1596044898033142, 0.09691338241100311, 0.6314600706100464, 0.5087869167327881, 0.021955715492367744, 0.7449623942375183, 0.5790225267410278, 0.66107177734375, 0.053891636431217194, 0.5549912452697754, -0.15870527923107147, 0.35867956280708313, 1.414291501045227, -0.7535532116889954, 0.9292064905166626, 0.8705112338066101, -0.2676176130771637, 0.282419890165329, 0.7806530594825745, 0.04710203781723976, 0.6735175251960754, 0.5131694674491882, -0.1883457452058792, -0.28319206833839417, -0.0262204110622406, -0.47265109419822693, 0.4823451638221741, -0.14831991493701935, -0.4077630341053009, -0.09533045440912247, -0.24056272208690643, -0.006839493755251169, 0.2889045476913452, -0.20860688388347626, 0.9642003774642944, -0.0267492663115263, -1.0753154754638672, 0.7547593712806702, -0.09497252851724625, 0.8706047534942627, -0.4614516794681549, -0.015562072396278381, -0.4711011052131653, 0.12676721811294556, -0.21763740479946136, -0.824470043182373, 0.05211063474416733, 0.12787771224975586, -0.25378891825675964, -0.014137054793536663, 0.3641394078731537, -0.5901291966438293, -0.3548499047756195, 0.5177168846130371, 0.2374216467142105, -0.008064628578722477, 0.15972669422626495, -0.7009720206260681, 0.18495111167430878, 0.1422063112258911, -0.3131476044654846, 0.582464337348938, 0.14611567556858063, 0.2805689573287964, 0.5047610998153687, 0.4877012073993683, -0.11048635095357895, -0.2790718674659729, 0.19856742024421692, 0.9145582914352417, -0.6395165324211121, -0.27789488434791565, -1.360134482383728, 0.45739230513572693, -0.07041817903518677, -0.08893302083015442, 0.5746389031410217, 0.5001055598258972, 0.41215774416923523, -0.01910788007080555, 0.6709391474723816, 0.1336919069290161, 0.5005486011505127, -0.6128905415534973, 0.28551870584487915, -0.5141563415527344, 0.31901389360427856, -0.31690946221351624, -1.1417838335037231, -0.08249638974666595, 0.46110010147094727, -0.30046799778938293, -0.17241373658180237, 0.5025050044059753, 0.8190973997116089, 0.021282576024532318, -0.4228980243206024, 0.22656308114528656, 0.10805390030145645, 0.2794663906097412, 0.700393557548523, 0.7781465649604797, -0.043561022728681564, 0.4240284562110901, -0.21325962245464325, -0.4844965636730194, -0.328572154045105, -1.3742088079452515, -0.8202005624771118, -0.5627259016036987, -0.34650155901908875, -0.4163306653499603, -0.13348595798015594, 1.335971474647522, 0.3035185933113098, -0.7504382133483887, -0.3482057750225067, 0.1555243581533432, -0.006200024392455816, -0.08310867846012115, -0.17074406147003174, 0.5852005481719971, -0.3040021061897278, -1.2128169536590576, 0.5378637313842773, 0.38053691387176514, 0.3340241014957428, -0.5053857564926147, -0.2894023358821869, -0.1928490847349167, -0.0038079845253378153, 0.14233125746250153, -0.01087679248303175, -0.9133702516555786, -0.2618938386440277, -0.09591984003782272, -0.4285085201263428, 0.2485886663198471, 0.3911452293395996, -0.5775406360626221, 0.3713407814502716, 0.5615883469581604, 0.694050669670105, 0.2428445816040039, 0.252733051776886, 0.7823584079742432, -0.4511488378047943, 0.1032104641199112, -0.01560603454709053, 0.5105522871017456, 0.4271467328071594, -0.5009956955909729, 0.2779381275177002, -0.16343271732330322, -0.8013003468513489, -0.8099833130836487, 0.2645709216594696, -1.2748535871505737, -0.02629963494837284, 1.205565094947815, -0.35758110880851746, -0.162435382604599, 0.3931080102920532, -0.5954709053039551, 0.26539382338523865, -0.46751150488853455, 1.0849450826644897, 0.7424950003623962, -0.051975052803754807, 0.03771491348743439, 0.040855757892131805, 0.3635616600513458, 0.5427201390266418, -0.8663066625595093, 0.28772106766700745, 0.5247706770896912, 0.32142919301986694, 0.012124234810471535, 0.7148160934448242, -0.049027569591999054, -0.09558511525392532, -0.3728927969932556, 0.16330721974372864, -0.1828954815864563, -0.039183031767606735, -0.7770272493362427, 0.009616229683160782, 0.3349284827709198, -0.3666050434112549 ]
http://arxiv.org/abs/2402.11905v2
http://arxiv.org/pdf/2402.11905v2
Learning to Edit: Aligning LLMs with Knowledge Editing
2024-02-19T07:45:17
2024-06-05T15:46:03
Yuxin Jiang, Yufei Wang, Chuhan Wu, Wanjun Zhong, Xingshan Zeng, Jiahui Gao, Liangyou Li, Xin Jiang, Lifeng Shang, Ruiming Tang, Qun Liu, Wei Wang
cs.CL
cs.CL
Knowledge editing techniques, aiming to efficiently modify a minor proportion of knowledge in large language models (LLMs) without negatively impacting performance across other inputs, have garnered widespread attention. However, existing methods predominantly rely on memorizing the updated knowledge, impeding LLMs from effectively combining the new knowledge with their inherent knowledge when answering questions. To this end, we propose a Learning to Edit (LTE) framework, focusing on teaching LLMs to apply updated knowledge into input questions, inspired by the philosophy of "Teach a man to fish." LTE features a two-phase process: (i) the Alignment Phase, which fine-tunes LLMs on a meticulously curated parallel dataset to make reliable, in-scope edits while preserving out-of-scope information and linguistic proficiency; and (ii) the Inference Phase, which employs a retrieval-based mechanism for real-time and mass knowledge editing. By comparing our approach with seven advanced baselines across four popular knowledge editing benchmarks and two LLM architectures, we demonstrate LTE's superiority in knowledge editing performance, robustness in both batch and sequential editing, minimal interference on general tasks, and rapid editing speeds. The data and code are available at https://github.com/YJiangcm/LTE.
[ -0.09932943433523178, -0.8923189043998718, 0.6873724460601807, -0.20180989801883698, -0.033337317407131195, 0.3273255228996277, -0.31800568103790283, -0.3678845167160034, 0.02319737710058689, 0.5863592624664307, -0.427155077457428, -0.5817116498947144, -0.44287461042404175, 0.09218338131904602, -0.26671651005744934, 0.6663680076599121, -0.26042163372039795, 0.13103541731834412, -0.2974734604358673, -0.19090436398983002, -0.7110732793807983, -0.12027864158153534, -1.1956850290298462, -0.2958310842514038, 0.7283641695976257, 0.6373319625854492, 0.6025559902191162, 1.106789469718933, 0.1006709560751915, 0.27873125672340393, -0.1597093939781189, 0.5263729691505432, -0.5913647413253784, 0.07869581133127213, -0.6240946650505066, -0.7867428064346313, -0.4768849015235901, -0.19854766130447388, 0.5872541666030884, 0.5945419669151306, 0.17248687148094177, 0.11976861953735352, 0.10991202294826508, 0.9868118166923523, -0.4573756754398346, -0.07061710953712463, -0.7711579203605652, -0.16323255002498627, -0.13783054053783417, -0.22726662456989288, -0.4271952211856842, -0.38189879059791565, 0.18393367528915405, -0.9305455088615417, -0.07963480800390244, 0.02686500921845436, 0.5681261420249939, 0.45688268542289734, -0.39980876445770264, -0.3710330128669739, -0.39781978726387024, 0.4766311049461365, -0.5322049856185913, 0.5763477683067322, 0.2396458089351654, 0.042131222784519196, -0.06553523987531662, -0.6649995446205139, -0.6264887452125549, 0.328633576631546, 0.24306999146938324, 0.23288922011852264, 0.35287386178970337, 0.2212231308221817, 0.20959967374801636, 0.1941385716199875, -0.30001434683799744, 0.355193555355072, -0.1850588470697403, 0.020682498812675476, 0.6731031537055969, -0.15056636929512024, 0.305761456489563, 0.07945307344198227, -0.4279269278049469, 0.1444518268108368, -0.75540691614151, 0.03556211665272713, 0.36136677861213684, 0.07566153258085251, 0.17240014672279358, 0.8645252585411072, -0.013738764449954033, 0.7462940812110901, 0.4369336664676666, -0.31766626238822937, -0.16888976097106934, -0.1493980586528778, -0.21005350351333618, 0.12029606848955154, 0.6186913847923279, 0.7958723902702332, 0.1900748610496521, -0.21400584280490875, -0.3511672914028168, -0.3358176052570343, 0.2878657579421997, -0.35462915897369385, 0.06560181826353073, 0.3005537986755371, -0.05802726745605469, -0.2889465093612671, -0.2163783460855484, -0.7152003645896912, -0.5006231069564819, -0.40642619132995605, 0.8374592065811157, -0.4038475751876831, 0.30168381333351135, 0.29892683029174805, -0.12997274100780487, 0.09603111445903778, 0.5852369666099548, -0.8480053544044495, 0.1905696839094162, 0.7238685488700867, 0.6057696342468262, -0.08983913064002991, -0.45568305253982544, -0.41375717520713806, 0.2857101559638977, -0.377206027507782, 0.8465209603309631, -0.4294896423816681, -0.2857193350791931, -0.061925821006298065, -0.13998839259147644, -0.1505942940711975, -0.4014788866043091, 0.3734892010688782, -1.128671646118164, 0.47719937562942505, -0.4797705113887787, -1.2951494455337524, -0.27686262130737305, 0.08107519149780273, -0.4683956503868103, 1.1039756536483765, 0.1201956495642662, -0.5812315940856934, 0.4391407370567322, -0.851719856262207, -0.2542421221733093, -0.1674194037914276, 0.19721178710460663, -0.2537795603275299, -0.2565830945968628, 0.2939279079437256, 0.2568790912628174, -0.08740947395563126, 0.327081561088562, -0.018244944512844086, -0.2587378919124603, 0.1313820630311966, -0.02734527364373207, 0.4118473529815674, 0.04674694314599037, -0.005517056677490473, 0.27090561389923096, -0.48428526520729065, -0.059519074857234955, -0.05866476893424988, -0.6015870571136475, -0.2883710563182831, 0.22344879806041718, -0.3318236470222473, 0.015997111797332764, 0.3417532444000244, -0.5791073441505432, 0.644476056098938, -0.3716396391391754, 0.5366542339324951, 0.8228158354759216, 0.20838874578475952, 0.8050159215927124, -0.7192462682723999, 0.3598693609237671, -0.12841297686100006, -0.018820278346538544, -0.18924300372600555, -0.27043744921684265, -0.7850357294082642, 0.101791612803936, 0.5524793863296509, 1.0240986347198486, -1.085301399230957, 0.2919313311576843, -0.22347648441791534, -0.21332800388336182, -0.7191116809844971, 0.6908323168754578, 0.20472067594528198, 0.7414126396179199, 0.6083186864852905, -0.1401890069246292, -0.4899706542491913, -0.4368247091770172, -0.6644651889801025, -0.028674554079771042, 0.031165558844804764, 0.08740367740392685, 0.1771322637796402, -0.10554700344800949, 1.085825800895691, -0.30461564660072327, -0.25264135003089905, -0.19569312036037445, -0.0647289976477623, -0.16527056694030762, 0.5698729753494263, 0.23231017589569092, -0.46128877997398376, -0.441297322511673, -0.00413784384727478, -0.8219879865646362, -0.3365560472011566, -0.29887479543685913, -0.27212002873420715, 0.12254589796066284, 0.8012984395027161, -0.3314129710197449, -0.06057203561067581, 0.3714591860771179, -0.25097620487213135, 0.2641017436981201, -0.12552528083324432, 0.17246967554092407, -1.4590929746627808, -0.4294922947883606, -0.11280623078346252, -0.30411696434020996, -0.6161863207817078, -0.0805133804678917, 0.3162558972835541, 0.07937045395374298, -0.4586438238620758, 0.7507649660110474, -0.350200891494751, 0.0005777594051323831, -0.13587497174739838, 0.43545666337013245, 0.09675250202417374, 0.3235812783241272, -0.11546891182661057, 1.0617308616638184, 0.1689017415046692, -0.3138728737831116, 0.19924511015415192, 0.3123829960823059, -0.5091474652290344, 0.5545533895492554, -0.43839552998542786, 0.42052921652793884, -0.3195553123950958, 0.10100401192903519, -0.6077354550361633, -0.16759423911571503, -0.040719203650951385, -0.18107742071151733, 0.48241788148880005, -0.3099495470523834, -0.3472236096858978, 0.07868573069572449, -0.47822296619415283, 0.41162681579589844, 0.25757071375846863, -0.628114640712738, 0.6335986256599426, 0.2590177357196808, -0.3313884735107422, -0.8665351867675781, -0.48999127745628357, 0.12792141735553741, -0.15126748383045197, -0.6124761700630188, 0.44562700390815735, -0.027481257915496826, -0.22197622060775757, 0.04936207830905914, -0.12191713601350784, -0.21851719915866852, 0.09619266539812088, -0.18879461288452148, 0.38037368655204773, -0.1752694696187973, 0.3157913088798523, 0.4605891704559326, -0.004295662976801395, -0.1947590559720993, -0.6168903112411499, 0.19117173552513123, 0.3655567765235901, -0.3935677409172058, -0.5793440937995911, 0.03883109614253044, 0.5758054256439209, -0.2005302906036377, 0.3215125799179077, 0.20388847589492798, -0.30224665999412537, -0.2659018635749817, -0.8350056409835815, -0.06562838703393936, -0.4502585530281067, 0.36010047793388367, -0.1239316537976265, -1.104601263999939, 0.2909928858280182, -0.2722328305244446, 0.5241161584854126, 0.3063920736312866, 0.09666787832975388, -0.4925030469894409, 0.45730409026145935, 0.5863893032073975, -0.09469164162874222, 0.6409580707550049, -0.08807221055030823, -0.040300607681274414, -1.0539602041244507, -0.04739299789071083, -0.12765608727931976, -0.5416547656059265, -0.3627702593803406, -0.8577151298522949, 0.26161378622055054, 0.5564217567443848, -0.1936449259519577, 0.15153437852859497, -0.11686127632856369, 0.8575176000595093, 0.3147767186164856, 0.2945324182510376, 0.4429938793182373, -0.2601177990436554, -0.20969811081886292, -0.07383986562490463, -0.896226704120636, -0.6779271960258484, 1.4589797258377075, 0.3853655457496643, 0.7351483106613159, -0.06388022005558014, 0.8391849994659424, 0.3520280122756958, 0.2667374908924103, -0.8681515455245972, 0.45631253719329834, -0.2856918275356293, -0.3313349485397339, -0.4957767724990845, -0.22188282012939453, -0.5431756973266602, 0.02684989757835865, -0.3329732120037079, -0.43538013100624084, 0.06712067872285843, 0.36002129316329956, -0.3220490515232086, 0.7340208292007446, -0.8828245997428894, 0.7616033554077148, -0.3856664299964905, -0.7574841380119324, -0.12979057431221008, -0.4897351562976837, 0.34606435894966125, -0.17688773572444916, 0.4809666872024536, 0.0521441213786602, -0.41516417264938354, 0.7739197015762329, -0.3898410201072693, 0.8279056549072266, -0.2412731796503067, -0.14907772839069366, 0.2576262056827545, 0.025706976652145386, 0.5000003576278687, 0.3415197730064392, -0.21655602753162384, -0.24691668152809143, -0.12266597896814346, -0.38322746753692627, -0.7170028686523438, 0.6058289408683777, -0.6052743196487427, -0.5181798338890076, 0.016308600082993507, -0.8959000110626221, -0.5078828930854797, 0.210645392537117, 0.09523890912532806, 0.3636431396007538, -0.019523927941918373, -0.1459902971982956, 0.944358766078949, -0.23820257186889648, 0.2751588225364685, 0.352387934923172, -0.5008636713027954, -0.6623176336288452, 0.8278073072433472, 0.35901767015457153, 0.5564888119697571, 0.695239782333374, -0.003969937562942505, -0.43425315618515015, -0.6256197690963745, -0.7108889818191528, 0.24466897547245026, -0.8195797204971313, -0.0952361598610878, -0.6558952331542969, -0.05447884276509285, -0.11377673596143723, -0.7088019251823425, -0.4844658374786377, -0.5355983972549438, -0.19802795350551605, -0.03259977698326111, 0.41621729731559753, 0.7948728203773499, -0.0045000286772847176, 0.4008639454841614, -0.7559179663658142, 0.40236520767211914, 0.6675187349319458, 0.3115159273147583, -0.37643444538116455, -0.5707725286483765, -0.12120001018047333, 0.20725825428962708, -0.388235867023468, -0.7900559902191162, -0.12995295226573944, 0.40457412600517273, 0.2993214428424835, 0.029323654249310493, -0.21960236132144928, 0.8203081488609314, -0.35420024394989014, 0.6709885597229004, -0.03676643222570419, -1.207853078842163, 0.5034140348434448, -0.22196193039417267, 0.3716854751110077, 0.7563301920890808, 0.20107415318489075, -0.7278792858123779, -0.36206185817718506, -0.2897791564464569, -0.5903122425079346, 0.4096323251724243, -0.3019711673259735, -0.07119903713464737, 0.16065478324890137, 0.7988991737365723, 0.17106081545352936, 0.29198524355888367, -0.6125712394714355, -0.1984570473432541, -0.07340241223573685, -0.420428991317749, 0.028404606506228447, -0.4590713381767273, -0.0229625441133976, -0.3513534367084503, 0.8531079888343811, -0.3334428369998932, 0.059411220252513885, 0.40589436888694763, -0.4778077304363251, -0.23070386052131653, 0.47848615050315857, 0.7733968496322632, 0.6911166906356812, -0.03209215775132179, -0.0198298841714859, 0.6520880460739136, -0.32589322328567505, 0.07838358730077744, -0.21103966236114502, -0.5090861916542053, -0.3257659375667572, 0.45672935247421265, 0.7305419445037842, 0.6375051140785217, -0.46886828541755676, 0.2223045527935028, 0.041690003126859665, -0.668413519859314, 0.2524421811103821, 0.13730916380882263, 0.42238685488700867, 0.4113399088382721, 0.1015777736902237, 0.1600341945886612, -0.30837175250053406, -0.3010234534740448, 0.14270710945129395, 0.20983722805976868, -0.19145047664642334, -0.14920221269130707, 0.8322702646255493, 0.25463438034057617, -0.29748857021331787, 0.3903055787086487, -0.06374996900558472, -0.5711519122123718, 0.2769012451171875, 0.32240861654281616, 0.7544451355934143, -0.16877181828022003, 0.025167956948280334, 0.3539400100708008, 0.3982750177383423, -0.18850599229335785, 0.5783951878547668, 0.021407663822174072, -0.9565544128417969, -0.8664034605026245, -0.570752739906311, -0.5181311964988708, -0.02666892670094967, -0.5754557251930237, 0.36979371309280396, -0.5381181836128235, 0.06720434874296188, -0.04762939736247063, -0.17937631905078888, -0.3658074140548706, 0.23731975257396698, -0.15763205289840698, 1.205809235572815, -0.573383629322052, 1.094926118850708, 0.9173930883407593, -0.01307164877653122, -0.8668355941772461, -0.08276590704917908, 0.12145517021417618, -0.8692197203636169, 0.23676639795303345, -0.10892486572265625, 0.12089581042528152, 0.46684956550598145, -0.41686785221099854, -0.7044768333435059, 1.3087643384933472, 0.43851444125175476, -0.7916447520256042, -0.22556741535663605, 0.1452641785144806, 0.26698625087738037, -0.20402021706104279, -0.01637824811041355, 0.4659368395805359, 0.4820511043071747, -0.007399280089884996, -0.9484942555427551, -0.39000368118286133, 0.21228376030921936, -0.11249901354312897, 0.32076698541641235, -0.5120951533317566, 0.5366316437721252, -0.35204729437828064, -0.09436311572790146, -0.22407831251621246, 0.5345287919044495, -0.22910727560520172, 0.2652343213558197, 0.4827852249145508, 0.9277696013450623, 0.8880037069320679, -0.2265145182609558, 0.5795704126358032, -0.5055698156356812, 0.31452369689941406, 1.3863431215286255, -0.2752763628959656, 0.8853663802146912, 0.569041907787323, -0.019068172201514244, 0.3497847318649292, 0.5382527112960815, 0.20895542204380035, 0.3132486045360565, -0.16991066932678223, -0.39364033937454224, -0.07155101746320724, 0.11394345015287399, -0.11580445617437363, 0.2926154136657715, 0.29563209414482117, -0.2221175581216812, -0.23696021735668182, 0.016514725983142853, 0.10628318041563034, 0.36037448048591614, -0.46033522486686707, 1.163490653038025, -0.03237337991595268, -0.6364480257034302, 0.42907559871673584, -0.0889909490942955, 0.5811089873313904, -0.5288817882537842, 0.0377541147172451, -0.029755081981420517, -0.14888159930706024, -0.39517971873283386, -1.135649561882019, 0.3387925624847412, 0.06758014112710953, -0.325884610414505, -0.5161454081535339, 0.6532222628593445, -0.7624184489250183, -0.24934208393096924, 0.25479060411453247, 0.4785575568675995, -0.3186122477054596, 0.22281600534915924, -0.6812790036201477, 0.035385612398386, 0.10101362317800522, -0.1445913463830948, 0.3443182110786438, 0.2894307076931, 0.09111510217189789, 0.7009084224700928, 0.6580556631088257, 0.11172585189342499, 0.27210935950279236, -0.07084514945745468, 0.6216933131217957, -0.5969838500022888, -0.1992642730474472, -0.587410569190979, 0.7924540638923645, -0.01035994291305542, -0.2576419413089752, 0.43805715441703796, 0.643913209438324, 1.1860682964324951, 0.017035534605383873, 0.9796130657196045, 0.048846907913684845, 0.5450913906097412, -0.9924218654632568, 0.5637573003768921, -0.4994455873966217, 0.443002849817276, 0.060846809297800064, -0.9180040955543518, -0.13263151049613953, 0.33584123849868774, -0.48202624917030334, -0.26945018768310547, 0.8169305324554443, 0.862313985824585, 0.20379029214382172, 0.12328451126813889, 0.3194001615047455, 0.25339749455451965, 0.12433762848377228, 0.5035858750343323, 0.7060732245445251, -0.6057597994804382, 0.045254722237586975, -0.6655458211898804, 0.003044985933229327, 0.14910192787647247, -0.8486901521682739, -0.7603051066398621, -0.4122066795825958, -0.3344047963619232, 0.01440784614533186, 0.35107290744781494, 1.184247374534607, 0.4074961841106415, -0.5271905064582825, -0.42056044936180115, -0.10564269125461578, 0.41281670331954956, -0.2545429468154907, -0.17664584517478943, 0.1736953854560852, -0.5649608969688416, -0.7146432399749756, 0.8078399300575256, 0.40125608444213867, 0.040396831929683685, 0.2843647003173828, -0.0815022811293602, -0.38500261306762695, 0.06596878170967102, 0.6739604473114014, 0.30151525139808655, -0.6840887665748596, -0.4442327320575714, -0.03700251877307892, -0.10802793502807617, 0.053426723927259445, 0.6838694214820862, -0.5097898840904236, 0.8118315935134888, 0.24443943798542023, 1.0750962495803833, 0.18042069673538208, 0.21274176239967346, 0.5507226586341858, -0.5339575409889221, -0.2822708189487457, -0.02835012972354889, 0.2914995551109314, 0.23648305237293243, -0.38966163992881775, 0.26391667127609253, 0.2238108366727829, -0.8687188029289246, -0.5320355892181396, 0.00350241013802588, -1.1343791484832764, -0.024401096627116203, 0.9180005788803101, -0.05666130408644676, -0.13240301609039307, -0.19282642006874084, -0.4818800091743469, 0.41716256737709045, -0.14797723293304443, 0.6707282066345215, 0.7111706733703613, 0.01907404698431492, -0.13026905059814453, -0.7874879837036133, 0.445241242647171, 0.5308841466903687, -0.9057059288024902, 0.08528914302587509, 0.37689757347106934, 0.6604608297348022, -0.31799787282943726, 0.33696579933166504, 0.001083945157006383, 0.48177701234817505, -0.4561547338962555, 0.19449104368686676, -0.1585572063922882, -0.12489671260118484, -0.32716214656829834, 0.23655003309249878, 0.41681191325187683, 0.031923435628414154 ]
http://arxiv.org/abs/2402.11903v3
http://arxiv.org/pdf/2402.11903v3
DiLA: Enhancing LLM Tool Learning with Differential Logic Layer
2024-02-19T07:38:57
2024-06-19T02:52:00
Yu Zhang, Hui-Ling Zhen, Zehua Pei, Yingzhao Lian, Lihao Yin, Mingxuan Yuan, Bei Yu
cs.CL
cs.CL, cs.AI
Considering the challenges faced by large language models (LLMs) in logical reasoning and planning, prior efforts have sought to augment LLMs with access to external solvers. While progress has been made on simple reasoning problems, solving classical constraint satisfaction problems, such as the Boolean Satisfiability Problem (SAT) and Graph Coloring Problem (GCP), remains difficult for off-the-shelf solvers due to their intricate expressions and exponential search spaces. In this paper, we propose a novel differential logic layer-aided language modeling (DiLA) approach, where logical constraints are integrated into the forward and backward passes of a network layer, to provide another option for LLM tool learning. In DiLA, LLM aims to transform the language description to logic constraints and identify initial solutions of the highest quality, while the differential logic layer focuses on iteratively refining the LLM-prompted solution. Leveraging the logic layer as a bridge, DiLA enhances the logical reasoning ability of LLMs on a range of reasoning problems encoded by Boolean variables, guaranteeing the efficiency and correctness of the solution process. We evaluate the performance of DiLA on two classic reasoning problems and empirically demonstrate its consistent outperformance against existing prompt-based and solver-aided approaches.
[ -0.2415183186531067, -0.8567468523979187, 0.8979032039642334, 0.17464467883110046, -0.26133155822753906, 0.2549407482147217, -0.030350932851433754, -0.31877240538597107, 0.21924230456352234, 0.54640793800354, -0.9219940304756165, -0.4696332812309265, -0.443721741437912, 0.17016899585723877, -0.0925232321023941, 0.5321041345596313, -0.18884074687957764, 0.06797865778207779, -0.191417396068573, 0.008290154859423637, -0.742606520652771, -0.31033027172088623, -0.5493112802505493, -0.38108378648757935, 0.28356149792671204, 0.26705217361450195, 0.5431138873100281, 0.5076028108596802, 0.30250993371009827, 0.39775368571281433, -0.3338319659233093, 0.5847095847129822, -0.18134747445583344, -0.009275934658944607, -0.25035110116004944, -0.5740954875946045, -0.4009462296962738, 0.0004135318158660084, 0.54387366771698, 0.906562864780426, -0.13766828179359436, -0.0820043683052063, -0.3143708109855652, 0.7754750847816467, -0.5072367787361145, 0.3717247545719147, -0.8959846496582031, 0.042676977813243866, 0.07408037036657333, -0.05200755223631859, -0.2621564269065857, -0.46368706226348877, -0.03611666336655617, -0.8595556020736694, -0.30092233419418335, -0.27809494733810425, 0.573893129825592, 0.5859739184379578, -0.4926186501979828, -0.3190247714519501, -0.7785929441452026, 0.7166253328323364, -0.5999594926834106, 0.3547007739543915, 0.02098180539906025, 0.46225836873054504, -0.251270592212677, -0.44717851281166077, -0.7493054866790771, 0.07148326188325882, 0.09919276833534241, 0.11816718429327011, 0.03460793197154999, -0.1952643245458603, 0.4262816607952118, 0.1180553287267685, -0.17707961797714233, 0.11686179041862488, -0.41909492015838623, -0.1162169948220253, 0.6340492367744446, 0.3041590750217438, 0.29979217052459717, 0.16620643436908722, -0.3420160710811615, 0.1271432787179947, -0.7662695050239563, 0.08033906668424606, 0.3355698585510254, 0.39114928245544434, -0.006957501173019409, 0.4289231300354004, -0.20843806862831116, 0.7693609595298767, -0.2147504836320877, -0.3531268537044525, 0.3738398849964142, -0.09670652449131012, -0.30414655804634094, -0.06278624385595322, 0.307486355304718, 0.03920610621571541, 0.30843761563301086, -0.1001049131155014, -0.5250102281570435, 0.2323046326637268, 0.10669353604316711, -0.6326379776000977, -0.2635684311389923, 0.07666920870542526, 0.03721223399043083, -0.21777823567390442, -0.10672087967395782, -0.41551151871681213, -0.5809561014175415, -0.762612521648407, 0.41042518615722656, -0.29341232776641846, -0.33084049820899963, 0.39998263120651245, 0.11149410158395767, 0.3616003394126892, 0.6648368835449219, -0.2088136374950409, 0.5012667179107666, 0.7272670865058899, 0.6813477277755737, -0.029962552711367607, 0.08257699012756348, -0.9947644472122192, 0.11127211898565292, -0.3865084648132324, 0.6491875648498535, -0.6284451484680176, -0.3558633327484131, -0.10013140738010406, -0.022094255313277245, 0.015766071155667305, -0.6441572308540344, 0.6534808874130249, -0.9603997468948364, 0.13051125407218933, -0.39062070846557617, -0.4312323033809662, -0.4798664152622223, 0.2758852541446686, -0.6728653311729431, 0.599128782749176, 0.05203929916024208, -0.739797055721283, 0.15002167224884033, -0.3990788757801056, -0.5642085671424866, -0.012895815074443817, -0.4314461648464203, -0.4804838001728058, -0.07029587030410767, 0.4793942868709564, 0.2751585841178894, -0.4124176502227783, 0.23754428327083588, -0.2622497081756592, -0.47650831937789917, 0.1283910870552063, 0.0066526527516543865, 1.2297194004058838, -0.0030944522004574537, -0.26477330923080444, 0.2246810793876648, -0.7362266778945923, -0.054395757615566254, 0.4349011480808258, -0.1819051057100296, -0.22216403484344482, -0.08130015432834625, -0.5237144827842712, 0.4704596996307373, 0.1547446995973587, -0.6097382307052612, 0.2734108567237854, -0.7409855723381042, 0.3166654407978058, 0.9170367121696472, -0.0803520604968071, 0.251361608505249, -0.11668667197227478, 0.47022509574890137, 0.3670475482940674, 0.044233258813619614, 0.3252023756504059, -0.5232354998588562, -0.7175716161727905, -0.27560123801231384, 0.17458994686603546, 0.8895250558853149, -0.8020724654197693, 0.39642009139060974, -0.036033134907484055, -0.2054675817489624, -0.15341578423976898, 0.5029162764549255, 0.22143502533435822, 0.8216370940208435, 0.44061630964279175, -0.24424105882644653, -0.3617364764213562, -0.7681649923324585, 0.2129179686307907, -0.24939875304698944, 0.04428159072995186, 0.5480376482009888, 0.32954075932502747, -0.28480443358421326, 0.9323397874832153, -0.7486220002174377, -0.69355708360672, -0.45293357968330383, -0.20256850123405457, 0.48851698637008667, 0.21052777767181396, 0.3158631920814514, -0.8070646524429321, -0.43649864196777344, -0.002133796224370599, -0.6714017391204834, -0.506064236164093, -0.17108233273029327, 0.008448703214526176, 0.2183959186077118, 0.4214891195297241, -0.41264256834983826, 0.3750516474246979, 0.29485130310058594, -0.3506675958633423, 0.7895820140838623, -0.1861426830291748, -0.34505149722099304, -0.6996927857398987, -0.030302952975034714, -0.014378528110682964, -0.21708308160305023, -0.3970087766647339, -0.18875020742416382, 0.06435028463602066, -0.06852608174085617, -0.5313287377357483, 0.540466845035553, -0.56959468126297, -0.036654699593782425, -0.31857597827911377, 0.5362539291381836, 0.20384499430656433, 0.48609936237335205, 0.08495672792196274, 0.8993449211120605, 0.744705080986023, -0.4999043345451355, 0.5705588459968567, 0.30399832129478455, -0.022641383111476898, 0.32709622383117676, -0.7560144662857056, 0.32626256346702576, -0.11636562645435333, 0.19078491628170013, -0.7106048464775085, 0.2809714376926422, 0.1895056813955307, 0.10418692231178284, 0.34680989384651184, -0.21706485748291016, -0.5629404783248901, -0.2229367345571518, -0.3323916494846344, 0.3166345953941345, 0.6282051801681519, -0.6847688555717468, 0.9548003673553467, 0.3702327013015747, -0.046883806586265564, -0.5922636389732361, -0.5477876663208008, 0.005250141490250826, -0.20771940052509308, -0.7739320993423462, 0.3807727098464966, -0.090596042573452, -0.3249814212322235, -0.1087329089641571, -0.33470845222473145, -0.10213761031627655, 0.3022368848323822, 0.04221435636281967, 0.39159294962882996, -0.03912544250488281, 0.07388278096914291, 0.16363123059272766, -0.18944065272808075, 0.441638320684433, -0.4672192335128784, 0.3685586452484131, -0.2128511518239975, -0.5345358848571777, -0.369489461183548, 0.1702626496553421, 0.16012337803840637, -0.5177344083786011, 0.7039992809295654, 0.32638344168663025, -0.1804673969745636, -0.7042074203491211, -0.590010404586792, -0.2709673047065735, -0.5663954019546509, 0.19248425960540771, -0.67799973487854, -0.6108165383338928, 0.6273173093795776, -0.4823519289493561, -0.1263682097196579, 0.09781880676746368, 0.27657806873321533, 0.17116111516952515, 0.9148115515708923, 0.7000139355659485, -0.12335536628961563, 0.25894442200660706, -0.3823036253452301, 0.060327570885419846, -0.9305054545402527, -0.29551494121551514, -0.31934547424316406, -0.18069931864738464, -0.2457471638917923, -0.6583265662193298, 0.47191479802131653, 0.3156369626522064, -0.2567674517631531, 0.06479037553071976, -0.3967142105102539, 0.7291927337646484, 0.37554648518562317, 0.21587184071540833, 0.5037009119987488, -0.00798121839761734, -0.5973929762840271, 0.11337762326002121, -0.5971626043319702, -0.45952239632606506, 0.8854526877403259, 0.3671130836009979, 0.6320431232452393, 0.3001767098903656, 0.7134436368942261, -0.18295426666736603, 0.04223691299557686, -0.5766911506652832, 0.8644928336143494, -0.2512209117412567, -0.32463398575782776, -0.14173488318920135, -0.6718313694000244, -0.4395906627178192, 0.002761659910902381, 0.13790325820446014, -0.9107998013496399, 0.13237355649471283, -0.07174207270145416, -0.05813201516866684, 0.4304729402065277, -0.6072219014167786, 0.6031622886657715, -0.4179457128047943, -0.5498799681663513, -0.1148696094751358, -0.6441646814346313, 0.34524571895599365, -0.037114523351192474, 0.11989734321832657, -0.07370162010192871, -0.23744980990886688, 0.4577384293079376, -0.33263713121414185, 1.0152487754821777, -0.40994149446487427, -0.4500081241130829, 0.37555763125419617, 0.4133625030517578, 0.8534073829650879, 0.3530122935771942, -0.05377696081995964, -0.09420217573642731, -0.2728815972805023, -0.1937778741121292, -0.9080675840377808, 0.6304434537887573, -0.8059414029121399, -1.0280940532684326, -0.16682523488998413, -0.6051243543624878, -0.4959312975406647, 0.27097851037979126, -0.5988909602165222, 0.524144172668457, 0.20503124594688416, -0.379585862159729, 0.8430908918380737, -0.4386727511882782, 0.15444175899028778, 0.4865928590297699, -0.4161593019962311, -0.12781956791877747, 0.9388412237167358, -0.023771436884999275, 0.25733593106269836, 0.3899305760860443, 0.2826407253742218, -0.41387927532196045, -0.6566229462623596, -0.4111317992210388, 0.5683658719062805, -1.0618932247161865, -0.2313675731420517, -0.6506391167640686, -0.4894625246524811, -0.057646919041872025, -0.11577750742435455, -0.3445640206336975, -0.6872130632400513, -0.35932812094688416, 0.059645041823387146, 0.26087161898612976, 0.5905791521072388, 0.014290920458734035, -0.2401716113090515, -0.4384421110153198, 0.3755493760108948, 0.5196904540061951, 0.4872843027114868, -0.20058871805667877, -0.4272927939891815, 0.1675191968679428, -0.21333368122577667, -0.2930169999599457, -0.878969669342041, 0.2255006581544876, -0.003640312235802412, 0.5466694235801697, 0.20281121134757996, 0.17398123443126678, 0.29801174998283386, -0.3816470205783844, 0.28322315216064453, -0.026883963495492935, -0.8967466354370117, 0.7201035022735596, -0.11070556193590164, 0.30222854018211365, 0.32243743538856506, 0.3135495185852051, 0.014375310391187668, -0.09204868227243423, -0.34147730469703674, -0.6459094882011414, 0.574068009853363, 0.19967150688171387, -0.1087576374411583, 0.2603357136249542, 0.330674946308136, 0.04873589426279068, 0.06257299333810806, -0.7966266870498657, -0.20714071393013, -0.11131366342306137, -0.02422133833169937, 0.24782684445381165, -0.15078288316726685, -0.21746307611465454, -0.2578256130218506, 0.9220014214515686, -0.372811496257782, 0.008396519348025322, 0.23109467327594757, -0.04158725589513779, 0.012244148179888725, 0.37047284841537476, 0.2674950361251831, 0.6923976540565491, -0.2152068018913269, 0.10853154212236404, 0.3828781545162201, -0.1795252412557602, 0.19866961240768433, 0.3621808588504791, -0.36193084716796875, -0.31387147307395935, 0.1967719942331314, 0.5315876603126526, -0.5143749117851257, -0.820469856262207, 0.4797031283378601, -0.052364807575941086, -0.1767590343952179, -0.19445212185382843, 0.23439612984657288, 0.30740615725517273, 0.5114622712135315, 0.0970669835805893, -0.2712911069393158, 0.155115008354187, -0.1800195574760437, 0.037075676023960114, 0.6567219495773315, -0.422066867351532, -0.18677875399589539, 0.4541507661342621, 0.32912224531173706, -0.11163310706615448, 0.7358427047729492, -0.5338767766952515, -0.930497944355011, 0.668857753276825, 0.6853199005126953, 0.830916702747345, 0.24854467809200287, 0.2646871507167816, 0.08328177779912949, 0.41658198833465576, 0.4231608211994171, 0.6260143518447876, -0.10437625646591187, -0.8887180685997009, -0.7109524011611938, -0.67457115650177, -0.3153408169746399, 0.07567621022462845, 0.03245526924729347, 0.40074729919433594, -0.6852865219116211, 0.16258102655410767, -0.2930554747581482, 0.35569509863853455, -0.6094421148300171, 0.2340329885482788, 0.07456231862306595, 1.0940196514129639, -0.7128416299819946, 0.8984981775283813, 0.9763020873069763, -0.44910290837287903, -1.0955969095230103, -0.10737273097038269, 0.1619703322649002, -0.538701057434082, 1.2074651718139648, 0.1725885272026062, -0.6667094230651855, -0.08926203846931458, -0.11940459161996841, -0.5640432834625244, 1.131798267364502, 0.5918867588043213, -0.5740115642547607, 0.034879665821790695, 0.37476596236228943, 0.3532639145851135, -0.3675156235694885, 0.08630991727113724, 0.3802509605884552, 0.3160548508167267, 0.24286921322345734, -0.7892360687255859, 0.43363308906555176, -0.2425336390733719, -0.09062059223651886, 0.0033515612594783306, -0.6619513034820557, 0.6970313787460327, -0.40781447291374207, -0.35071253776550293, -0.2647607624530792, 0.5934603810310364, 0.4832203984260559, 0.1672932207584381, 0.8341562151908875, 0.5347828269004822, 0.6803198456764221, 0.015108811669051647, 0.7439471483230591, -0.059465646743774414, -0.013926849700510502, 1.1205493211746216, -0.6285216808319092, 0.4546608328819275, 0.48890793323516846, -0.19470985233783722, 0.5727388262748718, 0.1455315500497818, 0.321453720331192, 0.5440807342529297, 0.4672936797142029, -0.20570051670074463, -0.45781126618385315, -0.20396454632282257, -0.2796587646007538, 0.32362139225006104, 0.34888267517089844, -0.040007274597883224, -0.17007924616336823, -0.19445793330669403, -0.20832940936088562, 0.3825128674507141, -0.1667926162481308, 0.7989658713340759, 0.1903035193681717, -0.2043171375989914, 0.504440188407898, 0.008708929643034935, 0.39289718866348267, -0.44342249631881714, -0.17152270674705505, -0.3131953477859497, 0.3032182455062866, -0.14534401893615723, -0.7011705636978149, 0.42159146070480347, -0.25902223587036133, 0.10779956728219986, -0.024463048204779625, 0.9026067852973938, -0.039664700627326965, -0.7530590295791626, 0.634239673614502, 0.7527875304222107, -0.30526795983314514, -0.0047047920525074005, -0.6693386435508728, 0.1932629644870758, -0.16957809031009674, -0.140412837266922, 0.051270872354507446, 0.8364254236221313, 0.08709488809108734, 0.998744010925293, 0.47189363837242126, 0.39539971947669983, -0.07015630602836609, 0.3301185369491577, 1.4412493705749512, -0.4827752709388733, -0.615942656993866, -0.5920117497444153, 0.42307665944099426, -0.21906985342502594, 0.10128713399171829, 0.4401698708534241, 0.3684719502925873, 0.9714130759239197, 0.030797304585576057, 0.4488357901573181, 0.22686417400836945, 0.47783994674682617, -0.8890289068222046, 0.3399866819381714, -0.6413358449935913, 1.008028268814087, -0.296146422624588, -0.9619052410125732, -0.3958139419555664, 0.5922698378562927, -0.599459171295166, 0.14625775814056396, 0.6150846481323242, 0.8679441809654236, -0.4318685531616211, 0.03300367295742035, 0.13224564492702484, 0.1685488224029541, 0.5100985765457153, 0.8742908835411072, 0.9632654190063477, -0.06179141253232956, 0.42713141441345215, -0.6169940829277039, -0.3248303234577179, 0.23528888821601868, -1.028152346611023, -1.0607733726501465, -0.4297821521759033, -0.4759972095489502, -0.0782753974199295, 0.1182185560464859, 0.8641172647476196, 0.6551322937011719, -0.6940011382102966, -0.2318461686372757, -0.34670019149780273, 0.40557950735092163, -0.17874273657798767, -0.22775529325008392, 0.29377639293670654, -0.5056793689727783, -0.43235325813293457, 0.5806334614753723, 0.32034075260162354, -0.13371337950229645, -0.4205690622329712, -0.09366995841264725, -0.37255585193634033, 0.16202522814273834, 0.37783828377723694, -0.001255336799658835, -0.6067271828651428, -0.12009946256875992, -0.17622563242912292, 0.18342143297195435, 0.019685370847582817, 0.8522939085960388, -1.1940290927886963, 0.27867892384529114, 0.3400070369243622, 0.9404763579368591, 0.4184989035129547, -0.11449161171913147, 0.5600812435150146, -0.913000226020813, 0.19347335398197174, 0.2833214998245239, 0.3790284991264343, 0.38411250710487366, -0.2976762652397156, 0.5439336895942688, 0.24819529056549072, -0.20156511664390564, -0.7390157580375671, 0.5480310916900635, -0.9631392359733582, -0.4458008110523224, 0.9927845001220703, -0.12042976915836334, -0.07883373647928238, -0.22343462705612183, -0.33706730604171753, 0.2167462408542633, -0.22560584545135498, 0.8194082379341125, 0.19681261479854584, -0.07658586651086807, -0.1790628433227539, -0.2973616421222687, 0.2726922929286957, 0.46090924739837646, -0.9879876375198364, 0.10787593573331833, 0.5258703231811523, 0.20088732242584229, 0.17598603665828705, 0.415754497051239, -0.109588623046875, 0.17305341362953186, -0.31846943497657776, -0.46829116344451904, -0.6961023807525635, -0.6050918102264404, -0.24385064840316772, 0.16848315298557281, 0.13615739345550537, 0.20899051427841187 ]
http://arxiv.org/abs/2402.11900v2
http://arxiv.org/pdf/2402.11900v2
Investigating Multi-Hop Factual Shortcuts in Knowledge Editing of Large Language Models
2024-02-19T07:34:10
2024-06-02T09:17:37
Tianjie Ju, Yijin Chen, Xinwei Yuan, Zhuosheng Zhang, Wei Du, Yubin Zheng, Gongshen Liu
cs.CL
cs.CL
Recent work has showcased the powerful capability of large language models (LLMs) in recalling knowledge and reasoning. However, the reliability of LLMs in combining these two capabilities into reasoning through multi-hop facts has not been widely explored. This paper systematically investigates the possibilities for LLMs to utilize shortcuts based on direct connections between the initial and terminal entities of multi-hop knowledge. We first explore the existence of factual shortcuts through Knowledge Neurons, revealing that: (i) the strength of factual shortcuts is highly correlated with the frequency of co-occurrence of initial and terminal entities in the pre-training corpora; (ii) few-shot prompting leverage more shortcuts in answering multi-hop questions compared to chain-of-thought prompting. Then, we analyze the risks posed by factual shortcuts from the perspective of multi-hop knowledge editing. Analysis shows that approximately 20% of the failures are attributed to shortcuts, and the initial and terminal entities in these failure instances usually have higher co-occurrences in the pre-training corpus. Finally, we propose erasing shortcut neurons to mitigate the associated risks and find that this approach significantly reduces failures in multiple-hop knowledge editing caused by shortcuts.
[ -0.22272557020187378, -1.123257040977478, 1.191678762435913, -0.2043309211730957, -0.04624843969941139, 0.29816314578056335, -0.32535043358802795, -0.2482834756374359, 0.17136578261852264, 0.3704906702041626, -0.5277866721153259, -0.5033515095710754, -0.5882059931755066, 0.1613306850194931, -0.09896285086870193, 1.0589944124221802, 0.042848631739616394, -0.33580029010772705, -0.17859597504138947, -0.22489626705646515, -0.7262770533561707, -0.6003566384315491, -0.6375181078910828, 0.21282480657100677, 1.1261860132217407, 0.47441747784614563, 1.0105937719345093, 0.47259029746055603, 0.32374605536460876, 0.3390265107154846, -0.4971735179424286, 0.20842032134532928, -0.3543996810913086, -0.060667138546705246, -0.263641357421875, -0.6978183388710022, -0.48515886068344116, -0.11917393654584885, 0.8275876045227051, 0.769677996635437, 0.17320826649665833, 0.13635273277759552, -0.0056968326680362225, 0.5982407927513123, -0.5369879603385925, -0.34437087178230286, -0.9087094664573669, -0.23094728589057922, -0.3985883593559265, -0.3749057352542877, -0.39963340759277344, -0.5641673803329468, 0.000422412995249033, -0.46477198600769043, 0.03086165525019169, 0.12506037950515747, 0.6273950338363647, 0.2519242465496063, -0.5765613913536072, -0.3922543525695801, -0.5429747700691223, 0.5545365214347839, -0.5663989782333374, 0.3240685760974884, 0.15239867568016052, 0.22408680617809296, -0.22271332144737244, -0.44194114208221436, -0.5003522038459778, -0.15496811270713806, -0.2585528790950775, -0.4063985049724579, -0.0877145379781723, 0.2814299166202545, 0.7350132465362549, -0.28720036149024963, -0.2334137260913849, 0.03981531783938408, -0.5410628914833069, -0.4261969029903412, 0.19807489216327667, 0.15076355636119843, 0.4278045892715454, -0.21073982119560242, -0.21475377678871155, 0.19557519257068634, -1.1435317993164062, 0.1768542230129242, 0.41800519824028015, 0.2955552339553833, 0.18567445874214172, 0.7849942445755005, 0.013961938209831715, 0.859788715839386, -0.2682088017463684, -0.6033580899238586, 0.1715869903564453, -0.6145594120025635, -0.12336639314889908, 0.14226789772510529, 0.7588121891021729, 0.004908145405352116, 0.3891119062900543, -0.23134751617908478, 0.1879296600818634, -0.3951338827610016, -0.039725691080093384, -0.490400105714798, -0.009499921463429928, 0.13484764099121094, -0.3005162477493286, -0.1289130449295044, -0.4678914248943329, -0.5098322629928589, -0.16178220510482788, -0.2668343782424927, 0.6463280320167542, -0.7114766240119934, 0.09069143235683441, 0.1414782851934433, -0.33387312293052673, -0.15234960615634918, 0.5216148495674133, -0.5640493035316467, -0.05334799364209175, 0.7533085942268372, 1.0136382579803467, 0.13364380598068237, -0.6873852014541626, -0.5826035141944885, 0.4303306043148041, -0.33630478382110596, 0.4467755854129791, -0.4164898693561554, -0.37419503927230835, -0.16906476020812988, -0.23065920174121857, -0.18344321846961975, -0.23997366428375244, 0.5607292652130127, -0.870836079120636, -0.2242979258298874, -0.6838082671165466, -0.6830834746360779, -0.28372395038604736, 0.3886585831642151, -0.5947840809822083, 0.4495397210121155, -0.479091614484787, -1.1048530340194702, 0.2769813537597656, -0.5215722918510437, -0.583172619342804, -0.461564838886261, -0.10563082993030548, -0.23705075681209564, -0.029381994158029556, 0.08882341533899307, 0.2109752744436264, -0.07959144562482834, 0.3867865800857544, -0.45249682664871216, -0.21245400607585907, 0.22698822617530823, -0.5021418929100037, 0.8779869675636292, -0.17286443710327148, -0.0758005753159523, 0.07245472073554993, -0.7944431900978088, -0.16267725825309753, 0.061086054891347885, -0.3484324812889099, -0.7354496121406555, -0.16452321410179138, -0.5929036736488342, 0.5629493594169617, -0.04475339502096176, -0.3908005952835083, 0.5715504884719849, -0.053682081401348114, 0.1643754094839096, 0.800241231918335, 0.5518548488616943, 0.21871145069599152, -0.1319514811038971, 0.3482872247695923, 0.11135466396808624, 0.1554383933544159, -0.2611280381679535, -0.464450865983963, -0.8064567446708679, -0.4612610638141632, 0.31343719363212585, 0.3746451735496521, -0.7873385548591614, 0.26465487480163574, -0.2823998034000397, -0.4020526707172394, -0.38586339354515076, 0.2665797173976898, 0.28362271189689636, 0.7426923513412476, 0.46440696716308594, 0.23564933240413666, -0.2301338165998459, -0.8365427255630493, -0.603459358215332, -0.12659290432929993, 0.18690621852874756, 0.19533690810203552, 0.5765489339828491, -0.18619263172149658, 1.0363911390304565, -0.64422208070755, -0.06828552484512329, -0.11053396016359329, 0.2202375829219818, 0.2640460729598999, 0.30901455879211426, 0.6746699810028076, -0.40862616896629333, -0.24656197428703308, -0.6131334900856018, -0.5660548806190491, 0.3507029712200165, -0.4430477023124695, -0.26267367601394653, -0.14906460046768188, 0.5661662817001343, -1.1550086736679077, 0.45153436064720154, 0.15000343322753906, -0.19852077960968018, 0.8465896844863892, -0.19176436960697174, 0.22153645753860474, -0.7344529628753662, 0.04588387906551361, -0.4546496272087097, -0.016387900337576866, -0.6619468927383423, -0.2761867344379425, 0.08417753875255585, 0.09143505245447159, -0.6063299775123596, 0.3762472867965698, -0.460307240486145, -0.08246610313653946, -0.15601585805416107, 0.09352502226829529, 0.20463509857654572, 0.5778235197067261, 0.030468983575701714, 0.694977343082428, 0.4774876534938812, -0.8081436157226562, 0.0506664514541626, 0.495187371969223, -0.4181358814239502, -0.07010506838560104, -0.5594927668571472, 0.30324745178222656, -0.24582447111606598, 0.2536466717720032, -0.7271592617034912, 0.12118501961231232, 0.07874126732349396, -0.20810319483280182, 0.17490601539611816, -0.3536973297595978, -0.7194151282310486, -0.1295785903930664, -0.3709428906440735, 0.5088045001029968, 0.1263568252325058, -0.6451057195663452, 0.40490081906318665, -0.04209255054593086, -0.3289472460746765, -0.7321721315383911, -0.5456053614616394, 0.19810569286346436, -0.28221043944358826, -0.8144206404685974, 0.06230626627802849, -0.12347566336393356, -0.08366622030735016, 0.14198805391788483, 0.20401406288146973, 0.2663605809211731, 0.2095780223608017, 0.04933645948767662, 0.5502172708511353, -0.03036683239042759, 0.3587479591369629, 0.18544265627861023, 0.017277231439948082, 0.1219019815325737, 0.09471249580383301, 0.16274841129779816, -0.038662999868392944, -0.6823098659515381, -0.24820241332054138, 0.2283860594034195, 0.7618069052696228, -0.3208603262901306, 0.8799545168876648, 0.23078444600105286, -0.2714819312095642, 0.1466345191001892, -0.6305232048034668, -0.20710471272468567, -0.45350804924964905, 0.44342315196990967, -0.4850793480873108, -0.9806269407272339, 0.27900004386901855, -0.39046934247016907, 0.02775232493877411, 0.3037809431552887, 0.32894256711006165, -0.16882996261119843, 0.5849060416221619, 0.47126516699790955, -0.19661778211593628, 0.18886828422546387, -0.16304397583007812, 0.5388857126235962, -0.9164982438087463, -0.13422757387161255, -0.6471524834632874, -0.21426063776016235, -0.4881390631198883, -0.5367984771728516, 0.8095370531082153, 0.40818196535110474, -0.167547807097435, 0.1643800139427185, 0.264313668012619, 0.6213168501853943, 0.7079151272773743, -0.09614025056362152, 0.35068896412849426, -0.25674867630004883, -0.590982973575592, 0.06171058490872383, -0.9306432604789734, -0.33072975277900696, 1.106299638748169, 0.3978395164012909, 0.7647125720977783, 0.1256682127714157, 0.6982256770133972, -0.11538992077112198, -0.20151250064373016, -0.8587081432342529, 0.4255967140197754, 0.31675276160240173, -0.8161459565162659, -0.4609937369823456, -0.3900928497314453, -0.47199365496635437, 0.156599223613739, -0.4187585115432739, -0.707332968711853, 0.24406489729881287, 0.5623367428779602, -0.9487846493721008, 0.7314974069595337, -0.7179902195930481, 0.8836215138435364, -0.5484938621520996, -0.4570969045162201, -0.3508857190608978, -0.9659238457679749, 0.7348905801773071, -0.13804146647453308, 0.4934699833393097, 0.0447545051574707, 0.24625079333782196, 0.6984454989433289, -0.3680518567562103, 0.8016068339347839, -0.1496935784816742, 0.18656884133815765, 0.5085622072219849, 0.30309316515922546, 0.7271076440811157, 0.13306519389152527, 0.12030214816331863, 0.1436179131269455, -0.22203226387500763, -0.029119810089468956, -0.6451758146286011, 0.41150155663490295, -0.6814600229263306, -0.6092700958251953, -0.38057419657707214, -0.3938383162021637, -0.6219891309738159, 0.18746936321258545, 0.018042322248220444, 0.5466589331626892, -0.12275633215904236, 0.020220475271344185, 0.5749040842056274, -0.4917496144771576, 0.6077485084533691, 0.28967708349227905, -0.10449354350566864, -0.40191128849983215, 0.7303328514099121, 0.09717841446399689, 0.527066707611084, 0.3245551884174347, 0.20853134989738464, -0.2874777913093567, -0.5728319883346558, -0.17538334429264069, 0.4217255413532257, -1.0133408308029175, -0.3273991346359253, -0.9870219230651855, -0.14298467338085175, -0.3496103882789612, -0.14054083824157715, -0.40152430534362793, -0.5695641040802002, -0.13549894094467163, -0.30069848895072937, 0.3885437548160553, 0.40516912937164307, -0.37264829874038696, 0.30633509159088135, -1.2756068706512451, 0.6407858729362488, 0.6021333932876587, 0.12120627611875534, 0.24513652920722961, -0.30806678533554077, -0.36566683650016785, -0.10946662724018097, -0.09005451202392578, -0.8747481107711792, -0.0018634065054357052, 0.10644027590751648, 0.400743693113327, 0.5109902620315552, -0.27913451194763184, 0.7927638292312622, -1.0267795324325562, 0.6288110613822937, 0.4272577166557312, -0.8849853873252869, 0.4673963487148285, -0.10085460543632507, 0.15405534207820892, 0.7510113716125488, 0.7169798016548157, -0.846316933631897, -0.22576095163822174, -0.4954310953617096, -0.5649347305297852, 0.658677875995636, -0.016933461651206017, -0.19067740440368652, -0.13920027017593384, 0.3175906240940094, 0.13503055274486542, 0.36392587423324585, -0.33938345313072205, -0.431957483291626, 0.08742392808198929, 0.19947226345539093, -0.08538324385881424, -0.6923913955688477, -0.3009173572063446, -0.422428697347641, 0.7707836627960205, 0.014265364967286587, 0.010800197720527649, -0.05257860943675041, -0.3113856315612793, 0.1800527423620224, 0.6303187012672424, 0.7242273092269897, 0.7141175866127014, -0.32421931624412537, 0.3188537657260895, 0.07758905738592148, -0.2605839967727661, 0.16971471905708313, -0.48595550656318665, -0.429586261510849, 0.18233267962932587, 0.5858937501907349, 0.9794387817382812, 0.23411156237125397, -0.3615437150001526, 0.4869334399700165, 0.0619635134935379, 0.059959348291158676, 0.11252066493034363, -0.009930921718478203, 0.3482562303543091, 0.022719116881489754, 0.07552983611822128, 0.6803767681121826, 0.04999838396906853, -0.71971195936203, 0.12829123437404633, 0.4296897053718567, 0.09286870062351227, -0.4721522927284241, 0.35180166363716125, 0.11166069656610489, -0.10642809420824051, 0.7370172739028931, 0.0016687983879819512, -0.8121179938316345, 0.2828398048877716, 0.29056745767593384, 0.7561461329460144, 0.11204774677753448, 0.13281503319740295, 0.5293241143226624, 0.5801108479499817, 0.0946473702788353, -0.22043414413928986, 0.15165190398693085, -0.7932714223861694, -0.5916087031364441, -0.37683922052383423, -0.32652345299720764, 0.11698079109191895, -0.19852802157402039, 0.5653859972953796, -0.3459715247154236, -0.2307068258523941, 0.11373671889305115, -0.360164999961853, -0.8250578045845032, 0.18198177218437195, 0.12128417193889618, 1.0332847833633423, -0.829321563243866, 1.01466965675354, 0.2710917592048645, -0.42312949895858765, -0.9705334901809692, 0.08566656708717346, 0.27051952481269836, -0.5778513550758362, 0.7330612540245056, -0.18295221030712128, -0.24488049745559692, -0.22719183564186096, -0.4059605896472931, -0.9993698596954346, 0.7993327379226685, 0.4650595188140869, -0.7327775955200195, -0.4596047103404999, 0.2861156761646271, 0.11109529435634613, 0.13795465230941772, 0.3739623427391052, 0.8814237117767334, 0.6027830839157104, 0.17613163590431213, -0.8411928415298462, 0.06664558500051498, 0.3613370954990387, -0.3719700574874878, 0.05490020290017128, -0.5319584608078003, 0.761875569820404, -0.6836471557617188, 0.03094138763844967, -0.3603564202785492, 0.440468430519104, 0.41056668758392334, -0.0202749315649271, 0.6850384473800659, 0.4741603434085846, 0.8002052903175354, 0.20971660315990448, 0.7831578254699707, -0.22073477506637573, 0.1736614853143692, 1.4320173263549805, -0.11268453299999237, 0.6389861106872559, 0.8148115277290344, 0.014044757932424545, 0.3832826018333435, 0.2948338985443115, 0.39835476875305176, 0.6880121231079102, -0.023899320513010025, -0.24930697679519653, -0.285338819026947, 0.19502398371696472, -0.3245326280593872, 0.4514646828174591, 0.36024823784828186, -0.0544409453868866, -0.32168346643447876, 0.11854405701160431, 0.4128715395927429, -0.36750954389572144, -0.2475772500038147, 0.7112271189689636, 0.14172038435935974, -0.7606672644615173, 0.3837575912475586, 0.09434220939874649, 0.6229444742202759, -0.7926338911056519, -0.07905544340610504, -0.04209784045815468, -0.3196164071559906, -0.03962697088718414, -0.743035614490509, 0.35378748178482056, 0.12038619071245193, -0.05278538167476654, -0.09236764907836914, 0.8787680864334106, -0.5168978571891785, -0.31027519702911377, 0.2995217740535736, 0.5015949606895447, -0.05132511258125305, -0.18573924899101257, -0.5285375714302063, 0.07772813737392426, -0.07711636275053024, -0.18841366469860077, 0.2227105349302292, 0.7000938057899475, 0.10556753724813461, 0.5339999794960022, 0.630579948425293, 0.34274375438690186, 0.4691149890422821, 0.0341535359621048, 0.9072903990745544, -0.9038403630256653, -0.3539303243160248, -1.004341721534729, 0.4573098123073578, 0.0981745794415474, -0.06833458691835403, 0.5978788137435913, 0.5393878221511841, 0.589293360710144, -0.29719021916389465, 0.9547107815742493, 0.027649978175759315, 0.5927967429161072, -0.8607452511787415, 0.7589976191520691, -0.3235327899456024, 0.08796975016593933, -0.3794245421886444, -0.6864104866981506, -0.17061012983322144, -0.014710967428982258, -0.4151892364025116, -0.13061684370040894, 1.0911149978637695, 0.6526980996131897, -0.07663389295339584, -0.279344379901886, 0.44835180044174194, 0.3770180344581604, 0.42588910460472107, 0.5283979177474976, 0.9031010866165161, -0.12457655370235443, 0.6480715870857239, -0.4008455276489258, -0.017623212188482285, -0.21156999468803406, -0.9985154867172241, -0.9178609251976013, -0.11681205779314041, -0.3299979865550995, -0.13130024075508118, -0.016088949516415596, 0.918177604675293, 0.21821878850460052, -0.5509598851203918, 0.17866629362106323, 0.23864522576332092, 0.7013769745826721, 0.054595593363046646, -0.07864818722009659, 0.7181520462036133, -0.5184773206710815, -0.29560887813568115, 0.6176674365997314, 0.4340752363204956, -0.0240327175706625, 0.12188194692134857, 0.03094489872455597, -0.5768477320671082, 0.06337844580411911, 0.6283506155014038, 0.33871975541114807, -0.592522144317627, -0.7615016102790833, -0.04045954346656799, 0.033072154968976974, 0.08851556479930878, 1.0467712879180908, -0.5474382638931274, 0.3266684412956238, 0.540719747543335, 0.7682562470436096, 0.13249924778938293, -0.06064930930733681, 0.24380484223365784, -0.919031023979187, 0.24479301273822784, 0.13174182176589966, 0.5911591649055481, 0.23801858723163605, -0.2771145701408386, 0.04745541512966156, 0.3843965530395508, -0.4094887971878052, -0.49821364879608154, 0.06308505684137344, -0.8525192141532898, -0.20825421810150146, 1.2002489566802979, -0.16415159404277802, -0.3071264326572418, -0.019900387153029442, -0.2890266180038452, 0.34742334485054016, 0.0750972107052803, 0.4960109293460846, 0.7798888087272644, -0.11750327795743942, 0.20370706915855408, -0.5613860487937927, 0.7821873426437378, 0.292786568403244, -0.7952437996864319, 0.022604912519454956, 0.6710416078567505, 0.5406508445739746, 0.3228861391544342, 0.8138927221298218, 0.016562141478061676, 0.23292501270771027, -0.13207751512527466, 0.08411522954702377, -0.12411441653966904, -0.9628068208694458, -0.10582020878791809, 0.24815019965171814, 0.38519343733787537, -0.32701975107192993 ]
http://arxiv.org/abs/2402.11896v2
http://arxiv.org/pdf/2402.11896v2
SIBO: A Simple Booster for Parameter-Efficient Fine-Tuning
2024-02-19T07:22:29
2024-06-01T07:13:15
Zhihao Wen, Jie Zhang, Yuan Fang
cs.CL
cs.CL
Fine-tuning all parameters of large language models (LLMs) necessitates substantial computational power and extended time. Latest advancements in parameter-efficient fine-tuning (PEFT) techniques, such as Adapter tuning and LoRA, allow for adjustments to only a minor fraction of the parameters of these LLMs. Concurrently, it has been noted that the issue of over-smoothing diminishes the effectiveness of these Transformer-based LLMs, resulting in suboptimal performances in downstream tasks. In this paper, we present SIBO, which is a SImple BOoster to enhance PEFT, by injecting an initial residual. SIBO is straightforward and readily extensible to a range of state-of-the-art PEFT techniques to alleviate over-smoothing and enhance performance. Extensive experiments on 22 benchmark datasets demonstrate that SIBO significantly enhances the performance of various strong baselines, achieving up to 15.7% and 23.5% improvement over existing PEFT methods on the arithmetic and commonsense reasoning tasks, respectively.
[ -0.6015099287033081, -1.0651686191558838, 0.46129488945007324, 0.21194806694984436, -0.3575024902820587, 0.08700103312730789, -0.34843727946281433, -0.2384507805109024, 0.14315684139728546, 0.6894016861915588, -0.28442856669425964, -0.17428545653820038, -0.7078655362129211, -0.21870706975460052, -0.20043575763702393, 1.0297163724899292, 0.4326118230819702, -0.28614407777786255, 0.11545347422361374, 0.1905614286661148, -0.3440927565097809, 0.012017782777547836, -0.8751601576805115, -0.486979216337204, 0.3955923318862915, 0.5630797147750854, 0.730735182762146, 0.45398446917533875, 0.2566652297973633, 0.25340214371681213, -0.34259849786758423, 0.5670265555381775, -0.8271225094795227, -0.05507920682430267, -0.26905718445777893, -0.31052976846694946, -0.7724783420562744, -0.3578369617462158, 0.8789107203483582, 0.8202758431434631, -0.03796426206827164, 0.33928266167640686, 0.23984713852405548, 0.8008078932762146, -0.8481058478355408, 0.08783160150051117, -0.9832276105880737, -0.6965385675430298, -0.24055859446525574, -0.44006940722465515, -0.5324060916900635, -0.39546847343444824, -0.41042813658714294, -0.33787739276885986, -0.05503605678677559, 0.06048394367098808, 1.00851309299469, 0.5705510377883911, -0.4549008309841156, 0.17891249060630798, -0.6041775941848755, 0.729867696762085, -0.9073643088340759, 0.3081124722957611, 0.26694047451019287, 0.14642438292503357, -0.5837616920471191, -0.6339473724365234, -0.2554905116558075, -0.1876288652420044, -0.22223632037639618, -0.07124673575162888, -0.0514366552233696, 0.17210566997528076, 0.4933030903339386, 0.3007829189300537, -0.06240883097052574, 0.3398963212966919, -0.5952032804489136, -0.23860450088977814, 0.45946747064590454, 0.03825584426522255, -0.060927700251340866, 0.07061465829610825, -0.29550546407699585, 0.4039585292339325, -1.100256085395813, 0.3481695353984833, 0.5638676285743713, 0.5846864581108093, 0.29992255568504333, 0.22913292050361633, -0.48077717423439026, 0.9213740825653076, 0.2505244016647339, -0.2797437012195587, 0.1267024725675583, -0.19048823416233063, -0.20073804259300232, -0.15842291712760925, 0.45311522483825684, 0.1826651692390442, 0.07498662173748016, -0.07795078307390213, -0.1850622594356537, -0.12024042755365372, 0.10592090338468552, -1.1217917203903198, -0.17241857945919037, 0.0332689993083477, -0.14879293739795685, -0.1986032873392105, -0.12238758057355881, -0.6134202480316162, -0.23167435824871063, -0.3877294063568115, 0.5787185430526733, -0.47606414556503296, -0.04889824986457825, 0.07759001851081848, -0.03550093621015549, 0.37161731719970703, 0.3068801164627075, -0.882752001285553, 0.33816415071487427, 0.8641744256019592, 0.6269003748893738, -0.029732324182987213, -0.20998001098632812, -1.160293459892273, 0.2268494963645935, -0.4364519417285919, 0.9865177869796753, -0.7121568918228149, -0.20436991751194, -0.37069499492645264, 0.15720029175281525, 0.16799482703208923, -0.5521613359451294, 0.7498201727867126, -0.21776936948299408, -0.18558178842067719, -0.2873663604259491, -0.35482457280158997, -0.014478407800197601, -0.11540058255195618, -0.4468478560447693, 1.3102481365203857, 0.1851796805858612, 0.013285266235470772, 0.5684689283370972, -0.4405317008495331, -0.8282786011695862, 0.19768252968788147, -0.01357831247150898, -0.25960105657577515, 0.33889326453208923, 0.47607067227363586, 0.4949198067188263, -0.48004570603370667, 0.354559987783432, -0.41749903559684753, -1.0377873182296753, -0.11248292773962021, -0.5619262456893921, 0.5153833031654358, 0.10379212349653244, -0.20425252616405487, -0.22019891440868378, -0.9351751208305359, 0.18997745215892792, -0.2705394923686981, -0.32726341485977173, -0.34978771209716797, -0.04514148086309433, -0.5144959092140198, -0.11391877382993698, 0.23059533536434174, -0.6121526956558228, 0.4786219894886017, -0.6904284954071045, 0.42626866698265076, 0.8448160886764526, -0.1106736809015274, 0.5804193615913391, -0.09858526289463043, 0.2887169420719147, -0.1818455159664154, 0.04089226946234703, -0.467023104429245, -0.4888020157814026, -0.7045038938522339, -0.7638285160064697, 0.3613625466823578, 0.12546607851982117, -0.3997189998626709, 0.5787330269813538, -0.2777446508407593, -0.6198570132255554, -0.7735201716423035, 0.6004125475883484, 0.18942870199680328, 0.7312839031219482, 0.39890992641448975, 0.12255609780550003, 0.003169562201946974, -1.045647144317627, -0.3920968770980835, 0.006412663497030735, -0.09044759720563889, 0.2950480878353119, 0.006872702389955521, -0.17080363631248474, 0.8296064734458923, -0.7025014162063599, -0.4012172222137451, -0.2157663106918335, 0.26211512088775635, 0.44521012902259827, 0.42829960584640503, 0.6292612552642822, -0.5141290426254272, -0.5601797699928284, 0.09522715210914612, 0.0991632416844368, -0.6852662563323975, -0.212527796626091, -0.24317793548107147, 0.23961926996707916, 0.7007949948310852, -0.22309888899326324, 0.2153693437576294, 0.4359000027179718, -0.20378848910331726, 0.22667354345321655, -0.3249056935310364, 0.1449093520641327, -0.7831212878227234, 0.2418356090784073, -0.30203473567962646, -0.3497694134712219, -0.38710248470306396, -0.14859426021575928, 0.3602724075317383, -0.026768404990434647, -0.3764340877532959, 0.6843136548995972, -0.4028247594833374, 0.24706025421619415, -0.7989131808280945, 0.23881247639656067, 0.04335641860961914, 0.4687853455543518, -0.29500612616539, 0.9275045990943909, 0.5562692880630493, -0.7982418537139893, 0.211107537150383, -0.24884971976280212, -0.16387197375297546, 0.3462517261505127, -0.6819966435432434, -0.08659135550260544, -0.373212605714798, 0.23022624850273132, -1.2146728038787842, -0.08648811280727386, -0.032414596527814865, -0.15504656732082367, 0.5012664198875427, -0.17783929407596588, -0.32140836119651794, -0.3632770776748657, -0.4036450982093811, 0.011439665220677853, 0.8324679136276245, -0.6757836937904358, 0.8808397054672241, 0.2588016986846924, -0.2613196074962616, -0.5023465156555176, -0.4415413439273834, -0.14635708928108215, -0.18786747753620148, -0.29778456687927246, 0.4346424341201782, 0.1182158812880516, 0.18857043981552124, -0.2488536238670349, -0.2924722135066986, 0.17079836130142212, 0.34104663133621216, 0.15036438405513763, 0.10490666329860687, -0.1538236439228058, 0.1161590963602066, 0.7400182485580444, -0.43646979331970215, -0.3154316842556, 0.08552168309688568, 0.45928704738616943, -0.4048472046852112, -0.21813653409481049, -0.14911994338035583, 0.1349002718925476, 0.480218768119812, -0.054964032024145126, 0.7347975969314575, 0.6392179727554321, -0.22532403469085693, -0.4379252791404724, -0.7740181088447571, -0.32189297676086426, -0.5786808729171753, 0.4033132493495941, -0.6669074296951294, -0.6203995943069458, 0.3641398847103119, -0.6958052515983582, 0.1254340559244156, 0.24964076280593872, 0.4937269389629364, -0.09167268127202988, 0.9606503248214722, 0.7152069807052612, -0.048050470650196075, 0.5877707004547119, -0.016583973541855812, 0.44991129636764526, -0.8558240532875061, 0.02443626895546913, -0.5336869955062866, -0.49954354763031006, -0.48877257108688354, -0.07734062522649765, 0.18255029618740082, 0.4959341883659363, -0.30506637692451477, 0.6523630023002625, -0.2604213356971741, 0.7013868093490601, 0.46451568603515625, 0.2114000767469406, 0.4249430000782013, -0.20038340985774994, 0.2196512073278427, 0.077391617000103, -0.5884736180305481, -0.5369001030921936, 0.7761203050613403, 0.1930878609418869, 1.12073814868927, -0.170155331492424, 0.46918824315071106, 0.07589675486087799, 0.24587330222129822, -0.7049874663352966, 0.6811245679855347, -0.4496632516384125, -0.5339984893798828, -0.3139990568161011, -0.18348243832588196, -0.6048282980918884, 0.24747738242149353, -0.16538478434085846, -1.0255688428878784, 0.3284326195716858, 0.5678369998931885, -0.6607019901275635, 0.11788369715213776, -0.9629167318344116, 0.6118149161338806, -0.25704264640808105, -0.550251841545105, -0.3116229772567749, -0.5140454769134521, 0.11657477915287018, -0.462568074464798, -0.009896991774439812, -0.43811261653900146, -0.24313004314899445, 0.3006914258003235, -0.2516424357891083, 0.6478396654129028, -0.09084009379148483, -0.16769391298294067, 0.09004300832748413, -0.005513294134289026, 0.7405611872673035, 0.1782800704240799, -0.3956601321697235, 0.04155435413122177, 0.07258515805006027, -0.5881158113479614, -0.8889814615249634, 1.025312900543213, -0.37016817927360535, -0.6768113374710083, -0.027095787227153778, -0.47045931220054626, -0.555469274520874, 0.2884475886821747, 0.07440418004989624, 0.421050488948822, 0.16877292096614838, 0.8514583706855774, 0.3335314393043518, -0.2949657142162323, 0.30141332745552063, 0.7106783390045166, -0.1891801655292511, -0.19291310012340546, 0.9682771563529968, 0.1589280366897583, 0.6219806671142578, 0.31717395782470703, 0.28594034910202026, -0.2236601859331131, -0.2015829235315323, -0.33652248978614807, 0.4024275541305542, -0.45763278007507324, -0.4259544312953949, -0.4209578335285187, -0.11889155209064484, -0.4610982835292816, -0.37771695852279663, -0.6196696758270264, -0.44536593556404114, -0.0953812301158905, 0.016376471146941185, 0.3069082200527191, 0.18031302094459534, 0.06902498006820679, 0.7860507369041443, -0.547642171382904, 0.5686157941818237, 0.05152647942304611, 0.5437127351760864, -0.3318907618522644, -0.8517717719078064, -0.2503281533718109, 0.15811195969581604, -0.4428163468837738, -0.5090062618255615, 0.1916799545288086, 0.57615065574646, 0.6737619638442993, 0.6070467233657837, 0.13357335329055786, 1.287917137145996, -0.340443879365921, 0.7107024192810059, -0.12713433802127838, -0.9345116019248962, 0.6078482270240784, -0.1309977024793625, 0.2016783356666565, 0.6292617917060852, 0.20217415690422058, 0.17855791747570038, -0.48874300718307495, -0.3954514265060425, -1.1471909284591675, 0.6888089776039124, -0.07620041817426682, 0.2699339687824249, 0.1556369811296463, 0.49089062213897705, 0.33192747831344604, 0.23876409232616425, -0.5241198539733887, -0.14011260867118835, 0.24689850211143494, 0.07479602843523026, -0.15297088027000427, -0.26516690850257874, 0.11547234654426575, -0.4599186182022095, 1.076686978340149, -0.5772332549095154, -0.031472574919462204, -0.3310704827308655, -0.08610452711582184, -0.14537012577056885, 0.36164626479148865, 0.30554863810539246, 0.5839991569519043, -0.31226813793182373, 0.03173809498548508, 0.5448117256164551, -0.17544957995414734, -0.08730775117874146, 0.0959683433175087, -0.3922000229358673, -0.21384382247924805, -0.09688202291727066, 0.9184793829917908, 0.41632556915283203, -0.5842508673667908, 0.165366068482399, 0.4186384081840515, 0.1696912795305252, 0.2591663599014282, 0.44853147864341736, 0.06161206215620041, 0.230849489569664, 0.5233539342880249, -0.011734222993254662, 0.22024379670619965, -0.6253796219825745, 0.032375726848840714, 0.5620947480201721, 0.015906529501080513, 0.03416617587208748, 0.45141246914863586, 0.18865817785263062, -0.26102226972579956, 0.2195362001657486, 0.0955812856554985, -0.20560874044895172, 0.4778684079647064, 0.7890000939369202, 0.5576553344726562, 0.0416729561984539, -0.10582099109888077, 0.3240128755569458, 0.4430445432662964, -0.004577531013637781, 0.14289337396621704, -0.18423862755298615, -0.3690013587474823, -0.6271538138389587, -0.833250880241394, -0.21412868797779083, 0.2008507400751114, -0.648617684841156, 0.7191696763038635, -0.2477727085351944, -0.320782870054245, -0.04559265449643135, -0.09758301079273224, -0.3689160943031311, 0.1562880128622055, 0.04426576942205429, 0.9223830103874207, -0.6448978781700134, 0.9489811062812805, 0.5352358818054199, -0.21887217462062836, -0.7974993586540222, 0.06392597407102585, -0.5014936923980713, -0.75844806432724, 0.5166191458702087, 0.06296766549348831, -0.46788638830184937, 0.11649607867002487, -0.5176631212234497, -0.8954212069511414, 0.9109238982200623, 0.9008749723434448, -0.7387231588363647, -0.0231636893004179, 0.07527211308479309, 0.6251289248466492, 0.0061937603168189526, 0.4718751013278961, 0.935046911239624, 0.4438139498233795, 0.02611793391406536, -0.8247491121292114, 0.13471774756908417, -0.015266776084899902, 0.04404595121741295, 0.5297821760177612, -0.9417445063591003, 0.4174448847770691, -0.14113128185272217, 0.16205374896526337, 0.16315527260303497, 0.7075694799423218, 0.1282694786787033, 0.03611217439174652, 0.522205114364624, 0.1608455628156662, 0.8202144503593445, -0.3912455439567566, 0.8117124438285828, -0.5969784259796143, 0.3806052803993225, 1.139053225517273, -0.17142513394355774, 0.8610776662826538, 0.6451414823532104, -0.09697537869215012, 0.3134547173976898, 0.18033823370933533, 0.09360899776220322, 0.48467400670051575, -0.1000918373465538, -0.036144956946372986, -0.6604090332984924, 0.008209120482206345, -0.4757534861564636, 0.28054389357566833, 0.5153114795684814, -0.2053881585597992, -0.3349422216415405, 0.0921984538435936, -0.12369345873594284, -0.002285013208165765, -0.4194798767566681, 0.6020998954772949, 0.25217488408088684, -0.8643662929534912, 0.6181354522705078, -0.08139938861131668, 0.6974016427993774, -0.8253509402275085, 0.01987624168395996, -0.38584521412849426, 0.5437875986099243, -0.19879022240638733, -0.7415195107460022, 0.3090105652809143, -0.2021787017583847, -0.019036058336496353, -0.29770609736442566, 0.9317977428436279, -0.37576812505722046, -0.40253573656082153, 0.3914799094200134, 0.12042660266160965, 0.035167962312698364, -0.08041646331548691, -0.44223734736442566, -0.003536681644618511, -0.11299711465835571, -0.3878956437110901, 0.25087136030197144, 0.309230238199234, 0.06293494254350662, 0.8968281745910645, 0.704801082611084, 0.4444608688354492, 0.043490950018167496, 0.11241559684276581, 0.9624638557434082, -0.5507950782775879, -0.4337921142578125, -0.9114957451820374, 0.5254620313644409, -0.11593514680862427, -0.23567800223827362, 0.7436853647232056, 0.5638116598129272, 0.567741334438324, 0.09539178013801575, 0.4359149932861328, -0.03292049467563629, 0.6451576352119446, -0.4240654706954956, 0.5073879957199097, -0.9358375668525696, 0.35020121932029724, -0.4383138120174408, -0.9580837488174438, -0.1720716655254364, 0.4558761715888977, -0.3958059847354889, -0.0959329754114151, 0.45994871854782104, 1.0469586849212646, -0.20625171065330505, -0.16152460873126984, 0.497230589389801, 0.3558283746242523, 0.4897277057170868, 0.3997316062450409, 0.4482090175151825, -0.5702195763587952, 0.6319762468338013, -0.13463445007801056, -0.3592697083950043, -0.34000343084335327, -1.0793706178665161, -0.6651401519775391, -0.1761421114206314, -0.2194073647260666, -0.23186136782169342, 0.20375007390975952, 0.8204095363616943, 0.7235369682312012, -0.9054615497589111, 0.09306231141090393, 0.021715963259339333, -0.02000759355723858, -0.25190556049346924, -0.19150909781455994, 0.062368251383304596, -0.6333077549934387, -1.0359567403793335, 0.49247780442237854, 0.4724910259246826, -0.32776081562042236, 0.04756774753332138, -0.0028224156703799963, 0.023718377575278282, 0.3848293125629425, 0.7010346055030823, 0.3580195903778076, -0.7705226540565491, -0.1446898877620697, -0.019170131534337997, 0.03802435100078583, -0.006761756259948015, 0.524196445941925, -1.1060954332351685, 0.33176103234291077, 0.6183013916015625, 0.7698671817779541, 0.6037877798080444, 0.4942121207714081, 0.5886549949645996, -0.6234296560287476, 0.22163674235343933, -0.027859952300786972, 0.5624750256538391, -0.10406892746686935, -0.40633222460746765, 0.38825157284736633, 0.022953752428293228, -0.5582267045974731, -1.0777322053909302, -0.01663648523390293, -1.0577577352523804, -0.29275405406951904, 1.314363718032837, 0.15196223556995392, -0.036689210683107376, 0.21121487021446228, -0.7441535592079163, 0.05658653378486633, -0.6346576809883118, 0.6166446805000305, 0.5214120745658875, -0.01833280175924301, 0.12655745446681976, -0.21229298412799835, 0.277810275554657, 0.6547901034355164, -0.7657788991928101, 0.011206071823835373, 0.35212981700897217, 0.3481025695800781, 0.05061180889606476, 0.5809550285339355, -0.06889785826206207, 0.17371515929698944, -0.22681491076946259, -0.49274468421936035, -0.3263005316257477, -0.5131193399429321, -0.12442239373922348, 0.2898651361465454, 0.04887709394097328, 0.02750176191329956 ]
http://arxiv.org/abs/2402.11895v3
http://arxiv.org/pdf/2402.11895v3
Bridging or Breaking: Impact of Intergroup Interactions on Religious Polarization
2024-02-19T07:21:09
2024-03-10T05:38:20
Rochana Chaturvedi, Sugat Chaturvedi, Elena Zheleva
cs.SI
cs.SI, cs.CL, physics.soc-ph
While exposure to diverse viewpoints may reduce polarization, it can also have a backfire effect and exacerbate polarization when the discussion is adversarial. Here, we examine the question whether intergroup interactions around important events affect polarization between majority and minority groups in social networks. We compile data on the religious identity of nearly 700,000 Indian Twitter users engaging in COVID-19-related discourse during 2020. We introduce a new measure for an individual's group conformity based on contextualized embeddings of tweet text, which helps us assess polarization between religious groups. We then use a meta-learning framework to examine heterogeneous treatment effects of intergroup interactions on an individual's group conformity in the light of communal, political, and socio-economic events. We find that for political and social events, intergroup interactions reduce polarization. This decline is weaker for individuals at the extreme who already exhibit high conformity to their group. In contrast, during communal events, intergroup interactions can increase group conformity. Finally, we decompose the differential effects across religious groups in terms of emotions and topics of discussion. The results show that the dynamics of religious polarization are sensitive to the context and have important implications for understanding the role of intergroup interactions.
[ -0.5923499464988708, -0.7870791554450989, -0.167583629488945, 0.5209881663322449, -0.36845195293426514, 0.30853036046028137, -0.3025391399860382, -0.35238680243492126, 0.5214970111846924, -0.14643627405166626, -0.4379618465900421, -0.006792123429477215, -0.8537455201148987, -0.005797258578240871, -0.33192938566207886, 1.1481646299362183, 0.29196128249168396, -0.04960843548178673, 0.019450321793556213, -0.42695385217666626, 0.030161870643496513, -0.4307597875595093, -0.616293728351593, -0.46912479400634766, 0.65447998046875, 0.11372987926006317, 0.8117438554763794, 0.2132817953824997, 0.5987290143966675, 0.2826157808303833, -0.33978521823883057, -0.46336573362350464, -0.8098437190055847, 0.13263948261737823, -0.5343134999275208, -0.3163772523403168, -0.0015723280375823379, 0.4488079249858856, 0.6449535489082336, 0.8130100965499878, -0.3104105591773987, 0.4783148169517517, 0.2755192816257477, 0.48889288306236267, -0.19449545443058014, 0.05131268501281738, -0.7734408974647522, 0.12262241542339325, -0.37723681330680847, -0.3792315721511841, 0.04783901199698448, -0.5643826127052307, 0.3327711820602417, -0.33101513981819153, 0.5143349170684814, 0.03929070010781288, 0.8543968200683594, 0.17214365303516388, -0.6688491106033325, -0.11529684066772461, -0.4365459680557251, 0.8532357811927795, -0.32938969135284424, 0.23328402638435364, 0.39541879296302795, -0.009917103685438633, 0.07569536566734314, -0.29494357109069824, -0.4234558343887329, 0.6925128698348999, 0.14773494005203247, 0.2094133496284485, -0.1754051297903061, 0.10980062186717987, 0.3436562120914459, 0.6622598171234131, -0.15275007486343384, -0.2818205952644348, -0.9517317414283752, 0.2803303897380829, 0.4464655816555023, 0.12629356980323792, 0.9481973648071289, -0.1124936118721962, -0.341449111700058, 0.07552670687437057, -0.5661333799362183, 0.42528876662254333, 0.3745364248752594, 0.15340539813041687, -0.3393200635910034, 0.3637310862541199, 0.42904749512672424, 0.24522419273853302, 0.5710728168487549, 0.01801949180662632, -0.22132232785224915, -0.5630624890327454, -0.28647544980049133, 0.07698870450258255, 0.4559834599494934, 0.8191908597946167, 0.0975654199719429, -0.15316030383110046, 0.5090693235397339, -0.08933036774396896, -0.01251270342618227, -1.0363798141479492, 0.0025852618273347616, -0.20566633343696594, -0.9835498332977295, -0.10713797062635422, 0.36594706773757935, -0.8657962679862976, -0.6494376063346863, -0.14429709315299988, -0.11125974357128143, -0.06983564049005508, -0.5579748153686523, -0.1520250290632248, -0.5445020198822021, 0.6185449957847595, 0.48394107818603516, -1.020559549331665, 0.17218178510665894, 0.7627188563346863, 0.9395771026611328, -0.10557140409946442, -0.13066360354423523, -0.5566374063491821, 0.2816942632198334, -0.01594715192914009, 0.30975449085235596, -0.9124688506126404, -0.5994081497192383, -0.025051049888134003, 0.01441609114408493, -0.13035628199577332, -0.5526765584945679, 0.12319294363260269, -0.6763392686843872, 0.08510968089103699, -1.0591486692428589, -0.2811982333660126, -0.2722114622592926, 0.18022872507572174, -0.4586545526981354, 0.03202151507139206, -0.04929651319980621, -0.8291063904762268, 0.6715377569198608, -0.3969925045967102, -0.5598348379135132, 0.3097551465034485, -0.5516095161437988, -0.5080380439758301, 0.34226080775260925, -0.3189960718154907, 0.15723060071468353, -0.47289547324180603, 0.17134329676628113, -0.9460763931274414, -0.34338662028312683, -0.039407189935445786, 0.003927780780941248, 1.0985913276672363, -0.0037135365419089794, -0.4383079707622528, -0.10385255515575409, -0.029422463849186897, -0.28118544816970825, 0.0005946357268840075, -0.294198215007782, -0.6306602358818054, 0.11912395060062408, -0.0997186079621315, 0.3517485558986664, -0.34619516134262085, -0.574612557888031, 0.3235551714897156, -0.3225991427898407, 0.2073127180337906, 0.9553254842758179, 0.45672667026519775, 0.5924244523048401, -0.09136038273572922, 0.541073203086853, 0.10080940276384354, 0.6058406829833984, 0.3820788264274597, -0.7252287864685059, -0.45161107182502747, 0.16438767313957214, -0.3306112587451935, 0.4247114956378937, -0.5312334895133972, -0.004688756074756384, 0.01958565041422844, -0.1873903125524521, -0.17642828822135925, 0.2524643540382385, 0.35538503527641296, 0.23740147054195404, 0.36199843883514404, -0.40451958775520325, -0.4488621950149536, -0.8187288641929626, -0.9147250056266785, -0.4734096825122833, 0.31404605507850647, 0.08123127371072769, 0.3350924551486969, -0.1462341845035553, 0.5954527854919434, -0.3133324384689331, -0.29287979006767273, -0.05935535579919815, 0.6554258465766907, 0.14753401279449463, 0.20637103915214539, 0.4210222065448761, -1.1018295288085938, -1.0649195909500122, 0.30815041065216064, -0.625826358795166, -0.27299848198890686, -0.16028690338134766, 0.11139361560344696, -0.007244080305099487, 0.41298872232437134, 0.21486292779445648, 1.0865819454193115, 0.7750078439712524, -0.6937898993492126, -0.014582762494683266, 0.5485999584197998, 0.45918262004852295, -1.1642488241195679, -0.34039783477783203, 0.08099398016929626, 0.42037874460220337, -0.7352207899093628, -0.43687817454338074, -0.31467655301094055, 0.1566781997680664, -0.25347429513931274, 0.24160924553871155, -0.2942412197589874, -0.018384242430329323, -0.134975403547287, -0.42225417494773865, -0.08695995062589645, 0.05846298858523369, -0.12774012982845306, 0.8206896185874939, 0.46299654245376587, -0.24427387118339539, -0.03114631585776806, 0.6425442099571228, -0.13054506480693817, 0.5378822684288025, -0.49512967467308044, -0.1323709785938263, -0.24840423464775085, 0.25597837567329407, -0.7714028358459473, -0.2773834466934204, 0.2787523567676544, -0.3132370710372925, -0.05863025039434433, -0.3119393587112427, -0.03741079196333885, -0.05032998323440552, -0.3087303936481476, 0.8976935744285583, 0.30250105261802673, -0.4651481807231903, 0.8136882781982422, 0.5253723859786987, -0.1884741485118866, -0.33601707220077515, -0.9222043752670288, 0.16709479689598083, -0.49209776520729065, -0.833775520324707, 0.2824130058288574, -0.09817218780517578, -0.7463117241859436, 0.05989566817879677, -0.202604278922081, 0.04691199213266373, -0.08961547166109085, 0.7084857225418091, -0.2374812811613083, 0.19717435538768768, 0.36064326763153076, 0.32273802161216736, 0.1960301399230957, 0.10119280964136124, 0.2823566496372223, 0.5298189520835876, -0.9165750741958618, -0.5508005619049072, -0.5108202695846558, 0.9871450662612915, 0.40777790546417236, -0.43067845702171326, 1.3449381589889526, 0.47944656014442444, -0.09776818007230759, 0.33312517404556274, -0.6019676327705383, -0.19850587844848633, -0.5008760094642639, -0.07054601609706879, -0.10392386466264725, -0.9196596741676331, 0.8222188353538513, -0.07405584305524826, 0.06516221910715103, 0.3209655284881592, 0.7741819620132446, -0.21425692737102509, 0.6899785399436951, 0.5641539096832275, 0.2479933351278305, 0.711351752281189, -0.007909639738500118, 0.5987575650215149, -0.6387572288513184, -0.3174053132534027, -0.3251694440841675, -0.40882956981658936, -0.5633164048194885, -0.3861347734928131, 0.7217288613319397, 0.1663036197423935, 0.08577680587768555, -0.24859091639518738, -0.2871515154838562, 0.5322268009185791, 0.16697745025157928, -0.06725548952817917, 0.18121053278446198, 0.20318230986595154, 0.30527836084365845, -0.3100818991661072, -0.5125542283058167, 0.05533015727996826, 0.4967983365058899, 0.050388410687446594, 0.7414553165435791, 0.6458286046981812, 0.7680123448371887, 0.5125784873962402, 0.9105937480926514, -0.2436894029378891, 0.31334900856018066, -0.013391431421041489, -0.6746078133583069, -0.23458190262317657, -0.34255388379096985, -0.8754020929336548, 0.2555478811264038, -0.13619568943977356, -0.29743242263793945, 0.8061232566833496, -0.0936676636338234, -0.15742839872837067, 0.5469655394554138, -0.5511402487754822, 0.3924122154712677, 0.08993129432201385, -0.47107988595962524, -0.3479335606098175, -0.7438720464706421, 0.46747642755508423, 0.06603194028139114, 0.2634919583797455, 0.003735686419531703, 0.2808835804462433, 0.6795161962509155, -0.31779739260673523, 1.154468297958374, -0.16569100320339203, 0.021595994010567665, 0.29028400778770447, -0.23556819558143616, 0.12714986503124237, 0.20762845873832703, -0.06057523936033249, 0.30695557594299316, -0.01909816265106201, -0.7018378973007202, -0.5505117177963257, 0.6482489705085754, -0.961571455001831, -0.9410565495491028, -0.5499120950698853, -0.3971312344074249, 0.14429686963558197, -0.14867791533470154, 0.4349554181098938, 0.1349276453256607, -0.12061380594968796, 0.42763853073120117, 0.9677773714065552, -0.2043602168560028, 0.565807044506073, 0.17999713122844696, -0.35899487137794495, -0.882283091545105, 0.6331647038459778, 0.4679100811481476, 0.6289140582084656, -0.29587122797966003, 0.3290035128593445, 0.377453088760376, -0.10438361018896103, 0.02230747602880001, 0.39176011085510254, -0.588133692741394, 0.09472207725048065, -0.5768014788627625, 0.0614265501499176, -0.5040146708488464, -0.396889865398407, -0.101155124604702, -0.08730611950159073, -0.11834591627120972, -0.044992681592702866, 0.1117091253399849, 0.5829768776893616, -0.2569654583930969, 0.28326961398124695, -0.6590793132781982, -0.07032608985900879, 0.6157742738723755, 0.33357715606689453, 0.0894555151462555, -0.24327225983142853, -0.2608646750450134, -0.2600966691970825, -0.2327311635017395, -1.0584609508514404, -0.265146404504776, 0.39299118518829346, 0.21080802381038666, 1.0540653467178345, 0.10120853781700134, 0.957244336605072, -0.16075390577316284, 0.6033278703689575, 0.6833020448684692, -0.9636864066123962, 0.3064728379249573, -0.48788973689079285, 0.336629182100296, 0.653441846370697, 0.443651407957077, -1.0200510025024414, -0.5928891897201538, -0.6822939515113831, -0.6737393140792847, 0.3640415370464325, 0.292359858751297, 0.0750318169593811, -0.2260875254869461, 0.40976619720458984, 0.2213207483291626, 0.07710917294025421, -0.8001703023910522, -0.403929740190506, -0.3674376904964447, 0.3841134011745453, 0.3151618242263794, -0.29273363947868347, -0.8112999200820923, -0.7159188985824585, 0.3619578778743744, 0.10007917135953903, -0.1704539656639099, 0.18734148144721985, 0.3565573990345001, -0.5902664065361023, -0.017953095957636833, 0.5576701164245605, 0.5618564486503601, -0.15101492404937744, 0.2640936076641083, -0.010907268151640892, -0.5562924146652222, 0.038832519203424454, -0.15151488780975342, -0.11771327257156372, -0.21825216710567474, 0.5103732347488403, 0.44854629039764404, -0.4156350791454315, 0.08569999039173126, 0.6204712390899658, -0.41590067744255066, -0.2590119540691376, -0.10000163316726685, -0.17303317785263062, 0.029692910611629486, 0.5804430842399597, 0.37782159447669983, 0.20078188180923462, -0.0075881946831941605, -1.0679363012313843, 0.09242440015077591, 0.6401715278625488, -0.39818787574768066, -0.6924400925636292, 0.42375242710113525, 0.2356434464454651, -0.3231913447380066, 0.33726945519447327, -0.09415623545646667, -0.7775843143463135, 0.5181663036346436, 0.48471006751060486, 0.9064531922340393, -0.619871973991394, 0.17143790423870087, 0.17755788564682007, 0.5782701373100281, 0.6600238680839539, 0.20697210729122162, -0.3424606919288635, -0.5143246054649353, -0.44028064608573914, -0.5848956108093262, -0.4041229784488678, -0.3322063386440277, -0.8692950010299683, -0.19782860577106476, -0.4510001242160797, -0.5021459460258484, -0.4332210123538971, -0.1255302131175995, -0.41024890542030334, 0.006739434786140919, 0.22988736629486084, 0.381274938583374, -1.462116003036499, 0.4272283911705017, 0.6321775913238525, -0.6577828526496887, -0.3558337390422821, 0.6482329964637756, -0.10371866077184677, -0.2506495714187622, 0.5976183414459229, 0.19159454107284546, -0.20583973824977875, -0.4457591772079468, -0.5453211665153503, -0.8698129057884216, 0.8945304751396179, -0.04771364852786064, -0.1662062704563141, 0.2155289202928543, 0.618664562702179, 0.5309489965438843, -0.07626185566186905, -0.16893771290779114, 0.08393725007772446, 0.6126579642295837, 0.13718974590301514, -0.6880266666412354, 0.10788998007774353, -0.4263753890991211, 0.007285554893314838, 0.343747079372406, -1.398604154586792, 0.8542894721031189, 0.1250416338443756, -0.3733910620212555, -0.6860674023628235, 0.8341121673583984, -0.04020463675260544, 0.807487428188324, 0.7237849831581116, 0.39944663643836975, 0.5235567688941956, 0.05417083576321602, 0.7706432342529297, -0.237798810005188, 0.2194857895374298, 0.8392195701599121, -0.24932891130447388, 0.15061354637145996, 1.1196949481964111, -0.17071034014225006, 0.37549883127212524, 0.38748741149902344, 0.2643926739692688, 0.4606989026069641, 0.0872870460152626, -0.6636594533920288, -0.434011310338974, -0.35265669226646423, -0.7880303263664246, 0.13231241703033447, 0.37588974833488464, -0.37964677810668945, -0.5326231122016907, 0.2961791753768921, 0.03083537518978119, 0.23263493180274963, -0.29410862922668457, 0.49774953722953796, 0.2852681875228882, -0.44433048367500305, 0.315628319978714, -0.1361134946346283, 0.2817404568195343, -0.3379549980163574, 0.04919238016009331, -0.1844954639673233, -0.11044220626354218, -0.6229687929153442, -0.6414291262626648, 0.8566960692405701, -0.2076306939125061, -0.3818146884441376, -0.4315105378627777, 0.818283200263977, -0.4463353157043457, -0.09928674250841141, 0.7505427002906799, 0.3884815275669098, -0.1567169725894928, -0.002411163877695799, -0.4207822382450104, 0.38634443283081055, 0.15568983554840088, -0.303882360458374, 0.7361792922019958, 0.3927519619464874, -0.22245068848133087, 0.3659050762653351, 0.7326202392578125, -0.3224664330482483, 0.4427253007888794, 0.17378383874893188, 1.1904410123825073, -0.5775189995765686, -0.017990313470363617, -1.0090042352676392, 0.29711678624153137, -0.3603114187717438, -0.19290228188037872, 1.0476877689361572, 0.5904004573822021, 0.49030816555023193, 0.20262432098388672, 0.7511265277862549, -0.2512568533420563, -0.1257622390985489, 0.00400689709931612, 0.7440804243087769, -0.6401640772819519, 0.20295928418636322, -0.08951988816261292, -0.6317955255508423, -0.26536208391189575, 0.05157119780778885, -0.7892444729804993, -0.34242329001426697, 0.2807072699069977, 0.5746591687202454, -0.1879444718360901, 0.44122105836868286, -0.027793627232313156, 0.24934811890125275, 0.6051768064498901, 0.09157105535268784, 1.0053504705429077, -0.06368697434663773, 0.37395337224006653, -0.2924765646457672, -0.519329309463501, -0.20210407674312592, -0.7347749471664429, -1.188399076461792, -0.6532341241836548, -0.49141138792037964, -0.547390341758728, -0.04089944437146187, 0.9938095211982727, 0.0942828357219696, -0.49773547053337097, -0.28780052065849304, -0.042477019131183624, 0.38223522901535034, -0.23743022978305817, -0.2649427056312561, 0.2412630021572113, -0.15179216861724854, -0.5313944220542908, 0.04760238155722618, 0.8255119919776917, -0.29465389251708984, -0.20547270774841309, 0.22730393707752228, -0.4724031388759613, 0.39015406370162964, 0.8309832811355591, 0.45704859495162964, -0.6650269031524658, -0.2859085500240326, -0.30714234709739685, 0.13063733279705048, 0.17612555623054504, 0.7297818064689636, -0.12532493472099304, 0.4491766095161438, 0.5507385730743408, 0.5734120011329651, 0.23170515894889832, 0.5406034588813782, 0.2839820981025696, -0.33800917863845825, -0.08718881011009216, 0.15452250838279724, 0.03838767483830452, 0.021144039928913116, -0.4523804783821106, 0.3862551152706146, 0.644015908241272, -0.7438657283782959, -0.8676232695579529, 0.6743646860122681, -0.7615870833396912, 0.08900735527276993, 1.1229724884033203, -0.10978969186544418, -0.2556089162826538, -0.20958180725574493, 0.10119853913784027, 0.32389792799949646, -0.21853797137737274, 1.130206823348999, 1.0089596509933472, -0.36263495683670044, 0.0021544378250837326, -0.024951914325356483, 0.3739643096923828, 0.6177993416786194, -0.5975807905197144, -0.09004729241132736, -0.04196528345346451, 0.2695377469062805, 0.012761097401380539, 0.4454769790172577, -0.029971810057759285, 0.254055917263031, -0.3299798369407654, -0.10753697901964188, 0.22954735159873962, -0.0512564554810524, -0.26961785554885864, 0.49008071422576904, -0.5062962174415588, 0.2616289556026459 ]
http://arxiv.org/abs/2402.11894v3
http://arxiv.org/pdf/2402.11894v3
Automating Dataset Updates Towards Reliable and Timely Evaluation of Large Language Models
2024-02-19T07:15:59
2024-06-06T12:49:44
Jiahao Ying, Yixin Cao, Yushi Bai, Qianru Sun, Bo Wang, Wei Tang, Zhaojun Ding, Yizhe Yang, Xuanjing Huang, Shuicheng Yan
cs.CL
cs.CL
Large language models (LLMs) have achieved impressive performance across various natural language benchmarks, prompting a continual need to curate more difficult datasets for larger LLMs, which is costly and time-consuming. In this paper, we propose to automate dataset updating and provide systematic analysis regarding its effectiveness in dealing with benchmark leakage issue, difficulty control, and stability. Thus, once the current benchmark has been mastered or leaked, we can update it for timely and reliable evaluation. There are two updating strategies: 1) mimicking strategy to generate similar samples based on original data, preserving stylistic and contextual essence, and 2) extending strategy that further expands existing samples at varying cognitive levels by adapting Bloom's taxonomy of educational objectives. Extensive experiments on updated MMLU and BIG-Bench demonstrate the stability of the proposed strategies and find that the mimicking strategy can effectively alleviate issues of overestimation from benchmark leakage. In cases where the efficient mimicking strategy fails, our extending strategy still shows promising results. Additionally, by controlling the difficulty, we can better discern the models' performance and enable fine-grained analysis neither too difficult nor too easy an exam can fairly judge students' learning status. To the best of our knowledge, we are the first to automate updating benchmarks for reliable and timely evaluation. Our demo leaderboard can be found at https://yingjiahao14.github.io/Automating-DatasetUpdates/.
[ 0.02423691377043724, -0.7647643089294434, 0.4393136203289032, 0.37942472100257874, 0.06726877391338348, 0.30560681223869324, -0.6731976270675659, -0.2397659420967102, -0.3720942735671997, 0.33983659744262695, -0.5840234756469727, -0.5690829753875732, -0.528030276298523, -0.08533519506454468, -0.6076539754867554, 0.5403041839599609, -0.40334856510162354, 0.061587367206811905, -0.23157520592212677, -0.12736806273460388, -0.7354058027267456, -0.35917702317237854, -0.717509925365448, -0.3287557363510132, -0.012041204608976841, 0.45236602425575256, 0.49552974104881287, 0.9986346364021301, 0.5054283142089844, 0.3392862379550934, 0.09969794750213623, 0.06123438477516174, -0.4688642621040344, 0.5079919695854187, -0.288860559463501, -0.3556215465068817, -0.3175409436225891, -0.18533165752887726, 0.9701402187347412, 0.9492365717887878, -0.4844958484172821, 0.34095829725265503, 0.4811307191848755, 0.7782557606697083, -0.6558776497840881, 0.6042470335960388, -0.7989580035209656, -0.1489686518907547, -0.27998992800712585, 0.0018818625248968601, -0.37939226627349854, -0.43018633127212524, 0.09519006311893463, -0.44990095496177673, -0.020890071988105774, -0.06260716170072556, 0.5467066168785095, 0.45355209708213806, 0.14034493267536163, -0.16882102191448212, -0.5510313510894775, 0.9916699528694153, -0.6627689003944397, 0.24796973168849945, 0.2713988125324249, 0.7427288293838501, -0.3587154448032379, -0.5979803204536438, -0.19973023235797882, -0.5110766887664795, 0.020900912582874298, -0.004385694861412048, 0.060818862169981, -0.3205640912055969, 0.30573010444641113, 0.4350273311138153, -0.31393638253211975, 0.3005867898464203, -0.1244923397898674, -0.13515715301036835, 0.7867627143859863, 0.35903823375701904, 0.35374319553375244, -0.04736282676458359, -0.16225150227546692, -0.49496808648109436, -0.5304046273231506, -0.2322845458984375, 0.2806987166404724, 0.41524219512939453, -0.02103547751903534, 0.39400482177734375, -0.40848061442375183, 0.5931116938591003, -0.13810493052005768, 0.19288353621959686, 0.5415889024734497, -0.41069746017456055, -0.10814069956541061, -0.14080263674259186, 0.7996684908866882, 0.15928730368614197, 0.46981698274612427, -0.1347539871931076, -0.3419732451438904, -0.06357559561729431, 0.09535642713308334, -0.6276170015335083, -0.1381271928548813, 0.3330006003379822, -0.15096509456634521, -0.30051663517951965, -0.05988031625747681, -1.060102105140686, -0.21386760473251343, -0.5130676627159119, 0.5644954442977905, -0.468034029006958, -0.11044416576623917, 0.3716205656528473, 0.3225160241127014, 0.034733206033706665, 0.47900909185409546, -0.8923413157463074, 0.4999575614929199, 0.8051648736000061, 0.7143872380256653, -0.44352689385414124, -0.46974557638168335, -0.3417993485927582, 0.178445965051651, -0.35277238488197327, 0.5284425616264343, -0.5202823877334595, -0.30649349093437195, 0.08712814748287201, 0.02049243450164795, -0.1763327419757843, -0.6443864107131958, 0.3972589373588562, -0.37289103865623474, 0.28761667013168335, -0.3549467623233795, -0.7593268156051636, 0.30582189559936523, 0.4131239950656891, -0.8338075876235962, 1.2534281015396118, 0.19179779291152954, -0.4192520081996918, 0.0990700051188469, -0.7936252355575562, -0.18655847012996674, -0.09072747081518173, -0.06407070904970169, -0.44922125339508057, -0.3082441985607147, 0.5218831896781921, 0.4293963611125946, -0.1499331146478653, 0.45681431889533997, -0.2605164051055908, -0.4098832905292511, 0.0774846151471138, -0.45757293701171875, 0.9205612540245056, 0.026732666417956352, -0.5922157168388367, -0.02987438067793846, -0.7079479098320007, 0.09064509719610214, 0.10397828370332718, -0.1655297577381134, -0.1330542117357254, 0.013519898988306522, -0.017845334485173225, 0.03121558204293251, 0.2538641393184662, -0.432730108499527, 0.4907962679862976, -0.16107533872127533, 0.3118659555912018, 1.124220609664917, 0.08255894482135773, 0.17755253612995148, -0.4942542314529419, 0.4678204357624054, -0.1938706338405609, 0.4166703522205353, -0.40309059619903564, -0.25689399242401123, -0.7864397764205933, -0.18788760900497437, 0.5999425649642944, 0.5840340852737427, -0.3865968585014343, 0.48863568902015686, -0.490285187959671, -0.5163753032684326, -0.7243673205375671, 0.4643341302871704, 0.2990089952945709, 0.3124430775642395, 0.5309327244758606, -0.33939266204833984, -0.3566666543483734, -0.6451718807220459, -0.3573705852031708, -0.10522661358118057, -0.0298997201025486, 0.23635239899158478, 0.435874879360199, -0.3188984990119934, 0.8500403761863708, -0.4010688066482544, -0.5454686284065247, -0.04509676247835159, 0.29981350898742676, 0.21656650304794312, 0.5713757872581482, 0.4940662682056427, -0.26848796010017395, -0.6073234677314758, -0.15204398334026337, -0.739777684211731, -0.43723151087760925, -0.38787510991096497, -0.13338737189769745, 0.16812613606452942, 0.6300626993179321, -0.3805069029331207, 0.12439685314893723, 0.2712852954864502, 0.08973395079374313, 0.7506867051124573, 0.006675125565379858, 0.15222987532615662, -0.8432274460792542, 0.05096926540136337, -0.10983651131391525, -0.08865991979837418, -0.11993012577295303, 0.3246663510799408, 0.07708119601011276, 0.04250124841928482, -0.29506874084472656, 0.7850149869918823, -0.5880072116851807, 0.018753422424197197, -0.07185575366020203, 0.1528455764055252, -0.058976054191589355, 0.29507869482040405, -0.255997896194458, 0.704181969165802, 0.9345376491546631, -0.4569975733757019, 0.5588351488113403, 0.0876024067401886, -0.529650092124939, 0.2976679503917694, -0.5470073223114014, 0.04472128301858902, 0.01669681817293167, 0.30588221549987793, -0.6674325466156006, -0.18910372257232666, 0.28227800130844116, -0.10675714164972305, 0.37227803468704224, -0.1373795121908188, -0.8500972986221313, -0.2897123694419861, -0.46000224351882935, 0.057657334953546524, 0.39759907126426697, -0.6301944851875305, 0.5081183314323425, 0.14794886112213135, -0.15318799018859863, -0.5062608122825623, -0.46939581632614136, 0.252210795879364, -0.03244919702410698, -0.35979485511779785, 0.35913288593292236, -0.21658341586589813, -0.4437890350818634, -0.04804300516843796, -0.12541189789772034, 0.07518390566110611, 0.14581042528152466, -0.062321074306964874, 0.3606300354003906, 0.013812382705509663, 0.2267087996006012, -0.09176957607269287, -0.07377690076828003, 0.236328125, -0.24610170722007751, 0.4111103415489197, -0.08620503544807434, -0.605254590511322, -0.4330581724643707, 0.006067393813282251, 0.7474560737609863, -0.12173614650964737, 0.40410369634628296, 0.55536949634552, -0.43684929609298706, -0.48813262581825256, -0.6989624500274658, -0.4182582497596741, -0.5269912481307983, 0.3590233325958252, -0.3728782534599304, -0.33106327056884766, 0.44448578357696533, -0.09691958874464035, 0.3274195194244385, 0.2906529903411865, 0.5306335091590881, -0.05308592692017555, 0.7625865936279297, 0.5799117088317871, -0.5063779950141907, 0.36566975712776184, -0.3853970468044281, -0.20333914458751678, -0.8000955581665039, -0.18485844135284424, -0.4843301773071289, -0.18181057274341583, -0.3100753128528595, -0.6034365892410278, 0.08883798122406006, -0.26441124081611633, 0.08430347591638565, 0.2654012441635132, -0.30818331241607666, 0.42563769221305847, 0.24648751318454742, -0.04241131618618965, 0.3285799026489258, 0.09278731048107147, -0.11745516210794449, -0.12487407773733139, -0.49788162112236023, -0.4619649648666382, 1.4579083919525146, 0.3895573616027832, 0.9285033345222473, 0.0731155276298523, 0.5996415019035339, 0.4671742916107178, 0.41189366579055786, -0.5817234516143799, 0.6719391345977783, -0.12076495587825775, -0.46276232600212097, -0.36760252714157104, -0.450541228055954, -0.8141987323760986, 0.043395355343818665, -0.19311700761318207, -0.610740602016449, 0.09739787131547928, 0.10479706525802612, -0.08538512885570526, 0.21530812978744507, -0.5157768130302429, 0.7890101075172424, -0.28387436270713806, -0.6088109612464905, -0.24970249831676483, -0.48587149381637573, 0.23125328123569489, -0.5450377464294434, 0.17634384334087372, -0.005832625087350607, 0.009999222122132778, 0.8078939914703369, -0.40326154232025146, 0.7010019421577454, -0.08352557569742203, -0.20211726427078247, 0.24387161433696747, -0.05153802037239075, 0.5526496767997742, -0.03227857127785683, -0.504382848739624, 0.06648282706737518, -0.07612785696983337, -0.4320482909679413, -0.8899900913238525, 0.6809425950050354, -0.5468254685401917, -0.525775134563446, -0.4566054046154022, -0.534168004989624, -0.4725479185581207, 0.11756151914596558, -0.17374886572360992, 0.4918387234210968, -0.16105860471725464, 0.1490243822336197, 0.5590564012527466, -0.057495664805173874, 0.4831579327583313, 0.6319054961204529, -0.3545530438423157, 0.0052988869138062, 0.9192488193511963, 0.19004851579666138, 0.32765716314315796, 0.1523575484752655, 0.3446512222290039, -0.33438730239868164, -0.6964658498764038, -0.6265647411346436, 0.15669982135295868, -0.6363730430603027, -0.05776160582900047, -0.46027401089668274, -0.2555038630962372, -0.4429272413253784, 0.08294542133808136, -0.5207081437110901, -0.1831377148628235, 0.027984706684947014, -0.0019859650637954473, 0.3527160882949829, 0.5470840930938721, -0.1609218567609787, 0.23812294006347656, -0.5683795809745789, 0.19286906719207764, 0.3249276578426361, 0.54790860414505, 0.14025536179542542, -0.652381181716919, -0.22609856724739075, 0.10303004086017609, -0.07244657725095749, -0.568722665309906, 0.05550755560398102, 0.4410119652748108, 0.5943232178688049, 0.09878450632095337, -0.03335770592093468, 0.7662342190742493, -0.5675221085548401, 0.4811203181743622, -0.34949585795402527, -1.0759847164154053, 0.6368441581726074, -0.3342020511627197, 0.4128772020339966, 0.9542269110679626, 0.2201819270849228, -0.4260038733482361, -0.6501070857048035, -0.5230688452720642, -0.8627588748931885, 0.5349440574645996, 0.17252175509929657, 0.23341670632362366, 0.2810175120830536, 0.36640241742134094, 0.1344543695449829, 0.1781495213508606, -0.403393417596817, -0.2757548689842224, -0.20263895392417908, -0.38692161440849304, 0.0124521404504776, -0.0038880351930856705, -0.029715120792388916, -0.367704838514328, 0.8891279697418213, -0.14768368005752563, -0.17478767037391663, -0.0982087105512619, -0.32856395840644836, -0.058647867292165756, 0.42633163928985596, 0.16797955334186554, 0.9376779198646545, -0.5014722943305969, -0.3053922653198242, 0.30284029245376587, -0.7118452191352844, 0.1687757968902588, 0.29334792494773865, -0.160161554813385, 0.09401577711105347, 0.5210805535316467, 0.41813579201698303, 0.44322213530540466, -0.9379227161407471, 0.530245840549469, -0.023634962737560272, -0.017236411571502686, -0.23106615245342255, 0.22877424955368042, -0.24392423033714294, -0.0904754176735878, 0.4990776777267456, -0.21126829087734222, 0.010722712613642216, -0.7006880640983582, 0.4921650290489197, 0.20088200271129608, -0.16413968801498413, -0.13282231986522675, 0.37099894881248474, -0.12019579857587814, -0.04942294582724571, 0.6537370681762695, -0.08069878071546555, -0.5594586133956909, 0.4910198152065277, 0.32609742879867554, 0.7366929054260254, -0.4061915874481201, 0.18345534801483154, 0.4981742203235626, 0.3366490602493286, -0.33634698390960693, 0.02422736957669258, 0.0834793895483017, -0.4903927445411682, -0.5676721334457397, -0.6696820855140686, -0.6559191346168518, 0.24452465772628784, -0.7889068126678467, 0.3520715832710266, -0.47268587350845337, 0.1276613473892212, -0.1527286022901535, 0.17800283432006836, -0.4754195511341095, 0.3529133200645447, 0.10587605088949203, 1.187878966331482, -0.9577804207801819, 0.9420909285545349, 0.48099491000175476, -0.057322174310684204, -0.7946059703826904, 0.03719382360577583, 0.08673588931560516, -0.714038074016571, 0.4770336449146271, 0.06062154844403267, 0.01007454190403223, 0.03118213266134262, -0.317819207906723, -0.9387146830558777, 1.0364105701446533, 0.22877620160579681, -1.064874529838562, 0.12148230522871017, 0.18206077814102173, 0.6950955986976624, -0.24393993616104126, 0.184665247797966, 0.7095234394073486, 0.7382930517196655, -0.012313414365053177, -0.8005877733230591, 0.1170060932636261, -0.31089475750923157, -0.21351082623004913, -0.016297508031129837, -0.43754205107688904, 0.5970313549041748, -0.07141558080911636, -0.19611848890781403, -0.022535433992743492, 0.6391968131065369, 0.15947841107845306, -0.11201809346675873, 0.6426819562911987, 0.7060489654541016, 0.7608827948570251, -0.11303867399692535, 0.8276383876800537, -0.3493102788925171, 0.4515451490879059, 1.450276494026184, -0.5334922671318054, 0.9151058197021484, 0.24248187243938446, -0.28408437967300415, 0.5124818086624146, 0.5885429978370667, -0.5866226553916931, 0.48676347732543945, 0.4216635823249817, 0.00013601485989056528, -0.02134287729859352, 0.14081066846847534, -0.4518081247806549, 0.5488319993019104, 0.30364367365837097, -0.11661598086357117, -0.4900950789451599, 0.01683281734585762, 0.13011741638183594, 0.20859414339065552, -0.20052285492420197, 0.5826632380485535, -0.1565801054239273, -0.7814240455627441, 0.5030339360237122, -0.10407104343175888, 0.4041942059993744, -0.5944675803184509, 0.035062141716480255, -0.15107469260692596, 0.11561375856399536, 0.021716533228754997, -0.7175773978233337, 0.2752109467983246, -0.032298799604177475, 0.09182555973529816, -0.30844151973724365, 0.5245208144187927, -0.5984302163124084, -0.6341522336006165, 0.46941521763801575, 0.5081828832626343, -0.05368947237730026, 0.12569521367549896, -1.0905245542526245, 0.5524400472640991, -0.2461971640586853, -0.11012698709964752, 0.15267358720302582, 0.00824603158980608, -0.14919568598270416, 0.9447630047798157, 0.6904692649841309, 0.3934515118598938, 0.16331692039966583, 0.5865582227706909, 0.7276735305786133, -0.32523879408836365, -0.2069145292043686, -0.9974529147148132, 0.33529531955718994, -0.26302725076675415, 0.036997146904468536, 0.8783684372901917, 0.4614012837409973, 0.771232008934021, 0.10344206541776657, 0.7278003096580505, 0.16813534498214722, 0.49506351351737976, -0.5663697719573975, 0.8857660889625549, -0.4296218454837799, 0.6002159118652344, -0.3561026155948639, -1.110253930091858, -0.15761463344097137, 0.2866264283657074, -0.34461116790771484, 0.08349714428186417, 0.745725154876709, 0.7728902697563171, -0.08893950283527374, -0.03719212859869003, -0.06053881719708443, 0.4916192889213562, 0.4072231352329254, 0.5027264952659607, 0.6320182681083679, -0.5654938817024231, 0.34507134556770325, -0.46584847569465637, -0.3870926797389984, -0.1946822702884674, -0.9641502499580383, -0.7034640908241272, -0.4321715831756592, -0.8729533553123474, -0.17010647058486938, 0.43601885437965393, 0.7321560978889465, 0.6854430437088013, -0.777822732925415, -0.36036017537117004, 0.07165729999542236, -0.05872592329978943, -0.4646909832954407, -0.3032384216785431, 0.685747504234314, -0.7091532945632935, -0.823413074016571, 0.47186213731765747, 0.11235397309064865, -0.12287590652704239, -0.5816232562065125, 0.3579462170600891, -0.14923444390296936, 0.13166700303554535, 0.3215827941894531, 0.25234657526016235, -0.5241442918777466, -0.290829598903656, -0.09868593513965607, -0.26531708240509033, -0.03881455212831497, 0.4527044892311096, -0.8333914279937744, 0.6041860580444336, 0.15330104529857635, 1.0093753337860107, 0.33226320147514343, -0.036390263587236404, 0.6371828317642212, -0.6298484802246094, -0.36049842834472656, 0.031316306442022324, 0.3988877236843109, 0.5850741863250732, -0.07794938236474991, 0.5831045508384705, 0.11722345650196075, -0.42997658252716064, -1.097719430923462, -0.006176465656608343, -0.89289790391922, -0.1851077675819397, 1.0575417280197144, -0.23220787942409515, -0.46544507145881653, -0.1193530261516571, 0.05040392279624939, 0.14496250450611115, -0.14040426909923553, 1.1911425590515137, 0.872913122177124, 0.35919296741485596, 0.10200328379869461, -0.7508924007415771, 0.556735634803772, 0.6113131642341614, -1.04020094871521, 0.4491385519504547, 0.23436741530895233, 0.458099365234375, 0.0720444992184639, 0.35702767968177795, -0.32829955220222473, 0.25198057293891907, -0.36657238006591797, -0.2752009630203247, -0.10993069410324097, -0.2935313880443573, -0.4670689105987549, 0.001762977335602045, -0.058417048305273056, -0.1880594938993454 ]
http://arxiv.org/abs/2402.11891v1
http://arxiv.org/pdf/2402.11891v1
FeB4RAG: Evaluating Federated Search in the Context of Retrieval Augmented Generation
2024-02-19T07:06:52
2024-02-19T07:06:52
Shuai Wang, Ekaterina Khramtsova, Shengyao Zhuang, Guido Zuccon
cs.IR
cs.IR, cs.CL
Federated search systems aggregate results from multiple search engines, selecting appropriate sources to enhance result quality and align with user intent. With the increasing uptake of Retrieval-Augmented Generation (RAG) pipelines, federated search can play a pivotal role in sourcing relevant information across heterogeneous data sources to generate informed responses. However, existing datasets, such as those developed in the past TREC FedWeb tracks, predate the RAG paradigm shift and lack representation of modern information retrieval challenges. To bridge this gap, we present FeB4RAG, a novel dataset specifically designed for federated search within RAG frameworks. This dataset, derived from 16 sub-collections of the widely used \beir benchmarking collection, includes 790 information requests (akin to conversational queries) tailored for chatbot applications, along with top results returned by each resource and associated LLM-derived relevance judgements. Additionally, to support the need for this collection, we demonstrate the impact on response generation of a high quality federated search system for RAG compared to a naive approach to federated search. We do so by comparing answers generated through the RAG pipeline through a qualitative side-by-side comparison. Our collection fosters and supports the development and evaluation of new federated search methods, especially in the context of RAG pipelines.
[ -0.5355428457260132, -0.2938007414340973, 0.20793437957763672, 0.2550334334373474, 0.11055228114128113, 0.315551221370697, 0.18102404475212097, -0.23877902328968048, 0.3421822786331177, 0.45392704010009766, -0.7280847430229187, -0.1728578805923462, -0.07121424376964569, 0.43966707587242126, -0.5324044823646545, 1.1537715196609497, 0.30585217475891113, -0.1878843754529953, -0.45144185423851013, -0.3432542681694031, -0.5585442185401917, -0.41617998480796814, -0.45314842462539673, -0.275404691696167, 0.6254813075065613, 0.3024863302707672, 0.565385639667511, 0.20527756214141846, 0.9285387992858887, 0.27896422147750854, 0.19331365823745728, 0.1691843420267105, -1.0883595943450928, 0.609558641910553, -0.07059098780155182, -0.5182021856307983, -0.37053629755973816, 0.4979749917984009, 0.6760342717170715, 0.20989564061164856, -0.4965459406375885, 0.430063933134079, -0.16450834274291992, 0.5705597996711731, -0.977168619632721, 0.08867281675338745, -0.6659048795700073, 0.36168384552001953, -0.6877757906913757, -0.49540606141090393, -0.4371598958969116, -0.2051350623369217, -0.10542292892932892, -0.7544459104537964, 0.5529828667640686, 0.3573111891746521, 0.8406152725219727, 0.34742432832717896, -0.05847456678748131, -0.3041522204875946, -0.5353362560272217, 0.4818585515022278, -0.29419514536857605, 0.7410848736763, 0.26550912857055664, 0.6480995416641235, -0.2938166856765747, -1.2541611194610596, -0.45944124460220337, 0.36562156677246094, -0.399415522813797, 0.32103338837623596, -0.46336618065834045, -0.2759685516357422, 0.20458009839057922, 0.5987164378166199, -0.661867082118988, 0.09092477709054947, -0.32963746786117554, -0.1665121614933014, 0.7422755360603333, 0.4478170871734619, 0.019683996215462685, -0.23313267529010773, -0.6297324895858765, -0.3204866349697113, -0.6463638544082642, 0.020404662936925888, 0.49038931727409363, 0.35464751720428467, 0.08583288639783859, 0.6123453974723816, -0.48821672797203064, 0.6381788849830627, 0.38360968232154846, -0.08675846457481384, 0.33255189657211304, -0.5777211785316467, -0.07513801753520966, -0.17178961634635925, 0.8384685516357422, 0.3497624099254608, -0.4810634255409241, -0.3120136559009552, -0.6509861946105957, -0.126065194606781, 0.5912317633628845, -0.9650557041168213, -0.13881011307239532, 0.18113359808921814, -0.37824469804763794, -0.5283604860305786, 0.03171510249376297, -0.8302496671676636, -0.5422625541687012, -0.08717633783817291, 0.3500887155532837, 0.12944002449512482, -0.06295794248580933, -0.19757163524627686, -0.4029255211353302, 0.17343424260616302, 0.12274044752120972, -0.43071290850639343, 0.25174909830093384, 0.958644688129425, 0.7339598536491394, -0.08426067978143692, -0.03461693227291107, -1.095475673675537, -0.37756726145744324, -0.27739182114601135, 1.0835745334625244, -0.745425820350647, -0.3169698119163513, -0.049836453050374985, -0.3014850616455078, 0.05426599830389023, -0.5388650298118591, 0.6945701241493225, -1.1657354831695557, 0.8104058504104614, -0.27066361904144287, -0.43709200620651245, 0.10870543867349625, 0.2503450810909271, -0.7591765522956848, 1.0955206155776978, 0.3457315266132355, -1.0198407173156738, 0.35773569345474243, -0.6271970868110657, 0.08707883208990097, 0.6144536137580872, -0.46525898575782776, -0.4414079189300537, 0.006669471971690655, 0.1533687859773636, 0.32531219720840454, -0.7187406420707703, 0.17262724041938782, -0.328486829996109, -0.4572555124759674, 0.018480276688933372, -0.14276659488677979, 0.8338673114776611, 0.3406442701816559, -0.014124163426458836, -0.11622190475463867, -0.31857043504714966, 0.2417575716972351, 0.17136868834495544, -0.237101748585701, -0.337317556142807, -0.3153441250324249, -0.12114432454109192, 0.14360538125038147, 0.43105533719062805, -0.5581396818161011, -0.035786956548690796, -0.2719861567020416, -0.06729398667812347, 0.6676240563392639, -0.10730771720409393, 0.5031805038452148, -0.44756126403808594, 0.774085283279419, -0.3204376995563507, 0.13826167583465576, -0.13416306674480438, -0.24109205603599548, -0.3705364465713501, -0.15927062928676605, 0.41780975461006165, 0.21955598890781403, -0.8323856592178345, -0.08156679570674896, -0.3861739933490753, -0.517672061920166, -0.7533115148544312, -0.07601054757833481, 0.4076915979385376, 0.7122812867164612, 0.32011184096336365, -0.41066303849220276, -0.7196558117866516, -0.7284685373306274, -0.0423707440495491, -0.2584682106971741, -0.1458704024553299, 0.6631472110748291, 0.08712523430585861, -0.3605513572692871, 1.0285451412200928, -0.4130188822746277, -0.40591204166412354, -0.005240725353360176, 0.3023185729980469, 0.33317428827285767, -0.03922033682465553, 0.5310516357421875, -1.164884328842163, -0.3544606566429138, -0.10705674439668655, -0.7543359398841858, -0.4364524185657501, 0.24320337176322937, -0.3244069814682007, 0.08704634010791779, 0.18074150383472443, -0.4179539382457733, 0.2688145637512207, 0.69559645652771, -0.3490671217441559, 0.6305842995643616, 0.14441481232643127, 0.3512313663959503, -0.944766640663147, 0.3339420557022095, -0.4130174517631531, -0.09756755083799362, -0.4244571626186371, 0.3687043786048889, -0.07984483987092972, -0.21448475122451782, 0.012476545758545399, 0.6110130548477173, -0.3012504279613495, -0.610442042350769, -0.3858620524406433, 0.19028523564338684, 0.1536722183227539, 0.02991606667637825, -0.44597747921943665, 1.160865306854248, -0.15267957746982574, -0.20819716155529022, 0.5487728118896484, 0.6643375158309937, -0.034281082451343536, 0.880816638469696, -0.4803251028060913, 0.14085568487644196, -0.1536235362291336, 0.6863096952438354, -0.6693179607391357, -0.5207532048225403, -0.015728279948234558, -0.5410540103912354, 0.24653367698192596, 0.007545892149209976, -0.4754965305328369, -0.5011324882507324, -0.3551318943500519, 0.3224738538265228, 0.23298192024230957, -0.7615090012550354, 0.3580397367477417, 0.5220493674278259, -0.1001887321472168, -1.1054431200027466, -0.15918494760990143, 0.03733115643262863, -0.2982935309410095, -0.6231306195259094, 0.41857942938804626, -0.07997047156095505, -0.2762957215309143, 0.000605656357947737, -0.30361899733543396, -0.0997554287314415, 0.16857770085334778, 0.19866304099559784, 0.22398334741592407, -0.2634906470775604, 0.09096422791481018, -0.27961188554763794, -0.15585146844387054, -0.02981693297624588, 0.1517607569694519, 0.8049653172492981, -0.2030772566795349, -0.3127218782901764, -0.02103334106504917, 0.01074428204447031, 0.12874753773212433, -0.5832588076591492, 0.4830649495124817, 0.9150477051734924, -0.05880999565124512, 0.060734085738658905, -0.6583861112594604, -0.5571761727333069, -0.50703364610672, -0.17275412380695343, -0.3324222266674042, -1.154029130935669, 0.43245604634284973, 0.15690405666828156, 0.3291478157043457, 0.4359029531478882, 0.42338013648986816, -0.38541197776794434, 0.6161195039749146, 0.45733538269996643, -0.04440011456608772, 0.30059364438056946, -0.18178260326385498, 0.1824956238269806, -0.9088635444641113, -0.1753770411014557, -0.666216254234314, -0.6112707257270813, -1.056153416633606, -0.49846428632736206, 0.5763654112815857, -0.12180537730455399, -0.2089226096868515, 0.3225901424884796, -0.38208064436912537, 0.15795309841632843, 0.5279332399368286, -0.07594604790210724, 0.38564619421958923, -0.03787348419427872, -0.1536148339509964, -0.1201416403055191, -0.8995893597602844, 0.05754301697015762, 1.123783826828003, -0.049662839621305466, 0.5149104595184326, 0.07829289138317108, 0.9864161014556885, 0.5953234434127808, 0.49064669013023376, -0.38855084776878357, 0.37156641483306885, -0.005377032794058323, -0.8547903895378113, -0.22095444798469543, -0.6914309859275818, -1.1180137395858765, 0.4004043638706207, -0.3075914978981018, -0.28678569197654724, 0.23766309022903442, -0.21880179643630981, -0.19170475006103516, -0.051159247756004333, -0.21768486499786377, 0.4554361402988434, -0.019359571859240532, -0.5740129947662354, -0.05996750295162201, -0.7725450992584229, 0.4224073588848114, -0.19207154214382172, 0.029956554993987083, -0.14002129435539246, 0.07304906845092773, 0.6551051735877991, -0.3363744020462036, 0.1992139369249344, -0.1698056161403656, 0.2770412564277649, 0.08801945298910141, -0.13530544936656952, 0.5140502452850342, 0.14670148491859436, -0.28377726674079895, 0.027594059705734253, -0.241758331656456, -0.2028084546327591, -0.5718971490859985, 0.8211442828178406, -0.3858357071876526, -0.7447579503059387, -0.46865224838256836, -0.6505963802337646, -0.09066573530435562, 0.408149778842926, 0.2066328376531601, 0.43575239181518555, -0.19462336599826813, 0.45595598220825195, 0.323649525642395, 0.00048704969231039286, 0.2010197788476944, 0.7390823364257812, -0.456188440322876, -0.35629725456237793, 0.6329494714736938, -0.0505550280213356, -0.19646015763282776, 0.4610757827758789, 0.125681534409523, -0.4413154423236847, -0.17579977214336395, -0.3209068477153778, 0.24027925729751587, -0.24502713978290558, -0.8405610918998718, -0.6555542945861816, -0.309163361787796, -0.37969228625297546, -0.01796281337738037, -0.3097894489765167, -0.20734748244285583, -0.10848366469144821, 0.09608851373195648, 0.33846741914749146, 0.5449337959289551, -0.29680392146110535, 0.06357473134994507, -0.5937924981117249, 0.17724746465682983, 0.1645556539297104, 0.37703201174736023, -0.3424716591835022, -0.3342823088169098, -0.23863467574119568, 0.11446092277765274, -0.46552786231040955, -0.5140339136123657, 0.3036994934082031, 0.09905608743429184, 0.6379355192184448, 0.1255248785018921, 0.5357183218002319, 0.813869833946228, -0.4863550662994385, 0.4594598710536957, -0.12439059466123581, -0.2888924777507782, 0.2683543562889099, -0.5353440642356873, 0.14847154915332794, 0.5431121587753296, 0.4590858817100525, -0.43951696157455444, -0.2996405363082886, -0.8996468186378479, -0.5708799958229065, 0.7720907330513, 0.5877974033355713, -0.07055261731147766, 0.24888387322425842, 0.15476743876934052, 0.053307823836803436, 0.41164320707321167, -0.07281945645809174, -0.17748484015464783, -0.059019219130277634, 0.13419753313064575, 0.02058844454586506, -0.17218933999538422, -0.3345109522342682, 0.26920583844184875, 0.515311062335968, -0.08863537013530731, 0.50950688123703, -0.03447699919342995, 0.2877490222454071, -0.13108724355697632, 0.1732184737920761, 0.1463584303855896, 0.3202879726886749, -0.34962937235832214, -0.14692969620227814, -0.1281261295080185, -0.4725973606109619, -0.03919651359319687, 0.6921745538711548, -0.08824841678142548, 0.05826025456190109, 0.13249626755714417, 0.5684700608253479, 0.29120635986328125, -0.5987467765808105, 0.5429863929748535, -0.3348407447338104, 0.12654905021190643, -0.27170810103416443, 0.06911986321210861, -0.05636559799313545, 0.5714874863624573, 0.6464110612869263, -0.06115782633423805, 0.5398059487342834, -0.1745256781578064, 0.5178735256195068, 0.5647697448730469, -0.14243917167186737, -0.3325048089027405, 0.6779232025146484, 0.08498375862836838, -0.17879007756710052, 0.7750493288040161, -0.11043000221252441, -0.41724610328674316, 0.12839321792125702, 0.4446423649787903, 0.6325427293777466, -0.3829703629016876, 0.23541580140590668, 0.3495935797691345, 0.02557351067662239, -0.00006195543392095715, 0.008920006453990936, -0.3373885154724121, -0.6897943615913391, -0.12503336369991302, -0.9166728258132935, -0.4166968762874603, 0.06525631248950958, -0.9419031739234924, 0.2486172318458557, -0.08621702343225479, -0.3445690870285034, -0.01959695667028427, 0.2809312343597412, -0.9064764380455017, -0.01812194660305977, -0.23220567405223846, 0.5880030393600464, -0.42621174454689026, 0.1444164514541626, 0.7236433029174805, -0.366267591714859, -0.47331470251083374, -0.019168158993124962, 0.1299404501914978, -0.782088041305542, 0.6156212687492371, 0.06909869611263275, -0.032175611704587936, -0.0326656810939312, -0.36681339144706726, -0.9514089822769165, 1.4320508241653442, 0.18324488401412964, -0.18551768362522125, -0.20617614686489105, 0.0013919040793552995, 0.6588004231452942, -0.3403247594833374, 0.5153450965881348, 0.47939223051071167, 0.2443459928035736, 0.17429284751415253, -1.10370934009552, -0.21447192132472992, -0.3945417106151581, -0.0940740555524826, 0.3446582555770874, -0.8343027234077454, 0.8645951747894287, 0.10270103067159653, -0.5844447612762451, 0.02131662517786026, 0.556187093257904, 0.5746064782142639, 0.8665091395378113, 0.294147253036499, 0.855137050151825, 0.6934506893157959, -0.16493111848831177, 1.0249158143997192, -0.03447189927101135, 0.39391225576400757, 1.3054803609848022, -0.38823992013931274, 1.015937089920044, 0.3050636053085327, -0.09328621625900269, 0.37557509541511536, 0.3114411234855652, 0.19516636431217194, 0.5850844979286194, -0.10019686818122864, -0.34584400057792664, 0.009681610390543938, -0.4563838541507721, -0.46107494831085205, 0.8702133893966675, 0.4273732304573059, -0.31865644454956055, -0.6593769192695618, -0.11671734601259232, -0.040972158312797546, 0.13585913181304932, 0.09857258945703506, 0.8965445756912231, -0.21562746167182922, -0.49677640199661255, 0.6205488443374634, -0.23774176836013794, 0.5203747153282166, -0.1326972395181656, 0.018999731168150902, -0.6900062561035156, 0.036223024129867554, -0.3441656231880188, -0.7711530923843384, 0.2570877969264984, 0.14044158160686493, -0.18936070799827576, -0.4523482620716095, 0.8109133839607239, -0.06858473271131516, -0.2500443458557129, 0.10886087268590927, 0.6624292135238647, 0.18657433986663818, 0.13674868643283844, -0.6260859370231628, 0.25899744033813477, -0.0408511720597744, -0.11764980107545853, 0.4534492790699005, 0.41696879267692566, 0.0024161585606634617, 0.5637646317481995, 0.6998654007911682, -0.30824822187423706, -0.14569149911403656, -0.28427737951278687, 1.1762205362319946, -0.3016946613788605, -0.4002114534378052, -0.08590441942214966, 0.24486291408538818, -0.20295093953609467, -0.058875374495983124, 0.8879639506340027, 0.7820988297462463, 0.9488555788993835, 0.3634950816631317, 0.5110092759132385, -0.3298536241054535, 0.8344646096229553, -0.12403798848390579, 0.8449174761772156, -0.7670992612838745, 0.30276739597320557, -0.0827084481716156, -0.7685006856918335, 0.07915976643562317, 0.36400261521339417, -0.18331636488437653, -0.07100141793489456, 0.22981680929660797, 0.8794656991958618, -0.2677916884422302, 0.2982279062271118, 0.22677725553512573, 0.1133447214961052, 0.3689703941345215, 0.011253979988396168, 0.6959550380706787, -0.6801348328590393, 0.4537637531757355, -0.28529486060142517, 0.01012970507144928, -0.543064296245575, -0.5314965844154358, -0.39384573698043823, -0.8065598011016846, 0.17217114567756653, -0.23214416205883026, 0.3514806628227234, 0.5492815971374512, 0.2982652187347412, -0.4451487064361572, -0.13316023349761963, 0.08519380539655685, -0.0040143439546227455, 0.11957477778196335, -0.3222914934158325, -0.07327967137098312, -0.6668797731399536, -0.5646191835403442, 0.5862874984741211, 0.1294841170310974, -0.34241783618927, -0.3921603560447693, 0.0556364506483078, -0.16131563484668732, -0.2668660283088684, 0.441454142332077, 0.2341344952583313, -0.37515583634376526, -0.08334751427173615, 0.36028411984443665, -0.20538464188575745, 0.11094076186418533, 0.6946757435798645, -1.167235016822815, 0.6873525977134705, 0.7068279385566711, 0.773780345916748, 0.5486335158348083, 0.4396550953388214, 0.6616427898406982, -0.9116623401641846, 0.019617820158600807, 0.581343948841095, -0.07197505235671997, 0.5115635395050049, -0.35272589325904846, 0.9168490767478943, 0.10673065483570099, -0.8184387683868408, -1.0864779949188232, -0.07448835670948029, -0.4884062707424164, 0.34768980741500854, 0.8740774989128113, -0.015566151589155197, 0.17857058346271515, 0.14803828299045563, 0.16383840143680573, 0.05218108743429184, -0.5937879681587219, 0.7992062568664551, 0.42992112040519714, -0.36112117767333984, -0.06245053932070732, -0.535591721534729, 0.42644280195236206, 0.14951658248901367, -0.649371325969696, -0.064908966422081, 0.9056359529495239, -0.021229306235909462, 0.3743838369846344, 0.6448767781257629, -0.10345926135778427, 0.4246838390827179, 0.032150570303201675, -0.21401043236255646, 0.09314536303281784, -0.2963158190250397, 0.06858430802822113, 0.3697604835033417, -0.33669939637184143, -0.0004858403408434242 ]
http://arxiv.org/abs/2402.11890v2
http://arxiv.org/pdf/2402.11890v2
Revisiting Knowledge Distillation for Autoregressive Language Models
2024-02-19T07:01:10
2024-06-17T02:44:28
Qihuang Zhong, Liang Ding, Li Shen, Juhua Liu, Bo Du, Dacheng Tao
cs.CL
cs.CL
Knowledge distillation (KD) is a common approach to compress a teacher model to reduce its inference cost and memory footprint, by training a smaller student model. However, in the context of autoregressive language models (LMs), we empirically find that larger teacher LMs might dramatically result in a poorer student. In response to this problem, we conduct a series of analyses and reveal that different tokens have different teaching modes, neglecting which will lead to performance degradation. Motivated by this, we propose a simple yet effective adaptive teaching approach (ATKD) to improve the KD. The core of ATKD is to reduce rote learning and make teaching more diverse and flexible. Extensive experiments on 8 LM tasks show that, with the help of ATKD, various baseline KD methods can achieve consistent and significant performance gains (up to +3.04% average score) across all model types and sizes. More encouragingly, ATKD can improve the student model generalization effectively.
[ -0.30296167731285095, -0.7202062606811523, 0.44131988286972046, -0.2552894353866577, -0.37647512555122375, 0.3898839056491852, -0.43299612402915955, -0.016427772119641304, -0.07767973095178604, 0.2993200421333313, -0.08885267376899719, -0.31012874841690063, -0.8325889706611633, -0.32111772894859314, -0.38131287693977356, 0.8336346745491028, -0.1098921000957489, 0.18595144152641296, -0.31279537081718445, -0.3030968904495239, -0.7256142497062683, -0.4142424762248993, -0.8682063221931458, -0.7096858024597168, 0.25756123661994934, 0.6856340765953064, 0.5739242434501648, 0.7061095237731934, 0.22154644131660461, 0.3193758428096771, -0.061247386038303375, -0.12013516575098038, -0.34879669547080994, 0.4350711405277252, -0.1469336897134781, -0.693778395652771, -0.11271560192108154, 0.06610418856143951, 0.4883928894996643, 0.9404405355453491, -0.6838763952255249, -0.08133455365896225, 0.3170072138309479, 0.9670795202255249, -0.870276927947998, 0.17808149755001068, -0.8008196353912354, -0.11377741396427155, 0.2241685390472412, 0.2807462513446808, -0.4479401409626007, -0.4366358816623688, 0.2406345009803772, -0.46745428442955017, 0.2498692274093628, -0.4109151363372803, 0.2958890199661255, 0.6714230179786682, -0.6164078712463379, -0.495465487241745, -1.0153394937515259, 0.6822711229324341, -0.8124720454216003, 0.5386902093887329, 0.4248195290565491, 0.7096622586250305, -0.057507842779159546, -0.7948954105377197, -0.5252688527107239, -0.04068598523736, 0.03586446866393089, 0.05017552152276039, -0.014521623030304909, 0.0067356545478105545, 0.11516337096691132, 0.484246164560318, -0.11959939450025558, 0.08253894746303558, -0.32297682762145996, 0.10797254741191864, 0.3959360718727112, 0.14812323451042175, -0.038051046431064606, 0.1293579488992691, -0.24754242599010468, -0.49025312066078186, -0.3716064691543579, 0.060939982533454895, 0.2657001316547394, 0.13627536594867706, 0.16063490509986877, 0.08356131613254547, -0.24177761375904083, 0.7791188359260559, 0.2478766143321991, -0.3481140732765198, -0.12744852900505066, -0.0670178085565567, -0.14442841708660126, 0.001978902379050851, 0.5045943856239319, 0.3682568669319153, 0.3823843002319336, -0.15030820667743683, -0.12216313928365707, 0.0351177453994751, 0.24980509281158447, -0.749301552772522, -0.9681360721588135, -0.27161142230033875, -0.32586559653282166, -0.45165911316871643, -0.3980005979537964, -0.7742530107498169, -0.3314801752567291, -0.4746869206428528, 0.518359899520874, -0.6631718277931213, -0.39601606130599976, 0.1461709588766098, -0.1951128989458084, -0.10414458066225052, 0.4762263000011444, -1.0291627645492554, 0.5872023105621338, 0.24000878632068634, 0.7034400105476379, -0.18344002962112427, -0.31482458114624023, -0.17770324647426605, 0.13428997993469238, -0.250386118888855, 0.6010682582855225, -0.4684756100177765, -0.6096406579017639, -0.4219522476196289, -0.3305761218070984, -0.14351622760295868, -0.797475278377533, 0.13737431168556213, -0.5203288793563843, 0.236791729927063, -0.33314117789268494, -0.736990749835968, -0.24573424458503723, 0.11665120720863342, -0.7114094495773315, 1.0639630556106567, 0.17218972742557526, -0.4635457694530487, 0.7126622796058655, -0.5617334246635437, -0.32134419679641724, -0.31518474221229553, 0.0538204051554203, -0.3259750008583069, 0.23685100674629211, 0.21944457292556763, 0.29121237993240356, -0.13503685593605042, 0.3429068624973297, -0.27043667435646057, 0.0704473927617073, 0.0748906061053276, -0.673543393611908, 0.6499881148338318, 0.4848387539386749, -0.13643699884414673, -0.20841458439826965, -0.8157805800437927, -0.013087996281683445, -0.04361126199364662, -0.5314732193946838, -0.8818155527114868, 0.09549764543771744, -0.2587015628814697, 0.015004594810307026, -0.2030026912689209, -0.18040570616722107, 0.5077995657920837, -0.16769063472747803, 0.36798906326293945, 0.8659546375274658, 0.06975704431533813, 0.751476526260376, -0.27743080258369446, 0.5095210075378418, 0.14215931296348572, 0.035617128014564514, -0.20809361338615417, -0.23968148231506348, -0.8793626427650452, -0.32637959718704224, 0.4492596983909607, 0.14294588565826416, -1.1040852069854736, -0.060787178575992584, -0.09293469041585922, -0.7048424482345581, -0.6711069345474243, 0.40991711616516113, 0.20422090590000153, 0.7981934547424316, 0.47296178340911865, -0.27393266558647156, -0.34765195846557617, -0.5793545246124268, -0.41953426599502563, -0.4781036674976349, 0.09838270395994186, -0.05791334807872772, 0.30396348237991333, 0.0902043953537941, 1.1219420433044434, -0.7396040558815002, -0.10457628965377808, 0.0019040107727050781, 0.16339246928691864, 0.01228401344269514, 0.5892512798309326, 0.7044841051101685, -0.48172515630722046, -1.0435458421707153, -0.16305609047412872, -0.43709588050842285, -0.1172075867652893, 0.005650236736983061, 0.02691740170121193, 0.42025282979011536, 0.5702399611473083, -0.41854405403137207, 0.3118883967399597, 0.28110793232917786, -0.3405664265155792, 0.4705200791358948, -0.39676639437675476, 0.2876620590686798, -1.1265926361083984, -0.2208663374185562, -0.25166717171669006, -0.36886289715766907, -0.4979844391345978, -0.05862952023744583, 0.11899006366729736, 0.08973367512226105, -0.22999489307403564, 0.46687424182891846, -0.4571596682071686, 0.20637616515159607, -0.6966767907142639, -0.060449134558439255, 0.05765683576464653, 0.2234821617603302, -0.0068245455622673035, 0.43671295046806335, 0.5596453547477722, -0.7508577108383179, 0.6341700553894043, -0.25894156098365784, -0.5810442566871643, 0.5582519173622131, -0.42892077565193176, 0.037631191313266754, -0.2522602379322052, 0.4153388738632202, -1.1335184574127197, 0.043192531913518906, 0.06018297001719475, -0.2768455445766449, 0.5359976887702942, -0.3252263069152832, -0.255376398563385, -0.3431794047355652, -0.151945561170578, 0.4831365644931793, 0.8283053636550903, -0.7047001123428345, 0.7260602116584778, 0.08728266507387161, 0.002967247273772955, -0.4204421043395996, -0.5234197378158569, -0.03050154261291027, -0.5426264405250549, -0.36167317628860474, 0.16199062764644623, -0.17897148430347443, -0.5042747855186462, 0.22779954969882965, -0.2202165722846985, -0.35942456126213074, 0.46698638796806335, -0.25700801610946655, -0.004571012686938047, -0.15918591618537903, 0.2531369626522064, 0.1641022264957428, -0.10346589237451553, 0.08694756031036377, -0.35451892018318176, 0.45895907282829285, 0.2871982455253601, -0.4503293037414551, -0.38519495725631714, 0.08568243682384491, 0.7879642248153687, 0.24857734143733978, 0.8323046565055847, 0.48845329880714417, -0.35965389013290405, -0.35093775391578674, -0.5755687355995178, -0.5638980865478516, -0.49357113242149353, 0.4375631809234619, -0.33638978004455566, -0.4182372987270355, 0.6987283229827881, -0.12051386386156082, 0.06054660305380821, 0.3458036780357361, 0.5681150555610657, -0.02244315855205059, 0.6904597282409668, 0.724876344203949, -0.3098103106021881, 0.48670312762260437, -0.2684360146522522, -0.02550262026488781, -0.4449400007724762, -0.20092663168907166, -0.408474862575531, -0.3747413158416748, -0.17364348471164703, -0.47311416268348694, 0.2660398483276367, 0.5966946482658386, -0.056331172585487366, 0.08309300243854523, -0.3686266541481018, 0.6974816918373108, 0.5269138216972351, -0.018492791801691055, 0.5339478254318237, -0.07009878009557724, -0.009248562157154083, -0.10487891733646393, -0.9983636140823364, -0.32648947834968567, 1.4056133031845093, 0.2966521382331848, 1.127128005027771, 0.25328171253204346, 0.756113588809967, 0.3118723928928375, 0.4668579697608948, -0.7375120520591736, 0.2159726470708847, -0.18873490393161774, -0.4226343333721161, -0.44231587648391724, -0.3636919856071472, -0.5735050439834595, 0.36571818590164185, 0.22219033539295197, -0.36411818861961365, 0.14252519607543945, 0.5435572266578674, -0.4325321316719055, 0.4772215187549591, -1.2345634698867798, 0.7671476006507874, 0.0027898813132196665, -0.00549346162006259, -0.3683026134967804, -0.3471623659133911, 0.424422949552536, -0.34200209379196167, 0.2908034324645996, 0.19641384482383728, 0.08055761456489563, 0.8319095373153687, -0.7547076344490051, 0.9630236029624939, -0.7655600905418396, -0.23512735962867737, 0.4414243698120117, 0.16459745168685913, 0.5566281080245972, -0.010605373419821262, -0.05482134968042374, -0.4003243148326874, 0.06333178281784058, -0.41141563653945923, -1.0941349267959595, 0.790170431137085, -0.9183914661407471, -0.8162163496017456, -0.11709573864936829, -0.6425807476043701, -0.18660157918930054, -0.16916587948799133, 0.09586947411298752, 0.24866941571235657, 0.06870925426483154, 0.22223684191703796, 0.745170533657074, 0.07334592938423157, 0.6376174092292786, 0.8450687527656555, -0.28385764360427856, -0.4106222689151764, 0.7417150139808655, 0.43424293398857117, 0.8509984612464905, -0.05230315402150154, 0.4304439425468445, -0.3837311267852783, -0.520675003528595, -0.4144078493118286, -0.20755362510681152, -1.078676700592041, -0.3012867271900177, -0.5905786752700806, 0.03432885557413101, -0.7629132270812988, -0.2254805713891983, -0.8237963318824768, -0.6153128743171692, -0.3052075505256653, -0.04903055354952812, 0.7064287066459656, 0.6451252698898315, -0.14295977354049683, 0.4846847951412201, -0.4152487814426422, 0.18765731155872345, 0.6115412712097168, 0.2630651593208313, 0.441310852766037, -0.922342836856842, -0.32473087310791016, 0.17758646607398987, -0.4598391652107239, -0.6352269649505615, 0.28564271330833435, 0.6494073867797852, 0.6657878160476685, 0.38537660241127014, 0.4892446994781494, 0.7641040086746216, -0.5165215134620667, 0.6919551491737366, 0.3549119532108307, -0.7592220902442932, 0.5271037220954895, 0.07472322136163712, 0.5389085412025452, 0.5480521321296692, 0.5987797379493713, -0.7546179294586182, -0.5586853623390198, -0.6076353788375854, -0.9358965754508972, 0.7182797193527222, -0.2020866870880127, 0.16789966821670532, 0.13587066531181335, 0.6247016787528992, 0.3604322671890259, -0.003424982074648142, -0.6937806010246277, -0.6152899265289307, -0.4577707052230835, -0.44081437587738037, -0.14027930796146393, -0.3363412320613861, 0.09917885810136795, -0.5405017137527466, 0.8249478936195374, -0.10442083328962326, -0.1253594607114792, -0.05278854817152023, -0.18080143630504608, -0.06702588498592377, 0.14023621380329132, 0.37570425868034363, 0.5047823786735535, 0.020865125581622124, 0.391588032245636, 0.410907119512558, -0.6604787707328796, 0.5008495450019836, -0.1643485128879547, 0.0842917189002037, -0.09568925946950912, 0.3747900128364563, 0.743812084197998, 0.14550264179706573, -0.25682333111763, 0.164333313703537, 0.03690055012702942, -0.24119330942630768, -0.08478721231222153, 0.45579537749290466, 0.23064085841178894, 0.31855860352516174, 0.6277353167533875, 0.0211739931255579, -0.009191187098622322, -0.507722020149231, 0.2846640348434448, 0.13051334023475647, -0.30370020866394043, -0.26442837715148926, 0.6065640449523926, 0.190216064453125, -0.2114197015762329, 0.4730561077594757, 0.05079163983464241, -0.5509987473487854, 0.5153327584266663, 0.5798231363296509, 0.7366137504577637, -0.7107060551643372, 0.13828271627426147, 0.19997721910476685, 0.15451307594776154, -0.28024160861968994, -0.13517048954963684, -0.23925834894180298, -0.7751418948173523, -0.4129154682159424, -0.5382359623908997, -0.22405336797237396, 0.1810881346464157, -0.8518133163452148, 0.2763057053089142, -0.3260493278503418, 0.00341531983576715, 0.036241933703422546, -0.07378038018941879, -0.17523406445980072, 0.11323176324367523, -0.18748174607753754, 0.6893944144248962, -1.1124989986419678, 1.3208482265472412, 0.8466913104057312, -0.06330195814371109, -0.7483618259429932, -0.05094694718718529, -0.027854636311531067, -0.6479011178016663, 0.821359395980835, -0.45976150035858154, 0.17576001584529877, 0.2029799371957779, -0.18933241069316864, -0.7704285383224487, 1.214942216873169, 0.47690722346305847, -0.6400263905525208, 0.05131709203124046, 0.0968613401055336, 0.594160795211792, -0.235142782330513, 0.17801642417907715, 0.5594552755355835, 0.24637340009212494, 0.34388136863708496, -0.9896472096443176, -0.22604766488075256, 0.14012405276298523, 0.07176242023706436, 0.24668124318122864, -0.5644357204437256, 0.846916913986206, -0.08313733339309692, -0.08170462399721146, -0.318768709897995, 0.6053844690322876, -0.09587430208921432, 0.35660797357559204, 0.7928177714347839, 0.7878251671791077, 0.7912923097610474, 0.03337380290031433, 0.6056151986122131, -0.30977174639701843, 0.46716997027397156, 1.3023887872695923, -0.06972628086805344, 0.5269752740859985, 0.698157012462616, -0.4382663369178772, 0.4138152003288269, 0.4390251040458679, 0.3218615651130676, 0.8905229568481445, 0.1961691826581955, -0.42160341143608093, -0.31700870394706726, 0.34510189294815063, -0.3842286765575409, 0.40053489804267883, 0.11146286129951477, -0.2924768924713135, -0.6271733641624451, 0.6323601603507996, -0.020726613700389862, 0.5059501528739929, -0.28894171118736267, 0.8392930030822754, 0.011743948794901371, -0.7066896557807922, 0.9360266923904419, -0.07930094003677368, 0.5646178722381592, -0.3487609624862671, 0.07047069817781448, -0.42994892597198486, 0.4347020089626312, 0.13536381721496582, -0.4415826201438904, 0.5540079474449158, -0.15977410972118378, -0.594375729560852, -0.3593662679195404, 0.7998505234718323, -0.8702750205993652, -0.4235707223415375, 0.0734085738658905, 0.37908098101615906, -0.021983638405799866, 0.09832664579153061, -0.5667667388916016, -0.004988798405975103, 0.2235129326581955, -0.23653371632099152, 0.4079888164997101, 0.6604092121124268, 0.06306174397468567, 0.9385844469070435, 0.28865376114845276, -0.10223131626844406, 0.21708695590496063, -0.08453161269426346, 1.088399052619934, -0.366088330745697, -0.3389456272125244, -1.0380109548568726, 0.4419161379337311, 0.14572787284851074, -0.03271709382534027, 0.8027979731559753, 0.3563400208950043, 0.9701863527297974, -0.09614747762680054, 0.6904751062393188, -0.040106698870658875, 0.6075071692466736, -0.6001257300376892, 0.9904751777648926, -0.45307838916778564, 0.5457294583320618, -0.2942236065864563, -0.8697929978370667, 0.10887452214956284, 0.6406193971633911, -0.2583327293395996, 0.08356306701898575, 0.6557850241661072, 0.3364088833332062, -0.019537396728992462, -0.05383327603340149, 0.41155561804771423, 0.26499730348587036, 0.5146265625953674, 0.4109730124473572, 0.8337777853012085, -0.5688355565071106, 0.47380080819129944, -0.5502447485923767, -0.10537780821323395, -0.07644923031330109, -0.763026237487793, -0.7029798030853271, -0.7440575957298279, -0.7492645978927612, -0.2027135193347931, 0.17885297536849976, 0.7061609029769897, 0.5131482481956482, -0.5775856971740723, -0.221720889210701, -0.15320825576782227, 0.2403663545846939, -0.1654488891363144, -0.2721675932407379, 0.3327775299549103, -0.655689537525177, -0.8195059299468994, 0.18300534784793854, -0.3359687924385071, 0.24816195666790009, -0.27997109293937683, -0.255352646112442, -0.17876702547073364, -0.194339781999588, 0.4524969756603241, 0.10095202922821045, -0.46746107935905457, -0.35379403829574585, -0.29195764660835266, 0.038442011922597885, -0.2943553924560547, 0.8766154646873474, -1.1611546277999878, 0.6446204781532288, 0.16251464188098907, 0.5238572955131531, 0.45654991269111633, -0.24957354366779327, 0.6751995086669922, -0.6950745582580566, 0.1886320859193802, 0.0895407572388649, -0.009546414017677307, 0.12935620546340942, -0.0952325090765953, 0.2988540232181549, 0.586164653301239, -0.5427625179290771, -1.0884990692138672, 0.037936676293611526, -0.43248286843299866, -0.5693057775497437, 1.0941828489303589, -0.3667208254337311, -0.007245025131851435, -0.3380083739757538, 0.03943613916635513, 0.30310696363449097, -0.31179845333099365, 1.170753002166748, 0.981552004814148, 0.11454566568136215, -0.09428086131811142, -0.42381781339645386, 0.7563351392745972, 0.468475878238678, -0.30932384729385376, 0.43292951583862305, 0.47322747111320496, 0.6706647872924805, -0.09477215260267258, 0.7059942483901978, 0.127950519323349, 0.21911902725696564, 0.0016366227064281702, 0.04400085285305977, -0.14071966707706451, -0.3387698531150818, -0.21959000825881958, -0.0763193741440773, 0.45628947019577026, -0.16820119321346283 ]
http://arxiv.org/abs/2402.11889v2
http://arxiv.org/pdf/2402.11889v2
ROSE Doesn't Do That: Boosting the Safety of Instruction-Tuned Large Language Models with Reverse Prompt Contrastive Decoding
2024-02-19T06:58:42
2024-06-17T02:48:21
Qihuang Zhong, Liang Ding, Juhua Liu, Bo Du, Dacheng Tao
cs.CL
cs.CL
With the development of instruction-tuned large language models (LLMs), improving the safety of LLMs has become more critical. However, the current approaches for aligning the LLMs output with expected safety usually require substantial training efforts, e.g., high-quality safety data and expensive computational resources, which are costly and inefficient. To this end, we present reverse prompt contrastive decoding (ROSE), a simple-yet-effective method to directly boost the safety of existing instruction-tuned LLMs without any additional training. The principle of ROSE is to improve the probability of desired safe output via suppressing the undesired output induced by the carefully-designed reverse prompts. Experiments on 6 safety and 2 general-purpose tasks show that, our ROSE not only brings consistent and significant safety improvements (up to +13.8% safety score) upon 5 types of instruction-tuned LLMs, but also benefits the general-purpose ability of LLMs. In-depth analyses explore the underlying mechanism of ROSE, and reveal when and where to use it.
[ 0.06515701860189438, -0.5758388638496399, 0.25767210125923157, 0.17440564930438995, -0.388656347990036, -0.01914658583700657, 0.012789699248969555, -0.25755757093429565, 0.12016567587852478, 0.37618160247802734, -0.703214704990387, -0.5518714189529419, -0.39925771951675415, 0.11726418137550354, -0.4516920745372772, 1.190190076828003, 0.29093626141548157, 0.002394238719716668, 0.001212610863149166, 0.32810646295547485, -0.2884656488895416, -0.5558094382286072, -0.7835330367088318, -0.08234445005655289, 0.6058366298675537, 0.4963666796684265, 0.6166014075279236, 0.8393868803977966, 0.45638877153396606, 0.20591755211353302, -0.3518436849117279, 0.08180739730596542, -0.801767885684967, 0.04333467036485672, 0.07697132229804993, -0.7578831911087036, -0.5405982136726379, -0.07571503520011902, 0.5921788811683655, 0.4927207827568054, 0.10315118730068207, -0.2621922194957733, 0.39705246686935425, 1.0283684730529785, -0.860382080078125, -0.14896520972251892, -0.5919308662414551, -0.03966779261827469, -0.020470917224884033, -0.7438433766365051, -0.6228657364845276, -0.7607688307762146, -0.18333135545253754, -0.2274855077266693, 0.33450981974601746, 0.11561927944421768, 0.7296900749206543, 0.25523194670677185, -0.1496341973543167, -0.027680428698658943, -0.5375449061393738, 0.9584259986877441, -0.6362177133560181, 0.28476232290267944, 0.3150809109210968, 0.1854395866394043, -0.2997162342071533, -0.2486676573753357, -0.2797064781188965, -0.17173320055007935, 0.07407432794570923, 0.21195366978645325, 0.12493053078651428, 0.01864258386194706, 0.41949692368507385, 0.32406026124954224, -0.3682525157928467, 0.23769624531269073, -0.11804433166980743, -0.2513011693954468, 0.37646445631980896, 0.2828575372695923, 0.4283447265625, 0.23875364661216736, -0.49435654282569885, -0.2566867470741272, -1.5234540700912476, 0.24211205542087555, 0.24818043410778046, 0.6205363869667053, -0.22514291107654572, 0.29177525639533997, -0.15609529614448547, 0.6194743514060974, -0.22329553961753845, -0.14133818447589874, 0.2061588168144226, -0.09625045955181122, -0.3179561197757721, 0.12445905059576035, 0.7316950559616089, 0.5520301461219788, 0.29573243856430054, -0.29044267535209656, -0.22855046391487122, 0.4215983748435974, -0.005349266808480024, -1.0814777612686157, -0.4080379009246826, 0.07468201965093613, -0.19876685738563538, -0.6103763580322266, -0.22013799846172333, -0.7481701970100403, -0.5097029805183411, -0.06657778471708298, 0.23958127200603485, -0.40206974744796753, -0.11815629154443741, -0.04456662759184837, -0.09680961072444916, 0.2719927728176117, 0.2660578489303589, -0.9737492203712463, -0.1653459072113037, 0.7991570234298706, 0.679024338722229, -0.06094415485858917, -0.27756011486053467, -1.227400302886963, -0.02335282973945141, -0.8190790414810181, 0.5584282875061035, -0.8450441956520081, -0.6450244784355164, 0.2904985547065735, 0.22929862141609192, 0.13379593193531036, -0.40013664960861206, 0.8305192589759827, -0.7386932969093323, 0.002576985862106085, -0.9200649261474609, -0.2856331169605255, 0.16729781031608582, 0.11984176933765411, -0.2899141311645508, 0.3038555085659027, -0.4045630395412445, -0.7975003719329834, 0.4027780592441559, -0.12275654822587967, -0.8438553810119629, -0.1989242285490036, -0.3860057294368744, -0.4551069140434265, 0.11001373827457428, 0.40849363803863525, 0.25171512365341187, -0.21227137744426727, -0.18712319433689117, -0.21446312963962555, -0.6220842599868774, 0.21930135786533356, -0.7300279140472412, 0.9634524583816528, -0.030383622273802757, -0.09069976955652237, 0.31134214997291565, -0.8487329483032227, -0.15535110235214233, 0.08858340233564377, -0.7220834493637085, -0.23600253462791443, -0.023716634139418602, -0.27069994807243347, 0.025802168995141983, -0.008322272449731827, -0.6386291980743408, -0.05769612267613411, -0.7156141996383667, 0.16615131497383118, 0.7075009346008301, -0.1928306370973587, 0.5406733155250549, -0.4827137887477875, 0.5930563807487488, 0.1276264637708664, -0.13054442405700684, -0.5770760774612427, -0.5718811750411987, -0.8341478705406189, -0.186244934797287, 0.12881527841091156, 0.8157382011413574, -0.8640835881233215, 0.5235426425933838, -0.10352188348770142, -0.09496167302131653, -0.6414582133293152, 0.21555683016777039, 0.7694476246833801, 1.155552864074707, 0.5279743075370789, 0.23941130936145782, -0.2608918845653534, -0.7699760794639587, -0.4083392918109894, -0.014891255646944046, 0.01713225431740284, -0.13661250472068787, 0.0023254507686942816, -0.09860669076442719, 0.626679003238678, -0.4254278838634491, -0.1495789736509323, -0.19643504917621613, 0.09578456729650497, 0.3086518943309784, 0.7433596253395081, 0.47659793496131897, -0.5976637005805969, -0.36615899205207825, -0.26670533418655396, -0.6154212951660156, -0.0905974954366684, -0.1579703986644745, -0.25548452138900757, 0.258277028799057, 0.8648003935813904, -0.32395458221435547, 0.36269110441207886, 0.31791090965270996, -0.15848557651042938, 0.4292812943458557, -0.3067505359649658, 0.224388986825943, -1.0090363025665283, -0.14487037062644958, 0.025855777785182, -0.09318343549966812, -0.7112199068069458, 0.027028126642107964, 0.5677222013473511, -0.2079506665468216, -0.4007006585597992, 0.1655651479959488, -0.41467422246932983, 0.11336103081703186, -0.5863320231437683, 0.03400815650820732, 0.13371671736240387, 0.3363646864891052, 0.016518646851181984, 1.0977684259414673, 0.7566129565238953, -0.8741559982299805, 0.19604918360710144, 0.13091568648815155, -0.2885355055332184, 0.6374013423919678, -0.6769710779190063, 0.08805102109909058, -0.3465157449245453, 0.07554503530263901, -1.1782273054122925, -0.10761978477239609, 0.379781037569046, -0.3762313425540924, 0.8291237950325012, -0.3179628551006317, -0.02798776887357235, -0.16409052908420563, -0.4979800581932068, 0.2068714201450348, 1.0574054718017578, -1.033602237701416, 0.26831677556037903, 0.05861005187034607, -0.17146402597427368, -0.9284011721611023, -1.1090127229690552, 0.06051033362746239, -0.21882620453834534, -0.3947787582874298, 0.2112143337726593, -0.1534944474697113, -0.025647766888141632, -0.09117516130208969, -0.29976311326026917, 0.3494340479373932, 0.3973553478717804, 0.1816105842590332, 0.4041789472103119, -0.3611067831516266, 0.2582991421222687, 0.28696393966674805, -0.39263010025024414, 0.2324802577495575, 0.11223339289426804, 0.22517238557338715, -0.11114775389432907, -0.5695732235908508, -0.7924749255180359, 0.1581839621067047, 0.42773371934890747, -0.07141640037298203, 0.8119512796401978, 0.24213504791259766, -0.06273329257965088, -0.31767505407333374, -0.18264079093933105, -0.4345192611217499, -0.5404987931251526, 0.3182753026485443, -0.39545610547065735, -0.5496155619621277, 0.10945429652929306, -0.15058811008930206, 0.5368512868881226, 0.2095777690410614, 0.21959182620048523, -0.3419421911239624, 1.0479423999786377, 0.5851759314537048, -0.2005809247493744, 0.5149789452552795, 0.09482378512620926, 0.16366328299045563, -0.887547492980957, -0.11995401978492737, -0.7217758893966675, -0.28875115513801575, -0.32865190505981445, 0.07225684076547623, 0.31989744305610657, 0.3806226849555969, -0.23517805337905884, 0.08103368431329727, -0.4970908463001251, 0.8083988428115845, 0.6090747714042664, 0.15817934274673462, 0.35252583026885986, 0.19468526542186737, 0.04579029232263565, -0.0975940003991127, -0.7417508959770203, -0.4460579752922058, 0.8844420909881592, 0.31678810715675354, 1.2661540508270264, 0.21100252866744995, 0.9387657642364502, -0.03276072442531586, 0.37252604961395264, -0.7648571133613586, 0.7287205457687378, -0.26031073927879333, -0.17218732833862305, -0.20448821783065796, -0.6707253456115723, -1.0503002405166626, 0.190410777926445, -0.45349210500717163, -0.38187167048454285, 0.20329833030700684, 0.6194710731506348, -0.4666057527065277, 0.34719008207321167, -0.8746875524520874, 0.4579838514328003, -0.3129139244556427, -0.43427371978759766, -0.11865919828414917, -0.5172473192214966, 0.4745308756828308, 0.12018130719661713, 0.18856097757816315, 0.04183734580874443, -0.03684453293681145, 0.6778294444084167, -0.38155633211135864, 1.0226672887802124, -0.05309540033340454, -0.4022444784641266, -0.09339573234319687, 0.28652462363243103, 0.7695604562759399, -0.19077199697494507, 0.04160488024353981, -0.30403807759284973, -0.30714863538742065, -0.47476503252983093, -0.6520254015922546, 1.1380950212478638, -0.6621912717819214, -0.9749501347541809, -0.22433573007583618, -0.4409750998020172, -0.5025277137756348, 0.11606918275356293, 0.49607419967651367, 0.8369722962379456, -0.03625292703509331, 0.158421128988266, 0.9355798363685608, -0.44263842701911926, 0.5881320834159851, 0.47823649644851685, -0.18136118352413177, -0.39078807830810547, 1.2117911577224731, -0.24104629456996918, 0.4069659113883972, 0.6807504892349243, 0.37474435567855835, -0.42798417806625366, -0.5654175877571106, -0.5624057650566101, 0.16580618917942047, -0.9321171641349792, -0.13418662548065186, -0.38439226150512695, -0.11677641421556473, -0.35369664430618286, -0.31725403666496277, -0.20262031257152557, -0.2309509515762329, -0.6659627556800842, -0.15391550958156586, 0.4826657474040985, 0.5055084824562073, -0.08393584936857224, 0.2217331826686859, -1.0514856576919556, 0.4740889072418213, 0.6003615856170654, 0.3143395483493805, 0.011883651837706566, -0.7797770500183105, 0.02280956506729126, 0.13155581057071686, -0.06028878688812256, -0.7843334078788757, 0.23105160892009735, 0.023015858605504036, 0.47400641441345215, 0.5770272612571716, 0.4767683744430542, 0.5098837018013, -0.6410725116729736, 0.6029754281044006, 0.49829939007759094, -0.6722899675369263, 0.7210289835929871, -0.09843441098928452, 0.08675511926412582, 0.3965506851673126, 0.27121129631996155, -0.019355248659849167, 0.032732877880334854, -0.13798753917217255, -0.751325786113739, 0.7668907046318054, 0.0008687548106536269, 0.3806721568107605, -0.1552208662033081, -0.02393038012087345, 0.027357494458556175, -0.022417565807700157, -0.4783708453178406, -0.22113682329654694, -0.19395974278450012, -0.16348795592784882, -0.209972083568573, -0.6546465158462524, -0.5097965598106384, 0.1154991090297699, 0.93597012758255, 0.17670901119709015, -0.058877088129520416, 0.044984474778175354, -0.11417251825332642, -0.3383884131908417, 0.5599049925804138, 0.7185238599777222, 0.3184491991996765, -0.3363085389137268, 0.29005753993988037, 0.012639608234167099, -0.3223794996738434, 0.20581969618797302, -0.08026205748319626, -0.3480277955532074, -0.27061688899993896, 0.45144394040107727, 0.8112689852714539, 0.2007599025964737, -0.37858912348747253, 0.40687382221221924, 0.011125700548291206, 0.026738587766885757, 0.32537201046943665, 0.5359635353088379, 0.11245079338550568, 0.1513565331697464, 0.23453569412231445, 0.09367494285106659, -0.2680819034576416, -0.5364335775375366, 0.05728182569146156, 0.6515716314315796, -0.21081194281578064, -0.19483549892902374, 0.6483328342437744, 0.8110743761062622, -0.6527093648910522, 0.6011127233505249, -0.04264754056930542, -0.25362157821655273, 0.5846274495124817, 0.8052322268486023, 0.9790162444114685, -0.21052537858486176, -0.062403466552495956, 0.28264886140823364, 0.49283868074417114, -0.15422318875789642, 0.493408739566803, 0.06933961808681488, -0.6935442686080933, -0.4105314314365387, -0.4813966751098633, -0.46089401841163635, 0.2920334041118622, -0.5758417844772339, 0.0773593932390213, -0.5362516045570374, -0.011224795132875443, -0.39756497740745544, -0.4604036808013916, -0.3111542761325836, 0.2709386944770813, -0.01599297486245632, 1.094024896621704, -1.0253502130508423, 0.7924250364303589, 0.5184600353240967, -0.26994723081588745, -0.4721086621284485, 0.40994253754615784, -0.09311415255069733, -0.8941245079040527, 0.7037745118141174, 0.30893567204475403, -0.7225466966629028, 0.04000532627105713, -0.535258948802948, -0.4749949872493744, 0.7550166845321655, 0.5093536972999573, -1.0598169565200806, 0.1310739815235138, -0.08902130275964737, 0.2541465759277344, -0.18490369617938995, 0.0024495692923665047, 0.48952072858810425, -0.01918756030499935, 0.39060190320014954, -0.3234473168849945, 0.11989449709653854, -0.2743266522884369, 0.05001324042677879, 0.08911550790071487, -0.26106446981430054, 0.7355316281318665, -0.5706772208213806, -0.6693551540374756, 0.21437597274780273, 0.6626310348510742, 0.3902911841869354, 0.13845518231391907, 0.2588960826396942, 0.6565003991127014, 0.7544355392456055, -0.12312581390142441, 1.3182917833328247, -0.43639442324638367, -0.09479332715272903, 1.1363208293914795, -0.1408277302980423, 0.9053534865379333, 0.37128299474716187, -0.19954676926136017, 0.33991310000419617, 0.33610543608665466, 0.3645399510860443, 0.7199245691299438, -0.07421237230300903, -0.10341338813304901, -0.6459918022155762, 0.053447309881448746, -0.8793172836303711, -0.30158817768096924, 0.3166675269603729, -0.515518069267273, -0.2909620702266693, -0.23912380635738373, -0.024321727454662323, 0.3165879249572754, -0.4754889905452728, 0.387961208820343, 0.20718678832054138, -0.48351433873176575, 1.0776147842407227, -0.35259106755256653, 0.8819645047187805, -0.33438369631767273, -0.12868931889533997, -0.4465327262878418, 0.2918337285518646, -0.31787294149398804, -0.8272914290428162, 0.07889344543218613, 0.19001568853855133, -0.0644994005560875, -0.0677105262875557, 0.623498797416687, -0.3253616988658905, -0.4566625952720642, 0.05624248459935188, 0.15881666541099548, 0.02078857459127903, 0.2614821493625641, -0.5070657730102539, 0.1414564698934555, -0.0187140591442585, -0.06578722596168518, 0.460631787776947, 0.34371212124824524, 0.3922589421272278, 0.779297411441803, 0.8340702652931213, 0.12423630058765411, -0.19819028675556183, 0.30412837862968445, 0.8927443623542786, -0.7992627024650574, -0.7537809610366821, -1.0445717573165894, 0.548126757144928, 0.030593590810894966, -0.05446939170360565, 0.7099069356918335, 0.23952321708202362, 0.5410339832305908, -0.14911377429962158, 0.8612786531448364, 0.7480003237724304, 0.6971786618232727, -0.8750105500221252, 0.5733446478843689, -0.5921183824539185, 0.8167659044265747, -0.19700241088867188, -0.8002732992172241, -0.33054041862487793, 0.5400762557983398, -0.44365188479423523, 0.020156629383563995, 0.3274589478969574, 1.156008243560791, 0.014455422759056091, 0.09787670522928238, 0.48950162529945374, 0.2641753554344177, 0.4059939980506897, 0.5883191227912903, 1.1759662628173828, -0.1908917874097824, 0.7052140831947327, -0.05929354578256607, -0.5261347889900208, -0.35010120272636414, -1.0521451234817505, -1.361601710319519, -0.02826063148677349, -0.3699376881122589, -0.6117368340492249, 0.11299439519643784, 0.8719046711921692, 0.4765752851963043, -1.0855693817138672, 0.11791669577360153, -0.5487527847290039, 0.18877747654914856, -0.03786047548055649, -0.14505989849567413, 0.4112566411495209, -0.6572725772857666, -0.5372067093849182, 0.9101489186286926, 0.37549155950546265, 0.3164713382720947, 0.02882462926208973, -0.13951295614242554, 0.24640555679798126, -0.02935054711997509, 0.37904295325279236, 0.6411718130111694, -0.7072409987449646, -0.02733798697590828, -0.12668998539447784, -0.2817658483982086, 0.05886529013514519, 0.5404635667800903, -0.7992091774940491, 0.29303011298179626, 0.8014957904815674, 1.0264261960983276, -0.13516554236412048, 0.13478319346904755, 0.49212121963500977, -0.6446437239646912, -0.03394626826047897, 0.05823377147316933, 0.44343075156211853, 0.500862181186676, -0.4492720067501068, 0.1648130565881729, 0.21560706198215485, -0.38166341185569763, -0.8001936674118042, 0.7165618538856506, -0.6208878755569458, -0.39384207129478455, 1.3167139291763306, -0.1552201360464096, -0.17498508095741272, -0.03186919540166855, -0.2846878468990326, 0.06561730057001114, -0.4627172350883484, 0.860272228717804, 0.043709125369787216, 0.0043748957104980946, -0.20004716515541077, 0.0995330885052681, 0.8763973712921143, 0.6140059232711792, -0.7450611591339111, 0.33146801590919495, 0.42182403802871704, 0.3074813783168793, 0.1670476794242859, 0.2837827205657959, 0.085297130048275, 0.3805522322654724, -0.06083879619836807, -0.421440988779068, -0.36773523688316345, -0.5568999648094177, -0.8329131603240967, 0.20695939660072327, 0.15334151685237885, -0.7040838599205017 ]
http://arxiv.org/abs/2402.14840v1
http://arxiv.org/pdf/2402.14840v1
RJUA-MedDQA: A Multimodal Benchmark for Medical Document Question Answering and Clinical Reasoning
2024-02-19T06:57:02
2024-02-19T06:57:02
Congyun Jin, Ming Zhang, Xiaowei Ma, Li Yujiao, Yingbo Wang, Yabo Jia, Yuliang Du, Tao Sun, Haowen Wang, Cong Fan, Jinjie Gu, Chenfei Chi, Xiangguo Lv, Fangzhou Li, Wei Xue, Yiran Huang
cs.CL
cs.CL, cs.AI, stat.AP
Recent advancements in Large Language Models (LLMs) and Large Multi-modal Models (LMMs) have shown potential in various medical applications, such as Intelligent Medical Diagnosis. Although impressive results have been achieved, we find that existing benchmarks do not reflect the complexity of real medical reports and specialized in-depth reasoning capabilities. In this work, we introduced RJUA-MedDQA, a comprehensive benchmark in the field of medical specialization, which poses several challenges: comprehensively interpreting imgage content across diverse challenging layouts, possessing numerical reasoning ability to identify abnormal indicators and demonstrating clinical reasoning ability to provide statements of disease diagnosis, status and advice based on medical contexts. We carefully design the data generation pipeline and proposed the Efficient Structural Restoration Annotation (ESRA) Method, aimed at restoring textual and tabular content in medical report images. This method substantially enhances annotation efficiency, doubling the productivity of each annotator, and yields a 26.8% improvement in accuracy. We conduct extensive evaluations, including few-shot assessments of 5 LMMs which are capable of solving Chinese medical QA tasks. To further investigate the limitations and potential of current LMMs, we conduct comparative experiments on a set of strong LLMs by using image-text generated by ESRA method. We report the performance of baselines and offer several observations: (1) The overall performance of existing LMMs is still limited; however LMMs more robust to low-quality and diverse-structured images compared to LLMs. (3) Reasoning across context and image content present significant challenges. We hope this benchmark helps the community make progress on these challenging tasks in multi-modal medical document understanding and facilitate its application in healthcare.
[ -0.22353538870811462, -1.0234969854354858, 0.8420403599739075, -0.05234363675117493, -0.44153693318367004, 0.10464334487915039, -0.06859375536441803, -0.5075855255126953, 0.24361172318458557, 0.38610973954200745, -0.4953271746635437, -0.6155292987823486, -0.3978537917137146, 0.3092586100101471, 0.017349429428577423, 0.7191822528839111, -0.22855344414710999, 0.32488253712654114, -0.497563898563385, -0.5454090237617493, -0.5649471282958984, -0.3768843710422516, -0.4616166055202484, -0.2280881702899933, 0.6556512713432312, 0.000022065985831432045, 0.807982325553894, 0.7429301738739014, 0.8393932580947876, 0.2818955183029175, 0.0443078950047493, 0.5962997674942017, 0.0966641753911972, 0.3557119369506836, -0.05765354260802269, -0.3955208659172058, -0.44726887345314026, -0.28283771872520447, 0.68537837266922, 0.6245057582855225, -0.11899595707654953, 0.1559361070394516, -0.36176708340644836, 0.710284948348999, -0.5390729904174805, 0.22263377904891968, -0.31193625926971436, 0.11812857538461685, -0.22542715072631836, -0.4095281958580017, -0.3604053854942322, -0.46405038237571716, -0.2611788213253021, -0.8193841576576233, 0.008041873574256897, 0.010574039071798325, 1.022452473640442, 0.5357229113578796, -0.6224966049194336, -0.11554301530122757, -0.24134641885757446, 0.47422918677330017, -0.8236981630325317, 0.4799129068851471, 0.23566855490207672, 0.4342396855354309, -0.24752074480056763, -0.9646604657173157, -0.4734053909778595, -0.16523535549640656, -0.03241592273116112, 0.4529617726802826, 0.08234309405088425, 0.06221066042780876, 0.37495964765548706, 0.37728333473205566, -0.7013572454452515, -0.005641927011311054, -0.3132341504096985, -0.27792850136756897, 0.42170992493629456, 0.29972147941589355, 0.5479040741920471, -0.2228560596704483, -0.451262503862381, -0.14473828673362732, -0.5745368599891663, 0.01678135059773922, -0.3352569341659546, -0.05230167508125305, 0.01173445675522089, 0.5358560085296631, -0.36125248670578003, 0.47604531049728394, -0.4276907742023468, -0.7248398065567017, 0.7048218846321106, -0.39184194803237915, -0.3187527358531952, -0.37195807695388794, 0.610908567905426, 0.6738668084144592, -0.16140511631965637, 0.08123161643743515, -0.10800380259752274, 0.22993911802768707, 0.20844505727291107, -0.6946351528167725, -0.01879645697772503, 0.314596951007843, -0.8539876341819763, 0.11611098796129227, -0.38161948323249817, -0.6715887188911438, -0.6643788814544678, -0.1576116383075714, 0.4241825044155121, -0.4033550024032593, -0.1425315886735916, 0.10469699651002884, 0.007971271872520447, 0.13637234270572662, 0.6916189789772034, -0.45993557572364807, 0.1144586130976677, 0.5810315012931824, 0.6987324953079224, -0.09530708193778992, -0.027866337448358536, -0.586991548538208, -0.1734277307987213, -0.3937319219112396, 1.0499331951141357, -0.3634243309497833, -0.20498299598693848, -0.009848291054368019, 0.19557876884937286, -0.26078519225120544, -0.7407438158988953, 1.0244196653366089, -0.2813429534435272, 0.08104053884744644, -0.240929514169693, -0.2911311388015747, -0.584254264831543, 0.6095719337463379, -0.6979018449783325, 0.9786860942840576, 0.13378411531448364, -0.5879794955253601, 0.47750234603881836, -0.1807769536972046, -0.3004550039768219, 0.2531088590621948, -0.5617022514343262, -0.663753092288971, -0.011084319092333317, 0.5360773205757141, 0.3909246623516083, -0.803000807762146, 0.482708215713501, -0.3482465445995331, -0.17955149710178375, 0.3069188892841339, -0.49248212575912476, 0.3409355878829956, 0.2632199823856354, -0.004474685061722994, 0.1116628497838974, -0.8150733113288879, 0.22625593841075897, 0.17917518317699432, -0.4234428405761719, -0.2999442219734192, -0.09316477924585342, 0.03626963123679161, 0.4802252948284149, -0.04136517271399498, -0.5654370784759521, 0.2053084820508957, -0.2381342202425003, 0.31701141595840454, 0.30608588457107544, 0.31262874603271484, -0.19446660578250885, -0.719095766544342, 0.8071853518486023, 0.09420085698366165, 0.16459175944328308, -0.5650125741958618, -0.7198576331138611, -0.407472163438797, -0.8866367936134338, 0.37333613634109497, 0.5029007792472839, -0.817508339881897, -0.0902329683303833, -0.3485737442970276, -0.6002103090286255, -0.8221127986907959, -0.24577777087688446, 0.5974237322807312, 0.8425914645195007, 0.5421107411384583, -0.5164589881896973, -0.21027661859989166, -1.206888198852539, -0.21650058031082153, -0.18281899392604828, -0.010927346535027027, 0.401263564825058, 0.4706418514251709, -0.2958635985851288, 0.3034716546535492, -0.27911949157714844, -0.4004128873348236, 0.03734203055500984, 0.09300003200769424, 0.2951332926750183, 0.32982781529426575, 0.37471938133239746, -0.7518386244773865, -0.23478537797927856, 0.00613158755004406, -0.9010166525840759, -0.31368687748908997, -0.5214478373527527, 0.11208973824977875, 0.20580120384693146, 0.49139878153800964, -0.40935972332954407, 0.5388860702514648, 0.4893895983695984, -0.25745072960853577, 0.4726037085056305, -0.4088888168334961, 0.6533377766609192, -1.0066587924957275, 0.27554404735565186, -0.04132985696196556, -0.2628069221973419, -0.40990397334098816, 0.28461235761642456, 0.46643581986427307, -0.1337389349937439, -0.22926554083824158, 0.5019334554672241, -0.49411284923553467, -0.0018689701100811362, 0.06765971332788467, 0.27508971095085144, 0.3584476411342621, 0.47263842821121216, -0.09210721403360367, 0.7335594892501831, 0.28249579668045044, -0.18145042657852173, 0.21393626928329468, 0.380624383687973, -0.37331220507621765, 0.8215200901031494, -0.6345024108886719, -0.06627955287694931, -0.28901687264442444, 0.36026090383529663, -1.1613483428955078, -0.08665033429861069, 0.08227337896823883, -0.368714839220047, 0.2596401572227478, 0.0749528706073761, -0.5718274116516113, -0.23328232765197754, -0.2800537049770355, 0.5321778059005737, 0.11957880109548569, -0.37719762325286865, 0.9929277300834656, 0.24221470952033997, -0.29932737350463867, -0.6207417845726013, -0.6316055059432983, 0.23875847458839417, -0.06933068484067917, -0.6968865394592285, 0.3463495969772339, -0.08558464795351028, -0.10346987098455429, -0.10306555032730103, -0.041278667747974396, -0.14752447605133057, 0.12393569946289062, 0.3888952434062958, 0.44513291120529175, -0.3750138580799103, 0.451973557472229, 0.20696139335632324, -0.10932821035385132, 0.048037733882665634, 0.4870413839817047, 0.08730997890233994, -0.10489755123853683, -0.7686565518379211, -0.4637003540992737, 0.42200666666030884, 0.8476473093032837, -0.5162356495857239, 0.501223623752594, 0.34893789887428284, -0.5280162692070007, 0.019362427294254303, -0.693787157535553, 0.20114991068840027, -0.31945228576660156, 0.5340802669525146, -0.5877029895782471, -0.4292208254337311, 0.7268098592758179, -0.28045955300331116, 0.13131950795650482, 0.654282808303833, 0.682203471660614, 0.013334478251636028, 1.0723049640655518, 0.007636238820850849, 0.3448850214481354, -0.08635345101356506, 0.11588292568922043, -0.10911146551370621, -0.9091677665710449, -0.532164454460144, -0.4859820306301117, 0.004525056108832359, -0.2859658896923065, -0.6251922249794006, 0.8443798422813416, -0.12554265558719635, -0.02490229345858097, -0.22473381459712982, -0.46878811717033386, 0.13294075429439545, 0.27309930324554443, 0.4137571156024933, 0.6296705603599548, -0.44303277134895325, -0.36675935983657837, -0.13532420992851257, -0.611144483089447, -0.4540993869304657, 0.9317041039466858, 0.5982110500335693, 0.7558534145355225, 0.08212333917617798, 0.3087737560272217, 0.25127097964286804, 0.5137405395507812, -0.9039317965507507, 0.3409063220024109, 0.06449989229440689, -0.6175667643547058, 0.09529858827590942, -0.17646485567092896, -0.6974400877952576, 0.6577551960945129, -0.6115976572036743, -0.18231062591075897, 0.11601734161376953, -0.12992103397846222, -0.4143713712692261, 0.23277540504932404, -0.5551273226737976, 0.8820412158966064, -0.09260593354701996, -0.20841582119464874, -0.1324988454580307, -0.7840501070022583, 0.37649649381637573, -0.14379370212554932, 0.46371904015541077, -0.20306913554668427, -0.2815181016921997, 0.4849654734134674, -0.3987725079059601, 0.5606774687767029, -0.023563455790281296, -0.10639265179634094, -0.1112537607550621, -0.025193840265274048, 0.276825487613678, 0.23344506323337555, -0.029938260093331337, -0.09456806629896164, 0.4873389005661011, -0.25306636095046997, -0.6796972155570984, 0.3497695326805115, -0.39174705743789673, -0.5458028316497803, -0.5052052736282349, -0.6287052035331726, -0.4144509732723236, 0.29208624362945557, -0.09201814979314804, 0.9111023545265198, -0.08129200339317322, 0.42837733030319214, 0.6033738851547241, -0.5254611372947693, 0.04110346734523773, 0.492146760225296, -0.07089833915233612, -0.5873836278915405, 0.5444925427436829, 0.04457530751824379, 0.14099432528018951, 0.39059358835220337, 0.024622416123747826, -0.381442666053772, -0.7561156153678894, -0.8264523148536682, 0.4004243314266205, -0.9977099895477295, -0.46689459681510925, -0.7318735122680664, -0.15599049627780914, -0.005117891822010279, -0.01810288056731224, -0.30694910883903503, -0.40154021978378296, 0.02972470037639141, 0.18495391309261322, 0.005296668969094753, 0.3892455995082855, 0.2252882868051529, -0.44573619961738586, -0.9543323516845703, 0.6926829218864441, 0.046514421701431274, 0.37533247470855713, -0.08411386609077454, -0.4584556221961975, -0.1397736817598343, -0.2492372840642929, -0.16301582753658295, -0.7446261644363403, 0.21510376036167145, 0.15594767034053802, 0.7835750579833984, 0.2468290776014328, 0.1072673350572586, 0.5164462924003601, -0.4289904534816742, 0.6579434275627136, 0.0622204914689064, -0.5241747498512268, 0.3608972430229187, -0.2671670913696289, 0.36847496032714844, 0.6439554691314697, 0.12242487818002701, -0.6185036897659302, -0.33938461542129517, -0.3406604826450348, -0.6588135361671448, 0.17291127145290375, -0.15531758964061737, -0.2708177864551544, -0.12791050970554352, 0.43458133935928345, 0.09397482872009277, -0.09401671588420868, -0.40076977014541626, -0.2471863031387329, -0.1596253216266632, -0.3989567160606384, 0.20418888330459595, -0.1652660369873047, -0.2836756110191345, -0.09645064175128937, 0.5227469205856323, -0.37050190567970276, 0.06572460383176804, 0.5787274241447449, -0.1305752545595169, 0.02110513485968113, 0.38193875551223755, 0.7291602492332458, 0.7509515881538391, -0.001318944152444601, 0.06835992634296417, 0.24452736973762512, -0.6041634678840637, -0.033106479793787, 0.278880774974823, -0.11142096668481827, -0.04423192888498306, 0.5065715909004211, 0.510934054851532, 0.018330998718738556, -1.0548607110977173, 0.6340541839599609, -0.27233821153640747, -0.33005791902542114, -0.12400346994400024, -0.2885687053203583, 0.08676192909479141, 0.5131960511207581, 0.40114688873291016, 0.00122695358004421, 0.2528921663761139, -0.5782080888748169, 0.1542283296585083, 0.4036041498184204, -0.2674477696418762, 0.05506012216210365, 0.8202135562896729, 0.13841326534748077, 0.06946203112602234, 0.42670947313308716, 0.1988251954317093, -0.25133565068244934, 0.6965417265892029, 0.4695630371570587, 0.42843034863471985, 0.17136439681053162, 0.07733900099992752, 0.5067870020866394, 0.3456209897994995, -0.04587552323937416, 0.5661930441856384, 0.11385250836610794, -0.48045119643211365, -0.47453537583351135, -0.28691157698631287, -0.5519163012504578, 0.02991625666618347, -0.659231960773468, -0.06078501045703888, -0.433583527803421, -0.3119420111179352, 0.22232963144779205, 0.047589391469955444, -0.3735175132751465, 0.5981633067131042, 0.11151952296495438, 1.012791633605957, -0.5420389175415039, 0.6169663667678833, 0.6541988253593445, -0.6377068161964417, -0.7248737812042236, -0.33563047647476196, 0.13523711264133453, -0.8119854927062988, 0.3989558815956116, 0.1447012722492218, -0.04551630839705467, -0.3610546886920929, -0.19015273451805115, -0.4612247049808502, 1.2805119752883911, 0.160268634557724, -0.27052146196365356, 0.04229466989636421, -0.049905162304639816, 0.6381627321243286, -0.3494439721107483, 0.3402077853679657, 0.3199651539325714, 0.38558852672576904, -0.04620957002043724, -1.028656244277954, 0.6212601065635681, -0.4700133800506592, -0.0049753692001104355, 0.10915406793355942, -0.6816824674606323, 0.6482349038124084, -0.22451120615005493, -0.3348034918308258, 0.4048037827014923, 0.38720279932022095, 0.40845564007759094, 0.46183091402053833, 0.37184518575668335, 0.6330747604370117, 0.7223244905471802, -0.2267971783876419, 1.1133947372436523, -0.21983744204044342, 0.06073584780097008, 0.8243716359138489, -0.22456835210323334, 0.7196637392044067, 0.37340784072875977, -0.15789130330085754, 0.5760657787322998, 0.4582238495349884, -0.002842852845788002, 0.2276948243379593, 0.041427623480558395, -0.2960159480571747, -0.2977248728275299, -0.44276970624923706, -0.7007145285606384, 0.3288849890232086, 0.4523083567619324, -0.4753122329711914, -0.11967617273330688, -0.006172381341457367, -0.03425908833742142, 0.33067503571510315, -0.1855204850435257, 0.7408819198608398, -0.029996544122695923, -0.6379220485687256, 0.6555735468864441, 0.03954954445362091, 0.3741967976093292, -0.5329034924507141, -0.26509323716163635, -0.32244089245796204, 0.10318171977996826, -0.19030991196632385, -0.6757540106773376, 0.22979049384593964, -0.3531434237957001, -0.07214736193418503, 0.07918881624937057, 0.6589224338531494, -0.32462090253829956, -0.21682393550872803, -0.06762536615133286, 0.6743879318237305, 0.07265816628932953, 0.12173686176538467, -0.7459414601325989, 0.1152166798710823, -0.3522915840148926, -0.16422763466835022, 0.2435389906167984, 0.580588698387146, -0.16976596415042877, 0.8060408234596252, 0.5084990859031677, 0.02323603816330433, -0.21568992733955383, 0.3855474591255188, 1.016130805015564, -0.5659142732620239, -0.2286001294851303, -0.3651523292064667, 0.33868205547332764, 0.07873398065567017, -0.467155396938324, 0.44228848814964294, 0.5318885445594788, 0.4245663583278656, -0.04510948807001114, 0.4882909953594208, 0.21914105117321014, 0.7690175175666809, -0.6485574841499329, 0.7548823952674866, -0.9217377305030823, -0.06655597686767578, -0.27090469002723694, -0.4304582178592682, -0.6126316785812378, 0.3276144862174988, 0.08698518574237823, -0.04554882273077965, 1.024985909461975, 0.8464655876159668, 0.10796438902616501, -0.12172594666481018, 0.3955208957195282, 0.09141872823238373, 0.2895239591598511, 0.5975353717803955, 0.7365245223045349, -0.6063776016235352, 0.4449033737182617, 0.004022625740617514, -0.2790537476539612, 0.01854182407259941, -0.701446533203125, -0.7425227761268616, -0.6061379909515381, -0.2894158363342285, -0.3480619192123413, 0.012135417200624943, 0.8416498303413391, 0.49106502532958984, -0.5407983064651489, 0.5312079787254333, 0.4639132022857666, -0.028062958270311356, -0.43726295232772827, -0.11433075368404388, 0.6018192172050476, -0.1501169055700302, -0.46532896161079407, 0.36629533767700195, 0.5094214677810669, -0.2074163407087326, -0.2128046303987503, 0.19331198930740356, -0.37328627705574036, 0.08092150092124939, 0.5289852619171143, 0.439906507730484, -0.7617301940917969, -0.14999224245548248, -0.006964472122490406, -0.3925149142742157, 0.342497855424881, 0.640087366104126, -0.7914546132087708, 0.7567045092582703, 0.5016807913780212, 1.0053601264953613, 0.33805930614471436, 0.16532336175441742, 0.25551241636276245, -0.24754780530929565, -0.0178228747099638, 0.2497154027223587, 0.5536741614341736, 0.2907699644565582, -0.11610972881317139, 0.6228561997413635, 0.25715312361717224, -0.5115082859992981, -0.7555103898048401, 0.10057780146598816, -1.1061549186706543, -0.36144140362739563, 0.8859034180641174, -0.3396569490432739, -0.14057449996471405, -0.4148333966732025, -0.5127862095832825, 0.26272356510162354, -0.0981588363647461, 0.7502957582473755, 0.3971882462501526, -0.14375007152557373, -0.3482339382171631, -0.7620644569396973, 0.36384475231170654, 0.6379558444023132, -1.1986699104309082, -0.19482819736003876, 0.6962075233459473, 0.14221514761447906, 0.05560635030269623, 0.9216870069503784, -0.5832726955413818, 0.7041079998016357, -0.03175925090909004, -0.16895729303359985, -0.30043932795524597, -0.26582443714141846, -0.2824048697948456, 0.2828129231929779, 0.029692616313695908, -0.11195824295282364 ]
http://arxiv.org/abs/2402.11886v1
http://arxiv.org/pdf/2402.11886v1
The Colorful Future of LLMs: Evaluating and Improving LLMs as Emotional Supporters for Queer Youth
2024-02-19T06:54:55
2024-02-19T06:54:55
Shir Lissak, Nitay Calderon, Geva Shenkman, Yaakov Ophir, Eyal Fruchter, Anat Brunstein Klomek, Roi Reichart
cs.CL
cs.CL, cs.AI
Queer youth face increased mental health risks, such as depression, anxiety, and suicidal ideation. Hindered by negative stigma, they often avoid seeking help and rely on online resources, which may provide incompatible information. Although access to a supportive environment and reliable information is invaluable, many queer youth worldwide have no access to such support. However, this could soon change due to the rapid adoption of Large Language Models (LLMs) such as ChatGPT. This paper aims to comprehensively explore the potential of LLMs to revolutionize emotional support for queers. To this end, we conduct a qualitative and quantitative analysis of LLM's interactions with queer-related content. To evaluate response quality, we develop a novel ten-question scale that is inspired by psychological standards and expert input. We apply this scale to score several LLMs and human comments to posts where queer youth seek advice and share experiences. We find that LLM responses are supportive and inclusive, outscoring humans. However, they tend to be generic, not empathetic enough, and lack personalization, resulting in nonreliable and potentially harmful advice. We discuss these challenges, demonstrate that a dedicated prompt can improve the performance, and propose a blueprint of an LLM-supporter that actively (but sensitively) seeks user context to provide personalized, empathetic, and reliable responses. Our annotated dataset is available for further research.
[ -0.4624781906604767, -0.4966447353363037, 0.7147353291511536, 0.5416146516799927, -0.24346934258937836, 0.34019267559051514, -0.23670147359371185, -0.5230918526649475, 0.4736921787261963, 0.09761341661214828, -1.0893819332122803, -0.15378697216510773, -0.40192317962646484, 0.23254744708538055, -0.4015410244464874, 1.0907293558120728, 0.03558632731437683, 0.13256655633449554, -0.07644782960414886, 0.008877662941813469, -0.6499204635620117, -0.0595286563038826, -0.680047333240509, -0.006620446685701609, 0.9760648012161255, 0.39071592688560486, 0.5532310605049133, 0.07343744486570358, 0.20352289080619812, 0.35673731565475464, -0.3360852599143982, -0.13610321283340454, -1.0565847158432007, 0.60101717710495, -0.1521625816822052, -0.43220603466033936, -0.5553045272827148, -0.019381191581487656, 0.4644988477230072, 0.43380311131477356, -0.16084203124046326, -0.013670756481587887, 0.04253317788243294, 0.7547619938850403, -0.2582876682281494, -0.08855988085269928, -0.6816911101341248, 0.25107985734939575, -0.22796893119812012, 0.12978406250476837, 0.10053317993879318, -0.42099565267562866, -0.18544112145900726, -0.5642275810241699, -0.24483974277973175, 0.16772715747356415, 0.32930129766464233, -0.18590646982192993, -0.7129387259483337, -0.2122887372970581, -0.7704289555549622, 0.6093947291374207, -0.5280839204788208, 0.4760430157184601, 0.2489875704050064, 0.446734756231308, -0.37666240334510803, -0.5794954299926758, -0.5960334539413452, 0.12776575982570648, 0.2834119200706482, 0.5128278136253357, -0.14878378808498383, -0.03923267126083374, -0.08307544142007828, 0.2512768507003784, -0.5503852963447571, -0.14017394185066223, -0.349830687046051, 0.12202642112970352, 0.8360978364944458, 0.4469154179096222, 0.4197506010532379, 0.1189701035618782, -0.6357167363166809, 0.3014342486858368, -0.4012928009033203, 0.20953263342380524, 0.49262428283691406, 0.22933758795261383, -0.156223863363266, 0.5979031920433044, 0.07670202851295471, -0.12335889786481857, 0.07933177798986435, 0.11333521455526352, -0.01463086437433958, -0.18328776955604553, -0.09573668986558914, -0.16364414989948273, 0.6720452904701233, 0.5392954349517822, 0.4050687551498413, 0.0014557043323293328, -0.4982576072216034, -0.28328049182891846, 0.38567253947257996, -0.784960925579071, 0.051443759351968765, 0.46259185671806335, -0.5716339945793152, 0.3038981854915619, -0.08868767321109772, -0.8831049799919128, -1.0903211832046509, -0.27082359790802, 0.3305591642856598, -0.4997427463531494, -0.3402194380760193, 0.14981476962566376, -0.12771083414554596, -0.0541067011654377, 0.7321707010269165, -0.828316330909729, 0.08200861513614655, 0.7377843856811523, 0.760664701461792, -0.15045619010925293, 0.028550148010253906, 0.0016006750520318747, -0.14366860687732697, -0.18852847814559937, 0.6127923130989075, -0.5075161457061768, -0.2956429421901703, 0.07628537714481354, 0.06721223145723343, 0.04759112372994423, -0.25129085779190063, 0.5451576113700867, -0.42713019251823425, 0.09979423135519028, -0.5724193453788757, -0.597614586353302, 0.23145565390586853, 0.24961867928504944, -0.48016297817230225, 0.6744388937950134, 0.11460422724485397, -0.6749489307403564, 0.2588743269443512, -0.3966810703277588, 0.19994381070137024, 0.35218629240989685, 0.049478597939014435, 0.019168894737958908, 0.20122960209846497, 0.05627639964222908, 0.5666936039924622, -0.09167128056287766, 0.14856699109077454, -0.74464350938797, -0.5746989846229553, 0.49732062220573425, -0.2343052178621292, 0.5420140624046326, 0.07042569667100906, -0.25569507479667664, 0.34789976477622986, -0.396730899810791, -0.25725364685058594, 0.14591102302074432, -0.2766840159893036, -0.03135719522833824, -0.20636998116970062, 0.3616578280925751, 0.19873179495334625, 0.21488513052463531, -0.6959404945373535, -0.06718365848064423, -0.24835105240345, 0.2089492529630661, 1.0730587244033813, -0.06718563288450241, 0.13155797123908997, -0.311297744512558, 0.9043896198272705, -0.18667693436145782, 0.5136237740516663, -0.11947192996740341, -0.7644758224487305, -0.3971908688545227, -0.29557961225509644, -0.46755892038345337, 0.1585671305656433, -0.5666679739952087, 0.144460991024971, 0.1719600111246109, -0.5287479758262634, -0.3056755065917969, 0.3128044009208679, -0.0812910795211792, 0.21449431777000427, 0.2645760178565979, -0.0716695562005043, -0.6853563785552979, -0.7040247917175293, -0.36127880215644836, -0.6743683218955994, 0.10582899302244186, 0.3540585935115814, 0.3466356098651886, -0.4117323160171509, 0.6594419479370117, -0.06942234933376312, -0.1480703204870224, -0.2431505173444748, -0.3125436305999756, 0.3598428964614868, 0.13092711567878723, 0.22852124273777008, -0.936384916305542, -0.6980266571044922, -0.17436106503009796, -0.3976198136806488, -0.304109662771225, -0.09005081653594971, -0.31315919756889343, -0.3395756483078003, 0.28104421496391296, -0.4347226917743683, 0.034086354076862335, 0.5960525870323181, -0.966211199760437, 0.6254329681396484, 0.33572784066200256, 0.21013419330120087, -0.6762679219245911, -0.11520013958215714, 0.13876374065876007, -0.1692323386669159, -0.816037118434906, -0.3277149796485901, -0.21357765793800354, -0.03182061389088631, -0.6014328598976135, 0.8199240565299988, -0.17205972969532013, 0.19476798176765442, -0.26113161444664, 0.3082253932952881, -0.239350825548172, 0.20013312995433807, -0.3593948781490326, 0.6852064728736877, 0.4321160912513733, -0.04397884011268616, 0.7539716958999634, 0.22263306379318237, 0.015198471024632454, 0.8402690291404724, -0.6978512406349182, 0.03154382109642029, -0.3508843779563904, 0.40074408054351807, -1.4218541383743286, -0.13881604373455048, 0.44357413053512573, -0.4212420582771301, 0.19357843697071075, -0.008392520248889923, -0.3203441798686981, -0.53413987159729, -0.5816108584403992, 0.24629805982112885, 0.31282559037208557, -0.2616810202598572, 0.5209323763847351, 0.4863288998603821, -0.5531342625617981, -0.45135238766670227, -0.22252003848552704, 0.2728111743927002, -0.5342473983764648, -0.6230279207229614, 0.11128677427768707, -0.5111121535301208, -0.42165032029151917, -0.05852000042796135, -0.022465869784355164, -0.008781809359788895, 0.3601064085960388, 0.3325563073158264, 0.06992123275995255, -0.138121098279953, 0.6390039324760437, 0.0012094053672626615, 0.2505651116371155, 0.22594863176345825, 0.020392388105392456, 0.6095210909843445, -0.5892149806022644, -0.34018421173095703, -0.11183267086744308, 0.47027891874313354, 0.52071613073349, 0.1787044256925583, 0.740720272064209, 0.9928895831108093, -0.4227772355079651, -0.19362938404083252, -0.5702431201934814, -0.1437472552061081, -0.5259903073310852, 0.3237963020801544, 0.17047928273677826, -1.0602443218231201, 0.49015089869499207, 0.2849646508693695, 0.09343656897544861, -0.023684188723564148, 0.7392773032188416, -0.6254076957702637, 0.7349909543991089, 0.6967325210571289, 0.36893990635871887, 0.6234166622161865, 0.20625530183315277, 0.036915525794029236, -0.8024075627326965, -0.6000905632972717, -0.0006563531933352351, -0.8109349608421326, -0.4222260117530823, -0.31595906615257263, 0.23514717817306519, 0.09040722250938416, -0.5451716184616089, -0.05799540504813194, -0.15971574187278748, 0.1469990611076355, 0.15122860670089722, 0.23821841180324554, -0.07145380228757858, -0.309303343296051, 0.14761675894260406, -0.46070951223373413, -0.37968575954437256, -0.7606489658355713, 0.6509921550750732, 0.8138818740844727, 0.9250257611274719, 0.41525688767433167, 0.5144208669662476, 0.27005964517593384, 0.6784816384315491, -0.8009628653526306, 0.7286103963851929, 0.04396333917975426, -0.6867884993553162, -0.3461715877056122, -0.23883506655693054, -0.9280729293823242, 0.23484009504318237, -0.5739158987998962, -1.0714958906173706, 0.31853368878364563, -0.0023330848198384047, -0.22769427299499512, 0.3197775185108185, -0.3821333646774292, 0.46293899416923523, -0.2490827590227127, -0.7121964693069458, 0.12442859262228012, -0.5507391691207886, 0.43602362275123596, -0.3313322067260742, 0.20421700179576874, -0.5985528826713562, -0.40777894854545593, 0.7253400087356567, -0.2519865930080414, 1.1964621543884277, -0.12175609171390533, -0.5266637206077576, 0.08509450405836105, 0.05545767769217491, 0.1813502311706543, 0.28813108801841736, -0.36352136731147766, -0.39773479104042053, -0.021834682673215866, -0.2849290668964386, -0.6064176559448242, 0.7870895266532898, -0.7344573140144348, -0.708065390586853, 0.08281348645687103, -0.5976693630218506, -0.5583308339118958, -0.003902261145412922, -0.29432737827301025, -0.18604594469070435, -0.1686982810497284, 0.22374694049358368, 0.6478548049926758, -0.3301968276500702, 0.5986571907997131, 0.12979359924793243, -0.49901649355888367, -0.5838950872421265, 0.34712377190589905, -0.3088500201702118, 0.02237349934875965, -0.06131995469331741, 0.40606600046157837, -0.6164298057556152, -0.08342038840055466, -0.21187427639961243, 0.550569474697113, -0.7705509066581726, -0.19392088055610657, -0.7482091188430786, 0.23506508767604828, -0.4531172811985016, -0.24762558937072754, -0.3232341408729553, -0.2527009844779968, -0.3994958698749542, -0.15251067280769348, 0.5384420156478882, 0.8340867161750793, 0.06632202118635178, 0.30544567108154297, -0.9024828672409058, -0.09327452629804611, 0.4926470220088959, 0.43484732508659363, 0.23037517070770264, -0.2951836884021759, -0.34691861271858215, -0.10047090798616409, -0.4185899496078491, -1.3845528364181519, 0.35044407844543457, 0.25457656383514404, 0.49627652764320374, 0.5878488421440125, 0.16786199808120728, 0.5218812823295593, -0.20114098489284515, 0.9216328859329224, 0.37815427780151367, -0.9308463931083679, 0.4428851306438446, -0.541496753692627, -0.15204215049743652, 0.4244017004966736, 0.4970250725746155, -0.9169987440109253, -0.5404821038246155, -0.37732744216918945, -0.9165446758270264, 0.4324324131011963, 0.22091305255889893, 0.6613547205924988, -0.052300188690423965, 0.5278299450874329, 0.0217126477509737, 0.4283427298069, -0.9930033683776855, -0.44653579592704773, -0.25945204496383667, -0.3070465624332428, 0.12968294322490692, -0.40983954071998596, -0.08654043078422546, 0.119710274040699, 0.4940340518951416, -0.2788221538066864, 0.31441983580589294, 0.06670104712247849, 0.6621077656745911, -0.4728740155696869, 0.41835442185401917, 0.33866092562675476, 0.27624794840812683, -0.06361491978168488, 0.12862618267536163, 0.1916310042142868, -0.4685194492340088, 0.3460974097251892, -0.37248843908309937, 0.23674488067626953, -0.1879144012928009, 0.28933006525039673, 0.7090550661087036, 0.02630172111093998, -0.7697411179542542, 0.6359986662864685, -0.24685153365135193, 0.21117672324180603, -0.31125959753990173, 0.2871319353580475, 0.5335204005241394, 0.8665828108787537, 0.4005648195743561, -0.4189963638782501, 0.15518243610858917, -0.8126373291015625, 0.15460869669914246, 0.4663258492946625, -0.8793053030967712, -0.6409318447113037, 0.6880310773849487, 0.23203575611114502, -0.3520388901233673, 0.21655628085136414, 0.1526440978050232, -0.6212261319160461, 0.6305491924285889, 0.7104731798171997, 0.8326146006584167, -0.03933129087090492, 0.41023969650268555, 0.21566851437091827, -0.0002934046206064522, 0.1640385538339615, 0.6088581681251526, 0.2818918526172638, -0.7159392237663269, 0.01282218936830759, -0.5250299572944641, -0.44687050580978394, -0.025244614109396935, -0.4632604122161865, 0.28436484932899475, -0.6683092713356018, -0.47482389211654663, -0.6349115371704102, 0.132917121052742, -0.579671323299408, 0.3462895452976227, 0.5399350523948669, 0.7886877059936523, -0.81308513879776, 0.3766293525695801, 1.2368991374969482, -0.1881587952375412, -0.5129824876785278, 0.14713521301746368, 0.46221426129341125, -0.7589221596717834, 0.7544598579406738, 0.13851943612098694, 0.053019046783447266, -0.321607381105423, -0.37823304533958435, -0.6030623316764832, 1.1133050918579102, 0.4300970435142517, -0.569219172000885, 0.12441571801900864, 0.07367081195116043, 0.8274757266044617, -0.38231438398361206, 0.662631094455719, 0.03368167206645012, 0.5276961922645569, 0.17707112431526184, -0.5827136635780334, 0.05638791248202324, -0.35839489102363586, 0.0854196697473526, -0.12443843483924866, -0.9256173372268677, 0.9339832663536072, -0.23343628644943237, -0.49304792284965515, 0.10135642439126968, 0.8659583926200867, 0.5536280274391174, 0.32888418436050415, 0.5930231809616089, -0.11432986706495285, 0.8990936279296875, 0.08162694424390793, 0.763372004032135, -0.12035977840423584, 0.27008646726608276, 0.6151400208473206, -0.1418704241514206, 0.8437117338180542, 0.6991037130355835, -0.11823832988739014, 0.33086884021759033, 0.7652394771575928, -0.004658830352127552, 0.08345205336809158, 0.364827960729599, -0.5972723364830017, -0.24633418023586273, -0.46414124965667725, -0.14167454838752747, -0.04417238384485245, 0.42008447647094727, -0.10046479105949402, 0.02511579543352127, -0.01707802340388298, -0.08567366003990173, 0.28100326657295227, -0.3795124590396881, 0.4086914360523224, 0.474327027797699, 0.0339936800301075, 0.15415024757385254, -0.37138116359710693, 0.8895835876464844, -0.37482789158821106, 0.060662295669317245, -0.6250321865081787, -0.0053473105654120445, -0.29491010308265686, -1.1516729593276978, 0.08587730675935745, -0.022729646414518356, -0.02622561901807785, -0.3444795310497284, 0.8724879026412964, -0.5137451887130737, -0.39927300810813904, 0.6232003569602966, 0.7556986808776855, -0.04565554857254028, 0.10368898510932922, -0.8659878969192505, 0.23856021463871002, -0.163784459233284, -0.32326316833496094, 0.3508087396621704, 0.8217812776565552, 0.2227391004562378, 1.1050796508789062, 0.5349347591400146, 0.4809024930000305, -0.05316162109375, -0.09316176176071167, 0.9588016867637634, -0.7386850118637085, -0.2718906104564667, -0.8293740749359131, 0.7681645154953003, 0.13843074440956116, -0.4863142967224121, 0.8610349893569946, -0.05606643483042717, 0.44728362560272217, 0.16078433394432068, 0.2387939840555191, 0.23440678417682648, 0.26174336671829224, -0.28694120049476624, 0.8768193125724792, -0.8882217407226562, 0.5647494196891785, -0.3821924030780792, -1.027194857597351, -0.23564507067203522, 0.30646318197250366, 0.051307227462530136, 0.22805292904376984, 0.2665838897228241, 0.7131756544113159, 0.29585000872612, 0.16843359172344208, 0.5163758397102356, 0.3309115767478943, 0.6844294667243958, 0.5179036259651184, 1.5092228651046753, -0.09569518268108368, 0.35353270173072815, -0.08790478110313416, 0.004777770023792982, -0.07917021214962006, -0.7553112506866455, -0.9415582418441772, -0.4952360689640045, -0.2361019104719162, -0.2504647970199585, 0.1757556051015854, 1.2643495798110962, 0.39899423718452454, -0.4626099169254303, -0.19859927892684937, 0.19463776051998138, 0.12824559211730957, 0.3103928565979004, -0.22634455561637878, -0.12949170172214508, -0.3142852187156677, -0.7217875123023987, 0.29233476519584656, 0.3214760422706604, 0.17882047593593597, -0.42195791006088257, -0.13679315149784088, 0.17720232903957367, 0.26779741048812866, 0.6165802478790283, -0.027446841821074486, -0.6002113223075867, -0.09953762590885162, 0.2487364113330841, -0.21779567003250122, -0.09806381911039352, 0.5718396306037903, -0.4613661766052246, 0.26234006881713867, 0.36464807391166687, 0.5683517456054688, -0.010772350244224072, -0.024928098544478416, 0.6481180787086487, -0.31249570846557617, -0.4675595164299011, 0.4748367369174957, 0.5815755128860474, 0.39743679761886597, -0.579161524772644, 0.37536901235580444, 0.316322386264801, -0.5178096890449524, -0.6555517911911011, 0.02796182967722416, -0.6888172030448914, -0.023594971746206284, 1.4048835039138794, -0.40224358439445496, -0.14430198073387146, -0.17358851432800293, -0.4794347286224365, -0.01909499801695347, -0.8132674098014832, 0.7112828493118286, 0.43893152475357056, -0.2752940058708191, -0.579498291015625, -0.36710190773010254, 0.2872530221939087, 0.3046127259731293, -0.7221441864967346, 0.20270466804504395, 0.4076363146305084, 0.12652555108070374, -0.294807106256485, 0.5528226494789124, -0.0010059919441118836, 0.008193974383175373, -0.35849863290786743, 0.06014374643564224, 0.10325237363576889, -0.10069271177053452, -0.3755181133747101, -0.006714439485222101, 0.06355344504117966, 0.44256219267845154 ]
http://arxiv.org/abs/2402.11875v1
http://arxiv.org/pdf/2402.11875v1
M2K-VDG: Model-Adaptive Multimodal Knowledge Anchor Enhanced Video-grounded Dialogue Generation
2024-02-19T06:32:39
2024-02-19T06:32:39
Hongcheng Liu, Pingjie Wang, Yu Wang, Yanfeng Wang
cs.CL
cs.CL
Video-grounded dialogue generation (VDG) requires the system to generate a fluent and accurate answer based on multimodal knowledge. However, the difficulty in multimodal knowledge utilization brings serious hallucinations to VDG models in practice. Although previous works mitigate the hallucination in a variety of ways, they hardly take notice of the importance of the multimodal knowledge anchor answer tokens. In this paper, we reveal via perplexity that different VDG models experience varying hallucinations and exhibit diverse anchor tokens. Based on this observation, we propose M2K-VDG, a model-adaptive multimodal knowledge anchor enhancement framework for hallucination reduction. Furthermore, we introduce the counterfactual effect for more accurate anchor token detection. The experimental results on three popular benchmarks exhibit the superiority of our approach over state-of-the-art methods, demonstrating its effectiveness in reducing hallucinations.
[ -0.6463331580162048, -1.022351861000061, 0.7526574730873108, 0.10671471059322357, -0.4430060088634491, -0.15037958323955536, 0.08666452020406723, -0.13491611182689667, 0.270210862159729, 0.2795146703720093, -0.806796133518219, -0.5931118726730347, -0.6913166046142578, 0.024599861353635788, -0.013276767916977406, 0.729041576385498, 0.268589586019516, 0.3504863679409027, -0.38663753867149353, -0.35767146944999695, -0.8425495028495789, -0.45929962396621704, -0.3773413300514221, -0.11017527431249619, 0.2905172109603882, 0.3323308527469635, 0.858968198299408, 0.3772134482860565, 0.23262041807174683, 0.274792343378067, 0.12788265943527222, 0.4950447380542755, -0.47907567024230957, 0.06689827144145966, -0.13547945022583008, -0.37188720703125, -0.7060580849647522, -0.14688724279403687, 0.2574846148490906, 0.3898208737373352, -0.13265912234783173, -0.025965629145503044, -0.17559343576431274, 0.5696043372154236, -0.7920043468475342, 0.05661162734031677, -0.751565158367157, 0.1405339539051056, 0.6040984988212585, -0.40529268980026245, -0.43475398421287537, -0.04139147698879242, 0.12098927050828934, -0.8057934045791626, 0.2405758649110794, -0.018459787592291832, 0.5916985273361206, 0.7346392273902893, -0.5514963865280151, -0.26729246973991394, -0.4919576644897461, 0.5657745003700256, -0.6659910678863525, 0.6674850583076477, 0.45630908012390137, 0.31172624230384827, -0.10587707161903381, -0.5113799571990967, -0.7501459717750549, -0.184060737490654, 0.02475721389055252, 0.24783611297607422, -0.04860348999500275, 0.37392881512641907, 0.43420645594596863, 0.018221290782094002, -0.5479760766029358, -0.207508385181427, -0.2420874685049057, -0.37636932730674744, 0.17719672620296478, 0.3089457154273987, 0.19021454453468323, -0.5890784859657288, -0.5636138319969177, -0.05539874732494354, -0.6019349098205566, -0.011053928174078465, 0.3199367821216583, -0.1690729260444641, 0.07105163484811783, 0.5425416231155396, -0.245644211769104, 0.5121365189552307, 0.3002353310585022, -0.37723278999328613, 0.20529301464557648, -0.24460476636886597, -0.23643110692501068, 0.24782489240169525, 0.2936664819717407, 1.103122353553772, 0.1793890744447708, 0.08066152781248093, 0.2083563208580017, 0.19999529421329498, 0.6503896117210388, -0.9092892408370972, -0.3495098352432251, 0.27832767367362976, -0.688873291015625, -0.3256334364414215, -0.0013584152329713106, -0.9371997714042664, -0.48948121070861816, -0.3857581913471222, 0.5486440062522888, -0.4720093011856079, -0.51796555519104, 0.00719727948307991, -0.29898446798324585, 0.28619998693466187, 0.5558446645736694, -0.5183524489402771, -0.04044598713517189, 0.45521408319473267, 0.8135231137275696, -0.14607654511928558, -0.14224225282669067, -0.6790950894355774, 0.3760310411453247, -0.35509437322616577, 0.5868302583694458, -0.6524839997291565, -0.3849811553955078, -0.02775118313729763, 0.25187867879867554, -0.03361110761761665, -0.4357828199863434, 0.36411556601524353, -0.23091036081314087, 0.11281432956457138, -0.5827999711036682, -0.36428704857826233, -0.6301119923591614, 0.462917685508728, -0.5213164687156677, 0.7985959053039551, -0.12065467983484268, -0.6151069402694702, 0.6425400972366333, -0.37139931321144104, -0.13649004697799683, -0.26653972268104553, -0.3118996322154999, -0.3147909641265869, 0.4744492769241333, 0.5988760590553284, 0.3189581334590912, -0.05167219787836075, 0.4007512927055359, -0.46052563190460205, -0.37282583117485046, 0.13895367085933685, -0.6052477955818176, 0.26848867535591125, 0.22547295689582825, -0.47304844856262207, 0.42514416575431824, -1.167554259300232, -0.20063188672065735, -0.15226952731609344, 0.03929038718342781, -0.37434470653533936, 0.02575194463133812, -0.26071688532829285, 0.40668225288391113, -0.2543019950389862, -0.07199341058731079, 0.13113008439540863, -0.04541589692234993, 0.16004806756973267, 0.9564553499221802, 0.135511577129364, 0.28893768787384033, -0.4048500657081604, 0.5430868864059448, 0.537840723991394, 0.10689335316419601, -0.37867286801338196, -0.7428357005119324, -0.8927279114723206, -0.46115952730178833, -0.29757657647132874, 0.38992559909820557, -1.175449252128601, 0.20204219222068787, -0.10794549435377121, -0.17688776552677155, -0.6507479548454285, 0.004800346214324236, 0.3278137445449829, 0.6757712364196777, 0.597159206867218, -0.19163765013217926, -0.6300731301307678, -0.7017641663551331, 0.02091456949710846, -0.31559130549430847, -0.04132367670536041, 0.6705120205879211, 0.40227818489074707, -0.3827076554298401, 0.6878929734230042, -0.48162078857421875, -0.34847065806388855, 0.22789156436920166, 0.36059272289276123, -0.15538142621517181, 0.40313631296157837, 0.5097654461860657, -0.9432837963104248, -0.268915057182312, -0.1533021777868271, -0.9954829216003418, 0.008333967998623848, -0.3825850784778595, 0.07454921305179596, 0.23708923161029816, 0.7371498346328735, -0.9501595497131348, 0.6230077147483826, 0.5322288870811462, -0.36282408237457275, 0.6824975609779358, -0.25162628293037415, 0.5195769667625427, -1.140320897102356, -0.22187140583992004, -0.47630658745765686, -0.10202454775571823, -0.5480666160583496, -0.11572974175214767, -0.11254637688398361, -0.13429123163223267, -0.2851274013519287, 0.39999985694885254, -0.1830039620399475, -0.017809094861149788, -0.36509233713150024, 0.2801295816898346, -0.04378492757678032, 0.73228919506073, 0.24208791553974152, 0.6020914912223816, 0.5605259537696838, -0.6675599217414856, 0.44470444321632385, 0.34443071484565735, -0.045687127858400345, 0.9324119091033936, -0.3908689618110657, 0.29741936922073364, -0.3423101305961609, 0.0014102900167927146, -1.5133813619613647, -0.2963104844093323, 0.31301942467689514, -0.6032257676124573, 0.16515667736530304, -0.3612426221370697, -0.06399576365947723, -0.0741519033908844, -0.42900747060775757, 0.4795520305633545, 0.43589550256729126, -0.7577618956565857, 0.8815855979919434, -0.01116173155605793, -0.03204839304089546, -0.6063489317893982, -0.22113317251205444, 0.18914051353931427, -0.4366193115711212, -0.7690913081169128, 0.2128484547138214, -0.25749897956848145, -0.10978846251964569, 0.012634098529815674, -0.43261104822158813, 0.17612884938716888, -0.05638078227639198, 0.5213866233825684, 0.01747897081077099, -0.4568576514720917, 0.39068901538848877, 0.1794433444738388, -0.2777509391307831, 0.15671959519386292, -0.33181801438331604, 0.40369492769241333, 0.06987643241882324, -0.5697405338287354, -0.2644044756889343, 0.3772388994693756, 0.8446139693260193, 0.13267450034618378, 0.8594008684158325, 1.1105153560638428, -0.422189861536026, 0.009352803230285645, -0.8229489922523499, -0.5608551502227783, -0.4803258180618286, 0.5252697467803955, -0.6950191259384155, -0.7540648579597473, 0.5787316560745239, -0.26806962490081787, -0.3217548131942749, 0.14748014509677887, 0.7247451543807983, -0.07276857644319534, 1.2485086917877197, 0.3751268982887268, 0.2357708066701889, 0.20849663019180298, 0.1858282834291458, 0.3838556408882141, -0.6556715369224548, -0.24162617325782776, -0.10272540897130966, -0.03656356781721115, -0.36134159564971924, -0.5077012181282043, 0.38351699709892273, 0.41982656717300415, 0.1789558231830597, -0.009655612520873547, -0.3917609453201294, 0.11470697820186615, 0.3273056745529175, 0.22374868392944336, 0.3659224808216095, -0.06120119243860245, -0.34591877460479736, -0.4709152281284332, -0.7428125739097595, -0.35086989402770996, 1.1298376321792603, 0.2595219016075134, 0.6965800523757935, 0.19429586827754974, 0.08703828603029251, 0.47218620777130127, 0.013459138572216034, -0.6188032627105713, 0.532335102558136, 0.28831782937049866, -0.5192586779594421, -0.30476081371307373, -0.14762113988399506, -0.2960537075996399, 0.4838820695877075, -0.4437767565250397, -0.5766876935958862, 0.1273791342973709, 0.3408164381980896, -0.3960733115673065, 0.18457241356372833, -0.7675305604934692, 0.7584530115127563, 0.015709340572357178, -0.44690096378326416, -0.5066298842430115, -0.5220397710800171, 0.4086586534976959, 0.08184553682804108, 0.22511939704418182, 0.126311793923378, 0.271865576505661, 0.49487149715423584, -0.3621874153614044, 0.8193759322166443, -0.5559413433074951, -0.07752300053834915, 0.395212322473526, 0.1686418652534485, 0.7975767850875854, 0.3989868462085724, 0.45183083415031433, -0.056175217032432556, -0.24012218415737152, -0.22138004004955292, -0.7945199012756348, 0.579378604888916, -0.6205500364303589, -0.8904805779457092, -0.038088228553533554, -0.7383503317832947, -0.24686948955059052, -0.08473938703536987, 0.11227018386125565, 0.34576618671417236, -0.09051775932312012, 0.5595507621765137, 0.925164520740509, -0.5842105150222778, 0.2571604549884796, 0.2595101594924927, -0.31712061166763306, -0.7340747714042664, 0.8775239586830139, -0.013924943283200264, 0.27227258682250977, 0.018745072185993195, 0.14698456227779388, -0.3300289213657379, -0.5246987342834473, -0.3935989439487457, 0.027222001925110817, -1.015501856803894, -0.14679744839668274, -1.0916556119918823, -0.06299083679914474, -0.6522482633590698, -0.2401941567659378, -0.3325433135032654, -0.36913949251174927, -0.2655923068523407, -0.6676873564720154, 0.48961660265922546, 0.27038338780403137, -0.21387264132499695, 0.3768954575061798, -0.6473711729049683, 0.9706812500953674, 0.7680573463439941, 0.20142848789691925, -0.07511845976114273, -0.4701518714427948, -0.005292627960443497, 0.0692325159907341, -0.13309939205646515, -0.9156067371368408, 0.1482495218515396, 0.004069565795361996, 0.5660051703453064, 0.8896941542625427, 0.12708976864814758, 1.1134425401687622, -0.4808292090892792, 0.8509902954101562, 0.39015406370162964, -0.7893620729446411, 0.27928096055984497, -0.3822232484817505, 0.11879013478755951, 0.28335386514663696, 0.42693570256233215, -0.3230842649936676, -0.09474951773881912, -0.40021228790283203, -0.6222084164619446, 0.5174093842506409, 0.20304222404956818, 0.03566822037100792, -0.039512667804956436, 0.15260879695415497, 0.23533889651298523, 0.47217410802841187, -0.9280958771705627, -0.003401579335331917, -0.8275988101959229, -0.13952510058879852, 0.150889053940773, -0.7141585350036621, -0.3269493877887726, -0.3190925121307373, 0.5848010182380676, -0.48082366585731506, 0.3436506986618042, 0.3688848614692688, -0.5147222280502319, -0.16616478562355042, 0.0002616566780488938, 1.1007308959960938, 0.6447755098342896, -0.47321823239326477, 0.24345465004444122, 0.34977439045906067, -0.4583497941493988, 0.11260039359331131, -0.3618737757205963, 0.01153088454157114, 0.16820964217185974, 0.34947001934051514, 1.0389715433120728, 0.14641700685024261, -0.4770973324775696, 0.5284063220024109, 0.024019327014684677, -0.402842253446579, -0.22570829093456268, 0.11037244647741318, 0.06498485058546066, 0.4273839592933655, 0.33598536252975464, 0.13118956983089447, 0.09472259134054184, -0.28637728095054626, 0.4472667872905731, 0.3940604627132416, -0.827466607093811, -0.2879822254180908, 0.8086573481559753, 0.21561042964458466, -0.3883754014968872, 0.5024024844169617, -0.1425984650850296, -0.536044180393219, 0.3534460663795471, 0.45714762806892395, 1.0754441022872925, -0.36589935421943665, 0.25542548298835754, 0.4643177390098572, 0.4811351001262665, 0.2011338621377945, 0.2565375566482544, -0.34240391850471497, -0.6798595786094666, -0.27628466486930847, -0.3382458984851837, -0.15172293782234192, 0.35891982913017273, -0.5268647074699402, 0.29189419746398926, -0.43425214290618896, -0.2177218198776245, -0.4391704797744751, -0.5859366655349731, -0.48229435086250305, 0.19790183007717133, 0.017929738387465477, 0.39157959818840027, -0.8680460453033447, 0.7836243510246277, 0.47428226470947266, -0.2837861180305481, -0.2093164473772049, 0.01172653492540121, 0.23606626689434052, -0.6364787220954895, 0.6297258734703064, 0.31840407848358154, -0.2740778625011444, -0.0920042172074318, -0.4464070796966553, -0.5190823674201965, 1.077238917350769, 0.03628803789615631, -0.21278074383735657, -0.1277925819158554, 0.30958428978919983, 0.3879358768463135, -0.5510914921760559, 0.28620460629463196, 0.30337175726890564, 0.6607888340950012, 0.24829083681106567, -0.7260387539863586, 0.1863000988960266, -0.14281725883483887, -0.06723541021347046, -0.3050869405269623, -0.4872375428676605, 0.7047367691993713, -0.27441099286079407, 0.05889279395341873, -0.13118650019168854, 0.5584965944290161, 0.4431418776512146, 0.48780500888824463, 0.7106079459190369, 0.6117911338806152, 0.41261062026023865, -0.01994871348142624, 0.4345315396785736, -0.21775878965854645, 0.020735371857881546, 1.1234177350997925, -0.156499981880188, 0.22740261256694794, 0.9814911484718323, 0.09309438616037369, 0.33904534578323364, 0.21631887555122375, 0.020341599360108376, 0.672119677066803, -0.11912903934717178, -0.08065161854028702, -0.5518161058425903, -0.11810403317213058, -0.4302110970020294, 0.49165987968444824, 0.44416168332099915, -0.14796237647533417, -0.06243970990180969, 0.3407098352909088, -0.19236743450164795, -0.0062484778463840485, -0.20879724621772766, 0.971347451210022, 0.07509936392307281, -0.7145083546638489, 0.5697623491287231, -0.19009169936180115, 0.35255107283592224, -0.44139933586120605, -0.5773804187774658, -0.22602607309818268, 0.19851671159267426, -0.17657288908958435, -0.1261885017156601, 0.1643027514219284, -0.22006748616695404, -0.18980728089809418, 0.051767390221357346, 0.8573483824729919, -0.36731451749801636, -0.22660444676876068, 0.5110915303230286, 0.4794580340385437, -0.06662578135728836, -0.35334810614585876, -0.45513224601745605, -0.1482287496328354, 0.051046185195446014, -0.22718779742717743, 0.13040459156036377, 0.7177859544754028, -0.070508673787117, 0.7008795142173767, 0.8188033103942871, -0.31539350748062134, 0.4262981712818146, 0.08303245157003403, 0.8542801737785339, -0.7095609307289124, -0.6218127608299255, -0.7456303238868713, 0.8037543296813965, -0.18538567423820496, -0.09776150435209274, 0.8660827875137329, 0.17996063828468323, 0.6973385214805603, -0.3798234164714813, 0.608148455619812, 0.09377792477607727, 0.11058992147445679, -0.8525764346122742, 0.6449088454246521, -0.6757628321647644, 0.12737424671649933, -0.7297682762145996, -1.0715909004211426, -0.04892771318554878, 0.7293755412101746, 0.08238831907510757, -0.054377857595682144, 0.7720451354980469, 1.165883183479309, -0.08004303276538849, -0.045383889228105545, 0.8326976895332336, 0.30380305647850037, 0.42519813776016235, 0.37235990166664124, 1.0346118211746216, -0.524357259273529, 0.6218686103820801, -0.057657863944768906, -0.08873104304075241, -0.5850605964660645, -0.9893419742584229, -1.3714126348495483, -0.6942795515060425, -0.331546425819397, -0.42962777614593506, 0.09529485553503036, 0.8584549427032471, 0.7262114882469177, -0.8661326169967651, 0.19948527216911316, -0.02936038002371788, 0.27184656262397766, -0.31258711218833923, -0.23023487627506256, 0.4009157717227936, -0.1890837699174881, -0.30520132184028625, 0.43324241042137146, 0.5820545554161072, 0.03467123582959175, -0.22280386090278625, -0.44074395298957825, -0.296371728181839, 0.14786526560783386, 0.6858980655670166, -0.18762528896331787, -0.9413148164749146, -0.7007128596305847, 0.17704573273658752, 0.21528314054012299, 0.2861856520175934, 0.9437829256057739, -0.802514910697937, 0.9015353918075562, 0.42956945300102234, 0.6241471171379089, 0.47150176763534546, 0.17974478006362915, 0.4963515102863312, -0.6378815770149231, 0.5428003668785095, -0.1390119343996048, 0.22277729213237762, 0.05249493941664696, -0.39251768589019775, 0.3383277952671051, 0.6449482440948486, -0.16469305753707886, -0.8846877813339233, 0.2860981822013855, -0.917068362236023, -0.43011850118637085, 1.1478062868118286, -0.04012726992368698, 0.1632416844367981, -0.39382404088974, -0.6661505103111267, 0.2536584138870239, -0.19176878035068512, 1.1245489120483398, 1.0040167570114136, 0.13640549778938293, -0.4845924377441406, -0.45744895935058594, 0.7899929285049438, 0.5681718587875366, -0.6635246276855469, -0.05395016074180603, 0.6261644959449768, 0.026379959657788277, 0.29999038577079773, 0.48985350131988525, 0.06501999497413635, 0.6483591794967651, 0.353415846824646, 0.05832502990961075, -0.39045026898384094, -0.7863507866859436, -0.2872420847415924, 0.3568362593650818, -0.10030490159988403, -0.08840399235486984 ]
http://arxiv.org/abs/2402.11863v3
http://arxiv.org/pdf/2402.11863v3
How Interpretable are Reasoning Explanations from Prompting Large Language Models?
2024-02-19T06:11:28
2024-04-01T08:33:11
Wei Jie Yeo, Ranjan Satapathy, Rick Siow Mong Goh, Erik Cambria
cs.CL
cs.CL
Prompt Engineering has garnered significant attention for enhancing the performance of large language models across a multitude of tasks. Techniques such as the Chain-of-Thought not only bolster task performance but also delineate a clear trajectory of reasoning steps, offering a tangible form of explanation for the audience. Prior works on interpretability assess the reasoning chains yielded by Chain-of-Thought solely along a singular axis, namely faithfulness. We present a comprehensive and multifaceted evaluation of interpretability, examining not only faithfulness but also robustness and utility across multiple commonsense reasoning benchmarks. Likewise, our investigation is not confined to a single prompting technique; it expansively covers a multitude of prevalent prompting techniques employed in large language models, thereby ensuring a wide-ranging and exhaustive evaluation. In addition, we introduce a simple interpretability alignment technique, termed Self-Entailment-Alignment Chain-of-thought, that yields more than 70\% improvements across multiple dimensions of interpretability. Code is available at https://github.com/SenticNet/CoT_interpretability
[ -0.17411403357982635, -0.8311029076576233, 1.0443847179412842, 0.46803686022758484, -0.15312045812606812, -0.12647107243537903, -0.2524024546146393, -0.3964078426361084, -0.04788509011268616, 0.3688637316226959, -0.8120262622833252, -0.16423748433589935, -0.3365100622177124, 0.28579625487327576, -0.27480706572532654, 0.9669192433357239, -0.22788988053798676, -0.19555358588695526, -0.3160121440887451, -0.22554832696914673, -0.9355069994926453, -0.15298008918762207, -0.3693442940711975, -0.25346481800079346, 0.5820825695991516, 0.39632314443588257, 1.0355569124221802, 0.7734088897705078, 0.23867420852184296, 0.28003114461898804, -0.16423694789409637, 0.11142174899578094, -0.41342729330062866, 0.47173649072647095, -0.6043621301651001, -0.20638784766197205, -0.514042317867279, 0.09764374047517776, 0.6658196449279785, 0.7382598519325256, 0.059832897037267685, 0.1254875361919403, 0.4827251136302948, 0.5815470814704895, -0.6339719891548157, 0.09927640855312347, -0.7462829351425171, -0.44519734382629395, -0.004436244256794453, -0.20764148235321045, -0.7249674797058105, -0.324360191822052, 0.20381195843219757, -0.8349396586418152, -0.18773193657398224, 0.30016979575157166, 0.5218947529792786, 0.3318139910697937, -0.24871011078357697, -0.49280086159706116, -0.42598792910575867, 0.8964685797691345, -0.5167377591133118, 0.5513221025466919, 0.3082500994205475, 0.3928180932998657, -0.31520113348960876, -0.744047999382019, -0.533613920211792, -0.22213532030582428, -0.07513140887022018, 0.25376078486442566, -0.16531115770339966, 0.16582363843917847, 0.5775310397148132, 0.43018507957458496, -0.7079861164093018, 0.07652436941862106, -0.04009413719177246, -0.21176302433013916, 0.39309751987457275, 0.06577623635530472, 0.4515928030014038, -0.055263832211494446, -0.4794238209724426, 0.20583929121494293, -0.6522942781448364, -0.04286910220980644, 0.3788115680217743, 0.4131568670272827, -0.09783235192298889, 0.36865419149398804, -0.2575286328792572, 0.8059932589530945, 0.11683206260204315, 0.47576048970222473, -0.16520889103412628, -0.555685818195343, -0.2667468786239624, -0.07007833570241928, 0.6485592722892761, 0.1615595668554306, 0.42982783913612366, -0.1031838208436966, -0.19237379729747772, -0.2532039284706116, 0.6034253239631653, -0.5007003545761108, -0.317693293094635, 0.5274432897567749, -0.6462563276290894, -0.14776767790317535, -0.07131020724773407, -0.7725557088851929, -0.4450012743473053, -0.5266494154930115, 0.40738603472709656, -0.34017375111579895, -0.370866060256958, 0.31218650937080383, -0.1859171837568283, 0.29163095355033875, 0.43661800026893616, -0.8913683295249939, 0.09640932083129883, 0.8959004282951355, 0.8788956999778748, -0.14885224401950836, -0.586372971534729, -0.705773651599884, -0.07735128700733185, -0.17629379034042358, 0.7511361837387085, -0.6211237907409668, -0.09610096365213394, -0.19510473310947418, 0.08454971760511398, -0.2426426261663437, -0.2656089663505554, 0.7836155295372009, -0.5789129137992859, -0.10512224584817886, -0.5727500319480896, -0.5565635561943054, -0.17705674469470978, 0.3556065261363983, -0.770564079284668, 0.6783796548843384, -0.08280398696660995, -0.7182595133781433, 0.26611730456352234, -0.5620125532150269, -0.24265576899051666, -0.061715736985206604, 0.04263848438858986, 0.16109909117221832, 0.18316888809204102, 0.4013330340385437, 0.2711315453052521, -0.20471687614917755, 0.3610275983810425, -0.5867786407470703, -0.21322587132453918, 0.6344889402389526, -0.942215621471405, 0.8376699686050415, 0.47036442160606384, -0.24377064406871796, 0.14302754402160645, -0.6841575503349304, 0.11091101169586182, -0.25322601199150085, 0.1688985675573349, -0.22507601976394653, -0.03628580644726753, -0.20303742587566376, 0.2543208599090576, 0.2958987057209015, -0.2798701822757721, 0.32406851649284363, -0.530135989189148, 0.4213200807571411, 0.956388533115387, 0.013437717221677303, 0.47671324014663696, -0.09731269627809525, 0.610079288482666, -0.11048414558172226, 0.43130120635032654, -0.3265801966190338, -0.504733145236969, -0.2923532724380493, -0.21813829243183136, 0.05019819363951683, 0.2560071647167206, -0.7950775027275085, 0.09854726493358612, -0.07595174759626389, -0.3343295454978943, -0.31519412994384766, 0.13087496161460876, 0.4583480656147003, 0.5182198286056519, 0.3739069104194641, 0.1257104128599167, -0.3721455931663513, -0.8211456537246704, -0.8519036769866943, -0.3130394518375397, 0.15283703804016113, -0.12794950604438782, 0.46193599700927734, -0.08422230929136276, 0.7912001609802246, -0.4833025336265564, 0.6738290190696716, -0.10625117272138596, 0.24547864496707916, 0.5670560002326965, 0.657651424407959, 0.15954793989658356, -0.5401146411895752, -0.30133578181266785, 0.08262346684932709, -0.7734056711196899, -0.2221423238515854, -0.6360568404197693, -0.6226295828819275, -0.1883973330259323, 0.41304925084114075, -0.6472903490066528, 0.3775228261947632, 0.5273030996322632, -0.4423191249370575, 0.9634807109832764, -0.2556675374507904, 0.1318780481815338, -0.7556867599487305, 0.17287638783454895, -0.1352308988571167, -0.3357445299625397, -0.5637122988700867, 0.27497220039367676, 0.13769085705280304, 0.008936965838074684, -0.3371921479701996, 0.5455665588378906, -0.6564896702766418, 0.02376309037208557, -0.39282265305519104, 0.302107572555542, 0.32774221897125244, 0.19163881242275238, -0.1994180530309677, 0.9186925292015076, 0.8029683828353882, -0.805544912815094, 0.29100391268730164, 0.46388378739356995, -0.18624776601791382, 0.7931466102600098, -0.7775261998176575, 0.18538717925548553, -0.1013353019952774, 0.272879421710968, -1.015901803970337, -0.2222808599472046, 0.29836195707321167, -0.36037909984588623, 0.05204393342137337, -0.10842937231063843, -0.3635818064212799, -0.33619728684425354, -0.14129751920700073, 0.619594931602478, 0.36519500613212585, -1.068555235862732, 0.7121250033378601, -0.3201332688331604, -0.03716009855270386, -0.6438987255096436, -0.4850686490535736, -0.061760153621435165, -0.160442516207695, -0.48942768573760986, -0.156593918800354, -0.2883036434650421, -0.44636261463165283, -0.25375643372535706, -0.4785633981227875, -0.14603178203105927, 0.3736495077610016, 0.3617517650127411, 0.43544384837150574, -0.18656504154205322, 0.4558607339859009, 0.17704889178276062, -0.21814946830272675, 0.3835360109806061, -0.6186137795448303, 0.23493856191635132, -0.2923770546913147, -0.4735327661037445, -0.5818877816200256, 0.1819300353527069, 0.7683800458908081, -0.05710677057504654, 0.8071643114089966, 0.14425820112228394, -0.20859596133232117, -0.2961914837360382, -0.45177459716796875, -0.18704161047935486, -0.5326658487319946, -0.2194654941558838, -0.6685585975646973, -0.5631579756736755, 0.654830276966095, -0.17697620391845703, 0.14305169880390167, 0.6477283239364624, 0.1769063025712967, -0.14088842272758484, 1.1887409687042236, 0.2059987336397171, 0.22077757120132446, 0.13597659766674042, 0.2238065004348755, 0.25603222846984863, -0.8253347277641296, -0.11080516874790192, -0.6416149139404297, 0.03425809368491173, -0.574230432510376, -0.18215741217136383, 0.09119603782892227, 0.20973043143749237, -0.2938319444656372, 0.33499467372894287, -0.5021695494651794, 0.6400265097618103, 0.08916633576154709, -0.013761267066001892, 0.3015356957912445, -0.267329603433609, -0.06624750792980194, 0.14097775518894196, -0.5664364695549011, -0.8052566051483154, 0.6260839104652405, 0.5011755228042603, 0.9926674365997314, -0.04551826789975166, 0.3077142834663391, 0.05475828796625137, 0.19837571680545807, -0.8345381021499634, 0.2966311573982239, -0.012517769820988178, -0.5912392139434814, -0.33869484066963196, -0.4279428720474243, -1.0181918144226074, 0.15597817301750183, -0.10780131816864014, -0.9276140332221985, 0.1976858675479889, 0.4825535714626312, -0.4378252625465393, 0.06149526685476303, -0.7074009776115417, 1.0231025218963623, -0.34508681297302246, -0.2596788704395294, -0.29500406980514526, -0.5862869620323181, 0.34738585352897644, -0.04905715584754944, 0.215168297290802, 0.18186801671981812, 0.04301029443740845, 0.43547502160072327, -0.3374999761581421, 0.7056220173835754, 0.048586923629045486, -0.37716588377952576, 0.33329546451568604, 0.18265241384506226, 0.6616935729980469, 0.059603746980428696, -0.3877124786376953, 0.1110081821680069, 0.18084752559661865, -0.40312036871910095, -1.1514860391616821, 0.7525400519371033, -0.3354540467262268, -0.8111767172813416, -0.24801307916641235, -0.7249476909637451, -0.2746220827102661, 0.22498668730258942, 0.1805771142244339, 0.9345293045043945, 0.032329726964235306, -0.06764692068099976, 0.7540938854217529, -0.3374512493610382, 0.25295329093933105, 0.04790343716740608, -0.24229827523231506, -0.31914615631103516, 1.0133494138717651, -0.11952447891235352, 0.6171848177909851, 0.28038960695266724, 0.3313552737236023, -0.6657658815383911, -0.3147379755973816, -0.7439963817596436, 0.2486463189125061, -0.9960759878158569, 0.1716582328081131, -0.5751370191574097, 0.03913091495633125, -0.3366285264492035, -0.2897888720035553, -0.24815230071544647, -0.591770350933075, -0.27300140261650085, 0.010316924192011356, 0.17681671679019928, 0.9727926850318909, 0.19140875339508057, 0.2574886679649353, -0.7903106808662415, 0.17971719801425934, 0.3681401312351227, 0.6863279938697815, 0.3145289421081543, -0.5386788845062256, -0.07857723534107208, 0.14833499491214752, -0.30873510241508484, -1.0389738082885742, -0.1729121059179306, -0.1797381341457367, 0.7769943475723267, 0.5662351250648499, 0.2058405578136444, 0.7961193919181824, -0.28901445865631104, 0.8603999614715576, 0.22720681130886078, -1.4077109098434448, 0.7631193995475769, -0.3214081823825836, 0.6163820028305054, 0.6618136167526245, 0.403510183095932, -0.3141193985939026, -0.5726457834243774, -0.5927944183349609, -0.564984142780304, 0.4662337303161621, 0.2948811948299408, -0.019933782517910004, -0.016771577298641205, 0.5275917053222656, 0.6412084102630615, -0.07972006499767303, -0.48667705059051514, -0.10238056629896164, -0.33806392550468445, -0.3350883722305298, 0.1321435570716858, -0.15625807642936707, 0.09588860720396042, 0.012622573412954807, 0.6584298610687256, -0.3580658733844757, 0.16155721247196198, 0.23373731970787048, -0.1839003562927246, 0.1438561975955963, 0.5561053156852722, 0.5574660897254944, 1.227994680404663, 0.06811489164829254, 0.35187220573425293, 0.23487727344036102, -0.31332582235336304, 0.014625581912696362, -0.15550251305103302, -0.0030594803392887115, -0.1512959748506546, 0.525392472743988, 0.7671859860420227, 0.10449373722076416, -0.40971991419792175, 0.3763106167316437, -0.05452727526426315, 0.0006915857666172087, 0.09684845060110092, 0.007519030477851629, -0.3134227395057678, 0.1889127641916275, 0.09334822744131088, 0.028942521661520004, 0.40426549315452576, -0.6989977955818176, -0.02657521329820156, 0.34906551241874695, -0.5861712098121643, -0.48478269577026367, 0.6945639252662659, 0.16831976175308228, 0.03327949345111847, 0.7928093671798706, 0.017864162102341652, -0.5316990613937378, 0.5370908975601196, 0.5477725267410278, 1.0568398237228394, -0.035924170166254044, 0.345754474401474, 0.5005430579185486, 0.40338149666786194, -0.30346181988716125, 0.3620341420173645, -0.280569851398468, -0.5297902822494507, -0.877772331237793, -0.29924482107162476, -0.5006981492042542, -0.12391949445009232, -0.9753425121307373, -0.016690600663423538, -0.1983860284090042, 0.004745775368064642, 0.17673365771770477, -0.579041600227356, -0.5503200888633728, 0.2574344277381897, -0.1177305057644844, 1.155555009841919, -0.9027583003044128, 0.4604170620441437, 0.7156734466552734, -0.3588191866874695, -1.1507172584533691, 0.3908756375312805, -0.06687821447849274, -0.6983011960983276, 0.4355355501174927, 0.40451255440711975, -0.33397412300109863, -0.22259481251239777, -0.7973061203956604, -0.6547636985778809, 0.7196606993675232, 0.3334386348724365, -0.6054764986038208, 0.24161496758460999, -0.17203819751739502, 0.41970425844192505, -0.003006958169862628, 0.5119199156761169, 0.7169855237007141, 0.6886571049690247, 0.10699238628149033, -0.9905360341072083, 0.5041163563728333, -0.15080924332141876, -0.10756412893533707, 0.1663687825202942, -0.3284042477607727, 0.46789082884788513, -0.11038999259471893, -0.2890777587890625, 0.14333510398864746, 0.7150152921676636, 0.4732830822467804, 0.49946385622024536, 0.7144752740859985, 0.13707555830478668, 1.1216967105865479, -0.07772144675254822, 1.123923897743225, -0.3116336762905121, 0.16987156867980957, 1.0010122060775757, -0.07145635783672333, 0.6496237516403198, 0.6207742094993591, -0.0018887765472754836, 0.6571550369262695, 0.5406826734542847, 0.3350583612918854, 0.24035091698169708, -0.024247873574495316, -0.01645570434629917, -0.6491402387619019, -0.07377853989601135, -0.22077809274196625, 0.3461069166660309, 0.26001107692718506, -0.23233343660831451, -0.06600544601678848, 0.03885077312588692, -0.2904360294342041, 0.09447899460792542, -0.4985927939414978, 0.5401397943496704, 0.2911219596862793, -1.1722934246063232, 0.5684223771095276, -0.6974508166313171, 0.20214621722698212, -0.30397704243659973, -0.245229572057724, 0.1386137157678604, 0.0659204050898552, -0.31053557991981506, -1.3615328073501587, 0.3674358129501343, -0.033730246126651764, -0.21823960542678833, -0.6848232746124268, 0.7981156706809998, -0.10654296725988388, -0.12635424733161926, 0.017705019563436508, 0.5824242830276489, 0.34760594367980957, -0.13270066678524017, -0.6078131198883057, 0.10435368120670319, -0.18104583024978638, -0.023421859368681908, -0.0661434754729271, 0.6606674790382385, -0.044770002365112305, 0.7967716455459595, 0.5242466330528259, -0.010621861554682255, -0.2594969570636749, 0.2086614966392517, 0.8808433413505554, -0.6655410528182983, -0.5536711812019348, -1.0726289749145508, 0.5771207213401794, -0.004071335773915052, -0.44818639755249023, 0.9513183236122131, 0.270316481590271, 0.3261568546295166, -0.09333191066980362, 0.6403123736381531, 0.11048717051744461, 0.11805831640958786, -0.8652030825614929, 0.455099880695343, -0.3327922224998474, 0.30846282839775085, -0.33781230449676514, -0.8100259304046631, -0.06253092736005783, 0.3327691853046417, -0.4401533305644989, -0.029837200418114662, 1.0336722135543823, 0.564877450466156, -0.08910384029150009, 0.7389022707939148, 0.1801966279745102, 0.3935790956020355, 0.09934906661510468, 0.2958664894104004, 1.467603087425232, 0.01685933582484722, 0.4406115710735321, 0.16482464969158173, -0.2138763815164566, 0.17568334937095642, -1.0877560377120972, -0.7232075929641724, -0.4370841383934021, -0.3621433675289154, -0.5180916786193848, 0.031292594969272614, 0.7869076132774353, 0.525567889213562, -0.8397266864776611, 0.08317680656909943, -0.45025017857551575, 0.4084101915359497, -0.6190296411514282, -0.1898125857114792, 0.2709479331970215, -0.5760638117790222, -0.41535019874572754, 0.4209684729576111, 0.23040197789669037, -0.16425330936908722, -0.23582597076892853, -0.05353450030088425, 0.025661595165729523, 0.141188845038414, 0.5082901120185852, 0.21851152181625366, -0.8616222143173218, -0.5098080039024353, 0.1836051642894745, 0.15729153156280518, -0.04146444424986839, 0.9436749815940857, -0.6287137866020203, 0.869856059551239, 0.6889945864677429, 0.6280260682106018, -0.00016305477765854448, 0.37990590929985046, 0.8955559730529785, -0.4907481372356415, -0.3366791009902954, -0.0483466312289238, 0.4048442244529724, 0.13326598703861237, -0.6378008127212524, 0.3542379140853882, -0.14651189744472504, -0.8763964772224426, -0.6816635727882385, 0.43711057305336, -1.221958875656128, -0.27671587467193604, 1.2309893369674683, -0.3031124472618103, -0.18158937990665436, -0.4322342574596405, -0.2801274359226227, 0.23619242012500763, -0.25750818848609924, 0.38988518714904785, 0.8659582138061523, -0.19641439616680145, -0.16405896842479706, -0.5832807421684265, 0.13410471379756927, 0.5438008308410645, -0.8455861806869507, 0.37136808037757874, 0.5641273260116577, 0.2311084121465683, 0.0500364825129509, 0.3125529885292053, 0.08201736956834793, 0.43514978885650635, 0.00957446452230215, -0.3688119351863861, 0.1520453244447708, -0.4115600287914276, -0.6974702477455139, -0.15839222073554993, 0.297627329826355, -0.13103638589382172 ]
http://arxiv.org/abs/2402.11845v1
http://arxiv.org/pdf/2402.11845v1
Modularized Networks for Few-shot Hateful Meme Detection
2024-02-19T05:15:13
2024-02-19T05:15:13
Rui Cao, Roy Ka-Wei Lee, Jing Jiang
cs.CL
cs.CL, cs.CV
In this paper, we address the challenge of detecting hateful memes in the low-resource setting where only a few labeled examples are available. Our approach leverages the compositionality of Low-rank adaptation (LoRA), a widely used parameter-efficient tuning technique. We commence by fine-tuning large language models (LLMs) with LoRA on selected tasks pertinent to hateful meme detection, thereby generating a suite of LoRA modules. These modules are capable of essential reasoning skills for hateful meme detection. We then use the few available annotated samples to train a module composer, which assigns weights to the LoRA modules based on their relevance. The model's learnable parameters are directly proportional to the number of LoRA modules. This modularized network, underpinned by LLMs and augmented with LoRA modules, exhibits enhanced generalization in the context of hateful meme detection. Our evaluation spans three datasets designed for hateful meme detection in a few-shot learning context. The proposed method demonstrates superior performance to traditional in-context learning, which is also more computationally intensive during inference.We then use the few available annotated samples to train a module composer, which assigns weights to the LoRA modules based on their relevance. The model's learnable parameters are directly proportional to the number of LoRA modules. This modularized network, underpinned by LLMs and augmented with LoRA modules, exhibits enhanced generalization in the context of hateful meme detection. Our evaluation spans three datasets designed for hateful meme detection in a few-shot learning context. The proposed method demonstrates superior performance to traditional in-context learning, which is also more computationally intensive during inference.
[ -0.5601208806037903, -0.8168693780899048, 0.17235219478607178, -0.16697071492671967, -0.5577281713485718, -0.20733068883419037, -0.19769544899463654, -0.17493319511413574, 0.5163910388946533, 0.5060858130455017, -0.7300838828086853, -0.4324822723865509, -0.7316221594810486, 0.19000859558582306, -0.33210644125938416, 1.060233235359192, 0.5068073272705078, -0.31118446588516235, 0.30947303771972656, -0.45682790875434875, 0.012260979041457176, -0.18721799552440643, -0.8144838809967041, -0.27238962054252625, 1.2033313512802124, 0.7258565425872803, 0.3578583896160126, 0.4640789330005646, 0.4250027537345886, 0.2959129512310028, -0.014282557182013988, 0.23403510451316833, -0.7820770740509033, 0.06303144246339798, -0.3534946143627167, -0.46473485231399536, -0.4370286762714386, 0.04856811463832855, 0.42617595195770264, 0.000837505969684571, 0.10522828996181488, 0.391246497631073, -0.11076010763645172, 0.5467689037322998, -0.8130213618278503, -0.2855873107910156, -1.2356312274932861, 0.16350392997264862, -0.35940295457839966, -0.09959670901298523, -0.5150948762893677, -0.2106907069683075, -0.3939211070537567, -0.4927491247653961, -0.2322392612695694, -0.02916274406015873, 0.2894020080566406, 0.21203090250492096, -0.3079487979412079, 0.018232474103569984, -0.3606977164745331, 1.0545930862426758, -1.0601831674575806, -0.327612966299057, 0.3332322835922241, 0.42826205492019653, -0.15577782690525055, -0.2738439738750458, -0.7792041897773743, 0.3725925385951996, 0.20232167840003967, 0.04921136796474457, -0.6927374005317688, -0.17768444120883942, 0.37087222933769226, 0.2169986516237259, -0.544039249420166, 0.6547259092330933, -0.520870566368103, -0.19767995178699493, 0.447914719581604, 0.2259981334209442, 0.29630333185195923, -0.7839586734771729, -0.4180556833744049, 0.010270452126860619, -0.6656874418258667, -0.16677719354629517, 0.7796348929405212, 0.5233085751533508, -0.14748242497444153, 0.5143075585365295, -0.4068426787853241, 0.7978290319442749, 0.20553983747959137, -0.4454745352268219, 0.14792737364768982, -0.034561529755592346, -0.30863213539123535, -0.1786404401063919, 0.7580768465995789, 0.21023224294185638, 0.2728622257709503, 0.2175924926996231, -0.1989324539899826, 0.26140516996383667, 0.4914775490760803, -0.9838330149650574, -0.10555332154035568, -0.1897660195827484, -0.6080265641212463, -0.6679782271385193, -0.4794435203075409, -0.7654440402984619, -0.4984467327594757, -0.0729316994547844, 0.6872432827949524, -0.41841089725494385, -0.08589116483926773, -0.2811404764652252, -0.1660708636045456, 0.019630329683423042, 0.36796459555625916, -0.9614751935005188, 0.16459248960018158, 0.6625954508781433, 0.8424392938613892, -0.2047709822654724, -0.12371999025344849, -0.7675110697746277, 0.12248295545578003, -0.002366897650063038, 0.9302619695663452, -0.49146604537963867, 0.27098894119262695, -0.19346299767494202, 0.018209950998425484, -0.01758517697453499, -0.7761374711990356, 0.4005459249019623, -0.6532421112060547, -0.15538454055786133, 0.04461769759654999, -0.34350118041038513, -0.3602115213871002, 0.6971731781959534, -0.6241397261619568, 0.4326149523258209, 0.40092378854751587, -0.8399732112884521, 0.16066287457942963, -0.6615427732467651, -0.33207616209983826, -0.12649239599704742, -0.1078961193561554, -0.7234737277030945, 0.21792013943195343, -0.15839147567749023, 0.669981837272644, 0.029725365340709686, -0.2751710116863251, -0.6310121417045593, -0.3696681559085846, 0.020506441593170166, -0.17433048784732819, 0.7248501181602478, 0.37125152349472046, -0.3612549602985382, 0.19503039121627808, -0.7815892100334167, -0.19785742461681366, 0.13801424205303192, -0.5688298344612122, -0.5892912745475769, 0.048371825367212296, -0.029218381270766258, 0.19167593121528625, -0.12754687666893005, -0.7299233675003052, 0.07271566987037659, -0.4272642731666565, 0.2893671691417694, 1.1704007387161255, -0.04739183932542801, 0.41122370958328247, -0.4333452880382538, 0.4213871359825134, 0.41233059763908386, 0.31721433997154236, 0.10162048041820526, -0.48052775859832764, -0.6829206943511963, -0.45046594738960266, -0.4546548128128052, 0.39051148295402527, -0.8213177919387817, 0.3966403007507324, -0.055112555623054504, -0.28679919242858887, 0.030250655487179756, 0.5246095657348633, 0.3368181586265564, 0.4646812081336975, 0.5147520899772644, -0.32387852668762207, -0.7767543196678162, -1.177932620048523, -0.32102563977241516, -0.2532161474227905, 0.08304890245199203, 0.2670261263847351, 0.5798665285110474, -0.18096159398555756, 0.6458125710487366, -0.36329907178878784, -0.4470709264278412, -0.3264431059360504, 0.2049056738615036, 0.4660208225250244, 0.4549511969089508, 0.7801181077957153, -0.5259841084480286, -0.5308587551116943, 0.03008059225976467, -0.47888174653053284, -0.16056987643241882, 0.2747337222099304, -0.08308378607034683, -0.0033522064331918955, 0.24418731033802032, 0.2106824368238449, 0.2548762857913971, 0.7315406203269958, -0.3438374698162079, 0.4277721345424652, 0.4844963252544403, 0.3198483884334564, -1.3792579174041748, -0.3604998290538788, 0.07634038478136063, -0.453056275844574, -0.5892927646636963, -0.056515853852033615, -0.2711833119392395, 0.068717822432518, -0.7028185725212097, 0.3870204985141754, 0.1106606274843216, 0.05297759920358658, -0.4174145758152008, -0.015520494431257248, -0.20799903571605682, 0.6398293375968933, -0.44948461651802063, 0.5071014761924744, 0.12230092287063599, -0.4175105392932892, 0.3308226466178894, 0.08210944384336472, -0.47260138392448425, 0.8931694626808167, -0.08199429512023926, 0.20348213613033295, -0.05070652812719345, 0.12066496163606644, -0.8816338181495667, -0.20953822135925293, 0.6063949465751648, -0.14614345133304596, -0.1266506463289261, -0.6565753221511841, -0.4705372452735901, -0.21135927736759186, -0.39910486340522766, 0.7846653461456299, 0.4338112473487854, -0.663719117641449, 0.39325326681137085, 0.21010272204875946, 0.18114356696605682, -0.5576061010360718, -0.7331774830818176, -0.10277022421360016, -0.5993248224258423, -0.522926390171051, -0.1349974125623703, -0.18854208290576935, -0.1505255401134491, -0.2748379707336426, 0.0030605632346123457, -0.4065578877925873, 0.22983989119529724, 0.3398377597332001, -0.27294301986694336, -0.6491708159446716, -0.00044306140625849366, 0.1472177654504776, -0.039012640714645386, -0.3763243854045868, -0.4079586863517761, 0.32055872678756714, -0.07583615183830261, -0.5032587051391602, -0.4290582239627838, 0.37374359369277954, 0.6580823659896851, 0.2618563175201416, 0.6369247436523438, 0.8514814972877502, -0.422094464302063, -0.6057072281837463, -0.723375678062439, -0.25541791319847107, -0.49114352464675903, 0.4138815402984619, -0.18554536998271942, -1.3014345169067383, 0.5670334100723267, 0.08502714335918427, -0.19134515523910522, 0.31060367822647095, 0.6477712988853455, -0.03485063835978508, 0.6173486709594727, 0.3236582577228546, -0.5396043062210083, 0.7983530163764954, -0.2685985565185547, 0.17841657996177673, -0.7105977535247803, 0.16624827682971954, -0.3830925524234772, -1.0086613893508911, -0.358906626701355, -0.7198836803436279, 0.6431372165679932, -0.07115010917186737, -0.3286842703819275, 0.44311007857322693, -0.3215636909008026, 0.8723999857902527, 0.20513705909252167, 0.4224466383457184, 0.3358789384365082, 0.41601261496543884, 0.08152080327272415, -0.14803546667099, -0.613250732421875, -0.2860197424888611, 1.0020794868469238, 0.08888848125934601, 0.8035233616828918, 0.6348482370376587, 0.6656561493873596, 0.635652482509613, 0.38879987597465515, -1.0011194944381714, 0.49190232157707214, -0.6666839122772217, -0.6615182161331177, -0.3042972981929779, -0.3407679498195648, -0.8706330060958862, 0.272330105304718, -0.3171702027320862, -0.8315979838371277, 0.10735924541950226, 0.20758844912052155, -0.35796689987182617, 0.9711534976959229, -0.47490137815475464, 0.8367307186126709, 0.34795451164245605, -0.3773973882198334, -0.8908380270004272, -0.16319972276687622, 0.5872675180435181, -0.1497957855463028, 0.13844254612922668, -0.36886724829673767, 0.007558930665254593, 0.7829945087432861, -0.16614992916584015, 1.2892457246780396, -0.15427392721176147, 0.14587895572185516, 0.376481831073761, 0.27864208817481995, 0.4764074385166168, -0.22809627652168274, -0.5095698237419128, -0.09366212785243988, -0.35072702169418335, -0.7964151501655579, -0.5544123649597168, 0.8881624341011047, -0.6593299508094788, -0.4296239912509918, 0.1518985778093338, -0.4257432520389557, 0.15137474238872528, 0.1859234720468521, 0.2096984088420868, 0.5366725921630859, -0.3052109181880951, 0.1850755661725998, 0.6738153100013733, -0.18143457174301147, 0.4551618695259094, 0.4694928824901581, -0.0006723786354996264, -0.3546179234981537, 0.9688488841056824, 0.09923437982797623, 0.3279341757297516, 0.3328110873699188, 0.24239039421081543, 0.41225484013557434, -0.779434084892273, -0.5221438407897949, -0.062064435333013535, -0.8708922863006592, -0.607782244682312, -0.5771661996841431, 0.02839386649429798, 0.03129270300269127, -0.20296786725521088, -0.4471660256385803, -0.5422224998474121, -0.40001702308654785, 0.24669532477855682, 0.481456995010376, 0.9652075171470642, -0.16422584652900696, 0.7832930088043213, -0.32849323749542236, 0.4491879940032959, 0.5651838779449463, 0.3203287422657013, 0.23468148708343506, -1.0592082738876343, -0.3540658950805664, -0.3416176438331604, -0.46240776777267456, -0.893770694732666, 0.15172621607780457, 0.20455582439899445, 0.11202038824558258, 0.9094032645225525, 0.02511833980679512, 0.5987668037414551, -0.4351077079772949, 0.44930174946784973, 0.31704893708229065, -0.6795045733451843, 0.5301909446716309, -0.619867205619812, 0.07887116819620132, 0.5978124737739563, 0.31117314100265503, -0.3537045419216156, -0.376742959022522, -0.3280865550041199, -0.34844666719436646, 0.8866048455238342, -0.010363917797803879, 0.5559131503105164, -0.3809363543987274, 0.4275147616863251, 0.17365676164627075, -0.12089784443378448, -1.1685904264450073, -0.3472081124782562, -0.14574562013149261, -0.03842988237738609, 0.13820534944534302, -0.5179733633995056, -0.18502816557884216, -0.3987046182155609, 0.8245789408683777, -0.4932003319263458, -0.03315292298793793, -0.19707806408405304, -0.3638307452201843, -0.20895344018936157, 0.5000084638595581, 0.6620765924453735, 0.5240851044654846, -0.09747947007417679, 0.4056128263473511, 0.22621062397956848, -0.10770045220851898, 0.27805399894714355, -0.5610079169273376, -0.11835850030183792, -0.15563130378723145, 0.20679278671741486, 0.735674262046814, 0.3532024323940277, -0.27714118361473083, 0.8535682559013367, 0.25305089354515076, -0.10700567066669464, -0.18556858599185944, 0.2254054993391037, -0.03809328004717827, 0.6474815607070923, 0.2426908165216446, 0.26722845435142517, 0.1185341402888298, -0.3967822790145874, 0.3426551818847656, 0.5556138157844543, -0.4033035635948181, -0.6908069252967834, 0.19166970252990723, 0.11415727436542511, -0.12180615961551666, 0.1665746420621872, -0.43959447741508484, -0.5876936316490173, 0.6106577515602112, 0.7397474050521851, 0.7256439328193665, -0.22040137648582458, 0.5721405148506165, 0.7736400365829468, 0.5672449469566345, 0.2686264216899872, -0.11330533772706985, -0.09494676440954208, -0.935206413269043, -0.23632726073265076, -0.7890653014183044, -0.2115909904241562, 0.5398175716400146, -0.3350290358066559, 0.28875675797462463, -0.9520566463470459, 0.014381169341504574, 0.1309722512960434, -0.2096412181854248, -0.33511316776275635, 0.028197545558214188, 0.4338763356208801, 0.7321423888206482, -1.1407254934310913, 0.6444274187088013, 0.6492628455162048, -0.3719771206378937, -0.44007042050361633, -0.1904178410768509, 0.4971577525138855, -0.9875665903091431, 0.599777102470398, 0.0032825213856995106, -0.1633472740650177, 0.06889652460813522, -0.8251082897186279, -0.4524475336074829, 0.8226202130317688, 0.2517356276512146, -0.32957449555397034, 0.47936490178108215, -0.1146148294210434, 0.4143211245536804, -0.6899547576904297, 0.12653815746307373, 0.39231038093566895, 0.36317160725593567, -0.020747238770127296, -0.4174875020980835, 0.0700402557849884, -0.06125309690833092, -0.396942138671875, 0.19278423488140106, -0.7569602131843567, 1.015894889831543, 0.06089363619685173, 0.1567627489566803, 0.10642540454864502, 0.42198696732521057, 0.010157685726881027, 0.37994813919067383, 0.8555939197540283, 0.7101430296897888, 0.36696097254753113, 0.3537680208683014, 0.7232546210289001, 0.46299952268600464, 0.19942842423915863, 0.9976598620414734, 0.2472039759159088, 1.0071150064468384, 0.553306519985199, -0.11817694455385208, 0.9024474024772644, 0.3931211829185486, -0.032402489334344864, 0.3583933413028717, 0.5480802655220032, -0.704519510269165, -0.5994530916213989, -0.22444243729114532, -0.034794535487890244, 0.5586206912994385, 0.2899811267852783, -0.3906858265399933, -0.5976423621177673, 0.07817953079938889, 0.08530905097723007, 0.18419164419174194, -0.6275089383125305, 0.9512721300125122, 0.11197315156459808, -0.14395764470100403, 0.8465578556060791, 0.06293104588985443, 0.9933338165283203, -0.5594147443771362, 0.3225836455821991, -0.15924304723739624, 0.14099949598312378, -0.578288733959198, -0.1763773262500763, 0.40952467918395996, 0.21205052733421326, -0.7034550309181213, 0.26136672496795654, 0.8452821969985962, -0.15962976217269897, -0.31819766759872437, 0.4854770004749298, 0.5282719731330872, 0.3044726252555847, -0.17872950434684753, -0.6310511827468872, 0.06121715158224106, 0.0924573540687561, -0.34631696343421936, 0.7523465752601624, 0.3280596435070038, -0.13326208293437958, 0.3724132776260376, 0.5982469320297241, -0.02208682894706726, 0.2854152321815491, 0.2907513976097107, 1.1732664108276367, -0.5676203370094299, -0.2827916443347931, -1.0127848386764526, 0.27248334884643555, -0.0013903003418818116, 0.027191244065761566, 0.4918065369129181, 0.5543296933174133, 0.7728877067565918, -0.2468796819448471, 0.7333958745002747, -0.1010834351181984, 0.4508257210254669, -0.3873082101345062, 0.6013824939727783, -0.9233117699623108, 0.17966417968273163, -0.3931301534175873, -0.8806350827217102, -0.39663293957710266, 0.5377694964408875, -0.3510058522224426, -0.32900530099868774, 0.5190051198005676, 0.9973272681236267, -0.7853164672851562, -0.17988359928131104, 0.7197107672691345, 0.5213201642036438, 0.07189928740262985, 0.6243214011192322, 0.8482825756072998, -0.4988756477832794, 0.5754361152648926, -0.23557308316230774, -0.24168992042541504, -0.3450108468532562, -0.9152966737747192, -1.137501835823059, -0.28314346075057983, -0.29256948828697205, -0.3250501751899719, -0.06571382284164429, 0.9221916794776917, 0.7913972735404968, -1.0808100700378418, -0.17542055249214172, 0.36427047848701477, 0.6768048405647278, 0.11717245727777481, -0.19488520920276642, -0.15581317245960236, -0.3065760135650635, -0.6283829808235168, 0.636717677116394, 0.6476262211799622, -0.2585955858230591, -0.07510920614004135, -0.07036992907524109, -0.5322456955909729, 0.24427330493927002, 0.8644368052482605, 0.3630623519420624, -0.7454428672790527, -0.5944949984550476, -0.6224365234375, -0.0401296392083168, 0.3107963800430298, 0.7695976495742798, -0.6292849779129028, 0.2386850118637085, 0.48966795206069946, 0.6677780151367188, 0.3539142310619354, 0.1777171492576599, -0.0889844074845314, -0.9074878692626953, 0.5153003931045532, 0.14948831498622894, 0.2444067895412445, 0.26289597153663635, -0.12363798171281815, 0.37444567680358887, 0.47534582018852234, -0.37556612491607666, -0.6383399367332458, 0.6133137345314026, -1.0848065614700317, -0.23491300642490387, 1.029967188835144, -0.12893694639205933, -0.39114466309547424, -0.2425023764371872, 0.0429275706410408, -0.008429119363427162, -0.4307163655757904, 0.7587828040122986, 0.43367502093315125, -0.010510413907468319, -0.0028183648828417063, -0.3388228416442871, 0.32714736461639404, 0.6082023978233337, -0.7443029284477234, -0.33296439051628113, 0.5774974822998047, 0.49007949233055115, 0.17609523236751556, 0.6835997104644775, 0.13234277069568634, 0.3836468756198883, -0.30751922726631165, -0.11986690014600754, 0.08288581669330597, -0.1276501566171646, -0.40291059017181396, 0.15439441800117493, -0.04701051861047745, -0.06547759473323822 ]
http://arxiv.org/abs/2402.11839v1
http://arxiv.org/pdf/2402.11839v1
An enhanced Teaching-Learning-Based Optimization (TLBO) with Grey Wolf Optimizer (GWO) for text feature selection and clustering
2024-02-19T05:06:10
2024-02-19T05:06:10
Mahsa Azarshab, Mohammad Fathian, Babak Amiri
cs.NE
cs.NE, cs.CL, cs.LG
Text document clustering can play a vital role in organizing and handling the everincreasing number of text documents. Uninformative and redundant features included in large text documents reduce the effectiveness of the clustering algorithm. Feature selection (FS) is a well-known technique for removing these features. Since FS can be formulated as an optimization problem, various meta-heuristic algorithms have been employed to solve it. Teaching-Learning-Based Optimization (TLBO) is a novel meta-heuristic algorithm that benefits from the low number of parameters and fast convergence. A hybrid method can simultaneously benefit from the advantages of TLBO and tackle the possible entrapment in the local optimum. By proposing a hybrid of TLBO, Grey Wolf Optimizer (GWO), and Genetic Algorithm (GA) operators, this paper suggests a filter-based FS algorithm (TLBO-GWO). Six benchmark datasets are selected, and TLBO-GWO is compared with three recently proposed FS algorithms with similar approaches, the main TLBO and GWO. The comparison is conducted based on clustering evaluation measures, convergence behavior, and dimension reduction, and is validated using statistical tests. The results reveal that TLBO-GWO can significantly enhance the effectiveness of the text clustering technique (K-means).
[ -0.36419913172721863, -0.48189324140548706, 0.4816953241825104, -0.12444411963224411, -0.5139403343200684, 0.5492902398109436, -0.36465755105018616, -0.5038003921508789, 0.14637139439582825, 0.17497994005680084, -0.44674837589263916, -0.6069104671478271, -0.5756436586380005, -0.12804222106933594, -0.45377546548843384, 1.0189801454544067, 0.2864645719528198, 0.11307168751955032, -0.1950397789478302, -0.29050296545028687, -0.4214038550853729, -0.04355049878358841, -0.7459471225738525, -0.42456597089767456, 0.308796763420105, 0.3114456534385681, 0.41382184624671936, 0.572331428527832, 0.18830877542495728, 0.2721230089664459, -0.3278522193431854, 0.10286484658718109, -0.6254178285598755, -0.1761000156402588, -0.2682705819606781, -0.5652146339416504, 0.07417682558298111, -0.3347151577472687, 0.7585934400558472, 0.40174996852874756, -0.05801011994481087, -0.164282888174057, 0.18166841566562653, 0.40441593527793884, -0.8048141002655029, -0.39326614141464233, -0.5753323435783386, 0.339862585067749, -0.009430037811398506, -0.21861618757247925, -0.25328925251960754, -0.6776700615882874, 0.2127501666545868, -0.7027387022972107, 0.7047260403633118, 0.23773258924484253, 0.8420515060424805, 0.1340155303478241, -0.38652294874191284, -0.37654146552085876, -0.44643718004226685, 1.3104838132858276, -0.6523542404174805, 0.35646843910217285, 0.32829439640045166, 0.21902412176132202, -0.012921122834086418, -0.15232224762439728, -0.357768177986145, -0.12778818607330322, -0.3095245361328125, 0.17903019487857819, 0.37006357312202454, 0.14445942640304565, 0.027586836367845535, 0.7490920424461365, -0.6040886640548706, 0.5451707243919373, -0.5604402422904968, -0.3659878969192505, 0.5053626298904419, -0.10409393161535263, 0.20790325105190277, 0.011265018954873085, -0.09512775391340256, -0.4012555181980133, -0.05302990972995758, 0.01590992510318756, 0.13166646659374237, -0.15503975749015808, -0.03673303872346878, 0.13562577962875366, 0.15150509774684906, 0.417421817779541, 0.0536208301782608, -0.647137463092804, 0.4364332854747772, 0.0540275014936924, -0.04714643210172653, -0.10978396981954575, 0.6240445971488953, 0.4917535185813904, -0.08523492515087128, -0.48491790890693665, -0.18234513700008392, 0.20132946968078613, 0.3149324953556061, -0.7694995403289795, 0.3162882626056671, 0.22088173031806946, -0.8816474080085754, -1.0474926233291626, 0.014702362939715385, -1.1600421667099, -0.16285645961761475, 0.14594252407550812, 0.39445334672927856, -0.372592031955719, -0.2699398100376129, -0.30462846159935, -0.49482396245002747, -0.05128982290625572, 0.09033751487731934, -1.2095708847045898, 0.2878158390522003, 0.5916804671287537, 0.7503089904785156, -0.7456907033920288, -0.28371894359588623, -0.26646164059638977, 0.3987674415111542, -0.3278453052043915, 0.5780258178710938, -0.9012731313705444, -1.0646822452545166, -0.03297257050871849, -0.27209001779556274, 0.018511969596147537, -0.621688187122345, 0.6169233918190002, -0.38454291224479675, 0.5467620491981506, 0.06302741169929504, -0.495414137840271, -0.5834314227104187, 0.2871042788028717, -0.5461986660957336, 1.4735950231552124, 0.3253912627696991, -0.4163212776184082, 0.5001263618469238, -0.6082047820091248, -0.4837074875831604, 0.04567055404186249, -0.10542016476392746, -0.5939493775367737, 0.29532936215400696, 0.2268422394990921, 0.18901124596595764, -0.42046934366226196, 0.36852261424064636, -0.3064332902431488, -0.5874722003936768, -0.3249076008796692, 0.20669160783290863, 0.4287295341491699, 0.20899131894111633, -0.39430221915245056, 0.1674553006887436, -0.7718998789787292, 0.3210083842277527, 0.12865276634693146, -0.4360489547252655, -0.4678816497325897, 0.2596704661846161, 0.037245772778987885, -0.11591004580259323, 0.15178342163562775, -0.6044866442680359, 0.10650859773159027, -0.37712734937667847, 0.44603967666625977, 0.455039381980896, 0.13255228102207184, 0.6630010008811951, -0.4653549790382385, 0.4325230121612549, -0.46487319469451904, 0.36584755778312683, 0.19662511348724365, -0.40128564834594727, -0.4934995472431183, -0.024848174303770065, 0.24221418797969818, 0.7342694997787476, -0.8135227560997009, 0.5500065684318542, 0.19679509103298187, -0.6557401418685913, -0.2659461796283722, 0.05303755775094032, 0.5849750638008118, 0.4963321387767792, 0.5053720474243164, 0.0069062067195773125, -0.13766664266586304, -0.6161484718322754, -0.08359555155038834, 0.07596655935049057, 0.06469401717185974, 0.29344040155410767, 0.31400954723358154, -0.3734142780303955, 0.7789137363433838, -0.906565248966217, -0.3307282328605652, -0.07529328018426895, 0.11437024176120758, -0.10445936024188995, 0.40475764870643616, 1.040887713432312, -0.9374463558197021, -0.4948560893535614, 0.387805312871933, -0.7289429903030396, -0.218470960855484, 0.12376276403665543, -0.14829498529434204, 0.4285489618778229, 0.33692899346351624, 0.1437232792377472, 0.34458187222480774, 0.5321603417396545, -0.06222439184784889, 0.4945818781852722, -0.47157707810401917, 0.33611688017845154, -0.9885079264640808, -0.140077143907547, 0.06469310820102692, 0.07257802784442902, -0.4203672409057617, 0.1714908629655838, 0.11647406965494156, -0.34700852632522583, 0.05567748844623566, 0.7174479961395264, -0.22722017765045166, 0.09045649319887161, -0.5630897879600525, 0.17708507180213928, -0.07892065495252609, 0.638685941696167, -0.1405336707830429, 0.645492672920227, 0.5326666235923767, -0.4355485141277313, -0.013180240988731384, 0.2391456514596939, 0.10814385861158371, 0.45118293166160583, -0.17992578446865082, 0.20638996362686157, 0.07334490865468979, -0.1451648473739624, -0.5080170631408691, 0.2559678852558136, -0.2049582153558731, -0.324370801448822, 0.5475396513938904, 0.2915136516094208, -0.4461532235145569, -0.6720492839813232, -0.8892326354980469, 0.20126119256019592, 0.4933162033557892, -0.541519284248352, 0.7391648292541504, 0.27237799763679504, 0.004410586319863796, -0.6070795059204102, -0.3383757174015045, -0.05950864776968956, -0.21260903775691986, -0.3298773467540741, 0.5000370144844055, -0.0021642125211656094, 0.25347334146499634, 0.18684113025665283, -0.32755693793296814, -0.12234572321176529, 0.1779651641845703, -0.21865782141685486, 0.2709743082523346, 0.17674431204795837, 0.2707148492336273, 0.553974449634552, -0.2655254006385803, -0.3519112765789032, -0.3882237374782562, 0.2865680456161499, 0.15155504643917084, 0.004192882217466831, 0.05783551558852196, 0.47928792238235474, 0.24534189701080322, -0.2975180149078369, 0.5334793329238892, 0.8855686783790588, -0.2058587670326233, -0.7202030420303345, -0.7255675792694092, -0.3278517425060272, -0.5358506441116333, 0.49663493037223816, 0.06775883585214615, -1.216499924659729, 0.2575364410877228, -0.1565961241722107, 0.18390437960624695, 0.3744358718395233, 0.18128085136413574, -0.23739580810070038, 0.6413425803184509, 0.9202855825424194, -0.2784368097782135, 0.7937460541725159, -0.29314664006233215, 0.3110310435295105, -0.4708499014377594, -0.4001489579677582, -0.8494967222213745, -0.40316975116729736, -0.8115071058273315, -0.27688995003700256, 0.4605512320995331, -0.05793836712837219, 0.020084472373127937, 0.022396238520741463, -0.9347513914108276, 0.3252979815006256, 0.8162556886672974, 0.2990846037864685, 0.0168194267898798, 0.22073012590408325, -0.2721271216869354, -0.18014122545719147, -0.5209261178970337, -0.1216174066066742, 1.0441612005233765, -0.08072512596845627, 0.31951379776000977, -0.29620161652565, 0.797249972820282, 0.4698852598667145, 0.17793965339660645, -0.7678456902503967, 0.7125638723373413, -0.5830720663070679, -0.42934468388557434, -0.3898753225803375, -0.36014461517333984, -0.6604742407798767, 0.4813913106918335, -0.8193666338920593, -0.8092839121818542, 0.017221445217728615, -0.1376582533121109, 0.1832127422094345, 0.5013650059700012, -0.8343794345855713, 0.5945739150047302, -0.3260945975780487, -0.13738232851028442, -0.6505001783370972, -0.18044038116931915, -0.1295873522758484, -0.5166926980018616, 0.2672700881958008, 0.2885040044784546, -0.1953754425048828, 0.9205988049507141, -0.5405825972557068, 0.3776046633720398, -0.2544158101081848, 0.193730890750885, 0.14200051128864288, -0.18124918639659882, 0.3252864480018616, -0.5627244710922241, -0.4016248881816864, 0.01718001253902912, -0.04752800241112709, -0.23070555925369263, -0.6789107322692871, 0.5567775368690491, -0.7131775617599487, -0.6733210682868958, -0.10651761293411255, -0.4439083933830261, -0.2927028238773346, 0.4592666029930115, 0.4230250418186188, 0.43295854330062866, 0.02291194535791874, 0.47399234771728516, 0.519627571105957, -0.2766537070274353, 0.7662580013275146, 0.3619886040687561, -0.1994158774614334, -0.7941439747810364, 1.3697434663772583, 0.08191390335559845, 0.200607031583786, 0.6551957726478577, 0.7208613157272339, -0.004234062507748604, -1.098447561264038, -0.16687433421611786, 0.48373451828956604, -0.4573010206222534, -0.0654255673289299, -0.5281774401664734, -0.18537026643753052, -0.04649156332015991, -0.887069046497345, 0.3409614562988281, -0.13221219182014465, -0.34092411398887634, -0.1255004107952118, 0.1294025182723999, 0.4941251277923584, 0.13665097951889038, 0.40211719274520874, -1.0326223373413086, 0.3602280020713806, 0.21556533873081207, 0.22978931665420532, 0.4379587471485138, -0.18985788524150848, -0.4784563481807709, -0.511020839214325, -0.7200883626937866, -0.8237919211387634, 0.23522181808948517, 0.2797926068305969, 0.8291113376617432, 0.7136061191558838, -0.07481896132230759, 0.280470073223114, -0.1785571128129959, 0.5527878403663635, 0.3001396656036377, -0.8813696503639221, 0.7531359791755676, -0.5509247183799744, 0.11404705047607422, 0.6654496192932129, 0.20407608151435852, -0.22453296184539795, -0.660980224609375, -0.5938718914985657, -0.5203539133071899, 0.7834054231643677, 0.23232266306877136, -0.22820724546909332, 0.3652714192867279, 0.29546433687210083, 0.21392013132572174, 0.5052279233932495, -0.638301432132721, -0.26668062806129456, -0.07382980734109879, -0.23559698462486267, 0.05725175887346268, -0.4300144612789154, 0.048778679221868515, -0.12225648015737534, 0.8246344923973083, -0.2517736256122589, -0.082418292760849, -0.21800532937049866, 0.04138682037591934, -0.19514775276184082, 0.2829751670360565, 0.39381545782089233, 0.4052570164203644, -0.3337087035179138, -0.6703696250915527, 0.5359407663345337, -1.0341256856918335, 0.04374365881085396, -0.012709910981357098, -0.6688756346702576, -0.0790136381983757, 0.31842291355133057, 0.6429007053375244, 0.5356917381286621, -0.28676679730415344, 0.3241974115371704, 0.44580742716789246, -0.41395583748817444, 0.27492260932922363, 0.5863174796104431, -0.11804414540529251, 0.1838308721780777, 0.7969825267791748, -0.15767936408519745, 0.28863105177879333, -0.37908923625946045, -0.1662677377462387, 0.4066316783428192, -0.04216434061527252, 0.21290355920791626, 0.4663589596748352, 0.41311097145080566, -0.42021068930625916, 0.15199562907218933, -0.11398942768573761, -0.7737230062484741, 0.9331237077713013, 0.5941452980041504, 0.896895170211792, -0.24354855716228485, 0.34779566526412964, 0.5896931886672974, 0.28969576954841614, -0.13984520733356476, 0.1522260457277298, -0.31739869713783264, -0.6664000749588013, -0.08247131109237671, -0.723864734172821, -0.5443350672721863, -0.055388957262039185, -0.723717451095581, 0.5069490075111389, -0.6134358048439026, 0.045835740864276886, -0.21080484986305237, 0.5134981870651245, -0.05622025579214096, 0.6143113374710083, 0.11543533205986023, 0.8759068846702576, -0.6134024262428284, 0.8222416043281555, 0.7466858625411987, 0.2178189754486084, -0.6111394762992859, 0.01916283741593361, 0.019616663455963135, -0.5648370981216431, 0.07023707032203674, 0.19915106892585754, -0.08157297223806381, 0.03753914311528206, -0.17989875376224518, -0.5484299659729004, 1.3229641914367676, -0.041345082223415375, -0.6004277467727661, -0.19388583302497864, -0.14988648891448975, 0.5577926635742188, -0.22135812044143677, 0.12553317844867706, 0.44960159063339233, 0.3709779679775238, 0.4163024425506592, -0.9370529651641846, -0.06241016089916229, 0.0689404085278511, 0.36350709199905396, 0.6341993808746338, -0.8855200409889221, 0.32461726665496826, -0.061317794024944305, -0.01490884181112051, -0.10674446821212769, 0.27686190605163574, 0.29116371273994446, 0.6019250154495239, 0.6552004814147949, 0.8970121741294861, 0.9126065969467163, -0.06809563934803009, 0.8078984022140503, 0.07061043381690979, 0.646353542804718, 0.5597909092903137, 0.0015046225162222981, 0.6054911017417908, 0.22762514650821686, -0.29080089926719666, 0.5064478516578674, 0.5655450224876404, -0.5528585910797119, 0.9056265950202942, -0.13223865628242493, -0.38632944226264954, 0.024769781157374382, 0.076774463057518, -0.4754890203475952, 0.1403021365404129, 0.3719460666179657, -0.16101539134979248, -0.6427798271179199, 0.3674432039260864, -0.08844652026891708, 0.2734771966934204, -0.6290463209152222, 0.8218938708305359, 0.13253465294837952, -0.41365692019462585, 0.3579424023628235, -0.08437853306531906, 1.0825389623641968, -0.8943607211112976, 0.12222747504711151, -0.028007544577121735, -0.00494419876486063, -0.5240085124969482, -0.6647363901138306, 0.1856357902288437, -0.15702667832374573, -0.5317761898040771, -0.14584951102733612, 0.9638062715530396, -0.19190531969070435, -0.4406229555606842, 0.749517023563385, 0.056166235357522964, -0.14282472431659698, 0.20835983753204346, -0.5012233257293701, -0.07354701310396194, 0.4009273946285248, 0.05459494888782501, 0.49774935841560364, 0.18165317177772522, -0.3894374966621399, 0.5401999950408936, 0.6529034376144409, 0.16462375223636627, -0.24524909257888794, -0.025795146822929382, 0.8382540941238403, -0.6841393113136292, -0.918066680431366, -0.5460540056228638, 0.18659155070781708, -0.36558231711387634, -0.18049506843090057, 0.47357431054115295, 0.5608134269714355, 0.8350908756256104, -0.001410622033290565, 0.8348588347434998, -0.0697886273264885, 0.6934300065040588, -0.4776000380516052, 0.9110178351402283, -0.9344823360443115, -0.23141968250274658, -0.1812615990638733, -1.2311457395553589, -0.041018493473529816, 0.18983127176761627, -0.4894918203353882, 0.06092461571097374, 1.126312017440796, 0.7419137358665466, 0.12442456185817719, 0.23251017928123474, 0.45508307218551636, -0.15691499412059784, 0.18396303057670593, 0.398456871509552, 0.230226069688797, -0.2461300492286682, 0.7748993635177612, -0.27290478348731995, -0.4099191725254059, -0.4185715317726135, -0.9277036786079407, -1.1066166162490845, -0.46441975235939026, -0.13025277853012085, -0.06048182025551796, -0.11952531337738037, 0.45118746161460876, 0.6292199492454529, -0.924530029296875, -0.025029711425304413, 0.31474819779396057, 0.38635504245758057, -0.19460253417491913, -0.23371201753616333, 0.4229556620121002, -0.3532074987888336, -0.6315006017684937, 0.2992113530635834, 0.16324664652347565, 0.02549912966787815, 0.16162283718585968, -0.05207231268286705, 0.05534452572464943, -0.23493067920207977, 0.49066200852394104, 0.296257883310318, -0.3627100884914398, -0.21277013421058655, -0.28090518712997437, -0.07613862305879593, -0.11082148551940918, 0.7130704522132874, -0.6426567435264587, 0.41624030470848083, 0.3668459355831146, 0.8510526418685913, 0.7721198201179504, -0.1942748725414276, 0.35329779982566833, -0.4760562479496002, 0.4419909417629242, 0.13831831514835358, 0.08127863705158234, 0.10370481014251709, -0.6032413244247437, 0.5929531455039978, 0.5537519454956055, -0.345669686794281, -0.8230230212211609, -0.3698429763317108, -0.956889808177948, -0.4956352114677429, 0.8630207180976868, 0.2943929135799408, -0.2282392531633377, 0.12541377544403076, -0.2507518231868744, 0.08743154257535934, -0.395984947681427, 0.9303869009017944, 0.8024145364761353, 0.28861963748931885, -0.2684260606765747, -0.691277027130127, 0.2999320328235626, 0.4733898341655731, -0.8171663880348206, -0.8572139739990234, 0.3112665116786957, 0.36765581369400024, 0.1192934587597847, 0.31728479266166687, 0.11502230167388916, 0.33989012241363525, -0.07999694347381592, 0.07411515712738037, -0.3310106098651886, -0.032960932701826096, -0.15636037290096283, 0.42512038350105286, -0.2861216366291046, -0.36318573355674744 ]
http://arxiv.org/abs/2402.11827v1
http://arxiv.org/pdf/2402.11827v1
Ask Optimal Questions: Aligning Large Language Models with Retriever's Preference in Conversational Search
2024-02-19T04:41:31
2024-02-19T04:41:31
Chanwoong Yoon, Gangwoo Kim, Byeongguk Jeon, Sungdong Kim, Yohan Jo, Jaewoo Kang
cs.IR
cs.IR, cs.CL
Conversational search, unlike single-turn retrieval tasks, requires understanding the current question within a dialogue context. The common approach of rewrite-then-retrieve aims to decontextualize questions to be self-sufficient for off-the-shelf retrievers, but most existing methods produce sub-optimal query rewrites due to the limited ability to incorporate signals from the retrieval results. To overcome this limitation, we present a novel framework RetPO (Retriever's Preference Optimization), which is designed to optimize a language model (LM) for reformulating search queries in line with the preferences of the target retrieval systems. The process begins by prompting a large LM to produce various potential rewrites and then collects retrieval performance for these rewrites as the retrievers' preferences. Through the process, we construct a large-scale dataset called RF collection, containing Retrievers' Feedback on over 410K query rewrites across 12K conversations. Furthermore, we fine-tune a smaller LM using this dataset to align it with the retrievers' preferences as feedback. The resulting model achieves state-of-the-art performance on two recent conversational search benchmarks, significantly outperforming existing baselines, including GPT-3.5.
[ -0.35050585865974426, -0.776204526424408, 0.4098614454269409, -0.1444050669670105, -0.319271445274353, -0.16191211342811584, -0.2735694944858551, -0.28907766938209534, 0.4748951196670532, 0.8137755393981934, -0.8352416753768921, -0.14646267890930176, -0.18533258140087128, 0.1707903891801834, -0.34319019317626953, 0.87941575050354, 0.19613578915596008, -0.24339932203292847, 0.007529200054705143, -0.048317957669496536, -0.33631184697151184, -0.2697913944721222, -0.6874328851699829, -0.17208541929721832, 0.5707632899284363, 0.6172531247138977, 0.9513314366340637, 0.6111684441566467, 0.42994701862335205, 0.32795581221580505, -0.026384854689240456, 0.26421624422073364, -0.7608790397644043, 0.7138020992279053, -0.21835048496723175, -0.6773158311843872, -0.022807257249951363, -0.3186441659927368, 0.41915369033813477, 0.74306720495224, -0.660873532295227, -0.11627604067325592, -0.3118838369846344, 0.7215535640716553, -0.612917959690094, -0.08040428906679153, -1.050127387046814, 0.08584442734718323, 0.12743991613388062, -0.5492672324180603, -0.5025779008865356, -0.73882657289505, 0.5980362892150879, -0.7947766780853271, 0.3987116515636444, 0.4605124890804291, 0.8598608374595642, 0.09282802790403366, -0.4113921523094177, -0.1582929641008377, -0.42962244153022766, 0.8919191956520081, -0.44846001267433167, 0.6577329039573669, 0.3741868734359741, 0.4063485264778137, -0.3516162931919098, -0.474217027425766, -0.1970655471086502, -0.13758794963359833, -0.06126035004854202, -0.023243853822350502, -0.30373266339302063, 0.008587797172367573, -0.17654666304588318, 0.2907692492008209, -0.6439710855484009, -0.1014045849442482, -0.1908184438943863, 0.09624150395393372, 0.6558569669723511, 0.22368592023849487, 0.10876491665840149, -0.17180924117565155, -0.14748862385749817, -0.11702733486890793, -0.6475557684898376, -0.034890491515398026, 0.24399836361408234, 0.4416491985321045, 0.564972996711731, 0.6197581887245178, -0.6198012232780457, 0.7951333522796631, 0.34169137477874756, 0.12741073966026306, 0.0012531414395198226, -0.5143914222717285, -0.12996143102645874, -0.1613278090953827, 0.6429768800735474, 0.5141025185585022, 0.25377920269966125, -0.2928275465965271, -0.370140016078949, -0.5821604132652283, 0.45073172450065613, -0.8419825434684753, -0.0737529918551445, 0.30335497856140137, -0.44045278429985046, -0.30518776178359985, -0.288848340511322, -0.6494452357292175, -0.04504995420575142, -0.41291946172714233, 0.3759715259075165, -0.30672287940979004, -0.31796813011169434, 0.39840948581695557, -0.08412350714206696, 0.3786454200744629, 0.3453253507614136, -1.2933341264724731, 0.17076376080513, 0.6044143438339233, 0.5251637697219849, 0.13445234298706055, 0.101763054728508, -0.48157256841659546, -0.03621479496359825, -0.3622302711009979, 0.948638916015625, -0.787082314491272, -0.6308838725090027, 0.20144465565681458, 0.0887613296508789, -0.026103684678673744, -0.6826721429824829, 0.5505363941192627, -0.9341355562210083, 0.39051005244255066, -0.5791364908218384, -0.3494087755680084, 0.20725932717323303, 0.3966442942619324, -0.47703808546066284, 0.9188480973243713, 0.02375904843211174, -0.44369181990623474, 0.26013803482055664, -0.46877622604370117, -0.24653127789497375, 0.011668710969388485, -0.07025991380214691, -0.18313488364219666, 0.2539456784725189, 0.2902599275112152, 0.045916762202978134, -0.5366516709327698, 0.47679126262664795, -0.1279159039258957, -0.27237457036972046, 0.34288591146469116, -0.16562128067016602, 0.36346375942230225, 0.31727758049964905, -0.10978101938962936, 0.046408604830503464, -0.3096395432949066, 0.4163341522216797, 0.25316932797431946, -0.4978744685649872, -0.2541086971759796, 0.202417254447937, -0.17840363085269928, -0.24450458586215973, 0.46079081296920776, -0.6242277026176453, 0.20227904617786407, -0.6843493580818176, 0.46094077825546265, 0.7378875017166138, -0.14764952659606934, 0.4792060852050781, -0.40704646706581116, 0.6500799655914307, -0.42588260769844055, 0.3374233841896057, -0.22683554887771606, -0.08178935945034027, -0.7319642305374146, 0.2318229228258133, 0.10288586467504501, 0.25331127643585205, -0.5817878842353821, 0.3273143768310547, -0.4259341061115265, -0.40486499667167664, -0.6161309480667114, -0.022095799446105957, 0.4640277028083801, 0.557410717010498, 0.23891997337341309, -0.12310584634542465, -0.5521544814109802, -1.2556968927383423, -0.3745167553424835, -0.17847880721092224, -0.0029064880218356848, 0.7987600564956665, 0.16898827254772186, 0.037453729659318924, 1.0472891330718994, -0.90096116065979, -0.003888737643137574, -0.3143825829029083, -0.08458272367715836, 0.215959832072258, 0.39828136563301086, 0.1651189923286438, -1.0406314134597778, -0.4613659381866455, 0.07385247945785522, -0.3857329487800598, -0.3166236877441406, 0.32578447461128235, -0.4802730679512024, 0.027300942689180374, 0.44761112332344055, -0.5069653987884521, -0.01024092361330986, 0.11452388763427734, 0.0531938336789608, 0.44554880261421204, -0.3115982413291931, 0.23702391982078552, -0.9309528470039368, 0.27815234661102295, -0.1803629994392395, -0.0924474447965622, -0.4500192701816559, 0.24701473116874695, -0.13011525571346283, -0.20439428091049194, -0.28674498200416565, 0.49004918336868286, -0.4297986924648285, 0.07415670156478882, -0.3152366578578949, 0.44499099254608154, 0.09475447982549667, 0.424313485622406, 0.2217743992805481, 0.7421020269393921, 0.1339767724275589, -0.4415751099586487, 0.233724445104599, 0.5163887143135071, -0.17059093713760376, 0.5924514532089233, -0.9489927887916565, 0.4200858771800995, -0.27872905135154724, 0.3438139855861664, -1.2077374458312988, -0.28530624508857727, -0.17290548980236053, -0.46408015489578247, 0.14198480546474457, -0.3666563928127289, -0.35891589522361755, -0.08474099636077881, -0.47033071517944336, 0.5776071548461914, 0.20430853962898254, -0.6494589447975159, 0.5307333469390869, 0.5738798975944519, -0.1751302033662796, -0.7800214290618896, -0.23787908256053925, -0.009514829143881798, -0.08799473941326141, -0.8504374027252197, 0.4596201181411743, -0.1694214940071106, 0.1379426270723343, -0.37247946858406067, -0.14942041039466858, 0.0024428521282970905, -0.1001623272895813, -0.1862456500530243, 0.19693824648857117, -0.15222884714603424, 0.13690169155597687, 0.15807756781578064, -0.11075984686613083, -0.01061653159558773, -0.21421846747398376, 0.8871203064918518, -0.1259864866733551, -0.20777325332164764, -0.21864372491836548, 0.5858650803565979, 0.4060879349708557, -0.4163252115249634, 0.43914303183555603, 0.03895813971757889, -0.04199017956852913, -0.016397787258028984, -0.7935926914215088, -0.5289632678031921, -0.5093746185302734, 0.3992006480693817, -0.5644128918647766, -1.0506162643432617, 0.42447730898857117, 0.01825946755707264, 0.20703013241291046, 0.048331163823604584, 0.2946326434612274, -0.018945110961794853, 1.337489128112793, 0.43054965138435364, -0.013414636254310608, 0.6508851051330566, -0.06373365968465805, 0.46663835644721985, -0.8945866227149963, -0.423846572637558, -0.7946127653121948, -0.2028188854455948, -0.5740875005722046, -0.15976117551326752, 0.21100971102714539, -0.1922542154788971, -0.25439655780792236, 0.4521818459033966, -0.6227949261665344, 0.5811676979064941, 0.7010964751243591, 0.20340731739997864, 0.2733076214790344, 0.004452602472156286, -0.050443392246961594, -0.28528550267219543, -0.6790921688079834, -0.37292054295539856, 1.2306095361709595, -0.011752229183912277, 0.8031236529350281, 0.27181515097618103, 0.7859876155853271, -0.09061548113822937, 0.05895860120654106, -0.7488880753517151, 0.5685956478118896, -0.01935104839503765, -0.8999007344245911, -0.5090276598930359, -0.4254930019378662, -1.3971232175827026, 0.6836813688278198, 0.08221009373664856, -0.741070032119751, 0.2391185313463211, 0.24603688716888428, -0.28483521938323975, -0.1495886743068695, -0.6785715222358704, 0.8230053782463074, -0.25782129168510437, -0.4410132169723511, -0.21851471066474915, -0.7185474038124084, 0.13470607995986938, 0.03810084983706474, -0.05189986526966095, -0.0955352783203125, -0.047905050218105316, 0.48952311277389526, -0.21813462674617767, 0.4115855097770691, -0.09084782004356384, 0.08074715733528137, 0.056095633655786514, 0.38701003789901733, 0.7072686553001404, 0.02663365751504898, -0.12190742045640945, -0.595578670501709, 0.3351106345653534, -0.1974797546863556, -0.7744603157043457, 0.5841013193130493, -0.4890049397945404, -0.9832980036735535, -0.15935344994068146, -0.3541354537010193, -0.18611156940460205, 0.3370218575000763, 0.07556070387363434, 0.33271563053131104, -0.45723190903663635, 0.49752283096313477, 0.7657149434089661, -0.18300890922546387, -0.08178175240755081, 0.8186355829238892, -0.36244726181030273, -0.1760401576757431, 0.6979904770851135, -0.2508845627307892, 0.3005900979042053, 0.7451617121696472, 0.35196471214294434, -0.772763192653656, -0.4558371603488922, -0.26221567392349243, 0.3835703134536743, -0.5048251748085022, -0.23288239538669586, -0.7097529172897339, 0.15954425930976868, -0.38269293308258057, -0.1814657747745514, -0.471851110458374, -0.08448828011751175, -0.11480163037776947, 0.04862887039780617, 0.012413584627211094, 0.02155711129307747, 0.16466876864433289, 0.2592999041080475, -0.46367204189300537, 0.23651482164859772, 0.2675092816352844, 0.22581543028354645, -0.12335170060396194, -0.6352400779724121, -0.05423355475068092, 0.24372023344039917, -0.3735336363315582, -0.6173826456069946, 0.6108959317207336, 0.03867384418845177, 0.5167496800422668, 0.22193153202533722, 0.3159853219985962, 0.7232670187950134, -0.5023406744003296, 0.3641808331012726, 0.015532256104052067, -0.720730721950531, 0.9707080721855164, -0.5706753134727478, 0.10027182847261429, 0.9149869084358215, 0.2700192630290985, -0.7758565545082092, -0.08358049392700195, -0.5165557861328125, -1.019370436668396, 0.7430235743522644, 0.2589132785797119, 0.29429692029953003, -0.21948803961277008, 0.4686899781227112, -0.019814107567071915, 0.41791054606437683, -0.4331017732620239, 0.07900992035865784, -0.06714174896478653, -0.019773749634623528, 0.2847018837928772, -0.28985917568206787, -0.27571818232536316, 0.08575563877820969, 0.5898168087005615, -0.33516472578048706, 0.25327977538108826, 0.16695095598697662, 0.03738719969987869, -0.19481326639652252, 0.35932379961013794, 0.3263450264930725, 0.5309546589851379, -0.5913791656494141, -0.21523217856884003, -0.09775374829769135, -0.0812268853187561, 0.03411807119846344, -0.045162368565797806, -0.2037297636270523, -0.2534470558166504, -0.23908771574497223, 0.4680243134498596, 0.43669530749320984, -1.0529305934906006, 0.3338924050331116, -0.3204241693019867, -0.24524758756160736, -0.1934863179922104, 0.11930674314498901, 0.16624587774276733, 0.04318517446517944, 0.2745693027973175, -0.326266884803772, 0.3235667645931244, -0.5675246715545654, 0.05754932761192322, 0.7579723596572876, -0.1411636620759964, -0.15307781100273132, 0.5249307155609131, 0.32606321573257446, -0.44361332058906555, 0.8222815990447998, 0.21717320382595062, -0.41078200936317444, 0.3036538064479828, 0.5666917562484741, 0.7117838859558105, -0.32684943079948425, 0.26064735651016235, 0.39299944043159485, 0.115148164331913, -0.29210370779037476, 0.2950451076030731, -0.22639572620391846, -0.9833117127418518, -0.06911330670118332, -0.5374768972396851, -0.47396615147590637, 0.07897194474935532, -0.757585346698761, 0.04239507392048836, -0.23747949302196503, 0.0013796655694022775, 0.059816740453243256, 0.03423898294568062, -0.3922790586948395, 0.24236461520195007, -0.5966972708702087, 0.612464964389801, -0.33832380175590515, 0.5406209826469421, 0.41003310680389404, -0.41782695055007935, -0.6918570399284363, -0.3503393828868866, -0.09827394038438797, -1.0772615671157837, 0.5363982915878296, -0.01075866911560297, -0.37650805711746216, 0.03689830005168915, -0.44889917969703674, -1.1719762086868286, 1.0012911558151245, 0.6514900922775269, -0.6005699038505554, -0.15586981177330017, 0.019487647339701653, 0.575951874256134, -0.46829497814178467, 0.43946173787117004, 0.7211692333221436, 0.3029768764972687, 0.290122389793396, -0.9535638093948364, 0.0396004281938076, -0.21207624673843384, 0.11320333927869797, 0.49721091985702515, -0.8752415180206299, 0.38071179389953613, -0.13924925029277802, -0.2208661586046219, 0.31007176637649536, 0.2544794976711273, 0.4361411929130554, 0.0767282173037529, 0.49485382437705994, 0.42327380180358887, 0.5866162180900574, -0.15139254927635193, 1.0321531295776367, -0.3907414972782135, 0.3354845941066742, 0.9956213235855103, -0.2660757303237915, 1.0520933866500854, 0.5490769743919373, -0.08589397370815277, -0.0010982647072523832, 0.7581241130828857, 0.4038553833961487, 0.6011855006217957, 0.41701772809028625, -0.19556546211242676, -0.4615379571914673, -0.2390812188386917, -0.2880672812461853, 0.6133734583854675, 0.049412667751312256, -0.4688098132610321, -0.11020387709140778, -0.3646419644355774, 0.0626465231180191, 0.14821426570415497, 0.26655086874961853, 0.8112918138504028, -0.2059229165315628, -1.172351360321045, 0.6846415996551514, 0.08255621790885925, 0.4840032756328583, -0.5816700458526611, 0.2646746337413788, -0.7505336999893188, 0.2523360550403595, -0.04185355827212334, -0.5926223993301392, 0.2068328559398651, -0.31903719902038574, -0.21054553985595703, -0.20800864696502686, 0.4271458387374878, -0.5273922681808472, -0.25932639837265015, 0.19417348504066467, 0.47098055481910706, 0.2241559773683548, -0.2749798893928528, -0.8205481767654419, 0.06647755950689316, 0.44667795300483704, -0.3203835189342499, 0.43843236565589905, 0.35270342230796814, 0.04152470454573631, 0.9366508722305298, 0.8138240575790405, -0.18859724700450897, -0.0577375590801239, 0.2514473497867584, 0.8986991047859192, -0.6611921191215515, -0.3385067582130432, -0.32017067074775696, 0.1052272617816925, -0.01954413205385208, -0.39243078231811523, 0.4687696397304535, 0.804867684841156, 0.8164393305778503, 0.1602676808834076, 0.4952753484249115, 0.19341342151165009, 0.6208924651145935, -0.38315391540527344, 0.3093494474887848, -0.7147538661956787, 0.33510324358940125, -0.20474116504192352, -1.0516270399093628, -0.025863640010356903, 0.71131831407547, -0.3051955997943878, 0.19166666269302368, 0.42867258191108704, 1.279728651046753, -0.06288143247365952, 0.32848477363586426, 0.25129589438438416, -0.19054105877876282, 0.662696897983551, 0.6256516575813293, 0.798643946647644, -0.42839300632476807, 0.7093309164047241, 0.027312636375427246, -0.08453002572059631, -0.44193074107170105, -0.5429030656814575, -0.3251979649066925, -0.621002733707428, -0.17289504408836365, -0.09179151058197021, 0.21654103696346283, 0.8773790597915649, 0.7239877581596375, -0.41140902042388916, -0.44121626019477844, -0.11260868608951569, -0.03573504835367203, 0.2317616492509842, -0.2347380518913269, 0.23349973559379578, -0.522186815738678, -0.8955305814743042, 0.5270203948020935, 0.20956340432167053, -0.27849531173706055, -0.06174676492810249, -0.061225999146699905, -0.24251607060432434, 0.0434672050178051, 0.5357121229171753, 0.38169926404953003, -0.8091917634010315, -0.30397942662239075, 0.49517157673835754, 0.12004699558019638, 0.18417996168136597, 1.0102020502090454, -0.6465720534324646, 0.8250387907028198, 0.5002046823501587, 0.6833129525184631, 0.7298972010612488, 0.29146608710289, 0.8586906790733337, -0.4980736970901489, -0.30452606081962585, 0.4121297001838684, 0.1673930436372757, 0.2921988368034363, -0.354705274105072, 0.4074608087539673, -0.09206979721784592, -0.8324654698371887, -0.9031842947006226, 0.31898564100265503, -0.9118891954421997, -0.24302226305007935, 0.9836745858192444, 0.09185654670000076, -0.022659005597233772, -0.05174548923969269, -0.44453907012939453, -0.15256644785404205, -0.6990368366241455, 0.8914044499397278, 0.44431790709495544, -0.34096559882164, -0.28504154086112976, -0.29536205530166626, 0.32467639446258545, 0.9106550216674805, -0.42085492610931396, 0.36593344807624817, 0.5283677577972412, 0.41950488090515137, -0.017014313489198685, 0.860013484954834, -0.20361283421516418, 0.19650812447071075, -0.2677513659000397, -0.35294559597969055, 0.21675899624824524, -0.08212748914957047, 0.06928420811891556, 0.20829345285892487, 0.13607703149318695, -0.17921103537082672 ]
http://arxiv.org/abs/2402.11821v2
http://arxiv.org/pdf/2402.11821v2
Microstructures and Accuracy of Graph Recall by Large Language Models
2024-02-19T04:29:45
2024-02-20T03:23:49
Yanbang Wang, Hejie Cui, Jon Kleinberg
cs.LG
cs.LG, cs.CL, cs.IR, cs.SI
Graphs data is crucial for many applications, and much of it exists in the relations described in textual format. As a result, being able to accurately recall and encode a graph described in earlier text is a basic yet pivotal ability that LLMs need to demonstrate if they are to perform reasoning tasks that involve graph-structured information. Human performance at graph recall has been studied by cognitive scientists for decades, and has been found to often exhibit certain structural patterns of bias that align with human handling of social relationships. To date, however, we know little about how LLMs behave in analogous graph recall tasks: do their recalled graphs also exhibit certain biased patterns, and if so, how do they compare with humans and affect other graph reasoning tasks? In this work, we perform the first systematical study of graph recall by LLMs, investigating the accuracy and biased microstructures (local structural patterns) in their recall. We find that LLMs not only underperform often in graph recall, but also tend to favor more triangles and alternating 2-paths. Moreover, we find that more advanced LLMs have a striking dependence on the domain that a real-world graph comes from -- by yielding the best recall accuracy when the graph is narrated in a language style consistent with its original domain.
[ -0.08680146187543869, -0.9949461817741394, 0.7068051099777222, -0.06094491481781006, 0.06739551573991776, 0.20244422554969788, 0.015976740047335625, -0.43476784229278564, 0.3700396716594696, 0.3718910813331604, -0.11755292117595673, -0.7650215029716492, -0.4782707095146179, 0.11890126764774323, -0.376308798789978, 0.5715128183364868, -0.3000051975250244, -0.006951065268367529, -0.3657805919647217, -0.04415323957800865, -0.12453275173902512, -0.8549501895904541, -0.798332154750824, -0.7698971033096313, 0.8085070848464966, 0.21796299517154694, 0.673832356929779, 0.9562613368034363, 0.07050830870866776, 0.2622072100639343, -0.3828926682472229, 0.1479583978652954, -0.6272104978561401, -0.1777559518814087, -0.07720264047384262, -0.6417837142944336, -0.7091720104217529, -0.06050172820687294, 0.8815089464187622, 1.0352317094802856, 0.11654740571975708, 0.04889164865016937, 0.4524073302745819, 0.9611093997955322, -0.055374521762132645, 0.607799768447876, -0.5976913571357727, -0.09015489369630814, -0.40255242586135864, -0.28286322951316833, -0.7406090497970581, -0.5267212390899658, -0.08110634237527847, -0.5465694069862366, 0.43448585271835327, 0.3470818102359772, 0.7069234848022461, -0.21051838994026184, -0.5825852751731873, -0.38278648257255554, -0.49240007996559143, 0.1751306802034378, -0.22570683062076569, 0.3479768931865692, 0.6649910807609558, 0.017019588500261307, -0.5603305101394653, -0.7319366931915283, -0.011671549640595913, 0.039800554513931274, -0.368491530418396, -0.12245447188615799, -0.26952874660491943, 0.1551879644393921, 0.31832072138786316, 0.21450267732143402, -0.50108402967453, 0.34200799465179443, -0.4672253429889679, -0.6130754351615906, 0.4301627576351166, 0.3783191740512848, 0.19439385831356049, -0.34858542680740356, -0.21186858415603638, -0.20477555692195892, -1.1139627695083618, 0.031767912209033966, 0.35212820768356323, 0.4493246376514435, 0.012796120718121529, 0.6083385348320007, -0.315116286277771, 0.42779284715652466, -0.0755361020565033, 0.04451288282871246, 0.23176003992557526, -0.1559235006570816, -0.12118229269981384, 0.14432740211486816, 0.4664326608181, 0.20124977827072144, 0.7563199400901794, -0.17806801199913025, -0.05964924022555351, -0.024681756272912025, 0.06268034875392914, -0.5186233520507812, -0.6231646537780762, -0.31309041380882263, -0.6951364278793335, -0.013142903335392475, -0.0722849890589714, -0.40423089265823364, -0.5002732872962952, -0.14302395284175873, 0.12296506017446518, -0.5052933096885681, 0.020121034234762192, -0.066532664000988, -0.22536109387874603, -0.05353317782282829, 0.2243444323539734, -0.7485109567642212, 0.44801750779151917, 0.641921877861023, 1.0628300905227661, -0.11486627906560898, -0.6346851587295532, -0.35921844840049744, 0.16234807670116425, -0.42707177996635437, 0.8853453993797302, -0.49117380380630493, -0.2628413736820221, -0.07946926355361938, 0.06033964827656746, -0.16510680317878723, -0.5980483293533325, 0.35624387860298157, -0.5942010283470154, -0.23519504070281982, -0.7548432350158691, -0.7217257022857666, -0.3910781145095825, 0.08974890410900116, -0.7823348641395569, 0.8766764402389526, 0.08600541204214096, -0.834067702293396, 0.19226782023906708, 0.194906085729599, -0.6059827208518982, -0.25869718194007874, -0.405773401260376, -0.303911030292511, 0.07728642225265503, -0.009366781450808048, 0.5388000011444092, 0.018811985850334167, -0.09141183644533157, -0.44896799325942993, -0.5768804550170898, 0.26589539647102356, -0.3468240797519684, 0.8018410205841064, -0.2113959640264511, 0.00528502743691206, -0.016360854730010033, -0.6014645099639893, -0.22698204219341278, 0.3833323121070862, -0.5319667458534241, -0.6169964671134949, 0.23934289813041687, -0.6880803108215332, 0.13400281965732574, 0.03423572704195976, -0.550338625907898, 0.15394814312458038, -0.11956770718097687, 0.5479004383087158, 1.1822636127471924, 0.12832196056842804, 0.457035630941391, -0.48493608832359314, 0.1368454247713089, -0.0642547607421875, -0.11457499116659164, -0.10504978895187378, -0.4830201268196106, -0.5592593550682068, -0.25482112169265747, 0.12692338228225708, 0.4654044806957245, -0.5050871968269348, -0.037955205887556076, -0.3291754722595215, -0.3137282729148865, 0.14243899285793304, 0.1671476513147354, 0.4734358787536621, 0.5020264387130737, 0.07179372012615204, -0.4403126835823059, -0.5646547675132751, -0.9128423929214478, -0.22218239307403564, -0.14695383608341217, 0.1478348672389984, 0.6817317605018616, 0.30263552069664, -0.13612507283687592, 0.8433488011360168, -0.6351321339607239, -0.3984268605709076, -0.2493113875389099, 0.005377733148634434, 0.12373866885900497, 0.03324145823717117, 0.6485022902488708, -0.2985318601131439, -0.36443206667900085, -0.3272949159145355, -0.7457494735717773, -0.08074367791414261, 0.20864993333816528, -0.24316950142383575, 0.42895302176475525, 0.6534917950630188, -0.5914262533187866, 0.4385862946510315, 0.3986680805683136, -0.6346468329429626, 0.4059422016143799, -0.22941836714744568, -0.21174374222755432, -0.5854419469833374, -0.2199741154909134, -0.12026647478342056, -0.2673039734363556, -0.5231725573539734, -0.5063967704772949, 0.06657228618860245, 0.2517678141593933, -0.08630528301000595, 0.5798642039299011, -0.7265146970748901, -0.4624515473842621, 0.06514550745487213, 0.33964183926582336, -0.01990688033401966, 0.5998275876045227, -0.15636178851127625, 0.6826183795928955, 0.24930225312709808, -0.7085908055305481, -0.13777950406074524, 0.10464467853307724, -0.4080103933811188, 0.29091301560401917, -0.4643528461456299, 0.45601391792297363, -0.23012125492095947, 0.3101264536380768, -1.2288960218429565, -0.20553411543369293, -0.07327115535736084, -0.27912452816963196, 0.4403442442417145, -0.10464490205049515, -0.6510187387466431, -0.4032088816165924, -0.16070803999900818, 0.32732513546943665, 0.4725784659385681, -0.4214760661125183, 0.5428562164306641, 0.574891209602356, -0.2488599717617035, -0.3049663007259369, -0.47601261734962463, -0.33106371760368347, 0.025884222239255905, -0.40847957134246826, 0.050809506326913834, 0.1974688172340393, -0.19238066673278809, -0.0869622677564621, -0.40060049295425415, 0.03870607540011406, 0.1697840541601181, 0.44277966022491455, 0.3278612494468689, -0.04442465305328369, 0.09705043584108353, -0.1302574872970581, -0.14977072179317474, 0.15165600180625916, -0.08227165788412094, 0.981837809085846, -0.17068065702915192, -0.2981225848197937, -0.09517306834459305, -0.035697437822818756, 0.36353322863578796, 0.15371598303318024, 0.279543399810791, 0.1304885894060135, -0.4646022319793701, 0.06407876312732697, -0.3876113295555115, -0.11859779804944992, -0.4271135628223419, 0.6166781783103943, -0.511451244354248, -1.0167922973632812, 0.8490238785743713, -0.027829302474856377, -0.36942434310913086, 0.3509988486766815, 0.36919987201690674, -0.35272061824798584, 1.01566743850708, 0.3273657560348511, -0.3776381313800812, 0.5224661827087402, -0.13821916282176971, -0.13717612624168396, -0.8597200512886047, -0.25409263372421265, -0.5397040247917175, -0.42998212575912476, -0.44363468885421753, -0.41694045066833496, 0.28295785188674927, 0.11263737082481384, -0.5132340788841248, 0.07972478121519089, -0.23159250617027283, 0.6940250992774963, 0.5274339318275452, 0.4357788562774658, 0.3999366760253906, 0.43627551198005676, -0.3347197473049164, -0.09483715146780014, -0.8484593033790588, -0.6745095252990723, 0.9340223073959351, 0.3366380035877228, 0.9037359356880188, -0.17217287421226501, 0.7285816669464111, 0.18910470604896545, 0.21245001256465912, -0.5122304558753967, 0.6668127179145813, -0.391381174325943, -0.4085678458213806, -0.22509898245334625, -0.517308235168457, -1.1985915899276733, 0.09894447028636932, 0.029517613351345062, -0.8277776837348938, 0.09912020713090897, 0.5390706658363342, -0.0854496881365776, 0.475607305765152, -0.5952573418617249, 0.6379730105400085, -0.18705178797245026, -0.16153375804424286, -0.11886754631996155, -0.40580758452415466, 0.19563032686710358, 0.31836503744125366, 0.3141558766365051, -0.23769614100456238, 0.30019962787628174, 0.6570199131965637, 0.22629737854003906, 1.2668285369873047, -0.025991003960371017, 0.14841187000274658, 0.36356934905052185, 0.700195848941803, 0.7266980409622192, -0.42083659768104553, -0.09630320966243744, 0.365387886762619, -0.23488004505634308, -0.3347695469856262, -0.44364285469055176, 0.5493316054344177, -0.7853250503540039, -0.4488503336906433, -0.33209022879600525, -0.5565646290779114, 0.09120259433984756, 0.3375528156757355, 0.20717650651931763, 0.6223373413085938, -0.5333309769630432, 0.03361502289772034, 0.7321704626083374, -0.05275692418217659, 0.24990101158618927, 0.15733268857002258, -0.45323073863983154, -0.17484498023986816, 0.9681035876274109, 0.6186204552650452, 0.5711790323257446, 0.37536051869392395, 0.131283700466156, 0.056152284145355225, -0.6363615393638611, -0.2408268004655838, 0.4113330841064453, -0.9053428173065186, -0.15075115859508514, -0.5862002372741699, -0.2885211408138275, -0.059547681361436844, -0.20125581324100494, -0.25495150685310364, -0.7114474773406982, -0.34091734886169434, -0.36366716027259827, 0.2666504979133606, 1.1365007162094116, 0.14602160453796387, -0.19615043699741364, -0.4614134728908539, 0.20454277098178864, 0.2286413013935089, 0.4264359772205353, 0.25611254572868347, -0.1874217987060547, -0.12449440360069275, 0.00014797557378187776, -0.14705052971839905, -0.7946346402168274, 0.09627238661050797, 0.07132051885128021, 0.7489456534385681, 0.089399054646492, -0.26236096024513245, 0.5933037400245667, -0.6495662331581116, 0.43270087242126465, -0.26507067680358887, -0.6747202277183533, 0.3083447515964508, -0.20709797739982605, 0.16288402676582336, 0.24331018328666687, 0.3110225796699524, -0.4304935038089752, -0.34015995264053345, -0.6089485287666321, -0.6815972328186035, 0.591912031173706, 0.10416051745414734, 0.007165595889091492, -0.3877480924129486, 0.7570465803146362, -0.04074771702289581, -0.12838025391101837, -0.56271892786026, -0.22748497128486633, -0.11426940560340881, -0.2600879371166229, -0.11823699623346329, -0.46411892771720886, -0.1967729926109314, -0.22351127862930298, 0.22998569905757904, -0.22424206137657166, 0.4885560870170593, 0.333855539560318, -0.23802803456783295, 0.030991675332188606, -0.008605497889220715, 0.4419575035572052, 0.657234251499176, -0.24981947243213654, 0.6711035370826721, 0.3452475070953369, -0.5814917683601379, 0.06788584589958191, -0.2330341339111328, -0.36524394154548645, -0.12513260543346405, 0.5855242609977722, 0.6435775756835938, 0.37801414728164673, -0.20928017795085907, 0.14404183626174927, 0.18730774521827698, 0.006322489585727453, -0.18018531799316406, 0.12566059827804565, 0.2557750940322876, 0.3797318935394287, 0.25768446922302246, 0.013717499561607838, -0.03044275753200054, -0.8626643419265747, 0.04309998080134392, 0.5127635598182678, -0.36498937010765076, -0.41398948431015015, 0.4309764802455902, -0.14049018919467926, -0.5843547582626343, 0.8957409262657166, -0.31224602460861206, -0.603148341178894, 0.6608614325523376, 0.8567252159118652, 0.6723641753196716, 0.0558253638446331, 0.025282295420765877, 0.46312814950942993, 0.3520466089248657, -0.13063402473926544, 0.20553259551525116, 0.24718311429023743, -0.9942318201065063, 0.007058421149849892, -0.3876822292804718, -0.23076283931732178, -0.5100146532058716, -0.6157539486885071, -0.05624322220683098, -0.6830435991287231, -0.21082575619220734, -0.16866204142570496, -0.11782925575971603, -0.5659782290458679, -0.004374206531792879, 0.23871944844722748, 1.0542256832122803, -0.909152090549469, 0.9037575125694275, 0.4260314106941223, -0.2890390157699585, -0.8570582270622253, -0.3594718873500824, 0.2701317071914673, -1.0581471920013428, 0.6128233075141907, 0.07556433975696564, -0.40524640679359436, 0.06010618060827255, -0.45770254731178284, -1.0317689180374146, 1.4470415115356445, 0.38259199261665344, -0.4578745365142822, -0.21358071267604828, -0.0827331617474556, 0.5050822496414185, -0.5955952405929565, -0.04405272752046585, 0.7677570581436157, 0.06155840680003166, 0.04135369136929512, -0.7197705507278442, 0.308986634016037, 0.06250061839818954, 0.12009526789188385, 0.31012052297592163, -0.8972923159599304, 1.1125786304473877, -0.3052769601345062, -0.33937811851501465, -0.21984948217868805, 0.45160558819770813, 0.5396649241447449, 0.3089689016342163, 0.2660767436027527, 0.1876085102558136, 1.1999402046203613, -0.0966176763176918, 1.2968082427978516, 0.06609974056482315, 0.2162632793188095, 1.2359193563461304, -0.30449411273002625, 0.7935245037078857, 0.1318521350622177, -0.14650613069534302, 0.748229444026947, 0.7440347671508789, 0.26972758769989014, 0.29914000630378723, -0.030298788100481033, 0.42300620675086975, -0.221403107047081, 0.12879787385463715, -0.053209077566862106, 0.29728394746780396, 0.37015700340270996, -0.6289026141166687, 0.13844165205955505, -0.4994221031665802, 0.46192535758018494, 0.014350966550409794, -0.5005710124969482, 0.6837136745452881, 0.27197495102882385, -0.31688761711120605, 0.45439931750297546, -0.29420292377471924, 0.1656070500612259, -0.4363365173339844, -0.016921743750572205, -0.4622427225112915, 0.27042341232299805, -0.19717051088809967, -0.965297520160675, 0.2958243489265442, -0.36761319637298584, -0.5346965789794922, -0.2713109254837036, 0.8915274143218994, -0.12583030760288239, -0.37383773922920227, 0.6344553232192993, 0.35286009311676025, 0.24765217304229736, 0.06673374027013779, -0.26470884680747986, 0.11359003186225891, 0.1418997198343277, -0.3825919032096863, 0.4677470326423645, 0.3596011698246002, -0.524320125579834, 0.7020078301429749, 0.36862242221832275, 0.19596286118030548, 0.46985846757888794, 0.3003116846084595, 0.7958236336708069, -0.8668174147605896, -0.13218209147453308, -1.0533591508865356, 0.034550897777080536, -0.14606964588165283, -0.10308607667684555, 0.9608407020568848, 0.8580707311630249, 1.0008692741394043, 0.24813304841518402, 0.4794330894947052, 0.2839302718639374, 0.3707067668437958, -0.824338972568512, 0.5075352191925049, -0.06322728097438812, 0.08484699577093124, -0.39303311705589294, -0.7952184081077576, -0.2301580011844635, 0.7147487998008728, -0.28089872002601624, 0.06284796446561813, 0.8340938091278076, 0.7598052024841309, 0.03266763687133789, 0.0491839163005352, -0.008099226281046867, 0.7356828451156616, 0.2609769403934479, 0.7437840104103088, 0.763658344745636, -0.20009180903434753, 0.5395576357841492, -0.12980517745018005, -0.23255608975887299, -0.11321551352739334, -0.6835861802101135, -1.0733057260513306, -0.4219231903553009, -0.025929637253284454, -0.6141899228096008, -0.20518460869789124, 0.7067123055458069, 0.31505516171455383, -0.5176986455917358, -0.47173383831977844, 0.04761919751763344, 0.6343831419944763, -0.17896397411823273, -0.1696212887763977, 0.5725041031837463, -0.09336143732070923, -0.3755583167076111, 0.204204261302948, 0.6051375865936279, 0.38579797744750977, 0.025533700361847878, -0.18505382537841797, -0.10928893089294434, 0.05086391791701317, 0.7725974321365356, 0.24884793162345886, -0.6375393867492676, -0.7745881676673889, 0.21620528399944305, -0.4270835220813751, 0.4616415500640869, 1.06401789188385, -0.6292389035224915, 0.23313648998737335, 0.6131783127784729, 0.12851642072200775, 0.775766134262085, 0.047045331448316574, 0.40351951122283936, -0.6461113691329956, 0.11492463946342468, -0.07526084780693054, 0.6542366147041321, 0.4312644302845001, -0.23890306055545807, 0.6688780784606934, 0.46439430117607117, -0.6161412596702576, -0.6559940576553345, 0.40363577008247375, -0.7086268663406372, -0.3280208110809326, 1.13688063621521, -0.045086003839969635, -0.29813307523727417, -0.30122098326683044, -0.4080907702445984, 0.41700831055641174, -0.11460250616073608, 0.7153717279434204, 0.8838024139404297, -0.4937026798725128, -0.00038909396971575916, -0.33782824873924255, 0.3915305435657501, -0.00818413496017456, -0.3724542558193207, 0.2531459629535675, 0.6559577584266663, 0.5048544406890869, 0.06900360435247421, 1.1504319906234741, -0.1336897611618042, 0.035132523626089096, 0.1870398372411728, -0.2339329719543457, -0.08091767132282257, -0.5192376971244812, -0.17132647335529327, 0.2801901400089264, 0.3059040307998657, 0.21502743661403656 ]
http://arxiv.org/abs/2402.11819v1
http://arxiv.org/pdf/2402.11819v1
Head-wise Shareable Attention for Large Language Models
2024-02-19T04:19:36
2024-02-19T04:19:36
Zouying Cao, Yifei Yang, Hai Zhao
cs.CL
cs.CL
Large Language Models (LLMs) suffer from huge number of parameters, which restricts their deployment on edge devices. Weight sharing is one promising solution that encourages weight reuse, effectively reducing memory usage with less performance drop. However, current weight sharing techniques primarily focus on small-scale models like BERT and employ coarse-grained sharing rules, e.g., layer-wise. This becomes limiting given the prevalence of LLMs and sharing an entire layer or block obviously diminishes the flexibility of weight sharing. In this paper, we present a perspective on $\textit{$\textbf{head-wise shareable attention for large language models}$}$. We further propose two memory-efficient methods that share parameters across attention heads, with a specific focus on LLMs. Both of them use the same dynamic strategy to select the shared weight matrices. The first method directly reuses the pre-trained weights without retraining, denoted as $\textbf{DirectShare}$. The second method first post-trains with constraint on weight matrix similarity and then shares, denoted as $\textbf{PostShare}$. Experimental results reveal our head-wise shared models still maintain satisfactory capabilities, demonstrating the feasibility of fine-grained weight sharing applied to LLMs.
[ -0.4637344181537628, -0.4491470754146576, 0.6938092112541199, 0.5939840078353882, -0.4450448453426361, -0.2443210929632187, -0.5743666291236877, -0.5350474715232849, 0.4329304099082947, 0.506587564945221, -0.49014535546302795, -0.2937822937965393, -0.8204284906387329, -0.40402230620384216, -0.3643324673175812, 0.8759307861328125, -0.32751262187957764, -0.13768233358860016, -0.42251795530319214, -0.49672138690948486, -0.4559786915779114, -0.3262370228767395, -0.851618230342865, -0.4069085121154785, 1.1216126680374146, 0.32043635845184326, 0.6564752459526062, 0.7768902778625488, 0.5704773664474487, 0.2326236218214035, -0.15772157907485962, 0.11169935017824173, -0.615517795085907, 0.19052863121032715, -0.2977035343647003, -0.15915469825267792, -0.6400054097175598, -0.06285066902637482, 0.7257798314094543, 0.8443583846092224, -0.23491734266281128, 0.0952472910284996, 0.4546930193901062, 0.6146211624145508, -0.6560630202293396, 0.050072647631168365, -0.7641834616661072, 0.17690709233283997, -0.1559724509716034, -0.07436176389455795, -0.19257038831710815, -0.2945370376110077, 0.4448545277118683, -0.4180434048175812, -0.19185902178287506, -0.08988460153341293, 0.5867735743522644, 0.24891351163387299, -0.09945987910032272, 0.052727095782756805, -0.5683144927024841, 1.178486704826355, -0.707207441329956, 0.5518438220024109, 0.48682576417922974, 0.18147993087768555, 0.20708440244197845, -0.6206210851669312, -0.3554442226886749, -0.18176813423633575, 0.12716726958751678, -0.20894768834114075, -0.3311646282672882, 0.10607213526964188, 0.13195106387138367, 0.2923186421394348, -0.27906328439712524, 0.07119226455688477, -0.035178616642951965, -0.08148834109306335, 0.6123010516166687, -0.27080488204956055, 0.18361181020736694, 0.36239543557167053, -0.5639289617538452, -0.09561989456415176, -0.8023863434791565, -0.17257829010486603, 0.07628181576728821, 0.2880886495113373, -0.1911810338497162, 0.4143654704093933, -0.18945758044719696, 0.7019138336181641, 0.2733977735042572, 0.13851860165596008, 0.31378990411758423, -0.25172537565231323, -0.2487632930278778, -0.0757753849029541, 0.7620606422424316, 0.33364027738571167, 0.709443211555481, -0.4242197871208191, -0.27291572093963623, -0.5176777839660645, 0.2584986090660095, -0.8057115077972412, -0.06289002299308777, 0.17435678839683533, -0.4894501864910126, 0.0006815035594627261, -0.4690288305282593, -0.4919399321079254, -0.45486539602279663, -0.41125136613845825, 0.6384278535842896, -0.40611186623573303, -0.31457871198654175, 0.14982247352600098, 0.19756583869457245, 0.35551878809928894, 0.3049304783344269, -0.9720155000686646, 0.18697455525398254, 0.6360019445419312, 1.0165550708770752, -0.4951317310333252, -0.44852593541145325, -0.6702905893325806, 0.2648439109325409, 0.10675043612718582, 0.6042394638061523, -0.4984217882156372, -0.1552325338125229, -0.16849616169929504, -0.23261329531669617, -0.13651585578918457, -0.699769914150238, 0.29413601756095886, -0.6493276357650757, -0.32225388288497925, -0.5996257662773132, -0.5065229535102844, -0.1836138218641281, 0.23329393565654755, -0.5869775414466858, 0.7673687934875488, -0.19522887468338013, -0.9982425570487976, 0.004250500816851854, -0.14372022449970245, -0.4026426672935486, 0.05055617541074753, -0.23537252843379974, -0.45200976729393005, 0.23538221418857574, 0.08410070836544037, 0.7762454152107239, -0.007080026436597109, 0.32363569736480713, -0.5872046947479248, -0.27220383286476135, 0.030910706147551537, -0.31992629170417786, 0.5412380695343018, 0.21147207915782928, -0.1355859935283661, 0.20280182361602783, -0.3391507863998413, 0.022514579817652702, 0.2326454371213913, -0.2549959719181061, -0.4646560847759247, 0.1806272715330124, 0.026488324627280235, 0.017034703865647316, 0.5899537205696106, -0.3352968096733093, 0.21268218755722046, -0.04667496308684349, 0.34359312057495117, 0.6619175672531128, -0.09095162898302078, 0.47002291679382324, -0.5138784050941467, 0.29193681478500366, -0.03475422039628029, -0.014444731175899506, 0.1463184952735901, -0.16400453448295593, -0.6326002478599548, -0.4622213840484619, 0.25527334213256836, 0.4046776592731476, -0.4053230285644531, 0.1341022551059723, -0.19498595595359802, -0.4482239782810211, -0.5256140828132629, 0.4019638001918793, 0.4547818601131439, 0.09435047209262848, 0.2356228083372116, -0.3183252811431885, -0.391586571931839, -1.1046738624572754, -0.48756954073905945, 0.25453639030456543, -0.03645236790180206, 0.6662441492080688, -0.039761003106832504, -0.12466539442539215, 0.7750493288040161, -0.5795058608055115, -0.20257693529129028, -0.6056879758834839, 0.027103543281555176, -0.038933392614126205, 0.6134132146835327, 0.496576189994812, -0.6309179067611694, -0.7503148317337036, 0.02378297597169876, -0.5024186968803406, -0.2638435363769531, 0.016089532524347305, -0.1940232515335083, -0.015223275870084763, 0.6199871301651001, -0.6820964813232422, 0.07294432073831558, 0.8217588067054749, 0.15826106071472168, 0.30440500378608704, -0.26396626234054565, -0.2259375900030136, -0.8134081363677979, 0.10063233971595764, 0.21149468421936035, -0.6556523442268372, -0.5287437438964844, 0.23544466495513916, 0.02341158129274845, 0.05948290601372719, -0.6282299757003784, 0.6036324501037598, -0.7102446556091309, -0.28272655606269836, -0.561583936214447, 0.2892083525657654, -0.1924278885126114, 0.8026577234268188, 0.12300559878349304, 0.6000543832778931, 1.035652995109558, -0.7405497431755066, 0.29951491951942444, -0.2667348384857178, -0.24680669605731964, 0.772466778755188, -0.9060980677604675, 0.26327967643737793, -0.1901932805776596, 0.08658158034086227, -0.8049007654190063, 0.017534587532281876, 0.26806846261024475, -0.16042475402355194, 0.40733814239501953, 0.014986029826104641, -0.502484142780304, 0.05735471099615097, -0.587492823600769, 0.7333388328552246, 0.1917998045682907, -0.5451357364654541, 0.5967004895210266, 0.6337867975234985, -0.50156569480896, -0.5688430666923523, -0.701633632183075, -0.0516144335269928, -0.33343738317489624, -0.501007616519928, 0.5920921564102173, -0.22963911294937134, -0.11216089129447937, 0.15738071501255035, -0.20863980054855347, -0.12436208128929138, -0.06991516053676605, -0.0388791449368, -0.02568664960563183, 0.017470547929406166, 0.06627588719129562, -0.03255743160843849, 0.04892423748970032, -0.15656854212284088, -0.37983325123786926, 0.8410124182701111, -0.0044307708740234375, -0.21407873928546906, -0.634205162525177, 0.6449424624443054, 0.5043208003044128, -0.5493060946464539, 0.8603690266609192, 0.6014131307601929, -0.507243275642395, -0.14189235866069794, -0.7604645490646362, -0.13057354092597961, -0.48685717582702637, 0.5006865859031677, -0.17892690002918243, -0.9413237571716309, 0.7481300830841064, 0.07887210696935654, 0.21889378130435944, -0.030966157093644142, 0.5239094495773315, -0.2629191279411316, 0.841921865940094, 0.8873969912528992, -0.3683881461620331, 0.9066193103790283, -0.008201229386031628, 0.06513377279043198, -1.0726666450500488, -0.09283603727817535, -0.18563798069953918, -0.7290829420089722, -0.27405375242233276, -0.6056578159332275, 0.13782727718353271, 0.18657222390174866, -0.10504336655139923, 0.4166899621486664, -0.2876177430152893, 0.6120113730430603, 0.6196630001068115, 0.1547328680753708, 0.24559789896011353, 0.2074688971042633, -0.02694857306778431, -0.04963504895567894, -0.45182564854621887, -0.06076739728450775, 0.8664533495903015, 0.3120391070842743, 0.9104121327400208, -0.17132842540740967, 0.679404079914093, 0.09747405350208282, 0.04587991163134575, -0.9644342660903931, 0.8416761755943298, -0.17528434097766876, -0.22100362181663513, -0.258666455745697, -0.6341149210929871, -0.9329791069030762, 0.46543779969215393, 0.2748562693595886, -1.0930500030517578, 0.0025212359614670277, 0.26199376583099365, -0.38777992129325867, 0.44619274139404297, -0.5628440380096436, 0.7581910490989685, -0.009268403053283691, -0.4654921591281891, -0.6758474707603455, -0.48019668459892273, 0.14759305119514465, -0.07431832700967789, -0.13592125475406647, 0.14777161180973053, 0.002567247487604618, 0.9452126026153564, -0.10785287618637085, 0.8307356238365173, -0.32348117232322693, -0.3793303370475769, 0.3484288156032562, -0.06856627017259598, 0.8022291660308838, -0.05223199725151062, 0.17165055871009827, 0.19726043939590454, -0.2548365592956543, -0.32541102170944214, -0.3700043857097626, 1.0858269929885864, -0.8499974012374878, -0.7056969404220581, -0.18628039956092834, -0.8382159471511841, -0.4576442539691925, 0.4816399812698364, -0.08790428191423416, 0.3427770137786865, 0.1923362761735916, 0.45816880464553833, 1.0701823234558105, -0.34130609035491943, 0.5951352715492249, 0.3689948618412018, -0.27207133173942566, -0.23262271285057068, 0.8839502334594727, 0.39536330103874207, 0.4302775263786316, 0.3582812547683716, 0.249050572514534, -0.058418720960617065, -0.6492086052894592, -0.03411472588777542, 0.574287474155426, -0.41340193152427673, -0.11399820446968079, -1.1129487752914429, -0.3940429389476776, -0.13386063277721405, -0.1416085809469223, -0.6670777201652527, -0.16623729467391968, -0.11569242924451828, -0.11195406317710876, 0.4546002447605133, 0.3058601915836334, -0.13604813814163208, 0.7807154655456543, -0.6258598566055298, 0.4043898582458496, 0.5333755612373352, 0.6485314965248108, 0.49597692489624023, -0.3631076514720917, -0.44271713495254517, 0.00017824328097049147, -0.4055352210998535, -0.6907451152801514, 0.2659335136413574, 0.03151440620422363, 0.7334989309310913, 0.3455052077770233, 0.033875737339258194, 0.6522583961486816, -0.6265920996665955, 0.357400119304657, 0.06949654966592789, -1.0118111371994019, 0.17035862803459167, -0.4024321138858795, 0.44000720977783203, 0.6700835227966309, 0.3746147155761719, -0.7715675234794617, -0.483401358127594, -0.31640440225601196, -1.0618669986724854, 0.9001163244247437, -0.08403687179088593, 0.2546330988407135, 0.4142199754714966, 0.2932223379611969, 0.026499178260564804, 0.3786381483078003, -0.9015586376190186, -0.16886486113071442, 0.22340410947799683, -0.309172660112381, 0.29068607091903687, -0.23018917441368103, 0.089894138276577, -0.1329500377178192, 0.44575244188308716, 0.1269536018371582, 0.2532954216003418, 0.020724432542920113, -0.20840799808502197, -0.09204849600791931, 0.10508182644844055, 0.3558696210384369, 0.5707919597625732, -0.4030231833457947, 0.33715978264808655, 0.23453959822654724, -0.4980093538761139, -0.22762995958328247, 0.011371765285730362, -0.06539108604192734, -0.2850748300552368, 0.2454853057861328, 0.9303944706916809, 0.2580130398273468, -0.6062979102134705, 0.5812565088272095, -0.026327237486839294, -0.1128653734922409, -0.012915301136672497, -0.15140829980373383, 0.5806452035903931, 0.48494774103164673, 0.13940273225307465, -0.011277290061116219, -0.08515776693820953, -0.3987722098827362, 0.3877783417701721, 0.7407825589179993, -0.5011639595031738, -0.3961665630340576, 0.368878573179245, 0.20505301654338837, -0.14452163875102997, 0.18892927467823029, -0.0957200676202774, -0.41731393337249756, 0.37529492378234863, 0.3549771010875702, 0.9076383709907532, -0.35745948553085327, 0.02674180455505848, 0.00967544224113226, 0.09683570265769958, -0.19671925902366638, 0.3360271751880646, -0.3176506459712982, -0.7341477870941162, -0.5772733688354492, -0.4624844193458557, -0.3780944049358368, 0.3459286093711853, -0.7365033030509949, 0.21015918254852295, -0.5644773840904236, -0.06757592409849167, -0.2396029233932495, 0.09843277931213379, -0.6266475915908813, -0.021116357296705246, 0.38848450779914856, 0.6843894720077515, -0.42514270544052124, 1.1221176385879517, 0.672329306602478, -0.018467916175723076, -0.7479019165039062, 0.34896767139434814, -0.23639163374900818, -1.0900611877441406, 0.45107701420783997, 0.35901328921318054, -0.3321886360645294, 0.07208569347858429, -0.4161202311515808, -1.061201810836792, 1.017398715019226, 0.36345618963241577, -0.8121102452278137, -0.14825353026390076, -0.1275789886713028, 0.21735264360904694, -0.1768461912870407, 0.06331770122051239, 0.19234342873096466, 0.46543046832084656, 0.2993837594985962, -1.0000004768371582, 0.10680675506591797, 0.20271116495132446, 0.049961552023887634, 0.016189169138669968, -0.9881939888000488, 0.9207517504692078, -0.18968816101551056, -0.377978652715683, -0.28927695751190186, 0.819703996181488, 0.40716415643692017, 0.19028069078922272, 0.8328794836997986, 0.6350463032722473, 0.6039247512817383, 0.5004092454910278, 0.8259357213973999, -0.33451443910598755, 0.48218098282814026, 1.0249723196029663, -0.6099032163619995, 1.0701096057891846, 0.6359361410140991, -0.05577833577990532, 0.02641603909432888, 0.25143706798553467, 0.368895947933197, 0.8049872517585754, 0.38250482082366943, -0.07579752057790756, -0.3061490058898926, -0.33173245191574097, -0.39934566617012024, 0.2789606750011444, -0.07213293015956879, -0.17723718285560608, -0.3157726526260376, 0.13243623077869415, 0.38328316807746887, -0.17217154800891876, -0.6557512879371643, 0.7375582456588745, 0.46709418296813965, -0.6520159840583801, 0.5145238637924194, -0.034925803542137146, 1.1147080659866333, -0.6463382840156555, 0.39922380447387695, -0.3882480263710022, 0.5239169597625732, -0.008002171292901039, -0.80085688829422, 0.5344538688659668, 0.22288089990615845, -0.32679131627082825, -0.5951587557792664, 0.6377793550491333, -0.8872237205505371, -0.3683333694934845, 0.6499677300453186, 0.38209792971611023, -0.0446380153298378, -0.4861557185649872, -0.5314066410064697, 0.43576696515083313, -0.014530627988278866, -0.38644757866859436, 0.6753593683242798, 0.3736485242843628, 0.008904441259801388, 0.8956992626190186, 0.22174929082393646, 0.471566766500473, 0.002082702936604619, 0.027347568422555923, 0.8929426074028015, -0.6234174370765686, -0.5564782023429871, -1.0596187114715576, 0.034977223724126816, 0.08619143068790436, 0.10659494996070862, 0.7351884841918945, 0.2133299559354782, 0.838413417339325, 0.13165345788002014, 0.5709666609764099, 0.23171915113925934, 0.49586498737335205, -0.342790812253952, 0.9422053098678589, -0.9188588261604309, 0.09783172607421875, -0.31680312752723694, -1.1090800762176514, -0.2932385206222534, 0.6846415400505066, -0.22095510363578796, 0.18685176968574524, 0.5146512985229492, 0.5684845447540283, -0.3633565902709961, -0.3272796869277954, 0.16814632713794708, 0.15417148172855377, 0.10653728246688843, 0.950873851776123, 0.5626052021980286, 0.03267037868499756, 0.5856469869613647, -0.04519791901111603, -0.21743066608905792, -0.36466753482818604, -0.8632208704948425, -0.7807710766792297, -0.3524482250213623, -0.531230628490448, 0.12699155509471893, 0.03307691588997841, 1.051806092262268, 0.8720265030860901, -0.5885718464851379, -0.33336758613586426, 0.03089274652302265, 0.060830071568489075, -0.41244393587112427, -0.16408027708530426, 0.4642394483089447, -0.08280359208583832, -0.8569044470787048, 0.09614718705415726, 0.2615906894207001, -0.08690402656793594, -0.3276126980781555, 0.06788377463817596, -0.2552488148212433, 0.4082581102848053, 0.6494613885879517, 0.18831950426101685, -0.4760330021381378, -0.3396889269351959, -0.18780721724033356, -0.3247832953929901, -0.062061335891485214, 0.7662390470504761, -0.6849475502967834, 0.009131289087235928, 0.7228636145591736, 1.076981544494629, 0.4539753198623657, -0.038259074091911316, 0.568210780620575, -0.9701200127601624, 0.17628537118434906, 0.20222169160842896, 0.5422593951225281, 0.46656474471092224, -0.19534607231616974, 0.014226095750927925, 0.02947007119655609, -0.5259647965431213, -0.8258412480354309, 0.2676407992839813, -1.5038864612579346, -0.20216654241085052, 1.2834112644195557, -0.32155150175094604, -0.13897499442100525, 0.4194811284542084, -0.11672069132328033, 0.3105534315109253, -0.5048722624778748, 0.4788958728313446, 0.7207277417182922, 0.1357034146785736, -0.5383182168006897, -0.6007885336875916, 0.3213794231414795, 0.7395640015602112, -0.5759186744689941, 0.5480701327323914, 0.02291487716138363, 0.2692261040210724, -0.059716206043958664, 0.7046904563903809, 0.05678172409534454, -0.34069448709487915, -0.5020609498023987, 0.12273692339658737, -0.12142787128686905, -0.4818175733089447, -0.24545753002166748, -0.04376384988427162, 0.04390576109290123, -0.5096395015716553 ]
http://arxiv.org/abs/2402.11818v1
http://arxiv.org/pdf/2402.11818v1
Where It Really Matters: Few-Shot Environmental Conservation Media Monitoring for Low-Resource Languages
2024-02-19T04:17:21
2024-02-19T04:17:21
Sameer Jain, Sedrick Scott Keh, Shova Chettri, Karun Dewan, Pablo Izquierdo, Johanna Prussman, Pooja Shreshtha, Cesar Suarez, Zheyuan Ryan Shi, Lei Li, Fei Fang
cs.CL
cs.CL, cs.AI, cs.CY
Environmental conservation organizations routinely monitor news content on conservation in protected areas to maintain situational awareness of developments that can have an environmental impact. Existing automated media monitoring systems require large amounts of data labeled by domain experts, which is only feasible at scale for high-resource languages like English. However, such tools are most needed in the global south where news of interest is mainly in local low-resource languages, and far fewer experts are available to annotate datasets sustainably. In this paper, we propose NewsSerow, a method to automatically recognize environmental conservation content in low-resource languages. NewsSerow is a pipeline of summarization, in-context few-shot classification, and self-reflection using large language models (LLMs). Using at most 10 demonstration example news articles in Nepali, NewsSerow significantly outperforms other few-shot methods and achieves comparable performance with models fully fine-tuned using thousands of examples. The World Wide Fund for Nature (WWF) has deployed NewsSerow for media monitoring in Nepal, significantly reducing their operational burden, and ensuring that AI tools for conservation actually reach the communities that need them the most. NewsSerow has also been deployed for countries with other languages like Colombia.
[ -0.453098863363266, -0.31301894783973694, 0.23432812094688416, 0.41516971588134766, -0.5377954244613647, -0.06623005121946335, -0.2673834264278412, -0.5208345055580139, 0.28930631279945374, 0.6516709923744202, -0.3830302953720093, -0.6497615575790405, -0.7048967480659485, 0.48550477623939514, -0.2570649981498718, 0.8777593374252319, 0.036194272339344025, -0.4985930025577545, 0.23346269130706787, -0.46201542019844055, -0.02519645355641842, 0.32477936148643494, -0.6195203065872192, -0.0017758803442120552, 0.3131023943424225, 0.36498042941093445, 0.4648674428462982, 0.5198368430137634, 0.46603724360466003, 0.3217463791370392, -0.2867389917373657, 0.300652414560318, -0.43605899810791016, -0.1528692990541458, -0.24521583318710327, -0.5188825130462646, -0.02338392101228237, 0.15066802501678467, 0.7817233204841614, 0.34591761231422424, -0.09436304867267609, 0.6447513103485107, 0.015322615392506123, 0.643738329410553, -0.9484757781028748, 0.21727287769317627, -0.6023440361022949, 0.17894341051578522, -0.023870626464486122, -0.5336953401565552, -0.1538819968700409, -0.1559828221797943, -0.10822340846061707, -0.6478387713432312, 0.11803512275218964, 0.12739624083042145, 0.6337971687316895, 0.5183809995651245, -0.5875288844108582, 0.17374029755592346, -0.43907949328422546, 1.2596515417099, -0.6140164732933044, 0.2468133568763733, 0.9755186438560486, 0.28313347697257996, -0.18573319911956787, -0.294304758310318, -0.5021984577178955, 0.34415894746780396, -0.348030149936676, 0.3975847661495209, -0.6591349244117737, -0.2332381010055542, -0.0720161572098732, 0.0420507974922657, -0.37383612990379333, 0.07558418065309525, -0.4196178913116455, -0.49349963665008545, 0.6417000889778137, 0.06578326225280762, 0.17787891626358032, -0.7357245087623596, -0.14203229546546936, 0.12496940791606903, -0.8081845045089722, -0.0018222808139398694, 0.41075441241264343, 0.4585130512714386, -0.3658849895000458, 0.38159072399139404, -0.4416031539440155, 0.8366560935974121, -0.24827632308006287, -0.5398748517036438, -0.23258310556411743, -0.4893455505371094, -0.15894004702568054, 0.24521633982658386, 0.48258551955223083, 0.661368191242218, -0.14958307147026062, 0.1476067155599594, -0.15429574251174927, 0.0028673771303147078, -0.19362327456474304, -0.9522202610969543, -0.13531510531902313, -0.022586654871702194, -0.6598653197288513, -0.3238650858402252, -0.2608599066734314, -0.8672391772270203, -0.5734927654266357, -0.3296215832233429, 0.06494751572608948, 0.22876116633415222, -0.5258205533027649, 0.15582506358623505, -0.17817175388336182, 0.054826561361551285, 0.7693259716033936, -0.5542988777160645, -0.07310108840465546, 0.41758742928504944, 1.0828275680541992, -0.016769401729106903, -0.26677823066711426, -0.8250510096549988, 0.4030255973339081, -0.431400328874588, 1.068503737449646, -0.42931368947029114, -0.274724543094635, 0.05661126598715782, 0.3685424327850342, 0.3044022023677826, -0.42759621143341064, 0.2588348686695099, -0.4752049446105957, 0.2952011227607727, -0.07483183592557907, -0.3312341570854187, -0.3571217954158783, 0.47937649488449097, -0.6933480501174927, 0.7047367691993713, 0.24984407424926758, -0.9548882842063904, 0.6027213931083679, -0.2389012575149536, -0.5610485672950745, 0.07951053231954575, 0.21321065723896027, -0.44089025259017944, 0.1522853821516037, 0.18136052787303925, 0.18333204090595245, 0.12304218858480453, -0.29853567481040955, -0.09551247954368591, -0.3155266046524048, -0.3000682294368744, -0.48132091760635376, 0.7855669260025024, 0.14768201112747192, -0.13289664685726166, -0.2716708481311798, -0.7346616983413696, 0.04437816143035889, -0.34104371070861816, -0.7839677929878235, -0.5491992831230164, 0.03268243372440338, 0.30939239263534546, 0.0148700512945652, 0.029784638434648514, -0.7513188123703003, 0.05187486112117767, -0.08767560869455338, 0.5749355554580688, 0.4492652714252472, 0.3488645553588867, 0.5087136626243591, -0.19021368026733398, 0.6295604109764099, -0.3010340631008148, 0.16336563229560852, -0.35986605286598206, -0.20545697212219238, -0.37118133902549744, -0.6222898960113525, 0.07309456169605255, 0.43714162707328796, -0.44646206498146057, 0.18471217155456543, -0.16681423783302307, -0.2784637212753296, -0.60963374376297, 0.45268699526786804, 0.07203409075737, 0.25378304719924927, 0.21746765077114105, 0.21898576617240906, -0.7525888681411743, -0.8800233602523804, -0.2387576550245285, -0.27765530347824097, 0.19804799556732178, 0.3449692726135254, 0.30211734771728516, -0.21786916255950928, 1.113847017288208, -0.33380401134490967, -0.8505849838256836, -0.13008609414100647, 0.42027002573013306, 0.1247977763414383, 0.15227873623371124, 0.5738727450370789, -0.9333395957946777, -0.4786131680011749, 0.23043838143348694, -0.6943711042404175, -0.20495764911174774, 0.01499940175563097, -0.10051338374614716, 0.4418809711933136, 0.3135182559490204, -0.42189842462539673, 0.35206684470176697, 0.9373524188995361, 0.07009298354387283, 0.2894543409347534, -0.06421079486608505, 0.372917503118515, -0.7339882850646973, 0.05632069706916809, 0.005087764002382755, -0.3770589828491211, -0.10749273747205734, -0.3315061926841736, -0.19824635982513428, -0.3762289583683014, -0.8597938418388367, 0.9385141134262085, -0.5338837504386902, -0.2195422500371933, -0.8004169464111328, 0.19943788647651672, 0.11948316544294357, 0.2237437218427658, 0.41908958554267883, 0.8167018890380859, 0.2666580379009247, -0.5790048837661743, 0.15730804204940796, 0.370307058095932, -0.4509236812591553, 0.6106230616569519, -0.27720925211906433, -0.131371408700943, -0.27312830090522766, 0.4723021686077118, -0.6336215734481812, -0.23400229215621948, -0.2534206509590149, -0.1290300041437149, 0.002521399175748229, -0.7102792263031006, -0.49156683683395386, -0.2894349694252014, -0.42351844906806946, 0.1091589704155922, 0.3876394033432007, -0.46304669976234436, 0.4984506666660309, 0.5677362084388733, -0.18851341307163239, -0.5263331532478333, -0.8956462740898132, 0.3773155212402344, -0.22213095426559448, -0.49220433831214905, -0.29982730746269226, 0.3414832353591919, -0.1515948325395584, 0.25698062777519226, -0.25131672620773315, -0.13042455911636353, 0.11843634396791458, 0.019365590065717697, -0.14127810299396515, -0.197143092751503, 0.189128577709198, 0.06381659209728241, -0.13858211040496826, -0.368103951215744, -0.28157269954681396, 0.022254452109336853, -0.31257835030555725, 0.01749083399772644, -0.6112094521522522, 0.49349087476730347, 0.5211787819862366, -0.4436095952987671, 0.49280279874801636, 0.6095110177993774, -0.4279007017612457, -0.3543713688850403, -0.4101499319076538, -0.1817435771226883, -0.4308379590511322, 0.27504852414131165, 0.048260416835546494, -0.7248286008834839, 0.2694922387599945, -0.2947443127632141, -0.04656483605504036, 0.23274831473827362, 0.09304257482290268, -0.2983070909976959, 1.1357324123382568, 0.9825237989425659, -0.3254011571407318, 0.5004003643989563, -0.6293483972549438, 0.2558790147304535, -0.6500325202941895, 0.20815324783325195, -0.40970730781555176, -0.3220343589782715, -0.7228028774261475, -0.018827103078365326, 0.3432869613170624, 0.07676070928573608, -0.12174251675605774, 0.4878491163253784, -0.5451323390007019, 0.7857320308685303, 0.523402214050293, -0.14001813530921936, 0.6561843156814575, 0.15031851828098297, 0.8197989463806152, -0.1906273365020752, -0.5624881982803345, -0.8259274363517761, 0.39882779121398926, -0.18339067697525024, 1.0415048599243164, 0.09672778099775314, 1.0160669088363647, 0.6482130885124207, 0.3878537118434906, -0.9654991030693054, 0.4363672137260437, -0.354534775018692, -0.436720609664917, -0.5059619545936584, -0.15065139532089233, -0.8967724442481995, 0.37274283170700073, 0.05027176812291145, -0.4351551830768585, 0.3741471767425537, 0.2508927583694458, -0.3075498044490814, 0.3252910375595093, -0.5945665836334229, 0.5845090746879578, -0.07544663548469543, -0.39167216420173645, -0.4697516858577728, -0.24665997922420502, 0.26203566789627075, -0.1481170356273651, 0.5361828207969666, -0.45338326692581177, -0.439698725938797, 0.5604133605957031, -0.06194866821169853, 1.148820161819458, -0.25661829113960266, -0.09558304399251938, 0.5598446726799011, 0.3592206537723541, 0.7256186604499817, 0.017143333330750465, -0.02090831659734249, 0.0780634880065918, 0.05515487864613533, -0.3741833567619324, -0.22202090919017792, 0.6553755402565002, -0.6962847113609314, -0.6691061854362488, -0.4109650254249573, -0.19283924996852875, -0.008086437359452248, 0.5460608005523682, 0.3697129487991333, 0.15942977368831635, -0.015356311574578285, 0.35999658703804016, 0.22103913128376007, -0.2263595312833786, 0.5755425691604614, 1.0869570970535278, 0.03207968920469284, -0.23759819567203522, 1.0151981115341187, 0.2584255337715149, -0.08219678699970245, 0.36717489361763, 0.4563332498073578, -0.21966451406478882, -0.48325246572494507, -0.3393833637237549, 0.060465533286333084, -0.7051795125007629, -0.6966304779052734, -0.7174901366233826, 0.14231644570827484, 0.10337170213460922, -0.3036049008369446, -0.17736205458641052, -0.20674988627433777, -0.04757627099752426, -0.18985213339328766, 0.40062618255615234, 0.5380697846412659, -0.37330180406570435, 0.3181547522544861, -1.0094172954559326, 0.22942791879177094, 0.4479854106903076, 0.17521533370018005, -0.3531024754047394, -0.32621026039123535, -0.390684574842453, 0.1074272096157074, -0.1635584831237793, -0.5632928609848022, 0.47068074345588684, 0.6007296442985535, 0.43868762254714966, 0.3783295452594757, 0.40644171833992004, 0.4867688715457916, -0.23406381905078888, 0.6458412408828735, 0.10271064192056656, -0.8693514466285706, 1.081007719039917, -0.4531437158584595, 0.36046743392944336, 0.5613272190093994, 0.09864646941423416, -0.8296718001365662, -0.7512812614440918, -0.2339550256729126, -0.47957974672317505, 0.7652701735496521, -0.13187074661254883, 0.2665409445762634, -0.2647468149662018, -0.45084863901138306, 0.15904958546161652, 0.2995465099811554, -0.5040020942687988, 0.5199347734451294, -0.4252351224422455, 0.01935493014752865, 0.23508211970329285, 0.05954185128211975, -0.39025944471359253, 0.09166278690099716, 0.7641793489456177, -0.39179563522338867, -0.1414341926574707, 0.2434246838092804, -0.4928048551082611, -0.5923687815666199, 0.410520076751709, 0.5657366514205933, 0.5159648656845093, -0.04152647778391838, 0.5574345588684082, 0.12726883590221405, -0.389055997133255, 0.28161904215812683, -0.15681029856204987, -0.36560437083244324, 0.06161409988999367, 0.614758312702179, 0.6958966255187988, 0.35483318567276, -0.5721471309661865, 0.707907497882843, 0.2151441127061844, 0.11516744643449783, -0.10089071840047836, -0.246600940823555, -0.02836231328547001, 0.280048668384552, 0.4508223235607147, 0.17386949062347412, 0.24650366604328156, -0.4741455912590027, -0.045591238886117935, 0.24042755365371704, 0.09508264809846878, -0.3000930845737457, 0.37538158893585205, 0.4594079852104187, -0.11052308231592178, 0.5505098104476929, -0.3545173406600952, -0.6366901993751526, 0.8148121237754822, 0.4633580446243286, 0.7340067625045776, 0.0027657316531986, 0.4962727129459381, 0.6085114479064941, 0.4656880795955658, -0.2199198603630066, 0.13105465471744537, -0.23429332673549652, -0.45393192768096924, -0.5413382053375244, -0.7261173725128174, -0.4115285873413086, 0.03428489342331886, -0.3618309199810028, 0.2834959626197815, -0.3575989902019501, -0.14248263835906982, 0.0652225986123085, 0.34863460063934326, -0.632532000541687, -0.042419787496328354, 0.1160692647099495, 1.038422703742981, -1.314858317375183, 0.39516618847846985, 0.8637372851371765, -0.35640376806259155, -0.3782147765159607, -0.14519518613815308, 0.13473711907863617, -0.9684475660324097, 0.780085027217865, 0.17848551273345947, -0.5516045689582825, 0.1840972751379013, -0.6691814064979553, -0.9054780602455139, 0.9800674915313721, 0.4479825496673584, -0.4874287545681, 0.5789574980735779, -0.342755526304245, 0.587781548500061, 0.032687000930309296, -0.3393666744232178, 0.17626774311065674, 1.0463905334472656, -0.2032196819782257, -0.8388158679008484, -0.27795591950416565, -0.08649536967277527, -0.012824182398617268, 0.4934650957584381, -0.9197025299072266, 0.2861452102661133, -0.42997148633003235, -0.564111590385437, -0.11443813145160675, 0.37821441888809204, 0.023935744538903236, 0.24973881244659424, 0.5397528409957886, 0.33014771342277527, 0.615801215171814, 0.13647788763046265, 1.0408689975738525, -0.3397008180618286, 0.49406495690345764, 0.9017183184623718, -0.28458309173583984, 0.850262463092804, 0.3843505084514618, -0.4234183132648468, 0.12822484970092773, 0.6278906464576721, -0.34506353735923767, 0.8959802389144897, 0.06584551185369492, -0.48819082975387573, -0.40664657950401306, -0.8172969818115234, -0.05478290468454361, 0.7657324075698853, 0.05317174643278122, 0.17852823436260223, -0.6605207324028015, 0.3893064260482788, -0.04235696420073509, 0.18549799919128418, -0.5093379020690918, 0.6290485858917236, 0.10787983983755112, -0.6474710702896118, 0.4019355773925781, -0.10561991482973099, 0.710825502872467, -0.6686481833457947, -0.17919306457042694, -0.5241589546203613, 0.2668890953063965, -0.6627683639526367, -1.008240818977356, 0.49878397583961487, 0.1068865954875946, -0.32029855251312256, -0.05702752619981766, 0.7724757194519043, -0.7181857824325562, -0.4099523425102234, 0.2388218492269516, 0.3648630678653717, 0.310005784034729, -0.004870587959885597, -0.24313285946846008, 0.1291232854127884, -0.23693284392356873, -0.22117914259433746, 0.11305267363786697, 0.28388503193855286, -0.4012307822704315, 0.5388155579566956, 0.47913703322410583, 0.46624672412872314, 0.17580971121788025, 0.17082273960113525, 0.23099252581596375, -0.27485156059265137, -0.7655275464057922, -0.4040987193584442, 0.049991633743047714, -0.1510830819606781, -0.16524472832679749, 0.9813603758811951, 0.6874442100524902, 0.5698971152305603, -0.002709189197048545, 0.953452467918396, 0.1935124397277832, 0.2243531197309494, -0.25222545862197876, 0.7745053172111511, -0.710630476474762, -0.26058492064476013, 0.2860477566719055, -0.8594295978546143, -0.2779253423213959, 0.6585656404495239, -0.11477690935134888, -0.2392238825559616, 0.37525680661201477, 0.7155345678329468, -0.14261215925216675, -0.0007374311098828912, 0.3948422074317932, 0.086886927485466, 0.13914445042610168, 0.0976630225777626, 0.8631231188774109, -0.08034227043390274, 0.7736818194389343, -0.23381902277469635, -0.2063332051038742, -0.1782742589712143, -1.4424949884414673, -0.5383129715919495, -0.2030702382326126, -0.5670440793037415, 0.1773228496313095, 0.040415890514850616, 0.563173770904541, 0.9765347242355347, -0.9117235541343689, -0.033278416842222214, -0.021406659856438637, 0.1750098317861557, -0.24922148883342743, -0.1950148046016693, 0.5469626784324646, -0.2560848891735077, -0.8060048222541809, 0.34492209553718567, 0.6114374995231628, 0.17465658485889435, -0.4773227274417877, -0.050019521266222, -0.13136248290538788, -0.13859477639198303, 0.6727792024612427, 0.726881206035614, -0.6574519872665405, -0.34708258509635925, -0.08757038414478302, -0.2069748342037201, -0.1928531676530838, 0.725048303604126, -0.6464864611625671, 0.43982237577438354, 0.75901859998703, 0.6069056987762451, 0.590313732624054, -0.13500043749809265, 0.11640460789203644, -1.0387238264083862, 0.5079777240753174, 0.28950390219688416, 0.44725003838539124, 0.7658461928367615, -0.37729910016059875, 0.666902482509613, 0.2534146010875702, -0.39621782302856445, -0.8471891283988953, 0.086546890437603, -0.7347800731658936, -0.10562285035848618, 1.1927547454833984, -0.1342436820268631, -0.3004899024963379, -0.07700610905885696, -0.3891475200653076, -0.05874921381473541, -0.3385724425315857, 0.6122350692749023, 0.7903203368186951, 0.10054167360067368, -0.40186750888824463, -0.5184787511825562, 0.4350743889808655, -0.008024129085242748, -0.7267130017280579, 0.23886233568191528, 0.546929121017456, 0.3726428747177124, 0.3303844630718231, 0.7870640158653259, 0.1501847356557846, 0.4882957637310028, -0.07091625779867172, -0.0697772353887558, -0.10163508355617523, -0.2129061371088028, -0.16443106532096863, -0.34079447388648987, -0.2603222727775574, -0.3504737317562103 ]
http://arxiv.org/abs/2402.11815v2
http://arxiv.org/pdf/2402.11815v2
HU at SemEval-2024 Task 8A: Can Contrastive Learning Learn Embeddings to Detect Machine-Generated Text?
2024-02-19T04:11:34
2024-03-27T20:30:08
Shubhashis Roy Dipta, Sadat Shahriar
cs.CL
cs.CL, cs.AI, cs.LG
This paper describes our system developed for SemEval-2024 Task 8, ``Multigenerator, Multidomain, and Multilingual Black-Box Machine-Generated Text Detection'' Machine-generated texts have been one of the main concerns due to the use of large language models (LLM) in fake text generation, phishing, cheating in exams, or even plagiarizing copyright materials. A lot of systems have been developed to detect machine-generated text. Nonetheless, the majority of these systems rely on the text-generating model. This limitation is impractical in real-world scenarios, as it's often impossible to know which specific model the user has used for text generation. In this work, we propose a $\textbf{single}$ model based on contrastive learning, which uses $\textbf{$\approx$40% of the baseline's parameters}$ (149M vs. 355M) but shows a comparable performance on the test dataset $(\textbf{21st out of 137 participants})$. Our key finding is that even without an ensemble of multiple models, a single base model can have comparable performance with the help of data augmentation and contrastive learning. Our code is publicly available at https://github.com/dipta007/SemEval24-Task8.
[ -0.35755351185798645, -0.7214496731758118, 0.3357560932636261, -0.09866761416196823, -0.4571906626224518, -0.14258502423763275, 0.03211430087685585, -0.5548200607299805, -0.01615416631102562, 0.667293131351471, -0.3712512254714966, -0.4436858594417572, -0.53927081823349, 0.4075513482093811, -0.2948004901409149, 0.8898236155509949, -0.06620968878269196, -0.017275631427764893, -0.28982236981391907, -0.34948021173477173, -0.2257653921842575, -0.5929269194602966, -0.4840888977050781, -0.267789363861084, 0.45734184980392456, 0.3865664601325989, 0.083144910633564, 0.3904111981391907, 0.35025590658187866, 0.3794979155063629, 0.06919354200363159, 0.4699881970882416, -0.41809794306755066, 0.3358674943447113, -0.12824374437332153, -0.1725132167339325, -0.06182413920760155, -0.04560350999236107, 0.5067614316940308, 0.27599355578422546, 0.15222793817520142, -0.10693038254976273, 0.4689493775367737, 0.20680677890777588, -0.7263869643211365, -0.1474098563194275, -0.7145246863365173, 0.1471516191959381, -0.03915520757436752, -0.23084275424480438, -0.6406535506248474, 0.04961329326033592, -0.08134778589010239, -0.3232327997684479, 0.22349028289318085, 0.10615985095500946, 0.8011175990104675, 0.26097896695137024, -0.7352021932601929, -0.3793672025203705, -0.4146575331687927, 0.841644287109375, -0.6255388259887695, 0.2389249950647354, 0.1471368372440338, 0.13661716878414154, 0.19438861310482025, -0.5748307704925537, -0.4515101909637451, -0.03342367708683014, 0.03987881913781166, 0.2914532423019409, 0.025808613747358322, -0.2848200798034668, 0.2636961042881012, 0.40386709570884705, -0.4546755850315094, 0.25207510590553284, -0.43319904804229736, -0.3116919994354248, 0.3742305636405945, 0.13199825584888458, 0.16501550376415253, -0.15615686774253845, -0.5888051986694336, -0.0027073360979557037, -0.559374213218689, -0.32978689670562744, 0.43484336137771606, 0.2748780846595764, -0.30333611369132996, 0.23805294930934906, 0.13724061846733093, 0.23211391270160675, 0.02531908079981804, 0.1567573845386505, 0.5841448903083801, -0.40661317110061646, -0.23947201669216156, -0.06904105842113495, 0.8346526622772217, -0.08037137240171432, -0.01877347007393837, 0.0988057479262352, -0.5065961480140686, 0.3114200234413147, 0.34421682357788086, -1.1104847192764282, -0.4778108596801758, -0.016325898468494415, -0.3635995388031006, -0.6787647008895874, -0.06536149978637695, -0.7579391002655029, -0.5996642708778381, -0.08994465321302414, 0.7439814209938049, -0.4302808344364166, -0.18502989411354065, -0.09243281185626984, -0.0685892179608345, 0.07524572312831879, 0.38437578082084656, -0.3915672302246094, 0.03581932187080383, 0.22030480206012726, 0.45695146918296814, -0.32157203555107117, -0.4844367206096649, -0.6961442232131958, -0.11862362921237946, -0.16157828271389008, 0.8360378742218018, -0.6311630010604858, -0.32009533047676086, 0.15122102200984955, 0.18711894750595093, 0.07399027794599533, -0.5817410945892334, 0.6413201093673706, -0.48823192715644836, 0.39774706959724426, -0.08392418175935745, -0.6494184136390686, -0.1321883648633957, 0.2998156249523163, -0.8503442406654358, 0.8672562837600708, -0.20235025882720947, -1.036456823348999, 0.26213374733924866, -0.3948058485984802, -0.36817118525505066, 0.1520925909280777, -0.3163175582885742, -1.060098648071289, -0.03254261240363121, 0.23987920582294464, 0.4893338680267334, -0.02772250398993492, 0.04850491136312485, -0.40552088618278503, -0.47602126002311707, 0.25182658433914185, -0.6299096345901489, 0.5806170701980591, 0.25866520404815674, -0.5955796837806702, -0.1760142743587494, -0.7553490996360779, -0.3219863176345825, 0.2834400236606598, -0.598217248916626, -0.4604819118976593, -0.301089882850647, 0.14865456521511078, 0.3675064444541931, 0.37183427810668945, -0.5409163236618042, -0.3450119197368622, -0.31242021918296814, -0.10862911492586136, 0.9175765514373779, 0.14906737208366394, 0.32399582862854004, -0.39224016666412354, 0.5037082433700562, 0.5624942779541016, -0.3704459071159363, -0.9034064412117004, -0.3419840335845947, -0.9913310408592224, -0.31645071506500244, 0.4836212694644928, 0.4089713990688324, -0.8561363816261292, 0.3455255329608917, 0.26295918226242065, -0.3152179718017578, -0.428752601146698, 0.1710946410894394, 0.5424396395683289, 0.42103129625320435, 0.5011568665504456, 0.019930480048060417, -0.7168747186660767, -0.8306185007095337, -0.24645310640335083, 0.4018034338951111, 0.18552349507808685, 0.30121713876724243, 0.9141283631324768, -0.366720050573349, 0.05556578189134598, -0.2337007373571396, -0.029231613501906395, 0.05576610937714577, 0.31981033086776733, -0.2145746350288391, 0.7178024053573608, 0.3796038031578064, -0.8829869031906128, -0.479470819234848, 0.06058591231703758, -1.0524344444274902, -0.23949187994003296, 0.166444793343544, -0.0869208574295044, 0.23392176628112793, 0.6432917714118958, 0.010524934157729149, 0.40269649028778076, 0.7679204344749451, -0.3383554220199585, 0.47325605154037476, -0.3457064628601074, 0.31710201501846313, -1.5347980260849, 0.0035573099739849567, 0.12442445009946823, -0.26935940980911255, -0.620668351650238, 0.21659427881240845, 0.3165547251701355, -0.33080753684043884, -0.3279339075088501, 0.4569639563560486, -0.5213434100151062, 0.09981474280357361, -0.6158360838890076, -0.002639378421008587, 0.12355851382017136, 0.5430482625961304, -0.13379478454589844, 0.7797493934631348, 0.24600432813167572, -0.8103067278862, -0.1571929156780243, 0.09384047985076904, -0.15707896649837494, 0.8096878528594971, -0.5631691813468933, 0.3128413259983063, -0.09356853365898132, 0.13197724521160126, -1.0065892934799194, -0.17584599554538727, 0.23404867947101593, -0.5590932965278625, 0.1653086543083191, 0.008710420690476894, -0.26749593019485474, -0.07132275402545929, -0.33698195219039917, 0.3320128321647644, 0.4866691827774048, -0.7735247611999512, 0.5409187078475952, 0.4850867986679077, -0.14103224873542786, -0.6335645914077759, -0.6284902691841125, -0.17961718142032623, -0.3337893486022949, -0.4614354074001312, 0.4618349075317383, -0.12446647882461548, 0.09375030547380447, 0.07778516411781311, 0.046921826899051666, -0.05541669949889183, 0.34390535950660706, 0.1544492393732071, 0.2896524965763092, -0.20449267327785492, 0.31040629744529724, 0.19326932728290558, -0.07385598123073578, -0.01866990327835083, -0.2106725126504898, 0.3824610114097595, 0.0668330192565918, -0.513420045375824, -0.1507968306541443, 0.4784126281738281, 0.3693070709705353, -0.399140864610672, 0.7722511291503906, 0.7765482664108276, -0.643761157989502, -0.4958485960960388, -0.46855130791664124, -0.230153426527977, -0.4726024270057678, 0.2358468919992447, -0.5435283780097961, -1.0025311708450317, 0.5457673072814941, -0.15411782264709473, -0.026561038568615913, 0.658719003200531, 0.5813654661178589, 0.02221173793077469, 1.2732479572296143, 0.5696520805358887, 0.19936077296733856, 0.5693365335464478, -0.1287996768951416, -0.04180615395307541, -0.6859344244003296, -0.20962543785572052, -0.6813597083091736, -0.17954440414905548, -0.9545966982841492, -0.45236948132514954, 0.3159168064594269, -0.19674767553806305, -0.39156538248062134, 0.2050560563802719, -0.4913793206214905, 0.25938311219215393, 0.5026471614837646, 0.3325849175453186, 0.16344264149665833, 0.1732780635356903, -0.6457083225250244, -0.02850525826215744, -0.3603316843509674, -0.5363517999649048, 1.1000494956970215, 0.1664123833179474, 0.6510860323905945, -0.06967833638191223, 1.1096805334091187, 0.386667937040329, 0.19097797572612762, -0.26012083888053894, 0.28017351031303406, -0.32958224415779114, -0.2950253486633301, -0.047774605453014374, -0.44196245074272156, -1.1161645650863647, 0.6293614506721497, -0.3639650046825409, -0.21463830769062042, 0.26547208428382874, 0.20995540916919708, 0.034758009016513824, 0.27690136432647705, -0.5932093858718872, 0.9062713980674744, -0.10137798637151718, -0.5250856876373291, -0.12630245089530945, -0.19492432475090027, 0.2463146448135376, -0.31433454155921936, 0.26243817806243896, 0.0411129891872406, -0.04581879824399948, 0.6636875867843628, -0.1527974009513855, 0.9170162081718445, -0.28563347458839417, -0.16328562796115875, 0.13580448925495148, 0.039278458803892136, 0.7377668619155884, -0.26395243406295776, -0.20075054466724396, -0.2574978172779083, -0.46445176005363464, -0.5610987544059753, -0.1965780258178711, 0.8018618226051331, -0.6699380874633789, -0.26120778918266296, -0.30016493797302246, -0.10512296855449677, 0.017925959080457687, 0.21365591883659363, 0.4484734833240509, 0.5752283930778503, -0.3495834767818451, 0.43817105889320374, 0.8718741536140442, -0.3295194208621979, 0.2085392028093338, 0.38043010234832764, 0.010242357850074768, -0.4195862412452698, 1.1325911283493042, -0.11736946552991867, -0.0498863160610199, 0.38412392139434814, 0.3332073986530304, -0.1221916452050209, -0.5363897681236267, -0.3435988426208496, 0.12801790237426758, -0.8943301439285278, -0.33467066287994385, -0.9135898947715759, -0.3084213435649872, -0.32393336296081543, -0.26190000772476196, -0.06463935226202011, -0.07782220840454102, -0.48517921566963196, -0.1028917208313942, -0.12106369435787201, 0.7809228301048279, -0.000478771748021245, 0.03395744413137436, -0.79148268699646, 0.2296328842639923, 0.38161352276802063, -0.16705350577831268, -0.0556042455136776, -0.8781875967979431, -0.4496441185474396, -0.005016053561121225, -0.5965667366981506, -0.8983123302459717, 0.5182478427886963, 0.06938239932060242, 0.7834855318069458, 0.3713024854660034, 0.04215768352150917, 0.27268359065055847, -0.3837614059448242, 0.589593768119812, 0.1285904049873352, -0.7673271298408508, 0.5250674486160278, -0.1759970337152481, 0.43145596981048584, 0.48638561367988586, 0.40734562277793884, -0.2669253349304199, -0.5693989396095276, -0.7513203024864197, -0.6294771432876587, 0.45991677045822144, 0.06463883072137833, 0.34380897879600525, 0.02291634865105152, -0.04266726225614548, 0.3710937201976776, 0.353979229927063, -1.007343053817749, -0.062355682253837585, -0.23293490707874298, -0.44467055797576904, -0.022393828257918358, -0.3069044053554535, 0.21137318015098572, 0.30585744976997375, 0.8023833632469177, -0.23004092276096344, 0.256955087184906, -0.11769098043441772, -0.2763808071613312, 0.10726897418498993, 0.4090859889984131, 0.49626243114471436, 0.2628237307071686, 0.1569143831729889, 0.46518462896347046, 0.3980952799320221, -0.21789143979549408, 0.06752496212720871, 0.31446942687034607, -0.38114094734191895, -0.13985349237918854, 0.1679966300725937, 0.7526282072067261, 0.4257323145866394, -0.5383987426757812, 0.6633172035217285, 0.2162051945924759, -0.3162643611431122, -0.19835811853408813, -0.12854039669036865, 0.0017940865363925695, 0.2637637257575989, 0.2136552631855011, 0.10926799476146698, 0.34162554144859314, -0.3038467764854431, 0.4759255647659302, 0.26278847455978394, -0.5075674653053284, -0.48358651995658875, 0.6196352243423462, 0.5883175730705261, -0.16696961224079132, 0.2680535912513733, -0.444710910320282, -0.8912545442581177, 0.6797323822975159, 0.7085786461830139, 0.826019287109375, -0.516085147857666, 0.08665632456541061, 0.5045219659805298, 0.09264873713254929, 0.1477987915277481, 0.2722429633140564, 0.03557148203253746, -1.0379064083099365, -0.14712756872177124, -0.46834591031074524, -0.4318040609359741, 0.5053688883781433, -0.24125497043132782, 0.4576853811740875, -0.1429557502269745, 0.18600352108478546, 0.08516158908605576, -0.01998564973473549, -0.843499481678009, 0.33580994606018066, 0.314729779958725, 0.46897390484809875, -1.107059359550476, 0.5116433501243591, 0.8956131935119629, -0.4562034606933594, -0.502599835395813, -0.03058774210512638, 0.05591721460223198, -0.6492906808853149, 0.4362574517726898, 0.5568836331367493, -0.2837373912334442, -0.20664408802986145, -0.6275129914283752, -0.17921535670757294, 0.8901813626289368, 0.19315683841705322, -0.22650374472141266, 0.0440240204334259, -0.1686095893383026, 0.4259915351867676, -0.6817790865898132, 0.1982986479997635, 0.06658676266670227, 0.20741650462150574, -0.10721669346094131, -0.48267772793769836, -0.0011187780182808638, -0.5320799946784973, -0.21687084436416626, 0.12635457515716553, -0.601595938205719, 1.0483689308166504, 0.01778331957757473, -0.22788797318935394, -0.05299675837159157, 0.49622687697410583, 0.5025627017021179, 0.5132111310958862, 0.41906511783599854, 0.6841884851455688, 0.7740188241004944, 0.26008644700050354, 0.8039552569389343, -0.28694409132003784, 0.2708325684070587, 1.1124547719955444, -0.35068953037261963, 0.8564863204956055, 0.1844056099653244, 0.17142154276371002, 0.7054315805435181, 0.4525813162326813, -0.07216164469718933, 0.5262125730514526, 0.07862457633018494, -0.48869773745536804, -0.5210418701171875, -0.08839337527751923, -0.2122933566570282, 0.5229772329330444, 0.34794411063194275, -0.6828483939170837, -0.12790904939174652, 0.20933452248573303, -0.06785503029823303, 0.4029218256473541, -0.07891105860471725, 0.7838611602783203, 0.1037728413939476, -0.5694625377655029, 0.27235373854637146, 0.12344387173652649, 0.9984375834465027, -0.3201158940792084, -0.24401529133319855, -0.20556572079658508, 0.4450511038303375, 0.03640657290816307, -0.40005266666412354, -0.026837853714823723, -0.011547909118235111, 0.04519873857498169, -0.043963439762592316, 1.181544303894043, -0.675384521484375, -0.43142011761665344, 0.27351632714271545, 0.7772454619407654, -0.008642258122563362, -0.06945642083883286, -0.6701675653457642, 0.062472037971019745, 0.1315232366323471, -0.02639545314013958, 0.4050063490867615, 0.70096355676651, 0.18436914682388306, 0.4054725766181946, 0.48367682099342346, -0.25749078392982483, -0.0679030567407608, 0.020568594336509705, 0.7369971871376038, -0.514024019241333, -0.7291156649589539, -0.7159777283668518, 0.4730796813964844, -0.30638158321380615, -0.09486447274684906, 0.794913649559021, 0.7460154891014099, 0.9326097369194031, -0.11474069207906723, 1.1196163892745972, 0.4243084490299225, 0.7112312912940979, -0.538459300994873, 0.2859198749065399, -0.798471987247467, 0.24096275866031647, -0.27335336804389954, -0.6686130166053772, 0.17803768813610077, 0.538946807384491, 0.011508487164974213, 0.14695706963539124, 0.8337675333023071, 0.8022503852844238, -0.23138655722141266, 0.03448179364204407, 0.61328125, -0.12957680225372314, 0.1520901620388031, 0.5305525660514832, 1.0348132848739624, -0.7722649574279785, 0.8919304609298706, -0.11873384565114975, 0.05743582546710968, -0.4365639388561249, -0.7445218563079834, -1.0912871360778809, -0.6660431623458862, -0.3989908695220947, -0.3945332467556, 0.05876633897423744, 0.6725974082946777, 0.5540508031845093, -1.0006253719329834, 0.04908444732427597, -0.04070938378572464, 0.03086928091943264, 0.028865229338407516, -0.16954240202903748, 0.23763476312160492, -0.3674863278865814, -0.8951274752616882, 0.34059691429138184, 0.22541797161102295, 0.30474913120269775, -0.29801085591316223, -0.14261223375797272, -0.25362563133239746, 0.3159997761249542, 0.4526613652706146, -0.0948498472571373, -0.32885828614234924, -0.33213210105895996, -0.07036957144737244, -0.31992626190185547, 0.16152949631214142, 0.7758281230926514, -0.6438865065574646, 0.4628441333770752, 0.6306354999542236, 0.969465970993042, 0.5866442918777466, -0.018159309402108192, 0.38642585277557373, -0.7688590288162231, -0.0002805452386382967, 0.12075472623109818, 0.5805611610412598, 0.5865562558174133, -0.33805134892463684, 0.39344120025634766, 0.3969683051109314, -0.6799255609512329, -0.6666973233222961, 0.24262826144695282, -0.42551589012145996, -0.31994736194610596, 0.9207432270050049, -0.3550404906272888, -0.034129828214645386, -0.2183438539505005, -0.15425650775432587, 0.2705823481082916, -0.39841949939727783, 0.5366902947425842, 0.4900285005569458, 0.262265145778656, -0.4235018789768219, -0.23184943199157715, 0.305315762758255, 0.35578298568725586, -1.1411490440368652, -0.3089262843132019, 0.6368638873100281, 0.22965291142463684, 0.3012770116329193, 0.5541992783546448, -0.08297723531723022, 0.44174253940582275, 0.3166838586330414, 0.0198066309094429, -0.08480451256036758, -0.2791399359703064, -0.5191775560379028, 0.4245569705963135, -0.13854551315307617, -0.31405097246170044 ]
http://arxiv.org/abs/2402.11811v2
http://arxiv.org/pdf/2402.11811v2
FIPO: Free-form Instruction-oriented Prompt Optimization with Preference Dataset and Modular Fine-tuning Schema
2024-02-19T03:56:44
2024-06-16T10:29:03
Junru Lu, Siyu An, Min Zhang, Yulan He, Di Yin, Xing Sun
cs.CL
cs.CL
When the quality of naive prompts is carefully optimized by human experts, the task performance of large language models (LLMs) can be significantly improved. However, expert-based prompt optimizations are expensive. Herein, some works have proposed Automatic Prompt Optimization (APO), to optimize naive prompts according to task outputs of given in-box testing models, with the help of advanced LLMs (e.g., GPT-4) in an ad-hoc way. Although effective, existing schemes suffer from poor generalization ability and privacy risk. To this end, we collect the first large-scale Prompt Optimization Preference dataset (POP), fine-tune offline local LLM-based optimizers, then fairly test with various downstream models. Our method allows accurate optimization of the core task instruction part within the naive prompt in a model-agnostic manner, and thus is named Free-from Instruction-oriented Prompt Optimization (FIPO). In specific, FIPO uses a modular APO template that dynamically integrate the naive task instruction, optional instruction responses, and optional ground truth to produce finely optimized prompts. The POP dataset is meticulously constructed using advanced LLMs, undergoing rigorous cross-validation by human experts and analytical models. Leveraging insights from the data with Tulu2 models and diverse fine-tuning strategies, we validate the efficacy of FIPO framework across five public benchmarks and three testing models. Check codes and data here: https://github.com/LuJunru/FIPO_Project.
[ -0.398193359375, -0.9452323913574219, 0.2903037965297699, -0.028009437024593353, -0.16009920835494995, -0.39254191517829895, -0.252035528421402, -0.03617578372359276, -0.2971489727497101, 0.4106661379337311, -0.8476755023002625, -0.19978174567222595, -0.2045527696609497, 0.2950502038002014, 0.15843325853347778, 0.750802218914032, 0.02892647683620453, 0.016369184479117393, -0.3908161520957947, 0.39374539256095886, -0.6245968341827393, 0.007401514332741499, -0.758424699306488, 0.07412765175104141, 0.14805980026721954, 0.9662503600120544, 0.32279497385025024, 0.5762484669685364, 0.0422610267996788, 0.21656283736228943, -0.045932602137327194, 0.6982488632202148, -0.4479687213897705, 0.21276472508907318, 0.029172120615839958, -0.4997023940086365, -0.3719826936721802, -0.0853247195482254, 0.4566102921962738, 0.22374111413955688, 0.08214941620826721, 0.04543706029653549, 0.050769150257110596, 0.770828366279602, -0.5987781286239624, 0.3000989854335785, -0.6542357802391052, 0.04829111695289612, 0.10831567645072937, -0.2670094966888428, -0.602994441986084, -0.598119854927063, 0.18492847681045532, -0.8401657342910767, 0.17266081273555756, 0.33258572220802307, 0.5366721749305725, 0.359601229429245, -0.39166828989982605, -0.3541703522205353, -0.37248143553733826, 0.7354642152786255, -0.36694568395614624, 0.060421574860811234, 0.41313838958740234, 0.3243408203125, -0.5376976728439331, -0.14688892662525177, -0.3275424540042877, -0.26777946949005127, 0.05804690346121788, 0.001814396819099784, -0.25853630900382996, 0.3496610224246979, 0.09250565618276596, 0.42042064666748047, -0.4964800775051117, 0.118734210729599, -0.1501942127943039, -0.28242745995521545, 0.4348701238632202, 0.09614013135433197, 0.18921712040901184, -0.1684417724609375, -0.599589467048645, 0.22289352118968964, -0.5898738503456116, 0.679809033870697, 0.3586071729660034, 0.36839190125465393, -0.04156743735074997, 0.4646908938884735, -0.5030727982521057, 0.8817906379699707, 0.3543001115322113, -0.12653443217277527, 0.07174386084079742, -0.2742328345775604, 0.09274416416883469, -0.1520044058561325, 0.812216579914093, 0.5280430912971497, 0.500605046749115, -0.05565411597490311, -0.33980685472488403, -0.2187471091747284, 0.05869116634130478, -0.73109370470047, 0.18142451345920563, 0.2968986928462982, -0.3898179531097412, -0.5184063911437988, -0.15714408457279205, -0.7987873554229736, -0.18721625208854675, -0.4017571806907654, 0.44373559951782227, -0.4719521105289459, 0.11206701397895813, 0.030201006680727005, 0.23588763177394867, 0.008182208985090256, 0.3760274052619934, -1.0599902868270874, 0.06262864917516708, 0.8599541187286377, 0.8428826332092285, -0.2063450664281845, -0.044336091727018356, -1.0789527893066406, -0.06107553467154503, -0.2835651934146881, 0.9528647661209106, -0.6487211585044861, -0.5826532244682312, -0.11633157730102539, -0.00006033834506524727, -0.31685757637023926, -0.20171013474464417, 0.5448302626609802, -0.3077910542488098, 0.5709332823753357, -0.033385176211595535, -0.7564877271652222, -0.07231887429952621, 0.2572682201862335, -0.3587438464164734, 0.9221581220626831, 0.2020493596792221, -0.5282865762710571, -0.008272761479020119, -0.9612359404563904, -0.09386195242404938, -0.10936862975358963, -0.1403847187757492, -0.17602303624153137, 0.35948801040649414, 0.262315034866333, 0.3517678380012512, -0.6744231581687927, 0.35163718461990356, 0.00003908151848008856, -0.4934620261192322, -0.0802507996559143, -0.3063618242740631, 0.744070827960968, 0.3560909628868103, -0.4051060378551483, 0.492904394865036, -0.7169332504272461, -0.0626334622502327, -0.12941974401474, -0.1308862417936325, -0.21554237604141235, -0.0685780718922615, -0.6836857199668884, -0.03561734780669212, 0.30872464179992676, -0.5590180158615112, 0.5271557569503784, -0.46889322996139526, 0.22103647887706757, 0.9558011889457703, 0.1115637868642807, 0.5282280445098877, -0.394441694021225, 0.7598040103912354, -0.2890753746032715, 0.7111685276031494, -0.3525751829147339, -0.7246834635734558, -0.3851819932460785, -0.3206080496311188, -0.05651606246829033, 0.7915832996368408, -0.617607593536377, 0.5887486338615417, 0.0060561951249837875, -0.3805959224700928, -0.14581292867660522, -0.026866832748055458, 0.30710622668266296, 1.182785153388977, 0.18462403118610382, 0.18638932704925537, -0.039683859795331955, -0.9996569752693176, 0.09172381460666656, -0.05000566318631172, -0.0807165876030922, 0.4649313688278198, 0.030297210440039635, -0.16712936758995056, 1.03828763961792, -0.6142767071723938, -0.16147562861442566, -0.047564804553985596, -0.04852109029889107, 0.3283050060272217, 0.4860641658306122, 0.4859965443611145, -0.39206662774086, -0.5287942886352539, -0.18091115355491638, -0.015515023842453957, -0.43303918838500977, -0.011233310215175152, -0.350502073764801, 0.3415723443031311, 0.13581867516040802, -0.5241219997406006, 0.029882075265049934, 0.27388739585876465, -0.5201621055603027, 0.7633776068687439, -0.32704484462738037, 0.20734886825084686, -0.9092435240745544, 0.0717853531241417, -0.23205892741680145, 0.061018411070108414, -0.5746160745620728, -0.10177531093358994, 0.1906275451183319, -0.4875108301639557, -0.32244524359703064, 0.7826153039932251, -0.30034157633781433, 0.2582304775714874, -0.3151836693286896, -0.2556973397731781, 0.144544780254364, 0.617548406124115, -0.04422103241086006, 1.1097161769866943, 0.5710919499397278, -0.4331764280796051, 0.2280731350183487, 0.19397404789924622, -0.15505720674991608, 0.42595160007476807, -0.6957952380180359, 0.21114757657051086, -0.15665645897388458, 0.09607911854982376, -1.099483847618103, -0.19470298290252686, 0.3896874487400055, -0.32808730006217957, 0.13707390427589417, -0.19509035348892212, -0.4085938334465027, -0.12927193939685822, -0.5463629364967346, 0.10330391675233841, 0.5480026006698608, -0.3479958772659302, 0.47793787717819214, 0.03962237015366554, -0.16030846536159515, -0.5152288675308228, -0.10572808235883713, -0.5399059057235718, -0.12927751243114471, -0.691983699798584, 0.09745421260595322, -0.2878723442554474, 0.08953365683555603, -0.5227499604225159, -0.1760990023612976, -0.06670486927032471, 0.25845664739608765, 0.10194221884012222, 0.33661308884620667, -0.1251615434885025, 0.14561042189598083, 0.34824126958847046, -0.40642890334129333, -0.07793872058391571, -0.2968074083328247, 0.5524214506149292, -0.23465892672538757, 0.10601871460676193, -0.6565040946006775, 0.42783764004707336, 0.37467414140701294, -0.14141404628753662, 0.1979619562625885, 0.28785642981529236, -0.3052195608615875, -0.2137172669172287, -0.3603459298610687, -0.16646713018417358, -0.5124042630195618, -0.13820189237594604, -0.38640713691711426, -0.6876919865608215, 0.24049359560012817, -0.05975767597556114, 0.23324790596961975, 0.2211960405111313, 0.24068965017795563, 0.1633499562740326, 0.8839543461799622, 0.42212194204330444, 0.1780845671892166, 0.6154441237449646, -0.24381114542484283, -0.09137395024299622, -0.514556884765625, -0.2649291753768921, -0.6246827840805054, -0.11438222974538803, -0.2106177806854248, -0.44627827405929565, 0.4231278896331787, 0.19165541231632233, -0.32538866996765137, 0.01567797176539898, -0.7335055470466614, 0.5948503017425537, 0.8578296303749084, 0.08163239806890488, 0.1962079405784607, 0.14953547716140747, -0.20547199249267578, 0.04878870025277138, -0.5409412980079651, -0.5873611569404602, 1.0604374408721924, 0.24866999685764313, 0.4937132000923157, -0.3465542197227478, 0.37805309891700745, 0.33667758107185364, -0.034077756106853485, -1.0053086280822754, 0.5297052264213562, -0.2714998126029968, -0.48012080788612366, -0.15011943876743317, -0.49607276916503906, -0.7908552289009094, -0.17907999455928802, -0.04213700443506241, -0.6939399242401123, 0.3507087528705597, 0.44457802176475525, -0.8131983280181885, 0.0747629925608635, -1.0021920204162598, 0.9501532316207886, -0.3034483790397644, -0.21637080609798431, -0.0657593384385109, -0.5953838229179382, 0.20995771884918213, 0.04314505308866501, 0.10322137176990509, -0.3985446095466614, -0.4442204236984253, 0.4471888840198517, -0.5425296425819397, 0.5850178599357605, -0.5358997583389282, -0.11856697499752045, 0.3519723415374756, 0.11707804352045059, 0.6028701066970825, 0.11101780831813812, -0.4139658808708191, -0.12255413085222244, -0.0945030227303505, -0.37224075198173523, -0.4870041608810425, 0.679826021194458, -0.8363370299339294, -0.5454502701759338, -0.02019207738339901, -0.5751188397407532, -0.5280806422233582, 0.287482887506485, 0.4838886559009552, 0.8398070335388184, 0.218903049826622, 0.06152717024087906, 0.7741003036499023, -0.19133397936820984, 0.4183604121208191, 0.46944206953048706, 0.06598462164402008, -0.5958577394485474, 0.7947770953178406, -0.11169850826263428, 0.2428654432296753, 0.5894405245780945, 0.712920606136322, -0.24687916040420532, -0.5421968698501587, -0.55070960521698, -0.0797208845615387, -0.387080579996109, -0.41124066710472107, -0.4337626099586487, 0.37942954897880554, -0.3920951783657074, -0.3520258069038391, -0.2593540847301483, -0.6089386343955994, -0.5680387616157532, 0.23603805899620056, 0.5513915419578552, 0.1841765195131302, 0.07440822571516037, 0.5726025700569153, -0.6470751762390137, 0.2539904713630676, 0.2745642066001892, 0.32941412925720215, -0.14502166211605072, -0.3403708338737488, 0.10493090748786926, 0.046510592103004456, -0.361919641494751, -0.7519232034683228, 0.0019706881139427423, 0.3699214458465576, 0.5051053762435913, 0.7181951999664307, 0.33422091603279114, 0.3205791115760803, -0.42975932359695435, 0.7265869379043579, -0.03440670669078827, -0.8179576396942139, 1.0420117378234863, -0.5574987530708313, 0.21270734071731567, 0.7907763719558716, 0.42987820506095886, -0.2546103298664093, 0.15556547045707703, -0.37520766258239746, -0.7545961737632751, 0.9469959735870361, -0.13517890870571136, 0.08159475028514862, -0.18373523652553558, 0.6030016541481018, 0.6603614091873169, 0.19195757806301117, -0.1444644331932068, -0.2559352517127991, -0.0945776030421257, -0.33131009340286255, 0.3231605291366577, -0.3552120327949524, -0.13713130354881287, 0.03924575075507164, 0.777829647064209, -0.4212944805622101, 0.4679032862186432, 0.1435956060886383, 0.06247827410697937, -0.1659698635339737, 0.15093451738357544, 0.8505915403366089, 0.44090235233306885, -0.22645874321460724, -0.3814298212528229, -0.1026945561170578, -0.4124337136745453, 0.281320184469223, 0.2367468923330307, -0.5945219397544861, -0.1095055490732193, 0.006710385903716087, 0.8379474878311157, 0.07761023193597794, -0.6809644103050232, 0.5826492309570312, -0.2388487607240677, 0.13449686765670776, -0.15321579575538635, 0.6473430395126343, -0.4145766496658325, 0.021116238087415695, 0.5554160475730896, 0.16348305344581604, 0.2320258915424347, -0.13054627180099487, 0.18007045984268188, 0.2864244878292084, -0.24217066168785095, -0.2925611436367035, 0.6023892164230347, 0.6787254810333252, -0.5477525591850281, 0.3603467345237732, -0.30330392718315125, -0.1616864800453186, 0.6195990443229675, 0.33851224184036255, 0.8632646203041077, -0.27664294838905334, 0.3573271632194519, 0.48208263516426086, 0.06056399643421173, -0.009374410845339298, 0.42931315302848816, -0.31088873744010925, -0.4234701693058014, -0.30488958954811096, -0.21974064409732819, -0.5398479700088501, 0.03358888626098633, -0.40278080105781555, 0.6512617468833923, -0.6594240069389343, 0.07359430193901062, -0.5560490489006042, 0.4518851339817047, -0.37532326579093933, 0.09695244580507278, 0.030266428366303444, 1.1783262491226196, -0.52753084897995, 0.614180326461792, 0.6023014783859253, -0.06415828317403793, -0.5909111499786377, -0.08778303861618042, 0.07852675765752792, -0.9410722851753235, 0.25431862473487854, 0.536055326461792, 0.07308520376682281, 0.1714198738336563, -0.2558533549308777, -0.683584451675415, 0.9867817163467407, 0.5193092226982117, -0.7977128028869629, -0.29063841700553894, -0.028749529272317886, 0.11187915503978729, -0.6304839849472046, 0.5462719202041626, 0.3354889154434204, 0.27135980129241943, -0.01044648326933384, -0.7479676604270935, 0.09713955223560333, -0.24773569405078888, -0.0961339995265007, 0.06836148351430893, -0.908976137638092, 0.6062055230140686, -0.1461256891489029, -0.02772705629467964, 0.12410130351781845, 0.49361369013786316, 0.42138558626174927, 0.3235291838645935, 0.8926479816436768, 0.10460440814495087, 0.8032351732254028, -0.06961247324943542, 1.007642149925232, -0.6995720267295837, 0.09324907511472702, 0.9855470657348633, 0.08558251708745956, 0.38688790798187256, 0.45022398233413696, 0.126559779047966, 0.20900823175907135, 0.8492823243141174, 0.18153470754623413, 0.7188034057617188, 0.0951719880104065, -0.3246650993824005, -0.10277491807937622, -0.2478088140487671, -0.3933109939098358, 0.3076513409614563, 0.245474174618721, -0.20520374178886414, -0.17054851353168488, -0.07165201008319855, 0.09005631506443024, -0.11993777751922607, -0.39938101172447205, 0.6564573645591736, -0.38863393664360046, -0.8034766912460327, 0.5976266860961914, -0.227223739027977, 0.8487751483917236, -0.7635807394981384, 0.2607429623603821, -0.6756913661956787, -0.04339264705777168, 0.05999321863055229, -0.34254589676856995, 0.11343659460544586, 0.1345362663269043, -0.24147993326187134, -0.29960882663726807, 0.7256012558937073, -0.2233877331018448, -0.31658053398132324, -0.17604318261146545, 0.2323864996433258, 0.05979175493121147, -0.10074138641357422, -0.6683700084686279, -0.16380426287651062, 0.22372430562973022, -0.5460069179534912, -0.09691978245973587, 0.5098830461502075, -0.1067529246211052, 0.607718288898468, 0.6003172397613525, 0.11558191478252411, -0.2613109052181244, -0.14527657628059387, 0.5681152939796448, -0.42142921686172485, -0.6079567670822144, -0.6222111582756042, 0.6162676215171814, -0.0025324015878140926, -0.7866771221160889, 0.24602477252483368, 0.6985955238342285, 0.538049578666687, -0.1694158911705017, 0.5366138219833374, 0.08205942809581757, 0.42662733793258667, -0.49892184138298035, 0.37773704528808594, -0.4610692858695984, 0.12260961532592773, -0.09398077428340912, -0.8525117635726929, -0.041887376457452774, 0.4590614438056946, -0.33781561255455017, -0.2609921097755432, 0.3925960958003998, 0.9001332521438599, 0.003833996132016182, 0.28948721289634705, 0.16585713624954224, -0.221233069896698, 0.26076650619506836, 0.6407173275947571, 0.65067058801651, -0.21108095347881317, 0.6290925741195679, -0.5093801617622375, -0.6281248331069946, -0.31608906388282776, -1.0299075841903687, -0.7472197413444519, -0.43274345993995667, -0.23718388378620148, 0.1500571072101593, 0.026384208351373672, 1.3672572374343872, 0.5659540891647339, -0.7666655778884888, -0.042729537934064865, -0.21804337203502655, 0.15834881365299225, -0.09543485194444656, -0.28337815403938293, 0.3328844904899597, -0.664979100227356, -0.8186295628547668, 0.6187359094619751, 0.09799031168222427, 0.2163171023130417, 0.00809995736926794, -0.0037838411517441273, 0.173721581697464, 0.1211475133895874, 0.4746468961238861, 0.06397580355405807, -0.48012781143188477, -0.2720305025577545, 0.48841190338134766, 0.06384674459695816, 0.01596144028007984, 0.9144508242607117, -0.5083704590797424, 0.6015474796295166, 0.8409043550491333, 0.6733173727989197, -0.23354727029800415, 0.14791782200336456, 0.84148770570755, -0.600517749786377, 0.07623636722564697, 0.14373628795146942, 0.3569197654724121, 0.17056509852409363, -0.6878042221069336, 0.483707457780838, 0.2889634668827057, -0.6626368761062622, -0.7596184611320496, 0.14568905532360077, -0.782156765460968, -0.24363131821155548, 1.1769177913665771, -0.18668055534362793, -0.2539951801300049, 0.004906617570668459, -0.4698164463043213, 0.14096111059188843, -0.9003024101257324, 0.9209564924240112, 0.5771740674972534, -0.606343686580658, -0.013965150341391563, -0.4450782537460327, 0.6239851117134094, 0.47392693161964417, -0.8711264729499817, 0.11912960559129715, 0.7082764506340027, 0.1995851993560791, -0.1481195092201233, 0.6219944357872009, 0.12701845169067383, 0.46157512068748474, -0.36246228218078613, -0.14306433498859406, -0.6503129005432129, -0.27278855443000793, -0.36785832047462463, 0.19821366667747498, -0.214090034365654, -0.6006953120231628 ]
http://arxiv.org/abs/2402.11809v3
http://arxiv.org/pdf/2402.11809v3
Generation Meets Verification: Accelerating Large Language Model Inference with Smart Parallel Auto-Correct Decoding
2024-02-19T03:39:10
2024-05-20T01:48:18
Hanling Yi, Feng Lin, Hongbin Li, Peiyang Ning, Xiaotian Yu, Rong Xiao
cs.CL
cs.CL, cs.AI, cs.LG
This research aims to accelerate the inference speed of large language models (LLMs) with billions of parameters. We propose \textbf{S}mart \textbf{P}arallel \textbf{A}uto-\textbf{C}orrect d\textbf{E}coding (SPACE), an innovative approach designed for achieving lossless acceleration of LLMs. By integrating semi-autoregressive inference and speculative decoding capabilities, SPACE uniquely enables autoregressive LLMs to parallelize token generation and verification. This is realized through a specialized semi-autoregressive supervised fine-tuning process that equips existing LLMs with the ability to simultaneously predict multiple tokens. Additionally, an auto-correct decoding algorithm facilitates the simultaneous generation and verification of token sequences within a single model invocation. Through extensive experiments on a range of LLMs, SPACE has demonstrated inference speedup ranging from 2.7x-4.0x on HumanEval-X while maintaining output quality.
[ -0.0828903391957283, -0.8434430360794067, 0.6290984749794006, 0.45046213269233704, 0.024925991892814636, 0.32874444127082825, -0.27534225583076477, -0.28424394130706787, -0.0878593772649765, 0.4547570049762726, -0.34032341837882996, -0.48897773027420044, -0.673488199710846, 0.32212138175964355, -0.6841998100280762, 0.501834511756897, -0.10211431235074997, -0.14229391515254974, -0.18590733408927917, 0.0319727286696434, -0.15499602258205414, -0.747530996799469, -0.5846092104911804, 0.01481827162206173, 0.0741565078496933, 0.42349740862846375, 0.5807023644447327, 1.1878870725631714, 0.25640565156936646, 0.43339329957962036, -0.051145266741514206, 0.5878608822822571, -0.34693366289138794, 0.037864893674850464, 0.020459292456507683, -0.3819582760334015, -0.6557738184928894, -0.27716776728630066, 0.8994448184967041, 0.6481176018714905, -0.25158730149269104, 0.2915957570075989, -0.24908973276615143, 0.5471510291099548, -0.7876404523849487, 0.14114855229854584, -0.6240296959877014, -0.1357533037662506, -0.05009742081165314, -0.2961389720439911, -0.7042629718780518, -0.3353533148765564, -0.5101709961891174, -0.5627183318138123, 0.24744461476802826, 0.6613427400588989, 0.8563656210899353, 0.44343146681785583, -0.4878321588039398, -0.14387303590774536, -0.8686079978942871, 0.906376302242279, -0.6018980145454407, 0.5910915732383728, 0.22019225358963013, 0.2093169391155243, -0.34318292140960693, -0.9911537766456604, -0.7491180300712585, -0.11117689311504364, 0.0554497130215168, -0.2353801131248474, -0.19819000363349915, 0.17311391234397888, 0.602425754070282, 0.6001318693161011, -0.6019664406776428, 0.35799190402030945, -0.1718570441007614, -0.36413338780403137, 0.7366014719009399, 0.2868289053440094, 0.21557798981666565, 0.01893160305917263, -0.13469034433364868, -0.13202591240406036, -0.9193355441093445, -0.18349626660346985, 0.4575255811214447, -0.043647442013025284, -0.09974450618028641, 0.6024429202079773, -0.3459430932998657, 0.6528354287147522, 0.12845435738563538, 0.16403041779994965, 0.22276993095874786, -0.45411747694015503, -0.39447343349456787, -0.10008880496025085, 0.9430992007255554, 0.32119929790496826, 0.07838752120733261, -0.13345520198345184, -0.23925940692424774, 0.22849050164222717, -0.10976184904575348, -0.8768709301948547, -0.22440490126609802, 0.3571981191635132, -0.37983039021492004, 0.04330798238515854, -0.17038454115390778, -0.6946277022361755, -0.1127181276679039, -0.3156913220882416, 0.0704406276345253, -0.17291288077831268, -0.2286706417798996, 0.6810783743858337, 0.06787853688001633, 0.0781935304403305, 0.25848495960235596, -0.9285091161727905, 0.06750278174877167, 0.695406436920166, 0.3978081941604614, 0.04093368351459503, -0.4548085033893585, -0.722657322883606, 0.22764888405799866, -0.44431883096694946, 0.8006112575531006, -0.35428616404533386, -0.12498953193426132, -0.0407257042825222, 0.014981991611421108, -0.10747562348842621, -0.4498227536678314, 0.6463862657546997, -0.6445363163948059, -0.1384907066822052, -0.21565714478492737, -0.8393810987472534, 0.2257186472415924, 0.014045855961740017, -0.4346049726009369, 1.1796684265136719, -0.05157598480582237, -0.6077178716659546, 0.523157000541687, -0.49000388383865356, -0.4075678884983063, 0.06997378170490265, -0.25672951340675354, -0.3620850443840027, 0.13165265321731567, 0.503812849521637, 0.4552018344402313, -0.5069260001182556, 0.506465494632721, -0.39303725957870483, -0.3982177972793579, 0.023822041228413582, -0.40660399198532104, 0.7079163789749146, 0.4323650896549225, -0.3696501553058624, 0.14190568029880524, -1.0182219743728638, -0.04434887692332268, 0.3116355836391449, -0.41892433166503906, -0.07750663161277771, 0.23744690418243408, -0.19010135531425476, 0.075605109333992, 0.3485889732837677, -0.7684573531150818, 0.3444722592830658, -0.3185736835002899, 0.5972278714179993, 0.6622406244277954, -0.18913187086582184, 0.37476059794425964, 0.06274711340665817, 0.38135141134262085, -0.04890020936727524, 0.10702967643737793, -0.418049693107605, -0.2544345557689667, -1.0096094608306885, -0.44244837760925293, 0.5078727006912231, 0.5829274654388428, -0.6973810791969299, 0.9601966738700867, -0.2842423617839813, -0.1868954300880432, -0.4118450880050659, 0.0948224663734436, 0.42639702558517456, 0.33563435077667236, 0.19773069024085999, 0.06325702369213104, -0.8072210550308228, -0.7891370058059692, -0.2889649271965027, -0.4256388545036316, -0.0339931957423687, 0.2661453187465668, 0.4835277199745178, -0.22975340485572815, 0.6954042911529541, -0.2747381031513214, 0.4312644302845001, -0.28932473063468933, 0.24988998472690582, 0.07915202528238297, 0.7252777218818665, 0.41478821635246277, -0.45404982566833496, -0.2741382122039795, -0.14529424905776978, -0.8595426082611084, -0.41019076108932495, -0.03687519207596779, -0.16803580522537231, 0.34613093733787537, 1.0335545539855957, -0.5137442946434021, 0.3094250559806824, 0.6800228357315063, -0.5505630970001221, 0.41661715507507324, -0.49919191002845764, 0.3911951780319214, -0.954304575920105, 0.023729348555207253, -0.296162486076355, -0.34415513277053833, -0.34659653902053833, 0.2446240335702896, 0.26696231961250305, -0.03879355639219284, -0.3099028468132019, 0.5267508625984192, -0.6457692384719849, -0.2634022533893585, -0.32123878598213196, -0.12721557915210724, 0.15297529101371765, 0.2699909508228302, -0.07694926112890244, 1.0791733264923096, 0.8211818933486938, -0.6879026889801025, 0.2628980875015259, -0.008042196743190289, -0.3245973289012909, 0.12193454802036285, -0.7415121793746948, 0.2985559105873108, -0.1477230191230774, 0.391501247882843, -0.8763427734375, -0.1883646696805954, -0.23902302980422974, -0.26085779070854187, 0.13740374147891998, -0.001254864502698183, -1.2411701679229736, -0.696063220500946, 0.17026548087596893, 0.8467817902565002, 0.626991331577301, -0.8183197975158691, 0.6642683744430542, 0.3854226768016815, 0.16035343706607819, -0.5024927854537964, -0.5008180737495422, 0.25888192653656006, 0.01016098540276289, -0.6322352290153503, 0.0438176728785038, -0.13741815090179443, -0.19908472895622253, -0.23572136461734772, 0.17284508049488068, 0.22957465052604675, 0.17766141891479492, 0.10011354088783264, 0.1550656408071518, -0.14992107450962067, -0.09188180416822433, 0.24553725123405457, -0.2530977427959442, 0.03398137539625168, -0.5978772640228271, 0.5677683353424072, -0.3680213391780853, -0.5955803394317627, -0.4416336119174957, 0.4159730076789856, 0.8182650804519653, -0.24245525896549225, 0.6507507562637329, 0.37326839566230774, -0.40442922711372375, -0.4713622033596039, -0.7382427453994751, -0.03797724470496178, -0.5198220014572144, 0.32368892431259155, -0.35051730275154114, -1.2014659643173218, 0.8282763957977295, -0.23963849246501923, 0.04682442918419838, 0.553352952003479, 0.8074640035629272, 0.24095679819583893, 1.408957600593567, 0.7126010656356812, 0.0009510529926046729, 0.12863127887248993, -0.18936921656131744, 0.3386414051055908, -0.5413855910301208, -0.28710687160491943, -0.712695837020874, 0.020534925162792206, -0.47888556122779846, -0.7143470644950867, 0.08143038302659988, 0.31921231746673584, -0.3795681595802307, 0.47100183367729187, -0.3992501497268677, 0.631504237651825, 0.5520293116569519, -0.258223295211792, 0.4817744195461273, -0.14821135997772217, -0.3062002658843994, 0.20505069196224213, -0.9917038083076477, -0.4044772982597351, 1.0664324760437012, 0.5891891121864319, 0.7990568280220032, -0.0997367799282074, 0.5607126951217651, 0.35256272554397583, 0.19877149164676666, -0.4808812439441681, 0.7970555424690247, -0.3187369406223297, -0.4760085344314575, 0.048865292221307755, -0.49621084332466125, -0.7845230102539062, -0.049595437943935394, -0.009541520848870277, -0.6831487417221069, 0.23559428751468658, 0.5804666876792908, -0.4302673041820526, 0.3365398347377777, -0.6802003979682922, 0.8503701686859131, -0.17618893086910248, -0.3387661278247833, -0.2930878698825836, -0.40701135993003845, 0.4720397889614105, 0.03873629495501518, 0.16175101697444916, -0.07650520652532578, 0.12289858609437943, 0.49563610553741455, -0.5483790636062622, 0.6339616179466248, -0.19150762259960175, -0.27346810698509216, 0.3936959505081177, 0.19893258810043335, 0.7684249877929688, 0.13735680282115936, -0.07383864372968674, 0.19152085483074188, -0.29363173246383667, -0.425636351108551, -0.40863320231437683, 0.6704312562942505, -0.5152456760406494, -0.41335102915763855, -0.18736444413661957, -0.7486191391944885, -0.20969676971435547, 0.10901045054197311, 0.17558959126472473, 0.23174095153808594, 0.04668735712766647, 0.12657509744167328, 0.7004460096359253, -0.4126153886318207, 0.4412239193916321, 0.5973466634750366, -0.23042938113212585, -0.3105819523334503, 0.7766571044921875, -0.36526426672935486, 0.18974223732948303, 0.3718835115432739, -0.021293124184012413, -0.5141834616661072, -0.8509916067123413, -0.7246271967887878, 0.24475686252117157, -0.6289108991622925, -0.2484855353832245, -0.812369704246521, -0.24995538592338562, -0.4925880432128906, -0.19112657010555267, -0.6454070806503296, -0.35893142223358154, -0.06124602258205414, -0.03766239434480667, 0.25915005803108215, 0.7024661898612976, -0.0910617858171463, 0.3268268406391144, -1.0069791078567505, 0.293496310710907, 0.22167335450649261, 0.2721753716468811, -0.2435108870267868, -0.6278862953186035, -0.3405359983444214, -0.21642421185970306, 0.125930055975914, -0.3539814352989197, 0.22104930877685547, 0.08742149919271469, 0.5050486326217651, 0.31635352969169617, -0.05859604477882385, 0.7233542799949646, -0.6705399751663208, 0.843744158744812, 0.021821103990077972, -1.2503300905227661, 0.5580767393112183, -0.3619858920574188, 0.30091947317123413, 0.3515361249446869, -0.13199065625667572, -0.18955038487911224, -0.734024167060852, -0.7381758689880371, -0.9149261116981506, 0.5035918951034546, 0.06622938066720963, -0.07810642570257187, -0.3294490873813629, 0.4312979280948639, -0.07605639100074768, 0.19067132472991943, -0.34615781903266907, -0.17122803628444672, -0.0435945987701416, -0.16692987084388733, -0.01042331662029028, -0.3593580424785614, 0.05077337846159935, -0.24159234762191772, 0.5444579720497131, -0.32303163409233093, 0.4029749631881714, 0.17306672036647797, -0.1856294721364975, -0.295112669467926, 0.17071199417114258, 0.6272567510604858, 0.5676586627960205, -0.0881546139717102, 0.13826440274715424, 0.10374479740858078, -0.12883220613002777, 0.15143908560276031, 0.20856444537639618, -0.11896897852420807, -0.1547660529613495, 0.344948947429657, 0.9987272620201111, -0.0019495589658617973, -0.7951499223709106, 0.5345197916030884, -0.22598949074745178, -0.5290843844413757, -0.20191416144371033, 0.022547833621501923, -0.10587846487760544, 0.3246229887008667, 0.39464619755744934, 0.07201726734638214, 0.08720945566892624, -0.16564814746379852, 0.3663598895072937, 0.31847718358039856, 0.39252302050590515, -0.32777178287506104, 1.0288528203964233, 0.2213621735572815, -0.05114132910966873, 0.6714091300964355, -0.463628888130188, -0.35851556062698364, 0.7558907866477966, 0.6356103420257568, 0.9872649908065796, 0.015956774353981018, -0.21676331758499146, 0.6748244166374207, 0.3060612976551056, -0.33073127269744873, 0.4304102063179016, -0.17905214428901672, -0.7018947601318359, -0.9704352021217346, -1.0879753828048706, -0.2621295154094696, 0.14448438584804535, -0.4921959638595581, -0.08498888462781906, -0.5728565454483032, 0.07266609370708466, -0.22466608881950378, -0.32768991589546204, -0.5644983053207397, 0.13276797533035278, 0.4607952833175659, 1.1703801155090332, -0.9958045482635498, 0.8310346007347107, 0.5609488487243652, 0.13660261034965515, -1.0901906490325928, -0.08172857016324997, -0.15218880772590637, -1.0187290906906128, 0.9784379601478577, 0.010711830109357834, -0.31079718470573425, 0.26680541038513184, -0.5628715753555298, -0.9052320718765259, 0.969793438911438, 0.5716664791107178, -0.8670787811279297, -0.052883002907037735, 0.11720670014619827, 0.5237025022506714, -0.4208618104457855, 0.12433324754238129, 0.6534416079521179, 0.3798081576824188, 0.17546603083610535, -1.043949007987976, 0.12553386390209198, -0.21096983551979065, 0.18729083240032196, 0.302206814289093, -0.5893509984016418, 0.7363008856773376, -0.30690833926200867, -0.32280832529067993, 0.3656856417655945, 1.1008963584899902, 0.570634663105011, 0.030811715871095657, 0.5879722833633423, 0.891914963722229, 0.66400146484375, -0.19641152024269104, 0.9797553420066833, -0.886834442615509, 0.4334483742713928, 0.8377054333686829, -0.3514998257160187, 0.6762918829917908, 0.5058098435401917, -0.22025080025196075, 0.49228131771087646, 0.4892190098762512, -0.03566954284906387, 0.14581730961799622, 0.27539628744125366, -0.25268417596817017, -0.5236589908599854, -0.1079300045967102, -0.13428713381290436, 0.5196677446365356, 0.4936731159687042, -0.5399901866912842, -0.2111569046974182, -0.10580296069383621, -0.16666573286056519, 0.184504896402359, -0.3744557797908783, 0.5037817358970642, -0.17179803550243378, -0.9262260794639587, 0.7218645215034485, 0.284213125705719, 0.5730821490287781, -0.3883131146430969, -0.007187359966337681, -0.1138787716627121, 0.40394020080566406, -0.0017502333503216505, -0.5767608284950256, 0.2032291144132614, -0.04056081920862198, -0.15309321880340576, -0.5994278192520142, 0.6136468648910522, -0.4758405089378357, -0.4853023588657379, 0.29812854528427124, 0.4441109597682953, 0.10371629148721695, 0.18844161927700043, -0.6223912835121155, 0.29698556661605835, -0.09851951897144318, -0.2078663557767868, 0.07641962170600891, 0.5858058929443359, -0.053992804139852524, 0.6322877407073975, 0.846388578414917, 0.13091033697128296, 0.33278360962867737, 0.3566252589225769, 0.7622660994529724, -0.5012064576148987, -0.6668201684951782, -0.8509826064109802, 0.48841217160224915, 0.03636760637164116, -0.22516246140003204, 0.928707480430603, 0.6824434399604797, 0.7929796576499939, -0.1633870154619217, 0.6011690497398376, -0.2126539945602417, 0.3681972622871399, -0.7260268926620483, 0.41793766617774963, -0.48576590418815613, 0.416490763425827, 0.15872742235660553, -0.7127413153648376, -0.33014941215515137, 0.36329957842826843, -0.10129952430725098, 0.0557255744934082, 0.7772185206413269, 0.9961310625076294, -0.04257292300462723, -0.15787677466869354, 0.26717254519462585, 0.2867323160171509, 0.31947943568229675, 0.7610814571380615, 0.8795085549354553, -0.6338204741477966, 0.43451279401779175, -0.15902993083000183, -0.32223477959632874, -0.0920465737581253, -1.1650233268737793, -0.8511985540390015, -0.37276265025138855, -0.4766843914985657, -0.6093071699142456, 0.0475546233355999, 0.801927387714386, 0.7988677024841309, -0.8205720782279968, -0.21722713112831116, -0.6709365844726562, -0.22165580093860626, -0.11541342735290527, -0.2395196110010147, 0.3929542005062103, -0.39440134167671204, -0.9713888764381409, 0.5915131568908691, 0.5157821178436279, 0.011631856672465801, -0.3682194948196411, -0.3046437203884125, -0.057076841592788696, 0.14747354388237, 0.46089231967926025, 0.5515080094337463, -0.6911542415618896, -0.11901507526636124, -0.031089643016457558, -0.17339837551116943, -0.14870961010456085, 1.1658146381378174, -0.7164480686187744, 0.23139789700508118, 0.6508252620697021, 0.8102431893348694, 0.33182209730148315, 0.01312586385756731, 0.8295402526855469, -0.6896172165870667, 0.22675925493240356, 0.2048642933368683, 0.6529796719551086, 0.2486743927001953, -0.47409123182296753, 0.09431596100330353, 0.48021000623703003, -0.9113245606422424, -1.0214102268218994, 0.373782217502594, -0.7854250073432922, -0.012738077901303768, 1.234724521636963, -0.286096453666687, -0.45154228806495667, -0.06709838658571243, 0.163927361369133, 0.255554735660553, -0.345248818397522, 0.6205421686172485, 0.41792550683021545, -0.06804471462965012, -0.1698395311832428, -0.30208727717399597, 0.4592705965042114, 0.7790477275848389, -0.8226690888404846, 0.6220201253890991, 0.5889925956726074, 0.1273396909236908, 0.12459366023540497, 0.610431432723999, -0.18697716295719147, 0.4037872552871704, 0.26298362016677856, 0.20360375940799713, -0.30725646018981934, -0.551317036151886, -0.32769066095352173, 0.15754559636116028, 0.17872342467308044, -0.11763989180326462 ]
http://arxiv.org/abs/2402.11804v3
http://arxiv.org/pdf/2402.11804v3
LLM as Prompter: Low-resource Inductive Reasoning on Arbitrary Knowledge Graphs
2024-02-19T03:21:19
2024-06-19T09:00:53
Kai Wang, Yuwei Xu, Zhiyong Wu, Siqiang Luo
cs.AI
cs.AI, cs.CL, cs.SI
Knowledge Graph (KG) inductive reasoning, which aims to infer missing facts from new KGs that are not seen during training, has been widely adopted in various applications. One critical challenge of KG inductive reasoning is handling low-resource scenarios with scarcity in both textual and structural aspects. In this paper, we attempt to address this challenge with Large Language Models (LLMs). Particularly, we utilize the state-of-the-art LLMs to generate a graph-structural prompt to enhance the pre-trained Graph Neural Networks (GNNs), which brings us new methodological insights into the KG inductive reasoning methods, as well as high generalizability in practice. On the methodological side, we introduce a novel pretraining and prompting framework ProLINK, designed for low-resource inductive reasoning across arbitrary KGs without requiring additional training. On the practical side, we experimentally evaluate our approach on 36 low-resource KG datasets and find that ProLINK outperforms previous methods in three-shot, one-shot, and zero-shot reasoning tasks, exhibiting average performance improvements by 20%, 45%, and 147%, respectively. Furthermore, ProLINK demonstrates strong robustness for various LLM promptings as well as full-shot scenarios.
[ -0.3473988175392151, -0.7115285992622375, 0.7376532554626465, 0.01531597226858139, -0.33258742094039917, -0.0338747464120388, -0.2915734350681305, -0.10175327211618423, 0.07062886655330658, 0.12737098336219788, -0.7925353050231934, -0.5220573544502258, -0.3979158401489258, 0.4965066611766815, -0.006961219012737274, 0.6591242551803589, -0.21596725285053253, -0.014859498478472233, -0.4392182230949402, -0.21570290625095367, -0.3869000971317291, -0.1454169750213623, -0.6580499410629272, -0.6503931283950806, 0.9735669493675232, 0.46551385521888733, 0.7461960911750793, 0.380478173494339, 0.15314723551273346, 0.2373889833688736, -0.17653638124465942, 0.5178402066230774, -0.4252917468547821, 0.09265164285898209, -0.20116984844207764, -0.2328655868768692, -0.1796112060546875, -0.07421468943357468, 0.5762219429016113, 0.9284305572509766, 0.3125878572463989, 0.10981955379247665, 0.2534172534942627, 0.5607125759124756, -0.5458738803863525, 0.49358320236206055, -0.5539066791534424, -0.02703840658068657, -0.045443110167980194, -0.14434124529361725, -0.6485009789466858, -0.5782808065414429, 0.016730889678001404, -0.8835726976394653, -0.004142866004258394, 0.2256300449371338, 0.7346745133399963, 0.4045279622077942, -0.29300373792648315, -0.31323665380477905, -0.4014587104320526, 0.28566524386405945, -0.539006233215332, 0.3538687229156494, 0.4022844433784485, 0.30217981338500977, -0.4110974967479706, -1.045050859451294, -0.7071351408958435, -0.47027894854545593, -0.4387706518173218, 0.03371388465166092, -0.1554381251335144, 0.2531070113182068, 0.29690417647361755, 0.09023553878068924, -0.5639486312866211, 0.3263370394706726, -0.04630083590745926, -0.1708829700946808, 0.3036677837371826, 0.20305176079273224, 0.13149422407150269, -0.3927415609359741, 0.07940268516540527, 0.07098902761936188, -1.0563963651657104, -0.014781191013753414, 0.48002150654792786, 0.6669161915779114, 0.01850021444261074, 0.5646013617515564, -0.42650505900382996, 0.9117354154586792, -0.2006296068429947, -0.059830665588378906, 0.09660881012678146, -0.40407463908195496, -0.137856125831604, 0.14612826704978943, 1.104285478591919, 0.1678091585636139, 0.48270395398139954, -0.3475774824619293, 0.19245094060897827, -0.052120476961135864, -0.16994476318359375, -0.9436934590339661, -0.5965952277183533, 0.137319877743721, -0.3789800703525543, -0.0920337364077568, -0.5568835139274597, -0.3127945363521576, -0.48996809124946594, -0.1764540672302246, 0.331243634223938, -0.593358039855957, -0.14896667003631592, 0.00014353501319419593, 0.06542181968688965, -0.09811572730541229, 0.40576088428497314, -0.7694113254547119, -0.2624751627445221, 0.21665622293949127, 0.8003401160240173, 0.26414039731025696, -0.17831560969352722, -0.6560612916946411, 0.11369022727012634, -0.2556273639202118, 0.850490391254425, -0.5681748986244202, -0.3974595367908478, -0.044932473450899124, 0.06746664643287659, -0.053771261125802994, -0.5813042521476746, 0.48311829566955566, -0.5616803169250488, 0.09742777794599533, -0.6887108683586121, -0.3757990002632141, -0.080705925822258, 0.47591057419776917, -0.5768462419509888, 0.9668596386909485, 0.36093196272850037, -0.8494341373443604, 0.21023677289485931, -0.6790600419044495, -0.7062762975692749, 0.4605244994163513, -0.2998768389225006, -0.12544065713882446, -0.32281675934791565, 0.3042246997356415, 0.39997589588165283, -0.6086493730545044, 0.34022873640060425, -0.4301512837409973, -0.2377537190914154, 0.06382693350315094, -0.18959610164165497, 0.7726417779922485, 0.21259427070617676, -0.08568922430276871, 0.28221893310546875, -0.7693014740943909, 0.12907816469669342, 0.2697218358516693, -0.508997917175293, -0.15250079333782196, -0.08504500985145569, -0.5838723182678223, 0.12131712585687637, 0.031126854941248894, -0.4220048487186432, 0.43125760555267334, -0.35555294156074524, 0.6394254565238953, 0.6985166072845459, -0.11335403472185135, 0.5025479197502136, 0.08576861768960953, 0.4681406021118164, -0.12600009143352509, 0.0822463259100914, -0.1670999526977539, -0.3441386818885803, -0.5638287663459778, -0.28252750635147095, 0.33719897270202637, 0.5453741550445557, -1.2884316444396973, 0.258889377117157, -0.24922755360603333, -0.3436596095561981, -0.38376402854919434, 0.18841759860515594, 0.40988799929618835, 0.9189547896385193, 0.5226531028747559, 0.24910876154899597, -0.3808603882789612, -0.6041087508201599, -0.15119412541389465, -0.3809677064418793, -0.12345492839813232, 0.5279565453529358, 0.3440668284893036, -0.08847847580909729, 1.0988600254058838, -0.47665145993232727, -0.17624014616012573, -0.6811912655830383, 0.12281350791454315, 0.37317126989364624, 0.20897790789604187, 0.3552299439907074, -0.4035991430282593, -0.40714171528816223, -0.15824392437934875, -1.1267114877700806, -0.24467863142490387, 0.0002511529892217368, -0.1971990317106247, -0.1987556666135788, 0.6365588903427124, -0.9314699769020081, 0.05764741450548172, 0.2543134391307831, -0.16733711957931519, 0.7294753193855286, 0.0007952972082421184, -0.2872684895992279, -0.8807762265205383, -0.10497089475393295, -0.00337402056902647, -0.019368072971701622, -0.3153606951236725, -0.1538124978542328, -0.1430446207523346, -0.23677729070186615, -0.35562869906425476, 0.7927334308624268, -0.4931568503379822, 0.038156893104314804, -0.04099363088607788, 0.3350221514701843, 0.05138123035430908, 0.4360700249671936, -0.1638377606868744, 0.8093156218528748, 0.38774847984313965, -0.7240308523178101, 0.6614521741867065, 0.44630199670791626, -0.4731650650501251, 0.4258802831172943, -0.7153434157371521, -0.03798676282167435, -0.3155041038990021, 0.5610222816467285, -0.9576526880264282, -0.31095150113105774, 0.49643734097480774, -0.3201836347579956, 0.28059133887290955, -0.418914258480072, -0.9078280925750732, -0.8039582371711731, 0.007548308931291103, 0.38867974281311035, 0.41184163093566895, -0.7018663287162781, 0.7585546970367432, -0.2613442540168762, -0.14375711977481842, -0.5616499185562134, -0.21819612383842468, -0.07050967961549759, -0.01661578007042408, -0.759630024433136, 0.1640065610408783, -0.08363723754882812, -0.10335249453783035, 0.28692367672920227, 0.058407723903656006, 0.3053865432739258, 0.21552330255508423, 0.16830800473690033, 0.2272465080022812, -0.2485181838274002, 0.39140263199806213, -0.03523608669638634, -0.28857511281967163, 0.1078050509095192, -0.733863353729248, 0.7126567363739014, -0.11502949893474579, -0.4936698079109192, -0.4792400300502777, 0.05745773762464523, 0.20540307462215424, -0.12128730863332748, 0.8650667071342468, 0.6312084197998047, -0.09391539543867111, -0.1982303261756897, -0.3010175824165344, -0.33511781692504883, -0.5190914273262024, 0.30906063318252563, -0.34484174847602844, -1.0640394687652588, 0.5132663249969482, -0.5590920448303223, -0.3306404650211334, 0.33841994404792786, 0.4852047264575958, -0.2563009262084961, 0.8382410407066345, 0.20921853184700012, 0.003282758640125394, 0.35811060667037964, -0.4204272925853729, 0.5669753551483154, -0.6965901851654053, -0.4160429835319519, -0.4488268196582794, -0.429526150226593, -0.2672211229801178, -0.1785196214914322, 0.5364649295806885, 0.5049679279327393, -0.6412215232849121, 0.12388226389884949, -0.4103962779045105, 0.6768750548362732, 0.6458823084831238, 0.03527801111340523, 0.11355746537446976, -0.08857346326112747, -0.6139271259307861, 0.2662925720214844, -1.1065036058425903, -0.3264898657798767, 0.6827500462532043, -0.015360315330326557, 0.8009220957756042, -0.13070707023143768, 0.5097354054450989, 0.06464753299951553, 0.4663723111152649, -0.8523188233375549, 0.7948333024978638, -0.0326647013425827, -0.2556382715702057, -0.3864048719406128, -0.7305070757865906, -0.8373575806617737, 0.018581552430987358, -0.14919626712799072, -0.6408399939537048, -0.05777968838810921, 0.2735673785209656, -0.565962016582489, 0.4512946903705597, -0.6352478861808777, 1.0513986349105835, -0.12983004748821259, -0.2436758279800415, 0.23079955577850342, -0.653590977191925, 0.19742777943611145, 0.2859269082546234, 0.0920150950551033, -0.2756187617778778, 0.5352606177330017, 0.45284464955329895, -0.6523110270500183, 0.951782763004303, -0.46189525723457336, 0.0631810873746872, 0.6368414163589478, 0.1556180715560913, 0.9787315130233765, -0.07137324661016464, -0.08257223665714264, -0.17156215012073517, -0.6609440445899963, -0.2565601170063019, -0.6954439878463745, 0.42353272438049316, -0.721362829208374, -0.5723187923431396, 0.15180158615112305, -0.780680239200592, -0.3601119816303253, 0.3169892132282257, 0.6113321185112, 0.7054991722106934, 0.19584597647190094, 0.18602703511714935, 0.6746549606323242, -0.3779515326023102, 0.4029349684715271, 0.29624924063682556, 0.0798526182770729, -0.3146049380302429, 0.7698925137519836, 0.22655460238456726, 0.2082074135541916, 0.3332635462284088, 0.32235610485076904, -0.5327818393707275, -0.7093098759651184, -0.6760488748550415, 0.40768715739250183, -1.0800775289535522, -0.5535637140274048, -0.8790821433067322, -0.2571223974227905, -0.277341365814209, -0.3785490095615387, -0.09163367748260498, -0.295662522315979, -0.3846985101699829, -0.32831722497940063, 0.5006284117698669, 0.49989554286003113, 0.10407836735248566, 0.5270867943763733, -0.7802081108093262, 0.18739335238933563, 0.4353164732456207, 0.29791006445884705, 0.1774451583623886, -0.3619270920753479, -0.21412938833236694, -0.3182023763656616, -0.0331881083548069, -0.6924082040786743, 0.07575219124555588, -0.06092741712927818, 0.7764295935630798, 0.32404759526252747, 0.55475914478302, 0.4317387342453003, -0.4654198884963989, 0.8184792995452881, 0.4858211874961853, -0.5963120460510254, 0.6696276068687439, -0.4184436500072479, 0.28364086151123047, 0.531147837638855, 0.7267690300941467, -0.23043575882911682, -0.2979903817176819, -0.3645009994506836, -0.9462893605232239, 0.5507946610450745, -0.01416228897869587, -0.009877204895019531, -0.42758452892303467, 0.4346955120563507, -0.17563264071941376, -0.011325052008032799, -0.7871811389923096, -0.1334066092967987, -0.3228093385696411, -0.4593935012817383, 0.2862839102745056, -0.42810696363449097, -0.26311764121055603, -0.2978050708770752, 0.6519331336021423, -0.6420466899871826, 0.16445066034793854, 0.1421339213848114, -0.2431199848651886, 0.10396527498960495, 0.34936851263046265, 0.23499776422977448, 0.6271220445632935, -0.0308797899633646, 0.37210145592689514, 0.4136239290237427, -0.1009925901889801, 0.3308042585849762, 0.24106203019618988, -0.1903623342514038, -0.0874517634510994, 0.5830502510070801, 0.8608783483505249, 0.13359899818897247, -0.41818469762802124, 0.4473177194595337, 0.09045904129743576, -0.28956738114356995, -0.01781998574733734, -0.019634222611784935, 0.3969419002532959, 0.53536057472229, 0.27436453104019165, -0.2770542502403259, -0.34088635444641113, -0.2603631913661957, -0.22005051374435425, 0.4202326834201813, -0.2528039515018463, -0.24860475957393646, 0.8184168338775635, 0.3368782699108124, -0.08689229190349579, 1.0187584161758423, -0.8827624320983887, -0.5245854258537292, 0.3917849063873291, 0.6826596260070801, 0.6696398854255676, 0.10771872848272324, 0.4001295268535614, 0.4912126660346985, 0.3054558336734772, -0.059239789843559265, 0.1375693678855896, -0.12343940138816833, -0.9565169811248779, -0.7272111773490906, -0.6702846884727478, -0.2485072761774063, 0.15799903869628906, -0.23015142977237701, 0.09373042732477188, -0.6144985556602478, -0.1700039654970169, -0.12394915521144867, -0.029548397287726402, -0.610957145690918, -0.0053784484043717384, 0.0927053913474083, 1.0708813667297363, -0.7512766122817993, 0.8290612697601318, 0.5664708018302917, -0.5605557560920715, -1.171703577041626, -0.21617531776428223, -0.020575832575559616, -0.9124346375465393, 1.1534124612808228, 0.17659969627857208, -0.3172719478607178, 0.18479102849960327, -0.5911054015159607, -0.5714794993400574, 1.335422396659851, 0.661687970161438, -0.4273433983325958, -0.22710612416267395, 0.056942060589790344, 0.23527368903160095, -0.34250709414482117, 0.22709789872169495, 0.41040733456611633, 0.5526077747344971, 0.5553422570228577, -0.6937450766563416, 0.3686509430408478, -0.18901169300079346, -0.11964660882949829, 0.036636169999837875, -0.4824094772338867, 0.9235790371894836, -0.48306092619895935, -0.2510153353214264, -0.08639616519212723, 0.7441889047622681, 0.4425663948059082, 0.22913822531700134, 0.546257734298706, 0.6746276021003723, 1.1413133144378662, -0.18109750747680664, 1.2464730739593506, -0.27710577845573425, 0.05218493938446045, 1.0881503820419312, -0.44971218705177307, 0.25632530450820923, 0.000645296648144722, -0.2586667239665985, 0.7959553599357605, 0.7163140773773193, 0.2049931436777115, 0.5019969344139099, 0.2267453372478485, -0.536965012550354, -0.5851312875747681, -0.5628319382667542, -0.45131343603134155, 0.13012675940990448, 0.225459024310112, -0.23274913430213928, -0.4397444725036621, 0.008005660958588123, 0.412016898393631, -0.14477497339248657, -0.4796571731567383, 0.5847960114479065, 0.14215818047523499, -0.5408148169517517, 0.6795145273208618, -0.28643733263015747, 0.39617517590522766, -0.7506840825080872, 0.17629148066043854, -0.3602263927459717, 0.08506683260202408, -0.24087771773338318, -0.7486951351165771, 0.03323078155517578, -0.11571934074163437, -0.25854265689849854, -0.33464598655700684, 0.8905467391014099, -0.16030991077423096, -0.20375846326351166, 0.5012124180793762, 0.5594430565834045, -0.02110852301120758, -0.11699441820383072, -0.4436979591846466, -0.16413280367851257, -0.19242988526821136, -0.20218582451343536, 0.3995733857154846, 0.7825812697410583, -0.10002102702856064, 0.8128839135169983, 0.7339425683021545, -0.040442463010549545, -0.23876310884952545, 0.5555518269538879, 1.3177130222320557, -0.5067185759544373, -0.5394881367683411, -0.9484943747520447, 0.1776212453842163, -0.05522637441754341, 0.052307769656181335, 0.6596994400024414, 0.2983328700065613, 0.7573520541191101, 0.1137462705373764, 0.7992187142372131, -0.00532688619568944, 0.1650059074163437, -0.7563925981521606, 0.6093920469284058, -0.30825063586235046, 0.08727023005485535, -0.026216479018330574, -0.7524356842041016, -0.26662343740463257, 0.5878257751464844, -0.5299456715583801, -0.0061490414664149284, 0.7515196800231934, 0.8058921694755554, 0.1523716151714325, 0.09577177464962006, 0.04748893901705742, 0.2361125349998474, 0.32748350501060486, 0.5971003174781799, 1.1817923784255981, 0.19362185895442963, 0.9429289102554321, 0.21902568638324738, -0.0009315384086221457, -0.19539402425289154, -1.1044741868972778, -0.9867739677429199, -0.29830339550971985, -0.17965830862522125, -0.6122822165489197, -0.09145808964967728, 1.0736422538757324, 0.5469425916671753, -0.4963260591030121, 0.25138580799102783, -0.15243889391422272, 0.43330270051956177, 0.023576751351356506, -0.2096492350101471, 0.4210914671421051, -0.6473655104637146, -0.14528407156467438, 0.659034252166748, 0.31251955032348633, 0.02591012232005596, -0.11020610481500626, -0.3540424108505249, -0.12870799005031586, -0.18703633546829224, 0.7780733108520508, 0.3308098316192627, -0.5658378005027771, -0.490058958530426, -0.04028257727622986, 0.09270525723695755, -0.07133770734071732, 0.9848906993865967, -1.088197946548462, 0.2631441354751587, 0.5456485152244568, 0.7249303460121155, 0.40702110528945923, -0.18667922914028168, 0.28161418437957764, -1.0971508026123047, 0.22758233547210693, 0.1846989393234253, 0.472046822309494, 0.47253432869911194, -0.3942064940929413, 0.5665065050125122, 0.6287208795547485, -0.39351075887680054, -0.7789749503135681, 0.586222231388092, -0.6716664433479309, -0.4241319000720978, 1.2253669500350952, -0.34030699729919434, -0.0825737863779068, -0.10701658576726913, 0.11873312294483185, 0.4072987139225006, -0.07355828583240509, 0.4019457697868347, 0.6370921730995178, -0.26353389024734497, -0.29903432726860046, -0.35608166456222534, 0.5481821894645691, 0.0782960057258606, -0.87446528673172, 0.15731507539749146, 0.5310423970222473, 0.19370323419570923, 0.16367290914058685, 1.0681935548782349, 0.09418244659900665, -0.010671783238649368, 0.1189185157418251, -0.2080516219139099, -0.6909290552139282, -0.617508053779602, 0.2467120736837387, 0.26988062262535095, 0.12214744091033936, 0.02841888926923275 ]
http://arxiv.org/abs/2402.11794v1
http://arxiv.org/pdf/2402.11794v1
Unveiling the Magic: Investigating Attention Distillation in Retrieval-augmented Generation
2024-02-19T02:48:44
2024-02-19T02:48:44
Zizhong Li, Haopeng Zhang, Jiawei Zhang
cs.CL
cs.CL, cs.IR
Retrieval-augmented generation framework can address the limitations of large language models by enabling real-time knowledge updates for more accurate answers. An efficient way in the training phase of retrieval-augmented models is attention distillation, which uses attention scores as a supervision signal instead of manually annotated query-document pairs. Despite its growing popularity, the detailed mechanisms behind the success of attention distillation remain unexplored, particularly the specific patterns it leverages to benefit training. In this paper, we address this gap by conducting a comprehensive review of attention distillation workflow and identifying key factors influencing the learning quality of retrieval-augmented language models. We further propose indicators for optimizing models' training methods and avoiding ineffective training.
[ -0.46994495391845703, -0.6974008679389954, 0.5059815645217896, -0.02242361195385456, -0.23023205995559692, 0.5646145939826965, -0.11569324135780334, -0.3152340054512024, -0.05639823153614998, 0.4650808572769165, -0.5396586656570435, 0.09357466548681259, -0.9701142907142639, 0.24020865559577942, -0.40088748931884766, 1.0002772808074951, 0.00042489709449000657, -0.12897856533527374, -0.18571801483631134, 0.12611646950244904, -0.47947582602500916, -0.5606003999710083, -0.4082530736923218, -0.5748112797737122, 0.33501771092414856, 0.2613161504268646, 0.36048299074172974, 0.4715498983860016, 0.7042376399040222, 0.2437652051448822, -0.2166280597448349, 0.6589766144752502, -0.9991368651390076, 0.34522774815559387, -0.15189790725708008, -0.5499334931373596, -0.086545929312706, 0.23998938500881195, 0.38020414113998413, 0.8389180302619934, -0.23664306104183197, 0.5811002850532532, 0.46277356147766113, 1.1262388229370117, -1.0314196348190308, 0.024088209494948387, -0.939817488193512, 0.10566039383411407, -0.18277260661125183, -0.31848761439323425, -0.30532702803611755, -0.2687760889530182, 0.2999952733516693, -0.4566290080547333, 0.48132196068763733, 0.2325168251991272, 0.7387377619743347, 0.5678108334541321, -0.3759884536266327, -0.10954081267118454, -0.9659898281097412, 0.8993912935256958, -0.3059926927089691, 0.184709370136261, 0.6247993111610413, 0.4404449462890625, -0.14517946541309357, -0.8287635445594788, -0.44351229071617126, -0.07183827459812164, -0.008804586715996265, 0.08939342945814133, -0.02632707543671131, 0.11330975592136383, 0.5301772952079773, 0.8717085123062134, -0.18551813066005707, -0.6559059619903564, -0.34493765234947205, 0.17462587356567383, 0.4376179873943329, 0.02407594956457615, -0.008590565994381905, 0.15174341201782227, -0.11032269150018692, 0.02139385975897312, -0.46191853284835815, -0.26479899883270264, 0.33168888092041016, 0.1391574740409851, 0.525484025478363, 0.5794293284416199, -0.3391254246234894, 0.8513827323913574, 0.6630890369415283, -0.0892019122838974, 0.154119074344635, -0.47787705063819885, -0.200150266289711, 0.20569749176502228, 0.5128360986709595, 0.2304077446460724, 0.40406128764152527, -0.2485884726047516, -0.20818959176540375, -0.2531845271587372, 0.6021354794502258, -0.9126359820365906, -0.2695589065551758, 0.02261333540081978, -0.2424921691417694, -0.26852595806121826, -0.07274432480335236, -0.6118043065071106, -0.1981222778558731, -0.5900408029556274, 0.3376106023788452, -0.2791588604450226, -0.49588078260421753, -0.012873701751232147, -0.366298109292984, -0.26818618178367615, 0.1080276221036911, -1.3151901960372925, -0.000026307910957257263, 0.6211090087890625, 0.6889284253120422, -0.015510238707065582, -0.13481183350086212, -0.6825116276741028, 0.10049260407686234, -0.30018147826194763, 0.5951065421104431, -0.5262568593025208, -0.30115705728530884, 0.009513221681118011, -0.1692735105752945, -0.13954521715641022, -0.7336789965629578, 0.15202628076076508, -0.805844783782959, 0.16602009534835815, -0.4578188359737396, -0.3863646686077118, -0.16146180033683777, 0.4213722348213196, -0.5800247192382812, 1.240334391593933, 0.3322324752807617, -0.7215131521224976, 0.5352592468261719, -0.6219987273216248, -0.2740914523601532, 0.006334546022117138, 0.38976675271987915, -0.11526789516210556, 0.6358619928359985, 0.04677215963602066, 0.19682671129703522, -0.3131944239139557, 0.2545740008354187, -0.01816651038825512, -0.3492480218410492, 0.24394263327121735, -0.65115886926651, 0.5178276896476746, 0.518988847732544, -0.2511719763278961, -0.5358317494392395, -1.0680596828460693, -0.11576182395219803, 0.06898879259824753, -0.3242329955101013, -0.6588435769081116, -0.29616764187812805, -0.16084024310112, 0.18490637838840485, 0.3427455723285675, -0.3893900513648987, 0.25637829303741455, -0.5149424076080322, 0.34350651502609253, 0.33414632081985474, 0.4449983239173889, 0.3195134699344635, 0.07967700064182281, 0.35787272453308105, 0.09531956166028976, 0.30996236205101013, -0.32635265588760376, -0.14027473330497742, -0.6219351291656494, 0.017875205725431442, 0.48970699310302734, 0.15046100318431854, -0.8492671847343445, 0.12542837858200073, -0.09661704301834106, -0.37838712334632874, -1.0478373765945435, 0.5617825984954834, 0.7145171761512756, 0.7667583227157593, 0.4045570492744446, -0.1268492043018341, -0.28445613384246826, -0.6322087645530701, -0.42039862275123596, -0.050043776631355286, 0.2713555097579956, -0.0605698898434639, 0.38965514302253723, -0.03535187244415283, 0.7998824715614319, -0.5889460444450378, -0.2992088198661804, -0.17936909198760986, 0.27656519412994385, 0.07999911159276962, 0.09540925174951553, 0.5019851922988892, -1.0480141639709473, -0.9423918128013611, -0.053696323186159134, -0.7201599478721619, -0.044372376054525375, 0.20252224802970886, -0.31086423993110657, -0.04646258056163788, 0.28369447588920593, -0.29221633076667786, 0.33417561650276184, 0.25864800810813904, -0.05509006604552269, 0.3040981590747833, -0.16729910671710968, 0.6631677746772766, -0.9542943239212036, 0.27076900005340576, 0.006760262418538332, 0.01822511851787567, -0.7687675952911377, -0.0015595282893627882, 0.023379724472761154, 0.14393633604049683, -0.4946340024471283, 0.2738330662250519, -0.8732128739356995, 0.16537010669708252, -0.5670995116233826, 0.1480473279953003, 0.47013625502586365, 0.5686048269271851, -0.08265433460474014, 0.668319582939148, 0.3656831979751587, -0.5725250840187073, 0.5545037388801575, 0.14712700247764587, -0.24651746451854706, 0.5622552037239075, -0.4942399859428406, 0.08688889443874359, -0.12374930828809738, -0.6272867321968079, -1.1584595441818237, -0.2621389329433441, -0.08399131149053574, -0.5373516082763672, 0.8406865000724792, -0.34951478242874146, -0.7018634080886841, -0.44590815901756287, -0.18441537022590637, 0.18585187196731567, 0.6662532687187195, -0.6119323968887329, 0.5374165177345276, 0.3412356376647949, 0.30402490496635437, -0.8846264481544495, -0.6728377938270569, -0.11778827011585236, -0.2844446897506714, -0.27918678522109985, 0.17232513427734375, 0.16526290774345398, -0.526671826839447, -0.03273093327879906, -0.26384028792381287, 0.002806713804602623, 0.33032694458961487, 0.029755281284451485, 0.08697352558374405, 0.3210660517215729, 0.027263782918453217, 0.09556791931390762, -0.09494027495384216, 0.04828685149550438, -0.1517569124698639, 0.3015556335449219, 0.5168017148971558, -0.36231788992881775, -0.319231778383255, 0.19179368019104004, 0.6740438938140869, -0.5135688781738281, 0.8686143159866333, 0.45353859663009644, -0.24302995204925537, -0.21202878654003143, -0.7845580577850342, -0.3506529927253723, -0.4494120180606842, 0.23528271913528442, -0.32130318880081177, -0.4817040264606476, 0.4574902057647705, -0.21661415696144104, 0.19217489659786224, 0.25081872940063477, 0.6056812405586243, -0.020945539698004723, 1.2890080213546753, 0.6451553702354431, 0.203762024641037, 0.8429269194602966, -0.2789199650287628, 0.27639544010162354, -1.1365865468978882, -0.3939146101474762, -0.393806517124176, -0.26305821537971497, -0.17354977130889893, -0.157459557056427, 0.3983668088912964, 0.3497510850429535, 0.06794473528862, 0.08318784087896347, -1.0649131536483765, 0.5945694446563721, 0.6477289795875549, -0.101153165102005, 0.5242704153060913, 0.28111690282821655, -0.0032200640998780727, -0.0762087032198906, -0.4979158043861389, -0.4858843684196472, 1.3523733615875244, 0.08918529748916626, 0.7815675735473633, -0.174506276845932, 0.832188069820404, 0.2050141543149948, 0.08451525866985321, -0.5393202304840088, 0.15042150020599365, 0.06806353479623795, -0.8505599498748779, -0.14337292313575745, -0.33833035826683044, -0.843399703502655, 0.3726736605167389, 0.09811776131391525, -0.501396894454956, 0.17066827416419983, 0.36744019389152527, -0.4689940810203552, 0.02227221429347992, -0.9937805533409119, 0.8745427131652832, -0.21698789298534393, -0.7159505486488342, -0.046496473252773285, -0.5394872426986694, 0.5240049958229065, -0.2957206666469574, 0.06376950442790985, -0.026439020410180092, 0.4356454014778137, 0.5649482607841492, -0.41182854771614075, 0.4776161015033722, -0.3237467408180237, -0.13362909853458405, 0.7019517421722412, 0.06839630752801895, 0.3811076879501343, -0.15281078219413757, 0.16426639258861542, -0.12343436479568481, 0.1042795181274414, -0.24462497234344482, -0.6879442930221558, 0.6356971263885498, -0.5134387612342834, -0.7595033645629883, -0.4869975745677948, -0.2625252902507782, -0.5541003346443176, 0.035995714366436005, 0.20956560969352722, 0.23709437251091003, -0.03908872604370117, 0.1275980919599533, 1.132819652557373, 0.3662918210029602, 0.4764115810394287, 0.42949405312538147, -0.2787111699581146, -0.11982350051403046, 0.9941953420639038, 0.47395390272140503, 0.5287293195724487, 0.32371848821640015, -0.1648263782262802, -0.4467378258705139, -0.6106346845626831, -0.33448973298072815, 0.10953327268362045, -0.5617814064025879, -0.006490929517894983, -0.66051185131073, -0.1209525465965271, -0.39727866649627686, 0.5006005167961121, -0.4981767237186432, -0.25821176171302795, -0.5662460327148438, -0.1986774057149887, 0.47395122051239014, 0.48927247524261475, -0.10109288990497589, 0.1438942849636078, -0.9198647737503052, 0.5030708909034729, 0.5609433054924011, 0.14074252545833588, 0.3465264141559601, -0.7877498865127563, -0.545310914516449, 0.2554394602775574, -0.6252346038818359, -0.8308722972869873, 0.3702375888824463, 0.28468057513237, 0.6194277405738831, 0.3722797930240631, 0.14251109957695007, 0.7825648188591003, -0.5351893901824951, 0.7952278852462769, 0.14459265768527985, -0.6006067991256714, 0.9171609282493591, -0.006645573303103447, 0.2527218163013458, 0.9014765620231628, 0.34718507528305054, -0.21766364574432373, -0.23896890878677368, -0.5385873913764954, -0.7461239099502563, 0.8248751759529114, 0.16491059958934784, 0.1604141891002655, -0.12503641843795776, 0.5591105222702026, 0.09663160145282745, 0.6373888254165649, -0.2687593102455139, -0.41102853417396545, -0.14875724911689758, -0.14839453995227814, 0.12741577625274658, -0.4309336543083191, -0.25968649983406067, -0.1367783397436142, 0.7040745615959167, 0.06965731084346771, -0.22105814516544342, 0.007505707908421755, -0.2816525101661682, -0.20173196494579315, -0.06807153671979904, 0.1915433704853058, 0.7149326205253601, -0.2483118772506714, 0.08372265845537186, -0.1263696551322937, -0.848050057888031, 0.1768660992383957, 0.05467459186911583, -0.006710677407681942, 0.023411167785525322, 0.19777555763721466, 0.944202721118927, -0.01737525314092636, -0.6177073121070862, 0.33121857047080994, -0.06556547433137894, -0.21781854331493378, -0.035455022007226944, 0.4553958475589752, -0.16076935827732086, 0.24158553779125214, 0.8502237796783447, -0.13861390948295593, 0.5292072296142578, -0.77139812707901, -0.18616528809070587, 0.3591892719268799, -0.4765518009662628, -0.260884553194046, 0.7242145538330078, 0.16309364140033722, -0.14144694805145264, 0.5917487144470215, -0.24248874187469482, -0.2965569496154785, 0.334911972284317, 0.08104340732097626, 0.8104248046875, -0.2974519729614258, -0.05863983556628227, 0.33210015296936035, 0.1765497773885727, -0.4030217230319977, 0.1989419311285019, -0.4224570393562317, -0.23148582875728607, -0.46817412972450256, -0.8949722647666931, -0.27847471833229065, -0.07444463670253754, -1.0068943500518799, -0.0316384918987751, 0.08775164186954498, -0.44611161947250366, 0.08371394872665405, 0.10611723363399506, -0.5958493947982788, 0.16583837568759918, 0.06118251755833626, 0.5734319090843201, -0.6654727458953857, 0.6658994555473328, 0.5553106069564819, -0.7136325240135193, -0.5995299816131592, -0.10926090180873871, -0.260577917098999, -0.6414229869842529, 0.8733376264572144, -0.06960169225931168, 0.0002823928080033511, 0.3520677387714386, -0.4073163568973541, -0.8303450345993042, 1.014099359512329, 0.5134665966033936, -0.8320546746253967, -0.31116512417793274, 0.08382844924926758, 0.7720903158187866, -0.00766556803137064, 0.23609234392642975, 0.9451388716697693, 0.28507789969444275, 0.29301413893699646, -0.9537155628204346, -0.4972939193248749, -0.21090519428253174, 0.1612396091222763, 0.33933281898498535, -0.6222487688064575, 0.47502076625823975, -0.18182432651519775, -0.3260211646556854, -0.36049720644950867, 0.3353152871131897, 0.27845025062561035, 0.423860102891922, -0.047189097851514816, 0.6617543697357178, 0.5848184823989868, -0.4440365433692932, 0.9392024874687195, -0.46419984102249146, 0.436175137758255, 0.9061307907104492, -0.3864958882331848, 0.5372793674468994, 0.918474018573761, -0.35880833864212036, 0.19467954337596893, 0.7079252004623413, -0.019253430888056755, 1.1221845149993896, 0.1142910048365593, -0.2911929786205292, -0.1584293693304062, -0.19258232414722443, -0.44378677010536194, 0.0920557826757431, 0.30341386795043945, -0.6436777114868164, -0.13004319369792938, 0.5334112048149109, -0.29346150159835815, 0.24790140986442566, -0.4134658873081207, 1.19020676612854, 0.02043582871556282, -1.137664794921875, 0.9681565761566162, -0.5846776366233826, 0.40821701288223267, -0.3886304795742035, -0.293251097202301, -0.2417442798614502, 0.3292696475982666, -0.11839563399553299, -0.6087682247161865, 0.09581784158945084, 0.20500709116458893, -0.7608681917190552, -0.2375694215297699, 0.4852524399757385, -0.5814408659934998, -0.26684242486953735, 0.23132658004760742, 0.5317085981369019, 0.12140355259180069, -0.43998488783836365, -0.7200265526771545, 0.040916796773672104, -0.037140633910894394, -0.6438491344451904, 0.661176860332489, 0.9988274574279785, 0.33926355838775635, 0.5008716583251953, 0.6537409424781799, -0.05563812330365181, 0.34712105989456177, 0.08155975490808487, 0.8505282998085022, -0.2816654443740845, -0.10429257154464722, -1.0495562553405762, 0.6937363147735596, -0.19683773815631866, -0.07762184739112854, 0.988696813583374, 0.45844531059265137, 0.6937230825424194, -0.1860533505678177, 0.7622106671333313, 0.13341353833675385, 0.6389739513397217, -0.32815828919410706, 0.779327392578125, -0.7341295480728149, 0.1885523796081543, -0.0789431631565094, -1.1645121574401855, 0.0711192712187767, 0.2860317826271057, -0.27540236711502075, 0.21396227180957794, 0.6851393580436707, 0.5565059781074524, 0.006788232829421759, -0.30982276797294617, 0.4638306498527527, -0.05768478289246559, 0.20692910254001617, 0.49915337562561035, 0.9054524302482605, -0.6195893883705139, 0.553032398223877, -0.3088572025299072, -0.1975608766078949, -0.43965497612953186, -0.710960865020752, -1.1039327383041382, -0.6538766622543335, -0.510591447353363, -0.3767662048339844, 0.12567487359046936, 0.5808297991752625, 0.5558428764343262, -0.5917172431945801, 0.2685057818889618, -0.13039220869541168, -0.07573011517524719, -0.37569454312324524, -0.2232973724603653, 0.31664708256721497, -0.7481626272201538, -1.1338844299316406, 0.10411497205495834, 0.4011624753475189, 0.10279068350791931, -0.5824115872383118, 0.3369221091270447, -0.3650141656398773, 0.025162938982248306, 0.49676504731178284, 0.34763652086257935, -0.5541260242462158, 0.2940104007720947, 0.07717365026473999, -0.2248198688030243, -0.09599153697490692, 0.5675597786903381, -0.6416809558868408, 0.9145272374153137, 0.39635899662971497, 0.5089890360832214, 0.6621385216712952, 0.2261987179517746, 0.35467788577079773, -0.9265079498291016, 0.0153481001034379, 0.12518347799777985, 0.2663859724998474, 0.43238797783851624, -0.4973212480545044, 0.6548669934272766, 0.34387850761413574, -0.706483006477356, -1.3283973932266235, -0.11468809098005295, -0.5912405848503113, -0.07280933111906052, 1.0841773748397827, -0.08972260355949402, -0.4931681454181671, -0.28766557574272156, -0.38534507155418396, 0.35713809728622437, -0.24835900962352753, 1.0977885723114014, 0.9426121711730957, -0.08001590520143509, -0.050203438848257065, -0.6744339466094971, 0.7102069854736328, 0.12876960635185242, -0.3944763243198395, 0.5239199995994568, 0.5139229893684387, 0.24662140011787415, 0.5057969093322754, 0.28206053376197815, -0.19806833565235138, 0.2843150496482849, 0.04484298825263977, -0.024590080603957176, -0.5079671740531921, -0.42745164036750793, -0.1703849583864212, 0.41101083159446716, 0.24462005496025085, -0.3534073531627655 ]
http://arxiv.org/abs/2402.11782v1
http://arxiv.org/pdf/2402.11782v1
What Evidence Do Language Models Find Convincing?
2024-02-19T02:15:34
2024-02-19T02:15:34
Alexander Wan, Eric Wallace, Dan Klein
cs.CL
cs.CL, cs.LG
Retrieval-augmented language models are being increasingly tasked with subjective, contentious, and conflicting queries such as "is aspartame linked to cancer". To resolve these ambiguous queries, one must search through a large range of websites and consider "which, if any, of this evidence do I find convincing?". In this work, we study how LLMs answer this question. In particular, we construct ConflictingQA, a dataset that pairs controversial queries with a series of real-world evidence documents that contain different facts (e.g., quantitative results), argument styles (e.g., appeals to authority), and answers (Yes or No). We use this dataset to perform sensitivity and counterfactual analyses to explore which text features most affect LLM predictions. Overall, we find that current models rely heavily on the relevance of a website to the query, while largely ignoring stylistic features that humans find important such as whether a text contains scientific references or is written with a neutral tone. Taken together, these results highlight the importance of RAG corpus quality (e.g., the need to filter misinformation), and possibly even a shift in how LLMs are trained to better align with human judgements.
[ -0.3257020115852356, -0.6899440884590149, 0.8816120028495789, -0.05900425836443901, -0.19515617191791534, 0.05870514363050461, -0.008132672868669033, -0.532541036605835, 0.07558218389749527, 0.5777047276496887, -0.4628296196460724, -0.4198756814002991, -0.6915007829666138, 0.29410284757614136, -0.7264970541000366, 0.918941855430603, 0.11330665647983551, 0.25291135907173157, -0.5434859991073608, -0.19301965832710266, -0.07737360894680023, -0.6443221569061279, -0.5094706416130066, -0.566158652305603, 0.8151752352714539, 0.25840502977371216, 0.8618611693382263, 0.6096775531768799, 0.31625616550445557, 0.23424169421195984, -0.26226353645324707, 0.06908098608255386, -0.4717567563056946, 0.35650452971458435, -0.5864893198013306, -0.7336809635162354, 0.06079090014100075, 0.15592558681964874, 0.3346451222896576, 0.7505088448524475, 0.009209616109728813, 0.06618541479110718, 0.1155601367354393, 0.618559718132019, -0.6300883293151855, -0.3746780455112457, -0.8663293123245239, -0.24623171985149384, -0.4400516450405121, -0.27474647760391235, -0.3892689049243927, -0.3564881980419159, 0.07752528786659241, -0.3989323079586029, 0.3260473608970642, 0.1875227391719818, 1.1813026666641235, 0.27672576904296875, -1.0076212882995605, -0.6919982433319092, -0.5148661732673645, 0.8136526942253113, -0.7247101664543152, 0.5069056749343872, 0.6644666790962219, 0.09795042872428894, -0.3253839313983917, -0.6196879744529724, -0.5696941614151001, -0.48858699202537537, -0.18707944452762604, 0.04938146471977234, -0.19746312499046326, -0.022141311317682266, 0.33052119612693787, 0.45698362588882446, -0.612163245677948, 0.16849669814109802, -0.12033681571483612, -0.4332820773124695, 0.548520028591156, -0.0006376414676196873, 0.5154594779014587, -0.32785478234291077, -0.2814180552959442, 0.06439850479364395, -0.9569646120071411, 0.09816420823335648, 0.4382379651069641, 0.15575966238975525, 0.2400663197040558, 0.8419860601425171, -0.142372727394104, 0.6232631802558899, -0.048275724053382874, 0.0305876974016428, -0.3540602922439575, -0.24548578262329102, -0.09937033802270889, 0.15594828128814697, 0.8374006748199463, 0.3967636227607727, 0.0759248360991478, -0.006162485107779503, -0.22413486242294312, 0.276117742061615, 0.29233384132385254, -0.8086925148963928, -0.1248127892613411, 0.3748936355113983, -0.3537296950817108, -0.22164970636367798, -0.20126618444919586, -0.5814781188964844, -0.6568784117698669, -0.2485561966896057, 0.43370118737220764, -0.32647931575775146, -0.07956366240978241, 0.09971723705530167, -0.2281987965106964, 0.05870473012328148, 0.3292173743247986, -0.7977278232574463, 0.4121517837047577, 0.7794156670570374, 0.5098589658737183, -0.2639249563217163, 0.11625491082668304, -0.46027159690856934, -0.16485363245010376, -0.43817010521888733, 1.2285165786743164, -0.7333791255950928, -0.32334813475608826, 0.08383537083864212, 0.11466743797063828, 0.15322521328926086, -0.7094452977180481, 1.0351588726043701, -0.6072373390197754, 0.6127530336380005, -0.7767430543899536, -0.8023251295089722, -0.3354518711566925, 0.3070330023765564, -0.6108324527740479, 1.0000213384628296, -0.37182602286338806, -0.8017420172691345, 0.3758884370326996, -0.2998822033405304, -0.2588706910610199, -0.25547999143600464, -0.3451065123081207, -0.22766467928886414, 0.24730002880096436, -0.0002108762855641544, 0.21103884279727936, -0.700824499130249, 0.3662078380584717, -0.2912910282611847, -0.17019490897655487, 0.7466467618942261, -0.5087173581123352, 0.7350011467933655, 0.41024258732795715, -0.21915702521800995, -0.055872369557619095, -0.6102554798126221, -0.24443978071212769, 0.11681357026100159, -0.43803513050079346, -0.5981415510177612, 0.2253498136997223, -0.15396499633789062, 0.1371384561061859, 0.17860764265060425, -0.5686348676681519, 0.042570825666189194, -0.3186741769313812, 0.12973403930664062, 0.37603309750556946, 0.1068825051188469, 0.1692560464143753, -0.7101939916610718, 0.6431742906570435, 0.008725454099476337, -0.17851074039936066, 0.039445195347070694, -0.8127776980400085, -0.7407439947128296, 0.1276663988828659, 0.42330241203308105, 0.3438767194747925, -0.679972231388092, -0.07820037007331848, -0.03155691921710968, -0.38397452235221863, -0.6344139575958252, 0.05960429087281227, 0.3978963792324066, 0.775954008102417, 0.2986725866794586, -0.07263149321079254, -0.6256843209266663, -1.0027927160263062, -0.6793051958084106, -0.3885022699832916, -0.13346855342388153, 0.38518354296684265, 0.44869500398635864, -0.112271748483181, 1.0202906131744385, -0.3150457739830017, 0.3239251375198364, 0.08580365777015686, 0.23033703863620758, 0.27436575293540955, 0.09227555990219116, 0.3696410357952118, -1.0275399684906006, -0.5153765678405762, -0.09644675999879837, -0.763035774230957, -0.666555643081665, -0.01962241344153881, 0.0016769368667155504, 0.06536653637886047, 0.344973623752594, -0.6182140111923218, 0.21836453676223755, 0.6224097609519958, -0.5159355401992798, 0.658593475818634, 0.16859255731105804, 0.46437424421310425, -0.8954588174819946, 0.053806040436029434, 0.1720050871372223, -0.35862430930137634, -0.7466328144073486, 0.07024653255939484, -0.026124875992536545, 0.23108738660812378, -0.28182873129844666, 0.7841942310333252, -0.38377219438552856, 0.08152849972248077, -0.5405032634735107, 0.31980106234550476, 0.3079502582550049, -0.11331424117088318, -0.011142134666442871, 0.8932467699050903, 0.3361749053001404, -0.5448581576347351, 0.08206593245267868, 0.13993239402770996, -0.28630542755126953, 0.44305869936943054, -0.5259523391723633, -0.007281008176505566, -0.0023686012718826532, 0.08411260694265366, -1.1755839586257935, -0.310152530670166, 0.041085898876190186, -0.6671291589736938, 0.10181238502264023, -0.3343319594860077, -0.30054542422294617, -0.14938855171203613, -0.23730790615081787, 0.14431867003440857, 0.4044753313064575, -0.4422355890274048, 0.701429545879364, 0.5233662724494934, -0.16300880908966064, -0.7223972678184509, -0.6658249497413635, 0.2596151828765869, -0.26456141471862793, -0.4431237578392029, 0.322966605424881, -0.0731944590806961, -0.8033596277236938, 0.08158281445503235, -0.31417953968048096, -0.10883182287216187, 0.3407568633556366, 0.34193307161331177, 0.16884863376617432, -0.29495590925216675, 0.1558462679386139, 0.034669406712055206, 0.23217041790485382, 0.3297520875930786, 0.11129605025053024, 0.41401851177215576, 0.06764420866966248, -0.628038763999939, -0.12666594982147217, 0.279071182012558, 0.46292826533317566, 0.2587150037288666, 0.6488759517669678, 0.28198909759521484, -0.40110981464385986, -0.055461958050727844, -0.8005754947662354, -0.31208536028862, -0.4641260504722595, 0.1340634524822235, -0.25753381848335266, -0.9655123949050903, 0.6568273305892944, -0.13659444451332092, -0.1250147819519043, 0.6293162107467651, 0.7104895114898682, -0.31371742486953735, 0.8655444383621216, 0.13213138282299042, 0.22163036465644836, 0.28245094418525696, 0.24118372797966003, -0.16118191182613373, -0.6770199537277222, -0.27338099479675293, -0.7337130308151245, -0.06420546025037766, -0.784862220287323, -0.42699310183525085, 0.12991909682750702, 0.07409651577472687, -0.0791846290230751, 0.11992897093296051, -0.4601110816001892, 0.46865999698638916, 0.56522136926651, 0.03545777499675751, 0.4127892553806305, -0.05496463552117348, -0.24817796051502228, -0.15567997097969055, -0.6571604013442993, -0.8650552034378052, 1.1778137683868408, 0.3363451063632965, 0.5727310180664062, 0.3702855408191681, 0.35830390453338623, 0.39003801345825195, 0.4877471327781677, -0.7232632637023926, 0.635265052318573, -0.26317694783210754, -1.0342410802841187, 0.07821208983659744, -0.48255467414855957, -1.1474015712738037, 0.27671390771865845, -0.5813175439834595, -0.4579612612724304, 0.1913321614265442, 0.02028353326022625, -0.15905019640922546, 0.24816252291202545, -0.5247102975845337, 0.55146723985672, -0.40791085362434387, -0.6990394592285156, -0.09851457178592682, -0.5329709649085999, 0.3691125512123108, -0.11677516996860504, 0.16366490721702576, -0.2748122811317444, -0.09948372095823288, 0.7865967750549316, -0.1414496898651123, 0.7414165735244751, 0.23193040490150452, -0.3959057331085205, 0.4860035479068756, 0.32717639207839966, 0.3306969106197357, 0.055218882858753204, -0.4386163055896759, 0.11054632812738419, 0.1053004041314125, -0.4192560315132141, -0.4784547984600067, 0.7240914106369019, -0.5782918334007263, -0.9377660155296326, -0.5959171056747437, -0.3547552824020386, -0.36336562037467957, 0.13233108818531036, 0.2750789523124695, 0.2966141700744629, -0.35144755244255066, 0.3267160654067993, 0.8125717043876648, -0.2928432822227478, 0.13274985551834106, 0.7771714329719543, -0.4132406413555145, -0.20644785463809967, 0.6479871869087219, 0.030920233577489853, 0.3359978199005127, 0.5141687989234924, 0.4425569176673889, -0.6008020639419556, -0.5917350649833679, -0.3299427330493927, 0.2476092129945755, -0.8284473419189453, -0.17286142706871033, -0.6166982054710388, -0.19440771639347076, -0.41957536339759827, 0.15453410148620605, -0.18827499449253082, -0.3919309079647064, -0.43362414836883545, -0.0024799772072583437, 0.35690927505493164, 0.9438363909721375, 0.13346846401691437, 0.12925972044467926, -0.7387279272079468, 0.33791106939315796, 0.41926515102386475, 0.10076268762350082, -0.3473639190196991, -0.7841601371765137, -0.010313373059034348, 0.18491123616695404, -0.3172477185726166, -1.2032190561294556, 0.26724404096603394, 0.12692248821258545, 0.6486485600471497, 0.34595856070518494, 0.1674090176820755, 0.3914520740509033, -0.2739754319190979, 0.8871579766273499, -0.12866538763046265, -0.6918179988861084, 0.3870742917060852, -0.5538557767868042, 0.09038682281970978, 0.5773303508758545, 0.8959827423095703, -0.6370359659194946, -0.4843488037586212, -0.5056731700897217, -0.5103355050086975, 0.2815619707107544, 0.21377170085906982, 0.0066953194327652454, -0.08565414696931839, 0.5581514835357666, 0.29289063811302185, 0.25907468795776367, -0.8715710639953613, -0.20913861691951752, -0.051908764988183975, -0.30460023880004883, 0.3299466073513031, -0.5963049530982971, -0.3687460124492645, 0.0759960263967514, 0.5136693120002747, -0.15280020236968994, -0.030744750052690506, 0.1206686720252037, 0.06055458262562752, -0.10345623642206192, 0.3911066949367523, 0.6461015343666077, 0.5655017495155334, -0.18387247622013092, 0.4593450427055359, 0.16517511010169983, -0.44228842854499817, 0.1746779829263687, 0.055889811366796494, -0.21348822116851807, 0.09882841259241104, 0.5739662051200867, 0.6613115668296814, 0.00742492126300931, -0.8901513814926147, 0.4911048114299774, -0.09340764582157135, -0.04539337381720543, -0.03270016983151436, 0.14962448179721832, 0.18600015342235565, 0.18056359887123108, 0.5857505798339844, -0.015525022521615028, 0.37970027327537537, -0.8682708740234375, 0.23899266123771667, 0.529159426689148, -0.29057395458221436, -0.4089549779891968, 0.7001160979270935, 0.052793510258197784, -0.2720847725868225, 0.35566002130508423, -0.01490053441375494, -0.6298219561576843, 0.5301491618156433, 0.4882204532623291, 0.6376595497131348, -0.10573377460241318, 0.041346412152051926, 0.18066303431987762, 0.18300269544124603, -0.12367081642150879, 0.32962334156036377, 0.24363167583942413, -0.802661120891571, -0.5100301504135132, -0.6927801370620728, -0.6861969828605652, 0.06622418761253357, -0.4728749394416809, 0.2904517650604248, -0.2862645089626312, -0.3122013807296753, -0.03741827607154846, 0.09211947023868561, -0.2906166911125183, 0.4620961844921112, 0.3258228302001953, 0.8053939938545227, -0.9630126357078552, 0.7859808802604675, 0.7552151083946228, -0.3656575679779053, -0.4870245158672333, 0.26865243911743164, 0.35012856125831604, -0.8156578540802002, 0.5944200158119202, -0.014949972741305828, -0.18390856683254242, -0.319213330745697, -0.7031084299087524, -0.9748490452766418, 0.8060611486434937, 0.6643797159194946, -0.5573351383209229, 0.048846300691366196, 0.05716520920395851, 0.68857342004776, -0.25882628560066223, 0.43770089745521545, 0.2811145782470703, 0.33381885290145874, 0.35249221324920654, -0.8325586318969727, 0.2448548823595047, -0.22697897255420685, -0.2819438576698303, -0.04757789149880409, -0.47459015250205994, 0.8244408369064331, -0.05096276104450226, -0.3492186665534973, -0.051813118159770966, 0.677676796913147, 0.39732983708381653, 0.5684080123901367, 0.394029438495636, 0.5509018301963806, 0.9332674741744995, -0.0849987119436264, 1.1723662614822388, -0.33626964688301086, 0.21653319895267487, 1.1297175884246826, -0.3147343099117279, 0.9606605768203735, 0.4938853681087494, -0.2397862672805786, 0.7774578332901001, 0.9544040560722351, 0.09290973842144012, 0.36455175280570984, 0.0980401560664177, -0.28757038712501526, -0.5093541741371155, -0.5229097604751587, -0.21950343251228333, 0.37177568674087524, 0.5161840915679932, -0.3585747182369232, -0.12524470686912537, -0.13619238138198853, 0.16224801540374756, 0.4287453889846802, -0.04692646861076355, 0.7222012877464294, 0.22744092345237732, -0.8865635395050049, 0.567510724067688, -0.16182737052440643, 0.5728344917297363, -0.5239115357398987, 0.01875855214893818, -0.308758020401001, -0.20767490565776825, -0.351181298494339, -1.1296418905258179, 0.3351649045944214, 0.05653466284275055, -0.1704135537147522, -0.07613423466682434, 0.8452928066253662, -0.35296621918678284, -0.21193252503871918, 0.22081534564495087, 0.6583141684532166, 0.2518489956855774, -0.15201683342456818, -0.7621970772743225, 0.17198021709918976, 0.13453440368175507, -0.24487702548503876, 0.46475499868392944, 0.6768543720245361, -0.03627818450331688, 0.9381186962127686, 0.852241039276123, 0.26341354846954346, -0.10165214538574219, -0.06835918873548508, 0.9730270504951477, -0.763432502746582, 0.12577706575393677, -0.9421228766441345, 0.32863175868988037, -0.12791474163532257, -0.22764801979064941, 1.0392191410064697, 0.6074040532112122, 0.42944657802581787, 0.35117143392562866, 0.5108547806739807, 0.15044602751731873, 0.6730408072471619, -0.7256674766540527, 0.7500956654548645, -0.8490750789642334, 0.5714865326881409, 0.07889306545257568, -0.5893111228942871, -0.22978153824806213, 0.3083593249320984, -0.45773884654045105, 0.14021649956703186, 0.6543126106262207, 0.723911464214325, 0.018386853858828545, 0.15311066806316376, 0.34898650646209717, 0.4861336648464203, 0.34025096893310547, 0.2803516983985901, 1.1555341482162476, -0.3985147178173065, 0.4331803321838379, 0.056746408343315125, 0.11241611838340759, -0.32380661368370056, -1.0276806354522705, -0.8058550357818604, -0.5422520637512207, -0.3998343348503113, -0.673592209815979, 0.1361350417137146, 0.8840341567993164, 0.32007887959480286, -0.9648610949516296, -0.21728435158729553, 0.013701575808227062, 0.2826325297355652, 0.33054912090301514, -0.16357150673866272, 0.16472381353378296, -0.15140216052532196, -0.7062588334083557, 0.5286852717399597, 0.12473224848508835, -0.008090361021459103, -0.15712256729602814, 0.12567636370658875, -0.5300427675247192, 0.4733659625053406, 0.3522353768348694, 0.32517001032829285, -0.947939932346344, -0.2680381238460541, 0.09725388139486313, -0.4888412654399872, 0.010939452797174454, 0.6488056182861328, -0.8030815124511719, 0.38131529092788696, 0.5128279328346252, 0.6364048719406128, 0.31184816360473633, 0.23619163036346436, 0.5841904878616333, -0.5654048323631287, -0.14707733690738678, 0.36555618047714233, 0.4512379467487335, 0.5589790940284729, -0.36760666966438293, 0.5105313062667847, 0.3324504494667053, -0.8291400074958801, -0.932060956954956, 0.18647989630699158, -0.9334827661514282, -0.4695587158203125, 1.4545915126800537, -0.02104516513645649, -0.38602137565612793, -0.3990705609321594, -0.2635025084018707, 0.005161420442163944, -0.29323887825012207, 0.8897297978401184, 0.9284202456474304, -0.2575119137763977, -0.10808658599853516, -0.6203205585479736, 0.7130220532417297, 0.60915207862854, -0.5556226372718811, 0.03178035095334053, 0.4692275822162628, 0.4116232395172119, 0.17946776747703552, 0.48588234186172485, 0.09058414399623871, 0.13379351794719696, -0.03528936207294464, -0.28477025032043457, 0.3429640233516693, 0.017196808010339737, -0.3303012251853943, 0.18766941130161285, 0.4345242977142334, 0.31436070799827576 ]
http://arxiv.org/abs/2402.11777v1
http://arxiv.org/pdf/2402.11777v1
Uncovering Latent Human Wellbeing in Language Model Embeddings
2024-02-19T02:08:03
2024-02-19T02:08:03
Pedro Freire, ChengCheng Tan, Adam Gleave, Dan Hendrycks, Scott Emmons
cs.CL
cs.CL, cs.AI, cs.LG, I.2.7
Do language models implicitly learn a concept of human wellbeing? We explore this through the ETHICS Utilitarianism task, assessing if scaling enhances pretrained models' representations. Our initial finding reveals that, without any prompt engineering or finetuning, the leading principal component from OpenAI's text-embedding-ada-002 achieves 73.9% accuracy. This closely matches the 74.6% of BERT-large finetuned on the entire ETHICS dataset, suggesting pretraining conveys some understanding about human wellbeing. Next, we consider four language model families, observing how Utilitarianism accuracy varies with increased parameters. We find performance is nondecreasing with increased model size when using sufficient numbers of principal components.
[ 0.1872549057006836, -0.4652872085571289, 0.6070919632911682, 0.022703880444169044, -0.007267840672284365, -0.14587996900081635, -0.155922994017601, -0.438698947429657, -0.11986825615167618, 0.30139943957328796, -0.36000341176986694, -0.23575471341609955, -0.6373537182807922, -0.1640244871377945, 0.12201190739870071, 0.841861367225647, 0.345904141664505, 0.418747216463089, -0.03901298716664314, -0.29274746775627136, -0.2589755356311798, -0.6384597420692444, -0.5233253836631775, -0.4736618101596832, 0.6061750054359436, 0.3145707845687866, 0.870984673500061, 0.5350976586341858, 0.039478693157434464, 0.10800842940807343, -0.1421521157026291, -0.35810521245002747, -0.7744481563568115, 0.03115701489150524, -0.20284484326839447, -0.7068774700164795, -0.5487868189811707, 0.4512188732624054, 0.4611102044582367, 0.8776635527610779, -0.16615082323551178, 0.35497361421585083, 0.4543410539627075, 0.33865514397621155, -0.8093950152397156, 0.10824593901634216, -0.09390772134065628, 0.17354410886764526, -0.03606236353516579, -0.04141545668244362, -0.5474620461463928, -0.46243077516555786, 0.08862338960170746, -0.5405640006065369, -0.23850350081920624, 0.06328486651182175, 0.6956978440284729, 0.559966504573822, -0.6438472270965576, -0.05987544357776642, -0.4549407958984375, 1.2814379930496216, -0.7709438800811768, 0.49213331937789917, 0.7526271939277649, -0.34767794609069824, 0.12379555404186249, -0.6233636736869812, -0.432573139667511, -0.12381935864686966, -0.17031115293502808, -0.007528653834015131, -0.23714032769203186, 0.3543848395347595, 0.38962677121162415, 0.43069860339164734, -0.24557185173034668, 0.5073155760765076, -0.012482383288443089, -0.010426673106849194, 0.4113152325153351, -0.025821425020694733, 0.47631943225860596, -0.41175878047943115, 0.07904177159070969, -0.12894712388515472, -0.9494432806968689, 0.40050727128982544, 0.4608292579650879, 0.3376253843307495, -0.17467725276947021, 0.528412938117981, 0.34631988406181335, 0.07206952571868896, -0.21987392008304596, 0.051770053803920746, 0.30225709080696106, -0.12175364792346954, -0.16693387925624847, -0.026675991714000702, 0.4011191129684448, 0.2868606448173523, 0.4335770606994629, -0.08331464976072311, -0.27631717920303345, -0.08220116049051285, 0.4494357407093048, -0.9799107909202576, -0.24319018423557281, 0.16433967649936676, -0.7032665610313416, -0.3848258852958679, -0.002910611219704151, -0.39902302622795105, -0.4179934561252594, -0.4421404004096985, 0.26429155468940735, -0.3487403392791748, -0.42556172609329224, 0.013103547506034374, 0.28972452878952026, 0.35941269993782043, 0.09853558987379074, -1.1633048057556152, 0.03829702362418175, 0.8666258454322815, 0.5911860466003418, 0.35103490948677063, 0.020091161131858826, -0.8645994663238525, -0.046383198350667953, -0.36548927426338196, 0.3495083153247833, -0.9612302184104919, -0.5073310732841492, -0.05642448365688324, 0.11124257743358612, 0.03997829183936119, -0.1785343587398529, 0.8022676706314087, -0.209595188498497, 0.14586758613586426, -0.7162894606590271, -0.46900177001953125, -0.1605062633752823, -0.026962781324982643, -0.5703859925270081, 1.0489498376846313, -0.01778552494943142, -0.7622153759002686, 0.6007838845252991, -0.897122323513031, -0.43867042660713196, -0.00732676824554801, -0.28953230381011963, -0.35598647594451904, 0.48129215836524963, 0.089870385825634, 0.6444385051727295, -0.05168186500668526, 0.24335287511348724, -0.5775946974754333, -0.13691821694374084, 0.07723972201347351, -0.47883522510528564, 1.094232439994812, 0.19684052467346191, -0.3522862493991852, -0.002479281509295106, -0.5038718581199646, 0.07558724284172058, 0.13132402300834656, -0.18243557214736938, -0.7714179754257202, 0.06276866793632507, 0.2245611548423767, 0.24134987592697144, 0.2508509159088135, -0.7827038168907166, -0.04974287375807762, -0.36826756596565247, 0.4250059127807617, 1.1466319561004639, -0.0848330706357956, 0.4155416488647461, -0.13413213193416595, 0.4869231879711151, -0.2885097861289978, 0.13265587389469147, 0.056614700704813004, -0.514817476272583, -0.4084637463092804, -0.24638722836971283, 0.3739892840385437, 0.4217723608016968, -0.13433465361595154, 0.6246232390403748, -0.08422363549470901, -0.02600919082760811, -0.679751455783844, 0.11414482444524765, 0.5550591945648193, 0.3361934721469879, 0.1683027595281601, -0.31539204716682434, -0.21915461122989655, -0.8934657573699951, -0.40130776166915894, -0.16889390349388123, -0.14713598787784576, 0.2857433557510376, 0.6504902243614197, -0.19293683767318726, 0.686037003993988, -0.34504860639572144, 0.03570467233657837, -0.061436060816049576, 0.5246422290802002, -0.29302358627319336, 0.7606601715087891, 0.7542269229888916, -0.823697030544281, -0.05160069465637207, -0.2547990083694458, -0.8548830151557922, 0.08569973707199097, 0.21698357164859772, -0.04100000113248825, 0.016974089667201042, 0.1044725626707077, -0.2073957771062851, 0.3601919412612915, 0.5097883343696594, -0.6070650219917297, 0.35811498761177063, -0.46736299991607666, -0.024782933294773102, -1.2097214460372925, 0.3247273564338684, 0.006744749378412962, -0.3537553548812866, -0.5793249011039734, 0.05408738553524017, 0.10569598525762558, -0.07677602767944336, -0.40899771451950073, 0.32786110043525696, -0.39201581478118896, -0.15604589879512787, -0.14863182604312897, -0.15923981368541718, -0.09495005756616592, 0.2893839180469513, -0.1834966540336609, 0.8434181213378906, 0.5122347474098206, -0.33751675486564636, -0.2299659103155136, 0.18502742052078247, -0.2321643829345703, 0.6815179586410522, -0.8367302417755127, 0.2819957137107849, -0.2284160554409027, 0.017627906054258347, -0.6943584084510803, -0.21629957854747772, -0.18830062448978424, -0.47175848484039307, 0.08588960766792297, -0.00468957144767046, -0.6602275371551514, -0.20753589272499084, -0.3410891592502594, 0.36029741168022156, 0.7509063482284546, -0.4527025520801544, 0.4183124303817749, 0.7524152994155884, -0.45760735869407654, -0.6878833770751953, -0.7223032116889954, -0.16289548575878143, -0.19699405133724213, -0.4311928451061249, 0.09470655769109726, 0.10177440196275711, -0.2919286787509918, 0.04332280904054642, -0.05660344287753105, 0.03289542347192764, 0.5696815848350525, 0.3136303722858429, 0.14922986924648285, -0.20918303728103638, 0.44441890716552734, 0.07243319600820541, -0.1660444438457489, 0.26462796330451965, -0.14038270711898804, 0.30246472358703613, -0.3574783205986023, -0.30954110622406006, -0.6067934036254883, 0.3656361401081085, 0.35044556856155396, -0.5099439024925232, 0.9317994713783264, 0.43888214230537415, -0.807770311832428, 0.26512929797172546, -0.3612521290779114, -0.40776100754737854, -0.46983233094215393, 0.28191518783569336, -0.1532427966594696, -1.1339558362960815, 0.5724367499351501, -0.02419366128742695, 0.1665070652961731, 0.5400516986846924, 0.347542405128479, -0.27732113003730774, 1.2922508716583252, 1.2261993885040283, -0.012201772071421146, 0.5560885071754456, -0.32002246379852295, 0.2017846703529358, -0.8044613003730774, 0.08076133579015732, -0.611013650894165, -0.2732914090156555, -0.8439860939979553, -0.21479153633117676, 0.0772731751203537, 0.18437951803207397, -0.5353813171386719, -0.06925536692142487, -0.2304055243730545, 0.41142022609710693, 0.47780612111091614, 0.0982084721326828, 0.1959417313337326, -0.2719305455684662, -0.12610767781734467, -0.2620678246021271, -0.28983062505722046, -1.016736388206482, 1.1818065643310547, 0.5519123673439026, 0.9596109390258789, 0.16498014330863953, 0.6936102509498596, 0.3640381693840027, 0.578980028629303, -0.41921326518058777, 0.09447367489337921, -0.16076917946338654, -0.50543212890625, -0.42319726943969727, -0.4054255783557892, -1.0746885538101196, -0.07479174435138702, -0.17584167420864105, -1.077149510383606, 0.45491254329681396, 0.13184042274951935, -0.7542267441749573, 0.34393996000289917, -0.6710839867591858, 1.0703773498535156, -0.4578688442707062, -0.3577691614627838, -0.6203036904335022, -0.7421226501464844, -0.011221274733543396, 0.0018703409004956484, 0.11569090187549591, -0.23810239136219025, 0.1242453083395958, 1.120597004890442, -0.23114384710788727, 1.018560767173767, -0.4659751057624817, -0.3281945288181305, -0.04923824965953827, -0.26324865221977234, 0.4133315980434418, 0.08940361440181732, -0.20367106795310974, -0.0789700448513031, 0.07107274234294891, -0.7396354675292969, -0.5333730578422546, 0.7333547472953796, -0.847744882106781, -0.4722415804862976, -0.21759098768234253, -0.312218576669693, -0.3324902057647705, 0.4823693335056305, -0.04105038568377495, 0.5059962868690491, -0.4780414402484894, 0.563258707523346, 0.8515344262123108, -0.37465208768844604, 0.1846330314874649, 0.31609904766082764, 0.006734497379511595, -0.023804403841495514, 0.6093588471412659, 0.0862431675195694, 0.28918007016181946, 0.23614740371704102, 0.2850150465965271, -0.5381636023521423, -0.0394931323826313, -0.17089803516864777, 0.24099549651145935, -0.6376520395278931, 0.08033224940299988, -0.7535896897315979, 0.16421614587306976, -0.39200228452682495, -0.27268168330192566, -0.6598483324050903, -0.2453909069299698, -0.5617637038230896, -0.4512179493904114, 0.1326691061258316, 1.2130353450775146, -0.30518829822540283, 0.1975058913230896, -0.5705346465110779, 0.09721370041370392, 0.505948543548584, 0.5881361365318298, 0.1296088546514511, -0.4339604675769806, -0.1294323056936264, 0.5145454406738281, -0.4730697572231293, -0.5159655809402466, 0.15483175218105316, 0.128714919090271, 0.7976865172386169, 0.6940893530845642, 0.33184877038002014, 0.38638851046562195, -0.3071274161338806, 0.8068491220474243, 0.27088630199432373, -1.0200728178024292, 0.6390025615692139, -0.26179787516593933, -0.09633661061525345, 0.667372465133667, 0.573878288269043, -0.3897574245929718, -0.2137400209903717, -0.7099222540855408, -0.6086370348930359, 0.6357776522636414, 0.21641497313976288, 0.47036534547805786, 0.11974258720874786, 0.3374864459037781, 0.21390852332115173, -0.06765058636665344, -0.8486366868019104, -0.22916243970394135, -0.2993543744087219, -0.2889820635318756, -0.27437037229537964, -0.4942791163921356, 0.008252025581896305, -0.3041435480117798, 0.461831271648407, -0.05944127216935158, 0.42490360140800476, -0.0823000892996788, -0.29687872529029846, -0.1421816498041153, 0.43293535709381104, 0.38967373967170715, 0.7183281779289246, -0.3668178617954254, 0.19546478986740112, -0.026345539838075638, -0.4619932174682617, 0.32041481137275696, 0.12091154605150223, 0.2904714047908783, -0.5219013094902039, 0.36043915152549744, 0.815152108669281, 0.5159397125244141, -0.49927493929862976, 0.7579259276390076, -0.04139420762658119, 0.21747519075870514, -0.17574794590473175, 0.11923546344041824, 0.1500633805990219, 0.22434110939502716, 0.5314698219299316, -0.17138858139514923, 0.1659935712814331, -0.7823259234428406, 0.20510059595108032, 0.27660661935806274, -0.6167854070663452, -0.6931906342506409, 0.8366946578025818, 0.33182674646377563, -0.3474833071231842, 0.7558658123016357, -0.18710047006607056, -0.3759564161300659, 0.3319253623485565, 0.34261393547058105, 0.9001659154891968, -0.4247663617134094, 0.06706221401691437, 0.2231239676475525, 0.36088287830352783, -0.14732839167118073, 0.466640442609787, -0.05534490570425987, -0.7306446433067322, -0.6334649324417114, -0.6020635962486267, -0.3525502383708954, -0.015345516614615917, -1.0529674291610718, -0.17915190756320953, -0.16009049117565155, -0.2522136867046356, -0.1311572939157486, 0.02914511412382126, -0.7977257370948792, 0.2512633204460144, 0.14759057760238647, 0.4796202778816223, -0.9956064224243164, 0.8856361508369446, 0.7383485436439514, -0.7157372832298279, -0.9198135137557983, 0.3939349949359894, -0.20770543813705444, -0.6487317085266113, 0.7108590602874756, 0.4837159812450409, -0.21340876817703247, 0.24029336869716644, -0.5684574246406555, -0.6527631282806396, 1.1466765403747559, 0.7781047224998474, -0.07360530644655228, -0.1731608510017395, 0.11739187687635422, 0.47169163823127747, -0.2686396837234497, 0.1890426129102707, 0.38671740889549255, 0.41113588213920593, -0.4062204360961914, -0.8839797973632812, 0.07427076250314713, -0.36913931369781494, 0.047236859798431396, -0.19599390029907227, -0.36717554926872253, 0.8630101680755615, -0.49431097507476807, -0.4592341184616089, -0.131211519241333, 0.5703980326652527, 0.0010739266872406006, -0.048364780843257904, 0.518815815448761, 0.7483313083648682, 1.193453311920166, 0.0562877282500267, 1.3415364027023315, -0.30469954013824463, 0.5985180735588074, 0.7912898659706116, -0.12562336027622223, 0.840924859046936, 0.303512841463089, -0.18436993658542633, 0.4629894495010376, 0.7288587093353271, 0.5636131763458252, 0.6245278120040894, -0.0319921113550663, -0.06497493386268616, -0.5301697254180908, -0.334026575088501, -0.36358270049095154, 0.3801220655441284, 0.24933384358882904, -0.49700602889060974, -0.1344471573829651, 0.3610919117927551, 0.15776532888412476, -0.008727461099624634, -0.2535087764263153, 0.5300339460372925, 0.4728570282459259, -0.33994707465171814, 0.41264608502388, -0.026587028056383133, 0.7354806661605835, -0.2693946659564972, -0.03524184226989746, -0.05757074058055878, 0.20281153917312622, 0.049502111971378326, -0.8654947280883789, 0.23782439529895782, 0.02478364296257496, -0.04483317583799362, -0.5375067591667175, 0.6045712232589722, -0.10637283325195312, -0.36669474840164185, 0.39108380675315857, 0.5143991112709045, 0.16021454334259033, 0.06608660519123077, -0.5593894720077515, -0.2677227854728699, -0.13535092771053314, -0.47200432419776917, 0.28891900181770325, 0.37654465436935425, 0.016608020290732384, 0.6397414803504944, 0.5965638160705566, -0.15154771506786346, -0.08225826174020767, 0.10839081555604935, 0.6397597789764404, -0.7616869211196899, -0.767259418964386, -0.8381853699684143, 0.6391259431838989, -0.13128381967544556, -0.4737603962421417, 0.4809891879558563, 0.38306620717048645, 0.6513582468032837, 0.06467488408088684, 0.7070485353469849, 0.016523374244570732, 0.15675438940525055, -0.44163942337036133, 1.037980318069458, -0.7431036233901978, -0.04310734570026398, -0.30012455582618713, -0.6162148118019104, -0.2503114938735962, 1.018394112586975, -0.7854753136634827, 0.12247247993946075, 0.4047265350818634, 0.6977359652519226, -0.28448960185050964, 0.31521156430244446, 0.4943714439868927, 0.1271485686302185, 0.2783723473548889, 0.328056663274765, 0.6872889995574951, -0.0317399837076664, -0.17858047783374786, -0.12285444885492325, -0.34270942211151123, -0.1951821744441986, -0.9029595851898193, -0.8042436838150024, -0.6560378074645996, -0.20252470672130585, -0.018678702414035797, 0.0870879590511322, 1.0367051362991333, 0.8185034394264221, -0.7341302633285522, 0.06294004619121552, -0.0713900625705719, 0.05388680845499039, -0.09434909373521805, -0.18386372923851013, 0.44301125407218933, -0.3413078486919403, -0.4220409691333771, 0.03274250030517578, 0.12682485580444336, -0.0336865670979023, -0.4551015794277191, -0.24300001561641693, -0.31310269236564636, 0.14769956469535828, 0.6435527205467224, 0.14726103842258453, -0.7042553424835205, -0.7059021592140198, -0.3360908329486847, -0.3055614233016968, 0.027819007635116577, 0.7613973021507263, -0.2425183653831482, 0.24470758438110352, 0.06793931126594543, 0.7218294739723206, 0.08134761452674866, 0.009041647426784039, 0.6559332013130188, -0.7645089626312256, 0.2092193067073822, 0.3619251847267151, 0.6044042110443115, 0.396065354347229, -0.588318407535553, 0.42202338576316833, 0.021488817408680916, -0.5845514535903931, -0.9407467246055603, 0.14421047270298004, -0.5935544371604919, 0.0028004483319818974, 0.9628285765647888, -0.5369992256164551, -0.30713653564453125, -0.016762958839535713, -0.07508886605501175, 0.33690348267555237, -0.4181218147277832, 0.4562223553657532, 0.5463769435882568, -0.05390005186200142, -0.28580987453460693, -0.6567885875701904, 0.4823469817638397, 0.737079381942749, -0.7371363043785095, 0.23572592437267303, 0.4417940378189087, 0.45553895831108093, 0.13513165712356567, 0.4841531813144684, -0.046684976667165756, 0.2075439989566803, -0.13628515601158142, 0.2788448631763458, 0.21292223036289215, 0.04778469726443291, -0.2650619447231293, 0.0561402402818203, 0.3534737229347229, -0.0861368402838707 ]
http://arxiv.org/abs/2402.11770v2
http://arxiv.org/pdf/2402.11770v2
Structured Chain-of-Thought Prompting for Few-Shot Generation of Content-Grounded QA Conversations
2024-02-19T01:49:53
2024-02-20T02:55:57
Md Arafat Sultan, Jatin Ganhotra, Ramón Fernandez Astudillo
cs.CL
cs.CL
We introduce a structured chain-of-thought (SCoT) prompting approach to generating content-grounded multi-turn question-answer conversations using a pre-trained large language model (LLM). At the core of our proposal is a structured breakdown of the complex task into a number of states in a state machine, so that actions corresponding to various subtasks, e.g., content reading and utterance generation, can be executed in their own dedicated states. Each state leverages a unique set of resources including prompts and (optionally) additional tools to augment the generation process. Our experimental results show that SCoT prompting with designated states for hallucination mitigation increases agent faithfulness to grounding documents by up to 16.8%. When used as training data, our open-domain conversations synthesized from only 6 Wikipedia-based seed demonstrations train strong conversational QA agents; in out-of-domain evaluation, for example, we observe improvements of up to 13.9% over target domain gold data when the latter is augmented with our generated examples.
[ -0.4735625088214874, -1.2204878330230713, 0.846959114074707, -0.11444225907325745, -0.49944427609443665, 0.021014157682657242, -0.10767271369695663, -0.05164240673184395, 0.5875283479690552, 0.6892642378807068, -0.8679096698760986, -0.4493287205696106, 0.024236449971795082, 0.08940322697162628, -0.2631092071533203, 1.2020909786224365, 0.14826896786689758, -0.021467292681336403, -0.19520451128482819, 0.06511950492858887, -0.609951913356781, -0.5717386603355408, -0.5199346542358398, -0.36177971959114075, 0.6753544211387634, 0.6451712846755981, 0.502631425857544, 0.2073562741279602, 0.21649472415447235, 0.18677011132240295, -0.17285719513893127, 0.5030002593994141, -0.7958695888519287, 0.6087043881416321, -0.3203933537006378, -0.33785122632980347, -0.538616955280304, -0.10208941996097565, 0.4578813910484314, 0.5605289936065674, -0.3171519339084625, 0.28241604566574097, 0.0036722312215715647, 0.8092247247695923, -0.8258216977119446, -0.05331925302743912, -0.9176004528999329, -0.07784254848957062, 0.3068343997001648, -0.6481080055236816, -0.7112912535667419, -0.36837613582611084, 0.1701725870370865, -0.5728621482849121, -0.061330005526542664, -0.016473302617669106, 0.6966930627822876, 0.19898085296154022, -0.45808249711990356, -0.3745500147342682, -0.7470629811286926, 0.341438353061676, -0.4371434450149536, 0.2640349566936493, 0.34813007712364197, -0.027237046509981155, -0.4321472942829132, -0.6892718076705933, -0.8983483910560608, -0.038993436843156815, 0.23738254606723785, 0.36621251702308655, -0.08595135807991028, 0.23660610616207123, 0.3505097031593323, 0.3013691306114197, -0.41839632391929626, -0.32525599002838135, -0.3965039849281311, 0.17617672681808472, 0.5219213962554932, 0.20857790112495422, -0.000013207499250711408, -0.09657495468854904, -0.17087456583976746, -0.208783820271492, -0.828041136264801, 0.06099053844809532, 0.3368947207927704, 0.33002781867980957, 0.25190991163253784, 0.7433878779411316, -0.5691989064216614, 0.48947155475616455, 0.47014638781547546, -0.056287430226802826, -0.04178275913000107, -0.5020230412483215, -0.33876582980155945, 0.0860092043876648, 0.6906611919403076, 0.292371928691864, 0.2349187135696411, 0.15560826659202576, -0.0721547082066536, 0.16277939081192017, 0.6554859280586243, -0.8581712245941162, -0.3856469392776489, 0.545218288898468, -0.18786115944385529, -0.31169965863227844, 0.08826415240764618, -0.33010318875312805, -0.27735263109207153, -0.2599101960659027, 0.3305697441101074, -0.35654106736183167, -0.20734301209449768, 0.23050227761268616, -0.11745065450668335, 0.36135244369506836, 0.12955085933208466, -0.7502625584602356, 0.24736790359020233, 0.4734576344490051, 0.44522708654403687, -0.15937983989715576, -0.1618649959564209, -0.8209331631660461, 0.24212977290153503, -0.6264240145683289, 1.0227786302566528, -0.37562721967697144, -0.2554406523704529, 0.24126160144805908, -0.10047605633735657, 0.12038032710552216, -0.4369044005870819, 0.1887364387512207, -0.6799265742301941, 0.18076463043689728, -0.3427942395210266, -0.3232002854347229, 0.0759730413556099, 0.8321303129196167, -0.47908487915992737, 1.240799903869629, 0.0013937895419076085, -0.7319426536560059, 0.37842801213264465, -0.4892842471599579, -0.4754422903060913, 0.15731199085712433, -0.3385494649410248, -0.22660315036773682, 0.033098556101322174, 0.3157535195350647, 0.40055614709854126, 0.05038557946681976, 0.2685466408729553, -0.14082492887973785, -0.27215567231178284, 0.5457989573478699, -0.25456684827804565, 0.24808740615844727, 0.1090468242764473, -0.3079298138618469, 0.5058767795562744, -0.7531331181526184, 0.520893394947052, 0.021370779722929, -0.3020266592502594, -0.2687259018421173, -0.03848724067211151, -0.27832114696502686, 0.5497772097587585, -0.1333107352256775, -0.2803492844104767, 0.3149357736110687, -0.5701078772544861, 0.38826003670692444, 0.7221090793609619, 0.6997331976890564, 0.42790234088897705, -0.4311582148075104, 0.7172391414642334, 0.3247024714946747, 0.1589251309633255, -0.6157715320587158, -0.45428842306137085, -0.8834855556488037, -0.1297111213207245, -0.1689961850643158, 0.4363325536251068, -1.1076093912124634, 0.5278395414352417, -0.2678028643131256, -0.4027717113494873, -0.4360942542552948, -0.007736328989267349, 0.42628368735313416, 0.5164952874183655, 0.35326912999153137, -0.38293489813804626, -0.2270200401544571, -0.6373156309127808, 0.06657730787992477, -0.3944573998451233, 0.07025748491287231, 0.09534364938735962, 0.5630176067352295, 0.07191640883684158, 0.9983641505241394, -0.6240913271903992, 0.015516277402639389, -0.4527682960033417, 0.0024077887646853924, 0.0110423369333148, 0.36518821120262146, -0.15961499512195587, -0.4612814486026764, -0.35842883586883545, -0.26503652334213257, -0.6941433548927307, 0.3210229277610779, -0.25399893522262573, -0.5766236782073975, 0.03589994087815285, 0.3683771789073944, -0.8539422750473022, 0.37720349431037903, 0.3559878468513489, -0.17323479056358337, 0.5415679812431335, 0.006643199827522039, 0.24970698356628418, -1.3340157270431519, -0.17327530682086945, -0.4553866684436798, -0.0902058556675911, -0.682580292224884, 0.15186640620231628, -0.19816157221794128, -0.34008118510246277, -0.8385013341903687, 0.3612613379955292, -0.29384738206863403, -0.03067994862794876, -0.3029516339302063, 0.4536719024181366, 0.16468533873558044, 0.791871190071106, 0.11020594835281372, 0.9207760691642761, 0.33856433629989624, -0.7929534316062927, 0.004769343417137861, 0.7841397523880005, -0.08356454223394394, 0.8107078075408936, -0.7510285377502441, 0.7214697003364563, -0.1478825807571411, 0.6548241376876831, -0.8870890140533447, -0.15333805978298187, 0.41106000542640686, -0.18846996128559113, -0.17565900087356567, -0.02119901217520237, -0.5069165825843811, -0.2636042535305023, -0.41907230019569397, 0.44796818494796753, 0.43140026926994324, -0.3491404056549072, 0.2823869287967682, 0.16170048713684082, -0.21410401165485382, -0.28132253885269165, -0.4843567907810211, 0.05242817476391792, 0.10243263095617294, -0.7978488802909851, 0.15453563630580902, -0.3573667109012604, -0.12855350971221924, -0.16760942339897156, -0.27832114696502686, -0.11279883980751038, -0.03541789576411247, 0.43674206733703613, 0.1540718674659729, -0.19149069488048553, 0.2976929843425751, 0.38299909234046936, 0.05112870782613754, 0.17962764203548431, -0.6664925813674927, 0.8350081443786621, -0.23647668957710266, -0.4190213680267334, -0.5787043571472168, 0.5439426898956299, 0.2863899767398834, -0.3339965045452118, 0.6102423667907715, 0.07233113795518875, -0.29216277599334717, -0.3852948844432831, -0.29806259274482727, -0.6694343686103821, -0.4760878384113312, -0.07945504784584045, -0.6042585968971252, -1.0504443645477295, 0.3508223295211792, -0.10180731117725372, 0.01358166616410017, 0.2143068015575409, 0.7004761099815369, -0.33432289958000183, 1.0115301609039307, 0.39673906564712524, 0.4095740020275116, 0.42056772112846375, -0.35702815651893616, 0.443694531917572, -0.5364915132522583, -0.1074996143579483, -0.23393899202346802, -0.06236559897661209, -0.3669780194759369, -0.40562739968299866, 0.49762341380119324, 0.201760932803154, -0.0792921707034111, 0.021941393613815308, -0.5403356552124023, 0.5833278298377991, 0.5110272169113159, 0.37377578020095825, 0.38523241877555847, -0.0012588092358782887, -0.11926817148923874, 0.1317780315876007, -0.9881424903869629, -0.7536073923110962, 0.8859530091285706, 0.15618391335010529, 0.6295831203460693, -0.3472338020801544, 0.942586362361908, 0.18461966514587402, 0.021467505022883415, -1.142101526260376, 0.6047942042350769, 0.5585156679153442, -0.6086118221282959, -0.49951982498168945, 0.017015857622027397, -0.9135692119598389, 0.17172499001026154, -0.3876506984233856, -0.3062555491924286, 0.0496295765042305, 0.20172442495822906, -0.6247683763504028, -0.0023182141594588757, -0.27728039026260376, 0.5598229169845581, 0.19023267924785614, -0.24670125544071198, -0.4101659059524536, -0.5612263083457947, 0.4891664385795593, 0.09158669412136078, -0.16678206622600555, 0.18254713714122772, 0.4579319655895233, 0.6489489674568176, -0.44230708479881287, 0.7748510241508484, 0.13277491927146912, -0.37240004539489746, 0.8856056332588196, 0.2160528600215912, 0.838798999786377, 0.07009822875261307, 0.10854919999837875, -0.2686654329299927, 0.04129587858915329, -0.4348510801792145, -0.7471400499343872, 0.14214876294136047, -0.36328932642936707, -0.5649740695953369, -0.2951296269893646, -0.47662171721458435, -0.3786191940307617, 0.1654929518699646, 0.23160120844841003, 0.3684668242931366, -0.2630620300769806, 0.1296936571598053, 0.9180542826652527, -0.06608078628778458, 0.09316352754831314, 0.32193300127983093, -0.01158730499446392, -0.5193615555763245, 0.7121956944465637, -0.1733020395040512, 0.5798549056053162, 0.07392729073762894, 0.08965115249156952, -0.14352944493293762, -0.38690757751464844, -0.30531495809555054, 0.1141062006354332, -0.9516343474388123, -0.25403183698654175, -0.7585130333900452, -0.22390151023864746, -0.3911419212818146, -0.21967674791812897, -0.3155076503753662, -0.30903109908103943, -0.16505645215511322, -0.45870476961135864, 0.2784678339958191, 0.821225643157959, 0.5204904675483704, 0.5834009051322937, -0.9036446809768677, 0.3838964104652405, 0.49481216073036194, 0.03102225251495838, -0.19062356650829315, -0.31421011686325073, -0.2051631659269333, 0.13847462832927704, -0.5708677768707275, -0.9796608090400696, 0.12517240643501282, 0.09188998490571976, 0.2516503632068634, 0.4501316547393799, 0.33875367045402527, 0.8680535554885864, -0.5988346934318542, 1.1154866218566895, 0.2455342561006546, -0.9416900277137756, 0.974389910697937, -0.3547115623950958, 0.2362833172082901, 0.8028035163879395, 0.20837503671646118, -0.42539694905281067, -0.8855200409889221, -0.782008945941925, -0.677066445350647, 0.5067130327224731, 0.1474500596523285, 0.36197376251220703, -0.6151439547538757, 0.36108601093292236, 0.10828053206205368, 0.43044114112854004, -0.4471868872642517, -0.07729151099920273, -0.14753000438213348, -0.018559716641902924, 0.5113125443458557, -0.4324234127998352, -0.48611846566200256, 0.05169704183936119, 0.707338809967041, -0.6000769138336182, 0.1576518565416336, 0.4858994781970978, -0.23142793774604797, -0.3240228593349457, 0.6430258750915527, 0.6960063576698303, 0.92740398645401, 0.12711328268051147, 0.2166854590177536, 0.18509677052497864, -0.3488834798336029, 0.2788510322570801, -0.6179250478744507, -0.37322014570236206, -0.13748858869075775, 0.0960344448685646, 0.7550563812255859, 0.0719725638628006, -0.5791530609130859, 0.4436299204826355, 0.10741548240184784, -0.5063353776931763, -0.11329097300767899, 0.16818849742412567, -0.18932154774665833, 0.3973987400531769, 0.3408993184566498, -0.4096871316432953, 0.03792484849691391, -0.683426022529602, 0.40391066670417786, 0.2609972059726715, -0.43088337779045105, -0.26147061586380005, 0.4516758322715759, 0.35154983401298523, -0.26743337512016296, 0.7299336791038513, -0.5066422820091248, -0.613494873046875, 0.24492470920085907, 0.6285184025764465, 0.9138715267181396, 0.12598778307437897, 0.5826775431632996, 0.3558851480484009, 0.29660722613334656, -0.22339685261249542, 0.8816090226173401, -0.2437887191772461, -0.7693939208984375, -0.6192190647125244, -0.2737320363521576, -0.6434547901153564, 0.08220414817333221, -0.7438382506370544, 0.1619725078344345, -0.5605084896087646, -0.16917060315608978, -0.4531014561653137, 0.02288106642663479, -0.4742145836353302, 0.19469651579856873, 0.026192452758550644, 0.7929314374923706, -0.8261960744857788, 0.8130199909210205, 0.5217052698135376, -0.6515890955924988, -1.06266450881958, 0.183597132563591, -0.3716440200805664, -0.48609957098960876, 0.5222321152687073, 0.022360192611813545, -0.3848158121109009, 0.2365308254957199, -0.8080816864967346, -0.4829837381839752, 1.0501599311828613, 0.20364217460155487, -0.4349585473537445, -0.059873949736356735, -0.09774859249591827, 0.5392966270446777, -0.39883843064308167, 0.12818129360675812, 0.40738460421562195, 0.16976536810398102, 0.23378419876098633, -0.6320281624794006, 0.2714827060699463, -0.23982299864292145, -0.21250765025615692, 0.033587660640478134, -0.5231963396072388, 0.6293219327926636, -0.27929291129112244, -0.3653833866119385, -0.08195022493600845, 0.9510429501533508, 0.8534456491470337, 0.3619047999382019, 0.6581315398216248, 0.32451218366622925, 0.962084949016571, 0.23159605264663696, 0.7711490392684937, -0.4852921664714813, -0.07644428312778473, 1.1583385467529297, -0.5179953575134277, 1.0240262746810913, 0.8087826371192932, 0.09497898072004318, 0.8090078234672546, 0.6265019178390503, 0.2903198301792145, 0.3787914216518402, 0.27850714325904846, -0.2394508719444275, -0.43703362345695496, -0.3790200650691986, -0.3093658685684204, 0.312406450510025, 0.20351542532444, 0.005064607597887516, 0.1691361367702484, 0.005571409594267607, -0.1381329745054245, 0.09220578521490097, -0.1156192347407341, 0.9829246997833252, 0.13812974095344543, -1.0093079805374146, 0.5877084136009216, -0.37224701046943665, 0.25252479314804077, -0.5337083339691162, -0.2509814202785492, -0.3558976352214813, -0.3264519274234772, -0.23956236243247986, -0.7786465287208557, 0.0628419816493988, 0.011856332421302795, -0.27828073501586914, -0.5516210794448853, 0.6423590183258057, -0.6342424154281616, -0.05999121814966202, -0.11928786337375641, 0.6780053377151489, 0.31355932354927063, -0.4049186408519745, -0.3736478388309479, -0.1932428926229477, -0.42578402161598206, -0.3899523913860321, 0.14263930916786194, 0.5506849884986877, -0.3668651282787323, 0.5332140922546387, 0.9633080959320068, -0.017095288261771202, 0.10569081455469131, 0.3110986053943634, 1.1956913471221924, -0.7561981678009033, -0.8871846795082092, -0.4359341561794281, 0.7782996892929077, 0.08382584154605865, -0.2806934118270874, 0.5491232872009277, 0.3925146758556366, 0.790504515171051, -0.04411396384239197, 0.651371419429779, 0.1367894858121872, 0.05299118906259537, -0.7383151054382324, 0.49656349420547485, -0.21284493803977966, 0.09082473814487457, -0.27349555492401123, -1.022870421409607, 0.16610565781593323, 0.44378313422203064, 0.05942635238170624, -0.2668701112270355, 1.1927666664123535, 0.7433032989501953, 0.2784053385257721, 0.08723988384008408, 0.3442820608615875, -0.07634313404560089, 0.3674829304218292, 0.4261297881603241, 1.259533405303955, -0.4027898609638214, 0.6276658773422241, 0.00008981541759567335, 0.08260291069746017, -0.03269317373633385, -0.6693254709243774, -1.0472630262374878, -0.5362619161605835, -0.39369669556617737, -0.7374486923217773, 0.05674660578370094, 1.1214938163757324, 0.5787515044212341, -0.7252532243728638, -0.003717075800523162, -0.2058762013912201, 0.08605226874351501, -0.25810715556144714, -0.18984349071979523, 0.10789524018764496, -0.5420665740966797, -0.42335936427116394, 0.664627194404602, 0.39906737208366394, -0.11060137301683426, -0.41741928458213806, -0.10704410821199417, -0.0992349162697792, 0.3379002511501312, 0.9182891845703125, 0.07512602210044861, -0.7739050984382629, -0.3712780773639679, 0.43407607078552246, -0.2663072645664215, 0.13066135346889496, 1.1206053495407104, -0.8150113224983215, 0.3885559141635895, 0.5680960416793823, 0.6470444798469543, 0.5669333934783936, 0.24628841876983643, 0.6079748868942261, -0.8845486640930176, 0.14214551448822021, 0.3366183638572693, -0.17655225098133087, -0.019959090277552605, -0.37766125798225403, 0.3973713517189026, 0.07551629096269608, -0.3868202567100525, -0.8105111122131348, 0.37983444333076477, -1.0933822393417358, -0.05948326364159584, 1.2747012376785278, -0.0078017679043114185, -0.2566901445388794, -0.10457132756710052, -0.3833226263523102, 0.33257731795310974, -0.4698793590068817, 0.7093488574028015, 0.7294628024101257, -0.14648354053497314, -0.12562249600887299, -0.2558029890060425, 0.519496738910675, 0.46910688281059265, -1.1679713726043701, 0.011438828893005848, 0.6466764807701111, -0.09481113404035568, 0.024794353172183037, 1.15510892868042, 0.20619159936904907, 0.2851831316947937, -0.026989392936229706, 0.11828623712062836, 0.08698863536119461, -0.6939083337783813, -0.33101555705070496, 0.2018037885427475, 0.028980905190110207, -0.15434056520462036 ]
http://arxiv.org/abs/2402.11764v1
http://arxiv.org/pdf/2402.11764v1
ChatGPT Based Data Augmentation for Improved Parameter-Efficient Debiasing of LLMs
2024-02-19T01:28:48
2024-02-19T01:28:48
Pengrui Han, Rafal Kocielnik, Adhithya Saravanan, Roy Jiang, Or Sharir, Anima Anandkumar
cs.CL
cs.CL, cs.AI, cs.CY, 68T50, I.2.7; K.4.1
Large Language models (LLMs), while powerful, exhibit harmful social biases. Debiasing is often challenging due to computational costs, data constraints, and potential degradation of multi-task language capabilities. This work introduces a novel approach utilizing ChatGPT to generate synthetic training data, aiming to enhance the debiasing of LLMs. We propose two strategies: Targeted Prompting, which provides effective debiasing for known biases but necessitates prior specification of bias in question; and General Prompting, which, while slightly less effective, offers debiasing across various categories. We leverage resource-efficient LLM debiasing using adapter tuning and compare the effectiveness of our synthetic data to existing debiasing datasets. Our results reveal that: (1) ChatGPT can efficiently produce high-quality training data for debiasing other LLMs; (2) data produced via our approach surpasses existing datasets in debiasing performance while also preserving internal knowledge of a pre-trained LLM; and (3) synthetic data exhibits generalizability across categories, effectively mitigating various biases, including intersectional ones. These findings underscore the potential of synthetic data in advancing the fairness of LLMs with minimal retraining cost.
[ -0.3258884847164154, -1.0358487367630005, 0.5300322771072388, 0.19934536516666412, -0.31110885739326477, 0.24706192314624786, -0.5026376247406006, -0.22573494911193848, 0.10277282446622849, 0.3086642026901245, -0.682316780090332, -0.46990007162094116, -0.6157174706459045, -0.06244713068008423, -0.1607184261083603, 0.9893789291381836, 0.28826138377189636, 0.415728896856308, -0.01655123569071293, 0.021845608949661255, -0.5270220041275024, -0.6827738881111145, -0.8541913628578186, -0.41411924362182617, 0.4414049983024597, 0.4751482903957367, 0.8048900365829468, 0.23884542286396027, 0.35554271936416626, 0.26590192317962646, -0.05729798600077629, 0.4542875587940216, -0.8090479969978333, 0.14115166664123535, 0.024590229615569115, -0.3889158368110657, -0.4621420204639435, 0.12666954100131989, 0.46904420852661133, 0.6880486607551575, -0.01620388962328434, 0.03253139927983284, 0.43964624404907227, 0.7322351336479187, -0.4970094859600067, 0.3073761463165283, -1.1121689081192017, -0.013520090840756893, -0.00747923506423831, -0.15997596085071564, -0.27461931109428406, -0.6637107729911804, -0.06297370046377182, -0.5852579474449158, 0.3866150975227356, 0.005210799630731344, 0.3721540570259094, 0.5685916543006897, -0.14953021705150604, -0.12109682708978653, -0.6231739521026611, 0.8654031157493591, -0.6382761001586914, 0.5162136554718018, 0.3533051908016205, 0.3144069015979767, -0.33646348118782043, -0.3543906509876251, -0.6532078385353088, -0.37577390670776367, -0.01695508323609829, 0.19737251102924347, -0.09141256660223007, 0.16630569100379944, 0.32616862654685974, 0.19879311323165894, -0.4361177682876587, 0.076332688331604, -0.33959564566612244, -0.10766952484846115, 0.5862480998039246, -0.04644177481532097, 0.1880713552236557, -0.07198505103588104, -0.2501882016658783, -0.09788791835308075, -0.9036162495613098, -0.2909190058708191, 0.7631611227989197, 0.39625194668769836, -0.11891365051269531, 0.5871302485466003, -0.4017598628997803, 0.4464188814163208, 0.24130432307720184, 0.1784525364637375, 0.44430112838745117, -0.05400975048542023, -0.03276041895151138, 0.18160483241081238, 0.780701220035553, 0.7009966969490051, 0.5136765241622925, -0.13805916905403137, -0.05981641635298729, 0.25539958477020264, 0.04490545764565468, -0.7929264307022095, -0.2095932811498642, 0.14804111421108246, -0.14587350189685822, -0.48911431431770325, -0.35914528369903564, -0.968411922454834, -0.7267692685127258, -0.6260290741920471, 0.29819995164871216, -0.5109535455703735, -0.10439897328615189, 0.11671783030033112, -0.05858911946415901, 0.19401861727237701, 0.31992629170417786, -0.9642581343650818, 0.03619273751974106, 0.6054958701133728, 0.7894245982170105, -0.1417788416147232, -0.010802585631608963, -0.4942011833190918, -0.011271478608250618, -0.22177641093730927, 0.7363394498825073, -0.8657366037368774, -0.42430758476257324, -0.21537303924560547, -0.24086689949035645, 0.03858204558491707, -0.5639949440956116, 0.7098498344421387, -0.39864665269851685, 0.0708981305360794, -0.27611494064331055, -0.2522833049297333, 0.026603609323501587, 0.4696989357471466, -0.5732011795043945, 1.2377266883850098, 0.12319311499595642, -0.7250854969024658, 0.5672280192375183, -0.5179864168167114, -0.14779861271381378, -0.1996118426322937, -0.3206779360771179, -0.3004206120967865, 0.007340649142861366, 0.7914994955062866, 0.2212493121623993, -0.3249826729297638, 0.49620121717453003, -0.6695196628570557, -0.3898710310459137, 0.31012478470802307, -0.8791180849075317, 0.47368937730789185, 0.19344671070575714, -0.13646234571933746, -0.029512817040085793, -0.7336628437042236, -0.04191264137625694, -0.11988598853349686, -0.261403352022171, -0.2684142589569092, 0.0839918702840805, -0.16601066291332245, 0.047411300241947174, 0.13107919692993164, -0.7030598521232605, 0.2349480837583542, -0.6251808404922485, 0.32487696409225464, 0.923372745513916, 0.10007234662771225, 0.4033544659614563, -0.33812764286994934, 0.4663558006286621, -0.13806763291358948, 0.19009405374526978, 0.29080861806869507, -0.2891695499420166, -0.8400389552116394, -0.4610966742038727, 0.29261672496795654, 0.5285686254501343, -0.7685716152191162, 0.436931848526001, -0.4169968068599701, -0.4464026093482971, -0.7298625111579895, 0.10934839397668839, 0.08047053962945938, 0.38969650864601135, 0.3384723961353302, -0.026615289971232414, -0.8033333420753479, -0.8759804964065552, -0.3866867125034332, 0.019225269556045532, -0.18425606191158295, 0.223464697599411, 0.06017063558101654, -0.2427348792552948, 0.9491515159606934, -0.49576202034950256, -0.17333172261714935, -0.24711690843105316, -0.15654121339321136, 0.2916466295719147, 0.42966631054878235, 0.43929392099380493, -0.502905011177063, -0.535683810710907, -0.18041883409023285, -0.4131447672843933, -0.4380059242248535, -0.07116007059812546, -0.3053395450115204, 0.0329522080719471, 0.46096381545066833, -0.45328983664512634, 0.22861027717590332, 0.49358683824539185, 0.00993741862475872, 0.33225542306900024, -0.04019381105899811, 0.2156144231557846, -0.9921653866767883, -0.1997641772031784, -0.16448429226875305, -0.1787673383951187, -0.47698190808296204, -0.3665432631969452, -0.30301034450531006, -0.12498998641967773, -0.29685917496681213, 0.5806601643562317, -0.3341248333454132, 0.3317805528640747, -0.35361114144325256, 0.3484857976436615, -0.22609765827655792, 0.5259225964546204, -0.012014900334179401, 0.6890642046928406, 0.6394795179367065, -0.45616111159324646, 0.37002643942832947, 0.3389277756214142, -0.26896896958351135, 0.4729526937007904, -0.7229146957397461, 0.30800661444664, -0.41021010279655457, 0.3590877950191498, -0.9770718216896057, -0.1648927927017212, 0.428000271320343, -0.4688563644886017, 0.024176429957151413, -0.5426250696182251, -0.35251250863075256, -0.09323452413082123, -0.5195174813270569, 0.35563430190086365, 0.7636555433273315, -0.6809253692626953, 0.2938838303089142, 0.42832162976264954, -0.12470812350511551, -0.5878629088401794, -0.6503217816352844, -0.010600682348012924, -0.42740172147750854, -0.4495011568069458, 0.3314853608608246, -0.0634506344795227, -0.21160678565502167, -0.24739475548267365, -0.11291711032390594, 0.10147960484027863, -0.19035066664218903, 0.31301313638687134, 0.32681703567504883, 0.17801788449287415, 0.13825514912605286, 0.15941281616687775, -0.17266060411930084, -0.015221953392028809, -0.19180293381214142, 0.7338188290596008, 0.18921007215976715, -0.6042330265045166, -0.12549662590026855, 0.10218637436628342, 0.34001415967941284, -0.10422750562429428, 0.5887260437011719, 0.7464346885681152, -0.20400117337703705, -0.47352421283721924, -0.6750298738479614, -0.4886012077331543, -0.5459498167037964, 0.3644159734249115, -0.12583725154399872, -0.8546397089958191, 0.3144184947013855, 0.0561051219701767, 0.020724305883049965, -0.0429261177778244, 0.8511815071105957, 0.33617979288101196, 1.0880532264709473, 0.006353931967169046, -0.36718544363975525, 0.6960365772247314, -0.026940040290355682, 0.47008028626441956, -0.7970902323722839, 0.040755271911621094, -0.2839497923851013, -0.3928063213825226, -0.7530220150947571, -0.7556409239768982, 0.5854766964912415, -0.07065646350383759, -0.19708319008350372, -0.16666921973228455, -0.6661550402641296, 0.6511863470077515, 0.581330418586731, 0.5805895328521729, 0.2746129631996155, 0.26692697405815125, 0.21476808190345764, -0.09752705693244934, -0.612312376499176, -0.5247268676757812, 1.3325679302215576, 0.2351810187101364, 1.0916305780410767, -0.09585630893707275, 0.6461862325668335, 0.3348625600337982, 0.2554452121257782, -0.7364264130592346, 0.5360667705535889, -0.14365608990192413, -0.4778189957141876, -0.24202507734298706, -0.4098142087459564, -0.8284919261932373, 0.36434921622276306, -0.37628641724586487, -0.6244649887084961, 0.1559046357870102, 0.4244469106197357, -0.2427346408367157, 0.1730419546365738, -0.7362083196640015, 0.4431220591068268, -0.11350683122873306, -0.5087864398956299, -0.3487890660762787, -0.2924427390098572, 0.3036104440689087, -0.11978836357593536, 0.26306068897247314, -0.45437589287757874, 0.11484573781490326, 0.5454104542732239, -0.27013692259788513, 1.199288249015808, -0.41935062408447266, -0.12198303639888763, 0.4440857470035553, -0.04847129434347153, 0.7831939458847046, 0.3792175352573395, -0.4316507875919342, 0.023594027385115623, -0.26079845428466797, -0.2492603361606598, -0.7887938618659973, 0.8077540993690491, -0.6790019273757935, -0.7330405712127686, -0.09424666315317154, -0.6862354874610901, -0.6752788424491882, -0.17538435757160187, -0.03661302104592323, 0.2781934440135956, -0.1738729476928711, 0.22642362117767334, 0.447232723236084, -0.306936651468277, 0.11858512461185455, 0.45430517196655273, 0.058173902332782745, -0.4820590913295746, 0.8460664749145508, -0.05081842094659805, 0.3324016332626343, 0.11847930401563644, 0.3324131369590759, -0.46920302510261536, -0.5784786939620972, -0.32805413007736206, -0.11927980929613113, -0.5074484348297119, -0.15300773084163666, -0.5826523900032043, -0.1609726846218109, -0.48302188515663147, 0.004393311683088541, -0.3104843199253082, -0.504619836807251, 0.12938229739665985, -0.24407528340816498, 0.6044212579727173, 0.21898549795150757, -0.20711871981620789, 0.5214371681213379, -0.6211822032928467, 0.3802953362464905, 0.3131696283817291, 0.42009782791137695, -0.19972370564937592, -0.6204438209533691, 0.041917234659194946, 0.49136069416999817, -0.30377504229545593, -0.7656644582748413, 0.4396306574344635, 0.16435478627681732, 0.6449283957481384, 0.13787920773029327, 0.32930687069892883, 0.7130724787712097, -0.5035409927368164, 0.5704060196876526, -0.0560147687792778, -0.709992527961731, 0.45892584323883057, -0.4709325432777405, -0.021769100800156593, 0.5769560933113098, 0.13521134853363037, -0.4435066282749176, -0.5306697487831116, -0.4401642382144928, -0.869897186756134, 0.684889018535614, 0.2346070110797882, 0.5134772062301636, -0.08525598049163818, 0.31859177350997925, 0.16803152859210968, 0.179698646068573, -0.7588008046150208, -0.06573247164487839, -0.08147262036800385, -0.3677639961242676, 0.14387600123882294, -0.241008460521698, -0.02745443396270275, -0.3347536325454712, 0.8917899131774902, -0.2788982689380646, 0.022314339876174927, 0.1560523957014084, -0.11393141746520996, 0.19403165578842163, 0.41743263602256775, 0.15133525431156158, 0.31057581305503845, -0.19423910975456238, 0.03580796346068382, 0.5997635126113892, -0.44311127066612244, 0.14311851561069489, 0.160710409283638, -0.21231438219547272, -0.0897008404135704, 0.013899262063205242, 0.982835590839386, 0.02171582542359829, -0.6412442326545715, 0.2493104338645935, 0.18109433352947235, -0.03706895932555199, -0.18903480470180511, 0.3221873342990875, -0.12506335973739624, 0.33917152881622314, 0.06800650805234909, -0.21034730970859528, 0.0570298470556736, -0.3087790012359619, 0.1119249239563942, 0.7469975352287292, -0.3324708342552185, -0.1618662029504776, 0.5750401020050049, 0.3211813271045685, 0.08408107608556747, 0.37792277336120605, -0.11383064836263657, -0.4591122269630432, 0.25841814279556274, 0.4679027497768402, 0.7660681009292603, -0.25897514820098877, 0.21861925721168518, 0.5655998587608337, 0.296432763338089, 0.07515743374824524, 0.18707381188869476, 0.0309595987200737, -1.0028854608535767, -0.5718681812286377, -0.7128069996833801, -0.4906507730484009, 0.3348257839679718, -0.24284586310386658, 0.4647839069366455, -0.30424410104751587, -0.18517521023750305, -0.26256030797958374, -0.1839563399553299, -0.5729230642318726, 0.16554827988147736, 0.24985553324222565, 0.5141438841819763, -0.6731452345848083, 0.7531173229217529, 0.4232194721698761, -0.17459040880203247, -0.538436233997345, -0.047273170202970505, 0.03624389320611954, -1.1969722509384155, 0.48008036613464355, 0.028538169339299202, -0.14119867980480194, 0.0546104833483696, -0.47267836332321167, -0.7804780602455139, 0.7062114477157593, 0.7087586522102356, -0.7460570931434631, -0.001792180584743619, 0.5463793873786926, 0.4589395821094513, -0.16611556708812714, 0.4735344350337982, 0.7516653537750244, 0.6047306656837463, 0.10255200415849686, -0.7116448283195496, 0.1841084361076355, -0.01961749792098999, -0.1619570255279541, 0.07234761863946915, -0.5923871994018555, 0.5025734901428223, -0.10246368497610092, -0.06675378233194351, -0.3727012276649475, 0.13381241261959076, 0.3685881495475769, 0.030252983793616295, 0.6745269298553467, 0.3970772922039032, 0.7296909093856812, -0.07463012635707855, 0.6843859553337097, -0.4461328089237213, 0.22996892035007477, 1.2381019592285156, -0.36088019609451294, 0.43328437209129333, 0.5401453971862793, -0.29622605443000793, 0.15498651564121246, 0.5915365815162659, -0.045672737061977386, 0.36663690209388733, 0.4637730121612549, -0.4677254855632782, -0.39426133036613464, -0.17284253239631653, -0.3420163094997406, 0.46593764424324036, 0.39441534876823425, -0.26977941393852234, -0.4539417624473572, 0.06719228625297546, 0.022332577034831047, -0.043223198503255844, -0.1342807561159134, 0.856736958026886, 0.02226409502327442, -0.6194112300872803, 0.781157374382019, -0.213238924741745, 0.7118447422981262, -0.5834777355194092, -0.017427662387490273, -0.3107311427593231, 0.22309240698814392, -0.22035321593284607, -0.6538538336753845, 0.3618644177913666, 0.0710548684000969, -0.092744380235672, -0.23498976230621338, 0.8306684494018555, -0.6720855236053467, -0.6132944226264954, 0.0891994833946228, 0.61849045753479, 0.06910111755132675, -0.4122067987918854, -0.5623173713684082, 0.04715986177325249, 0.31430545449256897, -0.3801210820674896, 0.21247662603855133, 0.3693901598453522, -0.18341971933841705, 0.6738245487213135, 0.9875131845474243, 0.2832411229610443, 0.057717371731996536, 0.37988603115081787, 1.107542872428894, -0.5299270153045654, -0.287651389837265, -1.1360197067260742, 0.26547878980636597, -0.2126927673816681, 0.0064127785153687, 0.6996091604232788, 0.5207135081291199, 0.6640142202377319, -0.07733452320098877, 1.1243922710418701, -0.04005126282572746, 0.5975815653800964, -0.6539750099182129, 0.6598710417747498, -0.1278955489397049, 0.5288041234016418, -0.1051952913403511, -0.9936354756355286, -0.1337703913450241, 0.4828348457813263, -0.6415660977363586, 0.03291821852326393, 0.2058984488248825, 1.412947177886963, -0.20955662429332733, 0.03460843488574028, 0.26418179273605347, 0.0630248486995697, 0.47615399956703186, 0.548981785774231, 0.9298993945121765, -0.15441657602787018, 0.625930666923523, -0.18872982263565063, -0.3044998049736023, -0.0213974229991436, -0.8076701164245605, -1.1040815114974976, -0.23880955576896667, -0.20448271930217743, -0.2612153887748718, 0.254273921251297, 1.2082737684249878, 0.7569690346717834, -0.7507701516151428, 0.14235645532608032, -0.13457006216049194, 0.07653453201055527, 0.22516728937625885, -0.25733625888824463, 0.3395615816116333, -0.6589047312736511, -1.0883703231811523, 0.48951417207717896, -0.23356789350509644, 0.01851777918636799, -0.12726686894893646, -0.06741563975811005, 0.28612834215164185, 0.1387244164943695, 0.6907805800437927, -0.19577553868293762, -0.4125088155269623, -0.3788304328918457, -0.24776425957679749, 0.27525776624679565, 0.16239133477210999, 0.7343213558197021, -1.0186378955841064, 0.3784691393375397, 0.4739414155483246, 0.6122795939445496, 0.44651174545288086, 0.19828850030899048, 0.739654541015625, -0.9460787177085876, 0.4727151691913605, 0.230667844414711, 0.29200586676597595, 0.42717108130455017, -0.37336087226867676, 0.6497005820274353, 0.11911982297897339, -0.4991162419319153, -0.8055243492126465, 0.29184311628341675, -0.8326870799064636, 0.03793024271726608, 1.4157586097717285, 0.34595394134521484, -0.05633765831589699, -0.052275825291872025, -0.8154273629188538, 0.34078946709632874, -0.6265552043914795, 1.0306782722473145, 0.4703734219074249, -0.09340119361877441, -0.0000359637379006017, -0.5453914403915405, 0.6611651182174683, 0.47701629996299744, -0.8427011370658875, 0.4602859616279602, 0.7009832262992859, 0.2877417504787445, -0.3495550751686096, 0.4992733597755432, -0.17558206617832184, -0.07167460769414902, -0.09799271076917648, -0.027983656153082848, -0.13833071291446686, 0.15712271630764008, -0.08759933710098267, -0.1540992707014084, 0.054344918578863144, -0.34419503808021545 ]
http://arxiv.org/abs/2402.11757v1
http://arxiv.org/pdf/2402.11757v1
Large Language Models for Stemming: Promises, Pitfalls and Failures
2024-02-19T01:11:44
2024-02-19T01:11:44
Shuai Wang, Shengyao Zhuang, Guido Zuccon
cs.IR
cs.IR, cs.CL
Text stemming is a natural language processing technique that is used to reduce words to their base form, also known as the root form. The use of stemming in IR has been shown to often improve the effectiveness of keyword-matching models such as BM25. However, traditional stemming methods, focusing solely on individual terms, overlook the richness of contextual information. Recognizing this gap, in this paper, we investigate the promising idea of using large language models (LLMs) to stem words by leveraging its capability of context understanding. With this respect, we identify three avenues, each characterised by different trade-offs in terms of computational cost, effectiveness and robustness : (1) use LLMs to stem the vocabulary for a collection, i.e., the set of unique words that appear in the collection (vocabulary stemming), (2) use LLMs to stem each document separately (contextual stemming), and (3) use LLMs to extract from each document entities that should not be stemmed, then use vocabulary stemming to stem the rest of the terms (entity-based contextual stemming). Through a series of empirical experiments, we compare the use of LLMs for stemming with that of traditional lexical stemmers such as Porter and Krovetz for English text. We find that while vocabulary stemming and contextual stemming fail to achieve higher effectiveness than traditional stemmers, entity-based contextual stemming can achieve a higher effectiveness than using Porter stemmer alone, under specific conditions.
[ -0.37791118025779724, -0.7492853999137878, 0.5561729669570923, 0.15229202806949615, -0.4226478934288025, 0.4162091612815857, -0.4025801122188568, -0.5349557399749756, 0.2467440366744995, 0.42012181878089905, -0.6318573355674744, -0.49668121337890625, -0.6854792237281799, 0.20645202696323395, -0.6905820369720459, 0.8955032825469971, 0.026996023952960968, -0.04958105832338333, -0.0879383534193039, 0.21193647384643555, -0.9617846608161926, -0.42378273606300354, -0.677346408367157, -0.41713449358940125, 0.711893618106842, 0.4597402513027191, 0.6278791427612305, 0.7119042873382568, 0.6939340233802795, 0.20624296367168427, -0.3418582081794739, 0.02726978063583374, -0.5474568605422974, 0.39179858565330505, -0.4548914432525635, -0.5471693873405457, -0.0060165319591760635, -0.1382005363702774, 0.49394434690475464, 0.854305624961853, 0.27487704157829285, -0.37957829236984253, -0.15896379947662354, 0.5567194223403931, -0.4872089922428131, -0.22090363502502441, -1.2258808612823486, -0.22934746742248535, -0.4387793242931366, -0.21680445969104767, -0.42489778995513916, -0.15627312660217285, 0.48551565408706665, -0.147284597158432, 0.16670601069927216, 0.22882744669914246, 0.9893929958343506, 0.027625637128949165, -0.4094136953353882, -0.6755332350730896, -0.7696025967597961, 0.945369303226471, -0.6106611490249634, 0.14453624188899994, 0.20244066417217255, 0.296617329120636, -0.21046049892902374, -0.6260830163955688, -0.32777082920074463, -0.15096352994441986, 0.05438962206244469, 0.17674832046031952, -0.3655437231063843, 0.008906226605176926, 0.00285959686152637, 0.3876371383666992, -0.26938578486442566, 0.6898388266563416, -0.4454474151134491, -0.003957042936235666, 0.2897522747516632, -0.07776317000389099, 0.40555089712142944, -0.45223695039749146, -0.6087560653686523, 0.019697820767760277, -1.211592674255371, -0.1589863896369934, 0.17042793333530426, 0.6487655639648438, 0.21962371468544006, 0.7750543355941772, 0.1661836802959442, 0.4677633047103882, -0.13688530027866364, -0.1874951422214508, -0.0008983295410871506, -0.2810001075267792, -0.04486091434955597, 0.037355247884988785, 0.4550853669643402, 0.2897973656654358, 0.47602254152297974, -0.39244937896728516, -0.27841028571128845, 0.02482013590633869, 0.3424338400363922, -0.770664393901825, 0.18988634645938873, 0.2601636052131653, -0.4190867841243744, -0.11079266667366028, -0.0985245555639267, -0.609373152256012, -0.25919678807258606, -0.3895435035228729, 0.0638023391366005, -0.9275173544883728, -0.12572497129440308, -0.17009331285953522, -0.19486957788467407, 0.19040021300315857, 0.4130357801914215, -0.7393624186515808, 0.1827407032251358, 0.9214703440666199, 1.1894689798355103, -0.7416301965713501, -0.08716785162687302, -0.4452211260795593, -0.015941346064209938, -0.4928358197212219, 0.8207331895828247, -0.539452850818634, -0.6915528774261475, 0.3535778224468231, -0.1971481293439865, -0.04838227108120918, -0.5665057897567749, 0.9637466669082642, -0.5693445801734924, -0.26492875814437866, -0.02802659012377262, -0.860531210899353, -0.019813811406493187, 0.05310244485735893, -0.528883159160614, 0.8360434174537659, -0.20683187246322632, -0.7001809477806091, 0.3628476560115814, -0.398149311542511, -0.6905202865600586, 0.27479663491249084, 0.016572047024965286, -0.1283276379108429, 0.5354119539260864, 0.06650218367576599, 0.6299355626106262, -0.4347706437110901, 0.32973742485046387, -0.19535017013549805, -0.22986459732055664, 0.20428401231765747, -0.3303321301937103, 0.6062520742416382, 0.30817535519599915, -0.10149957984685898, 0.17495208978652954, -0.4644496738910675, -0.4660094082355499, 0.005210911855101585, -0.06080334633588791, -1.031988263130188, 0.282875120639801, 0.3055837154388428, 0.14443840086460114, 0.020577218383550644, -0.5558792352676392, 0.24700994789600372, -0.6896514892578125, 0.4496847689151764, 0.6907168030738831, 0.02472277171909809, 0.467518150806427, -0.3488258719444275, 0.4418891370296478, -0.11786192655563354, -0.5179769396781921, -0.5182483792304993, -0.49836310744285583, -0.49024268984794617, -0.6060291528701782, 0.4016152322292328, 0.23907041549682617, -0.8708384037017822, 0.4451778829097748, -0.5079633593559265, -0.6645247936248779, -0.018695024773478508, -0.031000837683677673, 0.18643611669540405, 0.5521641969680786, 0.29485639929771423, -0.040900107473134995, -0.5064147114753723, -0.9861250519752502, -0.49088162183761597, 0.011234582401812077, -0.13363318145275116, 0.09818564355373383, 0.7680320143699646, -0.10857062041759491, 1.3455209732055664, -0.5262312293052673, -0.44723376631736755, -0.31811416149139404, 0.3419507145881653, 0.2575758099555969, 0.42520225048065186, 0.5727691650390625, -0.9654662013053894, -0.29526445269584656, 0.015983007848262787, -0.32251793146133423, -0.09586918354034424, -0.14305095374584198, -0.002743641845881939, 0.2756977081298828, 0.4881208539009094, -0.795318603515625, 0.45389485359191895, 0.3961121737957001, -0.10725101083517075, 0.7085619568824768, -0.05621359497308731, -0.20476624369621277, -1.3181382417678833, 0.026796359568834305, 0.2512430250644684, -0.14496608078479767, -0.7571611404418945, 0.14744608104228973, 0.11269834637641907, 0.10804960876703262, -0.5178396701812744, 0.6788331270217896, -0.5898085832595825, -0.049418531358242035, -0.5459843873977661, 0.12491122633218765, -0.2642730176448822, -0.032264191657304764, 0.17178165912628174, 0.8491042852401733, 0.41194528341293335, -0.6516802906990051, 0.14020036160945892, 0.19261541962623596, -0.3063134551048279, 0.7672633528709412, -0.5935878753662109, -0.16840051114559174, -0.2640535235404968, 0.13382595777511597, -1.0133084058761597, -0.06073709577322006, -0.22284317016601562, -0.4304918348789215, 0.427092045545578, -0.20511335134506226, -0.5618038773536682, -0.4269300103187561, -0.21607357263565063, 0.1062711626291275, 0.5040308833122253, -0.6219730973243713, 0.5711603164672852, 0.3059040307998657, -0.5104736685752869, -0.36239945888519287, -0.7766776084899902, 0.4469503164291382, -0.4698517322540283, -0.4675438404083252, 0.836715579032898, 0.0448618121445179, -0.34439393877983093, 0.06774585694074631, -0.09051856398582458, -0.019494593143463135, 0.20363445580005646, 0.28946200013160706, 0.4670068323612213, 0.013700566254556179, 0.5185173153877258, 0.18173015117645264, 0.055285755544900894, -0.03398991376161575, -0.531832754611969, 0.7448604702949524, 0.09288937598466873, -0.39336833357810974, 0.11436016857624054, 0.4299740493297577, 0.6110990643501282, -0.20335663855075836, 0.7764958739280701, 0.23297153413295746, -0.7534483075141907, -0.16786514222621918, -0.6443668603897095, -0.15435095131397247, -0.39492514729499817, 0.30445003509521484, -0.47399309277534485, -1.1010479927062988, 0.4013247787952423, -0.2007729411125183, 0.4029380679130554, 0.620491087436676, 0.738145649433136, -0.11641403287649155, 0.6969955563545227, 0.47747185826301575, -0.14841391146183014, 0.4035949110984802, 0.0810241550207138, 0.40392038226127625, -0.6548198461532593, -0.0006369850016199052, -0.8513914942741394, -0.0489262193441391, -0.5662981867790222, -0.38807937502861023, 0.17632165551185608, 0.12641198933124542, 0.16659031808376312, 0.4454129934310913, -0.18300867080688477, 0.18262234330177307, 0.5201238393783569, -0.4462124705314636, 0.5810025334358215, 0.494890421628952, -0.2241101861000061, -0.3373071253299713, -0.5686110258102417, -0.536310076713562, 0.8689973950386047, 0.49138519167900085, 0.7540012001991272, 0.030599739402532578, 0.5934818387031555, 0.1904178261756897, 0.3927772045135498, -1.364324688911438, 0.3647458553314209, -0.19099543988704681, -0.6541719436645508, -0.19777140021324158, -0.4994277060031891, -1.3361899852752686, 0.3781062364578247, -0.25729718804359436, -0.8857454657554626, -0.05796044319868088, -0.25025010108947754, -0.051425639539957047, 0.3768933117389679, -0.3461301326751709, 0.3291351795196533, -0.2307101935148239, -0.1932750940322876, -0.25892379879951477, -0.43554967641830444, 0.350094735622406, -0.3499687910079956, 0.5144575238227844, 0.045968905091285706, -0.10272841155529022, 0.806654155254364, -0.3767111599445343, 0.6240091323852539, 0.24035629630088806, -0.3211386203765869, 0.28379830718040466, 0.05612356588244438, 0.43767595291137695, -0.1710498183965683, 0.13570107519626617, 0.09090601652860641, -0.06510154157876968, -0.20502735674381256, -0.3752133250236511, 0.9118117094039917, -0.35667720437049866, -0.634120762348175, -0.5472591519355774, -0.7172168493270874, -0.268775075674057, 0.5357846617698669, 0.2923847734928131, 0.48298779129981995, -0.14707833528518677, 0.5818331837654114, 0.577160120010376, -0.21277517080307007, 0.5749854445457458, 0.23923932015895844, -0.5013983845710754, -0.20786172151565552, 0.7319821715354919, 0.2812768816947937, 0.3208308219909668, 0.4027438461780548, 0.215877503156662, -0.3655644357204437, -0.8278311491012573, -0.20382016897201538, 0.2971157133579254, -0.6610299348831177, -0.1775510609149933, -0.5823773741722107, -0.2225959599018097, -0.38363853096961975, -0.19316349923610687, -0.2927106022834778, -0.19501782953739166, -0.300915002822876, -0.1879110038280487, 0.5076567530632019, 0.6669861674308777, 0.1912994086742401, 0.3320492208003998, -0.7425028085708618, 0.020739218220114708, -0.1924559623003006, 0.13908807933330536, -0.01983809284865856, -0.4072483479976654, 0.023629724979400635, -0.013283787295222282, -0.02623731829226017, -0.9948875308036804, 0.7617356181144714, -0.08385393768548965, 0.3459579050540924, 0.2790912091732025, -0.016847552731633186, 0.511547863483429, -0.81583172082901, 0.5925500988960266, 0.4381257891654968, -0.8616189956665039, 0.42597508430480957, -0.5422283411026001, 0.313458114862442, 0.49258914589881897, 0.6860733032226562, -0.6574438214302063, -0.3664065897464752, -0.3773261308670044, -1.255301833152771, 0.32145562767982483, 0.3667919337749481, 0.29077380895614624, -0.19113072752952576, 0.38409265875816345, 0.12141716480255127, 0.17194554209709167, -0.3376830816268921, -0.2108825445175171, 0.3324489891529083, -0.24385985732078552, -0.01208021491765976, -0.19577839970588684, -0.025907456874847412, 0.08686451613903046, 0.6073382496833801, -0.15890175104141235, 0.03504268452525139, 0.1644369512796402, -0.20800742506980896, 0.1494579315185547, 0.3969655930995941, 0.3443813621997833, 0.7764105200767517, -0.08346107602119446, 0.279042512178421, 0.02740667760372162, -0.40429314970970154, -0.06854047626256943, 0.020650168880820274, -0.44421371817588806, 0.3268621563911438, 0.36230120062828064, 0.5468635559082031, 0.30800390243530273, -0.7680255174636841, 0.2993262708187103, 0.14166438579559326, -0.19739891588687897, -0.38902440667152405, -0.5159931778907776, 0.40164700150489807, -0.2307249903678894, 0.8117033839225769, 0.028957901522517204, 0.0653490424156189, -0.624448835849762, 0.12813062965869904, 0.7072811722755432, -0.4520551562309265, 0.02071208320558071, 0.2188480645418167, -0.009744462557137012, -0.3798172175884247, 0.35053321719169617, 0.1465698629617691, -0.6193060278892517, 0.514107882976532, 0.6655701398849487, 0.5780132412910461, 0.18785464763641357, -0.00210203998722136, 0.044109027832746506, 0.2863873541355133, -0.07150524109601974, -0.2788153886795044, 0.3260089159011841, -0.6810214519500732, -0.7171977162361145, -0.6215299963951111, -0.4658188223838806, 0.09333539009094238, -0.5248859524726868, 0.31238487362861633, -0.318215548992157, -0.14711648225784302, -0.0007741481531411409, -0.14845891296863556, -0.6180191040039062, 0.14124365150928497, 0.03777679055929184, 1.2430824041366577, -0.6595549583435059, 0.5879079699516296, 0.6681308746337891, -0.45881807804107666, -0.6185659170150757, 0.14814653992652893, 0.05305938422679901, -0.5125917792320251, 0.927573561668396, 0.3453480005264282, -0.28261834383010864, 0.045046813786029816, -0.43567103147506714, -1.0973429679870605, 0.9051873087882996, -0.036495890468358994, -0.6568514108657837, -0.2839280068874359, -0.1339690089225769, 0.4868960380554199, -0.4055672287940979, 0.11551833152770996, 0.5215191841125488, 0.3311971426010132, 0.5446937680244446, -0.7620929479598999, 0.08177516609430313, 0.0860893726348877, 0.33734530210494995, 0.09492333233356476, -0.17479518055915833, 0.8095117211341858, 0.18298161029815674, -0.4722338318824768, 0.3104372024536133, 0.9274738430976868, 0.3010651767253876, -0.05582471564412117, 0.4532894790172577, 0.26344531774520874, 0.6870893239974976, -0.18065039813518524, 1.1418439149856567, -0.30278488993644714, 0.3415825664997101, 0.7059798240661621, -0.3948873281478882, 0.8837693333625793, 0.7223947644233704, 0.00914359837770462, 0.370328426361084, 0.5765575170516968, 0.060461677610874176, 0.24073274433612823, 0.3833003342151642, -0.05461905151605606, 0.023846913129091263, -0.31801649928092957, -0.19361333549022675, 0.3300246000289917, 0.5509244799613953, -0.27115458250045776, -0.3610081672668457, 0.1482505351305008, 0.3045468032360077, 0.30068013072013855, -0.5114612579345703, 0.41276153922080994, 0.37697166204452515, -0.9770140647888184, 0.38359391689300537, 0.31459107995033264, 1.0632201433181763, -0.5429008603096008, 0.07601109147071838, -0.05104823037981987, 0.050999611616134644, -0.12170197814702988, -0.7429952025413513, 0.5525237321853638, 0.19521723687648773, 0.0061820256523787975, -0.35589849948883057, 1.2316309213638306, -0.19123424589633942, -0.5110405087471008, 0.4521426856517792, 0.7307422757148743, 0.030311379581689835, -0.08353429287672043, -0.34004899859428406, -0.1019745022058487, -0.4861149489879608, -0.1886293739080429, 0.3297171890735626, 0.21247661113739014, -0.14767079055309296, 0.7817487716674805, 0.8593233227729797, 0.42281731963157654, -0.10400528460741043, 0.08676659315824509, 0.807074248790741, -0.4579983353614807, -0.45380744338035583, -1.0295361280441284, 0.2076835334300995, -0.23499931395053864, -0.2914283275604248, 0.9318185448646545, 0.4253925383090973, 0.7180086970329285, -0.008588214404881, 0.9413930177688599, 0.001296177739277482, 0.7957820892333984, -0.7295711040496826, 0.583899199962616, -0.5021864771842957, 0.22471322119235992, -0.43130260705947876, -0.9491405487060547, -0.49584075808525085, 0.503495991230011, -0.6153501868247986, -0.027546755969524384, 0.8342716097831726, 0.3129672408103943, 0.12267682701349258, -0.01955704763531685, 0.33313602209091187, 0.17134414613246918, 0.40022245049476624, 0.2845476269721985, 0.8359119296073914, 0.08309808373451233, 0.4565284848213196, 0.036755405366420746, -0.20376749336719513, -0.2814890742301941, -0.8704863786697388, -1.0293062925338745, -0.4760478436946869, 0.051839422434568405, -0.25414153933525085, 0.0700978934764862, 1.0242232084274292, 0.4836449921131134, -0.6601420044898987, -0.19211088120937347, -0.26719632744789124, 0.2403954416513443, 0.03655162826180458, -0.2140602469444275, 0.2280806601047516, -0.5259571075439453, -0.9684462547302246, 0.49700260162353516, 0.33521825075149536, -0.0573425367474556, -0.43348708748817444, 0.24554868042469025, -0.45875853300094604, 0.06626493483781815, 0.5987391471862793, 0.1475890725851059, -0.817655622959137, -0.3048466444015503, 0.26578277349472046, -0.23060274124145508, 0.03663220629096031, 0.850676417350769, -0.5847281217575073, 0.13565662503242493, 0.5427541732788086, 1.1232664585113525, 0.5416296124458313, 0.07554400712251663, 0.7682585120201111, -0.5168789625167847, -0.26681146025657654, 0.34685251116752625, 0.5613011717796326, 0.4806579053401947, -0.13493436574935913, 0.43164870142936707, 0.3454965353012085, -0.16480806469917297, -0.7373113632202148, 0.5822111964225769, -0.752827525138855, -0.69283527135849, 1.2943782806396484, -0.15525853633880615, -0.1720886379480362, -0.10794766247272491, -0.27965912222862244, 0.042252834886312485, -0.3509707748889923, 0.3727385699748993, 0.9174785614013672, 0.30767345428466797, -0.05442482978105545, -0.4967595934867859, 0.2694164514541626, 0.6328567266464233, -0.6801160573959351, -0.13897618651390076, 0.49729064106941223, 0.19001582264900208, 0.4370672404766083, 0.27353620529174805, -0.03197166323661804, -0.21922063827514648, -0.3163672983646393, -0.03853718191385269, 0.14323000609874725, -0.4639032185077667, -0.4872414171695709, 0.3593602180480957, 0.11284452676773071, 0.2413620501756668 ]
http://arxiv.org/abs/2402.11756v3
http://arxiv.org/pdf/2402.11756v3
MARS: Meaning-Aware Response Scoring for Uncertainty Estimation in Generative LLMs
2024-02-19T01:04:22
2024-06-08T20:40:55
Yavuz Faruk Bakman, Duygu Nur Yaldiz, Baturalp Buyukates, Chenyang Tao, Dimitrios Dimitriadis, Salman Avestimehr
cs.CL
cs.CL, cs.LG
Generative Large Language Models (LLMs) are widely utilized for their excellence in various tasks. However, their tendency to produce inaccurate or misleading outputs poses a potential risk, particularly in high-stakes environments. Therefore, estimating the correctness of generative LLM outputs is an important task for enhanced reliability. Uncertainty Estimation (UE) in generative LLMs is an evolving domain, where SOTA probability-based methods commonly employ length-normalized scoring. In this work, we propose Meaning-Aware Response Scoring (MARS) as an alternative to length-normalized scoring for UE methods. MARS is a novel scoring function that considers the semantic contribution of each token in the generated sequence in the context of the question. We demonstrate that integrating MARS into UE methods results in a universal and significant improvement in UE performance. We conduct experiments using three distinct closed-book question-answering datasets across five popular pre-trained LLMs. Lastly, we validate the efficacy of MARS on a Medical QA dataset. Code can be found https://github.com/Ybakman/LLM_Uncertainity.
[ -0.29887712001800537, -0.8011165857315063, 0.7852612733840942, 0.33281397819519043, -0.32199639081954956, 0.07056418061256409, -0.2785663306713104, -0.17799656093120575, 0.3347418010234833, 0.4382612705230713, -0.5378544330596924, -0.7901061773300171, -0.646848201751709, 0.16007022559642792, 0.021916663274168968, 0.8459296226501465, 0.06579232960939407, 0.1371537446975708, -0.5416402816772461, -0.2579468786716461, -0.33617642521858215, -0.40868520736694336, -0.43121784925460815, -0.005538366734981537, 0.6111795902252197, 0.3613820970058441, 0.7488400340080261, 0.3421732187271118, 0.804655909538269, 0.20341645181179047, -0.11211641132831573, 0.3790172338485718, -0.25108054280281067, 0.3922496736049652, -0.08384883403778076, -0.6918469071388245, -0.589122474193573, -0.18359540402889252, 0.6225990653038025, 0.7895042896270752, -0.3166113793849945, 0.503657877445221, 0.09051168709993362, 0.8769601583480835, -0.8421740531921387, -0.14115646481513977, -0.6563436388969421, 0.16608594357967377, -0.011612934991717339, -0.38456177711486816, -0.5063310265541077, -0.5004658699035645, -0.17904521524906158, -0.7551767826080322, 0.029274439439177513, 0.16058668494224548, 0.5409241318702698, 0.6579968929290771, -0.0501239113509655, -0.41711243987083435, -0.8030056357383728, 0.7223429679870605, -0.7109025716781616, 0.3870374262332916, 0.3961404860019684, 0.3464507758617401, -0.399883896112442, -0.5301806926727295, -0.655209481716156, -0.06696900725364685, 0.160020649433136, 0.5209068655967712, 0.07265719771385193, 0.1347871869802475, 0.08377016335725784, 0.32749617099761963, -0.6828104853630066, 0.12938767671585083, -0.00541381910443306, -0.3317512273788452, 0.6196694374084473, 0.2772119343280792, -0.05863916873931885, -0.32971295714378357, -0.5343425869941711, -0.0308001060038805, -0.7933423519134521, 0.21230073273181915, 0.2774104177951813, 0.331186980009079, -0.01876906491816044, 0.6349998116493225, -0.05637814849615097, 0.7183533906936646, -0.13990285992622375, 0.005090978462249041, 0.1728205382823944, -0.01396965328603983, -0.45757001638412476, -0.4397757947444916, 0.9315627217292786, 0.4760853052139282, 0.18087753653526306, -0.09641879796981812, -0.1554761826992035, -0.11910095810890198, 0.20117232203483582, -0.5638014078140259, -0.09488167613744736, 0.42920175194740295, -0.0004162085533607751, 0.005853757262229919, 0.12300877273082733, -0.9375056624412537, -0.833294153213501, -0.0006242691306397319, 0.3949214220046997, -0.4524136781692505, 0.010250518098473549, 0.27534782886505127, 0.24412718415260315, 0.06890347599983215, 0.39550650119781494, -0.6142338514328003, 0.2580963969230652, 0.29585978388786316, 0.402392715215683, -0.08354128152132034, 0.0343257337808609, -0.8977238535881042, -0.04020434617996216, -0.5011708736419678, 0.851452648639679, -0.5236319303512573, -0.7500306367874146, -0.18169239163398743, -0.3725945055484772, -0.20481617748737335, -0.7370685935020447, 0.6857432723045349, -0.804448127746582, 0.15662619471549988, -0.2957684397697449, -0.7369679808616638, -0.04369403049349785, 0.44228196144104004, -0.385042667388916, 1.3899035453796387, 0.23602381348609924, -0.6126638054847717, 0.338070273399353, -0.7163113951683044, -0.2547558844089508, 0.2535187304019928, -0.35266202688217163, -0.6204813718795776, 0.20010100305080414, 0.4103289246559143, 0.5178361535072327, -0.3565939664840698, 0.11894364655017853, -0.4251791536808014, -0.32279011607170105, 0.7526424527168274, -0.6222460865974426, 0.3431190252304077, 0.17813439667224884, 0.05856999382376671, 0.26158130168914795, -0.7290560007095337, 0.5213034152984619, -0.07624159008264542, -0.4542982280254364, -0.15292952954769135, 0.03177922964096069, -0.09114223718643188, -0.022746922448277473, 0.31057435274124146, -0.5751519203186035, -0.03813426196575165, -0.3841871917247772, -0.11354755610227585, 0.7901888489723206, 0.14267119765281677, 0.27925920486450195, -0.13159997761249542, 0.8069303035736084, -0.29447025060653687, 0.29702258110046387, 0.24384407699108124, -0.5880904197692871, -0.3783781826496124, -0.5824658274650574, 0.48462504148483276, 0.6460995674133301, -0.6885547041893005, 0.5502481460571289, -0.4445078372955322, -0.4131055772304535, -0.4952421188354492, 0.2024083137512207, 0.4062272608280182, 0.38333943486213684, 0.4829094707965851, -0.13879597187042236, -0.510126531124115, -0.34057527780532837, -0.17969846725463867, -0.5208102464675903, -0.5054935812950134, 0.562031626701355, 0.2083936482667923, -0.0772857815027237, 1.0775550603866577, -0.8647608757019043, -0.20445221662521362, -0.21905696392059326, 0.1781553328037262, -0.013105095364153385, 0.17112809419631958, 0.36129438877105713, -0.8930643200874329, -0.3218044638633728, -0.20711390674114227, -0.7206277251243591, -0.023858992382884026, -0.03645055741071701, -0.067540742456913, 0.02232801541686058, 0.2683452069759369, -0.6490668654441833, 0.37929248809814453, 0.6642706394195557, -0.23743747174739838, 0.5387986898422241, -0.39866524934768677, 0.41854724287986755, -1.4202896356582642, -0.08073992282152176, -0.12458015978336334, -0.08426639437675476, -0.31727364659309387, 0.14771880209445953, 0.16321861743927002, 0.3461703956127167, -0.4147053062915802, 0.46813711524009705, -0.22024483978748322, -0.21494920551776886, -0.12762968242168427, 0.33553335070610046, 0.16144049167633057, 0.1497979462146759, -0.20125408470630646, 0.9148548245429993, 0.4323996305465698, -0.7756735682487488, 0.363383412361145, 0.18723872303962708, -0.3671613037586212, 0.5860438346862793, -0.37969866394996643, 0.20415258407592773, -0.09223167598247528, 0.17151163518428802, -1.1232826709747314, -0.39178362488746643, 0.25526565313339233, -0.8575055599212646, 0.15040883421897888, 0.2277151495218277, -0.6024757623672485, -0.5507873296737671, -0.3459691107273102, 0.41536352038383484, 0.4764518439769745, -0.33585554361343384, 0.746300458908081, 0.1034284457564354, -0.2708185017108917, -0.5167112946510315, -0.5534552931785583, -0.024506516754627228, -0.28943249583244324, -0.42029520869255066, 0.019684571772813797, -0.5008891820907593, -0.012314833700656891, -0.09159029275178909, -0.2571493685245514, -0.02381710521876812, 0.4057822525501251, 0.43692269921302795, 0.2557193636894226, -0.29284071922302246, 0.5163247585296631, 0.10644929111003876, -0.04318414628505707, 0.08127457648515701, 0.0503058098256588, 0.5215272307395935, -0.07122062146663666, -0.7423059344291687, -0.16043740510940552, 0.20492936670780182, 0.6423148512840271, -0.3582877218723297, 0.7834126353263855, 0.4976956844329834, -0.5404249429702759, -0.17988553643226624, -0.47154900431632996, -0.11272801458835602, -0.4499638080596924, 0.479082852602005, -0.4028139114379883, -0.9940093755722046, 0.8094338178634644, -0.10103251039981842, -0.29660648107528687, 0.46609216928482056, 0.5165913105010986, -0.5556535720825195, 0.8047107458114624, 0.5431527495384216, 0.12699899077415466, 0.031377825886011124, 0.020391380414366722, 0.27685338258743286, -0.9343924522399902, -0.26676610112190247, -0.430899441242218, -0.008153106085956097, -0.41992583870887756, -0.7682576179504395, 0.664311945438385, 0.18275828659534454, -0.14268265664577484, -0.10123001039028168, -0.2556576728820801, 0.39682483673095703, 0.3275161683559418, 0.03693269193172455, 0.2949778139591217, -0.13731256127357483, -0.10163600742816925, 0.011851193383336067, -0.452105313539505, -0.4949796199798584, 1.2847697734832764, 0.31551384925842285, 0.8377888798713684, 0.27644744515419006, 0.693860650062561, 0.2871078550815582, 0.7085169553756714, -0.8119023442268372, 0.56232750415802, -0.0559677928686142, -0.4959051012992859, -0.5409417748451233, -0.6713293194770813, -0.8467991352081299, 0.07919111847877502, -0.34438854455947876, -0.8322009444236755, -0.190442755818367, 0.07369497418403625, -1.0667414665222168, 0.25078409910202026, -0.42894497513771057, 0.47478845715522766, -0.11140817403793335, 0.01995735988020897, 0.11255497485399246, -0.8215897679328918, -0.03921889513731003, -0.21035557985305786, 0.3198821246623993, -0.3241683542728424, -0.009670132771134377, 0.7577748894691467, -0.08853627741336823, 0.7826799154281616, -0.11463620513677597, -0.17862193286418915, 0.4595930874347687, 0.0839802622795105, 0.43401122093200684, 0.31438887119293213, -0.3140736520290375, -0.05561043694615364, -0.059146229177713394, -0.3975100517272949, -0.8701597452163696, 0.4178972840309143, -0.5428179502487183, -0.6513231992721558, -0.30979251861572266, -0.8407033681869507, -0.7117789387702942, 0.031243689358234406, 0.47653964161872864, 0.10996589809656143, -0.1896602064371109, 0.12815949320793152, 0.8550694584846497, -0.2143593430519104, 0.2083190381526947, 0.7780583500862122, -0.241586834192276, -0.4730795919895172, 0.7186786532402039, -0.06919528543949127, 0.4614045023918152, 0.5771327614784241, 0.13014927506446838, -0.5489585399627686, -0.5770998001098633, -0.7556143999099731, 0.019693966954946518, -0.6706910133361816, -0.4838797152042389, -0.41435882449150085, -0.2804661989212036, -0.27422595024108887, -0.09294764697551727, -0.36889389157295227, -0.1691778153181076, -0.25591158866882324, -0.48634904623031616, 0.5402651429176331, 0.5671496391296387, 0.08551274985074997, 0.3294444978237152, -1.1136983633041382, 0.28602007031440735, 0.15099433064460754, 0.6728373765945435, -0.6367306113243103, -0.7372333407402039, -0.1692308485507965, 0.18919701874256134, -0.16982510685920715, -0.8218613266944885, 0.11709310114383698, 0.20388178527355194, 0.5148218274116516, 0.24575068056583405, 0.29330384731292725, 0.40266484022140503, -0.27655917406082153, 0.8141254782676697, 0.14607204496860504, -0.7186083197593689, 0.5513707995414734, -0.1774541288614273, 0.07420427352190018, 0.5902542471885681, 0.08445458859205246, -0.34311729669570923, -0.44547611474990845, -0.4130977988243103, -0.7456938028335571, 0.2313719093799591, 0.2536531090736389, 0.2812313437461853, -0.16137324273586273, 0.494075745344162, 0.05332905799150467, 0.19883708655834198, -0.5441272258758545, -0.3660376965999603, 0.28312286734580994, -0.6609688401222229, -0.1100059524178505, -0.35654839873313904, -0.20504333078861237, 0.11242848634719849, 0.5360128879547119, -0.32191169261932373, 0.2393660992383957, 0.24396179616451263, -0.05575884133577347, -0.3315473198890686, 0.5619661211967468, 0.49325817823410034, 0.38956570625305176, -0.43722596764564514, 0.101821169257164, 0.3287411332130432, -0.5801762938499451, 0.19793787598609924, 0.25926274061203003, -0.0698183998465538, -0.25542938709259033, 0.233629047870636, 0.47150108218193054, -0.06188138946890831, -1.041640281677246, 0.5651575922966003, -0.11447372287511826, -0.13376595079898834, -0.14237381517887115, -0.12246682494878769, 0.15531906485557556, 0.13377468287944794, 0.24346306920051575, 0.2093244343996048, 0.2101382613182068, 0.011294027790427208, 0.17842084169387817, 0.3843936324119568, -0.6150364279747009, -0.09491809457540512, 0.590890109539032, 0.04404698684811592, -0.08730949461460114, 0.352407306432724, -0.4608055651187897, -0.3721045255661011, 0.6258381009101868, 0.4744957983493805, 0.8456522822380066, -0.5495333075523376, 0.47100043296813965, 0.2426627278327942, 0.33457207679748535, 0.16361497342586517, 0.6115926504135132, 0.077035091817379, -0.9974375367164612, -0.5353273749351501, -0.9184058308601379, -0.5590178370475769, -0.07691007107496262, -0.8733495473861694, -0.2863752841949463, -0.39173269271850586, -0.3087174594402313, -0.4737013876438141, -0.2885248064994812, -0.4221118688583374, 0.7615400552749634, 0.19689945876598358, 0.8178190588951111, -0.9281838536262512, 0.37650781869888306, 0.9942080974578857, -0.3282776474952698, -1.0371943712234497, 0.350462943315506, -0.22310872375965118, -0.6994577646255493, 0.35526174306869507, 0.01900152675807476, -0.5090904235839844, -0.12381765991449356, -0.2556964159011841, -0.9973685145378113, 1.0018898248672485, 0.5039726495742798, -0.14306017756462097, 0.43611428141593933, 0.529325008392334, 0.6321122050285339, -0.1628817468881607, 0.06993649154901505, 0.3484848737716675, 0.24397972226142883, 0.19867785274982452, -0.49820682406425476, 0.03991632163524628, -0.1648230254650116, 0.0651647225022316, 0.3298299312591553, -0.30837738513946533, 0.3374188244342804, -0.58470618724823, -0.25723257660865784, 0.4964756965637207, 0.9392469525337219, 0.49935534596443176, 0.6163961291313171, 0.5098719596862793, 0.6136240363121033, 1.1597646474838257, -0.16753335297107697, 1.0293080806732178, -0.12015248835086823, 0.4838345944881439, 1.158432126045227, -0.2843126952648163, 1.1315193176269531, 0.5036324858665466, -0.5400054454803467, 0.4215746819972992, 0.8918725848197937, 0.3254552483558655, 0.2781674563884735, 0.4537043571472168, -0.5443251729011536, -0.45303860306739807, -0.02001660317182541, -0.2916848659515381, 0.3266404867172241, 0.6948609948158264, -0.2768169939517975, 0.11587322503328323, -0.027509598061442375, -0.11350391060113907, 0.49952858686447144, -0.1859043836593628, 0.6218344569206238, 0.08883833885192871, -0.6388256549835205, 0.4236985445022583, -0.13757655024528503, 0.3008977770805359, -0.5121007561683655, 0.15544115006923676, -0.28538233041763306, 0.12753379344940186, -0.1941796839237213, -0.9885886907577515, 0.1361730694770813, 0.08461376279592514, -0.3236183822154999, 0.3085090219974518, 0.21664702892303467, -0.2759420871734619, -0.7396210432052612, 0.3072623610496521, 0.6305997371673584, 0.09489401429891586, -0.19569960236549377, -0.5010755658149719, -0.11278292536735535, -0.15201549232006073, -0.380982369184494, 0.21195943653583527, 0.4421969950199127, 0.08247505128383636, 0.8821740746498108, 0.4320552349090576, -0.09603568911552429, 0.09406673908233643, 0.2802221179008484, 0.6751385927200317, -0.4199676513671875, -0.17647242546081543, -0.7125387787818909, 0.5868945121765137, 0.12471967190504074, -0.40586021542549133, 0.6223292946815491, 0.5710818767547607, 0.4974137246608734, -0.14289964735507965, 0.7830842137336731, 0.02294994331896305, 0.6363961696624756, -0.6611390709877014, 0.4984527826309204, -0.5693641901016235, 0.552423894405365, -0.13692183792591095, -0.9118155837059021, -0.7965629696846008, 0.29546114802360535, -0.45007678866386414, 0.16939736902713776, 0.6299017667770386, 0.9313414096832275, 0.30194762349128723, 0.0072220428846776485, 0.5095328688621521, 0.12901070713996887, 0.14783412218093872, 0.4919692277908325, 0.8243793249130249, -0.37434813380241394, 0.46970561146736145, -0.05217273160815239, -0.33216217160224915, -0.12897615134716034, -0.7707619667053223, -0.43136245012283325, -0.36555343866348267, -0.3117177188396454, -0.4223695695400238, -0.027902929112315178, 0.9206974506378174, 0.30698901414871216, -0.9260518550872803, 0.0815785825252533, -0.03973976522684097, 0.07489649951457977, -0.2926052212715149, -0.22406844794750214, 0.6513407826423645, -0.2694873511791229, -0.4316280782222748, 0.35652026534080505, 0.439778596162796, -0.05788218602538109, 0.20230203866958618, -0.25070545077323914, 0.0972275659441948, 0.4420711398124695, 0.3931701183319092, 0.18383502960205078, -0.7927665710449219, -0.5532066226005554, 0.2917621433734894, -0.33641135692596436, 0.07412120699882507, 0.2589188516139984, -0.513826847076416, 0.5408039689064026, 0.12734541296958923, 0.8079449534416199, 0.01963583193719387, 0.15812812745571136, 0.4065471887588501, -0.9050844311714172, -0.3933025002479553, 0.4334832727909088, 0.40018028020858765, 0.6913892030715942, -0.5294787287712097, 0.443099707365036, 0.16422155499458313, -0.42162421345710754, -0.6535983681678772, 0.4978274405002594, -1.1135411262512207, 0.025979962199926376, 1.2339473962783813, -0.5141302943229675, 0.05853143706917763, 0.1489538699388504, -0.16565394401550293, 0.2183358371257782, -0.006407351698726416, 0.8835750222206116, 0.4699755609035492, -0.10024930536746979, 0.11499031633138657, -0.29007571935653687, 0.2741800844669342, 0.7472312450408936, -0.988894522190094, 0.017323056235909462, 0.35105979442596436, 0.3324648141860962, 0.32619571685791016, 0.6489103436470032, -0.1332138478755951, 0.4231805205345154, -0.27790164947509766, 0.28731653094291687, 0.2912863492965698, -0.20035575330257416, -0.06484213471412659, 0.333322137594223, 0.40377965569496155, -0.5146085619926453 ]
http://arxiv.org/abs/2402.11755v1
http://arxiv.org/pdf/2402.11755v1
SPML: A DSL for Defending Language Models Against Prompt Attacks
2024-02-19T00:53:48
2024-02-19T00:53:48
Reshabh K Sharma, Vinayak Gupta, Dan Grossman
cs.LG
cs.LG, cs.CL, cs.CR, cs.PL
Large language models (LLMs) have profoundly transformed natural language applications, with a growing reliance on instruction-based definitions for designing chatbots. However, post-deployment the chatbot definitions are fixed and are vulnerable to attacks by malicious users, emphasizing the need to prevent unethical applications and financial losses. Existing studies explore user prompts' impact on LLM-based chatbots, yet practical methods to contain attacks on application-specific chatbots remain unexplored. This paper presents System Prompt Meta Language (SPML), a domain-specific language for refining prompts and monitoring the inputs to the LLM-based chatbots. SPML actively checks attack prompts, ensuring user inputs align with chatbot definitions to prevent malicious execution on the LLM backbone, optimizing costs. It also streamlines chatbot definition crafting with programming language capabilities, overcoming natural language design challenges. Additionally, we introduce a groundbreaking benchmark with 1.8k system prompts and 20k user inputs, offering the inaugural language and benchmark for chatbot definition evaluation. Experiments across datasets demonstrate SPML's proficiency in understanding attacker prompts, surpassing models like GPT-4, GPT-3.5, and LLAMA. Our data and codes are publicly available at: https://prompt-compiler.github.io/SPML/.
[ -0.2964532673358917, -1.0799617767333984, 0.35017645359039307, 0.33723798394203186, 0.025952022522687912, 0.19332851469516754, -0.09880515187978745, -0.056546423584222794, -0.38663792610168457, 0.8176890015602112, -0.7172578573226929, -0.5509859323501587, -0.6092221140861511, 0.44601231813430786, -0.3421410620212555, 1.110768437385559, 0.254588782787323, -0.12577767670154572, -0.43907034397125244, 0.020999638363718987, -0.7640100121498108, -0.8245514035224915, -0.7929092645645142, 0.3290809988975525, 0.5496278405189514, 0.15533983707427979, 0.6139512658119202, 0.19714270532131195, 0.5092462301254272, 0.2714892625808716, -0.1965862214565277, 0.04477148503065109, -0.30751898884773254, 0.6856489777565002, -0.040708377957344055, -0.2672880291938782, -0.4972260594367981, -0.20485536754131317, 0.3977115750312805, 0.2113356590270996, -0.10605503618717194, 0.1254338026046753, 0.023982463404536247, 0.27649447321891785, -0.5750991106033325, 0.10946255922317505, -0.6645877361297607, 0.08089432865381241, -0.291409432888031, -0.4141985774040222, -0.9415557980537415, -0.2795855700969696, 0.06313630938529968, -0.25676947832107544, 0.025915678590536118, 0.012405911460518837, 0.7095472812652588, 0.4088289141654968, -0.2833264172077179, -0.45264238119125366, -0.1627008318901062, 0.6044331789016724, -0.5837368965148926, 0.14517711102962494, 0.21816754341125488, 0.7786057591438293, -0.598598837852478, -0.6025856733322144, -0.58048015832901, -0.5047910809516907, -0.18584369122982025, -0.20909300446510315, -0.5095616579055786, 0.2327023148536682, 0.46645691990852356, -0.1702321320772171, -0.6951168179512024, -0.09664618223905563, -0.19942669570446014, -0.3009965717792511, 0.5871119499206543, 0.48934054374694824, 0.7071470618247986, -0.1081194058060646, -0.8696486949920654, 0.05550204962491989, -1.0750999450683594, 0.05732700601220131, 0.36552104353904724, 0.6961730122566223, -0.15877778828144073, 0.24097026884555817, -0.008151721209287643, 0.700527548789978, -0.03820229321718216, -0.12186599522829056, -0.15077416598796844, -0.05073105916380882, -0.18855048716068268, -0.053603049367666245, 0.8651013374328613, 0.4771227538585663, 0.13131357729434967, 0.12029419094324112, -0.47846075892448425, 0.09013528376817703, 0.2588677704334259, -0.6543075442314148, 0.03442760184407234, 0.2904694974422455, -0.10541457682847977, -0.48916372656822205, -0.21958591043949127, -0.6392406821250916, -0.9511141777038574, 0.10651358217000961, 0.34992411732673645, -0.44115033745765686, -0.034526173025369644, 0.06111440062522888, -0.07173513621091843, 0.289995402097702, 0.501315712928772, -0.5198113322257996, 0.3764731287956238, 0.9574742913246155, 0.5624875426292419, -0.2996150553226471, -0.2587977945804596, -0.75928795337677, -0.05682166665792465, -0.21485698223114014, 0.8078277707099915, -0.4898982644081116, -0.6743224263191223, -0.05413982644677162, 0.0587988942861557, -0.019783111289143562, -0.45038536190986633, 0.6083608865737915, -0.6753174066543579, 0.3426457941532135, 0.0749693214893341, -0.6248474717140198, 0.17417892813682556, 0.3261866569519043, -0.3922405540943146, 1.006646752357483, -0.2581682801246643, -0.5680050253868103, 0.14065156877040863, -0.6028395891189575, -0.5232136249542236, 0.3475959002971649, -0.34594494104385376, -0.19343449175357819, -0.09341441839933395, -0.04183966666460037, 0.5356147885322571, -0.34127604961395264, 0.43783918023109436, -0.0731889009475708, -0.10720890015363693, 0.4480808675289154, -0.6616979241371155, 0.970593273639679, 0.3764418661594391, -0.1071569174528122, 0.42992982268333435, -0.6742285490036011, -0.15829890966415405, 0.3404383361339569, -0.15758070349693298, 0.08586344867944717, 0.02979380078613758, -0.19119910895824432, 0.06107936426997185, 0.45805084705352783, -0.3940247595310211, 0.13171492516994476, -0.20542052388191223, 0.26183971762657166, 0.8733174800872803, -0.0062614865601062775, 0.1501891016960144, -0.026831185445189476, 0.7267537713050842, -0.09016510844230652, 0.4473758637905121, -0.8516761064529419, -0.5405043363571167, -0.4160991311073303, -0.41865044832229614, -0.17535504698753357, 0.6590734124183655, -0.6544857621192932, 0.46188831329345703, 0.11748530715703964, -0.5928587913513184, -0.2226942628622055, -0.2968710660934448, 0.3377797603607178, 0.634762167930603, 0.26161524653434753, 0.10780081152915955, -0.40381789207458496, -0.7608508467674255, -0.43601715564727783, -0.18542438745498657, -0.15809576213359833, 0.4672366678714752, 0.02101784758269787, -0.2598525583744049, 1.120866298675537, -0.5659958720207214, 0.1800052672624588, -0.46161511540412903, -0.22717954218387604, 0.3068792521953583, 0.29456281661987305, 0.5091727375984192, -0.4783989489078522, -0.8508495092391968, -0.3531807065010071, -0.5974363684654236, -0.6874573826789856, -0.25985708832740784, 0.12548422813415527, 0.24782782793045044, 0.4790269434452057, -0.8805423378944397, 0.6195467710494995, 0.3247712552547455, -0.9079010486602783, 0.6663556098937988, -0.10411781817674637, -0.030890483409166336, -0.7543931007385254, 0.14725300669670105, -0.11307995021343231, -0.3820611834526062, -1.199436068534851, 0.4160413146018982, 0.24847327172756195, -0.7012700438499451, -0.6499559283256531, 0.9123878479003906, -0.06617478281259537, 0.19570216536521912, -0.35686421394348145, 0.11117756366729736, -0.00243947422131896, 0.23138876259326935, -0.10805913060903549, 1.0146957635879517, 0.7301211953163147, -0.6089379787445068, 0.4292795956134796, 0.160264253616333, 0.16781803965568542, 0.814411997795105, -1.0040208101272583, 0.3271850049495697, 0.06945193558931351, 0.46474000811576843, -1.0450332164764404, 0.09580068290233612, 0.42943522334098816, -0.6543976068496704, 0.29520466923713684, -0.05937851965427399, -0.36851608753204346, -0.0786384642124176, -0.10620106756687164, -0.1931784600019455, 0.22457268834114075, -0.4459536373615265, 0.6567637324333191, 0.3693940043449402, -0.2954808473587036, -0.7137717604637146, -0.2299366146326065, 0.6042091250419617, -0.34990832209587097, -0.7477723956108093, -0.19722740352153778, -0.31554728746414185, -0.24842263758182526, -0.6688811779022217, -0.03453346714377403, 0.04614008963108063, 0.6993820667266846, 0.3098341226577759, 0.5991037487983704, -0.08509086072444916, -0.01833295449614525, -0.3971635103225708, -0.48666009306907654, 0.1650744080543518, 0.04990266263484955, 0.8206552267074585, -0.04043516889214516, -0.44384121894836426, -0.7718960642814636, 0.4078137278556824, 0.5701176524162292, -0.14133509993553162, 0.605109453201294, 0.15557017922401428, -0.1647840440273285, -0.294893741607666, -0.2906216084957123, -0.3333494961261749, -0.5630437135696411, 0.3975009322166443, -0.5341975092887878, -0.7286604642868042, 0.308580607175827, 0.2420005053281784, 0.27275601029396057, 0.26642468571662903, 0.3913205862045288, 0.07580263912677765, 0.9532681703567505, 0.4834596812725067, -0.09028088301420212, 0.3614966869354248, 0.5753798484802246, 0.17705655097961426, -0.13524362444877625, 0.07180557399988174, -0.6200482845306396, 0.1685527265071869, -0.211441770195961, -0.2962322533130646, 0.22988855838775635, -0.2138921171426773, -0.2890240550041199, 0.554821252822876, -0.3945600986480713, 0.5675815343856812, 0.412575900554657, -0.25564607977867126, 0.0963546484708786, -0.3128391206264496, 0.019614670425653458, 0.12780453264713287, -0.36869892477989197, -0.9745973348617554, 0.9179448485374451, 0.6828582882881165, 0.7659453749656677, 0.1488010287284851, 0.5184224247932434, 0.7034907937049866, -0.01852766051888466, -0.4796582758426666, 0.8821688294410706, 0.16364926099777222, -0.6843673586845398, -0.2660786509513855, -0.3729429244995117, -0.8145152926445007, 0.04135165736079216, 0.15198387205600739, -0.6034239530563354, -0.26649871468544006, 0.16046229004859924, -0.533588707447052, 0.10364105552434921, -0.7537542581558228, 0.9156550168991089, -0.32409051060676575, -0.03502574935555458, -0.030163394287228584, -0.7376582622528076, -0.060625795274972916, -0.050753749907016754, -0.03469601646065712, -0.2736108899116516, -0.1140710636973381, 0.2874479293823242, -0.491117924451828, 1.1355253458023071, -0.5016759634017944, -0.5213725566864014, 0.3414878845214844, 0.28637465834617615, 0.7300896644592285, 0.14752449095249176, 0.1818574070930481, 0.11291822791099548, 0.07482868432998657, -0.40550553798675537, -0.5455583333969116, 0.2862062156200409, -0.4230061173439026, -0.9808511734008789, -0.32164570689201355, -0.2102562040090561, -0.08659982681274414, 0.16175581514835358, -0.07371314615011215, 0.4122850000858307, -0.28358691930770874, -0.10870465636253357, 0.7373312711715698, -0.88718181848526, 0.30223146080970764, 0.7548099160194397, -0.2969799041748047, -0.20847201347351074, 0.8135930299758911, -0.3964131474494934, 0.5217080116271973, 0.20487681031227112, 0.19742709398269653, -0.0019170365994796157, -0.38446053862571716, -0.6726948022842407, -0.2085612565279007, -0.7367165684700012, -0.5210802555084229, -0.6586121916770935, -0.28797176480293274, -0.4883229732513428, -0.11922587454319, -0.22080345451831818, -0.32120978832244873, -0.10433278977870941, 0.14746811985969543, 0.4051285684108734, 0.6351039409637451, 0.46738603711128235, 0.40471503138542175, -0.7924299240112305, 0.0024995675776153803, 0.2693445682525635, 0.12136413902044296, -0.14322014153003693, -0.47779005765914917, 0.08156319707632065, -0.3017139434814453, -0.21190793812274933, -0.9480767250061035, 0.3843644857406616, 0.055125925689935684, 0.6587385535240173, 0.4226139783859253, 0.2907433807849884, 0.23275868594646454, -0.6938580274581909, 1.0196772813796997, 0.17291682958602905, -0.8867796063423157, 0.6997390985488892, -0.37141528725624084, 0.2897808849811554, 0.31478771567344666, 0.002427800092846155, -1.0722788572311401, -0.48229819536209106, -0.5936883091926575, -0.5496939420700073, 0.7594921588897705, -0.09807990491390228, 0.43394118547439575, -0.36539143323898315, 0.07378600537776947, 0.2401748150587082, 0.2355550080537796, -0.43283191323280334, -0.5025222897529602, 0.03958604484796524, -0.2469533085823059, 0.16194763779640198, -0.3786467909812927, -0.21303124725818634, 0.3334263861179352, 0.45541271567344666, -0.1419713944196701, 0.10738631337881088, -0.12873134016990662, -0.2358592301607132, 0.26190000772476196, 0.31893911957740784, 0.7668743133544922, 0.23728865385055542, 0.2221883088350296, 0.2903611660003662, 0.4053610563278198, -0.4752345085144043, 0.16432999074459076, 0.01384026650339365, -0.2381894886493683, -0.03194383159279823, 0.34208422899246216, 0.665290892124176, 0.05549338832497597, -1.0364757776260376, 0.8506494760513306, -0.38884231448173523, 0.380126953125, -0.15669207274913788, 0.23886261880397797, -0.06361894309520721, 0.14366737008094788, 0.3867555558681488, 0.07510820776224136, -0.09497161209583282, -0.20024219155311584, 0.3521184027194977, 0.3835591971874237, -0.5411521792411804, -0.44833052158355713, 0.26506298780441284, 0.5019388794898987, -0.5700200796127319, 0.20098522305488586, -0.22989311814308167, -0.6743531823158264, 0.549170970916748, 0.7697885632514954, 0.9068263173103333, -0.5066401362419128, 0.02475530095398426, 0.13239207863807678, 0.21726197004318237, 0.40078678727149963, 0.23147369921207428, -0.14247260987758636, -0.6014285683631897, 0.10951065272092819, -0.3504997789859772, -0.4891515076160431, -0.17467011511325836, -0.1413165032863617, 0.6963418126106262, -0.9388176798820496, -0.1515875905752182, -0.32176634669303894, -0.29407036304473877, -0.4015113115310669, -0.0945681631565094, 0.42221519351005554, 1.1873011589050293, -0.52206951379776, 0.4576537609100342, 0.5129566788673401, -0.12742994725704193, -0.29977673292160034, -0.16543249785900116, 0.4686618149280548, -0.8262258768081665, 0.7772035002708435, 0.1561133712530136, -0.1257602572441101, -0.38040778040885925, -0.6901814937591553, -0.594679594039917, 0.6368597149848938, 0.28743207454681396, -0.4725748300552368, 0.15556374192237854, 0.377230703830719, 0.29739683866500854, -0.24470746517181396, 0.3759511113166809, 0.5577919483184814, 0.3352300524711609, -0.08823990076780319, -0.8733737468719482, 0.22497226297855377, -0.1346697360277176, -0.2686609625816345, 0.13497890532016754, -0.44949838519096375, 0.7715728282928467, 0.05536177381873131, -0.7220897674560547, 0.16035780310630798, 0.5049329400062561, 0.6013056039810181, 0.3690818250179291, 0.4855114817619324, 0.24024462699890137, 0.8427801728248596, -0.09696429967880249, 0.7218229174613953, -0.5815863609313965, 0.08896076679229736, 1.0637598037719727, -0.5023670196533203, 0.6993391513824463, 0.3782278597354889, -0.342698335647583, 0.11149345338344574, 0.5167121291160583, 0.060807015746831894, 0.16243858635425568, 0.37694352865219116, -0.5468394756317139, -0.015293416567146778, -0.11795064806938171, -0.3126729726791382, 0.21998131275177002, 0.544426679611206, -0.16080959141254425, -0.2479376494884491, 0.024593109264969826, 0.3647301197052002, 0.09596408158540726, -0.04320172592997551, 0.9725788235664368, -0.010861851274967194, -0.38455793261528015, 0.5456311702728271, -0.15662948787212372, 0.7883415222167969, -0.7384876012802124, 0.32291772961616516, -0.4008573591709137, -0.038114115595817566, 0.034946855157613754, -0.7506486773490906, 0.21487592160701752, 0.4192487597465515, 0.08049331605434418, -0.22525493800640106, 0.9113124012947083, -0.11321406811475754, -0.0975484699010849, 0.060260213911533356, 0.30871912837028503, 0.079419806599617, -0.07405164837837219, -0.8246179819107056, 0.23199273645877838, -0.002755713416263461, -0.20588067173957825, 0.09187659621238708, 0.5246337652206421, -0.07634060084819794, 0.9499748349189758, 0.37739381194114685, 0.03372633829712868, -0.01693357340991497, 0.035807833075523376, 0.8997708559036255, -0.718658983707428, -0.5761355757713318, -1.1605910062789917, 0.5140482783317566, -0.2349604368209839, -0.17270201444625854, 0.9144834280014038, 0.3651871979236603, 0.3894210457801819, 0.0032881174702197313, 0.8452089428901672, 0.03315693885087967, 0.6771222352981567, -0.25507888197898865, 0.8678731918334961, -0.04861355945467949, 0.5727938413619995, -0.24902011454105377, -0.39711618423461914, -0.4606363773345947, 0.1597348153591156, -0.2781909108161926, -0.1645989865064621, 0.28669679164886475, 1.0208649635314941, 0.31601768732070923, 0.10758433490991592, 0.4665329158306122, -0.04154711216688156, 0.7910818457603455, 0.2665626108646393, 1.287898063659668, -0.09618566185235977, 0.5076279044151306, 0.33642831444740295, -0.32623961567878723, -0.2398473024368286, -0.8708925843238831, -1.0612478256225586, -0.31239527463912964, -0.12564660608768463, -0.3602387309074402, 0.21929298341274261, 1.0653152465820312, 0.40390002727508545, -0.9151556491851807, -0.20026835799217224, 0.16976860165596008, 0.11677160859107971, 0.18294690549373627, -0.24590836465358734, 0.18389958143234253, -0.7749698162078857, -0.3683053255081177, 0.6417616009712219, 0.5048852562904358, 0.03695635870099068, -0.4388669729232788, -0.1469513475894928, 0.055392369627952576, 0.43537652492523193, 0.5188570618629456, 0.28530973196029663, -0.7470133304595947, -0.3886887729167938, 0.0851069837808609, -0.44988271594047546, -0.017840508371591568, 0.6731715798377991, -0.6534149050712585, 0.4318758547306061, 0.563143789768219, 0.8676499128341675, -0.6088548302650452, -0.1199934184551239, 0.9242958426475525, -0.9503753185272217, 0.025773046538233757, 0.14542153477668762, 0.3639391362667084, 0.42994415760040283, -0.5342316031455994, 0.23584012687206268, 0.1504257172346115, -0.45021259784698486, -0.9886949062347412, 0.44516706466674805, -0.496783971786499, -0.43544599413871765, 1.0636729001998901, -0.3360728919506073, -0.3564937114715576, -0.19906465709209442, -0.5705696940422058, -0.013695983216166496, -0.7093062400817871, 0.6483190655708313, 0.5421253442764282, 0.2901461720466614, -0.041105031967163086, -0.49819251894950867, 0.8163915276527405, 0.2939237356185913, -0.7725879549980164, 0.6392940878868103, 0.4184251129627228, 0.06781226396560669, 0.09831984341144562, 0.4027959108352661, -0.06461619585752487, 0.39005348086357117, -0.15164586901664734, 0.14481522142887115, -0.05579914525151253, -0.4209160804748535, -0.6733850240707397, 0.15283203125, -0.013102664612233639, -0.019319113343954086 ]
http://arxiv.org/abs/2402.11753v4
http://arxiv.org/pdf/2402.11753v4
ArtPrompt: ASCII Art-based Jailbreak Attacks against Aligned LLMs
2024-02-19T00:43:31
2024-06-07T17:35:17
Fengqing Jiang, Zhangchen Xu, Luyao Niu, Zhen Xiang, Bhaskar Ramasubramanian, Bo Li, Radha Poovendran
cs.CL
cs.CL, cs.AI
Safety is critical to the usage of large language models (LLMs). Multiple techniques such as data filtering and supervised fine-tuning have been developed to strengthen LLM safety. However, currently known techniques presume that corpora used for safety alignment of LLMs are solely interpreted by semantics. This assumption, however, does not hold in real-world applications, which leads to severe vulnerabilities in LLMs. For example, users of forums often use ASCII art, a form of text-based art, to convey image information. In this paper, we propose a novel ASCII art-based jailbreak attack and introduce a comprehensive benchmark Vision-in-Text Challenge (ViTC) to evaluate the capabilities of LLMs in recognizing prompts that cannot be solely interpreted by semantics. We show that five SOTA LLMs (GPT-3.5, GPT-4, Gemini, Claude, and Llama2) struggle to recognize prompts provided in the form of ASCII art. Based on this observation, we develop the jailbreak attack ArtPrompt, which leverages the poor performance of LLMs in recognizing ASCII art to bypass safety measures and elicit undesired behaviors from LLMs. ArtPrompt only requires black-box access to the victim LLMs, making it a practical attack. We evaluate ArtPrompt on five SOTA LLMs, and show that ArtPrompt can effectively and efficiently induce undesired behaviors from all five LLMs. Our code is available at https://github.com/uw-nsl/ArtPrompt.
[ -0.2219552993774414, -0.9156193137168884, 0.685823380947113, 0.0352136455476284, -0.5736231207847595, 0.2766075134277344, -0.09976829588413239, -0.7538097500801086, 0.2499045580625534, 0.8802638053894043, -0.7316374778747559, -0.7754464149475098, -0.7646734118461609, 0.1451767534017563, -0.3864412307739258, 0.6216787099838257, -0.3186362385749817, -0.26074928045272827, 0.11715946346521378, -0.23355622589588165, -0.8109651803970337, -0.3360413908958435, -0.5151157379150391, 0.3019743263721466, 0.3027482032775879, 0.4760679006576538, 0.6968973875045776, 0.37342676520347595, 0.8106912970542908, 0.2524155080318451, 0.21693871915340424, 0.0047776345163583755, -0.14043620228767395, 0.3084406852722168, 0.15296468138694763, -0.2067786157131195, -0.28504031896591187, -0.06987568736076355, 0.17820870876312256, 0.013506574556231499, 0.08950973302125931, -0.03656857833266258, -0.144105926156044, 0.7153190970420837, -0.8158345818519592, -0.2190786898136139, -0.6831502914428711, -0.0033073967788368464, -0.6498444080352783, -0.014943424612283707, -0.45445987582206726, -0.3857327997684479, -0.4657557010650635, -0.3845099210739136, -0.24313141405582428, 0.21079590916633606, 0.9059618711471558, 0.3488316833972931, -0.08813442289829254, -0.5215919017791748, -0.030583610758185387, 0.26100146770477295, -0.5129793882369995, 0.0771980807185173, 0.10971219092607498, 0.3296474516391754, -0.3038015365600586, -0.5469216704368591, -0.63828045129776, -0.2542983293533325, 0.2072264403104782, 0.033798784017562866, -0.3729567229747772, 0.03747715428471565, 0.5178325772285461, -0.024540651589632034, -0.5939173102378845, 0.35309141874313354, -0.3192739486694336, -0.2958730161190033, 0.4001029133796692, 0.21861498057842255, 0.680488646030426, -0.12845195829868317, -0.7524317502975464, 0.07490650564432144, -1.1618216037750244, 0.2452714741230011, 0.6661555171012878, -0.026903918012976646, -0.07406584918498993, 0.5851578712463379, 0.18604998290538788, 0.722343921661377, -0.052197664976119995, 0.11199373006820679, 0.0035878492053598166, -0.08110392093658447, -0.023328058421611786, 0.15119880437850952, 1.3820496797561646, 0.6200425624847412, 0.3508465886116028, -0.1321863979101181, -0.23914262652397156, 0.1972687989473343, 0.3336929380893707, -0.8138765692710876, -0.2172824889421463, 0.05818770080804825, -0.0912945494055748, -0.4223339259624481, 0.16347143054008484, -0.7011600732803345, -0.6961590051651001, 0.4052030146121979, 0.47201380133628845, -0.7546746730804443, 0.10970558226108551, 0.11781121045351028, 0.016303775832057, 0.20683330297470093, 0.2267104834318161, -0.7548611760139465, 0.13833263516426086, 0.5120872855186462, 0.8728302717208862, -0.20505230128765106, -0.09648803621530533, -0.6057738065719604, 0.2204119861125946, -0.3195001184940338, 0.9369086623191833, -0.5127868056297302, -0.4588964283466339, -0.17233172059059143, -0.05010870099067688, -0.0033406857401132584, -0.568540632724762, 0.5624793767929077, -0.6473379135131836, -0.4994667172431946, -0.17018800973892212, -0.38567033410072327, 0.08797384798526764, 0.1398317813873291, -0.8712294101715088, 0.4012540280818939, -0.3161355257034302, -0.8608165383338928, 0.18183331191539764, -0.6561742424964905, -0.5028292536735535, 0.07519293576478958, -0.38021165132522583, -0.5699234008789062, 0.05198221653699875, 0.18877753615379333, 0.19900333881378174, -0.07390490174293518, 0.056153442710638046, -0.3378099501132965, -0.5323262214660645, 0.4298659861087799, -0.1832478791475296, 0.8927525281906128, 0.38491499423980713, -0.44526880979537964, 0.11720006167888641, -0.5236679911613464, -0.18846946954727173, 0.24539391696453094, 0.00446031428873539, -0.5201823711395264, -0.05816749110817909, -0.06731852889060974, -0.1429140865802765, 0.4298032522201538, -0.8550075888633728, 0.48981085419654846, -0.3353094160556793, 0.6409206390380859, 0.81135094165802, -0.06440483778715134, 0.04960467293858528, 0.23007458448410034, 0.4473601281642914, -0.14852416515350342, 0.3627679646015167, 0.04747221618890762, -0.544782817363739, -0.4185744822025299, -0.5133888721466064, 0.04211054742336273, 0.6942284107208252, -1.0944141149520874, 0.1359379142522812, 0.06928360462188721, -0.3014799952507019, -0.5491402745246887, 0.19068197906017303, 0.6472627520561218, 0.35011419653892517, 0.25659170746803284, -0.5164636373519897, -0.32768514752388, -0.7022948861122131, -0.7148197293281555, -0.09545305371284485, 0.18617235124111176, 0.004874346312135458, 0.38353431224823, -0.3964191675186157, 0.549987256526947, -0.42089253664016724, -0.41811615228652954, -0.1610509157180786, 0.074808269739151, 0.32921114563941956, 0.4588063955307007, 0.626213550567627, -0.3887340724468231, -0.3850727081298828, -0.3285263776779175, -0.7803037762641907, -0.5015110969543457, 0.048594921827316284, 0.05790279060602188, 0.3082207441329956, 0.879883348941803, -0.6599499583244324, 0.6751285791397095, 0.4573601186275482, -0.8787713050842285, 0.6909706592559814, -0.013266006484627724, 0.27945777773857117, -0.6504297852516174, -0.06862745434045792, -0.07760366052389145, -0.16797538101673126, -0.4780063033103943, 0.5216808915138245, 0.3001924753189087, -0.19926558434963226, -0.4821307957172394, 0.29953280091285706, -0.4455409348011017, 0.08976583927869797, -0.3640176057815552, 0.01207346748560667, -0.06318724155426025, 0.1813993901014328, 0.0769345760345459, 0.7553243041038513, 0.5973175764083862, 0.00865787360817194, 0.4087624251842499, 0.1940748393535614, -0.4655265212059021, 0.7264918088912964, -0.4432603418827057, 0.4207817018032074, 0.015893656760454178, -0.13407683372497559, -0.954997181892395, 0.14491619169712067, 0.5039449334144592, -0.4248311519622803, 0.432863712310791, -0.022549208253622055, -0.5510919690132141, -0.1740822046995163, -0.4619724750518799, 0.25810492038726807, 0.28425145149230957, -0.5358603000640869, 0.43537473678588867, 0.07024729996919632, -0.08652060478925705, -0.7253057956695557, -0.6013151407241821, 0.5447434782981873, -0.4503169357776642, -0.6071136593818665, 0.08101163059473038, -0.0471721775829792, -0.2884005010128021, -0.008938570506870747, -0.07637353241443634, 0.12170282006263733, 0.32087233662605286, 0.6022654175758362, 0.4881870150566101, 0.01952587068080902, -0.5226114988327026, -0.11570339649915695, -0.3171476125717163, 0.23131562769412994, -0.1546478420495987, 0.3430614471435547, -0.21737158298492432, -0.7215859889984131, -0.5909364819526672, 0.40106484293937683, 0.7157140374183655, -0.09389730542898178, 0.4295293390750885, 0.362585186958313, -0.0850532054901123, 0.1261143535375595, -0.5223620533943176, -0.09333440661430359, -0.5229331254959106, 0.13201718032360077, -0.43478187918663025, -0.9617984890937805, 0.47499632835388184, -0.0014644599286839366, 0.11281698942184448, 0.08853936195373535, 0.27852436900138855, -0.3907376229763031, 0.7317516207695007, 0.48171883821487427, -0.24403102695941925, 0.46492838859558105, -0.13183172047138214, 0.2927040755748749, -0.6886529922485352, -0.14442779123783112, -0.40619096159935, -0.5448881983757019, -0.36206480860710144, -0.22749172151088715, 0.3968093693256378, -0.016549643129110336, -0.30958375334739685, 0.684088945388794, -0.34609323740005493, 0.5300911664962769, 0.44950053095817566, 0.1602640599012375, 0.4322146475315094, -0.041826922446489334, -0.41407227516174316, -0.14874647557735443, -0.24661771953105927, -0.4687645137310028, 0.8891806602478027, 0.22694900631904602, 1.09194016456604, 0.18434886634349823, 0.7550674080848694, 0.28177887201309204, 0.1469973772764206, -0.652336597442627, 0.6341277360916138, -0.3991031348705292, -0.3023460805416107, -0.0973718985915184, -0.07745479792356491, -0.8341798186302185, -0.11641459167003632, -0.14915111660957336, -1.1732542514801025, 0.1447933465242386, 0.02755044959485531, -0.5145447850227356, 0.4855382442474365, -0.6774395704269409, 1.0590088367462158, -0.4582407772541046, -0.40576598048210144, -0.1173131912946701, -0.8060342073440552, 0.4501292407512665, -0.09790252149105072, 0.4525476396083832, -0.27053165435791016, 0.015125850215554237, 0.5445215106010437, -0.6352270245552063, 0.8638335466384888, -0.31564033031463623, 0.09354457259178162, 0.3022438883781433, 0.4285244345664978, 0.6400038003921509, 0.07077272236347198, 0.3229014575481415, 0.296371728181839, -0.046933166682720184, -0.23660306632518768, -0.572439968585968, 0.6785607933998108, -0.5781576037406921, -0.7605573534965515, -0.2113966941833496, -0.4511530101299286, -0.015443217940628529, 0.012451536022126675, 0.6052918434143066, 0.4129975140094757, 0.1344611942768097, -0.19349250197410583, 0.6674520969390869, -0.42409977316856384, 0.5806542038917542, 0.6078444123268127, 0.032441042363643646, -0.45492249727249146, 0.9085848331451416, -0.009022802114486694, 0.21529099345207214, 0.1719469428062439, -0.14619463682174683, -0.21894286572933197, -0.8949698209762573, -0.7687616944313049, 0.008342455141246319, -0.7046178579330444, -0.5174182653427124, -0.4001484811306, -0.21623645722866058, -0.1454312950372696, -0.5038914084434509, -0.2252349853515625, -0.15890738368034363, -0.2107371985912323, 0.005002858582884073, 0.657741129398346, 0.5394405126571655, 0.052511170506477356, 0.3421974778175354, -0.6802701354026794, 0.5154798626899719, 0.21455401182174683, 0.4020090699195862, -0.3474644720554352, -0.36589646339416504, 0.11521556973457336, -0.471000999212265, -0.44561102986335754, -1.2568490505218506, 0.2631019651889801, 0.09436208754777908, 0.32458069920539856, 0.6590332984924316, 0.31588006019592285, 0.5839441418647766, -0.6395816802978516, 0.45892030000686646, 0.5237470865249634, -0.9463182091712952, 0.7542275190353394, -0.24926529824733734, -0.04182757809758186, 0.8301029801368713, 0.08621829748153687, -0.3217340409755707, -0.9140245914459229, -0.5599863529205322, -0.9850143194198608, 0.38557493686676025, 0.06682895123958588, -0.062481556087732315, -0.01678125560283661, 0.4105210304260254, 0.015960954129695892, 0.07402800023555756, -0.7921517491340637, -0.05178374424576759, -0.27674388885498047, -0.36937329173088074, 0.33370229601860046, -0.2409115433692932, -0.05898827686905861, -0.13587522506713867, 0.2936719059944153, 0.0022742252331227064, 0.19318440556526184, 0.15682773292064667, -0.4247630834579468, 0.038198746740818024, 0.25677213072776794, 0.38739249110221863, 0.12875376641750336, -0.0005665378994308412, 0.33528342843055725, 0.08962911367416382, -0.8847891092300415, 0.2332756519317627, -0.10330712050199509, -0.2635972797870636, -0.24978385865688324, 0.38912710547447205, 0.9136834144592285, 0.04321793466806412, -1.0795016288757324, 0.8110135197639465, -0.249505877494812, 0.05194498226046562, -0.41456174850463867, 0.2717236578464508, -0.21213658154010773, 0.49896982312202454, 0.1571563482284546, 0.21578045189380646, 0.13234388828277588, -0.5642272233963013, 0.20642441511154175, 0.7828028202056885, -0.7180069088935852, -0.23757869005203247, 0.91700279712677, -0.004220711067318916, -0.3011954128742218, 0.5530715584754944, -0.1042284220457077, -0.4102552831172943, 0.5978056788444519, 0.5503866672515869, 0.8773322105407715, -0.10636700689792633, -0.14052383601665497, -0.010829250328242779, 0.6502549648284912, 0.18353618681430817, 0.5011295080184937, 0.08556056022644043, -0.7865036129951477, -0.3606105148792267, -0.46748146414756775, -0.2957429587841034, 0.09639568626880646, -0.44853582978248596, 0.4402732253074646, -0.798359215259552, -0.19226951897144318, -0.2764747142791748, -0.284038245677948, -0.23590068519115448, -0.16809603571891785, 0.3354843556880951, 1.006700873374939, -0.8408740162849426, 0.8423317670822144, 0.7430421710014343, -0.11583907157182693, -0.6902967095375061, -0.012462317012250423, 0.27998635172843933, -1.0107554197311401, 0.5330802798271179, 0.39558088779449463, -0.20340213179588318, 0.04749207943677902, -0.9263455271720886, -0.504886269569397, 0.7758828997612, 0.7233474850654602, -0.652566134929657, 0.35775160789489746, -0.0754825696349144, 0.13853095471858978, -0.2052670270204544, 0.015404586680233479, 0.9263961315155029, 0.625148355960846, 0.12744762003421783, -0.650911271572113, 0.3831583261489868, -0.441853404045105, -0.36230984330177307, 0.28389033675193787, -0.41740870475769043, 0.4908982813358307, -0.6639509797096252, -0.3106444776058197, 0.36756980419158936, 0.4831012189388275, 0.6944505572319031, 0.33522164821624756, 0.4256751835346222, 0.9852520227432251, 0.26449185609817505, -0.22991551458835602, 0.8195647597312927, -0.19870033860206604, -0.14564095437526703, 0.6695626378059387, -0.20624969899654388, 0.8002605438232422, 0.7041810154914856, 0.05096518620848656, 0.6551364064216614, 0.46547600626945496, -0.24455752968788147, 0.7512495517730713, 0.2676195502281189, -0.1664234846830368, -0.06916980445384979, 0.10714041441679001, -0.08220160752534866, 0.4521677792072296, 0.5366736054420471, -0.05041961371898651, -0.08278360217809677, 0.39964815974235535, 0.34821221232414246, 0.3036944270133972, -0.2932921051979065, 0.7814181447029114, 0.12428657710552216, -0.32149723172187805, 0.5912337303161621, -0.08811139315366745, 0.8080614805221558, -0.4101700782775879, 0.14064806699752808, 0.06047860532999039, -0.032247088849544525, -0.20035956799983978, -1.007537841796875, 0.34298914670944214, 0.40598025918006897, 0.2926362454891205, -0.1276932656764984, 0.8653333783149719, 0.0012110971147194505, -0.32235199213027954, 0.2921035885810852, -0.01549350842833519, 0.18755805492401123, -0.1999930590391159, -0.5605705380439758, 0.47420746088027954, -0.07139777392148972, -0.07797165215015411, 0.46754834055900574, 0.32923436164855957, -0.24896454811096191, 0.6488219499588013, 0.36299362778663635, 0.18635942041873932, -0.14158278703689575, -0.03340480849146843, 0.9076970219612122, -0.6735763549804688, -0.3860114514827728, -1.2862075567245483, 0.32375064492225647, -0.026091475039720535, 0.13314847648143768, 0.503531813621521, 0.39125677943229675, 0.46011531352996826, -0.06315995007753372, 0.7572235465049744, -0.24067966639995575, 0.001493973657488823, -0.8940708041191101, 0.9819584488868713, -0.4353609085083008, 0.4739539921283722, -0.6267858743667603, -0.3318940997123718, -0.296211302280426, 0.49281612038612366, -0.5220996141433716, -0.5143156051635742, 0.7746353149414062, 0.7510989904403687, 0.2570205628871918, -0.02751285955309868, 0.20962131023406982, 0.2090429812669754, 0.15934981405735016, 0.9443008899688721, 1.1815658807754517, -0.3852100968360901, 0.5436617732048035, 0.09109936654567719, -0.23531180620193481, -0.1252547949552536, -0.8915581107139587, -0.9546491503715515, -0.3621920645236969, -0.3708133399486542, -0.29336854815483093, 0.30517464876174927, 0.6877642869949341, 0.20504337549209595, -0.833194375038147, -0.043052300810813904, -0.08533137291669846, 0.17762859165668488, -0.1765386164188385, -0.13748452067375183, 0.3832979202270508, -0.1582762897014618, -0.3339909017086029, 0.43624716997146606, 0.6406281590461731, 0.07649106532335281, 0.034887831658124924, 0.0906718447804451, 0.2545633614063263, -0.21664248406887054, 0.25483831763267517, 0.3923976719379425, -0.6800578832626343, -0.36549416184425354, -0.08948532491922379, -0.08312436938285828, 0.13257688283920288, 0.8597692251205444, -0.6471033692359924, 0.3777390718460083, 0.19255614280700684, 0.45035871863365173, 0.1575954556465149, -0.056914303451776505, 0.3418108820915222, -0.6581627130508423, 0.34037938714027405, 0.09261192381381989, 0.5715267658233643, 0.22134123742580414, -0.512517511844635, 0.19776944816112518, 0.4580024182796478, -0.21848642826080322, -0.6070080399513245, 0.44526463747024536, -0.8242636322975159, -0.5321763753890991, 0.8900943994522095, -0.19912822544574738, -0.5003357529640198, -0.2594187557697296, -0.38125649094581604, -0.12312710285186768, -0.37445884943008423, 0.8126044869422913, 0.34909677505493164, -0.10777650028467178, -0.3322485387325287, -0.8479792475700378, 0.5000620484352112, -0.022099768742918968, -0.5557270646095276, 0.020913487300276756, 0.40688496828079224, 0.27591946721076965, 0.060333769768476486, 0.6428012251853943, -0.3440263867378235, 0.39589646458625793, -0.20321613550186157, 0.24714775383472443, -0.30043819546699524, -0.3275798559188843, -0.06981706619262695, 0.3100951313972473, 0.2678694427013397, -0.19790612161159515 ]
http://arxiv.org/abs/2402.14838v1
http://arxiv.org/pdf/2402.14838v1
RFBES at SemEval-2024 Task 8: Investigating Syntactic and Semantic Features for Distinguishing AI-Generated and Human-Written Texts
2024-02-19T00:40:17
2024-02-19T00:40:17
Mohammad Heydari Rad, Farhan Farsi, Shayan Bali, Romina Etezadi, Mehrnoush Shamsfard
cs.CL
cs.CL, cs.AI, cs.LG
Nowadays, the usage of Large Language Models (LLMs) has increased, and LLMs have been used to generate texts in different languages and for different tasks. Additionally, due to the participation of remarkable companies such as Google and OpenAI, LLMs are now more accessible, and people can easily use them. However, an important issue is how we can detect AI-generated texts from human-written ones. In this article, we have investigated the problem of AI-generated text detection from two different aspects: semantics and syntax. Finally, we presented an AI model that can distinguish AI-generated texts from human-written ones with high accuracy on both multilingual and monolingual tasks using the M4 dataset. According to our results, using a semantic approach would be more helpful for detection. However, there is a lot of room for improvement in the syntactic approach, and it would be a good approach for future work.
[ -0.44066953659057617, -0.7192824482917786, 0.7367400527000427, -0.11889682710170746, -0.13435280323028564, 0.04139469563961029, -0.09865299612283707, -0.9403852224349976, 0.11843903362751007, 0.8674615621566772, -0.670190691947937, -0.5181955695152283, -0.6309712529182434, 0.9362897872924805, -0.487674355506897, 0.9452264308929443, -0.1623581200838089, -0.286668598651886, -0.5092294216156006, -0.29577046632766724, -0.07758814841508865, -0.4970570504665375, -0.4647499620914459, -0.24035169184207916, 0.37650519609451294, 0.3546702563762665, 0.3380495607852936, 0.5382757186889648, 0.5855239033699036, 0.45516231656074524, 0.0644003227353096, 0.3834902346134186, 0.14627809822559357, 0.3300549387931824, -0.1272093504667282, -0.3152047097682953, -0.3810267448425293, -0.15451614558696747, 0.6216869950294495, 0.11921315640211105, 0.1890953779220581, 0.203009694814682, -0.06897693127393723, 0.24573716521263123, -0.24206621944904327, 0.030025092884898186, -0.5812810659408569, -0.029208028689026833, -0.5686531066894531, -0.2925114631652832, -0.4052520990371704, 0.06506630033254623, -0.0752793550491333, -0.39384207129478455, 0.23088829219341278, 0.1827365607023239, 1.0392807722091675, 0.19497056305408478, -0.5143715739250183, -0.7010533809661865, -0.4765468239784241, 1.0627532005310059, -0.9163267612457275, 0.35757678747177124, 0.2699550986289978, -0.00410864781588316, -0.20312760770320892, -0.7008668780326843, -0.9011763334274292, -0.16053839027881622, -0.10754719376564026, -0.02138526178896427, -0.11873068660497665, -0.15697358548641205, 0.33504462242126465, -0.027518996968865395, -0.5551126003265381, 0.21661476790905, -0.29913610219955444, -0.5635387301445007, 0.6823694109916687, 0.1540049910545349, 0.5656864643096924, -0.5233662724494934, -0.5288653373718262, 0.07594960182905197, -0.6671821475028992, -0.21347002685070038, 0.5892781615257263, 0.1449243575334549, 0.026289544999599457, 0.4217280149459839, -0.24136219918727875, 0.5340611934661865, -0.6168950796127319, -0.34668272733688354, 0.45190590620040894, -0.7902819514274597, -0.022390995174646378, -0.2752576768398285, 0.9430094361305237, -0.1440788358449936, 0.3225227892398834, -0.10653350502252579, -0.5385276675224304, 0.15100832283496857, 0.23047888278961182, -0.6197922825813293, 0.12175952643156052, 0.026987140998244286, -0.4716672897338867, -0.5972018241882324, -0.1469678282737732, -0.7344765663146973, -0.3501667380332947, -0.27611681818962097, 0.49230119585990906, -0.2569301724433899, -0.07875635474920273, -0.03182775154709816, -0.2043379694223404, 0.41043704748153687, 0.42544201016426086, -0.763084888458252, 0.16434575617313385, 0.5850991606712341, 0.2928120195865631, -0.12781602144241333, -0.49504852294921875, -0.31840500235557556, 0.20603583753108978, -0.028065502643585205, 1.1465647220611572, -0.4874982535839081, 0.10544939339160919, -0.2745557129383087, -0.1179942712187767, 0.1578146070241928, -0.49418580532073975, 0.9200661182403564, -0.41061636805534363, 0.6260733604431152, -0.13833913207054138, -0.4874630868434906, -0.27474895119667053, 0.3281688392162323, -0.6622213125228882, 1.0196982622146606, 0.00743752159178257, -0.8108242154121399, 0.4815913736820221, -0.6463684439659119, -0.558259904384613, 0.17238940298557281, -0.6970012784004211, -0.6889480948448181, -0.27499449253082275, 0.20006006956100464, 0.4941630959510803, -0.48938941955566406, 0.30029839277267456, -0.04728659614920616, -0.2189212590456009, 0.4244936406612396, -0.4661542475223541, 0.5531994700431824, 0.19558490812778473, -0.5311555862426758, 0.08424322307109833, -0.8729986548423767, 0.015616766177117825, 0.27406322956085205, -0.48825663328170776, -0.3184136152267456, 0.14743366837501526, 0.14312463998794556, 0.24821186065673828, 0.379955530166626, -0.5990080237388611, -0.16517016291618347, -0.485393226146698, 0.565829336643219, 0.7745060920715332, 0.08595272153615952, 0.3185630440711975, -0.25602996349334717, 0.7594241499900818, 0.10083029419183731, -0.22246648371219635, -0.4510713219642639, -0.5030028820037842, -0.7766936421394348, -0.3023807406425476, 0.38437238335609436, 0.4908653795719147, -0.8386915922164917, 0.5639410614967346, 0.12582874298095703, -0.2620658576488495, -0.3508640229701996, 0.2270377278327942, 0.45065948367118835, 0.31680828332901, 0.2530953586101532, -0.02223956398665905, -0.5843402743339539, -0.976498007774353, -0.3633883595466614, -0.1551043838262558, 0.1560324877500534, 0.25636225938796997, 0.80927574634552, -0.4889792799949646, 0.6135040521621704, -0.2414364367723465, -0.200270876288414, -0.37998759746551514, 0.2775074541568756, -0.10031000524759293, 0.29523715376853943, 0.7687999606132507, -0.8540889620780945, -0.13195928931236267, -0.07012032717466354, -0.908722460269928, -0.5332795977592468, -0.14590123295783997, -0.17900343239307404, 0.4749574065208435, 0.7979230880737305, -0.6044628620147705, 0.41490766406059265, 0.3058629035949707, -0.5347027778625488, 0.4574914574623108, -0.0058375452645123005, 0.4029043912887573, -1.337621808052063, -0.018763048574328423, 0.021238168701529503, -0.4290239214897156, -0.5382201671600342, 0.1784246414899826, -0.002221528207883239, -0.21634802222251892, -0.15495045483112335, 0.7839440107345581, -0.5299888253211975, -0.2739061415195465, -0.3077211380004883, 0.29334986209869385, 0.3176215589046478, 0.3482845425605774, -0.13005799055099487, 0.8876782059669495, 0.053138233721256256, -0.5017200708389282, 0.1577020287513733, 0.3520045876502991, -0.338336318731308, 0.30371415615081787, -0.503378689289093, 0.09651003032922745, -0.02655061148107052, -0.012045218609273434, -1.0309339761734009, -0.3370925784111023, 0.32958802580833435, -0.8613384962081909, 0.041673444211483, 0.3719087243080139, -0.6988459229469299, -0.12486161291599274, -0.34703272581100464, 0.32507288455963135, 0.27490177750587463, -0.29402387142181396, 0.7352796792984009, 0.5445833802223206, -0.32911232113838196, -0.5525050759315491, -0.598181962966919, 0.250332772731781, -0.3802666664123535, -0.8344532251358032, 0.33374956250190735, 0.19844385981559753, -0.23582494258880615, -0.015124204568564892, 0.046283427625894547, 0.01771269179880619, 0.3789714574813843, -0.004455603193491697, 0.23380160331726074, -0.3980403542518616, 0.01892344281077385, 0.24587486684322357, -0.3361274003982544, 0.1714475303888321, -0.06006718799471855, 0.29570120573043823, 0.017846832051873207, -0.36517342925071716, -0.411749929189682, 0.4087721109390259, 0.7840225696563721, -0.5755998492240906, 0.4933476448059082, 0.8724735379219055, -0.5581360459327698, -0.4549887180328369, -0.3438332974910736, -0.2310120314359665, -0.5078128576278687, 0.34865182638168335, -0.28575238585472107, -0.9616861939430237, 0.4437667727470398, 0.04485536739230156, -0.019052868708968163, 0.5310516953468323, 0.6725350022315979, -0.19009365141391754, 1.1175057888031006, 0.5944716930389404, 0.1495657116174698, 0.4273078739643097, 0.08962861448526382, 0.37306341528892517, -0.6147546768188477, -0.178950697183609, -1.011902093887329, -0.1152167022228241, -0.753746509552002, -0.24423781037330627, 0.320103257894516, -0.30608972907066345, 0.08412062376737595, 0.49870213866233826, -0.39232337474823, 0.3908531367778778, 0.6914973258972168, -0.21079134941101074, 0.1557440459728241, -0.08931006491184235, -0.15680643916130066, -0.03466183319687843, -0.28686729073524475, -0.9928936958312988, 0.8507524132728577, 0.23442694544792175, 0.4271743595600128, 0.2670561373233795, 1.020167350769043, 0.6089158058166504, -0.12753915786743164, -0.5118747353553772, 0.863298773765564, -0.10747766494750977, -0.5259581208229065, -0.2620321214199066, -0.3147314190864563, -1.0164544582366943, 0.30472373962402344, -0.5434457063674927, -0.5661898851394653, -0.18144741654396057, -0.1384856253862381, 0.04199008271098137, -0.08142506331205368, -0.7321633100509644, 1.123811960220337, -0.31656187772750854, -0.14845682680606842, -0.11229727417230606, -0.46955516934394836, -0.09007785469293594, -0.1258488893508911, 0.31901493668556213, -0.3991534411907196, -0.10458351671695709, 0.9289383292198181, -0.2767260670661926, 0.697726309299469, 0.025176024064421654, -0.12778232991695404, 0.46546459197998047, -0.09369517117738724, 0.5051327347755432, -0.06791290640830994, -0.08329681307077408, -0.05100193992257118, -0.038029853254556656, -0.31026116013526917, -0.31671980023384094, 0.39275801181793213, -0.7237346768379211, -0.4452712833881378, -0.6155202388763428, -0.2973940372467041, -0.015839265659451485, 0.5419107675552368, 0.3381103277206421, 0.7121742367744446, -0.24591708183288574, -0.037340130656957626, 0.325651615858078, -0.5353813767433167, 0.3563770353794098, 0.44155025482177734, -0.037511277943849564, -0.1337742656469345, 0.7900025844573975, -0.2348804920911789, -0.03546706959605217, 0.4029954671859741, 0.035055194050073624, -0.3033902049064636, -0.7854664921760559, -0.6529396772384644, 0.3181913197040558, -0.8398581147193909, -0.41200676560401917, -0.7116084694862366, -0.29802557826042175, -0.5031716823577881, -0.21271468698978424, 0.06823292374610901, -0.4084785282611847, -0.5811354517936707, -0.03209371119737625, 0.2569763660430908, 0.788292646408081, 0.3045359253883362, 0.010254432447254658, -1.002376675605774, 0.36111974716186523, -0.15722967684268951, -0.24859125912189484, -0.30997034907341003, -0.5076711773872375, -0.11348889023065567, -0.2707282602787018, -0.3563736081123352, -0.773678183555603, 0.4512898027896881, 0.16101424396038055, 0.6472422480583191, 0.23446029424667358, -0.12037643790245056, 0.15920063853263855, -0.44140759110450745, 0.6066701412200928, -0.21794132888317108, -1.0322349071502686, 0.6674302220344543, -0.4815230071544647, 0.2568613886833191, 0.49043795466423035, 0.1620350331068039, -0.43077945709228516, -0.8177326321601868, -0.7140557765960693, -0.7137195467948914, 0.7339509129524231, 0.41453707218170166, 0.24592743813991547, -0.13325393199920654, 0.33385488390922546, 0.10526232421398163, 0.21535764634609222, -0.8818711638450623, 0.16422583162784576, 0.4598236083984375, -0.581153154373169, 0.19347617030143738, -0.29014983773231506, 0.24363727867603302, 0.27110251784324646, 0.6029410362243652, -0.04757711663842201, 0.41878023743629456, -0.008911559358239174, -0.1123637780547142, 0.1946585476398468, 0.5099384188652039, 0.7790083289146423, 0.44560888409614563, 0.25729063153266907, 0.17574770748615265, 0.025822969153523445, -0.321384459733963, 0.118462935090065, 0.07522276788949966, -0.36701303720474243, -0.007534634321928024, 0.7427160143852234, 0.6467267870903015, 0.04046262055635452, -0.9773467779159546, 0.6405792236328125, 0.03496047854423523, -0.15941214561462402, -0.5374277234077454, 0.25280386209487915, 0.018651803955435753, 0.4521833658218384, 0.02842387929558754, 0.38343527913093567, 0.48764947056770325, -0.4958566129207611, 0.39725255966186523, 0.3258645534515381, 0.14036321640014648, -0.5562575459480286, 0.5929785966873169, 0.5429529547691345, -0.3189130425453186, 0.4981730580329895, -0.5948395729064941, -0.9100211262702942, 0.9641065001487732, 0.6711193919181824, 0.7573204040527344, -0.03220377489924431, 0.09977683424949646, 0.2636711299419403, 0.3732454776763916, 0.27574118971824646, 0.3621712028980255, -0.1161082535982132, -1.181836485862732, -0.24739041924476624, -0.6388624310493469, -0.40018317103385925, 0.17069201171398163, -0.4329397678375244, 0.7229810357093811, -0.18945026397705078, -0.12355640530586243, 0.5796043276786804, -0.1321522742509842, -0.5712636709213257, 0.22459077835083008, 0.30713850259780884, 0.5247172117233276, -0.931755006313324, 0.6466225981712341, 0.9261988997459412, -0.3303072452545166, -0.6268554329872131, 0.0007290554349310696, 0.22652341425418854, -0.7051430344581604, 0.527278482913971, 0.32286375761032104, -0.3739970028400421, -0.04147806763648987, -0.5034111738204956, -0.7484740018844604, 1.142907977104187, 0.15833218395709991, -0.0780285969376564, -0.04304197058081627, 0.11326485872268677, 0.5698071718215942, -0.2980358302593231, 0.1772439181804657, 0.4323461949825287, 0.44971635937690735, -0.1619924008846283, -0.7843545079231262, -0.06813085824251175, -0.30750030279159546, -0.19333848357200623, 0.63826584815979, -0.4010351300239563, 0.6988527178764343, -0.093100905418396, -0.35291993618011475, 0.19368581473827362, 0.7403798699378967, 0.22459040582180023, 0.4904358386993408, 0.26724594831466675, 0.52840256690979, 0.8070235848426819, -0.02578461728990078, 0.7812583446502686, -0.045605309307575226, 0.15369005501270294, 0.7395647764205933, -0.5852383375167847, 0.7593393921852112, 0.2549515664577484, -0.144304096698761, 0.5289633274078369, 0.42636749148368835, -0.07661662995815277, 0.30615273118019104, -0.02187562733888626, -0.4376600384712219, -0.13734863698482513, -0.04420437663793564, -0.11858906596899033, 0.9746147394180298, 0.5122823715209961, -0.5003859996795654, -0.197252094745636, 0.18389299511909485, 0.1424766480922699, 0.2597958445549011, 0.05856211483478546, 0.9935325980186462, 0.003174803452566266, -0.7701064348220825, 0.09263993054628372, 0.62744140625, 0.7885109782218933, -0.4564947187900543, -0.12537701427936554, 0.03825006261467934, 0.27907371520996094, -0.17127567529678345, -0.7710276246070862, 0.5235974192619324, 0.27659934759140015, -0.1038476899266243, -0.3044795095920563, 1.3471921682357788, -0.37802642583847046, -0.4243820905685425, 0.2519138753414154, 0.7133421301841736, 0.3136049211025238, 0.24957722425460815, -0.7337613105773926, 0.1769092082977295, 0.26783862709999084, -0.13975678384304047, 0.20930363237857819, 0.7684096693992615, -0.17719495296478271, 0.4713898301124573, 0.471378892660141, -0.13235892355442047, -0.15327739715576172, 0.0317101776599884, 0.6149084568023682, -0.8424907922744751, -0.503391683101654, -0.8517902493476868, 0.16454926133155823, -0.0059186299331486225, -0.4167260229587555, 0.6988332867622375, 0.356021523475647, 0.8400613069534302, -0.03558966889977455, 0.9501777291297913, -0.13803833723068237, 0.7058699131011963, -0.7891039252281189, 0.5638197064399719, -0.567541778087616, 0.30695411562919617, -0.307881236076355, -0.7233766317367554, -0.09324035048484802, 0.8186740279197693, -0.12421635538339615, 0.23502279818058014, 0.6594783663749695, 0.8080877661705017, 0.06799838691949844, 0.0990438312292099, 0.22233816981315613, -0.11996305733919144, 0.29742786288261414, 0.4417394697666168, 1.056814432144165, -0.480303019285202, 0.44158852100372314, 0.20146988332271576, 0.03356214985251427, -0.07992912083864212, -0.919694721698761, -0.9523791670799255, -0.8498338460922241, -0.386020690202713, -0.24666529893875122, -0.2321748584508896, 0.7824457287788391, 0.37047767639160156, -0.826909065246582, -0.04683375358581543, -0.044237762689590454, 0.19959108531475067, 0.3105979561805725, -0.21971732378005981, 0.003213736694306135, -0.3104279339313507, -0.7372209429740906, 0.4004896581172943, 0.49563685059547424, 0.07214117050170898, -0.2084510773420334, 0.057369332760572433, -0.37800928950309753, 0.368541419506073, 0.5348191261291504, 0.0002543065929785371, -0.7350822687149048, -0.5111324191093445, 0.08562415838241577, -0.39566296339035034, 0.028528911992907524, 0.735230028629303, -0.6549733281135559, 0.1628372222185135, 0.8207803964614868, 0.7474173903465271, 0.19247741997241974, -0.0015278870705515146, 0.5342735052108765, -0.7129887342453003, 0.14243043959140778, 0.3930911123752594, 0.4528926610946655, 0.350093275308609, -0.3616653382778168, 0.5935958027839661, 0.35655319690704346, -0.8375833034515381, -0.7821471691131592, 0.36200955510139465, -0.796869158744812, -0.2640967071056366, 1.1305813789367676, 0.004203013144433498, -0.2194206416606903, -0.23114268481731415, -0.25858646631240845, 0.14322461187839508, -0.2025458961725235, 0.4545767605304718, 0.8924192786216736, -0.2587426006793976, -0.06098010763525963, -0.6286104917526245, 0.5597572922706604, 0.42314237356185913, -1.3916488885879517, -0.3203943073749542, 0.6956910490989685, 0.19225510954856873, 0.24165575206279755, 0.9573220610618591, -0.1965283304452896, 0.3957074284553528, -0.044001542031764984, 0.15719486773014069, 0.08217815309762955, -0.4770823121070862, -0.11535564810037613, -0.06586799025535583, 0.2627834677696228, -0.09475301206111908 ]
http://arxiv.org/abs/2402.11750v2
http://arxiv.org/pdf/2402.11750v2
In-Context Learning Demonstration Selection via Influence Analysis
2024-02-19T00:39:31
2024-06-17T18:34:54
Vinay M. S., Minh-Hao Van, Xintao Wu
cs.CL
cs.CL
Large Language Models (LLMs) have showcased their In-Context Learning (ICL) capabilities, enabling few-shot learning without the need for gradient updates. Despite its advantages, the effectiveness of ICL heavily depends on the choice of demonstrations. Selecting the most effective demonstrations for ICL remains a significant research challenge. To tackle this issue, we propose a demonstration selection method named InfICL, which utilizes influence functions to analyze impacts of training samples. By identifying the most influential training samples as demonstrations, InfICL aims to enhance the ICL generalization performance. To keep InfICL cost-effective, we only use the LLM to generate sample input embeddings, avoiding expensive fine-tuning. Through empirical studies on various real-world datasets, we demonstrate advantages of InfICL compared to state-of-the-art baselines.
[ -0.49350273609161377, -0.7495971918106079, 0.41986969113349915, 0.3999078869819641, -0.3307030498981476, -0.12989197671413422, -0.4338339865207672, -0.3633618950843811, -0.26225391030311584, 0.29620036482810974, -0.41036367416381836, -0.5426121354103088, -0.5208345055580139, 0.0201168991625309, -0.40762659907341003, 1.115604043006897, -0.11943157017230988, 0.25078967213630676, -0.6286486387252808, -0.0948125571012497, -0.15463650226593018, -0.1505109965801239, -0.5457380414009094, -0.7647613883018494, -0.001239668927155435, 0.7772570252418518, 0.08753874152898788, 0.11856883764266968, 0.14164024591445923, 0.145241379737854, -0.3128737509250641, 0.22142954170703888, -0.6946908235549927, -0.016301924362778664, -0.09606597572565079, -0.2658078074455261, 0.20731963217258453, -0.049909766763448715, 0.9174543023109436, 0.6147745847702026, 0.26052019000053406, 0.18051645159721375, 0.28619295358657837, 0.33588624000549316, -0.7260168194770813, 0.11474163085222244, -0.6648269295692444, -0.11678798496723175, -0.21045978367328644, 0.09939275681972504, -0.6890278458595276, -0.37299802899360657, 0.38472607731819153, -0.23344449698925018, -0.13466346263885498, 0.005169390235096216, 0.416513592004776, 0.20375967025756836, -0.5137555599212646, -0.31781336665153503, -0.7502703666687012, 0.9324120879173279, -0.7432296872138977, 0.4603036344051361, 0.3415605425834656, 0.3321269154548645, -0.5456715822219849, -0.8882450461387634, -0.37923726439476013, -0.46368464827537537, -0.29673734307289124, -0.06640443950891495, -0.0740126296877861, 0.03600722551345825, 0.3945481479167938, 0.06758273392915726, -0.19622530043125153, 0.13205009698867798, -0.2631855309009552, -0.10574620962142944, 0.3994816243648529, -0.15740764141082764, 0.16191847622394562, 0.1500319242477417, -0.596747875213623, -0.3897152543067932, -1.2320563793182373, 0.3335876166820526, 0.09503110498189926, 0.04289410263299942, -0.16326504945755005, 0.17592385411262512, -0.33070382475852966, 0.6283209323883057, 0.30175352096557617, -0.41158100962638855, 0.19383853673934937, -0.11877424269914627, -0.5087887644767761, 0.1422266960144043, 0.6744973063468933, -0.07189278304576874, -0.07433757185935974, 0.04009411111474037, -0.0709492415189743, -0.5755305290222168, -0.27326318621635437, -1.1719105243682861, -0.0504915788769722, -0.054870594292879105, -0.35334351658821106, -0.30258840322494507, 0.27337273955345154, -0.9586032629013062, -0.3065834939479828, -0.06610677391290665, 0.5815103054046631, -0.32215583324432373, -0.10879097133874893, -0.14927034080028534, -0.19863860309123993, 0.2536962032318115, 0.24342618882656097, -0.7411988973617554, 0.34595587849617004, 0.44368976354599, 0.5793973207473755, -0.3377053141593933, -0.12058263272047043, -0.8615185022354126, 0.16420337557792664, -0.35778898000717163, 0.8306564092636108, -0.6803266406059265, -0.6568751931190491, 0.2233177125453949, -0.27340295910835266, -0.026949862018227577, -0.6913412809371948, 0.43945229053497314, -0.45535552501678467, 0.14915704727172852, -0.20816273987293243, -0.924248218536377, -0.25022417306900024, 0.03468770906329155, -0.4306849539279938, 1.0884836912155151, 0.22170019149780273, -0.6629416942596436, 0.7445039749145508, -0.8276304602622986, -0.5070375204086304, 0.21697033941745758, -0.5738123059272766, -0.6082534193992615, 0.0004077050543855876, 0.2888619601726532, 0.6491537094116211, -0.025753196328878403, 0.2701122760772705, -0.34978705644607544, -0.5521240234375, 0.32759931683540344, -0.3092750310897827, 0.721611738204956, 0.04564890265464783, -0.9543238282203674, 0.1597452014684677, -0.6423874497413635, -0.20967254042625427, -0.1564323604106903, -0.372325599193573, -0.4418359696865082, 0.17587444186210632, -0.148541659116745, 0.21831049025058746, -0.21764841675758362, -0.5441587567329407, 0.07232168316841125, -0.5850847959518433, 0.13674767315387726, 0.5751931667327881, 0.4476064145565033, 0.47708436846733093, -0.2042243331670761, 0.6208416223526001, -0.32158413529396057, 0.237013578414917, -0.06242961809039116, -0.3978055417537689, -0.5340614914894104, -0.5184642672538757, 0.34870561957359314, -0.07652164995670319, -0.769759476184845, -0.08567493408918381, -0.13539429008960724, -0.390080064535141, -0.18730148673057556, 0.44974520802497864, 0.590440571308136, 0.5726261138916016, 0.2246892750263214, 0.1767641305923462, -0.2436923384666443, -0.9020292162895203, -0.07506602257490158, -0.23443558812141418, 0.13815101981163025, 0.2851889431476593, 0.5468057990074158, 0.0462859570980072, 0.9415270686149597, -0.2767072021961212, -0.24128378927707672, -0.6639906764030457, -0.08892209082841873, 0.10958164930343628, 0.3441712260246277, 1.0014457702636719, -0.7941861152648926, -0.8715195059776306, 0.0601734034717083, -0.3259434700012207, -0.19475919008255005, -0.21908409893512726, -0.17742520570755005, -0.09200058877468109, 0.9087128043174744, -0.014296372421085835, 0.5671596527099609, 0.5133407115936279, -0.2162914127111435, 0.19056452810764313, -0.055985428392887115, -0.019947411492466927, -0.5083174109458923, -0.15298084914684296, 0.05955946817994118, -0.3210456669330597, -0.7913979887962341, -0.07320182770490646, 0.37504515051841736, 0.22131073474884033, -0.827151894569397, 0.8272519111633301, -0.13623498380184174, 0.1506817787885666, -0.1254432499408722, -0.07971522957086563, -0.055864520370960236, 0.41995570063591003, 0.009541559033095837, 0.745362401008606, 0.49335023760795593, -0.6824707388877869, -0.2720493674278259, 0.2541303038597107, -0.7069220542907715, 0.23681434988975525, -0.4424390196800232, 0.15696123242378235, 0.006396657787263393, 0.43031826615333557, -1.1900912523269653, -0.3514465391635895, 0.3168478012084961, -0.07820294797420502, 0.42350661754608154, -0.3064134120941162, -0.5528606176376343, 0.13149695098400116, -0.4111692011356354, 0.24725070595741272, 0.3996400833129883, -1.1042160987854004, 0.40079715847969055, 0.15960612893104553, 0.2723522484302521, -0.401439368724823, -0.5892645120620728, -0.49384042620658875, -0.5582172870635986, -0.17684251070022583, 0.3706400394439697, -0.3538845479488373, -0.47433343529701233, -0.44161903858184814, 0.06924181431531906, 0.1380685716867447, 0.1612715721130371, 0.4474133253097534, 0.004635361023247242, 0.03408738225698471, 0.36253225803375244, 0.5080050826072693, 0.25988662242889404, 0.11104033142328262, -0.015222100540995598, 0.3132557272911072, -0.009860038757324219, -0.6097056269645691, -0.5069298148155212, 0.18293079733848572, 0.5275911092758179, -0.07748030126094818, 0.4168147146701813, 0.30764997005462646, -0.15075936913490295, -0.78751140832901, -0.3770933151245117, -0.10243140906095505, -0.48292893171310425, 0.4113248586654663, -0.06309710443019867, -0.7773322463035583, -0.028880663216114044, -0.488718181848526, 0.2499307543039322, 0.1930529922246933, 0.5313923954963684, 0.03306956589221954, 1.0626999139785767, 0.6301708221435547, -0.24133440852165222, 1.020237684249878, -0.4130847156047821, -0.2717876136302948, -0.7504671216011047, -0.29087504744529724, -0.33639517426490784, -0.23819279670715332, -0.1533912569284439, -0.21624647080898285, 0.6915701031684875, 0.06182682886719704, -0.26677945256233215, 0.046574290841817856, -0.2170800268650055, 0.656406581401825, 0.46884655952453613, 0.2229253053665161, 0.21586337685585022, 0.15760113298892975, -0.2496357411146164, 0.08459657430648804, -0.5723368525505066, -0.3595963418483734, 1.188098669052124, 0.3210279941558838, 0.6547677516937256, 0.18947306275367737, 0.7015806436538696, 0.21741841733455658, 0.7335546612739563, -0.6403184533119202, 0.40560680627822876, -0.09401752054691315, -0.43868082761764526, -0.2503271996974945, -0.0528966523706913, -0.6124791502952576, 0.3632073402404785, -0.3422626852989197, -0.7387738227844238, 0.2757817208766937, 0.27932116389274597, -0.21662630140781403, 0.22941844165325165, -0.6319698691368103, 0.5736183524131775, -0.269401878118515, -0.26742812991142273, -0.38692137598991394, -0.4043276906013489, 0.3869856894016266, -0.13919813930988312, 0.2313401997089386, 0.2554877996444702, 0.17141830921173096, 0.7150629758834839, -0.2310885339975357, 1.1336525678634644, -0.38194483518600464, 0.0138749610632658, 0.33905884623527527, 0.07298559695482254, 0.6918882727622986, 0.22029544413089752, -0.2569449543952942, -0.12966950237751007, -0.3158456087112427, -0.04578982666134834, -0.7275667190551758, 0.7589911222457886, -0.49516233801841736, -0.36339685320854187, 0.16063310205936432, -0.18781204521656036, -0.5173928737640381, -0.019146747887134552, 0.502299427986145, 0.792012631893158, -0.38905420899391174, 0.5697930455207825, 0.7358797788619995, -0.10216575860977173, 0.7326728105545044, 0.2903261184692383, -0.38419538736343384, -0.33011335134506226, 0.7083739638328552, -0.017727253958582878, 0.7393659353256226, 0.3918498456478119, 0.6606883406639099, -0.21496343612670898, -0.7479886412620544, -0.5329725742340088, 0.1459687203168869, -0.9360004663467407, -0.16483591496944427, -0.4813406765460968, 0.057111967355012894, -0.1538248211145401, -0.2645532488822937, -0.08208159357309341, -0.12057183682918549, -0.354498952627182, -0.21863935887813568, 0.2468947321176529, 0.9489189982414246, 0.2440118044614792, 0.5875554084777832, -0.1487135887145996, -0.10891282558441162, 0.5876416563987732, 0.18629799783229828, 0.05769292637705803, -0.6044851541519165, -0.3631119132041931, -0.16878488659858704, -0.5325927138328552, -0.7490240931510925, 0.186028853058815, 0.6559932231903076, 1.0804229974746704, 0.9785160422325134, 0.10240735113620758, 0.6586447954177856, -0.23666439950466156, 0.766914963722229, -0.010038955137133598, -0.9840015769004822, 0.6373099088668823, 0.0073743038810789585, 0.13646116852760315, 0.7434245944023132, 0.4103052020072937, -0.13325081765651703, -0.5237075090408325, -0.8385348320007324, -0.5403153896331787, 0.6216638088226318, 0.06292666494846344, 0.05540316551923752, 0.025700638070702553, 0.35479536652565, 0.2282574325799942, 0.0606258362531662, -0.6301917433738708, -0.33080005645751953, 0.039556942880153656, -0.05931650102138519, 0.15841256082057953, -0.12684063613414764, -0.10559341311454773, -0.48850107192993164, 0.7478664517402649, -0.37386199831962585, -0.18250565230846405, 0.18669377267360687, -0.3573910593986511, -0.061751581728458405, 0.05281069129705429, 0.8043910264968872, 0.7962062954902649, -0.1271437704563141, 0.0458085760474205, 0.7260310053825378, -0.3110729455947876, 0.005598810501396656, -0.34137070178985596, -0.3490075469017029, 0.19100743532180786, 0.6576454043388367, 0.9312277436256409, 0.6749058961868286, -0.9345266819000244, 1.017872929573059, 0.07220876216888428, -0.25992223620414734, -0.3901463449001312, 0.25895893573760986, -0.32863715291023254, 0.5248838663101196, 0.2720710039138794, -0.263852059841156, 0.21974165737628937, -0.38804352283477783, 0.37765926122665405, 0.5703489780426025, -0.8157964944839478, -0.27821701765060425, 0.3833611309528351, -0.02745935507118702, -0.046629998832941055, 0.3035722076892853, -0.15602782368659973, -0.5471968054771423, 0.6789245009422302, 0.816108763217926, 0.7008605599403381, -0.0863279402256012, 0.25064989924430847, 0.32229873538017273, -0.10019628703594208, -0.20268477499485016, -0.12040255218744278, -0.17280371487140656, -0.5637902617454529, -0.4774228036403656, -0.28822553157806396, -0.6470577120780945, 0.224679633975029, -0.6079962253570557, 0.6591024994850159, -0.4881027042865753, 0.19799862802028656, -0.2101702094078064, -0.015047142282128334, -0.6055198311805725, 0.06772489100694656, 0.23285865783691406, 0.9544355273246765, -1.0606685876846313, 1.1986039876937866, 0.6478924751281738, -0.13476793467998505, -0.6596719622612, 0.2904056906700134, 0.15024921298027039, -0.5364060997962952, 1.0673514604568481, 0.056926146149635315, -0.18902376294136047, -0.009529396891593933, -1.1286031007766724, -0.6879199743270874, 1.136093020439148, 0.4948340058326721, -0.10572804510593414, 0.5378754138946533, -0.1418834775686264, 0.4218633472919464, -0.9608792662620544, 0.5084874629974365, 0.4745946228504181, 0.43060651421546936, 0.24331092834472656, -0.5584678053855896, -0.21602793037891388, 0.24750223755836487, -0.08437779545783997, 0.04177314043045044, -0.7804570198059082, 0.4663541913032532, -0.09174202382564545, -0.1998298019170761, -0.15185926854610443, 0.8023723363876343, 0.40689077973365784, 0.3114200234413147, 0.905407726764679, -0.0880168005824089, 0.5839554071426392, 0.295294851064682, 1.0558651685714722, 0.0197641309350729, 0.3092367947101593, 1.2022854089736938, -0.09750612080097198, 0.9577458500862122, 0.6714436411857605, -0.09239830821752548, 0.6601859331130981, 0.46674540638923645, 0.05368567630648613, 0.8369701504707336, 0.3328326642513275, -0.359027236700058, -0.3531256318092346, -0.0933079645037651, -0.033134348690509796, 0.5451219081878662, 0.5405943989753723, -0.3593556880950928, -0.4298599064350128, 0.30591580271720886, 0.1985224485397339, -0.0026368803810328245, -0.1137167438864708, 0.8169898390769958, -0.06439168751239777, -0.41467195749282837, 0.40438878536224365, -0.46539390087127686, 0.6023719310760498, -0.8391505479812622, -0.4756729304790497, -0.2056664079427719, 0.08848263323307037, -0.19907249510288239, -0.39958563446998596, -0.08178076893091202, -0.09609450399875641, 0.08881163597106934, -0.254550039768219, 0.5836539268493652, -0.43226343393325806, -0.2800324857234955, 0.6065713167190552, 0.20940282940864563, 0.14113491773605347, 0.06181768327951431, -0.21450458467006683, -0.04515843093395233, 0.25625479221343994, -0.2689487338066101, 0.7584025859832764, 0.136827751994133, -0.3754555881023407, 0.6445232629776001, 0.5031095743179321, 0.0876791849732399, -0.08680704236030579, 0.03888744115829468, 1.0651793479919434, -0.1875154674053192, -0.16805347800254822, -0.9395357966423035, 0.5078413486480713, -0.26722314953804016, -0.5026997923851013, 0.6602570414543152, 0.4800586402416229, 1.1327998638153076, 0.055740777403116226, 0.8822029829025269, 0.015300870873034, 0.43194296956062317, -0.5712454319000244, 0.606174111366272, -0.6213275790214539, 0.34053322672843933, -0.4979148805141449, -0.5908271074295044, -0.43817824125289917, 0.4895045757293701, -0.3058379888534546, -0.39339014887809753, 0.6653116941452026, 0.761096179485321, -0.1967158317565918, 0.06891992688179016, 0.523750364780426, 0.04996020346879959, 0.6271178722381592, 0.3673388659954071, 0.932121992111206, -0.14014814794063568, 0.5990280508995056, -0.6079127192497253, -0.46277832984924316, -0.2789675295352936, -1.1541001796722412, -1.2539466619491577, -0.526357114315033, -0.3056941330432892, -0.07824781537055969, -0.27327829599380493, 1.5057482719421387, 0.8784328103065491, -0.9617424607276917, -0.4147394597530365, 0.31899699568748474, 0.23586179316043854, -0.5356853008270264, -0.13205072283744812, 0.6640020608901978, -0.496952086687088, -0.970892608165741, 0.8661869764328003, 0.030856486409902573, -0.0653819590806961, -0.17190735042095184, -0.18473570048809052, -0.15904267132282257, -0.2302945852279663, 0.6501548290252686, 0.2227264791727066, -0.6581196188926697, -0.45818033814430237, -0.32059404253959656, 0.2830730974674225, 0.0176085252314806, 0.9607841968536377, -0.8340694308280945, 0.5703343152999878, 0.5203657150268555, 0.7203611731529236, 0.6918814182281494, -0.10285890102386475, 0.5018144845962524, -0.8863966464996338, 0.2550305128097534, -0.03582615405321121, 0.47861313819885254, 0.08543358743190765, -0.42908093333244324, 0.41080614924430847, -0.020258266478776932, -0.5814990997314453, -0.6621400117874146, 0.08831916004419327, -0.620036244392395, -0.28570905327796936, 1.5041629076004028, -0.1967695653438568, -0.06877722591161728, -0.15205921232700348, -0.23432470858097076, -0.06148093193769455, -0.5646567940711975, 0.4461797773838043, 0.45776695013046265, -0.5060619115829468, -0.03964094817638397, -0.7051443457603455, 0.7582888007164001, 0.20577479898929596, -0.5764094591140747, -0.20925825834274292, 0.2654503285884857, 0.4035886228084564, -0.17629723250865936, 0.27088192105293274, -0.09359556436538696, -0.045934222638607025, -0.5763716101646423, -0.11292506009340286, -0.03845730051398277, -0.3415519893169403, -0.62201327085495, 0.3421971797943115, 0.28773194551467896, -0.0662410780787468 ]
http://arxiv.org/abs/2402.11746v1
http://arxiv.org/pdf/2402.11746v1
Language Models are Homer Simpson! Safety Re-Alignment of Fine-tuned Language Models through Task Arithmetic
2024-02-19T00:18:09
2024-02-19T00:18:09
Rishabh Bhardwaj, Do Duc Anh, Soujanya Poria
cs.CL
cs.CL, cs.AI
Aligned language models face a significant limitation as their fine-tuning often results in compromised safety. To tackle this, we propose a simple method RESTA that performs LLM safety realignment. RESTA stands for REstoring Safety through Task Arithmetic. At its core, it involves a simple arithmetic addition of a safety vector to the weights of the compromised model. We demonstrate the effectiveness of RESTA in both parameter-efficient and full fine-tuning, covering a wide range of downstream tasks, including instruction following in Chinese, English, and Hindi, as well as problem-solving capabilities in Code and Math. We also showcase the generalizability of RESTA on three existing safety evaluation benchmarks and a multilingual benchmark dataset proposed as a part of this work, consisting of 550 harmful questions covering 11 categories, each with 5 sub-categories of harm. Overall, RESTA decreases the harmfulness of the compromised model from 18.6% to 5.1% and from 9.2% to 1.5% in parameter-efficient and full fine-tuning, respectively, while maintaining most of the model's performance on the task. We release the source codes at: https://github.com/declare-lab/resta.
[ 0.17633163928985596, -0.8834097385406494, 0.48948535323143005, 0.13593555986881256, -0.2982434034347534, 0.09655012935400009, -0.1685234159231186, -0.5578752160072327, 0.09261263906955719, 0.5446341037750244, -0.5311486721038818, -0.5417299270629883, -0.6676938533782959, -0.04164305701851845, -0.29844361543655396, 0.8335908651351929, -0.19216907024383545, 0.11700326949357986, 0.09167051315307617, -0.0008768226252868772, -0.6898322701454163, -0.5495028495788574, -0.7371795773506165, -0.06884398311376572, 0.8067896366119385, 0.3699672520160675, 0.9057452082633972, 1.0283995866775513, 0.7899069786071777, 0.41782134771347046, -0.010045618750154972, 0.0290203969925642, -0.6659881472587585, 0.03247363492846489, -0.24276778101921082, -0.4861888587474823, -0.5124489665031433, -0.17746716737747192, 0.43237927556037903, 0.7720686197280884, -0.4104754328727722, 0.25144335627555847, -0.3139338791370392, 0.9119915962219238, -0.9263991117477417, 0.058882713317871094, -0.5861213207244873, -0.21663643419742584, -0.10275298357009888, -0.04605682194232941, -0.529887318611145, -0.609217643737793, -0.24505367875099182, -0.551325798034668, -0.32187530398368835, 0.19364386796951294, 0.9759517312049866, 0.6832849383354187, -0.3966107666492462, 0.11057019978761673, -0.5944360494613647, 0.9955787658691406, -0.8613411784172058, 0.7380241751670837, 0.2610708773136139, 0.3291146457195282, -0.35799330472946167, -0.3082141578197479, -0.4920574724674225, 0.05993659421801567, 0.05332885682582855, -0.1804078370332718, -0.10388532280921936, 0.023403728380799294, 0.07322262972593307, 0.09274563193321228, -0.5310676097869873, 0.1948845535516739, -0.44458743929862976, -0.16941401362419128, 0.784430742263794, 0.30463913083076477, 0.8537833094596863, 0.1614282876253128, -0.2517143785953522, -0.16275283694267273, -1.090375304222107, 0.07020062208175659, 0.406337171792984, 0.6644973158836365, -0.13894109427928925, 0.5735700130462646, -0.2811407446861267, 0.8806782960891724, -0.11398288607597351, -0.39912867546081543, 0.2522454857826233, -0.28050878643989563, -0.43315112590789795, 0.1583210974931717, 0.7111829519271851, 0.5018975734710693, 0.39809027314186096, -0.2953474521636963, -0.15057440102100372, -0.0018439776031300426, 0.7066174149513245, -0.6844773292541504, 0.1258532702922821, 0.07670663297176361, -0.21887651085853577, -0.35649678111076355, -0.35499051213264465, -0.40114638209342957, -0.07300067692995071, -0.6089833378791809, 0.4351659417152405, -0.48003003001213074, -0.26944342255592346, 0.44395893812179565, 0.5149092078208923, 0.2954396605491638, 0.06520271301269531, -1.1498788595199585, 0.07916919887065887, 1.2249678373336792, 0.5869471430778503, 0.047165073454380035, -0.3100329041481018, -0.44784659147262573, 0.19437438249588013, -0.601184606552124, 0.5959606170654297, -0.6584814190864563, -0.1862650364637375, 0.0709780603647232, 0.3100876808166504, -0.3044906556606293, -0.35958075523376465, 0.7138493061065674, -0.6559048891067505, 0.17611004412174225, -0.19892406463623047, -0.2885392904281616, -0.4759775996208191, 0.22208021581172943, -0.5688779354095459, 0.7214177846908569, -0.09526485204696655, -0.6640328168869019, 0.016647696495056152, -0.02778223529458046, -0.7292976379394531, -0.5204660296440125, 0.05107424780726433, -0.5644857883453369, -0.07873943448066711, 0.10284634679555893, 0.08441228419542313, -0.1193297728896141, 0.2988324761390686, -0.2875592112541199, -0.3585643768310547, 0.14552035927772522, -0.34229740500450134, 0.8456577062606812, 0.25038355588912964, -0.07995493710041046, 0.31664443016052246, -0.6639015674591064, 0.1697666198015213, -0.04798748716711998, -0.4942067861557007, -0.628392219543457, -0.01972959376871586, -0.2804630994796753, 0.25631552934646606, 0.4578644037246704, -0.5671625137329102, -0.03991687297821045, -0.7312095165252686, 0.0107822734862566, 0.6878246068954468, -0.05073348805308342, 0.2538444697856903, -0.4515165388584137, 0.4924199879169464, -0.16724038124084473, 0.14669586718082428, 0.16187255084514618, -0.3498089611530304, -0.7922589182853699, -0.2974683940410614, 0.34532609581947327, 0.8742111325263977, -0.48308274149894714, 0.509638249874115, -0.3908016085624695, -0.5021466016769409, -0.8396645188331604, 0.07056494057178497, 0.9342793226242065, 0.7133175134658813, 0.37603485584259033, -0.16396787762641907, -0.5756162405014038, -0.9016187191009521, -0.48658424615859985, -0.2662269175052643, 0.027915850281715393, -0.24939772486686707, -0.006787769962102175, -0.2688470482826233, 0.46963512897491455, -0.34028562903404236, -0.06549406796693802, -0.12839137017726898, -0.007030893117189407, 0.01902146264910698, 0.7033373713493347, 0.30665332078933716, -0.49199509620666504, -0.31315675377845764, -0.06489092111587524, -0.7113456726074219, -0.25490206480026245, -0.11280135810375214, -0.48019954562187195, 0.35753870010375977, 0.31423768401145935, -0.5064792037010193, 0.2050725817680359, 0.6230243444442749, -0.3137819468975067, 0.33924198150634766, 0.024338698014616966, 0.2548859119415283, -1.3902692794799805, -0.08239980041980743, -0.05466867983341217, -0.307995080947876, -0.8599473834037781, 0.49898678064346313, 0.1952238827943802, -0.09291929751634598, -0.646324098110199, 0.28403112292289734, -0.37049970030784607, 0.16571907699108124, -0.45514506101608276, 0.182540163397789, -0.2614120841026306, 0.4882362484931946, -0.19081246852874756, 0.7244902849197388, 0.5769559144973755, -0.5290234684944153, 0.018235381692647934, 0.1807318776845932, -0.1788177341222763, 0.3188254237174988, -0.5738614201545715, 0.057756174355745316, -0.04050751030445099, -0.17362995445728302, -0.903107762336731, -0.12313572317361832, 0.3822402060031891, -0.28403738141059875, 0.5816838145256042, -0.27716949582099915, -0.12691614031791687, 0.2980327308177948, -0.12577089667320251, 0.6637922525405884, 0.611399233341217, -0.4122714400291443, 0.6268696188926697, 0.7893680930137634, -0.42066290974617004, -0.943943977355957, -0.575206995010376, 0.02309776470065117, -0.16494596004486084, -0.8104065656661987, 0.11900132149457932, 0.22314630448818207, -0.44616764783859253, -0.039328064769506454, -0.33435165882110596, -0.041327767074108124, 0.27737152576446533, 0.3483198881149292, 0.4873502552509308, -0.10824820399284363, -0.0753425881266594, 0.12858787178993225, -0.48699167370796204, 0.10008561611175537, 0.3391660749912262, 0.3105151653289795, -0.10356089472770691, -0.6002766489982605, -0.5555847883224487, 0.24153465032577515, 0.46460914611816406, -0.2963005304336548, 0.659460186958313, 0.07193988561630249, -0.5987978577613831, 0.18974994122982025, -0.43552476167678833, -0.1371299773454666, -0.5224730372428894, 0.3861094117164612, -0.25510555505752563, -0.8681842088699341, 0.3893079459667206, 0.07096762210130692, 0.5857645869255066, 0.3177153170108795, 0.5755119323730469, 0.12319986522197723, 1.1043524742126465, 0.7585289478302002, -0.2313680201768875, 0.39176222681999207, 0.3065136969089508, 0.76183021068573, -0.5528152585029602, -0.16413359344005585, -0.6471073031425476, -0.31212741136550903, -0.5172160863876343, -0.4970887005329132, 0.18800237774848938, 0.093607097864151, -0.31063008308410645, 0.5961840152740479, -0.396317720413208, 0.5747571587562561, 0.3051387071609497, 0.15865406394004822, 0.34536436200141907, -0.10763225704431534, 0.29266056418418884, -0.14778748154640198, -0.419599324464798, -0.8059101104736328, 0.861931324005127, 0.4564070999622345, 1.0573697090148926, 0.43991315364837646, 0.9348807334899902, -0.17138782143592834, 0.49899113178253174, -0.7489204406738281, 0.7709479928016663, -0.27988389134407043, -0.5081063508987427, -0.46761295199394226, -0.533935546875, -0.8948241472244263, 0.4308188259601593, -0.14044906198978424, -0.6127736568450928, 0.04226120188832283, 0.07291810214519501, -0.5220770239830017, 0.2810610830783844, -0.9084998369216919, 0.8800943493843079, -0.4865861237049103, -0.2156241536140442, -0.5836330056190491, -0.5149626731872559, 0.7049850821495056, -0.06205615773797035, 0.48133689165115356, -0.5259878635406494, -0.0860549807548523, 0.6894992589950562, -0.4719298481941223, 1.0417336225509644, 0.08860881626605988, -0.5964059829711914, 0.052183255553245544, 0.29750528931617737, 0.6332254409790039, -0.26377934217453003, 0.026081997901201248, 0.19925746321678162, 0.21896852552890778, -0.40474092960357666, -0.6001594066619873, 0.8603951930999756, -0.5520625710487366, -0.8662477731704712, -0.4541153013706207, -0.7288167476654053, -0.4016875922679901, 0.5335333347320557, -0.38770127296447754, 0.35655462741851807, 0.023655058816075325, -0.054382845759391785, 0.5404049158096313, -0.21332533657550812, 0.48893219232559204, 0.9835147261619568, -0.06688280403614044, -0.3515329658985138, 1.1366554498672485, -0.04766815900802612, 0.32451528310775757, 0.493012934923172, -0.12999972701072693, -0.32043102383613586, -0.5247461795806885, -0.6372449398040771, 0.2848988175392151, -0.6484128832817078, -0.3015695810317993, -0.4635055959224701, -0.04429501295089722, -0.3948538899421692, -0.249030202627182, -0.5561772584915161, -0.661553144454956, -0.07383106648921967, -0.3588085174560547, 0.07986674457788467, 0.41971585154533386, 0.02291039377450943, 0.08044954389333725, -0.9209117293357849, 0.3930360972881317, 0.21681638062000275, 0.5778833031654358, -0.2214568853378296, -0.5921551585197449, -0.2766770124435425, 0.15239238739013672, -0.09591406583786011, -0.6520307660102844, 0.2914799153804779, -0.08846231549978256, 0.38323506712913513, 0.26783421635627747, 0.20087884366512299, 0.8451964259147644, -0.8679670095443726, 0.41458138823509216, 0.28040409088134766, -0.6822726726531982, 0.10015690326690674, -0.10427369177341461, -0.07781833410263062, 0.6621748805046082, 0.3069373667240143, -0.6137784719467163, -0.56510990858078, -0.21702063083648682, -0.9334244728088379, 0.4413769543170929, 0.010887589305639267, 0.30881789326667786, -0.05215604975819588, 0.18116119503974915, -0.03837982192635536, -0.22656647861003876, -0.5221936106681824, -0.07388695329427719, 0.06982447952032089, -0.5942320823669434, 0.3827282786369324, -0.4440995454788208, -0.567959189414978, 0.11056238412857056, 1.0104260444641113, 0.02698010765016079, -0.1596754789352417, -0.2817036211490631, -0.06988321244716644, -0.4408664405345917, 0.5908285975456238, 0.8133410811424255, 0.8001781105995178, -0.15026983618736267, 0.2815420627593994, 0.2253497838973999, -0.3574810028076172, 0.3260064125061035, 0.19006489217281342, -0.2989935874938965, -0.2806273102760315, 0.43302303552627563, 0.47992923855781555, 0.6980749368667603, -0.8873099684715271, 0.09855891019105911, -0.13788150250911713, 0.16243460774421692, 0.03621231019496918, 0.408498078584671, 0.1378723531961441, 0.04048101231455803, 0.06310374289751053, -0.16930188238620758, -0.14204563200473785, -0.44869571924209595, 0.3654094636440277, 0.4063800275325775, -0.17500343918800354, -0.37435382604599, 0.7694437503814697, 0.4672030806541443, -0.5507757663726807, 0.2370476871728897, 0.02995937503874302, -0.367577463388443, 0.46749043464660645, 0.6404918432235718, 1.0584224462509155, -0.2707262337207794, -0.13550782203674316, 0.5317865014076233, 0.6424111723899841, -0.19692440330982208, 0.6495150327682495, 0.678059995174408, -0.7006031274795532, -0.6997056603431702, -0.6876224279403687, -0.4688986837863922, -0.23221659660339355, -0.5150421857833862, -0.08072353899478912, -0.47330373525619507, 0.002818390494212508, -0.1982678771018982, -0.28791213035583496, 0.00117215933278203, 0.3477821350097656, 0.0929945781826973, 0.8081022500991821, -0.8906817436218262, 0.7075220942497253, 0.6338424682617188, -0.45154696702957153, -1.0108485221862793, 0.02359296940267086, 0.005500711500644684, -0.9421139359474182, 0.343191921710968, 0.14138826727867126, -0.4287422299385071, -0.07184725999832153, -0.37774425745010376, -1.1912097930908203, 0.7827288508415222, 0.7577998042106628, -1.0201245546340942, 0.10814981162548065, 0.3067677915096283, 0.6041198968887329, -0.08972006291151047, -0.14980269968509674, 0.6406941413879395, 0.3435978591442108, -0.17472490668296814, -1.0085678100585938, 0.4871445298194885, -0.07072731852531433, -0.08992871642112732, 0.37637263536453247, -0.7270351052284241, 0.4881705939769745, -0.47596508264541626, -0.5352223515510559, -0.023266034200787544, 0.6852354407310486, 0.5541090965270996, 0.15411731600761414, 0.5738310217857361, 1.0437475442886353, 0.6121073365211487, -0.2824440598487854, 1.0046656131744385, -0.672786295413971, 0.23185212910175323, 1.0695838928222656, -0.1411464363336563, 1.012067437171936, 0.6213932633399963, -0.23249433934688568, 0.4293636381626129, 0.6371414661407471, 0.6501685976982117, 0.557472288608551, -0.021075904369354248, -0.20093397796154022, -0.5165697932243347, -0.04149523004889488, -0.30449432134628296, 0.06008080765604973, 0.10091941058635712, -0.0531056709587574, -0.22845673561096191, -0.3909345865249634, 0.35192224383354187, 0.1310470998287201, -0.15642592310905457, 0.7661111354827881, 0.22898639738559723, -0.7919477224349976, 0.9401956796646118, 0.20857107639312744, 0.33313706517219543, -0.4025336503982544, -0.03949497640132904, -0.38129183650016785, 0.31623250246047974, -0.2516344487667084, -0.7143099308013916, 0.5906754732131958, 0.0641247108578682, -0.12563396990299225, -0.1605244129896164, 0.5420774817466736, -0.7502222657203674, -0.7279683351516724, 0.10315360128879547, 0.08008536696434021, 0.04387904331088066, 0.30732160806655884, -0.6602562069892883, 0.1611713320016861, 0.03824303299188614, -0.11314339190721512, 0.5256262421607971, 0.3616528809070587, -0.2520065903663635, 1.0474234819412231, 0.6542726755142212, -0.11293213814496994, 0.25904393196105957, 0.11838823556900024, 0.7689084410667419, -0.7404397130012512, -0.41779306530952454, -0.8452460765838623, 0.4913524389266968, 0.36936795711517334, -0.004418977070599794, 0.6492312550544739, 0.5645464062690735, 0.934742271900177, -0.03484189882874489, 0.6639026999473572, -0.10331927984952927, 0.5248775482177734, -0.704251229763031, 0.6320206522941589, -0.591842770576477, 0.26518023014068604, -0.08774113655090332, -0.5073585510253906, -0.44040194153785706, 0.39233142137527466, -0.4159504175186157, -0.262470006942749, 0.462283730506897, 1.0751420259475708, -0.10813333839178085, -0.23869143426418304, 0.32394081354141235, -0.009121192619204521, 0.43585193157196045, 0.5542412996292114, 0.47161686420440674, -0.48483166098594666, 0.5751543045043945, -0.4947061538696289, -0.12508103251457214, -0.21942657232284546, -0.783007025718689, -0.7352386116981506, -0.1937449723482132, -0.40476542711257935, -0.2706484794616699, 0.20304450392723083, 0.8487804532051086, 0.6645703911781311, -1.197089433670044, -0.01397642120718956, 0.1709573119878769, 0.5024413466453552, -0.39107945561408997, -0.1394074410200119, 0.4019428491592407, -0.7002786993980408, -0.8865665197372437, 0.6594553589820862, 0.34385862946510315, -0.07669872790575027, -0.06839846819639206, -0.17148688435554504, -0.222358837723732, 0.19914168119430542, 0.34769344329833984, 0.6029545664787292, -0.8067622184753418, -0.5519821047782898, -0.1727433204650879, -0.4130657911300659, -0.2520211935043335, 0.6254538297653198, -0.12792286276817322, 0.47897106409072876, 0.6992967128753662, 1.1437402963638306, -0.36807140707969666, 0.5314623117446899, 0.8791868686676025, -0.7460344433784485, 0.2470865696668625, -0.0623646005988121, 0.6050137877464294, 0.4303959608078003, -0.39658960700035095, 0.6603009700775146, 0.010494422167539597, -0.5899828672409058, -1.0183252096176147, 0.33897465467453003, -0.9562695622444153, -0.0766461193561554, 1.0842019319534302, -0.09576619416475296, -0.40942659974098206, -0.12321297824382782, -0.33910444378852844, 0.4595256745815277, -0.26047155261039734, 1.3326115608215332, 0.4085370600223541, -0.01666215993463993, -0.17985869944095612, -0.3039608597755432, 0.48717543482780457, 0.7752223610877991, -0.9324955940246582, 0.3912540376186371, 0.4667743742465973, 0.5297449231147766, 0.10386724770069122, 0.405878484249115, -0.16883376240730286, 0.35019221901893616, -0.42847684025764465, 0.23743391036987305, -0.14734293520450592, -0.27641838788986206, -0.2019498646259308, -0.06369853764772415, 0.06169411167502403, -0.4746449589729309 ]
http://arxiv.org/abs/2402.11744v2
http://arxiv.org/pdf/2402.11744v2
Machine-Generated Text Localization
2024-02-19T00:07:28
2024-06-10T19:20:20
Zhongping Zhang, Wenda Qin, Bryan A. Plummer
cs.CL
cs.CL
Machine-Generated Text (MGT) detection aims to identify a piece of text as machine or human written. Prior work has primarily formulated MGT detection as a binary classification task over an entire document, with limited work exploring cases where only part of a document is machine generated. This paper provides the first in-depth study of MGT that localizes the portions of a document that were machine generated. Thus, if a bad actor were to change a key portion of a news article to spread misinformation, whole document MGT detection may fail since the vast majority is human written, but our approach can succeed due to its granular approach. A key challenge in our MGT localization task is that short spans of text, e.g., a single sentence, provides little information indicating if it is machine generated due to its short length. To address this, we leverage contextual information, where we predict whether multiple sentences are machine or human written at once. This enables our approach to identify changes in style or content to boost performance. A gain of 4-13% mean Average Precision (mAP) over prior work demonstrates the effectiveness of approach on five diverse datasets: GoodNews, VisualNews, WikiText, Essay, and WP. We release our implementation at https://github.com/Zhongping-Zhang/MGT_Localization.
[ -0.3324701488018036, -1.1258352994918823, 0.6486347913742065, -0.030507855117321014, -0.34818097949028015, -0.0782032459974289, -0.3097211718559265, -0.43867507576942444, 0.18310904502868652, 0.38080859184265137, -0.5151826739311218, -0.7261359691619873, -0.7244637608528137, 0.19187161326408386, -0.27545925974845886, 1.0892428159713745, -0.20887070894241333, -0.395744651556015, 0.10204589366912842, 0.17647258937358856, -0.556262731552124, -0.7779443860054016, -0.6967664361000061, -0.2310202568769455, 0.46684446930885315, 0.2944224774837494, 0.6403557658195496, 0.7335240244865417, 0.5848367810249329, 0.2061718851327896, 0.003435604739934206, 0.41283994913101196, -0.37083911895751953, -0.09642679989337921, -0.04539197310805321, -0.2823432385921478, -0.019169427454471588, -0.13639867305755615, 0.663130521774292, 0.2726270258426666, 0.2919803559780121, -0.10087919235229492, 0.016930345445871353, 0.46638432145118713, -0.40874233841896057, -0.05331990867853165, -0.6281042098999023, 0.17165665328502655, -0.43078529834747314, -0.3102818429470062, -0.5263354778289795, -0.20807261765003204, -0.03048725239932537, -0.44170182943344116, 0.6590410470962524, -0.09293793886899948, 0.8949843049049377, 0.17055532336235046, -0.690525233745575, -0.5350282788276672, -0.6852865815162659, 0.5591535568237305, -0.6078202128410339, 0.07057146728038788, 0.37330758571624756, 0.14431755244731903, -0.3392370045185089, -0.6334182620048523, -0.5063101649284363, -0.03693457320332527, -0.4166114926338196, 0.060027074068784714, -0.2363014817237854, -0.1943986713886261, 0.24496209621429443, 0.201436385512352, -0.7795795798301697, -0.19692565500736237, -0.2447027713060379, -0.48924800753593445, 0.4347490966320038, -0.21183162927627563, 0.5439664721488953, -0.3498521149158478, -0.43765681982040405, 0.1645561158657074, -0.31963086128234863, -0.2720882296562195, 0.2866339087486267, 0.36079466342926025, 0.019984673708677292, 0.43169817328453064, -0.22053273022174835, 0.7705907225608826, 0.017582999542355537, -0.4274787902832031, 0.18770429491996765, -0.38340744376182556, -0.13255491852760315, 0.39503365755081177, 0.9662811160087585, 0.20310121774673462, 0.17158058285713196, -0.18338850140571594, -0.3942995071411133, -0.13409605622291565, 0.3344617486000061, -0.8195690512657166, -0.041382964700460434, -0.17988073825836182, -0.36226534843444824, -0.2820851802825928, 0.4107062816619873, -0.1357385367155075, -0.5402421355247498, -0.47478967905044556, 0.63343745470047, -0.48457279801368713, -0.14017154276371002, 0.08809458464384079, -0.07272791117429733, -0.08487334102392197, 0.014950983226299286, -0.7691326141357422, -0.4097227156162262, 0.5678760409355164, 1.0830464363098145, -0.2006276398897171, -0.5213309526443481, -0.23563657701015472, 0.27231091260910034, -0.3020639419555664, 1.0525940656661987, -0.0565669946372509, -0.29545965790748596, -0.0216895192861557, 0.16825152933597565, -0.2929179072380066, -0.46156227588653564, 0.7219672799110413, -0.1573851853609085, 0.3654686212539673, -0.3826289474964142, -0.16437400877475739, -0.05627291649580002, 0.5383030772209167, -0.5802053809165955, 1.0839581489562988, 0.32440394163131714, -1.1626009941101074, 0.6150681972503662, -0.8699804544448853, -0.8996832966804504, -0.2602076232433319, 0.20780189335346222, -0.7123533487319946, 0.05299227684736252, 0.5160906910896301, 0.5477441549301147, 0.3098997473716736, 0.33860498666763306, 0.1596350222826004, -0.6434017419815063, 0.13298429548740387, -0.6599504947662354, 0.3850448727607727, 0.23906077444553375, -0.4659976363182068, 0.03019856847822666, -0.4864002466201782, -0.2963939607143402, 0.04619926959276199, -0.4359120726585388, -0.29081472754478455, -0.062011633068323135, 0.234147310256958, 0.2092398703098297, 0.2905957102775574, -0.3873583972454071, 0.4237075746059418, -0.13133551180362701, 0.24607393145561218, 0.526901364326477, 0.18762706220149994, 0.35686370730400085, -0.12936927378177643, 0.40992841124534607, 0.13729281723499298, 0.09063316881656647, -0.42284923791885376, -0.42746788263320923, -0.550790548324585, -0.2287895828485489, 0.2802369296550751, 0.7219257354736328, -1.035284399986267, 0.23701205849647522, -0.2699911892414093, -0.2987156808376312, -0.15711721777915955, -0.008438902907073498, 0.29822054505348206, 0.4416166841983795, 0.25697264075279236, -0.06705290824174881, -0.6422865390777588, -0.7863216996192932, -0.4765739440917969, -0.011931768618524075, -0.13272084295749664, -0.14122305810451508, 0.5965635776519775, -0.5651612877845764, 1.204352855682373, -0.6125006079673767, -0.45028477907180786, -0.15387728810310364, 0.782436728477478, -0.041953589767217636, 0.2936597764492035, 0.565119743347168, -0.7902776598930359, -0.5380109548568726, 0.3921695053577423, -0.9639392495155334, -0.2944124937057495, -0.2990066409111023, -0.16322249174118042, 0.3389522135257721, 0.5894975662231445, -0.46919795870780945, 0.5355579853057861, 0.374500036239624, -0.33308035135269165, 0.46218299865722656, -0.24748672544956207, 0.39024537801742554, -1.4892489910125732, -0.054245155304670334, 0.0031479618046432734, -0.36962437629699707, -0.6734052300453186, -0.1370997577905655, 0.06154424324631691, -0.2896558344364166, -0.27277928590774536, 0.4224499464035034, -0.632266104221344, -0.10671548545360565, -0.5418445467948914, 0.32199984788894653, -0.07722996175289154, 0.33136996626853943, -0.06905233860015869, 1.1036146879196167, -0.09632766991853714, -0.28656071424484253, -0.009358708746731281, -0.1156391128897667, -0.24501797556877136, 0.7372090816497803, -0.22443971037864685, 0.32927238941192627, -0.27536800503730774, 0.38648274540901184, -0.8680801391601562, -0.3504464030265808, 0.2909049689769745, -0.7310139536857605, 0.08003877103328705, -0.32521477341651917, -0.8280530571937561, -0.24240341782569885, 0.05685466527938843, 0.11866941303014755, 0.09386065602302551, -0.36498579382896423, 0.38453158736228943, 0.2721428871154785, -0.12954308092594147, -0.36447203159332275, -0.6863294839859009, 0.32014381885528564, -0.09082170575857162, -0.7946034073829651, 0.2240825593471527, 0.17505234479904175, 0.048639994114637375, -0.15767580270767212, -0.062491003423929214, -0.28757938742637634, 0.16395625472068787, 0.07513703405857086, -0.10512643307447433, -0.46195706725120544, 0.31247514486312866, 0.1380520462989807, -0.2747345566749573, -0.16313336789608002, -0.5951047539710999, 0.3982669413089752, 0.0021306134294718504, -0.282404363155365, -0.35914942622184753, 0.4181723892688751, 0.5139070153236389, -0.307285338640213, 0.6316595673561096, 1.428726315498352, -0.5715072154998779, 0.11754975467920303, -0.3084902763366699, 0.08005727827548981, -0.38759878277778625, 0.16765987873077393, -0.3727680444717407, -0.8052932024002075, 0.3162897825241089, 0.016511008143424988, -0.22557057440280914, 0.605636715888977, 0.32204800844192505, 0.10738545656204224, 1.0312600135803223, 0.7992427945137024, -0.4157639145851135, 0.65128493309021, -0.008147054351866245, 0.5918229222297668, -0.38513126969337463, 0.1007421687245369, -0.47331148386001587, -0.25801602005958557, -0.4644899368286133, -0.4797793924808502, 0.3736923635005951, 0.26957690715789795, 0.15500366687774658, 0.5185991525650024, -0.792019784450531, 0.8111099600791931, 0.5899967551231384, 0.17682236433029175, 0.29471349716186523, -0.04365484043955803, -0.12262675166130066, 0.06843763589859009, -0.42238110303878784, -0.7947402000427246, 0.7250922322273254, 0.022251740097999573, 0.3036405146121979, 0.05777836963534355, 0.7745020985603333, 0.6522796750068665, 0.5134291052818298, -0.6599328517913818, 0.22785866260528564, -0.0493866503238678, -0.4162123203277588, -0.32077348232269287, -0.4592830538749695, -1.0507363080978394, 0.2776282727718353, -0.07937218248844147, -0.6569687724113464, -0.3618827760219574, -0.025918368250131607, -0.06414181739091873, 0.4934369623661041, -1.08685302734375, 1.1367416381835938, 0.008158323355019093, 0.059004127979278564, 0.44796237349510193, -0.6257379651069641, 0.12191648781299591, -0.23131097853183746, 0.2205127477645874, 0.05294506996870041, 0.20559442043304443, 0.5226115584373474, -0.12050279974937439, 0.715955913066864, -0.17781049013137817, -0.2813171148300171, 0.47436949610710144, 0.08505670726299286, 0.6865311861038208, -0.061273034662008286, 0.050471577793359756, 0.08016528189182281, -0.25776538252830505, -0.48102957010269165, -0.4445239305496216, 0.588264524936676, -0.3759297728538513, -0.0908568874001503, -0.3371632993221283, -0.5920379161834717, 0.1583448201417923, 0.6422385573387146, 0.7752183675765991, 0.3160974681377411, -0.23348647356033325, -0.007362447679042816, 0.7994688153266907, 0.03127623349428177, 0.6012745499610901, 0.3071172833442688, -0.16376332938671112, -0.37804949283599854, 0.9995202422142029, 0.10495451092720032, -0.0807492807507515, 0.6653648614883423, 0.19761008024215698, -0.09096043556928635, -0.5907543897628784, -0.6781180500984192, -0.09209500998258591, -0.7012963891029358, -0.061085060238838196, -0.5264434814453125, -0.04739433899521828, -0.4428085386753082, -0.6352134346961975, -0.10052409768104553, 0.10225797444581985, -0.5231488347053528, -0.10570813715457916, -0.03435884043574333, 0.829755961894989, 0.04065190255641937, 0.8497651815414429, -0.5833569169044495, 0.30775806307792664, -0.0728287547826767, 0.038642074912786484, -0.516168475151062, -0.26344385743141174, -0.5642027854919434, 0.02902846969664097, -0.35349032282829285, -0.7815879583358765, 0.3803147077560425, -0.3443543314933777, 0.21596841514110565, 0.4294763207435608, -0.1810189187526703, 0.47830721735954285, -0.3349005877971649, 0.8832700848579407, -0.03429993987083435, -0.8916064500808716, 0.7233816385269165, -0.7455037832260132, 0.7220776677131653, 0.4865662753582001, 0.15875166654586792, -0.8282320499420166, -0.3167516887187958, -0.23103559017181396, -0.5110942125320435, 0.46601590514183044, 0.3738441467285156, 0.10536538064479828, -0.21304799616336823, 0.35558947920799255, -0.02629692852497101, 0.02925232984125614, -0.7608463168144226, 0.06972455233335495, 0.03952448070049286, -0.28880301117897034, -0.2745975852012634, -0.13331057131290436, 0.253408819437027, 0.10546450316905975, 0.6414491534233093, -0.3712918162345886, 0.49206453561782837, 0.41138339042663574, -0.5635697245597839, 0.1344163864850998, 0.27644407749176025, 1.1419728994369507, 0.6660273671150208, -0.13073097169399261, 0.20039135217666626, 0.03481803834438324, -0.6778290271759033, 0.00853168498724699, 0.05246082693338394, -0.4611837863922119, 0.5691317319869995, 0.4563342034816742, 0.6413185000419617, 0.07128787785768509, -0.10525814443826675, 0.6451848745346069, 0.1313452273607254, -0.10102424025535583, -0.11004011332988739, -0.35183724761009216, -0.22653630375862122, 0.050436027348041534, 0.3782615065574646, 0.1681542694568634, 0.19396179914474487, -0.4773351848125458, 0.3875235915184021, 0.2991173565387726, -0.7355221509933472, -0.2734968364238739, 0.5477871894836426, 0.11873844265937805, -0.47583121061325073, 0.39743557572364807, -0.49307823181152344, -0.8688320517539978, 0.5601003170013428, 0.6966854333877563, 0.969315767288208, 0.04536709934473038, 0.3243160843849182, 0.30433374643325806, 0.7247667908668518, -0.14775007963180542, -0.14284534752368927, 0.005444178823381662, -0.5389940142631531, -0.2761557400226593, -0.38863664865493774, -0.08921511471271515, 0.01606038399040699, -0.19657662510871887, 0.3642556369304657, -0.14702080190181732, -0.43089649081230164, -0.07128270715475082, 0.022540226578712463, -0.16113919019699097, 0.2625269591808319, 0.19963674247264862, 0.44812875986099243, -0.8836902379989624, 0.606468141078949, 0.6068852543830872, -0.3312038779258728, -0.3568958640098572, 0.5146108269691467, 0.10569196939468384, -0.47085005044937134, 0.14816288650035858, 0.5152356624603271, -0.13021942973136902, -0.1374409943819046, -0.48050498962402344, -0.5857327580451965, 1.1910265684127808, 0.3642847239971161, -0.11145923286676407, 0.0567927248775959, 0.2780122756958008, 0.39354485273361206, -0.14923714101314545, -0.024955717846751213, 0.5454835891723633, 0.5543104410171509, -0.28652507066726685, -0.821690559387207, -0.06917302310466766, 0.0018380949040874839, 0.1101120188832283, 0.7051514387130737, -0.3767910301685333, 0.8859629034996033, -0.1300930231809616, -0.2238801270723343, -0.15887022018432617, 0.5232940912246704, -0.2082637995481491, 0.7003366351127625, 0.10056746006011963, 0.5521185398101807, 0.8929951786994934, -0.24820935726165771, 1.066794753074646, -0.010845703072845936, 0.5431528687477112, 0.9754700064659119, 0.16437000036239624, 0.44934582710266113, 0.3737756609916687, 0.25468000769615173, 0.35937726497650146, 0.7184216380119324, 0.11702874302864075, 0.24229560792446136, 0.17532603442668915, -0.4659656584262848, 0.051240887492895126, -0.05849974974989891, -0.31197160482406616, 0.2159261703491211, -0.16355673968791962, -0.6606525778770447, -0.1931447684764862, 0.269704669713974, 0.5048651099205017, -0.009055267088115215, -0.2997133135795593, 0.6633822321891785, -0.2728531062602997, -0.5434414744377136, 0.2858462929725647, 0.42417216300964355, 0.8395381569862366, -0.503228485584259, 0.12757942080497742, -0.2792881429195404, 0.20442986488342285, -0.22599662840366364, -0.733380138874054, 0.2814358174800873, -0.01099823135882616, -0.6266449689865112, -0.22244144976139069, 1.1984941959381104, -0.3331291973590851, -0.5639731884002686, -0.16264326870441437, 0.25371795892715454, 0.1967136561870575, -0.6048687100410461, -0.2713029682636261, -0.06664962321519852, 0.10482868552207947, -0.18567858636379242, 0.24163906276226044, 0.875901997089386, -0.27418434619903564, 0.30602914094924927, 0.8289428949356079, -0.34353187680244446, 0.07758230715990067, -0.016963040456175804, 0.34945815801620483, -0.5857618451118469, -0.5421789288520813, -0.9838941097259521, 0.3573615252971649, -0.13681180775165558, -0.445008784532547, 0.693001389503479, 0.8446211814880371, 0.9574517011642456, -0.2621084749698639, 0.9699992537498474, -0.061863746494054794, 0.1460193693637848, -0.5766780376434326, 0.9463748931884766, -0.36409860849380493, -0.1384856253862381, -0.3829527497291565, -0.8243528008460999, -0.5240797996520996, 0.4336109161376953, -0.462850421667099, -0.11464584618806839, 0.8930597305297852, 0.778743326663971, -0.2775720953941345, -0.2233683168888092, 0.48679307103157043, -0.2847192883491516, 0.18805423378944397, 0.3551005721092224, 0.5562657713890076, -0.5878822803497314, 0.7177569270133972, -0.13045427203178406, 0.04369301348924637, -0.3454008996486664, -0.9654819965362549, -0.87127286195755, -0.5851017832756042, -0.17426180839538574, -0.1924801915884018, -0.05469215288758278, 0.594151496887207, 0.7571709156036377, -0.5080391764640808, 0.11652599275112152, 0.048027925193309784, 0.2571376860141754, -0.18249419331550598, -0.2720833420753479, 0.3536178469657898, -0.23250657320022583, -0.534929633140564, 0.2982903718948364, 0.37915563583374023, 0.26436731219291687, 0.060601554811000824, 0.19096879661083221, -0.21202974021434784, 0.12880343198776245, 0.9287981390953064, 0.08047760277986526, -0.5414759516716003, -0.46256518363952637, -0.16600161790847778, -0.5024131536483765, 0.247168630361557, 0.9879217147827148, -0.4480011761188507, 0.46559903025627136, 0.4777641296386719, 0.5724846720695496, 0.39367395639419556, 0.20112349092960358, 0.2748245894908905, -1.1202197074890137, 0.01704682782292366, -0.13889573514461517, 0.15226885676383972, 0.5188086628913879, -0.7115844488143921, 0.6871737241744995, 0.47268253564834595, -0.5587729811668396, -0.6265758275985718, 0.12857569754123688, -0.8870884776115417, -0.24947932362556458, 1.1059167385101318, -0.005424712784588337, -0.1751808524131775, -0.09038792550563812, -0.8837158679962158, 0.45412135124206543, -0.24140992760658264, 0.6492787599563599, 0.7718948721885681, 0.14954906702041626, 0.05038686841726303, -0.7039296627044678, 0.2575637102127075, -0.17237910628318787, -1.0005005598068237, -0.20140379667282104, 0.5152632594108582, 0.3413315713405609, 0.3056318461894989, 0.7513405084609985, 0.12012103945016861, 0.06620669364929199, 0.03183181211352348, 0.12359187006950378, -0.10308757424354553, -0.3422563076019287, -0.18689751625061035, 0.19999782741069794, -0.2831202447414398, -0.2554623484611511 ]
http://arxiv.org/abs/2403.00784v1
http://arxiv.org/pdf/2403.00784v1
Utilizing BERT for Information Retrieval: Survey, Applications, Resources, and Challenges
2024-02-18T23:22:40
2024-02-18T23:22:40
Jiajia Wang, Jimmy X. Huang, Xinhui Tu, Junmei Wang, Angela J. Huang, Md Tahmid Rahman Laskar, Amran Bhuiyan
cs.IR
cs.IR, cs.AI, cs.CL
Recent years have witnessed a substantial increase in the use of deep learning to solve various natural language processing (NLP) problems. Early deep learning models were constrained by their sequential or unidirectional nature, such that they struggled to capture the contextual relationships across text inputs. The introduction of bidirectional encoder representations from transformers (BERT) leads to a robust encoder for the transformer model that can understand the broader context and deliver state-of-the-art performance across various NLP tasks. This has inspired researchers and practitioners to apply BERT to practical problems, such as information retrieval (IR). A survey that focuses on a comprehensive analysis of prevalent approaches that apply pretrained transformer encoders like BERT to IR can thus be useful for academia and the industry. In light of this, we revisit a variety of BERT-based methods in this survey, cover a wide range of techniques of IR, and group them into six high-level categories: (i) handling long documents, (ii) integrating semantic information, (iii) balancing effectiveness and efficiency, (iv) predicting the weights of terms, (v) query expansion, and (vi) document expansion. We also provide links to resources, including datasets and toolkits, for BERT-based IR systems. A key highlight of our survey is the comparison between BERT's encoder-based models and the latest generative Large Language Models (LLMs), such as ChatGPT, which rely on decoders. Despite the popularity of LLMs, we find that for specific tasks, finely tuned BERT encoders still outperform, and at a lower deployment cost. Finally, we summarize the comprehensive outcomes of the survey and suggest directions for future research in the area.
[ -0.5684911608695984, -0.6614170670509338, 0.42306894063949585, 0.25595924258232117, -0.14732129871845245, 0.09443841874599457, -0.46204107999801636, -0.43579602241516113, -0.012142213992774487, 0.3200651705265045, -0.3261139392852783, -0.2707309126853943, -0.6407431364059448, 0.10007629543542862, -0.7821206450462341, 0.8552350401878357, 0.16109968721866608, 0.1536751687526703, -0.13156434893608093, 0.0862220749258995, -0.3277331590652466, -0.8693971037864685, -0.3640010952949524, -0.36682623624801636, 0.6671110987663269, 0.23545151948928833, 0.6197848320007324, -0.08818186819553375, 1.039979338645935, 0.2093074768781662, -0.19278842210769653, -0.04616106301546097, -0.48089656233787537, 0.38621342182159424, 0.0922471284866333, -0.37043505907058716, 0.18059402704238892, -0.15987354516983032, 0.7434194087982178, 0.760844349861145, -0.15975865721702576, 0.005089018028229475, 0.17977279424667358, 0.8636887073516846, -0.6312800049781799, 0.04405556991696358, -0.5955584049224854, 0.14634186029434204, -0.41357421875, -0.15612652897834778, -0.6559663414955139, -0.5947995781898499, 0.6436802744865417, -0.2703372538089752, 0.3604659140110016, -0.06987310200929642, 0.8274638056755066, 0.168252632021904, -0.38457542657852173, -0.6756594777107239, -0.9361182451248169, 0.8960133194923401, -0.6206279993057251, 0.7272793054580688, 0.27322840690612793, 0.32883816957473755, -0.21189294755458832, -1.052445411682129, -0.5264738202095032, -0.24474191665649414, -0.1792106330394745, 0.1799221932888031, -0.2488504946231842, 0.17791327834129333, 0.1207650676369667, 0.3646397590637207, -0.5185188055038452, 0.14644251763820648, -0.2357473373413086, 0.04041730612516403, 0.20487555861473083, -0.26301488280296326, 0.009843342937529087, -0.2984431982040405, -0.40382373332977295, -0.4729311466217041, -0.4930448532104492, -0.012257787398993969, 0.35866212844848633, 0.24298328161239624, 0.5977729558944702, 0.6794001460075378, 0.12576359510421753, 0.6849303245544434, -0.24905285239219666, 0.2695509195327759, 0.11559928208589554, -0.2849096357822418, 0.018551480025053024, -0.10356636345386505, 0.5729549527168274, 0.0884270966053009, 0.1633892059326172, -0.2334679812192917, -0.34832683205604553, -0.5833816528320312, 0.4521394670009613, -0.6762370467185974, -0.07658293843269348, -0.12397726625204086, -0.7114357352256775, 0.14256179332733154, 0.1044737696647644, -0.8533538579940796, -0.2621738910675049, -0.2891864776611328, 0.5280202627182007, -0.6986415386199951, -0.039679188281297684, -0.010855970904231071, -0.33427464962005615, 0.6294164657592773, 0.20297783613204956, -0.7526713609695435, 0.06867678463459015, 0.47964414954185486, 0.5544383525848389, -0.07054925709962845, 0.04666228964924812, -0.010474844835698605, -0.09949963539838791, -0.10956112295389175, 0.6913224458694458, -0.49281787872314453, -0.30702897906303406, 0.48659592866897583, -0.24328665435314178, 0.03095005825161934, -0.570049524307251, 0.8158034086227417, -1.0405373573303223, 0.16257081925868988, -0.31584885716438293, -0.5928767919540405, -0.21364079415798187, 0.33931857347488403, -0.8338998556137085, 1.182239055633545, -0.11190378665924072, -0.7095385789871216, 0.18237121403217316, -0.6502988934516907, -0.6087567806243896, -0.0892590582370758, -0.0046187941916286945, -0.2746901214122772, 0.18233352899551392, 0.12238157540559769, 0.5058115124702454, -0.4706830382347107, 0.2831972539424896, 0.23378227651119232, -0.4490155279636383, 0.13543634116649628, -0.6469955444335938, 0.533633828163147, 0.4784010946750641, -0.057688262313604355, -0.30710065364837646, -0.39406830072402954, -0.022146454080939293, 0.12432237714529037, -0.5599036812782288, -0.3598020076751709, 0.37736666202545166, 0.17577745020389557, -0.23749102652072906, 0.498568058013916, -0.5798219442367554, 0.12730801105499268, -0.06236829236149788, 0.3215445280075073, 0.5041998028755188, -0.25840187072753906, 0.3260166347026825, -0.07038531452417374, 0.06237189844250679, -0.1733233481645584, 0.20044638216495514, -0.16318830847740173, -0.3934975862503052, -0.7935215830802917, 0.020016323775053024, 0.6854755878448486, 0.38850730657577515, -0.8909306526184082, 0.6042557954788208, -0.34635213017463684, -0.5391142964363098, -0.7915216088294983, -0.04719344154000282, -0.005886309314519167, 0.4017266631126404, 0.5629262924194336, -0.2728373408317566, -0.4976077675819397, -0.9643412232398987, -0.12601467967033386, -0.28202134370803833, -0.12156422436237335, 0.40829944610595703, 0.18962547183036804, -0.39595839381217957, 1.0560067892074585, -0.4312945604324341, -0.331039696931839, -0.33272412419319153, 0.6443108320236206, 0.4956822097301483, 0.3682740330696106, 0.5211185812950134, -1.0394115447998047, -0.3403564989566803, -0.14177817106246948, -0.5690495371818542, 0.19534675776958466, -0.0063076866790652275, -0.04474010318517685, 0.2149943858385086, 0.30344921350479126, -0.5173446536064148, 0.3011322617530823, 0.214493989944458, 0.22330845892429352, 0.25374218821525574, -0.3566489815711975, 0.19911828637123108, -0.7171925902366638, 0.3643769323825836, -0.0508682057261467, -0.039522118866443634, -0.623052716255188, 0.03211461752653122, 0.11405152082443237, -0.030123000964522362, -0.01043330691754818, 0.03129734843969345, -0.34236106276512146, -0.03546307981014252, -0.09664793312549591, 0.08127913624048233, -0.09671570360660553, 0.25860148668289185, 0.0474967360496521, 0.9118197560310364, 0.012092053890228271, -0.5027028918266296, 0.3459031879901886, 0.40404269099235535, -0.5410051345825195, 0.16286663711071014, -0.5375199913978577, 0.23583196103572845, -0.6549029350280762, 0.11822263896465302, -0.9811065793037415, 0.06952320784330368, -0.14435975253582, -0.5028731822967529, 0.5739321112632751, 0.08343803882598877, -0.9486501216888428, -0.5626446604728699, -0.2864137589931488, 0.20331385731697083, 0.8122440576553345, -0.7253649830818176, 0.6345073580741882, 0.2359616905450821, -0.28028595447540283, -0.9473827481269836, -0.5979484915733337, 0.20781393349170685, 0.16520477831363678, -0.47609183192253113, 0.5248255133628845, -0.12651318311691284, -0.02243977226316929, 0.05990350991487503, -0.14789709448814392, -0.3846568465232849, -0.04542728140950203, -0.39686983823776245, 0.15692010521888733, -0.154261514544487, 0.4381553828716278, -0.19712837040424347, 0.12103036791086197, -0.09785513579845428, -0.025241969153285027, 0.6326178908348083, -0.07407163828611374, -0.4682231843471527, 0.016429105773568153, 0.5870869159698486, 0.344260036945343, -0.20027472078800201, 0.7123725414276123, 0.8387973308563232, -0.1595010757446289, 0.17744246125221252, -1.081240177154541, -0.33415687084198, -0.3934291899204254, 0.4234561026096344, 0.029196104034781456, -0.7130925059318542, 0.3171669542789459, -0.2132330983877182, 0.1312461495399475, 0.38973090052604675, 0.27251026034355164, -0.6728714108467102, 0.6714129447937012, 0.7629474401473999, -0.35348570346832275, 0.8332737684249878, -0.29065418243408203, 0.5317739844322205, -0.749078094959259, -0.426785945892334, -0.7758152484893799, -0.43726155161857605, -0.5644329786300659, -0.2854127585887909, 0.28584781289100647, 0.052438799291849136, -0.005039478186517954, 0.2803701162338257, -0.5471203923225403, 0.14806829392910004, 1.0306445360183716, 0.13481561839580536, 0.24578598141670227, -0.004443278070539236, 0.09918081760406494, -0.14304877817630768, -0.6160271763801575, -0.3460446894168854, 0.9177059531211853, 0.2435317486524582, 1.0801212787628174, 0.057954490184783936, 0.6099499464035034, 0.5152114629745483, 0.1317465901374817, -0.8661531805992126, 0.4787255823612213, -0.48179516196250916, -0.6972221732139587, -0.38221776485443115, -0.2774256467819214, -1.1523025035858154, 0.11489971727132797, -0.05585441365838051, -0.33655333518981934, 0.3892723321914673, -0.1661107838153839, 0.011531722731888294, 0.1742197871208191, -0.815228283405304, 0.4046550393104553, -0.5455744862556458, -0.04463839903473854, -0.1485738456249237, -1.004296898841858, -0.2149399071931839, -0.08097159117460251, -0.1553497165441513, 0.04333031550049782, 0.24517565965652466, 0.834695041179657, 0.14152821898460388, 0.5679827332496643, -0.2140611857175827, 0.028063004836440086, 0.2806410789489746, -0.4112745225429535, 0.4657125174999237, -0.2887224555015564, -0.401346355676651, 0.136552631855011, 0.0060912808403372765, -0.16232715547084808, -0.5946876406669617, 0.4938593804836273, -0.7341840863227844, -0.5413444638252258, -0.4870929419994354, -0.4422943592071533, -0.12247768044471741, 0.47424474358558655, 0.28429272770881653, 0.24112699925899506, -0.1780397891998291, 0.7920202612876892, 0.9215554594993591, -0.28974786400794983, 0.5731509923934937, 0.4993637800216675, 0.12232819944620132, -0.10731876641511917, 0.7567631602287292, 0.246667742729187, -0.07553187757730484, 0.7654560804367065, -0.1965726912021637, -0.3884159326553345, -0.5201659798622131, 0.1632080376148224, 0.045391689985990524, -0.702153205871582, -0.45118921995162964, -0.41803863644599915, -0.5673376321792603, -0.33562523126602173, 0.04493408650159836, -0.2999970614910126, -0.18913719058036804, -0.39592307806015015, 0.08283582329750061, 0.14654965698719025, 0.6693615913391113, 0.0902617946267128, 0.275167852640152, -0.700862467288971, 0.2682003378868103, 0.34294426441192627, 0.6184685230255127, -0.038630418479442596, -0.12152019888162613, -0.2812552750110626, -0.019295280799269676, -0.25109344720840454, -0.7425263524055481, 0.26530665159225464, 0.2146008014678955, 0.8151965141296387, 0.1273401379585266, 0.40999728441238403, 0.6014294624328613, -0.5095734596252441, 0.6843079924583435, -0.10041164606809616, -0.5252051949501038, 0.6438990831375122, -0.019668692722916603, 0.02378004603087902, 0.7354757189750671, 0.686961829662323, -0.5108049511909485, -0.029319703578948975, -0.23417073488235474, -1.1396567821502686, 0.5723804235458374, 0.5209987163543701, 0.43097612261772156, -0.03300900384783745, 0.3671954274177551, 0.09720513969659805, 0.3003557026386261, -0.5307912230491638, -0.24798595905303955, -0.07624685019254684, -0.36626842617988586, 0.1391087770462036, -0.5814155340194702, 0.09050185978412628, -0.059550777077674866, 0.6631035208702087, 0.005083325784653425, 0.8800292611122131, 0.498582124710083, -0.38835570216178894, 0.2964319884777069, 0.4983142018318176, 0.09477539360523224, 0.37251579761505127, -0.6460239887237549, -0.025078661739826202, -0.10423077642917633, -0.5295574069023132, -0.13419164717197418, 0.552819013595581, -0.011923653073608875, 0.3678470253944397, 0.24988862872123718, 0.3668871819972992, 0.20728108286857605, -0.7994681000709534, 0.60392165184021, -0.23039506375789642, 0.02817249856889248, -0.5013459324836731, -0.38922837376594543, -0.21539856493473053, 0.3166549801826477, 0.9157336354255676, -0.15915773808956146, 0.4281575679779053, -0.3498113751411438, -0.004164434503763914, 0.6715880036354065, -0.4017515778541565, -0.01921035163104534, 0.24485498666763306, 0.19989831745624542, -0.1894877851009369, 1.2281445264816284, 0.4121764004230499, -0.2893035411834717, 0.38278183341026306, 0.47304823994636536, 0.7825835347175598, 0.06510940939188004, -0.05193455517292023, -0.02281915582716465, 0.5168026089668274, -0.02613842487335205, 0.2232852280139923, -0.35778892040252686, -0.7466875314712524, -0.19443432986736298, -0.559323787689209, -0.4996776580810547, 0.02248845249414444, -0.8563278913497925, 0.07096563279628754, 0.009921576827764511, -0.6003578901290894, -0.10722289234399796, -0.09345787018537521, -0.965664803981781, -0.04059290140867233, 0.17898723483085632, 1.2277778387069702, -0.2741212248802185, 0.7414196133613586, 0.6939865350723267, -0.4676433205604553, -0.1742294579744339, 0.2470141351222992, -0.5732284188270569, -0.7004673480987549, 0.8167006969451904, 0.0813218504190445, 0.013785474002361298, 0.09873410314321518, -0.558934211730957, -0.8394207954406738, 1.052575707435608, 0.2539677917957306, -0.41365453600883484, -0.42398059368133545, 0.12422271072864532, 0.6758252382278442, 0.17873291671276093, 0.45973309874534607, 0.6075879335403442, 0.5786867141723633, 0.1736668050289154, -0.7895821928977966, -0.4392821788787842, -0.19714957475662231, 0.23225043714046478, 0.24891974031925201, -0.4855460524559021, 0.5036364197731018, 0.04296720027923584, -0.19064927101135254, 0.32933396100997925, 0.5923201441764832, -0.15927241742610931, 0.02766002155840397, 0.23274090886116028, 0.30754122138023376, 0.6512971520423889, -0.39955195784568787, 0.9247589707374573, -0.38669079542160034, 0.46906620264053345, 0.580819845199585, -0.11753350496292114, 0.9943786859512329, 0.617904782295227, -0.17436790466308594, 0.5089725255966187, 0.45904892683029175, -0.06608439981937408, 0.734933614730835, 0.0029004099778831005, -0.306484580039978, -0.06556201726198196, -0.2894074022769928, -0.4488072693347931, 0.24944616854190826, 0.5086946487426758, -0.564702033996582, -0.2714794874191284, 0.17348279058933258, -0.335941880941391, -0.20343248546123505, 0.018476830795407295, 1.0016908645629883, -0.10734935849905014, -0.5459654927253723, 0.12378360331058502, -0.12297932803630829, 0.876224935054779, -0.970552384853363, -0.17798787355422974, -0.23373810946941376, 0.1486736387014389, 0.11169303953647614, -1.1086080074310303, 0.08569195866584778, -0.12465179711580276, -0.1972777545452118, -0.5187357068061829, 1.0362749099731445, -0.29228344559669495, -0.18258216977119446, 0.3532702624797821, 0.42338287830352783, 0.03759538382291794, 0.07352618128061295, -0.3932282626628876, -0.0005454518832266331, -0.057171523571014404, -0.24047958850860596, 0.11062841862440109, 0.36398667097091675, 0.4583342969417572, 0.5979313850402832, 0.4367777109146118, -0.18287131190299988, 0.1615118831396103, 0.23926544189453125, 0.9540700912475586, -0.8740151524543762, 0.0117090018466115, -0.5221869349479675, 0.3591844141483307, -0.08823445439338684, 0.06271008402109146, 0.5982974767684937, 0.4859308898448944, 0.8673772811889648, -0.12327418476343155, 0.8193153738975525, -0.2683906853199005, 0.4584466814994812, -0.4873688220977783, 0.6591658592224121, -0.3799094259738922, 0.18577370047569275, -0.12017791718244553, -0.9236587285995483, -0.3367505967617035, 0.6611151695251465, -0.16009147465229034, 0.08732284605503082, 0.38198453187942505, 0.3790002763271332, 0.16405124962329865, 0.05642660707235336, 0.0985744446516037, 0.04900047928094864, 0.4183061420917511, 0.083490289747715, 0.955228865146637, -0.46270111203193665, 0.722388505935669, -0.1793140023946762, -0.017484378069639206, -0.5501139163970947, -0.7138814330101013, -0.6202917098999023, -0.7753532528877258, 0.19043724238872528, 0.07239887863397598, 0.29017606377601624, 0.8655056357383728, 0.616714596748352, -0.7409685254096985, -0.1492040902376175, 0.19654692709445953, 0.21702693402767181, 0.0407552607357502, -0.22671981155872345, 0.19350627064704895, -0.8167487978935242, -0.7603222727775574, 0.2983250319957733, 0.006565169896930456, 0.10960085690021515, -0.12510433793067932, 0.2387399524450302, -0.5084941983222961, -0.14724144339561462, 0.8135157823562622, 0.25925129652023315, -0.5999244451522827, -0.3216616213321686, 0.3313535153865814, -0.23627004027366638, 0.13739043474197388, 0.8810808658599854, -0.9237509965896606, 0.6134141683578491, 0.7404711842536926, 1.0586587190628052, 0.6273608803749084, -0.020675210282206535, 0.6612098813056946, -1.008678913116455, -0.21551325917243958, 0.5858119130134583, 0.27092626690864563, 0.3012639880180359, -0.3073626756668091, 0.5817197561264038, -0.25991395115852356, -0.7096245288848877, -0.6211156845092773, -0.11413546651601791, -0.812798261642456, -0.18295514583587646, 0.7492673993110657, 0.0430760495364666, 0.1702079325914383, -0.04496617242693901, -0.25449249148368835, 0.22654388844966888, -0.43766677379608154, 0.7810149192810059, 0.7316779494285583, -0.3334890305995941, -0.14822009205818176, -0.5738073587417603, 0.14558835327625275, 0.4731009900569916, -0.44414108991622925, -0.1718563586473465, 0.2599857747554779, -0.1999301314353943, 0.4695165753364563, 0.2998173236846924, -0.10581044107675552, -0.08269733935594559, -0.4631933569908142, 0.2641766369342804, 0.2411131113767624, -0.30344411730766296, -0.2326677292585373, 0.16752897202968597, 0.23240283131599426, -0.2040949910879135 ]
http://arxiv.org/abs/2402.14837v1
http://arxiv.org/pdf/2402.14837v1
An Empirical Categorization of Prompting Techniques for Large Language Models: A Practitioner's Guide
2024-02-18T23:03:56
2024-02-18T23:03:56
Oluwole Fagbohun, Rachel M. Harrison, Anton Dereventsov
cs.CL
cs.CL, cs.AI, cs.HC, cs.LG
Due to rapid advancements in the development of Large Language Models (LLMs), programming these models with prompts has recently gained significant attention. However, the sheer number of available prompt engineering techniques creates an overwhelming landscape for practitioners looking to utilize these tools. For the most efficient and effective use of LLMs, it is important to compile a comprehensive list of prompting techniques and establish a standardized, interdisciplinary categorization framework. In this survey, we examine some of the most well-known prompting techniques from both academic and practical viewpoints and classify them into seven distinct categories. We present an overview of each category, aiming to clarify their unique contributions and showcase their practical applications in real-world examples in order to equip fellow practitioners with a structured framework for understanding and categorizing prompting techniques tailored to their specific domains. We believe that this approach will help simplify the complex landscape of prompt engineering and enable more effective utilization of LLMs in various applications. By providing practitioners with a systematic approach to prompt categorization, we aim to assist in navigating the intricacies of effective prompt design for conversational pre-trained LLMs and inspire new possibilities in their respective fields.
[ -0.6443119049072266, -1.0834521055221558, 0.8601712584495544, 0.7709962725639343, -0.02393258735537529, 0.03007003664970398, -0.31019529700279236, 0.10576336085796356, -0.19310185313224792, 0.28410202264785767, -0.7535210847854614, -0.4389939606189728, -0.11202969402074814, 0.40257662534713745, -0.30562686920166016, 0.5940230488777161, 0.035796619951725006, 0.28892308473587036, -0.29551541805267334, 0.33711475133895874, -0.7553339600563049, -0.5216044187545776, -0.7811982035636902, -0.22752662003040314, 0.9751546382904053, 0.4994080662727356, 0.2590140700340271, 0.2735387980937958, 0.1676967740058899, 0.3177206516265869, -0.4399642050266266, -0.04786765202879906, -0.08615651726722717, 0.24650715291500092, -0.18389934301376343, -0.43150246143341064, -0.1713532656431198, -0.07880554348230362, 0.4820536971092224, 0.9514102935791016, -0.32757800817489624, 0.35659459233283997, 0.16069036722183228, 0.2518516182899475, -0.5640200972557068, 0.07152357697486877, -0.4147583246231079, 0.09682805091142654, -0.1711285561323166, -0.6531865000724792, -0.7998741269111633, -0.5989404320716858, 0.056231699883937836, -0.4478233754634857, 0.006538606248795986, 0.33997753262519836, 0.2333032786846161, -0.0011144103482365608, -0.35050541162490845, -0.45329150557518005, -0.42521703243255615, 0.85271155834198, -0.49474892020225525, 0.22760823369026184, 0.2879290282726288, 0.44133424758911133, -0.3440053164958954, -0.4573891758918762, -0.36275774240493774, -0.5599436163902283, 0.17667488753795624, -0.2380986213684082, -0.0650118961930275, 0.4049774408340454, 0.6426840424537659, 0.2501726746559143, -0.6768205165863037, 0.6785949468612671, -0.1335824579000473, -0.18124108016490936, 0.3231022357940674, 0.2958357632160187, 0.47181177139282227, 0.09443726390600204, -0.2671821415424347, -0.1201685443520546, -1.0560518503189087, 0.20962730050086975, 0.35318562388420105, 0.484086811542511, -0.05068285018205643, 0.323192298412323, -0.22723175585269928, 1.0493229627609253, 0.21778392791748047, -0.25682833790779114, -0.08004945516586304, -0.1647987961769104, -0.054355308413505554, -0.00264511676505208, 0.8065340518951416, 0.3812156915664673, 0.50934237241745, 0.16369685530662537, -0.3113420605659485, -0.3057973086833954, 0.10669875144958496, -0.6212577223777771, -0.023883400484919548, 0.11971742659807205, -0.49752748012542725, -0.3083796203136444, -0.46434733271598816, -0.9272605776786804, -0.7747893333435059, -0.44921526312828064, 0.135665163397789, 0.019145846366882324, -0.17901408672332764, 0.11074353754520416, -0.10894837230443954, 0.38194921612739563, 0.39746570587158203, -0.9531358480453491, 0.05410878732800484, 0.5946992039680481, 0.6845676302909851, 0.1537623256444931, -0.1791849583387375, -0.500481903553009, -0.2940097451210022, -0.4458540976047516, 0.9159706830978394, -0.7061887383460999, -0.7546735405921936, 0.5628830790519714, -0.11664580553770065, 0.09461244940757751, -0.5078166127204895, 0.6382355093955994, -0.6213964223861694, 0.20089054107666016, -0.4749806225299835, -0.49780744314193726, -0.26508504152297974, 0.26837822794914246, -0.4226819574832916, 0.8748995661735535, -0.10743549466133118, -0.4186592996120453, 0.2385316640138626, -0.6624134182929993, -0.1250416785478592, 0.1848713606595993, -0.17815661430358887, 0.1829439401626587, 0.11004730314016342, 0.28119540214538574, 0.770570695400238, -0.6962559223175049, 0.5929288864135742, -0.20699156820774078, 0.016720741987228394, 0.3394204080104828, -0.4689164459705353, 0.8766039609909058, 0.4253467321395874, 0.14261102676391602, 0.2370978742837906, -0.5801209807395935, 0.010779289528727531, -0.05013543739914894, -0.23828287422657013, -0.18764005601406097, -0.14297634363174438, -0.05435757339000702, 0.08578091859817505, 0.11835866421461105, -0.1915522962808609, 0.4224538803100586, -0.19825834035873413, 0.4039435386657715, 0.7470698952674866, 0.22466802597045898, 0.42463499307632446, -0.24965068697929382, 0.9475138187408447, -0.2916828691959381, -0.0051726531237363815, -0.7131987810134888, -0.286674439907074, -0.4981359541416168, -0.23353311419487, 0.08880628645420074, 0.7417104244232178, -0.7761202454566956, 0.42424747347831726, 0.04349496588110924, -0.6897335052490234, -0.20855571329593658, 0.04802187532186508, 0.43580856919288635, 0.552028238773346, 0.21441638469696045, 0.17446421086788177, -0.47995123267173767, -0.8090296387672424, -0.26113855838775635, -0.26850560307502747, -0.021192865446209908, 0.13657332956790924, 0.024585286155343056, 0.13745182752609253, 0.9715932607650757, -0.2211841344833374, 0.21098391711711884, -0.389174222946167, 0.23939743638038635, 0.5709734559059143, 0.35482993721961975, 0.642427384853363, -0.400545597076416, -0.5239187479019165, -0.20989619195461273, -0.6184211373329163, -0.6193761825561523, -0.22219350934028625, 0.06348923593759537, -0.23892533779144287, 0.9647098779678345, -0.5477885603904724, 0.06378578394651413, 0.16784462332725525, -0.027388565242290497, 0.855108380317688, 0.04667259380221367, 0.14138086140155792, -0.738222599029541, 0.024689488112926483, 0.11634735018014908, 0.011766745708882809, -0.8668558597564697, 0.13767914474010468, 0.040231846272945404, -0.19228589534759521, -0.787239670753479, 0.9265966415405273, -0.789678156375885, 0.2995622158050537, -0.17018522322177887, -0.05109106004238129, -0.27142810821533203, 0.21529275178909302, 0.053794316947460175, 0.9203879237174988, 0.8646267056465149, -1.0590983629226685, 0.624004065990448, 0.3456563949584961, -0.305833101272583, 0.6770613193511963, -0.7980613708496094, 0.07258293777704239, -0.2766392230987549, 0.38965684175491333, -1.0205484628677368, -0.25275126099586487, 0.35800647735595703, -0.32771480083465576, 0.46293190121650696, -0.28898298740386963, -0.7287585735321045, -0.44989699125289917, -0.23105423152446747, 0.4368223547935486, 0.7693701982498169, -0.7595610618591309, 0.21879291534423828, -0.06706443428993225, -0.6924172043800354, -0.5465670228004456, -0.3164072632789612, 0.081318199634552, -0.5661904215812683, -0.3855587840080261, -0.08066879957914352, -0.3397364318370819, -0.37083855271339417, -0.6232291460037231, 0.20081020891666412, -0.02972584217786789, 0.29504916071891785, 0.04741545766592026, 0.32097765803337097, -0.11184005439281464, 0.01999938115477562, -0.026333896443247795, -0.14384031295776367, 0.275703102350235, 0.03114287368953228, 0.8159080743789673, 0.14174431562423706, -0.47805678844451904, -0.5701701641082764, 0.3482110798358917, 0.2615090310573578, -0.09587362408638, 0.41928830742836, 0.33098408579826355, -0.14586523175239563, -0.25656846165657043, -0.6706503033638, -0.36575061082839966, -0.5742949843406677, 0.15726591646671295, -0.4187040328979492, -0.9498605132102966, 0.49817585945129395, -0.3325059413909912, 0.3347018361091614, -0.11584419012069702, 0.6695908308029175, 0.08452509343624115, 1.2245147228240967, 0.4621630609035492, -0.04575011879205704, 0.7613990902900696, 0.2595694959163666, 0.24892912805080414, -0.6507821679115295, -0.15216746926307678, -0.9127035140991211, 0.1462801694869995, -0.33297935128211975, -0.2637695074081421, 0.3093741238117218, 0.1721242219209671, -0.20909643173217773, 0.03799982741475105, -0.52113276720047, 0.5141938328742981, 0.35676977038383484, -0.3746429681777954, -0.05755843594670296, 0.08276956528425217, -0.1691216230392456, 0.20356100797653198, -0.7740250825881958, -0.7792185544967651, 0.6607139110565186, 0.5371164679527283, 1.1071959733963013, -0.03972642868757248, 0.6254384517669678, 0.13647376000881195, 0.41785338521003723, -1.2485053539276123, 0.9442700743675232, 0.44076523184776306, -0.6698318123817444, -0.25167688727378845, -0.28045859932899475, -1.239919662475586, 0.09501975774765015, 0.15028661489486694, -0.8805876970291138, 0.25155872106552124, 0.38088253140449524, -0.5502330660820007, -0.09744634479284286, -0.656385600566864, 0.7417321801185608, -0.15383559465408325, 0.05567389726638794, 0.0024154868442565203, -0.40117594599723816, 0.3966265618801117, -0.00857254583388567, 0.39891383051872253, -0.14970813691616058, -0.15479007363319397, 0.4848548471927643, -0.2728859782218933, 1.0784640312194824, -0.3327135145664215, -0.496928334236145, 0.44262418150901794, 0.1543792486190796, 0.43052053451538086, -0.2117760181427002, 0.06813059002161026, -0.2911118268966675, -0.04765493795275688, -0.15901675820350647, -0.6069884300231934, 0.4940355122089386, -0.359384685754776, -0.7752902507781982, -0.35093003511428833, -0.19710798561573029, -0.5224880576133728, 0.1776321977376938, 0.3730494976043701, 0.7525310516357422, -0.17101751267910004, 0.07541600614786148, 0.9947216510772705, -0.49595358967781067, 0.6525329351425171, 0.516973078250885, -0.37800103425979614, -0.21820001304149628, 0.809497594833374, 0.0027863625437021255, 0.14754578471183777, 0.48150888085365295, 0.2271353006362915, -0.6941684484481812, -0.7186844348907471, -0.3160901665687561, 0.38443759083747864, -0.9446871876716614, -0.21897907555103302, -0.499074786901474, -0.02067762240767479, -0.5700569748878479, -0.48931407928466797, 0.3022291362285614, -0.0317276194691658, -0.4656771123409271, -0.1712104231119156, 0.3423062860965729, 0.5778592824935913, 0.2673828601837158, 0.7222416400909424, -1.067037582397461, 0.01188837643712759, 0.34485116600990295, 0.17332763969898224, 0.30179789662361145, -0.32083526253700256, 0.17602546513080597, -0.2971658706665039, -0.11679546535015106, -1.102497935295105, 0.29696449637413025, -0.028453659266233444, 0.9633369445800781, 0.6029983162879944, 0.34099826216697693, 0.555114209651947, -0.6994850635528564, 1.1411895751953125, 0.545210063457489, -0.7641022801399231, 0.5913882851600647, -0.4750509262084961, 0.12018559128046036, 0.3424195349216461, 0.5727030634880066, -0.8672704100608826, -0.0852310061454773, -0.3510102331638336, -0.9430956840515137, 0.5836606025695801, -0.46670645475387573, 0.30268481373786926, -0.2993256449699402, 0.09967105835676193, 0.14311577379703522, 0.26961737871170044, -0.4232484996318817, -0.02241002768278122, 0.2789880931377411, -0.39633867144584656, 0.06599943339824677, -0.3073940873146057, -0.17625463008880615, 0.07112374156713486, 0.6295733451843262, -0.23738685250282288, 0.18591313064098358, 0.04955373704433441, -0.2907923758029938, 0.20181557536125183, 0.6769654750823975, 0.6772556900978088, 0.7417914271354675, 0.12454818189144135, 0.014661252498626709, 0.23279814422130585, -0.1363030970096588, 0.4629902243614197, -0.13612686097621918, -0.10957285016775131, -0.00827673077583313, 0.2812731862068176, 0.8338877558708191, 0.09636633843183517, -0.7882629036903381, 0.3299875259399414, 0.09080781787633896, -0.025090094655752182, -0.3817148208618164, 0.2629169821739197, -0.1384902000427246, -0.022337600588798523, 0.3165513575077057, -0.4336932897567749, 0.3461333215236664, -0.44038286805152893, -0.33838537335395813, 0.37938031554222107, -0.202945739030838, -0.2804928421974182, 0.3526892364025116, 0.5150227546691895, -0.5388273000717163, 0.35210445523262024, -0.1641654223203659, -0.25024086236953735, 0.423238068819046, 0.36004382371902466, 0.933295488357544, -0.45172640681266785, 0.278033584356308, 0.4475836455821991, 0.011227855458855629, -0.4121648073196411, 0.2564067244529724, -0.23531211912631989, -0.5491307377815247, -0.5356110334396362, -0.5240421295166016, -0.46970152854919434, 0.09216786921024323, -0.6453007459640503, 0.3790585398674011, -0.6417324542999268, -0.3302973210811615, 0.15297117829322815, -0.31740856170654297, -0.6127305030822754, -0.10765339434146881, 0.36076274514198303, 1.434535264968872, -0.8523236513137817, 0.21308110654354095, 1.1779544353485107, -0.24209743738174438, -1.0177127122879028, -0.37497684359550476, 0.40908342599868774, -0.7357475161552429, 0.5995506048202515, 0.17048503458499908, 0.08592981100082397, 0.14943717420101166, -0.9530542492866516, -0.45948752760887146, 0.5793294906616211, -0.006368172820657492, -0.6043976545333862, -0.12015743553638458, -0.10637228935956955, 0.31535568833351135, -0.3243334889411926, 0.6977737545967102, 0.4370591938495636, 0.6367981433868408, 0.13094133138656616, -1.1021921634674072, 0.07837720215320587, -0.18588298559188843, 0.387263685464859, -0.009258117526769638, -0.4991283118724823, 0.4565833508968353, 0.09638628363609314, -0.30097830295562744, 0.4323384165763855, 0.3146893084049225, 0.775306761264801, 0.45780375599861145, 0.6917440891265869, -0.20613859593868256, 0.7236563563346863, -0.1292266994714737, 0.8549100160598755, -0.1754998415708542, -0.033264774829149246, 0.6042405366897583, -0.36587390303611755, 0.4278446137905121, 0.4798938035964966, -0.37564966082572937, 0.17520388960838318, 1.2080117464065552, 0.17445482313632965, 0.13381327688694, 0.38592949509620667, -0.3355959355831146, -0.3444270193576813, -0.4686700999736786, -0.496955931186676, -0.19290076196193695, 0.6749430894851685, -0.12886682152748108, -0.29505497217178345, 0.33626896142959595, 0.1570344716310501, -0.13497309386730194, -0.5802040100097656, 0.7245050668716431, 0.3889027237892151, -0.8995938897132874, 0.6782487630844116, -0.24847400188446045, 0.7904319167137146, -0.6433561444282532, 0.030824998393654823, -0.20283706486225128, -0.36339548230171204, -0.09261486679315567, -1.007684588432312, -0.35582128167152405, 0.10288543254137039, -0.19954831898212433, -0.8202261328697205, 0.5770666003227234, -0.3122805953025818, 0.019537877291440964, -0.1765178143978119, 0.5367304682731628, 0.4021577537059784, 0.1066071018576622, -0.6339060068130493, -0.0017578991828486323, -0.01514851488173008, -0.3888612389564514, 0.21029461920261383, 0.6507095098495483, -0.26411259174346924, 0.9930222630500793, 0.8238562941551208, 0.059087276458740234, 0.06773654371500015, 0.4128091037273407, 0.7532399892807007, -0.8314011693000793, -0.5333526730537415, -0.7900714874267578, 0.505547285079956, 0.08853619545698166, -0.38842785358428955, 0.8638214468955994, 0.09923116862773895, 0.3189464509487152, -0.30599987506866455, 0.7163907885551453, 0.06094847619533539, 0.6634556651115417, -0.6831564903259277, 0.24151740968227386, -0.2823856770992279, 0.3240455687046051, -0.279961496591568, -1.0590921640396118, -0.2684456408023834, 0.47680678963661194, -0.32069891691207886, 0.17353634536266327, 0.42100265622138977, 1.0681794881820679, 0.31629541516304016, 0.04975391551852226, 0.30900394916534424, 0.037559639662504196, 0.39181554317474365, 0.10401111841201782, 1.5965989828109741, 0.5321906805038452, 0.27714699506759644, 0.1790802776813507, -0.45217254757881165, -0.5655356645584106, -0.8569422364234924, -1.0958797931671143, -0.420286625623703, -0.35849830508232117, -0.048716869205236435, -0.2366247922182083, 1.3142093420028687, 0.7153393626213074, -0.5891624093055725, -0.22690823674201965, -0.05339488014578819, 0.10933990776538849, -0.006357467267662287, -0.2325068563222885, -0.07621641457080841, -0.7688798308372498, -0.7177030444145203, 0.609801173210144, -0.08254129439592361, 0.26945558190345764, -0.4162956476211548, 0.2024816870689392, 0.14991480112075806, 0.12336765974760056, 0.6454251408576965, 0.6417135000228882, -0.7839035987854004, -0.07790447026491165, 0.3309941291809082, 0.03276185318827629, -0.31110402941703796, 1.193686842918396, -0.5784881711006165, 0.30170199275016785, 0.8754634857177734, 0.49115297198295593, -0.31110766530036926, -0.015340038575232029, 0.5438475608825684, -0.7689477801322937, 0.09532096236944199, 0.37753239274024963, 0.30219054222106934, 0.27976396679878235, -0.34463950991630554, 0.2927207946777344, -0.05010738968849182, -0.6934617757797241, -1.1119203567504883, 0.4693060517311096, -0.9506440758705139, -0.20294898748397827, 1.3921937942504883, 0.011934191919863224, -0.22216597199440002, -0.25098109245300293, -0.6729418635368347, -0.14477843046188354, -0.6499470472335815, 0.3079119920730591, 0.9028451442718506, -0.14243167638778687, -0.6266164779663086, -0.5654370784759521, 0.46457281708717346, 0.3750916123390198, -0.7476020455360413, 0.11744579672813416, 0.7995458245277405, 0.18350397050380707, 0.19178219139575958, 0.6871535181999207, 0.10262571275234222, 0.14070910215377808, -0.24382272362709045, 0.22581975162029266, 0.1847863793373108, -0.2903502881526947, -0.6222051382064819, 0.05143436789512634, 0.46044573187828064, 0.18696539103984833 ]
http://arxiv.org/abs/2402.11728v1
http://arxiv.org/pdf/2402.11728v1
Numerical Claim Detection in Finance: A New Financial Dataset, Weak-Supervision Model, and Market Analysis
2024-02-18T22:55:26
2024-02-18T22:55:26
Agam Shah, Arnav Hiray, Pratvi Shah, Arkaprabha Banerjee, Anushka Singh, Dheeraj Eidnani, Bhaskar Chaudhury, Sudheer Chava
cs.CL
cs.CL, cs.LG, q-fin.CP
In this paper, we investigate the influence of claims in analyst reports and earnings calls on financial market returns, considering them as significant quarterly events for publicly traded companies. To facilitate a comprehensive analysis, we construct a new financial dataset for the claim detection task in the financial domain. We benchmark various language models on this dataset and propose a novel weak-supervision model that incorporates the knowledge of subject matter experts (SMEs) in the aggregation function, outperforming existing approaches. Furthermore, we demonstrate the practical utility of our proposed model by constructing a novel measure ``optimism". Furthermore, we observed the dependence of earnings surprise and return on our optimism measure. Our dataset, models, and code will be made publicly (under CC BY 4.0 license) available on GitHub and Hugging Face.
[ 0.02226879820227623, -0.4898824393749237, 0.29708537459373474, 0.4687715470790863, 0.06548357009887695, 0.0829792469739914, 0.04807442054152489, -0.6619251370429993, 0.4793957769870758, 0.33064723014831543, -0.045228395611047745, -0.4949336647987366, -0.7088974118232727, 0.029552225023508072, -0.4489270746707916, 1.0724272727966309, 0.1184617206454277, -0.11212464421987534, -0.1960732787847519, 0.2951374351978302, -0.2683345079421997, -0.3418860137462616, -0.734336256980896, 0.15536145865917206, 0.2262374758720398, 0.08586791902780533, 0.5382648706436157, 0.18710513412952423, 0.7368621826171875, 0.2815054953098297, 0.08203937858343124, -0.20602285861968994, -0.0080569414421916, -0.41215047240257263, -0.002232244238257408, -0.639223039150238, -0.9156469702720642, -0.18001516163349152, 0.6570409536361694, 0.5563105344772339, -0.5386505722999573, 0.307623952627182, 0.05082610994577408, 0.5925383567810059, -0.8205152750015259, 0.8516189455986023, -0.615679919719696, 0.06368926912546158, -0.614265501499176, -0.04609367623925209, -0.6491434574127197, -0.47855716943740845, 0.23814541101455688, -0.4386407732963562, 0.3447827100753784, 0.022568998858332634, 0.8586949110031128, 0.018390076234936714, -0.6657879948616028, -0.2797084152698517, -0.4948461949825287, 0.9345678091049194, -0.9449774622917175, 0.14945247769355774, 0.5451772212982178, 0.4764593541622162, 0.1100674569606781, -0.7972752451896667, -0.007387285120785236, -0.14080792665481567, 0.041307225823402405, 0.13865911960601807, -0.7473248243331909, 0.0054962546564638615, 0.17623452842235565, 0.5000923871994019, -0.254284143447876, 0.18388693034648895, -0.7515361309051514, -0.42261549830436707, 0.9063048958778381, -0.03402405604720116, -0.06187361851334572, -0.07698391377925873, -0.339218407869339, 0.05958487093448639, -0.7014719843864441, 0.09287074208259583, 0.5916288495063782, 0.536404013633728, -0.5433322787284851, 0.31702619791030884, -0.16952422261238098, 0.40204355120658875, -0.16720254719257355, -0.407989501953125, 0.47112375497817993, -0.021127823740243912, -0.279087096452713, 0.3924224376678467, 0.5164427161216736, 0.17304711043834686, 0.1775674819946289, -0.09529335796833038, -0.42685335874557495, 0.11074607819318771, 0.1989845633506775, -0.627096951007843, -0.30120885372161865, -0.0032874110620468855, -0.5554149150848389, -0.5587902665138245, 0.3281520903110504, -0.7318975329399109, -0.3904597759246826, -0.12354768067598343, 0.19983546435832977, -0.13359679281711578, -0.575758695602417, 0.28593137860298157, -0.22181835770606995, 0.03877311199903488, 0.09599193185567856, -0.5671567320823669, 0.6271613836288452, 0.6066163778305054, 0.5253518223762512, 0.2468743920326233, 0.20124584436416626, -0.8303278088569641, 0.14388738572597504, -0.5568298697471619, 0.9893624186515808, -0.13105376064777374, -0.26566267013549805, 0.039316076785326004, -0.10440779477357864, 0.03914162144064903, -0.7375518679618835, 0.5782663822174072, -0.369457483291626, -0.11917700618505478, -0.27628904581069946, -0.44485583901405334, -0.20454925298690796, -0.03952290490269661, -0.6418678760528564, 0.744723379611969, 0.17017269134521484, -0.8342351913452148, 0.5722838640213013, -0.6269429922103882, -0.31224316358566284, 0.34960681200027466, -0.35120823979377747, -0.5333511829376221, 0.37456077337265015, -0.08002621680498123, 0.22038057446479797, -0.49183887243270874, 0.4598536491394043, -0.5376499891281128, -0.08349374681711197, 0.6765375137329102, -0.46175694465637207, 0.6719469428062439, 0.03011513687670231, -0.30196577310562134, -0.2296806424856186, -0.76680588722229, -0.03917330875992775, 0.09055796265602112, 0.0680788904428482, -0.49744313955307007, 0.469504177570343, -0.178201362490654, -0.26862990856170654, 0.4025321304798126, -0.616661012172699, -0.036076147109270096, -0.5117488503456116, 0.0638987123966217, 0.7341093420982361, 0.0787132978439331, -0.13848625123500824, -0.1061910092830658, 0.6992264986038208, 0.2371872216463089, -0.06682541966438293, -0.05530429258942604, -0.3130662441253662, -0.17297378182411194, -0.4541657865047455, 0.845608651638031, 0.6871656775474548, -0.6120234727859497, 0.022279489785432816, -0.005058035720139742, -0.06597067415714264, -0.23312395811080933, 0.1383054554462433, 0.215421661734581, 0.4387691617012024, 0.08691640943288803, -0.3117006719112396, -0.7546336650848389, -1.35090172290802, -0.6145073175430298, -0.38843655586242676, -0.321368932723999, 0.02601921372115612, 0.2866795063018799, 0.12837737798690796, 1.0032038688659668, -1.0029613971710205, -0.34565281867980957, -0.07873954623937607, 0.6075950264930725, 0.5726507902145386, 0.14632724225521088, 1.2970998287200928, -1.0278693437576294, -0.3394410312175751, -0.05804443359375, -0.9649462103843689, -0.044079605489969254, -0.07622183114290237, 0.43777531385421753, 0.004437051247805357, 0.3792542517185211, -0.24134640395641327, 0.7014178037643433, 0.1830935776233673, -0.383916974067688, 0.7221264243125916, 0.03627181053161621, -0.07855615764856339, -0.8782216310501099, -0.21560846269130707, 0.7639493942260742, -0.1088438406586647, -0.4654058814048767, -0.4073270857334137, -0.026925791054964066, 0.16421280801296234, -0.19193579256534576, 0.28572168946266174, -0.2587069869041443, -0.29438725113868713, -0.4034252166748047, -0.040063828229904175, -0.3562213182449341, 0.26138195395469666, -0.2104267179965973, 0.7192448377609253, 0.9534725546836853, -0.364749938249588, 0.07035364210605621, 0.10947436839342117, -0.4198465645313263, 0.39331385493278503, -0.7118924260139465, -0.2975768744945526, -0.04504374787211418, -0.07489684969186783, -1.120535135269165, -0.350395530462265, 0.08379287272691727, -0.5878026485443115, 0.06431451439857483, -0.27949386835098267, -0.5261223912239075, -0.662209153175354, -0.21582655608654022, 0.12853308022022247, 0.3108731508255005, -0.3170371949672699, 0.6811503767967224, 0.48773935437202454, -0.8874264359474182, -0.44855618476867676, -0.8993215560913086, 0.23045477271080017, -0.3596084415912628, -0.39848795533180237, 0.2593453526496887, 0.27905502915382385, -0.8873540163040161, 0.046806447207927704, -0.26225244998931885, -0.34828880429267883, 0.1688341498374939, 0.17755497992038727, 0.9053826332092285, -0.4943860173225403, -0.15240687131881714, 0.15631172060966492, -0.24118362367153168, 0.7526603937149048, -0.10921898484230042, -0.24401302635669708, -0.4667600691318512, -0.18970762193202972, -0.42611023783683777, 0.21245011687278748, 0.33402565121650696, -0.11814761906862259, 0.6778493523597717, 0.14168497920036316, -0.5872271656990051, 0.0739419013261795, -0.5665926337242126, 0.07587406784296036, -0.5695834755897522, 0.1731812208890915, -0.1295384019613266, -0.45763206481933594, 0.6807888150215149, -0.12731923162937164, 0.13422514498233795, 0.8073126077651978, 0.3968967795372009, 0.05054490640759468, 1.1514803171157837, 0.7957423329353333, -0.07381605356931686, 0.25597429275512695, -0.19171306490898132, 0.40732836723327637, -0.18214116990566254, -0.047434449195861816, -0.6197696924209595, -0.08342095464468002, -0.3912884294986725, 0.016856810078024864, 0.3925471305847168, 0.19534677267074585, -0.012957992032170296, 0.3275223970413208, -0.24250860512256622, 0.5064535140991211, 0.2773083746433258, -0.014620780013501644, 0.35655322670936584, 0.03137355297803879, 0.018932566046714783, -0.4885568916797638, -0.40446048974990845, -0.34039464592933655, 1.1051535606384277, 0.42460688948631287, 0.6051660180091858, 0.20265409350395203, 0.672655463218689, 0.780620813369751, 0.765367329120636, -0.5348728895187378, 0.3352543115615845, -0.2464604675769806, -0.3946920335292816, 0.25098562240600586, -0.7853266000747681, -0.4115561544895172, -0.010753835551440716, -0.05744831636548042, -0.9619352221488953, 0.6009355187416077, 0.06824678182601929, -0.6383806467056274, 0.22983849048614502, -0.7840218544006348, 0.5227242708206177, -0.18354915082454681, -0.20475997030735016, -0.1173659935593605, -0.27465641498565674, 0.7211558818817139, -0.32162296772003174, 0.4624897837638855, -0.14287875592708588, 0.25645965337753296, 0.9540159106254578, -0.4770071804523468, 1.2854442596435547, -0.5335308313369751, -0.5080564618110657, 0.8571935892105103, -0.13707751035690308, 0.689405083656311, 0.21932491660118103, -0.2211073338985443, -0.010060591623187065, 0.14074113965034485, -0.5569683909416199, -0.22528286278247833, 0.21093334257602692, -0.18933230638504028, -0.20566421747207642, -0.6670176982879639, -0.4773435592651367, -0.20490606129169464, 0.0633649006485939, -0.04611241817474365, 0.4375261068344116, -0.14599524438381195, 0.24926967918872833, 0.2571232318878174, -0.14971065521240234, 0.3378083407878876, 0.9312407374382019, -0.31133654713630676, -0.5619823932647705, 1.1756395101547241, 0.21646268665790558, -0.11915292590856552, -0.24871990084648132, -0.04033123701810837, -0.3722705841064453, -0.46519193053245544, 0.01844121515750885, 0.1504918485879898, -0.2368021458387375, -0.6659132838249207, -0.34024322032928467, -0.22559364140033722, -0.6290045976638794, -0.04315362870693207, -0.55640709400177, -0.33899378776550293, -0.00695756496861577, -0.4491996169090271, 0.4739792048931122, 0.8114959597587585, -0.3279135823249817, 0.23326531052589417, -0.8631919026374817, 0.4214878976345062, 0.1801593154668808, 0.42552077770233154, 0.06841487437486649, -0.16765017807483673, -0.66265469789505, 0.22968003153800964, -0.47218844294548035, -0.7144788503646851, 0.6394298076629639, -0.11006775498390198, 0.44340550899505615, 0.7814268469810486, 0.28115421533584595, 0.30964288115501404, 0.045822590589523315, 0.3385784327983856, 0.4722377061843872, -0.8024685978889465, 0.46778252720832825, -0.48733365535736084, -0.1369190365076065, 0.43118196725845337, 0.4240834414958954, -0.0672035664319992, -0.5410282611846924, -0.9692448377609253, -0.7437120676040649, 0.5443757772445679, 0.17434710264205933, -0.21425983309745789, -0.23644888401031494, 0.23877085745334625, -0.06492933630943298, 0.4878746569156647, -0.5214360952377319, -0.12388502806425095, 0.2477196455001831, -0.08522623032331467, 0.3752846419811249, -0.3085554838180542, -0.1545916050672531, 0.005959080997854471, 0.4107857048511505, -0.33958396315574646, 0.1352018564939499, -0.07330415397882462, 0.3070254921913147, -0.12753735482692719, 0.11395000666379929, 0.24038875102996826, 0.8782476186752319, -0.39214417338371277, -0.1916477382183075, 0.2771415114402771, -0.43127360939979553, -0.19461552798748016, 0.6079562902450562, -0.012248554266989231, 0.3413621485233307, 0.3161703646183014, 0.5084198117256165, 0.7788293361663818, -0.6902836561203003, 0.6909392476081848, -0.0070016649551689625, -0.5104214549064636, -0.6553974151611328, -0.23543250560760498, -0.09335402399301529, 0.4396631121635437, 1.1146562099456787, 0.38894274830818176, 0.5038408637046814, -0.49979501962661743, 0.4410754442214966, -0.012006578966975212, -0.24884380400180817, -0.7103883624076843, 0.9777693152427673, -0.15701140463352203, 0.03575839102268219, 0.3978894054889679, -0.3625756800174713, -0.5737477540969849, 1.1124366521835327, 0.6328065395355225, 0.7203523516654968, -0.08814388513565063, 0.4509514272212982, 0.11531035602092743, 0.11369578540325165, -0.33236783742904663, 0.3741864264011383, 0.1541876494884491, -0.6194436550140381, -0.8065403699874878, -0.4481935203075409, -0.45707061886787415, -0.11600445210933685, -1.2152286767959595, 0.3108822703361511, -0.2783794403076172, -0.5470346212387085, 0.40964317321777344, -0.07454290241003036, -0.3136727213859558, 0.07837656885385513, 0.3165738880634308, 1.0057594776153564, -1.059057593345642, 0.5279880166053772, 0.43348270654678345, -0.3721635043621063, -0.6022071242332458, -0.09658373147249222, 0.41252681612968445, -0.3783750534057617, 0.9123507142066956, -0.02815585397183895, -0.164475217461586, -0.22087925672531128, -0.6264253854751587, -0.5662426352500916, 0.7108421921730042, 0.6996063590049744, -0.4168786108493805, -0.2536735236644745, -0.04036472365260124, 0.4113883376121521, -0.2726811170578003, -0.21034471690654755, 0.3657855987548828, 0.3437345027923584, 0.21306201815605164, -0.8085190057754517, -0.43201857805252075, -0.12944306433200836, -0.3358149826526642, 0.5207887291908264, -0.7361412048339844, 0.8348419666290283, -0.3289058208465576, -0.05141478404402733, -0.2004510760307312, 1.3051655292510986, 0.5081993937492371, 0.918733537197113, 0.40691056847572327, 0.37570664286613464, 0.8936455845832825, -0.1047259271144867, 1.267055630683899, -0.16713179647922516, 0.5358514189720154, 1.0899643898010254, -0.4696023762226105, 0.9229011535644531, 0.003971201833337545, -0.5568469762802124, 0.5489163398742676, 0.4415823817253113, -0.21811379492282867, 0.265778124332428, 0.10426368564367294, -0.39159536361694336, -0.25851982831954956, -0.1716010719537735, -0.4180022180080414, 0.3356885612010956, 0.4934220314025879, -0.2799927294254303, -0.3035487234592438, -0.14871065318584442, -0.10797696560621262, 0.07491526007652283, -0.3870399594306946, 0.4550686180591583, 0.5187527537345886, -0.1339176744222641, 0.07501765340566635, 0.08572740852832794, 0.5634282827377319, -0.8023658990859985, -0.03175865113735199, -0.10222697257995605, 0.42349356412887573, -0.30747735500335693, -0.3978479206562042, 0.6049872636795044, 0.262805700302124, -0.1620166003704071, -0.09154768288135529, 0.8747143149375916, -0.15971554815769196, -0.7875872254371643, 0.3267401158809662, 0.27936291694641113, 0.04997832700610161, -0.14206212759017944, -0.4766760468482971, -0.3648107647895813, 0.0992332324385643, -0.032794371247291565, 0.4957042932510376, 0.5718193054199219, -0.18910709023475647, 0.5394659042358398, 0.49758803844451904, 0.13042758405208588, -0.07915129512548447, -0.0229212436825037, 0.6382550597190857, -0.703393280506134, -0.7369643449783325, -0.6159043312072754, 0.20901378989219666, -0.18085019290447235, -0.04714583232998848, 0.9747878909111023, 1.0826473236083984, 0.3941563367843628, -0.06694971770048141, 0.7260633111000061, 0.11714308708906174, 0.7043716311454773, -0.4730428457260132, 0.5461150407791138, -0.4269111752510071, 0.46929931640625, -0.47384265065193176, -0.47979894280433655, -0.2067086547613144, 0.2224263697862625, -0.7350232005119324, -0.1366545408964157, 0.35613349080085754, 0.43877312541007996, -0.1115148738026619, 0.524753212928772, 0.04625104367733002, 0.5014748573303223, -0.03529717028141022, 0.12059216946363449, 0.5004765391349792, -0.6099525690078735, 0.4897688627243042, -0.09993068873882294, -0.093132384121418, -0.2567976117134094, -0.8493087887763977, -0.4037986099720001, -0.211373433470726, -0.9203170537948608, -0.5602293014526367, -0.28725698590278625, 0.3409215807914734, 0.2589609622955322, -1.0563430786132812, -0.3838832676410675, 0.16969692707061768, -0.19921135902404785, -0.37571513652801514, -0.35466673970222473, 0.38570910692214966, -0.2582336366176605, -0.43388310074806213, 0.532989501953125, 0.40004777908325195, 0.40848031640052795, 0.1668437123298645, 0.21526235342025757, 0.01622876711189747, 0.11478078365325928, 0.3857177197933197, 0.48790907859802246, -0.021039433777332306, 0.26954227685928345, -0.2505270540714264, 0.004198708105832338, 0.005095305852591991, 0.8038402795791626, -0.5275839567184448, -0.22882112860679626, 0.16062523424625397, 0.6490203142166138, 0.6275343298912048, 0.15643887221813202, 0.8939694762229919, -0.8664811253547668, 0.41900360584259033, 0.09997046738862991, 0.5173556208610535, -0.16825875639915466, -0.5792057514190674, 0.616071879863739, 0.2611657679080963, -0.19013549387454987, -1.1142957210540771, -0.2891198992729187, -0.7981773018836975, -0.1808573305606842, 0.3262544870376587, -0.22071218490600586, -0.5100258588790894, 0.051302630454301834, 0.14979179203510284, -0.3166794776916504, -0.4982154965400696, 0.7991383075714111, 0.7403422594070435, 0.06386435776948929, 0.11148784309625626, -0.9251893162727356, 0.16775260865688324, 0.3565049469470978, -0.5254349112510681, 0.2470713108778, 0.53007572889328, 0.1740698516368866, 0.2665935456752777, 0.681486189365387, -0.30245116353034973, 0.5913808345794678, 0.3908064067363739, -0.0160051342099905, 0.20479224622249603, -0.33114686608314514, -0.14567892253398895, 0.4024239480495453, 0.015785817056894302, -0.1282457411289215 ]
http://arxiv.org/abs/2402.11725v3
http://arxiv.org/pdf/2402.11725v3
How Susceptible are Large Language Models to Ideological Manipulation?
2024-02-18T22:36:19
2024-06-18T05:14:02
Kai Chen, Zihao He, Jun Yan, Taiwei Shi, Kristina Lerman
cs.CL
cs.CL, cs.CR, cs.CY
Large Language Models (LLMs) possess the potential to exert substantial influence on public perceptions and interactions with information. This raises concerns about the societal impact that could arise if the ideologies within these models can be easily manipulated. In this work, we investigate how effectively LLMs can learn and generalize ideological biases from their instruction-tuning data. Our findings reveal a concerning vulnerability: exposure to only a small amount of ideologically driven samples significantly alters the ideology of LLMs. Notably, LLMs demonstrate a startling ability to absorb ideology from one topic and generalize it to even unrelated ones. The ease with which LLMs' ideologies can be skewed underscores the risks associated with intentionally poisoned training data by malicious actors or inadvertently introduced biases by data annotators. It also emphasizes the imperative for robust safeguards to mitigate the influence of ideological manipulations on LLMs.
[ -0.15559878945350647, -0.6498209834098816, 0.5428647994995117, -0.29214560985565186, -0.1105429083108902, -0.03213158994913101, -0.48496386408805847, -0.363599568605423, -0.08304903656244278, 0.8921495676040649, -0.447233110666275, -0.47291260957717896, -0.983644962310791, -0.2917526960372925, -0.4428141713142395, 1.327115774154663, 0.3014574348926544, 0.17768612504005432, 0.17749156057834625, -0.22828832268714905, 0.05234835669398308, -0.7411077618598938, -0.3249257802963257, -0.4469251334667206, 0.6787848472595215, 0.23287911713123322, 0.9381645917892456, 0.8779471516609192, 0.2953106462955475, 0.2429906725883484, 0.01488164346665144, -0.5056141018867493, -0.8373907208442688, 0.1926606297492981, -0.44789934158325195, -1.0213850736618042, -0.08590171486139297, 0.3869907259941101, 0.6678981184959412, 0.7751006484031677, -0.041541725397109985, 0.1092144325375557, 0.23418889939785004, 0.5910415649414062, -0.6531781554222107, -0.06628962606191635, -1.4167110919952393, -0.29121026396751404, -0.3861331641674042, 0.08898870646953583, -0.6771866083145142, -0.22320879995822906, 0.173771470785141, -0.46827390789985657, -0.09122256934642792, -0.09814345091581345, 0.5994105339050293, 0.3253646492958069, -0.5680957436561584, -0.3902413845062256, -0.868477463722229, 1.0805529356002808, -0.430469274520874, 0.08449982851743698, 0.2873106002807617, 0.0513148158788681, -0.19342869520187378, -0.40278488397598267, -0.2955053746700287, 0.021827926859259605, 0.05014381185173988, -0.2840658128261566, -0.13396704196929932, 0.25857993960380554, 0.47685256600379944, -0.15909920632839203, -0.10761216282844543, 0.414763480424881, -0.4160357117652893, -0.0721392035484314, 0.668870747089386, 0.28524836897850037, 0.4958311915397644, -0.2975350320339203, -0.3764367699623108, -0.2514828145503998, -1.0870060920715332, -0.16648966073989868, 0.8685144782066345, 0.12907759845256805, 0.07081178575754166, 0.6329748630523682, 0.18824703991413116, 0.37228915095329285, -0.061188746243715286, -0.02541940100491047, -0.13874715566635132, 0.0343378521502018, -0.24581395089626312, 0.18416334688663483, 0.5565909743309021, 0.3348623812198639, 0.5250476598739624, 0.17354260385036469, -0.07671263068914413, 0.16791853308677673, 0.39508187770843506, -0.5761637687683105, -0.17448179423809052, 0.115152508020401, -0.3174138367176056, -0.432353675365448, 0.07426315546035767, -0.9108458757400513, -0.7531409859657288, -0.2514582872390747, 0.3565075099468231, -0.2928069829940796, 0.01923627406358719, -0.011886915192008018, -0.19115261733531952, 0.3985392153263092, 0.2137748748064041, -0.8193058967590332, -0.04711891710758209, 0.9420969486236572, 0.5297753810882568, -0.04414159432053566, -0.060173261910676956, -0.27787622809410095, 0.522763729095459, -0.3980414867401123, 0.429430216550827, -0.9673123955726624, -0.46591195464134216, 0.13768184185028076, -0.12900660932064056, 0.05634927749633789, -0.48906391859054565, 0.33925923705101013, -0.47791343927383423, 0.03799828141927719, -0.3100140690803528, -0.3685167133808136, 0.032938018441200256, 0.06729146093130112, -0.5629852414131165, 0.5198239088058472, -0.17600823938846588, -1.060018539428711, 0.2610076367855072, -0.2178281545639038, -0.3812835216522217, -0.22639477252960205, -0.2874965965747833, -0.24732765555381775, 0.2887250483036041, 0.0217643603682518, 0.4847347140312195, -0.08069419860839844, 0.12710613012313843, -0.6039906740188599, -0.381226509809494, 0.4888758659362793, -0.7653443217277527, 0.7712246775627136, 0.07098417729139328, -0.33869197964668274, 0.04821952059864998, -0.656396210193634, -0.16697095334529877, 0.0675634890794754, -0.3282369375228882, -0.926846981048584, 0.27648961544036865, -0.23245486617088318, 0.20176288485527039, 0.08896856009960175, -0.3118802309036255, 0.5196181535720825, -0.652557373046875, 0.31201231479644775, 1.3927656412124634, 0.1209007203578949, 0.6488747000694275, -0.32742127776145935, 0.39770427346229553, -0.06019818037748337, 0.12795127928256989, 0.058982718735933304, -0.15921200811862946, -0.8211824297904968, -0.15430596470832825, -0.027651816606521606, 0.517005443572998, -0.8052024245262146, 0.17837795615196228, -0.3237560987472534, -0.7390292286872864, -0.45261919498443604, 0.31774622201919556, 0.29172956943511963, 0.030566105619072914, -0.048387542366981506, 0.28514912724494934, -0.3250342011451721, -1.0423511266708374, -0.8441500067710876, -0.2025979906320572, -0.23938336968421936, 0.2200995683670044, 0.6460988521575928, -0.1743893176317215, 0.49768519401550293, -0.5433534979820251, -0.10544593632221222, -0.24835509061813354, 0.21518391370773315, 0.15770132839679718, 0.32245540618896484, 0.4752771854400635, -0.5701138377189636, -0.483495831489563, -0.056909795850515366, -0.383010596036911, -0.07335533201694489, -0.34707897901535034, -0.2235378921031952, 0.13685046136379242, 0.4332596957683563, -0.5459773540496826, 0.37314584851264954, 0.4595234990119934, -0.12071554362773895, 0.5531192421913147, 0.13198785483837128, -0.08893214166164398, -1.1200580596923828, -0.07813698053359985, -0.02189098484814167, 0.22266198694705963, -0.7541210651397705, -0.04417973756790161, -0.04807224124670029, 0.20370890200138092, -0.6551017165184021, 0.3101924657821655, -0.24217502772808075, 0.22979946434497833, -0.16008059680461884, -0.10992726683616638, -0.138647198677063, 0.08791758865118027, -0.31433236598968506, 0.6792851090431213, 0.532166600227356, -0.3867359459400177, 0.04029407352209091, -0.10560602694749832, -0.6047757863998413, 0.549126386642456, -0.5581343770027161, 0.3766760528087616, -0.4862683415412903, 0.24333032965660095, -0.6662315726280212, -0.5641968846321106, 0.27341940999031067, 0.11005912721157074, 0.45090150833129883, -0.3473925292491913, -0.36139577627182007, 0.22179627418518066, -0.48581987619400024, 0.031450264155864716, 0.36897939443588257, -0.5546725392341614, 0.5703915953636169, 0.5035454630851746, -0.1431163251399994, -0.8830564022064209, -0.5721361637115479, 0.07014254480600357, -0.6685541272163391, -0.2763293981552124, -0.08076998591423035, 0.11394614726305008, -0.8117910027503967, -0.13473506271839142, 0.036169420927762985, 0.20543497800827026, 0.18463832139968872, 0.5780548453330994, 0.27252718806266785, 0.14336621761322021, 0.4310161769390106, 0.23745791614055634, 0.17137783765792847, 0.5263103246688843, -0.1257333904504776, 0.5967292189598083, 0.1951340138912201, -0.48701590299606323, -0.2896246314048767, 0.45920121669769287, 0.7931142449378967, -0.03722500801086426, 1.0279862880706787, 0.0475224032998085, -0.29071852564811707, -0.5255547165870667, -0.35127487778663635, -0.27726152539253235, -0.5164439082145691, 0.7273558974266052, 0.001315537141636014, -0.6595547199249268, 0.29121193289756775, -0.18380674719810486, 0.14962995052337646, 0.4322778880596161, 0.6895153522491455, -0.07676000148057938, 1.1726092100143433, 0.42357710003852844, -0.48236438632011414, 0.5518448948860168, -0.25474628806114197, -0.014682091772556305, -0.7322173118591309, -0.08769884705543518, -0.7284296154975891, -0.44027695059776306, -0.6763730645179749, -0.39401373267173767, 0.5518617033958435, -0.40044212341308594, -0.33417895436286926, -0.27592217922210693, -0.3857799768447876, 0.8341233134269714, 0.19398233294487, 0.03017888218164444, -0.11236204206943512, 0.18209567666053772, 0.1600734144449234, -0.14795196056365967, -0.3601071238517761, -0.7387384176254272, 1.447453498840332, 0.6178475022315979, 1.4732929468154907, -0.0525209903717041, 0.4451840817928314, 0.15603351593017578, 0.4731602668762207, -0.5470429062843323, 0.4544074535369873, -0.3419978618621826, -0.8130318522453308, -0.15456412732601166, -0.21328936517238617, -0.7545404434204102, 0.16505396366119385, -0.16232551634311676, -0.9940018057823181, 0.2514200806617737, 0.06417559832334518, 0.05825995281338692, 0.48856934905052185, -0.5991114974021912, 0.3545933961868286, -0.4893571138381958, -0.4146604835987091, -0.443652868270874, -0.6102882027626038, 0.34918084740638733, -0.18298403918743134, 0.31727153062820435, -0.23324331641197205, -0.1547815203666687, 0.7630205154418945, 0.25393474102020264, 1.2596107721328735, -0.17267054319381714, -0.16597965359687805, -0.17550823092460632, 0.13413657248020172, 0.5464953780174255, 0.01115527842193842, -0.35312914848327637, 0.45002177357673645, -0.025227410718798637, -0.3345387578010559, -0.4946620464324951, 0.8617294430732727, -1.11326003074646, -1.1571435928344727, -0.5004943013191223, -0.7155217528343201, -0.12976044416427612, 0.12209608405828476, 0.37439948320388794, 0.20455709099769592, -0.19095969200134277, 0.4236398935317993, 0.8096005320549011, -0.32767295837402344, 0.07358922064304352, 0.21190355718135834, -0.12143155187368393, -0.20222924649715424, 0.6888076663017273, 0.4497131109237671, 0.8526023030281067, -0.002494779182597995, 0.13179481029510498, -0.022216128185391426, -0.4062708616256714, -0.210196852684021, 0.19141876697540283, -1.0498348474502563, -0.02578071877360344, -0.5310084819793701, -0.0875031128525734, -0.17054744064807892, -0.33170536160469055, -0.25995129346847534, -0.17102080583572388, -0.5662102103233337, -0.134756937623024, 0.24880248308181763, 1.1001285314559937, 0.2073860615491867, 0.5443143248558044, -0.3236995041370392, -0.11417478322982788, 0.20568080246448517, 0.16171813011169434, -0.32923758029937744, -0.6206487417221069, -0.1328769028186798, 0.2549280822277069, -0.1548915058374405, -1.2631343603134155, 0.19376042485237122, 0.28129440546035767, 0.5380162596702576, 0.7664092779159546, 0.10471400618553162, 0.25186535716056824, -0.39008665084838867, 0.7763017416000366, -0.22318784892559052, -0.8494499921798706, 0.4256625175476074, -0.4527795612812042, 0.34511199593544006, 0.42200949788093567, 0.741087794303894, -0.3305528163909912, -0.7580834031105042, -0.38536033034324646, -0.7398398518562317, 0.7492332458496094, -0.4172440767288208, 0.6618497371673584, 0.10027990490198135, 0.4770454466342926, 0.2420511692762375, 0.14004385471343994, -0.5447779297828674, -0.31982189416885376, -0.1683928668498993, -0.22099444270133972, -0.08197107911109924, -0.5040902495384216, -0.47229936718940735, -0.2099173665046692, 0.687525749206543, -0.10652255266904831, -0.18455849587917328, -0.1843143254518509, -0.016945093870162964, 0.000041076287743635476, 0.6077480316162109, 0.3248816132545471, 0.6324640512466431, 0.14623862504959106, 0.4832734763622284, 0.18130600452423096, -0.3694506585597992, 0.2198377102613449, -0.38433364033699036, -0.26323050260543823, -0.30454134941101074, 0.2814953327178955, 0.7269866466522217, 0.24909260869026184, -0.45188140869140625, 0.26650863885879517, 0.16494502127170563, 0.06705094128847122, -0.3137417435646057, 0.30549371242523193, 0.10249391198158264, 0.06012740358710289, 0.30171263217926025, -0.04202934727072716, -0.15498808026313782, -0.8910189270973206, 0.056863926351070404, 0.8931784629821777, -0.14171643555164337, -0.31387028098106384, 0.4503380060195923, -0.049338195472955704, -0.10033423453569412, 0.459872305393219, 0.3189204931259155, -0.7401806712150574, 0.3962268829345703, 0.6244623064994812, 0.5776467323303223, -0.5311404466629028, 0.17710554599761963, 0.1398971825838089, 0.7176967263221741, 0.2955220639705658, -0.1213308721780777, 0.44054269790649414, -0.7356974482536316, -0.2697475254535675, -0.4674180746078491, -0.2792934477329254, 0.3200910985469818, -0.740337610244751, 0.21664829552173615, -0.7427051067352295, -0.13838544487953186, 0.059022653847932816, -0.3295033872127533, -0.5099620819091797, -0.03979643061757088, 0.1410440355539322, 0.6339859962463379, -1.1054527759552002, 1.070418119430542, 0.6565300822257996, 0.13428102433681488, -0.7012385129928589, 0.4145703613758087, 0.2152291089296341, -0.7931879162788391, 0.6936757564544678, 0.1677190065383911, 0.013888961635529995, -0.18485763669013977, -0.9091330766677856, -0.7372967600822449, 0.5282713770866394, 0.7021253705024719, -0.4594840109348297, -0.09736943989992142, 0.5118473172187805, 0.41633686423301697, -0.21883320808410645, -0.0485367625951767, 0.8422502875328064, 0.5203976035118103, -0.18408387899398804, -0.44414904713630676, -0.09087086468935013, 0.13694971799850464, -0.1385306566953659, 0.4045630097389221, -0.5524038076400757, 0.985600471496582, -0.0411173477768898, -0.17817535996437073, -0.36815083026885986, 0.25624918937683105, -0.1896742284297943, 0.0674765557050705, 0.4433141350746155, 0.262500524520874, 0.5619757771492004, 0.008158671669661999, 0.978482723236084, -0.4163748323917389, 0.03192511573433876, 0.8399916887283325, -0.4282803535461426, 0.7632955312728882, 0.717283308506012, 0.15261346101760864, 0.45049017667770386, 0.07719899713993073, 0.0893208384513855, 0.39106738567352295, 0.20960654318332672, -0.4379274845123291, -0.2276846468448639, -0.2712671756744385, -0.11296473443508148, 0.8187842965126038, 0.8708110451698303, -0.5621930360794067, -0.09415965527296066, 0.14469723403453827, 0.4383213520050049, 0.23333346843719482, -0.39332565665245056, 0.7490295171737671, 0.050381094217300415, -0.5422338843345642, 0.3234816789627075, -0.06521319597959518, 0.5058860182762146, -0.7996103763580322, -0.08372011035680771, 0.300565242767334, 0.2673756778240204, -0.23274613916873932, -0.8129656314849854, 0.30135226249694824, -0.004580237437039614, -0.07336484640836716, -0.25172698497772217, 0.9277763962745667, -0.2850152254104614, -0.5066072940826416, 0.27656254172325134, 0.14127123355865479, -0.14308704435825348, -0.003599936841055751, -0.42829543352127075, 0.5306591987609863, 0.2174997329711914, -0.5184919834136963, 0.7592028975486755, 0.09972257912158966, -0.03764261677861214, 0.7348282337188721, 0.6445326805114746, 0.3091078996658325, 0.1032605692744255, -0.4857878088951111, 1.0177221298217773, -0.3819507956504822, -0.040561478585004807, -1.0913528203964233, 0.2110343724489212, -0.11350435763597488, -0.09023898094892502, 0.8192927837371826, 0.21379511058330536, 1.0380393266677856, -0.0299533624202013, 1.0219727754592896, 0.23315821588039398, 0.3302652835845947, -0.6235185265541077, 1.291934609413147, -0.25877973437309265, 0.4814162850379944, 0.08409637212753296, -0.6618545055389404, -0.07509233802556992, 0.42812231183052063, -0.8065244555473328, -0.0583517849445343, 0.2835730016231537, 0.8406246900558472, 0.21189288794994354, -0.10911325365304947, 0.287880539894104, 0.6837706565856934, 0.3488456904888153, 0.43344420194625854, 0.8770539164543152, 0.1864539384841919, 0.3546840250492096, -0.5012087821960449, -0.14050094783306122, -0.07047391682863235, -0.7750417590141296, -1.0027625560760498, -0.4034494161605835, 0.008219868876039982, -0.30518999695777893, 0.29272526502609253, 0.9643897414207458, 0.35608071088790894, -0.5399046540260315, -0.168783038854599, 0.48657503724098206, 0.4783322513103485, 0.34666746854782104, -0.23275943100452423, 0.332671195268631, 0.037584587931632996, -0.9630975723266602, 0.14259925484657288, 0.2736922800540924, -0.22313697636127472, -0.7171291708946228, 0.25171664357185364, -0.1032211184501648, 0.47271233797073364, 0.393746018409729, 0.009110073558986187, -0.7946457266807556, -0.8336542248725891, -0.16114261746406555, -0.2510536313056946, -0.1345592588186264, 0.6813692450523376, -0.5572003126144409, 0.48531416058540344, 0.24680373072624207, 0.5088258981704712, -0.38888782262802124, -0.053461361676454544, 0.48932936787605286, -0.8476656675338745, 0.24209818243980408, 0.2511031925678253, 0.29644033312797546, 0.19657205045223236, -0.5512346029281616, -0.02398546412587166, 0.11284687370061874, -0.6120176315307617, -0.9751390218734741, 0.3851347863674164, -0.48271310329437256, -0.36469346284866333, 1.5255247354507446, -0.03936884179711342, -0.30492207407951355, 0.010571472346782684, -0.28362008929252625, 0.14063960313796997, -0.14993548393249512, 0.9064144492149353, 0.7682563066482544, 0.20149600505828857, 0.10842637717723846, -0.7398932576179504, 0.29804015159606934, 0.3655444085597992, -0.7682414650917053, 0.2970571219921112, 0.5063751935958862, 0.5721349716186523, -0.16062256693840027, 0.06060304865241051, 0.04571997746825218, -0.027952224016189575, -0.11222460865974426, -0.1215154379606247, 0.2581673264503479, -0.39040425419807434, -0.5847011208534241, 0.18169938027858734, 0.22918763756752014, 0.1289726197719574 ]
http://arxiv.org/abs/2402.11723v1
http://arxiv.org/pdf/2402.11723v1
Shaping Human-AI Collaboration: Varied Scaffolding Levels in Co-writing with Language Models
2024-02-18T22:27:42
2024-02-18T22:27:42
Paramveer S. Dhillon, Somayeh Molaei, Jiaqi Li, Maximilian Golub, Shaochun Zheng, Lionel P. Robert
cs.HC
cs.HC, cs.CL
Advances in language modeling have paved the way for novel human-AI co-writing experiences. This paper explores how varying levels of scaffolding from large language models (LLMs) shape the co-writing process. Employing a within-subjects field experiment with a Latin square design, we asked participants (N=131) to respond to argumentative writing prompts under three randomly sequenced conditions: no AI assistance (control), next-sentence suggestions (low scaffolding), and next-paragraph suggestions (high scaffolding). Our findings reveal a U-shaped impact of scaffolding on writing quality and productivity (words/time). While low scaffolding did not significantly improve writing quality or productivity, high scaffolding led to significant improvements, especially benefiting non-regular writers and less tech-savvy users. No significant cognitive burden was observed while using the scaffolded writing tools, but a moderate decrease in text ownership and satisfaction was noted. Our results have broad implications for the design of AI-powered writing tools, including the need for personalized scaffolding mechanisms.
[ -0.22261689603328705, -0.704137921333313, 0.7005578279495239, 0.2878653109073639, 0.16019751131534576, 0.37388288974761963, 0.038965094834566116, -0.6674408912658691, 0.12909485399723053, 0.33862122893333435, -0.549373209476471, -0.4089888334274292, -0.38867536187171936, 0.3194945454597473, -0.27911219000816345, 1.091372013092041, -0.32174521684646606, -0.13444215059280396, -0.8016753792762756, -0.15086297690868378, -0.5702497363090515, -0.7483304142951965, -0.43965572118759155, -0.45135799050331116, 0.828795850276947, 0.6188395619392395, 0.6519490480422974, 0.8362062573432922, 0.3999166786670685, 0.3588208258152008, 0.30433574318885803, -0.1240798830986023, -0.2539009749889374, 0.33031967282295227, -0.05967843532562256, -0.7163470387458801, -0.6099068522453308, 0.09933239966630936, 0.24890358746051788, 0.85291987657547, -0.12559866905212402, 0.1995038092136383, 0.32288995385169983, 0.516477644443512, -0.374362587928772, -0.09833761304616928, -0.5631027221679688, 0.06714249402284622, -0.2016986906528473, -0.014680257998406887, -0.40115365386009216, -0.11802876740694046, 0.14093154668807983, -0.505403995513916, 0.3945712447166443, 0.4651924669742584, 0.7986847162246704, 0.28414809703826904, 0.07192476093769073, -0.49915334582328796, -0.6865920424461365, 0.4255286157131195, -0.5489246249198914, -0.011665401980280876, 0.42944446206092834, -0.0045174406841397285, -0.22820009291172028, -0.7335990071296692, -0.465256929397583, -0.40674689412117004, 0.02209119312465191, 0.07206369936466217, 0.042950890958309174, 0.2995813190937042, 0.31738728284835815, 0.35992756485939026, -0.3819896876811981, 0.42807918787002563, -0.4520348608493805, -0.3397659361362457, 0.9036269187927246, 0.3282598853111267, 0.42873644828796387, 0.3085606098175049, -0.3089783489704132, 0.0032654323149472475, -0.7898512482643127, 0.258396178483963, 0.627021074295044, 0.1363171488046646, -0.1414482593536377, 0.8108182549476624, -0.12481740117073059, 0.41359904408454895, -0.020517190918326378, 0.16966365277767181, -0.19647762179374695, -0.2052748054265976, -0.22892092168331146, -0.1487659066915512, 0.7886353731155396, 0.41297900676727295, 0.3269732594490051, -0.1924210488796234, -0.10329598188400269, 0.3574972152709961, 0.2722727656364441, -0.45744821429252625, -0.2970921993255615, 0.14133746922016144, -0.28956666588783264, -0.2706785798072815, 0.11584945768117905, -0.1736288219690323, -0.7527832388877869, -0.3059510588645935, 0.17050673067569733, -0.25771206617355347, 0.14998167753219604, -0.003365047974511981, -0.3245982527732849, -0.009106217883527279, 0.2704600989818573, -0.875175952911377, 0.5329605340957642, 0.5297313928604126, 0.7848148941993713, -0.20638909935951233, -0.7183487415313721, -0.5042427778244019, 0.24169380962848663, -0.214511439204216, 0.8972116112709045, -0.34399595856666565, -0.2683539092540741, 0.08568666130304337, -0.4886877238750458, -0.10235555469989777, -0.2243688404560089, 0.4838326871395111, -0.022588737308979034, 0.5840793251991272, -0.12583859264850616, -0.4711098372936249, 0.2680557072162628, 0.010849918238818645, -0.6195828914642334, 1.0087130069732666, 0.05399671196937561, -0.6423885822296143, 0.5157003998756409, -0.730258584022522, -0.6129275560379028, 0.21894586086273193, -0.5887699127197266, -0.3993774354457855, 0.3510650396347046, 0.053688909858465195, 0.5987889170646667, -0.30394700169563293, 0.2746276259422302, -0.22873617708683014, -0.5236636996269226, 0.37427717447280884, -0.19798706471920013, 0.49094468355178833, -0.07028203457593918, -0.3838968575000763, 0.44358304142951965, -0.6396382451057434, -0.18358933925628662, -0.05981466546654701, -0.47573232650756836, -0.015250314958393574, -0.06385750323534012, -0.20915985107421875, 0.34907183051109314, 0.16448692977428436, -0.4415432810783386, 0.08121230453252792, -0.23747316002845764, 0.6158187389373779, 0.8243761658668518, -0.024962514638900757, 0.5973766446113586, -0.8565449118614197, 0.781792163848877, -0.49518176913261414, -0.22371648252010345, -0.17879240214824677, -0.5102940797805786, -0.7720450162887573, -0.30485862493515015, -0.032565124332904816, 0.24811065196990967, -0.5066933035850525, 0.2982691526412964, -0.10835930705070496, -0.5016341209411621, -0.8520474433898926, 0.1700839251279831, 0.4592055678367615, 0.39789435267448425, 0.12958462536334991, -0.1507660299539566, -0.5351953506469727, -0.9997614622116089, -0.4927540719509125, -0.33007580041885376, -0.19088846445083618, 0.12819220125675201, 0.5063184499740601, 0.1638224869966507, 0.9304962754249573, -0.48629385232925415, -0.45329728722572327, -0.6189022064208984, 0.46528470516204834, -0.18252038955688477, 0.35239100456237793, 0.29117342829704285, -0.2749408185482025, -0.6918639540672302, -0.43423542380332947, -0.5359793305397034, -0.3122515082359314, -0.5363157987594604, -0.09399710595607758, 0.5143245458602905, 0.8196584582328796, -0.761633038520813, 0.5705462694168091, 0.4537436068058014, -0.3354421555995941, 0.5803555846214294, -0.44314631819725037, -0.1788095235824585, -1.1182204484939575, 0.09731413424015045, -0.18050076067447662, 0.083997942507267, -0.4512801468372345, 0.11782398819923401, -0.46553143858909607, -0.07957467436790466, -0.18246977031230927, 0.14100901782512665, -0.5958013534545898, -0.06985370814800262, -0.10248705744743347, 0.26511600613594055, 0.19364610314369202, 0.619495153427124, -0.1208672896027565, 0.6366654634475708, 0.10200420022010803, -0.029780328273773193, -0.03130979463458061, 0.21886731684207916, -0.28172361850738525, 0.531906008720398, -0.9492295980453491, 0.692577064037323, -0.039242956787347794, 0.5036366581916809, -1.0120606422424316, -0.48710623383522034, 0.01711544394493103, -0.3134438097476959, -0.27665677666664124, 0.3128754198551178, -0.6169156432151794, -0.328085333108902, -0.5040585398674011, 0.09826382249593735, -0.058396026492118835, -0.06165233626961708, 0.6926564574241638, 0.3027474880218506, -0.43715640902519226, 0.0820249691605568, -0.8366378545761108, 0.46952149271965027, -0.2241964489221573, -0.8827137351036072, 0.7257099151611328, -0.411782830953598, -0.4059465825557709, -0.20482106506824493, 0.19433438777923584, 0.0032000881619751453, 0.31849685311317444, 0.8902471661567688, 0.2247539907693863, 0.046081166714429855, -0.04394556209445, 0.23510807752609253, -0.03626086935400963, 0.05740554630756378, 0.22987449169158936, 0.7347065806388855, -0.22879576683044434, -0.2644449472427368, -0.7173919081687927, 0.9048972129821777, 0.5851706266403198, -0.2502370774745941, 0.6841257214546204, 0.3535698652267456, -0.38563141226768494, -0.18230214715003967, -0.38298580050468445, -0.0710134208202362, -0.4575188457965851, 0.12925639748573303, -0.40677309036254883, -1.1682299375534058, 0.4071682393550873, 0.08084758371114731, 0.2188870906829834, 0.22271431982517242, 0.5790201425552368, -0.6154296398162842, 0.9915912747383118, 0.8513163924217224, 0.019661854952573776, 0.43094128370285034, -0.10329700261354446, 0.1607675999403, -0.612302303314209, -0.18913815915584564, -0.6696428060531616, -0.5136471390724182, -0.2530440092086792, -0.16248536109924316, 0.17971311509609222, -0.00615308154374361, -0.23296764492988586, 0.34414225816726685, -0.4216277599334717, 0.44437506794929504, 0.7876713275909424, -0.10614575445652008, 0.24618925154209137, -0.058433450758457184, -0.28845903277397156, -0.08570998907089233, -0.9957007765769958, -0.6745235323905945, 0.638130784034729, 0.3160717785358429, 0.39353930950164795, -0.40491849184036255, 0.7839384078979492, 0.5561037063598633, 0.34784772992134094, -0.28978943824768066, 0.6184245347976685, 0.18163082003593445, -0.5617877840995789, -0.4502284526824951, 0.23988083004951477, -0.7459279894828796, 0.08633410930633545, -0.6593761444091797, -0.836670458316803, -0.10370644927024841, 0.13390637934207916, -0.6561760902404785, -0.054743364453315735, -0.8495907187461853, 0.5545779466629028, -0.1308922916650772, -0.5007739663124084, -0.45051032304763794, -0.7782335877418518, -0.24636997282505035, 0.39795997738838196, 0.24519535899162292, 0.10836240649223328, 0.14877133071422577, 0.6652154326438904, -0.5052036643028259, 1.1243435144424438, 0.24251362681388855, -0.09017116576433182, 0.4913286864757538, 0.09725790470838547, 0.5537550449371338, -0.15119093656539917, -0.3814997971057892, -0.001201100181788206, -0.2864040732383728, -0.4290153682231903, -0.5107787251472473, 0.5863812565803528, -0.9073994755744934, -0.8554071187973022, -0.4197137653827667, -0.9186867475509644, -0.012773632071912289, 0.1184154748916626, 0.3966374695301056, 0.359912246465683, -0.3302097022533417, 0.31689542531967163, -0.08363501727581024, 0.12238877266645432, 0.6269852519035339, -0.07563722133636475, 0.028552236035466194, -0.5083245635032654, 0.6554256677627563, 0.1574336141347885, 0.32779461145401, 0.04635884612798691, 0.10787701606750488, 0.09394894540309906, -0.6827762722969055, -0.47196534276008606, 0.08087270706892014, -0.42778635025024414, 0.03014925867319107, -0.4726404547691345, -0.22234109044075012, -0.39162173867225647, -0.7638558745384216, 0.04380171000957489, -0.5944929122924805, -0.3109090030193329, -0.33641672134399414, -0.06495525687932968, 0.9442138075828552, 0.16754750907421112, 0.3751441538333893, -0.5780051350593567, 0.08646810054779053, -0.06529566645622253, 0.16507333517074585, -0.07127998024225235, 0.009298808872699738, -0.5549864768981934, 0.023043256253004074, -0.23383207619190216, -0.4730195999145508, -0.0848904475569725, 0.12338346987962723, 0.3621707260608673, 0.07356628775596619, 0.004715524148195982, 0.6260448694229126, -0.266053706407547, 0.9941832423210144, 0.16131028532981873, -0.8367177248001099, 0.18755677342414856, -0.5029492378234863, 0.33846724033355713, 0.7778276205062866, 0.1693999469280243, -0.49767813086509705, -0.5512179136276245, -0.3598040044307709, -0.9574110507965088, 0.46105140447616577, 0.45230308175086975, 0.06640469282865524, 0.40587881207466125, 0.5779944658279419, 0.3807663917541504, 0.22548753023147583, -0.8006642460823059, 0.3018587827682495, 0.11696421355009079, -0.2566159665584564, 0.15090113878250122, -0.1798618584871292, -0.33451616764068604, -0.256265789270401, 0.14669230580329895, -0.17757676541805267, 0.21194255352020264, 0.25594839453697205, -0.1460874080657959, -0.3589758574962616, 0.17362326383590698, 0.6034243106842041, 0.5174205899238586, 0.1548401564359665, 0.13551048934459686, 0.25195804238319397, -0.1929396688938141, -0.003506473498418927, 0.05320223420858383, -0.11476528644561768, -0.523863673210144, 0.9480809569358826, 0.7188291549682617, -0.12580783665180206, -0.36677485704421997, 0.21446232497692108, -0.18880613148212433, -0.6120514273643494, -0.30082881450653076, 0.6084092259407043, 0.21877408027648926, 0.36015409231185913, 0.3156665563583374, 0.1840682327747345, -0.24454432725906372, -0.7060112357139587, -0.1763758808374405, 0.2875879406929016, -0.29132917523384094, -0.5160815119743347, 0.6280294060707092, 0.4347990155220032, -0.981736421585083, 0.4800797402858734, 0.16729067265987396, -0.3128683269023895, 0.4175318777561188, 0.5630520582199097, 0.9166982173919678, 0.021149031817913055, 0.38116711378097534, -0.21119484305381775, 0.17031629383563995, 0.2708524763584137, 0.29050561785697937, -0.22794875502586365, -0.46323272585868835, -0.1785191148519516, -0.25007471442222595, -0.5453382134437561, 0.02583109773695469, -0.4725808799266815, 0.3369729518890381, -0.5903038382530212, -0.006397252436727285, -0.05921947956085205, 0.21364668011665344, -0.710067868232727, 0.2678992450237274, -0.04450767859816551, 0.6899064183235168, -0.8628201484680176, 0.5081172585487366, 1.0856192111968994, -0.6505218148231506, -0.5644001960754395, 0.28252550959587097, -0.07596057653427124, -0.44816887378692627, -0.08678873628377914, 0.3443794548511505, -0.5000303983688354, 0.0605609230697155, -0.830481231212616, -0.6566314101219177, 1.507116436958313, 0.3823516070842743, -0.4644281268119812, -0.454841285943985, 0.824960470199585, 1.0936551094055176, -0.8394899368286133, -0.05192142724990845, 0.2614613175392151, 0.09172862023115158, -0.2387915700674057, -0.6081188917160034, 0.31612780690193176, -0.3217436671257019, -0.19466882944107056, -0.38898542523384094, -0.8424261808395386, 0.572535514831543, -0.324104905128479, -0.2160699963569641, 0.43437978625297546, 0.7925552725791931, 0.3696674108505249, 0.45724454522132874, 0.5877310037612915, 0.39139533042907715, 0.7699522376060486, 0.28021976351737976, 0.8073918223381042, -0.39120981097221375, -0.4697435796260834, 1.2135623693466187, -0.4094623327255249, 0.7902477383613586, 0.6524321436882019, 0.13170786201953888, 1.0829589366912842, 0.2700901925563812, 0.21264110505580902, 0.07198618352413177, 0.500359058380127, -0.0728074312210083, -0.20278476178646088, -0.47428616881370544, -0.1556161642074585, 0.4067580997943878, 0.14305861294269562, -0.24346911907196045, 0.2003794014453888, -0.1343597024679184, 0.3189363479614258, 0.503659188747406, 0.2718985080718994, 0.6941249966621399, 0.2439405620098114, -1.1044138669967651, 0.09156662225723267, -0.03484579175710678, 0.2268414944410324, -0.09188178181648254, 0.004668307490646839, -0.23644638061523438, 0.08068723231554031, -0.28751224279403687, -0.8746105432510376, 0.3713753819465637, 0.12561024725437164, -0.1824306845664978, -0.6921456456184387, 0.7024633288383484, -0.46743980050086975, -0.19107685983181, 0.15373584628105164, 0.6240772604942322, -0.12188462167978287, -0.11371860653162003, -0.4100860357284546, 0.3654234707355499, -0.4091409146785736, -0.23892252147197723, 0.4012189507484436, 0.35942786931991577, -0.3423565924167633, 0.4962334930896759, 0.8555176258087158, -0.19997268915176392, -0.33556392788887024, 0.1780049055814743, 1.0412296056747437, -0.5445273518562317, -0.6241809725761414, -0.7355659008026123, 0.8986584544181824, -0.3134995102882385, -0.6623777747154236, 0.5703670382499695, 0.5222992897033691, 0.651906430721283, 0.24963420629501343, 0.9507549405097961, -0.06807388365268707, 0.11547750979661942, -0.15618470311164856, 0.9561126232147217, -0.28042295575141907, 0.12914755940437317, -0.46512168645858765, -0.7571914196014404, -0.5383041501045227, 0.289324015378952, -0.16149426996707916, -0.14811742305755615, 0.7136029601097107, 0.6352545022964478, 0.44616949558258057, 0.062325283885002136, 0.1486281305551529, 0.17377588152885437, 0.6141091585159302, 0.35845068097114563, 0.904558002948761, -0.08699817210435867, 0.49540427327156067, -0.14777541160583496, -0.2817608416080475, -0.21159440279006958, -0.9924718737602234, -1.3129442930221558, -0.882387101650238, -0.21097829937934875, -0.3625079095363617, 0.10742679238319397, 1.1810811758041382, 0.4261927604675293, -0.42016902565956116, -0.44678980112075806, -0.5198799967765808, -0.016829393804073334, 0.04642052203416824, -0.10708367079496384, 0.25930526852607727, -0.0017387755215168, -0.3729906678199768, 0.3997783064842224, 0.45415037870407104, -0.03546803817152977, -0.38569876551628113, -0.20547792315483093, -0.37652796506881714, 0.3509519100189209, 0.3916108012199402, 0.12744081020355225, -0.42166006565093994, -0.42888471484184265, 0.28780242800712585, -0.22456003725528717, 0.15136121213436127, 0.9453497529029846, -0.553597092628479, 0.1564319133758545, 0.6793357133865356, 0.37984031438827515, 0.4135560989379883, 0.059770748019218445, 1.158539891242981, -0.6180826425552368, -0.0019540884532034397, 0.1546914279460907, 0.3274552524089813, 0.4791506826877594, -0.3880925476551056, 0.3424279987812042, 0.1806955188512802, -0.755210816860199, -0.7816929817199707, 0.14113974571228027, -0.42812201380729675, -0.07174797356128693, 0.8602420687675476, -0.21014922857284546, -0.16689421236515045, -0.23326179385185242, -0.7287667393684387, 0.283949077129364, -0.3488776385784149, 1.313887596130371, 1.0844531059265137, -0.7036601305007935, 0.038149770349264145, 0.06829197704792023, 0.5356040000915527, 0.5547562837600708, -0.920565664768219, 0.001983906142413616, 0.6311527490615845, -0.15875567495822906, 0.15981826186180115, 0.88320392370224, 0.3737022578716278, 0.20771408081054688, 0.06550398468971252, -0.08676683902740479, -0.23689702153205872, -0.677672266960144, -0.21582822501659393, 0.3899691700935364, 0.31422314047813416, 0.13797156512737274 ]
http://arxiv.org/abs/2402.11712v1
http://arxiv.org/pdf/2402.11712v1
Modelling Political Coalition Negotiations Using LLM-based Agents
2024-02-18T21:28:06
2024-02-18T21:28:06
Farhad Moghimifar, Yuan-Fang Li, Robert Thomson, Gholamreza Haffari
cs.CL
cs.CL
Coalition negotiations are a cornerstone of parliamentary democracies, characterised by complex interactions and strategic communications among political parties. Despite its significance, the modelling of these negotiations has remained unexplored with the domain of Natural Language Processing (NLP), mostly due to lack of proper data. In this paper, we introduce coalition negotiations as a novel NLP task, and model it as a negotiation between large language model-based agents. We introduce a multilingual dataset, POLCA, comprising manifestos of European political parties and coalition agreements over a number of elections in these countries. This dataset addresses the challenge of the current scope limitations in political negotiation modelling by providing a diverse, real-world basis for simulation. Additionally, we propose a hierarchical Markov decision process designed to simulate the process of coalition negotiation between political parties and predict the outcomes. We evaluate the performance of state-of-the-art large language models (LLMs) as agents in handling coalition negotiations, offering insights into their capabilities and paving the way for future advancements in political modelling.
[ -0.7421125173568726, -0.4508557915687561, 0.7732586860656738, 0.11744645982980728, -0.39469051361083984, 0.0059967441484332085, -0.5544252991676331, -0.2438298463821411, 0.41271382570266724, 0.7746689319610596, -0.7628946304321289, -0.768584668636322, -0.4641488194465637, 0.12906122207641602, -0.2731185257434845, 0.4632229506969452, 0.3873511552810669, 0.21622398495674133, -0.12014202028512955, -0.21595652401447296, -0.17864997684955597, -0.910366415977478, -0.656962513923645, -0.5977153778076172, 0.37885868549346924, 0.2565528154373169, 0.7804523706436157, 0.3347727358341217, 0.4247620403766632, 0.3302258551120758, -0.347214937210083, 0.12712527811527252, -0.3419768214225769, 0.1878633201122284, -0.5319187641143799, -0.5978803634643555, -0.3551883399486542, 0.08677274733781815, 0.810140073299408, 0.6021914482116699, -0.6770015358924866, -0.23716305196285248, 0.03005210869014263, 0.5211706161499023, -0.5310018658638, 0.7841157913208008, -1.1577893495559692, 0.08252651244401932, -0.15645380318164825, -0.1818707287311554, -0.6102096438407898, -0.013954165391623974, -0.20259974896907806, -0.2974433898925781, -0.37807750701904297, -0.18523748219013214, 0.5652697682380676, 0.15780441462993622, -0.5641770958900452, -0.4234120845794678, -0.5293563604354858, 0.46663615107536316, -0.8438507914543152, 0.13661698997020721, 0.24830305576324463, 0.34670063853263855, -0.7059309482574463, -0.6936777830123901, -0.5425616502761841, -0.20441769063472748, 0.1464386284351349, 0.25154733657836914, -0.13233084976673126, -0.05508456751704216, -0.14575199782848358, 0.16983339190483093, -0.2564927935600281, 0.43745487928390503, -0.1943632960319519, 0.06297510862350464, 0.5759836435317993, 0.4814980626106262, 0.0341525636613369, -0.47507086396217346, -0.604881763458252, 0.3351997137069702, -0.7110609412193298, -0.049213141202926636, 0.5880823731422424, 0.9074655175209045, -0.3134739398956299, 0.8403787612915039, 0.02508954331278801, 1.0014053583145142, 0.01056388858705759, 0.1518523246049881, -0.2607343792915344, -0.3323773443698883, -0.1708568036556244, -0.28156402707099915, 0.956114649772644, 0.19289229810237885, 0.26953640580177307, -0.1261075735092163, -0.1676517128944397, 0.433454304933548, 0.005672784056514502, -0.40475818514823914, -0.14242997765541077, 0.42472273111343384, -0.4284626841545105, -0.36589279770851135, -0.19581907987594604, -0.8306514024734497, -0.21616657078266144, -0.619003176689148, -0.10657807439565659, -0.19567817449569702, -0.4283510148525238, 0.36067038774490356, 0.08186765015125275, 0.5069860219955444, 0.27229928970336914, -0.6290196776390076, 0.68365877866745, 0.8381541967391968, 0.6708410978317261, -0.23838229477405548, -0.15328632295131683, -0.34254390001296997, 0.20136402547359467, -0.43265846371650696, 1.0150926113128662, -0.7765032052993774, -0.40254679322242737, 0.20020592212677002, -0.16020262241363525, -0.2991199791431427, -0.49442267417907715, 0.24229824542999268, -0.6124164462089539, 0.1303883045911789, -0.07590097934007645, -0.570212185382843, -0.05597846582531929, 0.6298683881759644, -1.0396205186843872, 0.33087727427482605, -0.31657591462135315, -0.28397926688194275, 0.3724502921104431, -0.6404665112495422, -0.021707143634557724, -0.051193978637456894, -0.3827524185180664, -0.2554810643196106, -0.16950315237045288, 0.19519339501857758, 0.5707302093505859, -0.44993481040000916, 0.5443081855773926, -0.33417144417762756, 0.07044661045074463, 0.40402987599372864, -0.14675918221473694, 0.8709614276885986, 0.04877166077494621, 0.060211312025785446, 0.2792564332485199, -0.4617796242237091, -0.3409390151500702, 0.014287399128079414, -0.4609326124191284, 0.19716553390026093, 0.2084319293498993, 0.12215615063905716, 0.5312442779541016, 0.35164913535118103, -0.3800258934497833, 0.7402161359786987, -0.4795943796634674, 0.5461300611495972, 0.7131069302558899, 0.12092232704162598, 0.5563251972198486, -0.43836966156959534, 0.6619491577148438, 0.05724742263555527, 0.05195317789912224, 0.33200815320014954, -0.7076680660247803, -0.4505772292613983, -0.04300428181886673, 0.4524550437927246, 0.45298972725868225, -0.8943129181861877, 0.19383575022220612, -0.17328476905822754, -0.3630572557449341, -0.11631153523921967, -0.21294376254081726, 0.021466288715600967, -0.28479573130607605, -0.09866737574338913, -0.1441548764705658, -0.43712151050567627, -0.708516538143158, -0.09554313868284225, -0.5380889177322388, 0.3703497350215912, 0.30944347381591797, 0.4776460528373718, -0.06514084339141846, 1.114668846130371, -0.03888474404811859, -0.4335761070251465, -0.507082462310791, 0.2963431477546692, 0.3735845386981964, 0.19783703982830048, 0.5545499920845032, -0.9369193315505981, -0.13907299935817719, 0.2260797768831253, -0.16393232345581055, 0.1361764818429947, -0.45449429750442505, 0.11146055161952972, 0.5278351902961731, 0.3560338020324707, -0.8402304649353027, 0.21097791194915771, 0.9071706533432007, -0.3045015335083008, 0.7888126969337463, -0.16123484075069427, 0.20475971698760986, -1.2321773767471313, -0.15332619845867157, -0.232246533036232, -0.6179633140563965, -0.5134338736534119, 0.25959745049476624, -0.18878737092018127, -0.35124021768569946, -0.9967884421348572, 0.5235544443130493, -0.5987595915794373, -0.13650450110435486, -0.13954603672027588, 0.21962574124336243, -0.5386303663253784, 0.6372737288475037, 0.4867404103279114, 0.7243629097938538, 0.6133846044540405, -0.6349534392356873, 0.3443790078163147, 0.39839401841163635, -0.45093947649002075, 0.5641399025917053, -0.29861998558044434, 0.09510569274425507, -0.04476860165596008, 0.46099793910980225, -0.7286813855171204, -0.13794833421707153, 0.6071571707725525, -0.1139441654086113, 0.18323160707950592, -0.5422951579093933, -0.6593532562255859, -0.10033838450908661, 0.05623329058289528, 0.2344980537891388, 0.031968675553798676, -0.3713737428188324, 0.9293569326400757, 0.7492250204086304, -0.2949185371398926, -0.5722118616104126, -0.4648953676223755, 0.7369484901428223, -0.09829384088516235, -0.3934517502784729, 0.3963608145713806, 0.19671161472797394, -0.3677489459514618, -0.12073613703250885, 0.308524489402771, -0.22780337929725647, -0.31914767622947693, 0.221445694565773, -0.022186078131198883, 0.08151011914014816, -0.11895979940891266, -0.22647373378276825, -0.34103548526763916, -0.001579410512931645, -0.04812580719590187, 0.8876733183860779, -0.1520678699016571, -0.5761407017707825, -0.4055035412311554, 0.38553544878959656, 0.9850778579711914, -0.40929821133613586, 0.9768489003181458, 0.08559982478618622, -0.5101824402809143, -0.15478569269180298, -0.17804338037967682, -0.1039896234869957, -0.40456730127334595, 0.12571276724338531, -0.6586008071899414, -0.5255612730979919, 0.8346867561340332, -0.5641469955444336, 0.18918293714523315, 0.30850112438201904, 1.177678108215332, 0.29870620369911194, 0.8211444616317749, 0.45406678318977356, -0.13490888476371765, 0.28583958745002747, -0.31448832154273987, 0.0255216546356678, -0.29584768414497375, -0.42361849546432495, -0.6294029951095581, -0.13927419483661652, -0.4268247187137604, -0.9255202412605286, 0.2609037160873413, -0.35907647013664246, 0.10434076935052872, 0.40268102288246155, -0.20178066194057465, 0.3460986316204071, 0.324905663728714, -0.00381896342150867, 0.26365870237350464, -0.23966549336910248, -0.05919662490487099, -0.07994595915079117, -0.8996368050575256, -0.5863475203514099, 0.6338180899620056, 0.05538526549935341, 0.6529697775840759, 0.19814558327198029, 0.44464996457099915, 0.30026698112487793, 0.1005595326423645, -0.6910048127174377, 0.8939976096153259, 0.0043339356780052185, -0.39908653497695923, -0.2344399392604828, -0.7097358107566833, -1.1841024160385132, 0.4473538398742676, -0.5144329071044922, -0.46872031688690186, 0.5406318306922913, -0.4040168225765228, 0.03621154651045799, 0.8080381155014038, 0.01990337483584881, 0.7653130888938904, -0.13512173295021057, 0.008160092867910862, -0.7011144757270813, -0.4964607059955597, 0.20697757601737976, 0.09937474876642227, 0.3181764483451843, -0.23696269094944, -0.2384517937898636, 0.7067490816116333, -0.32281821966171265, 0.8829951286315918, -0.07982427626848221, -0.2961244583129883, 0.13711941242218018, 0.2563202679157257, 0.7349143624305725, -0.1345769315958023, -0.5140620470046997, 0.2907734811306, 0.03491099178791046, -0.4115906059741974, -0.3259824514389038, 0.5857231616973877, -0.6110950112342834, -0.3482353389263153, -0.5363895297050476, -0.7576583027839661, 0.06656104326248169, -0.19087892770767212, 0.1291540265083313, 0.1865234524011612, -0.6460193395614624, 0.0413053072988987, -0.13741159439086914, 0.07716107368469238, 0.3892569839954376, 0.4884416460990906, -0.26587405800819397, -0.3421037495136261, 0.7847998738288879, 0.12306230515241623, 0.2300986796617508, 0.12538093328475952, -0.0893886461853981, -0.43722203373908997, -0.7014296650886536, -0.1767146736383438, 0.23238325119018555, -0.6695238351821899, -0.3606015145778656, -0.291176438331604, 0.043638184666633606, -0.046981073915958405, -0.20917001366615295, -0.34932297468185425, -0.8003450036048889, -0.2645457088947296, 0.014484502375125885, 0.0721561461687088, 0.9508383274078369, -0.4549459218978882, 0.40158987045288086, -0.27344417572021484, 0.3989652395248413, 0.1564207673072815, 0.15522508323192596, -0.5325771570205688, -0.012348086573183537, -0.08598455041646957, 0.136122927069664, -0.3115277886390686, -1.288460373878479, 0.6020728349685669, 0.08593973517417908, 0.43185800313949585, 0.19135533273220062, 0.19914257526397705, 0.35701748728752136, -0.5038191676139832, 1.0750454664230347, 0.12696753442287445, -0.7797780632972717, 0.32983484864234924, -0.5932633280754089, -0.16462036967277527, 0.27408966422080994, -0.06432190537452698, -0.3613996207714081, -0.7624967694282532, -0.5305575728416443, -0.9487246870994568, 0.55616295337677, 0.27751994132995605, -0.03337250277400017, 0.018816594034433365, 0.21710801124572754, 0.09515348076820374, 0.28716298937797546, -0.9499107003211975, -0.06336676329374313, 0.4682212769985199, 0.12504789233207703, -0.09972704946994781, -0.12174683809280396, -0.4506388306617737, -0.037334710359573364, 0.7385579347610474, -0.1461215764284134, 0.08848897367715836, -0.21444906294345856, -0.04288714751601219, -0.10185455530881882, 0.5018952488899231, 0.36965706944465637, 0.8108586668968201, -0.09219224750995636, -0.20333051681518555, 0.0957227572798729, 0.2808524966239929, 0.2988593578338623, 0.16984833776950836, 0.3711094558238983, 0.09097909182310104, 0.1076984778046608, 0.3361123204231262, 0.21908479928970337, -0.5445610284805298, 0.5052177309989929, -0.3819662928581238, -0.4417319595813751, -0.43044835329055786, -0.26335349678993225, 0.460610955953598, 0.44332438707351685, 0.19636693596839905, 0.0359187014400959, -0.08563372492790222, -0.6563196778297424, 0.408044695854187, 0.7859221696853638, -0.09988219290971756, 0.017190441489219666, 0.6257477402687073, 0.35623499751091003, -0.561164915561676, 0.4041821360588074, -0.12520629167556763, -0.6507781744003296, 0.7756974101066589, 0.18434737622737885, 0.29794442653656006, -0.05842069908976555, 0.47008439898490906, -0.11788827925920486, 0.40035203099250793, 0.2667224407196045, 0.3766987919807434, -0.17092935740947723, -0.5608222484588623, -0.5640796422958374, -0.3367161452770233, -1.109480619430542, -0.04724392667412758, -0.7961090207099915, 0.40285903215408325, -0.29048746824264526, -0.45937567949295044, -0.15718090534210205, 0.5330141186714172, -0.8003031015396118, -0.2510567605495453, 0.4534158408641815, 1.0540896654129028, -0.8939661979675293, 0.6381526589393616, 0.42584964632987976, 0.053075987845659256, -0.24502363801002502, -0.13162650167942047, -0.05167407914996147, -0.5689113736152649, 0.14654718339443207, -0.05872577801346779, 0.10430949926376343, -0.1593281775712967, -0.4362182021141052, -0.43279123306274414, 0.6985986232757568, 1.179333209991455, -0.7616419792175293, -0.2881565988063812, 0.413560152053833, 0.2066950649023056, -0.4175460636615753, 0.0014509839238598943, 0.5537198185920715, 0.8053383231163025, -0.2365134209394455, -0.7686275243759155, -0.1590532511472702, -0.0672902837395668, -0.31226351857185364, 0.1738303154706955, -0.7216095328330994, 1.122746229171753, 0.23055148124694824, -0.18864262104034424, 0.36787793040275574, 0.6847879886627197, 0.2814544141292572, 0.11835987865924835, 0.5828394889831543, 0.4777332544326782, 0.6564886569976807, -0.15086935460567474, 1.2112789154052734, -0.5621106028556824, 0.6167781949043274, 0.7982247471809387, -0.523032009601593, 0.8842540383338928, 0.5286210775375366, -0.06557495892047882, 0.6722736358642578, 0.7203454971313477, 0.1995512992143631, 0.3915611207485199, 0.42062753438949585, -0.34425458312034607, -0.6423282623291016, -0.033035557717084885, -0.18617644906044006, 0.6131841540336609, 0.6398534178733826, 0.052997197955846786, -0.5686066150665283, -0.16627809405326843, -0.24473580718040466, 0.4171043634414673, -0.3672647178173065, 0.9371929168701172, 0.2840546667575836, -0.4503450393676758, 0.4105026423931122, 0.15277935564517975, 0.4124593734741211, -0.6057542562484741, -0.1605001538991928, 0.2895372807979584, -0.06341519951820374, 0.0679716169834137, -1.0378954410552979, 0.2566923201084137, -0.350990891456604, -0.1474429816007614, -0.4408361315727234, 0.2899666428565979, -0.8209132552146912, -0.6694809198379517, 0.6404798626899719, 0.6942610740661621, 0.33298957347869873, -0.04424784332513809, -1.1275595426559448, 0.19460511207580566, -0.3839957118034363, -0.3988844156265259, 0.252519428730011, 0.47047287225723267, 0.22936271131038666, 0.7896930575370789, 0.7512896656990051, 0.6510176658630371, -0.3083234429359436, 0.05732452869415283, 0.9979618191719055, -0.3721139430999756, -0.7412500381469727, -0.6429071426391602, 0.42241472005844116, 0.016900332644581795, 0.0949062779545784, 0.2295018434524536, 0.38736459612846375, 0.4637965261936188, 0.17217890918254852, 0.486257404088974, 0.29814907908439636, 0.1895003765821457, -0.8754642009735107, 0.9362849593162537, -0.3733939528465271, 0.15110287070274353, 0.08748291432857513, -0.7190252542495728, -0.18165408074855804, 0.575413167476654, -0.2540439963340759, -0.2789904773235321, 0.4145103991031647, 0.7938864827156067, -0.3646266460418701, -0.10765897482633591, 0.33257538080215454, 0.3654196262359619, 0.2828544080257416, 0.8805802464485168, 0.823238730430603, 0.06313879787921906, 0.6045078635215759, -0.0622241385281086, 0.21418879926204681, -0.04793722182512283, -0.8674299120903015, -0.9460300207138062, -0.9505576491355896, -0.07399658113718033, -0.31718045473098755, 0.11009400337934494, 1.0584402084350586, 0.800788164138794, -0.5632862448692322, -0.6587749123573303, -0.01705572009086609, 0.3526779115200043, -0.12122076749801636, -0.16839298605918884, 0.12362954765558243, -0.22943125665187836, -0.7936403155326843, 0.5833156108856201, 0.16273058950901031, -0.09195435792207718, -0.5405815839767456, -0.1464339792728424, -0.4601142406463623, 0.462955504655838, 0.30770355463027954, 0.24199527502059937, -0.8556795120239258, -0.004965659696608782, -0.697201132774353, 0.05244371294975281, 0.24955765902996063, 1.2624088525772095, -0.9928656816482544, 0.19836288690567017, 0.015430849976837635, 0.1984218955039978, 0.5601858496665955, -0.0819573923945427, 0.9715720415115356, -0.596529483795166, 0.5436976552009583, 0.4801158308982849, 0.47784024477005005, 0.45861634612083435, -0.06184106320142746, 0.44935107231140137, -0.19183361530303955, -0.4328339695930481, -0.8855519890785217, 0.407563179731369, -1.0079692602157593, -0.48218756914138794, 1.0487139225006104, 0.04355696588754654, -0.11679324507713318, -0.23966456949710846, -0.29226136207580566, 0.054811879992485046, -0.4916825294494629, 0.4810842275619507, 0.7602064609527588, 0.05907077342271805, -0.07329656928777695, -0.209193155169487, 0.2974817752838135, 0.2616523504257202, -0.6741187572479248, 0.17372307181358337, 0.47268325090408325, -0.21664907038211823, -0.05159633234143257, 0.8408187031745911, 0.030673425644636154, 0.2793442904949188, -0.16147156059741974, -0.182106152176857, 0.2068091630935669, -0.6133260726928711, -0.5660616159439087, 0.5311524868011475, -0.20261292159557343, -0.022725043818354607 ]
http://arxiv.org/abs/2402.11711v1
http://arxiv.org/pdf/2402.11711v1
MORL-Prompt: An Empirical Analysis of Multi-Objective Reinforcement Learning for Discrete Prompt Optimization
2024-02-18T21:25:09
2024-02-18T21:25:09
Yasaman Jafari, Dheeraj Mekala, Rose Yu, Taylor Berg-Kirkpatrick
cs.CL
cs.CL
RL-based techniques can be used to search for prompts that when fed into a target language model maximize a set of user-specified reward functions. However, in many target applications, the natural reward functions are in tension with one another -- for example, content preservation vs. style matching in style transfer tasks. Current techniques focus on maximizing the average of reward functions, which does not necessarily lead to prompts that achieve balance across rewards -- an issue that has been well-studied in the multi-objective and robust optimization literature. In this paper, we adapt several techniques for multi-objective optimization to RL-based discrete prompt optimization -- two that consider volume of the Pareto reward surface, and another that chooses an update direction that benefits all rewards simultaneously. We conduct an empirical analysis of these methods on two NLP tasks: style transfer and machine translation, each using three competing reward functions. Our experiments demonstrate that multi-objective methods that directly optimize volume perform better and achieve a better balance of all rewards than those that attempt to find monotonic update directions.
[ -0.5561875700950623, -0.6550507545471191, 0.6475239992141724, 0.5266152024269104, -0.07101043313741684, -0.1534431129693985, -0.26353374123573303, 0.06241700425744057, -0.07983653247356415, 0.3228212893009186, -1.1933902502059937, -0.2889016568660736, -0.48385998606681824, 0.424570769071579, 0.2087864875793457, 1.144997477531433, -0.027328837662935257, -0.27024444937705994, -0.34190019965171814, -0.1593245416879654, -0.7880092859268188, -0.45531806349754333, -0.9410383105278015, -0.2874200940132141, 0.9953001141548157, 0.5995009541511536, 0.1590808779001236, 0.5320874452590942, 0.44409531354904175, 0.20103365182876587, 0.17114540934562683, 0.46446511149406433, -0.49390602111816406, 0.4223603308200836, -0.2288934886455536, -0.1558019071817398, -0.025626424700021744, -0.027109619230031967, 0.5385590195655823, 0.24328070878982544, -0.3932105004787445, -0.09334366023540497, 0.11478674411773682, 0.812766969203949, -1.0975611209869385, 0.09648432582616806, -0.3340926170349121, 0.25785523653030396, 0.16469240188598633, -0.5167933702468872, -0.541947066783905, -0.6052296161651611, 0.08590850234031677, -0.8058092594146729, -0.4676087200641632, 0.08229829370975494, 0.5644755959510803, 0.6539557576179504, -0.3685101270675659, -0.6277376413345337, -0.30816948413848877, 1.4689671993255615, -0.447773814201355, -0.025829993188381195, 0.2703735828399658, 0.13476938009262085, 0.09048892557621002, -0.3485654592514038, -0.042376719415187836, -0.4172704517841339, -0.1647537648677826, 0.3329673409461975, -0.0571754053235054, 0.10657089203596115, 0.3057551085948944, -0.1045885682106018, -0.4569903612136841, -0.07987400889396667, -0.10654202103614807, 0.03609069809317589, 0.67926424741745, 0.12138526141643524, 0.4483758807182312, -0.0270402692258358, -0.6801530718803406, -0.5595883131027222, -0.46681809425354004, 0.6294244527816772, 0.17949572205543518, 0.43659356236457825, -0.16372065246105194, 0.4328268766403198, -0.08552289754152298, 0.8714942932128906, 0.06965067237615585, -0.5793978571891785, 0.1181928813457489, -0.6000458002090454, 0.30933210253715515, 0.1377400904893875, 0.6906193494796753, 0.5816959738731384, 0.33799079060554504, 0.10353288054466248, -0.5022912621498108, -0.14838239550590515, 0.45639750361442566, -0.5626434087753296, 0.11224991828203201, 0.12810161709785461, -0.5039217472076416, -0.33074602484703064, -0.08180149644613266, -0.7741760611534119, -0.19579894840717316, -0.7022084593772888, 0.49472302198410034, -0.4826395511627197, 0.1821235865354538, 0.22037124633789062, -0.407699853181839, 0.09397953003644943, 0.2993547320365906, -1.0523250102996826, 0.05870998650789261, 0.5350297689437866, 0.8185146450996399, -0.32286179065704346, -0.4303516745567322, -0.9066906571388245, -0.10430622845888138, -0.3859544098377228, 0.7303406000137329, -0.5132297873497009, -0.3667237162590027, 0.09684233367443085, -0.607535183429718, -0.3218904435634613, -0.3222779333591461, 0.81833416223526, -0.09299357235431671, 0.2716144621372223, -0.6464835405349731, -0.07973545789718628, -0.13560441136360168, 0.5146948099136353, -0.416964054107666, 0.9414576292037964, 0.13780374825000763, -0.288716197013855, 0.1809333860874176, -0.8722001314163208, -0.355918824672699, -0.3039170205593109, 0.01610618270933628, -0.23005147278308868, 0.28858041763305664, 0.4191964864730835, 0.2610020041465759, -0.18081369996070862, 0.45501166582107544, -0.03047133795917034, -0.10160847008228302, 0.39543068408966064, -0.5369427800178528, 0.5499324798583984, 0.2841138243675232, -0.23859696090221405, 0.5377026200294495, -0.3686336278915405, 0.005526072811335325, -0.10779383778572083, -0.3566322922706604, -0.5022473335266113, 0.09394820779561996, -0.19605650007724762, 0.2505945861339569, 0.3236459493637085, -0.2773743271827698, 0.4845857322216034, 0.019577354192733765, 0.23157371580600739, 0.9428663849830627, 0.16351109743118286, 0.3153800070285797, -0.6067374348640442, 0.6994646787643433, -0.34632205963134766, 0.512253999710083, -0.24476952850818634, -0.29980728030204773, -0.2649996876716614, -0.36759093403816223, 0.13420411944389343, 0.6751663088798523, -0.8741222023963928, 0.13998854160308838, 0.15625892579555511, -0.09782308340072632, -0.3930342197418213, -0.19023872911930084, 0.5011715292930603, 0.592826247215271, 0.5478491187095642, -0.146145299077034, -0.1018243357539177, -1.0203123092651367, -0.3069727420806885, 0.0013740110443904996, 0.24260839819908142, 0.6970784068107605, 0.24726927280426025, -0.009704296477138996, 0.8004010915756226, -0.4549689292907715, -0.0914049819111824, -0.16514591872692108, 0.5770638585090637, 0.2850586175918579, 0.3907187283039093, 0.8324042558670044, -0.7499297261238098, -0.640011191368103, 0.031259700655937195, -0.6852352023124695, -0.6530584692955017, -0.5827954411506653, -0.06000475585460663, -0.09164195507764816, 0.3663882911205292, -0.31021520495414734, -0.06666171550750732, 0.5513256788253784, -0.08665534108877182, 0.8364970088005066, -0.19730651378631592, 0.4599744379520416, -0.49204057455062866, -0.12650159001350403, 0.13438759744167328, -0.0508878231048584, -0.5339558124542236, 0.006995328236371279, 0.19111819565296173, -0.10335291922092438, -0.583532989025116, 0.8242048025131226, -0.27716538310050964, 0.0440397635102272, -0.2950575649738312, 0.10507812350988388, 0.07806539535522461, 0.8432313799858093, -0.01281306054443121, 1.1326956748962402, 0.7278223037719727, -0.8578229546546936, 0.35856837034225464, 0.045442912727594376, 0.11118561774492264, 1.1121431589126587, -0.6893037557601929, -0.07363668829202652, -0.397798627614975, -0.15826290845870972, -0.7324899435043335, 0.15100419521331787, 0.627601683139801, -0.2558057904243469, 0.183577299118042, 0.06791023164987564, 0.11155921220779419, -0.0021048143971711397, -0.8056361079216003, 0.4149199426174164, 0.2406303584575653, -0.5602794885635376, 0.608693540096283, -0.14588762819766998, -0.42585301399230957, -1.0096694231033325, -0.2277001142501831, -0.08008068799972534, -0.545131266117096, -0.287884384393692, 0.5758736729621887, -0.46169784665107727, -0.3396401107311249, 0.04231500253081322, -0.1662851721048355, 0.2263878881931305, 0.1778268665075302, -0.20524828135967255, 0.18600577116012573, 0.054130058735609055, -0.0550275482237339, 0.22125902771949768, -0.31882956624031067, 0.13650284707546234, -0.4141930937767029, 0.4203183948993683, -0.1399400681257248, -0.3335821032524109, -0.5366899371147156, 0.5017892718315125, 0.3632734417915344, -0.21513980627059937, 0.5045895576477051, 0.5745420455932617, 0.021044349297881126, -0.29490047693252563, -0.36039480566978455, -0.29435837268829346, -0.484476238489151, 0.3190426826477051, -0.5599923729896545, -0.5258243680000305, 0.14326542615890503, -0.04421988129615784, 0.33662480115890503, 0.21146683394908905, 0.37699371576309204, 0.16185013949871063, 1.191339373588562, 0.3361362814903259, 0.03947961702942848, 0.8247221112251282, 0.04640663042664528, -0.026886656880378723, -0.980994701385498, -0.4493717551231384, -0.7377540469169617, -0.557365894317627, -0.04144029691815376, -0.09753280878067017, 0.6024589538574219, 0.1973867416381836, -0.2173597514629364, 0.12883250415325165, -0.6133764982223511, 0.3650798499584198, 1.1252580881118774, -0.07476206868886948, -0.0010985936969518661, -0.05306253582239151, -0.14573511481285095, -0.04151385650038719, -0.8402391672134399, -0.08211884647607803, 0.7163404226303101, -0.08958422392606735, 0.9312963485717773, 0.14424192905426025, 0.8021786212921143, 0.4938267767429352, -0.04921872913837433, -0.8953322172164917, 0.3153465986251831, -0.14829573035240173, 0.09472328424453735, -0.4681285619735718, -0.5024787187576294, -0.9766974449157715, 0.3939882814884186, -0.25511839985847473, -0.6439993381500244, 0.3656729757785797, 0.07880567759275436, -0.43653833866119385, -0.13086535036563873, -0.5551168918609619, 1.0460448265075684, -0.7703750729560852, -0.3374679386615753, -0.03977637365460396, -0.5271188020706177, 0.28087571263313293, 0.02575322613120079, 0.29340073466300964, -0.08069107681512833, -0.19888602197170258, 0.5876022577285767, -0.044506173580884933, 0.45086225867271423, -0.10370928049087524, -0.11685361713171005, 0.02802029252052307, -0.13097240030765533, 0.515509843826294, 0.2612971067428589, -0.001618355861864984, -0.27809464931488037, -0.04528830572962761, -0.26481813192367554, -0.9019813537597656, 0.533646821975708, -0.8473303914070129, -0.359977126121521, -0.4802103638648987, -0.8102417588233948, -0.09366527199745178, 0.09459540992975235, 0.1715245246887207, 0.7146772146224976, 0.08624572306871414, 0.31703993678092957, 0.7322084307670593, -0.4247141182422638, 0.7272750735282898, 0.08873961120843887, 0.06965648382902145, -0.5181958079338074, 0.892764687538147, -0.33169299364089966, 0.3161209225654602, 0.6255324482917786, 0.5865353941917419, -0.5350792407989502, -0.4833076000213623, -0.48396560549736023, 0.08422040939331055, -0.4587174355983734, -0.17260611057281494, -0.505664050579071, 0.21068941056728363, -0.16800257563591003, -0.5546605587005615, -0.3170563578605652, -0.13771231472492218, -0.28655341267585754, 0.25179752707481384, 0.13483773171901703, 0.5055886507034302, -0.39169055223464966, 0.3783062994480133, -0.7849192023277283, 0.35446059703826904, 0.47518637776374817, -0.16246746480464935, -0.14239268004894257, -0.1628233790397644, 0.020406750962138176, 0.09517107158899307, -0.29489633440971375, -0.9566085934638977, 0.5312925577163696, 0.07080961763858795, 0.7975496649742126, 0.3296153247356415, 0.30517277121543884, 0.477335125207901, -0.3203165829181671, 0.6902610063552856, 0.43299993872642517, -0.9132463335990906, 0.6195662021636963, -0.3123939633369446, 0.18838177621364594, 0.603546142578125, 0.3325275182723999, -0.9689450263977051, 0.15432798862457275, -0.3048713207244873, -0.7595471739768982, 0.9865272045135498, -0.061614990234375, 0.01776065304875374, -0.010584081523120403, 0.39487913250923157, 0.08799918740987778, 0.4494398236274719, -0.8665903210639954, -0.4443790316581726, -0.14357012510299683, -0.3754022717475891, 0.057702187448740005, -0.24156823754310608, -0.31865590810775757, 0.22640368342399597, 0.7089837193489075, -0.22597689926624298, 0.23357005417346954, 0.21382831037044525, 0.003806022461503744, 0.13364733755588531, 0.40017029643058777, 1.2008700370788574, 0.5951123237609863, -0.1473693996667862, -0.0043500615283846855, -0.040700387209653854, -0.02987111546099186, 0.24256587028503418, -0.12469349801540375, -0.3668004870414734, -0.1744028478860855, 0.3063337802886963, 1.2282270193099976, 0.1937987506389618, -0.8696625232696533, 0.33244386315345764, -0.0964781865477562, -0.2985619008541107, 0.12473297119140625, 0.17518435418605804, -0.4391835033893585, 0.2995936870574951, 0.3525468111038208, 0.1409188210964203, 0.22862137854099274, -0.5531264543533325, 0.15427464246749878, 0.6868186593055725, -0.41982099413871765, 0.10444772243499756, 0.3499104380607605, 0.001628402853384614, -0.5885664820671082, 0.51291823387146, -0.41822630167007446, -0.46882128715515137, 0.5321869850158691, 0.5323963761329651, 0.7108755707740784, -0.2240152359008789, 0.559149980545044, 0.40131357312202454, 0.28673255443573, -0.3520470857620239, 0.03348449617624283, -0.015809111297130585, -0.6491763591766357, -0.6102848052978516, -0.31333640217781067, -0.594819962978363, -0.18228404223918915, -0.7194994688034058, 0.21015898883342743, -0.1736113578081131, -0.06745518743991852, -0.2765493094921112, -0.14885219931602478, -0.2950238883495331, -0.12080816924571991, -0.02112755924463272, 0.42473143339157104, -0.7663041949272156, 0.15037821233272552, 0.6126840114593506, -0.3713967800140381, -0.675125777721405, -0.26929184794425964, 0.2943214476108551, -0.796276330947876, 0.5791604518890381, -0.04597782343626022, -0.2126716673374176, 0.09290575236082077, -0.33257612586021423, -0.95732581615448, 0.7864381074905396, 0.12379981577396393, -0.31254222989082336, 0.05422453209757805, -0.3740352690219879, 0.043227750808000565, -0.4516400098800659, 0.28247278928756714, 0.2662524878978729, 0.8871822953224182, 0.07920709997415543, -0.6243677139282227, -0.17515929043293, -0.0025498191826045513, -0.022153927013278008, 0.31184449791908264, -0.425933837890625, 1.1071363687515259, -0.019419943913817406, 0.021450966596603394, -0.02748233452439308, 0.2856966257095337, 0.7152072787284851, 0.2908926010131836, 0.46072056889533997, 0.40905946493148804, 0.7917631268501282, -0.07522068917751312, 1.3182755708694458, -0.20677676796913147, 0.4920232892036438, 0.6619822382926941, -0.14763519167900085, 0.2917706370353699, 0.6354016065597534, -0.06426006555557251, 0.43737176060676575, 0.7486465573310852, 0.07689400017261505, 1.105434536933899, 0.16655468940734863, -0.19258160889148712, 0.03995441272854805, -0.5423886775970459, -0.2554100751876831, -0.13876819610595703, 0.2231537252664566, 0.14256568253040314, -0.38657721877098083, 0.4277680814266205, -0.15151524543762207, 0.0724840760231018, -0.39815282821655273, 0.8105694651603699, 0.004062567371875048, -1.1236292123794556, 0.4228496551513672, 0.22922374308109283, 0.9791191816329956, -0.7835977077484131, -0.058325693011283875, -0.25237035751342773, -0.016336428001523018, 0.1431293785572052, -0.5444014668464661, 0.09089772403240204, -0.26442378759384155, -0.03401459380984306, -0.7638605237007141, 0.6680940389633179, -0.4633939862251282, -0.13887512683868408, 0.06433960795402527, 0.564388632774353, -0.11699806153774261, -0.20796221494674683, -1.2290022373199463, 0.13184978067874908, 0.04530312120914459, -0.2910585105419159, 0.30942749977111816, 0.48043596744537354, 0.0789671391248703, 0.79509437084198, 0.6767849326133728, 0.09666473418474197, -0.05630718171596527, -0.014777556993067265, 0.3880295157432556, -0.5385382175445557, -0.5721173286437988, -1.082079529762268, 0.4976483881473541, -0.07548612356185913, -0.47802430391311646, 0.5695450305938721, 0.2743293046951294, 0.6154049038887024, -0.2262495905160904, 0.7341763973236084, 0.007201159372925758, -0.018770046532154083, -1.0412229299545288, -0.20330938696861267, -0.8221337795257568, 0.08680466562509537, -0.302767276763916, -1.0884835720062256, -0.1731835901737213, 1.001031517982483, -0.12020736932754517, 0.13789913058280945, 1.1145386695861816, 0.6470088958740234, 0.1912231296300888, -0.23636148869991302, 0.21350319683551788, -0.562268078327179, 0.161336287856102, 0.8261785507202148, 1.0129992961883545, 0.13240832090377808, 0.290754109621048, -0.39193081855773926, -0.33238717913627625, -0.33623433113098145, -1.0304516553878784, -0.6576844453811646, -0.4784236550331116, -0.37282395362854004, -0.0032431751023977995, 0.3846442699432373, 1.2303318977355957, 0.758413553237915, -0.5115475654602051, -0.35847657918930054, 0.04877420514822006, 0.5405715107917786, -0.9195855855941772, -0.23965418338775635, 0.2806544601917267, -0.9140886664390564, -0.9696734547615051, 0.6122622489929199, 0.6110858917236328, -0.2219422608613968, 0.002572373254224658, -0.2953766882419586, -0.17134766280651093, 0.10951359570026398, 0.7247598171234131, 0.28081461787223816, -0.6928699016571045, -0.3394811153411865, 0.2959275543689728, -0.1426563709974289, 0.00789217371493578, 1.0379681587219238, -0.4891085624694824, 0.12103539705276489, 0.5366824865341187, 0.8984992504119873, 0.24582473933696747, 0.5461813807487488, 0.5316991209983826, -1.0056843757629395, -0.08988336473703384, 0.18413950502872467, 0.2688698470592499, 0.028266144916415215, -0.2523028254508972, 0.5050716400146484, 0.16112706065177917, -0.5433401465415955, -0.6549257040023804, 0.3821072578430176, -1.088207721710205, -0.7561491131782532, 1.1826547384262085, 0.09845102578401566, -0.0809076577425003, 0.08062849193811417, -0.5135986804962158, -0.16131989657878876, -0.6900516748428345, 0.5251549482345581, 0.8115407228469849, -0.4777992069721222, -0.4821576476097107, -0.6160457134246826, 0.6517692804336548, 0.547084391117096, -0.8719885349273682, -0.1683444380760193, 0.6793413758277893, -0.31026914715766907, 0.19140803813934326, 0.6849899888038635, 0.24252985417842865, 0.2490343600511551, -0.3206730782985687, -0.038534294813871384, -0.20668068528175354, -0.8135589361190796, -0.3891304135322571, 0.29466456174850464, 0.07431835681200027, -0.2417348176240921 ]
http://arxiv.org/abs/2402.11710v1
http://arxiv.org/pdf/2402.11710v1
A Note on Bias to Complete
2024-02-18T21:20:33
2024-02-18T21:20:33
Jia Xu, Mona Diab
cs.CL
cs.CL
Minimizing social bias strengthens societal bonds, promoting shared understanding and better decision-making. We revisit the definition of bias by discovering new bias types (e.g., societal status) in dynamic environments and describe them relative to context, such as culture, region, time, and personal background. Our framework includes eight hypotheses about bias and a minimizing bias strategy for each assumption as well as five methods as proposed solutions in LLM. The realization of the framework is yet to be completed.
[ -0.5900106430053711, -0.7721444964408875, 0.7690560817718506, 0.3389876186847687, 0.10860899835824966, 0.2559273838996887, -0.1001359298825264, -0.25706061720848083, 0.7590672373771667, 0.5137798190116882, -0.7757259011268616, -0.258181095123291, -0.6341392993927002, -0.013783537782728672, 0.13293617963790894, 1.0265438556671143, -0.05721854045987129, 0.18298621475696564, -0.2379472553730011, -0.2919701337814331, -0.16655613481998444, -0.5150880813598633, -0.4276699423789978, -0.460848331451416, 0.47036826610565186, 0.6697012186050415, 0.4351031184196472, 0.6142012476921082, 0.3715992271900177, 0.17626550793647766, -0.7008134722709656, -0.11834247410297394, -0.7598041296005249, 0.14604225754737854, -0.09582237899303436, -0.6186705827713013, -0.27629512548446655, 0.3066222667694092, 0.6189283132553101, 1.2322582006454468, 0.22663772106170654, 0.5922794938087463, 0.2794094979763031, 0.8746994733810425, -0.6329412460327148, -0.004672475624829531, -0.2990819215774536, 0.3152102530002594, -0.10479651391506195, -0.10710923373699188, -0.07402226328849792, -0.6481234431266785, 0.5027429461479187, -0.28539228439331055, 0.6942930221557617, 0.010609021410346031, 0.4556834101676941, 0.24685987830162048, -1.0920971632003784, -0.14907585084438324, -0.6141637563705444, 0.6141447424888611, -0.10308990627527237, -0.036794405430555344, 0.2609633207321167, 0.2569030523300171, -0.017958305776119232, -0.22056877613067627, 0.1381566971540451, -0.05829484760761261, 0.031564146280288696, 0.06232776492834091, 0.818486213684082, 0.2922830581665039, 0.9351682066917419, 0.28030163049697876, 0.21541419625282288, -0.42679858207702637, -0.5206338763237, -0.42161425948143005, 0.4617251455783844, 0.11197564005851746, 0.14901071786880493, -0.14367839694023132, -0.28937795758247375, 0.28274989128112793, -1.04086172580719, 0.17725135385990143, 0.5317702889442444, -0.07656136900186539, -0.2035192996263504, 0.5147669315338135, -0.32722195982933044, 0.12766671180725098, 0.3769518733024597, -0.18398965895175934, 0.1066945269703865, -0.5021137595176697, 0.07913238555192947, 0.318597674369812, -0.13362102210521698, 0.7273687720298767, 0.07446175813674927, 0.08206529915332794, 0.007879397831857204, 0.480304092168808, -0.04804540053009987, -0.4622346758842468, 0.22818154096603394, -0.07253805547952652, -0.8287317156791687, -0.7254558205604553, -0.22659285366535187, -0.8817866444587708, -0.5175920128822327, -0.26193371415138245, -0.21020816266536713, 0.45056718587875366, -0.13052469491958618, -0.20806460082530975, -0.4120563268661499, 0.07715018093585968, 0.5029990077018738, -0.6588773131370544, 0.30151546001434326, 0.47434788942337036, 0.870366096496582, -0.08539612591266632, 0.09851628541946411, -0.09768042713403702, 0.49726492166519165, -0.3763994872570038, 0.708091139793396, -0.3890003561973572, -0.6685402393341064, 0.15819448232650757, 0.034661274403333664, 0.39674341678619385, -0.42797860503196716, 0.6327227354049683, -0.10052313655614853, -0.0016700304113328457, -1.1474307775497437, -0.48490801453590393, -0.03145875781774521, 0.3101902902126312, -0.8785582780838013, 0.7551161646842957, 0.0015547721413895488, -0.9383357763290405, 0.9376811385154724, -0.6545045375823975, -0.5661153197288513, -0.41740095615386963, -0.01319333165884018, -0.055684011429548264, 0.26685214042663574, -0.07175908982753754, -0.024880869314074516, -0.15083761513233185, 0.27886080741882324, -0.900708794593811, -0.39281246066093445, -0.02402392216026783, -0.11528760939836502, 0.890129029750824, 0.35063445568084717, -0.6052617430686951, 0.014612664468586445, -0.43489012122154236, -0.5103283524513245, -0.19719603657722473, -0.4639839828014374, -0.33965012431144714, 0.07581701874732971, 0.023804428055882454, 0.1674630492925644, 0.40642020106315613, -0.5157785415649414, 0.2928016185760498, -0.035588253289461136, 0.5348678231239319, 1.1463698148727417, 0.10315951704978943, 1.0674355030059814, -0.4088181257247925, 0.34431377053260803, -0.001008286140859127, 0.20537297427654266, 0.020715001970529556, -0.15201441943645477, -1.1004921197891235, 0.05538381636142731, 0.1893288791179657, 0.4738529622554779, -0.48433732986450195, -0.022272424772381783, 0.002711969194933772, 0.11219489574432373, -0.150473490357399, 0.05714026466012001, 0.30862390995025635, 0.346253901720047, -0.07725288718938828, -0.3401246964931488, -0.8816542029380798, -0.9028474688529968, -0.5224117040634155, 0.03809676691889763, 0.3154299259185791, 0.21976928412914276, 0.5561771392822266, -0.4246409833431244, 0.906712532043457, -0.4593043327331543, -0.38523709774017334, -0.31598204374313354, -0.18162120878696442, 0.04644358158111572, 0.3275286853313446, 0.5198895931243896, -0.6025049090385437, -0.40071016550064087, -0.37422245740890503, -0.8469921350479126, -0.2207065224647522, 0.15082797408103943, -0.37056106328964233, 0.08251281082630157, 0.5582945346832275, -0.4277591109275818, 0.7671168446540833, -0.1623525470495224, -0.3497919738292694, 0.231999009847641, 0.18317811191082, 0.07555267959833145, -0.7288926243782043, -0.44118696451187134, 0.47855323553085327, -0.270513117313385, -0.5264726281166077, -0.14046445488929749, -0.3604491949081421, 0.10243374854326248, -0.31659162044525146, 0.6125431060791016, -0.6858817934989929, -0.1382506638765335, -0.15319325029850006, 0.18898391723632812, -0.3286845088005066, 0.1998666226863861, -0.0660179853439331, 0.3395738899707794, 0.3974289894104004, -0.5995563268661499, 0.14450328052043915, 0.03444484993815422, -0.2736886143684387, 0.8022482395172119, -0.5018666386604309, -0.09503576904535294, -0.5618909597396851, 0.5876292586326599, -0.8306457996368408, -0.3363507390022278, 0.14993584156036377, -0.2667800486087799, -0.04035980626940727, -0.43415120244026184, -0.12504857778549194, -0.34051623940467834, -0.6471413373947144, 0.46949276328086853, 0.4063367545604706, -0.24546803534030914, 0.28967753052711487, 0.84828782081604, 0.07834643125534058, -0.6743558049201965, -0.6475101113319397, -0.1116987094283104, -0.6022630929946899, -0.6963489055633545, 0.344152569770813, -0.08703409135341644, -0.7499258518218994, -0.23934520781040192, -0.5699149370193481, 0.2614712417125702, 0.021519718691706657, -0.050827693194150925, 0.026013784110546112, 0.2555074691772461, -0.3452349603176117, 0.1497935652732849, -0.25621724128723145, 0.23314371705055237, 0.14034302532672882, 0.24428953230381012, 0.14992058277130127, -0.10445038974285126, 0.1394260674715042, 0.5626598596572876, 0.43816372752189636, 0.438030481338501, 0.15152746438980103, 0.3262409567832947, -0.603646457195282, 0.03992515802383423, -0.8167405724525452, -0.4219980537891388, -0.4583275616168976, 0.09640537202358246, -0.15297022461891174, -1.1700658798217773, 0.8990799784660339, -0.13303762674331665, -0.04684508219361305, 0.06624063104391098, 0.48894235491752625, 0.06463631242513657, 1.1018829345703125, 0.8755427002906799, -0.35156697034835815, 0.5864406824111938, -0.23049966990947723, 0.2621874511241913, -0.9936713576316833, -0.08662423491477966, -0.2933124005794525, -0.34571874141693115, -0.8990033268928528, -0.09153541177511215, 0.409216046333313, -0.09829188138246536, -0.2592577040195465, -0.18535731732845306, -0.37522128224372864, 0.4461071789264679, 0.6300442218780518, 0.4268206059932709, 0.02966189570724964, 0.09193646162748337, -0.2688896059989929, -0.073966383934021, -0.6641848087310791, -0.5958103537559509, 1.1131759881973267, 0.4270908236503601, 0.8586257696151733, 0.2210453748703003, 1.0386613607406616, 0.6411467790603638, 0.5940338373184204, -0.3902784585952759, 0.5826756358146667, 0.4989515244960785, -1.0350244045257568, -0.20749996602535248, -0.2576422393321991, -0.6254564523696899, 0.2589026987552643, -0.3038924038410187, -0.7779541611671448, 0.30819693207740784, 0.3102693557739258, -0.22493578493595123, 0.037156250327825546, -0.5798683762550354, 0.5577698349952698, 0.1053043007850647, -0.8983452320098877, -0.2669747471809387, -0.7212318778038025, 0.4883849620819092, 0.3899255394935608, 0.4548034071922302, -0.2960188388824463, -0.004030723124742508, 0.85293048620224, -0.34185105562210083, 1.0189288854599, -0.5759072303771973, 0.12625311315059662, 0.40752318501472473, -0.16937360167503357, 0.37176260352134705, 0.3090333640575409, 0.20854651927947998, -0.3478457033634186, 0.1836375743150711, -0.627103328704834, -0.2525876462459564, 0.6431035995483398, -0.676723301410675, -0.764875054359436, -0.7155659794807434, -0.3700512945652008, -0.08724478632211685, 0.10172457247972488, 0.16316619515419006, 0.10615304857492447, -0.5518964529037476, 0.12784571945667267, 1.1194615364074707, -0.033447086811065674, 0.3934522867202759, 0.16058747470378876, -0.14431484043598175, -0.29439276456832886, 0.25158393383026123, 0.5156961679458618, 0.11887093633413315, -0.028267642483115196, 0.07655499130487442, -0.29775404930114746, -0.041042760014534, 0.17646770179271698, 0.25376778841018677, -0.9413835406303406, 0.23770509660243988, -0.6396385431289673, 0.19966255128383636, -0.7379504442214966, -0.40047183632850647, 0.005449645221233368, -0.1827833652496338, -0.04166140407323837, -0.5950688123703003, -0.08245917409658432, 0.9456389546394348, -0.4495903551578522, 0.3566013276576996, -0.31247007846832275, 0.3767138421535492, 0.29456421732902527, 0.16190655529499054, 0.07367594540119171, -0.05885718762874603, -0.2947860658168793, 0.10861123353242874, -0.40405941009521484, -0.9922047257423401, 0.07776195555925369, -0.19639600813388824, 0.800271213054657, 0.4207741916179657, 0.0915340781211853, 0.4263876676559448, -0.2561211585998535, 0.8042514324188232, 0.15791139006614685, -0.9351197481155396, 0.7713030576705933, -0.49724826216697693, 0.02143363282084465, 0.6078348755836487, 0.31821906566619873, -0.3928834795951843, 0.016934871673583984, -0.8457554578781128, -1.0337245464324951, 0.3564179241657257, -0.1546957641839981, -0.045192476361989975, -0.2548659145832062, 0.5253390669822693, -0.26432502269744873, 0.4670430123806, -0.9364786148071289, -0.6792522072792053, 0.32904767990112305, 0.06709668785333633, -0.02239828184247017, -0.8674139380455017, -0.542224109172821, -0.3932212293148041, 0.4360058903694153, -0.009610271081328392, 0.2944364547729492, 0.4380209743976593, -0.3419605791568756, -0.19458909332752228, 0.16717731952667236, 0.767500102519989, 0.7995840907096863, -0.2941862642765045, 0.14403745532035828, 0.48469775915145874, -0.5194271802902222, 0.4936843812465668, -0.44989272952079773, -0.6421941518783569, -0.06361764669418335, 0.19935491681098938, 0.4556441307067871, 0.029193144291639328, 0.032339323312044144, 0.23332376778125763, 0.1517840325832367, -0.21259023249149323, -0.7335840463638306, -0.12421751767396927, -0.12231805920600891, 0.23447775840759277, 0.3893464207649231, 0.20709840953350067, 0.3576674461364746, -0.8433114290237427, 0.20484963059425354, 0.5058137774467468, -0.6354528069496155, -0.05807296186685562, 0.6699269413948059, 0.4857151210308075, -0.07112935930490494, -0.00034457704168744385, -0.08203323185443878, -0.6494415998458862, 0.8766864538192749, 0.27029410004615784, 0.5989293456077576, 0.06240576133131981, 0.14714452624320984, 0.23071062564849854, 0.4857046902179718, -0.547370970249176, 0.3404124975204468, -0.17225435376167297, -0.8673593997955322, -0.4405583143234253, -0.22203564643859863, -0.2785119414329529, -0.389324814081192, -0.8743686676025391, 0.3492469787597656, -0.5890607237815857, -0.6178406476974487, -0.2767571806907654, 0.18150000274181366, -0.651913046836853, 0.262090265750885, -0.21125206351280212, 0.9943525195121765, -1.1511955261230469, 0.605109453201294, 0.638069212436676, -0.2735227942466736, -0.41062653064727783, -0.06695909053087234, 0.5621247887611389, -0.5713937878608704, 0.6655088067054749, 0.31032052636146545, -0.21838055551052094, -0.5869558453559875, -0.795832097530365, -1.128231167793274, 0.9055992960929871, 0.19249385595321655, -0.13388784229755402, -0.04209493100643158, -0.14066675305366516, 0.325314462184906, -0.565751850605011, 0.2940216362476349, 0.7145493626594543, 0.7630961537361145, -0.15442030131816864, -0.524474024772644, 0.06810984760522842, -0.26200512051582336, 0.19642364978790283, -0.19994938373565674, -0.7912241220474243, 0.5461404919624329, -0.34797489643096924, 0.11242937296628952, -0.2736557126045227, 0.652033805847168, 0.21439915895462036, 0.688395619392395, 0.4981212913990021, 0.4897138476371765, 0.5954714417457581, -0.36176222562789917, 0.7074534296989441, -0.4373948276042938, 0.5415825843811035, 0.6377293467521667, -0.469546377658844, -0.18435733020305634, 0.6757290959358215, -0.2359074205160141, 0.1790340393781662, 1.2235859632492065, 0.3900989890098572, 0.7942215800285339, 0.4878315031528473, -0.3635500371456146, -0.0646880716085434, -0.41486942768096924, -0.5798010230064392, 0.036804065108299255, 0.4172630310058594, -0.3882426619529724, 0.05329699441790581, -0.13310866057872772, 0.2310914546251297, -0.07207243889570236, -0.5595256090164185, 0.6348300576210022, 0.209384486079216, -0.7757636308670044, 0.0005737463943660259, -0.14626668393611908, 1.1417510509490967, -0.16523048281669617, -0.015048026107251644, -0.4867457151412964, 0.1191268190741539, -0.41822630167007446, -0.4314444363117218, 0.42115986347198486, -0.3879159390926361, -0.5776305198669434, -0.3222542405128479, 0.868971586227417, -0.360808789730072, -0.2623738944530487, 0.23136389255523682, 0.4020318388938904, -0.24278108775615692, 0.37855300307273865, -0.3905380964279175, 0.09725703299045563, 0.30900877714157104, -0.2585868835449219, 0.4128454327583313, 0.4683419466018677, -0.027564363554120064, 0.8392431735992432, 0.3245373070240021, 0.15803654491901398, 0.16143463551998138, -0.09509627521038055, 0.5943263173103333, -0.8671552538871765, -0.5461904406547546, -0.8042612671852112, 0.30542871356010437, -0.6152201890945435, -0.01984689198434353, 0.9809418320655823, 0.44008687138557434, 0.8766990900039673, -0.0330594927072525, 1.2603434324264526, -0.047661032527685165, 0.5854967832565308, -0.2892434597015381, 0.37637972831726074, -0.3348114788532257, 0.31403619050979614, -0.6785550117492676, -1.0501736402511597, 0.019185008481144905, 1.0003352165222168, -0.4293346107006073, 0.24859930574893951, 0.706087589263916, 0.6214315295219421, 0.27952101826667786, -0.17201918363571167, -0.204504132270813, -0.11983609944581985, 0.10774871706962585, 0.27282285690307617, 0.6943103075027466, 0.019836584106087685, 0.10713005065917969, -0.30474743247032166, -0.5804824829101562, -0.24275146424770355, -0.908940315246582, -0.9952151775360107, -0.15299761295318604, -0.2895950973033905, -0.8370035290718079, 0.20184887945652008, 0.9990829229354858, 0.6674156785011292, -0.32702362537384033, -0.5385586023330688, 0.25641942024230957, 0.8347334265708923, -0.08333044499158859, -0.23321200907230377, -0.12062966078519821, -0.24495919048786163, -0.42658764123916626, -0.2643376588821411, 0.22396741807460785, -0.13698191940784454, -0.37693071365356445, -0.04021138325333595, -0.18571150302886963, 0.18794921040534973, 0.7165288925170898, 0.0998578891158104, -0.47905176877975464, -0.6997932195663452, 0.011049267835915089, -0.023132527247071266, 0.06259171664714813, 1.067441701889038, -0.3173750042915344, 0.1450299769639969, 0.6780117750167847, 0.15957185626029968, 0.7179007530212402, -0.2692680060863495, 0.6007623672485352, -0.46067702770233154, 0.36186090111732483, -0.1860189139842987, 0.6587396264076233, 0.19592784345149994, -0.4366567134857178, 0.764136791229248, 0.5924888253211975, -0.6082013249397278, -0.7589502930641174, 0.8272724151611328, -0.828003466129303, -0.041956350207328796, 1.2136321067810059, 0.1183081716299057, -0.3378278613090515, -0.37107959389686584, -0.39201295375823975, 0.374054878950119, -0.46225690841674805, 0.9922914505004883, 0.8586899042129517, -0.20215560495853424, -0.1904091238975525, -0.44615495204925537, 0.7271608710289001, 0.28302502632141113, -0.4525967538356781, -0.32844457030296326, 0.692710816860199, 0.665939450263977, 0.14048048853874207, 0.9749524593353271, 0.125977024435997, 0.03864322975277901, -0.07890817523002625, -0.12427016347646713, 0.5137497186660767, -0.19363971054553986, 0.10580525547266006, 0.19266530871391296, 0.08621330559253693, 0.31838881969451904 ]
http://arxiv.org/abs/2402.11709v2
http://arxiv.org/pdf/2402.11709v2
GNNavi: Navigating the Information Flow in Large Language Models by Graph Neural Network
2024-02-18T21:13:05
2024-06-07T14:36:33
Shuzhou Yuan, Ercong Nie, Michael Färber, Helmut Schmid, Hinrich Schütze
cs.CL
cs.CL, cs.AI
Large Language Models (LLMs) exhibit strong In-Context Learning (ICL) capabilities when prompts with demonstrations are used. However, fine-tuning still remains crucial to further enhance their adaptability. Prompt-based fine-tuning proves to be an effective fine-tuning method in low-data scenarios, but high demands on computing resources limit its practicality. We address this issue by introducing a prompt-based parameter-efficient fine-tuning (PEFT) approach. GNNavi leverages insights into ICL's information flow dynamics, which indicates that label words act in prompts as anchors for information propagation. GNNavi employs a Graph Neural Network (GNN) layer to precisely guide the aggregation and distribution of information flow during the processing of prompts by hardwiring the desired information flow into the GNN. Our experiments on text classification tasks with GPT-2 and Llama2 show GNNavi surpasses standard prompt-based fine-tuning methods in few-shot settings by updating just 0.2% to 0.5% of parameters. We compare GNNavi with prevalent PEFT approaches, such as prefix tuning, LoRA and Adapter in terms of performance and efficiency. Our analysis reveals that GNNavi enhances information flow and ensures a clear aggregation process.
[ -0.33405405282974243, -1.0919418334960938, 0.5342963337898254, 0.034111544489860535, -0.6148747205734253, -0.016064707189798355, -0.3965083956718445, -0.18351449072360992, -0.24212102591991425, 0.290872186422348, -0.30590349435806274, -0.5603199005126953, -0.6084719300270081, -0.11396056413650513, -0.14975886046886444, 1.0311537981033325, -0.014090712182223797, -0.11358518153429031, 0.09480107575654984, -0.08322218805551529, -0.3790581226348877, -0.20531457662582397, -1.0602697134017944, -0.23124448955059052, 0.8924848437309265, 0.5712471008300781, 0.5821342468261719, 0.6709105372428894, 0.13604262471199036, 0.2302146553993225, -0.4308520555496216, 0.47855427861213684, -0.5646184682846069, 0.4540083408355713, -0.2691825330257416, -0.34001293778419495, -0.11735754460096359, -0.2889547646045685, 0.8854830265045166, 0.7065611481666565, 0.04183793067932129, 0.1302231252193451, 0.4462135434150696, 0.6718268394470215, -0.5402228236198425, 0.2586611211299896, -0.5368956923484802, -0.3766167163848877, -0.2238013744354248, -0.4696867763996124, -0.506561815738678, -0.2785662114620209, -0.07375539839267731, -0.5785268545150757, -0.05058615654706955, 0.29469797015190125, 0.6979005336761475, 0.3512425124645233, -0.535711944103241, -0.407597154378891, -0.4638673961162567, 0.5870825052261353, -0.44663146138191223, 0.341246634721756, 0.26196327805519104, 0.19317038357257843, -0.4747263193130493, -0.6825343370437622, -0.396820068359375, -0.2431892454624176, 0.0740429237484932, -0.19334609806537628, -0.24734395742416382, 0.3458174467086792, 0.3153354227542877, -0.08269377797842026, -0.6053121089935303, 0.3789357841014862, -0.39747604727745056, -0.1314888596534729, 0.25120189785957336, 0.13498786091804504, 0.24015915393829346, 0.049939822405576706, -0.15264806151390076, -0.12489990890026093, -0.7377813458442688, 0.3120044767856598, 0.3941616117954254, 0.6402752995491028, -0.11683760583400726, 0.17112037539482117, -0.37603092193603516, 1.1912543773651123, 0.2342683970928192, -0.05868217721581459, 0.06249862164258957, -0.21723075211048126, -0.2918652892112732, 0.41940268874168396, 0.6869692206382751, 0.2451634258031845, 0.22211268544197083, -0.1383599191904068, 0.22209441661834717, -0.12517234683036804, -0.07667700946331024, -0.9012109637260437, -0.27368971705436707, -0.17168912291526794, -0.26996657252311707, -0.3292379081249237, -0.29715707898139954, -0.6893567442893982, -0.6155901551246643, -0.46932047605514526, 0.3217748999595642, -0.2656693458557129, -0.0177211482077837, 0.032296132296323776, 0.12918677926063538, 0.18289777636528015, 0.8112308979034424, -0.9004474878311157, 0.127377450466156, 0.7283816933631897, 1.1183497905731201, -0.11925822496414185, -0.02476278878748417, -1.1615056991577148, 0.10104234516620636, -0.3260008692741394, 0.6729733943939209, -0.6491924524307251, -0.2271563857793808, -0.2889605760574341, -0.050184719264507294, -0.22735697031021118, -0.26273760199546814, 0.507692277431488, -0.513425350189209, -0.14623424410820007, -0.36274048686027527, -0.37287312746047974, -0.3401065766811371, 0.3826066851615906, -0.48113536834716797, 0.6729490756988525, -0.05232750251889229, -0.662039041519165, 0.240247443318367, -0.573983371257782, -0.40927067399024963, 0.0670347511768341, -0.17665480077266693, -0.07034622877836227, 0.14680540561676025, 0.23183462023735046, 0.5179784893989563, -0.37081238627433777, 0.2880844175815582, -0.08583736419677734, -0.508695125579834, -0.08431209623813629, -0.6657018661499023, 0.6137139201164246, 0.267645925283432, -0.1523733139038086, 0.24876850843429565, -0.6429035663604736, -0.004044080153107643, -0.4690130949020386, -0.6586605906486511, -0.35753628611564636, -0.18299239873886108, -0.06446819752454758, 0.15272849798202515, -0.1241878867149353, -0.3392089605331421, 0.5996260046958923, -0.5322603583335876, 0.5582613348960876, 0.767941951751709, 0.20013724267482758, 0.5914300680160522, -0.1715267300605774, 0.5708487033843994, 0.15147516131401062, 0.11075187474489212, -0.22388777136802673, -0.7759068608283997, -0.6630966663360596, -0.04126724600791931, 0.5067420601844788, 0.5415783524513245, -0.9127412438392639, -0.0860643982887268, -0.11649848520755768, -0.48503342270851135, -0.4319987893104553, 0.5367563366889954, 0.2604443430900574, 1.0833086967468262, 0.23910225927829742, 0.26445069909095764, -0.1967685967683792, -0.8044610023498535, -0.2941868305206299, -0.2949149012565613, 0.2949281930923462, 0.43312039971351624, 0.10852637141942978, -0.16636186838150024, 0.5331451296806335, -0.17662322521209717, -0.10385902971029282, -0.23383350670337677, 0.3761393129825592, 0.661441445350647, 0.45399603247642517, 0.4015679657459259, -0.9449047446250916, -0.5758816599845886, 0.21544405817985535, -0.3849888741970062, -0.2090080827474594, -0.09742066264152527, -0.1954171359539032, 0.25464537739753723, 0.8190467357635498, -0.3722667098045349, 0.30053505301475525, 0.37778517603874207, -0.4756307005882263, 0.313420832157135, -0.42673489451408386, 0.07945109158754349, -0.9065899848937988, 0.07117383182048798, 0.09588886052370071, -0.367253839969635, -0.6507197618484497, 0.0006954394048079848, 0.18362300097942352, 0.09228939563035965, -0.42946141958236694, 0.7504506707191467, -0.47942444682121277, 0.3393339514732361, -0.3152950406074524, 0.02680431306362152, 0.029136965051293373, 0.4845171868801117, -0.430573970079422, 0.8904546499252319, 0.6164496541023254, -0.9547479152679443, 0.3044440448284149, 0.05066276714205742, -0.5114070773124695, 0.473453551530838, -0.4886617064476013, 0.2635799050331116, -0.3654501140117645, 0.22771234810352325, -1.17243492603302, -0.1110977977514267, 0.522386908531189, -0.2731623649597168, 0.537541925907135, -0.4478188753128052, -0.5504677295684814, 0.13351844251155853, -0.04318036884069443, 0.41306233406066895, 0.4272972643375397, -0.6203463077545166, 0.7526918053627014, 0.04438997432589531, -0.3168720304965973, -0.42359015345573425, -0.5765684843063354, 0.25067687034606934, -0.3404220640659332, -0.4933987855911255, 0.094350665807724, -0.12914785742759705, -0.17383599281311035, -0.3765788972377777, 0.07026538252830505, 0.09063304215669632, 0.3862302005290985, 0.31622570753097534, 0.037701208144426346, -0.1754494309425354, 0.5388258695602417, 0.4346700608730316, -0.19111475348472595, -0.1731395721435547, -0.5444884300231934, 0.5684446096420288, -0.22167181968688965, -0.04563121125102043, -0.39968249201774597, 0.21706649661064148, 0.46006539463996887, 0.012520450167357922, 0.6256181597709656, 0.6457312703132629, -0.12662918865680695, -0.2529563903808594, -0.2972082197666168, 0.038213565945625305, -0.5026942491531372, 0.3382347524166107, -0.3613327145576477, -0.9951546788215637, 0.3612403869628906, -0.3312302231788635, -0.2011341154575348, 0.27440309524536133, 0.45765092968940735, -0.12136121839284897, 1.0983211994171143, 0.6429397463798523, -0.22519400715827942, 0.5002065300941467, -0.23158885538578033, 0.16214562952518463, -0.9789138436317444, -0.13217094540596008, -0.6694048047065735, -0.6919413805007935, -0.5197593569755554, -0.2923418879508972, 0.5703849792480469, 0.5801969766616821, -0.379742830991745, -0.07412309944629669, -0.5107380747795105, 0.4944644868373871, 0.5907902121543884, 0.19276966154575348, 0.3499014377593994, 0.042409349232912064, -0.31615933775901794, 0.3570256233215332, -0.9316974878311157, -0.3283691108226776, 0.7801223397254944, 0.2449846714735031, 0.9350168108940125, 0.07454921305179596, 0.42184004187583923, 0.2163836658000946, 0.12088680267333984, -0.7704032063484192, 0.5543511509895325, -0.14901301264762878, -0.13844184577465057, -0.35432013869285583, -0.47071099281311035, -0.7691365480422974, 0.04733046889305115, -0.028672294691205025, -1.0413498878479004, 0.3802541494369507, 0.446694940328598, -0.47709929943084717, 0.2888984680175781, -0.7678661346435547, 0.6591230034828186, -0.23086023330688477, -0.536575973033905, -0.13123393058776855, -0.5870146155357361, -0.0027938156854361296, -0.021279897540807724, 0.07614967972040176, -0.00163203792180866, -0.1786995530128479, 0.6357201933860779, -0.21849974989891052, 0.7966766953468323, -0.42189887166023254, -0.20194053649902344, 0.17842088639736176, 0.17054440081119537, 0.7335365414619446, 0.2291525900363922, -0.2261778712272644, -0.0008600251749157906, -0.30634739995002747, -0.08757547289133072, -0.8160065412521362, 1.0341681241989136, -0.5249335765838623, -0.43490999937057495, -0.1772724837064743, -0.5047206878662109, -0.2887900769710541, 0.17152029275894165, 0.5093709230422974, 0.7116198539733887, 0.2441691905260086, 0.3464130461215973, 0.848294734954834, -0.19158218801021576, 0.4875485599040985, 0.26884010434150696, -0.10726045817136765, -0.27083298563957214, 0.8749125599861145, 0.3080231845378876, 0.167236328125, 0.4358246922492981, 0.31654074788093567, -0.3861273229122162, -0.6818103194236755, -0.685982346534729, 0.05884823575615883, -0.7182143330574036, -0.3367140591144562, -0.5328720211982727, 0.009693914093077183, -0.16785883903503418, -0.1827392280101776, 0.09285008162260056, -0.2754582166671753, -0.5840978622436523, 0.045958347618579865, 0.6242331266403198, 0.506257951259613, 0.171415314078331, 0.618832528591156, -0.47404152154922485, 0.08472683280706406, 0.25384974479675293, 0.4301847815513611, 0.03265416994690895, -0.569194495677948, -0.23941417038440704, 0.054098982363939285, -0.13189204037189484, -0.716737687587738, 0.05855824798345566, 0.5248266458511353, 0.3473172187805176, 0.4295901954174042, -0.03935505077242851, 0.6841146945953369, -0.3009456396102905, 0.6385901570320129, 0.11031532287597656, -0.9264772534370422, 0.6293311715126038, -0.5941282510757446, 0.5410235524177551, 0.7330949306488037, 0.214546799659729, -0.5792522430419922, -0.007144262082874775, -0.298863023519516, -0.9293410778045654, 0.5682570338249207, -0.1582641303539276, 0.01594197377562523, 0.13758201897144318, 0.5978649258613586, -0.03388025984168053, 0.2998555898666382, -0.057648248970508575, -0.07024714350700378, 0.14510051906108856, -0.29291242361068726, -0.44988006353378296, -0.14062228798866272, 0.22020500898361206, -0.5441443920135498, 0.6533447504043579, -0.5959966778755188, 0.07405773550271988, 0.18012407422065735, -0.2638092637062073, -0.003960662987083197, 0.33759596943855286, 0.7415123581886292, 0.5863818526268005, 0.03582623973488808, 0.17840273678302765, 0.22402475774288177, -0.42361313104629517, 0.24628108739852905, -0.007385937497019768, -0.3694445490837097, -0.029080260545015335, 0.1673664003610611, 1.2265273332595825, 0.29123786091804504, -0.2634889483451843, 0.29583558440208435, -0.04503566026687622, -0.19819480180740356, 0.32954153418540955, 0.5100997686386108, -0.07262814790010452, 0.4413701295852661, 0.22591076791286469, 0.03431946039199829, 0.2357565313577652, -0.41574087738990784, -0.08614511787891388, 0.273775577545166, -0.44567951560020447, -0.17018847167491913, 0.5649948120117188, -0.03613794222474098, -0.3113396167755127, 0.6987767815589905, -0.19361215829849243, -0.3132810890674591, 0.4786769449710846, 0.5363274216651917, 0.7664134502410889, -0.029853034764528275, 0.2673983871936798, 0.21022816002368927, 0.07656688243150711, -0.2204723209142685, 0.3743695616722107, -0.42342519760131836, -0.36898303031921387, -0.5052250623703003, -0.6515334248542786, -0.3859960734844208, 0.18481412529945374, -0.40974199771881104, 0.2698903977870941, -0.5813919901847839, -0.1750619113445282, 0.027796395123004913, 0.013464541174471378, -0.7232704758644104, 0.06270455569028854, 0.1702396422624588, 1.2784740924835205, -0.7158318758010864, 0.8546227812767029, 0.8465918898582458, -0.051897335797548294, -0.9331409931182861, -0.1360962688922882, -0.238077774643898, -0.4767785966396332, 0.7273828387260437, 0.13228794932365417, -0.34584394097328186, 0.3792399764060974, -0.7989583611488342, -0.7634431719779968, 0.9548025131225586, 0.6323809027671814, -0.7960480451583862, -0.19187703728675842, -0.19519144296646118, 0.4632919430732727, -0.21336449682712555, 0.2251415252685547, 0.3761551082134247, 0.6699475646018982, 0.23826874792575836, -0.8214560747146606, -0.026015471667051315, -0.41401952505111694, 0.1034424901008606, 0.30487412214279175, -0.5955747365951538, 0.7776870131492615, -0.07386256754398346, -0.08872141689062119, 0.08750780671834946, 0.4233858287334442, 0.0755547434091568, 0.17834992706775665, 0.479263037443161, 0.37736713886260986, 1.1712121963500977, -0.19902268052101135, 0.8918266296386719, -0.3044070899486542, 0.09335371851921082, 1.0633574724197388, -0.03189081698656082, 0.6842093467712402, 0.5316874384880066, 0.39727020263671875, 0.5711499452590942, 0.5692725777626038, 0.2428157925605774, 0.5752286314964294, 0.31391558051109314, -0.18886341154575348, -0.39937612414360046, -0.26318788528442383, -0.23027697205543518, 0.4314711093902588, 0.5217832326889038, -0.4945331811904907, -0.5319705605506897, 0.3989088237285614, 0.0014634416438639164, -0.27981534600257874, -0.6990903615951538, 0.7776781916618347, 0.19674347341060638, -0.6778658032417297, 0.7228072881698608, -0.04012323170900345, 0.4307865798473358, -0.636472225189209, -0.14316952228546143, -0.029462667182087898, 0.20961767435073853, -0.035478685051202774, -0.6983450651168823, -0.14081263542175293, -0.014559347182512283, -0.16576524078845978, -0.26063939929008484, 0.9598149657249451, -0.3535473644733429, -0.32147061824798584, 0.11702921986579895, 0.2847285866737366, 0.134792760014534, -0.0982305258512497, -0.5007095336914062, 0.16007685661315918, -0.1434314250946045, -0.2904829978942871, 0.3646146059036255, 0.46480563282966614, -0.262494832277298, 0.7386528253555298, 0.581646740436554, 0.3505171835422516, -0.06817720085382462, 0.12107717990875244, 0.9777780771255493, -0.4079541265964508, -0.9873107075691223, -0.9727087020874023, 0.3549177646636963, 0.0395272858440876, -0.6264854073524475, 0.6151814460754395, 0.4082895517349243, 0.47615090012550354, 0.2862641215324402, 0.7024754285812378, 0.3918924629688263, 0.23484200239181519, -0.8158050775527954, 0.8399539589881897, -0.34024524688720703, 0.10685206949710846, -0.2437690645456314, -0.7628730535507202, -0.375215083360672, 0.5490723848342896, -0.4512786269187927, -0.044879913330078125, 0.24545539915561676, 0.8006824254989624, -0.2593574821949005, 0.06708969920873642, 0.08046570420265198, 0.3740583658218384, 0.38962167501449585, 0.6402761340141296, 0.7058095932006836, -0.32882577180862427, 0.18586891889572144, 0.13088105618953705, -0.26402926445007324, -0.3228156864643097, -1.0796881914138794, -0.7839986085891724, -0.5933815836906433, -0.28926658630371094, -0.32110360264778137, 0.3800695538520813, 0.9912015199661255, 0.8171055912971497, -0.6321191787719727, 0.004224005155265331, -0.2307288944721222, 0.15365755558013916, 0.006976015400141478, -0.12579920887947083, 0.4191490411758423, -0.44472843408584595, -0.34150850772857666, 0.5020312666893005, 0.3923344016075134, -0.041973769664764404, -0.12730644643306732, -0.2530328631401062, -0.14025086164474487, -0.01207028329372406, 0.3935847282409668, 0.3308641016483307, -0.41491979360580444, -0.1748853325843811, -0.20256681740283966, 0.031035596504807472, 0.03496144711971283, 0.6908155679702759, -1.011335015296936, 0.565758228302002, 0.6992172002792358, 0.7018342614173889, 0.30984801054000854, 0.2679058313369751, 0.46221715211868286, -0.7178305387496948, 0.05747333914041519, 0.07677939534187317, 0.14897404611110687, 0.14394716918468475, -0.5350656509399414, 0.06351813673973083, -0.1495768427848816, -0.6552602052688599, -0.7940593361854553, 0.12152175605297089, -0.9303044676780701, -0.2542518675327301, 1.3510258197784424, 0.2674712538719177, -0.4704452157020569, -0.15295647084712982, -0.5372977256774902, 0.27534782886505127, -0.5800509452819824, 0.4269467890262604, 0.5164561867713928, -0.13710394501686096, -0.2751106917858124, -0.5526878237724304, 0.5789424180984497, 0.04991108179092407, -0.5287113189697266, -0.07998911291360855, 0.3596450984477997, 0.15849046409130096, -0.03180990740656853, 0.5502249598503113, 0.452296644449234, 0.20389358699321747, -0.46036383509635925, -0.7517919540405273, -0.5222173929214478, -0.8046704530715942, -0.8052691221237183, 0.18397803604602814, 0.15679140388965607, -0.15047143399715424 ]
http://arxiv.org/abs/2402.11700v1
http://arxiv.org/pdf/2402.11700v1
Why Lift so Heavy? Slimming Large Language Models by Cutting Off the Layers
2024-02-18T20:47:10
2024-02-18T20:47:10
Shuzhou Yuan, Ercong Nie, Bolei Ma, Michael Färber
cs.CL
cs.CL
Large Language Models (LLMs) possess outstanding capabilities in addressing various natural language processing (NLP) tasks. However, the sheer size of these models poses challenges in terms of storage, training and inference due to the inclusion of billions of parameters through layer stacking. While traditional approaches such as model pruning or distillation offer ways for reducing model size, they often come at the expense of performance retention. In our investigation, we systematically explore the approach of reducing the number of layers in LLMs. Surprisingly, we observe that even with fewer layers, LLMs maintain similar or better performance levels, particularly in prompt-based fine-tuning for text classification tasks. Remarkably, in certain cases, models with a single layer outperform their fully layered counterparts. These findings offer valuable insights for future work aimed at mitigating the size constraints of LLMs while preserving their performance, thereby opening avenues for significantly more efficient use of LLMs.
[ -0.5450758337974548, -0.566537082195282, 0.2927597463130951, 0.05787542462348938, -0.32009032368659973, 0.09234773367643356, -0.2504402995109558, -0.5726732015609741, -0.14893457293510437, 0.9755106568336487, -0.5574468970298767, -0.10906718671321869, -0.6270064115524292, 0.032020971179008484, -0.5923691391944885, 1.1873494386672974, 0.2794395685195923, -0.12099884450435638, -0.41442984342575073, -0.020477019250392914, -0.342917799949646, -0.3730054199695587, -0.8526027798652649, -0.7471544742584229, 0.7871760725975037, 0.35509008169174194, 0.8228908777236938, 0.9417669773101807, 0.4922301471233368, 0.2958618998527527, -0.5971711874008179, 0.31722545623779297, -0.6525260210037231, 0.17171351611614227, 0.07537561655044556, -0.6691490411758423, -0.10702548176050186, 0.09002771973609924, 0.7554149627685547, 1.1448837518692017, -0.07765716314315796, 0.10969948023557663, 0.2239055037498474, 1.0118167400360107, -0.6602668166160583, -0.12779299914836884, -0.6770505905151367, 0.009741389192640781, -0.2391756772994995, -0.19608309864997864, -0.4883824288845062, 0.18182052671909332, 0.12952902913093567, -0.2786097526550293, 0.11209230870008469, 0.23345737159252167, 0.8031317591667175, 0.4499782919883728, -0.37700966000556946, 0.10789859294891357, -0.9286235570907593, 1.029978632926941, -0.7887954115867615, 0.10732170939445496, 0.3889215886592865, 0.06007729098200798, 0.04577761888504028, -0.4311095178127289, -0.23937644064426422, -0.1891959309577942, -0.06102411448955536, -0.3013148009777069, -0.12225367873907089, 0.12492907047271729, 0.5598529577255249, 0.47108301520347595, -0.3128769099712372, 0.6026461124420166, -0.5019941926002502, -0.0963493287563324, 0.5909676551818848, 0.013299133628606796, 0.4749657213687897, -0.12533049285411835, -0.45743152499198914, -0.045281026512384415, -0.9083855152130127, -0.09568347036838531, 0.37082815170288086, 0.5168346166610718, 0.19302892684936523, 0.6389187574386597, 0.14142170548439026, 0.5795910954475403, -0.11311262845993042, -0.16759319603443146, 0.03765059635043144, 0.13299041986465454, -0.44359490275382996, 0.050253886729478836, 0.7125951051712036, 0.21208477020263672, 0.4212665259838104, -0.23078756034374237, -0.37314295768737793, -0.27284756302833557, 0.27122560143470764, -1.0581088066101074, -0.17220672965049744, 0.2665708363056183, -0.45034125447273254, -0.3264036178588867, -0.23654243350028992, -0.37529200315475464, -0.5301133394241333, -0.4095320403575897, 0.2666543424129486, -0.4788488447666168, -0.21330684423446655, 0.3533206284046173, -0.21862564980983734, 0.08471261709928513, 0.4223708510398865, -0.9540977478027344, 0.6392688751220703, 0.9429402351379395, 0.8994386196136475, -0.10262100398540497, -0.043044187128543854, -0.5234814882278442, 0.2203924059867859, -0.39951372146606445, 0.45329880714416504, -0.48503613471984863, -0.12361211329698563, -0.13685669004917145, -0.13849039375782013, -0.013592272996902466, -0.9348671436309814, 0.8004400730133057, -0.45756062865257263, 0.40410470962524414, -0.3911089599132538, -0.5740681886672974, -0.1355762481689453, 0.16385042667388916, -0.8381465673446655, 1.1383150815963745, -0.11295951902866364, -0.8143113255500793, 0.09271828085184097, -0.08552886545658112, -0.6218591928482056, 0.07075109332799911, 0.23845739662647247, -0.3560701310634613, 0.6034775972366333, 0.3041099011898041, 0.6417142748832703, -0.6432727575302124, -0.0343809649348259, -0.14565816521644592, -0.3949219584465027, -0.22605758905410767, -0.22291144728660583, 0.8721092343330383, 0.5197974443435669, 0.025986652821302414, -0.12766246497631073, -0.7244972586631775, -0.002402188489213586, 0.03775724768638611, -0.5339325070381165, -0.7843703627586365, 0.12252252548933029, -0.017314264550805092, 0.3859148919582367, 0.11704778671264648, -0.5553318858146667, 0.20681165158748627, -0.718477725982666, 0.7475185394287109, 0.6249468326568604, -0.3338716924190521, 0.6558171510696411, -0.47047746181488037, 0.5274226069450378, 0.0964241549372673, -0.14803802967071533, 0.16332903504371643, -0.1992778331041336, -0.7968242168426514, -0.49128320813179016, 0.2626783847808838, 0.4700068533420563, -0.7198778390884399, 0.37367159128189087, -0.3333614468574524, -0.5060043931007385, -0.497282475233078, 0.6954999566078186, 0.3301421105861664, 0.4141940176486969, 0.2911915183067322, -0.12722648680210114, -0.4090571403503418, -1.1128759384155273, -0.38656336069107056, -0.1287379413843155, -0.29730695486068726, 0.1330239623785019, 0.4067312180995941, 0.09217847138643265, 0.7198792695999146, -0.40301844477653503, -0.29566681385040283, -0.6771707534790039, -0.08360189199447632, 0.2750069200992584, 0.6303143501281738, 0.5512025952339172, -0.7680707573890686, -0.2827717363834381, -0.008088677190244198, -0.5557354092597961, -0.2436053454875946, -0.2676183581352234, -0.016203617677092552, -0.11621037870645523, 0.6850111484527588, -1.068162441253662, -0.1502992808818817, 0.4924732744693756, 0.1698448807001114, 0.4434107840061188, -0.19981329143047333, -0.41181614995002747, -0.8081513047218323, -0.1425788849592209, 0.16095344722270966, -0.4716874659061432, -0.7248522639274597, 0.14129948616027832, -0.03164561465382576, -0.1630719155073166, -0.32819822430610657, 0.5853674411773682, -0.8713709115982056, -0.01302160695195198, -0.30291494727134705, 0.0633964091539383, 0.294776052236557, 0.28985464572906494, -0.32144519686698914, 0.4637843668460846, 0.528994619846344, -0.7020865678787231, 0.12240146100521088, 0.050430990755558014, -0.49979496002197266, 0.19952455163002014, -0.640852689743042, 0.07510357350111008, -0.38754430413246155, 0.12475273758172989, -0.8793536424636841, 0.0912260189652443, -0.1760549545288086, 0.12055917084217072, 0.6633254885673523, -0.08908731490373611, -0.6623420715332031, -0.5340179800987244, -0.6240347623825073, 0.2167387157678604, 0.7152117490768433, -0.5141656994819641, 0.6910607814788818, 0.3967442214488983, -0.13317416608333588, -0.551296055316925, -1.0429539680480957, 0.2883744537830353, -0.42414340376853943, -0.5803712010383606, 0.3369327485561371, 0.07536260038614273, -0.3041326701641083, -0.1254376918077469, -0.41880887746810913, 0.07505761831998825, 0.34024348855018616, 0.07922616600990295, 0.027232607826590538, -0.07932993769645691, 0.40941011905670166, 0.006604562979191542, 0.1109909862279892, 0.13022480905056, -0.33864545822143555, 0.6778568029403687, 0.10717211663722992, -0.12535911798477173, -0.5101853013038635, 0.1646682471036911, 0.6720020771026611, -0.20533061027526855, 1.1679346561431885, 0.43651673197746277, -0.3386557400226593, -0.8244717121124268, -0.7165510654449463, -0.121709905564785, -0.5125789046287537, 0.4646989405155182, -0.2679927945137024, -1.0455520153045654, 0.5400071740150452, -0.23878946900367737, 0.1557602882385254, 0.401169091463089, 0.34956878423690796, -0.1506471186876297, 1.1715002059936523, 0.5492761731147766, -0.450278639793396, 0.5912727117538452, -0.13219986855983734, 0.23613575100898743, -0.9337336421012878, -0.07528456300497055, -0.7939077019691467, -0.5312933921813965, -0.48997125029563904, -0.4004177749156952, 0.052299462258815765, 0.2687520384788513, -0.1228627935051918, 0.17169708013534546, -0.618581235408783, 0.6310076117515564, 0.34019264578819275, 0.19579245150089264, 0.26581329107284546, 0.21654033660888672, 0.20029102265834808, 0.17746762931346893, -0.839390754699707, -0.5720089077949524, 0.6916467547416687, 0.6367296576499939, 0.9218659996986389, -0.019740905612707138, 0.6153196692466736, 0.008528611622750759, -0.03226524963974953, -0.8814505338668823, 0.9030600190162659, -0.6220065355300903, -0.5959652066230774, -0.3500308096408844, -0.9212470054626465, -0.7943729162216187, 0.4862179458141327, -0.042214926332235336, -0.4840780794620514, -0.22886580228805542, 0.11200360953807831, -0.21948271989822388, 0.6140691637992859, -0.8164217472076416, 0.5321975350379944, -0.2550216019153595, -0.4554343819618225, -0.22088654339313507, -0.6117734909057617, 0.4716363549232483, 0.10029563307762146, 0.23629100620746613, -0.23237767815589905, -0.20953701436519623, 0.7018797397613525, -0.7272615432739258, 0.8656563758850098, -0.0861802026629448, -0.34841322898864746, 0.22233892977237701, 0.19405247271060944, 0.502785325050354, -0.40435168147087097, -0.16813434660434723, -0.025691257789731026, -0.06565867364406586, -0.4158708453178406, -0.5968960523605347, 0.8522344827651978, -0.788417637348175, -0.8096244931221008, 0.0011053476482629776, -0.7996848225593567, -0.2584623694419861, 0.1663498878479004, -0.13888396322727203, 0.5220510959625244, 0.1993284970521927, 0.610335111618042, 0.7953522801399231, -0.45537328720092773, 0.36339476704597473, 0.022376595064997673, -0.29616931080818176, 0.23366102576255798, 0.7508591413497925, 0.34874269366264343, 0.5183459520339966, 0.7504165768623352, 0.4694457948207855, -0.12025920301675797, -0.9805360436439514, 0.024940431118011475, 0.3797595202922821, -0.5055807828903198, -0.004513860214501619, -0.8038697242736816, -0.34134235978126526, -0.35702791810035706, 0.15819531679153442, -0.33159205317497253, -0.8311089873313904, -0.4090379476547241, -0.24340718984603882, 0.16001461446285248, 0.68743497133255, 0.2659350335597992, 0.5054224729537964, -0.7462182641029358, 0.21852059662342072, 0.27904269099235535, 0.3428567051887512, 0.14639580249786377, -0.6863271594047546, -0.32601192593574524, -0.2987605631351471, -0.04081723466515541, -0.3574385344982147, 0.6064742207527161, 0.49520549178123474, 0.3489864468574524, 0.2357468605041504, 0.003495224053040147, 0.5571078062057495, -0.5666378736495972, 0.6756422519683838, 0.16085857152938843, -0.7731752991676331, 0.3282073736190796, -0.3206365406513214, 0.6305619478225708, 0.3844698965549469, 0.40764379501342773, -0.3905651867389679, -0.3885309398174286, -0.30917054414749146, -1.1264578104019165, 0.6995989680290222, 0.04783084988594055, 0.36776426434516907, 0.18191087245941162, 0.5336507558822632, -0.033994678407907486, 0.404253751039505, -0.677810549736023, -0.13714081048965454, 0.15124566853046417, -0.2678035795688629, -0.0793842151761055, -0.5356543064117432, -0.10759523510932922, -0.17373089492321014, 0.6513922214508057, 0.05206925794482231, -0.2944676876068115, -0.07159027457237244, -0.2948431968688965, -0.0956394299864769, 0.31970080733299255, 0.28712326288223267, 0.36955708265304565, -0.12052112072706223, 0.5700180530548096, 0.22308842837810516, -0.4202185273170471, -0.13607871532440186, -0.2555080056190491, -0.24117334187030792, -0.29783952236175537, 0.620011031627655, 0.8485504984855652, 0.2370516061782837, -0.7612173557281494, 0.20224741101264954, 0.22345055639743805, -0.1763007491827011, 0.1705036759376526, 0.18540538847446442, 0.31652864813804626, -0.04222511872649193, 0.3855152726173401, 0.1954006552696228, 0.006780768278986216, -0.5709502100944519, 0.01684885285794735, 0.5640969276428223, -0.27419567108154297, -0.2343519777059555, 0.5570579171180725, 0.19132347404956818, -0.15313811600208282, 0.6477948427200317, 0.2690931260585785, -0.45446041226387024, 0.5310910940170288, 0.3377545177936554, 0.7849569320678711, -0.027186691761016846, 0.11042241752147675, 0.17512735724449158, 0.6824118494987488, -0.588067889213562, -0.26491478085517883, 0.14435938000679016, -0.7875169515609741, -0.6417474150657654, -0.8386750817298889, -0.13588213920593262, 0.2966187298297882, -0.5874308943748474, 0.13378271460533142, -0.9244058132171631, -0.11638875305652618, 0.003493435215204954, 0.21856842935085297, -0.5026960968971252, 0.2090747356414795, 0.36091354489326477, 1.010849118232727, -0.8566295504570007, 0.734170138835907, 0.41380074620246887, -0.225763738155365, -0.9091492891311646, -0.3804449439048767, 0.04436187446117401, -0.7290012240409851, 0.7264045476913452, 0.38572928309440613, -0.1347278356552124, -0.040845952928066254, -0.7280006408691406, -0.626426637172699, 0.5977058410644531, 0.7221515774726868, -0.8633840084075928, -0.4247320294380188, 0.16977466642856598, 0.7059085369110107, -0.22021040320396423, 0.12309110164642334, 0.4849103093147278, 0.27843695878982544, 0.15039849281311035, -0.9076272249221802, 0.18896406888961792, -0.2188814878463745, 0.25773119926452637, 0.25372448563575745, -0.7145904898643494, 1.0824103355407715, -0.06151215359568596, -0.3336980938911438, 0.008194275200366974, 0.38144806027412415, 0.05058625712990761, -0.20185403525829315, 0.7630290389060974, 0.827530026435852, 0.8361778259277344, 0.025180594995617867, 1.38334321975708, -0.12076233327388763, 0.08383788913488388, 1.00200355052948, -0.5714688897132874, 0.7673125267028809, 0.629048764705658, -0.021076273173093796, 0.3765496611595154, 0.33211594820022583, -0.0032019782811403275, 0.3167648911476135, 0.38971057534217834, -0.12514634430408478, -0.5713245272636414, -0.24446922540664673, -0.0776267945766449, 0.4724896550178528, 0.05159839242696762, -0.26624026894569397, -0.2127058357000351, 0.010772831737995148, 0.12422355264425278, 0.19486187398433685, -0.5234088897705078, 0.6536983251571655, 0.35790178179740906, -0.5187660455703735, 0.5538208484649658, -0.12503017485141754, 0.7411271333694458, -0.6248347163200378, 0.2738054692745209, 0.09008656442165375, 0.33612683415412903, -0.3208266496658325, -0.5203555822372437, 0.20209665596485138, -0.1324785351753235, -0.3481699526309967, -0.8362900018692017, 0.8832802176475525, -0.4550691545009613, -0.6205722093582153, 0.506256103515625, 0.7638180255889893, 0.1765517294406891, -0.187138631939888, -0.6445356607437134, 0.09299647808074951, -0.156451016664505, -0.7033165097236633, 0.7264296412467957, 0.7295641303062439, 0.021451691165566444, 1.1709551811218262, 0.6812921166419983, 0.5181757807731628, -0.07387035340070724, 0.43691956996917725, 1.0719621181488037, -0.5446385145187378, -0.2341879904270172, -0.9808241128921509, 0.3139961063861847, -0.08315818756818771, -0.1464943289756775, 0.9211060404777527, 0.7097229361534119, 0.7447802424430847, 0.08722570538520813, 0.5445780158042908, 0.15639255940914154, 0.6851429343223572, -0.683232307434082, 0.7205383777618408, -0.8462000489234924, 0.7744793891906738, -0.215129554271698, -0.906343400478363, -0.322343647480011, 0.36469942331314087, -0.25041496753692627, 0.30804091691970825, 0.5309120416641235, 0.6922433972358704, 0.15587109327316284, -0.10347849130630493, 0.5651512145996094, 0.5876426100730896, 0.45675787329673767, 0.45907092094421387, 0.8590206503868103, -0.29767727851867676, 0.5172665119171143, -0.3056166470050812, 0.045509565621614456, 0.07456737756729126, -1.0032278299331665, -1.1900193691253662, -0.2253267616033554, -0.2543521225452423, 0.015333643183112144, -0.22553986310958862, 0.7962789535522461, 0.808185875415802, -0.6333870887756348, -0.3917665481567383, 0.10278435796499252, 0.15348459780216217, -0.3057243525981903, -0.20867569744586945, 0.12356322258710861, -0.29543039202690125, -0.735725462436676, 0.43527647852897644, 0.23916220664978027, -0.12519274652004242, -0.3003635108470917, 0.2931404411792755, -0.39457085728645325, -0.08468972891569138, 0.7631360292434692, 0.04956559091806412, -0.619570255279541, -0.26683804392814636, -0.22023969888687134, -0.21463416516780853, -0.1817343682050705, 0.761982262134552, -0.7859895825386047, -0.02093207836151123, 0.6954955458641052, 0.8568903803825378, 0.5607653260231018, 0.07084588706493378, 0.6386865377426147, -1.1559429168701172, 0.2331327348947525, 0.3632132112979889, 0.3146345019340515, 0.592787504196167, -0.3218829035758972, 0.44467976689338684, -0.06038704887032509, -0.5598829388618469, -1.2153643369674683, 0.030310779809951782, -1.0668927431106567, -0.5600581169128418, 1.0428704023361206, 0.19517675042152405, -0.34932830929756165, 0.1766582429409027, -0.13878817856311798, -0.025970568880438805, -0.15782403945922852, 0.5911704301834106, 0.8162271976470947, 0.0169608723372221, -0.6809130907058716, -0.7561051249504089, 0.4932601749897003, 0.7333377599716187, -0.7382691502571106, 0.46328189969062805, 0.44252604246139526, 0.2541738450527191, 0.19069436192512512, 0.2984893023967743, 0.052141886204481125, -0.40525877475738525, -0.32491302490234375, -0.12144053727388382, -0.2669755816459656, -0.437739759683609, -0.3621233403682709, 0.6354986429214478, 0.025024013593792915, 0.34114259481430054 ]
http://arxiv.org/abs/2402.11690v1
http://arxiv.org/pdf/2402.11690v1
Vision-Flan: Scaling Human-Labeled Tasks in Visual Instruction Tuning
2024-02-18T19:38:44
2024-02-18T19:38:44
Zhiyang Xu, Chao Feng, Rulin Shao, Trevor Ashby, Ying Shen, Di Jin, Yu Cheng, Qifan Wang, Lifu Huang
cs.CL
cs.CL, cs.CV
Despite vision-language models' (VLMs) remarkable capabilities as versatile visual assistants, two substantial challenges persist within the existing VLM frameworks: (1) lacking task diversity in pretraining and visual instruction tuning, and (2) annotation error and bias in GPT-4 synthesized instruction tuning data. Both challenges lead to issues such as poor generalizability, hallucination, and catastrophic forgetting. To address these challenges, we construct Vision-Flan, the most diverse publicly available visual instruction tuning dataset to date, comprising 187 diverse tasks and 1,664,261 instances sourced from academic datasets, and each task is accompanied by an expert-written instruction. In addition, we propose a two-stage instruction tuning framework, in which VLMs are firstly finetuned on Vision-Flan and further tuned on GPT-4 synthesized data. We find this two-stage tuning framework significantly outperforms the traditional single-stage visual instruction tuning framework and achieves the state-of-the-art performance across a wide range of multi-modal evaluation benchmarks. Finally, we conduct in-depth analyses to understand visual instruction tuning and our findings reveal that: (1) GPT-4 synthesized data does not substantially enhance VLMs' capabilities but rather modulates the model's responses to human-preferred formats; (2) A minimal quantity (e.g., 1,000) of GPT-4 synthesized data can effectively align VLM responses with human-preference; (3) Visual instruction tuning mainly helps large-language models (LLMs) to understand visual features.
[ -0.43324437737464905, -0.5338257551193237, 0.3366643786430359, 0.10746835917234421, -0.017769960686564445, -0.16702900826931, -0.3241472840309143, -0.4159712493419647, -0.19892732799053192, 0.5710000395774841, -0.5459775924682617, -0.35121244192123413, -0.5591318011283875, 0.07715464383363724, -0.23129743337631226, 0.9070399403572083, 0.003226066241040826, 0.07136073708534241, -0.09288007766008377, -0.13928918540477753, -0.5358076095581055, -0.21222808957099915, -0.512916624546051, 0.08309277147054672, 0.7864899635314941, 0.6398571133613586, 0.625837504863739, 0.9409542679786682, 0.756316602230072, 0.335390567779541, 0.25038087368011475, 0.3529570996761322, -0.5865239500999451, -0.2552124559879303, -0.08869333565235138, -0.5640634298324585, -0.8064550757408142, 0.025396406650543213, 0.5183518528938293, 0.5650566816329956, -0.007958595640957355, 0.41389378905296326, 0.10071487724781036, 0.9314855933189392, -0.691276490688324, 0.26603323221206665, -0.5831164717674255, -0.02050682157278061, -0.3200230002403259, -0.09429117292165756, -0.2552039325237274, -0.018698502331972122, 0.22094622254371643, -0.9717128276824951, 0.6392943263053894, 0.1642751842737198, 0.8798359036445618, 0.505315363407135, -0.3123652935028076, -0.032117120921611786, -0.6658613085746765, 0.755222499370575, -0.4712875783443451, 0.4007493853569031, 0.271871417760849, 0.49218398332595825, 0.23907192051410675, -0.6442393064498901, -0.35917747020721436, -0.017766423523426056, 0.14792408049106598, 0.09052526950836182, 0.22893831133842468, 0.4136824607849121, 0.40424638986587524, 0.40805676579475403, -0.6319336891174316, -0.023408448323607445, -0.5464593768119812, -0.2383326292037964, 0.5350539684295654, 0.19420379400253296, 0.2371968775987625, 0.23685705661773682, -0.4440375566482544, -0.3920289874076843, -0.3899497389793396, -0.05164821073412895, 0.18339301645755768, 0.31920740008354187, 0.08128666132688522, 0.5304184556007385, -0.26045575737953186, 1.1542603969573975, 0.012995711527764797, -0.14570319652557373, 0.19776098430156708, -0.47262564301490784, -0.4170391857624054, -0.24920639395713806, 0.4310899078845978, 0.6095213294029236, 0.5016308426856995, 0.12102284282445908, -0.4011036157608032, 0.1584223061800003, 0.5123626589775085, -0.6816704869270325, -0.47995370626449585, -0.2817038297653198, -0.20528298616409302, -0.1523294299840927, 0.23581139743328094, -0.9201204180717468, -0.4114327132701874, -0.7346089482307434, 0.7961580157279968, -0.10591991245746613, -0.1559719741344452, -0.03933184966444969, -0.008484811522066593, 0.187210351228714, 0.5710260272026062, -1.1933070421218872, 0.24026574194431305, 0.6507316827774048, 0.7506393194198608, -0.2726651132106781, -0.4485374987125397, -0.6154921054840088, -0.05262956768274307, -0.5445508360862732, 0.5701540112495422, -0.6433600783348083, -0.17396292090415955, -0.05477427318692207, 0.023857299238443375, -0.33663734793663025, -0.7078554630279541, 0.105829618871212, -0.12858504056930542, -0.0012939616572111845, -0.7909225821495056, -0.33779415488243103, -0.06948761641979218, 0.08823850005865097, -0.6497220396995544, 0.7836047410964966, 0.3333609104156494, -0.5104550719261169, 0.7460542321205139, -0.5923327803611755, -0.49931615591049194, -0.00315255019813776, -0.23571659624576569, -0.40539246797561646, 0.27772849798202515, 0.29705390334129333, 0.36096423864364624, -0.2932298183441162, -0.0891508236527443, -0.1283867359161377, -0.5548255443572998, -0.15749339759349823, -0.4154432415962219, 0.3038238286972046, 0.04419105127453804, -0.5933353304862976, 0.5664693117141724, -0.8424758315086365, -0.011113706044852734, -0.014788572676479816, -0.21292972564697266, -0.03491657227277756, -0.09932338446378708, -0.031052948907017708, 0.036154892295598984, 0.3046474754810333, -0.34605228900909424, 0.09679502993822098, -0.3079821765422821, 0.3728633224964142, 0.8132094144821167, -0.2007043957710266, 0.47577086091041565, -0.19529695808887482, 0.6097869873046875, 0.010681034065783024, 0.5167296528816223, -0.11776866018772125, -0.7071396112442017, -1.106229543685913, -0.1336224377155304, -0.13117581605911255, 0.6537455320358276, -0.7779296636581421, 0.0013101400109007955, -0.3121112287044525, -0.16884978115558624, -0.43546774983406067, 0.40892988443374634, 0.5546427965164185, 0.679145097732544, 0.5317551493644714, -0.18363617360591888, -0.1668955385684967, -0.93264240026474, -0.2940426766872406, 0.07163238525390625, -0.24777701497077942, 0.2104770988225937, 0.3486134111881256, 0.07461230456829071, 0.6258124113082886, -0.3595859110355377, -0.637275755405426, 0.03139050677418709, 0.19955089688301086, -0.24676471948623657, 0.26676470041275024, 0.4362449049949646, -0.9225208163261414, -0.46276307106018066, 0.2604840099811554, -0.5246415138244629, 0.07059744000434875, -0.16971130669116974, -0.17725317180156708, 0.21558541059494019, 0.22673477232456207, -0.08840574324131012, 0.5842598676681519, 0.3711961507797241, -0.3974888324737549, 0.3342795670032501, -0.4183289408683777, 0.3602716028690338, -0.63166344165802, -0.16882197558879852, 0.05314787104725838, -0.11442022770643234, -0.6557936072349548, 0.0032128491438925266, 0.2612820565700531, -0.11573122441768646, -0.23573455214500427, 0.3331420123577118, -0.4987466335296631, -0.1825983077287674, -0.25017574429512024, 0.026829490438103676, -0.06009070202708244, 0.6988317370414734, -0.03429079428315163, 0.8759785890579224, 0.5101278424263, -0.5281603932380676, 0.2878895401954651, 0.015284317545592785, -0.20188188552856445, 0.6961182355880737, -0.6102880239486694, 0.01725240796804428, 0.036410413682460785, -0.21671941876411438, -0.8291501998901367, -0.5429161190986633, 0.23613716661930084, 0.04121091961860657, 0.38579586148262024, -0.08113634586334229, -0.31470558047294617, -0.36718398332595825, -0.19562512636184692, 0.33366096019744873, 0.42131081223487854, -0.5540929436683655, 0.5975308418273926, 0.041898854076862335, 0.15094484388828278, -0.4576016962528229, -0.648298442363739, -0.016986241564154625, -0.14385652542114258, -0.6384662985801697, 0.2122165560722351, -0.14851447939872742, 0.019160471856594086, -0.2433074563741684, -0.4713464379310608, 0.01110280491411686, -0.11980600655078888, 0.2938455641269684, 0.2732142508029938, -0.39896923303604126, -0.11354530602693558, 0.005139319691807032, -0.023227756842970848, -0.14783594012260437, -0.5238014459609985, -0.08227906376123428, -0.40171927213668823, -0.42125755548477173, -0.3012672960758209, 0.07716456055641174, 0.608934760093689, -0.4385361075401306, 0.40405234694480896, 1.028510570526123, -0.20000740885734558, -0.18397203087806702, -0.41431617736816406, -0.17650824785232544, -0.4929385781288147, 0.48861798644065857, -0.28033652901649475, -0.8962343335151672, 0.13317325711250305, 0.0011267253430560231, 0.37414515018463135, 0.11270400136709213, 0.4217160940170288, -0.12831659615039825, 0.9872928261756897, 0.6579902172088623, 0.26112377643585205, 0.7584804892539978, -0.16152416169643402, 0.01007628533989191, -0.6365028023719788, -0.09083554148674011, -0.06354913115501404, -0.628803551197052, -0.4392227530479431, -0.652583122253418, 0.6254676580429077, -0.07755731046199799, -0.22480881214141846, 0.16918259859085083, -0.7356284856796265, 0.48230063915252686, 0.7194998264312744, 0.24909785389900208, -0.03883678838610649, 0.1948162466287613, 0.3295367360115051, -0.16100504994392395, -0.570066511631012, -0.2768387198448181, 1.1906527280807495, 0.05332339555025101, 0.6442723870277405, -0.016462011262774467, 0.47349217534065247, 0.1562449038028717, 0.1231880709528923, -0.43021777272224426, 0.561479389667511, -0.5128852128982544, -0.6802442669868469, -0.5604113936424255, -0.3731003701686859, -0.7044409513473511, 0.413885235786438, -0.16849137842655182, -0.7647889852523804, 0.17014586925506592, 0.7629944086074829, -0.21947841346263885, 0.1996675282716751, -1.035709261894226, 1.2513052225112915, -0.523642361164093, -0.6762921214103699, -0.13197657465934753, -0.8173718452453613, 0.39858299493789673, 0.0530908927321434, 0.16508068144321442, -0.11586938053369522, -0.15846410393714905, 0.5695555806159973, -0.47914037108421326, 0.9385948777198792, -0.3536210358142853, -0.20112186670303345, 0.14787329733371735, -0.15250402688980103, 0.2669026255607605, -0.0062934928573668, 0.3400561511516571, -0.08322975039482117, 0.06899012625217438, -0.6096872687339783, -0.826513946056366, 0.7042465806007385, -0.6914693117141724, -0.665321946144104, -0.1723598837852478, -0.4434034824371338, -0.364096999168396, 0.20711243152618408, 0.3407870829105377, 0.6845187544822693, 0.08124969899654388, 0.15991856157779694, 0.8275035619735718, -0.03671286627650261, 0.12559406459331512, 0.16827958822250366, -0.36562785506248474, -0.29791077971458435, 1.5566504001617432, 0.1549699455499649, 0.5496350526809692, 0.6360107064247131, 0.047866836190223694, 0.06276114284992218, -0.34248584508895874, -0.6984245181083679, -0.015572885982692242, -0.6538333296775818, 0.03861091285943985, -0.09430695325136185, 0.10648521780967712, -0.14450688660144806, -0.2819691598415375, -0.47534075379371643, -0.16586045920848846, -0.5430652499198914, 0.05148471146821976, 0.23981499671936035, 0.7929314374923706, 0.06741730123758316, 0.15843653678894043, -0.41794469952583313, 0.6842650771141052, 0.694501519203186, 0.5035625100135803, -0.22759634256362915, -0.44415009021759033, -0.2929080128669739, 0.15153002738952637, -0.022190852090716362, -0.6201625466346741, 0.014162946492433548, 0.5131349563598633, 0.2585894763469696, 0.42499879002571106, -0.2045823037624359, 0.8861031532287598, -0.45265302062034607, 0.8459606170654297, 0.12292223423719406, -0.6575354933738708, 0.6596169471740723, -0.34708261489868164, 0.5168187022209167, 0.5190470814704895, -0.10939465463161469, -0.004296413157135248, -0.09490733593702316, -0.12902937829494476, -0.806373119354248, 0.7803748250007629, 0.16475196182727814, -0.08371337503194809, 0.26432958245277405, 0.21924813091754913, 0.1965811550617218, 0.19336670637130737, -0.3195057809352875, -0.16063398122787476, -0.6463214159011841, -0.2854623794555664, -0.20548653602600098, -0.14854176342487335, -0.23397770524024963, -0.498052179813385, 0.3305237293243408, -0.36533108353614807, 0.02677522413432598, 0.07036849856376648, -0.2481948882341385, -0.12533287703990936, 0.0750310942530632, 1.0239816904067993, 0.8360380530357361, -0.09467002004384995, 0.007881187833845615, 0.07878357917070389, -0.6594339609146118, -0.005533118732273579, -0.04889484867453575, -0.1987449824810028, -0.38848406076431274, 0.47571441531181335, 1.4176429510116577, 0.5372518301010132, -0.6042339205741882, 0.47998613119125366, -0.17159228026866913, -0.4706753194332123, -0.06140413507819176, 0.6337302327156067, -0.12129773944616318, 0.1708296686410904, 0.3206053674221039, 0.4681413471698761, 0.017175903543829918, -0.16497458517551422, 0.10502280294895172, 0.16294826567173004, -0.39871177077293396, -0.42981618642807007, 1.033951759338379, 0.30775630474090576, -0.3408527374267578, 0.48491770029067993, -0.04354913532733917, -0.13015519082546234, 0.5407155752182007, 0.22150090336799622, 0.700584352016449, -0.0439775250852108, 0.35763147473335266, 0.3767527639865875, 0.545602023601532, -0.13325494527816772, 0.40785229206085205, -0.2713764011859894, -0.4299675524234772, -0.1314925253391266, -0.7405184507369995, -0.08600583672523499, -0.02653263881802559, -0.9023882150650024, 0.058868251740932465, -0.5682987570762634, -0.18993094563484192, -0.10295809805393219, -0.16007038950920105, -0.9892647862434387, 0.3167196214199066, 0.18484222888946533, 0.6070197820663452, -0.7402476072311401, 0.7294994592666626, 0.8743408918380737, -0.4402494728565216, -0.7418103218078613, 0.021980367600917816, 0.3093145191669464, -0.5769598484039307, 0.3658505380153656, 0.1587614119052887, -0.2336616963148117, 0.20727548003196716, -0.2937951385974884, -0.6825971603393555, 1.2437965869903564, 0.5082080364227295, -0.910509467124939, -0.20520013570785522, 0.1886756420135498, 0.5868852734565735, -0.22945787012577057, -0.10334071516990662, 0.6986389756202698, 0.6837098002433777, 0.06135309115052223, -0.9929928183555603, -0.21627606451511383, -0.19331669807434082, 0.3020073473453522, 0.05336528271436691, -0.745911180973053, 0.7898088693618774, -0.2820269763469696, -0.03647663816809654, 0.0296615157276392, 0.7298256754875183, -0.08210061490535736, 0.2494271844625473, 0.6611022353172302, 0.253357857465744, 0.6581329107284546, -0.21637354791164398, 0.8926860094070435, -0.11090541630983353, -0.07261768728494644, 0.9812009930610657, -0.023803161457180977, 0.5928990244865417, 0.3961855173110962, -0.20551399886608124, 0.11019350588321686, 0.5314591526985168, -0.005981592461466789, 0.25167766213417053, -0.037234120070934296, -0.08427991718053818, -0.4720441401004791, 0.20793014764785767, -0.21864178776741028, 0.48777177929878235, 0.4489800035953522, -0.24568812549114227, 0.08800141513347626, 0.26944613456726074, -0.42991411685943604, 0.12013913691043854, -0.4252665638923645, 0.700511634349823, -0.1287916600704193, -0.6431795358657837, 0.7281640768051147, -0.42768117785453796, 0.5313816070556641, -0.5546837449073792, -0.13106463849544525, -0.28121820092201233, 0.2504362165927887, -0.093658447265625, -0.4915757477283478, -0.21301445364952087, -0.012214475311338902, -0.26104065775871277, -0.24998317658901215, 0.4219280183315277, -0.5618692636489868, -0.6688273549079895, -0.006289506796747446, 0.12810729444026947, -0.07665849477052689, -0.05229976028203964, -0.5863968133926392, 0.3250638544559479, 0.2363729029893875, -0.33835265040397644, 0.5720831155776978, 0.36511853337287903, -0.2491133064031601, 0.628435492515564, 0.191947802901268, 0.015419951640069485, 0.4715651273727417, 0.3192283809185028, 0.5541991591453552, -0.4353775978088379, -0.21223191916942596, -0.42212921380996704, 0.5578917860984802, -0.10842158645391464, -0.6134555339813232, 0.5522303581237793, 0.3783794641494751, 0.9502406716346741, -0.34944257140159607, 0.634446382522583, 0.054650258272886276, 0.13669469952583313, -0.617780327796936, 0.4695599377155304, -0.8823518753051758, 0.10769014805555344, -0.2685996890068054, -0.9060113430023193, -0.3196678161621094, 0.5297276377677917, -0.18200670182704926, 0.3266000747680664, 0.4695102274417877, 0.888899564743042, -0.27890872955322266, -0.04287373647093773, 0.566721498966217, -0.11657418310642242, 0.20171506702899933, 0.521838903427124, 0.30598101019859314, -0.21807745099067688, 0.6938241124153137, -0.3239096999168396, -0.40823817253112793, -0.4472934305667877, -0.4429892301559448, -1.0178282260894775, -0.8585611581802368, -0.31089624762535095, 0.31752002239227295, 0.1714332103729248, 0.4579314887523651, 0.9665680527687073, -0.8312505483627319, -0.11119388043880463, -0.24391549825668335, -0.12406088411808014, -0.6242440342903137, -0.17368312180042267, 0.18164454400539398, -0.49605146050453186, -0.7637660503387451, 0.49866560101509094, 0.5066196918487549, -0.06353604793548584, -0.3550008237361908, -0.12160234898328781, 0.13551212847232819, -0.17843185365200043, 0.6315037608146667, 0.35643723607063293, -1.0558658838272095, -0.5032785534858704, 0.07320034503936768, -0.05130117014050484, -0.006113485433161259, 0.8097547888755798, -0.46803396940231323, 1.0137324333190918, 0.3498055040836334, 0.49635058641433716, 0.48524755239486694, 0.17018015682697296, 0.6661551594734192, -0.8381682634353638, 0.14882837235927582, -0.11034402996301651, 0.11082654446363449, 0.35843247175216675, -0.24748466908931732, 0.4643704295158386, 0.23216982185840607, -0.55083167552948, -0.611441969871521, 0.26139530539512634, -0.9344301223754883, -0.11582094430923462, 0.8992159366607666, -0.006740782409906387, -0.2481907457113266, 0.2239697277545929, -0.3906721770763397, 0.1780044585466385, -0.09004904329776764, 0.6116041541099548, 0.4932610094547272, -0.2814341187477112, -0.23763078451156616, -0.8007936477661133, 0.7025715708732605, 0.4631943702697754, -0.6297452449798584, 0.21923457086086273, 0.6620357632637024, 0.24703015387058258, -0.07383506745100021, 0.3327203392982483, 0.22483450174331665, 0.533980667591095, 0.20677147805690765, -0.1608062982559204, -0.428432434797287, -0.7716062664985657, -0.044352106750011444, 0.09396103024482727, 0.11471710354089737, -0.4015708267688751 ]
http://arxiv.org/abs/2402.11684v2
http://arxiv.org/pdf/2402.11684v2
ALLaVA: Harnessing GPT4V-Synthesized Data for Lite Vision-Language Models
2024-02-18T19:26:49
2024-06-17T07:55:59
Guiming Hardy Chen, Shunian Chen, Ruifei Zhang, Junying Chen, Xiangbo Wu, Zhiyi Zhang, Zhihong Chen, Jianquan Li, Xiang Wan, Benyou Wang
cs.CL
cs.CL, cs.AI
Large vision-language models (LVLMs) have shown premise in a broad range of vision-language tasks with their strong reasoning and generalization capabilities. However, they require considerable computational resources for training and deployment. This study aims to bridge the performance gap between traditional-scale LVLMs and resource-friendly lite versions by adopting high-quality training data. To this end, we propose a comprehensive pipeline for generating a synthetic dataset. The key idea is to leverage strong proprietary models to generate (i) fine-grained image annotations for vision-language alignment and (ii) complex reasoning visual question-answering pairs for visual instruction fine-tuning, yielding 1.3M samples in total. We train a series of lite VLMs on the synthetic dataset and experimental results demonstrate the effectiveness of the proposed scheme, where they achieve competitive performance on 17 benchmarks among 4B LVLMs, and even perform on par with 7B/13B-scale models on various benchmarks. This work highlights the feasibility of adopting high-quality data in crafting more efficient LVLMs. We name our dataset \textit{ALLaVA}, and open-source it to research community for developing better resource-efficient LVLMs for wider usage.
[ -0.3909282982349396, -0.6059648394584656, 0.49410486221313477, -0.23796427249908447, -0.12376829236745834, -0.013308839872479439, -0.0672125443816185, -0.45429179072380066, -0.053713783621788025, 0.7552766799926758, -0.3857209384441376, -0.369202196598053, -0.015008972957730293, -0.05034363269805908, -0.463038831949234, 0.572390615940094, -0.10963578522205353, 0.12821230292320251, 0.14319925010204315, -0.3703242838382721, -0.37434616684913635, -0.22203010320663452, -0.21361705660820007, 0.025673450902104378, 0.6750820875167847, 0.19012391567230225, 0.6066482067108154, 0.7712699770927429, 0.39505481719970703, 0.2943708598613739, 0.34717440605163574, 0.6310873627662659, -0.4485272467136383, -0.09342213720083237, -0.2283041924238205, -0.1881498396396637, -0.5448652505874634, 0.025034189224243164, 0.8224338293075562, 0.3832564651966095, -0.1680988222360611, 0.39229345321655273, -0.0245046503841877, 0.6542141437530518, -0.7608479261398315, 0.19737853109836578, -0.9504124522209167, -0.0381912924349308, -0.22612227499485016, 0.02104964666068554, -0.3617396056652069, -0.33399075269699097, 0.03754662722349167, -0.8457576036453247, 0.3858264684677124, 0.268809050321579, 0.818423330783844, 0.27398887276649475, -0.03760456666350365, 0.1722387820482254, -0.6316563487052917, 0.7343860268592834, -0.6498606204986572, 0.42113059759140015, -0.0012575099244713783, 0.6606375575065613, 0.08311369270086288, -0.9786703586578369, -0.743409276008606, 0.0589231476187706, 0.17642302811145782, 0.09007731825113297, 0.26998552680015564, 0.14346377551555634, 0.21440985798835754, 0.45031610131263733, -0.6186577081680298, -0.16068728268146515, -0.7182030081748962, -0.14396241307258606, 0.6746112108230591, 0.2983505129814148, 0.1368640512228012, 0.008823394775390625, -0.29824474453926086, -0.18053871393203735, -0.9059717059135437, -0.016292963176965714, 0.1995822936296463, 0.31663480401039124, 0.1775204986333847, 0.9686923623085022, -0.2604134976863861, 1.0659382343292236, -0.29162779450416565, -0.16510429978370667, 0.36064204573631287, -0.730344831943512, -0.4961496591567993, -0.17661969363689423, 0.5936338305473328, 0.5448577404022217, 0.472513884305954, -0.05054633319377899, -0.5033528804779053, 0.25277581810951233, 0.3940944969654083, -0.7885522842407227, -0.310404509305954, -0.08128853887319565, -0.1791970282793045, -0.30800750851631165, -0.23386524617671967, -0.8092572093009949, -0.28610923886299133, -0.7337074279785156, 0.6933056116104126, -0.3972994387149811, -0.0073417662642896175, 0.13531818985939026, 0.07446464896202087, 0.46217218041419983, 0.4687877893447876, -0.7569106817245483, 0.07175643742084503, 0.3231613039970398, 0.788520872592926, -0.21735534071922302, -0.2946467697620392, -0.8675298690795898, 0.09105461835861206, -0.5933957695960999, 0.38899481296539307, -0.46010613441467285, -0.11015595495700836, 0.13671299815177917, -0.007735797669738531, -0.03337445855140686, -0.5086298584938049, 0.39824676513671875, -0.3250206410884857, 0.07350974529981613, -0.14001744985580444, -0.5363898873329163, 0.11290382593870163, 0.1539696604013443, -0.6246473789215088, 0.9580521583557129, 0.3047106862068176, -0.6997055411338806, 0.40650105476379395, -0.36924251914024353, 0.014529211446642876, 0.5005558729171753, -0.5693865418434143, -0.38107237219810486, 0.06509659439325333, 0.4326329827308655, 0.4304473400115967, -0.3632300794124603, 0.20151029527187347, -0.033516775816679, -0.6134534478187561, 0.003009398700669408, -0.422411173582077, 0.45345619320869446, 0.3720813989639282, -0.20729446411132812, 0.1151149794459343, -0.96683669090271, 0.279348224401474, 0.04932253807783127, -0.12427302449941635, -0.21281974017620087, -0.15081271529197693, 0.18685245513916016, 0.028316203504800797, 0.21392326056957245, -0.5276026129722595, 0.36135268211364746, -0.506918728351593, 0.22062134742736816, 0.8081883788108826, -0.23231008648872375, 0.42651641368865967, -0.03764282912015915, 0.5188966989517212, -0.27438053488731384, 0.5665093660354614, -0.22402545809745789, -0.4226885139942169, -0.9284284710884094, -0.4430922269821167, 0.08332604914903641, 0.442697137594223, -1.3577908277511597, 0.13552793860435486, -0.2410593181848526, -0.37313953042030334, -0.8116978406906128, 0.11026030033826828, 0.40016913414001465, 0.5808941721916199, 0.49673447012901306, -0.07022720575332642, -0.46839386224746704, -1.083126425743103, -0.0680660530924797, 0.13852165639400482, -0.056409649550914764, 0.2720937430858612, 0.3590776324272156, -0.1433175504207611, 1.0831602811813354, -0.4932563006877899, -0.1941274255514145, -0.11890757828950882, -0.15724338591098785, 0.053702469915151596, 0.3213454782962799, 0.6753822565078735, -0.8524659276008606, -0.37104251980781555, 0.14575229585170746, -0.7188839316368103, -0.17846724390983582, 0.2007431834936142, -0.09045866876840591, 0.22658400237560272, 0.4584570527076721, -0.33518368005752563, 0.4616297781467438, 0.7200901508331299, -0.30627694725990295, 0.7678989768028259, -0.2865515351295471, 0.18523497879505157, -1.069306492805481, 0.053632985800504684, 0.0801042914390564, -0.25696346163749695, -0.5763567686080933, 0.07967843115329742, 0.03015795908868313, -0.09917129576206207, -0.7760319709777832, 0.7228775024414062, -0.4068371057510376, -0.18700972199440002, -0.07880812883377075, -0.22431489825248718, 0.08855216950178146, 0.31636855006217957, 0.0583735890686512, 1.1437844038009644, 0.7282285690307617, -0.3218589723110199, 0.6362205147743225, 0.0387151874601841, -0.7179896235466003, 0.33599358797073364, -0.7569220066070557, -0.08419027179479599, 0.01711675152182579, -0.13748838007450104, -0.4989702105522156, -0.4864378273487091, 0.16059263050556183, -0.04913632571697235, 0.013902298174798489, -0.34068968892097473, -0.6022072434425354, -0.0810895785689354, -0.1951904594898224, 0.48437434434890747, 0.9082200527191162, -0.6977609992027283, 0.6819274425506592, 0.29520827531814575, -0.041613418608903885, -0.50408935546875, -0.607408881187439, 0.049100205302238464, -0.16997750103473663, -0.6526882648468018, 0.2643190622329712, 0.016355229541659355, -0.1581050455570221, -0.1073276475071907, 0.17981375753879547, 0.046424511820077896, -0.47835853695869446, 0.10727928578853607, 0.5051437020301819, -0.28908777236938477, 0.053039636462926865, -0.4975643754005432, 0.11660090833902359, -0.240422323346138, -0.362018883228302, 0.29545632004737854, -0.43731749057769775, -0.38274431228637695, -0.08729971945285797, 0.006482437252998352, 0.7134727239608765, -0.48810136318206787, 0.7147550582885742, 0.7070136070251465, -0.21809089183807373, -0.5026926398277283, -0.6998292207717896, -0.0628398060798645, -0.5287428498268127, 0.23078253865242004, -0.38865116238594055, -0.7676820158958435, 0.11368942260742188, -0.01536994706839323, 0.13779999315738678, 0.19833390414714813, 0.4685748815536499, -0.0962541326880455, 0.9292182922363281, 0.35135623812675476, 0.31833121180534363, 0.5202614068984985, -0.4013150930404663, 0.18747666478157043, -0.7710139155387878, -0.23068761825561523, 0.0030690578278154135, -0.05745040997862816, -0.6293013095855713, -0.9187421798706055, 0.5937337279319763, -0.23833149671554565, -0.20452958345413208, 0.07802655547857285, -0.5916988253593445, 0.6440237760543823, 0.3929782509803772, -0.11020585894584656, 0.21517914533615112, 0.3746504783630371, -0.09058614075183868, -0.08782847970724106, -0.7065516114234924, -0.4217330813407898, 1.097777247428894, 0.09404274821281433, 0.8794636130332947, -0.25703197717666626, 0.3539089858531952, 0.09084975719451904, -0.12368940562009811, -0.33261778950691223, 0.739621102809906, -0.27850982546806335, -0.3578893542289734, -0.24084429442882538, -0.5159823894500732, -0.7069467306137085, 0.4199107885360718, -0.3367379307746887, -0.49755558371543884, 0.07423029094934464, 0.3239368498325348, 0.00969047099351883, 0.36956021189689636, -0.8736299872398376, 0.9376731514930725, -0.25054875016212463, -0.7272717356681824, -0.03191953897476196, -0.5223775506019592, 0.4980853199958801, -0.21603365242481232, 0.21446995437145233, -0.09943077713251114, 0.1643923968076706, 0.30381685495376587, -0.5388602018356323, 0.6507166028022766, -0.2596249282360077, -0.10875339061021805, 0.4604056775569916, -0.15064507722854614, 0.566336452960968, 0.024216560646891594, 0.10825742781162262, 0.02361563965678215, -0.1923026144504547, -0.5111657381057739, -0.47715577483177185, 0.7520249485969543, -0.5644019246101379, -0.24529333412647247, -0.4180963337421417, -0.5057250261306763, -0.31909823417663574, 0.06016536429524422, 0.350777268409729, 0.6745430827140808, -0.013345623388886452, 0.2916337251663208, 0.6076449155807495, -0.2150893360376358, 0.1856691986322403, 0.266786128282547, -0.5356825590133667, -0.3829248249530792, 1.1825356483459473, 0.24072517454624176, 0.4310344159603119, -0.0612456388771534, -0.08534454554319382, -0.1523151397705078, -0.749890148639679, -0.6560093760490417, 0.10476984083652496, -0.6127201318740845, -0.09727557748556137, -0.1312507688999176, -0.45711636543273926, 0.0015893090749159455, -0.28759336471557617, -0.7946869134902954, -0.255264014005661, 0.07433632761240005, 0.15043172240257263, 0.473405122756958, 0.6486524343490601, 0.2406139224767685, -0.01829461194574833, -0.5914499163627625, 0.6070252656936646, 0.48409825563430786, 0.4911978840827942, -0.26495006680488586, -0.3310083746910095, -0.3740141689777374, 0.19139425456523895, 0.1498998999595642, -0.31940123438835144, 0.4789881706237793, 0.25222188234329224, 0.3941270709037781, -0.1760401427745819, -0.21273283660411835, 0.6464684009552002, -0.7407760620117188, 0.9312551617622375, 0.2662450969219208, -0.5652234554290771, 0.6624215841293335, -0.3609585165977478, 0.2613178789615631, 0.45401278138160706, -0.14876730740070343, 0.023193027824163437, -0.2929410934448242, -0.4476374089717865, -0.9479967355728149, 0.493180513381958, 0.6209782361984253, -0.1575576364994049, 0.3337250053882599, 0.5901721715927124, 0.16825222969055176, 0.2540270984172821, -0.5706854462623596, -0.06266912817955017, -0.4179476499557495, -0.4328782856464386, -0.04875412583351135, 0.11985714733600616, 0.0004003708891104907, -0.45810413360595703, 0.6353124380111694, -0.39819955825805664, -0.2139914184808731, 0.08413764089345932, -0.051539454609155655, 0.22935466468334198, 0.04601091518998146, 0.16774091124534607, 0.7846764326095581, -0.17417918145656586, 0.12319879233837128, 0.09477875381708145, -0.5993169546127319, 0.13235419988632202, 0.00038785242941230536, -0.42725253105163574, -0.08303334563970566, 0.21861237287521362, 0.9633635878562927, -0.30109506845474243, -0.947329580783844, 0.4993482232093811, -0.16001878678798676, -0.18415741622447968, -0.3607143759727478, 0.45763978362083435, -0.15235325694084167, 0.3248756229877472, 0.16937480866909027, 0.05773862823843956, 0.05322881415486336, -0.4848968982696533, 0.06474685668945312, 0.41157519817352295, 0.07396194338798523, -0.29635751247406006, 0.6094125509262085, 0.28557825088500977, 0.172851100564003, 0.5833197832107544, -0.11828584969043732, -0.1728557050228119, 0.33455026149749756, 0.06709878146648407, 0.48086783289909363, -0.09130682051181793, 0.15991473197937012, 0.4528258144855499, 0.19883288443088531, -0.15749678015708923, 0.3678225576877594, 0.16058671474456787, -0.6315106749534607, -0.7932571172714233, -0.9743913412094116, -0.26163342595100403, 0.31818675994873047, -0.3381956219673157, 0.3963191509246826, -0.30985578894615173, 0.07423911243677139, -0.18920810520648956, -0.2557799518108368, -0.9549389481544495, 0.4621905982494354, 0.354936420917511, 0.6390865445137024, -0.810066819190979, 1.1376030445098877, 0.5428324937820435, -0.5554383993148804, -0.7858400344848633, -0.26171794533729553, -0.2471752166748047, -0.9300592541694641, 0.5364248156547546, 0.05419067293405533, -0.3682546615600586, 0.016186028718948364, -0.6186185479164124, -0.689393162727356, 1.1212756633758545, 0.6187909841537476, -0.8102751970291138, -0.17889609932899475, 0.2964841425418854, 0.5420328974723816, -0.5225953459739685, -0.19540750980377197, 0.5864608883857727, 0.372661828994751, 0.2861194908618927, -0.9008115530014038, -0.2506157457828522, -0.3499901592731476, 0.27218639850616455, 0.0885489210486412, -0.5342878699302673, 0.7471390962600708, -0.02982216142117977, 0.036894265562295914, 0.008099044673144817, 0.389024019241333, 0.37882623076438904, 0.14204780757427216, 0.3292931020259857, 0.47153085470199585, 0.4767243564128876, -0.15255677700042725, 1.0571908950805664, -0.08853764832019806, 0.12842513620853424, 0.9894366264343262, -0.41012391448020935, 0.7675008177757263, 0.5953254699707031, -0.011327266693115234, 0.12018207460641861, 0.2037537395954132, -0.2846306264400482, 0.6640885472297668, 0.0931520089507103, -0.3327288329601288, -0.21440747380256653, -0.1353304088115692, -0.28954628109931946, 0.5107595920562744, 0.44145384430885315, -0.33748263120651245, 0.07219845056533813, 0.15530924499034882, -0.5951019525527954, -0.07802005857229233, -0.4236636757850647, 0.5774106979370117, -0.005870009306818247, -0.6297810673713684, 0.8994502425193787, -0.3249591886997223, 0.5136817097663879, -0.6222689151763916, -0.23373927175998688, -0.09707066416740417, 0.32467126846313477, -0.1221834123134613, -0.9675577878952026, 0.11968960613012314, 0.2512482702732086, 0.08614160865545273, -0.20330722630023956, 0.6334600448608398, -0.6243900656700134, -0.6713568568229675, -0.010432335548102856, 0.44965770840644836, 0.04017123952507973, 0.041879888623952866, -0.39027366042137146, 0.28841832280158997, 0.06792143732309341, -0.2732103168964386, 0.3805501163005829, 0.33890196681022644, 0.05659403279423714, 0.5789309740066528, 0.592043936252594, 0.4545089602470398, 0.3878588378429413, 0.225982666015625, 0.8628113865852356, -0.5101078748703003, -0.169358029961586, -0.6041587591171265, 0.7476112842559814, -0.2348693609237671, -0.17159496247768402, 0.5270801782608032, 0.6375893950462341, 0.760979175567627, -0.18954496085643768, 0.968647837638855, 0.129210963845253, 0.3055712580680847, -1.0138498544692993, 0.46056807041168213, -0.740164577960968, 0.2110983431339264, 0.09312451630830765, -1.2192472219467163, -0.09657077491283417, 0.6283089518547058, 0.0979221984744072, -0.06588423997163773, 0.4058273732662201, 0.8621758222579956, -0.36469122767448425, -0.22857555747032166, 0.3937661051750183, 0.21764735877513885, 0.47977039217948914, 0.5233728885650635, 0.644200325012207, -0.4179869592189789, 0.548574686050415, -0.08537458628416061, -0.01522576529532671, -0.2708355784416199, -0.8570064902305603, -0.7558926343917847, -0.7180771231651306, -0.2850329875946045, -0.054287150502204895, 0.229608416557312, 0.629382312297821, 0.6724039912223816, -0.48424896597862244, 0.0916416347026825, -0.44832122325897217, -0.5326953530311584, 0.21212328970432281, -0.1476619988679886, 0.41915011405944824, -0.2850486934185028, -0.7240573763847351, 0.5605785250663757, 0.2923782169818878, 0.2942246198654175, -0.47361794114112854, -0.2553986608982086, 0.14103567600250244, 0.06389803439378738, 0.7059552669525146, 0.20530997216701508, -0.967245876789093, -0.33924588561058044, -0.0279206745326519, -0.05436226353049278, 0.019674507901072502, 0.4796249270439148, -0.9799131155014038, 0.8762093782424927, 0.3979930281639099, 0.6270344853401184, 0.7327775955200195, -0.006674203090369701, 0.6738756895065308, -0.9696614742279053, 0.3166549503803253, 0.25843238830566406, 0.5603190660476685, 0.6201801300048828, 0.16210760176181793, 0.6981129050254822, 0.13041076064109802, -0.5098951458930969, -0.8369269371032715, 0.2359233945608139, -0.9172669649124146, -0.149250328540802, 1.2338749170303345, 0.07557028532028198, -0.28504258394241333, 0.17293545603752136, -0.5109712481498718, 0.1112854927778244, -0.11173542588949203, 0.44306695461273193, 0.490656316280365, -0.05517139658331871, -0.2428692728281021, -0.8715707063674927, 0.6581367254257202, 0.0899864062666893, -0.7997427582740784, 0.1497003138065338, 0.8329384922981262, 0.19779318571090698, -0.024688251316547394, 0.34742647409439087, -0.1287793070077896, 0.3877931535243988, 0.12194608896970749, 0.16492703557014465, -0.29593193531036377, -0.45540568232536316, -0.011591819114983082, 0.11849921941757202, 0.08012452721595764, -0.1757987141609192 ]
http://arxiv.org/abs/2402.11683v2
http://arxiv.org/pdf/2402.11683v2
One Prompt To Rule Them All: LLMs for Opinion Summary Evaluation
2024-02-18T19:13:52
2024-06-09T06:10:22
Tejpalsingh Siledar, Swaroop Nath, Sankara Sri Raghava Ravindra Muddu, Rupasai Rangaraju, Swaprava Nath, Pushpak Bhattacharyya, Suman Banerjee, Amey Patil, Sudhanshu Shekhar Singh, Muthusamy Chelliah, Nikesh Garera
cs.CL
cs.CL
Evaluation of opinion summaries using conventional reference-based metrics rarely provides a holistic evaluation and has been shown to have a relatively low correlation with human judgments. Recent studies suggest using Large Language Models (LLMs) as reference-free metrics for NLG evaluation, however, they remain unexplored for opinion summary evaluation. Moreover, limited opinion summary evaluation datasets inhibit progress. To address this, we release the SUMMEVAL-OP dataset covering 7 dimensions related to the evaluation of opinion summaries: fluency, coherence, relevance, faithfulness, aspect coverage, sentiment consistency, and specificity. We investigate Op-I-Prompt a dimension-independent prompt, and Op-Prompts, a dimension-dependent set of prompts for opinion summary evaluation. Experiments indicate that Op-I-Prompt emerges as a good alternative for evaluating opinion summaries achieving an average Spearman correlation of 0.70 with humans, outperforming all previous approaches. To the best of our knowledge, we are the first to investigate LLMs as evaluators on both closed-source and open-source models in the opinion summarization domain.
[ -0.671128511428833, -0.5222601294517517, 0.8437607884407043, 0.22820445895195007, -0.46259620785713196, -0.23896129429340363, -0.054578326642513275, -0.04570280760526657, 0.47247156500816345, 0.628934919834137, -0.5646328926086426, -0.6348110437393188, -0.42348548769950867, 0.468487948179245, -0.09762280434370041, 1.3146692514419556, 0.20185784995555878, 0.11182627081871033, -0.6264287233352661, -0.28395044803619385, -0.37855294346809387, -0.5573915243148804, -0.2641834020614624, -0.356597363948822, 0.809853732585907, 0.5234518051147461, 0.6846063733100891, 0.4577694237232208, 0.5528666973114014, 0.1575746387243271, -0.22409985959529877, 0.36963093280792236, -0.3324306905269623, 0.06016470119357109, -0.27128276228904724, -0.2599014341831207, -0.8763718605041504, 0.25658220052719116, 0.46734538674354553, 0.8598232269287109, -0.09477334469556808, 0.29831910133361816, 0.0947747677564621, 0.8973902463912964, -0.494957834482193, 0.1395321637392044, -0.3932030200958252, -0.08962295204401016, 0.270292192697525, -0.2370007485151291, -0.3194643259048462, -0.7557570934295654, 0.4778347909450531, -0.5543048977851868, 0.10014482587575912, 0.25103530287742615, 0.4478725492954254, 0.16823457181453705, -0.37960517406463623, -0.42848485708236694, -0.384286105632782, 0.8120039105415344, -0.8995986580848694, 0.011608337983489037, 0.24627575278282166, 0.02571854554116726, 0.02611038275063038, -0.3381003737449646, -0.44352373480796814, -0.21862271428108215, -0.18193916976451874, 0.46875810623168945, -0.45021262764930725, 0.05064535513520241, 0.094893679022789, 0.495820015668869, -0.4378429353237152, 0.19496232271194458, -0.3647029995918274, 0.10108785331249237, 0.6508191823959351, 0.5721035003662109, -0.08926626294851303, -0.48584410548210144, -0.35923629999160767, 0.11432429403066635, -0.7782041430473328, 0.0329442024230957, 0.40875953435897827, 0.360453724861145, -0.20572271943092346, 0.5318792462348938, -0.18937095999717712, 0.6362293362617493, 0.0710577741265297, -0.29038187861442566, 0.19376131892204285, -0.3703826665878296, -0.30917465686798096, -0.08827877789735794, 1.237654685974121, 0.9669133424758911, 0.26921406388282776, 0.06148324906826019, -0.013674666173756123, -0.20168374478816986, 0.1720021814107895, -0.7574942708015442, 0.07488633692264557, 0.21886970102787018, -0.751704752445221, -0.37994635105133057, 0.3148176372051239, -0.8596052527427673, -0.8283948302268982, -0.44233548641204834, 0.3455859422683716, -0.23141755163669586, -0.19108332693576813, 0.1941021978855133, -0.19353529810905457, 0.1746608316898346, 0.6302139759063721, -0.5543314218521118, 0.11193536967039108, 0.7695097923278809, 0.9149831533432007, -0.3920328915119171, -0.24789562821388245, -0.21811439096927643, -0.5074829459190369, -0.5848235487937927, 0.9561885595321655, -0.5145794749259949, -0.6090799570083618, 0.03926488384604454, -0.09380213916301727, 0.05321546643972397, -0.49784550070762634, 0.7637226581573486, -0.2276419997215271, 0.6504366397857666, -0.6848329305648804, -0.629533052444458, -0.4718259274959564, 0.17912644147872925, -0.5480741262435913, 0.5913918018341064, -0.07539649307727814, -0.6189103126525879, 0.4049959182739258, -0.5662708282470703, -0.3159608840942383, -0.1129969134926796, -0.09023258090019226, -0.3181479573249817, 0.3375053107738495, 0.3844013512134552, 0.613845705986023, -0.6865374445915222, 0.043399978429079056, -0.3968510627746582, -0.23733776807785034, 0.18388469517230988, -0.2858453392982483, 0.5830075144767761, 0.1716115027666092, 0.2761572599411011, 0.3767666816711426, -0.7830629944801331, -0.25114673376083374, -0.10357493162155151, -0.1305917650461197, -0.5216323733329773, -0.11913497745990753, -0.5167574882507324, 0.08923857659101486, 0.23288632929325104, -0.3413710594177246, 0.309160977602005, -0.2582683861255646, 0.2476269155740738, 0.7632359266281128, 0.44598573446273804, 0.4655596911907196, -0.5588377714157104, 0.7626737952232361, 0.04746048152446747, 0.12385723739862442, -0.7263988256454468, -0.47408372163772583, -0.5768316388130188, -0.2226763367652893, 0.19269037246704102, 0.5095599889755249, -0.45981648564338684, 0.76268070936203, -0.29369106888771057, -0.6054506301879883, -0.6011591553688049, 0.16220957040786743, 0.240889772772789, 0.5879903435707092, 0.23990942537784576, -0.14248105883598328, -0.31448227167129517, -1.0505682229995728, -0.2610988914966583, -0.40624648332595825, -0.16755078732967377, 0.19244186580181122, 0.41487640142440796, 0.27744925022125244, 1.0819439888000488, -0.38900041580200195, -0.27677425742149353, -0.43717554211616516, 0.20628821849822998, 0.6706289052963257, -0.09559077024459839, 0.6104012131690979, -0.20416758954524994, -0.1930810511112213, -0.29237890243530273, -0.9868788719177246, -0.4474802017211914, -0.11633914709091187, 0.14911504089832306, 0.01710347831249237, 0.5413694977760315, -0.3704526722431183, -0.059894900768995285, 0.34496980905532837, -0.4105970859527588, 0.614262580871582, -0.14743416011333466, 0.3633679747581482, -1.0522217750549316, -0.11895699799060822, 0.10076552629470825, -0.1354282796382904, -0.3820050060749054, -0.19136802852153778, -0.11138012260198593, 0.2410484403371811, -0.23204633593559265, 0.5857875943183899, -0.20560817420482635, -0.07713240385055542, -0.26972681283950806, 0.5431742072105408, 0.21976181864738464, 0.412366658449173, -0.2397083342075348, 0.7115309834480286, 0.4335801601409912, -0.6837210655212402, 0.3410307765007019, 0.30801787972450256, -0.604317843914032, 0.8294598460197449, -0.9930389523506165, 0.052857905626297, -0.40477779507637024, 0.21739837527275085, -1.0240802764892578, -0.035426102578639984, 0.20603734254837036, -0.36698228120803833, -0.056970056146383286, 0.11069463193416595, -0.4367620646953583, -0.22888405621051788, -0.7800461649894714, -0.12449496984481812, 0.5808045864105225, -0.5159783959388733, 0.7104164361953735, 0.24974791705608368, -0.2870991826057434, -0.6471250653266907, -0.3903488516807556, 0.062172260135412216, -0.38012808561325073, -0.3090225160121918, -0.21367675065994263, -0.2073698341846466, -0.6895130276679993, -0.013491235673427582, 0.027632787823677063, 0.4583088755607605, -0.06374456733465195, 0.3346722722053528, 0.2787880301475525, -0.20580457150936127, 0.09567120671272278, -0.12040107697248459, -0.041022662073373795, 0.2661350667476654, -0.015577433630824089, 0.28556957840919495, -0.3566632568836212, -0.27799078822135925, -0.18548481166362762, 0.37748587131500244, 0.8958812952041626, -0.19797152280807495, 0.48350346088409424, 0.19823184609413147, 0.056094009429216385, -0.15634937584400177, -0.4860091805458069, -0.07041969895362854, -0.347769558429718, 0.43633508682250977, -0.20536521077156067, -0.7413834929466248, 0.5879952311515808, 0.21651005744934082, 0.4027490019798279, 0.6147903800010681, 0.6933692693710327, -0.15230874717235565, 0.9523762464523315, 0.3484179973602295, -0.18988916277885437, 0.32166633009910583, 0.11542367190122604, 0.1490463763475418, -0.8185086250305176, -0.03520580381155014, -0.40788534283638, -0.12462972104549408, -0.3743091821670532, -0.08523955941200256, 0.7391380667686462, 0.28561392426490784, 0.042787935584783554, -0.13489635288715363, -0.19361072778701782, 0.6550031304359436, 0.42700254917144775, 0.10643613338470459, 0.39884814620018005, -0.17484426498413086, -0.24165822565555573, 0.07868120819330215, -0.711370587348938, -0.7482817769050598, 0.8990346193313599, 0.4366551339626312, 0.7718287110328674, 0.08642005920410156, 0.3069968819618225, 0.5784426927566528, 0.2875364422798157, -1.097569227218628, 0.7202156782150269, -0.24381037056446075, -0.11056288331747055, -0.23885008692741394, -0.3607918322086334, -0.695549488067627, 0.46872732043266296, -0.3429703414440155, -0.3906461000442505, 0.05870744585990906, 0.04679308831691742, -0.6261803507804871, 0.34025800228118896, -0.5492314696311951, 0.496236115694046, 0.05926750972867012, -0.05738082900643349, -0.12431073188781738, -0.6339966058731079, 0.5977258682250977, 0.053962141275405884, 0.24230831861495972, -0.28799715638160706, -0.00900180172175169, 0.8134230375289917, -0.5163194537162781, 0.8033078908920288, 0.03379944711923599, -0.2763332426548004, 0.4345460832118988, -0.032272160053253174, 0.14960472285747528, -0.06435135751962662, -0.2617822289466858, 0.37622326612472534, -0.2867512106895447, 0.007030854932963848, -0.7649213075637817, 0.6024253964424133, -0.7510585784912109, -0.6216503381729126, -0.428261399269104, -0.3584999740123749, -0.2809493839740753, -0.04785299673676491, 0.3388885259628296, 0.5069987773895264, -0.3380514681339264, 0.34150710701942444, 0.5645939111709595, -0.34470289945602417, 0.6353195905685425, 0.6034989953041077, -0.46951618790626526, -0.7813705801963806, 0.43230053782463074, -0.04099859297275543, 0.27454903721809387, 0.4146456718444824, 0.6175855398178101, -0.3780522048473358, -0.2709258496761322, -0.6865332126617432, 0.3099834620952606, -1.003965973854065, -0.36248064041137695, -0.7654886841773987, 0.16659468412399292, -0.2945028245449066, -0.06288187205791473, 0.030479053035378456, -0.524020254611969, -0.18192517757415771, -0.2599492073059082, 0.658557116985321, 1.1819037199020386, 0.043483901768922806, 0.3350922167301178, -0.8296350836753845, 0.17610128223896027, 0.41754433512687683, 0.41340991854667664, 0.06791491061449051, -0.639444887638092, -0.10028518736362457, -0.29024842381477356, -0.05315642058849335, -0.9546803832054138, 0.1584595888853073, 0.020351486280560493, 0.49191829562187195, 0.6489890217781067, 0.1661243438720703, 0.3018518090248108, -0.34723785519599915, 1.2024730443954468, 0.34885478019714355, -0.8636249303817749, 0.2890387773513794, -0.5670718550682068, 0.5263912677764893, 0.5551287531852722, 0.2588666081428528, -0.5950642824172974, -0.42103564739227295, -0.45703423023223877, -0.674745500087738, 0.6257688999176025, -0.14600694179534912, -0.14529675245285034, -0.14955833554267883, 0.3268437087535858, 0.44506895542144775, 0.38440242409706116, -0.33374854922294617, -0.419290691614151, -0.2042161077260971, -0.1414014995098114, -0.14364662766456604, -0.48872441053390503, -0.023896345868706703, 0.1322726607322693, 0.5458030104637146, -0.11685775965452194, -0.048904914408922195, 0.20703186094760895, 0.06285963952541351, -0.07505481690168381, 0.678147554397583, 0.8280565142631531, 0.8292691111564636, -0.21835990250110626, 0.19606097042560577, 0.43448272347450256, -0.20301368832588196, -0.04685426503419876, -0.4497736990451813, -0.33215826749801636, 0.17956483364105225, 0.5860517621040344, 0.8098669648170471, -0.05202966183423996, -0.3085203170776367, 0.7021235227584839, -0.20855261385440826, -0.23797842860221863, -0.17575910687446594, -0.05534207820892334, -0.11953027546405792, -0.06060298904776573, 0.35442280769348145, 0.15666459500789642, -0.02034197561442852, -0.6168153285980225, -0.05035976320505142, 0.3624691963195801, -0.354596346616745, -0.4232316017150879, 0.39131611585617065, 0.16916052997112274, -0.0698011964559555, 0.06030777096748352, -0.28562843799591064, -0.3838670253753662, 0.42638084292411804, 0.125441774725914, 1.1022647619247437, -0.17079207301139832, 0.19880005717277527, 0.44332003593444824, 0.3101198971271515, -0.08053508400917053, 0.3662385642528534, 0.19734208285808563, -0.6021543741226196, -0.35909345746040344, -0.591266930103302, -0.7319709658622742, 0.22896434366703033, -0.7789953947067261, 0.4622647762298584, -0.5518271327018738, 0.039942242205142975, -0.007816198281943798, -0.3398590683937073, -0.4398525357246399, 0.1319703608751297, -0.03426487371325493, 0.7359963059425354, -0.8385909795761108, 0.24745632708072662, 0.7705327868461609, -0.45190975069999695, -0.47739309072494507, -0.23088102042675018, 0.2690722346305847, -0.6472914218902588, 0.1381884664297104, -0.12523745000362396, -0.3968328535556793, -0.43898794054985046, -0.4912508428096771, -0.4569970965385437, 0.7767965197563171, 0.06472685933113098, -0.4257187247276306, 0.1360062211751938, -0.1820550113916397, 0.5879148840904236, -0.732110857963562, 0.6564766764640808, 0.570955216884613, 0.4428347647190094, 0.06034587323665619, -0.9245241284370422, -0.09347929805517197, -0.15011067688465118, -0.3129911422729492, 0.043088722974061966, -0.6648945212364197, 0.8089863657951355, -0.4768826365470886, 0.011034475639462471, 0.032873962074518204, 0.6776989102363586, 0.3329635262489319, 0.16493509709835052, 0.6604807376861572, 0.2456492930650711, 0.641431987285614, -0.05269124358892441, 1.057375192642212, -0.37139585614204407, 0.17275600135326385, 1.2197566032409668, -0.2229657769203186, 0.775877833366394, 0.1337093561887741, -0.20908257365226746, 0.5536753535270691, 0.5208253860473633, -0.057837698608636856, 0.2557682991027832, 0.0938090980052948, -0.033728841692209244, -0.1754693239927292, -0.30642881989479065, -0.2659858763217926, 0.4671396017074585, 0.2688825726509094, -0.5666293501853943, -0.38359132409095764, -0.08686332404613495, 0.280325323343277, 0.09277255088090897, -0.7265361547470093, 1.1431214809417725, 0.23932355642318726, -0.7651842832565308, 0.2340889275074005, -0.20709030330181122, 0.6913211345672607, -0.6951454281806946, -0.0571042001247406, -0.33914852142333984, -0.01717700995504856, -0.3208814561367035, -0.9400892853736877, -0.061772529035806656, 0.1577775776386261, -0.4545668363571167, -0.28361403942108154, 0.376138299703598, -0.26894083619117737, -0.40909403562545776, 0.018876496702432632, 0.7395719885826111, 0.27043387293815613, -0.006199204362928867, -0.2688736915588379, -0.27775898575782776, -0.08234027773141861, -0.2865697741508484, 0.06605205684900284, 0.5493941307067871, -0.05796171724796295, 0.3641427755355835, 0.42914098501205444, 0.18822801113128662, -0.2328406721353531, 0.4497390389442444, 0.5721376538276672, -0.7149587273597717, -0.6242307424545288, -1.1161305904388428, 0.2982063591480255, -0.04457462206482887, -0.6082308292388916, 1.0856940746307373, 0.4968721270561218, 0.32867059111595154, -0.139262393116951, 1.0570868253707886, 0.31516894698143005, 0.8941696286201477, -0.5682912468910217, 0.6659296751022339, -0.45017194747924805, 0.3832987844944, -0.39643532037734985, -0.9002230763435364, -0.1586412787437439, 0.46880942583084106, -0.2890652120113373, 0.17043261229991913, 0.7812731266021729, 0.4779897928237915, 0.3350559175014496, 0.28641408681869507, 0.43819981813430786, 0.22883696854114532, 0.23927970230579376, 0.19958515465259552, 0.9575750231742859, -0.12682941555976868, 0.3121669590473175, 0.19492144882678986, -0.35508468747138977, -0.2748602032661438, -1.2097411155700684, -1.1746329069137573, -0.4742804765701294, -0.28593844175338745, -0.39901310205459595, -0.3921358585357666, 1.4516575336456299, 0.3968312442302704, -0.7904778122901917, -0.20681717991828918, 0.22349195182323456, 0.21061581373214722, -0.19986669719219208, -0.2297780066728592, 0.4238088130950928, -0.22352731227874756, -0.5998091697692871, 0.39479562640190125, 0.46151202917099, 0.010708622634410858, -0.4853435158729553, 0.12406884133815765, 0.3715406358242035, 0.2502986192703247, 0.8362710475921631, -0.01072823815047741, -1.0034258365631104, -0.25549018383026123, 0.20503570139408112, -0.031003853306174278, 0.06713840365409851, 1.061308741569519, -0.6138947606086731, 0.41815274953842163, 0.7192787528038025, 0.12919865548610687, -0.13161802291870117, 0.43419572710990906, 0.711448609828949, -0.7625544667243958, -0.2261381298303604, 0.10085661709308624, 0.6804971694946289, 0.33043572306632996, -0.17028526961803436, 0.40976226329803467, -0.06122281029820442, -0.5665079355239868, -0.4703601002693176, 0.2244483232498169, -1.0934393405914307, -0.21929503977298737, 1.4269260168075562, -0.11699027568101883, -0.0587945282459259, -0.0410459004342556, -0.19429510831832886, -0.3244527280330658, -0.680260181427002, 0.6785682439804077, 0.9244433045387268, -0.4293070137500763, -0.341415137052536, -0.38085633516311646, 0.3698502480983734, 0.23922598361968994, -0.9499961733818054, 0.36677730083465576, 0.7191707491874695, 0.09348376095294952, 0.3228369653224945, 0.5115088224411011, -0.08704643696546555, 0.08152636885643005, -0.15316085517406464, -0.005952192936092615, -0.2830493748188019, -0.34074699878692627, -0.8192848563194275, 0.32702961564064026, -0.021964851766824722, 0.048851847648620605 ]
http://arxiv.org/abs/2402.11681v1
http://arxiv.org/pdf/2402.11681v1
Opening the black box of language acquisition
2024-02-18T19:11:58
2024-02-18T19:11:58
Jérôme Michaud, Anna Jon-and
cs.CL
cs.CL, cs.NA, math.NA
Recent advances in large language models using deep learning techniques have renewed interest on how languages can be learned from data. However, it is unclear whether or how these models represent grammatical information from the learned languages. In addition, the models must be pre-trained on large corpora before they can be used. In this work, we propose an alternative, more transparent and cognitively plausible architecture for learning language. Instead of using deep learning, our approach uses a minimal cognitive architecture based on sequence memory and chunking. The learning mechanism is based on the principles of reinforcement learning. We test our architecture on a number of natural-like toy languages. Results show that the model can learn these artificial languages from scratch and extract grammatical information that supports learning. Our study demonstrates the power of this simple architecture and stresses the importance of sequence memory as a key component of the language learning process. Since other animals do not seem to have a faithful sequence memory, this may explain why only humans have developed complex languages.
[ -0.22472518682479858, -1.0631093978881836, 0.5970665216445923, -0.017759451642632484, -0.19970212876796722, 0.3709712028503418, -0.5101459622383118, -0.48206889629364014, -0.01956246793270111, 0.3204502761363983, -0.422992467880249, -0.11759863793849945, -0.385191947221756, 0.00421758322045207, -0.06454041600227356, 0.9630683660507202, 0.34430551528930664, -0.07579044997692108, 0.050033316016197205, 0.23002663254737854, -0.5861526131629944, -0.3834327757358551, -0.7237274646759033, -0.3517618179321289, 0.3594645857810974, 0.45826664566993713, 0.8275377750396729, 0.7888902425765991, -0.014370023272931576, 0.4092794954776764, 0.15779542922973633, 0.19552433490753174, -0.3105144798755646, -0.19231277704238892, -0.36656567454338074, -0.7665443420410156, -0.10003527253866196, -0.176369309425354, 0.4768626391887665, 0.8213669061660767, -0.26599785685539246, -0.10152404010295868, -0.21805597841739655, 0.7786940932273865, -0.5211008191108704, 0.6047993302345276, -0.6584217548370361, 0.25490301847457886, -0.102613165974617, -0.007490338757634163, -0.6890153288841248, -0.10715993493795395, 0.21142709255218506, -0.731185257434845, -0.08421914279460907, 0.01934659667313099, 0.7735118865966797, -0.038464680314064026, -0.1231956034898758, -0.5615956783294678, -0.918097734451294, 0.671596884727478, -0.43941760063171387, 0.39936333894729614, 0.6177613139152527, 0.2861015200614929, -0.15791009366512299, -0.4652537703514099, -0.5777640342712402, -0.45236438512802124, -0.11659105867147446, -0.14784103631973267, -0.18949967622756958, -0.05015254765748978, 0.11370175331830978, 0.3424573540687561, -0.6351917386054993, 0.05447088181972504, -0.7187861204147339, -0.01688217744231224, 0.5600315928459167, -0.15524756908416748, 0.4982220232486725, -0.2059032917022705, -0.30965685844421387, -0.2760769724845886, -0.5093700885772705, 0.18520084023475647, 0.24977585673332214, 0.6636790633201599, -0.16744737327098846, 0.4915548264980316, 0.03206142038106918, 0.5611449480056763, 0.22345004975795746, 0.03565739095211029, 0.36171725392341614, 0.0887829139828682, -0.3249792456626892, 0.2843126952648163, 0.6912268996238708, -0.41746971011161804, 0.4800930619239807, -0.3822134733200073, -0.30046209692955017, 0.3624654710292816, 0.8685166835784912, -0.4846605658531189, -0.18729758262634277, 0.29791000485420227, -0.12462709844112396, -0.23481835424900055, 0.004689494613558054, -0.584273636341095, 0.024952130392193794, -0.22267143428325653, 0.44421684741973877, -0.8774973750114441, -0.39744818210601807, 0.4550807476043701, 0.10051017999649048, 0.4141848385334015, 0.16844512522220612, -1.0543806552886963, 0.5411869883537292, 0.9093797206878662, 0.37176263332366943, 0.018747424706816673, -0.3339197337627411, -0.6334864497184753, -0.07231331616640091, -0.7463460564613342, 0.5005844831466675, -0.6743586659431458, -0.17315030097961426, 0.12840835750102997, 0.1367827206850052, 0.09572454541921616, -0.6911754608154297, 0.003812587121501565, -0.754528820514679, 0.27824723720550537, 0.06405380368232727, -0.4113982617855072, -0.4426300525665283, 0.10640394687652588, -0.622042179107666, 0.6662278771400452, 0.08597078919410706, -0.19358249008655548, 0.24010133743286133, -0.47379037737846375, -0.7353867888450623, 0.2532637119293213, -0.35537809133529663, -0.34874972701072693, 0.4545518159866333, -0.12014377862215042, 0.39605528116226196, 0.061553988605737686, 0.5657347440719604, -0.20943506062030792, -0.2845039963722229, 0.3365413248538971, -0.24694764614105225, 0.5584198832511902, 0.43295371532440186, -0.474980890750885, -0.24067862331867218, -0.7782968878746033, -0.03344268351793289, 0.1800556480884552, -0.5356221795082092, -0.5332302451133728, 0.09307420253753662, -0.3992707133293152, 0.34597206115722656, 0.19531036913394928, -0.5880987048149109, 0.23984363675117493, -0.5670246481895447, 0.48404660820961, 0.7254257798194885, -0.3348093032836914, 0.7585485577583313, -0.23617298901081085, 0.49238961935043335, 0.2792344093322754, -0.2677125334739685, -0.25678348541259766, -0.2483672946691513, -0.8110328912734985, -0.18564169108867645, 0.24161125719547272, 0.5660628080368042, -0.6672000885009766, 0.350648432970047, -0.11360077559947968, -0.05429894104599953, -0.7001218199729919, 0.2869633436203003, 0.7594544291496277, -0.037922900170087814, 0.15781159698963165, -0.5575404167175293, -0.5148470997810364, -0.825546383857727, 0.08372735977172852, -0.28529107570648193, 0.20587174594402313, 0.32737940549850464, 0.4160636067390442, -0.08215183764696121, 0.5621410608291626, -0.4450613856315613, 0.23286017775535583, -0.38704538345336914, 0.04986294358968735, 0.16514012217521667, 0.6108309030532837, 0.09512195736169815, -0.6323134303092957, 0.04820111766457558, 0.1999419778585434, -0.7976500391960144, 0.6205348372459412, -0.22560545802116394, -0.2287425398826599, 0.3017975389957428, 0.5568021535873413, -0.9714383482933044, 0.06540582329034805, 0.3572743833065033, -0.281288743019104, 0.29320189356803894, -0.37334439158439636, -0.4009256064891815, -0.7787516713142395, -0.07290500402450562, -0.2682258188724518, -0.2799495756626129, -0.7410274147987366, 0.14019714295864105, 0.126831516623497, -0.0933079943060875, -0.5057045817375183, 0.5249937772750854, -0.5917301177978516, -0.29259705543518066, -0.27633851766586304, -0.005521236453205347, -0.11496300995349884, 0.8042982816696167, 0.4746098518371582, 0.4624820947647095, 0.4362576901912689, -0.7627081274986267, -0.2423257827758789, 0.22072440385818481, -0.5161134600639343, 0.2240121215581894, -0.31605690717697144, 0.2424505054950714, -0.4786655306816101, -0.1499866396188736, -0.81841641664505, -0.1301744431257248, 0.1716846376657486, -0.47106391191482544, 0.6612560749053955, 0.16107085347175598, -0.15441478788852692, -0.07238730788230896, 0.06943492591381073, 0.25260403752326965, 0.7114369869232178, -0.4809492826461792, 0.44430920481681824, 0.4075736701488495, -0.13976022601127625, -0.6489019989967346, -0.6929988265037537, -0.124439537525177, -0.029755325987935066, -0.2988400161266327, 0.09276410192251205, -0.009636209346354008, -0.3424389660358429, 0.09966615587472916, -0.14634881913661957, -0.26481908559799194, 0.27413538098335266, 0.12792900204658508, 0.19768041372299194, -0.7261897325515747, 0.4500383734703064, -0.27191442251205444, 0.05686798691749573, -0.006655994802713394, -0.6656884551048279, 0.6396541595458984, -0.2867692708969116, 0.024113493040204048, -0.0028298834804445505, 0.1405981034040451, 0.441837877035141, -0.37604084610939026, 0.539174497127533, 0.19826069474220276, -0.4325082302093506, -0.6897042393684387, -0.291708379983902, -0.026753783226013184, -0.497536301612854, 0.45357200503349304, -0.4800069332122803, -0.7760593295097351, -0.012872117571532726, -0.10237929970026016, -0.07292768359184265, 0.03498530760407448, 0.4247128367424011, -0.12483269721269608, 0.4155697226524353, 0.906314492225647, -0.10325866937637329, 0.6383159160614014, -0.3172839283943176, 0.15425699949264526, -0.4268316626548767, -0.27589359879493713, -0.37604185938835144, -0.08097508549690247, -0.3650764524936676, -0.5243673920631409, -0.33074823021888733, 0.30133676528930664, -0.43881550431251526, 0.5053386092185974, -0.15968164801597595, 0.426028847694397, 0.6047009825706482, 0.29437950253486633, 0.4125147759914398, 0.2306952327489853, -0.3566119074821472, 0.29764509201049805, -0.6627582311630249, -0.5561752915382385, 0.8835334181785583, 0.21133998036384583, 0.6232596635818481, -0.01946895569562912, 0.7700217366218567, 0.17030368745326996, -0.12185487151145935, -0.7562664151191711, 0.40544891357421875, -0.21855978667736053, -0.5894566178321838, -0.3614891767501831, -0.1757098138332367, -1.2327288389205933, 0.38222843408584595, -0.09428375959396362, -0.562206506729126, 0.3266098201274872, -0.059112198650836945, -0.46499398350715637, 0.17519082129001617, -0.7911434173583984, 0.9719054698944092, -0.6176271438598633, -0.40417560935020447, -0.29251235723495483, -0.5037833452224731, 0.5387909412384033, -0.18758997321128845, 0.46255946159362793, 0.13811305165290833, -0.11713571846485138, 0.3102896809577942, -0.3347323536872864, 1.0578032732009888, -0.0055234902538359165, 0.011371253058314323, 0.20596306025981903, 0.5021135807037354, 0.3616432249546051, -0.01264938898384571, 0.10986596345901489, -0.12343372404575348, -0.42526474595069885, -0.5775287747383118, -0.5478920936584473, 0.2944793999195099, -0.9532957077026367, -0.5219704508781433, -0.5627819299697876, -0.4760444760322571, -0.22889435291290283, 0.13567234575748444, -0.3245454728603363, 0.1784752607345581, -0.44308799505233765, 0.09117238968610764, 0.6772378087043762, -0.5046947598457336, 0.5897833704948425, 0.7549604773521423, -0.13709335029125214, -0.20710040628910065, 0.9572068452835083, -0.30369916558265686, 0.4852812886238098, 0.7029892802238464, 0.2375056892633438, -0.19012580811977386, -0.6571088433265686, -0.47117385268211365, 0.22934117913246155, -0.3130144774913788, 0.08545983582735062, -0.5880968570709229, -0.11841876059770584, -0.030579740181565285, -0.21132723987102509, -0.47455349564552307, -0.32242026925086975, -0.09640280157327652, -0.4530898332595825, 0.1199570819735527, 1.011304497718811, -0.02547617442905903, 0.2607458233833313, -0.7538244128227234, 0.35194751620292664, 0.3752131760120392, 0.1574118286371231, 0.09561854600906372, -0.1460113674402237, -0.281709760427475, 0.16696901619434357, -0.15288282930850983, -0.5152961015701294, 0.563256025314331, 0.3359493911266327, 0.44563668966293335, 0.3695971965789795, -0.18027785420417786, 0.7580681443214417, -0.7511091232299805, 0.586128294467926, 0.1123480498790741, -0.8862026929855347, 0.4179125130176544, -0.15818561613559723, 0.3128846287727356, 0.46950116753578186, 0.365546852350235, -0.386527955532074, -0.37733039259910583, -0.9717828631401062, -0.4803638160228729, 0.8963270783424377, -0.1892794519662857, 0.23865634202957153, -0.35496774315834045, 0.20759457349777222, 0.3142684996128082, 0.5906643867492676, -0.7731888890266418, 0.04926668107509613, -0.1351000815629959, -0.09870228916406631, -0.6897317171096802, -0.009421051479876041, 0.15472130477428436, -0.02733897790312767, 0.3769439160823822, -0.10134996473789215, 0.19051019847393036, 0.005386270582675934, -0.47513332962989807, -0.11442775279283524, 0.5296609401702881, 0.4165111780166626, 0.38654839992523193, -0.03342236950993538, 0.1720147728919983, -0.20544642210006714, -0.4331352412700653, 0.23269090056419373, -0.2085702270269394, -0.3438233435153961, -0.11202752590179443, 0.3004501760005951, 0.9754800796508789, 0.6411680579185486, -0.9697034358978271, 0.4820495545864105, 0.2842855155467987, -0.007211845368146896, -0.3923567533493042, 0.033960890024900436, 0.3554634749889374, 0.36182403564453125, -0.04563219100236893, 0.10333317518234253, -0.11421514302492142, -1.1704721450805664, 0.6002576947212219, 0.5314088463783264, -0.4386803209781647, -0.5347468256950378, 0.3837614953517914, -0.14815694093704224, -0.4513023793697357, 0.7675467133522034, -0.33885812759399414, -0.2142874300479889, 0.6190213561058044, 0.789250373840332, 0.8145760893821716, -0.22046220302581787, 0.6493797302246094, 0.2374853491783142, 0.42745134234428406, -0.18530631065368652, 0.38376349210739136, -0.20238633453845978, -0.7574743032455444, -0.492022305727005, -0.9582744240760803, -0.11885762959718704, 0.19808228313922882, -0.5096423625946045, 0.14441826939582825, -0.7843260169029236, 0.324722021818161, 0.011524886824190617, 0.09929342567920685, -0.6453531384468079, 0.21067509055137634, 0.5741355419158936, 0.9209311008453369, -0.7520582675933838, 1.129340648651123, 0.5435587763786316, -0.5683632493019104, -0.8896179795265198, -0.35907402634620667, -0.2791244387626648, -1.0391533374786377, 0.7781569361686707, 0.086851105093956, 0.09945422410964966, -0.16671933233737946, -0.5033125281333923, -0.7625576853752136, 0.6346262097358704, 0.3359133303165436, -0.5253228545188904, -0.29152819514274597, 0.11159436404705048, 0.5308318138122559, -0.6093190312385559, 0.12557727098464966, 0.5526039600372314, 0.2573586404323578, 0.050105754286050797, -0.47757473587989807, 0.15930920839309692, -0.2885241210460663, -0.03455129638314247, 0.21361367404460907, -0.4432089626789093, 1.1342827081680298, -0.24481771886348724, -0.4127592444419861, 0.05749422311782837, 0.6642005443572998, 0.1292193979024887, 0.06763143837451935, 0.32982271909713745, 0.48664477467536926, 0.911941409111023, 0.16862480342388153, 1.065623164176941, 0.08132488280534744, -0.10587108135223389, 1.2165862321853638, -0.24046899378299713, 1.1899574995040894, 0.2545175552368164, -0.17153984308242798, 0.8635077476501465, 0.3930724263191223, 0.13772498071193695, 0.5944060683250427, 0.4786151349544525, 0.0194998849183321, -0.32646694779396057, 0.21915793418884277, -0.05443128943443298, 0.4988847076892853, 0.6821132302284241, -0.35181158781051636, -0.2089669108390808, 0.08697596937417984, 0.11816267669200897, 0.17250187695026398, -0.29604750871658325, 1.0171687602996826, 0.231504425406456, -0.9293753504753113, 0.613213837146759, -0.20095370709896088, 0.6228607296943665, -0.7317726016044617, -0.1537380963563919, -0.12101680785417557, 0.29919710755348206, -0.10928764194250107, -0.34820401668548584, 0.10384371876716614, -0.1452791541814804, 0.023340212181210518, -0.14438872039318085, 0.40635180473327637, -0.6690468788146973, -0.47370412945747375, 0.360967218875885, 0.7872588634490967, 0.2884334325790405, 0.16231955587863922, -0.5630261301994324, -0.1872420608997345, -0.13293249905109406, -0.07019288837909698, 0.39013808965682983, 0.5107245445251465, -0.10743261128664017, 0.5662023425102234, 0.7493973970413208, 0.2381683737039566, 0.4540378749370575, -0.43464723229408264, 0.5755406618118286, -0.8966296911239624, -0.5868144035339355, -0.7951564788818359, 0.48889321088790894, 0.1868721842765808, -0.08723597973585129, 0.48361262679100037, 0.5530593991279602, 1.298140525817871, -0.34870633482933044, 0.8228244781494141, -0.031944818794727325, 0.09138669073581696, -0.5952627062797546, 0.32216188311576843, -0.47055771946907043, 0.13737840950489044, -0.24308769404888153, -0.6031771302223206, -0.0402480773627758, 0.6312357783317566, -0.20138853788375854, -0.26735636591911316, 0.8949248194694519, 0.6874904036521912, -0.2211998701095581, 0.14583224058151245, 0.532709002494812, 0.5245782136917114, -0.011516817845404148, 0.870901882648468, 0.99448162317276, -0.2185661345720291, 0.6060808897018433, -0.382254958152771, -0.07895021140575409, 0.052271272987127304, -0.5641106963157654, -0.8299612402915955, -0.36212870478630066, -0.17633506655693054, -0.344226598739624, 0.41108375787734985, 1.033974289894104, 0.7124370336532593, -0.813171923160553, -0.5937173962593079, -0.25879988074302673, 0.1047591045498848, -0.41461941599845886, -0.1181648001074791, 0.21137045323848724, -0.8437412977218628, -0.7803232073783875, 0.6916357278823853, 0.30842524766921997, -0.0322469063103199, -0.2675161361694336, -0.1551685929298401, -0.344422310590744, 0.20896299183368683, 0.6472514271736145, 0.8581876158714294, -0.63892662525177, -0.23551180958747864, -0.018193325027823448, -0.26995816826820374, 0.3525904417037964, 0.8420088887214661, -1.0308693647384644, 0.4295349717140198, 0.27972614765167236, 0.9667905569076538, 0.6154378056526184, -0.2634526491165161, 0.8763390183448792, -0.5456030368804932, 0.4475414752960205, 0.11224179714918137, 0.20744161307811737, 0.12540021538734436, -0.36949622631073, 0.2583546042442322, -0.029922926798462868, -0.02604721114039421, -0.5653338432312012, 0.31689688563346863, -0.9133859276771545, -0.646479606628418, 0.8181864619255066, -0.08507887274026871, -0.7567298412322998, -0.26768699288368225, -0.05484984442591667, 0.04710754379630089, -0.44649553298950195, 0.6234416365623474, 0.5839115977287292, 0.2537931501865387, -0.026662174612283707, -0.7891064882278442, 0.5545615553855896, 0.3096400797367096, -0.6870517730712891, -0.13118530809879303, 0.43886974453926086, 0.2630453407764435, 0.37062591314315796, 0.7340223789215088, -0.2748716473579407, 0.43771326541900635, 0.09294424206018448, 0.15159453451633453, 0.022439390420913696, -0.6576590538024902, -0.7503966689109802, 0.2877788543701172, 0.21389321982860565, -0.3727450668811798 ]
http://arxiv.org/abs/2402.11676v2
http://arxiv.org/pdf/2402.11676v2
A Multi-Aspect Framework for Counter Narrative Evaluation using Large Language Models
2024-02-18T18:56:07
2024-03-29T15:01:38
Jaylen Jones, Lingbo Mo, Eric Fosler-Lussier, Huan Sun
cs.CL
cs.CL, cs.AI
Counter narratives - informed responses to hate speech contexts designed to refute hateful claims and de-escalate encounters - have emerged as an effective hate speech intervention strategy. While previous work has proposed automatic counter narrative generation methods to aid manual interventions, the evaluation of these approaches remains underdeveloped. Previous automatic metrics for counter narrative evaluation lack alignment with human judgment as they rely on superficial reference comparisons instead of incorporating key aspects of counter narrative quality as evaluation criteria. To address prior evaluation limitations, we propose a novel evaluation framework prompting LLMs to provide scores and feedback for generated counter narrative candidates using 5 defined aspects derived from guidelines from counter narrative specialized NGOs. We found that LLM evaluators achieve strong alignment to human-annotated scores and feedback and outperform alternative metrics, indicating their potential as multi-aspect, reference-free and interpretable evaluators for counter narrative evaluation.
[ -0.5378950238227844, -0.6537213921546936, 0.7022656202316284, -0.03776656463742256, -0.25936877727508545, 0.3403003513813019, 0.005057403817772865, -0.4696817994117737, 0.281473308801651, 0.4850028455257416, -0.6379806995391846, -0.45218712091445923, -0.7265575528144836, 0.08857188373804092, -0.5488042235374451, 1.3687396049499512, -0.026266884058713913, 0.2338271290063858, -0.14299586415290833, -0.5350080132484436, -0.46141594648361206, -0.5169783234596252, -0.4708867371082306, -0.5428134799003601, 0.7079986929893494, 0.28932613134384155, 0.5145094990730286, 0.34428536891937256, 0.24788212776184082, 0.23026323318481445, 0.35025790333747864, 0.035987723618745804, -0.5236210823059082, 0.09983500093221664, -0.54095858335495, -0.19639672338962555, -0.42500191926956177, 0.47139182686805725, 0.466115266084671, 0.13787932693958282, -0.07779223471879959, 0.4324117600917816, 0.04898136109113693, 0.4009830951690674, -0.6041982173919678, -0.4913288354873657, -0.621764063835144, -0.000057214710977859795, -0.06778020411729813, 0.03762765973806381, -0.20724636316299438, -0.3892129063606262, 0.22149664163589478, -0.31941598653793335, 0.3291260302066803, -0.14435622096061707, 0.36220782995224, 0.10501638054847717, -0.4146212637424469, -0.5388168096542358, -0.8202100992202759, 0.9573835730552673, -0.8328249454498291, 0.11041783541440964, 0.10369788855314255, 0.08786109834909439, 0.21025234460830688, -0.3315344452857971, -0.7296574711799622, -0.21017327904701233, -0.10142042487859726, 0.38871872425079346, -0.5639646649360657, -0.07704135030508041, -0.11607275903224945, 0.28125429153442383, -0.6536470055580139, 0.42880770564079285, -0.12909163534641266, -0.28980720043182373, 0.8546563982963562, 0.5122784376144409, 0.15303727984428406, -0.233210951089859, -0.6281565427780151, 0.2557860314846039, -0.7841365337371826, -0.0981539934873581, 0.6864849328994751, 0.29878807067871094, -0.29304710030555725, 0.39712759852409363, -0.11340835690498352, 0.5896768569946289, 0.25689733028411865, -0.2809647023677826, 0.042886704206466675, -0.42458173632621765, -0.09949100017547607, 0.21777945756912231, 1.0747268199920654, 0.7785324454307556, 0.32639071345329285, -0.15669509768486023, -0.17016065120697021, 0.3800358772277832, 0.9251705408096313, -0.8172104954719543, 0.2685375213623047, 0.1925577074289322, -0.4730508029460907, -0.5741451382637024, -0.1332354098558426, -1.2395750284194946, -0.7294979095458984, -0.2987021505832672, 0.49018242955207825, -0.17695069313049316, -0.23385697603225708, -0.5048853158950806, -0.21449944376945496, -0.01294473372399807, 0.22222524881362915, -0.4804603159427643, 0.2818746566772461, 0.5829381942749023, 0.8099730014801025, -0.3914775252342224, -0.21519768238067627, -0.6848079562187195, 0.07195425033569336, -0.3920319974422455, 0.691038191318512, -0.8604174256324768, -0.3552692234516144, 0.06674972921609879, -0.1749390959739685, 0.12115930765867233, -0.4896048903465271, 0.5524848699569702, -0.24114693701267242, 0.23095569014549255, 0.0022853866685181856, -0.28296980261802673, -0.32098865509033203, 0.46168115735054016, -0.3968450725078583, 0.7826907634735107, 0.19682148098945618, -0.5577263832092285, 0.400588721036911, -0.39321279525756836, -0.5147987008094788, -0.0762823149561882, -0.23780590295791626, -0.4981660544872284, 0.2991485893726349, 0.27270182967185974, 0.016202617436647415, -0.5294716358184814, 0.5300699472427368, -0.10813004523515701, -0.3324669897556305, 0.000502322509419173, -0.6250253915786743, 0.5594133138656616, 0.12167216837406158, -0.6324732899665833, 0.7858005166053772, -0.7529885768890381, -0.21512195467948914, 0.0976589247584343, -0.0334453321993351, -0.24582454562187195, -0.22444967925548553, -0.14891555905342102, 0.0811917707324028, -0.02141874097287655, -0.7869616150856018, -0.17084774374961853, -0.45381155610084534, 0.052869152277708054, 0.7902901768684387, 0.028548238798975945, 0.014278952963650227, -0.6429335474967957, 0.9282053709030151, -0.08978498727083206, 0.05073023587465286, -0.13083787262439728, -0.41006237268447876, -0.6008076667785645, -0.03682279214262962, -0.3278045356273651, 0.6678689122200012, -0.7402786016464233, 0.31610846519470215, 0.008685775101184845, -0.9619135856628418, -0.4815640449523926, 0.09792447090148926, 0.9216004014015198, 0.782301127910614, 0.6714491248130798, -0.5838296413421631, -0.9242504239082336, -0.9126310348510742, -0.465800017118454, -0.48523595929145813, -0.04490566626191139, 0.059541214257478714, 0.533338725566864, 0.022593433037400246, 1.1229355335235596, -0.05981392413377762, -0.15679562091827393, -0.42936471104621887, 0.6219356656074524, 0.025439292192459106, 0.3861768841743469, 0.5936812162399292, -0.5280000567436218, -0.2852276563644409, -0.5032083988189697, -0.5662441253662109, -0.5148290395736694, -0.24268414080142975, 0.19366265833377838, 0.13418669998645782, 0.1332894265651703, -0.15263724327087402, 0.5704454779624939, 0.6718822717666626, -0.28469353914260864, 0.9746285676956177, 0.3421500027179718, 0.6379337310791016, -0.7586012482643127, -0.05637867748737335, 0.1129169836640358, -0.12279776483774185, -0.838875412940979, -0.11971434950828552, -0.23980097472667694, -0.026210147887468338, -0.5864294767379761, 0.6289440393447876, 0.1011035293340683, 0.21256431937217712, -0.21002978086471558, 0.4002766013145447, 0.15136079490184784, 0.4401647448539734, 0.13966324925422668, 0.41568708419799805, -0.0012262423988431692, -0.48035505414009094, 0.5435611009597778, -0.04029254615306854, -0.45056310296058655, 1.4539999961853027, -0.5387222170829773, 0.41581106185913086, -0.03169328346848488, 0.3020860552787781, -0.9147319793701172, 0.37697485089302063, 0.4611780047416687, -0.26301857829093933, 0.14803878962993622, -0.25362759828567505, -0.11618685722351074, -0.45483672618865967, -0.6608079075813293, 0.4134323298931122, -0.0013357086572796106, -0.17871738970279694, 0.48520341515541077, 0.30181294679641724, -0.11042077839374542, -0.5506377816200256, -0.6174800395965576, 0.2727517783641815, -0.5681976675987244, -0.08203721046447754, 0.24174274504184723, -0.29657113552093506, -0.38771066069602966, -0.08683385699987411, -0.07851415872573853, 0.15505743026733398, -0.1936958283185959, 0.2883527874946594, 0.08074916154146194, -0.2054799199104309, -0.17604629695415497, 0.04677174240350723, -0.06045514717698097, 0.12671518325805664, -0.16116127371788025, 0.4000466465950012, 0.12786300480365753, -0.5042659640312195, -0.2046707272529602, 0.44458943605422974, 0.4696979522705078, -0.0869581550359726, 0.5612271428108215, 0.7617104053497314, -0.25994136929512024, 0.2781127393245697, -0.7478326559066772, 0.10266109555959702, -0.313193678855896, 0.48895588517189026, -0.22994327545166016, -0.8629685044288635, 0.2888273596763611, 0.3172285258769989, 0.259033203125, 0.5833238959312439, 0.832374095916748, 0.24651308357715607, 0.6762443780899048, 0.23415975272655487, -0.11556820571422577, 0.1833663433790207, 0.2876712381839752, 0.24908147752285004, -0.8663502931594849, -0.11716309934854507, -0.5557171702384949, -0.2958190143108368, -0.06905990093946457, -0.40933898091316223, 0.402874231338501, 0.1766936331987381, -0.4573437571525574, 0.28966274857521057, -0.5762457847595215, 0.21415336430072784, 0.12135810405015945, -0.15009024739265442, 0.3494220972061157, -0.26120030879974365, -0.16431795060634613, -0.34396079182624817, -0.3461781144142151, -0.6590375304222107, 0.9654437899589539, 0.3133529722690582, 0.5026936531066895, 0.33654898405075073, 0.4613865613937378, 0.49357953667640686, 1.0221984386444092, -0.7429084777832031, 0.4125118851661682, -0.11428454518318176, -0.6585100293159485, -0.4587780833244324, -0.2751227915287018, -0.5601193308830261, 0.5106158256530762, -0.3139301836490631, -1.0498003959655762, -0.023741085082292557, -0.03674007207155228, -0.6127835512161255, 0.44166359305381775, -0.5338401794433594, 0.791709840297699, -0.40631014108657837, -0.23079805076122284, -0.466665118932724, -0.27184465527534485, 0.3631763756275177, -0.34235846996307373, 0.4748246967792511, -0.18417766690254211, -0.014599040150642395, 0.9865238666534424, -0.37748125195503235, 1.1860932111740112, -0.2765834927558899, -0.28643307089805603, 0.4198070764541626, 0.22282585501670837, 0.10863262414932251, -0.08754359185695648, -0.37836211919784546, 0.44487085938453674, -0.09188806265592575, -0.0007037086179479957, -0.5238478183746338, 0.6030264496803284, -0.4167170524597168, -0.8531056642532349, -0.13214555382728577, -0.6975307464599609, -0.3953350782394409, 0.2554037868976593, 0.16495651006698608, 0.49787724018096924, -0.8393732309341431, -0.04903798550367355, 0.1101137325167656, -0.5745904445648193, 0.31547364592552185, 0.9293955564498901, -0.3589756488800049, -0.728633463382721, 0.7754146456718445, 0.17081817984580994, 0.28336992859840393, 0.24220982193946838, 0.5490328669548035, -0.2684054970741272, -0.6373737454414368, -0.9316075444221497, -0.09715808182954788, -0.38602834939956665, -0.3996168076992035, -0.5915693640708923, -0.09569186717271805, -0.6789305806159973, -0.32263946533203125, -0.25038567185401917, -0.030311834067106247, 0.1862569898366928, -0.17054808139801025, 0.30595681071281433, 1.1255934238433838, -0.33816179633140564, 0.4709646999835968, -0.5957310199737549, 0.5920761823654175, 0.21369296312332153, 0.17710208892822266, 0.28364527225494385, -0.8418685793876648, -0.2499687820672989, 0.06087416037917137, -0.44230133295059204, -1.1365426778793335, 0.2962583899497986, -0.22359125316143036, 0.5734474062919617, 0.3244234323501587, 0.2788445055484772, 0.7783909440040588, -0.6303761601448059, 0.8144354820251465, 0.47523462772369385, -0.9532245397567749, 0.6768544912338257, -0.15591326355934143, 0.5828526616096497, 0.44977906346321106, 0.5233514308929443, -0.6180203557014465, -0.828133225440979, -0.5337737202644348, -0.7501778602600098, 0.6409738659858704, -0.017607009038329124, 0.20391476154327393, -0.010881658643484116, -0.14974598586559296, 0.26432085037231445, 0.4499540627002716, -0.5960161089897156, -0.18212543427944183, -0.4843292534351349, -0.3653346002101898, -0.05735531076788902, -0.5306841731071472, -0.5255403518676758, -0.09010355919599533, 0.5870456695556641, 0.04114997386932373, -0.38120555877685547, 0.1775968372821808, -0.1891338974237442, -0.27177631855010986, 0.5609978437423706, 0.5851148366928101, 0.9306003451347351, 0.06134049966931343, 0.18406051397323608, 0.3863997161388397, -0.3917597532272339, 0.2709846794605255, 0.02738295868039131, -0.31120526790618896, -0.06041261553764343, 0.7200870513916016, 0.6041805148124695, 0.24846111238002777, -0.4408295154571533, 0.49526703357696533, 0.018208462744951248, -0.08621057868003845, -0.28905826807022095, -0.09952322393655777, -0.0435304120182991, 0.34770452976226807, 0.3320647180080414, -0.2652598023414612, -0.06449581682682037, -0.5378292202949524, 0.3354143500328064, 0.3945465385913849, -0.7974216938018799, -0.12130539864301682, 0.37584182620048523, 0.26426994800567627, -0.534824788570404, 0.2222423255443573, -0.1419004499912262, -0.6583619117736816, 0.5679665207862854, 0.6371123194694519, 0.8278526067733765, -0.6681894063949585, 0.4199286997318268, 0.48943203687667847, 0.6420843005180359, 0.6749984622001648, -0.039785757660865784, 0.12830223143100739, -0.7498674988746643, -0.32834944128990173, -0.8784687519073486, -0.39558154344558716, 0.5832420587539673, -0.6759620904922485, -0.010945308953523636, -0.5254223942756653, 0.17389369010925293, -0.1250615417957306, -0.023750431835651398, -0.4631275236606598, 0.34339645504951477, 0.2483522593975067, 0.5677802562713623, -0.8068219423294067, 0.4197871685028076, 0.374240517616272, -0.4596281349658966, -0.44199278950691223, 0.034157294780015945, 0.7024430632591248, -0.7482273578643799, 0.2641911506652832, 0.3676868677139282, -0.6249892115592957, -0.3951144218444824, -0.19199040532112122, -0.46480265259742737, 0.5580723285675049, 0.19359445571899414, -0.8774628639221191, 0.3828509449958801, 0.3200761377811432, 0.814680278301239, -0.7184695601463318, 0.542457640171051, 0.6717669367790222, 0.5223208069801331, -0.0858660563826561, -1.0191017389297485, 0.2923522889614105, 0.034721676260232925, -0.2645637094974518, -0.05305614694952965, -0.5424185395240784, 0.2654561698436737, -0.01319719199091196, -0.15006251633167267, 0.16307085752487183, 0.47172093391418457, 0.24803422391414642, 0.4456178545951843, 0.7919825911521912, 0.6404719352722168, 0.4137903153896332, 0.17819638550281525, 0.8356124758720398, -0.034264907240867615, -0.059053290635347366, 1.4635494947433472, -0.31274932622909546, 0.47140708565711975, 0.23194347321987152, -0.15237663686275482, 0.6455398201942444, 0.09047412127256393, -0.011749206110835075, 0.260031133890152, 0.506971538066864, -0.3010435700416565, -0.1382753551006317, -0.6200240254402161, 0.05106580629944801, 0.6743893027305603, 0.3053026795387268, -0.23191289603710175, -0.39590024948120117, -0.044174905866384506, 0.16824808716773987, 0.5522634387016296, -0.42138180136680603, 0.7367584705352783, 0.06990969181060791, -0.6779030561447144, 0.24737510085105896, 0.03282525762915611, 0.6733026504516602, -0.4687611162662506, -0.16545778512954712, 0.03589978069067001, -0.08874361962080002, -0.2987862527370453, -0.8507493138313293, 0.7328742742538452, 0.5430511236190796, -0.2609736919403076, -0.2767540514469147, 0.40501081943511963, -0.44920578598976135, -0.37924036383628845, 0.3930065631866455, 0.3528069853782654, 0.1195298433303833, -0.10471165180206299, -0.8362460136413574, 0.16687104105949402, -0.08763989061117172, -0.23067137598991394, 0.30823564529418945, 0.20086003839969635, -0.32417118549346924, 0.18397754430770874, 0.511305570602417, 0.06216498836874962, -0.4446617066860199, 0.6083716750144958, 0.5413530468940735, -0.6967403292655945, -0.3451085090637207, -1.0508992671966553, 0.4654538333415985, -0.025434479117393494, -0.49399152398109436, 0.571519672870636, 0.7109560966491699, 0.8411107063293457, 0.3913918435573578, 0.7981746792793274, -0.06823144108057022, 0.9574217796325684, -0.4010293781757355, 0.6551702618598938, -0.3990115523338318, 0.05805988982319832, -0.5368162989616394, -0.7803394794464111, 0.05567091330885887, 0.3075062036514282, -0.47712841629981995, -0.08539778739213943, 0.586012065410614, 0.7843745946884155, 0.18672247231006622, 0.06959938257932663, 0.44954562187194824, 0.27542009949684143, 0.48058146238327026, 0.37522652745246887, 0.8770418763160706, -0.2599875032901764, 0.6392152309417725, -0.046334829181432724, -0.26758790016174316, 0.21494150161743164, -1.0375829935073853, -0.7593816518783569, -0.3554740846157074, -0.1480533480644226, -0.29666391015052795, 0.13630789518356323, 0.5153858065605164, 0.4853087365627289, -0.8754932284355164, -0.23728644847869873, 0.4683119058609009, 0.2818806767463684, -0.07533435523509979, -0.2822226583957672, 0.09105119109153748, 0.12192176282405853, -0.7401110529899597, 0.675459086894989, 0.542203426361084, -0.4152340590953827, -0.5947670936584473, -0.2062327265739441, -0.3885026276111603, 0.33149757981300354, 0.6597802639007568, 0.028643837198615074, -1.018854022026062, -0.5553218126296997, -0.6602182388305664, -0.06287755072116852, -0.08574514091014862, 1.2119373083114624, -0.9009401798248291, 0.38205021619796753, 0.049324486404657364, 0.5204725861549377, 0.25992530584335327, 0.09250783175230026, 0.7995421290397644, -0.8012276291847229, 0.25361505150794983, 0.3575061857700348, 0.08600981533527374, 0.27259591221809387, -0.3251267671585083, 0.5598108768463135, 0.17793689668178558, -0.0926266759634018, -0.6455838084220886, 0.5829459428787231, -0.4872118830680847, -0.26530852913856506, 0.9556987881660461, -0.33948656916618347, 0.225087508559227, -0.39495086669921875, -0.009230510331690311, 0.3637898564338684, -0.26152583956718445, 0.721413254737854, 0.8174001574516296, -0.22834961116313934, -0.19464798271656036, -0.28046467900276184, 0.2684069871902466, 0.4913158416748047, -0.7457355856895447, 0.0016338108107447624, 0.6976458430290222, -0.056260403245687485, 0.33804911375045776, 0.8082249760627747, -0.2676595449447632, 0.08884494006633759, -0.03819238767027855, 0.04703042656183243, -0.0178819727152586, -0.3608875870704651, -0.31890493631362915, 0.06490856409072876, -0.27679482102394104, 0.3528556525707245 ]
http://arxiv.org/abs/2402.11671v1
http://arxiv.org/pdf/2402.11671v1
Autocorrect for Estonian texts: final report from project EKTB25
2024-02-18T18:20:57
2024-02-18T18:20:57
Agnes Luhtaru, Martin Vainikko, Krista Liin, Kais Allkivi-Metsoja, Jaagup Kippar, Pille Eslon, Mark Fishel
cs.CL
cs.CL, cs.AI
The project was funded in 2021-2023 by the National Programme of Estonian Language Technology. Its main aim was to develop spelling and grammar correction tools for the Estonian language. The main challenge was the very small amount of available error correction data needed for such development. To mitigate this, (1) we annotated more correction data for model training and testing, (2) we tested transfer-learning, i.e. retraining machine learning models created for other tasks, so as not to depend solely on correction data, (3) we compared the developed method and model with alternatives, including large language models. We also developed automatic evaluation, which can calculate the accuracy and yield of corrections by error category, so that the effectiveness of different methods can be compared in detail. There has been a breakthrough in large language models during the project: GPT4, a commercial language model with Estonian-language support, has been created. We took into account the existence of the model when adjusting plans and in the report we present a comparison with the ability of GPT4 to improve the Estonian language text. The final results show that the approach we have developed provides better scores than GPT4 and the result is usable but not entirely reliable yet. The report also contains ideas on how GPT4 and other major language models can be implemented in the future, focusing on open-source solutions. All results of this project are open-data/open-source, with licenses that allow them to be used for purposes including commercial ones.
[ -0.05444848909974098, -0.7588204741477966, 0.6086391806602478, -0.0743522197008133, -0.22353164851665497, -0.02394721284508705, -0.3536171615123749, -0.6392655372619629, 0.027046745643019676, 0.4945126473903656, 0.16100811958312988, -0.7031528353691101, -0.598022997379303, 0.5312910079956055, -0.6007888317108154, 0.5155357718467712, -0.5310738682746887, 0.26299333572387695, 0.012596683576703072, -0.1282445341348648, -0.6519924998283386, -0.8583193421363831, -0.5439777970314026, 0.18872115015983582, 0.4066999852657318, 0.7742916941642761, 0.3556603193283081, 0.8287454843521118, 0.5616288185119629, 0.3676411807537079, -0.08788125216960907, -0.2835913300514221, -0.02956809289753437, -0.013761906884610653, 0.018414275720715523, -0.6690554618835449, -0.46315714716911316, -0.10860168933868408, 0.7007685899734497, 0.10241740196943283, -0.31808334589004517, 0.1135483980178833, -0.09056501090526581, 0.6491931676864624, -0.3929402232170105, 0.2948886752128601, -0.5060521364212036, -0.08195763826370239, -0.37660759687423706, 0.4170559048652649, -0.45743218064308167, -0.4169781804084778, -0.19724582135677338, -0.2765345573425293, 0.10894425213336945, 0.09410683065652847, 0.9268035888671875, 0.12384641915559769, -0.46297717094421387, -0.5270708799362183, -0.7651844620704651, 0.644861102104187, -0.6852407455444336, 0.5160499811172485, 0.6785481572151184, 0.17957767844200134, 0.02912840247154236, -0.7942839860916138, -0.554396390914917, -0.29526379704475403, -0.08493023365736008, 0.22893565893173218, -0.21441121399402618, 0.19741611182689667, -0.07738807052373886, 0.5651553273200989, -0.361641526222229, 0.13073286414146423, -0.6544848680496216, -0.16890306770801544, 0.43938806653022766, 0.06028272584080696, 0.12280082702636719, -0.31752580404281616, 0.09133685380220413, -0.04907316714525223, -0.5063145756721497, -0.22627267241477966, 0.6752231121063232, 0.16375304758548737, 0.05586211755871773, 0.8300828337669373, -0.3110984265804291, 0.4999872148036957, 0.12820163369178772, 0.4917074143886566, 0.3697432279586792, -0.5585618019104004, -0.2826569080352783, 0.07435930520296097, 0.684371829032898, 0.13449358940124512, 0.10643354058265686, -0.092527836561203, -0.41127651929855347, 0.2391224056482315, 0.237868070602417, -0.3205951452255249, -0.4310639798641205, 0.2408834844827652, -0.4816238284111023, -0.326909601688385, -0.2061270922422409, -0.5891419649124146, 0.2500267028808594, -0.4939362704753876, 0.7097769975662231, -0.4893353581428528, -0.17191077768802643, 0.10958842188119888, 0.05275711044669151, -0.05514194071292877, 0.29050779342651367, -0.8958845138549805, 0.2377834916114807, 0.4293946921825409, 0.79319828748703, 0.036834005266427994, -0.30799272656440735, -0.3407037556171417, 0.025059597566723824, -0.48041844367980957, 0.9169377088546753, -0.3622562885284424, -0.5002925395965576, -0.029326120391488075, 0.2126452624797821, 0.053314946591854095, -0.4409466087818146, 0.8969570398330688, -0.18944405019283295, 0.6058208346366882, -0.32002297043800354, -0.6581432223320007, -0.10001647472381592, -0.08868149667978287, -0.5665799975395203, 1.2688764333724976, 0.14011773467063904, -0.3611602783203125, 0.3001149892807007, -0.7820307016372681, -0.3338419795036316, 0.24145609140396118, 0.17118653655052185, -0.49820199608802795, 0.12972812354564667, -0.07679730653762817, 0.23552395403385162, -0.12432092428207397, 0.1257576197385788, 0.18572962284088135, 0.0016112857265397906, -0.3093407154083252, -0.2140832394361496, 0.43407154083251953, 0.14477862417697906, -0.5818440914154053, 0.10566917061805725, -0.7577662467956543, 0.11893461644649506, -0.0832812562584877, -0.6390920281410217, -0.23109173774719238, -0.30965039134025574, 0.28001371026039124, 0.10128681361675262, 0.2590346038341522, -0.7993659973144531, 0.08024321496486664, -0.2395372986793518, 0.5148442387580872, 0.7659511566162109, -0.39292478561401367, 0.4033064544200897, 0.016206542029976845, 0.5493980050086975, 0.015635160729289055, 0.44550055265426636, -0.19786450266838074, -0.6333116292953491, -0.9850483536720276, -0.05406947061419487, 0.865242063999176, 0.6126805543899536, -0.5156704783439636, 0.5444767475128174, 0.20847219228744507, -0.7695484757423401, -0.6753147840499878, -0.0777091383934021, 0.6440608501434326, 0.5639786124229431, 0.46862202882766724, -0.6034445762634277, -0.7875198721885681, -1.0089588165283203, -0.28941309452056885, -0.4576471745967865, 0.26960527896881104, 0.14982497692108154, 0.48389682173728943, -0.23761272430419922, 0.559506356716156, -0.2383035570383072, -0.5825144052505493, 0.15169423818588257, 0.3579552173614502, 0.131710022687912, 0.4346690773963928, 0.40772855281829834, -0.6611039042472839, -0.8762617707252502, 0.08851779997348785, -0.3986046016216278, -0.17296603322029114, 0.5765510201454163, -0.14404700696468353, 0.8655861020088196, 0.5379992723464966, -0.5861694812774658, 0.5281566381454468, 0.5826098918914795, -0.6794643998146057, 0.7897727489471436, -0.4495943784713745, 0.370662659406662, -0.8925700783729553, 0.27009010314941406, -0.33607083559036255, -0.40943440794944763, -0.4671226441860199, -0.15492947399616241, 0.35550573468208313, 0.20072875916957855, -0.4092259705066681, 0.43875211477279663, -0.604633092880249, 0.1852787435054779, -0.07109653949737549, -0.21224389970302582, -0.4287068247795105, 0.13668031990528107, -0.13870124518871307, 0.8910354971885681, 0.3497459590435028, -0.4132689833641052, 0.5708857774734497, 0.5692216157913208, -0.29388073086738586, 0.6468265652656555, -0.42050600051879883, 0.37850913405418396, -0.1579291671514511, -0.011156877502799034, -0.9116241931915283, -0.16033273935317993, 0.21013645827770233, -0.6316656470298767, 0.36804327368736267, -0.2726724445819855, -0.5494367480278015, -0.4550885558128357, 0.1088719367980957, 0.025276875123381615, 0.7285573482513428, -0.2272050976753235, 0.7040821313858032, 0.6353666186332703, -0.3037070631980896, -0.23965278267860413, -0.5956678986549377, 0.6226077675819397, -0.16863103210926056, -0.3898875117301941, 0.1599387228488922, -0.19804422557353973, -0.23845499753952026, 0.32024481892585754, 0.19097837805747986, -0.22013911604881287, -0.15727609395980835, -0.01228755246847868, 0.23056186735630035, -0.34656596183776855, 0.22890198230743408, -0.16235338151454926, -0.22936654090881348, -0.13407596945762634, -0.4908270239830017, 0.3553224205970764, -0.37260159850120544, -0.046065475791692734, -0.20780062675476074, 0.26880431175231934, 0.42177802324295044, -0.2653217315673828, 0.5872167348861694, 0.32668986916542053, -0.34916529059410095, 0.15218061208724976, -0.8518648743629456, 0.13484933972358704, -0.48689448833465576, 0.2541179656982422, -0.3403150737285614, -0.6592140793800354, 0.3905736207962036, 0.34300675988197327, 0.10681205987930298, 0.758837103843689, 0.636371374130249, -0.1521863043308258, 0.6613273024559021, 0.6238840222358704, -0.018895816057920456, 0.4039444625377655, 0.04184442758560181, 0.023351559415459633, -0.5338627099990845, -0.21381045877933502, -0.8200789093971252, -0.1310964673757553, -0.49979493021965027, -0.2301352322101593, 0.19816163182258606, -0.029052289202809334, 0.3483287990093231, 0.7404987215995789, -0.4556499123573303, 0.479381263256073, 0.7857778072357178, -0.06360610574483871, 0.45419517159461975, -0.07005017250776291, -0.5058249831199646, -0.11518651247024536, -0.6374872922897339, -0.5911797285079956, 1.2786152362823486, 0.2758427858352661, 0.3113715648651123, 0.11105363070964813, 0.7138599753379822, 0.32218435406684875, 0.222421795129776, -0.5658948421478271, 0.376834899187088, -0.4695613384246826, -0.6515458822250366, -0.6813233494758606, -0.10409291088581085, -0.9676403999328613, -0.09238746017217636, -0.10292648524045944, -0.33031490445137024, 0.21257741749286652, 0.4866202473640442, -0.0692170038819313, 0.17572613060474396, -1.0579190254211426, 0.7503144145011902, -0.16921475529670715, -0.22546489536762238, -0.3934849500656128, -0.5720176696777344, -0.03460704907774925, -0.3759848475456238, 0.31930795311927795, 0.08800473809242249, 0.09580391645431519, 0.628862202167511, -0.5311865210533142, 0.5463499426841736, -0.0930129662156105, -0.20188894867897034, 0.3989127576351166, -0.07089272141456604, 0.5890131592750549, -0.40625157952308655, -0.08312574774026871, 0.37353870272636414, 0.0706482082605362, -0.2582225203514099, -0.022361649200320244, 0.4955480992794037, -0.5334831476211548, -0.3229382634162903, -0.41350802779197693, -0.17310333251953125, -0.021525857970118523, 0.4318130910396576, 0.3560677170753479, 0.45886313915252686, -0.4265436828136444, 0.26605480909347534, 0.5127283334732056, -0.14762668311595917, 0.4938138723373413, 0.5800365805625916, -0.20239339768886566, -0.7325484156608582, 0.48087796568870544, 0.3598153591156006, 0.24361149966716766, 0.2614472508430481, 0.10895515233278275, -0.3706125020980835, -0.5232393741607666, -0.5976898074150085, 0.34962916374206543, -0.8040138483047485, -0.05336449667811394, -0.7436791658401489, 0.01953037455677986, -0.6381960511207581, 0.11320081353187561, -0.5635519027709961, -0.6992399096488953, -0.16321507096290588, -0.17132380604743958, 0.4809196889400482, 1.0925571918487549, -0.3418775200843811, 0.3098990023136139, -0.7771849632263184, 0.2239183783531189, 0.011447002179920673, 0.6537368297576904, -0.2961079180240631, -0.3873392939567566, -0.5504953861236572, -0.1428757905960083, -0.32048299908638, -0.7174016833305359, 0.38374510407447815, 0.17318864166736603, 0.261142373085022, -0.43895453214645386, -0.2959928512573242, 0.471000999212265, -0.8772396445274353, 0.6892575621604919, 0.03614634647965431, -1.14485502243042, 0.4127040505409241, -0.41856202483177185, 0.4198656678199768, 0.5274127125740051, 0.00882475171238184, -0.9522296786308289, -0.4707854986190796, -0.9058325886726379, -0.9929448366165161, 0.6067296862602234, 0.39611703157424927, -0.07236073166131973, -0.04244508594274521, 0.5689816474914551, 0.12707795202732086, 0.2987731397151947, -0.35861915349960327, -0.17233535647392273, 0.05391373112797737, -0.6124851703643799, -0.22837652266025543, -0.4911417067050934, 0.31042951345443726, -0.22915789484977722, 1.0903185606002808, 0.1642507016658783, 0.4159221947193146, 0.342520534992218, -0.17005538940429688, -0.49867257475852966, 0.18666163086891174, 0.5225599408149719, 0.6983227133750916, 0.05944669246673584, -0.08772505074739456, 0.33416372537612915, -0.927843451499939, 0.1735461950302124, 0.153062641620636, -0.13326767086982727, 0.5365674495697021, 0.07235158234834671, 0.6646050810813904, 0.16165122389793396, -0.3567345142364502, 0.3361024558544159, -0.24962668120861053, -0.45717236399650574, -0.6615272164344788, -0.24913562834262848, 0.016734842211008072, 0.08861600607633591, 0.2787380814552307, -0.06404128670692444, 0.09440938383340836, -0.38461920619010925, 0.2612127959728241, 0.2227298766374588, -0.2146524041891098, -0.49492117762565613, 0.8498036861419678, 0.39572134613990784, -0.5121278762817383, 0.45441576838493347, 0.20341798663139343, -0.6323145031929016, 0.6521331071853638, 0.19830580055713654, 1.006554126739502, -0.833060622215271, 0.2028593271970749, 0.4817030727863312, 0.5904960632324219, -0.3617285192012787, 0.6900092363357544, 0.29813966155052185, -0.2703079283237457, -0.3808230459690094, -0.4788457155227661, -0.38008448481559753, 0.13740220665931702, -0.3995157778263092, 0.9254361987113953, -0.17905215919017792, -0.24198253452777863, -0.1984945684671402, -0.22228123247623444, -0.7411626577377319, 0.476744681596756, -0.13606342673301697, 0.8608137369155884, -0.7887417674064636, 0.7915116548538208, 0.6972557306289673, -0.1855299174785614, -0.8271742463111877, -0.29087120294570923, -0.2600260078907013, -0.5869598388671875, 0.6098548769950867, -0.1267019808292389, 0.13153059780597687, 0.33644384145736694, -0.43030694127082825, -1.1345478296279907, 0.8238905668258667, 0.18782205879688263, -0.9609925150871277, -0.15202859044075012, 0.233530193567276, 0.6259179711341858, 0.11361206322908401, 0.15977948904037476, 0.4733574390411377, 0.763024091720581, -0.18319688737392426, -1.5555912256240845, -0.33224156498908997, -0.12174655497074127, -0.25402408838272095, 0.6822035908699036, -0.5368226170539856, 0.7613792419433594, 0.19200527667999268, -0.13634724915027618, 0.263343870639801, 0.6895045042037964, -0.4323238134384155, 0.007352741435170174, 0.3533891439437866, 0.7577148675918579, 0.6691744923591614, -0.14685848355293274, 0.7920612692832947, -0.36789169907569885, 0.3716066777706146, 0.8844801187515259, 0.06296937167644501, 0.9178511500358582, 0.4400675594806671, -0.26438698172569275, 0.23199622333049774, 0.4795871078968048, -0.06603438407182693, 0.42958134412765503, -0.06698885560035706, -0.07537723332643509, 0.08775852620601654, 0.2100227028131485, -0.29764237999916077, 0.483295738697052, 0.028851976618170738, -0.5097437500953674, 0.06725313514471054, 0.012111927382647991, 0.12965701520442963, 0.06133538857102394, -0.12883222103118896, 0.7582709789276123, 0.026362182572484016, -0.6551774144172668, 0.382291704416275, 0.3245195746421814, 0.5543677806854248, -0.5054025650024414, -0.09353271126747131, -0.16903378069400787, 0.4302334487438202, -0.11095957458019257, -0.6517249345779419, 0.5359752774238586, 0.1873275637626648, -0.015826363116502762, -0.1473502814769745, 0.5648899078369141, -0.8111463785171509, -0.6352592706680298, 0.0006312885088846087, 0.26869523525238037, 0.30317074060440063, 0.11636777222156525, -0.35363587737083435, -0.040519971400499344, -0.04427160322666168, -0.008376715704798698, -0.0869733989238739, 0.5247995853424072, -0.1297977864742279, 0.3690217435359955, 0.4380229115486145, 0.35711413621902466, 0.28810495138168335, -0.30023807287216187, 0.3992614150047302, -0.6333035230636597, -0.7077333927154541, -0.7453868985176086, 0.6198200583457947, 0.19594353437423706, -0.48045113682746887, 0.9142791032791138, 0.7587059140205383, 0.9452911615371704, -0.20472513139247894, 1.0064202547073364, -0.1303277462720871, 0.7124081254005432, -0.6820515990257263, 0.6501668095588684, -0.17978353798389435, -0.1527489721775055, -0.3055325746536255, -0.9371262788772583, -0.3300408124923706, 0.35707956552505493, -0.1257137954235077, -0.14354370534420013, 1.0796315670013428, 0.4792403280735016, 0.050932876765728, 0.02391815185546875, 0.3793966472148895, 0.6563098430633545, 0.17727446556091309, 0.23334601521492004, 0.4796324074268341, -0.6724638938903809, 0.46327444911003113, -0.23001308739185333, -0.21170848608016968, -0.20249073207378387, -0.8585339784622192, -0.5123236775398254, -1.0024538040161133, -0.3384940028190613, -0.43837711215019226, 0.5879068374633789, 0.8025415539741516, 0.3240912854671478, -0.8875453472137451, -0.4035261273384094, -0.253791481256485, -0.4255303740501404, 0.15349772572517395, -0.0851643905043602, 0.37856531143188477, -0.16296343505382538, -0.8984127640724182, 0.16244395077228546, 0.1179574579000473, 0.11071716248989105, -0.12907442450523376, 0.06488163769245148, -0.3209836184978485, -0.0894598662853241, 0.46153613924980164, 0.13683359324932098, -0.531221330165863, -0.3855796158313751, 0.07669351249933243, -0.0010129630099982023, 0.30899322032928467, 0.5040556192398071, -0.6634151935577393, 0.5826140642166138, 0.363794207572937, 0.29553157091140747, 0.3872152268886566, -0.17581167817115784, 0.9535385966300964, -0.33799007534980774, -0.05003335326910019, 0.12437567859888077, 0.33756697177886963, 0.5273756384849548, -0.6630755066871643, 0.6836996078491211, 0.224168598651886, -0.9049641489982605, -0.7183350920677185, -0.07878296822309494, -0.2050820291042328, 0.00816168263554573, 1.196475625038147, 0.15493710339069366, -0.3261050283908844, -0.32314786314964294, -0.596608579158783, 0.34339144825935364, -0.4065825045108795, 0.9793384671211243, 1.1825017929077148, 0.14868491888046265, -0.11392123997211456, -0.6425959467887878, 0.6294819116592407, 0.5679879784584045, -0.7933276295661926, 0.03882186487317085, 0.7461720705032349, 0.2621925473213196, -0.08648223429918289, 0.5435896515846252, -0.33530229330062866, 0.333778977394104, -0.28768450021743774, 0.5520648956298828, -0.030819837003946304, -0.3117270767688751, -0.7171918749809265, -0.3389180302619934, 0.2919650971889496, -0.20281465351581573 ]
http://arxiv.org/abs/2402.11656v2
http://arxiv.org/pdf/2402.11656v2
Integrating Pre-Trained Language Model with Physical Layer Communications
2024-02-18T17:27:51
2024-06-28T23:00:45
Ju-Hyung Lee, Dong-Ho Lee, Joohan Lee, Jay Pujara
cs.IT
cs.IT, cs.CL, cs.LG, eess.SP, math.IT
The burgeoning field of on-device AI communication, where devices exchange information directly through embedded foundation models, such as language models (LMs), requires robust, efficient, and generalizable communication frameworks. However, integrating these frameworks with existing wireless systems and effectively managing noise and bit errors pose significant challenges. In this work, we introduce a practical ondevice AI communication framework, integrated with physical layer (PHY) communication functions, demonstrated through its performance on a link-level simulator. Our framework incorporates end-to-end training with channel noise to enhance resilience, incorporates vector quantized variational autoencoders (VQ-VAE) for efficient and robust communication, and utilizes pre-trained encoder-decoder transformers for improved generalization capabilities. Simulations, across various communication scenarios, reveal that our framework achieves a 50% reduction in transmission size while demonstrating substantial generalization ability and noise robustness under standardized 3GPP channel models.
[ -0.43065690994262695, -0.8469275832176208, 0.25486546754837036, 0.3653744161128998, -0.30556485056877136, 0.05852871015667915, -0.0767759382724762, -0.807152271270752, 0.044317957013845444, 0.2251180112361908, -0.26487496495246887, -0.24123644828796387, -0.2348061352968216, -0.3811708092689514, -0.18284395337104797, 0.4353008270263672, -0.18237687647342682, -0.21714791655540466, -0.15977774560451508, 0.15938864648342133, -0.10397122800350189, -0.5435715913772583, -0.5996133089065552, -0.3361704349517822, -0.020213311538100243, 0.036719910800457, 0.5072663426399231, 0.36560073494911194, 0.3684365749359131, 0.2504809498786926, 0.003784129163250327, 0.11569767445325851, -0.09370150417089462, 0.07005640119314194, -0.0353727713227272, -0.2559678256511688, -0.7339494228363037, 0.009511073119938374, 0.5241664052009583, 0.6413219571113586, -0.3540074825286865, -0.14740794897079468, -0.13578353822231293, 0.3721112906932831, -0.6462661027908325, 0.19812169671058655, -0.4657694697380066, 0.24597232043743134, 0.2910030484199524, -0.16360707581043243, -0.396684855222702, 0.20102177560329437, 0.32008588314056396, -0.5851839780807495, -0.3628520965576172, -0.14950306713581085, 0.971735417842865, 0.3324970304965973, -0.2320212572813034, 0.030385121703147888, -1.2356839179992676, 0.5447009801864624, -0.8258081078529358, 0.7189764380455017, 0.727043867111206, 0.19180850684642792, 0.10654003918170929, -0.7384814620018005, -0.6179907917976379, -0.4867428243160248, 0.243688702583313, 0.22696614265441895, -0.2111610770225525, 0.5020277500152588, -0.06503523886203766, 0.42166370153427124, -0.2827151119709015, 0.20941311120986938, -0.143024742603302, -0.1256200224161148, 0.40664103627204895, -0.24054594337940216, 0.22339797019958496, 0.4254230558872223, -0.11226320266723633, 0.15041132271289825, -0.5681036710739136, -0.12958000600337982, 0.31306424736976624, -0.026337992399930954, -0.632957398891449, 0.2866175174713135, -0.29561299085617065, 0.7998539805412292, 0.38865500688552856, -0.19464285671710968, 0.29276567697525024, -0.5149653553962708, -0.3429420292377472, 0.010754127986729145, 0.8453983068466187, 0.004358816891908646, 0.07182779908180237, -0.4353463649749756, -0.20541144907474518, 0.04044622927904129, 0.3913947641849518, -0.7924426794052124, -0.4298815429210663, 0.30195605754852295, -0.6105786561965942, -0.26775750517845154, -0.08388116955757141, -0.3202717900276184, 0.013743946328759193, 0.09592469036579132, 0.28700512647628784, -0.33499303460121155, -0.570768415927887, 0.5388895869255066, 0.21546302735805511, 0.45519158244132996, 0.2501186430454254, -1.097442388534546, 0.4023342728614807, 0.2273779958486557, 0.7054058909416199, 0.4402497112751007, -0.2856101095676422, -0.45323964953422546, 0.5663497447967529, -0.20783084630966187, 0.5317910313606262, -0.23667261004447937, -0.5389710068702698, -0.3139934539794922, -0.22005705535411835, -0.07631703466176987, -0.33700236678123474, 0.3123342990875244, -0.3066590428352356, 0.1291991025209427, 0.445346862077713, -0.2539035379886627, 0.2984786927700043, 0.18389274179935455, -0.41625523567199707, 0.5140329599380493, 0.16153939068317413, -0.5129334330558777, -0.01615389809012413, -0.6582369804382324, -0.7221384644508362, 0.08515141904354095, -0.15050005912780762, -0.6203706860542297, 0.18351860344409943, 0.1845788210630417, 0.46710532903671265, -0.36316460371017456, -0.07397400587797165, -0.18967726826667786, -0.36217013001441956, 0.014263121411204338, -0.4857698380947113, 0.4896603226661682, 0.41771820187568665, -0.7133822441101074, -0.018739812076091766, -1.0367283821105957, 0.16880834102630615, -0.10801705718040466, -0.3379286229610443, -0.2964683175086975, -0.020643021911382675, -0.16337350010871887, 0.17788970470428467, 0.17321614921092987, -0.8474020957946777, 0.0642596036195755, -0.425395131111145, 0.7264019846916199, 0.20116399228572845, -0.14563214778900146, 0.7941641807556152, -0.11560703814029694, 0.39621540904045105, 0.029194816946983337, 0.3553979694843292, -0.1988336592912674, -0.5483843684196472, -0.46687042713165283, -0.4019092619419098, 0.19356822967529297, 0.6802979111671448, -0.8507205843925476, 0.7807564735412598, -0.28828150033950806, -0.512546956539154, -0.6640746593475342, 0.07058446109294891, 0.3355635106563568, 0.550560474395752, 0.4123099744319916, -0.33453717827796936, -0.14625196158885956, -0.5985590219497681, 0.14286693930625916, -0.6176171898841858, -0.20589733123779297, 0.5051258206367493, -0.08304022997617722, -0.5177424550056458, 0.6583200097084045, 0.2411099672317505, 0.032317884266376495, -0.30182114243507385, 0.1921282410621643, -0.3218529522418976, 0.8757220506668091, 0.49071478843688965, -0.6361732482910156, -0.08722449839115143, 0.33911508321762085, -0.6875672340393066, -0.1624240279197693, -0.25334304571151733, 0.08923201262950897, -0.05239283666014671, 0.44807517528533936, -0.8236909508705139, 0.6644518375396729, 0.7070083618164062, -0.23767511546611786, 0.29072004556655884, -0.5647892355918884, 0.3135247528553009, -0.9694989323616028, -0.13629408180713654, 0.1589645892381668, -0.23561307787895203, -0.6403372883796692, -0.08101384341716766, -0.01944214291870594, -0.2881491780281067, -0.6284629106521606, 0.3282737731933594, -0.4308941066265106, -0.26434820890426636, -0.21938511729240417, -0.1674744188785553, 0.2033667266368866, 0.21754899621009827, 0.12044534832239151, 0.7327377200126648, 0.6248029470443726, -0.76246577501297, 0.442954957485199, -0.08874250203371048, 0.015290082432329655, 0.60300612449646, -1.0739880800247192, 0.012656016275286674, 0.030502481386065483, 0.2813296318054199, -0.5170843005180359, 0.05626634880900383, 0.31922924518585205, -0.3519524037837982, 0.2337820827960968, -0.15636329352855682, -0.3646054267883301, -0.18600082397460938, -0.3001757264137268, 0.6663568019866943, 0.5571458339691162, -0.46668094396591187, 0.896106481552124, 0.5799299478530884, 0.27479901909828186, -0.18422545492649078, -0.9505097270011902, -0.09398651123046875, -0.020599622279405594, -0.7854558825492859, 0.6153873801231384, -0.19314469397068024, 0.03537354618310928, 0.06489869207143784, 0.03408470377326012, -0.24782240390777588, 0.4017389118671417, 0.3484642505645752, -0.0389723964035511, -0.2926434874534607, -0.1122782975435257, 0.17362171411514282, 0.05546996742486954, 0.1940961331129074, -0.554039478302002, 0.7582347989082336, -0.3158979117870331, -0.6677409410476685, -0.9561725854873657, 0.28805679082870483, 0.46522256731987, -0.3126574158668518, 0.816987931728363, 0.5894989967346191, -0.4171619713306427, -0.2368965446949005, -0.21776260435581207, -0.22520600259304047, -0.5441576838493347, 0.5694156885147095, -0.7061564326286316, -0.6989517211914062, 0.36083054542541504, -0.3286181390285492, -0.193413645029068, 0.020169895142316818, 0.10898265242576599, -0.38987937569618225, 1.0859434604644775, 0.7013663649559021, -0.21406283974647522, 0.5709818601608276, -0.2970591187477112, 0.46259015798568726, -0.7365524172782898, -0.3847567141056061, -0.26567116379737854, -0.007709144614636898, -0.4300287365913391, -0.6334106922149658, 0.03843327611684799, 0.5281277298927307, -0.6983600854873657, 0.10618875920772552, -0.4489322304725647, 0.28580936789512634, 0.3760879933834076, 0.24280507862567902, 0.10561374574899673, 0.3601340055465698, 0.2217792421579361, 0.17793938517570496, -0.8443225026130676, -0.3847533166408539, 0.8339530229568481, 0.9463514089584351, 0.9992676973342896, 0.05996686592698097, 0.46159806847572327, 0.02334395982325077, 0.2520827054977417, -0.49747395515441895, 0.48107776045799255, 0.026360467076301575, 0.02408638969063759, -0.1737913340330124, -0.5596610307693481, -0.5128737688064575, -0.02400404028594494, -0.14255088567733765, -0.8832533955574036, 0.36783862113952637, 0.15917910635471344, -0.37424421310424805, 0.5491617918014526, -0.5250247120857239, 0.5299628376960754, -0.24216590821743011, -0.24197396636009216, -0.16086073219776154, -0.5657899379730225, 0.18658757209777832, 0.1914588212966919, 0.07354698330163956, 0.05311425402760506, 0.015456109307706356, 0.507776141166687, -0.4433307349681854, 0.7903484106063843, -0.09787987917661667, -0.29610273241996765, 0.47412532567977905, -0.08677522838115692, 0.3842597007751465, 0.13527512550354004, 0.1047227755188942, 0.3617329001426697, -0.22145259380340576, -0.4290115535259247, -0.43622222542762756, 0.5617783665657043, -1.2831287384033203, -0.19126883149147034, 0.06400957703590393, -0.4300377666950226, -0.3355731666088104, -0.11870822310447693, 0.23566393554210663, 0.5769190192222595, -0.049965593963861465, 0.19114813208580017, 0.7856916189193726, -0.4488386809825897, 0.3171025812625885, 0.36054500937461853, -0.20040583610534668, -0.35344934463500977, 1.176477074623108, -0.37508493661880493, 0.5823273658752441, 0.24221159517765045, -0.09466417878866196, -0.042390454560518265, -0.47494131326675415, -0.6469094753265381, 0.10342885553836823, -0.5000563859939575, -0.102664053440094, -0.8361676335334778, -0.7841262221336365, -0.332265704870224, -0.25724858045578003, -0.7769275903701782, -0.13554242253303528, -0.3119947016239166, -0.17024189233779907, -0.06649979203939438, 0.6886652708053589, -0.19204357266426086, 0.8268199563026428, -0.7584853172302246, 0.3170475363731384, 0.2626414895057678, 0.4483800232410431, -0.022051533684134483, -0.5617512464523315, -0.5350562334060669, 0.2707926630973816, -0.03796254098415375, -0.7705559730529785, 0.19386327266693115, 0.39317652583122253, 0.7601033449172974, 0.27690407633781433, -0.15275797247886658, 0.5270674824714661, -0.057528864592313766, 0.7150428891181946, 0.2663673460483551, -1.1321861743927002, 0.6655099987983704, -0.28622156381607056, 0.25953200459480286, 0.34909841418266296, 0.14621111750602722, -0.12283976376056671, -0.31579849123954773, -0.695483386516571, -0.7183733582496643, 0.24334709346294403, 0.0006245439290069044, 0.2735793888568878, -0.015486096031963825, 0.42444074153900146, -0.4682874083518982, 0.19035251438617706, -0.6601355075836182, -0.26816070079803467, -0.5151553153991699, -0.4781818091869354, 0.45130717754364014, -0.12103778123855591, -0.02012844756245613, -0.37960630655288696, 0.33274686336517334, 0.08758209645748138, 0.6010316610336304, 0.24273598194122314, -0.09659625589847565, -0.07045183330774307, 0.03536246344447136, 0.5152803063392639, 0.6087319850921631, -0.07206439226865768, 0.02770368941128254, 0.025864236056804657, -0.7269980907440186, 0.29826048016548157, 0.363938570022583, -0.03010108508169651, -0.23193755745887756, 0.35260656476020813, 1.041088342666626, 0.3009829521179199, -0.4936017394065857, 0.5127248764038086, -0.24277758598327637, -0.08886236697435379, -0.08376148343086243, -0.2049247920513153, 0.04939158633351326, 0.13773344457149506, 0.21212510764598846, -0.00696798088029027, -0.07393129169940948, -0.4683251976966858, 0.28086134791374207, 0.4419996738433838, -0.2580524981021881, -0.6486946940422058, 0.8736718893051147, 0.7761393189430237, -0.24837040901184082, 0.5498440265655518, -0.2247978001832962, -0.4175056517124176, 0.6650209426879883, 0.7177401185035706, 0.605155348777771, -0.3590124845504761, 0.4316841661930084, -0.11755164712667465, 0.5180954337120056, 0.10317114740610123, 0.37810105085372925, -0.2380586862564087, -0.8940671682357788, -0.5689616799354553, -0.5389274954795837, -0.20674391090869904, 0.19293507933616638, -0.263282835483551, -0.05004848167300224, -0.7683702707290649, -0.1034364178776741, -0.5714349150657654, -0.1791735291481018, -0.6413704752922058, 0.4809209108352661, 0.46976545453071594, 0.7844071984291077, -0.694288432598114, 1.118463397026062, 0.8551751375198364, -0.2402033507823944, -1.101401686668396, 0.12339586019515991, -0.5494404435157776, -0.5272234678268433, 0.7292961478233337, -0.11806114763021469, -0.3330616056919098, 0.3015032112598419, -0.2620866298675537, -0.6389808654785156, 1.1196494102478027, 0.34022533893585205, -0.48882490396499634, 0.1473502516746521, 0.2387024611234665, 0.44061699509620667, -0.5953627824783325, 0.6283126473426819, 0.13412773609161377, 0.1616498827934265, 0.06712311506271362, -1.1993072032928467, -0.25212913751602173, -0.22777722775936127, 0.09110376983880997, -0.09135406464338303, -0.5888009071350098, 0.7719931602478027, -0.13269861042499542, -0.14282077550888062, 0.14587891101837158, 0.9068700671195984, 0.20897948741912842, 0.08877325803041458, 0.5095944404602051, 0.562430739402771, 0.5963439345359802, 0.10643374174833298, 1.0267969369888306, -0.7777283787727356, -0.002235976280644536, 0.775406002998352, -0.34093913435935974, 0.6520360708236694, 0.33575910329818726, -0.02353152073919773, 0.38661617040634155, 0.4369890093803406, 0.5076817870140076, 0.8525114059448242, 0.3457508683204651, -0.7205439805984497, -0.09377691894769669, -0.15687792003154755, -0.6195371150970459, 0.22065259516239166, 0.27217337489128113, -0.06308076530694962, 0.08203843235969543, 0.277225136756897, -0.16369561851024628, -0.05717899650335312, -0.46697402000427246, 0.5070008635520935, 0.002770397812128067, 0.07999156415462494, 0.4349367320537567, 0.19578732550144196, 0.9118431806564331, -0.5842857956886292, 0.024847300723195076, -0.3338935077190399, 0.2657868266105652, -0.0760020911693573, -0.49038761854171753, 0.1877032071352005, -0.41919514536857605, -0.025723986327648163, -0.012782146222889423, 1.06065034866333, -0.6202688217163086, -0.20200201869010925, 0.3221125304698944, 0.5286945104598999, 0.021107330918312073, -0.008068983443081379, -0.550027072429657, 0.5847809314727783, -0.3446362018585205, -0.25463494658470154, 0.37629953026771545, 0.5873864889144897, 0.1590452343225479, 0.9210038781166077, 0.5989044308662415, 0.4136744737625122, 0.19555510580539703, 0.1627446860074997, 0.9995459318161011, -0.3271496295928955, -0.6627390384674072, -0.47092390060424805, 0.6171671748161316, -0.3237251341342926, -0.30055224895477295, 0.5496958494186401, 0.3165567219257355, 0.9803327322006226, 0.09515992552042007, 0.8032111525535583, 0.04631924256682396, -0.2261429727077484, -0.30423927307128906, 0.9280783534049988, -0.1345977485179901, 0.7223725914955139, -0.03380768746137619, -0.8030790090560913, -0.011901537887752056, 0.9317640662193298, -0.11144499480724335, 0.3316671550273895, 0.23782861232757568, 0.44938206672668457, -0.36460182070732117, 0.07334442436695099, 0.5085394382476807, 0.13820360600948334, 0.5276604294776917, 0.5293874144554138, 0.6622258424758911, -0.7033494114875793, 0.3273540437221527, -0.6694550514221191, -0.28859010338783264, 0.020217612385749817, -0.7423171997070312, -0.746683657169342, -0.3142686188220978, -0.4586436152458191, -0.36993542313575745, 0.4848650395870209, 0.7166150212287903, 1.0343166589736938, -0.40080055594444275, -0.3166145384311676, -0.30598846077919006, -0.278878778219223, 0.050851453095674515, -0.14711706340312958, 0.00893750973045826, -0.09992001205682755, -0.5196645259857178, 0.6172206997871399, 0.3559691309928894, 0.4419669508934021, -0.4252886176109314, -0.5065404176712036, 0.013046774081885815, 0.08334223181009293, 0.5511084794998169, 0.6136824488639832, -0.4084330201148987, -0.3378276228904724, -0.21006862819194794, -0.2209310382604599, -0.1418185979127884, 0.9006965160369873, -1.003700852394104, 0.19169902801513672, 0.2636553645133972, 0.8688563704490662, 0.34765398502349854, 0.21916624903678894, 0.8757327198982239, -0.8286354541778564, 0.8119158744812012, 0.2609136998653412, 0.15484628081321716, 0.4119814336299896, -0.33906039595603943, 0.10304335504770279, 0.301113486289978, -0.4888882040977478, -0.8544804453849792, 0.18379153311252594, -0.8181900978088379, -0.19833087921142578, 0.9509236812591553, -0.5286990404129028, -0.13349686563014984, -0.1604791134595871, 0.0270644873380661, 0.08246743679046631, -0.13667555153369904, 0.43011319637298584, 0.13151898980140686, 0.08091767132282257, -0.690542459487915, -0.39188265800476074, 0.3765478730201721, 0.3893781006336212, -1.0743383169174194, -0.29805004596710205, 0.20716077089309692, -0.0022092126309871674, -0.03820310905575752, 0.9305245876312256, 0.07574082165956497, 0.23412305116653442, 0.08784139156341553, 0.2023618072271347, -0.2332092672586441, -0.43983975052833557, -0.19376322627067566, -0.052579931914806366, 0.172220841050148, -0.43680334091186523 ]
http://arxiv.org/abs/2402.11655v2
http://arxiv.org/pdf/2402.11655v2
Competition of Mechanisms: Tracing How Language Models Handle Facts and Counterfactuals
2024-02-18T17:26:51
2024-06-06T21:45:21
Francesco Ortu, Zhijing Jin, Diego Doimo, Mrinmaya Sachan, Alberto Cazzaniga, Bernhard Schölkopf
cs.CL
cs.CL
Interpretability research aims to bridge the gap between empirical success and our scientific understanding of the inner workings of large language models (LLMs). However, most existing research focuses on analyzing a single mechanism, such as how models copy or recall factual knowledge. In this work, we propose a formulation of competition of mechanisms, which focuses on the interplay of multiple mechanisms instead of individual mechanisms and traces how one of them becomes dominant in the final prediction. We uncover how and where mechanisms compete within LLMs using two interpretability methods: logit inspection and attention modification. Our findings show traces of the mechanisms and their competition across various model components and reveal attention positions that effectively control the strength of certain mechanisms. Code: https://github.com/francescortu/comp-mech. Data: https://huggingface.co/datasets/francescortu/comp-mech.
[ -0.11811685562133789, -0.8099721670150757, 0.8562307357788086, 0.21689802408218384, -0.2304646074771881, 0.08542264252901077, 0.027441494166851044, -0.7284218668937683, 0.08119938522577286, 0.5842797756195068, -0.655369222164154, -0.1440715491771698, -0.7239631414413452, 0.14533968269824982, -0.5564903616905212, 0.8707305192947388, -0.2229706346988678, -0.01354803703725338, -0.3184283971786499, -0.2898980379104614, -0.0733068436384201, -0.7652192711830139, -0.4390815496444702, -0.5956979990005493, 0.6609243750572205, 0.1467255800962448, 0.49898844957351685, 0.8082446455955505, 0.48679864406585693, 0.36316660046577454, -0.26995545625686646, -0.2050188183784485, -0.5799930095672607, 0.20287451148033142, -0.3484751582145691, -0.858185350894928, -0.3243069648742676, 0.2054600715637207, 0.7293241024017334, 0.3423386216163635, -0.17688561975955963, 0.12273570150136948, 0.4030982553958893, 0.41865164041519165, -0.4032149016857147, 0.5109257698059082, -0.6853811740875244, -0.3999658226966858, -0.5096518397331238, -0.4520310163497925, -0.6187332272529602, -0.14817148447036743, 0.303645521402359, -0.4306032955646515, 0.4012608528137207, 0.23427318036556244, 0.7550952434539795, 0.16666966676712036, -0.34227293729782104, -0.5852539539337158, -0.404990553855896, 0.8201618194580078, -0.7246376872062683, 0.3801230490207672, 0.2647455930709839, -0.05099399760365486, 0.14550544321537018, -0.8412859439849854, -0.3816715180873871, -0.2747802734375, -0.4979088306427002, 0.00646967301145196, -0.49925410747528076, 0.002257220447063446, 0.47877687215805054, 0.20181359350681305, -0.5653710961341858, 0.1487777829170227, -0.47254303097724915, -0.210584819316864, 0.40252047777175903, 0.21023482084274292, 0.47241640090942383, -0.07132493704557419, -0.2681598663330078, 0.01322147436439991, -0.8177582025527954, -0.0003007357008755207, 0.34704968333244324, 0.20516541600227356, -0.13207969069480896, 0.46539974212646484, -0.3243379592895508, 0.6168647408485413, -0.08446851372718811, 0.04327132925391197, 0.0792461484670639, -0.4515155255794525, -0.21486489474773407, 0.24575063586235046, 0.6746628284454346, 0.38041776418685913, -0.04131179302930832, -0.18310247361660004, -0.17031820118427277, 0.11157998442649841, 0.3891938030719757, -0.4727003276348114, -0.09405776113271713, 0.0892244502902031, -0.3577560484409332, -0.46607506275177, -0.30581873655319214, -0.854111909866333, -0.06415002048015594, -0.377958208322525, 0.4521910846233368, -0.03183426707983017, -0.22681720554828644, 0.12415237724781036, -0.05747247114777565, 0.2595681846141815, 0.018381165340542793, -0.9327443242073059, 0.4546978175640106, 0.8732237815856934, 1.1257731914520264, -0.15627306699752808, -0.4107995331287384, -0.54300457239151, 0.051908813416957855, -0.17066040635108948, 0.6376693248748779, -0.5478100776672363, -0.14326579868793488, -0.07313603162765503, 0.15759114921092987, -0.4452866017818451, -0.5105140209197998, 0.6888018250465393, -0.8868898749351501, 0.09502904117107391, -0.4032251834869385, -0.6688209176063538, -0.4790864586830139, 0.21492446959018707, -1.1040687561035156, 0.6978811621665955, -0.20779570937156677, -0.8854981064796448, 0.22015507519245148, -0.727155864238739, -0.4068296253681183, -0.19376157224178314, -0.14108386635780334, -0.4818487763404846, 0.339948445558548, -0.18585115671157837, 0.3014949560165405, -0.2616032063961029, 0.19442570209503174, -0.4918619990348816, -0.028361255303025246, 0.37090176343917847, -0.4226740300655365, 0.7981818914413452, 0.09690899401903152, -0.6393179297447205, 0.32411614060401917, -0.7089101076126099, -0.43674787878990173, 0.29741352796554565, -0.24519094824790955, -0.25521400570869446, 0.2391451597213745, -0.19132962822914124, 0.3566143810749054, -0.07044709473848343, -0.4316956400871277, 0.0879303514957428, -0.2866329848766327, 0.6613860130310059, 0.6159789562225342, -0.09392882883548737, 0.37171342968940735, -0.2595623731613159, 0.6120938062667847, -0.14356070756912231, 0.17168471217155457, -0.1324148178100586, -0.3291322588920593, -0.7782350778579712, 0.027661625295877457, 0.21193702518939972, 0.36978885531425476, -0.527886152267456, -0.09702625125646591, -0.04755771905183792, -0.2477710098028183, -0.5027500987052917, 0.09694578498601913, 0.6789093017578125, 0.3036649525165558, 0.1241941899061203, -0.3566569983959198, -0.5431056618690491, -0.8366014957427979, -0.3755372166633606, -0.22764858603477478, 0.40195369720458984, 0.16089697182178497, 0.3761104941368103, 0.136912003159523, 0.6713863015174866, -0.39345046877861023, -0.11362995952367783, -0.37106671929359436, 0.3709738254547119, 0.06823039799928665, 0.3399048447608948, 0.7774258255958557, -0.9410644769668579, -0.44242310523986816, 0.053662341088056564, -0.8268513679504395, -0.3372909128665924, -0.032749515026807785, -0.0005545400781556964, 0.41177698969841003, 0.9973315000534058, -0.6928285360336304, 0.5539343953132629, 0.772487461566925, -0.41941899061203003, 0.8574181795120239, 0.14438673853874207, 0.233137845993042, -0.40422773361206055, 0.2716754674911499, -0.13463714718818665, -0.20562976598739624, -0.7365411520004272, 0.5661642551422119, -0.11720267683267593, 0.38600513339042664, -0.5964773297309875, 0.5907301902770996, -0.40351402759552, 0.005712599493563175, -0.27094271779060364, 0.3613310754299164, -0.022689931094646454, 0.4964429438114166, 0.0008436563657596707, 0.535332977771759, 0.6138346791267395, -0.5834665894508362, 0.4015021324157715, 0.12646998465061188, -0.7153605222702026, 0.276100754737854, -0.836505651473999, -0.013892621733248234, 0.11309278756380081, 0.06990212202072144, -1.199554681777954, -0.15008430182933807, 0.3111427426338196, -0.4174037277698517, 0.20673887431621552, -0.19019700586795807, -0.6335012316703796, -0.003098769811913371, -0.1531330645084381, 0.24773834645748138, 0.23225602507591248, -0.4590567350387573, 0.6917688250541687, 0.03357253223657608, -0.3990864157676697, -0.579692542552948, -0.6024312376976013, 0.09608949720859528, -0.49803847074508667, -0.278710275888443, -0.07111388444900513, -0.09615398198366165, -0.6548475027084351, 0.17138251662254333, -0.16757366061210632, 0.23278994858264923, 0.2691521942615509, 0.09986608475446701, 0.12679263949394226, -0.38875246047973633, 0.0003931493265554309, -0.03750799596309662, -0.17390553653240204, 0.3758120536804199, -0.15785694122314453, 0.4640437662601471, 0.22735092043876648, -0.3908972442150116, -0.36295780539512634, 0.10387896001338959, 0.7850480079650879, -0.23369432985782623, 0.8385042548179626, 0.26196277141571045, 0.0531843937933445, -0.145115926861763, -0.6194505095481873, -0.26302218437194824, -0.46598008275032043, 0.35904571413993835, -0.7390027046203613, -0.849825382232666, 0.6108062863349915, 0.055329278111457825, 0.041448574513196945, 0.37279072403907776, 0.7252736687660217, 0.3191600441932678, 1.1302262544631958, 0.5858399271965027, -0.24004685878753662, 0.42008548974990845, 0.13162697851657867, 0.02793888933956623, -0.7573017477989197, -0.21649476885795593, -0.6372649669647217, -0.1689114272594452, -0.5285314917564392, -0.34146690368652344, 0.10913247615098953, 0.057324159890413284, 0.2690849304199219, 0.3558737635612488, -0.0660790503025055, 0.5710946917533875, 0.6622647643089294, 0.04928947240114212, 0.6059772372245789, -0.0014496000949293375, -0.535521924495697, -0.050211627036333084, -0.8199370503425598, -0.5819793939590454, 0.9485803246498108, 0.39535558223724365, 0.6899121403694153, 0.2311577945947647, 0.3488287925720215, 0.21794699132442474, 0.4256170392036438, -0.6654065251350403, 0.6242821216583252, -0.04589282348752022, -0.8688288927078247, -0.2544628381729126, -0.2915182113647461, -0.8527306318283081, 0.47282055020332336, 0.1410384327173233, -0.9744690656661987, 0.2473887801170349, 0.2637576162815094, 0.03144196793437004, 0.4014016389846802, -0.6884034872055054, 0.9618827104568481, -0.18498897552490234, -0.7414649724960327, -0.5609855651855469, -0.6937004923820496, 0.28985247015953064, -0.10473733395338058, 0.29900461435317993, 0.13026028871536255, 0.33046019077301025, 0.6250975131988525, 0.10846010595560074, 1.1893709897994995, 0.12244853377342224, -0.4237249195575714, 0.1846744567155838, 0.3061826825141907, 0.5317831039428711, -0.2668853998184204, -0.04415861889719963, 0.049874261021614075, 0.07811026275157928, -0.3367173969745636, -0.5488787889480591, 0.5465196371078491, -0.35546624660491943, -0.8462120890617371, -0.387423038482666, -0.3199757933616638, -0.035993512719869614, 0.23126791417598724, 0.4370431900024414, 0.6554296612739563, -0.38904860615730286, 0.47366368770599365, 0.5783647298812866, 0.11083368211984634, 0.46587860584259033, 0.758167564868927, -0.3152744174003601, 0.15835869312286377, 0.7876541614532471, 0.05909416079521179, 0.6366917490959167, 0.5886239409446716, 0.14456310868263245, -0.4307531714439392, -0.6003066897392273, -0.23217728734016418, 0.2520681619644165, -0.8705788850784302, 0.29036614298820496, -0.6480948328971863, -0.14307871460914612, -0.24457457661628723, 0.1323712170124054, -0.18354330956935883, -0.27806881070137024, -0.1301145702600479, -0.3892258405685425, -0.06781411916017532, 1.0563066005706787, -0.3592970371246338, 0.36266571283340454, -0.4914865493774414, 0.0999198630452156, 0.4636836051940918, 0.3853432238101959, 0.3755592405796051, -0.46326231956481934, -0.3676292598247528, -0.2673427164554596, -0.3044030964374542, -0.7594684362411499, 0.221845805644989, -0.22828957438468933, 0.7747363448143005, 0.4462221562862396, -0.21038588881492615, 0.35363420844078064, -0.4754093885421753, 0.43406662344932556, 0.017047926783561707, -1.1068804264068604, 0.3396244943141937, -0.1622045338153839, 0.0863688513636589, 0.13224518299102783, 0.47969934344291687, -0.4537803828716278, -0.7851251363754272, -0.6853587031364441, -0.5744956135749817, 1.0500794649124146, 0.30488717555999756, -0.15726397931575775, 0.40369802713394165, 0.16313837468624115, 0.13154055178165436, 0.17188110947608948, -0.8510170578956604, -0.013545947149395943, 0.2020767629146576, -0.15089231729507446, -0.3095732629299164, -0.5741146802902222, -0.4195772111415863, 0.2614150941371918, 0.5457537174224854, -0.08959907293319702, -0.10411576926708221, 0.25490111112594604, -0.4076458811759949, -0.2024422585964203, 0.25851109623908997, 0.8194714784622192, 0.8992776274681091, -0.09512107819318771, 0.3286166787147522, -0.21154825389385223, -0.3519829213619232, -0.12048103660345078, -0.03005221299827099, -0.3243786096572876, 0.05185031518340111, 0.942148745059967, 1.2223984003067017, 0.3607204854488373, -0.7065597176551819, 0.004482010379433632, 0.006704423576593399, -0.3659709692001343, 0.39710360765457153, 0.18318484723567963, -0.0060060578398406506, 0.6593900918960571, 0.18301112949848175, -0.27684691548347473, 0.4477774500846863, -0.789313018321991, 0.38989192247390747, 0.2831381559371948, -0.4664021134376526, -0.7315433621406555, 0.7120828032493591, 0.08553014695644379, -0.11457505822181702, 0.2646418809890747, -0.06842697411775589, -0.7818354964256287, 0.6927599906921387, 0.3361585736274719, 0.7698559165000916, -0.3845100998878479, 0.10324208438396454, 0.2767655849456787, 0.5195689797401428, -0.08900000154972076, -0.052865684032440186, 0.021047871559858322, -0.7115762233734131, -0.6128813624382019, -0.35853758454322815, -0.4516042172908783, 0.3474934995174408, -0.8359972238540649, 0.022911177948117256, -0.032347116619348526, 0.08335914462804794, 0.32013338804244995, -0.15847907960414886, -0.43864157795906067, 0.10956177860498428, 0.12661539018154144, 0.6696394681930542, -0.9645732045173645, 0.6383966207504272, 0.5084722638130188, -0.30525755882263184, -0.4792095720767975, 0.08799122273921967, 0.4296323359012604, -0.8968296051025391, 0.6366461515426636, -0.003509216709062457, -0.21583245694637299, -0.1874607801437378, -0.7653495073318481, -0.7292761206626892, 0.605650782585144, 0.22179119288921356, -0.814112663269043, -0.16744939982891083, -0.07006743550300598, 0.48882582783699036, -0.24156014621257782, 0.023639284074306488, 0.949155330657959, 0.487155556678772, -0.04606537148356438, -1.153638243675232, 0.18610148131847382, -0.05414241552352905, -0.5721832513809204, -0.10377312451601028, -0.8234166502952576, 0.573035717010498, -0.22990551590919495, -0.34841278195381165, 0.11416769027709961, 0.20344261825084686, 0.2696736752986908, 0.5637120008468628, 0.42428308725357056, 0.5267596244812012, 0.2371527999639511, -0.07249915599822998, 0.9067093729972839, -0.36816152930259705, 0.5406757593154907, 1.2465797662734985, -0.3101281225681305, 0.765739917755127, 0.4650013744831085, -0.23641379177570343, 0.6822028160095215, 0.41578614711761475, 0.04633766785264015, 0.5427219867706299, 0.06783362478017807, -0.012355574406683445, -0.15116310119628906, -0.06736329197883606, 0.11668477952480316, 0.5933275818824768, 0.28547966480255127, -0.3377639651298523, -0.08285268396139145, -0.20221693813800812, 0.10195066779851913, -0.0389256589114666, -0.08663786202669144, 0.9510712623596191, 0.13135351240634918, -0.8326773047447205, 0.30131450295448303, -0.2208191454410553, 0.2782009243965149, -0.8748235702514648, -0.016635289415717125, -0.14177905023097992, 0.3215847611427307, 0.022550402209162712, -0.9056944251060486, 0.22636672854423523, -0.22055751085281372, -0.17990566790103912, -0.12280777841806412, 0.6673700213432312, -0.5250806212425232, -0.16498416662216187, 0.7165165543556213, 0.5371495485305786, -0.060819368809461594, -0.003353497479110956, -0.7894139885902405, 0.6216567158699036, 0.1310671865940094, -0.5030770897865295, 0.2573162317276001, 0.5816694498062134, -0.06978590786457062, 0.7240837812423706, 0.4454382658004761, 0.12635457515716553, 0.07871264219284058, 0.1985529661178589, 0.7285332083702087, -0.733548641204834, -0.5330455303192139, -1.2869704961776733, 0.3448745310306549, -0.010971511714160442, -0.010636144317686558, 0.9143894910812378, 0.4787276089191437, 0.8173902034759521, -0.06657503545284271, 0.6687597632408142, 0.0013159007066860795, 0.5532113909721375, -0.8468083143234253, 0.5585680603981018, -0.71329265832901, 0.05851667746901512, -0.14085455238819122, -0.6686803102493286, -0.0713183805346489, 0.18028251826763153, -0.11362689733505249, -0.047653764486312866, 0.9469051361083984, 0.7222262620925903, -0.18809843063354492, -0.013432502746582031, 0.22952456772327423, 0.6997120380401611, 0.24320967495441437, 0.4030762314796448, 0.8821458220481873, 0.05830203369259834, 0.565880298614502, 0.0403364896774292, -0.24289727210998535, -0.47246336936950684, -0.8169130682945251, -0.8984468579292297, -0.6465277075767517, -0.3893772065639496, -0.29944315552711487, 0.0054870895110070705, 0.30807995796203613, 0.7403085231781006, -0.7785868048667908, -0.44518813490867615, -0.04869120940566063, 0.37052422761917114, -0.32121577858924866, -0.20829860866069794, 0.357570081949234, -0.44884324073791504, -0.7713900208473206, 0.22692465782165527, 0.2612576186656952, -0.1314169466495514, -0.2745409905910492, 0.06411449611186981, -0.3030896484851837, 0.3479527235031128, 0.8143122792243958, 0.3213731646537781, -0.969933032989502, -0.04996580258011818, 0.006765029858797789, 0.09006746113300323, -0.14875289797782898, 1.3239929676055908, -0.39305579662323, 0.618308961391449, 0.5725542306900024, 0.3809241056442261, 0.45641300082206726, -0.15758946537971497, 0.6813428401947021, -0.6352666616439819, 0.06954561918973923, -0.2870665192604065, 0.3980787694454193, 0.1615641564130783, -0.08852275460958481, 0.7686561942100525, 0.5423678755760193, -0.46203088760375977, -0.9515895843505859, 0.23160794377326965, -0.8383026719093323, -0.38169065117836, 1.0144085884094238, -0.2626233994960785, -0.1713392734527588, -0.19791197776794434, -0.1472114771604538, 0.24478361010551453, -0.08545093238353729, 0.8025546073913574, 1.3291394710540771, -0.16342154145240784, -0.34287744760513306, -0.7947185039520264, 0.6849090456962585, 0.4258294105529785, -0.5439306497573853, 0.3253767192363739, 0.2793161869049072, 0.34598883986473083, 0.39249926805496216, 0.39219018816947937, -0.1420753449201584, 0.2055671066045761, 0.10282102227210999, -0.31436726450920105, 0.3506854176521301, -0.409638911485672, -0.44322746992111206, 0.01018062885850668, 0.14314597845077515, 0.08710210025310516 ]
http://arxiv.org/abs/2402.11651v2
http://arxiv.org/pdf/2402.11651v2
Learning From Failure: Integrating Negative Examples when Fine-tuning Large Language Models as Agents
2024-02-18T17:10:07
2024-04-16T11:41:13
Renxi Wang, Haonan Li, Xudong Han, Yixuan Zhang, Timothy Baldwin
cs.CL
cs.CL, I.2.7
Large language models (LLMs) have achieved success in acting as agents, which interact with environments through tools such as search engines. However, LLMs are optimized for language generation instead of tool use during training or alignment, limiting their effectiveness as agents. To resolve this problem, previous work has first collected interaction trajectories between LLMs and environments, using only trajectories that successfully finished the task to fine-tune smaller models, making fine-tuning data scarce and acquiring it both difficult and costly. Discarding failed trajectories also leads to significant wastage of data and resources and limits the possible optimization paths during fine-tuning. In this paper, we argue that unsuccessful trajectories offer valuable insights, and LLMs can learn from these trajectories through appropriate quality control and fine-tuning strategies. By simply adding a prefix or suffix that tells the model whether to generate a successful trajectory during training, we improve model performance by a large margin on mathematical reasoning, multi-hop question answering, and strategic question answering tasks. We further analyze the inference results and find that our method provides a better trade-off between valuable information and errors in unsuccessful trajectories. To our knowledge, we are the first to demonstrate the value of negative trajectories and their application in agent-tunning scenarios. Our findings offer guidance for developing better agent-tuning methods and low-resource data usage techniques.
[ -0.34830939769744873, -0.6549991965293884, 0.760915219783783, -0.35450881719589233, -0.18425995111465454, 0.1876131296157837, -0.11576282978057861, -0.08569812774658203, 0.03132712095975876, 0.5092554688453674, -0.8703157901763916, -0.4975908398628235, -0.3895845413208008, -0.22855135798454285, -0.38604751229286194, 1.139948844909668, -0.03685923293232918, -0.20143799483776093, -0.21790362894535065, -0.09659375250339508, -0.8659127950668335, -0.3258252739906311, -1.01901113986969, -0.34263452887535095, 0.7378152012825012, 0.7971711754798889, 0.8300501704216003, 0.5654991865158081, 0.1327560842037201, 0.27387377619743347, 0.09269075840711594, 0.5356512665748596, -0.9613890647888184, 0.16841639578342438, -0.30520689487457275, -0.45762911438941956, -0.008902591653168201, 0.1976386308670044, 0.41744881868362427, 0.7725739479064941, -0.16262148320674896, -0.08390764892101288, 0.19226010143756866, 0.4819971024990082, -0.4573803246021271, 0.051169320940971375, -0.5715692043304443, 0.02972380258142948, -0.04220619425177574, -0.4079854190349579, -0.34289881587028503, -0.5549796223640442, -0.1811753362417221, -0.506447970867157, 0.08008560538291931, -0.13838237524032593, 0.9280973076820374, 0.3647198975086212, -0.38776785135269165, -0.5846471786499023, -1.003435730934143, 1.11225426197052, -0.7046613097190857, 0.3018496632575989, 0.2694663107395172, 0.2255069464445114, -0.586305558681488, -0.2691272497177124, -0.4244091510772705, -0.1911213994026184, 0.08723995089530945, -0.21446837484836578, 0.03937198966741562, 0.043975263833999634, 0.18879473209381104, -0.2830534279346466, -0.33748629689216614, 0.34977373480796814, -0.44897544384002686, -0.2785945236682892, 0.5473225712776184, 0.343329519033432, 0.2586686611175537, 0.1269608587026596, 0.21840627491474152, -0.5420293211936951, -0.8844279646873474, 0.0815620943903923, 0.5327773690223694, 0.6939065456390381, 0.13708163797855377, 0.5147855281829834, 0.01135504711419344, 0.5953782200813293, -0.10856930911540985, -0.19117127358913422, 0.09796572476625443, -0.2856268882751465, 0.05347122997045517, -0.14133334159851074, 0.3402215540409088, 0.2181164175271988, 0.29582634568214417, -0.47820863127708435, -0.29456040263175964, 0.06688572466373444, 0.45558062195777893, -0.6051852107048035, 0.10866823047399521, 0.2295350730419159, -0.026102446019649506, -0.23595023155212402, -0.17565636336803436, -0.5382397770881653, -0.35023507475852966, -0.3937332034111023, 0.6068513989448547, -0.5685449242591858, 0.009625609032809734, 0.04913570359349251, -0.18781061470508575, 0.3437665104866028, 0.35083889961242676, -0.419904500246048, 0.07087051123380661, 0.916505753993988, 0.8960998058319092, 0.028978746384382248, -0.678900957107544, -1.1074461936950684, -0.02692515403032303, -0.8027700185775757, 0.4861114025115967, -0.3404342830181122, -0.354937344789505, 0.04466357082128525, -0.0011693744454532862, -0.03407992050051689, -0.5252675414085388, 0.5760719180107117, -0.4849085509777069, -0.08951124548912048, -0.36224257946014404, -0.5878634452819824, -0.41178098320961, 0.30684801936149597, -0.2862451374530792, 0.3922480642795563, 0.07532496005296707, -0.16297045350074768, 0.375989705324173, -0.34426572918891907, -0.788969099521637, -0.16872364282608032, -0.07136142998933792, -0.526267409324646, 0.33529800176620483, -0.38548359274864197, 0.5052869319915771, -0.08009222149848938, 0.2913636565208435, -0.3880358934402466, -0.49651288986206055, -0.059277765452861786, -0.26294589042663574, 0.5333364605903625, -0.04736015200614929, -0.3202129602432251, -0.17688140273094177, -0.7355183959007263, 0.10276330262422562, 0.18911710381507874, -0.41268518567085266, -0.5279424786567688, 0.3986116051673889, -0.3416141867637634, 0.3984624743461609, -0.12332369387149811, -0.17834901809692383, 0.09027259796857834, -0.5394912362098694, 0.27922987937927246, 0.7585232853889465, 0.19591914117336273, 0.33568277955055237, -0.4612705409526825, 0.6790211200714111, 0.050282806158065796, 0.03788908198475838, -0.04349464923143387, -0.011247984133660793, -0.9555132985115051, 0.5426750779151917, -0.06512848287820816, 0.2928420305252075, -1.018655776977539, 0.03870753198862076, -0.13261756300926208, -0.6507036089897156, -0.37680649757385254, 0.4374813437461853, 0.3885146677494049, 0.5693241357803345, 0.2660902142524719, -0.19924980401992798, -0.40831461548805237, -0.5925086736679077, -0.19006451964378357, -0.2633383572101593, 0.32262298464775085, 0.41618648171424866, 0.38422253727912903, -0.2727636992931366, 0.5714547634124756, -0.24322837591171265, -0.17579928040504456, -0.41378557682037354, 0.24497032165527344, 0.21366272866725922, 0.5692503452301025, 0.4633490741252899, -0.5823935866355896, -0.15817171335220337, -0.10587067902088165, -0.49189141392707825, 0.17104080319404602, -0.3684656023979187, -0.24118155241012573, 0.323326051235199, 0.4710056483745575, -0.6022714376449585, 0.19895930588245392, 0.5017753839492798, -0.5037828087806702, 0.5106411576271057, -0.19946905970573425, 0.06675244122743607, -0.7886291146278381, -0.16187839210033417, -0.015322345308959484, -0.14965605735778809, -0.6975131630897522, -0.031555552035570145, -0.15612947940826416, 0.03632943704724312, -0.6194657683372498, 0.4332267940044403, -0.37334558367729187, 0.06203579902648926, -0.23509521782398224, 0.21575559675693512, -0.11298896372318268, 0.5063103437423706, -0.19469641149044037, 0.5693948864936829, 0.32424604892730713, -0.7945571541786194, 0.13551601767539978, 0.1370365023612976, -0.04696729779243469, 0.3340637981891632, -0.43074139952659607, 0.11407166719436646, -0.29284533858299255, -0.3308973014354706, -0.7379544973373413, -0.19969254732131958, 0.18038557469844818, -0.2793485224246979, 0.3516347408294678, -0.34963780641555786, -0.48039454221725464, -0.2837177813053131, -0.3148927688598633, 0.09828730672597885, 0.4891700744628906, -0.42649418115615845, 0.31231099367141724, 0.21515393257141113, 0.12615595757961273, -0.5309039354324341, -0.6092553734779358, 0.07666158676147461, -0.49455928802490234, -0.30253666639328003, -0.26052412390708923, -0.023111607879400253, -0.11351272463798523, -0.09412772953510284, -0.030796155333518982, 0.12821859121322632, 0.5695462226867676, 0.3471106290817261, 0.04270320013165474, -0.1906787008047104, 0.4022655487060547, 0.07123897224664688, -0.15297050774097443, 0.02242303639650345, -0.2586245834827423, 0.5918448567390442, -0.043368130922317505, -0.5071510076522827, -0.30430129170417786, 0.13839861750602722, 0.7814694046974182, 0.13709890842437744, 0.9997910261154175, 0.2807480990886688, -0.3959388732910156, -0.4309549033641815, -0.36577609181404114, -0.3271276652812958, -0.44593456387519836, 0.4941510558128357, -0.0570758692920208, -0.5589405298233032, 0.29659783840179443, -0.06925541162490845, 0.23643015325069427, 0.23685714602470398, 0.057606879621744156, -0.26255106925964355, 0.904270589351654, 0.848995566368103, -0.08534611016511917, 0.3576699197292328, -0.4356297254562378, 0.25385111570358276, -0.35654905438423157, -0.04764130339026451, -0.4611791670322418, -0.37948787212371826, -0.6585038304328918, -0.25349873304367065, 0.34136226773262024, 0.09803114831447601, -0.5058582425117493, 0.2662225067615509, -0.03506152704358101, 0.44737115502357483, 0.6017975211143494, 0.010518506169319153, 0.2083798497915268, -0.06500763446092606, 0.06603275239467621, -0.11345112323760986, -0.7648578882217407, -0.5770604610443115, 0.8399398326873779, 0.2026354819536209, 0.9922239184379578, 0.1276974380016327, 0.8546580076217651, 0.058409593999385834, 0.12746785581111908, -0.8849892020225525, 0.4168876111507416, -0.14202135801315308, -0.2534123659133911, -0.5566007494926453, -0.5831356644630432, -0.9770811796188354, -0.01760883815586567, -0.11114919185638428, -0.6187551617622375, 0.22536179423332214, 0.48517054319381714, -0.4840880036354065, 0.08875983208417892, -0.8793514966964722, 1.1256954669952393, -0.36932334303855896, -0.5099876523017883, -0.24750635027885437, -0.24509017169475555, 0.22755785286426544, -0.21865957975387573, 0.2277689129114151, 0.16869890689849854, 0.03666536882519722, 0.6367417573928833, -0.5376044511795044, 1.0292243957519531, -0.285969078540802, -0.20569822192192078, 0.44797077775001526, 0.45078328251838684, 0.8675535321235657, -0.2132357954978943, -0.14878351986408234, -0.07723551988601685, -0.166569322347641, -0.26351603865623474, -0.650571882724762, 0.787146270275116, -0.7286725640296936, -0.5039112567901611, -0.09352138638496399, -0.28386572003364563, -0.4974544942378998, 0.326562762260437, 0.07515455037355423, 0.5071989893913269, 0.08241495490074158, 0.16416321694850922, 0.3216354548931122, -0.298947274684906, 0.6257449388504028, 0.6422275900840759, 0.012819421477615833, 0.018335502594709396, 1.2957180738449097, 0.387620747089386, 0.41766905784606934, 0.02404562011361122, 0.1067168340086937, -0.092531219124794, -0.8484773635864258, -0.21718049049377441, 0.32894647121429443, -0.6524106860160828, -0.4021335244178772, -0.4827395975589752, -0.18505385518074036, 0.015087547712028027, -0.21203003823757172, -0.6284533143043518, -0.07218260318040848, -0.5532432198524475, -0.1554674655199051, -0.009904426522552967, 0.7260953783988953, -0.2229708582162857, 0.4271629750728607, -0.8548630475997925, -0.1375494748353958, 0.04859565570950508, 0.2715236246585846, 0.3155754506587982, -0.3503076434135437, -0.641417384147644, 0.19136209785938263, -0.5869215726852417, -0.7670210003852844, 0.5945857167243958, 0.30875030159950256, 0.4138983190059662, 0.37885159254074097, 0.07571770250797272, 0.7687069177627563, -0.33210113644599915, 0.5697963833808899, -0.1338343471288681, -0.8112121224403381, 0.7527768015861511, -0.3244599401950836, 0.2018444538116455, 0.6102561950683594, 0.36617374420166016, -0.6155487298965454, -0.672653317451477, -0.5027288794517517, -0.9372420310974121, 0.8865428566932678, 0.05018085613846779, 0.1701069474220276, -0.026584841310977936, 0.7029343843460083, 0.18848025798797607, 0.20355500280857086, -0.6497726440429688, -0.2618291974067688, 0.21719221770763397, -0.01717011258006096, -0.7140238285064697, -0.048212725669145584, 0.00869216863065958, 0.0394563227891922, 1.006011724472046, -0.29348912835121155, -0.2718881368637085, -0.10381092131137848, -0.3404318690299988, -0.34673547744750977, 0.14894969761371613, 0.6120913624763489, 0.6533111929893494, 0.05539544299244881, 0.18161693215370178, 0.12405645102262497, -0.021671898663043976, 0.3254188895225525, -0.17291253805160522, -0.18245941400527954, -0.140094593167305, 0.4940769374370575, 0.6677057147026062, -0.011438981629908085, -0.9014585614204407, 0.28490906953811646, -0.046552687883377075, 0.10549350082874298, -0.07590821385383606, 0.38940203189849854, 0.02868390642106533, 0.42130306363105774, 0.24539023637771606, 0.12937629222869873, 0.04772309586405754, -0.5476263761520386, 0.2326127588748932, 0.6335188150405884, -0.5718757510185242, -0.33805954456329346, 0.21307723224163055, -0.0385420098900795, -0.32817205786705017, 0.7265641093254089, -0.5242996215820312, -0.4316276013851166, 0.8518224358558655, 0.28657567501068115, 0.7768858671188354, 0.016113383695483208, 0.456233948469162, 0.2548069655895233, 0.5232994556427002, -0.2869724929332733, -0.027190029621124268, 0.14883384108543396, -0.7224454879760742, -0.6503608822822571, -0.6032323837280273, -0.3781517446041107, 0.435791552066803, -0.30789509415626526, 0.4774901866912842, -0.3115295171737671, 0.03936994448304176, -0.3291429579257965, 0.026779277250170708, -0.7686681151390076, 0.16948635876178741, 0.05043671652674675, 0.5872248411178589, -1.0976026058197021, 0.31677109003067017, 0.6729945540428162, -0.4519941806793213, -1.003075361251831, 0.0968405231833458, -0.01135181076824665, -0.6144962906837463, 0.5575334429740906, 0.09261920303106308, -0.21861185133457184, -0.005347347352653742, -0.4057807922363281, -0.9638450741767883, 0.7619231939315796, 0.608244776725769, -0.6668049693107605, -0.10450814664363861, 0.15332144498825073, 0.6693931221961975, -0.015352323651313782, 0.06282506138086319, 0.6200553774833679, 0.3524438142776489, 0.16299448907375336, -0.5950330495834351, 0.1928407996892929, 0.15878556668758392, -0.14537471532821655, 0.30448493361473083, -0.7143573760986328, 0.6768728494644165, -0.5634732246398926, -0.5016267895698547, 0.055384546518325806, 0.3250901699066162, -0.09669079631567001, 0.3524976372718811, 0.49480801820755005, 0.4906182587146759, 0.6213185787200928, -0.0610487125813961, 1.015500783920288, 0.04780801758170128, 0.5228148698806763, 1.1282745599746704, 0.146809384226799, 0.6607800722122192, 0.5597269535064697, 0.10659899562597275, 0.3150100111961365, 0.7855105400085449, 0.23732547461986542, 0.7395525574684143, 0.16360382735729218, 0.21936212480068207, -0.4798731207847595, -0.0638657733798027, 0.00872708112001419, 0.42019030451774597, 0.32559728622436523, -0.08388067781925201, -0.49962159991264343, 0.21674376726150513, -0.05355305224657059, -0.07673264294862747, -0.2114725410938263, 0.7755265235900879, 0.11100494861602783, -0.7894605398178101, 0.7132790684700012, -0.16318485140800476, 0.36925414204597473, -0.309072881937027, -0.25232094526290894, -0.5134422779083252, 0.1755586713552475, -0.07155085355043411, -0.5394231081008911, 0.4350922107696533, -0.2605865001678467, 0.030564725399017334, -0.1281297504901886, 0.41100621223449707, -0.3186110854148865, -0.3376392722129822, 0.3845095932483673, 0.7506162524223328, 0.15367336571216583, 0.18778902292251587, -0.34643808007240295, 0.11346523463726044, 0.06408031284809113, -0.17628192901611328, 0.1910184770822525, 0.4562942385673523, 0.10390731692314148, 0.9630782008171082, 0.2969873547554016, 0.28719326853752136, -0.286357581615448, -0.08010244369506836, 0.6852860450744629, -0.8651983141899109, -0.3872518837451935, -1.0566703081130981, 0.43309149146080017, 0.2181650996208191, -0.04129187390208244, 0.5446090698242188, 0.3623844385147095, 1.031589150428772, 0.04722006246447563, 0.856050968170166, 0.14240078628063202, 0.5343047380447388, -0.5511108040809631, 0.5561251044273376, -0.9432141184806824, 0.42286375164985657, -0.10758329927921295, -0.7676145434379578, -0.16127125918865204, 0.38344910740852356, -0.3579126000404358, 0.10507645457983017, 0.43326565623283386, 0.8202669024467468, -0.10721016675233841, -0.5466422438621521, 0.5184445977210999, 0.45745909214019775, 0.608830988407135, 0.7738186717033386, 1.0225557088851929, -0.41445571184158325, 0.7875411510467529, -0.24158421158790588, 0.09492120146751404, -0.31224268674850464, -0.7174161076545715, -0.732587993144989, -0.4902527332305908, -0.3567577600479126, -0.5610572099685669, 0.3655747175216675, 0.859886884689331, 0.572355329990387, -0.7607428431510925, -0.13027243316173553, -0.36103928089141846, 0.7233293056488037, -0.06660779565572739, -0.23264922201633453, 0.08401022851467133, -0.7159056663513184, -0.752914547920227, 0.3285316228866577, 0.10065814852714539, 0.3103225827217102, -0.20136967301368713, -0.41954708099365234, 0.14238420128822327, 0.056982070207595825, 0.364917129278183, 0.6528486013412476, -0.49695831537246704, -0.5687404274940491, -0.30136919021606445, -0.046337515115737915, 0.005156143568456173, 0.6340062022209167, -0.6474928259849548, 0.2102188766002655, 0.07296035438776016, 0.7743914723396301, 0.1307131052017212, -0.13310858607292175, 0.7646392583847046, -0.7151828408241272, -0.13611067831516266, 0.3169795274734497, 0.16572079062461853, 0.4294871985912323, -0.3150322735309601, 0.3290182054042816, 0.05229765921831131, -0.4708000123500824, -0.9410319328308105, 0.012110820040106773, -0.41849032044410706, -0.2821042835712433, 1.2412313222885132, 0.016712700948119164, -0.20704828202724457, 0.0013718096306547523, -0.14258038997650146, 0.2642386555671692, -0.44975948333740234, 0.9618269801139832, 0.6941884756088257, -0.2541903853416443, -0.012296589091420174, -0.5087801218032837, 0.5436848402023315, 0.4126145839691162, -0.8105787634849548, -0.01757059060037136, 0.6099863648414612, 0.20700262486934662, 0.257637083530426, 0.2437557727098465, 0.3852434456348419, 0.2536988854408264, -0.09458611905574799, -0.17955757677555084, 0.054819513112306595, -0.500676691532135, -0.44517403841018677, 0.10802172124385834, 0.454741507768631, -0.2229509800672531 ]
http://arxiv.org/abs/2402.14836v2
http://arxiv.org/pdf/2402.14836v2
Stealthy Attack on Large Language Model based Recommendation
2024-02-18T16:51:02
2024-06-05T17:02:47
Jinghao Zhang, Yuting Liu, Qiang Liu, Shu Wu, Guibing Guo, Liang Wang
cs.CL
cs.CL, cs.AI, cs.IR
Recently, the powerful large language models (LLMs) have been instrumental in propelling the progress of recommender systems (RS). However, while these systems have flourished, their susceptibility to security threats has been largely overlooked. In this work, we reveal that the introduction of LLMs into recommendation models presents new security vulnerabilities due to their emphasis on the textual content of items. We demonstrate that attackers can significantly boost an item's exposure by merely altering its textual content during the testing phase, without requiring direct interference with the model's training process. Additionally, the attack is notably stealthy, as it does not affect the overall recommendation performance and the modifications to the text are subtle, making it difficult for users and platforms to detect. Our comprehensive experiments across four mainstream LLM-based recommendation models demonstrate the superior efficacy and stealthiness of our approach. Our work unveils a significant security gap in LLM-based recommendation systems and paves the way for future research on protecting these systems.
[ -0.06824232637882233, -0.8595433831214905, 0.7080867886543274, -0.0010746580082923174, -0.20983338356018066, 0.06616310775279999, -0.05553214251995087, -0.7984834909439087, 0.20501375198364258, 0.9963234663009644, -0.6480494737625122, -0.5906475186347961, -0.74519944190979, -0.1834462583065033, -0.5101335048675537, 1.1489096879959106, 0.19875085353851318, -0.23956048488616943, 0.003906434401869774, -0.16623568534851074, -0.4960131347179413, -0.7814861536026001, -0.42196422815322876, -0.11172249913215637, 0.6881924867630005, 0.013222907669842243, 0.707430362701416, 0.28325963020324707, 0.8284975290298462, 0.23732005059719086, -0.18896624445915222, -0.0966295599937439, -0.5381176471710205, 0.6524837613105774, -0.2769964635372162, -0.40985381603240967, -0.6084921956062317, -0.49326521158218384, 0.4678436815738678, 0.5876391530036926, 0.0009943287586793303, 0.08009295165538788, 0.24723729491233826, 0.7530506253242493, -0.7877628207206726, -0.19361934065818787, -0.9137787222862244, -0.13017912209033966, -0.4960748255252838, 0.09300851821899414, -0.8213796019554138, 0.10857903957366943, 0.24853913486003876, -0.4558688998222351, -0.16386666893959045, 0.29053133726119995, 0.6041712164878845, 0.051620133221149445, -0.33872777223587036, -0.3674071133136749, -0.9817063808441162, 0.7552341222763062, -0.46583619713783264, 0.4079492390155792, 0.6047325134277344, 0.24540865421295166, -0.5197824835777283, -0.6048923134803772, -0.03273280709981918, -0.549213707447052, -0.05033194273710251, -0.36919838190078735, -0.6724621653556824, 0.07129368931055069, 0.22233015298843384, 0.2623787224292755, -0.5198724865913391, 0.21910251677036285, -0.02865343540906906, -0.26664143800735474, 0.5440802574157715, 0.014353588223457336, 0.4342450201511383, -0.007316527888178825, -0.5488488078117371, 0.1308642327785492, -0.9269479513168335, -0.08662217855453491, 0.5203591585159302, 0.2715766727924347, -0.14907531440258026, 0.7761483788490295, -0.017219020053744316, 0.34238219261169434, 0.04755854234099388, -0.05547484755516052, -0.2748926877975464, -0.5651717782020569, -0.2432749718427658, -0.05058678239583969, 0.877142071723938, 0.2752997577190399, 0.20305801928043365, -0.07996128499507904, -0.4341883063316345, -0.29978713393211365, 0.2908719480037689, -0.8845336437225342, -0.16823311150074005, 0.09629934281110764, -0.3882332742214203, -0.6207941770553589, 0.1106564998626709, -0.4067012369632721, -0.8603407144546509, 0.5947380661964417, 0.4319176971912384, -0.41020044684410095, 0.12289589643478394, 0.11826357990503311, 0.054063618183135986, 0.011622088961303234, 0.1575373113155365, -0.9391686916351318, 0.4372689425945282, 0.7123633623123169, 0.6354367733001709, -0.0643506795167923, -0.07120656222105026, -0.43150290846824646, 0.5674965381622314, -0.4053184986114502, 0.7462174892425537, -0.612587571144104, -0.7433699369430542, 0.017920274287462234, 0.054126087576150894, 0.2848411500453949, -0.363810271024704, 0.5300745368003845, -0.8534771203994751, -0.03420254588127136, -0.30830326676368713, -0.4496854543685913, -0.12217280268669128, 0.3546161949634552, -0.6218400001525879, 0.8449281454086304, -0.22555944323539734, -0.815079391002655, 0.183522030711174, -0.37157943844795227, -0.38517603278160095, 0.11166214942932129, 0.14880232512950897, -0.31958287954330444, 0.02423316240310669, 0.3539063036441803, 0.4874248206615448, -0.024223273620009422, 0.08305324614048004, -0.7144180536270142, -0.5847676992416382, 0.7290297746658325, -0.6656110286712646, 0.47221651673316956, 0.0752963051199913, -0.25206083059310913, 0.27680709958076477, -0.5821135640144348, -0.31730276346206665, 0.1819491982460022, -0.0878700241446495, -0.6748406887054443, -0.06434720754623413, -0.0919964537024498, -0.3061331808567047, 0.6041305065155029, -0.34503257274627686, 0.2605627477169037, -0.6667906641960144, 0.22166414558887482, 1.0394681692123413, 0.35810035467147827, 0.6381995677947998, -0.2909361720085144, 0.5190746784210205, -0.31942909955978394, 0.3694128096103668, -0.4960443377494812, -0.3677818775177002, -0.5143569111824036, -0.4641229212284088, 0.2897821366786957, 0.4881848394870758, -0.5297226309776306, 0.3811860680580139, 0.15033304691314697, -0.6007687449455261, -0.08047927170991898, 0.2851938307285309, 0.393615186214447, -0.24811047315597534, 0.0021680037025362253, 0.007516839075833559, -0.4019978940486908, -0.7586771845817566, -0.5897628664970398, -0.25184229016304016, -0.13059623539447784, 0.4134470522403717, 0.35589972138404846, -0.6709924936294556, 0.37549400329589844, -0.709492564201355, -0.3084994852542877, -0.34577488899230957, -0.6097245216369629, 0.25921452045440674, 0.39328885078430176, 0.6310988068580627, -0.3985646367073059, -0.3697381317615509, -0.16403870284557343, -0.5023583769798279, -0.21130616962909698, -0.14401282370090485, -0.180752232670784, -0.05716109275817871, 0.6147125363349915, -0.46073684096336365, 0.3554311692714691, 0.46031057834625244, -0.634884238243103, 0.45558106899261475, -0.33359023928642273, -0.2173309326171875, -0.9798225164413452, -0.24595938622951508, -0.055470336228609085, -0.28807592391967773, -0.5572060346603394, 0.3414480984210968, 0.08205857127904892, -0.09854782372713089, -0.25527018308639526, 0.7423995137214661, -0.1943947970867157, 0.34807562828063965, -0.24652889370918274, -0.1685027778148651, 0.11633191257715225, 0.16533906757831573, -0.594315767288208, 0.520150899887085, 0.7877376079559326, -0.5558447241783142, 0.07179051637649536, 0.02379840612411499, -0.29977184534072876, 0.518134593963623, -0.7115395069122314, 0.3965964913368225, 0.17801611125469208, 0.4693867266178131, -0.882340133190155, -0.2250339388847351, 0.5925341248512268, -0.1289921998977661, 0.37381604313850403, -0.23152753710746765, -0.49197375774383545, 0.17877136170864105, -0.6829480528831482, 0.485852986574173, 0.24161402881145477, -0.4711988866329193, 0.5492474436759949, 0.34354355931282043, -0.2813909351825714, -0.8153569102287292, -0.6039074063301086, 0.4720172584056854, -0.24062365293502808, -0.547036349773407, 0.39649149775505066, -0.5043980479240417, -0.5416213870048523, -0.327927827835083, -0.21499158442020416, 0.02010967768728733, 0.6549713611602783, 0.7065663933753967, 0.43303966522216797, 0.04647057503461838, -0.05262485891580582, -0.2001287341117859, -0.14696022868156433, 0.23398059606552124, -0.49853038787841797, 0.4151552617549896, 0.06322920322418213, -0.6506562829017639, -0.4986061453819275, 0.28355854749679565, 0.5922068953514099, -0.15269732475280762, 0.751596212387085, 0.42407312989234924, -0.3014998435974121, -0.602484941482544, -0.5891175270080566, -0.3566704988479614, -0.6243736147880554, 0.6680145859718323, -0.17763134837150574, -0.895958423614502, 0.21641916036605835, 0.18148820102214813, -0.08557458221912384, 0.19637690484523773, 0.30108481645584106, -0.11640271544456482, 0.8856537342071533, 0.8716536164283752, -0.12143884599208832, 0.6484624147415161, 0.1301228404045105, 0.150320902466774, -0.6716359853744507, -0.3580189347267151, -0.43373551964759827, -0.01600351370871067, -0.81500244140625, -0.11456824094057083, 0.18379253149032593, -0.10777976363897324, 0.05811609700322151, 0.14253756403923035, -0.35513070225715637, 0.5745342373847961, 0.4792962968349457, 0.35519158840179443, 0.3322984278202057, -0.1288510113954544, -0.15874187648296356, -0.01802903227508068, -0.36836540699005127, -0.427425742149353, 1.4841002225875854, 0.547197163105011, 1.0537506341934204, 0.38567954301834106, 0.6006181240081787, 0.692308783531189, -0.04032694175839424, -0.6596214175224304, 0.7979547381401062, -0.08557064086198807, -0.34983888268470764, -0.12079337239265442, -0.07789566367864609, -0.8799402713775635, 0.055775098502635956, -0.3474060893058777, -0.7511669397354126, 0.023875640705227852, -0.26388484239578247, -0.24702729284763336, 0.5409871935844421, -0.5644292235374451, 0.39306870102882385, -0.3872734010219574, -0.5268775224685669, -0.09513264894485474, -0.21935132145881653, 0.3408845067024231, -0.5261667966842651, 0.4524420201778412, -0.04838945344090462, -0.05433569476008415, 0.8604325652122498, -0.41152602434158325, 0.988565981388092, 0.13434617221355438, -0.34237509965896606, -0.14853326976299286, 0.6917381882667542, 0.9549896121025085, 0.3025638461112976, -0.017970198765397072, 0.25358355045318604, -0.2106330692768097, -0.49505266547203064, -0.4256969690322876, 0.9765532612800598, -0.3019103407859802, -1.2218049764633179, -0.5891865491867065, -0.6052958965301514, -0.08009693771600723, 0.4772498905658722, -0.09969951957464218, 0.24872362613677979, -0.3686085045337677, 0.47799786925315857, 0.9941163659095764, -0.3538076877593994, 0.4765968918800354, 0.6123511791229248, -0.36213359236717224, -0.585655689239502, 0.8391269445419312, 0.010740594007074833, 0.2920531928539276, 0.363333135843277, 0.3285313546657562, -0.12064528465270996, -0.9770248532295227, -0.29446789622306824, 0.2900993525981903, -0.6691548824310303, 0.09606802463531494, -0.6495797038078308, -0.0380258709192276, -0.36693158745765686, -0.2817618250846863, -0.0239516943693161, -0.36116719245910645, -0.12088043242692947, -0.2658833861351013, 0.44842296838760376, 1.2263166904449463, 0.46056073904037476, 0.26897993683815, -0.5752060413360596, 0.10920252650976181, 0.3646310567855835, 0.458048552274704, -0.24865011870861053, -0.6459502577781677, -0.4101966619491577, -0.32738566398620605, -0.22400158643722534, -0.9244425296783447, 0.14301486313343048, -0.14791162312030792, 0.40223127603530884, 0.7606680989265442, 0.2585688829421997, 0.11967668682336807, -0.5597256422042847, 0.9100779891014099, -0.10096481442451477, -0.6748266816139221, 0.36175888776779175, -0.5417855978012085, 0.28169959783554077, 0.35787180066108704, -0.042739950120449066, -0.12054192274808884, -0.5686345100402832, -0.5297950506210327, -0.7937399744987488, 0.5046163201332092, 0.2127372771501541, 0.4101157784461975, 0.3867277204990387, 0.20262181758880615, 0.14079082012176514, 0.24496084451675415, -0.905022382736206, -0.4679807722568512, 0.10655596852302551, 0.166709765791893, -0.15432855486869812, -0.8857726454734802, -0.08833558112382889, 0.12307509779930115, 0.6936684250831604, 0.37631934881210327, -0.297290176153183, -0.014329844154417515, 0.04275911673903465, 0.14734815061092377, 0.5546505451202393, 0.5964270234107971, 0.15817780792713165, -0.33339497447013855, 0.24023225903511047, 0.2848663330078125, -0.6187911033630371, 0.19158360362052917, -0.007468186318874359, -0.4098602831363678, -0.0267274659126997, 0.4905160963535309, 0.6385723948478699, 0.5417695641517639, -0.5568503737449646, 0.5367242693901062, -0.08723825216293335, 0.027073029428720474, -0.45554473996162415, 0.0735626369714737, -0.032675351947546005, 0.2100711613893509, 0.3186410367488861, 0.3585331439971924, 0.023931564763188362, -0.49605122208595276, 0.05799112468957901, 0.8653780817985535, -0.679599940776825, -0.23711353540420532, 0.46410122513771057, 0.03432106971740723, -0.4988643229007721, -0.12160888314247131, 0.2393142133951187, -0.49950602650642395, 0.2679802477359772, 0.6959677934646606, 1.0397157669067383, -0.30354058742523193, -0.021910909563302994, -0.25771939754486084, 0.8850182890892029, -0.02604489028453827, -0.15563683211803436, -0.15917238593101501, -0.4360615909099579, 0.2754768431186676, -0.5320598483085632, -0.5438095927238464, 0.12522634863853455, -0.399837851524353, 0.32311466336250305, -0.7967498898506165, -0.11330823600292206, -0.07081080228090286, -0.25623637437820435, -0.2452535778284073, -0.16776630282402039, 0.11487835645675659, 0.6880382299423218, -0.32284435629844666, 0.7127301692962646, 0.3089209496974945, -0.001478283666074276, -0.420332133769989, 0.2754272222518921, -0.000632523384410888, -0.4644261300563812, 0.4224810004234314, 0.0883714035153389, -0.33115124702453613, -0.45812445878982544, -0.29007285833358765, -0.7770777940750122, 0.8713535070419312, 0.4689328372478485, -0.5376121997833252, 0.04964439943432808, 0.21842430531978607, 0.3588649332523346, -0.18900898098945618, 0.29151642322540283, 0.12106354534626007, 0.6064765453338623, -0.14534170925617218, -0.6077954769134521, 0.4030846357345581, -0.13763990998268127, -0.1299031674861908, 0.061825573444366455, -0.4931079149246216, 0.6188117265701294, -0.23794670403003693, -0.08575749397277832, -0.02769388258457184, 0.40177804231643677, 0.39020612835884094, 0.4819740355014801, 0.3710147738456726, 0.22694723308086395, 0.8385172486305237, 0.23680290579795837, 1.2081598043441772, -0.03457377105951309, -0.1885286569595337, 1.111993432044983, -0.7305529117584229, 0.8063972592353821, 0.47204816341400146, 0.014930001460015774, 0.670759916305542, 0.472239226102829, -0.296310693025589, 0.43520036339759827, 0.2388051301240921, -0.41730383038520813, -0.16553986072540283, -0.15926729142665863, -0.4522957503795624, 0.16252285242080688, 0.3713253140449524, -0.5822163820266724, 0.12168765813112259, 0.062368299812078476, 0.3508339822292328, 0.13840320706367493, -0.25025060772895813, 0.9176305532455444, 0.24023935198783875, -0.22947412729263306, 0.5429835319519043, 0.20658475160598755, 0.8078600764274597, -1.0906124114990234, 0.13974802196025848, 0.006723195314407349, 0.18473513424396515, -0.2916173040866852, -0.37957727909088135, -0.07689560204744339, 0.046400848776102066, -0.4369048774242401, -0.2420792281627655, 0.9341517090797424, 0.022796547040343285, -0.7308522462844849, 0.5776666402816772, 0.24821123480796814, -0.27020737528800964, -0.269138365983963, -0.4714953601360321, 0.0753079503774643, 0.044217247515916824, -0.31542399525642395, 0.703178882598877, 0.1642759144306183, -0.249262273311615, 0.9675582051277161, 1.0617066621780396, 0.20633137226104736, -0.2655635476112366, 0.03634544089436531, 0.7194582223892212, -0.5955572724342346, -0.6456518173217773, -1.4045627117156982, -0.04053651541471481, -0.0408378504216671, 0.25084492564201355, 1.353775978088379, 0.3206004202365875, 0.76640385389328, 0.17562048137187958, 0.703483521938324, 0.6728207468986511, 0.103640615940094, -0.5521706938743591, 1.2593640089035034, -0.17207901179790497, 1.4773026704788208, -0.5077593326568604, -0.6350886821746826, -0.27602440118789673, -0.40297719836235046, -0.28482264280319214, 0.16706091165542603, 0.835113525390625, 1.0469410419464111, 0.18244805932044983, -0.2534582316875458, 0.46551313996315, 0.5160890221595764, 0.48446106910705566, 0.32443904876708984, 0.805662214756012, -0.3306158483028412, 0.7730708122253418, -0.08352483063936234, -0.07658638805150986, -0.3607688546180725, -0.8099289536476135, -1.277756690979004, -0.09336037933826447, -0.14818742871284485, -0.6727001667022705, 0.4703653156757355, 0.5839732885360718, 0.4530109167098999, -0.8207094669342041, -0.29116538166999817, 0.22400321066379547, 0.4404541254043579, -0.18718858063220978, -0.17176468670368195, 0.3831627070903778, 0.3837219476699829, -0.2808820605278015, 0.9739708304405212, 0.3402903378009796, 0.25561243295669556, -0.4707809388637543, 0.10315719991922379, -0.05485822260379791, 0.508518397808075, 0.15199586749076843, -0.08770883828401566, -0.8924355506896973, -0.1673477739095688, 0.03324773535132408, -0.18618059158325195, -0.344066858291626, 0.7358769774436951, -0.6475729942321777, 0.4404175579547882, 0.2697087824344635, 0.5246065258979797, 0.2345140129327774, -0.2508012652397156, 0.7485120892524719, -0.6906733512878418, 0.21953874826431274, -0.1109004020690918, 0.5147486329078674, 0.28308168053627014, -0.857027530670166, 0.10424122959375381, 0.07660746574401855, -0.3943174183368683, -1.2765393257141113, 0.36160632967948914, -0.9635326862335205, -0.4972379505634308, 1.24509859085083, -0.11851099133491516, -0.21115392446517944, -0.23649512231349945, -0.41312816739082336, -0.3550557792186737, -0.6051708459854126, 0.7472242116928101, 0.6230565905570984, 0.5140405893325806, 0.2092779129743576, -0.5031665563583374, 0.47330889105796814, 0.470680296421051, -0.3672097325325012, 0.1850254088640213, 0.04763055220246315, 0.37354353070259094, -0.1136271134018898, 0.33579251170158386, -0.05501024052500725, 0.17133821547031403, -0.16292844712734222, -0.3027946949005127, -0.3704472482204437, -0.33598968386650085, -0.6391454339027405, 0.48728084564208984, 0.36844775080680847, -0.07228527963161469 ]
http://arxiv.org/abs/2402.11639v2
http://arxiv.org/pdf/2402.11639v2
In-Context Learning with Transformers: Softmax Attention Adapts to Function Lipschitzness
2024-02-18T16:37:32
2024-05-28T05:15:53
Liam Collins, Advait Parulekar, Aryan Mokhtari, Sujay Sanghavi, Sanjay Shakkottai
cs.LG
cs.LG, cs.AI, cs.CL
A striking property of transformers is their ability to perform in-context learning (ICL), a machine learning framework in which the learner is presented with a novel context during inference implicitly through some data, and tasked with making a prediction in that context. As such, that learner must adapt to the context without additional training. We explore the role of softmax attention in an ICL setting where each context encodes a regression task. We show that an attention unit learns a window that it uses to implement a nearest-neighbors predictor adapted to the landscape of the pretraining tasks. Specifically, we show that this window widens with decreasing Lipschitzness and increasing label noise in the pretraining tasks. We also show that on low-rank, linear problems, the attention unit learns to project onto the appropriate subspace before inference. Further, we show that this adaptivity relies crucially on the softmax activation and thus cannot be replicated by the linear activation often studied in prior theoretical analyses.
[ -0.633992075920105, -0.369577556848526, 0.32806530594825745, -0.03167085349559784, 0.1989995539188385, -0.24836748838424683, -0.3793841600418091, -0.24254964292049408, -0.2721157968044281, 0.3025696277618408, -0.8338128924369812, -0.1196352168917656, -0.4754590392112732, -0.024001345038414, -0.2773793935775757, 1.3468343019485474, 0.08657519519329071, -0.18630997836589813, -0.42142418026924133, -0.404661625623703, -0.38071373105049133, -0.32207074761390686, -0.22738173604011536, -0.3152424693107605, 0.23049350082874298, 0.6955791115760803, 0.6993343830108643, 0.13669538497924805, 0.37476909160614014, 0.3745938539505005, 0.2244827300310135, -0.1930130273103714, -0.7333429455757141, 0.13436013460159302, -0.02069328911602497, -0.6147907376289368, -0.27410802245140076, -0.0021632101852446795, 0.8226584196090698, 0.9844972491264343, 0.1765943318605423, 0.30893877148628235, 0.6170991659164429, 0.6189243793487549, -0.6009789705276489, 0.18491539359092712, -0.8528769016265869, 0.44675832986831665, 0.32896730303764343, -0.06237577646970749, -0.4479382336139679, -0.027415495365858078, 0.451267808675766, -0.5983923673629761, 0.5191850066184998, -0.269025981426239, 0.634857714176178, 0.8846226930618286, -0.36543402075767517, 0.018533796072006226, -0.9796715974807739, 0.9746206998825073, -0.2077312171459198, 0.594939649105072, 0.10594738274812698, 0.3208424746990204, 0.005387870129197836, -0.8763096928596497, -0.05366969853639603, -0.32895463705062866, -0.22338789701461792, 0.2551618814468384, -0.015257968567311764, 0.14207829535007477, 0.6271122694015503, -0.036218058317899704, -0.24640755355358124, -0.020723363384604454, -0.3365037739276886, -0.0055401260033249855, 0.18795129656791687, 0.031209155917167664, -0.14596065878868103, 0.31562405824661255, -0.67153000831604, -0.10343952476978302, -0.4218738377094269, 0.38434451818466187, -0.10966244339942932, 0.34371840953826904, -0.008700462989509106, 0.0000045557994781120215, 0.0830187201499939, 0.647737443447113, 0.2844204604625702, -0.3293163776397705, 0.3443717658519745, 0.1388402283191681, -0.36297866702079773, 0.1440989077091217, 0.16567525267601013, 0.05615091323852539, 0.3255968987941742, -0.3472267687320709, -0.3370375633239746, -0.2411547303199768, 0.5395679473876953, -0.720802366733551, 0.15350939333438873, -0.04787507653236389, -0.5256059765815735, 0.04130879044532776, 0.06174847483634949, -0.5692060589790344, 0.00468624709174037, -0.6581437587738037, 0.624971330165863, -0.21696418523788452, -0.183839812874794, -0.28369683027267456, 0.04711592197418213, 0.43036338686943054, 0.11153239756822586, -0.7916131019592285, 0.6154230833053589, 0.5310017466545105, 0.7484854459762573, -0.12367778271436691, -0.5630676746368408, -0.5560051798820496, 0.15905678272247314, -0.12424048781394958, 0.6165194511413574, -0.31149449944496155, -0.19802652299404144, 0.1720503717660904, 0.11940547823905945, -0.37797755002975464, -0.7416936755180359, 0.30371975898742676, -0.31041982769966125, -0.008469576016068459, 0.017684120684862137, -0.2212403565645218, 0.13474036753177643, -0.0410698838531971, -0.537632942199707, 0.9754375219345093, 0.6087549924850464, -0.5702528357505798, 0.6390469074249268, -0.7071713209152222, -0.6171113848686218, -0.02185164950788021, 0.11065024137496948, -0.6612287759780884, 0.4920773506164551, -0.03227520361542702, 0.5018057227134705, 0.13341590762138367, 0.1019337922334671, -0.4388347864151001, -0.5124536156654358, 0.5118206143379211, -0.32791996002197266, 0.39235514402389526, 0.030865246430039406, -0.6435688138008118, 0.32346606254577637, -0.5861284136772156, -0.22345785796642303, -0.1373414844274521, 0.07771042734384537, -0.10957210510969162, 0.07383637875318527, 0.20916107296943665, 0.24801066517829895, -0.020754791796207428, -0.20808559656143188, 0.10358422249555588, -0.48697933554649353, 0.4910857677459717, 0.9352599382400513, -0.38066598773002625, 0.7752412557601929, -0.1528196483850479, 0.5003881454467773, -0.03962992876768112, 0.47087740898132324, 0.00789832416921854, -0.11200784146785736, -0.906126081943512, -0.08556812256574631, 0.11643677204847336, 0.38839539885520935, -0.5648723244667053, 0.10325228422880173, -0.22897060215473175, -0.24024872481822968, -0.3013838231563568, 0.2706354558467865, 0.3326229453086853, 0.8202526569366455, 0.4759337306022644, -0.22028093039989471, -0.5532858967781067, -0.942453920841217, -0.10395322740077972, 0.34137895703315735, -0.2267080694437027, 0.5583925843238831, 0.4370185434818268, -0.2793842554092407, 1.1000484228134155, -0.6089941263198853, -0.8283784985542297, -0.37488147616386414, -0.14275972545146942, 0.2141236662864685, 0.4541557729244232, 0.5684494376182556, -1.1114027500152588, -0.6164276599884033, -0.3030499517917633, -0.5509113073348999, 0.029111729934811592, -0.17869757115840912, -0.00813446193933487, -0.07152193039655685, 0.9731070399284363, -0.3473209738731384, 0.4509482979774475, 0.2841135263442993, -0.06921517103910446, 0.28499627113342285, -0.16497890651226044, -0.4535161852836609, -0.977821946144104, -0.03797013685107231, 0.2728279232978821, -0.3449210822582245, -0.8629551529884338, -0.18946202099323273, -0.031201058998703957, -0.23092496395111084, -0.4473619759082794, 0.42981576919555664, -0.27286019921302795, -0.4551713466644287, -0.38524967432022095, 0.06386517733335495, -0.3075256645679474, 0.7407568097114563, 0.0608377642929554, 0.8323537111282349, 0.6287679076194763, -0.6024891138076782, -0.19889318943023682, 0.20316608250141144, -0.19225339591503143, 0.5370234251022339, -0.45829662680625916, 0.13431721925735474, -0.4057127833366394, 0.29275456070899963, -0.9809362888336182, -0.1338988095521927, -0.11168278008699417, -0.3737064599990845, 0.5342446565628052, -0.1637374758720398, -0.1323012113571167, -0.3180285692214966, -0.2670164108276367, 0.3938007652759552, 0.6305884718894958, -0.6031790375709534, 0.7420972585678101, 0.34263333678245544, 0.30747517943382263, -0.7585684657096863, -0.6950612664222717, -0.3710266351699829, -0.4610731601715088, -0.2250426858663559, 0.5468116402626038, -0.1864776462316513, -0.061815984547138214, 0.08364308625459671, -0.1948540061712265, -0.34164169430732727, 0.388492226600647, 0.5555323362350464, 0.13074631989002228, -0.5011957287788391, 0.1260315179824829, -0.19973349571228027, -0.4268110692501068, 0.07234080135822296, -0.4274786114692688, 0.19817933440208435, -0.4848284125328064, -0.012653863988816738, -0.2541348934173584, 0.09417051076889038, 0.6785976886749268, 0.03296886757016182, 0.7126378417015076, 0.9005690813064575, -0.4553478956222534, -0.5213242769241333, -0.34922048449516296, -0.5276615023612976, -0.5605584979057312, 0.48838987946510315, -0.5090190768241882, -0.7489973902702332, 0.38721388578414917, -0.14925837516784668, -0.19758422672748566, 0.23214730620384216, 0.5041907429695129, -0.11161155253648758, 1.1943721771240234, 1.1320801973342896, -0.18900255858898163, 0.79472416639328, -0.415368914604187, 0.12367221713066101, -1.1049915552139282, -0.14427226781845093, -0.4511343836784363, -0.608793318271637, -0.5818540453910828, 0.007268507964909077, 0.5652677416801453, -0.2086811363697052, -0.3427293300628662, 0.40340036153793335, -0.5088029503822327, 0.4622591435909271, 0.5641950368881226, 0.21661530435085297, -0.08445727080106735, -0.060564685612916946, 0.13753890991210938, -0.30360788106918335, -0.8607237339019775, 0.013609681278467178, 0.8530803322792053, 0.28537583351135254, 0.6475591063499451, -0.18634894490242004, 0.2512466609477997, 0.12850938737392426, 0.8939077854156494, -0.7840951681137085, 0.3624425232410431, -0.04498321935534477, -0.45915547013282776, -0.2639053761959076, -0.2024402618408203, -1.0387581586837769, 0.21403546631336212, -0.056495435535907745, -0.8874664306640625, 0.1809181421995163, 0.20204558968544006, -0.3549952507019043, 0.1709955632686615, -0.8805731534957886, 1.0094243288040161, -0.06603911519050598, -0.6540715098381042, -0.1379650980234146, -0.8048399090766907, 0.09977124631404877, -0.09362263977527618, 0.160790354013443, -0.12132513523101807, -0.3187168538570404, 0.4842679500579834, 0.029129531234502792, 1.04373037815094, -0.4991905093193054, 0.38377177715301514, 0.12985651195049286, -0.020148754119873047, 0.11045530438423157, 0.1971098929643631, 0.17345377802848816, -0.27969080209732056, -0.38146817684173584, -0.46727925539016724, -0.631729781627655, 0.6467322111129761, -0.8647672533988953, -0.641273021697998, -0.3475465476512909, -0.8016647100448608, -0.5974503755569458, 0.10965064913034439, 0.2628956437110901, 0.672764241695404, -0.13853183388710022, 0.4541381001472473, 0.8742706775665283, 0.056184008717536926, 0.5522836446762085, 0.37041163444519043, 0.19696049392223358, 0.016599135473370552, 0.8899637460708618, 0.16709747910499573, 0.27049359679222107, 0.3899329602718353, 0.18692737817764282, -0.15717899799346924, -0.424810528755188, -0.22696375846862793, -0.13897016644477844, -0.8169847726821899, -0.3015673756599426, -0.5229360461235046, -0.3682079613208771, -0.15555022656917572, -0.5950356125831604, -0.3195171058177948, -0.009779739193618298, -0.371976375579834, 0.016141118481755257, -0.022484449669718742, 0.6169257760047913, -0.016498371958732605, 0.2502753436565399, -0.49969175457954407, 0.2277660369873047, 0.4948546588420868, 0.3780392110347748, 0.08914926648139954, -0.7065399289131165, -0.40453654527664185, -0.42310917377471924, -0.29623541235923767, -0.6145787835121155, 0.3624576926231384, 0.6187165379524231, 0.650557279586792, 0.3994552195072174, 0.039970654994249344, 0.6096665263175964, -0.574508786201477, 0.47124576568603516, 0.013700745068490505, -1.0372713804244995, 0.3484615087509155, 0.025174995884299278, 0.5628851056098938, 0.763956606388092, 0.6590447425842285, -0.18765246868133545, -0.2880086302757263, -0.6573964953422546, -0.6636042594909668, 0.8045793175697327, -0.04111034423112869, 0.45304012298583984, 0.483220636844635, 0.46366527676582336, 0.2786407470703125, 0.0951782613992691, -0.9646022915840149, -0.16521884500980377, -0.3875278830528259, -0.28763169050216675, -0.2737897038459778, -0.22391827404499054, 0.0052710664458572865, -0.5476211905479431, 0.406269907951355, -0.6250399947166443, 0.36939817667007446, 0.42267096042633057, -0.5457362532615662, -0.06319188326597214, 0.01443567406386137, 0.5507882237434387, 0.7181451320648193, -0.27465367317199707, 0.10016918927431107, 0.6944072842597961, -0.35670316219329834, 0.09464991092681885, 0.12272397428750992, -0.20416462421417236, -0.30832579731941223, 0.4885881543159485, 0.8613065481185913, 0.6412394642829895, -0.6216445565223694, 0.6505777835845947, -0.15615464746952057, -0.21990060806274414, -0.3881485164165497, 0.17107786238193512, -0.3155968189239502, 0.3495156764984131, 0.6917634606361389, 0.40721556544303894, 0.32613393664360046, -0.5025399923324585, 0.4197835326194763, 0.5022032260894775, -1.1678413152694702, -0.4294218122959137, 0.7525548934936523, -0.0035899891518056393, -0.33839085698127747, 0.4902064800262451, 0.023197490721940994, -0.7800350785255432, 0.8711772561073303, 0.7848258018493652, 0.9159657955169678, -0.26943454146385193, -0.09162132441997528, 0.3166521191596985, 0.3138693869113922, 0.40728816390037537, -0.30205291509628296, -0.4350707232952118, -0.6567366123199463, -0.5554386973381042, -0.4580850303173065, -0.3029318153858185, 0.2331176996231079, -0.6738625168800354, 0.23356109857559204, -0.41562536358833313, -0.08962620794773102, -0.027919499203562737, -0.2446487843990326, -0.9549967646598816, 0.23059171438217163, 0.3264918327331543, 0.7318978309631348, -0.8608508706092834, 0.8713222742080688, 0.5453692078590393, -0.02281440794467926, -0.4538102149963379, 0.45321303606033325, -0.22757890820503235, -0.6571218371391296, 0.6776042580604553, 0.737064778804779, -0.181887686252594, 0.10558553785085678, -0.5568709373474121, -0.9640198945999146, 0.9273154735565186, 0.43281954526901245, -0.29669880867004395, 0.24936677515506744, 0.11085619777441025, 0.5553916692733765, -0.507404625415802, 0.3062102496623993, 0.5285747051239014, 0.2296248972415924, -0.30627015233039856, -0.7958694696426392, -0.09823443740606308, 0.07135886698961258, -0.032955024391412735, 0.1430416852235794, -0.8265160918235779, 0.6105045080184937, -0.2646963596343994, 0.09863438457250595, -0.16162236034870148, 0.8845587372779846, -0.4154303967952728, 0.41065844893455505, 0.8307844400405884, 0.13939988613128662, 0.3200935423374176, -0.10099107027053833, 1.0045747756958008, -0.2939499020576477, 0.41713008284568787, 0.9441590905189514, -0.23945938050746918, 0.5486047267913818, 0.3741733729839325, -0.10513400286436081, 0.536903977394104, 0.29275986552238464, 0.11397753655910492, 0.6983941793441772, -0.06069130077958107, -0.11383163183927536, -0.05293237045407295, -0.20904536545276642, -0.2802482843399048, 0.49344250559806824, 0.5831261873245239, -0.22789418697357178, -0.0165832731872797, 0.71253502368927, -0.3470458984375, 0.051762741059064865, -0.4504133462905884, 0.8662779927253723, 0.16970083117485046, -0.9233043193817139, 0.45250213146209717, -0.4244515895843506, 0.6000142693519592, -0.5670533776283264, 0.11026588082313538, -0.1210145428776741, 0.7196738123893738, -0.2569895088672638, -0.569979727268219, 0.44672873616218567, -0.4743083715438843, -0.22668835520744324, -0.4379076659679413, 1.0582294464111328, -0.2283368706703186, -0.273082971572876, 0.4711175560951233, 0.37520912289619446, -0.26439011096954346, 0.060188524425029755, -0.9124694466590881, -0.07337067276239395, -0.035969264805316925, -0.40799978375434875, 0.6441060900688171, 0.04245776683092117, 0.23340004682540894, 0.7489806413650513, 0.3589021861553192, -0.5467815399169922, -0.042396802455186844, 0.019271982833743095, 0.8961037397384644, -0.4272703230381012, -0.20667269825935364, -0.7141460180282593, 0.394727498292923, 0.0742669478058815, -0.4169957637786865, 0.6294612884521484, 0.5328958034515381, 1.016750454902649, -0.31689146161079407, 0.546794593334198, 0.14510416984558105, 0.19627389311790466, -0.38708093762397766, 0.1954854279756546, -0.6419084668159485, -0.1778859943151474, -0.0970168337225914, -1.2289501428604126, -0.3207901120185852, 0.5969277024269104, -0.42855626344680786, 0.09327711164951324, 0.7627455592155457, 0.7177501916885376, -0.43549844622612, -0.2810242176055908, 0.34737908840179443, 0.22264759242534637, -0.002702790079638362, 0.7747019529342651, 0.813202977180481, -0.22971682250499725, 0.6598316431045532, -0.4805399775505066, -0.24945633113384247, -0.41002440452575684, -0.6628919839859009, -0.9416604042053223, -0.9380913376808167, -0.20635761320590973, -0.6370335817337036, -0.11019304394721985, 0.8750929832458496, 1.1259394884109497, -0.6854894757270813, -0.21660082042217255, -0.03670745715498924, 0.16059255599975586, -0.4182250499725342, -0.29418858885765076, 0.32538920640945435, -0.751720130443573, -0.8242573738098145, 0.39846134185791016, 0.3292754292488098, -0.14129552245140076, -0.32041287422180176, -0.05925004184246063, 0.3000817894935608, -0.15273626148700714, 0.6603012681007385, 0.3417443335056305, -0.31678307056427, -0.257273405790329, -0.054562103003263474, -0.06226286664605141, 0.5025988817214966, 1.1066868305206299, -1.1175997257232666, 0.22954653203487396, 0.15346743166446686, 0.6060318350791931, 0.9647954106330872, -0.23569296300411224, 0.34163007140159607, -0.8096416592597961, 0.7424790263175964, 0.3747485876083374, 0.34676072001457214, 0.35001063346862793, -0.339928537607193, 0.43191128969192505, 0.12888430058956146, -0.7071977853775024, -0.9191802144050598, 0.28218576312065125, -0.8057668209075928, -0.4385351538658142, 0.9366539716720581, 0.15353697538375854, -0.5242468118667603, -0.3099726140499115, -0.10261169075965881, 0.038912754505872726, -0.16689085960388184, 0.5809190273284912, 0.25958478450775146, -0.1874544322490692, -0.030506283044815063, -0.8660663366317749, 0.9086278676986694, 0.8213194012641907, -0.5648176074028015, -0.1931213140487671, -0.07605523616075516, 0.3130543529987335, 0.0855100005865097, 0.26253610849380493, 0.38627201318740845, 0.2860168218612671, -0.14576275646686554, -0.3839942514896393, 0.1970069855451584, -0.5454939007759094, -0.3514752686023712, 0.3953966498374939, 0.1852969080209732, 0.009229405783116817 ]
http://arxiv.org/abs/2402.11638v1
http://arxiv.org/pdf/2402.11638v1
Stumbling Blocks: Stress Testing the Robustness of Machine-Generated Text Detectors Under Attacks
2024-02-18T16:36:00
2024-02-18T16:36:00
Yichen Wang, Shangbin Feng, Abe Bohan Hou, Xiao Pu, Chao Shen, Xiaoming Liu, Yulia Tsvetkov, Tianxing He
cs.CL
cs.CL
The widespread use of large language models (LLMs) is increasing the demand for methods that detect machine-generated text to prevent misuse. The goal of our study is to stress test the detectors' robustness to malicious attacks under realistic scenarios. We comprehensively study the robustness of popular machine-generated text detectors under attacks from diverse categories: editing, paraphrasing, prompting, and co-generating. Our attacks assume limited access to the generator LLMs, and we compare the performance of detectors on different attacks under different budget levels. Our experiments reveal that almost none of the existing detectors remain robust under all the attacks, and all detectors exhibit different loopholes. Averaging all detectors, the performance drops by 35% across all attacks. Further, we investigate the reasons behind these defects and propose initial out-of-the-box patches to improve robustness.
[ -0.40702927112579346, -1.0885900259017944, 0.6053408980369568, -0.07860342413187027, -0.17702333629131317, 0.011304079554975033, -0.0666566789150238, -0.49544861912727356, -0.27944061160087585, 0.6055096983909607, -0.4276680648326874, -0.4086434841156006, -0.8858907222747803, 0.6072748303413391, -0.6276825666427612, 0.8958263397216797, -0.1226828321814537, -0.2845672070980072, -0.24942199885845184, 0.11400482058525085, -0.44336989521980286, -0.7193644642829895, -0.5747295022010803, 0.03510740399360657, 0.4265657663345337, 0.20593297481536865, 0.6344178318977356, 0.35359081625938416, 0.8347005844116211, 0.2928822338581085, -0.17385214567184448, 0.007614739239215851, -0.3333211839199066, 0.5340989232063293, -0.05054754018783569, -0.3555012047290802, -0.2401142120361328, -0.41937315464019775, 0.47072651982307434, 0.19420365989208221, 0.32572004199028015, -0.10393720865249634, 0.23442821204662323, 0.17053091526031494, -0.7923683524131775, -0.37388646602630615, -1.1977494955062866, -0.18831126391887665, -0.5398260951042175, -0.294187068939209, -0.6931560039520264, -0.10532781481742859, -0.2161797732114792, -0.19485785067081451, 0.2604447305202484, 0.0791216790676117, 0.7905318737030029, 0.46448519825935364, -0.2694166600704193, -0.741759717464447, -0.6369361877441406, 0.7935071587562561, -0.4917728006839752, 0.034741852432489395, 0.545673668384552, 0.049073439091444016, -0.4187900722026825, -0.6852903962135315, -0.28099554777145386, -0.5163463950157166, 0.17511947453022003, -0.15576888620853424, -0.49090859293937683, 0.1039491668343544, 0.5849928259849548, 0.3909560739994049, -0.6724902987480164, 0.19800913333892822, 0.04586141183972359, -0.37209352850914, 0.45756134390830994, 0.21569804847240448, 0.5238006711006165, -0.2880859673023224, -0.31944429874420166, -0.24260568618774414, -0.7772161364555359, -0.17087727785110474, 0.6384540796279907, 0.17637383937835693, 0.1798861175775528, 0.5816587209701538, 0.17488037049770355, 0.697816789150238, -0.19018828868865967, -0.216069296002388, -0.35905957221984863, -0.3483545482158661, -0.3296642005443573, -0.22637836635112762, 0.9268462657928467, 0.24949325621128082, 0.2786500155925751, 0.04208695515990257, -0.3480689823627472, -0.00018899329006671906, 0.37007859349250793, -0.7276768684387207, -0.282028466463089, 0.23559679090976715, -0.197071835398674, -0.7564894556999207, -0.10136372596025467, -0.7190661430358887, -0.7031261920928955, 0.5761721730232239, 0.30414560437202454, -0.5640854239463806, -0.019845522940158844, 0.05781181529164314, -0.18191981315612793, -0.069109708070755, 0.03671907261013985, -0.6078596711158752, 0.17173348367214203, 0.4334923326969147, 0.6943758130073547, -0.16846692562103271, -0.2284131497144699, -0.636968731880188, -0.10656800866127014, -0.18696188926696777, 0.9462795853614807, -0.37257158756256104, -0.6624296307563782, 0.17405526340007782, -0.22311902046203613, -0.024297865107655525, -0.674613893032074, 0.9803557991981506, -0.5088129639625549, -0.13991177082061768, -0.2395431250333786, -0.5401243567466736, 0.41354772448539734, 0.44429317116737366, -0.7923052310943604, 1.1370571851730347, 0.0047150044701993465, -1.116387963294983, 0.25246402621269226, -0.3428037464618683, -0.5846940875053406, -0.17898954451084137, -0.03214035928249359, -0.7070717811584473, 0.1493917554616928, 0.3298872709274292, 0.3743545114994049, -0.18040193617343903, 0.24368120729923248, -0.43911632895469666, -0.39298808574676514, 0.7649915218353271, -0.5289220809936523, 0.8113132119178772, 0.31748732924461365, -0.41381707787513733, -0.0026962680276483297, -0.8872557282447815, -0.3134382963180542, 0.3473827838897705, -0.3296472132205963, -0.37554869055747986, 0.2541496157646179, 0.24039585888385773, -0.00456508994102478, -0.017987383529543877, -0.4689771831035614, 0.003212161362171173, -0.27590522170066833, 0.23700851202011108, 0.8795920014381409, 0.2471877783536911, -0.09074109047651291, -0.31610366702079773, 0.7240888476371765, 0.029421396553516388, 0.04304508492350578, -0.44223979115486145, -0.48663726449012756, -0.4836313724517822, -0.21717508137226105, 0.1222112774848938, 0.5427412390708923, -0.8823096752166748, 0.3724520206451416, 0.1395137757062912, -0.41588136553764343, -0.06552247703075409, 0.2666177749633789, 0.4456973969936371, 0.40975889563560486, 0.2548842132091522, -0.1882830709218979, -0.6207326650619507, -0.5742184519767761, -0.873833417892456, -0.263807088136673, -0.1787692755460739, 0.01232750341296196, 0.5789783596992493, -0.263125479221344, 0.7235665321350098, -0.4057874381542206, 0.18660451471805573, -0.30681535601615906, -0.03675025701522827, -0.2182568907737732, 0.4086885452270508, 0.5928040146827698, -0.3900892436504364, -0.29351806640625, -0.41841626167297363, -0.623869001865387, -0.3691959083080292, -0.2650538384914398, 0.311361700296402, 0.347994327545166, 0.6791440844535828, -0.5472398400306702, 0.4581666886806488, 0.5848076343536377, -0.419864684343338, 0.831150472164154, 0.12173115462064743, -0.1466268002986908, -1.1694415807724, -0.10509564727544785, 0.03099258802831173, -0.285940021276474, -0.6077466607093811, 0.31499677896499634, -0.11450383812189102, -0.34458020329475403, -0.2804446816444397, 0.17620010673999786, -0.4031578302383423, 0.06615069508552551, -0.39483189582824707, 0.05113175883889198, 0.032671838998794556, 0.11603432893753052, -0.4820241928100586, 0.6927564144134521, 0.535588264465332, -0.5753490328788757, 0.07281956076622009, -0.25470349192619324, -0.4363648593425751, 0.7577643990516663, -0.7102482318878174, 0.3862532377243042, 0.08778712898492813, 0.18493427336215973, -1.1023088693618774, -0.42667996883392334, 0.29830673336982727, -0.44017744064331055, 0.42073318362236023, -0.061558883637189865, -0.69952392578125, -0.2100573033094406, -0.5086789727210999, 0.11657482385635376, 0.35895419120788574, -0.5162025094032288, 0.36159756779670715, 0.3486388623714447, -0.12204485386610031, -0.5362112522125244, -0.6671380400657654, 0.46601685881614685, -0.3127306401729584, -0.7088815569877625, 0.013249587267637253, -0.16135622560977936, -0.509798526763916, -0.05398699268698692, -0.10576537996530533, -0.08363581448793411, 0.6371061205863953, 0.1991260051727295, 0.1479533463716507, -0.06964392215013504, -0.10827929526567459, -0.18600235879421234, 0.0018098155269399285, 0.22667817771434784, -0.13343465328216553, 0.6122496724128723, 0.08382310718297958, -0.6835498213768005, -0.43587160110473633, 0.3421361446380615, 0.7073230743408203, -0.0855315700173378, 0.4979267120361328, 0.46980002522468567, -0.5079175233840942, -0.21118669211864471, -0.45949921011924744, -0.15510384738445282, -0.5290683507919312, 0.5408177971839905, -0.655161440372467, -1.0387784242630005, 0.38840386271476746, 0.018054770305752754, 0.16767901182174683, 0.43529263138771057, 0.5017349123954773, -0.07679221034049988, 0.9739148020744324, 0.4277763068675995, 0.00904459971934557, 0.2929602861404419, 0.2931196391582489, 0.2600456476211548, -0.5799350142478943, 0.019692035391926765, -0.9296750426292419, 0.031835995614528656, -0.666877269744873, -0.3520943820476532, 0.02068793773651123, 0.09331009536981583, 0.03931314870715141, 0.4568009674549103, -0.5239096283912659, 0.5273900032043457, 0.3534860610961914, -0.145558699965477, 0.29691076278686523, 0.07640387862920761, -0.12326505035161972, -0.07550165802240372, -0.4261617958545685, -0.6761459708213806, 1.233680009841919, 0.44069430232048035, 0.9895856976509094, -0.14422732591629028, 0.8634125590324402, 0.15312950313091278, 0.10224217921495438, -0.5549662709236145, 0.586968719959259, 0.02788200043141842, -0.7250688672065735, 0.04880485311150551, -0.4121851623058319, -0.9598807692527771, -0.09538861364126205, -0.1381022036075592, -0.8536264300346375, 0.04984443262219429, 0.26475298404693604, -0.14339688420295715, 0.7396311163902283, -0.5092041492462158, 0.6311944127082825, -0.13418281078338623, -0.14130450785160065, 0.07925540953874588, -0.2656213939189911, 0.5411655902862549, -0.3312533497810364, 0.19976061582565308, 0.014525379985570908, 0.1526954174041748, 0.5233104228973389, -0.32279637455940247, 0.9549854397773743, 0.029231876134872437, -0.27346768975257874, 0.5311021208763123, 0.3897857964038849, 0.753490149974823, 0.14943191409111023, -0.0525730736553669, -0.011695506982505322, -0.21725398302078247, -0.5269845724105835, -0.15942583978176117, 0.5097188353538513, -0.4714016914367676, -0.7007248401641846, -0.611576497554779, -0.6779937148094177, -0.12279379367828369, 0.09689003229141235, 0.7001168131828308, 0.4562528133392334, -0.4130190312862396, 0.24498452246189117, 0.7746581435203552, -0.44023409485816956, 0.5298319458961487, 0.0766100361943245, -0.16443860530853271, -0.4559239447116852, 0.7456057071685791, -0.036656271666288376, 0.37690338492393494, 0.16391170024871826, 0.09155239909887314, 0.03325669839978218, -0.9298207759857178, -0.271658331155777, -0.24462567269802094, -0.6804365515708923, -0.28692498803138733, -0.5824983716011047, -0.20346051454544067, -0.45473623275756836, -0.20515839755535126, -0.2947773039340973, -0.16819161176681519, -0.163534477353096, 0.021092459559440613, 0.23981915414333344, 0.7027713656425476, 0.17852617800235748, 0.30870190262794495, -0.6289661526679993, 0.19333715736865997, 0.24999772012233734, 0.12176836282014847, -0.18770842254161835, -0.4887367784976959, -0.1479751318693161, -0.45195266604423523, -0.5760288238525391, -1.0995954275131226, 0.11482169479131699, -0.16206152737140656, 0.1479596048593521, 0.4566963016986847, 0.2789231240749359, 0.33829811215400696, -0.2974338233470917, 0.9144284725189209, 0.08081591874361038, -0.9859092235565186, 0.5417954325675964, -0.4662329852581024, 0.2557232975959778, 0.4792916774749756, 0.1586335003376007, -0.21655787527561188, -0.8441481590270996, -0.8213293552398682, -0.7190954685211182, 0.5033665895462036, 0.4667636454105377, 0.11520204693078995, -0.1474594622850418, 0.3466711938381195, -0.08300863951444626, -0.1502179056406021, -0.8007042407989502, -0.21612386405467987, -0.1647888571023941, -0.14982832968235016, 0.06721586734056473, -0.5705872178077698, -0.1502051204442978, 0.18417203426361084, 0.4625241756439209, 0.054994627833366394, 0.2584637701511383, 0.4097086191177368, -0.3212087154388428, -0.09678041934967041, 0.40766143798828125, 0.7822101712226868, 0.30563876032829285, -0.17191632091999054, 0.5786405801773071, 0.3134538531303406, -0.7095500826835632, 0.16378073394298553, 0.058257002383470535, -0.4420572519302368, 0.2668655514717102, 0.604010283946991, 0.9110550284385681, 0.08069444447755814, -0.7834760546684265, 0.21507364511489868, -0.07575791329145432, -0.18537364900112152, -0.0839058980345726, 0.10444054007530212, 0.10117093473672867, -0.05732494592666626, 0.13873179256916046, 0.22933244705200195, -0.07252619415521622, -0.5150020122528076, 0.3300766944885254, 0.6166104078292847, -0.3569506108760834, -0.3617914617061615, 0.521532416343689, 0.0004441911878529936, -0.4882095754146576, 0.21523690223693848, -0.24086405336856842, -0.6630094051361084, 0.6502717137336731, 0.9084637761116028, 1.0264381170272827, -0.25905826687812805, -0.10069968551397324, 0.18043644726276398, 0.9195780158042908, 0.028647122904658318, 0.09488218277692795, 0.0978914424777031, -0.557017982006073, -0.16424395143985748, -0.5158357620239258, -0.6703949570655823, 0.39114534854888916, -0.5471858382225037, 0.2155437469482422, -0.6354620456695557, -0.342267781496048, -0.3413897454738617, -0.00007882900536060333, -0.2848289906978607, 0.12174549698829651, 0.17610859870910645, 0.9412431716918945, -0.6230644583702087, 0.6456485390663147, 0.7004022002220154, -0.1539246290922165, -0.5435332655906677, 0.44022783637046814, 0.1569596827030182, -0.8461297154426575, 0.17823220789432526, 0.18125474452972412, -0.11822230368852615, -0.17791521549224854, -0.5775780081748962, -0.7310006618499756, 0.6398249268531799, 0.41169580817222595, -0.5180111527442932, 0.2223556488752365, 0.32248654961586, 0.32345083355903625, -0.06595953553915024, 0.01479952409863472, 0.6460102200508118, 0.4494413137435913, -0.1528267115354538, -0.5027568936347961, 0.21768836677074432, -0.08932871371507645, -0.10541582107543945, 0.2822429835796356, -0.315342515707016, 0.7645520567893982, 0.06526383012533188, -0.2570788264274597, 0.22680635750293732, 0.372663289308548, 0.46351540088653564, 0.5943979024887085, 0.5717241168022156, 0.8479981422424316, 0.8111863136291504, -0.16656692326068878, 1.1906551122665405, -0.2802874445915222, 0.12911410629749298, 0.9265623092651367, -0.3932740390300751, 0.8060024380683899, 0.42650720477104187, -0.009120325557887554, 0.4747709333896637, 0.5219810605049133, -0.273200124502182, 0.22320304811000824, 0.3800487816333771, -0.36289432644844055, -0.18728196620941162, 0.026848560199141502, -0.2320266216993332, 0.12443524599075317, 0.1912776231765747, -0.26742520928382874, -0.2041112333536148, 0.1079622134566307, 0.5026752352714539, 0.08966503292322159, -0.10660898685455322, 0.4846680164337158, 0.27371254563331604, -0.6876655220985413, 0.5910288691520691, 0.19125743210315704, 0.8920661807060242, -0.48947203159332275, 0.621330976486206, -0.11811167001724243, 0.27819696068763733, -0.18891184031963348, -0.6805611252784729, 0.42102113366127014, 0.6646619439125061, 0.18338899314403534, -0.010946162045001984, 1.4285677671432495, -0.01811983995139599, -0.3803523778915405, 0.26565685868263245, 0.2310882955789566, 0.12357059866189957, -0.21280990540981293, -0.5235305428504944, 0.6282303929328918, -0.019746383652091026, -0.4215731620788574, 0.5673323273658752, 0.25481393933296204, 0.06588586419820786, 0.5125158429145813, 0.6855790615081787, 0.01759212091565132, 0.32511594891548157, -0.10470163822174072, 0.8242877125740051, -0.6584523320198059, 0.004346530884504318, -1.3083199262619019, 0.42025575041770935, -0.17189407348632812, -0.3417133092880249, 1.0244855880737305, 0.32071611285209656, 0.6623655557632446, 0.03066682256758213, 0.8734330534934998, 0.04302534461021423, 0.08397508412599564, -0.5144626498222351, 0.6382455229759216, -0.362030029296875, 0.39914679527282715, -0.6673012375831604, -0.792371928691864, -0.4313189685344696, 0.28313148021698, 0.02378968894481659, -0.12668916583061218, 0.8867929577827454, 0.845555305480957, 0.22861456871032715, -0.18201933801174164, 0.38755837082862854, 0.2562576234340668, 0.5316552519798279, 0.6551887392997742, 1.0912036895751953, -0.5783681273460388, 1.0424014329910278, -0.24213050305843353, -0.054820552468299866, -0.13269343972206116, -0.9921953082084656, -1.3280450105667114, -0.28592053055763245, -0.3826908767223358, -0.6755349040031433, 0.07743183523416519, 0.3741406202316284, 0.20596051216125488, -0.7323012948036194, -0.1421549767255783, -0.3250938355922699, 0.32063597440719604, 0.11385449022054672, -0.19678948819637299, 0.2758708894252777, -0.5561631917953491, -0.6392228007316589, 0.5430834293365479, 0.3679080903530121, 0.11121749132871628, -0.2559758722782135, 0.09723212569952011, 0.05592240020632744, 0.41563257575035095, 0.3638702929019928, 0.27210381627082825, -0.5453274846076965, -0.3775646686553955, 0.2940382659435272, -0.3549652397632599, -0.12800730764865875, 0.8407930731773376, -0.4103364944458008, 0.30981874465942383, 0.6174643635749817, 0.9106701016426086, 0.03941240534186363, -0.2279558628797531, 0.41155362129211426, -0.8297737240791321, 0.11550811678171158, 0.25336411595344543, 0.46384039521217346, 0.4110400974750519, -0.2819438874721527, 0.14516474306583405, 0.4816436767578125, -0.6529235243797302, -1.4538666009902954, 0.5362488627433777, -0.7781930565834045, -0.48704835772514343, 1.065961241722107, -0.21708877384662628, -0.14147727191448212, -0.3414181172847748, -0.15865390002727509, 0.17147915065288544, -0.033159289509058, 0.8559651374816895, 1.004415512084961, 0.20178484916687012, 0.043013036251068115, -0.435847669839859, 0.6689300537109375, 0.5514717698097229, -0.7774375081062317, 0.06026173755526543, 0.25493258237838745, 0.36105450987815857, 0.2862606644630432, 0.5937960743904114, -0.2141069918870926, 0.24539582431316376, 0.26254355907440186, -0.0997806116938591, 0.11769167333841324, -0.18096841871738434, -0.4332308769226074, 0.4653293192386627, 0.3896876573562622, -0.014309934340417385 ]
http://arxiv.org/abs/2402.11633v1
http://arxiv.org/pdf/2402.11633v1
Self-seeding and Multi-intent Self-instructing LLMs for Generating Intent-aware Information-Seeking dialogs
2024-02-18T16:20:43
2024-02-18T16:20:43
Arian Askari, Roxana Petcu, Chuan Meng, Mohammad Aliannejadi, Amin Abolghasemi, Evangelos Kanoulas, Suzan Verberne
cs.CL
cs.CL
Identifying user intents in information-seeking dialogs is crucial for a system to meet user's information needs. Intent prediction (IP) is challenging and demands sufficient dialogs with human-labeled intents for training. However, manually annotating intents is resource-intensive. While large language models (LLMs) have been shown to be effective in generating synthetic data, there is no study on using LLMs to generate intent-aware information-seeking dialogs. In this paper, we focus on leveraging LLMs for zero-shot generation of large-scale, open-domain, and intent-aware information-seeking dialogs. We propose SOLID, which has novel self-seeding and multi-intent self-instructing schemes. The former improves the generation quality by using the LLM's own knowledge scope to initiate dialog generation; the latter prompts the LLM to generate utterances sequentially, and mitigates the need for manual prompt design by asking the LLM to autonomously adapt its prompt instruction when generating complex multi-intent utterances. Furthermore, we propose SOLID-RL, which is further trained to generate a dialog in one step on the data generated by SOLID. We propose a length-based quality estimation mechanism to assign varying weights to SOLID-generated dialogs based on their quality during the training process of SOLID-RL. We use SOLID and SOLID-RL to generate more than 300k intent-aware dialogs, surpassing the size of existing datasets. Experiments show that IP methods trained on dialogs generated by SOLID and SOLID-RL achieve better IP quality than ones trained on human-generated dialogs.
[ -0.110274538397789, -0.6699159145355225, 0.8071364760398865, 0.03605415299534798, -0.23178736865520477, -0.26846209168434143, -0.11026337742805481, -0.07303665578365326, 0.1861737221479416, 0.6559895277023315, -0.7995168566703796, -0.5797821283340454, 0.010911140590906143, 0.15117448568344116, 0.0996769517660141, 0.8849770426750183, -0.055051885545253754, -0.05616511031985283, -0.1290450394153595, 0.2680935263633728, -0.8925279974937439, -0.3866350054740906, -0.20658276975154877, -0.14501908421516418, 0.44617748260498047, 0.7586270570755005, 0.30981773138046265, 0.48998868465423584, 0.05227411910891533, 0.18378093838691711, 0.49765148758888245, 0.4205959141254425, -0.7443901300430298, 0.4941498935222626, 0.08888698369264603, -0.3589560091495514, -0.18218837678432465, 0.15225063264369965, 0.5191435813903809, 0.40415772795677185, -0.057881519198417664, 0.0020875753834843636, -0.22137168049812317, 0.43286633491516113, -0.6270798444747925, 0.09831979125738144, -0.8421452045440674, 0.26953551173210144, -0.039474960416555405, -0.8499425649642944, -0.7644265294075012, -0.07725737243890762, 0.2133788913488388, -0.5628114342689514, 0.08658837527036667, 0.1088719293475151, 0.3978230655193329, 0.034164246171712875, -0.2273261994123459, -0.5383687019348145, -0.7699422240257263, 0.8717713356018066, -0.6634858250617981, 0.37353426218032837, 0.34612390398979187, 0.1519089937210083, -0.472046822309494, -0.2917875349521637, -0.325237512588501, -0.16147252917289734, 0.21258415281772614, 0.2353232204914093, 0.3000335991382599, 0.18121154606342316, -0.015270907431840897, 0.22605426609516144, -0.4927150011062622, -0.23321633040905, -0.3029135465621948, -0.11790231615304947, 0.6195186972618103, 0.2785874009132385, 0.12905515730381012, -0.1743837147951126, -0.5669774413108826, 0.010297155007719994, -0.959492027759552, 0.10468525439500809, 0.16989703476428986, 0.44548019766807556, 0.15076875686645508, 0.7118124961853027, -0.4413445293903351, 0.7004552483558655, 0.3831227123737335, -0.2998366057872772, 0.08081535995006561, -0.6014561653137207, -0.1850079596042633, 0.4882974922657013, 0.8724038004875183, 0.4112732708454132, 0.23248250782489777, -0.18088161945343018, -0.07595828920602798, -0.4531990587711334, 0.2547832131385803, -1.1807329654693604, 0.16571617126464844, 0.3721691370010376, -0.36770007014274597, -0.157181054353714, 0.037277091294527054, -0.3229714334011078, -0.2357829213142395, -0.2112056314945221, 0.278384804725647, -0.5833629369735718, -0.1069023609161377, 0.27514493465423584, 0.17053373157978058, 0.1807798594236374, 0.4936436712741852, -0.8317321538925171, -0.1381223350763321, 0.3125467896461487, 0.5619493126869202, -0.005847509950399399, -0.22387053072452545, -0.661073625087738, 0.43054065108299255, -0.56455397605896, 0.7475755214691162, -0.4213763475418091, -0.46283552050590515, -0.0155794071033597, -0.3041324019432068, -0.003569269785657525, -0.28954237699508667, 0.37702399492263794, -0.5394318103790283, 0.4525086283683777, -0.052711524069309235, -0.7159478068351746, -0.2857479155063629, 0.28345778584480286, -0.23604600131511688, 0.5686091184616089, -0.05216267332434654, -0.4545380771160126, 0.4404245615005493, -0.761401355266571, -0.2864801287651062, 0.4855896532535553, -0.5605229735374451, -0.19883689284324646, 0.3480973243713379, -0.006419836543500423, 0.7587316632270813, -0.31288623809814453, 0.3646516799926758, -0.32652509212493896, -0.19915597140789032, 0.4357951581478119, -0.8335166573524475, 0.1918536126613617, 0.18132540583610535, -0.28768211603164673, 0.06751076132059097, -0.420177161693573, 0.3925764560699463, 0.21510036289691925, -0.32950517535209656, -0.03448149189352989, -0.024363858625292778, -0.49875348806381226, 0.1333283931016922, 0.24201209843158722, -0.7109754085540771, 0.3293476700782776, -0.2369420975446701, 0.048494886606931686, 0.7159925103187561, 0.20154498517513275, 0.29976311326026917, -0.1550518125295639, 0.332110732793808, 0.03458118811249733, 0.22680887579917908, -0.7855224609375, -0.19377285242080688, -0.4870372712612152, -0.028001820668578148, 0.10933571308851242, 0.396463543176651, -0.6692377328872681, 0.2401759773492813, -0.2577352821826935, -0.14909599721431732, -0.3132270574569702, 0.2436893731355667, 0.37524646520614624, 0.27716970443725586, 0.06262078136205673, -0.3154211938381195, -0.20695321261882782, -0.5184546113014221, -0.05359978601336479, -0.15250734984874725, 0.06616891175508499, 0.9200319647789001, -0.013484430499374866, -0.028772156685590744, 1.2638273239135742, -0.558083713054657, -0.6265433430671692, -0.2910960614681244, 0.2528097927570343, 0.2976604402065277, 0.11578033119440079, 0.4324345588684082, -0.6834854483604431, -0.7914754748344421, -0.34874585270881653, -0.9113008379936218, 0.011276669800281525, -0.2468702644109726, -0.0461917519569397, 0.12276045978069305, 0.21619126200675964, -0.660103976726532, 0.38368695974349976, 0.39308488368988037, -0.31301963329315186, 0.6641390323638916, -0.2302999198436737, 0.21178434789180756, -1.0863122940063477, -0.24423739314079285, -0.15677215158939362, -0.1847672164440155, -0.8874321579933167, -0.5748343467712402, -0.08861055225133896, -0.1919257789850235, -0.7451299428939819, 0.7426285743713379, -0.8492380976676941, 0.004773534368723631, -0.33806902170181274, 0.07239022850990295, 0.06407445669174194, 0.5065110921859741, 0.15519216656684875, 1.1797648668289185, 0.39418289065361023, -0.635955274105072, -0.04397958517074585, 0.09622588753700256, -0.2636658549308777, 0.5692964196205139, -0.2921707332134247, 0.19660575687885284, -0.3537692129611969, 0.3063596487045288, -0.825188398361206, -0.399118572473526, 0.2842274010181427, -0.4727688133716583, 0.2237914502620697, -0.2730008661746979, -0.14121250808238983, -0.18851198256015778, -0.3811802268028259, 0.522243082523346, 0.25023967027664185, -0.4751773774623871, 0.6714158654212952, 0.1558799296617508, -0.3719416558742523, -0.5101804733276367, -0.2514106035232544, 0.11848293244838715, -0.056419551372528076, -0.6988462805747986, 0.10846616327762604, -0.476644366979599, 0.1588418334722519, -0.16442064940929413, 0.036962319165468216, -0.037407632917165756, -0.197209894657135, 0.37564221024513245, 0.11898856610059738, -0.18037910759449005, 0.2685282528400421, -0.13599711656570435, -0.16744056344032288, -0.1149841696023941, -0.49871689081192017, 0.7122279405593872, -0.10136830806732178, -0.5354680418968201, -0.6330809593200684, 0.37391889095306396, 0.5608566403388977, 0.009910307824611664, 0.44702818989753723, 0.3898884654045105, 0.11058028042316437, -0.2916092872619629, -0.7292979955673218, -0.4399193525314331, -0.4684867858886719, -0.09429829567670822, -0.5470853447914124, -0.8751277923583984, 0.04198259487748146, -0.2552769184112549, 0.2701477110385895, 0.1214582547545433, 0.5032583475112915, -0.1810297816991806, 1.0150566101074219, 0.4446543753147125, 0.2215375006198883, 0.6048417687416077, -0.40141820907592773, 0.16339343786239624, -0.8824877738952637, 0.0013117942726239562, 0.1153147965669632, 0.18670915067195892, -0.054507192224264145, -0.5279196500778198, 0.47010424733161926, -0.05312196910381317, 0.1786022186279297, 0.015255650505423546, -0.4722593128681183, 0.4642771780490875, 0.6639493703842163, -0.1070956438779831, 0.29028812050819397, 0.3014722168445587, -0.1713540405035019, -0.0654274970293045, -0.7621471881866455, -0.4292897880077362, 1.308044672012329, 0.26692143082618713, 1.1774377822875977, -0.1950054168701172, 0.8397430181503296, 0.2946532070636749, 0.15790943801403046, -0.8030340075492859, 0.4600036144256592, 0.10009559988975525, -0.5890162587165833, -0.47663402557373047, -0.6961043477058411, -1.0300323963165283, 0.11335191130638123, 0.08278333395719528, -0.616625189781189, -0.0010338363936170936, 0.25320833921432495, -0.6824784278869629, 0.22833748161792755, -0.6259613633155823, 0.5487033724784851, -0.8321735262870789, -0.31311312317848206, -0.043492354452610016, -0.2911766767501831, 0.2855600118637085, 0.15112093091011047, -0.028578786179423332, -0.5163527727127075, 0.37128162384033203, 0.35431718826293945, -0.12738275527954102, 0.9881384968757629, -0.3764227628707886, -0.1533438265323639, 0.7808467745780945, 0.34392398595809937, 0.5323672890663147, 0.1815148890018463, -0.07651602476835251, 0.14572006464004517, -0.43500447273254395, 0.028198853135108948, -0.4168781042098999, 0.573944628238678, -0.5782378911972046, -0.6508134007453918, -0.4237860441207886, -0.6204367876052856, -0.06796988844871521, 0.46883928775787354, 0.22062642872333527, 0.7372714281082153, -0.2364538311958313, 0.5199605226516724, 0.8346670866012573, -0.17559495568275452, 0.38898372650146484, 0.8497337102890015, -0.0523562915623188, -0.5043951272964478, 1.0217267274856567, 0.16432397067546844, 0.4473716616630554, 0.3220233917236328, 0.15445773303508759, -0.4765949845314026, -0.4951602518558502, -0.7765427827835083, 0.1228477880358696, -0.27122488617897034, -0.47682854533195496, -0.7331812977790833, -0.4345450699329376, -0.3992847204208374, -0.21294154226779938, -0.4263950288295746, -0.05737774819135666, -0.5236207842826843, 0.15395498275756836, 0.2872864902019501, 0.5794777274131775, 0.014143591746687889, 0.3781580328941345, -0.6523874402046204, 0.4797404408454895, 0.4662257134914398, 0.5310178995132446, -0.25283917784690857, -0.4036545753479004, -0.14792345464229584, 0.41690951585769653, -0.30853167176246643, -0.583731472492218, 0.3696698844432831, 0.27598100900650024, 0.4741559326648712, 0.6008756756782532, 0.2732926607131958, 0.3047342598438263, -0.6383675932884216, 0.6739777326583862, 0.4279230833053589, -0.3357192873954773, 0.6167360544204712, -0.4024210572242737, 0.3261876702308655, 0.827989935874939, 0.16403867304325104, -0.5331025719642639, 0.04554106667637825, -0.4119914472103119, -0.6964589953422546, 0.9985425472259521, 0.1752552092075348, 0.14337298274040222, -0.08968541771173477, 0.330750435590744, 0.33939680457115173, 0.3684242367744446, -0.6365535855293274, -0.16647523641586304, -0.2378946989774704, -0.29749777913093567, 0.19411836564540863, -0.528383731842041, -0.05008796602487564, 0.4509832262992859, 0.7949783802032471, -0.45594772696495056, 0.45916733145713806, 0.4194183647632599, -0.04286732152104378, -0.2550276219844818, 0.46139511466026306, 0.5025258660316467, 0.4701835811138153, -0.42591041326522827, -0.024652158841490746, -0.1253805309534073, -0.37243807315826416, 0.35807356238365173, -0.1778743863105774, -0.5952945947647095, 0.004668721463531256, -0.39269495010375977, 1.1078723669052124, 0.04319796338677406, -0.6483503580093384, 0.6530017852783203, -0.3888038694858551, -0.05694840848445892, -0.5702295303344727, 0.2414272278547287, -0.2083708941936493, 0.008196058683097363, 0.37610116600990295, -0.5667455792427063, 0.24679455161094666, -0.5496084094047546, 0.07864557206630707, 0.7447654008865356, -0.5002100467681885, -0.12592336535453796, 0.2089981883764267, 0.44527265429496765, -0.3846079111099243, 0.5927941799163818, -0.34658610820770264, -0.1722937673330307, 0.14156091213226318, 0.7232137322425842, 1.118078589439392, -0.29319894313812256, 0.494954913854599, 0.06851096451282501, -0.009792188182473183, 0.15499213337898254, 0.41030582785606384, -0.22807517647743225, -0.7287205457687378, -0.3523668348789215, -0.504464864730835, -0.610741376876831, 0.3448410630226135, -0.017332058399915695, 0.20591218769550323, -0.2169320434331894, -0.2104274034500122, -0.29141154885292053, -0.0034169312566518784, -0.5377007722854614, 0.13689465820789337, 0.04140034317970276, 0.5943546891212463, -0.3440416753292084, 0.3757462203502655, 0.30835798382759094, -0.16649508476257324, -0.8130015730857849, -0.0930897444486618, -0.035112231969833374, -0.6407647132873535, 0.3899362087249756, 0.5454574227333069, -0.20525389909744263, -0.07114948332309723, -0.43778499960899353, -1.0483132600784302, 1.3617699146270752, 0.182413712143898, -0.4130406081676483, 0.010040760971605778, 0.5146089196205139, 0.04483482986688614, -0.7769204378128052, 0.42128637433052063, -0.14746874570846558, 0.24408890306949615, 0.4000761806964874, -0.5729352831840515, -0.09781630337238312, -0.03599551320075989, -0.12549009919166565, 0.1318269520998001, -0.7177861332893372, 0.6282991766929626, -0.1786516159772873, -0.477937787771225, -0.09844549745321274, 0.610474705696106, 0.5873602032661438, 0.3502209186553955, 0.48955225944519043, 0.27538952231407166, 0.3691836893558502, 0.19666634500026703, 0.7972343564033508, -0.7858381867408752, 0.04848790541291237, 1.4074207544326782, -0.5033141374588013, 0.48879289627075195, 0.21644696593284607, 0.3354538083076477, 0.3823477029800415, 0.41653919219970703, 0.16114462912082672, 0.43617337942123413, -0.050252508372068405, -0.5820600986480713, -0.20315419137477875, -0.39196717739105225, -0.21154624223709106, 0.4564099907875061, 0.5913364887237549, -0.406941682100296, -0.2801710069179535, -0.08832714706659317, -0.21674218773841858, -0.4908446967601776, -0.16530676186084747, 1.0930241346359253, -0.010501503013074398, -0.8716098070144653, 0.4479500353336334, -0.15375672280788422, 0.6436693668365479, -0.7255164384841919, -0.15959163010120392, -0.014548909850418568, -0.0742398276925087, 0.035243961960077286, -0.9169396162033081, -0.4084468185901642, -0.060810014605522156, -0.32908597588539124, -0.45261508226394653, 1.1009101867675781, -0.5103278160095215, -0.2099444717168808, 0.06479604542255402, 0.42225223779678345, 0.5767297744750977, -0.22664229571819305, -0.49051976203918457, -0.14500002562999725, 0.05479110777378082, -0.3600502908229828, 0.20724692940711975, 0.6434688568115234, 0.09208618104457855, 0.7686475515365601, 0.8685937523841858, -0.06262565404176712, 0.19953911006450653, 0.10535043478012085, 0.6901602149009705, -0.6035751104354858, -0.374580442905426, -0.4499093294143677, 0.3425624668598175, -0.03590327501296997, -0.10248129069805145, 0.5806542038917542, 0.6327793002128601, 0.6132677793502808, -0.07083764672279358, 0.9967606067657471, -0.04034039378166199, 0.4213751256465912, -0.4478408098220825, 0.33567386865615845, -0.29818084836006165, 0.01576290652155876, 0.16083920001983643, -0.9350727796554565, 0.28833895921707153, 0.40664657950401306, -0.2388448268175125, 0.19851070642471313, 0.22129996120929718, 0.6521317362785339, -0.21174107491970062, -0.13768261671066284, 0.5742846131324768, 0.1260976493358612, 0.375724196434021, 0.493716835975647, 0.8103904724121094, -0.23782792687416077, 0.6168709397315979, -0.04199782386422157, -0.27718767523765564, -0.6797803640365601, -0.8984432220458984, -0.7899477481842041, -0.3000093698501587, 0.14742091298103333, -0.08135315030813217, -0.015068708918988705, 0.8880751132965088, 1.0299863815307617, -0.548242449760437, -0.3268613815307617, -0.23741744458675385, -0.013517450541257858, 0.34299978613853455, -0.29389771819114685, -0.032471925020217896, -0.6044162511825562, -0.3747548758983612, 0.7240056991577148, 0.7183657884597778, 0.3431364893913269, -0.5610872507095337, -0.20991748571395874, -0.09219847619533539, 0.3373035490512848, 0.6903719902038574, 0.5154176354408264, -0.6602165699005127, -0.3404470980167389, 0.16313646733760834, -0.16101092100143433, 0.19301944971084595, 0.7560474276542664, -0.6771930456161499, 0.7450441122055054, 0.31928110122680664, 0.48061302304267883, 0.5066051483154297, 0.24684517085552216, 0.68789142370224, -0.8054431676864624, -0.3001222014427185, 0.3481200635433197, -0.01945326291024685, 0.2922963500022888, -0.7714900970458984, 0.4397883415222168, -0.26599422097206116, -0.6900855898857117, -0.5060081481933594, 0.3392661511898041, -0.7636810541152954, -0.1456836313009262, 1.2114394903182983, -0.10311863571405411, -0.31583020091056824, -0.06379897892475128, -0.3452273905277252, -0.017351489514112473, -0.8414334058761597, 0.8630101680755615, 0.229864701628685, -0.5032773613929749, -0.05189798027276993, -0.4850137531757355, 0.4506649672985077, 0.4207351505756378, -0.9095077514648438, 0.34184184670448303, 0.5984102487564087, 0.2571176588535309, 0.30070993304252625, 1.017840027809143, 0.06296422332525253, 0.30604287981987, -0.3094205856323242, 0.25660640001296997, -0.19235236942768097, -0.7929622530937195, 0.12795062363147736, 0.2228086292743683, -0.04671541973948479, -0.10670098662376404 ]
http://arxiv.org/abs/2402.11628v1
http://arxiv.org/pdf/2402.11628v1
Discrete Neural Algorithmic Reasoning
2024-02-18T16:03:04
2024-02-18T16:03:04
Gleb Rodionov, Liudmila Prokhorenkova
cs.LG
cs.LG, cs.CL
Neural algorithmic reasoning aims to capture computations with neural networks via learning the models to imitate the execution of classical algorithms. While common architectures are expressive enough to contain the correct model in the weights space, current neural reasoners are struggling to generalize well on out-of-distribution data. On the other hand, classical computations are not affected by distribution shifts as they can be described as transitions between discrete computational states. In this work, we propose to force neural reasoners to maintain the execution trajectory as a combination of finite predefined states. Trained with supervision on the algorithm's state transitions, such models are able to perfectly align with the original algorithm. To show this, we evaluate our approach on the SALSA-CLRS benchmark, where we get perfect test scores for all tasks. Moreover, the proposed architectural choice allows us to prove the correctness of the learned algorithms for any test data.
[ -0.2549232244491577, -0.3164254128932953, 0.7739909887313843, 0.1718381643295288, -0.18703678250312805, -0.1994788646697998, -0.2345479428768158, -0.07490865886211395, 0.1487945169210434, 0.27861636877059937, -0.4061782658100128, -0.23071786761283875, -0.31770798563957214, -0.15418152511119843, -0.6166508197784424, 0.9694124460220337, -0.19933465123176575, 0.05769867077469826, -0.30644163489341736, 0.02503223344683647, -0.43348732590675354, -0.057294540107250214, -0.376753032207489, -0.748113751411438, 0.5262375473976135, 0.03567736595869064, 0.6529622673988342, 0.8556326627731323, 0.2508286237716675, 0.3265266418457031, 0.1475526988506317, 0.23410087823867798, -0.13610395789146423, 0.05441325530409813, -0.4486840069293976, -0.5069194436073303, 0.07945887744426727, -0.22397728264331818, 0.3639664053916931, 0.5243139863014221, -0.4410558044910431, -0.003468794748187065, -0.1987956166267395, 0.598298966884613, -0.9020097255706787, 0.20384176075458527, -0.5445384383201599, 0.08331158757209778, -0.07747264951467514, -0.19172658026218414, -0.668987512588501, -0.7725144028663635, -0.06724096834659576, -0.6147651672363281, -0.18531297147274017, -0.41644951701164246, 0.5812526345252991, 0.5674887299537659, -0.43734100461006165, -0.24464793503284454, -1.0250322818756104, 0.45866310596466064, -0.46011728048324585, 0.22067974507808685, 0.06775946170091629, 0.6501203775405884, -0.23921434581279755, -0.9094638824462891, -0.5215306878089905, 0.029169395565986633, 0.14575281739234924, 0.046564362943172455, -0.2125636488199234, 0.11456168442964554, 0.22698089480400085, 0.21966129541397095, -0.3988422155380249, 0.04838725924491882, -0.27093085646629333, 0.19719228148460388, 0.6260837316513062, 0.22956539690494537, 0.13627293705940247, 0.3383537530899048, -0.21463266015052795, -0.21206572651863098, -0.6163301467895508, 0.18181872367858887, 0.17621444165706635, 0.16389094293117523, -0.022173194214701653, 0.14905641973018646, 0.016320863738656044, 1.0666816234588623, 0.1821131855249405, 0.40390604734420776, 0.0052393353544175625, 0.006979552563279867, -0.3591177463531494, -0.01387542113661766, 0.7724640369415283, 0.04771726205945015, 0.5877393484115601, -0.17498621344566345, -0.17974825203418732, 0.33485686779022217, 0.7008031606674194, -0.6237243413925171, -0.4126955270767212, 0.17894138395786285, -0.2554234564304352, -0.04864218458533287, -0.043266672641038895, -0.6393598914146423, -0.38535889983177185, -0.676579475402832, 0.39205026626586914, -0.6117667555809021, -0.09816630184650421, 0.32199710607528687, -0.09512045234441757, 0.3532654345035553, 0.41228556632995605, -0.943784773349762, 0.6184241771697998, 0.8837593197822571, 0.5392947196960449, 0.04000411927700043, -0.15134701132774353, -0.17998917400836945, -0.25691497325897217, -0.7300629019737244, 0.5497063994407654, -0.44099509716033936, 0.23870927095413208, 0.04742922633886337, -0.5771746039390564, -0.6430040001869202, -0.40505170822143555, 0.3554365634918213, -0.7777853012084961, 0.05489056184887886, -0.4244246780872345, -0.7216391563415527, -0.27381032705307007, 0.38512152433395386, -0.1894867867231369, 0.6391164064407349, -0.15634073317050934, -0.3440420627593994, 0.08124983310699463, -0.8187078237533569, -0.4549960494041443, 0.01714983955025673, -0.46653929352760315, -0.1668834239244461, 0.2145279198884964, 0.09235397726297379, 0.003832753049209714, -0.18750689923763275, 0.2863244116306305, -0.29902222752571106, -0.6039831638336182, 0.3555338680744171, -0.28145942091941833, 0.8337128758430481, 0.39036062359809875, -0.5670570731163025, 0.25532329082489014, -0.48124489188194275, 0.34626251459121704, -0.1538955122232437, -0.1790781021118164, -0.26351797580718994, 0.5057594776153564, -0.4648837447166443, 0.3787616789340973, 0.03869255259633064, -0.35108304023742676, 0.16705405712127686, -0.5315742492675781, 0.7144750356674194, 0.884882926940918, -0.12826640903949738, 0.517936646938324, -0.4838377833366394, 0.4603736698627472, 0.03487532213330269, 0.13998642563819885, -0.02302018366754055, -0.31742778420448303, -0.5963570475578308, -0.24004241824150085, 0.482388973236084, 0.6541693210601807, -0.7025356292724609, 0.5006052255630493, -0.3921304941177368, -0.43408897519111633, -0.31407809257507324, -0.26594024896621704, 0.31893566250801086, 0.5451146960258484, 0.2637866139411926, 0.12097062915563583, -0.45830750465393066, -0.6940542459487915, -0.11531087011098862, 0.08049090951681137, 0.13396349549293518, 0.12074179947376251, 0.6836094856262207, 0.07730314135551453, 0.7640961408615112, -0.3012793958187103, 0.2788299322128296, 0.04721776396036148, -0.004992207512259483, 0.6268616914749146, 0.6596903204917908, 0.3984133005142212, -0.831986665725708, -0.30999088287353516, 0.012129140086472034, -0.8260278105735779, 0.20064476132392883, -0.35599541664123535, -0.19337794184684753, -0.22590212523937225, 0.44227197766304016, -0.78029865026474, 0.49953460693359375, 0.1923167109489441, -0.13925568759441376, 0.4653204083442688, -0.39195168018341064, 0.09988712519407272, -0.7255403399467468, 0.031135454773902893, -0.001363570336252451, -0.08087626844644547, -0.5540186166763306, 0.3631370961666107, 0.021427033469080925, -0.04173319786787033, -0.2810627818107605, 0.11061759293079376, -0.15184688568115234, -0.02850988134741783, -0.19014215469360352, -0.236689954996109, -0.17118126153945923, 0.3789623975753784, 0.02314235270023346, 0.47563835978507996, 0.6321369409561157, -0.8056584596633911, 0.33871790766716003, 0.06646176427602768, -0.3014831244945526, 0.4692833721637726, -0.9009429216384888, 0.2248283475637436, -0.21810083091259003, 0.28378623723983765, -0.9667763710021973, 0.1765257865190506, 0.20039889216423035, -0.472648024559021, -0.04807968810200691, -0.10171028226613998, -0.34239551424980164, -0.3419574499130249, -0.0869864895939827, 0.5354658961296082, 0.6616171598434448, -0.6713845133781433, 0.9048939943313599, -0.09321100264787674, 0.6849345564842224, -0.6393224000930786, -0.6384927034378052, -0.12785708904266357, -0.15031768381595612, -0.601102352142334, 0.5164819955825806, -0.1298052817583084, -0.3925466239452362, -0.0015860123094171286, -0.12494625896215439, -0.3061169385910034, 0.017930392175912857, 0.4042918086051941, 0.08609214425086975, -0.39502519369125366, -0.042547404766082764, 0.0699230507016182, 0.03216816112399101, 0.378309428691864, -0.6974882483482361, 0.5218345522880554, -0.20263326168060303, -0.3879109025001526, -0.4118509888648987, 0.004113351460546255, 0.755980908870697, -0.4095943570137024, 0.6201071739196777, -0.05058450251817703, -0.43170246481895447, -0.48109105229377747, -0.1931198537349701, -0.02503175660967827, -0.48413124680519104, -0.2617819607257843, -0.5533269643783569, -0.39853379130363464, 0.5244821310043335, -0.14201273024082184, -0.008266177959740162, 0.20948335528373718, 0.5034598112106323, -0.3942650556564331, 0.8858679533004761, 0.0457262359559536, 0.06308330595493317, 0.2907322645187378, -0.4026663601398468, 0.09332730621099472, -0.4889134168624878, -0.1687040776014328, -0.37110260128974915, -0.6986004710197449, -0.458569198846817, -0.19821996986865997, 0.26862072944641113, -0.09437879920005798, -0.46435853838920593, 0.18412867188453674, -0.6742427945137024, 0.726622998714447, 0.5964627265930176, 0.2947086989879608, -0.42047691345214844, -0.19420067965984344, -0.3901902437210083, 0.05518835037946701, -0.5789564251899719, -0.07332050055265427, 0.6582688093185425, -0.023385806009173393, 0.40153852105140686, 0.07282411307096481, 0.8271169662475586, 0.20390985906124115, -0.04634876549243927, -0.5572171807289124, 0.48458853363990784, -0.22514072060585022, -0.46932780742645264, 0.017799511551856995, -0.5102870464324951, -0.9082818031311035, 0.30423492193222046, 0.059163179248571396, -0.6435487270355225, 0.4545709192752838, 0.2518422603607178, -0.4899113178253174, 0.17847910523414612, -0.3402288556098938, 1.0354400873184204, -0.21203316748142242, -0.21425718069076538, -0.3649204969406128, -0.6794312000274658, 0.5688401460647583, 0.32981163263320923, 0.16071514785289764, 0.23994123935699463, 0.2935151159763336, 0.18842269480228424, -0.9403466582298279, 0.6854386329650879, -0.27309924364089966, 0.3388558030128479, 0.3646363317966461, 0.2751161754131317, 0.3277505040168762, -0.28178390860557556, -0.09244734048843384, -0.16220617294311523, -0.16781993210315704, -0.27140411734580994, -0.9864576458930969, 0.6502090096473694, -0.6131241917610168, -0.3434067964553833, -0.5759783983230591, -0.6182207465171814, 0.050745464861392975, 0.04132798686623573, 0.2283896803855896, 0.37296202778816223, 0.20366492867469788, -0.0404999777674675, 0.8697174787521362, 0.37981101870536804, 0.5885962247848511, 0.26729822158813477, 0.020404038950800896, -0.36734870076179504, 0.7156745195388794, 0.02687639743089676, 0.04027367755770683, 0.5607390999794006, 0.34290945529937744, -0.6043318510055542, -0.7742382287979126, -0.4617913067340851, -0.02542584389448166, -0.6295609474182129, -0.03897103667259216, 0.009590838104486465, -0.2736884355545044, -0.1860625296831131, -0.26125550270080566, -0.3366817831993103, -0.35890161991119385, -0.14578571915626526, 0.03316962718963623, 0.19839011132717133, 0.46940794587135315, -0.3341463804244995, 0.258550763130188, -0.40140241384506226, 0.30571913719177246, 0.3346555531024933, 0.1943657249212265, -0.003516963217407465, -0.5543599724769592, 0.06858811527490616, 0.1520448625087738, -0.2570746839046478, -0.835699200630188, 0.048022620379924774, 0.2630193829536438, 0.5693457126617432, 0.49550241231918335, 0.08593844622373581, 0.7427379488945007, -0.5569131374359131, 0.38856756687164307, 0.11514127999544144, -1.0237247943878174, 0.6981117129325867, -0.4604352116584778, 0.3056640326976776, 0.7155242562294006, 0.5182028412818909, -0.2619195282459259, 0.14006614685058594, -0.442929208278656, -0.41737595200538635, 0.33837300539016724, 0.23073384165763855, -0.014060928486287594, -0.14384420216083527, 0.6656613349914551, -0.32270023226737976, 0.002719699405133724, -0.5757619738578796, -0.1293804794549942, -0.37374621629714966, -0.601464033126831, 0.1988578736782074, 0.3727419376373291, -0.15057535469532013, -0.46172359585762024, 0.41436004638671875, -0.09472938627004623, -0.003269817912951112, 0.0025465127546340227, 0.052428290247917175, 0.1991136372089386, 0.12784762680530548, 0.829606831073761, 1.0696327686309814, 0.0674319714307785, 0.37346336245536804, -0.14972689747810364, -0.11014329642057419, 0.3315640389919281, 0.1755169928073883, -0.6891971230506897, -0.2656976580619812, -0.04063905403017998, 0.6567184329032898, 0.24712349474430084, -0.5477808713912964, 0.48839062452316284, -0.10429190844297409, -0.14538097381591797, -0.5356618165969849, 0.31256499886512756, 0.14236067235469818, 0.38613057136535645, 0.011236222460865974, 0.6138635873794556, 0.017374740913510323, -0.2590900957584381, 0.37010976672172546, 0.35825836658477783, -0.3425993323326111, -0.314806193113327, 0.7344980835914612, -0.18424327671527863, -0.47378891706466675, 1.0953843593597412, -0.3597712218761444, -0.44493913650512695, 0.7665150165557861, 0.6238037347793579, 0.5559703707695007, -0.24493147432804108, 0.28271663188934326, 0.3647187054157257, 0.35035139322280884, -0.517547607421875, 0.42930859327316284, -0.33945250511169434, -0.9937207102775574, -0.6120181083679199, -0.5112149715423584, -0.24473057687282562, -0.29088228940963745, -0.6446949243545532, 0.08966021239757538, -1.0014227628707886, 0.0789775475859642, 0.08374220877885818, -0.5355894565582275, -0.2944277822971344, 0.46771085262298584, 0.2965700328350067, 1.0083558559417725, -0.7768186330795288, 0.8962899446487427, 0.5144789218902588, -0.40155690908432007, -0.8216279149055481, -0.4848797917366028, 0.04578160494565964, -0.6455863118171692, 0.47996193170547485, -0.0559534914791584, -0.11036179214715958, -0.07427536696195602, -0.44332483410835266, -0.7451725006103516, 0.8092217445373535, 0.7107265591621399, -0.5387948155403137, 0.012879791669547558, 0.040260251611471176, 0.657941460609436, -0.3976317346096039, 0.3351689577102661, 0.599781334400177, 0.316598117351532, 0.4514218270778656, -0.6396263241767883, -0.09555090963840485, -0.4870823323726654, -0.0656883716583252, 0.6018664240837097, -0.1827254295349121, 1.0777593851089478, -0.18904592096805573, 0.05487392470240593, -0.017989017069339752, 0.6472148299217224, 0.6809646487236023, 0.33674341440200806, 0.6178174018859863, 0.9607276916503906, 0.8014995455741882, -0.13924671709537506, 1.2706166505813599, -0.1544758528470993, 0.06563805043697357, 1.2840681076049805, -0.21796242892742157, 0.8645569682121277, 0.23804596066474915, -0.15898539125919342, 1.0435421466827393, 0.6230239272117615, 0.08468321710824966, 0.6533817648887634, 0.8207927346229553, -0.2577332854270935, -0.43361765146255493, 0.19460737705230713, -0.16873860359191895, 0.6485109925270081, 0.30732688307762146, -0.46983689069747925, -0.20023289322853088, -0.4060310423374176, -0.08563616871833801, 0.5297951102256775, -0.5459268093109131, 0.35281237959861755, 0.02154529094696045, -0.9050716757774353, 0.7176017761230469, -0.14937542378902435, 0.42587918043136597, -0.7403092384338379, -0.21396853029727936, 0.06668491661548615, 0.5766924023628235, -0.30257448554039, -0.4533391296863556, 0.5812653303146362, -0.43221765756607056, -0.2892374098300934, -0.26630571484565735, 0.48263368010520935, -0.087203748524189, -0.34252679347991943, 0.13607895374298096, 0.1215067133307457, 0.20807695388793945, -0.10183445364236832, -0.6867582201957703, -0.048978425562381744, -0.17788979411125183, 0.28827160596847534, 0.17503288388252258, 0.30139920115470886, -0.08294030278921127, 0.5045198202133179, 0.5326328277587891, 0.13358592987060547, 0.49331915378570557, 0.002326380228623748, 0.6906363368034363, -0.5581632256507874, -0.6839768886566162, -1.1395211219787598, 0.5931291580200195, -0.02747098170220852, -0.5267803072929382, 0.4475380778312683, 0.4377899169921875, 0.5042775869369507, 0.11485157161951065, 0.39706340432167053, -0.1153746172785759, 0.06037106364965439, -0.5294908285140991, 0.5488723516464233, -0.16374076902866364, 0.0716874748468399, 0.1064496785402298, -0.7254841923713684, -0.23671449720859528, 0.7643868327140808, -0.49832719564437866, 0.05285567045211792, 0.6700239181518555, 0.5258999466896057, -0.28421053290367126, 0.23530717194080353, 0.040784500539302826, 0.05635324865579605, 0.28177857398986816, 1.2033758163452148, 0.9176851511001587, -0.43441832065582275, 0.13345465064048767, -0.18941932916641235, -0.15826745331287384, 0.30676594376564026, -0.9693508744239807, -0.5593912601470947, -0.3819146156311035, -0.5095961689949036, -0.37347468733787537, 0.2623317241668701, 0.777488112449646, 0.7847042083740234, -0.8095991015434265, -0.36464640498161316, -0.7046273946762085, 0.2995882034301758, -0.7028504014015198, -0.18789410591125488, 0.11538039147853851, -0.4633738398551941, -0.2633214294910431, 0.6461514830589294, 0.010935220867395401, -0.3501002788543701, -0.11167096346616745, -0.21132361888885498, -0.2579665780067444, 0.23484480381011963, 0.24984239041805267, 0.5754759907722473, -0.5090199708938599, -0.23464524745941162, -0.11004918068647385, 0.05492139607667923, 0.18770188093185425, 0.9211702346801758, -0.7933785915374756, 0.3286301791667938, 0.6530194282531738, 0.905892550945282, 0.7933654189109802, -0.10746607929468155, 0.6566286087036133, -0.5820158123970032, -0.24621310830116272, 0.47920456528663635, 0.46871793270111084, 0.0000339811340381857, -0.09954061359167099, 0.40102821588516235, 0.06587827205657959, -0.6917285919189453, -0.6095960736274719, 0.19890104234218597, -0.7772689461708069, -0.29244986176490784, 0.6398444175720215, -0.36699166893959045, -0.49509644508361816, 0.0457351878285408, 0.5126540660858154, 0.15868407487869263, -0.00914084818214178, 0.8019770383834839, 0.28583088517189026, -0.5906848907470703, -0.3842899799346924, -0.13383004069328308, 0.33986639976501465, 0.35886430740356445, -0.7982869744300842, -0.1982710212469101, 0.4678446054458618, 0.39243173599243164, 0.41284626722335815, 0.6873697638511658, -0.05034361407160759, 0.6321747303009033, -0.04554295912384987, 0.015696963295340538, -0.14051520824432373, -0.5049005746841431, -0.6239627003669739, 0.3976927399635315, -0.2801022231578827, -0.6331269145011902 ]
http://arxiv.org/abs/2402.11626v1
http://arxiv.org/pdf/2402.11626v1
Metacognitive Retrieval-Augmented Large Language Models
2024-02-18T15:41:31
2024-02-18T15:41:31
Yujia Zhou, Zheng Liu, Jiajie Jin, Jian-Yun Nie, Zhicheng Dou
cs.CL
cs.CL, cs.IR
Retrieval-augmented generation have become central in natural language processing due to their efficacy in generating factual content. While traditional methods employ single-time retrieval, more recent approaches have shifted towards multi-time retrieval for multi-hop reasoning tasks. However, these strategies are bound by predefined reasoning steps, potentially leading to inaccuracies in response generation. This paper introduces MetaRAG, an approach that combines the retrieval-augmented generation process with metacognition. Drawing from cognitive psychology, metacognition allows an entity to self-reflect and critically evaluate its cognitive processes. By integrating this, MetaRAG enables the model to monitor, evaluate, and plan its response strategies, enhancing its introspective reasoning abilities. Through a three-step metacognitive regulation pipeline, the model can identify inadequacies in initial cognitive responses and fixes them. Empirical evaluations show that MetaRAG significantly outperforms existing methods.
[ -0.6251806616783142, -1.0524481534957886, 0.500652551651001, 0.034769926220178604, -0.040155649185180664, 0.12202578783035278, -0.23255501687526703, -0.33832240104675293, 0.2840765118598938, 0.6903026103973389, -0.46719253063201904, 0.01504272036254406, -0.40121597051620483, 0.23266734182834625, -0.22754770517349243, 1.0852341651916504, 0.014426297508180141, -0.3347008526325226, 0.09281112998723984, -0.12833434343338013, -0.8110297918319702, -0.432735800743103, -0.6805921196937561, -0.2786598801612854, 0.502107560634613, 0.4826643466949463, 0.5705435276031494, 0.2196798175573349, 0.4551718831062317, 0.29130563139915466, 0.16049382090568542, 0.3751388192176819, -0.20604048669338226, 0.35927411913871765, -0.29658380150794983, -0.1948312669992447, -0.4588499069213867, -0.07532438635826111, 0.5397933721542358, 0.47361448407173157, -0.34620487689971924, 0.44734498858451843, 0.35993707180023193, 0.5568274855613708, -1.3839550018310547, -0.01974789798259735, -0.6728729605674744, 0.07490868121385574, -0.20171229541301727, -0.37572067975997925, -0.6067867875099182, -0.26124534010887146, -0.060918182134628296, -0.4252399504184723, 0.32912176847457886, 0.10650590062141418, 0.06949685513973236, 0.43831050395965576, -0.5021809935569763, -0.6217089891433716, -0.9982896447181702, 0.5189732909202576, -0.41928309202194214, 0.32903391122817993, 0.506775975227356, 0.4509216248989105, 0.106470987200737, -1.0296704769134521, -0.7060983180999756, -0.11093714088201523, -0.3860415816307068, -0.0000519147542945575, -0.12971113622188568, 0.07743968069553375, 0.27569663524627686, 0.19172494113445282, -0.5958985090255737, -0.29776209592819214, -0.512549877166748, -0.22439424693584442, 0.5203618407249451, 0.25919878482818604, 0.13671763241291046, -0.5320097804069519, -0.19965822994709015, -0.0487716980278492, -0.33311477303504944, -0.0697794184088707, 0.10947251319885254, 0.37637901306152344, 0.6340425610542297, 0.8546525239944458, -0.2260410189628601, 0.8921552896499634, 0.3867233693599701, -0.08273790031671524, 0.12865638732910156, -0.5420289635658264, -0.35008081793785095, 0.38247203826904297, 0.8107858300209045, -0.016925476491451263, 0.023321039974689484, 0.07092717289924622, -0.015551242977380753, 0.034242402762174606, 0.7200722098350525, -0.6229661107063293, -0.1798662394285202, 0.4108385443687439, -0.33833372592926025, -0.2508540451526642, -0.1570747345685959, -0.9319679141044617, -0.03137006238102913, -0.18377645313739777, 0.6223402619361877, -0.5394842624664307, -0.21117621660232544, 0.16501173377037048, -0.019987676292657852, 0.09870384633541107, 0.16202688217163086, -0.9896571040153503, 0.295136421918869, 0.6552526354789734, 0.7364047169685364, 0.2025669515132904, -0.328143835067749, -0.9002158045768738, 0.417824923992157, -0.38635244965553284, 0.969001054763794, -0.8490262031555176, -0.2704748809337616, -0.0393158458173275, -0.28123998641967773, -0.16646189987659454, -0.37490078806877136, 1.0340638160705566, -0.6049165725708008, 0.49917978048324585, -0.2873464822769165, -0.31551727652549744, -0.4274722933769226, 0.41624635457992554, -0.8070120215415955, 1.1566054821014404, -0.20250140130519867, -1.1758856773376465, 0.35977357625961304, -0.7485618591308594, -0.29928702116012573, 0.3288854956626892, -0.04942934960126877, -0.2084677368402481, -0.03170040622353554, 0.33904457092285156, 0.4583881199359894, -0.11984851956367493, 0.1827310174703598, -0.3087138533592224, -0.21576780080795288, 0.0007921282085590065, -0.3093659579753876, 0.6427876353263855, 0.24756723642349243, -0.30137595534324646, -0.17502456903457642, -0.6198906898498535, 0.4604528248310089, -0.1881643831729889, -0.5092129111289978, -0.5083887577056885, -0.020019209012389183, -0.22859643399715424, 0.31955549120903015, 0.03402591869235039, -0.333507776260376, 0.11616852134466171, -0.1532135009765625, 0.5178683996200562, 0.27217692136764526, 0.2086450755596161, 0.4215526282787323, -0.11158356070518494, 0.48014459013938904, -0.21334819495677948, 0.007347474806010723, -0.37210509181022644, -0.17186860740184784, -0.677544891834259, -0.17857185006141663, 0.22712460160255432, 0.5255189538002014, -0.9260633587837219, 0.42822393774986267, -0.0968141108751297, -0.4304870367050171, -0.7498433589935303, 0.11770225316286087, 0.4287140965461731, 0.6917281150817871, 0.728598952293396, -0.023172421380877495, -0.6568898558616638, -0.6138362288475037, -0.4747937023639679, -0.031141743063926697, 0.14554207026958466, 0.21448571979999542, 0.5798024535179138, -0.5180805921554565, 0.7639306783676147, -0.6094828844070435, -0.12085860222578049, -0.17685280740261078, 0.686998188495636, 0.06467102468013763, 0.41727277636528015, 0.27214059233665466, -0.7512795925140381, -0.42835259437561035, -0.13311374187469482, -0.6520885825157166, -0.07323247194290161, 0.09718349575996399, -0.11319121718406677, 0.1935022622346878, 0.5307369828224182, -0.7874212861061096, 0.4022786617279053, 0.4156480133533478, -0.2134268581867218, 0.8103426098823547, -0.21226246654987335, 0.30545052886009216, -0.8030601739883423, 0.3834611177444458, -0.5141304731369019, -0.2071758359670639, -0.5178488492965698, 0.1495044231414795, 0.09109299629926682, -0.13198496401309967, -0.06600890308618546, 0.46873801946640015, -0.5772926211357117, -0.09582304209470749, -0.44882315397262573, 0.187434121966362, 0.18358281254768372, 0.3144782483577728, 0.07968907058238983, 0.8255074620246887, 0.19786550104618073, -0.8765625357627869, 0.46275386214256287, 0.3533235192298889, -0.3143293857574463, 0.7655919194221497, -0.782397449016571, 0.2002764642238617, -0.50422602891922, 0.569025456905365, -0.957541823387146, -0.31856146454811096, 0.28749996423721313, -0.4685271680355072, 0.25384092330932617, -0.020836710929870605, -0.2650909125804901, -0.6037363409996033, -0.20206564664840698, 0.5525298714637756, 0.040805891156196594, -0.49197372794151306, 0.9052010774612427, 0.017875872552394867, -0.27089107036590576, -0.9947360157966614, -0.593667209148407, 0.04246805980801582, -0.17197388410568237, -0.24467992782592773, 0.20978766679763794, -0.088145412504673, -0.17389464378356934, 0.09570935368537903, 0.28522831201553345, -0.0010146964341402054, -0.08156444132328033, -0.037136562168598175, 0.07812309265136719, 0.07095419615507126, 0.4299232065677643, -0.030245007947087288, -0.17054712772369385, 0.04168539494276047, -0.2782524526119232, 0.6378578543663025, 0.07605238258838654, -0.3109225332736969, -0.07073433697223663, 0.41456353664398193, 0.5910601019859314, -0.8210523724555969, 0.6871051788330078, 0.8631556034088135, -0.33961281180381775, -0.1672915518283844, -0.8149322867393494, -0.19488219916820526, -0.4215969145298004, 0.10993152856826782, -0.44913777709007263, -0.6673475503921509, 0.07874932140111923, -0.017207546159625053, -0.028637876734137535, 0.5372728109359741, 0.6360889077186584, -0.3208760917186737, 0.8981530666351318, 0.26637113094329834, 0.27095720171928406, 0.2674432396888733, -0.26225700974464417, 0.2921653985977173, -1.3710577487945557, -0.35332775115966797, -0.5736513137817383, -0.30738765001296997, -0.4626048803329468, -0.5700876712799072, 0.5576161742210388, 0.1922510415315628, -0.3932598829269409, 0.3232283592224121, -0.4772981107234955, 0.3267403244972229, 0.5292472839355469, 0.10429173707962036, 0.4535399377346039, -0.299629807472229, -0.3068663775920868, -0.07266286015510559, -0.664757251739502, -0.5147558450698853, 1.1043729782104492, -0.03486122190952301, 0.5038204193115234, 0.20203939080238342, 0.5037330985069275, 0.4256289005279541, 0.23172424733638763, -0.6688166856765747, 0.293209433555603, 0.19835475087165833, -0.9897502660751343, -0.33122459053993225, -0.5303434133529663, -0.9824379086494446, 0.4304119944572449, -0.539341926574707, -0.38890722393989563, -0.035831838846206665, 0.21314214169979095, -0.6389809250831604, 0.12890392541885376, -0.5184860825538635, 0.6798049211502075, -0.2649720311164856, -0.5024712681770325, -0.375081866979599, -0.6170362830162048, 0.7450913190841675, -0.20466864109039307, 0.28740236163139343, 0.256674587726593, 0.06952694058418274, 0.5094821453094482, -0.22885338962078094, 0.6286452412605286, -0.08675804734230042, 0.04447497799992561, 0.6574781537055969, 0.4243350028991699, 0.5409654974937439, -0.044818587601184845, -0.038706228137016296, -0.47902873158454895, 0.011130264028906822, -0.35236096382141113, -0.9016377329826355, 0.4910413324832916, -0.3040929436683655, -0.39340099692344666, -0.29390591382980347, -0.26326316595077515, -0.1729879081249237, 0.306589812040329, 0.40194329619407654, 0.41830000281333923, -0.4921022951602936, 0.1353815495967865, 0.5355231761932373, -0.10914469510316849, 0.7138521075248718, 0.5754616856575012, -0.26005348563194275, -0.7268670201301575, 0.3945953845977783, 0.31559234857559204, 0.1612715870141983, 0.41756996512413025, 0.08769014477729797, -0.44243112206459045, -0.04476937651634216, -0.30638471245765686, 0.18206872045993805, -0.5011144876480103, -0.4118318259716034, -0.9459247589111328, -0.004882201552391052, -0.4506126046180725, 0.15257704257965088, -0.2706792950630188, -0.36724576354026794, 0.07915201783180237, -0.22177371382713318, -0.06904202699661255, 0.6489665508270264, -0.2974768877029419, 0.18393507599830627, -0.9003522396087646, 0.3882283866405487, 0.7855098843574524, 0.12080676853656769, 0.2634119391441345, -0.3264576494693756, -0.1751386523246765, 0.2054397016763687, -0.5983495712280273, -0.9289591312408447, 0.2120964527130127, 0.24675767123699188, 0.5066138505935669, 0.38913947343826294, 0.08441843092441559, 0.6460175514221191, -0.776837170124054, 0.5738954544067383, 0.014553859829902649, -1.0567376613616943, 0.836609959602356, -0.2070857584476471, 0.1414424628019333, 0.5821962952613831, 0.49149876832962036, -0.5378806591033936, 0.05874382331967354, -0.7064722180366516, -0.3614747226238251, 0.2553156614303589, 0.09325511753559113, 0.08583421260118484, -0.3176914155483246, 0.4047410786151886, -0.1212301179766655, 0.3180609941482544, -0.5245053172111511, 0.18176482617855072, -0.23794950544834137, 0.09607408940792084, -0.24722707271575928, -0.41440412402153015, -0.07680543512105942, -0.20713196694850922, 0.4522109925746918, -0.28069716691970825, 0.2928668260574341, 0.337032675743103, -0.12003908306360245, -0.1408488154411316, 0.4172961413860321, 0.504664421081543, 0.47266885638237, -0.17539061605930328, 0.39938217401504517, 0.3168988525867462, -0.3245583474636078, 0.18929778039455414, -0.1852249950170517, 0.0888441875576973, 0.03384356573224068, 0.7157398462295532, 0.5282231569290161, 0.2951410114765167, -0.513053297996521, 0.4825023412704468, 0.05651549994945526, -0.015516909770667553, -0.2540077865123749, 0.12024502456188202, -0.11409170180559158, 0.33997830748558044, 0.37180620431900024, 0.12074651569128036, 0.528725266456604, -0.8451042175292969, 0.29718348383903503, 0.5241071581840515, -0.1817118376493454, -0.24635134637355804, 0.6217433214187622, 0.1711461991071701, -0.2752951681613922, 0.8126847147941589, -0.09451218694448471, -0.7314264178276062, 0.060503002256155014, 0.6177656054496765, 1.0052428245544434, -0.4845728278160095, 0.3919435143470764, 0.9323053956031799, 0.3419111371040344, -0.23307770490646362, 0.13870583474636078, -0.35591235756874084, -0.7650657296180725, -0.8231931328773499, -0.5096338987350464, -0.17844273149967194, -0.21797820925712585, -0.8736208081245422, 0.15322987735271454, -0.32352879643440247, -0.4410780966281891, -0.20839668810367584, 0.13345900177955627, -0.6761017441749573, 0.319408118724823, 0.03956650197505951, 0.8106938600540161, -0.7317848801612854, 0.479057639837265, 0.5128412842750549, -0.5129567980766296, -0.6265233755111694, 0.1356988251209259, -0.3394363224506378, -0.7277072072029114, 0.7477025389671326, -0.013694285415112972, -0.4027157723903656, -0.016234654933214188, -0.5472210049629211, -0.7879740595817566, 1.0426229238510132, 0.1090543270111084, -0.3053971230983734, -0.07646315544843674, -0.2608872950077057, 0.6332693696022034, -0.3024963140487671, 0.5164312720298767, 0.6863121390342712, 0.5253440737724304, 0.15134365856647491, -0.9893015623092651, 0.07031837105751038, 0.003266273532062769, -0.12529301643371582, 0.46475696563720703, -0.6434341073036194, 0.9563651084899902, -0.43922746181488037, -0.34617722034454346, -0.37473878264427185, 0.41950154304504395, 0.2909826338291168, 0.22918352484703064, 0.31777334213256836, 0.970011830329895, 0.9481759667396545, 0.30489596724510193, 0.9517914652824402, -0.16103464365005493, 0.4102557301521301, 1.4116824865341187, -0.17591756582260132, 1.232619285583496, 0.2642386257648468, 0.03571449965238571, 0.8555051684379578, 0.15205708146095276, 0.3543339967727661, 0.5561954379081726, -0.2102697640657425, -0.35108861327171326, -0.26374557614326477, -0.09429129213094711, -0.3883506953716278, 0.8176363706588745, 0.4999069273471832, -0.3693390190601349, -0.12596282362937927, 0.12772156298160553, 0.03382711857557297, 0.05950499325990677, -0.34453484416007996, 0.8397704362869263, -0.22042860090732574, -1.065670132637024, 0.6430342793464661, -0.04950011521577835, 0.3365568220615387, -0.2516975700855255, -0.1829213798046112, -0.11623673141002655, 0.08809502422809601, -0.24600380659103394, -0.8302465081214905, 0.6687386631965637, 0.011415957473218441, -0.265020489692688, -0.12127811461687088, 0.7747441530227661, -0.4687485992908478, -0.543763279914856, 0.29588595032691956, 0.5925963521003723, -0.19540069997310638, -0.26172196865081787, -0.6244565844535828, -0.01412786915898323, -0.23405177891254425, -0.02153048850595951, -0.1843867003917694, 0.6629066467285156, 0.17713525891304016, 0.7868932485580444, 0.5168886184692383, -0.09739924222230911, -0.03333771228790283, -0.3339352607727051, 0.6385890245437622, -0.5856548547744751, -0.3941469192504883, -0.8827933669090271, 0.3891867697238922, 0.015157748945057392, -0.04469289258122444, 0.6273100972175598, 0.4599153995513916, 0.5622382760047913, 0.07101108133792877, 0.8631488084793091, -0.19808094203472137, 0.8930178880691528, -0.6114821434020996, 0.2502906322479248, -0.2796097695827484, -0.017917007207870483, -0.3627047538757324, -1.119773507118225, -0.09445266425609589, 0.6406782269477844, -0.40376096963882446, 0.17996536195278168, 0.8883251547813416, 0.4344739317893982, -0.23852187395095825, -0.06666157394647598, 0.05901973322033882, 0.2106436938047409, 0.17611320316791534, 0.6948277354240417, 0.874286949634552, -0.535456657409668, 0.6700742840766907, 0.09538654237985611, -0.1039181798696518, -0.26732105016708374, -0.8437442183494568, -0.7422641515731812, -0.6238947510719299, 0.01845170184969902, -0.3153291344642639, -0.12020177394151688, 0.759346604347229, 0.5754510760307312, -0.4683968424797058, 0.06591358035802841, -0.04201293736696243, 0.07152895629405975, -0.23956942558288574, -0.2626464366912842, 0.11062490940093994, -0.698481559753418, -0.46694421768188477, 0.24279935657978058, 0.17536385357379913, -0.12242188304662704, -0.4742424786090851, 0.04465639591217041, -0.3326154947280884, 0.19572491943836212, 0.6933397054672241, 0.23515231907367706, -0.4646371901035309, -0.2469073086977005, -0.16608205437660217, -0.13240157067775726, -0.14241185784339905, 1.020429253578186, -0.9800257682800293, 0.608022153377533, 0.6148679256439209, 0.5055575370788574, 0.7199417948722839, 0.2860596776008606, 0.5361475944519043, -0.5632708072662354, -0.061362624168395996, 0.29640501737594604, 0.15236149728298187, 0.3610885739326477, -0.350186288356781, 0.6706287860870361, -0.02028852142393589, -0.7172462940216064, -0.6391267776489258, 0.3194752037525177, -0.3610899746417999, -0.3542589545249939, 0.8242125511169434, 0.23378367722034454, -0.019545534625649452, -0.0213738065212965, -0.4002605080604553, 0.189503476023674, -0.01769881509244442, 0.816801130771637, 0.7905279397964478, -0.2120000571012497, -0.2518983781337738, -0.6697887778282166, 0.5647411346435547, 0.2817467749118805, -0.7709416747093201, 0.16041064262390137, 0.610924482345581, 0.18740101158618927, 0.53975510597229, 0.7680586576461792, 0.09849762916564941, 0.17851363122463226, -0.0272823479026556, -0.10363255441188812, 0.19370371103286743, -0.6382100582122803, -0.07585911452770233, 0.29249125719070435, -0.16407927870750427, -0.2134760618209839 ]
http://arxiv.org/abs/2402.11625v1
http://arxiv.org/pdf/2402.11625v1
SpeCrawler: Generating OpenAPI Specifications from API Documentation Using Large Language Models
2024-02-18T15:33:24
2024-02-18T15:33:24
Koren Lazar, Matan Vetzler, Guy Uziel, David Boaz, Esther Goldbraich, David Amid, Ateret Anaby-Tavor
cs.CL
cs.CL
In the digital era, the widespread use of APIs is evident. However, scalable utilization of APIs poses a challenge due to structure divergence observed in online API documentation. This underscores the need for automatic tools to facilitate API consumption. A viable approach involves the conversion of documentation into an API Specification format. While previous attempts have been made using rule-based methods, these approaches encountered difficulties in generalizing across diverse documentation. In this paper we introduce SpeCrawler, a comprehensive system that utilizes large language models (LLMs) to generate OpenAPI Specifications from diverse API documentation through a carefully crafted pipeline. By creating a standardized format for numerous APIs, SpeCrawler aids in streamlining integration processes within API orchestrating systems and facilitating the incorporation of tools into LLMs. The paper explores SpeCrawler's methodology, supported by empirical evidence and case studies, demonstrating its efficacy through LLM capabilities.
[ -0.3879120945930481, -0.14440074563026428, 0.4949970841407776, 0.2521909773349762, -0.18671970069408417, -0.010307244956493378, -0.28467440605163574, -0.6190001368522644, 0.36652451753616333, 0.8328438997268677, -0.5030314922332764, -0.6956768035888672, -0.16301597654819489, 0.03835025429725647, -0.3026506304740906, 0.9317488074302673, -0.6119490265846252, -0.3095550239086151, 0.0773395225405693, 0.04925171285867691, -0.39988380670547485, -0.29784026741981506, -0.1808982938528061, -0.2899703085422516, 0.6380680799484253, 0.37581586837768555, 0.28327757120132446, 0.6198488473892212, 0.39960727095603943, 0.17682906985282898, 0.08516637980937958, 0.5488218665122986, -0.36174026131629944, 0.23569044470787048, 0.11710292845964432, -0.559703528881073, -0.5089603662490845, 0.16464194655418396, 0.5926326513290405, 0.6601817607879639, -0.2612782418727875, 0.5970658659934998, 0.12437337636947632, 0.15161971747875214, -0.7003541588783264, 0.13843031227588654, -0.4957371652126312, 0.05369618162512779, -0.45245108008384705, -0.3898601531982422, -0.6901243925094604, -0.507326066493988, 0.20629361271858215, -0.7606578469276428, -0.22917509078979492, 0.10547898709774017, 0.6779405474662781, 0.37014636397361755, -0.22450311481952667, -0.4894493818283081, -1.132422685623169, 0.7001027464866638, -0.890042245388031, 0.23281943798065186, 0.24604463577270508, 0.6440130472183228, -0.1271890252828598, -0.9610044360160828, -0.29589998722076416, -0.18056848645210266, -0.09747188538312912, 0.09129408001899719, -0.31048738956451416, 0.16756246984004974, 0.02778337150812149, 0.4623051881790161, -0.5343395471572876, 0.19252616167068481, -0.4359736442565918, -0.2651180624961853, 0.41576266288757324, 0.2963126301765442, 0.2907092571258545, 0.01579979807138443, -0.02943754568696022, 0.14813180267810822, -0.5269597172737122, -0.16939401626586914, 0.6787460446357727, 0.5461722612380981, -0.07663515955209732, 0.8489623069763184, -0.04056815057992935, 0.5374071598052979, -0.2805228531360626, -0.29659122228622437, 0.2703600525856018, -0.1382005512714386, -0.11242856085300446, -0.08535663038492203, 0.42265939712524414, 0.4798106253147125, 0.15065893530845642, -0.39478829503059387, -0.22784234583377838, -0.01647280715405941, 0.2951325476169586, -0.6665171980857849, -0.026429614052176476, 0.5225719809532166, -0.7655433416366577, 0.045273296535015106, -0.0993989109992981, -0.5325061082839966, -0.22351399064064026, -0.3681056499481201, -0.14818458259105682, -0.6017642021179199, -0.3960248529911041, -0.10847527533769608, -0.5466030240058899, 0.3506377935409546, 0.12167097628116608, -0.6457719206809998, 0.521736204624176, 0.8897352814674377, 1.038499116897583, -0.06503617763519287, -0.3476030230522156, -0.31477901339530945, 0.528958797454834, -0.2648572623729706, 0.9804836511611938, -0.6051971912384033, -0.4278023838996887, 0.25083762407302856, -0.2707676589488983, 0.047132980078458786, -0.5572077035903931, 0.6531462669372559, -0.5385367274284363, -0.1935972273349762, 0.2139579802751541, -0.7882581949234009, 0.09868218004703522, 0.3028869032859802, -0.7448915243148804, 0.8890878558158875, 0.11582983285188675, -0.5574905872344971, 0.32664525508880615, -1.088195562362671, -0.2561092972755432, 0.4247804284095764, 0.12756961584091187, 0.05840449780225754, 0.11166005581617355, -0.16548439860343933, -0.02469450794160366, -0.12818703055381775, -0.11574064195156097, -0.1560686081647873, -0.33637169003486633, 0.104930579662323, -0.14477266371250153, 0.5702784657478333, 0.4278698265552521, 0.2565765082836151, 0.30741316080093384, -0.946883499622345, 0.051620032638311386, -0.21053747832775116, -0.7173568606376648, -0.5229598879814148, 0.20470736920833588, 0.4171525835990906, -0.15755029022693634, 0.39309486746788025, -0.7482990622520447, 0.20717380940914154, -0.5078237652778625, 0.617364764213562, 0.5435801148414612, -0.08972705900669098, 0.3910379707813263, -0.2685040533542633, 0.5343839526176453, -0.5173545479774475, 0.4907887876033783, -0.40540093183517456, -0.350260853767395, -0.4754694998264313, -0.5492640137672424, 0.2617332637310028, 0.3858066499233246, -0.05572851747274399, 0.5211153030395508, -0.34440848231315613, -0.7764541506767273, -0.6515821814537048, 0.09685466438531876, 0.19672074913978577, 0.36055073142051697, 0.14465411007404327, -0.01611371897161007, -1.0301859378814697, -0.7169531583786011, -0.04117277264595032, -0.14839142560958862, -0.30413857102394104, 0.46173790097236633, 0.16967566311359406, -0.4124087989330292, 1.1318280696868896, -0.6212432980537415, -0.21864402294158936, -0.23139290511608124, 0.26886889338493347, 0.22577551007270813, 0.298196017742157, 0.7437697649002075, -0.47901639342308044, -0.2952316701412201, -0.07342858612537384, -0.4706861078739166, -0.25772613286972046, 0.2860960364341736, -0.46851134300231934, 0.25420081615448, 0.47797396779060364, -0.68282151222229, 0.2671035826206207, 0.6310847401618958, 0.0008585081668570638, 0.8453139662742615, -0.19924119114875793, -0.341036856174469, -1.0718985795974731, 0.36220264434814453, 0.05838306248188019, -0.00930937472730875, -0.564321756362915, 0.5669816136360168, -0.07305369526147842, -0.1309451460838318, -0.34292086958885193, 0.4270459711551666, -0.27189522981643677, -0.10982191562652588, -0.05596216022968292, -0.30916088819503784, -0.0655994713306427, -0.04849626496434212, -0.06326878815889359, 0.66036057472229, 0.1593177169561386, -0.5254755020141602, 0.3380833566188812, 0.2508409023284912, -0.1636820286512375, 0.35083261132240295, -0.5840577483177185, -0.008952518925070763, 0.2989635765552521, 0.6963738203048706, -1.2657064199447632, -0.34599506855010986, 0.24129775166511536, -0.051239922642707825, -0.2907889485359192, -0.6245858073234558, -0.9023948907852173, -0.6978152394294739, -0.27276286482810974, 0.19470587372779846, 0.5893986225128174, -0.5613431930541992, 1.1342641115188599, 0.28124943375587463, -0.05185551941394806, -0.20803846418857574, -0.8194648027420044, 0.16860128939151764, -0.2286641150712967, -0.73521488904953, 0.18187010288238525, -0.4558909833431244, -0.35914599895477295, -0.13318507373332977, -0.08516049385070801, -0.18748223781585693, -0.06661126017570496, 0.4852265417575836, 0.4424634873867035, -0.5227933526039124, 0.04410204663872719, -0.1198088601231575, -0.011566387489438057, 0.0509612150490284, -0.7423387765884399, 0.8882516026496887, 0.34308749437332153, -0.6081931591033936, -0.41668587923049927, 0.5188143253326416, 0.8307528495788574, -0.6251416802406311, 0.4140610694885254, 0.23487494885921478, 0.0004206607991363853, -0.5810064077377319, -0.7012423276901245, 0.1633419245481491, -0.48238277435302734, -0.0524713397026062, -0.4944836497306824, -0.5178693532943726, 0.880511462688446, -0.60801762342453, 0.6151630878448486, 0.017597027122974396, 0.24438071250915527, 0.047793641686439514, 0.9204064011573792, 0.9306434392929077, 0.10839420557022095, 0.5984328389167786, -0.248824343085289, 0.27237439155578613, -0.7706612348556519, -0.1772422045469284, -0.5161541104316711, -0.41375869512557983, -0.3849276602268219, -0.34777072072029114, 0.25005245208740234, -0.3995012044906616, -0.04519282281398773, -0.004878329578787088, -0.4949878454208374, 0.6434884071350098, 0.5731322169303894, -0.07407655566930771, 0.2666683793067932, 0.06835181266069412, -0.2637341320514679, 0.3549695611000061, -0.25265341997146606, -0.8534085154533386, 1.364734411239624, 0.4925994277000427, 0.802205502986908, 0.1936676800251007, 1.0107967853546143, 0.04596330597996712, 0.3535051941871643, -0.9662377834320068, 0.5487196445465088, -0.4075239598751068, -0.31426316499710083, -0.23954419791698456, -0.027147455140948296, -0.7212904095649719, -0.007050557993352413, 0.34492841362953186, -0.6010947227478027, 0.20533283054828644, 0.07541505992412567, -0.333638995885849, 0.36283642053604126, -0.8843728303909302, 0.5361883044242859, 0.15714886784553528, 0.2523718476295471, -0.04117712751030922, -0.25932011008262634, 0.4975930154323578, -0.006387948989868164, 0.21480759978294373, -0.14770767092704773, -0.2417561411857605, 0.4700734615325928, -0.8500528335571289, 0.9338541030883789, -0.25441262125968933, -0.5472168922424316, 0.22810232639312744, 0.14861422777175903, 0.2947627007961273, -0.269380122423172, -0.472263365983963, 0.09841538965702057, -0.03771015256643295, -0.23207420110702515, -0.2540636360645294, 0.4810575842857361, -0.8415655493736267, -0.17653000354766846, 0.32000669836997986, -0.9524284601211548, -0.0682535246014595, 0.2563335597515106, 0.033521801233291626, 0.39785006642341614, -0.3701501786708832, -0.4515796899795532, 0.6121010780334473, 0.046411145478487015, 0.41836273670196533, 0.8516104817390442, -0.4029723107814789, -0.17086674273014069, 0.7607767581939697, 0.429636150598526, 0.1151762530207634, 0.03536878898739815, 0.0028975517489016056, -0.22177062928676605, -0.7924005389213562, -0.20543047785758972, 0.263060986995697, -0.8114650845527649, -0.0341683067381382, -0.32973194122314453, -0.3810505270957947, -0.4852345883846283, -0.16751262545585632, -0.15430375933647156, -0.25110530853271484, -0.09649432450532913, -0.03440413624048233, 0.4665044844150543, 0.8679414391517639, 0.019292732700705528, 0.2479335069656372, -0.7196192145347595, 0.22335092723369598, 0.1796841025352478, 0.7848897576332092, 0.061947476118803024, -0.2379123866558075, -0.1526859551668167, -0.2558886706829071, 0.11077052354812622, -0.595566987991333, 0.2309158742427826, 0.15449367463588715, 0.8991508483886719, 0.4421626925468445, 0.23502196371555328, 0.6576512455940247, -0.8413454294204712, 0.8357879519462585, -0.158873051404953, -0.765998899936676, 0.771695077419281, -0.39657899737358093, 0.11077269911766052, 0.1895076036453247, 0.29026278853416443, -0.484836608171463, -0.7257389426231384, -0.15256920456886292, -1.249683141708374, 0.5711866617202759, -0.26601293683052063, 0.322269469499588, 0.047704946249723434, 0.44749072194099426, 0.33302441239356995, -0.051018599420785904, -0.21894286572933197, -0.15521240234375, -0.1870776116847992, -0.44205984473228455, -0.010992765426635742, -0.1987956464290619, -0.5322393178939819, 0.0026142331771552563, 0.3017583191394806, -0.25287941098213196, -0.12370973080396652, 0.030114231631159782, -0.21253922581672668, -0.11662996560335159, 0.3571338653564453, 0.3737271726131439, 0.9527146816253662, -0.43450987339019775, 0.14143523573875427, -0.17259275913238525, -0.49152815341949463, -0.21514394879341125, 0.37247082591056824, -0.24601353704929352, 0.22426559031009674, 0.2823777496814728, 0.4729272127151489, 0.1941809058189392, -0.9843871593475342, 0.090450718998909, -0.15161563456058502, -0.3207349181175232, -0.5712610483169556, -0.07252823561429977, 0.1012839525938034, 0.3676932156085968, 0.6555795073509216, -0.10479141771793365, 0.23505330085754395, -0.3657776117324829, 0.02755097858607769, 0.25153419375419617, 0.22445255517959595, -0.1329285204410553, 0.3338475525379181, 0.3547399640083313, -0.36814504861831665, 0.30365288257598877, -0.023516720160841942, -0.0018375408835709095, 0.37298697233200073, 0.6368921399116516, 0.7727723717689514, -0.2862553298473358, 0.18162722885608673, 0.04587511345744133, 0.3001507818698883, -0.06506942957639694, 0.4186498522758484, -0.14120037853717804, -0.4322143793106079, -0.5949153900146484, -0.7758378386497498, -0.6769284009933472, 0.04856035113334656, -0.5737605094909668, 0.1336851567029953, -0.6605891585350037, 0.013386063277721405, 0.38492968678474426, -0.3285176455974579, -0.5229375958442688, -0.41996097564697266, 0.5598079562187195, 1.5323153734207153, -0.9152644872665405, 0.5660759806632996, 0.9583795070648193, -0.8208318948745728, -1.1518992185592651, 0.3149945139884949, 0.03424159064888954, -0.7095347046852112, 0.635559618473053, -0.047535330057144165, -0.15278470516204834, 0.04873966798186302, -0.5994412302970886, -0.8432249426841736, 1.0275802612304688, 0.3731030225753784, -0.41982683539390564, -0.21129590272903442, 0.38639453053474426, 0.6430927515029907, -0.5954609513282776, 0.47571343183517456, 0.6425856947898865, 0.6593135595321655, 0.24651475250720978, -1.2398526668548584, 0.08349987864494324, -0.3721674978733063, 0.24044837057590485, 0.011507287621498108, -0.5758495330810547, 0.9249505400657654, 0.31146037578582764, -0.07594499737024307, 0.32461217045783997, 0.2790610194206238, 0.3321276903152466, 0.13628987967967987, 0.4545916020870209, 0.47727540135383606, 0.9961563348770142, 0.2944837808609009, 0.9012325406074524, -0.45294317603111267, -0.3277742266654968, 1.0077133178710938, -0.655789315700531, 1.3626396656036377, 0.518143892288208, -0.05101949721574783, 1.0035842657089233, 0.5672335624694824, -0.16924887895584106, 0.22334539890289307, 0.19742241501808167, -0.09099095314741135, -0.02455054596066475, -0.26780223846435547, -0.2248038500547409, 0.5194305777549744, 0.21556983888149261, -0.31092917919158936, -0.48348578810691833, 0.016009269282221794, -0.22930428385734558, 0.024610895663499832, -0.47922980785369873, 0.9322882294654846, -0.2788081169128418, -0.634321928024292, 0.61733078956604, -0.1175629049539566, 0.8651922941207886, -0.6951023936271667, -0.0346342958509922, -0.1908283829689026, 0.15161527693271637, -0.32186463475227356, -0.7762949466705322, 0.47613292932510376, 0.28321996331214905, -0.4894231855869293, -0.25982680916786194, 0.5827890634536743, -0.11076728999614716, -0.3580206632614136, 0.46343913674354553, 0.5077301859855652, 0.42486754059791565, 0.12851393222808838, -0.07451820373535156, 0.3214161694049835, -0.3666350543498993, 0.023884166032075882, 0.208025261759758, 0.49127063155174255, 0.11477042734622955, 0.5256090760231018, 0.7605730891227722, 0.30641546845436096, 0.35962408781051636, 0.48252108693122864, 1.0664650201797485, -0.13112837076187134, -0.8705618977546692, -0.6239588856697083, 0.6500570774078369, -0.15041372179985046, -0.09344998747110367, 0.7375069856643677, 0.9499188661575317, 0.5010315775871277, -0.0770169347524643, 1.1880109310150146, 0.09968297183513641, 0.7349002361297607, -0.22787527740001678, 0.7446671724319458, -0.29679206013679504, 0.4678612947463989, 0.06398124992847443, -0.7622290849685669, -0.19654636085033417, -0.006159348413348198, -0.31950709223747253, -0.6271014213562012, 0.29657137393951416, 0.6803338527679443, -0.3957909941673279, -0.0045671346597373486, -0.14320030808448792, 0.18480980396270752, 0.4365474283695221, 0.20370684564113617, 0.8677797317504883, -0.0037691383622586727, 1.2184457778930664, 0.17957362532615662, -0.4370611011981964, -0.3695862293243408, -0.6542309522628784, -0.7332205772399902, -0.34119588136672974, -0.08653240650892258, -0.0602734200656414, -0.05889685079455376, 0.8566551208496094, 1.0459963083267212, -0.5811759233474731, -0.6086806654930115, -0.08092961460351944, 0.06224615499377251, -0.16441017389297485, -0.2319725900888443, -0.11009193956851959, -0.6422023177146912, -0.618247926235199, 0.4833947420120239, 0.1850537359714508, 0.0381392203271389, -0.5382598042488098, -0.15215690433979034, 0.1736467033624649, 0.5297264456748962, 0.3922690749168396, 0.49110251665115356, -0.9219244718551636, -0.05263110622763634, -0.30259957909584045, 0.07560288906097412, 0.1263609230518341, 0.8351518511772156, -0.6652522683143616, 0.0726226419210434, 0.35065627098083496, 0.19970561563968658, 0.3200664818286896, -0.2612028419971466, 0.5968875885009766, -1.0009516477584839, 0.09925173968076706, 0.06541085243225098, 0.3314531147480011, -0.08011622726917267, -0.203147754073143, 0.48460933566093445, -0.255769819021225, -0.4364100992679596, -1.2374789714813232, 0.30430662631988525, -0.935026228427887, -0.39770153164863586, 1.0154201984405518, -0.3147582411766052, -0.37845656275749207, -0.321161687374115, -0.4617329239845276, 0.29678234457969666, -0.49458712339401245, 0.5109622478485107, 0.3968459665775299, -0.21969573199748993, -0.1411939263343811, -0.4693969488143921, 0.07087034732103348, -0.4807233214378357, -0.8832888603210449, 0.5102150440216064, 0.5457618832588196, 0.6526312828063965, 0.6536688804626465, 0.5635003447532654, -0.007588102016597986, 0.05843754857778549, 0.24795690178871155, 0.3267710208892822, -0.13084204494953156, 0.13685423135757446, 0.017654037103056908, 0.39586371183395386, 0.26880571246147156, -0.24280595779418945 ]
http://arxiv.org/abs/2402.11622v2
http://arxiv.org/pdf/2402.11622v2
Logical Closed Loop: Uncovering Object Hallucinations in Large Vision-Language Models
2024-02-18T15:28:39
2024-06-28T07:20:22
Junfei Wu, Qiang Liu, Ding Wang, Jinghao Zhang, Shu Wu, Liang Wang, Tieniu Tan
cs.CV
cs.CV, cs.AI, cs.CL, cs.LG
Object hallucination has been an Achilles' heel which hinders the broader applications of large vision-language models (LVLMs). Object hallucination refers to the phenomenon that the LVLMs claim non-existent objects in the image. To mitigate the object hallucinations, instruction tuning and external model-based detection methods have been proposed, which either require large-scare computational resources or depend on the detection result of external models. However, there remains an under-explored field to utilize the LVLM itself to alleviate object hallucinations. In this work, we adopt the intuition that the LVLM tends to respond logically consistently for existent objects but inconsistently for hallucinated objects. Therefore, we propose a Logical Closed Loop-based framework for Object Hallucination Detection and Mitigation, namely LogicCheckGPT. In specific, we devise logical consistency probing to raise questions with logical correlations, inquiring about attributes from objects and vice versa. Whether their responses can form a logical closed loop serves as an indicator of object hallucination. As a plug-and-play method, it can be seamlessly applied to all existing LVLMs. Comprehensive experiments conducted on three benchmarks across four LVLMs have demonstrated significant improvements brought by our method, indicating its effectiveness and generality.
[ -0.444307804107666, -0.9952355027198792, 0.7703098654747009, -0.3805600106716156, -0.35545581579208374, -0.3835226893424988, -0.15937408804893494, -0.6713339686393738, 0.06284274905920029, 0.6847600936889648, -0.54346764087677, -0.4175223410129547, -0.24192917346954346, 0.0983564555644989, -0.6018815040588379, 0.6810113191604614, 0.10688783973455429, -0.06070603057742119, -0.31637006998062134, -0.10713688284158707, -0.7986315488815308, -0.4403468370437622, -0.15899662673473358, -0.4057047963142395, 0.22831231355667114, 0.051727067679166794, 0.7327577471733093, 0.4388829171657562, 0.6617732644081116, 0.2397054135799408, 0.15308889746665955, 0.3215259611606598, -0.4619612395763397, -0.0008461304241791368, -0.527395486831665, -0.21760909259319305, -0.32991233468055725, -0.2887745797634125, 0.21926343441009521, 0.5615691542625427, -0.39660292863845825, 0.06664630025625229, -0.34368765354156494, 0.6932525634765625, -0.9612560868263245, 0.20289860665798187, -0.8748241662979126, 0.3705419898033142, 0.05419884994626045, -0.1628052145242691, -0.5568928718566895, -0.21252433955669403, -0.11617203801870346, -0.49299612641334534, 0.3106418251991272, 0.2768591344356537, 0.7101050615310669, 0.463575541973114, 0.11739659309387207, -0.2367180585861206, -0.7030074000358582, 0.6953524947166443, -0.5701645016670227, 0.6091278791427612, 0.2999497354030609, 0.3666405975818634, -0.15279920399188995, -0.46339842677116394, -0.8147337436676025, -0.4692268669605255, -0.10854221135377884, 0.15002182126045227, 0.04320032149553299, 0.025294793769717216, 0.6504089832305908, 0.2384059727191925, -0.5441492199897766, -0.10167119652032852, -0.5111500024795532, -0.4126593768596649, 0.3802614212036133, 0.17400097846984863, 0.24859590828418732, 0.11081596463918686, -0.3249289095401764, 0.14952173829078674, -0.5066180229187012, -0.2211606800556183, 0.2762477695941925, 0.12369551509618759, 0.36105820536613464, 0.842058539390564, -0.31838953495025635, 0.9915647506713867, -0.1123918667435646, -0.25367891788482666, 0.25141090154647827, -0.18728107213974, -0.3468030095100403, 0.3413965106010437, 0.4249483048915863, 0.4337000548839569, 0.5908675193786621, -0.2555365562438965, -0.49409908056259155, 0.6191728115081787, 0.37905046343803406, -0.753079354763031, -0.5528225898742676, 0.35951992869377136, -0.5057824850082397, -0.23396535217761993, 0.2709527611732483, -0.6825985312461853, -0.7135195732116699, -0.5568938255310059, 0.6169556975364685, -0.45151153206825256, -0.4667660593986511, 0.6918820738792419, -0.05035734176635742, 0.49714571237564087, 0.46518611907958984, -0.6155494451522827, 0.2224755436182022, 0.7847543358802795, 0.726830780506134, -0.21562491357326508, -0.2700577676296234, -0.8707144260406494, 0.017337437719106674, -0.6513680219650269, 0.8970378637313843, -0.6181451678276062, -0.1604013293981552, -0.014536948874592781, 0.16569167375564575, 0.1422654539346695, -0.8619964122772217, 0.5885769128799438, -0.21755851805210114, 0.01127996202558279, -0.337831974029541, -0.5449835062026978, -0.23745609819889069, 0.3865261673927307, -0.4631659984588623, 0.7859221696853638, -0.11589591950178146, -0.7126511931419373, 0.33050793409347534, -0.38908514380455017, -0.27853912115097046, 0.027534237131476402, -0.4688188433647156, -0.6557647585868835, 0.26646167039871216, 0.28060153126716614, 0.37784504890441895, -0.1825721710920334, 0.30526819825172424, -0.5158953070640564, -0.769498884677887, 0.12283375859260559, -0.0014325107913464308, 0.5594853758811951, -0.06322713941335678, -0.5259222388267517, 0.376020222902298, -0.6438009738922119, 0.013324210420250893, 0.20060408115386963, 0.41739264130592346, -0.12495512515306473, 0.2824668288230896, -0.19692248106002808, 0.15913274884223938, -0.0774700939655304, -0.560329794883728, 0.1368776559829712, -0.2204972803592682, 0.08748931437730789, 0.7926520705223083, -0.1021319255232811, -0.0938836857676506, -0.2542249858379364, 0.13584274053573608, 0.335368275642395, 0.1731969714164734, -0.22320839762687683, -0.4702816605567932, -0.9080742597579956, -0.2501358687877655, -0.45516613125801086, 0.616967499256134, -0.64644855260849, 0.6885132789611816, 0.022204359993338585, -0.15335793793201447, -0.2144959419965744, -0.0077285668812692165, 0.28638240694999695, 0.8611667156219482, 0.4463038444519043, -0.2617506682872772, -0.40303337574005127, -1.026434063911438, -0.011460212990641594, -0.09077157080173492, -0.11116039752960205, 0.1195564791560173, 0.8156212568283081, -0.30194342136383057, 0.7691062092781067, -0.63661128282547, -0.5150688886642456, 0.06382225453853607, -0.41975104808807373, 0.12479012459516525, 0.3530626893043518, 0.2435215711593628, -0.7832766175270081, 0.07036823034286499, 0.2242678701877594, -1.0740139484405518, -0.019157683476805687, -0.04715993255376816, -0.09649164229631424, 0.4993613064289093, 0.6852113604545593, -0.6065002083778381, 0.7990544438362122, 0.16250303387641907, -0.3447326421737671, 0.9331978559494019, -0.1721828281879425, -0.040134917944669724, -0.46728625893592834, 0.21520568430423737, -0.3327052891254425, -0.08450186252593994, -0.5038561224937439, 0.01463961973786354, 0.14080075919628143, -0.1753762662410736, -0.3830295205116272, 0.2334064245223999, -0.39642879366874695, -0.37708792090415955, -0.3376007080078125, 0.353228896856308, -0.07192562520503998, 0.43193280696868896, 0.3231242597103119, 0.4523332118988037, 0.8233543634414673, -0.47913265228271484, 0.6701410412788391, 0.04857673868536949, -0.42449259757995605, 0.6455481648445129, -0.5965368151664734, 0.2134692668914795, -0.38080650568008423, 0.14092151820659637, -0.559877872467041, -0.12859387695789337, 0.5906857848167419, -0.03802802041172981, -0.03564530983567238, 0.11746811121702194, -0.4552978277206421, -0.2697511613368988, -0.2736205458641052, 0.31781795620918274, 0.6168546080589294, -0.6523748636245728, 0.6088786721229553, 0.05833424627780914, 0.5485524535179138, -0.43725720047950745, -0.45685893297195435, -0.0250849612057209, -0.016681155189871788, -0.6604946255683899, -0.17274370789527893, -0.21459850668907166, -0.37496888637542725, 0.04306903854012489, -0.47697994112968445, 0.2239905148744583, -0.08501271903514862, 0.1650795042514801, 0.3924296200275421, -0.34780195355415344, 0.18905670940876007, -0.63588547706604, -0.1420048028230667, 0.24684056639671326, -0.6502957940101624, 0.6107446551322937, -0.5421643257141113, -0.9097628593444824, -0.4233655035495758, 0.213096484541893, 0.596868634223938, -0.47888845205307007, 0.6117859482765198, 0.5839048027992249, -0.6310153603553772, -0.42748579382896423, -0.6848762035369873, -0.5300068259239197, -0.46097052097320557, 0.43530529737472534, -0.5483891367912292, -0.44785138964653015, 0.7214208841323853, 0.20212891697883606, -0.3097912669181824, 0.10427971929311752, 0.6366006135940552, 0.2492535412311554, 0.8215259909629822, 0.4161836802959442, 0.10818719863891602, 0.11955472081899643, -0.01640731282532215, 0.6745134592056274, -0.6622995734214783, -0.5967403054237366, -0.11167801171541214, -0.025994224473834038, -0.3798428475856781, -0.46001139283180237, 0.01695946976542473, 0.03345825895667076, -0.25074684619903564, -0.00919350329786539, -0.7964162826538086, 0.8649805188179016, 0.2806963324546814, 0.49300500750541687, 0.41895902156829834, -0.08099058270454407, 0.032227106392383575, 0.11575507372617722, -0.4698321223258972, -0.1873948574066162, 0.5907000303268433, 0.05254323035478592, 0.8850702047348022, -0.13566555082798004, 0.4552391469478607, 0.14784513413906097, 0.011941032484173775, -1.0474214553833008, 0.7846091985702515, 0.19592177867889404, -0.3373807966709137, -0.26497548818588257, -0.1888015866279602, -0.3920154273509979, 0.4270223379135132, -0.1131560429930687, -1.0606704950332642, 0.24808181822299957, 0.364582896232605, 0.062133971601724625, 0.6485470533370972, -0.5326195955276489, 0.930012047290802, -0.28000637888908386, -0.596154510974884, -0.07592590153217316, -0.5786489844322205, 0.7834747433662415, -0.270087331533432, -0.1263057440519333, -0.1513976901769638, 0.2101576328277588, 0.22701917588710785, -0.37788984179496765, 0.7868390083312988, -0.04494874179363251, -0.2978649437427521, 0.31224873661994934, 0.3047175705432892, 0.7969303131103516, -0.045802365988492966, 0.29649126529693604, 0.1829921007156372, -0.20432148873806, -0.3793017864227295, -0.7234558463096619, 0.5312408208847046, -0.23909446597099304, -0.7937743663787842, -0.4735659956932068, -0.6398590207099915, -0.13446633517742157, 0.29310721158981323, 0.09149295091629028, 0.3748380243778229, 0.22860568761825562, 0.2736183702945709, 1.0242481231689453, -0.31253311038017273, 0.09861637651920319, 0.2611364722251892, -0.6789470314979553, 0.15179044008255005, 0.9283124208450317, -0.13678306341171265, 0.32673048973083496, 0.16123510897159576, 0.3137362599372864, -0.12453708052635193, -0.5232775807380676, -0.262294203042984, 0.22926132380962372, -0.9122485518455505, -0.1057630330324173, -0.48732706904411316, -0.18991278111934662, -0.2164047807455063, -0.1856468915939331, -0.4437037706375122, 0.02773721143603325, 0.006197180598974228, -0.04802243411540985, 0.230441614985466, 0.43892186880111694, 0.1227026954293251, -0.46337345242500305, -0.35544389486312866, 0.7091543078422546, 0.26725390553474426, 0.5175094604492188, -0.02191704697906971, -0.30695393681526184, 0.08978038281202316, -0.032199062407016754, 0.18284928798675537, -0.660781741142273, 0.20372648537158966, -0.09217627346515656, 0.5022733807563782, 0.63890141248703, 0.31552618741989136, 0.8111610412597656, -0.4857330322265625, 0.5429919958114624, 0.2584003210067749, -1.0158790349960327, 0.7070523500442505, -0.3411993980407715, 0.19203686714172363, 0.08004340529441833, -0.18937358260154724, -0.45938563346862793, -0.4176788330078125, -0.38965919613838196, -0.5908076763153076, 0.5985519886016846, 0.27460888028144836, -0.3656884431838989, 0.26122739911079407, 0.10833679884672165, 0.0479438379406929, 0.2531881332397461, -0.7001947164535522, 0.11233840882778168, -0.5109315514564514, 0.0159786157310009, 0.14939995110034943, -0.03828777000308037, -0.2941504716873169, -0.2968955934047699, 0.3919944167137146, -0.2028273493051529, 0.2545912265777588, 0.3303951621055603, -0.14661341905593872, -0.04280281066894531, -0.06490220874547958, 0.9343675374984741, 0.9826866388320923, -0.4765181839466095, 0.272621750831604, 0.06935062259435654, -0.48483791947364807, -0.09537874907255173, -0.3440965712070465, -0.2909858822822571, -0.049706410616636276, 0.448758602142334, 0.8339251279830933, -0.18742677569389343, -1.0885123014450073, 0.446041077375412, 0.22436168789863586, -0.2296200841665268, -0.5281893014907837, 0.2972184419631958, -0.15697799623012543, 0.27885696291923523, 0.05035094916820526, 0.22275274991989136, 0.11052533239126205, -0.6701749563217163, 0.4024515748023987, 0.5773345828056335, -0.4121842384338379, -0.12279778718948364, 0.5990228056907654, -0.21916648745536804, -0.24833811819553375, 0.8078063130378723, -0.05745325982570648, -0.7236382365226746, 0.8021150827407837, 0.6516472101211548, 1.0271095037460327, 0.16076704859733582, -0.05555470660328865, 0.17459528148174286, 0.6695830821990967, -0.3025447130203247, 0.28135183453559875, -0.04531681910157204, -0.9380252361297607, -0.18303005397319794, -0.55585116147995, -0.39800095558166504, 0.2041143923997879, -0.654651403427124, 0.35232388973236084, -0.32060888409614563, 0.41115811467170715, -0.3594462275505066, -0.4367036521434784, -0.4326898157596588, 0.14908206462860107, 0.2244279831647873, 0.6642298698425293, -0.7664147019386292, 0.9135251641273499, 0.40838882327079773, -0.2788219749927521, -0.6795978546142578, 0.20446379482746124, 0.008663333021104336, -0.7695005536079407, 0.6345619559288025, 0.4386400282382965, -0.5047571063041687, -0.13667090237140656, -0.48423531651496887, -0.44283345341682434, 0.8840468525886536, 0.3155593276023865, -0.5990526676177979, 0.3013440668582916, 0.05403631925582886, 0.40603479743003845, -0.33492177724838257, -0.1124621331691742, 0.6948582530021667, 0.5939005613327026, 0.2932951748371124, -0.6059259176254272, 0.3038365840911865, -0.12036455422639847, -0.11642993986606598, 0.43446093797683716, -0.3837723433971405, 0.6207519173622131, -0.5301583409309387, -0.17735813558101654, -0.02735292539000511, 0.396347314119339, 0.4784877598285675, 0.40342119336128235, 0.49350762367248535, 0.7022026777267456, 0.8617031574249268, -0.131901815533638, 0.9480019807815552, -0.1985466182231903, 0.45847630500793457, 1.061900019645691, -0.5641998052597046, 0.701923131942749, 0.60465407371521, 0.15520364046096802, 0.06803829967975616, 0.33342376351356506, -0.34118297696113586, 0.49321675300598145, 0.38713565468788147, -0.23111501336097717, -0.4555091857910156, -0.06392932683229446, -0.5591121912002563, 0.3946005702018738, 0.30127406120300293, -0.05640268698334694, -0.12537920475006104, 0.18437911570072174, -0.26777103543281555, -0.12832069396972656, -0.39140042662620544, 0.518426775932312, -0.045741964131593704, -0.6527165174484253, 0.7655133008956909, -0.4852496087551117, 0.32760486006736755, -0.4360378086566925, -0.3493843972682953, -0.3899514973163605, 0.5580892562866211, -0.37332960963249207, -0.5184298157691956, 0.3419398069381714, -0.23958183825016022, -0.08661461621522903, 0.1518147587776184, 0.9654474258422852, -0.4144352078437805, -0.6486057043075562, 0.38231050968170166, 0.263321191072464, 0.2519403398036957, -0.2338719516992569, -0.304516464471817, 0.3544766902923584, 0.04268118739128113, -0.05762174353003502, -0.017826346680521965, 0.5569629073143005, -0.20974302291870117, 0.7677729725837708, 0.7307042479515076, 0.043479073792696, 0.0371280200779438, 0.1199706420302391, 0.8394786715507507, -0.6603057384490967, -0.17304250597953796, -0.9363625049591064, 0.47485366463661194, -0.10998441278934479, -0.01129753515124321, 0.578932523727417, 0.5521085262298584, 1.0788301229476929, -0.444748193025589, 0.5317533612251282, 0.005535316653549671, 0.13860741257667542, -0.8709836602210999, 0.4660953879356384, -0.6401647329330444, 0.42434826493263245, -0.3362615406513214, -1.0492509603500366, -0.4697459936141968, 0.9687026143074036, -0.17923936247825623, -0.10529714077711105, 1.0575615167617798, 1.1583364009857178, -0.39053428173065186, -0.08214964717626572, 0.719199538230896, 0.2605402171611786, 0.3075608015060425, 0.5202873945236206, 0.9318221807479858, -0.2081061601638794, 0.4205693006515503, -0.28157204389572144, -0.041837967932224274, -0.3384142220020294, -0.9213492274284363, -1.0846036672592163, -0.38661232590675354, -0.431941419839859, -0.4172632396221161, 0.21154512465000153, 0.537135899066925, 0.49732065200805664, -0.9891860485076904, -0.08574426174163818, -0.39565497636795044, 0.20925933122634888, -0.25706303119659424, -0.22903208434581757, 0.40659892559051514, -0.28983086347579956, -0.4168795347213745, 0.14186407625675201, 0.6490207314491272, -0.10361844301223755, -0.4603555202484131, -0.05234397202730179, 0.09019270539283752, -0.06191437318921089, 0.706567108631134, 0.25984904170036316, -1.1324949264526367, -0.6219061017036438, 0.070123091340065, 0.09628014266490936, 0.11670517176389694, 0.8857517838478088, -0.9204824566841125, 0.8080236315727234, 0.42656901478767395, 0.5737026929855347, 0.4918329119682312, -0.05314727500081062, 0.230959951877594, -0.3677191734313965, 0.6585200428962708, 0.37409430742263794, 0.4111606776714325, 0.21699275076389313, -0.2510473132133484, 0.6345219016075134, 0.5651858448982239, -0.40135136246681213, -1.0049161911010742, 0.5239936113357544, -1.1085867881774902, -0.4896734952926636, 0.903192937374115, 0.2341076284646988, -0.21749165654182434, -0.10097472369670868, -0.4240579903125763, -0.14834538102149963, -0.08916822820901871, 1.0354214906692505, 0.5526722073554993, -0.27960464358329773, -0.340860515832901, -0.727698564529419, 0.32808029651641846, 0.3199598789215088, -0.9704005718231201, 0.16633431613445282, 0.7808833122253418, -0.028765827417373657, 0.2632552981376648, 0.31724485754966736, 0.048176560550928116, 0.37578505277633667, 0.14434882998466492, 0.06319156289100647, -0.2272300273180008, -0.4724564254283905, -0.02005327120423317, 0.15683308243751526, -0.37570658326148987, -0.3056924641132355 ]
http://arxiv.org/abs/2402.11621v3
http://arxiv.org/pdf/2402.11621v3
Decoding News Narratives: A Critical Analysis of Large Language Models in Framing Detection
2024-02-18T15:27:48
2024-06-15T23:20:15
Valeria Pastorino, Jasivan A. Sivakumar, Nafise Sadat Moosavi
cs.CL
cs.CL
Previous studies on framing have relied on manual analysis or fine-tuning models with limited annotated datasets. However, pre-trained models, with their diverse training backgrounds, offer a promising alternative. This paper presents a comprehensive analysis of GPT-4, GPT-3.5 Turbo, and FLAN-T5 models in detecting framing in news headlines. We evaluated these models in various scenarios: zero-shot, few-shot with in-domain examples, cross-domain examples, and settings where models explain their predictions. Our results show that explainable predictions lead to more reliable outcomes. GPT-4 performed exceptionally well in few-shot settings but often misinterpreted emotional language as framing, highlighting a significant challenge. Additionally, the results suggest that consistent predictions across multiple models could help identify potential annotation inaccuracies in datasets. Finally, we propose a new small dataset for real-world evaluation on headlines from a diverse set of topics.
[ -0.510148823261261, -0.8722836375236511, 0.8188827633857727, 0.1448337882757187, -0.3242347836494446, 0.022000329568982124, -0.058783262968063354, -0.5215583443641663, -0.040883030742406845, 0.303423136472702, -0.43573516607284546, -0.5889789462089539, -0.9164734482765198, 0.18298210203647614, -0.6113927364349365, 1.2408000230789185, -0.145783931016922, 0.06186472997069359, 0.40999752283096313, -0.09059285372495651, -0.5337015986442566, -0.4413776397705078, -0.43365678191185, 0.00321499933488667, 0.06509856134653091, -0.018262146040797234, 0.7998570203781128, 0.7251895070075989, 0.2519278824329376, 0.11866079270839691, -0.20849111676216125, -0.20191572606563568, -0.4324268400669098, -0.33980056643486023, -0.013598572462797165, -0.3249703645706177, -0.41147342324256897, 0.2769086956977844, 0.7277106046676636, 0.3686167001724243, 0.2192317545413971, 0.20952658355236053, -0.15134625136852264, 0.49822723865509033, -0.4317527413368225, 0.2882210612297058, -0.627801775932312, 0.1446780264377594, -0.2882258892059326, -0.1134452298283577, -0.3660345673561096, -0.32481256127357483, 0.066615991294384, -0.5066908597946167, 0.4234498143196106, 0.1297541856765747, 1.0557130575180054, 0.05147925391793251, -0.7060626149177551, -0.39923232793807983, -0.5071765184402466, 0.3708406090736389, -0.7376928329467773, 0.3454400897026062, 0.4871745705604553, 0.25659671425819397, -0.03861053287982941, -0.38719460368156433, -0.32766789197921753, -0.07388970255851746, -0.11573683470487595, -0.01710255816578865, -0.49298667907714844, 0.006167315877974033, 0.3386242389678955, 0.35495325922966003, -0.8256993889808655, -0.17874744534492493, -0.3577686548233032, -0.2556391954421997, 0.3222847878932953, 0.16855652630329132, 0.2901461720466614, -0.29363882541656494, -0.2616296410560608, 0.28740060329437256, -0.4733741581439972, -0.05488850176334381, 0.5317957401275635, 0.38465845584869385, -0.3341480493545532, 0.3914973735809326, -0.3795453906059265, 0.7703044414520264, 0.04006953537464142, -0.13847234845161438, 0.28894200921058655, -0.5822951793670654, -0.16432376205921173, 0.23218099772930145, 0.556581974029541, 0.5566969513893127, 0.5942531824111938, 0.051492322236299515, -0.23373587429523468, 0.07860254496335983, 0.04341019690036774, -0.7113319039344788, -0.11863074451684952, -0.04799285903573036, -0.5069891214370728, -0.4930521547794342, -0.0675237625837326, -0.5296898484230042, -0.13231590390205383, -0.1774437129497528, 0.3625388741493225, -0.33650296926498413, -0.4815737009048462, 0.49925580620765686, -0.3477741777896881, 0.42823195457458496, 0.134331613779068, -0.8094536066055298, -0.08238233625888824, 0.8382989168167114, 1.0139166116714478, 0.15567758679389954, -0.09547920525074005, -0.5565360188484192, -0.031487394124269485, -0.4488644599914551, 0.9286949634552002, -0.7257727384567261, 0.09264915436506271, 0.02288827858865261, 0.06542196869850159, -0.009076029062271118, -0.1450924277305603, 0.727505624294281, -0.5554131269454956, 0.3261466324329376, -0.3450292944908142, -0.6470583081245422, -0.28564152121543884, 0.5670676231384277, -0.8610090017318726, 0.5032013058662415, 0.2991122603416443, -1.0320487022399902, 0.5795968174934387, -0.5840812921524048, -0.5625736117362976, -0.17706751823425293, 0.03440197557210922, -0.48316746950149536, 0.4482746422290802, 0.7065841555595398, 0.47989243268966675, -0.014848252758383751, 0.510339081287384, -0.1955675482749939, -0.3833707273006439, -0.10562405735254288, -0.7293623685836792, 0.5289093852043152, 0.18428799510002136, -0.41292455792427063, 0.01620512828230858, -0.5424984097480774, -0.3347122371196747, 0.1433069258928299, -0.13839595019817352, -0.11393840610980988, -0.24905656278133392, 0.1786026507616043, 0.07165473699569702, -0.26951566338539124, -0.43769246339797974, 0.0237286239862442, -0.1915275752544403, 0.5692229866981506, 0.4014184772968292, 0.1330125629901886, 0.21775871515274048, -0.26619237661361694, 0.7787520885467529, 0.18803629279136658, -0.13886336982250214, -0.7585790157318115, -0.4850800335407257, -0.21279463171958923, -0.21094238758087158, 0.36601758003234863, 0.4184821844100952, -0.8682370185852051, -0.09083633124828339, -0.14898565411567688, -0.07767224311828613, -0.2579804062843323, -0.35681959986686707, 0.33422720432281494, 0.42237797379493713, 0.2652578353881836, -0.08473752439022064, -0.5705329775810242, -0.8854096531867981, -0.7534481883049011, 0.1959676593542099, -0.0069921668618917465, -0.17401842772960663, 0.600238561630249, 0.18014363944530487, 1.1254019737243652, -0.4182705581188202, -0.15950602293014526, -0.4700397551059723, 0.4988429546356201, 0.31667372584342957, 0.1730486899614334, 0.7890145182609558, -0.9631550908088684, -0.3494179844856262, -0.3013850748538971, -0.8158119320869446, -0.05678153038024902, -0.13947834074497223, 0.3517794609069824, 0.14645002782344818, 0.3372584581375122, -0.5484410524368286, 0.7088301181793213, 0.5413937568664551, -0.37866368889808655, 0.7839400172233582, 0.2477022409439087, 0.34562045335769653, -0.9209855794906616, -0.24182899296283722, 0.3484932482242584, -0.6004235744476318, -0.7125592231750488, -0.33665478229522705, 0.017185235396027565, -0.3312765955924988, -0.3914271593093872, 0.479488730430603, -0.5833607316017151, -0.3505806028842926, -0.4619738757610321, 0.12331879884004593, 0.11038053780794144, 0.21530303359031677, 0.2996855676174164, 0.7119192481040955, 0.33992108702659607, -0.010996800847351551, 0.1505202054977417, 0.15796545147895813, -0.7691181302070618, 0.4553614854812622, -0.538644015789032, -0.0422968715429306, -0.44035813212394714, 0.6910164952278137, -1.0563479661941528, -0.641826868057251, 0.24213860929012299, -0.4856165945529938, 0.08884453773498535, -0.41657960414886475, -0.5080280900001526, -0.3304685354232788, -0.41801291704177856, 0.502049446105957, 0.10006138682365417, -0.46018996834754944, 0.29689836502075195, 0.37360814213752747, -0.07749722898006439, -0.3701740801334381, -0.6913625001907349, 0.26086971163749695, -0.30136340856552124, -0.5158260464668274, -0.009604976512491703, 0.2400636225938797, -0.10595498979091644, 0.19061847031116486, -0.2934134900569916, -0.32629480957984924, 0.1827283501625061, -0.06556718796491623, 0.11158928275108337, -0.6384347081184387, 0.05572628974914551, -0.1642131507396698, -0.3535919785499573, -0.10894321650266647, -0.23459824919700623, 0.3260812759399414, -0.5435395240783691, -0.10277911275625229, -0.49040791392326355, 0.4213602542877197, 0.6590189337730408, -0.5090250372886658, 0.5829825401306152, 0.9365904927253723, -0.5464045405387878, 0.04466965049505234, -0.6300502419471741, -0.06569783389568329, -0.37753060460090637, 0.5101701021194458, -0.46847644448280334, -0.9574993252754211, 0.33649134635925293, 0.20402580499649048, -0.25976747274398804, 0.3553963899612427, 0.6552023887634277, 0.27307477593421936, 1.1355122327804565, 0.7029025554656982, -0.2290927767753601, 0.5041983723640442, -0.01258458849042654, 0.44479212164878845, -0.4750365912914276, 0.33651959896087646, -0.10383883118629456, -0.2020236998796463, -0.22863584756851196, -0.14568395912647247, 0.3718527555465698, 0.05862744152545929, -0.17420001327991486, 0.4044284224510193, -0.4254553020000458, 1.0233408212661743, 0.27754005789756775, -0.14444111287593842, 0.6562589406967163, -0.2029642015695572, 0.3965943455696106, 0.11834736913442612, -0.5683077573776245, -0.7072000503540039, 1.101523995399475, 0.5653570890426636, 0.5312655568122864, -0.09997235238552094, 0.2383268177509308, 0.2922230064868927, 0.568035900592804, -0.664692223072052, 0.10884063690900803, -0.01816168799996376, -1.1425821781158447, 0.003588220803067088, -0.33984842896461487, -0.6448150873184204, 0.278488427400589, -0.14189746975898743, -0.6855546236038208, 0.005460882093757391, -0.05181308463215828, -0.6726479530334473, 0.5398096442222595, -0.7590620517730713, 1.0657234191894531, -0.16039036214351654, 0.025468148291110992, -0.047674715518951416, -0.5530720353126526, 0.7991942763328552, -0.24636901915073395, 0.43248844146728516, -0.5883536338806152, 0.19139239192008972, 0.5490622520446777, 0.2575788199901581, 0.7049804329872131, -0.14256830513477325, 0.04505842551589012, 0.22117838263511658, 0.0020200868602842093, 0.23494191467761993, 0.22080904245376587, -0.06144054979085922, 0.2737290859222412, 0.16110855340957642, -0.2713313698768616, -0.2476603388786316, 0.2271861881017685, -0.34158456325531006, -0.5046887397766113, -0.5233371257781982, -0.7850444316864014, -0.29918569326400757, 0.08419403433799744, 0.49821415543556213, 0.7991626262664795, -0.16137929260730743, 0.32536131143569946, 0.19171808660030365, 0.039244674146175385, 0.6007822155952454, 0.5482958555221558, -0.20362289249897003, -0.3146234154701233, 0.4358781576156616, 0.10552729666233063, -0.045552536845207214, 0.17939606308937073, 0.014585413970053196, -0.10209979861974716, -0.8157168030738831, -0.43806374073028564, 0.1290637105703354, -0.574285626411438, -0.2830560803413391, -0.5288748145103455, -0.12748019397258759, -0.23702660202980042, -0.2239927351474762, -0.5342280864715576, -0.1398291438817978, -0.12454026937484741, -0.4845345616340637, 0.09187950193881989, 0.9139580726623535, -0.027687253430485725, 0.5559505224227905, -0.977378249168396, 0.41367071866989136, -0.11261921375989914, 0.4770162105560303, -0.18859222531318665, -0.3606441020965576, -0.47524532675743103, 0.06491135060787201, -0.2208133339881897, -1.0929349660873413, 0.39722004532814026, -0.13776788115501404, 0.3928075432777405, 0.34675440192222595, 0.10883022844791412, 0.18284854292869568, -0.6034740805625916, 0.8480644822120667, 0.03261967748403549, -1.050560474395752, 0.5661087036132812, -0.8452045321464539, 0.27248892188072205, 0.5538075566291809, 0.6763661503791809, -0.24261517822742462, -0.25307419896125793, -0.5206829309463501, -0.5309067964553833, 0.6704366207122803, 0.1535949558019638, 0.16170188784599304, -0.274277925491333, 0.38000959157943726, 0.13720601797103882, 0.29566049575805664, -0.9312337040901184, 0.30707573890686035, -0.22379113733768463, -0.30401575565338135, 0.02080528996884823, -0.4278082251548767, -0.08845528960227966, -0.14108720421791077, 0.3961988091468811, -0.22499608993530273, 0.1445600837469101, 0.12405086308717728, -0.29508987069129944, 0.019696980714797974, 0.2769760191440582, 0.867483913898468, 0.7453039288520813, -0.3122400641441345, -0.048242390155792236, 0.050255414098501205, -0.2979164719581604, 0.13152280449867249, -0.02729903534054756, 0.11278989166021347, 0.26218998432159424, 0.8532983064651489, 1.1300498247146606, 0.4249683916568756, -0.33281996846199036, 0.8981121778488159, -0.1946374922990799, -0.2132905125617981, -0.2832541763782501, -0.2955401837825775, -0.10690660029649734, 0.5338313579559326, 0.44074833393096924, 0.042063843458890915, 0.1920720934867859, -0.8047376871109009, 0.43653222918510437, 0.2494017481803894, -0.3652326464653015, -0.6541866064071655, 0.7880429029464722, 0.23904335498809814, -0.14666877686977386, 0.44826287031173706, -0.3846014440059662, -0.9578226208686829, 0.5438799262046814, 0.5095142126083374, 1.0169527530670166, 0.0174090676009655, 0.2836062014102936, 0.2563819885253906, 0.5530082583427429, -0.4740874767303467, -0.23727022111415863, 0.05206558108329773, -0.9722142219543457, -0.4658340513706207, -0.4511442184448242, -0.38979780673980713, 0.2105652093887329, -0.7336210012435913, 0.2153141349554062, -0.3010324537754059, -0.28066322207450867, 0.15277770161628723, -0.07552328705787659, -0.5139598846435547, 0.13683058321475983, 0.6596717238426208, 0.9558225274085999, -1.220909833908081, 0.8424506187438965, 0.32069212198257446, -0.42176899313926697, -0.7026945948600769, 0.4577302038669586, 0.520164966583252, -0.6442410349845886, 0.5117034316062927, 0.6306320428848267, 0.12006663531064987, 0.10425283759832382, -0.40751686692237854, -0.6506384015083313, 0.9042006731033325, 0.6303732991218567, -0.36924317479133606, -0.37722569704055786, -0.0428909957408905, 0.28589385747909546, -0.8130072951316833, 0.42156732082366943, 1.0079689025878906, 0.6820273995399475, -0.0024360695388168097, -1.1153554916381836, -0.15947210788726807, 0.0689026415348053, -0.2525843381881714, 0.12842097878456116, -0.38956964015960693, 0.9038345217704773, -0.10286235064268112, -0.2526516020298004, -0.1457139104604721, 0.35756728053092957, 0.049314554780721664, 0.6868523955345154, 0.4039243161678314, 0.4080849885940552, 0.43465864658355713, -0.30780768394470215, 1.3038692474365234, -0.399989515542984, 0.6070266962051392, 1.0960434675216675, -0.10108380019664764, 0.6368923783302307, -0.1375018060207367, -0.008783207274973392, 0.26331570744514465, 0.637706995010376, -0.05009482055902481, 0.5574451684951782, -0.1157192587852478, -0.08189649134874344, -0.2816457748413086, 0.06740362197160721, -0.3487851917743683, 0.6953772902488708, 0.2637809216976166, -0.2711828649044037, -0.7200015783309937, 0.40944308042526245, 0.3723783493041992, -0.11630966514348984, -0.44562628865242004, 0.5171234011650085, 0.1352112889289856, -0.4326404631137848, 0.35199350118637085, 0.01982574723660946, 0.6986553072929382, -0.4687429368495941, 0.1766088753938675, -0.21513110399246216, 0.07697653770446777, -0.16288740932941437, -0.8460807204246521, 0.6077929139137268, 0.13028517365455627, -0.3123558759689331, -0.2645341753959656, 0.7909404635429382, -0.4896461069583893, -0.34940317273139954, 0.1601831167936325, 0.43366381525993347, 0.006148056127130985, -0.570551335811615, -0.49342063069343567, 0.5886174440383911, 0.1016121432185173, -0.6616116166114807, 0.1537853181362152, 0.37846022844314575, -0.06175117567181587, 0.18470509350299835, 0.47487086057662964, -0.19865822792053223, -0.13692297041416168, -0.11881627887487411, 0.5883957147598267, -0.8587767481803894, -0.6036497950553894, -0.8867955803871155, 0.48658478260040283, 0.02995716594159603, -0.291763037443161, 0.5749130845069885, 0.5918492078781128, 0.6434378623962402, -0.028527850285172462, 0.7572892904281616, 0.3922131657600403, 0.4029833972454071, -0.6699949502944946, 0.6957967281341553, -0.19062957167625427, 0.16918759047985077, -0.0993306040763855, -0.9526273608207703, -0.49658554792404175, 0.6097880601882935, -0.829380452632904, 0.13610991835594177, 0.7785502672195435, 0.4936678111553192, -0.16321659088134766, 0.6968854069709778, 0.34262481331825256, 0.2824917733669281, 0.42010173201560974, 0.6626850962638855, 0.8407086133956909, -0.37443453073501587, 0.5148609280586243, 0.18785865604877472, -0.1653248518705368, -0.23264360427856445, -1.151781439781189, -1.0342450141906738, -0.5619499683380127, -0.344307541847229, -0.09425675123929977, 0.19754822552204132, 0.5663840770721436, 0.9151793122291565, -0.694728672504425, 0.28337526321411133, 0.10225178301334381, 0.05595690757036209, 0.14825762808322906, -0.22454006969928741, 0.2564717233181, -0.3976607620716095, -0.538905680179596, 0.48937591910362244, 0.36052820086479187, -0.05307842046022415, 0.06802163273096085, 0.38096165657043457, -0.12566924095153809, 0.2196246236562729, 0.5581285953521729, 0.17718122899532318, -0.6119202971458435, -0.6850771903991699, -0.5050132870674133, 0.019863737747073174, 0.16703374683856964, 0.9410845041275024, -0.896431565284729, 0.19386006891727448, 0.41017207503318787, 0.7376046776771545, 0.8490465879440308, 0.3329929709434509, 0.7038573622703552, -0.7892974019050598, 0.3400328755378723, 0.07976177334785461, 0.4138738811016083, 0.4101812243461609, -0.28885945677757263, 0.6783705353736877, 0.39813321828842163, -0.3453909754753113, -0.9176945090293884, 0.1408175826072693, -0.686309278011322, -0.3490476608276367, 0.9795182943344116, -0.14837493002414703, -0.18761314451694489, -0.25698837637901306, -0.044636320322752, 0.04280133545398712, -0.19980476796627045, 0.3131686747074127, 1.1754711866378784, 0.030016472563147545, -0.30861374735832214, -1.1965733766555786, 0.5461022257804871, 0.08113400638103485, -0.5933672785758972, 0.06587215512990952, 0.5124937891960144, 0.5199764966964722, -0.058630432933568954, 0.7431635856628418, -0.06721212714910507, 0.33519861102104187, 0.10211559385061264, -0.35344916582107544, -0.46101662516593933, -0.3655189275741577, -0.5761218070983887, 0.42429041862487793, -0.4270836114883423, -0.14709006249904633 ]
http://arxiv.org/abs/2402.11608v1
http://arxiv.org/pdf/2402.11608v1
Metric-Learning Encoding Models Identify Processing Profiles of Linguistic Features in BERT's Representations
2024-02-18T14:57:53
2024-02-18T14:57:53
Louis Jalouzot, Robin Sobczyk, Bastien Lhopitallier, Jeanne Salle, Nur Lan, Emmanuel Chemla, Yair Lakretz
cs.CL
cs.CL
We introduce Metric-Learning Encoding Models (MLEMs) as a new approach to understand how neural systems represent the theoretical features of the objects they process. As a proof-of-concept, we apply MLEMs to neural representations extracted from BERT, and track a wide variety of linguistic features (e.g., tense, subject person, clause type, clause embedding). We find that: (1) linguistic features are ordered: they separate representations of sentences to different degrees in different layers; (2) neural representations are organized hierarchically: in some layers, we find clusters of representations nested within larger clusters, following successively important linguistic features; (3) linguistic features are disentangled in middle layers: distinct, selective units are activated by distinct linguistic features. Methodologically, MLEMs are superior (4) to multivariate decoding methods, being more robust to type-I errors, and (5) to univariate encoding methods, in being able to predict both local and distributed representations. Together, this demonstrates the utility of Metric-Learning Encoding Methods for studying how linguistic features are neurally encoded in language models and the advantage of MLEMs over traditional methods. MLEMs can be extended to other domains (e.g. vision) and to other neural systems, such as the human brain.
[ -0.43688270449638367, -0.48048919439315796, 0.5307039022445679, 0.1463315188884735, -0.025992073118686676, 0.051774945110082626, -0.4676559865474701, -0.26925402879714966, 0.2828010320663452, 0.3991536796092987, -0.4369208514690399, -0.5757908225059509, -0.8053518533706665, -0.0501636303961277, -0.35200053453445435, 0.9080191850662231, 0.21337135136127472, 0.5480066537857056, -0.2687608301639557, -0.1536085456609726, -0.2650071382522583, -1.1347368955612183, -0.3719674348831177, -0.3808320462703705, 0.6900339126586914, -0.011613906361162663, 0.4525192677974701, 0.6664051413536072, 0.6460104584693909, 0.2549836337566376, 0.010827983729541302, 0.14687670767307281, -0.3461303114891052, 0.009778350591659546, 0.07782424241304398, -0.8414454460144043, -0.24840880930423737, -0.02403121069073677, 0.8776960968971252, 1.201017141342163, -0.07524996250867844, 0.38858288526535034, 0.2477571666240692, 0.6580370664596558, -0.5530422329902649, 0.27730584144592285, -0.7630360722541809, 0.11785382777452469, -0.09864579141139984, -0.24540261924266815, -0.6150408983230591, -0.11495576798915863, 0.10686517506837845, -0.2700026333332062, 0.23641853034496307, -0.11734184622764587, 0.6982216238975525, 0.14082157611846924, -0.37733832001686096, -0.10646473616361618, -0.8032154440879822, 0.9112695455551147, -0.5295275449752808, 0.5654367208480835, 0.504891037940979, 0.36243072152137756, -0.15323859453201294, -0.34725111722946167, -0.25962033867836, -0.3337273895740509, -0.3306621015071869, 0.05248308554291725, 0.01382539700716734, 0.05996903404593468, 0.12410946935415268, 0.06387577205896378, -0.5645884871482849, 0.40471136569976807, -0.48179012537002563, -0.3021411597728729, 0.5843316316604614, 0.11039695888757706, 0.07599543780088425, -0.13926547765731812, -0.3681336045265198, -0.041310474276542664, -0.4932951033115387, 0.020674295723438263, 0.2762869894504547, 0.3405190706253052, 0.05334402993321419, 0.5261092782020569, 0.05518282204866409, 0.3902536630630493, -0.28976312279701233, -0.0106902364641428, 0.3415495455265045, -0.012202246114611626, 0.011246996000409126, -0.16488833725452423, 0.69632887840271, 0.13584142923355103, 0.19183310866355896, -0.2707483470439911, -0.3153243362903595, 0.12682458758354187, 0.0895993784070015, -0.32299646735191345, -0.14157375693321228, 0.1356617659330368, -0.7019798159599304, -0.03208938241004944, 0.12938636541366577, -0.5801035761833191, -0.10763376951217651, -0.40888094902038574, 0.2875099182128906, -0.6469157338142395, -0.26506108045578003, 0.21139684319496155, -0.2513711750507355, 0.12989267706871033, -0.02400720864534378, -1.1893655061721802, 0.6685923933982849, 0.7710631489753723, 0.789743959903717, 0.0806768536567688, -0.4867476522922516, -0.1605546623468399, -0.08356136828660965, -0.29957568645477295, 0.44731175899505615, -0.7418142557144165, -0.028454642742872238, 0.2034377157688141, -0.16475322842597961, -0.027805937454104424, -0.5162438750267029, 0.07991564273834229, -0.5241714715957642, 0.03814848139882088, -0.3412577211856842, -0.8078703880310059, -0.3094511926174164, 0.07545927166938782, -0.6870453953742981, 1.009839653968811, -0.05457622557878494, -0.540611207485199, 0.32980746030807495, -0.7824651002883911, -0.15291765332221985, -0.261040061712265, -0.19071733951568604, -0.24406546354293823, 0.6216844916343689, 0.3876628279685974, 0.8222823739051819, 0.11300554126501083, 0.04329543933272362, -0.2849549651145935, -0.2335706353187561, 0.4747152030467987, -0.41305476427078247, 0.8703188300132751, 0.18883870542049408, 0.04427645727992058, -0.3156861662864685, -0.8092957735061646, -0.19350239634513855, 0.30980926752090454, -0.3900233507156372, -0.3820728361606598, 0.3620147705078125, -0.1388205587863922, -0.134291872382164, 0.5071430802345276, -0.6817189455032349, -0.08150603622198105, -0.07907145470380783, 0.4410099387168884, 0.5648176670074463, -0.07724280655384064, 0.5612300634384155, -0.00342531967908144, 0.19605086743831635, 0.532979428768158, 0.1753925383090973, -0.1509992480278015, -0.4183506369590759, -0.8034992814064026, -0.346964031457901, 0.47628554701805115, 0.45165905356407166, -0.4714893400669098, 0.46438246965408325, -0.18472592532634735, -0.34213101863861084, -0.6737637519836426, -0.07683885842561722, 0.426215797662735, 0.1589168757200241, 0.32699698209762573, -0.4012044072151184, -0.544722855091095, -1.0090850591659546, -0.08911625295877457, -0.25060001015663147, -0.2769371271133423, 0.19511397182941437, 0.5392087697982788, -0.018895618617534637, 0.9317064881324768, -0.3441384732723236, 0.0029132473282516003, -0.0833001434803009, 0.3569566011428833, 0.10564056783914566, 0.4594595432281494, 0.8776394128799438, -0.6307995319366455, -0.22943426668643951, 0.17785605788230896, -0.8193459510803223, 0.22429588437080383, -0.040385302156209946, 0.04890350624918938, -0.06420668959617615, 0.4141407012939453, -0.3994148373603821, 0.23584270477294922, 0.5249017477035522, -0.12771785259246826, 0.7649899125099182, -0.5168643593788147, -0.047804590314626694, -0.8023924827575684, -0.10639414191246033, 0.08848845958709717, -0.26718956232070923, -0.7113729119300842, -0.0004468701663427055, -0.0032695105765014887, -0.04144489765167236, -0.20562122762203217, 0.14215637743473053, -0.6891336441040039, -0.44815725088119507, 0.09449689090251923, 0.14350470900535583, -0.03823334723711014, 0.8946914076805115, 0.12968945503234863, 0.45230069756507874, 0.7201197743415833, -0.6458668112754822, 0.2142982929944992, -0.008239254355430603, -0.4003821015357971, 0.47791606187820435, -0.3432689309120178, 0.08913185447454453, -0.5798476934432983, 0.05923076346516609, -0.8250325918197632, 0.14157676696777344, -0.2252221405506134, -0.9280656576156616, 0.30496373772621155, -0.07727894186973572, -0.6408986449241638, -0.2406335175037384, -0.09828771650791168, 0.18418939411640167, 0.6792131662368774, -0.34388136863708496, 0.40845292806625366, 0.4892856180667877, 0.11527767032384872, -0.7126484513282776, -0.7446947693824768, -0.02244425378739834, -0.2125302404165268, -0.0892895758152008, 0.14320369064807892, 0.2687547504901886, -0.10055302083492279, 0.22197940945625305, 0.1970834583044052, -0.3227512240409851, 0.34282034635543823, -0.09147419780492783, 0.2337270975112915, -0.6218132972717285, 0.2928660213947296, -0.0792846754193306, -0.12477203458547592, 0.1874355673789978, -0.6056773662567139, 0.5303592681884766, 0.09313985705375671, -0.2986169159412384, -0.5078082084655762, 0.6595990657806396, 0.5526551008224487, -0.41390490531921387, 0.8087767362594604, 0.8830249905586243, -0.6276470422744751, -0.14203743636608124, -0.4505925178527832, -0.42280322313308716, -0.3753587007522583, 0.9198814034461975, -0.46644067764282227, -0.9205954670906067, 0.6914897561073303, -0.09878990799188614, 0.11850001662969589, 0.37322038412094116, 0.5529942512512207, -0.6770481467247009, 1.2388758659362793, 0.9193477034568787, -0.3203306496143341, 0.5958924889564514, -0.3548605144023895, 0.05392346531152725, -0.9866819381713867, -0.2660693824291229, -0.6125872135162354, -0.597106397151947, -0.6146502494812012, -0.37844401597976685, 0.22232453525066376, 0.08415719121694565, -0.2625507712364197, 0.3150073289871216, -0.4597376585006714, 0.5155655741691589, 0.533857524394989, 0.2311193197965622, -0.08500957489013672, 0.1358421891927719, -0.4770483672618866, -0.2215747833251953, -0.8746551871299744, -0.6029139757156372, 1.1693485975265503, 0.7462409138679504, 0.617165744304657, -0.10610529780387878, 0.6565835475921631, 0.36224302649497986, 0.04972878843545914, -0.7729169130325317, 0.5540741682052612, -0.626689076423645, -0.6439005732536316, -0.06654869019985199, -0.3691408634185791, -0.8617356419563293, 0.33908817172050476, -0.31611716747283936, -1.1865779161453247, 0.3862878382205963, 0.06226041540503502, -0.3351607620716095, 0.5416610240936279, -0.8642954230308533, 0.5321438908576965, -0.3598298728466034, 0.25336647033691406, -0.3051494359970093, -0.6064668893814087, 0.09507178515195847, 0.21582211554050446, 0.0828118845820427, -0.16351385414600372, -0.12325192242860794, 0.8213879466056824, -0.21646296977996826, 1.163392424583435, -0.3925805985927582, 0.1804368644952774, 0.02435913309454918, 0.10062527656555176, 0.007534967735409737, -0.074083611369133, 0.04211365059018135, 0.5848981738090515, 0.14973829686641693, -0.5770463943481445, -0.7737030982971191, 0.3448174297809601, -1.000885248184204, -0.41930297017097473, -0.07146003842353821, -0.552113950252533, -0.30451086163520813, -0.019744081422686577, 0.32988595962524414, 0.5190858840942383, -0.3650015890598297, 0.1855488121509552, 0.5898950695991516, -0.0017002783715724945, 0.41227951645851135, 0.043892085552215576, -0.32926663756370544, -0.3626461625099182, 0.9455822110176086, 0.228891983628273, 0.253523588180542, 0.7221457362174988, -0.08508756011724472, -0.18950186669826508, -0.7817180156707764, -0.0845421850681305, 0.443831205368042, -0.7601932883262634, 0.12669126689434052, -0.5030678510665894, -0.44183555245399475, -0.014543336816132069, 0.13325734436511993, -0.47744107246398926, -0.4808293879032135, -0.44432303309440613, -0.011347276158630848, 0.16781176626682281, 0.9292439222335815, -0.18038809299468994, 0.5201255679130554, -0.8990280032157898, -0.021512437611818314, 0.12662355601787567, 0.21167339384555817, 0.1752457320690155, -0.3963853716850281, -0.6964182257652283, 0.19037607312202454, -0.03770671412348747, -0.7369695901870728, 0.35644590854644775, 0.3188597559928894, 0.7663838267326355, 0.42075732350349426, -0.40326741337776184, 0.504267156124115, -0.8881456255912781, 0.9686607718467712, 0.2495994120836258, -0.7850959300994873, 0.41141146421432495, -0.031412575393915176, 0.10683975368738174, 0.15856584906578064, 0.6425585150718689, -0.6524905562400818, -0.49677175283432007, -0.46226051449775696, -0.3910328149795532, 0.5344810485839844, 0.2106258124113083, 0.4227110743522644, -0.12335684895515442, 0.48983240127563477, 0.467752605676651, 0.045174967497587204, -0.5339860320091248, -0.36066240072250366, -0.11846797913312912, -0.36036327481269836, -0.23435169458389282, -0.5196222066879272, -0.13603118062019348, -0.12268567085266113, 0.19659081101417542, -0.10825271904468536, 0.8996725678443909, 0.16865196824073792, -0.2545015513896942, 0.38531678915023804, 0.04464155435562134, 0.5722871422767639, 0.55833500623703, -0.3110904097557068, 0.36719444394111633, 0.10517704486846924, -0.4178459346294403, 0.02273310162127018, -0.13452309370040894, 0.1585715115070343, 0.49898651242256165, 0.4982392191886902, 1.05299711227417, 0.010210697539150715, -0.18872283399105072, 0.25454992055892944, -0.14131125807762146, -0.22425003349781036, -0.2019687443971634, -0.1316339522600174, 0.04961618781089783, 0.38594233989715576, 0.3678402900695801, 0.13752244412899017, 0.06516111642122269, -0.4620610773563385, 0.21145707368850708, 0.43705418705940247, -0.40986794233322144, -0.7972604036331177, 0.36941853165626526, 0.05384640395641327, -0.24012425541877747, 0.5485864877700806, 0.03453318774700165, -0.624159038066864, 0.6611824035644531, 0.5662077069282532, 0.8634228110313416, -0.10438834130764008, 0.2539966106414795, 0.5220862030982971, 0.3331751227378845, 0.12529055774211884, 0.21905477344989777, -0.19306743144989014, -1.027030348777771, -0.28189781308174133, -0.666267991065979, -0.16326914727687836, -0.017425334081053734, -0.93958580493927, -0.0004597267252393067, -0.6075926423072815, -0.45237621665000916, 0.2409873753786087, -0.29860201478004456, -0.8428109288215637, 0.06384438276290894, 0.7145228981971741, 0.8540802597999573, -0.9074883460998535, 0.7832549214363098, 0.612474799156189, -0.2501210868358612, -0.41741839051246643, -0.1965627670288086, -0.018423939123749733, -0.9308339357376099, 0.7759491801261902, 0.016567014157772064, 0.05382185056805611, -0.07270586490631104, -0.513923168182373, -1.0154753923416138, 0.7743085622787476, 0.6796026825904846, -0.5388619303703308, -0.07700364291667938, 0.34462839365005493, 0.49781590700149536, -0.8123929500579834, 0.22965440154075623, 0.7268217206001282, 0.07829047739505768, -0.3538689613342285, -0.7972030639648438, -0.32632550597190857, -0.049301207065582275, 0.39307889342308044, 0.1633038967847824, -0.4137980043888092, 0.7039923071861267, -0.1112835556268692, -0.136141836643219, 0.11458621919155121, 0.5737190246582031, -0.04956059902906418, -0.266284704208374, 0.24738091230392456, 0.3939496874809265, 0.8520151376724243, -0.2855150103569031, 0.9480263590812683, -0.1784074604511261, 0.5866991877555847, 0.9465753436088562, 0.1323431432247162, 1.09860360622406, 0.44351598620414734, -0.33859193325042725, 0.7254750728607178, 0.7880741357803345, -0.0281040221452713, 0.640607476234436, 0.04355679824948311, 0.031612593680620193, -0.20919765532016754, 0.022113125771284103, -0.20484896004199982, 0.6849775314331055, 0.5993993282318115, -0.5223369002342224, -0.18597081303596497, 0.167816162109375, -0.1277601569890976, -0.008987657725811005, -0.32259225845336914, 0.889058530330658, 0.10770604014396667, -0.24654264748096466, 0.7572251558303833, -0.21686764061450958, 0.5869700908660889, -0.6993069648742676, -0.0019184380071237683, -0.15982049703598022, 0.14095166325569153, -0.12236665189266205, -0.7356818914413452, 0.19894076883792877, 0.02904524654150009, -0.41314631700515747, -0.06413695216178894, 0.3412063717842102, -0.43482524156570435, -0.5347499847412109, 0.49210020899772644, 0.4478447735309601, 0.47173604369163513, 0.26345932483673096, -0.7543455958366394, -0.1482999622821808, -0.15382535755634308, -0.13240671157836914, 0.2374262660741806, 0.6268208622932434, 0.04360028728842735, 0.40153536200523376, 0.5211268663406372, 0.3664360046386719, 0.46422263979911804, 0.31353431940078735, 0.5077178478240967, -0.7843426465988159, -0.46536028385162354, -0.9518508911132812, 0.7341039180755615, -0.10225731879472733, -0.08587311208248138, 0.3361718952655792, 0.2591775357723236, 1.1323612928390503, -0.22276261448860168, 0.6683574914932251, 0.16213874518871307, 0.2551923394203186, -0.6790454983711243, 0.7081491351127625, -0.548474907875061, 0.03475498408079147, 0.2718811631202698, -1.0920095443725586, -0.5753433108329773, 0.44338706135749817, -0.2548530101776123, 0.09256908297538757, 0.9061504602432251, 0.5755751729011536, -0.060909755527973175, -0.2090013176202774, 0.6033379435539246, 0.2730374336242676, 0.07050969451665878, 0.5100858211517334, 0.8995757699012756, -0.25180181860923767, 0.19031399488449097, -0.33875223994255066, -0.3483958840370178, -0.16164752840995789, -0.5448567271232605, -0.8890143632888794, -0.8584086298942566, -0.08456072956323624, 0.2143062949180603, -0.09461922198534012, 0.8501939177513123, 1.015974998474121, -0.8596894145011902, -0.5062327980995178, 0.2741924226284027, -0.04561612755060196, -0.623013973236084, -0.10569263994693756, 0.3222203850746155, -0.7946149110794067, -0.6915951371192932, 0.10765399783849716, 0.4745650589466095, -0.1418394297361374, -0.6744122505187988, 0.022854061797261238, -0.20585016906261444, 0.09626618772745132, 0.6662187576293945, -0.026038752868771553, -0.7978171706199646, -0.4090627431869507, 0.08051618933677673, -0.1118600070476532, 0.4836830198764801, 0.8859347105026245, -0.5783014893531799, 0.4312824606895447, 0.3881022334098816, 0.7502787709236145, 0.29142311215400696, -0.508169412612915, 0.5798117518424988, -1.0380921363830566, 0.31814271211624146, 0.34718814492225647, 0.8084668517112732, 0.3551566004753113, -0.42706188559532166, 0.16949054598808289, 0.13427981734275818, -0.3607231080532074, -0.6770671010017395, 0.3194972574710846, -0.808107852935791, -0.18977439403533936, 0.7548344731330872, -0.3921082615852356, -0.6550297141075134, 0.1279028356075287, 0.015343655832111835, 0.09745008498430252, -0.14593593776226044, 0.7455520629882812, 0.8996775150299072, -0.12528643012046814, -0.2703094184398651, -0.5107859969139099, 0.16830424964427948, 0.4440520107746124, -0.39170974493026733, 0.1450210064649582, 0.3223189115524292, 0.26886701583862305, 0.4024523198604584, 0.21462398767471313, -0.407027930021286, 0.26280027627944946, 0.13708265125751495, 0.14862778782844543, 0.20950083434581757, -0.5090364813804626, -0.521462619304657, 0.11940214782953262, 0.18734368681907654, -0.7352984547615051 ]
http://arxiv.org/abs/2402.11597v2
http://arxiv.org/pdf/2402.11597v2
Multi-Task Inference: Can Large Language Models Follow Multiple Instructions at Once?
2024-02-18T14:25:19
2024-06-06T12:55:17
Guijin Son, Sangwon Baek, Sangdae Nam, Ilgyun Jeong, Seungone Kim
cs.CL
cs.CL
Large language models (LLMs) are typically prompted to follow a single instruction per inference call. In this work, we analyze whether LLMs also hold the capability to handle multiple instructions simultaneously, denoted as Multi-Task Inference. For this purpose, we introduce the MTI Bench(Multi-Task Inference Benchmark), a comprehensive evaluation benchmark encompassing 5,000 instances across 25 tasks. Each task in the MTI Bench involves 2 to 3 sub-tasks. As expected, we first demonstrate that Multi-Task Inference reduces the total inference time by 1.46 times in average since it does not require multiple inference calls. Interestingly, contrary to the expectation that LLMs would perform better when tasks are divided, we find that state-of-the-art LLMs, such as Llama-2-Chat-70B and GPT-4, show up to 7.3% and 12.4% improved performance with Multi-Task Inference compared to Single-Task Inference on the MTI Bench. We release the MTI Bench dataset and our code at this link https://github.com/guijinSON/MTI-Bench.
[ -0.21936285495758057, -0.8599183559417725, 0.813197672367096, 0.5257811546325684, -0.08306775987148285, -0.08746606111526489, -0.31752121448516846, -0.3355511426925659, -0.262418657541275, 0.6366954445838928, -0.8430293202400208, -0.38283273577690125, -0.7145218253135681, 0.04417373612523079, -0.3523392081260681, 0.5294313430786133, -0.00007162093970691785, 0.27600112557411194, -0.2638632655143738, -0.24532830715179443, -0.6241841912269592, -0.2979905605316162, -0.6932083368301392, -0.31643497943878174, 0.6307980418205261, 0.3759109079837799, 0.27807536721229553, 0.7601678371429443, 0.33953988552093506, 0.3581787049770355, 0.20683959126472473, 0.3122556507587433, -0.212027445435524, 0.07959043234586716, 0.25006812810897827, -0.7759515047073364, -0.4010912775993347, 0.08842330425977707, 0.6814165711402893, 0.6730334758758545, -0.10577327758073807, 0.32937243580818176, 0.05954812094569206, 0.6451298594474792, -0.8154998421669006, 0.09546327590942383, -0.3619877099990845, -0.17309682071208954, -0.41672247648239136, 0.0021007293835282326, -0.7776941061019897, -0.027709484100341797, -0.028582526370882988, -0.4047646224498749, -0.08285696804523468, 0.1352638453245163, 0.31700649857521057, 0.35713696479797363, -0.6937714219093323, 0.024240145459771156, -0.5350279808044434, 1.2404916286468506, -0.8617097735404968, 0.39644962549209595, 0.2351032942533493, 0.34083831310272217, -0.1402295082807541, -0.6523622870445251, -0.5509519577026367, -0.19005005061626434, -0.004542605020105839, 0.052429139614105225, -0.09893651306629181, -0.0014300234615802765, 0.5551080107688904, -0.11095546931028366, -0.4474181830883026, 0.1977585256099701, -0.05278313159942627, 0.24014081060886383, 0.3244453966617584, 0.2592296302318573, 0.04435642808675766, -0.04598970711231232, -0.31810012459754944, -0.09542670100927353, -0.7649401426315308, -0.20192326605319977, 0.31341055035591125, 0.18329623341560364, -0.13792769610881805, 0.5211936235427856, -0.17703112959861755, 0.6654926538467407, -0.30460479855537415, -0.4521121382713318, 0.40281441807746887, -0.4108913540840149, -0.34073328971862793, -0.25341278314590454, 1.054425597190857, 0.3894796371459961, 0.139193594455719, -0.16571791470050812, -0.03141128644347191, 0.008019202388823032, 0.30686914920806885, -0.7533019781112671, 0.13054335117340088, 0.46416786313056946, -0.6037452816963196, 0.1637340933084488, -0.1476738601922989, -0.6929465532302856, -0.35052651166915894, -0.4247085452079773, 0.21408596634864807, -0.4661671221256256, -0.15718123316764832, -0.025354456156492233, -0.17924748361110687, 0.14896996319293976, 0.3117982745170593, -0.6045658588409424, 0.4728468954563141, 0.8490288257598877, 0.802241861820221, -0.2759649455547333, -0.6721654534339905, -0.7621868252754211, 0.3045208156108856, -0.222997784614563, 0.915329098701477, -0.7339409589767456, -0.2785743176937103, -0.2584163248538971, 0.008100365288555622, -0.5461152791976929, -0.4559434950351715, 0.4455898404121399, -0.2917559742927551, -0.026657860726118088, -0.43388786911964417, -0.4583646059036255, -0.22531239688396454, 0.17353853583335876, -0.8105760216712952, 1.0853832960128784, -0.3270818591117859, -0.6833109259605408, 0.11171643435955048, -0.7085238099098206, -0.6177883148193359, -0.4434153735637665, 0.009409424848854542, -0.1724441647529602, 0.2176857739686966, 0.32057350873947144, 0.3662499785423279, -0.6964417695999146, 0.012307374738156796, -0.769650936126709, -0.39066872000694275, 0.40791866183280945, -0.6496865749359131, 0.6138643026351929, 0.1239132359623909, -0.4229925274848938, 0.328143835067749, -0.6331151723861694, 0.15545812249183655, -0.07900508493185043, -0.36329734325408936, -0.1701456755399704, 0.4141433835029602, -0.07184981554746628, 0.1678851842880249, -0.04031664505600929, -0.6216210722923279, 0.22644709050655365, 0.19681625068187714, 0.4659375250339508, 0.7948001623153687, -0.23511140048503876, 0.09998471289873123, -0.3907715380191803, 0.30061179399490356, -0.05325927212834358, 0.08967720717191696, -0.15861165523529053, -0.46303921937942505, -0.7382427453994751, -0.5616881251335144, 0.17900997400283813, 0.8043910264968872, -0.5891838669776917, -0.08713240176439285, -0.25889989733695984, -0.28755342960357666, -0.565177857875824, 0.10521729290485382, 0.6860378980636597, -0.0005927053280174732, 0.3209827244281769, -0.007458276581019163, -0.4494266211986542, -0.99493807554245, -0.3745741844177246, 0.11460767686367035, -0.16619855165481567, 0.29910656809806824, 0.550530731678009, 0.03914661705493927, 0.35351669788360596, -0.24728769063949585, 0.03289250656962395, -0.3014759421348572, 0.4450379014015198, 0.295224666595459, 0.4592300355434418, 0.5400529503822327, -0.5063145160675049, -0.4966658055782318, -0.23809629678726196, -0.6898083686828613, -0.2803259789943695, -0.20452983677387238, -0.3008473217487335, 0.13805334270000458, 0.3496204614639282, -0.7495397329330444, 0.27690887451171875, 0.7439987063407898, 0.1777758151292801, 0.5986684560775757, -0.3555060923099518, 0.5917007923126221, -1.136014461517334, -0.07596248388290405, 0.11724762618541718, -0.12823694944381714, -0.7676518559455872, 0.10438131541013718, 0.1992294043302536, 0.45729243755340576, -0.3770584166049957, 0.3811258375644684, -0.7776643633842468, -0.20355921983718872, -0.48407506942749023, 0.03947139158844948, -0.14164267480373383, 0.5652793645858765, -0.1732122153043747, 0.8896626830101013, 0.8141894340515137, -0.5378820896148682, 0.18910175561904907, -0.057869911193847656, -0.4457450211048126, 0.32837074995040894, -0.6607216000556946, 0.40262970328330994, -0.019899988546967506, 0.31844577193260193, -1.2878886461257935, -0.019351376220583916, 0.12880074977874756, -0.012741143815219402, 0.3017489016056061, -0.1248590499162674, -0.9423037767410278, -0.4726749658584595, -0.3486764430999756, 0.2515975534915924, 0.16404414176940918, -0.48198920488357544, 0.8596606850624084, 0.3388446271419525, -0.07591109722852707, -0.9084233045578003, -0.9600666165351868, -0.025059962645173073, -0.1581750065088272, -0.37476789951324463, 0.149709090590477, -0.19044266641139984, -0.3191004693508148, -0.0404529795050621, -0.2574642300605774, -0.19013796746730804, 0.12984465062618256, 0.6489110589027405, 0.21744167804718018, -0.24556681513786316, 0.05181685462594032, 0.04386176913976669, 0.04531421139836311, 0.06832806766033173, -0.20483918488025665, 0.550880491733551, 0.05346289649605751, -0.8094683289527893, -0.8194873929023743, 0.5983306169509888, 0.7831812500953674, -0.3536126911640167, 0.8845478892326355, 0.379054993391037, -0.22973504662513733, 0.07677486538887024, -1.0528432130813599, 0.04485466331243515, -0.35538560152053833, 0.15887407958507538, -0.9888043403625488, -0.644068717956543, 0.4976988434791565, -0.18137642741203308, 0.40919744968414307, 0.341475248336792, 0.6119861006736755, 0.037308793514966965, 1.1832619905471802, 0.31904879212379456, -0.3264251947402954, 0.4389992952346802, -0.10292848199605942, -0.0482996329665184, -0.9551761746406555, 0.09707894176244736, -0.8161476254463196, -0.36531925201416016, -0.4631158113479614, -0.6702587008476257, 0.16989246010780334, 0.0016817578580230474, -0.044031981378793716, 0.3086186647415161, -0.07861088216304779, 0.5425959825515747, 0.8514477014541626, 0.3141767382621765, 0.26337313652038574, -0.12423402070999146, -0.13334296643733978, 0.2562015950679779, -0.6019749045372009, -0.5461156368255615, 1.353941559791565, 0.12971043586730957, 0.6339626908302307, 0.20093850791454315, 0.5046654343605042, 0.03902610018849373, 0.724742591381073, -0.3868173360824585, 0.6129141449928284, -0.4193442761898041, -0.7261695861816406, -0.23006460070610046, -0.6179242730140686, -0.7945271730422974, 0.6643064618110657, -0.13198763132095337, -0.9838919043540955, -0.25134894251823425, -0.09005258977413177, -0.18020814657211304, 0.38749369978904724, -1.0990564823150635, 1.0432385206222534, -0.29884999990463257, -0.4276215136051178, -0.7620981931686401, -0.5401076674461365, 0.6574811339378357, -0.2003055363893509, 0.42909520864486694, -0.42601510882377625, -0.004357613157480955, 0.6049210429191589, -0.21771222352981567, 0.833091676235199, -0.1904049515724182, 0.28535589575767517, 0.303641140460968, -0.2976313531398773, 0.38478243350982666, -0.21752306818962097, -0.36456239223480225, 0.07244884967803955, 0.23526132106781006, -0.46858125925064087, -0.49167102575302124, 0.8121429681777954, -0.5279243588447571, -0.6119421720504761, -0.12737511098384857, -0.7877576947212219, -0.2943335771560669, 0.2190309762954712, -0.20822790265083313, 0.6336448788642883, -0.08619586378335953, 0.05564684420824051, 0.3420620858669281, -0.1292678415775299, 0.6309117078781128, 0.5196355581283569, 0.142739400267601, -0.22707219421863556, 0.5190551280975342, 0.017198612913489342, 0.3930715322494507, 0.610321044921875, 0.11117222905158997, -0.4066043496131897, -0.7178858518600464, -0.5898967385292053, 0.46881577372550964, -0.5776316523551941, 0.1842503845691681, -0.7692626118659973, 0.38689693808555603, -0.42467260360717773, 0.5194411277770996, -0.3262186348438263, -0.170172318816185, 0.09183092415332794, 0.23418770730495453, 0.07991314679384232, 0.8309717178344727, 0.23748396337032318, 0.4849313497543335, -1.1092661619186401, 0.4896518886089325, 0.24214765429496765, 0.3424261510372162, 0.055950894951820374, -0.37731701135635376, 0.009357564151287079, 0.09293054789304733, -0.0990157201886177, -0.9030565023422241, 0.010980726219713688, 0.15871794521808624, 0.9677602648735046, 0.29726579785346985, 0.020809482783079147, 1.00699782371521, -0.9651333093643188, 0.4680274724960327, 0.23871365189552307, -0.8175550699234009, 0.08537917584180832, -0.02990829013288021, 0.7463923096656799, 0.4235256314277649, 0.3325826823711395, -0.47627413272857666, -0.6245442032814026, -0.13981184363365173, -0.4358275234699249, 0.8762942552566528, -0.0725613608956337, 0.018717098981142044, -0.14119118452072144, 0.11831338703632355, 0.1900392472743988, 0.30057257413864136, -0.4584790766239166, -0.4926517903804779, 0.262990266084671, -0.09125970304012299, -0.07593302428722382, -0.5295575857162476, -0.3302536904811859, 0.10457038134336472, 0.5909860134124756, -0.19128866493701935, 0.4755017161369324, -0.27851033210754395, -0.23183530569076538, 0.07290034741163254, 0.5307121872901917, 0.8044158220291138, 0.9073911905288696, -0.015118739567697048, 0.2912522256374359, 0.4090239703655243, -0.1065802350640297, -0.10551510751247406, 0.3498026430606842, 0.4258067309856415, -0.09005093574523926, 0.5826218128204346, 1.042143702507019, 0.3379038870334625, -0.6984623074531555, 0.32756173610687256, -0.24109451472759247, -0.2907356321811676, 0.013762861490249634, -0.019686751067638397, 0.38688868284225464, 0.5854531526565552, 0.37836986780166626, 0.0003499484446365386, 0.02230316586792469, -0.5587432980537415, 0.11624709516763687, 0.5124374032020569, 0.16724829375743866, -0.08177884668111801, 0.7287280559539795, -0.006592406891286373, -0.07856643199920654, 0.52092045545578, -0.04157692939043045, -0.3323318660259247, 0.5135027766227722, 0.3462800681591034, 0.6762457489967346, -0.271246999502182, -0.01712031662464142, 0.23810651898384094, 0.3308783769607544, -0.44218194484710693, 0.2624216675758362, -0.03636956214904785, -0.5287729501724243, -1.0126183032989502, -0.3723098933696747, -0.5151851773262024, 0.10178613662719727, -0.5713536739349365, -0.25143441557884216, -0.09594201296567917, -0.23267684876918793, 0.40411272644996643, -0.2081710547208786, -0.4991721212863922, -0.07194700092077255, 0.2135883867740631, 0.8365907073020935, -0.6479475498199463, 1.127462387084961, 0.6209166646003723, 0.10220634937286377, -0.5683016777038574, -0.14254900813102722, 0.3812248408794403, -0.6242857575416565, 0.5451561212539673, 0.5259032845497131, -0.2918723523616791, -0.19019362330436707, -0.32651394605636597, -0.6748946905136108, 0.8684250116348267, 0.4189518094062805, -0.6421091556549072, 0.16629010438919067, 0.16703945398330688, 0.2965938448905945, -0.4055687189102173, 0.6419238448143005, 0.7542522549629211, 0.5883351564407349, -0.0834006518125534, -1.0916857719421387, 0.08812963962554932, -0.18557386100292206, -0.038195088505744934, 0.3363009989261627, -0.5829963088035583, 0.900262176990509, -0.2502356469631195, -0.22937282919883728, 0.26871129870414734, 0.5271626710891724, 0.4117429256439209, 0.24067652225494385, 0.8443742394447327, 0.6550617218017578, 0.6261707544326782, -0.1554139405488968, 1.3672672510147095, -0.47909867763519287, 0.09114215523004532, 1.3526248931884766, -0.48069000244140625, 1.0457005500793457, 0.5224170684814453, -0.30723586678504944, 0.36196476221084595, 0.5421003103256226, 0.09620633721351624, 0.26574352383613586, 0.12287016957998276, -0.36927682161331177, -0.4164797067642212, -0.013913145288825035, -0.10043203830718994, 0.23553812503814697, 0.1945439577102661, -0.07096081972122192, -0.14923013746738434, 0.16105060279369354, -0.06450247764587402, -0.3460608124732971, 0.006401605438441038, 0.5714884996414185, -0.033280644565820694, -0.9820169806480408, 0.40755754709243774, 0.003066458972170949, 0.40845102071762085, -0.6727914214134216, -0.07357379049062729, -0.0075391256250441074, 0.3365528881549835, 0.05885319411754608, -0.7233439683914185, -0.01034585852175951, 0.020206084474921227, -0.23375608026981354, -0.4066145718097687, 0.468042254447937, -0.4679260551929474, -0.3384939730167389, 0.4449109137058258, 0.7456528544425964, 0.33443164825439453, -0.3564346432685852, -0.723968505859375, 0.2599988579750061, -0.037287335842847824, -0.5969892740249634, 0.4040452241897583, 0.44691571593284607, -0.07874640077352524, 0.9619436264038086, 0.6712688207626343, -0.17743849754333496, 0.48601454496383667, 0.49909576773643494, 0.6822326183319092, -0.4229016602039337, 0.04232149198651314, -0.918712854385376, 0.3855661153793335, -0.12677277624607086, -0.13683156669139862, 0.7717048525810242, 0.5656830072402954, 0.5744117498397827, -0.21056333184242249, 0.7296544909477234, -0.0694279745221138, 0.6704024076461792, -0.695741593837738, 0.24150115251541138, -0.6761618256568909, 0.1990894079208374, -0.022230377420783043, -0.8119658827781677, -0.20808076858520508, 0.18751345574855804, -0.40028175711631775, 0.07162711769342422, 1.1954219341278076, 0.7736581563949585, 0.01256132684648037, 0.05779392644762993, 0.1236644834280014, 0.017415672540664673, 0.08077321946620941, 0.6798105239868164, 0.7270862460136414, -0.29153308272361755, 0.6243104338645935, -0.3120907247066498, -0.1607029139995575, 0.07282704859972, -0.7132664322853088, -0.9941583275794983, -0.1802840679883957, -0.2677393853664398, -0.0831257775425911, 0.07177309691905975, 0.7194348573684692, 0.9309588074684143, -0.93181312084198, -0.6320483684539795, 0.12915000319480896, 0.09200190752744675, -0.8035018444061279, -0.10604662448167801, 0.23082101345062256, -0.3936555087566376, -1.1643294095993042, 0.7670298218727112, 0.23586253821849823, -0.38070008158683777, 0.14651493728160858, 0.04735122248530388, -0.6246451735496521, -0.0348331481218338, 0.618094801902771, -0.10794216394424438, -0.9522526264190674, -0.32097360491752625, 0.0070400545373559, -0.34734582901000977, 0.08403930813074112, 1.036674976348877, -0.21482034027576447, 0.33522647619247437, 0.42051148414611816, 0.8115931153297424, 0.8518810272216797, -0.03943665325641632, 0.5236421227455139, -0.5987067222595215, 0.05177483707666397, -0.44576722383499146, 0.5083237886428833, 0.010683447122573853, 0.19625695049762726, 0.515971839427948, 0.1692255139350891, -0.4744786322116852, -0.659487247467041, 0.10418561846017838, -1.0543079376220703, -0.5317133665084839, 1.0810084342956543, -0.24723170697689056, -0.3097034692764282, 0.10190833359956741, -0.06965560466051102, 0.33817726373672485, -0.3486912250518799, 0.2953886389732361, 0.9059312343597412, -0.31908175349235535, -0.7599862217903137, -1.2863694429397583, -0.1705777496099472, 0.5913004875183105, -1.0991865396499634, 0.19841374456882477, 0.5320252180099487, 0.337823748588562, 0.0967189222574234, 0.5093638896942139, 0.2508825361728668, 0.10591393709182739, 0.1833832859992981, 0.09678307920694351, -0.10293285548686981, -0.3297140896320343, 0.04718298837542534, 0.3151363134384155, -0.08097048103809357, -0.6301522254943848 ]
http://arxiv.org/abs/2402.11592v3
http://arxiv.org/pdf/2402.11592v3
Revisiting Zeroth-Order Optimization for Memory-Efficient LLM Fine-Tuning: A Benchmark
2024-02-18T14:08:48
2024-05-28T03:27:06
Yihua Zhang, Pingzhi Li, Junyuan Hong, Jiaxiang Li, Yimeng Zhang, Wenqing Zheng, Pin-Yu Chen, Jason D. Lee, Wotao Yin, Mingyi Hong, Zhangyang Wang, Sijia Liu, Tianlong Chen
cs.LG
cs.LG, cs.CL
In the evolving landscape of natural language processing (NLP), fine-tuning pre-trained Large Language Models (LLMs) with first-order (FO) optimizers like SGD and Adam has become standard. Yet, as LLMs grow {in size}, the substantial memory overhead from back-propagation (BP) for FO gradient computation presents a significant challenge. Addressing this issue is crucial, especially for applications like on-device training where memory efficiency is paramount. This paper proposes a shift towards BP-free, zeroth-order (ZO) optimization as a solution for reducing memory costs during LLM fine-tuning, building on the initial concept introduced by MeZO. Unlike traditional ZO-SGD methods, our work expands the exploration to a wider array of ZO optimization techniques, through a comprehensive, first-of-its-kind benchmarking study across five LLM families (Roberta, OPT, LLaMA, Vicuna, Mistral), three task complexities, and five fine-tuning schemes. Our study unveils previously overlooked optimization principles, highlighting the importance of task alignment, the role of the forward gradient method, and the balance between algorithm complexity and fine-tuning performance. We further introduce novel enhancements to ZO optimization, including block-wise descent, hybrid training, and gradient sparsity. Our study offers a promising direction for achieving further memory-efficient LLM fine-tuning. Codes to reproduce all our experiments are at https://github.com/ZO-Bench/ZO-LLM .
[ -0.44152089953422546, -0.5404372215270996, 0.38927993178367615, 0.09520505368709564, -0.4697168171405792, -0.08275977522134781, -0.3631385564804077, -0.4941079914569855, -0.1333804428577423, 0.48436644673347473, -0.7451045513153076, -0.6473867893218994, -0.49953046441078186, -0.17546875774860382, -0.004596886690706015, 0.8697721362113953, 0.03133668377995491, -0.03622346743941307, 0.003469194285571575, -0.38895508646965027, -0.2986963391304016, -0.4419708549976349, -0.7417530417442322, -0.3529881238937378, 0.7748469710350037, 0.47126859426498413, 0.47930604219436646, 0.9270949959754944, 0.2631646394729614, 0.18665370345115662, -0.19559112191200256, 0.3204445242881775, -0.707662045955658, 0.10845687240362167, -0.03414019197225571, -0.34030455350875854, -0.6156392097473145, -0.18604764342308044, 0.46640685200691223, 0.7909529805183411, -0.13592609763145447, 0.21461330354213715, -0.10154709964990616, 0.9291170239448547, -1.0501164197921753, -0.1289580911397934, -0.7609111666679382, 0.21725386381149292, -0.16740763187408447, -0.3020870089530945, -0.2761306166648865, -0.303711473941803, 0.0040092249400913715, -0.5345730781555176, 0.45073145627975464, 0.027051473036408424, 0.6366931796073914, 0.4871106445789337, 0.27305659651756287, 0.09728860855102539, -0.892028272151947, 1.0142098665237427, -0.7468866109848022, 0.676967442035675, -0.06477770954370499, -0.01354721374809742, -0.20259913802146912, -0.45849111676216125, -0.48405760526657104, -0.004512053914368153, 0.5728116035461426, 0.1269959658384323, -0.16475723683834076, 0.37213775515556335, 0.10040391236543655, 0.590567946434021, -0.5105538964271545, 0.39224323630332947, -0.07939746975898743, 0.09001966565847397, 0.4895309805870056, 0.09826995432376862, -0.03601089492440224, 0.46032392978668213, -0.3829338252544403, -0.05670042708516121, -0.715549886226654, -0.033677056431770325, 0.12892787158489227, 0.42935898900032043, 0.2822047472000122, 0.3206189274787903, -0.5751764178276062, 0.7802699208259583, 0.06450874358415604, 0.006633476819843054, 0.32501479983329773, -0.4898819327354431, -0.3500710725784302, 0.20567120611667633, 0.590419590473175, 0.5725274085998535, 0.28842973709106445, -0.5367226004600525, -0.32475465536117554, 0.04585905745625496, 0.40528762340545654, -1.0197699069976807, 0.10950621962547302, 0.23791153728961945, -0.21614712476730347, -0.048008669167757034, -0.3792557120323181, -0.6818975806236267, -0.13306017220020294, -0.19360223412513733, 0.25979843735694885, -0.2512495517730713, 0.035151004791259766, 0.40191391110420227, 0.26392486691474915, 0.20037852227687836, 0.38998091220855713, -1.187619924545288, 0.4883091151714325, 1.0420674085617065, 0.948367178440094, 0.004306010436266661, -0.3429788649082184, -0.6825353503227234, 0.016149884089827538, -0.5013250112533569, 0.4963344633579254, -0.25728610157966614, -0.3594631254673004, -0.11375288665294647, -0.457928866147995, -0.17910772562026978, -0.6552729606628418, 0.8285895586013794, -0.43127715587615967, -0.09703417122364044, -0.081479512155056, -0.4298427402973175, -0.12442038953304291, 0.12296569347381592, -0.1963905394077301, 0.9457289576530457, 0.10434989631175995, -0.24894055724143982, 0.22798386216163635, -0.3696693778038025, -0.42118966579437256, -0.24111303687095642, -0.039035614579916, -0.3987412750720978, 0.4402374029159546, -0.02453436329960823, 0.6860413551330566, -0.5646856427192688, -0.13698036968708038, -0.2792769968509674, -0.5483779311180115, -0.32438766956329346, -0.22204485535621643, 0.3978216052055359, 0.2440538853406906, -0.4148883819580078, 0.1939735859632492, -1.039171814918518, 0.2585877776145935, 0.05150432139635086, -0.1875040978193283, -0.3474276661872864, 0.21826747059822083, -0.3249891400337219, 0.16940799355506897, 0.24358460307121277, -0.7192500233650208, 0.08132811635732651, -0.7524062395095825, 0.3845334053039551, 0.5795847177505493, -0.14195455610752106, 0.6279484629631042, -0.21148400008678436, 0.16996613144874573, -0.2706250250339508, 0.4704798460006714, -0.04617169126868248, -0.35432159900665283, -0.7366731762886047, -0.07021584361791611, 0.02703714370727539, 0.5891729593276978, -0.36091148853302, 0.3751199543476105, -0.2793470025062561, -0.5401201844215393, -0.5122671723365784, 0.4357978105545044, 0.6920617818832397, 0.7250679135322571, 0.6848192811012268, -0.1642630398273468, -0.09916834533214569, -0.8109756112098694, -0.1959836184978485, 0.01631259359419346, -0.12232465296983719, 0.36636465787887573, -0.08588311076164246, -0.23942996561527252, 0.48430559039115906, -0.49477288126945496, -0.18113066256046295, -0.08652062714099884, 0.11150771379470825, 0.2626928389072418, 0.6025031805038452, 0.5918318629264832, -0.35363155603408813, -0.23739244043827057, 0.17674656212329865, -0.1937364786863327, -0.23655635118484497, -0.19892939925193787, -0.24574647843837738, 0.4588663578033447, 0.4234207570552826, -0.5528435707092285, 0.12183264642953873, 0.36142635345458984, 0.003102867631241679, 0.23077599704265594, -0.5059189796447754, -0.36648839712142944, -0.7247934341430664, -0.08024035394191742, -0.06948091834783554, 0.11516585201025009, -0.8671891689300537, 0.13708527386188507, 0.09618517756462097, 0.14845506846904755, -0.21436834335327148, 0.48833611607551575, -0.5573384761810303, -0.024671360850334167, -0.27502915263175964, 0.2189965397119522, -0.01618461310863495, 0.8149440288543701, -0.27904438972473145, 0.6180088520050049, 0.19113752245903015, -0.6849257946014404, -0.15436972677707672, -0.03575531020760536, -0.10675398260354996, 0.3395838141441345, -0.6034805178642273, 0.2860308587551117, -0.07811126857995987, -0.36557573080062866, -0.9882830381393433, 0.5525098443031311, 0.3812035024166107, -0.2504025995731354, 0.4721856117248535, -0.11085677891969681, -0.6283206343650818, -0.1116422638297081, -0.5378913283348083, 0.43067851662635803, 0.482957661151886, -0.4852387607097626, 0.330402672290802, 0.006239905022084713, -0.03762578219175339, -0.699941873550415, -0.4313906133174896, -0.1884630024433136, -0.042356640100479126, -0.4505864083766937, 0.729758620262146, -0.268002450466156, -0.11371418833732605, -0.36578676104545593, -0.6110705137252808, -0.03821219876408577, 0.39013734459877014, -0.06502610445022583, 0.1298467069864273, -0.4755346179008484, -0.0979667380452156, 0.26274770498275757, -0.1638469249010086, -0.07562121003866196, -0.45073601603507996, 0.6891937851905823, -0.13630500435829163, -0.044138357043266296, -0.36317455768585205, 0.004777106456458569, 0.4886147081851959, -0.1977037638425827, 0.6231843829154968, 0.4889477491378784, -0.24896878004074097, -0.4680168330669403, -0.6065043807029724, 0.06615833938121796, -0.4720667600631714, 0.2552729547023773, -0.16417032480239868, -0.759980320930481, 0.44620800018310547, -0.14994829893112183, 0.3487822115421295, 0.25213536620140076, 0.4871695339679718, 0.14392054080963135, 0.6313832998275757, 0.5207833051681519, -0.2790631651878357, 0.7145284414291382, -0.29242873191833496, 0.16535022854804993, -0.8679966330528259, 0.06995540857315063, -0.42438510060310364, -0.46305397152900696, -0.4868946969509125, -0.5234605073928833, -0.10772117227315903, 0.5380858778953552, -0.2371656447649002, 0.179676815867424, -0.48488810658454895, 0.6749531030654907, 0.49702975153923035, -0.09892666339874268, 0.3144872188568115, -0.06948566436767578, -0.15141478180885315, 0.18933850526809692, -0.6888766884803772, -0.19227805733680725, 1.0125021934509277, 0.09513429552316666, 0.3636564016342163, -0.2948128283023834, 0.9297289252281189, -0.0669015571475029, 0.06871259212493896, -0.7554414868354797, 0.6881109476089478, -0.4326637089252472, -0.06689281016588211, -0.42673373222351074, -0.27650782465934753, -1.013533353805542, 0.48428604006767273, -0.056035079061985016, -0.8297401666641235, 0.25460317730903625, 0.17160151898860931, -0.801692008972168, 0.3080693781375885, -0.6487955451011658, 0.839354395866394, -0.2761991322040558, -0.6758669018745422, -0.44622474908828735, -0.7401106953620911, 0.07772760093212128, 0.11586567759513855, -0.2637309730052948, -0.3685796856880188, -0.22703036665916443, 0.35647162795066833, -0.5485694408416748, 0.4215678870677948, -0.30668631196022034, -0.15470032393932343, 0.0059016053564846516, -0.02755500189960003, 0.3323744237422943, -0.14455683529376984, -0.19012418389320374, 0.3431926667690277, -0.19651873409748077, -0.3604118525981903, -0.5664985179901123, 0.8805069923400879, -0.6656720042228699, -0.4673423171043396, -0.08902650326490402, -0.43410059809684753, -0.29402342438697815, 0.4410817623138428, 0.003444510279223323, 0.5162511467933655, -0.12235008925199509, 0.13986794650554657, 0.7955242991447449, -0.20926150679588318, 0.6318592429161072, 0.35422617197036743, 0.09477805346250534, -0.46115121245384216, 1.0209647417068481, 0.3531826436519623, 0.37679556012153625, 0.6627328395843506, 0.18266524374485016, -0.11520332843065262, -1.3049620389938354, -0.6811752915382385, 0.25689366459846497, -0.24713446199893951, -0.19619102776050568, -0.42401203513145447, -0.007146912626922131, -0.06053495779633522, -0.19982615113258362, -0.7764269709587097, -0.512670636177063, -0.47624775767326355, 0.12327250093221664, 0.207709401845932, 0.1356954127550125, 0.1258244812488556, 0.40963470935821533, -0.7496033310890198, 0.45416924357414246, -0.09933169931173325, 0.7732753753662109, 0.14878351986408234, -0.14628632366657257, -0.27325788140296936, -0.02931303158402443, -0.2506157457828522, -0.2499745488166809, 0.22715482115745544, 0.2095939815044403, 0.5508797764778137, 0.5837734937667847, 0.19609805941581726, 0.8920238614082336, -0.8186119794845581, 0.3509086072444916, -0.013309398666024208, -0.7055748701095581, 0.3721517324447632, -0.39479902386665344, 0.10713682323694229, 0.8403274416923523, 0.11053528636693954, -0.46714693307876587, -0.003423514310270548, -0.49898362159729004, -1.19850754737854, 0.7210921049118042, 0.14213436841964722, 0.16526482999324799, 0.08100993186235428, 0.8107292652130127, 0.15363293886184692, 0.3605697751045227, -0.14999523758888245, -0.5685849189758301, -0.03885694593191147, -0.08361377567052841, -0.31641101837158203, -0.3159440755844116, 0.08211604505777359, -0.2478175014257431, 0.4777100384235382, -0.13617736101150513, 0.2476162314414978, 0.21638621389865875, -0.03577733412384987, -0.15958882868289948, 0.20606884360313416, 1.030163049697876, 0.5104315280914307, -0.4683011472225189, -0.26916396617889404, 0.049845140427351, -0.33201277256011963, -0.23374705016613007, 0.2527860701084137, -0.3215517997741699, -0.09665779024362564, -0.18779267370700836, 0.8259873390197754, 0.472302109003067, -0.5782076716423035, 0.25659608840942383, 0.08651810884475708, -0.22264042496681213, -0.07604905217885971, 0.4057619273662567, -0.043415848165750504, 0.5168291330337524, 0.3092043101787567, 0.12509232759475708, 0.11218465864658356, -0.25603118538856506, -0.030880894511938095, 0.6057156920433044, -0.07266681641340256, -0.31393709778785706, 0.7894994616508484, 0.03692351281642914, -0.5182890892028809, 0.39564239978790283, -0.18506520986557007, -0.12978875637054443, 0.3752893805503845, 0.3952600061893463, 1.052900791168213, -0.06357841193675995, -0.047737784683704376, 0.22813259065151215, 0.2471674680709839, -0.30085697770118713, 0.42719462513923645, -0.3757885992527008, -0.8795342445373535, -0.2986626923084259, -0.5860952734947205, -0.6097075343132019, 0.05719662085175514, -0.6055344343185425, -0.02561849169433117, -1.1727343797683716, 0.030377093702554703, -0.007025053258985281, 0.271944135427475, -0.30664560198783875, 0.14935699105262756, 0.3475113809108734, 0.8325560688972473, -0.06320090591907501, 0.9041751623153687, 0.15982699394226074, -0.02614676207304001, -0.24815040826797485, 0.11128521710634232, -0.31866905093193054, -0.8376944065093994, 0.28237903118133545, 0.19778291881084442, -0.5297167301177979, 0.2612629532814026, -0.22043393552303314, -0.7639955878257751, 1.1534656286239624, 0.47306206822395325, -0.7868828773498535, 0.053288526833057404, -0.005982786417007446, 0.7222620844841003, -0.2385610044002533, 0.01814611442387104, 0.41045141220092773, 0.07420419901609421, -0.028019435703754425, -0.6565492153167725, -0.0035622657742351294, -0.2049393355846405, 0.3478999435901642, 0.5058755874633789, -0.9688034653663635, 0.8653966784477234, -0.30052679777145386, -0.25908809900283813, 0.28645598888397217, 0.6688714623451233, 0.21391217410564423, 0.49350664019584656, 0.3435324430465698, 0.5923672914505005, 0.8083198070526123, -0.04350093752145767, 0.950867772102356, -0.6490939855575562, 0.17025528848171234, 1.1043020486831665, -0.41976600885391235, 0.9958746433258057, 0.7199570536613464, -0.00790828000754118, 0.23524929583072662, 0.5811682939529419, 0.04808652028441429, 0.6240983009338379, 0.4601297676563263, -0.18328842520713806, 0.10001915693283081, -0.02960512600839138, -0.30728450417518616, 0.008478897623717785, 0.12775486707687378, -0.06948758661746979, -0.29913008213043213, -0.416609525680542, -0.000859916559420526, 0.011905435472726822, -0.6159721612930298, 0.6316598653793335, -0.05884970352053642, -0.3209475576877594, 0.9986939430236816, 0.05009011551737785, 0.823823094367981, -0.49166324734687805, 0.20072850584983826, -0.46801355481147766, 0.605620265007019, 0.007524462882429361, -0.31376564502716064, 0.2686791718006134, -0.2264862209558487, -0.2520068287849426, -0.5294932723045349, 0.4155024588108063, -0.2441735714673996, -0.19933761656284332, 0.6348296403884888, 0.468289852142334, -0.08243954926729202, -0.21318891644477844, -0.5384014844894409, -0.1675807386636734, -0.15129688382148743, -0.4409997761249542, 0.5556175112724304, 0.3747728765010834, 0.060022156685590744, 0.6506311297416687, 0.7095015645027161, 0.14148320257663727, 0.39772096276283264, 0.18786156177520752, 0.6849477291107178, -0.6207311749458313, -0.303129643201828, -1.0437474250793457, -0.04917571321129799, 0.2017451971769333, -0.4689554274082184, 0.6409112811088562, 0.6517521142959595, 1.296042799949646, 0.05825164541602135, 0.2506345510482788, 0.35918480157852173, 0.3798964023590088, -0.6046227216720581, 0.5668841600418091, -0.7570005059242249, 0.17704355716705322, -0.3669048547744751, -0.8972037434577942, -0.6291646957397461, 0.5404648184776306, -0.15200096368789673, -0.07890009135007858, 0.38651636242866516, 0.768962025642395, 0.046566225588321686, 0.1696983128786087, 0.4456106722354889, 0.15652482211589813, -0.1157209724187851, 0.5833998918533325, 0.48472675681114197, -0.45065557956695557, 0.42857638001441956, -0.6588094830513, 0.08709641546010971, -0.16955575346946716, -0.7520950436592102, -0.6597198843955994, -0.16883699595928192, -0.19997116923332214, -0.06680367141962051, 0.3448035717010498, 1.1162294149398804, 0.393094539642334, -0.787474513053894, -0.3216145634651184, -0.47492825984954834, 0.1516106277704239, -0.37006744742393494, -0.08247147500514984, 0.09422560036182404, -0.4818451702594757, -0.835662305355072, 0.4470800459384918, 0.5762957334518433, -0.02078954130411148, 0.08477674424648285, -0.12474136054515839, -0.1949503868818283, -0.04682010039687157, 0.8162916898727417, 0.5507526993751526, -0.722637414932251, -0.0643300861120224, 0.15267308056354523, -0.025715496391057968, 0.48611167073249817, 0.7310537695884705, -0.5669430494308472, 0.24729804694652557, 0.48815006017684937, 1.1004093885421753, 0.4846072196960449, 0.011206066235899925, 0.49751704931259155, -0.6120918393135071, -0.017928369343280792, 0.2004196047782898, 0.1150401309132576, 0.03463148698210716, -0.35120412707328796, 0.7470160722732544, 0.2526788115501404, -0.37234610319137573, -0.9186278581619263, -0.051957931369543076, -1.162392497062683, -0.18775419890880585, 0.8739558458328247, 0.024157507345080376, -0.11364436149597168, 0.04657677933573723, -0.03378209099173546, 0.29170045256614685, -0.40594595670700073, 0.8296819925308228, 0.5128251314163208, -0.4481818675994873, -0.30375051498413086, -0.7244285941123962, 0.4406374394893646, 0.8171794414520264, -0.4788709282875061, 0.39159896969795227, 0.373675674200058, 0.08266306668519974, 0.051217466592788696, 0.6940842270851135, 0.09424231946468353, 0.12428175657987595, -0.31501680612564087, 0.029166122898459435, -0.20043058693408966, -0.46986931562423706, -0.5397557616233826, 0.1049175038933754, 0.04930810257792473, -0.47358205914497375 ]
http://arxiv.org/abs/2402.11577v1
http://arxiv.org/pdf/2402.11577v1
Extensible Embedding: A Flexible Multipler For LLM's Context Length
2024-02-18T12:50:19
2024-02-18T12:50:19
Ninglu Shao, Shitao Xiao, Zheng Liu, Peitian Zhang
cs.CL
cs.CL
Large language models (LLMs) call for extension of context to handle many critical applications. However, the existing approaches are prone to expensive costs and inferior quality of context extension. In this work, we propose Extensible Embedding, which realizes high-quality extension of LLM's context with strong flexibility and cost-effectiveness. Extensible embedding stand as an enhancement of typical token embedding, which represents the information for an extensible scope of context instead of a single token. By leveraging such compact input units of higher information density, the LLM can access to a vast scope of context even with a small context window. Extensible embedding is systematically optimized in architecture and training method, which leads to multiple advantages. 1) High flexibility of context extension, which flexibly supports ad-hoc extension of diverse context lengths. 2) Strong sample efficiency of training, which enables the embedding model to be learned in a cost-effective way. 3) Superior compatibility with the existing LLMs, where the extensible embedding can be seamlessly introduced as a plug-in component. Comprehensive evaluations on long-context language modeling and understanding tasks verify extensible embedding as an effective, efficient, flexible, and compatible method to extend the LLM's context.
[ -0.40520551800727844, -0.9125010967254639, 0.40379321575164795, 0.15693698823451996, -0.477336049079895, 0.08707280457019806, -0.7209231853485107, -0.530057430267334, 0.3011380732059479, 0.22570665180683136, -0.08541246503591537, -0.3422103524208069, -0.5068982839584351, -0.3608594834804535, -0.2087557017803192, 0.5491185188293457, -0.3566354811191559, -0.18934735655784607, -0.1323612630367279, -0.5440444946289062, -0.32104939222335815, -0.6047386527061462, -0.4164702594280243, -0.048914842307567596, 0.28836408257484436, 0.43133416771888733, 0.6186455488204956, 0.8326520323753357, 0.17046301066875458, 0.2697423994541168, -0.042350802570581436, 0.23668119311332703, -0.33146560192108154, 0.26661455631256104, -0.027456440031528473, -0.35601338744163513, -0.517605721950531, -0.16937297582626343, 0.7996978163719177, 0.6517643332481384, -0.15721404552459717, 0.002243595663458109, 0.2430601567029953, 0.4607197344303131, -0.6367915868759155, 0.19233985245227814, -0.43770626187324524, -0.0036911710631102324, 0.001239092438481748, -0.0519532673060894, -0.3145081698894501, -0.031117193400859833, 0.2732061743736267, -0.3920378088951111, -0.3475993275642395, -0.12838450074195862, 0.39080899953842163, 0.17831213772296906, -0.7347153425216675, -0.36656421422958374, -0.6497331261634827, 0.7028179168701172, -0.5413920283317566, 0.7033978700637817, 0.01144365407526493, 0.62880539894104, 0.03764711320400238, -0.6006950736045837, -0.4639677405357361, -0.08040142059326172, 0.19269083440303802, -0.09156844019889832, 0.18327449262142181, -0.10714750736951828, 0.1529843658208847, 0.4100278317928314, -0.3495360016822815, 0.08918245136737823, -0.10805962979793549, 0.016653966158628464, 0.13097620010375977, -0.06961841881275177, 0.14629432559013367, 0.20810288190841675, -0.5499780774116516, 0.017140120267868042, -0.9517769813537598, 0.1261344701051712, 0.34969356656074524, 0.30815157294273376, -0.2888118326663971, 0.5192530155181885, -0.04433416202664375, 0.6697095632553101, -0.3735765814781189, -0.11328449100255966, 0.35573098063468933, -0.42137962579727173, -0.21583090722560883, -0.2565724551677704, 0.2791455090045929, -0.026940075680613518, -0.16586652398109436, -0.036178138107061386, -0.15869858860969543, -0.2551170587539673, 0.014495104551315308, -0.829872727394104, 0.3785119652748108, 0.30975958704948425, -0.35366153717041016, 0.21798324584960938, 0.08512448519468307, -0.3972412645816803, -0.017606016248464584, -0.30750152468681335, 0.20075461268424988, -0.6790850162506104, -0.3674888610839844, 0.3161752223968506, 0.03644260764122009, 0.36817121505737305, 0.37976059317588806, -0.7812103629112244, 0.1268715113401413, 0.7156614065170288, 0.9227519631385803, -0.32451608777046204, -0.24348612129688263, -0.4580788314342499, 0.5717818737030029, 0.031119996681809425, 0.4921417236328125, -0.7461525797843933, -0.4219239056110382, 0.1916530430316925, 0.07265663146972656, 0.1732000857591629, -0.28013938665390015, 0.5095370411872864, -0.6108371019363403, 0.06455585360527039, 0.04833254590630531, -0.7993645071983337, -0.3193032443523407, 0.4394434094429016, -0.8298324942588806, 0.8700926303863525, 0.4243537485599518, -0.34906652569770813, 0.47644904255867004, -0.8086276054382324, -0.43801170587539673, 0.17374129593372345, -0.15145674347877502, -0.22037675976753235, 0.16968116164207458, 0.1816401183605194, 0.4677654504776001, -0.015803001821041107, 0.40757831931114197, -0.40235695242881775, -0.32638123631477356, 0.1262115240097046, -0.6489228010177612, 0.3591855764389038, 0.14283597469329834, -0.3662436902523041, 0.2125099152326584, -0.645570695400238, -0.034764889627695084, -0.09107395261526108, -0.9364672899246216, -0.4818982779979706, -0.17185255885124207, 0.35509684681892395, 0.26460662484169006, 0.3413977026939392, -0.5257798433303833, 0.2975347936153412, -0.5406036972999573, 0.4562227427959442, 0.619929313659668, -0.4546181261539459, 0.7633132934570312, -0.24552643299102783, 0.5091114044189453, -0.08752061426639557, 0.16200725734233856, -0.3798454701900482, -0.164948970079422, -0.7539905905723572, -0.7354307174682617, 0.17778022587299347, 0.1903553009033203, -0.5545603632926941, 0.6752232313156128, -0.6102313995361328, -0.2475956231355667, -0.2601902484893799, 0.11720863729715347, 0.22690269351005554, 0.07945803552865982, 0.39597398042678833, -0.10182791203260422, -0.6114853620529175, -0.8045304417610168, -0.2207951694726944, 0.14966623485088348, 0.2280362844467163, 0.46554914116859436, 0.4811643958091736, -0.4381824731826782, 1.0231549739837646, -0.3601084351539612, -0.22069396078586578, -0.4208377003669739, -0.47305360436439514, 0.29544684290885925, 0.5423295497894287, 0.24327822029590607, -0.8616992235183716, -0.5745746493339539, -0.043243058025836945, -0.45698797702789307, 0.49519211053848267, -0.032424744218587875, -0.005768612492829561, 0.27674245834350586, 0.5275787115097046, -0.4191281199455261, 0.17455177009105682, 0.7908024787902832, -0.23908185958862305, 0.4522014856338501, -0.4669763743877411, -0.2134152054786682, -1.2687749862670898, 0.012537327595055103, -0.47990620136260986, -0.7188074588775635, -0.5381143689155579, 0.3916401267051697, 0.39975178241729736, -0.045155271887779236, -0.580355703830719, 0.8519551753997803, -0.687045156955719, 0.06312067061662674, -0.354129433631897, 0.1676633507013321, 0.043562598526477814, 0.2886328101158142, -0.06886131316423416, 0.6000431776046753, 0.5386464595794678, -0.4350121319293976, 0.4857735335826874, 0.027064595371484756, -0.6432962417602539, 0.2702457010746002, -0.5397375822067261, 0.02693747542798519, -0.044874656945466995, 0.6016121506690979, -0.8782591223716736, -0.1396114081144333, -0.010231124237179756, -0.019421793520450592, 0.49156320095062256, -0.11866982281208038, -0.4616377353668213, -0.05407469719648361, -0.5806460976600647, 0.621343195438385, 0.333549439907074, -1.0016690492630005, 0.84958815574646, 0.4895319938659668, -0.16919676959514618, -0.5995529294013977, -0.7180318832397461, 0.1405004858970642, -0.35544905066490173, -0.513645589351654, 0.4818441867828369, -0.19754734635353088, 0.30476850271224976, 0.17055219411849976, 0.07066291570663452, 0.0705089122056961, -0.011628974229097366, 0.2418822944164276, 0.021688157692551613, -0.29563719034194946, 0.49571552872657776, 0.2657252252101898, -0.1977001279592514, -0.4097836911678314, -0.33155557513237, 0.7027356624603271, -0.29342684149742126, -0.763265073299408, -0.011393477208912373, 0.7957995533943176, 0.6501021981239319, -0.18474416434764862, 0.9470340013504028, 0.4074746072292328, -0.5153286457061768, -0.2811245918273926, -0.5901720523834229, 0.02942870371043682, -0.5176801681518555, 0.654446005821228, -0.6545170545578003, -1.5775784254074097, 0.4865957796573639, -0.3456052839756012, 0.04116518795490265, -0.037612587213516235, 0.5539510846138, 0.42416903376579285, 0.8173739314079285, 0.8048217296600342, -0.06163739413022995, 0.6081985831260681, -0.1531049907207489, 0.23145633935928345, -1.2259610891342163, -0.23664626479148865, -0.009991145692765713, -0.21919213235378265, -0.2840022146701813, -0.7731866836547852, 0.19221922755241394, 0.10910296440124512, -0.11015935242176056, 0.44282224774360657, -0.3257693648338318, 0.45243099331855774, 0.23861677944660187, 0.03868816792964935, 0.036373570561409, -0.0020470593590289354, -0.18562334775924683, 0.2910046875476837, -0.49711525440216064, -0.5567223429679871, 1.009213924407959, 0.780735194683075, 0.8128876090049744, 0.6670784950256348, 0.4482068717479706, -0.273281991481781, 0.19123323261737823, -1.0139957666397095, 0.25573256611824036, 0.00873034168034792, -0.5562108755111694, -0.6071135401725769, -0.0880221500992775, -0.6567058563232422, 0.4222477376461029, -0.014700458385050297, -0.7133716940879822, 0.1812012493610382, 0.026010708883404732, -0.2979913353919983, 0.3571512699127197, -0.5680648684501648, 0.4904566705226898, -0.24380722641944885, -0.3425418734550476, -0.26641255617141724, -0.2617637813091278, 0.02513359673321247, -0.3105156421661377, 0.25887352228164673, -0.004752439446747303, -0.6195282936096191, 0.6009473204612732, -0.3892501890659332, 0.7529499530792236, -0.22759735584259033, -0.24829430878162384, 0.13072243332862854, -0.22461961209774017, 0.7655923366546631, 0.361028254032135, -0.1986636370420456, -0.21327580511569977, -0.04273265227675438, -0.3130052387714386, -0.7301599979400635, 0.9236863851547241, -0.4353191554546356, -0.6601028442382812, -0.04185882955789566, -0.6830024123191833, -0.294096976518631, 0.18338210880756378, -0.1184256300330162, 0.6907943487167358, -0.27669408917427063, 0.6233764886856079, 0.37703701853752136, -0.3421720862388611, 0.5643230676651001, 0.4258521795272827, -0.15845419466495514, -0.3461604118347168, 0.7155672907829285, -0.01580396108329296, 0.21752189099788666, 0.5131362080574036, 0.30535411834716797, -0.6495017409324646, -0.4754543602466583, -0.2850033640861511, 0.03749547153711319, -0.9243003129959106, -0.08290889114141464, -0.8095866441726685, 0.008762247860431671, -0.4370926320552826, -0.3648725748062134, -0.5684565305709839, -0.6301149129867554, -0.16827625036239624, -0.33048346638679504, 0.35502105951309204, 0.3109199106693268, -0.026422683149576187, 0.44860202074050903, -0.6250320076942444, -0.14109310507774353, 0.3416062593460083, 0.6468158960342407, 0.24853408336639404, -0.568062961101532, -0.47757387161254883, -0.14137868583202362, -0.0030817973893135786, -0.46759137511253357, 0.2738185524940491, 0.5107821822166443, 0.6370766758918762, 0.6665905714035034, -0.10190699249505997, 0.6574624180793762, -0.7174267768859863, 0.5605759620666504, 0.2389490306377411, -1.0825903415679932, 0.11616373807191849, -0.12234047800302505, 0.40835040807724, 0.4872514307498932, 0.29370447993278503, -0.3296031653881073, -0.07374120503664017, -0.15564312040805817, -1.2321051359176636, 0.3171640932559967, -0.2667258381843567, 0.7004417181015015, -0.12034173309803009, 0.27939164638519287, 0.44144973158836365, -0.10534033179283142, -0.559924840927124, -0.1393759548664093, -0.09746367484331131, 0.01413598470389843, -0.18572334945201874, -0.569138765335083, -0.06550700217485428, -0.2969816327095032, 0.506111741065979, -0.4373117983341217, 0.4002474546432495, -0.03441205620765686, -0.3442319333553314, 0.38565659523010254, 0.5734080672264099, 0.6297561526298523, 0.8142812848091125, -0.11354658007621765, 0.5457871556282043, 0.49424266815185547, -0.14908520877361298, 0.25250443816185, -0.08452516794204712, 0.4874257743358612, -0.1245667040348053, 0.36124420166015625, 0.9179884195327759, 0.3185364305973053, -0.6978550553321838, 0.8260784149169922, 0.01964598335325718, 0.17522452771663666, -0.4946981966495514, -0.04027784615755081, 0.5071315765380859, 0.25308656692504883, 0.1326284110546112, -0.42303791642189026, 0.16964517533779144, -0.5895596742630005, 0.4466013014316559, 0.6139176487922668, -0.6322585940361023, -0.1381283402442932, 0.14327514171600342, 0.13558357954025269, -0.08668823540210724, 0.27009546756744385, 0.008218667469918728, -0.5526245832443237, 0.3433494567871094, 0.9473689794540405, 0.4905022978782654, -0.25493741035461426, -0.12293926626443863, 0.14316299557685852, -0.03130786865949631, 0.010387422516942024, 0.38922223448753357, -0.17074283957481384, -0.5924074053764343, -0.5185535550117493, -0.4491215646266937, -0.30285486578941345, 0.03526091203093529, -0.547917902469635, 0.37255582213401794, -0.3895874321460724, -0.07883495837450027, -0.5357688069343567, -0.30366232991218567, -0.7085331678390503, 0.0722612589597702, -0.08150364458560944, 1.3829867839813232, -0.3990168869495392, 1.1207340955734253, 0.726618766784668, -0.05957944318652153, -0.7760312557220459, -0.2327205389738083, -0.21478667855262756, -0.7567929029464722, 0.4430486559867859, 0.5604580640792847, -0.12644369900226593, -0.11623698472976685, -0.18614692986011505, -0.8647692799568176, 1.1739989519119263, 0.3066539168357849, -0.5340390205383301, 0.011217056773602962, 0.1691933125257492, 0.30379095673561096, -0.6628084778785706, 0.36153915524482727, 0.28727099299430847, 0.3493122160434723, 0.10639061033725739, -0.5768930912017822, 0.68434077501297, -0.2108379304409027, 0.161519393324852, 0.12035943567752838, -0.6534793972969055, 0.5158774256706238, -0.08253183960914612, -0.2829476594924927, 0.10123053193092346, 0.536920964717865, 0.017247499898076057, -0.21025365591049194, 0.5467227101325989, 0.42490509152412415, 0.6599287390708923, 0.07443629205226898, 1.0482771396636963, -0.5615894198417664, 0.39988264441490173, 1.2098300457000732, -0.22101932764053345, 1.1857722997665405, 0.6827711462974548, 0.031139420345425606, 0.44475817680358887, 0.34757721424102783, 0.2009943127632141, 0.5658882856369019, 0.3066607415676117, -0.6974552869796753, -0.18544340133666992, -0.11227179318666458, -0.5399218797683716, 0.5135548114776611, 0.5628721714019775, -0.2879320979118347, -0.1595565676689148, 0.2829008102416992, -0.08433948457241058, -0.40057024359703064, 0.174626424908638, 0.5752562880516052, 0.29637134075164795, -0.3561641573905945, 0.38346558809280396, 0.20313045382499695, 1.0226068496704102, -0.6472492218017578, 0.14093564450740814, 0.03898439183831215, 0.20846198499202728, -0.10863886773586273, -0.6973850131034851, 0.46367597579956055, -0.37456828355789185, -0.07401418685913086, -0.2784518301486969, 0.6269429922103882, -0.5744014382362366, -0.1551702618598938, 0.5845416784286499, 0.6316894888877869, -0.009676276706159115, -0.062201205641031265, -0.43318039178848267, 0.14826281368732452, -0.3884805738925934, -0.43746355175971985, 0.4282085597515106, 0.3377181887626648, 0.051830437034368515, 0.7174496054649353, 0.764616847038269, 0.08088023215532303, -0.04564530774950981, 0.10651092976331711, 1.2052398920059204, -0.5306872129440308, -0.6202636957168579, -0.9611998200416565, 0.4274276793003082, -0.050108883529901505, -0.037312109023332596, 0.4918697774410248, 0.7777676582336426, 0.5858408212661743, -0.03608010709285736, 0.8860116004943848, 0.048617590218782425, 0.2175607979297638, -0.44561296701431274, 0.703248143196106, -0.6658133864402771, 0.362789511680603, -0.010622436180710793, -0.9816961288452148, -0.47212836146354675, 0.4753321707248688, -0.11087527126073837, 0.0400562509894371, 0.7324008345603943, 0.5308793783187866, -0.47834089398384094, -0.13017868995666504, 0.48591405153274536, -0.18961526453495026, 0.6556106209754944, 0.7583562731742859, 0.8432015180587769, -0.125901997089386, 0.4790942966938019, 0.11913669109344482, -0.5788229703903198, -0.2974143624305725, -1.0853843688964844, -0.8601546883583069, -0.6210265159606934, -0.16992413997650146, -0.047290123999118805, -0.04601869732141495, 0.9608722925186157, 1.0365829467773438, -0.6307820081710815, -0.029021335765719414, 0.1350094974040985, 0.026798788458108902, 0.04585769772529602, -0.1978393942117691, 0.6786000728607178, -0.19833184778690338, -0.7952712178230286, 0.5448398590087891, 0.5786092281341553, 0.12835845351219177, -0.13694746792316437, -0.25405701994895935, -0.19520942866802216, 0.031194746494293213, 0.8840190768241882, 0.128978431224823, -0.6208118200302124, -0.6313352584838867, -0.011256211437284946, 0.0009939399315044284, -0.022443503141403198, 0.7108395099639893, -0.6252050995826721, 0.5020635724067688, 0.5770393013954163, 1.0579311847686768, 0.27239304780960083, -0.2777692377567291, 0.7323090434074402, -0.7560173273086548, 0.19373297691345215, -0.13458189368247986, 0.6622298955917358, 0.41363316774368286, -0.3488702178001404, 0.2941494584083557, -0.2531548738479614, -0.2012435793876648, -0.6108115911483765, 0.425758421421051, -0.9537345170974731, -0.41359925270080566, 1.3253203630447388, -0.6009934544563293, -0.026324113830924034, -0.2802443206310272, -0.11497919261455536, 0.3343426287174225, -0.4297249913215637, 0.3616049885749817, 0.8354175686836243, -0.18020540475845337, -0.16154150664806366, -0.3008677363395691, 0.19518980383872986, 0.33957433700561523, -0.8253282904624939, 0.0248554740101099, 0.08567547053098679, 0.24553894996643066, 0.1979287713766098, 0.42118000984191895, -0.4305669069290161, -0.031079726293683052, -0.2800520062446594, -0.3821312189102173, -0.4668581187725067, -0.3223086893558502, -0.4996166527271271, 0.33006641268730164, 0.2254684716463089, -0.15421733260154724 ]
http://arxiv.org/abs/2402.16880v2
http://arxiv.org/pdf/2402.16880v2
BESA: Pruning Large Language Models with Blockwise Parameter-Efficient Sparsity Allocation
2024-02-18T12:44:15
2024-04-19T07:54:27
Peng Xu, Wenqi Shao, Mengzhao Chen, Shitao Tang, Kaipeng Zhang, Peng Gao, Fengwei An, Yu Qiao, Ping Luo
cs.LG
cs.LG, cs.AI, cs.CL
Large language models (LLMs) have demonstrated outstanding performance in various tasks, such as text summarization, text question-answering, and etc. While their performance is impressive, the computational footprint due to their vast number of parameters can be prohibitive. Existing solutions such as SparseGPT and Wanda attempt to alleviate this issue through weight pruning. However, their layer-wise approach results in significant perturbation to the model's output and requires meticulous hyperparameter tuning, such as the pruning rate, which can adversely affect overall model performance. To address this, this paper introduces a novel LLM pruning technique dubbed blockwise parameter-efficient sparsity allocation (BESA) by applying a blockwise reconstruction loss. In contrast to the typical layer-wise pruning techniques, BESA is characterized by two distinctive attributes: i) it targets the overall pruning error with respect to individual transformer blocks, and ii) it allocates layer-specific sparsity in a differentiable manner, both of which ensure reduced performance degradation after pruning. Our experiments show that BESA achieves state-of-the-art performance, efficiently pruning LLMs like LLaMA1, and LLaMA2 with 7B to 70B parameters on a single A100 GPU in just five hours. Code is available at https://github.com/OpenGVLab/LLMPrune-BESA.
[ -0.5063873529434204, -0.9307089447975159, 0.3430568277835846, 0.5226489305496216, -0.8858257532119751, -0.04002324491739273, -0.40215936303138733, -0.14782343804836273, 0.33182573318481445, 0.4957687258720398, -0.7178846597671509, -0.12467221915721893, -0.6565494537353516, -0.1433989256620407, -0.40648001432418823, 0.8326576352119446, 0.02324693650007248, -0.15889006853103638, 0.04310109466314316, 0.016404932364821434, -0.4352998733520508, -0.2555379867553711, -0.8744508624076843, -0.2388981580734253, 0.30856063961982727, 0.312555193901062, 0.5779860019683838, 0.7913641929626465, 0.28050267696380615, 0.33360037207603455, -0.4613298177719116, 0.3689830005168915, -0.6217679381370544, 0.1665107011795044, 0.10141376405954361, 0.036084990948438644, -0.22622910141944885, -0.2954072058200836, 0.920151948928833, 0.5716984272003174, -0.35956135392189026, 0.27496862411499023, 0.3242405652999878, 0.6443542838096619, -0.7203869819641113, -0.18449686467647552, -0.7426002621650696, -0.20607778429985046, -0.26003536581993103, -0.3879218101501465, -0.2624525725841522, -0.16226783394813538, -0.1125413253903389, -0.6189018487930298, 0.20587186515331268, 0.08541147410869598, 1.049866795539856, 0.6210100054740906, -0.11475655436515808, 0.3243728280067444, -0.7320816516876221, 0.8140423893928528, -0.776487410068512, 0.27125731110572815, 0.14453627169132233, 0.4363056719303131, -0.0606045126914978, -0.3569221496582031, -0.45220980048179626, 0.007461834698915482, 0.09060411900281906, -0.03606158867478371, -0.3772405982017517, -0.059326570481061935, 0.16269993782043457, 0.29414063692092896, -0.6189741492271423, 0.18776433169841766, -0.46319955587387085, -0.29594385623931885, 0.551063597202301, 0.04570186138153076, -0.05335887148976326, -0.07559599727392197, -0.4768279492855072, 0.048958636820316315, -0.995071530342102, -0.2503065764904022, 0.5382941961288452, 0.1899738907814026, 0.14001893997192383, 0.38874977827072144, -0.012771179899573326, 0.9719407558441162, -0.1355953812599182, -0.14258639514446259, -0.008229824714362621, -0.3264555037021637, -0.382005512714386, -0.022837894037365913, 0.710806667804718, 0.1379925161600113, 0.3376464247703552, -0.14246898889541626, -0.2525845170021057, -0.07908263802528381, 0.3688462972640991, -0.980997622013092, -0.08172502368688583, -0.012769056484103203, -0.43938010931015015, -0.14988213777542114, -0.11075494438409805, -0.7519660592079163, -0.19216234982013702, -0.09993231296539307, 0.41857507824897766, -0.2675936222076416, -0.26283180713653564, 0.10918249189853668, 0.13505305349826813, 0.18702057003974915, 0.30472296476364136, -0.9689089059829712, 0.7079432606697083, 0.7551971673965454, 0.9455669522285461, -0.2228492647409439, -0.26033642888069153, -0.5762816071510315, 0.256797194480896, -0.27501043677330017, 0.5667468905448914, -0.5643675923347473, -0.33411428332328796, -0.314558744430542, -0.0026332561392337084, -0.04001055657863617, -0.7341360449790955, 0.3495740592479706, -0.32450881600379944, -0.3992449939250946, -0.08446896821260452, -0.049055080860853195, -0.24234183132648468, 0.21007806062698364, -0.6259378790855408, 0.9442225098609924, 0.09128914773464203, -0.4947839677333832, 0.037892717868089676, -0.0697331503033638, -0.6623711585998535, -0.019660739228129387, 0.14833524823188782, -0.7782871723175049, 0.330107182264328, 0.32139596343040466, 0.5540637373924255, -0.7081508040428162, 0.5165539979934692, -0.004061743151396513, -0.4900569021701813, 0.18586233258247375, -0.5296211838722229, 0.26565536856651306, 0.2983129918575287, -0.12237967550754547, 0.2990821599960327, -0.6507660150527954, -0.12030002474784851, 0.11807698011398315, -0.18799801170825958, -0.42156559228897095, 0.08490204066038132, 0.20192860066890717, 0.024826131761074066, 0.1448504775762558, -0.5519790649414062, 0.14399325847625732, -0.2011357694864273, 0.5691516399383545, 0.8955592513084412, -0.04061555862426758, 0.14147719740867615, -0.3320883512496948, 0.370785653591156, -0.12870073318481445, 0.11220169067382812, 0.08794033527374268, -0.1657441109418869, -0.7716395258903503, -0.6343718767166138, 0.12769386172294617, 0.253219872713089, -0.3710072934627533, 0.48284322023391724, -0.2700112760066986, -0.5057573318481445, -0.4942430555820465, 0.16497276723384857, 0.6588932871818542, 0.44716519117355347, 0.4458898901939392, -0.39590170979499817, -0.5878774523735046, -1.0201599597930908, -0.13804835081100464, -0.009445098228752613, -0.049456000328063965, 0.35829952359199524, 0.3204876780509949, 0.19934223592281342, 0.46618473529815674, -0.6988592743873596, -0.3361783027648926, -0.39687979221343994, -0.20504112541675568, 0.1911245882511139, 0.6145408749580383, 0.07898861914873123, -0.5009934902191162, -0.26038601994514465, -0.03187695890665054, -0.17832694947719574, -0.3403981029987335, -0.097257100045681, -0.15108050405979156, 0.08049368113279343, 0.3805197477340698, -0.574629008769989, 0.3035518229007721, 0.5783141851425171, -0.3140595555305481, 0.7003679275512695, -0.2659657299518585, -0.1389116644859314, -1.0878148078918457, 0.12230027467012405, 0.34958168864250183, -0.40164053440093994, -0.4876353144645691, -0.14934509992599487, -0.1045466959476471, -0.06435541063547134, -0.255408376455307, 0.4129353165626526, -0.5805773735046387, -0.28017672896385193, -0.44769346714019775, -0.0012339312816038728, -0.01234319806098938, 0.624790370464325, 0.15890507400035858, 0.7621998190879822, 0.436309814453125, -0.6756280660629272, 0.02877623587846756, 0.10403991490602493, -0.2363448143005371, 0.217689648270607, -0.759243905544281, 0.034293025732040405, -0.04295557364821434, 0.24020007252693176, -0.784407377243042, 0.05513938143849373, 0.23984457552433014, -0.14214040338993073, 0.4108821451663971, -0.33613044023513794, -0.30550751090049744, 0.01796131394803524, -0.2699663043022156, 0.41382408142089844, 0.5536571741104126, -0.5422577261924744, 0.3823254406452179, 0.6241308450698853, -0.45026278495788574, -0.686998188495636, -0.5712997317314148, -0.10648062825202942, -0.26378390192985535, -0.47454696893692017, 0.6169057488441467, 0.12436488270759583, 0.014387719333171844, 0.10943838208913803, -0.43823152780532837, -0.08369084447622299, 0.1614956259727478, 0.12337547540664673, 0.32820847630500793, -0.12763021886348724, -0.2671850323677063, 0.40677255392074585, -0.34819868206977844, -0.07736652344465256, -0.351351261138916, 0.8957475423812866, 0.132444828748703, -0.39001917839050293, -0.24826350808143616, 0.20435889065265656, 0.38455361127853394, -0.39890992641448975, 0.6833809614181519, 0.2836391031742096, -0.40909260511398315, -0.4734848141670227, -0.7572486400604248, -0.043881628662347794, -0.4575224816799164, 0.5917478799819946, -0.21232441067695618, -0.9686188101768494, 0.3761546313762665, -0.02116367220878601, 0.06759832799434662, 0.03654498606920242, 0.6709047555923462, 0.3625573217868805, 0.702954113483429, 0.5056449770927429, -0.4652979373931885, 0.40084055066108704, -0.2338453084230423, 0.21803753077983856, -0.9959096908569336, -0.10389650613069534, -0.7002162337303162, -0.4143926203250885, -0.23264430463314056, -0.653559684753418, 0.2938396632671356, 0.011799202300608158, -0.24565131962299347, 0.21836057305335999, -0.5813052654266357, 0.6547874212265015, 0.19325855374336243, 0.07730236649513245, 0.21541379392147064, 0.05141925439238548, 0.368115097284317, 0.3094629943370819, -0.593441903591156, -0.48454853892326355, 0.7639697194099426, 0.3994089365005493, 0.77060866355896, -0.005014900583773851, 0.5585041046142578, -0.15987595915794373, 0.25380071997642517, -0.5673703551292419, 0.7713410258293152, -0.24746239185333252, -0.2890455722808838, -0.6596539616584778, -0.5853416323661804, -0.8291844725608826, 0.5975261330604553, 0.05087307095527649, -0.8297041058540344, 0.04274166002869606, 0.441972941160202, -0.20464394986629486, 0.4843338131904602, -0.419491708278656, 0.6554907560348511, 0.05382418632507324, -0.495882511138916, -0.45639994740486145, -0.4164096713066101, 0.2879523038864136, -0.06950800865888596, 0.007093878462910652, -0.14361795783042908, -0.18337644636631012, 0.749047577381134, -0.7348331212997437, 0.49572739005088806, -0.35946282744407654, 0.09428983926773071, 0.20212849974632263, 0.26093295216560364, 0.743694007396698, 0.10467849671840668, 0.045221175998449326, -0.011933875270187855, -0.027342025190591812, -0.4157368242740631, -0.514553427696228, 0.8677968382835388, -0.6279129385948181, -0.5284462571144104, -0.12045269459486008, -0.6801913976669312, -0.1278400868177414, 0.04173557832837105, 0.1176827996969223, 0.39903873205184937, -0.20035994052886963, -0.03526395186781883, 0.598408579826355, -0.30291426181793213, 0.4928753077983856, 0.4024135172367096, -0.09109249711036682, -0.3123406171798706, 1.3454982042312622, 0.27218249440193176, 0.13729441165924072, 0.12339847534894943, 0.16315948963165283, -0.03065144456923008, -1.0064973831176758, -0.39673376083374023, 0.36432400345802307, -0.25996220111846924, -0.3930799067020416, -0.3054889440536499, -0.25021982192993164, -0.06621824949979782, -0.2519039213657379, -0.44329044222831726, -0.3797367513179779, 0.021198298782110214, -0.1210038885474205, 0.2618417739868164, 0.37092429399490356, 0.11008728295564651, 0.7015982866287231, -0.5065485239028931, 0.1621835082769394, -0.013611232861876488, 0.4854600727558136, 0.1239239051938057, -0.4946640133857727, -0.03538401797413826, -0.3781331777572632, -0.16337671875953674, -0.7406232357025146, 0.6975162625312805, 0.08247597515583038, 0.3672575056552887, 0.3490741550922394, -0.17842498421669006, 0.9107725024223328, -0.46855875849723816, 0.4203827381134033, 0.13256873190402985, -0.8653914928436279, 0.07422102987766266, -0.11343210935592651, 0.273062139749527, 0.5585582852363586, 0.08153706789016724, -0.4780471622943878, -0.3151211440563202, -0.36081406474113464, -1.0836269855499268, 0.7093668580055237, 0.11791890114545822, 0.05568217858672142, 0.1623544991016388, 0.20602327585220337, 0.29142841696739197, 0.1517421007156372, -0.5475524067878723, -0.1217510998249054, -0.09393952786922455, -0.09015908092260361, -0.20735503733158112, -0.5522608160972595, -0.022023377940058708, -0.07073689997196198, 1.0498610734939575, -0.019879590719938278, 0.11306238919496536, -0.012695238925516605, -0.3311237394809723, -0.14545029401779175, 0.3373585045337677, 0.4334970712661743, 0.6340660452842712, -0.06619821488857269, 0.17048385739326477, 0.25660717487335205, -0.5271347761154175, 0.1947469264268875, 0.2571916878223419, -0.39610615372657776, -0.1586899757385254, -0.00928180105984211, 0.9462776780128479, 0.1250622719526291, -0.5462594628334045, 0.36613601446151733, 0.006721936631947756, -0.2450546771287918, -0.1145387589931488, -0.22756773233413696, -0.031769897788763046, 0.1257225126028061, 0.41687753796577454, -0.07445574551820755, -0.06842713803052902, 0.0261724591255188, 0.033472366631031036, 0.5889593362808228, -0.2333383411169052, -0.18503208458423615, 0.4881320297718048, 0.1593611091375351, -0.2077406644821167, 0.5314677357673645, 0.013922040350735188, -0.343843936920166, 0.6042277216911316, 0.8386989235877991, 0.8313303589820862, -0.2755683660507202, 0.2668536901473999, 0.2611182928085327, 0.5628842115402222, -0.16850093007087708, 0.1377374231815338, -0.07540824264287949, -0.525712251663208, -0.8629087209701538, -0.8054606914520264, -0.22037045657634735, 0.2774343192577362, -0.36920079588890076, 0.10086310654878616, -0.7398107647895813, 0.1875307559967041, -0.15814709663391113, -0.057106006890535355, -0.18642373383045197, 0.15150219202041626, 0.036563970148563385, 1.0332263708114624, -0.954386293888092, 0.8107301592826843, 0.41467154026031494, -0.08954215049743652, -0.9057974219322205, 0.0013941485667601228, -0.1956050992012024, -0.5458659529685974, 0.19183732569217682, 0.1124778762459755, -0.14380517601966858, 0.1569214165210724, -0.4928492605686188, -0.9308478236198425, 0.9425324201583862, 0.6974233984947205, -0.7856987118721008, 0.13888375461101532, -0.07637806981801987, 0.13403435051441193, -0.11967185139656067, 0.10590821504592896, 0.5773933529853821, 0.5836023688316345, 0.07548059523105621, -0.809448778629303, 0.4697572588920593, -0.3872028887271881, 0.18315398693084717, 0.5949226021766663, -0.9415491819381714, 0.6382826566696167, -0.059887178242206573, -0.1389075368642807, 0.12910953164100647, 0.8011993765830994, 0.4693271517753601, 0.15580713748931885, 0.7437336444854736, 0.5947462320327759, 0.7084229588508606, -0.16559720039367676, 0.884786069393158, -0.30145493149757385, 0.13461469113826752, 0.5507656335830688, -0.15375648438930511, 0.5475113391876221, 0.776674747467041, -0.16710524260997772, -0.09132348001003265, 0.616436779499054, 0.04950903728604317, 0.5500742793083191, 0.6447591185569763, -0.16912822425365448, -0.33209818601608276, -0.06946706026792526, -0.18171770870685577, 0.09909240901470184, 0.21917660534381866, 0.03968502953648567, -0.2659743130207062, -0.03254802152514458, 0.3321736752986908, -0.02319631166756153, -0.46080341935157776, 0.5194661617279053, 0.07558948546648026, -0.8400318026542664, 0.7859808206558228, 0.18779759109020233, 0.727992057800293, -0.8022997379302979, 0.0204139556735754, -0.23885495960712433, 0.10205092281103134, -0.2662111818790436, -0.251758337020874, 0.3886958062648773, 0.10081598162651062, -0.01586827263236046, -0.1472410410642624, 0.8048986792564392, -0.42393895983695984, -0.381039559841156, 0.15790560841560364, 0.32980960607528687, 0.23122939467430115, -0.02638896368443966, -0.4507403075695038, 0.47933608293533325, -0.04076952859759331, -0.5877094268798828, 0.5998146533966064, 0.10415639728307724, -0.28335151076316833, 0.9210779666900635, 0.6010196805000305, 0.43992966413497925, 0.08746237307786942, -0.00558884534984827, 1.2426269054412842, -0.3468095064163208, -0.2991432547569275, -0.8995116353034973, 0.28146955370903015, 0.03973689302802086, -0.4355531334877014, 0.4778841435909271, 0.7423800230026245, 0.6695349812507629, 0.11008720844984055, 0.7091972827911377, -0.043635789304971695, 0.3356158137321472, -0.5976415276527405, 0.49521851539611816, -0.4789542853832245, 0.5110424757003784, -0.4045993685722351, -1.1461678743362427, -0.33841192722320557, 0.6586326956748962, -0.2944222092628479, -0.007371400482952595, 0.4553292691707611, 1.2032240629196167, -0.09403393417596817, -0.24817617237567902, 0.2494838982820511, 0.1300560086965561, 0.1958615630865097, 0.45824021100997925, 0.6597108840942383, 0.10740108788013458, 0.6242818236351013, -0.3154884874820709, -0.30832356214523315, -0.05608602240681648, -0.7438806295394897, -0.5682138204574585, -0.496744304895401, -0.25452616810798645, -0.1953943818807602, 0.42848750948905945, 0.787278950214386, 0.6506494283676147, -0.5683456659317017, -0.4356541931629181, -0.04509110003709793, 0.18711718916893005, -0.4274871349334717, -0.08231975138187408, 0.48555898666381836, -0.17761091887950897, -0.6601975560188293, 0.5508398413658142, 0.3638429343700409, -0.3047061860561371, -0.29546022415161133, -0.28075534105300903, -0.2510262727737427, 0.14247584342956543, 0.34706857800483704, 0.3386510908603668, -0.46008384227752686, -0.15848247706890106, -0.2689574658870697, 0.20250903069972992, -0.16515380144119263, 0.882798433303833, -0.7042353749275208, -0.028407294303178787, 0.43678542971611023, 0.7981177568435669, 0.9080960750579834, 0.20640869438648224, 0.5817440748214722, -0.9191385507583618, 0.31072336435317993, 0.17046430706977844, 0.4506126940250397, 0.19571715593338013, -0.15496303141117096, 0.42707908153533936, 0.07132217288017273, -0.4463657736778259, -1.1080361604690552, 0.17529483139514923, -1.1026052236557007, -0.48455336689949036, 1.2189579010009766, -0.008449937216937542, -0.4847847819328308, 0.13566569983959198, -0.35014042258262634, 0.27357831597328186, -0.31027984619140625, 0.562893807888031, 0.3765948414802551, 0.24427570402622223, -0.36812230944633484, -0.32808902859687805, 0.2740143835544586, 0.7112874388694763, -0.6864795088768005, 0.3602522611618042, 0.5352333188056946, 0.237125426530838, -0.284648060798645, 0.6884246468544006, -0.056155700236558914, 0.07167840003967285, -0.2756832540035248, 0.0025776848196983337, -0.5721471905708313, -0.4194573163986206, -0.28810742497444153, 0.17574621737003326, 0.16471442580223083, -0.3001987040042877 ]
http://arxiv.org/abs/2402.11574v1
http://arxiv.org/pdf/2402.11574v1
Visual In-Context Learning for Large Vision-Language Models
2024-02-18T12:43:38
2024-02-18T12:43:38
Yucheng Zhou, Xiang Li, Qianning Wang, Jianbing Shen
cs.CV
cs.CV, cs.CL
In Large Visual Language Models (LVLMs), the efficacy of In-Context Learning (ICL) remains limited by challenges in cross-modal interactions and representation disparities. To overcome these challenges, we introduce a novel Visual In-Context Learning (VICL) method comprising Visual Demonstration Retrieval, Intent-Oriented Image Summarization, and Intent-Oriented Demonstration Composition. Our approach retrieves images via ''Retrieval & Rerank'' paradigm, summarises images with task intent and task-specific visual parsing, and composes language-based demonstrations that reduce token count and alleviate cross-modal interaction problem. Experimental evaluations on five visual reasoning datasets demonstrate the effectiveness of our method. Moreover, our extensive experiments leverage information flow analysis to elucidate the effectiveness of our method, and investigate the impact of length and position of demonstrations for LVLM. The use of in-context unlearning further shows promise in resetting specific model knowledge without retraining.
[ -0.2124149054288864, -0.8253294825553894, 0.47508129477500916, 0.014052852988243103, -0.7482534050941467, -0.10571658611297607, -0.3286036252975464, -0.16958646476268768, -0.1399773359298706, 0.4369317293167114, -0.26571670174598694, -0.5748457312583923, -0.29351234436035156, -0.16809017956256866, -0.4358452558517456, 0.5032920837402344, -0.11541491001844406, 0.198007732629776, -0.5897267460823059, -0.26881587505340576, -0.6229236721992493, -0.22654345631599426, -0.5595623850822449, -0.18183578550815582, 0.46557697653770447, 0.6909803748130798, 0.23219554126262665, 0.3663700819015503, 0.46925702691078186, 0.28461953997612, 0.10025870054960251, 0.2634795606136322, -0.5818772912025452, 0.13516280055046082, -0.1528465747833252, -0.4104739725589752, 0.1339539736509323, -0.35912200808525085, 0.914840579032898, 0.8432063460350037, 0.06220201402902603, 0.07297035306692123, 0.163133904337883, 0.5608066916465759, -0.8818178772926331, 0.2718948423862457, -0.6032096147537231, 0.0704047754406929, -0.05064690113067627, -0.4223766326904297, -0.7939527630805969, 0.05971531569957733, 0.30976882576942444, -0.46306419372558594, -0.11637435108423233, 0.018576784059405327, 0.45620474219322205, 0.390054315328598, -0.6299870014190674, 0.02850215695798397, -0.30310091376304626, 0.8409278988838196, -0.5482665300369263, 0.5421901345252991, 0.1298953741788864, 0.6054995656013489, 0.014008909463882446, -0.9950436949729919, -0.4507657289505005, -0.18166640400886536, -0.05521175265312195, 0.18047508597373962, -0.003552615875378251, -0.17075088620185852, 0.3165988624095917, 0.06596416234970093, -0.45097610354423523, -0.08556848764419556, -0.4397038221359253, 0.157490074634552, 0.41909006237983704, 0.10807350277900696, 0.3323036730289459, 0.08388050645589828, -0.6196120381355286, -0.21324831247329712, -0.8356453776359558, 0.3631688058376312, -0.5189586281776428, 0.3037295639514923, -0.18283991515636444, 0.6187642216682434, -0.2527361810207367, 0.8443167209625244, -0.11838231235742569, -0.17161260545253754, 0.2225659042596817, -0.11395997554063797, -0.6001916527748108, -0.17383317649364471, 0.5274181365966797, 0.49705633521080017, 0.07677123695611954, -0.11413642019033432, -0.2760295569896698, -0.2777678668498993, -0.0005698900786228478, -0.8484014272689819, -0.06370610743761063, -0.12925274670124054, -0.5591718554496765, -0.10459291189908981, 0.09525685012340546, -0.5651313662528992, -0.45232895016670227, -0.4646303355693817, 0.8227689266204834, -0.4351251423358917, -0.011447192169725895, -0.032353583723306656, -0.33007484674453735, 0.45022958517074585, 0.6445873975753784, -0.5379769802093506, -0.01678025908768177, 0.3277013301849365, 0.7720464468002319, -0.11893398314714432, -0.48840638995170593, -0.9625092148780823, 0.26982635259628296, -0.5083193778991699, 0.4760187864303589, -0.5762733221054077, -0.2641438841819763, 0.16668535768985748, -0.007873136550188065, -0.01999255269765854, -0.6657870411872864, -0.1408502608537674, -0.3358389735221863, 0.20263993740081787, -0.40741026401519775, -0.5668810606002808, -0.33091962337493896, 0.18515801429748535, -0.4392813444137573, 0.6200309991836548, 0.05626256391406059, -0.6247481107711792, 0.7298617959022522, -0.5595117807388306, -0.5405319929122925, 0.36683234572410583, -0.5912178158760071, -0.21097572147846222, 0.2098674178123474, 0.18567006289958954, 0.7510477900505066, -0.06624253839254379, 0.16806624829769135, -0.277885764837265, -0.6787338852882385, 0.08056049793958664, -0.541397213935852, 0.6471642851829529, -0.051103897392749786, -0.5431498885154724, 0.4900040924549103, -0.4955112934112549, -0.211215540766716, 0.1559164971113205, -0.21830593049526215, -0.5219459533691406, -0.0409427285194397, -0.009410723112523556, 0.32230496406555176, 0.1879325956106186, -0.4136199951171875, 0.267517626285553, -0.12392663210630417, 0.23201246559619904, 0.49514156579971313, -0.014559007249772549, 0.5227088928222656, 0.1013852059841156, 0.24274839460849762, 0.1453009396791458, 0.4224949777126312, -0.5951510667800903, -0.3123384118080139, -0.8233148455619812, -0.3859560489654541, -0.2037506252527237, 0.1517464518547058, -1.4129685163497925, -0.08106835931539536, -0.3855060040950775, -0.1523348093032837, -0.01069137454032898, 0.2313842922449112, 0.7999783754348755, 0.6915567517280579, 0.4371834993362427, -0.3602047860622406, -0.22122812271118164, -0.8716439008712769, -0.08458960801362991, -0.03560774773359299, 0.053324878215789795, 0.2781889736652374, 0.607353925704956, -0.1408558040857315, 0.905750572681427, -0.19942177832126617, -0.2126319408416748, -0.48572486639022827, 0.07858460396528244, -0.18495914340019226, 0.233486145734787, 0.5252298712730408, -1.0861908197402954, -0.5107362866401672, 0.1287229061126709, -0.991615355014801, 0.24875344336032867, 0.007967902347445488, 0.0424538217484951, 0.3767102062702179, 1.0330321788787842, -0.11438585817813873, 0.8153165578842163, 0.21490471065044403, -0.5074149370193481, 0.3268609941005707, -0.3429659605026245, 0.11921090632677078, -0.8617600202560425, -0.11243441700935364, 0.08917251229286194, -0.4356440603733063, -0.42375344038009644, 0.2461903840303421, 0.3275730013847351, -0.07693424075841904, -0.7350435853004456, 0.742237389087677, -0.6177718043327332, -0.23805390298366547, -0.296176552772522, 0.0538959763944149, 0.029800018295645714, 0.5666702389717102, 0.2402198612689972, 0.7477279305458069, 0.7663137316703796, -0.5662024021148682, 0.2770114243030548, 0.1465681791305542, -0.6090586185455322, 0.4758448004722595, -0.41994884610176086, -0.32884567975997925, -0.3291225731372833, 0.25514134764671326, -0.9980146288871765, -0.2809135615825653, 0.13767878711223602, -0.10230611264705658, 0.2886057198047638, -0.2608529329299927, -0.21369031071662903, 0.024023039266467094, -0.11673811823129654, 0.5482011437416077, 0.4637170433998108, -1.1191277503967285, 0.7254331111907959, 0.1937686949968338, 0.15594901144504547, -0.7576568722724915, -0.7605397701263428, 0.08538158237934113, -0.42612123489379883, -0.3465351164340973, 0.0644044280052185, 0.0017236558487638831, -0.37350451946258545, -0.16073930263519287, 0.17400188744068146, 0.12327291071414948, -0.05787539482116699, 0.28393417596817017, 0.14762775599956512, -0.05458221212029457, 0.44793644547462463, -0.2241489440202713, 0.22476351261138916, -0.052102815359830856, -0.16995637118816376, 0.36992475390434265, -0.4199552834033966, -0.6293503642082214, -0.37673419713974, 0.4758385717868805, 0.6938254833221436, -0.4239517152309418, 0.5777368545532227, 0.4976990818977356, -0.2396300733089447, -0.4359382092952728, -0.2417519986629486, -0.16318634152412415, -0.4413575530052185, 0.5831902027130127, -0.35742130875587463, -0.7579021453857422, 0.22059570252895355, -0.2121802419424057, 0.18661977350711823, -0.1120547279715538, 0.41455158591270447, -0.17597277462482452, 0.8326711654663086, 0.8189519047737122, 0.2435259222984314, 0.9491114616394043, -0.5215861797332764, 0.13895200192928314, -0.8145649433135986, -0.532960057258606, 0.22100800275802612, -0.2563779056072235, 0.17219854891300201, -0.6606679558753967, 0.5194109678268433, 0.19050967693328857, -0.35412096977233887, -0.011005496606230736, -0.07601933926343918, 0.6756724119186401, 0.593891441822052, 0.44371962547302246, 0.33063653111457825, 0.15861687064170837, -0.17988231778144836, 0.16857324540615082, -0.6751959323883057, -0.14891621470451355, 0.9186622500419617, 0.026959506794810295, 0.8026258945465088, 0.20730216801166534, 0.4698825180530548, 0.026299763470888138, 0.37001195549964905, -0.8093200922012329, 0.7406012415885925, -0.19240960478782654, 0.05571404844522476, -0.5616655945777893, -0.3638821840286255, -0.6875433921813965, 0.5241947174072266, -0.2007051557302475, -0.7728116512298584, 0.32524338364601135, 0.22015811502933502, 0.019290264695882797, 0.3120003938674927, -0.7719717621803284, 1.0678915977478027, -0.422721803188324, -0.574714183807373, -0.20918183028697968, -0.7803273797035217, 0.4852559268474579, 0.23857466876506805, 0.14916861057281494, 0.455585777759552, -0.004226050339639187, 0.22039523720741272, -0.402812659740448, 1.1315068006515503, -0.2059856504201889, -0.23778973519802094, 0.12703607976436615, 0.023160530254244804, 0.37915927171707153, -0.03611627221107483, 0.505594789981842, -0.18818801641464233, -0.41438382863998413, -0.3035953938961029, -0.9645945429801941, 0.5138950347900391, -0.24542225897312164, -0.3461422920227051, 0.028389520943164825, -0.479661226272583, -0.19679659605026245, 0.10502690821886063, 0.35428714752197266, 1.0630162954330444, -0.06594674289226532, 0.6696815490722656, 0.7341626286506653, -0.3003375232219696, 0.6899781227111816, 0.32003727555274963, -0.5793478488922119, -0.26214051246643066, 1.0975253582000732, -0.1755143404006958, 0.4618137776851654, 0.6696000695228577, 0.19315770268440247, -0.3482823073863983, -0.42552077770233154, -0.44493281841278076, -0.0637921541929245, -1.1607086658477783, 0.043978407979011536, -0.3177468180656433, 0.16315864026546478, -0.08631333708763123, -0.3190212845802307, -0.338180273771286, -0.1542007029056549, -0.10520926117897034, 0.23330970108509064, -0.07126180082559586, 0.5936852693557739, 0.3420843780040741, 0.1553964614868164, -0.2313036471605301, 0.3220912516117096, 0.6201590895652771, 0.39113694429397583, 0.2598203420639038, -0.5914431214332581, -0.33765631914138794, -0.029005277901887894, -0.08007657527923584, -0.6592453122138977, 0.43899285793304443, 0.2221992015838623, 0.5594661235809326, 0.7296179533004761, -0.04195167124271393, 0.9239101409912109, -0.3004307150840759, 0.6817401051521301, 0.4426376223564148, -0.9028753638267517, 0.5638957619667053, -0.2230738401412964, 0.3198561370372772, 0.22942844033241272, 0.12253437936306, -0.4549422264099121, -0.20836485922336578, -0.4190772473812103, -1.0767717361450195, 0.15644292533397675, -0.09057842195034027, -0.151783287525177, 0.04538460448384285, 0.23378048837184906, -0.06831411272287369, 0.1110464408993721, -0.7149948477745056, -0.12942339479923248, -0.3102726936340332, -0.23638750612735748, -0.22565245628356934, -0.05267078056931496, -0.20561127364635468, -0.5648055076599121, 0.49436065554618835, -0.5890291929244995, -0.16562752425670624, 0.27802643179893494, -0.6025991439819336, 0.22589458525180817, 0.056257352232933044, 0.6881561279296875, 0.9913555979728699, 0.03740119934082031, 0.28334832191467285, 0.2684394419193268, -0.11819662898778915, -0.12027882784605026, -0.3930751383304596, -0.15689557790756226, -0.09795324504375458, 0.5707695484161377, 0.9912868738174438, 0.5542506575584412, -1.173417329788208, 0.9996852278709412, -0.40723076462745667, -0.0863310843706131, -0.38723987340927124, -0.1669376790523529, -0.08980312198400497, 0.57539302110672, 0.458398699760437, -0.164887934923172, 0.19310925900936127, -0.7369109392166138, 0.3393365144729614, 0.7554675340652466, -0.6301588416099548, 0.04867662489414215, 0.5223791599273682, 0.015449141152203083, 0.001369630335830152, 0.4632939398288727, 0.059220924973487854, -0.26625803112983704, 0.6241229772567749, 0.6326215267181396, 0.5750988721847534, 0.3110876977443695, 0.24169835448265076, 0.14753486216068268, 0.04906770586967468, -0.13487015664577484, 0.23562732338905334, -0.27950969338417053, -0.46823692321777344, -0.44794705510139465, -0.19459496438503265, -0.3868074119091034, 0.021550145000219345, -0.6455679535865784, 0.3074709475040436, -0.23187729716300964, 0.2423824816942215, -0.2763744592666626, -0.39935222268104553, -0.5048052668571472, 0.19248512387275696, 0.2666608691215515, 0.8457511067390442, -0.9176082015037537, 0.7531753778457642, 0.8192796111106873, -0.5351832509040833, -0.692986011505127, 0.02202264778316021, -0.14981959760189056, -0.6409972906112671, 1.0325950384140015, 0.277448832988739, -0.3224504292011261, -0.13270016014575958, -0.9408474564552307, -0.5309714674949646, 1.2639206647872925, 0.47178366780281067, -0.38876697421073914, 0.4419069290161133, -0.29278722405433655, 0.3197520971298218, -0.7118406295776367, 0.28049811720848083, 0.003077886998653412, 0.1898784190416336, 0.21722646057605743, -0.7070983648300171, 0.037629060447216034, -0.27226847410202026, 0.09195102006196976, -0.026565443724393845, -0.7474833726882935, 0.7573615908622742, -0.4959447979927063, -0.28641435503959656, -0.07352614402770996, 0.7206976413726807, 0.32010507583618164, 0.45295262336730957, 0.6079838871955872, 0.2889742851257324, 0.5896422266960144, 0.15916940569877625, 1.0546085834503174, 0.2066340446472168, 0.12384622544050217, 1.3003654479980469, -0.1507670134305954, 1.0671401023864746, 0.8110288381576538, 0.5097398161888123, 0.5244656801223755, 0.2628367841243744, 0.31163665652275085, 0.6469747424125671, 0.00341309467330575, -0.39457592368125916, -0.6429244875907898, -0.27818232774734497, -0.13766832649707794, 0.5651969313621521, 0.34935733675956726, -0.33625224232673645, -0.344909131526947, 0.46054792404174805, -0.5089977979660034, 0.10559913516044617, -0.44874340295791626, 0.8110305666923523, 0.07279983907938004, -0.47266885638237, 0.6256060600280762, -0.5147249102592468, 0.5130285024642944, -0.34664395451545715, -0.39183366298675537, -0.21551433205604553, 0.348959356546402, 0.06111438199877739, -0.6916138529777527, -0.1476251482963562, -0.2637690305709839, -0.1189924106001854, -0.1562034636735916, 0.4911746382713318, -0.6971186995506287, -0.27477410435676575, 0.32059091329574585, 0.4019632637500763, 0.16738373041152954, -0.15099768340587616, -0.22259174287319183, -0.10037583112716675, -0.09685812145471573, -0.15404276549816132, 0.4864526391029358, 0.5375672578811646, -0.5812005400657654, 1.1791362762451172, 0.3871763348579407, -0.34330666065216064, 0.08534515649080276, 0.4495449960231781, 0.9592664837837219, -0.6019335985183716, -0.41251617670059204, -0.8319602608680725, 0.5556913018226624, -0.24662251770496368, -0.13737761974334717, 0.657889187335968, 0.6793845295906067, 1.0169087648391724, -0.2689141035079956, 0.8259327411651611, 0.1849861890077591, 0.05580053851008415, -0.7096894979476929, 0.5276650786399841, -1.1273009777069092, 0.11683202534914017, -0.2921293377876282, -0.5114744901657104, -0.5022643208503723, 0.5949427485466003, -0.07474487274885178, -0.04887659102678299, 0.8066881895065308, 0.5510849952697754, -0.23664243519306183, -0.249458447098732, 0.6363933682441711, 0.05424131080508232, 0.3003785014152527, 0.7144419550895691, 1.0238561630249023, -0.2587127983570099, 0.5617194175720215, -0.32362130284309387, -0.3665516674518585, -0.3494813144207001, -0.9613308906555176, -1.1686115264892578, -0.7724348306655884, -0.16605748236179352, 0.09660904854536057, 0.10833203792572021, 0.7932061553001404, 0.7067832350730896, -0.3260194957256317, -0.25357288122177124, -0.02417878434062004, -0.0179391261190176, -0.43961337208747864, -0.16695167124271393, 0.37869369983673096, -0.2789997458457947, -0.5385629534721375, 0.6140261888504028, 0.47646471858024597, 0.019464686512947083, -0.1806783825159073, -0.22097909450531006, 0.026151500642299652, -0.40618646144866943, 1.034803867340088, 0.46250683069229126, -0.8630836606025696, -0.2137136608362198, -0.2585698068141937, -0.025390416383743286, -0.034037619829177856, 0.8791135549545288, -0.9523537755012512, 0.5480052828788757, 0.6014630794525146, 0.4721377193927765, 0.4688158333301544, 0.08752812445163727, 0.5466665029525757, -0.9136608242988586, 0.35845911502838135, -0.033888280391693115, 0.7817122936248779, 0.3943628668785095, -0.09702444076538086, 0.22909954190254211, 0.1550437957048416, -0.20867298543453217, -0.6540258526802063, 0.3693951368331909, -1.1053496599197388, -0.6409446597099304, 1.1794103384017944, 0.0026492266915738583, -0.36729103326797485, -0.16639691591262817, -0.37771958112716675, 0.13602162897586823, -0.18474909663200378, 0.5785288214683533, 0.08403222262859344, 0.026600345969200134, -0.6107284426689148, -0.4017152786254883, 0.22184091806411743, 0.24821794033050537, -0.7002605199813843, 0.2906804084777832, 0.6093120574951172, 0.196332186460495, -0.20330817997455597, 0.48867976665496826, -0.014375579543411732, 0.39920541644096375, -0.24428333342075348, 0.1851046085357666, -0.3200032711029053, -0.7719883918762207, -0.3982824683189392, 0.16370956599712372, -0.09815304726362228, -0.17542557418346405 ]
http://arxiv.org/abs/2402.11573v1
http://arxiv.org/pdf/2402.11573v1
BGE Landmark Embedding: A Chunking-Free Embedding Method For Retrieval Augmented Long-Context Large Language Models
2024-02-18T12:41:01
2024-02-18T12:41:01
Kun Luo, Zheng Liu, Shitao Xiao, Kang Liu
cs.CL
cs.CL
Large language models (LLMs) call for extension of context to handle many critical applications. However, the existing approaches are prone to expensive costs and inferior quality of context extension. In this work, we proposeExtensible Embedding, which realizes high-quality extension of LLM's context with strong flexibility and cost-effectiveness. Extensible embedding stand as an enhancement of typical token embedding, which represents the information for an extensible scope of context instead of a single token. By leveraging such compact input units of higher information density, the LLM can access to a vast scope of context even with a small context window. Extensible embedding is systematically optimized in architecture and training method, which leads to multiple advantages. 1) High flexibility of context extension, which flexibly supports ad-hoc extension of diverse context lengths. 2) Strong sample efficiency of training, which enables the embedding model to be learned in a cost-effective way. 3) Superior compatibility with the existing LLMs, where the extensible embedding can be seamlessly introduced as a plug-in component. Comprehensive evaluations on long-context language modeling and understanding tasks verify extensible embedding as an effective, efficient, flexible, and compatible method to extend the LLM's context.
[ -0.265227735042572, -0.7740320563316345, 0.4612710475921631, 0.06600648164749146, -0.5282287001609802, -0.01300754677504301, -0.7393847703933716, -0.5937126278877258, 0.35900163650512695, 0.3589451014995575, 0.06470052152872086, -0.5084684491157532, -0.6890608072280884, -0.3766143023967743, -0.30483344197273254, 0.38646918535232544, -0.11872188746929169, -0.2113494724035263, -0.07935091108083725, -0.4439203143119812, -0.3491092920303345, -0.46595045924186707, -0.4245907664299011, -0.14240337908267975, 0.10749712586402893, 0.2926698625087738, 0.7095211148262024, 0.880643904209137, 0.0886555016040802, 0.1822822391986847, -0.27196332812309265, 0.08176916092634201, -0.44626501202583313, 0.1350095123052597, -0.37765228748321533, -0.3952833116054535, -0.37942105531692505, -0.23594944179058075, 0.8951206803321838, 0.8785576820373535, -0.07583659142255783, 0.0258160587400198, 0.30449721217155457, 0.5378937125205994, -0.7469322085380554, 0.472873330116272, -0.6618250012397766, -0.2241162210702896, 0.05528508871793747, -0.0659986361861229, -0.4674937129020691, -0.2726638615131378, 0.4012225568294525, -0.21908819675445557, -0.23692645132541656, 0.08211780339479446, 0.6743627190589905, 0.013191541656851768, -0.5873794555664062, -0.3846280872821808, -0.4861339032649994, 0.7564972043037415, -0.5740095376968384, 0.7674610614776611, 0.13461905717849731, 0.5409368276596069, -0.0003773221105802804, -0.565884530544281, -0.2354399710893631, -0.2126617282629013, 0.052054405212402344, -0.2284189909696579, -0.09855465590953827, 0.03457570821046829, 0.23210939764976501, 0.5839571952819824, -0.40624701976776123, 0.1290414035320282, -0.08340348303318024, -0.04249957576394081, 0.1922846883535385, -0.3294879198074341, 0.1089591234922409, -0.07420903444290161, -0.48282045125961304, 0.020154030993580818, -1.1823614835739136, -0.03958658128976822, 0.0992528572678566, 0.5558328032493591, -0.14591892063617706, 0.47205850481987, -0.03505139797925949, 0.6856407523155212, -0.01456600520759821, 0.026633914560079575, 0.4127492606639862, -0.09970172494649887, -0.3133430480957031, -0.06541299819946289, 0.11097362637519836, 0.004962719976902008, -0.11151502281427383, -0.25124886631965637, -0.20367968082427979, -0.5180485844612122, 0.09729072451591492, -0.8142792582511902, 0.2525700330734253, 0.255860298871994, -0.36897099018096924, 0.27297717332839966, 0.07425523549318314, -0.3198300004005432, 0.10478698462247849, -0.2558510899543762, 0.45553144812583923, -0.5672870874404907, -0.19849893450737, 0.11115576326847076, -0.03467097505927086, 0.3104020655155182, 0.41573280096054077, -0.8214520215988159, -0.09440694749355316, 0.7363585829734802, 0.8597923517227173, -0.23042573034763336, -0.1373203843832016, -0.5062984228134155, 0.7409728169441223, -0.09118913859128952, 0.2684590220451355, -0.6723098158836365, -0.5726052522659302, 0.4455350637435913, 0.24699248373508453, 0.2814658582210541, -0.6119787693023682, 0.46894872188568115, -0.7059803009033203, -0.16358880698680878, -0.2406122237443924, -0.79478520154953, -0.548478364944458, 0.5203032493591309, -0.7505271434783936, 0.9580309987068176, 0.37859204411506653, -0.3296341001987457, 0.4783669114112854, -0.4305408298969269, -0.35183921456336975, 0.29472482204437256, -0.10869234800338745, -0.11320027709007263, 0.2997639775276184, 0.3400989770889282, 0.500348687171936, 0.009489853866398335, 0.4597344398498535, -0.29716166853904724, -0.42768532037734985, -0.2602660357952118, -0.3401958644390106, 0.3377732038497925, -0.06905701011419296, -0.5955978035926819, 0.01498442143201828, -0.4903110861778259, -0.05281629413366318, -0.1265588104724884, -0.7232049107551575, -0.7222392559051514, -0.18965215981006622, 0.20160067081451416, 0.17241740226745605, 0.4461195170879364, -0.5164259076118469, 0.33192169666290283, -0.5582839846611023, 0.12305682897567749, 0.5489324331283569, -0.26580554246902466, 0.6348251104354858, -0.10684759169816971, 0.23924985527992249, 0.006069832481443882, -0.01891731470823288, -0.31371966004371643, -0.22349956631660461, -0.6776164770126343, -0.7300711274147034, 0.11218176037073135, 0.2049710899591446, -0.5956419110298157, 0.884645402431488, -0.7797993421554565, -0.30502909421920776, -0.26330485939979553, 0.055489588528871536, 0.39991405606269836, 0.13231325149536133, 0.4770563840866089, -0.295980840921402, -0.4628791809082031, -0.9524209499359131, -0.24587711691856384, 0.012563788332045078, 0.14804138243198395, 0.5664004683494568, 0.42501044273376465, -0.3196669816970825, 0.960796058177948, -0.4888037145137787, -0.18688251078128815, -0.4196561872959137, -0.3111295700073242, 0.22098074853420258, 0.5210340023040771, 0.2825615704059601, -0.643054187297821, -0.4307853579521179, -0.025529656559228897, -0.49088528752326965, 0.37542620301246643, 0.15283042192459106, -0.06686823070049286, 0.2806151509284973, 0.5913107991218567, -0.39818665385246277, 0.2911221981048584, 0.7112076878547668, -0.1251368522644043, 0.40466028451919556, -0.30169135332107544, -0.017656808719038963, -1.1940888166427612, 0.1847449243068695, -0.3515535295009613, -0.7358170747756958, -0.4457360804080963, 0.5140798091888428, 0.3935225009918213, -0.14609213173389435, -0.4668312668800354, 0.9046006202697754, -0.7072772979736328, -0.04542551562190056, -0.440317302942276, 0.3444434106349945, -0.1109299436211586, 0.26361146569252014, 0.1125853955745697, 0.5271934270858765, 0.593730628490448, -0.451407790184021, 0.08000876754522324, 0.23991447687149048, -0.6490980386734009, 0.2263592928647995, -0.5141814947128296, -0.03247004747390747, -0.11105530709028244, 0.550593376159668, -0.8206748366355896, 0.022359758615493774, -0.08499091863632202, -0.07506057620048523, 0.7009561657905579, -0.42839694023132324, -0.41035398840904236, -0.0422494038939476, -0.4656883478164673, 0.5423446893692017, 0.546607255935669, -1.1772369146347046, 0.6283314228057861, 0.45820459723472595, -0.2699865400791168, -0.6086137890815735, -0.6485773921012878, 0.16587674617767334, -0.12327462434768677, -0.3781398832798004, 0.4578053057193756, 0.21241751313209534, 0.28718292713165283, 0.1627126783132553, 0.057266268879175186, 0.21884119510650635, -0.13529011607170105, 0.17796774208545685, 0.03155163675546646, -0.17121687531471252, 0.34686774015426636, 0.2779403626918793, -0.10155177861452103, -0.35683318972587585, -0.4925471842288971, 0.5964650511741638, -0.05115228518843651, -0.6938723921775818, 0.005434240214526653, 0.7092732191085815, 0.5907807350158691, -0.16892282664775848, 0.8868339657783508, 0.34841883182525635, -0.635724663734436, -0.23782233893871307, -0.7094869613647461, 0.01961197331547737, -0.4832717180252075, 0.7006108164787292, -0.3486127257347107, -1.6443592309951782, 0.4249706268310547, -0.38807520270347595, 0.1285932958126068, 0.004616097547113895, 0.6272911429405212, 0.5089691281318665, 0.6959056854248047, 0.7321392297744751, -0.24069252610206604, 0.5504627823829651, -0.10971936583518982, 0.32697322964668274, -1.1808274984359741, -0.19958102703094482, -0.1451968103647232, -0.2044324427843094, -0.4173440933227539, -0.9086401462554932, 0.2493772655725479, 0.15907025337219238, -0.17264674603939056, 0.378658652305603, -0.3242434561252594, 0.2640194296836853, 0.2139795422554016, -0.03142295032739639, 0.12973657250404358, 0.1158880814909935, -0.07795656472444534, 0.19536025822162628, -0.3139426112174988, -0.4250805079936981, 0.9272469282150269, 0.6670205593109131, 0.8549776673316956, 0.5364530682563782, 0.6130311489105225, -0.18335197865962982, 0.1953054517507553, -1.0762652158737183, 0.3626447916030884, -0.047222450375556946, -0.6441171765327454, -0.4616074562072754, -0.08992619812488556, -0.7753954529762268, 0.41952529549598694, 0.09763666987419128, -1.0382097959518433, 0.21789325773715973, 0.15172907710075378, -0.07315362244844437, 0.5214629173278809, -0.4493052065372467, 0.37570661306381226, 0.029992131516337395, -0.3590794503688812, -0.348832905292511, -0.2444627434015274, 0.043816059827804565, -0.04574432969093323, 0.10797610133886337, 0.1505707949399948, -0.3656052052974701, 0.6227589249610901, -0.26889747381210327, 0.7225652933120728, -0.40320008993148804, -0.13494646549224854, 0.25351980328559875, 0.04586692526936531, 0.9663062691688538, 0.18003340065479279, -0.17217205464839935, -0.01542669627815485, -0.18795758485794067, -0.47996392846107483, -0.7566806674003601, 1.0111632347106934, -0.341916024684906, -0.9453089237213135, -0.05941836163401604, -0.6423012614250183, -0.42041492462158203, 0.16945470869541168, -0.22694195806980133, 0.7112306952476501, -0.2452973574399948, 0.5855163931846619, 0.4542255699634552, -0.21524424850940704, 0.5058484673500061, 0.3116324543952942, -0.29854345321655273, -0.3041478395462036, 0.7094828486442566, 0.04102567210793495, 0.2508770227432251, 0.5057248473167419, 0.13405798375606537, -0.5856949687004089, -0.6874114871025085, -0.30611422657966614, 0.3184666335582733, -0.8829700946807861, 0.002279335865750909, -0.7412406206130981, 0.033991724252700806, -0.44286608695983887, -0.4478852152824402, -0.5668370723724365, -0.501339852809906, 0.07921577244997025, -0.3428375720977783, 0.2916194498538971, 0.39497774839401245, 0.029826823621988297, 0.29751160740852356, -0.8216119408607483, -0.3254891633987427, 0.29415658116340637, 0.44408532977104187, 0.47596076130867004, -0.5651140213012695, -0.6202237606048584, -0.24625539779663086, 0.00877884030342102, -0.5065187811851501, 0.33945420384407043, 0.25032666325569153, 0.5928888320922852, 0.6071362495422363, -0.27090689539909363, 0.7255240678787231, -0.7481726408004761, 0.7996625900268555, 0.036502376198768616, -1.080816388130188, 0.21332883834838867, -0.2330310046672821, 0.4056898057460785, 0.6136649250984192, 0.42323756217956543, -0.3098825216293335, -0.023667536675930023, -0.19300802052021027, -1.2628546953201294, 0.22819998860359192, -0.2044043242931366, 0.5420875549316406, -0.3102787733078003, 0.4053323566913605, 0.3781451880931854, 0.053142186254262924, -0.4377453625202179, -0.16562433540821075, 0.09770170599222183, 0.09553216397762299, -0.2177078127861023, -0.5346277356147766, 0.00367227615788579, -0.35422489047050476, 0.674645721912384, -0.3360019624233246, 0.4230152368545532, 0.0891106128692627, -0.4774305522441864, 0.2539190649986267, 0.4290536344051361, 0.27851420640945435, 0.8409609794616699, -0.3308030366897583, 0.31229832768440247, 0.35895898938179016, -0.29023468494415283, 0.08899950236082077, -0.012671218253672123, 0.23207877576351166, 0.06716746836900711, 0.32425007224082947, 0.8196167945861816, 0.5265053510665894, -0.5022494792938232, 0.7631050944328308, 0.36511895060539246, 0.2925586402416229, -0.3177805542945862, -0.2227281779050827, 0.40176254510879517, 0.2612740993499756, 0.3737930357456207, -0.6214320063591003, 0.2457725554704666, -0.6689428687095642, 0.4786354899406433, 0.726700484752655, -0.7060946226119995, -0.17480146884918213, 0.1311189830303192, 0.09330154955387115, 0.05864160507917404, 0.40207400918006897, -0.1273161768913269, -0.5205316543579102, 0.10013522207736969, 0.9927650094032288, 0.6963052153587341, -0.24249063432216644, -0.1472541093826294, 0.4354610741138458, 0.05246562883257866, -0.05337882041931152, 0.19479334354400635, -0.1546775996685028, -0.3579849600791931, -0.4454743266105652, -0.5265047550201416, -0.387847900390625, 0.02638726308941841, -0.7489013075828552, 0.3118654191493988, -0.33361348509788513, 0.0504879429936409, -0.6326352953910828, -0.22164791822433472, -0.6481387615203857, 0.18647560477256775, 0.02399270050227642, 1.4295377731323242, -0.5315486192703247, 0.9018236994743347, 0.7748029232025146, -0.01091782283037901, -0.8382160067558289, 0.15898104012012482, -0.2559424340724945, -0.8864468336105347, 0.4980631172657013, 0.4116056561470032, -0.05870271846652031, 0.05040200427174568, -0.27910855412483215, -1.0482282638549805, 1.2600878477096558, 0.2420884668827057, -0.5299279689788818, -0.2845562994480133, -0.0609816275537014, 0.25267279148101807, -0.45182356238365173, 0.31022340059280396, 0.2912933826446533, 0.35355088114738464, 0.2980789244174957, -0.751324474811554, 0.7933904528617859, 0.04185614362359047, 0.22141873836517334, 0.2834409773349762, -0.682519257068634, 0.3521951138973236, 0.028491435572504997, -0.19659796357154846, 0.05302063748240471, 0.6994652152061462, 0.14807042479515076, -0.24233488738536835, 0.5374534130096436, 0.6723219156265259, 0.6226353049278259, -0.003919946029782295, 1.0973727703094482, -0.4756852984428406, 0.5279512405395508, 0.9494063258171082, -0.08831829577684402, 1.2214592695236206, 0.6610499024391174, 0.048663195222616196, 0.4290410280227661, 0.24610492587089539, 0.2267705798149109, 0.6275086402893066, 0.280977725982666, -0.5487422943115234, -0.25792044401168823, -0.09508969634771347, -0.5287736058235168, 0.4339819550514221, 0.527607262134552, -0.4127671718597412, -0.4441910982131958, 0.06411080807447433, 0.06344148516654968, -0.44277408719062805, -0.1571475714445114, 0.41079533100128174, 0.298907071352005, -0.4717528820037842, 0.5013628602027893, 0.13987179100513458, 0.9227690696716309, -0.6732410192489624, 0.08299622684717178, 0.07263465225696564, 0.05911862850189209, -0.1099083423614502, -0.6412175893783569, 0.38826605677604675, -0.45408186316490173, -0.09501736611127853, -0.04301539435982704, 0.5413641929626465, -0.6562785506248474, -0.10737989097833633, 0.5418167114257812, 0.6803327798843384, 0.10770163685083389, -0.041636839509010315, -0.3790983259677887, 0.10801657289266586, -0.21632452309131622, -0.4279036521911621, 0.558906078338623, 0.12075860798358917, -0.1986854076385498, 0.6205921769142151, 0.5841872096061707, 0.12189440429210663, -0.1369507610797882, 0.0508759543299675, 1.090972661972046, -0.6212965250015259, -0.7203531265258789, -0.7812869548797607, 0.3715752065181732, 0.026920242235064507, 0.15569983422756195, 0.6070091128349304, 0.7936315536499023, 0.5570498108863831, -0.07063768059015274, 0.8302103877067566, 0.030218185856938362, 0.26875561475753784, -0.4668867290019989, 0.75275057554245, -0.7106053233146667, 0.10981214791536331, -0.1983274221420288, -1.0642380714416504, -0.45242804288864136, 0.31042569875717163, -0.3270881175994873, 0.15990376472473145, 0.7012558579444885, 0.6367396712303162, -0.4452758729457855, -0.20472481846809387, 0.5498328804969788, -0.02086697705090046, 0.5956999659538269, 0.5848895907402039, 0.501609742641449, -0.14856143295764923, 0.28371310234069824, 0.1567358374595642, -0.5160455107688904, -0.42953261733055115, -1.002424716949463, -0.9488797783851624, -0.6331174373626709, -0.2780592739582062, -0.21501776576042175, 0.20785419642925262, 1.0729949474334717, 0.9278104901313782, -0.653253436088562, 0.023500975221395493, 0.3896275758743286, 0.009916707873344421, 0.07427975535392761, -0.1935253143310547, 0.9016848206520081, -0.1761363297700882, -1.0083950757980347, 0.5090699195861816, 0.6395450234413147, -0.010476231575012207, -0.10325641930103302, 0.002312326105311513, -0.30644354224205017, 0.07467719167470932, 0.8838024139404297, 0.2024811953306198, -0.6456634402275085, -0.8941901326179504, -0.2033970206975937, 0.040654368698596954, -0.019786866381764412, 0.5772304534912109, -0.7238698601722717, 0.5052242279052734, 0.5764773488044739, 1.092787504196167, 0.3745613098144531, 0.03953207656741142, 0.6060149669647217, -0.8145194053649902, 0.2749006450176239, -0.041431259363889694, 0.6261036992073059, 0.5066970586776733, -0.41078484058380127, 0.16676008701324463, -0.23027518391609192, -0.3264322578907013, -0.6010751724243164, 0.3968364894390106, -1.0697025060653687, -0.19265589118003845, 1.3393986225128174, -0.6513561606407166, -0.24491433799266815, -0.14722619950771332, -0.003155283397063613, 0.28025728464126587, -0.4471319317817688, 0.5147045850753784, 0.7950700521469116, -0.05662239342927933, -0.012421110644936562, -0.25894370675086975, 0.24201714992523193, 0.4346309304237366, -0.5647889375686646, 0.07660795003175735, 0.2306595891714096, 0.32821837067604065, 0.1852354258298874, 0.23512385785579681, -0.6060141921043396, 0.039216939359903336, -0.33766305446624756, -0.16753283143043518, -0.401605486869812, -0.18238486349582672, -0.5296579003334045, 0.29246053099632263, 0.43938377499580383, -0.16438300907611847 ]
http://arxiv.org/abs/2402.11572v1
http://arxiv.org/pdf/2402.11572v1
Cobra Effect in Reference-Free Image Captioning Metrics
2024-02-18T12:36:23
2024-02-18T12:36:23
Zheng Ma, Changxin Wang, Yawen Ouyang, Fei Zhao, Jianbing Zhang, Shujian Huang, Jiajun Chen
cs.CL
cs.CL
Evaluating the compatibility between textual descriptions and corresponding images represents a core endeavor within multi-modal research. In recent years, a proliferation of reference-free methods, leveraging visual-language pre-trained models (VLMs), has emerged. Empirical evidence has substantiated that these innovative approaches exhibit a higher correlation with human judgment, marking a significant advancement in the field. However, does a higher correlation with human evaluations alone sufficiently denote the complete of a metric? In response to this question, in this paper, we study if there are any deficiencies in reference-free metrics. Specifically, inspired by the Cobra Effect, we utilize metric scores as rewards to direct the captioning model toward generating descriptions that closely align with the metric's criteria. If a certain metric has flaws, it will be exploited by the model and reflected in the generated sentences. Our findings reveal that descriptions guided by these metrics contain significant flaws, e.g. incoherent statements and excessive repetition. Subsequently, we propose a novel method termed Self-Improving to rectify the identified shortcomings within these metrics. We employ GPT-4V as an evaluative tool to assess generated sentences and the result reveals that our approach achieves state-of-the-art (SOTA) performance. In addition, we also introduce a challenging evaluation benchmark called Flaws Caption to evaluate reference-free image captioning metrics comprehensively. Our code is available at https://github.com/aaronma2020/robust_captioning_metric
[ -0.3292962610721588, -0.20973671972751617, 0.43944159150123596, 0.10596160590648651, -0.6781911253929138, -0.1297333538532257, 0.25947922468185425, -0.497575044631958, 0.41193047165870667, 0.2539120018482208, -0.3547070324420929, -0.15274709463119507, -0.3867805600166321, 0.319476455450058, -0.28320881724357605, 1.1971091032028198, -0.16338945925235748, 0.04253097251057625, -0.634329617023468, -0.3239438831806183, -0.6745162010192871, -0.3883248567581177, 0.010669266805052757, 0.17449112236499786, 0.6856651902198792, 0.26735126972198486, 0.8669549226760864, 0.9478768110275269, 1.0313546657562256, 0.17756269872188568, 0.31249693036079407, 0.2085351198911667, -0.4116640090942383, -0.0066115763038396835, -0.09707695990800858, -0.17522548139095306, -0.09437038749456406, 0.06321726739406586, 0.7405528426170349, 0.1507551223039627, 0.03309250250458717, 0.19054678082466125, -0.01575629599392414, 0.5881665349006653, -0.7853779196739197, 0.3779686987400055, -0.41440078616142273, -0.07086750864982605, -0.4149777591228485, -0.649188220500946, -0.12735822796821594, -0.30268922448158264, 0.20762285590171814, -0.5431816577911377, 0.2478809803724289, 0.3171231150627136, 1.4674253463745117, 0.7118541598320007, -0.3014618158340454, -0.23557507991790771, -0.4701434075832367, 0.5300188064575195, -0.6417458653450012, 0.11900907009840012, 0.04525545984506607, 0.33812594413757324, -0.0463746003806591, -0.86075758934021, -0.6757252216339111, -0.4754249155521393, -0.1368601769208908, 0.47771167755126953, -0.6856260895729065, -0.19907386600971222, 0.1921466439962387, 0.5553414225578308, -0.40833258628845215, 0.12371639162302017, -0.5657728314399719, -0.43193069100379944, 0.4262520968914032, 0.20261037349700928, 0.231134295463562, -0.8289613127708435, -0.6295863389968872, -0.14745692908763885, -0.6915122866630554, 0.1614387035369873, 0.34545260667800903, 0.1425400972366333, -0.021976562216877937, 0.5837041735649109, -0.2269131988286972, 0.5117546319961548, -0.22492177784442902, 0.28840190172195435, 0.33277013897895813, -0.7035266757011414, -0.2426265925168991, -0.38001933693885803, 0.9229688048362732, 0.6428805589675903, 0.31431591510772705, -0.32485532760620117, 0.030397992581129074, 0.3973428010940552, 0.4407461881637573, -0.8698148131370544, -0.30880141258239746, -0.09047865122556686, -0.42597439885139465, -0.42719873785972595, 0.42631345987319946, -0.5385716557502747, -0.5524197816848755, -0.09609987586736679, 0.31047794222831726, -0.3829326629638672, 0.011249740608036518, -0.1455017328262329, -0.18879282474517822, 0.34755560755729675, 0.06801581382751465, -0.2174554467201233, -0.02465399168431759, 0.06307783722877502, 0.9372013211250305, -0.10202689468860626, -0.3397751748561859, -0.8378735780715942, 0.22037366032600403, -0.37023255228996277, 1.1831845045089722, -0.28995269536972046, -0.2723765969276428, -0.13570021092891693, -0.16476354002952576, 0.22955244779586792, -0.5071020126342773, 0.5793378949165344, -0.24905341863632202, 0.11246411502361298, -0.44515103101730347, -0.2667641043663025, -0.2372235208749771, 0.13952752947807312, -0.8420069813728333, 0.7795594930648804, 0.10122719407081604, -1.082053303718567, 0.39422860741615295, -0.6291402578353882, -0.3150031566619873, 0.21180978417396545, -0.3296254277229309, -0.8595696687698364, 0.1788780242204666, 0.46338263154029846, 0.3083387017250061, -0.3349137604236603, -0.04778553545475006, -0.32490232586860657, -0.4712497293949127, 0.6421424746513367, -0.1259903907775879, 0.4294474422931671, 0.19043028354644775, -0.3915331959724426, 0.4759470820426941, -0.4498443007469177, 0.0886218473315239, 0.22897180914878845, 0.15133164823055267, -0.36682263016700745, -0.041965898126363754, -0.2925516963005066, 0.1842549443244934, 0.011619489639997482, -0.32821160554885864, 0.07092812657356262, -0.1864130049943924, 0.4696296155452728, 0.8025697469711304, 0.2693973183631897, 0.19963623583316803, -0.42830759286880493, 0.5466201901435852, 0.1977877914905548, 0.29142335057258606, -0.5105555653572083, -0.18470551073551178, -0.9406158924102783, -0.3519585430622101, 0.4017402231693268, 0.22509337961673737, -1.0099208354949951, 0.13812604546546936, -0.40701156854629517, -0.5651564598083496, -0.49597540497779846, 0.07742047309875488, 0.5393272638320923, 0.47920939326286316, 0.4269767701625824, -1.0746097564697266, -0.36688897013664246, -1.080463171005249, -0.08225459605455399, -0.20075839757919312, 0.01996045932173729, 0.4221023917198181, 0.32884448766708374, -0.12084385752677917, 0.8780097365379333, -0.33747225999832153, -0.6724950671195984, 0.14045646786689758, 0.07836288213729858, -0.3402019143104553, 0.2331075221300125, 0.7199286818504333, -0.37815630435943604, -0.17659693956375122, -0.3607669472694397, -0.9255425333976746, -0.11051986366510391, -0.40927812457084656, -0.11908305436372757, 0.19667868316173553, 0.47668248414993286, -0.4607504606246948, 0.6189262866973877, 0.41502875089645386, -0.07088149338960648, 0.7948176264762878, -0.24905997514724731, 0.056022293865680695, -0.5969696044921875, 0.15852490067481995, 0.245143860578537, -0.1634175330400467, -0.16134750843048096, 0.34695059061050415, 0.19746072590351105, 0.15587560832500458, -0.5200554728507996, 0.19897356629371643, -0.6757320761680603, -0.2761152684688568, -0.1374843865633011, 0.333601713180542, -0.04046517238020897, 0.5143963098526001, -0.23997078835964203, 0.7759849429130554, 0.5293465852737427, -0.48934972286224365, 0.4162229895591736, 0.07943443953990936, -0.4166605770587921, 0.6962275505065918, -0.6959851980209351, 0.16085471212863922, -0.23827871680259705, 0.2968054711818695, -1.153917670249939, -0.1393420398235321, 0.4614918529987335, -0.39667072892189026, 0.04148454591631889, 0.2720826268196106, -0.5828216075897217, -0.7525514960289001, -0.47335729002952576, 0.25027337670326233, 0.24559776484966278, -0.20593367516994476, 0.28648096323013306, -0.0815838873386383, 0.006730744615197182, -0.6127708554267883, -0.5147201418876648, 0.2188117653131485, -0.291940301656723, -0.360191285610199, -0.025109559297561646, -0.020897196605801582, 0.09074615687131882, 0.08623945713043213, -0.3286561965942383, 0.051076553761959076, -0.13266879320144653, 0.40786507725715637, 0.32064294815063477, 0.005602833814918995, 0.15430013835430145, -0.19849304854869843, -0.14521951973438263, -0.02156350389122963, -0.12469283491373062, 0.30952325463294983, -0.6475472450256348, -0.2347056269645691, -0.8604483008384705, -0.027286699041724205, 0.5004928112030029, -0.643441379070282, 0.21377357840538025, 0.4765659272670746, 0.1955178827047348, 0.2731599807739258, -0.35849469900131226, -0.040599383413791656, -0.4377588927745819, 0.29063329100608826, -0.3159692585468292, -0.5180760025978088, 0.4085667133331299, 0.029955575242638588, -0.22184491157531738, 0.49716702103614807, 0.28481969237327576, -0.3955434560775757, 0.5661730170249939, 0.564799964427948, 0.1548379510641098, 0.6394132971763611, -0.39769843220710754, 0.06747326999902725, -0.7735630869865417, -0.16015762090682983, -0.3378130793571472, -0.32941940426826477, -0.5029842853546143, -0.37283405661582947, 0.2411995232105255, -0.07897114008665085, -0.18042276799678802, 0.2945560812950134, -0.6350424885749817, 0.48875513672828674, 0.676853597164154, -0.03523590415716171, 0.2692415714263916, 0.10917975753545761, -0.18290963768959045, -0.3154597878456116, -0.5973709225654602, -0.3748015761375427, 1.0244044065475464, 0.18083809316158295, 0.6637144088745117, 0.12820357084274292, 0.5610665082931519, 0.49537187814712524, 0.3821711838245392, -0.7096796035766602, 0.43081578612327576, -0.013744168914854527, -0.22035449743270874, -0.19172795116901398, -0.5487561821937561, -1.1593903303146362, 0.17491711676120758, -0.21232156455516815, -0.3383297324180603, -0.04897547885775566, 0.1278746873140335, -0.47722333669662476, -0.12336412072181702, -0.517715334892273, 0.9833757877349854, -0.486192524433136, -0.30712029337882996, -0.023598164319992065, -0.8370240926742554, 0.3421788513660431, -0.047965843230485916, 0.06891272962093353, -0.0630323514342308, -0.00653073051944375, 0.5272893309593201, -0.41611161828041077, 0.6106378436088562, -0.11561957001686096, 0.21434161067008972, 0.4829522669315338, 0.2820165753364563, 0.2531545162200928, -0.22437094151973724, 0.3059544265270233, 0.3637276887893677, 0.14009474217891693, -0.5371712446212769, -0.7465845942497253, 0.4133833646774292, -0.8618713021278381, -0.4911193251609802, -0.6252720952033997, -0.6050248146057129, 0.11326995491981506, 0.2669118642807007, 0.20303738117218018, 0.5103611946105957, -0.04387541860342026, 0.1398962140083313, -0.04516975209116936, -0.43499496579170227, 0.5310482382774353, 0.4763643145561218, -0.1577419489622116, -0.6720645427703857, 0.9278154373168945, 0.22123213112354279, 0.3107806444168091, -0.03877733275294304, 0.17901265621185303, -0.4429883062839508, -0.4625979959964752, -0.7285850644111633, 0.544786810874939, -0.563625693321228, -0.6196032762527466, -0.13034352660179138, -0.006795120425522327, -0.21755506098270416, 0.10025447607040405, -0.17934948205947876, -0.30503833293914795, -0.12323165684938431, 0.040409911423921585, 0.12156245112419128, 0.6599650979042053, 0.010902168229222298, 0.4459141194820404, -0.6174269914627075, 0.2738243043422699, 0.13389909267425537, 0.40007880330085754, 0.05306258797645569, -0.41878122091293335, -0.27984073758125305, -0.01775873452425003, -0.7273269295692444, -0.7748809456825256, 0.2932112216949463, 0.12893815338611603, 0.4681580364704132, 0.42372751235961914, 0.3232179284095764, 1.033843994140625, -0.4636586308479309, 0.9154333472251892, 0.509084939956665, -1.004834771156311, 0.5913382768630981, -0.39822229743003845, 0.3282684087753296, 0.26791179180145264, 0.09445949643850327, -0.43322041630744934, -0.7869267463684082, -0.7392367124557495, -0.7353517413139343, 0.3385963439941406, 0.4781337380409241, 0.3474944829940796, 0.008325807750225067, 0.37366682291030884, -0.054596517235040665, 0.11263386160135269, -1.0107862949371338, -0.22498758137226105, -0.7470636367797852, 0.06931411474943161, 0.022353706881403923, -0.11088540405035019, -0.06787044554948807, -0.25327908992767334, 0.35703566670417786, -0.2535202205181122, 0.3516930043697357, 0.36455070972442627, -0.1656443476676941, -0.026316339150071144, 0.15287216007709503, 0.6940101981163025, 0.587525486946106, -0.011233516968786716, 0.09542056918144226, -0.1510515660047531, -0.09244818240404129, -0.1161758154630661, 0.044632021337747574, -0.16042593121528625, 0.17717339098453522, 0.2114800214767456, 0.7210046052932739, -0.007701846770942211, -0.5237497091293335, 0.8722951412200928, -0.19658790528774261, -0.00341307302005589, -0.30618706345558167, -0.14202278852462769, -0.1956939399242401, 0.017619483172893524, 0.25833427906036377, 0.29750046133995056, 0.21747064590454102, -0.48457273840904236, 0.29171720147132874, 0.42199620604515076, -0.610447347164154, -0.14345906674861908, 0.8061960935592651, 0.24088793992996216, -0.0465087890625, 0.6551945209503174, -0.20323778688907623, -0.22808462381362915, 0.5971791744232178, 0.3321242034435272, 0.6294209957122803, 0.05633235722780228, 0.3370820879936218, 0.2855144739151001, 0.440552294254303, 0.2880830764770508, 0.05840715393424034, -0.14724020659923553, -0.5606833696365356, -0.4111965298652649, -0.28367316722869873, -0.45612451434135437, -0.1483907401561737, -0.7251622676849365, 0.3645683228969574, -0.4533237814903259, -0.1465597152709961, 0.1612260788679123, -0.24159111082553864, -0.7214269638061523, 0.1457139253616333, 0.1387011706829071, 0.4180208146572113, -0.6386630535125732, 0.7566612958908081, 0.5609268546104431, -1.3175712823867798, -1.1162151098251343, 0.15235264599323273, -0.16898509860038757, -0.6837265491485596, 0.49766793847084045, 0.4181034564971924, -0.21124190092086792, -0.06810799241065979, -0.514642596244812, -0.8471355438232422, 0.9557490348815918, 0.5426035523414612, -0.32852694392204285, 0.05999811366200447, 0.16203618049621582, 0.7345226407051086, -0.2681792676448822, 0.28825533390045166, 0.2667851746082306, 0.1792490929365158, 0.20588867366313934, -1.0462497472763062, 0.22616595029830933, -0.23358778655529022, 0.18292295932769775, -0.07065767794847488, -0.925385594367981, 0.6536656022071838, -0.4588213264942169, -0.4299897253513336, 0.5225885510444641, 0.8394891023635864, 0.08978290110826492, 0.22600816190242767, 0.4345927834510803, 0.4072487950325012, 0.8125654458999634, -0.1448405534029007, 1.4427597522735596, -0.10086148977279663, 0.40339502692222595, 1.1165326833724976, -0.1729697436094284, 0.7671267986297607, 0.5284966230392456, 0.0005864941631443799, 1.074561357498169, 0.5182498693466187, -0.37241750955581665, 0.6310825347900391, 0.5167125463485718, 0.2095075249671936, -0.11954998970031738, -0.2741880416870117, -0.546497106552124, 0.7751415967941284, -0.24329067766666412, -0.39428502321243286, -0.1886671632528305, -0.10720768570899963, -0.15220235288143158, 0.135190948843956, -0.21146175265312195, 0.750396728515625, 0.010190702974796295, -0.4533354640007019, 0.7116692662239075, -0.3134424686431885, 0.5041294693946838, -0.3562995493412018, 0.16592708230018616, -0.30711162090301514, 0.1669139415025711, -0.2585268020629883, -0.699012279510498, 0.44689616560935974, 0.05192790552973747, -0.08396239578723907, -0.07916869968175888, 0.3917265832424164, -0.040200915187597275, -0.28550848364830017, 0.014288553968071938, 0.5420989990234375, 0.6095502972602844, -0.0542323961853981, -0.4769868552684784, -0.0513923242688179, -0.008427141234278679, 0.26423880457878113, -0.06671831011772156, 0.29591307044029236, -0.2591599225997925, 0.6617670059204102, 0.5180374979972839, 0.03665361925959587, 0.020096298307180405, 0.3235056698322296, 0.779216468334198, -0.7300281524658203, -0.672039270401001, -0.8046159744262695, 0.538578450679779, -0.20890872180461884, -0.07308829575777054, 0.9265652894973755, 0.6601658463478088, 0.7804056406021118, -0.19459852576255798, 0.8216907978057861, -0.047526463866233826, 0.34042730927467346, -0.24401794373989105, 0.6533126831054688, -0.8147073984146118, 0.132195383310318, -0.6415960192680359, -1.0123201608657837, -0.4741084575653076, 0.5532610416412354, -0.22314342856407166, -0.20323333144187927, 0.9125806093215942, 0.6502339839935303, 0.1513841450214386, -0.1691214144229889, 0.1625792235136032, 0.05904266610741615, 0.3588032126426697, 0.4751697778701782, 1.145875334739685, -0.5664655566215515, 1.1604293584823608, -0.061935700476169586, -0.0625724121928215, 0.05557319521903992, -0.9424930810928345, -0.5729147791862488, -0.3962421715259552, -0.5604482293128967, -0.4383774399757385, -0.14405246078968048, 0.21469786763191223, 0.4364820420742035, -0.45890912413597107, 0.007556049153208733, 0.017832009121775627, -0.12574522197246552, -0.35312777757644653, -0.20747044682502747, 0.49186813831329346, -0.34615984559059143, -0.47196584939956665, -0.2670392096042633, 0.3437092900276184, 0.13984009623527527, -0.4223317801952362, -0.21741585433483124, 0.2570214867591858, 0.20150861144065857, 0.4351733326911926, 0.3024834394454956, -1.0647696256637573, -0.742246687412262, 0.0776335820555687, -0.21459302306175232, 0.24848361313343048, 0.8028290867805481, -0.9007521271705627, 0.7942843437194824, 0.020542580634355545, 0.4968094527721405, 0.47442835569381714, 0.24564392864704132, 0.3722113072872162, -0.7989550232887268, -0.003430726006627083, -0.09591572731733322, 0.3730287551879883, 0.6492843627929688, -0.025334620848298073, 0.6657487750053406, 0.4934699535369873, -0.5038963556289673, -0.8380922079086304, 0.24268989264965057, -1.3126498460769653, -0.03822153061628342, 1.183211088180542, -0.18301726877689362, -0.007515041157603264, 0.2846432328224182, -0.4391498565673828, 0.36625173687934875, -0.10216812044382095, 1.0943903923034668, 0.629199206829071, -0.2967723608016968, -0.18441332876682281, -0.23129211366176605, 0.18160301446914673, 0.4554378092288971, -0.8360824584960938, -0.053802601993083954, 0.9054880738258362, 0.4928432106971741, 0.32722797989845276, 0.6310476660728455, -0.27480998635292053, 0.6122836470603943, 0.03732636570930481, 0.28963422775268555, -0.518337607383728, -0.13048647344112396, -0.22459420561790466, 0.03383837640285492, -0.017147881910204887, -0.5232053399085999 ]
http://arxiv.org/abs/2402.11571v1
http://arxiv.org/pdf/2402.11571v1
Ain't Misbehavin' -- Using LLMs to Generate Expressive Robot Behavior in Conversations with the Tabletop Robot Haru
2024-02-18T12:35:52
2024-02-18T12:35:52
Zining Wang, Paul Reisert, Eric Nichols, Randy Gomez
cs.RO
cs.RO, cs.AI, cs.CL
Social robots aim to establish long-term bonds with humans through engaging conversation. However, traditional conversational approaches, reliant on scripted interactions, often fall short in maintaining engaging conversations. This paper addresses this limitation by integrating large language models (LLMs) into social robots to achieve more dynamic and expressive conversations. We introduce a fully-automated conversation system that leverages LLMs to generate robot responses with expressive behaviors, congruent with the robot's personality. We incorporate robot behavior with two modalities: 1) a text-to-speech (TTS) engine capable of various delivery styles, and 2) a library of physical actions for the robot. We develop a custom, state-of-the-art emotion recognition model to dynamically select the robot's tone of voice and utilize emojis from LLM output as cues for generating robot actions. A demo of our system is available here. To illuminate design and implementation issues, we conduct a pilot study where volunteers chat with a social robot using our proposed system, and we analyze their feedback, conducting a rigorous error analysis of chat transcripts. Feedback was overwhelmingly positive, with participants commenting on the robot's empathy, helpfulness, naturalness, and entertainment. Most negative feedback was due to automatic speech recognition (ASR) errors which had limited impact on conversations. However, we observed a small class of errors, such as the LLM repeating itself or hallucinating fictitious information and human responses, that have the potential to derail conversations, raising important issues for LLM application.
[ -0.07459047436714172, -1.2594490051269531, 0.6251044273376465, 0.3469858467578888, -0.18465043604373932, 0.4858420491218567, -0.18542075157165527, -0.6475096940994263, 0.712835431098938, 0.4464419186115265, -0.5837612152099609, -0.44658952951431274, -0.5967206358909607, 0.12358783185482025, -0.35939130187034607, 0.6988523602485657, 0.3131108283996582, -0.3304749131202698, 0.05276089161634445, -0.11616829037666321, -0.3794337809085846, -0.5364685654640198, -0.6858853697776794, -0.4205769896507263, 0.7799546718597412, 0.45765799283981323, 1.0178428888320923, 0.432873398065567, 0.3207642734050751, 0.48902812600135803, -0.06208309531211853, 0.8085246086120605, -0.6620069146156311, 0.25480538606643677, 0.08270680159330368, -0.1879379004240036, -0.5481972098350525, -0.23969599604606628, 0.2978779673576355, 0.23929384350776672, -0.2808997631072998, -0.15908542275428772, 0.06105537712574005, 0.5301709175109863, -0.36513838171958923, 0.2348846048116684, -0.48146969079971313, 0.07904233783483505, -0.025097284466028214, -0.15475879609584808, -0.3609755337238312, -0.46180015802383423, -0.10137125849723816, -0.3106576204299927, -0.5729861855506897, -0.06501296907663345, 0.6936628222465515, 0.4870491623878479, -0.4369311034679413, -0.509482741355896, -1.0936962366104126, 0.5477188229560852, -0.6279460191726685, -0.02235424518585205, 0.5092604756355286, 0.46655088663101196, -0.4748515784740448, -0.2016184777021408, -0.908495306968689, -0.47332268953323364, 0.006527932360768318, 0.0430150181055069, -0.4573136568069458, 0.24070142209529877, 0.014792177826166153, -0.05951373279094696, -0.2814168632030487, 0.051946304738521576, -0.26653018593788147, -0.07311127334833145, 0.953497052192688, 0.453491747379303, 0.4357800781726837, -0.3581429719924927, -0.15113338828086853, -0.2093643844127655, -0.3366595208644867, 0.047416504472494125, 0.484784334897995, 0.43077757954597473, -0.425950288772583, 0.8552465438842773, -0.0568116120994091, 0.33002713322639465, 0.08815574645996094, -0.05851629376411438, 0.17614130675792694, -0.17460443079471588, -0.2659572660923004, -0.18175861239433289, 1.0901215076446533, 0.5981156826019287, 0.5941212773323059, -0.08597732335329056, -0.19958242774009705, 0.3239188492298126, 0.662695586681366, -0.24072979390621185, -0.17911450564861298, 0.29185736179351807, -0.22331714630126953, -0.6183182597160339, -0.13054347038269043, -0.6150304675102234, -0.549385130405426, -0.177186980843544, 0.5414186120033264, -0.40445441007614136, -0.025804199278354645, -0.0327354371547699, -0.027818825095891953, 0.03154835104942322, 0.5045293569564819, -0.6226916909217834, 0.2076016068458557, 0.46107563376426697, 0.862430989742279, 0.012324641458690166, -0.2028660625219345, -0.547329306602478, 0.2578968107700348, -0.583160400390625, 0.5548847317695618, -0.6083242893218994, -0.6588895320892334, 0.3312569856643677, 0.08137015998363495, 0.046887315809726715, -0.42961975932121277, 0.32429736852645874, -0.2686968147754669, -0.020008550956845284, 0.12905380129814148, -0.34182894229888916, 0.030317163094878197, 0.42442670464515686, -0.1909937709569931, 0.8010937571525574, -0.09345968812704086, -0.24056151509284973, -0.3437536656856537, -1.0181052684783936, -0.6659978032112122, 0.11820437014102936, -0.2702791392803192, -0.1582459956407547, -0.0915897935628891, -0.22374358773231506, 0.43352726101875305, 0.12921059131622314, 0.3139072060585022, -0.4217686355113983, -0.3049332797527313, 0.6609708070755005, -0.290437787771225, 0.39613041281700134, 0.0016597240464761853, -0.21302565932273865, 0.46406736969947815, -0.49621790647506714, 0.03453189134597778, 0.27923139929771423, -0.09713737666606903, -0.055661652237176895, 0.11509222537279129, -0.10854006558656693, 0.048517752438783646, 0.33480435609817505, -0.638350248336792, -0.06760045140981674, -0.3429122567176819, 0.433481901884079, 0.8168802261352539, -0.16397611796855927, 0.4176749587059021, -0.7635555267333984, 0.5171709060668945, -0.40620753169059753, 0.13554410636425018, -0.01903463713824749, -0.4475937783718109, -0.7339404821395874, -0.02212955243885517, -0.3662099540233612, 0.852570116519928, -0.8854309320449829, 0.7002223134040833, -0.06934281438589096, -0.7341682314872742, -0.23915880918502808, 0.010336305014789104, 0.4150376617908478, 0.3336060047149658, 0.12888121604919434, -0.09222009778022766, -0.4150613844394684, -0.6674537658691406, -0.1834387183189392, -0.7315834164619446, -0.21129906177520752, 0.6915425658226013, 0.13395971059799194, -0.5877072811126709, 0.7603509426116943, -0.27595067024230957, -0.2946610450744629, -0.4194141924381256, 0.18481621146202087, -0.18040618300437927, 0.2798367440700531, 0.2945156991481781, -0.3824523687362671, -0.45368197560310364, 0.01983175426721573, -0.7070087790489197, -0.2082781195640564, -0.05730515345931053, -0.29524487257003784, 0.5908930897712708, 0.38161349296569824, -1.011033058166504, 0.5503819584846497, 0.4435802698135376, -0.14010673761367798, 0.3062357008457184, -0.17315952479839325, 0.22993601858615875, -0.8687918782234192, -0.25622496008872986, -0.10513351857662201, -0.27277666330337524, -0.703736424446106, -0.4608345627784729, -0.41511279344558716, -0.09738556295633316, -0.5351682901382446, 0.5314265489578247, 0.058076705783605576, -0.0076296646147966385, -0.38763228058815, 0.3974120318889618, -0.11747962981462479, 0.45336249470710754, -0.02493259683251381, 0.4815523028373718, 0.1600590944290161, -0.7177167534828186, 0.5455960631370544, 0.5095844268798828, 0.10671346634626389, 0.5745867490768433, -0.8040859699249268, 0.4666300415992737, 0.04119984433054924, 0.32259368896484375, -0.9365074038505554, -0.5682095885276794, 0.6670156717300415, -0.8083444833755493, 0.10184350609779358, 0.07523341476917267, -0.6740179061889648, -0.30698075890541077, -0.3647424280643463, -0.3281157612800598, 0.46553635597229004, -0.2871279716491699, 0.9825140237808228, 0.7549583911895752, -0.5057776570320129, -0.3000245690345764, -0.6583329439163208, 0.36566099524497986, -0.28470370173454285, -0.8849884271621704, 0.17031030356884003, -0.1547371745109558, -0.31703707575798035, -0.2811228930950165, 0.1499098688364029, 0.05206778272986412, -0.005486293695867062, 0.2839733958244324, 0.4521503746509552, 0.20591343939304352, 0.1306990534067154, 0.15769237279891968, 0.04787696897983551, 0.07038833945989609, 0.5811803936958313, 0.8467084169387817, -0.21845006942749023, -0.3597504198551178, -0.7814132571220398, 0.21236616373062134, 0.7245516180992126, 0.44025862216949463, 0.2675938606262207, 0.5090419054031372, -0.383504182100296, 0.06251300126314163, -0.3449702262878418, -0.32537075877189636, -0.5840127468109131, 0.33303794264793396, -0.036188993602991104, -0.9300016760826111, 0.5133813619613647, 0.10022910684347153, 0.139568492770195, -0.33331140875816345, 0.5287808775901794, -0.6004783511161804, 0.8866244554519653, 0.677030086517334, 0.02928007021546364, 0.8352442383766174, 0.3456576466560364, 0.41772082448005676, -0.5173671245574951, -0.21713298559188843, -0.480133980512619, -0.43156546354293823, -0.8114821314811707, -0.5205128788948059, 0.27003830671310425, -0.5765732526779175, -0.5528393983840942, 0.271942138671875, -0.18294787406921387, 0.4224541187286377, 0.3120235800743103, 0.18732963502407074, 0.1759498417377472, -0.14425800740718842, 0.5224016904830933, 0.03557979315519333, -0.43772798776626587, -1.0795537233352661, 0.7492249011993408, 0.4855584502220154, 1.0124138593673706, 0.3020078241825104, 0.8244921565055847, 0.4855000078678131, 0.27201077342033386, -0.9266237616539001, 0.7901425957679749, -0.1904018372297287, -0.2670135796070099, -0.5822731256484985, -0.46779850125312805, -0.9677576422691345, -0.05454466864466667, -0.25620004534721375, -1.2066950798034668, -0.028529580682516098, 0.2855253219604492, -0.3724362254142761, 0.16544221341609955, -0.575836181640625, 0.6598128080368042, -0.3017944097518921, -0.24605846405029297, -0.2709696888923645, -0.8323512673377991, 0.2918504774570465, 0.22442908585071564, 0.2614850699901581, -0.2907852232456207, 0.20346391201019287, 0.391385942697525, -0.22283218801021576, 1.2543936967849731, -0.06941840797662735, -0.2414492964744568, 0.4357514977455139, 0.5968105792999268, 0.657783567905426, -0.16460178792476654, 0.10553936660289764, 0.3189685046672821, -0.06772448122501373, 0.022413870319724083, -0.7876301407814026, 0.3533138036727905, -0.8440544605255127, -0.523976743221283, -0.11919308453798294, -0.5153584480285645, -0.22331510484218597, -0.07380104064941406, -0.20002134144306183, -0.019176797941327095, -0.38294631242752075, 0.0892307311296463, 0.28291836380958557, -0.5711848735809326, 0.30733317136764526, 0.48701921105384827, -0.32534489035606384, -0.32278844714164734, 0.9159700870513916, -0.10442700982093811, 0.5801700949668884, 0.07761147618293762, 0.28039318323135376, -0.22752325236797333, 0.25568482279777527, -0.6007169485092163, 0.19736145436763763, -0.5206305980682373, -0.21429672837257385, -0.9291340112686157, -0.17116883397102356, -0.25491711497306824, -0.3542548716068268, -0.5093187689781189, -0.36024343967437744, -0.20138931274414062, 0.00865517370402813, 0.5188925266265869, 0.8379926085472107, -0.2873894274234772, 0.7343803644180298, -1.0803914070129395, 0.40088552236557007, 0.24731968343257904, 0.07383633404970169, -0.013926693238317966, -0.5407204627990723, 0.16333860158920288, 0.2251574993133545, -0.5662078857421875, -0.9300444722175598, 0.6197776198387146, 0.21094200015068054, 0.2749616503715515, 0.2683590054512024, 0.2552255690097809, 0.5110585689544678, -0.4621579051017761, 0.5678563117980957, 0.07118410617113113, -0.9048096537590027, 0.6806042194366455, -0.5700910091400146, -0.08198978751897812, 0.2941336929798126, 0.011687787249684334, -0.7361983060836792, -0.7827315926551819, -0.6025954484939575, -0.8234780430793762, 0.7282130122184753, 0.29847627878189087, 0.7575390934944153, -0.1273796260356903, 0.11723676323890686, -0.26089778542518616, 0.34673991799354553, -0.7056642174720764, -0.25537583231925964, -0.05642729997634888, -0.37350255250930786, 0.029060350731015205, -0.05108575150370598, -0.2732382118701935, 0.19554565846920013, 0.42214706540107727, -0.16934697329998016, 0.5163761377334595, -0.15922124683856964, 0.06463827192783356, -0.46892842650413513, 0.22644305229187012, 0.5039674043655396, 0.05284000188112259, -0.1770358383655548, -0.12075254321098328, 0.07525566965341568, -0.24412937462329865, -0.0893457680940628, -0.21014152467250824, 0.20744019746780396, -0.02083657495677471, -0.10358428210020065, 0.6020128130912781, 0.1673712283372879, -0.8401771783828735, 0.3545457422733307, -0.177092045545578, 0.18289946019649506, -0.4885769784450531, 0.36692461371421814, 0.19755437970161438, 0.4986354410648346, 0.03310804441571236, -0.030042331665754318, 0.09301748871803284, -0.7507990002632141, 0.10593412071466446, 0.49069297313690186, -0.390430212020874, -0.237442284822464, 0.22252382338047028, 0.4718453586101532, -0.9805415272712708, 0.4766019582748413, -0.2409728765487671, -0.5548408627510071, 0.6770990490913391, 0.5552685260772705, 0.9139496684074402, -0.19651944935321808, 0.574402928352356, 0.03089291602373123, 0.4238379895687103, 0.24889521300792694, 0.396514892578125, -0.23009762167930603, -0.9253830313682556, -0.21989159286022186, -0.2716621160507202, -1.042125940322876, -0.12303927540779114, -0.3123399615287781, 0.3067932426929474, -0.5326061248779297, -0.3361460566520691, -0.165217787027359, -0.3604838252067566, -0.33443042635917664, -0.1818668693304062, 0.14871090650558472, 0.25480276346206665, -0.7552928328514099, 0.5321201086044312, 0.6746447086334229, -0.2116224765777588, -0.5091284513473511, 0.03701223433017731, 0.1902509480714798, -0.8757991790771484, 0.601123571395874, 0.1727171391248703, -0.7396387457847595, -0.2844766080379486, -0.8689424395561218, -0.5978338718414307, 0.7193644046783447, 0.26484766602516174, -0.47317153215408325, 0.14990946650505066, 0.282438188791275, 0.6533218026161194, -0.3598412275314331, 0.16919070482254028, 0.3378294110298157, 0.39089542627334595, 0.32371607422828674, -1.1426414251327515, -0.09871196001768112, -0.29120129346847534, -0.17355678975582123, 0.01188732124865055, -0.923859179019928, 0.3478843569755554, -0.2665887773036957, -0.47618067264556885, 0.2348213791847229, 0.634056031703949, 0.6351645588874817, 0.6430272459983826, 0.48503804206848145, 0.10098826885223389, 0.843450665473938, 0.0326608344912529, 0.8218700289726257, -0.25081154704093933, -0.10739382356405258, 0.998141348361969, -0.5512423515319824, 0.8850226402282715, 0.3246968686580658, -0.09494615346193314, 0.4416040778160095, 0.33892160654067993, 0.3182528018951416, 0.08791887015104294, 0.23350070416927338, -0.19136717915534973, -0.3033009469509125, -0.20637305080890656, 0.039232440292835236, 0.6019564270973206, 0.6935617923736572, 0.07359994202852249, 0.20493140816688538, -0.09981968253850937, 0.08296426385641098, 0.2007201910018921, 0.14086738228797913, 0.9264430999755859, 0.27346208691596985, -0.26919734477996826, 0.19849024713039398, -0.163574680685997, 0.9707483649253845, -0.47934505343437195, -0.1125263124704361, -0.11621668934822083, -0.08185429126024246, -0.13423363864421844, -0.7522080540657043, 0.6066474318504333, 0.17321771383285522, 0.1407158523797989, -0.1347694993019104, 0.8180884122848511, -0.33745020627975464, -0.2544146776199341, 0.49610549211502075, 0.5635373592376709, 0.3643074333667755, 0.1851198524236679, -0.5504018068313599, 0.5503419041633606, -0.12848946452140808, 0.025370171293616295, 0.2009623497724533, 0.5933375954627991, 0.0016600547824054956, 1.0964033603668213, 0.5858207941055298, -0.23951871693134308, -0.29778167605400085, 0.14716209471225739, 0.6723856925964355, -0.745836615562439, -0.4382593333721161, -0.8555742502212524, 0.5783829689025879, -0.07244716584682465, -0.1391264945268631, 0.4589116871356964, -0.08335589617490768, 0.43419942259788513, 0.1441144198179245, 0.6500438451766968, -0.05811624974012375, 0.6393591165542603, -0.16906246542930603, 0.7670639753341675, -0.4676900804042816, 0.19102954864501953, -0.6519206762313843, -0.5850197076797485, -0.18572762608528137, 1.0905086994171143, -0.1600961983203888, 0.199928417801857, 0.15537665784358978, 0.8837926983833313, 0.29433006048202515, 0.172079399228096, 0.5830289125442505, 0.30633217096328735, 0.5303091406822205, 0.2783299684524536, 1.2444477081298828, -0.14635059237480164, 0.6246422529220581, -0.02134062349796295, -0.21720795333385468, -0.3884064257144928, -0.6962249279022217, -0.7091585397720337, -0.23240919411182404, -0.3382726311683655, -0.5885441899299622, 0.20520952343940735, 1.1981829404830933, 0.3996312618255615, -0.2511574327945709, -0.4514709711074829, 0.08953946828842163, 0.3358745574951172, 0.39440497756004333, -0.2568551301956177, -0.03146545961499214, -0.44888508319854736, -0.8828797340393066, 0.654863715171814, 0.4958842694759369, 0.26605573296546936, -0.1121058240532875, -0.36953580379486084, 0.11282318085432053, 0.5111067891120911, 0.8295012712478638, 0.3748401403427124, -0.5700762867927551, -0.5231666564941406, 0.17136669158935547, -0.1538548618555069, 0.11531315743923187, 0.2564599812030792, -0.3932991623878479, 0.31033146381378174, 0.11913061141967773, 0.5938910245895386, 0.12938329577445984, 0.09821803867816925, 0.6558229327201843, -0.48197275400161743, -0.14027535915374756, 0.37248918414115906, 0.10978882759809494, 0.42793411016464233, -0.4634064733982086, 0.30608293414115906, -0.047530464828014374, -0.7838444113731384, -0.8592294454574585, 0.4362384080886841, -1.0565967559814453, 0.053773440420627594, 1.1544160842895508, 0.037805646657943726, -0.3797488212585449, -0.1349455565214157, -0.4458140432834625, 0.31818056106567383, -0.8903381824493408, 1.1373811960220337, 0.583458662033081, -0.636461615562439, -0.04825939983129501, -0.41469162702560425, 0.24778461456298828, 0.34377941489219666, -0.8035579323768616, 0.30597418546676636, 0.7129834890365601, -0.17123550176620483, 0.33697307109832764, 0.7432491779327393, -0.09990822523832321, 0.17734912037849426, -0.13400313258171082, 0.12287583202123642, 0.29546022415161133, -0.3021651804447174, -0.15789444744586945, -0.26575082540512085, -0.066233329474926, -0.2553585171699524 ]
http://arxiv.org/abs/2402.11569v1
http://arxiv.org/pdf/2402.11569v1
Developing Autonomous Robot-Mediated Behavior Coaching Sessions with Haru
2024-02-18T12:33:54
2024-02-18T12:33:54
Matouš Jelínek, Eric Nichols, Randy Gomez
cs.RO
cs.RO, cs.AI, cs.CL
This study presents an empirical investigation into the design and impact of autonomous dialogues in human-robot interaction for behavior change coaching. We focus on the use of Haru, a tabletop social robot, and explore the implementation of the Tiny Habits method for fostering positive behavior change. The core of our study lies in developing a fully autonomous dialogue system that maximizes Haru's emotional expressiveness and unique personality. Our methodology involved iterative design and extensive testing of the dialogue system, ensuring it effectively embodied the principles of the Tiny Habits method while also incorporating strategies for trust-raising and trust-dampening. The effectiveness of the final version of the dialogue was evaluated in an experimental study with human participants (N=12). The results indicated a significant improvement in perceptions of Haru's liveliness, interactivity, and neutrality. Additionally, our study contributes to the broader understanding of dialogue design in social robotics, offering practical insights for future developments in the field.
[ -0.1681535840034485, -0.8738070130348206, 0.47877708077430725, 0.15514801442623138, -0.016369793564081192, 0.38221508264541626, -0.13439996540546417, -0.6003482937812805, 0.9398069381713867, 0.2146877944469452, -0.7327924966812134, -0.07250267267227173, -0.3430721163749695, 0.2635315954685211, 0.08168995380401611, 0.41480767726898193, 0.2619473338127136, 0.1013621911406517, 0.43982869386672974, -0.19928914308547974, -0.7878418564796448, -0.0007503015222027898, -1.1645432710647583, -0.6417372822761536, 0.627899169921875, 0.6554323434829712, 1.0617817640304565, 0.4991864264011383, 0.3743093013763428, 0.4470427632331848, -0.08806503564119339, 0.31412652134895325, -0.39108914136886597, 0.011577709577977657, -0.10103552788496017, -0.4366249740123749, -0.6978539228439331, 0.10593456774950027, 0.5039635300636292, 0.5245631337165833, -0.371182918548584, 0.23106199502944946, 0.234593465924263, 0.5771571397781372, -0.23975172638893127, 0.3590841591358185, -0.3098004460334778, 0.2868778705596924, 0.19686196744441986, -0.01661376841366291, -0.38453638553619385, -0.3891373872756958, -0.25809139013290405, -1.0146199464797974, -0.17512977123260498, 0.3501904308795929, 0.6407374143600464, 0.678500771522522, -0.4394170343875885, -0.3858829438686371, -1.165928840637207, 0.5865485072135925, -0.514138400554657, -0.048332326114177704, 0.5999447107315063, 0.3156755864620209, -0.5884610414505005, -0.17371626198291779, -0.7141256928443909, -0.2042301446199417, -0.15039853751659393, 0.09820825606584549, -0.2561796009540558, 0.2890673577785492, -0.16715463995933533, 0.0025456331204622984, -0.09304261952638626, 0.07656272500753403, -0.33696281909942627, -0.0198797807097435, 1.0125398635864258, 0.4460119605064392, 0.28593894839286804, -0.4564625322818756, 0.12933777272701263, -0.3731288015842438, -0.39345788955688477, 0.38871514797210693, 0.4598592221736908, 0.34693849086761475, -0.3183695077896118, 0.4679684042930603, -0.3852023780345917, 0.4359850585460663, 0.25829553604125977, -0.41590651869773865, 0.06028183549642563, -0.57422935962677, 0.01665065623819828, 0.12655508518218994, 0.8749049305915833, 0.5514392256736755, 0.5002972483634949, 0.17839477956295013, -0.031212523579597473, 0.025150762870907784, 0.6962531805038452, -0.509759783744812, -0.33746105432510376, 0.013670036569237709, -0.7869588732719421, -0.6750167012214661, 0.12399153411388397, -0.8352392911911011, -0.716791033744812, -0.3249798119068146, 0.6922595500946045, -0.2263106256723404, -0.33895590901374817, 0.07738596946001053, -0.07769667357206345, -0.0907600075006485, 0.6187613606452942, -0.7373495697975159, 0.5346240401268005, 0.32052507996559143, 0.8904432654380798, -0.02129307948052883, -0.24348856508731842, -0.6214072108268738, 0.22543185949325562, -0.5697369575500488, 0.6795701384544373, -0.4620126187801361, -1.0051265954971313, 0.038704194128513336, 0.049760058522224426, -0.16635555028915405, -0.6563829779624939, 0.06571528315544128, -0.005490921903401613, -0.06824687868356705, 0.024584559723734856, -0.17008790373802185, 0.030716130509972572, 0.3101258873939514, -0.47308462858200073, 0.8597633838653564, 0.17802631855010986, -0.06504137068986893, 0.2509769797325134, -1.2975704669952393, -0.7683048844337463, 0.1415119171142578, -0.39894959330558777, -0.3130812346935272, -0.10512030124664307, -0.22591632604599, 0.11196012794971466, 0.15978208184242249, -0.14799128472805023, -0.305041640996933, -0.42164111137390137, 0.3375955820083618, 0.01707138493657112, 0.895343005657196, 0.003615360939875245, -0.4800308644771576, 0.6816979646682739, -0.38104018568992615, 0.033650267869234085, 0.1396421194076538, -0.019299274310469627, -0.1958238035440445, 0.09170695394277573, -0.6022288203239441, 0.19854736328125, 0.04563358798623085, -0.8791134357452393, 0.19639743864536285, -0.12422976642847061, 0.4541133642196655, 1.0286012887954712, 0.30574145913124084, 0.6697775721549988, -0.7442091703414917, 0.6896820068359375, -0.6570136547088623, 0.6687703728675842, 0.17173728346824646, -0.7889926433563232, -0.7573447227478027, -0.20077800750732422, -0.298458456993103, 0.3768712282180786, -0.7515798211097717, 0.5461035966873169, -0.02643098309636116, -0.4024485647678375, -0.6685444116592407, 0.3129828870296478, 0.3542838394641876, 0.2282482087612152, 0.09670829772949219, -0.4805249273777008, -0.3932744860649109, -0.5399237275123596, 0.06610395014286041, -0.7187970876693726, 0.01196242868900299, 0.6048232913017273, 0.7247911095619202, -0.316642165184021, 1.0090115070343018, -0.4419098198413849, -0.6959131956100464, -0.34900131821632385, 0.2865735590457916, -0.17033739387989044, 0.5706800818443298, 0.43346837162971497, -0.5408409237861633, -0.8417559862136841, 0.009408446028828621, -0.5936164855957031, 0.5182890295982361, -0.08156410604715347, -0.3032192885875702, 0.15578672289848328, 0.4131370186805725, -1.1261894702911377, 1.0225037336349487, 0.14156222343444824, -0.601402759552002, 0.6641623973846436, -0.3287335932254791, 0.5262645483016968, -0.6164851188659668, -0.3354147672653198, -0.24797426164150238, -0.2635756731033325, -0.5015488862991333, -0.4245862066745758, -0.6265910267829895, -0.23172280192375183, -0.3566209375858307, 0.7594884634017944, -0.08661329001188278, -0.021849118173122406, -0.39038026332855225, -0.11744005978107452, -0.10774612426757812, 0.5772972106933594, -0.025078006088733673, 0.7368752360343933, 0.014347831718623638, -0.7806041240692139, 0.3153945207595825, 0.7479817271232605, -0.2703642249107361, 0.5811794996261597, -0.9497098326683044, 0.15137934684753418, 0.25175419449806213, 0.4776206314563751, -0.9327169060707092, -0.4937485456466675, 0.7561025023460388, -0.853118896484375, -0.07291744649410248, 0.17920535802841187, -0.7603646516799927, -0.5364537835121155, -0.3214462101459503, -0.2423682063817978, 0.7327980995178223, -0.2875531315803528, 0.5942192077636719, 0.6099969744682312, -0.2981552183628082, 0.1511106789112091, 0.010088593699038029, 0.08451119065284729, -0.2688295543193817, -0.7089790105819702, 0.3292964994907379, -0.3151303827762604, -0.6302749514579773, -0.021455589681863785, -0.14525310695171356, -0.05080287158489227, 0.2615726590156555, 0.2014394998550415, 0.1673862189054489, 0.2746674716472626, -0.17094334959983826, 0.1891532987356186, -0.17866744101047516, 0.24693575501441956, 0.3345720171928406, 0.6825557947158813, -0.23680341243743896, -0.1906009018421173, -1.0476763248443604, 0.30499348044395447, 0.3008304238319397, 0.16948793828487396, 0.7297943234443665, 0.6323379874229431, -0.17437462508678436, -0.05864563211798668, -0.016163265332579613, -0.6270173788070679, -0.6178215742111206, -0.07681342959403992, -0.02455081045627594, -0.9226856827735901, 0.3700200021266937, 0.07847452163696289, -0.06459180265665054, -0.410749614238739, 0.5926432609558105, -0.8317605257034302, 1.093614101409912, 0.8228117823600769, 0.15071816742420197, 0.9370478391647339, -0.057949360460042953, 0.2016088217496872, -0.7261516451835632, -0.11456936597824097, -0.39434555172920227, -0.47999462485313416, -0.4966816306114197, -0.5098667144775391, 0.6050319075584412, -0.5355072021484375, -0.6214724183082581, 0.4003698229789734, -0.4290412962436676, 0.37273108959198, 0.6209239363670349, 0.40593066811561584, 0.31947624683380127, -0.5385801196098328, 0.32514622807502747, 0.04059873893857002, -0.6693457961082458, -0.5859182476997375, 0.6918544769287109, 0.1620764136314392, 0.6653499603271484, 0.37918031215667725, 0.8111643195152283, 0.8059130907058716, 0.2322317361831665, -1.1749194860458374, 0.9769192934036255, 0.25933292508125305, -0.869753897190094, -0.8184534311294556, -0.1766040325164795, -1.2372990846633911, 0.25724107027053833, -0.10345260053873062, -1.1701788902282715, 0.050178609788417816, 0.40406334400177, -0.7499591708183289, 0.05366133898496628, -0.6883084774017334, 0.9470908641815186, 0.0017246007919311523, -0.4231612980365753, -0.7079651355743408, -1.0167298316955566, 0.0878232792019844, 0.20444746315479279, 0.257407009601593, -0.07282494008541107, 0.4324924349784851, 0.8562883138656616, -0.43413206934928894, 1.3767199516296387, -0.44784411787986755, 0.015397099778056145, 0.6944859623908997, 0.5045027732849121, 0.643967866897583, 0.09396563470363617, 0.18258365988731384, -0.20713455975055695, -0.02434336580336094, -0.2791743278503418, -0.8169646859169006, -0.13580194115638733, -0.9170656204223633, -0.6754744052886963, -0.2476174682378769, -0.596170961856842, -0.2375643402338028, 0.3831508457660675, -0.2815474271774292, 0.04007804021239281, -0.3472478687763214, 0.31070268154144287, 0.590877890586853, -0.18469104170799255, 0.508315920829773, 0.635086715221405, -0.24678310751914978, -0.06459402292966843, 0.782233476638794, -0.1776590347290039, 0.3546259105205536, 0.031543437391519547, 0.6662697196006775, 0.12857158482074738, 0.010220332071185112, -0.2867952585220337, 0.18445228040218353, -0.22670623660087585, -0.05843668431043625, -0.2407509833574295, 0.10404621809720993, -0.6049095392227173, -0.24115729331970215, -0.7652977108955383, -0.3370150923728943, -0.08084780722856522, 0.03188103437423706, 0.27543798089027405, 1.0132211446762085, -0.3080000579357147, 0.8903113603591919, -0.627001941204071, 0.2935762405395508, 0.2935330867767334, -0.12330733239650726, 0.15297873318195343, -0.5099226236343384, -0.29469162225723267, 0.11644025146961212, -0.35620179772377014, -0.7251431345939636, 0.3627893924713135, 0.003419953864067793, 0.5242257714271545, 0.40343257784843445, 0.3920523524284363, 0.5857890248298645, -0.4862752854824066, 0.8582006096839905, 0.18705222010612488, -0.5558475255966187, 0.7256590127944946, -0.8502171635627747, 0.08189933001995087, 0.7152849435806274, 0.1767456978559494, -0.4736292064189911, -0.3253312408924103, -0.6967480778694153, -0.2521183490753174, 0.725604236125946, 0.3425920903682709, 0.3231309652328491, 0.07345446944236755, 0.1173391193151474, -0.056423403322696686, 0.47808918356895447, -0.5213618874549866, -0.200156569480896, -0.116264708340168, -0.11181981861591339, 0.09128133207559586, 0.1456209272146225, -0.46230459213256836, -0.6050620675086975, 0.6049258708953857, -0.25001630187034607, 0.8736621141433716, 0.051982372999191284, 0.20562897622585297, -0.36195439100265503, 0.09327927976846695, 0.4612460732460022, 0.2876014709472656, -0.1552107036113739, -0.4190240502357483, -0.08486045897006989, -0.39512598514556885, 0.20150066912174225, -0.5749743580818176, -0.11659915000200272, 0.06367135792970657, 0.05640226602554321, 0.4267791509628296, 0.35885104537010193, -0.3693404197692871, 0.3070443868637085, -0.012540926225483418, -0.27461758255958557, -0.6426132321357727, 0.6796102523803711, -0.09547979384660721, 0.2470792829990387, -0.05088387429714203, 0.29299336671829224, 0.16019906103610992, -0.7854495048522949, 0.12468356639146805, 0.3625449240207672, -0.5335282683372498, -0.5286547541618347, 0.5400056838989258, 0.7260352373123169, -1.1190564632415771, 0.600757896900177, -0.6074174642562866, -0.25650089979171753, 0.48460251092910767, 0.355874240398407, 0.6883386373519897, -0.26821255683898926, 0.981292188167572, 0.290801465511322, 0.29855671525001526, 0.07936112582683563, 0.14625076949596405, -0.7445593476295471, -1.1785376071929932, -0.16513341665267944, -0.1015358716249466, -1.0052118301391602, -0.2371111363172531, -0.795630931854248, 0.0164340753108263, -0.29970529675483704, -0.3392227590084076, 0.04192451760172844, 0.1359434574842453, -0.34455665946006775, -0.12305700778961182, -0.2440536916255951, 0.39415690302848816, -0.5566387176513672, 1.0167065858840942, 0.9102879166603088, -0.346995085477829, -0.8796988129615784, -0.04065508395433426, 0.43519508838653564, -1.0907469987869263, 0.690513551235199, -0.10759320110082626, -0.8082644939422607, 0.04696349799633026, -0.7242834568023682, -0.6299690008163452, 1.0674118995666504, -0.244175985455513, -0.014713224023580551, -0.1563996523618698, 0.03963620588183403, 0.5178743004798889, -0.4642651379108429, -0.24197551608085632, 0.5181611180305481, 0.6380334496498108, 0.023244664072990417, -1.216470718383789, -0.26019611954689026, -0.38875892758369446, -0.15371347963809967, 0.014560136944055557, -1.380303978919983, 0.39922475814819336, -0.37127915024757385, -0.06098862737417221, 0.5299575924873352, 0.6637420058250427, 0.28107750415802, 0.3789754807949066, 0.745924711227417, -0.1628519892692566, 0.848682701587677, 0.3917829394340515, 0.774869978427887, -0.20750774443149567, 0.07530803233385086, 1.3370448350906372, -0.580798327922821, 0.5842705965042114, 0.5639808773994446, -0.03390182927250862, 0.8042997717857361, 0.2719079554080963, 0.34688064455986023, 0.33350735902786255, -0.03814588114619255, -0.4914906322956085, -0.31529736518859863, -0.4444983899593353, 0.23746062815189362, 0.7766789197921753, 0.4430493116378784, 0.1344536542892456, 0.18347851932048798, 0.13152755796909332, 0.2970540523529053, 0.3044675886631012, -0.24489474296569824, 0.7505424618721008, 0.15617971122264862, -0.6413348913192749, -0.13765504956245422, -0.18162165582180023, 0.6285879611968994, -0.5516000986099243, -0.09972666203975677, -0.0427478551864624, 0.42948073148727417, -0.08630308508872986, -0.6942654848098755, 0.3258521258831024, -0.11164578050374985, 0.35714390873908997, -0.6797019243240356, 0.8963550329208374, 0.103400819003582, -0.040798213332891464, 0.19340188801288605, 0.6672322750091553, 0.22015200555324554, 0.21040283143520355, -0.7611732482910156, 0.11552616208791733, -0.0011669829254969954, -0.13479255139827728, 0.42079660296440125, 0.24519988894462585, 0.0919317975640297, 0.9649114012718201, 0.18842126429080963, -0.25726208090782166, -0.2533450126647949, -0.03030920960009098, 0.6110088229179382, -0.7750716805458069, -0.7864980697631836, -0.4958820044994354, 0.5040332674980164, -0.25765007734298706, -0.2982777953147888, 1.0558297634124756, 0.12211790680885315, 0.6936842799186707, -0.1328670233488083, 0.5524742007255554, -0.5106826424598694, 0.47531449794769287, -0.24983559548854828, 0.8665610551834106, -0.31480085849761963, -0.29588842391967773, -0.40179213881492615, -0.5162222981452942, -0.024940546602010727, 1.3661096096038818, -0.11378363519906998, 0.08207298815250397, 0.670762300491333, 0.7968572974205017, 0.4279516041278839, 0.19089530408382416, 0.3699609935283661, 0.13418683409690857, 0.5198084712028503, -0.008214025758206844, 1.0940366983413696, -0.11116579920053482, 0.4902704954147339, -0.39089640974998474, -0.2499866634607315, -0.26495304703712463, -0.4570857584476471, -1.0104656219482422, -0.3730103373527527, -0.4952585995197296, -0.4897765517234802, 0.3526962995529175, 1.257407546043396, 0.9005681276321411, -0.2537291944026947, -0.6827974915504456, -0.18120844662189484, 0.15153856575489044, -0.19153662025928497, -0.26645687222480774, -0.2181726098060608, -0.24651750922203064, -0.7017725706100464, 0.6946369409561157, 0.15615041553974152, -0.019734296947717667, -0.11791391670703888, -0.5417325496673584, -0.12257169932126999, 0.04702450707554817, 0.8114845156669617, 0.5282444357872009, -0.2538343071937561, -0.8656728863716125, 0.42046642303466797, 0.18246054649353027, 0.2746777832508087, 0.8796911835670471, -0.4806922972202301, 0.30479100346565247, -0.03632427379488945, 0.1564142405986786, 0.4130825698375702, 0.16841508448123932, 0.6327934265136719, -0.32593148946762085, 0.22355535626411438, 0.28942587971687317, -0.017727574333548546, -0.015624615363776684, -0.386514276266098, 0.78266441822052, 0.30615946650505066, -0.8057254552841187, -0.7836023569107056, 0.48977571725845337, -1.130515694618225, -0.05172857642173767, 1.2843677997589111, 0.06291190534830093, -0.4644985496997833, -0.3955768942832947, -0.5238812565803528, 0.16488298773765564, -0.7976822257041931, 0.9222763180732727, 0.6839529871940613, -1.04746413230896, 0.06632862985134125, -0.634488582611084, 0.46445533633232117, 0.3528383672237396, -0.6960577964782715, -0.11721806973218918, 0.4142502248287201, 0.03860156983137131, 0.3151935935020447, 1.1299769878387451, 0.04806453734636307, 0.3411202132701874, 0.4000650942325592, 0.13001611828804016, 0.013733371160924435, -0.5488557815551758, 0.13297002017498016, -0.37228700518608093, 0.08022120594978333, -0.3050559163093567 ]
http://arxiv.org/abs/2402.11550v2
http://arxiv.org/pdf/2402.11550v2
LongAgent: Scaling Language Models to 128k Context through Multi-Agent Collaboration
2024-02-18T11:46:52
2024-03-13T07:16:42
Jun Zhao, Can Zu, Hao Xu, Yi Lu, Wei He, Yiwen Ding, Tao Gui, Qi Zhang, Xuanjing Huang
cs.CL
cs.CL, cs.AI
Large language models (LLMs) have demonstrated impressive performance in understanding language and executing complex reasoning tasks. However, LLMs with long context windows have been notorious for their expensive training costs and high inference latency. Even the most advanced models such as GPT-4 and Claude2 often make mistakes when processing inputs of over $100k$ tokens, a phenomenon also known as \textit{lost in the middle}. In this paper, we propose \textsc{LongAgent}, a method based on multi-agent collaboration, which scales LLMs (e.g., LLaMA) to a context of 128K and demonstrates potential superiority in long-text processing compared to GPT-4. In \textsc{LongAgent}, a leader is responsible for understanding user intent and directing team members to acquire information from documents. Due to members' hallucinations, it is non-trivial for a leader to obtain accurate information from the responses of dozens to hundreds of members. To address this, we develop an \textit{inter-member communication} mechanism to resolve response conflicts caused by hallucinations through information sharing. Our experimental results indicate that \textsc{LongAgent} offers a promising alternative for long-text processing. The agent team instantiated with LLaMA-7B achieves significant improvements in tasks such as 128k-long text retrieval, multi-hop question answering, compared to GPT-4.
[ -0.4819231927394867, -0.7124359011650085, 0.8680734038352966, 0.47932782769203186, -0.22761112451553345, 0.10999920219182968, -0.5726786255836487, -0.8483113050460815, 0.5278362035751343, 0.6477034091949463, -0.3676745593547821, -0.22896476089954376, -0.7254894971847534, 0.27567023038864136, -0.19211973249912262, 0.9001713395118713, -0.08810250461101532, -0.29381829500198364, -0.11902537941932678, -0.3546941578388214, -0.561127781867981, -0.6791006326675415, -0.779167115688324, -0.47215554118156433, 0.8243959546089172, 0.36971932649612427, 0.9465429186820984, 0.5392009019851685, 0.49503952264785767, 0.44032803177833557, 0.08749563992023468, 0.3377036154270172, -0.8839365839958191, 0.42665040493011475, -0.3406512141227722, -0.3145730197429657, -0.9336475133895874, -0.1464422345161438, 0.6741721034049988, 0.4256213307380676, -0.16932648420333862, -0.19327685236930847, 0.12883776426315308, 0.5774409770965576, -0.31054624915122986, 0.37306293845176697, -0.4812313914299011, -0.2003501057624817, -0.0642482191324234, -0.2890065610408783, -0.5812075734138489, 0.1539561152458191, 0.05975087359547615, -0.6292880177497864, -0.1273048371076584, -0.07548926770687103, 0.3780560791492462, 0.2932174503803253, -0.38874414563179016, -0.26179996132850647, -0.7027994394302368, 0.6684816479682922, -0.4141351580619812, 0.20886901021003723, 0.523009181022644, 0.33201560378074646, -0.3991956412792206, -0.689980685710907, -0.502518355846405, -0.20314475893974304, 0.1352527141571045, 0.0251363106071949, -0.14121197164058685, 0.28906694054603577, 0.13923217356204987, -0.08395940065383911, -0.3835735023021698, 0.1134532168507576, -0.26615673303604126, -0.11737014353275299, 0.55014967918396, 0.1736227571964264, -0.008938387967646122, 0.2903158664703369, -0.37106040120124817, -0.12528599798679352, -0.2656194865703583, -0.2160787433385849, 0.028070710599422455, 0.2968329191207886, 0.04610929265618324, 0.458379864692688, -0.12502877414226532, 0.36851707100868225, 0.022469433024525642, -0.03425615280866623, 0.23245663940906525, -0.3752882778644562, -0.14699450135231018, 0.18321116268634796, 0.5822157263755798, 0.5299507975578308, 0.15356315672397614, -0.4445430636405945, -0.27805373072624207, 0.08143746852874756, 0.3633314371109009, -1.0167280435562134, 0.13616888225078583, 0.06964246183633804, -0.29297593235969543, 0.01668757013976574, -0.28365275263786316, -0.828011691570282, -0.525175929069519, -0.31229323148727417, 0.6472077369689941, -0.34906166791915894, -0.33122411370277405, 0.1731981784105301, 0.11113341897726059, 0.225357785820961, 0.7168409824371338, -0.5526148080825806, 0.494895875453949, 0.7106379270553589, 1.0348764657974243, -0.3757231533527374, -0.8616538047790527, -0.7204915285110474, 0.23405086994171143, -0.3322603404521942, 0.728879988193512, -0.357626348733902, -0.21565958857536316, -0.29400116205215454, 0.0030494043603539467, 0.10235584527254105, -0.4544025957584381, 0.22822153568267822, -0.49802058935165405, -0.11615799367427826, -0.24804532527923584, -0.5174469947814941, 0.09116130322217941, 0.38007646799087524, -0.807287871837616, 0.7850207090377808, 0.08246023207902908, -0.6026127338409424, -0.0029859081842005253, -0.7525578141212463, -0.1091490089893341, 0.18957282602787018, -0.20286795496940613, -0.1950865089893341, -0.0898272693157196, 0.19231116771697998, 0.49766454100608826, -0.33295515179634094, 0.23455467820167542, -0.16993939876556396, -0.619409441947937, 0.2352968156337738, -0.43156325817108154, 0.30269432067871094, 0.0160025916993618, -0.4112004041671753, 0.39179643988609314, -0.5362464189529419, -0.13506725430488586, 0.12497764825820923, -0.46488893032073975, -0.36235693097114563, -0.09938202053308487, -0.0027144774794578552, 0.08079604804515839, 0.41806939244270325, -0.26152631640434265, 0.2673794627189636, -0.12077751755714417, 0.34121066331863403, 0.9182748198509216, -0.30659520626068115, 0.5221050977706909, -0.3475271463394165, 0.41681191325187683, -0.13991975784301758, 0.14614376425743103, -0.08061875402927399, -0.2983284592628479, -0.6688421368598938, -0.281610369682312, -0.3533307909965515, 0.1584489494562149, -0.7525815367698669, 0.3682050406932831, -0.44997820258140564, -0.33615028858184814, -0.3740541338920593, 0.011818653903901577, 0.0932268425822258, 0.32365843653678894, 0.5258204936981201, -0.20599934458732605, -0.19157059490680695, -0.8034445643424988, -0.07709293067455292, -0.22776448726654053, -0.09066217392683029, 0.2990991473197937, 0.37521710991859436, -0.557350218296051, 0.8883150219917297, -0.2912702262401581, -0.37305203080177307, -0.3229069709777832, 0.13471873104572296, 0.06961770355701447, 0.22023360431194305, 0.2412572205066681, -0.752302885055542, -0.40857234597206116, 0.0720466896891594, -0.6138430237770081, -0.018581699579954147, -0.017075669020414352, -0.29888731241226196, 0.29002729058265686, 0.5776718854904175, -0.7042051553726196, 0.3777250051498413, 0.8097042441368103, -0.3883187472820282, 0.4622671902179718, -0.2968233525753021, 0.2557467818260193, -1.4895250797271729, -0.21402181684970856, -0.3034968674182892, -0.5767021179199219, -0.5989850163459778, 0.08666227757930756, 0.025212200358510017, -0.03960372507572174, -0.22025734186172485, 0.4041271507740021, -0.5443834662437439, 0.012359506450593472, -0.5351484417915344, 0.28024429082870483, -0.06356460601091385, 0.6143783330917358, -0.02807859517633915, 0.9607491493225098, 0.4505225419998169, -0.2980055510997772, 0.5909087657928467, -0.05366548150777817, 0.03200135380029678, 0.7888681888580322, -0.42301037907600403, 0.6206101179122925, -0.2994067072868347, 0.6510079503059387, -0.8310346603393555, -0.36084622144699097, 0.11842234432697296, -0.37460005283355713, 0.023757314309477806, -0.06929312646389008, -0.6018959283828735, -0.09204268455505371, -0.38308438658714294, 0.6592893600463867, -0.0001854744623415172, -0.6271836757659912, 0.8654142022132874, 0.20967473089694977, -0.12061147391796112, -0.6056472659111023, -0.6613727807998657, 0.7319583296775818, -0.30540478229522705, -0.8138971924781799, 0.2626202702522278, -0.3709951639175415, -0.3014989495277405, -0.14746783673763275, 0.030569173395633698, -0.21096542477607727, -0.1535356044769287, 0.2920638620853424, -0.030643973499536514, -0.1893659234046936, 0.5370911359786987, -0.168643981218338, -0.03775455802679062, 0.053963519632816315, -0.08441239595413208, 0.7482580542564392, -0.5949369072914124, -0.19292499125003815, -0.1311739832162857, 0.8089556694030762, 0.7926623225212097, -0.1768934577703476, 1.0776301622390747, 0.30302369594573975, -0.4606700837612152, -0.3349802792072296, -0.6921659111976624, -0.3108502924442291, -0.4899913966655731, 0.6628462672233582, -0.4525052309036255, -0.9335333108901978, 0.671145498752594, -0.2857658863067627, -0.08785703033208847, 0.290216863155365, 0.6030794382095337, 0.33238035440444946, 0.7873371839523315, 0.8948817849159241, -0.4563528299331665, 0.38810497522354126, -0.02443608269095421, 0.15307404100894928, -0.522472620010376, -0.07258841395378113, -0.37034568190574646, -0.2605474293231964, -0.3369026482105255, -0.8600725531578064, 0.5210302472114563, -0.1559840589761734, -0.04747510328888893, 0.2627633810043335, -0.3701775074005127, 0.7847830653190613, 0.3591122329235077, 0.13438904285430908, 0.5293056964874268, -0.05557361617684364, 0.23776240646839142, 0.21863815188407898, -0.3170415461063385, -0.5409224033355713, 0.6635730862617493, 0.4709574580192566, 1.108136534690857, 0.30413973331451416, 0.7990024089813232, 0.16877183318138123, 0.1695956140756607, -1.0008457899093628, 0.6573429107666016, 0.3130304515361786, -0.34492459893226624, -0.7649355530738831, -0.4811069965362549, -1.072449803352356, 0.4383799135684967, 0.11279897391796112, -0.8198248744010925, 0.021754655987024307, -0.27110785245895386, -0.10888472944498062, 0.2940099835395813, -0.5629258155822754, 0.5976569056510925, -0.03150702267885208, -0.43427276611328125, -0.5350619554519653, -0.7518972754478455, -0.027269836515188217, -0.4068310558795929, 0.07226966321468353, -0.013650327920913696, -0.14399129152297974, 0.7736219167709351, -0.362729012966156, 0.8286358118057251, 0.09423454105854034, -0.32507258653640747, 0.17151671648025513, 0.19986233115196228, 0.7920511364936829, 0.17558574676513672, -0.2165980190038681, 0.1097065731883049, -0.27436673641204834, -0.38187745213508606, -0.535773754119873, 0.8093559145927429, -0.9153323769569397, -0.4444684088230133, -0.4548581838607788, -0.8755270838737488, -0.10879940539598465, 0.13668784499168396, 0.1777626872062683, 0.248256117105484, -0.10730202496051788, 0.38078945875167847, 0.45216256380081177, 0.09261766076087952, 0.5019714832305908, 0.43155980110168457, -0.07299401611089706, -0.31772127747535706, 0.5232271552085876, 0.18945960700511932, 0.26888373494148254, 0.1632891744375229, 0.07967857271432877, -0.010411921888589859, -0.29256391525268555, -0.3372267186641693, 0.32606345415115356, -0.7146763205528259, -0.268187016248703, -0.6917593479156494, -0.20858031511306763, -0.22334706783294678, -0.28178831934928894, -0.596836507320404, 0.09897429496049881, -0.25594577193260193, -0.09513501822948456, 0.3909752666950226, 0.7738425135612488, -0.04860609024763107, 0.49896278977394104, -0.5826966762542725, 0.20068375766277313, 0.37269124388694763, 0.43741393089294434, 0.16083240509033203, -0.3244273364543915, -0.5899655222892761, -0.0699259340763092, -0.17678497731685638, -1.0561763048171997, 0.28944846987724304, -0.03364396095275879, 0.23462213575839996, 0.11614946275949478, 0.11283662915229797, 0.76981520652771, -0.4664846956729889, 0.611987292766571, 0.048879630863666534, -0.9893553853034973, 0.20526666939258575, -0.3278175890445709, 0.2696678042411804, 0.5734814405441284, 0.09995854645967484, -0.8302046656608582, -0.496273934841156, -0.20266154408454895, -0.9001960754394531, 0.708605170249939, 0.2984195053577423, 0.1491071730852127, -0.019246529787778854, 0.372443825006485, 0.09026482701301575, 0.027574937790632248, -0.7939667701721191, 0.09806068241596222, -0.04374431073665619, -0.047424767166376114, -0.2956753373146057, -0.17029723525047302, -0.25906094908714294, 0.0886862725019455, 0.44373413920402527, -0.41821688413619995, 0.2960766851902008, 0.42507827281951904, -0.23382329940795898, -0.2578682005405426, 0.41127699613571167, 0.5693889260292053, 1.0880893468856812, -0.046682536602020264, 0.4153605103492737, 0.17898979783058167, -0.3713468313217163, 0.22417770326137543, 0.1725284606218338, 0.5212764143943787, -0.28474828600883484, 0.4417555630207062, 0.6601345539093018, -0.36281657218933105, -0.5116989612579346, 0.6625726222991943, -0.41055095195770264, -0.13372646272182465, -0.24556362628936768, -0.20147886872291565, 0.28331249952316284, 0.7788005471229553, 0.4707544445991516, -0.21129484474658966, 0.052908241748809814, -0.5753788352012634, 0.24101635813713074, 0.12850020825862885, -0.3797651529312134, -0.27670663595199585, 0.3397084176540375, 0.12247505784034729, -0.430207222700119, 0.5931317806243896, 0.0013457939494401217, -0.4450879395008087, 0.6173646450042725, 0.6939830183982849, 0.7599246501922607, -0.32165205478668213, 0.13678564131259918, -0.17469356954097748, 0.32338955998420715, -0.43084144592285156, -0.053474973887205124, 0.04332960769534111, -0.6053895354270935, -0.6467821598052979, -0.30855315923690796, -0.5673006176948547, 0.27374762296676636, -0.3445211946964264, 0.03029034473001957, -0.17462442815303802, -0.28633132576942444, -0.1648300141096115, 0.11643010377883911, -0.4798644185066223, -0.23286882042884827, 0.008794653229415417, 0.688147783279419, -0.5599898099899292, 0.9892513155937195, 0.4711189866065979, -0.2188214361667633, -0.7969882488250732, 0.2200239896774292, -0.20446427166461945, -0.6129041910171509, 0.3446270525455475, 0.4101180136203766, -0.4820290803909302, -0.2407817244529724, -0.6439489126205444, -0.6554780006408691, 0.9941944479942322, 0.521632730960846, -0.7656913995742798, -0.13400740921497345, 0.22484880685806274, 0.6974886059761047, -0.4191109240055084, 0.06613307446241379, 0.3444966673851013, 0.4341282546520233, -0.061992719769477844, -1.2025526762008667, 0.2317000776529312, 0.012952245771884918, -0.3561730980873108, 0.32536962628364563, -0.9581546783447266, 1.0973403453826904, -0.11436034739017487, 0.07964977622032166, 0.12273861467838287, 0.7562052011489868, 0.216781347990036, 0.44213518500328064, 0.7325946688652039, 0.15844228863716125, 0.9804396033287048, 0.4338802695274353, 0.61817866563797, -0.13469797372817993, 0.3922078013420105, 1.251316785812378, -0.42618370056152344, 0.7753334045410156, 0.6519246697425842, 0.13452407717704773, 0.21652083098888397, 0.2940770089626312, 0.3142181932926178, 0.18746811151504517, 0.35786426067352295, -0.6006097197532654, -0.29774338006973267, -0.16999147832393646, -0.29278016090393066, 0.4233090877532959, 0.33424851298332214, -0.20821310579776764, -0.2154027372598648, 0.10685282945632935, 0.19522519409656525, 0.044752590358257294, -0.22366240620613098, 0.7435749769210815, 0.2801830470561981, -0.5992739200592041, 0.5241247415542603, -0.019515417516231537, 0.7611876130104065, -0.5645950436592102, -0.10288190096616745, -0.3692772686481476, 0.3887074589729309, 0.07679111510515213, -0.7033885717391968, 0.07697682827711105, -0.05656273290514946, -0.14888398349285126, -0.032843515276908875, 0.7837648391723633, -0.658807635307312, -0.24455448985099792, 0.9456637501716614, 0.5258878469467163, 0.40517377853393555, -0.5271183848381042, -0.3175077438354492, 0.2553342580795288, -0.4492734670639038, -0.3153288662433624, 0.30092090368270874, 0.6677042841911316, -0.3098013699054718, 0.6132177114486694, 0.23767590522766113, 0.09077798575162888, -0.10894228518009186, 0.13405615091323853, 1.1135894060134888, -0.6831745505332947, -0.492391973733902, -0.9572763442993164, -0.06704773753881454, -0.20344139635562897, 0.008857659995555878, 0.44068554043769836, 0.46492883563041687, 0.6151659488677979, 0.2510865330696106, 0.5122616291046143, 0.2598673105239868, 0.21718481183052063, -0.19302338361740112, 0.801945149898529, -0.5320330858230591, 0.04318761080503464, -0.17995502054691315, -1.0509898662567139, -0.14967316389083862, 0.5830580592155457, 0.12986822426319122, 0.03247808292508125, 0.7233359813690186, 0.7517080307006836, -0.08450105786323547, -0.24064086377620697, 0.46848830580711365, 0.428009033203125, 0.7368052005767822, 0.8851237893104553, 0.8050553798675537, -0.22122688591480255, 0.8479939699172974, -0.02891770750284195, -0.37793105840682983, -0.2501278221607208, -0.7229691743850708, -1.086409091949463, -0.5507829785346985, 0.12853515148162842, -0.37346455454826355, 0.33576318621635437, 1.202831506729126, 0.7572035193443298, -0.1301059126853943, -0.5187922120094299, 0.22184117138385773, -0.025390969589352608, -0.05268013849854469, -0.14988753199577332, 0.3749859631061554, -0.22394002974033356, -0.6768437027931213, 0.6425248980522156, 0.2931635081768036, 0.04253823310136795, -0.36914199590682983, -0.4276063144207001, 0.10660307854413986, 0.3031560182571411, 0.764694094657898, -0.159194678068161, -0.6266134977340698, -0.4791627526283264, -0.04371264576911926, -0.22708791494369507, 0.38585561513900757, 0.5879806280136108, -0.6935184597969055, 0.4034929573535919, 0.34588730335235596, 0.6744846701622009, 0.593597412109375, 0.003502097213640809, 0.5614625811576843, -0.6623310446739197, 0.11818297952413559, 0.25789979100227356, 0.1133357584476471, 0.31507524847984314, -0.609716534614563, 0.5328841805458069, -0.171463280916214, -0.9959217309951782, -0.6828887462615967, -0.0324179045855999, -1.1600422859191895, -0.31904029846191406, 1.1139800548553467, -0.01831093803048134, -0.3188895583152771, 0.02837214432656765, -0.5636979937553406, 0.3543154001235962, -0.8382697701454163, 0.8384978771209717, 0.846418559551239, -0.08272507786750793, -0.04541226848959923, -0.519080400466919, 0.33531010150909424, 0.3272274434566498, -1.0737346410751343, 0.40462011098861694, 0.488821804523468, 0.0568145327270031, 0.32200461626052856, 0.8948277831077576, 0.1898801475763321, -0.0623977929353714, -0.10519424825906754, 0.04861236363649368, 0.058357007801532745, -0.725936770439148, -0.274428129196167, 0.14773070812225342, 0.11061117798089981, -0.1501055210828781 ]
http://arxiv.org/abs/2402.11549v2
http://arxiv.org/pdf/2402.11549v2
Syntactic Language Change in English and German: Metrics, Parsers, and Convergences
2024-02-18T11:46:16
2024-03-28T11:16:28
Yanran Chen, Wei Zhao, Anne Breitbarth, Manuel Stoeckel, Alexander Mehler, Steffen Eger
cs.CL
cs.CL, cs.AI
Many studies have shown that human languages tend to optimize for lower complexity and increased communication efficiency. Syntactic dependency distance, which measures the linear distance between dependent words, is often considered a key indicator of language processing difficulty and working memory load. The current paper looks at diachronic trends in syntactic language change in both English and German, using corpora of parliamentary debates from the last c. 160 years. We base our observations on five dependency parsers, including the widely used Stanford CoreNLP as well as 4 newer alternatives. Our analysis of syntactic language change goes beyond linear dependency distance and explores 15 metrics relevant to dependency distance minimization (DDM) and/or based on tree graph properties, such as the tree height and degree variance. Even though we have evidence that recent parsers trained on modern treebanks are not heavily affected by data 'noise' such as spelling changes and OCR errors in our historic data, we find that results of syntactic language change are sensitive to the parsers involved, which is a caution against using a single parser for evaluating syntactic language change as done in previous work. We also show that syntactic language change over the time period investigated is largely similar between English and German for the different metrics explored: only 4% of cases we examine yield opposite conclusions regarding upwards and downtrends of syntactic metrics across German and English. We also show that changes in syntactic measures seem to be more frequent at the tails of sentence length distributions. To our best knowledge, ours is the most comprehensive analysis of syntactic language change using modern NLP technology in recent corpora of English and German.
[ -0.42352768778800964, -0.7944173216819763, 0.5962380170822144, 0.14014671742916107, 0.17188337445259094, -0.05573637783527374, -0.4538733661174774, -0.9025411605834961, 0.18141694366931915, 0.07753215730190277, -0.17128121852874756, -0.2662822902202606, -0.7988322973251343, 0.4650820195674896, -0.25238028168678284, 0.5806378722190857, -0.1299523562192917, 0.2930113971233368, -0.23848362267017365, -0.4647424817085266, -0.4208810031414032, -0.6648957133293152, -0.6301394104957581, -0.3125534951686859, 0.5637386441230774, 0.09313437342643738, 0.7867888808250427, 0.6174692511558533, 0.6148138642311096, 0.3364754915237427, -0.5119007229804993, -0.32499727606773376, 0.013731773942708969, 0.3684489130973816, -0.21305018663406372, -0.6833688616752625, -0.09660421311855316, -0.2540946304798126, 0.8573372960090637, 1.269275426864624, -0.010173635557293892, -0.07028292119503021, -0.038892973214387894, 1.1477267742156982, -0.5703577399253845, 0.38321417570114136, -0.49199241399765015, -0.03987335413694382, -0.7417753338813782, -0.043035391718149185, -0.33137762546539307, -0.11598609387874603, 0.20403453707695007, -0.11953235417604446, 0.23293650150299072, -0.11176245659589767, 1.0351614952087402, 0.19420580565929413, -0.32861194014549255, -0.44643256068229675, -0.9401598572731018, 0.6668530106544495, -0.7310020923614502, 0.8880231380462646, 0.033048953860998154, 0.16387106478214264, -0.22643616795539856, -0.653727650642395, -0.2417774796485901, -0.45877668261528015, -0.1537030190229416, -0.07678057253360748, -0.6427294611930847, -0.03624728322029114, 0.28857895731925964, 0.2237146943807602, -0.42989441752433777, 0.4214327931404114, -0.3034178912639618, -0.014745975844562054, 0.2596806585788727, 0.13141095638275146, 0.28554877638816833, -0.1593601554632187, -0.07233887910842896, 0.019636932760477066, -0.5248982310295105, 0.26554688811302185, 0.4382447600364685, 0.21974927186965942, 0.045715201646089554, 0.18139643967151642, -0.11767091602087021, 0.7156218886375427, 0.0662018433213234, -0.2807070314884186, 0.16653750836849213, -0.49408185482025146, 0.16382566094398499, 0.003103177295997739, 0.5269911289215088, 0.40784868597984314, 0.27558770775794983, -0.13903029263019562, -0.13972119987010956, 0.2911333739757538, -0.23707476258277893, -0.4824572503566742, -0.45704585313796997, -0.15612509846687317, -0.40911316871643066, 0.06859087198972702, 0.04120790585875511, -0.5846224427223206, -0.18600745499134064, -0.335823655128479, -0.5443956851959229, -0.4997478127479553, -0.2371816784143448, 0.3171865940093994, -0.06658165901899338, 0.16057784855365753, 0.32823485136032104, -0.9105561971664429, 0.6398429870605469, 0.6411669254302979, 0.7484609484672546, -0.24121546745300293, -0.5220754742622375, -0.19171208143234253, -0.014218945056200027, -0.41006526350975037, 0.9829748868942261, -0.3894427418708801, 0.0037121386267244816, 0.08388792723417282, 0.163780078291893, -0.09355693310499191, -0.8695676326751709, 0.17212004959583282, -0.45084139704704285, 0.6021486520767212, -0.22800368070602417, -0.4968940019607544, -0.18193574249744415, 0.026288215070962906, -0.7791773676872253, 1.1816428899765015, 0.15001390874385834, -0.964631199836731, 0.6555837988853455, -0.48722144961357117, -0.7994426488876343, 0.11067494004964828, 0.06867377460002899, -0.2028837352991104, 0.13011422753334045, -0.07064054161310196, 0.07367982715368271, -0.18908391892910004, 0.19191935658454895, -0.12639985978603363, -0.19342641532421112, -0.12978596985340118, -0.23495520651340485, 0.8611679673194885, -0.1216982752084732, -0.3625212013721466, -0.20523570477962494, -0.9999052286148071, -0.19826485216617584, 0.21843816339969635, -0.4782288074493408, -0.5683903694152832, 0.2530815005302429, 0.002479825634509325, 0.060476645827293396, 0.42184868454933167, -0.36126473546028137, -0.12648425996303558, -0.6021370887756348, 0.5131784677505493, 0.5602878332138062, 0.04626914858818054, 0.45421358942985535, -0.18031959235668182, 0.5735121965408325, 0.19866164028644562, -0.033759087324142456, -0.10230205953121185, -0.5045329928398132, -0.5374128818511963, 0.1944972425699234, 0.4884335994720459, 0.5775359272956848, -0.08301059901714325, 0.4538321793079376, -0.1012328639626503, -0.1541420817375183, -0.3749675452709198, -0.04258877784013748, 0.019898969680070877, 0.32176369428634644, 0.22035649418830872, -0.5933147668838501, -0.7926428318023682, -0.9909389019012451, -0.3441467583179474, -0.6348599195480347, 0.10480471700429916, 0.0035010483115911484, 0.20222759246826172, 0.03829244151711464, 0.9367730021476746, -0.5387997627258301, -0.08882972598075867, -0.3075478672981262, -0.06841970235109329, 0.06808603554964066, 0.05826075002551079, 0.7265100479125977, -0.4766608774662018, -0.6346036791801453, -0.11390769481658936, -0.23065917193889618, -0.5442785620689392, 0.021725865080952644, 0.25959521532058716, 0.7180866599082947, 0.6447684168815613, -0.7595424056053162, 0.07124751061201096, 0.5739786028862, -0.31750252842903137, 0.7905707955360413, -0.12769262492656708, -0.11024367809295654, -0.9279478192329407, 0.14032034575939178, -0.0466865673661232, -0.3829990327358246, -0.5864478945732117, -0.08595656603574753, -0.22056721150875092, 0.29829922318458557, -0.5711759328842163, 0.5135337710380554, -0.5034244656562805, -0.057684753090143204, -0.004963764455169439, 0.2869146764278412, -0.06901975721120834, 0.17415070533752441, -0.21662838757038116, 0.5459316968917847, 0.38028469681739807, -0.3775390386581421, 0.3946440517902374, 0.09388819336891174, -0.2691899836063385, 0.484041690826416, -0.238567054271698, 0.030144549906253815, -0.26915672421455383, 0.2350899577140808, -0.9495424628257751, 0.0930321142077446, 0.16331195831298828, -0.22363297641277313, 0.27226680517196655, -0.000323825137456879, -0.7573192715644836, -0.22018074989318848, -0.14049892127513885, -0.0081824641674757, 0.4584333300590515, -0.15112923085689545, 0.12825889885425568, 0.2523328959941864, -0.2983085513114929, -0.14007483422756195, -0.5997968316078186, 0.29609444737434387, -0.2565270960330963, -0.8284313082695007, 0.3571961522102356, 0.09780061990022659, -0.8052677512168884, 0.15445971488952637, -0.2701942026615143, -0.09943562746047974, 0.14542199671268463, -0.05926735699176788, -0.050510916858911514, -0.35085320472717285, 0.24769750237464905, -0.19931699335575104, -0.25513705611228943, 0.1813795417547226, -0.31164565682411194, 0.6823447346687317, -0.2772746682167053, -0.02426108345389366, -0.16602401435375214, 0.3665224611759186, 0.25757744908332825, -0.0405668206512928, 0.5850886106491089, 0.41684412956237793, -0.2460511475801468, 0.031000882387161255, -0.5947615504264832, -0.24711020290851593, -0.38540953397750854, 0.484311044216156, -0.4895767271518707, -1.0203312635421753, 0.4743526577949524, -0.09981899708509445, -0.07086513936519623, 0.6727173328399658, 0.7490137219429016, -0.20576849579811096, 0.6996430158615112, 0.674574613571167, -0.06089283525943756, 0.8015926480293274, 0.3605612814426422, 0.15770912170410156, -0.2517605125904083, 0.1518668234348297, -0.7042673826217651, -0.26911619305610657, -0.8910470008850098, 0.012265313416719437, 0.1511058360338211, 0.19007401168346405, 0.09321951121091843, 0.6210944652557373, -0.02807353250682354, 0.4088604748249054, 0.30870816111564636, -0.5506010055541992, 0.3115403354167938, -0.19489243626594543, -0.050375960767269135, -0.46539103984832764, -0.7028682827949524, -0.37047964334487915, 0.48958247900009155, 0.2841774821281433, 0.5231748223304749, 0.09152069687843323, 0.5843567848205566, 0.2920317053794861, -0.33034566044807434, -0.6014118194580078, 0.6803815960884094, -0.3785666227340698, -0.06366445124149323, -0.14736856520175934, -0.4355618953704834, -1.3769384622573853, 0.10012895613908768, 0.23237848281860352, -0.5713722109794617, -0.05100235715508461, -0.1071261391043663, 0.1746322065591812, 0.23766271770000458, -0.8044745922088623, 0.7800822854042053, -0.04552440345287323, 0.05930653214454651, -0.2313171923160553, -0.8026411533355713, -0.2378893941640854, 0.15855880081653595, 0.10748586803674698, -0.20369794964790344, 0.027399277314543724, 0.8033534288406372, -0.25526660680770874, 0.7998867630958557, -0.05552571639418602, -0.26595842838287354, 0.15419872105121613, 0.31697794795036316, 0.43524080514907837, -0.4184938371181488, 0.22503867745399475, 0.309198260307312, 0.3408021032810211, -0.3827347755432129, -0.43765002489089966, 0.5306543111801147, -0.2970627248287201, -0.7472628951072693, -0.3807987570762634, -0.7262246012687683, -0.1323559731245041, 0.3461305797100067, 0.011286702007055283, 0.21266056597232819, -0.23515188694000244, -0.06610100716352463, 0.17302557826042175, -0.07906273752450943, 0.7305936217308044, 0.7582793831825256, -0.16465865075588226, -0.049886174499988556, 0.4461922347545624, 0.3756673038005829, 0.4644773602485657, 0.47009697556495667, 0.31877145171165466, -0.20416142046451569, -0.43907415866851807, -0.29420924186706543, 0.4052176773548126, -0.7841137051582336, 0.14309322834014893, -0.47442132234573364, -0.011626966297626495, -0.5310733318328857, -0.1869829297065735, -0.24210608005523682, -0.7126376032829285, -0.07483278214931488, 0.03381737694144249, 0.2632438838481903, 0.8367519378662109, -0.17999601364135742, -0.1309676468372345, -0.6805195212364197, -0.23469088971614838, -0.2586158215999603, 0.2641255557537079, -0.2141944020986557, -0.3227209746837616, -0.4962936341762543, -0.3988293707370758, -0.3313097655773163, -1.0077015161514282, 0.04812870919704437, 0.2382567822933197, 0.09815169125795364, 0.24581146240234375, -0.32224807143211365, 0.4882543981075287, -0.7531542778015137, 0.8777889609336853, 0.1954938769340515, -0.782945990562439, 0.29502713680267334, -0.11633849889039993, 0.7607219815254211, 0.35418471693992615, 0.13502313196659088, -1.0691252946853638, -0.7571950554847717, -0.7618648409843445, -0.7462922930717468, 0.5430939793586731, -0.2654106914997101, -0.005785348359495401, -0.09364581108093262, 0.16321580111980438, 0.16414177417755127, 0.021633490920066833, -0.4017386734485626, -0.2737884223461151, 0.5120716691017151, 0.03720974549651146, 0.05338124558329582, 0.07984349876642227, 0.0759902372956276, -0.3836723268032074, 0.36769744753837585, 0.06079859286546707, -0.05371474847197533, -0.08655306696891785, -0.19048795104026794, -0.23804645240306854, 0.6496960520744324, 0.5080943703651428, 0.9564498662948608, -0.026472143828868866, 0.514190673828125, 0.44144803285598755, -0.3771267831325531, 0.21308211982250214, 0.3361997902393341, -0.3350919783115387, 0.5792189240455627, 0.6546441316604614, 0.710830569267273, 0.46402212977409363, -0.5383521914482117, 0.35587790608406067, 0.4591993987560272, -0.08647729456424713, -0.40567904710769653, -0.19352661073207855, 0.321930468082428, 0.0179583840072155, -0.13210920989513397, 0.29159674048423767, -0.0639670118689537, -0.527821958065033, 0.383026659488678, 0.08732371777296066, -0.2489968240261078, -0.7209700345993042, 0.5281332731246948, -0.050556182861328125, -0.3180151581764221, 0.14221279323101044, -0.35662752389907837, -0.5991347432136536, 0.3739307224750519, 0.5878978371620178, 0.6812056303024292, -0.3594956398010254, 0.24977326393127441, 0.09875364601612091, 0.2695480287075043, -0.02441384829580784, 0.16294418275356293, 0.11591550707817078, -0.7167784571647644, -0.4314231872558594, -0.45225322246551514, -0.33936455845832825, -0.013032216578722, -0.6128155589103699, 0.4449223577976227, -0.38232994079589844, -0.2251095473766327, 0.37741491198539734, 0.11780737340450287, -0.5976467132568359, -0.08837148547172546, 0.09914276003837585, 0.7055255770683289, -0.7755544781684875, 0.7272984385490417, 0.9545130729675293, -0.21347516775131226, -0.3208375871181488, 0.21092911064624786, 0.13834378123283386, -0.592911422252655, 0.704556941986084, 0.05091938003897667, -0.08104513585567474, -0.046169258654117584, -0.0985664650797844, -0.7538293600082397, 0.6700573563575745, 0.4386875629425049, -0.6389800906181335, -0.28961679339408875, 0.4720941483974457, 1.0318602323532104, -0.06742145866155624, 0.13015979528427124, 1.053348183631897, 0.41408276557922363, -0.45241954922676086, -1.0154509544372559, 0.09199956804513931, 0.10904195159673691, 0.22604672610759735, 0.9867057800292969, -0.6263463497161865, 0.7161312699317932, 0.028569886460900307, -0.6765786409378052, -0.33608904480934143, 0.3164677023887634, -0.26744338870048523, 0.126132071018219, 0.6949988603591919, 0.7686436772346497, 0.5548948049545288, -0.1465955525636673, 0.8258099555969238, -0.6380397081375122, 0.1294473558664322, 0.9386880397796631, -0.5785350203514099, 0.9228476285934448, 0.5666625499725342, -0.6558879613876343, 0.7987516522407532, 0.5083020329475403, -0.08199068158864975, 0.21593226492404938, 0.2708125114440918, -0.2726896107196808, 0.23468264937400818, -0.2735266387462616, -0.1472092568874359, 0.36308205127716064, -0.0059017762541770935, -0.3425752818584442, -0.7362805604934692, 0.08457166701555252, 0.6282617449760437, 0.1109171062707901, 0.3175567090511322, 0.8513389825820923, 0.11036795377731323, -0.5143804550170898, 0.6141946911811829, 0.26360708475112915, 0.47265270352363586, -0.6066789031028748, 0.1885853409767151, -0.3517173230648041, 0.1546858698129654, -0.11185934394598007, -0.7658498883247375, 0.5704967379570007, -0.08059889078140259, -0.3204808533191681, -0.40146541595458984, 0.6425905227661133, -0.4857672452926636, -0.1170412078499794, 0.8650727272033691, 0.7638696432113647, 0.2765592038631439, 0.2629365026950836, -0.7280712723731995, 0.09151063114404678, -0.13409332931041718, -0.22474409639835358, 0.48336198925971985, 0.34305402636528015, -0.050348106771707535, 0.3088954985141754, 0.394361674785614, 0.4479426145553589, 0.07862944155931473, 0.3010065257549286, 0.6392846703529358, -0.7219821214675903, -0.42644748091697693, -0.7706086039543152, 0.05147600919008255, 0.3089939057826996, -0.4018803834915161, 0.7554944157600403, 0.5671181082725525, 1.240625262260437, 0.1165408194065094, 0.5951970219612122, -0.47350022196769714, 0.5460182428359985, -0.5183201432228088, 0.3121892213821411, -0.4702790081501007, 0.1312708854675293, -0.05770416557788849, -1.0682560205459595, -0.2835352420806885, 0.033688634634017944, -0.3802563548088074, -0.13730372488498688, 1.2465825080871582, 0.7013369798660278, 0.19941651821136475, -0.0676589161157608, 0.2820039987564087, 0.5241500735282898, 0.19761496782302856, 0.5143594741821289, 0.6231052279472351, -0.18273811042308807, 0.5026939511299133, -0.3153310716152191, -0.13163724541664124, 0.09419778734445572, -0.6086011528968811, -0.3905905485153198, -0.9385397434234619, -0.46289053559303284, -0.5016652345657349, 0.31156209111213684, 0.7608605623245239, 0.20755019783973694, -0.8662412762641907, -0.4093460440635681, -0.2030327469110489, -0.14848515391349792, -0.5384210348129272, -0.35954293608665466, 0.46908363699913025, -0.6884609460830688, -0.8114691376686096, 0.5215040445327759, 0.4186601936817169, -0.014518984593451023, -0.32957780361175537, 0.061173923313617706, -0.31807565689086914, -0.0405614897608757, 0.6268808245658875, 0.3370424211025238, -0.8861730694770813, -0.5504603385925293, -0.09255237132310867, -0.2985885441303253, 0.6224421858787537, 0.8820374608039856, -0.5259997248649597, 0.37566813826560974, 0.6738435626029968, 0.3762773871421814, 0.2957304120063782, -0.24334770441055298, 0.4560999572277069, -0.7614384889602661, 0.33163297176361084, 0.1350831538438797, 0.31134533882141113, 0.533429741859436, -0.01252762507647276, 0.5235228538513184, 0.757704496383667, -0.5636630654335022, -0.6949360966682434, 0.4139993190765381, -0.5870830416679382, -0.19133684039115906, 0.9781823754310608, -0.09345118701457977, -0.03858519345521927, -0.27194148302078247, -0.07566460967063904, -0.04238889738917351, -0.29798832535743713, 0.7129215002059937, 1.2362169027328491, -0.26581621170043945, -0.44913187623023987, -0.5263679027557373, 0.668997049331665, 0.7869792580604553, -0.8653453588485718, 0.0015579978935420513, 0.4829629361629486, 0.3738696873188019, 0.31360793113708496, 0.6066499948501587, -0.15180805325508118, 0.03964504972100258, 0.24195607006549835, -0.014510591514408588, 0.44754868745803833, -0.27938851714134216, -0.3632037341594696, 0.04056362062692642, 0.14253802597522736, 0.13532398641109467 ]
http://arxiv.org/abs/2402.11548v2
http://arxiv.org/pdf/2402.11548v2
KMMLU: Measuring Massive Multitask Language Understanding in Korean
2024-02-18T11:41:07
2024-06-06T12:23:58
Guijin Son, Hanwool Lee, Sungdong Kim, Seungone Kim, Niklas Muennighoff, Taekyoon Choi, Cheonbok Park, Kang Min Yoo, Stella Biderman
cs.CL
cs.CL
We propose KMMLU, a new Korean benchmark with 35,030 expert-level multiple-choice questions across 45 subjects ranging from humanities to STEM. While prior Korean benchmarks are translated from existing English benchmarks, KMMLU is collected from original Korean exams, capturing linguistic and cultural aspects of the Korean language. We test 27 public and proprietary LLMs and observe the best public model to score 50.5%, leaving significant room for improvement. This model was primarily trained for English and Chinese, not Korean. Current LLMs tailored to Korean, such as Polyglot-Ko, perform far worse. Surprisingly, even the most capable proprietary LLMs, e.g., GPT-4 and HyperCLOVA X do not exceed 60%. This suggests that further work is needed to improve LLMs for Korean, and we believe KMMLU offers the appropriate tool to track this progress. We make our dataset publicly available on the Hugging Face Hub and integrate the benchmark into EleutherAI's Language Model Evaluation Harness.
[ -0.49972569942474365, -0.7618632316589355, 0.7055294513702393, 0.4413604736328125, -0.2922777235507965, 0.14251862466335297, -0.5083500146865845, -0.5057479739189148, -0.016402775421738625, 0.4518461525440216, -0.46920523047447205, -0.7055212259292603, -0.6954807043075562, 0.22743959724903107, 0.1669977605342865, 0.7058586478233337, -0.27844882011413574, 0.2699600160121918, -0.6340671181678772, -0.42767831683158875, -0.4395476281642914, -0.38108277320861816, -0.5833480954170227, -0.633201539516449, 0.5838924646377563, 0.460908442735672, 0.42605161666870117, 0.4046279191970825, 0.38251709938049316, 0.2597888112068176, -0.1722080111503601, -0.03674847632646561, -0.5350919961929321, -0.09056881815195084, 0.2523462474346161, -0.5830225944519043, -0.6110039949417114, 0.31601572036743164, 0.6247100830078125, 0.8662540316581726, -0.06902527809143066, 0.42777329683303833, -0.18797960877418518, 0.9370418190956116, -0.5537802577018738, 0.35143420100212097, -0.393057644367218, 0.14614728093147278, -0.09938602149486542, 0.282798171043396, -0.4652745723724365, -0.280765175819397, 0.0658021941781044, -0.6780271530151367, -0.4607034921646118, -0.20482145249843597, 0.7051417827606201, 0.32628485560417175, -0.9424707293510437, -0.1227116584777832, -0.35351255536079407, 0.8577198386192322, -0.5203896760940552, 0.8562354445457458, 0.5739850997924805, 0.41733625531196594, -0.07648279517889023, -0.4183845818042755, -0.5017102956771851, -0.687747597694397, -0.09719429165124893, 0.3972828984260559, 0.13711191713809967, 0.1328565627336502, 0.06900851428508759, 0.3610425889492035, -0.8855684399604797, 0.06020839884877205, -0.21290436387062073, -0.04282626882195473, 0.7943052053451538, 0.2901207506656647, 0.23891866207122803, -0.3669368028640747, -0.29760023951530457, 0.016348781064152718, -0.5452837944030762, 0.10497714579105377, 0.4162684977054596, -0.14277076721191406, -0.06252791732549667, 0.5239875316619873, -0.4708297550678253, 0.8032184839248657, -0.2776171565055847, -0.39204245805740356, 0.4019103944301605, -0.5372751355171204, -0.35366544127464294, -0.05345981568098068, 0.6547132134437561, 0.5734453797340393, 0.27067655324935913, -0.19597871601581573, 0.0608031265437603, 0.04949918016791344, 0.08116142451763153, -0.6082574129104614, -0.4519502818584442, 0.44555363059043884, -0.5231543183326721, -0.21104459464550018, -0.10829731822013855, -0.5581121444702148, -0.4788822829723358, -0.4932485818862915, 0.0794324278831482, -0.17458662390708923, -0.7338574528694153, 0.05402253940701485, 0.12093693017959595, 0.22526118159294128, 0.2888381779193878, -0.38422417640686035, 0.027375299483537674, 0.6681478023529053, 0.6225890517234802, -0.5082282423973083, -0.8160674571990967, -0.034101467579603195, -0.005712749436497688, -0.37144652009010315, 0.6532212495803833, -0.4661785960197449, -0.3860287666320801, -0.3605636656284332, 0.12185744941234589, -0.48353883624076843, -0.9090797305107117, 0.6283726692199707, -0.25217777490615845, 0.055008161813020706, -0.2508373260498047, -0.5915228128433228, -0.3591897785663605, 0.5291616320610046, -0.5645613670349121, 1.2950208187103271, 0.19400742650032043, -0.35688135027885437, 0.30144202709198, -0.7075839042663574, -0.1863446682691574, 0.1781672239303589, 0.025338416919112206, -0.2550491988658905, 0.03694251552224159, 0.10010144114494324, 0.6785473823547363, -0.05514536052942276, 0.4536568522453308, -0.3136771023273468, -0.05294704809784889, 0.11135848611593246, -0.013984781689941883, 0.6295176148414612, 0.2350795418024063, 0.02648644708096981, 0.26669737696647644, -0.8686715960502625, 0.1790062040090561, 0.2484234720468521, -0.6453036665916443, -0.39210954308509827, -0.34054940938949585, 0.21448707580566406, 0.5358364582061768, 0.32711902260780334, -0.579825222492218, 0.09371930360794067, 0.03872031345963478, 0.1388419270515442, 0.6655797362327576, -0.47231411933898926, 0.3903846740722656, -0.08022748678922653, 0.7015823125839233, 0.0552496612071991, 0.14355851709842682, -0.20239976048469543, -0.6507176756858826, -0.5783956050872803, -0.1836148500442505, 0.1862296164035797, 0.48519259691238403, -0.571779191493988, 0.1348821073770523, -0.2482905089855194, -0.8332486152648926, -0.8235288262367249, 0.27429282665252686, 0.5065293312072754, 0.4778144359588623, 0.10896024852991104, 0.06512036919593811, -0.3642999529838562, -0.8303377628326416, -0.5066125988960266, -0.10959513485431671, -0.13318556547164917, 0.7633079886436462, 0.4902231991291046, -0.1537957638502121, 0.3641182482242584, -0.4843073785305023, -0.195814847946167, -0.388882040977478, 0.10510676354169846, 0.17617161571979523, 0.15416184067726135, 0.2764887511730194, -0.9348616600036621, -0.9526485800743103, 0.41362956166267395, -0.8824785947799683, -0.011239273473620415, 0.1278437227010727, -0.2001376450061798, 0.3154926598072052, 0.6018816232681274, -0.9401537775993347, -0.17602182924747467, 0.964205801486969, -0.5515862107276917, 0.9215654134750366, 0.0352754145860672, 0.3107401728630066, -1.117563009262085, 0.1441344916820526, -0.14855548739433289, -0.24707567691802979, -0.8940799236297607, 0.5031243562698364, 0.3234885632991791, -0.09315663576126099, -0.5626471638679504, 0.5286856293678284, -0.4259803891181946, 0.04021671414375305, -0.3343706429004669, 0.4155561625957489, -0.20828121900558472, 0.3913797438144684, -0.2321072816848755, 0.5248529314994812, 0.3697889447212219, -0.47718507051467896, 0.6484181880950928, -0.02229294925928116, -0.518006443977356, 0.6501181721687317, -0.5568286776542664, 0.2820846438407898, -0.11298630386590958, 0.31575512886047363, -1.0904086828231812, -0.3617136478424072, 0.03469172865152359, -0.3772050142288208, 0.10890457034111023, -0.258355975151062, -0.36025679111480713, -0.4596509039402008, -0.13047869503498077, 0.2509789764881134, 0.3271227180957794, -0.4640866219997406, 0.7623883485794067, 0.5113126039505005, -0.1251726746559143, -0.5979143381118774, -0.36858877539634705, 0.02896079421043396, -0.20721209049224854, -0.7905876040458679, -0.04583393409848213, -0.20004956424236298, -0.21649253368377686, 0.021623272448778152, -0.15696987509727478, -0.02826305851340294, 0.3066365420818329, 0.12353981286287308, 0.3090369999408722, -0.4922805726528168, -0.06352334469556808, -0.1822330802679062, -0.23841583728790283, 0.37330928444862366, -0.09835726767778397, 0.7346653342247009, -0.07329970598220825, -0.3753557503223419, -0.4029431641101837, 0.09882062673568726, 0.8822649121284485, -0.04390906170010567, 0.5569334626197815, 0.8660386800765991, -0.2881532907485962, 0.2690713405609131, -0.526577353477478, 0.23231439292430878, -0.4217405915260315, 0.7556301355361938, -0.726426899433136, -0.9969035983085632, 0.5434330701828003, -0.29344919323921204, 0.0008653067634440958, 0.32729780673980713, 0.7929636240005493, 0.06690721213817596, 1.061388373374939, 0.39351198077201843, -0.3988090753555298, -0.08645883202552795, 0.19730746746063232, 0.025175489485263824, -0.7854996919631958, -0.3071628510951996, -0.2112809717655182, -0.3993651270866394, -0.5575200915336609, -0.38505885004997253, 0.19583526253700256, 0.23165087401866913, 0.1698407083749771, 0.29122233390808105, -0.1293071061372757, 0.7578560709953308, 0.46096131205558777, -0.12889662384986877, 0.41055741906166077, -0.4979316294193268, -0.17814567685127258, -0.0443122461438179, -0.41737911105155945, -0.3716777265071869, 1.185755968093872, 0.2466202676296234, 0.517611563205719, 0.11318892985582352, 0.4645654857158661, -0.24444334208965302, 0.34686195850372314, -0.8449376821517944, 0.5750041007995605, 0.01651371642947197, -0.5211830735206604, -0.3670252561569214, -0.5493110418319702, -0.7810372710227966, 0.6079668402671814, 0.2036924660205841, -0.5859057307243347, -0.5294481515884399, 0.11909916251897812, 0.002865155693143606, 0.19090771675109863, -0.9557905793190002, 1.1302436590194702, 0.015484331175684929, 0.20263372361660004, -0.2021123766899109, -0.4605991244316101, 0.7261825799942017, -0.2116631269454956, 0.08119848370552063, -0.6820574998855591, -0.043130673468112946, 0.6255201101303101, 0.05654241144657135, 0.5162901282310486, -0.3233182430267334, -0.12611666321754456, -0.031209196895360947, -0.05559768155217171, 0.4833754301071167, 0.08296141028404236, 0.177445188164711, 0.2836582660675049, -0.08819366991519928, -0.5905781388282776, -0.52875816822052, 0.8744646310806274, -0.7209928631782532, -0.510877251625061, -0.07195252925157547, -0.8467574119567871, -0.1771935224533081, 0.12867289781570435, -0.030614497140049934, -0.17929323017597198, -0.2713980972766876, 0.03524661436676979, 0.44975563883781433, -0.27838799357414246, 0.23983971774578094, 0.6366434693336487, -0.5333723425865173, -0.3609139025211334, 1.0035055875778198, 0.08506830781698227, 0.4293469488620758, 0.11243849992752075, 0.4172850251197815, -0.3255069851875305, -0.3993011713027954, -0.7049248218536377, 0.34309273958206177, -0.6885888576507568, 0.11596012115478516, -0.9507128000259399, -0.09734783321619034, -0.3963565528392792, -0.017078381031751633, -0.6040353775024414, -0.24956002831459045, 0.17092280089855194, -0.12155847996473312, 0.2029191255569458, 1.0516681671142578, 0.36750081181526184, 0.06416517496109009, -0.6922594904899597, 0.3270285129547119, 0.1855040192604065, 0.5434993505477905, 0.12053986638784409, -0.36687275767326355, -0.19800786674022675, -0.30587440729141235, -0.22552931308746338, -0.42940813302993774, 0.17944395542144775, 0.05908219888806343, 0.6890273094177246, 0.35801127552986145, -0.09567512571811676, 0.697665810585022, -0.6534048318862915, 0.8902391195297241, -0.020549317821860313, -0.7418124079704285, 0.3434544801712036, -0.23923437297344208, 0.8168129920959473, 0.4835113286972046, 0.8424398899078369, -1.1612415313720703, -0.6751807928085327, -0.2646959125995636, -0.5646075010299683, 0.7548366785049438, 0.015445190481841564, 0.1374407261610031, 0.2633132040500641, 0.17615008354187012, 0.26764222979545593, 0.019220147281885147, -0.6573664546012878, -0.7386208772659302, 0.09916747361421585, -0.20980443060398102, -0.2724083662033081, -0.31880730390548706, 0.03407157585024834, -0.4629039466381073, 0.5228008031845093, -0.08339603245258331, 0.07685975730419159, -0.05481986701488495, -0.3587947189807892, -0.004259319510310888, 0.20345936715602875, 0.9399779438972473, 0.9888861179351807, 0.018774284049868584, 0.1729763001203537, 0.4443029761314392, -0.9869931936264038, 0.11474885791540146, 0.18346647918224335, 0.14960822463035583, 0.08256357908248901, 0.07201652973890305, 0.6140406131744385, 0.13696642220020294, -0.8070582151412964, 0.28146442770957947, -0.059613052755594254, -0.4347880780696869, -0.14568042755126953, -0.24331606924533844, 0.7369069457054138, 0.08366964757442474, 0.24045369029045105, -0.4261372983455658, -0.12786325812339783, -0.15124908089637756, 0.24915680289268494, 0.18959160149097443, -0.36288556456565857, -0.4192182719707489, 0.6629549264907837, 0.19099605083465576, -0.05229279771447182, 0.5852795243263245, -0.3145712912082672, -0.6500075459480286, 0.6308048367500305, 0.44209080934524536, 0.560600757598877, -0.5813964605331421, 0.2667134702205658, 0.3724082112312317, 0.3167707920074463, 0.004953434690833092, 0.5723164677619934, 0.09137576073408127, -0.6940852999687195, -0.6868471503257751, -0.6202786564826965, -0.5283768773078918, 0.4117017686367035, -0.5646030306816101, 0.166908860206604, 0.0006821795832365751, 0.12083327025175095, 0.030641475692391396, 0.1173166036605835, -0.4665355980396271, -0.042313553392887115, 0.2314145267009735, 0.8678916692733765, -0.8149954676628113, 0.9528542160987854, 1.0581663846969604, 0.007666802033782005, -0.6190353035926819, -0.3312487304210663, 0.2399696707725525, -0.9111859798431396, 0.5911893844604492, 0.3674417734146118, 0.2415740042924881, 0.0174457635730505, -0.19653086364269257, -0.851959228515625, 1.1554560661315918, 0.2439804971218109, -0.37297362089157104, 0.2587798833847046, 0.40743422508239746, 0.2758265435695648, -0.18746349215507507, 0.1957762986421585, 0.8780926465988159, 0.6015177369117737, -0.33904701471328735, -1.153833270072937, 0.0022722722496837378, -0.3298933506011963, -0.2771323025226593, 0.4427535831928253, -0.762344479560852, 0.7733477354049683, -0.06243867799639702, 0.006238674279302359, -0.05401186645030975, 0.3746607005596161, 0.5103719234466553, 0.7874336838722229, 0.49361246824264526, 0.8673405051231384, 0.8553061485290527, -0.1653139740228653, 1.0141929388046265, -0.30733975768089294, 0.40683361887931824, 1.1201293468475342, -0.18740324676036835, 0.71893709897995, 0.42557722330093384, -0.43860042095184326, 0.08888578414916992, 0.7686295509338379, 0.04978318139910698, 0.18067316710948944, 0.19546163082122803, -0.3347362279891968, -0.20276208221912384, -0.29533448815345764, -0.2393304705619812, 0.531927764415741, 0.09061625599861145, -0.19190309941768646, -0.13081198930740356, 0.3121955692768097, 0.41308021545410156, -0.13990840315818787, -0.37978872656822205, 0.7006937861442566, 0.20515336096286774, -0.6345915794372559, 0.5577659010887146, -0.14566878974437714, 0.7251478433609009, -0.4808305501937866, 0.21404774487018585, -0.28446054458618164, 0.1180516928434372, -0.12553586065769196, -0.8214861154556274, 0.047444846481084824, -0.15307843685150146, -0.056797586381435394, -0.06991363316774368, 0.7101479768753052, -0.7193194627761841, -0.516189694404602, 0.4274888038635254, 0.7531583309173584, 0.5974428057670593, -0.3424679636955261, -0.7035129070281982, 0.05062803626060486, -0.13108189404010773, -0.4758085012435913, 0.5344738364219666, 0.37602129578590393, 0.2332986742258072, 0.7526682019233704, 0.5659990310668945, -0.07417551428079605, 0.35687318444252014, 0.32095420360565186, 0.6943907737731934, -0.6308556199073792, -0.22477151453495026, -0.9272652864456177, 0.33906692266464233, -0.08949942886829376, -0.6777435541152954, 1.058039665222168, 0.5768516659736633, 1.4559303522109985, -0.2622624933719635, 0.6135903596878052, 0.1382746547460556, 0.1776333898305893, -0.4077628254890442, 1.057788610458374, -0.6205469369888306, -0.4364014267921448, -0.23139213025569916, -0.9241155385971069, -0.26587456464767456, 0.13773123919963837, -0.12768031656742096, -0.07580086588859558, 0.7724300026893616, 0.5566777586936951, 0.020427485927939415, 0.12845519185066223, 0.9350246787071228, 0.13426202535629272, 0.031757205724716187, 0.6881123185157776, 1.0046188831329346, -0.3182215988636017, 0.6187084317207336, -0.5372217297554016, -0.09188387542963028, 0.029719972983002663, -0.6350758075714111, -1.0060155391693115, -0.5119023323059082, -0.31985628604888916, -0.05561663210391998, -0.23712825775146484, 0.9196131229400635, 0.6196145415306091, -0.7793740630149841, -0.413655161857605, 0.2145792692899704, 0.20107512176036835, -0.18169339001178741, -0.2438504695892334, 0.3298571705818176, -0.41935229301452637, -0.8214806914329529, 0.49900323152542114, 0.18321168422698975, -0.12277300655841827, -0.2995951473712921, -0.3514902591705322, -0.20814615488052368, -0.41920995712280273, 1.0277681350708008, -0.10678920894861221, -0.9150426387786865, -0.008928433060646057, 0.3019734025001526, -0.13727572560310364, 0.13045482337474823, 0.8960855603218079, -0.4377378225326538, 0.4761715233325958, 0.422821044921875, 0.8392325043678284, 0.2612534463405609, -0.17186971008777618, 0.39238089323043823, -0.5627564787864685, -0.04206316918134689, -0.07531122863292694, 0.2067897915840149, 0.18428818881511688, -0.4106542468070984, 0.5976764559745789, 0.336392879486084, -0.8643767237663269, -0.787566602230072, 0.13788296282291412, -0.7356566786766052, -0.2879136800765991, 1.1904888153076172, -0.2693173289299011, -0.26893749833106995, -0.34894225001335144, -0.024036074057221413, -0.030453182756900787, -0.22754189372062683, 0.5469720363616943, 1.2331382036209106, -0.25005438923835754, -0.3779713809490204, -1.1151009798049927, 0.42253053188323975, 0.5619342923164368, -0.8116390705108643, 0.31659266352653503, 0.1031293272972107, 0.30734631419181824, 0.01949271559715271, 0.7234959602355957, -0.14401060342788696, 0.4145236015319824, -0.13565075397491455, 0.14909833669662476, -0.06325693428516388, -0.3387511670589447, -0.42268645763397217, -0.10130511969327927, 0.10060317069292068, -0.15788280963897705 ]
http://arxiv.org/abs/2402.12408v1
http://arxiv.org/pdf/2402.12408v1
ModelGPT: Unleashing LLM's Capabilities for Tailored Model Generation
2024-02-18T11:24:34
2024-02-18T11:24:34
Zihao Tang, Zheqi Lv, Shengyu Zhang, Fei Wu, Kun Kuang
cs.LG
cs.LG, cs.AI, cs.CL
The rapid advancement of Large Language Models (LLMs) has revolutionized various sectors by automating routine tasks, marking a step toward the realization of Artificial General Intelligence (AGI). However, they still struggle to accommodate the diverse and specific needs of users and simplify the utilization of AI models for the average user. In response, we propose ModelGPT, a novel framework designed to determine and generate AI models specifically tailored to the data or task descriptions provided by the user, leveraging the capabilities of LLMs. Given user requirements, ModelGPT is able to provide tailored models at most 270x faster than the previous paradigms (e.g. all-parameter or LoRA finetuning). Comprehensive experiments on NLP, CV, and Tabular datasets attest to the effectiveness of our framework in making AI models more accessible and user-friendly. Our code is available at https://github.com/IshiKura-a/ModelGPT.
[ -0.35546520352363586, -0.8330134749412537, 0.6692909002304077, 0.06486658751964569, -0.08477046340703964, -0.04947836697101593, -0.09850727021694183, -0.21548016369342804, -0.10222324728965759, 0.6112369894981384, -0.7438138127326965, -0.3002150058746338, -0.3212515711784363, -0.14512592554092407, -0.6528040170669556, 1.084386944770813, 0.07267051935195923, -0.04305790364742279, -0.36503711342811584, 0.26164913177490234, -0.34444770216941833, -0.5189098715782166, -0.6516894102096558, -0.7037484645843506, 0.41207942366600037, 0.24703437089920044, 0.7588396072387695, 0.9094473719596863, 0.4865628480911255, 0.2185809314250946, 0.20828449726104736, 0.15649840235710144, -0.32987678050994873, 0.18439160287380219, 0.08347482979297638, -0.3757116198539734, -0.7809775471687317, 0.04393942654132843, 0.5348415374755859, 0.4954666793346405, -0.22659432888031006, 0.3284133970737457, 0.02490459382534027, 0.3662170469760895, -0.2316257655620575, 0.267210453748703, -0.854536771774292, -0.0036299158819019794, -0.2551361322402954, -0.16711170971393585, -0.2445356547832489, 0.0869578868150711, -0.09276783466339111, -0.5856496095657349, 0.3803357481956482, 0.15176188945770264, 0.6255080699920654, 0.5326582789421082, -0.44673094153404236, -0.1918986439704895, -0.8687331080436707, 0.5020094513893127, -0.9873999953269958, 0.21716633439064026, 0.05600709468126297, 0.5703555941581726, -0.4211678206920624, -1.0663700103759766, -0.5064447522163391, -0.6868515610694885, -0.024548931047320366, -0.08207626640796661, -0.13862363994121552, -0.027155093848705292, 0.4133356213569641, 0.29423823952674866, -0.8013162612915039, 0.27962881326675415, -0.19889557361602783, 0.03922107070684433, 0.6654670834541321, 0.3131755292415619, 0.5336310267448425, -0.05400344356894493, -0.08686701208353043, 0.20523209869861603, -0.9469470381736755, -0.20025691390037537, 0.5600059628486633, 0.49314460158348083, 0.1411110758781433, 0.7490061521530151, -0.3417866826057434, 0.742702841758728, -0.1668727993965149, 0.07048352062702179, -0.12399978935718536, -0.2582649886608124, -0.32539230585098267, -0.24711713194847107, 0.7894468903541565, 0.0352664440870285, 0.17919237911701202, -0.3190007507801056, -0.42023760080337524, 0.004455853253602982, 0.4374058246612549, -0.8885853886604309, -0.3715965747833252, -0.032408084720373154, -0.23340685665607452, -0.4352290630340576, -0.047271836549043655, -0.5059282183647156, -0.3434186279773712, -0.34688276052474976, 0.20577222108840942, -0.09668219834566116, -0.09446848183870316, -0.16185642778873444, 0.05196693167090416, 0.3468022346496582, 0.14319393038749695, -1.044257402420044, 0.12595681846141815, 0.7961377501487732, 0.7433786392211914, -0.3795619010925293, -0.15654924511909485, -0.49216845631599426, 0.3251272439956665, -0.10579834133386612, 0.6853020191192627, -0.7412315607070923, -0.5321089029312134, -0.15080249309539795, -0.4067910313606262, 0.004468043800443411, -0.3985844850540161, 0.5123797655105591, -0.34530165791511536, 0.0587216280400753, -0.052046455442905426, -0.5648902058601379, -0.14516553282737732, 0.4329358637332916, -0.4998886287212372, 0.8623647689819336, 0.1685716211795807, -0.4618959128856659, 0.22024261951446533, -0.9953110218048096, -0.4392584562301636, 0.3224770426750183, -0.47159066796302795, -0.5548600554466248, 0.09842905402183533, 0.49438798427581787, 0.6930209994316101, -0.7191449403762817, 0.618583619594574, -0.3965417146682739, -0.17507795989513397, 0.03959173709154129, -0.5661888122558594, 0.3703179657459259, 0.3714761734008789, -0.18997137248516083, 0.4788903295993805, -0.8144378662109375, 0.28516101837158203, 0.38995715975761414, -0.511813759803772, 0.20750565826892853, 0.18178507685661316, 0.28486090898513794, 0.036299508064985275, 0.29171812534332275, -0.14623692631721497, 0.48078322410583496, -0.15033140778541565, 1.0600221157073975, 0.7939740419387817, -0.3186241686344147, 0.39299097657203674, -0.3616380989551544, 0.8009580969810486, -0.3910595178604126, -0.061202943325042725, -0.2389681339263916, -0.45530635118484497, -0.6425236463546753, -0.3758123815059662, 0.2106505185365677, 0.5727785229682922, -0.4695797264575958, 0.3686261773109436, -0.306831419467926, -0.6638875603675842, -0.3009227216243744, 0.14856798946857452, 0.23039862513542175, 0.6975978016853333, 0.09610860794782639, -0.2081243395805359, -0.4387710690498352, -1.1314654350280762, -0.2879319489002228, -0.17857351899147034, -0.44417738914489746, 0.5484097599983215, 0.41892901062965393, -0.6036000847816467, 1.0396970510482788, -0.5046659111976624, -0.1107078492641449, -0.5919930934906006, -0.019604135304689407, 0.1787838637828827, 0.3780258297920227, 0.4401709735393524, -0.915065348148346, -0.2709047794342041, 0.12672878801822662, -0.7440892457962036, -0.37597280740737915, -0.21009394526481628, -0.04931560531258583, -0.11611484736204147, 0.5347607135772705, -0.7616366147994995, 0.30762815475463867, 0.254588782787323, -0.16837726533412933, 0.5073297619819641, -0.36167383193969727, -0.11705274879932404, -1.261232852935791, 0.3910098075866699, -0.09352144598960876, -0.3487798571586609, -0.7893078923225403, 0.2162236124277115, -0.1610415130853653, -0.45952504873275757, -0.30297112464904785, 0.7224987745285034, -0.276790052652359, -0.27499285340309143, -0.2612435221672058, 0.02051715925335884, -0.2853657901287079, 0.36201733350753784, -0.19370168447494507, 1.0536690950393677, 0.46686333417892456, -0.5768184661865234, 0.3380660116672516, 0.25753894448280334, -0.09990247339010239, 0.21720214188098907, -0.8948168754577637, 0.44006288051605225, 0.049237173050642014, 0.12674705684185028, -0.7457534074783325, -0.6935063004493713, 0.27521267533302307, -0.22803689539432526, 0.05582588538527489, -0.03535981476306915, -0.4634425938129425, -0.3405594229698181, 0.16425763070583344, 0.34266528487205505, 0.6267451047897339, -0.5616083741188049, 0.968851625919342, 0.37598326802253723, -0.22400963306427002, -0.25465455651283264, -0.5061243772506714, 0.24064858257770538, -0.4090295732021332, -0.6814011931419373, 0.32818278670310974, -0.34575557708740234, -0.09245268255472183, -0.04484637454152107, -0.028524497523903847, -0.0901443138718605, 0.3077503740787506, 0.3302157521247864, 0.12247007340192795, -0.19814877212047577, -0.09173355996608734, -0.11837077885866165, -0.1430358588695526, -0.002090930938720703, -0.43341439962387085, 0.6529674530029297, -0.17080895602703094, -0.6776525378227234, -0.24333696067333221, 0.3942643105983734, 0.42852583527565, -0.4429517686367035, 0.19280332326889038, 0.7304064035415649, -0.2940213680267334, -0.47881487011909485, -0.2380114197731018, -0.0009539855527691543, -0.4973303973674774, 0.729863703250885, -0.4147637188434601, -0.9165645241737366, 0.5767472982406616, -0.10496874898672104, 0.15515199303627014, 0.252591997385025, 0.8291614055633545, 0.33145007491111755, 1.2209391593933105, 0.737709105014801, -0.26662981510162354, 0.4444736838340759, 0.00603422662243247, 0.48663192987442017, -0.6305633783340454, -0.06304176151752472, -0.39203909039497375, -0.308987021446228, -0.6808568835258484, -0.14683769643306732, 0.3405088484287262, -0.07542315125465393, -0.3778020739555359, 0.0588860921561718, -0.5990440845489502, 0.482393741607666, 0.8715656399726868, -0.012742634862661362, 0.18652310967445374, -0.08182956278324127, 0.2576015293598175, 0.34139859676361084, -0.6916626691818237, -0.8140407204627991, 1.333786129951477, 0.1985965520143509, 0.7851341962814331, 0.01676708087325096, 0.5144591927528381, 0.5255927443504333, 0.350248247385025, -0.7281340956687927, 0.8229632377624512, -0.19213049113750458, -0.46000608801841736, -0.18815164268016815, -0.3760996460914612, -0.7106716632843018, 0.11194147169589996, -0.16743764281272888, -0.643855094909668, -0.5398979187011719, 0.5138732194900513, -0.3032267391681671, 0.326459139585495, -0.588793158531189, 0.8070254325866699, -0.3051130771636963, 0.022929519414901733, 0.03318115696310997, -0.3990812599658966, 0.4613059163093567, -0.276908814907074, -0.14309439063072205, -0.3087494671344757, -0.003855715040117502, 0.5022215843200684, -0.36220085620880127, 0.760796844959259, -0.03342197462916374, 0.07360366731882095, 0.13207919895648956, 0.030200932174921036, 0.5687129497528076, 0.18741150200366974, -0.04691600427031517, 0.0009548275847919285, -0.3427262008190155, -0.28108757734298706, -0.6277596354484558, 0.7133108973503113, -0.5399973392486572, -0.9470698833465576, -0.03450999781489372, -0.8988412022590637, -0.18169619143009186, 0.34711945056915283, 0.24199967086315155, 0.18297231197357178, -0.4635770916938782, -0.038269639015197754, 0.4043537676334381, 0.06364507973194122, 0.36144396662712097, 0.1951718032360077, -0.3218209743499756, -0.0026975576765835285, 0.8353084921836853, -0.0753416121006012, 0.06151747331023216, 0.14120231568813324, 0.04497664421796799, -0.09591316431760788, -0.8265842795372009, -0.5671936869621277, -0.022792384028434753, -0.496577650308609, -0.1595492660999298, -0.34222450852394104, -0.4082748591899872, -0.4042464792728424, -0.25617843866348267, -0.19788745045661926, -0.38489875197410583, -0.4360765218734741, -0.022838767617940903, 0.11830391734838486, 1.0468286275863647, 0.20280075073242188, 0.7043120861053467, -0.5090230703353882, 0.2674029469490051, 0.47321179509162903, 0.0683676153421402, -0.14201244711875916, -0.38400962948799133, 0.09733214974403381, -0.0013774336548522115, -0.42929425835609436, -0.5882071852684021, 0.6424220204353333, 0.3246026337146759, 0.6797131896018982, 0.2537546157836914, -0.2506633400917053, 0.39581820368766785, -0.7792629599571228, 0.7474195957183838, -0.07218961417675018, -0.8487867712974548, 0.6112238764762878, -0.666141152381897, 0.19791382551193237, 0.03496894612908363, 0.12565729022026062, -0.42810341715812683, -0.20528171956539154, -0.5013664364814758, -1.0042012929916382, 0.5266728401184082, 0.1576060950756073, 0.23843935132026672, 0.3298742473125458, 0.8586792945861816, 0.1703571230173111, 0.29182785749435425, -0.7570359110832214, -0.00899114552885294, -0.084084153175354, -0.4379445016384125, -0.25282010436058044, -0.15280009806156158, -0.05218857526779175, 0.1530144065618515, 0.7601719498634338, -0.3956618905067444, 0.40142515301704407, -0.14813001453876495, -0.034068312495946884, 0.18600812554359436, 0.3312278985977173, 0.6592071056365967, 0.6938462257385254, -0.0034787256736308336, -0.0023273213300853968, -0.018666882067918777, -0.3020164668560028, 0.014878555200994015, 0.38134223222732544, -0.570228099822998, -0.39525100588798523, 0.30033206939697266, 0.9798694849014282, -0.1970440149307251, -0.7341915965080261, 0.15333081781864166, -0.07919687032699585, -0.18538746237754822, -0.4143107831478119, 0.6491149663925171, 0.04417445510625839, 0.5075687170028687, 0.17250582575798035, -0.10909152030944824, 0.18060317635536194, -0.3405834138393402, 0.3613625466823578, 0.6704893708229065, -0.11530789732933044, -0.34096965193748474, 1.166764497756958, 0.08303329348564148, -0.6913538575172424, 0.8963359594345093, 0.005349364131689072, -0.3154431879520416, 0.5136205554008484, 0.7836698889732361, 0.9287784695625305, -0.0895022377371788, 0.11599601805210114, -0.003598931711167097, 0.22583884000778198, -0.0654759407043457, 0.04088625684380531, 0.17959296703338623, -0.6351270079612732, -0.23146601021289825, -0.6132713556289673, -0.3126119077205658, 0.41931161284446716, -0.4800242781639099, 0.15774774551391602, -0.5502163171768188, -0.12350983917713165, 0.002244272269308567, -0.2713877856731415, -0.7394139766693115, -0.015086420811712742, 0.16971908509731293, 0.7060681581497192, -0.72489333152771, 0.8286265134811401, 0.6845647692680359, -0.38607099652290344, -0.7571219801902771, 0.01649489253759384, 0.05416293069720268, -1.1277209520339966, 0.5318341255187988, 0.21261978149414062, 0.10566797107458115, 0.2196812927722931, -0.7249599695205688, -0.6285185217857361, 1.2652289867401123, 0.6974735856056213, -0.5126644968986511, -0.46558889746665955, 0.5741763114929199, 0.4408068060874939, -0.8455096483230591, 0.17301687598228455, 0.6367797255516052, 0.4399205446243286, -0.038208961486816406, -0.8590975403785706, 0.0018651258433237672, -0.3222682774066925, 0.31429174542427063, 0.02260643057525158, -0.36790698766708374, 0.8077428936958313, -0.23514273762702942, 0.08510376513004303, 0.19879207015037537, 0.6789132356643677, 0.17110805213451385, 0.10952326655387878, 0.3073883056640625, 0.5442388653755188, 0.8362325429916382, -0.05195675417780876, 1.1267856359481812, -0.10361168533563614, 0.1027199849486351, 1.1096633672714233, -0.20756521821022034, 0.684562623500824, 0.2771761417388916, 0.09056833386421204, -0.10743517428636551, 0.7373510599136353, -0.32401472330093384, 0.3855128884315491, 0.37518399953842163, -0.20677541196346283, -0.4045475721359253, -0.050273142755031586, -0.1346278339624405, 0.5918004512786865, 0.20889639854431152, -0.43533045053482056, -0.27649131417274475, 0.0067765130661427975, 0.03975266218185425, 0.027878109365701675, -0.42681944370269775, 0.591759204864502, 0.013788008131086826, -0.5371275544166565, 0.2676716446876526, 0.11832316964864731, 0.4302563965320587, -0.707668662071228, -0.1031871810555458, -0.20882084965705872, 0.14014413952827454, 0.020126089453697205, -0.5246612429618835, 0.2134280949831009, 0.11820647120475769, -0.3206436336040497, -0.2597617208957672, 0.7164751291275024, -0.3525959849357605, -0.6420038342475891, 0.019075613468885422, 0.7087790966033936, 0.12939132750034332, -0.08601260185241699, -0.8270246982574463, -0.0688796266913414, 0.30096763372421265, -0.467926025390625, 0.33784219622612, 0.10114452987909317, -0.195783793926239, 1.0862370729446411, 0.7101901173591614, -0.021431196480989456, 0.03264424949884415, -0.032779429107904434, 0.9012632966041565, -0.5483761429786682, -0.31010130047798157, -0.9791868329048157, 0.42891091108322144, 0.12590625882148743, -0.3013118505477905, 0.4372038245201111, 0.4456764757633209, 0.7643820643424988, -0.16809017956256866, 1.1178815364837646, -0.18554139137268066, 0.28830230236053467, -0.6321805119514465, 0.823381245136261, -0.6169467568397522, 0.4465489089488983, 0.16572874784469604, -1.0010586977005005, -0.5114068984985352, 0.43682006001472473, -0.2226424366235733, 0.4067065417766571, 0.10245239734649658, 0.9706136584281921, -0.27207839488983154, -0.1841612607240677, 0.3916015326976776, 0.01734182797372341, 0.8758568167686462, 0.4974779486656189, 0.6614182591438293, -0.05775188282132149, 0.48441123962402344, 0.1753888726234436, -0.12685845792293549, -0.0984441488981247, -1.0760056972503662, -1.0349441766738892, -0.500203013420105, -0.17196588218212128, 0.11698969453573227, 0.12818600237369537, 0.8332445621490479, 0.7743853330612183, -0.5320113301277161, -0.12361668050289154, -0.3534230589866638, -0.1854371577501297, 0.13227280974388123, -0.156333789229393, 0.3219809830188751, -0.411680668592453, -0.835961103439331, 0.6000100374221802, 0.1127583310008049, 0.22266191244125366, -0.3762264549732208, -0.184901624917984, 0.22956304252147675, 0.1825677752494812, 0.2779844403266907, 0.281442254781723, -0.7678413987159729, -0.12152068316936493, 0.013471384532749653, 0.07246389985084534, 0.06803224235773087, 1.0026007890701294, -0.5572367310523987, 0.06855420023202896, 0.3202338218688965, 0.9211347699165344, 0.329844206571579, -0.05686837062239647, 0.9008113145828247, -0.6739113926887512, 0.04959608241915703, 0.16493454575538635, 0.4567112326622009, 0.37371495366096497, -0.4638670086860657, 0.7146841287612915, 0.05641753599047661, -0.756626546382904, -0.9669661521911621, 0.600012481212616, -0.9143555760383606, -0.1425093710422516, 1.1114740371704102, -0.057534825056791306, -0.18624265491962433, 0.3387488126754761, -0.18437910079956055, 0.21640734374523163, -0.3240165412425995, 0.6674289107322693, 0.40493595600128174, -0.4403108060359955, -0.025562118738889694, -0.8523968458175659, 0.501522958278656, 0.17079903185367584, -0.9868946075439453, 0.23188161849975586, 0.4628855586051941, 0.24779647588729858, -0.15286536514759064, 0.5560510158538818, 0.2578808665275574, -0.07226313650608063, -0.09590034186840057, 0.053814761340618134, -0.5589559674263, -0.24385814368724823, -0.15190526843070984, 0.18548987805843353, 0.2363342046737671, 0.20994652807712555 ]
http://arxiv.org/abs/2402.11542v1
http://arxiv.org/pdf/2402.11542v1
Question Answering Over Spatio-Temporal Knowledge Graph
2024-02-18T10:44:48
2024-02-18T10:44:48
Xinbang Dai, Huiying Li, Guilin Qi
cs.CL
cs.CL, cs.AI, I.2.4; I.2.7
Spatio-temporal knowledge graphs (STKGs) extend the concept of knowledge graphs (KGs) by incorporating time and location information. While the research community's focus on Knowledge Graph Question Answering (KGQA), the field of answering questions incorporating both spatio-temporal information based on STKGs remains largely unexplored. Furthermore, a lack of comprehensive datasets also has hindered progress in this area. To address this issue, we present STQAD, a dataset comprising 10,000 natural language questions for spatio-temporal knowledge graph question answering (STKGQA). Unfortunately, various state-of-the-art KGQA approaches fall far short of achieving satisfactory performance on our dataset. In response, we propose STCQA, a new spatio-temporal KGQA approach that utilizes a novel STKG embedding method named STComplEx. By extracting temporal and spatial information from a question, our QA model can better comprehend the question and retrieve accurate answers from the STKG. Through extensive experiments, we demonstrate the quality of our dataset and the effectiveness of our STKGQA method.
[ -0.6117804646492004, -1.2785277366638184, 0.770494818687439, 0.10603632032871246, -0.3383633494377136, 0.4621058404445648, 0.22111551463603973, -0.330594927072525, 0.4458705484867096, 0.4004095792770386, -0.6957986354827881, -0.7032666206359863, -0.4820769429206848, -0.20722927153110504, 0.1826140433549881, 0.35705241560935974, -0.6006112694740295, -0.049017440527677536, -0.5330584049224854, -0.3839907944202423, -0.35089632868766785, -0.31110650300979614, -0.8581734895706177, -0.0995444729924202, 0.6938790678977966, 0.458208292722702, 0.8858305215835571, 0.5151528716087341, 0.03986188769340515, 0.13395161926746368, 0.026566198095679283, 0.4569648206233978, -0.2789525091648102, -0.17660623788833618, 0.1302861124277115, 0.19859755039215088, -0.030195150524377823, -0.3540024161338806, 0.6275420784950256, 1.0901436805725098, -0.06501201540231705, 0.14602616429328918, -0.2471061497926712, 0.3521628975868225, -0.3718789219856262, 0.10196751356124878, 0.020292367786169052, 0.2830984592437744, 0.22857099771499634, -0.42235520482063293, -0.04692509025335312, -0.8736541271209717, 0.4115752577781677, -0.8961109519004822, -0.14833885431289673, -0.019291460514068604, 0.9374026656150818, 0.48740988969802856, -1.0028715133666992, -0.2323848009109497, -0.5592164397239685, 0.1499040275812149, -0.413632333278656, 0.702096164226532, 0.5495649576187134, 0.8629799485206604, -0.3215181529521942, -0.8596406579017639, -0.720172107219696, 0.17355544865131378, 0.06000150367617607, 0.39300715923309326, 0.06225842982530594, -0.17393764853477478, 0.0555880069732666, -0.1354021579027176, -0.8573911786079407, -0.21426907181739807, -0.2531532645225525, -0.10388694703578949, 0.5365526080131531, 0.27360260486602783, 0.2713574767112732, -0.412921667098999, -0.516542911529541, -0.09100043028593063, -0.36413079500198364, 0.5998112559318542, 0.3083575665950775, -0.05780249461531639, -0.009703090414404869, 0.5051401257514954, -0.4412594735622406, 0.44556400179862976, -0.1988133192062378, 0.1591760814189911, -0.15068235993385315, -0.39131349325180054, -0.09829116612672806, -0.23696480691432953, 0.6847695708274841, 0.4638633728027344, -0.0006836671964265406, -0.5937273502349854, 0.7591930031776428, -0.6039673686027527, 0.168057382106781, -0.4779699742794037, -0.35677140951156616, 0.5315686464309692, -0.04159938171505928, 0.08641456812620163, -0.2350204885005951, -0.7444543242454529, -0.21190182864665985, -0.23863427340984344, 0.4800621271133423, -0.568290114402771, -0.20973709225654602, -0.10797064751386642, -0.3487090766429901, 0.3664000928401947, 0.4444328844547272, -0.2027996927499771, -0.002988450927659869, 0.41813719272613525, 0.42107146978378296, 0.10863284021615982, -0.29521217942237854, -0.19717246294021606, 0.3824385702610016, -0.4945351779460907, 1.0119986534118652, -0.6561754941940308, -0.25392279028892517, -0.09357918053865433, 0.26986637711524963, -0.11356939375400543, -0.32242777943611145, 0.2737601697444916, -1.1267880201339722, 0.03572225943207741, -0.7284874320030212, -0.5818213224411011, -0.38510963320732117, 0.3837907314300537, -0.5625773072242737, 1.4050593376159668, 0.37253570556640625, -0.9429749250411987, 0.45515596866607666, -0.45973700284957886, -0.2616654336452484, 0.06270087510347366, 0.06423017382621765, -0.2852308750152588, -0.43011799454689026, 0.6414191126823425, 0.18944399058818817, 0.022774681448936462, 0.3086511194705963, -0.42894986271858215, -0.12277797609567642, 0.3249836266040802, 0.1378789097070694, 0.6982120871543884, 0.3463601768016815, 0.13376490771770477, -0.2640097737312317, -0.33411192893981934, 0.5135401487350464, 0.0952134057879448, -0.32711538672447205, -0.2616822123527527, 0.07329845428466797, -0.5332646369934082, 0.1693388670682907, 0.35905060172080994, -0.688447892665863, 0.26708605885505676, -0.30703237652778625, 0.27037373185157776, 0.5030503869056702, 0.5161302089691162, 0.569212019443512, -0.3632967174053192, 0.6977599859237671, 0.14084702730178833, 0.1601138710975647, 0.5014988780021667, -0.5406602621078491, -0.3851635456085205, -0.03610540181398392, 0.23633168637752533, 0.33260852098464966, -1.5712800025939941, 0.03959124535322189, -0.6835991740226746, -0.8860256671905518, -0.479625940322876, -0.18223761022090912, 0.004660164006054401, 0.5261099934577942, 0.5445537567138672, -0.046796705573797226, -0.39606568217277527, -0.7148560881614685, -0.05359988287091255, -0.08698398619890213, -0.16090165078639984, 0.9405975341796875, 0.4144188463687897, -0.009094337932765484, 1.1641613245010376, -0.8581585884094238, 0.5216748118400574, -0.15975193679332733, 0.2153538018465042, -0.07149864733219147, -0.05909474566578865, 0.5532038807868958, -0.6907070875167847, -0.5903500914573669, -0.16767629981040955, -0.530523419380188, -0.06973020732402802, 0.30551254749298096, -0.6123425960540771, -0.14620788395404816, 0.32034406065940857, -0.6016521453857422, 0.5673316717147827, 0.3721705377101898, -0.5392457246780396, 0.5411671996116638, 0.05864163860678673, 0.6228923201560974, -1.2636728286743164, 0.03676293417811394, -0.78556227684021, -0.13571473956108093, -0.843540608882904, 0.01820172369480133, -0.003195842495188117, -0.25891000032424927, -0.5094714164733887, 0.5773850679397583, 0.1461934596300125, -0.2473418116569519, 0.016575301066040993, 0.3682239353656769, 0.20906607806682587, 0.7425505518913269, 0.15535180270671844, 0.4275565445423126, 0.2270512878894806, -0.7529168725013733, 0.35689061880111694, 0.4557868540287018, -0.2776639759540558, 0.08301366120576859, -0.674201488494873, 0.4756913483142853, -0.46212196350097656, 0.38117682933807373, -1.2076066732406616, -0.16290530562400818, 0.2293504774570465, -0.5368511080741882, -0.030869225040078163, -0.6280279755592346, -0.7249871492385864, -0.6016403436660767, 0.003216818440705538, 0.7011585235595703, -0.061203572899103165, -0.6350055932998657, 0.8217448592185974, 0.4823203980922699, -0.26403820514678955, -0.5530055165290833, -0.28387388586997986, -0.20332054793834686, -0.06311407685279846, -0.8839768767356873, -0.10748360306024551, -0.04124229773879051, 0.22359584271907806, 0.15110808610916138, -0.12801264226436615, -0.5165936946868896, 0.05812500789761543, 0.06454961001873016, 0.027082350105047226, -0.028788577765226364, 0.2846912443637848, 0.04931262880563736, -0.1533457636833191, -0.022543929517269135, -0.4107862114906311, 0.5827771425247192, 0.5817683339118958, -0.32737407088279724, -0.14778512716293335, 0.6932017803192139, 0.4135112762451172, -0.14133530855178833, 0.5597271919250488, 0.6042956709861755, -0.3828442692756653, -0.09605435281991959, -0.09767506271600723, -0.011420190334320068, -0.4533337354660034, 0.27411025762557983, -0.30311188101768494, -1.155178427696228, 0.602751612663269, -0.06859186291694641, -0.09494080394506454, 0.04465356096625328, 0.25772663950920105, -0.6088749170303345, 0.8363783955574036, 0.17887993156909943, 0.19146347045898438, 0.08768745511770248, -0.2408871203660965, 0.5510938763618469, -0.6197944283485413, -0.4111250042915344, -0.4844858944416046, -0.547421395778656, -0.3138490915298462, -0.8014654517173767, 0.5742139220237732, 0.21995092928409576, -0.44524258375167847, 0.20053333044052124, -0.3574965000152588, 0.2923063039779663, 0.5143122673034668, 0.2284998893737793, 0.03511815890669823, -0.04629744961857796, -0.4061141610145569, -0.15623344480991364, -1.0962477922439575, -0.24781380593776703, 0.74711012840271, 0.24161821603775024, 0.4470203220844269, 0.46546822786331177, 0.20473475754261017, -0.14975309371948242, 0.13957053422927856, -0.45949074625968933, 0.5329917669296265, -0.060955245047807693, -0.4783436059951782, -0.5580095052719116, -0.7645375728607178, -0.9644976258277893, 0.06252302974462509, 0.0391908623278141, -0.7047256231307983, 0.18531517684459686, -0.1259952038526535, -0.5218126773834229, 0.5098986029624939, -0.7315423488616943, 0.9925593733787537, -0.23155610263347626, -0.11304384469985962, 0.2605144679546356, -0.5790891051292419, -0.015884386375546455, 0.3366609215736389, 0.22570641338825226, -0.34878775477409363, 0.10226840525865555, 1.0912712812423706, -0.5523383021354675, 0.4682321846485138, -0.5951086282730103, 0.07418308407068253, 0.6624769568443298, 0.12498650699853897, 0.533880889415741, 0.11803099513053894, 0.2480161041021347, -0.05119256302714348, 0.5859652161598206, -0.704944372177124, -0.925817608833313, 0.455638587474823, -0.981479823589325, -0.2636559307575226, -0.15119265019893646, -0.8022480607032776, -0.7240501642227173, -0.09370274096727371, 0.0520554780960083, 0.6959879398345947, -0.013403411954641342, -0.052622418850660324, 0.5103799104690552, -0.490776389837265, 0.2935543656349182, 0.502983570098877, -0.1333460956811905, -0.5302069783210754, 0.5057490468025208, 0.43271663784980774, 0.16787341237068176, 0.5123488306999207, 0.2749261260032654, -0.8732705116271973, -0.37250635027885437, -0.5152212977409363, 0.18239116668701172, -0.697893500328064, -0.15520039200782776, -0.9562337398529053, -0.2352290153503418, -0.6797193884849548, -0.3162118196487427, -0.1351996511220932, -0.5900843739509583, 0.08482105284929276, -0.1552676111459732, 0.6455491781234741, 0.5313230752944946, 0.3252220153808594, 0.17293505370616913, -0.8307070732116699, 0.4260365068912506, 0.7118026614189148, 0.3727709949016571, 0.09788909554481506, -0.40790465474128723, -0.15673871338367462, 0.2649681270122528, -0.09243661165237427, -0.976463794708252, 0.20487184822559357, 0.04643721133470535, 0.5807268023490906, 0.12159640341997147, 0.4413144290447235, 1.1467974185943604, -0.4238714873790741, 0.8639659881591797, -0.2987087666988373, -0.23976832628250122, 0.4922378957271576, -0.4522363245487213, 0.6804555654525757, 0.5287415385246277, 0.869219183921814, -0.7062645554542542, -0.4289992153644562, -0.7414790391921997, -0.9011365175247192, 0.3819175660610199, -0.06335090100765228, -0.3152197003364563, 0.004375400487333536, 0.48706570267677307, -0.047665711492300034, 0.2918391823768616, -0.11022310703992844, -0.3024005889892578, -0.49439099431037903, -0.3325269818305969, 0.021444957703351974, -0.13134528696537018, -0.22830428183078766, -0.1339702159166336, 0.08492927998304367, -0.29477062821388245, 0.6079163551330566, 0.4062648117542267, 0.00041073080501519144, 0.006277849432080984, 0.3420516550540924, 0.03975026309490204, 0.5521701574325562, -0.13848228752613068, 0.41182518005371094, 0.6496554017066956, -0.4335254430770874, 0.056051332503557205, 0.09982903301715851, -0.2325337529182434, -0.20681317150592804, 0.30587238073349, 0.23773236572742462, 0.33167070150375366, -0.5088971853256226, 0.44872987270355225, -0.09428664296865463, -0.3972518742084503, -0.3361556828022003, -0.2763862907886505, 0.46832960844039917, 0.3360261917114258, 0.4982765018939972, -0.4300228953361511, -0.10736257582902908, -0.34594762325286865, 0.3940843939781189, 0.21749959886074066, -0.4674890637397766, -0.04357456788420677, 0.5883505344390869, -0.20251649618148804, 0.07379040867090225, 0.4253217875957489, -0.21703316271305084, -0.8510535359382629, 0.9091454148292542, 0.13217605650424957, 0.31023895740509033, 0.11614613234996796, 0.509958803653717, 0.515183687210083, 0.13213028013706207, 0.6255289912223816, 0.7205755710601807, -0.1174904927611351, -0.7264269590377808, -0.4335942566394806, -0.5800881385803223, -0.43966543674468994, -0.2555251121520996, -0.43295934796333313, -0.3232074975967407, -0.5454689860343933, -0.13354487717151642, -0.24242915213108063, 0.4570130407810211, -0.7617909908294678, 0.1654425859451294, -0.32516351342201233, 1.107521414756775, -0.5424548983573914, 0.5668330788612366, 0.8112798929214478, -0.040374092757701874, -1.157414436340332, -0.3185211420059204, -0.35243090987205505, -0.5933369994163513, 0.5617649555206299, -0.342180460691452, -0.04986906424164772, 0.21062548458576202, -0.7215774655342102, -0.8839965462684631, 1.531622052192688, -0.029400674626231194, 0.18786993622779846, 0.20492663979530334, 0.6784971952438354, 0.5497171878814697, -0.20085567235946655, 0.19543954730033875, 0.4656849205493927, 0.6228949427604675, 0.5972635746002197, -0.6439846158027649, 0.0468081571161747, -0.1465250551700592, -0.45879730582237244, 0.2090892493724823, -0.7029336094856262, 0.30168262124061584, -0.15119235217571259, -0.5631590485572815, -0.14697740972042084, 0.5640400648117065, 0.1798890084028244, 0.6816445589065552, 0.37998461723327637, 1.0088226795196533, 0.8717888593673706, -0.4739528000354767, 1.0956779718399048, -0.047782812267541885, 0.1347474455833435, 1.136956810951233, -0.03225935623049736, 0.8662571310997009, 0.32594794034957886, -0.3381127715110779, 0.3922731280326843, 0.9592042565345764, 0.4169664978981018, 0.6350743174552917, -0.05631539970636368, -0.16464653611183167, -0.5721209049224854, -0.24720576405525208, -0.28843817114830017, 0.20691333711147308, 0.03402309864759445, 0.4063757359981537, -0.3953661322593689, -0.12263187766075134, -0.011774501763284206, -0.29121318459510803, -0.2295394092798233, 0.7916500568389893, -0.19636188447475433, -0.6389870643615723, 0.2370697259902954, -0.258633017539978, -0.138364776968956, -0.7179534435272217, 0.11873503774404526, -0.3441435694694519, -0.4717291593551636, 0.08223842084407806, -1.0517849922180176, 0.34531116485595703, -0.35843607783317566, 0.09388809651136398, 0.004494435619562864, 0.34602034091949463, -0.6448490619659424, -0.22191204130649567, 0.27249452471733093, 0.5904431939125061, -0.08006330579519272, 0.2630447745323181, -0.4680291712284088, -0.5614038705825806, -0.18826082348823547, 0.23436586558818817, 0.08839208632707596, 0.7820534706115723, 0.19788716733455658, 1.0496416091918945, 0.6708641648292542, -0.22634626924991608, 0.34813496470451355, -0.1513804793357849, 0.9164848327636719, -0.6746363639831543, -0.7427974939346313, 0.034626204520463943, 0.4802183508872986, -0.03154366835951805, -0.23683418333530426, 0.8613656163215637, 0.3876158893108368, 0.46350130438804626, 0.25449177622795105, 0.6466128826141357, -0.15736405551433563, 0.6921765804290771, -0.4772430658340454, 0.634766697883606, -0.5717613697052002, -0.032075878232717514, -0.09620831161737442, -0.3979761302471161, -0.050399571657180786, 0.25792405009269714, -0.5885974764823914, -0.03955172374844551, 0.8387401700019836, 0.8672415018081665, 0.12533563375473022, 0.24882833659648895, 0.07715949416160583, 0.11872684210538864, 0.23649482429027557, 1.0612781047821045, 1.1915457248687744, -0.636987030506134, 0.9089866280555725, -0.38560086488723755, 0.02236984670162201, -0.09509502351284027, -0.5514112710952759, -0.7165783047676086, -0.6972826719284058, -0.34791237115859985, -0.29686591029167175, 0.043117668479681015, 0.5679959058761597, 0.5183566212654114, -0.7178193926811218, 0.41841909289360046, 0.6000835299491882, 0.3503875732421875, -0.14801062643527985, -0.24575714766979218, 0.9199395179748535, 0.19422626495361328, -0.3844996392726898, 0.34456801414489746, 0.11891595274209976, 0.2109462469816208, 0.221913680434227, -0.12060444056987762, -0.44965675473213196, 0.017716236412525177, 0.38143229484558105, 0.4289553165435791, -0.04845888912677765, -0.9217574596405029, 0.3588624596595764, 0.00004824226925848052, -0.022079022601246834, 0.8243484497070312, -0.5187826752662659, 0.48977434635162354, 0.7901904582977295, 0.8818261623382568, 0.5872460007667542, 0.3311338424682617, 0.36642587184906006, -1.0261240005493164, -0.2574233114719391, 0.24415455758571625, 0.028619032353162766, 0.12164059281349182, -0.21130217611789703, 0.3002317249774933, 0.14627526700496674, -0.6376898884773254, -0.17159222066402435, 0.3601253926753998, -1.168426275253296, -0.37759000062942505, 1.1579238176345825, 0.018894674256443977, -0.4245009124279022, -1.1177771091461182, -0.02963213436305523, 0.3607608675956726, -0.09229237586259842, 0.6800409555435181, 0.7064470648765564, -0.11461962759494781, -0.24284377694129944, -0.5936705470085144, 0.524901807308197, 0.12017714232206345, -0.77519291639328, 0.04422703757882118, 0.4357065260410309, 0.30062630772590637, -0.035239797085523605, 0.8648959398269653, -0.13617339730262756, 0.4616304934024811, 0.1350603848695755, -0.2910470962524414, -0.32334721088409424, -0.21048776805400848, 0.37685492634773254, 0.608288049697876, -0.12076257914304733, -0.07250311970710754 ]
http://arxiv.org/abs/2402.11541v3
http://arxiv.org/pdf/2402.11541v3
Large Language Models Can Better Understand Knowledge Graphs Than We Thought
2024-02-18T10:44:03
2024-06-16T14:16:56
Xinbang Dai, Yuncheng Hua, Tongtong Wu, Yang Sheng, Qiu Ji, Guilin Qi
cs.CL
cs.CL, cs.AI, I.2.4; I.2.7
As the parameter scale of large language models (LLMs) grows, jointly training knowledge graph (KG) embeddings with model parameters to enhance LLM capabilities becomes increasingly costly. Consequently, the community has shown interest in developing prompt strategies that effectively integrate KG information into LLMs. However, the format for incorporating KGs into LLMs lacks standardization; for instance, KGs can be transformed into linearized triples or natural language (NL) text. Current prompting methods often rely on a trial-and-error approach, leaving researchers with an incomplete understanding of which KG input format best facilitates LLM comprehension of KG content. To elucidate this, we design a series of experiments to explore LLMs' understanding of different KG input formats within the context of prompt engineering. Our analysis examines both literal and attention distribution levels. Through extensive experiments, we indicate a counter-intuitive phenomenon: when addressing fact-related questions, unordered linearized triples are more effective for LLMs' understanding of KGs compared to fluent NL text. Furthermore, noisy, incomplete, or marginally relevant subgraphs can still enhance LLM performance. Finally, different LLMs have distinct preferences for different formats of organizing unordered triples.
[ -0.5648307204246521, -0.8466908931732178, 1.0070600509643555, 0.2824476659297943, -0.2938774526119232, 0.12256202846765518, -0.31382089853286743, -0.20142798125743866, -0.0385286882519722, 0.187217578291893, -0.4194939136505127, -0.5104125142097473, -0.5939950942993164, 0.2757187783718109, -0.08042427897453308, 0.7684602737426758, -0.3149939179420471, 0.1275302618741989, -0.49501556158065796, -0.2393053025007248, -0.552087664604187, -0.492127001285553, -0.6163175702095032, -0.5338912606239319, 1.0154236555099487, 0.14445523917675018, 0.7921619415283203, 0.699102520942688, 0.10360945016145706, 0.21389718353748322, -0.2968646287918091, 0.3040556013584137, -0.448828786611557, 0.1762862205505371, 0.04619212821125984, -0.38476064801216125, -0.27056142687797546, 0.152816504240036, 0.601859450340271, 1.2540465593338013, 0.23741400241851807, -0.003068953985348344, 0.44250744581222534, 0.6774812340736389, -0.36904990673065186, 0.7712095975875854, -0.11481287330389023, 0.058775924146175385, 0.13129523396492004, -0.23803073167800903, -0.6372541189193726, -0.4965801537036896, 0.1369428038597107, -0.8298724889755249, -0.014798849821090698, 0.3049563467502594, 0.61049485206604, 0.2726100981235504, -0.7025337219238281, -0.3584798574447632, -0.4845066964626312, 0.43718528747558594, -0.5673230886459351, 0.6635890007019043, 0.17709580063819885, 0.20707577466964722, -0.2954663932323456, -0.5540839433670044, -0.4944152235984802, -0.18132510781288147, -0.404178649187088, -0.13967783749103546, -0.1185675784945488, 0.3963901698589325, 0.43228453397750854, 0.04164516180753708, -0.4644620418548584, 0.3416077792644501, -0.16235783696174622, -0.2840704321861267, 0.3552773594856262, 0.08682047575712204, 0.2768497169017792, -0.32581281661987305, -0.08090957254171371, -0.1551009714603424, -0.6425896883010864, 0.21410244703292847, 0.28713861107826233, 0.47069689631462097, -0.09289922565221786, 0.5119216442108154, -0.34698352217674255, 1.030709981918335, -0.013814812526106834, -0.2647711932659149, 0.25984033942222595, -0.3777520954608917, -0.10969533026218414, -0.09990335255861282, 0.9883397221565247, 0.3244996964931488, 0.5117853879928589, -0.4163879454135895, -0.13710254430770874, -0.28580278158187866, -0.07230737060308456, -0.7251386046409607, -0.23392412066459656, 0.04543263837695122, -0.3055340647697449, -0.18290933966636658, -0.29329389333724976, -0.43751898407936096, -0.7900828123092651, -0.6014952063560486, 0.4672882556915283, -0.40336430072784424, -0.037170860916376114, 0.17604269087314606, -0.34552282094955444, 0.07447337359189987, 0.3409641683101654, -0.9654425382614136, -0.11277998238801956, 0.462819904088974, 0.6745253205299377, -0.01866203360259533, -0.1623169183731079, -0.49082374572753906, 0.07731696963310242, -0.4460575580596924, 0.8303167819976807, -0.5040011405944824, -0.22944721579551697, -0.004989293869584799, -0.12492495775222778, -0.24058668315410614, -0.33322057127952576, 0.3184344172477722, -0.9975504279136658, 0.19800147414207458, -0.7841475009918213, -0.5735996961593628, -0.2334510087966919, 0.35901525616645813, -0.5879122018814087, 0.9171857833862305, 0.09714348614215851, -0.9115288853645325, 0.5784818530082703, -0.653360903263092, -0.37199854850769043, -0.18110878765583038, -0.2903711497783661, 0.1235276609659195, -0.077735036611557, 0.6655732989311218, 0.6761407852172852, -0.3042348325252533, 0.41916424036026, -0.4905231297016144, -0.11581921577453613, 0.26375672221183777, -0.4672399163246155, 0.6689802408218384, 0.05830853432416916, 0.11138216406106949, 0.051511216908693314, -0.568019688129425, -0.047747112810611725, 0.09670547395944595, -0.44824448227882385, -0.3228469491004944, -0.14744119346141815, -0.6068031787872314, 0.08632224798202515, 0.19695016741752625, -0.3328605592250824, 0.3439755439758301, -0.4401976764202118, 0.5118603110313416, 0.7314871549606323, 0.14279642701148987, 0.6103793978691101, -0.17926421761512756, 0.5503314733505249, -0.10666096210479736, -0.06462592631578445, -0.16614536941051483, -0.4423676133155823, -0.6661731600761414, -0.1942981481552124, 0.2433413565158844, 0.24917984008789062, -0.915959358215332, 0.12442903220653534, -0.22060683369636536, -0.30656805634498596, -0.34943708777427673, 0.3203941881656647, 0.17316854000091553, 0.7571361660957336, 0.2650119364261627, 0.04903484135866165, -0.3745045065879822, -0.8207181692123413, -0.25740888714790344, -0.2172563076019287, -0.04588926210999489, 0.3030104339122772, 0.10833204537630081, 0.11587197333574295, 1.269551396369934, -0.5649542212486267, 0.16488294303417206, -0.587442934513092, 0.262936532497406, 0.4437432289123535, -0.08139870315790176, 0.6226466298103333, -0.5167889595031738, -0.5971404910087585, -0.08124793320894241, -0.9419438242912292, -0.28338485956192017, 0.15218259394168854, -0.05451919510960579, -0.09783155471086502, 0.7106387615203857, -0.5916388630867004, 0.18272210657596588, 0.37144139409065247, -0.21544986963272095, 0.36623305082321167, -0.10769946128129959, 0.09397696703672409, -0.9346280097961426, -0.1698019951581955, -0.13167598843574524, -0.19846223294734955, -0.6684978604316711, -0.14298005402088165, 0.20837195217609406, 0.011701197363436222, -0.17933723330497742, 0.5947539806365967, -0.6441320776939392, -0.28496646881103516, -0.09718232601881027, 0.4506281614303589, 0.33966562151908875, 0.5782632231712341, -0.19723595678806305, 0.865066409111023, 0.5488991737365723, -0.7839705348014832, 0.6329441666603088, 0.20753322541713715, -0.3433353900909424, 0.45603373646736145, -0.8290003538131714, 0.18739238381385803, -0.48948127031326294, 0.33810752630233765, -1.2009117603302002, -0.4733966290950775, 0.15668807923793793, -0.35959869623184204, 0.46181756258010864, -0.2640892267227173, -0.8497121930122375, -0.43082985281944275, -0.22202740609645844, 0.3375093638896942, 0.6007730960845947, -0.7291810512542725, 0.5257799625396729, 0.20934949815273285, -0.08604833483695984, -0.5348840355873108, -0.4522898495197296, -0.06759146600961685, -0.18331967294216156, -0.7996964454650879, -0.1752907782793045, 0.0011411423329263926, -0.29671338200569153, -0.012715181335806847, -0.05286216735839844, 0.08915720880031586, 0.16368401050567627, 0.01476308237761259, 0.15399451553821564, -0.39479637145996094, 0.49283739924430847, -0.01644011214375496, -0.06725452095270157, 0.27178025245666504, -0.5700668096542358, 0.6847622990608215, 0.253173291683197, -0.37784650921821594, -0.43608659505844116, 0.030339833348989487, 0.5746609568595886, -0.0626082792878151, 1.0341858863830566, 0.4585167467594147, -0.01844891719520092, -0.23159363865852356, -0.38372358679771423, -0.18996375799179077, -0.5186489820480347, 0.24164755642414093, -0.2901919186115265, -0.9203112125396729, 0.44376805424690247, -0.1049066111445427, 0.01750052347779274, 0.276440292596817, 0.2596447765827179, -0.25634580850601196, 1.179165244102478, 0.6001569032669067, -0.012225505895912647, 0.2802118957042694, 0.059858743101358414, 0.4241268038749695, -0.788933277130127, -0.3376067280769348, -0.5287379026412964, -0.2759856581687927, -0.21756552159786224, -0.26355987787246704, 0.6691585779190063, 0.3322405219078064, -0.18579146265983582, 0.04778793081641197, -0.22059954702854156, 0.6079530119895935, 0.3949667513370514, 0.0011139189591631293, 0.2303784191608429, 0.09175531566143036, -0.44100967049598694, 0.0069759683683514595, -0.9557681679725647, -0.3915931284427643, 0.881917417049408, 0.3860538899898529, 0.9137645363807678, -0.1075274869799614, 0.537785530090332, -0.05126126855611801, 0.3228563666343689, -0.9408388733863831, 0.43584492802619934, 0.07048825174570084, -0.21970275044441223, -0.37389999628067017, -0.5004913210868835, -0.9696415662765503, -0.0063863955438137054, 0.08281074464321136, -0.6962898969650269, 0.05046405643224716, 0.24883875250816345, -0.45717817544937134, 0.25003135204315186, -0.9168587923049927, 0.8957522511482239, 0.04565372318029404, 0.08858195692300797, 0.20399238169193268, -0.5046178698539734, 0.17334342002868652, -0.0923292338848114, 0.5302785634994507, -0.011501272208988667, 0.09489600360393524, 0.8795818090438843, -0.33252328634262085, 1.0170005559921265, -0.23859767615795135, -0.36700010299682617, 0.31488874554634094, 0.10235875099897385, 0.7092608213424683, 0.029064632952213287, -0.09780599921941757, -0.19725415110588074, -0.47889062762260437, -0.4028628468513489, -1.1003696918487549, 0.5344261527061462, -1.0380983352661133, -0.8475232720375061, 0.10876183211803436, -0.9679268598556519, -0.6602145433425903, 0.18488191068172455, 0.09891615808010101, 0.731495201587677, 0.2092718780040741, 0.22081972658634186, 1.034969449043274, -0.2658579647541046, 0.38537245988845825, 0.39094316959381104, -0.247358039021492, -0.20046623051166534, 0.48417115211486816, 0.3487583100795746, 0.6344769597053528, 0.46159031987190247, 0.37506040930747986, -0.5234540104866028, -0.544491708278656, -0.41177108883857727, 0.3490801453590393, -1.171428918838501, 0.015179906971752644, -1.0726635456085205, -0.19903552532196045, -0.770752489566803, -0.18802502751350403, 0.06962963938713074, -0.3269197642803192, -0.33423444628715515, -0.407939076423645, 0.6819194555282593, 1.125913381576538, -0.005393637344241142, 0.3370901644229889, -0.8002256751060486, 0.21269218623638153, 0.5753504037857056, 0.277631014585495, 0.17788396775722504, -0.6966937184333801, -0.0756368488073349, -0.03288562223315239, 0.06534600257873535, -1.0242221355438232, 0.13705097138881683, -0.2123059332370758, 0.7013906836509705, 0.359777569770813, 0.15735062956809998, 0.5368924736976624, -0.39544185996055603, 0.7561575174331665, 0.03600872680544853, -0.7324842214584351, 0.36393171548843384, -0.4880470931529999, 0.3353264331817627, 0.2823634147644043, 0.5570075511932373, -0.680826723575592, -0.2834746241569519, -0.24644729495048523, -0.6610358357429504, 0.9511533975601196, -0.17362578213214874, 0.2316267192363739, 0.011238493025302887, 0.3425753712654114, 0.09489644318819046, 0.2137029767036438, -0.7029680013656616, -0.26906296610832214, 0.024537352845072746, -0.26323506236076355, -0.15339505672454834, -0.36864131689071655, -0.14607451856136322, -0.0894443541765213, 0.41507741808891296, -0.20854398608207703, 0.11222846806049347, 0.05645862594246864, 0.032691776752471924, 0.08236350864171982, 0.24124526977539062, 0.18682630360126495, 0.6251426935195923, -0.020290786400437355, 0.5354700088500977, 0.2432645857334137, -0.21618270874023438, 0.09315620362758636, 0.021524297073483467, -0.1410023421049118, -0.15317966043949127, 0.6374972462654114, 0.8963313698768616, 0.19916895031929016, -0.1907251626253128, 0.3885519504547119, 0.07508574426174164, -0.12397923320531845, 0.24959847331047058, 0.15800225734710693, 0.39978814125061035, 0.16221536695957184, 0.21548448503017426, -0.12429019063711166, -0.15776145458221436, -0.5406190156936646, -0.07168365269899368, 0.29530951380729675, -0.3977779746055603, -0.1741660088300705, 0.47635403275489807, 0.2410833239555359, -0.1391509473323822, 0.5166500806808472, -0.4637252986431122, -0.5910742282867432, 0.6098493933677673, 0.419511079788208, 0.4688895642757416, 0.11536452919244766, 0.3575724959373474, 0.32360658049583435, 0.3602742850780487, -0.029149211943149567, 0.13407838344573975, -0.13299791514873505, -0.796676754951477, -0.6781977415084839, -0.522870659828186, -0.12511105835437775, 0.01778484880924225, -0.39277273416519165, 0.26845791935920715, -0.4321114122867584, 0.08129067718982697, 0.07111874967813492, -0.24197624623775482, -0.8187987208366394, -0.1439652144908905, 0.1664614975452423, 0.9321177005767822, -0.9601128101348877, 0.5939419865608215, 0.6785131692886353, -0.37517446279525757, -1.4266622066497803, -0.12770628929138184, -0.06636998802423477, -1.0729422569274902, 0.9652262330055237, 0.23104150593280792, 0.15304188430309296, 0.08024746179580688, -0.6365361213684082, -1.0803214311599731, 1.0755996704101562, 0.4553513824939728, -0.32792940735816956, -0.16088758409023285, 0.30133056640625, 0.39942094683647156, -0.1357400119304657, 0.26294586062431335, 0.4270978271961212, 0.678389847278595, 0.336058646440506, -0.9779582619667053, 0.14141659438610077, 0.15656262636184692, -0.16817840933799744, 0.37600141763687134, -0.5796079635620117, 0.7463883757591248, -0.2314835488796234, -0.2488209456205368, -0.3155224323272705, 0.622979462146759, 0.15790937840938568, 0.35564887523651123, 0.5090674161911011, 0.3537793457508087, 0.8586385250091553, -0.04364606365561485, 1.1398358345031738, -0.11717512458562851, 0.13167376816272736, 0.8649901747703552, -0.22779759764671326, 0.2205830067396164, 0.432306170463562, -0.23804797232151031, 0.3795287609100342, 0.7281539440155029, 0.33474478125572205, 0.3697248697280884, 0.1143670529127121, 0.018466467037796974, -0.4090377986431122, -0.4310581386089325, -0.3037964701652527, -0.04616349935531616, 0.4059140086174011, -0.37746208906173706, -0.44351550936698914, 0.1456044614315033, 0.28637152910232544, -0.08686260133981705, -0.2766307592391968, 0.7533896565437317, 0.14341136813163757, -0.7410180568695068, 0.5702893733978271, -0.24810558557510376, 0.2721404731273651, -0.565339982509613, 0.12767529487609863, -0.3231951892375946, -0.3008630573749542, -0.15689337253570557, -1.0427662134170532, -0.11141398549079895, -0.09554880112409592, -0.2398969978094101, -0.4559515416622162, 0.5241150856018066, -0.2856139838695526, -0.12638692557811737, 0.30528122186660767, 0.5834709405899048, 0.026520313695073128, 0.0854090079665184, -0.28657475113868713, 0.07600893080234528, -0.014173912815749645, -0.39834827184677124, 0.2730726897716522, 0.9620082974433899, 0.0012044935720041394, 0.6302962899208069, 0.574554979801178, -0.24927450716495514, 0.056874584406614304, 0.3557094931602478, 1.1223020553588867, -0.30565547943115234, -0.4843524992465973, -0.9222427010536194, 0.3233458697795868, -0.13972972333431244, -0.09173214435577393, 0.9036166071891785, 0.15280276536941528, 0.5446741580963135, 0.0593697652220726, 0.740838348865509, 0.04592365399003029, 0.1771727055311203, -0.8051422238349915, 0.4569946527481079, -0.3647878170013428, 0.3053385317325592, -0.09273100644350052, -0.8393536806106567, -0.26477617025375366, 0.18385110795497894, -0.5597707033157349, 0.16099834442138672, 0.7956759929656982, 0.7005632519721985, 0.057089515030384064, 0.0976613312959671, 0.3182102143764496, 0.41884496808052063, 0.3642013669013977, 0.4860786497592926, 1.0847275257110596, 0.1288115233182907, 0.7265528440475464, -0.0044175260700285435, -0.22442446649074554, 0.048633038997650146, -0.8035590052604675, -1.353795051574707, -0.3271726071834564, -0.08378579467535019, -0.2575109899044037, -0.13416364789009094, 0.9919880628585815, 0.6200920343399048, -0.4651638865470886, 0.14776666462421417, -0.11112941801548004, 0.3391934931278229, 0.30228546261787415, -0.20196273922920227, 0.4097125828266144, -0.6881573796272278, -0.4315112233161926, 0.5331912040710449, 0.3098059892654419, 0.1315230131149292, -0.3336533308029175, 0.025462955236434937, 0.11552517861127853, 0.019566822797060013, 0.497437447309494, 0.03920011967420578, -0.5395222306251526, -0.5892372727394104, 0.2888706624507904, -0.14331349730491638, -0.03227466344833374, 0.8841784000396729, -0.905584454536438, 0.475417822599411, 0.8274863958358765, 0.7606651186943054, 0.07452235370874405, -0.18861840665340424, 0.6861622333526611, -1.058314323425293, 0.06994760781526566, -0.06392905116081238, 0.4220038950443268, 0.340404748916626, -0.5089709162712097, 0.3317987620830536, 0.33108875155448914, -0.5075218677520752, -0.6774688363075256, 0.4106827676296234, -0.6798412799835205, -0.2840266525745392, 1.507076382637024, -0.03736716881394386, -0.26598891615867615, -0.35658907890319824, -0.309258371591568, 0.3257368803024292, -0.4326818883419037, 0.4561668932437897, 0.966515302658081, -0.2063458114862442, -0.027691258117556572, -0.5884907841682434, 0.443897008895874, 0.2806576192378998, -0.5787627100944519, 0.22574153542518616, 0.43889614939689636, 0.18057934939861298, 0.16060546040534973, 0.613347589969635, 0.11114026606082916, 0.058259230107069016, -0.1686106026172638, -0.3152686059474945, -0.24723105132579803, -0.25525638461112976, -0.2446698546409607, 0.30580592155456543, 0.3975376486778259, 0.18629808723926544 ]
http://arxiv.org/abs/2402.11537v2
http://arxiv.org/pdf/2402.11537v2
Deciphering the Impact of Pretraining Data on Large Language Models through Machine Unlearning
2024-02-18T10:36:05
2024-03-26T10:45:40
Yang Zhao, Li Du, Xiao Ding, Kai Xiong, Zhouhao Sun, Jun Shi, Ting Liu, Bing Qin
cs.CL
cs.CL, cs.AI
Through pretraining on a corpus with various sources, Large Language Models (LLMs) have gained impressive performance. However, the impact of each component of the pretraining corpus remains opaque. As a result, the organization of the pretraining corpus is still empirical and may deviate from the optimal. To address this issue, we systematically analyze the impact of 48 datasets from 5 major categories of pretraining data of LLMs and measure their impacts on LLMs using benchmarks about nine major categories of model capabilities. Our analyses provide empirical results about the contribution of multiple corpora on the performances of LLMs, along with their joint impact patterns, including complementary, orthogonal, and correlational relationships. We also identify a set of ``high-impact data'' such as Books that is significantly related to a set of model capabilities. These findings provide insights into the organization of data to support more efficient pretraining of LLMs.
[ -0.3180541694164276, -0.55494225025177, 0.5337969064712524, 0.060578830540180206, -0.05583284795284271, 0.27525386214256287, -0.445244163274765, -0.44530123472213745, -0.29548180103302, 0.8660098910331726, -0.375424861907959, -0.5233253240585327, -0.7977733612060547, 0.097569040954113, -0.498721718788147, 1.0383681058883667, 0.021723346784710884, 0.3108062148094177, -0.39418327808380127, -0.16532571613788605, -0.49240750074386597, -0.8509729504585266, 0.14698348939418793, -0.30231955647468567, 0.587654173374176, 0.22286714613437653, 0.610943615436554, 0.8960715532302856, 0.5927553772926331, 0.3224789500236511, -0.021180367097258568, -0.13203133642673492, -0.7781547904014587, -0.09378538280725479, -0.0823906660079956, -0.7021788954734802, -0.22222252190113068, 0.2849380671977997, 1.069347858428955, 1.088069200515747, 0.0029359536711126566, 0.2734832167625427, 0.36910662055015564, 0.4412602186203003, -0.881147563457489, 0.09697697311639786, -0.5597871541976929, -0.25530198216438293, -0.5476239919662476, -0.13952073454856873, -0.5193118453025818, -0.09558068215847015, 0.17554934322834015, -0.51505047082901, 0.15281374752521515, -0.019832342863082886, 0.6269738674163818, 0.2354177087545395, -0.32632774114608765, -0.3696083128452301, -0.9330027103424072, 0.8995291590690613, -0.4088308811187744, 0.589020311832428, 0.28414690494537354, -0.029196251183748245, -0.16553790867328644, -0.6275017857551575, -0.1454223245382309, 0.04280782490968704, -0.27702033519744873, -0.2708829641342163, -0.10519807785749435, 0.06062067300081253, 0.21744480729103088, 0.37606313824653625, -0.42327064275741577, 0.5448408722877502, -0.5396038889884949, 0.07124897837638855, 0.31536394357681274, 0.05472039431333542, 0.39082905650138855, 0.1923772096633911, -0.11838250607252121, -0.22000186145305634, -0.9193572402000427, -0.07138122618198395, 0.3997008800506592, 0.37534859776496887, 0.11392192542552948, 0.5846747756004333, 0.04583081603050232, 0.585273802280426, -0.3921317458152771, -0.15010417997837067, 0.5000184774398804, -0.3901379406452179, -0.2051151543855667, 0.026690226048231125, 0.8106903433799744, -0.22078298032283783, 0.4746909439563751, -0.4294893443584442, -0.22142891585826874, -0.1937331259250641, 0.19626882672309875, -0.8456816673278809, 0.013633763417601585, -0.09183429926633835, -0.5101008415222168, -0.18368254601955414, 0.09158100932836533, -0.4729238450527191, -0.3400397002696991, -0.7351322770118713, 0.38462451100349426, -0.3921469449996948, -0.34548434615135193, -0.001407027360983193, 0.005736715160310268, 0.024580171331763268, 0.09434724599123001, -0.8068044185638428, 0.464268296957016, 0.8362615704536438, 0.7083236575126648, -0.2723613679409027, -0.4931269884109497, -0.4854108393192291, 0.08035434037446976, -0.22025513648986816, 0.6893677711486816, -0.8087693452835083, -0.3548838198184967, 0.10970620065927505, 0.10856502503156662, -0.18614913523197174, -0.7902013659477234, 0.3192881941795349, -0.73237544298172, -0.012757484801113605, -0.34004926681518555, -0.780928373336792, -0.1390998214483261, -0.161650612950325, -0.81888347864151, 0.8805217742919922, -0.04637783765792847, -0.6506357789039612, 0.45256292819976807, -0.3840755522251129, -0.5006770491600037, -0.08668212592601776, -0.356441468000412, -0.17560407519340515, 0.39546531438827515, -0.07896532118320465, 0.6263006329536438, -0.5155221223831177, 0.3891634941101074, -0.3940051794052124, -0.3225971758365631, 0.26745861768722534, -0.33392080664634705, 0.8545494675636292, 0.18913812935352325, -0.11747773736715317, 0.053601887077093124, -1.2166647911071777, 0.00798462238162756, -0.010750395245850086, -0.3925710618495941, -0.5902476906776428, -0.06023300439119339, -0.048787299543619156, 0.11990911513566971, 0.2258862853050232, -0.22387446463108063, 0.07098511606454849, -0.1006498634815216, 0.3080901503562927, 0.6865400075912476, -0.34921133518218994, 0.49445798993110657, 0.009673482738435268, 0.5642879605293274, -0.009158900938928127, 0.04586255922913551, -0.11147721111774445, -0.07880789041519165, -0.5305929183959961, -0.3789709508419037, 0.5136409997940063, 0.3606144189834595, -0.24118196964263916, 0.4252670109272003, -0.22598959505558014, -0.6344127058982849, -0.5836772918701172, 0.4315502345561981, 0.5932525396347046, 0.1636802852153778, 0.28315478563308716, -0.42361927032470703, -0.6742914319038391, -0.8615069389343262, -0.2426079958677292, -0.0026377125177532434, -0.0549689419567585, -0.10973047465085983, 0.6030940413475037, -0.22453579306602478, 0.9098020195960999, -0.37984517216682434, -0.10156659036874771, -0.16834522783756256, 0.28157129883766174, 0.3127548396587372, 0.36948108673095703, 0.37036001682281494, -0.3782092034816742, -0.25563845038414, -0.14183683693408966, -0.7591889500617981, -0.2338833510875702, 0.16987155377864838, -0.27384427189826965, 0.01772136613726616, 0.6733053922653198, -0.3103048801422119, 0.3039981722831726, 0.7434326410293579, 0.06382229924201965, 0.804093599319458, -0.3148142397403717, -0.18442310392856598, -0.5950985550880432, 0.2166847288608551, -0.3656792640686035, 0.21841959655284882, -0.753616452217102, -0.3663845956325531, 0.12309928238391876, 0.16750478744506836, -0.29953888058662415, 0.25954726338386536, -0.719383180141449, -0.5929175019264221, -0.10441717505455017, -0.11501624435186386, -0.02877887152135372, 0.1795668751001358, 0.11021573841571808, 0.7510411739349365, 0.4400666058063507, -0.6608882546424866, -0.13808582723140717, 0.24558766186237335, -0.8345043063163757, 0.0023727284278720617, -0.7327142357826233, 0.1456509679555893, -0.21209309995174408, 0.14676924049854279, -0.7310504913330078, -0.012561284936964512, -0.21453805267810822, -0.04654805734753609, 0.35502004623413086, -0.11350779980421066, -0.8130154609680176, 0.11271228641271591, -0.06463415920734406, 0.4721342921257019, 0.18052756786346436, -0.5324548482894897, 0.39678847789764404, 0.5144078135490417, -0.006292340811342001, -0.7753350138664246, -0.4582367241382599, -0.13251256942749023, -0.264530748128891, -0.49337053298950195, 0.26341521739959717, -0.021760115399956703, -0.43044498562812805, 0.02502751350402832, 0.21508334577083588, -0.021508289501070976, 0.28355082869529724, 0.3480317294597626, 0.31171730160713196, -0.22841235995292664, 0.3921873867511749, -0.46418723464012146, 0.02190619893372059, 0.1854080855846405, -0.0838230699300766, 0.8351434469223022, -0.21716241538524628, -0.20541538298130035, -0.057967595756053925, 0.06059598922729492, 0.5680916905403137, -0.5148717761039734, 1.2888293266296387, 0.5032015442848206, -0.1318386346101761, -0.1693354994058609, -0.46619653701782227, 0.07305211573839188, -0.45197221636772156, 0.6120336055755615, -0.46486276388168335, -0.6980711221694946, 0.41903120279312134, -0.11207816004753113, 0.10326802730560303, 0.2671438455581665, 0.55439692735672, 0.10087902843952179, 0.8815528750419617, 0.8013380765914917, -0.27684974670410156, 0.7157599329948425, -0.3073952794075012, -0.011718487367033958, -0.744454026222229, -0.3045418858528137, -0.6510301232337952, -0.0819508507847786, -0.662695050239563, -0.330048531293869, 0.11523175239562988, 0.4539099633693695, -0.3025805652141571, 0.23063498735427856, -0.12047917395830154, 0.6093848943710327, 0.5580545663833618, -0.14993330836296082, 0.5294502377510071, 0.07556521892547607, 0.0649934858083725, 0.14022240042686462, -0.6769887804985046, -0.7996988892555237, 1.5843522548675537, 0.49972131848335266, 0.7665213942527771, 0.03899260237812996, 0.5357539653778076, -0.25314635038375854, 0.41429802775382996, -0.539516270160675, 0.28641340136528015, -0.41794928908348083, -0.7421039938926697, -0.2619248628616333, -0.5891677737236023, -1.2335352897644043, 0.27197450399398804, -0.41913387179374695, -0.5491432547569275, 0.1655023843050003, -0.194888174533844, -0.10010115057229996, 0.12614639103412628, -0.7433915734291077, 0.8365952968597412, -0.7011649012565613, -0.3409407138824463, -0.29366806149482727, -0.48757901787757874, 0.33233457803726196, -0.5053260326385498, 0.5306389331817627, -0.17961281538009644, 0.022459903731942177, 1.0563228130340576, -0.4344669580459595, 0.7973073124885559, 0.03802662715315819, -0.11474176496267319, 0.06663405895233154, -0.2021854966878891, 0.2601678669452667, -0.3767448961734772, -0.13181187212467194, 0.4899590015411377, 0.26786211133003235, -0.3745284676551819, -0.42763659358024597, 0.3620620369911194, -1.1690834760665894, -0.2951224744319916, -0.16895420849323273, -0.5704023838043213, -0.5132686495780945, 0.36660388112068176, 0.37762850522994995, 0.5698965191841125, -0.5049766302108765, 0.3068584203720093, 0.540720522403717, -0.4019361734390259, 0.31416842341423035, 0.7010763883590698, -0.33719563484191895, -0.183272585272789, 0.7671133875846863, 0.42629820108413696, 0.4088080823421478, 0.3458326458930969, -0.018257098272442818, -0.2978541851043701, -0.7819646000862122, -0.08220116794109344, 0.5030420422554016, -0.7009156942367554, 0.17992229759693146, -0.5629361271858215, -0.01535628642886877, -0.5685637593269348, 0.21713826060295105, -0.37280339002609253, -0.030916009098291397, -0.46569934487342834, -0.013830989599227905, -0.05024169757962227, 1.14087975025177, 0.04482564330101013, 0.7328969836235046, -0.9528974294662476, -0.1365143209695816, 0.0603405125439167, 0.5928478837013245, 0.04176018759608269, -0.5220205783843994, -0.5850000381469727, -0.24002937972545624, -0.0011352417059242725, -0.4781975746154785, 0.38286447525024414, 0.18640543520450592, 0.6930990219116211, 0.7114468812942505, -0.21714282035827637, 0.6128978729248047, -0.675814688205719, 0.18723158538341522, 0.2646428048610687, -0.7233753800392151, 0.17627432942390442, -0.1944163292646408, 0.16239266097545624, 0.7333548665046692, 0.5960808396339417, -0.26529282331466675, -0.09020597487688065, -0.5717182755470276, -0.6531246304512024, 0.7941262722015381, 0.09463140368461609, -0.04645787924528122, 0.21842676401138306, 0.17886555194854736, 0.24977244436740875, 0.30498433113098145, -0.41306450963020325, -0.1522815227508545, 0.19067290425300598, -0.1829514503479004, -0.7085004448890686, -0.35740625858306885, 0.05073517933487892, -0.25730133056640625, 0.43825334310531616, 0.29785314202308655, -0.0521756112575531, -0.49295321106910706, -0.5822595357894897, 0.1400390863418579, 0.21905608475208282, 0.3892058730125427, 0.7545192837715149, -0.29494982957839966, 0.32745248079299927, -0.01332150585949421, -0.5305026769638062, 0.027645034715533257, -0.12709268927574158, 0.25258323550224304, -0.06948329508304596, 0.870829164981842, 0.7345072627067566, 0.30623987317085266, -0.7834106087684631, 0.16732144355773926, 0.03520369157195091, -0.03863484784960747, -0.3109133243560791, 0.040671445429325104, 0.047024790197610855, 0.0914972722530365, 0.1356813609600067, -0.1303163468837738, -0.13400065898895264, -0.9240482449531555, 0.22322024405002594, 0.25408264994621277, -0.07271020114421844, -0.4864446818828583, 0.27708643674850464, 0.13475270569324493, -0.0013816244900226593, 0.7085277438163757, 0.2538894712924957, -0.49081727862358093, 0.49993425607681274, 0.4030883014202118, 0.49934470653533936, -0.26090916991233826, -0.08338519185781479, 0.260022908449173, 0.3381868898868561, -0.3749306797981262, -0.22507837414741516, 0.24941347539424896, -0.8603828549385071, -0.6107320189476013, -0.7970276474952698, -0.21042560040950775, 0.44845545291900635, -0.7241102457046509, 0.36141061782836914, -0.429370641708374, -0.024797804653644562, 0.3340722918510437, 0.07668931782245636, -1.114885687828064, 0.19931484758853912, 0.21689732372760773, 0.4975587725639343, -0.82818204164505, 1.027954339981079, 0.5729271173477173, -0.4413139224052429, -0.6392834186553955, -0.18664713203907013, 0.05963568016886711, -1.0917733907699585, 0.9903818964958191, 0.23967233300209045, -0.09175451099872589, 0.0016853522974997759, -0.40939247608184814, -1.1601492166519165, 0.6417744755744934, 0.4365924298763275, -0.8313806653022766, -0.03402101993560791, 0.6856412887573242, 0.5201717615127563, -0.5149909257888794, 0.4840395450592041, 0.891840398311615, 0.42685478925704956, -0.26458102464675903, -0.9050644636154175, -0.14934855699539185, -0.10550576448440552, -0.15280365943908691, 0.1893836110830307, -0.34264814853668213, 0.8449369668960571, 0.06672399491071701, -0.3595673739910126, -0.3201170563697815, 0.3335561454296112, 0.043587327003479004, -0.027046239003539085, 0.6538575887680054, 0.46831169724464417, 0.9564085006713867, 0.1665715128183365, 0.9450159072875977, -0.4951232969760895, -0.023510100319981575, 1.2473413944244385, -0.19954657554626465, 0.8802244663238525, 0.21362265944480896, -0.2840384542942047, 0.3775328993797302, 0.6351605653762817, 0.010593450628221035, 0.381743460893631, 0.5395049452781677, -0.08103834092617035, -0.2626245319843292, -0.20118586719036102, -0.33609479665756226, 0.6386216878890991, 0.37686508893966675, -0.5408012270927429, -0.06895856559276581, 0.1377958357334137, 0.09623254835605621, -0.2015780806541443, -0.24552211165428162, 0.5826702117919922, 0.03582608327269554, -0.5163825750350952, 0.7083742618560791, -0.18674559891223907, 0.6489447355270386, -0.4297461211681366, 0.23044706881046295, -0.019475312903523445, 0.35780036449432373, -0.3402695953845978, -0.5470499992370605, 0.09290749579668045, 0.23100577294826508, -0.37328040599823, -0.37218615412712097, 0.6074726581573486, -0.43785712122917175, -0.4350774586200714, 0.53448885679245, 0.9247120022773743, 0.5010877847671509, -0.12480206042528152, -0.2365773618221283, 0.42876675724983215, -0.2185029536485672, -0.4181641936302185, 0.7606357932090759, 0.6170759797096252, -0.00972338393330574, 0.3948178291320801, 0.645579993724823, 0.009336857125163078, 0.09798688441514969, 0.21816770732402802, 0.8033145070075989, -0.5749242901802063, -0.030322575941681862, -0.8194952011108398, 0.1383679360151291, 0.11948826909065247, -0.372324138879776, 0.7850975394248962, 0.67148756980896, 0.9411048293113708, 0.20182636380195618, 0.793889582157135, 0.33434998989105225, 0.4934237599372864, -0.4827527105808258, 0.7612006664276123, -0.42198312282562256, 0.6136464476585388, -0.25199687480926514, -0.9155690670013428, -0.10360421985387802, 0.29625070095062256, -0.5678281188011169, 0.08029478788375854, 0.6600250005722046, 0.652052104473114, 0.15462654829025269, 0.13134141266345978, 0.3811003863811493, 0.2996181845664978, 0.18946237862110138, 0.11940719187259674, 1.0302627086639404, 0.03998790681362152, 0.7180840373039246, -0.21805402636528015, -0.32462069392204285, -0.03891771659255028, -0.6687570810317993, -0.9530271887779236, -0.5884360671043396, -0.009525115601718426, -0.025915462523698807, -0.0522514246404171, 0.6627773642539978, 0.6742144227027893, -0.6887600421905518, -0.5781280994415283, -0.06906966120004654, -0.06446535140275955, 0.1651902049779892, -0.17107926309108734, 0.5640336275100708, -0.6114790439605713, -0.6027860045433044, 0.45399636030197144, -0.18389485776424408, -0.00487415911629796, -0.2966996729373932, -0.06207706034183502, -0.09216700494289398, -0.13565893471240997, 0.8267994523048401, 0.040407467633485794, -0.3883260190486908, -0.08140050619840622, 0.09810464084148407, -0.10761548578739166, -0.09054435044527054, 1.0378495454788208, -0.8100683093070984, 0.1471489816904068, 0.35738831758499146, 0.6409353017807007, 0.4648558497428894, -0.22336536645889282, 0.7795339822769165, -0.7031449675559998, 0.020121460780501366, -0.10601197183132172, 0.24199402332305908, 0.09283773601055145, -0.06556618958711624, 0.6970090866088867, 0.27046555280685425, -0.5982089638710022, -1.0742853879928589, -0.05761924758553505, -0.5195320844650269, -0.7254682779312134, 1.1661131381988525, -0.15637050569057465, -0.24509526789188385, -0.329402893781662, 0.24528269469738007, 0.396822065114975, -0.1023448035120964, 0.5576156973838806, 0.96634840965271, -0.14198897778987885, -0.14366281032562256, -0.8437938690185547, 0.3311600387096405, 0.5728346705436707, -0.8094475269317627, 0.29174289107322693, 0.5525954961776733, 0.35404863953590393, 0.1347849816083908, 0.5471580028533936, -0.09871822595596313, -0.3606371283531189, -0.03433529660105705, 0.23467335104942322, -0.0860775038599968, -0.44313880801200867, -0.4114325940608978, 0.17774896323680878, 0.04444727674126625, -0.006090693175792694 ]
http://arxiv.org/abs/2403.00782v1
http://arxiv.org/pdf/2403.00782v1
Ploutos: Towards interpretable stock movement prediction with financial large language model
2024-02-18T10:28:18
2024-02-18T10:28:18
Hanshuang Tong, Jun Li, Ning Wu, Ming Gong, Dongmei Zhang, Qi Zhang
q-fin.ST
q-fin.ST, cs.AI, cs.CL
Recent advancements in large language models (LLMs) have opened new pathways for many domains. However, the full potential of LLMs in financial investments remains largely untapped. There are two main challenges for typical deep learning-based methods for quantitative finance. First, they struggle to fuse textual and numerical information flexibly for stock movement prediction. Second, traditional methods lack clarity and interpretability, which impedes their application in scenarios where the justification for predictions is essential. To solve the above challenges, we propose Ploutos, a novel financial LLM framework that consists of PloutosGen and PloutosGPT. The PloutosGen contains multiple primary experts that can analyze different modal data, such as text and numbers, and provide quantitative strategies from different perspectives. Then PloutosGPT combines their insights and predictions and generates interpretable rationales. To generate accurate and faithful rationales, the training strategy of PloutosGPT leverage rearview-mirror prompting mechanism to guide GPT-4 to generate rationales, and a dynamic token weighting mechanism to finetune LLM by increasing key tokens weight. Extensive experiments show our framework outperforms the state-of-the-art methods on both prediction accuracy and interpretability.
[ 0.16847532987594604, -0.32599735260009766, 0.48811256885528564, 0.1412048637866974, -0.39975565671920776, 0.3989138901233673, -0.2849131226539612, -0.1868346780538559, -0.006259726360440254, 0.6237507462501526, -0.5276015400886536, -0.460088849067688, -0.7425333261489868, -0.274017870426178, -0.48377031087875366, 1.1097208261489868, -0.19666868448257446, 0.37462833523750305, 0.2859661281108856, 0.07607725262641907, -0.27116769552230835, -0.3005097210407257, -0.94841068983078, -0.08406014740467072, 0.16014321148395538, 0.09927424043416977, 0.8326994776725769, 0.4544045925140381, 0.5451837778091431, 0.3988684117794037, -0.13437838852405548, 0.07390028238296509, -0.35402411222457886, 0.038098979741334915, 0.08461175113916397, -0.43907761573791504, -0.38285547494888306, -0.1990496665239334, 0.6476368308067322, 0.6116059422492981, -0.383362352848053, -0.22791749238967896, 0.1762876659631729, 0.7076183557510376, -0.319472998380661, 0.4743097424507141, -0.42837923765182495, 0.12429752200841904, -0.38902565836906433, -0.15640467405319214, -0.3170722424983978, -0.21775256097316742, 0.5472061038017273, -0.7792662382125854, 0.05095367878675461, 0.21522393822669983, 0.3368709087371826, 0.07480612397193909, -0.4987739622592926, -0.510040819644928, -0.4302279055118561, 0.852527916431427, -0.9046216011047363, 0.4607861042022705, 0.14829985797405243, 0.39303678274154663, -0.35484713315963745, -0.8670412302017212, -0.35018885135650635, -0.31842249631881714, 0.20154371857643127, 0.03825737163424492, 0.1437823623418808, 0.007103200536221266, -0.08206847310066223, 0.4617977440357208, -0.33794325590133667, 0.28471115231513977, -0.32985568046569824, -0.02288934774696827, 0.8208348155021667, 0.18336617946624756, 0.08989379554986954, 0.2962355315685272, -0.836767852306366, -0.15013228356838226, -0.6452159881591797, 0.10734586417675018, 0.37551459670066833, 0.41409924626350403, -0.5093486309051514, 0.28201770782470703, 0.21662765741348267, 0.35554027557373047, 0.03172694891691208, -0.2290530800819397, 0.21819855272769928, -0.014329468831419945, -0.38467317819595337, 0.2196018099784851, 0.6434772610664368, 0.23153305053710938, 0.32368388772010803, -0.20292672514915466, -0.20052175223827362, -0.4056541323661804, -0.05618031322956085, -0.7494760155677795, -0.3455122709274292, 0.24189484119415283, -0.3934008479118347, -0.30135515332221985, 0.2819010317325592, -1.0854727029800415, -0.720191478729248, -0.3937303125858307, 0.28015783429145813, -0.6784825325012207, -0.25761884450912476, 0.4757772386074066, -0.07879412919282913, 0.22724099457263947, 0.4849817156791687, -0.9640455842018127, 0.20354652404785156, 1.0442302227020264, 0.7291046977043152, -0.28773602843284607, -0.26173684000968933, -0.6469213962554932, 0.4986671507358551, -0.3335728049278259, 0.46562695503234863, -0.36197543144226074, -0.22552822530269623, 0.09958042204380035, -0.20650061964988708, -0.15027640759944916, -0.23725570738315582, 0.22026030719280243, -0.6208134293556213, 0.20964057743549347, -0.17174190282821655, -0.8371034264564514, -0.583090603351593, 0.11251910775899887, -0.5483771562576294, 0.4920656979084015, -0.16443948447704315, -0.6648952960968018, 0.43550577759742737, -0.8696169853210449, -0.47757506370544434, 0.2742205262184143, -0.11760082840919495, -0.3399215638637543, -0.02979055605828762, 0.1008215919137001, 0.6440010070800781, -0.4014383554458618, 0.3863423764705658, -0.4798891842365265, -0.3792913556098938, 0.7668749094009399, -0.5226321816444397, 0.43583741784095764, 0.17239169776439667, -0.4164104461669922, 0.2755330502986908, -0.6700920462608337, -0.39959949254989624, 0.1149907335639, -0.024786442518234253, -0.37278497219085693, 0.26038414239883423, -0.290798157453537, -0.3306610584259033, 0.4355684816837311, -0.23123955726623535, 0.1704714447259903, -0.7935657501220703, 0.7554376125335693, 1.0613452196121216, -0.18733914196491241, 0.7801105380058289, -0.03772711753845215, 0.6695538759231567, 0.11637852340936661, 0.17220160365104675, -0.2734767496585846, -0.35345733165740967, -0.19000360369682312, -0.5216590166091919, 0.36866283416748047, 0.5138840675354004, -0.5605666041374207, 0.08333636820316315, -0.17845040559768677, -0.10089857131242752, -0.1489943414926529, 0.3351612985134125, -0.14235007762908936, 0.42505761981010437, 0.1854238063097, -0.07197200506925583, -0.49685972929000854, -0.6346021294593811, -0.12907111644744873, -0.028409764170646667, -0.0984056293964386, -0.13686209917068481, 0.39494532346725464, -0.09500464051961899, 0.6096182465553284, -0.5695778131484985, -0.2003507763147354, -0.2607598304748535, 0.35728591680526733, 0.4213160574436188, 0.3406527638435364, 0.29167836904525757, -0.9753218293190002, -0.27652812004089355, 0.26735734939575195, -0.6479454040527344, 0.31195056438446045, -0.511736273765564, 0.028686122968792915, -0.07241655886173248, 0.5706470012664795, -0.6663430333137512, 0.26470738649368286, 0.5593792796134949, -0.3784840404987335, 0.0925370454788208, -0.0884244292974472, -0.3296797275543213, -1.241085171699524, -0.07671505957841873, 0.27976566553115845, -0.17918550968170166, -0.33005622029304504, 0.08338040113449097, -0.19263267517089844, -0.05192156508564949, -0.3364136517047882, 0.7864224910736084, -0.2838251292705536, -0.3637125492095947, -0.19312703609466553, 0.20304642617702484, -0.16597577929496765, 0.24735186994075775, -0.041952747851610184, 0.8190081119537354, 0.6554951667785645, -0.46459317207336426, 0.3500771224498749, 0.19224326312541962, -0.47558853030204773, 0.07597411423921585, -0.4864552319049835, -0.3000936210155487, 0.054352082312107086, 0.27424952387809753, -1.1253576278686523, -0.058550212532281876, 0.4065418839454651, -0.17160609364509583, 0.4736759066581726, 0.030034709721803665, -0.3214172422885895, -0.23247650265693665, -0.4815903902053833, 0.2613757848739624, 0.25762009620666504, -0.38277819752693176, 0.9152317643165588, 0.12754255533218384, -0.5600895881652832, -0.740547776222229, -0.586403489112854, 0.13579893112182617, -0.41045355796813965, -0.7245940566062927, 0.2804138958454132, -0.03795543313026428, -0.40799620747566223, -0.1625780314207077, -0.07461470365524292, 0.11837353557348251, 0.26971161365509033, 0.28926971554756165, 0.44908416271209717, -0.23869428038597107, 0.14181947708129883, 0.009686209261417389, -0.2021932303905487, -0.03650984540581703, -0.4536634683609009, 0.36811044812202454, -0.3618166148662567, -0.10336030274629593, -0.4860541522502899, -0.003707912052050233, 0.7650884985923767, -0.16609656810760498, 0.7717607021331787, 0.4748830795288086, 0.012928883545100689, -0.257351815700531, -0.3189193308353424, -0.03732066974043846, -0.5353420376777649, 0.36570286750793457, -0.1855625957250595, -0.8757007718086243, 0.7630786299705505, -0.4878649413585663, 0.2782692611217499, 0.4754313826560974, 0.5732823014259338, -0.3047083914279938, 0.9687209129333496, 0.6515077352523804, 0.1620168536901474, 0.4883882403373718, -0.4296770393848419, 0.38003358244895935, -0.512611985206604, -0.4077432453632355, 0.09926358610391617, -0.6396860480308533, -0.3501671254634857, -0.3908674716949463, 0.10872112214565277, 0.29085493087768555, -0.3770098388195038, 0.17477285861968994, -0.06700728833675385, 0.16401541233062744, 0.40415894985198975, -0.3155014216899872, 0.26370489597320557, -0.0015014208620414138, -0.18291836977005005, -0.07941586524248123, -0.5772773623466492, -0.279066801071167, 1.195285677909851, 0.8237482309341431, 0.9179463386535645, 0.03347040340304375, 0.41851934790611267, 0.23200319707393646, 0.6720701456069946, -0.8125110268592834, 0.5533673167228699, -0.5366326570510864, -0.18504562973976135, -0.36201250553131104, -0.6075890064239502, -0.6404621005058289, -0.03286738693714142, -0.1444770246744156, -0.4473622739315033, 0.28593724966049194, -0.033924102783203125, -0.7519837617874146, 0.3531922698020935, -0.6648532748222351, 0.747478723526001, -0.7932029962539673, -0.1875336617231369, -0.23618084192276, -0.5115288496017456, 0.2481900155544281, -0.3744750916957855, 0.43697109818458557, -0.08312051743268967, -0.43549174070358276, 0.6976758241653442, -0.5487232208251953, 1.1481142044067383, -0.09347252547740936, -0.36584317684173584, 0.23005585372447968, 0.1191171333193779, 0.8181615471839905, 0.23437702655792236, -0.13199135661125183, 0.30527833104133606, -0.10112964361906052, -0.16731947660446167, -0.4353567361831665, 0.6823164224624634, -0.5557616949081421, -0.2035253345966339, -0.49670904874801636, -0.752333402633667, -0.21078595519065857, -0.09582756459712982, 0.1418176293373108, -0.036201078444719315, 0.12271777540445328, 0.20613610744476318, 0.32976529002189636, -0.15441890060901642, 0.6695691347122192, 0.6165562272071838, -0.19842001795768738, -0.8914501667022705, 0.9018905758857727, 0.09971141070127487, -0.24986985325813293, 0.4380702078342438, 0.4519614577293396, -0.7207121849060059, -0.8591682314872742, -0.2553839385509491, 0.1796024590730667, -0.2936529219150543, -0.2669723331928253, -0.03694958612322807, 0.06113511696457863, -0.4707946181297302, -0.4171030819416046, -0.47234782576560974, -0.1515483856201172, -0.34207621216773987, -0.3404099941253662, 0.47885462641716003, 0.6360445022583008, -0.06741060316562653, 0.49794304370880127, -0.8807100057601929, 0.06194261088967323, 0.4765288531780243, 0.537809431552887, -0.0027912049554288387, -0.5578933954238892, -0.31268689036369324, 0.14481088519096375, -0.224577397108078, -0.7632473707199097, 0.6231897473335266, 0.01797431893646717, 0.2893247902393341, 0.8316788673400879, 0.048879388719797134, 0.665337860584259, 0.08014799654483795, 0.473440945148468, 0.553546130657196, -0.9611223936080933, 0.27548307180404663, -0.5537871718406677, -0.06811711937189102, 0.41141149401664734, 0.28867509961128235, -0.25164926052093506, -0.19761385023593903, -0.4336778521537781, -1.0515824556350708, 0.4447139799594879, 0.08764173090457916, 0.01714654266834259, 0.14363634586334229, 0.512851893901825, 0.4733509123325348, 0.6711828112602234, -0.6816867589950562, 0.255602091550827, -0.16913701593875885, -0.4313226044178009, -0.06791377812623978, -0.23490285873413086, 0.035152509808540344, -0.027802571654319763, 0.6217444539070129, -0.30545279383659363, -0.20958305895328522, -0.12724588811397552, 0.17463073134422302, -0.1632116138935089, -0.08971899002790451, 0.6205240488052368, 0.6801434755325317, -0.24640560150146484, -0.25072774291038513, 0.16930511593818665, -0.23955869674682617, -0.18095926940441132, 0.3966362476348877, -0.1542639583349228, -0.22927944362163544, 0.3257809281349182, 0.8549553155899048, 0.6939643621444702, -1.0498219728469849, 0.6583094000816345, -0.014314251951873302, -0.46666017174720764, -0.9078880548477173, -0.3567003011703491, -0.03427129238843918, 0.8607271313667297, 0.6995370984077454, 0.059748873114585876, 0.02784184366464615, -0.5108776688575745, 0.18603187799453735, 0.38637930154800415, -0.31496816873550415, -0.4059661626815796, 0.8443621397018433, 0.35511916875839233, 0.16508543491363525, 0.5389897227287292, 0.028109624981880188, -0.46801474690437317, 0.5367761254310608, 0.059133563190698624, 1.1005992889404297, -0.11592704057693481, 0.2771434187889099, -0.09652429819107056, 0.07752806693315506, -0.591195821762085, 0.2901743948459625, 0.13044708967208862, -0.8014143705368042, -1.0178645849227905, -0.7276050448417664, -0.419954776763916, 0.3705681562423706, -0.3249457776546478, 0.3532913029193878, -0.8345377445220947, -0.16037099063396454, -0.10083283483982086, -0.1560824066400528, -0.22311308979988098, 0.09423097223043442, 0.5675851106643677, 0.8754645586013794, -0.6195811629295349, 0.5593370795249939, 0.7114145159721375, -0.16372627019882202, -0.5097131729125977, 0.07755086570978165, -0.10834168642759323, -0.9409550428390503, 0.7569103837013245, 0.1364033967256546, 0.10024595260620117, -0.22524552047252655, -0.5367627143859863, -0.8144705295562744, 1.1406309604644775, 0.6053928732872009, -0.9222615361213684, -0.12569637596607208, -0.04362789914011955, 0.27245864272117615, -0.4235793352127075, -0.3488982319831848, 0.24019254744052887, 0.5578135848045349, 0.6156771779060364, -0.44068968296051025, -0.11041801422834396, 0.12489266693592072, -0.10340121388435364, 0.4698289930820465, -0.7469317317008972, 0.898342490196228, -0.3488248586654663, -0.11098235100507736, 0.3085685968399048, 0.9349136352539062, 0.19582314789295197, 0.7304193377494812, 0.34636005759239197, 0.6671919226646423, 0.8139679431915283, 0.06859685480594635, 1.0952256917953491, -0.6370064616203308, 0.3716043531894684, 1.1421070098876953, -0.5134357810020447, 1.049980878829956, 0.39997637271881104, -0.13525836169719696, 0.44835948944091797, 0.6021145582199097, -0.23285198211669922, 0.578744649887085, 0.14976860582828522, -0.3675110340118408, -0.47130176424980164, 0.26571735739707947, -0.36458098888397217, 0.49122652411460876, 0.4354105293750763, -0.5403827428817749, 0.07512199133634567, 0.04222947731614113, -0.1094900369644165, -0.09905052930116653, -0.4550061523914337, 0.47421005368232727, 0.4942309856414795, -0.2481883317232132, -0.20082153379917145, 0.20778542757034302, 0.6556019186973572, -0.8137776255607605, 0.07865463942289352, -0.1653430461883545, 0.40761029720306396, 0.1597760170698166, -0.7827695608139038, 0.1871032863855362, -0.38042953610420227, 0.2819799482822418, -0.5151466727256775, 0.6055617332458496, -0.2546577453613281, -0.6620917916297913, 0.2812521457672119, 0.2862423360347748, -0.17534266412258148, -0.13198499381542206, -0.745833694934845, -0.3506655991077423, 0.0686144307255745, -0.26265618205070496, 0.48378226161003113, 0.7217674255371094, 0.03201624006032944, 0.9140319228172302, 1.0887547731399536, 0.10924521088600159, -0.07053575664758682, -0.046322304755449295, 0.5719549059867859, -0.7494746446609497, -0.779545783996582, -0.953884482383728, 0.2973906099796295, 0.1133817806839943, -0.32717227935791016, 0.5192852020263672, 0.5332643985748291, 0.30847007036209106, 0.0031037505250424147, 0.6563974618911743, 0.6886093616485596, 0.3745616376399994, -0.7486915588378906, 0.5268194675445557, -0.2971058487892151, 0.5654062628746033, 0.09678288549184799, -0.7087769508361816, -0.19238059222698212, 0.5902419090270996, -0.5911450386047363, -0.23324286937713623, 0.47233346104621887, 0.3267398476600647, 0.152450293302536, 0.45125460624694824, 0.11807340383529663, 0.5900134444236755, -0.10913993418216705, 0.42897829413414, 0.7714855670928955, -0.25539737939834595, 0.55719393491745, -0.07683027535676956, 0.028902260586619377, -0.38371309638023376, -0.9750316739082336, -0.6726347208023071, -0.2451404184103012, -0.6227706074714661, -0.0012786388397216797, -0.007617519237101078, 0.6811755299568176, 0.505240261554718, -0.8276621699333191, -0.4099523723125458, -0.3683643341064453, -0.027030901983380318, -0.39286112785339355, -0.22420841455459595, 0.36871740221977234, -0.14067919552326202, -0.4847693145275116, 0.5602299571037292, 0.5523831844329834, 0.5083539485931396, -0.41339024901390076, -0.3766385316848755, 0.24529428780078888, 0.05943043902516365, 0.6787226796150208, 0.34150031208992004, -0.4433274567127228, 0.16280697286128998, -0.19141416251659393, 0.2846374809741974, -0.23496562242507935, 0.8368558883666992, -0.5699899196624756, 0.007388849277049303, 0.5448654890060425, 0.6826479434967041, 0.5450252890586853, 0.03876442089676857, 0.916716992855072, -0.5309872031211853, 0.2572893500328064, 0.3663167357444763, 0.40688014030456543, 0.11221028864383698, -0.27369922399520874, 0.5013176798820496, 0.31362223625183105, -0.2023146152496338, -0.5684975981712341, -0.2206895500421524, -1.0744000673294067, -0.5077219605445862, 1.077244520187378, -0.11337857693433762, -0.32539239525794983, 0.03286982700228691, 0.02191009558737278, -0.003758526872843504, -0.698119044303894, 0.6593697667121887, 0.42412590980529785, 0.16836637258529663, -0.400272399187088, -0.7606682777404785, 0.28390321135520935, 0.5514668226242065, -0.30756255984306335, 0.20521768927574158, 0.1816737949848175, 0.1454005092382431, -0.04108138009905815, 0.28357645869255066, -0.10519582778215408, 0.10505938529968262, -0.20907479524612427, -0.18110840022563934, -0.18571539223194122, -0.15635834634304047, -0.20688961446285248, 0.5667424201965332, -0.1504262238740921, -0.2624448239803314 ]
http://arxiv.org/abs/2402.11534v1
http://arxiv.org/pdf/2402.11534v1
PreAct: Predicting Future in ReAct Enhances Agent's Planning Ability
2024-02-18T10:15:38
2024-02-18T10:15:38
Dayuan Fu, Jianzhao Huang, Siyuan Lu, Guanting Dong, Yejie Wang, Keqing He, Weiran Xu
cs.CL
cs.CL, cs.AI
Addressing the discrepancies between predictions and actual outcomes often aids individuals in expanding their thought processes and engaging in reflection, thereby facilitating reasoning in the correct direction. In this paper, we introduce $\textbf{PreAct}$, an agent framework that integrates $\textbf{pre}$diction with $\textbf{rea}$soning and $\textbf{act}$ion. Leveraging the information provided by predictions, a large language model (LLM) based agent can offer more diversified and strategically oriented reasoning, which in turn leads to more effective actions that help the agent complete complex tasks. Our experiments demonstrate that PreAct outperforms the ReAct approach in accomplishing complex tasks and that PreAct can be co-enhanced when combined with Reflexion methods. We prompt the model with different numbers of historical predictions and find that historical predictions have a sustained positive effect on LLM planning. The differences in single-step reasoning between PreAct and ReAct show that PreAct indeed offers advantages in terms of diversity and strategic directivity over ReAct.
[ -0.3053998649120331, -0.5818865299224854, 0.8190197348594666, 0.19154399633407593, -0.10226012766361237, 0.355919748544693, 0.09503671526908875, -0.48628804087638855, 0.5166982412338257, 0.48685234785079956, -0.9043287038803101, -0.43687018752098083, -0.26144397258758545, -0.21923816204071045, -0.016985755413770676, 0.5265011191368103, -0.14091695845127106, 0.03608136251568794, -0.21858899295330048, 0.23977281153202057, -0.6689826250076294, -0.6709407567977905, -0.5078532099723816, -0.575553834438324, 0.46944916248321533, 0.38205012679100037, 0.8723827600479126, 0.19490474462509155, 0.44209522008895874, 0.5055719017982483, 0.2848302125930786, 0.01142122596502304, -0.5752351880073547, 0.42603686451911926, -0.6138842105865479, -0.47299832105636597, -0.972444474697113, 0.0922730565071106, 0.4692476689815521, 0.30258774757385254, -0.1629243791103363, -0.1446887105703354, -0.48817092180252075, 0.3372194766998291, -0.628279447555542, 0.2601962685585022, -0.322855681180954, -0.01842055283486843, 0.10214581340551376, -0.34062179923057556, -0.38715511560440063, -0.02391439862549305, 0.22463372349739075, -0.8003982901573181, -0.259466290473938, 0.08736632019281387, 0.4598659574985504, 0.39164140820503235, -0.3325108587741852, 0.1478700041770935, -0.9637083411216736, 0.7659461498260498, -0.5890368819236755, 0.4905613660812378, 0.3144806921482086, 0.6230379939079285, -0.5875750184059143, -1.108252763748169, -0.6947017312049866, -0.011121520772576332, -0.039453864097595215, 0.22993557155132294, 0.23207467794418335, 0.3096597492694855, 0.19560617208480835, 0.07308077812194824, -0.36279404163360596, -0.05811772122979164, 0.23448897898197174, -0.3648020923137665, 0.7174996733665466, 0.32048413157463074, 0.3089388906955719, 0.1882624477148056, -0.6745782494544983, -0.2966102361679077, -0.6459028720855713, 0.2262214571237564, 0.08621691167354584, 0.42829054594039917, -0.004092656075954437, 0.2923288345336914, -0.469292551279068, 0.49346110224723816, -0.20319105684757233, -0.04758443683385849, 0.01741572469472885, -0.3895031213760376, -0.37734124064445496, -0.16869521141052246, 0.5163074731826782, 0.22463567554950714, 0.5537587404251099, -0.04808826744556427, -0.22895154356956482, 0.14671966433525085, 0.2735210061073303, -0.8224023580551147, 0.0396118201315403, 0.23544597625732422, -0.20495381951332092, -0.05947892740368843, -0.04751436412334442, -0.9639266133308411, -0.45537424087524414, -0.4851638078689575, 0.49914684891700745, -0.11756549030542374, -0.4998965859413147, 0.21041372418403625, -0.10663585364818573, 0.12446951866149902, 0.5651204586029053, -0.47256407141685486, 0.5049260258674622, 0.7277858853340149, 0.13153235614299774, -0.07581934332847595, -0.6750553846359253, -0.36747100949287415, 0.04169432073831558, -0.5055724382400513, 1.0715384483337402, -0.6723562479019165, -0.4507236182689667, -0.03546759858727455, -0.06976724416017532, 0.18250133097171783, -0.3485691547393799, 0.43520793318748474, -0.7832845449447632, -0.00047330805682577193, -0.3202546238899231, -0.1868242770433426, -0.34981271624565125, 0.3414401710033417, -0.9379698634147644, 0.4228116273880005, 0.04889725148677826, -0.20532061159610748, 0.8013695478439331, -0.6171162128448486, -0.7009129524230957, 0.0767543613910675, -0.309429794549942, -0.09106327593326569, -0.07142297923564911, 0.1314437985420227, 0.4232463836669922, -0.32424280047416687, 0.5224737524986267, -0.32031145691871643, -0.17849192023277283, 0.3502362072467804, -0.14741364121437073, 0.21066676080226898, 0.10077427327632904, -0.31234440207481384, 0.6307726502418518, -0.3522471785545349, 0.20865587890148163, 0.07018464058637619, -0.022748537361621857, 0.0045562805607914925, 0.3123615086078644, -0.416241854429245, 0.40897083282470703, 0.23330791294574738, -0.11322441697120667, 0.07497980445623398, -0.44995197653770447, -0.04965492710471153, 0.9131016135215759, 0.1069653183221817, 0.8286505341529846, -0.5228257179260254, 0.8500681519508362, -0.21145668625831604, 0.3669767379760742, -0.20312507450580597, -0.3593564033508301, -0.22372733056545258, -0.03971146047115326, -0.014485586434602737, 0.4338650405406952, -0.6968083381652832, -0.17028136551380157, -0.41797226667404175, -0.4013693928718567, 0.22595512866973877, -0.2710197865962982, 0.36737316846847534, 0.39162638783454895, 0.3080359697341919, -0.15868988633155823, -1.0118321180343628, -0.38938647508621216, -0.4850209653377533, -0.27694907784461975, 0.7328433990478516, 0.11336146295070648, 0.3906993269920349, -0.31501466035842896, 1.1100022792816162, -0.5245437026023865, -0.0300391037017107, -0.5512081980705261, 0.17898552119731903, 0.21892531216144562, 0.33161869645118713, 0.2598922550678253, -1.272875428199768, -0.50773024559021, -0.35765737295150757, -0.5116750597953796, 0.2954879403114319, -0.11909652501344681, -0.4341927766799927, 0.005044972524046898, 0.545936107635498, -0.7295306921005249, 0.5760693550109863, 0.3584533929824829, -0.6526588797569275, 0.674064040184021, 0.013207166455686092, 0.21916165947914124, -1.0954301357269287, -0.22641749680042267, -0.40369629859924316, -0.38648131489753723, -0.8299169540405273, -0.050870344042778015, -0.3162388503551483, -0.15493816137313843, -0.6431472301483154, 0.892342209815979, -0.40551379323005676, -0.18468816578388214, -0.37248075008392334, -0.08400280028581619, -0.12947028875350952, 0.32972362637519836, 0.39858999848365784, 0.8275033235549927, 0.30052757263183594, -0.684169352054596, 0.1168200671672821, 0.08532349765300751, -0.2279936969280243, 0.07074575871229172, -0.36035794019699097, -0.05529129505157471, 0.02180837281048298, 0.44242459535598755, -0.8042325377464294, -0.2745971083641052, -0.17701546847820282, -0.5895384550094604, 0.4412926137447357, 0.3803141713142395, -0.3592640459537506, -0.4155738055706024, -0.09330584108829498, 0.46818041801452637, 0.4202582538127899, -0.20430725812911987, 1.503800392150879, 0.3429306149482727, -0.16976523399353027, -1.0974470376968384, -0.5382985472679138, -0.18348905444145203, 0.06901030987501144, -0.4732212722301483, 0.36392518877983093, -0.2738444209098816, -0.7159247398376465, 0.11417274922132492, -0.13355772197246552, -0.1200895607471466, 0.03319728001952171, 0.40711620450019836, 0.41730356216430664, -0.05890795961022377, 0.22074946761131287, -0.02690025046467781, -0.31421545147895813, 0.04680977016687393, -0.1946701556444168, 0.8065681457519531, -0.01581818051636219, -0.27002114057540894, -0.1175205409526825, 0.13877372443675995, 0.9121664762496948, -0.44426003098487854, 0.49565431475639343, -0.007768579293042421, -0.29224222898483276, -0.5354251861572266, -0.4654679596424103, -0.45305493474006653, -0.48049861192703247, 0.4241226017475128, -0.5681903958320618, -0.44585660099983215, 0.6180341243743896, -0.7111237645149231, -0.0392891988158226, 0.28527867794036865, 0.2659150958061218, -0.10291298478841782, 0.8217665553092957, 0.6491686105728149, 0.2000635415315628, 0.6201164126396179, -0.44986313581466675, 0.054276395589113235, -0.5422557592391968, -0.22624218463897705, 0.1290692687034607, -0.3761712312698364, -0.30156585574150085, -0.7735313773155212, -0.2325434535741806, -0.10710359364748001, -0.5150095224380493, 0.18312805891036987, -0.19028371572494507, 0.4671570360660553, 0.29055023193359375, -0.12887659668922424, 0.22989949584007263, -0.32507482171058655, 0.04472462087869644, 0.10854092985391617, -0.5315092206001282, -0.47413188219070435, 1.2766140699386597, 0.10664843022823334, 0.8171597123146057, 0.03565818816423416, 0.8800494074821472, 0.25340455770492554, 0.6270462274551392, -0.6842082142829895, 0.9644770622253418, 0.0940350666642189, -0.9617915749549866, -0.596350371837616, -0.027486160397529602, -0.9188783168792725, 0.3353927731513977, -0.5392143130302429, -0.3858753740787506, 0.48152703046798706, 0.057957135140895844, -0.4479140341281891, 0.16150039434432983, -0.7130025029182434, 0.6991560459136963, -0.46026089787483215, -0.5824412703514099, -0.48568499088287354, -0.5509532690048218, -0.08662134408950806, -0.08812412619590759, 0.3355892300605774, -0.14876417815685272, -0.21925823390483856, 0.4442262053489685, -0.24267099797725677, 0.7903739809989929, -0.24274206161499023, 0.1239793673157692, 0.6672624945640564, 0.17893026769161224, 0.8367778658866882, -0.26105836033821106, -0.2642156183719635, -0.31006357073783875, -0.3004230260848999, -0.16547590494155884, -0.7852926254272461, 0.5898009538650513, -0.6812888383865356, -0.8099562525749207, -0.3387400507926941, -0.7240279316902161, -0.32605788111686707, 0.5116475820541382, 0.22812263667583466, 0.5038687586784363, -0.8131375312805176, -0.32588252425193787, 0.30598488450050354, 0.02641061507165432, 0.6630675792694092, 0.7882179021835327, -0.5626769661903381, -0.4797460436820984, 0.5107313990592957, 0.17035695910453796, 0.3568803071975708, 0.740919828414917, 0.2557830214500427, -0.7233838438987732, -0.35918277502059937, 0.16384874284267426, 0.14463026821613312, -0.8406394124031067, -0.12012000381946564, -0.3919312357902527, 0.22046814858913422, -0.5500616431236267, -0.4263983964920044, -0.2919681668281555, -0.32379424571990967, 0.05557272210717201, -0.3975062668323517, -0.1215212270617485, 0.7380189895629883, -0.09780365973711014, 0.30692753195762634, -0.2954882085323334, 0.2825610041618347, 0.4019777774810791, 0.24974289536476135, -0.0569038949906826, 0.08196893334388733, -0.044556599110364914, -0.18377502262592316, -0.03582853078842163, -1.0052984952926636, 0.4066048264503479, -0.13782109320163727, 0.8845056295394897, 0.2927675247192383, 0.1938600242137909, 0.5204159617424011, -0.5279020667076111, 0.5943118929862976, 0.1427256017923355, -0.6804705262184143, 0.6649065017700195, -0.37346112728118896, 0.3107750713825226, 0.5533274412155151, 0.2840249240398407, 0.09698638319969177, -0.03421061858534813, -0.8510555028915405, -0.7289580702781677, 0.6061761379241943, -0.19817495346069336, -0.03744287043809891, 0.1008133590221405, -0.030428091064095497, -0.013138918206095695, 0.41208770871162415, -0.6970930099487305, -0.03944037854671478, -0.17020052671432495, 0.03717300668358803, -0.7154806852340698, -0.3720976412296295, -0.08771051466464996, -0.38253727555274963, 0.37237289547920227, -0.01811962015926838, 0.3657955527305603, 0.15946266055107117, -0.062414221465587616, -0.23503950238227844, 0.396842896938324, 0.8371675610542297, 0.8957194089889526, -0.1364647001028061, 0.17406649887561798, 0.33807846903800964, -0.4013424217700958, 0.3276345729827881, 0.23280595242977142, 0.34943774342536926, -0.379166841506958, 0.7187256217002869, 0.5851038694381714, 0.2213219851255417, -0.7624962329864502, 0.374066561460495, 0.045296672731637955, -0.08330228924751282, -0.6017530560493469, -0.0009512378601357341, 0.09009458124637604, 0.7211262583732605, 0.3131319284439087, 0.17818167805671692, 0.08706046640872955, -0.9151891469955444, 0.23734723031520844, 0.16114060580730438, -0.28160253167152405, -0.28862231969833374, 0.4742271900177002, 0.33141791820526123, -0.520898163318634, 0.3233872056007385, -0.3286401629447937, -0.8139644265174866, 0.7719122171401978, 0.7289623618125916, 0.989271879196167, -0.6051803827285767, 0.1892385482788086, 0.2484474927186966, 0.15060001611709595, -0.23174983263015747, 0.8311466574668884, -0.0005420005181804299, -0.9539505243301392, -0.9833773970603943, -0.44321081042289734, -0.19615961611270905, -0.20314033329486847, -0.07180467993021011, 0.09485877305269241, -0.7054106593132019, -0.6766923069953918, -0.532738208770752, 0.17753413319587708, -0.6921536326408386, 0.5456393361091614, 0.007300524041056633, 0.9421434998512268, -0.7417391538619995, 0.7366392016410828, 1.0426428318023682, -0.5834324359893799, -1.0889770984649658, 0.21267421543598175, -0.05625271424651146, -0.5007299780845642, 1.0893973112106323, 0.0642775148153305, -0.766485869884491, -0.10198062658309937, -0.35912758111953735, -1.191819429397583, 1.2096939086914062, 0.3795022666454315, -0.5642214417457581, 0.028606252744793892, -0.035618096590042114, 0.5006183981895447, -0.5267914533615112, 0.05924796313047409, 0.33916255831718445, 0.728103518486023, 0.3918638229370117, -0.6893337368965149, 0.30696243047714233, -0.16313739120960236, -0.4946288764476776, 0.34073829650878906, -0.43457114696502686, 1.2568596601486206, -0.6423782110214233, -0.5283932685852051, -0.10209300369024277, 0.8717919588088989, 0.06847918778657913, 0.6195699572563171, 0.5968944430351257, 0.5905590653419495, 0.7113413214683533, -0.0907502993941307, 1.2988510131835938, -0.17616567015647888, -0.08186201006174088, 1.4771955013275146, -0.3409649431705475, 0.9424704313278198, 0.14592045545578003, -0.0886942595243454, 1.1618744134902954, 0.3225685954093933, 0.6220853328704834, 0.7319328784942627, -0.10431569814682007, -0.1948062926530838, -0.6548723578453064, 0.04545516148209572, -0.18563735485076904, 0.5242199897766113, 0.2338695228099823, -0.044473446905612946, 0.06579053401947021, -0.11424940079450607, -0.06400809437036514, 0.41004955768585205, -0.5267553925514221, 0.7196003794670105, 0.11703162640333176, -1.1556236743927002, 0.0381026528775692, -0.5914904475212097, 0.3551085889339447, -0.6368216276168823, -0.14500641822814941, 0.06271101534366608, 0.554097056388855, -0.0038123850245028734, -0.8799274563789368, 0.18968960642814636, -0.7686960697174072, -0.20209063589572906, -0.4147336184978485, 1.220488429069519, -0.16586466133594513, -0.007583505008369684, 0.6986362934112549, 0.7092697620391846, -0.2630055546760559, -0.21695789694786072, -0.5514381527900696, -0.20518751442432404, -0.29335352778434753, -0.2004384994506836, 0.10645172744989395, 0.43003228306770325, -0.2915789783000946, 0.8467918634414673, 0.691983699798584, 0.17383840680122375, -0.2831283211708069, 0.032148197293281555, 0.9935032725334167, -0.6342713236808777, -0.6868191361427307, -0.8221698999404907, 0.7186306715011597, -0.22027327120304108, -0.01681044138967991, 0.3086446225643158, 0.3227194845676422, 0.5640736222267151, -0.054015882313251495, 0.42833608388900757, 0.23719708621501923, 0.428949773311615, -0.19970454275608063, 0.46741074323654175, -0.5404940843582153, -0.14805372059345245, -0.300211101770401, -0.8098071813583374, 0.005241138860583305, 0.3815035820007324, -0.8748049736022949, 0.3165118992328644, 0.8983434438705444, 0.49721911549568176, 0.2766841948032379, -0.0960952565073967, 0.4334835410118103, 0.09925317019224167, 0.3768942952156067, 0.3356463611125946, 1.2064791917800903, 0.17792728543281555, 0.19730205833911896, 0.04095614328980446, -0.3423563838005066, -0.13713517785072327, -0.7981482744216919, -0.8464723229408264, -0.5517106652259827, 0.33953580260276794, 0.03995966538786888, 0.02861165441572666, 0.8928356170654297, 0.898335337638855, -0.4700435698032379, -0.3612445294857025, -0.35881075263023376, 0.26425257325172424, -0.2561814486980438, -0.1252981573343277, 0.09516085684299469, -0.39763614535331726, -0.5611720085144043, 0.6386871337890625, 0.08014996349811554, 0.3533627688884735, -0.19596339762210846, -0.4451233446598053, -0.37095558643341064, 0.5718159079551697, 0.8067449927330017, 0.397802472114563, -0.5079635381698608, 0.13400518894195557, 0.08702301979064941, 0.16294336318969727, -0.19987308979034424, 0.9422390460968018, -1.0718274116516113, 0.7329274415969849, 0.7283489108085632, 0.22646261751651764, 0.5904567837715149, 0.2948218584060669, 1.1474114656448364, -0.13394322991371155, 0.42108821868896484, 0.596622884273529, 0.31214427947998047, -0.05077636241912842, -0.46198770403862, 0.5833784937858582, -0.05219800025224686, -0.5790002346038818, -0.4392751455307007, 0.5628775358200073, -0.7009724974632263, -0.7449776530265808, 0.999197244644165, -0.023021239787340164, -0.23203697800636292, 0.00688464380800724, -0.15730012953281403, 0.4348331093788147, -0.4100130498409271, 0.14011907577514648, 0.5548458695411682, -0.35907649993896484, 0.044134628027677536, -0.316686749458313, 0.7394170761108398, 0.4845731258392334, -1.0372209548950195, -0.11439000070095062, 0.5273219347000122, -0.08509418368339539, 0.37082284688949585, 1.211585521697998, 0.057813700288534164, 0.3347335159778595, 0.22084757685661316, 0.12686972320079803, -0.20225997269153595, -0.9050780534744263, 0.22116369009017944, 0.07434771955013275, 0.25504037737846375, -0.0202865581959486 ]
http://arxiv.org/abs/2402.11532v2
http://arxiv.org/pdf/2402.11532v2
Chain-of-Instructions: Compositional Instruction Tuning on Large Language Models
2024-02-18T10:10:40
2024-06-24T22:43:57
Shirley Anugrah Hayati, Taehee Jung, Tristan Bodding-Long, Sudipta Kar, Abhinav Sethy, Joo-Kyung Kim, Dongyeop Kang
cs.CL
cs.CL
Fine-tuning large language models (LLMs) with a collection of large and diverse instructions has improved the model's generalization to different tasks, even for unseen tasks. However, most existing instruction datasets include only single instructions, and they struggle to follow complex instructions composed of multiple subtasks. In this work, we propose a novel concept of compositional instructions called chain-of-instructions (CoI), where the output of one instruction becomes an input for the next like a chain. Unlike the conventional practice of solving single instruction tasks, our proposed method encourages a model to solve each subtask step by step until the final answer is reached. CoI-tuning (i.e., fine-tuning with CoI instructions) improves the model's ability to handle instructions composed of multiple subtasks as well as unseen composite tasks such as multilingual summarization. Overall, our study find that simple CoI tuning of existing instruction data can provide consistent generalization to solve more complex, unseen, and longer chains of instructions.
[ -0.25567227602005005, -0.8260250091552734, 0.4911915957927704, 0.2578193247318268, -0.21558994054794312, 0.3550454080104828, -0.45526236295700073, -0.2265963852405548, 0.15714432299137115, 0.6116828322410583, -1.1378318071365356, -0.6687428951263428, -0.4330926835536957, 0.02244511805474758, -0.1385902464389801, 1.0602548122406006, -0.14165589213371277, 0.04711141809821129, -0.21480219066143036, 0.04569728672504425, -0.6850832104682922, -0.42362821102142334, -0.7035150527954102, -0.46708789467811584, 0.7983996272087097, 0.8863393068313599, 0.47440865635871887, 0.9340599179267883, 0.5372985005378723, 0.23683962225914001, 0.18597246706485748, 0.6174957156181335, -0.6981048583984375, 0.027083583176136017, -0.23879504203796387, -0.5137218236923218, -0.6856468915939331, -0.18461279571056366, 0.6173413395881653, 1.0480507612228394, -0.13173751533031464, 0.1688259392976761, 0.09884493798017502, 0.854408323764801, -0.7993810772895813, 0.1393500715494156, -0.3894725739955902, -0.10139427334070206, -0.013107198290526867, -0.44535183906555176, -0.6066296100616455, -0.16450093686580658, 0.10929594188928604, -0.6468692421913147, -0.08054673671722412, 0.2240104079246521, 0.46193212270736694, 0.08465585857629776, -0.2925635576248169, -0.5554841160774231, -0.8575742840766907, 1.0516902208328247, -0.7020229697227478, 0.10315381735563278, 0.22513017058372498, 0.08951874077320099, -0.20856784284114838, -0.3335317373275757, -0.2629421055316925, -0.1752896010875702, -0.04365718364715576, 0.1661144644021988, 0.07701082527637482, 0.24803777039051056, 0.10297703742980957, 0.4979081451892853, -0.5096246004104614, 0.4104280471801758, -0.16463519632816315, 0.11116284877061844, 0.7401524186134338, 0.4139723777770996, 0.5882634520530701, 0.5086140036582947, -0.20756258070468903, 0.04291919618844986, -0.8500507473945618, -0.10172785818576813, 0.4552338719367981, 0.4030616283416748, -0.4742942452430725, 0.4084637761116028, -0.42065706849098206, 0.9317308068275452, 0.3727268576622009, -0.16211152076721191, -0.10750334709882736, -0.4301513135433197, -0.0653001144528389, 0.2773570418357849, 0.6264837384223938, 0.1303592473268509, 0.42453762888908386, -0.33533212542533875, -0.1557367593050003, -0.16810117661952972, 0.13041727244853973, -0.7365034818649292, -0.30490851402282715, 0.10259256511926651, -0.26224765181541443, -0.15196244418621063, 0.1440751701593399, -0.4107573330402374, -0.01983199268579483, -0.4749129116535187, 0.35028311610221863, -0.20525500178337097, 0.18401135504245758, 0.2783651351928711, 0.13445302844047546, 0.18730290234088898, 0.18133480846881866, -1.3407918214797974, 0.6150858402252197, 0.9543269276618958, 0.7890757918357849, -0.26593512296676636, -0.5184773206710815, -0.8609907031059265, 0.4404486119747162, -0.4408089220523834, 0.4458352029323578, -0.8001959919929504, -0.27813148498535156, -0.09756891429424286, 0.00889657624065876, -0.2624835968017578, -0.4840054512023926, 0.024480663239955902, -0.4995976984500885, 0.05933421850204468, -0.4090634882450104, -0.7394991517066956, -0.06021755933761597, 0.1675567477941513, -0.8205898404121399, 0.6302852034568787, -0.1452307403087616, -0.506804883480072, -0.2231959104537964, -0.5938459038734436, -0.8077996969223022, -0.1817626804113388, -0.03507380187511444, -0.2522815763950348, 0.2735525965690613, 0.22330331802368164, 0.42239677906036377, -0.3446243405342102, 0.06661233305931091, -0.38210099935531616, -0.5120862126350403, 0.06955579668283463, -0.33569058775901794, 0.4758978486061096, -0.03727671131491661, -0.15387080609798431, 0.14776140451431274, -0.7519660592079163, 0.06689459085464478, -0.2162259966135025, -0.521065354347229, -0.3322767913341522, 0.021379847079515457, -0.513347864151001, -0.15787215530872345, 0.5708274841308594, -0.3794216513633728, 0.4507959485054016, -0.4263545572757721, 0.275561660528183, 0.7527848482131958, 0.1061096116900444, 0.5879598259925842, -0.3961474895477295, 0.39350852370262146, -0.003818565048277378, 0.1376183032989502, -0.49173620343208313, -0.3059360384941101, -1.015547275543213, -0.07335484027862549, 0.20051540434360504, 0.6657170057296753, -0.7307924032211304, 0.5563036799430847, -0.32362544536590576, -0.3256353437900543, -0.2397938072681427, 0.19651255011558533, 0.7008956074714661, 0.11956771463155746, 0.3200613558292389, -0.2893296480178833, -0.6403642296791077, -0.8454853296279907, -0.21742577850818634, 0.22513744235038757, 0.1292474865913391, 0.1347861886024475, 0.5390245914459229, -0.016326259821653366, 0.463851660490036, -0.5791912078857422, 0.09547670185565948, -0.13438153266906738, 0.38975363969802856, 0.21225884556770325, 0.6904107332229614, -0.12641766667366028, -0.3288326859474182, -0.5764636993408203, 0.38656920194625854, -0.6567938923835754, -0.00031981838401407003, -0.1686173528432846, -0.1980838179588318, -0.08694269508123398, 0.521798849105835, -0.13692831993103027, -0.025190014392137527, 0.7807744145393372, -0.03295055031776428, 0.4142615795135498, -0.5366025567054749, 0.1371413618326187, -1.146111249923706, -0.10915502905845642, -0.2856425642967224, -0.2044912427663803, -0.5579211115837097, 0.4648054242134094, -0.13457639515399933, -0.08721494674682617, -0.23677463829517365, 0.18603506684303284, -0.6982139348983765, 0.10850575566291809, -0.3790183365345001, -0.12033643573522568, -0.034700002521276474, 0.71449875831604, -0.0966544821858406, 0.7733742594718933, 0.6458677649497986, -0.7975341081619263, 0.5235878825187683, -0.0893649309873581, -0.2309117168188095, 0.12282510846853256, -0.5800080299377441, 0.5671207904815674, -0.07348030805587769, 0.22763822972774506, -0.7419764399528503, -0.2513001263141632, 0.14128778874874115, 0.13714724779129028, 0.40391674637794495, 0.03960350155830383, -0.3791031241416931, -0.17590802907943726, -0.15128161013126373, 0.5023523569107056, 0.2252538502216339, -0.55942302942276, 0.604086697101593, 0.12161696702241898, -0.05827692896127701, -0.5959166884422302, -0.7440070509910583, -0.17286863923072815, 0.15304304659366608, -0.44431254267692566, 0.5635946989059448, -0.3559820353984833, -0.09644169360399246, -0.09677060693502426, -0.4185921251773834, -0.251417338848114, 0.08768994361162186, 0.07435578107833862, 0.1288386881351471, -0.26167696714401245, -0.008829277940094471, 0.5808919668197632, -0.06862205266952515, -0.12239260226488113, -0.4903453290462494, 0.712303638458252, -0.10413289070129395, -0.39530161023139954, -0.6841422915458679, 0.7320188879966736, 0.5918560028076172, -0.43304744362831116, 0.7030194997787476, 0.3391827344894409, -0.1844550520181656, -0.33816811442375183, -0.36240795254707336, -0.15947718918323517, -0.44025978446006775, 0.4164499044418335, -0.5381976366043091, -1.0550780296325684, 0.5213054418563843, -0.3601543605327606, -0.050870515406131744, 0.07112692296504974, 0.4922610819339752, -0.1500619500875473, 1.1080422401428223, 0.7577431797981262, -0.3133837878704071, 0.4785946309566498, -0.5034380555152893, 0.22218069434165955, -0.7366125583648682, -0.15582503378391266, -0.38386979699134827, -0.5587401390075684, -0.5782678127288818, -0.31039947271347046, 0.3687296211719513, 0.2136869579553604, -0.22449323534965515, 0.3631722331047058, -0.2914940118789673, 1.0039390325546265, 0.573274552822113, 0.46761587262153625, 0.37929922342300415, 0.05625174939632416, -0.07046635448932648, 0.4043726921081543, -0.8901606202125549, -0.4248175621032715, 0.7918999195098877, 0.14198416471481323, 0.9775670766830444, -0.03011401556432247, 1.0759226083755493, 0.18453404307365417, -0.08333247154951096, -0.6165006756782532, 0.5935815572738647, -0.84968101978302, -0.2727263271808624, -0.3093198835849762, -0.3734608292579651, -0.7101468443870544, -0.05104514956474304, 0.020969310775399208, -0.7796147465705872, 0.10386384278535843, 0.35162195563316345, -0.4972369074821472, 0.2146024852991104, -0.8458189368247986, 0.8314750790596008, -0.27777373790740967, -0.38439515233039856, -0.5246355533599854, -0.5412923097610474, 0.3114660382270813, 0.21075962483882904, 0.1739332228899002, 0.1276664435863495, -0.10353515297174454, 0.5644585490226746, -0.6044483780860901, 1.124413251876831, 0.206465482711792, -0.40692374110221863, 0.39177173376083374, 0.09164483845233917, 0.8144907355308533, -0.14492666721343994, 0.05950755253434181, -0.09738549590110779, 0.0318865142762661, -0.43553000688552856, -0.9397386908531189, 0.9881279468536377, -0.6635362505912781, -0.558233380317688, 0.13069778680801392, -0.7643975615501404, -0.07676741480827332, 0.025305934250354767, 0.13809794187545776, 0.628262460231781, -0.14817798137664795, -0.012796396389603615, 0.8770505785942078, -0.039136990904808044, 0.40218594670295715, 0.44869139790534973, 0.004185750149190426, -0.30843958258628845, 1.1983023881912231, -0.00480993464589119, 0.4868420660495758, 0.9024323225021362, 0.31027841567993164, 0.07396188378334045, -0.4347395896911621, -0.47351309657096863, 0.17694225907325745, -0.5641959309577942, 0.014592085033655167, -0.3367002606391907, -0.041703592985868454, 0.02984093874692917, -0.05274304747581482, -0.3673834800720215, -0.18483079969882965, -0.39497455954551697, 0.18191593885421753, 0.07416491210460663, 0.7289092540740967, 0.3058857023715973, 0.39591115713119507, -0.8477638363838196, 0.2919730544090271, 0.5505687594413757, 0.5705434679985046, 0.17590321600437164, -0.3741663098335266, -0.7258111238479614, 0.3509194552898407, -0.12199078500270844, -0.7282716035842896, 0.03698839619755745, 0.348167359828949, 0.24822492897510529, 0.20047925412654877, -0.14731796085834503, 1.0714319944381714, -0.7771135568618774, 0.48068109154701233, 0.13662771880626678, -1.1069526672363281, 0.44830331206321716, -0.4092309772968292, 0.7015401124954224, 0.5114682912826538, 0.4435078203678131, -0.4655269682407379, -0.3976798355579376, -0.1323481798171997, -0.6594374179840088, 0.6219751834869385, -0.12455833703279495, 0.23692554235458374, 0.01989542692899704, 0.4603923261165619, 0.33281245827674866, 0.1452769637107849, -0.4769839942455292, -0.17337076365947723, 0.28067895770072937, -0.5186129808425903, 0.044869184494018555, -0.24414171278476715, -0.12015385925769806, -0.28235119581222534, 0.7540420889854431, -0.1997402310371399, 0.11374282091856003, -0.06055285781621933, -0.12858442962169647, -0.3677653670310974, 0.5079960227012634, 0.8291446566581726, 0.7970618009567261, -0.0020609768107533455, 0.23628933727741241, 0.20762406289577484, -0.3121144771575928, 0.022702878341078758, -0.3416967988014221, -0.13121086359024048, -0.42526867985725403, 0.6346812844276428, 1.187127709388733, 0.367114394903183, -0.6326972246170044, 0.16018866002559662, 0.16361293196678162, -0.08955617994070053, -0.1375236064195633, 0.36661824584007263, 0.15081442892551422, 0.20458298921585083, 0.08459407091140747, 0.04397791996598244, 0.05152969807386398, -0.8094530701637268, 0.08564060926437378, 0.28580009937286377, -0.3052332401275635, -0.4777097702026367, 0.3133623003959656, 0.22607453167438507, -0.47861096262931824, 0.5819429755210876, -0.09888642281293869, -0.2358776181936264, 0.4990675151348114, 0.6687055826187134, 0.8369670510292053, -0.11389608681201935, 0.15944577753543854, 0.24610896408557892, 0.2782655954360962, -0.25585827231407166, 0.38509759306907654, 0.03420776128768921, -0.5865670442581177, -0.8724351525306702, -0.43219277262687683, -0.4495275616645813, 0.18362823128700256, -0.7608058452606201, 0.03251055255532265, -0.5584843158721924, 0.4195632040500641, -0.10312310606241226, -0.15385273098945618, -0.39716392755508423, 0.2924032509326935, 0.2462221086025238, 0.6591148972511292, -0.8184749484062195, 0.926713228225708, 0.548911988735199, -0.32717764377593994, -1.0243477821350098, 0.09261411428451538, -0.36207011342048645, -0.5157524943351746, 0.4056189954280853, 0.11507142335176468, -0.3383004367351532, 0.20044660568237305, -0.6881415843963623, -0.8294692039489746, 1.0250091552734375, 0.5590246319770813, -1.1780959367752075, -0.16854946315288544, 0.27670684456825256, 0.5777539610862732, -0.778174877166748, -0.00914160069078207, 0.6193220615386963, 0.28900548815727234, 0.02031136304140091, -0.8062700033187866, 0.06859547644853592, -0.1481369286775589, 0.030077248811721802, 0.12649153172969818, -0.7730223536491394, 0.9806642532348633, -0.2321939319372177, -0.20272770524024963, 0.3616659939289093, 0.5905007123947144, -0.011525286361575127, 0.1300845444202423, 0.4017386734485626, 0.6022440195083618, 0.8121187090873718, 0.11875691264867783, 1.2588603496551514, -0.4622959494590759, 0.29432228207588196, 1.5726103782653809, -0.15994064509868622, 0.7753684520721436, 0.43760257959365845, 0.09382936358451843, 0.9141559600830078, 0.40807923674583435, 0.04691527411341667, 0.4924185276031494, 0.3681158721446991, -0.3952242434024811, -0.4855847656726837, -0.11767847090959549, -0.0262075737118721, 0.4807036221027374, 0.08142106980085373, -0.281305193901062, -0.09740912169218063, 0.030451275408267975, -0.20523302257061005, 0.1815693974494934, -0.5033446550369263, 0.9279844760894775, -0.07241333276033401, -0.9094526171684265, 0.7507177591323853, 0.12586815655231476, 0.4164918065071106, -0.5751592516899109, -0.2995409071445465, -0.09802467375993729, 0.1433587372303009, -0.17935441434383392, -0.42400309443473816, 0.21269826591014862, -0.04340370371937752, -0.6556514501571655, -0.13316762447357178, 0.48070356249809265, -0.8288542032241821, -0.5658080577850342, 0.18907305598258972, 0.3848107159137726, -0.04532530531287193, -0.015248573385179043, -0.4353613555431366, 0.1955224573612213, -0.10283510386943817, 0.102581687271595, 0.18972505629062653, 0.30348458886146545, -0.20257990062236786, 0.8344465494155884, 0.39126813411712646, -0.15699604153633118, 0.22893722355365753, 0.2482418715953827, 0.8698688745498657, -0.5774025321006775, -0.502974808216095, -1.0552918910980225, 0.4761573374271393, 0.12837719917297363, -0.038379378616809845, 0.5788272619247437, 0.6971874237060547, 1.1078068017959595, -0.4548244774341583, 0.6600165963172913, 0.17836016416549683, 0.2262236475944519, -0.8244971036911011, 0.39804327487945557, -0.4532284438610077, 0.34712180495262146, -0.014142434112727642, -0.7083454728126526, -0.1650623232126236, 0.2083529680967331, -0.30390384793281555, 0.04301288723945618, 1.0404247045516968, 0.9928330779075623, -0.18991443514823914, 0.16425539553165436, 0.2539582848548889, 0.1148790493607521, -0.04743380472064018, 0.6892974972724915, 0.6636032462120056, -0.45379558205604553, 0.32733580470085144, -0.34323403239250183, -0.05692421644926071, 0.09162075817584991, -0.721392810344696, -1.0230205059051514, -0.37802577018737793, -0.5108617544174194, 0.04862732067704201, 0.3997951149940491, 0.8980768918991089, 0.7433786392211914, -1.1026349067687988, -0.7068603038787842, -0.5228452682495117, 0.2387705147266388, -0.6991013288497925, -0.12608473002910614, 0.16580432653427124, -0.5084790587425232, -0.8109037280082703, 0.6542418599128723, 0.5323087573051453, -0.2598411738872528, -0.22250166535377502, -0.27804937958717346, -0.409527450799942, 0.2315542846918106, 0.6089529991149902, 0.10360652208328247, -0.7390540838241577, -0.28090110421180725, 0.03560145944356918, 0.06057484820485115, 0.03713051229715347, 1.2787100076675415, -0.20722512900829315, 0.5927314162254333, 0.45264095067977905, 0.6047013998031616, 0.5761359930038452, -0.17625854909420013, 0.7577637434005737, -1.119292974472046, -0.13757701218128204, -0.10692068934440613, 0.07944705337285995, 0.08903113007545471, -0.28916993737220764, 0.15963907539844513, 0.03893494978547096, -0.3070625960826874, -0.4172924757003784, 0.5871630311012268, -1.1753895282745361, -0.2774611711502075, 0.8174562454223633, -0.29986265301704407, -0.5565800666809082, 0.20859196782112122, -0.20228326320648193, 0.4548671841621399, -0.3195078670978546, 0.6576099991798401, 0.6259624361991882, -0.004836966749280691, -0.32455217838287354, -0.0374741405248642, 0.057569194585084915, 0.434662401676178, -0.8984310030937195, 0.15639659762382507, 0.26808592677116394, 0.19377954304218292, 0.07127662748098373, 0.2666723132133484, 0.22486111521720886, 0.22515997290611267, -0.20083528757095337, -0.016513025388121605, -0.26602277159690857, -0.6361836194992065, -0.25921186804771423, 0.1502169668674469, -0.02834273874759674, -0.374485582113266 ]
http://arxiv.org/abs/2402.11525v3
http://arxiv.org/pdf/2402.11525v3
Advancing Translation Preference Modeling with RLHF: A Step Towards Cost-Effective Solution
2024-02-18T09:51:49
2024-02-27T17:12:38
Nuo Xu, Jun Zhao, Can Zu, Sixian Li, Lu Chen, Zhihao Zhang, Rui Zheng, Shihan Dou, Wenjuan Qin, Tao Gui, Qi Zhang, Xuanjing Huang
cs.CL
cs.CL, cs.LG
Faithfulness, expressiveness, and elegance is the constant pursuit in machine translation. However, traditional metrics like \textit{BLEU} do not strictly align with human preference of translation quality. In this paper, we explore leveraging reinforcement learning with human feedback (\textit{RLHF}) to improve translation quality. It is non-trivial to collect a large high-quality dataset of human comparisons between translations, especially for low-resource languages. To address this issue, we propose a cost-effective preference learning strategy, optimizing reward models by distinguishing between human and machine translations. In this manner, the reward model learns the deficiencies of machine translation compared to human and guides subsequent improvements in machine translation. Experimental results demonstrate that \textit{RLHF} can effectively enhance translation quality and this improvement benefits other translation directions not trained with \textit{RLHF}. Further analysis indicates that the model's language capabilities play a crucial role in preference learning. A reward model with strong language capabilities can more sensitively learn the subtle differences in translation quality and align better with real human translation preferences.
[ -0.13533630967140198, -0.29700610041618347, 0.35220006108283997, 0.1005612164735794, -0.3020796775817871, 0.10643399506807327, -0.5157290101051331, -0.4511837959289551, 0.05045521259307861, 0.5856307148933411, -0.6188474893569946, -0.27733466029167175, -0.7806326150894165, 0.18525192141532898, 0.19977974891662598, 1.1263214349746704, -0.19095478951931, 0.17268449068069458, -0.0748276486992836, -0.4071391224861145, -0.3465234935283661, -0.6167668104171753, -0.656607449054718, -0.7818189859390259, 0.9172361493110657, 0.65272057056427, 0.8992232084274292, 0.7993500232696533, 0.5350522994995117, 0.24079065024852753, 0.17696988582611084, 0.5554945468902588, -0.6001986861228943, 0.25760433077812195, -0.16835319995880127, -0.5499789714813232, -0.4818342328071594, 0.18441638350486755, 0.4379277229309082, 0.3627503514289856, -0.3061010539531708, -0.05728336423635483, -0.07490979880094528, 1.1882169246673584, -0.37882205843925476, 0.23980800807476044, -0.29727303981781006, 0.2502504587173462, 0.07284475862979889, -0.4365287125110626, -0.5441705584526062, -0.5080179572105408, 0.08327238261699677, -0.5629645586013794, 0.01664850302040577, 0.27772146463394165, 1.1727005243301392, 0.495447039604187, -0.3611541986465454, 0.022682949900627136, -0.5712004899978638, 1.0401488542556763, -0.6074253916740417, 0.678475558757782, 0.5595632791519165, 0.14390946924686432, -0.1831231415271759, -0.11428824812173843, -0.17380473017692566, -0.5836835503578186, -0.18802671134471893, 0.25024986267089844, 0.18985800445079803, -0.0431271567940712, -0.031555626541376114, 0.3800204396247864, -0.5452758073806763, 0.0679045245051384, -0.1662740260362625, -0.10780773311853409, 0.7259255647659302, -0.00694811437278986, 0.3021167516708374, -0.291839599609375, -0.3884035348892212, -0.741300106048584, -0.6560771465301514, 0.47494006156921387, 0.3941511809825897, 0.43850791454315186, -0.10326967388391495, 0.27381831407546997, -0.20221823453903198, 0.5620925426483154, 0.16310207545757294, -0.34426674246788025, 0.3110845386981964, -0.021372167393565178, -0.10927966982126236, -0.06549807637929916, 0.7876301407814026, 0.3480200171470642, 0.1299474835395813, -0.3340953588485718, -0.6220293641090393, -0.14724770188331604, 0.5436248183250427, -0.7590354084968567, -0.08051170408725739, 0.06462907791137695, -0.6856886148452759, -0.443988561630249, 0.019818400964140892, -0.3722955584526062, -0.23193717002868652, -0.3815411627292633, 0.2141859382390976, -0.2861000597476959, -0.37527379393577576, 0.06498026102781296, 0.026265449821949005, 0.0843951553106308, 0.28984907269477844, -1.1952741146087646, 0.023530561476945877, 0.5147548317909241, 0.6285199522972107, -0.6574793457984924, -0.3699307441711426, -0.8331801891326904, -0.19037935137748718, -0.5027853846549988, 0.6261923313140869, -0.20615099370479584, -0.7154104709625244, -0.15953166782855988, -0.05106164887547493, 0.08567659556865692, -0.8994218111038208, 0.8088113069534302, -0.7434931993484497, 0.1487540602684021, -0.35621440410614014, -0.4389747381210327, -0.1987040638923645, 0.19819101691246033, -0.6402266025543213, 0.8961597084999084, 0.37757354974746704, -0.337661474943161, 0.5305702686309814, -0.5617971420288086, -0.4188115894794464, 0.09793877601623535, 0.05916232988238335, -0.6761377453804016, 0.18167901039123535, 0.2590935230255127, 0.20074276626110077, -0.0932321697473526, 0.4811275899410248, -0.1354014277458191, -0.18039606511592865, 0.49929213523864746, -0.3615265190601349, 0.26869305968284607, 0.3622821271419525, -0.16437259316444397, 0.6045721769332886, -0.23415346443653107, -0.06116357445716858, 0.17142580449581146, -0.9092437624931335, -0.20889350771903992, -0.04866166040301323, 0.23323717713356018, 0.2187282145023346, 0.19455325603485107, -0.2962806522846222, 0.18950961530208588, -0.6773948073387146, 0.21371696889400482, 0.7844658493995667, -0.23179252445697784, 0.7430802583694458, -0.40975797176361084, 0.7032913565635681, -0.011782274581491947, 0.2537890374660492, 0.43379688262939453, -0.21416381001472473, -0.7693042755126953, 0.0372314490377903, 0.43450728058815, 0.33835697174072266, -0.6435496211051941, 0.357602059841156, -0.3769093155860901, -0.13861504197120667, -0.8352685570716858, 0.32701385021209717, 0.5973076820373535, 0.5179957747459412, 0.5948195457458496, -0.47575607895851135, -0.14494949579238892, -0.8468858003616333, -0.3288955092430115, -0.35188981890678406, 0.15627014636993408, 0.466700941324234, 0.18119576573371887, -0.0855456292629242, 0.6710397601127625, -0.3962263762950897, -0.207281693816185, -0.4703083634376526, 0.21851171553134918, 0.204154372215271, 0.4620644748210907, 0.3660372197628021, -1.0264322757720947, -0.5126051902770996, 0.22386063635349274, -0.374568909406662, 0.10728627443313599, 0.12007348984479904, -0.35421887040138245, 0.44140565395355225, 0.14076781272888184, -0.20188301801681519, 0.045484717935323715, 0.698828935623169, -0.27234670519828796, 0.44882065057754517, -0.48026159405708313, 0.5091773271560669, -0.7297110557556152, 0.04477270320057869, -0.0467248298227787, -0.6000630259513855, -0.31400254368782043, 0.18877561390399933, 0.3454880118370056, 0.1484585553407669, -0.6424251198768616, 0.6363617777824402, 0.04956105723977089, -0.09451998770236969, -0.5030916333198547, -0.02177472598850727, -0.0000071374793151335325, 0.7943515777587891, 0.5387093424797058, 0.9772313833236694, -0.24005816876888275, -0.5720224976539612, 0.34030914306640625, 0.3014315664768219, -0.21226999163627625, 0.410030335187912, -0.5916433334350586, 0.0035979049280285835, 0.07294336706399918, 0.14266617596149445, -0.6656920909881592, -0.17656812071800232, 0.5350930690765381, -0.8117092251777649, 0.37360918521881104, -0.12769715487957, -0.2879786193370819, -0.0064472840167582035, -0.031130466610193253, 0.2839615046977997, 0.5886581540107727, -0.6510576009750366, 0.2411556988954544, 0.27534228563308716, -0.117940254509449, -0.6358026266098022, -0.36756017804145813, -0.0753578394651413, -0.11171305924654007, -0.2732558846473694, 0.42279234528541565, -0.0051820483058691025, 0.1747356355190277, 0.014104373753070831, -0.07042066007852554, 0.1604950726032257, 0.18258704245090485, 0.21708181500434875, 0.4910738170146942, 0.07595933973789215, 0.2394559681415558, -0.038793690502643585, -0.5509961247444153, -0.11927738785743713, -0.5493428111076355, 0.32270559668540955, -0.2431870847940445, -0.08866488188505173, -0.17360809445381165, 0.2029561698436737, 0.4294334948062897, -0.5752580761909485, 0.47983017563819885, 0.6622278690338135, 0.13004672527313232, -0.267516553401947, -0.35591644048690796, -0.5263769030570984, -0.4201090633869171, 0.4743480086326599, -0.2797699570655823, -0.8692046403884888, -0.09877397865056992, -0.013199621811509132, 0.1006554588675499, 0.2366994023323059, 0.4363056421279907, -0.2032191902399063, 1.2242735624313354, 0.6322075128555298, -0.33937782049179077, 0.6693273782730103, -0.1308215707540512, 0.09183238446712494, -0.6196059584617615, -0.07847148180007935, -0.4764486849308014, -0.4095294177532196, -0.7133707404136658, -0.38200536370277405, 0.4488650858402252, 0.0983407199382782, -0.2600724697113037, 0.4769306480884552, -0.3785390257835388, 0.23494070768356323, 0.7571813464164734, 0.3771030902862549, 0.48342522978782654, 0.20575261116027832, -0.24835357069969177, -0.27721408009529114, -0.7574771642684937, -0.40928253531455994, 0.927776575088501, 0.4373534917831421, 0.6691600680351257, 0.1537170708179474, 0.8579343557357788, 0.4181838035583496, 0.4228673577308655, -0.9204257726669312, 0.09737905114889145, -0.16106049716472626, -0.2383042424917221, -0.5857846140861511, -0.7607936859130859, -0.7900368571281433, 0.34153300523757935, -0.3845173418521881, -0.10199031978845596, 0.1397455334663391, 0.5004920363426208, -0.15661297738552094, 0.14584335684776306, -0.3800220191478729, 1.0707300901412964, -0.6799094676971436, -0.5410611629486084, -0.5682139992713928, -0.615075409412384, 0.22437867522239685, 0.3665456175804138, 0.1517404317855835, -0.06335312128067017, 0.16445110738277435, 0.7188708782196045, -0.2025180459022522, 0.45258593559265137, 0.039047736674547195, -0.14784575998783112, -0.2462027221918106, 0.2833288311958313, 0.6201072335243225, 0.11789639294147491, -0.02722671627998352, -0.14136098325252533, -0.2509743273258209, -0.5693840980529785, -0.6396449208259583, 0.550524890422821, -1.1216251850128174, -0.44504523277282715, -0.39119014143943787, -0.5811685919761658, -0.3128971755504608, 0.1312192976474762, 0.20043392479419708, 0.031026490032672882, -0.20464350283145905, -0.08300821483135223, 0.8350176811218262, -0.2787488102912903, 0.2371297925710678, 0.4644007086753845, -0.42992302775382996, -0.6310818195343018, 1.2524309158325195, -0.3624361753463745, 0.5172764658927917, 0.7090820074081421, 0.3837112486362457, -0.6495198607444763, -0.25468775629997253, -0.8518236875534058, 0.3900201916694641, -0.5861136317253113, -0.1558627337217331, -0.4516238570213318, 0.03425149992108345, -0.15322238206863403, -0.12339825928211212, -0.5368239879608154, -0.22289231419563293, -0.10689418017864227, -0.21683599054813385, 0.30342116951942444, 0.5210081934928894, -0.07760608196258545, 0.04561859369277954, -0.9507623314857483, 0.21554094552993774, 0.4446483850479126, 0.2679673135280609, 0.10920947045087814, -0.7289619445800781, -0.5486533641815186, 0.05362881347537041, -0.35093680024147034, -0.6091049313545227, 0.8071504831314087, -0.2988088130950928, 0.4766438901424408, 0.24018166959285736, 0.15071538090705872, 0.2880345284938812, -0.23912812769412994, 0.547635018825531, 0.39523327350616455, -0.8779062628746033, 0.3878515064716339, -0.15299561619758606, 0.1805907040834427, 0.6653245687484741, 0.3322131931781769, -0.937701940536499, -0.037197135388851166, -0.56276935338974, -0.6728726625442505, 0.7771915197372437, -0.06668524444103241, -0.17789214849472046, 0.12211272865533829, 0.24746933579444885, 0.015501542016863823, 0.30146336555480957, -0.9243454933166504, -0.21768489480018616, -0.40924617648124695, 0.12046116590499878, -0.40358784794807434, -0.04126868024468422, -0.028258219361305237, -0.1636618971824646, 0.9855011701583862, -0.13856224715709686, -0.001307270722463727, 0.04174596443772316, -0.1971193552017212, -0.45158490538597107, 0.46995213627815247, 0.5886610150337219, 0.320642352104187, -0.37814176082611084, -0.017902838066220284, -0.030693568289279938, -0.0670032948255539, 0.443332314491272, -0.48232123255729675, -0.25493335723876953, -0.15009361505508423, 0.10818556696176529, 1.10667884349823, 0.16688460111618042, -0.5915078520774841, 0.4688322842121124, -0.0452825203537941, -0.23612821102142334, 0.17517578601837158, 0.24358077347278595, 0.28713056445121765, 0.0062419213354587555, -0.07107953727245331, 0.1638696789741516, -0.024449804797768593, -0.25951874256134033, 0.09541719406843185, 0.30726492404937744, -1.0218833684921265, 0.04947541654109955, 0.4216906428337097, 0.5195605754852295, -0.5192328691482544, 0.7026624083518982, -0.2862689793109894, -0.652574360370636, 0.3738277554512024, 0.42282119393348694, 0.7791486978530884, -0.274069607257843, 0.5444030165672302, 0.49843859672546387, 0.08601284772157669, -0.40788209438323975, -0.07230649888515472, -0.2177257239818573, -0.6929756999015808, -0.3830532729625702, -0.7018209099769592, -0.6671990156173706, -0.288877010345459, -0.7681395411491394, 0.09463834762573242, -0.03519255295395851, -0.15657727420330048, -0.5173618197441101, 0.008029229938983917, -0.43484020233154297, 0.19741789996623993, -0.050353456288576126, 0.43317490816116333, -0.7237818241119385, 0.95817631483078, 0.6289867758750916, -0.7629834413528442, -0.8966032862663269, -0.1186412051320076, -0.2383946031332016, -0.7070248126983643, 0.9980548024177551, -0.23021200299263, -0.44389453530311584, 0.10212576389312744, -0.353751003742218, -0.5351534485816956, 0.7830587029457092, 0.22388224303722382, -0.43594664335250854, 0.10278426855802536, 0.030627097934484482, 0.3579397201538086, -0.24033379554748535, 0.1021059900522232, 0.516402542591095, 0.699566125869751, -0.18228648602962494, -0.6500430107116699, -0.16926565766334534, -0.04172363877296448, 0.15949781239032745, 0.3872091472148895, -0.6342443227767944, 0.4703173339366913, -0.25251898169517517, -0.18977639079093933, -0.13084247708320618, 0.7541226744651794, 0.2672146260738373, -0.13836151361465454, 0.537163257598877, 0.3833698034286499, 0.545199990272522, 0.05626986175775528, 1.1202301979064941, -0.16920559108257294, 0.5150296688079834, 0.9269863367080688, -0.052377648651599884, 1.1413074731826782, 0.616643488407135, -0.2906370460987091, 0.2969522774219513, 0.8222486972808838, 0.2782145142555237, 0.7489580512046814, 0.2098708599805832, -0.0817524790763855, -0.7749849557876587, -0.32797425985336304, -0.2370157390832901, 0.050677090883255005, 0.09711446613073349, -0.3685145974159241, -0.1066916212439537, 0.0006689314031973481, -0.057110536843538284, 0.501054584980011, 0.012791708111763, 0.9069280028343201, 0.1618562936782837, -1.1958729028701782, 0.7975935935974121, 0.4462684988975525, 0.7847055792808533, -0.5534006357192993, -0.13058412075042725, -0.44681358337402344, 0.1732448786497116, -0.1493067741394043, -0.555029571056366, 0.006170053966343403, -0.28180834650993347, -0.43247389793395996, -0.6195633411407471, 0.36079141497612, -0.6585180759429932, -0.26662179827690125, 0.5332995653152466, 0.5437458753585815, -0.08795574307441711, 0.05114876106381416, -0.8242608308792114, -0.12656836211681366, 0.15212930738925934, -0.05130903795361519, 0.48821592330932617, -0.048251502215862274, 0.057504117488861084, 0.6401937007904053, 0.7851171493530273, 0.3765019476413727, -0.3600064814090729, 0.07905968278646469, 0.3669254779815674, -0.6376525163650513, -0.7360773682594299, -0.7010827660560608, 0.24429908394813538, 0.021470842882990837, -0.3585748076438904, 0.34987276792526245, 0.28057020902633667, 1.0550179481506348, -0.35097837448120117, 0.8325971364974976, 0.4391152262687683, 0.5383253693580627, -0.49342653155326843, 0.793976902961731, -0.7501874566078186, 0.030910080298781395, -0.08563809841871262, -0.7309063673019409, -0.1798718273639679, 0.7101590037345886, -0.3928792476654053, -0.10270451754331589, 0.7590914368629456, 0.9320012331008911, -0.11178029328584671, -0.26556146144866943, 0.6228994131088257, -0.31933289766311646, 0.3937707841396332, 0.7597705125808716, 0.7908269762992859, -0.24087963998317719, 0.5526018142700195, -0.16849501430988312, -0.24117723107337952, -0.5040342211723328, -0.8557223677635193, -0.5833861231803894, -0.5145915746688843, -0.20378164947032928, -0.519498884677887, 0.19842883944511414, 1.5327200889587402, 0.8842679262161255, -0.8935982584953308, -0.6192476749420166, -0.04264938458800316, 0.47617825865745544, -0.6996352076530457, -0.17180413007736206, 0.3571373224258423, -0.6910067200660706, -0.7622488737106323, 0.3317698836326599, 0.3680373728275299, -0.008902372792363167, -0.2541656196117401, -0.8703298568725586, -0.018669961020350456, -0.10586341470479965, 0.4198635220527649, 0.4797840118408203, -0.9537575840950012, -0.1593264937400818, 0.16338734328746796, -0.4586643576622009, 0.2941766083240509, 0.937921941280365, -0.49615561962127686, 0.47629880905151367, 0.5008929371833801, 1.0672705173492432, 0.5848462581634521, 0.10798967629671097, 0.7523739337921143, -0.3557736277580261, -0.12515822052955627, 0.09128227084875107, 0.1696317046880722, 0.4257223308086395, -0.44475600123405457, 0.39133331179618835, 0.26745057106018066, -0.7027209997177124, -0.3864269256591797, 0.46842822432518005, -0.7662478089332581, -0.3034890592098236, 0.9972595572471619, -0.299679696559906, -0.20554424822330475, 0.1112978458404541, -0.35453057289123535, 0.34340807795524597, -0.8503547310829163, 0.9687414169311523, 0.6205336451530457, -0.17614974081516266, -0.22235733270645142, -0.44574815034866333, 0.9023000597953796, 0.83222895860672, -0.6722509264945984, 0.13457489013671875, 0.3807016611099243, 0.11789599061012268, -0.17357183992862701, 0.5758793354034424, -0.21742013096809387, 0.6214645504951477, -0.5958853363990784, 0.28582924604415894, -0.14773136377334595, -0.38973739743232727, -0.3993231952190399, -0.08848953247070312, 0.7642914056777954, -0.17813190817832947 ]
http://arxiv.org/abs/2402.11522v2
http://arxiv.org/pdf/2402.11522v2
Unveiling the Secrets of Engaging Conversations: Factors that Keep Users Hooked on Role-Playing Dialog Agents
2024-02-18T09:42:41
2024-03-13T02:40:21
Shuai Zhang, Yu Lu, Junwen Liu, Jia Yu, Huachuan Qiu, Yuming Yan, Zhenzhong Lan
cs.CL
cs.CL
With the growing humanlike nature of dialog agents, people are now engaging in extended conversations that can stretch from brief moments to substantial periods of time. Understanding the factors that contribute to sustaining these interactions is crucial, yet existing studies primarily focusing on short-term simulations that rarely explore such prolonged and real conversations. In this paper, we investigate the factors influencing retention rates in real interactions with roleplaying models. By analyzing a large dataset of interactions between real users and thousands of characters, we systematically examine multiple factors and assess their impact on user retention rate. Surprisingly, we find that the degree to which the bot embodies the roles it plays has limited influence on retention rates, while the length of each turn it speaks significantly affects retention rates. This study sheds light on the critical aspects of user engagement with role-playing models and provides valuable insights for future improvements in the development of large language models for role-playing purposes.
[ -0.570679247379303, -0.849528431892395, 0.8488262295722961, -0.05630304664373398, -0.029126543551683426, 0.3219323456287384, 0.023507175967097282, -0.5228894352912903, -0.026673786342144012, 0.6916167140007019, -0.7458009719848633, 0.08427554368972778, -0.2572539150714874, -0.18320222198963165, -0.14122185111045837, 0.759591281414032, 0.34633126854896545, -0.030261021107435226, -0.4498826563358307, -0.10035084187984467, -0.6765380501747131, -0.9462521076202393, -0.5993685722351074, -0.6978477835655212, 0.8029659390449524, 0.4787334203720093, 1.1101235151290894, 0.5379886031150818, 0.3264923691749573, 0.2493506371974945, -0.1797313243150711, 0.1948586106300354, -1.0773499011993408, 0.4846666753292084, 0.07895383983850479, -0.9598538279533386, -0.02256585843861103, 0.370697557926178, 0.33367037773132324, 0.3706999719142914, -0.25184571743011475, -0.04701843857765198, -0.017051871865987778, 0.3769187033176422, -0.1816207319498062, 0.32741087675094604, -0.18290743231773376, -0.09749957174062729, -0.19431304931640625, -0.5130971074104309, -0.5588085651397705, -0.30141639709472656, 0.5605729818344116, -0.6783869862556458, 0.14836780726909637, -0.11827477067708969, 0.881798267364502, -0.36670613288879395, -0.6048031449317932, -0.3957549035549164, -0.8165045380592346, 0.6977134346961975, -0.5994696021080017, 0.36361876130104065, 0.8016282916069031, 0.02204023115336895, -0.34030795097351074, -0.07067836076021194, -0.701807975769043, -0.539327085018158, -0.24814051389694214, -0.2362409234046936, 0.15655013918876648, 0.1768985390663147, 0.6498273611068726, -0.010227551683783531, -0.024948300793766975, 0.037177883088588715, -0.5923222303390503, -0.044595979154109955, 0.7322171330451965, 0.46993038058280945, 0.6374296545982361, -0.02779301442205906, -0.2089095264673233, -0.35609644651412964, -0.7338077425956726, 0.6715494394302368, 0.7566174864768982, 0.049332939088344574, 0.027161041274666786, 0.6329113245010376, 0.4551110863685608, 0.22887925803661346, 0.03181813657283783, -0.07689148187637329, -0.0983218252658844, -0.4395468533039093, 0.2851647734642029, -0.24325396120548248, 0.5780388712882996, 0.4498429298400879, 0.7113859057426453, 0.03335191681981087, 0.08400975167751312, -0.14034448564052582, 0.5346503853797913, -0.8996568918228149, -0.017939304932951927, 0.13735276460647583, -0.44652149081230164, -0.2580808103084564, 0.4475634694099426, -0.49778032302856445, -0.5005460381507874, -0.15931716561317444, 0.22666800022125244, -0.5038016438484192, -0.4434623122215271, -0.32607513666152954, -0.3226795792579651, 0.10681768506765366, 0.29367783665657043, -0.8148143887519836, 0.44874218106269836, 0.9002885818481445, 0.7830564975738525, -0.1160624548792839, -0.19019129872322083, -0.7021581530570984, -0.05981823429465294, -0.6313897371292114, 0.27701568603515625, -0.6719487905502319, -0.6064501404762268, 0.41502001881599426, 0.1955697238445282, -0.11230456829071045, -0.3319809138774872, 0.36106762290000916, -0.7147121429443359, 0.5710626840591431, -0.6953098177909851, -0.6604007482528687, -0.10312352329492569, 0.22906966507434845, -0.7156744599342346, 0.6183127760887146, -0.1448376178741455, 0.0467475950717926, 0.43461790680885315, -0.8954165577888489, -0.21844501793384552, 0.26215752959251404, -0.16812238097190857, -0.12665824592113495, 0.41580528020858765, -0.27116861939430237, 0.35802578926086426, -0.42649441957473755, 0.23474866151809692, -0.010607953183352947, -0.5277122855186462, 0.8940437436103821, -0.46070531010627747, 0.4383593201637268, 0.053804684430360794, 0.058773625642061234, 0.017279714345932007, -0.054684773087501526, -0.36479467153549194, -0.03680333122611046, -0.15619157254695892, -0.2832471430301666, 0.29574427008628845, 0.0253192950040102, 0.42097923159599304, -0.25739800930023193, -0.7391928434371948, 0.2676749527454376, -0.2526427209377289, 0.48846161365509033, 0.5255106687545776, 0.481780081987381, 0.42877641320228577, -0.4456324875354767, 0.9624345898628235, 0.08400429040193558, 0.16708822548389435, -0.7395209074020386, -0.5986104607582092, -0.6334725618362427, -0.0926840752363205, 0.31859344244003296, 0.21006880700588226, -0.3710096478462219, 0.05286935344338417, -0.3165278732776642, -0.4958426356315613, -0.608212411403656, 0.18199698626995087, 0.4688612222671509, 0.09775815159082413, 0.06998273730278015, -0.4392099976539612, 0.19258429110050201, -0.729675829410553, -0.0825335830450058, -0.5194814801216125, -0.042328137904405594, 0.9806261658668518, 0.1856697052717209, -0.09987033158540726, 1.455868124961853, -0.5050233602523804, -0.3867446184158325, -0.6181777715682983, 0.09199605137109756, 0.005886157508939505, 0.35467469692230225, 0.521207869052887, -0.7746750116348267, -0.8279285430908203, -0.16907265782356262, -0.5287681221961975, 0.004319778177887201, -0.6036766171455383, -0.00741503294557333, 0.12842121720314026, 0.42128393054008484, -1.011798620223999, 0.7985944151878357, 0.4685116708278656, -0.5385181307792664, 0.24341942369937897, -0.09158404916524887, 0.40010637044906616, -0.5616910457611084, -0.08466741442680359, 0.07857536524534225, -0.06482978165149689, -0.9472243189811707, -0.15876032412052155, 0.003415906336158514, -0.47697076201438904, -0.3818773031234741, 0.8111555576324463, -0.783515453338623, 0.2153855264186859, -0.16245800256729126, 0.1820889711380005, 0.0786554366350174, 0.25305598974227905, 0.0853482112288475, 0.966410756111145, 0.23553648591041565, -0.5914753675460815, -0.12033161520957947, 0.5547815561294556, -0.14903052151203156, 0.05425063893198967, -0.9290111660957336, 0.12906306982040405, 0.15655070543289185, 0.3565593957901001, -1.0978285074234009, -0.14843793213367462, 0.03214004635810852, -0.2950136959552765, 0.19098491966724396, -0.5497296452522278, -0.583213746547699, -0.312627911567688, -0.24746739864349365, -0.04157014191150665, 0.6337380409240723, -0.19275835156440735, 0.6559032797813416, 0.45640870928764343, -0.23549401760101318, -0.5204232931137085, -0.221473827958107, 0.1518351286649704, -0.10123173147439957, -0.5752626061439514, 0.07902727276086807, -0.22054605185985565, -0.16527380049228668, -0.12789273262023926, -0.2726210355758667, 0.11208754032850266, 0.09588972479104996, 0.34289637207984924, 0.11139866709709167, 0.13409796357154846, 0.4039558172225952, -0.21403324604034424, -0.1791953146457672, 0.14486055076122284, 0.23949149250984192, 0.9821040034294128, 0.12014210224151611, -0.3131749927997589, -1.0613186359405518, 0.3136979341506958, 0.9055749773979187, -0.11002252995967865, 1.0995564460754395, 0.24966569244861603, 0.13685016334056854, 0.1607179045677185, -0.8085360527038574, -0.7773428559303284, -0.4873620867729187, 0.41382893919944763, -0.41736146807670593, -0.8277723789215088, 0.926914632320404, 0.14836423099040985, 0.1328427940607071, -0.07619646191596985, 0.07456708699464798, -0.3893686830997467, 1.005951166152954, 0.7140210270881653, 0.037606921046972275, 0.6997262835502625, -0.08005726337432861, 0.3010110557079315, -0.7019888162612915, -0.2057756781578064, 0.11533766239881516, -0.3184633255004883, -0.4669010639190674, -0.4351659417152405, 0.049480799585580826, 0.11509396135807037, 0.29355642199516296, 0.2844010293483734, -0.013482632115483284, 0.578937828540802, 0.24341905117034912, -0.11554548889398575, -0.05494147911667824, -0.4273500144481659, 0.2428424060344696, -0.1921507567167282, -0.5875470638275146, -0.5303258895874023, 0.7641075253486633, 0.7478813529014587, 0.7405765652656555, 0.4539642333984375, 0.4953358769416809, 0.474797785282135, -0.060103416442871094, -0.6883653998374939, 0.6706942319869995, 0.5839301943778992, -0.8374673128128052, -0.7325363755226135, -0.3717625141143799, -1.215383768081665, 0.05385155230760574, -0.36739611625671387, -0.7304866909980774, 0.2677153944969177, 0.27404117584228516, -0.31384575366973877, -0.048029981553554535, -0.5952885746955872, 0.8054342865943909, -0.21467892825603485, -0.6172279715538025, -0.46247145533561707, -0.6418027281761169, 0.0792994350194931, 0.18899625539779663, -0.15460073947906494, -0.45199912786483765, 0.17163850367069244, 0.6091580986976624, -0.4185507595539093, 0.9333288073539734, -0.37113210558891296, -0.16464214026927948, 0.6491379737854004, 0.37306246161460876, 0.6639173626899719, 0.31142163276672363, 0.1865868866443634, 0.14100292325019836, -0.020920956507325172, -0.27912548184394836, -0.7884109616279602, 0.43860092759132385, -0.6428456902503967, -0.8957231640815735, -0.4813169538974762, -0.3658014237880707, -0.1463274210691452, -0.26127269864082336, -0.17110806703567505, 0.5945177674293518, -0.41187646985054016, 0.7082224488258362, 0.9111490845680237, -0.13641072809696198, 0.38312801718711853, 0.30742764472961426, -0.3633735775947571, 0.1194225549697876, 0.8732235431671143, 0.3044085204601288, 0.6753542423248291, 0.13047534227371216, 0.3353433310985565, -0.2258399873971939, -0.07165195792913437, -0.19291818141937256, 0.48009204864501953, -0.12948830425739288, -0.07036010921001434, -0.965973973274231, -0.16978128254413605, -0.16291560232639313, -0.031129224225878716, -0.25405386090278625, -0.4832786023616791, -0.5433330535888672, -0.23370106518268585, 0.48694032430648804, 0.6571546196937561, 0.17383217811584473, 0.868327796459198, -0.7698516845703125, -0.1220712810754776, 0.5116435289382935, 0.027032243087887764, 0.35711535811424255, -0.4078678786754608, -0.1332051157951355, -0.08045589923858643, -0.10977444052696228, -1.1558243036270142, 0.45782482624053955, 0.146392822265625, 0.8255274891853333, 0.7045584321022034, -0.20152147114276886, 0.6359736919403076, -0.15911053121089935, 1.1565122604370117, 0.05791102722287178, -0.6334021687507629, 0.28714749217033386, -0.6745480895042419, 0.176962211728096, 0.46009957790374756, 0.5304259657859802, -0.941982626914978, -0.03660164028406143, -0.657261848449707, -0.8599972724914551, 1.109190821647644, 0.34779879450798035, 0.47571542859077454, 0.019313281401991844, 0.3340360224246979, -0.07355847209692001, 0.3523373007774353, -0.39999762177467346, -0.24350625276565552, 0.09735139459371567, 0.1086658462882042, -0.2264697402715683, -0.8103580474853516, -0.2966664731502533, 0.02066638506948948, 0.38877663016319275, 0.06059461459517479, 0.1675710380077362, -0.3066653311252594, -0.10211634635925293, -0.0014155018143355846, 0.16586928069591522, 0.8581843972206116, 0.6529147624969482, -0.3294183611869812, -0.3966035544872284, -0.15000596642494202, -0.6267414689064026, -0.08181512355804443, -0.25286951661109924, -0.12454034388065338, -0.31199610233306885, 0.2488272339105606, 0.7158768773078918, 0.2099395990371704, -0.7750192284584045, 0.5298296213150024, -0.34280022978782654, -0.03854351118206978, -0.38711315393447876, 0.3324172794818878, 0.18503102660179138, -0.08425204455852509, 0.5914005637168884, -0.17477037012577057, -0.19340825080871582, -1.1984096765518188, 0.2881165146827698, 0.3947083055973053, -0.885402262210846, -0.391769677400589, 0.3482828140258789, 0.706896185874939, -0.8198262453079224, 0.8693409562110901, 0.0002674975257832557, -0.7388888001441956, 0.44536635279655457, 0.3946659564971924, 0.6355929374694824, -0.22091937065124512, 0.42325302958488464, 0.21008582413196564, 0.11028137058019638, -0.047587521374225616, -0.009487355127930641, -0.2395932674407959, -0.53965824842453, -0.09546300768852234, -0.01749078743159771, -0.5152828693389893, -0.02676994353532791, -0.6745330691337585, 0.019076399505138397, -0.12321172654628754, -0.6726924777030945, -0.23278266191482544, 0.3805582821369171, -0.679405689239502, -0.24570173025131226, -0.05330783873796463, 0.6178397536277771, -0.7634749412536621, 0.4422543942928314, 0.0019072068389505148, -0.7512463927268982, -0.40011173486709595, -0.030258208513259888, 0.2508825659751892, -0.4430430233478546, 0.48417040705680847, 0.2078951746225357, 0.23137208819389343, -0.06248597800731659, -0.45069825649261475, -0.7937628030776978, 0.9950146675109863, -0.10303419828414917, -0.5630064010620117, -0.1588944047689438, 0.07507802546024323, 0.7713668942451477, -0.620090663433075, 0.5650714635848999, 0.5812670588493347, 0.19673308730125427, -0.0390290841460228, -0.977451503276825, -0.24341747164726257, -0.3466673195362091, -0.11533105373382568, 0.24951596558094025, -0.590112030506134, 0.35999801754951477, -0.2718660235404968, -0.4692274332046509, 0.056309763342142105, 0.6513620018959045, 0.3233739733695984, 0.272861510515213, 0.6144435405731201, -0.013047490268945694, 0.6543806195259094, -0.1236269548535347, 1.0418490171432495, -0.2731212079524994, -0.09949670732021332, 0.854368269443512, -0.4134118854999542, 0.616997241973877, 0.48981764912605286, 0.4429479241371155, 0.7083734273910522, 0.3246765732765198, -0.11698303371667862, 0.2216646522283554, 0.2379898875951767, -0.18117472529411316, -0.46342360973358154, -0.3029538094997406, -0.14474156498908997, 0.42596399784088135, 0.625333845615387, -0.36657875776290894, 0.609262228012085, 0.12042535841464996, 0.24175624549388885, 0.09522681683301926, 0.19328869879245758, 0.8291038274765015, -0.06183845177292824, -0.9224793910980225, -0.20223617553710938, -0.5922713279724121, 0.2561390995979309, -0.8434478044509888, -0.29877007007598877, -0.08743023127317429, -0.10866042971611023, 0.12497184425592422, -0.8837302327156067, -0.5575442314147949, -0.1980794370174408, -0.29789862036705017, -0.26809656620025635, 0.5902820825576782, -0.5880004167556763, 0.17047721147537231, 0.24358391761779785, 0.7930530905723572, 0.19622065126895905, 0.12357568740844727, -0.35962480306625366, 0.3548614978790283, 0.021468747407197952, -0.44647017121315, 0.397601842880249, 0.39711228013038635, -0.20806463062763214, 1.0146266222000122, 1.05344820022583, -0.3416092097759247, -0.20007725059986115, 0.0885913148522377, 0.7616375684738159, -0.6929175853729248, -0.344632625579834, -0.5243726372718811, 0.7590007781982422, -0.41979271173477173, -0.5157651305198669, 1.0206339359283447, 0.5302914977073669, 0.24347589910030365, -0.1687353253364563, 0.5013132691383362, 0.19216188788414001, 0.39008116722106934, -0.04276346415281296, 0.9800282120704651, -0.03440826013684273, 0.28745704889297485, -0.058694228529930115, -0.8352171778678894, 0.468227744102478, 0.506242573261261, -0.027556704357266426, 0.13576534390449524, 0.359086275100708, 0.5287730097770691, 0.24370431900024414, -0.12840025126934052, 0.6165005564689636, -0.06434882432222366, 0.9040131568908691, 0.028926391154527664, 1.202182650566101, -0.18532337248325348, 0.5733926892280579, -0.06489607691764832, -0.16460448503494263, -0.519390344619751, -0.6019036769866943, -1.2574371099472046, -0.6451964378356934, -0.2608427107334137, -0.27451977133750916, 0.0640428438782692, 0.8833761811256409, 0.762731671333313, -0.37449222803115845, -0.3663157820701599, 0.23853442072868347, -0.10059976577758789, -0.23072850704193115, -0.2820640206336975, 0.14499163627624512, -0.32160133123397827, -0.7141323089599609, 0.450621098279953, 0.06183810159564018, 0.07428250461816788, -0.3698844015598297, -0.15183497965335846, -0.3728577792644501, 0.6777039766311646, 0.5761439204216003, 0.8536688685417175, -0.7259121537208557, -0.1695224642753601, 0.5071958899497986, -0.180753692984581, -0.16505669057369232, 0.8570812940597534, -0.9045424461364746, 0.6498535871505737, 0.5327917337417603, 0.22947922348976135, 0.726703941822052, 0.6698411107063293, 1.080906629562378, -0.49432292580604553, -0.15764936804771423, 0.2272234410047531, -0.19408197700977325, 0.14949743449687958, -0.5635819435119629, 0.7454550862312317, 0.14264729619026184, -0.8973949551582336, -1.1325989961624146, 0.06476761400699615, -0.8082476854324341, 0.14462648332118988, 1.1297374963760376, -0.07535704970359802, 0.19598731398582458, -0.35445642471313477, -0.30401718616485596, -0.15453088283538818, -0.8076652884483337, 0.5416281819343567, 0.8623538017272949, -0.5250767469406128, -0.3769960403442383, -0.5857412219047546, 0.9155825972557068, 0.22639982402324677, -0.38291722536087036, 0.5357515811920166, 0.5675923228263855, -0.024499064311385155, 0.6475210189819336, 0.7200160622596741, 0.11198516190052032, 0.19316698610782623, -0.04724486544728279, -0.2762492299079895, -0.09020829945802689, -0.6858357787132263, 0.05421173572540283, 0.2014979124069214, -0.19034399092197418, 0.17121301591396332 ]
http://arxiv.org/abs/2402.11518v2
http://arxiv.org/pdf/2402.11518v2
Large Language Model-driven Meta-structure Discovery in Heterogeneous Information Network
2024-02-18T09:21:12
2024-06-22T04:03:30
Lin Chen, Fengli Xu, Nian Li, Zhenyu Han, Meng Wang, Yong Li, Pan Hui
cs.LG
cs.LG, cs.CL
Heterogeneous information networks (HIN) have gained increasing popularity in recent years for capturing complex relations between diverse types of nodes. Meta-structures are proposed as a useful tool to identify the important patterns in HINs, but hand-crafted meta-structures pose significant challenges for scaling up, drawing wide research attention towards developing automatic search algorithms. Previous efforts primarily focused on searching for meta-structures with good empirical performance, overlooking the importance of human comprehensibility and generalizability. To address this challenge, we draw inspiration from the emergent reasoning abilities of large language models (LLMs). We propose ReStruct, a meta-structure search framework that integrates LLM reasoning into the evolutionary procedure. ReStruct uses a grammar translator to encode the meta-structures into natural language sentences, and leverages the reasoning power of LLMs to evaluate their semantic feasibility. Besides, ReStruct also employs performance-oriented evolutionary operations. These two competing forces allow ReStruct to jointly optimize the semantic explainability and empirical performance of meta-structures. Furthermore, ReStruct contains a differential LLM explainer to generate and refine natural language explanations for the discovered meta-structures by reasoning through the search history. Experiments on eight representative HIN datasets demonstrate that ReStruct achieves state-of-the-art performance in both recommendation and node classification tasks. Moreover, a survey study involving 73 graduate students shows that the discovered meta-structures and generated explanations by ReStruct are substantially more comprehensible. Our code and questionnaire are available at https://github.com/LinChen-65/ReStruct.
[ -0.3834191858768463, -1.0204412937164307, 0.6981068253517151, 0.09736686944961548, -0.14793843030929565, -0.21854716539382935, -0.3029492497444153, -0.4743642508983612, 0.47224169969558716, 0.18754756450653076, -0.6863155961036682, -0.793191134929657, -0.2550317347049713, 0.33819496631622314, -0.07387521862983704, 0.6040370464324951, -0.10960407555103302, -0.3769424259662628, -0.10189758241176605, -0.05799037963151932, -0.22136688232421875, -0.17249317467212677, -0.37041473388671875, -0.47264277935028076, 0.8290866613388062, 0.34435123205184937, 0.9221013188362122, 1.1693010330200195, 0.22336755692958832, 0.3473328649997711, -0.45832914113998413, 0.36105674505233765, -0.5176857709884644, 0.2989407777786255, -0.4248068928718567, -0.17972633242607117, -0.42524319887161255, -0.2828941345214844, 0.8183298110961914, 0.9975302815437317, -0.20600906014442444, 0.3231907784938812, -0.07722339034080505, 0.45197543501853943, -0.6893360614776611, 0.36831751465797424, -0.6370147466659546, 0.20626889169216156, -0.39467909932136536, -0.5414592623710632, -0.39046862721443176, -0.26145005226135254, 0.2468574494123459, -0.544100821018219, 0.1412694752216339, 0.11248915642499924, 0.6599981188774109, 0.2248067557811737, -0.256207138299942, -0.017739074304699898, -0.6892648339271545, 0.37832871079444885, -0.5776078104972839, 0.6442940831184387, 0.3125132918357849, 0.3541479706764221, -0.4775119423866272, -0.8266807794570923, -0.3178269863128662, -0.060672909021377563, -0.1125267744064331, -0.1870788037776947, 0.011976099573075771, 0.026642652228474617, 0.04861621931195259, 0.4411863684654236, -0.7500647902488708, 0.14331474900245667, -0.1527239978313446, -0.19239331781864166, 0.41853463649749756, 0.19496440887451172, 0.3572029173374176, -0.3419390916824341, -0.2276378571987152, 0.09813526272773743, -0.6838104128837585, -0.12322082370519638, 0.35245683789253235, 0.37082624435424805, 0.07970123738050461, 0.6161336302757263, -0.3194922208786011, 0.6384902596473694, -0.1301543414592743, -0.00504946568980813, 0.37118497490882874, -0.3854443430900574, -0.2499108761548996, 0.07911458611488342, 0.7159122228622437, -0.026516754180192947, 0.1801092028617859, -0.2703368663787842, -0.047990504652261734, -0.48130372166633606, 0.14903680980205536, -0.9156548976898193, -0.025099005550146103, 0.046159930527210236, -1.004435420036316, -0.33180898427963257, 0.1282963901758194, -0.7126414179801941, 0.02307087928056717, -0.13420793414115906, 0.15884271264076233, -0.2387743890285492, -0.40549883246421814, 0.24794891476631165, -0.1557961106300354, 0.03795948624610901, 0.2896106541156769, -0.744021475315094, -0.007042642217129469, 0.725921630859375, 0.9013941884040833, 0.12823055684566498, -0.6252442002296448, -0.4566138982772827, 0.11109194159507751, -0.26661932468414307, 0.711219847202301, -0.8325807452201843, -0.1082688421010971, -0.01605619676411152, 0.2779771387577057, -0.12459192425012589, -0.303107351064682, 0.6660502552986145, -0.7287226915359497, 0.2957456111907959, -0.24347031116485596, -0.2838430404663086, -0.343771368265152, 0.47245290875434875, -0.8027902245521545, 0.899419367313385, 0.09268204122781754, -0.97495037317276, 0.21480722725391388, -0.6873275637626648, -0.6982956528663635, 0.1659581959247589, -0.19006364047527313, -0.506820559501648, 0.02382364682853222, -0.03624845668673515, 0.45450732111930847, -0.5381373167037964, 0.41718780994415283, -0.7083091735839844, -0.4058041572570801, -0.051499802619218826, -0.3017458915710449, 0.6531275510787964, 0.22124888002872467, -0.48941177129745483, 0.04067649692296982, -0.7422845959663391, 0.06666930764913559, 0.10466766357421875, -0.7874260544776917, -0.4417998194694519, 0.36700013279914856, -0.2617250084877014, 0.07857260853052139, 0.14873701333999634, -0.38817286491394043, 0.240764319896698, -0.38449645042419434, 0.5108631253242493, 0.6429905891418457, -0.12694613635540009, 0.3206157982349396, -0.1273731291294098, 0.27007028460502625, -0.39275431632995605, 0.082800954580307, -0.32309189438819885, -0.34777554869651794, -0.20534659922122955, -0.19644403457641602, 0.08361450582742691, 0.28470757603645325, -0.4574233293533325, 0.5236535668373108, -0.3339153528213501, -0.286483496427536, -0.3602200746536255, -0.10844364762306213, 0.22442717850208282, 0.6780853271484375, 0.4616786241531372, 0.19653673470020294, -0.7328054904937744, -1.0151952505111694, -0.2350379228591919, -0.20181144773960114, 0.1680152863264084, 0.5384921431541443, 0.5094390511512756, -0.9634622931480408, 0.6960325241088867, -0.4683282971382141, 0.20572449266910553, -0.18816040456295013, 0.18559536337852478, 0.3849034309387207, 0.16297796368598938, 0.2843843996524811, -1.057068943977356, -0.11886564642190933, 0.19822777807712555, -0.6922131776809692, -0.20830032229423523, 0.1583215296268463, -0.08080492168664932, -0.23678550124168396, 0.529890775680542, -0.39618730545043945, 0.32260775566101074, 0.38583144545555115, -0.36918210983276367, 0.5085810422897339, -0.1395294964313507, 0.11249610781669617, -1.1839498281478882, 0.26084500551223755, -0.3210391402244568, -0.3600381910800934, -0.3511017858982086, 0.21886105835437775, -0.13099238276481628, -0.1285773068666458, -0.0656244158744812, 0.43336886167526245, -0.566551923751831, -0.4200209379196167, -0.18220633268356323, 0.06511662155389786, -0.047950468957424164, 0.5164958238601685, 0.07484132051467896, 0.26354724168777466, 0.43728259205818176, -0.6657354831695557, 0.46442529559135437, 0.22853752970695496, -0.21135477721691132, 0.27945631742477417, -0.7002316117286682, -0.16153715550899506, -0.17119120061397552, 0.5239901542663574, -0.8558852672576904, -0.4340344965457916, 0.0587923638522625, -0.26543116569519043, -0.13879311084747314, -0.5819993615150452, -0.3000028729438782, -0.3951740860939026, -0.2753918468952179, 0.6220268607139587, -0.12081282585859299, -0.8589888215065002, 0.8488584756851196, 0.08671673387289047, -0.1549798548221588, -0.5375344157218933, -0.6138643026351929, 0.1511363834142685, 0.07578437775373459, -1.192134976387024, 0.554902970790863, -0.081495501101017, -0.04182261601090431, 0.28165313601493835, -0.1115647554397583, 0.002295243088155985, 0.3970547020435333, 0.37374430894851685, 0.15191605687141418, -0.5553125739097595, 0.4410836398601532, -0.08905114233493805, -0.09444662183523178, -0.04082929715514183, -0.5588779449462891, 0.7395817637443542, -0.416973352432251, -0.3662595748901367, -0.3162050247192383, 0.21288932859897614, 0.9641202688217163, -0.5069199204444885, 0.7822732925415039, 0.5555423498153687, -0.30098605155944824, -0.3892543613910675, -0.45665159821510315, -0.12651214003562927, -0.3817968964576721, 0.3990161418914795, -0.551236093044281, -0.9574890732765198, 0.5382456183433533, -0.31753531098365784, 0.09430991858243942, 0.5807345509529114, 0.7788699865341187, 0.0679527074098587, 0.8867964148521423, 0.43646693229675293, 0.06526056677103043, 0.4827897846698761, -0.12574172019958496, 0.18272598087787628, -0.7198041081428528, -0.5713340640068054, -0.5780466794967651, -0.545356810092926, -0.8655909299850464, -0.26302745938301086, 0.274739146232605, -0.21961554884910583, -0.13458915054798126, 0.3397543430328369, -0.35126665234565735, 0.4994911253452301, 0.31904202699661255, -0.10166539251804352, 0.4743214547634125, -0.12880989909172058, -0.3117980659008026, 0.480275422334671, -0.6027701497077942, -0.3606618046760559, 0.685731828212738, 0.5219950079917908, 0.9976420402526855, 0.2192305475473404, 0.879967987537384, 0.12221625447273254, 0.0370367169380188, -0.6401037573814392, 0.36830106377601624, -0.039356157183647156, -0.612729012966156, -0.5762460827827454, -1.0057635307312012, -1.0391231775283813, 0.4251331686973572, -0.3280780017375946, -0.4337374269962311, 0.5266082882881165, 0.1759517788887024, -0.08577073365449905, 0.43404915928840637, -0.4238613247871399, 1.019513487815857, -0.19316953420639038, -0.3981103301048279, -0.15807540714740753, -0.7135128378868103, 0.39027613401412964, 0.21308612823486328, 0.2358430176973343, 0.03862755000591278, 0.24933619797229767, 0.34686335921287537, -0.32766804099082947, 0.5308898091316223, 0.13166946172714233, -0.12639544904232025, 0.06446599215269089, 0.342663437128067, 0.816875696182251, 0.3646681010723114, -0.3353513479232788, -0.14226776361465454, -0.013698092661798, -0.14276550710201263, -0.6082603335380554, 0.6189627051353455, -0.4197651147842407, -0.26773080229759216, 0.09559490531682968, -0.3388327360153198, 0.20549198985099792, 0.4416813850402832, 0.3486233055591583, 0.5129378437995911, -0.4349088966846466, 0.5570815205574036, 0.8445824384689331, -0.08215896040201187, 0.372025728225708, 0.5024031400680542, -0.2624369263648987, -0.23204965889453888, 0.7452718019485474, -0.09915007650852203, 0.031476061791181564, 0.6319238543510437, 0.5432870984077454, -0.07792241871356964, -0.45194554328918457, -0.4697021543979645, 0.14119072258472443, -0.3429153263568878, -0.03530396521091461, -0.6935243010520935, -0.09938227385282516, -0.2783944606781006, 0.09886375814676285, -0.473720908164978, -0.2564224898815155, 0.008573915809392929, -0.15344083309173584, -0.1492333710193634, 0.5337196588516235, -0.09529948979616165, -0.10810210555791855, -0.5537742972373962, 0.4112471342086792, 0.3690674901008606, 0.639821469783783, 0.023944582790136337, -0.1332070529460907, -0.37105581164360046, 0.004029665607959032, 0.23927396535873413, -0.7748681902885437, -0.09962522238492966, 0.06511648744344711, 0.6165689826011658, 0.5565038323402405, -0.1768876314163208, 0.42470547556877136, -0.5880546569824219, 0.15166033804416656, -0.14150135219097137, -0.47253936529159546, 0.45688191056251526, -0.4024578034877777, 0.04815017804503441, 0.45530232787132263, 0.31037262082099915, -0.6625156402587891, 0.10262800753116608, -0.6456773281097412, -0.7237482070922852, 0.5735895037651062, 0.17215274274349213, -0.20924416184425354, 0.03713371232151985, 0.4625001549720764, -0.09773068875074387, 0.12134837359189987, -0.7318238019943237, -0.07118057459592819, -0.2777528762817383, -0.05138121917843819, 0.36112481355667114, -0.23777727782726288, -0.262543261051178, 0.07296336442232132, 0.3077006936073303, -0.23686937987804413, 0.01576363295316696, 0.37875041365623474, -0.18986624479293823, -0.2760190963745117, 0.500493049621582, 0.5311623811721802, 0.6177577376365662, -0.3913462460041046, 0.5875856876373291, -0.0730949193239212, -0.25592103600502014, -0.09039128571748734, 0.3213808238506317, -0.22077645361423492, 0.046670880168676376, 0.7773522138595581, 0.7144883871078491, 0.3416604697704315, -0.5236573219299316, 0.47200268507003784, -0.13800421357154846, -0.2710006535053253, -0.04380377009510994, 0.017027491703629494, 0.17322900891304016, 0.5590411424636841, 0.22191928327083588, -0.25426411628723145, 0.2028190642595291, -1.013715147972107, 0.08994484692811966, 0.49678799510002136, 0.1398843377828598, -0.48677965998649597, 0.2701328694820404, 0.36571380496025085, -0.44512060284614563, 0.4848795235157013, -0.14105646312236786, -0.6775678396224976, 0.30835211277008057, 0.5916223526000977, 0.996833086013794, -0.05010941997170448, 0.3263879418373108, 0.2596069872379303, 0.32465314865112305, -0.38597068190574646, 0.08613404631614685, -0.34355080127716064, -0.7734809517860413, -0.41800275444984436, -0.6112599968910217, -0.23700638115406036, 0.051666002720594406, -0.3097350597381592, 0.09829055517911911, -0.36800581216812134, 0.11092731356620789, -0.06992781162261963, -0.2511271834373474, -0.43838563561439514, 0.1656259149312973, 0.15308049321174622, 0.9135845303535461, -0.7302800416946411, 0.2758692502975464, 0.6551311016082764, -0.33144792914390564, -0.819219172000885, 0.022625098004937172, -0.02503954991698265, -0.6421264410018921, 0.6498413681983948, -0.02264287695288658, -0.37411004304885864, -0.22542721033096313, -0.5058825016021729, -0.9409843683242798, 1.2148704528808594, 0.3177712559700012, -0.5562323927879333, -0.4504272937774658, -0.1640610247850418, 0.42903584241867065, -0.5639341473579407, 0.3261209726333618, 0.24609068036079407, 0.7682838439941406, 0.2944374978542328, -0.7124526500701904, 0.20604050159454346, -0.26982536911964417, -0.09384270012378693, 0.3804268538951874, -0.41539835929870605, 0.9782471060752869, -0.19486935436725616, -0.27261534333229065, -0.3031129837036133, 0.47339776158332825, 0.24024754762649536, 0.5169370174407959, 0.6046124696731567, 0.8168313503265381, 0.8573634028434753, 0.15668097138404846, 0.8883690237998962, -0.04523943364620209, 0.3643473982810974, 1.110033631324768, -0.09315857291221619, 0.616211473941803, 0.18389827013015747, 0.1333135962486267, 0.9260843992233276, 0.7655079364776611, -0.08952133357524872, 0.2816197872161865, 0.2986903786659241, 0.07897970825433731, -0.48418664932250977, 0.025264373049139977, -0.33186957240104675, 0.3857305943965912, -0.039229389280080795, -0.4765961766242981, -0.5240830183029175, -0.23511050641536713, -0.08330705016851425, -0.07806646823883057, -0.08564922213554382, 0.5654064416885376, -0.24879297614097595, -0.5770825743675232, 0.5258339047431946, 0.33950701355934143, 0.3722176253795624, -0.5046321749687195, -0.060879260301589966, -0.2556222379207611, -0.027234980836510658, -0.5368347764015198, -0.5207722187042236, 0.24818305671215057, -0.21071183681488037, -0.5215652585029602, -0.10362353175878525, 0.7348941564559937, -0.4783366620540619, -0.15496867895126343, 0.440968781709671, 0.5313227772712708, 0.08726508170366287, -0.01593140885233879, -0.3681914210319519, 0.006931061390787363, -0.03903783857822418, -0.39103469252586365, -0.018698779866099358, 0.8754853010177612, -0.09983780980110168, 0.7118661999702454, 0.7556697130203247, 0.02896268106997013, -0.05951661244034767, 0.172020822763443, 0.9497544169425964, -0.6909170150756836, -0.5528497695922852, -1.0196287631988525, 0.19954918324947357, 0.026800377294421196, -0.17536012828350067, 0.38119208812713623, 0.802152156829834, 0.7384237051010132, 0.2549212872982025, 0.5562681555747986, -0.09983045607805252, 0.36665162444114685, -0.6244381070137024, 0.3790227770805359, -0.6775254607200623, 0.35862234234809875, -0.3039335310459137, -1.0250153541564941, 0.013575849123299122, 0.48292985558509827, -0.2038586139678955, -0.03582119196653366, 0.6149863600730896, 0.7877942323684692, -0.5250622034072876, 0.07774604111909866, -0.042127132415771484, 0.32378891110420227, 0.4842861294746399, 0.4222102761268616, 0.825484573841095, 0.09887303411960602, 0.7877565622329712, 0.23025035858154297, -0.30425265431404114, -0.6209696531295776, -0.8926644921302795, -0.8865057229995728, -0.4940755069255829, 0.0850268229842186, -0.2330247461795807, 0.056646037846803665, 0.8887796998023987, 0.7489080429077148, -0.2608236074447632, -0.025739844888448715, -0.30745139718055725, 0.7614066004753113, 0.1661183387041092, -0.22217951714992523, 0.46164700388908386, -0.2679785192012787, -0.29687556624412537, 0.7870533466339111, 0.46293121576309204, -0.16411566734313965, -0.2822592854499817, -0.21551375091075897, -0.4759509563446045, -0.06993427872657776, 0.5163118243217468, 0.44969695806503296, -0.48630690574645996, -0.15595979988574982, 0.0904449075460434, -0.03455595299601555, -0.09909462183713913, 1.0121034383773804, -0.5332359671592712, 0.33856749534606934, 0.9695343375205994, 0.8985998034477234, 0.545516312122345, 0.08290636539459229, 0.6166648864746094, -0.5868697166442871, -0.23559024930000305, 0.12525825202465057, 0.5114392042160034, 0.16456133127212524, -0.3766944110393524, 0.6732901930809021, 0.4083201289176941, -0.4377736449241638, -0.8261072635650635, 0.4618714451789856, -0.5630913376808167, -0.5289005041122437, 1.043622612953186, 0.15890194475650787, -0.3492700457572937, -0.01596774160861969, 0.02441280707716942, 0.19482217729091644, -0.275868684053421, 0.6772038340568542, 0.4317936301231384, -0.06390722095966339, -0.12681402266025543, -0.16648992896080017, 0.3097348213195801, 0.16284005343914032, -0.8647387623786926, 0.30677536129951477, 0.3756009042263031, 0.36654531955718994, 0.36746346950531006, 0.2985810339450836, -0.12631534039974213, 0.337298721075058, -0.4221666753292084, -0.026667075231671333, -0.541736900806427, -0.5970317721366882, 0.07198773324489594, 0.25806519389152527, -0.17694152891635895, -0.016864493489265442 ]
http://arxiv.org/abs/2402.11517v3
http://arxiv.org/pdf/2402.11517v3
Knowledge-to-SQL: Enhancing SQL Generation with Data Expert LLM
2024-02-18T09:10:04
2024-06-06T13:56:59
Zijin Hong, Zheng Yuan, Hao Chen, Qinggang Zhang, Feiran Huang, Xiao Huang
cs.CL
cs.CL
Generating accurate SQL queries for user questions (text-to-SQL) has been a long-standing challenge since it requires a deep understanding of both the user's question and the corresponding database schema in order to retrieve the desired content accurately. Existing methods rely on the comprehensive capability of large language models (LLMs) to generate the SQL. However, some necessary knowledge is not explicitly included in the database schema and user question or has been learned by LLMs. Thus, the generated SQL of the knowledge-insufficient questions may be inaccurate, negatively influencing the text-to-SQL models' performance and robustness. To address this challenge, we propose the Knowledge-to-SQL framework, which employs tailored Data Expert LLM (DELLM) to provide helpful knowledge for all text-to-SQL models. Specifically, we introduce the detailed implementation of DELLM regarding table reading and the basic fine-tuning process. We further propose a Preference Learning via Database Feedback (PLDBF) strategy, refining the DELLM to generate more helpful knowledge for LLMs. Extensive experiments verify that DELLM can enhance the state-of-the-art approaches for text-to-SQL tasks. The corresponding code of DELLM is released for further research.
[ -0.35368433594703674, -1.0218539237976074, 0.692168116569519, -0.2829938530921936, -0.17377638816833496, -0.09269378334283829, -0.2574634850025177, -0.18007706105709076, 0.1570543497800827, 0.9832786321640015, -0.7252838015556335, -0.8120850324630737, -0.17774848639965057, 0.1543445736169815, -0.46394863724708557, 0.9855449199676514, 0.373099684715271, 0.13740861415863037, -0.6311291456222534, 0.09972303360700607, -0.4273115396499634, -0.7399240732192993, -0.41065794229507446, 0.05639797821640968, 0.29403507709503174, 0.8160023093223572, 0.4403831362724304, 0.5451260209083557, 0.3269714117050171, 0.1033039465546608, -0.009474835358560085, 0.5960502624511719, -0.7178376317024231, 0.4067052900791168, -0.6316659450531006, -0.714001476764679, -0.6469537019729614, -0.554595947265625, 0.2271406203508377, 0.6648655533790588, -0.2448284924030304, 0.07147450000047684, -0.030204463750123978, 1.2650951147079468, -0.3126734495162964, 0.08511719852685928, -1.1881840229034424, -0.14264146983623505, -0.26002323627471924, -0.37561821937561035, -0.4653206765651703, -0.41595616936683655, 0.1313590258359909, -0.45480552315711975, 0.37623101472854614, 0.33216577768325806, 0.4246978759765625, 0.304817795753479, -0.6478631496429443, -0.30360060930252075, -0.6593794226646423, 0.48564305901527405, -0.633617639541626, 0.32374492287635803, 0.184495747089386, 0.3546255826950073, -0.48590362071990967, -0.3689616620540619, -0.5543890595436096, -0.2463499903678894, -0.1358891725540161, -0.04695149138569832, 0.48486316204071045, -0.07734624296426773, 0.14642199873924255, 0.29638534784317017, -0.474456787109375, -0.016458014026284218, -0.1607414036989212, 0.020592449232935905, 0.8689815402030945, 0.33299726247787476, -0.1185159683227539, -0.2569342851638794, -0.2816201448440552, 0.3625272810459137, -0.9040485620498657, -0.2703225910663605, 0.25469836592674255, 0.39394432306289673, 0.3794821798801422, 0.780332088470459, -0.4990023076534271, 1.2057369947433472, 0.12961535155773163, 0.009095446206629276, -0.05911491438746452, -0.45553967356681824, -0.025717206299304962, -0.03169962763786316, 0.4874330163002014, 0.4989893436431885, 0.23581235110759735, -0.4290482997894287, -0.20105059444904327, -0.3390914499759674, 0.22318944334983826, -0.6960105299949646, -0.20785531401634216, 0.3386590778827667, -0.1451098769903183, -0.4034380316734314, -0.005651867017149925, -0.8759291172027588, -0.6446731686592102, -0.46889224648475647, 0.48874419927597046, -0.41551947593688965, -0.3913322389125824, -0.1788717806339264, 0.09536275267601013, 0.14884373545646667, 0.369579017162323, -0.9016628265380859, 0.35703152418136597, 0.4159107506275177, 0.19987839460372925, -0.7129978537559509, 0.16178396344184875, -0.38639840483665466, 0.6314195394515991, -0.36206868290901184, 1.0803533792495728, -0.3519568145275116, -0.5015290975570679, -0.06415707617998123, -0.25863412022590637, 0.09299643337726593, -0.6228574514389038, 0.2590327858924866, -0.6073704361915588, 0.3514140546321869, -0.5568636655807495, -1.0290497541427612, 0.007245286367833614, 0.31556451320648193, -0.35676002502441406, 1.0683708190917969, 0.11016242206096649, -0.5718634128570557, 0.656829297542572, -0.541685163974762, -0.4311469495296478, 0.03280618414282799, -0.4617842435836792, -0.33902707695961, 0.1711117923259735, 0.5019881725311279, 0.6581909656524658, -0.4366970956325531, 0.2871650159358978, -0.22308333218097687, -0.18614442646503448, 0.21660225093364716, 0.058794692158699036, 0.34494343400001526, 0.21125862002372742, -0.06433390080928802, 0.0972198098897934, -0.9131976962089539, 0.2253841608762741, 0.23348639905452728, -0.4518555700778961, -0.002252225996926427, 0.3086090087890625, -0.08996565639972687, -0.009751075878739357, 0.32546985149383545, -0.21919293701648712, 0.015018253587186337, -0.5395488739013672, 0.20539653301239014, 0.575476348400116, 0.23805609345436096, 0.4421979784965515, -0.2738164961338043, 0.18384116888046265, 0.16059216856956482, -0.11925408989191055, 0.03333810716867447, -0.1696985512971878, -0.8991565108299255, 0.1457073986530304, 0.13188762962818146, 0.6118313074111938, -0.8075056076049805, 0.6545743942260742, -0.0684635117650032, -0.42067357897758484, -0.12255967408418655, 0.34636104106903076, -0.056560251861810684, 0.800166130065918, 0.5424672365188599, -0.2614688277244568, -0.3547051250934601, -0.7319393157958984, -0.5891348719596863, -0.16427291929721832, 0.056817155331373215, 0.8018600344657898, 0.13763730227947235, 0.1479949802160263, 1.2944031953811646, -0.8032503128051758, -0.5901893377304077, -0.3795691728591919, -0.43764570355415344, 0.22948631644248962, 0.35750341415405273, 0.4822886884212494, -0.4163110852241516, -0.49868911504745483, 0.01635555364191532, -0.53340744972229, 0.14747950434684753, 0.08024562895298004, -0.29679960012435913, 0.5952841639518738, 0.4918753206729889, -0.46513691544532776, 0.17969726026058197, -0.05885909125208855, -0.3859305679798126, 0.4807297885417938, -0.2176099717617035, 0.16446737945079803, -1.4928897619247437, 0.010151684284210205, -0.027512652799487114, -0.2654710114002228, -0.5566056966781616, -0.21468591690063477, 0.1355312317609787, -0.16289351880550385, -0.3345007002353668, 0.4161231219768524, -0.37505701184272766, -0.10769045352935791, 0.0420963391661644, 0.21563580632209778, -0.10761698335409164, 0.34065309166908264, 0.3639167547225952, 0.8007640838623047, 0.4066320061683655, -0.7772269248962402, 0.34554246068000793, 0.37147530913352966, -0.366234689950943, 0.858321487903595, -0.45372477173805237, 0.359409362077713, -0.001020387513563037, -0.18351466953754425, -0.938323438167572, -0.4965810179710388, -0.07858387380838394, -0.5101348161697388, 0.4803270399570465, -0.29902639985084534, -0.5972901582717896, -0.16944457590579987, 0.06717847287654877, -0.14803586900234222, 0.5221868753433228, -0.5436549782752991, 0.5990159511566162, 0.37597668170928955, -0.2932450771331787, -0.46312808990478516, -0.5762640237808228, 0.13633349537849426, -0.1674649566411972, -0.6726061105728149, 0.30921420454978943, 0.09109119325876236, -0.12399079650640488, -0.23603075742721558, -0.09714223444461823, -0.45117753744125366, -0.11359097808599472, -0.20578455924987793, 0.25931331515312195, -0.10904984921216965, 0.459566205739975, 0.36276906728744507, 0.0368373803794384, 0.25213903188705444, -0.3987722396850586, 0.23887374997138977, 0.23718933761119843, -0.22399599850177765, -0.07304802536964417, 0.38766103982925415, 0.13820849359035492, -0.22559848427772522, 0.7298972010612488, 0.3809989392757416, -0.12640473246574402, -0.49199339747428894, -0.8893424868583679, -0.6471675038337708, -0.4117978513240814, 0.612576961517334, -0.2804204225540161, -0.9144295454025269, 0.15469007194042206, -0.31017202138900757, 0.005745052359998226, 0.47373589873313904, 0.46491751074790955, -0.2079828530550003, 1.0024036169052124, 0.6664516925811768, 0.10597289353609085, 0.22403880953788757, 0.08492717146873474, -0.01152847521007061, -0.29484397172927856, -0.605570375919342, -0.7739848494529724, 0.12900415062904358, -0.13596698641777039, -0.3374290466308594, 0.38734346628189087, -0.025984348729252815, -0.2269269973039627, 0.10160347819328308, -0.6846723556518555, 0.6611242294311523, 0.24432232975959778, 0.42752861976623535, 0.6286988258361816, 0.4478570818901062, -0.08388292789459229, -0.16583488881587982, -0.8935260772705078, -0.27565234899520874, 1.3705968856811523, -0.11602351069450378, 0.8456299901008606, 0.08881931006908417, 0.7270500063896179, 0.2766992151737213, 0.05589616671204567, -0.6391751766204834, 0.7113975882530212, -0.1482975035905838, -0.8078138828277588, -0.20666861534118652, -0.6584818959236145, -0.3738672733306885, -0.21219615638256073, -0.5026901960372925, -0.48884469270706177, -0.029495786875486374, 0.43600115180015564, -0.2365257292985916, 0.19164718687534332, -0.8500494360923767, 0.6607378125190735, -0.3802163302898407, -0.6192289590835571, -0.3326170742511749, -0.525648295879364, 0.29216238856315613, -0.1565181016921997, 0.003698656801134348, 0.028728004544973373, -0.18047238886356354, 0.6915396451950073, -0.6010836362838745, 0.701246976852417, -0.3753926157951355, -0.017544083297252655, 0.25913476943969727, 0.08856458216905594, 0.6103565692901611, 0.32191529870033264, -0.45174917578697205, -0.16856850683689117, -0.07564625889062881, -0.3712828457355499, -0.5430764555931091, 0.6694290041923523, -0.5454394817352295, -0.8927558660507202, -0.07666901499032974, -0.535115122795105, -0.6412650942802429, 0.21007871627807617, 0.19634725153446198, 0.20605306327342987, -0.1803833693265915, 0.042926207184791565, 1.049045443534851, -0.16863933205604553, -0.007939684204757214, 0.6421201229095459, -0.35046815872192383, -0.4309956133365631, 0.7355802059173584, 0.06336697936058044, 0.16012005507946014, 0.6005178689956665, -0.14974474906921387, -0.6789690256118774, -0.8322403430938721, -0.6498881578445435, 0.1550290733575821, -0.45972591638565063, -0.32289814949035645, -0.5407318472862244, 0.00945928506553173, -0.25986960530281067, 0.0624924898147583, -0.2595174312591553, -0.671017050743103, -0.6024996638298035, -0.1417713165283203, 0.8607000708580017, 0.7546491622924805, 0.44357335567474365, 0.0850958377122879, -0.726796567440033, -0.04305163025856018, 0.36949560046195984, 0.37710726261138916, -0.21884579956531525, -0.46869346499443054, -0.22116343677043915, -0.1807258129119873, -0.1984494924545288, -1.0478277206420898, 0.10179102420806885, 0.3978206217288971, 0.4392086863517761, 0.22440043091773987, 0.2699033319950104, 0.46360859274864197, -0.3483540117740631, 0.7892611026763916, 0.14750798046588898, -0.7583487033843994, 0.9800132513046265, -0.3748820722103119, -0.08691205084323883, 0.7531207799911499, 0.2885526716709137, 0.11171779036521912, -0.17271316051483154, -0.2521800398826599, -0.7521100044250488, 0.6760836243629456, 0.01687425561249256, 0.11925864219665527, 0.08095791935920715, 0.8307228684425354, 0.472503125667572, 0.3932759165763855, -0.40619227290153503, -0.19033309817314148, -0.03234771639108658, -0.2344730645418167, 0.021879637613892555, -0.35993918776512146, 0.03741082549095154, -0.3240610957145691, 0.5752763152122498, -0.41982632875442505, 0.16811615228652954, 0.2208690196275711, -0.23280127346515656, 0.006710364017635584, 0.4033505320549011, 0.22637902200222015, 0.9701934456825256, -0.27857112884521484, -0.273878812789917, 0.5550873875617981, -0.2061225175857544, -0.1966809183359146, 0.08079006522893906, -0.26093775033950806, -0.08946254849433899, -0.2422052025794983, 0.5094844698905945, -0.27576637268066406, -0.6467848420143127, 0.3016647398471832, -0.10285788029432297, -0.4229104220867157, -0.20440226793289185, 0.5482215881347656, 0.3704008460044861, -0.107403963804245, 0.4516231119632721, 0.043202951550483704, 0.03156073018908501, -0.23567821085453033, 0.2782980799674988, 0.5309327244758606, -0.4751456677913666, 0.10661640763282776, 0.6838286519050598, 0.4440597593784332, -0.13896849751472473, 0.6513766050338745, 0.10539761930704117, -0.22987280786037445, 0.3868520259857178, 0.36941516399383545, 0.2391260415315628, -0.3047229051589966, 0.03401795029640198, 0.3081221878528595, 0.08009150624275208, 0.07036591321229935, 0.8076884746551514, -0.16171593964099884, -0.5637003183364868, -0.2908485233783722, -0.42031675577163696, -0.367233544588089, -0.03247758373618126, -0.6338716745376587, 0.44320520758628845, -0.3236696124076843, -0.16021692752838135, -0.2396603524684906, 0.14603276550769806, -0.5156516432762146, 0.2639361321926117, -0.5678305625915527, 1.1397490501403809, -0.42699119448661804, 0.9182696342468262, 0.7534229159355164, -0.3571317791938782, -0.7707324624061584, -0.16918663680553436, -0.31655725836753845, -0.5390843749046326, 0.20910510420799255, -0.15394669771194458, 0.3354473412036896, 0.35873305797576904, -0.49083903431892395, -0.4779808223247528, 1.1498675346374512, 0.5723032355308533, -0.7304584980010986, 0.0628444105386734, 0.5551943778991699, 0.44903483986854553, -0.5024979114532471, 0.14851409196853638, 0.7454842925071716, 0.343451589345932, 0.14564362168312073, -0.5026504993438721, 0.023826943710446358, 0.07810773700475693, -0.06364717334508896, 0.2201339304447174, -0.36308181285858154, 0.3415459990501404, -0.6415322422981262, 0.31828296184539795, -0.06868061423301697, 0.8326552510261536, 0.251241534948349, 0.23535694181919098, 0.4791978895664215, 0.4265604615211487, 0.7788183689117432, -0.14085640013217926, 0.8055633306503296, -0.4235398471355438, 0.15208473801612854, 1.1865650415420532, -0.37282314896583557, 0.9145979285240173, 0.5431748032569885, -0.28608763217926025, 0.24323663115501404, 0.7097367644309998, -0.047924209386110306, 0.504082202911377, 0.12320207059383392, -0.2893699109554291, -0.538534939289093, -0.09256599843502045, -0.5397529602050781, 0.041438452899456024, 0.5861873626708984, -0.4927213788032532, -0.10281284898519516, -0.4852505624294281, -0.12023269385099411, 0.3591112494468689, -0.40363866090774536, 1.2471634149551392, 0.07446303218603134, -0.5796205997467041, 0.40504512190818787, -0.10765516757965088, 0.4282955229282379, -0.5330625772476196, 0.0969453975558281, -0.3769049048423767, 0.08116189390420914, -0.5226065516471863, -0.894899845123291, 0.40199506282806396, 0.055727798491716385, -0.4502432346343994, 0.19391082227230072, 1.107971429824829, -0.6690128445625305, -0.4055846631526947, -0.05673857778310776, 0.8358286619186401, 0.15568675100803375, -0.17648449540138245, -0.6008089780807495, -0.40322014689445496, 0.25816377997398376, -0.12388857454061508, 0.36140549182891846, 0.30340325832366943, 0.3328680098056793, 0.5308743119239807, 0.5027891993522644, 0.1340646743774414, -0.13208161294460297, 0.017675790935754776, 0.7484048008918762, -0.4675852656364441, -0.377551406621933, -0.7004749774932861, 0.4176922142505646, -0.34857019782066345, -0.03317025303840637, 0.6568034291267395, 0.7529628276824951, 0.6359299421310425, -0.3068784773349762, 0.8457489609718323, -0.005501117091625929, 0.8412981033325195, -0.6640629172325134, 1.0822474956512451, -0.6611616015434265, 0.502007782459259, -0.21248720586299896, -1.1355985403060913, -0.1515125185251236, 0.21853694319725037, -0.32045042514801025, 0.27838245034217834, 0.5801194310188293, 1.1484403610229492, 0.28698235750198364, 0.06952265650033951, 0.2597399055957794, 0.23689424991607666, 0.14652109146118164, 0.5328685641288757, 0.5725370049476624, -0.08750738948583603, 0.8073497414588928, -0.04872016981244087, -0.10531280189752579, -0.15029406547546387, -0.8335305452346802, -1.1735389232635498, -0.5337992310523987, -0.2517089247703552, -0.3807985782623291, 0.3043232560157776, 0.914225161075592, 0.8122843503952026, -0.920856773853302, -0.23272104561328888, -0.43641823530197144, 0.30939483642578125, 0.021408287808299065, -0.22964178025722504, 0.5404181480407715, -0.54354327917099, -0.3656021058559418, 0.2881835103034973, 0.13251210749149323, -0.0678773745894432, -0.18466556072235107, 0.02693403884768486, 0.15665389597415924, 0.08813294768333435, 0.5576367378234863, -0.15315745770931244, -0.24339240789413452, 0.12623834609985352, 0.13493429124355316, 0.029300658032298088, 0.021228838711977005, 0.6799144744873047, -0.863464891910553, 0.20489822328090668, 0.5041344165802002, 0.78282630443573, 0.5786163806915283, 0.03287398815155029, 0.791251003742218, -0.9327011704444885, -0.35880765318870544, 0.2694462537765503, 0.09340787678956985, 0.36505892872810364, -0.9025652408599854, 0.4555707573890686, 0.29491958022117615, -0.5531030297279358, -0.5409156680107117, 0.25136494636535645, -0.8575115203857422, -0.2840132415294647, 1.1290390491485596, 0.23150770366191864, -0.11635233461856842, -0.2743821442127228, -0.2737857699394226, -0.0062288083136081696, -0.5943378806114197, 0.9332432746887207, 0.4516587257385254, -0.28159958124160767, -0.1512964516878128, -0.20962747931480408, 0.9069294333457947, 0.641973614692688, -1.2118711471557617, 0.14845585823059082, 0.5208297967910767, 0.6317298412322998, -0.42055803537368774, 0.4483741521835327, -0.22718629240989685, 0.23859207332134247, -0.34924477338790894, -0.17055949568748474, -0.24936598539352417, -0.20079191029071808, 0.17736542224884033, 0.4015830457210541, 0.4270516037940979, 0.3939673900604248 ]
http://arxiv.org/abs/2402.11512v3
http://arxiv.org/pdf/2402.11512v3
From Prejudice to Parity: A New Approach to Debiasing Large Language Model Word Embeddings
2024-02-18T08:53:41
2024-04-16T16:40:31
Aishik Rakshit, Smriti Singh, Shuvam Keshari, Arijit Ghosh Chowdhury, Vinija Jain, Aman Chadha
cs.CL
cs.CL, cs.CY
Embeddings play a pivotal role in the efficacy of Large Language Models. They are the bedrock on which these models grasp contextual relationships and foster a more nuanced understanding of language and consequently perform remarkably on a plethora of complex tasks that require a fundamental understanding of human language. Given that these embeddings themselves often reflect or exhibit bias, it stands to reason that these models may also inadvertently learn this bias. In this work, we build on the seminal previous work and propose DeepSoftDebias, an algorithm that uses a neural network to perform 'soft debiasing'. We exhaustively evaluate this algorithm across a variety of SOTA datasets, accuracy metrics, and challenging NLP tasks. We find that DeepSoftDebias outperforms the current state-of-the-art methods at reducing bias across gender, race, and religion.
[ -0.5263126492500305, -0.7815209031105042, 0.7568451166152954, 0.23170717060565948, -0.28451821208000183, -0.16786816716194153, -0.2708706855773926, -0.05955659970641136, 0.05434436723589897, 0.4496459662914276, -0.3392288386821747, -0.483129620552063, -1.0436798334121704, -0.1867317259311676, -0.26686039566993713, 0.8180519938468933, 0.25155869126319885, 0.37202656269073486, -0.04012470319867134, -0.2721806764602661, -0.3254307210445404, -0.4733877182006836, -0.17871412634849548, -0.43208158016204834, 0.25770506262779236, 0.2342565655708313, 1.186206340789795, 0.4403584897518158, 0.4564216434955597, 0.20970672369003296, -0.4039103090763092, -0.23645401000976562, -0.5026792287826538, 0.2351255565881729, -0.49732235074043274, -0.4023420512676239, 0.0014075515791773796, 0.209938183426857, 0.40588319301605225, 1.0927519798278809, -0.1626819670200348, 0.05641820654273033, 0.29643312096595764, 0.6876947283744812, -0.8422473073005676, 0.042076513171195984, -0.6914220452308655, 0.2232477068901062, -0.16361550986766815, 0.34712404012680054, -0.2946930229663849, -0.4484092593193054, 0.2448710799217224, -0.2818532884120941, 0.2542213201522827, -0.3743683397769928, 0.4664410352706909, 0.3201872408390045, -0.6258626580238342, -0.20412132143974304, -0.5768512487411499, 1.0338069200515747, -0.7782354950904846, 0.6777997612953186, 0.43837082386016846, -0.010301351547241211, -0.006796968635171652, -0.3679800033569336, -0.46319761872291565, -0.048135530203580856, 0.2226867824792862, -0.1558605283498764, 0.02279750071465969, -0.0180129986256361, 0.2594454288482666, 0.32905009388923645, -0.1319088190793991, 0.022452304139733315, -0.17731788754463196, 0.20650243759155273, 0.5013099312782288, -0.17416198551654816, 0.15647970139980316, -0.11339154094457626, -0.3816100060939789, -0.15454915165901184, -0.8258828520774841, -0.2361837923526764, 0.2345450520515442, 0.2986297011375427, -0.004720435943454504, 0.37722697854042053, -0.12044060230255127, 0.18871642649173737, 0.053039442747831345, 0.2729925215244293, 0.4115307033061981, 0.26816198229789734, -0.2955179810523987, 0.17105944454669952, 0.47186151146888733, 0.38033527135849, 0.36393749713897705, -0.022545378655195236, -0.17269594967365265, 0.25502344965934753, 0.1705365926027298, -0.6343428492546082, 0.05365683138370514, 0.06887415796518326, -0.5479856133460999, -0.3608640134334564, -0.17398111522197723, -0.8279681205749512, -1.1369401216506958, -0.3898608386516571, 0.2263285368680954, -0.44827407598495483, -0.38013118505477905, 0.2140854150056839, -0.20451363921165466, 0.27300333976745605, 0.19956167042255402, -0.677666962146759, 0.0964188501238823, 1.1310175657272339, 0.745623767375946, 0.2615033984184265, -0.3628595173358917, -0.38254088163375854, 0.17221304774284363, -0.5284405946731567, 0.4329853355884552, -0.9457446932792664, -0.13272833824157715, 0.13705040514469147, -0.3618415296077728, 0.3824326992034912, -0.4841763377189636, 0.6560013890266418, -0.4837328791618347, -0.18142937123775482, -0.6094616651535034, -0.5289681553840637, -0.312858909368515, 0.23078767955303192, -0.7115325331687927, 0.5098117589950562, -0.07321431487798691, -0.7041882872581482, 0.577442467212677, -0.13717854022979736, -0.3947012424468994, -0.18502061069011688, -0.251460999250412, -0.19478739798069, 0.8130687475204468, 0.357547402381897, 0.5342879295349121, -0.5635887980461121, 0.8074765801429749, -0.8110097050666809, -0.2602430284023285, 0.04570598900318146, -0.3953734040260315, 1.0277462005615234, 0.25236058235168457, -0.6805437207221985, -0.2793002128601074, -0.32729145884513855, -0.39452871680259705, 0.08881381899118423, 0.08214184641838074, -1.002442717552185, 0.25728610157966614, -0.22816145420074463, 0.26577118039131165, -0.16709600389003754, -0.5952814221382141, -0.06826405972242355, -0.7264894843101501, 0.6201103925704956, 0.9451999664306641, -0.3718327283859253, 0.7512991428375244, 0.1831824779510498, 0.2635936737060547, 0.03770697861909866, 0.2521854043006897, 0.22193121910095215, -0.37439772486686707, -0.6356627345085144, 0.008982492610812187, 0.4392155110836029, 0.22517149150371552, -0.5556381940841675, 0.601446270942688, -0.13769443333148956, -0.36512207984924316, -0.5909032225608826, 0.38661906123161316, 0.42077580094337463, 0.19364918768405914, 0.3694603145122528, -0.3860345780849457, -0.4037263095378876, -1.1132148504257202, -0.5809041261672974, 0.19123099744319916, 0.02723766677081585, 0.1478164792060852, 0.37028732895851135, -0.32968899607658386, 0.668951153755188, -0.4724956750869751, -0.5422572493553162, -0.17482870817184448, 0.09095851331949234, 0.3198613226413727, 0.5723268985748291, 0.6610254645347595, -0.6831802129745483, -0.2970377504825592, -0.4323441684246063, -0.6693805456161499, -0.04902951046824455, 0.12294791638851166, -0.14853109419345856, -0.09460961818695068, 0.6794998645782471, -0.48899051547050476, 0.34345918893814087, 0.6303979754447937, -0.7218319177627563, -0.018386708572506905, 0.18304915726184845, -0.32197871804237366, -0.920792818069458, -0.23416461050510406, 0.04587781801819801, -0.08825186640024185, -0.389082133769989, 0.36390039324760437, -0.14380982518196106, -0.04145997390151024, -0.4752548336982727, 0.28695112466812134, -0.4125068485736847, 0.20315031707286835, -0.05526581406593323, 0.044589851051568985, 0.26575279235839844, 0.16763220727443695, -0.0736638754606247, 0.39047184586524963, 0.4735143780708313, -0.28182682394981384, -0.051012132316827774, 0.47355905175209045, -0.581804096698761, 0.368817538022995, -0.6769213676452637, 0.30195626616477966, -0.5350683927536011, 0.19072020053863525, -0.9481664896011353, 0.23844170570373535, -0.10934225469827652, -0.19900788366794586, 0.1507384330034256, -0.38401851058006287, -0.013203310780227184, 0.004520087037235498, -0.4746045470237732, 0.6905590891838074, 0.555007815361023, -0.5288337469100952, 0.45736104249954224, 0.9339943528175354, -0.22312477231025696, -0.8110857605934143, -0.8815563917160034, 0.20120802521705627, -0.034600112587213516, -0.3119123876094818, 0.40426692366600037, 0.4101603329181671, -0.664636492729187, -0.1697121262550354, -0.011897077783942223, -0.06226639077067375, 0.3284617066383362, 0.15377995371818542, -0.18228456377983093, -0.03970086947083473, 0.17037568986415863, 0.20755091309547424, -0.20600149035453796, 0.2362036257982254, -0.32392627000808716, 0.8008922934532166, -0.07396950572729111, -0.33347105979919434, -0.09325417876243591, 0.5484552979469299, 0.43192368745803833, -0.18785133957862854, 0.6919712424278259, 0.46317845582962036, -0.381658136844635, -0.31698933243751526, -0.8046399354934692, -0.32079392671585083, -0.45300814509391785, 0.39269593358039856, -0.2450185865163803, -0.972865104675293, 0.2854284942150116, -0.011787356808781624, -0.03681303188204765, 0.35527196526527405, 0.6799680590629578, 0.11464366316795349, 1.3088124990463257, 0.5829736590385437, -0.2715437710285187, 0.3726421594619751, -0.24702835083007812, 0.5587056875228882, -0.5919535160064697, -0.0032467194832861423, -0.5496071577072144, -0.5108708143234253, -0.5760378241539001, -0.8260293006896973, 0.05084693431854248, 0.17178557813167572, -0.47213083505630493, -0.08006729185581207, -0.3473321497440338, 0.5680270791053772, 0.7315950989723206, 0.1708974987268448, -0.0809871256351471, -0.051990777254104614, -0.16848920285701752, -0.3351774513721466, -0.34994566440582275, -0.4913938641548157, 1.070091962814331, 0.6430730223655701, 0.7806386947631836, 0.08838152885437012, 0.763545572757721, 0.42271509766578674, 0.23774750530719757, -0.713178813457489, 0.29179647564888, -0.5786687731742859, -0.743235170841217, -0.2889178693294525, -0.2166271060705185, -0.678340494632721, 0.34909459948539734, -0.1067270040512085, -0.35071682929992676, 0.8409183621406555, 0.14055298268795013, -0.39247679710388184, 0.36329105496406555, -0.6142836809158325, 0.6970353126525879, 0.039837546646595, -0.5996206998825073, -0.4600977599620819, -0.44520917534828186, 0.46131831407546997, 0.17017270624637604, 0.4854069948196411, -0.5252524018287659, 0.030905921012163162, 0.8786427974700928, -0.1685481071472168, 1.0176454782485962, -0.5679571628570557, -0.38539937138557434, 0.23252390325069427, 0.540450394153595, 0.38756251335144043, 0.2699497640132904, -0.5213310718536377, 0.6078161001205444, -0.15389250218868256, -0.44943997263908386, -0.4574034512042999, 0.719698429107666, -0.6625751852989197, -0.7086755037307739, -0.3772314786911011, -0.2784438133239746, -0.35163265466690063, 0.08359557390213013, -0.12551939487457275, 0.2965056002140045, -0.400682270526886, 0.5454190969467163, 0.6530249118804932, -0.41382187604904175, 0.378793329000473, 0.0991801843047142, 0.010821382515132427, -0.535881757736206, 0.5330824255943298, 0.1617024838924408, -0.08639578521251678, 0.11720619350671768, 0.5955334305763245, -0.37062814831733704, -0.5675156116485596, -0.10274823755025864, -0.05127537250518799, -0.6888852715492249, -0.3019351661205292, -0.730975866317749, 0.18831247091293335, -0.8012838959693909, -0.22618304193019867, -0.5664337873458862, -0.40889883041381836, 0.0943128913640976, -0.26751741766929626, 0.07163212448358536, 0.7856200933456421, -0.14309629797935486, 0.3299322724342346, -0.7258122563362122, 0.3405671715736389, 0.5922867655754089, 0.37459370493888855, 0.007903753779828548, -0.5433191061019897, 0.0880403071641922, 0.17152361571788788, -0.16393058001995087, -0.9143849611282349, 0.44795316457748413, 0.27491337060928345, 0.3737685978412628, 0.7046249508857727, 0.23391953110694885, 0.3611533045768738, -0.6074422001838684, 0.6671565771102905, 0.24074482917785645, -1.4381955862045288, 0.43351125717163086, -0.1821874976158142, -0.15953248739242554, 0.9748424291610718, 0.42837756872177124, -0.5551486611366272, -0.17741964757442474, -0.6041855812072754, -0.9828652143478394, 0.446011483669281, -0.12071267515420914, 0.7105148434638977, -0.1478251963853836, 0.2514926493167877, 0.3231825828552246, 0.4673236310482025, -0.717474102973938, 0.11571566015481949, -0.29111310839653015, -0.28264233469963074, -0.4127110540866852, -0.8967375755310059, -0.1891648769378662, -0.41320452094078064, 0.47528156638145447, -0.2972528636455536, 0.036395251750946045, 0.25706207752227783, -0.5163271427154541, 0.2527974247932434, 0.33319494128227234, 0.15561339259147644, 0.6784759163856506, -0.17090848088264465, 0.5823599696159363, 0.1600232720375061, -0.48471906781196594, 0.18981213867664337, -0.04331332445144653, -0.38106444478034973, -0.05258016660809517, 0.33297163248062134, 0.6903305053710938, -0.00413265498355031, -0.46818679571151733, 0.9345858097076416, 0.11261805891990662, -0.1678784042596817, -0.12196947634220123, -0.24687761068344116, -0.055216193199157715, 0.36006683111190796, 0.02956775762140751, -0.14574404060840607, 0.4416680335998535, -0.6186349391937256, 0.21695028245449066, 0.5292643904685974, -0.8719561696052551, -0.2950943410396576, 0.4490537643432617, 0.4751935303211212, -0.10940227657556534, 0.5592013597488403, -0.08673404902219772, -0.8540416359901428, 0.4230737090110779, 0.40743643045425415, 1.2191075086593628, -0.3988151550292969, 0.2502855062484741, 0.03737805038690567, 0.421603798866272, -0.20679987967014313, 0.32362857460975647, 0.09478344768285751, -1.0711990594863892, -0.6031838655471802, -0.9036034941673279, -0.21492929756641388, 0.1460382342338562, -0.5631681084632874, 0.03568729758262634, -0.7390546798706055, -0.24120000004768372, -0.08830902725458145, -0.20805838704109192, -0.7177627086639404, 0.2671353816986084, 0.4886918365955353, 0.8744180798530579, -1.1969937086105347, 0.6805272698402405, 0.5804163813591003, -0.2517537772655487, -0.44825440645217896, 0.14811746776103973, -0.0674375519156456, -0.9442170262336731, 0.6399811506271362, 0.3467203676700592, 0.07256755977869034, -0.061635926365852356, -0.5192869901657104, -0.8378909826278687, 0.39472395181655884, 0.6763238310813904, -0.7380107641220093, 0.10511990636587143, 0.1818685233592987, 0.2573728561401367, -0.17210374772548676, 0.3401797413825989, 0.9696066975593567, 0.4807415306568146, -0.46537256240844727, -0.39922016859054565, 0.3874416649341583, -0.08126136660575867, 0.11816178262233734, 0.02234913595020771, -0.606881856918335, 1.0682958364486694, 0.07156254351139069, 0.2264551818370819, -0.674119770526886, 0.47907117009162903, -0.10859832912683487, 0.16071580350399017, 0.8562836647033691, 0.7497637867927551, 0.5736293792724609, -0.07638826221227646, 0.7878437042236328, -0.22733177244663239, 0.3588869869709015, 1.1717400550842285, -0.7206433415412903, 0.6816140413284302, 0.7124392986297607, -0.15599322319030762, 0.5017469525337219, 0.160897895693779, 0.10527785122394562, 0.7241339683532715, 0.2995186150074005, -0.03767585754394531, -0.4763840138912201, -0.4240760803222656, -0.37699878215789795, 0.7790964245796204, 0.3250148594379425, -0.5234739780426025, -0.37927812337875366, 0.08517103642225266, 0.077151358127594, 0.40434530377388, -0.16711504757404327, 0.8648932576179504, 0.3472967743873596, -0.5971974730491638, 0.5047636032104492, 0.05215122550725937, 0.7874112725257874, -0.2686791718006134, -0.015572672709822655, -0.33778873085975647, 0.5514709949493408, -0.007432944606989622, -0.6929499506950378, 0.4908784329891205, -0.17978528141975403, -0.09294010698795319, -0.48291683197021484, 0.8092069029808044, -0.2350398302078247, -0.5686352252960205, 0.7163273096084595, 0.7501679062843323, -0.3151925802230835, -0.5381265878677368, -0.7419703006744385, 0.1312500238418579, 0.12535299360752106, -0.43532639741897583, 0.24584999680519104, 0.3583301901817322, 0.0034962098579853773, 0.37254077196121216, 0.49034520983695984, 0.08884463459253311, -0.18705840408802032, 0.5078713297843933, 0.8185387849807739, -0.9199399948120117, -0.6143633723258972, -1.293169617652893, 0.13000434637069702, -0.2060939073562622, -0.36354419589042664, 0.651721715927124, 0.4384760856628418, 0.798480749130249, 0.100209541618824, 0.8541760444641113, 0.023268569260835648, 0.47992751002311707, -0.3616340458393097, 0.8592374324798584, -0.43704405426979065, 0.17489199340343475, -0.5964871644973755, -1.0185645818710327, -0.43559229373931885, 0.9863219857215881, -0.6028111577033997, -0.2420864850282669, 0.4530693590641022, 0.7276137471199036, -0.16928601264953613, 0.19765768945217133, 0.2809039056301117, 0.3646400272846222, 0.3319949805736542, 0.48380935192108154, 1.0860670804977417, -0.3657169044017792, 0.2006087303161621, -0.5979468822479248, -0.32616138458251953, -0.19683057069778442, -0.9999037981033325, -0.9600299000740051, -0.24837011098861694, -0.16292472183704376, -0.6054749488830566, 0.23202621936798096, 1.1815379858016968, 0.6528595685958862, -1.0812195539474487, -0.15305869281291962, -0.20355482399463654, 0.37197810411453247, -0.17227208614349365, -0.13514070212841034, 0.39311888813972473, -0.43421250581741333, -0.8049221634864807, 0.33453214168548584, 0.05969939008355141, -0.19470222294330597, -0.3844519555568695, 0.0643487274646759, -0.26970410346984863, 0.23453684151172638, 0.6918680667877197, -0.32497018575668335, -0.41554978489875793, -0.33557620644569397, -0.45460036396980286, -0.08970313519239426, -0.028434855863451958, 0.9876592755317688, -0.7679219841957092, 0.14365257322788239, 0.7231749296188354, 0.8353304862976074, 0.16931428015232086, -0.2060803323984146, 0.9149014353752136, -0.6220703125, 0.5409654974937439, 0.5555455684661865, 0.4051955044269562, 0.32221049070358276, -0.221376433968544, 0.6392545700073242, 0.2510179579257965, -0.1595323085784912, -1.12100088596344, 0.2848605513572693, -0.39673998951911926, -0.5896078944206238, 1.1048476696014404, -0.03219754621386528, -0.36808788776397705, -0.34071817994117737, -0.08367495983839035, 0.15286123752593994, -0.33042004704475403, 1.0748032331466675, 0.3968972861766815, 0.564965546131134, 0.20830923318862915, -0.2545440196990967, 0.6145577430725098, 0.8882601857185364, -0.20502795279026031, 0.48390987515449524, 0.4115350842475891, 0.2369440197944641, 0.14886610209941864, 0.2942321002483368, -0.0519581064581871, -0.042615242302417755, 0.010813949629664421, 0.22475968301296234, 0.12108027189970016, -0.20470792055130005, -0.7150061130523682, 0.3660828769207001, 0.1386345773935318, -0.0029644023161381483 ]
http://arxiv.org/abs/2402.11505v2
http://arxiv.org/pdf/2402.11505v2
Federated Fine-tuning of Large Language Models under Heterogeneous Tasks and Client Resources
2024-02-18T08:32:59
2024-05-30T15:46:10
Jiamu Bai, Daoyuan Chen, Bingchen Qian, Liuyi Yao, Yaliang Li
cs.CL
cs.CL, cs.AI
Federated Learning (FL) has recently been applied to the parameter-efficient fine-tuning of Large Language Models (LLMs). While promising, it raises significant challenges due to the heterogeneous resources and data distributions of clients. This study introduces FlexLoRA, a simple yet effective aggregation scheme for LLM fine-tuning, which mitigates the ``bucket effect'' in traditional FL that restricts the potential of clients with ample resources by tying them to the capabilities of the least-resourced participants. FlexLoRA allows for dynamic adjustment of local LoRA ranks, fostering the development of a global model imbued with broader, less task-specific knowledge. By synthesizing a full-size LoRA weight from individual client contributions and employing Singular Value Decomposition (SVD) for weight redistribution, FlexLoRA fully leverages heterogeneous client resources. Involving thousands of clients performing heterogeneous NLP tasks and client resources, our experiments validate the efficacy of FlexLoRA, with the federated global model achieving consistently better improvement over SOTA FL methods in downstream NLP task performance across various heterogeneous distributions. FlexLoRA's practicality is further underscored by our theoretical analysis and its seamless integration with existing LoRA-based FL methods, offering a path toward cross-device, privacy-preserving federated tuning for LLMs.
[ -0.5002314448356628, -0.9052504301071167, 0.24415543675422668, 0.37594419717788696, -0.12349768728017807, -0.09008067101240158, -0.5302567481994629, -0.56253582239151, 0.1217256635427475, 0.4666244387626648, -0.5390162467956543, -0.40672802925109863, -0.19819170236587524, -0.06394965946674347, -0.19525085389614105, 1.1390652656555176, 0.28635045886039734, -0.1938154101371765, 0.13789664208889008, -0.620917797088623, -0.5534560680389404, -0.0015133654233068228, -0.4878987669944763, -0.5084108710289001, 0.9398984909057617, 0.6256598830223083, 0.9880126118659973, 0.6212990880012512, 0.3652232885360718, 0.3462878465652466, -0.17905566096305847, 0.27403372526168823, -0.8669902682304382, -0.017442995682358742, -0.5657268762588501, -0.5695362687110901, -0.5834828615188599, 0.030183428898453712, 0.7633528113365173, 0.8116989731788635, -0.3768763244152069, 0.43955492973327637, -0.0099041648209095, 0.6769588589668274, -0.8690000176429749, 0.2265012413263321, -0.8165888786315918, 0.10936272889375687, -0.3593420684337616, -0.3105100393295288, -0.304973840713501, -0.1662428230047226, 0.15287570655345917, -0.3783021867275238, 0.23745715618133545, 0.001220535603351891, 0.7960380911827087, 0.3120124340057373, -0.055817700922489166, 0.047538500279188156, -0.8498633503913879, 0.6843717098236084, -0.5107666850090027, 0.1362382173538208, 0.08174734562635422, 0.46455118060112, 0.030147986486554146, -0.6064868569374084, -0.5149183869361877, 0.3953920900821686, 0.05804068595170975, -0.3129827380180359, -0.11263890564441681, -0.09105251729488373, -0.05919583514332771, 0.5159887671470642, -0.2550339102745056, 0.7116926312446594, -0.16255292296409607, 0.15117719769477844, 0.6113420128822327, 0.04588869586586952, 0.22146031260490417, 0.4428222179412842, -0.3839082419872284, -0.016951726749539375, -0.8756622076034546, -0.0567130371928215, 0.18350492417812347, 1.030502200126648, -0.20886805653572083, 0.5259725451469421, -0.25257474184036255, 0.5567586421966553, 0.13515591621398926, -0.2140301614999771, 0.3291260004043579, -0.15635092556476593, -0.5453914999961853, 0.011678230948746204, 0.4619442820549011, -0.03143574297428131, 0.013827194459736347, -0.43842899799346924, -0.4583566188812256, -0.05572633445262909, -0.05487822741270065, -0.6889083981513977, 0.1417505145072937, 0.24086500704288483, -0.3437705338001251, -0.17900671064853668, -0.14365258812904358, -0.6822077035903931, -0.4301013946533203, -0.4590364992618561, 0.3728078305721283, -0.09259331226348877, -0.2694847285747528, 0.12696750462055206, 0.22132165729999542, 0.10180839896202087, 0.36251065135002136, -1.1692399978637695, 0.4002346694469452, 1.1098166704177856, 0.7940651774406433, -0.0435217060148716, -0.597148597240448, -1.0429631471633911, 0.08478625863790512, 0.17909039556980133, 0.8358318209648132, -0.3682062029838562, 0.01823830045759678, 0.3737134635448456, -0.031888943165540695, -0.20300757884979248, -0.5227915048599243, 0.1509736329317093, -0.6377978920936584, 0.22367416322231293, -0.2007838785648346, -0.5797615647315979, 0.054904770106077194, 0.05387298762798309, -0.6344871520996094, 0.3545604348182678, 0.30594101548194885, -0.7368519902229309, 0.26273149251937866, -0.616093635559082, -0.28551119565963745, 0.2567160129547119, -0.14694684743881226, -0.4386066794395447, 0.13520440459251404, 0.08775981515645981, 0.5617318153381348, -0.4786219894886017, 0.235842764377594, -0.42444372177124023, -0.5056344270706177, 0.041537776589393616, -0.276201456785202, 0.8422738313674927, 0.3357792794704437, -0.34113770723342896, 0.2122831493616104, -0.48571038246154785, 0.11766918748617172, 0.029575029388070107, -0.557507336139679, -0.31479504704475403, -0.1728503257036209, 0.31182971596717834, -0.03816193714737892, 0.16576708853244781, -0.34399935603141785, 0.25717979669570923, -0.6111401915550232, 0.10473127663135529, 0.8011496663093567, -0.2631101906299591, 0.5269649028778076, -0.3530625104904175, 0.34145402908325195, -0.37856578826904297, 0.25364285707473755, 0.29255685210227966, -0.24515065550804138, -0.5454505085945129, -0.4567420780658722, 0.2531490921974182, 0.18016572296619415, -0.6603055596351624, 0.40969645977020264, -0.44831761717796326, -0.5211848616600037, -0.31718719005584717, 0.44041937589645386, 0.41241466999053955, 0.3504469096660614, 0.34400251507759094, -0.09488232433795929, -0.04685502126812935, -0.6624141931533813, -0.3194032907485962, 0.20255540311336517, -0.08681096136569977, 0.30828624963760376, 0.13597844541072845, -0.4746008813381195, 0.9894015192985535, -0.4405929744243622, -0.8094124794006348, -0.2995986044406891, 0.1913042813539505, 0.2906036972999573, 0.4143655300140381, 0.8039310574531555, -0.8272411823272705, -0.6328663229942322, 0.3067934215068817, -0.12100367248058319, -0.3760030269622803, 0.08266151696443558, 0.05693488195538521, 0.5406953692436218, 0.08762548118829727, -0.4025983214378357, -0.027896665036678314, 0.88214111328125, -0.7514736652374268, 0.4805477559566498, -0.4110676050186157, -0.3556448221206665, -0.739026665687561, 0.20268869400024414, -0.08073730766773224, -0.3268257975578308, -0.5534684062004089, 0.3489198386669159, -0.06321386992931366, 0.014709056355059147, -0.49512478709220886, 0.479233980178833, -0.3274185061454773, -0.3399285078048706, -0.42127734422683716, 0.3126697838306427, -0.272167444229126, 0.5265953540802002, -0.30544859170913696, 0.633089542388916, 0.4170272946357727, -0.5665987133979797, 0.1407223790884018, 0.058451760560274124, -0.23924078047275543, 0.6178607940673828, -0.4525527060031891, -0.11903492361307144, -0.03413097932934761, 0.13188104331493378, -0.6664184331893921, -0.0857447162270546, -0.056362688541412354, 0.23393183946609497, 0.19003602862358093, 0.1202148050069809, -0.6077895164489746, 0.06189919263124466, -0.19063180685043335, 0.3930884897708893, 0.2881626784801483, -0.8658545613288879, 0.7218563556671143, 0.5314823985099792, -0.07001720368862152, -0.6602781414985657, -0.6452926397323608, -0.19550268352031708, -0.2453896403312683, -0.5108110308647156, 0.39321160316467285, -0.046417634934186935, -0.30235952138900757, -0.17657463252544403, -0.027352143079042435, -0.13396626710891724, 0.36570772528648376, 0.1107027679681778, -0.043780338019132614, -0.3016361594200134, 0.24482819437980652, 0.08006171882152557, 0.0024035172536969185, -0.2818162143230438, -0.056208714842796326, 0.6988106369972229, -0.5791717171669006, -0.4083513021469116, -0.2830337882041931, 0.023345230147242546, 0.6028739213943481, -0.30306515097618103, 1.0682499408721924, 0.9154751300811768, -0.0027106250636279583, -0.7022494673728943, -0.6673903465270996, -0.1380794197320938, -0.5258570313453674, 0.06155984103679657, -0.12507492303848267, -1.1842905282974243, 0.8344175219535828, -0.18219466507434845, 0.4118139147758484, 0.2243911772966385, 0.6737889647483826, 0.1883474439382553, 0.6928616166114807, 0.9349788427352905, -0.4050862193107605, 0.7726297974586487, -0.31536969542503357, 0.09892168641090393, -0.42650195956230164, 0.06614698469638824, -0.6658899784088135, -0.4834336042404175, -0.6889417171478271, -0.5600311756134033, 0.23068252205848694, -0.1801140308380127, -0.3094783425331116, 0.02845362015068531, -0.1417943686246872, 0.7087163925170898, 0.29051706194877625, 0.02168627828359604, 0.5439625978469849, 0.13322632014751434, 0.11163278669118881, 0.4341045022010803, -0.9051467776298523, -0.07357150316238403, 0.6738179922103882, 0.48769211769104004, 0.514260470867157, 0.4667135179042816, 0.6146988868713379, 0.3014116585254669, 0.5665693283081055, -0.4551660716533661, 0.48520568013191223, -0.35891643166542053, -0.4015950858592987, -0.6632808446884155, -0.5508884787559509, -0.9914838671684265, 0.659483790397644, -0.35979893803596497, -0.9444912075996399, 0.32749345898628235, 0.1801573634147644, -0.31516915559768677, 0.34673288464546204, -0.6920315027236938, 0.6965157389640808, 0.0732695609331131, -0.6060590147972107, -0.5178436040878296, -0.502238392829895, 0.4062129855155945, -0.16136014461517334, 0.2093917280435562, -0.3533358871936798, 0.04930038005113602, 0.2675531506538391, -0.6521674394607544, 0.9649752974510193, -0.35109055042266846, -0.5110472440719604, 0.00043405586620792747, -0.08593104779720306, 0.6063238978385925, 0.20524710416793823, -0.1651442050933838, 0.07412460446357727, -0.0860678032040596, -0.5569839477539062, -0.5679689645767212, 0.9704732894897461, -0.8006060123443604, -0.47475865483283997, 0.008253500796854496, -0.8443188071250916, -0.3264140486717224, 0.30203256011009216, -0.20255634188652039, 0.3207634687423706, -0.19913749396800995, 0.40310969948768616, 0.560232937335968, -0.1980411857366562, 0.42741158604621887, 0.9532012343406677, -0.3126847445964813, -0.11235527694225311, 0.8257885575294495, 0.021664144471287727, 0.36212289333343506, 0.35770702362060547, 0.44807034730911255, -0.11861109733581543, -0.49929550290107727, -0.05696574226021767, 0.5449691414833069, -0.6100746989250183, -0.3361961841583252, -0.2955012619495392, 0.14358927309513092, -0.2882119417190552, -0.3402039408683777, -0.7153568267822266, -0.19331976771354675, -0.4043140113353729, 0.13517630100250244, 0.26125529408454895, 0.18710409104824066, 0.04385855793952942, 0.4206845760345459, -0.6769090890884399, 0.19051478803157806, 0.2921232283115387, 0.8167043924331665, 0.028294600546360016, -0.2291138768196106, -0.4204137623310089, 0.06421608477830887, 0.16191357374191284, -0.21660937368869781, 0.3623424768447876, 0.48714014887809753, 0.37803781032562256, 0.6311458945274353, 0.18172281980514526, 0.8022866249084473, -0.34058326482772827, 0.42468956112861633, 0.07418972998857498, -0.9477820992469788, 0.09050020575523376, -0.5235524773597717, 0.5131385922431946, 0.6680333018302917, -0.13908401131629944, -0.3421895205974579, -0.539334774017334, -0.42331522703170776, -0.7596732378005981, 0.8469604253768921, 0.07366008311510086, 0.24530147016048431, 0.38620349764823914, 0.16647100448608398, 0.2697834372520447, 0.13008564710617065, -0.7234399318695068, -0.28989177942276, 0.08521381765604019, -0.012020023539662361, -0.2428625077009201, -0.10148913413286209, -0.3570697605609894, -0.1702791005373001, 0.645622193813324, -0.5367828607559204, -0.16857895255088806, -0.1695169061422348, 0.08398526161909103, -0.3040350675582886, 0.2704657316207886, 0.4793556034564972, 0.7635255455970764, -0.2497551292181015, 0.07831352204084396, 0.11139941960573196, -0.1635543406009674, -0.16288645565509796, 0.3339919149875641, -0.23926611244678497, -0.2434045970439911, 0.24720939993858337, 0.8192787170410156, 0.40493229031562805, -0.8835948705673218, 0.35776302218437195, -0.21716979146003723, -0.13338032364845276, 0.12773345410823822, 0.35260719060897827, 0.13339288532733917, 0.5724669098854065, 0.20339195430278778, -0.09100168198347092, -0.29551807045936584, -0.5831509828567505, 0.01897278055548668, 0.5265322923660278, -0.0509369783103466, -0.2924312353134155, 0.26683729887008667, 0.2902243137359619, -0.2640818655490875, 0.29706496000289917, 0.10623329132795334, -0.10652462393045425, 0.33693552017211914, 0.6396713256835938, 0.7219573259353638, -0.21802818775177002, 0.3771125078201294, -0.18671193718910217, -0.017908010631799698, -0.2448662668466568, 0.24191103875637054, -0.23365776240825653, -0.8430249691009521, -0.24705395102500916, -0.6629381775856018, -0.3189045488834381, 0.04994047060608864, -0.46326810121536255, 0.05248540639877319, -0.5251435041427612, 0.024023087695240974, -0.015560419298708439, 0.2751619815826416, -0.7452998757362366, -0.18279366195201874, 0.1812746822834015, 0.9021827578544617, -0.9660388231277466, 0.9420067667961121, 0.4309568703174591, -0.27095627784729004, -1.026705265045166, 0.01952456124126911, -0.18724055588245392, -0.5480424165725708, 0.4081389605998993, 0.000433937442721799, -0.17463399469852448, -0.02209731936454773, -0.36291128396987915, -0.8631540536880493, 1.2834606170654297, 0.6251198649406433, -0.42527541518211365, 0.15490704774856567, 0.41035765409469604, 0.9012160301208496, -0.4308268427848816, -0.17104452848434448, 0.5879741311073303, 0.44486114382743835, -0.0031320617999881506, -1.2027965784072876, 0.05824767053127289, 0.07163386791944504, 0.08136896789073944, -0.08889181911945343, -0.8666961193084717, 1.0308539867401123, -0.06637810915708542, -0.4104727506637573, -0.1812291443347931, 0.7074134945869446, 0.20469777286052704, 0.3452453017234802, 0.7943074703216553, 0.2593616247177124, 1.0296324491500854, 0.24402585625648499, 0.9432754516601562, -0.15374237298965454, 0.5953333973884583, 1.2988535165786743, -0.5999144911766052, 0.6547262072563171, 0.6246227622032166, 0.01214417815208435, 0.3083854913711548, 0.07594742625951767, 0.10151315480470657, 0.5098812580108643, 0.126066192984581, -0.28440505266189575, 0.038218721747398376, -0.3433939218521118, -0.24646416306495667, 0.7049707770347595, 0.25818318128585815, -0.27100634574890137, -0.5135790705680847, 0.1761794239282608, 0.0135403573513031, 0.3111487627029419, -0.5187568664550781, 0.6426835060119629, -0.05758650228381157, -0.66604083776474, 0.9118630290031433, 0.17611059546470642, 0.744126558303833, -0.46797725558280945, 0.3526204526424408, -0.38510841131210327, 0.5945872068405151, -0.2536444365978241, -0.2711043655872345, 0.26645612716674805, 0.07908447086811066, -0.026224058121442795, -0.3763839900493622, 0.5790572762489319, -0.5774014592170715, -0.2710495889186859, 0.35974404215812683, 0.5954962968826294, -0.2542709708213806, -0.0133394505828619, -0.5211682319641113, 0.11687467247247696, -0.16976752877235413, -0.3763488531112671, 0.7099753618240356, 0.5148025751113892, 0.10681600123643875, 0.9103671908378601, 0.47272157669067383, 0.1650945246219635, -0.17435026168823242, 0.39076006412506104, 1.0565067529678345, -0.11771765351295471, -0.7416970133781433, -0.618207573890686, 0.05316729471087456, 0.10973091423511505, -0.11381062865257263, 0.7969925403594971, 0.28044936060905457, 0.7753165364265442, -0.08486831188201904, 0.2793666124343872, -0.053077735006809235, 0.34791603684425354, -0.4562646150588989, 0.8922262191772461, -0.6682537794113159, 0.5720985531806946, -0.27651262283325195, -0.8949505090713501, -0.45336759090423584, 0.2585095465183258, -0.15034379065036774, -0.3926348388195038, 0.37480464577674866, 0.7845936417579651, -0.3370329737663269, 0.1647656112909317, 0.19513548910617828, 0.13286353647708893, 0.5170481204986572, 0.3197876513004303, 0.17205454409122467, -0.0700952410697937, 0.255540668964386, -0.26446136832237244, -0.10107294470071793, -0.5786629915237427, -0.8346547484397888, -0.7912933826446533, -0.35440948605537415, -0.313285768032074, 0.055791761726140976, 0.08478004485368729, 1.048736572265625, 0.60622239112854, -0.7313733100891113, -0.2340773493051529, -0.13183286786079407, 0.47614094614982605, -0.5637093782424927, -0.25118640065193176, 0.33111897110939026, -0.5467708110809326, -0.7644884586334229, 0.3321436047554016, 0.03974801301956177, -0.1861085295677185, -0.5824155807495117, -0.14840278029441833, -0.2882828712463379, -0.06966373324394226, 0.5248988270759583, 0.43845415115356445, -0.5784270763397217, -0.3152967691421509, -0.5193911194801331, -0.20179925858974457, -0.1297626495361328, 0.7306443452835083, -0.7822639346122742, 0.15635596215724945, 0.5753116011619568, 0.721174418926239, 0.1754026561975479, 0.18025951087474823, 0.5950034856796265, -0.9875372052192688, 0.4094698429107666, 0.17333996295928955, 0.25373584032058716, 0.06331770867109299, -0.3804945945739746, 0.4816684424877167, -0.011411038227379322, -0.604434072971344, -1.0271940231323242, -0.010792919434607029, -0.9168232083320618, -0.5131781697273254, 1.0692719221115112, -0.26384681463241577, -0.2809014618396759, -0.006262011826038361, 0.034865036606788635, 0.20975390076637268, -0.2900499403476715, 1.1095141172409058, 0.10457447171211243, 0.061809808015823364, 0.08431322872638702, -0.10329050570726395, 0.507794976234436, 0.5431278944015503, -0.8300813436508179, 0.5117022395133972, 0.6465360522270203, 0.15994204580783844, 0.13948363065719604, 0.7105048298835754, 0.29309993982315063, 0.1346869021654129, -0.42825251817703247, -0.22446872293949127, -0.2594180703163147, -0.3751622140407562, -0.42930883169174194, 0.629572868347168, 0.04778788238763809, 0.16581997275352478 ]
http://arxiv.org/abs/2402.11493v2
http://arxiv.org/pdf/2402.11493v2
Benchmarking Knowledge Boundary for Large Language Models: A Different Perspective on Model Evaluation
2024-02-18T07:48:15
2024-05-29T17:39:47
Xunjian Yin, Xu Zhang, Jie Ruan, Xiaojun Wan
cs.CL
cs.CL
In recent years, substantial advancements have been made in the development of large language models, achieving remarkable performance across diverse tasks. To evaluate the knowledge ability of language models, previous studies have proposed lots of benchmarks based on question-answering pairs. We argue that it is not reliable and comprehensive to evaluate language models with a fixed question or limited paraphrases as the query, since language models are sensitive to prompt. Therefore, we introduce a novel concept named knowledge boundary to encompass both prompt-agnostic and prompt-sensitive knowledge within language models. Knowledge boundary avoids prompt sensitivity in language model evaluations, rendering them more dependable and robust. To explore the knowledge boundary for a given model, we propose projected gradient descent method with semantic constraints, a new algorithm designed to identify the optimal prompt for each piece of knowledge. Experiments demonstrate a superior performance of our algorithm in computing the knowledge boundary compared to existing methods. Furthermore, we evaluate the ability of multiple language models in several domains with knowledge boundary.
[ -0.4752253293991089, -0.7447036504745483, 0.6969608664512634, 0.3082154393196106, 0.0917963758111, -0.008584165014326572, -0.31346237659454346, -0.29482582211494446, -0.2897639572620392, 0.5263659358024597, -0.7184720635414124, -0.5201025009155273, -0.5887909531593323, -0.028856122866272926, -0.13009008765220642, 0.7443748712539673, 0.0065827094949781895, 0.11420981585979462, -0.8663976192474365, -0.3511645495891571, -0.708114504814148, -0.39414745569229126, -0.4840804934501648, -0.38385656476020813, 0.3496670722961426, -0.09397044777870178, 0.39604443311691284, 0.8012245297431946, 0.36627456545829773, 0.23421046137809753, -0.24430431425571442, 0.0035554207861423492, -0.21017345786094666, 0.257813036441803, -0.30488601326942444, -0.28954553604125977, -0.025978172197937965, -0.06123797222971916, 0.8311952948570251, 1.081197738647461, 0.026966964825987816, 0.1306566745042801, 0.08537983149290085, 0.5835224390029907, -0.7401551604270935, 0.16516916453838348, -0.6431198716163635, -0.12507928907871246, -0.008735593408346176, 0.13036373257637024, -0.385835200548172, -0.5168359279632568, 0.46420931816101074, -0.4652516841888428, 0.07951850444078445, -0.029586374759674072, 0.7172709703445435, 0.29331129789352417, -0.330574095249176, -0.022458504885435104, -0.3924170732498169, 0.8869239687919617, -0.4907318353652954, 0.7570197582244873, 0.12273303419351578, 0.5350732207298279, 0.11860205233097076, -0.6812251210212708, -0.4099685549736023, -0.43668901920318604, 0.2380652278661728, -0.1050761416554451, -0.23398201167583466, -0.05179625377058983, 0.45821353793144226, 0.00655462546274066, -0.47974836826324463, 0.0793410986661911, -0.0012603505747392774, -0.4480709135532379, 0.2713053822517395, 0.2503775954246521, 0.2985212206840515, -0.14216241240501404, -0.6772938966751099, -0.0908343717455864, -0.570106029510498, 0.23808005452156067, 0.3051041066646576, 0.3824259340763092, 0.08475862443447113, 0.23921319842338562, -0.6213675141334534, 1.027669906616211, -0.25957921147346497, -0.10523220151662827, 0.2168676257133484, -0.02997613325715065, 0.22707004845142365, -0.5403081774711609, 0.6374571323394775, 0.7750130891799927, 0.19629521667957306, -0.43583863973617554, -0.1956043839454651, 0.21999375522136688, -0.01774519681930542, -0.6999568343162537, -0.024073386564850807, -0.18672622740268707, -0.21241773664951324, 0.3009631633758545, -0.21485789120197296, -0.9478634595870972, -0.5518836379051208, -0.17243562638759613, 0.27883267402648926, -0.3365994989871979, -0.22118359804153442, 0.09738390892744064, -0.20540349185466766, 0.1494181901216507, 0.33435818552970886, -0.5737754702568054, 0.4845614433288574, 0.7840631008148193, 0.7493093609809875, -0.26805058121681213, -0.48342254757881165, -0.5921481251716614, -0.08315201103687286, -0.10998676717281342, 0.7744492292404175, -0.7964791655540466, -0.3350975215435028, 0.07708824425935745, -0.28101053833961487, -0.30531612038612366, -0.7003434896469116, 0.6510371565818787, -0.6305596828460693, 0.13527216017246246, -0.6796426177024841, -0.7660684585571289, -0.16550272703170776, 0.3402363955974579, -0.5044705867767334, 0.9027019739151001, 0.1285262256860733, -0.7785589694976807, 0.2563638687133789, -0.3697893023490906, -0.348080039024353, 0.14522193372249603, -0.19412747025489807, 0.190972238779068, -0.20118536055088043, 0.17765696346759796, 0.24546480178833008, -0.785686194896698, 0.4813946485519409, -0.2519930899143219, 0.0928458645939827, 0.1715017557144165, -0.15057314932346344, 0.7358860373497009, 0.19100965559482574, -0.18519534170627594, -0.020029596984386444, -0.6740396618843079, 0.2470283806324005, -0.05604197084903717, -0.10944684594869614, -0.5654872059822083, -0.07272191345691681, -0.31648340821266174, 0.27068403363227844, 0.44874897599220276, -0.5062565803527832, -0.01910543255507946, -0.2342774122953415, 0.21183401346206665, 0.6586306691169739, 0.23446869850158691, 0.44254621863365173, -0.429841011762619, 0.6594120264053345, -0.31498783826828003, 0.17743003368377686, 0.05404727905988693, -0.5627745389938354, -0.545728862285614, 0.06837278604507446, 0.3964877724647522, 0.44025617837905884, -0.8008999824523926, 0.379254549741745, -0.10226888954639435, -0.6254531145095825, -0.4142597019672394, 0.02149982377886772, 0.7036424279212952, 0.9974473118782043, 0.3641361594200134, -0.3703407645225525, -0.28812021017074585, -1.081608772277832, -0.7341985702514648, -0.3361852765083313, 0.018895072862505913, 0.5239748358726501, 0.29793399572372437, 0.09085184335708618, 0.9864739775657654, -0.6814740896224976, 0.11653909087181091, -0.08713109791278839, -0.020835818722844124, 0.09823203086853027, 0.5296416878700256, 0.5675061941146851, -0.7923049926757812, -0.355796217918396, -0.13798198103904724, -0.6222585439682007, -0.45847246050834656, 0.2932460904121399, -0.3584267795085907, -0.17875301837921143, 0.43040651082992554, -0.65693199634552, -0.13110224902629852, 0.3106718063354492, -0.27731218934059143, 0.6616042852401733, 0.13135235011577606, 0.017809700220823288, -0.6848186254501343, 0.28184381127357483, 0.3451348543167114, 0.02188096195459366, -0.7717031836509705, 0.1777561753988266, 0.2289515882730484, 0.04761291667819023, -0.3044951856136322, 1.0523350238800049, -0.28071317076683044, 0.14657062292099, -0.1334685981273651, 0.14693082869052887, 0.15856017172336578, 0.4572126865386963, 0.3555116355419159, 0.3385588228702545, 0.6991706490516663, -0.7152612209320068, 0.37044015526771545, 0.3112761080265045, -0.6596670150756836, 0.5801908373832703, -0.6383190751075745, 0.16988253593444824, -0.007594795897603035, 0.0080553675070405, -0.7986864447593689, 0.1078578382730484, 0.12530650198459625, -0.3901987671852112, 0.03232609108090401, -0.196991965174675, -0.24094390869140625, -0.5059269666671753, -0.18485189974308014, 0.4119182527065277, 0.615278959274292, -0.32239463925361633, 0.31974825263023376, 0.3772721588611603, -0.21713770925998688, -0.6986455917358398, -0.2145041674375534, -0.2375601977109909, -0.28118187189102173, -0.5614247918128967, 0.15923157334327698, -0.25085532665252686, -0.47078123688697815, 0.02991517446935177, -0.2141747921705246, -0.1791813224554062, 0.29292747378349304, 0.01601800136268139, 0.07737712562084198, -0.049375928938388824, 0.245330810546875, 0.00015787793381605297, -0.006919493433088064, 0.40008726716041565, -0.4094361364841461, 0.6134923696517944, 0.0016144938999786973, -0.3227027654647827, 0.0526990182697773, 0.2913663387298584, 0.336052805185318, -0.6029255986213684, 0.6955175399780273, 0.18542180955410004, -0.6093090772628784, -0.41780972480773926, -0.8588908910751343, -0.1624678671360016, -0.40372949838638306, 0.39861294627189636, -0.6642310619354248, -0.8082682490348816, 0.8167716860771179, -0.24865026772022247, -0.20573313534259796, 0.7289511561393738, 0.4680195152759552, 0.5055335760116577, 0.8492651581764221, 0.8133171796798706, -0.0543496273458004, 0.24607671797275543, 0.021469302475452423, -0.10500653833150864, -0.8679179549217224, -0.46863850951194763, -0.9142345190048218, 0.14560548961162567, -0.20853875577449799, -0.2964158058166504, 0.29885438084602356, 0.21080496907234192, -0.21171537041664124, 0.26238054037094116, -0.2506673038005829, 0.4360097050666809, 0.6732567548751831, 0.09006847441196442, 0.28793108463287354, -0.3033369183540344, -0.53377366065979, -0.059002045542001724, -0.7995713949203491, -0.449211448431015, 0.8379244804382324, 0.2498156726360321, 0.4735032916069031, -0.20342597365379333, 0.2824963331222534, 0.13555391132831573, 0.09518177062273026, -0.49150383472442627, 0.6279780268669128, 0.2509846091270447, -0.7070488333702087, -0.3503910005092621, -0.7351272106170654, -0.48690029978752136, 0.2823122441768646, 0.06283143162727356, -1.0037076473236084, 0.18650925159454346, -0.26370906829833984, -0.3799141049385071, 0.2577345371246338, -0.7598191499710083, 1.101181149482727, -0.027949687093496323, -0.49816086888313293, 0.21427233517169952, -0.7439394593238831, 0.12735962867736816, -0.09276202321052551, 0.1787426620721817, -0.37276697158813477, -0.061714623123407364, 1.1084480285644531, -0.41337406635284424, 0.686769425868988, -0.6156824827194214, -0.17481344938278198, 0.4182984232902527, 0.07712412625551224, 0.3371266722679138, -0.1038542091846466, -0.32710564136505127, -0.05932493507862091, 0.010549819096922874, -0.3718867897987366, -0.7486345767974854, 0.7246764898300171, -0.6528127789497375, -0.850462019443512, -0.0669085681438446, -0.6132233142852783, -0.8162989616394043, 0.37904679775238037, 0.20796334743499756, 0.4943648874759674, -0.24934449791908264, -0.25272059440612793, 0.5161909461021423, -0.23868738114833832, 0.2813189923763275, 0.6829681396484375, -0.16709661483764648, -0.19699214398860931, 0.8115676045417786, 0.17749808728694916, 0.28568586707115173, 0.5166919827461243, 0.16546419262886047, -0.6226281523704529, -0.6674060821533203, -0.4490075707435608, 0.23711389303207397, -0.8784846067428589, -0.13593661785125732, -0.8223682641983032, -0.06847842782735825, -0.43265968561172485, 0.14165130257606506, -0.3257584869861603, -0.1720869243144989, 0.1644231230020523, 0.13656222820281982, 0.20946693420410156, 0.6854630708694458, 0.10556390136480331, -0.055437471717596054, -0.7356808185577393, 0.01368186715990305, 0.4788985550403595, 0.5698209404945374, 0.31251049041748047, -0.49402034282684326, -0.23436567187309265, -0.05141553655266762, -0.14415724575519562, -0.7680258750915527, 0.15116454660892487, 0.008618049323558807, 1.0243589878082275, 0.28613072633743286, 0.4098982512950897, 0.2777077257633209, -0.64080810546875, 0.6313954591751099, 0.13694904744625092, -1.1293662786483765, 0.45285362005233765, -0.29418566823005676, 0.49417510628700256, 0.6138879656791687, 0.5994365811347961, -0.7360348701477051, -0.3877238631248474, -0.46419432759284973, -0.6629218459129333, 0.3635749816894531, -0.14180517196655273, 0.15426142513751984, -0.1144026592373848, 0.28838250041007996, 0.5302098393440247, 0.39239418506622314, -0.48694515228271484, -0.23081396520137787, 0.235609769821167, 0.04785663262009621, -0.10800793766975403, -0.2125379741191864, -0.13418033719062805, -0.18038317561149597, 0.5286890864372253, -0.18379144370555878, 0.08791859447956085, 0.047295235097408295, -0.27700743079185486, -0.09884322434663773, 0.17379717528820038, 0.25323057174682617, 1.0448310375213623, 0.04060261696577072, 0.10221756994724274, 0.29854536056518555, -0.18337690830230713, 0.10339948534965515, 0.4124739170074463, -0.39423930644989014, -0.13521012663841248, 0.44501620531082153, 0.9035122394561768, -0.1428932100534439, -0.7133868336677551, 0.5256199836730957, 0.05688035115599632, -0.19850432872772217, 0.3288014233112335, -0.13305972516536713, 0.0471031554043293, 0.43884819746017456, 0.45530566573143005, 0.06854042410850525, 0.23778311908245087, -0.23104076087474823, 0.31402111053466797, 0.47405311465263367, -0.4566076695919037, -0.3259623050689697, 0.7949540615081787, 0.22087357938289642, -0.09806326031684875, 0.3100043535232544, -0.06985106319189072, -0.851334273815155, 0.646744430065155, 0.3956683576107025, 0.7271628379821777, -0.3241753578186035, 0.23998236656188965, 0.22158604860305786, 0.19075818359851837, -0.06998763233423233, 0.22200195491313934, -0.2075314074754715, -0.9130766987800598, -0.4581635892391205, -0.6378602981567383, -0.6126509308815002, 0.0816946029663086, -0.7684236168861389, 0.07730495929718018, -0.40480780601501465, -0.16311447322368622, 0.11467991769313812, 0.1445295810699463, -0.7132428884506226, 0.30735358595848083, 0.07059337198734283, 1.1236492395401, -0.9131476283073425, 0.5933576226234436, 0.902306318283081, -0.008887010626494884, -0.557026743888855, 0.023886771872639656, -0.4233890771865845, -0.7648259997367859, 0.5099350214004517, 0.3201422095298767, -0.08574722707271576, 0.09963180869817734, -0.27155905961990356, -0.5406836867332458, 0.612392783164978, 0.6178351044654846, -0.45164522528648376, 0.0992957204580307, -0.05638982728123665, 0.5666622519493103, -0.282510906457901, 0.2563501000404358, 0.5478581190109253, 0.5270203351974487, -0.0019257412059232593, -1.0339843034744263, 0.1892346739768982, -0.4435999393463135, 0.017991896718740463, 0.21818552911281586, -0.7490628361701965, 0.8501312732696533, -0.11838231235742569, -0.2102390080690384, 0.1407162994146347, 0.5659533739089966, 0.05956738069653511, 0.45589977502822876, 0.5957260131835938, 0.5385043621063232, 0.9234791398048401, -0.20071856677532196, 1.1036021709442139, -0.406953901052475, 0.38654422760009766, 0.8773900270462036, -0.5451563000679016, 0.5844037532806396, 0.3418385982513428, -0.3114946782588959, 0.35828813910484314, 0.6253669261932373, 0.12975682318210602, 0.7094689607620239, 0.530099630355835, -0.3150312900543213, -0.4190065562725067, -0.67039555311203, -0.5223115682601929, 0.1755104660987854, 0.06137584522366524, -0.07923083007335663, -0.3749171197414398, 0.10157329589128494, -0.014854795299470425, 0.3827384412288666, -0.38873979449272156, 0.715583860874176, -0.06973890960216522, -0.8747726678848267, 0.6817548274993896, 0.05287832021713257, 0.442669153213501, -0.49046772718429565, 0.08305856585502625, -0.296146035194397, -0.018285878002643585, 0.14511322975158691, -0.5298073887825012, -0.0883595198392868, 0.022050155326724052, -0.26207098364830017, -0.08036276698112488, 0.8786596655845642, -0.4198628067970276, -0.2701008915901184, 0.4170956313610077, 1.0374233722686768, -0.02391258254647255, -0.27573490142822266, -0.5734352469444275, 0.03730107098817825, -0.09723617881536484, -0.24147388339042664, 0.17688117921352386, 0.5013803243637085, -0.1312706470489502, 0.875565230846405, 0.234216570854187, -0.03159411624073982, 0.09576176106929779, 0.19404149055480957, 1.0551084280014038, -0.5648667812347412, -0.6298723220825195, -0.8799778819084167, 0.22406674921512604, -0.09436853229999542, -0.3383149802684784, 0.8931243419647217, 0.5440471768379211, 0.7741727232933044, -0.01586499996483326, 0.998927116394043, 0.008572177961468697, 0.8204501271247864, -0.5420597195625305, 0.6047430634498596, -0.3891412615776062, 0.20716819167137146, -0.40486907958984375, -1.136944055557251, -0.33075445890426636, 0.260850727558136, -0.7959017157554626, 0.3313741683959961, 0.6902472972869873, 0.4967113435268402, 0.31888535618782043, -0.0067343986593186855, 0.33738410472869873, -0.03410772979259491, -0.047667864710092545, 0.7583673000335693, 1.1951313018798828, 0.01076685730367899, 0.24407388269901276, -0.3759396970272064, -0.32202407717704773, 0.1477416455745697, -0.8409304022789001, -1.0455362796783447, -0.7882920503616333, -0.34976518154144287, -0.2697502374649048, 0.27616599202156067, 0.60283362865448, 0.5639960765838623, -0.6436649560928345, -0.16997849941253662, 0.007353688590228558, 0.3623332381248474, -0.15808580815792084, -0.19180020689964294, 0.3945484757423401, -0.31606245040893555, -0.760983407497406, 0.3895280063152313, 0.013408641330897808, -0.08758590370416641, -0.21075160801410675, -0.16917255520820618, -0.173758864402771, -0.1774604618549347, 0.2214454859495163, 0.332423597574234, -0.41146454215049744, -0.29104286432266235, 0.12636390328407288, -0.030476925894618034, -0.16805706918239594, 0.7256630063056946, -0.9095378518104553, 0.4344313442707062, 0.3713948428630829, 0.9519067406654358, 0.24167409539222717, 0.036820657551288605, 0.740239679813385, -0.672740638256073, -0.020729342475533485, 0.36559873819351196, 0.28500574827194214, 0.48155057430267334, -0.06234662979841232, 0.28202423453330994, 0.3752378821372986, -0.35875362157821655, -0.8689769506454468, 0.31410154700279236, -0.6775661706924438, -0.29219260811805725, 1.2201223373413086, -0.4560595452785492, -0.263531893491745, 0.04004756361246109, 0.0275268517434597, 0.17159046232700348, -0.3910738527774811, 0.5201868414878845, 0.8756136894226074, 0.17705699801445007, -0.08983631432056427, -0.6147133111953735, 0.54416823387146, 0.6260255575180054, -0.5310605764389038, 0.19901254773139954, 0.4027342200279236, 0.2430344521999359, 0.07197066396474838, 0.3402996361255646, 0.07103537768125534, 0.1630110889673233, 0.0438046008348465, 0.18391086161136627, 0.026974966749548912, -0.32372739911079407, -0.3552705943584442, 0.39868423342704773, 0.327068567276001, -0.10361680388450623 ]
http://arxiv.org/abs/2402.11489v2
http://arxiv.org/pdf/2402.11489v2
What's the Plan? Evaluating and Developing Planning-Aware Techniques for Language Models
2024-02-18T07:42:49
2024-05-22T22:50:25
Eran Hirsch, Guy Uziel, Ateret Anaby-Tavor
cs.CL
cs.CL
Planning is a fundamental task in artificial intelligence that involves finding a sequence of actions that achieve a specified goal in a given environment. Large language models (LLMs) are increasingly used for applications that require planning capabilities, such as web or embodied agents. In line with recent studies, we demonstrate through experimentation that LLMs lack necessary skills required for planning. Based on these observations, we advocate for the potential of a hybrid approach that combines LLMs with classical planning methodology. Then, we introduce SimPlan, a novel hybrid-method, and evaluate its performance in a new challenging setup. Our extensive experiments across various planning domains demonstrate that SimPlan significantly outperforms existing LLM-based planners.
[ -0.4916340410709381, -0.71439528465271, 0.5898169279098511, 0.3367151618003845, 0.04038023576140404, 0.3225021958351135, -0.2727038562297821, -0.2750661075115204, 0.722165584564209, 0.37854263186454773, -0.8878553509712219, -0.3066750168800354, -0.09507746994495392, -0.0495721809566021, -0.3739393353462219, 0.4780981242656708, -0.32487964630126953, 0.14638149738311768, -0.2315170168876648, 0.2007928192615509, -0.4795485734939575, -0.24171119928359985, -0.5212571620941162, -0.42076537013053894, 0.39643168449401855, 0.5653173923492432, 0.9083711504936218, 0.5028674602508545, 0.18349000811576843, 0.3529583513736725, -0.21685834228992462, 0.3486558794975281, -0.3460863530635834, -0.25343117117881775, -0.11979275941848755, -0.4490661025047302, -0.5805642008781433, -0.15658046305179596, 0.40516430139541626, 1.1175038814544678, -0.1289348304271698, 0.13407683372497559, -0.390550822019577, 0.5027393698692322, -0.8550775051116943, 0.25572723150253296, -0.5146971344947815, 0.2733634412288666, 0.05807312950491905, -0.11535391211509705, -0.17389634251594543, -0.16858357191085815, 0.17301374673843384, -0.5951353907585144, -0.03886520117521286, -0.04331548511981964, 0.15967366099357605, 0.10556610673666, -0.25709691643714905, -0.2701719105243683, -1.3533766269683838, 0.7310545444488525, -0.6213341355323792, 0.13190500438213348, 0.3337286114692688, 0.548978865146637, -0.43281370401382446, -0.6500517725944519, -0.9459800124168396, -0.1876278817653656, -0.08833645284175873, 0.16968725621700287, -0.07200770080089569, 0.29077228903770447, 0.5791056752204895, 0.2857765853404999, -0.7315772771835327, 0.2664472460746765, -0.4340463876724243, -0.10802370309829712, 0.887569785118103, 0.2506798207759857, 0.48330530524253845, 0.03045651875436306, -0.3671559691429138, -0.02919723093509674, -0.5837332010269165, -0.05934733897447586, 0.3100501298904419, 0.1651684045791626, -0.03774423897266388, 0.9628168344497681, -0.4744788408279419, 0.619776725769043, -0.561926543712616, -0.3878367245197296, -0.28877514600753784, -0.3552761673927307, -0.5043870210647583, -0.04221176356077194, 0.49238553643226624, 0.3001737892627716, 0.5593968629837036, -0.037092965096235275, -0.365005761384964, 0.3402385711669922, -0.04125692695379257, -0.35622578859329224, -0.09862875193357468, 0.5101540684700012, -0.2179848700761795, 0.07129381597042084, -0.4665418565273285, -0.585389256477356, -0.23585814237594604, -0.4098128378391266, 0.41324368119239807, -0.5755333304405212, -0.4532257318496704, 0.5275717973709106, -0.20248378813266754, 0.39620065689086914, 0.4262472093105316, -0.8780521154403687, 0.7046293020248413, 0.8029923439025879, 0.4458097219467163, 0.0063287727534770966, -0.5982983708381653, -0.06705150008201599, 0.29941466450691223, -0.4726916551589966, 1.1659657955169678, -0.38860177993774414, -0.8284499049186707, 0.26560166478157043, -0.603371262550354, -0.03769322857260704, -0.4649306535720825, 0.6597923636436462, -0.248155876994133, 0.13950888812541962, -0.43439415097236633, -0.6798139214515686, -0.25277024507522583, 0.2598281800746918, -0.863556981086731, 0.7494246363639832, -0.01772923953831196, -0.47637832164764404, 0.49919283390045166, -0.9157745838165283, -0.6119359731674194, 0.4001224637031555, -0.3619109094142914, 0.029674801975488663, -0.13531236350536346, 0.1004575863480568, 0.2841484546661377, -0.2859104871749878, 0.2903754711151123, -0.01019294373691082, -0.383564829826355, 0.22686515748500824, 0.03170670568943024, 0.6761150360107422, 0.15635761618614197, -0.2058383822441101, 0.5361874103546143, -0.6473139524459839, 0.22446635365486145, 0.22311288118362427, -0.29570797085762024, -0.11897801607847214, 0.4442616105079651, 0.19423732161521912, 0.20731300115585327, 0.3107597827911377, -0.3532908260822296, 0.49684447050094604, -0.3496723771095276, 0.23868677020072937, 0.448637992143631, -0.35612574219703674, 0.7679070830345154, -0.689479649066925, 0.7185230255126953, -0.8493423461914062, 0.32187744975090027, -0.10813919454813004, -0.34867486357688904, -0.9633823037147522, -0.09068842232227325, 0.062164463102817535, 0.6680278182029724, -0.7486698627471924, 0.23181378841400146, -0.30244794487953186, -0.5906596183776855, 0.09272238612174988, 0.014127884991466999, 0.20349009335041046, -0.08194467425346375, 0.16820192337036133, 0.01667744480073452, -0.6347123384475708, -1.0192396640777588, -0.296596497297287, -0.15992523729801178, 0.4007364511489868, -0.13273286819458008, 0.4630091190338135, -0.08710762113332748, 0.9779870510101318, -0.4460752010345459, -0.1138530820608139, -1.134839653968811, 0.11051727086305618, -0.10889528691768646, 0.16148176789283752, 0.48018932342529297, -1.090790867805481, -0.3118113875389099, -0.1065661609172821, -0.6470336318016052, -0.062133003026247025, -0.2977299690246582, 0.002975730923935771, -0.11657846719026566, 0.5211805105209351, -0.9110515117645264, 0.511810302734375, 0.521365761756897, -0.11439578235149384, 0.6848714351654053, -0.2703322768211365, -0.3629264235496521, -0.8858547806739807, 0.01025429554283619, -0.07651162147521973, -0.04244149476289749, -0.9032337069511414, 0.06564129143953323, 0.10237090289592743, -0.3712889552116394, -0.4859668016433716, 0.6856249570846558, -0.7213931083679199, -0.4368874132633209, -0.5720637440681458, -0.07216687500476837, -0.2740359306335449, 0.33185699582099915, 0.23264667391777039, 0.7529429197311401, 0.3812960386276245, -0.6125807762145996, 0.26144659519195557, 0.3231113851070404, -0.2677193582057953, 0.20565226674079895, -0.3183647096157074, -0.00014110155461821705, -0.06506487727165222, 0.41837334632873535, -0.7859172821044922, -0.4664950370788574, -0.06854522228240967, -0.19165226817131042, 0.21390798687934875, 0.11016175895929337, -0.6459074020385742, -0.6444268822669983, -0.35973313450813293, 0.32452332973480225, 0.3551158308982849, -0.2113221138715744, 1.223762035369873, 0.509883463382721, -0.3212057054042816, -0.2638464868068695, -0.5335687398910522, 0.22415192425251007, -0.08342984318733215, -0.8632186651229858, 0.3960936367511749, -0.07324688136577606, -0.669042706489563, 0.0018926662160083652, -0.05371454730629921, -0.09410248696804047, 0.12623068690299988, 0.19207856059074402, 0.1109057292342186, -0.0464651919901371, -0.32363200187683105, 0.0234941765666008, -0.2443644404411316, 0.1171729564666748, 0.09485320746898651, 0.8574479222297668, 0.322055459022522, -0.4700399935245514, -0.5081272125244141, 0.7105653882026672, 0.7625207304954529, -0.4612104296684265, 0.4416259229183197, -0.16134288907051086, -0.4556526839733124, -0.7445177435874939, -0.5590130686759949, 0.2209223061800003, -0.5059831142425537, 0.26540932059288025, -0.4131741523742676, -0.4164896607398987, 0.3772079348564148, -0.6743295788764954, 0.2408255636692047, 0.08001065254211426, 0.40645286440849304, -0.09510300308465958, 0.8261381983757019, 1.1363552808761597, 0.1776226907968521, 0.3167168200016022, -0.47715869545936584, 0.4139884412288666, -0.5051813721656799, -0.453637033700943, -0.3576057553291321, -0.61046302318573, -0.3960045874118805, -0.6376118063926697, 0.3415571451187134, 0.06966502219438553, 0.09152109175920486, 0.40252360701560974, 0.18115289509296417, 0.5585231781005859, 0.5588526129722595, -0.4008607864379883, 0.37607601284980774, -0.30400344729423523, -0.10210776329040527, 0.1882316917181015, -0.7046843767166138, -0.738832414150238, 0.8838559985160828, 0.053706541657447815, 0.7158034443855286, -0.05508287623524666, 0.5845207571983337, 0.015581556595861912, 0.06441359221935272, -0.8908409476280212, 1.1842628717422485, 0.1551128476858139, -0.40116679668426514, -0.415607750415802, -0.028401125222444534, -0.7058374285697937, 0.17827443778514862, -0.3752695918083191, -0.6997549533843994, -0.00128364865668118, -0.048327647149562836, -0.31711140275001526, 0.5480518341064453, -0.7652673721313477, 0.5136844515800476, -0.7340167164802551, 0.1344723254442215, -0.5239769220352173, -0.19690504670143127, 0.3105851113796234, -0.15282553434371948, 0.2857763171195984, -0.29871320724487305, -0.10956530272960663, 0.48034393787384033, -0.254441499710083, 0.6009945273399353, 0.048485953360795975, 0.16338297724723816, 0.06329048424959183, 0.42535531520843506, 0.5222259759902954, -0.522122859954834, -0.12267325073480606, -0.4004814028739929, -0.23247317969799042, -0.4263346791267395, -0.6431295871734619, 0.6138169765472412, -0.3864209055900574, -0.4629637897014618, -0.30157792568206787, -0.9451622366905212, -0.5590707659721375, 0.15188030898571014, -0.02931978739798069, 0.0744125247001648, -0.748642086982727, -0.47940537333488464, 0.3506767451763153, -0.5855374336242676, 0.882651686668396, 0.5395591855049133, -0.717668890953064, -0.08860218524932861, 0.4770105481147766, 0.27762722969055176, 0.5231340527534485, 0.3158416152000427, 0.19556641578674316, -0.13177350163459778, -0.7099283337593079, -0.4107753038406372, 0.33697620034217834, -0.5930142998695374, 0.26317116618156433, -0.5942641496658325, -0.4456009268760681, -0.31478166580200195, -0.4854986071586609, -0.44085678458213806, -0.546794593334198, 0.5388352274894714, -0.26685085892677307, -0.05304710939526558, 1.059942603111267, -0.09654244035482407, 0.31199541687965393, -0.2181447595357895, 0.22302751243114471, 0.2668024003505707, -0.10918981581926346, -0.25028806924819946, 0.39064252376556396, 0.1244058832526207, -0.15162858366966248, -0.094784215092659, -0.7459291815757751, 0.5822117328643799, -0.10771288722753525, 0.8509117960929871, 0.26946163177490234, 0.04025512933731079, 0.5989485383033752, -0.415204793214798, 0.6299003958702087, -0.05097494274377823, -0.7247480154037476, 0.8364972472190857, -0.32799032330513, 0.27712318301200867, 0.43444475531578064, 0.6774231195449829, -0.3881101608276367, -0.02347269468009472, -0.628971517086029, -0.9279336333274841, 0.3820071518421173, 0.23756404221057892, 0.09549570083618164, 0.375882625579834, 0.11854233592748642, 0.015685364603996277, 0.2751895785331726, -0.8121054768562317, -0.381642609834671, 0.5888522863388062, 0.31470662355422974, -0.08063486218452454, -0.49328503012657166, -0.2338533103466034, -0.24845722317695618, 0.20563004910945892, 0.014360811561346054, 0.19901050627231598, -0.1319722980260849, 0.03860896825790405, -0.2636988162994385, 0.2421022206544876, 0.7739060521125793, 1.0114744901657104, -0.013554154895246029, -0.03178711235523224, 0.41500163078308105, -0.15835730731487274, -0.16983595490455627, 0.1867987960577011, -0.41234534978866577, -0.012533241882920265, 0.6014633178710938, 0.4750717282295227, 0.30107298493385315, -0.9558106660842896, 0.41404616832733154, -0.05414027348160744, -0.42771080136299133, -0.5800362229347229, 0.13314993679523468, 0.26776713132858276, 0.20311512053012848, 0.22577430307865143, -0.07945798337459564, 0.10441838949918747, -0.8428050875663757, -0.13102394342422485, 0.35110804438591003, -0.09553246200084686, -0.18356606364250183, 0.14782804250717163, 0.21860581636428833, -0.7458848357200623, 0.17078343033790588, -0.1952119767665863, -0.6978337168693542, 0.5665383338928223, 0.6725459694862366, 0.798780620098114, -0.2170078456401825, 0.3897559344768524, 0.08892623335123062, 0.5155764222145081, -0.08293738216161728, 1.0653831958770752, 0.020520078018307686, -0.7203752398490906, -0.777070939540863, -0.6573546528816223, -0.48668965697288513, 0.1887427270412445, -0.18656830489635468, 0.44309288263320923, -0.7403905987739563, 0.22872772812843323, -0.0007586368010379374, 0.0489656999707222, -0.5784290432929993, 0.0816582515835762, 0.16831855475902557, 1.4795140027999878, -0.9419415593147278, 0.6655150055885315, 1.0671730041503906, -0.22674638032913208, -1.135912299156189, 0.24785920977592468, 0.27964237332344055, -0.8353895545005798, 0.650124728679657, 0.04212195798754692, -0.32049646973609924, -0.29353901743888855, -0.4014992415904999, -0.8461594581604004, 1.0609461069107056, 0.3120872378349304, -0.5300894379615784, -0.2736664414405823, 0.46244797110557556, 0.3625050187110901, -0.24337585270404816, -0.014738191850483418, 0.5823764801025391, 0.7386026978492737, 0.12641185522079468, -1.3338412046432495, -0.27929651737213135, -0.12219113856554031, -0.003943221643567085, 0.4092443585395813, -0.5845546722412109, 0.8339796662330627, -0.29314926266670227, -0.5078334212303162, 0.28781858086586, 0.530392050743103, -0.01760169304907322, 0.4439670741558075, 0.5959324836730957, 0.6547467112541199, 0.6843896508216858, 0.11734840273857117, 1.2913835048675537, -0.0727076306939125, -0.08805333077907562, 1.0353517532348633, -0.6264384984970093, 1.0183805227279663, 0.2965659499168396, -0.14680421352386475, 0.2824326157569885, 0.35869014263153076, 0.5544698238372803, 0.4658937454223633, 0.4632422924041748, -0.5223910808563232, -0.3223092257976532, -0.1732388734817505, -0.010629966855049133, 0.7501660585403442, 0.4193386733531952, 0.15929573774337769, -0.5231517553329468, 0.10595368593931198, 0.0755813866853714, 0.4584363102912903, -0.4517216682434082, 0.6237474083900452, 0.13624905049800873, -0.6775117516517639, 0.012587815523147583, -0.022452929988503456, 0.3388386070728302, -0.7378591299057007, 0.04067973420023918, -0.19904476404190063, 0.24160782992839813, -0.08060377836227417, -0.8236377835273743, 0.44471895694732666, -0.21786774694919586, 0.09625115990638733, -0.35993894934654236, 0.7177309989929199, -0.1575162559747696, -0.5271459221839905, 0.587197482585907, 0.8491987586021423, -0.14832466840744019, 0.004280265420675278, -0.6174867153167725, 0.09466703981161118, -0.1990479826927185, 0.17377319931983948, 0.1784178614616394, 0.5502874851226807, -0.3088061809539795, 1.0080461502075195, 0.6925152540206909, 0.38586825132369995, 0.09680201858282089, -0.013775191269814968, 1.0666232109069824, -0.9026864171028137, -0.4636777937412262, -0.6305385828018188, 0.4361651539802551, -0.22802700102329254, -0.3246356248855591, 0.6301741003990173, 0.8936977386474609, 0.9311196804046631, 0.18904051184654236, 0.7482723593711853, 0.009762490168213844, 0.48357778787612915, -0.6174623966217041, 0.28262045979499817, -0.3447563946247101, 0.4129657447338104, -0.2025199830532074, -1.0613019466400146, -0.3789078891277313, 0.5951252579689026, -0.6468058824539185, -0.14782457053661346, 0.6464577913284302, 0.7656171917915344, -0.09985362738370895, 0.15448787808418274, 0.5217136144638062, -0.10795910656452179, 0.3224830627441406, 0.5842124819755554, 1.371259331703186, 0.19498485326766968, 0.2091684639453888, -0.44204026460647583, -0.4472435712814331, -0.010195949114859104, -0.8307042121887207, -0.8555977940559387, -0.5095914602279663, 0.029443172737956047, 0.13923917710781097, -0.0066072274930775166, 1.0472252368927002, 0.7626468539237976, -0.4289458990097046, -0.7418009042739868, -0.12556378543376923, -0.10804425925016403, 0.016958629712462425, -0.10462062060832977, 0.022653453052043915, -0.13540181517601013, -0.58209228515625, 0.7891531586647034, 0.5380850434303284, 0.0806042030453682, -0.6538606286048889, -0.08119182288646698, -0.449558824300766, 0.17510324716567993, 0.49191468954086304, 0.6188063025474548, -0.6665084362030029, 0.1871137022972107, -0.043405335396528244, 0.014804022386670113, -0.40722423791885376, 1.2063902616500854, -0.6271206140518188, 0.33710595965385437, 0.37373319268226624, 0.5300809741020203, 0.5733869075775146, -0.2717204689979553, 0.9896636009216309, -0.2933574914932251, 0.363190233707428, 0.47832199931144714, 0.5316459536552429, 0.11815951019525528, -0.1664230078458786, 0.5796794891357422, -0.27878043055534363, -0.46921148896217346, -0.5114028453826904, 0.4972981810569763, -1.2168103456497192, -0.5435343980789185, 1.2615572214126587, 0.42969590425491333, -0.20554819703102112, -0.06986397504806519, -0.5491799712181091, -0.19427135586738586, 0.04060383141040802, 0.5021921396255493, 0.39989519119262695, -0.5163876414299011, 0.11393755674362183, -0.7829670310020447, 0.6095002293586731, 0.3164285719394684, -0.8844039440155029, -0.05051737651228905, 0.5622830986976624, 0.06809976696968079, 0.45049089193344116, 1.0088903903961182, 0.34913361072540283, 0.26481735706329346, -0.006803906988352537, 0.12499327957630157, 0.16353614628314972, -0.48014596104621887, 0.16026745736598969, 0.10058650374412537, 0.2856425642967224, 0.17719227075576782 ]
http://arxiv.org/abs/2403.15399v1
http://arxiv.org/pdf/2403.15399v1
ChatGPT in Linear Algebra: Strides Forward, Steps to Go
2024-02-18T07:35:01
2024-02-18T07:35:01
Eli Bagno, Thierry Dana-Picard, Shulamit Reches
cs.CY
cs.CY, cs.CL, cs.LG
As soon as a new technology emerges, the education community explores its affordances and the possibilities to apply it in education. In this paper, we analyze sessions with ChatGPT around topics in basic Linear Algebra. We reflect the process undertaken by the ChatGPT along the recent year in our area of interest, emphasising the vast improvement that has been done in grappling with Linear Algebra problems. In particular, the question whether this software can be a teaching assistant or even somehow replace the human teacher, is addressed. As of the time this paper is written, the answer is generally negative. For the small part where the answer can be positive, some reflections about an original instrumental genesis are given. Communication with the software gives the impression to talk to a human, and sometimes the question is whether the software understands the question or not. Therefore, the reader's attention is drawn to the fact that ChatGPT works on a statistical basis and not according to reflection and understanding.
[ -0.4873693585395813, -0.8192447423934937, 0.6489567160606384, 0.18307943642139435, -0.05758900195360184, 0.46953168511390686, -0.012647542171180248, -0.33266597986221313, 0.16020824015140533, 0.031474966555833817, -0.433804452419281, 0.07307758182287216, -0.8487095832824707, -0.5266438126564026, -0.6653802394866943, 1.02493155002594, -0.22410257160663605, 0.2944357395172119, -0.23020310699939728, -0.016466049477458, -0.893670916557312, -0.38461771607398987, -1.2170121669769287, -0.3604529798030853, 0.3607248365879059, 0.557553768157959, 0.9828109741210938, 0.20985865592956543, 0.6970027685165405, 0.296296089887619, 0.01736629195511341, -0.48271819949150085, -0.5518764853477478, -0.006216701120138168, 0.35713350772857666, -0.5781154036521912, -0.5615169405937195, 0.12183617055416107, 0.41719523072242737, 1.0658525228500366, -0.10216016322374344, 0.3141753375530243, 0.4474563002586365, 0.9348571300506592, 0.06940298527479172, 0.2461269646883011, -0.19320741295814514, 0.31616124510765076, -0.02755807340145111, 0.010599439963698387, -0.16783063113689423, -0.6011731028556824, 0.2775056064128876, -0.4908653795719147, 0.3886791467666626, -0.13765785098075867, 0.6095306277275085, 0.06310243159532547, -0.3833559453487396, -0.615748405456543, -1.0718388557434082, 0.7070384621620178, -0.1598353534936905, 0.5927941203117371, 0.1607046127319336, 0.7187689542770386, -0.44139236211776733, -0.8564628958702087, -0.20345303416252136, -0.30769678950309753, 0.24939152598381042, 0.08077431470155716, -0.18153919279575348, 0.11785820126533508, 0.3850044310092926, 0.533282995223999, -0.555464506149292, -0.6816297769546509, -1.0711394548416138, -0.1441144198179245, 0.4156205952167511, -0.21068456768989563, 0.4953923523426056, 0.19492121040821075, -0.5243493318557739, -0.08799995481967926, -0.7201413512229919, 0.04827055707573891, 0.28792867064476013, -0.013302666135132313, 0.17882971465587616, 0.4040515720844269, 0.3565870225429535, 0.6349758505821228, -0.1934906393289566, 0.12195135653018951, -0.24613060057163239, -0.08184069395065308, -0.08713389188051224, 0.006044188980013132, 0.1979520171880722, 0.01874985173344612, 0.27291274070739746, -0.16572201251983643, -0.13497012853622437, 0.3281708061695099, 0.31327444314956665, -0.5153236389160156, -0.7421579360961914, -0.08130137622356415, -0.3249376714229584, -0.1434430480003357, -0.017635473981499672, -0.6157673001289368, -0.3692389726638794, -0.8315829634666443, 0.9731271266937256, -0.5365469455718994, 0.10137556493282318, 0.002124325605109334, 0.19407816231250763, 0.292892187833786, 0.8273533582687378, -0.7184067964553833, 0.6422857046127319, 0.9116441011428833, 0.790834903717041, 0.12263944745063782, -0.011375426314771175, -0.4494490623474121, -0.5466485619544983, -0.25782257318496704, 0.7848610877990723, -0.4940030574798584, -0.6633781790733337, -0.24796263873577118, -0.516308069229126, 0.17119260132312775, -0.28370654582977295, 0.5422664284706116, -0.4482269585132599, 0.579012930393219, -0.4533447027206421, -0.6855670213699341, -0.20007765293121338, 0.20480071008205414, -0.11205611377954483, 1.0777490139007568, -0.066444031894207, -0.3344809412956238, 0.15238450467586517, -0.6472357511520386, 0.10345606505870819, 0.04763898253440857, -0.20626701414585114, -0.21489045023918152, -0.010595458559691906, -0.021785268560051918, -0.12509267032146454, 0.017528530210256577, -0.10265379399061203, 0.019060494378209114, -0.6462457776069641, 0.3917255997657776, -0.48882395029067993, 0.6331331729888916, 0.3348773121833801, 0.05282220244407654, -0.3140961527824402, -0.6572362780570984, 0.05152842774987221, -0.3003203272819519, -0.43091657757759094, -0.09656377136707306, 0.18309131264686584, -0.13098633289337158, 0.17772667109966278, 0.41245293617248535, -0.5885607004165649, 0.6212712526321411, -0.10550529509782791, 0.023769663646817207, 0.9780967831611633, 0.010551296174526215, 0.49384087324142456, -0.24048642814159393, 0.8693838119506836, -0.5685184597969055, 0.4857690632343292, -0.12107446789741516, -0.9203703999519348, -1.0399247407913208, 0.3856201469898224, 0.5611741542816162, 0.5570253729820251, -0.5197867155075073, -0.31579574942588806, 0.06170879304409027, -0.38138246536254883, -0.3012068569660187, 0.18990282714366913, 0.3857739567756653, 0.3911222517490387, 0.2690412700176239, -0.44645676016807556, -0.7424280643463135, -0.5091884136199951, -0.11939697712659836, -0.42935627698898315, -0.18120147287845612, 0.21558649837970734, 0.04213933274149895, 0.1930173635482788, 0.9038560390472412, -0.7806224226951599, -0.14503586292266846, 0.10801324993371964, 0.2081070989370346, 0.4042912721633911, 0.475477933883667, 0.23644240200519562, -0.5424191355705261, -0.8060991764068604, -0.13343526422977448, -0.5339943766593933, -0.020617453381419182, -0.028013071045279503, -0.37411412596702576, -0.551383376121521, 0.736757755279541, -0.196013942360878, 0.4573977589607239, 0.31841573119163513, -0.47287818789482117, 0.2794685661792755, -0.4321581721305847, 0.017660506069660187, -0.8358890414237976, -0.17521131038665771, -0.35784581303596497, -0.12696075439453125, -0.9005987048149109, -0.039691489189863205, -0.4104247987270355, -0.6789098978042603, -0.05973120033740997, 0.34117668867111206, -0.3450750708580017, -0.5567509531974792, -0.48123764991760254, 0.5236486792564392, -0.5598429441452026, 0.36412036418914795, -0.40008318424224854, 0.8402233719825745, 0.7467218041419983, -0.5866226553916931, 0.3444836437702179, 0.3538917005062103, 0.1637822389602661, 0.6848300695419312, -0.6148470044136047, 0.5343625545501709, -0.22283820807933807, -0.06962481886148453, -1.0982451438903809, 0.15427091717720032, 0.4185205399990082, -1.0500108003616333, 0.21169179677963257, -0.41956576704978943, -0.016417670994997025, -0.2555990219116211, -0.15245383977890015, -0.12340640276670456, 0.7683228254318237, -0.34131360054016113, 0.40296047925949097, 0.2060548961162567, -0.19819557666778564, -0.6021989583969116, -0.22896873950958252, 0.3268875181674957, 0.1180763840675354, -0.9379562735557556, -0.3549119830131531, -0.14006370306015015, -0.5648546814918518, -0.07361838221549988, -0.21098031103610992, -0.3069410026073456, 0.05698896944522858, 0.21763946115970612, 0.3837912678718567, -0.4043930768966675, 0.5418083071708679, -0.3594140410423279, -0.3793528079986572, 0.21125778555870056, -0.2707826793193817, 0.4821522831916809, -0.3496064245700836, -0.6582432389259338, 0.24718931317329407, 0.34647056460380554, -0.13930732011795044, 0.10012342035770416, 0.13488508760929108, 0.5450410842895508, -0.0962439775466919, 0.14999088644981384, -0.07843922078609467, -0.17311155796051025, -0.49737170338630676, 0.1498197317123413, 0.02649824135005474, -0.5696151852607727, 0.3131076395511627, 0.04725818336009979, 0.31668856739997864, -0.012284989468753338, 0.21300099790096283, -0.32590946555137634, 0.7864061594009399, 0.6713654398918152, 0.12290177494287491, 0.7511698007583618, -0.2705833613872528, 0.32189059257507324, -0.5307121872901917, 0.01067187450826168, -0.4859248399734497, -0.6928614377975464, -0.5667003989219666, -0.31752192974090576, 0.5708456635475159, 0.09095712006092072, -0.13209769129753113, 0.45978695154190063, -0.5290476083755493, 0.4975101947784424, 0.5517182350158691, 0.19986985623836517, 0.22988608479499817, -0.2558203637599945, 0.4890698492527008, -0.14471836388111115, -0.48712748289108276, -0.46958592534065247, 1.0335078239440918, 0.310147762298584, 0.8405880331993103, 0.5242101550102234, 0.9050999283790588, 0.37774524092674255, 0.4615776538848877, -0.8186496496200562, 0.7382962703704834, -0.00034366518957540393, -0.7288010120391846, -0.24795125424861908, -0.06670188158750534, -1.2045519351959229, 0.2723768651485443, 0.03567488491535187, -0.9482382535934448, 0.15686319768428802, 0.42587172985076904, -0.17765355110168457, 0.25092804431915283, -1.2200652360916138, 0.8297548294067383, -0.18985120952129364, -0.27327147126197815, -0.12485812604427338, -0.5382111072540283, 0.3217969238758087, 0.04560467600822449, 0.08590523898601532, 0.031407564878463745, 0.12915562093257904, 0.700272262096405, -0.4856773316860199, 0.5443958640098572, -0.3217555284500122, 0.05516912415623665, 0.44540199637413025, 0.42729711532592773, 0.1902327984571457, -0.18131530284881592, 0.4531281292438507, -0.6527838110923767, 0.07359906286001205, -0.7270181179046631, -0.7603009939193726, 0.5582476854324341, -0.7671557664871216, -0.6082457304000854, -0.6236319541931152, -0.3612859845161438, -0.5434796214103699, 0.09345215559005737, -0.26897022128105164, 0.5770896673202515, -0.28738290071487427, -0.001853574882261455, 0.8621165156364441, -0.25486260652542114, 0.3768244683742523, 0.17248095571994781, -0.7771621346473694, 0.24035704135894775, 1.2955255508422852, 0.14623364806175232, 0.3785008192062378, 0.12059159576892853, 0.2082999050617218, -0.027171442285180092, -0.201356902718544, -0.3713121712207794, -0.004460396710783243, -1.0573952198028564, 0.2243606448173523, -0.17521631717681885, -0.08360867947340012, -0.023467043414711952, -0.24640513956546783, -0.38154545426368713, -0.545099675655365, -0.22391463816165924, 0.08370406925678253, 0.2753710150718689, 1.0556970834732056, 0.00395134137943387, 0.4522004723548889, -0.7437418699264526, -0.0697401911020279, 0.8469533920288086, 0.1782846450805664, -0.07279805839061737, -0.5008288621902466, -0.1721184253692627, 0.05233251675963402, -0.7062948942184448, -0.6633566617965698, 0.05600455030798912, 0.21641860902309418, 0.2879941165447235, 0.275348424911499, -0.4190394878387451, 0.7266097664833069, -0.3683660924434662, 0.7851927280426025, 0.07001093775033951, -0.9035794138908386, 0.27804967761039734, -0.19003354012966156, 0.06343015283346176, 0.2835429906845093, 0.20206327736377716, -1.107075810432434, -0.35823237895965576, -0.8358840346336365, -0.4506659507751465, 0.5439593195915222, 0.5468800067901611, 0.30205464363098145, 0.6718810200691223, 0.2314290851354599, -0.07594640552997589, 0.042496636509895325, -0.48429417610168457, -0.37351247668266296, -0.21437212824821472, -0.009282063692808151, -0.05133065581321716, -0.1402789056301117, 0.2145698368549347, -0.11739252507686615, 0.5488600730895996, 0.2411242127418518, 0.8991279602050781, -0.05795534700155258, -0.09224123507738113, 0.009770368225872517, 0.5634332895278931, 0.6572574973106384, 1.0823394060134888, -0.2700711190700531, 0.1281566321849823, 0.10949172079563141, -1.05311119556427, 0.23279349505901337, 0.05961008369922638, -0.126856729388237, 0.038080405443906784, 0.1250493824481964, 0.6013113856315613, 0.3353862762451172, -0.15253786742687225, 0.4498956501483917, -0.1660458892583847, -0.20473617315292358, -0.7613924145698547, 0.23549087345600128, -0.02175978757441044, 0.20996485650539398, 0.4059264063835144, 0.3641199469566345, 0.26092636585235596, -0.6311461925506592, 0.39279085397720337, 0.19483931362628937, -0.7541321516036987, -0.42238864302635193, 0.7136034965515137, 0.10893716663122177, -0.6880249381065369, 0.350328654050827, -0.09928492456674576, -0.5532551407814026, 0.482492595911026, 0.23843875527381897, 0.7743254899978638, -0.06557897478342056, 0.28589069843292236, 0.3875201642513275, 0.20049253106117249, 0.10635973513126373, 0.3073902130126953, -0.15514183044433594, -0.5352438688278198, -0.34933415055274963, -0.18923291563987732, -0.8990481495857239, -0.35638704895973206, -0.31865206360816956, 0.39873260259628296, -0.3557310700416565, 0.1456271857023239, 0.17114092409610748, 0.09650542587041855, -0.19476480782032013, -0.09007056057453156, 0.3489847779273987, 0.6075875759124756, -0.6457493901252747, 0.9288132190704346, 0.7962813973426819, -0.4903939366340637, -0.7690787315368652, -0.06497225910425186, 0.11387816071510315, -0.8098188638687134, 0.864408016204834, -0.3627012073993683, -0.06977897137403488, -0.023604324087500572, -0.7150083780288696, -0.8075907230377197, 0.8548736572265625, 0.2713247239589691, -0.13374702632427216, 0.025318095460534096, 0.024182042106986046, 0.6930225491523743, 0.36246058344841003, 0.24490685760974884, 0.21121908724308014, 0.29487964510917664, 0.37660855054855347, -0.8440812826156616, -0.6355379819869995, -0.09327882528305054, -0.054247450083494186, 0.5550513863563538, -0.2985236942768097, 1.4143189191818237, 0.11779289692640305, -0.20647743344306946, 0.06576425582170486, 0.7226659655570984, -0.32824206352233887, 0.41953298449516296, 0.3503437638282776, 0.10898494720458984, 0.5980873703956604, -0.1746939867734909, 1.0200326442718506, -0.1425534039735794, 0.6329332590103149, 0.8377546668052673, 0.15882417559623718, 0.5204495787620544, 0.6378771662712097, -1.0557172298431396, 0.1831892430782318, 0.3674556016921997, 0.1902157962322235, -0.09145763516426086, 0.19000177085399628, -0.8206645846366882, -0.13989801704883575, 0.40880998969078064, -0.39857053756713867, 0.38748475909233093, 0.3984566926956177, -0.12145514041185379, -0.681376039981842, 0.15435874462127686, 0.2493906021118164, 0.06382939219474792, -0.5352720022201538, 0.4142906367778778, 0.22742179036140442, -0.5846539735794067, 0.204998180270195, -0.17258021235466003, 0.10040055215358734, -0.6178761720657349, -0.4580935835838318, -0.36360880732536316, 0.46492743492126465, -0.12802712619304657, -0.8747596144676208, 0.24627389013767242, -0.12086739391088486, 0.3723987936973572, -0.4329698383808136, 1.0300884246826172, -0.14746633172035217, -0.41450202465057373, -0.33582738041877747, 0.5387925505638123, 0.5591914653778076, 0.20515143871307373, -0.6667943000793457, -0.16582205891609192, 0.27861395478248596, 0.19581203162670135, 0.4284058213233948, 0.2549373209476471, -0.00914052128791809, 0.7244971394538879, 0.5247126817703247, -0.17176619172096252, 0.3378855586051941, -0.39841437339782715, 0.8944888114929199, -0.47396087646484375, -0.2715967297554016, -0.44749781489372253, 0.013963235542178154, 0.025328503921628, -0.39908650517463684, 1.1165953874588013, 0.46518898010253906, 0.587859034538269, 0.03538297116756439, 0.43172547221183777, -0.3219391107559204, 0.7290686964988708, -0.49639928340911865, 0.3937131464481354, -0.06260751932859421, 0.39201322197914124, -0.40214264392852783, -1.021355152130127, -0.15043756365776062, 0.7483018040657043, -0.4336327016353607, 0.04387020692229271, 0.5373791456222534, 0.6102504134178162, -0.33982768654823303, 0.1966702789068222, 0.49217161536216736, -0.1213264912366867, 0.4155152440071106, 0.5378888249397278, 0.9352725744247437, -0.6278423070907593, 0.8212215304374695, -0.18442778289318085, -0.18567770719528198, -0.06805114448070526, -0.34518784284591675, -0.5143691301345825, -0.4632178544998169, -0.22795124351978302, -0.39918166399002075, 0.05000157654285431, 1.0746833086013794, 0.225175142288208, -0.6952282190322876, -0.5320760011672974, -0.1626407504081726, 0.0810290277004242, -0.12397827953100204, -0.15209625661373138, 0.478297621011734, -0.49435511231422424, -0.7319327592849731, 0.21749693155288696, -0.04140095040202141, 0.048096999526023865, -0.6011340618133545, -0.1689055860042572, -0.21700851619243622, 0.023195084184408188, 0.6060556173324585, 0.7668678164482117, -0.07646159082651138, -0.6458014249801636, 0.2518520951271057, 0.033428605645895004, 0.46473678946495056, 1.0144160985946655, -0.6873975992202759, 0.7947799563407898, 0.4603882133960724, 0.5448569059371948, 0.6869068741798401, -0.014245245605707169, 0.510906994342804, -0.8049260973930359, 0.26721128821372986, 0.19755882024765015, 0.21288247406482697, 0.13522039353847504, 0.0371234305202961, 0.503045916557312, 0.3755330741405487, -0.9892453551292419, -0.5890288352966309, 0.19997695088386536, -1.1217082738876343, 0.16648130118846893, 0.7998639345169067, -0.09648943692445755, -0.12487652897834778, -0.43166211247444153, -0.948952317237854, -0.02543949894607067, -0.34478676319122314, 0.7653451561927795, 0.8746874928474426, -0.6059011816978455, -0.2978026866912842, -1.1428139209747314, 0.38115394115448, 0.2958102822303772, -0.5371139049530029, -0.3851684331893921, 0.40307745337486267, 0.06252424418926239, 0.2917155623435974, 0.743519127368927, -0.1335679292678833, 0.3982051610946655, 0.3493523597717285, 0.05670229345560074, 0.16443391144275665, 0.20040903985500336, -0.22369757294654846, -0.08899590373039246, 0.5843220949172974, -0.5515827536582947 ]
http://arxiv.org/abs/2402.11485v2
http://arxiv.org/pdf/2402.11485v2
LEIA: Facilitating Cross-lingual Knowledge Transfer in Language Models with Entity-based Data Augmentation
2024-02-18T07:24:34
2024-06-06T05:30:59
Ikuya Yamada, Ryokan Ri
cs.CL
cs.CL, cs.AI, cs.LG
Adapting English-based large language models (LLMs) to other languages has become increasingly popular due to the efficiency and potential of cross-lingual transfer. However, existing language adaptation methods often overlook the benefits of cross-lingual supervision. In this study, we introduce LEIA, a language adaptation tuning method that utilizes Wikipedia entity names aligned across languages. This method involves augmenting the target language corpus with English entity names and training the model using left-to-right language modeling. We assess LEIA on diverse question answering datasets using 7B-parameter LLMs, demonstrating significant performance gains across various non-English languages. The source code is available at https://github.com/studio-ousia/leia.
[ -0.4605283737182617, -0.8164975643157959, 0.43242931365966797, -0.0038532435428351164, -0.2730489671230316, -0.013113370165228844, -0.25685250759124756, -0.6860901713371277, 0.5055107474327087, 0.7048994898796082, -0.46337127685546875, -0.46649110317230225, -0.4399412274360657, 0.19016288220882416, -0.11571580916643143, 0.9872917532920837, -0.19534464180469513, 0.46259260177612305, -0.08940315991640091, -0.09927134215831757, -0.6490306258201599, 0.08207563310861588, -0.8944915533065796, -0.042175259441137314, 0.6856372952461243, 0.7473247051239014, 0.6668530106544495, 0.5874910354614258, 0.30397599935531616, 0.1801030933856964, 0.2768429219722748, 0.4981256425380707, -0.5694984793663025, 0.05682961642742157, -0.8190362453460693, -0.7889413833618164, -0.35911524295806885, -0.43364378809928894, 0.8217361569404602, 0.8857259154319763, 0.14434075355529785, 0.3146146833896637, -0.42192697525024414, 0.539644718170166, -0.7465025186538696, 0.1825246959924698, -0.8616180419921875, -0.18668116629123688, -0.043197039514780045, -0.23244662582874298, -0.33924490213394165, 0.003622058080509305, 0.2504519522190094, -1.1855978965759277, -0.10937894135713577, 0.1771383285522461, 0.9931186437606812, 0.35210660099983215, -0.41745004057884216, -0.36715734004974365, -0.8064450621604919, 0.710205614566803, -0.5378348231315613, 0.8204467296600342, 0.19073106348514557, 0.16856476664543152, 0.03763763606548309, -0.3160780072212219, -0.6225919127464294, 0.04275234416127205, 0.11498913913965225, 0.0921042189002037, -0.0033068435732275248, -0.13716687262058258, 0.08518879115581512, -0.07182484865188599, -0.3555999994277954, 0.4397033751010895, -0.4516441226005554, 0.15945711731910706, 0.6252321600914001, -0.2887752652168274, 0.6486939191818237, -0.002489148173481226, -0.5300714373588562, -0.05771820247173309, -0.7418781518936157, -0.0016329847276210785, 0.3636437654495239, 0.4067937731742859, -0.22204242646694183, 0.5316789746284485, -0.02615039423108101, 0.6902403831481934, 0.26937055587768555, -0.20114651322364807, 0.09078016877174377, 0.012239762581884861, -0.212458074092865, 0.22826863825321198, 0.12621894478797913, 0.6043878793716431, 0.5470489263534546, -0.47447240352630615, -0.013098216615617275, -0.4050615131855011, 0.26005852222442627, -0.5375185012817383, 0.049326442182064056, -0.12076618522405624, -0.0491209477186203, 0.15301349759101868, 0.14735999703407288, -0.8671560287475586, -0.23801890015602112, -0.4197520315647125, 0.5184440016746521, -0.17254310846328735, -0.41626203060150146, 0.15836845338344574, -0.11531493067741394, 0.4466850459575653, 0.31036576628685, -1.0876120328903198, 0.12250271439552307, 0.6900262832641602, 0.4598969519138336, -0.43382886052131653, -0.5727113485336304, -0.5895475149154663, 0.591833233833313, -0.7383949160575867, 0.7803865671157837, -0.4378170967102051, -0.2121778130531311, -0.05762825906276703, 0.46569907665252686, -0.29703080654144287, -0.37009772658348083, 0.391515851020813, -1.026038646697998, 0.3761003315448761, -0.2092706561088562, -0.7409210205078125, -0.433133989572525, 0.01881672628223896, -0.8015638589859009, 0.8738012909889221, 0.2693115770816803, -0.619747519493103, 0.323845773935318, -0.5212351083755493, -0.4271118938922882, -0.02105429768562317, 0.08622526377439499, -0.12155544012784958, -0.04900004714727402, 0.4694388508796692, 0.2508452236652374, -0.4372304677963257, 0.24411052465438843, -0.3454917073249817, -0.16224423050880432, -0.08221177756786346, -0.002488466678187251, 0.7228754758834839, 0.11433050781488419, -0.13686370849609375, -0.14323092997074127, -0.604991614818573, -0.1307799071073532, 0.05546163395047188, -0.07486332207918167, -0.6565653681755066, -0.40648725628852844, -0.08363061398267746, 0.06720318645238876, 0.26824358105659485, -0.2280215322971344, 0.02380986325442791, -0.5260182619094849, -0.2361213117837906, 0.4824758470058441, 0.0737975537776947, 1.030408501625061, -0.3814677894115448, 0.8447274565696716, 0.2146313339471817, -0.21683640778064728, -0.1778118908405304, -0.5393022894859314, -1.00153386592865, 0.034932754933834076, 0.5364526510238647, 0.9433985352516174, -1.257845401763916, 0.42802420258522034, -0.6501864194869995, -0.5216824412345886, -0.692879319190979, 0.5334596037864685, 0.10242053866386414, 0.9272832274436951, 0.519895613193512, -0.36837083101272583, -0.6030277609825134, -1.0082027912139893, -0.27326080203056335, -0.36798304319381714, -0.04246979579329491, 0.36679908633232117, 0.23439937829971313, -0.21453219652175903, 0.6008166670799255, -0.10447090119123459, -0.21518073976039886, -0.1086629331111908, -0.26497882604599, -0.0013054623268544674, 0.16288380324840546, 0.6229924559593201, -0.6317098140716553, -0.5746397376060486, 0.32061272859573364, -0.6361663341522217, -0.3146647810935974, -0.3977932631969452, -0.4611300528049469, 0.559386670589447, 0.5364574790000916, -0.549339234828949, -0.11966829746961594, 0.7462704181671143, -0.29442837834358215, 0.11785408854484558, -0.219815194606781, 0.17933060228824615, -1.5958634614944458, 0.022217843681573868, 0.02117352932691574, -0.2956709861755371, -0.6822007298469543, 0.10914751887321472, 0.2766752541065216, 0.09726167470216751, -0.5596752166748047, 0.9371370673179626, -0.7759358882904053, -0.2462518811225891, -0.2086782455444336, 0.45227259397506714, 0.1845182329416275, 0.3023541271686554, 0.2756965756416321, 0.8228557705879211, 0.8070135712623596, -0.49318110942840576, 0.39599668979644775, 0.2366274744272232, -0.05112243816256523, 0.8015409111976624, -0.24712695181369781, 0.106745146214962, -0.2652187645435333, 0.06353931874036789, -0.5064788460731506, -0.13925832509994507, 0.19490331411361694, -0.2513729929924011, 0.4928828179836273, -0.3246026039123535, 0.10667181015014648, 0.11574038863182068, -0.22285127639770508, 0.07996004819869995, 0.1415475755929947, -0.7767720818519592, 0.9800958633422852, 0.7263373732566833, -0.5593022704124451, -0.7031951546669006, -0.6732497811317444, 0.29529640078544617, -0.43347471952438354, -0.7471672296524048, 0.4801008403301239, 0.03289596736431122, -0.390215665102005, 0.049270499497652054, 0.08626914769411087, -0.12394209206104279, 0.03319525346159935, -0.15483032166957855, 0.5328515768051147, -0.540359377861023, 0.4346805810928345, 0.3819880485534668, 0.04900715500116348, 0.07263854891061783, -0.3137957751750946, 0.0014075555372983217, 0.3114130198955536, -0.06852523982524872, 0.029355628415942192, 0.3499108552932739, 0.35583528876304626, -0.041394736617803574, 0.8023054003715515, 0.4898187518119812, -0.3419750928878784, -0.6304404139518738, -0.45531371235847473, -0.14323745667934418, -0.357761025428772, 0.48915165662765503, -0.6962078213691711, -0.6872915625572205, 0.6132590770721436, -0.11855876445770264, -0.02432674914598465, 0.506581723690033, 0.5325590372085571, 0.04895729199051857, 0.5602969527244568, 0.8002281188964844, -0.42078444361686707, 0.6466992497444153, 0.08872146159410477, 0.22906988859176636, -0.5858478546142578, 0.11692671477794647, -0.38318711519241333, -0.16119498014450073, -0.7632458209991455, -0.8457058072090149, 0.12768110632896423, 0.3615189492702484, 0.011027705855667591, 0.3405706286430359, -0.04913681745529175, 0.6561101078987122, 0.33914831280708313, -0.26306191086769104, 0.48875853419303894, -0.010763069614768028, 0.25655996799468994, 0.1036706417798996, -0.787947416305542, -0.42071059346199036, 1.1167067289352417, 0.4430810809135437, 0.9075961709022522, 0.2763650417327881, 0.49732840061187744, 0.017194505780935287, 0.19435171782970428, -0.6677146553993225, 0.19259104132652283, -0.13841105997562408, -0.6096640825271606, -0.49654343724250793, -0.3196302652359009, -0.9378153085708618, 0.06539348512887955, -0.18108920753002167, -0.524190366268158, 0.24029730260372162, -0.28300440311431885, -0.07155492156744003, 0.35364559292793274, -0.964893102645874, 0.5371894836425781, -0.3796769380569458, -0.22533322870731354, -0.11665718257427216, -0.4943307042121887, 0.2606532871723175, -0.476207435131073, 0.28821861743927, -0.14586567878723145, -0.48156440258026123, 0.7630800604820251, 0.1373417228460312, 0.491489440202713, -0.2261805534362793, -0.5406773090362549, 0.04857563599944115, -0.14778223633766174, 0.6468701362609863, 0.4965640902519226, 0.02115808241069317, 0.32582685351371765, 0.14893192052841187, -0.32878538966178894, -0.7809824347496033, 0.9770168662071228, -0.9073324799537659, -0.6830414533615112, 0.01559967640787363, -0.9033246636390686, -0.6185871362686157, 0.27449455857276917, -0.07118590176105499, -0.19118565320968628, -0.16687440872192383, -0.12649516761302948, 0.8054091930389404, -0.23890027403831482, 0.09767226874828339, 0.9503114223480225, -0.5986286997795105, -0.31882068514823914, 0.7303192019462585, 0.25243428349494934, 0.29150474071502686, 0.6301576495170593, -0.3328549563884735, -0.3559863865375519, -0.2870393395423889, -1.2363940477371216, 0.5058311820030212, -0.8597570061683655, -0.14383602142333984, -0.5115275979042053, -0.1305486559867859, -0.598236083984375, -0.2018136978149414, -0.29986703395843506, -0.6707231998443604, -0.5230035781860352, -0.21041998267173767, 0.4382113516330719, 0.5740509629249573, 0.1314236968755722, -0.0705740749835968, -0.6922668814659119, 0.6608691215515137, 0.2745339870452881, 0.31418195366859436, -0.3734447658061981, -0.7452367544174194, -0.47079384326934814, 0.12294070422649384, 0.23555897176265717, -1.0605801343917847, 0.29651105403900146, 0.49263209104537964, 0.6197540163993835, -0.10414861887693405, -0.10831809788942337, 0.6755366921424866, -0.38009166717529297, 0.49630025029182434, -0.14717139303684235, -0.753509521484375, 0.3452402353286743, -0.26735153794288635, 0.2092236876487732, 0.38250428438186646, 0.6287247538566589, -0.6888910531997681, -0.29564401507377625, -0.41306355595588684, -0.6665173172950745, 0.6829697489738464, -0.37318041920661926, 0.25471019744873047, 0.22873292863368988, 0.3769751489162445, 0.24719643592834473, -0.23893283307552338, -0.4422599673271179, -0.14059869945049286, 0.12993671000003815, -0.3509606122970581, -0.24380865693092346, 0.09513342380523682, -0.06408944725990295, -0.11051364243030548, 1.2332789897918701, -0.6107418537139893, -0.10851235687732697, 0.18968109786510468, -0.7171486020088196, -0.5029852390289307, 0.2497960925102234, 0.2843666672706604, 0.756620466709137, 0.21316732466220856, -0.06271297484636307, 0.7800595760345459, -0.2370101809501648, -0.04105697572231293, 0.565525472164154, -0.49230387806892395, 0.19382481276988983, 0.22684083878993988, 0.9720674753189087, 0.3240690231323242, -0.5390541553497314, 0.05144180357456207, -0.07201064378023148, 0.10322701185941696, -0.11629568785429001, 0.1919441819190979, 0.45260384678840637, 0.3508533537387848, 0.31044360995292664, -0.4820667505264282, -0.116009421646595, -0.37186434864997864, 0.07421693950891495, 0.37099409103393555, -0.25807008147239685, -0.18181848526000977, 0.48538339138031006, 0.16248391568660736, -0.25038471817970276, 0.0751788392663002, 0.28499314188957214, -0.11496463418006897, 0.5811099410057068, 0.5567307472229004, 0.7112183570861816, -0.42982780933380127, 0.25412046909332275, 0.33797481656074524, 0.3154178857803345, 0.22580161690711975, 0.39016905426979065, 0.06626162678003311, -0.9829552173614502, -0.4768363833427429, -0.6585185527801514, -0.6264585256576538, -0.12020497024059296, -0.6768074631690979, 0.5533390045166016, -0.11579280346632004, 0.0782889798283577, 0.32746073603630066, 0.03648974001407623, -0.575799286365509, 0.25269749760627747, 0.3079340159893036, 1.1038471460342407, -0.8543212413787842, 1.0772775411605835, 1.0149208307266235, -0.3623778223991394, -1.0475999116897583, -0.149305522441864, -0.40518149733543396, -0.7891811728477478, 0.2748624086380005, -0.2437860369682312, -0.15483155846595764, 0.33250731229782104, -0.07060179114341736, -1.1208094358444214, 1.1697309017181396, 0.8216046690940857, -0.6805253624916077, -0.28316962718963623, 0.5205758213996887, 0.5825984477996826, -0.6136026978492737, 0.11929687857627869, 0.6801095008850098, 0.4974807798862457, -0.2579289376735687, -1.0526996850967407, -0.23494291305541992, -0.19280046224594116, 0.11089783161878586, 0.11364556103944778, -0.518324613571167, 0.373912513256073, -0.21226690709590912, -0.09139613807201385, -0.05889245495200157, 0.6822994947433472, 0.11577244102954865, 0.18836680054664612, 0.6267698407173157, 0.6436256170272827, 0.9260357022285461, 0.1043805330991745, 0.6543682217597961, -0.7067996859550476, 0.23217229545116425, 1.2552919387817383, -0.46596935391426086, 0.6992365717887878, 0.7777065634727478, 0.0617002472281456, 0.7328447699546814, 0.513390302658081, 0.12096266448497772, 0.39065560698509216, -0.1503247767686844, -0.06291834264993668, -0.05049412325024605, -0.3967215418815613, -0.2584775686264038, 0.5206188559532166, 0.3731391727924347, -0.48849764466285706, -0.19986893236637115, 0.10313730686903, -0.018119169399142265, -0.009178726933896542, -0.46027234196662903, 0.9355654120445251, 0.09483110904693604, -0.9972503781318665, 0.4590657949447632, 0.16088388860225677, 0.48507383465766907, -0.4557609558105469, -0.0011414993787184358, -0.2746843993663788, 0.0171967763453722, -0.09916231781244278, -0.6955451369285583, 0.2623331844806671, 0.08482415229082108, -0.3307335078716278, -0.19238103926181793, 0.9475250244140625, -0.8662752509117126, -0.7050788998603821, 0.6845995783805847, 0.8541917204856873, 0.010915681719779968, 0.39474067091941833, -0.7217504978179932, -0.31547173857688904, -0.04743076488375664, -0.19324737787246704, 0.23327675461769104, 0.5058322548866272, -0.4218796491622925, 0.5312661528587341, 0.6575048565864563, 0.2986700236797333, 0.2279585897922516, 0.26004233956336975, 0.6302372813224792, -0.5253794193267822, -0.5438717603683472, -0.34351280331611633, 0.300547331571579, 0.1985723078250885, -0.2624703645706177, 0.9430776238441467, 0.4861088693141937, 1.2130385637283325, -0.09986121207475662, 0.5053138136863708, 0.23355817794799805, 0.840647280216217, -0.7931440472602844, 0.669323205947876, -0.5517623424530029, 0.2224092036485672, -0.038537487387657166, -1.0488132238388062, -0.07387261092662811, 0.22273002564907074, -0.3336189389228821, 0.07236400991678238, 0.43551328778266907, 1.063917636871338, -0.11395028233528137, 0.0698525458574295, 0.4163057208061218, 0.003506643930450082, 0.06662731617689133, 0.5638459324836731, 0.49896907806396484, -0.40008699893951416, 0.20172995328903198, -0.33819934725761414, 0.05425625666975975, 0.05818231403827667, -0.6481635570526123, -0.7201498746871948, -0.5830515027046204, -0.19889478385448456, -0.05527910217642784, 0.23278546333312988, 0.717991292476654, 0.7387867569923401, -0.9477012157440186, -0.16289685666561127, 0.16869543492794037, 0.3923013508319855, 0.13688135147094727, -0.20193196833133698, 0.2319345623254776, -0.3495531380176544, -1.1157463788986206, 0.6283798217773438, 0.1941862553358078, -0.0930146649479866, -0.46167805790901184, -0.30400341749191284, -0.4920228123664856, 0.2783478796482086, 0.19824212789535522, 0.19420205056667328, -0.5160728693008423, -0.25811508297920227, 0.16166798770427704, -0.1366479992866516, 0.017637111246585846, 0.4695731997489929, -0.6806417107582092, 0.6289108395576477, 0.4459262192249298, 1.0850062370300293, 0.4427059292793274, 0.08261752128601074, 0.7026094794273376, -0.6617454886436462, 0.1357899010181427, 0.03474893793463707, 0.3850241005420685, 0.6671111583709717, -0.5511181950569153, 0.4976550042629242, -0.039199069142341614, -0.3826808035373688, -0.5690247416496277, -0.053713008761405945, -0.7840099334716797, -0.17948605120182037, 1.2043174505233765, -0.1932460218667984, -0.5112523436546326, -0.23133498430252075, -0.05658851936459541, 0.5196448564529419, -0.12739881873130798, 0.6731334328651428, 0.7225196957588196, 0.30573517084121704, -0.2938069999217987, -0.5674952864646912, 0.2417704463005066, 0.648411214351654, -1.1986664533615112, -0.15748851001262665, 0.38439199328422546, 0.52561354637146, 0.18298755586147308, 0.3286891281604767, 0.2208414077758789, 0.5271022319793701, -0.3903549909591675, 0.09132158756256104, 0.13172189891338348, -0.41072073578834534, -0.584683358669281, -0.27169325947761536, 0.31986066699028015, 0.1395682990550995 ]
http://arxiv.org/abs/2402.14835v1
http://arxiv.org/pdf/2402.14835v1
MIKE: A New Benchmark for Fine-grained Multimodal Entity Knowledge Editing
2024-02-18T07:15:03
2024-02-18T07:15:03
Jiaqi Li, Miaozeng Du, Chuanyi Zhang, Yongrui Chen, Nan Hu, Guilin Qi, Haiyun Jiang, Siyuan Cheng, Bozhong Tian
cs.CL
cs.CL, cs.AI, cs.LG
Multimodal knowledge editing represents a critical advancement in enhancing the capabilities of Multimodal Large Language Models (MLLMs). Despite its potential, current benchmarks predominantly focus on coarse-grained knowledge, leaving the intricacies of fine-grained (FG) multimodal entity knowledge largely unexplored. This gap presents a notable challenge, as FG entity recognition is pivotal for the practical deployment and effectiveness of MLLMs in diverse real-world scenarios. To bridge this gap, we introduce MIKE, a comprehensive benchmark and dataset specifically designed for the FG multimodal entity knowledge editing. MIKE encompasses a suite of tasks tailored to assess different perspectives, including Vanilla Name Answering, Entity-Level Caption, and Complex-Scenario Recognition. In addition, a new form of knowledge editing, Multi-step Editing, is introduced to evaluate the editing efficiency. Through our extensive evaluations, we demonstrate that the current state-of-the-art methods face significant challenges in tackling our proposed benchmark, underscoring the complexity of FG knowledge editing in MLLMs. Our findings spotlight the urgent need for novel approaches in this domain, setting a clear agenda for future research and development efforts within the community.
[ -0.6807828545570374, -0.754730224609375, 0.556523859500885, -0.11401982605457306, 0.10033973306417465, 0.12720905244350433, -0.45411407947540283, -0.4172443449497223, -0.18349213898181915, 0.3160424530506134, -0.593244194984436, -0.8355127573013306, -0.6322488188743591, 0.1481693834066391, -0.17388784885406494, 0.7640000581741333, -0.11868026852607727, 0.05284800007939339, -0.24680043756961823, -0.2715287208557129, -0.3279084861278534, -0.2292933464050293, -0.7369175553321838, 0.11563269048929214, 0.9332408905029297, 0.4188637137413025, 0.7243291139602661, 0.6076505780220032, 0.5715710520744324, 0.3176119923591614, -0.11363505572080612, 0.5384384989738464, -0.18276983499526978, 0.17058566212654114, -0.268562376499176, -0.26085320115089417, -0.7332963943481445, -0.02118917927145958, 0.8009886741638184, 0.7532764673233032, 0.021936839446425438, 0.316690593957901, -0.012435332871973515, 0.4937637746334076, -1.0728744268417358, 0.3182034492492676, -0.9466418623924255, 0.13871701061725616, -0.35841500759124756, -0.016529731452465057, -0.2515338361263275, 0.04729299619793892, 0.049057308584451675, -0.8033837080001831, 0.11777226626873016, -0.0384521558880806, 0.5309663414955139, 0.26374614238739014, -0.5147352814674377, -0.058537233620882034, -0.6292292475700378, 0.6643081903457642, -0.6184834837913513, 0.907229483127594, 0.09657846391201019, 0.36317864060401917, -0.2923263907432556, -0.970289945602417, -0.8275004029273987, -0.2680812180042267, 0.2553287744522095, -0.17728164792060852, -0.21072812378406525, 0.2967749238014221, 0.4430382549762726, 0.056960780173540115, -0.18675796687602997, -0.031037284061312675, -0.17064169049263, -0.22491705417633057, 0.27636563777923584, 0.31788691878318787, 0.12286589294672012, -0.20553745329380035, -0.5426742434501648, 0.005453432444483042, -0.4798573851585388, 0.23567216098308563, 0.05874192342162132, 0.2953517735004425, 0.2964448034763336, 0.850733757019043, -0.4371834397315979, 0.7476904392242432, -0.061054687947034836, -0.4058307409286499, 0.3404332101345062, -0.406215101480484, -0.3886604309082031, 0.1214919313788414, 0.7763652801513672, 0.8847930431365967, -0.025259513407945633, -0.16890734434127808, -0.2453497350215912, -0.12948718667030334, 0.3134780824184418, -0.7187589406967163, -0.10571134835481644, 0.051954884082078934, -0.44425418972969055, -0.009473297744989395, 0.11576399207115173, -0.8938211798667908, -0.6093743443489075, -0.36653241515159607, 0.5496821999549866, -0.6606228351593018, -0.1683206558227539, 0.11445542424917221, -0.19717158377170563, -0.2584599554538727, 0.6408137083053589, -0.6597601175308228, -0.0657048225402832, 0.8669683933258057, 0.7600137591362, 0.13206034898757935, -0.8016229271888733, -0.5544701218605042, 0.4873825013637543, -0.3563885986804962, 0.704461395740509, -0.7327185273170471, 0.07105827331542969, -0.09498898684978485, -0.029437625780701637, -0.07667077332735062, -0.6277691721916199, 0.6294130682945251, -0.28833654522895813, -0.2698037028312683, -0.2545402944087982, -0.7470355033874512, -0.19191338121891022, 0.48417922854423523, -0.6647932529449463, 1.124656081199646, 0.1859511435031891, -0.7075358629226685, 0.7498589158058167, -0.5996994972229004, -0.12825393676757812, -0.2512724995613098, -0.035941846668720245, -0.16774626076221466, 0.15210914611816406, 0.1927618682384491, 0.8195626139640808, -0.05962616205215454, 0.358892560005188, -0.7542645931243896, -0.11089236289262772, 0.36330363154411316, -0.5481815338134766, 0.1823660433292389, 0.13653771579265594, -0.2726425230503082, 0.1070769876241684, -1.2083799839019775, 0.0827627182006836, -0.28105849027633667, -0.6061677932739258, -0.5177642703056335, 0.03612362593412399, 0.026052365079522133, 0.5301485657691956, 0.1620006561279297, -0.4615381062030792, 0.3993667960166931, 0.20132094621658325, 0.4092015326023102, 0.5508069396018982, -0.060112159699201584, 0.3232889175415039, -0.1845368891954422, 0.1314786970615387, 0.4382515847682953, 0.3348442018032074, -0.3700498044490814, -0.37277916073799133, -0.7533965706825256, -0.41196268796920776, 0.5600844025611877, 0.30308541655540466, -1.002307415008545, 0.05901867523789406, -0.32957059144973755, -0.6843081116676331, -0.829039990901947, 0.41248613595962524, 0.2501319348812103, 0.5068255066871643, 0.6640959978103638, -0.3001865744590759, -0.5044692754745483, -1.1310399770736694, -0.3673384189605713, 0.06514260917901993, -0.27167147397994995, 0.31160321831703186, 0.3703114986419678, -0.40877407789230347, 0.8235247135162354, -0.2138681411743164, -0.36567771434783936, 0.046641986817121506, 0.425631046295166, -0.3170780539512634, 0.5696004629135132, 0.5518966913223267, -0.6530919671058655, -0.24907003343105316, 0.04113591089844704, -0.6719341278076172, 0.08434290438890457, -0.25192198157310486, -0.20591938495635986, -0.06330171972513199, 0.6948626041412354, -0.9461672306060791, -0.05249941721558571, 0.5478654503822327, -0.30143120884895325, 0.45324787497520447, -0.19128425419330597, 0.4953247308731079, -0.9249581694602966, 0.03122813254594803, -0.01561391819268465, -0.20067520439624786, -0.6424329876899719, 0.11651255190372467, 0.45440974831581116, 0.12927860021591187, -0.5737069845199585, 0.3993366062641144, -0.47129353880882263, -0.1318058967590332, 0.33031731843948364, 0.24561557173728943, 0.06932679563760757, 0.4990880787372589, -0.283942848443985, 0.7011377811431885, 0.2556932270526886, -0.544643223285675, 0.5131096243858337, 0.029321856796741486, -0.6580771803855896, 0.928485631942749, -0.1436351090669632, 0.031209997832775116, -0.25810012221336365, 0.16776052117347717, -0.6970686912536621, 0.030067957937717438, 0.1564362794160843, -0.17344975471496582, 0.33915016055107117, -0.27128905057907104, -0.5380274653434753, -0.008201069198548794, -0.4612605571746826, 0.15176083147525787, -0.4232436418533325, -0.20734162628650665, 0.746934711933136, 0.37637537717819214, -0.19828614592552185, -0.7978926301002502, -0.4930751621723175, 0.4698961079120636, -0.13724175095558167, -0.5642766356468201, 0.5245729088783264, -0.1490042507648468, -0.35187119245529175, 0.07595068216323853, -0.14349058270454407, -0.29191848635673523, 0.13557006418704987, -0.03240114077925682, 0.08693479001522064, -0.5414597988128662, 0.25443196296691895, 0.18976007401943207, -0.06582538783550262, -0.06598275154829025, -0.10622891783714294, 0.20151954889297485, 0.14048978686332703, -0.15524102747440338, -0.3758683502674103, 0.3804641366004944, 0.9316686391830444, -0.46073704957962036, 0.7247361540794373, 1.0041109323501587, -0.5565312504768372, 0.08557827025651932, -0.7830244302749634, 0.2686958312988281, -0.3862067461013794, 0.5953710079193115, -0.7156603336334229, -0.7628226280212402, 0.16484782099723816, -0.38805192708969116, 0.20701497793197632, 0.4253087341785431, 0.2961842119693756, -0.23588578402996063, 0.771004319190979, 0.3251889646053314, 0.07281287759542465, 0.5367938876152039, 0.0079506766051054, -0.17141366004943848, -1.0197771787643433, -0.261022686958313, -0.5005655288696289, -0.5042473077774048, -0.4216998219490051, -0.7844793796539307, 0.28405457735061646, 0.43168777227401733, -0.028468549251556396, 0.1374344378709793, 0.03521858900785446, 0.3256874978542328, 0.5290889739990234, 0.22088277339935303, 0.5441159605979919, -0.54135662317276, -0.33480304479599, -0.2561653256416321, -0.5323292016983032, -0.5068948268890381, 1.1471099853515625, 0.17989592254161835, 0.48324915766716003, 0.14284835755825043, 0.34109559655189514, 0.3696824014186859, 0.2920919954776764, -0.6603185534477234, 0.5272030830383301, -0.11673520505428314, -0.7793776392936707, -0.41561809182167053, -0.3553108274936676, -0.5902208089828491, 0.3650608956813812, -0.7732611298561096, -0.5144977569580078, 0.055849313735961914, 0.3208487629890442, -0.3894445300102234, 0.5921244025230408, -0.8990046381950378, 1.247406244277954, 0.12015677243471146, -0.309658944606781, -0.1911461055278778, -0.5715571641921997, 0.28702619671821594, -0.007828975096344948, 0.32920849323272705, -0.5306372046470642, -0.29753291606903076, 0.3963571786880493, -0.15541791915893555, 0.38497596979141235, -0.43319466710090637, -0.101965993642807, 0.05542774125933647, 0.021466681733727455, 0.512129545211792, 0.25375914573669434, 0.1006615087389946, 0.09861141443252563, 0.09557296335697174, -0.16221356391906738, -0.7327229976654053, 0.6592239141464233, -0.34305864572525024, -0.17343510687351227, 0.13467983901500702, -0.4001650810241699, -0.5557950139045715, 0.18087580800056458, -0.11218491941690445, 0.6571456789970398, -0.3945922255516052, 0.37897759675979614, 0.7624411582946777, -0.33612751960754395, 0.42350372672080994, 0.4197655916213989, -0.045601747930049896, -0.5225299596786499, 0.7106354236602783, 0.2844652831554413, 0.14918185770511627, 0.7030417919158936, -0.24335119128227234, -0.1357702910900116, -0.6803936958312988, -0.8974369168281555, -0.22855550050735474, -0.7096639275550842, -0.3652839958667755, -1.0964791774749756, 0.08101797848939896, -0.20694999396800995, -0.0769432783126831, -0.6438723802566528, -0.548766553401947, 0.017957264557480812, 0.10792162269353867, 0.01863633655011654, 0.5366309881210327, 0.06847326457500458, -0.13235965371131897, -0.9995043873786926, 0.5857362151145935, 0.6195797324180603, 0.6296387910842896, -0.016035405918955803, 0.09605054557323456, -0.3179008662700653, 0.02215045876801014, -0.25091883540153503, -0.7365915179252625, -0.29558268189430237, 0.36934754252433777, 0.6206591129302979, 0.36529597640037537, -0.01891210861504078, 1.074716329574585, -0.8372498154640198, 0.6258559823036194, 0.06683198362588882, -1.0748521089553833, 0.3897716999053955, -0.26710212230682373, 0.2747695744037628, 0.7013134360313416, 0.3175278604030609, -0.9483161568641663, -0.5214962363243103, -0.32311856746673584, -0.7475219368934631, 0.5007109642028809, 0.014167613349854946, 0.003716357983648777, 0.1920652687549591, 0.2524411380290985, 0.26605039834976196, 0.563280463218689, -0.3837697207927704, -0.2867656350135803, -0.1364009827375412, -0.19101418554782867, -0.32260194420814514, -0.5399980545043945, 0.10553175956010818, -0.42465853691101074, 0.6371960639953613, -0.18356364965438843, 0.22132940590381622, 0.18000784516334534, -0.532074511051178, 0.06650687754154205, 0.6968140006065369, 0.8970901966094971, 0.7301284670829773, -0.25214123725891113, 0.39198291301727295, 0.4873278737068176, -0.4768674969673157, -0.05578836053609848, 0.2591865360736847, -0.0006355201476253569, 0.23076511919498444, 0.36655232310295105, 0.7594451308250427, 0.8132543563842773, -0.5564280152320862, 0.38762447237968445, -0.25699472427368164, -0.18223144114017487, 0.013338308781385422, 0.17214009165763855, 0.1461206078529358, 0.6159173250198364, 0.28977102041244507, 0.3995862305164337, 0.2721422016620636, -0.44850194454193115, 0.17943055927753448, 0.377835214138031, -0.256945937871933, -0.18125440180301666, 0.6735591292381287, 0.170321524143219, -0.11214489489793777, 0.28253161907196045, -0.22624772787094116, -0.15678143501281738, 0.04938506335020065, 0.03180450573563576, 0.5445825457572937, -0.27799755334854126, 0.03174161538481712, 0.42156848311424255, 0.49577629566192627, 0.19153030216693878, 0.04614204913377762, -0.1308615356683731, -0.821523129940033, -0.24234676361083984, -0.60066157579422, -0.4965387284755707, 0.28480228781700134, -0.6151111125946045, 0.38054558634757996, -0.5592955350875854, -0.3991841971874237, 0.6411706209182739, -0.08214832097291946, -0.8484618067741394, 0.2513771057128906, 0.25341472029685974, 1.0697129964828491, -0.18008765578269958, 0.9096626043319702, 0.849945604801178, -0.04249301180243492, -0.4998013973236084, -0.25216981768608093, 0.24927149713039398, -0.35548481345176697, 0.27474579215049744, 0.2050466686487198, -0.029720207676291466, 0.0009347781306132674, -0.12411896139383316, -0.6692906022071838, 1.1496604681015015, 0.5466750264167786, -0.7200421690940857, -0.1571671962738037, 0.13181522488594055, 0.23482832312583923, -0.2827964723110199, 0.29532095789909363, 0.7191146612167358, 0.7851172089576721, -0.29905495047569275, -1.0013843774795532, -0.29109495878219604, -0.16561123728752136, 0.16623620688915253, 0.2935977578163147, -0.45295584201812744, 0.8838863968849182, -0.11629927903413773, 0.09292015433311462, -0.1335408091545105, 0.6112541556358337, -0.14485880732536316, 0.4901466369628906, 0.6462602019309998, 0.6207516193389893, 0.7182124257087708, -0.23235858976840973, 0.3930356800556183, -0.35457557439804077, 0.41111719608306885, 1.2929058074951172, -0.21014395356178284, 1.0227068662643433, 0.5098825097084045, -0.15892836451530457, 0.29840824007987976, 0.3580663204193115, -0.0659480020403862, 0.31025245785713196, -0.09570722281932831, -0.48939672112464905, -0.30938640236854553, -0.03238394856452942, -0.30750685930252075, 0.8605910539627075, 0.31739649176597595, -0.36161836981773376, -0.20399779081344604, 0.13985934853553772, 0.423261821269989, -0.20793244242668152, -0.5744399428367615, 0.7999761700630188, -0.29065847396850586, -0.4541008770465851, 0.09872797876596451, 0.2984655201435089, 0.7864025831222534, -0.5599852204322815, -0.06190181151032448, 0.08916322886943817, 0.2820607125759125, -0.07500149309635162, -0.8420669436454773, 0.24872757494449615, 0.14368700981140137, -0.23669832944869995, -0.18432427942752838, 0.595819354057312, -0.7047739028930664, -0.32639673352241516, 0.2719171643257141, 0.4962088465690613, -0.2904350161552429, -0.3468850255012512, -0.7513856887817383, 0.1467312127351761, -0.2960800230503082, -0.27705609798431396, 0.24401973187923431, 0.9692386388778687, 0.2917192578315735, 0.6335881948471069, 0.534306526184082, -0.13401657342910767, 0.27221086621284485, -0.019313419237732887, 0.7937759757041931, -0.7747507691383362, -0.20447763800621033, -0.815931499004364, 0.6883535981178284, -0.07731537520885468, -0.508173406124115, 0.6051719188690186, 0.7552064657211304, 1.2231334447860718, -0.14588011801242828, 0.6075286865234375, -0.06809398531913757, 0.3222065269947052, -0.8737826347351074, 0.8087559938430786, -0.7447251081466675, -0.21396371722221375, -0.7402737140655518, -0.9513155817985535, -0.2345283031463623, 0.3355192244052887, 0.25924408435821533, -0.09469752758741379, 0.6839366555213928, 0.7162448167800903, -0.1818029135465622, -0.03604276850819588, 0.6769856214523315, 0.32112225890159607, 0.1493247151374817, 0.4972962737083435, 0.9647935032844543, -0.35722726583480835, 0.5748275518417358, -0.48447054624557495, 0.1451641172170639, -0.05655664578080177, -0.8417460322380066, -0.9047427773475647, -0.7869580388069153, -0.19376319646835327, 0.018321048468351364, 0.03118845820426941, 1.3701117038726807, 0.6122798323631287, -0.6301307678222656, 0.2558525800704956, 0.5505453944206238, 0.01320969220250845, -0.48764222860336304, -0.16729755699634552, -0.11115416139364243, -0.23556791245937347, -0.8562602400779724, 0.39453399181365967, 0.5925339460372925, 0.03652280196547508, -0.23394392430782318, 0.1324816197156906, -0.26002100110054016, -0.20826371014118195, 0.9738056659698486, -0.21176761388778687, -0.7725761532783508, -0.41662198305130005, -0.27711206674575806, -0.22733712196350098, 0.2844182252883911, 0.9683265686035156, -0.6020506620407104, 0.5555664300918579, -0.04482806846499443, 0.7598475217819214, 0.24151240289211273, -0.37813547253608704, 0.2957119345664978, -0.8297457098960876, -0.07702312618494034, -0.07451459765434265, 0.5546603202819824, 0.39390355348587036, -0.12946367263793945, 0.23534871637821198, 0.22814486920833588, -0.25087252259254456, -0.6590524315834045, -0.1055980697274208, -0.9724902510643005, -0.10063093155622482, 0.8609217405319214, -0.40252751111984253, 0.06615067273378372, -0.2412428855895996, -0.4017728269100189, 0.35287776589393616, -0.4326059818267822, 0.6629993915557861, 0.9784979224205017, 0.20471559464931488, -0.35311952233314514, -0.846556544303894, 0.5840886235237122, 0.010575096122920513, -0.9976687431335449, 0.2799331843852997, 0.8154131174087524, 0.2951522469520569, 0.01682164892554283, 0.4376099109649658, 0.12416107952594757, 0.28840863704681396, 0.061808597296476364, 0.14250744879245758, -0.4381823241710663, -0.625823438167572, -0.1674910932779312, 0.3556559085845947, 0.07408446818590164, -0.0059701488353312016 ]
http://arxiv.org/abs/2402.11481v1
http://arxiv.org/pdf/2402.11481v1
DictLLM: Harnessing Key-Value Data Structures with Large Language Models for Enhanced Medical Diagnostics
2024-02-18T07:10:02
2024-02-18T07:10:02
YiQiu Guo, Yuchen Yang, Ya Zhang, Yu Wang, Yanfeng Wang
cs.CL
cs.CL
Structured data offers a sophisticated mechanism for the organization of information. Existing methodologies for the text-serialization of structured data in the context of large language models fail to adequately address the heterogeneity inherent in key-value structured data. These methods are not ideal and frequently result in larger input sizes and poor adaptability to input changes. In this paper, we introduce DictLLM, an innovative framework designed to improve the modeling of key-value structured data, like medical laboratory reports, for generating medical diagnoses. DictLLM integrates three key components: (1) group positional encoding to maintain permutation invariance, (2) hierarchical attention bias to capture the inherent bias in structured data, and (3) an optimal transport alignment layer that aligns the embedding generated by the dictionary encoder with the LLM, thereby producing a sequence of fixed-length virtual tokens. We carry out experiments using various LLM models on a comprehensive real-world medical laboratory report dataset for automatic diagnosis generation, our findings illustrate that DictLLM significantly outperforms established baseline methods and few-shot GPT-4 implementations in terms of both Rouge-L and Knowledge F1 scores. Furthermore, our evaluation of the framework's scalability and robustness, through a series of experiments, underscores its exceptional capability in accurately modeling the complex key-value data structure of medical dictionary data.
[ 0.17462454736232758, -0.793622612953186, 0.8683372139930725, 0.19363515079021454, -0.346842885017395, 0.20827198028564453, 0.08154192566871643, -0.2950395941734314, -0.03394542261958122, -0.004116942174732685, -0.1151302382349968, -0.8920534253120422, -0.6264451742172241, 0.24194560945034027, -0.7305638194084167, 0.973154604434967, 0.09392648935317993, 0.1722860485315323, -0.34462472796440125, -0.019544409587979317, -0.166733980178833, -0.8855111002922058, -0.13663889467716217, -0.20773550868034363, 0.3084045350551605, 0.055083490908145905, 0.850171685218811, 0.9683297276496887, 0.85770183801651, 0.22365562617778778, -0.2523193955421448, 0.20885193347930908, -0.3811039626598358, 0.05140627920627594, 0.09092316031455994, -0.268363356590271, -0.7531378865242004, -0.022846654057502747, 0.8169173002243042, 1.056033968925476, -0.42213860154151917, -0.1439531296491623, -0.15986038744449615, 0.6247696280479431, -0.17549744248390198, 0.3214775025844574, -0.4808708429336548, -0.00013913805014453828, -0.07121830433607101, -0.04589533060789108, -0.2921237051486969, -0.25788697600364685, -0.01885654218494892, -0.7268999218940735, 0.11383552104234695, -0.15033097565174103, 0.6926389932632446, 0.5860316157341003, -0.3221381604671478, -0.3745260536670685, -0.6072345972061157, 0.3641427755355835, -0.8257659673690796, 0.33732694387435913, 0.17802879214286804, 0.24537546932697296, -0.24755480885505676, -0.9037624001502991, -0.40834495425224304, -0.036192458122968674, -0.20117126405239105, 0.19534200429916382, 0.15474911034107208, 0.033857543021440506, 0.05210455134510994, 0.45906177163124084, -0.4855278730392456, 0.05466293543577194, -0.1816873699426651, 0.041478704661130905, 0.49264803528785706, 0.6345057487487793, 0.2416253536939621, 0.04118119552731514, -0.4405335485935211, 0.0982832983136177, -0.7223817706108093, -0.2863391935825348, -0.1463385373353958, 0.3171129524707794, -0.1393756866455078, 0.2357056885957718, -0.060621559619903564, 0.9580187797546387, 0.2990342378616333, -0.4469958543777466, 0.4457210600376129, -0.6103990077972412, -0.2909463346004486, 0.2914904057979584, 0.643557071685791, 0.41327065229415894, -0.23317137360572815, -0.1676589697599411, -0.21594679355621338, -0.09208757430315018, 0.15211476385593414, -1.0436813831329346, -0.3547106683254242, 0.4135527014732361, -0.6745724678039551, -0.7194210886955261, -0.1611437201499939, -0.5152344703674316, -0.5137419104576111, -0.1403418332338333, 0.3025318682193756, -0.6160546541213989, -0.2277613878250122, 0.35871538519859314, -0.019778944551944733, -0.1987047791481018, 0.2821069657802582, -0.8873702883720398, 0.522274374961853, 0.44322335720062256, 0.8400222063064575, -0.3039468824863434, 0.16252104938030243, -0.6666909456253052, 0.14303439855575562, -0.3990940451622009, 0.5560864806175232, -0.5778319239616394, -0.4028396010398865, -0.21376144886016846, -0.043801940977573395, 0.17091867327690125, -0.7383493185043335, 0.07158291339874268, -0.2428596168756485, -0.2104981392621994, -0.06431844085454941, -0.6295226216316223, 0.27374106645584106, 0.35810044407844543, -0.5358093976974487, 0.9344914555549622, 0.5551320910453796, -0.6542752385139465, 0.6243470311164856, -0.5323740839958191, -0.5624616146087646, 0.31467363238334656, -0.40322068333625793, -0.5750400424003601, 0.09581489115953445, 0.17047464847564697, 0.6436355113983154, -0.3763803243637085, 0.6744502186775208, -0.1211543008685112, -0.3769904673099518, 0.36189526319503784, -0.22538436949253082, 0.46221280097961426, 0.13836726546287537, 0.0305138248950243, -0.13253547251224518, -1.0051230192184448, -0.2665439546108246, 0.1772536188364029, -0.5532812476158142, -0.46696892380714417, 0.2871086299419403, -0.07936356216669083, 0.15615145862102509, 0.13804493844509125, -0.5597000122070312, 0.3804173171520233, -0.7660958170890808, 0.7154057025909424, 0.4594038724899292, -0.2219420224428177, 0.3994430899620056, -0.42346593737602234, 0.3221971094608307, 0.7088018655776978, 0.2145049273967743, -0.02840670943260193, -0.29741567373275757, -0.09039739519357681, -0.5595980882644653, 0.28669068217277527, 0.44756993651390076, -0.3359840214252472, 0.126842200756073, -0.2706143260002136, -0.11190058290958405, -0.49110883474349976, -0.04628470167517662, 0.012589840218424797, 0.9911652207374573, 0.5777775645256042, -0.05821565166115761, -0.32968494296073914, -0.665852963924408, 0.22641339898109436, -0.20209062099456787, -0.14773423969745636, 0.05092969536781311, 0.09974122792482376, -0.7336277365684509, 0.8161224126815796, -0.6155053377151489, -0.25575706362724304, -0.12267686426639557, -0.09565155953168869, 0.7594555616378784, 0.26521384716033936, 0.5359981656074524, -0.6366733908653259, -0.4279913902282715, 0.023286523297429085, -0.525092363357544, -0.2946667969226837, 0.048946842551231384, 0.11191178858280182, -0.051131971180438995, 0.3233506381511688, -0.27276214957237244, 0.37281274795532227, 0.3933664858341217, -0.4292624890804291, 0.3774278163909912, -0.4009111225605011, 0.14546014368534088, -1.2122905254364014, -0.007066602353006601, -0.2378147393465042, -0.5675809383392334, -0.680030882358551, -0.16728687286376953, 0.3408760726451874, 0.15950603783130646, -0.2570173740386963, 0.35726457834243774, -0.297207772731781, 0.3041660487651825, -0.08493249118328094, -0.07702549546957016, 0.20449431240558624, -0.08271085470914841, 0.09483160823583603, 0.3837209939956665, 0.47135376930236816, -0.6345042586326599, 0.36612287163734436, 0.4165785610675812, -0.12518441677093506, 0.6425555348396301, -0.724908173084259, -0.022322162985801697, -0.1426740139722824, -0.06554540991783142, -0.993494987487793, -0.1802327185869217, -0.0570017546415329, -0.17957712709903717, 0.6992908716201782, -0.11094912886619568, -0.6837788820266724, -0.2820091247558594, -0.2818305790424347, 0.499990314245224, 0.7144280672073364, -0.48666468262672424, 0.3209511339664459, 0.4925113320350647, -0.002960083307698369, -0.37696373462677, -0.721001386642456, -0.11177323013544083, -0.2718997895717621, -0.5873302221298218, 0.696773111820221, -0.2679559588432312, -0.3066919445991516, 0.037350691854953766, -0.28380364179611206, -0.3913049101829529, 0.2969530522823334, 0.3508288562297821, 0.48681414127349854, -0.1715310662984848, 0.41666051745414734, 0.24827280640602112, -0.014083138667047024, 0.07901626825332642, -0.17708054184913635, 0.41159915924072266, -0.04135555773973465, -0.2180798202753067, 0.03247708082199097, 0.29035329818725586, 0.598353385925293, 0.12221960723400116, 0.7462201714515686, 0.14961877465248108, -0.49367690086364746, -0.39208266139030457, -0.015629706904292107, -0.0850255936384201, -0.4218262732028961, 0.5093132853507996, -0.24896275997161865, -0.7808641195297241, 0.3430348336696625, -0.29603877663612366, -0.04283076152205467, 0.33783653378486633, 0.8184862732887268, -0.36321955919265747, 1.1685967445373535, 0.36394327878952026, -0.08843030780553818, -0.10420281440019608, 0.025240855291485786, 0.28897303342819214, -0.6103038787841797, -0.1677248179912567, -0.24991375207901, -0.16066372394561768, -0.08913061022758484, -0.49356845021247864, 0.7608964443206787, 0.13653261959552765, -0.03379407897591591, -0.27367907762527466, -0.9044266939163208, 0.23998473584651947, -0.12977419793605804, 0.06659235805273056, 0.5768539905548096, -0.17716319859027863, -0.3630948066711426, 0.16845357418060303, -0.7858210206031799, -0.45817944407463074, 1.3673845529556274, 0.42272207140922546, 0.978106677532196, 0.011428934521973133, 0.6235777139663696, 0.1489877551794052, 0.4851119816303253, -0.9229951500892639, 0.08225683867931366, -0.54048752784729, -0.22826378047466278, -0.1503666192293167, -0.3098662793636322, -0.8507454991340637, -0.05081702768802643, 0.050338827073574066, -0.21141137182712555, 0.08394172787666321, 0.36311888694763184, -0.6567012667655945, -0.08488281816244125, -0.4733773469924927, 0.5952759385108948, -0.16518741846084595, -0.038274362683296204, 0.1275734156370163, -0.8197821974754333, 0.3718850612640381, -0.42331576347351074, 0.4817148745059967, -0.034975048154592514, 0.042932912707328796, 0.5571356415748596, -0.8656015396118164, 0.7583019733428955, -0.10137637704610825, -0.24556627869606018, -0.14362528920173645, -0.03233342990279198, 0.3017404079437256, 0.5013842582702637, -0.07501178979873657, 0.30306127667427063, 0.5069152116775513, -0.014618313871324062, -0.334170401096344, 0.6440127491950989, -0.614508867263794, -0.31070175766944885, -0.429412841796875, -0.833067774772644, -0.28747302293777466, 0.06640547513961792, 0.11786456406116486, 0.7628677487373352, -0.1605151742696762, 0.004443881567567587, 0.8383533358573914, -0.25656431913375854, 0.21121089160442352, 0.7043887376785278, -0.017616581171751022, -0.08572006225585938, 0.5958617329597473, 0.19566892087459564, 0.4329105317592621, 0.5175012350082397, 0.3381310701370239, -0.3442564010620117, -0.7921510934829712, -0.30877822637557983, 0.25857555866241455, -0.6525943279266357, -0.5155638456344604, -0.6369658708572388, -0.3732781410217285, -0.4946272671222687, -0.0828113704919815, -0.3582105338573456, -0.3764152526855469, -0.4097556471824646, -0.260159969329834, 0.6617929339408875, 0.7172819375991821, -0.18611469864845276, 0.1309140920639038, -0.7864214181900024, 0.6298251152038574, 0.06158647686243057, 0.2987857460975647, -0.39371058344841003, -0.31801289319992065, -0.36329329013824463, 0.07495968788862228, -0.06660747528076172, -0.7694788575172424, 0.5301028490066528, 0.2595262825489044, 0.5638198852539062, 0.29318538308143616, 0.1804226040840149, 0.6373977661132812, -0.7483708262443542, 0.5175279378890991, 0.0645662248134613, -0.7990958094596863, 0.5522910356521606, -0.027513813227415085, 0.1763632744550705, 0.3477797210216522, 0.15884196758270264, -0.44982537627220154, -0.6221253871917725, -0.2805103063583374, -0.828254222869873, 0.596781849861145, -0.17540964484214783, -0.24883197247982025, -0.3323768377304077, 0.4733242392539978, 0.2439757138490677, 0.07889215648174286, -0.3567192554473877, -0.2824849784374237, -0.434224396944046, -0.9210180044174194, 0.06705059111118317, -0.25193703174591064, -0.3231472671031952, -0.6529317498207092, 0.11919964849948883, -0.20471087098121643, 0.21630452573299408, 0.7263779640197754, -0.31869927048683167, 0.2263549119234085, -0.013402946293354034, 0.4269949793815613, 0.6257542371749878, -0.30080708861351013, 0.33700111508369446, -0.11055377870798111, -0.8562522530555725, 0.3155457377433777, 0.2160441279411316, 0.06998840719461441, 0.055124059319496155, 0.23622147738933563, 0.41569334268569946, -0.08533081412315369, -0.756916344165802, 0.5567236542701721, -0.08195702731609344, -0.4605177044868469, -0.03464590013027191, -0.061846740543842316, 0.3068130612373352, 0.1355232298374176, 0.3043562173843384, -0.3924862742424011, 0.3098430931568146, -0.34298065304756165, 0.2936265766620636, 0.2933756411075592, -0.23013828694820404, -0.40491265058517456, 0.8601990938186646, 0.15592730045318604, 0.0030849971808493137, 0.7416823506355286, -0.054104432463645935, -0.21285101771354675, 0.7029994130134583, 0.7659998536109924, 0.3437151610851288, -0.3099444806575775, 0.140212744474411, 0.16298411786556244, 0.309765487909317, -0.12867748737335205, 0.3467675447463989, 0.07119517028331757, -0.8216531276702881, -0.33828192949295044, -0.8803955912590027, 0.011383549310266972, 0.3910914957523346, -0.4509461522102356, 0.22737567126750946, -0.45813265442848206, 0.006146745756268501, -0.07899275422096252, -0.333341121673584, -0.5788449048995972, 0.24956892430782318, -0.016384294256567955, 0.7965897917747498, -0.7277543544769287, 1.02980637550354, 0.4921790659427643, -0.17933236062526703, -0.844100832939148, -0.2975878417491913, 0.017597297206521034, -0.817801833152771, 0.6771513223648071, 0.03888698294758797, 0.23439520597457886, 0.08564331382513046, -0.27010032534599304, -0.700510561466217, 1.1146243810653687, 0.18220534920692444, -0.8667775988578796, -0.0977313369512558, 0.5493068099021912, 0.5907936692237854, -0.4545004367828369, 0.09410464763641357, 0.783555269241333, 0.30209124088287354, 0.07749234139919281, -0.9987471103668213, 0.3070308566093445, -0.3096049726009369, -0.00529028894379735, 0.3939591646194458, -0.134978786110878, 0.9492011070251465, -0.0523458831012249, -0.12685604393482208, -0.1319676786661148, -0.18903103470802307, 0.17174270749092102, 0.1777491420507431, 0.28635579347610474, 0.6733830571174622, 0.8529574871063232, -0.08328932523727417, 1.0034019947052002, -0.4363012909889221, 0.2311101257801056, 0.8666829466819763, -0.5186408162117004, 0.29455703496932983, 0.45414307713508606, -0.20110183954238892, 0.20622314512729645, 0.5542293190956116, 0.06564890593290329, 0.7465669512748718, 0.31867554783821106, -0.1161455437541008, -0.0644514262676239, 0.2793080508708954, -0.5056149959564209, 0.20310236513614655, 0.6992103457450867, -0.6060774326324463, -0.2509787678718567, -0.012465604580938816, -0.253941148519516, 0.033734600991010666, -0.26737529039382935, 0.919671356678009, -0.0007928727427497506, 0.24381403625011444, 0.8580437302589417, -0.10124022513628006, 0.464590460062027, -0.46540576219558716, -0.16871191561222076, -0.29141271114349365, 0.16827887296676636, -0.1728416383266449, -0.4511216878890991, 0.5386562943458557, -0.11312250047922134, -0.40746480226516724, -0.3189299404621124, 0.5881290435791016, -0.5164461731910706, -0.6757403612136841, 0.062100134789943695, 0.24107059836387634, 0.06588486582040787, 0.034909553825855255, -0.35146209597587585, 0.040424346923828125, -0.512304425239563, 0.00839957408607006, 0.3647412359714508, 0.6403858065605164, -0.06450389325618744, 0.36717262864112854, 0.4673314690589905, 0.258247047662735, -0.07561279088258743, 0.26872873306274414, 1.066114068031311, -0.6142430305480957, -0.30162790417671204, -0.9888883233070374, 0.6185471415519714, -0.07300597429275513, 0.019244352355599403, 0.27438199520111084, 0.6408883333206177, 0.3888663053512573, -0.019509941339492798, 0.702672004699707, 0.15864530205726624, 0.594914972782135, -0.3903096914291382, 1.0133010149002075, -0.5315476059913635, 0.3037712574005127, -0.2589185833930969, -0.2621211111545563, -0.4896598160266876, 0.5344251990318298, 0.22261543571949005, -0.47237998247146606, 0.7617731690406799, 0.6572319269180298, -0.062070224434137344, -0.4917212128639221, 0.34228652715682983, 0.686482846736908, 0.4501725435256958, 0.7649512887001038, 0.8368276357650757, -0.17273016273975372, 0.143140509724617, -0.010744782164692879, -0.4297260046005249, -0.22728678584098816, -0.8289167284965515, -0.7738953828811646, -0.5589470863342285, -0.3671531677246094, -0.15461958944797516, -0.10297679901123047, 0.5332981944084167, 0.8357357978820801, -0.5721155405044556, 0.10445301234722137, -0.2131197303533554, 0.09414403140544891, -0.27189433574676514, -0.2005978226661682, 0.21163158118724823, -0.4145794212818146, -0.5091845989227295, 0.5770999789237976, 0.7184579372406006, 0.06440167129039764, 0.03779355064034462, -0.012491877190768719, 0.11416664719581604, -0.007689904421567917, 0.8199873566627502, -0.3016121983528137, -0.44923654198646545, -0.13461673259735107, 0.013588976114988327, -0.2571745812892914, 0.2989327609539032, 0.5086356401443481, -0.9904574751853943, 0.49114686250686646, 0.2531775236129761, 0.6926063895225525, 0.3365234434604645, 0.042270611971616745, 0.5683178901672363, -0.554798424243927, 0.20064200460910797, 0.5308629870414734, 0.24406592547893524, 0.0781223475933075, -0.8197107911109924, 0.36119797825813293, 0.41477903723716736, -0.3890078663825989, -1.1025910377502441, -0.04608103260397911, -0.9348770380020142, -0.45709583163261414, 1.0473583936691284, 0.10561765730381012, -0.12056688219308853, -0.3084437847137451, 0.01913057640194893, 0.17387813329696655, -0.09156496077775955, 0.8863266706466675, 0.5727942585945129, -0.1702938675880432, 0.2094884216785431, -0.19619514048099518, 0.52524733543396, 0.010042551904916763, -0.9333192110061646, -0.09101643413305283, 0.6099821329116821, 0.6833925247192383, -0.1387333869934082, 0.8804894089698792, -0.42173218727111816, 0.17518511414527893, -0.2492179572582245, -0.30969223380088806, -0.370577871799469, -0.22617976367473602, -0.3594558835029602, 0.15395674109458923, -0.00031911456608213484, -0.16050966084003448 ]
http://arxiv.org/abs/2402.11469v2
http://arxiv.org/pdf/2402.11469v2
A Curious Case of Searching for the Correlation between Training Data and Adversarial Robustness of Transformer Textual Models
2024-02-18T05:58:25
2024-07-02T03:29:11
Cuong Dang, Dung D. Le, Thai Le
cs.LG
cs.LG, cs.CL, cs.CR
Existing works have shown that fine-tuned textual transformer models achieve state-of-the-art prediction performances but are also vulnerable to adversarial text perturbations. Traditional adversarial evaluation is often done \textit{only after} fine-tuning the models and ignoring the training data. In this paper, we want to prove that there is also a strong correlation between training data and model robustness. To this end, we extract 13 different features representing a wide range of input fine-tuning corpora properties and use them to predict the adversarial robustness of the fine-tuned models. Focusing mostly on encoder-only transformer models BERT and RoBERTa with additional results for BART, ELECTRA, and GPT2, we provide diverse evidence to support our argument. First, empirical analyses show that (a) extracted features can be used with a lightweight classifier such as Random Forest to predict the attack success rate effectively, and (b) features with the most influence on the model robustness have a clear correlation with the robustness. Second, our framework can be used as a fast and effective additional tool for robustness evaluation since it (a) saves 30x-193x runtime compared to the traditional technique, (b) is transferable across models, (c) can be used under adversarial training, and (d) robust to statistical randomness. Our code is publicly available at \url{https://github.com/CaptainCuong/RobustText_ACL2024}.
[ -0.5102325081825256, -1.0674563646316528, 0.14678841829299927, -0.2021600753068924, 0.062442999333143234, -0.09078314900398254, -0.3484928011894226, -0.5230035185813904, -0.28893178701400757, 0.3802819550037384, -0.3096793293952942, -0.3443213105201721, -0.924286961555481, -0.01684332638978958, -0.8604718446731567, 1.2958273887634277, 0.38647276163101196, 0.13527075946331024, 0.027720417827367783, -0.18128471076488495, -0.40140360593795776, -0.6222538352012634, -0.5143676996231079, -0.14773620665073395, 0.37874722480773926, -0.20558731257915497, 1.3253626823425293, 0.6649691462516785, 0.7999132871627808, 0.3139341473579407, -0.448943555355072, 0.07480067759752274, -0.5884431004524231, 0.2978600859642029, -0.1541990339756012, -0.7027766108512878, -0.29955753684043884, -0.15569205582141876, 0.2732783854007721, 0.24698078632354736, 0.2534143328666687, -0.017987240105867386, 0.305370956659317, 0.41030633449554443, -0.6435791254043579, -0.1514260470867157, -1.2806166410446167, -0.03536462411284447, -0.2088947892189026, -0.16285738348960876, -0.5610722899436951, -0.19992338120937347, 0.2564776837825775, -0.5763942003250122, 0.8083682060241699, -0.12680312991142273, 1.2332900762557983, 0.5776130557060242, -0.26163163781166077, -0.4522460401058197, -0.8039700984954834, 0.663668155670166, -0.41288313269615173, 0.17057788372039795, 0.3966580331325531, 0.41448286175727844, -0.02215747721493244, -0.6284520030021667, -0.4576842784881592, -0.24350449442863464, -0.3387811779975891, 0.1043015643954277, -0.4676573574542999, -0.13692662119865417, 0.2716290354728699, 0.5295899510383606, -0.540697455406189, 0.19036367535591125, -0.16994206607341766, -0.31086963415145874, 0.43112993240356445, 0.08230116218328476, 0.3078860640525818, 0.08627263456583023, -0.5516659617424011, -0.5649116635322571, -0.5158193111419678, 0.20164911448955536, 0.5757352709770203, 0.42435264587402344, -0.18180473148822784, 0.467316597700119, 0.35733604431152344, 0.419098824262619, 0.1579722911119461, 0.08475059270858765, -0.1383070945739746, -0.3063623011112213, -0.21769484877586365, -0.2569660246372223, 1.1213500499725342, -0.037044722586870193, 0.35968461632728577, -0.5066371560096741, -0.20664440095424652, 0.4700922966003418, 0.6490364670753479, -0.8073698878288269, -0.6756740808486938, 0.041305288672447205, -0.41065168380737305, -0.8347427248954773, 0.1811670958995819, -0.7269222736358643, -0.3657684028148651, 0.008247599005699158, 0.3685621917247772, -0.6640031337738037, 0.03517008200287819, -0.19585341215133667, -0.07253694534301758, -0.056853797286748886, -0.037940844893455505, -1.0456575155258179, 0.15938545763492584, 0.8906369209289551, 0.6740381121635437, -0.34323960542678833, -0.384705126285553, -0.45634302496910095, -0.2509692907333374, -0.31044888496398926, 0.5496460795402527, -0.5124005079269409, -0.15901070833206177, 0.19176819920539856, 0.20087005198001862, -0.253609836101532, -0.2986612021923065, 0.8603399395942688, -0.7255105972290039, 0.05729978531599045, 0.07935721427202225, -0.3265378177165985, -0.057832442224025726, 0.44202935695648193, -0.9545503258705139, 0.9038282036781311, -0.0070463246665894985, -1.1893303394317627, 0.47390443086624146, -0.25802791118621826, -0.6443405747413635, -0.3822470009326935, 0.04822494089603424, -1.0653260946273804, -0.09136776626110077, 0.4038228690624237, 0.4519682824611664, -0.17659109830856323, 0.41474664211273193, -0.8244290947914124, -0.4313426911830902, 0.6833785176277161, -1.051479458808899, 1.023758053779602, 0.24208244681358337, -0.3175289034843445, 0.051590874791145325, -0.9765468835830688, -0.23741808533668518, 0.16732709109783173, -0.26155805587768555, -0.31473469734191895, -0.23710136115550995, 0.14131052792072296, -0.08003131300210953, 0.18757891654968262, -0.18063156306743622, -0.027175933122634888, -0.3991631865501404, 0.2829863131046295, 0.5850021243095398, -0.13571514189243317, 0.44744765758514404, -0.3142983019351959, 0.45196333527565, -0.0944727212190628, 0.19648143649101257, -0.17771579325199127, -0.3480677902698517, -0.5196348428726196, -0.3858426809310913, 0.43790194392204285, 0.5722372531890869, -0.5493588447570801, 0.5957205295562744, -0.20834407210350037, -0.7733634114265442, -0.5526240468025208, 0.12214288115501404, 0.4724956452846527, 0.3390871584415436, 0.4916456937789917, -0.07096008211374283, -0.4754005968570709, -0.7320454120635986, -0.35433444380760193, -0.18693125247955322, -0.21431443095207214, 0.02484007738530636, 0.48458990454673767, -0.269726425409317, 0.6902868747711182, -0.2811488211154938, -0.1542133092880249, -0.0576733723282814, 0.14732807874679565, 0.035577353090047836, 0.35563045740127563, 0.7752047777175903, -0.9236141443252563, -0.4084256589412689, -0.04175707697868347, -0.7060624361038208, 0.26844120025634766, -0.22351491451263428, -0.14738331735134125, -0.05078904330730438, 0.24975858628749847, -0.503424882888794, 0.4022320806980133, 0.5751028060913086, -0.17692212760448456, 0.4135279953479767, -0.25591421127319336, -0.04274395480751991, -0.9757784605026245, 0.2014552652835846, 0.0039890231564641, 0.02966318465769291, -0.6300736665725708, 0.3338239789009094, 0.14798344671726227, -0.15639345347881317, -0.06936725974082947, 0.00712493946775794, -0.05328676849603653, 0.23127391934394836, -0.11603716760873795, 0.04011509567499161, 0.11830538511276245, 0.331103652715683, -0.23344756662845612, 0.8754904866218567, 0.774223268032074, -0.49996206164360046, 0.1654893010854721, 0.5495137572288513, -0.1711742877960205, 0.38628003001213074, -0.8344309329986572, 0.028022971004247665, 0.05236309766769409, 0.030020250007510185, -0.8140678405761719, -0.07107589393854141, -0.09371116757392883, -0.751499354839325, 0.5964483618736267, -0.1894412338733673, -0.3701072335243225, -0.18568167090415955, -0.33024948835372925, -0.012833802029490471, 0.2341109663248062, -0.6771016120910645, 0.3710367679595947, 0.3440074622631073, 0.21565255522727966, -0.6313297748565674, -0.8602190613746643, 0.009801778942346573, -0.4084013104438782, -0.6868103742599487, 0.12666653096675873, -0.01930321753025055, 0.003784543601796031, -0.11210296303033829, 0.09047591686248779, -0.14469698071479797, 0.6139832139015198, 0.3488055467605591, 0.49184250831604004, -0.16808083653450012, -0.19459353387355804, -0.3543100953102112, -0.1567308008670807, 0.20058979094028473, 0.051130373030900955, 0.2816751301288605, -0.31976932287216187, -0.2649219334125519, -0.15700994431972504, 0.021007943898439407, 0.7612553238868713, -0.22881339490413666, 0.9600417017936707, 1.151563048362732, -0.2705817222595215, -0.07610467076301575, -0.19447138905525208, -0.22670765221118927, -0.45215746760368347, 0.47904279828071594, -0.324135959148407, -0.6503604054450989, 0.6798236966133118, 0.33170202374458313, -0.10914722084999084, 0.583591639995575, 0.44935286045074463, 0.12277927249670029, 1.1705148220062256, 0.71158367395401, -0.2644818425178528, 0.4103582799434662, -0.40297678112983704, 0.2378198206424713, -0.6113068461418152, -0.14690187573432922, -0.667410671710968, -0.12872819602489471, -1.0184767246246338, 0.15511716902256012, 0.23803535103797913, 0.030787255614995956, -0.30285385251045227, 0.678730309009552, -0.5902263522148132, 0.1137753427028656, 0.4784960150718689, 0.17655687034130096, 0.12024761736392975, 0.005288999993354082, 0.0520784892141819, -0.10921354591846466, -0.7018681168556213, -0.48767417669296265, 1.1830213069915771, 0.540330708026886, 0.9301093816757202, 0.015024874359369278, 0.16543106734752655, 0.20562836527824402, 0.1275624781847, -0.6294552087783813, 0.23941591382026672, -0.5798016786575317, -0.6998018622398376, -0.21343830227851868, -0.4462531507015228, -1.0576651096343994, 0.04525376483798027, -0.7321668267250061, -0.5591474771499634, 0.25953468680381775, 0.0732174888253212, -0.3352244794368744, 0.41173481941223145, -0.5366212725639343, 0.8520768284797668, -0.1651008427143097, -0.3665379285812378, 0.12240192294120789, -0.8160852193832397, 0.3055814504623413, -0.16553880274295807, 0.03856151923537254, 0.2858763039112091, 0.27322468161582947, 0.5261995196342468, -0.21116068959236145, 0.6860475540161133, 0.2475357949733734, -0.13239043951034546, 0.11252853274345398, 0.18637824058532715, 0.6983429789543152, 0.18034927546977997, -0.11366192251443863, 0.0753646120429039, -0.1424633413553238, -0.20476311445236206, -0.6491609215736389, 0.7775480151176453, -1.0286717414855957, -0.21086902916431427, -0.27787891030311584, -0.5715709328651428, -0.18721993267536163, 0.1770864725112915, 0.6306849718093872, 0.5220937728881836, -0.3213313817977905, 0.6162374019622803, 0.9413543939590454, 0.02055935561656952, 0.35702162981033325, 0.21144002676010132, 0.35686013102531433, -0.5644220113754272, 0.8741304874420166, -0.07500674575567245, 0.32540008425712585, 0.603819727897644, 0.09502626955509186, -0.027954675257205963, -0.6546862721443176, -0.43509432673454285, -0.28982996940612793, -0.5485788583755493, -0.47053828835487366, -0.7054139971733093, -0.4801086187362671, -0.32556265592575073, -0.2706376910209656, -0.5530661940574646, -0.3504606783390045, -0.32208457589149475, -0.03740915656089783, 0.26670798659324646, 0.5791320204734802, 0.29383471608161926, 0.4071142375469208, -0.5295348763465881, 0.3986264169216156, 0.297768771648407, 0.16502834856510162, -0.06747645139694214, -0.5704290866851807, -0.3633754551410675, 0.16677097976207733, -0.6227213144302368, -0.6529741287231445, 0.28227949142456055, 0.15457333624362946, 0.2948361039161682, 0.6434991955757141, 0.1648605614900589, 0.4616955816745758, -0.1747431606054306, 0.6845887303352356, -0.0480254665017128, -0.5763624906539917, 0.4519345462322235, -0.3404156565666199, 0.11114922910928726, 0.6983241438865662, 0.29607728123664856, 0.28198474645614624, -0.7414931654930115, -0.9284875988960266, -0.7914035320281982, 0.562369704246521, 0.4267747402191162, -0.009423239156603813, 0.17885395884513855, -0.014858374372124672, 0.172944113612175, -0.09603392332792282, -0.6221339702606201, -0.39303305745124817, -0.45033732056617737, -0.21058641374111176, -0.07159284502267838, -0.2349744588136673, -0.22353248298168182, 0.0892549529671669, 0.7357233166694641, -0.07714594900608063, 0.08133479952812195, -0.01632009819149971, -0.028129853308200836, 0.07963503152132034, 0.23098208010196686, 0.2807480990886688, 0.26238739490509033, -0.2719807028770447, 0.39514124393463135, 0.34755662083625793, -0.7076178789138794, -0.14115042984485626, 0.4242914021015167, -0.45085522532463074, -0.005686499644070864, 0.5452439188957214, 0.8006151914596558, 0.24650000035762787, -0.20187708735466003, 0.6397907733917236, -0.45463716983795166, -0.02850211411714554, -0.22634151577949524, 0.15379387140274048, -0.3744858205318451, 0.16568182408809662, 0.2008695900440216, 0.8554717302322388, 0.15051710605621338, -0.3917137086391449, 0.2954230308532715, 0.6871601343154907, -0.636285126209259, -0.4182499647140503, 0.9884563088417053, -0.216622993350029, -0.12290061265230179, 0.1861729770898819, -0.01785900443792343, -0.7212681174278259, 0.5772131085395813, 0.6320874691009521, 0.8641622066497803, -0.038500744849443436, 0.012848942540585995, 0.3250044882297516, 0.5428459048271179, -0.09322146326303482, -0.36840957403182983, 0.1411849707365036, -0.5475563406944275, 0.08940402418375015, -0.5031706690788269, -0.28375232219696045, 0.326903760433197, -0.9238485097885132, 0.5648670792579651, -0.2870815694332123, -0.2287585735321045, 0.19341494143009186, -0.06138782948255539, -0.7219958305358887, 0.3674700856208801, -0.004305771552026272, 0.7112687230110168, -0.8771171569824219, 0.7485511898994446, 0.5684806704521179, -0.19990919530391693, -0.6623050570487976, 0.20400908589363098, -0.09269817918539047, -0.7174109220504761, 0.08987127244472504, 0.06912209838628769, -0.13913366198539734, -0.5201926827430725, -0.317939430475235, -0.648572564125061, 0.9754359126091003, 0.6048637628555298, -0.3494313061237335, -0.0002095850941259414, -0.014481015503406525, 0.8136824369430542, -0.14972816407680511, 0.3942050337791443, 0.5373965501785278, 0.18435975909233093, 0.0574001781642437, -0.5555382966995239, 0.07887981832027435, -0.3825679123401642, 0.15899701416492462, 0.037012044340372086, -0.5152270197868347, 0.6240096092224121, -0.08441745489835739, -0.20374584197998047, 0.18091852962970734, 0.6957409977912903, -0.19933384656906128, 0.28825387358665466, 0.40180784463882446, 0.5456084609031677, 0.7458525896072388, -0.10222278535366058, 1.0798672437667847, -0.6428804397583008, 0.569133996963501, 1.0438255071640015, 0.3990190923213959, 0.7438734769821167, 0.052897337824106216, -0.1860540509223938, 0.17322178184986115, 0.33203554153442383, -0.5096867084503174, 0.6762180328369141, -0.32447549700737, 0.12135574966669083, -0.09422589093446732, 0.13727624714374542, -0.41523614525794983, 0.5256443023681641, 0.19879597425460815, -0.6037771701812744, 0.06089393422007561, -0.09305907785892487, 0.1672520637512207, 0.27764439582824707, 0.09100907295942307, 0.7148485779762268, -0.1591186374425888, -0.6875429749488831, 0.8131105303764343, -0.1595565527677536, 0.8693737387657166, -0.5785300731658936, 0.3953462839126587, 0.06124858558177948, 0.5585560202598572, -0.26113462448120117, -0.7091024518013, 0.5479755997657776, 0.12176097184419632, -0.25309646129608154, 0.06630765646696091, 0.9435532689094543, -0.3874143362045288, -0.4698643386363983, 0.2878401279449463, 0.07222254574298859, -0.29889214038848877, 0.07209943979978561, -0.4737086594104767, 0.10447276383638382, -0.05231186002492905, -0.12786760926246643, 0.39832717180252075, 0.5853834748268127, 0.24117505550384521, 0.5900509357452393, 0.6539112329483032, 0.13705575466156006, -0.07810268551111221, 0.02487172931432724, 0.8896386623382568, -0.06673259288072586, -0.2515077292919159, -0.971644937992096, 0.38296958804130554, -0.12024174630641937, -0.5114185810089111, 0.9353803396224976, 0.679215669631958, 0.754548192024231, 0.05462251231074333, 0.9168556332588196, 0.08321748673915863, 0.23599474132061005, -0.3362370729446411, 0.9304355978965759, -0.13052186369895935, 0.4117142856121063, -0.2732594311237335, -0.649730920791626, -0.314746618270874, 0.3877454996109009, -0.1380331814289093, -0.2309117615222931, 0.5438402891159058, 0.9072432518005371, -0.3235246539115906, 0.31356045603752136, 0.25917962193489075, 0.10446082055568695, 0.3806106150150299, 0.33646827936172485, 0.5206855535507202, -0.8530689477920532, 1.047666072845459, -0.42121803760528564, -0.12158908694982529, -0.1980830729007721, -0.5869953632354736, -1.237431526184082, -0.5457462668418884, -0.2212403565645218, -0.6667315363883972, 0.21137338876724243, 0.3155133128166199, 0.5398105978965759, -1.0687681436538696, 0.4213695228099823, -0.28154370188713074, 0.05795188248157501, -0.26486852765083313, -0.20228204131126404, 0.4136660695075989, -0.35072430968284607, -0.5420375466346741, 0.27583396434783936, -0.2541380524635315, 0.2819496691226959, -0.3500383496284485, 0.1479852944612503, 0.2242695391178131, 0.04800577089190483, 0.17407497763633728, 0.0754731222987175, -0.38798514008522034, -0.31351304054260254, 0.14367827773094177, -0.3402279019355774, -0.08886121958494186, 0.624232828617096, -0.5514489412307739, 0.4732949137687683, 0.30487364530563354, 0.867533802986145, 0.42063143849372864, -0.06959956139326096, 0.571039617061615, -0.6541649103164673, 0.19224491715431213, 0.04073772579431534, 0.41689762473106384, 0.5334785580635071, -0.5907039046287537, 0.5271133780479431, -0.04179093986749649, -0.6665397882461548, -0.7621035575866699, 0.06839380413293839, -0.7918442487716675, 0.042040057480335236, 1.0166336297988892, -0.439074844121933, -0.18706977367401123, 0.03646010532975197, -0.13201607763767242, 0.49942800402641296, -0.1518227607011795, 1.1099854707717896, 0.6003934144973755, 0.31347429752349854, 0.3105006217956543, -0.4013785123825073, 0.5493386387825012, 0.25700119137763977, -0.44744405150413513, 0.09913835674524307, -0.0798603966832161, 0.09474796056747437, 0.4406077265739441, -0.324217826128006, -0.1199047639966011, 0.14983369410037994, 0.4134085476398468, -0.543878436088562, -0.2980158030986786, -0.406737357378006, -0.4078594148159027, 0.44597065448760986, -0.05419166013598442, -0.1559450924396515 ]
http://arxiv.org/abs/2402.14834v2
http://arxiv.org/pdf/2402.14834v2
MSynFD: Multi-hop Syntax aware Fake News Detection
2024-02-18T05:40:33
2024-06-19T13:15:34
Liang Xiao, Qi Zhang, Chongyang Shi, Shoujin Wang, Usman Naseem, Liang Hu
cs.CL
cs.CL, cs.AI, cs.IR
The proliferation of social media platforms has fueled the rapid dissemination of fake news, posing threats to our real-life society. Existing methods use multimodal data or contextual information to enhance the detection of fake news by analyzing news content and/or its social context. However, these methods often overlook essential textual news content (articles) and heavily rely on sequential modeling and global attention to extract semantic information. These existing methods fail to handle the complex, subtle twists in news articles, such as syntax-semantics mismatches and prior biases, leading to lower performance and potential failure when modalities or social context are missing. To bridge these significant gaps, we propose a novel multi-hop syntax aware fake news detection (MSynFD) method, which incorporates complementary syntax information to deal with subtle twists in fake news. Specifically, we introduce a syntactical dependency graph and design a multi-hop subgraph aggregation mechanism to capture multi-hop syntax. It extends the effect of word perception, leading to effective noise filtering and adjacent relation enhancement. Subsequently, a sequential relative position-aware Transformer is designed to capture the sequential information, together with an elaborate keyword debiasing module to mitigate the prior bias. Extensive experimental results on two public benchmark datasets verify the effectiveness and superior performance of our proposed MSynFD over state-of-the-art detection models.
[ -0.03342471271753311, -1.1872135400772095, 0.6136720180511475, 0.48318132758140564, -0.3585001230239868, 0.44489166140556335, 0.16735400259494781, -0.28517642617225647, 0.7343272566795349, 0.22013354301452637, -0.670075535774231, -0.29411178827285767, -0.5213357210159302, 0.07833284139633179, -0.4772728681564331, 0.8041332960128784, 0.04892254248261452, -0.04176487773656845, 0.010835452005267143, -0.08812649548053741, -0.06431460380554199, -0.47004133462905884, -0.1797441691160202, 0.3966837227344513, 0.5164530873298645, 0.1342918574810028, 0.762532114982605, 0.4073024094104767, 0.22321383655071259, 0.24091829359531403, -0.048262182623147964, 0.3929366171360016, -0.12126771360635757, -0.08979739248752594, -0.10867556184530258, -0.0029355576261878014, -0.25248220562934875, 0.007755342870950699, 0.7641558647155762, 0.4625421464443207, 0.013248153030872345, 0.12858952581882477, -0.28022539615631104, 0.5930114984512329, -0.5662223696708679, -0.13346721231937408, -0.7284484505653381, 0.05813358351588249, -0.4112376868724823, -0.303457647562027, -0.3000912070274353, -0.1168840304017067, -0.3526669144630432, -0.44102245569229126, 0.14599226415157318, -0.025427212938666344, 0.9338046908378601, 0.13577494025230408, -0.6567125916481018, -0.009040012955665588, -0.43218910694122314, 0.18462418019771576, -0.49761366844177246, 0.7613991498947144, -0.04419328272342682, 0.19642703235149384, -0.17429238557815552, -0.7346710562705994, -0.9706004858016968, 0.01431250013411045, -0.16268190741539001, 0.0670192763209343, -0.12037090957164764, -0.045854903757572174, 0.38206177949905396, 0.1285182386636734, -0.8599698543548584, -0.49270379543304443, -0.2811252474784851, -0.3728075623512268, 0.12501385807991028, -0.40785640478134155, 0.32789355516433716, -0.5353797078132629, -0.7485032677650452, 0.2332627773284912, -0.47529155015945435, -0.1291954517364502, 0.6438670754432678, 0.5377969741821289, -0.12079156935214996, 0.3775351643562317, -0.46682143211364746, 0.5793511867523193, -0.04293544217944145, -0.32170116901397705, 0.7204391956329346, -0.6686075925827026, -0.2793301045894623, -0.17936624586582184, 0.7986932992935181, 0.1631222367286682, 0.1680089831352234, -0.05890071019530296, -0.053804911673069, 0.5657175183296204, 0.38967475295066833, -0.4324996769428253, -0.19245371222496033, 0.21310549974441528, -0.6081370711326599, -0.6702317595481873, 0.07995165884494781, -0.9878294467926025, -0.28861841559410095, -0.22059233486652374, 0.4165009558200836, -0.44783440232276917, -0.593966543674469, -0.1466347724199295, -0.5250152945518494, -0.17767241597175598, 0.11046598106622696, -0.15933851897716522, -0.1029319167137146, 0.3264668881893158, 0.910797655582428, 0.17966219782829285, -0.4593695402145386, -0.8290367126464844, 0.06200006976723671, -0.3074200451374054, 0.7400931715965271, -0.5196955800056458, 0.12306036055088043, -0.01106873806566, 0.09200795739889145, -0.2296948879957199, -0.15401877462863922, 0.5442659258842468, -0.6964254975318909, 0.008955839090049267, -0.11314841359853745, -0.31811439990997314, 0.15507632493972778, 0.36068272590637207, -0.7108365297317505, 1.0217266082763672, 0.2999067008495331, -1.0764793157577515, 0.44000494480133057, -0.4147630035877228, -0.8190389275550842, -0.1380273997783661, -0.1374305635690689, -0.37519413232803345, -0.08949992805719376, 0.38305288553237915, 0.2085026204586029, 0.5542343258857727, 0.4530366361141205, -0.4710450768470764, -0.03981677442789078, -0.046458858996629715, -0.5552719831466675, 0.7377227544784546, 0.1711021512746811, -0.21016591787338257, 0.35750719904899597, -0.8091543316841125, -0.1992386281490326, 0.20539870858192444, -0.21703536808490753, -0.4779594838619232, -0.11315662413835526, 0.14451220631599426, 0.7225191593170166, -0.1898496448993683, -0.45080360770225525, 0.26101189851760864, -0.1798992156982422, 0.2757025957107544, 0.8267372250556946, 0.09001979976892471, 0.5325168371200562, -0.14648938179016113, 0.5190591216087341, 0.27808836102485657, 0.24749013781547546, -0.7550636529922485, -0.4226946532726288, -0.4592588245868683, -0.3759429156780243, 0.25434064865112305, 0.5700939893722534, -1.232223391532898, 0.41800475120544434, -0.2713167667388916, 0.014054790139198303, -0.509345293045044, 0.25375476479530334, 0.2673305571079254, 0.5503379702568054, 0.5358603000640869, 0.31913286447525024, -0.653969943523407, -0.6699093580245972, -0.985544741153717, 0.06983820348978043, 0.31226786971092224, -0.20738641917705536, 0.4951022267341614, -0.1536606252193451, 0.8256341218948364, -0.22704531252384186, -0.38982197642326355, -0.21417739987373352, -0.0017655754927545786, 0.08657082170248032, 0.31769558787345886, 0.679036021232605, -1.0919885635375977, -0.45319226384162903, -0.5551274418830872, -0.4792441427707672, -0.04501822590827942, -0.5107354521751404, -0.32303503155708313, 0.34806182980537415, 0.7317907214164734, -1.03752601146698, 0.489650696516037, 0.5938646793365479, -0.6566133499145508, 0.8638659119606018, 0.3537851870059967, 0.14432696998119354, -0.9620621204376221, -0.1615253984928131, -0.0020577963441610336, -0.6309381127357483, -0.6123918890953064, 0.16337375342845917, 0.3583530783653259, 0.061140164732933044, -0.4243064820766449, 0.3447260856628418, -0.45295020937919617, 0.10939400643110275, -0.006498974282294512, 0.22968466579914093, 0.1100740134716034, 0.4277173578739166, -0.06947007775306702, 0.3439663052558899, 0.4846712350845337, -0.22342771291732788, 0.30405715107917786, -0.1425994485616684, -0.12639936804771423, 0.4196970462799072, -0.3785397410392761, 0.029666557908058167, -0.32599663734436035, 0.6784764528274536, -1.2249141931533813, -0.16763068735599518, 0.45728403329849243, -0.6978926658630371, 0.20034164190292358, -0.4720667600631714, -0.8248165845870972, -0.5564749240875244, -0.46298131346702576, 0.22909049689769745, 0.0520821288228035, -0.6490010619163513, 0.748320996761322, 0.11726363003253937, 0.23408883810043335, -0.6497736573219299, -0.577290415763855, 0.08518014848232269, 0.03652992472052574, -0.8759090304374695, 0.4005766212940216, -0.021395720541477203, -0.09848788380622864, 0.21675869822502136, -0.5606386661529541, 0.2061682939529419, -0.2368302047252655, -0.07408828288316727, 0.34001103043556213, -0.27084124088287354, 0.21673895418643951, 0.12256365269422531, -0.031875379383563995, -0.09135934710502625, -0.45514893531799316, 0.6282255053520203, 0.018275735899806023, -0.37939146161079407, -0.3724181354045868, 0.42894092202186584, 0.8684402704238892, -0.30554357171058655, 0.7953582406044006, 0.970593273639679, -0.5967949628829956, -0.5078526139259338, -0.4466715455055237, -0.15598143637180328, -0.42902442812919617, 0.1519053876399994, -0.33662310242652893, -0.5455958247184753, 0.12474257498979568, -0.12910263240337372, -0.48093077540397644, 0.30250754952430725, 0.06612307578325272, 0.047609731554985046, 0.9646399021148682, 0.41102808713912964, -0.21121662855148315, 0.524150013923645, -0.11405269056558609, 0.4311182200908661, -0.40805721282958984, 0.04992391914129257, -0.153755784034729, -0.2706829309463501, -0.2776309847831726, -0.638425886631012, 0.2562978267669678, 0.38548702001571655, 0.07789051532745361, 0.33556416630744934, -0.2123984545469284, 0.5306965112686157, 0.5751677751541138, 0.07799627631902695, 0.38091686367988586, 0.12319134175777435, -0.3192245066165924, 0.08053725212812424, -0.5124802589416504, -0.14973019063472748, 0.8205788135528564, 0.23398949205875397, 0.47239813208580017, 0.14978505671024323, 0.2953738570213318, 0.4004468321800232, 0.025587573647499084, -0.634346067905426, 0.1765809804201126, 0.11904507875442505, -0.3744158148765564, -0.08049286901950836, -0.5905374884605408, -0.2958983778953552, 0.6390379667282104, -0.19901277124881744, -0.4925194978713989, -0.0393051877617836, 0.2781640589237213, -0.2641338109970093, 0.47042855620384216, -0.7653000950813293, 0.9784923195838928, -0.08621465414762497, -0.16076208651065826, -0.07223416119813919, -0.9246944189071655, 0.5753600001335144, 0.09063935279846191, 0.7467685341835022, -0.14412756264209747, 0.1300906538963318, 0.3173429071903229, -0.4582306444644928, 0.7847691774368286, -0.4523482024669647, 0.24961811304092407, 0.0047679501585662365, 0.1714765876531601, 0.8457587361335754, 0.2930828630924225, 0.3549143671989441, 0.11734425276517868, -0.17742229998111725, -0.31057101488113403, -0.3032875061035156, 0.7458030581474304, -0.1809116005897522, -0.15913516283035278, -0.5663898587226868, -0.45313435792922974, -0.33691227436065674, 0.46235963702201843, 0.21317286789417267, 0.37125036120414734, 0.023327723145484924, -0.1559443324804306, 0.23182128369808197, -0.029418284073472023, 0.5370060205459595, 0.3619518280029297, -0.4458722472190857, -0.37581565976142883, 0.8124952912330627, 0.0789661854505539, 0.20182664692401886, 0.3452596068382263, 0.16883552074432373, -0.4660817086696625, -0.060367245227098465, -0.6591989994049072, 0.2517223656177521, -0.6435109376907349, -0.32609614729881287, -0.9340462684631348, -0.07965777814388275, -0.8834762573242188, -0.13725408911705017, -0.3546735942363739, -0.47961342334747314, -0.100457563996315, -0.21872246265411377, 0.21367119252681732, 0.26564380526542664, 0.021765844896435738, 0.3627072870731354, -0.628730058670044, 1.0463054180145264, -0.003951004706323147, 0.3526221811771393, -0.26407143473625183, -0.2330019176006317, 0.1520732343196869, 0.0659656673669815, -0.1761258840560913, -1.1745938062667847, 0.4140109419822693, 0.12198208272457123, 0.5333042740821838, 0.5298601984977722, 0.2506723999977112, 0.6798868179321289, -0.6413859724998474, 0.5836998820304871, 0.1888190060853958, -0.9309426546096802, 0.7274236679077148, -0.42595356702804565, 0.1141902282834053, 0.18673934042453766, 0.4675710201263428, -0.6130666136741638, -0.43375909328460693, -0.7537448406219482, -0.8580744862556458, 0.6131041049957275, 0.2195659577846527, 0.11520804464817047, -0.15350815653800964, -0.06562246382236481, -0.18976204097270966, 0.4600120484828949, -0.9471452832221985, -0.3792141377925873, -0.31075718998908997, -0.12732692062854767, 0.2778019905090332, -0.11474983394145966, -0.024077298119664192, -0.3650803864002228, 0.5219900608062744, -0.22439706325531006, 0.12592263519763947, 0.2935692369937897, -0.4480205476284027, -0.060995616018772125, 0.12429330497980118, 0.680389940738678, 0.5644238591194153, 0.03920416906476021, 0.4427756369113922, -0.33539292216300964, -0.31396985054016113, -0.2079431414604187, 0.04217452183365822, -0.27491703629493713, 0.5726971626281738, 0.3373148739337921, 0.48749837279319763, -0.002691772999241948, -0.4627682566642761, 1.0446972846984863, 0.2387969195842743, -0.04737059772014618, -0.31318357586860657, -0.3195962607860565, 0.19843246042728424, 0.19817304611206055, 0.5243250131607056, 0.9891163110733032, 0.1787600815296173, -0.6020246148109436, 0.5773890614509583, 0.39317262172698975, -0.2646290361881256, -0.37760719656944275, 0.6151889562606812, 0.03954607993364334, -0.22420090436935425, 0.24640247225761414, -0.5154682397842407, -0.9036538600921631, 0.5718861818313599, 0.8431991338729858, 0.45854413509368896, -0.3051780164241791, 0.46750950813293457, 0.09679330885410309, 0.606018602848053, -0.04791484400629997, 0.4131487309932709, 0.03878390043973923, -0.933860182762146, -0.386173814535141, -0.7664755582809448, 0.36351922154426575, 0.2628970146179199, -0.06607172638177872, 0.4718656837940216, -0.45123299956321716, 0.013463909737765789, 0.06670060753822327, -0.6160055994987488, -0.37235525250434875, -0.031084273010492325, 0.11738146096467972, 1.0858339071273804, -0.9821100234985352, 0.7215272784233093, 0.5250028967857361, -0.4218379557132721, -0.5153232216835022, 0.40371307730674744, 0.5475819110870361, -0.6186405420303345, 0.26938596367836, 0.28586795926094055, -0.15215525031089783, -0.04986008256673813, -0.4721684753894806, -0.6474313735961914, 0.5939021706581116, 0.5041900277137756, -0.4249698519706726, -0.06387997418642044, -0.11286099255084991, 0.18864762783050537, -0.2422351986169815, 0.07567936182022095, 0.3456014096736908, 0.49248701333999634, 0.0976121723651886, -0.6969661116600037, 0.13923105597496033, -0.3563673794269562, -0.09342014789581299, 0.2792549431324005, -0.6773238778114319, 0.939680814743042, -0.2836763560771942, -0.3118840456008911, -0.4011557102203369, 0.4940662384033203, 0.20634444057941437, 0.504335880279541, 0.5994096398353577, 0.49417150020599365, 0.7444995641708374, -0.006738736759871244, 0.9640301465988159, -0.3659333884716034, 0.3410522937774658, 1.1082491874694824, -0.10594078153371811, 0.7952706217765808, 0.5725416541099548, -0.1120515838265419, 0.6531522274017334, 0.31054288148880005, 0.20457571744918823, 0.6251303553581238, 0.11639084666967392, -0.17897439002990723, -0.1986268311738968, 0.04879944398999214, -0.3934001922607422, 0.30778560042381287, 0.34864342212677, -0.5686787366867065, -0.19410276412963867, 0.178297758102417, 0.2339896261692047, 0.14657901227474213, -0.18682961165905, 0.2917758524417877, -0.11508168280124664, -0.182342529296875, 0.23605801165103912, 0.13297432661056519, 0.8754301071166992, -0.587212324142456, -0.16961638629436493, -0.10218730568885803, 0.1474830061197281, -0.3441691994667053, -0.3898696005344391, 0.506381630897522, -0.20150385797023773, -0.25823163986206055, -0.3977215588092804, 1.1106131076812744, -0.6344665884971619, -0.5221094489097595, 0.49471235275268555, 0.6238722205162048, -0.2462446391582489, -0.7434089183807373, -0.5316153168678284, 0.1907639056444168, -0.236399844288826, -0.21419969201087952, 0.04336262866854668, 0.4357200562953949, 0.06437410414218903, 0.35625043511390686, 1.1225249767303467, 0.15913237631320953, 0.2319580763578415, 0.3983473479747772, 0.9597857594490051, -0.5039379596710205, -0.9623371958732605, -0.8630017638206482, 0.5050768256187439, -0.4046425223350525, -0.32174184918403625, 0.7814288139343262, 0.5576463937759399, 0.9152037501335144, -0.23994918167591095, 0.8374922275543213, -0.18455921113491058, 0.6751291155815125, -0.645173966884613, 0.756409227848053, -0.4922347068786621, 0.19149233400821686, -0.6235601305961609, -0.6901236772537231, -0.33856579661369324, 0.4199835956096649, 0.20199961960315704, 0.07037051767110825, 0.9501371383666992, 0.764510452747345, -0.3859962821006775, 0.00879528559744358, 0.22114814817905426, 0.2816232144832611, 0.10909430682659149, 0.011053306981921196, 0.9651054739952087, -0.5512639880180359, 0.6460651159286499, -0.2382030338048935, -0.19631925225257874, -0.23211488127708435, -0.9464909434318542, -0.7907373905181885, -0.4361611306667328, -0.29962727427482605, -0.5550760626792908, 0.02623257040977478, 0.8944100141525269, 0.8758777379989624, -0.6749730110168457, 0.4749191701412201, -0.18435846269130707, 0.5042380094528198, -0.4387394189834595, -0.4093303084373474, 0.4143825173377991, -0.5137478113174438, -0.3081526458263397, 0.693823516368866, 0.3298136293888092, -0.16942161321640015, -0.015146286226809025, 0.0903698205947876, -0.6568820476531982, 0.036498524248600006, 0.7978119254112244, -0.06371840089559555, -0.7085320353507996, -0.46419158577919006, 0.2125055342912674, 0.006335931830108166, -0.05558997020125389, 0.8903549909591675, -1.0142571926116943, 0.3164603114128113, 0.6196977496147156, 0.43213438987731934, 0.19333001971244812, 0.2544228136539459, 0.047637131065130234, -1.3188962936401367, 0.2642335295677185, -0.014553979970514774, 0.39148908853530884, 0.14976511895656586, -0.5895743370056152, 0.26370203495025635, 1.1467676162719727, -0.021334277465939522, -0.8322938680648804, 0.23913761973381042, -0.9786311388015747, -0.513169527053833, 1.3160479068756104, 0.1525546759366989, -0.10217724740505219, -0.3532622158527374, -0.1425018608570099, 0.14655445516109467, -0.5956701040267944, 0.4123563766479492, 0.5004458427429199, -0.023823585361242294, -0.16306038200855255, -0.6572718024253845, 0.6277191042900085, -0.04514531046152115, -0.6243716478347778, -0.01881132461130619, 0.7080392241477966, 0.36607736349105835, 0.3124536871910095, 1.0619375705718994, -0.017394404858350754, 0.1458301991224289, 0.3378785252571106, -0.3217935562133789, -0.13218672573566437, -0.873134434223175, -0.1467323750257492, 0.23287354409694672, -0.7604585886001587, -0.2732546329498291 ]