id
stringlengths
33
33
doc_url
stringlengths
33
33
title
stringlengths
13
211
publication_date
timestamp[s]
update_date
timestamp[s]
authors
stringlengths
6
16.6k
category_primary
stringclasses
60 values
category_all
stringlengths
5
132
abstract
stringlengths
123
1.99k
embeddings
listlengths
768
768
http://arxiv.org/abs/2404.06209v1
http://arxiv.org/pdf/2404.06209v1
Elephants Never Forget: Memorization and Learning of Tabular Data in Large Language Models
2024-04-09T10:58:21
2024-04-09T10:58:21
Sebastian Bordt, Harsha Nori, Vanessa Rodrigues, Besmira Nushi, Rich Caruana
cs.LG
cs.LG, cs.AI, cs.CL
While many have shown how Large Language Models (LLMs) can be applied to a diverse set of tasks, the critical issues of data contamination and memorization are often glossed over. In this work, we address this concern for tabular data. Specifically, we introduce a variety of different techniques to assess whether a language model has seen a tabular dataset during training. This investigation reveals that LLMs have memorized many popular tabular datasets verbatim. We then compare the few-shot learning performance of LLMs on datasets that were seen during training to the performance on datasets released after training. We find that LLMs perform better on datasets seen during training, indicating that memorization leads to overfitting. At the same time, LLMs show non-trivial performance on novel datasets and are surprisingly robust to data transformations. We then investigate the in-context statistical learning abilities of LLMs. Without fine-tuning, we find them to be limited. This suggests that much of the few-shot performance on novel datasets is due to the LLM's world knowledge. Overall, our results highlight the importance of testing whether an LLM has seen an evaluation dataset during pre-training. We make the exposure tests we developed available as the tabmemcheck Python package at https://github.com/interpretml/LLM-Tabular-Memorization-Checker
[ -0.10358230024576187, -0.8189970254898071, 0.4771549105644226, 0.05188199132680893, -0.024050775915384293, -0.0689631998538971, -0.27861401438713074, -0.2216191589832306, -0.32269418239593506, 0.7458091378211975, -0.17441411316394806, -0.7940449714660645, -0.4345764219760895, -0.07750475406646729, -0.6368764042854309, 1.1575723886489868, -0.3895193338394165, -0.15753507614135742, -0.36851584911346436, -0.2560020685195923, -0.3460709750652313, -0.4673230051994324, -0.42829909920692444, -0.5052527189254761, 0.5893297791481018, 0.517683744430542, 0.33999940752983093, 0.990128219127655, 0.517439603805542, 0.18691210448741913, 0.022030306980013847, 0.22455917298793793, -0.7589274644851685, 0.018672257661819458, -0.0010832638945430517, -0.8137149214744568, -0.3101743459701538, -0.2652837038040161, 0.8560503125190735, 0.8173826932907104, -0.31993165612220764, 0.4595510959625244, 0.09402237832546234, 0.7665709257125854, -0.5680480003356934, 0.32978808879852295, -1.1794025897979736, 0.27743300795555115, -0.37525370717048645, -0.24661493301391602, -0.44037535786628723, -0.3784235715866089, -0.051957160234451294, -0.6363251805305481, 0.2900203466415405, 0.16118685901165009, 0.823042631149292, 0.15390843152999878, -0.5675647854804993, -0.16861492395401, -0.7186267375946045, 0.9228973388671875, -0.2993822395801544, 0.44633767008781433, 0.6250074505805969, 0.39086660742759705, -0.4251890778541565, -0.5779366493225098, -0.4865990877151489, -0.417426198720932, 0.08358336240053177, -0.07254426926374435, 0.02921922691166401, -0.07837589830160141, 0.4777277112007141, 0.36820462346076965, -0.8528056740760803, 0.11142130196094513, -0.36861321330070496, -0.12640057504177094, 0.3450168967247009, 0.25031784176826477, 0.3259422779083252, 0.18598021566867828, -0.2815030813217163, -0.11590379476547241, -1.0498168468475342, -0.0589338093996048, 0.08554420620203018, 0.16809402406215668, 0.07105778157711029, 0.5267509818077087, 0.06563212722539902, 0.622443675994873, -0.4028902053833008, -0.2594977021217346, 0.21609151363372803, 0.05876966193318367, -0.3474205732345581, 0.04102906584739685, 0.3786373734474182, 0.12448742240667343, 0.6121877431869507, -0.24673904478549957, -0.2893301546573639, 0.05526560917496681, 0.17200401425361633, -0.5091502666473389, -0.2896824777126312, 0.03281410411000252, -0.23992198705673218, 0.0247944388538599, -0.4468843638896942, -0.4661027491092682, -0.43467026948928833, -0.24832257628440857, 0.6462683081626892, -0.502770185470581, 0.047951631247997284, 0.02412458509206772, 0.20455989241600037, 0.11949978768825531, 0.35652023553848267, -1.0581130981445312, 0.5076432228088379, 0.9061923623085022, 0.5483534336090088, -0.12648513913154602, -0.7723925113677979, -0.5139003396034241, 0.36759141087532043, -0.8278390765190125, 0.8889461159706116, -0.32643499970436096, -0.11490045487880707, 0.1799560934305191, -0.1709350347518921, -0.20117835700511932, -0.9950965046882629, 0.3103351593017578, -0.4629521071910858, -0.38554152846336365, -0.3499886393547058, -0.8173675537109375, -0.22675862908363342, 0.4666711986064911, -0.7278743982315063, 0.8945858478546143, 0.05015551298856735, -0.5939726829528809, 0.9226880669593811, -0.217357337474823, -0.43677806854248047, -0.09704285860061646, -0.33895280957221985, -0.7707064747810364, -0.01848861761391163, 0.04708200693130493, 0.35452204942703247, 0.04541400447487831, 0.16413965821266174, -0.4545486867427826, -0.25394245982170105, 0.3594043254852295, -0.20180994272232056, 0.31218189001083374, 0.032480210065841675, 0.1599489003419876, -0.17596639692783356, -0.7731577157974243, 0.0679185688495636, 0.0910307765007019, -0.558313250541687, -0.1067659929394722, 0.0008902063709683716, -0.01817854307591915, -0.057408206164836884, -0.03526286035776138, -0.3324050307273865, 0.22016780078411102, 0.023227345198392868, 0.20771126449108124, 0.6086175441741943, 0.021864863112568855, 0.31946122646331787, -0.6945632100105286, 0.28920790553092957, 0.2297089695930481, -0.23209750652313232, -0.42782825231552124, -0.00004697605254477821, -0.8528228402137756, -0.052742235362529755, 0.18024404346942902, 0.595742404460907, -0.5698200464248657, 0.13046391308307648, -0.268929660320282, -0.5914763808250427, -0.009403901174664497, 0.581983208656311, 0.2650931775569916, 0.5835120677947998, 0.20104795694351196, -0.25275927782058716, -0.622674822807312, -0.868057131767273, -0.6082265377044678, -0.2646389603614807, 0.02256605215370655, 0.40778303146362305, 0.6914042830467224, -0.015287428162992, 0.6850292682647705, -0.30280157923698425, -0.5537876486778259, -0.6457993984222412, 0.18764089047908783, 0.178737074136734, 0.44780468940734863, 0.48009827733039856, -0.2117907553911209, -0.43004000186920166, 0.07442701607942581, -0.8478416800498962, 0.07394398003816605, -0.27162471413612366, 0.09948936104774475, 0.2654043436050415, 0.47548574209213257, -0.7530081272125244, 0.387460321187973, 0.12025590240955353, 0.11429101228713989, 0.33904412388801575, -0.3857877552509308, -0.14365987479686737, -0.533038318157196, 0.14344850182533264, -0.0313047356903553, -0.27357345819473267, -0.6771339774131775, -0.2920452654361725, 0.3173205852508545, -0.025150856003165245, -0.47253766655921936, 0.5596596002578735, -0.5410267114639282, -0.3206116557121277, 0.004325978457927704, -0.01537854503840208, -0.07487258315086365, 0.37703773379325867, -0.028305822983384132, 0.7558532953262329, 0.7281940579414368, -0.679953932762146, -0.10550743341445923, 0.2957334816455841, -0.8147460222244263, 0.33861246705055237, -0.29877009987831116, 0.17703181505203247, -0.349295437335968, 0.2605968713760376, -1.0662755966186523, -0.1332119256258011, -0.17969970405101776, -0.2294589728116989, 0.6066086888313293, -0.18909911811351776, -0.6525090932846069, -0.21438008546829224, -0.12006732821464539, 0.19864808022975922, 0.2772042155265808, -0.49681252241134644, 0.2503258287906647, 0.6136239171028137, -0.008467505685985088, -0.8278606534004211, -0.7778077125549316, 0.00011157989501953125, -0.6160494089126587, -0.21044620871543884, -0.11505720019340515, 0.18122375011444092, -0.13060429692268372, -0.32914960384368896, -0.4031991958618164, -0.41726747155189514, 0.23479777574539185, 0.17583337426185608, 0.12193431705236435, -0.17501381039619446, 0.4955785572528839, -0.348684161901474, -0.01775328628718853, -0.04125114530324936, -0.08116817474365234, 0.5970558524131775, -0.21485915780067444, -0.2547302842140198, -0.21994435787200928, -0.13809840381145477, 0.3175344467163086, -0.021317826583981514, 0.7402278184890747, 0.5202035307884216, -0.6034144759178162, -0.41714152693748474, -0.7469291090965271, 0.003245499450713396, -0.42309969663619995, 0.7753608822822571, -0.24676008522510529, -0.369009792804718, 0.7835860252380371, 0.14324942231178284, 0.159494549036026, -0.014722906053066254, 0.3846970200538635, -0.341327965259552, 0.4666007459163666, 0.6534540057182312, -0.4180953800678253, 0.5515238642692566, -0.4240832030773163, 0.062405116856098175, -0.5905100107192993, -0.1916222721338272, -0.5357003808021545, -0.25558212399482727, -0.4607490599155426, -0.08727382123470306, 0.3275596499443054, -0.015447689220309258, -0.3873881995677948, 0.1442343294620514, 0.22632159292697906, 0.8514840602874756, 0.09544482082128525, 0.17674291133880615, 0.3483521640300751, 0.20101715624332428, 0.08000550419092178, -0.07840048521757126, -0.6865812540054321, -0.5887381434440613, 1.5492708683013916, 0.399585485458374, 1.1105000972747803, -0.30316632986068726, 0.6771299242973328, 0.02259221114218235, 0.49028584361076355, -0.6457533836364746, 0.515960693359375, -0.1506267935037613, -0.5034250617027283, -0.4066668450832367, -0.6519576907157898, -1.3168808221817017, 0.16470062732696533, 0.03283846005797386, -0.8230639696121216, -0.21632935106754303, 0.43776094913482666, -0.3180610239505768, 0.4766403138637543, -0.605970561504364, 0.9303388595581055, -0.3794914782047272, -0.39202502369880676, -0.1635652333498001, -0.25676801800727844, 0.29548799991607666, -0.3027333915233612, 0.21284176409244537, -0.1791091412305832, -0.03876008465886116, 0.9705222845077515, -0.08226277679204941, 0.6851389408111572, 0.0374181866645813, 0.04543634131550789, 0.28950247168540955, 0.4208478629589081, 0.3328612446784973, -0.09698046743869781, 0.12307263165712357, 0.12540565431118011, -0.11539602279663086, -0.29896023869514465, -0.4250641465187073, 0.7151075005531311, -0.6918691396713257, -0.4295309782028198, -0.32310131192207336, -0.7391322255134583, -0.2585114538669586, 0.2188652604818344, 0.058352839201688766, 0.34088873863220215, -0.2582193613052368, 0.3635483384132385, 0.8890348076820374, -0.229930579662323, 0.3486027419567108, 0.5277768969535828, -0.3930138647556305, -0.18887856602668762, 0.9769238233566284, 0.7132645845413208, 0.18148685991764069, 0.47546446323394775, -0.024679213762283325, -0.11505243927240372, -0.6992543935775757, -0.44361069798469543, 0.2836872935295105, -0.7798717617988586, -0.19044454395771027, -0.5691133141517639, -0.051452867686748505, -0.05008427053689957, 0.14021587371826172, -0.45628273487091064, -0.405799001455307, -0.1510910838842392, -0.2529478073120117, 0.42989450693130493, 0.740729570388794, -0.06372964382171631, 0.27846559882164, -0.6362893581390381, 0.30932971835136414, 0.2816922664642334, 0.3840227425098419, 0.12797753512859344, -0.4882340133190155, -0.32255062460899353, -0.23876063525676727, -0.5509078502655029, -0.5995140075683594, 0.5403162240982056, 0.5111711025238037, 0.8137492537498474, 0.3784318268299103, -0.4432509243488312, 0.7016947865486145, -0.5858017802238464, 0.43507370352745056, -0.2846246361732483, -0.7131667137145996, 0.3638935983181, -0.40439313650131226, 0.18745873868465424, 0.6316551566123962, 0.35665860772132874, -0.6458092927932739, -0.23578883707523346, -0.46624037623405457, -0.8149667978286743, 0.7445327639579773, -0.05586637556552887, -0.059114061295986176, 0.2516898512840271, 0.3860413730144501, 0.30532896518707275, 0.499625027179718, -0.772676408290863, -0.22268317639827728, 0.08334321528673172, -0.0701008215546608, -0.24927085638046265, -0.17623288929462433, 0.041002850979566574, -0.14980675280094147, 0.40505948662757874, 0.10674493759870529, -0.1565140336751938, -0.1168784499168396, -0.6757792830467224, -0.33314335346221924, 0.278622031211853, 0.41241857409477234, 1.0543509721755981, -0.22743938863277435, 0.23450586199760437, 0.5655351281166077, -0.5695552825927734, 0.058084458112716675, -0.3464116156101227, -0.07467648386955261, -0.04431959614157677, 0.4926294684410095, 0.7187255620956421, 0.23486128449440002, -0.6678723096847534, 0.2810136377811432, 0.13472521305084229, 0.03686809539794922, -0.5003324747085571, 0.14461839199066162, 0.009814128279685974, -0.1586558073759079, 0.27413636445999146, -0.2100391983985901, -0.016079295426607132, -0.9781295657157898, 0.42873328924179077, 0.2804606258869171, -0.0805983915925026, -0.18328598141670227, 0.3793690502643585, -0.5979108810424805, -0.23160241544246674, 0.6765862703323364, 0.11512307077646255, -0.5445755124092102, 0.8811017870903015, 0.6330252289772034, 0.48515310883522034, -0.35723546147346497, -0.03588688746094704, 0.30387863516807556, 0.50982666015625, -0.10618782043457031, 0.24799200892448425, -0.1403990238904953, -0.5984185934066772, -0.08479369431734085, -0.3467424511909485, -0.36606332659721375, 0.6711714267730713, -0.6321346759796143, 0.26229631900787354, -0.41761672496795654, 0.007354023400694132, -0.119154192507267, 0.023368656635284424, -0.9508349895477295, 0.17314039170742035, 0.16820211708545685, 0.865289568901062, -1.130914330482483, 0.8038071393966675, 0.4751425087451935, -0.20368939638137817, -0.6946002840995789, 0.0013166231801733375, -0.12778206169605255, -1.0217372179031372, 0.7534424662590027, 0.233720600605011, 0.428739458322525, -0.2912455201148987, -0.5065226554870605, -0.835249125957489, 0.8502669334411621, 0.4008104205131531, -0.4449603855609894, 0.19954022765159607, 0.6194515228271484, 0.6701259016990662, -0.07288198918104172, 0.5015047788619995, 1.0327938795089722, 0.3631149232387543, -0.16920986771583557, -1.0463168621063232, -0.3923913240432739, 0.08175776153802872, -0.14495322108268738, 0.12174020707607269, -0.6003411412239075, 1.0285310745239258, -0.2999834418296814, -0.10250429064035416, -0.12358121573925018, 0.4318828284740448, 0.3255366384983063, 0.5147579312324524, 0.3458547294139862, 0.7005025148391724, 0.8793371915817261, -0.024747885763645172, 0.8913161158561707, 0.11037220060825348, 0.4725835621356964, 1.2744945287704468, -0.5232460498809814, 0.9152117967605591, 0.4877617359161377, -0.19456727802753448, -0.059557635337114334, 0.5752391219139099, -0.057242926210165024, 0.47384798526763916, 0.4657869338989258, 0.12341925501823425, -0.24959447979927063, 0.0774550661444664, -0.3214889466762543, 0.40652143955230713, 0.6008275747299194, -0.09808507561683655, -0.7380477786064148, 0.10182546079158783, 0.1401849240064621, 0.002328544622287154, -0.4586375057697296, 0.9431720972061157, 0.20937830209732056, -0.4585944414138794, 0.9479537010192871, -0.5402237772941589, -0.008782904595136642, -0.5978310704231262, -0.08396749943494797, -0.5222482681274414, 0.41641274094581604, -0.2859596312046051, -0.8523166179656982, 0.13662558794021606, -0.05234457179903984, 0.0015208402182906866, -0.13148702681064606, 0.4007774889469147, -0.7085681557655334, -0.45258021354675293, 0.06367816030979156, 0.39037078619003296, 0.5157614350318909, 0.11506032943725586, -0.3490733206272125, 0.08395033329725266, -0.07147448509931564, -0.28348666429519653, 0.5396199822425842, 0.531299889087677, -0.14375261962413788, 1.2315281629562378, 0.3379612863063812, 0.3575613498687744, 0.23154398798942566, 0.013873856514692307, 0.6968256235122681, -0.5712665915489197, -0.36253443360328674, -0.9623448848724365, 0.08885661512613297, 0.23788271844387054, -0.1881026178598404, 0.7871583700180054, 0.9669442176818848, 0.969375491142273, -0.25714829564094543, 0.6847987771034241, 0.5886005759239197, 0.6243014931678772, -0.5948241353034973, 0.9545276165008545, -0.401053786277771, 0.3146775960922241, -0.16206975281238556, -0.7804643511772156, -0.4934685528278351, 0.6938146352767944, -0.6145836710929871, -0.08606474846601486, 0.7271594405174255, 0.8381921052932739, -0.1321193128824234, -0.21097075939178467, 0.4795779585838318, 0.4209214150905609, 0.36572304368019104, 0.8875060677528381, 0.9956256747245789, -0.4791926145553589, 0.7678906917572021, -0.14512433111667633, 0.06025204807519913, -0.23713576793670654, -0.7697185277938843, -1.0548326969146729, -0.3927837014198303, -0.18812225759029388, -0.10509897023439407, 0.09939219802618027, 0.6963407397270203, 0.5089861154556274, -0.9456691145896912, -0.5489093065261841, -0.06115976721048355, 0.3183318078517914, -0.003858450800180435, -0.15071555972099304, 0.5811400413513184, -0.5106276273727417, -0.284873902797699, 0.21546615660190582, 0.13713690638542175, 0.22231820225715637, 0.032499223947525024, 0.28522616624832153, 0.14973938465118408, -0.14218537509441376, 0.27890604734420776, 0.34534594416618347, -0.3487458825111389, -0.1543879359960556, -0.2310427576303482, -0.09694357216358185, 0.5046374797821045, 0.8077023029327393, -0.7533378601074219, 0.3120654225349426, 0.3505653440952301, 0.5922144651412964, 0.7431552410125732, -0.30060452222824097, 0.31128397583961487, -0.6285319924354553, 0.19185109436511993, 0.13245584070682526, 0.6073231101036072, 0.3425832688808441, -0.19957615435123444, 0.22789965569972992, -0.20411516726016998, -0.8140719532966614, -1.120395302772522, -0.007466625887900591, -0.7317908406257629, 0.15515348315238953, 0.9369280338287354, -0.3174724280834198, -0.486532986164093, -0.15268953144550323, -0.12034092098474503, 0.20495828986167908, -0.29562196135520935, 1.1751344203948975, 0.6982245445251465, 0.13117048144340515, -0.1522374004125595, -0.8548935651779175, 0.6039372086524963, 0.4938957095146179, -0.9235580563545227, 0.38915905356407166, 0.25902366638183594, 0.6425198912620544, -0.16284874081611633, 0.43978166580200195, 0.06231154128909111, 0.24482513964176178, -0.008379172533750534, -0.1442755162715912, 0.0069947149604558945, -0.593124508857727, -0.345276802778244, 0.01190416980534792, 0.2273106724023819, -0.2922443747520447 ]
http://arxiv.org/abs/2404.06186v1
http://arxiv.org/pdf/2404.06186v1
Clue-Instruct: Text-Based Clue Generation for Educational Crossword Puzzles
2024-04-09T10:12:34
2024-04-09T10:12:34
Andrea Zugarini, Kamyar Zeinalipour, Surya Sai Kadali, Marco Maggini, Marco Gori, Leonardo Rigutini
cs.CL
cs.CL, cs.AI
Crossword puzzles are popular linguistic games often used as tools to engage students in learning. Educational crosswords are characterized by less cryptic and more factual clues that distinguish them from traditional crossword puzzles. Despite there exist several publicly available clue-answer pair databases for traditional crosswords, educational clue-answer pairs datasets are missing. In this article, we propose a methodology to build educational clue generation datasets that can be used to instruct Large Language Models (LLMs). By gathering from Wikipedia pages informative content associated with relevant keywords, we use Large Language Models to automatically generate pedagogical clues related to the given input keyword and its context. With such an approach, we created clue-instruct, a dataset containing 44,075 unique examples with text-keyword pairs associated with three distinct crossword clues. We used clue-instruct to instruct different LLMs to generate educational clues from a given input content and keyword. Both human and automatic evaluations confirmed the quality of the generated clues, thus validating the effectiveness of our approach.
[ -0.24848385155200958, -0.7238142490386963, 0.5921911597251892, -0.07023356109857559, -0.40444961190223694, 0.25491195917129517, -0.44675472378730774, -0.3281351923942566, 0.08941861242055893, 0.5350792407989502, -0.7483068108558655, -0.8327606320381165, -0.29728421568870544, 0.1550721824169159, -0.639936089515686, 1.1031805276870728, -0.06375262886285782, 0.23528733849525452, -0.7766777873039246, 0.28334733843803406, -0.38319745659828186, -0.35781359672546387, -0.43122780323028564, -0.21665892004966736, 0.45181432366371155, 0.7147071361541748, 0.31361448764801025, 0.8696340918540955, 0.44996121525764465, 0.15062463283538818, 0.1378571093082428, 0.21758310496807098, -0.6112856864929199, 0.26416224241256714, -0.4249473810195923, -0.49629485607147217, 0.10544393956661224, 0.23890650272369385, 0.3546364903450012, 0.8076571226119995, -0.1508525013923645, 0.36300235986709595, 0.09409631043672562, 0.31094253063201904, -0.5795252323150635, 0.014482935890555382, -0.8373945355415344, -0.06370020657777786, -0.4481782615184784, -0.3038913607597351, -0.4432830214500427, -0.45262646675109863, 0.22817863523960114, -0.6733934879302979, 0.5245774388313293, -0.06869925558567047, 0.529229998588562, -0.05186842754483223, -0.10186263173818588, -1.0093477964401245, -0.4574267566204071, 0.5674179196357727, -0.6594927310943604, 0.22210052609443665, 0.4106793999671936, 0.22415457665920258, -0.3264327943325043, -0.6404210925102234, -0.41259607672691345, -0.13899865746498108, 0.1002722829580307, 0.10152338445186615, 0.5976324677467346, -0.16655458509922028, 0.17407725751399994, 0.1333722174167633, -0.5752139091491699, 0.08391519635915756, -0.09459352493286133, 0.19447185099124908, 0.7397910952568054, 0.38354232907295227, 0.4813319444656372, -0.08117682486772537, -0.29915913939476013, -0.13763411343097687, -1.2893222570419312, 0.021368224173784256, 0.42354628443717957, 0.501143217086792, -0.14359033107757568, 0.7353238463401794, -0.13434197008609772, 0.7513906359672546, 0.17030474543571472, -0.3609027862548828, -0.017644032835960388, -0.5391741991043091, 0.34979212284088135, 0.5221243500709534, 0.7365539073944092, 0.3848186731338501, 0.3329550623893738, -0.44079551100730896, -0.2747778594493866, 0.2942158877849579, -0.20525607466697693, -0.8072229623794556, -0.32225775718688965, -0.1274302899837494, -0.22645266354084015, -0.4892420470714569, -0.14817090332508087, -0.9121164083480835, -0.21779389679431915, 0.03495941311120987, 0.6121813654899597, -0.31181949377059937, 0.06863279640674591, 0.21591249108314514, -0.12459557503461838, 0.2748715281486511, 0.14165514707565308, -1.0730218887329102, 0.2002473622560501, 0.6358309388160706, 0.509577214717865, -0.08333493769168854, -0.043968819081783295, -0.4672694206237793, 0.39923354983329773, -0.3427220582962036, 0.4846143126487732, -0.943449854850769, -0.6718270778656006, 0.3402659595012665, -0.1373613327741623, 0.21975943446159363, -0.4896002411842346, 0.4599297046661377, -0.3230396807193756, 0.7719720602035522, -0.23157602548599243, -1.0254136323928833, 0.004652102943509817, 0.15483736991882324, -0.4705594480037689, 1.0429800748825073, -0.061261843889951706, -0.865111231803894, 0.18545736372470856, -0.5529070496559143, -0.65194171667099, 0.4105224311351776, -0.34191298484802246, -0.09910400211811066, 0.007548633497208357, 0.6433300971984863, 0.45241987705230713, -0.6288620233535767, 0.4051339328289032, -0.13405317068099976, -0.3889295160770416, 0.14697322249412537, -0.18411307036876678, 0.9761941432952881, -0.3604751527309418, -0.4759906232357025, -0.3339919447898865, -0.7440931797027588, -0.11843758076429367, 0.32235798239707947, -0.31260138750076294, -0.711201548576355, 0.1730853170156479, 0.00947666447609663, 0.11255670338869095, 0.2744859457015991, -0.7433263063430786, 0.050366517156362534, -0.5594062209129333, 0.011716438457369804, 0.43445172905921936, 0.14643944799900055, 0.1322171688079834, -0.24792011082172394, 0.7257525324821472, -0.1287064254283905, -0.08464190363883972, -0.36262786388397217, -0.8323702216148376, -0.5376826524734497, 0.13667580485343933, 0.34214311838150024, 0.5700222849845886, -1.1581710577011108, 0.34978777170181274, -0.23764723539352417, -0.413938045501709, -0.6524314284324646, 0.3427738845348358, 0.7035115957260132, 0.6437650322914124, 0.14968231320381165, 0.13778042793273926, -0.23939284682273865, -0.4875797927379608, -0.2673450708389282, 0.14745603501796722, -0.106060691177845, 0.2883549928665161, 0.599847137928009, 0.2015398144721985, 0.8170682787895203, -0.4108092784881592, 0.004395766649395227, 0.04506460577249527, 0.05242583155632019, 0.004907036200165749, 0.3763965666294098, 0.4662892818450928, -0.5389830470085144, -0.5580843687057495, -0.15212512016296387, -0.7109172344207764, 0.05411777272820473, 0.14540721476078033, -0.12754768133163452, -0.09916699677705765, 0.53021240234375, -0.2517649531364441, 0.17981860041618347, 0.46025869250297546, -0.3085058033466339, 0.27959486842155457, -0.0022393192630261183, -0.3146328926086426, -1.3818033933639526, -0.27724412083625793, -0.02057855762541294, 0.05475930869579315, -0.2047692984342575, 0.15264372527599335, -0.029162289574742317, -0.2417239099740982, -0.1420038640499115, 0.4905907213687897, -0.6029263734817505, 0.17878010869026184, 0.10251948982477188, 0.8033774495124817, -0.1997213214635849, 0.16408610343933105, 0.18166139721870422, 0.5652811527252197, 0.5913659334182739, -0.4676859378814697, 0.7074236869812012, 0.3474869728088379, -0.6835737228393555, 0.6233096718788147, -0.5662777423858643, 0.43875062465667725, -0.11863535642623901, 0.15880624949932098, -0.8954998850822449, -0.389415979385376, 0.238264262676239, -0.3827488124370575, 0.3711385130882263, -0.14811629056930542, -0.6032091975212097, -0.33679643273353577, -0.2109825611114502, 0.3082595467567444, 0.33227667212486267, -1.0451364517211914, 0.08605318516492844, 0.5347306728363037, -0.39375922083854675, -0.640311598777771, -0.3559311330318451, 0.17351946234703064, -0.1387956589460373, -0.45651012659072876, 0.2968232333660126, -0.2843787670135498, -0.02349420078098774, 0.4634147584438324, 0.10408812761306763, 0.06868497282266617, -0.009058208204805851, 0.15386062860488892, 0.36079010367393494, -0.2895675599575043, 0.5202375650405884, 0.23481541872024536, 0.16233673691749573, 0.39276552200317383, -0.2434154748916626, 0.31974881887435913, 0.5181628465652466, -0.3727549612522125, 0.1171841025352478, 0.6824339032173157, 0.2925552427768707, -0.4514615535736084, 0.2911035120487213, 0.5164658427238464, -0.4402034282684326, -0.8553021550178528, -0.34889423847198486, -0.527169406414032, -0.4600785970687866, 0.4778951108455658, -0.17414870858192444, -0.8175276517868042, 0.24053074419498444, -0.22781318426132202, 0.28066447377204895, -0.025295035913586617, 0.559907853603363, -0.26000502705574036, 0.8453499674797058, 0.47704774141311646, 0.13258761167526245, 0.3024631142616272, -0.16201470792293549, 0.06202822923660278, -0.5870131254196167, -0.643545389175415, -0.5854148864746094, -0.23487603664398193, -0.6112778186798096, -0.41637513041496277, 0.26779064536094666, -0.2976837456226349, 0.1219046413898468, 0.040078479796648026, -0.5981665849685669, 0.6537023186683655, 0.7194077372550964, 0.3817298710346222, 0.007484829053282738, 0.2162112146615982, -0.27170783281326294, -0.021672822535037994, -0.9768632054328918, -0.26236239075660706, 1.5140838623046875, -0.14898335933685303, 1.0948816537857056, -0.07005167007446289, 1.2529536485671997, -0.15224041044712067, 0.3522355854511261, -0.8651100993156433, 0.5935735702514648, -0.2717415988445282, -0.8171700239181519, -0.2906048893928528, -0.42504945397377014, -0.8617589473724365, -0.46819546818733215, -0.4864107370376587, -0.42573684453964233, -0.1680392473936081, -0.12957394123077393, -0.23014293611049652, 0.08816249668598175, -0.39933282136917114, 0.6690633893013, -0.5016725659370422, -0.37199896574020386, -0.21076856553554535, -0.5648037791252136, 0.48890435695648193, -0.23307642340660095, 0.1102752834558487, 0.1895201951265335, -0.0954199880361557, 1.0766428709030151, -0.19971001148223877, 0.9634895324707031, -0.03444767743349075, -0.44131845235824585, 0.3896782398223877, -0.05182133987545967, 0.6369075179100037, 0.08895066380500793, 0.12974750995635986, -0.4360567331314087, -0.21921125054359436, 0.0342402346432209, -0.576700747013092, 0.9336604475975037, -0.5607122778892517, -0.653467059135437, 0.06296002864837646, -0.8131146430969238, -0.33138662576675415, 0.0777248665690422, 0.6220584511756897, 0.8979976177215576, -0.21254700422286987, 0.2957480251789093, 1.1785345077514648, -0.2928128242492676, 0.578294038772583, 0.4119657278060913, -0.03673664480447769, -0.37730661034584045, 1.0036098957061768, 0.1639316827058792, 0.08312101662158966, 0.5992518067359924, 0.25174617767333984, -0.5653319358825684, -0.49681857228279114, -0.415669322013855, 0.3294878900051117, -0.8186658620834351, -0.24489448964595795, -0.18528735637664795, -0.32420358061790466, -0.12342888116836548, -0.2101728469133377, -0.10776408016681671, -0.1784559041261673, -0.10546272248029709, -0.08649633824825287, 0.5052722096443176, 1.1044690608978271, 0.08381419628858566, 0.27732840180397034, -0.7246780395507812, 0.37055009603500366, 0.6255418062210083, 0.43771520256996155, -0.29966598749160767, -0.40063387155532837, -0.5959230065345764, 0.2055332064628601, 0.18892371654510498, -1.1044621467590332, -0.02222120203077793, 0.2949528396129608, 0.6797903180122375, 0.4446057081222534, 0.1851053088903427, 0.11126472800970078, -0.6005935668945312, 0.8030297756195068, 0.23684416711330414, -0.7683836221694946, 0.6803390979766846, -0.33616286516189575, 0.17668069899082184, 0.3288642168045044, 0.5838024616241455, -0.4068191349506378, -0.3910549581050873, -0.6663485169410706, -0.7252388000488281, 0.5588186979293823, -0.042799439281225204, 0.1739571988582611, -0.08045348525047302, 0.41557303071022034, 0.29574936628341675, 0.2601836025714874, -0.41742733120918274, -0.3851078450679779, 0.007413649931550026, -0.7703858017921448, -0.08416908979415894, -0.28779131174087524, -0.396331250667572, -0.06255976855754852, 0.5684502124786377, -0.014897068962454796, 0.02670852653682232, -0.20220611989498138, -0.16695138812065125, -0.12168911099433899, -0.05572886765003204, 0.49630674719810486, 0.567878246307373, -0.2330845594406128, 0.014672745019197464, -0.28917196393013, -0.7897774577140808, 0.22193774580955505, -0.02919149398803711, -0.5150125622749329, 0.45754507184028625, 0.4259141683578491, 0.5271468162536621, 0.49303069710731506, -0.6613016128540039, 0.4894962012767792, -0.0677744522690773, -0.06471598893404007, -0.24291671812534332, 0.17688564956188202, 0.47443366050720215, 0.049822848290205, 0.11722653359174728, -0.5902175307273865, -0.032591916620731354, -0.4676734209060669, 0.2623398005962372, 0.7573807835578918, -0.1850968450307846, -0.26137521862983704, 0.5432075262069702, 0.6405568718910217, -0.6279543042182922, 0.7711805701255798, -0.25276979804039, -0.4727720618247986, 0.537838876247406, 0.8292573690414429, 1.020797848701477, -0.3374885618686676, 0.42427003383636475, 0.5391783118247986, 0.4272044003009796, 0.1045166552066803, 0.41314658522605896, -0.07313784211874008, -0.7760166525840759, -0.40461382269859314, -0.313554048538208, -0.4194558560848236, 0.3471035063266754, -0.6273010969161987, 0.22946108877658844, -0.4383063316345215, 0.07335127890110016, 0.04963822662830353, 0.09420497715473175, -0.8255110383033752, 0.26736345887184143, 0.4711054861545563, 0.8412191271781921, -0.8719111084938049, 0.8817241191864014, 0.9255991578102112, -0.2552303969860077, -0.9324841499328613, 0.07026568800210953, -0.13985250890254974, -0.716163158416748, 0.7170501351356506, -0.08550142496824265, -0.1135021224617958, 0.20802082121372223, -1.0384728908538818, -0.6730716228485107, 0.7547891736030579, 0.24258168041706085, -0.7828171253204346, -0.39642512798309326, 0.2865056097507477, 0.17421488463878632, -0.8050476908683777, -0.0216092336922884, 0.19009175896644592, 0.2608836591243744, 0.048872608691453934, -0.4468705952167511, 0.10416145622730255, -0.12865221500396729, -0.09743251651525497, 0.06584946811199188, -0.1221199631690979, 0.5926004648208618, -0.3568597435951233, -0.3013814091682434, 0.06930141150951385, 0.5027831196784973, 0.20938299596309662, 0.309496134519577, 0.28992190957069397, 0.749211311340332, 0.6958208680152893, 0.005617338698357344, 0.6157591342926025, -0.6042572259902954, 0.2739541530609131, 1.4327479600906372, 0.024739347398281097, 0.8982680439949036, 0.49268844723701477, 0.04507453739643097, 0.5623167157173157, 0.6371545195579529, -0.09957754611968994, 0.5642837285995483, 0.2760830819606781, -0.42702677845954895, -0.3485340178012848, -0.18109354376792908, -0.5363211631774902, 0.5672877430915833, 0.8215088248252869, -0.344709187746048, -0.5929842591285706, -0.042492322623729706, 0.028691647574305534, 0.28416135907173157, -0.3665178120136261, 0.6052764654159546, 0.007080120034515858, -0.6270110011100769, 0.374210387468338, -0.3394352197647095, 0.7363763451576233, -0.6418871283531189, -0.39710044860839844, -0.39589229226112366, 0.04895707219839096, 0.05793377757072449, -0.9674239158630371, -0.5383260846138, 0.11773041635751724, -0.08166144043207169, 0.12443780899047852, 0.46879151463508606, -1.1183500289916992, -0.728004515171051, 0.06638950109481812, 0.4373186528682709, 0.05348566174507141, 0.3336135745048523, -0.5241754055023193, -0.390989750623703, -0.1120084896683693, 0.06889154016971588, 0.20139746367931366, 0.9653357267379761, 0.13900849223136902, 0.62669438123703, 0.5212893486022949, 0.1590345948934555, 0.27410274744033813, -0.13819889724254608, 0.7377309203147888, -0.451345294713974, -0.3664049804210663, -0.5448058843612671, 0.2566947042942047, -0.04832614213228226, -0.39632636308670044, 1.0008881092071533, 0.507182776927948, 1.1088898181915283, -0.25633737444877625, 0.9940294027328491, 0.09795653820037842, 0.5404310822486877, -0.5247782468795776, 0.663580060005188, -0.465685099363327, 0.118004709482193, -0.30212247371673584, -0.8089515566825867, 0.00034229332231916487, 0.2799569070339203, -0.007266755681484938, -0.037481360137462616, 0.5780031085014343, 0.951431930065155, -0.01144169457256794, 0.04804474860429764, 0.05446993559598923, -0.04782041534781456, 0.02432241477072239, 0.685718297958374, 0.9453073740005493, -0.3532404899597168, 0.6247199177742004, -0.5349900126457214, -0.18583829700946808, -0.3452383875846863, -0.6908770799636841, -1.4020718336105347, -0.7068321704864502, -0.405416876077652, -0.29223915934562683, 0.2731155455112457, 0.8166788816452026, 0.35876595973968506, -0.7557471394538879, -0.3756377696990967, -0.04047904536128044, 0.29709169268608093, -0.08499306440353394, -0.2343326210975647, 0.5593254566192627, -0.34477439522743225, -0.7283700704574585, 0.463436096906662, 0.031073743477463722, 0.08564592897891998, -0.516323447227478, 0.014293435961008072, -0.38846927881240845, 0.19789376854896545, 0.3315165638923645, 0.050381727516651154, -0.5317295789718628, -0.3622717261314392, 0.21831564605236053, -0.2599068582057953, -0.3653876483440399, 0.82285475730896, -0.8155189752578735, 0.8512288928031921, 0.5209742188453674, 0.7820490598678589, 0.329418808221817, -0.3345092535018921, 0.6104720830917358, -0.8783379793167114, 0.13475018739700317, 0.3299281597137451, 0.11625763028860092, 0.5278282761573792, -0.38330259919166565, 0.465802401304245, 0.42774227261543274, -0.1915433257818222, -0.7947316765785217, 0.21544581651687622, -0.539976179599762, -0.13922162353992462, 0.9502416253089905, -0.31045830249786377, -0.41375499963760376, -0.0509561225771904, 0.1903502196073532, 0.21767877042293549, -0.15444771945476532, 0.88746577501297, 0.66826993227005, 0.4987865388393402, -0.0756847932934761, -0.2308499813079834, 0.6400036811828613, 0.028330810368061066, -0.7050286531448364, 0.02183893509209156, 0.19562985002994537, 0.3231016993522644, 0.22234667837619781, -0.024836191907525063, 0.013474179431796074, 0.329518586397171, 0.3770316243171692, 0.20378009974956512, -0.06944207102060318, -0.39137259125709534, 0.2184588611125946, 0.0762973204255104, -0.28206774592399597, -0.5686075091362 ]
http://arxiv.org/abs/2404.06162v2
http://arxiv.org/pdf/2404.06162v2
Characterizing Multimodal Long-form Summarization: A Case Study on Financial Reports
2024-04-09T09:34:25
2024-05-08T04:36:07
Tianyu Cao, Natraj Raman, Danial Dervovic, Chenhao Tan
cs.CL
cs.CL, cs.AI, cs.LG
As large language models (LLMs) expand the power of natural language processing to handle long inputs, rigorous and systematic analyses are necessary to understand their abilities and behavior. A salient application is summarization, due to its ubiquity and controversy (e.g., researchers have declared the death of summarization). In this paper, we use financial report summarization as a case study because financial reports not only are long but also use numbers and tables extensively. We propose a computational framework for characterizing multimodal long-form summarization and investigate the behavior of Claude 2.0/2.1, GPT-4/3.5, and Command. We find that GPT-3.5 and Command fail to perform this summarization task meaningfully. For Claude 2 and GPT-4, we analyze the extractiveness of the summary and identify a position bias in LLMs. This position bias disappears after shuffling the input for Claude, which suggests that Claude has the ability to recognize important information. We also conduct a comprehensive investigation on the use of numeric data in LLM-generated summaries and offer a taxonomy of numeric hallucination. We employ prompt engineering to improve GPT-4's use of numbers with limited success. Overall, our analyses highlight the strong capability of Claude 2 in handling long multimodal inputs compared to GPT-4.
[ -0.33486124873161316, -0.9745088815689087, 0.7626478672027588, 0.6790543794631958, -0.22114582359790802, 0.16634710133075714, -0.3405793607234955, -0.5227662324905396, 0.4372064769268036, 0.43391314148902893, -0.23688994348049164, -0.3417106866836548, -0.8275608420372009, 0.22359707951545715, -0.44856664538383484, 1.3052074909210205, -0.13136930763721466, 0.008021888323128223, -0.32282379269599915, -0.1523599475622177, -0.4686497747898102, -0.7693331241607666, -0.7074779272079468, -0.20140907168388367, 0.8187741637229919, 0.22048866748809814, 0.6260640025138855, 0.29056793451309204, 0.6411788463592529, 0.391819030046463, 0.12130523473024368, 0.03282542526721954, -0.5716172456741333, 0.1333102136850357, 0.281116783618927, -0.19683881103992462, -0.9887185096740723, -0.028424536809325218, 0.8171684741973877, 0.534127414226532, 0.0024797962978482246, 0.07357937097549438, 0.0904935747385025, 0.8565006256103516, -0.36520931124687195, 0.8109418153762817, -0.13816815614700317, -0.08784830570220947, -0.35190683603286743, -0.31383588910102844, -0.4919493496417999, -0.42651912569999695, 0.15884339809417725, -0.5097569823265076, 0.011421911418437958, -0.09638306498527527, 0.44759640097618103, 0.027128268033266068, -0.8047764301300049, -0.6170973181724548, -0.6798496246337891, 0.7817472815513611, -0.6964892745018005, 0.3230236768722534, 0.5123462080955505, 0.40609240531921387, 0.09088411927223206, -0.7428277730941772, -0.3410254120826721, -0.32705187797546387, -0.23769213259220123, 0.2803301215171814, -0.268578439950943, 0.07977033406496048, 0.3822931945323944, 0.17135775089263916, -0.7655734419822693, 0.14863444864749908, -0.6510210037231445, -0.2827828824520111, 0.444038450717926, 0.12787674367427826, -0.08192569017410278, -0.1792515516281128, -0.3634166717529297, -0.2682482898235321, -0.3324465751647949, 0.12619420886039734, 0.37006738781929016, 0.2007512003183365, -0.3807534873485565, 0.6798049211502075, -0.0881071537733078, 0.49600425362586975, -0.19823633134365082, -0.42890143394470215, 0.2959401309490204, -0.3341725766658783, -0.295091450214386, 0.314371258020401, 0.6445522904396057, 0.7101908326148987, 0.5359193086624146, 0.028134100139141083, -0.3954353928565979, -0.11624625325202942, 0.06596129387617111, -0.8243957161903381, -0.03677791729569435, 0.2780088782310486, -0.5441420078277588, -0.38419124484062195, 0.032609328627586365, -0.7782437801361084, -0.36712175607681274, -0.47637155652046204, 0.2953319549560547, -0.38572975993156433, 0.012095660902559757, 0.019866598770022392, -0.35643306374549866, 0.27736949920654297, 0.4356149137020111, -1.0080718994140625, 0.41017472743988037, 0.7320013046264648, 0.731743574142456, -0.17932085692882538, -0.16296477615833282, -0.8089504241943359, 0.2881529629230499, -0.027616802603006363, 0.757963240146637, -0.4364267587661743, -0.43051019310951233, -0.2102898359298706, -0.08384904265403748, 0.046361733227968216, -0.4177600145339966, 0.21204160153865814, -0.6379346251487732, 0.22321705520153046, -0.32900571823120117, -0.3480755090713501, -0.28802645206451416, 0.2582438588142395, -0.9104984402656555, 0.529395580291748, 0.10036648064851761, -0.7531742453575134, 0.44009390473365784, -0.8693583011627197, -0.568309485912323, -0.19257530570030212, -0.1888262927532196, -0.5481280088424683, 0.11992800235748291, 0.1549891084432602, 0.6742120385169983, -0.12562742829322815, 0.34649452567100525, -0.39564049243927, -0.2284553349018097, 0.5708565711975098, -0.5140795707702637, 0.3915892243385315, 0.015725767239928246, 0.0640469491481781, 0.24248851835727692, -0.8249272108078003, -0.16656920313835144, 0.034362249076366425, -0.2050219625234604, -0.37593379616737366, 0.01791376993060112, 0.16643787920475006, -0.03845119848847389, 0.26134154200553894, 0.013040110468864441, 0.19876067340373993, -0.05660048499703407, 0.49485769867897034, 0.7857332825660706, -0.02350820042192936, 0.36740642786026, -0.39977553486824036, 0.5628368854522705, -0.044980738312006, -0.0896158367395401, -0.5004488825798035, -0.20662933588027954, -0.3121000826358795, -0.5928640365600586, 0.40363895893096924, 0.7058244943618774, -0.6451335549354553, -0.12145400792360306, -0.2369614839553833, -0.06799054890871048, 0.15425468981266022, -0.03678712621331215, 0.06209725886583328, 0.29234349727630615, 0.3176114559173584, -0.2202978879213333, -0.395897775888443, -1.3390130996704102, -0.10460194200277328, 0.0009036206174641848, -0.1467285454273224, 0.0032061925157904625, 0.4516669511795044, -0.07243067771196365, 0.7513115406036377, -0.47914984822273254, -0.05237819254398346, -0.43329569697380066, 0.5548017024993896, 0.4179784059524536, 0.1123025193810463, 0.6905766129493713, -0.7151190042495728, -0.11261478811502457, -0.23303422331809998, -0.9531394839286804, -0.025104356929659843, -0.5072348117828369, 0.21469055116176605, 0.2100686877965927, 0.5378883481025696, -0.6084040403366089, 0.49787962436676025, 0.3587052524089813, -0.23465947806835175, 0.4219013750553131, -0.33725228905677795, 0.1426011621952057, -0.8998400568962097, 0.05369703844189644, 0.28398197889328003, -0.309661328792572, -0.4377576410770416, -0.25739744305610657, 0.2709936201572418, -0.019801683723926544, -0.04567380249500275, 0.23856781423091888, -0.4918287694454193, -0.34717053174972534, -0.15335281193256378, 0.14795547723770142, -0.05332858860492706, 0.4608776569366455, -0.03581739217042923, 0.5785900354385376, 0.20327529311180115, -0.5116996169090271, 0.4690656065940857, -0.04913661256432533, -0.297497034072876, 0.44597575068473816, -0.7862827181816101, -0.13181787729263306, -0.4652043581008911, 0.3598957657814026, -1.2445157766342163, -0.35677775740623474, 0.12962253391742706, -0.325683057308197, 0.534821629524231, -0.04345548525452614, -0.6622118353843689, -0.08549914509057999, -0.7202878594398499, 0.6044468879699707, 0.15647290647029877, -0.017597565427422523, 0.7743964195251465, 0.2435832917690277, -0.968093752861023, -0.38114234805107117, -0.5771949887275696, 0.2771824896335602, -0.40723878145217896, -0.8714407682418823, 0.1770859807729721, -0.11926178634166718, -0.6719182729721069, -0.49738532304763794, -0.13563194870948792, 0.059718016535043716, -0.022964127361774445, 0.10092571377754211, 0.6238662600517273, -0.15500526130199432, 0.10150417685508728, 0.0544755682349205, -0.27310213446617126, 0.36310744285583496, 0.21356408298015594, 0.39659473299980164, -0.2281060516834259, -0.20615817606449127, -0.2806854248046875, 0.5174252390861511, 1.009003758430481, -0.23120932281017303, 0.31672203540802, 0.45404428243637085, -0.0364903062582016, 0.05790242180228233, -0.5284954309463501, -0.09796896576881409, -0.41905713081359863, 0.4518207311630249, -0.1681402325630188, -0.731805145740509, 0.8284146189689636, 0.16528259217739105, 0.15772970020771027, 0.5741038918495178, 0.6743353009223938, -0.09364120662212372, 0.7100091576576233, 0.6156046390533447, 0.005636918358504772, 0.3024052381515503, -0.1629074662923813, 0.24552582204341888, -0.403225302696228, -0.39550209045410156, -0.24985119700431824, -0.4554140567779541, -0.5144322514533997, -0.16804280877113342, 0.6983479857444763, -0.23735585808753967, 0.2282930165529251, 0.08395463228225708, -0.006243318319320679, 0.45643213391304016, 0.22907288372516632, -0.32305318117141724, 0.33249208331108093, -0.03257443755865097, 0.04636254906654358, -0.09546073526144028, -0.26409658789634705, -0.4167034924030304, 0.8934101462364197, 0.6148211359977722, 0.9745519757270813, 0.3423389494419098, 0.6117252707481384, 0.5384236574172974, 0.2552219033241272, -0.7821301817893982, 0.47161969542503357, -0.0018054716056212783, -0.2287912368774414, -0.5001090168952942, -0.6218177080154419, -0.7545743584632874, 0.24424880743026733, 0.055233169347047806, -0.41932255029678345, 0.004188340622931719, 0.07325319200754166, -0.42650583386421204, -0.09159737080335617, -0.8268327116966248, 0.7484912276268005, -0.46309852600097656, -0.22062063217163086, -0.24785304069519043, -0.670126736164093, 0.6585479974746704, -0.37360405921936035, 0.5012232065200806, 0.08541925251483917, 0.07904689759016037, 0.7229301929473877, -0.28011518716812134, 0.9712916016578674, 0.0007641007541678846, -0.5585866570472717, 0.035799141973257065, 0.16677887737751007, 0.6099758744239807, 0.37215542793273926, 0.1765623241662979, -0.03074691817164421, 0.010266710072755814, -0.3251194357872009, -0.7334678173065186, 0.6386735439300537, -0.4255633056163788, -0.22976113855838776, -0.7032599449157715, -0.6503888964653015, -0.18973319232463837, -0.009255225770175457, 0.03455447033047676, 0.7546101212501526, -0.062264714390039444, 0.07785629481077194, 0.47090065479278564, -0.31160715222358704, 0.7602135539054871, 0.4124303460121155, -0.43494296073913574, -0.6308078169822693, 1.0252857208251953, 0.36913493275642395, 0.16652138531208038, 0.4165894687175751, 0.05847782641649246, -0.44664499163627625, -0.2246745377779007, -0.39795443415641785, 0.297027051448822, -0.7083303332328796, 0.006559950299561024, -0.44960159063339233, -0.06266788393259048, -0.40113937854766846, -0.11510922759771347, -0.04497860372066498, -0.8250558972358704, -0.08004502952098846, -0.2994537353515625, 0.3327045738697052, 0.960875391960144, 0.025238526985049248, 0.014187010005116463, -0.7875176072120667, 0.6099472641944885, 0.6336450576782227, 0.30294662714004517, 0.13449448347091675, -0.35576531291007996, -0.16063252091407776, -0.20730122923851013, -0.22213514149188995, -0.827743411064148, 0.353702187538147, -0.13765546679496765, 0.43314528465270996, 0.4686899483203888, -0.24784459173679352, 0.5646188855171204, -0.16391469538211823, 0.6005356311798096, 0.31384924054145813, -0.7631809115409851, 0.13276830315589905, -0.5699308514595032, 0.5093085765838623, 0.3261050879955292, 0.2268860638141632, -0.48262250423431396, -0.3291374444961548, -0.28281518816947937, -1.0666083097457886, 0.5452004075050354, 0.2692759931087494, -0.13757231831550598, -0.0061422972939908504, 0.022241834551095963, 0.3050105571746826, 0.3500378131866455, -0.7459616661071777, -0.07494271546602249, -0.36756783723831177, 0.07282029092311859, -0.22372864186763763, -0.6465680599212646, 0.045540470629930496, -0.1078089103102684, 0.3832344114780426, 0.042213402688503265, 0.10923395305871964, -0.00717577151954174, -0.1448422074317932, 0.3977047801017761, 0.39799150824546814, 1.290113091468811, 1.0159472227096558, -0.2997691333293915, 0.25382399559020996, 0.09995855391025543, -0.3113662600517273, -0.2568154036998749, 0.26296156644821167, 0.21306216716766357, 0.0242922343313694, 0.7713059186935425, 0.42694106698036194, 0.4944184422492981, -0.5421899557113647, 0.529006838798523, -0.20276956260204315, -0.28766950964927673, -0.55198734998703, -0.4968077540397644, 0.040901970118284225, 0.30677857995033264, 0.3791011571884155, -0.05144582688808441, 0.33162373304367065, -0.6032536029815674, 0.17699265480041504, 0.2762832045555115, -0.11856530606746674, -0.4481881856918335, 0.47807446122169495, 0.19792059063911438, 0.11035894602537155, 0.825012743473053, -0.14589382708072662, -0.22527676820755005, 0.7127472758293152, 0.37929868698120117, 0.8798105716705322, 0.17616510391235352, 0.16040021181106567, 0.006801672745496035, 0.2256019413471222, 0.024461109191179276, 0.30580419301986694, -0.20165874063968658, -0.26958924531936646, -0.9915735125541687, -0.38127365708351135, -0.33996066451072693, 0.1722204089164734, -0.6963287591934204, 0.18465109169483185, -0.4050370752811432, -0.3848018944263458, 0.49478140473365784, -0.5536826252937317, -0.3350340723991394, -0.2878795564174652, 0.35050633549690247, 0.5891356468200684, -0.6138267517089844, 0.4494229853153229, 0.40073561668395996, -0.25291359424591064, -0.3012363910675049, -0.3947364091873169, 0.3123002350330353, -0.802749752998352, 0.9172878861427307, 0.15745458006858826, -0.14466610550880432, -0.47258707880973816, -0.5070320963859558, -0.5510001182556152, 0.9964936375617981, 0.19578565657138824, -0.5296908020973206, -0.21501046419143677, 0.15687020123004913, 0.31520190834999084, 0.042685817927122116, 0.1968798041343689, 0.33990681171417236, 0.8217407464981079, 0.11035360395908356, -1.1688542366027832, -0.19855184853076935, -0.23829953372478485, -0.306004136800766, 0.49473482370376587, -0.7186154723167419, 0.9414312839508057, -0.4605601727962494, 0.07410398870706558, -0.17859779298305511, 0.6518191695213318, 0.22305803000926971, 0.6287968754768372, 0.279746949672699, 0.30438846349716187, 0.6835989952087402, 0.048560116440057755, 1.1352403163909912, -0.14761194586753845, 0.3047948181629181, 0.9042537808418274, -0.3499617576599121, 0.4347962439060211, 0.5516850352287292, -0.10908500850200653, 0.17541447281837463, 0.2724466919898987, -0.1953902244567871, 0.27069976925849915, 0.476445734500885, -0.17073342204093933, -0.11159610003232956, 0.2996242046356201, -0.32551252841949463, 0.5373355746269226, 0.2232096791267395, -0.5338297486305237, -0.4251708388328552, -0.03732650354504585, 0.19300973415374756, -0.29586389660835266, -0.2881639897823334, 0.7364274263381958, 0.2723807096481323, -0.4044917821884155, 0.31202125549316406, 0.26981279253959656, 0.40267330408096313, -0.8375254273414612, -0.25469136238098145, -0.14075228571891785, 0.005736007820814848, -0.06180562824010849, -0.6309486031532288, 0.14032937586307526, -0.03471717983484268, -0.43526142835617065, -0.5532121062278748, 0.391470342874527, -0.2845444083213806, -0.6955796480178833, 0.008029695600271225, 0.4410266578197479, 0.20857268571853638, -0.19731448590755463, 0.0021044055465608835, 0.19439764320850372, -0.010772917419672012, -0.23843175172805786, 0.48525646328926086, 0.6458770036697388, -0.43518421053886414, 0.691950261592865, 0.5953369140625, -0.1357295662164688, -0.2113358974456787, 0.37116116285324097, 0.7488607168197632, -0.9638153910636902, -0.5946846008300781, -1.3440706729888916, 0.39746183156967163, -0.08003886789083481, -0.2551107406616211, 0.8334790468215942, 0.9360480308532715, 0.30840572714805603, -0.2264729142189026, 0.7857992053031921, 0.22449712455272675, 0.19823798537254333, -0.8514142632484436, 0.545840322971344, -0.16189996898174286, 0.38567498326301575, -0.37360280752182007, -1.0450876951217651, -0.37882399559020996, 0.4970921576023102, -0.31333521008491516, 0.11725134402513504, 0.5702872276306152, 0.4168553948402405, -0.014162207953631878, 0.08922974020242691, 0.2469301074743271, 0.4373057782649994, 0.3599131405353546, 0.357588529586792, 0.8585138916969299, 0.04244742915034294, 0.5678391456604004, 0.060418613255023956, -0.30184119939804077, -0.27571436762809753, -1.0109463930130005, -0.9343129992485046, -0.49444013833999634, -0.176557719707489, -0.17201092839241028, -0.3014623522758484, 0.6761535406112671, 0.3254678547382355, -0.533262312412262, -0.38558560609817505, 0.6757290959358215, 0.05711577460169792, 0.055954933166503906, -0.24176864326000214, 0.3905244767665863, -0.1543918251991272, -0.4309132695198059, 0.466008722782135, 0.6698496341705322, 0.39448222517967224, -0.2655796706676483, 0.12643291056156158, 0.42424941062927246, -0.026078421622514725, 1.2126039266586304, 0.12076559662818909, -0.4965725839138031, -0.15302300453186035, 0.13514520227909088, 0.08817646652460098, -0.04960251599550247, 1.0935535430908203, -0.6107964515686035, 0.17291760444641113, 0.4094480872154236, 0.21517014503479004, 0.6672172546386719, 0.19086891412734985, 0.6599723696708679, -0.484179824590683, -0.11567291617393494, 0.21786732971668243, 0.4515340030193329, 0.014151941984891891, -0.18535803258419037, 0.22451533377170563, 0.004094348289072514, -0.5339599847793579, -0.6374008655548096, 0.011805523186922073, -1.5780410766601562, -0.20391908288002014, 1.0434460639953613, 0.4612219035625458, -0.08285121619701385, 0.024421855807304382, -0.3841390907764435, -0.24114631116390228, -0.7609743475914001, 0.8220558166503906, 1.0886259078979492, -0.30126404762268066, -0.10704623907804489, -0.8253743052482605, 0.28682348132133484, -0.01647242344915867, -0.6536343097686768, 0.34547188878059387, 0.7444663643836975, 0.17733535170555115, 0.23952370882034302, 0.6938267350196838, -0.3199579417705536, 0.17953133583068848, -0.24740248918533325, -0.2332151085138321, -0.3399876654148102, -0.2759365439414978, -0.33759593963623047, 0.4673691391944885, -0.11809214949607849, 0.1468650996685028 ]
http://arxiv.org/abs/2404.06150v1
http://arxiv.org/pdf/2404.06150v1
(Not) Understanding Latin Poetic Style with Deep Learning
2024-04-09T09:21:56
2024-04-09T09:21:56
Ben Nagy
cs.CL
cs.CL
This article summarizes some mostly unsuccessful attempts to understand authorial style by examining the attention of various neural networks (LSTMs and CNNs) trained on a corpus of classical Latin verse that has been encoded to include sonic and metrical features. Carefully configured neural networks are shown to be extremely strong authorship classifiers, so it is hoped that they might therefore teach `traditional' readers something about how the authors differ in style. Sadly their reasoning is, so far, inscrutable. While the overall goal has not yet been reached, this work reports some useful findings in terms of effective ways to encode and embed verse, the relative strengths and weaknesses of the neural network families, and useful (and not so useful) techniques for designing and inspecting NN models in this domain. This article suggests that, for poetry, CNNs are better choices than LSTMs -- they train more quickly, have equivalent accuracy, and (potentially) offer better interpretability. Based on a great deal of experimentation, it also suggests that simple, trainable embeddings are more effective than domain-specific schemes, and stresses the importance of techniques to reduce overfitting, like dropout and batch normalization.
[ -0.25079742074012756, -0.3485485315322876, 0.540554940700531, 0.22322453558444977, -0.5154976844787598, 0.25706905126571655, -0.663013219833374, -0.4198816418647766, 0.39492905139923096, 0.4242599904537201, -0.25554606318473816, -0.516369640827179, -0.772904634475708, 0.29332080483436584, -0.7115148305892944, 1.0601757764816284, 0.001834946102462709, 0.19232910871505737, -0.24981991946697235, -0.1986498385667801, -0.36451300978660583, -0.07367699593305588, -1.0176366567611694, -0.22773362696170807, 0.9415849447250366, 0.2301298975944519, 0.5994099974632263, 0.6259827017784119, 0.5320543050765991, 0.3415369391441345, -0.2526986598968506, 0.22910276055335999, -0.5203283429145813, 0.3541679382324219, 0.05800793692469597, -0.5697122812271118, -0.09045502543449402, 0.3221004009246826, 0.6112313270568848, 0.6916279196739197, 0.4319387376308441, 0.13163761794567108, 0.08505375683307648, 0.9306842088699341, -0.4606819450855255, 0.03742038458585739, -0.5581575036048889, 0.513561487197876, -0.4424367845058441, -0.39110270142555237, -0.5833252668380737, -0.41386061906814575, 0.26243916153907776, -0.5264246463775635, 0.2712722420692444, 0.142839252948761, 0.44160133600234985, 0.42472484707832336, -0.3740757405757904, -0.26299434900283813, -0.8579002618789673, 0.7577142119407654, -0.5206382274627686, 0.19957759976387024, 0.23634229600429535, 0.25643643736839294, -0.06401746720075607, -1.033179759979248, -0.42632636427879333, -0.21434012055397034, -0.11302898079156876, 0.31048572063446045, -0.3791661262512207, -0.026659643277525902, 0.09159324318170547, 0.3124392628669739, -0.5440241694450378, 0.1800757497549057, -0.54964679479599, 0.3710290789604187, 0.6832497119903564, -0.08585701137781143, 0.29443874955177307, -0.08610134571790695, -0.4914417564868927, 0.07325435429811478, -0.772494375705719, 0.17385220527648926, 0.6964026689529419, 0.27071329951286316, -0.07758384943008423, 0.37325266003608704, 0.26952674984931946, 0.6812178492546082, -0.06693709641695023, 0.03146595135331154, 0.11075370758771896, -0.026637928560376167, -0.26030755043029785, 0.24625609815120697, 0.905363142490387, 0.10745646804571152, 0.8673780560493469, -0.5317205190658569, -0.1530461609363556, -0.19394835829734802, 0.8230624198913574, -0.4734943211078644, -0.4268115162849426, 0.14106298983097076, -0.46566393971443176, -0.3039633333683014, 0.17809806764125824, -0.19594380259513855, -0.4759249985218048, -0.8861681222915649, 0.08180853724479675, -0.46757322549819946, -0.012270674109458923, 0.028298964723944664, -0.43525734543800354, 0.1883329153060913, 0.40253588557243347, -0.8654393553733826, 0.34680894017219543, 0.8903051614761353, 0.8403501510620117, -0.12774115800857544, -0.338205486536026, -0.5078543424606323, -0.5001863837242126, -0.73595130443573, 0.5054665803909302, -0.2297263741493225, 0.13052912056446075, -0.05917204171419144, -0.09580733627080917, -0.3265744149684906, -0.3375779092311859, 0.7719137072563171, -0.5996993184089661, -0.04869771748781204, -0.12365758419036865, -0.7212762832641602, -0.134183868765831, -0.20695514976978302, -0.757229208946228, 0.5306426286697388, -0.22755751013755798, -0.786820113658905, 0.09085850417613983, -0.4054679572582245, -0.38900226354599, -0.09457380324602127, -0.20731940865516663, -0.29406875371932983, 0.5518759489059448, 0.01140571292489767, 0.8050400018692017, -0.004080268554389477, 0.07597605139017105, -0.3661820590496063, -0.6860871911048889, 0.682820200920105, -0.200007826089859, 1.0845996141433716, 0.4652424454689026, -0.556766152381897, 0.05592316389083862, -0.5784569978713989, -0.0601663775742054, 0.2861330509185791, 0.049417123198509216, -0.3869783580303192, -0.19406522810459137, 0.4694463312625885, -0.1414208561182022, -0.084088034927845, -0.6507648229598999, 0.013691320084035397, -0.541160523891449, 0.639766275882721, 0.8212669491767883, -0.3787069320678711, 0.3915014863014221, -0.2662605941295624, 0.7120451331138611, -0.44443872570991516, -0.10391756147146225, 0.15488889813423157, -0.3773450255393982, -0.6862028241157532, 0.022049538791179657, 0.5108178853988647, 0.38148677349090576, -0.6310045719146729, 0.22060787677764893, -0.1781114935874939, -0.7362442016601562, -0.7905837893486023, 0.5914034247398376, 0.511043906211853, 0.2804901897907257, 0.21246330440044403, -0.4085676074028015, -0.3200354278087616, -0.7595975399017334, -0.6257237792015076, 0.22587963938713074, 0.4660710394382477, 0.08568490296602249, 0.5972035527229309, 0.40317124128341675, 0.5779118537902832, -0.27021369338035583, -0.17694798111915588, -0.38238006830215454, 0.07882886379957199, 0.1839330941438675, 0.6071982979774475, 0.7589530944824219, -0.8296334743499756, -0.5352638363838196, 0.006651668809354305, -0.7414161562919617, 0.16986654698848724, -0.1757999211549759, -0.03946398198604584, -0.14341510832309723, 0.773067057132721, -0.3251926004886627, 0.45667898654937744, 0.10075312852859497, -0.09805013984441757, 0.3902185559272766, -0.22391903400421143, -0.3558339476585388, -0.9160610437393188, 0.1072729229927063, 0.30548667907714844, -0.14175008237361908, -0.8386347889900208, 0.1713247150182724, 0.06055024266242981, -0.03848195821046829, -0.5261371731758118, 0.42946743965148926, -0.4898856282234192, -0.12503108382225037, -0.6145827770233154, 0.06994643062353134, 0.41623616218566895, 0.5104103684425354, 0.05626020208001137, 0.45910462737083435, 0.3032178580760956, -0.3190838396549225, 0.555594801902771, 0.09914448857307434, -0.5135083794593811, 0.7546419501304626, -0.8693827986717224, 0.5216603875160217, -0.6284751892089844, 0.3229692578315735, -1.1887965202331543, 0.11882215738296509, 0.18614819645881653, -0.5316286683082581, 0.8437602519989014, -0.5880024433135986, -0.559219479560852, -0.1870022863149643, -0.2404366135597229, 0.6085503101348877, 0.12528878450393677, -0.6770157217979431, 0.08952232450246811, -0.07121866941452026, -0.04550958052277565, -0.8205501437187195, -0.8296528458595276, 0.4033919870853424, -0.5193784832954407, -0.5767583250999451, 0.43944546580314636, 0.057232148945331573, -0.5715484023094177, 0.0018994376296177506, 0.18604087829589844, -0.04114990681409836, 0.5121299028396606, 0.15777252614498138, -0.12768137454986572, -0.3771747052669525, 0.44094040989875793, -0.03560572490096092, -0.07400985807180405, 0.13107992708683014, -0.7186862826347351, 0.21953539550304413, -0.26013827323913574, -0.12603041529655457, -0.933036208152771, 0.38015928864479065, 0.5809348821640015, -0.6484864950180054, 0.6698483228683472, 0.9564305543899536, -0.1741618663072586, -0.33391180634498596, -0.26970919966697693, -0.007769131101667881, -0.3543258607387543, -0.06430939584970474, -0.09049034863710403, -0.48210230469703674, 0.3343895673751831, 0.14354567229747772, -0.1000499501824379, 0.5490944385528564, 0.1832369863986969, -0.6977179050445557, 0.36274540424346924, 0.6523690223693848, 0.055003318935632706, 0.6289929151535034, -0.9190097451210022, 0.034954581409692764, -1.1009124517440796, -0.08337683230638504, -0.7277019023895264, -0.9641340970993042, -0.6625264883041382, -0.01874716207385063, 0.3817193806171417, -0.2658481001853943, -0.18223240971565247, 0.32230308651924133, -0.522163450717926, 0.4589464068412781, 0.8105916380882263, 0.035364389419555664, 0.08695349842309952, 0.0426504909992218, 0.008029109798371792, -0.09616831690073013, -0.46452203392982483, -0.41245660185813904, 1.2562527656555176, 0.31897491216659546, 0.7315321564674377, 0.3669864535331726, 0.8633715510368347, 0.16755931079387665, 0.005460839718580246, -0.9954451322555542, -0.049427974969148636, -0.6299007534980774, -0.46404796838760376, -0.21739135682582855, -0.15229898691177368, -1.2567801475524902, 0.09429912269115448, -0.2034410983324051, -0.5147941708564758, 0.4103928804397583, -0.023887870833277702, -0.6985812187194824, 0.42051079869270325, -0.5493184328079224, 1.074439525604248, -0.2909005284309387, -0.11248815059661865, 0.23228929936885834, -0.8670305013656616, 0.14437590539455414, 0.2662403881549835, 0.0411229208111763, 0.204793319106102, -0.14468638598918915, 0.7680352330207825, -0.34789469838142395, 0.9942843914031982, 0.1355152130126953, 0.11896117031574249, 0.3065049946308136, 0.04146929457783699, 0.1953868716955185, -0.14751790463924408, -0.017254812642931938, -0.2758975625038147, -0.28556299209594727, -0.4529981017112732, -0.9268710017204285, 0.7420938611030579, -1.0254147052764893, -0.29029086232185364, -0.3806813657283783, -0.20560693740844727, -0.020909447222948074, 0.041550252586603165, 0.42039239406585693, 0.9754931926727295, -0.07783408463001251, 0.567898154258728, 0.7547408938407898, 0.07079965621232986, 0.6763471364974976, -0.22569522261619568, 0.07639598101377487, -0.7109927535057068, 0.7293784022331238, 0.4039515554904938, 0.1323114037513733, 0.49064359068870544, 0.3130473494529724, -0.3361054062843323, -0.8437281847000122, -0.8926886916160583, 0.2736608684062958, -0.6729027628898621, 0.11883176118135452, -0.6167092323303223, -0.2921338677406311, -0.42752334475517273, -0.0844418853521347, -0.26714447140693665, -0.5806951522827148, -0.7487409114837646, -0.22586414217948914, 0.5764768123626709, 1.0566978454589844, 0.43035897612571716, 0.4523300230503082, -0.36566126346588135, -0.03311358392238617, 0.027796657755970955, 0.34906885027885437, 0.30285459756851196, -0.613571286201477, -0.40367189049720764, -0.5394033193588257, -0.36600327491760254, -0.9105615615844727, 0.2829378843307495, 0.21555356681346893, 0.29229936003685, 0.5873363018035889, 0.16685713827610016, 0.2550678253173828, -0.5536812543869019, 0.5241189002990723, -0.0025367827620357275, -0.6112265586853027, 0.5276796221733093, -0.32400092482566833, 0.11113400757312775, 0.8385434746742249, 0.4513453543186188, -0.6393002271652222, -0.4028250277042389, -0.7582328915596008, -0.7756377458572388, 0.4608507752418518, 0.3423333168029785, 0.5991693735122681, 0.20772719383239746, 0.6811878681182861, 0.3226991891860962, 0.3319810628890991, -0.6374524831771851, -0.6648821830749512, -0.3979417085647583, -0.26848021149635315, -0.7463539838790894, -0.0010662281420081854, -0.17012538015842438, -0.3867596983909607, 0.5056092143058777, -0.09570251405239105, 0.16762469708919525, 0.41910994052886963, -0.08370767533779144, 0.0926867425441742, 0.18292176723480225, 0.9971112608909607, 0.6260363459587097, 0.011962370947003365, 0.38214680552482605, -0.3516274094581604, -0.3886113166809082, -0.1257931888103485, 0.12431154400110245, -0.22282806038856506, 0.08676110953092575, 0.7700411677360535, 1.262190818786621, 0.028440091758966446, -0.05621706694364548, 0.582727313041687, -0.17543025314807892, -0.10539893060922623, -1.044040560722351, 0.1261480152606964, 0.18582214415073395, 0.2454644739627838, 0.09323941171169281, 0.45237645506858826, 0.19520969688892365, -0.5530657768249512, -0.22762277722358704, 0.4310910701751709, -0.7845323085784912, -0.297212153673172, 0.6098055839538574, 0.07058990001678467, -0.5359328985214233, 0.35561665892601013, -0.07361425459384918, -0.4912252426147461, 0.8014509081840515, 0.3603973984718323, 1.2754319906234741, 0.3340070843696594, 0.1392463892698288, -0.020870180800557137, 0.36702069640159607, 0.3327885568141937, 0.17256991565227509, -0.1352062225341797, -0.5423780679702759, -0.5067909359931946, -0.3469514846801758, -0.2972947955131531, 0.20878371596336365, -0.45517459511756897, -0.06663167476654053, -0.8099029660224915, -0.22704102098941803, 0.37152600288391113, 0.14777672290802002, -0.950874924659729, 0.059216272085905075, 0.06027030944824219, 0.8529479503631592, -0.7580797076225281, 0.5297172665596008, 0.7465601563453674, -0.38064342737197876, -0.8494113087654114, -0.028320375829935074, 0.13153216242790222, -0.3748628497123718, 0.7598192095756531, 0.08370406925678253, -0.08372782170772552, 0.014813573099672794, -0.6396718621253967, -0.5605272650718689, 0.9223171472549438, 0.4795093238353729, -0.16002815961837769, 0.34976500272750854, -0.2551601827144623, 0.8530648946762085, -0.5046199560165405, 0.2775028347969055, 0.15409819781780243, 0.5242170691490173, -0.04143771529197693, -0.6451672315597534, -0.21086184680461884, -0.5248599648475647, 0.014091795310378075, 0.08666104078292847, -0.7942434549331665, 0.8819574117660522, 0.03163960203528404, 0.057869892567396164, 0.3746369183063507, 0.9053242206573486, -0.5272650718688965, 0.786518931388855, 0.23902085423469543, 0.9103273749351501, 0.7840753793716431, -0.014135089702904224, 1.2652652263641357, -0.021240081638097763, -0.046211086213588715, 1.048949956893921, 0.16932260990142822, 0.8023996353149414, 0.3338177502155304, -0.021011030301451683, 0.5839981436729431, 0.759314775466919, -0.12076504528522491, 0.2299327552318573, 0.6868242025375366, -0.25046342611312866, -0.09820056706666946, -0.023070797324180603, -0.41449254751205444, 0.7432540655136108, -0.16166356205940247, -0.9171419143676758, 0.23209215700626373, 0.04275933653116226, 0.2508997321128845, 0.4998726546764374, -0.34672439098358154, 0.8316389322280884, 0.6166633367538452, -0.796798586845398, 0.4370929002761841, 0.08503887057304382, 0.37677571177482605, 0.10839527100324631, 0.27399179339408875, -0.032248321920633316, 0.10085541009902954, -0.33717986941337585, -0.6255433559417725, 0.15221060812473297, 0.14901939034461975, -0.17274659872055054, -0.4237538278102875, 0.6416712403297424, -0.24324125051498413, -0.7185806035995483, 0.15664388239383698, 0.5969163775444031, 0.3852989375591278, -0.03478485718369484, -0.4697878956794739, -0.1638987511396408, -0.4276275932788849, 0.14181207120418549, -0.012278267182409763, 0.6602154970169067, 0.2052057683467865, 0.3104921579360962, 0.5850360989570618, 0.2747819721698761, -0.06096862256526947, 0.5431744456291199, 0.4426628649234772, -0.6099047660827637, -0.3270387053489685, -0.9992805123329163, 0.3436647951602936, -0.09313364326953888, -0.7092415690422058, 0.6255146265029907, 0.3534366488456726, 0.8197041749954224, -0.1548469066619873, 0.3918689787387848, 0.6183136701583862, 0.08537794649600983, -0.7130417227745056, 1.1105420589447021, -0.7176750898361206, -0.042889561504125595, -0.38826510310173035, -0.810536801815033, -0.5695887207984924, 0.4338337779045105, -0.3549042344093323, 0.22686071693897247, 0.6583585739135742, 0.23745034635066986, -0.08560473471879959, 0.28522226214408875, 0.09343627095222473, 0.012043198570609093, 0.058780182152986526, 0.335798442363739, 0.9506369233131409, -0.2670690715312958, 0.25124314427375793, -0.5818480849266052, 0.09607690572738647, -0.2719721496105194, -0.9401720762252808, -0.9212488532066345, -0.6208099722862244, -0.3518526554107666, -0.28286024928092957, -0.05641564726829529, 1.2424829006195068, 0.6234918832778931, -0.5484094619750977, -0.08285519480705261, -0.020068680867552757, 0.3263528645038605, -0.33227962255477905, -0.06875509023666382, 0.6220940351486206, -0.5145934224128723, -0.8581668734550476, 0.33976510167121887, 0.04023253172636032, 0.12668341398239136, -0.45715680718421936, 0.06215972825884819, 0.10062100738286972, -0.1563248634338379, 0.3923291265964508, 0.16600292921066284, -0.7715265154838562, -0.11974767595529556, 0.1271737813949585, -0.12843899428844452, 0.08867626637220383, 0.9974954128265381, -0.4372977912425995, 0.587786078453064, 0.4775354564189911, 0.8899291753768921, 0.4010409414768219, -0.23154214024543762, 0.2942199409008026, -0.5775032043457031, -0.2910798192024231, 0.4488626718521118, 0.7784846425056458, 0.4211413562297821, -0.44787025451660156, 0.4907742440700531, 0.4411080777645111, -0.4526089131832123, -0.5745325684547424, 0.08404418081045151, -1.2614496946334839, -0.10872451961040497, 1.0119036436080933, -0.3164796531200409, -0.4584555923938751, -0.08370066434144974, -0.19199278950691223, 0.20812155306339264, -0.28990256786346436, 0.5157594680786133, 0.7316144108772278, -0.07774045318365097, -0.03568074107170105, -0.8690853118896484, 0.5421803593635559, 0.5126823782920837, -0.21514807641506195, -0.36208972334861755, 0.1294713020324707, 0.17262756824493408, 0.22109366953372955, 0.31616103649139404, 0.07680149376392365, 0.5247114896774292, -0.3829852044582367, -0.07864545285701752, -0.2456466108560562, -0.8156793713569641, -0.5901407599449158, 0.23307669162750244, 0.42310741543769836, -0.2589959502220154 ]
http://arxiv.org/abs/2404.06138v1
http://arxiv.org/pdf/2404.06138v1
Cendol: Open Instruction-tuned Generative Large Language Models for Indonesian Languages
2024-04-09T09:04:30
2024-04-09T09:04:30
Samuel Cahyawijaya, Holy Lovenia, Fajri Koto, Rifki Afina Putri, Emmanuel Dave, Jhonson Lee, Nuur Shadieq, Wawan Cenggoro, Salsabil Maulana Akbar, Muhammad Ihza Mahendra, Dea Annisayanti Putri, Bryan Wilie, Genta Indra Winata, Alham Fikri Aji, Ayu Purwarianti, Pascale Fung
cs.CL
cs.CL
Large language models (LLMs) show remarkable human-like capability in various domains and languages. However, a notable quality gap arises in low-resource languages, e.g., Indonesian indigenous languages, rendering them ineffective and inefficient in such linguistic contexts. To bridge this quality gap, we introduce Cendol, a collection of Indonesian LLMs encompassing both decoder-only and encoder-decoder architectures across a range of model sizes. We highlight Cendol's effectiveness across a diverse array of tasks, attaining 20% improvement, and demonstrate its capability to generalize to unseen tasks and indigenous languages of Indonesia. Furthermore, Cendol models showcase improved human favorability despite their limitations in capturing indigenous knowledge and cultural values in Indonesia. In addition, we discuss the shortcomings of parameter-efficient tunings, such as LoRA, for language adaptation. Alternatively, we propose the usage of vocabulary adaptation to enhance efficiency. Lastly, we evaluate the safety of Cendol and showcase that safety in pre-training in one language such as English is transferable to low-resource languages, such as Indonesian, even without RLHF and safety fine-tuning.
[ -0.11483059078454971, -0.8834945559501648, 0.12805074453353882, 0.1260184496641159, -0.2038586139678955, 0.08589407801628113, -0.7500611543655396, -0.40285393595695496, -0.00037735587102361023, 0.938991904258728, -0.07658868283033371, -0.7909440398216248, -0.5903550982475281, 0.24237708747386932, -0.04484691098332405, 0.957800567150116, 0.0033944665919989347, -0.3400338590145111, 0.14562353491783142, -0.27862340211868286, -0.15326464176177979, -0.3926151394844055, -0.9274465441703796, -0.16179974377155304, 0.5206308364868164, 0.5451282858848572, 0.8369232416152954, 0.8413643836975098, 0.24360305070877075, 0.26207470893859863, -0.3838370442390442, 0.3239985406398773, -0.4899751842021942, 0.20771749317646027, -0.5497705936431885, -0.591709315776825, -0.6009060740470886, -0.6242271065711975, 0.5468307137489319, 0.9538097381591797, -0.28726667165756226, 0.1894044727087021, 0.4410107135772705, 0.8510131239891052, -0.9438043832778931, 0.24337650835514069, -0.6057219505310059, -0.10721252858638763, -0.4889630973339081, 0.1332436054944992, -0.33602356910705566, -0.4734049439430237, -0.09246622771024704, -0.6241267323493958, 0.013525557704269886, -0.14573054015636444, 0.5401803851127625, 0.43384796380996704, -0.38540467619895935, -0.510555624961853, -0.62920743227005, 0.7066431641578674, -0.7339673042297363, 0.40673667192459106, 0.4959646165370941, 0.16431662440299988, -0.17696622014045715, -0.4083685874938965, -0.3495499789714813, -0.33190786838531494, 0.14746437966823578, -0.021725405007600784, 0.14398249983787537, 0.4324539005756378, 0.213600754737854, 0.42501625418663025, -0.6327241063117981, 0.480221152305603, -0.42171522974967957, 0.13112761080265045, 0.5217955112457275, 0.03619561344385147, 0.22542926669120789, -0.1579894721508026, 0.043317846953868866, -0.19570109248161316, -0.86250901222229, -0.2025928497314453, 0.6156432032585144, 0.4548632502555847, -0.09117045253515244, 0.4823904037475586, -0.20032796263694763, 0.9728223085403442, -0.1554081290960312, -0.3369238078594208, 0.10833264142274857, 0.13004793226718903, -0.10898129642009735, 0.05441632866859436, 0.6280233263969421, 0.031534258276224136, 0.23104242980480194, 0.10196942836046219, -0.12440279126167297, 0.08695124834775925, -0.06658530235290527, -0.6229488849639893, -0.232511505484581, 0.17705310881137848, -0.5199114084243774, -0.2557794749736786, -0.16759082674980164, -1.0717840194702148, -0.16783082485198975, -0.2873651683330536, 0.14565154910087585, -0.19978506863117218, -0.6897399425506592, 0.19005507230758667, 0.2707521915435791, 0.1701618731021881, 0.09797747433185577, -1.1762603521347046, 0.3235514461994171, 0.6966537833213806, 0.6050637364387512, -0.15739311277866364, -0.050415750592947006, -0.42101478576660156, 0.19922038912773132, -0.5046350955963135, 0.38306742906570435, -0.6856039762496948, -0.5954906940460205, 0.27407312393188477, 0.11219378560781479, -0.09068024158477783, -0.6261541843414307, 0.9168088436126709, -0.5932131409645081, -0.2602643072605133, -0.05094609037041664, -0.48884081840515137, -0.09358204901218414, 0.16841275990009308, -0.7149381041526794, 0.9796596169471741, 0.07529260963201523, -0.6443682909011841, -0.026496244594454765, -0.9336991310119629, -0.581660270690918, 0.07016321271657944, 0.030365215614438057, -0.29894644021987915, 0.4616715610027313, 0.2005280703306198, 0.3979814052581787, -0.1784147173166275, 0.1420026272535324, -0.3187592029571533, -0.16127339005470276, 0.1724868267774582, -0.7195731997489929, 0.8842414617538452, 0.5812424421310425, -0.07000730186700821, -0.10546267032623291, -0.8512858748435974, 0.13351531326770782, 0.016918381676077843, -0.6373576521873474, -0.612799882888794, -0.10689860582351685, 0.16912879049777985, -0.09899348020553589, 0.48600083589553833, -0.4397946298122406, 0.09909524768590927, -0.628217875957489, 0.21243178844451904, 0.6785975694656372, -0.27089521288871765, 0.28265827894210815, 0.1126105934381485, 0.5670242309570312, -0.09592723846435547, 0.07342421263456345, -0.254202663898468, -0.24545443058013916, -0.9646177887916565, -0.06067942827939987, 0.41721656918525696, 0.5405226349830627, -0.9370708465576172, 0.508681058883667, -0.299388587474823, -0.33949536085128784, -0.7090587019920349, 0.4718951880931854, 0.7022621631622314, 0.19110573828220367, 0.010872813872992992, -0.1745062917470932, -0.4836244285106659, -0.5848560333251953, -0.2663241922855377, -0.12953387200832367, -0.05186162143945694, 0.05908430740237236, 0.4375566244125366, -0.1271073967218399, 0.3854083716869354, -0.2986717224121094, -0.0803082063794136, -0.3957256078720093, -0.18381044268608093, 0.4853493571281433, 0.4806675910949707, 0.41601234674453735, -0.60518878698349, -0.6801474690437317, 0.5915353298187256, -0.6484829187393188, -0.06682310253381729, 0.4540974199771881, -0.006794482469558716, 0.6087437868118286, 0.7517778873443604, -0.2556133568286896, 0.2546437680721283, 0.9881908893585205, -0.14110857248306274, 0.32148176431655884, -0.7904964089393616, 0.04814958944916725, -1.1274060010910034, 0.08678809553384781, -0.2577843964099884, -0.0485992357134819, -0.5474061965942383, 0.3045315146446228, 0.14763674139976501, -0.30421876907348633, -0.5731987357139587, 0.668109655380249, -0.4546363353729248, -0.08740665763616562, -0.5331576466560364, 0.16092921793460846, -0.2556062936782837, 0.5133457779884338, 0.20183894038200378, 0.6806702613830566, 0.495273232460022, -0.7776036858558655, 0.1545267403125763, 0.06042826920747757, -0.38022589683532715, 0.6653620004653931, -0.7017008662223816, 0.2240692675113678, -0.2620891332626343, -0.05503099784255028, -0.4707622826099396, -0.6791122555732727, 0.12514464557170868, -0.07188946008682251, 0.4965149164199829, -0.3970572054386139, -0.4517567753791809, -0.21318455040454865, 0.11059750616550446, 0.4194968342781067, 0.7684242725372314, -0.8287834525108337, 0.4013434052467346, 0.2646333575248718, -0.17098136246204376, -0.5377259254455566, -0.6242298483848572, 0.06043455749750137, -0.21057254076004028, -0.281148225069046, 0.18739618360996246, 0.11219831556081772, -0.19034895300865173, 0.23190268874168396, 0.1381167322397232, 0.06360849738121033, 0.23792554438114166, 0.07238728553056717, -0.026324929669499397, -0.36901894211769104, 0.22157272696495056, 0.449657678604126, -0.19320476055145264, -0.1766013205051422, -0.7458048462867737, 0.38793694972991943, -0.3047116994857788, -0.6807083487510681, -0.26302430033683777, 0.17221172153949738, 0.35948458313941956, -0.3902580142021179, 0.8798721432685852, 0.5414881706237793, -0.4163242280483246, -0.14807933568954468, -0.36957576870918274, 0.24597948789596558, -0.47314080595970154, 0.5992862582206726, -0.5233616828918457, -0.9443202614784241, 0.3591960370540619, -0.2528171241283417, 0.2523629367351532, 0.43111440539360046, 0.6223074793815613, 0.1773337870836258, 0.762130856513977, 0.7746997475624084, 0.08282619714736938, 0.546552300453186, -0.11223123967647552, -0.038465466350317, -0.922421395778656, 0.026711776852607727, -0.7613365650177002, 0.036350928246974945, -0.9168099761009216, -0.33246830105781555, 0.47405096888542175, 0.3475874364376068, -0.28360825777053833, 0.36049583554267883, -0.4347735345363617, 0.9409999847412109, 0.3082229495048523, 0.0741981640458107, 0.42038464546203613, 0.029298849403858185, -0.06544569134712219, 0.0550992488861084, -0.8957908153533936, -0.817012369632721, 1.4358021020889282, 0.18076802790164948, 1.059478759765625, 0.16082432866096497, 0.8217747807502747, 0.23418940603733063, 0.348745733499527, -0.33227089047431946, 0.2968471348285675, -0.7576524615287781, -0.6399560570716858, -0.3512602150440216, -0.2851666212081909, -1.2471882104873657, 0.4269079864025116, 0.15771858394145966, -0.6092029809951782, -0.10351855307817459, 0.2932779788970947, -0.3068540394306183, 0.4804305136203766, -0.5565691590309143, 0.9819963574409485, -0.5387772917747498, -0.45538318157196045, -0.4210129678249359, -0.41039198637008667, 0.3582119941711426, -0.008101212792098522, 0.31177663803100586, -0.09272914379835129, -0.23312503099441528, 0.6149412393569946, -0.3002931475639343, 0.874176561832428, -0.09421870112419128, -0.3104358911514282, 0.32045578956604004, -0.10282265394926071, 0.4126884937286377, 0.062177423387765884, -0.3902823328971863, 0.2069694995880127, 0.00397104024887085, -0.7361814975738525, -0.4998381733894348, 0.8057209849357605, -0.9181442260742188, -0.5297458171844482, -0.05614763870835304, -0.14421620965003967, 0.020403947681188583, 0.08057073503732681, 0.13509303331375122, 0.34242427349090576, -0.4217713475227356, 0.20757408440113068, 1.0992581844329834, -0.6552202701568604, 0.3717723786830902, 0.29741770029067993, -0.31366199254989624, -0.6183456182479858, 0.9313825964927673, -0.07655305415391922, 0.6395286917686462, 0.5288313031196594, 0.09212353825569153, -0.36627644300460815, -0.4399968683719635, -0.5740712285041809, 0.11061795055866241, -0.7615483403205872, -0.04289869964122772, -0.5348976850509644, -0.15644480288028717, -0.229357048869133, -0.2605079710483551, -0.6257532835006714, -0.3472910225391388, -0.40063121914863586, 0.08147028833627701, 0.3059217631816864, 0.5650497674942017, -0.16849328577518463, 0.40112677216529846, -0.7597929239273071, 0.2620270550251007, 0.3225078284740448, 0.3300604522228241, 0.06645943969488144, -0.5642736554145813, -0.343307226896286, 0.07993125170469284, -0.2568359971046448, -0.46146833896636963, 0.40431705117225647, 0.29742172360420227, 0.5088038444519043, 0.5117217898368835, 0.21474111080169678, 0.5653959512710571, -0.34744706749916077, 0.5799068212509155, 0.12220032513141632, -0.7243925929069519, 0.759469747543335, -0.32672321796417236, 0.22915934026241302, 0.412535160779953, 0.05680379271507263, -0.4834118187427521, -0.26982465386390686, -0.5281640887260437, -0.6583439707756042, 0.4651239812374115, -0.014071011915802956, 0.2632075846195221, -0.2450488656759262, 0.33247658610343933, 0.2812142074108124, 0.03385097533464432, -0.5094582438468933, 0.1250363141298294, -0.21449926495552063, -0.43747037649154663, -0.12656831741333008, -0.23046086728572845, 0.1802186220884323, -0.064869225025177, 0.5437864661216736, -0.32960665225982666, -0.04431317001581192, -0.07242798805236816, -0.28177890181541443, -0.034070659428834915, 0.6263338327407837, 0.4930778741836548, 0.5153919458389282, 0.10426927357912064, 0.09933310002088547, 0.51535964012146, -0.2704489231109619, 0.10934736579656601, -0.11650209873914719, -0.0004017276514787227, -0.027470218017697334, 0.30846312642097473, 0.8677050471305847, 0.43782612681388855, -0.7365898489952087, 0.12820282578468323, 0.19438739120960236, 0.19508419930934906, -0.43022382259368896, 0.3831039369106293, 0.03073187731206417, 0.08111626654863358, -0.0657963752746582, -0.08129648864269257, -0.1690797209739685, -0.4675940275192261, -0.29372909665107727, 0.22390654683113098, -0.26219993829727173, -0.40730521082878113, 0.8555320501327515, 0.5545564293861389, -0.4034217298030853, 0.6363152265548706, -0.29161712527275085, -0.38457104563713074, 0.528651773929596, 0.5495204329490662, 0.9408533573150635, -0.4192313253879547, 0.10057112574577332, 0.4692958891391754, 0.4124252200126648, -0.23744840919971466, 0.26744550466537476, -0.07603197544813156, -0.5096771717071533, -0.6599169969558716, -0.987692654132843, -0.621343195438385, 0.0036614248529076576, -0.7338438034057617, 0.2517580986022949, -0.33101752400398254, 0.04061688110232353, -0.5692446827888489, -0.003420598106458783, -0.8074461817741394, -0.19053992629051208, -0.13331066071987152, 0.8880215883255005, -0.7795243859291077, 1.0495308637619019, 0.6432024836540222, -0.19390423595905304, -0.3068428933620453, -0.16345317661762238, -0.2984902560710907, -0.572557270526886, 0.5804706811904907, -0.04612373933196068, 0.09616755694150925, 0.043073032051324844, -0.35096943378448486, -0.7831117510795593, 0.7637768983840942, 0.5868144035339355, -0.6971702575683594, 0.05077362433075905, 0.3584669232368469, 0.7808652520179749, -0.27363231778144836, 0.16324259340763092, 0.7349744439125061, 0.3964555561542511, -0.12060462683439255, -0.9806906580924988, -0.2455013394355774, -0.04984946921467781, 0.5174349546432495, 0.29959574341773987, -0.6639891862869263, 0.5552585124969482, -0.2776568531990051, -0.08157791197299957, 0.4951912462711334, 0.810524046421051, 0.28771448135375977, 0.11887220293283463, 0.30916550755500793, 0.5582571625709534, 0.7922524809837341, -0.09742080420255661, 1.1383521556854248, -0.2728036940097809, 0.02450375258922577, 1.0061596632003784, -0.26017290353775024, 1.0303552150726318, 0.1567518711090088, -0.23553229868412018, 0.37940892577171326, 0.4296242892742157, 0.46969708800315857, 0.356772780418396, 0.06172977387905121, -0.37289077043533325, -0.33608120679855347, -0.1774313896894455, -0.3910468518733978, 0.36815857887268066, 0.8640432357788086, -0.24699395895004272, -0.270998477935791, 0.32461488246917725, 0.023661503568291664, 0.39360710978507996, -0.47909173369407654, 0.6466359496116638, 0.12057042866945267, -0.6434482932090759, 0.8056225180625916, 0.10125195235013962, 0.754607617855072, -0.38923409581184387, 0.010757558979094028, -0.3584679961204529, 0.45502564311027527, -0.13190077245235443, -0.7157971262931824, 0.42992791533470154, 0.15927834808826447, 0.0700935646891594, -0.1767292320728302, 0.7374903559684753, -0.6385585069656372, -0.479156494140625, 0.05235026776790619, 0.31379035115242004, 0.3474310636520386, 0.1802896112203598, -0.5278019309043884, 0.42607346177101135, -0.08656647056341171, 0.031479496508836746, 0.27281105518341064, 0.6454693675041199, -0.21728123724460602, 0.5847687721252441, 0.6286664605140686, 0.14275991916656494, 0.10866177827119827, 0.013986196368932724, 0.5077253580093384, -0.6010057330131531, -0.41963914036750793, -0.5765365362167358, 0.35547953844070435, -0.17322960495948792, -0.4458844065666199, 0.5557323098182678, 0.42637690901756287, 1.2087781429290771, -0.25218865275382996, 0.7442859411239624, -0.03263413906097412, 0.5083855986595154, -0.72625333070755, 0.6843154430389404, -0.4190931022167206, 0.33608731627464294, -0.11461270600557327, -1.047690987586975, -0.24810051918029785, 0.47707322239875793, -0.18079115450382233, -0.015102607198059559, 0.4208497107028961, 0.8542296886444092, -0.10701052844524384, -0.06310748308897018, 0.6712093353271484, 0.18602333962917328, 0.3340384364128113, 0.7822712659835815, 0.822576642036438, -0.31857720017433167, 0.6963546276092529, -0.059687767177820206, -0.3427268862724304, -0.33842891454696655, -0.7657384872436523, -1.2024729251861572, -0.475915789604187, -0.41666534543037415, -0.09365357458591461, 0.40580999851226807, 0.9884172081947327, 0.4979115426540375, -0.8015723824501038, -0.42201727628707886, -0.19997218251228333, 0.36853212118148804, -0.3033912777900696, -0.1353541761636734, 0.5645777583122253, -0.5283679962158203, -0.9702497124671936, 0.2857208251953125, 0.43812498450279236, -0.08160901814699173, -0.37978988885879517, -0.2982345521450043, 0.3855338394641876, -0.12687118351459503, 0.8613632917404175, 0.7053586840629578, -0.963526725769043, -0.13420827686786652, -0.1299753040075302, -0.044276993721723557, -0.24542193114757538, 0.5008994936943054, -0.5657830834388733, 0.4949243664741516, 0.40251827239990234, 0.8173940181732178, 0.43425363302230835, -0.3945811688899994, 0.3267432451248169, -0.5734422206878662, 0.27629444003105164, 0.012770039960741997, 0.23972156643867493, 0.42536279559135437, 0.049166981130838394, 0.6149696707725525, -0.09477026760578156, -0.5405917763710022, -0.6176889538764954, 0.2858124375343323, -0.6611953973770142, -0.0901888981461525, 1.2167078256607056, -0.2803800702095032, -0.4676046669483185, -0.19119267165660858, -0.35329630970954895, 0.2152724713087082, -0.14172817766666412, 0.7134224772453308, 0.4338257908821106, 0.16261830925941467, -0.20948593318462372, -0.6513106822967529, 0.2545766234397888, 0.23538295924663544, -1.001623511314392, 0.131825253367424, 0.2745044529438019, 0.2732909917831421, 0.008530514314770699, 0.2920902669429779, -0.34051933884620667, 0.25573334097862244, 0.024689631536602974, -0.03815660998225212, 0.04734678566455841, -0.18244455754756927, -0.39691632986068726, 0.11205150187015533, 0.4886550307273865, -0.25146278738975525 ]
http://arxiv.org/abs/2404.06137v1
http://arxiv.org/pdf/2404.06137v1
SmurfCat at SemEval-2024 Task 6: Leveraging Synthetic Data for Hallucination Detection
2024-04-09T09:03:44
2024-04-09T09:03:44
Elisei Rykov, Yana Shishkina, Kseniia Petrushina, Kseniia Titova, Sergey Petrakov, Alexander Panchenko
cs.CL
cs.CL, cs.AI
In this paper, we present our novel systems developed for the SemEval-2024 hallucination detection task. Our investigation spans a range of strategies to compare model predictions with reference standards, encompassing diverse baselines, the refinement of pre-trained encoders through supervised learning, and an ensemble approaches utilizing several high-performing models. Through these explorations, we introduce three distinct methods that exhibit strong performance metrics. To amplify our training data, we generate additional training samples from unlabelled training subset. Furthermore, we provide a detailed comparative analysis of our approaches. Notably, our premier method achieved a commendable 9th place in the competition's model-agnostic track and 17th place in model-aware track, highlighting its effectiveness and potential.
[ -0.6885543465614319, -0.4862881004810333, 0.6877799034118652, 0.041706398129463196, -0.14223480224609375, -0.011274437420070171, -0.09063945710659027, -0.5744284987449646, 0.3535524308681488, 0.6431030035018921, -0.764662504196167, -0.2899526357650757, -0.47750067710876465, 0.5100201368331909, -0.5730586647987366, 0.6747288703918457, 0.14813128113746643, 0.23899470269680023, -0.4945189654827118, -0.24440237879753113, -0.34964779019355774, -0.7624583840370178, -0.28540706634521484, -0.3651815950870514, 0.19796991348266602, 0.16859112679958344, 0.22909577190876007, 0.1545303761959076, 0.5281269550323486, 0.32400792837142944, 0.19419826567173004, 0.505462646484375, -0.2691129744052887, 0.21683739125728607, -0.08699417859315872, -0.03608123958110809, -0.4447401762008667, -0.02179606445133686, 0.29418736696243286, 0.4423377215862274, -0.12018557637929916, 0.2982867360115051, -0.021129032596945763, 0.29435738921165466, -0.7413979172706604, -0.1265513300895691, -0.7588213682174683, 0.2793509066104889, -0.036220937967300415, -0.4757998585700989, -0.6935213804244995, -0.19565272331237793, -0.0565621554851532, -0.3236983120441437, 0.5876914262771606, -0.04142751544713974, 0.684728741645813, 0.6787526607513428, -0.17598477005958557, -0.39929383993148804, -0.6582469344139099, 0.7092805504798889, -0.6517682075500488, 0.7585675716400146, 0.3702162504196167, 0.6445573568344116, 0.021885285153985023, -1.0067663192749023, -0.2604353129863739, -0.21550951898097992, -0.17915117740631104, 0.07803182303905487, 0.13847900927066803, -0.11592701822519302, 0.4381353259086609, 0.38004520535469055, -0.7661149501800537, -0.03825266659259796, -0.5330788493156433, -0.6021987795829773, 0.6565330624580383, -0.04061806574463844, -0.27815738320350647, -0.11532634496688843, -0.2953367829322815, -0.1342298686504364, -0.3125426769256592, -0.30234044790267944, 0.36026477813720703, 0.35289818048477173, 0.4470292329788208, 0.3895431458950043, -0.29184988141059875, 0.3315495550632477, 0.3178727328777313, 0.3154887855052948, 0.639732837677002, -0.19354306161403656, -0.4320903718471527, 0.2529732882976532, 0.4884936511516571, -0.10048616677522659, -0.13200007379055023, -0.3564183712005615, -0.6199350953102112, 0.5000231266021729, 0.4962930381298065, -0.8464565873146057, -0.5339133143424988, 0.26277652382850647, -0.5094478726387024, -0.6534858345985413, -0.020121656358242035, -1.0380725860595703, -0.7315834164619446, -0.7092689275741577, 1.0919486284255981, -0.4490433931350708, -0.2239762246608734, 0.1739046573638916, -0.13683727383613586, 0.3685505986213684, 0.31212082505226135, -0.6537505388259888, 0.518913209438324, 0.4782569110393524, 0.6625084280967712, -0.46928903460502625, -0.15322740375995636, -0.7748468518257141, -0.18357543647289276, -0.025446241721510887, 1.037408709526062, -0.4872840940952301, -0.2194535881280899, -0.34356898069381714, 0.5356156826019287, -0.1441631317138672, -0.863218367099762, 0.9196261167526245, 0.03251323476433754, -0.015111272223293781, -0.2148664891719818, -0.42787957191467285, -0.4198451638221741, 0.04771340638399124, -0.7707801461219788, 0.9932442903518677, -0.024858569726347923, -0.5547807812690735, 0.3934396505355835, -0.4376988112926483, -0.34022554755210876, 0.22670230269432068, -0.3373028039932251, -0.6509039998054504, 0.29717570543289185, 0.4540831744670868, 0.6937348246574402, 0.13086383044719696, 0.161868155002594, -0.34490707516670227, -0.7475616335868835, -0.006124616134911776, -0.29962727427482605, 0.5419105887413025, 0.23766367137432098, -0.7476726770401001, 0.23888200521469116, -0.8736613392829895, -0.08080960065126419, 0.08545815199613571, 0.33517834544181824, -0.020199857652187347, -0.2172376960515976, -0.0369543693959713, 0.06153993681073189, 0.08611561357975006, -0.33870741724967957, -0.14435304701328278, -0.1273532658815384, 0.3282175064086914, 0.9453470706939697, 0.05875382944941521, 0.20009011030197144, -0.31266942620277405, 0.473202645778656, -0.10864891111850739, 0.19651633501052856, -0.10138820111751556, -0.12048766016960144, -0.7948649525642395, -0.2369796186685562, 0.38627323508262634, 0.27763649821281433, -0.4610482156276703, 0.4877796769142151, 0.08836044371128082, -0.44501370191574097, -0.5418996810913086, -0.27406439185142517, -0.2227116823196411, 0.22061733901500702, 0.6591696739196777, -0.13396842777729034, -1.107511043548584, -0.8802040219306946, -0.06909014284610748, 0.28551819920539856, 0.06568148732185364, 0.2720840275287628, 0.8490116596221924, -0.7670173048973083, 0.1734113097190857, -0.25123295187950134, -0.4292781949043274, 0.017351629212498665, 0.13621895015239716, -0.023969637230038643, 0.5805734395980835, 0.5292237401008606, -0.5500850081443787, 0.06825073063373566, 0.04366760328412056, -1.0410032272338867, -0.15753383934497833, -0.07023632526397705, -0.16903196275234222, 0.30509719252586365, 0.7179632782936096, -0.14861252903938293, 0.5014950037002563, 0.39072954654693604, -0.07178471237421036, 0.7515603303909302, 0.006285520736128092, 0.5491684675216675, -0.8101000785827637, -0.08957678079605103, -0.24733813107013702, -0.2649971842765808, -0.7891631722450256, -0.04642390087246895, 0.04286273568868637, 0.014648733660578728, -0.19362692534923553, 0.07693149149417877, -0.24627076089382172, -0.3428111970424652, -0.2553611993789673, -0.36985287070274353, -0.28744158148765564, 0.5985037684440613, 0.38550689816474915, 0.49992114305496216, 0.2691287696361542, -0.4674959182739258, 0.17492790520191193, -0.051319822669029236, -0.09325767308473587, 0.36882710456848145, -0.5313406586647034, 0.49082431197166443, -0.08049792796373367, 0.10018101334571838, -0.8383337259292603, -0.4772385358810425, 0.033951856195926666, -0.6964932680130005, 0.09721487760543823, 0.06109394505620003, -0.47731390595436096, -0.5261887311935425, -0.1649421751499176, 0.36280542612075806, 0.639935314655304, -0.7405204176902771, 0.7950423359870911, 0.5046835541725159, 0.2880762219429016, -0.19163911044597626, -0.538146436214447, -0.2862838804721832, -0.56968092918396, -0.4818761348724365, 0.4733509123325348, -0.0021964083425700665, 0.04002998769283295, -0.35792461037635803, -0.48896366357803345, 0.005172187928110361, 0.02355329878628254, 0.4663623869419098, 0.14486677944660187, -0.19868402183055878, 0.054907798767089844, -0.01838567852973938, -0.0635470375418663, 0.1495465636253357, -0.33094000816345215, 0.6701851487159729, -0.47610992193222046, -0.3996737003326416, -0.43957698345184326, 0.01695285178720951, 0.640064537525177, -0.19235821068286896, 0.4407472014427185, 0.9658970832824707, -1.010370135307312, -0.3735186457633972, -0.8389214277267456, -0.6979838609695435, -0.5473091006278992, -0.007939106784760952, -0.5047827363014221, -0.7155293226242065, 0.5485092997550964, -0.2650516927242279, -0.15087026357650757, 0.319729208946228, 0.4992740750312805, -0.04945490509271622, 1.3751988410949707, 0.17941619455814362, 0.3963986039161682, -0.015251941978931427, -0.4389260709285736, 0.27548083662986755, -0.556327223777771, -0.39714235067367554, -0.4846843183040619, -0.22490161657333374, -0.6492919325828552, -0.4661768674850464, 0.17926201224327087, -0.24302071332931519, -0.31032833456993103, 0.660159170627594, -0.8502032160758972, 0.24757926166057587, 0.3033558428287506, 0.22873197495937347, 0.1877107322216034, 0.15150581300258636, -0.1342332810163498, -0.23659008741378784, -0.44180387258529663, -0.43929412961006165, 1.0801432132720947, 0.10653705149888992, 0.6015688180923462, -0.22932615876197815, 0.9597809910774231, 0.5844939947128296, -0.16765709221363068, -0.5351374745368958, 0.6550187468528748, -0.10665678977966309, -0.23228944838047028, -0.31994229555130005, -0.11804184317588806, -0.7147217392921448, 0.43582648038864136, -0.25432971119880676, -0.6306585669517517, 0.38816946744918823, -0.12346192449331284, -0.4867361783981323, 0.08333675563335419, -0.49231597781181335, 0.8238915205001831, -0.1279948204755783, -0.21673829853534698, -0.027454104274511337, -0.3547983765602112, 0.47182929515838623, -0.29717645049095154, 0.10066279023885727, -0.02575351856648922, 0.38515204191207886, 0.7398266792297363, -0.2732177972793579, 0.46827778220176697, -0.31915032863616943, 0.32676878571510315, 0.11458660662174225, -0.021884635090827942, 0.6007607579231262, -0.054361313581466675, -0.08301541209220886, 0.06736045330762863, 0.3122049570083618, -0.26379674673080444, -0.5234480500221252, 0.735174298286438, -0.5578902363777161, -0.2360977977514267, -0.6813095808029175, -0.2748320996761322, -0.27167564630508423, -0.009451749734580517, 0.5271920561790466, 0.45232895016670227, -0.15197592973709106, 0.4696173071861267, 0.7855589389801025, -0.01871841959655285, 0.07642976194620132, 0.010151011869311333, -0.14012448489665985, -0.4504930377006531, 1.0117179155349731, 0.037632208317518234, -0.10410210490226746, -0.10737645626068115, -0.022582439705729485, -0.5273152589797974, -0.5631526708602905, -0.13029147684574127, 0.3102206289768219, -0.7063502073287964, -0.2538929283618927, -0.9509603381156921, -0.5813811421394348, -0.9190951585769653, -0.24912983179092407, -0.42437753081321716, -0.28405195474624634, -0.2576388120651245, -0.2954384982585907, -0.021109677851200104, 0.4078483283519745, -0.2041938304901123, 0.0764261782169342, -0.4075254499912262, 0.25133657455444336, 0.22927476465702057, -0.27397283911705017, -0.24593697488307953, -0.7285676002502441, -0.030886339023709297, -0.05107497796416283, -0.2523622512817383, -0.6661567091941833, 0.6738869547843933, -0.004565320909023285, 1.0226342678070068, 0.34415581822395325, 0.16109037399291992, 0.8880711793899536, -0.18088866770267487, 0.5519912838935852, -0.21524494886398315, -0.8462372422218323, 0.8988606929779053, -0.039673250168561935, -0.0808144211769104, 0.8293525576591492, 0.3087918758392334, -0.04048639163374901, -0.2900621294975281, -0.841835618019104, -0.45965543389320374, 0.45931005477905273, 0.5951613187789917, -0.4556293189525604, 0.3262978792190552, 0.2810128927230835, 0.5053072571754456, 0.2641374468803406, -0.6183772087097168, 0.23653443157672882, -0.2822122573852539, -0.23221707344055176, -0.02773120626807213, 0.10014206916093826, 0.11168291419744492, -0.41443708539009094, 0.8836808800697327, -0.2293771356344223, 0.4950852394104004, 0.10625442117452621, -0.42252957820892334, 0.19210825860500336, -0.18841423094272614, 0.564344584941864, 0.34222131967544556, -0.3185649812221527, 0.26022636890411377, 0.6014859676361084, -0.5463439226150513, 0.2510225772857666, 0.12966623902320862, -0.1517554372549057, 0.11974352598190308, 0.26487091183662415, 0.7512449622154236, 0.17260506749153137, -0.6139889359474182, 0.38155755400657654, -0.06661804020404816, -0.5158286690711975, -0.6520229578018188, 0.04403995722532272, -0.33111831545829773, 0.444375216960907, 0.15036118030548096, 0.45217815041542053, 0.7490776181221008, -0.31298232078552246, 0.714345395565033, 0.17350661754608154, -0.5852277874946594, -0.6475477814674377, 0.6711822152137756, -0.024872876703739166, -0.15479637682437897, 0.41007447242736816, -0.4146162271499634, -0.6435049772262573, 0.6457951664924622, 0.3498971462249756, 1.0064563751220703, -0.6245025396347046, 0.2324056327342987, 0.7198754549026489, 0.29082128405570984, -0.3552008867263794, 0.3377975821495056, -0.28004977107048035, -0.7046104669570923, -0.05222875624895096, -0.85390305519104, 0.008827080950140953, 0.6140071153640747, -0.9401288628578186, 0.6697210669517517, -0.21948932111263275, -0.19608736038208008, 0.16557778418064117, 0.046195968985557556, -0.7437178492546082, 0.13800093531608582, 0.21512015163898468, 0.5080434679985046, -1.0344133377075195, 0.6050140261650085, 0.5544533133506775, -0.20498697459697723, -0.3708460032939911, -0.01774756796658039, 0.2039010375738144, -0.5107704997062683, 0.19533830881118774, 0.7257999777793884, -0.22941692173480988, -0.005190881434828043, -0.4405205249786377, -0.5468342304229736, 1.3556456565856934, 0.05301015451550484, -0.3666521906852722, -0.16142143309116364, -0.2073613852262497, 0.4805156886577606, -0.5026741623878479, -0.011282847262918949, 1.0901587009429932, 0.34132397174835205, 0.5151486396789551, -0.6100536584854126, -0.033965591341257095, -0.1559174358844757, -0.3176729083061218, 0.11128214001655579, -0.302173376083374, 0.3813202679157257, -0.07126625627279282, -0.24525043368339539, 0.33782386779785156, 0.7287370562553406, 0.7126314043998718, 0.696998119354248, 0.5711289048194885, 0.5645013451576233, 1.072610855102539, -0.2262486219406128, 0.36663901805877686, -0.0567423552274704, 0.2532174587249756, 1.2601585388183594, -0.3998975157737732, 0.6995258331298828, 0.4882413446903229, -0.00289224274456501, 0.2870568037033081, 0.9891675114631653, -0.254982054233551, 0.8230061531066895, 0.11435719579458237, -0.32299870252609253, -0.668641984462738, -0.0003760136023629457, -0.4312737286090851, 0.5214957594871521, 0.6149823665618896, -0.3003852963447571, 0.04940764605998993, 0.4623914957046509, -0.6983867883682251, -0.12342486530542374, -0.20846213400363922, 0.6747279167175293, -0.00841353926807642, -0.6663378477096558, 0.48286107182502747, -0.51869136095047, 0.7568686604499817, -0.015898142009973526, -0.12548145651817322, -0.1856643706560135, 0.43328598141670227, -0.2686077356338501, -0.09933002293109894, 0.3335774838924408, -0.2276822179555893, 0.31386202573776245, 0.05337350815534592, 1.0391792058944702, -0.17990149557590485, -0.5548915266990662, 0.24476028978824615, 0.3266865611076355, 0.5261039137840271, -0.3272716701030731, -0.37972867488861084, 0.20359739661216736, 0.07029981911182404, 0.27573922276496887, 0.12676328420639038, 0.4447801113128662, -0.13088339567184448, 0.3793831169605255, 0.5146591067314148, -0.08856970071792603, 0.14704401791095734, 0.29508286714553833, 0.5561933517456055, -0.6148436665534973, -0.3954108953475952, -0.5452424883842468, 0.25252509117126465, -0.2998650372028351, 0.08887786418199539, 0.6864026188850403, 0.6968281865119934, 0.9864493608474731, -0.20191119611263275, 0.6087222099304199, 0.30037346482276917, 0.563721776008606, -0.4201177656650543, 0.5170571208000183, -0.5457053780555725, 0.2636440694332123, -0.19559018313884735, -0.9262807369232178, -0.055712562054395676, 1.006170630455017, -0.024727944284677505, 0.07847651839256287, 0.7711434960365295, 1.1700440645217896, -0.1964402198791504, 0.5831698179244995, 0.49417051672935486, 0.10212436318397522, 0.11069583892822266, 0.4691314697265625, 1.1456300020217896, -0.6853026747703552, 0.33115848898887634, -0.40509065985679626, -0.11761059612035751, -0.46967849135398865, -0.41221338510513306, -1.0387372970581055, -0.9140273928642273, -0.426923930644989, -0.4149326682090759, 0.2257751077413559, 0.7825572490692139, 0.9065406918525696, -1.2671946287155151, 0.011882500723004341, -0.28169721364974976, -0.4431747496128082, -0.38548368215560913, -0.1942221224308014, 0.22949521243572235, -0.38928771018981934, -0.6360646486282349, 0.6494736671447754, 0.18335753679275513, 0.36626991629600525, -0.28361770510673523, -0.22677218914031982, 0.019625864923000336, 0.06912469118833542, 0.681918203830719, -0.1819358915090561, -0.8915462493896484, -0.43037304282188416, 0.42400336265563965, 0.11795509606599808, -0.18246088922023773, 0.740372359752655, -1.126549243927002, 0.4048820734024048, 0.7249391078948975, 0.6395017504692078, 0.8507267236709595, 0.03824136033654213, 0.37443357706069946, -0.29856303334236145, 0.1275544911623001, 0.6000121235847473, 0.3965761363506317, 0.23243434727191925, -0.5006378889083862, 1.1378575563430786, 0.42550259828567505, -0.8861463665962219, -1.4393233060836792, -0.32080525159835815, -0.8477092385292053, -0.23976768553256989, 0.9052058458328247, 0.28513312339782715, -0.0944180116057396, -0.04996594414114952, -0.04932199791073799, 0.057820845395326614, -0.08387792855501175, 0.8352189064025879, 0.6607998609542847, -0.49874788522720337, -0.12848669290542603, -0.6526858806610107, 0.8404819965362549, 0.2634669840335846, -0.9207180738449097, -0.2934052050113678, 0.6641954183578491, -0.010130827315151691, 0.21778076887130737, 0.4697960615158081, -0.19174058735370636, 0.6039646863937378, 0.10184753686189651, -0.11864791065454483, 0.10720660537481308, -0.741401195526123, -0.561421811580658, 0.171929731965065, -0.4974697530269623, -0.220092311501503 ]
http://arxiv.org/abs/2404.06121v1
http://arxiv.org/pdf/2404.06121v1
Detection of fields of applications in biomedical abstracts with the support of argumentation elements
2024-04-09T08:44:02
2024-04-09T08:44:02
Mariana Neves
cs.CL
cs.CL
Focusing on particular facts, instead of the complete text, can potentially improve searching for specific information in the scientific literature. In particular, argumentative elements allow focusing on specific parts of a publication, e.g., the background section or the claims from the authors. We evaluated some tools for the extraction of argumentation elements for a specific task in biomedicine, namely, for detecting the fields of the application in a biomedical publication, e.g, whether it addresses the problem of disease diagnosis or drug development. We performed experiments with the PubMedBERT pre-trained model, which was fine-tuned on a specific corpus for the task. We compared the use of title and abstract to restricting to only some argumentative elements. The top F1 scores ranged from 0.22 to 0.84, depending on the field of application. The best argumentative labels were the ones related the conclusion and background sections of an abstract.
[ -0.34476736187934875, -0.5778780579566956, 0.9570354223251343, 0.09983906894922256, -0.47004976868629456, -0.1591547429561615, 0.11673489958047867, -0.4272393584251404, 0.15150129795074463, 0.15283708274364471, -0.2828197479248047, -0.9070231318473816, -0.45961296558380127, 0.5768818855285645, -0.27991983294487, 1.2546820640563965, -0.11754601448774338, 0.17527718842029572, -0.73757404088974, -0.29745233058929443, -0.19002975523471832, -0.4203432500362396, -0.42782822251319885, -0.44704315066337585, 0.8806261420249939, 0.14016243815422058, 0.333318829536438, 0.7739959359169006, 0.6006489992141724, 0.37383049726486206, -0.1135084331035614, 0.020976725965738297, 0.20360182225704193, 0.2654687166213989, -0.7966724634170532, -0.37232547998428345, -0.2946334481239319, 0.05208967626094818, 0.3045687973499298, 0.6012470126152039, 0.4827834367752075, 0.1611577421426773, -0.4294866621494293, 0.4359920620918274, -0.5422226190567017, -0.012526667676866055, -0.27396726608276367, 0.1818079650402069, -0.4152871072292328, -0.6099069118499756, -0.15111590921878815, -0.20682929456233978, 0.3442532420158386, -0.6117746829986572, 0.3272913694381714, -0.14238975942134857, 1.1315144300460815, -0.07933716475963593, -0.13208289444446564, -0.1941370666027069, -0.35087570548057556, 0.7805094122886658, -0.6188982725143433, 0.1800069957971573, 0.23162460327148438, -0.10031779855489731, -0.09792688488960266, -0.6106079816818237, -0.06403456628322601, 0.022266581654548645, -0.28370222449302673, 0.25799402594566345, -0.4904051423072815, 0.4330523908138275, 0.2343960553407669, 0.21050213277339935, -0.5948306918144226, -0.09116388112306595, -0.71857088804245, -0.5034638047218323, 0.6539096236228943, 0.037136103957891464, 0.31044459342956543, -0.012442250736057758, -0.1405031532049179, 0.1396058350801468, -0.8339953422546387, 0.07491400837898254, 0.0784003958106041, -0.19691303372383118, 0.03701097518205643, 0.5478317141532898, -0.32273611426353455, 0.9110480546951294, 0.0764010027050972, 0.013820220716297626, 0.27058523893356323, -0.506191611289978, 0.06995649635791779, 0.18755552172660828, 0.6686370968818665, 0.3056357502937317, -0.17614547908306122, -0.2361305058002472, 0.14994078874588013, 0.07305338978767395, 0.26688671112060547, -0.9951055645942688, -0.30702921748161316, 0.7569935917854309, -0.759615957736969, -0.5482853651046753, -0.1752467006444931, -0.6554693579673767, -0.3072567582130432, 0.1572456955909729, 0.3090599775314331, -0.4276390075683594, 0.14659981429576874, 0.025449983775615692, -0.5041404962539673, 0.15863285958766937, 0.19281741976737976, -0.589802086353302, 0.0037084706127643585, 0.4495953321456909, 1.0049164295196533, -0.32425349950790405, 0.027346139773726463, -0.3089680075645447, -0.011816424317657948, -0.30289745330810547, 1.6429779529571533, -0.737227201461792, -0.3745444118976593, -0.27538925409317017, 0.31873369216918945, -0.02943144179880619, -0.69783616065979, 0.7316431403160095, -0.4485122859477997, -0.08550111949443817, -0.45609888434410095, -0.4910012483596802, -0.4352399706840515, 0.022767702117562294, -0.5141955614089966, 0.3260832130908966, 0.05107562243938446, -0.6401345729827881, 0.587174654006958, -1.010209083557129, -0.5132267475128174, 0.0471486933529377, -0.37595072388648987, -0.5547277927398682, 0.3179852366447449, 0.06770797073841095, 0.40183886885643005, -0.11995464563369751, -0.09267618507146835, -0.31465646624565125, -0.1680334508419037, 0.4347347319126129, 0.3158419132232666, 0.4977789521217346, 0.32837292551994324, -0.27711760997772217, 0.345007985830307, -0.5527567863464355, -0.05157749727368355, -0.1852608472108841, -0.3725645840167999, -0.5783132314682007, 0.39167800545692444, -0.28771427273750305, 0.20015102624893188, -0.06352020800113678, -0.9647970199584961, -0.08492796868085861, -0.5778930187225342, 0.22740164399147034, 0.32630935311317444, 0.32043328881263733, 0.06682861596345901, -0.3524755537509918, 0.6620709896087646, 0.36953046917915344, -0.38883572816848755, -0.42378318309783936, -0.7170016169548035, -0.26981016993522644, -0.3228704333305359, 0.8799106478691101, 0.4493192732334137, -0.43023577332496643, 0.4251934587955475, 0.3941314220428467, -0.4249647557735443, -0.5391780734062195, -0.1569308042526245, 0.4502159059047699, 0.4767792522907257, 0.3334164023399353, -0.07273021340370178, -0.5909576416015625, -1.1220818758010864, -0.3384127616882324, 0.01628211699426174, 0.007065927144140005, 0.31990495324134827, 0.5129424333572388, -0.21170960366725922, 0.9927130937576294, -0.48903435468673706, 0.07090472429990768, -0.032541338354349136, 0.354032039642334, 0.27876511216163635, 0.30277445912361145, 0.656534731388092, -0.9437405467033386, -0.3089737892150879, 0.38074055314064026, -0.914151132106781, -0.8885319232940674, 0.014667459763586521, -0.23033499717712402, -0.31417304277420044, 0.4901341497898102, -0.5494232177734375, 0.3990650475025177, 0.13454890251159668, -0.5094655156135559, 0.6404236555099487, -0.1276182383298874, 0.26442793011665344, -0.7195335626602173, 0.4490039348602295, 0.44621747732162476, -0.5031037926673889, -0.5735403299331665, -0.07005536556243896, -0.1446024775505066, -0.06236248463392258, -0.2811548411846161, 0.4560184180736542, -0.31518813967704773, 0.2955811321735382, -0.5029192566871643, -0.01976092904806137, 0.406728595495224, -0.2350146770477295, 0.5512468218803406, 0.7449769377708435, 0.47473934292793274, -0.63536137342453, 0.11024346202611923, 0.14793235063552856, -0.2801949977874756, 0.276774138212204, -0.8992175459861755, -0.24357664585113525, -0.4230271279811859, 0.06060043349862099, -1.0765385627746582, -0.15030424296855927, -0.0011319821933284402, -0.20343752205371857, -0.08777624368667603, 0.1042340025305748, 0.07908185571432114, -0.15936006605625153, -0.4410797655582428, 0.2435358613729477, 0.09605497121810913, 0.08383643627166748, 0.35209181904792786, 0.4222450256347656, -0.568757176399231, -0.5409764647483826, -0.363152414560318, -0.32104286551475525, -0.44690069556236267, -0.26397672295570374, 0.8202667236328125, 0.12984523177146912, -0.4239870607852936, 0.2576051652431488, -0.2844182252883911, -0.08789081126451492, 0.07798554748296738, 0.31822511553764343, 0.17134040594100952, -0.31056222319602966, 0.30119192600250244, 0.5456902980804443, -0.23659491539001465, 0.11657997220754623, 0.23859156668186188, 0.11516063660383224, 0.00021600256150122732, -0.17602714896202087, -0.16010770201683044, 0.7879670858383179, 0.41838958859443665, -0.1578374207019806, 0.34272077679634094, 0.18039722740650177, -0.21824660897254944, 0.10063707828521729, -0.3734603524208069, -0.20852801203727722, -0.3890804648399353, 0.5874089002609253, -0.16980794072151184, -0.5431030988693237, 0.5927731990814209, -0.5528314113616943, 0.1563030481338501, 0.8032760620117188, 0.5440109968185425, -0.24941639602184296, 1.014508605003357, 0.4650551378726959, 0.1779308319091797, 0.10922537744045258, -0.10288059711456299, 0.19834004342556, -0.73089998960495, -0.0422724187374115, -0.6381692290306091, -0.28003445267677307, -0.1512378454208374, -0.25893640518188477, 0.5822978019714355, 0.1935724914073944, 0.20128735899925232, 0.25865763425827026, -0.7665174603462219, 0.45809704065322876, 0.07972448319196701, 0.18890953063964844, 0.203261137008667, 0.15739032626152039, -0.1632061004638672, 0.025983119383454323, -0.6981084942817688, -0.6694641709327698, 0.9900774955749512, 0.5517215132713318, 0.16910167038440704, -0.15069681406021118, 0.7529379725456238, 0.4916706383228302, 0.832448422908783, -1.0265965461730957, 0.3182258605957031, -0.32332977652549744, -1.0067923069000244, 0.10391738265752792, -0.0794723704457283, -1.1377301216125488, 0.35967934131622314, -0.40709105134010315, -0.7470380067825317, 0.7435387969017029, 0.08175402134656906, -0.9443979263305664, -0.15278086066246033, -0.47134506702423096, 1.054996371269226, -0.15513737499713898, -0.3808389902114868, 0.08538185060024261, -0.2722972631454468, 0.04104701057076454, -0.1974111944437027, 0.26718035340309143, -0.12591302394866943, -0.03505180403590202, 0.9900774955749512, -0.3239646255970001, 0.4286445081233978, -0.14477743208408356, 0.1564895063638687, 0.40666770935058594, -0.42546746134757996, -0.07424119114875793, -0.035732463002204895, -0.23339714109897614, 0.10799407958984375, 0.35416916012763977, -0.18295028805732727, -0.23223114013671875, 0.37293699383735657, -0.31491467356681824, -0.6836027503013611, -0.6147539615631104, -0.3607437312602997, -0.07543519139289856, 0.4205356538295746, 0.6197670102119446, 0.20323757827281952, -0.12441352754831314, 0.33436790108680725, 0.7119708061218262, -0.4424348771572113, 0.22851014137268066, 0.5604425668716431, 0.07089745253324509, -0.016791215166449547, 0.8106108903884888, -0.027089431881904602, -0.18954002857208252, 0.15084189176559448, 0.5467277765274048, -0.3281552493572235, -0.9797662496566772, -0.4483504593372345, 0.16169291734695435, -0.5889341831207275, -0.5741197466850281, -0.803546130657196, 0.052074234932661057, -0.1775272637605667, -0.15460635721683502, -0.13954977691173553, -0.33133459091186523, -0.16426220536231995, -0.03378506377339363, 0.46026769280433655, 0.3918638527393341, -0.11272825300693512, 0.07459316402673721, -0.8991789221763611, 0.17793339490890503, -0.11541404575109482, 0.10227833688259125, -0.42527833580970764, -0.04111655429005623, -0.4442618489265442, -0.1581389158964157, -0.6018876433372498, -1.192797064781189, 0.12010307610034943, 0.32658883929252625, 0.7075623869895935, 0.7097716927528381, -0.21266908943653107, 0.331394761800766, -0.4076768755912781, 0.642992377281189, 0.049552470445632935, -0.5286787152290344, 0.8034922480583191, -0.3197648227214813, 0.2121516764163971, 0.6674104332923889, 0.76705402135849, -0.043214526027441025, -0.27858659625053406, -0.2664180397987366, -0.8726199269294739, 0.46171990036964417, -0.011393867433071136, -0.3800123929977417, -0.16644397377967834, 0.6197264194488525, 0.21173220872879028, 0.07054111361503601, -0.582460343837738, -0.11976348608732224, 0.12996232509613037, -0.17244075238704681, 0.4113147258758545, -0.15883469581604004, -0.48006537556648254, -0.32594817876815796, 0.5054842233657837, -0.11992993205785751, 0.4720281660556793, 0.7628381848335266, 0.13168813288211823, -0.013027516193687916, 0.4009174406528473, 0.7691421508789062, 0.7066320776939392, -0.20188477635383606, 0.06077234074473381, -0.15272055566310883, -0.610936164855957, 0.19897396862506866, 0.4547867476940155, -0.2615446448326111, 0.41525551676750183, 0.5679192543029785, 0.3361441195011139, -0.03804744407534599, -0.7957364916801453, 0.45675650238990784, 0.39868050813674927, -0.39029374718666077, 0.16335900127887726, 0.12377818673849106, 0.009792163968086243, 0.5384010076522827, 0.146617129445076, 0.10534307360649109, 0.882313072681427, -0.6045029759407043, 0.25863003730773926, 0.42017102241516113, -0.3960593044757843, -0.3752332329750061, 0.5603107213973999, 0.125870943069458, 0.022859269753098488, -0.2684450149536133, -0.023263592272996902, -0.38598519563674927, 0.6383064389228821, 0.7196981310844421, 0.6071528196334839, -0.2140565812587738, 0.3025118112564087, 0.12105655670166016, -0.2983613908290863, 0.13197076320648193, 0.5941232442855835, -0.1886381208896637, -0.7058637142181396, -0.5006176829338074, -0.6362068057060242, -0.29506945610046387, 0.27398061752319336, -0.25903815031051636, 0.19371776282787323, -0.2571791410446167, -0.647158145904541, 1.0012950897216797, -0.2700269818305969, -0.1733100563287735, 0.29869383573532104, -0.09761680662631989, 0.8029103875160217, -0.9480686783790588, 0.6180338859558105, 1.3059982061386108, -0.3049117922782898, -0.14472922682762146, -0.24113135039806366, -0.08101536333560944, 0.134039506316185, 0.7834083437919617, -0.0423167422413826, -0.2257550060749054, -0.5719213485717773, -0.3766285479068756, -0.5966672897338867, 0.7525760531425476, 0.17303842306137085, -0.31124550104141235, 0.11943555623292923, -0.2657214403152466, 0.5793348550796509, -0.4954001009464264, 0.16081449389457703, 0.3816728889942169, 0.49630239605903625, -0.20443828403949738, -0.5927862524986267, 0.053688086569309235, -0.6200894713401794, -0.26186102628707886, -0.1361915022134781, -0.17605999112129211, 0.857735276222229, -0.02294391207396984, 0.03731433302164078, 0.1246260479092598, 0.39485257863998413, 0.561892569065094, 0.8671247959136963, 0.20477549731731415, 0.15957537293434143, 0.38715338706970215, -0.19975315034389496, 1.0101239681243896, -0.2653535008430481, 0.1466670036315918, 0.32561418414115906, -0.13036717474460602, 0.41918817162513733, 0.44451388716697693, -0.29020553827285767, 0.737881600856781, 0.7805178165435791, -0.056110259145498276, 0.7979879975318909, 0.3260708749294281, -0.4936155378818512, -0.1851610690355301, -0.05849827826023102, -0.5874274969100952, 0.5394642353057861, 0.7904362678527832, -0.7449020147323608, -0.2290097028017044, 0.07632517069578171, 0.10994380712509155, -0.009093153290450573, -0.3511888086795807, 0.7293031215667725, 0.05074752867221832, -0.6440407037734985, 0.28105518221855164, 0.4589880108833313, 0.3902285099029541, -0.590111255645752, -0.388268381357193, 0.08647023141384125, 0.14440226554870605, -0.6579610109329224, -0.4616996943950653, 0.547418475151062, 0.077784463763237, -0.2825838029384613, 0.4801103174686432, 1.259260892868042, -0.2090863287448883, -0.3733709752559662, -0.04494998976588249, 0.32468292117118835, 0.3158065676689148, 0.016795959323644638, -0.49171316623687744, 0.02694018930196762, -0.3512348234653473, -0.33716148138046265, 0.10972071439027786, 0.39576056599617004, -0.18185658752918243, 0.10970988124608994, 0.4461100399494171, 0.41990429162979126, -0.43288153409957886, -0.5718514323234558, 0.8527690768241882, -0.5555406212806702, -0.23948384821414948, -0.869116485118866, 0.4513155221939087, -0.48301100730895996, -0.32120251655578613, 0.6766673922538757, 0.7109535336494446, 0.087015800178051, -0.29335033893585205, 0.9001389145851135, 0.07384317368268967, 0.5125870704650879, -0.38649994134902954, 0.7560328245162964, -0.4693000018596649, 0.05615201219916344, -0.37614431977272034, -0.6465685963630676, -0.6039538383483887, 1.0139113664627075, -0.4247549772262573, 0.07796622812747955, 0.7774248123168945, 0.3379044532775879, -0.17843672633171082, 0.18039901554584503, 0.05347621068358421, 0.034030620008707047, 0.12665125727653503, 0.30535635352134705, 0.48906078934669495, -0.17740191519260406, -0.1492769569158554, -0.1931294947862625, -0.6610843539237976, -0.17199575901031494, -0.890942394733429, -0.8644649386405945, -0.2868849039077759, -0.6093462109565735, -0.5674077868461609, 0.33593079447746277, 0.7364205121994019, 0.7305508255958557, -1.2303134202957153, -0.010557650588452816, -0.04263217747211456, 0.06324606388807297, -0.4585259258747101, -0.11588157713413239, 0.5268584489822388, -0.26702681183815, -0.3493380844593048, 0.6017442345619202, 0.43709152936935425, -0.4726628363132477, 0.08226744085550308, 0.38822537660598755, -0.4600565433502197, 0.2709750235080719, 0.8681817650794983, 0.663023054599762, -0.34328022599220276, -0.2718363404273987, -0.12331411242485046, 0.26846590638160706, 0.10382761061191559, 1.1138964891433716, -0.7774475812911987, 0.4927249252796173, 0.6155879497528076, 0.5812598466873169, 0.342153400182724, 0.2421381175518036, 0.6867029070854187, -0.51701819896698, 0.10209953039884567, 0.3131498098373413, 0.27664193511009216, -0.10735464841127396, -0.43681085109710693, 0.34741270542144775, 0.3723519742488861, -0.5701104998588562, -0.6684427261352539, -0.12286549061536789, -0.7099961638450623, -0.4370376467704773, 0.9758827090263367, -0.37744346261024475, -0.3083770275115967, -0.6531291007995605, -0.2809385359287262, 0.0909353494644165, -0.32394176721572876, 0.7641788721084595, 0.7526010274887085, -0.7219253182411194, 0.03547681123018265, -0.4589540362358093, 0.7924399375915527, 0.44959551095962524, -0.8450005650520325, -0.2635011076927185, 0.334891140460968, 0.2686898410320282, 0.6314752697944641, 0.7400328516960144, -0.6293838620185852, 0.7006410956382751, -0.20630308985710144, -0.06403409689664841, -0.061044421046972275, -0.2645384669303894, -0.3518437445163727, 0.38705167174339294, 0.002132433233782649, -0.2726503610610962 ]
http://arxiv.org/abs/2404.13057v1
http://arxiv.org/pdf/2404.13057v1
"Hey..! This medicine made me sick": Sentiment Analysis of User-Generated Drug Reviews using Machine Learning Techniques
2024-04-09T08:42:34
2024-04-09T08:42:34
Abhiram B. Nair, Abhinand K., Anamika U., Denil Tom Jaison, Ajitha V., V. S. Anoop
cs.CL
cs.CL
Sentiment analysis has become increasingly important in healthcare, especially in the biomedical and pharmaceutical fields. The data generated by the general public on the effectiveness, side effects, and adverse drug reactions are goldmines for different agencies and medicine producers to understand the concerns and reactions of people. Despite the challenge of obtaining datasets on drug-related problems, sentiment analysis on this topic would be a significant boon to the field. This project proposes a drug review classification system that classifies user reviews on a particular drug into different classes, such as positive, negative, and neutral. This approach uses a dataset that is collected from publicly available sources containing drug reviews, such as drugs.com. The collected data is manually labeled and verified manually to ensure that the labels are correct. Three pre-trained language models, such as BERT, SciBERT, and BioBERT, are used to obtain embeddings, which were later used as features to different machine learning classifiers such as decision trees, support vector machines, random forests, and also deep learning algorithms such as recurrent neural networks. The performance of these classifiers is quantified using precision, recall, and f1-score, and the results show that the proposed approaches are useful in analyzing the sentiments of people on different drugs.
[ -0.1935221552848816, -0.4965243935585022, 0.4843771159648895, 0.057698432356119156, -0.25550171732902527, 0.009355809539556503, 0.04049314931035042, -0.5295513868331909, 0.584075391292572, 0.6416682004928589, -0.2733724117279053, -0.8387468457221985, -0.8033015131950378, 0.3633168935775757, -0.3060092329978943, 1.6508762836456299, 0.22011376917362213, 0.6609073877334595, -0.08889658004045486, -0.29128286242485046, -0.2033289074897766, -0.845058023929596, -0.29321977496147156, -0.4060268998146057, 0.8099685311317444, 0.13011665642261505, 0.7060998678207397, -0.08541584014892578, 0.8224067687988281, 0.33144405484199524, -0.006209747865796089, 0.006968011148273945, -0.09026072919368744, 0.20115399360656738, -0.14684376120567322, -0.47373226284980774, -0.6017841100692749, 0.10589327663183212, 0.003101436886936426, 0.6480852365493774, 0.10296247899532318, 0.09135157614946365, -0.010214807465672493, 0.7869142293930054, -0.333802729845047, -0.17711636424064636, -0.12242547422647476, 0.5901516675949097, -0.06841608136892319, -0.125967338681221, -0.0695267841219902, -0.6080424189567566, 0.33511120080947876, -0.36100587248802185, 0.18342454731464386, 0.027790406718850136, 0.8663926720619202, 0.14632511138916016, -0.2466786503791809, -0.5271198153495789, -0.4437178075313568, 0.6982071995735168, -0.8294574022293091, 0.0752214640378952, 0.06253976374864578, 0.27375495433807373, -0.23034816980361938, -0.6376250982284546, -0.511568009853363, -0.07875362783670425, -0.10897800326347351, 0.26217424869537354, -0.029360294342041016, 0.19087110459804535, -0.10597461462020874, 0.557996928691864, -0.5990833044052124, 0.020712649449706078, -0.6392238140106201, -0.27702784538269043, 0.4321599304676056, 0.36382344365119934, 0.3162088990211487, -0.6365775465965271, -0.42720502614974976, 0.16838407516479492, -0.44290974736213684, 0.0032023065723478794, 0.11576871573925018, 0.29837825894355774, 0.13483476638793945, 0.7254430055618286, -0.19425112009048462, 0.6511697173118591, -0.09025269001722336, 0.004750897642225027, 0.5848870277404785, -0.05969124659895897, -0.6338611841201782, -0.008691709488630295, 1.10841965675354, 0.7560356855392456, 0.15387330949306488, 0.1353885680437088, -0.24576880037784576, 0.2776596248149872, 0.37545645236968994, -0.8851209878921509, -0.6047680377960205, 0.7018480896949768, -0.9807577133178711, -0.8599259853363037, -0.1673596352338791, -0.9093155860900879, -0.8276826739311218, -0.15709398686885834, 0.4138302505016327, -0.12095716595649719, -0.06113271415233612, 0.14206375181674957, -0.327432781457901, -0.014472643844783306, 0.19846206903457642, -0.6952534914016724, 0.14297719299793243, 0.5616423487663269, 0.6803886890411377, -0.14365115761756897, -0.19888430833816528, -0.35889923572540283, -0.3824058473110199, -0.21142235398292542, 1.1479921340942383, -0.14603835344314575, -0.6159369945526123, 0.01357346773147583, -0.05494021996855736, 0.11900530010461807, -0.8677768707275391, 0.4958871006965637, -0.23315638303756714, 0.5414009690284729, -0.2947421669960022, -0.5530734062194824, -0.06313108652830124, 0.46199434995651245, -0.3291994333267212, 0.2700284421443939, 0.1628563553094864, -0.8466484546661377, 0.44711101055145264, -0.7436270713806152, -0.5983161926269531, 0.16666291654109955, -0.15837684273719788, -0.6977752447128296, 0.5235404968261719, 0.12116566300392151, 0.513462483882904, -0.09583102911710739, 0.25585806369781494, -0.5643445253372192, -0.1792442798614502, 0.6502054929733276, 0.15895742177963257, 0.9164459109306335, 0.7600332498550415, 0.1082414835691452, 0.1580079048871994, -0.5543817281723022, 0.10818607360124588, -0.048652663826942444, -0.4070519506931305, -0.35761964321136475, -0.16988219320774078, 0.34515896439552307, 0.4342132806777954, 0.020135488361120224, -0.5407100915908813, 0.30094844102859497, -0.7427518963813782, 0.2364010065793991, 0.4895564317703247, 0.5315115451812744, 0.0825483575463295, -0.08148445934057236, 0.31989407539367676, 0.23665009438991547, 0.3811330795288086, 0.16789978742599487, -0.6391412019729614, -0.4781351685523987, -0.028728775680065155, 0.5484831929206848, 0.7215856909751892, -0.2619384527206421, 0.5198086500167847, 0.03523235023021698, -0.005866238847374916, -0.6928313970565796, 0.19314612448215485, 0.2775125503540039, 0.4741766154766083, 0.2826523184776306, -0.5485455393791199, -0.5307798981666565, -0.7127917408943176, -0.4642779231071472, -0.2842555344104767, -0.19398848712444305, 0.2594183385372162, 0.5895324945449829, -0.8023868799209595, 0.5804771780967712, -0.924942672252655, -0.6302808523178101, -0.11955470591783524, 0.2760625183582306, 0.12999656796455383, 0.22471678256988525, 0.3796252906322479, -0.574289083480835, -0.13431164622306824, 0.17581625282764435, -0.9053676128387451, -0.2500399947166443, 0.24665291607379913, 0.03203870356082916, -0.03733908385038376, 0.12502521276474, -0.3167003095149994, 0.18006497621536255, 0.4270048439502716, -0.3116021454334259, 0.20203673839569092, -0.19665436446666718, 0.33953428268432617, -1.3447959423065186, -0.056602753698825836, 0.39816951751708984, 0.05796153098344803, -0.8086363673210144, -0.28576138615608215, -0.291620135307312, -0.38457050919532776, -0.27194246649742126, 0.20412154495716095, -0.045690085738897324, 0.12045972794294357, -0.3205137848854065, -0.24071048200130463, 0.3039828836917877, 0.1410103589296341, 0.022406719624996185, 0.06048973649740219, 0.4449438452720642, -0.3250004053115845, 0.4908473789691925, 0.21689018607139587, -0.22148814797401428, 0.815105676651001, -0.4216946065425873, -0.24991999566555023, -0.10708949714899063, 0.0911087691783905, -0.7436041831970215, -0.6462516188621521, 0.6836270689964294, -0.6952064037322998, 0.20355167984962463, -0.2312839925289154, -0.2559194564819336, -0.5184915065765381, -0.26677408814430237, -0.16870106756687164, 0.407090961933136, -0.17410066723823547, 0.301988422870636, 0.9080750942230225, -0.16997428238391876, -0.4438645839691162, -0.7549682855606079, 0.16863325238227844, -0.27825385332107544, -0.04992097243666649, 0.057069115340709686, 0.10629293322563171, -0.421570748090744, 0.15667705237865448, 0.22253815829753876, -0.3014729917049408, -0.005692433100193739, 0.36879366636276245, 0.2791774272918701, 0.04100186377763748, 0.4522058069705963, 0.21998073160648346, -0.10354321449995041, 0.40773168206214905, -0.07013757526874542, 0.15646539628505707, -0.33813175559043884, 0.08039060980081558, -0.48784777522087097, 0.5335172414779663, 0.7389140129089355, -0.06269453465938568, 0.397217333316803, 0.3358970582485199, -0.3930279314517975, -0.1833573430776596, -0.03699101135134697, -0.3668987452983856, -0.3747842013835907, 0.4364464282989502, 0.09976141899824142, -0.43737849593162537, 0.21523086726665497, -0.24397891759872437, -0.2072429656982422, 0.3102996051311493, 0.7753357291221619, -0.5949752926826477, 1.1057871580123901, 0.26350080966949463, -0.3693244457244873, -0.01945083774626255, -0.30432096123695374, 0.2956746816635132, -0.27667686343193054, -0.23310460150241852, -0.3687021732330322, -0.4223129153251648, -0.67198246717453, -0.24435491859912872, 0.6262577772140503, -0.3734084367752075, -0.11400298774242401, -0.2365887463092804, -0.5786916613578796, 0.2328665405511856, 0.34968301653862, 0.14783354103565216, -0.03835498169064522, 0.2603890597820282, -0.06670878827571869, 0.06027704477310181, -0.3376154899597168, -0.3674159348011017, 1.07732093334198, 0.5433588027954102, 0.6795211434364319, -0.31289297342300415, 0.937629222869873, 0.5460580587387085, 0.5776626467704773, -0.981189489364624, 0.42934903502464294, -0.5084826946258545, -0.706312894821167, 0.26756593585014343, -0.5737872123718262, -0.7998993396759033, 0.15018083155155182, -0.5444782376289368, -0.23846998810768127, 0.15131816267967224, 0.17017383873462677, -0.6060521602630615, 0.14056256413459778, -0.9640371799468994, 0.8186663389205933, -0.4966188371181488, -0.03578080236911774, -0.17588071525096893, -0.8672966957092285, 0.2691880166530609, 0.08952467888593674, 0.2889639735221863, -0.024787722155451775, 0.3961494565010071, 0.5810429453849792, -0.7971415519714355, 0.8630410432815552, -0.38827329874038696, 0.11736327409744263, 0.2267785221338272, -0.1463080793619156, -0.2661660313606262, -0.003817507531493902, 0.14123860001564026, 0.3003063201904297, -0.03175778687000275, -0.3178044855594635, -0.6208499670028687, 1.0068340301513672, -0.8705446720123291, -0.2092636525630951, -0.5746380090713501, -0.22367021441459656, -0.26549360156059265, 0.08691228926181793, 0.4385886788368225, 0.4550301432609558, -0.21471796929836273, -0.2553132176399231, 0.2916938364505768, -0.49299994111061096, -0.1566312462091446, 0.3706642985343933, -0.30883604288101196, -0.6626489162445068, 1.0688564777374268, 0.27546849846839905, -0.21271544694900513, 0.23057496547698975, 0.42249026894569397, -0.20331013202667236, -0.4598870873451233, -0.5189029574394226, 0.07594902068376541, -0.48533257842063904, -0.2574656903743744, -0.6104226112365723, -0.02900872938334942, -0.4635671079158783, 0.16668488085269928, -0.0430736280977726, -0.309431254863739, -0.2297428548336029, -0.03547609969973564, 0.2419973909854889, 1.0127025842666626, 0.03958019241690636, 0.25856253504753113, -0.9956338405609131, 0.3642582297325134, 0.21144597232341766, 0.5082482099533081, -0.39954879879951477, 0.0023703218903392553, -0.23363186419010162, -0.13327598571777344, -0.5154666900634766, -1.157673716545105, 0.6225712895393372, -0.004485834389925003, 0.2412712424993515, 0.5921433568000793, 0.06834134459495544, 0.22773513197898865, -0.015199640765786171, 0.7632126212120056, 0.24266324937343597, -0.5235074758529663, 0.8417647480964661, -0.14863072335720062, 0.01165001280605793, 0.598226010799408, 0.49136969447135925, -0.5109725594520569, -0.4070873558521271, -0.23852582275867462, -0.6262588500976562, 0.38546329736709595, -0.018843406811356544, -0.079659104347229, -0.15131130814552307, 0.37749314308166504, 0.142245814204216, 0.19781604409217834, -0.5276502370834351, -0.4059370160102844, -0.41496580839157104, -0.5690111517906189, -0.0048952787183225155, -0.16846275329589844, -0.09592185914516449, -0.056575242429971695, 0.6648081541061401, 0.013238755986094475, 0.24074766039848328, 0.28277429938316345, -0.15151400864124298, -0.15289948880672455, 0.6406709551811218, 0.22607438266277313, 0.22350026667118073, -0.5645121932029724, 0.19306635856628418, -0.028308607637882233, -0.655567467212677, 0.052566010504961014, 0.3039908707141876, -0.17947104573249817, -0.22680753469467163, 0.013272766023874283, 0.26676231622695923, -0.29281726479530334, -0.6437920928001404, 0.5033299326896667, -0.2032404989004135, -0.13522890210151672, 0.052197180688381195, -0.10741674154996872, -0.337459534406662, 0.17681434750556946, 0.11894163489341736, 0.5819330215454102, 0.6776599287986755, -0.4760798513889313, 0.22200503945350647, 0.2293112725019455, -0.7764220237731934, -0.49101629853248596, 0.1718115508556366, 0.34670448303222656, -0.2832135260105133, 0.6311320066452026, 0.16731514036655426, -0.5847063660621643, 0.21002867817878723, 0.3045492172241211, 0.9443302154541016, -0.23759593069553375, 0.5284769535064697, 0.34261354804039, -0.23586030304431915, 0.2537432014942169, 0.349467396736145, 0.2069365382194519, -0.5340712070465088, -0.03613670915365219, -0.5991297960281372, -0.4732402563095093, 0.09119844436645508, -0.4820120632648468, 0.2458914965391159, -0.5479574799537659, -0.6187180876731873, 0.2579807937145233, 0.14800691604614258, -0.34599965810775757, 0.5907399654388428, 0.2231568694114685, 0.39288321137428284, -1.1729586124420166, 0.6769237518310547, 0.9870389103889465, -0.5147148966789246, -0.3069722354412079, 0.059721507132053375, 0.11556041985750198, -0.38621485233306885, 0.49276959896087646, 0.2541442811489105, -0.16161401569843292, -0.45775306224823, -0.458644837141037, 0.039781879633665085, 0.44482627511024475, -0.27133384346961975, -0.26441001892089844, 0.1708487570285797, 0.11140907555818558, 1.025922179222107, -0.46515893936157227, -0.057169027626514435, 0.4259180724620819, 0.08328597247600555, -0.16447581350803375, -0.41042622923851013, -0.35244548320770264, -0.6768409609794617, -0.31270599365234375, 0.10998471826314926, -0.19360153377056122, 0.8722405433654785, -0.5252070426940918, 0.10435337573289871, -0.09777914732694626, 0.45430853962898254, 0.11508936434984207, 0.6959768533706665, 0.4105445146560669, 0.6245307922363281, 0.7851333022117615, -0.05083867907524109, 0.9839687347412109, -0.2302408665418625, 0.5070973634719849, 0.6903673410415649, -0.36833617091178894, 0.8576987981796265, 0.3748534321784973, -0.22126828134059906, 0.815168559551239, 0.48728200793266296, -0.2640780806541443, 0.607953667640686, 0.35734114050865173, -0.34207695722579956, -0.14815019071102142, 0.010807190090417862, -0.41679608821868896, 0.19825103878974915, 0.6458362340927124, -0.601618766784668, -0.07352796941995621, 0.4430762529373169, -0.08915764093399048, -0.055478621274232864, -0.40327346324920654, 0.9098018407821655, 0.19044357538223267, -0.5266702175140381, 0.3320581018924713, 0.10460243374109268, 0.39862680435180664, -0.33769747614860535, 0.12998232245445251, -0.283915638923645, 0.5897813439369202, -0.5280404686927795, -0.8558493256568909, 0.21986252069473267, 0.21342934668064117, -0.37740540504455566, 0.07339261472225189, 0.752069354057312, -0.21253207325935364, -0.6218499541282654, 0.21107393503189087, 0.34542784094810486, 0.3734467029571533, 0.19458897411823273, -0.9188075661659241, 0.028938833624124527, 0.057166192680597305, -0.13683411478996277, 0.4956819713115692, 0.22829347848892212, -0.04824407771229744, 0.4265390932559967, 0.5597614645957947, 0.4478475749492645, -0.365017294883728, 0.23266369104385376, 0.756378710269928, -0.7305134534835815, -0.3869967758655548, -0.8043404817581177, 0.42227494716644287, -0.05625530704855919, -0.40345045924186707, 0.6014850735664368, 0.6792576909065247, 0.33414873480796814, -0.42785218358039856, 0.8819964528083801, 0.13157552480697632, 0.942645788192749, -0.06456972658634186, 1.0498969554901123, -0.5423563122749329, 0.3281174302101135, -0.2851110100746155, -0.4345363676548004, -0.9455128312110901, 0.6314212083816528, -0.32790008187294006, 0.026879340410232544, 0.43070244789123535, 0.7388664484024048, 0.3202246427536011, 0.07843528687953949, 0.0687498152256012, 0.48297542333602905, 0.34911882877349854, 0.5240211486816406, 0.9890225529670715, -0.5027109384536743, 0.2737902104854584, -0.27037471532821655, -0.21824327111244202, -0.38873597979545593, -0.5581039786338806, -0.8515956401824951, -0.3797330856323242, -0.2778656780719757, -0.9855456948280334, 0.04221956059336662, 1.261308193206787, 0.528718888759613, -1.264678716659546, -0.1650669425725937, 0.1410548985004425, 0.23930875957012177, 0.011883397586643696, -0.2523508667945862, 0.3068859577178955, -0.36996954679489136, -0.46274831891059875, 0.04029533267021179, 0.41269731521606445, 0.12728551030158997, -0.2507382929325104, -0.10466955602169037, 0.17978763580322266, -0.10616401582956314, 0.6322061419487, 0.283845454454422, -0.614504873752594, 0.07817110419273376, 0.055452391505241394, -0.4500485956668854, -0.016719510778784752, 0.9306865930557251, -0.8316038250923157, 0.7732701897621155, 0.5966352224349976, 0.25388655066490173, -0.05948607251048088, 0.09834913164377213, 0.5472889542579651, -0.23319460451602936, -0.3612426817417145, 0.4220200777053833, 0.4033820927143097, 0.3376706838607788, -0.3461832106113434, -0.029676321893930435, 0.31867092847824097, -0.6972656846046448, -0.7135559916496277, -0.1067817360162735, -0.9067754745483398, -0.6262288093566895, 0.7107106447219849, -0.08854998648166656, -0.3741464912891388, -0.24622733891010284, -0.5301864743232727, -0.05630626901984215, -0.33932527899742126, 1.0980324745178223, 0.22307758033275604, -0.2893890142440796, 0.3008984327316284, -0.3600848615169525, 0.5466249585151672, 0.06402244418859482, -0.9453694224357605, -0.0695226714015007, 0.6174264550209045, 0.41572123765945435, 0.20289795100688934, 0.7028712630271912, -0.3562154173851013, 0.2270658165216446, -0.3814629316329956, 0.2589525878429413, 0.12975899875164032, -0.18976497650146484, -0.6051663160324097, 0.5219177603721619, -0.022530721500515938, -0.3453673720359802 ]
http://arxiv.org/abs/2404.06107v1
http://arxiv.org/pdf/2404.06107v1
Exploring the Necessity of Visual Modality in Multimodal Machine Translation using Authentic Datasets
2024-04-09T08:19:10
2024-04-09T08:19:10
Zi Long, Zhenhao Tang, Xianghua Fu, Jian Chen, Shilong Hou, Jinze Lyu
cs.CL
cs.CL
Recent research in the field of multimodal machine translation (MMT) has indicated that the visual modality is either dispensable or offers only marginal advantages. However, most of these conclusions are drawn from the analysis of experimental results based on a limited set of bilingual sentence-image pairs, such as Multi30k. In these kinds of datasets, the content of one bilingual parallel sentence pair must be well represented by a manually annotated image, which is different from the real-world translation scenario. In this work, we adhere to the universal multimodal machine translation framework proposed by Tang et al. (2022). This approach allows us to delve into the impact of the visual modality on translation efficacy by leveraging real-world translation datasets. Through a comprehensive exploration via probing tasks, we find that the visual modality proves advantageous for the majority of authentic translation datasets. Notably, the translation performance primarily hinges on the alignment and coherence between textual and visual contents. Furthermore, our results suggest that visual information serves a supplementary role in multimodal translation and can be substituted.
[ -0.3823474645614624, -0.6380613446235657, 0.5098000168800354, 0.2511870563030243, -0.49810078740119934, -0.21369868516921997, -0.28015995025634766, -0.5139914751052856, -0.061986345797777176, 0.27480030059814453, -0.4399131238460541, -0.28143230080604553, -0.6996762752532959, 0.38694310188293457, -0.2839941680431366, 0.7272378206253052, -0.3233621418476105, 0.35439082980155945, -0.41172048449516296, -0.5571249723434448, -0.6342883110046387, -0.45762792229652405, -0.028683073818683624, -0.01255100965499878, 0.8361794948577881, 0.19631589949131012, 0.9412128329277039, 0.9090827107429504, 0.9278086423873901, 0.3793962299823761, 0.5532355308532715, 0.44567036628723145, -0.22736454010009766, 0.2053099423646927, 0.1578519493341446, -0.5853369832038879, -0.38123971223831177, 0.0467337965965271, 0.7097541093826294, 0.6607477068901062, 0.3813784122467041, 0.059998273849487305, -0.05120789632201195, 0.4632358253002167, -0.3900424838066101, 0.4207000732421875, -0.4138193428516388, 0.18088717758655548, -0.39299437403678894, -0.36101385951042175, -0.4647333323955536, 0.11525578796863556, -0.03978964313864708, -0.9172974228858948, -0.004869125317782164, 0.1907503604888916, 0.7694922089576721, 0.38590073585510254, -1.2192882299423218, -0.0576980859041214, -0.6501591801643372, 0.6352096199989319, -0.27697205543518066, 0.7706302404403687, 0.2300216406583786, 0.5054104328155518, -0.0001179412065539509, -0.5650002956390381, -0.7726628184318542, -0.17497189342975616, -0.24157094955444336, 0.4868333339691162, -0.08106943964958191, 0.04689747840166092, 0.2492585927248001, 0.4075389802455902, -0.6403229832649231, 0.030725274235010147, -0.2916262447834015, -0.3208667039871216, 0.2125442922115326, 0.27431371808052063, 0.7381635904312134, -0.4443840980529785, -0.8774610161781311, -0.4261768162250519, -0.369041383266449, 0.2867470383644104, 0.0657368153333664, -0.02827976457774639, -0.27207520604133606, 0.9222803115844727, -0.21556146442890167, 0.649918258190155, -0.49721723794937134, -0.2780660092830658, 0.35634732246398926, -0.8919157385826111, -0.274749755859375, -0.3750421106815338, 0.9367483258247375, 0.6740696430206299, 0.19897210597991943, -0.17464251816272736, -0.38802844285964966, 0.0493197962641716, 0.30863478779792786, -0.8158949613571167, 0.031800802797079086, -0.12483909726142883, -0.5869239568710327, -0.1944105625152588, 0.314218670129776, -0.5720505714416504, 0.010739379562437534, -0.5887407660484314, 0.5180037617683411, -0.5743056535720825, -0.1725907027721405, -0.1966981291770935, -0.1896810382604599, 0.06142047420144081, 0.5944991707801819, -0.6026442050933838, -0.1742086261510849, 0.3905438780784607, 0.7230919599533081, -0.21486429870128632, -0.5320457220077515, -0.4342907965183258, 0.26577550172805786, -0.5140930414199829, 0.5225629806518555, -0.47953614592552185, -0.029231833294034004, -0.17653274536132812, 0.2436528205871582, -0.34124940633773804, -0.3575795590877533, 0.5572537183761597, -0.444286584854126, 0.27571532130241394, -0.651344358921051, -0.12534664571285248, -0.5005047917366028, 0.35270917415618896, -0.89531409740448, 0.6038612723350525, -0.10470902174711227, -0.3835335671901703, 0.7397377490997314, -0.502506673336029, -0.34073612093925476, -0.05795474722981453, -0.35738521814346313, -0.2008153647184372, 0.409396767616272, 0.300586462020874, 0.4966084659099579, 0.014717481099069118, 0.2137187421321869, -0.3035118877887726, -0.1964424103498459, 0.8921841382980347, -0.9640514850616455, 0.5119789838790894, 0.41426971554756165, -0.30507245659828186, -0.07573787868022919, -0.45807719230651855, -0.26644566655158997, -0.016594523563981056, -0.2956456243991852, -0.3854292035102844, -0.3694339096546173, 0.43293821811676025, 0.4014973044395447, 0.012731300666928291, -0.4253386855125427, 0.21813856065273285, 0.19694380462169647, 0.08828562498092651, 0.7218201756477356, -0.19501745700836182, 0.43945908546447754, -0.2849595844745636, 0.649813175201416, 0.2898586392402649, 0.1797264665365219, -0.6814761757850647, -0.6539318561553955, -0.5946802496910095, -0.8601402044296265, 0.3456122577190399, 0.5068157911300659, -1.1513439416885376, -0.13990719616413116, -0.5281577706336975, -0.07581251859664917, -0.7343917489051819, 0.1860155463218689, 0.5097469687461853, 0.6074555516242981, 0.4119285047054291, -0.4305901527404785, -0.29166969656944275, -1.174055576324463, -0.12294839322566986, 0.12419597059488297, 0.18239858746528625, 0.3560948967933655, 0.5038655400276184, -0.3519991338253021, 0.46828728914260864, -0.0888705626130104, -0.46623533964157104, 0.01129823923110962, 0.26292821764945984, 0.008758041076362133, 0.5056238174438477, 0.6425973773002625, -1.2154107093811035, -0.35862165689468384, 0.26375827193260193, -1.2503973245620728, -0.007932467386126518, -0.6463330984115601, -0.18712307512760162, 0.028264213353395462, 0.3693695664405823, -0.44636109471321106, 0.42256978154182434, 0.7114373445510864, -0.21004748344421387, 0.1565418392419815, -0.39365440607070923, 0.9761265516281128, -0.950900673866272, 0.2255193293094635, 0.0030724480748176575, -0.5402960181236267, -0.449063241481781, 0.276803195476532, 0.3003996014595032, -0.10700909048318863, -0.36759230494499207, 0.27000442147254944, -0.6075016260147095, 0.009610963985323906, 0.011673280037939548, 0.0774325504899025, 0.14181149005889893, 0.35768362879753113, -0.2704915702342987, 0.8849454522132874, 0.31437191367149353, -0.14585481584072113, 0.4462328255176544, 0.20869261026382446, -0.20254196226596832, 0.9517042636871338, -0.44310420751571655, -0.22844432294368744, -0.2030515968799591, 0.23333488404750824, -1.0994880199432373, -0.5437480211257935, 0.40195831656455994, -0.40885406732559204, 0.4059814512729645, 0.04065100848674774, -0.6875640749931335, 0.02740856260061264, -0.10644731670618057, 0.6590995788574219, 0.2494661808013916, -0.34437841176986694, 0.4175788164138794, -0.031625788658857346, 0.07491305470466614, -0.41627559065818787, -0.958645224571228, 0.5526692867279053, -0.1629849672317505, -0.8311499953269958, 0.1958666294813156, -0.004173139110207558, -0.08515813946723938, -0.13471178710460663, -0.06073262542486191, 0.03611130639910698, 0.09505454450845718, 0.3260183334350586, 0.39196670055389404, -0.29464033246040344, 0.16337451338768005, 0.0516083799302578, -0.31968793272972107, -0.14170527458190918, -0.03282551467418671, 0.00017472176114097238, -0.20632532238960266, -0.6515306830406189, -0.7004517316818237, 0.5252570509910583, 0.891015350818634, -0.4505316913127899, 0.5941877961158752, 1.0099395513534546, -0.23129300773143768, 0.3945617973804474, -0.44950658082962036, 0.000967223197221756, -0.38170790672302246, 0.42730462551116943, -0.7261002659797668, -0.4431558847427368, 0.23119035363197327, 0.08081839978694916, -0.36443960666656494, 0.25924503803253174, 0.4344252645969391, -0.3309682309627533, 1.1892582178115845, 0.48118487000465393, 0.2835862636566162, 0.5397387742996216, -0.18245670199394226, -0.03407570347189903, -0.8128134608268738, -0.45225682854652405, 0.049295153468847275, -0.5696211457252502, -0.5778953433036804, -0.6552627086639404, 0.6941372156143188, 0.04944267123937607, 0.3905831575393677, 0.17792174220085144, -0.19712843000888824, 0.134563148021698, 0.5529000759124756, 0.4094180762767792, 0.5662768483161926, 0.15948083996772766, -0.30251383781433105, -0.6243997812271118, -0.5472776889801025, -0.5774779319763184, 1.1139469146728516, 0.1164688989520073, 0.5087367296218872, 0.23392218351364136, 0.2570788562297821, 0.19383911788463593, 0.18334974348545074, -0.5869828462600708, 0.4882385730743408, -0.11231038719415665, -0.44644978642463684, -0.01727180927991867, -0.4940834641456604, -0.9599764943122864, 0.5885176062583923, -0.4290188252925873, -0.05195848271250725, 0.24928058683872223, 0.2564520537853241, 0.2651916444301605, 0.03777783364057541, -0.8758558630943298, 1.3437565565109253, -0.6526667475700378, -0.31339356303215027, -0.0823042094707489, -0.8404247164726257, 0.2820839583873749, -0.06927941739559174, 0.3911491632461548, 0.2175453007221222, -0.4114651083946228, 0.18290193378925323, -0.05684417858719826, 0.6887613534927368, 0.06248750910162926, 0.10375948250293732, -0.23821112513542175, 0.19909071922302246, 0.25692299008369446, 0.04543635621666908, 0.45559099316596985, 0.17794586718082428, -0.03686710074543953, -0.5864973664283752, -0.6743806600570679, 0.5381269454956055, -0.4569858908653259, -0.32396990060806274, -0.31783971190452576, -0.86904376745224, 0.05666571110486984, 0.44271448254585266, 0.23420293629169464, 0.6315845251083374, -0.1294247806072235, 0.5984920859336853, 0.5334100723266602, 0.04880331829190254, 0.38579919934272766, 0.12485936284065247, -0.23703639209270477, -0.6147184371948242, 1.1049460172653198, 0.30581408739089966, 0.5097867250442505, 0.5396903157234192, -0.03580081835389137, -0.1089572012424469, -0.37657734751701355, -1.0372140407562256, 0.020252592861652374, -0.6770510673522949, -0.06966058164834976, -0.663571834564209, 0.5158227682113647, -0.21236874163150787, -0.1528366506099701, -0.15419970452785492, -0.3795901834964752, -0.12328829616308212, 0.12650589644908905, 0.09737899154424667, 0.3088407516479492, -0.11971773952245712, 0.01955576427280903, -0.8106730580329895, 0.6800206899642944, 0.32927143573760986, 0.05757720768451691, -0.4029662013053894, -0.22109311819076538, -0.25391897559165955, 0.42843958735466003, -0.1967102736234665, -0.8721603751182556, 0.27697595953941345, 0.2775936722755432, 0.7355910539627075, 0.45385169982910156, -0.23131608963012695, 0.9090275764465332, -0.3338278830051422, 0.576167106628418, 0.2823892831802368, -0.5624004006385803, 0.30681830644607544, -0.515209436416626, 0.3934217095375061, 0.4492150545120239, 0.4827932119369507, -0.7138714790344238, -0.3386108875274658, -0.18601812422275543, -0.5695663094520569, 0.30795949697494507, 0.33352571725845337, 0.06592965871095657, 0.2442592978477478, -0.19282320141792297, 0.34523218870162964, 0.47495368123054504, -0.7385671138763428, -0.012485566549003124, -0.4963178336620331, -0.4038901925086975, -0.154213547706604, 0.10058692842721939, -0.3215736746788025, -0.1559107005596161, 0.02207188494503498, -0.30102550983428955, 0.2619323432445526, 0.22439244389533997, -0.6095288395881653, 0.03589348495006561, 0.11906569451093674, 0.6407673954963684, 0.41334813833236694, -0.009783011861145496, 0.40341296792030334, -0.10912230610847473, -0.42162367701530457, 0.007346550468355417, 0.09097195416688919, -0.30000045895576477, -0.004721744917333126, 0.6651210784912109, 0.715375542640686, 0.19533739984035492, -0.617640495300293, 0.798712432384491, 0.1438516080379486, 0.04239676892757416, 0.16496995091438293, -0.28787291049957275, -0.13033947348594666, 0.33786046504974365, 0.25564050674438477, 0.6546006798744202, 0.2179996222257614, -0.7115405201911926, 0.07552371174097061, 0.4528332054615021, -0.6016288995742798, -0.5105404257774353, 0.745292067527771, 0.1333674043416977, 0.07483171671628952, 0.5356411933898926, 0.07306773960590363, -0.39507290720939636, 0.3446090817451477, 0.2979784905910492, 0.5917003154754639, 0.0877661183476448, 0.20017008483409882, -0.013838939368724823, 0.6319393515586853, 0.04727860912680626, 0.06854196637868881, -0.31052345037460327, -0.420126348733902, -0.34806686639785767, -0.14337287843227386, -0.17397654056549072, -0.3934118449687958, -0.5971251726150513, 0.12702196836471558, 0.2674996554851532, -0.00836590863764286, -0.2647281885147095, -0.6270552277565002, -0.880243182182312, 0.3147200047969818, 0.1862427145242691, 0.37491509318351746, -1.0021917819976807, 0.7329566478729248, 0.7737345695495605, -0.847051739692688, -0.2434333711862564, -0.2994522154331207, 0.13178382813930511, -0.7884144186973572, 0.7207690477371216, 0.20385727286338806, 0.037183988839387894, -0.20164357125759125, -0.4126099646091461, -0.5018673539161682, 1.2539840936660767, 0.6059148907661438, -0.21784359216690063, 0.24035575985908508, 0.4791642427444458, 0.557729184627533, -0.4466860592365265, 0.03667807579040527, -0.2068919688463211, 0.7746240496635437, -0.04767833277583122, -0.871214747428894, 0.17974211275577545, -0.4312435984611511, 0.18450066447257996, 0.05911320820450783, -0.6009348034858704, 0.6022399067878723, -0.16218116879463196, -0.1700989454984665, -0.12583975493907928, 0.515052080154419, -0.18656231462955475, 0.4574977457523346, 0.32971784472465515, 0.462132066488266, 0.37862664461135864, -0.2223956137895584, 1.169601559638977, 0.05332135781645775, -0.029244786128401756, 0.8330519199371338, 0.27336111664772034, 0.6785858273506165, 1.0016525983810425, 0.20178033411502838, 0.08662812411785126, 0.48695483803749084, -0.22240066528320312, 0.5470965504646301, -0.35793337225914, -0.025074763223528862, -0.6004056930541992, -0.2112458348274231, -0.5956582427024841, 0.6111852526664734, -0.07241157442331314, -0.5439603924751282, -0.048524197190999985, 0.49087074398994446, 0.052723489701747894, 0.2489791065454483, 0.198823481798172, 0.5472854971885681, 0.0030095570255070925, -0.41772156953811646, 0.456057071685791, -0.19906042516231537, 0.4140538275241852, -0.42634862661361694, -0.25711894035339355, -0.2347404509782791, 0.02796316333115101, -0.06422298401594162, -0.5922461748123169, 0.07384354621171951, -0.3284721076488495, -0.20507967472076416, -0.8364629745483398, 0.36325162649154663, -0.5262945890426636, -0.56039959192276, -0.04702872782945633, 0.740264356136322, 0.05291123688220978, -0.18693634867668152, -0.4358496367931366, 0.2517384886741638, -0.08671129494905472, -0.22620268166065216, 0.38941922783851624, 0.9884704351425171, -0.07754457741975784, 0.5252509117126465, 0.794653594493866, 0.018673991784453392, 0.19874925911426544, -0.2723458707332611, 0.8503512144088745, -0.5287936925888062, -0.13515622913837433, -0.7104474306106567, 0.860239565372467, -0.09831157326698303, -0.6209360957145691, 1.1084983348846436, 0.798219621181488, 0.9257136583328247, -0.2534569799900055, 0.536496102809906, 0.07797261327505112, -0.2589464783668518, -0.6499172449111938, 0.6851646304130554, -0.9390769004821777, 0.03547820821404457, -0.22701187431812286, -0.6700928211212158, -0.4434564709663391, 0.4101582467556, -0.005756204482167959, -0.17688123881816864, 0.9074986577033997, 0.8246886730194092, -0.39103156328201294, -0.14854910969734192, 0.6397914290428162, 0.06991929560899734, 0.2884562909603119, 0.20128606259822845, 0.764366626739502, -0.7248778939247131, 0.8691470623016357, -0.3286626935005188, -0.4370402693748474, -0.25317808985710144, -0.8726683855056763, -0.7603918313980103, -0.7669769525527954, -0.14604485034942627, -0.06458012014627457, -0.1472397744655609, 0.713320255279541, 0.567366898059845, -0.3935735523700714, -0.15817545354366302, 0.2373664826154709, -0.14248234033584595, -0.4632841646671295, -0.07559052854776382, -0.07662694901227951, -0.45160582661628723, -0.7901243567466736, 0.3996160924434662, 0.6190429329872131, 0.23227180540561676, -0.20743444561958313, 0.0007804684573784471, -0.14733204245567322, -0.30699020624160767, 0.6939655542373657, -0.14754992723464966, -0.7460366487503052, -0.2063707411289215, 0.43889519572257996, -0.47442999482154846, 0.1680058091878891, 0.9847013354301453, -0.5648173689842224, 1.1259671449661255, 0.5704966187477112, 0.6205870509147644, 0.5536144375801086, -0.19456154108047485, 0.8097879886627197, -0.4819779098033905, 0.25556743144989014, -0.10629591345787048, 0.4262995719909668, 0.4277537167072296, 0.030102849006652832, 0.5471294522285461, 0.7573460936546326, -0.3344176411628723, -0.8804678916931152, 0.23469991981983185, -1.4582481384277344, 0.007790473289787769, 0.9468091726303101, -0.1513817310333252, -0.3436589241027832, 0.026859315112233162, -0.6155520677566528, 0.22758401930332184, -0.23822224140167236, 0.5783709287643433, 0.656173825263977, 0.1708858162164688, -0.3149684965610504, -0.9137340784072876, 0.06594223529100418, 0.2688041031360626, -0.6883485317230225, -0.28721898794174194, 0.7089535593986511, -0.1714904010295868, 0.028288837522268295, 0.2857198715209961, -0.2067590206861496, 0.36372894048690796, 0.187825009226799, -0.050924744457006454, -0.44204628467559814, -0.2919885814189911, -0.17675678431987762, 0.13102839887142181, -0.29141804575920105, -0.4776243269443512 ]
http://arxiv.org/abs/2404.06101v1
http://arxiv.org/pdf/2404.06101v1
Making Old Kurdish Publications Processable by Augmenting Available Optical Character Recognition Engines
2024-04-09T08:08:03
2024-04-09T08:08:03
Blnd Yaseen, Hossein Hassani
cs.CL
cs.CL
Kurdish libraries have many historical publications that were printed back in the early days when printing devices were brought to Kurdistan. Having a good Optical Character Recognition (OCR) to help process these publications and contribute to the Kurdish languages resources which is crucial as Kurdish is considered a low-resource language. Current OCR systems are unable to extract text from historical documents as they have many issues, including being damaged, very fragile, having many marks left on them, and often written in non-standard fonts and more. This is a massive obstacle in processing these documents as currently processing them requires manual typing which is very time-consuming. In this study, we adopt an open-source OCR framework by Google, Tesseract version 5.0, that has been used to extract text for various languages. Currently, there is no public dataset, and we developed our own by collecting historical documents from Zheen Center for Documentation and Research, which were printed before 1950 and resulted in a dataset of 1233 images of lines with transcription of each. Then we used the Arabic model as our base model and trained the model using the dataset. We used different methods to evaluate our model, Tesseracts built-in evaluator lstmeval indicated a Character Error Rate (CER) of 0.755%. Additionally, Ocreval demonstrated an average character accuracy of 84.02%. Finally, we developed a web application to provide an easy- to-use interface for end-users, allowing them to interact with the model by inputting an image of a page and extracting the text. Having an extensive dataset is crucial to develop OCR systems with reasonable accuracy, as currently, no public datasets are available for historical Kurdish documents; this posed a significant challenge in our work. Additionally, the unaligned spaces between characters and words proved another challenge with our work.
[ -0.4438563883304596, -0.2987942397594452, 0.5581850409507751, -0.4903261065483093, -0.5365149974822998, -0.054411619901657104, -0.04108427092432976, -0.7522402405738831, -0.08290542662143707, 0.8264026641845703, -0.08002443611621857, -0.571804404258728, -0.4672301411628723, 0.5803012847900391, -0.06318816542625427, 0.898911714553833, -0.42913705110549927, -0.020733127370476723, 0.31510981917381287, -0.5924274325370789, 0.09233508259057999, -0.3319898247718811, -0.46291884779930115, 0.21275272965431213, 0.2503715455532074, 0.4100118577480316, 0.743406355381012, 0.6518413424491882, 0.5847482085227966, 0.31514352560043335, -0.4956603944301605, 0.47062814235687256, -0.44441214203834534, 0.20360440015792847, 0.03260144218802452, -0.21034865081310272, -0.3069300353527069, -0.11729344725608826, 0.9995419979095459, 0.3200850188732147, -0.06937506049871445, -0.11806143075227737, 0.14088387787342072, 1.019141674041748, -0.7185619473457336, -0.028446543961763382, -0.020251000300049782, 0.2501649856567383, -0.3285396695137024, -0.10465247184038162, -0.20268788933753967, -0.7177790999412537, -0.18188060820102692, -0.7033770084381104, 0.22661830484867096, -0.1515558362007141, 0.689162015914917, -0.05894051864743233, -0.28172504901885986, -0.7362697124481201, -0.9846670031547546, 0.6772971153259277, -0.7182837724685669, 0.7177796959877014, 0.6682981848716736, 0.4708286225795746, -0.3587709665298462, -0.767167329788208, -0.6613231897354126, -0.36033913493156433, -0.08729475736618042, 0.0469437800347805, -0.11286124587059021, -0.3707596957683563, 0.3800506591796875, 0.6972770094871521, -0.4915584921836853, -0.0014973279321566224, -0.7058298587799072, -0.04443806782364845, 0.3400641679763794, 0.10295926779508591, 0.33973678946495056, -0.030171794816851616, -0.15719081461429596, -0.27942055463790894, -0.6346657276153564, 0.06074421480298042, 0.7598095536231995, 0.12746931612491608, 0.24981755018234253, 1.0519487857818604, -0.5061985850334167, 0.7675326466560364, 0.3159283399581909, -0.20904873311519623, 0.24019573628902435, -0.22305500507354736, -0.17264942824840546, 0.4545915126800537, 0.644238293170929, -0.0524960421025753, -0.04655558615922928, -0.23362964391708374, -0.11817588657140732, -0.24161912500858307, 0.2945162057876587, -0.6978768706321716, -0.011102044954895973, -0.10524818301200867, -0.7610813975334167, 0.04063780605792999, 0.14015771448612213, -1.087549090385437, -0.9580331444740295, -0.06095188483595848, 0.15103885531425476, -0.7266347408294678, -0.2232212871313095, 0.1892692893743515, -0.17658275365829468, -0.08720343559980392, 0.7453526258468628, -0.6117585897445679, 0.16345825791358948, 0.270891010761261, 1.091750144958496, 0.15832068026065826, -0.04725513607263565, -0.5929459929466248, 0.23204734921455383, -0.3577613830566406, 0.6123761534690857, -0.5317370891571045, -0.6302157044410706, -0.1542857140302658, 0.14354653656482697, 0.30273517966270447, -0.39330151677131653, 1.1889094114303589, -0.5365591645240784, 0.5412065386772156, -0.004245576914399862, -0.35733330249786377, -0.25028398633003235, 0.0760396420955658, -1.2669401168823242, 1.0471488237380981, 0.35793906450271606, -0.9393179416656494, 0.29261326789855957, -0.36172276735305786, -0.2413840889930725, 0.30169257521629333, -0.17707321047782898, -0.743782639503479, 0.23012994229793549, 0.651630699634552, 0.2732354998588562, -0.308623343706131, -0.6329793334007263, -0.11116316169500351, -0.4800441861152649, -0.07703330367803574, -0.2737915515899658, 0.9538803100585938, 0.5730745792388916, -0.4579788148403168, -0.5432453155517578, -1.08858323097229, -0.14395347237586975, -0.11301812529563904, -0.8880331516265869, -0.37721386551856995, 0.028806274756789207, 0.15794792771339417, -0.16117815673351288, 0.39968931674957275, -0.8239685297012329, 0.5282685160636902, -0.320113867521286, 0.08747247606515884, 0.43379005789756775, -0.3480978012084961, 0.5550433993339539, -0.30370333790779114, 0.5197303295135498, -0.13545988500118256, -0.1560969352722168, -0.022761812433600426, -0.4883045256137848, -0.5840157270431519, -0.49680423736572266, 0.31214234232902527, 0.3926313817501068, -0.9806767106056213, 0.3270188868045807, -0.2953399121761322, -0.8694751262664795, -0.42734092473983765, 0.10477329045534134, 0.019521092996001244, 0.5623154640197754, 0.1164177730679512, -0.614249050617218, -0.5504894256591797, -0.35258594155311584, -0.03022405318915844, -0.4084821939468384, -0.11086340993642807, 0.3802298307418823, 0.0540388785302639, 0.02198123000562191, 0.7598507404327393, -0.2450064867734909, -0.7909161448478699, -0.11340437084436417, 0.5009313821792603, 0.45987439155578613, 0.4386310577392578, 0.3653355836868286, -0.8837206363677979, -0.5419343709945679, 0.6463090777397156, -0.6428223252296448, 0.022923121228814125, 0.24888138473033905, 0.12698058784008026, 0.8853321075439453, 0.5101478099822998, -0.4226841628551483, 0.7224989533424377, 0.329641729593277, -0.38642144203186035, 0.6698450446128845, -0.5223880410194397, 0.6642851233482361, -0.8219020366668701, 0.4186769425868988, -0.20621837675571442, -0.11045783758163452, -0.3213992416858673, 0.09675455093383789, 0.07025746256113052, -0.43453606963157654, -0.4239356517791748, 0.4371194541454315, -0.7928552031517029, 0.11753134429454803, -0.09644775092601776, -0.3884325921535492, -0.1297203153371811, 0.1243782714009285, 0.5375697612762451, 0.9102304577827454, 0.015279204584658146, -0.27162009477615356, 0.19411353766918182, 0.17924030125141144, -1.0455571413040161, 0.6945936679840088, -0.31218546628952026, 0.33848464488983154, -0.2668895721435547, 0.002190996427088976, -0.7401777505874634, -0.057609111070632935, 0.7051814198493958, -0.38290196657180786, 0.2387818545103073, -0.34669172763824463, -0.8003861904144287, -0.15243001282215118, -0.00652769161388278, 0.2955191433429718, 0.5958961248397827, -0.42482316493988037, 1.071455717086792, 0.2026740312576294, -0.46043846011161804, -0.4704126715660095, -0.35645705461502075, 0.12307678908109665, -0.19875627756118774, -0.4995662569999695, 0.007459902670234442, 0.20950433611869812, 0.2104615420103073, 0.24837726354599, 0.16150596737861633, -0.3829019069671631, -0.17306450009346008, 0.14695243537425995, 0.19093860685825348, -0.548866868019104, 0.036192696541547775, -0.18999604880809784, -0.04414387792348862, -0.6794188022613525, -0.3057343363761902, 0.4017707109451294, -0.011589322239160538, -0.40632912516593933, -0.4745520055294037, 0.46725714206695557, 1.041509747505188, -0.4390494227409363, 0.9056564569473267, 0.7948487997055054, -0.4537026286125183, 0.3415442407131195, -0.7913004159927368, 0.3698157072067261, -0.45887115597724915, 0.3737865686416626, -0.1771375983953476, -0.8878757953643799, 0.21846771240234375, -0.10044418275356293, -0.06830933690071106, 0.5589995384216309, 0.5337538123130798, -0.12132978439331055, 0.9476571679115295, 0.504889726638794, -0.23302194476127625, 0.4597613215446472, 0.2591557204723358, 0.2784403860569, -0.8190822005271912, -0.3129178583621979, -0.9533296227455139, -0.11077070236206055, -0.5196975469589233, -0.23696832358837128, 0.48135673999786377, 0.28195780515670776, -0.016001500189304352, 0.2665118873119354, -0.5812954902648926, 0.5140036940574646, 0.6807717680931091, 0.23142294585704803, 0.4147186279296875, 0.5180755853652954, -0.0938359946012497, 0.04411618411540985, -0.3173542618751526, -0.88701331615448, 1.0098551511764526, 0.19694308936595917, 1.015702247619629, 0.2674274742603302, 0.654280424118042, 0.5101879239082336, -0.24579422175884247, -0.4300663471221924, 0.27506840229034424, -0.3370213210582733, -0.3767743706703186, -0.47373390197753906, -0.504849910736084, -0.9964759945869446, -0.19668082892894745, -0.2814246714115143, -0.7658151984214783, 0.6412255764007568, -0.04202014580368996, -0.5280807018280029, 0.5513015985488892, -0.5984014272689819, 0.5066118836402893, -0.13184718787670135, -0.34467434883117676, -0.03686961159110069, -0.36843612790107727, -0.2742490768432617, 0.04458863288164139, 0.07198074460029602, 0.24076522886753082, 0.14519904553890228, 0.7270967364311218, -0.46750983595848083, 0.6065638065338135, -0.02020334079861641, -0.17719030380249023, 0.34240439534187317, 0.06954996287822723, 0.5888013243675232, -0.42577216029167175, -0.5039642453193665, 0.22843331098556519, 0.21518313884735107, -0.19670991599559784, -0.501025915145874, 0.39472857117652893, -1.0046417713165283, -0.17813313007354736, -0.7386814951896667, -0.30575501918792725, 0.31026458740234375, 0.42274215817451477, 0.21598991751670837, 0.4558309316635132, -0.4921956956386566, 0.06813059747219086, 0.5311222076416016, -0.17826801538467407, 0.16854366660118103, 0.5934197902679443, -0.055906880646944046, -0.7046674489974976, 0.9256777763366699, 0.21009832620620728, -0.12339887022972107, 0.272128701210022, 0.057215675711631775, -0.2648340165615082, -0.6625897288322449, -0.8699365258216858, 0.004896638449281454, -0.7599789500236511, 0.06758416444063187, -0.4318798780441284, -0.18317581713199615, -0.6871150135993958, -0.06091199815273285, -0.04578905925154686, -0.6408492922782898, -0.781592845916748, 0.45861947536468506, 0.21551933884620667, 1.090430498123169, -0.1088528260588646, 0.24534115195274353, -1.1133427619934082, 0.3488326668739319, 0.14648844301700592, 0.331583172082901, 0.02966178022325039, -0.2601655125617981, -0.4703138768672943, -0.0033570199739187956, -0.3292871117591858, -0.8679182529449463, 0.5296480655670166, 0.2260170578956604, 0.3366076648235321, 0.6023699641227722, 0.09542720764875412, 0.45747509598731995, -0.760115385055542, 0.6124255657196045, 0.07774949818849564, -0.6417186856269836, 0.30950167775154114, -0.15847107768058777, 0.42832618951797485, 0.5034998655319214, 0.5566839575767517, -0.7325945496559143, -0.24046367406845093, -0.20373447239398956, -0.5647151470184326, 0.9751889109611511, 0.4275907874107361, -0.3634924590587616, 0.30275702476501465, 0.3203812539577484, 0.3561273217201233, -0.019714737311005592, -0.3405275344848633, 0.20600543916225433, -0.2484181970357895, -0.3677700161933899, -0.2848677635192871, -0.4871080815792084, 0.23521503806114197, 0.15237005054950714, 0.7517974376678467, 0.2684997320175171, 0.29658403992652893, 0.4602435827255249, -0.3063746988773346, -0.32540398836135864, 0.34940025210380554, 0.5800174474716187, 0.382293701171875, -0.4103345572948456, 0.26757994294166565, -0.23507055640220642, -0.9828121662139893, 0.21612510085105896, 0.6204086542129517, -0.25167784094810486, 0.08167192339897156, 0.26482483744621277, 0.7133262157440186, -0.441081702709198, -0.5771508812904358, 0.0650051087141037, -0.2513371706008911, 0.17000141739845276, -0.3337681293487549, -0.18188831210136414, -0.2761732339859009, 0.46199551224708557, 0.688416600227356, -0.02005366049706936, 0.1586996465921402, -0.4295130670070648, -0.0476967990398407, 0.25049346685409546, -0.4900764226913452, 0.12041541188955307, 0.2757495045661926, 0.0165686197578907, -0.4330681562423706, 0.8051490187644958, -0.22544969618320465, -0.6233509182929993, 0.3607749938964844, 0.24203422665596008, 0.4496893286705017, -0.41778358817100525, 0.32443976402282715, 0.466910719871521, 0.43915167450904846, -0.09195725619792938, 0.14170579612255096, -0.31628841161727905, -0.3666413128376007, -0.046002019196748734, -0.7353370189666748, -0.35359638929367065, -0.08192981034517288, -0.5284651517868042, 0.4870615303516388, -0.40453919768333435, -0.13703222572803497, -0.4256822168827057, 0.24034759402275085, -0.5531065464019775, 0.24508266150951385, 0.20076894760131836, 0.7440828084945679, -0.6844373345375061, 0.5248799324035645, 0.7398847341537476, -0.4615297019481659, -0.17409077286720276, -0.42218947410583496, -0.16791990399360657, -0.7783905267715454, 0.7719950079917908, 0.0013188219163566828, -0.15491412580013275, 0.07484140992164612, -0.1869691014289856, -0.8758553862571716, 0.7292170524597168, 0.24333533644676208, -0.5610414147377014, -0.13441675901412964, 0.5009812116622925, 0.47723588347435, 0.1616930067539215, 0.3123995065689087, 0.20959049463272095, 0.3564828932285309, 0.1649576723575592, -0.8102182149887085, 0.06446400284767151, -0.40389153361320496, -0.2398507446050644, 0.5100048184394836, 0.0640505999326706, 0.6993895173072815, 0.17433515191078186, -0.5645365715026855, 0.8636466860771179, 0.7486250400543213, -0.047118235379457474, 0.12240978330373764, 0.486682653427124, 1.032413363456726, 0.7843156456947327, 0.15182022750377655, 1.002781629562378, 0.12011556327342987, 0.11026015877723694, 1.050716757774353, -0.1798996925354004, 0.8359370231628418, 0.5134639739990234, -0.1185709685087204, 0.5007457137107849, 0.45157554745674133, -0.20038405060768127, 0.7548013925552368, -0.1324842870235443, -0.5772619843482971, -0.07405416667461395, -0.22951942682266235, -0.6300477385520935, 0.25051090121269226, 0.205134779214859, -0.696292519569397, -0.46815940737724304, -0.061836544424295425, -0.0935346707701683, -0.22248272597789764, -0.27280694246292114, 0.8043695688247681, -0.29750704765319824, -0.30542296171188354, 0.40387383103370667, 0.047821056097745895, 0.21984241902828217, -0.6780520677566528, -0.3902972340583801, 0.03819712623953819, 0.3849804699420929, -0.05319221317768097, -0.6231405138969421, 0.06408048421144485, 0.020382709801197052, -0.1592470407485962, 0.11476723849773407, 0.7227586507797241, -0.4269039034843445, -1.0961074829101562, -0.36246708035469055, 0.2805176079273224, 0.4091944396495819, 0.031997088342905045, -0.0795796737074852, 0.26877081394195557, -0.06463295221328735, 0.15998941659927368, 0.18461158871650696, 0.6172999739646912, 0.10390984266996384, 0.03240852430462837, 0.5578526258468628, 0.5986571311950684, 0.10309445112943649, -0.5190836191177368, 0.7562748193740845, -0.23687809705734253, -0.531963050365448, -0.6011362671852112, 0.3159119784832001, 0.04023978114128113, -0.3251194357872009, 0.739098310470581, 0.5997942686080933, 0.814096212387085, -0.077908456325531, 0.7293611764907837, -0.09726860374212265, 0.7199479937553406, -0.7119293808937073, 1.3283178806304932, -0.63531494140625, -0.18161934614181519, -0.4389020502567291, -0.9758526086807251, -0.2731601893901825, 0.8547875881195068, -0.1897156834602356, -0.09779821336269379, 0.5277044773101807, 0.6708494424819946, -0.16576285660266876, 0.2349175065755844, 0.137923926115036, 0.06786445528268814, 0.14176347851753235, 0.35154959559440613, 0.845102071762085, -0.18107113242149353, 0.5548315048217773, -0.3983023762702942, -0.32547757029533386, -0.230960413813591, -0.9535408616065979, -0.818350613117218, -0.9759361147880554, -0.03959915414452553, -0.5047029256820679, 0.3673126995563507, 0.5522575378417969, 0.31099802255630493, -0.7904020547866821, -0.22409690916538239, 0.017322150990366936, -0.026756687089800835, -0.09889978170394897, -0.08456631004810333, 0.8517889976501465, 0.1438022404909134, -0.7665650248527527, 0.15023919939994812, 0.05225116387009621, 0.37661197781562805, -0.02132311649620533, -0.13040895760059357, -0.10194163024425507, -0.5036711096763611, 0.22015483677387238, 0.7078492641448975, -0.3738839626312256, -0.07367291301488876, -0.16542716324329376, -0.04418470337986946, 0.3737587034702301, 0.8156650066375732, -0.8025044798851013, 0.9091190099716187, 0.5487838983535767, 0.8238106369972229, 0.43571171164512634, -0.17890897393226624, 0.5222427845001221, -0.057027462869882584, 0.07210925221443176, 0.38389939069747925, 0.4183521270751953, 0.5655003786087036, -0.6486293077468872, 0.46716269850730896, 0.033277012407779694, -0.5482596158981323, -0.5627883076667786, 0.058436859399080276, -0.6379469633102417, -0.03651098161935806, 0.7780134677886963, -0.3689485788345337, -0.5161880254745483, -0.3464093506336212, -0.8860536217689514, 0.5195356011390686, -0.48873260617256165, 1.0477795600891113, 0.7448065280914307, 0.1446465253829956, -0.3508729934692383, 0.053819794207811356, 0.286061555147171, 0.19502177834510803, -0.5046043395996094, -0.26153555512428284, 0.7835854887962341, -0.1386154294013977, 0.42422789335250854, 0.5306808352470398, -0.354256272315979, 0.5309076905250549, -0.09651613980531693, 0.2008812576532364, -0.32801276445388794, -0.10435104370117188, -0.4904027581214905, 0.29840314388275146, 0.10409709066152573, -0.15840961039066315 ]
http://arxiv.org/abs/2406.15370v1
http://arxiv.org/pdf/2406.15370v1
Traitement quantique des langues : {é}tat de l'art
2024-04-09T08:05:15
2024-04-09T08:05:15
Sabrina Campano, Tahar Nabil, Meryl Bothua
cs.CL
cs.CL
This article presents a review of quantum computing research works for Natural Language Processing (NLP). Their goal is to improve the performance of current models, and to provide a better representation of several linguistic phenomena, such as ambiguity and long range dependencies. Several families of approaches are presented, including symbolic diagrammatic approaches, and hybrid neural networks. These works show that experimental studies are already feasible, and open research perspectives on the conception of new models and their evaluation.
[ -0.26502999663352966, -0.9389926791191101, 0.4566848874092102, 0.2540077567100525, -0.1439400166273117, 0.616817831993103, -0.14999400079250336, -0.811431348323822, 0.4263184666633606, 0.32354769110679626, -0.05357929319143295, -0.07069718837738037, -0.5294333100318909, 0.36276060342788696, -0.627217173576355, 0.402656227350235, -0.0019674194045364857, 0.10249389708042145, -0.03383948281407356, -0.11466922610998154, -0.19324234127998352, -0.6003225445747375, -1.0726977586746216, -0.2221536785364151, 0.24071267247200012, -0.23085086047649384, 1.1186304092407227, -0.07268750667572021, 0.4116625189781189, 0.39177852869033813, -0.26891812682151794, 0.05919463187456131, -0.01352722104638815, 0.31096315383911133, -0.2319355309009552, -0.6290145516395569, -0.29531291127204895, -0.35339412093162537, 1.0675057172775269, 0.7739328145980835, 0.0043104118667542934, -0.2359756976366043, 0.014264349825680256, 1.1257625818252563, -0.5280027389526367, 0.0034660783130675554, -0.08663112670183182, 0.48227784037590027, -0.023605206981301308, -0.14088617265224457, -0.42258453369140625, -0.3519029915332794, 0.23933818936347961, -0.5561293363571167, 0.08174041658639908, 0.08042502403259277, 0.495410293340683, -0.012237315066158772, -0.6605215072631836, 0.09894593805074692, -1.196112871170044, 0.9838546514511108, -0.9378243684768677, 0.8681402206420898, 0.47581467032432556, 0.0553545281291008, -0.3153770864009857, -0.6990246176719666, -0.5164138674736023, -0.5228255391120911, -0.0065417662262916565, -0.058956630527973175, -0.6017315983772278, 0.2551557421684265, 0.34349483251571655, 0.7065040469169617, -0.8107995986938477, 0.0594867467880249, -0.21974718570709229, -0.18202535808086395, 0.5411480069160461, 0.021168146282434464, 0.5027104020118713, -0.2548070251941681, 0.07163120061159134, -0.12324827164411545, -0.360105037689209, 0.12911637127399445, 0.14070552587509155, 0.008730383589863777, -0.0958368107676506, 0.796834409236908, -0.7948793768882751, 1.0304722785949707, -0.2744309604167938, 0.2807745933532715, -0.08418632298707962, -0.3191467225551605, -0.2894870638847351, -0.20664262771606445, 0.9968340992927551, -0.040040574967861176, 0.006399482488632202, -0.4292694628238678, -0.16219262778759003, 0.22174091637134552, 0.1320333629846573, -0.35921984910964966, -0.2650856673717499, 0.38912367820739746, -0.3758605420589447, -0.0800747498869896, -0.22584500908851624, -0.5107536315917969, -0.25497791171073914, -0.6131381392478943, 0.27154505252838135, -0.910575270652771, -0.49629291892051697, 0.44090110063552856, -0.4191771149635315, -0.04932058975100517, 0.0497870109975338, -0.9457650780677795, 0.5702453255653381, 0.5704736113548279, 0.723631739616394, -0.040686171501874924, -0.1582910567522049, -0.15501129627227783, 0.17014296352863312, -0.3205154240131378, 0.7026856541633606, -0.5256368517875671, -0.34264326095581055, -0.0515441969037056, -0.4943999648094177, 0.07149449735879898, -0.16769270598888397, 0.7715681195259094, -0.7431865334510803, 0.17921163141727448, -0.10570031404495239, -0.6659680604934692, -0.24318531155586243, -0.03047499619424343, -1.1675649881362915, 0.84052973985672, 0.2600565552711487, -0.8776530027389526, 0.0019207315053790808, -1.0003591775894165, -0.5869987607002258, 0.34042200446128845, -0.2453969269990921, -0.04011085256934166, 0.465640127658844, 0.19811129570007324, 0.021379323676228523, -0.33058834075927734, 0.2177915871143341, 0.04069504141807556, -0.3080453872680664, 0.5591735243797302, -0.22649036347866058, 1.0106141567230225, 0.42258420586586, -0.2860279977321625, 0.21186864376068115, -0.8820724487304688, 0.26658397912979126, 0.16502034664154053, -0.09103711694478989, -0.4787057340145111, 0.3936433792114258, 0.11746780574321747, -0.05484463647007942, 0.22851695120334625, -0.541652500629425, 0.0355222262442112, -0.9386934638023376, 0.9570570588111877, 0.3458828926086426, -0.15565656125545502, 0.7919946312904358, -0.35110417008399963, 0.5903944969177246, -0.2630634009838104, 0.27374503016471863, 0.34342160820961, -0.5827227234840393, -0.8705068230628967, 0.03376512974500656, 0.5506657958030701, 0.4329172968864441, -1.15607488155365, 0.4486474394798279, -0.17962563037872314, -0.2552628219127655, -0.3769229054450989, -0.27565547823905945, 0.1955844908952713, -0.054925937205553055, 0.2789985239505768, -0.42272648215293884, -0.7695921659469604, -1.0200588703155518, -0.637726366519928, -0.31217506527900696, -0.00470770476385951, -0.333685964345932, 0.2778649926185608, -0.16194121539592743, 1.0945069789886475, -0.26023250818252563, 0.4271235466003418, -0.000692361150868237, 0.43325382471084595, -0.03528258576989174, 0.5199042558670044, 0.1610625833272934, -0.9208974838256836, -0.12782123684883118, -0.03474065661430359, -0.7272422909736633, 0.5383074283599854, 0.15984439849853516, -0.23948393762111664, 0.33856576681137085, 0.16442282497882843, -0.6868823170661926, 0.3278641700744629, 0.46933412551879883, -0.28673121333122253, 0.5167232751846313, 0.1377229392528534, 0.39185911417007446, -0.7111305594444275, -0.15143558382987976, 0.31160205602645874, -0.2713233232498169, -0.7320667505264282, 0.391713410615921, -0.05474427714943886, -0.21308007836341858, -0.23548217117786407, 0.3609727919101715, -0.16627050936222076, -0.02512611262500286, -0.3680979311466217, -0.08910079300403595, 0.06992945075035095, 0.33332768082618713, 0.33024483919143677, 0.42195969820022583, 0.5627385973930359, -0.5546939969062805, 0.5960582494735718, 0.02250155620276928, -0.08874484151601791, 0.6043575406074524, -0.5808671116828918, 0.18404152989387512, 0.10161720216274261, 0.06795778125524521, -0.7212868332862854, 0.09240629523992538, 0.18380148708820343, -0.6337173581123352, 0.032921697944402695, 0.17862117290496826, -1.005271553993225, -0.452593594789505, -0.2523152828216553, 0.5987623333930969, 0.5100221037864685, -0.0515739805996418, 0.5703062415122986, 0.40965890884399414, 0.04128994420170784, -0.09278301149606705, -0.5607592463493347, 0.38133153319358826, 0.018177347257733345, -0.6735526323318481, 0.3130928874015808, 0.1584349125623703, -0.3834516704082489, 0.04810646176338196, 0.16658875346183777, -0.3239124119281769, 0.1767301857471466, -0.059001632034778595, 0.06903727352619171, -0.2939646542072296, 0.2627469301223755, -0.017871150746941566, -0.045464836061000824, 0.1975310891866684, -0.4863760769367218, 0.4656112492084503, -0.4802186191082001, -0.0383538119494915, -0.45564785599708557, 0.6280893683433533, 0.003476575016975403, -0.29075440764427185, 0.5765226483345032, 0.6171919703483582, -0.5158955454826355, -0.21436195075511932, -0.25538432598114014, -0.15498296916484833, -0.4918469488620758, 0.28868624567985535, -0.27649664878845215, -1.3487147092819214, 0.06569884717464447, 0.013737832196056843, -0.18350081145763397, 0.7302832007408142, 0.3248540461063385, -0.30267956852912903, 1.3106306791305542, 0.9869737029075623, -0.17672836780548096, 0.5205281376838684, -0.23577238619327545, 0.8161234259605408, -0.6686872839927673, 0.30696362257003784, -0.6800152659416199, -0.04875274747610092, -0.7278041243553162, -0.22680698335170746, 0.3291456997394562, 0.3429754674434662, -0.17543554306030273, 0.3721091151237488, -0.7219251990318298, 0.2145525962114334, 0.8236035108566284, -0.03917315974831581, 0.5461466312408447, 0.2416825294494629, -0.08251018822193146, -0.05181646719574928, -0.8463554382324219, -0.5865626931190491, 0.8559483885765076, 0.36271169781684875, 0.5339627861976624, 0.09198396652936935, 0.45264944434165955, 0.2729465365409851, -0.1889560967683792, -0.6463363766670227, 0.6343879103660583, -0.10344095528125763, -0.46373018622398376, -0.6747063398361206, -0.543285071849823, -1.0859378576278687, 0.14686724543571472, -0.34212809801101685, -0.8909175992012024, -0.03567003086209297, 0.07844486087560654, -0.3501296043395996, 0.4065239131450653, -0.6802855730056763, 0.5262512564659119, -0.1571807861328125, -0.2165289670228958, -0.5792441368103027, -0.42820271849632263, 0.5390954613685608, 0.028994670137763023, 0.19815103709697723, 0.11152936518192291, 0.21716094017028809, 0.9437141418457031, -0.08242977410554886, 0.689742922782898, 0.3185478746891022, -0.3672182559967041, 0.33523350954055786, 0.3950374126434326, 0.16496028006076813, 0.021060360595583916, -0.2063949555158615, 0.12271462380886078, 0.661126434803009, -0.4509807527065277, -0.5366212129592896, 0.5201526284217834, -0.6436575055122375, -0.19003203511238098, -0.525087296962738, -0.6490899324417114, -0.5716304183006287, 0.08141689747571945, 0.19755291938781738, 0.2955508232116699, -0.3495435416698456, -0.28505364060401917, 0.43370506167411804, -0.3372645974159241, 0.4265947937965393, 0.378102570772171, -0.4086128771305084, -0.19132253527641296, 0.9623691439628601, -0.07700346410274506, 0.1236458495259285, 0.7995627522468567, 0.1271451860666275, -0.19138064980506897, -0.5334258079528809, -0.1807027906179428, 0.11817049980163574, -0.6210457682609558, 0.06460478156805038, -0.31387409567832947, -0.556968092918396, -0.49305638670921326, -0.01956256851553917, -0.4104820191860199, -0.9499112367630005, -0.055978912860155106, 0.22490255534648895, 0.556050181388855, 0.8153594136238098, -0.0195323396474123, 0.19966159760951996, -0.8027963638305664, 0.6667611002922058, 0.3475261330604553, 0.6087797284126282, 0.23347756266593933, -0.11014188826084137, -0.5371772050857544, 0.2745855450630188, -0.4814883768558502, -0.7033891677856445, 0.24933362007141113, 0.04859844967722893, 0.4765129089355469, -0.2959877550601959, 0.03986622765660286, 0.13142670691013336, -0.1929466724395752, 0.8430131673812866, 0.4379974901676178, -1.2309620380401611, 0.8001317977905273, -0.3438585698604584, 0.4278910756111145, 0.1663406938314438, 0.48554420471191406, -0.7554076910018921, -0.6558775305747986, -0.7941298484802246, -0.6079352498054504, 0.20316386222839355, 0.5838227272033691, -0.25377458333969116, 0.135152205824852, 0.17070834338665009, -0.24927090108394623, 0.24217048287391663, -0.8304309248924255, -0.2707693874835968, 0.13007916510105133, -0.17192967236042023, -0.13797125220298767, -0.20207345485687256, -0.11890513449907303, -0.5282166600227356, 0.4798019826412201, -0.038172442466020584, 0.4823324978351593, 0.2898818850517273, -0.25403252243995667, -0.3610207140445709, 0.4456351399421692, 0.31243544816970825, 0.8964132070541382, 0.0054219248704612255, 0.36943528056144714, -0.08799465745687485, -0.20050224661827087, 0.014199945144355297, 0.010280418209731579, -0.3535274565219879, 0.014551668427884579, 0.3201878070831299, 0.721064567565918, 0.181233212351799, -0.6950682997703552, 0.07327727228403091, -0.1251910775899887, -0.1127723976969719, -0.24088792502880096, -0.039532311260700226, 0.01817941851913929, 0.2890976369380951, 0.045983392745256424, 0.030488625168800354, 0.8267130851745605, -0.6168607473373413, -0.0312846302986145, 0.6136616468429565, -0.24114477634429932, -0.40725651383399963, 0.5539447665214539, 0.12031211704015732, -0.5282731652259827, 0.6251717805862427, -0.36189785599708557, -0.5253854393959045, 0.43494749069213867, 0.5338497757911682, 0.9530656933784485, -0.1351911872625351, 0.3631715774536133, 0.423605740070343, 0.3753679394721985, 0.036114223301410675, 0.6193877458572388, -0.07188571244478226, -0.5987710356712341, -0.8371317982673645, -0.6384801268577576, -0.4681535065174103, -0.27515342831611633, -0.4848404824733734, -0.035454001277685165, -0.42902544140815735, -0.42376285791397095, 0.09748809784650803, 0.072960264980793, -0.5014389157295227, 0.031387776136398315, 0.37045103311538696, 0.41125521063804626, -0.6777772307395935, 0.8582753539085388, 0.5998441576957703, -0.22738158702850342, -0.4450088441371918, -0.4256179928779602, -0.3711581528186798, -0.39855071902275085, 0.6989410519599915, -0.44079235196113586, -0.30442866683006287, 0.18025879561901093, -0.5467303395271301, -0.9787443280220032, 0.4081328809261322, 0.2708631157875061, -0.5940160751342773, 0.047128450125455856, 0.37080177664756775, 0.8510685563087463, 0.341288298368454, 0.18868644535541534, 0.782897412776947, 0.3132360279560089, -0.37251046299934387, -1.1292693614959717, 0.037392742931842804, -0.44375601410865784, 0.4120030403137207, 0.6229828000068665, -0.39160966873168945, 0.7659449577331543, 0.2515764832496643, -0.43381911516189575, 0.29338565468788147, 0.8992763757705688, 0.30197909474372864, -0.027581986039876938, 0.27221232652664185, 0.7333451509475708, 0.551702618598938, 0.0823899433016777, 1.192091941833496, -0.26642873883247375, 0.31042686104774475, 0.7219977378845215, -0.08608918637037277, 1.0242735147476196, 0.7202135920524597, -0.8873486518859863, 0.5676875710487366, 0.4333043694496155, 0.1849534511566162, 0.24800439178943634, 0.5849291682243347, -0.4701426923274994, -0.009668676182627678, -0.14759059250354767, -0.18960578739643097, 0.02581249363720417, 0.2842647433280945, -0.041102293878793716, -0.013199671171605587, 0.16637323796749115, -0.5315886735916138, 0.2386188507080078, -0.25045308470726013, 0.4973113536834717, 0.3180275559425354, -0.4648796021938324, 0.6515107750892639, 0.39984169602394104, 0.7798676490783691, -0.3516807556152344, -0.14539596438407898, 0.24418233335018158, -0.36974069476127625, -0.2331482619047165, -0.5973167419433594, 0.32180556654930115, -0.3985207974910736, -0.09624142199754715, -0.14400430023670197, 0.8219283223152161, 0.12093887478113174, -0.6562396287918091, 0.2493172436952591, 0.6475935578346252, -0.04385571926832199, -0.10653401166200638, -0.8707278966903687, 0.1496654599905014, -0.17104767262935638, 0.00549475010484457, 0.1772129386663437, 0.19306334853172302, -0.1331176608800888, 0.5670037269592285, 0.418854296207428, 0.15791940689086914, 0.23794133961200714, 0.023710384964942932, 0.4592849314212799, -1.076333999633789, -0.7024713158607483, -0.7756853103637695, 0.22531843185424805, 0.10030216723680496, -0.1803508698940277, 0.724066436290741, 0.5564070343971252, 0.7458201050758362, 0.009116949513554573, 0.654847264289856, 0.04593271762132645, 0.5327497124671936, -0.7505040764808655, 0.32865652441978455, -0.24810247123241425, 0.004277605563402176, -0.23454055190086365, -0.6957550048828125, -0.3626596927642822, 0.7291104197502136, -0.2622922956943512, -0.00745671009644866, 1.1054110527038574, 0.3891913592815399, 0.3050844669342041, 0.6397968530654907, 0.1769050806760788, -0.06699257344007492, 0.18984976410865784, 0.8562625050544739, 1.4970277547836304, -0.6233957409858704, -0.200477734208107, -0.7767201066017151, 0.09409187734127045, -0.02023194171488285, -0.7390114665031433, -0.5071460604667664, -1.0431305170059204, -0.4764380156993866, -0.20170705020427704, -0.033898886293172836, 0.6203235983848572, 0.6594186425209045, -0.6351110339164734, -0.6068717837333679, -0.4321981966495514, 0.32569068670272827, -0.36891627311706543, -0.2406807839870453, 0.3827781081199646, -0.3693789541721344, -0.6701048016548157, 0.31545883417129517, 0.3746761977672577, 0.03935893997550011, -0.3284773528575897, -0.09445290267467499, -0.18637394905090332, -0.17173118889331818, 1.0429977178573608, 0.5064882040023804, -0.7823292016983032, 0.09272076934576035, -0.089798703789711, -0.1817985475063324, 0.11042987555265427, 0.8967033624649048, -0.973182737827301, 0.36292752623558044, 0.6599584221839905, 0.4978722631931305, 0.2715213894844055, -0.5709272027015686, 0.7746764421463013, -0.3308282196521759, 0.18217553198337555, 0.860590934753418, 0.40119966864585876, 0.13396665453910828, -0.25700005888938904, 0.5496601462364197, 0.07270587980747223, -0.4701702296733856, -0.7622385025024414, 0.2602767050266266, -1.055265188217163, -0.5853996872901917, 0.8284554481506348, 0.6631722450256348, -0.23096902668476105, -0.0913347378373146, -0.11977137625217438, 0.40108442306518555, -0.21426422894001007, 0.5405977368354797, 0.7470382452011108, -0.4590460956096649, -0.3140850067138672, -0.9390694499015808, 0.49445801973342896, 0.849328339099884, -0.6960740685462952, -0.3744221329689026, 0.4053345024585724, -0.3140178620815277, 0.228719562292099, 0.7481821179389954, -0.07174545526504517, 0.30098938941955566, -0.17080476880073547, 0.30171316862106323, 0.6017269492149353, 0.035687655210494995, -0.7095537781715393, 0.009467721916735172, 0.6837993860244751, 0.2474651336669922 ]
http://arxiv.org/abs/2404.06063v1
http://arxiv.org/pdf/2404.06063v1
All in One: An Empirical Study of GPT for Few-Shot Aspect-Based Sentiment Anlaysis
2024-04-09T07:02:14
2024-04-09T07:02:14
Baoxing Jiang
cs.CL
cs.CL, cs.AI, cs.LG
Aspect-Based Sentiment Analysis (ABSA) is an indispensable and highly challenging task in natural language processing. Current efforts have focused on specific sub-tasks, making it difficult to comprehensively cover all sub-tasks within the ABSA domain. With the development of Generative Pre-trained Transformers (GPTs), there came inspiration for a one-stop solution to sentiment analysis. In this study, we used GPTs for all sub-tasks of few-shot ABSA while defining a general learning paradigm for this application. We propose the All in One (AiO) model, a simple yet effective two-stage model for all ABSA sub-tasks. In the first stage, a specific backbone network learns the semantic information of the review and generates heuristically enhanced candidates. In the second stage, AiO leverages GPT contextual learning capabilities to generate predictions. The study conducted comprehensive comparative and ablation experiments on five benchmark datasets, and the results show that AiO can effectively handle all ABSA sub-tasks, even with few-shot data.
[ -0.5719882249832153, -0.890296995639801, 0.6487764716148376, 0.1508396565914154, -0.6413084268569946, -0.19926588237285614, 0.07514334470033646, -0.28832632303237915, 0.34591659903526306, 0.44621482491493225, -0.7046655416488647, -0.6809534430503845, -0.6120396852493286, 0.15540848672389984, -0.4819768965244293, 1.3953505754470825, 0.015002240426838398, -0.032553739845752716, -0.0710330680012703, -0.12705227732658386, -0.35556378960609436, -0.4363563358783722, -0.7958383560180664, -0.4255322217941284, 0.29812386631965637, 0.376385897397995, 0.4996492862701416, 0.2662730813026428, 0.6543652415275574, 0.24637871980667114, 0.06713402271270752, -0.23391270637512207, -0.18597109615802765, -0.020396368578076363, -0.22311806678771973, -0.506498396396637, -0.4881329834461212, 0.1326933354139328, 0.36165863275527954, 0.4488380551338196, -0.0744098573923111, 0.02574152499437332, 0.17771756649017334, 0.6140075325965881, -0.39042460918426514, 0.19536924362182617, -0.7739843726158142, 0.11320621520280838, -0.07753940671682358, 0.16086824238300323, -0.07704973220825195, -0.16967716813087463, 0.1740235537290573, -0.588293731212616, 0.36574453115463257, -0.005948908627033234, 0.7648033499717712, 0.25154682993888855, -0.20057056844234467, -0.18356703221797943, -0.5935017466545105, 0.8109681606292725, -0.6645020842552185, 0.004194770008325577, 0.1822204291820526, -0.01727130450308323, 0.28312915563583374, -0.5015602707862854, -0.7162232398986816, -0.033815350383520126, -0.238802969455719, 0.5405086874961853, -0.298164039850235, 0.25851860642433167, -0.3012309968471527, 0.44400104880332947, -0.540166437625885, 0.15877249836921692, -0.09275743365287781, 0.16403894126415253, 0.44973114132881165, 0.04073873162269592, 0.031999606639146805, -0.6539742946624756, -0.5741881132125854, 0.029802657663822174, -0.6648293137550354, 0.03492370620369911, 0.2707757353782654, 0.508510172367096, -0.23722150921821594, 0.3652445077896118, -0.22896438837051392, 0.3997782766819, 0.10813402384519577, -0.07641130685806274, -0.016060298308730125, -0.297262579202652, -0.40271732211112976, -0.13527925312519073, 1.1587828397750854, -0.08454272896051407, 0.08902459591627121, -0.18966107070446014, -0.2550491392612457, 0.0618782602250576, 0.6745687127113342, -0.6042536497116089, -0.048839930444955826, 0.3438708484172821, -0.3133402168750763, -0.34465232491493225, 0.14839908480644226, -0.8366354703903198, -0.2529938817024231, -0.5039600133895874, 0.6551644206047058, -0.5660852789878845, -0.2867242693901062, -0.30471542477607727, 0.2655546963214874, 0.18000663816928864, 0.2171267569065094, -0.6404220461845398, 0.015116823837161064, 0.9964562654495239, 0.9377015829086304, -0.1971290409564972, -0.40356865525245667, -0.03684926778078079, -0.4395630359649658, -0.37894806265830994, 1.1589610576629639, -0.5397102236747742, -0.4985429048538208, 0.058253731578588486, -0.3686774969100952, -0.1311928927898407, -0.2549199163913727, 0.5431643724441528, -0.3035581111907959, 0.2987769544124603, -0.17227678000926971, -0.41213056445121765, -0.36283302307128906, 0.6422790288925171, -0.4117761254310608, 0.6996057629585266, 0.34080106019973755, -0.747348964214325, 0.49694421887397766, -0.6825462579727173, -0.5182490348815918, -0.09151888638734818, -0.2963693141937256, -0.6593295931816101, 0.43174102902412415, 0.4205287992954254, 0.4220280349254608, -0.36444997787475586, -0.0938887894153595, -0.03606230020523071, -0.0728074237704277, 0.09272204339504242, -0.3642285168170929, 0.2450830638408661, 0.13526956737041473, -0.19770120084285736, 0.28333336114883423, -0.3246768116950989, -0.13553282618522644, -0.03718098998069763, -0.08680097758769989, -0.1660648137331009, -0.16719916462898254, -0.0029877531342208385, 0.3159225881099701, -0.06090368330478668, -0.7281823754310608, 0.46604111790657043, -0.5960419178009033, 0.1537093073129654, 0.6094071865081787, 0.3301793932914734, 0.6137700080871582, -0.058421723544597626, 0.7503806948661804, 0.4100651144981384, 0.49201151728630066, -0.29006683826446533, -0.4005434215068817, -0.7848781943321228, -0.4256458878517151, 0.027912447229027748, 0.5221740007400513, -0.8937244415283203, 0.45415160059928894, -0.2903486490249634, -0.408224493265152, -0.6149998307228088, 0.3943142294883728, 0.5235110521316528, 0.441552072763443, 0.556533932685852, -0.6752144694328308, -0.3177860677242279, -0.9478354454040527, -0.1430560201406479, -0.34974852204322815, -0.10297110676765442, -0.052410006523132324, 0.5035253167152405, -0.09310764074325562, 1.4526283740997314, -0.3691602945327759, -0.9904826879501343, -0.7288722395896912, 0.6256279349327087, 0.25713419914245605, 0.19048769772052765, 0.6341401934623718, -0.5189104080200195, -0.5222793221473694, 0.12925395369529724, -0.9134094715118408, 0.24482564628124237, -0.2549976408481598, -0.05169136822223663, 0.09868225455284119, -0.058494605123996735, -0.741819441318512, 0.4688354432582855, 0.304842084646225, 0.14036500453948975, 0.2514841854572296, 0.19932623207569122, 0.023034418001770973, -1.212399959564209, -0.28340426087379456, 0.3469771444797516, 0.07994507253170013, -0.6590344309806824, -0.04105672985315323, -0.2594318389892578, 0.05704589933156967, -0.6052074432373047, 0.48027917742729187, 0.03398968651890755, -0.05476672202348709, -0.6479840874671936, -0.02798204869031906, -0.028517862781882286, 0.6908743381500244, 0.07700643688440323, 0.5938024520874023, 0.6873824000358582, -0.3959156274795532, 0.2874229848384857, 0.2566968500614166, -0.07230860739946365, 0.7501058578491211, -0.6077913045883179, 0.4136757254600525, -0.6137897372245789, 0.23067514598369598, -0.9520761966705322, -0.11765364557504654, 0.3185528814792633, -0.38790449500083923, 0.3270844519138336, -0.30157411098480225, -0.27679693698883057, -0.10454227030277252, -0.30359596014022827, 0.1641303449869156, 0.3374303877353668, -0.4004352390766144, 1.0174641609191895, 0.1301640272140503, -0.34114283323287964, -0.5465220212936401, -0.32057762145996094, -0.09781064093112946, -0.2656863033771515, -0.1524624526500702, 0.11579150706529617, 0.43604859709739685, -0.2106718271970749, 0.19476807117462158, -0.12968958914279938, -0.168761745095253, -0.1686016023159027, 0.29902249574661255, 0.2047552466392517, -0.08889737725257874, 0.11076312512159348, -0.08459056168794632, -0.3010872006416321, -0.1850680261850357, -0.2784477472305298, 0.47833988070487976, -0.3168690800666809, -0.3540806174278259, -0.6060177683830261, 0.5599782466888428, 0.26387202739715576, -0.2585063576698303, 0.4371758699417114, 0.4965384006500244, -0.09317440539598465, -0.23157472908496857, -0.406482994556427, -0.15015771985054016, -0.35323861241340637, 0.589609682559967, -0.44241148233413696, -0.4488660991191864, 0.4101291596889496, 0.10915971547365189, 0.22538626194000244, 0.543553352355957, 0.3923724591732025, -0.1551792025566101, 0.8609060645103455, 0.8569942712783813, -0.7276747822761536, 0.6552530527114868, -0.4800626337528229, 0.48982471227645874, -0.7130348682403564, 0.011717780493199825, -0.40002089738845825, -0.2123168706893921, -0.3007660210132599, -0.02909136936068535, 0.7260959148406982, 0.49297961592674255, -0.24673250317573547, 0.29241713881492615, -0.46827009320259094, 0.5065950155258179, 0.4906524419784546, 0.1903432011604309, 0.3468068540096283, 0.05098889023065567, 0.3359052836894989, 0.19548985362052917, -0.5727619528770447, -0.5015017986297607, 1.143632411956787, 0.33758842945098877, 0.6804093718528748, -0.08038317412137985, 0.8092399835586548, 0.08635612577199936, 0.9539241194725037, -1.3170864582061768, 0.3317769467830658, -0.5320528149604797, -0.522409200668335, -0.27546992897987366, -0.12422490119934082, -0.6056125164031982, 0.33850011229515076, -0.1573999673128128, -0.5787181258201599, 0.025132952257990837, 0.052481308579444885, -0.3347214162349701, 0.34614601731300354, -0.3462064266204834, 0.7113215923309326, -0.11261513084173203, -0.2568538784980774, -0.26136794686317444, -0.5351269841194153, 0.31063511967658997, -0.1579972356557846, 0.24840030074119568, -0.03919161483645439, 0.32174941897392273, 0.4243770241737366, -0.23970730602741241, 0.9520251154899597, -0.2510932683944702, 0.11448448896408081, 0.693896472454071, 0.005837725475430489, 0.4527648687362671, 0.11868524551391602, -0.07411481440067291, 0.42018693685531616, -0.33479762077331543, -0.16390979290008545, -0.5815067887306213, 0.37000739574432373, -0.8270471096038818, -0.43180686235427856, -0.47770220041275024, -0.17040996253490448, -0.38367676734924316, -0.061362434178590775, 0.6534359455108643, 0.23801346123218536, -0.34354767203330994, -0.008796604350209236, 0.28903862833976746, 0.21176110208034515, 0.5292252898216248, 0.41234147548675537, -0.02396080456674099, -0.2773059010505676, 0.6603835225105286, -0.09618473798036575, 0.05725369229912758, 0.5301138162612915, 0.1786552220582962, -0.2624778151512146, -0.4385059177875519, -0.613274097442627, 0.08774930983781815, -0.8736535310745239, -0.39769747853279114, -0.5178954005241394, -0.025181621313095093, -0.3646765649318695, -0.11852603405714035, -0.7652244567871094, 0.07603665441274643, -0.17303207516670227, -0.251280277967453, 0.24297447502613068, 0.970237135887146, 0.06282064318656921, 0.8066313862800598, -0.7229626178741455, 0.37405872344970703, 0.49467673897743225, 0.20327040553092957, -0.07348382472991943, -0.31649249792099, -0.13261769711971283, -0.07100170850753784, -0.6730543971061707, -0.8017199635505676, 0.4578670561313629, 0.40343907475471497, 0.43252044916152954, 0.598829984664917, -0.2039554864168167, 0.3651033341884613, -0.21621087193489075, 1.008643627166748, 0.3274775743484497, -0.990883469581604, 0.6206604242324829, -0.19424037635326385, 0.10635897517204285, 0.7940735220909119, 0.586331844329834, -0.4602164626121521, -0.21841393411159515, -0.3373521566390991, -0.9732088446617126, 0.682002067565918, 0.11554191261529922, 0.26999202370643616, -0.010407831519842148, 0.5598321557044983, 0.417403906583786, 0.22866138815879822, -0.6655986309051514, -0.12884849309921265, -0.7776018977165222, -0.4270235300064087, -0.04114171862602234, 0.07442639768123627, -0.1712590456008911, -0.053011175245046616, 0.8040344715118408, -0.5161644220352173, 0.30526670813560486, 0.21652735769748688, -0.02856564149260521, 0.009803260676562786, 0.7997052669525146, -0.06071540340781212, 0.4771651327610016, -0.0498514361679554, -0.17615650594234467, 0.036949463188648224, -0.38229745626449585, 0.08105747401714325, -0.12926793098449707, -0.29539644718170166, -0.05233215540647507, 0.6008370518684387, 0.9997643828392029, -0.03180018067359924, -0.030435603111982346, 0.6934275031089783, 0.16588085889816284, -0.11230748146772385, -0.23070020973682404, -0.20498281717300415, -0.38182708621025085, 0.039713598787784576, 0.5624482035636902, -0.07753073424100876, 0.03941898047924042, -0.8461190462112427, 0.15634238719940186, 0.5317535996437073, -0.6947510242462158, -0.6569532752037048, 0.3893688917160034, 0.21770261228084564, 0.13109903037548065, 0.7189428210258484, -0.5741901397705078, -0.7165323495864868, 0.44442954659461975, 0.2592821717262268, 1.3996752500534058, -0.01658027619123459, 0.46909886598587036, 0.23746177554130554, 0.26245933771133423, -0.15793216228485107, 0.008627455681562424, 0.004464003723114729, -0.8209590315818787, -0.4898141026496887, -1.028367519378662, -0.6112857460975647, 0.00037045040517114103, -0.6145250201225281, 0.04285245016217232, -0.5084776282310486, -0.11916226148605347, -0.09439392387866974, -0.27233386039733887, -0.9157350063323975, 0.4301944673061371, -0.037444207817316055, 0.19573469460010529, -1.1426531076431274, 0.848708987236023, 0.9336782097816467, -0.8971179723739624, -0.6805887222290039, 0.2484128326177597, 0.1514296531677246, -0.5560915470123291, 0.48636627197265625, 0.08857791125774384, -0.05333395302295685, -0.12384634464979172, -0.4979211688041687, -0.6058396697044373, 0.7474992275238037, -0.16953381896018982, -0.27562007308006287, 0.03614678606390953, 0.47021180391311646, 0.6938521862030029, -0.623615562915802, 0.3233613967895508, 0.8252866268157959, 0.29433369636535645, 0.14013804495334625, -0.8721767067909241, -0.33989331126213074, 0.047217465937137604, -0.03756337985396385, 0.12725013494491577, -0.6011607646942139, 1.1901042461395264, 0.08562520891427994, -0.13464723527431488, -0.061220116913318634, 0.7378405332565308, 0.02338809333741665, 0.3181315064430237, 0.6258927583694458, 0.6341193318367004, -0.01485800463706255, -0.2688209116458893, 1.1544145345687866, -0.2036730945110321, 0.5838097929954529, 0.8991951942443848, -0.16752959787845612, 0.8192135095596313, 0.24705471098423004, -0.3511202931404114, 0.39231887459754944, 0.4417661726474762, 0.36483365297317505, 0.6513423323631287, -0.12426666915416718, -0.39743128418922424, -0.32541191577911377, -0.198212668299675, -0.11530838906764984, 0.7679421305656433, 0.22476327419281006, -0.09776556491851807, -0.33328574895858765, 0.29548096656799316, 0.15910229086875916, -0.06446688622236252, -0.571308434009552, 1.0999170541763306, 0.25605452060699463, -0.6531172394752502, -0.10872355103492737, -0.021389057859778404, 1.0928194522857666, -0.8645598292350769, 0.16176334023475647, -0.5998128652572632, 0.20424890518188477, -0.3425028622150421, -0.8461039662361145, 0.39322277903556824, 0.08782585710287094, -0.16867917776107788, -0.11490355432033539, 0.561888575553894, -0.17396225035190582, -0.6685202717781067, 0.1331508606672287, 0.4887152910232544, 0.0183832049369812, -0.7175175547599792, -0.5842798948287964, -0.2936224937438965, -0.14421236515045166, -0.6755260229110718, 0.3904126286506653, 0.30288928747177124, -0.09346351772546768, 0.35023975372314453, 0.3555965721607208, 0.042642105370759964, -0.3086351454257965, 0.156876340508461, 0.7709327936172485, -0.5665006041526794, -0.5484123229980469, -0.7800666689872742, 0.4684857726097107, 0.1741056740283966, -0.5850343704223633, 0.62812340259552, 0.3573756515979767, 0.727100670337677, 0.07792042195796967, 1.2103204727172852, -0.13830025494098663, 0.5192736983299255, -0.5616753697395325, 0.40681567788124084, -0.5884875059127808, 0.11155527830123901, -0.2638891339302063, -1.188974142074585, -0.22161588072776794, 0.5777092576026917, -0.3010473847389221, 0.06748504936695099, 0.7561389207839966, 0.4907394051551819, 0.024191319942474365, 0.2729678153991699, 0.024550708010792732, 0.11103618144989014, 0.49197083711624146, 0.379626601934433, 0.59947270154953, -0.465798020362854, 0.34769532084465027, -0.6356272101402283, -0.21239984035491943, 0.12889347970485687, -0.7340779900550842, -0.613676905632019, -0.4009378254413605, -0.2337382435798645, -0.03025796264410019, -0.13532541692256927, 1.063595175743103, 0.6654238700866699, -0.8435513377189636, 0.15570542216300964, -0.20678284764289856, -0.03107967972755432, -0.43508580327033997, -0.2584875226020813, 0.47617071866989136, -0.6389625668525696, -0.9399038553237915, 0.4486280381679535, 0.3306615352630615, -0.11946598440408707, -0.4392056465148926, 0.32112425565719604, 0.16150136291980743, 0.10413601994514465, 0.7891332507133484, 0.21954527497291565, -0.6085373163223267, -0.3988390862941742, -0.21895717084407806, 0.05447852984070778, 0.28819456696510315, 0.939509928226471, -0.7767496109008789, 0.3604568541049957, 0.5911101698875427, 0.4641483724117279, 0.45874446630477905, 0.5084279775619507, 0.2526394724845886, -1.2189525365829468, 0.2537881135940552, 0.2943686246871948, 0.2688394784927368, 0.3175732493400574, -0.1993238627910614, 0.563860297203064, 0.05509980767965317, -0.3466040790081024, -0.22027353942394257, 0.34434762597084045, -1.0263323783874512, -0.39037108421325684, 1.0681365728378296, -0.2147754728794098, -0.00821014866232872, -0.1302683800458908, -0.05012194812297821, 0.14612269401550293, -0.43635812401771545, 0.8057354092597961, 0.5410097241401672, -0.6056531667709351, -0.03988686949014664, -0.32010939717292786, 0.3336297571659088, 0.4402611553668976, -1.0686919689178467, -0.2561214566230774, 0.36068978905677795, 0.28564897179603577, 0.27984899282455444, 0.7895981669425964, -0.05141526088118553, -0.15377624332904816, -0.027571244165301323, 0.2921775281429291, -0.05942336097359657, -0.577995240688324, -0.40802761912345886, 0.525197446346283, -0.05993197485804558, -0.28802937269210815 ]
http://arxiv.org/abs/2404.06017v1
http://arxiv.org/pdf/2404.06017v1
Identifying Shopping Intent in Product QA for Proactive Recommendations
2024-04-09T04:55:24
2024-04-09T04:55:24
Besnik Fetahu, Nachshon Cohen, Elad Haramaty, Liane Lewin-Eytan, Oleg Rokhlenko, Shervin Malmasi
cs.CL
cs.CL
Voice assistants have become ubiquitous in smart devices allowing users to instantly access information via voice questions. While extensive research has been conducted in question answering for voice search, little attention has been paid on how to enable proactive recommendations from a voice assistant to its users. This is a highly challenging problem that often leads to user friction, mainly due to recommendations provided to the users at the wrong time. We focus on the domain of e-commerce, namely in identifying Shopping Product Questions (SPQs), where the user asking a product-related question may have an underlying shopping need. Identifying a user's shopping need allows voice assistants to enhance shopping experience by determining when to provide recommendations, such as product or deal recommendations, or proactive shopping actions recommendation. Identifying SPQs is a challenging problem and cannot be done from question text alone, and thus requires to infer latent user behavior patterns inferred from user's past shopping history. We propose features that capture the user's latent shopping behavior from their purchase history, and combine them using a novel Mixture-of-Experts (MoE) model. Our evaluation shows that the proposed approach is able to identify SPQs with a high score of F1=0.91. Furthermore, based on an online evaluation with real voice assistant users, we identify SPQs in real-time and recommend shopping actions to users to add the queried product into their shopping list. We demonstrate that we are able to accurately identify SPQs, as indicated by the significantly higher rate of added products to users' shopping lists when being prompted after SPQs vs random PQs.
[ -0.4058617949485779, -0.9348925352096558, 0.6516342163085938, 0.3657092750072479, -0.16569127142429352, -0.05657633766531944, 0.041489433497190475, -0.6324272751808167, 0.5278285145759583, 0.49888694286346436, -1.007543683052063, -0.1320762038230896, -0.023251235485076904, -0.20745967328548431, -0.4230780303478241, 0.7538956999778748, 0.3424583971500397, -0.06895304471254349, -0.3293910026550293, -0.10393540561199188, -0.6917325854301453, -0.4739649295806885, -1.0267643928527832, 0.03013729117810726, 0.34992343187332153, 0.4397866725921631, 0.6725326180458069, -0.2650609612464905, 0.0495854876935482, 0.3092220723628998, -0.09807907044887543, 0.49257075786590576, -0.3189130127429962, 0.3833134174346924, 0.01890658587217331, -0.48301631212234497, -0.7551794052124023, -0.004716910887509584, -0.05125372111797333, 0.23826245963573456, -0.3691868185997009, 0.3923899233341217, -0.023124482482671738, 0.3575025498867035, -0.6238626837730408, -0.04735983535647392, -0.49801957607269287, 0.18741759657859802, 0.13707523047924042, -0.30705034732818604, -0.31088823080062866, -0.36971646547317505, 0.4660317599773407, -1.0625758171081543, 0.2718707025051117, -0.019953003153204918, 0.9967303276062012, 0.15669667720794678, -0.25990617275238037, -0.44016921520233154, -1.137829065322876, 0.6895051002502441, -0.5300995111465454, 0.6764758229255676, 0.633902907371521, 0.352698415517807, -0.29167452454566956, -0.525181770324707, -0.7406823039054871, -0.2066226303577423, -0.0940183773636818, 0.3256586492061615, -0.45161885023117065, -0.32850345969200134, 0.0024745366536080837, 0.33762359619140625, -0.5924655795097351, -0.37792545557022095, -0.1296059638261795, -0.0969967395067215, 0.8938963413238525, -0.015379088930785656, 0.36179783940315247, 0.18689878284931183, -0.4538216292858124, 0.21051640808582306, -0.20902538299560547, 0.5623657703399658, 0.36201798915863037, -0.03758988156914711, 0.31488800048828125, 0.5227512717247009, -0.4460507333278656, 0.5393403768539429, 0.6924064755439758, -0.21926268935203552, 0.15297268331050873, -0.4820179045200348, -0.18139193952083588, 0.014050952158868313, 0.5870773792266846, 0.3543885052204132, 0.28779321908950806, -0.045632634311914444, -0.08118724077939987, -0.76520174741745, 0.4828592538833618, -0.3213745057582855, -0.13750986754894257, 0.3821756839752197, -0.4798514246940613, -0.024895021691918373, 0.4091015160083771, -0.5549664497375488, -0.32009896636009216, -0.3222200274467468, 0.8294834494590759, 0.1530710756778717, -0.46456167101860046, 0.1841559112071991, -0.03319113701581955, 0.056532781571149826, 0.1365804821252823, -0.4895618259906769, 0.42128634452819824, 0.5790958404541016, 0.400787889957428, 0.008420385420322418, -0.0937252789735794, -0.6253374218940735, 0.19775035977363586, -0.2173141986131668, 1.058485746383667, -0.5694910883903503, -0.5651260614395142, -0.05898928642272949, 0.2947506606578827, -0.18422964215278625, -0.7068924903869629, 0.6024836301803589, -0.7726458311080933, 0.31857094168663025, -0.39220672845840454, -0.38304468989372253, -0.34533417224884033, 0.40938910841941833, -0.4795593321323395, 1.1636934280395508, 0.11654313653707504, -0.32402274012565613, 0.5512282252311707, -0.575350284576416, -0.5597161650657654, 0.28897401690483093, -0.00183372781611979, -0.7723832130432129, 0.04965125769376755, 0.2905612885951996, 0.5082502365112305, -0.04744662344455719, 0.2842617332935333, -0.34180179238319397, -0.3523707687854767, 0.6238821148872375, -0.3280160129070282, 0.7689574956893921, 0.1187453493475914, -0.532355010509491, 0.2908303737640381, -0.46500107645988464, -0.038824744522571564, 0.24174481630325317, 0.03126709908246994, -0.10219986736774445, 0.3287680149078369, -0.16678503155708313, 0.08219853788614273, 0.4799995720386505, -0.28238630294799805, 0.23576441407203674, -0.22158920764923096, -0.0338447168469429, 0.6427527070045471, 0.4467099606990814, 0.19688522815704346, -0.2544480562210083, 0.8733996152877808, -0.2614749073982239, 0.8646140098571777, 0.11286716908216476, -0.9790128469467163, -0.7352365255355835, -0.17173552513122559, -0.021488182246685028, 0.5648460388183594, -0.3967438042163849, 0.6402661800384521, 0.06815150380134583, -0.6825550198554993, -0.08615078777074814, 0.0515807643532753, 0.20394833385944366, 0.3966315984725952, 0.34435567259788513, -0.3494885563850403, -0.029154203832149506, -0.7892443537712097, -0.3965286314487457, -0.48531627655029297, -0.4290081858634949, 0.9794861078262329, -0.3375793695449829, -0.2812182903289795, 1.1469125747680664, -0.9008451700210571, -0.5393608212471008, -0.22636310756206512, 0.11185645312070847, 0.19483113288879395, 0.02076766826212406, 0.46027976274490356, -0.9453561305999756, -0.41454774141311646, -0.0823451578617096, -0.09390062838792801, -0.4294421076774597, -0.3870450258255005, -0.12002216279506683, -0.35669058561325073, 0.24080568552017212, -0.6505127549171448, 0.5156986713409424, 0.23808301985263824, -0.4832366108894348, 0.49019983410835266, -0.24231602251529694, 0.33484944701194763, -0.9366494417190552, -0.16697724163532257, 0.18676890432834625, 0.13195310533046722, -0.6718868017196655, -0.3084052801132202, -0.23642422258853912, -0.14506395161151886, -0.4405370354652405, 0.2699105441570282, -0.13905657827854156, -0.3478894531726837, 0.03114996664226055, -0.23968614637851715, 0.19909895956516266, 0.5083456039428711, 0.2458040565252304, 0.8388628959655762, 0.22862714529037476, -0.9745348691940308, 0.11327048391103745, 0.259566992521286, -0.15801532566547394, 0.5446611642837524, -0.8135006427764893, 0.08176705241203308, 0.2789669334888458, 0.1907867044210434, -1.0206233263015747, 0.04584600031375885, 0.5123287439346313, -0.4722100794315338, -0.23002733290195465, -0.23935213685035706, -0.2932700216770172, -0.05762000009417534, 0.012774740345776081, 0.39646899700164795, 0.300022691488266, -0.3773438632488251, 1.2000430822372437, 0.47418564558029175, -0.45950090885162354, -0.29227253794670105, -0.09516169130802155, -0.3025093376636505, -0.3229231834411621, -0.5631251931190491, 0.4051673412322998, -0.29109200835227966, 0.010278410278260708, -0.19966551661491394, -0.2139398455619812, -0.05935577303171158, 0.31654679775238037, 0.1493353396654129, 0.22513920068740845, -0.19854485988616943, 0.12303538620471954, -0.04815742000937462, -0.23401737213134766, 0.1774349957704544, -0.11937421560287476, 0.3674061596393585, 0.16013766825199127, -0.41243427991867065, -0.5884906053543091, 0.6189448237419128, 0.5342963337898254, -0.5266788601875305, 0.1901233047246933, 0.8215318918228149, -0.12941129505634308, -0.09059365838766098, -0.7033039927482605, -0.403219074010849, -0.5337584018707275, 0.15956613421440125, -0.38989293575286865, -0.41532009840011597, 0.48163938522338867, -0.009732846170663834, -0.15765687823295593, 0.19306591153144836, 0.6569113731384277, -0.2664216160774231, 1.589895486831665, 0.4032258093357086, 0.261261910200119, 0.7212637662887573, -0.021030398085713387, 0.8194817304611206, -0.5820884108543396, -0.6640326380729675, -0.47725507616996765, -0.36637768149375916, -0.30601271986961365, -0.2003261297941208, 0.4684267044067383, 0.24654360115528107, 0.07017068564891815, 0.37060555815696716, -0.35808706283569336, 0.21618276834487915, 0.945889413356781, 0.3169495761394501, 0.024720022454857826, -0.033249787986278534, 0.2482629120349884, 0.2796337604522705, -0.41578108072280884, -0.1839587390422821, 0.722055196762085, 0.24633733928203583, 0.39076268672943115, 0.18376395106315613, 0.2130536288022995, 0.2432580292224884, -0.3018081784248352, -1.1937143802642822, 0.8487918376922607, -0.011982228606939316, -0.42729848623275757, -0.16494682431221008, 0.02877797931432724, -1.1230210065841675, -0.2501369118690491, -0.26931431889533997, -0.7288669943809509, 0.7832450866699219, 0.27193447947502136, -0.9344725012779236, -0.32626721262931824, -0.8186231255531311, 0.9530413150787354, -0.7583279013633728, -0.5654468536376953, -0.07446402311325073, -0.2988457679748535, -0.18027767539024353, 0.17410220205783844, 0.05459095537662506, -0.2533804774284363, 0.08465944230556488, 0.9284707307815552, -0.14958219230175018, 0.5169296860694885, -0.3955216407775879, -0.09069333225488663, 0.38481849431991577, 0.11617612838745117, 0.5836506485939026, 0.0978149026632309, 0.3932984471321106, -0.08446618914604187, 0.02994970604777336, -0.263264536857605, -0.8164102435112, 0.35148996114730835, -0.561402440071106, -0.7062170505523682, -0.29443252086639404, 0.0010719145648181438, -0.7148051261901855, 0.062729112803936, -0.12996350228786469, 0.24907222390174866, -0.022240236401557922, 0.22717097401618958, 0.7611403465270996, -0.15339861810207367, 0.13182084262371063, 0.7357226610183716, -0.20345033705234528, 0.03658146411180496, 1.059592366218567, 0.09138230979442596, -0.17068886756896973, 0.23126468062400818, 0.5921027660369873, -0.5780360698699951, -0.6779106259346008, -0.3456038534641266, 0.021443752571940422, -0.32961079478263855, 0.045405760407447815, -0.7567166090011597, 0.21620748937129974, -0.37152621150016785, 0.07052800059318542, -0.1445314586162567, -0.11515649408102036, -0.704223096370697, -0.1243685781955719, 0.3114878535270691, 0.5232862830162048, 0.5186644792556763, 0.34416043758392334, -0.8204514384269714, 0.5451602339744568, 1.0063766241073608, 0.21078196167945862, -0.1400434523820877, -0.2322254329919815, -0.19374924898147583, -0.03257228434085846, -0.22828689217567444, -1.0590569972991943, 0.318757563829422, 0.2545000910758972, 1.0139142274856567, 1.0105645656585693, 0.2422274500131607, 0.9217987656593323, -0.056555576622486115, 1.275081753730774, -0.2346329241991043, -0.5976840257644653, 0.5776694416999817, -0.24883969128131866, 0.0031990990974009037, 0.4952310621738434, 0.7498795390129089, -0.34942176938056946, -0.06096163019537926, -0.7100049257278442, -1.1763144731521606, 0.5781770348548889, 0.11312296241521835, 0.038942642509937286, 0.0019967276602983475, 0.030382845550775528, 0.11230067163705826, 0.2100405991077423, -0.1427983045578003, -0.05094815790653229, -0.15084615349769592, -0.08045335859060287, -0.038007933646440506, -0.34349778294563293, 0.0927647054195404, -0.12210897356271744, 0.706056535243988, -0.18213418126106262, 0.29066002368927, 0.24159039556980133, 0.11220768839120865, 0.008929911069571972, 0.29389044642448425, 0.5050595998764038, 0.5645840167999268, -0.3993569016456604, -0.4111401438713074, -0.2446936070919037, -0.4243103265762329, -0.14203967154026031, -0.00016872785636223853, -0.17172421514987946, -0.03704143688082695, -0.09688873589038849, 0.3924148380756378, 0.2922537624835968, -0.9951467514038086, 0.7088764905929565, -0.39932456612586975, 0.0100685590878129, -0.7220509648323059, 0.1710001677274704, -0.12311527132987976, 0.37207168340682983, 0.64275062084198, 0.1017630472779274, 0.7718452215194702, -0.7049759030342102, 0.20762072503566742, 0.41381487250328064, -0.42775464057922363, -0.3241240084171295, 0.24510458111763, 0.36729803681373596, -0.6693578958511353, 0.49131399393081665, -0.19581474363803864, -0.7067451477050781, 0.4702185392379761, 0.3032046854496002, 1.2521193027496338, -0.4830465018749237, 0.31100329756736755, 0.24995669722557068, -0.050671353936195374, -0.047444868832826614, 0.6193901896476746, -0.5353578329086304, -0.7725771069526672, -0.03001752868294716, -0.4097025394439697, -0.4144846498966217, 0.029754431918263435, -0.9613785147666931, 0.37077680230140686, -0.17960406839847565, -0.4194972515106201, 0.05400509759783745, 0.10703632235527039, -0.5820189118385315, 0.4445265531539917, -0.17389148473739624, 0.3115149140357971, -0.8963980078697205, 0.3751320540904999, 0.5290526747703552, -0.4700387120246887, -0.9533472061157227, 0.32067906856536865, -0.11652056127786636, -0.6463027000427246, 0.2818596065044403, -0.11451239138841629, -0.3694991171360016, -0.29930177330970764, -0.08607032150030136, -0.5075572729110718, 1.0965865850448608, -0.00812919344753027, -0.691497266292572, 0.1491859257221222, -0.03884463012218475, 0.48562371730804443, -0.34783369302749634, 0.7071697115898132, 0.4433484971523285, 0.39867016673088074, 0.1479867696762085, -0.7259643077850342, -0.11065641790628433, -0.441319078207016, -0.42869502305984497, -0.03253107890486717, -0.4604737460613251, 0.5891528725624084, 0.12956596910953522, -0.17621253430843353, 0.04469318315386772, 0.26089394092559814, 0.4280323088169098, 1.059842824935913, 0.9402024745941162, 0.2692412734031677, 0.6330257058143616, 0.10609989613294601, 0.7548553943634033, -0.01283908449113369, 0.009902137331664562, 1.119388461112976, -0.27794450521469116, 1.2832201719284058, 0.3052683174610138, -0.45169809460639954, 0.5345060229301453, 0.8815453052520752, 0.06990750879049301, 0.43106234073638916, -0.21995028853416443, -0.28550413250923157, -0.49756354093551636, -0.2605646848678589, -0.3808036148548126, 0.4473583698272705, 0.323049932718277, -0.3216885030269623, 0.41658279299736023, -0.12708397209644318, -0.22751984000205994, -0.2554040551185608, -0.1665315181016922, 1.4232512712478638, -0.4460641145706177, -0.685799241065979, 0.2713578939437866, -0.5080617070198059, 0.31832295656204224, -0.7355678081512451, -0.06407293677330017, -0.2023140788078308, 0.07449501752853394, -0.387670636177063, -0.5837405323982239, 0.04826008528470993, -0.18434129655361176, -0.20286770164966583, -0.17507518827915192, 0.626632571220398, -0.24542680382728577, -0.5675370693206787, 0.05752415210008621, 0.5341399908065796, 0.2094433605670929, -0.46410003304481506, -0.9911273121833801, -0.2791471481323242, -0.0030253310687839985, -0.39244571328163147, 0.17550283670425415, 0.18109993636608124, -0.08750052750110626, 0.5646219253540039, 0.9147825837135315, -0.12911218404769897, 0.07864179462194443, 0.11878213286399841, 0.45501941442489624, -0.3332257866859436, -0.7794381380081177, -0.2392808347940445, 0.5903729200363159, -0.26391613483428955, -0.3636370003223419, 0.9846521615982056, 0.5863370895385742, 0.8775311708450317, -0.06865067780017853, 0.32048672437667847, 0.4168260395526886, 0.6179161667823792, -0.28870856761932373, 0.528952956199646, -0.7471118569374084, 0.5218051075935364, -0.1484711915254593, -0.8944506645202637, 0.06068769469857216, 0.567354142665863, -0.3460776209831238, 0.2217147797346115, 0.3407430052757263, 0.9318900108337402, -0.24306955933570862, 0.3012887239456177, 0.12550950050354004, 0.05738355219364166, 0.21373382210731506, 0.15241572260856628, 0.9968345761299133, -0.2301374077796936, 0.6857839822769165, -0.19259317219257355, -0.18508882820606232, -0.6822429299354553, -0.637809693813324, -0.38466691970825195, -0.521662175655365, -0.6445399522781372, 0.02967018261551857, -0.0622912272810936, 1.0089983940124512, 0.9982495903968811, -0.9181787371635437, -0.11428152769804001, -0.035186782479286194, 0.01122787781059742, -1.000596046447754, -0.31550005078315735, 0.22452306747436523, 0.08127675205469131, -0.7070165872573853, 0.758880615234375, 0.3168809711933136, 0.07629305124282837, -0.254728764295578, -0.014303469099104404, -0.15372630953788757, 0.4913571774959564, 0.5835582613945007, 0.3020741045475006, -0.8808150291442871, -0.000677597476169467, 0.594532310962677, 0.7045872807502747, -0.16262346506118774, 1.1139109134674072, -0.8688424229621887, 0.6691504120826721, 0.6511566042900085, 0.4513922929763794, 0.4003238379955292, 0.1852734088897705, 0.6171896457672119, -0.5125532746315002, -0.2743294835090637, 0.5645582675933838, 0.0739293321967125, -0.24141068756580353, -0.5436851382255554, 0.11867345869541168, -0.019033415243029594, -0.6335621476173401, -0.6546841263771057, 0.28641894459724426, -1.3143471479415894, -0.24409690499305725, 1.0200289487838745, -0.31949353218078613, -0.05377694591879845, -0.5560241341590881, -0.6666118502616882, -0.11443120241165161, -0.5038384795188904, 0.984322190284729, 0.31808167695999146, -0.4685121178627014, -0.2573947310447693, -0.19487802684307098, 0.359358549118042, 0.5541504621505737, -0.5619087815284729, -0.1708212047815323, 0.3126828074455261, -0.009939628653228283, 0.20289397239685059, 0.6572651863098145, 0.1974612921476364, 0.6035606265068054, -0.32718732953071594, -0.5721351504325867, -0.0070932055823504925, -0.4038229286670685, 0.08730316162109375, 0.5276449918746948, 0.1568814069032669, -0.38044533133506775 ]
http://arxiv.org/abs/2404.08686v1
http://arxiv.org/pdf/2404.08686v1
Extractive text summarisation of Privacy Policy documents using machine learning approaches
2024-04-09T04:54:08
2024-04-09T04:54:08
Chanwoo Choi
cs.CL
cs.CL, cs.LG
This work demonstrates two Privacy Policy (PP) summarisation models based on two different clustering algorithms: K-means clustering and Pre-determined Centroid (PDC) clustering. K-means is decided to be used for the first model after an extensive evaluation of ten commonly used clustering algorithms. The summariser model based on the PDC-clustering algorithm summarises PP documents by segregating individual sentences by Euclidean distance from each sentence to the pre-defined cluster centres. The cluster centres are defined according to General Data Protection Regulation (GDPR)'s 14 essential topics that must be included in any privacy notices. The PDC model outperformed the K-means model for two evaluation methods, Sum of Squared Distance (SSD) and ROUGE by some margin (27% and 24% respectively). This result contrasts the K-means model's better performance in the general clustering of sentence vectors before running the task-specific evaluation. This indicates the effectiveness of operating task-specific fine-tuning measures on unsupervised machine-learning models. The summarisation mechanisms implemented in this paper demonstrates an idea of how to efficiently extract essential sentences that should be included in any PP documents. The summariser models could be further developed to an application that tests the GDPR-compliance (or any data privacy legislation) of PP documents.
[ -0.30841004848480225, -0.6447163820266724, 0.5119151473045349, 0.03012571670114994, -0.38448044657707214, -0.018185371533036232, -0.15070004761219025, -0.020726285874843597, -0.015365773811936378, 0.6865900158882141, -0.3549223840236664, -0.7183581590652466, -0.7393175363540649, 0.06944640725851059, -0.560417890548706, 1.2912596464157104, 0.2381351888179779, -0.03900468721985817, -0.20549361407756805, 0.13073857128620148, 0.024283820763230324, -0.5895903706550598, -0.007672212086617947, -0.1667213886976242, 0.4279524087905884, 0.3997865915298462, 0.5156006217002869, 0.676664412021637, 0.6009711623191833, 0.3019235134124756, -0.43042343854904175, 0.027943488210439682, -0.32001030445098877, -0.3645699620246887, -0.16859830915927887, -0.313693642616272, -0.4084571897983551, 0.1974644958972931, 0.6117188930511475, 0.4720393717288971, -0.11258479207754135, -0.09736193716526031, 0.40102413296699524, 0.8796610832214355, -0.7730178833007812, 0.29113343358039856, -0.40561673045158386, 0.036541517823934555, 0.2617569863796234, -0.16840095818042755, -0.3171839118003845, -0.5419601202011108, 0.37404391169548035, -0.22961880266666412, 0.3639914393424988, -0.22499138116836548, 0.8123635053634644, 0.019958140328526497, -0.4200284779071808, -0.5152376294136047, -0.4422151744365692, 0.7698213458061218, -0.6363208889961243, 0.1170484721660614, 0.4665051996707916, 0.21935416758060455, 0.054426856338977814, -0.6523978114128113, -0.4887974262237549, -0.16302034258842468, -0.49194037914276123, 0.17908519506454468, -0.16430726647377014, 0.018935594707727432, 0.0996367484331131, 0.448390930891037, -0.555488109588623, 0.39221441745758057, -0.750902533531189, -0.16691555082798004, 0.7313188910484314, 0.07823440432548523, -0.25805431604385376, -0.2706175446510315, 0.1012093722820282, -0.09500090777873993, -0.5198556780815125, 0.18148118257522583, 0.7122315764427185, 0.21630585193634033, -0.43019741773605347, 0.6011896133422852, -0.4526089131832123, 0.4896388053894043, 0.19187559187412262, -0.4202633798122406, 0.18268539011478424, -0.2849182188510895, -0.08004845678806305, 0.14189660549163818, 0.9085875153541565, 0.7468402981758118, 0.14951668679714203, -0.3301619589328766, 0.18367129564285278, -0.09528959542512894, 0.26455506682395935, -0.8079833388328552, -0.4789424538612366, 0.3384898602962494, -0.9356662631034851, -0.6803932785987854, 0.4666752219200134, -1.0721524953842163, -0.3762704133987427, -0.4823494255542755, 0.06953082978725433, -0.07173731178045273, -0.05003473535180092, -0.27009105682373047, -0.36508768796920776, 0.2737921476364136, 0.055912911891937256, -0.9092986583709717, 0.5166687965393066, 1.0108304023742676, 0.7728990316390991, -0.5767331719398499, -0.33349043130874634, -0.12863507866859436, 0.13313250243663788, -0.03728625923395157, 0.59515380859375, -0.46912747621536255, -0.7598565816879272, 0.009624884463846684, 0.4816323220729828, 0.008034121245145798, -0.37133780121803284, 0.5594212412834167, -0.35188740491867065, 0.8444405794143677, -0.12187067419290543, -0.5234302878379822, -0.4113045334815979, 0.1539413332939148, -0.4876152575016022, 0.6114814877510071, 0.30112892389297485, -0.9726758599281311, 0.4493677020072937, -0.9264580607414246, -0.6469161510467529, -0.1710672676563263, -0.06274060159921646, -0.9174123406410217, -0.02438754215836525, 0.27163249254226685, 0.7798682451248169, -0.009849821217358112, 0.21996435523033142, -0.22606512904167175, -0.14261291921138763, 0.4064936637878418, -0.16807176172733307, 0.9511281847953796, 0.31895431876182556, -0.3089822828769684, 0.38871240615844727, -0.7269713282585144, -0.24095448851585388, -0.0146603649482131, -0.19786086678504944, -0.07333119958639145, 0.021248305216431618, 0.04027503728866577, 0.06524597108364105, 0.5527187585830688, -0.38467535376548767, -0.38951200246810913, -0.27659547328948975, 0.5718342065811157, 0.663115382194519, 0.2916915714740753, 0.6910132169723511, -0.49224016070365906, 0.45237958431243896, 0.07947662472724915, 0.25575581192970276, -0.38431069254875183, -0.3723314702510834, -0.184150829911232, -0.29040706157684326, 0.4513563811779022, 0.7995014786720276, -0.03173639252781868, 0.8908746838569641, -0.28105857968330383, -0.5604950189590454, -0.3567376434803009, -0.08649710565805435, 0.38024675846099854, 0.5935313701629639, -0.05167311802506447, -0.12480447441339493, -0.24381539225578308, -1.0067425966262817, -0.3267194330692291, 0.024894535541534424, -0.1653524786233902, 0.47518283128738403, 0.6534027457237244, 0.046374354511499405, 0.9769272804260254, -0.6637465357780457, -0.22350730001926422, -0.430380254983902, 0.20112791657447815, 0.29432493448257446, 0.5073379874229431, 0.349178284406662, -1.2410304546356201, -0.7458157539367676, 0.03094211407005787, -0.6190947890281677, 0.02596651017665863, 0.07029112428426743, 0.3206298351287842, 0.2223786860704422, 0.1472906470298767, -0.32706350088119507, 0.7062177658081055, 0.21799255907535553, -0.1922256201505661, 0.6083453893661499, -0.6374143958091736, 0.27961254119873047, -1.0450407266616821, 0.09017616510391235, 0.057262420654296875, -0.5321662425994873, -0.6103945374488831, 0.1304038166999817, 0.14147095382213593, -0.3414785861968994, -0.4782087504863739, -0.015529388561844826, -0.2829100787639618, -0.1406879425048828, -0.492287278175354, 0.2842194139957428, -0.01527771633118391, 0.5361430644989014, -0.07565861940383911, 0.6827730536460876, 0.6084567308425903, -0.9380728602409363, 0.029924118891358376, 0.10364332795143127, -0.1671406626701355, 0.4915432333946228, -0.5393373370170593, 0.06645838916301727, -0.32681041955947876, -0.03153447061777115, -0.7380748987197876, -0.41433873772621155, 0.30111241340637207, -0.4990478456020355, 0.2171119600534439, 0.04942992702126503, -0.6123303771018982, -0.4454185366630554, -0.6175200343132019, -0.24481214582920074, 0.7716821432113647, -0.4098099172115326, 0.7162674069404602, 1.0687021017074585, -0.43649590015411377, -0.2834078073501587, -0.5098782181739807, 0.024408170953392982, -0.7493975758552551, -0.18600402772426605, 0.42256468534469604, 0.27503204345703125, -0.11443717032670975, 0.15081247687339783, 0.2014438807964325, -0.31027868390083313, 0.23484571278095245, 0.5164480209350586, 0.10105898231267929, 0.2836901843547821, -0.46680665016174316, 0.14850464463233948, -0.2670217752456665, 0.1292739361524582, 0.027864450588822365, 0.5252246260643005, -0.12243377417325974, 0.08362351357936859, -0.8608293533325195, 0.6887862086296082, 0.4093710482120514, -0.10577502101659775, 0.6588014364242554, 0.45323339104652405, -0.2590424716472626, 0.27510616183280945, -0.40009281039237976, -0.16084593534469604, -0.4112266004085541, 0.06574048846960068, -0.173367440700531, -1.027977705001831, 0.5503730177879333, -0.22768306732177734, 0.1561029702425003, 0.5524209141731262, 0.6244351863861084, -0.11899304389953613, 0.8555539846420288, 1.1296253204345703, -0.4891102612018585, 0.4098087549209595, -0.16726084053516388, 0.3630967438220978, -0.5124241709709167, -0.25178149342536926, -0.7527613043785095, 0.008386213332414627, -1.0246833562850952, 0.09275929629802704, 0.4655342102050781, 0.1556638479232788, 0.3089820146560669, 0.4308227002620697, -0.6543087363243103, 0.6455441117286682, 0.581947386264801, 0.3219181299209595, 0.08249394595623016, 0.1866942048072815, 0.08536068350076675, 0.08783864974975586, -0.44618189334869385, -0.729810893535614, 1.3585398197174072, 0.24603892862796783, 0.2527502179145813, -0.008493784815073013, 0.6418613791465759, 0.5025331974029541, 0.09955774992704391, -0.29163238406181335, 0.5836138725280762, -0.4840039610862732, -0.20444856584072113, -0.265194833278656, -0.5185434818267822, -0.9197560548782349, 0.3308067321777344, 0.019402513280510902, -1.0904330015182495, 0.19970734417438507, -0.04397387057542801, -0.20416153967380524, 0.06630335748195648, -0.5923930406570435, 0.7401645183563232, 0.06399160623550415, -0.11434425413608551, -0.6127079129219055, -0.7728511691093445, 0.3030821681022644, -0.11981763690710068, 0.1736954301595688, 0.09111697226762772, 0.12889215350151062, 0.9113183617591858, -0.39387255907058716, 0.7328177690505981, -0.26471012830734253, 0.09546283632516861, 0.3666817545890808, -0.46409016847610474, 0.47232532501220703, -0.42369312047958374, 0.14955584704875946, 0.08018667995929718, 0.17889250814914703, -0.2599787414073944, -0.3423958718776703, 0.5820757746696472, -0.4982600212097168, -0.22556713223457336, -0.2594206631183624, -0.5600831508636475, 0.10187312215566635, 0.41980883479118347, 0.3452220857143402, 0.1529141366481781, -0.34666526317596436, 0.40431007742881775, 0.5942508578300476, -0.20761117339134216, 0.572084903717041, 0.6940900683403015, -0.16496238112449646, -0.5063398480415344, 0.8233093619346619, 0.21160101890563965, -0.22776247560977936, 0.5511477589607239, 0.5143367648124695, -0.5636669397354126, -0.42090651392936707, 0.07204130291938782, 0.1461486965417862, -0.5588671565055847, 0.09841456264257431, -0.9781302809715271, -0.2275148630142212, -0.9826529622077942, -0.2010813057422638, 0.37923356890678406, -0.6099377274513245, -0.3385362923145294, -0.17834293842315674, 0.17596803605556488, 0.5066439509391785, -0.32516950368881226, 0.902009904384613, -0.6142588257789612, 0.5816708207130432, 0.03435193747282028, -0.061837635934352875, -0.24992501735687256, -0.3068405091762543, -0.0628366470336914, -0.17307402193546295, -0.4700623154640198, -0.961554229259491, 0.4150170087814331, 0.04812496528029442, 0.30619490146636963, 0.6544305682182312, -0.07199742645025253, 0.2985925078392029, -0.44046247005462646, 0.8340687155723572, 0.16449089348316193, -0.5115693211555481, 0.48875802755355835, -0.4514329731464386, 0.07286641746759415, 0.6806097030639648, 0.4669095575809479, -0.1207253560423851, -0.22882860898971558, -0.8299415707588196, -0.6446951627731323, 0.47708746790885925, 0.0946764349937439, -0.08963245898485184, 0.13999292254447937, 0.3351175785064697, 0.17530091106891632, 0.5016342997550964, -0.5362975001335144, -0.010371600277721882, 0.1761171966791153, -0.2920299470424652, -0.10640385746955872, -0.41836848855018616, -0.054365504533052444, -0.004439602605998516, 0.7839977145195007, 0.07965611666440964, 0.006004282273352146, -0.02602161467075348, -0.025109874084591866, 0.3281244933605194, 0.4908178150653839, 0.35991743206977844, 0.8681398034095764, -0.18413951992988586, -0.2640356719493866, -0.02840110845863819, -0.37133124470710754, -0.1850186288356781, 0.38574841618537903, -0.6984301805496216, 0.20559148490428925, -0.23180145025253296, 0.25530490279197693, 0.07471808791160583, -0.5333454608917236, 0.7702506184577942, -0.1522214114665985, -0.4111211597919464, -0.3435293436050415, 0.08075819164514542, -0.2609989643096924, -0.08207996189594269, 0.1237756609916687, -0.3318851590156555, 0.501032829284668, -0.3938972055912018, 0.3870200216770172, 0.3269246220588684, -0.30144885182380676, -0.09522157162427902, 0.5491352677345276, -0.23944410681724548, -0.43596845865249634, 0.1845775991678238, -0.34786146879196167, -0.6311725974082947, 0.5554786324501038, 0.31655359268188477, 0.8757856488227844, -0.2916816771030426, 0.46307075023651123, 0.05736876279115677, 0.16135327517986298, -0.08099456131458282, 0.36332350969314575, -0.4631785452365875, -0.10379154235124588, -0.10018115490674973, -0.2702135145664215, -0.5031086802482605, -0.022749489173293114, -0.9613786339759827, -0.014139576815068722, -0.4287159740924835, -0.02550446428358555, 0.024289313703775406, 0.20896656811237335, -0.42177271842956543, 0.024738257750868797, -0.30174344778060913, 0.604322612285614, -0.8260626196861267, 0.5069959759712219, 0.1103563904762268, -0.06437814235687256, -0.4620116651058197, -0.14484550058841705, 0.08985200524330139, -0.300324410200119, -0.10527625679969788, 0.3984925150871277, 0.24014420807361603, -0.29135575890541077, -0.388884574174881, -0.27327436208724976, 0.9621416330337524, -0.0748579204082489, -0.6146211624145508, -0.045710157603025436, 0.4447616934776306, 0.45850682258605957, -0.37574827671051025, -0.3701002299785614, 0.8314898014068604, 0.36084863543510437, -0.22912628948688507, -0.7632770538330078, -0.160243421792984, -0.035184651613235474, -0.19676658511161804, 0.11080873757600784, -0.3838322162628174, 0.7778859734535217, -0.005429185926914215, -0.18852736055850983, 0.1451062560081482, 0.7450546026229858, 0.15041348338127136, 0.5861887335777283, 0.36069536209106445, 0.6434645652770996, 1.0293036699295044, 0.02496642991900444, 1.2687687873840332, -0.5461795926094055, 0.22638294100761414, 1.3223114013671875, -0.3220743238925934, 0.6567885279655457, 0.17974887788295746, -0.23379889130592346, 0.24233202636241913, 0.5101959705352783, -0.2579614818096161, 0.8667590022087097, 0.11153139919042587, -0.26265254616737366, 0.539768636226654, -0.1543152928352356, -0.07401426136493683, 0.3637988567352295, 0.257455438375473, -0.6396342515945435, -0.40826812386512756, -0.010355872102081776, 0.2076374590396881, 0.3390076160430908, -0.651962399482727, 1.2573745250701904, -0.01418470498174429, -0.8039991855621338, -0.2652041018009186, 0.5132615566253662, 0.48113352060317993, -0.39721715450286865, 0.22097717225551605, 0.17183853685855865, 0.27414676547050476, -0.22421352565288544, -0.7125621438026428, 0.5207937955856323, 0.3790903687477112, -0.30667248368263245, -0.383766770362854, 0.7899615168571472, -0.35510727763175964, -0.6475868225097656, -0.2339196503162384, 0.1370454579591751, 0.5428400039672852, -0.1777651160955429, -0.8776909112930298, -0.5119556188583374, 0.02255725860595703, 0.275709331035614, 0.48196232318878174, 0.40924695134162903, 0.08249619603157043, 0.14520145952701569, 0.7048592567443848, 0.21492299437522888, 0.004098948556929827, 0.012148067355155945, 0.8430938720703125, -0.3573298454284668, -1.3916525840759277, -1.1036256551742554, 0.3937385678291321, -0.5052242875099182, -0.1317293792963028, 0.8474956750869751, 0.9355280995368958, 0.4798542261123657, 0.1382000744342804, 0.8052156567573547, 0.029170555993914604, 1.0086339712142944, -0.5832225680351257, 0.8276180028915405, 0.0741083100438118, -0.0749872624874115, -0.1851150542497635, -0.8741261959075928, -0.12278614938259125, 0.5535205006599426, -0.5016090869903564, -0.2955429255962372, 0.5730896592140198, 0.9120028018951416, 0.12455985695123672, 0.2243683636188507, 0.04956095665693283, 0.027775941416621208, 0.370779424905777, 0.13314326107501984, 0.34647491574287415, -0.363803893327713, 0.23148047924041748, -0.7057458162307739, -0.3565254211425781, 0.003942857496440411, -0.9572342038154602, -1.0596790313720703, -0.5839812755584717, -0.4826405942440033, -0.2959534823894501, -0.04702456668019295, 0.33500880002975464, 0.7029082775115967, -0.8425460457801819, -0.14446184039115906, -0.17120151221752167, 0.19095999002456665, -0.09674451500177383, -0.3057512938976288, 0.7699514627456665, -0.02082253061234951, -0.3557104170322418, 0.1726020872592926, 0.47194382548332214, 0.1968914270401001, -0.2239682525396347, 0.1482890248298645, 0.06834578514099121, -0.28939348459243774, 0.42503437399864197, 0.19431056082248688, -0.4056113362312317, 0.2571599781513214, -0.4485775828361511, 0.12009438872337341, 0.10691895335912704, 0.981330931186676, -0.5976941585540771, -0.08056497573852539, 0.34920361638069153, 0.5025612115859985, 0.6243146657943726, 0.4174152612686157, 0.23431396484375, -0.4934200644493103, 0.28886643052101135, -0.011625380255281925, 0.2551592290401459, 0.20135799050331116, -0.6253005266189575, 0.34264761209487915, -0.20197565853595734, -0.5560897588729858, -0.7276110053062439, 0.03242301940917969, -0.8504735827445984, -0.4562067687511444, 0.7867035865783691, -0.38863861560821533, -0.6942105889320374, -0.044726788997650146, -0.06031205132603645, 0.06619615107774734, -0.3680884838104248, 1.0791432857513428, 0.43487390875816345, 0.0884999930858612, -0.23948878049850464, -0.14012035727500916, 0.28241705894470215, -0.092136912047863, -0.9109805226325989, 0.182514950633049, 0.4658070206642151, 0.2551548182964325, 0.205347940325737, 0.6443290114402771, -0.6175490617752075, 0.3080744743347168, -0.19184863567352295, -0.5625693798065186, -0.06682095676660538, -0.5316649079322815, -0.657867431640625, 0.6292646527290344, -0.6472604274749756, -0.23236232995986938 ]
http://arxiv.org/abs/2404.06004v1
http://arxiv.org/pdf/2404.06004v1
AiSAQ: All-in-Storage ANNS with Product Quantization for DRAM-free Information Retrieval
2024-04-09T04:20:27
2024-04-09T04:20:27
Kento Tatsuno, Daisuke Miyashita, Taiga Ikeda, Kiyoshi Ishiyama, Kazunari Sumiyoshi, Jun Deguchi
cs.IR
cs.IR, cs.CL, cs.DS
In approximate nearest neighbor search (ANNS) methods based on approximate proximity graphs, DiskANN achieves good recall-speed balance for large-scale datasets using both of RAM and storage. Despite it claims to save memory usage by loading compressed vectors by product quantization (PQ), its memory usage increases in proportion to the scale of datasets. In this paper, we propose All-in-Storage ANNS with Product Quantization (AiSAQ), which offloads the compressed vectors to storage. Our method achieves $\sim$10 MB memory usage in query search even with billion-scale datasets with minor performance degradation. AiSAQ also reduces the index load time before query search, which enables the index switch between muitiple billion-scale datasets and significantly enhances the flexibility of retrieval-augmented generation (RAG). This method is applicable to all graph-based ANNS algorithms and can be combined with higher-spec ANNS methods in the future.
[ -0.4524071514606476, -0.5178688764572144, 0.18670083582401276, -0.07342862337827682, -0.3348028361797333, -0.06442436575889587, -0.026842547580599785, -0.18364784121513367, 0.6337205767631531, 0.3574027717113495, -0.04870956391096115, -0.3315897285938263, -0.15814712643623352, 0.12758105993270874, -0.3479040265083313, 0.2966610789299011, -0.14928892254829407, -0.23569224774837494, -0.4155135750770569, -0.5744681358337402, -0.3262116611003876, -0.633720874786377, -0.7172081470489502, 0.4588855504989624, 0.19570951163768768, 0.5362486839294434, 0.854109525680542, 1.014143705368042, 0.7671306729316711, 0.28845641016960144, -0.1169656440615654, 0.3942502439022064, -0.26834964752197266, 0.38932064175605774, 0.0730203315615654, -0.650029718875885, -0.22531890869140625, -0.37019410729408264, 1.0125962495803833, 0.1184043288230896, -0.3800370991230011, 0.4010920822620392, -0.45647186040878296, 1.011350154876709, -1.0849207639694214, -0.19134379923343658, -0.48724016547203064, 0.1331786811351776, -0.3903236389160156, -0.15324410796165466, -0.21804457902908325, -0.4177790880203247, -0.20709781348705292, -0.7304575443267822, 0.22673285007476807, 0.5220776200294495, 0.7640228271484375, 0.7321853041648865, -0.526106595993042, -0.0941300317645073, -0.6169605851173401, 0.8273596167564392, -0.42949575185775757, 0.40081217885017395, 0.8097417950630188, 0.5122467279434204, -0.14754869043827057, -0.7692798376083374, -0.6078230738639832, 0.05994769558310509, -0.007384574040770531, 0.048816800117492676, -0.3287649154663086, 0.10418221354484558, 0.3454633951187134, 0.6720243096351624, -0.7499960660934448, -0.18963931500911713, -0.3638682961463928, 0.030644629150629044, 0.6115368008613586, 0.2067658007144928, 0.1136380285024643, -0.2923163175582886, -0.4546493887901306, -0.22765488922595978, -0.732103705406189, -0.2556540369987488, -0.02530292607843876, 0.24905963242053986, 0.26161184906959534, 0.4460223913192749, -0.49496015906333923, 0.6929930448532104, -0.3293154239654541, 0.1204710453748703, 0.15277749300003052, -0.4299272894859314, -0.1197650134563446, 0.113279327750206, 0.7069795727729797, 0.30019739270210266, -0.2011459320783615, 0.05811849609017372, -0.31293341517448425, -0.20946165919303894, 0.31168559193611145, -1.1178138256072998, -0.493005633354187, -0.021803751587867737, -0.9490267634391785, 0.15031135082244873, 0.05232623219490051, -0.6990941166877747, 0.03431719169020653, 0.052669886499643326, 0.5287203192710876, -0.3334200978279114, -0.1532556116580963, -0.26472753286361694, 0.014494511298835278, -0.43619319796562195, -0.26588040590286255, -0.4663178026676178, 0.6523677110671997, 0.25165387988090515, 1.1946004629135132, -0.14957545697689056, 0.2472003996372223, -0.8352084159851074, 0.42385971546173096, -0.40545904636383057, 0.6872611045837402, -0.23350973427295685, -0.46416622400283813, -0.17219361662864685, -0.44990068674087524, 0.1895098239183426, -0.9846881628036499, 0.2410471886396408, -0.7984820008277893, -0.2354147583246231, -0.6228587627410889, -0.5110882520675659, -0.3568933606147766, 0.11727923154830933, -1.0636534690856934, 1.434436559677124, 0.018505271524190903, -0.6236622929573059, 0.09522531926631927, -0.5054773092269897, -0.35154062509536743, 0.16252842545509338, -0.2207278311252594, -0.6369413733482361, 0.27196091413497925, 0.381393700838089, 0.054671045392751694, -0.38340967893600464, -0.04937634617090225, -0.17871718108654022, -0.9051318764686584, 0.13303199410438538, -0.2674028277397156, 0.5102150440216064, 0.5248777270317078, -0.009459578432142735, -0.012580789625644684, -0.48317840695381165, 0.10983257740736008, 0.3250812888145447, 0.027544917538762093, -0.636459231376648, -0.10530488938093185, -0.594569742679596, 0.19909842312335968, 0.444466233253479, -0.5089281797409058, 0.3252527415752411, -0.1415206789970398, 0.33948078751564026, 0.5566859245300293, 0.24023093283176422, 0.4330029785633087, -0.2894169092178345, 0.39989015460014343, 0.08170482516288757, 0.6960647702217102, -0.06519582867622375, -0.32546722888946533, -0.8242173194885254, -0.5722193717956543, 0.3790471851825714, 0.1983974277973175, -0.8032904267311096, 0.21168331801891327, -0.24988707900047302, -0.1719130277633667, -0.4429888427257538, -0.048509977757930756, 0.260196715593338, 0.25211432576179504, 0.40257349610328674, -0.4666084945201874, -0.31594720482826233, -1.1475893259048462, 0.23462419211864471, -0.25904762744903564, -0.10589599609375, 0.6301708221435547, 0.26162320375442505, 0.1909523904323578, 0.9508621692657471, -0.7463526725769043, -0.5845316052436829, 0.3327184021472931, 0.07171819359064102, 0.22510363161563873, 0.07997263967990875, 0.6804389953613281, -1.1256285905838013, -0.4555933475494385, -0.6797808408737183, -0.5386183857917786, 0.09027178585529327, 0.19462978839874268, -0.38393813371658325, 0.23083262145519257, 0.4939374029636383, -0.7952214479446411, 0.914219319820404, 0.051655810326337814, -0.03310728445649147, 0.2190999835729599, -0.5138830542564392, 0.407477468252182, -0.936445951461792, 0.07065936923027039, -0.2636577785015106, -0.1682150661945343, -0.1536773443222046, 0.029348362237215042, 0.3431999385356903, 0.03188042342662811, -0.4952743649482727, 0.5099063515663147, -0.37141358852386475, -0.5954723358154297, -0.21715141832828522, 0.18005679547786713, 0.20716527104377747, 0.10022804141044617, -0.4166494607925415, 1.5753024816513062, 0.17622794210910797, -1.064239263534546, 0.35718339681625366, 0.8002143502235413, -0.11368083208799362, 0.4201090931892395, -0.39362308382987976, 0.029332997277379036, -0.3705488443374634, 0.429040789604187, -0.9178584814071655, 0.25588834285736084, -0.0247625894844532, -0.3079325556755066, 0.3124176263809204, 0.048923466354608536, -1.1205737590789795, -0.6719023585319519, -0.4679323732852936, 0.6225629448890686, 0.35457751154899597, -0.9716549515724182, 0.5380833745002747, 0.3364405930042267, 0.07658669352531433, -0.4859085977077484, -0.6450925469398499, 0.08902059495449066, -0.42395487427711487, -0.284025639295578, 0.4830727279186249, -0.2687522768974304, -0.27396681904792786, 0.35209834575653076, -0.32385653257369995, -0.18327653408050537, -0.11872086673974991, -0.01723976992070675, 0.32868731021881104, 0.07372488081455231, 0.5161957144737244, 0.047316305339336395, -0.3161478042602539, -0.3650071620941162, -0.35421881079673767, 0.39755144715309143, -0.06862188130617142, -0.1440829038619995, -0.31458309292793274, 0.5660598874092102, 0.13593211770057678, -0.30309081077575684, 0.7571330666542053, 0.2640943229198456, -0.33888161182403564, -0.11340776830911636, -0.467086523771286, -0.19952458143234253, -0.5073089003562927, 0.3519338071346283, -0.5393802523612976, -0.7101392149925232, 0.5706859827041626, -0.08232992887496948, -0.1700136810541153, 0.4024896025657654, 0.18285150825977325, -0.10091530531644821, 0.9192892909049988, 0.19519250094890594, -0.05011160299181938, 0.4323941171169281, -0.42276057600975037, 0.514020562171936, -0.9073997735977173, -0.013580413535237312, -0.5814061164855957, -0.6125480532646179, -0.383902370929718, -0.39158350229263306, 0.5518730282783508, 0.28399619460105896, -0.8491775393486023, 0.39789482951164246, -0.9977802634239197, 0.6034643054008484, 0.8372277617454529, 0.05528835579752922, 0.2599601447582245, 0.2753177583217621, 0.11736997216939926, -0.1816752552986145, -0.7773774266242981, 0.2653432786464691, 1.2239959239959717, -0.18109193444252014, 0.4760424792766571, 0.2878447473049164, 0.7589428424835205, 0.24846120178699493, -0.07174881547689438, -0.6036295890808105, 0.6567193269729614, -0.5846809148788452, -0.4436553418636322, -0.039133500307798386, -0.9602895975112915, -0.6030762195587158, 0.025956235826015472, 0.352734237909317, -0.6135463118553162, 0.31873416900634766, -0.09980081021785736, -0.5730398297309875, 0.5774096846580505, -0.39528223872184753, 0.16248303651809692, -0.3009291887283325, -0.10899768769741058, -0.5130699872970581, -0.5881281495094299, 0.12850961089134216, 0.10335130989551544, 0.028087452054023743, -0.0795552134513855, -0.27911192178726196, 1.0487916469573975, -0.6321321129798889, 0.07196001708507538, -0.2283075749874115, 0.32424256205558777, 0.5923340320587158, 0.41352972388267517, 0.5771129727363586, -0.02151527628302574, -0.11194057017564774, 0.3848223090171814, 0.04962210729718208, -0.3631856441497803, -0.800905704498291, 0.8631190657615662, -0.5714147686958313, -0.2873894274234772, -0.45413482189178467, -0.5226359367370605, 0.07206264138221741, 0.19777174293994904, 0.20526017248630524, 0.1569596379995346, 0.4359402358531952, 0.14094166457653046, 0.7780062556266785, -0.20702725648880005, 0.519983172416687, 0.3327774703502655, -0.09483257681131363, -0.8180809617042542, 1.1233378648757935, 0.35598239302635193, 0.04613601043820381, 0.3349967896938324, 0.014360224828124046, -0.5395264029502869, -0.2893381118774414, -0.3353799879550934, 0.20285139977931976, -0.6002512574195862, -1.0808559656143188, -0.5658307075500488, -0.16553495824337006, 0.051089074462652206, 0.005714579951018095, -0.7760780453681946, -0.8366445899009705, -0.2047392576932907, 0.10891714692115784, 0.9962248206138611, 0.4395884871482849, -0.4499574899673462, 0.5278080701828003, -0.8450413942337036, 0.6399983763694763, 0.094512440264225, 0.5132588148117065, 0.3664979636669159, -0.21454499661922455, -0.43573087453842163, 0.11662514507770538, -0.28431329131126404, -0.5387407541275024, 0.2476612776517868, 0.47550609707832336, 0.22844859957695007, 0.4070473313331604, 0.4459497332572937, 0.8997469544410706, 0.011721420101821423, 0.6363627314567566, -0.07876183092594147, -0.5330665111541748, 0.2286720722913742, -0.0022611673921346664, 0.014713378623127937, 0.9699383974075317, 0.40964454412460327, -0.1528155356645584, 0.31022077798843384, -0.3895176947116852, -1.2987291812896729, 0.5811398029327393, 0.35052940249443054, -0.1735682189464569, -0.21470309793949127, 0.7553724050521851, -0.24020566046237946, 0.4284193515777588, 0.066167451441288, -0.6441303491592407, 0.005807983689010143, -0.25592324137687683, 0.40106457471847534, -0.44802579283714294, 0.06907525658607483, -0.4076559245586395, 0.7431091070175171, 0.025736184790730476, 0.8590384721755981, 0.24370157718658447, 0.2207295447587967, -0.14600488543510437, -0.3238629400730133, -0.18951959908008575, 0.2179410606622696, -0.46449026465415955, -0.0006376535748131573, 0.0899398997426033, -0.5447916388511658, 0.12280461937189102, 0.09300178289413452, -0.5782343745231628, 0.007291646208614111, -0.5403009057044983, 0.6117657423019409, 0.09788389503955841, -0.4521736800670624, 0.5108040571212769, -0.4199781119823456, -0.09283919632434845, -0.47347965836524963, -0.14678050577640533, -0.3107869625091553, 0.31179678440093994, 0.5593940019607544, -0.25418591499328613, 0.4265202581882477, -0.15518826246261597, 0.685297429561615, 0.29263532161712646, -0.06949173659086227, 0.28192955255508423, 0.8235076665878296, -0.32710304856300354, 0.07447511702775955, 1.281477928161621, -0.6646090745925903, -0.31380513310432434, 0.5194234251976013, 0.5915212035179138, 0.8647469878196716, -0.24672900140285492, 0.09250187873840332, 0.7366608381271362, -0.041100651025772095, -0.2869846820831299, 0.35575276613235474, -0.4976193308830261, -0.26019394397735596, -0.40780067443847656, -0.715908944606781, -0.3495495617389679, -0.16120733320713043, -0.6930533051490784, 0.014617863111197948, -0.39014703035354614, -0.29312261939048767, -0.5808740258216858, 0.31920334696769714, -0.34042054414749146, 0.19221696257591248, -0.32191023230552673, 0.9390566349029541, -0.27975040674209595, 0.538947582244873, 0.28647586703300476, -0.45943400263786316, -0.4627140164375305, 0.021407410502433777, -0.08892577886581421, -0.47783541679382324, 0.5837516188621521, 0.11412721872329712, 0.4519886076450348, -0.007888584397733212, -0.336662620306015, -1.4889299869537354, 1.2082668542861938, -0.070342056453228, -0.44684600830078125, 0.007735437713563442, 0.0315229669213295, 0.06497681140899658, -0.06397183239459991, 0.4691714346408844, 0.4243181347846985, 0.42931997776031494, 0.40822288393974304, -0.476712167263031, 0.1851710081100464, -0.36453211307525635, 0.27281028032302856, 0.6305111646652222, -0.9662885069847107, 0.8618550896644592, 0.1352100968360901, -0.3614480793476105, 0.46431195735931396, 0.8881746530532837, 0.3788853585720062, 0.16774067282676697, 0.4878385066986084, 0.9602669477462769, 0.8075457811355591, 0.1382216513156891, 0.9787634015083313, -0.2284538596868515, 0.10433647781610489, 0.9681932330131531, -0.29202818870544434, 0.9969052076339722, 0.17110125720500946, -0.24562999606132507, 0.054305549710989, 0.4796147048473358, 0.07625014334917068, 0.8062270879745483, 0.25617972016334534, -0.5397794246673584, -0.00013648667663801461, -0.336966335773468, -0.24090956151485443, 0.2906445562839508, 0.4914901554584503, 0.029374606907367706, -0.3320014178752899, 0.0379735566675663, -0.3217383623123169, -0.15521903336048126, -0.15832003951072693, 0.6880072355270386, 0.18636350333690643, 0.004452172201126814, 0.877083420753479, -0.22277532517910004, 0.6427484154701233, -0.44468024373054504, -0.03909558430314064, -0.1702069193124771, 0.13545899093151093, -0.11436574161052704, -0.5171881914138794, 0.5216202139854431, -0.43640902638435364, -0.12732559442520142, 0.20638373494148254, 0.5496460199356079, -0.12972573935985565, -0.25772321224212646, 0.13334329426288605, 0.08165951073169708, 0.26046010851860046, -0.3326302766799927, -0.5105835795402527, 0.07370755076408386, -0.03403257578611374, -0.2927587330341339, 0.6232402920722961, 0.17362171411514282, -0.4849274158477783, 0.7441319823265076, 0.6714526414871216, 0.06591974943876266, -0.026596514508128166, -0.2634671926498413, 0.8392200469970703, -0.7301045060157776, -0.4973565340042114, -0.17146188020706177, -0.10042452067136765, -0.20955823361873627, -0.01777585968375206, 0.7190782427787781, 0.880966067314148, 0.454948753118515, 0.48167380690574646, 0.46048030257225037, -0.0022786378394812346, 0.42483383417129517, -0.21753796935081482, 0.6805821657180786, -0.8313282132148743, -0.1854085922241211, 0.2033223807811737, -1.2340681552886963, -0.42652609944343567, 0.8028651475906372, 0.12284096330404282, 0.07630724459886551, 0.6632545590400696, 0.6883252263069153, -0.02624146081507206, 0.11582427471876144, 0.14214737713336945, 0.2528407573699951, 0.33678576350212097, 0.3366602659225464, 0.33577486872673035, -0.8591731786727905, 0.5392656326293945, -0.4236302971839905, -0.28900501132011414, -0.28998395800590515, -0.5217727422714233, -0.38898012042045593, -0.7167911529541016, -0.29076454043388367, -0.1735604703426361, 0.0697660744190216, 0.6412155032157898, 0.6225069165229797, -0.3940788209438324, 0.1545185148715973, 0.013451976701617241, -0.295217901468277, -0.12212588638067245, -0.23008890450000763, 0.8965057134628296, -0.007940862327814102, -0.38256746530532837, 0.5758126974105835, 0.40710586309432983, 0.15792784094810486, 0.061856552958488464, 0.004684900864958763, -0.14910876750946045, 0.054998595267534256, 0.35022810101509094, 0.4495061933994293, -0.04088975116610527, 0.14410170912742615, 0.08982941508293152, 0.22151225805282593, 0.23059915006160736, 0.5145285129547119, -1.0469894409179688, 0.4410116970539093, 0.501366138458252, 0.41223230957984924, 0.9220982789993286, 0.20347416400909424, 0.13969558477401733, -0.8787869215011597, 0.6849963665008545, 0.2493090033531189, 0.14125019311904907, 0.2440166026353836, -0.5920566320419312, 0.6145744323730469, -0.20306791365146637, -0.7976459860801697, -0.7047102451324463, 0.15022149682044983, -0.6641221642494202, -0.07385380566120148, 0.7708589434623718, 0.1912289708852768, -0.4474540948867798, 0.1337641328573227, -0.013537032529711723, 0.31953585147857666, -0.6086173057556152, 0.9690628051757812, -0.0013990348670631647, -0.24986448884010315, 0.03631263226270676, -0.8506592512130737, 0.4695589244365692, 0.5013829469680786, -0.24275115132331848, 0.025215789675712585, 0.40046489238739014, -0.38696521520614624, 0.1485050469636917, 0.7673739790916443, -0.3147994875907898, 0.1241978257894516, 0.0172464307397604, 0.005960459355264902, -0.41866183280944824, -0.3884190618991852, 0.0434274822473526, -0.056998904794454575, -0.23952406644821167, -0.6574159860610962 ]
http://arxiv.org/abs/2404.06003v1
http://arxiv.org/pdf/2404.06003v1
FreeEval: A Modular Framework for Trustworthy and Efficient Evaluation of Large Language Models
2024-04-09T04:17:51
2024-04-09T04:17:51
Zhuohao Yu, Chang Gao, Wenjin Yao, Yidong Wang, Zhengran Zeng, Wei Ye, Jindong Wang, Yue Zhang, Shikun Zhang
cs.CL
cs.CL, cs.AI
The rapid development of large language model (LLM) evaluation methodologies and datasets has led to a profound challenge: integrating state-of-the-art evaluation techniques cost-effectively while ensuring reliability, reproducibility, and efficiency. Currently, there is a notable absence of a unified and adaptable framework that seamlessly integrates various evaluation approaches. Moreover, the reliability of evaluation findings is often questionable due to potential data contamination, with the evaluation efficiency commonly overlooked when facing the substantial costs associated with LLM inference. In response to these challenges, we introduce FreeEval, a modular and scalable framework crafted to enable trustworthy and efficient automatic evaluations of LLMs. Firstly, FreeEval's unified abstractions simplify the integration and improve the transparency of diverse evaluation methodologies, encompassing dynamic evaluation that demand sophisticated LLM interactions. Secondly, the framework integrates meta-evaluation techniques like human evaluation and data contamination detection, which, along with dynamic evaluation modules in the platform, enhance the fairness of the evaluation outcomes. Lastly, FreeEval is designed with a high-performance infrastructure, including distributed computation and caching strategies, enabling extensive evaluations across multi-node, multi-GPU clusters for open-source and proprietary LLMs.
[ 0.01307786162942648, -0.6601611971855164, 0.5634315609931946, 0.44710126519203186, -0.17559467256069183, 0.06035517901182175, -0.5197908878326416, -0.3006502687931061, -0.05438590794801712, 0.27422890067100525, -0.24731434881687164, -0.6689620018005371, -0.47021496295928955, -0.26812097430229187, -0.5083191990852356, 0.7750447988510132, 0.03338206559419632, 0.11489056795835495, -0.49248576164245605, -0.3791145384311676, -0.09235088527202606, -0.40119561553001404, -0.4460219740867615, -0.4527018070220947, 0.2784493863582611, 0.23614493012428284, 0.9389091730117798, 0.6763388514518738, 0.5390766859054565, 0.31610801815986633, -0.04883633926510811, 0.006543525028973818, -0.5042535662651062, 0.22870858013629913, -0.4276593327522278, -0.22483454644680023, -0.763143002986908, -0.18344615399837494, 0.7843974232673645, 0.4953846037387848, -0.4215147793292999, 0.4335109293460846, 0.1758025586605072, 0.7601198554039001, -0.8770832419395447, 0.35006481409072876, -0.7046963572502136, -0.13057450950145721, -0.2636873126029968, 0.004547609947621822, -0.5605366826057434, -0.5738579034805298, 0.1373511254787445, -0.4482845067977905, -0.16827377676963806, -0.0601639449596405, 0.35332486033439636, 0.20891694724559784, -0.26127877831459045, -0.16355471312999725, -0.5775846838951111, 0.9276818633079529, -0.6445307731628418, 0.5757911205291748, 0.29072538018226624, 0.6557321548461914, -0.18173843622207642, -0.6806262731552124, -0.4226006865501404, -0.45930781960487366, 0.1486855149269104, -0.1665831059217453, -0.3194286823272705, 0.08407947421073914, -0.29214170575141907, 0.5626131892204285, -0.6273223161697388, 0.2673676609992981, 0.04565532132983208, -0.2787993252277374, 0.6242977976799011, 0.22440846264362335, 0.46249333024024963, -0.23685169219970703, -0.27623146772384644, 0.15700270235538483, -0.9436820149421692, -0.14556322991847992, 0.27298885583877563, 0.5030599236488342, -0.14279696345329285, 0.43377113342285156, -0.1718033254146576, 0.365161269903183, -0.18617799878120422, 0.1417454332113266, 0.4588923752307892, -0.250729501247406, -0.4569501578807831, -0.2661425471305847, 0.989719808101654, 0.2651229202747345, 0.25768157839775085, -0.39160481095314026, -0.31965550780296326, -0.031761642545461655, 0.08182409405708313, -0.9550883769989014, -0.02315817028284073, 0.5218020081520081, -0.6484493017196655, -0.5463027954101562, -0.12350534647703171, -0.9672262668609619, -0.3793662190437317, -0.19501882791519165, 0.5221350789070129, -0.18990746140480042, -0.506320595741272, 0.08831534534692764, 0.36914584040641785, 0.07482446730136871, 0.3896942436695099, -0.9494562149047852, 0.308694452047348, 0.9521042108535767, 0.8239513039588928, -0.3646429181098938, -0.15388508141040802, -0.8483197093009949, 0.04988223314285278, -0.3868367373943329, 0.630888044834137, -0.7721168994903564, -0.43950000405311584, 0.021375980228185654, -0.008483217097818851, -0.1343912035226822, -0.5707024931907654, 0.6398937106132507, -0.7162929773330688, -0.08131030201911926, 0.09657574445009232, -0.5632394552230835, -0.048193592578172684, 0.10045132786035538, -0.8848979473114014, 0.9592238664627075, 0.20994651317596436, -0.8066409230232239, 0.15094813704490662, -0.7458534836769104, -0.14180950820446014, 0.45645833015441895, -0.1863035410642624, -0.1759367734193802, 0.2019789069890976, 0.26124584674835205, 0.22705423831939697, -0.6447958946228027, 0.5140406489372253, -0.4669344127178192, -0.4414670467376709, -0.06158875301480293, -0.6027718186378479, 0.9706568121910095, 0.24022212624549866, -0.5603126883506775, 0.6906803250312805, -0.7769601345062256, 0.3045057952404022, -0.24077831208705902, -0.43538200855255127, -0.3482517600059509, 0.24795353412628174, 0.08685329556465149, -0.019839519634842873, 0.272864431142807, -0.5737119913101196, -0.006559914443641901, -0.3256087899208069, 0.05949345603585243, 0.8331709504127502, -0.2554006576538086, 0.48036935925483704, -0.07170067727565765, 0.6059662103652954, -0.1770080327987671, 0.3702530562877655, -0.019246257841587067, -0.27335453033447266, -0.7278033494949341, -0.48325115442276, 0.3265073299407959, 0.7136347889900208, -0.6173473000526428, 0.49485835433006287, -0.5804625749588013, -0.7912960648536682, -0.83637535572052, 0.21487857401371002, 0.6142799258232117, 0.35436728596687317, 0.37466850876808167, -0.0896802768111229, -0.439795583486557, -1.0593315362930298, -0.3355061411857605, -0.2071986198425293, -0.2981744110584259, 0.18376223742961884, 0.48693618178367615, -0.5311828255653381, 0.8881560564041138, 0.07656033337116241, 0.035590965300798416, -0.22221384942531586, -0.01685059443116188, 0.16409477591514587, 0.5333213210105896, 0.3979710340499878, -0.2240816205739975, -0.27219411730766296, 0.17289035022258759, -0.7552610039710999, -0.17929764091968536, 0.2158210426568985, -0.058069001883268356, 0.1403064876794815, 0.22877274453639984, -0.4789228141307831, 0.1801947057247162, 0.7207669615745544, -0.21766191720962524, 0.7192025184631348, -0.20810481905937195, 0.24919788539409637, -0.8092820644378662, 0.1645309180021286, -0.35375121235847473, -0.26885801553726196, -0.4892856478691101, 0.4930739998817444, 0.2985556721687317, 0.07173826545476913, -0.602486252784729, 0.7967910766601562, -0.28485435247421265, -0.13894884288311005, 0.13992339372634888, 0.31711965799331665, -0.13881434500217438, 0.027923744171857834, -0.2612195611000061, 0.9092897772789001, 0.5871714949607849, -0.27879810333251953, 0.457461953163147, 0.02105577662587166, -0.9346804618835449, 0.32505226135253906, -0.7073414325714111, 0.2404482215642929, 0.0711401030421257, 0.1606171429157257, -0.7649403214454651, -0.10242339968681335, -0.0244698915630579, -0.11405583471059799, 0.12672138214111328, -0.1564016044139862, -0.6090100407600403, -0.08522753417491913, -0.46032774448394775, 0.4522855281829834, 0.2998204827308655, -0.8049142360687256, 0.49072983860969543, 0.2638939321041107, -0.13836164772510529, -0.8281198740005493, -0.7462535500526428, 0.10336721688508987, 0.012932230718433857, -0.8347587585449219, -0.13693246245384216, -0.23638002574443817, -0.6051297783851624, -0.002918059006333351, -0.0033164063934236765, -0.11670276522636414, 0.2477150559425354, 0.25599735975265503, 0.31342893838882446, -0.36664608120918274, 0.07397334277629852, 0.1784420758485794, -0.237384632229805, -0.20466750860214233, -0.30456632375717163, 0.3309847414493561, -0.6198644638061523, -0.8212836980819702, -0.5348876118659973, 0.276790589094162, 0.9456666707992554, -0.2948751449584961, 0.5486553311347961, 0.1996157318353653, -0.34774279594421387, -0.3658943772315979, -0.5688505172729492, 0.2691463828086853, -0.4975668787956238, 0.42517101764678955, -0.3214840888977051, -1.1175732612609863, 0.4874235689640045, 0.1023237556219101, 0.1688438504934311, 0.5031790137290955, 0.9310978651046753, 0.5786026120185852, 0.7743851542472839, 0.4664416015148163, -0.0633077323436737, 0.09170593321323395, 0.17661596834659576, 0.06569084525108337, -0.6890106797218323, -0.40065330266952515, -0.4428696930408478, -0.04901272431015968, -0.298044353723526, -0.9173856973648071, 0.09566077589988708, 0.08126740902662277, -0.1099729984998703, 0.06297477334737778, -0.24534718692302704, 0.7784768342971802, 0.014357030391693115, -0.32154372334480286, 0.6883341670036316, -0.0064795175567269325, -0.5362871289253235, -0.03877532109618187, -0.33985424041748047, -0.8293028473854065, 1.212973713874817, 0.4914032220840454, 0.7481677532196045, 0.24254655838012695, 0.48266807198524475, 0.42310765385627747, 0.8159770965576172, -0.7610722184181213, 0.5890668630599976, -0.22541870176792145, -0.7207112312316895, -0.15577895939350128, -0.41400203108787537, -0.7850552201271057, 0.6415809392929077, -0.013995829969644547, -0.9165952205657959, 0.10557925701141357, -0.024431079626083374, -0.2575381398200989, 0.5826406478881836, -0.5464798808097839, 0.7238478064537048, -0.39977532625198364, -0.5441485047340393, -0.5430609583854675, -0.37412673234939575, 0.5901174545288086, -0.17437078058719635, 0.4988977909088135, -0.2098252773284912, -0.11563526839017868, 0.5442126989364624, -0.44160032272338867, 0.49142923951148987, -0.22928577661514282, -0.20312799513339996, 0.27949610352516174, 0.4392963647842407, 0.20905445516109467, 0.15981628000736237, -0.6779698729515076, 0.32033395767211914, 0.1516270488500595, -0.2743281126022339, -0.5816525220870972, 1.013274908065796, -0.7169020771980286, -0.3430732190608978, -0.16657553613185883, -0.6423332691192627, -0.32880932092666626, 0.19013509154319763, -0.21091477572917938, 0.4646635353565216, -0.47778332233428955, 0.43899884819984436, 0.4699496626853943, -0.4623330235481262, 0.5081894993782043, 0.5749014616012573, -0.6633638739585876, -0.6337026357650757, 0.8850269317626953, -0.23281048238277435, 0.31381756067276, 0.412427693605423, 0.2522023320198059, -0.3165239095687866, -0.6576194763183594, -0.7049141526222229, -0.05664712190628052, -0.6751702427864075, -0.1580878496170044, -0.3424576222896576, -0.07113341242074966, -0.21096743643283844, 0.010703264735639095, -0.5160236954689026, -0.7029072642326355, -0.05837617442011833, -0.31066563725471497, 0.10940288752317429, 0.7918254733085632, -0.02299482375383377, 0.20473840832710266, -0.8902580738067627, 0.0016099673230201006, 0.22343051433563232, 0.7320970296859741, 0.41204118728637695, -0.1994921714067459, -0.16134051978588104, -0.1022777408361435, -0.07083640247583389, -0.5496869087219238, 0.2134964019060135, 0.26382094621658325, 0.7697010636329651, 0.538489043712616, -0.14273537695407867, 0.5425907373428345, -0.546051561832428, 0.8155266046524048, -0.0009364159195683897, -1.1939218044281006, 0.2274571657180786, -0.4752146005630493, 0.01809743233025074, 0.8209471106529236, 0.09191185981035233, -0.5072059631347656, -0.2560318112373352, -0.35002008080482483, -1.0212382078170776, 0.3178976774215698, 0.02690088003873825, 0.0014014261541888118, -0.15567082166671753, 0.31116241216659546, 0.2736865282058716, 0.2855361998081207, -0.6015296578407288, 0.06178058683872223, -0.07454981654882431, -0.22369691729545593, 0.11203498393297195, -0.41331276297569275, -0.08092053234577179, -0.21445411443710327, 0.6018986105918884, -0.05879220366477966, 0.03149375692009926, -0.08268634974956512, -0.5548534989356995, -0.05642540007829666, 0.6841506361961365, 0.4250648021697998, 0.9144265055656433, -0.2903020679950714, 0.07574228942394257, 0.24615757167339325, -0.21999023854732513, 0.10667901486158371, -0.0702546015381813, -0.1728169023990631, -0.07993786782026291, 0.5590987801551819, 0.59661865234375, 0.3851108253002167, -0.8752908110618591, 0.7903686165809631, -0.18466435372829437, -0.07995260506868362, -0.009007832035422325, -0.1071108877658844, 0.3723129332065582, 0.2164711207151413, 0.3586447536945343, -0.2615976333618164, 0.020188041031360626, -0.31433388590812683, 0.524705171585083, 0.5081626176834106, -0.4028227925300598, -0.35550734400749207, 0.6220164895057678, 0.40312859416007996, -0.21218740940093994, 0.6491668820381165, -0.04727361351251602, -0.3219861388206482, 0.2092089056968689, 0.4847496747970581, 1.2228590250015259, -0.5807684659957886, 0.12704437971115112, 0.10682354867458344, 0.46333321928977966, 0.09964188188314438, 0.32153719663619995, -0.06711424887180328, -0.34607377648353577, -0.6350297927856445, -1.1417700052261353, -0.5827538967132568, 0.06655500829219818, -0.5032247304916382, 0.0673341229557991, -0.5974225401878357, 0.2879527807235718, -0.5312113165855408, -0.0982084721326828, -0.3843318521976471, -0.041517674922943115, 0.053659725934267044, 1.4238150119781494, -0.7002790570259094, 0.8835899233818054, 0.33503457903862, -0.1766892820596695, -0.6219996213912964, -0.26487186551094055, 0.19404888153076172, -0.8331124186515808, 0.6835488080978394, 0.2100180983543396, -0.543648898601532, -0.4784366488456726, -0.16868941485881805, -0.7526770830154419, 1.1264322996139526, 0.6448895335197449, -0.8135114908218384, 0.06159243732690811, 0.19362083077430725, 0.6425754427909851, -0.5495522022247314, 0.6236827969551086, 0.5638625025749207, 0.6035821437835693, 0.02813643403351307, -1.159409523010254, 0.21584439277648926, -0.3664235472679138, -0.02689140848815441, 0.1187860518693924, -0.5954200625419617, 0.6350255608558655, -0.18996845185756683, -0.19118070602416992, 0.31640180945396423, 0.5208451151847839, 0.11686412990093231, 0.09185915440320969, 0.5402305126190186, 0.5732166767120361, 1.0439157485961914, 0.0006623920635320246, 1.1208544969558716, -0.44077032804489136, 0.49490785598754883, 1.20229971408844, -0.378652960062027, 1.2609801292419434, 0.22448410093784332, -0.08938423544168472, 0.6969885230064392, 0.42535656690597534, 0.06390968710184097, 0.35524359345436096, 0.46440526843070984, -0.6442990303039551, -0.2327268272638321, 0.11428224295377731, -0.21401967108249664, 0.25646188855171204, 0.36829087138175964, -0.20730990171432495, -0.616459310054779, -0.373171329498291, 0.0728883296251297, -0.1214381754398346, -0.3140711486339569, 0.44909393787384033, -0.02523943968117237, -0.40904149413108826, 0.4683769941329956, 0.03923807293176651, 0.6770368814468384, -0.7397433519363403, 0.33936411142349243, -0.19517692923545837, 0.4610629081726074, -0.5128883719444275, -0.45509079098701477, 0.601235032081604, 0.0796131044626236, -0.03034110739827156, -0.17301297187805176, 0.6806649565696716, -0.4152604043483734, -0.3856301009654999, 0.6814822554588318, 0.6839501857757568, 0.22058212757110596, -0.03812522068619728, -0.5926406383514404, 0.22392326593399048, -0.17329055070877075, -0.3514626622200012, 0.5217962265014648, 0.12000451236963272, -0.28147798776626587, 0.8773282170295715, 0.864844799041748, 0.23008857667446136, -0.08399952948093414, 0.33946582674980164, 0.7735811471939087, -0.34298810362815857, -0.22548727691173553, -1.163347840309143, 0.5762487053871155, 0.1172594353556633, 0.03017730452120304, 0.6887544393539429, 0.8433520197868347, 0.37041521072387695, 0.07003455609083176, 0.8091962337493896, 0.21525529026985168, 0.32673609256744385, -0.24006123840808868, 1.1808736324310303, -0.4348728060722351, 0.4448383152484894, -0.3795241415500641, -1.031308889389038, -0.5895823836326599, 0.5099586248397827, -0.19587138295173645, -0.1440483033657074, 0.7232968211174011, 0.8209588527679443, -0.18520617485046387, 0.10918556153774261, 0.3278641104698181, 0.18078948557376862, 0.6417422294616699, 0.48484987020492554, 0.7339518070220947, -0.03552109748125076, 0.5952610373497009, 0.13562370836734772, -0.6323076486587524, 0.035912275314331055, -1.320175290107727, -0.6919471025466919, -0.15678320825099945, -0.10020284354686737, -0.22947090864181519, 0.1888001561164856, 1.1272294521331787, 0.6413880586624146, -0.9988765120506287, -0.5805748701095581, 0.17437705397605896, 0.328138530254364, 0.032518114894628525, -0.22599534690380096, 0.5649808049201965, -0.3574395477771759, -0.7154480814933777, 0.8316918015480042, 0.6737861037254333, -0.34387263655662537, -0.4486125409603119, -0.10463318973779678, 0.025296499952673912, 0.15838119387626648, 0.8338109850883484, -0.05723180994391441, -0.7490258812904358, -0.41775402426719666, -0.22738058865070343, 0.02922160178422928, -0.08263377845287323, 0.8694747090339661, -0.7704782485961914, 0.5349472165107727, 0.5769798159599304, 1.0167779922485352, 0.10539036989212036, -0.1530323475599289, 0.6321451663970947, -0.4537903964519501, -0.009204576723277569, 0.09261567145586014, 0.41842976212501526, 0.5717155337333679, 0.0063538155518472195, 0.4177212715148926, 0.013077001087367535, -0.7114354968070984, -0.9571825861930847, 0.2718566656112671, -0.8328654766082764, -0.004421778954565525, 1.1893080472946167, -0.34073805809020996, -0.21769413352012634, -0.05863003060221672, 0.2218959927558899, -0.04347095265984535, -0.3299459218978882, 0.5152648091316223, 0.8212588429450989, -0.09200991690158844, 0.11540496349334717, -0.6230058073997498, 0.34871864318847656, 0.39334142208099365, -0.9658660888671875, 0.5678672194480896, 0.6675992012023926, 0.6771062612533569, 0.0450308732688427, 0.578364372253418, -0.620048999786377, 0.03263374790549278, -0.22788161039352417, -0.09943264722824097, -0.14327086508274078, -0.2942620813846588, -0.6606268286705017, 0.28979623317718506, 0.20738880336284637, 0.023341117426753044 ]
http://arxiv.org/abs/2404.06001v2
http://arxiv.org/pdf/2404.06001v2
Privacy Preserving Prompt Engineering: A Survey
2024-04-09T04:11:25
2024-04-11T00:17:18
Kennedy Edemacu, Xintao Wu
cs.CL
cs.CL
Pre-trained language models (PLMs) have demonstrated significant proficiency in solving a wide range of general natural language processing (NLP) tasks. Researchers have observed a direct correlation between the performance of these models and their sizes. As a result, the sizes of these models have notably expanded in recent years, persuading researchers to adopt the term large language models (LLMs) to characterize the larger-sized PLMs. The size expansion comes with a distinct capability called in-context learning (ICL), which represents a special form of prompting and allows the models to be utilized through the presentation of demonstration examples without modifications to the model parameters. Although interesting, privacy concerns have become a major obstacle in its widespread usage. Multiple studies have examined the privacy risks linked to ICL and prompting in general, and have devised techniques to alleviate these risks. Thus, there is a necessity to organize these mitigation techniques for the benefit of the community. This survey provides a systematic overview of the privacy protection methods employed during ICL and prompting in general. We review, analyze, and compare different methods under this paradigm. Furthermore, we provide a summary of the resources accessible for the development of these frameworks. Finally, we discuss the limitations of these frameworks and offer a detailed examination of the promising areas that necessitate further exploration.
[ -0.6512219309806824, -0.6134833097457886, 0.5424114465713501, 0.4444328546524048, 0.17289015650749207, 0.06770305335521698, -0.12936469912528992, -0.5015904903411865, -0.4384362995624542, 0.6649490594863892, -0.6520199179649353, -0.5141741633415222, -0.2570556402206421, 0.18557585775852203, -0.20148956775665283, 1.0562129020690918, 0.1248510330915451, 0.06838518381118774, -0.2530254125595093, 0.22248797118663788, -0.5077049732208252, -0.8012485504150391, -0.7622577548027039, 0.09288248419761658, 0.24178490042686462, 0.38920944929122925, 0.22493700683116913, 0.31847864389419556, 0.24431906640529633, 0.2622438371181488, -0.48465272784233093, 0.04977746307849884, -0.22155405580997467, 0.2822677791118622, -0.1763460785150528, -0.15234193205833435, -0.23353955149650574, 0.1300680786371231, 0.7958229780197144, 0.8703840970993042, 0.016378996893763542, 0.1753462851047516, 0.5953516960144043, 0.6113423705101013, -0.8796138167381287, -0.0769735649228096, -0.3741481602191925, 0.08373672515153885, 0.0650867223739624, -0.392284631729126, -0.7472670674324036, -0.589012861251831, 0.45990365743637085, -0.17520129680633545, 0.10452145338058472, 0.42562946677207947, 0.46137192845344543, 0.20485588908195496, -0.29275935888290405, -0.3653179407119751, -0.5396667122840881, 1.0153782367706299, -0.6022481322288513, 0.34722718596458435, 0.8059573769569397, 0.10379180312156677, -0.22877848148345947, -0.6807313561439514, -0.19948089122772217, -0.5596488118171692, -0.2652808427810669, -0.2595558166503906, -0.06758563965559006, 0.45229262113571167, 0.6592383980751038, 0.3035041391849518, -0.6743674278259277, 0.45177149772644043, -0.1193452998995781, -0.489600270986557, 0.5348941087722778, 0.16493143141269684, 0.28085091710090637, -0.15654627978801727, -0.666625440120697, -0.05219633877277374, -1.0315691232681274, 0.4457458555698395, 0.38069093227386475, 0.07493004947900772, -0.07405080646276474, 0.2510143220424652, -0.21168462932109833, 0.6303708553314209, 0.1251465082168579, -0.07720533758401871, -0.07418335229158401, -0.3356202244758606, -0.2695247232913971, 0.12962445616722107, 0.6639254093170166, 0.23465004563331604, 0.1362120509147644, -0.07380300760269165, -0.1320076733827591, -0.42462319135665894, -0.06594336032867432, -0.6036583185195923, 0.09511177241802216, 0.25478118658065796, -0.6757843494415283, 0.052963484078645706, 0.24682024121284485, -0.7003958821296692, -0.5941244959831238, -0.4300726056098938, 0.09997528791427612, -0.305032342672348, -0.14141346514225006, 0.11491171270608902, 0.15478326380252838, 0.3182118833065033, 0.005571290850639343, -0.869267463684082, 0.3826260566711426, 0.7980272173881531, 0.7410168647766113, -0.10687552392482758, -0.23896333575248718, -0.5128446221351624, 0.12101122736930847, -0.06354282796382904, 0.2897593677043915, -0.2816094160079956, -0.8634675145149231, 0.22655275464057922, 0.027895180508494377, 0.1220729872584343, -0.4862211048603058, 0.45115286111831665, -0.6666558384895325, 0.5314826965332031, -0.4103570580482483, -0.7843540906906128, -0.12286373972892761, 0.44649073481559753, -0.4097479283809662, 0.4690830111503601, -0.04943796247243881, -0.8837533593177795, 0.1649184376001358, -0.9066131711006165, -0.12288451939821243, 0.15068523585796356, -0.1397613286972046, -0.3679470121860504, 0.003256135620176792, 0.25692370533943176, 0.472076416015625, -0.10845641046762466, 0.2484683245420456, -0.07106413692235947, -0.20257553458213806, 0.43838149309158325, -0.5327340364456177, 1.166728138923645, 0.49079445004463196, -0.35132697224617004, 0.34350112080574036, -0.6322700381278992, 0.060812193900346756, -0.5168737173080444, -0.15548157691955566, -0.47447699308395386, -0.2478848397731781, -0.3229103684425354, 0.24057495594024658, 0.3625645339488983, -0.5903353691101074, -0.3048689663410187, -0.6713916659355164, 0.4503992795944214, 1.0021946430206299, 0.30945006012916565, 0.861808717250824, -0.23615522682666779, 0.8294209241867065, -0.036584723740816116, 0.609975278377533, -0.508651614189148, -0.5321311950683594, -0.3221762776374817, -0.23107323050498962, 0.17021609842777252, 0.5584312677383423, -0.5910311937332153, 0.5478094220161438, 0.20136599242687225, -0.05602294206619263, -0.26402321457862854, -0.05041264742612839, 0.5678597688674927, 0.6666322350502014, 0.08673936128616333, 0.02877194620668888, -0.42603716254234314, -0.9788806438446045, -0.3576567769050598, -0.09485635906457901, -0.13560569286346436, 0.283540815114975, -0.0971541628241539, 0.16896826028823853, 1.263874888420105, -0.22216077148914337, -0.1554158329963684, -0.1339235156774521, -0.0015893153613433242, -0.0068071517162024975, 0.8435909748077393, 0.6674856543540955, -0.8634511232376099, -0.6381238698959351, -0.3690939247608185, -0.6744498014450073, -0.19709859788417816, 0.05246340110898018, 0.03852768987417221, 0.17815399169921875, 0.7419817447662354, -0.433124840259552, 0.6700128316879272, 0.5813568830490112, -0.3500029444694519, 0.36354827880859375, -0.19222493469715118, -0.011832521297037601, -1.023924708366394, -0.07962553948163986, -0.038243286311626434, -0.2330629974603653, -0.7985835671424866, 0.12863746285438538, 0.2831733822822571, -0.47058647871017456, -0.7965778112411499, 0.7626157402992249, -0.7772210240364075, 0.06349926441907883, -0.501451849937439, -0.2615056335926056, -0.24313606321811676, 0.15811285376548767, -0.06449192017316818, 0.9534162282943726, 0.8058543801307678, -0.9890787601470947, -0.06045346334576607, 0.3262263536453247, -0.18659164011478424, 0.5132234692573547, -0.4776175618171692, 0.32216715812683105, -0.2713412642478943, 0.14350877702236176, -0.781889796257019, -0.25158166885375977, 0.4971431493759155, -0.38917598128318787, 0.29971617460250854, 0.11915717273950577, -0.5191389918327332, -0.23734590411186218, -0.5872268676757812, 0.27278393507003784, 0.6356287002563477, -0.7939373850822449, 0.45061880350112915, 0.42409735918045044, -0.43427449464797974, -0.7466053366661072, -0.536411464214325, 0.15056554973125458, -0.5138347744941711, -0.5395817160606384, 0.17506122589111328, -0.5419560670852661, -0.41437777876853943, -0.19218425452709198, 0.18886663019657135, -0.26052677631378174, 0.35369595885276794, 0.39638733863830566, 0.2142440527677536, 0.06570031493902206, 0.0016161550302058458, -0.06657961755990982, -0.23987977206707, 0.38311558961868286, -0.07994428277015686, 0.5196611881256104, -0.11302226036787033, -0.21094772219657898, -0.8353344202041626, 0.6383948922157288, 0.1217186450958252, -0.22377625107765198, 0.7803070545196533, 0.08444114029407501, -0.39589858055114746, -0.32983362674713135, -0.6192547678947449, -0.5046515464782715, -0.6076878905296326, -0.10369227081537247, 0.03741547092795372, -1.303343653678894, 0.3679018020629883, -0.16115498542785645, 0.181221604347229, -0.2157277762889862, 0.2718390226364136, 0.007861643098294735, 1.095517635345459, 0.9718505144119263, -0.26845499873161316, 0.7158429026603699, 0.14138023555278778, 0.45890477299690247, -0.7689629793167114, -0.17433646321296692, -0.6237285137176514, -0.04754924029111862, -0.515842616558075, 0.20952963829040527, 0.4932398498058319, -0.09471689909696579, -0.12489145994186401, 0.0804685428738594, -0.677934467792511, 0.7078107595443726, 0.6607050895690918, 0.04125836119055748, 0.19581875205039978, -0.03707362338900566, 0.32864654064178467, -0.060388948768377304, -0.4168182909488678, -0.7235434651374817, 0.9002255201339722, 0.49862000346183777, 0.7505662441253662, -0.016379041597247124, 0.7808540463447571, 0.10178744792938232, 0.3530704379081726, -0.41626834869384766, 0.9066118001937866, 0.1607792228460312, -0.7487035989761353, -0.399909108877182, -0.3785112798213959, -0.9396859407424927, 0.04024306684732437, 0.18524222075939178, -1.0715086460113525, 0.43878382444381714, 0.29110273718833923, -0.7148621082305908, 0.11729587614536285, -0.7631744742393494, 0.44370269775390625, -0.12709270417690277, -0.3194737732410431, 0.1512010395526886, -1.0084755420684814, 0.6370455026626587, -0.05595508590340614, 0.09919644892215729, 0.12854906916618347, 0.04930780827999115, 0.4386121928691864, -0.2775135040283203, 1.0379623174667358, -0.5160598754882812, -0.16656917333602905, 0.3065352439880371, -0.03147391229867935, 0.4757841229438782, 0.24996981024742126, -0.0911671370267868, -0.1122264415025711, 0.027299631386995316, -0.044041577726602554, -0.31865599751472473, 0.8437109589576721, -0.304999440908432, -0.8184959292411804, -0.29609283804893494, -0.7505357265472412, -0.44933757185935974, 0.05909759923815727, 0.44567856192588806, 0.19726866483688354, -0.008298038505017757, 0.5191362500190735, 1.158372402191162, -0.6067451238632202, 0.8717253804206848, 0.6219638586044312, -0.21463188529014587, -0.17927952110767365, 0.4781896471977234, 0.09109263122081757, 0.13086238503456116, 0.16787508130073547, 0.2810180187225342, -0.5486118197441101, -0.704838752746582, 0.041752416640520096, 0.020095432177186012, -0.7192724347114563, -0.20088845491409302, -0.6614171862602234, -0.47096696496009827, -0.595873236656189, -0.20901499688625336, 0.16430054605007172, -0.17985962331295013, -0.6253690123558044, -0.22313494980335236, 0.18464742600917816, 0.552890956401825, -0.08640357851982117, 0.47580307722091675, -0.7596413493156433, 0.08663517236709595, 0.1503472477197647, 0.29829496145248413, -0.005996405612677336, -0.2520323395729065, 0.11822773516178131, -0.3070078194141388, -0.10360869765281677, -0.6397020816802979, 0.4128117859363556, -0.0030159573070704937, 0.7015166878700256, 0.33620649576187134, 0.467247873544693, 0.2896721661090851, -0.36280494928359985, 1.0923101902008057, 0.049051083624362946, -0.9400304555892944, 0.6029238104820251, -0.12072475254535675, 0.14273321628570557, 0.6207035183906555, 0.5319159626960754, -0.2896144390106201, -0.3173401653766632, -0.7587379217147827, -0.8655766248703003, 0.5617987513542175, -0.08079086244106293, 0.3195003569126129, 0.03567001223564148, 0.3837710916996002, 0.16678069531917572, 0.35895970463752747, -0.7159832119941711, -0.04354333505034447, 0.16066929697990417, -0.2628040611743927, 0.19379207491874695, -0.5828607678413391, -0.16955192387104034, 0.002713348250836134, 0.5709388852119446, 0.07070744037628174, -0.23581799864768982, 0.1521347314119339, -0.07452564686536789, 0.36731576919555664, 0.5009334087371826, 0.6139134764671326, 0.7536692023277283, 0.16423681378364563, -0.025052262470126152, 0.18602867424488068, -0.37921738624572754, 0.23021750152111053, 0.06300916522741318, -0.6151506304740906, -0.14695093035697937, -0.1402854174375534, 0.5442131161689758, 0.23866991698741913, -0.5357683300971985, 0.6881124973297119, -0.14307451248168945, -0.12659259140491486, -0.46013832092285156, -0.0015500005101785064, -0.30547481775283813, -0.060636650770902634, 0.19129438698291779, -0.23837149143218994, 0.35294273495674133, -0.3316727876663208, 0.17474010586738586, 0.5714069604873657, -0.3596092462539673, -0.3077041208744049, 0.6851010322570801, 0.1277487426996231, -0.514524519443512, 0.5003167390823364, -0.187064066529274, -0.12434595823287964, 0.37337374687194824, 0.5171592235565186, 1.0660881996154785, -0.6068224310874939, 0.10194447636604309, 0.19021613895893097, 0.295335590839386, -0.17166708409786224, 0.39433056116104126, -0.33427363634109497, -0.4478685259819031, -0.16817598044872284, -0.339009165763855, -0.5454498529434204, 0.3675876259803772, -0.6680014729499817, -0.08343014121055603, -1.0872951745986938, -0.3352045714855194, -0.40811216831207275, -0.26810333132743835, -0.45786720514297485, -0.0318734236061573, 0.17286932468414307, 1.0685155391693115, -0.523157000541687, 0.6127257347106934, 0.464465856552124, -0.07696420699357986, -0.8607334494590759, 0.07703611999750137, 0.21751491725444794, -0.3458304703235626, 0.6493126749992371, 0.27975159883499146, -0.11022627353668213, 0.02219817414879799, -1.0506106615066528, -0.7178913354873657, 0.7598342895507812, 0.43648096919059753, -0.664520800113678, -0.09538944810628891, 0.14276625216007233, 0.3480662703514099, -0.2418166995048523, -0.34875360131263733, 0.48655837774276733, 0.40208399295806885, -0.46213099360466003, -0.9145854115486145, 0.022199159488081932, 0.11985263973474503, 0.2335151582956314, -0.1606035977602005, -0.4266410171985626, 0.8574188947677612, 0.24255681037902832, -0.47698304057121277, 0.38568830490112305, 0.6405035257339478, 0.6450880169868469, 0.5334652662277222, 0.5574027895927429, -0.0075181215070188046, 0.8502010107040405, -0.004229153506457806, 1.134071946144104, -0.5269730687141418, 0.07117132097482681, 1.1533732414245605, -0.586333155632019, 0.4253028929233551, 0.6398093700408936, 0.08928447216749191, 0.05959561467170715, 0.6978750824928284, 0.35355904698371887, 0.5855185985565186, 0.2389877587556839, -0.5955260396003723, 0.14321263134479523, -0.567528247833252, -0.47735849022865295, -0.010376272723078728, 0.4245098829269409, -0.5917040109634399, -0.11144640296697617, 0.5126858949661255, -0.055343132466077805, 0.24868346750736237, -0.5134243369102478, 0.8742730617523193, 0.35171401500701904, -0.6304236054420471, -0.022612251341342926, -0.2670571208000183, 0.8661870360374451, -0.8536846041679382, 0.16525551676750183, -0.11943310499191284, 0.024034591391682625, -0.09502127766609192, -0.6999367475509644, 0.1988210678100586, 0.05985089763998985, -0.25788214802742004, -0.679650604724884, 0.8042344450950623, -0.26493343710899353, 0.03732963651418686, 0.20622101426124573, 0.25802984833717346, 0.15536090731620789, 0.03492733836174011, -0.5746225714683533, -0.03329126536846161, -0.12713375687599182, -0.23984909057617188, 0.5338454842567444, 0.2482810765504837, -0.20883099734783173, 0.6697527170181274, 0.6529672741889954, 0.10585533827543259, 0.3594360649585724, 0.1816922426223755, 0.8547144532203674, -0.5250685811042786, -0.9343618750572205, -0.9022240042686462, 0.5310025811195374, -0.27368131279945374, -0.32740938663482666, 1.1567354202270508, 0.4315440356731415, 0.859890341758728, -0.048506151884794235, 0.8681000471115112, 0.2661152482032776, 0.8794087171554565, -0.8059307336807251, 0.6998472213745117, 0.026069676503539085, 0.42673400044441223, -0.13541698455810547, -0.8515161871910095, -0.41756096482276917, 0.35229647159576416, -0.4150126278400421, -0.13342294096946716, 0.481742262840271, 0.9071230888366699, 0.2810860872268677, 0.3152483105659485, 0.3388577699661255, -0.1147928312420845, 0.5146947503089905, 0.19126412272453308, 1.3210581541061401, 0.06741775572299957, 0.14256693422794342, -0.2905620038509369, -0.3081413507461548, 0.026234960183501244, -1.0539488792419434, -0.8996859192848206, -0.45139509439468384, -0.22989216446876526, -0.0975494533777237, -0.02050897851586342, 0.9312012195587158, 0.893574059009552, -0.8354313373565674, -0.14147710800170898, 0.006834914907813072, -0.015072290785610676, 0.05567055195569992, -0.21596303582191467, 0.18012607097625732, -0.41449376940727234, -0.6879245638847351, 0.734487771987915, 0.42454537749290466, 0.2527197003364563, -0.4633444845676422, 0.019375290721654892, 0.0399448461830616, -0.14582695066928864, 0.601997435092926, 0.716949999332428, -0.6478815078735352, -0.3190046548843384, 0.038070179522037506, 0.028323113918304443, -0.20616896450519562, 1.0238337516784668, -0.6615556478500366, 0.3395531177520752, 0.6374092698097229, 0.9305434226989746, -0.11088674515485764, 0.23240554332733154, 0.5615296363830566, -1.1185038089752197, 0.4219842851161957, 0.41079622507095337, 0.4324539601802826, 0.41876763105392456, -0.7636426687240601, 0.26255565881729126, -0.3837986886501312, -0.9289533495903015, -0.992171049118042, 0.5031094551086426, -0.6051855683326721, -0.30716678500175476, 0.9279317259788513, -0.23971861600875854, -0.19706566631793976, -0.42783910036087036, -0.325253963470459, -0.1907714307308197, -0.3405317962169647, 0.7261289358139038, 0.6564854979515076, -0.23195722699165344, -0.37054306268692017, -0.4825916290283203, 0.868742048740387, 0.33744576573371887, -0.7316070795059204, 0.21800123155117035, 0.5131688117980957, 0.29708778858184814, 0.07392153143882751, 0.7551502585411072, -0.24496300518512726, 0.10223434865474701, -0.6435918807983398, -0.26970556378364563, -0.024055207148194313, -0.504737913608551, -0.9397169351577759, 0.50376957654953, 0.18029676377773285, -0.24966581165790558 ]
http://arxiv.org/abs/2404.05993v1
http://arxiv.org/pdf/2404.05993v1
AEGIS: Online Adaptive AI Content Safety Moderation with Ensemble of LLM Experts
2024-04-09T03:54:28
2024-04-09T03:54:28
Shaona Ghosh, Prasoon Varshney, Erick Galinkin, Christopher Parisien
cs.LG
cs.LG, cs.CL, cs.CY
As Large Language Models (LLMs) and generative AI become more widespread, the content safety risks associated with their use also increase. We find a notable deficiency in high-quality content safety datasets and benchmarks that comprehensively cover a wide range of critical safety areas. To address this, we define a broad content safety risk taxonomy, comprising 13 critical risk and 9 sparse risk categories. Additionally, we curate AEGISSAFETYDATASET, a new dataset of approximately 26, 000 human-LLM interaction instances, complete with human annotations adhering to the taxonomy. We plan to release this dataset to the community to further research and to help benchmark LLM models for safety. To demonstrate the effectiveness of the dataset, we instruction-tune multiple LLM-based safety models. We show that our models (named AEGISSAFETYEXPERTS), not only surpass or perform competitively with the state-of-the-art LLM-based safety models and general purpose LLMs, but also exhibit robustness across multiple jail-break attack categories. We also show how using AEGISSAFETYDATASET during the LLM alignment phase does not negatively impact the performance of the aligned models on MT Bench scores. Furthermore, we propose AEGIS, a novel application of a no-regret online adaptation framework with strong theoretical guarantees, to perform content moderation with an ensemble of LLM content safety experts in deployment
[ -0.3653642535209656, -0.7536888122558594, 0.3084712326526642, -0.0792180672287941, -0.01078836526721716, 0.1689106971025467, -0.11451829969882965, -0.4718420207500458, 0.09241334348917007, 0.5618563294410706, -0.3371158540248871, -0.6346948146820068, -0.7257949709892273, 0.11724080890417099, -0.5089275240898132, 1.017914891242981, -0.33446088433265686, -0.1429041177034378, -0.21616604924201965, -0.23109102249145508, -0.4859429895877838, -0.11847367137670517, -1.0311284065246582, 0.1297655552625656, 0.34090229868888855, 0.31192174553871155, 0.6382662653923035, 0.9037156105041504, 0.6353453397750854, 0.36814385652542114, 0.23378586769104004, 0.40254098176956177, -0.5580897331237793, 0.24766619503498077, -0.10972657054662704, -0.2671785056591034, -0.7530685663223267, -0.28348711133003235, 0.27028271555900574, 0.30052027106285095, -0.46035581827163696, -0.21524101495742798, 0.3200404644012451, 0.5027951002120972, -0.6702706813812256, 0.1825426071882248, -0.5661790370941162, -0.05026380345225334, 0.039859749376773834, -0.156845360994339, -0.26814791560173035, -0.518639862537384, 0.05895136669278145, -1.062038540840149, -0.13835962116718292, 0.42868953943252563, 0.3411290645599365, 0.6595480442047119, -0.4841008186340332, -0.29292115569114685, -0.7693613767623901, 0.510159432888031, -0.4091610908508301, 0.3341616988182068, 0.5341213941574097, 0.09079600125551224, -0.12690266966819763, -0.7278829216957092, -0.4560486376285553, -0.00043381316936574876, 0.5885242223739624, 0.22626915574073792, -0.0503089465200901, 0.3130333721637726, -0.12806838750839233, 0.05805155634880066, -0.5110101103782654, 0.3204973340034485, -0.19948109984397888, -0.2971592843532562, 0.9082261323928833, 0.47107329964637756, 0.35980480909347534, 0.30313003063201904, -0.4838156998157501, -0.2002248466014862, -0.9645400047302246, 0.0002745472884271294, 0.5310796499252319, 0.03940029442310333, -0.3730459213256836, 0.37944433093070984, -0.20747098326683044, 0.45441734790802, -0.0834135115146637, -0.24864909052848816, 0.13106314837932587, -0.29578083753585815, -0.019536180421710014, 0.3011035621166229, 0.8538233041763306, 0.7214062809944153, 0.17695005238056183, -0.2093944251537323, -0.10446453094482422, 0.10547751188278198, 0.4964773952960968, -0.6742254495620728, -0.3939836621284485, 0.15106382966041565, -0.19571657478809357, -0.4705895483493805, 0.1473320722579956, -0.8767033815383911, -0.8744252920150757, -0.02813800610601902, 0.44101884961128235, -0.28074902296066284, -0.2991631329059601, 0.38035839796066284, 0.20849022269248962, 0.1576828956604004, 0.42456746101379395, -0.8443132042884827, 0.4178292453289032, 0.6183974742889404, 0.7133710980415344, -0.5963436961174011, -0.2874961793422699, -0.47393953800201416, 0.37049880623817444, -0.26491907238960266, 0.7557599544525146, -0.3714897334575653, -0.4548066556453705, 0.18973411619663239, 0.008253971114754677, -0.22797977924346924, -0.2907777726650238, 1.008320927619934, -0.5945289731025696, -0.3050415515899658, -0.17540040612220764, -0.7350112199783325, -0.3562193512916565, 0.34667345881462097, -0.7129702568054199, 0.6265786290168762, -0.02407759428024292, -0.6639682650566101, 0.3246002793312073, -0.45738375186920166, -0.4943532347679138, 0.037165567278862, -0.2219943106174469, -0.6246728301048279, -0.2555471956729889, 0.4190223813056946, 0.22662338614463806, -0.07268179953098297, 0.10149603337049484, -0.4727380573749542, -0.20119597017765045, 0.16975748538970947, -0.6037845015525818, 0.41687750816345215, 0.18325212597846985, -0.20762899518013, 0.3814302682876587, -0.3935391902923584, -0.14919398725032806, 0.08110330253839493, -0.5789550542831421, -0.09034176915884018, 0.3971443176269531, 0.15955248475074768, -0.01070044469088316, 0.07766716927289963, -0.5283836722373962, -0.025429876521229744, -0.20550143718719482, 0.6446956396102905, 0.8640482425689697, 0.2389005869626999, 0.5475447177886963, -0.6624178886413574, 0.6628242135047913, -0.17072942852973938, 0.35270053148269653, -0.04517073184251785, -0.5882524847984314, -0.5907630920410156, -0.22024469077587128, 0.22833244502544403, 0.8241842985153198, -0.7977510094642639, 0.6272106170654297, -0.3581279218196869, -0.38551947474479675, -0.4684281051158905, 0.2735517919063568, 0.2389536201953888, 0.4932468831539154, 0.3399546146392822, -0.4300743639469147, -0.1778436154127121, -0.41888129711151123, -0.1882588118314743, -0.3402601480484009, -0.1563749611377716, 0.2812903821468353, 0.18787270784378052, -0.3875266909599304, 0.7567653656005859, -0.31005439162254333, -0.3248683214187622, -0.2631898522377014, -0.08702683448791504, -0.32104289531707764, 0.3475845456123352, 0.582564651966095, -0.6913033723831177, -0.24892307817935944, -0.2897953689098358, -0.7815215587615967, 0.1352924108505249, -0.08083385974168777, -0.056263767182826996, 0.11910427361726761, 0.5073091983795166, -0.6268784999847412, 0.26592183113098145, 0.44648510217666626, -0.27106213569641113, 0.06240750104188919, -0.23901936411857605, 0.32324090600013733, -1.2357919216156006, -0.33141860365867615, 0.2791489362716675, -0.310238778591156, -0.6710024476051331, 0.34729400277137756, 0.08749084919691086, -0.039270415902137756, -0.7490783333778381, 0.31887170672416687, -0.04080985486507416, 0.09170428663492203, -0.23522862792015076, 0.14495591819286346, 0.10279947519302368, 0.1684010773897171, -0.13049323856830597, 0.6691745519638062, 0.7246624231338501, -0.6909024119377136, 0.502128005027771, 0.4702072739601135, -0.46166136860847473, 0.35692840814590454, -0.6609071493148804, 0.16904570162296295, -0.2264794260263443, 0.30167853832244873, -0.7455117106437683, -0.5589004158973694, 0.4235099256038666, -0.20254142582416534, 0.4722309410572052, -0.22823594510555267, -0.08316747099161148, 0.040647242218256, -0.583073616027832, 0.4847237169742584, 0.23817607760429382, -0.2611367404460907, 0.6724579930305481, 0.8248551487922668, -0.5756190419197083, -0.5543341040611267, -0.5274653434753418, 0.11017448455095291, -0.6116355657577515, -0.6699423789978027, 0.47679051756858826, -0.3980191946029663, -0.3051798343658447, 0.008324073627591133, -0.08784772455692291, 0.07199040800333023, 0.582987904548645, 0.6166220307350159, 0.3740561902523041, -0.04337814450263977, -0.11228590458631516, 0.08914045989513397, -0.20861221849918365, 0.16311362385749817, -0.12356754392385483, 0.2381063997745514, -0.11938679218292236, -0.6021546125411987, -0.4422686696052551, 0.21836534142494202, 0.3743465542793274, -0.24349509179592133, 0.7255203723907471, 0.5898335576057434, -0.5977619290351868, 0.07213421165943146, -0.2927651107311249, -0.1368229240179062, -0.5533575415611267, 0.40522775053977966, 0.22543805837631226, -1.1489027738571167, 0.5160282850265503, 0.019548246636986732, 0.37711861729621887, 0.5173190832138062, 0.4715057909488678, -0.23301942646503448, 1.0192503929138184, 0.44582661986351013, -0.4919096529483795, 0.40756988525390625, -0.09038493037223816, 0.12637098133563995, -0.4485708773136139, -0.2609159052371979, -0.4329111576080322, -0.10392453521490097, -0.63680499792099, -0.19121181964874268, 0.7459096908569336, 0.0295601487159729, -0.39168548583984375, 0.04584305360913277, -0.3305712938308716, 0.500691831111908, 0.15701818466186523, 0.21942968666553497, 0.3238537907600403, 0.07828409969806671, 0.30285927653312683, 0.10332617908716202, -0.534539520740509, -0.26445239782333374, 1.4526965618133545, 0.4917207956314087, 1.2727832794189453, 0.42032209038734436, 0.5621129274368286, 0.7332335710525513, 0.36087432503700256, -0.7141870260238647, 0.2433822751045227, 0.11940187215805054, -0.5726157426834106, -0.332906037569046, -0.47212591767311096, -0.8265541195869446, -0.2955607771873474, -0.554141640663147, -0.46983733773231506, -0.055128730833530426, 0.07963936030864716, -0.8785481452941895, 0.32514214515686035, -0.4428256154060364, 0.6075880527496338, -0.42516982555389404, -0.5171559453010559, -0.3146977722644806, -0.4987596571445465, 0.3906649947166443, -0.2958280146121979, 0.5327941179275513, -0.2780725657939911, -0.2713319659233093, 0.7830294370651245, -0.20411525666713715, 0.7931225895881653, 0.034091051667928696, 0.13200904428958893, 0.5033735036849976, 0.2846396863460541, 0.6183445453643799, 0.39637991786003113, -0.08369628340005875, 0.23794369399547577, -0.256991446018219, -0.11327575892210007, -0.12318403273820877, 1.1060985326766968, -1.133518099784851, -0.6783836483955383, -0.42312008142471313, -0.4289790391921997, -0.03713018074631691, 0.19714343547821045, 0.2577129900455475, 0.3725373148918152, -0.02634158357977867, 0.24239344894886017, 0.97972172498703, -0.24190381169319153, 0.6008399128913879, 0.24121834337711334, 0.20423375070095062, -0.6332749724388123, 1.012715220451355, 0.015028461813926697, 0.03297536447644234, 0.21050822734832764, -0.13916772603988647, -0.5601993203163147, -1.0235365629196167, -0.7111154794692993, -0.4677463471889496, -0.802724301815033, -0.4874391257762909, -0.6238529086112976, -0.4139311611652374, -0.41016778349876404, -0.2399768829345703, -0.30035459995269775, -0.3790487051010132, -0.3551875948905945, -0.335191935300827, 0.6702574491500854, 0.9624367952346802, 0.21504023671150208, 0.20376929640769958, -0.979086697101593, 0.22514104843139648, 0.3017900586128235, 0.4405902028083801, -0.37354737520217896, -0.5405868887901306, -0.13224294781684875, -0.19141468405723572, -0.5937533974647522, -0.8428659439086914, 0.35310304164886475, 0.4540497362613678, 0.8130764365196228, 0.6815515756607056, 0.4441559314727783, 0.13277976214885712, -0.4059145450592041, 0.6388536095619202, -0.0228749867528677, -0.6113656163215637, 0.2320990264415741, -0.5911434292793274, -0.37538865208625793, 0.7917364835739136, 0.5230450630187988, -0.3860093951225281, -0.01649055816233158, -0.21010172367095947, -1.0526639223098755, 0.3174460828304291, 0.22170020639896393, 0.21612323820590973, -0.03525753319263458, 0.525016725063324, 0.030482232570648193, 0.04499606788158417, -0.6250813007354736, -0.23459216952323914, -0.34350132942199707, -0.514072597026825, -0.008984502404928207, -0.016373416408896446, -0.34694167971611023, 0.05936301499605179, 0.7664080262184143, -0.4084230661392212, 0.17832566797733307, -0.01996823400259018, -0.193032905459404, -0.3559422194957733, 0.2617339789867401, 0.5183951258659363, 0.481028288602829, 0.00032618679688312113, -0.005056022200733423, 0.5062406063079834, -0.46656423807144165, 0.2404583841562271, 0.25094395875930786, -0.3348875343799591, -0.7311845421791077, 0.3448255658149719, 0.6146872639656067, 0.2592875361442566, -0.7773336172103882, 0.4691319465637207, -0.41250383853912354, -0.06863805651664734, -0.614206075668335, 0.4911281168460846, 0.006579800508916378, 0.17979560792446136, 0.25738319754600525, 0.29404011368751526, 0.11201175302267075, -0.20456531643867493, 0.3444420397281647, 0.22403784096240997, -0.3342317044734955, -0.06392225623130798, 1.166579008102417, 0.4973143935203552, -0.22882845997810364, 0.6092015504837036, -0.1419796645641327, -0.1696150153875351, 0.72115558385849, 0.07023736834526062, 0.9446513652801514, -0.4207521677017212, 0.029903650283813477, 0.2053573727607727, 0.4430287480354309, -0.2748012840747833, 0.2648102641105652, 0.35944125056266785, -1.0608307123184204, -0.18526402115821838, -0.6690671443939209, -0.601136326789856, 0.018813377246260643, -0.5684654712677002, 0.20771653950214386, -0.7439388036727905, -0.19324783980846405, -0.29617127776145935, -0.18729977309703827, -0.5516294836997986, 0.0405166819691658, 0.2515832483768463, 0.8549264073371887, -0.8767126798629761, 0.6320593953132629, 0.5416703820228577, -0.160527765750885, -0.6903306841850281, 0.07281471788883209, 0.34542006254196167, -0.6145069003105164, -0.36955201625823975, 0.19221480190753937, 0.05836249142885208, 0.18792276084423065, -0.18571601808071136, -0.9142281413078308, 1.3896194696426392, 0.4726874530315399, -0.6004437804222107, 0.02189210057258606, 0.2814866900444031, 0.2734033465385437, -0.48513099551200867, 0.0946166142821312, 0.4291812479496002, 0.3620901107788086, -0.20215816795825958, -0.5193126797676086, -0.032637819647789, -0.028209982439875603, -0.3331136405467987, -0.02818857878446579, -0.5837334394454956, 0.6073591709136963, -0.21752820909023285, -0.09475862234830856, 0.03704573214054108, 0.5888848900794983, 0.27521881461143494, 0.4330332279205322, 0.5228233933448792, 0.8191405534744263, 0.5585991740226746, -0.16668933629989624, 1.160517692565918, -0.5758109092712402, 0.10354820638895035, 0.8277109861373901, -0.42294204235076904, 0.7917954921722412, 0.027277464047074318, -0.009822101332247257, 0.2947031259536743, 0.9618383646011353, 0.13471001386642456, 0.5204744935035706, -0.22660760581493378, -0.6047306060791016, -0.47490888833999634, -0.3134496808052063, -0.33247053623199463, 0.31885483860969543, 0.5832249522209167, -0.33707141876220703, -0.005370330065488815, -0.0948193147778511, -0.03535081818699837, 0.00891910307109356, -0.6397615075111389, 0.8506371974945068, 0.04844191297888756, -0.44398483633995056, 0.14941269159317017, 0.396047979593277, 0.5493892431259155, -0.4227553606033325, 0.163632333278656, -0.18385928869247437, 0.16878728568553925, -0.3266315758228302, -0.9958484768867493, 0.1756790280342102, -0.08154278248548508, 0.2644469439983368, -0.04637227579951286, 0.9319096803665161, -0.2733725309371948, -0.43193507194519043, 0.29233434796333313, 0.42143023014068604, -0.19156968593597412, 0.08500725775957108, -0.6144839525222778, 0.18778873980045319, -0.3210594356060028, -0.25924861431121826, 0.571327269077301, -0.18999135494232178, -0.16624261438846588, 0.7580585479736328, 0.500289797782898, -0.18850469589233398, 0.274382084608078, -0.10482871532440186, 0.9798849821090698, -0.16907326877117157, -0.5842090249061584, -0.6383830904960632, 0.34369200468063354, 0.09391464293003082, -0.29137909412384033, 0.5355962514877319, 0.37529829144477844, 1.0565004348754883, 0.2523856461048126, 1.049932599067688, 0.09092649817466736, -0.02767149917781353, -0.595346987247467, 1.006988286972046, -0.26703035831451416, 0.40684354305267334, -0.02553471177816391, -0.8271945118904114, -0.20401977002620697, 0.37944796681404114, -0.13992854952812195, 0.046990975737571716, 0.20602299273014069, 0.8663432598114014, -0.06726370006799698, 0.15810617804527283, 0.22120065987110138, 0.038452379405498505, 0.36264678835868835, 0.5471354722976685, 0.695981502532959, -0.395668625831604, 0.6352145075798035, -0.06934051960706711, -0.07970448583364487, -0.0897509902715683, -0.8543686866760254, -0.8130438327789307, -0.27863723039627075, -0.4530705213546753, -0.33946090936660767, 0.18494656682014465, 1.2514071464538574, 0.6750144362449646, -0.9847754836082458, 0.22003722190856934, -0.18529760837554932, -0.024176226928830147, -0.12687130272388458, -0.13760603964328766, 0.26878252625465393, 0.22717536985874176, -0.40105611085891724, 0.7515546083450317, 0.2635432779788971, 0.02175605483353138, -0.2689920663833618, -0.6419629454612732, 0.3479190468788147, 0.11976657062768936, 0.19173561036586761, 0.3136852979660034, -0.418751060962677, -0.6669045090675354, -0.15540005266666412, -0.07393501698970795, 0.033719416707754135, 0.5822340846061707, -0.19715014100074768, 0.31202781200408936, 0.46553531289100647, 1.2240440845489502, 0.31899356842041016, -0.015781985595822334, 0.28433361649513245, -0.6211405992507935, -0.028296012431383133, 0.11115984618663788, 0.7086414694786072, 0.43383392691612244, -0.4788295030593872, 0.3238368630409241, 0.2063026875257492, -0.7234603762626648, -0.454457551240921, 0.3270304501056671, -0.9203652739524841, 0.11101674288511276, 1.0924298763275146, -0.555738627910614, 0.01788375712931156, -0.43226516246795654, 0.07052279263734818, 0.4336572587490082, -0.545749306678772, 1.1205668449401855, 0.40560922026634216, -0.11690527200698853, -0.39802464842796326, -0.7657291293144226, 0.6185566186904907, 0.08062267303466797, -1.0930368900299072, -0.1293952614068985, 0.3935127258300781, 0.6323751211166382, -0.07830162346363068, 0.31892868876457214, -0.004928704351186752, 0.30686646699905396, -0.14727699756622314, 0.008323990739881992, -0.3066090941429138, -0.5735809803009033, -0.392334908246994, 0.309613436460495, 0.26965582370758057, 0.06923308223485947 ]
http://arxiv.org/abs/2404.05989v1
http://arxiv.org/pdf/2404.05989v1
Event-enhanced Retrieval in Real-time Search
2024-04-09T03:47:48
2024-04-09T03:47:48
Yanan Zhang, Xiaoling Bai, Tianhua Zhou
cs.CL
cs.CL, cs.IR
The embedding-based retrieval (EBR) approach is widely used in mainstream search engine retrieval systems and is crucial in recent retrieval-augmented methods for eliminating LLM illusions. However, existing EBR models often face the "semantic drift" problem and insufficient focus on key information, leading to a low adoption rate of retrieval results in subsequent steps. This issue is especially noticeable in real-time search scenarios, where the various expressions of popular events on the Internet make real-time retrieval heavily reliant on crucial event information. To tackle this problem, this paper proposes a novel approach called EER, which enhances real-time retrieval performance by improving the dual-encoder model of traditional EBR. We incorporate contrastive learning to accompany pairwise learning for encoder optimization. Furthermore, to strengthen the focus on critical event information in events, we include a decoder module after the document encoder, introduce a generative event triplet extraction scheme based on prompt-tuning, and correlate the events with query encoder optimization through comparative learning. This decoder module can be removed during inference. Extensive experiments demonstrate that EER can significantly improve the real-time search retrieval performance. We believe that this approach will provide new perspectives in the field of information retrieval. The codes and dataset are available at https://github.com/open-event-hub/Event-enhanced_Retrieval .
[ -0.38797134160995483, -0.9421637058258057, 0.39309966564178467, -0.02751360833644867, -0.3641166687011719, 0.4275898039340973, -0.024990659207105637, -0.8190738558769226, 0.515873372554779, -0.1334652155637741, -0.2968200445175171, -0.2689474821090698, -0.24955254793167114, -0.041780777275562286, -0.22084642946720123, 0.43594062328338623, -0.16923488676548004, -0.07692409306764603, 0.004772408399730921, -0.06499087065458298, -0.04987352713942528, -0.653458297252655, -0.7868404388427734, -0.1137721836566925, 0.4962260127067566, 0.13200794160366058, 0.4182523488998413, 0.5904681086540222, 0.729320228099823, 0.04437300190329552, -0.20655140280723572, 0.3197290301322937, -0.6225939989089966, 0.3749515414237976, 0.023122351616621017, -0.5430197715759277, -0.1448153555393219, -0.23574423789978027, 0.4664013087749481, 0.12985648214817047, -0.4811634421348572, -0.16689929366111755, 0.10406814515590668, 0.3879043757915497, -1.0553057193756104, 0.045358188450336456, -0.5272594690322876, 0.3706173896789551, -0.17933940887451172, -0.589884877204895, -0.44437167048454285, -0.4389248490333557, 0.10078585147857666, -0.8272431492805481, 0.6296628713607788, 0.20516638457775116, 1.1482460498809814, 0.020083654671907425, -0.31532326340675354, -0.10698998719453812, -0.6468239426612854, 0.543879508972168, -0.3493057191371918, 0.8060447573661804, 0.04774624481797218, 0.22336094081401825, 0.14798876643180847, -0.7398841381072998, -0.7021997570991516, 0.11788750439882278, 0.02694065310060978, 0.5241474509239197, -0.05238635092973709, 0.06266804784536362, 0.10689418017864227, 0.13544777035713196, -0.5063744187355042, -0.013652656227350235, -0.13541722297668457, -0.09160862118005753, 0.2635260820388794, 0.2779575288295746, 0.21518512070178986, 0.00688783498480916, -0.11875076591968536, -0.20667022466659546, -0.5006719827651978, -0.18588456511497498, 0.2365863025188446, 0.10347490757703781, 0.1153155192732811, 0.25033366680145264, -0.26967117190361023, 0.5317308902740479, 0.32765457034111023, 0.22866585850715637, 0.36615583300590515, -0.42417699098587036, 0.29040294885635376, 0.24496576189994812, 0.21243230998516083, 0.5411984324455261, -0.3357812762260437, -0.2841167151927948, -0.21965031325817108, 0.09935050457715988, 0.21201124787330627, -1.1122419834136963, 0.001325711840763688, 0.11030378192663193, -0.6393322348594666, -0.1980140209197998, 0.38683512806892395, -0.9811946749687195, 0.10662253946065903, -0.15527217090129852, 0.8225221037864685, -0.2530817985534668, -0.24831704795360565, 0.2738667130470276, -0.28056639432907104, 0.7012112736701965, 0.2969621419906616, -0.27705657482147217, 0.09084401279687881, 0.7206097841262817, 0.8340011835098267, 0.003471244592219591, 0.11726618558168411, -0.8791406750679016, 0.3581387996673584, 0.01890951208770275, 0.7434470057487488, -1.0737069845199585, -0.3801881968975067, 0.1461113840341568, -0.16424036026000977, 0.09936908632516861, -0.5157787203788757, 0.572788417339325, -1.290544867515564, -0.029791073873639107, -0.24428707361221313, -0.46735718846321106, 0.006633668672293425, 0.23798808455467224, -0.6416977047920227, 1.1720306873321533, -0.5861045718193054, -0.5890660285949707, 0.40090322494506836, -0.5651757717132568, -0.5240717530250549, 0.10612619668245316, -0.3735687732696533, -0.541336178779602, 0.09183263033628464, 0.5042294263839722, 0.28039103746414185, 0.03701755404472351, 0.0869421437382698, -0.4050928056240082, -0.5425674915313721, -0.205608069896698, -0.12441244721412659, 0.04024931788444519, 0.2579783499240875, -0.30642253160476685, -0.5208578109741211, -0.7474951148033142, -0.09076585620641708, 0.4153780937194824, -0.5108576416969299, -0.46731841564178467, 0.435008704662323, 0.11163431406021118, -0.054395902901887894, 0.31016671657562256, -0.8205710649490356, 0.029276147484779358, -0.467123806476593, 0.024238983169198036, 0.40676742792129517, 0.2690078318119049, 0.22746627032756805, -0.23598834872245789, 0.26605144143104553, 0.05097924545407295, 0.07372701913118362, -0.24185849726200104, -0.3172869086265564, -0.8006757497787476, -0.019298629835247993, 0.21689550578594208, 0.702918291091919, -0.582589864730835, 0.46065133810043335, -0.362107515335083, -0.12565916776657104, -0.9365009069442749, -0.3511768877506256, 0.518534779548645, 0.4914167523384094, 0.5660690665245056, -0.2390739470720291, -0.7121431231498718, -0.6670459508895874, -0.38087841868400574, 0.11111104488372803, -0.04062473773956299, 0.39139464497566223, 0.16683782637119293, -0.18782708048820496, 0.6897338628768921, -0.6646156907081604, -0.18858587741851807, -0.12119752913713455, 0.32400912046432495, 0.02394837513566017, 0.2770356833934784, 0.23472461104393005, -1.249674916267395, -0.480875164270401, -0.0568278431892395, -0.7290305495262146, -0.17264577746391296, 0.019748535007238388, -0.07271020114421844, 0.13395023345947266, 0.5132287740707397, -0.0248369462788105, 0.554311990737915, -0.028184186667203903, -0.28248849511146545, 0.19625850021839142, -0.24037720263004303, 0.39634156227111816, -0.705283522605896, -0.08795129507780075, -0.06849905103445053, -0.21473845839500427, -0.3031351566314697, 0.41910165548324585, 0.5120968818664551, 0.04010983929038048, -0.3578266203403473, 0.5525053143501282, -0.6602892875671387, -0.026016337797045708, -0.07065662741661072, 0.5557152628898621, 0.3917018473148346, 0.10749261826276779, 0.13080786168575287, 0.7007564306259155, 0.07408153265714645, -0.7522512078285217, 0.14493252336978912, 0.39979949593544006, -0.18574851751327515, 0.595706582069397, -0.39456406235694885, 0.3332649767398834, -0.5522944927215576, 0.15829022228717804, -0.46725404262542725, -0.12405212968587875, -0.2651291489601135, -0.33636364340782166, 0.7020993828773499, -0.277419775724411, -0.6064409017562866, -0.25342169404029846, -0.5209406018257141, 0.3632466197013855, 0.3869929313659668, -1.0075820684432983, 0.6425603032112122, 0.3222615122795105, -0.11591516435146332, -0.5363732576370239, -0.6129648089408875, 0.1587829291820526, 0.16866494715213776, -0.5609863996505737, 0.8191119432449341, -0.09618697315454483, -0.038895707577466965, 0.29103884100914, -0.20554623007774353, 0.14457787573337555, 0.013036658056080341, -0.3258131742477417, 0.16584745049476624, -0.14347444474697113, 0.10123619437217712, 0.06253770738840103, -0.1558241844177246, -0.42929714918136597, -0.17997659742832184, 0.4372430741786957, -0.07882323861122131, -0.6592286825180054, -0.5898191332817078, 0.5680994391441345, 0.015440491028130054, -0.4377886950969696, 0.9169318675994873, 0.7980560660362244, -0.41197502613067627, 0.13666574656963348, -1.0668731927871704, -0.4506400525569916, -0.4243171513080597, 0.5731297135353088, -0.5915040969848633, -0.9297524690628052, 0.5403732657432556, 0.17982253432273865, -0.15320301055908203, 0.19358709454536438, 0.25541937351226807, -0.3387645483016968, 1.2920893430709839, 0.29144349694252014, 0.33309900760650635, 0.7482579350471497, -0.2505985200405121, 0.3070574402809143, -1.098649501800537, -0.6517359614372253, -0.3584766685962677, -0.4594908654689789, -0.37186896800994873, -0.37434977293014526, 0.5219863057136536, 0.3149079382419586, -0.02562204748392105, 0.062059711664915085, -0.4411222040653229, 0.5922999382019043, 0.4127381145954132, 0.669298529624939, 0.30803412199020386, -0.04961906000971794, -0.22944645583629608, -0.2830311357975006, -0.7426230907440186, -0.20370309054851532, 1.055266261100769, -0.10072652995586395, 0.6432778239250183, 0.2761177718639374, 0.9184494018554688, 0.1153748631477356, -0.02728958986699581, -0.3903040885925293, 0.3099386394023895, 0.20013047754764557, -0.5110906362533569, 0.023798638954758644, -0.4001757800579071, -0.8433918952941895, 0.5351448059082031, -0.10802656412124634, -0.41570132970809937, 0.621890664100647, -0.07767477631568909, -0.34753066301345825, 0.40336355566978455, -0.45779526233673096, 0.3509290814399719, -0.24987073242664337, -0.7726333737373352, -0.5740184187889099, -0.6957153677940369, -0.3415953814983368, -0.0786011815071106, 0.3593941926956177, 0.09451935440301895, -0.4419410228729248, 0.8410184979438782, 0.08184566348791122, 0.47596096992492676, -0.22974203526973724, 0.3659950792789459, 0.04032651335000992, 0.2927815914154053, 1.2060904502868652, 0.0760272815823555, -0.36206480860710144, -0.2866055369377136, -0.09920179843902588, -0.5001547932624817, -0.5493627786636353, 0.7353742718696594, -0.5566353797912598, -0.49316754937171936, -0.1039743423461914, 0.19644330441951752, 0.046996235847473145, -0.057741932570934296, 0.20131079852581024, 0.8408145308494568, -0.43344709277153015, 0.3958386480808258, 0.8622767925262451, -0.09885205328464508, 0.5607563257217407, 0.816632866859436, -0.09731227904558182, -0.28938713669776917, 0.9351208209991455, 0.15302330255508423, -0.019245799630880356, 1.0673342943191528, -0.09282008558511734, -0.13185228407382965, -0.6107956767082214, -0.0017895048949867487, 0.2610678970813751, -0.589115560054779, -0.22713756561279297, -1.1039211750030518, 0.16505368053913116, -0.2290858030319214, -0.5578604936599731, -0.24117383360862732, -0.32921117544174194, -0.6480706334114075, -0.41238299012184143, 0.028324641287326813, 0.30072399973869324, -0.3341103196144104, 0.07582162320613861, -1.0221056938171387, 0.3548486530780792, 0.07668043673038483, 0.4763071537017822, 0.065389484167099, -0.4328956604003906, -0.29375216364860535, -0.4024261236190796, -0.24000123143196106, -0.8634947538375854, 0.41466665267944336, 0.4781987965106964, 0.8249905705451965, 0.3494056463241577, 0.24619881808757782, 0.6118171811103821, -0.3294719159603119, 0.5052559971809387, -0.08058489114046097, -0.5047289133071899, 0.7973370552062988, -0.12939861416816711, -0.02831895276904106, 0.5444985628128052, 0.38432881236076355, -0.39738014340400696, -0.05104094371199608, -0.6517813205718994, -1.1242140531539917, 0.8377417325973511, 0.21921014785766602, -0.0887180045247078, -0.202325701713562, 0.4327986240386963, -0.03490852192044258, 0.0862974226474762, -0.381600022315979, -0.22128042578697205, -0.014449164271354675, -0.2057299017906189, 0.22281379997730255, -0.5981714725494385, 0.23455683887004852, -0.07541348785161972, 0.6520457863807678, 0.16939546167850494, 0.44680771231651306, 0.6309863328933716, -0.4588787257671356, -0.11495664715766907, 0.27040183544158936, -0.11998434364795685, 0.32495126128196716, -0.7611173987388611, 0.11328697949647903, 0.24405066668987274, -0.43240225315093994, 0.058786846697330475, 0.3921651840209961, -0.19130456447601318, -0.09426102787256241, 0.17321977019309998, 0.5873280167579651, 0.4508366286754608, -0.6151580214500427, 0.6011937260627747, -0.034756120294332504, 0.1767117828130722, -0.05774185433983803, -0.1597709059715271, -0.15035754442214966, 0.4187457263469696, 0.8193196654319763, -0.3830665349960327, 0.46306800842285156, -0.45474866032600403, 0.4544636309146881, 0.26434823870658875, -0.4729703962802887, -0.47932544350624084, 0.7985705733299255, 0.6309723854064941, -0.25691816210746765, 0.5512290596961975, -0.39781132340431213, -0.5922144651412964, 0.5490241050720215, 0.7338019013404846, 0.890418291091919, -0.058976348489522934, -0.20914433896541595, 0.3911566734313965, 0.2702430486679077, 0.04092811793088913, 0.5942614078521729, -0.14156211912631989, -0.7657198309898376, -0.18814530968666077, -0.7980305552482605, -0.3301456868648529, -0.18317364156246185, -0.9103386402130127, 0.288311630487442, 0.01443750411272049, -0.04930952936410904, -0.2979208528995514, 0.044126469641923904, -0.851763129234314, -0.11895338445901871, 0.1348816156387329, 0.8648085594177246, -0.24675635993480682, 0.43376976251602173, 0.6089656949043274, -0.5010111331939697, -0.10993239283561707, 0.23480412364006042, -0.10201805830001831, -0.5916885137557983, 0.49281659722328186, 0.14573560655117035, -0.0949191153049469, 0.4387492537498474, -0.18655163049697876, -0.7697996497154236, 1.1104485988616943, 0.10009002685546875, -1.0032744407653809, -0.37377581000328064, -0.5404543280601501, 0.2760489881038666, -0.20062115788459778, 0.5716155767440796, 0.2910813093185425, 0.4071732759475708, -0.06435947865247726, -0.6715530753135681, 0.0008291199919767678, -0.15163321793079376, 0.006481683813035488, 0.6309414505958557, -0.729799747467041, 0.29298052191734314, -0.20901329815387726, -0.5980212688446045, -0.3834371864795685, 0.6060542464256287, 0.07976558804512024, 0.5242982506752014, -0.024284837767481804, 0.6986057162284851, 0.6646668314933777, -0.06263664364814758, 1.1118509769439697, -0.2682051658630371, 0.480744332075119, 0.8400680422782898, -0.390354722738266, 1.1967023611068726, 0.3572990298271179, -0.22237952053546906, 0.22171981632709503, 0.37549087405204773, 0.24946236610412598, 0.8677710890769958, -0.28210410475730896, -0.6144431233406067, -0.5691875219345093, -0.018115881830453873, -0.4750390648841858, -0.05971519649028778, 0.5734686255455017, -0.091886505484581, -0.32710525393486023, 0.17621570825576782, -0.0791449025273323, 0.059011656790971756, -0.19891314208507538, 0.9954754114151001, -0.08949443697929382, -0.11290090531110764, 0.25429558753967285, -0.026053311303257942, 0.9653313159942627, -0.28836140036582947, -0.05265165492892265, -0.2615668773651123, 0.19437409937381744, -0.10410075634717941, -0.5255881547927856, 0.18129006028175354, -0.32962024211883545, -0.11128533631563187, 0.12103613466024399, 0.7639579772949219, -0.20022058486938477, -0.38607481122016907, 0.7790741324424744, 0.48836585879325867, -0.07524903863668442, -0.09527585655450821, -0.4579322934150696, 0.17255304753780365, 0.030326779931783676, -0.4975217878818512, 0.43491822481155396, 0.2096729278564453, 0.2858821749687195, 0.3983479142189026, 0.5618926286697388, 0.008646209724247456, 0.25234654545783997, 0.028040731325745583, 0.7464689016342163, -0.9604936242103577, -0.573002815246582, -0.6058743000030518, 0.08206961303949356, -0.12006520479917526, 0.4178607165813446, 0.14901316165924072, 0.9638506770133972, 0.9627035856246948, 0.197298064827919, 0.9272316694259644, -0.07526334375143051, 0.6682273745536804, -0.46986475586891174, 0.30320051312446594, -0.6946744322776794, 0.20692561566829681, 0.13903826475143433, -0.7327312231063843, -0.4164687693119049, 0.3546006381511688, -0.08610718697309494, -0.2550522983074188, 0.4543524980545044, 1.15134596824646, -0.34727463126182556, -0.010141020640730858, 0.35963335633277893, 0.17413267493247986, 0.43275609612464905, 0.3362734615802765, 0.9228522777557373, -0.5711238980293274, 0.8555763363838196, 0.013344274833798409, -0.2898755967617035, -1.064731240272522, -0.7562583088874817, -0.3703635036945343, -0.5545501112937927, -0.3875667154788971, -0.15073901414871216, 0.7350073456764221, 1.0617117881774902, 0.36204513907432556, -0.7291020750999451, 0.28667694330215454, 0.16673599183559418, -0.18363089859485626, 0.07457347214221954, -0.24273818731307983, 0.3511319160461426, -0.5467842817306519, -0.6385496258735657, 0.6696985960006714, 0.38953813910484314, -0.057362671941518784, 0.4848799705505371, -0.001324280514381826, -0.47823163866996765, 0.1330910325050354, 0.5749146938323975, 0.1618681252002716, -0.534627377986908, -0.48692747950553894, -0.08355358988046646, -0.04741863161325455, 0.3103354275226593, 0.5852141976356506, -1.033690333366394, 0.7141491770744324, 0.6185964345932007, 0.6804344058036804, 1.1347849369049072, -0.13036955893039703, 0.514055073261261, -0.6021286249160767, 0.023486604914069176, 0.35333433747291565, 0.2672126889228821, 0.18978802859783173, -0.5245014429092407, 0.5735176801681519, 0.46131277084350586, -0.3190149664878845, -0.8054394125938416, 0.0604543462395668, -0.7039880156517029, -0.023413293063640594, 0.8740692734718323, 0.2267918586730957, 0.09699234366416931, -0.31224820017814636, -0.015108983032405376, 0.5172315835952759, -0.7750924229621887, 0.7106930613517761, 0.2896869480609894, -0.36710911989212036, -0.14197061955928802, -0.5760827660560608, 0.09353563189506531, 0.23966237902641296, -0.3295086920261383, -0.2810417115688324, 0.3519986569881439, 0.06126515194773674, 0.08803942054510117, 0.3559999465942383, -0.2733972370624542, 0.2321535050868988, -0.05311411991715431, 0.2472206950187683, -0.09661707282066345, -0.18947124481201172, -0.3007926046848297, 0.437216579914093, -0.15138205885887146, -0.18328016996383667 ]
http://arxiv.org/abs/2404.05971v1
http://arxiv.org/pdf/2404.05971v1
Does Transformer Interpretability Transfer to RNNs?
2024-04-09T02:59:17
2024-04-09T02:59:17
Gonçalo Paulo, Thomas Marshall, Nora Belrose
cs.LG
cs.LG, cs.AI, cs.CL
Recent advances in recurrent neural network architectures, such as Mamba and RWKV, have enabled RNNs to match or exceed the performance of equal-size transformers in terms of language modeling perplexity and downstream evaluations, suggesting that future systems may be built on completely new architectures. In this paper, we examine if selected interpretability methods originally designed for transformer language models will transfer to these up-and-coming recurrent architectures. Specifically, we focus on steering model outputs via contrastive activation addition, on eliciting latent predictions via the tuned lens, and eliciting latent knowledge from models fine-tuned to produce false outputs under certain conditions. Our results show that most of these techniques are effective when applied to RNNs, and we show that it is possible to improve some of them by taking advantage of RNNs' compressed state.
[ -0.22115309536457062, -0.2804347574710846, 0.529335618019104, 0.3172031342983246, -0.24481822550296783, -0.10755018889904022, -0.22967837750911713, -0.5899907946586609, 0.009008912369608879, 0.5728396773338318, -0.6147654056549072, 0.15887799859046936, -0.7849262356758118, 0.0963679850101471, -0.7018979787826538, 1.0340787172317505, 0.031070398166775703, -0.13299402594566345, 0.1579379290342331, -0.10622081905603409, -0.4572012722492218, -0.1768578290939331, -0.49484434723854065, -0.8157615065574646, 0.6691631078720093, 0.17939558625221252, 1.0983948707580566, 0.5958784222602844, 0.532950758934021, 0.32092252373695374, -0.27885252237319946, -0.11741233617067337, -0.46036189794540405, 0.12657606601715088, -0.2505655884742737, -0.6629443168640137, -0.3903891444206238, -0.040548115968704224, 0.6520078182220459, 0.722772479057312, -0.3025294840335846, -0.0006372783682309091, 0.3576352894306183, 0.5185835361480713, -0.41176852583885193, 0.31467005610466003, -0.7417976260185242, 0.35232147574424744, 0.07938235998153687, -0.45117297768592834, -0.7306495308876038, -0.17758388817310333, 0.5729679465293884, -0.789940595626831, 0.19411854445934296, 0.02355186827480793, 0.7865827679634094, 0.5959228277206421, -0.18305890262126923, -0.08667923510074615, -0.9607240557670593, 0.8966675400733948, -0.8886625170707703, 0.3034772574901581, 0.009219098836183548, 0.5447582006454468, -0.06400329619646072, -1.1118738651275635, -0.5503913164138794, -0.053138818591833115, -0.6072958111763, 0.36885443329811096, -0.5878317356109619, -0.055388305336236954, 0.2710441052913666, 0.5820618271827698, -0.30093517899513245, 0.24163709580898285, -0.3822140097618103, -0.11417392641305923, 0.2774668037891388, 0.27097904682159424, 0.09194093197584152, -0.28198057413101196, -0.34156662225723267, -0.07228916883468628, -0.5052050948143005, -0.1697344034910202, 0.16686385869979858, 0.23293070495128632, -0.38378989696502686, 0.4658900797367096, -0.08774349838495255, 0.9364535808563232, 0.22608789801597595, 0.3749252259731293, -0.006656124256551266, -0.32700204849243164, -0.29098618030548096, -0.1950547695159912, 0.41090941429138184, 0.2793596088886261, 0.4270501434803009, -0.46373292803764343, -0.22548988461494446, -0.08026043325662613, 0.6815700531005859, -0.5341626405715942, -0.5265411138534546, -0.06458695232868195, -0.8488123416900635, -0.8330984711647034, 0.028242146596312523, -0.8627752065658569, -0.3837534487247467, -0.43029332160949707, 0.6038693785667419, -0.2403912991285324, -0.4333944022655487, 0.16829054057598114, -0.10423034429550171, 0.5042496919631958, 0.32919952273368835, -0.8698475956916809, 0.20472444593906403, 0.6488999128341675, 0.8482128381729126, -0.32012939453125, -0.35011526942253113, -0.4197465181350708, -0.19125011563301086, -0.1755969524383545, 0.6338818073272705, -0.49473848938941956, -0.1330295205116272, -0.0003473014512564987, 0.08646087348461151, -0.17472311854362488, -0.5118670463562012, 0.24015146493911743, -0.7426684498786926, 0.059073761105537415, 0.2479492425918579, -0.2403751164674759, -0.20420566201210022, -0.08838487416505814, -0.8711022138595581, 0.5415487289428711, 0.2847968339920044, -0.458832323551178, 0.028479168191552162, -0.5063673257827759, -0.7680468559265137, -0.3105947971343994, 0.12501879036426544, -0.35840898752212524, 0.4803348779678345, 0.08356074243783951, 0.48590603470802307, -0.16684085130691528, 0.28224217891693115, -0.040045350790023804, -0.4072786867618561, 0.7221645712852478, -0.9688751101493835, 0.44037505984306335, 0.3383089601993561, -0.4904862940311432, 0.1206112802028656, -0.9319949150085449, 0.06372713297605515, -0.0765441283583641, -0.342050164937973, 0.12886293232440948, -0.1497434824705124, -0.07002206146717072, 0.18659809231758118, -0.031552016735076904, -0.17206385731697083, 0.03226706013083458, -0.6145541667938232, 0.7597991824150085, 0.8939189314842224, -0.18743622303009033, 0.8069349527359009, -0.28427568078041077, 0.70998215675354, 0.10553433746099472, 0.08448668569326401, -0.31454771757125854, -0.6918161511421204, -1.1725913286209106, 0.3765721321105957, 0.24550817906856537, 0.3870832622051239, -1.0338068008422852, 0.25644487142562866, -0.5679380893707275, -0.5048342943191528, -0.43595069646835327, -0.28297552466392517, 0.359943687915802, 0.776843249797821, 0.47987130284309387, -0.18273665010929108, -0.4723767936229706, -1.0087714195251465, -0.49846741557121277, 0.05526912957429886, 0.005939166992902756, 0.3019527196884155, 0.216914564371109, 0.1959497332572937, 0.4759630560874939, -0.41394954919815063, 0.03777749091386795, -0.353177011013031, 0.39564114809036255, 0.47691360116004944, 0.48278093338012695, 0.14749883115291595, -0.9376603960990906, -0.10203535854816437, 0.20204071700572968, -0.6657575964927673, 0.02063322253525257, -0.2931094467639923, 0.17650610208511353, -0.08519583195447922, 0.45115238428115845, -0.3136635720729828, 0.6962296962738037, 0.8639009594917297, -0.38987866044044495, 0.4863986074924469, -0.11706285923719406, -0.004736877512186766, -0.9816028475761414, -0.06672251969575882, -0.14175282418727875, -0.28086480498313904, -0.8443027138710022, -0.24097977578639984, -0.16131936013698578, -0.02627159282565117, -0.47685104608535767, 0.5884283781051636, -0.2721561789512634, -0.4358122944831848, -0.3937824070453644, -0.10287953168153763, 0.12034796923398972, 0.35719916224479675, 0.095731221139431, 0.8381414413452148, 0.4069177806377411, -0.6921192407608032, 0.17203818261623383, 0.2911921441555023, -0.6423304080963135, 0.32247501611709595, -0.8543202877044678, -0.07056693732738495, -0.04984700307250023, 0.32341498136520386, -0.8314181566238403, 0.016616499051451683, 0.27720847725868225, -0.5298578143119812, 0.37729737162590027, -0.26794344186782837, 0.13572996854782104, -0.01741427183151245, 0.3150938153266907, 0.34959307312965393, 0.5892230272293091, -0.7214092016220093, 1.1193711757659912, -0.4097112715244293, -0.006309636868536472, -0.8282598853111267, -1.2686989307403564, -0.027149206027388573, -0.051059696823358536, -0.47622212767601013, 0.49576056003570557, 0.22438406944274902, -0.04889554902911186, 0.3448154926300049, -0.08585996180772781, -0.03161368891596794, 0.2720297873020172, 0.3692385256290436, 0.3498712480068207, -0.7502841949462891, -0.030405130237340927, -0.05306192487478256, -0.5681634545326233, -0.15140944719314575, -0.34667953848838806, 0.3528372049331665, -0.21196329593658447, -0.22541432082653046, -0.5699144601821899, -0.02232861891388893, 0.5966618657112122, -0.18727941811084747, 0.9163308143615723, 0.6735584735870361, -0.004000253509730101, -0.19319257140159607, -0.3276630938053131, -0.5021030306816101, -0.4900237023830414, 0.39580491185188293, -0.4727267026901245, -0.7543216943740845, 0.4735724627971649, -0.12455287575721741, -0.06310676038265228, 0.5333684086799622, 0.4752318263053894, -0.041282135993242264, 0.7408633232116699, 0.48161178827285767, 0.21704663336277008, 0.6580647826194763, -0.21978947520256042, 0.23756015300750732, -0.9100270867347717, -0.18042783439159393, -0.36393803358078003, -0.7193293571472168, -0.6356351971626282, -0.44543376564979553, -0.06819947808980942, -0.1841142624616623, -0.08654946833848953, 0.46711891889572144, -0.46128523349761963, 0.45291945338249207, 0.3549836277961731, 0.058449577540159225, 0.49602794647216797, 0.1903792917728424, 0.04647781327366829, -0.18835300207138062, -0.8695152997970581, -0.2890511751174927, 1.0137569904327393, 0.4407638609409332, 0.8045791387557983, 0.05848473682999611, 0.017951402813196182, 0.22435709834098816, 0.7262283563613892, -0.7583714127540588, 0.2878776490688324, -0.5339705944061279, -0.2821120619773865, -0.15561942756175995, -0.48869940638542175, -0.9622536897659302, 0.4113132655620575, -0.4664890468120575, -0.6201307773590088, 0.5445424318313599, 0.1779663860797882, -0.26966965198516846, 0.4676421582698822, -0.6009644865989685, 0.6228597164154053, -0.208027645945549, -0.0359683483839035, -0.3052358031272888, -0.797089159488678, 0.2194807082414627, 0.17817042768001556, -0.09716708958148956, 0.23682676255702972, 0.010948319919407368, 0.6058070659637451, -0.02434711903333664, 0.8094394207000732, 0.08381272107362747, -0.04681103304028511, -0.12214653939008713, 0.21795251965522766, 0.4915100634098053, -0.20837584137916565, -0.29894596338272095, 0.410561740398407, -0.3484637439250946, -0.24314115941524506, -1.2469180822372437, 0.5306891202926636, -0.7537060976028442, -0.5057799220085144, -0.171336829662323, -0.6561084389686584, -0.14284181594848633, 0.14754287898540497, 0.45235103368759155, 0.782538115978241, 0.1619158685207367, 0.3391163647174835, 0.5913013815879822, -0.1932050585746765, 0.22030991315841675, 0.6093347668647766, -0.32342463731765747, -0.10957103967666626, 0.9401235580444336, -0.1511765718460083, 0.555959165096283, 0.491380512714386, 0.28400155901908875, -0.16754159331321716, -0.8331955075263977, -0.4250173270702362, 0.03422662615776062, -0.763993501663208, -0.17288783192634583, -0.3098295032978058, -0.49472299218177795, -0.021077755838632584, -0.16884657740592957, -0.48879295587539673, -0.7210663557052612, -0.4294203817844391, -0.09914766252040863, 0.19017896056175232, 1.144403100013733, -0.013287719339132309, 0.46973711252212524, -0.8186342716217041, 0.3143540918827057, 0.2541922628879547, 0.46907714009284973, 0.3722536861896515, -1.1191328763961792, -0.16642335057258606, -0.14930972456932068, -0.08693823963403702, -0.6799549460411072, 0.20759108662605286, 0.17374403774738312, 0.37785258889198303, 0.4481530487537384, -0.18345355987548828, 0.5830100178718567, -0.4553719162940979, 0.5931828618049622, 0.2546016573905945, -0.83175128698349, 0.43061473965644836, -0.004210497252643108, 0.14026646316051483, 0.1526481658220291, 0.09311182796955109, -0.38311004638671875, -0.32276448607444763, -0.6923112273216248, -0.5469148755073547, 0.8072464466094971, 0.33554989099502563, 0.3185023367404938, 0.4387010931968689, 0.706099271774292, 0.21755462884902954, -0.008605804294347763, -0.5451505184173584, -0.5854730606079102, -0.4394432008266449, -0.250866174697876, -0.18734660744667053, -0.18501459062099457, 0.13363192975521088, 0.03868631273508072, 0.3730107843875885, 0.024003468453884125, 0.3150583803653717, 0.15005531907081604, 0.04128984361886978, 0.08634866029024124, 0.47899147868156433, 0.4791509509086609, 0.7273586988449097, 0.09471458196640015, 0.23933154344558716, 0.09853263199329376, -0.3037400543689728, 0.15997575223445892, 0.03502035513520241, -0.30576291680336, -0.2240363359451294, 0.5343561172485352, 1.0911331176757812, 0.7038576006889343, -0.11919485032558441, 0.3648064136505127, -0.10899414867162704, -0.06679265946149826, -0.12330615520477295, 0.1390199363231659, -0.0797409862279892, 0.40645965933799744, 0.20045886933803558, 0.6032288670539856, -0.018553052097558975, -0.3953264057636261, 0.17105460166931152, 0.05106855928897858, -0.7953252196311951, -0.41916221380233765, 0.5485914349555969, 0.09926499426364899, -0.2927752137184143, 0.828976035118103, 0.3392915725708008, -0.5031893253326416, 0.5553625822067261, 0.6941949129104614, 0.7414632439613342, -0.21665409207344055, 0.08046739548444748, 0.2747333347797394, 0.3319583535194397, 0.01133403554558754, -0.1372077614068985, 0.0063252560794353485, -1.057809829711914, -0.8704897165298462, -0.5734423398971558, -0.3872517943382263, 0.09103286266326904, -1.1676236391067505, 0.009176635183393955, -0.12442582100629807, -0.0973421111702919, 0.30585694313049316, -0.5840853452682495, -0.7066548466682434, 0.33375445008277893, -0.05016614496707916, 0.8403623700141907, -0.8158195614814758, 0.7368236780166626, 0.6212523579597473, -0.39196085929870605, -1.0553315877914429, -0.013987394981086254, -0.13473373651504517, -1.0199315547943115, 0.7554908990859985, -0.13529913127422333, -0.33579233288764954, 0.08496785908937454, -0.32974812388420105, -0.6817889213562012, 1.0705589056015015, 0.2800910472869873, -0.4598613977432251, -0.21890048682689667, 0.05720648169517517, 0.5212686061859131, -0.33482933044433594, 0.21802513301372528, 0.7810707092285156, 0.7313985824584961, 0.12006822228431702, -0.8412975072860718, 0.05193036049604416, -0.1659892052412033, 0.04826083406805992, -0.07862211763858795, -0.23174327611923218, 0.742864191532135, -0.23872479796409607, -0.2908601462841034, 0.43732646107673645, 0.8860059976577759, -0.2663682699203491, 0.11178417503833771, 0.5060693025588989, 0.4321368634700775, 0.48320725560188293, -0.3052454888820648, 1.4185221195220947, -0.10239429771900177, 0.17404118180274963, 1.249250888824463, 0.14875634014606476, 0.9695389270782471, 0.5218403935432434, -0.2837540805339813, 0.701467752456665, -0.08048053085803986, -0.20346646010875702, 0.4268825948238373, 0.06020200997591019, 0.036342084407806396, -0.3300894796848297, -0.08758074790239334, -0.2670741677284241, 0.5230898261070251, 0.3234013617038727, -0.5555659532546997, -0.020528893917798996, 0.09542159736156464, -0.332677960395813, 0.13355353474617004, -0.1542692333459854, 0.7220659255981445, 0.36632323265075684, -0.7425822615623474, 0.3264390826225281, -0.31991446018218994, 0.8246230483055115, -0.42581894993782043, -0.21544529497623444, -0.16642768681049347, 0.3005504310131073, -0.45059794187545776, -1.0919080972671509, 0.66495281457901, -0.26960453391075134, -0.35771897435188293, -0.2835121750831604, 1.0556964874267578, -0.18893712759017944, -0.4194177985191345, 0.33125001192092896, 0.6495975852012634, 0.17939940094947815, 0.061513304710388184, -0.4506117105484009, -0.04229562729597092, 0.06128406897187233, -0.1753065139055252, 0.27781546115875244, 0.19025348126888275, 0.43470296263694763, 0.9192181825637817, 0.5668759346008301, 0.47973862290382385, 0.21166309714317322, 0.21049535274505615, 0.7879493236541748, -0.5657972097396851, -0.2473556101322174, -0.5946964621543884, 0.5315552949905396, 0.2866501808166504, -0.22887569665908813, 0.4640602171421051, 0.027336250990629196, 0.42051947116851807, -0.09789449721574783, 0.577572226524353, 0.2139037549495697, 0.34781262278556824, -0.8614497184753418, 0.8713029623031616, -0.5391148924827576, 0.36528751254081726, 0.118328757584095, -0.9620946049690247, -0.22236114740371704, 0.592117965221405, -0.3625766932964325, 0.03861450403928757, 0.5945476293563843, 0.6987614035606384, -0.23230579495429993, 0.39989277720451355, 0.4589953124523163, 0.42589637637138367, 0.0803103893995285, 0.5363263487815857, 1.1924004554748535, -0.5764505863189697, 0.9387207627296448, -0.3043330907821655, -0.05664597824215889, -0.14464978873729706, -1.0135959386825562, -0.4407895505428314, -0.5112331509590149, -0.31943702697753906, -0.6447920203208923, 0.033767737448215485, 0.07703236490488052, 0.6634057760238647, -0.9665869474411011, 0.20222227275371552, -0.2615518569946289, 0.27790239453315735, -0.28627899289131165, -0.26756685972213745, 0.20415768027305603, -0.2526387870311737, -0.47280198335647583, 0.39752519130706787, 0.26198747754096985, 0.11958979070186615, -0.3026190996170044, -0.04266329109668732, 0.4257466197013855, -0.16340945661067963, 0.5355026125907898, 0.2546512186527252, -0.9083948731422424, -0.3555402457714081, 0.11595373600721359, 0.23056161403656006, 0.16634809970855713, 1.155064582824707, -0.9742076396942139, 0.3846554756164551, 0.26571083068847656, 0.7845845818519592, 0.40377146005630493, 0.03403453156352043, 0.9515225291252136, -0.41089069843292236, 0.07483445852994919, 0.24945038557052612, 0.34743350744247437, 0.2962518334388733, -0.08642498403787613, 0.4580809473991394, -0.20122118294239044, -0.4195241630077362, -0.3754592537879944, 0.4634791314601898, -0.8212985992431641, -0.046895820647478104, 1.1083462238311768, -0.40685954689979553, -0.07554202526807785, -0.3235614597797394, 0.2348702996969223, 0.30842217803001404, 0.04040538892149925, 0.4508286714553833, 0.47401556372642517, -0.034469716250896454, -0.3031078279018402, -0.48196646571159363, 0.34356093406677246, 0.8141891360282898, -0.5505325198173523, 0.02594648115336895, 0.1364395171403885, 0.2560802400112152, 0.3221604824066162, 0.06714002788066864, -0.2893463969230652, 0.3983283042907715, -0.02886207215487957, -0.39789092540740967, -0.15534354746341705, -0.340482234954834, -0.9009107947349548, -0.18731924891471863, 0.07327810674905777, 0.15502920746803284 ]
http://arxiv.org/abs/2404.05970v1
http://arxiv.org/pdf/2404.05970v1
Optimization Methods for Personalizing Large Language Models through Retrieval Augmentation
2024-04-09T02:58:05
2024-04-09T02:58:05
Alireza Salemi, Surya Kallumadi, Hamed Zamani
cs.CL
cs.CL, cs.IR
This paper studies retrieval-augmented approaches for personalizing large language models (LLMs), which potentially have a substantial impact on various applications and domains. We propose the first attempt to optimize the retrieval models that deliver a limited number of personal documents to large language models for the purpose of personalized generation. We develop two optimization algorithms that solicit feedback from the downstream personalized generation tasks for retrieval optimization -- one based on reinforcement learning whose reward function is defined using any arbitrary metric for personalized generation and another based on knowledge distillation from the downstream LLM to the retrieval model. This paper also introduces a pre- and post-generation retriever selection model that decides what retriever to choose for each LLM input. Extensive experiments on diverse tasks from the language model personalization (LaMP) benchmark reveal statistically significant improvements in six out of seven datasets.
[ -0.40186023712158203, -0.7728344798088074, 0.7129272818565369, 0.19643427431583405, 0.04263639450073242, 0.2847708761692047, -0.5465035438537598, -0.29760459065437317, 0.12676601111888885, 0.6204661726951599, -0.6493368148803711, -0.22145506739616394, -0.38301602005958557, 0.23613375425338745, -0.21743614971637726, 0.7285884022712708, 0.33780741691589355, 0.09508205950260162, -0.2570098042488098, 0.27734434604644775, -0.5199654698371887, -0.6697189211845398, -0.6469161510467529, -0.38897430896759033, 0.7762276530265808, 0.32339048385620117, 0.3382493257522583, 0.5784850716590881, 0.41147691011428833, 0.34966129064559937, -0.3656260669231415, 0.2631566822528839, -0.8278108835220337, 0.37917155027389526, -0.482659250497818, -0.5187410116195679, 0.07735298573970795, -0.4128675162792206, 0.5759139657020569, 0.6953592896461487, -0.19233717024326324, 0.2283216118812561, -0.1133234053850174, 0.7309902310371399, -0.9180912375450134, -0.13640640676021576, -0.6764581203460693, -0.024755414575338364, -0.25155988335609436, -0.6372891068458557, -0.6075175404548645, -0.5843160152435303, 0.2122621387243271, -0.44886618852615356, 0.10461468994617462, 0.2634648382663727, 0.4292932450771332, 0.06500592082738876, -0.36654025316238403, -0.349404901266098, -0.9188387393951416, 1.1472312211990356, -0.648840069770813, 0.20023119449615479, 0.3847143054008484, 0.3104698657989502, -0.18998408317565918, -0.6976070404052734, -0.2501381039619446, -0.5636864304542542, -0.05831174924969673, -0.09764853119850159, -0.04407021775841713, 0.13874277472496033, 0.17337532341480255, 0.46758753061294556, -0.397060364484787, 0.2495131939649582, -0.21474811434745789, -0.038605157285928726, 0.7115498781204224, 0.20303140580654144, 0.17384177446365356, -0.09969225525856018, -0.2680957317352295, -0.14623481035232544, -0.7483436465263367, -0.124778613448143, 0.6367127895355225, 0.30821797251701355, 0.5074763894081116, 0.6449139714241028, -0.5997939705848694, 0.8624804019927979, 0.19749745726585388, -0.07565818727016449, 0.24363873898983002, -0.49794715642929077, 0.13980630040168762, -0.03819234296679497, 0.4516782760620117, -0.06005417928099632, 0.17098769545555115, -0.4020085036754608, -0.5437840223312378, -0.49055951833724976, 0.30750221014022827, -0.7318642735481262, 0.061892759054899216, 0.1476142257452011, -0.43051254749298096, -0.6391335129737854, -0.00665978854522109, -0.41952037811279297, -0.40351805090904236, -0.460263192653656, 0.506549060344696, -0.33420541882514954, 0.1452282965183258, 0.14398373663425446, -0.033027105033397675, -0.029276780784130096, 0.2593444287776947, -1.3089580535888672, 0.28902727365493774, 0.6208513975143433, 0.5512065887451172, -0.16233788430690765, -0.07237476855516434, -0.839819073677063, 0.3217502236366272, -0.15757519006729126, 0.7572563290596008, -0.7408514022827148, -0.5854470729827881, 0.2748074233531952, -0.26183345913887024, 0.2316543012857437, -0.8335416913032532, 0.4391372799873352, -1.1505236625671387, 0.1726309210062027, -0.4324408173561096, -0.6604078412055969, -0.09447608143091202, 0.08504738658666611, -0.5396125912666321, 0.8938563466072083, 0.23438489437103271, -0.4533112049102783, 0.1148020327091217, -0.6401419639587402, -0.4831216037273407, 0.3670220971107483, 0.061090148985385895, -0.042199231684207916, 0.5458739399909973, 0.11489685624837875, 0.40987908840179443, -0.35571998357772827, 0.27756932377815247, -0.160116508603096, -0.28423935174942017, 0.19689548015594482, -0.11880320310592651, 0.3673883378505707, 0.3894483149051666, -0.03402024134993553, 0.23209121823310852, -0.5970363616943359, 0.19457024335861206, 0.3050410747528076, -0.8350562453269958, -0.4964503347873688, 0.3216680586338043, 0.17759309709072113, -0.05392509698867798, 0.8250945806503296, -0.6168347001075745, 0.28521886467933655, -0.5454049110412598, 0.2233840525150299, 0.9431453347206116, 0.0648951381444931, 0.285697340965271, -0.2687143087387085, 0.5235146880149841, -0.1674671173095703, -0.06121402978897095, -0.3503357768058777, 0.1889650821685791, -0.4836408793926239, 0.09984257072210312, 0.423387736082077, 0.37851208448410034, -0.6456575393676758, 0.5402848720550537, -0.3301582336425781, -0.11129158735275269, -0.14502212405204773, 0.47367432713508606, 0.5358082056045532, 0.3154585063457489, 0.2509761154651642, -0.3049323558807373, -0.609160304069519, -0.9578986167907715, -0.3935651183128357, 0.06012055277824402, 0.014208201318979263, 0.5675163269042969, 0.18678076565265656, -0.1915854662656784, 0.8829330801963806, -0.8797826170921326, -0.1089390218257904, -0.34489190578460693, -0.14784781634807587, 0.1862352043390274, 0.2732100486755371, 0.45960307121276855, -0.7929404973983765, -0.53602534532547, 0.3113194704055786, -0.416768342256546, -0.28568190336227417, 0.056760385632514954, -0.02440566197037697, -0.1118682324886322, 0.31736382842063904, -0.2198413759469986, -0.09854630380868912, 0.32495033740997314, -0.07096850872039795, 0.7027034163475037, -0.5000905990600586, -0.11595001071691513, -0.8879748582839966, 0.03382819518446922, 0.04927194118499756, -0.45252853631973267, -0.6492977142333984, 0.30155518651008606, -0.17538981139659882, 0.013039492070674896, -0.303935170173645, 0.8450673818588257, -0.5116750001907349, -0.12263724952936172, -0.5059205293655396, 0.2303796112537384, -0.22999362647533417, 0.38809338212013245, -0.0972437635064125, 0.7676980495452881, 0.16892890632152557, -0.621090829372406, 0.46300971508026123, 0.3380148708820343, -0.35608822107315063, 0.3056129813194275, -0.7314671277999878, 0.35527682304382324, -0.29608047008514404, -0.16779056191444397, -0.7569077610969543, -0.33250007033348083, -0.18311181664466858, -0.1861933469772339, 0.3813306987285614, 0.19016069173812866, -0.5588194727897644, -0.23549269139766693, -0.4639059901237488, 0.17088980972766876, 0.5125245451927185, -0.9550379514694214, 0.3783828616142273, 0.27630114555358887, -0.34208744764328003, -0.40973588824272156, -0.23668493330478668, -0.0011515002697706223, -0.14903555810451508, -0.6501597166061401, 0.673776388168335, -0.2623112201690674, -0.1649031937122345, -0.18019479513168335, 0.198935866355896, 0.30447739362716675, 0.09770646691322327, -0.16442719101905823, -0.01837177202105522, 0.02872529625892639, 0.24098455905914307, 0.20491304993629456, -0.06228556111454964, -0.09194090962409973, -0.2368665635585785, 0.8405913710594177, 0.04581666737794876, -0.24117794632911682, -0.046200890094041824, 0.2775457203388214, -0.15029588341712952, -0.45904290676116943, 0.7404634952545166, 0.5055068731307983, -0.1485140323638916, -0.22783063352108002, -0.9690174460411072, -0.2668472230434418, -0.557572603225708, 0.6282500624656677, -0.5522371530532837, -1.0409568548202515, 0.3436134159564972, -0.389077365398407, -0.01852400042116642, 0.16280287504196167, 0.7623795866966248, 0.06100644916296005, 1.331681728363037, 0.5838661193847656, -0.16280025243759155, 0.9038680791854858, -0.18967820703983307, 0.017598707228899002, -1.1192729473114014, -0.3159005343914032, -0.5347558856010437, -0.3430846035480499, -0.47621622681617737, -0.22943706810474396, 0.18456420302391052, 0.2446003407239914, -0.3675576448440552, 0.10399880260229111, -0.513177216053009, 0.537665605545044, 0.9214659929275513, 0.22471408545970917, 0.4820491075515747, 0.3187001347541809, 0.013244714587926865, -0.0326334573328495, -0.4861331284046173, -0.49241364002227783, 1.1087173223495483, 0.056857652962207794, 0.887298583984375, 0.2863994538784027, 0.9973620176315308, 0.33555009961128235, 0.1829933077096939, -0.6298598647117615, 0.4720146059989929, -0.38951748609542847, -0.5247935056686401, -0.33924582600593567, -0.6283020377159119, -1.166490912437439, 0.35126620531082153, 0.01262920256704092, -1.0315911769866943, 0.15875500440597534, 0.14036902785301208, -0.2351343035697937, -0.08328258991241455, -0.6655287742614746, 0.5722164511680603, -0.5950430035591125, -0.48929551243782043, -0.5512732267379761, -0.5171783566474915, 0.4615105986595154, -0.2183322310447693, -0.06616365164518356, 0.18235109746456146, -0.23848946392536163, 0.41575872898101807, -0.437269002199173, 0.37748226523399353, -0.24014729261398315, 0.13996227085590363, 0.014860509894788265, -0.0031805916223675013, 0.7652701735496521, -0.09263542294502258, -0.3671475052833557, -0.5393871665000916, 0.010440386831760406, -0.3340815007686615, -0.667308509349823, 0.9465561509132385, -0.7124306559562683, -0.9779379367828369, -0.07137756049633026, -0.2759262025356293, -0.35463419556617737, 0.36356043815612793, 0.169959157705307, 0.33026477694511414, -0.2844734489917755, 0.4566199779510498, 0.7100411653518677, -0.569855809211731, 0.3345511257648468, 0.4762876331806183, -0.42302748560905457, -0.38365477323532104, 1.1810775995254517, -0.1472199261188507, 0.2503170073032379, 0.6245339512825012, 0.48278945684432983, -0.4951817989349365, -0.7959280014038086, -0.04727940261363983, 0.4307309687137604, -0.7196450233459473, -0.13591255247592926, -0.4399721622467041, 0.05316384881734848, -0.23129938542842865, 0.0008546421304345131, -0.07413158565759659, -0.13981132209300995, -0.47956129908561707, 0.017532791942358017, 0.2244594395160675, 0.7109025716781616, 0.11765609681606293, 0.4607818126678467, -0.8239489793777466, 0.2370891571044922, 0.22095884382724762, 0.2606061100959778, 0.1405802071094513, -0.4860328137874603, -0.34536924958229065, -0.0558992400765419, -0.4965763986110687, -0.6865527033805847, 0.46998998522758484, 0.22061410546302795, 0.7605297565460205, 0.4740326404571533, -0.11591464281082153, 0.4352366626262665, -0.5247475504875183, 0.5711542367935181, 0.14543573558330536, -0.7732559442520142, 0.7130904197692871, -0.36058834195137024, 0.22693583369255066, 0.5748489499092102, 0.24178099632263184, -0.4505852460861206, 0.1430772989988327, -0.38644203543663025, -0.8137303590774536, 0.682214081287384, -0.02907780557870865, 0.5522518157958984, -0.11569184064865112, 0.6764145493507385, -0.034678179770708084, 0.4363437592983246, -0.49678051471710205, -0.20136988162994385, 0.39872971177101135, -0.15134167671203613, -0.1182774230837822, -0.45021939277648926, 0.009732022881507874, -0.02463856153190136, 0.7802514433860779, -0.18012575805187225, -0.04860296472907066, 0.03769225999712944, -0.2229703664779663, -0.047722846269607544, 0.16784851253032684, 0.5814021825790405, 0.7237341403961182, -0.1555607169866562, -0.318604975938797, 0.1463121771812439, -0.23258627951145172, 0.19067886471748352, 0.09062367677688599, -0.3420937657356262, -0.02940262295305729, 0.08492007851600647, 0.8779432773590088, 0.18440866470336914, -0.850311815738678, 0.3903799057006836, 0.07261908054351807, 0.11098889261484146, -0.4149318039417267, 0.22701194882392883, 0.18565146625041962, 0.3556012511253357, 0.5136054754257202, -0.4012218713760376, 0.3798716068267822, -0.4324703514575958, -0.14373460412025452, 0.8063287734985352, 0.06628227978944778, -0.33747419714927673, 0.753503143787384, 0.11916396766901016, -0.4466688930988312, 0.4148006737232208, -0.1475936472415924, -0.34702634811401367, 0.23964795470237732, 0.5519147515296936, 0.8701715469360352, -0.33025190234184265, 0.10684606432914734, 0.24360157549381256, -0.12354400753974915, -0.23962469398975372, 0.11829466372728348, -0.10828891396522522, -0.6701265573501587, -0.5392846465110779, -0.8487181663513184, -0.3438335955142975, 0.09257479757070541, -0.5635043382644653, 0.3550204634666443, -0.3556195795536041, -0.28006958961486816, -0.006596559192985296, 0.37649989128112793, -0.7019838690757751, 0.2377074509859085, 0.09278033673763275, 0.6693093776702881, -0.08669015765190125, 0.6838371753692627, 0.6051303744316101, -0.5123680830001831, -0.5406999588012695, -0.28193625807762146, -0.35567981004714966, -0.7942895293235779, 1.13375985622406, -0.30039507150650024, -0.1644294559955597, 0.29176580905914307, -0.3705182373523712, -0.9626651406288147, 1.020946741104126, 0.48043277859687805, -0.7634744048118591, -0.2896963059902191, -0.039704643189907074, 0.5673618316650391, -0.36529749631881714, 0.2839834988117218, 0.5348367691040039, 0.4340226948261261, 0.04448765888810158, -0.5794363021850586, -0.018846413120627403, -0.06355608254671097, 0.7792555689811707, 0.2046556919813156, -0.7801374197006226, 0.5086134672164917, -0.27417370676994324, -0.01617634855210781, 0.3530215620994568, 0.5439384579658508, 0.5179244875907898, -0.0526915043592453, 0.3915078938007355, 0.3756934404373169, 0.6481018662452698, 0.06269081681966782, 1.5963866710662842, -0.46468591690063477, 0.37382298707962036, 0.9773304462432861, -0.2610782980918884, 0.8872535228729248, 0.5781518816947937, -0.38322335481643677, 0.28416648507118225, 0.6502721905708313, -0.01763252355158329, 0.7295701503753662, 0.5791705250740051, -0.5868712663650513, -0.04875125735998154, -0.20313534140586853, -0.24275492131710052, 0.10569662600755692, 0.19069698452949524, -0.6253474354743958, 0.07005969434976578, 0.0885697603225708, -0.33281809091567993, 0.1749023199081421, -0.20603735744953156, 1.0104752779006958, -0.07500352710485458, -0.7568044066429138, 0.429305762052536, 0.4104978144168854, 0.718193769454956, -0.6055359244346619, 0.3055746853351593, -0.34695252776145935, 0.28617095947265625, -0.32847654819488525, -0.3733139932155609, 0.002242082729935646, -0.20086780190467834, -0.3150425851345062, -0.3599591553211212, 0.9586668014526367, -0.4276362955570221, -0.43490809202194214, 0.32986685633659363, 0.4717702865600586, -0.027812818065285683, -0.1892772614955902, -0.42270275950431824, 0.11076430976390839, 0.05296730622649193, -0.7927903532981873, 0.6632117629051208, -0.02539433352649212, 0.0747193768620491, 0.8407080173492432, 0.8597353100776672, 0.4067543148994446, 0.3081488609313965, 0.3072325587272644, 0.9440905451774597, -0.6669934391975403, -0.3821871280670166, -0.7988488674163818, 0.2161262482404709, -0.018827585503458977, -0.06548377126455307, 0.7158990502357483, 0.6918128132820129, 0.9959110617637634, -0.38561949133872986, 0.8988982439041138, 0.1705295741558075, 0.6895241737365723, -0.6096351146697998, 0.16907653212547302, -0.7286835312843323, 0.5280771255493164, -0.19066260755062103, -1.3271114826202393, 0.022301025688648224, 0.4148973226547241, -0.6448072195053101, 0.43743059039115906, 0.324185311794281, 0.8497181534767151, 0.12173458933830261, -0.23368306457996368, 0.37285882234573364, -0.04874206334352493, 0.3807278573513031, 0.45841681957244873, 0.964287519454956, -0.12607420980930328, 0.3494897484779358, -0.34886452555656433, -0.014106103219091892, -0.5256253480911255, -0.5834723711013794, -0.5851683616638184, -0.5439317226409912, -0.1523759812116623, -0.11346469819545746, 0.2048359364271164, 0.9120182991027832, 0.6680130362510681, -0.5793294906616211, -0.3868362307548523, -0.07068892568349838, 0.07044612616300583, 0.11690903455018997, -0.24643200635910034, 0.18069705367088318, -0.7679714560508728, -1.0072627067565918, 0.5278207659721375, 0.22126802802085876, -0.22004595398902893, -0.5289323329925537, -0.3421888053417206, -0.18496297299861908, 0.011115326546132565, 0.8796382546424866, 0.3083292841911316, -0.8123953938484192, -0.24176934361457825, 0.13624386489391327, 0.0373535118997097, 0.04222866892814636, 0.9505285024642944, -0.8254113793373108, 0.6014453172683716, 0.7252424359321594, 0.9160043001174927, 0.7986454367637634, 0.475492388010025, 0.6871582269668579, -0.9444937109947205, -0.1022329330444336, 0.25457876920700073, 0.28495728969573975, 0.41871386766433716, -0.6351986527442932, 0.4050973057746887, -0.04062756896018982, -0.6451433897018433, -0.9043433666229248, 0.3480002284049988, -0.6253006458282471, -0.27838727831840515, 1.0742303133010864, -0.003464791923761368, -0.04017302021384239, 0.28830257058143616, -0.28099068999290466, -0.07406443357467651, -0.318180650472641, 0.6140360236167908, 0.7493012547492981, -0.26418453454971313, -0.1547173112630844, -0.5314804911613464, 0.4358327090740204, 0.6174562573432922, -0.8475589752197266, -0.12798984348773956, 0.5267960429191589, 0.31586095690727234, 0.14521615207195282, 0.4882054626941681, -0.09104710817337036, 0.06585143506526947, -0.48579853773117065, -0.042778559029102325, -0.153024822473526, 0.0158404354006052, -0.4862092137336731, 0.1519215703010559, 0.457828164100647, 0.14549235999584198 ]
http://arxiv.org/abs/2404.05967v1
http://arxiv.org/pdf/2404.05967v1
JSTR: Judgment Improves Scene Text Recognition
2024-04-09T02:55:12
2024-04-09T02:55:12
Masato Fujitake
cs.CV
cs.CV, cs.AI, cs.CL, cs.LG
In this paper, we present a method for enhancing the accuracy of scene text recognition tasks by judging whether the image and text match each other. While previous studies focused on generating the recognition results from input images, our approach also considers the model's misrecognition results to understand its error tendencies, thus improving the text recognition pipeline. This method boosts text recognition accuracy by providing explicit feedback on the data that the model is likely to misrecognize by predicting correct or incorrect between the image and text. The experimental results on publicly available datasets demonstrate that our proposed method outperforms the baseline and state-of-the-art methods in scene text recognition.
[ -0.1143430769443512, -0.47561874985694885, 0.7210608720779419, -0.0011529414914548397, -0.2819252908229828, 0.11693662405014038, 0.17432479560375214, -0.7181541919708252, -0.22936002910137177, 0.5404719710350037, -0.17921961843967438, -0.2973535656929016, -0.6236779093742371, 0.38464510440826416, -0.4128359258174896, 0.6677969098091125, 0.11885768175125122, 0.3395054042339325, -0.3981698751449585, -0.07291392236948013, -0.7028850317001343, -0.1309945285320282, -0.7677720785140991, -0.200645312666893, 0.5609663128852844, 0.25247111916542053, 0.5296205878257751, 0.7169312834739685, 0.9467805027961731, 0.473168283700943, -0.23313754796981812, 0.38398483395576477, -0.14578860998153687, 0.09583006799221039, -0.3104322552680969, -0.21410222351551056, 0.11495114117860794, -0.23183754086494446, 0.5896122455596924, 0.03987661004066467, 0.36372703313827515, 0.055978287011384964, 0.2749653160572052, 0.7638581395149231, -0.8676536679267883, -0.11205191910266876, -0.3553377091884613, 0.18261687457561493, -0.16181352734565735, -0.5887093544006348, -0.6799331903457642, -0.4079669415950775, 0.21830472350120544, -0.3472708761692047, 0.4923248291015625, 0.18537737429141998, 0.9180939197540283, 0.3340742290019989, -0.46351689100265503, -0.1024860069155693, -0.7594387531280518, 0.49927306175231934, -0.5555062890052795, 0.49935001134872437, 0.30592218041419983, 0.40305617451667786, -0.022237855941057205, -0.6965554356575012, -0.6114147901535034, -0.0921139046549797, -0.2922798693180084, 0.290524959564209, 0.037813376635313034, 0.004940364044159651, 0.5018109083175659, 0.3985432982444763, -0.17663557827472687, -0.4833603799343109, -0.22572940587997437, -0.3699572682380676, 0.26440444588661194, 0.09973369538784027, 0.3127329349517822, -0.3109726011753082, -0.5178184509277344, -0.5789310336112976, -0.0596165806055069, 0.23907609283924103, 0.002795204985886812, 0.31193411350250244, 0.32591474056243896, 0.5671964883804321, 0.043195512145757675, 0.962661623954773, 0.08483098447322845, -0.22326980531215668, 0.5503895282745361, -0.5473195314407349, -0.33751004934310913, 0.02526874840259552, 0.5299375057220459, 0.9590497016906738, 0.05657551437616348, 0.10543457418680191, -0.16929340362548828, 0.03394467383623123, 0.5234101414680481, -0.8314680457115173, -0.27859732508659363, -0.21485544741153717, -0.5559990406036377, -0.4614125192165375, 0.19357989728450775, -0.908079206943512, -0.6696893572807312, -0.3213033676147461, 0.6083256006240845, -0.42425644397735596, 0.009396446868777275, -0.0603473074734211, -0.7190292477607727, 0.13491162657737732, 0.8985024094581604, -0.28202372789382935, 0.037712354212999344, 0.1434977948665619, 0.8235189914703369, 0.2318599373102188, -0.10158490389585495, -0.481973797082901, -0.08400261402130127, -0.531851589679718, 1.2248196601867676, -0.4982130229473114, -0.33713048696517944, -0.2376173883676529, -0.12311070412397385, -0.16573119163513184, -0.46900618076324463, 0.8622872829437256, -0.3747234046459198, 0.42867475748062134, -0.4441111385822296, -0.4311148226261139, -0.21169881522655487, 0.49435266852378845, -0.8949869871139526, 1.307042121887207, -0.07763832807540894, -1.3054851293563843, 0.6318817138671875, -0.33671772480010986, -0.2940561771392822, 0.0807560533285141, 0.008514583110809326, -0.645990252494812, 0.24143677949905396, 0.7513183951377869, 0.41070041060447693, 0.2716507315635681, -0.1282835602760315, -0.20461149513721466, -0.3793827295303345, 0.44679397344589233, -0.5319393277168274, 0.3338300883769989, 0.24471250176429749, 0.22833336889743805, -0.004658161196857691, -0.7425934076309204, 0.3153609335422516, -0.04803179204463959, -0.404033899307251, -0.7645700573921204, 0.12899748980998993, 0.29264211654663086, 0.131879061460495, 0.3291427493095398, -0.664673924446106, -0.23282626271247864, -0.49330073595046997, -0.17220865190029144, 0.5002565383911133, 0.18837246298789978, 0.529125988483429, -0.30127114057540894, 0.14061836898326874, 0.03638242185115814, -0.17574188113212585, -0.6486789584159851, -0.30304962396621704, -0.8091197609901428, -0.12668372690677643, 0.7143193483352661, 0.8371784687042236, -0.937635064125061, 0.46754905581474304, 0.0031569399870932102, -0.43494364619255066, -0.19939671456813812, -0.46428751945495605, 0.9414967894554138, 0.7839906811714172, 0.45376232266426086, -0.34068360924720764, -0.8616417050361633, -0.6939201354980469, -0.66438227891922, -0.16270862519741058, 0.06708197295665741, 0.5783877372741699, 0.31444424390792847, 0.07798748463392258, 0.8604100346565247, -0.38121548295021057, -0.3144345283508301, -0.33647850155830383, 0.09781728684902191, -0.04718489199876785, 0.6576864123344421, 0.44566288590431213, -0.8092196583747864, -0.39004531502723694, 0.2675335109233856, -0.6120752096176147, 0.03803892433643341, -0.10622135549783707, -0.04293350130319595, 0.16573432087898254, 0.5764175057411194, 0.06474162638187408, 0.7990239262580872, 0.28381770849227905, -0.7825825810432434, 0.30428972840309143, -0.3202328681945801, 1.0026429891586304, -1.1570082902908325, -0.12918144464492798, 0.3670330047607422, -0.7800966501235962, -0.6092150211334229, 0.09649143368005753, 0.26332390308380127, 0.2077353298664093, -0.41565006971359253, 0.5296854376792908, -0.21331055462360382, -0.40515798330307007, -0.2776879072189331, 0.06995376944541931, 0.28340616822242737, 0.21947753429412842, 0.1250292956829071, 1.0676277875900269, 0.15305395424365997, -0.6044033765792847, -0.1358184814453125, 0.463591605424881, -0.7340158820152283, 0.7597957253456116, -0.6188242435455322, 0.21746447682380676, -0.27521029114723206, 0.163496732711792, -1.4645397663116455, -0.43560129404067993, 0.04897255823016167, -0.762736976146698, 0.24845801293849945, 0.022868767380714417, -0.5128777623176575, -0.29564204812049866, 0.029816564172506332, 0.4110538363456726, 0.24073976278305054, -0.8160498142242432, 0.8280770778656006, 0.14964281022548676, 0.13992276787757874, -0.6674325466156006, -0.8308730721473694, 0.15495577454566956, -0.02932693250477314, -0.1469731628894806, 0.32689324021339417, 0.24943174421787262, -0.14109808206558228, -0.20897257328033447, -0.19374118745326996, -0.4103453755378723, -0.13998329639434814, 0.027323748916387558, 0.39520710706710815, 0.21735000610351562, 0.17920319736003876, 0.22320206463336945, -0.1685485690832138, -0.13767343759536743, 0.1891825646162033, 0.2623496949672699, 0.046756673604249954, -0.076496422290802, -0.6392451524734497, -0.13250194489955902, 0.2311023771762848, -0.08710139989852905, -0.05115301534533501, 0.4732341766357422, -0.344262957572937, 0.17865069210529327, -0.49380508065223694, 0.19384843111038208, -0.4633255898952484, 0.37062713503837585, -0.432267427444458, -0.743518590927124, 0.2558877170085907, -0.17749257385730743, -0.23193594813346863, 0.42196810245513916, 0.059528544545173645, -0.37445205450057983, 1.02511727809906, 0.4305758476257324, 0.22726376354694366, 0.7628389596939087, 0.3845343291759491, 0.12217895686626434, -0.8870331645011902, -0.2065146267414093, -0.93583083152771, -0.32325491309165955, -0.273924857378006, -0.614734411239624, 0.22425256669521332, -0.05112547054886818, -0.17179211974143982, 0.5591686964035034, -0.7714859843254089, 1.258020281791687, 0.4780944287776947, 0.7218371033668518, 0.5778319835662842, -0.09461334347724915, -0.44343993067741394, -0.4800165593624115, -0.3963523209095001, -0.4703996777534485, 0.7373649477958679, 0.2847936153411865, 0.4208711087703705, -0.2049819529056549, 0.6745858192443848, 0.48167890310287476, 0.06867978721857071, -0.5414637923240662, 0.577549159526825, -0.2555074691772461, -0.43238118290901184, -0.10524120181798935, -0.3847411870956421, -0.6254562139511108, 0.22581453621387482, -0.4633340537548065, -0.6819862127304077, 0.34959664940834045, 0.2742764353752136, -0.08414936065673828, 0.20778387784957886, -0.6709504127502441, 0.8209136724472046, 0.047354135662317276, -0.29160934686660767, -0.0549703948199749, -0.6148105263710022, 0.2767786383628845, 0.21558576822280884, 0.06581608206033707, 0.28200796246528625, 0.05661999434232712, 0.7174696922302246, -0.3558994233608246, 0.799481987953186, -0.2444935441017151, 0.04260235279798508, 0.30849912762641907, 0.12462116777896881, 0.5155221819877625, -0.16776375472545624, -0.030659768730401993, -0.04374061897397041, -0.09473496675491333, -0.09643995761871338, -0.6982645988464355, 0.2738479673862457, -0.35371747612953186, 0.03170682117342949, -0.6312068700790405, -0.41426539421081543, -0.1475864201784134, 0.2376483678817749, 0.4478456676006317, 0.778796911239624, -0.4491886794567108, -0.09028369188308716, 0.6199876666069031, -0.3251610994338989, 0.6485834121704102, 0.1413734257221222, -0.5457856059074402, -1.0136220455169678, 0.4887794554233551, -0.34828782081604004, 0.14356224238872528, 0.6813054084777832, 0.08625470101833344, -0.5460445284843445, -0.5764791965484619, -0.5763031840324402, -0.4760381579399109, -0.852227509021759, -0.6359617114067078, -0.624274492263794, -0.1553138792514801, 0.057880982756614685, -0.14343303442001343, -0.24974195659160614, -0.2985416352748871, -0.23870272934436798, -0.00271036964841187, 0.4585944712162018, 0.7474594712257385, 0.3538154363632202, 0.38358205556869507, -0.9870676398277283, 0.15924657881259918, 0.1468236744403839, 0.30690330266952515, -0.14677968621253967, -0.7047923803329468, -0.2951114773750305, -0.21200594305992126, -0.1874621957540512, -0.5365675091743469, 0.45502063632011414, 0.11117767542600632, 0.005066961050033569, 0.16910718381404877, -0.08209773153066635, 1.1302815675735474, -0.7661336064338684, 0.5605583190917969, 0.35595911741256714, -1.2990890741348267, 0.8924429416656494, -0.3204687237739563, 0.6278616189956665, 0.8798741102218628, -0.3089218735694885, -0.11712562292814255, -0.5816546678543091, -0.6246413588523865, -0.4128250181674957, 0.48305198550224304, 0.42877596616744995, 0.12432067841291428, 0.19638638198375702, 0.165792778134346, -0.1715533584356308, 0.020302142947912216, -0.6993415355682373, 0.2218775898218155, -0.1706513911485672, -0.4321671426296234, 0.08172659575939178, -0.16759593784809113, 0.27088069915771484, -0.47145766019821167, 0.21133199334144592, -0.14300581812858582, 0.5565543174743652, 0.8100039958953857, 0.022081322968006134, -0.18295221030712128, 0.29004424810409546, 0.378276526927948, 0.40389230847358704, -0.21420715749263763, 0.10701601207256317, 0.4246850609779358, -0.7173396944999695, 0.21610167622566223, -0.12937785685062408, -0.152308389544487, 0.35479897260665894, 0.5668770670890808, 0.7040292620658875, 0.30666273832321167, -0.6897090673446655, 0.7907643914222717, -0.41799771785736084, -0.4370330274105072, -0.1345835030078888, 0.36385825276374817, -0.5721808671951294, 0.6486629247665405, 0.35141780972480774, 1.1354074478149414, 0.5466468334197998, -0.10596881806850433, 0.41418200731277466, 0.19700101017951965, -0.6296628713607788, 0.22686201333999634, 0.27599677443504333, 0.0647912323474884, -0.5410047173500061, 0.2707960307598114, -0.2419949173927307, -0.7690799236297607, 0.7744033336639404, 0.6911631226539612, 0.90006422996521, -0.30346542596817017, 0.02166507951915264, 0.9441682696342468, 0.09448771178722382, -0.4943176507949829, 0.29071059823036194, -0.046455055475234985, -1.0129231214523315, -0.6677619814872742, -0.39081066846847534, -0.6110708713531494, -0.19399429857730865, -0.6037321090698242, 0.34522613883018494, -0.6607580780982971, -0.2072301208972931, -0.0991387888789177, -0.1460934579372406, -0.37220102548599243, 0.8028703927993774, -0.18891361355781555, 1.0024011135101318, -0.5804492235183716, 0.6412428021430969, 0.6251246929168701, -0.08554346114397049, -0.7323338985443115, 0.41725674271583557, -0.19561149179935455, -0.4215967059135437, 0.7295886278152466, 0.6233078837394714, -0.2543319761753082, 0.07952648401260376, -0.5200024843215942, -0.7947708964347839, 0.8959360718727112, -0.15088163316249847, -0.8001903891563416, 0.3940853774547577, -0.47349148988723755, 0.6295331120491028, -0.3191491365432739, 0.4765636920928955, 0.36329635977745056, 0.46569469571113586, 0.42712074518203735, -0.9563561677932739, 0.018643351271748543, -0.39975443482398987, 0.43920764327049255, 0.545355498790741, -0.09372521191835403, 0.375045508146286, -0.41537144780158997, -0.26765650510787964, 0.4331009089946747, 0.5903329253196716, 0.3324143588542938, 0.8786457180976868, 0.8369019627571106, 0.7986855506896973, 0.6904370784759521, -0.2930293083190918, 0.9975454807281494, 0.12949492037296295, 0.27350860834121704, 1.2577558755874634, -0.2734464704990387, 1.046460509300232, 0.21325473487377167, -0.42035192251205444, 0.6501224637031555, 0.5105023980140686, -0.2642005383968353, 0.866308331489563, -0.2198760211467743, -0.09323194622993469, -0.24309761822223663, -0.04627957567572594, -0.16775605082511902, 0.48576417565345764, 0.18063370883464813, -0.7054087519645691, -0.23183085024356842, 0.15934067964553833, -0.3362410068511963, 0.5758850574493408, -0.533976674079895, 1.191163182258606, -0.4251887798309326, -0.6897479891777039, 0.11784619092941284, -0.13315032422542572, 0.46135199069976807, -0.04006097838282585, -0.19227901101112366, 0.4089824855327606, 0.4731229245662689, -0.2799831032752991, -1.0204395055770874, 0.5365561246871948, 0.041840218007564545, -0.29021409153938293, -0.10718408226966858, 1.2840392589569092, -0.29245004057884216, -0.7642222046852112, 0.04538397863507271, 0.3639935851097107, -0.10382245481014252, -0.03235235810279846, -0.6976993083953857, -0.007382726296782494, 0.29942357540130615, 0.2543623149394989, 0.03256295621395111, 0.5639715194702148, 0.2313721477985382, 0.2676704227924347, 0.5505329966545105, -0.3663986623287201, -0.41370928287506104, 0.12953786551952362, 0.6488380432128906, -0.8310775756835938, -0.609937846660614, -0.7497596144676208, 0.7493131756782532, -0.5872383117675781, -0.5499296188354492, 0.6936801671981812, 0.5666453838348389, 0.7761240601539612, -0.26686835289001465, 0.7163247466087341, -0.1267215758562088, 0.9923425316810608, -0.6841098666191101, 0.34770411252975464, -0.4018585681915283, 0.18591530621051788, -0.8720811605453491, -0.7526397705078125, -0.6144545078277588, 1.0928901433944702, -0.37126225233078003, 0.20628893375396729, 0.9888205528259277, 0.7949756383895874, -0.11497098207473755, 0.2456885278224945, 0.1635681837797165, -0.19704031944274902, -0.21241813898086548, 0.28619036078453064, 1.0304450988769531, -0.941297173500061, 0.24567300081253052, -0.08982681483030319, -0.020318852737545967, -0.03191476687788963, -1.019129753112793, -1.2372709512710571, -0.5118446350097656, -0.37847045063972473, -0.6035237908363342, 0.11315479874610901, 0.7092434167861938, 0.42707914113998413, -0.5681612491607666, 0.28991302847862244, -0.6634058952331543, 0.07685083150863647, -0.24487558007240295, -0.2460373193025589, 0.02562684752047062, -0.5150730609893799, -0.7095124125480652, 0.18386736512184143, 0.29760226607322693, 0.41199547052383423, 0.18983128666877747, 0.08891419321298599, -0.1374710351228714, 0.035720400512218475, 0.4728342294692993, -0.1919250339269638, -0.37405961751937866, -0.2627987563610077, -0.2924737334251404, -0.23616859316825867, 0.3980594277381897, 0.8939058184623718, -0.9969671964645386, 0.4662618935108185, 0.8101367950439453, 0.6791083216667175, 0.37728506326675415, 0.2854536473751068, 0.45675238966941833, -0.8766619563102722, 0.09840250760316849, 0.0891544446349144, 0.3153083324432373, 0.6040783524513245, -0.5904361009597778, 0.6198752522468567, 0.14331085979938507, -0.806839644908905, -0.5719352960586548, 0.22581522166728973, -1.0912326574325562, -0.24482035636901855, 0.6144447922706604, -0.10288920998573303, -0.4352143704891205, -0.12626364827156067, -0.7147378921508789, 0.08247943967580795, -0.585681676864624, 0.5628300905227661, 0.570464551448822, 0.19414259493350983, -0.6226853728294373, -0.2865959405899048, 0.5225679278373718, 0.16927266120910645, -0.9026980996131897, -0.048378460109233856, 0.6554321050643921, -0.0024426078889518976, 0.25808778405189514, 0.5487135648727417, -0.06232326850295067, 0.44821467995643616, -0.0013014354044571519, -0.18948982656002045, 0.13787855207920074, -0.39671212434768677, -0.4198378622531891, -0.1804608404636383, -0.1689717024564743, -0.39225801825523376 ]
http://arxiv.org/abs/2404.05966v1
http://arxiv.org/pdf/2404.05966v1
THOUGHTSCULPT: Reasoning with Intermediate Revision and Search
2024-04-09T02:53:14
2024-04-09T02:53:14
Yizhou Chi, Kevin Yang, Dan Klein
cs.CL
cs.CL, cs.AI
We present THOUGHTSCULPT, a general reasoning and search method for tasks with outputs that can be decomposed into components. THOUGHTSCULPT explores a search tree of potential solutions using Monte Carlo Tree Search (MCTS), building solutions one action at a time and evaluating according to any domain-specific heuristic, which in practice is often simply an LLM evaluator. Critically, our action space includes revision actions: THOUGHTSCULPT may choose to revise part of its previous output rather than continuing to build the rest of its output. Empirically, THOUGHTSCULPT outperforms state-of-the-art reasoning methods across three challenging tasks: Story Outline Improvement (up to +30% interestingness), Mini-Crosswords Solving (up to +16% word success rate), and Constrained Generation (up to +10% concept coverage).
[ -0.37680113315582275, -1.0147781372070312, 1.0169365406036377, 0.008813101798295975, -0.45107370615005493, 0.29874810576438904, 0.020745549350976944, 0.08242616802453995, 0.35181552171707153, 0.3681415319442749, -1.0456291437149048, -0.228239044547081, -0.2736654579639435, -0.19432124495506287, -0.23061895370483398, 1.0939189195632935, -0.22753380239009857, -0.09954407066106796, -0.21837490797042847, 0.20582549273967743, -0.576036274433136, -0.40078961849212646, -1.0114651918411255, -0.38344839215278625, 0.6505147218704224, 0.4992884397506714, 0.49213945865631104, 0.0829533189535141, 0.719799280166626, 0.23811939358711243, -0.15212346613407135, 0.2220732569694519, -0.4899909198284149, 0.520559549331665, -0.7475335597991943, -0.3832128942012787, -0.3537653386592865, 0.017661429941654205, 0.15121711790561676, 0.43186336755752563, -0.4361143708229065, 0.17265520989894867, 0.07659150660037994, 1.0369070768356323, -0.7681049108505249, 0.2576262950897217, -0.6481060981750488, 0.08108685165643692, -0.14572949707508087, -0.4879515767097473, -0.3503299057483673, -0.24945706129074097, -0.04628349840641022, -0.3988128900527954, 0.48595207929611206, 0.23986633121967316, 0.41299229860305786, 0.3294700086116791, -0.2896522879600525, -0.4658644199371338, -0.7030702829360962, 0.6318101286888123, -0.6777818202972412, 0.416670024394989, 0.061379723250865936, 0.4674818515777588, -0.5222766995429993, -0.9348706007003784, -0.740243136882782, -0.27818360924720764, 0.010063285939395428, 0.6111025214195251, -0.04747501760721207, 0.2966541051864624, 0.3741191327571869, 0.6202221512794495, -0.7074011564254761, -0.5567970275878906, -0.14771518111228943, -0.028208427131175995, 0.6215322017669678, 0.3033851385116577, 0.12986820936203003, -0.17350906133651733, -0.092843197286129, -0.11338116228580475, -0.6305353045463562, 0.20030662417411804, 0.2669718265533447, -0.01618141122162342, 0.7044086456298828, 0.7390257716178894, -0.41195350885391235, 0.4513949751853943, 0.13767288625240326, -0.007045464124530554, -0.2777574956417084, -0.25596559047698975, -0.36934176087379456, -0.10487360507249832, 0.5053750276565552, 0.20203836262226105, -0.2734260559082031, -0.17776814103126526, -0.39548954367637634, 0.21695485711097717, 0.5466417670249939, -0.45175254344940186, -0.664323091506958, 0.2957940995693207, -0.1156102642416954, -0.14805229008197784, -0.26542437076568604, -0.2246040552854538, -0.16008594632148743, -0.5276337265968323, 0.354152649641037, -0.6039775609970093, -0.04294542223215103, 0.17833681404590607, -0.1471502035856247, -0.0007720133871771395, 0.8346360921859741, -0.5419245362281799, 0.48770999908447266, 0.8419862985610962, 0.6243349313735962, -0.3466705083847046, -0.10668390989303589, -0.473122775554657, -0.015777284279465675, -0.6279410719871521, 1.2658436298370361, -0.47718027234077454, -0.38945722579956055, -0.4724147915840149, -0.2131284475326538, -0.08884956687688828, -0.3042317032814026, 0.9635410308837891, -0.4963602125644684, 0.3316335082054138, -0.5773956179618835, -0.6158405542373657, -0.34333959221839905, 0.7732561230659485, -0.6171413660049438, 1.140772819519043, 0.167518749833107, -1.062514066696167, 0.0320802740752697, -0.7443799376487732, -0.19796815514564514, 0.17154881358146667, -0.2741583287715912, -0.2801847755908966, 0.3042706251144409, 0.22398501634597778, 0.19346383213996887, -0.237177774310112, 0.1539495885372162, -0.11773095279932022, -0.48666495084762573, 0.0771411806344986, -0.34688782691955566, 0.6133415102958679, 0.38574227690696716, -0.32831013202667236, 0.1717122346162796, -0.24911093711853027, 0.12159384787082672, 0.21599601209163666, -0.1974441409111023, -0.02759014628827572, 0.27212586998939514, -0.3093801438808441, 0.19323809444904327, 0.17630839347839355, -0.6322382688522339, 0.470643013715744, 0.0213701743632555, 0.3230639696121216, 0.7251787185668945, 0.5118409395217896, 0.10717212408781052, -0.4807252585887909, 0.6789699196815491, 0.28609028458595276, 0.02565179020166397, -0.15674135088920593, -0.7343912124633789, -1.0305548906326294, 0.31171274185180664, 0.12833057343959808, 0.5047250986099243, -1.0882375240325928, -0.04276222363114357, -0.05613628774881363, -0.5535783767700195, -0.4581906795501709, -0.28063708543777466, 0.35459044575691223, 0.6284584999084473, 0.4556158483028412, -0.15656772255897522, -0.4075009822845459, -1.0540919303894043, -0.48475006222724915, -0.4398880898952484, 0.19693173468112946, 0.08999022096395493, 0.5386755466461182, -0.19174714386463165, 0.7421808838844299, -0.7093768119812012, -0.2627370059490204, -0.5297733545303345, 0.3033353090286255, 0.34022852778434753, 0.3812870681285858, 0.0045590708032250404, -0.9745047092437744, -0.1906266212463379, 0.013952100649476051, -0.387162446975708, 0.15717409551143646, -0.39267703890800476, -0.17849937081336975, -0.23533229529857635, 0.558426558971405, -0.8519909977912903, 0.5828647613525391, 0.20403675734996796, -0.02619549073278904, 0.8250596523284912, -0.1837688833475113, 0.44671499729156494, -0.9077963829040527, -0.07910221815109253, -0.14676694571971893, -0.1417955905199051, -0.4508540630340576, 0.7069531083106995, 0.05063379928469658, 0.0633895993232727, -0.4796198606491089, 0.11237403750419617, -0.40955477952957153, 0.029872477054595947, -0.24212715029716492, 0.3857870101928711, -0.11138316988945007, 0.7600141763687134, 0.03554361313581467, 0.8802831768989563, -0.044424157589673996, -0.40930142998695374, 0.5435830354690552, -0.19502317905426025, -0.2074340283870697, 0.4144665002822876, -0.5448014140129089, 0.5947355628013611, -0.36229825019836426, 0.4838643968105316, -1.0622373819351196, -0.05288130044937134, 0.11232772469520569, -0.4896010458469391, 0.07246776670217514, 0.037952739745378494, -0.6238759160041809, -0.6751092076301575, -0.4013443887233734, 0.2944679260253906, 0.22917096316814423, -0.12461256235837936, 0.5413106679916382, 0.06352388858795166, -0.194647416472435, -0.4750967025756836, -0.5535597801208496, 0.026128891855478287, 0.06374891102313995, -0.3296436667442322, 0.44890257716178894, -0.5920570492744446, -0.3228711187839508, 0.24744826555252075, -0.2924066185951233, 0.03668325021862984, -0.1437835991382599, -0.11588302254676819, 0.004937805235385895, -0.04430268332362175, 0.015577103942632675, 0.3292482793331146, 0.03616683930158615, 0.06809911876916885, -0.12541675567626953, 0.37392932176589966, -0.39414477348327637, -0.6434423923492432, 0.12810342013835907, 0.4310937523841858, 0.17362812161445618, -0.10416970402002335, -0.1499892622232437, 0.3597651720046997, -0.5419168472290039, -0.36686962842941284, -0.5868776440620422, 0.017155658453702927, -0.4573797881603241, 0.3429132103919983, -0.7906904220581055, -0.9266915321350098, 0.44133564829826355, -0.07471263408660889, 0.4091990292072296, 0.580007791519165, 0.7686986327171326, -0.507592499256134, 0.9352691173553467, 0.3944254517555237, 0.41187214851379395, 0.18302112817764282, -0.40523067116737366, 0.5299051403999329, -1.2915769815444946, -0.29263418912887573, -0.20450487732887268, -0.5093446373939514, -0.5385855436325073, -0.6700342297554016, 0.1520070880651474, 0.12907181680202484, 0.02679242007434368, 0.5247678756713867, -0.7699771523475647, 0.7257831692695618, 0.7514156103134155, 0.5123676657676697, 0.40462663769721985, -0.5283058285713196, -0.3362712562084198, -0.19941462576389313, -0.6375600695610046, -0.2908494472503662, 0.6975629925727844, -0.062288932502269745, 0.5299360156059265, 0.15167249739170074, 0.9508790969848633, 0.31330838799476624, 0.4804113209247589, -1.0447872877120972, 0.8408528566360474, 0.07101501524448395, -0.6707552075386047, -0.34731853008270264, -0.24514424800872803, -0.7748974561691284, 0.3939465582370758, 0.3270024061203003, -0.7373483180999756, 0.006468405481427908, 0.13420872390270233, -0.29848334193229675, 0.5213679075241089, -0.51768559217453, 0.5136014819145203, 0.10047228634357452, -0.4541838765144348, -0.42674630880355835, -0.4233183264732361, 0.7163753509521484, -0.07097965478897095, 0.033466409891843796, 0.0015945167979225516, 0.07243101298809052, 0.7217961549758911, -0.4228062629699707, 0.3008629083633423, 0.11189372092485428, 0.1754874587059021, 0.7312525510787964, 0.704561173915863, 0.7435152530670166, 0.12127870321273804, 0.2145681232213974, -0.6549970507621765, -0.022628555074334145, -0.41697385907173157, -1.047898769378662, 0.7805456519126892, -0.268766850233078, -1.2649171352386475, -0.7619314193725586, -0.666321337223053, -0.2329726219177246, 0.21019664406776428, 0.36555129289627075, 0.0763130709528923, -0.2853050231933594, -0.008140665479004383, 0.8315620422363281, 0.18906135857105255, 0.4503311514854431, 0.19413229823112488, -0.25475162267684937, -0.3113037347793579, 0.605233371257782, 0.1007784903049469, 0.02862456999719143, 0.6064075231552124, 0.22626197338104248, -0.17545773088932037, -0.8135221600532532, -0.09216710925102234, 0.08726606518030167, -0.8723130822181702, -0.35570743680000305, -0.6786467432975769, -0.3574737310409546, -0.20476976037025452, -0.104791060090065, -0.493301123380661, -0.673307478427887, 0.2098601907491684, -0.20282277464866638, 0.006512210704386234, 0.8252858519554138, 0.08198978006839752, 0.08597097545862198, -0.4135335385799408, 0.5947651267051697, 0.7631628513336182, -0.04925547540187836, -0.03679891675710678, -0.27502304315567017, -0.18386302888393402, 0.2464715987443924, -0.8888227343559265, -0.8799874782562256, 0.28814101219177246, -0.3060581088066101, 0.5528709888458252, 0.01284936536103487, 0.1554095447063446, 0.9201865792274475, -0.6846108436584473, 1.0454328060150146, 0.2616778314113617, -0.8131123185157776, 0.8589909076690674, -0.3757525682449341, 0.5029178261756897, 0.5873887538909912, 0.3616575598716736, -0.7412027716636658, -0.5398439168930054, -1.0361711978912354, -0.5745018124580383, 0.43597686290740967, 0.6251583099365234, -0.31444835662841797, -0.08637324720621109, 0.318161278963089, -0.2349986582994461, 0.04086108133196831, -0.37322989106178284, 0.11327164620161057, -0.12399616092443466, 0.10567928105592728, 0.09968996793031693, -0.07428184896707535, 0.00008464693382848054, -0.3215082287788391, 0.8160148859024048, -0.16834427416324615, 0.49153703451156616, 0.5544987916946411, -0.033591631799936295, -0.13474929332733154, 0.4178922176361084, 0.6262282729148865, 0.6994279623031616, -0.4900541305541992, 0.5144892334938049, 0.21579168736934662, -0.6521660089492798, 0.24718250334262848, -0.19634748995304108, -0.036873169243335724, -0.009028198197484016, 0.287531316280365, 0.3024548292160034, 0.167240709066391, -0.46138831973075867, 0.4701530635356903, -0.2764885723590851, -0.24111774563789368, -0.29434022307395935, 0.23629838228225708, 0.4013151228427887, 0.38236600160598755, 0.3051263988018036, 0.3874472975730896, 0.7273366451263428, -0.7106260061264038, 0.3272278308868408, 0.09162302315235138, -0.5391150712966919, -0.30461499094963074, 0.5961153507232666, -0.25512218475341797, -0.5327908396720886, 0.7971071004867554, -0.461190402507782, -0.6586813926696777, 0.5063933730125427, 0.3455810546875, 1.4017683267593384, -0.20155952870845795, 0.1470426321029663, 0.22390563786029816, 0.4173920452594757, -0.2025895118713379, 0.45476871728897095, -0.24699833989143372, -0.6510270237922668, -0.702887237071991, -0.22798742353916168, -0.9010884761810303, 0.20209117233753204, -0.5945034027099609, 0.32225820422172546, -0.49102890491485596, -0.13977593183517456, -0.1254594475030899, 0.2445780336856842, -0.6726033687591553, 0.39922699332237244, -0.10194487124681473, 0.985157310962677, -0.38094961643218994, 0.9605734348297119, 0.921531617641449, -0.4523591101169586, -0.6101881861686707, 0.12159132957458496, 0.02194659598171711, -0.5246912837028503, 0.5834482908248901, -0.12794499099254608, -0.3048662841320038, -0.1436023861169815, -0.5764538049697876, -0.7311928868293762, 1.0995656251907349, 0.16423587501049042, -0.6962266564369202, -0.43445441126823425, -0.15297585725784302, 0.5374768972396851, -0.22054535150527954, 0.3041437566280365, 0.6293458938598633, 0.2591091990470886, 0.36078453063964844, -0.572568953037262, -0.02673834189772606, -0.40593236684799194, 0.05718427896499634, 0.16062124073505402, -0.6995750665664673, 0.8490749001502991, -0.46065226197242737, -0.23150217533111572, -0.16109409928321838, 0.7973770499229431, 0.7965326905250549, 0.38386526703834534, 0.41856348514556885, 0.8954227566719055, 0.5793997645378113, -0.2473590075969696, 1.0085821151733398, 0.10283433645963669, 0.5092702507972717, 1.464208722114563, 0.04167242348194122, 0.9617304801940918, 0.5797632336616516, -0.2731286883354187, 0.5054681301116943, 1.0784295797348022, 0.5788858532905579, 0.7175493240356445, 0.3732289671897888, -0.14718638360500336, -0.34878018498420715, 0.10987905412912369, -0.03761785477399826, -0.07871320843696594, 0.44569215178489685, 0.05602462589740753, -0.20050661265850067, -0.2749413549900055, 0.0959385484457016, 0.029604077339172363, -0.22793790698051453, 0.5155295133590698, 0.28364893794059753, -1.0122979879379272, 0.21682672202587128, -0.16649465262889862, 0.0728190466761589, -0.2756059169769287, -0.36303234100341797, -0.5213676691055298, 0.3302626311779022, -0.17826049029827118, -1.1440365314483643, 0.35123032331466675, -0.3891076147556305, 0.05953342467546463, -0.3618580996990204, 0.6338622570037842, -0.22532035410404205, -0.5344583988189697, -0.10750014334917068, 0.5230960845947266, 0.029538344591856003, -0.31909170746803284, -0.9533340334892273, -0.06896227598190308, 0.24430188536643982, -0.7321056127548218, -0.04557877033948898, 0.9447458982467651, -0.08367696404457092, 0.8016120195388794, 0.6109882593154907, 0.10373697429895401, -0.16507172584533691, -0.06578320264816284, 1.2359869480133057, -0.8634833097457886, -0.5486797094345093, -0.676710307598114, 0.5495296120643616, -0.14139781892299652, -0.2754666805267334, 0.6265584230422974, 0.7595410346984863, 0.9621044397354126, 0.16344566643238068, 0.7024235129356384, 0.127567321062088, 0.5999065637588501, -0.532895028591156, 0.19581238925457, -0.27213120460510254, 0.29626205563545227, -0.5920250415802002, -1.3435043096542358, -0.14931081235408783, 0.45650577545166016, -0.2996695041656494, -0.13971848785877228, 1.316421627998352, 0.4117942452430725, -0.25118693709373474, 0.30882224440574646, 0.47949013113975525, -0.07531589269638062, 0.6823045611381531, 0.8322077989578247, 0.9724535942077637, -0.5226651430130005, 0.26519811153411865, -0.5826135277748108, -0.2670883536338806, -0.06362875550985336, -0.7532981634140015, -0.788284957408905, -0.7146096229553223, -0.5456775426864624, -0.189027801156044, 0.21499010920524597, 0.6972130537033081, 0.2854401171207428, -0.7300406098365784, -0.18487130105495453, -0.49297818541526794, 0.15570499002933502, -0.5843636989593506, -0.2851172387599945, 0.536788284778595, -0.5812610983848572, -0.489632785320282, 0.3529045581817627, 0.34806159138679504, -0.18008092045783997, -0.2546100616455078, 0.014095093123614788, -0.2877158224582672, 0.37581783533096313, 0.7301320433616638, -0.17379403114318848, -0.8027723431587219, -0.34273433685302734, 0.2653000056743622, 0.10580757260322571, 0.06518923491239548, 1.261605978012085, -0.8761064410209656, 0.6631608605384827, 0.8453035354614258, 0.4146600365638733, 1.2016890048980713, -0.09493015706539154, 0.30966565012931824, -0.42244234681129456, -0.11972052603960037, 0.8464936017990112, 0.6339812874794006, 0.08183646202087402, -0.3057776093482971, 0.9833133816719055, 0.3361857831478119, -0.678206205368042, -0.610204815864563, 0.42908909916877747, -1.1667098999023438, -0.48925578594207764, 0.8983684182167053, -0.17210811376571655, -0.43883606791496277, 0.047860149294137955, -0.6193565130233765, 0.23316772282123566, -0.47263118624687195, 0.7199632525444031, 0.7519658803939819, -0.6606091856956482, -0.6136810779571533, -0.5131234526634216, 0.4524753987789154, 0.18834933638572693, -0.7432049512863159, 0.11014547944068909, 0.24283568561077118, -0.14031729102134705, 0.2689402401447296, 0.8339565992355347, -0.2146519422531128, 0.5031443238258362, 0.021574946120381355, -0.08291401714086533, 0.16878223419189453, -0.22227689623832703, 0.2260255515575409, 0.08493834733963013, 0.07972589135169983, 0.07453016936779022 ]
http://arxiv.org/abs/2404.05961v1
http://arxiv.org/pdf/2404.05961v1
LLM2Vec: Large Language Models Are Secretly Powerful Text Encoders
2024-04-09T02:51:05
2024-04-09T02:51:05
Parishad BehnamGhader, Vaibhav Adlakha, Marius Mosbach, Dzmitry Bahdanau, Nicolas Chapados, Siva Reddy
cs.CL
cs.CL, cs.AI
Large decoder-only language models (LLMs) are the state-of-the-art models on most of today's NLP tasks and benchmarks. Yet, the community is only slowly adopting these models for text embedding tasks, which require rich contextualized representations. In this work, we introduce LLM2Vec, a simple unsupervised approach that can transform any decoder-only LLM into a strong text encoder. LLM2Vec consists of three simple steps: 1) enabling bidirectional attention, 2) masked next token prediction, and 3) unsupervised contrastive learning. We demonstrate the effectiveness of LLM2Vec by applying it to 3 popular LLMs ranging from 1.3B to 7B parameters and evaluate the transformed models on English word- and sequence-level tasks. We outperform encoder-only models by a large margin on word-level tasks and reach a new unsupervised state-of-the-art performance on the Massive Text Embeddings Benchmark (MTEB). Moreover, when combining LLM2Vec with supervised contrastive learning, we achieve state-of-the-art performance on MTEB among models that train only on publicly available data. Our strong empirical results and extensive analysis demonstrate that LLMs can be effectively transformed into universal text encoders in a parameter-efficient manner without the need for expensive adaptation or synthetic GPT-4 generated data.
[ -0.03414526954293251, -0.34813371300697327, 0.6028825640678406, 0.09160405397415161, -0.624943733215332, -0.10863789170980453, -0.25716179609298706, -0.31349441409111023, -0.06245250254869461, 0.6948249340057373, -0.32216066122055054, -0.6666605472564697, -0.982617199420929, 0.07638882100582123, -0.4969926178455353, 0.8614324927330017, -0.14245805144309998, 0.14057663083076477, -0.38756999373435974, -0.13731391727924347, -0.34690362215042114, -0.45775648951530457, -0.30345672369003296, -0.4455953538417816, 0.29983535408973694, 0.2064659744501114, 0.356965035200119, 0.5352678298950195, 0.35819727182388306, 0.20126768946647644, -0.279165118932724, 0.4106861352920532, -0.8219943046569824, 0.13199730217456818, -0.23180364072322845, -0.4545804262161255, -0.09749813377857208, -0.026613444089889526, 0.5443990230560303, 0.5999342799186707, -0.06061634048819542, -0.2268531173467636, 0.4631824791431427, 0.5811946392059326, -0.4263024926185608, 0.3334078788757324, -0.8015758395195007, -0.07690031081438065, -0.00028371665393933654, -0.13091948628425598, -0.6586201190948486, -0.06352705508470535, -0.13425974547863007, -0.23878808319568634, 0.05851239338517189, 0.05803801119327545, 0.40292075276374817, 0.2913362383842468, -0.7462201714515686, -0.30917996168136597, -0.6838589310646057, 0.8400679230690002, -0.3853066563606262, 0.5926946401596069, 0.2617294490337372, 0.04710371792316437, -0.16542859375476837, -0.7523595690727234, -0.4272591173648834, 0.03301146626472473, 0.08873256295919418, 0.3708338737487793, -0.3335874080657959, -0.07397179305553436, -0.055114977061748505, 0.1991540491580963, -0.5191843509674072, 0.2980741858482361, -0.2891177833080292, -0.028140489012002945, 0.237484872341156, 0.015622141771018505, -0.0627758726477623, -0.10447853803634644, -0.6619109511375427, -0.040518831461668015, -0.8337834477424622, -0.2665829658508301, -0.003303864039480686, 0.031261175870895386, -0.09607625752687454, 0.7278985977172852, 0.0636187344789505, 0.11278561502695084, -0.32242774963378906, -0.04426154866814613, 0.060352880507707596, -0.28547075390815735, -0.04632985219359398, -0.04374437779188156, 0.704394519329071, 0.378999799489975, 0.1686985045671463, -0.2992508113384247, -0.4417867958545685, 0.1916174739599228, 0.2323564738035202, -0.9649002552032471, -0.1489093005657196, 0.16360460221767426, -0.37905243039131165, -0.26004350185394287, 0.04094943776726723, -0.6992584466934204, -0.5302875638008118, -0.19263774156570435, 0.35806405544281006, -0.08145762234926224, -0.05833645910024643, 0.16530905663967133, 0.05727153271436691, 0.33268022537231445, 0.3846699297428131, -0.7787694334983826, 0.3519790768623352, 0.6886692047119141, 0.8431311249732971, -0.3933771550655365, -0.10398341715335846, -0.5281962156295776, 0.21193507313728333, -0.5576183795928955, 0.9132543802261353, -0.4827599823474884, -0.4646237790584564, 0.35317718982696533, 0.1773386150598526, 0.19267959892749786, -0.4981744587421417, 0.5043585300445557, -0.6530306339263916, 0.07526516914367676, -0.07720515131950378, -0.616208553314209, 0.06789983063936234, 0.08687212318181992, -0.6037567257881165, 1.110416293144226, 0.11881981045007706, -0.9046215415000916, -0.13673369586467743, -0.3016868829727173, -0.48697206377983093, -0.0009615769376978278, -0.08057151734828949, -0.2198505997657776, 0.27534452080726624, 0.367529034614563, 0.7454686164855957, -0.4844335913658142, 0.10816002637147903, -0.12792375683784485, -0.3870279788970947, 0.369067519903183, -0.5955870747566223, 0.36893659830093384, 0.07522570341825485, -0.21174074709415436, 0.06220962107181549, -0.4407384395599365, -0.3032224178314209, 0.21840064227581024, -0.5247752070426941, -0.4105764329433441, -0.1133914589881897, 0.20144641399383545, 0.21449217200279236, 0.2900232970714569, -0.503807008266449, 0.13820353150367737, -0.6018829941749573, 0.6401739120483398, 0.7364048957824707, -0.3068874180316925, 0.6566969752311707, 0.14332102239131927, 0.01694185845553875, -0.04976021125912666, -0.25720518827438354, -0.2243049442768097, -0.6252183318138123, -0.7951192855834961, -0.30963969230651855, 0.4519839882850647, 0.5763730406761169, -0.8688749670982361, 0.5277209877967834, -0.41226431727409363, -0.1672440618276596, -0.5113226175308228, 0.35179436206817627, 0.41451549530029297, 0.28959429264068604, 0.4387558102607727, -0.11809371411800385, -0.46485164761543274, -0.8714642524719238, -0.18277189135551453, -0.11036848276853561, -0.44850876927375793, 0.21528299152851105, 0.6147434115409851, -0.6617399454116821, 0.3418130576610565, -0.38747870922088623, -0.39869025349617004, -0.6014911532402039, 0.11752090603113174, 0.05478925630450249, 0.28182026743888855, -0.05883125960826874, -0.616598904132843, -0.17574533820152283, 0.012585028074681759, -0.7237953543663025, -0.05323413014411926, -0.0032758626621216536, -0.019475145265460014, 0.26648128032684326, 0.8538521528244019, -0.38057488203048706, 0.38216960430145264, 0.9060009717941284, -0.2654804289340973, 0.0037685977295041084, -0.6311486959457397, -0.16396720707416534, -1.2966796159744263, -0.1307036280632019, -0.0930667594075203, -0.5206683874130249, -0.571260929107666, 0.018140340223908424, 0.35895588994026184, -0.11578048765659332, -0.3526538610458374, 0.7920688986778259, -0.5634017586708069, -0.19335094094276428, -0.4255611300468445, 0.3485899865627289, -0.03918590769171715, 0.3815964162349701, 0.06698792427778244, 0.6105803847312927, 0.3769698739051819, -0.37257927656173706, 0.415017306804657, 0.39371246099472046, -0.43286097049713135, 0.142348974943161, -0.5622943043708801, 0.38546550273895264, -0.2730879485607147, 0.37817034125328064, -1.1155390739440918, -0.19825977087020874, 0.055812545120716095, -0.33527764678001404, 0.4204410910606384, -0.11057748645544052, -0.5867032408714294, -0.1898239552974701, -0.33843857049942017, 0.2171991914510727, 0.8410497307777405, -1.0356976985931396, 0.6815522313117981, 0.2986524999141693, -0.185337096452713, -0.20259307324886322, -1.151162028312683, 0.2567552328109741, 0.30845460295677185, -0.42389199137687683, 0.6145840287208557, -0.07393372803926468, 0.058665916323661804, 0.07933437824249268, -0.041688647121191025, 0.0620211586356163, -0.1291557401418686, 0.36911147832870483, 0.13888515532016754, 0.020215535536408424, 0.07383175194263458, 0.21727240085601807, -0.42287901043891907, -0.1285281479358673, -0.43688639998435974, 0.39494848251342773, 0.04741564020514488, -0.27961617708206177, -0.44866544008255005, 0.5080425143241882, 0.56790691614151, -0.32624301314353943, 0.7035104036331177, 0.44221919775009155, -0.42563581466674805, -0.32082614302635193, -0.5500961542129517, -0.2316858172416687, -0.4330088496208191, 0.7123758792877197, -0.26146191358566284, -1.1540918350219727, 0.16243797540664673, -0.4826407730579376, -0.003335697576403618, 0.23315703868865967, 0.7585479021072388, -0.00309058022685349, 1.0364748239517212, 0.7052986025810242, -0.004463986959308386, 0.23440435528755188, -0.19440360367298126, 0.11507915705442429, -0.8639986515045166, -0.6088462471961975, -0.2061496078968048, -0.015995120629668236, -0.6167006492614746, -1.0688451528549194, 0.1573716104030609, 0.14270876348018646, 0.03835006430745125, 0.20474781095981598, -0.25460541248321533, 0.6399524807929993, 0.27326706051826477, 0.09362522512674332, 0.10575366020202637, 0.24084147810935974, -0.05086725950241089, -0.02071729116141796, -0.4576069116592407, -0.5167624950408936, 1.3268893957138062, 0.5272629261016846, 0.7246169447898865, 0.13674159348011017, 0.6429396271705627, 0.16062031686306, 0.2643052339553833, -0.9521861672401428, 0.5156125426292419, -0.602570116519928, -0.24803107976913452, -0.08091635257005692, -0.2892586290836334, -0.7791147232055664, 0.5215049386024475, -0.3487226068973541, -0.43003302812576294, 0.02300691418349743, -0.19168612360954285, 0.07562071830034256, 0.4125075042247772, -0.3720490038394928, 0.6089146137237549, -0.07383331656455994, -0.4843199551105499, -0.25015586614608765, -0.36597707867622375, 0.16991251707077026, -0.18282027542591095, 0.2629888355731964, -0.034138765186071396, -0.4941284656524658, 0.71909099817276, -0.0892191007733345, 0.7590113878250122, 0.011234533041715622, -0.1890738308429718, 0.16908186674118042, 0.15015079081058502, 1.0574895143508911, 0.1057479977607727, 0.03691612556576729, 0.3770958483219147, -0.4422354996204376, -0.4799954891204834, -0.5519357919692993, 0.9444001317024231, -0.6763208508491516, -0.4491478502750397, -0.20778363943099976, -0.1500411480665207, -0.26902180910110474, 0.03007754310965538, 0.1223226860165596, 0.47407621145248413, -0.3743748962879181, 0.5455556511878967, 0.913963794708252, 0.05703947693109512, 0.29463452100753784, 0.3907543122768402, 0.02230329066514969, -0.5323107242584229, 0.7198407649993896, -0.26837509870529175, -0.12857849895954132, 0.7116898894309998, 0.19202153384685516, -0.6206362843513489, -0.7225339412689209, -0.2429332286119461, 0.37881234288215637, -0.8988949060440063, -0.1938045173883438, -0.8274229168891907, -0.12064122408628464, -0.47012877464294434, -0.2643035054206848, -0.7662161588668823, -0.08937165886163712, -0.6804782748222351, -0.23105885088443756, -0.011784418486058712, 0.9565824866294861, 0.031506918370723724, 0.1437027007341385, -0.6012584567070007, 0.3742575943470001, 0.5970260500907898, 0.13959933817386627, -0.3234338164329529, -0.801794171333313, -0.12935326993465424, -0.3288184404373169, 0.07260391116142273, -0.7187896966934204, 0.5160617828369141, -0.044628605246543884, 0.35136088728904724, 0.46330294013023376, -0.007165555376559496, 0.06465060263872147, -0.6702216863632202, 0.7166755199432373, 0.32508185505867004, -0.8153675198554993, 0.24106360971927643, -0.04059334844350815, 0.21146947145462036, 0.2633485794067383, 0.31301361322402954, -0.3468683660030365, -0.061276357620954514, -0.1638774424791336, -0.8255321979522705, 0.5622658133506775, 0.33273324370384216, 0.3957306742668152, 0.0728948786854744, 0.4014623463153839, 0.07187389582395554, -0.08697167038917542, -0.7340848445892334, -0.08578009903430939, -0.36720845103263855, -0.37394487857818604, -0.2714207172393799, -0.8760777711868286, -0.03739812970161438, -0.030237974599003792, 0.4043006896972656, -0.22044073045253754, 0.38035401701927185, 0.13689152896404266, -0.13372448086738586, 0.27165788412094116, 0.5135142803192139, 0.4023423492908478, 0.18823868036270142, -0.1328001469373703, 0.5939052104949951, 0.38487666845321655, -0.22745943069458008, 0.04785531759262085, 0.14696374535560608, 0.05833689123392105, -0.1623031049966812, 0.5501086115837097, 0.8200176358222961, 0.5572157502174377, -0.5090681314468384, 0.8905548453330994, -0.12062018364667892, -0.33339381217956543, -0.05520350858569145, -0.23654161393642426, 0.43643495440483093, 0.4121130704879761, 0.17067287862300873, -0.1502988338470459, 0.040039315819740295, -0.4092767536640167, 0.07535912096500397, 0.349221408367157, -0.5177972912788391, -0.3902220129966736, 0.7208284735679626, 0.5669914484024048, 0.027171451598405838, 0.3865737318992615, -0.19836287200450897, -0.566400945186615, 0.22498725354671478, 0.8689225316047668, 0.8969660997390747, -0.26177793741226196, 0.07733918726444244, 0.3283143639564514, 0.46401700377464294, -0.41444265842437744, 0.047621309757232666, -0.0025194408372044563, -0.6708389520645142, -0.23651480674743652, -0.6061126589775085, -0.2797258496284485, 0.2847476899623871, -0.37343451380729675, 0.025190051645040512, -0.3658742308616638, 0.2335159182548523, -0.28117281198501587, -0.08246396481990814, -0.6913488507270813, 0.03296208754181862, 0.31083381175994873, 0.642307460308075, -0.8167498111724854, 1.0947794914245605, 0.6559582948684692, 0.03883587196469307, -0.4049384891986847, 0.03374684602022171, -0.09346239268779755, -0.9744542837142944, 0.6162152290344238, 0.3874375820159912, -0.25212913751602173, 0.057827915996313095, -0.573889434337616, -0.7262465357780457, 1.1627975702285767, 0.2736609876155853, -0.8028002977371216, 0.0015614054864272475, 0.1355726271867752, 0.41952115297317505, -0.503991425037384, 0.22445444762706757, 0.45302969217300415, 0.2541055679321289, 0.31914815306663513, -0.36960116028785706, 0.20653030276298523, -0.04993290826678276, 0.48529186844825745, -0.0936620756983757, -0.4484277069568634, 0.6608015894889832, -0.35920390486717224, -0.38510003685951233, 0.06456858664751053, 0.8158047199249268, 0.04739171639084816, 0.023558486253023148, 0.2817763090133667, 0.34643030166625977, 0.6731045842170715, 0.02893913723528385, 1.0609161853790283, -0.16883467137813568, 0.2280762791633606, 0.7768835425376892, -0.2887510657310486, 1.1736654043197632, 0.520534336566925, 0.0033419071696698666, 0.3115456998348236, 0.26986628770828247, -0.03646599501371384, 0.7551290392875671, 0.046288080513477325, -0.2448982298374176, -0.6245136857032776, -0.08055698871612549, -0.08372978866100311, 0.4303933084011078, 0.2200942039489746, -0.36833885312080383, -0.10964853316545486, 0.05765052139759064, 0.032382167875766754, 0.2566474974155426, -0.32103294134140015, 0.8798730969429016, 0.30616143345832825, -0.3008074164390564, 0.5547971129417419, 0.42067983746528625, 0.9844774007797241, -0.5618352890014648, -0.05542414262890816, -0.4344107210636139, 0.3626474440097809, -0.07168785482645035, -0.8564985394477844, -0.02007085643708706, 0.19438813626766205, -0.12411986291408539, -0.2961222529411316, 0.9124919176101685, -0.6247893571853638, -0.4151069223880768, 0.6588417887687683, 0.3141215741634369, 0.20054751634597778, -0.27831006050109863, -0.4395827651023865, 0.05062518268823624, 0.19693580269813538, -0.297961950302124, 0.5137208700180054, 0.436241090297699, 0.16038522124290466, 0.6032614707946777, 0.7203652262687683, -0.005396989174187183, -0.2968341112136841, 0.06256760656833649, 1.0157324075698853, -0.6967297792434692, -0.3277658522129059, -0.6840097308158875, 0.4127422571182251, 0.13473419845104218, 0.03198625519871712, 0.5131422877311707, 0.565995454788208, 0.7053789496421814, -0.10783084481954575, 0.7807580232620239, 0.694648265838623, 0.33621838688850403, -0.8991948962211609, 0.6338428854942322, -0.7430248260498047, 0.34648197889328003, 0.22963093221187592, -0.9135124683380127, -0.319608598947525, 0.4095936715602875, -0.019648609682917595, -0.12289772927761078, 0.8091289401054382, 0.85292649269104, 0.003889481071382761, -0.09355729073286057, 0.6674584150314331, 0.30885884165763855, 0.3483112156391144, 0.682325005531311, 0.7837830781936646, -0.4293923079967499, 0.815717875957489, 0.006057335529476404, -0.39916107058525085, -0.4087623059749603, -0.8547312021255493, -1.2248256206512451, -0.41836756467819214, -0.24447906017303467, -0.3337664306163788, 0.22128590941429138, 0.7462884783744812, 0.4038417935371399, -0.7815326452255249, 0.015418651513755322, -0.13381707668304443, 0.011523619294166565, 0.25389179587364197, -0.08993428945541382, 0.4872249960899353, -0.0803811103105545, -0.805923581123352, 0.7736756801605225, 0.3967345952987671, 0.16819413006305695, -0.27696719765663147, -0.1548456996679306, 0.2669176757335663, 0.3230430483818054, 0.8757709264755249, -0.042747464030981064, -0.880630373954773, -0.09238985925912857, -0.23572777211666107, -0.40904146432876587, 0.004779914394021034, 0.7471542954444885, -0.6717095375061035, 0.4134734869003296, 0.47667649388313293, 0.7444316148757935, 0.7253330945968628, -0.2473301738500595, 0.21927860379219055, -0.6535065770149231, 0.20038685202598572, 0.06815342605113983, 0.4545181095600128, 0.48389971256256104, -0.1075572818517685, 0.331951767206192, 0.2588566243648529, -0.4253333508968353, -0.7516117095947266, 0.1857236921787262, -0.8490962386131287, -0.5359196662902832, 1.7397074699401855, -0.06330791860818863, -0.31010493636131287, 0.021905172616243362, -0.22263595461845398, 0.18924182653427124, -0.41977253556251526, 0.2887512743473053, 0.2564122676849365, 0.250567764043808, -0.15792322158813477, -0.4327293336391449, 0.320450097322464, 0.2978178560733795, -0.7605625987052917, 0.49810898303985596, 0.2686183750629425, 0.283257395029068, -0.1692870557308197, 0.46048399806022644, -0.2656930387020111, -0.2593098282814026, 0.2065364122390747, 0.11582785844802856, -0.3052261173725128, -0.4590621590614319, -0.5987222790718079, 0.19551603496074677, -0.060842715203762054, -0.020548980683088303 ]
http://arxiv.org/abs/2404.05955v1
http://arxiv.org/pdf/2404.05955v1
VisualWebBench: How Far Have Multimodal LLMs Evolved in Web Page Understanding and Grounding?
2024-04-09T02:29:39
2024-04-09T02:29:39
Junpeng Liu, Yifan Song, Bill Yuchen Lin, Wai Lam, Graham Neubig, Yuanzhi Li, Xiang Yue
cs.CL
cs.CL, cs.AI
Multimodal Large Language models (MLLMs) have shown promise in web-related tasks, but evaluating their performance in the web domain remains a challenge due to the lack of comprehensive benchmarks. Existing benchmarks are either designed for general multimodal tasks, failing to capture the unique characteristics of web pages, or focus on end-to-end web agent tasks, unable to measure fine-grained abilities such as OCR, understanding, and grounding. In this paper, we introduce \bench{}, a multimodal benchmark designed to assess the capabilities of MLLMs across a variety of web tasks. \bench{} consists of seven tasks, and comprises 1.5K human-curated instances from 139 real websites, covering 87 sub-domains. We evaluate 14 open-source MLLMs, Gemini Pro, Claude-3 series, and GPT-4V(ision) on \bench{}, revealing significant challenges and performance gaps. Further analysis highlights the limitations of current MLLMs, including inadequate grounding in text-rich environments and subpar performance with low-resolution image inputs. We believe \bench{} will serve as a valuable resource for the research community and contribute to the creation of more powerful and versatile MLLMs for web-related applications.
[ -0.781338095664978, -0.6260251402854919, 0.3796311616897583, 0.35257965326309204, -0.2592150866985321, -0.05475548282265663, -0.3738313615322113, -0.5262818932533264, -0.4802224338054657, 0.07483852654695511, -0.6394648551940918, -0.5655622482299805, -0.3780817687511444, 0.018359599635004997, -0.3936295509338379, 0.5739542841911316, -0.08814121037721634, 0.3113141655921936, -0.857427179813385, -0.41742292046546936, -0.24660061299800873, -0.3798311650753021, -0.1686696708202362, -0.21415339410305023, 0.7317222356796265, 0.17123925685882568, 0.45345208048820496, 0.5153995752334595, 0.6203603148460388, 0.364026814699173, 0.0972788855433464, 0.20213253796100616, -0.5649480819702148, 0.1784176081418991, -0.35330358147621155, -0.37286612391471863, -0.3692212700843811, 0.17004017531871796, 0.4919709265232086, 0.8488865494728088, -0.004686405416578054, 0.35127878189086914, 0.039767470210790634, 0.5731745958328247, -0.9724656343460083, 0.010027286596596241, -0.46409448981285095, -0.040069203823804855, -0.14771617949008942, -0.0769922211766243, -0.4624857008457184, 0.027317598462104797, -0.004103689454495907, -0.5702868103981018, 0.3187362551689148, 0.0813063532114029, 0.8342819213867188, 0.3315964341163635, -0.6199529767036438, 0.08959374576807022, -0.310817688703537, 0.9031080603599548, -0.5961289405822754, 0.8270339965820312, 0.4468398094177246, 0.5843923091888428, -0.06635675579309464, -0.8167064189910889, -0.5616917014122009, -0.2631206512451172, 0.21062035858631134, 0.24792031943798065, -0.24775835871696472, -0.21008816361427307, 0.3076269328594208, 0.1511119306087494, -0.7915985584259033, 0.22359511256217957, -0.033182293176651, -0.06391512602567673, 0.26508164405822754, 0.1465822011232376, 0.089274100959301, -0.15533488988876343, -0.45213112235069275, -0.2986937463283539, -0.37819337844848633, 0.3082907199859619, -0.04391171783208847, 0.05764064937829971, -0.26348066329956055, 0.5770968198776245, -0.21104517579078674, 0.8391327857971191, -0.38856711983680725, -0.4354409873485565, 0.2314726561307907, -0.22187787294387817, -0.23535481095314026, -0.5904272794723511, 0.6197119355201721, 0.7903643250465393, 0.41168293356895447, -0.33446696400642395, -0.24550125002861023, 0.15566614270210266, 0.3952016234397888, -0.764482855796814, -0.1211855560541153, 0.11091297119855881, -0.7380855083465576, 0.03138918802142143, 0.053686145693063736, -0.7964305877685547, -0.8932109475135803, -0.4466923773288727, 0.2116047739982605, -0.4212661385536194, -0.26030808687210083, -0.311533123254776, -0.590893566608429, 0.20900864899158478, 0.5789507031440735, -0.45659929513931274, 0.14266498386859894, 0.43985652923583984, 0.6470291614532471, -0.4776201546192169, -0.5807403922080994, -0.3433724045753479, 0.14801040291786194, -0.10575398802757263, 0.8623973727226257, -0.520400881767273, -0.2515445053577423, 0.22228552401065826, -0.032235048711299896, 0.016795268282294273, -0.5346656441688538, 0.3828471601009369, -0.5310667157173157, -0.21903914213180542, -0.3247472047805786, -0.32395437359809875, -0.25618094205856323, 0.568342387676239, -0.548462986946106, 0.8025630116462708, -0.0907391607761383, -0.550934374332428, 0.5131657123565674, -0.18929807841777802, -0.45670580863952637, -0.16248568892478943, -0.2205529510974884, -0.06285418570041656, 0.30316635966300964, 0.2159813940525055, 0.5990395545959473, -0.566511869430542, -0.06606440991163254, -0.7017115950584412, -0.40873992443084717, 0.5162841081619263, -0.7482137680053711, 0.45443007349967957, -0.05069004371762276, -0.3842080235481262, 0.2721140384674072, -1.2641230821609497, 0.2885466516017914, 0.13984054327011108, -0.3983803689479828, -0.2675658166408539, 0.13435210287570953, 0.6247506737709045, 0.38630253076553345, 0.2018556296825409, -0.182724729180336, 0.08702033013105392, 0.29495611786842346, 0.2988499402999878, 0.9208129048347473, -0.3971812427043915, 0.15966229140758514, -0.1455807089805603, 0.40362119674682617, -0.18700319528579712, 0.15025685727596283, -0.25467419624328613, -0.34702062606811523, -0.9324407577514648, -0.501838207244873, 0.22550368309020996, 0.40952399373054504, -0.5348841547966003, 0.07003819942474365, -0.41159290075302124, -0.6389644742012024, -0.35678327083587646, 0.2632317841053009, 0.5556640625, 0.16329334676265717, 0.5740466713905334, -0.21217317879199982, -0.2692354619503021, -1.1009279489517212, -0.19577758014202118, 0.2320234775543213, -0.06782993674278259, 0.4574855864048004, 0.36239710450172424, -0.5659372806549072, 0.9888349175453186, -0.14580023288726807, -0.25336048007011414, -0.0027382175903767347, 0.4497902989387512, -0.06661377847194672, 0.3610231280326843, 0.47504353523254395, -1.0532337427139282, -0.43667328357696533, 0.059260714799165726, -1.1537877321243286, -0.21807506680488586, 0.10795219242572784, 0.17283843457698822, -0.027490954846143723, 0.4744912087917328, -0.7293523550033569, 0.3615413010120392, 0.8519085049629211, -0.053509555757045746, 0.5314700603485107, -0.06550264358520508, 0.08679313957691193, -0.6551538109779358, 0.18109020590782166, 0.29304376244544983, -0.38014426827430725, -0.2928128242492676, 0.30453425645828247, 0.46335262060165405, -0.02685694769024849, -0.3709331154823303, 0.4449993073940277, -0.8910130858421326, -0.5137511491775513, -0.28816094994544983, 0.5052903294563293, 0.10777577757835388, 0.4952608048915863, -0.38972604274749756, 1.0023361444473267, 0.34306618571281433, -0.6776551008224487, 0.42107343673706055, 0.03837018087506294, -0.2686224579811096, 0.842805802822113, -0.3340197503566742, 0.11091195046901703, -0.12667429447174072, 0.2752070724964142, -1.1890242099761963, -0.15180589258670807, -0.33605167269706726, -0.30524778366088867, 0.22411178052425385, -0.10392197221517563, -0.62050861120224, -0.4553222060203552, -0.4282861351966858, 0.2651093304157257, 0.3343258798122406, -0.4974946975708008, 0.7048883438110352, 0.2514871656894684, 0.03455355390906334, -0.5851715803146362, -0.5857467651367188, 0.19886641204357147, 0.06379954516887665, -0.8173791766166687, 0.4035561680793762, -0.20861074328422546, -0.4686468243598938, 0.06309648603200912, -0.25574901700019836, -0.1502629816532135, 0.10147501528263092, 0.4762343466281891, -0.08845742791891098, -0.3638501465320587, 0.13061584532260895, -0.3436971604824066, -0.10610207915306091, -0.03463437780737877, -0.010692177340388298, 0.6910002827644348, -0.2783440053462982, -0.7671603560447693, -0.44159623980522156, 0.17497266829013824, 0.8923929333686829, -0.4638114273548126, 0.5439572930335999, 1.0815916061401367, -0.2783088684082031, -0.19908101856708527, -0.9620417356491089, 0.12260492146015167, -0.45047956705093384, 0.29707393050193787, -0.678081214427948, -0.7018416523933411, 0.4175383448600769, -0.33740270137786865, 0.013301549479365349, 0.319021999835968, 0.5492743849754333, -0.4948989152908325, 0.9935356378555298, 0.7064248323440552, 0.09730757027864456, 0.380816787481308, -0.13337576389312744, -0.30010661482810974, -0.7910469770431519, -0.16695964336395264, -0.2863985002040863, -0.5045403838157654, -0.4426048994064331, -0.6618924736976624, 0.29291489720344543, 0.5154485702514648, 0.10730725526809692, 0.10721121728420258, -0.0455034002661705, 0.18863998353481293, 0.6672701239585876, 0.05292749032378197, 0.1691661775112152, -0.012311737053096294, -0.4012436866760254, -0.14159226417541504, -0.3432801067829132, -0.33008310198783875, 1.0103774070739746, 0.0628652572631836, 0.9471591711044312, 0.3084770441055298, 0.09950149804353714, 0.4380252957344055, 0.32598939538002014, -0.44250157475471497, 0.6337071657180786, -0.1067788377404213, -0.37597930431365967, -0.226273775100708, -0.15210117399692535, -0.8781681060791016, 0.8831101059913635, -0.22659797966480255, -0.6967642307281494, 0.11726052314043045, 0.14363247156143188, 0.20864734053611755, 0.03719290718436241, -0.6753584742546082, 1.0551055669784546, -0.40529578924179077, -0.9572002291679382, -0.5173784494400024, -0.5446057319641113, 0.173423632979393, 0.20162296295166016, 0.4234094023704529, -0.31219160556793213, -0.15289165079593658, 0.4059675335884094, -0.060446493327617645, 0.8624699711799622, -0.26123660802841187, -0.09054990112781525, -0.07130083441734314, -0.06970683485269547, 0.5031107068061829, -0.05074990540742874, 0.053443145006895065, 0.0877123698592186, -0.1504853218793869, -0.4751009941101074, -0.45847728848457336, 0.7696346044540405, -0.6948921084403992, -0.49871715903282166, -0.2945231795310974, -0.4352684020996094, -0.8306566476821899, 0.34557226300239563, -0.032109085470438004, 0.5199761986732483, -0.1954047977924347, 0.6671810746192932, 0.483008474111557, -0.09848995506763458, 0.6249450445175171, 0.6331616044044495, -0.3048369288444519, -0.42845189571380615, 0.9537434577941895, -0.18619422614574432, 0.007116623688489199, 0.5156705379486084, 0.0492258183658123, -0.37443721294403076, -0.7336816787719727, -0.6772496700286865, 0.029984619468450546, -1.1372188329696655, -0.15375164151191711, -0.7449173331260681, 0.1428782343864441, -0.4608495831489563, -0.16332131624221802, -0.2233392298221588, -0.07074914127588272, -0.1586700975894928, 0.09617625921964645, 0.06359495222568512, 0.6363111734390259, 0.0440569669008255, 0.06743402779102325, -0.9315854907035828, 0.6021029949188232, 0.5082119107246399, 0.38430821895599365, 0.08949613571166992, -0.13238026201725006, -0.1939539909362793, -0.0597301684319973, -0.10108596831560135, -0.7003486156463623, 0.032256465405225754, -0.07158724218606949, 1.075995922088623, 0.591312825679779, -0.24062426388263702, 1.1387296915054321, -0.5893566608428955, 0.7622570991516113, 0.33823180198669434, -0.8153610229492188, 0.13692936301231384, -0.4972807765007019, 0.5059903264045715, 0.5070429444313049, 0.3576286733150482, -0.4558383822441101, -0.02328471839427948, -0.01873304322361946, -0.7899587154388428, 0.4208645820617676, 0.06257810443639755, -0.00847832765430212, 0.25031641125679016, -0.11668498814105988, 0.0780656561255455, 0.47546350955963135, -0.8270125389099121, -0.15230318903923035, -0.2975444495677948, -0.027810417115688324, -0.2531604766845703, -0.3620360493659973, -0.14008300006389618, -0.28439125418663025, 0.30514955520629883, -0.4019606411457062, 0.027988163754343987, -0.1329367756843567, -0.8112081289291382, -0.0316120907664299, 0.24497784674167633, 0.8121090531349182, 1.249593734741211, -0.26481950283050537, 0.3550732433795929, 0.15238717198371887, -0.15445253252983093, 0.009679018519818783, 0.3131072521209717, 0.307555228471756, -0.1602337807416916, 0.6889744400978088, 0.7451668977737427, 0.4586488902568817, -1.077629566192627, 0.658912181854248, 0.0018324513221159577, -0.009648555889725685, -0.2600380778312683, -0.1089281365275383, 0.1682908684015274, 0.513756513595581, 0.5329626798629761, 0.010142115876078606, 0.07140149921178818, -0.51149982213974, 0.22325371205806732, 0.5640562772750854, -0.4428618550300598, -0.198429673910141, 0.5548069477081299, 0.30583155155181885, -0.12253972142934799, 0.37773096561431885, -0.08486819267272949, -0.3661859333515167, 0.33795979619026184, 0.6126738786697388, 0.6603946089744568, 0.158334419131279, -0.17550693452358246, 0.012554280459880829, 0.25659266114234924, 0.1504332274198532, 0.04757453873753548, -0.1989080309867859, -0.5565207600593567, -0.14717228710651398, -0.7011426091194153, -0.26667147874832153, 0.12527385354042053, -0.668940007686615, 0.0002658625890035182, -0.39711320400238037, -0.3969349265098572, 0.08050412684679031, -0.48938247561454773, -0.922363817691803, 0.38876035809516907, 0.302583783864975, 0.9516758918762207, -0.37203437089920044, 0.6214845180511475, 0.9545683860778809, -0.4764338731765747, 0.07386156916618347, 0.08403025567531586, 0.3344007432460785, -0.8184653520584106, 0.8090173602104187, 0.4231935441493988, -0.27111107110977173, -0.0025380465667694807, -0.25384312868118286, -0.7224082946777344, 1.1896344423294067, 0.038126733154058456, -0.5151453614234924, 0.03175535425543785, 0.06906962394714355, 0.43210044503211975, 0.08542940020561218, 0.3013242185115814, 0.044502634555101395, 0.7022631168365479, -0.41512060165405273, -1.0152666568756104, -0.09087226539850235, -0.5032880902290344, 0.17996414005756378, -0.11000784486532211, -0.7199541926383972, 1.170840859413147, 0.10754168778657913, -0.12809352576732635, 0.06537625193595886, 0.47192054986953735, 0.18456368148326874, 0.21693845093250275, 0.602614164352417, 0.654223620891571, 0.5681270360946655, -0.009135705418884754, 1.1056116819381714, -0.1547200232744217, 0.16832292079925537, 0.8890922665596008, -0.46802639961242676, 1.1456758975982666, 0.5664677619934082, -0.3651924431324005, 0.3983513116836548, 0.4380415081977844, -0.16416777670383453, 0.41140514612197876, 0.3503465950489044, -0.035662923008203506, -0.6011890769004822, -0.16593751311302185, -0.35343384742736816, 0.5248640179634094, 0.30070021748542786, -0.16763748228549957, -0.4193378984928131, 0.37323683500289917, -0.44532009959220886, 0.24373140931129456, -0.1628977656364441, 0.7145498394966125, 0.04965353012084961, -0.523245096206665, 0.7362868189811707, 0.21898387372493744, 0.740185022354126, -0.7147835493087769, -0.059340327978134155, -0.11486467719078064, 0.4969979226589203, 0.04575162008404732, -0.5979255437850952, -0.474055677652359, 0.12888585031032562, -0.409901887178421, -0.533410370349884, 0.8435752987861633, 0.055055610835552216, -0.22112299501895905, 0.6332598328590393, 0.7893348336219788, -0.10176823288202286, -0.2868426442146301, -0.6565760970115662, 0.4487086236476898, -0.23520147800445557, -0.3722405731678009, 0.5908061861991882, 0.4686241149902344, -0.11624614149332047, 0.9702135920524597, 0.919782280921936, -0.4597703218460083, 0.42286738753318787, 0.38683146238327026, 0.8409850001335144, -0.7714374661445618, -0.23709285259246826, -0.8541193604469299, 0.5015513300895691, -0.3597170412540436, -0.4591180682182312, 1.0832659006118774, 0.719044029712677, 0.6256981492042542, -0.20822390913963318, 0.8566811680793762, 0.08730185776948929, 0.19438748061656952, -0.5882959365844727, 0.816667377948761, -0.9997275471687317, -0.3234400153160095, -0.14266735315322876, -1.0011495351791382, -0.08175136148929596, 0.5649171471595764, 0.1664673238992691, 0.024720175191760063, 0.8150951862335205, 0.4166954457759857, -0.23332317173480988, -0.16754263639450073, 0.6061893701553345, 0.14505892992019653, 0.339647501707077, 0.07564550638198853, 0.995078444480896, -0.0984615832567215, 0.7284210920333862, -0.2807893753051758, -0.20491430163383484, -0.48726171255111694, -0.8020026087760925, -1.206835150718689, -0.4743543565273285, 0.09299436211585999, -0.20214799046516418, 0.15903519093990326, 0.7607437968254089, 0.9950929880142212, -0.7596550583839417, -0.21116067469120026, -0.05618767440319061, -0.17719906568527222, -0.397310346364975, -0.16468489170074463, 0.13604585826396942, -0.38449010252952576, -0.66327965259552, 0.5719969868659973, 0.35778185725212097, 0.02828996069729328, -0.4849110543727875, 0.10989349335432053, -0.3135393559932709, -0.2836855351924896, 0.8729764223098755, -0.032957274466753006, -1.1403744220733643, -0.0800182968378067, 0.020930450409650803, -0.45602595806121826, -0.11176279187202454, 0.7677075266838074, -0.653090238571167, 0.43292489647865295, 0.3553219437599182, 0.9342246055603027, 0.7030273675918579, 0.059209197759628296, 0.4082982540130615, -0.7497455477714539, 0.3193364143371582, 0.047330591827631, 0.6033461689949036, 0.4032115340232849, 0.3706793189048767, 0.5645624995231628, 0.43079134821891785, -0.08218248188495636, -0.7773123979568481, -0.03227585181593895, -1.1510227918624878, -0.6059051156044006, 1.2351717948913574, -0.12465671449899673, -0.027480147778987885, 0.019208308309316635, -0.07106959074735641, 0.06657538563013077, -0.13223177194595337, 0.4266560673713684, 0.8123836517333984, 0.009307256899774075, -0.4770573377609253, -0.9235309958457947, 0.1647200733423233, 0.295135498046875, -0.9166240692138672, 0.001232293201610446, 0.7549357414245605, 0.08110865205526352, 0.37123560905456543, 0.43915265798568726, 0.3494962751865387, 0.33071720600128174, 0.23819230496883392, 0.20970718562602997, -0.23086021840572357, -0.3007011413574219, 0.1282830536365509, 0.47036805748939514, 0.040134355425834656, -0.14886733889579773 ]
http://arxiv.org/abs/2404.05943v1
http://arxiv.org/pdf/2404.05943v1
Interplay of Machine Translation, Diacritics, and Diacritization
2024-04-09T01:55:05
2024-04-09T01:55:05
Wei-Rui Chen, Ife Adebara, Muhammad Abdul-Mageed
cs.CL
cs.CL, cs.AI
We investigate two research questions: (1) how do machine translation (MT) and diacritization influence the performance of each other in a multi-task learning setting (2) the effect of keeping (vs. removing) diacritics on MT performance. We examine these two questions in both high-resource (HR) and low-resource (LR) settings across 55 different languages (36 African languages and 19 European languages). For (1), results show that diacritization significantly benefits MT in the LR scenario, doubling or even tripling performance for some languages, but harms MT in the HR scenario. We find that MT harms diacritization in LR but benefits significantly in HR for some languages. For (2), MT performance is similar regardless of diacritics being kept or removed. In addition, we propose two classes of metrics to measure the complexity of a diacritical system, finding these metrics to correlate positively with the performance of our diacritization models. Overall, our work provides insights for developing MT and diacritization systems under different data size conditions and may have implications that generalize beyond the 55 languages we investigate.
[ -0.49176353216171265, -0.7926886081695557, 0.2443411648273468, 0.21646499633789062, -0.359857976436615, 0.42651423811912537, -0.5005090832710266, -0.8912462592124939, 0.027568086981773376, 0.5404685735702515, -0.1978742629289627, 0.003504498628899455, -0.9661547541618347, 0.701245129108429, -0.24217863380908966, 1.2566537857055664, -0.25365138053894043, 0.07964325696229935, -0.06741757690906525, -0.24060560762882233, -0.4514463245868683, -1.066218614578247, -0.5046254396438599, -0.23568114638328552, 0.6504968404769897, 0.4030039608478546, 0.9771992564201355, 0.8848029971122742, 1.1751595735549927, 0.34043532609939575, 0.020259877666831017, 0.3520744740962982, -0.22317913174629211, 0.5669489502906799, 0.08210915327072144, -0.43505534529685974, -0.3781600594520569, -0.10258909314870834, 0.6175346374511719, 0.8924754858016968, 0.1617727279663086, 0.29335707426071167, 0.5121184587478638, 0.7215449810028076, -0.686593770980835, 0.16242772340774536, -0.298227459192276, -0.05573904514312744, -0.5802871584892273, -0.04113150015473366, -0.2865481674671173, -0.1562688648700714, 0.013086074031889439, -0.5058708190917969, 0.10504334419965744, 0.07604686915874481, 0.7607571482658386, 0.5678147077560425, -0.3628539443016052, -0.4796229302883148, -1.1496278047561646, 0.9425305128097534, -0.42246073484420776, 0.31254899501800537, 0.5630207657814026, 0.05278664082288742, 0.26620906591415405, -0.5391671657562256, -0.3781128525733948, 0.09188777953386307, -0.17659664154052734, 0.2147047370672226, -0.10762573778629303, 0.1813923716545105, 0.28384992480278015, 0.5336750745773315, -0.4653238356113434, 0.5210330486297607, -0.6645935773849487, -0.2387702912092209, 0.4409927725791931, 0.3331855237483978, 0.4135982394218445, 0.0334780253469944, -0.10339979827404022, 0.04107595980167389, -0.47248533368110657, -0.03427642211318016, 0.3172251284122467, 0.5821493268013, -0.19950823485851288, 0.6337822675704956, -0.006159903481602669, 0.6665146350860596, -0.42381638288497925, -0.16810354590415955, 0.18378502130508423, -0.7219246029853821, -0.20664964616298676, -0.045461565256118774, 0.9698287844657898, 0.1559385061264038, 0.46108657121658325, -0.43141573667526245, -0.249629408121109, 0.1825541853904724, 0.35002464056015015, -0.8201670050621033, -0.04174639284610748, -0.013823781162500381, -0.5222291350364685, -0.02228364162147045, -0.03669453412294388, -0.7319400906562805, -0.3567076027393341, -0.31613561511039734, 0.3319794833660126, -0.3432488739490509, -0.026476386934518814, -0.024661971256136894, 0.056850314140319824, -0.25969749689102173, 0.2316974550485611, -0.9981947541236877, 0.4478732943534851, 0.4319251775741577, 1.0185378789901733, -0.286401629447937, -0.39850911498069763, -0.23047299683094025, 0.10871915519237518, -0.40021708607673645, 0.37245258688926697, -0.48562735319137573, -0.5182947516441345, 0.008501757867634296, -0.14635561406612396, -0.47003230452537537, -0.7282577157020569, 0.69254070520401, -0.5697792768478394, 0.05562658607959747, -0.5247617363929749, -0.21088340878486633, -0.196930393576622, -0.014344547875225544, -0.9575293660163879, 0.9114671349525452, -0.10494167357683182, -0.733232855796814, 0.3942111134529114, -0.8001160025596619, -0.9427940845489502, 0.08852577209472656, 0.10412145406007767, -0.6369913816452026, 0.20212095975875854, -0.09539919346570969, 0.26355287432670593, -0.33839234709739685, -0.27304747700691223, -0.06051510199904442, -0.5227178931236267, 0.30388373136520386, -0.4283545911312103, 0.466208279132843, 0.48922494053840637, -0.3965180516242981, -0.46015292406082153, -0.4482947885990143, -0.03784183785319328, 0.10789722949266434, -0.789104163646698, -0.431407630443573, 0.043525997549295425, 0.0033552369568496943, 0.36997300386428833, 0.3680783212184906, -0.41654759645462036, 0.016594871878623962, -0.09529343247413635, 0.6577876806259155, 0.32332471013069153, 0.00043410915532149374, 0.4009571373462677, -0.23389652371406555, 0.6727731823921204, 0.16675059497356415, 0.24534182250499725, 0.16038799285888672, -0.5298126935958862, -0.9029013514518738, -0.2933673858642578, 0.6611220836639404, 0.724633514881134, -0.7425297498703003, -0.10967418551445007, -0.23594346642494202, -0.1232561245560646, -0.9614667296409607, 0.12707532942295074, 0.693872332572937, 0.11918997019529343, 0.6109250783920288, -0.661957859992981, -0.5615310668945312, -0.962942361831665, -0.1895853728055954, -0.20303142070770264, 0.2713440954685211, 0.17747145891189575, 0.4896433651447296, 0.03951758146286011, 0.39447838068008423, -0.16594094038009644, -0.31911104917526245, -0.2017270028591156, 0.16467636823654175, 0.09980350732803345, 0.4302219748497009, 0.7354491949081421, -0.7488179802894592, -0.8577269911766052, 0.17895975708961487, -0.6893873810768127, -0.2075459063053131, 0.11533822864294052, 0.12668822705745697, 0.3499537408351898, 0.47103583812713623, -0.3590083420276642, 0.512973427772522, 0.6855000257492065, 0.08760035037994385, 0.6929495334625244, -0.4530613422393799, 0.6555516123771667, -0.8368794322013855, 0.20982305705547333, -0.2682490944862366, 0.08770690113306046, -0.9874528050422668, -0.04749661311507225, -0.09574415534734726, 0.05339369177818298, -0.42940008640289307, 0.07668996602296829, -0.45635440945625305, -0.10451207309961319, -0.10963761061429977, 0.17332673072814941, 0.07659225165843964, 0.2771346867084503, -0.05182841792702675, 1.1643352508544922, 0.13950896263122559, -0.9043821096420288, -0.1762218326330185, 0.2550276219844818, -0.4472333490848541, 0.4913010597229004, -0.6234158873558044, -0.07649466395378113, 0.09167852252721786, -0.12548601627349854, -0.8427558541297913, 0.04130096361041069, 0.08521899580955505, -0.42864319682121277, 0.2659541368484497, -0.3570064604282379, -0.8669224381446838, -0.3773481845855713, 0.13203565776348114, 0.4821245074272156, 0.20969900488853455, 0.10251951217651367, -0.20781157910823822, 0.4977569580078125, -0.292965829372406, -0.6460815668106079, -1.0187296867370605, 0.3974447548389435, -0.46068331599235535, -0.16331246495246887, 0.3177908957004547, -0.25431621074676514, -0.43774646520614624, -0.34196752309799194, 0.07105991244316101, -0.32983601093292236, 0.5580635666847229, 0.26665425300598145, 0.04065026715397835, 0.006101784761995077, 0.18818484246730804, 0.056769851595163345, 0.015026084147393703, -0.09282250702381134, -0.15294420719146729, 0.6833246350288391, 0.05193382501602173, -0.03865246847271919, -0.4637480676174164, 0.4812716245651245, 0.9279002547264099, -0.6953278183937073, 1.1329562664031982, 0.7670063376426697, -0.17848455905914307, 0.2679835259914398, -0.16424883902072906, -0.034762442111968994, -0.39833691716194153, 0.49822354316711426, -0.9153833389282227, -0.7114299535751343, 0.682189404964447, 0.12004049867391586, 0.18852952122688293, 0.42501741647720337, 0.9107709527015686, -0.395395964384079, 1.0185284614562988, 0.6027747392654419, -0.11480584740638733, 0.5958103537559509, -0.3934885859489441, 0.3399835526943207, -0.9510112404823303, -0.1782337874174118, -0.9025145769119263, -0.5702863931655884, -0.7733286023139954, -0.22394895553588867, 0.52428138256073, 0.3795475959777832, -0.14024367928504944, 0.7209460139274597, -0.3548735976219177, 0.36807867884635925, 0.5996214151382446, -0.0692133679986, 0.35622501373291016, -0.07029695808887482, -0.29953351616859436, -0.28573840856552124, -0.7344418168067932, -0.8366760611534119, 0.970949113368988, 0.1351030319929123, 0.3949187397956848, 0.45778167247772217, 0.7446146011352539, 0.5263583064079285, 0.032893285155296326, -0.5206100344657898, 0.19184209406375885, -0.505222737789154, -0.6486184597015381, -0.285872220993042, -0.4896792769432068, -1.3329585790634155, 0.44417357444763184, -0.2928537130355835, -0.4573485255241394, -0.053246863186359406, 0.026243949308991432, -0.33121582865715027, 0.4513603746891022, -0.5930505990982056, 0.6757282614707947, -0.19742456078529358, -0.26910606026649475, -0.3608648478984833, -0.7346362471580505, 0.06538913398981094, -0.32919928431510925, 0.5708494186401367, 0.1286660134792328, -0.023524580523371696, 0.9103650450706482, -0.17364634573459625, 0.7300565838813782, 0.1723329722881317, -0.14717406034469604, 0.23965220153331757, 0.46902525424957275, 0.055318523198366165, -0.2550979554653168, -0.20786523818969727, 0.6006442904472351, -0.010054015554487705, -0.2629522681236267, -0.16339854896068573, 0.441698282957077, -0.949953019618988, -0.43479400873184204, -0.13113926351070404, -0.8310192823410034, 0.10434424877166748, 0.44054582715034485, 0.5373652577400208, 0.18678101897239685, -0.14653174579143524, 0.057915907353162766, 0.6092519760131836, 0.0774407610297203, 0.7602947354316711, 0.34955328702926636, 0.1484425961971283, -0.435433954000473, 0.7570633292198181, 0.5294992923736572, 0.6056610345840454, 0.5564801096916199, -0.1062643826007843, 0.002572053810581565, -0.7659772038459778, -0.7636660933494568, 0.16982801258563995, -0.35453373193740845, -0.13609488308429718, -0.8185470104217529, -0.18669752776622772, -0.291745126247406, 0.04261939972639084, -0.2909805178642273, -0.8150169849395752, -0.4003198742866516, 0.1916680783033371, 0.09896781295537949, 0.7513092756271362, -0.2777325510978699, 0.5088232159614563, -0.8790343403816223, 0.16474008560180664, -0.08213995397090912, 0.042043786495923996, -0.06947799772024155, -0.6374512910842896, -1.0096702575683594, 0.15226368606090546, -0.5348228216171265, -0.6219828128814697, 0.2160676121711731, 0.20981751382350922, 0.40325555205345154, 0.3930703401565552, 0.08818668127059937, 0.670069694519043, -0.8221384882926941, 0.847460150718689, 0.1382746696472168, -0.8276005387306213, 0.06877662986516953, 0.02716801129281521, 0.1333857923746109, 0.6441366672515869, 0.45325490832328796, -0.7865750193595886, -0.7317217588424683, -0.18853157758712769, -0.5915067195892334, 0.5594494938850403, 0.45858243107795715, -0.10806401073932648, -0.04482773318886757, 0.2335565686225891, 0.19886364042758942, 0.3566131889820099, -0.3685733675956726, -0.4679623544216156, 0.12512977421283722, -0.002836736151948571, -0.3933207392692566, -0.11298377811908722, -0.05960962921380997, 0.014785390347242355, 0.3957631587982178, 0.2684202194213867, 0.0869237408041954, 0.024496793746948242, -0.5259034633636475, -0.2296566665172577, 0.3392799198627472, 0.7308011054992676, 0.39094242453575134, 0.06934104114770889, 0.18100260198116302, -0.012213435024023056, -0.8376968502998352, 0.14310817420482635, -0.12321215122938156, -0.16206683218479156, -0.12569674849510193, 0.6197734475135803, 0.6722805500030518, -0.12555725872516632, -0.1755896955728531, -0.06238481402397156, 0.06619136035442352, -0.10913201421499252, 0.2943195402622223, -0.13154858350753784, -0.20300327241420746, 0.07341605424880981, 0.014426175504922867, 0.1071241945028305, 0.05467779561877251, -0.5873857140541077, -0.032054487615823746, 0.3184759318828583, -0.40916433930397034, -0.6234468817710876, 0.8931646347045898, 0.4012497365474701, -0.47172343730926514, 0.6833528876304626, 0.13189584016799927, -0.9840308427810669, 0.5454363226890564, 0.4206922948360443, 0.6224261522293091, -0.5052666068077087, 0.10155756771564484, 0.24627915024757385, 0.8665711879730225, 0.25322967767715454, 0.22577325999736786, -0.2054484337568283, -0.5222472548484802, -0.41870903968811035, -0.5302449464797974, -0.4601842164993286, 0.010166932828724384, -0.8202253580093384, -0.09144198149442673, 0.0032749841921031475, -0.8047519326210022, 0.16822867095470428, 0.42470380663871765, -0.7949711680412292, 0.1499551236629486, 0.21100792288780212, 0.28370046615600586, -1.002955675125122, 0.6522738337516785, 0.7256857752799988, -0.6834232211112976, 0.021103618666529655, -0.17209793627262115, -0.08677206188440323, -0.4947966933250427, 0.624630331993103, -0.006096892990171909, -0.12121129035949707, -0.06089678779244423, 0.14403162896633148, -0.86875319480896, 0.9003217220306396, 0.23988670110702515, -0.5061581134796143, 0.11638625711202621, 0.8476834893226624, 0.7572687864303589, -0.07051732391119003, 0.06909308582544327, 0.7126505970954895, 0.5801586508750916, -0.7085029482841492, -1.6449456214904785, -0.24918371438980103, 0.10056859999895096, -0.1434532254934311, 0.5757441520690918, -0.9979239106178284, 0.9501029253005981, -0.49799835681915283, -0.559414267539978, 0.18261127173900604, 0.1523277312517166, -0.23936796188354492, 0.13250723481178284, 0.29345542192459106, 0.6272339820861816, 0.5261337161064148, -0.1480436474084854, 0.8853442072868347, -0.4911178946495056, 0.17794416844844818, 0.9454887509346008, -0.32159990072250366, 0.5198925137519836, 0.6427974104881287, -0.4182069003582001, 0.5521622896194458, 0.8118433952331543, 0.3788018822669983, 0.5637226104736328, 0.2612200975418091, -0.2519534230232239, -0.16497375071048737, -0.282400906085968, -0.269084632396698, 0.4945760667324066, 0.38456764817237854, -0.49453914165496826, 0.0245208740234375, 0.10486002266407013, 0.22438305616378784, 0.1750621199607849, -0.00030739145586267114, 0.7454084753990173, 0.1744190901517868, -0.6122657656669617, 0.7687786817550659, 0.29170146584510803, 0.19205020368099213, -0.36791372299194336, 0.16004934906959534, -0.2324172854423523, 0.10407058894634247, -0.04578632861375809, -0.7203145623207092, 0.3886147737503052, 0.04598783329129219, -0.6252522468566895, -0.2604740560054779, 0.1657467484474182, -0.49697205424308777, -0.13691164553165436, 0.3605388402938843, 0.8190842270851135, 0.33867180347442627, 0.14848820865154266, -0.5913412570953369, 0.2941548228263855, -0.18209265172481537, -0.028060859069228172, 0.46270817518234253, 0.5670273900032043, -0.35362526774406433, 0.6286884546279907, 0.5288458466529846, 0.27864959836006165, 0.1634242832660675, 0.1041574776172638, 0.5405810475349426, -0.3003667891025543, -0.3410257399082184, -1.0071368217468262, 0.14763695001602173, 0.05346057936549187, -0.23778174817562103, 0.7893728613853455, 0.8096832633018494, 0.7888763546943665, -0.10046622902154922, 0.8549383282661438, -0.0862191841006279, 0.20846545696258545, -0.33515599370002747, 0.7799268364906311, -0.45859494805336, -0.043848998844623566, -0.3761935234069824, -1.0055196285247803, -0.41571852564811707, 0.16798633337020874, -0.10775458812713623, -0.1293099969625473, 0.9539717435836792, 0.33552828431129456, 0.06424475461244583, -0.26827290654182434, 0.4988503158092499, 0.00035135907819494605, 0.19760869443416595, 0.5131107568740845, 0.5403231382369995, -0.5205662250518799, 0.7538194060325623, -0.408792644739151, -0.27952155470848083, -0.1692306399345398, -0.4568241536617279, -0.7590195536613464, -0.791017472743988, -0.35126563906669617, -0.2871590852737427, 0.05654795467853546, 0.39657679200172424, 0.6180772185325623, -0.714250385761261, -0.5328296422958374, 0.48683270812034607, 0.15973371267318726, -0.648841142654419, -0.1692320853471756, 0.4136173725128174, -0.3265478312969208, -1.00191068649292, 0.2797420620918274, 0.36540353298187256, 0.3101503252983093, -0.11958815902471542, -0.1548319309949875, -0.11311063170433044, 0.1474200189113617, 0.839915931224823, 0.21794390678405762, -0.5421448349952698, -0.06736773252487183, -0.012779299169778824, -0.31018027663230896, 0.06313490867614746, 0.9425730109214783, -0.41764670610427856, 0.5207266807556152, 0.20666661858558655, 0.4883458912372589, 0.36300185322761536, -0.013729406520724297, 0.3346988558769226, -0.6802528500556946, 0.05702429637312889, 0.008209999650716782, 0.18285618722438812, 0.2875877916812897, -0.22411991655826569, 0.6260027885437012, 0.2925164997577667, -0.7475512623786926, -0.9294571280479431, 0.5049899816513062, -0.39873966574668884, -0.001996755599975586, 0.7723401784896851, -0.10921233892440796, 0.21897369623184204, -0.34884175658226013, 0.18387888371944427, 0.6004782319068909, 0.027296502143144608, 0.9787142276763916, 0.9499214291572571, -0.02640903927385807, 0.166253924369812, -0.8056983947753906, 0.6046963930130005, 0.31313082575798035, -0.6838021278381348, 0.22959880530834198, 0.17708297073841095, 0.10850370675325394, 0.40896743535995483, 0.43833720684051514, -0.3182393014431, 0.08638059347867966, -0.2089582085609436, 0.08495885133743286, 0.095459945499897, -0.5603488683700562, -0.18885180354118347, -0.15783822536468506, -0.05995996296405792, -0.49023860692977905 ]
http://arxiv.org/abs/2404.05904v2
http://arxiv.org/pdf/2404.05904v2
The Hallucinations Leaderboard -- An Open Effort to Measure Hallucinations in Large Language Models
2024-04-08T23:16:22
2024-04-17T07:03:17
Giwon Hong, Aryo Pradipta Gema, Rohit Saxena, Xiaotang Du, Ping Nie, Yu Zhao, Laura Perez-Beltrachini, Max Ryabinin, Xuanli He, Clémentine Fourrier, Pasquale Minervini
cs.CL
cs.CL
Large Language Models (LLMs) have transformed the Natural Language Processing (NLP) landscape with their remarkable ability to understand and generate human-like text. However, these models are prone to ``hallucinations'' -- outputs that do not align with factual reality or the input context. This paper introduces the Hallucinations Leaderboard, an open initiative to quantitatively measure and compare the tendency of each model to produce hallucinations. The leaderboard uses a comprehensive set of benchmarks focusing on different aspects of hallucinations, such as factuality and faithfulness, across various tasks, including question-answering, summarisation, and reading comprehension. Our analysis provides insights into the performance of different models, guiding researchers and practitioners in choosing the most reliable models for their applications.
[ -0.29892808198928833, -0.8705579042434692, 0.731253981590271, 0.4765530228614807, -0.2616487443447113, -0.1229763850569725, -0.3154489994049072, -0.47541046142578125, 0.523238480091095, 0.7351857423782349, -0.42568475008010864, -0.8214688301086426, -0.778874397277832, 0.26556599140167236, -0.8483025431632996, 0.8916626572608948, 0.16933728754520416, 0.05633469298481941, -0.21432922780513763, 0.06737635284662247, -0.6132805347442627, -0.7477940320968628, -0.4237748086452484, -0.3264758884906769, 0.6319265365600586, -0.07797491550445557, 1.0809857845306396, 0.3326217532157898, 0.8152867555618286, 0.22912350296974182, 0.021542441099882126, 0.280791699886322, -0.7499443888664246, 0.5066593289375305, -0.2290782332420349, -0.32819807529449463, -0.6470605731010437, 0.047416456043720245, 0.3183531165122986, 0.7924942374229431, -0.4872986972332001, 0.05501976236701012, 0.18233485519886017, 0.5102565288543701, -0.4637147784233093, 0.10773922502994537, -0.7468866109848022, 0.2047702670097351, 0.04785982146859169, -0.3813154101371765, -0.5828680396080017, -0.7906070947647095, 0.01804680936038494, -0.12098155915737152, 0.18427056074142456, 0.25742998719215393, 0.5413084030151367, 0.33719876408576965, -0.06680197268724442, -0.6756774187088013, -0.7299171686172485, 0.6128883957862854, -0.5783274173736572, 0.6535259485244751, 0.34211573004722595, 0.3345613479614258, -0.3223037123680115, -0.7754355072975159, -0.37274158000946045, -0.46338972449302673, 0.001689212047494948, -0.06923609972000122, -0.17943330109119415, -0.10328316688537598, 0.0652381107211113, 0.4068707823753357, -0.8215239644050598, 0.18584582209587097, -0.2024659961462021, -0.16642095148563385, 0.7421067357063293, 0.30906856060028076, 0.2618520259857178, -0.18190981447696686, -0.13937294483184814, -0.09586377441883087, -0.3199450671672821, -0.4071976840496063, 0.24695158004760742, 0.41144445538520813, 0.12722207605838776, 0.8253982663154602, 0.054146550595760345, 0.43603453040122986, -0.21806232631206512, -0.18709279596805573, -0.006814048625528812, -0.061651792377233505, -0.2297171652317047, 0.3382643461227417, 0.6770829558372498, 0.7032563090324402, 0.3383864760398865, -0.7511976361274719, -0.32481175661087036, 0.28422147035598755, 0.5884860754013062, -0.8201972842216492, -0.47623029351234436, 0.43628960847854614, -0.4706841707229614, -0.34072455763816833, 0.12862932682037354, -0.9837058186531067, -0.7737421989440918, -0.14052268862724304, 0.4395672380924225, -0.35433709621429443, -0.1926925927400589, 0.06920329481363297, -0.035342562943696976, 0.07177233695983887, 0.29705435037612915, -0.8711264729499817, 0.5429210662841797, 0.7923750281333923, 1.1194443702697754, -0.7390263080596924, -0.42056500911712646, -0.45644089579582214, -0.19737033545970917, -0.5938940644264221, 0.8838045597076416, -0.32394665479660034, -0.26992475986480713, -0.005388657562434673, -0.22029811143875122, -0.011662573553621769, -0.9361780285835266, 0.6941520571708679, -0.33928394317626953, -0.019090987741947174, -0.27135735750198364, -0.5476757287979126, -0.05182432383298874, 0.37215498089790344, -0.6208702325820923, 1.0116175413131714, -0.2754030227661133, -0.5634967684745789, 0.1782679557800293, -0.2173471599817276, -0.012560435570776463, -0.027755584567785263, -0.19109562039375305, -0.1567048281431198, 0.374064177274704, 0.1275658905506134, 0.6132697463035583, -0.264660120010376, 0.6996030807495117, -0.0652235671877861, -0.4482882022857666, 0.4668014347553253, -0.3027598261833191, 0.5513620376586914, -0.13179561495780945, -0.2908714711666107, 0.383828341960907, -0.7870050668716431, -0.12290651351213455, 0.06321624666452408, 0.013758018612861633, -0.25025591254234314, 0.17721058428287506, -0.03320370987057686, 0.023024534806609154, 0.05838489532470703, -0.12608259916305542, 0.031048549339175224, -0.36879947781562805, 0.09807837009429932, 0.8538270592689514, 0.11368951946496964, -0.07703648507595062, -0.5187723636627197, 0.30598315596580505, -0.04831235483288765, 0.027938663959503174, 0.08349643647670746, -0.7350963354110718, -0.640341579914093, -0.16216979920864105, 0.0032315554562956095, 0.3827512860298157, -0.2679593563079834, 0.6351910829544067, -0.23377452790737152, -0.6739985346794128, -0.5403249263763428, -0.0875999704003334, 0.032320164144039154, 0.40785446763038635, 0.3482089340686798, -0.2829790711402893, -0.49565115571022034, -0.815066397190094, -0.3170345723628998, -0.33204978704452515, -0.10361567884683609, 0.020573211833834648, 0.6975827217102051, -0.2732267677783966, 0.3294987380504608, -0.44867590069770813, -0.49125930666923523, -0.038880180567502975, 0.24146555364131927, 0.19774669408798218, 0.03675055876374245, 0.35072776675224304, -0.42931076884269714, -0.16394121944904327, -0.20238333940505981, -1.0802394151687622, -0.10406210273504257, -0.030400551855564117, -0.09943606704473495, 0.2842990756034851, 0.48204073309898376, -0.5271770358085632, 0.43054062128067017, 0.8607361912727356, -0.509890615940094, 0.8279711604118347, -0.022197214886546135, 0.34739774465560913, -0.7071641087532043, 0.020314441993832588, -0.3002123534679413, 0.16585446894168854, -0.4865967333316803, 0.17331300675868988, -0.3422529101371765, 0.1045759990811348, 0.06528361886739731, 0.3017294406890869, -0.2926493287086487, -0.3939374089241028, 0.004433476831763983, 0.6673513650894165, -0.15621179342269897, 0.24181319773197174, -0.10134861618280411, 0.6496087312698364, 0.5314780473709106, -0.3905971646308899, 0.649567186832428, 0.33184388279914856, -0.665964663028717, 0.2601969242095947, -0.32192644476890564, 0.27772659063339233, -0.07216998189687729, -0.19780127704143524, -1.1909570693969727, -0.3986368179321289, 0.11666753888130188, -0.3990027904510498, -0.236322820186615, 0.5292954444885254, -0.7047110795974731, -0.21122483909130096, -0.33779677748680115, -0.11078871041536331, 0.48756471276283264, -0.6123430728912354, 0.5010000467300415, 0.2366010993719101, -0.03575524687767029, -0.3446309566497803, -0.6501778364181519, 0.4054655134677887, -0.04759896919131279, -0.47622889280319214, 0.2570516765117645, -0.2179267406463623, -0.6381508708000183, -0.013530509546399117, 0.013871326111257076, 0.04146720468997955, 0.0027081859298050404, 0.5164628624916077, 0.16045914590358734, -0.38975265622138977, 0.1304653286933899, -0.19554808735847473, 0.19686885178089142, 0.4885560870170593, 0.18710316717624664, 0.7787373065948486, -0.0020490072201937437, -0.3190830647945404, -0.4652137756347656, 0.11783929914236069, 0.6605042219161987, 0.033562470227479935, 0.9646341800689697, 0.1266334503889084, -0.5322093963623047, -0.4544597566127777, -0.6458647847175598, -0.4847174286842346, -0.39101335406303406, 0.36220425367355347, -0.3580896854400635, -0.6757187247276306, 0.7229612469673157, 0.27866047620773315, 0.041856952011585236, 0.4210309088230133, 0.6810697317123413, 0.18804261088371277, 1.0540651082992554, 0.4473888576030731, 0.2685635983943939, -0.2265920341014862, 0.195013627409935, 0.597574770450592, -0.4653237760066986, -0.6048213243484497, -0.5263600945472717, -0.10397700220346451, -0.4711117446422577, -0.30400997400283813, 0.1681443303823471, 0.0644100233912468, 0.10757178068161011, 0.06879625469446182, -0.7453250288963318, 0.37741973996162415, 0.17160074412822723, -0.06861606985330582, 0.563305675983429, 0.09036725759506226, -0.016507821157574654, -0.44398561120033264, -0.36335763335227966, -0.9092415571212769, 0.9557144045829773, 0.19250410795211792, 0.6583353281021118, 0.15796290338039398, 0.560745894908905, 0.547353208065033, 0.3035723865032196, -0.8090744614601135, 0.8705776333808899, -0.051947783678770065, -0.3814307451248169, -0.45717835426330566, -0.31096145510673523, -0.61783367395401, 0.43513622879981995, -0.3749731779098511, -0.9564027190208435, -0.11203954368829727, -0.19784392416477203, -0.31805381178855896, 0.5478907823562622, -0.2533164322376251, 0.7547993659973145, -0.20818963646888733, -0.09733936935663223, -0.13786520063877106, -0.12667866051197052, 0.5498834848403931, -0.1911415308713913, 0.0383521169424057, -0.14432264864444733, 0.07474473863840103, 0.8333492279052734, -0.049476444721221924, 0.7180709838867188, 0.12710371613502502, -0.3544909358024597, 0.1664634793996811, 0.5333518385887146, 0.2845379710197449, -0.11770905554294586, -0.31390878558158875, 0.422428160905838, -0.16236086189746857, 0.09799758344888687, -0.6109022498130798, 0.8535562753677368, -0.7549141645431519, -0.5250993967056274, -0.4421333074569702, -0.5288886427879333, -0.21883970499038696, -0.025943981483578682, 0.23108620941638947, 0.1790052354335785, -0.6630554795265198, 0.20612452924251556, 0.533919095993042, -0.2092929482460022, 0.19861464202404022, 0.04426196962594986, -0.8610780239105225, -0.3338785767555237, 0.6265296339988708, 0.3253621757030487, 0.07183624804019928, 0.018963448703289032, 0.01263654325157404, -0.14538219571113586, -0.8893933892250061, -0.1882018893957138, 0.3899998068809509, -0.8291308283805847, 0.06207069382071495, -0.787250280380249, -0.5158316493034363, -0.702659010887146, -0.10320962220430374, -0.3900807499885559, -0.1478513926267624, -0.3497791290283203, -0.328011155128479, 0.14316359162330627, 0.9087203145027161, 0.11924588680267334, 0.051639314740896225, -0.3834564685821533, 0.5788747668266296, 0.42192891240119934, 0.4611404836177826, 0.260469526052475, -0.7038350105285645, 0.006608462426811457, -0.25160837173461914, -0.2972975969314575, -1.0327140092849731, 0.6069668531417847, -0.17210955917835236, 0.45466122031211853, 0.5883258581161499, 0.1339970827102661, 0.6481217741966248, -0.3726317584514618, 0.8296303153038025, 0.09871086478233337, -0.7817919254302979, 0.4449642300605774, 0.03429439663887024, 0.0851055383682251, 0.4751608669757843, 0.6155975461006165, -0.599837064743042, -0.812742292881012, -0.23600924015045166, -0.47823643684387207, 0.4094659090042114, 0.43955275416374207, -0.08685137331485748, -0.16716766357421875, 0.30964019894599915, 0.480775386095047, 0.20847488939762115, -0.7141909003257751, -0.06299784034490585, -0.09913044422864914, -0.08245894312858582, -0.024830495938658714, -0.4957421123981476, -0.010302445851266384, -0.14564190804958344, 0.6460540890693665, 0.10992597043514252, 0.07141739875078201, 0.23789319396018982, -0.04574689269065857, -0.3885956108570099, -0.01036533061414957, 0.6667430400848389, 1.0840883255004883, -0.5617700219154358, 0.38587820529937744, 0.06728129088878632, -0.6372275352478027, -0.2214348167181015, -0.26415589451789856, -0.07413597404956818, 0.1872832477092743, 0.743769109249115, 0.7268272638320923, 0.10458409786224365, -0.9268203377723694, 0.3416551947593689, -0.1353626400232315, -0.197901651263237, -0.2890293300151825, 0.24905569851398468, 0.022293105721473694, 0.3158465027809143, 0.4280560314655304, -0.14327499270439148, 0.2385217696428299, -0.9011562466621399, 0.23742787539958954, 0.2285526841878891, -0.5143361687660217, -0.48320138454437256, 0.6428893804550171, -0.06017228960990906, -0.7937423586845398, 0.9089867472648621, 0.052220601588487625, -0.451262503862381, 0.5829120874404907, 0.564423143863678, 1.0883841514587402, -0.3182213008403778, 0.37052929401397705, 0.6099987626075745, 0.6860384345054626, -0.27020853757858276, 0.18761219084262848, 0.32444146275520325, -0.7106960415840149, -0.12234985083341599, -0.7893556952476501, -0.5125635862350464, 0.36394408345222473, -0.7780089378356934, 0.27303019165992737, -0.38500431180000305, -0.2594858407974243, 0.18634764850139618, -0.28372710943222046, -0.17793254554271698, 0.09961345046758652, 0.290864497423172, 0.6684128642082214, -0.8409175872802734, 0.5924930572509766, 0.19876481592655182, -0.17797985672950745, -0.10924085974693298, 0.2763018012046814, -0.30621016025543213, -0.5553224682807922, 0.4129006564617157, 0.4084978699684143, -0.2510054409503937, -0.21243466436862946, -0.6853122711181641, -0.4977259337902069, 0.8032781481742859, 0.19674985110759735, -0.5309755802154541, -0.3892936706542969, 0.2168455868959427, 0.7642325758934021, -0.5474063158035278, -0.000644223066046834, 0.6025782823562622, 0.5880143046379089, -0.11484422534704208, -0.7705903053283691, 0.2290133237838745, 0.15510471165180206, -0.1404336541891098, 0.019537203013896942, -0.3879956305027008, 0.8312203288078308, -0.4275890290737152, -0.3579958379268646, 0.22123363614082336, 0.6948041319847107, 0.41506820917129517, 0.3225615620613098, 0.3081892132759094, 0.4597358703613281, 0.855002760887146, -0.15327228605747223, 0.8672298192977905, -0.24860067665576935, 0.05971422791481018, 1.2141942977905273, -0.5920757055282593, 0.9752986431121826, 0.5033758282661438, 0.08330253511667252, 0.5010291934013367, 0.27553340792655945, -0.32839715480804443, 0.5087363123893738, 0.2692115306854248, 0.2015487551689148, -0.3923293352127075, -0.0246774572879076, -0.3062978982925415, 0.37201568484306335, 0.2417685091495514, -0.38835084438323975, -0.2418588101863861, 0.12968118488788605, -0.11849124729633331, 0.3994017243385315, -0.0751984640955925, 0.815969705581665, 0.1350211203098297, -0.784597635269165, 0.5749027132987976, -0.042025126516819, 0.3905111849308014, -0.41791051626205444, -0.28714656829833984, -0.38388052582740784, 0.017382940277457237, -0.1946563869714737, -0.8624492287635803, 0.5994558930397034, 0.14887414872646332, -0.08660557866096497, -0.025380684062838554, 0.3339356780052185, -0.125793918967247, -0.443634957075119, 0.828865110874176, 0.46918654441833496, 0.5964863896369934, -0.2570042610168457, -0.38846924901008606, 0.5313555598258972, -0.2928202152252197, -0.23729000985622406, 0.04174336418509483, 0.5553646087646484, -0.02766788750886917, 0.6251521110534668, 0.3880288302898407, 0.27378374338150024, 0.221700057387352, 0.08698873966932297, 0.5627959370613098, -0.8818934559822083, -0.20282749831676483, -1.0729132890701294, 0.14115294814109802, -0.14376680552959442, -0.5076785087585449, 1.008991003036499, 0.7507666945457458, 0.5926810503005981, 0.062225520610809326, 0.23991543054580688, 0.18542252480983734, 0.41019096970558167, -0.4682997763156891, 1.08225417137146, -0.43856287002563477, 0.16880834102630615, -0.14861267805099487, -1.2819864749908447, -0.5081755518913269, 0.6739305853843689, -0.11755940318107605, -0.2370111048221588, 0.8999247550964355, 0.9558274149894714, 0.25011998414993286, 0.18568824231624603, 0.7404273152351379, 0.9045069813728333, 0.06471091508865356, 0.18990099430084229, 0.9391353130340576, -0.2753232717514038, 0.3823235034942627, -0.16755373775959015, -0.13158729672431946, -0.32140877842903137, -0.6603298187255859, -1.318589448928833, -0.6772986650466919, -0.3068464994430542, -0.46173980832099915, 0.4008564352989197, 0.6275553703308105, 0.2863784432411194, -1.0291906595230103, -0.42538249492645264, 0.10504723340272903, 0.15909479558467865, -0.1677393913269043, -0.23405039310455322, 0.4824090003967285, -0.1360672116279602, -0.46073561906814575, 0.29767370223999023, 0.44917863607406616, -0.12466752529144287, -0.7503288388252258, 0.06795834004878998, -0.017347218468785286, 0.46547678112983704, 0.7709765434265137, -0.36725908517837524, -1.0975466966629028, -0.30755847692489624, 0.19412356615066528, -0.3568240702152252, 0.1724405288696289, 0.4786810874938965, -0.5774955153465271, 0.37051841616630554, 0.37637731432914734, 0.33949610590934753, 0.1777999848127365, -0.21600590646266937, 0.11968518048524857, -0.2503114342689514, -0.1654605269432068, 0.3738899528980255, 0.0168461911380291, 0.37182608246803284, -0.27036648988723755, 0.6828286051750183, 0.09960486739873886, -0.6064456701278687, -1.4007291793823242, -0.12088769674301147, -0.9740645289421082, -0.44567620754241943, 0.8360552191734314, 0.30602356791496277, -0.2408546656370163, 0.1070365384221077, -0.20470072329044342, 0.06582284718751907, -0.15404155850410461, 1.4292731285095215, 0.9469128847122192, -0.13108457624912262, 0.12909434735774994, -0.8505101203918457, 0.4666559100151062, 0.08998528867959976, -0.7943624258041382, 0.28289154171943665, 0.5692504048347473, -0.25752055644989014, 0.35884979367256165, 0.5118239521980286, -0.04621116816997528, -0.06492243707180023, 0.11062748730182648, 0.20111379027366638, 0.28028109669685364, -0.8177502751350403, -0.21891167759895325, 0.7015977501869202, 0.017787648364901543, 0.29464811086654663 ]
http://arxiv.org/abs/2404.05902v1
http://arxiv.org/pdf/2404.05902v1
WILBUR: Adaptive In-Context Learning for Robust and Accurate Web Agents
2024-04-08T23:10:47
2024-04-08T23:10:47
Michael Lutz, Arth Bohra, Manvel Saroyan, Artem Harutyunyan, Giovanni Campagna
cs.CL
cs.CL, cs.AI
In the realm of web agent research, achieving both generalization and accuracy remains a challenging problem. Due to high variance in website structure, existing approaches often fail. Moreover, existing fine-tuning and in-context learning techniques fail to generalize across multiple websites. We introduce Wilbur, an approach that uses a differentiable ranking model and a novel instruction synthesis technique to optimally populate a black-box large language model's prompt with task demonstrations from previous runs. To maximize end-to-end success rates, we also propose an intelligent backtracking mechanism that learns and recovers from its mistakes. Finally, we show that our ranking model can be trained on data from a generative auto-curriculum which samples representative goals from an LLM, runs the agent, and automatically evaluates it, with no manual annotation. Wilbur achieves state-of-the-art results on the WebVoyager benchmark, beating text-only models by 8% overall, and up to 36% on certain websites. On the same benchmark, Wilbur is within 5% of a strong multi-modal model despite only receiving textual inputs, and further analysis reveals a substantial number of failures are due to engineering challenges of operating the web.
[ -0.2627047896385193, -0.7438459992408752, 0.3471706509590149, 0.3314208686351776, 0.331783264875412, 0.41553786396980286, -0.3814384341239929, -0.4134840667247772, -0.1819908767938614, -0.21991534531116486, -0.4782102108001709, -0.627842903137207, -0.4263080656528473, 0.20394174754619598, -0.4510560929775238, 0.9175276160240173, 0.27111974358558655, -0.08804129809141159, -0.3656480610370636, 0.164179727435112, -0.2741004526615143, -0.408265620470047, -0.838692843914032, -0.10179207473993301, 0.47609078884124756, 0.31541892886161804, 0.6035114526748657, 0.6561159491539001, 0.22376464307308197, 0.3856644928455353, 0.129214346408844, 0.21393311023712158, -0.6512974500656128, 0.14920111000537872, -0.47060278058052063, -0.3386361002922058, -0.49919623136520386, 0.034117721021175385, 0.6316981911659241, 0.7747890949249268, -0.376323938369751, -0.2540397047996521, 0.257535845041275, 0.29839104413986206, -0.9059983491897583, 0.10134553909301758, -0.7001575827598572, -0.14370708167552948, 0.24108855426311493, -0.31565216183662415, -0.846835732460022, -0.41272491216659546, 0.3118772506713867, -0.8990402817726135, 0.34801265597343445, 0.112064890563488, 0.6586852669715881, 0.2608284652233124, -0.5467979311943054, -0.516657292842865, -0.3832536041736603, 1.1702200174331665, -0.45164406299591064, 0.5577947497367859, 0.39097586274147034, 0.5584056973457336, -0.42396190762519836, -0.7680128812789917, -0.2858518064022064, -0.44155851006507874, 0.17443840205669403, 0.24000787734985352, -0.2748182713985443, -0.23432129621505737, 0.0931352823972702, -0.03067679889500141, -0.5785754323005676, 0.2230289727449417, -0.21060453355312347, -0.16801762580871582, 0.48666879534721375, 0.2999365031719208, 0.20345796644687653, 0.25584250688552856, -0.30747514963150024, -0.5384638905525208, -0.308045893907547, 0.4436056911945343, 0.3503386974334717, 0.5708017945289612, -0.08622787147760391, -0.10786451399326324, -0.40153807401657104, 0.9041677117347717, 0.5275402665138245, -0.04619345813989639, 0.17888225615024567, 0.2254541516304016, -0.2290698140859604, -0.1961796134710312, 0.4690884053707123, 0.02678392454981804, -0.020279113203287125, -0.4098901152610779, -0.16520115733146667, -0.20908071100711823, 0.6879197955131531, -0.6877040266990662, -0.3513680696487427, 0.33601024746894836, -0.28256481885910034, -0.3275093734264374, 0.3225543200969696, -0.6121914386749268, -0.18624381721019745, -0.06867160648107529, 0.36268162727355957, -0.4585418999195099, 0.05853000283241272, -0.14990492165088654, -0.25707530975341797, 0.33225229382514954, 0.6636974215507507, -0.9404692053794861, 0.06402266025543213, 0.48459774255752563, 0.6829224228858948, -0.44098755717277527, -0.7756759524345398, -0.74977046251297, 0.2887342572212219, -0.709924578666687, 0.8429148197174072, -0.7373649477958679, -0.22727277874946594, 0.20116011798381805, 0.04528476297855377, -0.08039888739585876, -0.3569469451904297, -0.10375330597162247, -0.5711630582809448, 0.1610528826713562, -0.11198246479034424, -0.5083112120628357, -0.23301519453525543, 0.5850570797920227, -0.3657682240009308, 0.6891599297523499, 0.2577439248561859, -0.33159303665161133, 0.3069668412208557, -0.3288881480693817, -0.6452541351318359, -0.18704122304916382, 0.14592090249061584, -0.1540466696023941, 0.15011046826839447, 0.08954964578151703, 0.48155951499938965, -0.19091376662254333, 0.07900777459144592, -0.3780733048915863, -0.5342557430267334, 0.2679869532585144, -0.4191463887691498, 0.8099802136421204, -0.12112139910459518, -0.3629379868507385, 0.3286820948123932, -1.0702804327011108, 0.1951950490474701, 0.07778648287057877, -0.8191322088241577, -0.340731143951416, 0.23469217121601105, -0.015670329332351685, 0.004258163273334503, 0.09449237585067749, -0.24829985201358795, 0.4030669927597046, -0.4746573567390442, 0.13450360298156738, 1.0150235891342163, -0.17007793486118317, 0.45445379614830017, -0.6246763467788696, 0.6479045152664185, -0.3559252917766571, 0.32299795746803284, 0.06358879059553146, -0.09551891684532166, -0.7951104640960693, -0.08317592740058899, 0.2432631254196167, 0.4829425811767578, -0.7969301342964172, 0.3174094557762146, -0.23483486473560333, -0.5697051882743835, -0.02528543584048748, 0.030708054080605507, 0.48899444937705994, 0.31978142261505127, 0.6641467213630676, -0.29763442277908325, -0.07706116139888763, -0.5240595936775208, -0.10865923017263412, -0.20318983495235443, -0.22394166886806488, 0.10344203561544418, 0.4262131452560425, -0.37015801668167114, 0.8097435832023621, -0.4969332814216614, -0.25538527965545654, -0.11914508789777756, 0.2923761010169983, -0.13735806941986084, 0.5548282265663147, 0.5119020342826843, -0.8715448975563049, -0.6956146359443665, 0.15464551746845245, -0.8564049005508423, 0.13423314690589905, -0.21395501494407654, -0.08694569766521454, 0.09185321629047394, 0.4306335747241974, -0.16124027967453003, 0.18297074735164642, 0.44670364260673523, -0.049416493624448776, 0.3950624167919159, -0.1425713449716568, 0.16652938723564148, -0.9831720590591431, -0.17623339593410492, 0.15995734930038452, -0.3125048875808716, -0.4135558009147644, 0.4258173108100891, 0.19521275162696838, 0.10439466685056686, -0.48167091608047485, 0.4070034325122833, -0.5888648629188538, 0.07471450418233871, -0.4186062812805176, 0.009305662475526333, -0.09752895683050156, 0.8559852242469788, -0.2963743805885315, 0.9145439267158508, 0.7237449288368225, -0.8730267882347107, 0.5767751336097717, 0.3502853214740753, -0.055399831384420395, 0.7944642901420593, -0.4146086275577545, 0.24769388139247894, -0.08258237689733505, 0.3216002881526947, -0.6882851123809814, -0.45754432678222656, 0.1745801568031311, -0.5170003175735474, 0.4539485275745392, -0.1163501888513565, 0.025058191269636154, -0.027185222133994102, -0.6295788288116455, 0.12328051775693893, 0.3708193600177765, -0.6800917387008667, 0.8043874502182007, 0.22442932426929474, 0.02349465899169445, -0.6154621839523315, -0.3780369758605957, 0.0631394237279892, 0.02715916559100151, -0.2948538661003113, 0.38835182785987854, -0.4772464632987976, -0.25463974475860596, -0.04894966632127762, -0.09841453284025192, -0.4263889193534851, 0.43547433614730835, 0.08778621256351471, -0.1962926983833313, -0.023857073858380318, 0.17218315601348877, 0.19798550009727478, 0.09548027813434601, 0.06981863081455231, -0.4589988887310028, 0.14666469395160675, -0.14988112449645996, -0.34843409061431885, -0.39620569348335266, 0.3098132610321045, 0.3929305374622345, 0.02465403452515602, 0.6627511382102966, 0.34307071566581726, -0.4701814651489258, -0.9914129972457886, -0.15103761851787567, -0.1555946171283722, -0.505283534526825, 0.3173130750656128, -0.48461493849754333, -0.4941016137599945, 0.20473264157772064, -0.07179895788431168, 0.1633012890815735, 0.24613018333911896, 0.3293381631374359, -0.22491919994354248, 1.1484493017196655, 0.976839005947113, 0.07585819065570831, 0.6570224761962891, -0.3402518332004547, -0.29076969623565674, -0.6160915493965149, -0.28103938698768616, -0.5161927342414856, -0.06442444771528244, -0.43510162830352783, -0.134352445602417, 0.4041930139064789, 0.08727213740348816, -0.13332661986351013, 0.3324021100997925, -0.471708744764328, 0.37250640988349915, 0.7887921333312988, 0.2698233127593994, 0.10380753874778748, 0.13562603294849396, -0.021513503044843674, 0.4311259686946869, -0.735369086265564, -0.20710155367851257, 1.078015685081482, -0.148467019200325, 0.9624977111816406, 0.5881935358047485, 0.4572753310203552, 0.7086860537528992, 0.46781784296035767, -0.7175896763801575, 0.36513087153434753, 0.06305136531591415, -0.30724450945854187, -0.4400637745857239, -0.3287193179130554, -0.9903630018234253, 0.3849324882030487, -0.15643319487571716, -0.5731923580169678, 0.14925424754619598, 0.44553884863853455, -0.2319892942905426, -0.16977408528327942, -0.5112531185150146, 0.7866082191467285, -0.1935219168663025, -0.7960642576217651, -0.2467067688703537, -0.5961897969245911, 0.0029072770848870277, -0.1181885302066803, 0.06892120093107224, 0.19777745008468628, 0.10695259273052216, 0.37754449248313904, -0.3653501272201538, 0.9277938008308411, 0.009195092134177685, -0.07621446996927261, 0.08310605585575104, 0.15669363737106323, 0.6750973463058472, -0.11699551343917847, -0.086979441344738, -0.07193277776241302, -0.24522709846496582, -0.5966101288795471, -0.7479997277259827, 0.6852317452430725, -0.6606398820877075, -0.7908679842948914, -0.6940658092498779, -0.4175467789173126, -0.5208242535591125, 0.01349705271422863, 0.22936131060123444, 0.5956314206123352, -0.2442212849855423, 0.4316989779472351, 0.43467894196510315, -0.3204675316810608, 0.5746850967407227, 0.6854947805404663, 0.1583547741174698, -0.3163623809814453, 1.1317026615142822, -0.16664600372314453, 0.19916799664497375, 0.6921618580818176, 0.2145232856273651, -0.27578720450401306, -0.6352962255477905, -0.5341119170188904, -0.17854830622673035, -1.0657647848129272, -0.28326740860939026, -0.5357387661933899, -0.045980896800756454, -0.414826363325119, -0.6885254979133606, -0.17580775916576385, 0.058678288012742996, -0.46630170941352844, 0.0521305575966835, -0.06915342062711716, 0.7909777164459229, 0.06159048154950142, 0.11534060537815094, -0.5496930480003357, -0.10865841805934906, 0.6881831884384155, 0.09566061198711395, 0.41662800312042236, -0.3660043776035309, -0.40568357706069946, 0.08187436312437057, -0.6832340955734253, -0.9030545949935913, 0.21656541526317596, 0.34628069400787354, 0.6979230642318726, 0.16919654607772827, 0.16963888704776764, 0.8091075420379639, -0.2861405611038208, 0.6882590651512146, 0.04063788428902626, -1.1982920169830322, 0.6306240558624268, -0.4442049562931061, 0.3445056676864624, 0.40665802359580994, 0.5509034991264343, -0.20717035233974457, -0.6678072214126587, -0.22122523188591003, -0.7670336961746216, 0.6428589224815369, -0.022829582914710045, 0.12027507275342941, -0.12476781755685806, 0.10100774466991425, 0.13099099695682526, 0.1591186821460724, -0.7857498526573181, 0.0823645368218422, -0.34962281584739685, -0.42391857504844666, 0.059193000197410583, 0.0016998881474137306, 0.10285104066133499, -0.19551785290241241, 1.0176292657852173, -0.6872836947441101, -0.01920759677886963, 0.1067996397614479, -0.6818184852600098, -0.06032101809978485, 0.1726246327161789, 0.5566228032112122, 1.301405668258667, -0.16730694472789764, 0.06144360080361366, 0.278612345457077, -0.16997872292995453, 0.1681860238313675, 0.19301076233386993, -0.14732994139194489, -0.40162181854248047, 0.6418968439102173, 0.3572539985179901, 0.5106111168861389, -0.8317080736160278, 0.5690203905105591, -0.12478012591600418, 0.17230013012886047, -0.3777477741241455, 0.38384899497032166, -0.249415785074234, 0.4128414988517761, 0.7711383700370789, -0.1575382500886917, 0.31840547919273376, -0.6571047306060791, 0.25486668944358826, 0.42589041590690613, -0.43363142013549805, -0.3373321294784546, 0.8568866848945618, 0.40174293518066406, -0.3479384481906891, 0.49332788586616516, -0.458371639251709, -0.4030030369758606, 0.8758426904678345, 0.7743879556655884, 0.7890514135360718, -0.26013827323913574, 0.3422810435295105, 0.18591569364070892, 0.024974975734949112, -0.24795213341712952, -0.10952715575695038, -0.060342151671648026, -0.4808637201786041, -0.013614403083920479, -0.6830888986587524, -0.7587986588478088, -0.1680799424648285, -0.5910142064094543, 0.032145991921424866, -0.5939404368400574, -0.012535423040390015, -0.035760924220085144, -0.12290140241384506, -0.5222480893135071, 0.3503386974334717, -0.4516303539276123, 0.6655054688453674, -0.44721561670303345, 0.728676438331604, 0.8284959197044373, -0.5910782814025879, -0.7084400653839111, 0.484065979719162, 0.08333293348550797, -0.38365405797958374, 0.3385668396949768, 0.290498822927475, -0.42851513624191284, 0.4321545660495758, -0.4512024223804474, -0.7259995937347412, 1.0364097356796265, 0.35830000042915344, -0.38555407524108887, 0.013961929827928543, -0.5869472622871399, 0.5335962772369385, -0.21860256791114807, 0.24090972542762756, -0.16458985209465027, 0.24694213271141052, -0.14621774852275848, -0.7327683568000793, 0.03339532017707825, -0.16291821002960205, 0.012282460927963257, -0.029832374304533005, -0.8037375211715698, 1.085819959640503, -0.12746986746788025, -0.2673953175544739, 0.08595655858516693, 0.6445353627204895, 0.05408142879605293, 0.29967793822288513, 0.4014306962490082, 0.1252235323190689, 0.7349122762680054, 0.15467453002929688, 1.1426576375961304, -0.19577758014202118, 0.5462455749511719, 0.9212671518325806, -0.15477806329727173, 0.7595411539077759, 0.04364006593823433, -0.15897947549819946, 0.8580966591835022, 0.5612781047821045, -0.11814321577548981, 0.539711594581604, 0.1283617615699768, -0.10075943171977997, -0.35851114988327026, -0.0018322145333513618, -0.20232506096363068, 0.6733499765396118, 0.039268650114536285, -0.08829417079687119, -0.20131883025169373, 0.15729035437107086, -0.2089802324771881, 0.46491357684135437, -0.2791597247123718, 0.7625234723091125, -0.21026481688022614, -0.7731033563613892, 0.7791043519973755, 0.285844087600708, 0.6036806106567383, -0.755700945854187, -0.36133864521980286, -0.32849541306495667, 0.2683972418308258, -0.037153709679841995, -0.12752015888690948, -0.06043686717748642, 0.04241720959544182, -0.260652095079422, -0.29382869601249695, 0.3759450614452362, -0.3260873556137085, -0.46044278144836426, 0.3526213765144348, 0.3830357491970062, -0.04368530586361885, 0.04759492352604866, -0.4773934483528137, 0.08975245803594589, -0.08973944932222366, -0.2725311815738678, 0.37811601161956787, 0.0917113721370697, -0.2214220017194748, 0.9835078716278076, 0.7435957193374634, -0.21227505803108215, -0.0018422245047986507, -0.17774778604507446, 0.6391483545303345, -0.6740494966506958, -0.7883015871047974, -0.683147132396698, 0.31616756319999695, -0.17231887578964233, -0.2368585169315338, 0.8158411383628845, 0.45298290252685547, 1.2555292844772339, -0.05476091057062149, 0.8849884271621704, -0.03234688192605972, 0.07774071395397186, -0.597821831703186, 0.6030701994895935, -0.8514941334724426, 0.02332986332476139, -0.06093950942158699, -0.9015005230903625, -0.12595900893211365, 0.7966106534004211, 0.015303941443562508, 0.19846518337726593, 0.7589514255523682, 0.6133439540863037, -0.17844143509864807, -0.20593418180942535, 0.4302997887134552, 0.23210538923740387, 0.5063291192054749, 0.7991105914115906, 0.9441584944725037, -0.24455270171165466, 0.7079219818115234, -0.1846446841955185, -0.3296372890472412, -0.3486279845237732, -0.8142207860946655, -1.0023314952850342, -0.5894097685813904, -0.18468700349330902, -0.2703950107097626, 0.4605916738510132, 1.1016229391098022, 0.9269016981124878, -0.8931335210800171, -0.19186528027057648, -0.0322798416018486, 0.3950459361076355, -0.7457356452941895, -0.2241145521402359, 0.3447728753089905, -0.5818641781806946, -1.0301756858825684, 0.8130196332931519, 0.20029443502426147, -0.0029141930863261223, -0.1933448165655136, -0.1593259871006012, -0.14830607175827026, 0.11556579917669296, 0.4944007098674774, 0.3070976734161377, -0.7098588347434998, -0.6495369076728821, -0.15288548171520233, -0.2971782088279724, 0.01388482004404068, 0.5319685339927673, -0.7912424802780151, 0.4336087703704834, 0.2464117407798767, 0.8811436891555786, 0.2023897022008896, 0.3165842294692993, 0.5333393216133118, -0.9067833423614502, 0.028703078627586365, 0.1364942193031311, 0.0653882622718811, 0.42349469661712646, -0.3779022693634033, 0.42023786902427673, 0.3303152918815613, -0.26402223110198975, -0.7129397392272949, 0.27449890971183777, -0.8989145755767822, -0.8519238233566284, 0.9267270565032959, -0.24512022733688354, -0.1608726978302002, -0.20739991962909698, 0.24546515941619873, 0.19156569242477417, -0.4854542315006256, 1.2515209913253784, 0.559039294719696, -0.07422460615634918, 0.1492193639278412, -0.27147507667541504, 0.38441410660743713, 0.04218036308884621, -0.9993690252304077, -0.19496482610702515, 0.759171724319458, 0.5100281238555908, 0.1664121448993683, 0.42772382497787476, 0.6464821696281433, 0.49639376997947693, 0.1918710619211197, -0.11053583025932312, -0.348832368850708, -0.8305774927139282, -0.2577432096004486, 0.6413722634315491, 0.07265345007181168, -0.17891885340213776 ]
http://arxiv.org/abs/2404.05893v2
http://arxiv.org/pdf/2404.05893v2
Use of a Structured Knowledge Base Enhances Metadata Curation by Large Language Models
2024-04-08T22:29:53
2024-04-17T04:17:12
Sowmya S. Sundaram, Benjamin Solomon, Avani Khatri, Anisha Laumas, Purvesh Khatri, Mark A. Musen
cs.AI
cs.AI, cs.CL, cs.IR
Metadata play a crucial role in ensuring the findability, accessibility, interoperability, and reusability of datasets. This paper investigates the potential of large language models (LLMs), specifically GPT-4, to improve adherence to metadata standards. We conducted experiments on 200 random data records describing human samples relating to lung cancer from the NCBI BioSample repository, evaluating GPT-4's ability to suggest edits for adherence to metadata standards. We computed the adherence accuracy of field name-field value pairs through a peer review process, and we observed a marginal average improvement in adherence to the standard data dictionary from 79% to 80% (p<0.01). We then prompted GPT-4 with domain information in the form of the textual descriptions of CEDAR templates and recorded a significant improvement to 97% from 79% (p<0.01). These results indicate that, while LLMs may not be able to correct legacy metadata to ensure satisfactory adherence to standards when unaided, they do show promise for use in automated metadata curation when integrated with a structured knowledge base.
[ -0.18147195875644684, -0.47385725378990173, 1.1364970207214355, -0.040139999240636826, -0.12234612554311752, -0.08240905404090881, -0.22541838884353638, -0.3309805393218994, -0.13446581363677979, 0.7733480930328369, -0.13639339804649353, -1.0947892665863037, -0.615273654460907, 0.27098724246025085, -0.43630778789520264, 1.1706092357635498, -0.349892795085907, -0.4424799382686615, -0.23599793016910553, -0.06756255775690079, -0.4803069233894348, -0.6031162142753601, -0.27165764570236206, -0.46239230036735535, 0.7465622425079346, 0.1910770833492279, 0.9942901730537415, 0.9584544897079468, 0.6947669386863708, 0.21982760727405548, -0.19001825153827667, 0.18095234036445618, -0.19734802842140198, 0.19800962507724762, -0.4588429629802704, -0.3032749891281128, -0.8440654277801514, 0.10951905697584152, 0.865684449672699, 0.9227587580680847, -0.26195114850997925, -0.040985286235809326, 0.07514438778162003, 0.6819882392883301, -0.37511345744132996, 0.18372085690498352, -0.6270314455032349, -0.015544299967586994, -0.40696799755096436, -0.5160690546035767, -0.1783909648656845, -0.22276447713375092, 0.09718862920999527, -0.8437511324882507, 0.15596146881580353, -0.1244582086801529, 0.9191796183586121, 0.19850918650627136, -0.5364760160446167, -0.36442720890045166, -0.7175356149673462, 0.27664366364479065, -0.76938796043396, 0.6045048236846924, 0.6346880793571472, -0.004361436236649752, -0.6119274497032166, -0.9469308257102966, -0.3538706302642822, -0.10690955817699432, -0.17628797888755798, -0.04315963014960289, 0.16100533306598663, 0.23197077214717865, 0.4613918364048004, 0.37326154112815857, -0.32930153608322144, -0.03111325576901436, -0.4442295432090759, -0.45668965578079224, 0.2112942337989807, 0.25105568766593933, 0.17860355973243713, -0.15005040168762207, -0.06734006106853485, 0.37182989716529846, -1.0342704057693481, -0.14713054895401, 0.2559039294719696, 0.1282655894756317, 0.30107611417770386, 0.573669970035553, -0.03932308405637741, 0.952339768409729, 0.03650379925966263, -0.36821818351745605, 0.21098893880844116, -0.5580000877380371, -0.35169529914855957, -0.14246870577335358, 0.47492629289627075, 0.3605860769748688, 0.07561670243740082, -0.28088974952697754, -0.056307654827833176, -0.22658772766590118, 0.40842846035957336, -0.8296236991882324, -0.5521551370620728, 0.2580548822879791, -0.473054975271225, -0.18750688433647156, -0.05228618159890175, -0.1806805431842804, -0.306784451007843, -0.49986088275909424, 0.5905913710594177, -0.4303312599658966, -0.051902543753385544, 0.23116277158260345, -0.1360105723142624, -0.1472444236278534, 0.546233594417572, -0.8648019433021545, 0.39074957370758057, 0.7407786846160889, 1.1898797750473022, 0.02326873317360878, -0.04777376726269722, -0.34326788783073425, 0.7718650102615356, -0.5077165365219116, 0.6554243564605713, -0.603147566318512, -0.335003525018692, -0.29167789220809937, 0.2562675178050995, 0.07364866882562637, -0.5426077842712402, 0.7457455992698669, -0.5913745164871216, 0.13810282945632935, -0.34395208954811096, -0.6916696429252625, -0.16254699230194092, 0.5228890180587769, -0.7543412446975708, 0.9317682385444641, 0.4168423116207123, -0.718955934047699, 0.6252691745758057, -0.42948514223098755, -0.19867780804634094, 0.11160748451948166, 0.053463567048311234, -0.4447077512741089, 0.028179310262203217, 0.1296565681695938, 0.4891430139541626, 0.05147559940814972, 0.5999473333358765, -0.2738038897514343, -0.4683547914028168, -0.05836673080921173, 0.04719562083482742, 0.3533162772655487, 0.20426727831363678, -0.10464098304510117, -0.026928652077913284, -0.49313274025917053, -0.01409111637622118, -0.29207050800323486, -0.7715821266174316, -0.6232485771179199, 0.012964600697159767, -0.2365637868642807, 0.3980598747730255, -0.047445233911275864, -0.4880400002002716, 0.5928294062614441, -0.3102330267429352, 0.2583792507648468, 0.6756220459938049, 0.20420686900615692, 0.24023598432540894, -0.49032101035118103, 0.2924495041370392, 0.2538597285747528, -0.022215284407138824, -0.15681293606758118, -0.5613735318183899, -0.25729551911354065, -0.31219103932380676, 0.6512669324874878, 0.17733067274093628, -0.48926353454589844, 0.4832784831523895, -0.5408352017402649, -0.5117913484573364, -0.33894291520118713, 0.4995129406452179, 0.08143539726734161, 0.8454490900039673, 0.3128465712070465, -0.5765841603279114, -0.7364811301231384, -0.8199185729026794, -0.043145645409822464, -0.15499469637870789, -0.3106217384338379, 0.4428182542324066, 0.4485286772251129, -0.4268200397491455, 1.103390097618103, -0.26258355379104614, -0.5802304744720459, 0.21089406311511993, -0.10618754476308823, 0.4952390789985657, 0.2030659317970276, 0.35945186018943787, -0.5980582237243652, -0.49262821674346924, 0.019139625132083893, -0.7423863410949707, -0.3761006295681, 0.21330787241458893, -0.15656925737857819, 0.15044981241226196, 0.31339728832244873, -0.4889009892940521, 0.14379490911960602, 0.7356679439544678, -0.26667559146881104, 0.3202893137931824, -0.3243104815483093, 0.20610803365707397, -1.1065844297409058, 0.36451464891433716, 0.0679718628525734, -0.4589748978614807, -0.8770816922187805, -0.3290708661079407, 0.22873352468013763, 0.20938076078891754, -0.2672070860862732, 0.28428003191947937, -0.41175949573516846, -0.08507414162158966, -0.16080911457538605, 0.21034790575504303, 0.32522571086883545, -0.04386023432016373, 0.3560810685157776, 0.704748809337616, 0.2662965655326843, -0.6549920439720154, -0.04021196812391281, 0.4318043887615204, -0.36776357889175415, 0.49583694338798523, -0.6338247060775757, 0.033831097185611725, -0.06433995813131332, 0.6540273427963257, -0.7008577585220337, -0.3090916872024536, 0.07903404533863068, -0.10220632702112198, 0.3469761610031128, -0.41164159774780273, -0.6339463591575623, -0.25176212191581726, -0.22735998034477234, 0.055883005261421204, 0.29863813519477844, -0.17082512378692627, 0.549220085144043, 0.37814074754714966, -0.07255334407091141, -0.3829535245895386, -0.7204108834266663, 0.4777696132659912, -0.14910335838794708, -0.8641576170921326, 0.5911256074905396, -0.016896994784474373, -0.12718172371387482, 0.15165019035339355, -0.11255454272031784, 0.08537112176418304, 0.10522762686014175, 0.15255601704120636, 0.21020349860191345, -0.17678695917129517, 0.47666338086128235, -0.4211258888244629, 0.17840616405010223, 0.0634540319442749, -0.5901175737380981, 0.38871869444847107, -0.19187015295028687, -0.23708698153495789, -0.3540324568748474, -0.008038436993956566, 0.5277338624000549, 0.05767576023936272, 0.8203757405281067, 0.4300781190395355, -0.2809631824493408, 0.20531907677650452, -0.611681342124939, -0.1480940878391266, -0.4516621530056, 0.20990139245986938, -0.42251741886138916, -1.0868381261825562, 0.4545794725418091, -0.18031913042068481, -0.017214646562933922, 0.48759767413139343, 0.6982481479644775, -0.2930956482887268, 0.7133011817932129, 0.5446829199790955, 0.024735912680625916, 0.12451513111591339, 0.16767720878124237, 0.24018709361553192, -1.2250192165374756, -0.11504543572664261, -0.5019094944000244, -0.3381524980068207, -0.6303912401199341, -0.45855388045310974, 0.5682116150856018, -0.15952859818935394, -0.2978868782520294, 0.15618838369846344, -0.560620129108429, 0.23127226531505585, 0.26146841049194336, 0.32899051904678345, 0.5831868052482605, -0.11009804904460907, 0.06411367654800415, -0.05517556145787239, -0.6056050658226013, -0.6727491021156311, 1.24079430103302, 0.5856199860572815, 0.6716910600662231, 0.22550548613071442, 0.6761681437492371, 0.13373765349388123, 0.583418071269989, -0.5376359820365906, 0.15792371332645416, -0.17081910371780396, -0.7302702069282532, -0.2717263400554657, -0.4438488483428955, -0.7541271448135376, -0.03297144174575806, 0.029348094016313553, -0.497400164604187, 0.21372273564338684, 0.2640400230884552, -0.21444571018218994, 0.31999778747558594, -0.34447526931762695, 0.6328698992729187, -0.12457021325826645, -0.30014467239379883, 0.4186708629131317, -0.5721243023872375, 0.41285237669944763, -0.5278288125991821, 0.3604188561439514, -0.17417632043361664, -0.3152235150337219, 0.8015861511230469, -0.5861857533454895, 0.8053524494171143, -0.21386314928531647, -0.31390976905822754, 0.09558046609163284, 0.16918766498565674, 0.7669108510017395, -0.09418376535177231, -0.2075759917497635, 0.14871616661548615, 0.22733880579471588, -0.09601261466741562, -0.5457437038421631, 0.578890860080719, -0.6827873587608337, -0.8853943347930908, -0.23580974340438843, -0.6643675565719604, -0.4378710985183716, 0.33223965764045715, 0.03154728561639786, 0.15651367604732513, 0.0949287861585617, 0.6710324287414551, 1.031772255897522, -0.028442369773983955, -0.16083836555480957, 0.6601184606552124, -0.2307206392288208, -0.15629985928535461, 0.4018898904323578, 0.3151288628578186, 0.38668403029441833, 0.250935822725296, 0.43923190236091614, -0.024801069870591164, -0.9163933992385864, -0.14964735507965088, 0.21877922117710114, -0.6390407681465149, -0.40194395184516907, -1.0780850648880005, -0.29228508472442627, -0.3900822401046753, -0.11222279816865921, 0.055162105709314346, -0.37646934390068054, -0.026833903044462204, -0.19858060777187347, 0.594603419303894, 0.7625085711479187, 0.12072474509477615, 0.2683577239513397, -0.938229501247406, 0.11894292384386063, -0.011984271928668022, 0.5723181366920471, -0.3669547140598297, -0.9917880296707153, -0.2103058397769928, -0.09519146382808685, -0.10027827322483063, -0.833261251449585, 0.2093431055545807, 0.5664897561073303, 0.5474370718002319, 0.09462112188339233, -0.3012206554412842, 0.5533384084701538, -0.48485806584358215, 0.5776811242103577, -0.2564579248428345, -0.8930355906486511, 0.5415263175964355, -1.0463846921920776, 0.5300745368003845, 0.5465380549430847, 0.41061636805534363, -0.9477206468582153, -0.6137841939926147, -0.3823283910751343, -0.7473735213279724, 0.6538338661193848, 0.07900262624025345, 0.06693948805332184, 0.22338441014289856, 0.5032404065132141, -0.09901230037212372, 0.27263936400413513, -0.7085963487625122, 0.020395200699567795, -0.2636552155017853, -0.29943057894706726, 0.22505401074886322, -0.44622859358787537, -0.24813777208328247, -0.17443446815013885, 0.8282943964004517, -0.08098430931568146, -0.13471642136573792, 0.18290509283542633, 0.07634414732456207, -0.2651626467704773, 0.4029957056045532, 0.41120272874832153, 0.6442815661430359, -0.4402041733264923, 0.23517842590808868, 0.1793321818113327, -0.8640269041061401, 0.13110442459583282, -0.19516320526599884, -0.39817649126052856, -0.08236349374055862, 0.2641232907772064, 0.3165449798107147, 0.31354695558547974, -0.18178826570510864, 0.43302181363105774, 0.05137615278363228, -0.5723692178726196, -0.01846715435385704, 0.01746947690844536, 0.44050687551498413, -0.1851852387189865, 0.0976092591881752, -0.04171770066022873, 0.210178405046463, -0.6607982516288757, 0.4203677475452423, 0.2623758018016815, -0.2490502893924713, -0.11037179082632065, 0.4979085624217987, 0.019880134612321854, 0.17060448229312897, 0.7199536561965942, 0.3219086527824402, -0.4630051553249359, 0.33173173666000366, 0.5765690207481384, 0.24686869978904724, -0.3530214726924896, 0.06669927388429642, 0.2510323226451874, 0.5819823741912842, -0.33228498697280884, 0.05152752622961998, 0.17207348346710205, -0.7593303918838501, -0.45018377900123596, -0.8133218288421631, -0.3878479301929474, 0.11617598682641983, -0.23581334948539734, 0.3209417760372162, -0.5776199102401733, -0.29377925395965576, 0.03579753637313843, 0.19022774696350098, -0.7402722835540771, 0.18926258385181427, 0.002590706804767251, 1.114115595817566, -0.8682774901390076, 1.1075679063796997, 0.5474569797515869, -0.41588565707206726, -1.2779511213302612, -0.28128913044929504, 0.35195502638816833, -0.24830114841461182, 0.6499998569488525, 0.07781805098056793, 0.19797314703464508, -0.016123559325933456, -0.2827632427215576, -1.2986027002334595, 1.3632844686508179, 0.1850212961435318, -0.6066504716873169, -0.10253844410181046, -0.021051861345767975, 0.8520975708961487, -0.29434964060783386, 0.029417041689157486, 0.8788800835609436, 1.0538933277130127, 0.2123572826385498, -1.0452443361282349, 0.20161880552768707, -0.17463330924510956, -0.09071332961320877, 0.5372968912124634, -0.2960059642791748, 0.6848448514938354, 0.1091025248169899, 0.06388124823570251, -0.12637856602668762, 0.2802201807498932, 0.33954140543937683, 0.1811523288488388, 0.20642659068107605, 0.6558628678321838, 0.9043431878089905, -0.278341680765152, 0.8511577844619751, -0.18250013887882233, 0.04246523976325989, 1.0391395092010498, -0.6050341725349426, 0.5411410927772522, 0.39336615800857544, -0.15297165513038635, 0.7059853076934814, 0.6363806128501892, -0.38712993264198303, 0.33754122257232666, -0.024803008884191513, -0.24761678278446198, -0.1789754182100296, -0.18453405797481537, -0.39069312810897827, 0.418070912361145, 0.7014020681381226, -0.7623357176780701, -0.1578749418258667, -0.34534722566604614, 0.4358043968677521, -0.013696598820388317, -0.36363622546195984, 0.8709908127784729, -0.05911584943532944, -0.7151021361351013, 0.3251310884952545, -0.01441860105842352, 0.40958335995674133, -0.6872389316558838, -0.021687019616365433, -0.027121534571051598, 0.09423800557851791, -0.7781490683555603, -1.0414990186691284, 0.4974370002746582, -0.09107857942581177, -0.3332984149456024, -0.19548405706882477, 0.8707354068756104, -0.5317286849021912, -0.42479851841926575, 0.04613012820482254, 0.4373624622821808, 0.25041842460632324, -0.05357556417584419, -0.27580052614212036, 0.08298519998788834, -0.12077980488538742, -0.2910803556442261, 0.46033725142478943, 0.428966224193573, -0.3870059847831726, 0.4391697347164154, 0.8305256962776184, 0.41524985432624817, -0.3065679669380188, 0.03251005336642265, 1.0915406942367554, -0.48320531845092773, -0.05530434474349022, -0.8191415667533875, 0.2642832398414612, 0.10186542570590973, 0.06975289434194565, 0.8770124316215515, 0.5117778778076172, 0.6903952956199646, 0.17663639783859253, 0.9140946865081787, -0.09389881044626236, 0.5113480687141418, -0.6387329697608948, 0.7129045724868774, -0.30657777190208435, 0.5300263166427612, -0.29458165168762207, -0.9665066003799438, -0.7944718599319458, 0.16536150872707367, -0.5072758197784424, 0.3365275263786316, 0.7480912804603577, 0.8203340768814087, -0.04066334292292595, -0.3069629371166229, 0.462510347366333, 0.3867058753967285, 0.6578171253204346, 0.4697021245956421, 0.3012199103832245, -0.14850105345249176, 0.4318821430206299, -0.17206719517707825, -0.20225182175636292, -0.12322836369276047, -1.221701741218567, -0.7995873093605042, -0.43734824657440186, -0.01966777816414833, -0.3876817524433136, 0.41216763854026794, 0.848993182182312, 0.6027778387069702, -0.7255045771598816, 0.17256872355937958, 0.19929799437522888, -0.07062342017889023, 0.06166325509548187, -0.11836732923984528, 0.5163601636886597, -0.16845886409282684, -0.36494123935699463, 0.23967435956001282, 0.5795627236366272, -0.12856554985046387, -0.08812864124774933, 0.03949742764234543, -0.2818279564380646, -0.056437332183122635, 0.4505493938922882, 0.00042797892820090055, -0.646610677242279, -0.47788989543914795, 0.030989650636911392, -0.30358126759529114, 0.17214299738407135, 0.8802535533905029, -0.9077233672142029, 0.5609886050224304, 0.30913832783699036, 0.39422911405563354, 0.258113294839859, 0.43619662523269653, 0.6917778253555298, -0.7077364325523376, -0.24390646815299988, 0.20124679803848267, 0.44735947251319885, 0.6082826256752014, -0.6971701979637146, 0.6450324654579163, 0.1470586359500885, -0.9599329233169556, -0.44005057215690613, -0.0693417564034462, -0.7421302199363708, 0.056859567761421204, 1.2154220342636108, -0.163114532828331, -0.2506459355354309, -0.6744533777236938, -0.19408468902111053, 0.011128008365631104, -0.25485357642173767, 0.7606845498085022, 1.0224277973175049, 0.029327407479286194, -0.21260395646095276, -0.618717610836029, 0.710381031036377, -0.003435480874031782, -0.8180731534957886, 0.20338645577430725, 0.7236028909683228, 0.6213434934616089, -0.038212090730667114, 0.9447925090789795, -0.48183247447013855, 0.38665837049484253, -0.5696853995323181, -0.05029955878853798, -0.32709985971450806, -0.16108717024326324, -0.1978512853384018, 0.07874471694231033, 0.4129054546356201, 0.6883795261383057 ]
http://arxiv.org/abs/2404.05892v2
http://arxiv.org/pdf/2404.05892v2
Eagle and Finch: RWKV with Matrix-Valued States and Dynamic Recurrence
2024-04-08T22:20:59
2024-04-10T19:34:38
Bo Peng, Daniel Goldstein, Quentin Anthony, Alon Albalak, Eric Alcaide, Stella Biderman, Eugene Cheah, Xingjian Du, Teddy Ferdinan, Haowen Hou, Przemysław Kazienko, Kranthi Kiran GV, Jan Kocoń, Bartłomiej Koptyra, Satyapriya Krishna, Ronald McClelland Jr., Niklas Muennighoff, Fares Obeid, Atsushi Saito, Guangyu Song, Haoqin Tu, Stanisław Woźniak, Ruichong Zhang, Bingchen Zhao, Qihang Zhao, Peng Zhou, Jian Zhu, Rui-Jie Zhu
cs.CL
cs.CL, cs.AI
We present Eagle (RWKV-5) and Finch (RWKV-6), sequence models improving upon the RWKV (RWKV-4) architecture. Our architectural design advancements include multi-headed matrix-valued states and a dynamic recurrence mechanism that improve expressivity while maintaining the inference efficiency characteristics of RNNs. We introduce a new multilingual corpus with 1.12 trillion tokens and a fast tokenizer based on greedy matching for enhanced multilinguality. We trained four Eagle models, ranging from 0.46 to 7.5 billion parameters, and two Finch models with 1.6 and 3.1 billion parameters and find that they achieve competitive performance across a wide variety of benchmarks. We release all our models on HuggingFace under the Apache 2.0 license. Models at: https://huggingface.co/RWKV Training code at: https://github.com/RWKV/RWKV-LM Inference code at: https://github.com/RWKV/ChatRWKV Time-parallel training code at: https://github.com/RWKV/RWKV-infctx-trainer
[ -0.23390035331249237, -0.57862788438797, 0.13892562687397003, 0.6879856586456299, -0.07525557279586792, 0.20925864577293396, 0.17315763235092163, -1.0158857107162476, 0.1496967226266861, 0.3868612051010132, -0.5944889783859253, -0.19469475746154785, -0.49477967619895935, 0.33424586057662964, -0.6158507466316223, 0.5374420881271362, 0.2787151336669922, 0.093887560069561, 0.06778474897146225, -0.3220742344856262, -0.14185172319412231, -0.2819240391254425, -0.6176438927650452, -0.5118491053581238, 0.7197160720825195, 0.2235991507768631, 0.6512354016304016, 1.1990824937820435, 0.5568960309028625, 0.33636391162872314, -0.1336253434419632, 0.10901816934347153, -0.2126808613538742, 0.47384771704673767, 0.09297289699316025, -0.20043650269508362, -0.4351035952568054, -0.20284418761730194, 0.8578035235404968, 0.644130527973175, -0.38207316398620605, 0.21600459516048431, -0.4423612952232361, 0.806205689907074, -0.5928322076797485, 0.41482651233673096, -0.24610958993434906, 0.49141091108322144, -0.1956191211938858, -0.006824723444879055, -0.5598572492599487, -0.1387867033481598, 0.3006710708141327, -0.8975667953491211, 0.08377983421087265, 0.21547019481658936, 0.7526835799217224, 0.18291328847408295, -0.4648934304714203, 0.053115617483854294, -0.5653094053268433, 1.0857532024383545, -0.6494466662406921, 0.8607817888259888, 0.0751897394657135, 0.30587562918663025, -0.3283984363079071, -1.191855549812317, -0.3678654730319977, -0.2692219018936157, 0.3458397388458252, 0.18727748095989227, -0.1421220302581787, -0.045586466789245605, 0.08844082802534103, 0.5756388902664185, -0.6347419619560242, -0.05147567391395569, -0.32494792342185974, 0.048947084695100784, 0.6568262577056885, 0.2847323715686798, -0.0649433508515358, -0.022064752876758575, -0.3011557459831238, -0.3582422435283661, -0.4651710093021393, 0.3420211374759674, 0.37768450379371643, 0.5576314926147461, -0.14496129751205444, 0.2874893844127655, -0.28580528497695923, 0.8068730235099792, 0.2639941871166229, -0.04342419281601906, 0.43185535073280334, -0.14247241616249084, -0.2321634143590927, -0.09514310210943222, 0.7004528045654297, -0.1632910519838333, -0.11596117913722992, -0.3130374252796173, -0.050610266625881195, -0.26180747151374817, 0.41675448417663574, -0.7298448085784912, -0.003878501243889332, 0.40240177512168884, -0.9836855530738831, -0.5391354560852051, 0.12254022061824799, -0.6493934392929077, -0.28430649638175964, -0.140961691737175, 0.17201659083366394, -0.3601979911327362, -0.6566475033760071, 0.338504433631897, -0.3502523899078369, 0.5263192653656006, 0.16888892650604248, -0.9733203649520874, 0.31503885984420776, 1.0912543535232544, 0.6962410807609558, 0.011294662021100521, -0.5043105483055115, -0.573814332485199, -0.19609902799129486, -0.33292996883392334, 0.6545897722244263, -0.7536717653274536, -0.307539701461792, 0.08519574999809265, 0.009128724224865437, 0.27270835638046265, -0.313577800989151, 0.3633771240711212, -0.7117984294891357, -0.053357742726802826, -0.5229092836380005, -0.2796821594238281, -0.5392542481422424, 0.2728479206562042, -0.9354871511459351, 1.142835021018982, -0.16198499500751495, -0.7184836268424988, 0.22453026473522186, -0.629236102104187, -0.5004985928535461, -0.05700495466589928, -0.09828964620828629, -0.5511986613273621, -0.1372520476579666, 0.14538875222206116, 0.4434363842010498, -0.24986961483955383, -0.24076810479164124, -0.6687996983528137, -0.5247060060501099, 0.11134123057126999, -0.059340495616197586, 0.6670286655426025, 0.613823413848877, -0.1435297280550003, 0.322613000869751, -0.9277709722518921, -0.012121951207518578, 0.14139440655708313, -0.6739197969436646, 0.11594618111848831, 0.07832100987434387, 0.07074705511331558, -0.04621581733226776, 0.041774094104766846, -0.5295461416244507, 0.3770914375782013, -0.533117413520813, 0.7790830731391907, 0.4471065402030945, -0.00385775207541883, 0.31546899676322937, -0.3294762969017029, 0.6935864686965942, 0.211090087890625, 0.39974141120910645, -0.2653679847717285, -0.659763753414154, -0.7421355843544006, -0.25656798481941223, 0.0711648017168045, 0.7361998558044434, -0.6403043866157532, -0.2148744910955429, -0.1402938812971115, -0.5137219429016113, -0.1632539927959442, -0.31515762209892273, 0.5189988017082214, 0.20329207181930542, 0.3717880845069885, -0.2517646253108978, -0.682155430316925, -0.9749980568885803, -0.4259861707687378, -0.27332934737205505, 0.45261135697364807, 0.20465151965618134, 0.37908151745796204, 0.02637365832924843, 0.5863589644432068, 0.09740960597991943, 0.1659114509820938, -0.2217773050069809, 0.41268840432167053, 0.3992382287979126, 0.2919516861438751, 0.44634777307510376, -0.7425543069839478, -0.16905531287193298, -0.004926604218780994, -0.7394804954528809, 0.28706300258636475, 0.0789792463183403, 0.17220547795295715, 0.182566836476326, 0.21287678182125092, -0.5464146733283997, 0.1484854370355606, 0.44080859422683716, -0.09072677791118622, 0.5781574249267578, -0.09691651910543442, 0.36772218346595764, -1.2311570644378662, 0.07229350507259369, 0.0019911157432943583, -0.2952641546726227, -0.5139131546020508, 0.4488518536090851, 0.027000807225704193, -0.006893442943692207, -0.8396304845809937, 0.37343430519104004, -0.7253868579864502, -0.49139559268951416, -0.08771882206201553, -0.4879069924354553, -0.06652931869029999, 0.2525739371776581, 0.1372314691543579, 0.9911792278289795, 0.48249077796936035, -0.532899022102356, 0.6758360266685486, 0.4469482898712158, -0.27672815322875977, 0.048029880970716476, -0.726868748664856, 0.03545268625020981, -0.09273532032966614, 0.5834832191467285, -0.44187062978744507, -0.018599890172481537, 0.260978639125824, -0.5804802179336548, 0.18424838781356812, -0.25971415638923645, -0.2185273915529251, -0.44902846217155457, -0.40959012508392334, 0.6483924984931946, 0.3517998456954956, -0.5121318101882935, 0.7883316874504089, 0.23023459315299988, 0.08274216204881668, -1.4287693500518799, -1.1786514520645142, 0.11997626721858978, -0.2752493619918823, -0.6716696619987488, 0.2839764654636383, 0.2721973657608032, -0.025797754526138306, 0.1428544521331787, 0.24216905236244202, -0.23190359771251678, -0.22185097634792328, 0.373923122882843, -0.13712620735168457, -0.5635403394699097, 0.11509932577610016, -0.26187753677368164, -0.1745869666337967, 0.010918513871729374, -0.5920045971870422, 0.16702575981616974, -0.5969700813293457, -0.22103284299373627, -0.5697669386863708, 0.6246740818023682, 0.6176183223724365, -0.6121266484260559, 0.6719050407409668, 0.6152284741401672, -0.3483685553073883, -0.20456567406654358, -0.5554121732711792, -0.3108518719673157, -0.42660391330718994, 0.4293045401573181, -0.5773257613182068, -1.091668725013733, 0.8054260611534119, 0.18155768513679504, 0.4132809340953827, 0.2150651514530182, 0.5314436554908752, 0.16188421845436096, 0.9269493818283081, 0.5505552291870117, 0.035989414900541306, 0.5681346654891968, -0.438793420791626, 0.08346971124410629, -0.7316493391990662, -0.0828905999660492, -0.3035737872123718, -0.24517634510993958, -0.5091317296028137, -0.272371381521225, 0.1144273653626442, -0.22852841019630432, -0.6550053954124451, 0.32964569330215454, -0.5425715446472168, 0.37683549523353577, 0.5284916162490845, 0.007656164467334747, 0.20563317835330963, 0.011431432329118252, -0.2057640254497528, 0.1344902515411377, -0.8865704536437988, -0.13512611389160156, 1.2500736713409424, 0.6532494425773621, 0.7007606625556946, 0.39779654145240784, 0.525242805480957, 0.4100886285305023, 0.11651395261287689, -0.6244986057281494, 0.404646635055542, -0.17883537709712982, -0.4682313799858093, -0.10911977291107178, -0.4537488520145416, -1.0805414915084839, 0.3466068208217621, -0.4445616602897644, -0.37389492988586426, 0.3330232501029968, 0.47025296092033386, -0.7584224939346313, 0.26778918504714966, -0.2483643889427185, 0.8274953961372375, 0.10598980635404587, -0.39959996938705444, -0.3135807514190674, -0.7411774396896362, 0.7990441918373108, 0.28017929196357727, -0.10404207557439804, 0.09743230044841766, -0.015139173716306686, 0.5118515491485596, -0.5752918720245361, 0.5976001024246216, -0.023068733513355255, 0.2533823251724243, 0.2002628743648529, -0.1989712119102478, 0.6203003525733948, 0.16991469264030457, -0.3586750328540802, 0.2824845612049103, 0.2709672451019287, -0.39263907074928284, -0.4034956097602844, 0.7440327405929565, -0.9070731997489929, -0.23950517177581787, -0.9224154949188232, -0.5525514483451843, 0.0024670909624546766, 0.24365316331386566, -0.05441178381443024, 0.6806409955024719, -0.04044632613658905, 0.5679992437362671, 0.7174509763717651, -0.2643106281757355, 0.4519512951374054, 0.5809096693992615, -0.47210660576820374, -0.591916561126709, 0.5735695362091064, -0.0940253809094429, 0.03988591581583023, 0.46995797753334045, 0.040718112140893936, -0.5589479804039001, -0.6454311609268188, -0.4662393033504486, 0.3289198577404022, -0.6246606707572937, -0.10736317187547684, -0.7772435545921326, -0.22766980528831482, -0.5694690346717834, 0.2199859768152237, -0.7967631816864014, -0.5604360699653625, -0.18623457849025726, 0.11735296249389648, 0.7210627794265747, 0.8640433549880981, -0.3201062083244324, 0.0649418905377388, -0.8829552531242371, 0.0896870419383049, 0.2790732979774475, 0.162422314286232, 0.24342574179172516, -0.4730783700942993, -0.30708378553390503, -0.12205903232097626, -0.29692330956459045, -0.5623792409896851, 0.30182549357414246, 0.30306756496429443, 0.3574367165565491, 0.3343452215194702, 0.049968935549259186, 0.7802098393440247, -0.6423420906066895, 0.7949268221855164, 0.025578590109944344, -0.657318651676178, 0.046000994741916656, -0.47610557079315186, 0.21423932909965515, 0.13956253230571747, -0.03128772974014282, -0.6743265986442566, -0.2741842567920685, -0.3456157445907593, -0.6886463165283203, 0.614108145236969, -0.04416953772306442, -0.12150169909000397, -0.21437188982963562, 0.815707802772522, -0.012453475035727024, 0.02718399465084076, -0.4924890995025635, -0.33016592264175415, -0.7165472507476807, -0.24265465140342712, 0.3060336709022522, -0.21568137407302856, 0.11423563212156296, -0.003393522696569562, 0.8505767583847046, 0.04517858847975731, 0.5215448141098022, 0.34182819724082947, 0.16232545673847198, -0.1899607926607132, -0.012147077359259129, 1.036532998085022, 0.7768405079841614, -0.2840558588504791, -0.16260629892349243, 0.1394599825143814, -0.5558081269264221, 0.16451653838157654, 0.28682830929756165, 0.04589271545410156, -0.3527680039405823, 0.46676355600357056, 0.8487280607223511, 0.51686692237854, -0.33802342414855957, 0.38360053300857544, -0.40811336040496826, -0.3289448916912079, -0.8122624754905701, -0.0066782161593437195, 0.2988804578781128, 0.8032117486000061, 0.3784613609313965, -0.23239615559577942, 0.12256582081317902, -0.358462929725647, 0.3437926769256592, 0.48673486709594727, 0.009929867461323738, -0.11231985688209534, 0.9370956420898438, 0.34149169921875, -0.3665643036365509, 0.7347062826156616, -0.10535268485546112, -0.40442022681236267, 0.5591232180595398, 0.4941151738166809, 0.8031096458435059, -0.08643491566181183, -0.049861978739500046, 0.4412073493003845, 0.12449362128973007, -0.3872062861919403, 0.5741809606552124, -0.02713809907436371, -0.6797120571136475, -0.7125977873802185, -0.6711578965187073, -0.571785569190979, 0.35267403721809387, -0.9165766835212708, 0.12379448860883713, -0.5647136569023132, -0.17512087523937225, 0.07813835889101028, 0.1561400145292282, -0.3890884220600128, -0.08139462023973465, -0.04924072325229645, 1.369659423828125, -0.5856565237045288, 0.9506077766418457, 0.8317118883132935, -0.5092191696166992, -0.8548986315727234, -0.36169731616973877, 0.19296519458293915, -0.807582437992096, 0.7436347603797913, 0.11125687509775162, -0.19891415536403656, 0.3163768947124481, -0.06337327510118484, -0.9783750176429749, 1.3735969066619873, 0.08151981234550476, -0.42899289727211, 0.1494990438222885, 0.17020435631275177, 0.1349482238292694, -0.2913207709789276, 0.17891395092010498, 0.27625080943107605, 0.3843412697315216, 0.3210856318473816, -0.7304936051368713, -0.28821492195129395, -0.29299041628837585, 0.2567221522331238, 0.31528207659721375, -0.8675569891929626, 0.9897515773773193, -0.06914021074771881, -0.06648699939250946, 0.3744674324989319, 1.3067939281463623, 0.4562971293926239, -0.02272627502679825, 0.4525213837623596, 0.8970581293106079, 0.44517743587493896, -0.08207811415195465, 0.9135181307792664, -0.5089049935340881, 0.33949872851371765, 0.8361539244651794, -0.15592150390148163, 1.0884820222854614, 0.4563787877559662, -0.15914572775363922, 0.3927939534187317, 0.9248666167259216, 0.005847360473126173, 0.27516666054725647, 0.02001626044511795, -0.38937485218048096, -0.3944918215274811, 0.3013899028301239, -0.7208799719810486, 0.3653147518634796, 0.10285995155572891, -0.26779600977897644, -0.10931357741355896, -0.04145219549536705, -0.08847042173147202, -0.1329795867204666, -0.13109160959720612, 0.43829047679901123, 0.1799021065235138, -0.6188045740127563, 0.5423020720481873, 0.1898425668478012, 0.581597089767456, -0.7842562794685364, -0.2458309680223465, -0.31433504819869995, 0.5049996972084045, -0.11290119588375092, -0.5624865293502808, 0.4122225344181061, -0.1305096596479416, -0.5323032736778259, -0.2605893909931183, 0.46806660294532776, -0.35962367057800293, -0.6323933601379395, 0.112975113093853, 0.014428474009037018, 0.2443942427635193, 0.22417618334293365, -1.0627782344818115, 0.46603477001190186, -0.4440620243549347, -0.5135219097137451, 0.2528553903102875, 0.09012539684772491, -0.027164308354258537, 1.0274180173873901, 0.8672391772270203, 0.10430654883384705, 0.420229971408844, 0.08494080603122711, 0.395050972700119, -0.8495433330535889, -0.7081503868103027, -0.43838971853256226, 0.3313691318035126, 0.20297527313232422, -0.3004172444343567, 0.4910105764865875, 0.5249132513999939, 0.5745378136634827, -0.15664219856262207, 0.6096164584159851, 0.16061244904994965, 0.7123384475708008, -0.23845355212688446, 0.772791862487793, -0.719048023223877, -0.0030033872462809086, 0.13955673575401306, -0.7231695652008057, -0.4285627007484436, 0.7157458066940308, 0.17299695312976837, 0.14312024414539337, 0.4935687184333801, 0.7451204657554626, -0.1392662525177002, 0.2899579405784607, 0.00781785324215889, 0.24850521981716156, 0.5907078981399536, 0.7801554799079895, 0.8704072833061218, -0.6248342990875244, 0.49537983536720276, -0.2943769097328186, -0.24013817310333252, -0.2525596022605896, -1.4321544170379639, -0.5265640020370483, -0.4763941168785095, -0.2908205986022949, -0.26568448543548584, 0.33270132541656494, 1.0946571826934814, 0.9493802785873413, -0.6880671381950378, -0.280537486076355, -0.2693648934364319, -0.2083710879087448, -0.6308969259262085, -0.18593013286590576, 0.2046242654323578, -0.295340359210968, -0.4941727817058563, 0.7657959461212158, 0.3683953583240509, -0.14477628469467163, -0.5785857439041138, -0.38899660110473633, -0.4038291275501251, 0.1887383908033371, 0.5607285499572754, 1.029302954673767, -1.1550017595291138, -0.43846210837364197, -0.008744561113417149, 0.09527982771396637, -0.09263172745704651, 0.577608585357666, -0.7830360531806946, 0.33776628971099854, 0.5196588039398193, 0.9026652574539185, 0.4899933636188507, 0.07712921500205994, 0.6616540551185608, -0.3825571537017822, 0.4631269872188568, 0.08966159075498581, 0.2732945382595062, 0.23154766857624054, -0.1710713505744934, 0.2293711155653, 0.28882890939712524, -0.7953938245773315, -0.971477746963501, 0.35773950815200806, -0.9553444385528564, -0.013739082030951977, 0.8624545931816101, -0.2773497402667999, -0.3871907889842987, 0.018222857266664505, 0.4051258862018585, 0.4381294250488281, -0.2563152015209198, 0.6623525023460388, 0.6836525201797485, -0.4182332754135132, -0.6701330542564392, -0.7015092968940735, 0.4864669442176819, 0.3846730887889862, -0.43111464381217957, -0.09562542289495468, 0.1680016666650772, 0.40302079916000366, -0.15044339001178741, 0.4031597673892975, -0.1606045514345169, 0.6424615979194641, -0.034398168325424194, 0.25103843212127686, -0.7034646272659302, -0.2961428761482239, -0.40697747468948364, 0.07798507809638977, 0.1464870125055313, -0.4528422951698303 ]
http://arxiv.org/abs/2404.05880v2
http://arxiv.org/pdf/2404.05880v2
Eraser: Jailbreaking Defense in Large Language Models via Unlearning Harmful Knowledge
2024-04-08T21:26:22
2024-07-03T17:52:00
Weikai Lu, Ziqian Zeng, Jianwei Wang, Zhengdong Lu, Zelin Chen, Huiping Zhuang, Cen Chen
cs.CL
cs.CL
Jailbreaking attacks can enable Large Language Models (LLMs) to bypass the safeguard and generate harmful content. Existing jailbreaking defense methods have failed to address the fundamental issue that harmful knowledge resides within the model, leading to potential jailbreak risks for LLMs. In this paper, we propose a novel defense method called Eraser, which mainly includes three goals: unlearning harmful knowledge, retaining general knowledge, and maintaining safety alignment. The intuition is that if an LLM forgets the specific knowledge required to answer a harmful question, it will no longer have the ability to answer harmful questions. The training of Erase does not actually require the model's own harmful knowledge, and it can benefit from unlearning general answers related to harmful queries, which means it does not need assistance from the red team. The experimental results show that Eraser can significantly reduce the jailbreaking success rate for various attacks without compromising the general capabilities of the model. Our codes are available at https://github.com/ZeroNLP/Eraser.
[ -0.2513110041618347, -1.0641175508499146, 0.38005661964416504, -0.21015888452529907, -0.16990558803081512, 0.21038295328617096, -0.13081473112106323, -0.5746572017669678, 0.03851163759827614, 0.7317430973052979, -0.1999058574438095, -0.4712097644805908, -0.5479685664176941, -0.3478594720363617, -0.5070341229438782, 1.2195478677749634, 0.15845778584480286, -0.06641251593828201, -0.13816912472248077, 0.12501758337020874, -0.7352808117866516, -0.4787944555282593, -0.7474731802940369, -0.1804761439561844, 0.3651575744152069, 0.5760207772254944, 0.44982078671455383, 0.7662326693534851, 0.3766877353191376, 0.31207704544067383, -0.4573739171028137, -0.1059860959649086, -0.7635967135429382, 0.4741777777671814, -0.19821245968341827, -0.526140034198761, -0.32917746901512146, -0.4898929297924042, 0.28192028403282166, 0.36009782552719116, -0.22629527747631073, -0.18998874723911285, -0.032548386603593826, 0.8204056620597839, -0.8814935088157654, -0.21171776950359344, -0.9635135531425476, -0.018750514835119247, -0.09097461402416229, 0.1689033955335617, -0.4578520953655243, -0.2497546225786209, -0.13378040492534637, -0.35647568106651306, 0.06715502589941025, -0.049921318888664246, 0.641083836555481, 0.06272892653942108, -0.3732870817184448, -0.1279851198196411, -0.8308606147766113, 0.6264799237251282, -0.6996920704841614, 0.13175912201404572, 0.474579781293869, 0.27312174439430237, -0.15255174040794373, -0.24303795397281647, -0.5131134390830994, -0.15891188383102417, 0.19949786365032196, 0.09543490409851074, -0.45718592405319214, 0.1857759952545166, 0.23347261548042297, 0.0667923241853714, -0.4075939953327179, 0.2150823324918747, -0.8513659238815308, -0.26890829205513, 0.44461071491241455, 0.17800329625606537, 0.607593297958374, -0.01281682588160038, -0.5191208124160767, 0.30625125765800476, -1.151499629020691, -0.011257674545049667, 0.4536442160606384, 0.12859639525413513, 0.01838044449687004, 0.4868146777153015, -0.14358943700790405, 0.5445098876953125, -0.06029651314020157, -0.10057607293128967, -0.032145582139492035, 0.15022791922092438, 0.008396968245506287, 0.2576574385166168, 0.7676207423210144, 0.3994618356227875, 0.3537268042564392, -0.43794262409210205, -0.2639399468898773, -0.16896091401576996, 0.4628601372241974, -1.0121933221817017, -0.2381914108991623, 0.289002001285553, -0.27175936102867126, -0.3552391529083252, 0.008729621767997742, -0.72617506980896, -0.768661379814148, 0.17407143115997314, 0.4834877550601959, -0.7400357723236084, -0.20057058334350586, 0.18994441628456116, -0.09920383989810944, 0.30460554361343384, 0.25110167264938354, -0.9754536747932434, 0.48654669523239136, 0.7639151215553284, 0.6457124948501587, 0.09770479053258896, -0.0933801531791687, -0.5658490657806396, 0.328345388174057, -0.2581786513328552, 0.4715365469455719, -0.26948678493499756, -0.5206354856491089, -0.2817820608615875, -0.28728246688842773, 0.011211741715669632, -0.5818516612052917, 0.31737929582595825, -0.6848307847976685, 0.0018726742127910256, -0.053358402103185654, -0.7760965824127197, -0.3670704662799835, 0.34967145323753357, -0.6700854301452637, 0.48413392901420593, -0.3856363296508789, -0.7274159789085388, 0.07004445791244507, -0.49911603331565857, -0.6102672815322876, 0.13157054781913757, 0.16397856175899506, -0.6622148752212524, 0.05830204486846924, 0.192457914352417, 0.35552069544792175, -0.16209673881530762, 0.4226282238960266, -0.38325318694114685, -0.4768942594528198, 0.17453281581401825, -0.1961180418729782, 0.9573929309844971, 0.4056786298751831, -0.45574185252189636, 0.1030338779091835, -0.6258246302604675, -0.13906073570251465, 0.4418438971042633, -0.24329350888729095, -0.6470393538475037, 0.1890787035226822, -0.4169655740261078, 0.09969489276409149, 0.1932046264410019, -0.9893156886100769, 0.05864758417010307, -0.5068527460098267, 0.4688068628311157, 0.9018826484680176, 0.2611444890499115, 0.39033043384552, -0.3052856922149658, 0.485598087310791, -0.09307137876749039, 0.21605753898620605, -0.30191120505332947, -0.3335897922515869, -0.808843195438385, -0.1479317545890808, 0.02527390792965889, 0.7854593992233276, -0.4254094362258911, 0.31415337324142456, 0.028784649446606636, -0.5040964484214783, -0.3629778325557709, 0.4041474461555481, 0.8222305178642273, 0.5247821807861328, 0.4874562919139862, -0.0897018313407898, -0.7086612582206726, -0.8051171898841858, -0.47740399837493896, -0.13802190124988556, 0.14254969358444214, -0.06482747197151184, 0.6487945318222046, -0.12074180692434311, 0.8331833481788635, -0.7077917456626892, -0.280148446559906, -0.4764662981033325, -0.2688400149345398, -0.03881233185529709, 0.6801698207855225, 0.42718517780303955, -0.599653959274292, -0.29465508460998535, -0.11067622154951096, -0.7804803848266602, -0.0694873109459877, 0.12056384980678558, 0.13705293834209442, 0.07999759167432785, 0.7112034559249878, -0.5158578157424927, 0.34186843037605286, 0.11706581711769104, -0.45625829696655273, 0.6444399952888489, -0.19531267881393433, -0.11484091728925705, -1.110473394393921, 0.061223503202199936, -0.1819383203983307, -0.2590717673301697, -1.0820494890213013, 0.2506605386734009, 0.19074760377407074, -0.10449650138616562, -0.6487745642662048, 0.7011504769325256, -0.3403635323047638, 0.4604608118534088, -0.2850310802459717, 0.08361300826072693, -0.0371021144092083, 0.2863781750202179, -0.18397583067417145, 0.6621043682098389, 0.29842954874038696, -0.4757712781429291, 0.17642717063426971, 0.3001021146774292, -0.32119908928871155, 0.2134682685136795, -0.7782569527626038, 0.3818461298942566, -0.17441841959953308, -0.26949045062065125, -0.7652022838592529, 0.142364963889122, 0.1964031159877777, -0.38361966609954834, 0.25720638036727905, -0.4161706566810608, -0.4069390892982483, -0.32372185587882996, -0.40437304973602295, 0.2726161479949951, 0.564060628414154, -0.47397053241729736, 0.3840821385383606, 0.585395097732544, -0.28770166635513306, -0.8270763754844666, -0.5530895590782166, 0.1487676203250885, -0.584624707698822, -0.38990363478660583, 0.17146621644496918, -0.19043408334255219, -0.3486783504486084, -0.08129458874464035, -0.303512305021286, -0.23808833956718445, 0.5085917711257935, 0.4609651267528534, 0.4374617338180542, 0.09140709787607193, 0.010959162376821041, -0.0625341385602951, -0.16317467391490936, 0.3430931568145752, -0.22619391977787018, 0.6247174143791199, -0.21307027339935303, -0.5096083283424377, -0.21163296699523926, 0.1358078122138977, 0.4278922379016876, -0.357891321182251, 0.9736682176589966, 0.03151476010680199, -0.3932547867298126, -0.22056888043880463, -0.7855638861656189, -0.05817917361855507, -0.5127518177032471, 0.5489774942398071, -0.14474326372146606, -1.29850435256958, 0.7139367461204529, 0.08338595926761627, 0.007920787669718266, 0.18081164360046387, 0.2722734212875366, 0.06460345536470413, 0.9186123013496399, 0.6435253024101257, -0.4577791690826416, 0.532522976398468, -0.1440584808588028, 0.36194056272506714, -0.788966715335846, -0.42414334416389465, -0.5193946361541748, -0.06489874422550201, -0.20394697785377502, 0.011857411824166775, 0.10974966734647751, 0.5252008438110352, -0.6759073138237, 0.4178059995174408, -0.36916428804397583, 1.0727992057800293, 0.4193342924118042, 0.25330519676208496, 0.4223555028438568, -0.2867897152900696, -0.15674865245819092, 0.010893100872635841, -0.4812867343425751, -0.49229681491851807, 1.110534429550171, 0.3764740228652954, 0.7825775146484375, 0.33053791522979736, 1.025813341140747, 0.1311011016368866, 0.13547612726688385, -0.5851485729217529, 0.7018671035766602, -0.09601370245218277, -0.8613097071647644, -0.2013361006975174, -0.5493522882461548, -0.8269025087356567, 0.3942171335220337, -0.13883323967456818, -1.1753753423690796, -0.3633309602737427, 0.23192349076271057, -0.3474971652030945, 0.9158273339271545, -0.6061220765113831, 0.8738041520118713, -0.5073770880699158, -0.37759822607040405, -0.1768409162759781, -0.6873032450675964, 0.7516802549362183, -0.37936437129974365, 0.3458676040172577, -0.015233969315886497, 0.3111642003059387, 1.0311633348464966, -0.504578173160553, 1.0623139142990112, -0.574763834476471, -0.046228159219026566, 0.27628713846206665, 0.42178037762641907, 0.5542311072349548, 0.0012702611275017262, 0.08266628533601761, -0.13671551644802094, -0.14929158985614777, -0.20389235019683838, -0.3623099625110626, 0.44772061705589294, -0.5201875567436218, -0.975201427936554, -0.14149440824985504, -0.7051683068275452, -0.044495053589344025, 0.6929031014442444, -0.00408061221241951, 0.04771527647972107, -0.43350160121917725, 0.19064831733703613, 0.9641506671905518, -0.5206780433654785, 0.4787207841873169, 0.7052559852600098, -0.37158262729644775, -0.48113688826560974, 0.9885768294334412, -0.1406024545431137, 0.47282975912094116, 0.3543616533279419, 0.2808052599430084, -0.03469310328364372, -0.9232133030891418, -0.04039180278778076, 0.1332673728466034, -0.5908852219581604, -0.535030722618103, -0.6419705152511597, -0.31778109073638916, -0.16094157099723816, -0.25563037395477295, -0.3822099268436432, -0.4705534279346466, 0.01702585630118847, -0.2651720643043518, 0.499618798494339, 0.723995566368103, -0.18638163805007935, 0.414882093667984, -0.9291331768035889, 0.3338300585746765, 0.21979713439941406, 0.2695336639881134, 0.07612336426973343, -0.5075775384902954, -0.25477683544158936, 0.05409996584057808, -0.5843256115913391, -0.7727269530296326, 0.37180599570274353, -0.07124204933643341, 0.6080700755119324, 0.7749477624893188, 0.29100924730300903, 0.5525621771812439, -0.5984742641448975, 0.42316779494285583, 0.4453223645687103, -1.0706738233566284, 0.6047999262809753, -0.45620429515838623, 0.19214452803134918, 0.6758257150650024, 0.17397502064704895, -0.6037406325340271, -0.800183117389679, -0.48363256454467773, -1.0980056524276733, 0.4916694760322571, -0.1682976484298706, 0.2901155352592468, -0.09916970133781433, 0.401882529258728, -0.06592732667922974, 0.0834457129240036, -0.853651225566864, -0.19584499299526215, -0.0012000198476016521, -0.06721807271242142, 0.13736601173877716, -0.4824874699115753, -0.18456332385540009, -0.1788182407617569, 0.8361795544624329, 0.4296405613422394, 0.05377304553985596, -0.22533732652664185, -0.41659605503082275, 0.07224711775779724, 0.6366473436355591, 0.5124446749687195, 0.41474980115890503, -0.2510633170604706, 0.09180790930986404, 0.3918723165988922, -0.6656944751739502, 0.43136176466941833, -0.058939702808856964, -0.5994532108306885, -0.7487979531288147, 0.3461117148399353, 0.6057283878326416, 0.17914921045303345, -0.8076655864715576, 0.5703237056732178, 0.0208947341889143, -0.23280124366283417, -0.24533209204673767, 0.40714970231056213, 0.22245098650455475, 0.0745476558804512, 0.2504560947418213, 0.0037216870114207268, -0.18583092093467712, -0.2588163912296295, 0.3410383462905884, 0.600247323513031, -0.6241412162780762, -0.12657871842384338, 0.9271550178527832, 0.028014445677399635, -0.19458834826946259, 0.8187745213508606, -0.17353297770023346, -0.8882489800453186, 0.7235752940177917, 1.0206459760665894, 0.6813791394233704, -0.4094427824020386, -0.04533190280199051, 0.14188000559806824, 0.4817062318325043, 0.04202621802687645, 0.1093820333480835, 0.26440343260765076, -0.9471451640129089, -0.3639645576477051, -0.3241359293460846, -0.3882368206977844, 0.36579710245132446, -0.5874482989311218, -0.041688334196805954, -0.7446929812431335, 0.25078514218330383, -0.18006601929664612, -0.19526785612106323, -0.13148918747901917, 0.09769686311483383, 0.014484906569123268, 0.871735155582428, -0.585136353969574, 0.7129141092300415, 0.41468727588653564, -0.41570693254470825, -0.6839873194694519, -0.2325412631034851, 0.44396501779556274, -0.616766095161438, 0.6854551434516907, 0.3465340733528137, -0.2519060969352722, -0.1671837866306305, -0.5046819448471069, -0.6553333401679993, 0.7326081395149231, 0.5700607299804688, -0.6100568771362305, 0.21211270987987518, 0.08427771925926208, 0.21662244200706482, -0.09834910184144974, -0.11677718907594681, 0.4396480917930603, 0.18421699106693268, -0.10830528289079666, -0.5340358018875122, 0.17550383508205414, -0.3882254660129547, -0.3601331114768982, 0.6302395462989807, -0.32913529872894287, 0.7763884663581848, -0.7735840678215027, -0.11917806416749954, 0.25450992584228516, 0.4725112318992615, 0.3599800169467926, 0.07904879003763199, 0.4388761818408966, 0.880760133266449, 0.7017596364021301, -0.06907260417938232, 0.8428669571876526, -0.09905198961496353, 0.19032514095306396, 1.306319236755371, -0.3495793640613556, 0.7171177864074707, 0.33916905522346497, 0.12639951705932617, 0.21952126920223236, -0.08324410021305084, -0.13912054896354675, 0.684950053691864, 0.5202926993370056, -0.46803322434425354, -0.07549532502889633, 0.314804345369339, -0.22776135802268982, 0.5382153391838074, 0.12229421734809875, 0.011104856617748737, -0.2572898268699646, 0.2083129584789276, 0.8249126672744751, 0.20352764427661896, -0.39755964279174805, 0.9852392077445984, -0.10650800168514252, -0.3182913064956665, 0.6044268608093262, 0.14198990166187286, 0.6285229325294495, -0.6020194888114929, 0.04417644068598747, -0.3313915729522705, 0.5501914024353027, -0.12092452496290207, -0.6608777046203613, 0.327202171087265, 0.29444828629493713, -0.1405537724494934, -0.015692375600337982, 0.8843222260475159, -0.30037927627563477, -0.11642422527074814, 0.5642637610435486, 0.3810858428478241, -0.00008487000013701618, -0.10363910347223282, -0.5427408218383789, -0.20823292434215546, 0.09702935069799423, -0.1739218831062317, 0.5477243661880493, 0.1415344774723053, -0.00406276062130928, 0.9769620299339294, 0.6276162266731262, 0.1987408846616745, -0.0003258240467403084, 0.01663300208747387, 1.0258166790008545, -0.7637619376182556, -0.32903817296028137, -1.177383303642273, 0.5562609434127808, -0.10092749446630478, 0.16359898447990417, 0.8796381950378418, 0.7866306900978088, 0.8014332056045532, 0.1233765035867691, 0.9034078121185303, -0.0014664815971627831, 0.5006172060966492, -0.5503950715065002, 1.2595211267471313, -0.14274922013282776, 0.5904912948608398, -0.5328090786933899, -0.7473331689834595, -0.6226063370704651, 0.5521978139877319, -0.46914389729499817, -0.04916677623987198, 0.4904686510562897, 0.7912108302116394, 0.09009341150522232, 0.05561678484082222, 0.3095886707305908, 0.4051254987716675, 0.6184055805206299, 0.7644253969192505, 1.1100966930389404, -0.2836640477180481, 0.754904568195343, -0.3179088532924652, -0.10433381050825119, 0.160810649394989, -0.7888091206550598, -1.0342835187911987, -0.17645695805549622, 0.03933160752058029, -0.3224734663963318, 0.5482438802719116, 0.48432794213294983, 0.3340350091457367, -0.9573721289634705, -0.2548302710056305, -0.13807186484336853, 0.30875730514526367, -0.08449333161115646, -0.1508377343416214, 0.21457740664482117, -0.27481287717819214, -0.1811225265264511, 0.5697660446166992, 0.05950266122817993, 0.07673861086368561, 0.182985320687294, -0.1835433393716812, -0.23547951877117157, -0.14520134031772614, 0.27885663509368896, 0.6594085693359375, -0.501163899898529, -0.35139310359954834, -0.2118348628282547, 0.11937569826841354, -0.07001529633998871, 0.7006267309188843, -0.6304718852043152, 0.41707128286361694, 0.1267295777797699, 0.7149372696876526, 0.4867379665374756, 0.03210364654660225, 0.4926067888736725, -0.7032923698425293, 0.1308823972940445, 0.034412313252687454, 0.5968675017356873, 0.24146558344364166, -0.3705037832260132, 0.3071114122867584, -0.047769319266080856, -0.521061897277832, -0.765314519405365, 0.31819626688957214, -0.5431777834892273, -0.6363282203674316, 0.9733474850654602, -0.21457736194133759, -0.13725489377975464, -0.35373908281326294, -0.21547380089759827, 0.15136820077896118, -0.44154903292655945, 0.8942775130271912, 0.3099266588687897, 0.198311448097229, -0.16256821155548096, -0.7082048058509827, 0.29413700103759766, 0.354164183139801, -0.8870429396629333, 0.3988218605518341, 0.5388504266738892, 0.7113364934921265, 0.06971264630556107, 0.5408031344413757, -0.35664090514183044, 0.31524911522865295, -0.2790006995201111, 0.31894224882125854, -0.5602340698242188, -0.4674166738986969, -0.4079361855983734, 0.37139442563056946, 0.12231555581092834, -0.08629143238067627 ]
http://arxiv.org/abs/2404.05875v1
http://arxiv.org/pdf/2404.05875v1
CodecLM: Aligning Language Models with Tailored Synthetic Data
2024-04-08T21:15:36
2024-04-08T21:15:36
Zifeng Wang, Chun-Liang Li, Vincent Perot, Long T. Le, Jin Miao, Zizhao Zhang, Chen-Yu Lee, Tomas Pfister
cs.CL
cs.CL, cs.AI, cs.LG
Instruction tuning has emerged as the key in aligning large language models (LLMs) with specific task instructions, thereby mitigating the discrepancy between the next-token prediction objective and users' actual goals. To reduce the labor and time cost to collect or annotate data by humans, researchers start to explore the use of LLMs to generate instruction-aligned synthetic data. Recent works focus on generating diverse instructions and applying LLM to increase instruction complexity, often neglecting downstream use cases. It remains unclear how to tailor high-quality data to elicit better instruction-following abilities in different target instruction distributions and LLMs. To this end, we introduce CodecLM, a general framework for adaptively generating high-quality synthetic data for LLM alignment with different downstream instruction distributions and LLMs. Drawing on the Encode-Decode principles, we use LLMs as codecs to guide the data generation process. We first encode seed instructions into metadata, which are concise keywords generated on-the-fly to capture the target instruction distribution, and then decode metadata to create tailored instructions. We also introduce Self-Rubrics and Contrastive Filtering during decoding to tailor data-efficient samples. Extensive experiments on four open-domain instruction following benchmarks validate the effectiveness of CodecLM over the current state-of-the-arts.
[ -0.20680563151836395, -0.6563777923583984, 0.4384419620037079, 0.158670112490654, -0.10389213263988495, 0.319985955953598, -0.6141592860221863, -0.08189664781093597, 0.10698086023330688, 0.8759453892707825, -0.6989937424659729, -1.0269486904144287, -0.30945059657096863, 0.006348072551190853, -0.2622440755367279, 0.9845563173294067, -0.1781521737575531, 0.12464895844459534, -0.47028765082359314, -0.006713120266795158, -0.6780019998550415, -0.5911518931388855, -0.09030196815729141, -0.12370515614748001, 0.2243337482213974, 0.6610960960388184, 0.7872791290283203, 1.414482593536377, 0.4460793137550354, 0.20749212801456451, 0.3161203861236572, 0.6728965044021606, -0.5448762774467468, 0.24676115810871124, -0.14993725717067719, -0.4972209632396698, -0.7597176432609558, -0.15378215909004211, 0.6023808121681213, 0.4883967339992523, -0.17524078488349915, 0.3579980432987213, 0.03876436874270439, 0.6771396994590759, -0.6358198523521423, 0.008685489185154438, -0.7088074684143066, -0.1670706421136856, -0.23269961774349213, -0.5986288189888, -0.5632885098457336, -0.6191810369491577, -0.2240932434797287, -0.6384809017181396, 0.3665803074836731, 0.26302966475486755, 0.43926355242729187, 0.4066599905490875, -0.07175776362419128, -0.5730273723602295, -0.7210304141044617, 0.8580822944641113, -0.8389135003089905, 0.20164169371128082, 0.36030492186546326, 0.15802791714668274, -0.33971723914146423, -0.4747539162635803, -0.25483438372612, 0.19392149150371552, 0.09447821974754333, 0.06808779388666153, 0.18171289563179016, -0.020272132009267807, 0.08302292972803116, 0.37150323390960693, -0.8882754445075989, 0.23271824419498444, -0.35983964800834656, -0.25926050543785095, 0.6269119381904602, 0.5189105272293091, 0.32142364978790283, 0.37505513429641724, -0.4358580708503723, -0.2369898408651352, -1.0124768018722534, -0.2431592047214508, 0.6028112173080444, 0.3548167943954468, -0.08056578040122986, 0.5575600266456604, -0.11961584538221359, 1.0617234706878662, 0.11192545294761658, -0.02525246888399124, 0.18187090754508972, -0.43637746572494507, -0.1733963042497635, 0.45872047543525696, 0.5433341264724731, 0.3520904779434204, 0.240409255027771, -0.15065217018127441, -0.3204740285873413, 0.06936921179294586, 0.534967303276062, -0.8089943528175354, -0.4203880727291107, 0.04409438744187355, -0.24450929462909698, -0.1903243362903595, 0.19292932748794556, -0.9080573320388794, -0.10591363161802292, -0.6331131458282471, 0.21356120705604553, -0.2580537796020508, 0.07019457221031189, 0.2698522210121155, 0.2350267618894577, 0.3460013270378113, -0.06727000325918198, -1.2334970235824585, 0.4190177917480469, 0.8467552065849304, 0.6429119110107422, -0.6206411719322205, -0.05490169674158096, -0.6272915601730347, 0.37482571601867676, -0.5837550759315491, 0.71232008934021, -0.8929555416107178, -0.15998941659927368, 0.1735086590051651, 0.14387719333171844, -0.11433275043964386, -0.637742280960083, 0.34432291984558105, -0.6773325204849243, 0.13563776016235352, 0.04645606875419617, -0.7938930988311768, 0.07333069294691086, 0.09863939881324768, -0.42509767413139343, 0.8477020263671875, 0.19606733322143555, -0.3812006115913391, -0.019702164456248283, -0.44668468832969666, -0.44488829374313354, -0.05963226780295372, -0.04772767797112465, -0.3340960443019867, 0.19766435027122498, 0.3540772795677185, 0.21872027218341827, -0.3436828553676605, 0.07152819633483887, -0.10215859860181808, -0.5040526390075684, 0.30675211548805237, -0.41567912697792053, 0.3056798577308655, 0.3040257394313812, -0.1470147967338562, 0.3168136775493622, -0.7278959155082703, 0.397882878780365, -0.12661124765872955, -0.5309005379676819, -0.0943560004234314, 0.23259152472019196, -0.19561655819416046, -0.07165553420782089, 0.373254656791687, -0.2796923816204071, 0.40448224544525146, -0.440913587808609, 0.4356900751590729, 0.7674053907394409, -0.11354947090148926, 0.6434049010276794, -0.4211411774158478, 0.7420058846473694, -0.27435070276260376, -0.02243950217962265, -0.4711732268333435, -0.12637674808502197, -0.5897898077964783, -0.28665757179260254, 0.31435427069664, 0.630486249923706, -0.5210784673690796, 0.41980811953544617, -0.386083722114563, -0.18136504292488098, -0.8177984952926636, 0.50114506483078, 0.5484221577644348, 0.36257031559944153, 0.5143001079559326, -0.21630775928497314, -0.7666162848472595, -0.6805781126022339, -0.18688049912452698, 0.32153162360191345, 0.029292987659573555, 0.12902742624282837, 0.011759893968701363, -0.3605765402317047, 0.8675882816314697, -0.6656836867332458, -0.034213729202747345, -0.044932711869478226, -0.07826787233352661, 0.1250232607126236, 0.6199645400047302, 0.14616082608699799, -0.5282689332962036, -0.4188827574253082, 0.03182858228683472, -0.4784568250179291, -0.5449846982955933, 0.0034558381885290146, -0.42929086089134216, 0.3521081209182739, 0.5440127849578857, -0.1742754578590393, -0.03220275416970253, 0.8996415734291077, -0.009932818822562695, 0.3922084867954254, -0.424780011177063, 0.16624338924884796, -1.2551053762435913, -0.1682267189025879, -0.22787368297576904, -0.30996444821357727, -0.618714451789856, 0.01568288914859295, 0.1510915905237198, 0.03328699246048927, -0.3028126657009125, 0.31954967975616455, -0.6255073547363281, -0.1805940419435501, -0.5241231918334961, 0.047083619982004166, 0.14635047316551208, 0.46849754452705383, 0.03145584091544151, 0.9612211585044861, 0.3984459638595581, -0.48397544026374817, 0.3035752773284912, 0.06608129292726517, -0.3109550178050995, 0.26284974813461304, -0.41405054926872253, 0.5351641774177551, 0.08315002918243408, 0.021980632096529007, -0.8587989807128906, -0.5390167832374573, 0.2163173407316208, -0.18037016689777374, 0.4918796122074127, -0.1690063178539276, -0.5734077095985413, 0.01817440614104271, -0.22188255190849304, 0.5758134126663208, 0.9140788912773132, -0.6691438555717468, 0.4245316982269287, 0.31959614157676697, 0.011981693096458912, -0.3588654100894928, -0.4890606999397278, -0.12782682478427887, -0.3063492178916931, -0.4951237142086029, 0.6847778558731079, -0.16763044893741608, 0.01698772795498371, 0.01596309058368206, -0.19777554273605347, 0.015545719303190708, -0.18259947001934052, 0.2635883092880249, 0.3730632960796356, -0.4407223165035248, 0.030374109745025635, 0.12991225719451904, -0.06797681748867035, 0.05473991110920906, -0.64508455991745, 0.6552211046218872, 0.18385770916938782, -0.4336872696876526, -0.1835578829050064, 0.21813781559467316, 0.3555378317832947, -0.2840355634689331, 0.44209879636764526, 0.49589359760284424, -0.19925472140312195, -0.5415326952934265, -0.3823748826980591, -0.018361534923315048, -0.5182262659072876, 0.2237902581691742, -0.07924871146678925, -0.7038856148719788, 0.21922388672828674, -0.17327789962291718, 0.17991706728935242, 0.007827797904610634, 0.7383993864059448, -0.09400860220193863, 1.306512713432312, 0.4424504339694977, -0.006723940838128328, 0.3188227713108063, -0.010641993023455143, 0.14113129675388336, -0.8457221388816833, -0.0479280985891819, -0.3036969006061554, -0.3552189767360687, -0.5845052003860474, -0.6542946100234985, 0.16156503558158875, 0.15330040454864502, -0.25951218605041504, 0.4522872269153595, -0.8113319277763367, 0.6281859278678894, 0.4066146910190582, 0.08523274958133698, 0.16971038281917572, 0.09201029688119888, 0.182069793343544, -0.019384631887078285, -0.7907382249832153, -0.816524863243103, 1.0840755701065063, 0.09654726088047028, 1.1115577220916748, -0.08461272716522217, 0.7848836779594421, 0.3570614159107208, 0.33664411306381226, -0.44887909293174744, 0.4303077161312103, -0.354368656873703, -0.2553771734237671, 0.14181996881961823, -0.33081892132759094, -0.8108722567558289, -0.13696017861366272, -0.08109863847494125, -0.4508014917373657, -0.21354587376117706, 0.6015512943267822, -0.1317468136548996, 0.04347700625658035, -0.7158467173576355, 0.8855572938919067, -0.3585892915725708, -0.24654832482337952, -0.041083354502916336, -0.4860687851905823, 0.4682197570800781, -0.17655742168426514, 0.35138607025146484, -0.1584492325782776, -0.2013964056968689, 0.4478282034397125, -0.3652549684047699, 0.902341365814209, 0.079890176653862, -0.20525139570236206, 0.3290361762046814, 0.2440987229347229, 0.4043242931365967, -0.25021836161613464, -0.09333912283182144, -0.06101401895284653, 0.05876757949590683, -0.3908311724662781, -0.7520949244499207, 0.9973499774932861, -0.5753158330917358, -0.7645140886306763, 0.035474181175231934, -0.9352960586547852, -0.12979458272457123, -0.10602781921625137, 0.18597444891929626, 0.5337968468666077, -0.062001410871744156, 0.13451017439365387, 0.6938045024871826, -0.2673388421535492, 0.20571142435073853, 0.4710615873336792, -0.049872200936079025, -0.6640030145645142, 1.3051176071166992, -0.18594786524772644, 0.6022650599479675, 0.5187182426452637, 0.011047367006540298, -0.19436873495578766, -0.5609204769134521, -0.6260755062103271, -0.08058755099773407, -0.7069316506385803, -0.5459973812103271, -0.1336657702922821, -0.16976845264434814, -0.318645715713501, -0.4091862738132477, -0.2615976631641388, -0.10430485755205154, -0.44726574420928955, 0.10891000926494598, 0.3829765319824219, 0.5192236304283142, 0.19032791256904602, 0.2942911386489868, -0.8588300943374634, 0.15402448177337646, -0.09349840879440308, 0.13936910033226013, -0.31010901927948, -0.5632731914520264, -0.4319693446159363, 0.3622647225856781, -0.3041406273841858, -0.7361334562301636, 0.5480076670646667, 0.34370729327201843, 0.33354076743125916, 0.09566520899534225, 0.17473769187927246, 0.7369944453239441, -0.7247469425201416, 0.6666398644447327, -0.13865508139133453, -0.9352329969406128, 0.5588389039039612, -0.1254466474056244, 0.33711305260658264, 0.2939904034137726, 0.16229306161403656, -0.16935986280441284, -0.41481277346611023, -0.1462976485490799, -0.7233962416648865, 0.7680392861366272, -0.051283739507198334, 0.4126758575439453, -0.07063879072666168, 0.5054569244384766, 0.25662773847579956, 0.053224530071020126, -0.33492833375930786, -0.03742752969264984, -0.22925013303756714, -1.0596998929977417, 0.029624788090586662, -0.016739441081881523, -0.3258332908153534, -0.034125298261642456, 0.5091039538383484, -0.42414188385009766, 0.11082839965820312, -0.10297079384326935, -0.24247248470783234, -0.15223900973796844, 0.2432752400636673, 0.8697429299354553, 0.7296512722969055, -0.11721645295619965, 0.2936241030693054, 0.0795682966709137, -0.3546810746192932, 0.24331367015838623, -0.16915525496006012, -0.021226566284894943, -0.2813471853733063, 0.46942466497421265, 0.7663542032241821, 0.33046936988830566, -0.9727975726127625, 0.256150484085083, 0.22116543352603912, -0.22002893686294556, -0.1196412667632103, 0.7286825776100159, 0.159891739487648, 0.1805882453918457, 0.12439646571874619, -0.1482098251581192, -0.25597554445266724, -0.4904211759567261, 0.21134619414806366, 0.4348028898239136, -0.10784506052732468, -0.4511231780052185, 0.6673953533172607, 0.04083162173628807, -0.6105761528015137, 0.5468350052833557, 0.004173428285866976, -0.37228450179100037, 0.6106631755828857, 0.9748590588569641, 0.70280921459198, -0.14146862924098969, 0.02873094193637371, 0.16090576350688934, 0.051325347274541855, -0.08861801028251648, 0.3471008241176605, -0.04756317287683487, -0.6862785816192627, -0.471073716878891, -0.7865748405456543, -0.3505750298500061, -0.1364404410123825, -0.7518473863601685, 0.1632704883813858, -0.35024550557136536, 0.12888993322849274, -0.3023265302181244, -0.26216942071914673, -0.559589147567749, 0.012778468430042267, 0.029103465378284454, 0.7966495752334595, -0.5816525220870972, 1.0292168855667114, 0.5384181141853333, -0.029642950743436813, -0.736996591091156, 0.11586591601371765, 0.027467841282486916, -1.063286304473877, 0.4840559661388397, 0.1547991931438446, -0.01118357665836811, 0.23297090828418732, -0.6393411755561829, -0.8623971939086914, 1.1488982439041138, 0.5487774610519409, -0.6438812017440796, 0.056301869451999664, 0.3412003815174103, 0.5651891231536865, -0.9665582776069641, -0.2192644625902176, 0.6959031224250793, 0.31340667605400085, 0.03864465281367302, -0.3382531404495239, 0.13621912896633148, -0.03438858687877655, 0.1301577389240265, 0.37634193897247314, -0.19337902963161469, 0.5258309841156006, -0.14516153931617737, -0.24171867966651917, 0.15110738575458527, 0.43038344383239746, 0.27784818410873413, 0.16255038976669312, 0.210444837808609, 0.36830934882164, 0.45778995752334595, -0.1462087333202362, 0.9157506823539734, -0.7778500914573669, -0.005177437327802181, 1.216253638267517, -0.2205718606710434, 0.719877302646637, 0.3327271044254303, 0.15782342851161957, 0.5262874364852905, 0.7693871259689331, -0.1366148293018341, 0.6285377740859985, 0.395720511674881, -0.09327813982963562, -0.1447736620903015, 0.1167067289352417, -0.11722633987665176, 0.42006006836891174, 0.47951966524124146, -0.48772332072257996, 0.0062978193163871765, -0.1617259681224823, -0.31756487488746643, 0.36350151896476746, -0.3114561438560486, 0.9101231098175049, -0.1198468804359436, -0.9126743674278259, 0.8125285506248474, 0.019065378233790398, 0.36457353830337524, -0.4675079882144928, -0.2648172676563263, -0.19645826518535614, 0.18490171432495117, -0.3233993351459503, -0.6947184801101685, 0.3226686120033264, 0.16949006915092468, -0.43779921531677246, -0.3064953684806824, 0.5492280125617981, -0.9143285751342773, -0.3952794373035431, 0.026949677616357803, 0.19433647394180298, 0.11411738395690918, 0.36085817217826843, -0.4189821183681488, 0.5266813039779663, 0.0299459770321846, -0.03335288539528847, 0.452252596616745, 0.2933615446090698, -0.04479378089308739, 0.3929944336414337, 0.7460392117500305, 0.18668635189533234, 0.336865097284317, -0.044679682701826096, 0.731227457523346, -0.5733195543289185, -0.06342534720897675, -0.9474111199378967, 0.34713101387023926, 0.09428887814283371, -0.16850143671035767, 0.5473244786262512, 0.5556703209877014, 1.05266273021698, -0.219697505235672, 0.4715174734592438, 0.25806546211242676, 0.24840879440307617, -1.0132757425308228, 0.20925258100032806, -0.24871434271335602, 0.5148966908454895, 0.18327002227306366, -1.1481448411941528, -0.23914368450641632, 0.33452510833740234, -0.14581868052482605, -0.05687111243605614, 0.3473314344882965, 1.2463188171386719, -0.20098255574703217, -0.11809347569942474, 0.11039890348911285, -0.1865679919719696, 0.2918942868709564, 0.615433394908905, 0.6773566603660583, -0.2145663946866989, 0.5112189650535583, 0.01642107591032982, -0.020556900650262833, -0.20630060136318207, -0.8692432045936584, -0.6941334009170532, -0.39073681831359863, -0.3335210382938385, -0.13310368359088898, 0.16954268515110016, 1.2074981927871704, 0.8378053307533264, -0.7852473258972168, -0.29059579968452454, -0.2895888388156891, 0.12918397784233093, -0.2829221785068512, -0.2507997155189514, 0.37696197628974915, -0.7308417558670044, -0.8485084176063538, 0.5651666522026062, 0.31834250688552856, -0.0023466316051781178, -0.20073683559894562, -0.46536505222320557, 0.24848465621471405, 0.295297235250473, 0.34178298711776733, 0.17978723347187042, -0.7388432025909424, -0.2719746232032776, 0.27017608284950256, -0.3702276945114136, 0.2544346749782562, 1.1045562028884888, -0.5000469088554382, 0.5417224764823914, 0.369904100894928, 0.9808593988418579, 0.24422457814216614, 0.3764689266681671, 0.9238436222076416, -0.9889093637466431, -0.2661593556404114, 0.12174904346466064, 0.1035039946436882, 0.40776991844177246, -0.3441879153251648, 0.3679990768432617, -0.1771422028541565, -0.6747074723243713, -0.924524188041687, 0.16150861978530884, -0.81695955991745, -0.22740721702575684, 1.1518985033035278, -0.175444096326828, -0.3794021010398865, 0.23572203516960144, -0.14896808564662933, 0.18240191042423248, -0.13294699788093567, 0.7099534869194031, 0.5245094895362854, -0.2102130949497223, -0.13162243366241455, -0.4987095892429352, 0.5551971793174744, 0.22500427067279816, -0.8688733577728271, 0.3427862823009491, 0.5461624264717102, 0.3116872310638428, -0.11851636320352554, 0.13150909543037415, -0.04873158782720566, 0.16314956545829773, -0.300432950258255, 0.021865006536245346, -0.25878557562828064, -0.3322056829929352, -0.2523093819618225, 0.04212109372019768, -0.043775010854005814, -0.4236765205860138 ]
http://arxiv.org/abs/2404.05868v1
http://arxiv.org/pdf/2404.05868v1
Negative Preference Optimization: From Catastrophic Collapse to Effective Unlearning
2024-04-08T21:05:42
2024-04-08T21:05:42
Ruiqi Zhang, Licong Lin, Yu Bai, Song Mei
cs.LG
cs.LG, cs.AI, cs.CL, stat.ML
Large Language Models (LLMs) often memorize sensitive, private, or copyrighted data during pre-training. LLM unlearning aims to eliminate the influence of undesirable data from the pre-trained model while preserving the model's utilities on other tasks. Several practical methods have recently been proposed for LLM unlearning, mostly based on gradient ascent (GA) on the loss of undesirable data. However, on certain unlearning tasks, these methods either fail to effectively unlearn the target data or suffer from catastrophic collapse -- a drastic degradation of the model's utilities. In this paper, we propose Negative Preference Optimization (NPO), a simple alignment-inspired method that could efficiently and effectively unlearn a target dataset. We theoretically show that the progression toward catastrophic collapse by minimizing the NPO loss is exponentially slower than GA. Through experiments on synthetic data and the benchmark TOFU dataset, we demonstrate that NPO-based methods achieve a better balance between unlearning the undesirable data and maintaining the model's utilities. We also observe that NPO-based methods generate more sensible outputs than GA-based methods, whose outputs are often gibberish. Remarkably, on TOFU, NPO-based methods are the first to achieve reasonable unlearning results in forgetting 50% (or more) of the training data, whereas existing methods already struggle with forgetting 10% of training data.
[ -0.31020811200141907, -0.5213775634765625, 0.3715178370475769, -0.3521614670753479, -0.2697049379348755, 0.12916578352451324, -0.34583497047424316, -0.003920066636055708, 0.059277232736349106, 0.6631232500076294, -0.6383199095726013, -0.43486055731773376, -0.45016688108444214, -0.21445080637931824, -0.36828866600990295, 1.2971895933151245, 0.2964259088039398, 0.054960209876298904, -0.3765948414802551, -0.062317196279764175, -0.4557268023490906, -0.576839804649353, -0.559502363204956, -0.6502339243888855, 0.3292614817619324, 0.8263140320777893, 0.6400940418243408, 0.8129593729972839, -0.04849895462393761, 0.303603857755661, -0.12215781211853027, 0.07547864317893982, -1.2776533365249634, -0.1307980865240097, -0.13129809498786926, -0.5540764331817627, -0.05753219872713089, 0.1312904804944992, 0.35244035720825195, 0.6592006683349609, -0.31621137261390686, 0.06756634265184402, 0.2109736055135727, 1.0946334600448608, -0.7620838284492493, -0.074776291847229, -0.7928870320320129, 0.2059181183576584, -0.033548902720212936, -0.34206655621528625, -0.540181577205658, -0.6009319424629211, 0.1657165139913559, -0.7008711695671082, 0.04923121631145477, -0.19632062315940857, 0.7681698203086853, 0.35340002179145813, -0.16086283326148987, -0.13256531953811646, -0.6981022357940674, 1.3401206731796265, -0.7151103615760803, 0.28195008635520935, 0.43757694959640503, 0.10540547221899033, -0.24887590110301971, 0.1073569506406784, -0.43318086862564087, -0.26130303740501404, 0.26556888222694397, 0.1462148129940033, 0.04202695190906525, 0.1837238073348999, -0.02135787345468998, 0.39552074670791626, -0.30609530210494995, 0.5301963090896606, -0.2322179228067398, -0.2520175576210022, 0.49282506108283997, -0.11284151673316956, 0.28212419152259827, -0.2509489357471466, -0.2375570684671402, -0.07899432629346848, -0.9292580485343933, -0.15461283922195435, 0.6978448629379272, 0.4379426836967468, 0.15176057815551758, 0.6210615634918213, -0.059535108506679535, 0.4331888258457184, 0.0782025158405304, -0.43376776576042175, 0.42231452465057373, -0.00001161365071311593, -0.08209174871444702, 0.05668790638446808, 0.4925423264503479, 0.41770291328430176, 0.403906911611557, -0.6407052874565125, -0.04531314596533775, 0.22751620411872864, 0.2885151207447052, -0.5598735213279724, 0.0432472750544548, 0.20145416259765625, -0.3711780905723572, -0.4750155806541443, -0.3336027264595032, -0.8485304713249207, -0.34650108218193054, -0.8188270926475525, 0.5640357732772827, -0.48964282870292664, -0.001110538956709206, 0.2298685908317566, 0.018010839819908142, 0.04456024616956711, 0.42532631754875183, -0.8001446723937988, 0.16941611468791962, 0.7914215922355652, 0.7426719665527344, 0.017433378845453262, -0.276642382144928, -0.6006382703781128, -0.11270184069871902, -0.32997050881385803, 0.4149002730846405, -0.3598462641239166, -0.4427765905857086, -0.12357828766107559, -0.30812427401542664, 0.11546410620212555, -0.6469503045082092, 0.6136208176612854, -0.5106294751167297, 0.3900519013404846, -0.2465355396270752, -0.6095081567764282, -0.3852353096008301, 0.3276965320110321, -0.3175364136695862, 0.7387601733207703, -0.04384847730398178, -0.49266496300697327, 0.34323546290397644, -0.46482136845588684, -0.3577248156070709, -0.308022677898407, -0.03227255493402481, -0.8229471445083618, 0.2550269067287445, -0.15780644118785858, 0.3609245717525482, -0.48120296001434326, 0.40701180696487427, -0.6989626884460449, -0.3123343884944916, -0.14939938485622406, -0.32960355281829834, 0.7018817663192749, -0.00927869975566864, -0.2736990749835968, -0.0828966572880745, -0.8923553824424744, -0.07669147104024887, 0.3502485156059265, -0.26009073853492737, -0.737931489944458, 0.19075842201709747, -0.36172983050346375, 0.2470943182706833, 0.22886279225349426, -0.47881969809532166, 0.3074811100959778, -0.6133310198783875, 0.5437361001968384, 1.1435366868972778, -0.12450164556503296, 0.7203345894813538, -0.5366859436035156, 0.457177996635437, -0.264836847782135, 0.2426484078168869, 0.24869665503501892, 0.045055221766233444, -0.9584199786186218, 0.08296219259500504, 0.021272514015436172, 0.5262475609779358, -0.6708357930183411, 0.549383282661438, -0.1997535228729248, -0.5344777703285217, -0.4262159466743469, 0.4706355035305023, 0.6780371069908142, 1.1542195081710815, 0.5204528570175171, -0.1861361861228943, -0.45989683270454407, -0.9323914051055908, -0.14369186758995056, -0.1337396651506424, 0.2943454384803772, 0.41886478662490845, 0.251258909702301, -0.266420841217041, 0.5775609016418457, -0.577692449092865, -0.27400559186935425, -0.1638287603855133, 0.058171454817056656, 0.41336363554000854, 0.3969055116176605, 0.4482731819152832, -0.7212867140769958, -0.3802739977836609, 0.01128895953297615, -0.6153107285499573, 0.004980043042451143, -0.14263546466827393, -0.2830204963684082, 0.2882043719291687, 0.1777268350124359, -0.16487018764019012, 0.1941925585269928, 0.40900278091430664, 0.17697322368621826, 0.6837323307991028, -0.14186716079711914, -0.19408409297466278, -1.043899655342102, 0.11659560352563858, -0.18854404985904694, 0.03270212933421135, -0.7248010039329529, -0.28851431608200073, -0.15749894082546234, -0.12333134561777115, -0.533505380153656, 0.40621235966682434, -0.4482330083847046, 0.10699517279863358, -0.19226083159446716, -0.0055610910058021545, -0.261756956577301, 0.6586251854896545, 0.04406283423304558, 0.7413504719734192, 0.5028674602508545, -0.6603550910949707, -0.22846323251724243, 0.4900502860546112, 0.024818861857056618, 0.17127589881420135, -0.36598271131515503, 0.3328177034854889, -0.5659139156341553, -0.2265060395002365, -0.8934956192970276, 0.06944689154624939, 0.05599039047956467, -0.2702084183692932, 0.45554280281066895, -0.44072505831718445, -0.12726089358329773, -0.11554233729839325, -0.8739085793495178, 0.40409159660339355, 0.5444759726524353, -0.8286129236221313, 0.21272458136081696, 0.5416351556777954, 0.06459444016218185, -1.136914610862732, -0.46761202812194824, -0.010470929555594921, -0.6694834232330322, -0.2618451714515686, 0.293550968170166, -0.13621537387371063, 0.1312747299671173, -0.26659801602363586, -0.10259739309549332, 0.25685784220695496, 0.07536519318819046, 0.22975926101207733, 0.5272433161735535, 0.0626547709107399, 0.1578100621700287, 0.09300494939088821, -0.4521644413471222, -0.14648665487766266, -0.29003769159317017, 0.8123161196708679, -0.05657094344496727, 0.015468780882656574, -0.400967001914978, 0.1226988360285759, 0.6497533321380615, 0.10092684626579285, 0.7450402975082397, 0.07667803764343262, -0.2020179033279419, -0.38413769006729126, -0.3941926062107086, -0.09381528943777084, -0.5243009924888611, 0.30916956067085266, 0.174233540892601, -0.6542744636535645, 0.3335539400577545, -0.3201121389865875, 0.17089800536632538, 0.18952909111976624, 0.31363242864608765, 0.051443640142679214, 0.7705814838409424, 0.7449796795845032, -0.530426561832428, 0.6539694666862488, -0.5773136615753174, 0.2466091364622116, -0.8375744819641113, -0.1910131275653839, -0.5229472517967224, -0.3191808760166168, -0.5635311603546143, -0.10392429679632187, 0.2504807114601135, 0.4482957422733307, -0.515792965888977, 0.5031455159187317, -0.5696775317192078, 0.652545154094696, 0.6287969946861267, 0.09185897558927536, 0.32212844491004944, 0.15768615901470184, 0.08743404597043991, -0.24740003049373627, -0.6085761189460754, -0.46386197209358215, 1.3499704599380493, 0.12945109605789185, 0.8906667232513428, 0.061899084597826004, 1.1636017560958862, 0.07229465991258621, 0.5179157853126526, -1.1411892175674438, 0.3831759989261627, -0.5945651531219482, -0.17369602620601654, -0.5168181657791138, -0.6101678013801575, -0.6542313694953918, -0.04299420863389969, -0.2746829688549042, -0.9264299869537354, 0.3066943287849426, 0.5717137455940247, -0.14017125964164734, 0.22445479035377502, -0.8090786933898926, 0.6124932169914246, -0.39603468775749207, -0.5091175436973572, -0.13875792920589447, -0.5004872679710388, 0.4101673364639282, -0.27045199275016785, 0.15175308287143707, -0.03249310329556465, 0.05735798180103302, 0.860546886920929, -0.5251208543777466, 0.7889356017112732, -0.2705141007900238, -0.08583004772663116, -0.029153699055314064, 0.1898135095834732, 0.645666241645813, 0.1516968458890915, -0.37728217244148254, 0.27159252762794495, -0.5126336812973022, -0.25377002358436584, -0.6578495502471924, 0.6984323263168335, -1.023100733757019, -0.5562788248062134, -0.20962873101234436, -0.2836335301399231, -0.43826958537101746, 0.5350925326347351, 0.4556761682033539, 0.28661245107650757, -0.07143335789442062, 0.06851272284984589, 0.49489888548851013, -0.32054150104522705, 0.39786288142204285, 0.5185964703559875, -0.10238449275493622, -0.6954569220542908, 1.387604832649231, 0.32983139157295227, 0.48623719811439514, 0.6204731464385986, 0.5272210836410522, -0.47317856550216675, -0.9353952407836914, -0.1283067911863327, 0.4863044321537018, -0.4981195330619812, -0.4528546929359436, -0.35516297817230225, -0.06501918286085129, -0.11583898216485977, -0.49870920181274414, -0.6409164071083069, -0.44770827889442444, -0.6075313687324524, -0.13374774158000946, 0.09251260757446289, 0.42180997133255005, -0.28352072834968567, 0.21194268763065338, -0.5033101439476013, 0.29766926169395447, 0.12156520783901215, 0.1857878416776657, 0.2788254916667938, -0.5915332436561584, -0.041332364082336426, 0.04329363629221916, -0.5498507618904114, -0.47344568371772766, 0.6886001825332642, 0.24904660880565643, 0.39863094687461853, 0.913907527923584, 0.2921716868877411, 0.8120240569114685, -0.5111392736434937, 0.25803056359291077, 0.5836700797080994, -1.0003825426101685, 0.48597028851509094, -0.5003122687339783, -0.11968319863080978, 0.8640106320381165, 0.6006792187690735, -0.5017110705375671, 0.03767365217208862, -0.4486842155456543, -1.1189656257629395, 0.7837140560150146, -0.12265162914991379, 0.23254410922527313, 0.13110896944999695, 0.5576806664466858, 0.5218056440353394, 0.3827597200870514, -0.6246005892753601, -0.3479863405227661, -0.2828436493873596, 0.030974814668297768, -0.5364984273910522, -0.28897860646247864, -0.08941192179918289, -0.18710416555404663, 0.9357331991195679, -0.28567543625831604, 0.09540179371833801, -0.20338043570518494, -0.048093102872371674, -0.10332129150629044, 0.40696561336517334, 0.483773797750473, 0.3451850414276123, -0.2969333231449127, -0.14147624373435974, 0.07106868177652359, -0.3347789943218231, 0.41749951243400574, -0.1916804164648056, -0.5597290396690369, -0.5593865513801575, 0.04962027445435524, 0.6107925772666931, 0.11127455532550812, -0.5533769726753235, 0.3982662558555603, 0.09611950814723969, -0.16121625900268555, -0.32588252425193787, 0.15640424191951752, 0.04039914533495903, -0.3731788098812103, 0.18248450756072998, 0.2662203907966614, 0.251287579536438, -0.5616495609283447, 0.13775743544101715, 0.6354708671569824, -0.27070194482803345, -0.31015634536743164, 0.5154324769973755, 0.07497371733188629, -0.29351016879081726, 0.7782665491104126, 0.013068176805973053, -0.4795028865337372, 0.4191703498363495, 0.8187562227249146, 0.8006274104118347, -0.06806765496730804, 0.49906083941459656, 0.29226574301719666, 0.07128442078828812, -0.38353654742240906, 0.018906356766819954, -0.060994330793619156, -1.007673740386963, -0.4497464597225189, -0.6448897123336792, -0.39761778712272644, 0.6229192614555359, -0.8466769456863403, 0.3337295353412628, -0.6615682244300842, 0.0894339457154274, -0.05223318561911583, 0.03449288010597229, -0.26569440960884094, 0.24265719950199127, -0.2245643138885498, 0.5359344482421875, -0.8748005032539368, 0.46932509541511536, 0.397053062915802, -0.28865310549736023, -0.5332701802253723, -0.005368321668356657, 0.30721762776374817, -1.1253937482833862, 0.30257394909858704, 0.28194254636764526, -0.17636644840240479, -0.02110801637172699, -0.42324572801589966, -0.97049480676651, 0.7296721935272217, 1.0419549942016602, -0.7483974695205688, -0.11500976979732513, 0.16359810531139374, 0.3942369818687439, 0.027241075411438942, -0.05205937474966049, 0.3985751271247864, 0.3221342861652374, 0.07824598997831345, -0.5530072450637817, -0.06867288798093796, -0.08592318743467331, -0.052333664149045944, 0.694938600063324, -0.8571727275848389, 0.5806474685668945, -0.5057684779167175, -0.22919388115406036, 0.06358113884925842, 0.1984194666147232, 0.032490383833646774, 0.2547621726989746, 0.5295263528823853, 0.8633888959884644, 0.7684475779533386, 0.15095815062522888, 0.7674141526222229, -0.09855446964502335, 0.6220781803131104, 1.180491328239441, -0.08359228074550629, 0.627481997013092, 0.6794328689575195, -0.07237224280834198, 0.08740975707769394, 0.4839668869972229, 0.18558834493160248, 0.7935160994529724, 0.3425177335739136, -0.06511584669351578, -0.26901188492774963, -0.36746758222579956, -0.17619089782238007, 0.4738512635231018, 0.08572296798229218, -0.12221131473779678, -0.37273770570755005, -0.06822645664215088, 0.24814927577972412, 0.26792988181114197, -0.30588388442993164, 0.8939008712768555, 0.108295738697052, -0.5276505351066589, 0.926310658454895, -0.30224841833114624, 0.7049478888511658, -0.503064751625061, 0.02348986268043518, -0.30140921473503113, 0.38681384921073914, -0.35906362533569336, -0.2275342047214508, 0.342178076505661, -0.21060964465141296, -0.25823986530303955, -0.294681191444397, 0.38167956471443176, -0.37293168902397156, -0.27586817741394043, 0.6100261807441711, 0.17363964021205902, -0.07539444416761398, 0.20344771444797516, -0.6411418318748474, -0.24334725737571716, 0.3004412353038788, -0.05737066641449928, 0.6272579431533813, -0.09583127498626709, 0.04999987781047821, 0.7764601707458496, 0.8682627081871033, 0.1405182033777237, -0.3988494873046875, -0.022721918299794197, 0.9766206741333008, -0.5502204895019531, -0.40713366866111755, -0.8722763657569885, 0.31831225752830505, 0.0300101637840271, -0.40072622895240784, 0.7604266405105591, 0.6288173794746399, 1.0730401277542114, 0.07463745772838593, 0.8074089884757996, 0.35802239179611206, 0.4814249277114868, -0.6330884695053101, 0.7061927318572998, -0.8243093490600586, 0.23298139870166779, -0.48447954654693604, -0.9745528697967529, -0.33980101346969604, 0.44002172350883484, -0.6461372375488281, -0.006579067558050156, 0.3347230851650238, 0.782823383808136, -0.07811534404754639, -0.10258959978818893, 0.44241949915885925, 0.09845151007175446, 0.2545213997364044, 0.6255965828895569, 0.7282097935676575, -0.2530187964439392, 0.3807511031627655, -0.47218838334083557, -0.32080650329589844, -0.09796881675720215, -0.9916473031044006, -0.7759650349617004, -0.31611430644989014, -0.1895386427640915, -0.44118285179138184, 0.16789641976356506, 0.9055662155151367, 0.6286155581474304, -0.8551154136657715, -0.18524067103862762, -0.504169225692749, 0.2860375940799713, 0.07426390796899796, -0.24368944764137268, 0.4391874372959137, -0.2049528807401657, -0.679252028465271, 0.5016772747039795, 0.4041095972061157, 0.17487916350364685, -0.11533866077661514, -0.36085039377212524, 0.03505415841937065, -0.0635334774851799, 0.5178913474082947, 0.8401637077331543, -0.36268818378448486, -0.11594782769680023, -0.026668056845664978, 0.4651954472064972, 0.29324814677238464, 0.6143487691879272, -0.5892107486724854, 0.5012166500091553, 0.4236675798892975, 0.8563805818557739, 0.3228379786014557, 0.22287584841251373, 0.5909301042556763, -0.4815334975719452, 0.03796727955341339, 0.33104220032691956, 0.21462419629096985, 0.28458335995674133, -0.6514645218849182, 0.33260786533355713, 0.10475753247737885, -0.5253363847732544, -1.0492699146270752, 0.1848314106464386, -0.8277484774589539, -0.2318468689918518, 0.9902430176734924, 0.10967329144477844, -0.27087846398353577, -0.0987834706902504, -0.08598491549491882, 0.16549962759017944, -0.894162654876709, 1.3353958129882812, 0.39100030064582825, -0.3463119566440582, 0.16187387704849243, -0.1644805520772934, 0.4902447462081909, 0.668346643447876, -0.7341930270195007, 0.30454373359680176, 0.42840519547462463, 0.36524876952171326, 0.2864760160446167, 0.48669472336769104, -0.222137451171875, 0.11139289289712906, -0.4404140114784241, -0.1325911581516266, -0.2884235680103302, -0.5757033824920654, -0.6129302978515625, 0.14537356793880463, 0.005607729312032461, -0.04019388183951378 ]
http://arxiv.org/abs/2404.05866v1
http://arxiv.org/pdf/2404.05866v1
GeniL: A Multilingual Dataset on Generalizing Language
2024-04-08T20:58:06
2024-04-08T20:58:06
Aida Mostafazadeh Davani, Sagar Gubbi, Sunipa Dev, Shachi Dave, Vinodkumar Prabhakaran
cs.CL
cs.CL
LLMs are increasingly transforming our digital ecosystem, but they often inherit societal biases learned from their training data, for instance stereotypes associating certain attributes with specific identity groups. While whether and how these biases are mitigated may depend on the specific use cases, being able to effectively detect instances of stereotype perpetuation is a crucial first step. Current methods to assess presence of stereotypes in generated language rely on simple template or co-occurrence based measures, without accounting for the variety of sentential contexts they manifest in. We argue that understanding the sentential context is crucial for detecting instances of generalization. We distinguish two types of generalizations: (1) language that merely mentions the presence of a generalization ("people think the French are very rude"), and (2) language that reinforces such a generalization ("as French they must be rude"), from non-generalizing context ("My French friends think I am rude"). For meaningful stereotype evaluations, we need to reliably distinguish such instances of generalizations. We introduce the new task of detecting generalization in language, and build GeniL, a multilingual dataset of over 50K sentences from 9 languages (English, Arabic, Bengali, Spanish, French, Hindi, Indonesian, Malay, and Portuguese) annotated for instances of generalizations. We demonstrate that the likelihood of a co-occurrence being an instance of generalization is usually low, and varies across different languages, identity groups, and attributes. We build classifiers to detect generalization in language with an overall PR-AUC of 58.7, with varying degrees of performance across languages. Our research provides data and tools to enable a nuanced understanding of stereotype perpetuation, a crucial step towards more inclusive and responsible language technologies.
[ -0.48881784081459045, -0.5718532204627991, 0.35384324193000793, 0.3873388171195984, 0.1951860636472702, 0.12876679003238678, -0.4326186776161194, -0.08051501214504242, -0.007221139036118984, 0.43055060505867004, -0.2926405370235443, -0.8335505127906799, -0.6284627914428711, 0.2158852219581604, -0.29714974761009216, 0.8856814503669739, 0.07261970639228821, 0.09381334483623505, -0.35047635436058044, -0.46267837285995483, -0.12226713448762894, -0.891471803188324, -0.5377510190010071, -0.27178964018821716, 0.28809142112731934, 0.41066035628318787, 0.45720502734184265, 0.06384918093681335, 0.24178682267665863, 0.282710462808609, 0.07379644364118576, -0.021718963980674744, -0.5047008395195007, 0.3518688976764679, 0.019053207710385323, -0.3605118691921234, -0.2792811393737793, 0.17352278530597687, 0.6315168738365173, 0.7089194059371948, -0.017077447846531868, 0.18659593164920807, 0.12274421751499176, 0.5357457995414734, -0.43312886357307434, 0.16088378429412842, -0.5176301598548889, 0.05915345251560211, -0.28144845366477966, -0.0019748914055526257, -0.2001982182264328, -0.37190577387809753, -0.1434529423713684, -0.4699420928955078, 0.694511353969574, -0.2556972801685333, 0.5234004259109497, 0.04902330040931702, -0.6443073749542236, -0.4840824007987976, -0.6769415736198425, 0.9382695555686951, -0.45610228180885315, 0.643695592880249, 0.48786041140556335, 0.14793726801872253, -0.021420592442154884, -0.604056715965271, -0.37753307819366455, -0.12893597781658173, -0.163543239235878, 0.03466401994228363, -0.0070720878429710865, 0.039243634790182114, 0.4140465557575226, 0.34225210547447205, -0.8217175602912903, -0.002172141568735242, -0.39497819542884827, -0.452206552028656, 0.41131478548049927, -0.28238511085510254, 0.7609706521034241, -0.01686953566968441, 0.008105420507490635, 0.08761511743068695, -0.8307454586029053, -0.09732182323932648, 0.6498696804046631, 0.1658327728509903, -0.37159377336502075, 0.22452817857265472, -0.02615535631775856, 0.38104721903800964, -0.00516144372522831, 0.05146545544266701, 0.6934794187545776, -0.4273860454559326, -0.03281322121620178, -0.2132851630449295, 0.707371711730957, 0.32248562574386597, 1.094825267791748, -0.19467416405677795, -0.028604961931705475, 0.26617467403411865, -0.12702517211437225, -0.5701334476470947, -0.15645574033260345, 0.025053635239601135, -0.23745861649513245, -0.2338530421257019, -0.02914772555232048, -0.8581260442733765, -0.36185556650161743, -0.06778255105018616, -0.515387237071991, -0.21863895654678345, -0.19172179698944092, -0.04176275059580803, -0.15354841947555542, 0.4470893442630768, -0.04000820219516754, -1.0516308546066284, 0.20712126791477203, 0.5935290455818176, 0.7174580097198486, 0.2245522141456604, -0.22202196717262268, -0.5299695134162903, 0.2066996693611145, -0.21921424567699432, 0.8349522352218628, -0.8248475193977356, -0.5283236503601074, 0.36842262744903564, 0.10770180076360703, -0.06953982263803482, -0.8840213418006897, 0.606499969959259, -0.35400840640068054, 0.39078488945961, -0.23272380232810974, -0.44842174649238586, -0.022776979953050613, 0.29104748368263245, -0.6080048680305481, 0.8967982530593872, 0.1601424366235733, -0.7697948217391968, 0.8448350429534912, -0.48335108160972595, -0.5404529571533203, 0.1266808807849884, -0.587451696395874, -0.44648149609565735, 0.15287600457668304, 0.5278189182281494, 0.31827089190483093, -0.13069424033164978, 0.4747207760810852, -0.4709867835044861, -0.1368037909269333, -0.08165091276168823, -0.2900896966457367, 0.7442038059234619, 0.2455277442932129, -0.18753990530967712, -0.20171025395393372, -0.45907580852508545, -0.23014657199382782, -0.03562857583165169, -0.2631765902042389, -0.6706451177597046, -0.05921488255262375, -0.04743385314941406, 0.18698889017105103, 0.02403191663324833, -0.5273250937461853, 0.14080384373664856, -0.38020431995391846, 0.22112005949020386, 0.7182824611663818, -0.06549737602472305, 0.5882028937339783, -0.14485138654708862, 0.6921614408493042, 0.08861450850963593, 0.251153826713562, 0.027701538056135178, -0.6085451245307922, -0.565727949142456, -0.3058640956878662, 0.021423202008008957, 0.4725867807865143, -0.6422261595726013, 0.19888392090797424, -0.3471086621284485, 0.16275328397750854, -0.38034263253211975, 0.6170766949653625, 0.24722550809383392, 0.17080889642238617, 0.06081158295273781, -0.18997342884540558, -0.6942581534385681, -1.214210033416748, -0.3184358775615692, -0.21599748730659485, -0.3081020712852478, 0.3153572976589203, 0.31753087043762207, -0.34408843517303467, 1.0263283252716064, -0.07633685320615768, -0.19897975027561188, -0.37227943539619446, 0.29670536518096924, 0.16886447370052338, 0.15029525756835938, 0.9378940463066101, -0.7980598211288452, -0.49019166827201843, -0.03521272912621498, -1.2946990728378296, -0.5038442015647888, 0.09786593914031982, 0.3552441895008087, 0.0004935413016937673, 0.6811559200286865, 0.14100727438926697, 0.010374444536864758, 0.6883934140205383, -0.293231338262558, 0.36327728629112244, -0.09363880008459091, 0.23906882107257843, -0.9702079892158508, -0.09243892878293991, 0.32930323481559753, -0.08312047272920609, -0.8473573327064514, -0.04281844571232796, -0.14999179542064667, -0.04110104590654373, -0.3473075032234192, 0.7005266547203064, -0.5049080848693848, 0.033101342618465424, 0.22647225856781006, 0.00686999037861824, -0.17248915135860443, 0.18468077480793, -0.12167606502771378, 1.0221022367477417, 0.4898182451725006, -0.4518512487411499, 0.2511416971683502, 0.0725296139717102, -0.4532094895839691, 0.668536901473999, -0.5937750339508057, 0.3133123815059662, -0.5480949878692627, 0.06202254444360733, -0.9717118144035339, -0.11316627264022827, 0.3377639651298523, -0.45472362637519836, 0.07326484471559525, -0.2943395972251892, -0.47880327701568604, -0.3833605647087097, -0.35769227147102356, 0.669943630695343, 0.3300345540046692, -0.3867749273777008, 0.3909093141555786, 0.38328737020492554, -0.2839151918888092, -0.6579655408859253, -0.7376881837844849, 0.1971198320388794, -0.4774869680404663, -0.7693246006965637, -0.3061853349208832, -0.144024059176445, -0.6697496175765991, -0.44212982058525085, 0.16063861548900604, -0.11797402054071426, 0.16491039097309113, 0.13822193443775177, -0.13294753432273865, -0.034138310700654984, 0.22090113162994385, 0.12832050025463104, 0.06386508047580719, 0.014166359789669514, -0.3710280954837799, 0.7028139233589172, -0.23993034660816193, -0.24741943180561066, -0.007327327039092779, 0.34548163414001465, 0.5904055833816528, 0.010045546106994152, 0.5439513325691223, 0.5555714964866638, -0.1428253948688507, -0.098141148686409, -0.7097650766372681, -0.1436152458190918, -0.4430028796195984, 0.32365426421165466, -0.6291332244873047, -0.8320168852806091, 0.8046131730079651, 0.09312409162521362, -0.009202892892062664, 0.2120947390794754, 0.5279625654220581, -0.06400716304779053, 0.8185579180717468, 0.6676096320152283, -0.4443703591823578, 0.29783788323402405, -0.23734936118125916, 0.24650408327579498, -0.5447005033493042, -0.0690319761633873, -0.45368239283561707, -0.11716614663600922, -0.8193000555038452, -0.3847063183784485, 0.38517236709594727, -0.21061427891254425, -0.13227558135986328, -0.029127027839422226, -0.15009136497974396, 0.4972861409187317, 0.26342758536338806, -0.2511099874973297, 0.4256831407546997, 0.40739527344703674, -0.33084654808044434, -0.17025864124298096, -0.6069487929344177, -0.6746405363082886, 1.3341054916381836, 0.36251771450042725, 0.7129182815551758, 0.06521967798471451, 0.724658727645874, 0.7267822027206421, 0.7167288064956665, -0.5210724472999573, 0.4485051929950714, -0.5150601267814636, -0.6206514835357666, -0.07027481496334076, -0.47654640674591064, -0.9348356127738953, 0.1917281299829483, 0.22199104726314545, -0.6001571416854858, 0.44672131538391113, 0.23892097175121307, 0.1019873172044754, 0.1352943778038025, -0.630102813243866, 0.650886595249176, -0.12333454191684723, -0.2325066328048706, 0.0215030238032341, -0.3387376368045807, 0.6020315885543823, -0.03971119970083237, 0.8036189079284668, -0.09631822258234024, 0.12867207825183868, 0.6958290934562683, 0.019662700593471527, 0.9313321113586426, -0.20084813237190247, -0.5149308443069458, 0.013922858983278275, -0.09134051203727722, 0.22334174811840057, 0.050884246826171875, -0.08962590992450714, 0.3058113157749176, -0.3493843972682953, -0.5866658687591553, -0.6529478430747986, 0.6402036547660828, -0.7680142521858215, -0.4438459277153015, -0.19187816977500916, -0.4890906512737274, -0.27731308341026306, -0.20948155224323273, 0.5820622444152832, 0.30241382122039795, -0.6743212342262268, -0.18142889440059662, 0.7545439600944519, -0.5317093729972839, 0.059959035366773605, 0.24450597167015076, -0.3520786464214325, -0.34939590096473694, 0.9141182899475098, 0.0057520512491464615, 0.22326380014419556, 0.06385979056358337, 0.08928953111171722, -0.2195044755935669, -0.27734583616256714, -0.36815670132637024, 0.49809250235557556, -0.7076786160469055, 0.36043381690979004, -0.6726483106613159, -0.0016076293541118503, -0.8125404715538025, -0.2902410924434662, 0.01669900119304657, -0.11608714610338211, 0.04118703678250313, -0.11178615689277649, -0.17524154484272003, 0.8077975511550903, -0.19886121153831482, 0.30313780903816223, -0.3955763280391693, 0.18623432517051697, 0.4572702646255493, 0.2033427506685257, -0.2854386866092682, -0.5698083639144897, 0.06905990093946457, 0.055847425013780594, 0.16591420769691467, -0.6224299669265747, 0.352285236120224, 0.42052727937698364, 0.8229948878288269, 0.7003912925720215, -0.2812475562095642, -0.02954956889152527, -0.25946393609046936, 0.6477272510528564, 0.08509986847639084, -0.612677812576294, 0.43890026211738586, -0.4723416566848755, 0.19128316640853882, 0.4676539897918701, 0.5042806267738342, -1.17642343044281, -0.7757168412208557, -0.5912632942199707, -0.6735270023345947, 0.2856319546699524, 0.09364914149045944, 0.41700688004493713, -0.34133270382881165, 0.1624627709388733, 0.08947572857141495, 0.28317856788635254, -0.8240402340888977, -0.3993331789970398, -0.23161596059799194, -0.1218332052230835, -0.404218852519989, -0.593462347984314, -0.15954333543777466, -0.1638227254152298, 0.36692386865615845, -0.1413598656654358, 0.1544249802827835, -0.1441107988357544, -0.537672758102417, 0.24305938184261322, 0.6392828226089478, 0.5659626126289368, 0.568878173828125, -0.19464585185050964, 0.44202062487602234, -0.06364384293556213, -0.5057927966117859, 0.4303203821182251, -0.03229469433426857, -0.39378684759140015, 0.14505931735038757, 0.444186270236969, 0.399708092212677, -0.08918594568967819, -0.42313987016677856, 0.5629647970199585, -0.04569755494594574, -0.30989477038383484, -0.35430458188056946, -0.35501328110694885, -0.132951021194458, -0.08095841109752655, 0.10820422321557999, -0.259614497423172, 0.24181897938251495, -0.7642293572425842, 0.483964204788208, 0.4916072189807892, -0.2479260265827179, -0.5938302278518677, 0.36302629113197327, 0.5260659456253052, 0.042060736566782, 0.7499515414237976, -0.38616862893104553, -0.6581038236618042, 0.6689639687538147, 0.33156755566596985, 1.1037700176239014, -0.5193728804588318, 0.6355859041213989, 0.3094138205051422, 0.6255052089691162, 0.23865164816379547, 0.23735235631465912, -0.03857965022325516, -1.3370782136917114, -0.1836901307106018, -0.6361855864524841, 0.05527915433049202, 0.2308165431022644, -0.40072101354599, 0.05557342246174812, -0.4290420413017273, -0.07175281643867493, -0.09237851947546005, -0.45723769068717957, -0.8359740972518921, -0.058878667652606964, 0.344610333442688, 0.5060777068138123, -1.5573450326919556, 0.6608892679214478, 0.8642411828041077, -0.32375863194465637, -0.04511696472764015, 0.19903188943862915, 0.24805989861488342, -0.9886549711227417, 1.012447714805603, 0.13334977626800537, -0.00020091891929041594, -0.17933689057826996, -0.5176292657852173, -0.43389472365379333, 0.428813636302948, 0.32901328802108765, -0.508722722530365, 0.10722637921571732, 0.42049840092658997, 0.5990750193595886, -0.36932459473609924, 0.30892086029052734, 0.7896628975868225, 0.7353285551071167, -0.10741560906171799, -0.7051573395729065, -0.17005912959575653, -0.23194877803325653, 0.08769531548023224, 0.05591344088315964, -0.3726043999195099, 0.6502082943916321, -0.08050404489040375, -0.43183180689811707, -0.25042521953582764, 0.3299567997455597, -0.041158225387334824, 0.40391871333122253, 0.3941372036933899, 0.5437732934951782, 0.8958728909492493, -0.023872224614024162, 0.9103096127510071, -0.22159916162490845, 0.24548861384391785, 1.014613389968872, -0.28755584359169006, -0.03064291924238205, 0.39324864745140076, -0.21470816433429718, 0.5475043058395386, 0.3714832365512848, 0.06246242672204971, 0.2724986672401428, 0.5156880617141724, -0.6764732003211975, -0.2012130320072174, -0.2818893790245056, -0.3073384761810303, 0.31704890727996826, 0.5494566559791565, -0.5259603261947632, -0.48807957768440247, 0.4770539700984955, 0.17824040353298187, 0.3021242916584015, -0.0826038122177124, 0.6747865080833435, 0.02347380295395851, -0.3215150833129883, 0.5542103052139282, -0.3265722393989563, 0.8728247880935669, -0.4531564712524414, 0.21857674419879913, -0.7619839310646057, 0.06685801595449448, -0.21956433355808258, -0.5034540891647339, 0.23243297636508942, -0.061993613839149475, -0.4174918830394745, -0.2260177880525589, 0.6341100335121155, -0.5783693194389343, -0.5934668183326721, 0.4601251184940338, 0.8729850649833679, 0.3618583381175995, 0.005481885280460119, -0.4846811890602112, -0.09694414585828781, 0.17729124426841736, -0.022509587928652763, 0.2427992820739746, 0.35767099261283875, -0.35867977142333984, 0.6842615604400635, 0.24058672785758972, 0.17399322986602783, 0.1927775889635086, 0.748298704624176, 0.5951133966445923, -0.2629292607307434, -0.10553787648677826, -0.8601374626159668, 0.10514179617166519, -0.24805711209774017, -0.16821633279323578, 0.7585672736167908, 0.6931220293045044, 0.9331761598587036, -0.08319088816642761, 1.3780745267868042, -0.003041924675926566, 0.20522327721118927, -0.27704811096191406, 0.3521295189857483, -0.49728506803512573, 0.3678790032863617, -0.2036331593990326, -0.9401602745056152, -0.48639652132987976, 0.572898805141449, -0.766645073890686, 0.20176775753498077, 0.49384504556655884, 0.9586494565010071, -0.20213891565799713, -0.18710897862911224, 0.5701910257339478, 0.2459477037191391, 0.4753945767879486, 0.19811026751995087, 0.8510904908180237, -0.07807527482509613, 0.4082576036453247, 0.09928956627845764, -0.4818171262741089, 0.1879134625196457, -0.5461595058441162, -0.9287518858909607, -0.5174274444580078, -0.22826771438121796, -0.15684957802295685, 0.34179553389549255, 0.6756458282470703, 0.48557376861572266, -1.0867819786071777, -0.6028004288673401, 0.007296208757907152, 0.30591416358947754, 0.08908405900001526, -0.2466784417629242, -0.07296300679445267, -0.7429097890853882, -0.9435836672782898, 0.21107645332813263, 0.33731308579444885, 0.004597875755280256, -0.27619409561157227, -0.0485607385635376, -0.2413424551486969, -0.0959475040435791, 0.6882667541503906, 0.4134345054626465, -0.5050477981567383, -0.3598005175590515, -0.13806933164596558, 0.022287672385573387, 0.09189232438802719, 1.2212225198745728, -0.6006917953491211, 0.5809335112571716, 0.43439996242523193, 0.2613271474838257, 0.17322491109371185, -0.050489187240600586, 0.9648336172103882, -1.2660160064697266, 0.29444169998168945, 0.14390820264816284, 0.39025530219078064, 0.6098933815956116, -0.10072914510965347, 0.6441073417663574, 0.6655822992324829, -0.48944178223609924, -0.46665748953819275, 0.49829956889152527, -0.33377882838249207, -0.23187917470932007, 1.3002957105636597, -0.0548076368868351, 0.08250590413808823, -0.5726159811019897, 0.08179669082164764, 0.08159491419792175, -0.5140180587768555, 0.7080848813056946, 0.8606107234954834, 0.15124236047267914, -0.16935402154922485, -0.6035037040710449, 0.5795013308525085, 0.3332849144935608, -0.5951692461967468, 0.20096595585346222, 0.6146698594093323, 0.5660691261291504, 0.15918628871440887, 0.7645748853683472, -0.0010727675398811698, -0.04511534795165062, -0.2826560139656067, 0.31481289863586426, 0.32420769333839417, -0.17992520332336426, -0.42775025963783264, 0.08295103907585144, -0.07434974610805511, -0.18385259807109833 ]
http://arxiv.org/abs/2404.05843v2
http://arxiv.org/pdf/2404.05843v2
Softmax Attention with Constant Cost per Token
2024-04-08T20:14:10
2024-04-27T19:03:14
Franz A. Heinsen
cs.LG
cs.LG, cs.CL
We propose a simple modification to the conventional attention mechanism applied by Transformers: Instead of quantifying pairwise query-key similarity with scaled dot-products, we quantify it with the logarithms of scaled dot-products of exponentials. Our modification linearizes attention with exponential kernel feature maps, whose corresponding feature function is infinite dimensional. We show that our modification is expressible as a composition of log-sums of exponentials, with a latent space of constant size, enabling application with constant time and space complexity per token. We implement our modification, verify that it works in practice, and conclude that it is a promising alternative to conventional attention.
[ -0.25437450408935547, -0.836310625076294, 0.4031895697116852, 0.3221040964126587, -0.17020179331302643, -0.326447069644928, -0.4350230395793915, -0.39493390917778015, 0.5712355971336365, 0.4552318751811981, -0.5997368097305298, -0.19402866065502167, -0.24707767367362976, -0.09335041791200638, -0.3449464738368988, 1.0378882884979248, 0.009764308109879494, -0.44287797808647156, -0.11942771077156067, -0.7401701807975769, -0.0010809331433847547, -0.5233075022697449, -0.8600992560386658, 0.2496335804462433, 1.0940083265304565, 0.3201936185359955, 1.0563687086105347, 0.6498796343803406, 0.8165141344070435, 0.3265235126018524, -0.2691831886768341, -0.00676555885002017, -0.7416141629219055, 0.032809194177389145, -0.041295573115348816, -0.5965697765350342, -0.9934098124504089, 0.10984714329242706, 0.8086429238319397, 1.0629253387451172, 0.22572806477546692, 0.5729525089263916, 0.22047755122184753, 0.7659521102905273, -0.6106219291687012, -0.0338103324174881, -0.6929494738578796, 0.4810596704483032, 0.22764617204666138, -0.3132605254650116, -0.29502055048942566, -0.17371512949466705, 0.05105315521359444, -0.8272998332977295, 0.6372541189193726, -0.07550100237131119, 0.6027452945709229, 0.652483344078064, -0.6569452881813049, -0.059449441730976105, -0.8489766716957092, 0.9999483823776245, -0.23888367414474487, 0.4738907814025879, -0.019121350720524788, 0.029101397842168808, 0.2169593721628189, -1.050516963005066, -0.4796060025691986, -0.2541488707065582, -0.11940363794565201, 0.013670961372554302, -0.02076900005340576, 0.1662619560956955, 0.544196605682373, 0.4633428454399109, -0.3996841311454773, -0.19613716006278992, -0.15466360747814178, -0.22013528645038605, 0.5686060190200806, 0.5050801038742065, 0.10345820337533951, 0.3895314037799835, -0.7333894371986389, -0.024667983874678612, -0.7529085278511047, 0.1390061229467392, 0.09189856052398682, 0.08494503796100616, 0.11184153705835342, 0.35363343358039856, -0.08028281480073929, 0.6386147737503052, 0.5510531067848206, -0.054172541946172714, 0.28920865058898926, -0.4233986437320709, -0.31640464067459106, 0.030560661107301712, 0.18629726767539978, 0.5587447881698608, 0.1904999166727066, -0.3159962594509125, -0.2555510401725769, 0.0531197115778923, 0.32126522064208984, -0.787354052066803, 0.3002176582813263, 0.42330169677734375, -0.6064218282699585, -0.22879905998706818, -0.2694556415081024, -0.6143671870231628, 0.11208032816648483, -0.40244510769844055, 0.7298114895820618, -0.01867241971194744, -0.16539143025875092, 0.2068970799446106, 0.07978687435388565, 0.5172374248504639, 0.012708277441561222, -0.917253851890564, 0.4910773038864136, 0.7671215534210205, 0.8859739303588867, -0.19943268597126007, -0.02052474208176136, -0.7254102230072021, 0.03633098304271698, -0.33994796872138977, 0.7520943284034729, -0.46615973114967346, -0.3382333219051361, 0.029763925820589066, 0.0038252335507422686, -0.09729428589344025, -0.6135890483856201, 0.4759094715118408, -0.5074433088302612, 0.10122041404247284, 0.13133405148983002, -0.32220950722694397, 0.012273037806153297, 0.14662882685661316, -0.7571719288825989, 0.9641634821891785, 0.5064099431037903, -0.3689511716365814, 0.5330857038497925, -0.7877056002616882, -0.6381556987762451, 0.36945363879203796, 0.2891239821910858, -0.7234004139900208, 0.22822488844394684, 0.15848378837108612, 0.2813444137573242, 0.2470957338809967, -0.09597836434841156, -0.4432596266269684, -0.5982871651649475, 0.388362318277359, -0.3051184415817261, 0.6462818384170532, 0.253325492143631, -0.6541681289672852, 0.3325698971748352, -0.8050047159194946, 0.12239967286586761, 0.22526006400585175, -0.20361730456352234, -0.22375787794589996, -0.06786041706800461, 0.2617207169532776, -0.05376742407679558, 0.5474045276641846, -0.3140871524810791, 0.4881851077079773, -0.6584981083869934, 0.5245622992515564, 0.8101322054862976, 0.02643168717622757, 0.8837949633598328, 0.1475878357887268, 0.5371284484863281, -0.10215155780315399, 0.9852825403213501, -0.3750111758708954, -0.1961243748664856, -1.1066598892211914, -0.5384086966514587, 0.3277282416820526, 0.0794152095913887, -0.07702957093715668, 0.33366450667381287, -0.3670332729816437, -0.10349690914154053, -0.4013470411300659, 0.3473256528377533, 0.10418607294559479, 0.31651827692985535, 0.2143472135066986, -0.5828902721405029, -0.24203306436538696, -1.073717474937439, -0.3128884434700012, 0.15715986490249634, -0.3737325668334961, 0.6413606405258179, 0.09936751425266266, -0.26445499062538147, 0.8836625814437866, -0.680304229259491, -0.6941287517547607, 0.03728019446134567, -0.11466797441244125, 0.6141126155853271, 0.3191797733306885, 0.772370457649231, -1.1601909399032593, -0.8212623596191406, -0.174148291349411, -0.2760794162750244, 0.09654239565134048, -0.3052845001220703, 0.15634861588478088, 0.1454390436410904, 0.6406888365745544, -0.7543169856071472, 0.47009822726249695, 0.21121414005756378, -0.7351829409599304, 0.033484507352113724, -0.1866081804037094, -0.02173163928091526, -0.572039783000946, 0.2723982632160187, -0.0052370172925293446, -0.3814404010772705, -0.6336263418197632, 0.488308310508728, 0.26700088381767273, -0.41157066822052, -0.6761683225631714, 0.518900454044342, -0.41073042154312134, -0.04321727901697159, -0.11258621513843536, 0.21378585696220398, -0.19441361725330353, 1.0603997707366943, -0.4077906906604767, 0.7092135548591614, 0.38127392530441284, -0.6555045247077942, 0.4775625765323639, 0.06428806483745575, 0.14040507376194, 0.7874345779418945, -1.0359169244766235, 0.5188060402870178, -0.25546109676361084, 0.3731190264225006, -1.2764334678649902, 0.05431108549237251, 0.00315149687230587, -0.3548937439918518, 0.41374728083610535, -0.07470487058162689, -0.5952823162078857, -0.38928404450416565, -0.8253198266029358, 0.45415639877319336, 0.6098034381866455, -0.3922366201877594, 0.8550045490264893, 0.0601700060069561, -0.16836409270763397, -0.28095054626464844, -0.6582576632499695, 0.18612244725227356, -0.3724585175514221, -0.7023180723190308, 0.3433082699775696, -0.2845676839351654, -0.027844998985528946, 0.26651531457901, -0.2680552005767822, 0.15887241065502167, 0.06311330199241638, 0.28454601764678955, 0.12727755308151245, -0.4569180905818939, 0.25335243344306946, -0.15592439472675323, -0.4200798571109772, -0.11605142802000046, -0.6588485240936279, 0.2160032093524933, -0.09106386452913284, -0.1803002655506134, -0.1288049966096878, 0.5847241282463074, 0.8488151431083679, -0.12551449239253998, 0.45074760913848877, 0.8644322752952576, -0.22828033566474915, -0.11420456320047379, -0.6287778615951538, -0.4431283473968506, -0.6042388677597046, 0.3194025754928589, -0.34644806385040283, -1.1616201400756836, 0.5625340342521667, -0.058362167328596115, 0.0963301956653595, 0.6436254382133484, 0.592886745929718, 0.06004650890827179, 1.414273977279663, 0.8950220942497253, -0.09482891857624054, 0.480949729681015, -0.22511936724185944, 0.45904919505119324, -0.8153454065322876, -0.1058804914355278, -0.42612162232398987, -0.9713770747184753, -0.5555270910263062, -0.12239952385425568, 0.6544347405433655, -0.3683897852897644, -0.30312663316726685, 0.26188793778419495, -0.839644730091095, 0.39495670795440674, 0.5234633684158325, 0.23159576952457428, -0.06680599600076675, -0.0016226526349782944, 0.14624124765396118, -0.3512389063835144, -0.9199642539024353, 0.06630101799964905, 1.2827067375183105, 0.35406067967414856, 0.5560886859893799, -0.005087575875222683, 0.11016184091567993, 0.4065603017807007, 0.5010504722595215, -0.7721680402755737, 0.6167615652084351, -0.07177489250898361, -0.6208171844482422, -0.5153202414512634, -0.3201392590999603, -1.1706353425979614, 0.09399046748876572, -0.05839862674474716, -0.6424568891525269, 0.30667608976364136, 0.3431202173233032, -0.4438309967517853, 0.0064618512988090515, -1.123918056488037, 0.7107192873954773, -0.14811067283153534, -0.64544677734375, -0.48110562562942505, -0.48557084798812866, -0.172647163271904, -0.20347753167152405, 0.010035715065896511, 0.14900602400302887, -0.7000885605812073, 0.7074401378631592, -0.4200761914253235, 0.9520073533058167, -0.1599777787923813, -0.040097229182720184, 0.20955367386341095, -0.0028345633763819933, 0.7289495468139648, 0.17381033301353455, 0.4224315583705902, -0.3041815459728241, -0.6390820741653442, -0.7481802701950073, -0.845544159412384, 0.882535994052887, -0.4228765070438385, -0.813249945640564, 0.015418795868754387, -0.6782845258712769, -0.148196741938591, 0.009538967162370682, -0.13310283422470093, 0.61283278465271, 0.2078559249639511, 0.6264371275901794, 0.9826318621635437, 0.06361661851406097, 0.48956236243247986, 0.5153530836105347, 0.09459191560745239, -0.2630760669708252, 0.7776474952697754, 0.10880247503519058, 0.06397980451583862, 0.38733431696891785, 0.16695472598075867, -0.4439852237701416, -0.0010648202151060104, 0.04175901040434837, 0.04004184529185295, -0.5139669179916382, -0.19053159654140472, -0.8322146534919739, -0.05250149592757225, -0.4608798921108246, -0.399264395236969, -0.401540070772171, -0.6859346628189087, -0.13709761202335358, -0.03404828533530235, 0.6844227313995361, 0.20578400790691376, -0.3022052049636841, 0.010013521648943424, -0.5057938098907471, 0.5495049953460693, 1.0700421333312988, 0.6775172352790833, 0.07610512524843216, -0.7110403776168823, -0.3366268277168274, -0.3005743622779846, -0.33746615052223206, -0.4141896069049835, 0.13138143718242645, 0.5549271106719971, 0.4777574837207794, 0.5238229632377625, -0.04774344339966774, 0.41953837871551514, -0.5924620032310486, 0.861985445022583, 0.49630454182624817, -0.9010820984840393, 0.3529731333255768, -0.09143679589033127, 0.4511711895465851, 0.08514563739299774, 0.20425041019916534, -0.3703400194644928, -0.4769468605518341, -0.9029970169067383, -1.2111315727233887, 0.4559899568557739, 0.2832772433757782, 0.7059884667396545, 0.2331969290971756, 0.4007813632488251, -0.20828990638256073, -0.10855165123939514, -0.5183378458023071, -0.5151946544647217, -0.12336825579404831, -0.33101439476013184, -0.13350456953048706, -0.6494280695915222, -0.07274644821882248, -0.3149893581867218, 0.1877070665359497, -0.11687734723091125, 0.4796692728996277, 0.5084192156791687, -0.007377429399639368, -0.32299742102622986, 0.15008673071861267, 0.800492525100708, 0.5862519145011902, -0.3069145381450653, 0.3205610513687134, 0.4823046624660492, -0.5973706841468811, 0.10364688187837601, -0.15920856595039368, -0.06700774282217026, 0.11520249396562576, 0.18159283697605133, 0.5994094610214233, 0.596383810043335, -0.37910592555999756, 0.5474663972854614, 0.12321112304925919, -0.4603618383407593, -0.15896688401699066, 0.06498880684375763, 0.050615545362234116, 0.31653663516044617, 0.8038131594657898, -0.11233294010162354, 0.4407822787761688, -0.4293833374977112, 0.40410372614860535, 0.2923797070980072, -0.932296872138977, -0.3490607440471649, 1.204131007194519, 0.3392362594604492, -0.7438713312149048, 0.23418530821800232, 0.15202772617340088, -0.6584402918815613, 0.9216926693916321, 0.3462282419204712, 0.9410256147384644, -0.3228267729282379, -0.07890653610229492, 0.3146912157535553, 0.41798830032348633, 0.4462972581386566, 0.013177677057683468, -0.3998277187347412, -0.18415845930576324, -0.6090595722198486, -0.1985207349061966, -0.15487982332706451, 0.13959386944770813, -0.34666332602500916, 0.12048844993114471, -0.560135543346405, -0.3675885498523712, 0.18381209671497345, -0.1105121374130249, -1.0102131366729736, 0.3256520628929138, -0.0009187484974972904, 0.66098952293396, -0.42860445380210876, 0.40400615334510803, 0.5426896214485168, -0.2813990116119385, -0.4291079342365265, -0.08497917652130127, -0.3132200539112091, -0.7680927515029907, 0.7216116189956665, 0.09084172546863556, -0.04214516282081604, 0.08461160212755203, -1.0324491262435913, -0.7826308012008667, 0.8369066715240479, 0.18738599121570587, -0.6071851253509521, 0.263425350189209, 0.12574200332164764, 0.6741438508033752, -0.25960493087768555, 0.005831500049680471, 0.1752103716135025, 0.4360724091529846, -0.2898866832256317, -0.5431115031242371, 0.08376789838075638, -0.197419673204422, 0.013139528222382069, 0.2606753408908844, -1.0206855535507202, 0.5490058660507202, -0.18116740882396698, -0.3813883364200592, -0.34538641571998596, 0.593356192111969, -0.35843417048454285, 0.35266754031181335, 0.9155416488647461, 0.5943471789360046, 0.005239646881818771, 0.1237836703658104, 0.9186389446258545, -0.37719738483428955, 0.8596637845039368, 0.5956175923347473, -0.20512980222702026, 0.462501585483551, 0.8328936100006104, -0.49947234988212585, 0.04115651920437813, 0.23032830655574799, -0.046938929706811905, 0.5113954544067383, 0.23895178735256195, -0.25015100836753845, -0.17521502077579498, -0.1826646625995636, -0.3086903393268585, -0.13390693068504333, 0.40301451086997986, -0.32972219586372375, -0.015498998574912548, -0.026175782084465027, -0.2848305404186249, 0.07530376315116882, -0.48520371317863464, 0.7613776922225952, 0.15379448235034943, -0.3284740149974823, 0.7777503728866577, -0.2799176573753357, 0.7243583798408508, -0.5495944619178772, 0.04030871391296387, -0.5975189208984375, 0.45472925901412964, -0.11071787029504776, -0.5952644944190979, 0.3147070109844208, -0.10295553505420685, -0.11193272471427917, -0.31110987067222595, 0.6518793702125549, -0.35799506306648254, -0.5168478488922119, 0.14263242483139038, -0.2125885784626007, -0.29234588146209717, -0.17362824082374573, -0.6722074151039124, -0.03892917558550835, -0.05888671427965164, -0.6535536050796509, 0.2670172452926636, 0.406800776720047, 0.2734505236148834, 0.7378615736961365, 0.6495187878608704, -0.2437567561864853, 0.14490285515785217, -0.01268129050731659, 0.7376179099082947, -0.6963911056518555, -0.7144959568977356, -0.5523384213447571, 0.3453387916088104, -0.14023302495479584, -0.4356374740600586, 0.5226984620094299, 0.49676358699798584, 0.47281861305236816, -0.28010064363479614, 0.30595284700393677, 0.30728936195373535, 0.2558952569961548, -0.23762758076190948, 0.44793587923049927, -1.0476932525634766, -0.22522833943367004, 0.026249656453728676, -1.4478551149368286, -0.5512402057647705, 0.19290311634540558, 0.24610741436481476, -0.2015790045261383, 0.9048703908920288, 0.8086704611778259, -0.36575421690940857, -0.5653603076934814, 0.513778567314148, 0.25073865056037903, -0.0380452498793602, 0.9564682841300964, 0.3104614317417145, -0.3478517234325409, 0.9635074734687805, 0.10599876195192337, -0.2978418469429016, -0.610579788684845, -0.6080368757247925, -0.6396597623825073, -0.6259687542915344, -0.5773635506629944, -0.2002241462469101, -0.03614531084895134, 0.4558953642845154, 0.7409044504165649, -0.641111433506012, 0.45106634497642517, 0.17660266160964966, 0.06913848966360092, -0.46916577219963074, -0.24762608110904694, 0.7561240792274475, -0.584954559803009, -0.756459653377533, -0.1232791617512703, 0.8364773988723755, -0.13102920353412628, -0.3685416579246521, 0.1750534623861313, 0.374237984418869, 0.4029342532157898, 0.8810253739356995, 0.25567954778671265, -0.5111458897590637, -0.522429883480072, 0.3949022591114044, -0.3945406973361969, 0.22748912870883942, 1.177428126335144, -0.5709637999534607, 0.41040295362472534, 0.3164384067058563, 0.5975669622421265, 0.9118518829345703, -0.3771657645702362, 0.34705010056495667, -0.9503886699676514, 0.8972119688987732, 0.20032192766666412, 0.18574848771095276, 0.18081378936767578, -0.659022867679596, 0.656140923500061, 0.2654689848423004, -0.42246025800704956, -0.6159502267837524, 0.26003363728523254, -1.402382493019104, -0.05727158486843109, 1.1103655099868774, -0.00817284919321537, -0.5805131793022156, -0.11220508068799973, -0.30235669016838074, -0.1622179001569748, -0.2782330811023712, 0.8251664638519287, 0.2045176774263382, 0.3576117157936096, -0.043607570230960846, -0.1599113494157791, 0.28273987770080566, 0.7590039968490601, -0.13078324496746063, -0.2388969361782074, 0.07133848965167999, 0.19962535798549652, 0.2549411654472351, 0.49617984890937805, -0.31445226073265076, 0.4567054808139801, 0.1422746330499649, -0.05085260793566704, 0.23485930263996124, -0.026921221986413002, -0.32052725553512573, 0.49530813097953796, -0.17906993627548218, -0.33125394582748413 ]
http://arxiv.org/abs/2404.05839v2
http://arxiv.org/pdf/2404.05839v2
ÚFAL LatinPipe at EvaLatin 2024: Morphosyntactic Analysis of Latin
2024-04-08T20:05:25
2024-05-29T16:37:39
Milan Straka, Jana Straková, Federica Gamba
cs.CL
cs.CL
We present LatinPipe, the winning submission to the EvaLatin 2024 Dependency Parsing shared task. Our system consists of a fine-tuned concatenation of base and large pre-trained LMs, with a dot-product attention head for parsing and softmax classification heads for morphology to jointly learn both dependency parsing and morphological analysis. It is trained by sampling from seven publicly available Latin corpora, utilizing additional harmonization of annotations to achieve a more unified annotation style. Before fine-tuning, we train the system for a few initial epochs with frozen weights. We also add additional local relative contextualization by stacking the BiLSTM layers on top of the Transformer(s). Finally, we ensemble output probability distributions from seven randomly instantiated networks for the final submission. The code is available at https://github.com/ufal/evalatin2024-latinpipe.
[ -0.34414181113243103, -0.15267817676067352, 0.38186267018318176, 0.4834073781967163, -0.34880396723747253, 0.3484540283679962, -0.053671762347221375, -0.4951697587966919, 0.4982503652572632, 0.6243401169776917, -0.3803498446941376, -0.6355108618736267, -0.40091270208358765, 0.46163830161094666, -0.31707778573036194, 0.8683926463127136, -0.1045786589384079, 0.34132203459739685, -0.31410565972328186, -0.16658057272434235, -0.3339248299598694, -0.5229567885398865, -0.47301721572875977, -0.3487119674682617, 0.7139118313789368, 0.32888126373291016, 0.16510017216205597, 0.5762885212898254, 0.3434693217277527, 0.3880305886268616, -0.03547133132815361, 0.057905398309230804, -0.14192059636116028, 0.5528991222381592, -0.44654345512390137, -0.3681662082672119, -0.5144118070602417, -0.42947205901145935, 0.6291323900222778, 0.9393803477287292, 0.13739453256130219, 0.06333409994840622, 0.1422155648469925, 0.53956538438797, -0.5832832455635071, 0.2335161715745926, -0.9140918850898743, -0.0010473732836544514, -0.5978795886039734, -0.3883245885372162, -0.5564182996749878, 0.2664959728717804, -0.054445091634988785, -0.23541085422039032, 0.1601869761943817, 0.002885476453229785, 0.6837995052337646, 0.43774962425231934, -0.2997010350227356, -0.002812725491821766, -0.6402612924575806, 0.5763625502586365, -0.1851525604724884, 0.4886266589164734, -0.00844228733330965, -0.04399150237441063, -0.12965551018714905, -1.074526071548462, -0.019060106948018074, 0.34127476811408997, -0.07860148698091507, 0.1801278442144394, -0.33542966842651367, 0.36580631136894226, -0.34022796154022217, 0.33052143454551697, -0.6524269580841064, 0.004191088955849409, -0.691890299320221, -0.2634506821632385, 0.5795401930809021, -0.08293162286281586, 0.18830525875091553, -0.1774047166109085, -0.38014206290245056, 0.20498552918434143, -0.7477414011955261, -0.0656028687953949, 0.27678561210632324, 0.4785640835762024, -0.06463727355003357, 0.3687623143196106, 0.03159492462873459, 0.49866798520088196, 0.10509052872657776, 0.5299153327941895, 0.41637030243873596, -0.11526849120855331, -0.30867043137550354, 0.21896275877952576, 0.9601384997367859, -0.19016264379024506, 0.19338756799697876, -0.10114197432994843, -0.20106811821460724, -0.09029673039913177, 0.39436256885528564, -0.5117168426513672, -0.24660305678844452, 0.40309378504753113, -0.13602542877197266, -0.11050312221050262, 0.07347802072763443, -0.9723190665245056, 0.03957526013255119, -0.6131712794303894, 0.0718487873673439, -0.19622711837291718, -0.08400590717792511, 0.05888115614652634, 0.0672198235988617, -0.2875331938266754, 0.23785652220249176, -0.993843674659729, 0.49035874009132385, 1.0306247472763062, 0.9303937554359436, -0.4015907645225525, -0.5070520639419556, -1.067980408668518, -0.19537954032421112, 0.025093737989664078, 1.219551920890808, -0.47694891691207886, -0.0542006641626358, 0.05522178113460541, 0.17013771831989288, -0.42357712984085083, -0.5809178352355957, 0.6957510709762573, -0.3688729405403137, -0.0024436835665255785, 0.31486865878105164, -0.5893325209617615, 0.09699475020170212, -0.2802846133708954, -0.6444541811943054, 0.9088879227638245, 0.34292516112327576, -0.7284510135650635, -0.1402362734079361, -0.7031018137931824, -0.18568909168243408, 0.675633430480957, -0.3787488341331482, -0.14029403030872345, 0.14879751205444336, -0.2589012384414673, 0.40982353687286377, 0.23741935193538666, 0.5399929881095886, -0.1574992686510086, -0.16625331342220306, -0.1575242280960083, -0.25373920798301697, 1.0433399677276611, 0.3300315737724304, -0.5798145532608032, 0.5239402055740356, -0.8645281195640564, -0.02651788853108883, -0.2236069142818451, -0.15732961893081665, -0.10677730292081833, -0.35791364312171936, 0.44029268622398376, 0.08646637201309204, 0.108709916472435, -0.4562927782535553, 0.05694833770394325, -0.5201619267463684, 0.36355841159820557, 0.8267497420310974, -0.14861920475959778, 0.30230599641799927, 0.2272864282131195, 0.7348722815513611, -0.25912097096443176, -0.07382948696613312, -0.2590862214565277, -0.3935464322566986, -0.7120667099952698, -0.26155605912208557, 0.7109622359275818, 0.4003047049045563, -0.4048989713191986, 0.35832586884498596, -0.1787424236536026, -0.36450299620628357, -0.3759062886238098, 0.32413992285728455, 0.5419396758079529, 0.285167396068573, 0.3056841790676117, -0.5083380937576294, -1.0645751953125, -0.9488861560821533, -0.006684967782348394, -0.16506049036979675, -0.048941295593976974, -0.2286706417798996, 0.595487654209137, -0.20029662549495697, 0.6452580690383911, -0.22277693450450897, -0.4752114713191986, -0.5963535308837891, 0.33797192573547363, 0.07271815836429596, 0.516750156879425, 0.6758114695549011, -0.6589387059211731, -0.607842206954956, 0.20895658433437347, -0.3060222566127777, -0.5677992105484009, 0.2862105369567871, -0.34339603781700134, 0.17241325974464417, 0.48307347297668457, -0.4987945854663849, 0.16996172070503235, 0.8333497643470764, -0.5848448872566223, 0.5340421795845032, -0.13742695748806, -0.18700841069221497, -1.12699556350708, 0.10772714018821716, -0.0635991021990776, -0.4774242043495178, -0.586866557598114, -0.04566202685236931, 0.0026441230438649654, -0.04721131920814514, -0.8667377233505249, 0.6562319993972778, -0.305181086063385, -0.23970074951648712, -0.1571410894393921, -0.1295655369758606, 0.22727496922016144, 0.6062444448471069, 0.1307573765516281, 0.6949059963226318, 0.5201642513275146, -0.15652693808078766, 0.48271405696868896, 0.10171440988779068, 0.016094889491796494, 0.4541325271129608, -0.7451722025871277, 0.04477043077349663, 0.05781174451112747, 0.3504345417022705, -0.7022407054901123, -0.419173926115036, 0.24349339306354523, -0.371187686920166, 0.3547782301902771, -0.47935742139816284, -0.1959758996963501, -0.051850005984306335, -0.15000639855861664, 0.498134970664978, 0.03439448028802872, -0.48143085837364197, 0.6241284012794495, 0.49725258350372314, -0.35002651810646057, -0.26469236612319946, -0.33414822816848755, 0.09459284693002701, -0.25791701674461365, -0.7098488807678223, 0.7300332188606262, -0.12829923629760742, -0.5436981320381165, 0.008622652851045132, 0.10274010896682739, -0.2734907269477844, 0.1637033075094223, 0.40888580679893494, 0.21160759031772614, -0.2098226398229599, 0.05109034851193428, 0.016910910606384277, -0.32092535495758057, 0.022779293358325958, -0.5252891182899475, 0.9563422203063965, -0.46962970495224, -0.2623147964477539, -0.5412861704826355, 0.5364642143249512, 0.64848393201828, -0.31190574169158936, 0.3227226138114929, 0.3835277557373047, -0.37800103425979614, 0.01707102172076702, -0.16671901941299438, 0.2913402318954468, -0.4393483102321625, 0.22265489399433136, -0.3152489960193634, -0.977120041847229, 0.41633936762809753, 0.042300544679164886, 0.1853533834218979, 0.7032705545425415, 0.5597134828567505, -0.06587906181812286, 0.9572960138320923, 0.6112427115440369, 0.03581816330552101, 0.33604326844215393, -0.28104153275489807, -0.27435365319252014, -0.7420729994773865, -0.2661445140838623, -0.7925395965576172, -0.17011629045009613, -0.5231227874755859, -0.21922481060028076, 0.2826460897922516, -0.03294014558196068, 0.08911792933940887, 0.4915325343608856, -0.4636593759059906, 0.4757118821144104, 0.5244437456130981, -0.5605465769767761, 0.12427852302789688, 0.15895609557628632, -0.5303548574447632, -0.07319005578756332, -0.34885579347610474, -0.3824366331100464, 1.0374051332473755, 0.3527213931083679, 0.16395273804664612, -0.15094690024852753, 0.9450947046279907, 0.4380187690258026, 0.12421274930238724, -0.7569189667701721, 0.34001702070236206, -0.37283238768577576, -0.1467146873474121, -0.04910677671432495, -0.2450823038816452, -1.32869291305542, 0.51362144947052, 0.27379053831100464, -0.9143723249435425, 0.023289687931537628, 0.15469969809055328, -0.40912243723869324, 0.052271850407123566, -0.5883967876434326, 0.9919591546058655, -0.4407839775085449, -0.48895418643951416, 0.1254483014345169, -0.6987499594688416, -0.046913739293813705, 0.14965863525867462, 0.35671383142471313, 0.06922078132629395, 0.12041104584932327, 0.8401343822479248, -0.3168087303638458, 0.7702677249908447, 0.01891627348959446, -0.15127722918987274, 0.11373396962881088, -0.013534869998693466, 0.03347613662481308, 0.2546458840370178, 0.09517914801836014, 0.29123303294181824, 0.007529326714575291, -0.4478674829006195, -0.4230935573577881, 0.7812671065330505, -0.5753308534622192, -0.347633957862854, -0.6786000728607178, -0.1877446472644806, -0.2322758436203003, 0.1850520670413971, 0.35404181480407715, 0.8024113178253174, -0.16101334989070892, 0.2815479338169098, 0.4573233127593994, 0.39801517128944397, 0.4147329330444336, 0.09583418071269989, -0.4486200213432312, -0.6795372366905212, 0.8928177356719971, -0.07519038766622543, 0.047400448471307755, 0.47986629605293274, 0.07141446322202682, -0.17838862538337708, -0.5514368414878845, -0.6641912460327148, 0.4738338887691498, -0.48990753293037415, -0.27854952216148376, -0.7806999087333679, -0.6199990510940552, -0.5875348448753357, -0.044011835008859634, -0.7589207887649536, -0.4177408814430237, -0.32563793659210205, -0.11825449019670486, 0.004270268138498068, 0.882107138633728, -0.24505294859409332, 0.17186857759952545, -0.8098912835121155, -0.23605231940746307, 0.16062715649604797, 0.154352068901062, -0.6167900562286377, -0.28405648469924927, -0.28606560826301575, -0.2102164924144745, -0.6518969535827637, -0.6222584247589111, 0.5280042886734009, 0.37103989720344543, 0.37818247079849243, 0.48815569281578064, -0.12283994257450104, 0.5169217586517334, -0.6627988815307617, 0.9036825895309448, 0.20770706236362457, -0.96675705909729, 0.7407516837120056, -0.27348360419273376, 0.4170825481414795, 0.6792349815368652, 0.4179467260837555, -0.6527098417282104, -0.6449986696243286, -0.8082133531570435, -0.9761672019958496, 0.42874568700790405, 0.34220972657203674, 0.053309276700019836, -0.05479932948946953, 0.04045717045664787, 0.3555530309677124, -0.028918037191033363, -0.4901682138442993, -0.29546740651130676, -0.034445758908987045, -0.37159135937690735, 0.1316351443529129, -0.15353445708751678, -0.0656772181391716, -0.4348549544811249, 0.6701604723930359, -0.33026206493377686, 0.24322257936000824, 0.06517783552408218, -0.15288886427879333, -0.215118408203125, 0.37673419713974, 0.9609062075614929, 0.8447025418281555, -0.21295662224292755, 0.6819872856140137, -0.11439958214759827, -0.5724273920059204, -0.15799501538276672, 0.244401752948761, -0.21002677083015442, 0.5439488291740417, 0.5915276408195496, 0.9419355988502502, 0.5783705711364746, -0.8008368015289307, 0.28652480244636536, -0.306396484375, -0.35170915722846985, -0.726749837398529, -0.022473985329270363, -0.018733322620391846, 0.12724043428897858, 0.4429842233657837, 0.3043782413005829, 0.13427869975566864, -0.3997160792350769, 0.36643728613853455, 0.2612413167953491, -0.6014694571495056, -0.9554911851882935, 0.4473734498023987, 0.40489423274993896, -0.41587579250335693, -0.08352361619472504, -0.2748115658760071, -1.0530130863189697, 0.39514145255088806, 0.4918489456176758, 0.9368427991867065, -0.3477800190448761, 0.38977938890457153, 0.3291141390800476, -0.3300761282444, 0.17305654287338257, 0.20770344138145447, -0.1140579953789711, -0.4200378358364105, -0.36826029419898987, -0.9247499704360962, -0.3039517104625702, 0.49876898527145386, -0.5263970494270325, 0.459716260433197, -0.15583035349845886, 0.29085949063301086, 0.029792089015245438, 0.0908336192369461, -0.5338447093963623, 0.013917114585638046, 0.04562561959028244, 0.5856028199195862, -0.8344431519508362, 0.5731399059295654, 0.8200169801712036, -0.1370517611503601, -0.5774559378623962, -0.174333855509758, 0.37494897842407227, -0.5803073048591614, 0.8156632781028748, 0.3169322907924652, -0.14670930802822113, -0.08391792327165604, -0.3202996253967285, -1.0037870407104492, 0.937713623046875, 0.5403278470039368, -0.40678319334983826, -0.05278482288122177, 0.1973218023777008, 0.6466056108474731, -0.7339202761650085, 0.32235848903656006, 0.5621912479400635, 0.2255355268716812, 0.212024986743927, -1.105071783065796, -0.5508760213851929, -0.6216109991073608, -0.11569150537252426, 0.27556928992271423, -0.570443332195282, 0.8058627843856812, 0.39511096477508545, -0.4020237624645233, 0.09285182505846024, 0.8524383902549744, 0.1559334099292755, 0.3717174232006073, 0.5127425789833069, 0.6997751593589783, 0.6486649513244629, 0.03846248611807823, 0.6053025722503662, -0.19632591307163239, 0.3631119132041931, 1.4492332935333252, -0.18114762008190155, 0.9665561318397522, 0.6454235315322876, -0.14172223210334778, 0.5316405296325684, 0.6793292760848999, 0.28880274295806885, 0.33571892976760864, 0.23012377321720123, -0.4205038547515869, -0.2016087919473648, -0.6018446087837219, -0.4934844672679901, 0.8177856802940369, 0.25680801272392273, -0.4447825253009796, -0.4452486038208008, 0.07223334163427353, 0.06742708384990692, 0.08210069686174393, -0.22409921884536743, 0.5472736954689026, 0.11561721563339233, -0.8968867063522339, 0.5101223587989807, -0.22434282302856445, 0.5394433736801147, -0.3908887803554535, 0.03643188625574112, -0.365192174911499, 0.15733376145362854, -0.29390594363212585, -0.6793904304504395, 0.6733492612838745, 0.19511905312538147, 0.06648493558168411, -0.5517863035202026, 0.6479129791259766, -0.4935060143470764, -0.49845781922340393, 0.6019362211227417, 0.4718392789363861, 0.27522334456443787, -0.03298138082027435, -0.41580045223236084, 0.3270951509475708, -0.048146769404411316, -0.12277694791555405, 0.48447903990745544, 0.5493890643119812, 0.048434045165777206, 0.4014974534511566, 0.36714068055152893, 0.3360026180744171, -0.024082565680146217, 0.515591025352478, 0.7485167384147644, -0.10444798320531845, -0.23436112701892853, -0.6794915795326233, 0.7630775570869446, -0.10496603697538376, -0.45674577355384827, 0.38245823979377747, 0.7585614323616028, 1.101443886756897, 0.06964589655399323, 0.527326226234436, 0.08031924068927765, 0.3071865737438202, -0.47270822525024414, 0.5631094574928284, -0.6457956433296204, 0.133757546544075, -0.17623646557331085, -1.041414499282837, -0.5167036056518555, 0.26559093594551086, 0.06954588741064072, -0.4239966869354248, 1.0746997594833374, 0.46897560358047485, -0.17583006620407104, 0.01275950763374567, 0.415363073348999, -0.07207386940717697, 0.19991663098335266, 0.5718380808830261, 0.6093449592590332, -0.1538742482662201, 0.534769594669342, -0.45757758617401123, -0.21744439005851746, -0.2573775053024292, -0.6948304176330566, -0.6431589722633362, -1.0571271181106567, -0.391556054353714, -0.17148925364017487, 0.019489053636789322, 1.3247331380844116, 0.5254974961280823, -1.0159058570861816, -0.3583716154098511, -0.4204966127872467, 0.06589271128177643, 0.11421801894903183, -0.26184332370758057, 0.23527021706104279, -0.562299907207489, -0.9994545578956604, 0.5635583996772766, 0.698034405708313, -0.15959668159484863, -0.38222619891166687, -0.05812864750623703, -0.2915688157081604, -0.30203694105148315, 0.4212181568145752, 0.4024145305156708, -0.7257688045501709, -0.4340778887271881, -0.03580218926072121, -0.012720638886094093, 0.34447601437568665, 0.9369367361068726, -0.6015671491622925, 0.22058320045471191, 0.5605324506759644, 0.7079502940177917, 0.19854846596717834, -0.17088764905929565, 0.6052483916282654, -0.674524188041687, 0.05549152195453644, 0.35045334696769714, 0.813474178314209, 0.16733916103839874, -0.28087759017944336, 0.6609888672828674, 0.45714980363845825, -0.6667418479919434, -0.7127430438995361, 0.3405797481536865, -1.199652075767517, 0.06063542142510414, 1.0969178676605225, -0.4218984842300415, -0.4491684138774872, -0.46972113847732544, -0.28596341609954834, 0.19436246156692505, -0.41449421644210815, 0.6154807806015015, 0.6182745099067688, -0.32970795035362244, -0.40682870149612427, -0.19588440656661987, 0.4461319148540497, 0.6148598194122314, -1.0365945100784302, -0.09207761287689209, 0.4480702579021454, 0.13655529916286469, 0.5141017436981201, 0.6020870208740234, -0.024246370419859886, 0.3020610213279724, -0.40248095989227295, -0.04268013685941696, 0.19575197994709015, -0.7283027768135071, -0.49267056584358215, 0.4354761838912964, -0.1818021833896637, -0.03770992159843445 ]
http://arxiv.org/abs/2404.05829v1
http://arxiv.org/pdf/2404.05829v1
SambaLingo: Teaching Large Language Models New Languages
2024-04-08T19:48:36
2024-04-08T19:48:36
Zoltan Csaki, Bo Li, Jonathan Li, Qiantong Xu, Pian Pawakapan, Leon Zhang, Yun Du, Hengyu Zhao, Changran Hu, Urmish Thakker
cs.CL
cs.CL, cs.AI, cs.LG
Despite the widespread availability of LLMs, there remains a substantial gap in their capabilities and availability across diverse languages. One approach to address these issues has been to take an existing pre-trained LLM and continue to train it on new languages. While prior works have experimented with language adaptation, many questions around best practices and methodology have not been covered. In this paper, we present a comprehensive investigation into the adaptation of LLMs to new languages. Our study covers the key components in this process, including vocabulary extension, direct preference optimization and the data scarcity problem for human alignment in low-resource languages. We scale these experiments across 9 languages and 2 parameter scales (7B and 70B). We compare our models against Llama 2, Aya-101, XGLM, BLOOM and existing language experts, outperforming all prior published baselines. Additionally, all evaluation code and checkpoints are made public to facilitate future research.
[ -0.42547962069511414, -0.42891454696655273, 0.19781647622585297, 0.3517075479030609, -0.062256138771772385, 0.2836640477180481, -0.5345501899719238, -0.4261612892150879, 0.10576814413070679, 0.6487375497817993, -0.19663190841674805, -0.21838565170764923, -0.6411970257759094, 0.1655760258436203, -0.11929503828287125, 0.9998576045036316, -0.39166685938835144, 0.16540059447288513, 0.020487911999225616, -0.19698964059352875, -0.6680670976638794, -0.35115936398506165, -0.6976724863052368, -0.3371330201625824, 0.4068383574485779, 0.6534603834152222, 0.7000712156295776, 0.6424143314361572, 0.31710973381996155, 0.2177056223154068, -0.23969310522079468, 0.07031168043613434, -0.7163549661636353, -0.2104307860136032, -0.3012148141860962, -0.5627232193946838, -0.5005684494972229, -0.0810459703207016, 0.9732887148857117, 0.9468292593955994, -0.056662511080503464, 0.18871715664863586, 0.2002253234386444, 0.6194053292274475, -0.6084652543067932, -0.12388765066862106, -0.7115042805671692, -0.0220451969653368, -0.0928061380982399, -0.04928198829293251, -0.5156835913658142, -0.42210203409194946, 0.12338154762983322, -0.7044240236282349, -0.15144701302051544, -0.10950490832328796, 0.7474455237388611, 0.28541669249534607, -0.6028931736946106, -0.6108328104019165, -0.5898808240890503, 0.8414673209190369, -0.4506300091743469, 0.21399712562561035, 0.3423359990119934, 0.40416237711906433, -0.30235201120376587, -0.14677883684635162, -0.16448315978050232, -0.31536704301834106, 0.18133871257305145, -0.06189553439617157, -0.08746255934238434, -0.1454697549343109, -0.2522216737270355, 0.28315743803977966, -0.37770408391952515, 0.5956392884254456, -0.25758734345436096, 0.029529983177781105, 0.6320421695709229, -0.14726421236991882, -0.05968600884079933, -0.08309894055128098, -0.3718767762184143, -0.00727459229528904, -0.7598962783813477, -0.205794095993042, 0.2878400683403015, 0.28816431760787964, -0.19041676819324493, 0.19093723595142365, 0.14177550375461578, 0.7548057436943054, -0.046829648315906525, -0.24975310266017914, 0.1658456027507782, -0.060250457376241684, -0.26020196080207825, -0.1135893240571022, 0.32958564162254333, 0.28549671173095703, 0.5531894564628601, -0.1134759783744812, -0.10029961913824081, -0.368560254573822, 0.009745407849550247, -0.38985612988471985, 0.010885453782975674, -0.09625585377216339, -0.1803242266178131, -0.21213850378990173, -0.551758348941803, -0.5503442883491516, -0.7292339205741882, -0.35769587755203247, 0.29820382595062256, -0.2982134222984314, -0.38616690039634705, 0.11161049455404282, 0.19352911412715912, 0.4272996485233307, 0.6265211701393127, -0.9616004824638367, 0.29190343618392944, 0.599705696105957, 0.7818267941474915, -0.5187087655067444, -0.5276690721511841, -0.406124085187912, 0.21217238903045654, -0.6411592960357666, 0.8131992816925049, -0.4505557715892792, -0.3518933951854706, 0.01506296917796135, 0.26015594601631165, 0.012800142168998718, -0.8142462372779846, 0.5590676665306091, -0.46709126234054565, -0.005703458096832037, -0.2767300605773926, -0.399808406829834, -0.03020135872066021, 0.1922033727169037, -0.35904788970947266, 0.8843117356300354, 0.38332676887512207, -0.33239227533340454, 0.32076090574264526, -0.5497438907623291, -0.41996705532073975, 0.09832654893398285, 0.06480830907821655, 0.03340088203549385, 0.20556648075580597, 0.19985006749629974, 0.472953200340271, -0.4340966045856476, 0.3520888388156891, -0.20726457238197327, -0.4484766721725464, 0.3889962434768677, -0.15687505900859833, 0.8440569043159485, 0.4089089632034302, 0.16262070834636688, 0.09880945831537247, -0.48777955770492554, -0.1416473686695099, 0.07839540392160416, -0.5954521894454956, -0.2476881444454193, -0.3757283389568329, -0.032252706587314606, 0.01367111410945654, 0.12844960391521454, -0.059614889323711395, 0.4290185570716858, -0.23546616733074188, 0.37033340334892273, 1.0153839588165283, -0.24837450683116913, 0.7755618095397949, -0.34956368803977966, 0.8668823838233948, -0.12439374625682831, 0.1754855364561081, -0.17159403860569, -0.14460310339927673, -1.0124280452728271, -0.21711061894893646, 0.44843870401382446, 0.44444891810417175, -0.6330150365829468, 0.19544263184070587, -0.3845277428627014, -0.35822975635528564, -0.6151190400123596, 0.5107350945472717, 0.12919685244560242, 0.13837943971157074, 0.004063805565237999, -0.39732712507247925, -0.6818333864212036, -0.7391427159309387, -0.059103500097990036, -0.036402150988578796, -0.027849532663822174, 0.26611343026161194, 0.33982476592063904, -0.5453008413314819, 0.6877161264419556, -0.3122744858264923, -0.05271909385919571, -0.4014337360858917, -0.31527048349380493, 0.25909337401390076, 0.39027830958366394, 0.7887571454048157, -0.2740805745124817, -0.65411376953125, 0.22912541031837463, -0.5186556577682495, -0.08447042852640152, -0.045759979635477066, -0.3620612323284149, 0.5373225212097168, 0.36677929759025574, -0.1430446207523346, -0.2716001272201538, 0.9081212878227234, 0.32620272040367126, 0.516465961933136, -0.31449228525161743, -0.17575551569461823, -1.2479864358901978, -0.11706102639436722, -0.03171877935528755, -0.07578930258750916, -0.6778039932250977, 0.056042931973934174, 0.02303718402981758, -0.26093152165412903, -0.46417587995529175, 0.8600592017173767, -0.9340088963508606, -0.402786523103714, -0.6299052834510803, 0.11488135159015656, -0.3692258298397064, 0.2913881540298462, 0.016414271667599678, 0.713748037815094, 0.7812912464141846, -0.5492754578590393, 0.23597514629364014, 0.09568510204553604, -0.3200571835041046, 0.2849194407463074, -0.2779805660247803, 0.34504953026771545, -0.20626689493656158, 0.14498892426490784, -0.8485718369483948, -0.43820279836654663, 0.07695581763982773, -0.2363194227218628, 0.5553666949272156, -0.5994781851768494, -0.3816850483417511, -0.23123954236507416, -0.17596836388111115, 0.20767179131507874, 0.6544129848480225, -0.5921081304550171, 0.29158511757850647, 0.6274929046630859, -0.1907590925693512, -0.5047918558120728, -0.5489041805267334, 0.2448897808790207, -0.30065837502479553, -0.47246047854423523, -0.2324773371219635, 0.027028489857912064, -0.25166910886764526, -0.24714194238185883, 0.011623010039329529, -0.1850774735212326, 0.4755029082298279, -0.0568610355257988, 0.13179461658000946, -0.22928370535373688, 0.12781177461147308, 0.0640382394194603, -0.02656509168446064, -0.23609153926372528, -0.33198195695877075, 0.6557715535163879, -0.1555144488811493, -0.1373179405927658, -0.15639710426330566, 0.027269504964351654, 0.2725427746772766, -0.07867032289505005, 0.6744439005851746, 0.5047112107276917, -0.29069000482559204, -0.13402393460273743, -0.5277923941612244, 0.20112042129039764, -0.48824748396873474, 0.48301756381988525, -0.2758741080760956, -1.0682201385498047, 0.36311185359954834, -0.506936252117157, -0.0949043408036232, 0.014591189101338387, 0.7255144715309143, -0.13617463409900665, 0.3235195279121399, 0.9791151881217957, -0.32467129826545715, 0.5110679864883423, -0.07987286895513535, -0.11758362501859665, -0.8612741231918335, 0.11603543907403946, -0.22264665365219116, -0.22047510743141174, -0.699470579624176, -0.9139689207077026, 0.12993399798870087, 0.351215124130249, 0.024693118408322334, 0.4613281488418579, -0.13128116726875305, 0.6300925612449646, 0.18271933495998383, -0.2688639760017395, 0.20006364583969116, 0.18471446633338928, 0.3695085048675537, 0.20553962886333466, -0.7935107350349426, -0.703478217124939, 1.3180011510849, 0.45880356431007385, 0.8773363828659058, 0.24164675176143646, 0.6273696422576904, 0.11184371262788773, 0.7986562252044678, -0.6803788542747498, 0.35528111457824707, -0.21085824072360992, -0.6344195008277893, -0.3949722349643707, -0.327314555644989, -1.1945897340774536, 0.383683979511261, -0.07125365734100342, -0.5920564532279968, 0.006711158901453018, 0.09365224093198776, -0.017357023432850838, 0.11937308311462402, -0.9136334657669067, 0.6189212799072266, -0.5338490605354309, -0.41329240798950195, -0.009301109239459038, -0.4971177875995636, 0.5330298542976379, -0.5659279227256775, 0.5623250007629395, -0.2682010233402252, -0.19883720576763153, 0.7118839025497437, 0.1057782769203186, 0.71844083070755, -0.03982683643698692, -0.5139745473861694, 0.20772893726825714, -0.014167914167046547, 0.4566771686077118, -0.11998412013053894, -0.35021236538887024, 0.0281264316290617, -0.13727697730064392, -0.9294654726982117, -0.34859001636505127, 0.7499426007270813, -0.8723279237747192, -0.7599288821220398, -0.3186197578907013, -0.9312297105789185, -0.41099071502685547, 0.10059405863285065, -0.07085063308477402, -0.2953459918498993, -0.22801101207733154, -0.11224355548620224, 0.5859965682029724, -0.5890312790870667, 0.17855150997638702, 0.6710688471794128, -0.488826721906662, -0.3634345531463623, 0.7793907523155212, 0.22868521511554718, 0.542996346950531, 0.2488749921321869, 0.35557258129119873, 0.015158658847212791, -0.6926144361495972, -0.5514166355133057, 0.505143404006958, -0.6318453550338745, 0.043656907975673676, -0.31869420409202576, 0.07742363214492798, -0.7204559445381165, -0.3903336524963379, -0.23294086754322052, -0.32372960448265076, -0.24121151864528656, 0.048912473022937775, 0.21567633748054504, 0.6644271016120911, -0.09007489681243896, 0.561262845993042, -0.6373956799507141, -0.14355377852916718, 0.0594186931848526, 0.14896035194396973, 0.06498962640762329, -1.0010807514190674, -0.5294099450111389, -0.05864467844367027, -0.2460111677646637, -0.8142601251602173, 0.30367162823677063, 0.2529265284538269, 0.710924506187439, 0.3664979338645935, -0.07546132057905197, 0.6796945929527283, -0.36689862608909607, 0.32486215233802795, 0.08070512115955353, -0.8671888709068298, 0.5785290598869324, -0.4614102244377136, 0.22830739617347717, 0.37764570116996765, 0.7415494322776794, -0.6949083805084229, 0.04743805527687073, -0.15650929510593414, -0.3970595598220825, 0.7056123614311218, -0.009113340638577938, 0.26485925912857056, 0.24866653978824615, 0.6742938160896301, 0.3356289863586426, 0.22868578135967255, -0.7844364643096924, -0.014260745607316494, 0.09307325631380081, 0.08681380748748779, -0.480643093585968, -0.3425231873989105, -0.043182406574487686, -0.20533449947834015, 0.5405386090278625, -0.3224184513092041, 0.040841467678546906, -0.4465092718601227, -0.4613145887851715, -0.14039766788482666, 0.39676663279533386, 0.49639055132865906, 0.7602341175079346, 0.030781127512454987, 0.09046272933483124, 0.6777738928794861, -0.1817781925201416, 0.47355732321739197, -0.010455056093633175, -0.01138477772474289, -0.20914657413959503, 0.5687288045883179, 0.8471424579620361, 0.11561963707208633, -0.8657302856445312, 0.25839972496032715, 0.4129183292388916, 0.051905665546655655, -0.21166080236434937, 0.07295948266983032, 0.3216126561164856, 0.06786669045686722, 0.22529935836791992, -0.3649236559867859, -0.2223607450723648, -0.8499055504798889, -0.09174396097660065, 0.3097805380821228, -0.21252653002738953, -0.3028464615345001, 0.11845555901527405, 0.26316824555397034, -0.2832350730895996, 0.3212358355522156, -0.36351799964904785, -0.4234974682331085, 0.3731115758419037, 0.6327573657035828, 0.5057566165924072, -0.578210711479187, 0.30837148427963257, 0.1574435532093048, 0.6231056451797485, -0.06535344570875168, -0.004529821220785379, 0.014119749888777733, -0.7354937791824341, -0.5043896436691284, -0.6961424350738525, -0.56414395570755, 0.09092970192432404, -0.6893776655197144, 0.4143609404563904, -0.4828251898288727, 0.05898448824882507, -0.35745254158973694, 0.20580275356769562, -0.2696116268634796, -0.08565445989370346, 0.09395086765289307, 0.9215585589408875, -1.063677191734314, 1.029058814048767, 0.9677386283874512, -0.15928828716278076, -0.42865779995918274, -0.027100520208477974, -0.10687127709388733, -1.2172722816467285, 0.5355276465415955, -0.16600200533866882, 0.21248477697372437, -0.07900933921337128, -0.470030277967453, -1.142600655555725, 0.9444788098335266, 0.8624261617660522, -0.6099563837051392, -0.07041490823030472, 0.28706473112106323, 0.7083888053894043, -0.20028334856033325, -0.07166898995637894, 0.7460564374923706, 0.3019503355026245, 0.15357975661754608, -0.8933430910110474, -0.07718350738286972, 0.06459193676710129, 0.12286414951086044, 0.22124779224395752, -0.8470185399055481, 0.6388396620750427, -0.23107655346393585, 0.03308580443263054, 0.31101980805397034, 0.5485807061195374, 0.21421688795089722, 0.08057131618261337, 0.40602603554725647, 0.286356657743454, 0.915216863155365, 0.09784182906150818, 0.8610945343971252, -0.08466597646474838, 0.21782651543617249, 1.2277920246124268, -0.6403421759605408, 0.7535121440887451, 0.5149381756782532, -0.3297581374645233, 0.2352382391691208, 0.8926659822463989, -0.0913219079375267, 0.25976231694221497, 0.7030973434448242, -0.022291768342256546, -0.1781410127878189, -0.32870203256607056, -0.33746397495269775, 0.2783317565917969, 0.3283204138278961, -0.07932337373495102, -0.17519797384738922, 0.330267071723938, 0.2778215706348419, -0.07711975276470184, -0.2738724648952484, 0.5358400344848633, 0.0013568743597716093, -0.6474067568778992, 0.9404782652854919, -0.020240992307662964, 0.6744048595428467, -0.4661967158317566, 0.4316769242286682, -0.7074633836746216, 0.24987681210041046, -0.16650108993053436, -0.6450228691101074, 0.15342772006988525, 0.26054155826568604, 0.1287030428647995, -0.17383895814418793, 0.5374714732170105, -0.285216748714447, -0.5251272320747375, 0.3455706536769867, 0.4193841516971588, 0.6893640160560608, 0.18794502317905426, -0.4156855344772339, 0.3154999315738678, 0.047649212181568146, 0.18681927025318146, 0.7102115750312805, 0.43425416946411133, -0.2751882076263428, 0.91949462890625, 0.49747800827026367, 0.14368051290512085, 0.3052562177181244, 0.028476977720856667, 0.7841426730155945, -0.4395826458930969, -0.08086561411619186, -0.38688790798187256, -0.056725047528743744, 0.21277251839637756, -0.3097134530544281, 1.0026262998580933, 0.6286997199058533, 1.0169166326522827, -0.20700229704380035, 0.7201135754585266, 0.39828482270240784, 0.23081925511360168, -0.5157720446586609, 0.5537148118019104, -0.5598060488700867, 0.4081500470638275, -0.3938361406326294, -1.0070929527282715, 0.017320657148957253, 0.4207123816013336, -0.325387567281723, 0.08474776893854141, 0.4641903042793274, 0.6454924941062927, 0.052718088030815125, -0.32817500829696655, 0.3888990879058838, 0.25632065534591675, 0.2247498780488968, 0.7805586457252502, 1.1480751037597656, -0.31035441160202026, 0.6276527047157288, -0.0032939710654318333, -0.5096070170402527, -0.3158928453922272, -0.9324541687965393, -0.8749561309814453, -0.35840150713920593, -0.387993723154068, -0.005939469672739506, 0.21749477088451385, 0.7503272294998169, 0.6186296939849854, -0.5895671844482422, -0.7794393301010132, -0.0019506115932017565, 0.05028405413031578, 0.03894627466797829, -0.08480954170227051, 0.2779467701911926, -0.4498700201511383, -0.7720147967338562, 0.34857064485549927, 0.145525261759758, 0.36681029200553894, -0.3580063581466675, -0.41052189469337463, -0.2567194402217865, 0.018249962478876114, 0.5845815539360046, 0.2796473801136017, -0.6227864027023315, -0.02037687972187996, 0.07721215486526489, 0.052456095814704895, 0.08203128725290298, 0.6838140487670898, -0.42015665769577026, 0.08435176312923431, 0.17325113713741302, 1.0010818243026733, 0.5647578239440918, -0.3223625719547272, 0.5209211707115173, -0.604795515537262, 0.2807682454586029, -0.0066945506259799, 0.25727421045303345, 0.6225506067276001, -0.006607134826481342, 0.588307797908783, 0.07882664352655411, -0.41763144731521606, -1.1290591955184937, 0.30807116627693176, -0.8225154876708984, -0.33999916911125183, 1.3939592838287354, -0.09113693982362747, -0.12231585383415222, -0.03265976533293724, -0.3124120831489563, 0.15990948677062988, -0.0016241900157183409, 0.6211167573928833, 0.8132935166358948, -0.10364656895399094, -0.26487475633621216, -0.3870464861392975, 0.18443043529987335, 0.5084518790245056, -0.9293752908706665, 0.21155814826488495, 0.19505268335342407, 0.4063011109828949, -0.033148616552352905, 0.6869364976882935, 0.11473806202411652, 0.04611891880631447, -0.25140300393104553, 0.08980216830968857, 0.26966366171836853, -0.19524964690208435, -0.8080162405967712, -0.19477306306362152, 0.6474436521530151, -0.018785493448376656 ]
http://arxiv.org/abs/2404.08685v1
http://arxiv.org/pdf/2404.08685v1
Neural Sequence-to-Sequence Modeling with Attention by Leveraging Deep Learning Architectures for Enhanced Contextual Understanding in Abstractive Text Summarization
2024-04-08T18:33:59
2024-04-08T18:33:59
Bhavith Chandra Challagundla, Chakradhar Peddavenkatagari
cs.CL
cs.CL, cs.LG
Automatic text summarization (TS) plays a pivotal role in condensing large volumes of information into concise, coherent summaries, facilitating efficient information retrieval and comprehension. This paper presents a novel framework for abstractive TS of single documents, which integrates three dominant aspects: structural, semantic, and neural-based approaches. The proposed framework merges machine learning and knowledge-based techniques to achieve a unified methodology. The framework consists of three main phases: pre-processing, machine learning, and post-processing. In the pre-processing phase, a knowledge-based Word Sense Disambiguation (WSD) technique is employed to generalize ambiguous words, enhancing content generalization. Semantic content generalization is then performed to address out-of-vocabulary (OOV) or rare words, ensuring comprehensive coverage of the input document. Subsequently, the generalized text is transformed into a continuous vector space using neural language processing techniques. A deep sequence-to-sequence (seq2seq) model with an attention mechanism is employed to predict a generalized summary based on the vector representation. In the post-processing phase, heuristic algorithms and text similarity metrics are utilized to refine the generated summary further. Concepts from the generalized summary are matched with specific entities, enhancing coherence and readability. Experimental evaluations conducted on prominent datasets, including Gigaword, Duc 2004, and CNN/DailyMail, demonstrate the effectiveness of the proposed framework. Results indicate significant improvements in handling rare and OOV words, outperforming existing state-of-the-art deep learning techniques. The proposed framework presents a comprehensive and unified approach towards abstractive TS, combining the strengths of structure, semantics, and neural-based methodologies.
[ -0.12140635401010513, -0.6627948880195618, 0.40110722184181213, 0.14037717878818512, -0.5336527824401855, 0.03552846983075142, -0.16246765851974487, -0.36204248666763306, 0.19194722175598145, 0.3151862323284149, -0.2519013285636902, -0.6679992079734802, -0.5952847003936768, 0.18076907098293304, -0.6242132782936096, 1.0110009908676147, 0.0032874091994017363, -0.23713643848896027, -0.20931856334209442, -0.25574028491973877, -0.361824631690979, -0.4298272728919983, -0.39022064208984375, -0.3138740360736847, 0.43550142645835876, 0.2509680688381195, 0.3399365544319153, 0.6940443515777588, 0.4678509533405304, 0.3375975489616394, -0.29560020565986633, 0.2593485713005066, -0.31112128496170044, 0.1614324450492859, -0.08080749958753586, -0.16372983157634735, -0.7251812815666199, -0.39871057868003845, 0.6480314135551453, 0.8260172605514526, 0.18729384243488312, 0.06895896792411804, 0.4551990032196045, 0.7542639374732971, -0.5835074782371521, 0.1922154277563095, -0.34624433517456055, 0.3024153709411621, 0.31895890831947327, -0.30802440643310547, -0.21795713901519775, -0.2800742983818054, 0.5840122103691101, -0.5936493873596191, 0.27027636766433716, -0.3459429442882538, 0.5202226638793945, 0.32425934076309204, -0.5280188322067261, -0.348227322101593, -0.420987069606781, 0.5012446045875549, -0.9679105281829834, -0.021321387961506844, 0.003184514120221138, -0.028122244402766228, 0.20936784148216248, -0.8466709852218628, -0.2683255672454834, 0.040845837444067, -0.2006501704454422, 0.4392448663711548, 0.017330322414636612, 0.19124211370944977, -0.11959432065486908, 0.5249825716018677, -0.7290493845939636, -0.024117453023791313, -0.3981563150882721, 0.06459012627601624, 0.4898132085800171, 0.13153600692749023, 0.20844249427318573, -0.12558411061763763, -0.3644050359725952, 0.27156493067741394, -0.3602941632270813, -0.02975863590836525, 0.009103369899094105, 0.37143442034721375, -0.14135737717151642, 0.5878540873527527, -0.4383055567741394, 0.633810818195343, 0.08855487406253815, 0.26677772402763367, 0.19298787415027618, -0.46162739396095276, -0.41669878363609314, 0.31122180819511414, 0.6945180296897888, 0.4973692297935486, 0.27835091948509216, -0.4287213087081909, -0.09867797791957855, -0.013411707244813442, 0.20510253310203552, -0.7654168605804443, 0.05466924607753754, 0.35955289006233215, -0.6290374398231506, -0.47640523314476013, -0.02863394282758236, -0.6663203239440918, -0.224663645029068, -0.695634663105011, 0.29208722710609436, -0.3914709985256195, -0.1441681981086731, 0.025202840566635132, -0.22815649211406708, 0.08088807761669159, 0.29292216897010803, -0.7624327540397644, 0.23532269895076752, 0.5219641923904419, 1.0664154291152954, -0.46305185556411743, -0.13662107288837433, -0.3085160255432129, 0.4105173349380493, -0.1347917914390564, 0.756648063659668, -0.16889218986034393, -0.13092000782489777, 0.011149021796882153, -0.3622058629989624, -0.0925477147102356, -0.26554352045059204, 0.31316524744033813, -0.6538987755775452, 0.32996830344200134, 0.17611585557460785, -0.6379750370979309, -0.4475022554397583, 0.5136631727218628, -0.5460376739501953, 0.5908798575401306, -0.14922192692756653, -0.7657498121261597, -0.013767276890575886, -0.8508496880531311, -0.856985867023468, -0.19295363128185272, -0.09404406696557999, -0.28652510046958923, 0.2228579968214035, 0.30587849020957947, 0.6380648016929626, -0.031036511063575745, 0.4213949143886566, 0.0019735770765691996, -0.3105781376361847, -0.04134269058704376, -0.21506211161613464, 0.42460688948631287, 0.21223263442516327, -0.2771206200122833, 0.49648359417915344, -0.8399567008018494, 0.049922455102205276, -0.09081608057022095, -0.32287541031837463, -0.3443739414215088, -0.014462318271398544, 0.0387042798101902, 0.2769306004047394, 0.24973604083061218, -0.04678260162472725, -0.060817964375019073, -0.941195547580719, 0.6543536186218262, 0.374778151512146, 0.16781248152256012, 0.8604283928871155, -0.10933161526918411, 0.29174020886421204, 0.20716989040374756, -0.3691357970237732, -0.8744685649871826, -0.1650814265012741, -0.5438699722290039, -0.0648077130317688, 0.2315382957458496, 0.6263757348060608, -0.4203486442565918, 0.5844266414642334, -0.44262343645095825, -0.03322666883468628, -0.13213098049163818, -0.12187368422746658, 0.5266963243484497, 0.7164885401725769, 0.41629692912101746, -0.24008741974830627, -0.628790557384491, -0.661304235458374, -0.31960517168045044, 0.28841713070869446, -0.11711620539426804, 0.014890356920659542, 0.36252060532569885, -0.10599221289157867, 0.9377158284187317, -0.40671610832214355, -0.5517904758453369, -0.5020490884780884, 0.43444013595581055, 0.22583217918872833, 0.5156150460243225, 0.27490973472595215, -0.9894387125968933, -0.27507591247558594, -0.021222349256277084, -1.1216870546340942, 0.2625831961631775, -0.12990766763687134, 0.0855153352022171, 0.25615447759628296, 0.6878560185432434, -0.3403366506099701, 0.6116564869880676, 0.10833897441625595, -0.37538281083106995, 0.12748651206493378, -0.34686094522476196, -0.03673044592142105, -1.4780137538909912, 0.37752196192741394, 0.05158286169171333, -0.16550388932228088, -0.6064172983169556, 0.25593340396881104, 0.1029534712433815, -0.17936579883098602, -0.29475221037864685, 0.41223999857902527, -0.4931122660636902, -0.20351450145244598, -0.5173832774162292, 0.205375075340271, 0.20138780772686005, 0.7130606174468994, 0.1585846245288849, 0.35132262110710144, 0.11413372308015823, -0.9732866883277893, 0.09811237454414368, 0.3844408690929413, -0.1332850158214569, 0.22633275389671326, -0.8912323713302612, -0.11990723758935928, -0.5080167651176453, 0.21563392877578735, -1.1365329027175903, -0.2737564444541931, 0.1772817075252533, -0.7096521854400635, 0.3055233657360077, 0.11821883916854858, -0.20040403306484222, 0.09768680483102798, -0.26705560088157654, 0.5873696804046631, 0.1880093514919281, -0.1954347938299179, 0.9113665223121643, 0.21283699572086334, -0.5939741134643555, -0.6579131484031677, -0.9562416672706604, 0.34282949566841125, 0.013385560363531113, -0.5462009906768799, 0.6612294316291809, 0.07891086488962173, -0.24509139358997345, 0.18430960178375244, -0.1874362826347351, -0.2621538043022156, 0.1429840624332428, -0.015484120696783066, 0.26434600353240967, -0.21566784381866455, 0.225211963057518, 0.33668604493141174, -0.1460617184638977, 0.03301100805401802, -0.6902859807014465, 0.420852392911911, -0.15894140303134918, 0.15851369500160217, -0.26206228137016296, 0.7214374542236328, 0.45306187868118286, -0.45072218775749207, 0.38097289204597473, 0.41455551981925964, -0.48175713419914246, 0.05983723700046539, -0.14031408727169037, -0.1250171810388565, -0.33064427971839905, 0.7353404760360718, -0.22827354073524475, -0.7338237166404724, 0.5430336594581604, 0.073545902967453, 0.3005264401435852, 0.6093040108680725, 0.5463789701461792, -0.14037171006202698, 0.8845372796058655, 0.7489558458328247, -0.33326852321624756, 0.37918493151664734, -0.3530477285385132, 0.004911978729069233, -0.7063261866569519, -0.1477658897638321, -0.2182883769273758, -0.4318453073501587, -0.12036348134279251, -0.0966479629278183, 0.14167222380638123, -0.015338851138949394, -0.18707850575447083, 0.09834175556898117, -0.5521286129951477, 0.5039682984352112, 0.3621324896812439, 0.07450965791940689, 0.6065989136695862, 0.03851411119103432, -0.19895091652870178, 0.20665214955806732, -0.6412323713302612, -0.39071840047836304, 1.1872950792312622, 0.2525739073753357, 0.29335322976112366, 0.05076028034090996, 0.5400053262710571, 0.4973812699317932, 0.22407573461532593, -0.8826265335083008, 0.34533584117889404, -0.159797802567482, -0.25562936067581177, -0.4154929518699646, -0.33898475766181946, -0.7042280435562134, 0.42203518748283386, 0.009337837807834148, -0.4875084161758423, 0.12252764403820038, 0.1734185665845871, -0.586703896522522, -0.008352824486792088, -0.6985740661621094, 0.7472872734069824, -0.1596660315990448, -0.2937842309474945, -0.2905997335910797, -0.9252185225486755, 0.5294772386550903, 0.15770122408866882, 0.1002948060631752, 0.14278052747249603, -0.26921191811561584, 0.5304773449897766, -0.1575327217578888, 0.7735217213630676, 0.15228642523288727, -0.1449594795703888, 0.11743644624948502, -0.33359119296073914, 0.43346062302589417, 0.05551654472947121, -0.01717122085392475, -0.031061628833413124, -0.2947886288166046, -0.2876570522785187, -0.4753279685974121, 0.5693826675415039, -0.4594029188156128, -0.16266055405139923, -0.47687190771102905, -0.6933051943778992, -0.09747114777565002, 0.5582071542739868, 0.5089266300201416, 0.6880863904953003, -0.4309203028678894, -0.005132220685482025, 0.9167131185531616, -0.075738824903965, 0.7404559254646301, 0.32252275943756104, -0.030118122696876526, -0.6302053928375244, 0.7343711853027344, 0.034964434802532196, 0.03294316679239273, 0.8124814033508301, -0.10074494779109955, -0.32915523648262024, -0.7800691723823547, -0.3644782602787018, -0.1954318881034851, -0.684797465801239, -0.17430046200752258, -1.0333263874053955, -0.2565663158893585, -0.7570779323577881, -0.12840871512889862, 0.07042728364467621, -0.5072292685508728, -0.4146665930747986, -0.13362880051136017, -0.06435847282409668, 0.6068747043609619, 0.2616260349750519, 0.1204073503613472, -0.8844597935676575, 0.7640281915664673, 0.0975281149148941, 0.30397921800613403, 0.25089678168296814, -0.7312954664230347, -0.29953843355178833, -0.08104979246854782, -0.09894797950983047, -0.7138787508010864, 0.5845018029212952, 0.38777685165405273, 0.19686289131641388, 0.4209621250629425, 0.23108235001564026, 0.347470760345459, -0.4621114134788513, 0.39641931653022766, 0.1879025250673294, -0.8044581413269043, 0.6228211522102356, -0.6048542261123657, 0.8008779287338257, 0.5990814566612244, 0.15576009452342987, -0.5219505429267883, -0.31955957412719727, -0.40158334374427795, -1.2572295665740967, 0.6938329339027405, 0.2526044249534607, 0.03510944917798042, 0.08070264011621475, 0.34841713309288025, -0.024767253547906876, 0.4479341506958008, -0.5985237956047058, -0.24390514194965363, -0.2975379526615143, -0.682462215423584, -0.15490341186523438, -0.2913108468055725, 0.06377531588077545, -0.1071431040763855, 0.5941026210784912, -0.2925910949707031, 0.24492335319519043, 0.489279568195343, -0.5881054401397705, 0.2895559072494507, 0.432935893535614, 0.814561665058136, 0.7061489224433899, -0.23632557690143585, -0.04370979592204094, 0.02198067121207714, -0.46185773611068726, -0.07325108349323273, 0.42929792404174805, -0.4032742977142334, 0.13248267769813538, 0.3734706938266754, 0.5173359513282776, 0.43760186433792114, -0.6041722297668457, 0.5217844843864441, -0.2000657320022583, -0.37395963072776794, -0.3793197274208069, -0.2609061896800995, 0.027591804042458534, 0.16084009408950806, 0.49360325932502747, 0.3598555326461792, 0.6147304177284241, -0.44008538126945496, 0.21587449312210083, 0.07039064168930054, -0.37852397561073303, -0.24019013345241547, 0.5879356861114502, 0.555863082408905, 0.030915331095457077, 0.3005865812301636, -0.06274539977312088, -0.4326552152633667, 0.7984876036643982, 0.3843856155872345, 1.1118659973144531, 0.1284935027360916, -0.0288897342979908, 0.3524807095527649, 0.0835704579949379, 0.02392543852329254, 0.1790943443775177, -0.41785040497779846, -0.42589956521987915, -0.5896961688995361, -0.3199198842048645, -0.12860016524791718, 0.09066272526979446, -0.6564469933509827, -0.08648214489221573, -0.4885706901550293, 0.2048613727092743, 0.10072419792413712, -0.23171548545360565, -0.33002862334251404, 0.35739895701408386, 0.15537813305854797, 0.8966916799545288, -0.40507128834724426, 0.5074472427368164, 0.7487041354179382, -0.4708724319934845, -0.4218015968799591, 0.26023414731025696, -0.027243778109550476, -0.4014604091644287, 0.39145344495773315, 0.4412139058113098, -0.03219005465507507, 0.2722415030002594, -0.0719500258564949, -0.757922887802124, 1.049259901046753, 0.058567967265844345, -0.5949167609214783, -0.44205087423324585, 0.08591881394386292, 0.506791889667511, -0.3543604612350464, 0.19898204505443573, 0.409177303314209, 0.23810414969921112, 0.23102115094661713, -0.39647868275642395, -0.016476236283779144, -0.6132378578186035, -0.018778951838612556, 0.21635060012340546, -0.3696540594100952, 0.48859432339668274, -0.4234243631362915, -0.12994767725467682, 0.18887510895729065, 1.0290061235427856, -0.04538552463054657, 0.5641288757324219, 0.1364164650440216, 0.6468507647514343, 0.6454401612281799, 0.09052733331918716, 0.8372337222099304, -0.4569559693336487, 0.07475043833255768, 1.4720046520233154, -0.04432031884789467, 0.6879193186759949, 0.31255102157592773, 0.3039511442184448, 0.18267466127872467, 0.38490280508995056, 0.18124723434448242, 0.6696392297744751, 0.09155086427927017, -0.2917444705963135, 0.15669052302837372, -0.000687930267304182, -0.42162853479385376, 0.26763734221458435, 0.30591943860054016, -0.8494147062301636, -0.3163907825946808, 0.10988033562898636, -0.2741684317588806, 0.2815832495689392, -0.6755945682525635, 1.2686501741409302, 0.209263414144516, -0.8614141345024109, 0.227250337600708, 0.12733061611652374, 0.751020073890686, -0.559249222278595, 0.06566626578569412, -0.20735755562782288, 0.5078184008598328, -0.3008771240711212, -0.5201501250267029, 0.4936119019985199, 0.07236489653587341, -0.6512279510498047, -0.2553726136684418, 0.9622867703437805, -0.581667423248291, -0.5082922577857971, 0.008296008221805096, 0.31041574478149414, -0.21860794723033905, -0.39646586775779724, -0.4513040781021118, -0.3816237449645996, -0.1086089015007019, -0.2059955894947052, 0.27361923456192017, 0.5353175401687622, 0.15101616084575653, 0.3019929826259613, 0.26670587062835693, -0.13411085307598114, -0.25697413086891174, 0.22438669204711914, 0.7176467776298523, -0.7631690502166748, -1.047404408454895, -0.9364709258079529, 0.6709147095680237, -0.24948182702064514, -0.37966373562812805, 0.5871753096580505, 0.6677839159965515, 0.46557584404945374, -0.03249650076031685, 1.072677493095398, 0.09921733289957047, 0.45876631140708923, -0.4946710765361786, 0.8528289198875427, -0.3842400312423706, 0.17222681641578674, -0.25939512252807617, -0.7534765005111694, -0.47146257758140564, 0.40606123208999634, -0.1956723928451538, -0.024602804332971573, 0.5956375002861023, 0.28109902143478394, -0.022001294419169426, 0.061217837035655975, 0.14067599177360535, 0.08076377213001251, 0.030561745166778564, 0.5790336728096008, 0.5393736958503723, -0.5479834079742432, 0.7060897946357727, 0.13107506930828094, -0.17450366914272308, -0.20313335955142975, -0.850084125995636, -1.050930142402649, -0.5474295616149902, -0.2794475555419922, -0.16747726500034332, 0.2831787168979645, 0.870150089263916, 0.4546346068382263, -0.8688728213310242, 0.054397109895944595, -0.5103999972343445, 0.04542338848114014, -0.09360764175653458, -0.21514639258384705, 0.568778395652771, -0.6311950087547302, -0.5890378355979919, 0.19302628934383392, 0.49449339509010315, 0.15584710240364075, 0.040750280022621155, 0.10284097492694855, -0.15313535928726196, -0.09788674116134644, 0.8487873077392578, 0.33012229204177856, -0.47388389706611633, 0.3325476050376892, 0.0009899016004055738, -0.20210009813308716, 0.033206384629011154, 0.7768092751502991, -0.8566725254058838, 0.21482576429843903, 0.6697648763656616, 0.9845802187919617, 0.3481466770172119, 0.12220504879951477, 0.91937255859375, -0.8640843629837036, 0.1396314799785614, 0.5567173361778259, 0.24793922901153564, 0.18722423911094666, -0.46294769644737244, 0.3602997660636902, -0.0020004159305244684, -0.18524664640426636, -0.41730526089668274, 0.09535643458366394, -0.8770447373390198, -0.5194300413131714, 0.8489518761634827, -0.19674141705036163, -0.062308210879564285, -0.19110795855522156, -0.0775795504450798, 0.49190881848335266, -0.49060913920402527, 0.9111586809158325, 0.3904964327812195, 0.12863442301750183, -0.17544502019882202, -0.08312945067882538, 0.41753607988357544, 0.48556891083717346, -0.9363560080528259, 0.023933637887239456, 0.47190165519714355, -0.04651337489485741, 0.13150407373905182, 0.5037239789962769, -0.15017352998256683, 0.3878132700920105, -0.5310912728309631, -0.05525975301861763, -0.5000384449958801, -0.2735946774482727, -0.7327377200126648, 0.4490455687046051, -0.5678379535675049, -0.17129722237586975 ]
http://arxiv.org/abs/2404.05720v1
http://arxiv.org/pdf/2404.05720v1
Language-Independent Representations Improve Zero-Shot Summarization
2024-04-08T17:56:43
2024-04-08T17:56:43
Vladimir Solovyev, Danni Liu, Jan Niehues
cs.CL
cs.CL, cs.AI
Finetuning pretrained models on downstream generation tasks often leads to catastrophic forgetting in zero-shot conditions. In this work, we focus on summarization and tackle the problem through the lens of language-independent representations. After training on monolingual summarization, we perform zero-shot transfer to new languages or language pairs. We first show naively finetuned models are highly language-specific in both output behavior and internal representations, resulting in poor zero-shot performance. Next, we propose query-key (QK) finetuning to decouple task-specific knowledge from the pretrained language generation abilities. Then, after showing downsides of the standard adversarial language classifier, we propose a balanced variant that more directly enforces language-agnostic representations. Moreover, our qualitative analyses show removing source language identity correlates to zero-shot summarization performance. Our code is openly available.
[ -0.25406983494758606, -0.345517098903656, 0.2626155614852905, 0.09492148458957672, -0.2584526538848877, 0.2647605538368225, -0.4343065321445465, -0.19781838357448578, 0.2815072238445282, 0.4190698266029358, -0.3403123915195465, -0.33171266317367554, -0.6873401999473572, 0.048438046127557755, -0.38092687726020813, 1.425045132637024, 0.04248818755149841, -0.03873277083039284, -0.14548546075820923, -0.4048028588294983, -0.4667990505695343, -0.39257532358169556, -0.6848816275596619, -0.41075167059898376, 0.5643776655197144, 0.3397848904132843, 0.4124743938446045, 0.5517130494117737, 0.15875869989395142, 0.23110929131507874, 0.2489849328994751, -0.2127877175807953, -0.9553957581520081, 0.20022134482860565, -0.26347246766090393, -0.6444860696792603, -0.2647080421447754, -0.12691153585910797, 0.7790609002113342, 0.8385733962059021, 0.06220487132668495, 0.08230935037136078, 0.13705319166183472, 0.6818393468856812, -0.9674376845359802, 0.4306561052799225, -0.7313075661659241, 0.04275728762149811, -0.04629970341920853, -0.24498046934604645, -0.39794689416885376, -0.011644603684544563, -0.12329808622598648, -0.5588671565055847, 0.5498684048652649, -0.6137798428535461, 0.7206259369850159, 0.2682546079158783, -0.3734697103500366, -0.04018937423825264, -0.8481495976448059, 0.6475595235824585, -0.6466166377067566, 0.10345139354467392, 0.22667807340621948, 0.25175219774246216, 0.31578245759010315, -0.3432900011539459, -0.26737016439437866, -0.12176117300987244, -0.09948871284723282, 0.4709013104438782, -0.09874004870653152, 0.13037844002246857, 0.06690255552530289, 0.5361936092376709, -0.5256898999214172, -0.01843947172164917, -0.5109483599662781, -0.11402435600757599, 0.7642378807067871, 0.08028332889080048, 0.146950826048851, -0.113443523645401, 0.06486357003450394, 0.03820972517132759, -0.7683264017105103, 0.08934663236141205, 0.1560765951871872, 0.6276128888130188, -0.14058473706245422, 0.5053229331970215, -0.5579088926315308, 0.4201951324939728, 0.29733434319496155, 0.18846963346004486, -0.07867511361837387, -0.2968585789203644, -0.23121920228004456, 0.2730656862258911, 0.9400684237480164, 0.11489934474229813, 0.4551640748977661, -0.4436085522174835, -0.03727026283740997, -0.05881526321172714, 0.13353337347507477, -0.8473931550979614, -0.3372645080089569, 0.15252748131752014, -0.046608638018369675, -0.25896984338760376, 0.007012616842985153, -0.20984987914562225, -0.3387495279312134, -0.16512060165405273, 0.6463137865066528, -0.5473711490631104, -0.3310592770576477, 0.07342690229415894, -0.2733513116836548, 0.15877678990364075, 0.2953871488571167, -1.0453532934188843, 0.12350285053253174, 0.27046963572502136, 0.7058498859405518, 0.09160639345645905, -0.3826166093349457, -0.6097500920295715, 0.369349867105484, -0.46811941266059875, 0.6212002038955688, -0.08284261077642441, -0.2772201895713806, -0.042743485420942307, 0.006468807812780142, 0.07870274782180786, -0.3923512101173401, -0.11202677339315414, -0.3906902074813843, 0.316329687833786, -0.35534754395484924, -0.5606064796447754, -0.2700551152229309, 0.1331234872341156, -0.4864126741886139, 0.2953195869922638, 0.2045835256576538, -0.5344644784927368, 0.34049397706985474, -0.37226638197898865, -0.5797749161720276, 0.15226493775844574, -0.48273512721061707, -0.26902949810028076, 0.43704941868782043, 0.31578823924064636, 0.5914738774299622, 0.11555255204439163, 0.171638622879982, -0.18035006523132324, -0.438775897026062, -0.1777391880750656, -0.43998846411705017, 0.7797154784202576, 0.10855026543140411, -0.21893666684627533, 0.09245623648166656, -0.7743752002716064, -0.08969226479530334, 0.3484961986541748, -0.1774965524673462, -0.4333900511264801, -0.15714006125926971, -0.33954423666000366, -0.09986306726932526, 0.27077552676200867, -0.39921337366104126, 0.2977362275123596, -0.601095974445343, 0.056662846356630325, 0.45242446660995483, 0.21993374824523926, 0.8666642308235168, -0.23608025908470154, 0.5808603167533875, 0.22481516003608704, -0.40654006600379944, -0.7718709707260132, 0.01727437414228916, -0.8161581158638, -0.1437571942806244, 0.31976407766342163, 0.5016040802001953, -1.0205415487289429, -0.042577650398015976, -0.2646312117576599, -0.28628286719322205, -0.551706850528717, 0.17281995713710785, 0.5975637435913086, 0.3619706928730011, 0.2589213252067566, -0.35545456409454346, -0.4204019606113434, -0.736301064491272, -0.3859718441963196, 0.019623195752501488, -0.08475429564714432, -0.28684574365615845, 0.21742920577526093, 0.1734905242919922, 0.7816213965415955, -0.5940317511558533, -0.4011556804180145, -0.6563854217529297, 0.3617141842842102, 0.04898194596171379, 0.5384143590927124, 0.8416773676872253, -0.25191688537597656, -0.6925938725471497, 0.016222111880779266, -1.0134111642837524, 0.10905288904905319, -0.4692792296409607, 0.08002249151468277, 0.26816096901893616, 0.48427945375442505, -0.6043140292167664, 0.32052096724510193, 0.23424500226974487, -0.1915297657251358, 0.41652432084083557, -0.3905235230922699, 0.12997685372829437, -0.9917212128639221, 0.11487314850091934, -0.16172944009304047, -0.4936203956604004, -0.6644332408905029, 0.32913464307785034, 0.10992724448442459, -0.3558451533317566, -0.40959447622299194, 0.38416242599487305, -0.6959589719772339, 0.14788465201854706, -0.33397457003593445, 0.13019415736198425, 0.03745114058256149, 0.7253639698028564, 0.039828453212976456, 0.6153196096420288, 0.7916022539138794, -0.6573069095611572, -0.1036255955696106, 0.11972469836473465, 0.028709612786769867, 0.3132673501968384, -0.5557054281234741, -0.14064791798591614, -0.6823495030403137, -0.022427596151828766, -0.7859228849411011, -0.3415440022945404, 0.08167582750320435, -0.6692032217979431, 0.8693600296974182, -0.27142056822776794, -0.07934276759624481, 0.1237647607922554, -0.49775874614715576, 0.2871948480606079, 0.46605876088142395, -0.15879258513450623, 0.27576616406440735, 0.1974722146987915, -0.3603120446205139, -0.6982135772705078, -0.9014049768447876, -0.10237018018960953, 0.1324007362127304, -0.14625512063503265, 0.24848036468029022, 0.1776677519083023, 0.016547271981835365, 0.20012925565242767, -0.22537192702293396, -0.03926429897546768, 0.0445525236427784, 0.04476388171315193, -0.005941870156675577, -0.3865208029747009, 0.08643341809511185, 0.10973212122917175, -0.20763231813907623, -0.1420038491487503, -0.19871549308300018, 0.39600351452827454, 0.017691053450107574, -0.20806899666786194, -0.16220778226852417, 0.7066400647163391, 0.6239538192749023, -0.4355848729610443, 0.7096791863441467, 0.5522550940513611, -0.27119606733322144, -0.1800457239151001, -0.30486223101615906, -0.010583898052573204, -0.3883938193321228, 0.5898381471633911, -0.2018142193555832, -0.9345732927322388, 0.7890757322311401, 0.334247887134552, 0.21189817786216736, 0.6594969630241394, 0.4745386242866516, -0.14524126052856445, 0.8523346185684204, 0.9559178948402405, -0.3061745762825012, 0.5978342890739441, -0.5928953886032104, 0.14165134727954865, -0.5375695824623108, 0.1496611088514328, -0.10403569042682648, -0.2028590440750122, -0.40183237195014954, -0.08961407840251923, 0.23464249074459076, 0.44625699520111084, -0.28272733092308044, 0.34236109256744385, -0.30506640672683716, 0.7809271812438965, 0.4777313470840454, -0.15729200839996338, 0.33751556277275085, 0.054906781762838364, 0.11084805428981781, 0.10922934114933014, -0.9146683216094971, -0.07034959644079208, 1.1878852844238281, -0.0772186890244484, 0.6130818128585815, 0.06368761509656906, 1.2215639352798462, 0.15112322568893433, 0.27076664566993713, -0.7526153922080994, 0.4024137556552887, -0.5088854432106018, -0.49096423387527466, -0.15234375, -0.6691787838935852, -0.9079090356826782, 0.25549980998039246, 0.024900950491428375, -0.595897376537323, 0.10972348600625992, 0.2077171504497528, -0.8369611501693726, 0.21829472482204437, -0.8620959520339966, 0.8808839917182922, -0.035869549959897995, -0.3478074371814728, -0.24284423887729645, -0.41066089272499084, 0.5852486491203308, 0.19068486988544464, -0.1365537941455841, -0.10392943769693375, 0.2829381823539734, 0.4290086030960083, -0.3664073348045349, 0.8244652152061462, -0.31945085525512695, 0.10103589296340942, 0.45933786034584045, 0.2996697425842285, 0.18548710644245148, 0.08722003549337387, 0.17254243791103363, 0.044592443853616714, 0.0597291961312294, -0.421006441116333, -0.5728733539581299, 0.7473572492599487, -0.689132809638977, -0.5671025514602661, -0.3807987868785858, -0.5233484506607056, -0.2134426385164261, 0.4157097041606903, 0.584336519241333, 0.44391438364982605, -0.4114435911178589, 0.17366456985473633, 0.4898889362812042, -0.1086597591638565, 0.7097566723823547, 0.6649575233459473, -0.2776804566383362, -0.3300653100013733, 1.1359398365020752, 0.5041990280151367, 0.3552027940750122, 0.508127748966217, -0.024807121604681015, -0.035631585866212845, -0.5781913995742798, -0.5515799522399902, 0.15542221069335938, -0.7176680564880371, -0.38786351680755615, -0.4897822141647339, -0.4309815764427185, -0.5701622366905212, -0.32298338413238525, -0.5813978910446167, -0.7322854399681091, -0.39305299520492554, -0.07144325971603394, 0.2088606357574463, 0.6545507311820984, -0.22566205263137817, 0.33958882093429565, -0.865172803401947, 0.6030484437942505, 0.3877217173576355, 0.27042195200920105, 0.081341452896595, -0.42599552869796753, -0.5639380216598511, 0.0016653607599437237, -0.36774179339408875, -0.8131649494171143, 0.34375, 0.5266388654708862, 0.5487214922904968, 0.4715954661369324, 0.2154131382703781, 0.8014448881149292, -0.3607300817966461, 0.7070568799972534, 0.4463638663291931, -0.8657344579696655, 0.48111146688461304, -0.6091362833976746, 0.9777253270149231, 0.8110504150390625, 0.38004544377326965, -0.5413163304328918, -0.8713642358779907, -0.5010879039764404, -0.7678161263465881, 0.9198791980743408, 0.17684036493301392, 0.19316479563713074, -0.044261593371629715, 0.3408125340938568, 0.17525343596935272, 0.15514053404331207, -0.8249534964561462, -0.2714439928531647, -0.4479205012321472, -0.2755226492881775, -0.33594465255737305, -0.1984221637248993, 0.10275153815746307, -0.2610476613044739, 0.49725645780563354, -0.21186910569667816, 0.2151569426059723, 0.22760510444641113, -0.398897260427475, -0.12212879210710526, 0.2949298918247223, 0.500956118106842, 0.3526509404182434, -0.12291046231985092, 0.14198793470859528, -0.03584665060043335, -0.3403463363647461, 0.18992920219898224, 0.12853659689426422, -0.5085753202438354, 0.0929744765162468, 0.5169782638549805, 0.6862918734550476, 0.2620149552822113, -0.40107738971710205, 0.560735285282135, -0.061222076416015625, -0.17594094574451447, -0.06810169667005539, 0.2094862163066864, 0.08968131989240646, 0.004993679467588663, 0.33322635293006897, 0.3615264296531677, 0.09531407058238983, -0.6774206161499023, 0.1571846902370453, 0.35321909189224243, -0.3183894753456116, -0.510216236114502, 0.6928516626358032, 0.15058566629886627, 0.18511635065078735, 0.26801568269729614, -0.6857442259788513, -0.2484852522611618, 0.4511352479457855, 0.38068127632141113, 1.1864449977874756, -0.3666492700576782, 0.23311345279216766, 0.5421996712684631, 0.1748696267604828, 0.04701625928282738, 0.2000414878129959, -0.36607837677001953, -0.647783100605011, -0.662577748298645, -0.31251633167266846, -0.1872229278087616, 0.00527595542371273, -0.7432960867881775, 0.2308320552110672, -0.48755353689193726, 0.09393471479415894, -0.155427485704422, -0.039510805159807205, -0.6542758345603943, -0.0908830314874649, 0.2813781499862671, 0.42756208777427673, -0.6029955744743347, 0.7476227283477783, 0.5855700373649597, -0.863041877746582, -0.6285709142684937, -0.1092785969376564, 0.027043579146265984, -0.5710040926933289, 0.2928124666213989, 0.025825902819633484, -0.18594834208488464, 0.006249038968235254, -0.3343014419078827, -0.7056313157081604, 0.9487338662147522, 0.8725115060806274, -0.5360501408576965, -0.09086944162845612, 0.1711931675672531, 0.42810899019241333, -0.21166802942752838, 0.10666082799434662, 0.38934585452079773, -0.16190864145755768, -0.028980204835534096, -0.7826414108276367, -0.19784210622310638, -0.06745656579732895, -0.16591855883598328, 0.1861208826303482, -0.5819370746612549, 0.923055112361908, -0.2794409990310669, -0.586323618888855, -0.08635002374649048, 0.6459493637084961, -0.1318821758031845, 0.23568788170814514, -0.1391276717185974, 0.5907658338546753, 0.4572291970252991, -0.020622050389647484, 1.0027540922164917, -0.36511683464050293, 0.3666756749153137, 1.6802164316177368, 0.06702449917793274, 0.7588284015655518, 0.2920827269554138, 0.0726720318198204, 0.1634034663438797, 0.05454317107796669, 0.3226657211780548, 0.8117251992225647, -0.14813102781772614, -0.45948657393455505, -0.10750208795070648, 0.115195132791996, -0.4049074351787567, 0.6899407505989075, 0.11735038459300995, -0.3385040760040283, -0.8573237061500549, 0.15182806551456451, 0.12271229177713394, 0.12398795038461685, -0.6229147911071777, 1.1223423480987549, 0.019371984526515007, -0.7714986205101013, 0.9299443960189819, -0.08416830748319626, 0.6086080074310303, -0.8641713261604309, 0.05768296495079994, -0.5808626413345337, 0.299965500831604, -0.16013333201408386, -0.6005443334579468, 0.6505447626113892, 0.06270533800125122, -0.3012358546257019, -0.4248802363872528, 0.7538198828697205, -0.841823399066925, -0.3787236511707306, 0.04920501634478569, 0.6371662020683289, 0.040990374982357025, -0.4600362181663513, -0.27965542674064636, -0.25696665048599243, 0.2481432408094406, -0.027060816064476967, 0.44512805342674255, 0.5771850943565369, 0.07563818246126175, 0.39789411425590515, 0.2493099719285965, 0.1663978397846222, 0.160946786403656, 0.3012875020503998, 0.7590206265449524, -0.7227969169616699, -0.5206750631332397, -0.9118945598602295, 0.5371474027633667, 0.14102569222450256, -0.1790752410888672, 0.754833459854126, 0.5315913558006287, 0.9354050159454346, -0.4162932336330414, 0.8472893238067627, -0.06258741766214371, 0.09206422418355942, -0.3946762681007385, 1.2941431999206543, -0.45609235763549805, -0.10335104912519455, -0.07507243752479553, -0.6270022392272949, -0.5282770395278931, 0.429530531167984, -0.10749980807304382, -0.20781469345092773, 0.44799014925956726, 0.5262159109115601, -0.07920466363430023, -0.3483024835586548, 0.6242187023162842, 0.16825571656227112, 0.27173739671707153, 0.765131950378418, 0.6558383107185364, -0.564886748790741, 0.6074225306510925, -0.39385706186294556, -0.12695445120334625, -0.08365491032600403, -0.8572553396224976, -0.8100131154060364, -0.5406244993209839, -0.6298385262489319, 0.2067662924528122, -0.06910470128059387, 0.5643529891967773, 0.6560593843460083, -0.866412341594696, -0.2905830144882202, -0.2953498363494873, 0.11865682154893875, -0.2162463217973709, -0.23960088193416595, 0.10251002013683319, -0.8123285174369812, -0.4460361897945404, 0.380787193775177, 0.5413516759872437, 0.21963824331760406, -0.45209717750549316, 0.029605600982904434, 0.1094883382320404, -0.023358700796961784, 0.8126505613327026, 0.6837143898010254, -0.4080701768398285, -0.0830128863453865, -0.2440165877342224, 0.055887620896101, 0.13230259716510773, 0.8623089790344238, -0.9426737427711487, 0.6804262399673462, 0.5467691421508789, 0.5906409621238708, 0.4807588458061218, -0.26025766134262085, 0.7389421463012695, -1.1868672370910645, 0.4202471375465393, 0.3371484577655792, 0.4208579957485199, 0.3163324296474457, -0.332402765750885, 0.1502489447593689, 0.04394108057022095, -0.15112493932247162, -0.4801941514015198, 0.14760777354240417, -0.8971835970878601, -0.2659244239330292, 0.6653775572776794, -0.3368968069553375, -0.16015617549419403, 0.07106795907020569, 0.00024685118114575744, 0.46913692355155945, -0.2829725742340088, 0.6792212724685669, 0.6269465088844299, -0.05730351060628891, -0.4184613525867462, -0.34028294682502747, 0.4569947421550751, 0.4006333649158478, -0.44111230969429016, 0.28838902711868286, 0.47059768438339233, 0.32897478342056274, 0.22389662265777588, 0.9902649521827698, -0.25018686056137085, 0.3591804802417755, 0.08905156701803207, 0.2741313576698303, -0.3172917366027832, -0.2672129273414612, -0.6328158974647522, 0.3962235748767853, 0.12648607790470123, -0.302912175655365 ]
http://arxiv.org/abs/2404.05719v1
http://arxiv.org/pdf/2404.05719v1
Ferret-UI: Grounded Mobile UI Understanding with Multimodal LLMs
2024-04-08T17:55:44
2024-04-08T17:55:44
Keen You, Haotian Zhang, Eldon Schoop, Floris Weers, Amanda Swearngin, Jeffrey Nichols, Yinfei Yang, Zhe Gan
cs.CV
cs.CV, cs.CL, cs.HC
Recent advancements in multimodal large language models (MLLMs) have been noteworthy, yet, these general-domain MLLMs often fall short in their ability to comprehend and interact effectively with user interface (UI) screens. In this paper, we present Ferret-UI, a new MLLM tailored for enhanced understanding of mobile UI screens, equipped with referring, grounding, and reasoning capabilities. Given that UI screens typically exhibit a more elongated aspect ratio and contain smaller objects of interest (e.g., icons, texts) than natural images, we incorporate "any resolution" on top of Ferret to magnify details and leverage enhanced visual features. Specifically, each screen is divided into 2 sub-images based on the original aspect ratio (i.e., horizontal division for portrait screens and vertical division for landscape screens). Both sub-images are encoded separately before being sent to LLMs. We meticulously gather training samples from an extensive range of elementary UI tasks, such as icon recognition, find text, and widget listing. These samples are formatted for instruction-following with region annotations to facilitate precise referring and grounding. To augment the model's reasoning ability, we further compile a dataset for advanced tasks, including detailed description, perception/interaction conversations, and function inference. After training on the curated datasets, Ferret-UI exhibits outstanding comprehension of UI screens and the capability to execute open-ended instructions. For model evaluation, we establish a comprehensive benchmark encompassing all the aforementioned tasks. Ferret-UI excels not only beyond most open-source UI MLLMs, but also surpasses GPT-4V on all the elementary UI tasks.
[ -0.5731778144836426, -0.6742055416107178, 0.5696855783462524, 0.25661152601242065, -0.1710198074579239, 0.15899376571178436, -0.2183789759874344, -0.16927126049995422, 0.12388263642787933, 0.45904257893562317, -0.6721075773239136, -0.5382121801376343, -0.0004202386480756104, -0.06454308331012726, -0.11160371452569962, 0.7660306692123413, 0.037988513708114624, -0.12564964592456818, -0.7037273645401001, -0.15727120637893677, -0.42238447070121765, -0.5290052890777588, -0.12962694466114044, -0.47532472014427185, 0.48903581500053406, 0.7092223763465881, 0.9581140279769897, 0.4291844666004181, 0.2544243037700653, 0.2756403982639313, 0.024261070415377617, 0.41102316975593567, -0.5482067465782166, 0.13842783868312836, -0.21482792496681213, -0.21374571323394775, -0.38474634289741516, 0.1628909707069397, 0.4554147720336914, 0.5111884474754333, 0.22979916632175446, 0.05285981297492981, -0.04131055995821953, 0.6136108040809631, -0.5803301334381104, 0.13053618371486664, -0.5986670851707458, 0.07383347302675247, 0.1558304727077484, -0.13014379143714905, -0.5096216201782227, 0.17998206615447998, -0.23075732588768005, -1.0656059980392456, 0.07425971329212189, 0.15043587982654572, 0.7803253531455994, 0.35969260334968567, -0.850269079208374, 0.008640198037028313, -0.3917340338230133, 0.8827657103538513, -0.26889947056770325, 0.8015066981315613, 0.39839911460876465, 0.24900266528129578, -0.3784100115299225, -0.7251800298690796, -0.6607896685600281, -0.5482173562049866, -0.00671541178599, 0.03230159357190132, 0.16482992470264435, 0.2294941544532776, 0.4243224561214447, 0.5325961112976074, -0.4871068298816681, -0.20758585631847382, -0.1079767718911171, -0.4576086699962616, 0.44311192631721497, 0.15367281436920166, 0.4323231279850006, -0.014591849409043789, -0.5012351274490356, 0.18239864706993103, -0.5839805006980896, 0.38808685541152954, -0.09339488297700882, -0.07432026416063309, -0.27591389417648315, 0.7292953133583069, -0.4754841923713684, 0.65337073802948, 0.26439276337623596, -0.30648791790008545, 0.43027397990226746, -0.5021885633468628, -0.2870038151741028, -0.37791678309440613, 0.6759291291236877, 0.6676455140113831, 0.108831986784935, -0.2574617862701416, 0.014524392783641815, -0.11077772080898285, 0.2617776691913605, -0.738211452960968, -0.2654426097869873, 0.2113957405090332, -0.6110592484474182, -0.378121942281723, -0.27322039008140564, -0.4971481263637543, -0.8479099273681641, -0.4973011910915375, 0.13035568594932556, -0.3165655732154846, -0.40004515647888184, -0.12310049682855606, -0.008570676669478416, 0.33549752831459045, 0.6787776947021484, -0.9207932949066162, 0.07957292348146439, 0.44815701246261597, 0.7441633343696594, -0.19385428726673126, -0.24513423442840576, -0.8544142246246338, -0.04942169785499573, -0.2729989290237427, 0.752299427986145, -0.5472596883773804, -0.33235546946525574, -0.37951743602752686, 0.03238469734787941, -0.21480195224285126, -0.12885773181915283, 0.7202345728874207, -0.2479788362979889, -0.006267474964261055, -0.016564853489398956, -0.1059110164642334, -0.5154257416725159, 0.44854283332824707, -0.5143822431564331, 1.1029878854751587, 0.12742450833320618, -0.9145973324775696, 0.14868570864200592, -0.5493109226226807, -0.39757609367370605, -0.09352002292871475, -0.3541874289512634, -0.13219203054904938, 0.17349471151828766, 0.4502424895763397, 0.5515326857566833, -0.16593027114868164, 0.05674191191792488, -0.49890002608299255, -0.37362879514694214, 0.1848917156457901, -0.43133628368377686, 0.5427021980285645, 0.2665044069290161, -0.3621334433555603, 0.3477318584918976, -0.8198413252830505, 0.3632194697856903, -0.13062992691993713, -0.3074949383735657, -0.2756524384021759, 0.10175689309835434, 0.21098554134368896, 0.5332574248313904, 0.22958464920520782, -0.5137836337089539, 0.1344144642353058, -0.1076277419924736, 0.6142764687538147, 0.3652327060699463, -0.31051966547966003, 0.8523519039154053, -0.2375137060880661, 0.4424078166484833, -0.01782308518886566, 0.20528092980384827, -0.6894513964653015, -0.4477052390575409, -0.7072044014930725, -0.5188865065574646, 0.12462660670280457, 0.6142457723617554, -0.9972221255302429, 0.0462370440363884, -0.4645850658416748, -0.34165439009666443, -0.09364209324121475, 0.2515728175640106, 0.2784540057182312, 0.6271724700927734, 0.24068918824195862, 0.026467587798833847, -0.25747448205947876, -0.7263661026954651, 0.005785476882010698, -0.09489233791828156, -0.2105388194322586, 0.5393363833427429, 0.5382990837097168, -0.5468538403511047, 1.1260101795196533, 0.01357139740139246, -0.1585995852947235, -0.22181297838687897, -0.008190435357391834, 0.24962806701660156, 0.4573113024234772, 0.5262822508811951, -0.9905520081520081, -0.35334664583206177, 0.5408638119697571, -0.8603276014328003, -0.13080917298793793, -0.4406718313694, -0.20791785418987274, -0.06828545778989792, 0.4090930223464966, -0.8663220405578613, 0.58079993724823, 0.4388916492462158, -0.632962703704834, 0.6114612817764282, -0.06438332796096802, 0.2685313820838928, -0.8598492741584778, 0.01142113097012043, 0.0971946269273758, -0.5606785416603088, -0.6837769746780396, 0.32325953245162964, 0.4224292039871216, -0.19724667072296143, -0.4799802303314209, 0.7201029062271118, -0.4779561161994934, -0.20892120897769928, -0.2946001887321472, 0.0373980775475502, 0.4466039538383484, 0.620128870010376, 0.12877868115901947, 1.0570778846740723, 0.21560117602348328, -0.41275539994239807, 0.5506186485290527, 0.25911039113998413, -0.10375390946865082, 0.5959044098854065, -0.5958301424980164, 0.16131003201007843, 0.016592951491475105, 0.3080558180809021, -1.0715256929397583, -0.3361985981464386, 0.11141368746757507, -0.578657329082489, -0.040263377130031586, -0.17035162448883057, -0.3084895610809326, -0.2054954171180725, -0.5443170070648193, 0.14443348348140717, 0.11061938107013702, -0.6430969834327698, 1.3056854009628296, 0.15613913536071777, -0.13094662129878998, -0.7045068144798279, -0.353596568107605, 0.028621092438697815, -0.248310849070549, -0.9977643489837646, 0.3836371898651123, -0.045076366513967514, -0.323144793510437, -0.32422947883605957, -0.32938534021377563, -0.1698334515094757, 0.24164947867393494, 0.7693138718605042, 0.15073804557323456, -0.3160427510738373, 0.23501281440258026, 0.26083600521087646, 0.032542504370212555, -0.01263895258307457, 0.005189648363739252, 0.3204062581062317, -0.3715817928314209, -0.40309938788414, -0.44911402463912964, 0.27875030040740967, 1.076944351196289, -0.3627922236919403, 0.3949532210826874, 0.8998109698295593, -0.31263428926467896, 0.3208247125148773, -0.5626326203346252, 0.08510885387659073, -0.4689253866672516, 0.1635497808456421, -0.8610848188400269, -0.761543333530426, 0.6057915687561035, -0.3550053536891937, 0.4214403033256531, 0.17374560236930847, 0.5042421221733093, -0.33713772892951965, 1.223364233970642, 0.522997260093689, 0.013149639591574669, 0.5107693672180176, -0.2433767318725586, -0.10015052556991577, -0.9336592555046082, -0.43177977204322815, -0.2627532482147217, -0.051507893949747086, -0.17035438120365143, -0.668070912361145, 0.24645042419433594, 0.36697620153427124, -0.5199695229530334, -0.17934268712997437, -0.24888622760772705, 0.5453996658325195, 0.615136444568634, 0.36219340562820435, 0.45651954412460327, 0.1995033174753189, -0.5727062821388245, -0.04261324927210808, -0.5132079124450684, -0.6509898900985718, 0.9170795679092407, 0.7516517043113708, 1.0856287479400635, -0.04806235060095787, 0.28334948420524597, 0.38680508732795715, 0.4366259276866913, -0.9480690956115723, 0.4232412874698639, 0.13840250670909882, -0.42286235094070435, -0.1825263798236847, -0.2152809053659439, -0.3895915448665619, 0.8753670454025269, -0.5498400926589966, -0.698315441608429, 0.04703374579548836, 0.16041839122772217, -0.2454337626695633, -0.017284566536545753, -0.9502116441726685, 0.9130145311355591, -0.4394146800041199, -0.696370005607605, -0.06809993088245392, -0.4291917085647583, 0.4837227761745453, 0.16864614188671112, 0.4954245984554291, -0.38834282755851746, -0.12244033813476562, 0.30533188581466675, -0.4262675344944, 0.6952672004699707, -0.17946968972682953, -0.1438160091638565, 0.01025660615414381, 0.06070919707417488, 0.37370195984840393, 0.493986040353775, -0.02401687577366829, 0.06500376760959625, -0.07851891964673996, -0.23109962046146393, -0.6947348713874817, 0.7923611998558044, -0.6966310739517212, -0.49829545617103577, -0.3013322949409485, -0.6872355341911316, -0.2085351049900055, 0.2972654700279236, 0.08134330064058304, 0.6059930920600891, -0.041460853070020676, 0.3873933255672455, 0.7521042823791504, -0.3282260596752167, 0.11371784657239914, 0.2539694309234619, -0.5828418731689453, -0.41813191771507263, 0.7255011796951294, -0.5078845620155334, -0.006886580493301153, 0.38599586486816406, -0.09892065823078156, -0.6921938061714172, -0.34922078251838684, -0.9064636826515198, 0.007429783698171377, -0.7724003791809082, -0.19984669983386993, -0.6952944397926331, 0.0335547961294651, -0.254800409078598, -0.24272415041923523, -0.18332326412200928, -0.45329549908638, -0.4157898426055908, -0.0060961428098380566, 0.3846947252750397, 0.42493388056755066, 0.06678511947393417, 0.42973190546035767, -0.6400365233421326, 0.798483669757843, 0.4285212755203247, 0.15098316967487335, -0.22634045779705048, -0.5947561860084534, -0.1587069183588028, 0.4793567657470703, -0.5268993377685547, -0.6647021174430847, 0.13276487588882446, 0.4434681832790375, 0.7432378530502319, 0.4658568799495697, 0.10234586149454117, 0.7674585580825806, -0.5957597494125366, 0.7372626662254333, 0.463655561208725, -0.9313913583755493, 0.41713258624076843, -0.517926812171936, 0.38145413994789124, 0.31218835711479187, 0.04494275152683258, -0.4281558096408844, -0.24299220740795135, -0.05025497078895569, -0.6023446917533875, 0.48255255818367004, 0.31497859954833984, 0.40990954637527466, 0.21242935955524445, 0.2213398516178131, -0.0625743567943573, -0.05229688063263893, -0.8068912625312805, -0.09886054694652557, -0.6809628009796143, -0.28246188163757324, 0.019652921706438065, -0.18706898391246796, 0.0031992520671337843, -0.5023273229598999, 0.3689655661582947, -0.4060133099555969, 0.31078702211380005, 0.043667107820510864, -0.6516390442848206, 0.2894899547100067, 0.25743815302848816, 0.7037194967269897, 0.6531537175178528, 0.05925014615058899, 0.1837923675775528, 0.16367699205875397, -0.6698707938194275, 0.3447192311286926, 0.1328744888305664, 0.2588975727558136, 0.17566385865211487, 0.1857537031173706, 0.719011127948761, 0.3616013824939728, -0.8175797462463379, 0.5083743929862976, -0.25839316844940186, -0.29817357659339905, -0.29024410247802734, 0.06062547490000725, 0.03734031319618225, 0.3952944874763489, 0.6653863191604614, -0.1747860312461853, 0.17120632529258728, -0.3468724489212036, 0.15072296559810638, 0.4361668527126312, -0.19701595604419708, -0.018406422808766365, 0.7605175375938416, 0.6652474403381348, 0.019240444526076317, 0.7064314484596252, 0.0022251729387789965, -0.503736674785614, 0.5554383397102356, 0.36620333790779114, 0.44884416460990906, -0.07402495294809341, 0.35472390055656433, 0.2320544421672821, 0.2793351113796234, 0.21791596710681915, 0.3236987888813019, -0.49846914410591125, -0.665569543838501, -0.7333734631538391, -0.35699597001075745, -0.4320988059043884, 0.2256481945514679, -0.5391629934310913, 0.1077493354678154, -0.4884188771247864, -0.34363579750061035, 0.1251228004693985, -0.16242283582687378, -0.5675410628318787, 0.24232451617717743, 0.15392617881298065, 1.0183820724487305, -0.504045307636261, 0.7081475257873535, 1.0054212808609009, -0.1725665032863617, -0.5357266068458557, -0.21276380121707916, 0.04534976929426193, -0.4693092703819275, 0.7442736625671387, 0.584692656993866, -0.34801316261291504, -0.015266455709934235, -0.3800998032093048, -0.6543682217597961, 1.0650914907455444, 0.2641792595386505, -0.47961392998695374, -0.11051416397094727, -0.04218616709113121, 0.1454385221004486, -0.4538643956184387, 0.5764096975326538, 0.3284286558628082, 0.23042064905166626, 0.01622936688363552, -1.1273399591445923, -0.1680857539176941, -0.6077346801757812, 0.087241992354393, 0.024095242843031883, -0.23182182013988495, 0.8569707274436951, -0.41313299536705017, -0.07994438707828522, 0.15862268209457397, 0.675412654876709, 0.30113229155540466, 0.630001962184906, 0.4809800982475281, 0.4059275686740875, 0.6406702995300293, -0.1343269795179367, 0.6605587005615234, -0.18535800278186798, 0.28077349066734314, 1.1417698860168457, -0.27585017681121826, 0.745749831199646, 0.5126318335533142, 0.08755667507648468, 0.5284198522567749, 0.7629812359809875, 0.5562992691993713, 0.5157886743545532, -0.018174320459365845, -0.3883061110973358, -0.5749332308769226, -0.03798883408308029, -0.4724319577217102, 0.4255395233631134, 0.7690284848213196, -0.4524070918560028, -0.2815306484699249, 0.6007393002510071, -0.3395878076553345, 0.20064802467823029, -0.650469183921814, 0.6782799363136292, -0.03002483956515789, -0.21177171170711517, 0.8992739915847778, 0.059828147292137146, 0.7296683192253113, -0.19111944735050201, -0.2547500729560852, -0.33355847001075745, 0.05204671248793602, -0.43458300828933716, -0.8171488642692566, 0.010112473741173744, 0.15754789113998413, -0.396047979593277, -0.2583977282047272, 1.054073691368103, -0.14316654205322266, -0.23924948275089264, -0.15875916182994843, 0.4419804811477661, 0.1470581293106079, -0.4203324615955353, -0.7142073512077332, 0.23518981039524078, 0.06626305729150772, -0.166598379611969, 0.10201199352741241, 0.4112350344657898, -0.33862510323524475, 1.1208139657974243, 0.7273616790771484, -0.6102517247200012, 0.17883120477199554, -0.10567796975374222, 1.089843511581421, -0.520417332649231, -0.5356852412223816, -0.6061355471611023, 0.7578207850456238, -0.29473158717155457, -0.11677440255880356, 0.6357935070991516, 0.6177010536193848, 0.6292735934257507, -0.14887259900569916, 0.8713029026985168, -0.010707875713706017, 0.35830554366111755, -0.6324381828308105, 0.6407470107078552, -0.5594509243965149, -0.02675391361117363, 0.002114009577780962, -0.7849137783050537, -0.047839563339948654, 1.1529905796051025, -0.41331207752227783, -0.16814285516738892, 0.520840048789978, 0.59243243932724, -0.3757725954055786, -0.04669054597616196, 0.4723481237888336, -0.19886301457881927, 0.1725330948829651, 0.5886224508285522, 1.1459004878997803, -0.21611244976520538, 0.5896636843681335, -0.2105308622121811, -0.2955823242664337, -0.330839067697525, -0.7748667597770691, -1.2664275169372559, -0.4658542275428772, -0.053616564720869064, -0.27173542976379395, -0.13060030341148376, 0.9349961280822754, 0.954709529876709, -0.4543614983558655, 0.11379005759954453, -0.040200915187597275, 0.3804873526096344, 0.030559036880731583, -0.22175370156764984, -0.11721716821193695, -0.27997592091560364, -0.5064371228218079, 0.3377210795879364, 0.16173110902309418, 0.058121562004089355, -0.23487049341201782, -0.35929733514785767, 0.10979888588190079, -0.31834331154823303, 1.0705770254135132, 0.30686941742897034, -0.9553965926170349, -0.16789817810058594, 0.21118080615997314, -0.22612057626247406, -0.019871914759278297, 0.825573742389679, -0.9884205460548401, 0.49478432536125183, 0.2681002914905548, 0.6446799039840698, 0.3698873221874237, 0.14492705464363098, 0.5595957040786743, -0.6688095331192017, 0.4155314564704895, 0.03497030586004257, 0.28194260597229004, 0.26963531970977783, -0.441114217042923, 0.505461573600769, -0.04324907436966896, -0.32131028175354004, -0.7332698106765747, 0.19058917462825775, -0.9995271563529968, -0.14036035537719727, 1.2925533056259155, -0.34383901953697205, -0.028767669573426247, -0.4958318769931793, -0.678642213344574, -0.16009113192558289, -0.4302571415901184, 0.39247092604637146, 0.639305055141449, -0.13795486092567444, -0.6611737012863159, -0.7083596587181091, 0.19598785042762756, 0.02782558836042881, -0.8503282070159912, -0.07945172488689423, 0.7921114563941956, 0.2764640152454376, 0.16588668525218964, 0.6640777587890625, 0.12918035686016083, 0.6553559303283691, -0.1396133452653885, -0.0034417309798300266, -0.40470677614212036, -0.30805936455726624, -0.13480500876903534, -0.12590226531028748, 0.021003205329179764, -0.39116182923316956 ]
http://arxiv.org/abs/2404.05783v1
http://arxiv.org/pdf/2404.05783v1
Responsible Generative AI: What to Generate and What Not
2024-04-08T17:53:21
2024-04-08T17:53:21
Jindong Gu
cs.CY
cs.CY, cs.AI, cs.CL, cs.CV
In recent years, generative AI (GenAI), like large language models and text-to-image models, has received significant attention across various domains. However, ensuring the responsible generation of content by these models is crucial for their real-world applicability. This raises an interesting question: \textit{What should responsible GenAI generate, and what should it not?} To answer the question, this paper investigates the practical responsible requirements of both textual and visual generative models, outlining five key considerations: generating truthful content, avoiding toxic content, refusing harmful instruction, leaking no training data-related content, and ensuring generated content identifiable. Specifically, we review recent advancements and challenges in addressing these requirements. Besides, we discuss and emphasize the importance of responsible GenAI across healthcare, education, finance, and artificial general intelligence domains. Through a unified perspective on both textual and visual generative models, this paper aims to provide insights into practical safety-related issues and further benefit the community in building responsible GenAI.
[ -0.07558757811784744, -0.5829758048057556, 0.5038744807243347, 0.09896361827850342, -0.15182334184646606, -0.5619982481002808, 0.2274230271577835, -0.5608123540878296, -0.3398441970348358, 0.6444395780563354, -0.481770396232605, -0.19415414333343506, -0.5414978861808777, -0.02336920239031315, -0.5609530806541443, 1.168270468711853, -0.003508571535348892, -0.214105024933815, -0.6551313996315002, 0.09777215868234634, -0.8816184401512146, -0.39313462376594543, -0.88482266664505, -0.18116633594036102, 0.7475361824035645, 0.4631991386413574, 0.5905591249465942, 0.7985625267028809, 0.5546678900718689, 0.31713545322418213, 0.32916125655174255, 0.09150484949350357, -0.6496948599815369, 0.25652459263801575, -0.278216153383255, -0.29517024755477905, -0.4068171977996826, 0.16953234374523163, 0.3526993691921234, 0.36194321513175964, -0.03603086248040199, 0.2554626166820526, -0.019971651956439018, 0.7478150129318237, -0.6929696202278137, 0.303116112947464, -0.3151824474334717, 0.13581040501594543, -0.4293958842754364, -0.33321863412857056, -0.5919836163520813, -0.407376766204834, -0.09947536140680313, -0.8913886547088623, 0.5137367248535156, -0.24357420206069946, 0.8467621803283691, 0.4827420115470886, -0.6658810377120972, -0.30234113335609436, -1.0487474203109741, 0.6708036661148071, -0.4712127149105072, 0.14258235692977905, 0.43896210193634033, 0.2623532712459564, -0.11854805797338486, -1.030426263809204, -0.5146454572677612, 0.03953688591718674, 0.07774697989225388, 0.4281007945537567, -0.20184949040412903, 0.15281982719898224, 0.24974799156188965, 0.3849448561668396, -0.391238808631897, 0.29503920674324036, -0.5200091004371643, -0.04908856377005577, 0.9881957173347473, 0.2376038283109665, 0.757279634475708, -0.12143002450466156, -0.20876768231391907, -0.3152916729450226, -1.0654274225234985, -0.21803763508796692, 0.6243529319763184, -0.08230007439851761, -0.348202645778656, 0.7340588569641113, 0.08932913839817047, 0.35386788845062256, -0.003931345418095589, -0.011281103827059269, -0.07253118604421616, -0.6086918711662292, -0.07903045415878296, 0.19584587216377258, 0.7092342972755432, 0.5039743781089783, 0.6708874106407166, -0.14928916096687317, -0.14034737646579742, 0.23084411025047302, 0.8656017184257507, -0.8636020421981812, -0.3379010856151581, 0.40895238518714905, -0.5260459184646606, -0.5526581406593323, 0.14482298493385315, -0.5606416463851929, -0.27236682176589966, -0.5234066247940063, 0.11377736181020737, -0.3708730638027191, -0.3552756905555725, -0.36525216698646545, -0.3834998905658722, 0.24610309302806854, 0.2400696575641632, -1.1172316074371338, -0.38683825731277466, 0.6567357778549194, 0.15602342784404755, -0.03850901871919632, -0.1763344258069992, -0.5123457908630371, 0.6441873908042908, -0.7036780714988708, 0.4698867201805115, -0.03694538772106171, -0.40603041648864746, 0.24115000665187836, -0.1302369385957718, -0.012565240263938904, -0.3308141827583313, 0.4497515857219696, -0.28903186321258545, -0.010184851475059986, -0.24574802815914154, -0.6105439066886902, -0.07542917132377625, 0.11071255058050156, -0.8098164796829224, 0.21699361503124237, 0.033291444182395935, -0.7507320642471313, 0.6519775390625, -0.8501008749008179, -0.7168486714363098, 0.46323633193969727, -0.32570844888687134, -0.6033127307891846, 0.20253942906856537, -0.012131317518651485, 0.5432094931602478, -0.09296638518571854, 0.7932726144790649, 0.00902180839329958, 0.09971726685762405, 0.3063863217830658, -0.81121826171875, 0.781738817691803, 0.3806464970111847, -0.34581273794174194, 0.3261029124259949, -0.6918060779571533, -0.003653930965811014, 0.24376238882541656, -0.1454973667860031, -0.20455718040466309, 0.23061934113502502, 0.30617955327033997, -0.161227747797966, 0.13963575661182404, -0.2848219573497772, -0.21216493844985962, 0.059491682797670364, 0.5696886777877808, 0.8650742769241333, 0.2568741738796234, 0.41534051299095154, -0.28188568353652954, 0.5160550475120544, 0.014278179965913296, 0.5955942869186401, -0.14953495562076569, -0.6821271777153015, -0.4222028851509094, -0.20290113985538483, 0.1699105203151703, 0.46458372473716736, -1.0369150638580322, 0.23960864543914795, -0.1382133662700653, -0.5642014145851135, -0.3824670612812042, 0.020734768360853195, 0.3178769052028656, 0.6292417645454407, 0.03993020951747894, -0.05703164264559746, -0.3286747634410858, -0.6906164288520813, 0.05595046654343605, -0.37416693568229675, 0.24821503460407257, 0.24049629271030426, 0.3719126880168915, -0.42540907859802246, 0.735783576965332, -0.23421722650527954, -0.40330639481544495, -0.49390360713005066, 0.35041260719299316, -0.44525146484375, 0.8064467310905457, 0.7771052718162537, -1.239116907119751, -0.19408224523067474, -0.05797277390956879, -1.3688135147094727, 0.07284732162952423, -0.6728525757789612, -0.03464794158935547, 0.11023332923650742, 0.46883589029312134, -0.8755906224250793, 0.7729089260101318, 0.3837466835975647, -0.1152806431055069, 0.25817587971687317, -0.36807334423065186, 0.07845664024353027, -1.2876273393630981, 0.3915005624294281, 0.16502954065799713, -0.15705636143684387, -0.9012185335159302, 0.551701009273529, -0.1980876326560974, -0.35531777143478394, -0.4120948016643524, 0.401119589805603, -0.18013069033622742, 0.17731614410877228, -0.11936488747596741, -0.23973384499549866, -0.006815571803599596, -0.062444981187582016, 0.01190275326371193, 0.9410300850868225, 0.5213375687599182, -0.8661690354347229, 0.44475769996643066, 0.4269845187664032, -0.26612135767936707, 0.49695277214050293, -0.8972612619400024, 0.020180417224764824, -0.46010634303092957, 0.015959428623318672, -0.263832688331604, -0.5874184370040894, 0.48343193531036377, -0.5927484631538391, 0.33959364891052246, 0.22411960363388062, -0.5426982641220093, -0.27209264039993286, 0.08628323674201965, 0.7312175631523132, 0.6169893145561218, -0.4065883755683899, 0.5530948042869568, 0.5814333558082581, -0.14004845917224884, -0.32406872510910034, -0.8154879212379456, 0.05339371785521507, -0.32356858253479004, -0.41057854890823364, 0.35637280344963074, 0.029353441670536995, -0.2111479490995407, 0.12408623099327087, 0.33173930644989014, -0.020142005756497383, 0.23934438824653625, 0.5855315923690796, 0.21256539225578308, 0.09107926487922668, 0.030866986140608788, 0.03154895827174187, -0.4147964417934418, 0.2755826711654663, 0.028666364029049873, 0.06444952636957169, 0.09745892882347107, -0.3318684697151184, -0.6403864026069641, 0.8726959824562073, 0.530229926109314, -0.33103352785110474, 0.5767074227333069, 0.6331431269645691, -0.38539785146713257, -0.012884660623967648, -0.274575412273407, -0.05869786813855171, -0.4424741864204407, 0.14877423644065857, 0.17933450639247894, -0.6230973601341248, 0.31233516335487366, 0.31498128175735474, 0.22633327543735504, 0.6465526819229126, 0.7498941421508789, -0.2381373643875122, 1.1994465589523315, 0.753404438495636, 0.06982671469449997, 0.4282097816467285, -0.2184784710407257, 0.5044599771499634, -0.4380054771900177, -0.5019587874412537, -0.393069326877594, 0.12518395483493805, -1.0736987590789795, -0.03561793640255928, 0.5190120935440063, -0.36443081498146057, -0.31913796067237854, 0.22036601603031158, -0.6284480094909668, 0.25067394971847534, 0.8594818711280823, -0.11394211649894714, 0.10817887634038925, -0.06755512952804565, 0.4736999273300171, 0.11449461430311203, -0.860526978969574, -0.5824731588363647, 0.9359967708587646, 0.38430657982826233, 0.9473174214363098, 0.011227810755372047, 0.7042927742004395, 0.4567055404186249, 0.4451574981212616, -0.6133275628089905, 0.4737945795059204, -0.359646737575531, -0.8204718828201294, -0.33057016134262085, -0.6009781956672668, -1.0992416143417358, -0.3765515983104706, 0.017610328271985054, -0.11032257229089737, 0.27811557054519653, 0.5682234764099121, -0.22828291356563568, 0.1305360496044159, -0.6789516806602478, 0.9813796281814575, -0.340793251991272, -0.04232511296868324, -0.3373105227947235, -0.6104413270950317, 0.432974636554718, 0.1628740131855011, -0.23199722170829773, 0.17986932396888733, 0.5150585770606995, 0.428714781999588, -0.20412899553775787, 1.1108019351959229, 0.13763853907585144, -0.049369219690561295, 0.7752834558486938, -0.3610159754753113, 0.2630460560321808, 0.03050972707569599, 0.4107166528701782, 0.15891672670841217, 0.05242931842803955, -0.3908742070198059, -0.22356478869915009, 0.38687705993652344, -0.9939371347427368, -0.6424176692962646, -0.5082630515098572, -0.5186684131622314, 0.22183430194854736, 0.3101057708263397, 0.6830984950065613, 0.4020977020263672, -0.5107905864715576, 0.25375500321388245, 1.0277280807495117, -0.3306453227996826, 0.36564722657203674, -0.0923302173614502, 0.1528060883283615, -0.194353848695755, 1.3049288988113403, 0.04267405346035957, 0.23567262291908264, 0.17227040231227875, 0.006914475001394749, -0.12352252751588821, -0.3253377079963684, -0.751658022403717, -0.03221824765205383, -0.7846705913543701, -0.23986192047595978, -0.3017529547214508, -0.6593340635299683, -0.606275737285614, -0.06687384843826294, -0.28808683156967163, 0.07776428759098053, -0.8394392132759094, -0.25400668382644653, 0.166738361120224, 0.7519169449806213, -0.18339289724826813, -0.07333788275718689, -0.832432210445404, 0.5995634198188782, 0.659172534942627, 0.001582750934176147, -0.11598636955022812, 0.23903144896030426, 0.15716704726219177, 0.1416555941104889, -0.46048349142074585, -0.5398043990135193, 0.172149196267128, 0.12325820326805115, 0.8231134414672852, 0.8211753964424133, 0.2500649094581604, 0.2610277235507965, -0.5530868172645569, 0.7835424542427063, 0.4086613953113556, -0.5470873713493347, 0.7245736122131348, -0.4154818654060364, 0.06660833954811096, 0.38774895668029785, 0.35590988397598267, -0.31054216623306274, -0.42031022906303406, -0.665052592754364, -0.6429714560508728, 0.03059942089021206, 0.4573601484298706, 0.7216631174087524, -0.2932552397251129, 0.2935326397418976, 0.03203768655657768, 0.12049175053834915, -0.763988733291626, 0.012638618238270283, -0.7037370204925537, -0.24540413916110992, 0.15342023968696594, -0.20721286535263062, -0.5058549046516418, 0.018465738743543625, 0.5162156224250793, -0.20254580676555634, 0.3669760525226593, 0.08201855421066284, 0.2327428162097931, -0.23695772886276245, 0.1938415914773941, 0.6964921355247498, 0.608851432800293, 0.22985249757766724, -0.010368396528065205, -0.4970230162143707, -0.4561348557472229, 0.10207971185445786, -0.010427361354231834, -0.7030351161956787, -0.25181445479393005, 0.3989195227622986, 0.9473271369934082, -0.43739497661590576, -0.5873703360557556, 0.5394936800003052, 0.013608727604150772, -0.14050030708312988, -0.5096186995506287, 0.3866116404533386, -0.1783580631017685, -0.2489003688097, 0.01903989166021347, 0.18933752179145813, 0.0794401466846466, -0.7386687994003296, 0.0867198035120964, 0.2799690067768097, -0.2052507996559143, -0.2977321445941925, 0.9506041407585144, 0.44945964217185974, 0.05337667837738991, 1.1844583749771118, -0.040245894342660904, -0.07463718205690384, 0.8994527459144592, 0.6556573510169983, 0.9278488755226135, -0.18856438994407654, 0.8123506307601929, 0.27495789527893066, 0.33272576332092285, -0.0457480251789093, 0.20936082303524017, 0.11381373554468155, -0.8778160810470581, -0.3898712992668152, 0.01424506213515997, -0.3497031033039093, 0.14866939187049866, -0.8831011056900024, -0.1280023455619812, -0.3274933695793152, -0.2066941112279892, -0.044412802904844284, -0.6560680270195007, -0.6440631747245789, 0.6679381728172302, 0.19868990778923035, 0.42554494738578796, -0.9049713015556335, 0.41399404406547546, 0.6188924908638, -0.7747864127159119, -0.8814205527305603, -0.0033609606325626373, -0.15846581757068634, -0.6253945231437683, 0.3733064830303192, 0.1638159155845642, 0.2546544373035431, -0.10055550932884216, -0.8616946935653687, -0.3773660659790039, 1.007022738456726, 0.43351998925209045, -0.37742215394973755, -0.32918721437454224, 0.4916735887527466, 0.5292589664459229, -0.2861436605453491, -0.3971444070339203, 0.10164608806371689, 0.355202317237854, 0.1844114065170288, -0.19205084443092346, 0.01573406159877777, -0.32396379113197327, 0.3843069076538086, -0.05531829223036766, -0.42456793785095215, 0.6662716269493103, -0.4138602614402771, -0.4864219129085541, 0.053776390850543976, 0.7575376629829407, 0.3879142999649048, 0.6138156056404114, 0.09820196032524109, 0.6485084295272827, 0.45944321155548096, -0.09752532839775085, 1.5711231231689453, -0.11971431970596313, -0.2133549451828003, 0.7447203397750854, -0.14324603974819183, 0.2245468944311142, 0.43855002522468567, 0.44412586092948914, -0.036386605352163315, 0.6968217492103577, -0.3628571927547455, 0.6386598348617554, -0.13012494146823883, -0.32856297492980957, -0.3494155704975128, -0.4582369029521942, -0.5990983247756958, 0.5041635632514954, 0.20301644504070282, -0.5477346777915955, -0.0295717790722847, 0.028649041429162025, -0.1156337782740593, 0.030004238709807396, -0.2746775448322296, 0.9201451539993286, 0.28829190135002136, -0.8935002088546753, -0.1466071903705597, 0.05197633057832718, -0.12215787917375565, -0.2966541647911072, -0.3849262595176697, -0.09273362159729004, 0.03403865918517113, -0.07317078113555908, -0.6882300972938538, 0.5970979332923889, 0.18293073773384094, -0.32217687368392944, -0.5180106163024902, 0.9906541109085083, -0.15139031410217285, -0.603119432926178, -0.19692564010620117, 0.36783111095428467, 0.018615322187542915, 0.11581126600503922, -0.5147268176078796, -0.08288466930389404, -0.2512681782245636, 0.06513360887765884, 0.28953295946121216, 0.45457014441490173, -0.3475847542285919, 0.700920581817627, 0.7432633638381958, 0.022388054057955742, -0.13981686532497406, 0.32136258482933044, 0.5939103960990906, -0.31583085656166077, -0.5442827939987183, -0.4982292354106903, 0.7370300889015198, 0.0074473279528319836, -0.6075249314308167, 0.43222394585609436, 0.23374101519584656, 0.629209578037262, -0.29919904470443726, 0.961688220500946, -0.3420256972312927, -0.1638391762971878, -0.7151370048522949, 1.133353590965271, -0.3970065712928772, -0.27061697840690613, -0.005722556728869677, -0.7470492720603943, -0.16144412755966187, 0.5109235048294067, -0.02075151354074478, 0.18189764022827148, 0.19348736107349396, 0.419612318277359, 0.333234578371048, -0.08632932603359222, 0.4679829180240631, -0.19434374570846558, 0.49547278881073, 0.34252747893333435, 0.7894039154052734, -0.4939798414707184, 0.2643420398235321, -0.0578252337872982, 0.034191861748695374, 0.0069998325780034065, -1.0468393564224243, -0.6489117741584778, -0.6812003254890442, -0.7272498607635498, -0.21615822613239288, -0.01585417240858078, 0.28279998898506165, 0.7542651295661926, -0.7923851609230042, 0.20495009422302246, -0.7588805556297302, 0.0797937661409378, -0.3700624704360962, -0.2208242267370224, 0.10830144584178925, -0.28864291310310364, -0.6562010645866394, 0.07085008919239044, 0.23673848807811737, 0.4002421200275421, -0.35199564695358276, 0.0419422872364521, 0.2657436728477478, 0.10244456678628922, 0.6127926707267761, 0.5272665619850159, -0.5656043887138367, -0.5305542349815369, -0.22477439045906067, -0.43827900290489197, -0.17611290514469147, 0.8216984868049622, -0.35743361711502075, 0.45836037397384644, 0.5000463128089905, 0.7478724122047424, 0.015860356390476227, 0.11077791452407837, 0.9702088832855225, -0.6084452271461487, -0.1942911297082901, 0.4075176417827606, 0.09304209053516388, 0.4989103078842163, -0.8288851976394653, 0.6770703792572021, 0.07382933050394058, -0.7962878346443176, -0.6638026833534241, 0.5890564918518066, -0.938978374004364, 0.002441969932988286, 0.8259847164154053, -0.3055773079395294, -0.037227023392915726, 0.0803089290857315, 0.009682797826826572, 0.6293691992759705, 0.08879143744707108, 1.0289256572723389, 0.23929038643836975, 0.06598811596632004, -0.5790062546730042, -0.7430644035339355, 0.6038603186607361, 0.25496071577072144, -1.2395117282867432, -0.046929288655519485, 0.5582696795463562, 0.08708031475543976, 0.13953445851802826, 0.517458975315094, -0.1379743218421936, 0.587406575679779, 0.10980135202407837, 0.19697882235050201, 0.01680169440805912, -0.5911727547645569, 0.21836599707603455, 0.03610993176698685, -0.28044986724853516, -0.3416658341884613 ]
http://arxiv.org/abs/2404.05694v2
http://arxiv.org/pdf/2404.05694v2
Comprehensive Study on German Language Models for Clinical and Biomedical Text Understanding
2024-04-08T17:24:04
2024-05-08T08:53:53
Ahmad Idrissi-Yaghir, Amin Dada, Henning Schäfer, Kamyar Arzideh, Giulia Baldini, Jan Trienes, Max Hasin, Jeanette Bewersdorff, Cynthia S. Schmidt, Marie Bauer, Kaleb E. Smith, Jiang Bian, Yonghui Wu, Jörg Schlötterer, Torsten Zesch, Peter A. Horn, Christin Seifert, Felix Nensa, Jens Kleesiek, Christoph M. Friedrich
cs.CL
cs.CL, cs.AI, cs.LG
Recent advances in natural language processing (NLP) can be largely attributed to the advent of pre-trained language models such as BERT and RoBERTa. While these models demonstrate remarkable performance on general datasets, they can struggle in specialized domains such as medicine, where unique domain-specific terminologies, domain-specific abbreviations, and varying document structures are common. This paper explores strategies for adapting these models to domain-specific requirements, primarily through continuous pre-training on domain-specific data. We pre-trained several German medical language models on 2.4B tokens derived from translated public English medical data and 3B tokens of German clinical data. The resulting models were evaluated on various German downstream tasks, including named entity recognition (NER), multi-label classification, and extractive question answering. Our results suggest that models augmented by clinical and translation-based pre-training typically outperform general domain models in medical contexts. We conclude that continuous pre-training has demonstrated the ability to match or even exceed the performance of clinical models trained from scratch. Furthermore, pre-training on clinical data or leveraging translated texts have proven to be reliable methods for domain adaptation in medical NLP tasks.
[ -0.10488374531269073, -0.8228989243507385, 0.9677010178565979, 0.07359948754310608, -0.36292269825935364, -0.11893393099308014, -0.2617018520832062, -0.6070675253868103, -0.1214938536286354, 0.7045774459838867, -0.4951760470867157, -0.6662346720695496, -0.9189444184303284, 0.28540748357772827, -0.11581910401582718, 1.233244776725769, -0.33941835165023804, 0.6614218950271606, -0.4170369803905487, -0.31093156337738037, -0.49594685435295105, -1.0208110809326172, -0.5742054581642151, -0.5769026279449463, 0.5182061791419983, -0.1071779802441597, 0.6039252281188965, 0.4684019386768341, 0.775000274181366, 0.17399942874908447, 0.10577549785375595, -0.08358584344387054, -0.3617069125175476, -0.1339547485113144, -0.3952501118183136, -0.2833887040615082, -0.6444319486618042, 0.01795198582112789, 0.5502527356147766, 1.1881879568099976, -0.01212269626557827, -0.25819504261016846, -0.09715399891138077, 0.4329390525817871, -0.17239022254943848, 0.08695676177740097, -0.5006937980651855, -0.04945552349090576, -0.1434527188539505, -0.25996407866477966, -0.6304377913475037, -0.1342998743057251, 0.6603879332542419, -0.788475751876831, 0.4027850031852722, -0.19613587856292725, 1.252341628074646, 0.1030111312866211, -0.6085764765739441, -0.6907739639282227, -0.6464117765426636, 0.49036911129951477, -0.8001880049705505, 0.6078782081604004, 0.5519545674324036, 0.09849747270345688, -0.24805264174938202, -1.1060758829116821, -0.21961231529712677, -0.2596415579319, -0.3971002995967865, 0.19792619347572327, -0.39420777559280396, 0.2980949878692627, -0.15355712175369263, 0.03603102266788483, -0.7331182956695557, 0.33311501145362854, -0.3139854073524475, -0.019304592162370682, 0.22345690429210663, -0.04008062556385994, 0.48300427198410034, 0.1044822484254837, -0.26635226607322693, 0.07418248057365417, -0.6984442472457886, -0.283792108297348, -0.38791656494140625, 0.12155149132013321, -0.19458886981010437, 0.2915148437023163, 0.20757007598876953, 0.8823772668838501, -0.12166529893875122, -0.048050351440906525, 0.32299184799194336, -0.5846570730209351, -0.33146995306015015, -0.3420187532901764, 0.34892186522483826, -0.04683701694011688, 0.5913025736808777, -0.5411907434463501, 0.008782556280493736, 0.0786392092704773, 0.6906347870826721, -0.710129976272583, -0.3977168798446655, 0.3600711226463318, -0.6428213715553284, 0.0029385092202574015, -0.37506434321403503, -0.2556259334087372, -0.11552251130342484, -0.5495315790176392, 0.519531786441803, -0.6468257308006287, -0.010259603150188923, 0.6685843467712402, 0.05313233658671379, 0.03373849764466286, 0.30967703461647034, -0.7765257954597473, 0.48853006958961487, 0.4869920015335083, 0.6447497010231018, -0.4665752947330475, -0.1331155002117157, -0.3563092052936554, 0.20926988124847412, -0.2980702817440033, 0.8540940284729004, -0.4525816738605499, -0.3846210539340973, 0.17511188983917236, 0.2780854403972626, -0.45511651039123535, -0.6055442690849304, 0.5074613094329834, -0.6054360866546631, 0.24552099406719208, 0.202478289604187, -0.7689981460571289, -0.10487182438373566, 0.09051661193370819, -0.43978291749954224, 0.31831493973731995, 0.2374383956193924, -0.6473739743232727, 0.3651024401187897, -0.7754472494125366, -0.7366377711296082, 0.16203555464744568, -0.004790437873452902, -0.34291258454322815, 0.35248419642448425, 0.32728898525238037, 0.6351118087768555, -0.1466483473777771, 0.44170257449150085, -0.18049933016300201, -0.006416104733943939, 0.20063626766204834, -0.038546573370695114, 0.5571756362915039, -0.014655625447630882, 0.07725059241056442, 0.18005238473415375, -0.615241289138794, 0.024949824437499046, 0.10717922449111938, -0.15491540729999542, -0.5908817052841187, 0.06870275735855103, 0.22928933799266815, 0.140554741024971, -0.01815970055758953, -0.14712147414684296, -0.03646251559257507, -0.6075170040130615, 0.33018702268600464, 0.3527508080005646, 0.11872809380292892, 0.3637540638446808, -0.3224942088127136, 0.6927773356437683, 0.10949017852544785, 0.09542006999254227, -0.2777135372161865, -0.30803796648979187, -0.5099732279777527, -0.4610982835292816, 0.5999356508255005, 0.5598503947257996, -0.6748557090759277, 0.33481091260910034, -0.5758575797080994, -0.5126731991767883, -0.6623081564903259, -0.15119364857673645, 0.5081008076667786, 0.7823767066001892, 0.6350528001785278, -0.47204598784446716, -0.25509294867515564, -0.7793028950691223, -0.1856493204832077, -0.0913415402173996, -0.22752530872821808, 0.5134329795837402, 0.71518474817276, -0.7076897025108337, 0.7148864269256592, -0.4675348699092865, -0.27695053815841675, -0.2786836624145508, 0.21663783490657806, 0.2548219561576843, 0.3990785777568817, 0.6044888496398926, -0.8110490441322327, -0.4516569674015045, 0.27050310373306274, -0.8339714407920837, -0.1508794128894806, -0.30116698145866394, -0.04478071630001068, 0.09267759323120117, 0.3249483108520508, -0.4275469183921814, 0.3732130229473114, 0.7464476227760315, -0.4441654682159424, 0.4682891070842743, -0.6260095834732056, -0.09481973201036453, -0.977371871471405, 0.27678367495536804, -0.03479445353150368, -0.6374676823616028, -1.1912529468536377, 0.07791048288345337, 0.07954560965299606, 0.06853345781564713, -0.43015196919441223, 0.8765671849250793, -0.4607498347759247, 0.19773907959461212, -0.38704660534858704, -0.011792660690844059, 0.1323082000017166, 0.0871007964015007, 0.5949239730834961, 0.47576597332954407, 0.5439426898956299, -0.7728656530380249, -0.18939776718616486, 0.5368891358375549, -0.2777140140533447, 0.4038862884044647, -0.8135529160499573, 0.21780738234519958, -0.316275030374527, 0.37297627329826355, -0.5597646236419678, -0.2829594016075134, 0.012250903062522411, -0.39557090401649475, 0.35499560832977295, -0.12373620271682739, -0.4145425260066986, -0.17155709862709045, 0.4743938744068146, 0.2938174903392792, 0.4877552092075348, -0.3003492057323456, 0.6417633295059204, 0.5037343502044678, -0.5703423619270325, -0.0969012975692749, -0.5363848209381104, -0.03841138258576393, -0.007617258466780186, -0.5558580756187439, 0.8550414443016052, -0.06445252895355225, -0.046824224293231964, 0.044167857617139816, 0.010816211812198162, -0.5220448970794678, 0.23699508607387543, -0.006758044008165598, 0.44586804509162903, -0.3340409994125366, 0.32738280296325684, 0.21152333915233612, -0.1581871658563614, -0.09573994576931, -0.358512818813324, 0.5262945890426636, 0.1780146062374115, -0.2911642789840698, -0.40126660466194153, 0.44008708000183105, 0.35676807165145874, -0.046076852828264236, 0.8630860447883606, 0.41021791100502014, -0.5747501254081726, 0.015758348628878593, -0.36102691292762756, -0.3408926725387573, -0.3497903347015381, 0.674110472202301, -0.401498407125473, -0.9193260669708252, 0.2847549021244049, -0.21973881125450134, -0.022084593772888184, 0.3390030562877655, 0.836049497127533, -0.3369382321834564, 0.9377868175506592, 0.9804067611694336, 0.22529906034469604, 0.11203911155462265, 0.31642237305641174, 0.14542977511882782, -0.2945663332939148, 0.016134796664118767, -0.4931547939777374, 0.23728783428668976, -0.25396010279655457, -0.4469042420387268, 0.3316189646720886, 0.1353377252817154, 0.04495038092136383, 0.2644953429698944, -0.24071770906448364, 0.13108767569065094, 0.057387880980968475, 0.21560238301753998, 0.19950276613235474, 0.0536670908331871, -0.10564246773719788, -0.16838423907756805, -0.7189077734947205, -0.5666119456291199, 1.0912851095199585, 0.6187071800231934, 0.3808112144470215, -0.2580837607383728, 0.5397557616233826, 0.15546926856040955, 0.6871178150177002, -0.5494110584259033, -0.04518260434269905, -0.49232742190361023, -0.6551386713981628, -0.010468724183738232, -0.21260017156600952, -1.1721693277359009, 0.15328164398670197, -0.16316284239292145, -0.431505024433136, 0.03475681692361832, 0.06370988488197327, -0.3361493945121765, -0.19979797303676605, -0.7403562068939209, 0.9789785146713257, -0.3520023226737976, 0.2675042748451233, -0.12012158334255219, -0.7127743363380432, -0.08361738175153732, -0.6907069087028503, 0.5179163813591003, 0.03668075427412987, -0.06967723369598389, 0.6910219788551331, -0.08718971163034439, 0.7700194120407104, -0.11350324749946594, -0.03225506842136383, -0.13893763720989227, -0.11051300913095474, 0.26633989810943604, 0.05909973010420799, 0.12567119300365448, 0.39660584926605225, 0.4968146085739136, -0.6862033605575562, -0.4541950821876526, 0.2148982435464859, -0.7374709844589233, -0.5483329892158508, -0.38816213607788086, -0.4489724934101105, -0.6197962760925293, 0.2676635980606079, 0.3171394467353821, 0.24744710326194763, -0.4934418797492981, -0.03304881975054741, 0.5888965725898743, -0.4114668071269989, -0.006768661551177502, 0.9578001499176025, -0.11275464296340942, -0.17788425087928772, 0.40807557106018066, -0.2287224978208542, 0.4714395999908447, 0.23911753296852112, 0.014852801337838173, -0.21986453235149384, -0.9747306108474731, -0.29587870836257935, 0.5448485016822815, -0.7139180898666382, 0.049269989132881165, -0.8496891260147095, -0.32756105065345764, -0.44460737705230713, -0.3612114489078522, -0.022336529567837715, -0.08098139613866806, -0.5274693369865417, -0.0513630211353302, 0.22178001701831818, 0.6690064668655396, 0.18290266394615173, 0.5812905430793762, -1.2433854341506958, 0.45839089155197144, -0.2050401270389557, 0.26363733410835266, -0.3590538501739502, -0.8170382380485535, -0.369045615196228, -0.09547457098960876, 0.11670289188623428, -0.9062564373016357, 0.5937627553939819, 0.3539501428604126, 0.560967206954956, 0.19723080098628998, -0.333720862865448, 0.630943238735199, -0.9474509954452515, 0.5205406546592712, 0.024551065638661385, -0.8182827830314636, 0.4936511516571045, -0.38402479887008667, 0.26080891489982605, 0.6261845827102661, 0.8192557692527771, -0.5644894242286682, -0.1929885745048523, -0.5227702856063843, -0.6122792959213257, 0.5622611045837402, 0.13794107735157013, 0.2992953360080719, 0.010022914037108421, 0.5855756998062134, 0.44260042905807495, -0.015142467804253101, -0.6856883764266968, -0.09060005098581314, 0.16802926361560822, -0.46499571204185486, -0.273001492023468, -0.020462771877646446, -0.2733142375946045, -0.20023484528064728, 0.41962331533432007, -0.19244162738323212, 0.3228294551372528, 0.2878020405769348, -0.3679911196231842, 0.39661961793899536, 0.2302088439464569, 0.5114418864250183, 0.8895761966705322, -0.08598592132329941, -0.13176925480365753, 0.10423331707715988, -0.6566042900085449, 0.14019739627838135, 0.38922226428985596, 0.12625600397586823, 0.39668354392051697, 0.6976861953735352, 0.7479963898658752, 0.24419543147087097, -0.793826162815094, 0.34409815073013306, -0.08183261007070541, -0.1944897621870041, -0.16598522663116455, -0.306034654378891, 0.14843374490737915, -0.19336144626140594, 0.07360800355672836, -0.1409534364938736, -0.18123187124729156, -0.3605498671531677, 0.5253006815910339, 0.12026657909154892, -0.5733598470687866, -0.5789728760719299, 0.6016313433647156, 0.0008482334669679403, -0.16500219702720642, 0.5271586179733276, 0.32606908679008484, -0.3057834804058075, 0.43705883622169495, 0.9253688454627991, 0.5638975501060486, -0.08694998919963837, 0.29022660851478577, 0.024611007422208786, -0.0937696248292923, -0.09968332946300507, 0.21837186813354492, 0.2575652599334717, -0.8250818848609924, -0.5662800669670105, -0.6218644976615906, -0.3428851366043091, 0.10079105943441391, -0.7011074423789978, 0.27364593744277954, -0.2526610195636749, -0.3768917918205261, 0.428463339805603, -0.3781636357307434, -0.988115131855011, 0.6293779015541077, 0.012621286325156689, 0.9331681132316589, -0.7288900017738342, 1.3101145029067993, 0.7425177693367004, -0.3734513521194458, -0.33969682455062866, -0.04298074543476105, -0.19499480724334717, -0.8456619381904602, 0.731102705001831, -0.11217442154884338, 0.24284806847572327, 0.18118470907211304, -0.32053133845329285, -0.6942610740661621, 0.5286727547645569, 0.11889786273241043, -0.4312174320220947, -0.47313714027404785, 0.20471155643463135, 0.9137547612190247, -0.5808311104774475, -0.08654773980379105, 0.7594953179359436, 0.2594512701034546, -0.35522180795669556, -0.9774501919746399, -0.1147637739777565, -0.17003311216831207, -0.17969760298728943, -0.0825914591550827, 0.22276094555854797, 0.5588080883026123, -0.08576760441064835, -0.18943116068840027, 0.18532808125019073, 0.34391674399375916, 0.24926701188087463, 0.26155173778533936, 0.3542589545249939, 0.23840732872486115, 0.8218110203742981, -0.04507824406027794, 1.255599021911621, -0.35165372490882874, 0.12170416116714478, 0.972284734249115, -0.6125621199607849, 0.7381409406661987, 0.35784414410591125, -0.20588622987270355, 0.5789434909820557, 0.6324043869972229, 0.0003388650366105139, 0.6568951606750488, 0.11075438559055328, -0.2494266927242279, -0.16732631623744965, -0.13960595428943634, -0.4586932957172394, 0.32178181409835815, 0.5729910135269165, -0.533295750617981, 0.000028055059374310076, 0.41641494631767273, 0.29889509081840515, 0.025084543973207474, -0.0937734842300415, 0.9849802255630493, 0.27996826171875, -0.7071748375892639, 0.6778149008750916, 0.08348043262958527, 0.3415413796901703, -0.9089824557304382, 0.20018653571605682, -0.011686861515045166, 0.2764398157596588, 0.05988144129514694, -0.32159945368766785, 0.3771068751811981, 0.07005111128091812, -0.30973100662231445, -0.3263360857963562, 0.710420548915863, -0.15661105513572693, -0.5414914488792419, 0.4182518720626831, 0.6394141316413879, 0.22119012475013733, 0.0291884858161211, -0.6089068055152893, -0.19965951144695282, -0.10828116536140442, -0.06580711156129837, 0.5954928398132324, 0.3587968945503235, -0.09146133810281754, 0.4557032585144043, 0.736396849155426, 0.42984405159950256, -0.17687523365020752, 0.24568818509578705, 0.7655382752418518, -0.5935345888137817, -0.38513025641441345, -0.7265607118606567, 0.3329301178455353, 0.04383598640561104, -0.216822549700737, 0.33482468128204346, 0.20620615780353546, 0.7844105362892151, -0.37094977498054504, 0.8223454356193542, 0.39290851354599, 0.641788899898529, -0.6389268040657043, 0.8912113308906555, -0.5925772190093994, -0.1794780045747757, -0.06248611584305763, -0.3519558310508728, -0.6300202012062073, 0.5372287631034851, -0.3044820725917816, 0.0722360834479332, 0.9720611572265625, 0.3095201849937439, -0.007225747685879469, -0.12846241891384125, 0.3290219306945801, 0.21772290766239166, 0.36203262209892273, 0.5386123657226562, 0.262387216091156, -0.20421592891216278, 0.11302635818719864, 0.15516772866249084, -0.2775416374206543, 0.013028900139033794, -0.7603485584259033, -0.8997887372970581, -0.4799521863460541, -0.31041792035102844, -0.4242921471595764, 0.30594006180763245, 0.6682543754577637, 0.9414917826652527, -1.0548865795135498, 0.1659342646598816, 0.015738435089588165, -0.3328350782394409, -0.14706595242023468, -0.0973513051867485, 0.6870311498641968, -0.6471188068389893, -0.6441340446472168, 0.4763493239879608, 0.3358645737171173, 0.31888890266418457, 0.1346026510000229, 0.05881262943148613, -0.11211267113685608, 0.2945209741592407, 0.624428927898407, 0.2605419456958771, -0.689651608467102, -0.0739486888051033, 0.21056003868579865, -0.3884375989437103, 0.211435928940773, 0.9858176112174988, -0.8560531139373779, 0.42591583728790283, 0.16815699636936188, 0.8986732959747314, 0.4829661548137665, 0.06167025491595268, 0.9212154150009155, -0.3753633499145508, 0.20718598365783691, 0.5160741806030273, 0.2815284729003906, 0.24843692779541016, -0.14646027982234955, 0.5356564521789551, 0.15757323801517487, -0.4901740849018097, -0.8207095265388489, 0.17724013328552246, -0.7348437309265137, -0.6793220043182373, 0.9560908675193787, -0.5184270143508911, 0.009960189461708069, -0.5363602638244629, -0.08012060075998306, 0.24730491638183594, 0.33105382323265076, 0.694182813167572, 0.915597677230835, -0.14428502321243286, 0.21583326160907745, -0.8403666019439697, 0.6787908673286438, 0.6123446822166443, -1.0669440031051636, -0.1480128914117813, 0.2347717583179474, 0.281734436750412, -0.11262019723653793, 1.011779546737671, -0.3887815773487091, 0.23540601134300232, -0.3990978002548218, -0.04366205260157585, 0.31414735317230225, -0.33079794049263, -0.5411001443862915, -0.04042332246899605, -0.08232945948839188, 0.18251968920230865 ]
http://arxiv.org/abs/2404.05692v1
http://arxiv.org/pdf/2404.05692v1
Evaluating Mathematical Reasoning Beyond Accuracy
2024-04-08T17:18:04
2024-04-08T17:18:04
Shijie Xia, Xuefeng Li, Yixin Liu, Tongshuang Wu, Pengfei Liu
cs.CL
cs.CL
The leaderboard of Large Language Models (LLMs) in mathematical tasks has been continuously updated. However, the majority of evaluations focus solely on the final results, neglecting the quality of the intermediate steps. This oversight can mask underlying problems, such as logical errors or unnecessary steps in the reasoning process. To measure reasoning beyond final-answer accuracy, we introduce ReasonEval, a new methodology for evaluating the quality of reasoning steps. ReasonEval employs $\textit{validity}$ and $\textit{redundancy}$ to characterize the reasoning quality, as well as accompanying LLMs to assess them automatically. Instantiated by base models that possess strong mathematical knowledge and trained with high-quality labeled data, ReasonEval achieves state-of-the-art performance on human-labeled datasets and can accurately detect different types of errors generated by perturbation. When applied to evaluate LLMs specialized in math, we find that an increase in final-answer accuracy does not necessarily guarantee an improvement in the overall quality of the reasoning steps for challenging mathematical problems. Additionally, we observe that ReasonEval can play a significant role in data selection. We release the best-performing model, meta-evaluation script, and all evaluation results at https://github.com/GAIR-NLP/ReasonEval.
[ -0.1618826538324356, -0.864536464214325, 0.7379120588302612, 0.3728332817554474, -0.1948360949754715, 0.13417354226112366, -0.22697925567626953, -0.0860162228345871, -0.01836235448718071, 0.2918453812599182, -0.41678738594055176, -0.7462438344955444, -0.695239782333374, 0.03460649028420448, -0.3518456220626831, 0.7560222148895264, -0.1636151820421219, 0.20595067739486694, -0.8364615440368652, -0.14670485258102417, -0.4979046881198883, -0.5259634256362915, -0.4001374840736389, -0.6128091812133789, 0.17283445596694946, 0.3048149645328522, 0.8745134472846985, 0.4519292116165161, 0.8787901401519775, 0.3181631863117218, -0.07642417401075363, 0.39087939262390137, -0.6082391738891602, 0.25816047191619873, -0.5059015154838562, -0.526454508304596, -0.6346444487571716, 0.06664744764566422, 0.36481043696403503, 0.7183846235275269, -0.415493905544281, 0.3619002103805542, -0.15761445462703705, 0.8415036797523499, -0.6099153757095337, 0.1367986500263214, -0.4547630250453949, -0.29060471057891846, -0.15911158919334412, -0.24648331105709076, -0.43196386098861694, -0.8113901615142822, 0.12334936857223511, -0.3086213767528534, -0.1615753173828125, -0.2922629415988922, 0.5951933860778809, 0.5044820308685303, -0.05236857756972313, -0.42427903413772583, -0.5525181293487549, 0.9804973006248474, -0.6938944458961487, 0.5197839140892029, 0.516294002532959, 0.6501553058624268, -0.19120578467845917, -0.6268442273139954, -0.382394939661026, -0.38978302478790283, 0.19408826529979706, 0.17025457322597504, -0.29401305317878723, -0.20050683617591858, 0.37190335988998413, 0.1649322211742401, -0.5152069330215454, -0.3104311227798462, -0.2058856338262558, -0.07880870997905731, 0.828120231628418, 0.20524796843528748, 0.2368508279323578, 0.024218805134296417, -0.04359932243824005, 0.04614431783556938, -0.8075640797615051, -0.04859023168683052, 0.05781824141740799, -0.06972280144691467, 0.37012577056884766, 0.6762190461158752, -0.14476512372493744, 0.7062880396842957, -0.0665392354130745, -0.19433480501174927, 0.26224029064178467, -0.2787107527256012, -0.2552192211151123, -0.1109091117978096, 0.38870370388031006, 0.3119237720966339, 0.2672705352306366, -0.028947146609425545, -0.2895548939704895, 0.35187289118766785, 0.15160222351551056, -0.8201110363006592, -0.5328639149665833, 0.31076228618621826, -0.18994270265102386, -0.20507369935512543, -0.12048346549272537, -0.369909405708313, -0.26532986760139465, -0.7796334624290466, 0.4633883833885193, -0.4666141867637634, -0.17028895020484924, 0.2333642542362213, 0.274934321641922, -0.09277777373790741, 0.6922046542167664, -0.5013192892074585, 0.18145348131656647, 0.9602089524269104, 0.7167240381240845, -0.21806733310222626, -0.31582170724868774, -0.7020827531814575, -0.5294957756996155, -0.8653106689453125, 0.9748929738998413, -0.7293499708175659, -0.14071406424045563, -0.2763151228427887, -0.476306289434433, -0.03933316841721535, -0.6761069893836975, 1.1056591272354126, -0.9122134447097778, 0.052319567650556564, -0.5260984897613525, -0.8167603015899658, -0.3044561445713043, 0.5426226258277893, -0.36088910698890686, 0.9122154712677002, 0.11702559888362885, -0.40764790773391724, 0.3995020091533661, -0.6557321548461914, -0.22222910821437836, 0.10485844314098358, -0.09779545664787292, -0.374644011259079, 0.2290956974029541, 0.34041082859039307, 0.15502506494522095, -0.5067809820175171, 0.42939555644989014, -0.3026849925518036, -0.203010693192482, 0.4263346493244171, -0.6021367311477661, 0.8021568655967712, 0.1411472111940384, -0.04847127944231033, 0.33915698528289795, -0.6816132068634033, 0.4518541395664215, -0.030117614194750786, -0.27348506450653076, -0.2896406352519989, 0.16577693819999695, -0.5426592230796814, 0.42827335000038147, 0.35350674390792847, -0.29496508836746216, -0.14338898658752441, -0.4011460244655609, 0.39025571942329407, 0.7680565714836121, -0.1846623718738556, 0.10024691373109818, -0.43337878584861755, 0.592308521270752, -0.30743512511253357, 0.14523954689502716, -0.24313800036907196, -0.3849641978740692, -0.8267239928245544, -0.004854047205299139, 0.483064740896225, 0.6643604636192322, -0.4231862723827362, 0.6098641157150269, -0.30099159479141235, -0.8485616445541382, -0.4846995770931244, 0.197676882147789, 0.42051181197166443, 0.9011250138282776, 0.6362576484680176, 0.24441255629062653, -0.3696218430995941, -0.6132270097732544, -0.39601680636405945, -0.2597694993019104, 0.03278057277202606, 0.053806014358997345, 0.6069086194038391, -0.229575052857399, 0.8221437931060791, -0.24568723142147064, 0.012775810435414314, -0.18286864459514618, -0.011282847262918949, 0.5316489934921265, 0.34046506881713867, 0.25790664553642273, -0.47702571749687195, -0.305951863527298, -0.07298622280359268, -0.9255780577659607, -0.4523347318172455, 0.08556962758302689, -0.4564148485660553, 0.13487660884857178, 0.26859667897224426, -0.5500263571739197, 0.4485039710998535, 0.3831557333469391, -0.3306359052658081, 0.8214820623397827, -0.20500816404819489, 0.4420020580291748, -0.5939227938652039, 0.012591087259352207, 0.01700795441865921, -0.21269051730632782, -0.3667754530906677, 0.09200270473957062, 0.21534742414951324, 0.08742987364530563, -0.1748010218143463, 0.2857128083705902, -0.29656195640563965, -0.19272038340568542, -0.08938945829868317, 0.32847970724105835, 0.052632007747888565, 0.1298542469739914, 0.01130384486168623, 0.7028089761734009, 0.619483232498169, -0.47520527243614197, 0.6853898763656616, 0.2061517983675003, -0.4485066831111908, 0.8503897190093994, -0.7998753786087036, 0.10542427003383636, -0.04778781905770302, -0.003493892028927803, -1.0673727989196777, -0.12962894141674042, -0.05267979949712753, -0.7459763884544373, -0.008543356321752071, -0.13041622936725616, -0.3391839265823364, -0.26361721754074097, -0.08591081947088242, 0.25463441014289856, 0.5247882008552551, -0.8105731010437012, 0.5135899186134338, 0.24881824851036072, -0.2020658701658249, -0.48972415924072266, -0.5566607713699341, 0.1356976479291916, -0.09170174598693848, -1.0057045221328735, 0.05952287092804909, -0.336413711309433, -0.5975582599639893, -0.1621238738298416, -0.37940871715545654, -0.035535287111997604, 0.007786450907588005, -0.08930440992116928, 0.49450430274009705, -0.3060959577560425, 0.3156256675720215, 0.13125988841056824, -0.4622511565685272, 0.5007209181785583, -0.3065590560436249, 0.2918858826160431, -0.44728028774261475, -0.7562915086746216, -0.5202546715736389, -0.14420126378536224, 0.638843834400177, -0.34286317229270935, 0.38461393117904663, -0.16315722465515137, -0.5417631268501282, -0.10940979421138763, -0.6992505192756653, -0.004867489915341139, -0.40492022037506104, 0.25594136118888855, -0.48288896679878235, -0.46656906604766846, 0.41591277718544006, -0.06440360099077225, 0.28377586603164673, 0.6149658560752869, 0.45815354585647583, -0.043677136301994324, 1.1681654453277588, -0.04780779033899307, 0.3531879782676697, -0.11284978687763214, -0.11592608690261841, 0.16574057936668396, -0.6604326963424683, -0.39686888456344604, -0.5604127645492554, -0.12085641920566559, -0.13628092408180237, -0.6096019744873047, 0.24239599704742432, 0.4418422281742096, -0.25221455097198486, 0.15678584575653076, -0.4902375042438507, 0.8623393774032593, 0.12278471142053604, 0.028623206540942192, 0.5063081979751587, 0.022006813436746597, -0.14577580988407135, -0.44459402561187744, -0.4520263671875, -0.7864401936531067, 1.2401247024536133, 0.2479139119386673, 0.747276782989502, 0.24159187078475952, 0.5864629745483398, 0.31329545378685, 0.7266201376914978, -0.7417859435081482, 0.5813456177711487, 0.04874693974852562, -0.30335065722465515, -0.4421366751194, -0.6376374363899231, -0.6249545216560364, 0.5131701827049255, 0.06475485116243362, -0.43828222155570984, -0.14333458244800568, 0.18420450389385223, -0.36640945076942444, 0.0871259793639183, -0.5183575749397278, 0.8175808787345886, -0.5800742506980896, -0.48804864287376404, -0.3373374938964844, -0.29772669076919556, 0.43509429693222046, -0.2107374519109726, 0.14337342977523804, -0.14610075950622559, -0.0323251336812973, 0.6135619878768921, -0.8474355340003967, 0.2015753984451294, -0.014620041474699974, -0.11619314551353455, 0.3295421898365021, 0.4982713460922241, 0.5309268236160278, 0.17561231553554535, -0.3942367136478424, 0.35285621881484985, -0.07407442480325699, -0.4110974967479706, -0.9685807824134827, 0.9082812070846558, -0.5657957792282104, -0.7171886563301086, -0.4494105577468872, -0.19185984134674072, -0.3831702470779419, 0.1326356828212738, 0.09391916543245316, 0.451534241437912, 0.07147721946239471, 0.10452600568532944, 0.7314959168434143, 0.06075393408536911, 0.06898628175258636, 0.29963845014572144, -0.3342894911766052, -0.5779039859771729, 0.8400002717971802, 0.24721576273441315, 0.29764631390571594, 0.3596132695674896, 0.4455816149711609, -0.7613914608955383, -0.7390412092208862, -0.4601816236972809, 0.16048042476177216, -0.9935150742530823, -0.1984420120716095, -0.3471626043319702, -0.30753087997436523, -0.1699257642030716, -0.045500967651605606, -0.4267539083957672, -0.5183037519454956, -0.24147933721542358, -0.19285400211811066, 0.1129712462425232, 0.39183270931243896, -0.056021321564912796, -0.24320074915885925, -0.6722737550735474, 0.1589609980583191, 0.3688523769378662, 0.17849890887737274, -0.1308165341615677, -0.8636950254440308, 0.19090178608894348, 0.045077137649059296, -0.20231500267982483, -0.5998093485832214, 0.3794759511947632, -0.0033685967791825533, 0.790990948677063, 0.3274776339530945, -0.04219543933868408, 0.9425923228263855, -0.34162330627441406, 0.4189011752605438, 0.25712713599205017, -1.1700222492218018, 0.8348062038421631, -0.026246899738907814, 0.24498209357261658, 0.5823612809181213, 0.23619996011257172, -0.1751329004764557, 0.019200081005692482, -0.552218496799469, -0.4796840250492096, 0.4512997269630432, 0.4280267655849457, -0.16373763978481293, -0.08887013047933578, 0.37147217988967896, -0.049274686723947525, 0.07302407920360565, -0.255023330450058, 0.07086729258298874, -0.151912659406662, -0.07174784690141678, 0.12000824511051178, -0.2775237560272217, -0.08627943694591522, -0.29917019605636597, 0.6823129653930664, 0.0015797552186995745, -0.08234298974275589, 0.3081621527671814, -0.3662623167037964, -0.1974712610244751, 0.2694675624370575, 0.8373159766197205, 1.6255683898925781, -0.04672345891594887, 0.08432240039110184, 0.31590351462364197, -0.2536340355873108, -0.017496028915047646, 0.16135036945343018, -0.003939099609851837, 0.01686948724091053, 0.6586408615112305, 0.3488044738769531, -0.04200611263513565, -0.817612886428833, 0.5280879139900208, 0.04180257394909859, -0.1440357118844986, -0.4509316086769104, 0.12404832243919373, 0.014579004608094692, 0.25162264704704285, 0.39220285415649414, 0.4127922058105469, 0.11103495210409164, -0.14059635996818542, 0.26285478472709656, 0.36989539861679077, -0.22873073816299438, -0.27561771869659424, 0.5655364394187927, 0.1140117421746254, -0.4392038881778717, 0.735436737537384, -0.09082794189453125, -0.6184847950935364, 0.7254760265350342, 0.32132238149642944, 0.7080608606338501, -0.4423096179962158, 0.14418672025203705, 0.5583914518356323, 0.4792041480541229, -0.21165035665035248, 0.47596222162246704, 0.015154700726270676, -0.6092313528060913, -0.8486422896385193, -0.5640445351600647, -0.5386624932289124, 0.015742210671305656, -0.44141697883605957, 0.2608067989349365, -0.5817983746528625, -0.14603252708911896, -0.16295090317726135, -0.10943955183029175, -0.3453279435634613, 0.3443549871444702, -0.153939887881279, 1.0118699073791504, -0.5704668164253235, 0.4516008496284485, 0.5379428267478943, -0.2099151611328125, -0.5397005677223206, -0.31044307351112366, 0.019686125218868256, -0.793100118637085, 0.8351609706878662, 0.11507392674684525, -0.35577017068862915, -0.22882525622844696, -0.49080920219421387, -0.8449435234069824, 0.8567020893096924, 0.5612211227416992, -0.734409749507904, 0.3728066682815552, -0.04092474654316902, 0.7020856738090515, -0.23584994673728943, 0.5794323682785034, 0.7341775298118591, 0.4717382490634918, 0.605313241481781, -0.6898608803749084, -0.15219151973724365, -0.321840763092041, -0.12179633975028992, 0.23086963593959808, -0.2609114944934845, 0.7486169338226318, -0.5799961686134338, -0.10533978044986725, -0.005309063009917736, 0.6493044495582581, 0.8719996213912964, 0.4178042709827423, 0.3522009551525116, 0.8278486728668213, 1.1473274230957031, -0.3577585220336914, 0.9959999322891235, -0.11965642869472504, 0.4073714315891266, 1.1574745178222656, -0.3831787705421448, 0.882203996181488, 0.22580979764461517, -0.45723801851272583, 0.37950921058654785, 0.6392887234687805, 0.16006825864315033, 0.21014094352722168, 0.4671655595302582, -0.1475083976984024, -0.9262977838516235, 0.13125604391098022, -0.39453598856925964, 0.09732074290513992, 0.5756149291992188, -0.22020085155963898, -0.4327625334262848, -0.3852235674858093, -0.051213353872299194, 0.3987247943878174, -0.369902104139328, 0.25109991431236267, 0.007344464771449566, -0.758362352848053, 0.7984429597854614, -0.09855400025844574, 0.0921158418059349, -0.3977227509021759, -0.3387027084827423, -0.35931000113487244, 0.24664735794067383, -0.43106338381767273, -0.9879067540168762, 0.4717455804347992, 0.06959235668182373, -0.028442146256566048, -0.04398534819483757, 0.6791107654571533, -0.2126033902168274, -0.7493038177490234, 0.027189116925001144, 0.5207040309906006, 0.3063577115535736, -0.13166075944900513, -0.8296410441398621, 0.11123868823051453, -0.20473508536815643, -0.15195581316947937, -0.14754065871238708, 0.5218406915664673, -0.22668224573135376, 0.9370031952857971, 1.0264594554901123, 0.07390163838863373, -0.1281089186668396, 0.3724730312824249, 0.77089524269104, -0.526125967502594, -0.39440304040908813, -1.2030376195907593, 0.43259498476982117, -0.2694832682609558, -0.4345591962337494, 0.8572731614112854, 0.5652912855148315, 0.5882874131202698, 0.3044067621231079, 0.5872908234596252, 0.3838098347187042, 0.5846996903419495, -0.6195809245109558, 0.4554471969604492, -0.323916494846344, 0.6244515180587769, -0.37629666924476624, -1.0089529752731323, -0.7397475242614746, 0.9679602980613708, -0.6886760592460632, 0.11549089103937149, 0.7067569494247437, 0.6588295698165894, 0.02127237617969513, 0.18792486190795898, 0.5503531694412231, 0.17184679210186005, 0.46032214164733887, 0.7021458745002747, 1.2932586669921875, -0.31122732162475586, 0.5837084650993347, 0.08125696331262589, -0.5042273998260498, -0.07398603856563568, -0.9458896517753601, -1.0578701496124268, -0.09278269112110138, -0.5557262301445007, -0.5413506031036377, 0.03038894385099411, 0.9063735604286194, 0.6117475628852844, -0.9099690318107605, 0.0028833188116550446, -0.4686700999736786, 0.4029327630996704, -0.2575680613517761, -0.20641328394412994, 0.5927654504776001, -0.46110308170318604, -0.4389740526676178, 0.5252203941345215, 0.4821047782897949, -0.3008396625518799, -0.3015997111797333, -0.244522362947464, 0.17499050498008728, 0.2564127445220947, 0.753762423992157, 0.04531996697187424, -0.8275645971298218, 0.016358507797122, 0.23455710709095, 0.04488752782344818, 0.13681907951831818, 0.5409255623817444, -0.6015598177909851, 0.6119263768196106, 0.8153883814811707, 0.8162686228752136, 0.16267147660255432, 0.2075713723897934, 0.23777297139167786, 0.023342624306678772, -0.616742730140686, 0.42811572551727295, 0.43502917885780334, 0.376399427652359, -0.08332344889640808, 0.6068192720413208, 0.26925942301750183, -0.7972484230995178, -0.6956618428230286, 0.07700775563716888, -0.5708221793174744, -0.12503015995025635, 0.9660546183586121, -0.2879766821861267, -0.16995099186897278, 0.058344271034002304, -0.25286075472831726, -0.25454315543174744, -0.3521538972854614, 0.859272837638855, 1.0443722009658813, -0.4573456346988678, -0.23825593292713165, -0.5238191485404968, 0.2976091504096985, 0.5310075879096985, -1.1299738883972168, 0.08714833110570908, 0.7909181118011475, 0.29535573720932007, 0.40572601556777954, 0.3766508400440216, -0.36559879779815674, 0.5773787498474121, -0.3008861541748047, -0.4557132124900818, -0.07639776170253754, -0.46265819668769836, -0.31470271944999695, 0.25658631324768066, 0.09587854146957397, 0.058494407683610916 ]
http://arxiv.org/abs/2404.05659v2
http://arxiv.org/pdf/2404.05659v2
VietMed: A Dataset and Benchmark for Automatic Speech Recognition of Vietnamese in the Medical Domain
2024-04-08T16:43:52
2024-05-28T05:27:48
Khai Le-Duc
cs.CL
cs.CL, cs.AI, eess.AS
Due to privacy restrictions, there's a shortage of publicly available speech recognition datasets in the medical domain. In this work, we present VietMed - a Vietnamese speech recognition dataset in the medical domain comprising 16h of labeled medical speech, 1000h of unlabeled medical speech and 1200h of unlabeled general-domain speech. To our best knowledge, VietMed is by far the world's largest public medical speech recognition dataset in 7 aspects: total duration, number of speakers, diseases, recording conditions, speaker roles, unique medical terms and accents. VietMed is also by far the largest public Vietnamese speech dataset in terms of total duration. Additionally, we are the first to present a medical ASR dataset covering all ICD-10 disease groups and all accents within a country. Moreover, we release the first public large-scale pre-trained models for Vietnamese ASR, w2v2-Viet and XLSR-53-Viet, along with the first public large-scale fine-tuned models for medical ASR. Even without any medical data in unsupervised pre-training, our best pre-trained model XLSR-53-Viet generalizes very well to the medical domain by outperforming state-of-the-art XLSR-53, from 51.8% to 29.6% WER on test set (a relative reduction of more than 40%). All code, data and models are made publicly available: https://github.com/leduckhai/MultiMed.
[ -0.16545407474040985, 0.02821812592446804, 0.46463286876678467, 0.032480936497449875, -0.37988996505737305, -0.021437523886561394, -0.28339746594429016, -0.39195704460144043, 0.008709722198545933, 0.8100362420082092, 0.03819047659635544, -0.653832733631134, -0.8002586960792542, 0.24956034123897552, -0.27730581164360046, 0.7885239124298096, -0.013110717758536339, 0.5413919687271118, 0.06261434406042099, -0.6808129549026489, -0.09136839956045151, -0.9047455191612244, -0.4052309989929199, -0.11412196606397629, 0.4710305631160736, 0.3849777281284332, 0.3930680453777313, 0.8047583103179932, 0.6746209859848022, 0.30092981457710266, 0.04236409068107605, 0.30628105998039246, -0.18704046308994293, -0.1176948994398117, 0.11165859550237656, -0.011937723495066166, -0.6169154644012451, 0.09555552899837494, 0.7348059415817261, 0.3248947560787201, -0.029849085956811905, 0.15519914031028748, -0.18028153479099274, 0.5495509505271912, -0.28740182518959045, 0.14321665465831757, -0.5290396809577942, -0.152021124958992, -0.1587512195110321, -0.22575582563877106, -0.10816821455955505, -0.39015233516693115, 0.410007119178772, -0.5054931640625, 0.031117279082536697, -0.3113659620285034, 0.8238948583602905, 0.48646554350852966, -0.7059195041656494, -0.042730867862701416, -0.7462317943572998, 0.43791505694389343, -0.21554532647132874, 0.43862849473953247, 0.42396655678749084, 0.7566189169883728, 0.23766034841537476, -0.8242172598838806, -0.0754774957895279, -0.375416100025177, 0.05812402814626694, 0.25296318531036377, -0.4202164113521576, 0.21170325577259064, 0.2388077676296234, 0.2839720547199249, -0.8268561363220215, 0.10804030299186707, -0.7159695029258728, -0.2144239991903305, 0.7750231027603149, -0.023625003173947334, 0.1033327728509903, 0.05689217895269394, -0.4903166890144348, 0.1065596416592598, -0.7188287973403931, -0.303548663854599, -0.3227936327457428, 0.36902812123298645, -0.39296722412109375, 0.5936968326568604, -0.2938503324985504, 0.7202091813087463, -0.4030664563179016, -0.05184073746204376, 0.6872718334197998, -0.2740205228328705, -0.3178088665008545, 0.27857062220573425, 0.8061730861663818, 0.3945794999599457, 0.5862842202186584, 0.172823965549469, -0.2879835069179535, 0.4499962031841278, 0.21145497262477875, -0.6132078766822815, -0.3679245114326477, 0.4079657793045044, -0.5392504930496216, 0.18697720766067505, 0.2505636215209961, -0.27438420057296753, -0.45402011275291443, -0.6199845671653748, 0.4487340748310089, -0.15689466893672943, -0.21587182581424713, 0.28630390763282776, -0.10855656862258911, -0.08500112593173981, 0.08257471024990082, -0.12110637128353119, 0.5274208188056946, 0.6155638098716736, 0.8026702404022217, -0.3091690242290497, -0.2023564726114273, -0.7175649404525757, 0.12051662057638168, -0.228836327791214, 0.8601426482200623, -0.23474469780921936, -0.5397705435752869, -0.14733614027500153, 0.15445876121520996, -0.030610250309109688, -1.1338942050933838, 0.410145103931427, -0.07296962291002274, 0.08654135465621948, 0.04225767403841019, -0.6666620373725891, 0.008305881172418594, -0.18004120886325836, -0.6758390069007874, 0.48848962783813477, 0.06381278485059738, -0.6431610584259033, 0.3167315125465393, -0.6393733620643616, -0.16728927195072174, 0.19763007760047913, -0.4598487615585327, -0.5543102622032166, 0.09452420473098755, 0.033840078860521317, 0.35278600454330444, -0.5555852651596069, 0.14643695950508118, 0.005232228897511959, -0.37627002596855164, 0.2848415672779083, -0.3793722093105316, 0.7969091534614563, 0.39651235938072205, -0.03291050344705582, 0.2937282621860504, -0.9981905817985535, 0.11443573981523514, 0.022432005032896996, -0.4671243131160736, -0.39932313561439514, -0.36541038751602173, 0.3048289120197296, 0.4942260682582855, -0.04406904801726341, -0.6519125699996948, -0.026217041537165642, -0.34654954075813293, 0.4332420825958252, 0.3695843815803528, 0.041244860738515854, -0.05287348851561546, -0.49600502848625183, 0.37757909297943115, 0.2054351568222046, 0.18547971546649933, -0.07140117138624191, -0.6538203358650208, -0.38573989272117615, -0.8746517300605774, 0.4251280426979065, 0.52089923620224, -0.4516240060329437, 0.5494853258132935, -0.3170924484729767, -0.6080531477928162, -1.1517750024795532, -0.39748427271842957, 0.6070898175239563, 0.5820944309234619, 0.46775224804878235, -0.2270970195531845, -0.779772937297821, -0.8469551205635071, -0.1846340447664261, -0.3040027916431427, -0.5537223815917969, 0.4472712278366089, 0.3151096999645233, -0.7918623089790344, 0.6755183935165405, -0.5590620040893555, -0.5789195895195007, 0.16567254066467285, -0.11842700839042664, 0.19448153674602509, 0.3327304422855377, 0.40398722887039185, -0.9130762815475464, -0.4959656596183777, 0.03846454247832298, -0.642080545425415, -0.3656083345413208, 0.3868788778781891, 0.16331729292869568, 0.2842942178249359, 0.25485894083976746, -0.4498954117298126, 0.4442194104194641, 0.7250794172286987, -0.34675532579421997, 0.31337133049964905, -0.5665494799613953, 0.10488519072532654, -1.0006216764450073, 0.30523017048835754, -0.14105474948883057, -0.3497522175312042, -0.655185878276825, -0.3000353276729584, 0.03387271240353584, -0.20405201613903046, -0.43443724513053894, 0.6084672212600708, -0.30088376998901367, -0.09788655489683151, -0.4003707468509674, -0.24025382101535797, -0.10404127836227417, -0.11881833523511887, 0.3768819272518158, 0.6203970313072205, 0.6812726259231567, -0.62973552942276, 0.49883830547332764, 0.07639866322278976, -0.2612781524658203, 0.5692343711853027, -0.9918307065963745, 0.03098452277481556, 0.101670041680336, 0.21786385774612427, -0.5911527276039124, -0.15388017892837524, -0.0285435002297163, -0.6068731546401978, 0.054461389780044556, -0.16598474979400635, -0.2636033892631531, -0.4859991669654846, 0.04321025311946869, 0.37115299701690674, 0.6436665058135986, -0.45637059211730957, 0.274563193321228, 1.0157420635223389, -0.13852940499782562, -0.15128697454929352, -0.2466956228017807, -0.04608501121401787, -0.39495983719825745, -0.1991262584924698, 0.37169337272644043, -0.08438071608543396, -0.30360081791877747, -0.3170351982116699, -0.06719298660755157, -0.6163266897201538, -0.23523765802383423, 0.4772408902645111, 0.32493317127227783, -0.3570372462272644, 0.28206881880760193, -0.3964449465274811, -0.6235821843147278, 0.0389956496655941, -0.3425770699977875, 0.32859930396080017, -0.021635614335536957, -0.28326335549354553, -0.653869092464447, 0.32952573895454407, 0.7698740363121033, -0.12392439693212509, 0.08413469046354294, 0.36817386746406555, -0.7415448427200317, 0.41685956716537476, -0.5029793381690979, 0.09097123891115189, -0.3664694130420685, 0.4063430726528168, -0.2873087227344513, -0.726934015750885, 0.12248888611793518, 0.02099616266787052, -0.05153055116534233, 0.49401092529296875, 0.6272434592247009, 0.13266368210315704, 0.985645055770874, 0.25750330090522766, -0.4756121039390564, 0.009325895458459854, -0.03591384366154671, -0.4023636281490326, -0.4561583995819092, -0.1973811686038971, -0.6885955333709717, 0.11667466908693314, -1.043677568435669, -0.7142463326454163, 0.580544114112854, -0.5584684610366821, -0.4604167640209198, 0.27368253469467163, -0.8083016276359558, 0.11070921272039413, 0.5999692678451538, 0.1317039430141449, 0.42694348096847534, -0.07186626642942429, 0.09180743992328644, -0.12582919001579285, -0.3618565797805786, -0.49137723445892334, 1.1893202066421509, 0.2195298671722412, 0.7776188254356384, -0.49909019470214844, 0.7200495600700378, 0.21014085412025452, 0.023890074342489243, -0.6572807431221008, 0.21352306008338928, -0.6416909098625183, -0.38214895129203796, -0.11393944919109344, -0.6919646859169006, -1.1260452270507812, -0.07104954123497009, -0.0017082109116017818, -0.15829972922801971, 0.04778192937374115, 0.1654893010854721, -0.33533525466918945, 0.004420141689479351, -0.5732852220535278, 0.4997785687446594, -0.3080117702484131, 0.3865934908390045, -0.0473146066069603, -0.8812723159790039, -0.19476473331451416, -0.2712334394454956, -0.027916857972741127, -0.2498171627521515, -0.1999392807483673, 0.7193585634231567, -0.5606399774551392, 0.29987141489982605, -0.45949608087539673, 0.17599573731422424, 0.15255451202392578, -0.6808544397354126, 0.0546627976000309, 0.1806129515171051, 0.11719043552875519, 0.6612442135810852, -0.04994157701730728, -0.21489830315113068, -0.10502979159355164, 0.44923049211502075, -0.9827710390090942, -0.13801422715187073, -0.6385666728019714, -0.09310207515954971, -0.16192083060741425, 0.15703338384628296, 0.5949368476867676, 0.47655993700027466, -0.3574322462081909, 0.07076776027679443, 0.600252091884613, -0.4281966984272003, -0.19568565487861633, 0.8802152276039124, -0.06662654876708984, -0.7652664184570312, 1.1171295642852783, 0.42891690135002136, -0.06328391283750534, 0.38765254616737366, 0.1768501251935959, -0.2979336082935333, -0.2206665724515915, -0.24338868260383606, 0.41443750262260437, -0.2992464005947113, -0.2733915150165558, -0.9421172142028809, -0.8824041485786438, -0.3832073509693146, 0.11666834354400635, -0.5654608607292175, -0.3338998854160309, -0.1473977416753769, -0.07414240390062332, 0.5760943293571472, 0.9198898673057556, -0.21298976242542267, 0.20109286904335022, -0.7521803975105286, 0.890688419342041, 0.3532268702983856, 0.290134459733963, -0.6256577968597412, -0.5553320050239563, -0.11834737658500671, 0.0006080062012188137, 0.1591641902923584, -0.33700644969940186, 0.5375003218650818, 0.2961237132549286, 0.32486414909362793, 0.4797150492668152, 0.1343846470117569, 0.5569705367088318, -0.8254643082618713, 0.3178962767124176, 0.06828858703374863, -0.4826520085334778, 0.564555287361145, -0.0762317106127739, 0.5062938928604126, 0.4943462610244751, 0.5113744735717773, -0.6513291001319885, -0.3180340826511383, -0.5682061910629272, -0.7777668237686157, 0.4409593939781189, 0.13776396214962006, -0.2760382294654846, 0.18682655692100525, 0.07849492877721786, 0.2651197612285614, 0.24088527262210846, -0.005206185858696699, -0.3923571705818176, -0.12057415395975113, -0.24180497229099274, -0.4656555652618408, -0.12306033819913864, -0.22142919898033142, -0.5095206499099731, 0.3887106478214264, 0.06429503858089447, 0.6476635932922363, 0.19626812636852264, 0.024168429896235466, 0.17257292568683624, 0.036319103091955185, 0.6207671165466309, 0.6835792660713196, -0.1276007741689682, 0.26159095764160156, 0.024222517386078835, -0.9375949501991272, 0.3144693076610565, 0.5862092971801758, 0.2246178239583969, 0.47640588879585266, 0.2622104287147522, 0.6333250999450684, -0.09344486892223358, -0.8753216862678528, 0.5222300887107849, -0.4483301341533661, 0.03732325881719589, -0.5370407700538635, -0.07739900797605515, -0.16151201725006104, 0.08195390552282333, 0.4002014100551605, -0.014797174371778965, 0.24084410071372986, 0.00869813933968544, 0.6402402520179749, 0.029826022684574127, -0.7786508798599243, -0.38688960671424866, 0.6676297187805176, 0.11682480573654175, -0.3174140453338623, 0.6956065893173218, 0.46505990624427795, -0.39159131050109863, 0.5917852520942688, 0.25583842396736145, 0.8079026937484741, -0.645573616027832, 0.16386932134628296, 0.25419729948043823, -0.015464907512068748, -0.10013017803430557, 0.6929184794425964, 0.2717668414115906, -0.3603239357471466, -0.00698456633836031, -0.2792973220348358, -0.510628879070282, 0.21951648592948914, -0.8705689311027527, 0.5685614943504333, -0.1529868096113205, -0.35643112659454346, 0.1898602396249771, 0.0693560391664505, -0.5041499733924866, 0.6165519952774048, 0.16410504281520844, 0.8671168088912964, -0.6219649910926819, 1.0220404863357544, 0.8505461812019348, 0.09258689731359482, -0.3097863495349884, -0.08187898993492126, 0.3040381371974945, -1.0622539520263672, 0.21641305088996887, 0.4757845103740692, -0.07077530026435852, -0.09069990366697311, -0.32608214020729065, -0.6206555366516113, 0.7998132109642029, 0.5150670409202576, -0.5118946433067322, 0.02154296264052391, 0.2918477952480316, 0.786530613899231, -0.5478019118309021, -0.055942434817552567, 0.6021789312362671, 0.1991594433784485, -0.07468981295824051, -1.173885464668274, -0.16860388219356537, -0.3455597162246704, -0.05375627055764198, -0.043676797300577164, -0.5932877063751221, 0.6866872906684875, -0.1989191174507141, -0.045537203550338745, 0.10363276302814484, 0.35289812088012695, 0.6381216049194336, 0.5383147597312927, 0.44779476523399353, 0.21623310446739197, 0.959322988986969, -0.04022858291864395, 0.7432308793067932, -0.41701433062553406, 0.009944399818778038, 1.051447868347168, -0.4398059844970703, 0.6675046682357788, 0.03787451237440109, 0.08925862610340118, -0.2131662219762802, 0.5254711508750916, 0.07089917361736298, 0.5956317782402039, 0.19821421802043915, -0.34061962366104126, -0.11959001421928406, -0.3925444483757019, -0.8307978510856628, 0.8141568303108215, 0.29849356412887573, -0.47315606474876404, 0.32960280776023865, 0.3128435015678406, -0.02260752208530903, -0.059591904282569885, -0.25362396240234375, 1.0543164014816284, 0.28685659170150757, -0.21454615890979767, 0.7696741819381714, -0.2839493751525879, 0.5039045810699463, -0.6104716658592224, -0.08332724124193192, 0.18102647364139557, 0.3308447599411011, -0.046696197241544724, -0.4866766035556793, 0.26221513748168945, 0.0762486606836319, -0.13355478644371033, -0.036505911499261856, 0.6055989861488342, -0.5680041909217834, -0.34719565510749817, 0.5487335324287415, 0.3318033516407013, 0.4026026129722595, -0.35203036665916443, -0.4582046568393707, 0.09138958156108856, -0.35371673107147217, 0.20999345183372498, 0.24152441322803497, 0.4992296099662781, 0.06405771523714066, 0.5064214468002319, 0.14718198776245117, 0.5462599992752075, -0.2762982249259949, 0.1809883564710617, 0.9785320162773132, -0.6672427654266357, -0.5205545425415039, -0.5503429174423218, 0.37623533606529236, -0.06318999081850052, -0.649837851524353, 0.48074206709861755, 0.8683257102966309, 0.8165729641914368, 0.04286285117268562, 0.8318856954574585, 0.437250018119812, 0.9835360050201416, -0.27630615234375, 1.127907633781433, -0.5448637008666992, -0.1749952733516693, -0.20620431005954742, -0.47409528493881226, -0.4266059398651123, 0.5194581747055054, 0.08280187845230103, 0.09448792040348053, 0.3975144326686859, 0.5029556155204773, 0.1385508030653, -0.15693238377571106, 0.6783245205879211, 0.35623008012771606, 0.04094235971570015, 0.4960797429084778, 0.7522761225700378, -0.3229066729545593, 0.3754478693008423, -0.1102321669459343, -0.386959433555603, -0.3974204957485199, -0.06456500291824341, -0.6198724508285522, -0.8421403765678406, -0.37154150009155273, -0.31280389428138733, 0.4135447144508362, 1.256272792816162, 0.867279589176178, -0.9992333054542542, -0.4544239342212677, 0.4813326597213745, -0.18489257991313934, -0.3068123757839203, -0.09115210920572281, 0.5039575695991516, 0.39650142192840576, -0.5490744113922119, 0.5012607574462891, 0.48755764961242676, 0.2093266397714615, 0.24951253831386566, -0.1861768513917923, 0.07037155330181122, -0.227458193898201, 0.5165404081344604, 0.35744380950927734, -0.40087729692459106, -0.14142543077468872, 0.02371414564549923, -0.5252139568328857, 0.5161203742027283, 0.8521654009819031, -0.7902753949165344, 0.6906024217605591, 0.21360112726688385, 0.3986680209636688, 0.12525895237922668, 0.11374156177043915, 0.6063700914382935, -0.4677865207195282, 0.1582813858985901, 0.5415749549865723, 0.29588788747787476, 0.2791869640350342, -0.13228696584701538, 0.6717439889907837, 0.1512918621301651, -0.8523673415184021, -0.9476794004440308, -0.034719593822956085, -0.749484658241272, 0.03633049875497818, 1.0180916786193848, -0.307931512594223, 0.045493606477975845, -0.6145610809326172, -0.30679139494895935, 0.5117179751396179, -0.4737076461315155, 0.7502180337905884, -0.028406495228409767, -0.20506401360034943, 0.22860081493854523, -0.45147040486335754, 0.6909719705581665, -0.18022863566875458, -0.9139143228530884, 0.10872645676136017, 0.6178460121154785, 0.17486241459846497, -0.10162444412708282, 1.027112603187561, -0.2597965896129608, 0.5282943844795227, -0.22726963460445404, -0.07500793784856796, 0.09528566896915436, -0.7469704151153564, -0.7474581003189087, -0.06334743648767471, 0.03265425190329552, -0.4745160937309265 ]
http://arxiv.org/abs/2404.05656v2
http://arxiv.org/pdf/2404.05656v2
Causality Extraction from Nuclear Licensee Event Reports Using a Hybrid Framework
2024-04-08T16:39:34
2024-04-22T15:25:20
Shahidur Rahoman Sohag, Sai Zhang, Min Xian, Shoukun Sun, Fei Xu, Zhegang Ma
cs.CL
cs.CL, cs.AI, cs.LG
Industry-wide nuclear power plant operating experience is a critical source of raw data for performing parameter estimations in reliability and risk models. Much operating experience information pertains to failure events and is stored as reports containing unstructured data, such as narratives. Event reports are essential for understanding how failures are initiated and propagated, including the numerous causal relations involved. Causal relation extraction using deep learning represents a significant frontier in the field of natural language processing (NLP), and is crucial since it enables the interpretation of intricate narratives and connections contained within vast amounts of written information. This paper proposed a hybrid framework for causality detection and extraction from nuclear licensee event reports. The main contributions include: (1) we compiled an LER corpus with 20,129 text samples for causality analysis, (2) developed an interactive tool for labeling cause effect pairs, (3) built a deep-learning-based approach for causal relation detection, and (4) developed a knowledge based cause-effect extraction approach.
[ -0.2474423348903656, -0.7625608444213867, 0.848633348941803, 0.04893403872847557, -0.284501314163208, -0.14961910247802734, -0.12190283834934235, -0.6164026260375977, 0.07034864276647568, 0.5373244881629944, -0.36780399084091187, -0.3944151997566223, -0.530730128288269, -0.0219175536185503, -0.10229148715734482, 1.1567161083221436, -0.020275136455893517, 0.07007445394992828, -0.2415868639945984, 0.08332589268684387, -0.6279993057250977, -0.311236172914505, -0.5483142137527466, -0.7219833135604858, 0.5624794363975525, 0.30750977993011475, 0.4886169731616974, 0.3227539658546448, 0.44937068223953247, 0.2878403961658478, 0.212116539478302, 0.1425294727087021, -0.34821829199790955, -0.06335323303937912, -0.21646392345428467, -0.26010754704475403, -0.39219632744789124, 0.12585997581481934, 0.7043209075927734, 0.52861088514328, 0.06411924958229065, -0.1677531749010086, 0.023099103942513466, 0.43641310930252075, -0.6674281358718872, 0.4527933895587921, -0.5170727968215942, 0.19497767090797424, -0.05906371399760246, -0.7702794075012207, -0.6303250193595886, -0.1583142727613449, 0.027439314872026443, -0.6927299499511719, 0.13218197226524353, -0.08763445168733597, 0.9279099106788635, 0.060133110731840134, -0.7217298746109009, -0.1637076735496521, -1.0664141178131104, 0.7855650782585144, -0.9076876640319824, 0.3205089867115021, 0.17817217111587524, 0.15296608209609985, -0.42003190517425537, -0.6312119364738464, -0.49218806624412537, -0.22795715928077698, -0.42466142773628235, 0.22502350807189941, 0.012298263609409332, 0.10559730976819992, 0.22125554084777832, 0.4585162401199341, -0.6678207516670227, 0.560094952583313, -0.3415611684322357, -0.2650853991508484, 0.7231644988059998, 0.24800297617912292, 0.4567747712135315, -0.5431631207466125, -0.7314482927322388, -0.050636060535907745, -0.5939887166023254, -0.38900378346443176, 0.5357310175895691, 0.1372458040714264, -0.3966730237007141, 0.37151896953582764, -0.13339123129844666, 0.5597515106201172, -0.42711034417152405, -0.1891031414270401, 0.12817560136318207, -0.3691977560520172, -0.4943855106830597, 0.32031193375587463, 1.0888826847076416, 0.09024836868047714, -0.006498943082988262, -0.39158180356025696, 0.1483755260705948, -0.032597433775663376, 0.016503987833857536, -0.4603898823261261, -0.28965866565704346, 0.2928631901741028, -0.5853528380393982, -0.4547674357891083, 0.40623560547828674, -1.0724493265151978, -0.6183030009269714, -0.4425713121891022, 0.2825251817703247, -0.42363959550857544, -0.7348949909210205, 0.03614401817321777, -0.47373563051223755, 0.4302625060081482, -0.12779073417186737, -0.4433620274066925, 0.13648627698421478, 0.6531930565834045, 0.625332236289978, -0.22014780342578888, -0.22335004806518555, -0.6700870990753174, 0.3821912407875061, 0.15271592140197754, 0.738106906414032, -0.2377498298883438, -0.3178764283657074, -0.08641721308231354, -0.29610398411750793, -0.31262850761413574, -0.49019891023635864, 0.5843247771263123, -0.7519959211349487, 0.15636038780212402, 0.13625195622444153, -0.7366337180137634, -0.04347936064004898, -0.07530274987220764, -0.737748384475708, 0.8343589305877686, -0.12792886793613434, -1.0523130893707275, 0.5758324861526489, -0.36552202701568604, -0.5964946150779724, 0.1932143121957779, -0.5162193179130554, -0.5737748742103577, -0.013765640556812286, -0.07372868061065674, 0.5063070058822632, -0.4116542935371399, 0.7397552728652954, -0.4005211591720581, 0.1964607536792755, 0.32350075244903564, -0.3126915693283081, 0.7210960984230042, 0.13077151775360107, -0.44655635952949524, 0.3761180639266968, -1.1742675304412842, -0.31898269057273865, 0.043535131961107254, -0.2521987557411194, -0.5178341269493103, 0.24034012854099274, 0.20525291562080383, 0.5175356864929199, 0.048155833035707474, -0.6254156231880188, -0.23591648042201996, -0.3968610465526581, -0.21595360338687897, 0.46022090315818787, 0.5667007565498352, 0.5197860598564148, -0.047552622854709625, 0.37844058871269226, 0.187867671251297, 0.10750044882297516, 0.07634899020195007, -0.3458348214626312, -0.5436108112335205, 0.03035634011030197, -0.07448582351207733, 0.6399831771850586, -0.9142815470695496, 0.7715242505073547, 0.01256911177188158, -0.3227689862251282, 0.17603141069412231, 0.1053827702999115, 0.4279733896255493, 0.9832273125648499, 0.24563513696193695, 0.13682518899440765, -0.8876787424087524, -0.8855913877487183, -0.2977578043937683, -0.20215833187103271, -0.09934812784194946, 0.129778653383255, 0.452297180891037, 0.045023784041404724, 1.0270243883132935, -0.7413151264190674, -0.5091175436973572, -0.34753504395484924, 0.5098828673362732, 0.29704412817955017, 0.4558292329311371, 0.29345449805259705, -1.0772124528884888, -0.019730955362319946, 0.31190288066864014, -1.3276079893112183, 0.14985226094722748, -0.49762609601020813, 0.07746230810880661, 0.005998322274535894, 0.7395538687705994, -0.29136937856674194, 0.31687217950820923, 0.21212798357009888, -0.25268831849098206, 0.7870752215385437, -0.37399056553840637, 0.025932246819138527, -1.1425983905792236, 0.2514239251613617, 0.20639385282993317, 0.0794917568564415, -0.49909287691116333, -0.14576880633831024, -0.1674257218837738, -0.11689815670251846, -0.38854649662971497, 0.16721229255199432, -0.4187310039997101, -0.24933543801307678, -0.29624974727630615, -0.03811279684305191, -0.06407546252012253, 0.24830646812915802, 0.3579350709915161, 0.1696513295173645, 0.17196325957775116, -0.5874204635620117, 0.2268679141998291, 0.04163287580013275, -0.2040424793958664, 0.2506023943424225, -0.35201096534729004, -0.16379113495349884, -0.014969906769692898, 0.2228652387857437, -0.6368115544319153, -0.2544489800930023, 0.2235354632139206, -0.22440484166145325, 0.40131086111068726, -0.07337106764316559, -0.5253071784973145, 0.022937297821044922, -0.055642906576395035, 0.2532573640346527, 0.31545716524124146, -0.2446477711200714, 0.9544195532798767, 0.5437981486320496, 0.02619636245071888, -0.37603679299354553, -0.44123879075050354, 0.04803597927093506, -0.17776378989219666, -0.5796656012535095, 0.1518268883228302, 0.45805975794792175, -0.19860082864761353, 0.20817287266254425, 0.09121282398700714, -0.2987339496612549, 0.17431464791297913, 0.5014791488647461, 0.40311774611473083, -0.44160279631614685, -0.06655612587928772, -0.02433626912534237, -0.5162131190299988, 0.5887749791145325, 0.10720247030258179, 0.5943636894226074, 0.04027430713176727, -0.003050168277695775, -0.6651703715324402, 0.6119678020477295, 0.5137782692909241, -0.18691740930080414, 1.0082496404647827, 0.5323286652565002, -0.4539281725883484, -0.18367114663124084, -0.38265329599380493, -0.27706706523895264, -0.42228373885154724, 0.29610398411750793, 0.10883495211601257, -0.5275529623031616, 0.6600819230079651, -0.40636637806892395, -0.16760194301605225, 0.9401602149009705, 0.2987685799598694, -0.0029021191876381636, 0.3542637526988983, 0.5856578350067139, -0.24604660272598267, 0.28829628229141235, -0.2590220868587494, 0.231424942612648, -0.5525896549224854, -0.6289778351783752, -0.429763525724411, 0.01585596799850464, -0.3091488182544708, 0.0638655349612236, 0.5926640033721924, -0.04105771705508232, -0.11639124155044556, 0.2883399426937103, 0.10056602209806442, 0.15983152389526367, 0.10558600723743439, 0.13746225833892822, 0.6414053440093994, -0.21277236938476562, -0.0999828577041626, -0.09086950868368149, -0.6796004772186279, -0.3147183358669281, 0.565535306930542, 0.2094477415084839, 0.22086888551712036, -0.0161866657435894, 0.9864178895950317, 0.22913886606693268, 0.29259592294692993, -0.40333810448646545, 0.4187858998775482, 0.10915801674127579, -0.4366987943649292, -0.3459235429763794, -0.8142185807228088, -0.8482762575149536, -0.029972996562719345, -0.504967212677002, -0.594279944896698, 0.4462250769138336, 0.0685034841299057, -0.2439000904560089, 0.41419142484664917, -0.6172608733177185, 0.9634066820144653, -0.14533309638500214, -0.06938285380601883, -0.3975061774253845, -0.6440466046333313, 0.8559581637382507, -0.08793216198682785, 0.5264198184013367, -0.05673441290855408, 0.221540629863739, 0.7704359292984009, -0.3603958487510681, 0.9608703255653381, -0.13968780636787415, -0.06481251120567322, 0.08945351839065552, -0.06706573814153671, 0.5545499324798584, 0.23780152201652527, -0.14030644297599792, 0.21597690880298615, -0.287480890750885, 0.01283583976328373, -0.3815113306045532, 0.8475427031517029, -0.616495668888092, -0.047931522130966187, -0.6116160154342651, -0.5011067986488342, -0.3348481059074402, 0.4037656784057617, 0.38100963830947876, 0.4640483856201172, -0.37408193945884705, -0.08446000516414642, 0.5839654207229614, -0.5068780779838562, 0.7337583303451538, 0.5198619961738586, 0.020834682509303093, -0.36866655945777893, 0.9388801455497742, -0.05205542966723442, 0.17248916625976562, 0.3891551196575165, 0.3301796317100525, -0.055070746690034866, -0.4552288353443146, -0.17264148592948914, 0.3332393169403076, -0.5689257383346558, -0.4707737863063812, -0.7542263269424438, -0.43806183338165283, -0.21550393104553223, -0.18848064541816711, -0.36811041831970215, 0.02414943464100361, -0.7117489576339722, -0.350267231464386, 0.3173467218875885, 0.5340040326118469, -0.30449023842811584, 0.17279338836669922, -0.9536242485046387, 0.5421620607376099, -0.023732533678412437, 0.07899586856365204, 0.11724638193845749, -0.030758654698729515, -0.1552848070859909, -0.3175702393054962, -0.18296071887016296, -0.9385119080543518, 0.4757262170314789, 0.20266057550907135, 0.5950121879577637, 0.499372661113739, 0.34982192516326904, 0.3199097812175751, -0.30235910415649414, 0.5773168802261353, 0.679118812084198, -0.6741299629211426, 0.7507126331329346, -0.6658061146736145, -0.08005796372890472, 0.38987651467323303, 0.43078935146331787, -0.22218899428844452, -0.4232443869113922, -0.9359189867973328, -1.1219332218170166, 0.5542362332344055, 0.1747337132692337, -0.4194898307323456, -0.03275308385491371, 0.4224943518638611, -0.004359016194939613, -0.17733609676361084, -0.7181830406188965, -0.5337511301040649, 0.3268563747406006, 0.15980806946754456, -0.04956778883934021, -0.27407434582710266, -0.03586721047759056, -0.036614127457141876, 0.7897495031356812, 0.06257515400648117, -0.036286793649196625, 0.2522853910923004, -0.3147739768028259, -0.18020287156105042, 0.34632056951522827, 0.45596152544021606, 0.8250053524971008, -0.43973520398139954, 0.14074274897575378, 0.07008260488510132, -0.23456509411334991, -0.11363283544778824, 0.2760560214519501, -0.1404905617237091, -0.052322182804346085, 0.763826847076416, 0.4650263786315918, 0.7265135049819946, -0.4226192533969879, 0.4820187985897064, 0.09426616877317429, 0.010840724222362041, -0.5274714827537537, 0.017353849485516548, 0.026522234082221985, 0.16012559831142426, 0.5632275342941284, -0.12432798743247986, 0.6030862331390381, -0.5701395869255066, 0.7227524518966675, 0.2684354782104492, -0.46042802929878235, -0.10519445687532425, 0.604108989238739, 0.2847362756729126, 0.15717698633670807, 0.4127359688282013, 0.1118025854229927, -0.2316945642232895, 0.8950512409210205, 0.4929100275039673, 0.9894688725471497, 0.01163035910576582, 0.5079928040504456, 0.43065908551216125, 0.31136977672576904, 0.2154303789138794, 0.17238108813762665, 0.33852043747901917, -0.7702699303627014, -0.7801805138587952, -0.6133192181587219, -0.24024641513824463, 0.461431086063385, -1.003061294555664, 0.2858581840991974, -0.4750363826751709, 0.16854578256607056, 0.40070921182632446, -0.08118229359388351, -0.40078088641166687, 0.2148674726486206, 0.24435830116271973, 0.42426860332489014, -1.463324785232544, 0.7285950779914856, 0.17244413495063782, -0.7355412244796753, -1.1251344680786133, -0.325381338596344, 0.017279839143157005, -0.22015735507011414, 0.7186266183853149, -0.16633780300617218, 0.14373920857906342, -0.1781689077615738, 0.050865888595581055, -0.5567620396614075, 0.9323656558990479, 0.4140429198741913, -0.5759698748588562, 0.2760159373283386, 0.25803080201148987, 0.38067156076431274, -0.16638705134391785, 0.011345336213707924, 0.5997744202613831, 0.521600604057312, -0.11885244399309158, -0.7535247802734375, 0.3249726891517639, 0.07502321898937225, -0.3593100607395172, 0.5362871289253235, -0.2995056211948395, 0.38436463475227356, 0.10892775654792786, -0.20897015929222107, -0.3702939748764038, 0.9979050755500793, 0.19310736656188965, 0.8392734527587891, 0.366008460521698, 0.43464934825897217, 0.48804351687431335, 0.22595970332622528, 1.2450052499771118, 0.2527303993701935, 0.46534571051597595, 1.3758440017700195, -0.3859937787055969, 0.7151668071746826, 0.6128540635108948, 0.05632910877466202, 0.7149906158447266, 0.2859395444393158, 0.053584929555654526, 0.5594609379768372, -0.20688796043395996, -0.2964220345020294, -0.3520311713218689, -0.06875215470790863, -0.4736059606075287, 0.3151206076145172, 0.19285458326339722, -0.6347759366035461, -0.7172818779945374, -0.04369392618536949, 0.013270366005599499, -0.028572915121912956, -0.11664335429668427, 0.9142928719520569, 0.3969214856624603, -0.3887248635292053, 0.07643797993659973, -0.07456236332654953, 0.27646002173423767, -0.5662760734558105, -0.22130343317985535, 0.12564155459403992, 0.27978286147117615, -0.6037652492523193, -0.4520265460014343, 0.5597802996635437, -0.2797413170337677, -0.5145382285118103, 0.05128758028149605, 0.9754195809364319, -0.18763256072998047, -0.36429762840270996, 0.5920759439468384, 0.3009781837463379, -0.0817534476518631, 0.05923651158809662, -0.3773386478424072, 0.04215056821703911, -0.14770016074180603, 0.009698229841887951, 0.5865435600280762, 0.23032018542289734, 0.1285165399312973, 0.09195736050605774, 0.8856081962585449, 0.24865899980068207, -0.01471901498734951, 0.07477554678916931, 0.9817567467689514, -0.4964239299297333, -0.3951698839664459, -0.8324569463729858, 0.7033271789550781, -0.6575309038162231, -0.5799500942230225, 0.7688597440719604, 0.7942672967910767, 0.3626422882080078, -0.18124733865261078, 0.7951701283454895, -0.045025784522295, 0.11961773037910461, -0.7872864007949829, 0.7313504815101624, -0.05371902883052826, 0.4413682818412781, -0.4174940288066864, -0.6705045700073242, -0.470674604177475, 0.1059984564781189, -0.5427638292312622, -0.45845553278923035, 0.7773680686950684, 0.43539124727249146, -0.2281397134065628, 0.24189883470535278, 0.17043635249137878, 0.2332153469324112, 0.4573668837547302, 0.4608088433742523, 0.7432821393013, -0.5440782308578491, 0.3102670907974243, -0.3017437160015106, -0.39928027987480164, -0.17398881912231445, -1.2335408926010132, -0.562346339225769, -0.5634557604789734, -0.7375521659851074, -0.3560875356197357, -0.3583604395389557, 0.42287054657936096, 0.2642919719219208, -0.9227607250213623, -0.1386558562517166, -0.2905975878238678, 0.31775331497192383, -0.17905643582344055, -0.33575108647346497, 0.6453568339347839, -0.34432512521743774, 0.08625497668981552, 0.7482355833053589, 0.36403897404670715, -0.43738704919815063, 0.06010190024971962, -0.06501160562038422, -0.5853167176246643, -0.29067859053611755, 0.36946460604667664, 0.6456794738769531, -0.34742194414138794, -0.2740570604801178, -0.5821822285652161, 0.15144355595111847, -0.2092050164937973, 1.1478521823883057, -0.5969642400741577, 0.15296554565429688, 0.4077056348323822, 0.6128305792808533, 0.7134357690811157, -0.5413087606430054, 0.9314514994621277, -0.789783239364624, 0.26346737146377563, 0.305171400308609, 0.4691013991832733, 0.09995272755622864, -0.9352908134460449, 0.336319237947464, 0.45653897523880005, -0.4362705945968628, -0.7705391049385071, 0.14384745061397552, -1.2632687091827393, -0.2793520987033844, 1.2760734558105469, -0.09762987494468689, 0.012689094059169292, -0.43835508823394775, 0.1658383309841156, 0.5092348456382751, -0.028194017708301544, 0.556611180305481, 0.20705124735832214, -0.48821914196014404, 0.06499937921762466, -0.43496575951576233, 0.4270476996898651, 0.05801613628864288, -1.0784727334976196, -0.08104028552770615, 0.7095510363578796, 0.4151749014854431, 0.14032228291034698, 0.32239413261413574, -0.23653671145439148, 0.38070493936538696, -0.03798345848917961, 0.03808942064642906, -0.16686104238033295, -0.2738560736179352, -0.4214075803756714, 0.5354232788085938, -0.4340340197086334, -0.07703819125890732 ]
http://arxiv.org/abs/2404.08684v1
http://arxiv.org/pdf/2404.08684v1
Is English the New Programming Language? How About Pseudo-code Engineering?
2024-04-08T16:28:52
2024-04-08T16:28:52
Gian Alexandre Michaelsen, Renato P. dos Santos
cs.CL
cs.CL, cs.AI, cs.HC, cs.CY, J.4; K.3; I.2
Background: The integration of artificial intelligence (AI) into daily life, particularly through chatbots utilizing natural language processing (NLP), presents both revolutionary potential and unique challenges. This intended to investigate how different input forms impact ChatGPT, a leading language model by OpenAI, performance in understanding and executing complex, multi-intention tasks. Design: Employing a case study methodology supplemented by discourse analysis, the research analyzes ChatGPT's responses to inputs varying from natural language to pseudo-code engineering. The study specifically examines the model's proficiency across four categories: understanding of intentions, interpretability, completeness, and creativity. Setting and Participants: As a theoretical exploration of AI interaction, this study focuses on the analysis of structured and unstructured inputs processed by ChatGPT, without direct human participants. Data collection and analysis: The research utilizes synthetic case scenarios, including the organization of a "weekly meal plan" and a "shopping list," to assess ChatGPT's response to prompts in both natural language and pseudo-code engineering. The analysis is grounded in the identification of patterns, contradictions, and unique response elements across different input formats. Results: Findings reveal that pseudo-code engineering inputs significantly enhance the clarity and determinism of ChatGPT's responses, reducing ambiguity inherent in natural language. Enhanced natural language, structured through prompt engineering techniques, similarly improves the model's interpretability and creativity. Conclusions: The study underscores the potential of pseudo-code engineering in refining human-AI interaction and achieving more deterministic, concise, and direct outcomes, advocating for its broader application across disciplines requiring precise AI responses.
[ -0.2648613750934601, -1.04929780960083, 0.46349960565567017, 0.19693386554718018, 0.12944620847702026, 0.28661975264549255, -0.14693854749202728, -0.8301770091056824, -0.03938319906592369, -0.06975872069597244, -0.3811836242675781, -0.035114482045173645, -0.3359818160533905, 0.15918272733688354, -0.24955417215824127, 0.933751106262207, -0.29638299345970154, 0.07214940339326859, -0.1507965326309204, 0.36367934942245483, -0.6986149549484253, -0.7852852940559387, -0.6045254468917847, -0.1280195564031601, 0.015615511685609818, 0.31646421551704407, 0.9048790335655212, 0.06853944063186646, 0.5605905055999756, 0.3784005045890808, 0.2743546664714813, 0.039379339665174484, -0.29310864210128784, -0.30444684624671936, 0.005791753064841032, -0.5923967361450195, -0.21127016842365265, 0.24215516448020935, 0.27635982632637024, 0.47814708948135376, 0.03412925451993942, 0.15147779881954193, 0.34155014157295227, 0.370861679315567, -0.27157339453697205, 0.7463453412055969, -0.3276222348213196, 0.0733303353190422, -0.005524913780391216, -0.1535339504480362, -0.4505859911441803, -0.3243224322795868, 0.07994341105222702, -0.6320299506187439, -0.2395147681236267, 0.17702236771583557, 1.0717706680297852, 0.41156715154647827, 0.11071697622537613, -0.736198365688324, -1.0635199546813965, 0.6293116807937622, -0.822216272354126, 0.38797593116760254, 0.440420538187027, 0.22333014011383057, -0.20276199281215668, -0.7554850578308105, -0.8585940003395081, -0.49633559584617615, -0.32325902581214905, 0.21099089086055756, -0.2582792639732361, 0.2846081554889679, 0.23139214515686035, 0.2998064458370209, -0.9326376914978027, -0.009780566208064556, -0.4786990284919739, -0.18334069848060608, 0.5500183701515198, -0.13720165193080902, 0.9165263175964355, -0.2086227834224701, 0.07310017198324203, 0.1392500102519989, -0.30703285336494446, 0.4248429536819458, 0.33494916558265686, 0.15734121203422546, -0.3470001220703125, 0.788540780544281, -0.1153276339173317, 0.6573230624198914, -0.33189746737480164, 0.20155972242355347, 0.10947810858488083, -0.5346115231513977, -0.26779577136039734, -0.01899651437997818, 0.9230127334594727, 0.16196057200431824, 0.6105189919471741, -0.05388825014233589, -0.10974270105361938, 0.3291010558605194, 0.3689135015010834, -0.47470495104789734, -0.4732917547225952, 0.16505469381809235, -0.5854368209838867, -0.2599608302116394, 0.11741717159748077, -0.47260749340057373, -0.06960416585206985, -0.4787972569465637, 0.4008271098136902, -0.45410066843032837, -0.07738650590181351, 0.2282758504152298, -0.016354430466890335, 0.5887725949287415, 0.08707590401172638, -0.48662859201431274, 0.2596757709980011, 0.6352303624153137, 0.9371030926704407, 0.06992305815219879, -0.24982476234436035, -0.08298029750585556, -0.30118513107299805, -0.22166594862937927, 0.8409284353256226, -0.7805439233779907, -0.5905609726905823, -0.21295265853405, -0.4162340462207794, -0.3440873324871063, -0.1810266375541687, 0.41869908571243286, -0.497631311416626, 0.6463608145713806, 0.2540038228034973, -0.3442308008670807, -0.06673486530780792, 0.2979338765144348, -0.47793859243392944, 0.8930082321166992, 0.11607406288385391, -0.5820477604866028, 0.06659059971570969, -1.2064799070358276, -0.574186384677887, 0.3691015839576721, -0.5626230835914612, -0.17799867689609528, 0.02695079892873764, -0.030601177364587784, 0.06914541125297546, -0.14272239804267883, 0.3881130814552307, 0.057856909930706024, -0.5604282021522522, 0.28942668437957764, -0.7367377281188965, 0.5010361075401306, 0.3217945396900177, -0.32662495970726013, 0.1072283536195755, -0.7635753154754639, 0.2973730266094208, 0.1967642456293106, -0.30195945501327515, 0.07698531448841095, 0.2083270102739334, 0.11495453119277954, 0.4298973083496094, 0.3783065676689148, -0.484443724155426, 0.3866560161113739, -0.7339361906051636, 0.6528306603431702, 0.5560963153839111, -0.061715468764305115, 0.46188104152679443, -0.39073920249938965, 0.7763780951499939, -0.498958945274353, 0.29462188482284546, -0.15129756927490234, -0.9075749516487122, -0.3485552668571472, -0.10600335150957108, 0.22290635108947754, 1.0022937059402466, -0.9010489583015442, 0.10031445324420929, 0.000046342356654349715, -0.2902052104473114, -0.4238716959953308, -0.23110784590244293, 0.33900102972984314, 0.4832930564880371, 0.33904147148132324, -0.1815316528081894, -0.7653259038925171, -0.856105625629425, -0.2898677885532379, -0.6062635183334351, -0.35829460620880127, 0.42267605662345886, 0.24410560727119446, -0.2728663682937622, 1.2657604217529297, -0.5381726026535034, -0.009252157993614674, -0.6789586544036865, 0.5203738808631897, 0.3386073410511017, 0.34095078706741333, 0.5189790725708008, -0.7543808817863464, -0.5929786562919617, 0.11361154168844223, -0.7079402804374695, -0.07406332343816757, -0.2834305763244629, -0.03511067479848862, 0.007579328026622534, 0.38873252272605896, -0.7733017802238464, 0.8536717295646667, 0.5244928002357483, -0.0272050853818655, 0.7139880061149597, -0.2039332389831543, 0.4340796172618866, -0.8567497134208679, 0.05828440189361572, -0.21575194597244263, 0.18152780830860138, -0.6873687505722046, 0.11827787756919861, 0.06075584143400192, -0.5380880832672119, -0.7442752122879028, 0.4895516335964203, -0.2807508111000061, 0.13137543201446533, -0.39084121584892273, -0.21717959642410278, -0.19993014633655548, 0.6595660448074341, 0.23771345615386963, 1.2809518575668335, 0.33718186616897583, -0.5052386522293091, 0.05982355773448944, 0.18065054714679718, -0.22495202720165253, 0.1941864788532257, -0.9883609414100647, 0.3346531391143799, -0.09597010910511017, 0.004135220777243376, -1.241734266281128, -0.1343754082918167, 0.31159237027168274, -0.7305184006690979, 0.10628531128168106, -0.059139180928468704, -0.521571159362793, -0.4147516191005707, -0.18242928385734558, 0.3548721969127655, 0.7356956601142883, 0.048310860991477966, 0.6180408596992493, 0.10914907604455948, -0.24469594657421112, -0.03173644840717316, -0.6014423966407776, 0.27695006132125854, 0.1795671135187149, -0.7185644507408142, 0.2375369817018509, -0.2920176684856415, -0.3569922149181366, -0.21014855802059174, -0.04367832839488983, -0.3580167293548584, 0.1274605691432953, 0.15155166387557983, 0.502642035484314, -0.3135359585285187, -0.25490108132362366, -0.2519771158695221, -0.057877570390701294, 0.1383652687072754, -0.1691078543663025, 0.7864665389060974, -0.2162638157606125, -0.41076192259788513, -0.7118409872055054, 0.28850921988487244, 0.346089631319046, -0.4117729365825653, 0.7443093657493591, 0.20512986183166504, -0.21357156336307526, -0.01556391641497612, -0.018026137724518776, -0.10617831349372864, -0.5408209562301636, 0.3829290270805359, -0.5422579050064087, -0.6932858228683472, 0.2918466627597809, 0.08022720366716385, 0.29807841777801514, 0.1890397071838379, 0.4119459390640259, -0.5110252499580383, 0.9867041707038879, 0.7709141373634338, -0.3300097584724426, 0.5989857316017151, -0.07750183343887329, 0.9819729328155518, -0.2684295177459717, 0.028008345514535904, -0.6945860981941223, -0.27703797817230225, -0.6241734027862549, -0.3485151529312134, 0.24900032579898834, -0.18133670091629028, 0.15757131576538086, 0.5112605690956116, -0.48326849937438965, 0.5138369798660278, 0.43180418014526367, -0.1714254766702652, 0.11389321088790894, -0.48206621408462524, 0.06247639283537865, 0.0973893404006958, -0.8018739223480225, -0.7410387396812439, 0.9055953621864319, 0.32500943541526794, 0.7189478278160095, 0.1121366024017334, 0.545377790927887, 0.4606216847896576, 0.22669051587581635, -0.7618080377578735, 0.4284319281578064, 0.16619090735912323, -0.3182402551174164, -0.23957736790180206, -0.33963432908058167, -0.9770399928092957, -0.1326744705438614, 0.03630226477980614, -0.836914598941803, -0.14602550864219666, 0.1571882963180542, -0.4001910984516144, -0.037786420434713364, -1.3658010959625244, 0.8391388058662415, -0.44833317399024963, -0.12212488800287247, 0.10535474121570587, -0.5917232632637024, 0.23941592872142792, 0.00006772708729840815, 0.6094890832901001, 0.4095562696456909, 0.33714911341667175, 0.5659981966018677, -0.26490283012390137, 0.8594058752059937, 0.11871428787708282, -0.03376792371273041, 0.46671542525291443, 0.17589934170246124, 0.5745074152946472, 0.06381785124540329, -0.019882114604115486, 0.36540287733078003, 0.08603973686695099, -0.3649546205997467, -0.7457022070884705, 0.3929022252559662, -0.8866984248161316, -0.448560506105423, -0.3991495966911316, -0.4710773229598999, -0.3749313950538635, 0.18064142763614655, 0.20805540680885315, 0.2534297704696655, -0.2595776319503784, -0.23538082838058472, 0.4682556688785553, -0.5427563786506653, 0.5885366201400757, 0.42402124404907227, -0.07493744790554047, 0.2276124805212021, 0.9910386204719543, 0.1259004920721054, 0.20449033379554749, 0.5176270604133606, 0.11788467317819595, -0.11492322385311127, -0.4467029869556427, -0.5351789593696594, 0.04500162973999977, -0.4089556038379669, 0.17204801738262177, -0.6857215762138367, -0.5438590049743652, -0.5854323506355286, -0.34622278809547424, -0.39655449986457825, -0.22814340889453888, -0.15859583020210266, 0.053563859313726425, -0.10581617802381516, 0.8543574810028076, 0.37408581376075745, 0.29714709520339966, -0.7467238306999207, 0.4868522882461548, 0.04490622878074646, 0.3207760751247406, -0.20050476491451263, -0.3011784851551056, -0.06899229437112808, 0.20525115728378296, -0.13790957629680634, -1.0310993194580078, 0.1539417803287506, 0.10690607875585556, 0.7029554843902588, 0.018457479774951935, -0.090761698782444, 0.5758190751075745, -0.6345826387405396, 1.128477931022644, -0.12655366957187653, -0.8229041695594788, 0.5443626046180725, -0.12178130447864532, 0.566565215587616, 0.4388998746871948, 0.335107684135437, -0.670589029788971, -0.47295287251472473, -0.5300225019454956, -0.7530797719955444, 0.6925740838050842, 0.6390290856361389, 0.20376154780387878, 0.00991783756762743, 0.1542288213968277, -0.2009662240743637, 0.26440921425819397, -0.8713514804840088, -0.23757252097129822, -0.2261008620262146, -0.4446742534637451, 0.25144723057746887, -0.09442714601755142, 0.48073533177375793, -0.019519757479429245, 0.5204973816871643, 0.07407993078231812, 0.5746383666992188, -0.0531497485935688, -0.36507648229599, 0.4602728486061096, 0.3853386342525482, 0.767764687538147, 0.6310638785362244, 0.08727993071079254, -0.12431326508522034, -0.20887994766235352, -0.6380672454833984, -0.11055834591388702, 0.16204632818698883, -0.2874976694583893, -0.14140640199184418, 0.5195555686950684, 0.3786434829235077, 0.2049776017665863, -0.8023959994316101, 0.3045184910297394, -0.39162275195121765, -0.04918810725212097, -0.15603511035442352, 0.15627038478851318, -0.3043106496334076, -0.20040936768054962, 0.09858627617359161, 0.24287807941436768, 0.33456796407699585, -0.6434304714202881, 0.2883022129535675, 0.3703621029853821, -0.37981387972831726, -0.4509902894496918, 0.6028279066085815, 0.2273734211921692, -0.7854330539703369, 0.6534312963485718, -0.5102702975273132, -0.5703275203704834, 0.6204468607902527, 0.4362570643424988, 0.8028052449226379, -0.10338762402534485, 0.2841171324253082, 0.1667860448360443, 0.6368880271911621, 0.28644683957099915, 0.42565008997917175, -0.16138185560703278, -0.6819642186164856, -0.7338274121284485, -0.4630725681781769, -0.29598966240882874, 0.07221617549657822, -0.06347808986902237, 0.3538852632045746, -0.47065186500549316, 0.19239754974842072, -0.26981261372566223, -0.2763743996620178, -0.7732793688774109, 0.10290008783340454, 0.22643539309501648, 0.5179226398468018, -0.7186483144760132, 0.7150083780288696, 1.0197417736053467, -0.7325199246406555, -1.2742640972137451, 0.2071172446012497, 0.07756545394659042, -0.8802983164787292, 0.4962957501411438, 0.08745123445987701, -0.1007954552769661, -0.07721138745546341, -0.4818139374256134, -0.81085205078125, 0.36590853333473206, 0.027784131467342377, -0.396101176738739, -0.34595078229904175, 0.5125569701194763, 0.6710465550422668, 0.14088673889636993, 0.8047167062759399, 0.5592854619026184, 0.4403536915779114, -0.11223825812339783, -1.4702829122543335, -0.4648679196834564, -0.644095778465271, -0.1271595060825348, 0.30165034532546997, -0.3898797929286957, 0.47825366258621216, 0.10087266564369202, -0.325658917427063, -0.03778490051627159, 0.46957793831825256, 0.06089873984456062, 0.36399906873703003, 0.10403618216514587, 0.037507303059101105, 0.49947014451026917, 0.06971783190965652, 1.1396843194961548, -0.5503275394439697, 0.08572787791490555, 1.0814611911773682, -0.2659108340740204, 0.5183054208755493, 0.3915432095527649, -0.5378596782684326, 0.406749963760376, 0.3898863196372986, 0.4205199182033539, 0.28083717823028564, 0.33249431848526, 0.053640879690647125, 0.37554144859313965, 0.05491352826356888, -0.20939818024635315, 0.5968486666679382, 0.10791456699371338, 0.005447722505778074, -0.09845160692930222, 0.36550867557525635, 0.04715346172451973, 0.13893719017505646, -0.09017176181077957, 0.8283053636550903, -0.11897026002407074, -0.6180244088172913, 0.1850678026676178, 0.2321825474500656, 0.8101494312286377, -0.6187406182289124, -0.3248746693134308, -0.16143202781677246, -0.13318601250648499, -0.2108217477798462, -0.7873053550720215, 0.5396334528923035, 0.12920919060707092, -0.029523411765694618, -0.39190059900283813, 0.6147132515907288, -0.00013667260645888746, -0.5186662077903748, -0.26785027980804443, 0.4285087287425995, 0.26156291365623474, -0.14083455502986908, -0.7661558389663696, 0.12461613863706589, 0.14523331820964813, -0.20054876804351807, 0.1343662142753601, 0.321853369474411, -0.25661149621009827, 0.535500168800354, 0.7433777451515198, 0.03985578566789627, 0.09786420315504074, -0.01224713958799839, 0.7281373143196106, -0.47643718123435974, -0.7359700202941895, -0.8206420540809631, 0.5053803324699402, 0.20016607642173767, -0.2789689600467682, 0.674180269241333, 0.6569322943687439, 0.9332640171051025, -0.07001736760139465, 0.9432570338249207, -0.4313758313655853, 0.12779603898525238, -0.5094661712646484, 0.5883582830429077, -0.08345520496368408, 0.40743300318717957, -0.4027804136276245, -0.8020799160003662, -0.06658774614334106, 0.7160447239875793, -0.6665148138999939, 0.13932664692401886, 0.6589678525924683, 0.632327139377594, -0.010613420978188515, 0.3133446276187897, 0.37419241666793823, 0.06762707978487015, 0.7318498492240906, 0.5864670276641846, 0.9194185733795166, -0.32272037863731384, 0.4481242597103119, -0.08956333994865417, -0.4407418668270111, 0.19626818597316742, -0.4821998178958893, -0.6644378900527954, -0.42892590165138245, -0.2082570493221283, 0.1065073236823082, 0.006655441597104073, 0.9673031568527222, 0.5241487622261047, -0.7425119280815125, -0.2800959050655365, -0.2506559193134308, -0.1498396098613739, -0.15144853293895721, -0.33762234449386597, 0.13006259500980377, -0.5315912961959839, -0.723714292049408, 0.45363661646842957, 0.399863600730896, -0.06440339237451553, -0.12008209526538849, -0.11826972663402557, -0.19880281388759613, 0.30113404989242554, 0.7197720408439636, 0.3872707784175873, -0.48483994603157043, -0.19275443255901337, 0.44066059589385986, 0.031335003674030304, 0.18131615221500397, 0.9881695508956909, -0.8167329430580139, 0.39317405223846436, 0.4169715344905853, 0.7315696477890015, 0.13609212636947632, 0.15913140773773193, 0.6902149319648743, -0.6078085899353027, 0.22867469489574432, 0.37521976232528687, 0.1308836191892624, -0.08508659899234772, -0.6901305913925171, 0.3206060826778412, 0.08371774107217789, -0.5713648200035095, -0.6121516823768616, 0.2739693224430084, -0.5530195236206055, -0.456320196390152, 0.942733645439148, 0.09676514565944672, -0.15574471652507782, -0.5480194687843323, -0.7595812082290649, 0.0946013480424881, -0.36885568499565125, 0.6607452630996704, 0.9738458395004272, -0.6888450384140015, -0.33381232619285583, -0.9013422727584839, 0.467318058013916, 0.5432521104812622, -1.0004992485046387, -0.3901853859424591, 0.45562052726745605, -0.14908312261104584, 0.14406542479991913, 0.7420504093170166, -0.029510751366615295, 0.3223196566104889, -0.18437713384628296, 0.1807258278131485, -0.03513989970088005, -0.16820497810840607, 0.007233709562569857, 0.1579226553440094, 0.28570830821990967, -0.26825883984565735 ]
http://arxiv.org/abs/2404.08683v1
http://arxiv.org/pdf/2404.08683v1
Text clustering applied to data augmentation in legal contexts
2024-04-08T16:18:33
2024-04-08T16:18:33
Lucas José Gonçalves Freitas, Thaís Rodrigues, Guilherme Rodrigues, Pamella Edokawa, Ariane Farias
cs.CL
cs.CL, cs.LG
Data analysis and machine learning are of preeminent importance in the legal domain, especially in tasks like clustering and text classification. In this study, we harnessed the power of natural language processing tools to enhance datasets meticulously curated by experts. This process significantly improved the classification workflow for legal texts using machine learning techniques. We considered the Sustainable Development Goals (SDGs) data from the United Nations 2030 Agenda as a practical case study. Data augmentation clustering-based strategy led to remarkable enhancements in the accuracy and sensitivity metrics of classification models. For certain SDGs within the 2030 Agenda, we observed performance gains of over 15%. In some cases, the example base expanded by a noteworthy factor of 5. When dealing with unclassified legal texts, data augmentation strategies centered around clustering prove to be highly effective. They provide a valuable means to expand the existing knowledge base without the need for labor-intensive manual classification efforts.
[ -0.32179757952690125, -0.5521727800369263, 0.38778841495513916, -0.20032761991024017, -0.5412545204162598, 0.34703880548477173, -0.2941046953201294, -0.5744038820266724, -0.08718417584896088, 0.7469277381896973, -0.3542743921279907, -0.8947728276252747, -0.727632999420166, 0.27180251479148865, -0.5286458730697632, 1.1579463481903076, 0.1730155050754547, 0.08981688320636749, -0.4622640907764435, -0.39693981409072876, -0.6957097053527832, -0.38396650552749634, -0.2274823933839798, -0.3009181022644043, 0.14684225618839264, 0.3423894941806793, 0.603212833404541, 0.9620586633682251, 0.606665849685669, 0.35466790199279785, -0.25337857007980347, 0.2606736421585083, -0.3953438401222229, -0.00976579636335373, -0.2638145387172699, -0.4332108795642853, -0.1576588898897171, 0.06378300487995148, 0.47209611535072327, 0.6798068881034851, -0.1509285867214203, 0.1131533533334732, -0.00920584425330162, 0.927497923374176, -0.3946821093559265, 0.20666906237602234, -0.6407137513160706, 0.267450213432312, -0.13038715720176697, -0.28413715958595276, -0.14512889087200165, -0.35658201575279236, 0.09241191297769547, -0.5301434397697449, 0.39249318838119507, 0.030396869406104088, 0.47019022703170776, 0.6591306924819946, -0.4061119854450226, -0.5088956356048584, -0.5108478665351868, 0.8604722023010254, -0.6495195031166077, 0.16984957456588745, 0.12953190505504608, 0.07058097422122955, -0.3455064594745636, -0.7565211653709412, -0.5734841227531433, 0.07233722507953644, -0.22502566874027252, 0.1031602993607521, -0.17898161709308624, 0.35573843121528625, 0.39344504475593567, 0.33080267906188965, -0.4946979880332947, 0.39237797260284424, -0.5762297511100769, -0.1466902643442154, 0.917847752571106, 0.009057258255779743, 0.25933754444122314, -0.2668903172016144, -0.10222562402486801, 0.015032068826258183, -0.38925811648368835, 0.07053259015083313, 0.4406995475292206, 0.5273861885070801, 0.12047246843576431, 0.6658558249473572, -0.2271534651517868, 0.8457444310188293, -0.015241030603647232, -0.16497665643692017, 0.3086097538471222, -0.6625399589538574, -0.04528160020709038, 0.4515354335308075, 0.40652909874916077, 0.5900273323059082, 0.03425741568207741, -0.2002280205488205, -0.08144886791706085, 0.14676371216773987, 0.5929190516471863, -0.6609475016593933, -0.045674193650484085, 0.19790606200695038, -0.7284510731697083, -0.3883974254131317, 0.543290913105011, -0.8560377955436707, -0.6635012626647949, -0.9199146032333374, -0.07328634709119797, -0.13263998925685883, 0.2729376256465912, 0.1779593527317047, -0.34680798649787903, 0.12021919339895248, 0.17819301784038544, -0.7368337512016296, 0.1298738270998001, 0.9490808248519897, 0.6700953245162964, -0.23752176761627197, 0.371432900428772, -0.5029778480529785, 0.24544154107570648, -0.3248537480831146, 0.7860599160194397, -0.9374741315841675, -0.4516099989414215, 0.04774634167551994, -0.033032435923814774, 0.16329823434352875, -0.6113135814666748, 1.1943168640136719, -0.3564043939113617, 0.19514551758766174, -0.2532457709312439, -0.772961437702179, -0.36425334215164185, 0.11834187805652618, -0.5973886847496033, 1.075875163078308, -0.03311009705066681, -0.6571844816207886, 1.1757405996322632, -1.072940468788147, -0.6684004664421082, 0.5471096634864807, -0.35165923833847046, -0.7057380080223083, 0.18455840647220612, 0.39461255073547363, 0.6867491602897644, -0.13576269149780273, 0.516197681427002, -0.0523136742413044, -0.4185720980167389, -0.10301047563552856, -0.05247500166296959, 0.6495048999786377, 0.2336341142654419, -0.21834564208984375, 0.28486454486846924, -0.821494996547699, 0.09163769334554672, -0.2758811116218567, -0.5135309100151062, -0.4967285990715027, 0.10000970959663391, -0.03160097822546959, 0.07003036886453629, 0.2521995007991791, -0.6355976462364197, 0.15821050107479095, -0.3768223226070404, 0.4637533724308014, 0.6313258409500122, 0.15525585412979126, 0.4771416187286377, -0.3245275616645813, 0.2883794605731964, -0.04718079790472984, -0.06776802986860275, -0.12477687001228333, -0.704432487487793, -0.47309187054634094, -0.17652468383312225, 0.5106022953987122, 0.5990961790084839, -0.5333123803138733, 1.0763517618179321, -0.649451494216919, -0.5853431820869446, -0.6951586008071899, 0.1218930333852768, -0.10854178667068481, 0.4258454740047455, 0.4762282073497772, -0.1769346445798874, -0.7797512412071228, -0.6095809936523438, -0.6315136551856995, -0.10789325833320618, -0.022207962349057198, 0.23999378085136414, 0.5703354477882385, -0.6198366284370422, 1.23871910572052, -0.25652357935905457, -0.396400511264801, -0.09713859111070633, 0.26198896765708923, 0.3633347749710083, 0.5527614951133728, 0.5055660605430603, -1.4613882303237915, -0.4596446454524994, 0.43390631675720215, -0.6283746361732483, -0.15921662747859955, -0.19076721370220184, 0.24786005914211273, 0.0819491520524025, 0.44215187430381775, -0.17656517028808594, 0.690561056137085, -0.0387088768184185, -0.498505562543869, 0.4533446431159973, -0.48064887523651123, 0.405953973531723, -0.8704127073287964, -0.05591628700494766, 0.18241743743419647, -0.4005143940448761, -0.8386011123657227, 0.06943395733833313, 0.047719936817884445, 0.012369801290333271, -0.12373854219913483, 0.1279216855764389, -0.23751521110534668, -0.13638950884342194, -0.5196034908294678, 0.055875010788440704, -0.20498712360858917, -0.04815486818552017, -0.21548154950141907, 0.7962150573730469, 0.5892513394355774, -0.8116090893745422, 0.5269021987915039, 0.4220051169395447, -0.38786178827285767, 0.889256477355957, -0.3944254219532013, 0.08733849972486496, -0.5043582320213318, 0.06030341982841492, -0.5538459420204163, -0.025745723396539688, -0.04658828675746918, -0.3574245274066925, 0.05205574259161949, -0.2223009318113327, -0.7519821524620056, -0.659902811050415, -0.30169862508773804, -0.16106846928596497, 0.5260993838310242, -0.6862320899963379, 0.5389934778213501, 0.69718337059021, -0.15439242124557495, -0.37175145745277405, -0.8015456199645996, 0.3642624616622925, -0.8114694356918335, -0.2879883348941803, 0.6024279594421387, 0.024579167366027832, -0.23824098706245422, 0.20498917996883392, -0.10507012158632278, -0.010357584804296494, -0.0657668486237526, 0.4464224576950073, 0.023404238745570183, 0.3431834876537323, 0.18622994422912598, 0.2678062319755554, -0.20432749390602112, 0.09992268681526184, -0.5402242541313171, 0.2267155796289444, 0.1322820633649826, -0.12173296511173248, -0.4170227348804474, 0.2781493067741394, 0.3798017203807831, -0.08663664758205414, 0.7064688801765442, 0.6246919631958008, -0.4486292600631714, -0.018983561545610428, -0.45967140793800354, 0.011915693990886211, -0.5022549033164978, 0.09907679259777069, -0.03558725491166115, -1.2859606742858887, 0.4002104699611664, -0.3745977580547333, 0.35235595703125, 0.5331534147262573, 0.39544811844825745, -0.09223006665706635, 0.9183641672134399, 0.7827925682067871, -0.4394533336162567, 0.6083984375, -0.04016447812318802, 0.3935859501361847, -0.5447466373443604, -0.29820680618286133, -0.8413904905319214, -0.2387690395116806, -0.9038872122764587, -0.4877205491065979, 0.35480138659477234, -0.03569527342915535, 0.24846360087394714, 0.4813673198223114, -0.8169932961463928, 0.6694208383560181, 0.3477984666824341, -0.07410112768411636, 0.35123196244239807, 0.41429489850997925, -0.09014628827571869, -0.22258952260017395, -0.7185071706771851, -0.7792222499847412, 1.12295663356781, 0.1504271775484085, 0.2615039646625519, -0.228156179189682, 0.7609166502952576, 0.9420817494392395, 0.1494801789522171, -0.732233464717865, 0.5308476090431213, -0.46847718954086304, -0.23895470798015594, -0.28809821605682373, -0.5828762650489807, -1.1538132429122925, 0.24136103689670563, -0.431491494178772, -0.661781907081604, 0.35901883244514465, -0.31961286067962646, -0.23222261667251587, 0.26136326789855957, -0.5136193633079529, 0.4588744640350342, -0.014153307303786278, -0.1348922997713089, -0.5224528908729553, -0.4326894283294678, -0.20619545876979828, -0.2939469814300537, 0.42629289627075195, 0.014817136339843273, -0.09795499593019485, 1.0262874364852905, -0.48971304297447205, 0.5568914413452148, -0.2888878285884857, -0.20733703672885895, 0.45035520195961, -0.724173903465271, 0.657830536365509, -0.027212772518396378, -0.29921624064445496, 0.004503590986132622, -0.1161026582121849, -0.3661119341850281, -0.5006886124610901, 0.5874983072280884, -0.17002539336681366, -0.3801082372665405, -0.31223776936531067, -0.5399200916290283, -0.0011623951140791178, 0.36600303649902344, -0.13294225931167603, 0.048876069486141205, -0.07581987231969833, 0.40880051255226135, 0.5037732720375061, 0.022427231073379517, 0.5698193311691284, 0.4823005497455597, 0.26247289776802063, -0.48933690786361694, 0.9304012656211853, 0.320850133895874, -0.362762451171875, 0.22680912911891937, 0.21307384967803955, -0.6477928161621094, -0.9166849851608276, -0.24957525730133057, -0.10453125834465027, -0.6810590028762817, -0.3112137019634247, -0.5670929551124573, 0.041958894580602646, -0.5557173490524292, -0.26071447134017944, 0.2660692632198334, -0.33981049060821533, -0.3346399664878845, -0.46616604924201965, 0.5909399390220642, 0.7037256360054016, 0.05682409927248955, 0.17950472235679626, -1.0202100276947021, 0.2771410048007965, 0.10663612931966782, 0.2484283745288849, -0.5233357548713684, -0.29730838537216187, -0.23463456332683563, 0.14481504261493683, 0.011784067377448082, -0.470768541097641, 0.362864226102829, 0.1138913482427597, 0.6115767359733582, 0.43180736899375916, 0.08995436131954193, 1.0098707675933838, -0.4346933960914612, 0.6636614799499512, 0.08597781509160995, -0.6977025270462036, 0.49878913164138794, -0.49070754647254944, 0.16734826564788818, 0.8359991908073425, 0.05643791705369949, -0.4612710475921631, -0.22358502447605133, -0.6752805709838867, -0.7822136878967285, 0.5161483883857727, 0.2885473966598511, 0.21370191872119904, 0.4159330725669861, 0.8283495903015137, 0.3262317180633545, 0.5181637406349182, -0.3900340497493744, -0.026765089482069016, 0.28012165427207947, -0.31061020493507385, 0.03184740990400314, 0.07292772829532623, -0.004770566243678331, -0.5718072652816772, 0.6337787508964539, -0.2525365650653839, -0.031996697187423706, 0.004836410284042358, -0.013863012194633484, -0.0067464192397892475, 0.40339240431785583, 0.2562454342842102, 0.7305200695991516, 0.2760257422924042, -0.18806768953800201, 0.3196602165699005, -0.5986025929450989, 0.1656675636768341, 0.2741215229034424, -0.5166037082672119, -0.04542839899659157, 0.2296362966299057, 0.7003254294395447, -0.14245052635669708, -0.9004015922546387, 0.051095448434352875, -0.015851059928536415, -0.411293089389801, -0.021326296031475067, 0.18969209492206573, -0.36659273505210876, 0.20581641793251038, 0.5699777007102966, 0.19851388037204742, 0.46663954854011536, -0.3930121064186096, 0.49845752120018005, 0.34833255410194397, -0.38968712091445923, 0.28702566027641296, 0.36610451340675354, 0.07203018665313721, -0.10601532459259033, 0.16796176135540009, -0.3290693163871765, -0.5814582109451294, 0.5280005931854248, 0.4706070125102997, 0.48917126655578613, 0.08746073395013809, 0.3200054466724396, 0.37688061594963074, 0.224222794175148, -0.21026496589183807, 0.28067097067832947, -0.3043659031391144, -0.45119914412498474, -0.5522167086601257, -0.5258427858352661, -0.22549550235271454, -0.21276840567588806, -0.6317533850669861, 0.07496194541454315, -0.25151678919792175, -0.14329947531223297, -0.09879031032323837, 0.45198434591293335, -0.47317805886268616, 0.43177488446235657, -0.21003299951553345, 0.5233007669448853, -0.6845408082008362, 0.41873544454574585, 0.9225141406059265, 0.07056209444999695, -0.1471448391675949, -0.002651351736858487, -0.08906516432762146, -0.38568994402885437, 0.1805286705493927, 0.43786874413490295, 0.19657118618488312, 0.044162318110466, -0.5639377236366272, -0.41778644919395447, 0.9174822568893433, 0.06217833608388901, -0.6975171566009521, 0.39597851037979126, 0.6672422885894775, 0.814055323600769, -0.38651397824287415, -0.4497932493686676, 0.9934659004211426, 0.8525181412696838, 0.10598111897706985, -0.5007433295249939, -0.029526686295866966, -0.2448541522026062, 0.018488408997654915, 0.4796055555343628, -0.10405745357275009, 0.13407482206821442, -0.1218249499797821, -0.333342969417572, -0.19934527575969696, 0.7630961537361145, 0.11304949223995209, 0.44054946303367615, 0.6613281965255737, 0.9889957308769226, 1.3844047784805298, -0.3830249309539795, 0.8753673434257507, -0.20827336609363556, 0.2625817358493805, 0.5826466679573059, -0.14933618903160095, 0.4086131751537323, 0.34060272574424744, -0.3474292457103729, 0.3847094178199768, 0.5284703969955444, -0.5178059339523315, 0.3983228802680969, 0.19962187111377716, -0.2618391811847687, -0.07112713903188705, -0.5876250863075256, -0.11087839305400848, 0.31293985247612, 0.520153820514679, -0.23647034168243408, -0.13772746920585632, 0.18743570148944855, -0.13969232141971588, 0.5801106691360474, -0.630549967288971, 1.0942178964614868, -0.2446780651807785, -0.44743630290031433, -0.10881773382425308, 0.2386196106672287, 0.8109970092773438, -0.1466897875070572, -0.15497539937496185, 0.28154176473617554, 0.012183943763375282, -0.5223332047462463, -0.9367277026176453, 0.5424060225486755, 0.4494544267654419, -0.19747702777385712, -0.4359474778175354, 1.020336627960205, -0.31987276673316956, -0.6347763538360596, 0.05525822937488556, 0.021844390779733658, 0.10130057483911514, -0.035245027393102646, -0.908947229385376, -0.27160778641700745, 0.026885613799095154, 0.4899251461029053, 0.1295080929994583, 0.41043755412101746, -0.2693529427051544, 0.4788915514945984, 0.9813019633293152, 0.12892365455627441, 0.03686228021979332, 0.06468311697244644, 0.9907844066619873, -0.564702033996582, -0.9531753063201904, -0.829896092414856, 0.5660059452056885, -0.6781275272369385, 0.04306145757436752, 0.8907678723335266, 0.8164950609207153, 0.7105554342269897, 0.20165330171585083, 0.979712724685669, -0.22940167784690857, 0.5681988596916199, -0.6290915608406067, 0.6058565378189087, -0.15767675638198853, 0.15599071979522705, -0.2519521415233612, -0.9447022676467896, -0.49625763297080994, 0.4956113398075104, -0.5768268704414368, 0.052796948701143265, 0.19973857700824738, 0.475409597158432, 0.22372885048389435, 0.2505653500556946, 0.13432417809963226, -0.2917228937149048, 0.48075902462005615, 0.0076152607798576355, 0.30493247509002686, -0.34231898188591003, 0.2613036632537842, -0.10151953995227814, -0.08178063482046127, -0.018632542341947556, -0.8195015788078308, -0.9551612138748169, -0.46499425172805786, -0.43966689705848694, 0.0485641248524189, 0.06989463418722153, 0.7557283043861389, 0.722294270992279, -1.0328091382980347, 0.119111068546772, -0.6088613271713257, 0.22618693113327026, -0.16919852793216705, -0.2271558791399002, 0.37247955799102783, -0.33785825967788696, -0.7071961164474487, 0.5128455758094788, 0.3401756286621094, 0.1810498982667923, -0.03412158787250519, -0.16481660306453705, -0.156844824552536, -0.1344432830810547, 0.5426939725875854, 0.12965846061706543, -0.34643763303756714, -0.04514020308852196, -0.5494863986968994, 0.32958486676216125, 0.1867828518152237, 1.0919963121414185, -0.8584969639778137, 0.6160863637924194, 0.4371192455291748, 0.9066230058670044, 0.2759372889995575, 0.5745863914489746, 0.4845126271247864, -0.7323052287101746, 0.2631341516971588, 0.24864943325519562, 0.31467553973197937, 0.40843701362609863, -0.5034613609313965, 0.6518052220344543, 0.165344700217247, -0.5069501399993896, -0.7362456321716309, -0.07830208539962769, -0.6676442623138428, -0.22796624898910522, 0.7356017231941223, 0.014427279122173786, -0.05387011542916298, -0.4169582426548004, -0.37323427200317383, 0.25392553210258484, -0.4350025951862335, 0.8953220248222351, 0.6033825278282166, -0.02331523783504963, 0.09068366140127182, -0.5079280734062195, 0.5063952207565308, 0.24618904292583466, -1.3120445013046265, 0.016499841585755348, 0.6264535188674927, -0.18451280891895294, 0.32981106638908386, 0.042212679982185364, -0.24843250215053558, 0.008666272275149822, -0.43838974833488464, -0.2878178358078003, 0.025058679282665253, -0.24078743159770966, -0.5353774428367615, 0.24393679201602936, -0.4845430254936218, 0.018992410972714424 ]
http://arxiv.org/abs/2404.05632v2
http://arxiv.org/pdf/2404.05632v2
Fighting crime with Transformers: Empirical analysis of address parsing methods in payment data
2024-04-08T16:04:26
2024-04-09T09:30:46
Haitham Hammami, Louis Baligand, Bojan Petrovski
cs.CL
cs.CL
In the financial industry, identifying the location of parties involved in payments is a major challenge in the context of various regulatory requirements. For this purpose address parsing entails extracting fields such as street, postal code, or country from free text message attributes. While payment processing platforms are updating their standards with more structured formats such as SWIFT with ISO 20022, address parsing remains essential for a considerable volume of messages. With the emergence of Transformers and Generative Large Language Models (LLM), we explore the performance of state-of-the-art solutions given the constraint of processing a vast amount of daily data. This paper also aims to show the need for training robust models capable of dealing with real-world noisy transactional data. Our results suggest that a well fine-tuned Transformer model using early-stopping significantly outperforms other approaches. Nevertheless, generative LLMs demonstrate strong zero-shot performance and warrant further investigations.
[ -0.1971644163131714, -0.8506469130516052, 0.5664721727371216, -0.03527107089757919, -0.07787232100963593, -0.022014468908309937, 0.10265450924634933, -0.8435548543930054, -0.10672838985919952, 0.8610376119613647, -0.2842368483543396, -0.44889163970947266, -0.6441071629524231, 0.033439524471759796, -0.6493605375289917, 0.9037150740623474, 0.3866256773471832, -0.04813879728317261, 0.10484492778778076, -0.0029660463333129883, -0.33965665102005005, -0.7806110978126526, -0.7471053004264832, -0.27049851417541504, 0.26986777782440186, 0.38245654106140137, 0.6240835189819336, 0.7360164523124695, 0.9379031658172607, 0.39650678634643555, -0.06260658800601959, -0.2590360939502716, -0.31870022416114807, 0.19189074635505676, -0.28687775135040283, -0.6206228137016296, -0.3818451762199402, -0.11996299773454666, 0.1267865151166916, 0.46629276871681213, -0.2458590269088745, 0.030782192945480347, -0.42729610204696655, 0.6553381085395813, -0.6581231951713562, 0.11404793709516525, -0.6126120686531067, 0.09003015607595444, -0.37434136867523193, -0.16169126331806183, -0.7582353949546814, -0.2984431982040405, -0.06269475817680359, -0.20870694518089294, 0.6157050728797913, -0.006829382851719856, 0.9010748267173767, 0.018770107999444008, -0.318728506565094, -0.4797189235687256, -1.195553183555603, 0.4217536151409149, -0.21576948463916779, 0.3542619049549103, 0.37362465262413025, 0.5068022608757019, -0.10632658004760742, -0.6797784566879272, -0.19769476354122162, 0.032337553799152374, -0.22383449971675873, 0.02469288371503353, -0.6488839983940125, 0.06441687047481537, 0.6591182351112366, 0.6014382839202881, -0.023077011108398438, 0.2823457419872284, -0.43545660376548767, -0.16332915425300598, 0.5156478881835938, 0.2954409420490265, -0.002833726815879345, -0.07707300037145615, -0.46871471405029297, -0.32376736402511597, -0.7630732655525208, 0.46643275022506714, 0.964622437953949, 0.25160208344459534, -0.37425968050956726, 0.5097476243972778, -0.15731626749038696, 0.5934545397758484, 0.14983907341957092, -0.31847578287124634, 0.06706687808036804, 0.017677823081612587, -0.30101048946380615, 0.08615310490131378, 0.9167307019233704, 0.11221232265233994, 0.16560931503772736, -0.2478480190038681, -0.5653643608093262, -0.002842174144461751, 0.3705284893512726, -0.6197397708892822, -0.2648252546787262, 0.3238430321216583, -0.5205028057098389, -0.5100594758987427, 0.1143687516450882, -1.1150612831115723, -0.35089951753616333, -0.18765538930892944, -0.21449381113052368, -0.378775954246521, -0.026535868644714355, 0.19941343367099762, -0.030542101711034775, 0.6586071252822876, 0.10635633021593094, -1.3169678449630737, 0.2534191906452179, 0.8881771564483643, 0.6684563159942627, 0.3041156232357025, 0.1964636743068695, -0.6926308870315552, 0.27003172039985657, -0.026667743921279907, 0.9516430497169495, -0.3949173390865326, -0.2710680365562439, 0.2548791766166687, 0.01337609812617302, 0.13680307567119598, -0.7381506562232971, 0.7154269814491272, -0.7603668570518494, -0.35759347677230835, 0.11304136365652084, -0.27911633253097534, 0.49261489510536194, 0.4810505509376526, -0.8730131387710571, 0.5993290543556213, 0.36520618200302124, -0.5733474493026733, 0.2797265350818634, -0.5374512672424316, -0.6325616240501404, 0.1639212965965271, 0.2715974450111389, -0.6125286221504211, 0.43734198808670044, 0.3652116656303406, 0.41162341833114624, -0.26160159707069397, 0.33911940455436707, -0.010908680967986584, -0.18542098999023438, 0.4682953655719757, -0.7661527991294861, 0.8370299339294434, 0.3771304488182068, -0.059053678065538406, -0.08739253133535385, -1.0409756898880005, -0.7952420115470886, 0.2953506410121918, -0.09309636801481247, -0.13547556102275848, 0.12342271208763123, 0.10705123096704483, -0.02051437459886074, 0.24412062764167786, -0.8212490081787109, 0.2755337357521057, -0.40291714668273926, 0.5810242891311646, 0.6848909854888916, -0.14017248153686523, 0.35195299983024597, -0.2183695286512375, 0.6286612153053284, 0.2552819848060608, 0.16698263585567474, -0.60927814245224, -0.2974621653556824, -0.7816806435585022, -0.3622106611728668, 0.3584166169166565, 0.7472509741783142, -0.5924618244171143, 0.14054222404956818, -0.41311320662498474, -0.34818235039711, -0.440573513507843, -0.1764685958623886, 0.009639166295528412, 0.4036393165588379, 0.3047899901866913, -0.09822817146778107, -0.6441537141799927, -1.0154391527175903, -0.3888550102710724, -0.22626148164272308, -0.23488938808441162, 0.0514487698674202, 0.16995763778686523, -0.08472525328397751, 1.0370796918869019, -0.6055678725242615, -0.16625237464904785, -0.638097882270813, 0.12122396379709244, 0.2680186331272125, 0.2692092955112457, 0.3794064223766327, -0.7424958348274231, -0.1309540569782257, -0.20707477629184723, -0.5046220421791077, -0.14566722512245178, -0.40682971477508545, 0.029975714161992073, -0.06516807526350021, 0.42184990644454956, -0.6216864585876465, 0.4876420497894287, 0.1103038340806961, -0.2648420035839081, 0.33859938383102417, -0.2159368395805359, -0.08366965502500534, -0.8403613567352295, -0.13320061564445496, 0.282908171415329, -0.4969344437122345, -1.069885492324829, 0.2004256546497345, 0.029122501611709595, -0.3735102415084839, -0.49066096544265747, 0.0943199098110199, -0.18916895985603333, -0.17457729578018188, -0.1275729387998581, -0.25877058506011963, -0.23122072219848633, 0.2264302372932434, 0.26196080446243286, 0.7313650846481323, 0.3244563341140747, -0.17856286466121674, 0.5219144225120544, 0.36618196964263916, -0.6435319781303406, 0.6922445893287659, -0.4827360510826111, -0.06441417336463928, -0.09126918762922287, 0.00419484032317996, -0.9258071184158325, -0.3491399884223938, 0.16224978864192963, -0.1258421093225479, 0.3220933675765991, -0.48118242621421814, -0.7099857330322266, -0.3847190737724304, 0.11278530955314636, 0.6066178679466248, 0.7204720973968506, -0.6563408374786377, 0.5720117688179016, 0.16897663474082947, -0.05680709332227707, -0.47976580262184143, -0.5059419870376587, 0.42282333970069885, -0.48047935962677, -0.5921186804771423, 0.20448246598243713, 0.5955739617347717, -0.3564099073410034, -0.4212821424007416, 0.21926164627075195, -0.018131203949451447, 0.4341821074485779, 0.034493859857320786, 0.353363037109375, -0.08109251409769058, -0.26804694533348083, -0.4372032582759857, -0.8011889457702637, 0.4474414587020874, 0.14312240481376648, 0.6781968474388123, 0.22040998935699463, -0.2105453610420227, -0.41764146089553833, 0.4622909724712372, 0.5250088572502136, -0.40587612986564636, 0.8865849375724792, 0.0758948028087616, -0.08433201164007187, -0.018992077559232712, -0.666000247001648, 0.05169723182916641, -0.5354725122451782, -0.04487898573279381, -0.37549087405204773, -0.7318081259727478, 0.7960613965988159, -0.31000208854675293, -0.16488148272037506, 0.2668931782245636, 0.48371779918670654, -0.017822282388806343, 0.571365475654602, 0.8867642283439636, -0.05289885029196739, 0.49556732177734375, 0.009992382489144802, 1.0348926782608032, -0.3366810083389282, -0.31640496850013733, -0.8094837665557861, -0.10609661787748337, -0.7459021210670471, -0.09468480944633484, 0.28805461525917053, 0.08831244707107544, -0.04003516584634781, 0.6208086013793945, -0.27147459983825684, 0.7502201795578003, 0.36632636189460754, 0.015546325594186783, 0.2881346344947815, 0.23303253948688507, 0.17217066884040833, 0.21887174248695374, -0.2944341003894806, -0.39066222310066223, 0.9042413234710693, 0.6756656169891357, 0.9044432640075684, 0.07654344290494919, 0.4620746076107025, 0.21274434030056, 0.18862465023994446, -0.7875151038169861, 0.43287450075149536, -0.40557917952537537, -0.28867265582084656, -0.15436390042304993, -0.4220503270626068, -1.0127816200256348, 0.0960942879319191, 0.053924091160297394, -0.682035505771637, 0.43133747577667236, -0.12593145668506622, -0.40490803122520447, 0.6058488488197327, -0.27039870619773865, 0.760861337184906, 0.00022824374900665134, -0.4177362322807312, 0.33834242820739746, -0.6312928199768066, 0.40570753812789917, 0.008454115130007267, 0.43502771854400635, -0.11427100747823715, 0.49487853050231934, 0.29639413952827454, -0.5151255130767822, 0.8233624696731567, -0.12546595931053162, -0.45181146264076233, 0.40778738260269165, -0.07557832449674606, 0.8299803137779236, -0.2450914978981018, 0.138483464717865, 0.4181126654148102, -0.29073989391326904, -0.2833980917930603, -0.37392061948776245, 0.31973573565483093, -0.4734087884426117, -0.2958481013774872, -0.20617377758026123, -0.7408732771873474, -0.14413239061832428, -0.18617939949035645, 0.42533406615257263, 0.5191289186477661, -0.06287582963705063, 0.30963319540023804, 0.8372735381126404, -0.0684586837887764, 0.6483107209205627, 0.3574819564819336, 0.19179879128932953, -0.27078405022621155, 0.5819103717803955, -0.15040835738182068, 0.10869303345680237, 0.5038334131240845, 0.05404236167669296, -0.35986581444740295, -0.37680134177207947, -0.4041862189769745, -0.0007842715713195503, -0.6224748492240906, -0.44629135727882385, -0.7654546499252319, -0.2496563345193863, -0.5468310713768005, -0.4486854374408722, -0.39968591928482056, -0.26244375109672546, 0.06274476647377014, -0.050525203347206116, 0.19571629166603088, 0.6175951957702637, -0.16132348775863647, 0.71735018491745, -0.9681820869445801, 0.6681416034698486, 0.11240456998348236, 0.533728837966919, -0.06289941817522049, -0.26408591866493225, -0.41799023747444153, -0.12331398576498032, -0.34381303191185, -1.0095946788787842, 0.4092828631401062, -0.3667123317718506, 0.28158676624298096, 0.6261904835700989, 0.00515751913189888, 0.5966151356697083, -0.5619009733200073, 0.7147837281227112, 0.29091134667396545, -0.8815538883209229, 0.5497967600822449, -0.4752906858921051, 0.10985565185546875, 0.3937925398349762, 0.2172776758670807, -0.5255362391471863, -0.3708028793334961, -0.5685873031616211, -1.0595118999481201, 0.7551124095916748, 0.30112960934638977, 0.2723180651664734, -0.19145402312278748, 0.33399835228919983, -0.06599139422178268, 0.17124532163143158, -0.9614688754081726, -0.3246024549007416, -0.019069047644734383, -0.177275151014328, 0.07418875396251678, -0.6438465118408203, -0.060315169394016266, -0.09931719303131104, 0.3354528248310089, 0.23527629673480988, 0.38949719071388245, -0.2888721227645874, 0.04151877760887146, -0.08709470182657242, 0.5426638126373291, 0.46403422951698303, 0.35098591446876526, 0.0029954633209854364, -0.07830257713794708, -0.24687065184116364, -0.5872980952262878, 0.6523919105529785, 0.014997703023254871, -0.5397657155990601, -0.08834484219551086, 0.5216608643531799, 0.7611479759216309, -0.010514385998249054, -0.7290108799934387, 0.9111055135726929, 0.0597250759601593, -0.19928622245788574, -0.6486227512359619, 0.12121713906526566, -0.4162992537021637, 0.22311921417713165, 0.31522250175476074, 0.1331351399421692, 0.2250051647424698, -0.5850103497505188, 0.06466339528560638, 0.39277383685112, -0.48997631669044495, -0.1688729226589203, 0.6908633708953857, 0.05459853261709213, -0.6575678586959839, 0.94645756483078, -0.10704834759235382, -0.438176691532135, 0.7921053171157837, 0.9590120911598206, 1.0483574867248535, -0.3586376905441284, 0.11096735298633575, 0.1431667059659958, 0.4483281373977661, -0.26679736375808716, 0.0017082656268030405, -0.29439619183540344, -0.8538920283317566, -0.4768514633178711, -0.7894183397293091, -0.30507248640060425, 0.2942449748516083, -0.9415820837020874, 0.354588121175766, -0.3655514121055603, 0.022386742755770683, -0.18278323113918304, -0.7053333520889282, -0.7679104208946228, -0.0320168100297451, 0.32675501704216003, 0.7536336779594421, -0.8976144790649414, 0.6994834542274475, 0.4354294538497925, 0.040105003863573074, -0.41333314776420593, -0.2168882042169571, -0.1996699571609497, -0.5792607069015503, 0.7015158534049988, 0.42445290088653564, 0.01880125142633915, -0.3911203444004059, -0.709221601486206, -0.5422551035881042, 0.7268660664558411, 0.28122612833976746, -0.9282292723655701, -0.043450046330690384, 1.0164170265197754, 0.597894549369812, -0.31328535079956055, 0.2201395332813263, 1.0863827466964722, 0.11043619364500046, 0.4629218280315399, -0.3804788589477539, -0.3999141752719879, -0.0878821313381195, -0.174150750041008, 0.8209241032600403, -0.6558525562286377, 0.832412838935852, 0.2025584727525711, 0.0024786870926618576, -0.033395130187273026, 0.44671064615249634, 0.0224457960575819, 0.34494343400001526, 0.4297742545604706, 1.0642648935317993, 0.44754528999328613, -0.41725707054138184, 1.0537137985229492, -0.28792262077331543, 0.4805243909358978, 0.9561823606491089, -0.521143913269043, 0.651595950126648, 0.3067431151866913, -0.296217143535614, 0.49420320987701416, 0.24569348990917206, -0.4525228440761566, 0.46678051352500916, 0.22739124298095703, -0.1961868554353714, -0.25646522641181946, 0.11945640295743942, 0.22036418318748474, 0.7433785796165466, 0.418637752532959, -0.37685614824295044, -0.4303303360939026, 0.2627007067203522, -0.12608854472637177, -0.09157152473926544, -0.3806155323982239, 0.9117177128791809, -0.14784358441829681, -0.2656670808792114, -0.12067984789609909, 0.32160699367523193, 0.4526411294937134, -0.5296013951301575, 0.09315798431634903, -0.4479553997516632, 0.10430799424648285, 0.036430079489946365, -0.5166653394699097, 0.5167477130889893, 0.4434654414653778, -0.34016627073287964, -0.5611540675163269, 0.7414036989212036, -0.11620719730854034, -0.5098530650138855, 0.16588257253170013, -0.059835128486156464, 0.14575116336345673, -0.024140601977705956, -0.35356733202934265, -0.10372840613126755, -0.08522706478834152, -0.08577568829059601, 0.4421602785587311, 0.5013367533683777, 0.1684150993824005, 0.5400855541229248, 0.8521162271499634, -0.08350867033004761, -0.12704679369926453, -0.04039059579372406, 0.6231783628463745, -0.8166845440864563, -0.7250145673751831, -1.1349265575408936, 0.5519969463348389, -0.15631650388240814, -0.12225545197725296, 0.5606893301010132, 0.7699311375617981, 0.8708633184432983, -0.056153926998376846, 0.1914713978767395, 0.17454785108566284, 0.4106060266494751, -0.6468743085861206, 0.23478224873542786, 0.055589962750673294, 0.7416539788246155, -0.03183244913816452, -1.1200931072235107, -0.1990835964679718, 0.6066504716873169, -0.48337510228157043, -0.3396732807159424, 0.22013787925243378, 0.5122672319412231, -0.2701586186885834, 0.16344381868839264, 0.392404705286026, 0.027837831526994705, 0.5286083221435547, 0.5240752100944519, 1.0500361919403076, -0.6099264025688171, 0.48146918416023254, -0.48007360100746155, 0.24394148588180542, -0.218427836894989, -0.8723010420799255, -0.6683775186538696, -0.00769253121688962, -0.18857018649578094, -0.2943136692047119, -0.4301225543022156, 0.5540319085121155, 0.3835810124874115, -0.8012239933013916, -0.29608678817749023, -0.04027896374464035, -0.21068330109119415, 0.02848822809755802, -0.21227794885635376, 0.21939027309417725, -0.4521670937538147, -0.5581450462341309, 0.3160351812839508, 0.5239383578300476, 0.33338892459869385, -0.20189684629440308, 0.5709174275398254, 0.30603083968162537, 0.2973325550556183, 0.6800153851509094, -0.050085246562957764, -0.45583575963974, -0.1292254775762558, -0.16230081021785736, -0.16985894739627838, 0.36780792474746704, 1.335778832435608, -0.6729047894477844, 0.10547726601362228, 0.279468297958374, 0.6349239349365234, 0.3858589828014374, 0.5863440632820129, 0.28093934059143066, -0.6934484243392944, 0.4963875114917755, 0.06371639668941498, 0.4837545156478882, 0.16210535168647766, -0.7383032441139221, 0.4751470685005188, 0.12233445793390274, -0.6724510192871094, -0.782433271408081, 0.35653266310691833, -0.640268087387085, -0.23403294384479523, 0.7224132418632507, -0.2222871333360672, -0.3198697865009308, -0.4189610183238983, 0.17859695851802826, -0.16147832572460175, -0.2350732684135437, 0.6592225432395935, 0.7648395895957947, 0.020776554942131042, -0.3950684666633606, -0.5584394931793213, 0.31126657128334045, 0.08732239902019501, -0.65666663646698, 0.2525688111782074, 0.5953434109687805, -0.005689798388630152, 0.32590216398239136, 0.4454982578754425, -0.25148260593414307, 0.15876297652721405, 0.12315095961093903, -0.00841456837952137, -0.06332924216985703, -0.5024775266647339, -0.6148558855056763, 0.7420920133590698, -0.24495413899421692, 0.12834122776985168 ]
http://arxiv.org/abs/2404.05624v1
http://arxiv.org/pdf/2404.05624v1
LTNER: Large Language Model Tagging for Named Entity Recognition with Contextualized Entity Marking
2024-04-08T15:54:02
2024-04-08T15:54:02
Faren Yan, Peng Yu, Xin Chen
cs.CL
cs.CL, cs.AI
The use of LLMs for natural language processing has become a popular trend in the past two years, driven by their formidable capacity for context comprehension and learning, which has inspired a wave of research from academics and industry professionals. However, for certain NLP tasks, such as NER, the performance of LLMs still falls short when compared to supervised learning methods. In our research, we developed a NER processing framework called LTNER that incorporates a revolutionary Contextualized Entity Marking Gen Method. By leveraging the cost-effective GPT-3.5 coupled with context learning that does not require additional training, we significantly improved the accuracy of LLMs in handling NER tasks. The F1 score on the CoNLL03 dataset increased from the initial 85.9% to 91.9%, approaching the performance of supervised fine-tuning. This outcome has led to a deeper understanding of the potential of LLMs.
[ -0.6708141565322876, -0.8954909443855286, 0.43037593364715576, -0.06027175486087799, -0.2580532729625702, 0.07764404267072678, -0.39580562710762024, -0.8157829642295837, 0.07151447981595993, 0.5105935335159302, -0.36515888571739197, -0.6478885412216187, -0.5139331817626953, 0.28325873613357544, -0.26586660742759705, 0.9604763388633728, 0.028704233467578888, 0.17287378013134003, 0.03653991222381592, -0.0024792817421257496, -0.5280145406723022, -0.4837169945240021, -1.2735929489135742, -0.5194266438484192, 0.837652325630188, 0.3929859697818756, 0.23067939281463623, 0.6633353233337402, 0.6387631893157959, 0.19883155822753906, -0.1631108820438385, 0.12124038487672806, -0.3323020935058594, 0.3535984456539154, -0.2586718499660492, -0.2863996624946594, -0.5705760717391968, -0.21059922873973846, 0.807029664516449, 0.6808503270149231, -0.02199706993997097, -0.007742871530354023, 0.020863063633441925, 0.7101151347160339, -0.399301141500473, -0.033197540789842606, -0.8068858981132507, 0.11841655522584915, -0.35577404499053955, -0.46443822979927063, -0.6568681001663208, 0.050372250378131866, 0.0982246920466423, -0.4373258948326111, 0.35228481888771057, 0.258075088262558, 0.6777164340019226, 0.4910948574542999, -0.36441418528556824, -0.37078261375427246, -0.6934831738471985, 0.9271942973136902, -0.7248080372810364, 0.6425803303718567, 0.05021027848124504, 0.12641221284866333, -0.412249356508255, -0.9194907546043396, -0.36241528391838074, -0.14413297176361084, -0.06610386818647385, -0.21844793856143951, -0.1854245662689209, 0.1474701166152954, 0.5689253807067871, 0.101725734770298, -0.5157267451286316, 0.5100075006484985, 0.015408729203045368, 0.07223305851221085, 0.4770207107067108, 0.04863253980875015, 0.22046317160129547, -0.11356854438781738, -0.5873132348060608, 0.1695709079504013, -0.846382737159729, -0.15879316627979279, 0.08375876396894455, 0.46624645590782166, 0.12905457615852356, 0.5312943458557129, -0.2759797275066376, 0.9705920219421387, -0.022326115518808365, -0.2954753041267395, 0.1733628362417221, -0.01343193557113409, -0.41056492924690247, 0.2530863881111145, 0.6882815957069397, 0.4827885925769806, 0.4247564375400543, -0.3715679943561554, -0.4024644196033478, -0.15050141513347626, -0.04965309798717499, -0.9049952030181885, -0.10481543838977814, -0.14925630390644073, -0.22017556428909302, 0.08114097267389297, -0.20167940855026245, -0.8103314638137817, -0.29402217268943787, -0.5399678945541382, 0.03689391911029816, -0.29736971855163574, -0.07200631499290466, 0.03569134324789047, 0.08472856134176254, 0.49281877279281616, 0.4483221471309662, -0.8110560178756714, 0.31484806537628174, 0.8003796935081482, 0.8472006916999817, -0.2870853841304779, 0.0930340588092804, -0.7144266366958618, 0.22214284539222717, -0.1692200005054474, 0.9196127653121948, -0.6216627955436707, -0.20801573991775513, -0.2444790154695511, -0.10686682164669037, -0.10728026926517487, -0.5775129199028015, 0.5129126310348511, -0.9629933834075928, 0.022671392187476158, -0.1653456836938858, -0.8633267879486084, -0.05521947890520096, 0.45919206738471985, -0.7049474120140076, 1.1045048236846924, -0.08778316527605057, -0.8294342756271362, 0.5741262435913086, -0.6997460722923279, -0.4047331213951111, 0.4600842297077179, -0.25564998388290405, -0.21024414896965027, -0.11741524189710617, 0.2692648470401764, 0.7694088220596313, -0.4684827923774719, 0.5187836289405823, -0.057481952011585236, -0.41716718673706055, 0.17932888865470886, -0.33795180916786194, 0.2551893889904022, 0.023030119016766548, -0.356050580739975, 0.14972780644893646, -0.8480117917060852, 0.09588906168937683, -0.006467978470027447, -0.5445996522903442, -0.4598764181137085, 0.008625112473964691, 0.16810593008995056, 0.25450655817985535, 0.07001503556966782, -0.3639909625053406, 0.17990568280220032, -0.5862941741943359, 0.4590851366519928, 0.6006916165351868, 0.12874609231948853, 0.7186694145202637, -0.0400194376707077, 0.4442804455757141, -0.3934871256351471, -0.31992748379707336, 0.06050538271665573, -0.4245012104511261, -0.9939827919006348, -0.31520724296569824, 0.5724923014640808, 0.4119526743888855, -0.7851190567016602, 0.48328736424446106, -0.42911580204963684, -0.34073588252067566, -0.17868009209632874, 0.1496666818857193, 0.21943695843219757, 0.7836779952049255, 0.5926937460899353, 0.013292625546455383, -0.8231343626976013, -0.8661618828773499, -0.2776932716369629, 0.30001676082611084, -0.08896789699792862, 0.11516532301902771, 0.6474786400794983, -0.3660103380680084, 1.0585347414016724, -0.34553760290145874, -0.7202743291854858, -0.4479699432849884, 0.10705263912677765, 0.2564544379711151, 0.6302363276481628, 0.12558378279209137, -0.8391441702842712, -0.5726969242095947, 0.0425589345395565, -0.605273962020874, -0.00922151654958725, 0.09532742202281952, 0.15926454961299896, 0.5353695154190063, 0.9947376251220703, -0.5197775959968567, 0.1407957226037979, 0.4423653185367584, -0.11108063906431198, 0.12408227473497391, 0.0010095522738993168, -0.2102876901626587, -1.041244387626648, 0.16791094839572906, 0.2956511080265045, -0.4028158187866211, -0.7221279144287109, 0.02080990932881832, -0.13676564395427704, 0.2638682425022125, -0.4673582911491394, 0.9160364270210266, -0.6446453332901001, -0.08877246826887131, -0.3644443154335022, 0.2874564826488495, -0.18341444432735443, 0.21585893630981445, 0.1416604071855545, 0.7560601830482483, 0.22092141211032867, -0.5734893083572388, 0.2153988480567932, -0.16422903537750244, -0.3600938320159912, 0.578801155090332, -0.6908007860183716, 0.3130914568901062, -0.15792693197727203, 0.3769620358943939, -0.5654852986335754, -0.3821026086807251, 0.38289254903793335, -0.3158053755760193, 0.5704215168952942, -0.3956139087677002, -0.6628734469413757, 0.003393779741600156, 0.04876340925693512, 0.27344897389411926, 0.30946528911590576, -0.5582694411277771, 0.9284921288490295, 0.3732733130455017, -0.00756895961239934, -0.6804341673851013, -0.7457501292228699, 0.1792200654745102, -0.4459502696990967, -0.34374910593032837, 0.5819193720817566, 0.06682752817869186, -0.1797810196876526, 0.0691910833120346, -0.1950741708278656, 0.14976060390472412, 0.17332245409488678, 0.22584237158298492, 0.18862250447273254, -0.236917182803154, 0.37945079803466797, -0.3287491202354431, -0.49426165223121643, -0.003975009545683861, 0.023052694275975227, 0.7745760083198547, -0.1279664784669876, -0.11901148408651352, -0.287876158952713, 0.043314073234796524, -0.04989511892199516, -0.18751409649848938, 0.7694787383079529, 0.7045508623123169, -0.6736543774604797, -0.4555782675743103, -0.6780985593795776, -0.02937287651002407, -0.4313194453716278, 0.2912091314792633, -0.48102834820747375, -1.4382573366165161, 0.28968626260757446, -0.19130034744739532, -0.15967439115047455, 0.44535115361213684, 0.23834198713302612, -0.15880385041236877, 0.9010571241378784, 0.6419878005981445, -0.17167425155639648, 0.5095557570457458, -0.16870912909507751, 0.43061068654060364, -1.1049864292144775, -0.24421517550945282, -0.4936463534832001, -0.3792745769023895, -0.7727466225624084, -0.5455188751220703, 0.05297623947262764, 0.38241347670555115, -0.29049235582351685, 0.1646909862756729, -0.5891886353492737, 0.6948879957199097, 0.5433552861213684, -0.22801637649536133, 0.46547558903694153, -0.00863712653517723, 0.028496352955698967, -0.1671328842639923, -0.5318796634674072, -0.6878963708877563, 0.8382403254508972, 0.3785801827907562, 0.7604885101318359, -0.06970561295747757, 0.7289502620697021, 0.2317364364862442, 0.6575189232826233, -0.8470595479011536, 0.8125723600387573, -0.06699132919311523, -0.5624216198921204, -0.3285543918609619, -0.44995129108428955, -0.9411072731018066, 0.21534211933612823, -0.15044660866260529, -0.9630564451217651, -0.09454498440027237, 0.07008329778909683, -0.05977468937635422, 0.43291738629341125, -0.45599088072776794, 0.7352507710456848, -0.14922571182250977, -0.2728974223136902, 0.16051778197288513, -0.612814724445343, 0.16970239579677582, -0.13606701791286469, 0.22866769134998322, -0.4007212221622467, -0.25280076265335083, 0.9026458859443665, 0.20106925070285797, 0.6722895503044128, -0.3099558353424072, -0.11225658655166626, -0.01166370790451765, -0.08594738692045212, 0.7019492387771606, 0.3769317865371704, -0.18885476887226105, 0.0661008358001709, -0.39152342081069946, 0.017760517075657845, -0.5114444494247437, 1.0289782285690308, -0.29848846793174744, -0.4686164855957031, -0.7068155407905579, -0.5749587416648865, -0.09502231329679489, 0.42021578550338745, 0.1820683479309082, 0.2367507368326187, -0.20312513411045074, 0.3655737042427063, 0.8197802305221558, -0.12226095795631409, 0.6197521686553955, 0.4626356363296509, -0.28745222091674805, -0.5087738633155823, 0.664088785648346, 0.11608918756246567, 0.047771554440259933, 0.7525458335876465, -0.31672948598861694, -0.34784135222435, -0.6970101594924927, -0.18361259996891022, 0.27375996112823486, -0.970735490322113, -0.43012216687202454, -0.8470292091369629, -0.21602456271648407, -0.20215605199337006, -0.4121226370334625, -0.26023197174072266, -0.02775382250547409, -0.5763053894042969, -0.03382151201367378, 0.20667380094528198, 0.6733707785606384, 0.22810104489326477, 0.4442242980003357, -0.5207285284996033, 0.24951079487800598, 0.05779686197638512, 0.49487608671188354, -0.13540513813495636, -0.3730294704437256, -0.07833035290241241, -0.09379471838474274, 0.10442982614040375, -0.4593028128147125, 0.4591425061225891, 0.15405455231666565, 0.5337924957275391, 0.18618066608905792, -0.03237564116716385, 0.7007408738136292, -0.5746358036994934, 0.440560907125473, 0.09488562494516373, -0.8621085286140442, 0.48511210083961487, -0.21991442143917084, 0.30968907475471497, 0.4252204895019531, 0.36566630005836487, -0.6067343950271606, 0.01077304221689701, -0.39650341868400574, -1.1913926601409912, 0.5784580111503601, -0.10792752355337143, 0.019095750525593758, -0.1479276567697525, 0.4078724980354309, -0.11790311336517334, 0.03941064327955246, -1.0529881715774536, -0.3096145689487457, 0.5584321022033691, -0.19556081295013428, -0.41064101457595825, -0.362747460603714, 0.007571629714220762, -0.19337882101535797, 0.7859416604042053, -0.3448251783847809, 0.20428617298603058, 0.23442687094211578, -0.3804718255996704, -0.08741196990013123, 0.569514811038971, 0.4699777066707611, 0.6075487732887268, -0.3157830238342285, 0.352125346660614, 0.421652227640152, 0.07040055841207504, 0.06429468840360641, 0.38929876685142517, -0.3164008855819702, 0.05025957152247429, 0.38420817255973816, 0.8107616901397705, 0.45429477095603943, -0.6799768805503845, 0.15748606622219086, -0.09196875244379044, -0.13276082277297974, -0.5734900236129761, 0.22208239138126373, 0.354332834482193, 0.36128711700439453, 0.4361377954483032, 0.050820499658584595, 0.16369250416755676, -0.01648794300854206, 0.16569054126739502, 0.5430694222450256, -0.49557191133499146, 0.04507625475525856, 0.5395134091377258, 0.005611815024167299, -0.36126673221588135, 0.5439496636390686, -0.2813103199005127, -0.36086317896842957, 0.4016985595226288, 0.6741986274719238, 0.7165517807006836, -0.006889644078910351, -0.08722401410341263, 0.4943581223487854, 0.32677653431892395, -0.19821418821811676, 0.0888504683971405, -0.004227954428642988, -0.8530033230781555, -0.7374657988548279, -0.9380343556404114, -0.31823456287384033, 0.33493778109550476, -0.5650842189788818, 0.34577345848083496, -0.4589315950870514, -0.3017530143260956, 0.2654575705528259, -0.030853528529405594, -0.7664542198181152, 0.49066659808158875, 0.2811395823955536, 0.895361602306366, -0.4292561411857605, 0.8563544154167175, 0.7656378746032715, -0.2113679200410843, -0.7302425503730774, -0.15604591369628906, -0.23839683830738068, -0.4200071394443512, 1.126011610031128, 0.6980172991752625, -0.11521671712398529, 0.6369146108627319, -0.41842877864837646, -1.129251480102539, 1.126364827156067, 0.18242959678173065, -0.8569953441619873, -0.26707351207733154, 0.11174234002828598, 0.6157011985778809, -0.5536389350891113, 0.05355815961956978, 0.6239413022994995, 0.429500937461853, 0.003277681302279234, -0.6462774276733398, 0.10388588160276413, -0.04485839977860451, 0.27245423197746277, 0.5379148125648499, -0.21790510416030884, 0.5549792647361755, -0.08252090960741043, -0.4526236951351166, -0.05755823478102684, 0.6702815890312195, 0.3259565532207489, 0.4265119731426239, 0.48856082558631897, 0.8259680867195129, 0.6702682375907898, -0.3384309709072113, 0.8433369994163513, -0.10981826484203339, 0.4195106327533722, 1.4190452098846436, -0.5036066770553589, 1.0602716207504272, 0.7511575818061829, 0.06581749767065048, 0.3625022768974304, 0.4769204556941986, -0.18998423218727112, 0.2763546109199524, 0.2954319417476654, -0.3950076699256897, -0.2647324800491333, -0.40696635842323303, -0.30252954363822937, 0.35598888993263245, 0.43869054317474365, -0.5306447744369507, -0.21565483510494232, 0.14210236072540283, 0.1468086540699005, -0.02473447471857071, -0.3019256889820099, 0.8654412627220154, 0.2864970564842224, -0.5822941064834595, 0.3362072706222534, 0.1749599725008011, 1.0143914222717285, -0.36900344491004944, -0.19601964950561523, 0.009282127022743225, 0.25229963660240173, -0.17935925722122192, -0.7566421627998352, 0.1494036614894867, 0.08570312708616257, -0.26782146096229553, -0.446524977684021, 0.9900317788124084, -0.3323986828327179, -0.3484955430030823, 0.6920572519302368, 0.512451708316803, 0.05446119233965874, 0.024337152019143105, -0.5598770976066589, 0.12626929581165314, -0.1072762981057167, -0.451874703168869, 0.3710053861141205, 0.13005535304546356, 0.022921711206436157, 0.9153812527656555, 0.7582724094390869, -0.0029581738635897636, 0.00812075100839138, 0.26725414395332336, 0.8110195398330688, -0.8985976576805115, -0.1379188448190689, -1.0024473667144775, 0.4233395755290985, -0.12383610755205154, -0.1859700083732605, 0.7118220925331116, 0.6421450972557068, 1.2770286798477173, 0.08903555572032928, 0.5280092358589172, -0.2122855931520462, 0.6513547897338867, -0.7536509037017822, 0.4069474935531616, -0.39786839485168457, 0.439313143491745, -0.17720238864421844, -1.1685751676559448, -0.7967833876609802, 0.5208935141563416, -0.5344241857528687, 0.2708876430988312, 0.547859251499176, 0.8130111694335938, 0.10746512562036514, -0.14900240302085876, 0.26000362634658813, -0.1084655374288559, 0.5137920379638672, 0.38418224453926086, 0.8738043308258057, -0.3522939682006836, 0.18263939023017883, -0.3611946702003479, 0.20490998029708862, -0.28310245275497437, -1.0478382110595703, -1.0275071859359741, -0.2922929525375366, -0.3358656167984009, -0.10165168344974518, 0.10505050420761108, 1.1056363582611084, 0.5458770394325256, -0.7453165054321289, 0.031853798776865005, -0.4045174717903137, 0.038866154849529266, 0.20500418543815613, -0.30859360098838806, 0.21865278482437134, -0.5235801935195923, -0.7882401347160339, 0.5525772571563721, 0.28596940636634827, 0.05093337595462799, 0.08684052526950836, -0.22729530930519104, -0.4560939371585846, -0.5095992684364319, 0.5399606823921204, 0.0996243953704834, -0.9245616793632507, -0.25142261385917664, -0.013835802674293518, -0.16954679787158966, 0.10774718225002289, 0.6359981894493103, -0.7199254631996155, 0.19137269258499146, 0.3065569996833801, 0.7195211052894592, 0.45623835921287537, -0.03861777111887932, 0.3461345136165619, -0.7839450836181641, 0.03307794779539108, 0.4489426910877228, 0.40928757190704346, 0.687275767326355, -0.28608834743499756, 0.7390744090080261, 0.12360391020774841, -0.7518813014030457, -0.9622548222541809, 0.03341040015220642, -1.0254993438720703, -0.016498997807502747, 1.2189652919769287, 0.058425821363925934, 0.034182339906692505, -0.01641598530113697, -0.13993586599826813, 0.3864750266075134, -0.4740627110004425, 0.15039175748825073, 0.38461196422576904, -0.15113285183906555, -0.51651930809021, -0.9008645415306091, 0.5713481903076172, 0.20767785608768463, -0.7861036062240601, -0.2997499406337738, 0.4623616337776184, 0.5510257482528687, 0.04198150336742401, 0.6392695307731628, 0.26607346534729004, -0.07515637576580048, -0.4139058291912079, 0.3712944984436035, 0.09753086417913437, -0.27731436491012573, -0.37909260392189026, 0.3593966066837311, 0.3152380883693695, 0.1830381602048874 ]
http://arxiv.org/abs/2404.05623v2
http://arxiv.org/pdf/2404.05623v2
AnchorAL: Computationally Efficient Active Learning for Large and Imbalanced Datasets
2024-04-08T15:53:46
2024-05-24T19:46:14
Pietro Lesci, Andreas Vlachos
cs.LG
cs.LG, cs.CL
Active learning for imbalanced classification tasks is challenging as the minority classes naturally occur rarely. Gathering a large pool of unlabelled data is thus essential to capture minority instances. Standard pool-based active learning is computationally expensive on large pools and often reaches low accuracy by overfitting the initial decision boundary, thus failing to explore the input space and find minority instances. To address these issues we propose AnchorAL. At each iteration, AnchorAL chooses class-specific instances from the labelled set, or anchors, and retrieves the most similar unlabelled instances from the pool. This resulting subpool is then used for active learning. Using a small, fixed-sized subpool AnchorAL allows scaling any active learning strategy to large pools. By dynamically selecting different anchors at each iteration it promotes class balance and prevents overfitting the initial decision boundary, thus promoting the discovery of new clusters of minority instances. In experiments across different classification tasks, active learning strategies, and model architectures AnchorAL is (i) faster, often reducing runtime from hours to minutes, (ii) trains more performant models, (iii) and returns more balanced datasets than competing methods.
[ 0.0005315138259902596, -0.7103949189186096, -0.14029203355312347, 0.12070661783218384, -0.19758422672748566, 0.39178815484046936, -0.21230192482471466, -0.4235576391220093, 0.2853507697582245, -0.22558562457561493, -0.1765560507774353, -0.3097619116306305, -0.40937918424606323, -0.24225814640522003, -0.45195242762565613, 0.8646873235702515, -0.1566767543554306, 0.007770518772304058, -0.18233226239681244, -0.6907406449317932, -0.37496596574783325, -0.27482277154922485, -0.7549823522567749, -0.37828221917152405, 0.6508579850196838, 0.6594882607460022, 0.7878513932228088, 0.9702741503715515, 0.34484919905662537, 0.2716088891029358, -0.18817515671253204, 0.1528143584728241, -0.7160849571228027, 0.22964157164096832, -0.4182685613632202, -0.540884256362915, -0.36871156096458435, 0.11184477806091309, 0.7612544298171997, 0.9098915457725525, -0.1356154829263687, 0.4358598589897156, 0.03446931391954422, 0.7143094539642334, -1.400689959526062, 0.18048317730426788, -0.6640484929084778, 0.3176704943180084, -0.32928481698036194, 0.07329223304986954, -0.14086273312568665, -0.0048589627258479595, 0.13655690848827362, -0.5871352553367615, 0.432443231344223, -0.04893682897090912, 0.40899038314819336, 0.47402673959732056, -0.5380885601043701, -0.09437347948551178, -0.5401841998100281, 0.9493451118469238, -0.2389124035835266, 0.17269736528396606, 0.2426869124174118, 0.25698795914649963, 0.3824797570705414, -0.7019926309585571, -0.148706316947937, 0.10843107849359512, 0.15913212299346924, 0.28389185667037964, -0.29612913727760315, 0.02940310165286064, 0.2752554714679718, 0.6708322763442993, -0.3756125271320343, 0.28697413206100464, -0.6952028274536133, 0.11019826680421829, 0.6883909702301025, -0.08297821134328842, 0.16450266540050507, 0.441631019115448, -0.24422363936901093, -0.051672473549842834, -0.7012664675712585, 0.1691616177558899, 0.3163548707962036, 0.720268726348877, 0.10099652409553528, 0.5295976400375366, -0.15124358236789703, 0.8296247720718384, 0.2774609923362732, -0.06797623634338379, 0.5631572008132935, 0.2572861611843109, -0.04244265332818031, 0.7849260568618774, 0.15253502130508423, 0.22858893871307373, 0.0007642944110557437, 0.021049296483397484, -0.21479108929634094, 0.20515096187591553, 0.34864625334739685, -0.6110579371452332, -0.40057992935180664, 0.2903366684913635, -0.329931378364563, -0.5397635698318481, -0.06353599578142166, -0.3358495533466339, -0.4229632318019867, -0.2358800619840622, 0.5129331350326538, 0.037605516612529755, -0.23054422438144684, -0.24623249471187592, 0.07342076301574707, -0.052698250859975815, 0.5562969446182251, -0.6368325352668762, 0.182169109582901, 0.3769456148147583, 1.0044422149658203, -0.7030296325683594, -0.20062808692455292, -0.6891001462936401, 0.23241721093654633, -0.23694252967834473, 0.3889264166355133, -0.6968499422073364, 0.015880554914474487, 0.18566486239433289, 0.1448706090450287, -0.2060099095106125, -0.5697820782661438, 0.4448064863681793, -0.6901715397834778, -0.08778628706932068, -0.025641627609729767, -0.36247551441192627, -0.28519999980926514, 0.26188337802886963, -0.9736667275428772, 0.8803861737251282, 0.19296550750732422, -0.6370041370391846, 0.36404407024383545, -0.45081961154937744, -0.6855548024177551, 0.09506447613239288, 0.07846727967262268, -0.8075098991394043, 0.028986692428588867, 0.05652206391096115, 0.2472536861896515, 0.012541904114186764, -0.0808078944683075, -0.4885081648826599, -0.5700227618217468, 0.00363444397225976, -0.251722127199173, 0.5750136375427246, 0.37636953592300415, -0.7105367183685303, 0.08912265300750732, -0.4699483811855316, -0.051596008241176605, 0.10757315158843994, -0.5639069080352783, -0.39418599009513855, 0.2381480187177658, -0.009354864247143269, 0.07923408597707748, 0.09407650679349899, -0.5962631702423096, 0.25049760937690735, -0.04771163687109947, 0.26343193650245667, 0.7051763534545898, -0.201634019613266, 0.7088397145271301, -0.30463674664497375, 0.5751484036445618, 0.019113710150122643, 0.0029753786511719227, -0.299797385931015, -0.2610643208026886, -0.7755005955696106, -0.5614074468612671, 0.5823607444763184, 0.5560027360916138, -0.5102172493934631, 0.13587607443332672, 0.060501035302877426, -0.4365229904651642, -0.5770421028137207, 0.36877986788749695, 0.5054113864898682, 0.38911810517311096, 0.6852467656135559, -0.1635034829378128, -0.29199373722076416, -0.7197282910346985, 0.06958576291799545, -0.010526633821427822, 0.3666881322860718, 0.25584203004837036, 0.2696811258792877, -0.006311047822237015, 0.7167420387268066, -0.4916251599788666, -0.44452598690986633, -0.07772272080183029, 0.15401063859462738, 0.25802940130233765, 0.6071365475654602, 0.5692281126976013, -1.0791875123977661, -0.731846809387207, -0.06388156861066818, -0.8911625742912292, -0.11262675374746323, 0.06390491127967834, -0.055328626185655594, 0.02961874008178711, 0.6168769598007202, -0.40810543298721313, 0.4471743702888489, 0.45081576704978943, -0.060597676783800125, -0.26110219955444336, 0.14482297003269196, -0.1377994269132614, -0.6153727769851685, 0.05902595818042755, -0.04271073266863823, 0.09546398371458054, -0.3792765438556671, 0.0745387077331543, 0.3822573721408844, -0.2925879657268524, -0.5368982553482056, 0.5293567776679993, -0.7915328741073608, 0.054490260779857635, -0.4604005813598633, -0.21613726019859314, -0.3992660939693451, 0.4753248393535614, -0.05295899510383606, 0.45732948184013367, 0.7440144419670105, -0.6024389863014221, 0.5724010467529297, 0.014809409156441689, 0.07213228940963745, 0.6389816403388977, -0.6709803938865662, -0.1412021666765213, -0.2931937873363495, 0.23176820576190948, -0.9265454411506653, -0.2618730664253235, -0.023464545607566833, -0.23440106213092804, 0.6717516779899597, -0.571190595626831, 0.18843859434127808, -0.48809924721717834, -0.3710571825504303, 1.15396249294281, 0.4920649230480194, -0.9046595692634583, 0.5873546004295349, 0.7160899043083191, 0.11285459250211716, -0.9992978572845459, -0.3520822525024414, -0.4145660698413849, -0.19130508601665497, -0.27004483342170715, 0.1609579175710678, 0.35741111636161804, -0.18159031867980957, 0.24379907548427582, -0.48184674978256226, 0.007582054939121008, 0.3102230429649353, 0.47570791840553284, -0.021144641563296318, -0.19798336923122406, 0.3691108822822571, 0.09094052761793137, -0.1294960379600525, -0.33956626057624817, -0.4519667625427246, 0.14083199203014374, -0.2644045054912567, -0.7730594873428345, -0.06729614734649658, 0.19098424911499023, 0.7538269758224487, -0.534247636795044, 0.8490242958068848, 0.4098280966281891, -0.554312527179718, -0.6106086373329163, -0.27454859018325806, 0.017171809449791908, -0.42461127042770386, 0.44291993975639343, 0.09169109910726547, -0.7235470414161682, 0.33500733971595764, -0.002021826570853591, 0.6200652718544006, 0.37189429998397827, 0.5763494372367859, -0.06389852613210678, 1.0800544023513794, 0.30857327580451965, -0.2502075135707855, 0.640269935131073, -0.3619217276573181, 0.2372649610042572, -0.3818480968475342, -0.16277800500392914, -0.16496333479881287, -0.9671899080276489, -0.07268598675727844, -0.6090371012687683, 0.5953521132469177, 0.07887180894613266, -0.27618613839149475, -0.2461635172367096, -0.6356107592582703, 0.5185470581054688, 0.8011474609375, 0.2928801476955414, 0.12734857201576233, 0.104951411485672, 0.22083808481693268, 0.16061744093894958, -0.9245375394821167, -0.06813718378543854, 1.1826720237731934, 0.3098163604736328, 1.0985163450241089, 0.13091158866882324, 0.392764687538147, 0.685667872428894, 0.6858491897583008, -0.8517743349075317, 0.12103015929460526, 0.07092730700969696, -0.8763920664787292, -0.4006117880344391, -0.2906039357185364, -1.3214266300201416, 0.3030151426792145, -0.5371067523956299, 0.028989767655730247, 0.3331867754459381, 0.7729973196983337, -0.13018108904361725, 0.7230495810508728, -0.5027381777763367, 0.6416500210762024, -0.36830297112464905, -0.9003235697746277, -0.30339720845222473, -0.6036874651908875, 0.2939836084842682, -0.4340853691101074, 0.01822245679795742, -0.11235342174768448, -0.13221344351768494, 0.7763981819152832, -0.4861653745174408, 0.9977343082427979, -0.44274210929870605, 0.22323107719421387, 0.6247369647026062, -0.09252806752920151, 0.4479866623878479, -0.21224917471408844, -0.10405045747756958, -0.06913160532712936, -0.6246470808982849, -0.8719238638877869, -0.3529888689517975, 0.7572578191757202, -0.840816855430603, -0.05755730718374252, -0.7231398224830627, -0.3814486265182495, -0.05882452428340912, 0.04707653447985649, -0.05192525312304497, 0.3213609457015991, -0.059603963047266006, 0.480582594871521, 0.911105215549469, 0.06410493701696396, 0.4388231337070465, 0.49881047010421753, 0.4430679678916931, -0.2706615924835205, 0.9372226595878601, 0.42547231912612915, 0.055655378848314285, 0.29108351469039917, -0.10713428258895874, -0.13770000636577606, -0.7367025017738342, -0.42904043197631836, 0.07406069338321686, -0.5218871831893921, -0.7572786211967468, -0.5863733291625977, -0.21742752194404602, -0.00970952957868576, -0.5846248865127563, -0.6712071895599365, -0.6710770726203918, -0.04882917180657387, -0.4755401313304901, 0.1362369954586029, 0.3703124225139618, -0.3329448699951172, 0.43439626693725586, -0.5205097794532776, 0.2376232147216797, 0.7279112339019775, 0.22233562171459198, 0.31873857975006104, -0.318513959646225, -0.5246514081954956, 0.1032317578792572, -0.36975568532943726, -0.6745372414588928, 0.055044595152139664, 0.4303533434867859, 0.9474725127220154, 0.7743147611618042, 0.42660853266716003, 0.35762783885002136, -0.2687101364135742, 0.17708677053451538, 0.2938898801803589, -0.7130374908447266, 0.613265872001648, -0.3268203139305115, 0.153161883354187, 0.8136958479881287, 0.7819892764091492, -0.10026939958333969, -0.23807837069034576, -0.7054409980773926, -1.3530396223068237, 0.8063858151435852, 0.17074884474277496, -0.10977241396903992, 0.02217078022658825, 0.3113609552383423, -0.26725590229034424, 0.33482325077056885, -0.9519102573394775, -0.2974368631839752, -0.25106891989707947, -0.4812723696231842, -0.054647840559482574, -0.07782509922981262, -0.31854382157325745, -0.2764018774032593, 0.9087608456611633, -0.3673947751522064, -0.1384337991476059, -0.09489687532186508, -0.4790339469909668, -0.4965592324733734, -0.2279464304447174, -0.05903057008981705, 0.7195936441421509, -0.3229655921459198, 0.4866774380207062, 0.5292295813560486, -0.5575350522994995, 0.2207580953836441, 0.01170718390494585, -0.24237193167209625, -0.25557541847229004, 0.641417384147644, 0.5163527131080627, 0.3620986044406891, -0.7627831697463989, 0.7458410859107971, 0.1631081998348236, -0.03356646001338959, -0.17977167665958405, 0.2838515341281891, -0.1548766940832138, 0.3782615661621094, 0.7466422915458679, 0.07096346467733383, -0.1500617414712906, -0.603294849395752, 0.2825183570384979, 0.45100486278533936, -0.8003023266792297, -0.1604125201702118, 0.6888906359672546, 0.553395688533783, -0.07619716227054596, 0.8638772964477539, -0.04696660488843918, -0.5190898776054382, 0.6356578469276428, 0.5223399996757507, 0.6321419477462769, -0.7091769576072693, -0.05760444700717926, 0.7080061435699463, 0.2311108112335205, -0.2744569778442383, -0.06673762947320938, -0.1795673668384552, -0.6630715727806091, -0.2056097835302353, -0.6513926982879639, -0.5541277527809143, -0.22056011855602264, -0.8480944633483887, 0.20927315950393677, -0.5469467043876648, 0.050547607243061066, -0.20227894186973572, -0.13456979393959045, -0.14794544875621796, 0.20756924152374268, 0.31769391894340515, 0.7583910822868347, -1.4671345949172974, 0.396602600812912, 1.1974743604660034, -0.07763845473527908, -0.4998219907283783, -0.5327291488647461, -0.013895679265260696, -0.9657968282699585, 0.32472023367881775, 0.2705262005329132, 0.1216660663485527, -0.11392120271921158, -0.7615665197372437, -0.9871355891227722, 1.0319616794586182, 0.043581876903772354, -0.2893722653388977, 0.019809233024716377, -0.28353244066238403, 0.3385483920574188, -0.334485799074173, 0.07325390726327896, 0.08816627413034439, 0.295480877161026, 0.45025232434272766, -0.6076856255531311, -0.00900146085768938, -0.6050383448600769, -0.5516583323478699, 0.4798618257045746, -0.9007775783538818, 1.1802163124084473, -0.1975516825914383, 0.012075602076947689, -0.5829519033432007, 0.8355292081832886, 0.4842618405818939, 0.6371498107910156, 0.8522647023200989, 0.6906574964523315, 1.0694739818572998, -0.06831388920545578, 0.5541446805000305, -0.18970292806625366, 0.27159789204597473, 0.7652029395103455, -0.28578150272369385, 0.5324065089225769, 0.1159278005361557, -0.07272591441869736, 0.15428507328033447, 0.7899808287620544, -0.230887308716774, 0.6040608882904053, 0.2912472188472748, -0.515305757522583, -0.48693642020225525, 0.06236739829182625, -0.351551353931427, 0.3583260178565979, 0.3700893819332123, -0.19396492838859558, -0.45312806963920593, 0.0936436653137207, -0.029402004554867744, -0.059965647757053375, -0.9115650653839111, 0.3544062077999115, -0.07956202328205109, -0.5942139029502869, 0.45815426111221313, 0.09224405884742737, 0.4699147343635559, -0.4158036708831787, -0.25380295515060425, -0.1701154112815857, 0.5477041602134705, -0.5710284113883972, -0.4018663763999939, -0.19561907649040222, -0.1939617395401001, -0.256062775850296, -0.099542036652565, 0.688155472278595, -0.5089687705039978, -0.4872324466705322, 0.10928806662559509, 0.5912726521492004, -0.014291786588728428, -0.09396868199110031, -0.6951290965080261, -0.15282805263996124, 0.08702230453491211, -0.14929071068763733, 0.29965493083000183, 0.3156997859477997, -0.7319302558898926, 0.6797921061515808, 0.7170554995536804, -0.0695924386382103, 0.23245812952518463, -0.4068165123462677, 1.1067678928375244, -0.3975357413291931, -0.5946003794670105, -0.4213011860847473, 0.2929553985595703, -0.13225629925727844, -0.07177206128835678, 0.7068400979042053, 0.9113767147064209, 0.6558164358139038, 0.2385212481021881, 0.6758878231048584, -0.10689131170511246, 0.5151468515396118, -0.3212208151817322, 0.39974260330200195, -0.6742927432060242, 0.13050486147403717, -0.020742544904351234, -1.140123963356018, -0.3239671587944031, 1.0581640005111694, -0.0897681936621666, -0.00027648251852951944, 0.4681209921836853, 0.41767066717147827, -0.7225108742713928, -0.0655345544219017, -0.15156204998493195, 0.1582801789045334, 0.043828707188367844, 0.5404133796691895, 1.0503828525543213, -0.1430206149816513, 0.3546436131000519, -0.12164027243852615, -0.642952561378479, -0.46430161595344543, -0.6386110186576843, -1.052383303642273, -0.22608983516693115, -0.6184711456298828, -0.3866833448410034, 0.21196401119232178, 0.9155358672142029, 0.9129717946052551, -0.9726649522781372, -0.1474623829126358, 0.20322126150131226, 0.46651116013526917, -0.3236417770385742, -0.17416580021381378, 0.5795024633407593, -0.35046109557151794, -0.8401764631271362, 0.33191537857055664, 0.008393708616495132, 0.06980465352535248, -0.008563335053622723, 0.019574111327528954, -0.4807218909263611, -0.2933052182197571, 0.42661887407302856, 0.8791248202323914, 0.14856183528900146, 0.27601826190948486, -0.42115503549575806, 0.06524418294429779, -0.07884975522756577, 0.735475480556488, -0.8471003770828247, 0.2865062654018402, 0.4478521943092346, 0.8058575391769409, 0.8871291279792786, 0.34930920600891113, 0.4062965512275696, -0.7703301906585693, 0.5305842161178589, 0.5673767328262329, 0.37851354479789734, 0.08912970125675201, -0.28307655453681946, 0.8750612735748291, 0.36739885807037354, -0.33617404103279114, -1.0668693780899048, -0.15514953434467316, -1.0324394702911377, -0.4365462064743042, 0.9762056469917297, -0.18533948063850403, -0.37086424231529236, -0.28779587149620056, 0.07449698448181152, 0.13715410232543945, -0.2714754343032837, 0.738524317741394, 0.18265390396118164, -0.23622509837150574, 0.20309753715991974, -0.2372472584247589, 0.3997569978237152, 0.5690090656280518, -0.38299399614334106, -0.09775977581739426, 0.6232891082763672, 0.025530826300382614, 0.2994953393936157, 0.4184032082557678, 0.04641028121113777, 0.47043463587760925, -0.17273887991905212, 0.06521977484226227, -0.3007233440876007, -0.6304753422737122, -0.24472850561141968, 0.737677276134491, -0.045313552021980286, -0.30179256200790405 ]
http://arxiv.org/abs/2404.05622v1
http://arxiv.org/pdf/2404.05622v1
How to Evaluate Entity Resolution Systems: An Entity-Centric Framework with Application to Inventor Name Disambiguation
2024-04-08T15:53:29
2024-04-08T15:53:29
Olivier Binette, Youngsoo Baek, Siddharth Engineer, Christina Jones, Abel Dasylva, Jerome P. Reiter
cs.CL
cs.CL, cs.LG, stat.ME
Entity resolution (record linkage, microclustering) systems are notoriously difficult to evaluate. Looking for a needle in a haystack, traditional evaluation methods use sophisticated, application-specific sampling schemes to find matching pairs of records among an immense number of non-matches. We propose an alternative that facilitates the creation of representative, reusable benchmark data sets without necessitating complex sampling schemes. These benchmark data sets can then be used for model training and a variety of evaluation tasks. Specifically, we propose an entity-centric data labeling methodology that integrates with a unified framework for monitoring summary statistics, estimating key performance metrics such as cluster and pairwise precision and recall, and analyzing root causes for errors. We validate the framework in an application to inventor name disambiguation and through simulation studies. Software: https://github.com/OlivierBinette/er-evaluation/
[ -0.6414168477058411, -0.4034717082977295, 0.5374208092689514, 0.013099098578095436, -0.28607162833213806, 0.1364460289478302, -0.31144168972969055, -0.5569683909416199, 0.5269145369529724, 0.1858576536178589, -0.32687896490097046, -0.6094256043434143, -0.1717585325241089, 0.22476495802402496, -0.6889060139656067, 0.85545414686203, -0.11355755478143692, 0.029167745262384415, -0.49311724305152893, -0.5531360507011414, -0.4040643870830536, -0.47744131088256836, -0.6147981882095337, -0.42707177996635437, 0.4506942331790924, 0.5918909311294556, 0.2508373558521271, 0.7274898886680603, 0.613261878490448, 0.2695160508155823, -0.014053093269467354, 0.003694480052217841, -0.42286917567253113, 0.21660439670085907, -0.44723591208457947, -0.2926572859287262, -0.44289886951446533, -0.045881349593400955, 0.6425702571868896, 0.9318937659263611, -0.3169476389884949, 0.5379979610443115, -0.05962317809462547, 0.717022716999054, -0.5729134678840637, 0.09481261670589447, -0.6374539136886597, 0.14303210377693176, -0.39536893367767334, -0.12142667919397354, -0.3900538384914398, -0.15024426579475403, 0.3700864315032959, -0.6031885743141174, 0.6689051389694214, 0.5603218674659729, 0.8096492290496826, 0.08516522496938705, 0.06344351917505264, -0.18268528580665588, -0.8683586716651917, 0.6989083886146545, -0.1806897521018982, 0.5419642925262451, -0.06925763189792633, 0.4581010341644287, -0.019630197435617447, -0.6854859590530396, -0.3358176052570343, -0.016995461657643318, 0.027221085503697395, -0.2465575486421585, -0.23268888890743256, 0.09712465107440948, 0.2983459532260895, 0.5503427982330322, -0.39122453331947327, 0.3231811821460724, -0.43140944838523865, -0.24916839599609375, 0.4614371955394745, 0.23182713985443115, 0.029636157676577568, 0.035385213792324066, -0.5846646428108215, -0.05896320939064026, -0.7125768661499023, -0.12353746592998505, 0.22725072503089905, 0.4286147654056549, 0.4613267183303833, 0.6249244213104248, -0.24558965861797333, 0.6356621980667114, 0.2964802086353302, 0.06356363743543625, 0.4816507399082184, -0.08495092391967773, -0.4380394220352173, 0.37707090377807617, 0.495439350605011, 0.4702822268009186, -0.22903120517730713, -0.5049737691879272, -0.5317066311836243, 0.0031812700908631086, 0.42908158898353577, -0.8290042877197266, -0.44812947511672974, 0.3603381812572479, -0.4347010552883148, -0.1665504425764084, 0.07205607742071152, -0.8256720900535583, -0.34435829520225525, -0.5875210165977478, 0.7476535439491272, -0.28118696808815, -0.04036349803209305, -0.17075081169605255, -0.32167455554008484, -0.317331463098526, 0.17291799187660217, -0.8145203590393066, 0.3612023591995239, 0.6865546703338623, 0.6440613269805908, -0.06728611141443253, -0.3073040246963501, -0.4815272092819214, 0.09154615551233292, -0.2153858095407486, 1.0880827903747559, -0.44054022431373596, -0.5222083330154419, -0.42384177446365356, -0.04437093809247017, 0.07490677386522293, -1.0138710737228394, 0.5225883722305298, -0.6431096792221069, -0.25786855816841125, -0.21532955765724182, -0.63322514295578, -0.09353052824735641, 0.08905169367790222, -0.8886299133300781, 0.8332931995391846, 0.0253201425075531, -0.7372962236404419, 0.7994014024734497, -0.48556089401245117, -0.12104254215955734, 0.17801299691200256, -0.47881898283958435, -0.5431059002876282, 0.198807492852211, -0.0895068570971489, 0.25649356842041016, -0.6531348824501038, 0.22506840527057648, -0.31289148330688477, -0.4239663779735565, -0.2565496563911438, 0.06931639462709427, 0.46351704001426697, 0.07658647745847702, -0.2563571035861969, 0.09590189158916473, -1.0181822776794434, 0.04711329564452171, -0.09603942185640335, -0.2539415657520294, -0.6385383009910583, -0.052227601408958435, -0.24963806569576263, -0.474151611328125, 0.013800997287034988, -0.5555213689804077, -0.14269603788852692, 0.06928223371505737, 0.013976778835058212, 0.543433666229248, -0.05390642210841179, 0.43591201305389404, -0.3115973472595215, 0.3623385429382324, 0.15272662043571472, -0.01983153074979782, -0.1752697378396988, -0.1882276087999344, -0.7356936931610107, -0.3152908682823181, 0.9636573195457458, 0.3179500102996826, -0.7532839775085449, 0.40546900033950806, -0.4992256462574005, -0.8623026013374329, -0.49217310547828674, 0.09417988359928131, 0.37903401255607605, 0.8257322311401367, 0.4789019227027893, -0.654693603515625, -0.6925185322761536, -1.2373030185699463, -0.38039764761924744, -0.42988109588623047, -0.45900487899780273, 0.33039891719818115, 0.4321160912513733, -0.024001052603125572, 0.9502227902412415, -0.127681702375412, -0.1929629147052765, 0.1940406858921051, 0.36074885725975037, 0.10158815234899521, 0.5182665586471558, 0.4665282368659973, -0.7926919460296631, -0.13001970946788788, -0.24514420330524445, -0.5784500241279602, -0.17109724879264832, 0.0582929290831089, -0.12663257122039795, -0.16394881904125214, 0.307433158159256, -0.2280389815568924, 0.4487094581127167, 0.20415152609348297, -0.06304756551980972, 0.8436661958694458, -0.006689297500997782, 0.3660191595554352, -0.638148307800293, 0.5563274621963501, 0.22488979995250702, -0.15453080832958221, -0.41066083312034607, -0.06592287123203278, -0.023016583174467087, -0.111294686794281, -0.24831968545913696, 0.22948817908763885, -0.6856626868247986, -0.34242022037506104, 0.15039744973182678, 0.42557185888290405, 0.2158883959054947, 0.014837091788649559, -0.08081080764532089, 0.6782352328300476, 0.3988703787326813, -0.7822777032852173, 0.6966719627380371, 0.09313880652189255, -0.6862573623657227, 1.1646381616592407, -0.6299930810928345, 0.027872329577803612, -0.22665441036224365, -0.04051408916711807, -0.6657159328460693, -0.09120572358369827, 0.19266457855701447, -0.06868137419223785, 0.5988789200782776, -0.06602930277585983, -0.573103129863739, -0.39853596687316895, -0.24330291152000427, 0.4284573793411255, 0.0035794368013739586, -0.8673217296600342, 0.5142970681190491, 0.5823441743850708, -0.02826465480029583, -0.4051969647407532, -0.6039135456085205, -0.04094114899635315, -0.576054036617279, -0.35272976756095886, 0.660995602607727, 0.15650996565818787, -0.3152282238006592, 0.3357553780078888, -0.5093361139297485, -0.2729681730270386, 0.20543242990970612, 0.16672953963279724, 0.36868780851364136, -0.23251762986183167, 0.7078896164894104, 0.13644161820411682, -0.2341194897890091, 0.08321399986743927, -0.04205117002129555, -0.01124490238726139, -0.06597220152616501, -0.5253600478172302, -0.15318071842193604, 0.22619518637657166, 0.38939690589904785, -0.1878110021352768, 0.5517718195915222, 0.10073553025722504, -0.6976073384284973, -0.2616325318813324, -0.608593761920929, -0.2400723546743393, -0.3350788652896881, 0.2583387792110443, -0.8116451501846313, -0.6253320574760437, 0.6617152690887451, -0.3940272927284241, 0.06800179928541183, 0.5608835220336914, 0.326439768075943, 0.11530463397502899, 0.5620594024658203, 0.5750908851623535, 0.015664519742131233, 0.3425123989582062, 0.05152149125933647, 0.4140644371509552, -1.0936402082443237, -0.21084651350975037, -0.922325074672699, -0.4847796857357025, -0.18973009288311005, -0.3498533368110657, 0.38662612438201904, 0.4595794081687927, -0.25256186723709106, 0.6747203469276428, -0.7552627325057983, 0.6062111258506775, 0.3889889419078827, 0.09947352111339569, 0.6445819735527039, 0.15963055193424225, -0.3323777914047241, -0.1351371854543686, -0.5924989581108093, -0.7838969826698303, 1.0570204257965088, 0.34473738074302673, 0.739687442779541, -0.008352086879312992, 0.9792317748069763, 0.1735241711139679, 0.7333186864852905, -0.7031860947608948, 0.3332914710044861, -0.019144071266055107, -0.8594213724136353, -0.5076026916503906, -0.4511885941028595, -0.6836838126182556, 0.17591138184070587, 0.025754479691386223, -1.1295886039733887, 0.7050407528877258, 0.1096247136592865, -0.6904448866844177, 0.3667716085910797, -0.7329251766204834, 0.8753902912139893, -0.039383646100759506, -0.29107171297073364, -0.11280717700719833, -0.2472652941942215, 0.26538169384002686, -0.301605224609375, 0.009577345103025436, -0.21144115924835205, -0.10571009665727615, 0.8657405972480774, -0.4004676640033722, 0.3875901997089386, -0.22714510560035706, 0.11695303022861481, 0.4774836301803589, 0.08906581252813339, 0.0741887018084526, 0.12792985141277313, -0.4250542223453522, 0.15915969014167786, 0.2361782342195511, -0.08592242002487183, -0.5474611520767212, 0.894599437713623, -0.24011307954788208, -0.46319684386253357, -0.11435285955667496, 0.05302325263619423, -0.09649766236543655, 0.3130788505077362, 0.13602536916732788, 0.36313149333000183, -0.5615648031234741, 0.19680526852607727, 0.598892331123352, 0.14151445031166077, -0.049123648554086685, 0.624092161655426, -0.29789137840270996, -0.29810407757759094, 0.8707050681114197, 0.3371707797050476, -0.19414548575878143, 0.1362437754869461, -0.41252273321151733, -0.3938828110694885, -0.33977553248405457, -0.9137353301048279, -0.03846810758113861, -0.66237473487854, -0.5977164506912231, -0.36921414732933044, 0.20043732225894928, 0.22407642006874084, 0.2519122362136841, -0.5092636942863464, -0.39684218168258667, -0.415149062871933, -0.14576974511146545, 0.17639650404453278, 0.5541301369667053, -0.13216905295848846, -0.05381332337856293, -0.6597039699554443, 0.19102060794830322, 0.24814465641975403, 0.9991439580917358, 0.12813900411128998, -0.18307846784591675, -0.3846946656703949, -0.14141349494457245, -0.3845008313655853, -0.9043127298355103, -0.272357314825058, 0.21785765886306763, 0.6314260959625244, 0.2436179220676422, 0.21699108183383942, 0.8679513335227966, -0.582981526851654, 0.4410976469516754, 0.17481665313243866, -1.062279224395752, 0.4994824528694153, 0.22263017296791077, -0.5629754662513733, 0.9917884469032288, 0.30451637506484985, -0.3655962347984314, 0.033289242535829544, -0.6578713059425354, -1.0561009645462036, 0.49875572323799133, -0.03535247594118118, -0.3684135377407074, -0.10963880270719528, 0.6821587085723877, 0.039225269109010696, 0.4388222396373749, -0.11768140643835068, -0.4460243284702301, 0.2859135866165161, 0.03873807191848755, -0.07607477158308029, -0.18215814232826233, -0.2930662930011749, -0.03880639746785164, 0.836642861366272, 0.04925336688756943, 0.23516418039798737, 0.5118860006332397, -0.17925935983657837, -0.16536960005760193, 0.2533179223537445, 0.0659504160284996, 0.8367030024528503, -0.2916301488876343, -0.017472095787525177, 0.04489419236779213, 0.03313060477375984, 0.27949947118759155, 0.5085745453834534, -0.13861891627311707, 0.4187718331813812, -0.11686661839485168, 0.5843020081520081, 0.4377497732639313, -0.6188461780548096, 0.32938215136528015, -0.06635818630456924, 0.12587760388851166, -0.20294182002544403, -0.09653446078300476, 0.13364166021347046, 0.33287668228149414, 0.4455222189426422, -0.06052377074956894, 0.5337560176849365, -0.3412885069847107, 0.3966812491416931, 0.09059567004442215, -0.5383548736572266, -0.11287941783666611, 0.8001137375831604, 0.3331267833709717, -0.2610476016998291, 0.6062798500061035, -0.28238314390182495, -0.28180503845214844, 0.7686082720756531, 0.15016472339630127, 0.8393834233283997, -0.265826940536499, 0.12527665495872498, 0.39646703004837036, 0.241689071059227, -0.08450090885162354, -0.013515478931367397, -0.142700657248497, -0.4948367476463318, -0.19754910469055176, -0.47859621047973633, -0.6932277679443359, -0.03838814049959183, -0.9814377427101135, 0.48569297790527344, -0.4509696364402771, -0.47724732756614685, 0.4586559236049652, -0.10316500812768936, -0.9117836356163025, 0.1756388396024704, -0.025816243141889572, 1.185534954071045, -0.7479885816574097, 0.28415238857269287, 1.105573058128357, -0.4463333189487457, -0.6523123383522034, -0.34914129972457886, 0.034152839332818985, -0.12286391854286194, 0.49587875604629517, 0.30391785502433777, 0.05915039777755737, -0.024297110736370087, -0.148263618350029, -0.4462147653102875, 1.2727952003479004, 0.287872314453125, -0.8876752853393555, 0.06888485699892044, -0.29392704367637634, 0.7280346751213074, -0.5585921406745911, 0.3596697449684143, 0.9189339280128479, 0.3190043866634369, -0.24680595099925995, -1.2245899438858032, -0.02064565382897854, -0.15354718267917633, 0.22348791360855103, 0.42517486214637756, -0.6060835123062134, 0.5720328092575073, -0.13970302045345306, -0.6868100166320801, 0.2872510552406311, 0.49116402864456177, 0.2707783579826355, 0.6882562041282654, 0.6351548433303833, 1.0316189527511597, 0.9069294333457947, -0.24215173721313477, 0.6831958293914795, -0.2783350348472595, 0.74502032995224, 1.3597826957702637, -0.3754194676876068, 0.7417318224906921, 0.6718918085098267, -0.4047829210758209, 0.5048454999923706, 0.6968368291854858, -0.24883845448493958, 0.22874857485294342, 0.6379570960998535, -0.5433564782142639, -0.013588071800768375, -0.3451143801212311, -0.334557443857193, 0.21991366147994995, 0.26674652099609375, -0.6463132500648499, -0.37759116291999817, -0.28529903292655945, -0.37965670228004456, 0.04312305524945259, -0.24543888866901398, 0.637740433216095, -0.11877882480621338, -0.23741751909255981, 0.15930430591106415, -0.043839361518621445, 0.2372443974018097, 0.06310345977544785, -0.18836350739002228, 0.05098523944616318, 0.10569042712450027, -0.35144495964050293, -0.5337792634963989, 0.3318639397621155, 0.08742949366569519, -0.5390704274177551, 0.21360668540000916, 0.47376155853271484, -0.20402945578098297, -0.21654736995697021, 0.25953930616378784, 0.5103248953819275, 0.5097609758377075, -0.08348879963159561, -0.5369058847427368, 0.04563729465007782, -0.06260412186384201, -0.18438206613063812, 0.12836532294750214, 0.5793671011924744, -0.045553792268037796, 0.5704213976860046, 0.3135063946247101, 0.06798699498176575, -0.17692634463310242, 0.11736182123422623, 1.0191444158554077, -0.413891077041626, -0.1273978352546692, -0.46323829889297485, 0.4875592887401581, -0.10232343524694443, -0.06370601058006287, 0.3942190110683441, 0.9388201832771301, 1.0959277153015137, 0.07024252414703369, 0.5343311429023743, -0.3765958249568939, 1.040776252746582, -0.08987212926149368, 0.4156692922115326, -0.39221611618995667, 0.7008025646209717, -0.3054331839084625, -1.2080204486846924, -0.3227175772190094, 0.4685341715812683, -0.30290237069129944, 0.0062838210724294186, 0.35238611698150635, 0.6759462356567383, -0.2638276517391205, -0.007228894159197807, 0.13785533607006073, -0.008563589304685593, 0.3364584743976593, 0.28654247522354126, 0.5684612393379211, -0.6294525861740112, 0.4179631173610687, -0.6272995471954346, -0.3705989718437195, -0.3937718868255615, -0.8879662156105042, -0.36880624294281006, -0.5269045829772949, -0.5064332485198975, -0.29380562901496887, 0.12270709127187729, 0.7876459360122681, 0.545525074005127, -0.8728954195976257, 0.0049142902716994286, 0.2287166714668274, 0.2662230134010315, -0.06893178820610046, -0.28049200773239136, 0.37630000710487366, -0.1543709933757782, -0.9088530540466309, 0.23211431503295898, 0.3902820348739624, 0.03716767951846123, -0.27485114336013794, 0.28450703620910645, 0.33395493030548096, -0.42634662985801697, 0.28432169556617737, 0.5043927431106567, -0.5526538491249084, -0.4266904592514038, -0.3541059195995331, 0.06998937577009201, 0.061707329005002975, 0.8999826312065125, -1.005731463432312, 0.9509158134460449, 0.24785135686397552, 0.6908201575279236, 0.1225140243768692, 0.4458472430706024, 0.37449586391448975, -0.5627233982086182, -0.06753706932067871, 0.24157777428627014, 0.33802422881126404, 0.36398711800575256, -0.2965744137763977, 0.6014710664749146, 0.2641308009624481, -0.6803992986679077, -0.9971629977226257, -0.025006325915455818, -0.5732123255729675, 0.26426318287849426, 0.3474443256855011, -0.5257810950279236, -0.2735346555709839, -0.014497690834105015, -0.006157584488391876, 0.17187581956386566, -0.41492635011672974, 0.8421958088874817, 0.8038158416748047, -0.3954618573188782, 0.09056171774864197, -0.33886629343032837, 0.1324680894613266, 0.3301716148853302, -0.402923047542572, -0.09238608926534653, 0.7027618288993835, 0.4732329547405243, 0.6038376092910767, 0.35579320788383484, -0.1996346116065979, 0.27562767267227173, 0.1816180795431137, 0.45419010519981384, 0.15973186492919922, -0.5030148029327393, -0.4297645390033722, -0.0473996102809906, 0.22650396823883057, -0.41023513674736023 ]
http://arxiv.org/abs/2404.05600v1
http://arxiv.org/pdf/2404.05600v1
SpeechAlign: Aligning Speech Generation to Human Preferences
2024-04-08T15:21:17
2024-04-08T15:21:17
Dong Zhang, Zhaowei Li, Shimin Li, Xin Zhang, Pengyu Wang, Yaqian Zhou, Xipeng Qiu
cs.CL
cs.CL, cs.SD, eess.AS
Speech language models have significantly advanced in generating realistic speech, with neural codec language models standing out. However, the integration of human feedback to align speech outputs to human preferences is often neglected. This paper addresses this gap by first analyzing the distribution gap in codec language models, highlighting how it leads to discrepancies between the training and inference phases, which negatively affects performance. Then we explore leveraging learning from human feedback to bridge the distribution gap. We introduce SpeechAlign, an iterative self-improvement strategy that aligns speech language models to human preferences. SpeechAlign involves constructing a preference codec dataset contrasting golden codec tokens against synthetic tokens, followed by preference optimization to improve the codec language model. This cycle of improvement is carried out iteratively to steadily convert weak models to strong ones. Through both subjective and objective evaluations, we show that SpeechAlign can bridge the distribution gap and facilitating continuous self-improvement of the speech language model. Moreover, SpeechAlign exhibits robust generalization capabilities and works for smaller models. Code and models will be available at https://github.com/0nutation/SpeechGPT.
[ -0.1933417022228241, 0.03205674886703491, 0.1362273097038269, -0.08044485002756119, -0.09025824815034866, -0.0013849037932232022, -0.5046736598014832, -0.030629271641373634, 0.04796251282095909, 0.24122989177703857, -0.5287391543388367, -0.5702279210090637, -0.37867996096611023, -0.30885595083236694, 0.00736602395772934, 0.8423037528991699, 0.36896464228630066, 0.2120750993490219, -0.24535420536994934, -0.2851049602031708, -0.8053097128868103, -0.5160618424415588, -0.5988773107528687, -0.6893383264541626, 0.38255172967910767, 0.5343364477157593, 0.8962500691413879, 0.9600929617881775, 0.21393820643424988, 0.312934935092926, 0.1984870880842209, -0.16017337143421173, -0.3690469563007355, 0.21859847009181976, -0.041663508862257004, -0.3175414204597473, -0.31407585740089417, 0.003888985374942422, 0.5911033153533936, 0.7906855940818787, -0.7614923119544983, 0.0032060404773801565, 0.1312914490699768, 0.8532686829566956, -0.5333942770957947, 0.005549983121454716, -0.591764509677887, 0.04186257719993591, -0.4688554108142853, 0.0038230870850384235, -0.2320931851863861, -0.40284204483032227, 0.23163065314292908, -0.4722728431224823, 0.5581933259963989, -0.061377182602882385, 0.7046094536781311, 0.7944750189781189, 0.05604798346757889, 0.04441338777542114, -0.7371365427970886, 0.7173306345939636, -0.9442107677459717, 0.6037635207176208, 0.48581287264823914, 0.3873378038406372, 0.014056307263672352, -0.4181958734989166, -0.24193984270095825, -0.04520261660218239, 0.2771151661872864, 0.07082505524158478, -0.24964594841003418, 0.0764060765504837, -0.2316902130842209, 0.1888158768415451, -0.8512884378433228, 0.3083750307559967, -0.27255600690841675, -0.33144471049308777, 0.6862331628799438, -0.083733931183815, 0.19337233901023865, -0.2529928386211395, -0.0768636018037796, -0.3275422751903534, -0.6389017701148987, 0.11898547410964966, 0.6277151703834534, 0.5382875800132751, -0.1103864312171936, 0.3157956004142761, -0.07038035988807678, 0.838193416595459, 0.3558529317378998, -0.047391377389431, 0.4041437804698944, -0.015538224950432777, -0.059357717633247375, 0.7298746109008789, 0.73567795753479, 0.23478800058364868, 0.25182515382766724, -0.16056780517101288, -0.07787274569272995, 0.3550006151199341, 0.319293737411499, -0.2540145516395569, -0.4784829616546631, 0.16112390160560608, -0.3715258240699768, -0.3478924334049225, -0.04401558265089989, -0.45270270109176636, -0.5522408485412598, -0.45786359906196594, 0.18594492971897125, -0.02449302189052105, -0.6374884247779846, 0.38186338543891907, -0.010381551459431648, 0.0619632825255394, -0.01383481826633215, -1.3702906370162964, 0.03925550729036331, 0.7361835241317749, 0.709318220615387, -0.18702876567840576, -0.06990770250558853, -0.5205989480018616, 0.10582159459590912, -0.3706592619419098, 0.9794022440910339, -0.522674024105072, -0.312895804643631, -0.008489021100103855, -0.3115774691104889, -0.08104777336120605, -0.872101902961731, 0.546031653881073, -0.3085426688194275, 0.40084466338157654, -0.037908006459474564, -0.7102794647216797, 0.23271474242210388, -0.04759050905704498, -0.42203789949417114, 0.9035536050796509, 0.14023597538471222, -0.6463245153427124, 0.43503060936927795, -0.7276548743247986, -0.29122576117515564, 0.18063846230506897, -0.33701279759407043, -0.4734534025192261, -0.008062048815190792, 0.28151920437812805, 0.19157637655735016, -0.06632111221551895, 0.5452781319618225, -0.4626448154449463, -0.18940319120883942, 0.3070966601371765, -0.37783166766166687, 0.47598811984062195, 0.5074923038482666, -0.560477614402771, 0.38449570536613464, -0.5014905333518982, 0.14455516636371613, -0.10305355489253998, -0.40945297479629517, -0.0889696553349495, 0.1217997670173645, -0.15671087801456451, -0.06481190025806427, -0.010060817003250122, -0.30755138397216797, 0.18746106326580048, -0.7733234167098999, 0.8704259395599365, 0.9775069355964661, -0.4012901484966278, 0.9890636801719666, -0.19627735018730164, 0.6036956310272217, 0.06929212808609009, 0.15548130869865417, 0.01861289143562317, -0.5190218687057495, -0.6014149188995361, 0.13618877530097961, 0.7405456304550171, 0.2101231813430786, -0.3768428564071655, 0.6001951098442078, -0.37469375133514404, -0.08213283121585846, -1.1158767938613892, 0.2364574670791626, 0.20860043168067932, 0.6929495930671692, 0.09770464897155762, -0.4021569490432739, -0.5083346366882324, -0.7594744563102722, -0.2808508574962616, -0.3715524673461914, -0.19981078803539276, 0.04090619087219238, -0.3525095283985138, -0.04225892201066017, 0.9876646995544434, -0.3900422155857086, -0.3606953024864197, -0.03771856427192688, 0.11047565937042236, 0.05172886699438095, 0.6776602268218994, 0.30654680728912354, -0.6397220492362976, -0.2501649260520935, -0.20339329540729523, -0.35318523645401, -0.24995781481266022, 0.0983247235417366, -0.2793422043323517, 0.23830045759677887, 0.37705299258232117, -0.035582561045885086, 0.34703290462493896, 0.8829671144485474, -0.23867927491664886, 0.23233725130558014, -0.10941631346940994, -0.12164755165576935, -0.9288297295570374, -0.16280074417591095, 0.05482502654194832, -0.4668465554714203, -0.5091311931610107, -0.48346593976020813, -0.21303924918174744, -0.3651038706302643, -0.2678217589855194, 0.39952942728996277, -0.2143707424402237, -0.32394570112228394, -0.1634722650051117, 0.3616921007633209, -0.09502477943897247, 0.24818594753742218, -0.033428702503442764, 0.8860936760902405, 0.6555200219154358, -0.5292507410049438, 0.2314692586660385, 0.2605266273021698, -0.22519445419311523, 0.5324097871780396, -0.6305700540542603, 0.28987935185432434, -0.09402823448181152, 0.020273495465517044, -1.118332028388977, -0.44586822390556335, 0.4107358753681183, -0.7066266536712646, 0.4160784184932709, -0.23279574513435364, 0.03550562262535095, -0.2078154981136322, -0.011658153496682644, 0.4617037773132324, 0.6372305154800415, -0.7460189461708069, 0.2853260636329651, 0.6143471002578735, -0.18048888444900513, -0.551219642162323, -0.5122408270835876, 0.11630856990814209, -0.22707878053188324, -0.9396716356277466, 0.47400209307670593, -0.18327176570892334, -0.11016318202018738, -0.001902999822050333, -0.05219505354762077, 0.1355016529560089, -0.19255714118480682, 0.23127056658267975, -0.06972596049308777, -0.3751353323459625, 0.6325010061264038, -0.09761958569288254, -0.4866931736469269, -0.2529793083667755, -0.7935888171195984, 0.6767117381095886, -0.2253715544939041, -0.3979485332965851, -0.4923447072505951, 0.28561922907829285, 0.10152364522218704, -0.27852222323417664, 0.11671409755945206, 0.6291632652282715, -0.07107295095920563, -0.02604859694838524, -0.5585962533950806, -0.20232592523097992, -0.5327862501144409, 0.05331181734800339, -0.18203070759773254, -0.7964824438095093, -0.007046667393296957, -0.017882755026221275, -0.001449118833988905, 0.261792927980423, 0.42548951506614685, -0.1857784539461136, 1.524260401725769, 0.7190064191818237, -0.3410648703575134, 0.6456784009933472, -0.16263237595558167, 0.23786142468452454, -0.58482426404953, 0.00842093676328659, -0.561809778213501, -0.46834424138069153, -0.48969224095344543, -0.17943134903907776, 0.20670102536678314, 0.08623792976140976, -0.3375244438648224, 0.1889522820711136, -0.8923934102058411, 0.37283989787101746, 0.774869978427887, 0.03214051574468613, 0.08680728822946548, 0.2856341302394867, -0.12155697494745255, -0.3831357955932617, -0.9842829704284668, -0.3874884843826294, 0.7853267192840576, 0.3307586908340454, 0.8671719431877136, 0.17241981625556946, 0.8795792460441589, 0.40669432282447815, 0.1935507208108902, -0.7677492499351501, 0.07175352424383163, -0.32831472158432007, -0.40844807028770447, -0.275507390499115, -0.572686493396759, -0.9675990343093872, -0.11815448850393295, 0.0635644942522049, -0.5982188582420349, 0.3447552025318146, 0.6676249504089355, -0.5351359248161316, -0.05336425080895424, -0.8853551149368286, 1.0244581699371338, -0.30208081007003784, -0.26771649718284607, -0.32066991925239563, -0.7074099779129028, 0.05776016041636467, 0.34891632199287415, 0.06753675639629364, -0.42674124240875244, 0.2512480914592743, 0.6923272609710693, -0.3441443145275116, 0.7928292751312256, -0.38550832867622375, -0.0847371444106102, 0.07854898273944855, -0.05536392331123352, 0.08543148636817932, -0.06081986427307129, -0.30476388335227966, 0.16073621809482574, -0.39272287487983704, -0.5639887452125549, -0.6414892673492432, 0.7161000370979309, -0.7952220439910889, -0.6624435782432556, -0.1813148856163025, -0.32956936955451965, -0.2824443578720093, 0.009722516871988773, 0.48327377438545227, 0.6348251700401306, 0.012209474109113216, -0.07951391488313675, 0.6077817678451538, -0.07117205858230591, 0.5727817416191101, 0.14575576782226562, -0.05714592710137367, -0.7064746022224426, 0.9352425336837769, -0.10114942491054535, 0.29012203216552734, -0.03731366619467735, 0.5749741196632385, -0.795229971408844, -0.3323665261268616, -0.7181622385978699, 0.31247833371162415, -0.6783685088157654, -0.3519081175327301, -0.23063267767429352, -0.03483972325921059, -0.94810551404953, -0.17946617305278778, -0.5178161859512329, -0.3502362370491028, -0.44509968161582947, -0.07708093523979187, 0.2019052952528, 0.8473908305168152, -0.49758777022361755, 0.6779547929763794, -0.48539042472839355, 0.12701043486595154, 0.46984606981277466, 0.5138031840324402, -0.11499202251434326, -0.658074140548706, -0.027047792449593544, 0.24731561541557312, -0.3984830379486084, -0.7384755611419678, 0.4968893826007843, 0.4275442957878113, 0.4204060733318329, 0.6643362045288086, 0.13014978170394897, 0.9710226058959961, -0.39573076367378235, 0.840474009513855, 0.5757001042366028, -1.020574927330017, 0.6102929711341858, -0.3671343922615051, 0.6185278296470642, 0.5634916424751282, 0.056916166096925735, -0.8889885544776917, 0.01616853103041649, -0.6740081310272217, -0.6975337862968445, 0.5713993906974792, 0.11987830698490143, 0.09183953702449799, 0.14223811030387878, 0.37364837527275085, -0.1923668533563614, 0.19595858454704285, -0.5901896953582764, -0.20924684405326843, -0.7598671317100525, -0.5204654335975647, -0.1340869814157486, 0.0989253968000412, -0.2801823914051056, -0.32892486453056335, 0.6978761553764343, -0.3894469141960144, 0.2753029465675354, 0.05908237770199776, -0.04885623976588249, -0.2877677083015442, 0.2532253563404083, 0.7291461229324341, 0.598994255065918, 0.07267123460769653, 0.21199828386306763, -0.34253549575805664, -0.0530526265501976, 0.28662845492362976, 0.07030007988214493, -0.02747114934027195, 0.07442054152488708, -0.12140960246324539, 0.9919398427009583, 0.36752986907958984, -0.24106186628341675, 0.5610669255256653, -0.2947141230106354, -0.1599685102701187, -0.22590187191963196, 0.19025516510009766, 0.3808056116104126, 0.11209108680486679, -0.027453964576125145, 0.46610546112060547, 0.11152413487434387, -0.1199210062623024, 0.3232903480529785, 0.3389737010002136, -0.7301496863365173, -0.21892471611499786, 0.919894814491272, 0.3674056828022003, -0.630081295967102, 0.8121026158332825, -0.201724112033844, -0.49358463287353516, 0.3823702335357666, 0.5629720687866211, 0.9825573563575745, -0.5416431427001953, 0.5578199028968811, 0.3679425120353699, -0.16279658675193787, -0.23663093149662018, -0.003953857813030481, -0.3221372961997986, -0.8113799691200256, -0.3893938660621643, -0.4569742977619171, -0.07589061558246613, -0.16191092133522034, -0.6393447518348694, 0.2764846980571747, -0.29968419671058655, -0.46368762850761414, 0.08453300595283508, -0.3411416709423065, -0.5524978041648865, -0.14252567291259766, 0.3415416181087494, 0.3467191457748413, -0.7037131190299988, 0.8560200333595276, 0.3993586301803589, -0.3211852014064789, -1.093247413635254, -0.011902449652552605, 0.1799967736005783, -0.9818660020828247, 0.449128657579422, 0.21082773804664612, -0.2113340198993683, 0.30651065707206726, -0.6567239165306091, -0.9612883925437927, 0.6288338303565979, 0.5782569646835327, -0.733798086643219, 0.009758811444044113, 0.2983364462852478, 0.3843620717525482, -0.5118393301963806, -0.09822101891040802, 0.6596919894218445, 0.3812495768070221, 0.09301498532295227, -0.7335999608039856, -0.3142363429069519, -0.09398385882377625, 0.286888986825943, 0.2480793595314026, -0.38949835300445557, 0.27868643403053284, -0.35476720333099365, -0.5026103258132935, -0.051132455468177795, 0.5483718514442444, 0.11406554281711578, 0.08368019014596939, 0.8430137634277344, 0.7768192887306213, 0.8183720111846924, -0.1537339985370636, 0.6839142441749573, -0.26959845423698425, 0.30173999071121216, 1.3587173223495483, -0.17219918966293335, 0.7736091613769531, 0.24972189962863922, -0.03237811475992203, 0.49470943212509155, 0.8481687903404236, 0.1948879063129425, 0.6492294669151306, 0.3131854236125946, -0.4055033326148987, -0.5627138614654541, -0.3153385519981384, -0.41481906175613403, 0.5239728093147278, 0.15441559255123138, -0.14934566617012024, -0.24713477492332458, 0.02827887050807476, -0.14149954915046692, 0.212021142244339, -0.1008581593632698, 1.0658000707626343, 0.07113590091466904, -0.8802223801612854, 0.8638675212860107, -0.26043805480003357, 0.6368680596351624, -0.46216484904289246, -0.034192390739917755, -0.343191534280777, 0.3010510802268982, -0.30355304479599, -0.42270979285240173, 0.20095868408679962, -0.10149721801280975, -0.23756001889705658, -0.334958553314209, 0.634972333908081, -0.7286957502365112, -0.11461382359266281, 0.15258486568927765, 0.01913844607770443, 0.09224619716405869, -0.012732253409922123, -1.0040940046310425, 0.055471036583185196, 0.15537098050117493, 0.21095186471939087, 0.20903414487838745, 0.06788891553878784, 0.15685686469078064, 0.5423754453659058, 0.6611907482147217, 0.2446431964635849, 0.2382345348596573, 0.75653076171875, 0.560497522354126, -0.4597187340259552, -0.6928321123123169, -0.631659746170044, 0.571344792842865, -0.09831075370311737, -0.4407704770565033, 0.30419036746025085, 0.21832171082496643, 0.8786176443099976, 0.12429416179656982, 0.7541576623916626, 0.1811317801475525, 0.5545711517333984, -0.29436925053596497, 0.6536681652069092, -0.34666454792022705, 0.336683988571167, -0.1522175818681717, -0.7818319201469421, -0.3162437975406647, 0.7500981688499451, -0.3004065752029419, -0.0022475935984402895, 0.29026228189468384, 1.0548958778381348, -0.030278433114290237, -0.16448834538459778, 0.44604602456092834, -0.1754635125398636, 0.4153711497783661, 0.23176391422748566, 0.8896745443344116, -0.32558754086494446, 0.6078069806098938, -0.2719752788543701, -0.10937000811100006, -0.020111195743083954, -0.8947399854660034, -0.2724986970424652, -0.6153228878974915, -0.6050268411636353, -0.37746429443359375, 0.17298616468906403, 1.022932529449463, 1.298285961151123, -0.6657344102859497, -0.5692320466041565, -0.2123989462852478, 0.038736581802368164, -0.17721816897392273, -0.30577895045280457, 0.14441920816898346, -0.7457699775695801, -0.5160290598869324, 0.35320818424224854, 0.23907087743282318, 0.17284207046031952, -0.4370180368423462, -0.35518360137939453, 0.2801060974597931, -0.2823260426521301, 0.1632162481546402, 0.4611777067184448, -0.8932449817657471, -0.1938771903514862, 0.14740166068077087, 0.08765871077775955, 0.573434591293335, 1.1743981838226318, -0.8397184014320374, 0.776408314704895, 0.3555503487586975, 0.6678865551948547, 0.36506006121635437, 0.17337937653064728, 1.0168893337249756, -1.0071065425872803, -0.03299182653427124, 0.22144097089767456, 0.180839404463768, 0.8463956713676453, -0.4076630771160126, 0.36829179525375366, 0.07432766258716583, -0.8543972969055176, -0.6614492535591125, 0.26319620013237, -0.7611753940582275, -0.17955268919467926, 0.9624580144882202, 0.1391705721616745, -0.18770350515842438, -0.12145427614450455, -0.12574583292007446, 0.3473146855831146, -0.7284396290779114, 0.9130982160568237, 0.4015866219997406, -0.2360452115535736, -0.17029839754104614, -0.22570110857486725, 0.8114972114562988, 0.7037855982780457, -0.5100911855697632, 0.24715541303157806, 0.45264166593551636, 0.4020965099334717, 0.12124967575073242, 0.8346737623214722, -0.08332958817481995, 0.21085187792778015, -0.22690041363239288, 0.2900676131248474, 0.42427968978881836, -0.2950764000415802, -0.9396167397499084, -0.102909617125988, 0.30565977096557617, -0.3477180004119873 ]
http://arxiv.org/abs/2404.05590v1
http://arxiv.org/pdf/2404.05590v1
MedExpQA: Multilingual Benchmarking of Large Language Models for Medical Question Answering
2024-04-08T15:03:57
2024-04-08T15:03:57
Iñigo Alonso, Maite Oronoz, Rodrigo Agerri
cs.CL
cs.CL
Large Language Models (LLMs) have the potential of facilitating the development of Artificial Intelligence technology to assist medical experts for interactive decision support, which has been demonstrated by their competitive performances in Medical QA. However, while impressive, the required quality bar for medical applications remains far from being achieved. Currently, LLMs remain challenged by outdated knowledge and by their tendency to generate hallucinated content. Furthermore, most benchmarks to assess medical knowledge lack reference gold explanations which means that it is not possible to evaluate the reasoning of LLMs predictions. Finally, the situation is particularly grim if we consider benchmarking LLMs for languages other than English which remains, as far as we know, a totally neglected topic. In order to address these shortcomings, in this paper we present MedExpQA, the first multilingual benchmark based on medical exams to evaluate LLMs in Medical Question Answering. To the best of our knowledge, MedExpQA includes for the first time reference gold explanations written by medical doctors which can be leveraged to establish various gold-based upper-bounds for comparison with LLMs performance. Comprehensive multilingual experimentation using both the gold reference explanations and Retrieval Augmented Generation (RAG) approaches show that performance of LLMs still has large room for improvement, especially for languages other than English. Furthermore, and despite using state-of-the-art RAG methods, our results also demonstrate the difficulty of obtaining and integrating readily available medical knowledge that may positively impact results on downstream evaluations for Medical Question Answering. So far the benchmark is available in four languages, but we hope that this work may encourage further development to other languages.
[ -0.3128030300140381, -0.5477315783500671, 0.8552709221839905, 0.04552021995186806, -0.20501817762851715, 0.10013832896947861, -0.18302394449710846, -0.46148058772087097, 0.10973995923995972, 0.43066129088401794, -0.7112732529640198, -0.39604589343070984, -0.5732107162475586, 0.3982587158679962, 0.14828164875507355, 0.8097487688064575, -0.35395529866218567, 0.6166635155677795, -0.4502457082271576, -0.5656545758247375, -0.1384507268667221, -0.8184939622879028, -0.5696261525154114, -0.44952577352523804, 0.6733977794647217, 0.18760696053504944, 0.6711580157279968, 0.4118919372558594, 0.5522149205207825, 0.23772118985652924, -0.0888841301202774, 0.47731202840805054, 0.0352877676486969, 0.02601083554327488, -0.2180013507604599, -0.5603120923042297, -0.3202797472476959, -0.06265184283256531, 0.6644951701164246, 0.903540313243866, -0.10550159215927124, 0.17743755877017975, -0.2810599207878113, 0.8094846606254578, -0.49088841676712036, 0.09203851968050003, -0.5205905437469482, 0.11882846802473068, -0.1462201178073883, -0.3785039782524109, -0.1416904628276825, -0.3545437157154083, -0.12154029309749603, -0.44446393847465515, -0.024989860132336617, 0.04244956374168396, 0.7712756991386414, 0.47487762570381165, -0.6037212014198303, -0.1821853220462799, -0.453104168176651, 0.7102684378623962, -0.8985386490821838, 0.48737359046936035, 0.24875444173812866, 0.5815351605415344, -0.09113959968090057, -0.8759258389472961, -0.5737261176109314, -0.22314809262752533, 0.15255841612815857, 0.16111108660697937, -0.10078223049640656, -0.0566246323287487, 0.12857770919799805, 0.3653266727924347, -0.7564302086830139, -0.027635104954242706, -0.2886313199996948, -0.1571526676416397, 0.4945048391819, 0.16666634380817413, 0.20053128898143768, 0.12631691992282867, -0.2637570798397064, 0.03583526611328125, -0.9378200173377991, -0.1265833079814911, -0.10198983550071716, 0.0878334566950798, -0.12960071861743927, 0.5492043495178223, -0.1277453750371933, 0.5314463973045349, -0.3626236915588379, -0.30030542612075806, 0.6454955339431763, -0.25514525175094604, -0.05403082072734833, -0.3048498034477234, 0.7043282985687256, 0.3572518229484558, 0.32042619585990906, -0.21314910054206848, 0.12053819745779037, 0.03346904367208481, 0.008374880068004131, -0.7014918923377991, -0.0862930417060852, 0.4151376485824585, -0.548675000667572, 0.22111468017101288, -0.3144952952861786, -0.7410222291946411, -0.5134086012840271, -0.09467847645282745, 0.36072564125061035, -0.07927483320236206, -0.1861106902360916, 0.2209099382162094, 0.19488386809825897, 0.16375073790550232, 0.19585926830768585, -0.44467785954475403, 0.4166018068790436, 0.6416518092155457, 0.518506646156311, -0.27875372767448425, -0.3672032356262207, -0.6116450428962708, -0.07459822297096252, -0.3885475993156433, 0.914668083190918, -0.37938618659973145, -0.024830367416143417, 0.04914919659495354, 0.16964107751846313, -0.05906040221452713, -0.9106419086456299, 0.6819267868995667, -0.4492120146751404, 0.30796584486961365, -0.2673739492893219, -0.5808947682380676, -0.325475811958313, 0.4686199426651001, -0.5156248211860657, 0.8434246182441711, 0.0836958959698677, -0.6535444855690002, 0.2287224978208542, -0.39776742458343506, -0.28233546018600464, 0.23895296454429626, -0.5163097977638245, -0.35701149702072144, -0.007707963231950998, 0.4645712673664093, 0.31131765246391296, -0.7176048755645752, 0.3345837891101837, -0.21628890931606293, -0.21464882791042328, 0.42357468605041504, -0.5751984715461731, 0.554791271686554, 0.17709560692310333, -0.159645676612854, -0.02756592445075512, -0.6060576438903809, 0.4176260232925415, 0.1654706597328186, -0.38418126106262207, -0.22698500752449036, -0.023617520928382874, -0.0805283710360527, 0.5754641890525818, 0.1435542106628418, -0.4576384425163269, -0.04337975010275841, -0.5031473636627197, 0.25383874773979187, 0.3385190963745117, 0.11109911650419235, -0.20676057040691376, -0.577214241027832, 0.8658581376075745, -0.1487777680158615, 0.15721942484378815, -0.106838159263134, -0.6212989091873169, -0.46090567111968994, -0.14134064316749573, 0.5661429762840271, 0.7248793840408325, -0.845985472202301, -0.17735449969768524, -0.2639023959636688, -0.28931573033332825, -0.8975697159767151, 0.25703132152557373, 0.54057776927948, 0.3800625503063202, 0.43131309747695923, -0.20622746646404266, -0.3776271343231201, -1.1073110103607178, -0.625170111656189, -0.35355252027511597, -0.04959779605269432, 0.6292857527732849, 0.45375096797943115, -0.2236618846654892, 0.29398107528686523, -0.15071076154708862, -0.14094187319278717, -0.22387543320655823, -0.15039607882499695, 0.4798245131969452, 0.1965099722146988, 0.5470300316810608, -0.9390006065368652, -0.40432190895080566, 0.04225333780050278, -0.5235903263092041, -0.4205998182296753, 0.014035716652870178, 0.038294099271297455, 0.2192854881286621, 0.5648804903030396, -0.4729617238044739, -0.05159628763794899, 1.0482146739959717, -0.2753865122795105, 0.6155186891555786, -0.40288805961608887, 0.38367053866386414, -1.067658543586731, 0.25771579146385193, -0.03772604838013649, -0.25911563634872437, -0.4978707730770111, 0.31456324458122253, 0.29286110401153564, 0.07920973002910614, -0.5637553930282593, 0.9730758666992188, -0.37280550599098206, 0.05440506711602211, -0.22019098699092865, 0.23090317845344543, 0.09662912040948868, 0.4109064042568207, -0.06176314875483513, 0.7817031741142273, 0.2669404149055481, -0.42111730575561523, 0.2908485531806946, 0.25828132033348083, -0.34421706199645996, 0.5614017248153687, -0.6751067638397217, -0.20683835446834564, -0.0360824391245842, 0.044365569949150085, -0.9382449388504028, 0.03128325939178467, 0.14565926790237427, -0.5267021656036377, 0.2701687812805176, -0.27518314123153687, -0.7988060116767883, -0.46052905917167664, 0.05007509887218475, 0.5504563450813293, 0.45815712213516235, -0.4906686246395111, 0.5317690968513489, 0.458667516708374, -0.48022598028182983, -0.7108665704727173, -0.6069080829620361, 0.24681253731250763, -0.1749827265739441, -0.48557382822036743, 0.25843051075935364, -0.4482140839099884, -0.43154823780059814, -0.2832813858985901, -0.23895777761936188, -0.3037148118019104, 0.038126878440380096, -0.006734899245202541, 0.2708938717842102, -0.3268633484840393, 0.4465964138507843, 0.12761753797531128, -0.27429333329200745, 0.3847402036190033, 0.014622055925428867, 0.35795217752456665, -0.10711749643087387, -0.6453831195831299, -0.1435302495956421, 0.5071489214897156, 0.8029253482818604, -0.43944311141967773, 0.6863396167755127, 0.27894747257232666, -0.4144521951675415, 0.08316226303577423, -0.8750969171524048, 0.0194710660725832, -0.3886578679084778, 0.536779522895813, -0.48153236508369446, -0.7475234866142273, 0.481021523475647, -0.43963226675987244, 0.3275299370288849, 0.5885639786720276, 0.7798888087272644, 0.04492955654859543, 1.3744781017303467, 0.3717968165874481, 0.14539165794849396, -0.24792462587356567, 0.25643229484558105, -0.14037588238716125, -0.7012641429901123, -0.23753425478935242, -0.6932101845741272, -0.04952988773584366, -0.6510389447212219, -0.6014057993888855, 0.7822965979576111, -0.16246739029884338, -0.1426323801279068, -0.3304094970226288, -0.12651017308235168, 0.41847652196884155, 0.3728508949279785, 0.07476707547903061, 0.48227766156196594, -0.14979802072048187, -0.4985255300998688, -0.24371938407421112, -0.9406519532203674, -0.469271183013916, 1.0666189193725586, 0.44092831015586853, 0.6479865312576294, 0.12651613354682922, 0.41199883818626404, -0.05202370136976242, 0.39825835824012756, -0.6164717674255371, 0.3235199451446533, -0.31969353556632996, -0.701525092124939, 0.1267152577638626, -0.613014817237854, -0.9688661694526672, 0.5334128737449646, -0.3396908938884735, -0.3284178674221039, -0.23960241675376892, -0.05437495559453964, -0.39910995960235596, 0.2740619480609894, -0.48761186003685, 0.8922213315963745, -0.40800583362579346, -0.3393356204032898, -0.0025531023275107145, -0.7337366342544556, 0.21476984024047852, -0.2226402759552002, 0.5766485929489136, -0.17714928090572357, -0.32662370800971985, 0.6386516690254211, -0.39471349120140076, 0.5283759832382202, -0.03705884516239166, -0.18947993218898773, -0.19215382635593414, -0.12776853144168854, 0.19174785912036896, 0.18245470523834229, -0.21962982416152954, 0.18611466884613037, 0.5371550917625427, -0.5135184526443481, -0.45800313353538513, 0.6235613226890564, -0.5684417486190796, -0.5710774064064026, -0.3968989849090576, -0.6372746229171753, -0.6729668974876404, 0.16824983060359955, 0.07308316975831985, 0.34453099966049194, 0.028210150077939034, -0.04218233376741409, 0.7365930080413818, -0.6279401779174805, 0.03707676753401756, 0.8589103817939758, -0.26464372873306274, -0.4143033027648926, 0.5413522124290466, -0.03181111067533493, 0.13733695447444916, 0.4027850329875946, 0.31858766078948975, -0.4815188944339752, -0.7367748022079468, -0.7604078054428101, 0.7583520412445068, -0.831093430519104, -0.10076064616441727, -0.6795916557312012, -0.20770896971225739, -0.10870473831892014, 0.14627015590667725, -0.3371017575263977, -0.3981824517250061, 0.18569859862327576, 0.2934461236000061, 0.2313271164894104, 0.5139418244361877, 0.04320855066180229, -0.2306339591741562, -1.1341890096664429, 0.5547563433647156, 0.20028284192085266, 0.5852829217910767, -0.234344482421875, -0.5255619287490845, -0.2455979734659195, -0.06448999792337418, 0.013864822685718536, -0.9196382164955139, 0.33077189326286316, 0.17452877759933472, 0.9796583652496338, 0.19360384345054626, 0.03703964501619339, 0.6408311724662781, -0.7808951139450073, 0.6817333698272705, -0.1009313315153122, -0.6075026392936707, 0.28952330350875854, -0.02909565530717373, 0.5628401637077332, 0.7128910422325134, 0.5114285945892334, -0.8082394599914551, -0.44076165556907654, -0.48652195930480957, -0.825955331325531, 0.27297964692115784, -0.06411387771368027, 0.06480801105499268, -0.08386028558015823, 0.5945777893066406, 0.29664918780326843, 0.2699478566646576, -0.664794385433197, -0.5919818878173828, 0.4818696975708008, -0.2492780238389969, -0.2788841426372528, -0.24719637632369995, -0.31657543778419495, -0.14185449481010437, 0.7988978028297424, -0.2744704782962799, 0.025842269882559776, 0.19266937673091888, 0.015548684634268284, -0.1669130027294159, 0.38023239374160767, 0.6024605631828308, 1.009592056274414, 0.14717701077461243, 0.14280416071414948, 0.47570186853408813, -0.42238762974739075, 0.014885137788951397, 0.4540490508079529, 0.09101809561252594, 0.2575649917125702, 0.3573495149612427, 0.31109994649887085, 0.05164296180009842, -1.2859851121902466, 0.5530548095703125, -0.32078123092651367, -0.3309894800186157, -0.37261927127838135, -0.2602623999118805, 0.18850241601467133, 0.47939249873161316, 0.4307246506214142, -0.20448514819145203, 0.028026839718222618, -0.4187893569469452, 0.23710086941719055, 0.5965521931648254, -0.3570626378059387, 0.028237810358405113, 0.8412765860557556, 0.036230042576789856, -0.08174656331539154, 0.3247331380844116, 0.12420013546943665, -0.5935639142990112, 0.5469784140586853, 0.33974236249923706, 0.37867504358291626, -0.31839606165885925, -0.051975835114717484, 0.40589648485183716, 0.44023263454437256, 0.0622640922665596, 0.7595566511154175, 0.28884294629096985, -0.462581604719162, -0.8484972715377808, -0.39017435908317566, -0.7384839057922363, 0.3183607757091522, -0.4873875081539154, 0.04348551854491234, -0.07493098080158234, 0.002627829322591424, 0.06470659375190735, 0.2830561697483063, -0.5949528217315674, 0.3511497378349304, 0.2717408239841461, 1.1428298950195312, -0.7312567830085754, 0.6447294354438782, 0.9425365328788757, -0.0019880246836692095, -0.6242036819458008, -0.12349484860897064, 0.024121319875121117, -0.9253561496734619, 0.31937432289123535, 0.14697663486003876, 0.1206708699464798, -0.27357593178749084, -0.33245033025741577, -0.670166552066803, 0.6797727346420288, 0.43573006987571716, -0.31627383828163147, -0.022506926208734512, 0.16945867240428925, 0.6609557867050171, -0.27859216928482056, 0.29246020317077637, 0.45525842905044556, 0.5394360423088074, -0.03880880028009415, -1.1434423923492432, 0.02708347514271736, -0.6677254438400269, -0.40825870633125305, 0.22865194082260132, -0.49731141328811646, 0.8478149771690369, -0.34550589323043823, -0.048356689512729645, 0.41272953152656555, 0.17425696551799774, 0.4499424397945404, 0.3370923101902008, 0.3136269450187683, 0.4186294972896576, 0.7197719812393188, -0.12635432183742523, 1.1829798221588135, -0.5301754474639893, 0.10844375193119049, 1.0634647607803345, -0.379874587059021, 0.9187535643577576, 0.640049397945404, -0.33490103483200073, 0.42299678921699524, 0.6316518187522888, 0.14653582870960236, 0.2507687509059906, 0.3183545172214508, -0.4092831611633301, -0.4310496747493744, -0.04765739291906357, -0.6188216209411621, 0.2645879089832306, 0.4658244550228119, -0.4974765479564667, -0.2204107940196991, 0.03850221633911133, 0.004847007803618908, 0.12101440876722336, -0.3429108262062073, 0.8229669332504272, 0.07748515903949738, -0.733291506767273, 0.8237996101379395, 0.04249010235071182, 0.3367971181869507, -0.778408408164978, -0.26618441939353943, -0.2909374535083771, 0.25610876083374023, -0.03904484584927559, -0.6411836743354797, 0.10880456864833832, -0.02154381573200226, -0.09473150968551636, 0.0736667737364769, 0.2918602526187897, -0.5848290920257568, -0.504103422164917, 0.18913187086582184, 1.011086344718933, 0.5693618059158325, -0.10911200195550919, -0.9158444404602051, -0.1398104727268219, -0.16812893748283386, -0.08651462197303772, 0.3725323975086212, 0.49014580249786377, -0.04608805477619171, 0.9224443435668945, 0.44680067896842957, 0.3943440914154053, -0.0009833368239924312, 0.23793146014213562, 0.7815054059028625, -0.4379335939884186, -0.3612450361251831, -0.8026320338249207, 0.2954491078853607, 0.21304866671562195, -0.23132215440273285, 0.5818260312080383, 0.5637037754058838, 0.7012624144554138, 0.07604878395795822, 0.7656240463256836, 0.3413222134113312, 0.9916844964027405, -0.6188570857048035, 0.7327545285224915, -1.0546098947525024, 0.20079559087753296, -0.19783072173595428, -0.722245454788208, -0.5516765117645264, 0.32771337032318115, 0.006065118592232466, 0.20608478784561157, 0.9075549244880676, 0.600958526134491, 0.11013993620872498, -0.18659895658493042, 0.4990553855895996, 0.2288707196712494, -0.03394924849271774, 0.8801398277282715, 0.6824997067451477, -0.535545825958252, 0.7224907875061035, -0.1777864247560501, -0.2844441831111908, -0.04338735714554787, -0.7835622429847717, -0.8224497437477112, -0.5245345234870911, -0.34834954142570496, -0.37844136357307434, 0.16652154922485352, 0.9727337956428528, 0.5909490585327148, -0.8423935770988464, -0.019754566252231598, 0.4239864647388458, 0.011909082531929016, -0.47531041502952576, -0.09010668098926544, 0.46222248673439026, -0.09813380241394043, -0.7418631315231323, 0.44437655806541443, 0.15991030633449554, -0.0362548865377903, -0.24328047037124634, -0.13573229312896729, -0.21853262186050415, 0.12228609621524811, 0.4720366597175598, 0.5029491782188416, -0.8330594897270203, 0.10272610932588577, 0.09496797621250153, -0.13146349787712097, 0.28685876727104187, 0.7457991242408752, -0.8830748796463013, 0.48104798793792725, 0.1955241709947586, 0.946864664554596, 0.2217452973127365, -0.11610816419124603, 0.503082275390625, -0.5260188579559326, -0.14531169831752777, 0.3597642183303833, 0.5513019561767578, 0.30058589577674866, 0.010071330703794956, 0.5280022621154785, 0.002382456324994564, -0.5818398594856262, -0.690899133682251, 0.1294451206922531, -0.694636881351471, -0.5090024471282959, 1.1958578824996948, -0.24128329753875732, -0.08438972383737564, -0.3954256474971771, -0.3310246765613556, 0.1604941487312317, 0.18089060485363007, 0.8394055366516113, 0.6291196346282959, -0.050497666001319885, -0.4602736234664917, -0.97850501537323, 0.39565509557724, 0.8003639578819275, -1.1646655797958374, 0.1547984629869461, 0.3900271952152252, 0.2975119650363922, -0.04420356824994087, 0.7638200521469116, -0.5431132316589355, 0.6708994507789612, -0.22103647887706757, -0.015250883996486664, 0.09325305372476578, -0.23743394017219543, -0.5083650350570679, 0.09994252026081085, 0.2520677447319031, 0.07156126946210861 ]
http://arxiv.org/abs/2404.05587v2
http://arxiv.org/pdf/2404.05587v2
Enhancing Software-Related Information Extraction via Single-Choice Question Answering with Large Language Models
2024-04-08T15:00:36
2024-04-19T23:19:17
Wolfgang Otto, Sharmila Upadhyaya, Stefan Dietze
cs.CL
cs.CL, I.2.7
This paper describes our participation in the Shared Task on Software Mentions Disambiguation (SOMD), with a focus on improving relation extraction in scholarly texts through generative Large Language Models (LLMs) using single-choice question-answering. The methodology prioritises the use of in-context learning capabilities of GLMs to extract software-related entities and their descriptive attributes, such as distributive information. Our approach uses Retrieval-Augmented Generation (RAG) techniques and GLMs for Named Entity Recognition (NER) and Attributive NER to identify relationships between extracted software entities, providing a structured solution for analysing software citations in academic literature. The paper provides a detailed description of our approach, demonstrating how using GLMs in a single-choice QA paradigm can greatly enhance IE methodologies. Our participation in the SOMD shared task highlights the importance of precise software citation practices and showcases our system's ability to overcome the challenges of disambiguating and extracting relationships between software mentions. This sets the groundwork for future research and development in this field.
[ -0.5878373384475708, -0.5552871227264404, 0.740177571773529, -0.04877973720431328, -0.20432284474372864, 0.16496384143829346, -0.042249344289302826, -0.4973389804363251, 0.10221048444509506, 0.7162818312644958, -0.5163836479187012, -0.39961349964141846, -0.48059409856796265, 0.2001512050628662, -0.3643796145915985, 1.2113617658615112, -0.02829810604453087, 0.18649592995643616, -0.576641321182251, -0.3718203604221344, -0.2113165706396103, -0.43009987473487854, -0.5184648633003235, -0.24893860518932343, 0.838666558265686, 0.3462695777416229, 0.5996514558792114, 0.30208829045295715, 0.8796526789665222, 0.16158892214298248, -0.031379904597997665, 0.03997418284416199, -0.22481730580329895, 0.3378622531890869, -0.36007899045944214, -0.2433902770280838, -0.4163815975189209, 0.0005829197471030056, 0.5854238867759705, 0.6069138050079346, -0.05054375156760216, 0.7641753554344177, 0.22091330587863922, 0.5178143382072449, -0.5546759963035583, 0.20554374158382416, -0.618349015712738, -0.15770752727985382, -0.4412156343460083, -0.3915233016014099, -0.44600722193717957, -0.27073580026626587, 0.25800377130508423, -0.8633345365524292, 0.14877866208553314, 0.17279937863349915, 1.0220295190811157, 0.3702101707458496, -0.08443519473075867, -0.5650280714035034, -0.7317821979522705, 0.8832997679710388, -0.5218585133552551, 0.193097323179245, 0.24451884627342224, 0.31868159770965576, -0.364675372838974, -0.8176808953285217, -0.3415181636810303, -0.25624942779541016, 0.024560388177633286, 0.13174834847450256, -0.10611459612846375, -0.049599021673202515, 0.3263443410396576, 0.3788839876651764, -0.3672366738319397, -0.09439154714345932, -0.5667476058006287, -0.028294432908296585, 0.6905812621116638, -0.08881726861000061, 0.5726526975631714, -0.17047014832496643, -0.5578598976135254, 0.46099773049354553, -1.0249028205871582, -0.24618160724639893, 0.08159860223531723, 0.36357152462005615, 0.28197115659713745, 0.5994069576263428, 0.3527566194534302, 0.6557492017745972, -0.4003039300441742, -0.07893407344818115, 0.24171729385852814, -0.4352231025695801, -0.24939048290252686, -0.14813949167728424, 0.6452325582504272, 0.00027030412456952035, -0.11579691618680954, -0.5364393591880798, 0.036562588065862656, -0.0899699404835701, 0.23520848155021667, -0.5362207293510437, -0.05978744849562645, 0.32834476232528687, -0.5280241370201111, -0.2132488638162613, 0.35763293504714966, -0.7581369280815125, -0.49484536051750183, -0.3197583854198456, 0.5986835956573486, -0.33247748017311096, -0.3950778841972351, -0.1809292584657669, -0.5697252154350281, 0.2275877445936203, 0.398835152387619, -0.4971303343772888, 0.37920305132865906, 0.6977808475494385, 0.5513232946395874, -0.527373731136322, -0.4290936589241028, -0.7918158769607544, 0.5220258831977844, 0.015684593468904495, 0.5696907639503479, -0.5781237483024597, -0.3309420049190521, -0.16685131192207336, -0.15296690165996552, 0.2930336892604828, -0.964637815952301, 0.11343753337860107, -0.9573007822036743, 0.30099284648895264, -0.41906267404556274, -0.6113659143447876, 0.07768450677394867, 0.2277568280696869, -0.8076835870742798, 1.333660364151001, 0.28826165199279785, -1.168473482131958, 0.35082972049713135, -0.795950710773468, -0.15670764446258545, 0.4173734486103058, -0.5932902693748474, -0.1664736270904541, 0.005319550167769194, -0.103241927921772, 0.35345739126205444, -0.7393215298652649, 0.4580641984939575, -0.4594251811504364, -0.2371300756931305, 0.12680961191654205, 0.1343405544757843, 1.0479689836502075, 0.354582816362381, -0.14088934659957886, 0.2781054675579071, -0.7738245725631714, -0.2421320378780365, 0.11487362533807755, -0.4407349228858948, -0.7600634694099426, -0.06615888327360153, -0.08741683512926102, 0.14355160295963287, 0.3291647136211395, -0.6386433243751526, 0.4697398245334625, -0.08116147667169571, 0.1487797647714615, 0.5106949210166931, 0.23590624332427979, 0.4868311583995819, 0.0005306230159476399, 0.6573889255523682, 0.0470157153904438, 0.1259748488664627, 0.13894090056419373, -0.34264689683914185, -0.35980790853500366, -0.4618106484413147, 0.5616062879562378, 0.34274330735206604, -1.2192672491073608, 0.026408806443214417, -0.23884530365467072, -0.3096937835216522, -0.6355746984481812, 0.24768929183483124, 0.31518688797950745, 0.41965436935424805, 0.5039811730384827, -0.31898394227027893, -0.7717781066894531, -0.5472350716590881, -0.19805440306663513, -0.3302922248840332, -0.3601727783679962, 0.4158318042755127, 0.46001359820365906, -0.13864241540431976, 1.3669079542160034, -0.875245988368988, -0.08165345340967178, -0.2903953492641449, 0.20259031653404236, -0.003721945220604539, 0.03432457521557808, 0.39612507820129395, -1.1483054161071777, -0.6104599833488464, -0.1832515001296997, -0.9497770071029663, -0.06349198520183563, 0.1448129266500473, -0.22206473350524902, -0.09435529261827469, 0.6905390024185181, -0.4262636601924896, 0.14246046543121338, 0.10608936846256256, -0.10567200928926468, 0.7181361317634583, -0.1464192271232605, -0.048226241022348404, -1.1045379638671875, 0.2687213718891144, -0.038623809814453125, 0.010361596941947937, -0.47946271300315857, 0.4983974099159241, 0.02918902039527893, 0.026439348235726357, -0.4836733341217041, 0.6549713611602783, -0.8112082481384277, -0.4756515622138977, -0.20317363739013672, 0.5086489915847778, -0.07503309100866318, 0.030497746542096138, -0.17919304966926575, 1.0206352472305298, 0.7011357545852661, -0.7356293201446533, 0.3024434447288513, 0.18396461009979248, -0.02206272818148136, 0.4050872325897217, -0.45231327414512634, -0.014336912892758846, -0.20484930276870728, -0.04393209144473076, -0.6111484169960022, 0.013053619302809238, 0.19745756685733795, -0.4434364438056946, 0.26670897006988525, -0.2080499827861786, -0.5253713726997375, -0.27537721395492554, -0.36633577942848206, 0.03690005838871002, 0.21448297798633575, -0.5349786877632141, 0.5296273231506348, 0.8420286774635315, -0.5717543363571167, -0.6354920268058777, -0.3397556245326996, 0.043827760964632034, -0.3313908874988556, -0.389414519071579, 0.5527498126029968, -0.15659567713737488, -0.558440625667572, 0.15019124746322632, -0.28859028220176697, -0.2692560851573944, 0.41739314794540405, 0.1881888210773468, 0.878230094909668, -0.1585618406534195, 0.553950846195221, -0.15840283036231995, -0.13755621016025543, 0.07708196341991425, -0.1921895444393158, 0.34339308738708496, 0.18268734216690063, -0.07248660176992416, 0.38448089361190796, 0.5212959051132202, 0.3416998088359833, -0.45022717118263245, 0.7006415128707886, 0.5680724382400513, -0.23991623520851135, -0.07556664198637009, -0.26978203654289246, -0.08556624501943588, -0.3832666873931885, 0.18656384944915771, -0.4242475628852844, -1.1997828483581543, 0.47065478563308716, -0.23161444067955017, 0.2455425262451172, 0.5913882851600647, 0.19496476650238037, -0.18649448454380035, 0.5729296207427979, 0.8593335747718811, -0.4269980192184448, 0.39286598563194275, -0.12381856888532639, -0.01929536834359169, -1.1249842643737793, 0.10157416015863419, -0.8548719882965088, 0.1615094542503357, -0.2835640609264374, -0.4391669034957886, 0.3829616904258728, 0.28942447900772095, -0.2163110375404358, 0.25668665766716003, -0.4975675046443939, 0.2679460942745209, 0.5536283850669861, -0.11124562472105026, 0.4085327982902527, 0.07218169420957565, -0.12359925359487534, 0.014228034764528275, -0.3903611898422241, -0.6852227449417114, 1.1850485801696777, 0.13627658784389496, 0.5669452548027039, 0.249813973903656, 0.9624090790748596, 0.2874493896961212, 0.6167194843292236, -0.5766144394874573, 0.6985636353492737, 0.013265621848404408, -0.7869147658348083, -0.48481687903404236, -0.48932206630706787, -0.9975790977478027, 0.16085350513458252, -0.04854348674416542, -0.8922574520111084, -0.19984067976474762, -0.07889091968536377, -0.47524169087409973, 0.016142964363098145, -0.29369300603866577, 0.7779345512390137, 0.06596061587333679, -0.3575562834739685, -0.026302194222807884, -0.8327710032463074, 0.06100508198142052, 0.039560142904520035, 0.3214939534664154, 0.08631020784378052, -0.1515405774116516, 0.7188671231269836, 0.02096790261566639, 0.25000613927841187, -0.3004097640514374, -0.24259451031684875, 0.41181835532188416, -0.17352022230625153, 0.38315197825431824, -0.03653809800744057, -0.3139468729496002, 0.12125442177057266, 0.10545393079519272, -0.22177951037883759, -0.5334347486495972, 0.6494928598403931, -0.7068066000938416, -0.6100655794143677, -0.5903614163398743, -0.6674938797950745, -0.25841742753982544, 0.3303477466106415, 0.13394781947135925, 0.26552560925483704, -0.22644366323947906, 0.12842269241809845, 0.7636930346488953, -0.2182133048772812, 0.39547738432884216, 0.5724539160728455, -0.6361031532287598, -0.29945918917655945, 0.9412851333618164, 0.30159229040145874, 0.19632214307785034, 0.3340313732624054, -0.07135356962680817, -0.12710899114608765, -0.5739063620567322, -0.5378902554512024, 0.34479591250419617, -0.5538920164108276, -0.1459139585494995, -0.7082592248916626, -0.20685572922229767, -0.290851354598999, 0.11841433495283127, 0.02080145850777626, -0.22280752658843994, -0.5399816036224365, -0.0583764910697937, 0.2330043911933899, 0.7753883600234985, 0.41322222352027893, -0.3012300133705139, -1.0199459791183472, 0.4251403510570526, 0.041386112570762634, 0.1261778473854065, -0.07144267857074738, -0.35469889640808105, -0.24441586434841156, -0.31917276978492737, -0.19374074041843414, -1.1307456493377686, 0.16327516734600067, -0.0499655120074749, 0.7919883728027344, 0.02264256402850151, 0.35832178592681885, 0.686039388179779, -0.5809818506240845, 0.9599823355674744, 0.18680700659751892, -0.6111667156219482, 0.5929386615753174, -0.24853534996509552, 0.16174907982349396, 0.745542585849762, 0.8357052803039551, -0.21487106382846832, -0.4279245138168335, -0.741881787776947, -0.9552279114723206, 0.5825817584991455, 0.061682410538196564, -0.1610913723707199, 0.12855811417102814, 0.38652852177619934, 0.2692919969558716, 0.471129834651947, -0.7033886909484863, -0.5970923900604248, 0.5475962162017822, -0.12447713315486908, 0.0496772900223732, -0.33499807119369507, -0.24715973436832428, -0.17869015038013458, 0.9857017397880554, -0.1135326698422432, 0.07904659956693649, 0.1718786358833313, -0.20882153511047363, 0.17950832843780518, 0.610549807548523, 0.27297377586364746, 0.8225197196006775, -0.14438025653362274, 0.41914960741996765, 0.10863126814365387, -0.5737636685371399, -0.059409406036138535, 0.26281440258026123, -0.5167900919914246, 0.21184034645557404, -0.15997174382209778, 0.23723450303077698, -0.06792716681957245, -0.4751918613910675, 0.32788047194480896, 0.04011566564440727, 0.11882021278142929, -0.3253539204597473, 0.013295944780111313, 0.3820677697658539, 0.2809322774410248, 0.7784613966941833, -0.09864377230405807, 0.45208939909935, -0.5919445753097534, 0.2801264524459839, 0.5275622606277466, -0.4909556210041046, -0.018887469545006752, 0.3572002649307251, 0.05079204589128494, -0.10929273068904877, 0.24629716575145721, -0.5406101942062378, -0.17561684548854828, 0.5933008790016174, 0.6716558933258057, 0.7347663640975952, 0.05216264724731445, 0.3092113733291626, 0.275771826505661, 0.03233161196112633, 0.01876482553780079, 0.420592725276947, -0.17859122157096863, -0.48504960536956787, -0.28179800510406494, -0.5492631196975708, -0.5315976142883301, 0.12151259928941727, -0.9141483902931213, 0.3715297281742096, -0.1521800011396408, -0.1711495965719223, 0.4057573676109314, 0.12272340804338455, -0.3117579519748688, 0.011257040314376354, -0.0870082750916481, 0.7930765748023987, -0.6307362914085388, 1.035007119178772, 1.1189398765563965, -0.8706095814704895, -1.0353479385375977, 0.11452050507068634, -0.10507525503635406, -0.08204830437898636, 0.7733771800994873, -0.15596090257167816, -0.10436726361513138, 0.13488444685935974, -0.634136974811554, -0.9940583109855652, 1.2773821353912354, 0.5948160886764526, -0.19163069128990173, -0.07022815942764282, -0.28152012825012207, 0.384097158908844, -0.3789477050304413, 0.36394014954566956, 0.34510520100593567, 0.2244463860988617, 0.3133845627307892, -0.7849028706550598, 0.01716274954378605, -0.3408311903476715, 0.00625380827113986, 0.40642914175987244, -0.21711741387844086, 0.6537160277366638, -0.13624519109725952, -0.3538994789123535, -0.05462166666984558, 0.7218703031539917, 0.5827814340591431, 0.46533411741256714, 0.33843448758125305, 0.18473462760448456, 0.8720873594284058, 0.061613596975803375, 0.875252902507782, -0.17969268560409546, 0.48856475949287415, 1.5272414684295654, -0.5924872159957886, 1.037130355834961, 0.9760286808013916, -0.41880613565444946, 0.5630476474761963, 0.4727865755558014, -0.03634272888302803, 0.3711598515510559, 0.3194841742515564, -0.4618474245071411, 0.007713319733738899, -0.1964670866727829, -0.6290472745895386, 0.05785083398222923, 0.12404932081699371, -0.48872795701026917, -0.27164024114608765, 0.1756599396467209, 0.1948661357164383, -0.08919520676136017, -0.37266501784324646, 0.8696097135543823, 0.10609361529350281, -0.7650747895240784, 0.05718442052602768, -0.09820635616779327, 0.6220082640647888, -0.7010135054588318, -0.09992318600416183, 0.08832896500825882, -0.0787949487566948, -0.31895363330841064, -0.5903995037078857, 0.3028305172920227, 0.20034143328666687, -0.5430753231048584, -0.09224234521389008, 1.0610835552215576, -0.34145617485046387, -0.18640738725662231, 0.4002583920955658, 0.5639724731445312, 0.30569887161254883, -0.07560860365629196, -0.5576475858688354, -0.012601417489349842, -0.03516800329089165, -0.05747715383768082, 0.6487916707992554, 0.34379300475120544, 0.14239275455474854, 0.6134122014045715, 0.5397208333015442, 0.35713300108909607, -0.06153322756290436, 0.08015855401754379, 1.0174686908721924, -0.524799644947052, -0.27969124913215637, -0.8324625492095947, 0.5101872682571411, -0.39390048384666443, 0.0010499524651095271, 1.181509017944336, 0.7627347111701965, 0.8495079278945923, -0.18153677880764008, 0.901563286781311, -0.26537784934043884, 0.7550511360168457, -0.11185530573129654, 0.5898531675338745, -0.6376389265060425, 0.6354690790176392, -0.5792989730834961, -0.9522525072097778, -0.3202684819698334, 0.25696370005607605, -0.36811062693595886, -0.2107442170381546, 0.6269149780273438, 0.751156747341156, 0.026127135381102562, -0.018351994454860687, 0.1678902506828308, -0.036226529628038406, 0.16464641690254211, -0.03946130350232124, 0.7787139415740967, -0.4399023950099945, 0.44805672764778137, 0.31096822023391724, -0.2096455991268158, -0.05472146347165108, -0.8566439151763916, -0.3695825934410095, -0.6491613984107971, -0.6115322709083557, -0.4224253296852112, 0.019534584134817123, 1.0197980403900146, 0.17902861535549164, -0.7840195298194885, -0.18509875237941742, -0.026504388079047203, 0.2687830924987793, -0.23315909504890442, -0.2619084417819977, 0.3073410391807556, -0.4201221764087677, -0.3869759440422058, 0.2372736781835556, 0.6982900500297546, -0.3385159969329834, -0.5008576512336731, -0.12123944610357285, -0.6210622787475586, -0.1258465200662613, 0.5821138024330139, 0.2818392217159271, -0.5764539837837219, -0.2661905884742737, 0.16982689499855042, -0.46761709451675415, -0.017650287598371506, 0.7000489234924316, -0.6081222891807556, 0.31674090027809143, 0.33739906549453735, 0.6900809407234192, 0.31801724433898926, -0.11441551148891449, 0.4223363995552063, -0.700217068195343, -0.3320089876651764, 0.20299993455410004, 0.2183651179075241, 0.18416760861873627, -0.31574079394340515, 0.7289496064186096, 0.09591415524482727, -0.6475757360458374, -0.9933506846427917, 0.24928902089595795, -0.8410311937332153, -0.42387333512306213, 1.2904390096664429, -0.5107961297035217, -0.14765720069408417, -0.5548551082611084, -0.4561319649219513, 0.3321922719478607, -0.06342487037181854, 0.6341363787651062, 0.6732164025306702, -0.07520642131567001, -0.1590314507484436, -0.6251071691513062, 0.4591064155101776, 0.07883214950561523, -1.0803022384643555, 0.04516937583684921, 0.5680265426635742, 0.45201408863067627, 0.5680704116821289, 0.8740577101707458, -0.34856969118118286, 0.2661856412887573, -0.12806084752082825, 0.4193553626537323, 0.019808372482657433, -0.38807380199432373, -0.22181114554405212, 0.551655113697052, 0.503033459186554, -0.18650762736797333 ]
http://arxiv.org/abs/2404.05569v2
http://arxiv.org/pdf/2404.05569v2
360$^\circ$REA: Towards A Reusable Experience Accumulation with 360° Assessment for Multi-Agent System
2024-04-08T14:43:13
2024-06-26T11:42:10
Shen Gao, Hao Li, Chengrui Huang, Quan Tu, Zhiliang Tian, Minlie Huang, Shuo Shang
cs.AI
cs.AI, cs.CL, cs.MA
Large language model agents have demonstrated remarkable advancements across various complex tasks. Recent works focus on optimizing the agent team or employing self-reflection to iteratively solve complex tasks. Since these agents are all based on the same LLM, only conducting self-evaluation or removing underperforming agents does not substantively enhance the capability of the agents. We argue that a comprehensive evaluation and accumulating experience from evaluation feedback is an effective approach to improving system performance. In this paper, we propose Reusable Experience Accumulation with 360$^\circ$ Assessment (360$^\circ$REA), a hierarchical multi-agent framework inspired by corporate organizational practices. The framework employs a novel 360$^\circ$ performance assessment method for multi-perspective performance evaluation with fine-grained assessment. To enhance the capability of agents in addressing complex tasks, we introduce dual-level experience pool for agents to accumulate experience through fine-grained assessment. Extensive experiments on complex task datasets demonstrate the effectiveness of 360$^\circ$REA.
[ -0.45036014914512634, -0.6248329877853394, 0.42649683356285095, 0.6005544066429138, 0.18237589299678802, 0.6161805987358093, -0.09422699362039566, -0.49693259596824646, 0.2509128153324127, 0.4146527945995331, -0.4806543290615082, -0.3881111741065979, -0.23104675114154816, -0.17204494774341583, 0.012567702680826187, 0.8209365010261536, -0.0318993516266346, -0.13198286294937134, -0.2790389358997345, -0.15900453925132751, -0.6062403917312622, -0.592121958732605, -0.7388916015625, -0.7195045948028564, 0.4557190239429474, 0.4468168318271637, 0.6850901246070862, 0.10474655777215958, 0.2663046717643738, 0.4469049274921417, 0.3700573742389679, 0.6929640173912048, -0.4330415725708008, 0.19790425896644592, -0.4138094484806061, -0.12698055803775787, -1.0603492259979248, 0.19701796770095825, 0.7264626622200012, 0.47093021869659424, -0.4613747000694275, -0.004422564525157213, 0.05607357993721962, 0.6180402636528015, -0.9181761145591736, 0.3500688076019287, -0.184056356549263, 0.2763898968696594, 0.2136455923318863, -0.5086133480072021, -0.4406653344631195, -0.06171621382236481, 0.039706550538539886, -0.8306334614753723, -0.23308904469013214, 0.01194518432021141, 0.2740119397640228, -0.2106088548898697, -0.07629062235355377, -0.1562248021364212, -0.9076743721961975, 0.9318349957466125, -0.48441070318222046, 0.3246999680995941, -0.058375243097543716, 0.4945846498012543, -0.17971469461917877, -0.5270026922225952, -0.5173292756080627, -0.3086799085140228, 0.34508857131004333, 0.2887671887874603, -0.2943032383918762, 0.05277001112699509, -0.2758761942386627, 0.40307196974754333, -0.16710259020328522, 0.33223459124565125, -0.25490525364875793, -0.11357954889535904, 0.734549343585968, 0.48948878049850464, 0.17294077575206757, 0.1043618693947792, -0.6383494138717651, -0.3077314794063568, -0.4046877324581146, 0.23730698227882385, 0.28731802105903625, 0.4301539361476898, 0.24423928558826447, 0.34779655933380127, -0.4334683120250702, 0.25123342871665955, 0.10983186215162277, -0.21655574440956116, 0.5748261213302612, -0.13144974410533905, -0.5307524800300598, -0.2657569348812103, 0.49573877453804016, 0.49747875332832336, 0.14425162971019745, -0.6881858110427856, -0.45498374104499817, -0.00538012757897377, 0.9361340403556824, -0.6731008291244507, 0.081685371696949, 0.32358652353286743, -0.3183373808860779, -0.2524959146976471, 0.2244560569524765, -0.9362578988075256, -0.3261597752571106, -0.40447551012039185, 0.3229992687702179, -0.32796400785446167, -0.6202955842018127, 0.20782089233398438, -0.15932606160640717, 0.2550583481788635, 0.6626073718070984, -0.30593323707580566, 0.42411932349205017, 1.1658812761306763, 0.5255962610244751, -0.3439826965332031, -0.8702455163002014, -0.6926016211509705, 0.06505164504051208, -0.24794864654541016, 0.8934742212295532, -0.622379720211029, -0.22327904403209686, 0.2974834442138672, 0.01708099991083145, 0.0320403054356575, -0.8461329340934753, 0.07839662581682205, -0.747291624546051, -0.04694024473428726, 0.07538565993309021, -0.31385284662246704, -0.08352910727262497, 0.6053401231765747, -0.4490951895713806, 1.1117262840270996, 0.29727908968925476, -0.19850872457027435, 0.5977050065994263, -0.8938891887664795, 0.12576431035995483, 0.24365150928497314, -0.05745119974017143, -0.011304080486297607, 0.18047748506069183, -0.04044554755091667, 0.27358385920524597, -0.03994079679250717, 0.020676584914326668, -0.2661481201648712, -0.1816907525062561, 0.1596931517124176, -0.2943325936794281, 0.12123631685972214, 0.2969087064266205, -0.21608246862888336, 0.27605608105659485, -0.7421844601631165, 0.5326990485191345, -0.32074686884880066, -0.582712709903717, -0.2957279086112976, -0.1745873987674713, 0.17780055105686188, 0.35607439279556274, 0.43792787194252014, -0.4948529005050659, 0.4170278012752533, -0.38764652609825134, -0.10765384137630463, 0.7744846940040588, -0.061659518629312515, 0.6105160713195801, -0.46332666277885437, 0.8612751960754395, 0.27128732204437256, 0.13873177766799927, -0.015764489769935608, -0.02835424244403839, -0.41320502758026123, -0.39077290892601013, -0.21748974919319153, 0.5131596326828003, -0.878488302230835, 0.43196749687194824, -0.26033899188041687, -0.7787148952484131, -0.3156869411468506, 0.4241730272769928, 0.6970445513725281, -0.023841284215450287, 0.46897801756858826, -0.7110973000526428, -0.1855037808418274, -0.9779695868492126, -0.3261488676071167, -0.20343929529190063, -0.01988646760582924, 0.11499444395303726, 0.3326326012611389, -0.43081584572792053, 0.8168515563011169, -0.30901917815208435, -0.34195539355278015, -0.3157063126564026, 0.18080009520053864, -0.10429135710000992, 0.7086817026138306, 0.23037800192832947, -0.35536903142929077, 0.009654263965785503, 0.19991476833820343, -0.9460582137107849, 0.19387604296207428, -0.14002487063407898, -0.3436015248298645, 0.23396435379981995, 0.16623595356941223, -0.4275205433368683, 0.3513636291027069, 0.4493539333343506, -0.6028597950935364, 0.6496081948280334, -0.5850181579589844, 0.25375306606292725, -0.5425118803977966, -0.1141280010342598, 0.046969879418611526, -0.48927223682403564, -0.453740656375885, 0.3793186843395233, -0.1076178327202797, 0.20696094632148743, -0.41427847743034363, 0.5169332027435303, -0.527189314365387, -0.3157308101654053, -0.650831401348114, 0.45263203978538513, 0.24699953198432922, 0.8253195285797119, -0.18791888654232025, 0.4586588442325592, 0.4054260849952698, -0.5361648797988892, 0.4910123646259308, -0.26497623324394226, -0.39502304792404175, 0.9188770651817322, -0.29256924986839294, 0.2278377264738083, 0.008951596915721893, 0.25384390354156494, -0.7928469181060791, 0.24824440479278564, 0.2225906252861023, -0.07528108358383179, 0.2008131891489029, 0.5732687711715698, -0.38382938504219055, -0.23157362639904022, -0.5550371408462524, 0.4860207736492157, 0.031629957258701324, -0.41333892941474915, 0.8653125762939453, 0.4819858968257904, 0.00579277565702796, -0.7138214111328125, -0.48572057485580444, 0.14164051413536072, -0.14483405649662018, -0.7274462580680847, 0.12405038625001907, 0.3107742369174957, -0.3665805459022522, -0.1609644740819931, -0.0833481103181839, 0.012470387853682041, 0.05451946333050728, 0.5345876216888428, 0.019674737006425858, -0.16949956119060516, 0.058307576924562454, 0.14968284964561462, -0.09201789647340775, 0.013376915827393532, -0.026013631373643875, 0.5687912702560425, -0.7344038486480713, -0.48632168769836426, -0.6849615573883057, 0.6463844180107117, 0.7324790954589844, -0.20256945490837097, 0.5196102261543274, 0.3236618638038635, -0.5140746831893921, -0.24473494291305542, -0.7865111827850342, 0.06701114773750305, -0.41719576716423035, 0.7642362713813782, -0.6324018836021423, -0.6825852990150452, 0.6710725426673889, -0.34627023339271545, 0.32578447461128235, 0.5035677552223206, 0.5963265299797058, 0.19985423982143402, 0.6907683610916138, 0.8048927783966064, -0.04558464512228966, 0.3278774321079254, -0.568351686000824, 0.029071267694234848, -1.0241875648498535, -0.6118049025535583, -0.25055408477783203, -0.12658199667930603, -0.4074321389198303, -0.690991997718811, 0.15955433249473572, -0.0062622735276818275, -0.4816370904445648, -0.04535657912492752, -0.4466042220592499, 0.21627177298069, 0.22121591866016388, 0.07492916285991669, 0.669175386428833, -0.11320265382528305, 0.27169495820999146, 0.17165738344192505, -0.6319710612297058, -0.9199090600013733, 0.7380487322807312, 0.7138685584068298, 0.6925567388534546, -0.012625661678612232, 0.7941880822181702, 0.6159176826477051, 0.7964537143707275, -0.8081513047218323, 0.27068352699279785, 0.22112669050693512, -0.28636643290519714, -0.5760204792022705, -0.20718929171562195, -0.8502304553985596, 0.6431621313095093, 0.04145171865820885, -0.7872208952903748, 0.48897141218185425, -0.06710516661405563, -0.5884454846382141, 0.1399356722831726, -0.7856960296630859, 0.7531923055648804, -0.09873899072408676, -0.48897287249565125, -0.5197370052337646, -0.08657200634479523, 0.06193612515926361, -0.14519496262073517, 0.37648722529411316, 0.15549369156360626, -0.2894436717033386, 0.8940500617027283, -0.426824152469635, 0.7417951822280884, -0.629811704158783, -0.34326812624931335, 0.29614078998565674, 0.1350397765636444, 0.438096284866333, 0.14793112874031067, -0.3223738372325897, -0.03917602822184563, 0.1725064069032669, -0.4125256836414337, -0.9384209513664246, 0.9737018346786499, -1.059533953666687, -0.6193654537200928, -0.43241578340530396, -0.7077991962432861, -0.4461985230445862, 0.009596006013453007, -0.40574970841407776, 0.4083499312400818, -0.38424527645111084, 0.01575620472431183, -0.1396753042936325, -0.15329474210739136, 0.2643653154373169, 0.4836330711841583, -0.43248799443244934, -0.35900479555130005, 0.7998189330101013, 0.2166944444179535, 0.3386455774307251, -0.06357764452695847, -0.026721319183707237, -0.08005259931087494, -0.29663389921188354, -0.27145034074783325, 0.02112569287419319, -0.47455114126205444, -0.36610496044158936, -0.6071636080741882, 0.019456086680293083, -0.3568853735923767, -0.28025662899017334, -0.8487185835838318, -0.15635104477405548, 0.16963423788547516, -0.20147456228733063, -0.12259514629840851, 0.8525460362434387, -0.316532164812088, 0.48565971851348877, -0.47779712080955505, 0.18011866509914398, 0.23764994740486145, 0.26973146200180054, 0.5945333242416382, -0.1415901631116867, -0.5141197443008423, 0.18346478044986725, -0.7729266285896301, -0.5334334373474121, 0.5630062222480774, 0.02974562719464302, 0.8579211235046387, 0.46933218836784363, -0.04005913436412811, 0.8116401433944702, -0.2711542546749115, 0.7717780470848083, 0.1831197291612625, -0.9555298686027527, 0.07801079750061035, -0.05458918213844299, 0.2776753008365631, 0.8022422790527344, 0.03960828483104706, -0.42510074377059937, -0.8859442472457886, -0.7733398079872131, -1.0940747261047363, 0.7672170996665955, -0.11169968545436859, 0.1523509919643402, 0.22097177803516388, 0.49736902117729187, 0.06614023447036743, 0.3951714038848877, -0.32741692662239075, -0.13746502995491028, -0.3681699335575104, 0.3708803057670593, -0.05952521786093712, -0.2489587515592575, -0.10137413442134857, -0.08980390429496765, 0.7057770490646362, -0.08858321607112885, 0.3110204041004181, 0.34213581681251526, 0.014370078220963478, 0.09166023135185242, 0.38164690136909485, 0.29394155740737915, 1.2519160509109497, -0.29005181789398193, 0.20495565235614777, 0.20019878447055817, -0.27116894721984863, 0.08519057929515839, -0.30124619603157043, 0.5325618982315063, -0.5206927061080933, 0.419816255569458, 0.2785116732120514, 0.21014799177646637, -0.6064311861991882, 0.32189515233039856, 0.07513902336359024, -0.027962790802121162, -0.5220440626144409, 0.009035979397594929, 0.08293485641479492, 0.6722854375839233, 0.6702967882156372, -0.027050191536545753, 0.21199160814285278, -1.0622320175170898, 0.28103312849998474, 0.29971927404403687, -0.5681909918785095, -0.07796841114759445, -0.13446113467216492, 0.28385499119758606, -0.49557918310165405, 0.6233848929405212, -0.22108995914459229, -0.5483950972557068, 0.6107242107391357, 0.3632032573223114, 0.7747899889945984, -0.40672430396080017, 0.4322061836719513, 0.05733995884656906, 0.14879801869392395, -0.09343519061803818, 0.17510801553726196, -0.22205018997192383, -0.8188353180885315, -0.4590469002723694, -0.5769566297531128, -0.4988725483417511, -0.21864178776741028, -0.8170873522758484, -0.2187148928642273, -0.558281421661377, -0.12837520241737366, 0.06189467012882233, 0.4611315131187439, -0.7486307621002197, 0.2756548523902893, -0.07221181690692902, 0.9431668519973755, -0.7204737067222595, 0.7227140665054321, 0.5031763315200806, -0.3696492910385132, -0.7607178092002869, -0.282665491104126, -0.38204318284988403, -0.9200323224067688, 0.7270439863204956, 0.1780826300382614, -0.6981747150421143, -0.5618798732757568, -0.3342975974082947, -0.3009408116340637, 1.172528862953186, 0.08083821833133698, -0.35044798254966736, -0.1330416053533554, -0.05519530922174454, 0.9687657356262207, -1.0825074911117554, 0.4343263506889343, 0.6166450381278992, 0.6209176182746887, 0.056696001440286636, -0.8396584987640381, 0.11253120005130768, -0.45898377895355225, 0.032790280878543854, -0.20136070251464844, -0.856496274471283, 0.7271173596382141, -0.12190002202987671, -0.08497685194015503, 0.07550819218158722, 1.059281826019287, 0.6785152554512024, 0.8997991681098938, 0.6810442209243774, 0.30291852355003357, 0.862650454044342, 0.4491043984889984, 1.0675435066223145, -0.25921493768692017, 0.5241797566413879, 1.1965680122375488, -0.3179504871368408, 0.921468198299408, 0.6707058548927307, -0.03147240728139877, 0.8244161009788513, 0.305536687374115, 0.22159938514232635, 0.35679471492767334, 0.5923742055892944, -0.1905873715877533, -0.7720024585723877, -0.0791463702917099, -0.2736971378326416, 0.7136815786361694, 0.1835579127073288, -0.12130323797464371, -0.45612832903862, 0.1469377875328064, 0.10538744926452637, 0.21050120890140533, -0.38034605979919434, 0.6217612028121948, 0.03801949694752693, -0.7908935546875, 0.1675688624382019, 0.12366275489330292, 0.7660792469978333, -0.22677990794181824, -0.14118874073028564, -0.171208456158638, 0.488686203956604, -0.46588996052742004, -0.537589967250824, 0.41324102878570557, -0.15079036355018616, -0.2979044020175934, -0.3391273319721222, 0.4435631036758423, -0.210200235247612, -0.5567362308502197, 0.5922548770904541, 0.9726866483688354, 0.25870612263679504, -0.33930662274360657, -0.37679222226142883, -0.13069583475589752, -0.44346562027931213, -0.41824981570243835, 0.4199625253677368, 0.7030683159828186, -0.1162058636546135, 0.8472061157226562, 0.43705496191978455, 0.1644139289855957, -0.09802080690860748, 0.02652462013065815, 1.0756477117538452, -0.6213631629943848, -0.49436745047569275, -0.5427871942520142, 0.3988056480884552, -0.12028979510068893, -0.29983633756637573, 0.6265733242034912, 0.770425021648407, 0.6910660862922668, 0.060704220086336136, 0.73457270860672, 0.1761363446712494, 0.3837098777294159, -0.09032858908176422, 0.6771433353424072, -0.8542474508285522, 0.25348958373069763, -0.558438777923584, -0.8359619379043579, 0.05496039614081383, 0.4759601056575775, -0.3599337637424469, 0.25879159569740295, 0.5269213318824768, 0.8346908688545227, 0.10062012821435928, 0.057683177292346954, 0.5403984189033508, 0.013132484629750252, 0.6715329885482788, 0.7557874321937561, 1.1717342138290405, -0.45915529131889343, 0.10576550662517548, -0.22039800882339478, -0.6216738820075989, -0.03403080999851227, -0.6266993880271912, -0.39159032702445984, -0.5372312664985657, -0.4408089220523834, -0.2887231409549713, -0.009176747873425484, 0.9209638237953186, 0.6412951350212097, -0.5417762398719788, -0.5960643291473389, 0.44808605313301086, 0.19456131756305695, -0.6178392171859741, -0.26244840025901794, 0.308427095413208, -0.4832501709461212, -0.8491314053535461, 0.5295073390007019, 0.3854859471321106, -0.6139446496963501, -0.8305389285087585, -0.3903791606426239, -0.18292434513568878, -0.07583966851234436, 0.8984445929527283, 0.34699004888534546, -0.4712506830692291, -0.3935074508190155, -0.11694422364234924, -0.024413514882326126, 0.01294263917952776, 0.9460502862930298, -1.033983826637268, 0.41257062554359436, 0.3540450632572174, 0.5697540640830994, 0.27370956540107727, 0.176261767745018, 0.78266441822052, -0.2931399643421173, -0.05050160363316536, 0.10900621116161346, 0.03761036694049835, 0.166503444314003, -0.4945299029350281, 0.2901345491409302, -0.07056017220020294, -0.6111454963684082, -0.7523766160011292, -0.3550957441329956, -1.3796477317810059, -0.02120356447994709, 1.0543148517608643, -0.528886616230011, -0.1944328099489212, -0.27539536356925964, -0.08342143893241882, 0.12156464904546738, -0.8186891078948975, 0.8499303460121155, 0.5456716418266296, -0.5113512277603149, 0.22280088067054749, -0.3080907464027405, 0.13691572844982147, 0.4173482656478882, -1.0030899047851562, 0.17213718593120575, 0.5236173272132874, 0.21580789983272552, 0.7750557661056519, 0.7962932586669922, -0.2835661470890045, 0.23561757802963257, -0.08642525225877762, 0.20597708225250244, -0.48547619581222534, -0.7607585191726685, -0.2541479468345642, 0.8506762981414795, 0.058949220925569534, -0.3634091019630432 ]
http://arxiv.org/abs/2404.05567v1
http://arxiv.org/pdf/2404.05567v1
Dense Training, Sparse Inference: Rethinking Training of Mixture-of-Experts Language Models
2024-04-08T14:39:49
2024-04-08T14:39:49
Bowen Pan, Yikang Shen, Haokun Liu, Mayank Mishra, Gaoyuan Zhang, Aude Oliva, Colin Raffel, Rameswar Panda
cs.LG
cs.LG, cs.AI, cs.CL
Mixture-of-Experts (MoE) language models can reduce computational costs by 2-4$\times$ compared to dense models without sacrificing performance, making them more efficient in computation-bounded scenarios. However, MoE models generally require 2-4$\times$ times more parameters to achieve comparable performance to a dense model, which incurs larger GPU memory requirements and makes MoE models less efficient in I/O-bounded scenarios like autoregressive generation. In this work, we propose a hybrid dense training and sparse inference framework for MoE models (DS-MoE) which achieves strong computation and parameter efficiency by employing dense computation across all experts during training and sparse computation during inference. Our experiments on training LLMs demonstrate that our DS-MoE models are more parameter-efficient than standard sparse MoEs and are on par with dense models in terms of total parameter size and performance while being computationally cheaper (activating 30-40% of the model's parameters). Performance tests using vLLM show that our DS-MoE-6B model runs up to $1.86\times$ faster than similar dense models like Mistral-7B, and between $1.50\times$ and $1.71\times$ faster than comparable MoEs, such as DeepSeekMoE-16B and Qwen1.5-MoE-A2.7B.
[ -0.5465056896209717, -1.0166409015655518, 0.4450860619544983, 0.13370050489902496, -0.2178848683834076, 0.17664675414562225, -0.47088298201560974, -0.4791963994503021, 0.2645813822746277, 0.4483102560043335, -0.4631209671497345, -0.015896320343017578, -0.6582005023956299, 0.00441192789003253, -0.36196455359458923, 0.5007409453392029, 0.12015943229198456, 0.056563884019851685, -0.2609144151210785, 0.03270011767745018, -0.4720695912837982, -0.25358983874320984, -0.46374014019966125, -0.09230025112628937, 0.4482349455356598, 0.3429395854473114, 0.6970821022987366, 0.6496939659118652, 0.04671129211783409, 0.3705713450908661, 0.06223738566040993, 0.247889444231987, -0.7784702777862549, 0.23641104996204376, 0.16844451427459717, -0.42007607221603394, -0.40140053629875183, -0.183172807097435, 0.6107139587402344, 0.9540996551513672, -0.3312813639640808, -0.3703353703022003, -0.02982478402554989, 0.35353973507881165, -0.8694373965263367, -0.022516952827572823, -0.9579228162765503, -0.10484398901462555, -0.04891584813594818, -0.13633234798908234, -0.39719846844673157, 0.10723547637462616, 0.03283132612705231, -0.7190473079681396, 0.4404465854167938, 0.09215198457241058, 0.7184149622917175, 0.4988434314727783, -0.21586494147777557, 0.21627667546272278, -0.6740467548370361, 1.2009553909301758, -0.885025143623352, 0.5883172154426575, 0.49967139959335327, 0.11445904523134232, -0.11739440262317657, -0.2668326497077942, -0.4793671667575836, -0.18422406911849976, 0.19542068243026733, 0.1501634567975998, 0.09957856684923172, 0.2445794641971588, 0.12963725626468658, 0.576567530632019, -0.43711602687835693, 0.39614349603652954, -0.3617140054702759, -0.014306595548987389, 1.0381979942321777, 0.30189087986946106, -0.054972074925899506, 0.2461196333169937, -0.29449790716171265, 0.1641501933336258, -0.5108973383903503, -0.4598539173603058, 0.2658350467681885, 0.04138736426830292, -0.08972932398319244, 0.3426141142845154, -0.3079976737499237, 0.8272836804389954, 0.2863754332065582, -0.5232657194137573, 0.034624479711055756, -0.17626848816871643, -0.021497635170817375, -0.17554067075252533, 0.8127236366271973, 0.22938363254070282, 0.3330647945404053, -0.5271775722503662, -0.5099348425865173, -0.14001889526844025, 0.17933353781700134, -1.0038657188415527, -0.47383901476860046, 0.024896932765841484, -0.2679101228713989, -0.09272494167089462, -0.38475173711776733, -0.6323524713516235, -0.16995833814144135, -0.4498519003391266, 0.46272042393684387, -0.6339362859725952, -0.5734970569610596, 0.2944319546222687, 0.09857397526502609, -0.24760574102401733, 0.578152060508728, -1.2462459802627563, 0.4625750780105591, 0.5339179039001465, 0.6977180242538452, -0.29113587737083435, -0.35311001539230347, -0.17573198676109314, 0.319559782743454, -0.31402963399887085, 0.8240670561790466, -0.6604887843132019, -0.5817602276802063, -0.3758719861507416, -0.7656444311141968, -0.42709216475486755, -0.6675444841384888, 0.16325069963932037, -0.42641183733940125, -0.0065321484580636024, -0.1983778327703476, -0.8152871131896973, -0.2737685441970825, -0.1466045379638672, -0.5801562070846558, 1.331757664680481, 0.1615496277809143, -0.6163318157196045, 0.5607568025588989, -0.12370044738054276, -0.5025597214698792, 0.17948052287101746, -0.501459538936615, -0.2526826858520508, 0.212598517537117, 0.2744337022304535, 0.7931024432182312, -0.4918426275253296, 0.5234330892562866, -0.7393075823783875, -0.549557626247406, 0.1516866236925125, -0.5795320868492126, 0.7039477229118347, 0.41383132338523865, -0.2698410451412201, -0.19764821231365204, -0.9038191437721252, -0.11427798122167587, 0.08744972199201584, -0.45888498425483704, -0.4367237091064453, 0.20634712278842926, -0.036494188010692596, -0.07932046800851822, 0.28416773676872253, -0.3188460171222687, 0.23579514026641846, -0.18091368675231934, 0.4476138949394226, 0.7524558901786804, -0.18170978128910065, 0.8208813667297363, -0.2854573130607605, 0.334506630897522, 0.08514193445444107, -0.006560169626027346, -0.005765572655946016, -0.6622202396392822, -0.7949318289756775, -1.0640794038772583, 0.3767072856426239, 0.45778220891952515, -0.7751684784889221, 0.6589314341545105, -0.240568146109581, -0.48933011293411255, -0.6947681307792664, 0.32405349612236023, 0.1617334634065628, 0.6090846061706543, 0.2760782539844513, -0.0898413136601448, -0.29029610753059387, -0.8941767811775208, -0.15882085263729095, -0.1007668748497963, 0.16649892926216125, 0.4578094482421875, 0.49102914333343506, -0.1752023845911026, 1.184425950050354, -0.41154325008392334, 0.4404906630516052, -0.4116092920303345, 0.1422804594039917, -0.08909468352794647, 0.7214537262916565, 0.799968957901001, -0.6494255661964417, -0.585673987865448, -0.1734342873096466, -0.6675949692726135, -0.27195847034454346, -0.04121986776590347, -0.01101464219391346, 0.06234327331185341, 0.2741841971874237, -0.49088117480278015, 0.22699123620986938, 0.4907437860965729, 0.15025551617145538, 0.4402354061603546, -0.23487943410873413, -0.01727404072880745, -1.025325059890747, -0.3077654242515564, 0.008959365077316761, -0.10210330039262772, -0.4686744511127472, 0.15586017072200775, -0.06962835788726807, -0.05826069414615631, 0.023278893902897835, 0.6459305882453918, -0.6718980669975281, -0.11220785975456238, -0.22708837687969208, -0.24356979131698608, -0.0015655249590054154, 0.6870467662811279, 0.1692686676979065, 1.0967469215393066, 0.9709142446517944, -0.5927448868751526, 0.19014765322208405, -0.2785551846027374, -0.4390629827976227, 0.3913620114326477, -0.7067565321922302, -0.06785948574542999, 0.0025035894941538572, 0.25666770339012146, -0.9246169924736023, -0.2552819848060608, 0.07809201627969742, -0.21112950146198273, 0.4776226878166199, -0.0819801464676857, -0.7327347993850708, 0.011994545347988605, -0.0868014320731163, 0.7482017874717712, 0.6112119555473328, -0.3025256395339966, 0.8580858707427979, 0.36183056235313416, -0.2673264443874359, -0.5406572818756104, -0.7725646495819092, -0.006847926881164312, -0.20509174466133118, -0.8614190816879272, 0.22873525321483612, -0.1711404025554657, -0.3898344337940216, 0.07871979475021362, 0.13803794980049133, -0.6396830081939697, 0.563302755355835, -0.06111302226781845, -0.03708752617239952, -0.44991427659988403, -0.09023622423410416, 0.5384662747383118, -0.15927250683307648, -0.20601807534694672, -0.10167188942432404, 0.43807145953178406, 0.05365826562047005, -0.5142008662223816, -0.3473574221134186, 0.7745805382728577, 0.3351497948169708, -0.1659442037343979, 0.9442712068557739, 0.609574019908905, -0.4088969826698303, -0.41202911734580994, -1.0055100917816162, -0.46464309096336365, -0.4221092760562897, 0.5365381836891174, -0.4807884991168976, -0.81972336769104, 0.5681056380271912, 0.1667603850364685, 0.2033076286315918, 0.47194766998291016, 0.792749285697937, 0.10962649434804916, 1.053218126296997, 0.38202789425849915, -0.27904799580574036, 0.48234885931015015, -0.3489221930503845, 0.14285090565681458, -0.4827682375907898, -0.06931878626346588, -0.22296741604804993, -0.35506942868232727, -0.09640353173017502, -0.5931656360626221, 0.341377317905426, 0.31890374422073364, 0.13965870440006256, 0.08418093621730804, -0.12162675708532333, 0.35144203901290894, 0.6033901572227478, 0.19046273827552795, 0.15229561924934387, 0.17379441857337952, -0.03567999228835106, -0.02276519127190113, -1.3779631853103638, -0.09739705175161362, 1.0303575992584229, 0.24212265014648438, 0.9775187969207764, -0.17081543803215027, 0.7223716974258423, 0.06835336983203888, 0.17105872929096222, -0.6706166863441467, 0.695981502532959, 0.000042946510802721605, -0.8400603532791138, -0.12577880918979645, -0.7708296179771423, -0.5863432288169861, 0.5721784830093384, -0.4188852310180664, -0.35670703649520874, 0.30905166268348694, 0.24913635849952698, -0.4625060558319092, 0.5361649990081787, -0.9849733114242554, 0.4492614269256592, -0.23646824061870575, -0.5464557409286499, -0.6491249799728394, -0.3328036069869995, 0.5216531157493591, -0.22982069849967957, 0.037104181945323944, -0.21047687530517578, -0.2452378123998642, 0.5337747931480408, -0.659425675868988, 0.9035065174102783, -0.08137238770723343, -0.06088439002633095, 0.2455402910709381, -0.0012405136367306113, 0.2758842706680298, 0.10150562971830368, -0.36048224568367004, 0.2967706322669983, -0.4803987443447113, -0.727206289768219, -0.5096476674079895, 0.7072560787200928, -0.9345778822898865, -0.3336580693721771, -0.08052767068147659, -0.9511187076568604, -0.33040472865104675, 0.014831854961812496, 0.44722723960876465, 0.6545981168746948, 0.17621181905269623, 0.1729533076286316, 1.0441398620605469, 0.004362249746918678, 0.05819810554385185, 0.5336112380027771, 0.17480862140655518, -0.419138640165329, 1.0108506679534912, 0.4838760495185852, 0.35630953311920166, 0.2910878658294678, 0.012924610637128353, -0.14323288202285767, -0.8999873995780945, -0.6254124045372009, 0.2670225203037262, -0.36297592520713806, 0.024559274315834045, -0.9441221356391907, -0.19264750182628632, -0.3723044991493225, -0.41447535157203674, -0.6049640774726868, -0.40149956941604614, -0.4501425623893738, 0.1626255363225937, 0.4538795053958893, 0.5270442366600037, 0.03533387929201126, 0.5949809551239014, -0.5750681161880493, 0.18618322908878326, 0.42935416102409363, 0.3454325497150421, 0.2590988278388977, -0.6130269169807434, -0.45620572566986084, 0.07752084732055664, 0.01828988455235958, -0.6144348978996277, 0.14838020503520966, 0.34731027483940125, 0.8140422105789185, 0.7504425644874573, -0.04787835851311684, 0.935383141040802, -0.4853847622871399, 0.6444661021232605, 0.007175919134169817, -0.5446982383728027, -0.06283185631036758, -0.4715733230113983, -0.2204481065273285, 0.6198275685310364, 0.230953186750412, 0.25875306129455566, -0.49043911695480347, -0.7576332688331604, -0.8436015844345093, 0.5646541714668274, 0.1771460622549057, -0.026484284549951553, 0.009474643506109715, 0.5078795552253723, 0.4166085124015808, 0.2625400424003601, -0.33381786942481995, -0.23731465637683868, 0.11798791587352753, -0.2225344032049179, -0.08439115434885025, -0.641469419002533, 0.09316366165876389, -0.4543493390083313, 0.6165815591812134, 0.06162049248814583, 0.138521209359169, -0.20986682176589966, -0.3479880392551422, -0.07682987302541733, -0.06857020407915115, 0.5798591375350952, 0.5964179635047913, -0.2189684361219406, -0.01521327905356884, 0.37061718106269836, -0.2794552743434906, -0.11122924089431763, 0.178745836019516, -0.27118411660194397, 0.041708435863256454, 0.4471316933631897, 1.1052871942520142, 0.6878851652145386, -0.6685786247253418, 0.4219229221343994, 0.12530416250228882, -0.4630809724330902, -0.008708574809134007, 0.5008577108383179, 0.11493642628192902, 0.10144180804491043, 0.3570997416973114, 0.21821805834770203, 0.2467534989118576, -0.13975584506988525, -0.046721238642930984, 0.41852185130119324, 0.2241552472114563, -0.3461013436317444, 0.751030683517456, 0.4736333191394806, 0.07652362436056137, 0.4951399862766266, -0.12811478972434998, -0.39803823828697205, 0.42218470573425293, 0.4127338230609894, 0.7520507574081421, -0.22214248776435852, -0.2470124214887619, 0.14661480486392975, 0.16803580522537231, -0.25568366050720215, 0.15856832265853882, -0.36920860409736633, -0.6701422929763794, -0.7165451645851135, -0.4577341377735138, -0.4017479717731476, -0.013513521291315556, -0.5566056966781616, 0.016752950847148895, -0.5463530421257019, 0.0018273864407092333, -0.3068203330039978, 0.022383665665984154, -0.3555440306663513, 0.3209799826145172, 0.15723426640033722, 0.8579036593437195, -0.9300978779792786, 0.7687139511108398, 0.5984735488891602, -0.13985326886177063, -0.5947116017341614, -0.34472179412841797, -0.24357737600803375, -0.9517021179199219, 0.38149070739746094, 0.02194724604487419, -0.13427315652370453, 0.05759831517934799, -0.6368972063064575, -0.7269719839096069, 0.9463980793952942, 0.6589059233665466, -0.6559820771217346, 0.08887849748134613, -0.06837456673383713, 0.2779236137866974, -0.1958412230014801, 0.4558354914188385, 0.34558114409446716, 0.16031920909881592, 0.01757553033530712, -0.7747133374214172, -0.40284913778305054, -0.31395432353019714, 0.07020994275808334, 0.1515827178955078, -0.7706310749053955, 1.3168476819992065, -0.06490229070186615, 0.004243551287800074, 0.1733330935239792, 1.2005184888839722, 0.4213683605194092, 0.15112774074077606, 0.6962640285491943, 0.8892195820808411, 0.6557570099830627, 0.1683977097272873, 1.039440631866455, -0.6206672787666321, 0.30207404494285583, 0.7498027086257935, -0.33829474449157715, 0.7850373983383179, 0.3056296408176422, -0.1774502396583557, 0.3192709684371948, 0.732148289680481, 0.20030635595321655, 0.35640183091163635, -0.1896549016237259, -0.44882580637931824, -0.7464547753334045, 0.21587254106998444, -0.494078129529953, -0.05673186480998993, 0.4885273873806, -0.023787131533026695, -0.19746671617031097, -0.11082738637924194, 0.09436789155006409, 0.01254204474389553, -0.3085680902004242, 0.6253034472465515, 0.048043590039014816, -0.4832933247089386, 0.7959527969360352, 0.08233247697353363, 0.9163087606430054, -0.6040336489677429, 0.20173068344593048, -0.26344338059425354, 0.13861821591854095, -0.11679781228303909, -0.5209547877311707, -0.034152768552303314, 0.025849098339676857, -0.3734024465084076, -0.1622534990310669, 0.6948104500770569, -0.6756816506385803, -0.5411683917045593, 0.18469920754432678, 0.4375080168247223, 0.18516363203525543, -0.22951562702655792, -0.9295254349708557, -0.07979477941989899, -0.21696843206882477, -0.25858137011528015, 0.4892122745513916, 0.5571998357772827, 0.06476100534200668, 0.8488916158676147, 0.514142632484436, 0.12330255657434464, 0.7143421769142151, 0.03282347694039345, 1.00400972366333, -0.14990954101085663, -0.6036715507507324, -0.6384974718093872, 0.40712255239486694, -0.012495066039264202, -0.29119423031806946, 0.7595242261886597, 0.6424074769020081, 0.7843624949455261, -0.050943344831466675, 0.9101393818855286, -0.01534340437501669, 0.5045915246009827, -0.7123161554336548, 0.6506168842315674, -0.8576861619949341, 0.2345074713230133, -0.06811659038066864, -0.9212539792060852, 0.05583161488175392, 0.6887111067771912, -0.5053679943084717, 0.5550661683082581, 0.19469797611236572, 0.8052488565444946, -0.48856133222579956, -0.11870841681957245, 0.3746792674064636, 0.3387307822704315, 0.04591744393110275, 0.5017608404159546, 0.7939339876174927, -0.2185152769088745, 0.11477746814489365, -0.5963256359100342, -0.22346414625644684, -0.5988000631332397, -0.5524879097938538, -0.9787507057189941, -0.40214529633522034, -0.3300733268260956, 0.04559963569045067, -0.05417337641119957, 0.9306605458259583, 0.9791892766952515, -0.6718982458114624, -0.3362407386302948, -0.05409254506230354, -0.11350198835134506, -0.14501312375068665, -0.21684987843036652, 0.012412513606250286, -0.3637333810329437, -0.8291708827018738, 0.5032958984375, 0.34710991382598877, -0.11120390892028809, -0.5331364870071411, -0.31781041622161865, -0.03654126822948456, 0.19417846202850342, 0.4614674150943756, 0.134732186794281, -0.732658863067627, 0.1821068525314331, -0.22427143156528473, -0.16246633231639862, -0.09307099878787994, 0.6427785754203796, -0.6636205911636353, 0.43271583318710327, 0.588520348072052, 1.0282347202301025, 0.3735254406929016, -0.09535541385412216, 0.6420857310295105, -0.4805549085140228, 0.4998890459537506, 0.3480381965637207, 0.599157989025116, 0.18110330402851105, -0.21757182478904724, 0.1528107076883316, 0.6892560720443726, -0.4652705490589142, -0.9014385938644409, 0.16074107587337494, -1.05936861038208, -0.3548831343650818, 1.2795705795288086, 0.025643115863204002, -0.13612163066864014, -0.1559460312128067, -0.23372957110404968, -0.0582616962492466, -0.6141172647476196, 0.6668733954429626, 0.5912891626358032, 0.08970502763986588, -0.25041213631629944, -0.5121949911117554, 0.014904096722602844, 0.9014223217964172, -0.42501890659332275, -0.16590304672718048, 0.41951048374176025, 0.36193469166755676, -0.2803639769554138, 0.7133821845054626, 0.3881864845752716, 0.1833304613828659, 0.30315572023391724, 0.028128134086728096, -0.2648119032382965, -0.48359087109565735, -0.07054948061704636, -0.05581096559762955, 0.016918621957302094, 0.1481524258852005 ]
http://arxiv.org/abs/2404.05560v1
http://arxiv.org/pdf/2404.05560v1
Chinese Sequence Labeling with Semi-Supervised Boundary-Aware Language Model Pre-training
2024-04-08T14:32:52
2024-04-08T14:32:52
Longhui Zhang, Dingkun Long, Meishan Zhang, Yanzhao Zhang, Pengjun Xie, Min Zhang
cs.CL
cs.CL
Chinese sequence labeling tasks are heavily reliant on accurate word boundary demarcation. Although current pre-trained language models (PLMs) have achieved substantial gains on these tasks, they rarely explicitly incorporate boundary information into the modeling process. An exception to this is BABERT, which incorporates unsupervised statistical boundary information into Chinese BERT's pre-training objectives. Building upon this approach, we input supervised high-quality boundary information to enhance BABERT's learning, developing a semi-supervised boundary-aware PLM. To assess PLMs' ability to encode boundaries, we introduce a novel ``Boundary Information Metric'' that is both simple and effective. This metric allows comparison of different PLMs without task-specific fine-tuning. Experimental results on Chinese sequence labeling datasets demonstrate that the improved BABERT variant outperforms the vanilla version, not only on these tasks but also more broadly across a range of Chinese natural language understanding tasks. Additionally, our proposed metric offers a convenient and accurate means of evaluating PLMs' boundary awareness.
[ -0.36647406220436096, -0.6793866753578186, 0.23449109494686127, 0.48239266872406006, -0.3390108048915863, -0.02149006724357605, -0.3132835030555725, -0.4656710624694824, -0.14094308018684387, 0.5928798317909241, -0.2540748417377472, -0.7673589587211609, -0.34200751781463623, -0.1322997808456421, -0.15318328142166138, 0.9498085975646973, 0.07495812326669693, 0.0017036834033206105, -0.12856873869895935, 0.26287299394607544, -0.3170565068721771, -0.6635750532150269, -0.41099077463150024, -0.46738898754119873, 0.30693989992141724, -0.007252386771142483, 0.6386256217956543, 0.8737398386001587, 0.5098085403442383, 0.18132880330085754, -0.28964897990226746, 0.44414299726486206, -0.0685877725481987, -0.3826201558113098, 0.042951904237270355, -0.21938616037368774, -0.7241429090499878, -0.1740681529045105, 1.1440075635910034, 0.9661738276481628, 0.09755482524633408, 0.11934690922498703, 0.2798762917518616, 0.669707179069519, -0.4550956189632416, 0.13376857340335846, -0.327108770608902, 0.5027757287025452, -0.6252648830413818, -0.148199200630188, -0.7310672402381897, -0.1741860806941986, 0.38863688707351685, -0.49873408675193787, 0.0025992291048169136, -0.10435015708208084, 1.0729200839996338, 0.26995569467544556, -0.21979369223117828, 0.3248998820781708, -0.6865313053131104, 0.4411165416240692, -0.7705792188644409, 0.7759228944778442, 0.41182270646095276, -0.024403976276516914, -0.23737549781799316, -0.8081566095352173, -0.3103760778903961, 0.026797164231538773, -0.14564922451972961, 0.34690725803375244, 0.1042090505361557, 0.26940733194351196, 0.24415771663188934, 0.38632267713546753, -0.6667540073394775, 0.3053600490093231, -0.31138232350349426, -0.6435162425041199, 0.6342573165893555, 0.011777406558394432, 0.41849175095558167, -0.13734550774097443, -0.8318912386894226, 0.015316612087190151, -0.5383360385894775, 0.3549383878707886, 0.2474292367696762, 0.5285072326660156, -0.2588261067867279, 0.21049803495407104, 0.005662206094712019, 1.232986569404602, -0.13665823638439178, 0.16696003079414368, 0.31060582399368286, -0.10741909593343735, -0.1255086213350296, 0.08940012753009796, 0.8886650800704956, 0.35756829380989075, 0.15880610048770905, -0.1851060539484024, -0.3128948509693146, -0.14586293697357178, -0.030702780932188034, -0.6779860854148865, -0.5472977161407471, 0.16373571753501892, -0.0810362845659256, 0.43267378211021423, 0.41293978691101074, -0.4450012445449829, -0.2950543165206909, -0.17452296614646912, 0.16431014239788055, -0.5861356854438782, -0.11545287817716599, 0.23446856439113617, -0.11287861317396164, 0.5133007168769836, 0.22168304026126862, -0.47830814123153687, -0.0692439153790474, 0.5162137150764465, 1.03128981590271, -0.359308660030365, -0.41241323947906494, -0.6576331257820129, -0.02942974865436554, -0.3432583212852478, 0.8973492980003357, -0.43825235962867737, -0.49183687567710876, -0.05707274377346039, 0.04006268084049225, 0.12320994585752487, -0.6394014954566956, 0.5225306153297424, -0.4855363667011261, 0.054803960025310516, -0.22122743725776672, -0.6418085694313049, -0.14497892558574677, 0.10639888048171997, -0.5754761099815369, 1.1691373586654663, -0.11088601499795914, -0.8664090633392334, 0.2168118953704834, -0.535021185874939, -0.8115678429603577, 0.32593804597854614, 0.16816113889217377, -0.3380768299102783, -0.19716714322566986, 0.06692364811897278, 0.5122721195220947, 0.12263399362564087, 0.292275995016098, -0.08253445476293564, -0.21219679713249207, 0.1930619776248932, -0.37078607082366943, 0.8268470764160156, 0.15855245292186737, 0.055551111698150635, 0.14226675033569336, -0.6217750310897827, 0.21208477020263672, -0.12441407144069672, -0.32156291604042053, -0.5276764035224915, -0.2513989210128784, -0.1363086849451065, 0.12298424541950226, 0.6568361520767212, -0.4362832009792328, -0.2108784168958664, -0.5911183953285217, 0.059834420680999756, 0.6763274073600769, -0.10152915120124817, 0.4210576117038727, -0.282081663608551, 0.049639973789453506, 0.20077510178089142, 0.03414151817560196, -0.08511778712272644, -0.48208168148994446, -0.687335193157196, -0.2761412560939789, 0.5742889046669006, 0.626750648021698, -0.6604297161102295, 0.8996281027793884, 0.02692323550581932, -0.633706271648407, -0.5476316809654236, 0.19179068505764008, 0.5259285569190979, 0.39743441343307495, 0.4214063584804535, -0.8618639707565308, -0.5408591032028198, -0.6463454365730286, -0.29855871200561523, -0.06517284363508224, -0.024746088311076164, 0.07790237665176392, 0.11156483739614487, -0.05462149903178215, 1.1067923307418823, -0.5245591402053833, -0.318010151386261, -0.20158268511295319, 0.30816760659217834, 0.09477874636650085, 0.42260298132896423, 0.16574136912822723, -0.9421980977058411, -0.5976549386978149, 0.04911487177014351, -0.5594861507415771, -0.4447234272956848, -0.1317625194787979, -0.4881093204021454, 0.049749333411455154, 0.15111006796360016, -0.12811338901519775, 0.44243425130844116, 0.4375719428062439, -0.24499371647834778, 0.6012659668922424, -0.3836052119731903, -0.3303922116756439, -0.6703186631202698, 0.006769873667508364, 0.47597187757492065, -0.19133061170578003, -1.116114616394043, -0.24575087428092957, 0.3807337284088135, 0.286602258682251, -0.7669628858566284, 0.6894835829734802, -0.6446332335472107, -0.18733227252960205, -0.2852850556373596, 0.1687246412038803, 0.06872834265232086, 0.5606078505516052, 0.659276008605957, 0.4300457239151001, 0.5366695523262024, -0.8828911781311035, 0.18508459627628326, 0.22504037618637085, -0.29297730326652527, 0.3243541419506073, -0.42324012517929077, 0.22810733318328857, 0.0203211959451437, 0.14839090406894684, -0.862249493598938, 0.09445958584547043, 0.07933646440505981, -0.4148638844490051, 0.21178707480430603, -0.05125966668128967, -0.5442814826965332, -0.37875622510910034, -0.1843414157629013, 0.31025978922843933, 0.6669230461120605, -0.5056973695755005, 0.26922938227653503, 0.5238476991653442, -0.015526763163506985, -0.48456448316574097, -0.6980205178260803, -0.23135904967784882, -0.051392823457717896, -0.33855104446411133, 0.3845226764678955, -0.0554431676864624, 0.16031618416309357, -0.2527657747268677, -0.18554358184337616, -0.2468104064464569, 0.172539621591568, 0.12426644563674927, 0.2063262015581131, -0.07509826868772507, -0.07249560207128525, -0.03839237615466118, -0.025687027722597122, 0.15667375922203064, -0.5419700741767883, 0.5737630724906921, -0.21176016330718994, -0.14357571303844452, -0.5474852919578552, -0.1486724317073822, 0.01206911075860262, -0.8632370829582214, 0.49990084767341614, 0.6346451640129089, -0.6881116032600403, -0.49149468541145325, -0.13338814675807953, -0.06547723710536957, -0.43281304836273193, 0.36845850944519043, -0.3595253527164459, -0.7565099596977234, 0.6290106177330017, -0.22975528240203857, 0.18140263855457306, 0.3460327982902527, 0.4698394536972046, -0.20056836307048798, 0.721200168132782, 0.838459312915802, -0.0016610263846814632, 0.4983772039413452, -0.1319342702627182, 0.09354079514741898, -0.9447087645530701, -0.2803671956062317, -0.1435643583536148, 0.0015428437618538737, -0.3132129907608032, -0.6349236965179443, 0.2282295525074005, -0.034359514713287354, -0.1387282758951187, 0.4269504249095917, -0.5604667067527771, 0.32353854179382324, 0.5654515027999878, 0.2609064280986786, 0.25673946738243103, -0.29256293177604675, -0.0040787598118186, -0.08299162983894348, -0.6086171865463257, -0.5178374648094177, 0.4413776695728302, 0.38824883103370667, 0.7803849577903748, -0.1405593752861023, 0.5454287528991699, 0.4579043686389923, 0.11067068576812744, -0.5208531618118286, 0.6723482608795166, -0.4737450182437897, -0.4259333312511444, -0.49291667342185974, -0.368347704410553, -0.8746169209480286, 0.3449878394603729, 0.029190653935074806, -0.9300901889801025, -0.08672896027565002, 0.12501411139965057, -0.5043115615844727, 0.4535832703113556, -0.534369170665741, 1.0769685506820679, -0.5542513728141785, -0.24224358797073364, 0.5127367973327637, -0.9115978479385376, 0.10942094773054123, -0.30117493867874146, 0.07986501604318619, -0.24736270308494568, 0.11211870610713959, 1.0349376201629639, -0.3908628225326538, 1.1666392087936401, -0.3171447813510895, -0.39244845509529114, 0.5689741969108582, -0.07040882855653763, 0.14326810836791992, -0.2895013988018036, 0.20327875018119812, 0.36573025584220886, -0.13986584544181824, -0.33067646622657776, -0.3601933717727661, 0.13248544931411743, -0.6040936708450317, -0.608592689037323, -0.3412754237651825, -0.6630244851112366, -0.16739492118358612, 0.39643189311027527, 0.29855793714523315, 0.19658342003822327, -0.16965188086032867, -0.2044355571269989, 0.7434505820274353, -0.46874457597732544, 0.18380175530910492, 0.4536162316799164, -0.2399042844772339, 0.08678916841745377, 0.8895621299743652, 0.3274022936820984, 0.28133487701416016, 0.6871979236602783, 0.1991734802722931, -0.46880945563316345, -0.3585100471973419, -0.4228372573852539, 0.1270523965358734, -0.510348379611969, -0.01621098816394806, -0.6358996033668518, -0.7733244299888611, -0.2894146144390106, 0.14148899912834167, -0.5019346475601196, 0.10226500779390335, -0.0383264496922493, 0.03283264487981796, 0.1921822875738144, 0.5308476686477661, -0.1804051399230957, 0.4980740249156952, -0.998633086681366, 0.032169159501791, -0.13114511966705322, 0.4347510039806366, -0.17710936069488525, -0.9672046899795532, -0.5312753915786743, 0.1987553983926773, -0.27640092372894287, -0.954547643661499, 0.32804155349731445, 0.18446318805217743, 0.5260559320449829, 0.44431424140930176, 0.43072783946990967, 0.5856022834777832, -0.586449921131134, 0.7591782808303833, -0.06312001496553421, -1.1379464864730835, 0.7340821027755737, -0.04321206733584404, 0.555830717086792, -0.1708415150642395, 0.33578747510910034, -0.6265401840209961, -0.6541094779968262, -0.46810901165008545, -0.8158003687858582, 0.5849015712738037, -0.08838917315006256, 0.0012573323911055923, 0.20325303077697754, 0.09708680957555771, 0.3306643068790436, -0.03515666350722313, -0.6919962167739868, -0.29677483439445496, -0.15148302912712097, -0.07317185401916504, -0.04631979763507843, 0.06418261677026749, 0.15699204802513123, -0.327095627784729, 0.5532822608947754, 0.03779258579015732, 0.1919073909521103, 0.2795166075229645, -0.37554022669792175, 0.26289379596710205, 0.18980900943279266, 0.33983418345451355, 0.38645946979522705, -0.277106374502182, 0.41209542751312256, 0.4660370647907257, -0.44671082496643066, 0.052808139473199844, 0.3675980567932129, -0.14726290106773376, 0.20320799946784973, 0.3569854497909546, 0.8309294581413269, -0.3794004023075104, -0.5793136954307556, 0.346140056848526, 0.1931675523519516, 0.00459981057792902, -0.13504888117313385, -0.12284071743488312, 0.011020345613360405, 0.09000343084335327, 0.17826297879219055, -0.2524387538433075, 0.23561133444309235, -0.16939547657966614, 0.6096345782279968, 0.22806555032730103, -0.6238532662391663, -0.5921581387519836, 0.5279946327209473, 0.23414088785648346, -0.15152311325073242, 0.45552417635917664, -0.33501869440078735, -0.8742743730545044, 0.5434688329696655, 0.5686440467834473, 0.536034882068634, -0.3956594169139862, 0.2261047512292862, 0.19121000170707703, 0.4660060405731201, -0.03497401997447014, 0.3336542248725891, -0.12343020737171173, -1.0129927396774292, -0.45168066024780273, -0.5443788170814514, -0.4997899830341339, 0.006706458982080221, -0.7582594156265259, 0.17478682100772858, -0.6741663217544556, -0.48348215222358704, -0.07212905585765839, -0.08581078052520752, -0.6920798420906067, 0.5146702527999878, 0.6447267532348633, 0.9909119606018066, -0.9502227902412415, 0.8643766641616821, 1.0650184154510498, -0.09869907796382904, -0.692741870880127, 0.08678139001131058, -0.2539812922477722, -0.6623445153236389, 0.5821691751480103, 0.44635578989982605, -0.11511427164077759, 0.05341864004731178, -0.2629965543746948, -0.4162006378173828, 0.6419084072113037, 0.26618441939353943, -0.36712056398391724, 0.22975432872772217, 0.3312504291534424, 0.5952246785163879, -0.05993286147713661, 0.19111524522304535, 0.5938798785209656, 0.5640736222267151, -0.11452704668045044, -1.0020549297332764, 0.005038106814026833, -0.2815990149974823, 0.11106187850236893, 0.3470318019390106, -0.9292957782745361, 0.6232208609580994, -0.36063066124916077, -0.6153388619422913, -0.1557159423828125, 1.1892716884613037, -0.007407716941088438, 0.3973448574542999, 0.5799385905265808, 0.3661479651927948, 1.00089693069458, -0.45254725217819214, 0.6014135479927063, -0.26688656210899353, 0.1957935243844986, 1.096578598022461, -0.3565831184387207, 0.721502959728241, 0.1744404286146164, -0.19329680502414703, 0.38052380084991455, 1.131464958190918, -0.003196439705789089, 0.5452956557273865, 0.5037053227424622, -0.000123864650959149, -0.41460782289505005, -0.5798574090003967, -0.34497320652008057, 0.3955431580543518, 0.33652713894844055, 0.01572851836681366, -0.07508339732885361, -0.027213403955101967, -0.023585323244333267, 0.15531490743160248, -0.23466888070106506, 0.8012683987617493, 0.2436496615409851, -0.3824825584888458, 0.4957384765148163, 0.07767349481582642, 0.7916943430900574, -0.5333841443061829, 0.14168670773506165, -0.34969714283943176, 0.040357910096645355, -0.32877087593078613, -1.1708592176437378, -0.00920065212994814, 0.18343518674373627, 0.17984971404075623, -0.10733640938997269, 0.6260542273521423, -0.795447587966919, -0.22898413240909576, 0.3344312310218811, 0.687248945236206, 0.4586116671562195, 0.08823518455028534, -0.5406544208526611, -0.1849888265132904, -0.05411284789443016, -0.17623218894004822, 0.04661984369158745, 0.6922507882118225, -0.25495705008506775, 0.47400879859924316, 0.3937683701515198, 0.3672046959400177, 0.17117583751678467, 0.17811110615730286, 0.546757698059082, -0.8600592017173767, -0.785431444644928, -1.0315877199172974, 0.6937229037284851, -0.17604714632034302, -0.26098722219467163, 0.738802433013916, 0.6800728440284729, 1.2501530647277832, 0.10036356002092361, 1.0248773097991943, 0.18816323578357697, 0.1327666938304901, -0.5745843648910522, 0.6261733174324036, -0.5109213590621948, 0.10892565548419952, -0.16148951649665833, -0.9818779826164246, -0.5133335590362549, 0.5402312874794006, -0.4092978537082672, 0.03848922252655029, 0.5233880281448364, 0.6313956379890442, 0.08020255714654922, -0.0008467657607980072, 0.4283231496810913, 0.11834161728620529, 0.09184101969003677, 0.8440409302711487, 1.120116114616394, -0.09255906939506531, 0.11467313021421432, -0.4223957657814026, -0.425932377576828, 0.15807393193244934, -0.8230366110801697, -1.091050624847412, -0.7175723910331726, -0.35271161794662476, -0.10888918489217758, 0.17391453683376312, 0.7987157106399536, 0.7205304503440857, -0.7344701886177063, -0.2953174114227295, 0.6048843860626221, 0.01875428482890129, -0.26316332817077637, -0.15335588157176971, 0.6502150297164917, -0.24752119183540344, -0.7578939199447632, -0.0036699525080621243, 0.36315226554870605, 0.3397332727909088, -0.048893313854932785, -0.26414141058921814, -0.08433865755796432, -0.08981551229953766, 0.343701034784317, 0.358574777841568, -0.5947446227073669, -0.2729139029979706, 0.019049903377890587, -0.24149926006793976, 0.22921429574489594, 0.48317620158195496, -0.3913842439651489, 0.6101040244102478, 0.45355913043022156, 1.0190144777297974, 0.19074702262878418, 0.182309091091156, 0.6311247944831848, -0.9677419662475586, 0.06090028956532478, 0.018156027421355247, 0.3932226002216339, 0.6410762667655945, -0.41839703917503357, 0.3997473120689392, 0.17635075747966766, -0.1865687221288681, -0.7940431833267212, 0.1267956793308258, -0.8687111139297485, -0.10421045869588852, 1.0705231428146362, -0.4532894790172577, -0.32240593433380127, 0.13290870189666748, -0.15773551166057587, 0.6881874203681946, -0.20967592298984528, 0.3107151985168457, 0.748528003692627, -0.036255717277526855, -0.0780058279633522, -0.3660021722316742, 0.41603145003318787, 0.6049609780311584, -0.7388615608215332, 0.21872715651988983, 0.1451297402381897, -0.10495088994503021, 0.12366912513971329, 0.5969612002372742, -0.05736738443374634, 0.2840721607208252, -0.3084705173969269, 0.4333975315093994, 0.07230255752801895, -0.47066622972488403, -0.026937335729599, -0.29577094316482544, 0.2522256076335907, -0.30723509192466736 ]
http://arxiv.org/abs/2404.05545v1
http://arxiv.org/pdf/2404.05545v1
Evaluating Interventional Reasoning Capabilities of Large Language Models
2024-04-08T14:15:56
2024-04-08T14:15:56
Tejas Kasetty, Divyat Mahajan, Gintare Karolina Dziugaite, Alexandre Drouin, Dhanya Sridhar
cs.LG
cs.LG, cs.AI, cs.CL, stat.ME
Numerous decision-making tasks require estimating causal effects under interventions on different parts of a system. As practitioners consider using large language models (LLMs) to automate decisions, studying their causal reasoning capabilities becomes crucial. A recent line of work evaluates LLMs ability to retrieve commonsense causal facts, but these evaluations do not sufficiently assess how LLMs reason about interventions. Motivated by the role that interventions play in causal inference, in this paper, we conduct empirical analyses to evaluate whether LLMs can accurately update their knowledge of a data-generating process in response to an intervention. We create benchmarks that span diverse causal graphs (e.g., confounding, mediation) and variable types, and enable a study of intervention-based reasoning. These benchmarks allow us to isolate the ability of LLMs to accurately predict changes resulting from their ability to memorize facts or find other shortcuts. Our analysis on four LLMs highlights that while GPT- 4 models show promising accuracy at predicting the intervention effects, they remain sensitive to distracting factors in the prompts.
[ -0.11624857038259506, -1.096838116645813, 1.1336637735366821, 0.29508769512176514, 0.08262480795383453, -0.28657978773117065, -0.4097335934638977, -0.21077978610992432, -0.36377066373825073, 0.3941718637943268, -0.24617619812488556, -0.37470537424087524, -0.8049412965774536, 0.33979737758636475, -0.22326457500457764, 0.5917249321937561, -0.18668530881404877, 0.23846164345741272, -0.12426114082336426, 0.03429688513278961, -0.8768360018730164, -0.27429407835006714, -0.6913508176803589, -0.3225141763687134, 0.8733808994293213, 0.3910607695579529, 0.49418747425079346, 0.5031284689903259, 0.5739386677742004, 0.4224684238433838, -0.030330227687954903, 0.15308591723442078, -0.4701947569847107, -0.05460447445511818, -0.47837936878204346, -0.44177743792533875, -0.08443755656480789, -0.07051936537027359, 0.7630300521850586, 0.6983256936073303, 0.10530918091535568, -0.004845816176384687, 0.17321515083312988, 0.37464168667793274, -0.6318671107292175, 0.4147367775440216, -0.6850943565368652, -0.38930729031562805, 0.052086472511291504, -0.18897171318531036, -0.4423271417617798, -0.5066336989402771, 0.19303596019744873, -0.39449912309646606, 0.06179337576031685, -0.09196043759584427, 0.3839336633682251, 0.544411301612854, -0.5258549451828003, -0.48395034670829773, -0.7772127389907837, 0.794170081615448, -0.8806096315383911, 0.20826831459999084, 0.5929944515228271, 0.2593661844730377, -0.4912409782409668, -0.7233054041862488, -0.3389514684677124, -0.5193443298339844, -0.16323041915893555, -0.1435445249080658, -0.2839933931827545, 0.015245171263813972, 0.7755224108695984, -0.02974845841526985, -0.23521734774112701, 0.3473106026649475, -0.264576256275177, -0.20466746389865875, 0.688080906867981, 0.22807841002941132, 0.14070838689804077, -0.1400163471698761, -0.22299620509147644, 0.17382708191871643, -0.7594210505485535, -0.029107622802257538, 0.24212239682674408, 0.13288025557994843, -0.07787153869867325, 0.6213822960853577, -0.05085273087024689, 0.7165074348449707, -0.026245644316077232, -0.21853497624397278, -0.050875283777713776, -0.38002800941467285, -0.43254759907722473, -0.164958193898201, 0.7760800719261169, 0.2317977398633957, 0.1081310287117958, -0.15080533921718597, -0.08350370824337006, -0.1448454111814499, 0.08989832550287247, -0.6613920331001282, 0.0011252101976424456, 0.1078881174325943, -0.1623842865228653, 0.07059024274349213, -0.33168232440948486, -0.30363351106643677, -0.5114629864692688, -0.45314377546310425, 0.5531938076019287, -0.3908799886703491, -0.07076093554496765, 0.33242034912109375, -0.21628130972385406, 0.06856248527765274, 0.4824450612068176, -0.6793860793113708, 0.012287716381251812, 0.6872984766960144, 0.6509979367256165, -0.011839128099381924, -0.303032249212265, -0.49111422896385193, 0.1934308558702469, -0.4160903990268707, 0.934088945388794, -0.62211674451828, -0.48022642731666565, 0.09989778697490692, 0.19654366374015808, -0.4750744700431824, -0.4299223721027374, 0.6239129900932312, -0.448294460773468, -0.0720929279923439, -0.8440448045730591, -0.7746944427490234, -0.08670349419116974, 0.17682892084121704, -0.6571520566940308, 0.48690706491470337, -0.1284051537513733, -0.7375606298446655, 0.5732964277267456, -0.5757905840873718, -0.39630115032196045, -0.1902104616165161, -0.1722903698682785, -0.4123786687850952, 0.07091682404279709, 0.2768672704696655, 0.44565272331237793, -0.5617231130599976, 0.768710196018219, -0.6018423438072205, -0.2318800538778305, 0.6636847853660583, -0.7851938009262085, 0.5323066115379333, 0.016845183447003365, -0.3811360001564026, 0.26058897376060486, -0.4953882694244385, -0.4451533555984497, -0.08207879960536957, -0.23564982414245605, -0.3924718201160431, 0.12848582863807678, -0.5037701725959778, 0.10121627897024155, 0.18781524896621704, -0.46598193049430847, 0.16574808955192566, -0.06949847936630249, 0.24868649244308472, 0.8053321838378906, 0.4634488821029663, 0.04545574635267258, -0.2776488959789276, 0.3600645959377289, -0.31984227895736694, 0.2540436089038849, -0.040385037660598755, -0.49479812383651733, -0.3940138816833496, -0.514991819858551, 0.0570683516561985, 0.17508240044116974, -0.8539762496948242, 0.138086199760437, -0.11384348571300507, -0.37691953778266907, 0.1026008278131485, 0.06828239560127258, 0.45012497901916504, 0.705003559589386, 0.3582497239112854, 0.1060565859079361, -0.24913489818572998, -0.9115937948226929, -0.5581304430961609, -0.22093887627124786, -0.0891536995768547, 0.49275457859039307, 0.7560836672782898, -0.11824400722980499, 0.7760172486305237, -0.35012635588645935, 0.13587918877601624, -0.13370518386363983, 0.5652769804000854, 0.1655898541212082, 0.32193130254745483, 0.3551054894924164, -0.3667503595352173, -0.2534749507904053, -0.18474045395851135, -0.9127559065818787, -0.5160195827484131, -0.3910786509513855, 0.10963066667318344, -0.053974658250808716, 0.7130155563354492, -0.6429905891418457, 0.3720308542251587, 0.20801685750484467, -0.24407535791397095, 0.7475591897964478, -0.45700618624687195, 0.2838553786277771, -0.35272958874702454, 0.3260567784309387, 0.022873124107718468, 0.187954381108284, -0.5671145915985107, -0.3931823670864105, 0.04022404924035072, 0.19681155681610107, -0.28056657314300537, 0.6964787840843201, -0.47976985573768616, -0.1973682940006256, -0.20118938386440277, 0.015763767063617706, -0.1985694319009781, 0.35805830359458923, 0.08649327605962753, 0.811569333076477, 0.2671993672847748, -0.5822257399559021, -0.018802909180521965, 0.07780672609806061, -0.5250268578529358, 0.4410494267940521, -0.7357008457183838, -0.09167765825986862, -0.028829889371991158, 0.1302279382944107, -0.9050254821777344, -0.4084838330745697, 0.020570896565914154, -0.034211449325084686, 0.09376242011785507, -0.09734120219945908, -0.5582055449485779, -0.4509167969226837, -0.14096638560295105, 0.17030549049377441, 0.028407393023371696, -0.3395572900772095, 0.4811873137950897, 0.26966312527656555, -0.19170819222927094, -0.42251020669937134, -0.33144140243530273, 0.13615182042121887, -0.45117804408073425, -0.3900015652179718, -0.1889750361442566, -0.10757122933864594, -0.3524472713470459, -0.06541655212640762, 0.012076228857040405, 0.12051019817590714, 0.2674139440059662, 0.15844233334064484, 0.1134629026055336, 0.054783888161182404, 0.46457964181900024, 0.13428768515586853, -0.11288616806268692, 0.4318336248397827, 0.19158366322517395, 0.22345919907093048, -0.0006919823354110122, -0.8494987487792969, -0.1506791114807129, 0.034756701439619064, 0.679389238357544, -0.24370037019252777, 0.6367756128311157, 0.37674733996391296, -0.21775181591510773, 0.08135784417390823, -0.8093318939208984, -0.19990865886211395, -0.40771472454071045, 0.40438637137413025, -0.2600748836994171, -0.8789137601852417, 0.49629074335098267, -0.311818927526474, 0.028032056987285614, 0.3033396899700165, 0.7773703336715698, 0.3113239109516144, 1.1274112462997437, 0.058688610792160034, 0.059861183166503906, 0.35738447308540344, -0.11380776017904282, 0.21615386009216309, -0.9694355726242065, -0.2672274708747864, -0.4970701336860657, -0.0018225967651233077, -0.3919220268726349, -0.6525824069976807, 0.6353265643119812, 0.13660506904125214, -0.5196995139122009, 0.08937063813209534, -0.07048342376947403, 0.23120325803756714, 0.3696301579475403, 0.0630931556224823, 0.3194758892059326, -0.3614906072616577, 0.06979163736104965, 0.23756973445415497, -0.6876375675201416, -0.5683793425559998, 1.1617292165756226, 0.4532473683357239, 0.8454515933990479, 0.1329270452260971, 0.3073750138282776, 0.22525998950004578, 0.8301892876625061, -0.6622282266616821, 0.5322904586791992, 0.39787524938583374, -0.47267043590545654, -0.4762443006038666, -0.42453643679618835, -1.0804283618927002, 0.12173416465520859, -0.17869411408901215, -0.719505786895752, 0.3719967305660248, 0.2223493903875351, -0.3299080431461334, 0.123050756752491, -0.8056221604347229, 0.8352874517440796, -0.37846481800079346, -0.6517120599746704, -0.481094092130661, -0.24140845239162445, 0.4656951129436493, -0.2949930429458618, 0.2274540513753891, -0.13010273873806, -0.01850009523332119, 0.49879127740859985, -0.31549501419067383, 1.0077605247497559, -0.28974947333335876, -0.2909148633480072, 0.21278175711631775, -0.1168847382068634, 0.5474972724914551, 0.05861112102866173, -0.1503334492444992, 0.1955019235610962, -0.21071909368038177, -0.2290123850107193, -0.7993356585502625, 0.6923044323921204, -0.4653986692428589, -1.074643611907959, -0.2077965885400772, -0.7414450645446777, -0.5158585906028748, 0.09647541493177414, -0.11945492774248123, 0.5005428791046143, -0.35601332783699036, 0.14925110340118408, 0.48528701066970825, -0.38520175218582153, 0.40910786390304565, 0.8827790021896362, -0.03951598331332207, -0.26300370693206787, 0.523570716381073, 0.28495731949806213, 0.3451261520385742, 0.08198878169059753, 0.48551416397094727, -0.4543156325817108, -0.741741955280304, -0.35383808612823486, 0.5633032321929932, -0.6471251249313354, -0.029092587530612946, -0.4895778000354767, 0.2928895354270935, -0.18243099749088287, -0.0058682928793132305, -0.04498337209224701, 0.008462531492114067, -0.11213859915733337, -0.042123910039663315, 0.294132262468338, 0.8787151575088501, -0.3559429347515106, 0.04510566592216492, -0.6578696966171265, 0.047340814024209976, 0.6026440262794495, 0.2812381684780121, 0.24197494983673096, -0.41297659277915955, -0.4195968508720398, -0.06347736716270447, -0.12112278491258621, -1.0081244707107544, 0.11118333041667938, -0.23986275494098663, 0.6981512308120728, 0.4565248489379883, -0.10463307797908783, 0.6314493417739868, -0.6604644656181335, 0.6098277568817139, 0.06810522079467773, -0.7401130199432373, 0.40985023975372314, -0.5667915940284729, 0.3942398726940155, 0.13098226487636566, 0.5289345383644104, -0.2870177924633026, -0.4499344825744629, -0.4488097131252289, -0.49275606870651245, 0.43959811329841614, 0.09645173698663712, -0.26477697491645813, -0.41473591327667236, 0.2556682527065277, -0.12609124183654785, 0.22329632937908173, -0.3148411512374878, 0.19879555702209473, 0.10264231264591217, 0.013474718667566776, -0.048786014318466187, -0.3699781596660614, -0.2893761098384857, -0.2144090086221695, 0.5918886661529541, -0.142765074968338, 0.09192600846290588, 0.29649078845977783, -0.029845720157027245, -0.0899900272488594, 0.36444664001464844, 0.783296525478363, 0.7874601483345032, -0.013117613270878792, -0.01867625303566456, 0.37649446725845337, -0.12471666932106018, 0.01866999641060829, 0.25070860981941223, -0.018141964450478554, -0.30672499537467957, 0.8939305543899536, 0.9351569414138794, 0.48619821667671204, -0.7886515855789185, 0.44818612933158875, -0.04228973016142845, -0.06385724991559982, -0.15458816289901733, 0.1018325462937355, 0.1199776902794838, 0.47938093543052673, 0.07253644615411758, -0.0708465725183487, 0.2095845490694046, -0.4529748558998108, 0.06779909133911133, 0.6228420734405518, -0.12517163157463074, -0.3448401987552643, 0.4656508266925812, 0.05445033311843872, -0.10119020938873291, 0.22941671311855316, 0.0025153730530291796, -0.39169952273368835, 0.719612181186676, 0.5361570715904236, 0.7614427208900452, -0.4104198217391968, 0.055637117475271225, 0.5488007664680481, 0.3961929380893707, -0.11567312479019165, 0.032637063413858414, 0.12575773894786835, -0.6703351140022278, -0.8800613284111023, -0.215973362326622, -0.3982972204685211, 0.43840494751930237, -0.4270726442337036, 0.04447692632675171, -0.306865394115448, -0.314012348651886, 0.1442173272371292, -0.24809753894805908, -0.7263464331626892, -0.007482020650058985, -0.08887182176113129, 0.7698438167572021, -1.1054836511611938, 0.5971040725708008, 0.30133524537086487, -0.503219723701477, -0.9503025412559509, -0.016182050108909607, 0.0032995527144521475, -0.7398930191993713, 0.7844082117080688, -0.05533473938703537, -0.07760797441005707, -0.30578848719596863, -0.5687740445137024, -0.9594438076019287, 0.8877514600753784, 0.433276891708374, -0.5509121417999268, 0.17154240608215332, 0.2392546534538269, 0.5909416675567627, -0.18238934874534607, 0.465891033411026, 0.8499352931976318, 0.8978049159049988, -0.0803379938006401, -0.9880580306053162, 0.170091450214386, 0.05856248363852501, -0.007641928270459175, 0.018510136753320694, -0.3034053146839142, 0.7718259692192078, -0.30468183755874634, -0.1253879964351654, -0.042840663343667984, 0.3453506529331207, 0.27510401606559753, 0.247964546084404, 0.4761062562465668, 0.3874783515930176, 0.7945452928543091, 0.031911544501781464, 1.296852707862854, -0.2643587589263916, 0.19631630182266235, 1.0936357975006104, -0.41048866510391235, 0.52847820520401, 0.4299681484699249, -0.027048442512750626, 0.5147179365158081, 0.3125336766242981, 0.09134514629840851, 0.37161514163017273, 0.16352491080760956, -0.3500863015651703, -0.33208778500556946, -0.24333886802196503, -0.06616649776697159, 0.23821686208248138, 0.5262354612350464, -0.38153499364852905, -0.20582979917526245, 0.05140938237309456, 0.3418544828891754, 0.013770490884780884, -0.30393868684768677, 0.6966972947120667, 0.029072638601064682, -1.0283735990524292, 0.5456258058547974, -0.07011691480875015, -0.07745787501335144, -0.6804614067077637, -0.33512404561042786, -0.008664717897772789, 0.1676294207572937, 0.02409791573882103, -0.8368643522262573, 0.2261989414691925, 0.09051638096570969, -0.001560745295137167, 0.051430583000183105, 0.7551635503768921, -0.34374096989631653, -0.32554617524147034, 0.24871689081192017, 0.5547590255737305, -0.015624450519680977, 0.14938759803771973, -0.6144682765007019, 0.1640833020210266, -0.07441017031669617, -0.34717971086502075, 0.16210021078586578, 0.5101916790008545, -0.4191029667854309, 0.6589329242706299, 0.8138307929039001, 0.2359243780374527, -0.2062506526708603, 0.3299146890640259, 0.7656175494194031, -0.4776831865310669, -0.0929650291800499, -0.9326772689819336, 0.27957919239997864, -0.21132686734199524, -0.1773892492055893, 0.9676833748817444, 0.31617259979248047, 0.3562277853488922, -0.08288341760635376, 0.8009459376335144, 0.23683622479438782, 0.4555627107620239, -0.6777331829071045, 0.22495292127132416, -0.2465682029724121, 0.5153976678848267, -0.27115586400032043, -0.4297720193862915, -0.2119249552488327, 0.4075653553009033, -1.2211369276046753, 0.061727482825517654, 0.7275568246841431, 0.8926429152488708, 0.09239719063043594, 0.10459832102060318, 0.3261411488056183, 0.5556719303131104, 0.5513496994972229, 0.4046609103679657, 0.9433386921882629, 0.14110806584358215, 0.04284822195768356, 0.19225583970546722, -0.46434223651885986, -0.14150922000408173, -1.1423046588897705, -1.0109739303588867, -0.3063647449016571, -0.08516330271959305, 0.025191454216837883, 0.09072034806013107, 0.6811084151268005, 0.1327032744884491, -0.4972396492958069, -0.11979612708091736, -0.13806995749473572, 0.38237836956977844, -0.2615891993045807, -0.16432885825634003, 0.7709026336669922, -0.476453959941864, -0.5870738625526428, 0.5095160007476807, 0.365518182516098, -0.4018995463848114, -0.32524529099464417, -0.01672598160803318, -0.30194419622421265, 0.45530906319618225, 0.6604949235916138, 0.33404284715652466, -0.7088844180107117, -0.620922863483429, -0.20097516477108002, 0.05064307525753975, -0.32937708497047424, 1.067918300628662, -0.6257835030555725, 0.42919421195983887, 0.48323288559913635, 0.6307803392410278, 0.3069438636302948, -0.17908772826194763, 0.6655293703079224, -0.3006300926208496, -0.08506736904382706, 0.026417521759867668, 0.7358611822128296, 0.40734726190567017, -0.17134004831314087, 0.4972798824310303, 0.19212156534194946, -0.876205563545227, -0.6772489547729492, 0.24159465730190277, -0.33261838555336, -0.3354153335094452, 1.3641504049301147, -0.38232049345970154, -0.04646024480462074, -0.40459394454956055, -0.27919477224349976, 0.23323774337768555, -0.13817380368709564, 0.8118119835853577, 0.6331400871276855, -0.25312191247940063, 0.004135302733629942, -0.6000067591667175, 0.6036587953567505, 0.3374093770980835, -0.8716752529144287, 0.28827744722366333, 0.8227518796920776, 0.2990722954273224, 0.02542865090072155, 0.7590984106063843, -0.08313024789094925, 0.33746030926704407, -0.19738741219043732, -0.20620732009410858, -0.11821102350950241, -0.2151229828596115, -0.32024431228637695, -0.14842264354228973, 0.17794036865234375, 0.32034045457839966 ]
http://arxiv.org/abs/2404.05540v1
http://arxiv.org/pdf/2404.05540v1
OPSD: an Offensive Persian Social media Dataset and its baseline evaluations
2024-04-08T14:08:56
2024-04-08T14:08:56
Mehran Safayani, Amir Sartipi, Amir Hossein Ahmadi, Parniyan Jalali, Amir Hossein Mansouri, Mohammad Bisheh-Niasar, Zahra Pourbahman
cs.CL
cs.CL, cs.AI, cs.LG
The proliferation of hate speech and offensive comments on social media has become increasingly prevalent due to user activities. Such comments can have detrimental effects on individuals' psychological well-being and social behavior. While numerous datasets in the English language exist in this domain, few equivalent resources are available for Persian language. To address this gap, this paper introduces two offensive datasets. The first dataset comprises annotations provided by domain experts, while the second consists of a large collection of unlabeled data obtained through web crawling for unsupervised learning purposes. To ensure the quality of the former dataset, a meticulous three-stage labeling process was conducted, and kappa measures were computed to assess inter-annotator agreement. Furthermore, experiments were performed on the dataset using state-of-the-art language models, both with and without employing masked language modeling techniques, as well as machine learning algorithms, in order to establish the baselines for the dataset using contemporary cutting-edge approaches. The obtained F1-scores for the three-class and two-class versions of the dataset were 76.9% and 89.9% for XLM-RoBERTa, respectively.
[ -0.5307280421257019, -0.9887388944625854, 0.0534079484641552, 0.07432842999696732, -0.4020352065563202, 0.4329252243041992, -0.5532357692718506, -0.3460485339164734, -0.015531320124864578, 0.37004533410072327, -0.3179761469364166, -0.5858525633811951, -0.8226589560508728, 0.09654715657234192, -0.6756918430328369, 1.2001519203186035, 0.2567601501941681, -0.06872529536485672, 0.3154144883155823, -0.3265540897846222, -0.20377971231937408, -0.41403231024742126, -0.4959023594856262, 0.24611182510852814, 0.3615124523639679, 0.5646048188209534, 0.9167025685310364, 0.2634827494621277, 0.42670950293540955, 0.28508061170578003, -0.00988942850381136, 0.12293073534965515, -0.8079808950424194, 0.14306555688381195, -0.4358833134174347, 0.27191245555877686, -0.4463634490966797, -0.04669710248708725, 0.439818799495697, 0.39827147126197815, 0.0007056325557641685, 0.5143263339996338, 0.2195287048816681, 0.6990867257118225, -0.8574063181877136, -0.30930694937705994, -0.6112006902694702, -0.04245694726705551, -0.5942307710647583, 0.19460903108119965, -0.4085981845855713, -0.46385011076927185, -0.2397383153438568, -0.6179978251457214, -0.21996736526489258, -0.3339168429374695, 0.5993402004241943, 0.025721143931150436, -0.4064047932624817, -0.18702393770217896, -0.723350465297699, 0.8692247867584229, -0.6646024584770203, 0.2185041457414627, 0.35499709844589233, 0.22538024187088013, 0.042266152799129486, -0.21798957884311676, -0.6467412114143372, 0.10772750526666641, 0.02209407649934292, 0.215257927775383, -0.6675692200660706, -0.3938972055912018, 0.11745425313711166, 0.3714306950569153, -0.580790102481842, 0.20881801843643188, -0.47065502405166626, 0.3580540716648102, 0.8425174951553345, 0.07046042382717133, 0.46877455711364746, -0.10277220606803894, -0.3945936858654022, -0.01863727904856205, -0.5057346224784851, -0.31179094314575195, 0.6285103559494019, 0.5752503275871277, -0.2021336406469345, 0.6633815169334412, -0.635395884513855, 0.5013370513916016, 0.22904150187969208, 0.12161003053188324, 0.46131572127342224, 0.02349206805229187, -0.051335111260414124, -0.15481041371822357, 1.0405009984970093, 0.7266517877578735, 0.607141375541687, -0.01993734762072563, -0.08723554760217667, 0.3213488459587097, 0.5378199219703674, -0.4488936960697174, -0.1352733075618744, 0.28291431069374084, -0.3099520802497864, -0.4846044182777405, -0.08581358939409256, -0.9297548532485962, -0.866362452507019, -0.07083640992641449, 0.24191197752952576, -0.6232545971870422, -0.307351678609848, -0.3378000259399414, -0.03200763836503029, 0.06361427903175354, 0.19819922745227814, -0.41739511489868164, 0.6304627060890198, 0.5212299227714539, 0.6130291223526001, -0.28480833768844604, 0.1332661211490631, -0.19040881097316742, -0.18941938877105713, -0.5146839022636414, 0.6746709942817688, -0.6514474749565125, -0.285343736410141, 0.1341249644756317, -0.2877427637577057, 0.24402914941310883, -0.4138469398021698, 1.0601160526275635, -0.7173156142234802, 0.1490510106086731, 0.004219050984829664, -0.34114396572113037, -0.3097458481788635, -0.030150840058922768, -0.35854995250701904, 1.3606160879135132, 0.1944091022014618, -1.020566701889038, 0.08223062753677368, -0.5598897337913513, -0.5147474408149719, 0.35368674993515015, 0.11295104026794434, -0.3819287419319153, 0.05730399489402771, 0.27467963099479675, 0.41423559188842773, -0.21724283695220947, 0.03244036063551903, -0.37823179364204407, -0.19964823126792908, 0.3341030776500702, -0.07579275220632553, 0.94911789894104, 0.6531533598899841, -0.4685157835483551, -0.1119474247097969, -0.8584963083267212, 0.03780603036284447, 0.3638518154621124, -0.03361174091696739, -0.7423917651176453, 0.39270177483558655, 0.2738857865333557, 0.31418418884277344, -0.029797768220305443, -0.8417742252349854, -0.38232627511024475, -0.1635865569114685, 0.03629005700349808, 0.959301769733429, 0.10922842472791672, 0.090888112783432, -0.23932352662086487, 0.4772022068500519, -0.07427384704351425, 0.24131883680820465, 0.3474416434764862, -0.3182930648326874, -0.41107386350631714, -0.019141945987939835, -0.11541789770126343, 0.5357409119606018, -0.6890949010848999, 0.3675248324871063, -0.31741082668304443, -0.8549891710281372, -0.08098115026950836, 0.06475742161273956, 0.7652013301849365, 0.3428557217121124, 0.41797885298728943, -0.15789450705051422, -0.6631187200546265, -0.9291292428970337, -0.5818531513214111, -0.10930393636226654, 0.1991608440876007, 0.31691423058509827, 0.2760084569454193, 0.1079615131020546, 0.6309185028076172, -0.2925735414028168, -0.3611917495727539, -0.1458008885383606, 0.11741114407777786, 0.13341070711612701, 0.4527851343154907, 0.48793327808380127, -0.6791665554046631, -1.0825692415237427, 0.03408835455775261, -0.614529550075531, -0.30059191584587097, 0.3122422695159912, -0.24202868342399597, 0.16416622698307037, 0.262131929397583, 0.06783508509397507, 0.41459909081459045, 0.6925921440124512, -0.29901090264320374, 0.3293575048446655, 0.5719427466392517, 0.5449223518371582, -1.0407296419143677, -0.1252397894859314, 0.34015947580337524, -0.20974403619766235, -0.8283385038375854, 0.21301360428333282, -0.08436183631420135, -0.10164298862218857, -0.6029165387153625, 0.4277254343032837, -0.28314459323883057, 0.2720288634300232, -0.01350140105932951, 0.18914064764976501, -0.46716248989105225, 0.28566280007362366, -0.08381611853837967, 0.8113420605659485, 0.3922002613544464, -0.21168871223926544, 0.3372024595737457, 0.29950016736984253, -0.3922577202320099, 0.7395458221435547, -0.36592531204223633, 0.3104897737503052, 0.07228747010231018, -0.23531371355056763, -0.9832456111907959, -0.23491911590099335, 0.5816441774368286, -0.7526369690895081, -0.13123410940170288, -0.0366847887635231, -0.5363948941230774, -0.29415106773376465, -0.44547736644744873, 0.4184200167655945, 0.6134225726127625, -0.3600298762321472, 0.3772646486759186, 0.9137575030326843, -0.3867645263671875, -0.621224045753479, -0.23929640650749207, 0.13689126074314117, -0.4728764593601227, -0.30624762177467346, -0.01361439935863018, 0.18620790541172028, -0.6393175721168518, 0.028121262788772583, 0.1848069131374359, -0.17415976524353027, 0.051059942692518234, 0.5089851021766663, -0.05769956484436989, -0.2204909771680832, -0.07902824133634567, -0.15098059177398682, 0.3588132858276367, 0.13203607499599457, 0.17099955677986145, 0.4139018654823303, 0.011567597277462482, -0.059112630784511566, -0.2541472911834717, 0.311030775308609, 0.16667822003364563, -0.06576407700777054, 0.6818222999572754, 0.40544581413269043, -0.4795351028442383, -0.2077769637107849, -0.412647545337677, 0.27307045459747314, -0.40309348702430725, 0.5226272344589233, -0.05945361778140068, -0.43570569157600403, 0.37760770320892334, 0.1716613471508026, 0.1195526123046875, 0.4944460391998291, 0.6274242997169495, -0.13815751671791077, 1.0368003845214844, 0.2639891505241394, -0.22875994443893433, 0.47633039951324463, 0.08125746995210648, 0.09943851083517075, -0.6591082811355591, 0.19899079203605652, -0.6045026183128357, -0.054277170449495316, -0.500715434551239, -0.345691442489624, 0.21479974687099457, -0.11307723075151443, -0.3824518918991089, 0.3585602641105652, -0.17643719911575317, 0.5824145078659058, 0.07512668520212173, 0.2645411491394043, 0.05079667642712593, 0.3549061119556427, 0.10280942171812057, -0.16684465110301971, -0.28249305486679077, -0.597966730594635, 1.307650089263916, 0.15995919704437256, 0.5816791653633118, 0.5589107871055603, 0.3175177276134491, 1.058377981185913, 0.4290049970149994, -0.4120095670223236, 0.40375304222106934, -0.6163058280944824, -0.6833874583244324, -0.3150401711463928, -0.20916150510311127, -0.5181106328964233, 0.14710065722465515, -0.24185925722122192, -0.9146216511726379, 0.15979322791099548, 0.044622037559747696, -0.28559064865112305, 0.40774208307266235, -0.497314989566803, 0.5778664946556091, -0.20769643783569336, -0.7626333832740784, -0.26446443796157837, -0.5277533531188965, 0.6174567341804504, -0.28772449493408203, 0.8549408912658691, -0.32145488262176514, 0.04323701560497284, 0.9114810228347778, -0.5040022134780884, 0.8641621470451355, -0.16378815472126007, -0.04228516295552254, 0.12344543635845184, 0.03634214401245117, 0.1777815967798233, -0.37043747305870056, -0.2908773124217987, 0.1672907918691635, -0.39439311623573303, -0.5069094896316528, -0.05767576023936272, 0.5268610119819641, -0.8622331023216248, -0.3615996241569519, -0.5204446315765381, -0.22417618334293365, -0.3520233631134033, 0.33945131301879883, 0.10658534616231918, 0.5565406084060669, -0.6535874009132385, 0.12573964893817902, 0.46527913212776184, -0.37388840317726135, 0.08243318647146225, 0.5432491302490234, -0.24509868025779724, -0.4173397719860077, 0.9837055206298828, -0.03247969225049019, 0.41417253017425537, -0.15684783458709717, -0.09479199349880219, -0.07533764839172363, -0.3578057289123535, -0.578980565071106, 0.0005249335081316531, -0.7349635362625122, -0.3590567111968994, -0.6113806366920471, -0.22361670434474945, -0.4417879283428192, -0.14077140390872955, -0.4092090427875519, -0.3782516419887543, 0.03761991858482361, 0.03789385408163071, 0.4206112325191498, 1.1587966680526733, -0.2524835467338562, 0.4650588035583496, -0.40387412905693054, 0.5560502409934998, -0.1810552179813385, 0.3930494487285614, -0.15567995607852936, -0.8812106847763062, -0.4433027505874634, 0.15794852375984192, -0.41295626759529114, -1.1869174242019653, 0.26836591958999634, 0.23480354249477386, 0.26961520314216614, 0.6629011631011963, 0.45423826575279236, 0.607227623462677, -0.47521811723709106, 0.5971792340278625, -0.02962692640721798, -0.7096433043479919, 0.49613964557647705, -0.6066584587097168, -0.0980711355805397, 0.38784873485565186, 0.7127854824066162, -0.6988828182220459, -0.7654759287834167, -0.6343288421630859, -0.8139412999153137, 1.0070106983184814, 0.3497920036315918, 0.2857559621334076, -0.34204795956611633, 0.016987888142466545, -0.007673641201108694, -0.189878448843956, -0.575933039188385, -0.6008524298667908, -0.16834717988967896, 0.0079658729955554, -0.22966866195201874, -0.4504114091396332, -0.10909892618656158, -0.13037630915641785, 0.9910269975662231, 0.2680218517780304, -0.16866914927959442, -0.29228752851486206, -0.4068335294723511, -0.29345789551734924, 0.35788479447364807, 0.353348046541214, 0.8072302341461182, -0.40896743535995483, 0.05925891175866127, 0.17575520277023315, -0.5207180976867676, 0.11817121505737305, 0.02119593508541584, -0.06086833402514458, -0.007665128447115421, -0.00036557362182065845, 0.34789609909057617, 0.07549471408128738, -0.7231218814849854, 0.6639638543128967, 0.00879207905381918, 0.1818091869354248, -0.5632107853889465, -0.15725119411945343, -0.16071900725364685, -0.028241707012057304, 0.37278276681900024, 0.05632556229829788, 0.31780263781547546, -0.5455430746078491, 0.24376799166202545, 0.2241169512271881, -0.6186357140541077, -0.2593437135219574, 0.4368742108345032, 0.1417543888092041, -0.17857418954372406, 0.32349732518196106, -0.23094168305397034, -0.7186650633811951, 0.29586976766586304, 0.3347358703613281, 0.6051533818244934, -0.37750953435897827, 0.5047109127044678, 0.6953670382499695, 0.3948437571525574, 0.48879867792129517, 0.25653076171875, -0.0135252820327878, -0.7749614715576172, -0.020178575068712234, -0.5856723785400391, -0.18819788098335266, 0.16880977153778076, -0.9584197402000427, 0.2415720671415329, -0.6790729761123657, -0.28988322615623474, 0.16857792437076569, -0.07628478109836578, -0.43319565057754517, 0.35357922315597534, 0.4171863794326782, 0.6634995937347412, -1.1836960315704346, 0.5173118114471436, 0.7669582962989807, -0.5252123475074768, -0.320205956697464, -0.12164226919412613, 0.4925565719604492, -0.9048138856887817, 0.648345947265625, -0.2120097428560257, -0.09578031301498413, 0.023622997105121613, -0.4878986179828644, -0.7801294326782227, 0.1429981142282486, -0.1796489804983139, -0.25181177258491516, 0.5208658576011658, 0.2723856568336487, 0.6156657934188843, -0.11150520294904709, 0.30400383472442627, 0.5985249280929565, 0.12261628359556198, -0.34328505396842957, -0.5585879683494568, 0.17152374982833862, -0.6550361514091492, -0.07571666687726974, 0.16470877826213837, -0.5572677850723267, 0.8978692293167114, 0.16960322856903076, -0.6626859307289124, 0.11000267416238785, 0.32129454612731934, -0.015998242422938347, -0.10557730495929718, 0.4587392210960388, 0.7374510765075684, 0.19317498803138733, -0.04971875995397568, 0.9200927019119263, -0.14787966012954712, 0.1841454803943634, 1.2349259853363037, -0.16212119162082672, 1.0639195442199707, -0.009988175705075264, -0.4795985817909241, 0.5546482801437378, 0.5326099395751953, 0.16559694707393646, 0.3844328820705414, 0.2615063488483429, -0.21040938794612885, -0.0036758927162736654, -0.38743969798088074, -0.40231937170028687, 0.4402052164077759, 0.621167004108429, -0.4261392056941986, -0.4516221880912781, -0.02181173861026764, 0.42246708273887634, 0.5885149836540222, -0.3179631531238556, 1.0912578105926514, -0.3219170868396759, -0.1950301080942154, 0.5494205355644226, 0.2876253128051758, 0.5212829113006592, -0.15253013372421265, 0.015827935189008713, -0.36495429277420044, 0.17231601476669312, -0.40702176094055176, -0.8420544266700745, 0.34541571140289307, 0.7618843913078308, -0.07821572571992874, -0.03189535439014435, 0.4447220265865326, -0.06979502737522125, -0.5769904851913452, 0.2335771918296814, 0.3671950101852417, 0.36749202013015747, -0.1251906454563141, -0.7522189021110535, 0.2424219250679016, -0.13835947215557098, -0.05319003388285637, 0.17738482356071472, 0.44009119272232056, -0.35776978731155396, 0.1463405042886734, 0.6436182260513306, 0.2905195951461792, 0.227559432387352, -0.004924684297293425, 1.1342533826828003, -0.48676154017448425, -0.32388246059417725, -0.735713541507721, 0.46885836124420166, -0.40899375081062317, -0.4120447635650635, 1.0070979595184326, 0.7900528311729431, 0.9236359000205994, 0.21541856229305267, 0.8726993203163147, -0.4380267262458801, 1.3395495414733887, -0.29178905487060547, 0.8166357278823853, -0.5214925408363342, 0.15038195252418518, -0.734289824962616, -0.6395057439804077, -0.2057296633720398, 0.5474892258644104, -0.48031386733055115, 0.06974264979362488, 0.3980611562728882, 0.6139752864837646, -0.11387868225574493, 0.08474696427583694, 0.2512708604335785, 0.6111582517623901, -0.03552606329321861, 0.3370542824268341, 1.2031733989715576, -0.5172905921936035, 0.2794472873210907, -0.6607982516288757, -0.3595004677772522, -0.22355788946151733, -0.5912503004074097, -0.9231076240539551, -0.5709413886070251, -0.2832803726196289, -0.4585389196872711, 0.5969361662864685, 0.7192046046257019, 0.326343297958374, -1.066851019859314, -0.45000579953193665, 0.459766685962677, -0.02848142199218273, -0.06736405193805695, -0.2604832053184509, 0.3836420476436615, -0.14629386365413666, -0.6784939169883728, -0.017995992675423622, 0.0917779728770256, -0.4544678032398224, 0.04952457174658775, 0.036069583147764206, -0.5113500952720642, 0.05211995542049408, 0.6636674404144287, 0.4121938645839691, -0.7580687999725342, -0.29315871000289917, -0.16051852703094482, -0.2511955499649048, 0.14712218940258026, 0.24002471566200256, -0.6933408975601196, 0.3917168080806732, 0.14393608272075653, 0.502597451210022, -0.13570620119571686, 0.5593340396881104, 0.2973577678203583, -0.790299117565155, 0.08359142392873764, 0.07020899653434753, 0.17318369448184967, 0.44739991426467896, -0.2557326853275299, 0.5127354860305786, -0.036234401166439056, -0.2671053111553192, -0.8682539463043213, -0.044032275676727295, -0.6181384325027466, -0.27596431970596313, 1.182700276374817, -0.22413581609725952, -0.10997460037469864, -0.32507070899009705, -0.17258501052856445, 0.29984772205352783, -0.719565749168396, 0.8484386801719666, 0.6072049140930176, 0.20635876059532166, -0.028772873803973198, -0.5020343065261841, 0.5912526845932007, 0.347988098859787, -0.7380235195159912, 0.15803313255310059, 0.8543633818626404, 0.21740758419036865, -0.06196439266204834, 0.4862741231918335, -0.24302710592746735, 0.46590808033943176, -0.011986169032752514, 0.1177511140704155, 0.19152596592903137, -0.029073037207126617, -0.2730245590209961, 0.07606208324432373, -0.15146207809448242, -0.10774464160203934 ]
http://arxiv.org/abs/2404.05530v1
http://arxiv.org/pdf/2404.05530v1
Best-of-Venom: Attacking RLHF by Injecting Poisoned Preference Data
2024-04-08T13:59:02
2024-04-08T13:59:02
Tim Baumgärtner, Yang Gao, Dana Alon, Donald Metzler
cs.CL
cs.CL, cs.AI, cs.CR, cs.LG
Reinforcement Learning from Human Feedback (RLHF) is a popular method for aligning Language Models (LM) with human values and preferences. RLHF requires a large number of preference pairs as training data, which are often used in both the Supervised Fine-Tuning and Reward Model training, and therefore publicly available datasets are commonly used. In this work, we study to what extent a malicious actor can manipulate the LMs generations by poisoning the preferences, i.e., injecting poisonous preference pairs into these datasets and the RLHF training process. We propose strategies to build poisonous preference pairs and test their performance by poisoning two widely used preference datasets. Our results show that preference poisoning is highly effective: by injecting a small amount of poisonous data (1-5% of the original dataset), we can effectively manipulate the LM to generate a target entity in a target sentiment (positive or negative). The findings from our experiments also shed light on strategies to defend against the preference poisoning attack.
[ -0.32550862431526184, -0.5543095469474792, 0.1901104599237442, -0.3279092013835907, -0.2762085199356079, 0.045662444084882736, -0.0639716163277626, -0.42237719893455505, 0.29153886437416077, 0.9209437966346741, -0.35220903158187866, -0.2712353765964508, -0.37656542658805847, -0.09160890430212021, -0.22244766354560852, 1.3925573825836182, 0.32232046127319336, 0.0015734307235106826, 0.09892837703227997, -0.2989184558391571, -0.3788038194179535, -0.9708018898963928, -0.6048970818519592, -0.49568602442741394, 1.1879726648330688, 0.5218825936317444, 0.9793092608451843, 0.6367442607879639, 0.2902621626853943, 0.19151988625526428, 0.12740178406238556, 0.07388186454772949, -0.8147426247596741, 0.21644647419452667, -0.5071553587913513, -0.44502606987953186, -0.03389360010623932, 0.15645945072174072, 0.17342208325862885, 0.2015322893857956, -0.291176974773407, -0.3718544542789459, -0.08570922166109085, 0.9111559987068176, -0.8226172924041748, -0.23335792124271393, -0.8048967123031616, 0.267313688993454, -0.299267441034317, -0.4727631211280823, -0.8982529044151306, -0.30229711532592773, 0.17616547644138336, -0.3730420470237732, -0.2408781796693802, 0.18908977508544922, 0.8403657674789429, 0.37252137064933777, -0.42735323309898376, -0.16214780509471893, -0.5785698294639587, 0.8166726231575012, -0.6699346303939819, -0.040216244757175446, 0.268058717250824, 0.33577364683151245, -0.6544210314750671, -0.3416436016559601, -0.3255448341369629, -0.43230703473091125, -0.19656740128993988, 0.09510307759046555, -0.1129453107714653, 0.36335864663124084, 0.20853424072265625, 0.022689249366521835, -0.5881370306015015, 0.147685706615448, -0.14258526265621185, -0.2753245532512665, 0.846339225769043, 0.16577060520648956, 0.4991680681705475, -0.5209948420524597, -0.5540959239006042, -0.4690192639827728, -0.8392844796180725, -0.15958160161972046, 0.9536072015762329, 0.6435546875, 0.25266677141189575, 0.44451338052749634, 0.03787481039762497, 0.7046732902526855, 0.15075726807117462, 0.15827804803848267, -0.051202237606048584, 0.10678169131278992, -0.16853384673595428, 0.6422840356826782, 1.0057313442230225, 0.6245706081390381, 0.4848330020904541, -0.31621065735816956, -0.26229485869407654, 0.19227847456932068, 0.6688212752342224, -0.7258749604225159, -0.48545461893081665, 0.4973192811012268, -0.12266627699136734, -1.024295687675476, -0.2437608689069748, -1.0812739133834839, -1.008814811706543, 0.3908281624317169, 0.5837997794151306, -0.3832785487174988, -0.35117894411087036, -0.0017060793470591307, -0.3257634937763214, 0.18156921863555908, -0.23743054270744324, -1.2286098003387451, 0.1371016651391983, 0.7039532661437988, 0.4138079285621643, -0.3454662263393402, -0.3052998185157776, -0.8805671334266663, 0.074115090072155, -0.3646378517150879, 0.9540777802467346, -0.4801071286201477, -0.5612866282463074, 0.02822796441614628, -0.3012250065803528, 0.4161398410797119, -1.0231900215148926, 0.5659977793693542, -0.8224644660949707, 0.20011723041534424, -0.30285313725471497, -0.4337640702724457, -0.0064755212515592575, 0.28318241238594055, -0.5771401524543762, 0.6286411285400391, 0.024149145931005478, -1.1443374156951904, 0.3911188244819641, -0.4223748445510864, -0.36543169617652893, -0.1643076241016388, 0.004954972770065069, -0.29379916191101074, -0.40916815400123596, 0.0641264021396637, 0.3820332884788513, 0.27484074234962463, 0.13709640502929688, -0.6771257519721985, -0.20925964415073395, 0.3135988414287567, -0.22336068749427795, 0.643172562122345, 0.41176748275756836, -0.13544730842113495, 0.4661962389945984, -0.5067325234413147, -0.19147203862667084, 0.2896813154220581, -0.34335657954216003, -0.6488746404647827, 0.19468797743320465, 0.02703266590833664, 0.09456110745668411, -0.11983964592218399, -0.46451637148857117, 0.2302825003862381, -0.8178953528404236, 0.36255836486816406, 1.0781160593032837, 0.5574772357940674, 0.4709472954273224, -0.6429545283317566, 0.3958682119846344, 0.2009735107421875, 0.3627025783061981, 0.21061009168624878, -0.09260832518339157, -0.5619069337844849, 0.07990561425685883, 0.08516981452703476, 0.34082889556884766, -0.9346275329589844, 0.15436477959156036, 0.0008286729571409523, -0.6637731194496155, -0.2687493562698364, -0.11237145215272903, 0.45751917362213135, 0.9003470540046692, 0.35146501660346985, -0.35945698618888855, -0.398184597492218, -0.8983107805252075, -0.6712204217910767, -0.2812681794166565, 0.31831690669059753, 0.5178637504577637, 0.15790195763111115, -0.11018320173025131, 1.0051321983337402, -0.3853524923324585, -0.11502696573734283, -0.10954701155424118, -0.043608564883470535, 0.127640962600708, 0.45144593715667725, 0.5566939115524292, -0.6550659537315369, -0.41612592339515686, -0.22956494987010956, -0.5417621731758118, 0.10291139036417007, -0.06134951487183571, -0.3979480266571045, 0.2542503774166107, 0.03571010008454323, -0.0392199344933033, 0.08648524433374405, 0.29731273651123047, -0.20549960434436798, 0.6529666185379028, 0.1182752251625061, 0.22130852937698364, -0.8948884606361389, -0.03061102144420147, 0.1639266312122345, -0.27698108553886414, -0.8696469068527222, 0.34212231636047363, 0.015993483364582062, 0.053757574409246445, -1.0936598777770996, 0.5246080756187439, 0.14186732470989227, 0.20272767543792725, -0.11242098361253738, 0.05571625754237175, -0.2841338813304901, 0.5942829251289368, 0.006628657225519419, 0.6968727707862854, 0.35620948672294617, -0.5586293339729309, 0.7317672967910767, -0.07577775418758392, -0.1073828861117363, 0.36831963062286377, -0.40953701734542847, 0.4112822115421295, -0.08124447613954544, 0.09802918881177902, -0.6743329763412476, -0.6156933903694153, 0.6772002577781677, -0.38496333360671997, 0.3142995238304138, -0.37922900915145874, -0.46042704582214355, 0.023472227156162262, -0.5151521563529968, 0.21264417469501495, 0.4414004683494568, -0.8187902569770813, 0.4647403061389923, 0.5502506494522095, 0.22261911630630493, -1.0099420547485352, -0.7178494930267334, 0.15176613628864288, -0.778545618057251, -0.36540746688842773, 0.1583428531885147, 0.07098300755023956, -0.40660130977630615, -0.0038336419966071844, 0.1440153867006302, 0.22788821160793304, 0.10718514770269394, 0.19900386035442352, 0.21459746360778809, 0.33674323558807373, -0.05639153718948364, -0.1291656643152237, -0.28852394223213196, 0.33448994159698486, 0.11077495664358139, 0.6013162136077881, 0.2201278954744339, -0.32112619280815125, -0.32899558544158936, 0.18814587593078613, 0.631868839263916, -0.04174439609050751, 0.4317611753940582, -0.041445568203926086, -0.1246594712138176, -0.37947356700897217, -0.13183464109897614, -0.7053375244140625, -0.5143393874168396, 0.34460628032684326, 0.1600978970527649, -0.3631955087184906, 0.11539037525653839, 0.023973388597369194, 0.15223482251167297, 0.12332046031951904, 0.3217366337776184, -0.07834376394748688, 1.1704260110855103, 0.10505356639623642, -0.857488214969635, 0.5484197735786438, -0.20669780671596527, 0.04440658167004585, -0.5339219570159912, 0.008208192884922028, -0.1356504112482071, -0.38565054535865784, -0.5974185466766357, 0.03330394998192787, 0.594637393951416, -0.2638721466064453, -0.5442556738853455, 0.16715143620967865, -0.580093264579773, 0.696965754032135, 0.48356664180755615, 0.40010881423950195, 0.015821553766727448, 0.073700912296772, -0.31683090329170227, -0.06029035151004791, -0.689399242401123, -0.30068764090538025, 1.1783305406570435, 0.4229981303215027, 0.905930757522583, 0.10878445953130722, 0.979254424571991, 0.29855477809906006, 0.1499955952167511, -0.9614319205284119, 0.3902096152305603, -0.0435837022960186, -0.5473276972770691, -0.2240748405456543, -0.25289639830589294, -0.9640793204307556, 0.1890181303024292, -0.19561487436294556, -0.5667927861213684, -0.01468468364328146, 0.48719653487205505, -0.5517634749412537, 0.46547219157218933, -0.8611322045326233, 0.7570886611938477, -0.34531959891319275, -0.6828415393829346, -0.4175683557987213, -0.7280188798904419, 0.5408797860145569, 0.19085226953029633, 0.08477777242660522, 0.19529348611831665, 0.19062043726444244, 0.8200362920761108, -0.43525996804237366, 0.7637425661087036, -0.37461769580841064, 0.06353503465652466, 0.05092073976993561, 0.29703497886657715, 0.6113680005073547, 0.04718981310725212, -0.33248111605644226, -0.3029748201370239, -0.07989905029535294, -0.5519669055938721, -0.7454288601875305, 0.6041486263275146, -0.8455215096473694, -0.7021297812461853, -0.8647501468658447, -0.23035310208797455, -0.49619823694229126, -0.07270707935094833, 0.23576714098453522, 0.3934885859489441, -0.009348840452730656, -0.3012833595275879, 0.8235784769058228, -0.3332740068435669, 0.4098525643348694, 0.23946397006511688, -0.345584899187088, -0.5357913970947266, 1.2692301273345947, -0.21525171399116516, 0.5804445743560791, 0.08521950244903564, 0.5331667065620422, -0.34644272923469543, -0.2742052972316742, -0.54118812084198, 0.23356491327285767, -0.6285774111747742, -0.1483004093170166, -0.47941190004348755, -0.11352422088384628, -0.20271478593349457, -0.03305831179022789, -0.36669766902923584, 0.2659994959831238, -0.3444598317146301, -0.07940439134836197, 0.593619167804718, 0.9452776908874512, -0.28039050102233887, 0.1507977545261383, -0.6781724691390991, -0.07839755713939667, 0.5434314608573914, 0.2022603303194046, 0.1471787542104721, -0.42946362495422363, 0.011805875226855278, 0.08180190622806549, -0.3636960983276367, -1.4734643697738647, 0.6362873315811157, -0.24748781323432922, 0.45488831400871277, 0.7559569478034973, 0.42093542218208313, 0.41616031527519226, -0.17170323431491852, 0.8725268244743347, 0.0485440269112587, -0.48734837770462036, 0.5960670113563538, -0.5839393734931946, -0.1098744124174118, 0.47467607259750366, 0.61635422706604, -0.8851404786109924, -0.361333429813385, -0.5492162108421326, -0.7187345027923584, 0.7544712424278259, -0.3200953006744385, 0.21233271062374115, 0.09707614779472351, 0.47822171449661255, -0.015316150151193142, 0.022430183365941048, -0.5428272485733032, -0.45786890387535095, -0.1456930786371231, -0.02060079760849476, -0.06715336441993713, -0.4115632176399231, -0.275165319442749, -0.1161377876996994, 0.7068744897842407, 0.22252041101455688, -0.1109919622540474, -0.005971135571599007, -0.03679240122437477, -0.1276664435863495, 0.3135259747505188, 0.3876798152923584, 0.08749962598085403, -0.37409719824790955, 0.32785025238990784, -0.0327242910861969, -0.3332642912864685, 0.35307732224464417, -0.4201657474040985, 0.15519702434539795, -0.5289044380187988, 0.14416036009788513, 0.4858526289463043, 0.20831851661205292, -0.8359310030937195, 0.38229209184646606, -0.07419714331626892, 0.21679973602294922, 0.04849864915013313, 0.42603081464767456, -0.048326246440410614, -0.07225850224494934, 0.07771030813455582, 0.024005301296710968, 0.11151593178510666, -0.8489490151405334, 0.4345790147781372, 0.3478274345397949, -0.6584291458129883, -0.03046266920864582, 0.15520472824573517, 0.0979977697134018, -0.22265185415744781, 0.5773079991340637, -0.1328050047159195, -0.8917068243026733, 0.34709200263023376, 0.3352212905883789, 0.5965872406959534, -0.43652376532554626, 0.2829308807849884, 0.3813363313674927, -0.023334966972470284, 0.3155191242694855, 0.022971104830503464, 0.042832523584365845, -0.8724948167800903, -0.025990931317210197, -0.28448164463043213, -0.5457131266593933, 0.2800489664077759, -0.7218154072761536, 0.23443995416164398, -0.6612056493759155, -0.021973740309476852, -0.048928212374448776, -0.28395771980285645, 0.09061785787343979, -0.0058473385870456696, -0.181100994348526, 0.6001672744750977, -0.7832315564155579, 0.75174880027771, 0.4989984631538391, -0.5662535429000854, -0.9664830565452576, 0.06932328641414642, 0.38281431794166565, -0.733589768409729, 0.6439348459243774, -0.15987320244312286, -0.12796524167060852, 0.08549536764621735, -0.6736979484558105, -0.4675900936126709, 0.41902583837509155, 0.3061848282814026, -0.23331820964813232, 0.13116109371185303, -0.058959513902664185, 0.38594862818717957, 0.07184873521327972, 0.22584068775177002, 0.8605417013168335, 0.40276506543159485, -0.052173782140016556, -0.471993625164032, -0.07324378937482834, -0.14846807718276978, -0.31329742074012756, 0.3600288927555084, -0.6219472885131836, 0.5248770713806152, -0.3137614130973816, -0.3050386607646942, -0.3732609450817108, 0.5170711874961853, 0.16886426508426666, -0.11857552826404572, 0.8853924870491028, 0.7684116959571838, 0.5964056849479675, 0.2653617560863495, 0.9445180892944336, -0.20311549305915833, 0.2142525464296341, 1.0819703340530396, -0.3104226887226105, 1.0564005374908447, 0.6323722004890442, 0.02548149973154068, 0.5610024929046631, 0.9183086156845093, 0.02891336753964424, 1.0524448156356812, 0.6503978371620178, -0.3931063413619995, -0.19165457785129547, -0.22521120309829712, -0.28099682927131653, 0.3270305097103119, 0.23997244238853455, -0.10141480714082718, -0.318134605884552, 0.2546125054359436, 0.4136160910129547, 0.2215268760919571, -0.1073325127363205, 1.1448891162872314, -0.1879204958677292, -0.9438046813011169, 0.6814959049224854, -0.14947989583015442, 0.8285208940505981, -0.3937522768974304, 0.1073332130908966, -0.25404059886932373, 0.19849054515361786, -0.43187129497528076, -0.7953740358352661, 0.30713367462158203, 0.07950390130281448, 0.10396979004144669, 0.014294757507741451, 0.7249503135681152, -0.28453606367111206, 0.3538855314254761, 0.48679885268211365, -0.17178533971309662, 0.1741434633731842, -0.12316422164440155, -0.6104981303215027, -0.0700361430644989, 0.08607061952352524, -0.1942729502916336, 0.6794266104698181, -0.23092298209667206, 0.26522496342658997, 0.729861855506897, 0.7133221626281738, 0.5053725838661194, 0.0022299084812402725, -0.020505353808403015, 1.0770463943481445, -0.6165320873260498, -0.41248342394828796, -1.0632262229919434, 0.33051392436027527, -0.1270146518945694, -0.03334283083677292, 0.6399369239807129, 0.4536004662513733, 0.9603298306465149, 0.14659477770328522, 0.8412162661552429, 0.21151365339756012, 0.41245049238204956, -0.27200621366500854, 1.2462050914764404, -0.5206445455551147, -0.036147721111774445, -0.18720796704292297, -0.36925506591796875, -0.09510038793087006, 0.30876362323760986, -0.2980826497077942, -0.0446392223238945, 0.6824876666069031, 1.2394486665725708, 0.23701493442058563, 0.005837664473801851, 0.24054740369319916, 0.3599555194377899, 0.5941373109817505, 0.813162624835968, 1.0437003374099731, -0.09523659199476242, 0.44689759612083435, -0.720851480960846, -0.41010966897010803, -0.36440014839172363, -0.9431445598602295, -0.9315046072006226, -0.4395667612552643, -0.04280179366469383, -0.8997223973274231, 0.23428718745708466, 1.2505742311477661, 0.6996437311172485, -0.9549427032470703, -0.238406702876091, 0.0819961279630661, 0.31634554266929626, 0.02735414169728756, -0.24073132872581482, 0.1469888687133789, -0.35144251585006714, -0.5164017677307129, 0.41019126772880554, 0.17254717648029327, -0.016528571024537086, -0.5219632387161255, -0.21078044176101685, -0.19204962253570557, 0.05226242542266846, 0.30526119470596313, 0.5201742053031921, -0.7418929934501648, -0.548865020275116, -0.25254008173942566, -0.34278830885887146, 0.005138794891536236, 0.7564200162887573, -0.8327658176422119, 0.8071914911270142, 0.5554379820823669, 0.6902908086776733, -0.0731550008058548, -0.07983417063951492, 0.5620114207267761, -0.595332145690918, 0.0521540604531765, 0.42815929651260376, 0.2005598545074463, 0.24691885709762573, -0.7653206586837769, 0.2117149382829666, 0.2782644033432007, -0.6558760404586792, -1.085206389427185, 0.29770609736442566, -0.8933796286582947, -0.3331146538257599, 1.4030888080596924, 0.09458932280540466, -0.4466972053050995, -0.10672948509454727, -0.3371546268463135, 0.2457970380783081, -0.7789387106895447, 1.0279499292373657, 0.47828027606010437, -0.3064444959163666, 0.2788960337638855, -0.3145715594291687, 0.8592144250869751, 0.4260250926017761, -0.9213901162147522, 0.17605140805244446, 0.30699869990348816, 0.4384203851222992, -0.014262010343372822, 0.20927199721336365, -0.10053415596485138, 0.22274906933307648, -0.1927473098039627, -0.05048172175884247, -0.05285879597067833, -0.3008832037448883, -0.5548779964447021, 0.1970817744731903, 0.2162613868713379, -0.17494115233421326 ]
http://arxiv.org/abs/2404.05508v1
http://arxiv.org/pdf/2404.05508v1
Synergy of Large Language Model and Model Driven Engineering for Automated Development of Centralized Vehicular Systems
2024-04-08T13:28:11
2024-04-08T13:28:11
Nenad Petrovic, Fengjunjie Pan, Krzysztof Lebioda, Vahid Zolfaghari, Sven Kirchner, Nils Purschke, Muhammad Aqib Khan, Viktor Vorobev, Alois Knoll
cs.SE
cs.SE, cs.AI, cs.CL, D.2.1; D.2.2; D.2.4; I.2.7; I.2.2; I.7.0
We present a prototype of a tool leveraging the synergy of model driven engineering (MDE) and Large Language Models (LLM) for the purpose of software development process automation in the automotive industry. In this approach, the user-provided input is free form textual requirements, which are first translated to Ecore model instance representation using an LLM, which is afterwards checked for consistency using Object Constraint Language (OCL) rules. After successful consistency check, the model instance is fed as input to another LLM for the purpose of code generation. The generated code is evaluated in a simulated environment using CARLA simulator connected to an example centralized vehicle architecture, in an emergency brake scenario.
[ -0.47564035654067993, -0.6389590501785278, 0.8229715824127197, 0.20581242442131042, 0.004499799106270075, 0.04858754575252533, -0.16868345439434052, -0.5828548073768616, -0.002638895297423005, 0.4614332318305969, -0.8334585428237915, -0.406122088432312, 0.008996023796498775, 0.10622888803482056, -0.4705556035041809, 0.5574255585670471, -0.5710519552230835, 0.2007296085357666, -0.2810656726360321, -0.04081409052014351, -0.3036169111728668, -0.48186057806015015, -0.4088805913925171, -0.2119395136833191, 0.11939183622598648, 0.28626152873039246, 0.4945036470890045, 0.5555693507194519, 0.6262910962104797, 0.39675524830818176, 0.32196593284606934, -0.061668116599321365, -0.14735619723796844, 0.1579102873802185, -0.42465606331825256, -0.08134821802377701, -0.8546701073646545, -0.19943934679031372, 0.2930254340171814, 0.5018270611763, -0.4081306457519531, 0.25753137469291687, -0.019047299399971962, 0.12358573824167252, -0.7809322476387024, 0.20811045169830322, -0.3691692650318146, -0.41779911518096924, 0.009571303613483906, 0.10561547428369522, -0.11529578268527985, -0.28126218914985657, -0.26057174801826477, -0.5210319757461548, -0.25424113869667053, 0.15272758901119232, 0.8125060796737671, 0.3902308940887451, -0.4252205789089203, -0.24998190999031067, -0.9427186250686646, 0.8332550525665283, -1.0238604545593262, 0.4661838114261627, -0.15474127233028412, 0.456306129693985, -0.2008965164422989, -0.6936294436454773, -1.1575164794921875, -0.21253067255020142, 0.20953606069087982, 0.21552051603794098, 0.1621067374944687, 0.206607386469841, 0.05451497435569763, 0.3196902275085449, -0.527431845664978, 0.618326723575592, -0.4025169610977173, -0.14068405330181122, 0.8712950944900513, 0.5864902138710022, 0.3792308270931244, 0.1230517029762268, -0.6424001455307007, 0.02562905289232731, -0.7545612454414368, -0.3100579082965851, 0.27694013714790344, 0.18848739564418793, -0.19701431691646576, 0.8118038177490234, -0.3176046311855316, 0.6736260652542114, -0.2576058804988861, -0.4348856210708618, 0.3945942223072052, -0.6549323797225952, -0.763565182685852, 0.08539503812789917, 0.947733998298645, 0.42639485001564026, -0.11334695667028427, 0.09403999149799347, -0.6240536570549011, 0.2032547891139984, 0.22628569602966309, -0.5935772657394409, 0.31198832392692566, 0.34761500358581543, -0.470689594745636, -0.42607542872428894, 0.17633791267871857, -0.48932474851608276, 0.06705637276172638, -0.7339603304862976, 0.15305458009243011, -0.033286336809396744, -0.34209534525871277, 0.3713203966617584, -0.020218169316649437, 0.6142568588256836, 0.18470531702041626, -0.5973688960075378, 0.3147980570793152, 0.637610137462616, 0.575843334197998, -0.2503366470336914, -0.3901520073413849, -0.18570441007614136, 0.6152243614196777, -0.04128153622150421, 0.7554027438163757, -0.39038988947868347, -0.4840450882911682, 0.03567621856927872, 0.2102707475423813, 0.0907001942396164, -0.46821290254592896, 0.3429454267024994, -0.46143481135368347, 0.007280340883880854, 0.11719073355197906, -0.5103845000267029, -0.18530438840389252, 0.14197422564029694, -0.44486212730407715, 0.827016294002533, 0.3838309943675995, -0.42792201042175293, 0.3371660113334656, -0.698913037776947, -0.5460550785064697, 0.05861587077379227, -0.5594653487205505, -0.5218368172645569, -0.07059147953987122, -0.12685392796993256, 0.3554002642631531, -0.683236300945282, 0.539860188961029, -0.6163397431373596, 0.09775325655937195, -0.2552397549152374, -0.10014688223600388, 0.7702957391738892, 0.21774129569530487, -0.44413992762565613, 0.4619186520576477, -0.806896984577179, 0.05525757372379303, 0.07707583904266357, -0.3250553011894226, -0.22912834584712982, 0.013428709469735622, 0.3992486298084259, 0.41752541065216064, 0.593780517578125, -0.525959849357605, 0.35804322361946106, -0.2227727472782135, 0.2364831566810608, 0.6783151626586914, 0.07036164402961731, 0.41322511434555054, -0.28907084465026855, 0.535659670829773, -0.06497472524642944, 0.014318055473268032, -0.024064525961875916, -0.3490240275859833, -0.8641881942749023, -0.17307010293006897, 0.04043697938323021, 0.8531861901283264, -0.4490078389644623, 0.9097814559936523, 0.20704889297485352, -0.27929413318634033, -0.4990259110927582, 0.23082296550273895, 0.16338826715946198, 0.06228695064783096, -0.0824647769331932, -0.3566226661205292, -0.8781896829605103, -1.2463457584381104, 0.5824959874153137, -0.24732738733291626, -0.28677603602409363, 0.03909187391400337, 0.6903697848320007, -0.4875338673591614, 1.0602185726165771, -0.27000463008880615, -0.2081979662179947, -0.4358913004398346, 0.09549380838871002, -0.10900092869997025, 0.6748653650283813, 0.6962823271751404, -0.5096358060836792, -0.1910100132226944, 0.3637406826019287, -1.05057954788208, -0.3836897909641266, -0.056080203503370285, -0.13124464452266693, 0.31530603766441345, 0.7662258148193359, -0.4610195457935333, 0.4830031096935272, 0.7626203894615173, 0.021094199270009995, 0.793296217918396, -0.3882993161678314, 0.22309914231300354, -1.3086118698120117, 0.2787519693374634, -0.08794678002595901, -0.34455549716949463, -0.33969056606292725, 0.23019292950630188, -0.05172122269868851, -0.10244116932153702, -0.4499780237674713, 0.18926070630550385, -0.6318114995956421, -0.3276882767677307, -0.5302789211273193, 0.11409389972686768, -0.38501521944999695, 0.06861575692892075, 0.2158261090517044, 1.0430750846862793, 0.6817960739135742, -0.7207193374633789, 0.34577175974845886, 0.07296866178512573, -0.36085107922554016, 0.6445387601852417, -0.9549345970153809, 0.01866648718714714, 0.014003219082951546, -0.25094521045684814, -0.4833090007305145, -0.3777306377887726, -0.19484367966651917, 0.1513424813747406, 0.34343597292900085, 0.1759204864501953, -0.9721210598945618, -0.5938830375671387, 0.26350274682044983, 0.1785001903772354, 0.6008614897727966, -0.39926397800445557, 0.5023446679115295, 0.8204621076583862, -0.42792874574661255, 0.2320132851600647, -0.39894822239875793, -0.037280499935150146, -0.07493183761835098, -0.982481062412262, 0.34432685375213623, -0.1471572369337082, -0.7014309167861938, -0.14796099066734314, 0.12748314440250397, -0.25505301356315613, 0.26035457849502563, 0.3068191409111023, 0.5666232705116272, -0.5100792050361633, 0.07215902209281921, 0.2781580090522766, -0.04170878976583481, 0.13242609798908234, -0.28028082847595215, 0.7426840662956238, -0.10655516386032104, -0.4895746111869812, -0.5629838109016418, 0.5975437164306641, 0.7963725328445435, -0.44360801577568054, 0.8464380502700806, 0.15529966354370117, -0.27864566445350647, -0.4135970175266266, -0.21727725863456726, -0.26989391446113586, -0.5530840158462524, 0.33915314078330994, -0.49183088541030884, -0.7401897311210632, 0.5850142240524292, -0.3330642580986023, 0.17219765484333038, 0.37871965765953064, 0.9981284737586975, 0.0934181660413742, 1.1499824523925781, 1.176937460899353, -0.20334959030151367, 0.19074411690235138, 0.039269011467695236, 0.30664053559303284, -0.48834314942359924, -0.08058135956525803, -0.4456421136856079, -0.12067316472530365, -0.44873303174972534, -0.26204913854599, 0.40554916858673096, 0.06689082086086273, -0.26211896538734436, 0.5628060698509216, -0.39435312151908875, 0.35599449276924133, 0.5024778842926025, -0.1712721586227417, 0.44100600481033325, -0.3276774287223816, -0.34861329197883606, 0.17691896855831146, -0.8449684977531433, -0.7232113480567932, 0.6911394596099854, 0.010904477909207344, 0.7546837329864502, -0.07522822916507721, 0.6848580837249756, 0.12321234494447708, 0.3810326159000397, -0.5383390784263611, 0.5907425284385681, 0.39588961005210876, -0.5843318700790405, -0.14630332589149475, -0.2541830837726593, -0.5313193202018738, -0.21444129943847656, -0.02753574587404728, -0.7731373906135559, 0.06111571937799454, -0.08032070845365524, -0.28683191537857056, 0.293245404958725, -0.5432407855987549, 0.9240326881408691, -0.2564128339290619, -0.23860663175582886, -0.28234583139419556, -0.47264447808265686, 0.5473318696022034, -0.20258226990699768, 0.2582224905490875, 0.13000153005123138, 0.04152928292751312, 0.3541913628578186, -0.7381083369255066, 0.7268286943435669, 0.26411405205726624, -0.49232718348503113, 0.42330294847488403, 0.06874297559261322, 0.5773225426673889, -0.049280643463134766, -0.05190294608473778, -0.24289153516292572, -0.4865749776363373, -0.15490034222602844, -0.47105759382247925, 0.9116321206092834, -0.5258083343505859, -0.6818623542785645, -0.09275046736001968, -0.7125967144966125, 0.06262631714344025, 0.42750099301338196, 0.026208117604255676, 0.15013690292835236, -0.26323646306991577, -0.26649409532546997, 0.2626734972000122, -0.27228492498397827, 0.6295895576477051, 0.7445818781852722, -0.5543541312217712, -0.15686386823654175, 0.6230108737945557, -0.1147618219256401, 0.6395782828330994, -0.03468990698456764, -0.42256462574005127, 0.1884390264749527, -0.4788660407066345, -0.41642192006111145, 0.28039824962615967, -0.4744994640350342, -0.12628628313541412, -0.41633933782577515, -0.41961511969566345, -0.5058838725090027, -0.5082876682281494, -0.6783543825149536, -0.4203821122646332, -0.03865332528948784, -0.03732452541589737, 0.0038677467964589596, 1.2139533758163452, -0.054757118225097656, 0.3582340478897095, -0.6271811127662659, -0.05865158513188362, 0.12306927889585495, 0.13519440591335297, -0.2589380741119385, 0.09033410996198654, -0.2458621859550476, -0.01480047032237053, -0.5560789704322815, -0.664327085018158, 0.3084017336368561, -0.3722289502620697, 0.6227967739105225, 0.42585238814353943, 0.1030418649315834, 0.40737706422805786, -0.34879398345947266, 0.5615564584732056, 0.3535197675228119, -0.8796494007110596, 0.5875621438026428, -0.34126755595207214, 0.2972983121871948, 0.3344328701496124, 0.20334528386592865, -0.2230224609375, -0.8470330834388733, -0.49265778064727783, -0.8446753621101379, 0.21991713345050812, 0.22834926843643188, -0.4032555818557739, 0.02115580067038536, -0.09412837028503418, 0.1744408756494522, 0.4274519979953766, -0.3778698146343231, -0.12573598325252533, 0.38890373706817627, -0.2520240843296051, 0.1071677878499031, 0.05586038529872894, 0.05994591489434242, -0.05301191657781601, 0.7546004056930542, 0.02946309559047222, 0.11757811158895493, 0.37560680508613586, -0.06923507899045944, -0.07659519463777542, 0.27652350068092346, 0.8612959384918213, 0.5319029092788696, 0.05007532611489296, -0.24922031164169312, 0.0841994360089302, -0.1466592401266098, 0.2015293687582016, -0.00039102608570829034, -0.4765011668205261, -0.10831066220998764, 0.03485860675573349, 0.49706360697746277, 0.03669000044465065, -0.7536347508430481, 0.22224153578281403, 0.33045655488967896, -0.3485393524169922, -0.4978313744068146, 0.13385306298732758, 0.16852912306785583, 0.3494164049625397, 0.009707079268991947, 0.10714703798294067, 0.1621510088443756, -0.5137798190116882, 0.3664892315864563, 0.24677230417728424, -0.4126470685005188, -0.4407912492752075, 0.8751429319381714, 0.3093821108341217, -0.12436316162347794, 0.38740023970603943, -0.5156877636909485, -0.6595498323440552, 0.8744983077049255, 0.6303767561912537, 0.937099814414978, -0.32715892791748047, -0.1113109216094017, 0.40261995792388916, 0.42357611656188965, -0.10878903418779373, 0.583065390586853, 0.2937694191932678, -0.672364354133606, -0.7476688027381897, -0.5405861139297485, -0.2588863968849182, 0.020039059221744537, -0.4221220016479492, 0.6872069835662842, -0.5020924806594849, -0.09355025738477707, -0.13416539132595062, -0.48718947172164917, -0.5840355753898621, -0.07949217408895493, 0.2650918960571289, 0.9545263051986694, -0.7034163475036621, 0.9811728000640869, 0.8424157500267029, -0.609402060508728, -0.8410793542861938, -0.20977386832237244, 0.28167909383773804, -0.5837833285331726, 0.9125732183456421, 0.10875254124403, -0.2130579650402069, 0.032632339745759964, -0.3746732473373413, -0.7166376113891602, 1.285692572593689, 0.16079804301261902, -1.029860496520996, -0.09768576920032501, 0.22995716333389282, 0.3123379945755005, -0.8249843716621399, -0.05417764186859131, 0.625277578830719, 0.5751421451568604, -0.23670563101768494, -1.5729643106460571, 0.028151731938123703, -0.09152959287166595, 0.011274023912847042, 0.38055741786956787, -0.6354979872703552, 0.7812263369560242, -0.2641184329986572, -0.3517093062400818, 0.31985363364219666, 0.7209264636039734, 0.353257954120636, 0.19359566271305084, 0.37186798453330994, 0.7027711272239685, 0.5328981280326843, 0.2529534101486206, 1.1352981328964233, -0.6978628039360046, 0.49179235100746155, 1.1565074920654297, -0.8966648578643799, 0.8639245629310608, 0.6940284371376038, -0.13582846522331238, 0.5500386953353882, 0.13898247480392456, -0.05030856281518936, 0.2949066758155823, 0.2730952799320221, -0.34353575110435486, -0.3711105287075043, -0.18744033575057983, -0.32121360301971436, 0.4565180540084839, 0.10147135704755783, -0.3853117525577545, -0.3962947130203247, 0.2777973413467407, -0.13726498186588287, 0.08426565676927567, -0.4130389094352722, 0.7318025231361389, 0.20965619385242462, -0.3904888927936554, 0.19375887513160706, 0.17610710859298706, 0.30012571811676025, -0.3392542004585266, 0.2604122459888458, 0.1414279341697693, 0.4887862503528595, -0.017039723694324493, -0.663430392742157, 0.4396570324897766, -0.19752198457717896, -0.474578320980072, -0.1736210584640503, 0.6042746901512146, -0.4335212707519531, -0.639028012752533, 0.39919769763946533, 0.5201570987701416, -0.1423303484916687, 0.3137631416320801, -0.5509397983551025, 0.2083730399608612, -0.17526333034038544, -0.03616657108068466, 0.14047808945178986, 0.39224758744239807, 0.016296740621328354, 0.8054093718528748, 0.47618502378463745, 0.0656924620270729, -0.06480201333761215, 0.11764232069253922, 0.9919230937957764, -0.5871219038963318, -0.3794678747653961, -0.800275444984436, 0.7084937691688538, -0.1331544667482376, -0.04742930084466934, 0.9245996475219727, 0.8105313181877136, 0.8837599158287048, -0.11361289769411087, 1.230194330215454, -0.3919752836227417, 0.1295919269323349, -0.5751775503158569, 0.579367458820343, -0.5079120397567749, 0.3638862371444702, -0.18889698386192322, -0.9392601847648621, -0.23088712990283966, 0.4322810471057892, -0.1619006097316742, -0.15448500216007233, 0.6993704438209534, 1.039266586303711, -0.33384159207344055, -0.1352955400943756, 0.35913076996803284, 0.21031230688095093, 0.22999592125415802, 0.7033687233924866, 0.6350411772727966, -0.34545257687568665, 0.1742800772190094, -0.1572517454624176, -0.2505219280719757, 0.10422930866479874, -0.6869009733200073, -0.8585569858551025, -0.31346917152404785, -0.4339633882045746, -0.24588876962661743, -0.14382410049438477, 0.9877576231956482, 0.7683664560317993, -0.8067605495452881, -0.6911408305168152, -0.38880518078804016, 0.022775137796998024, 0.047778673470020294, -0.1898716539144516, -0.3017963469028473, -0.42395782470703125, -0.7056542038917542, 0.5027636885643005, 0.5929290056228638, 0.3070123791694641, -0.7539132833480835, -0.307854562997818, 0.11057573556900024, -0.06955641508102417, 0.4106948971748352, 0.07197302579879761, -0.33543825149536133, -0.13267582654953003, 0.05503527820110321, -0.26725199818611145, -0.04806962236762047, 1.1535358428955078, -0.46301478147506714, 0.1581035703420639, 0.41199687123298645, 0.22838124632835388, 0.12279878556728363, -0.15927185118198395, 1.5218207836151123, -0.2912195026874542, 0.3789394497871399, -0.15076079964637756, 0.5402855277061462, 0.029219750314950943, -0.12400523573160172, 0.1849682629108429, 0.16956177353858948, -0.7695468664169312, -0.7356396317481995, 0.6441255211830139, -1.0114840269088745, -0.2917099595069885, 0.9399166107177734, 0.030856136232614517, -0.48365363478660583, -0.15721045434474945, -0.18827536702156067, 0.0920519307255745, -0.30483195185661316, 0.46307480335235596, 0.3641008734703064, 0.3602216839790344, -0.06661438196897507, -0.5297093987464905, 0.1986876279115677, -0.0776657909154892, -1.099442720413208, -0.07275693863630295, 0.3525386452674866, 0.08375298231840134, 0.22692765295505524, 0.1524510383605957, 0.11672040820121765, 0.5148845314979553, 0.18578986823558807, 0.6862729787826538, 0.1266523003578186, -0.11142352968454361, -0.0664682611823082, 0.0772809237241745, -0.026897786185145378, 0.17813502252101898 ]
http://arxiv.org/abs/2404.05502v1
http://arxiv.org/pdf/2404.05502v1
PetKaz at SemEval-2024 Task 3: Advancing Emotion Classification with an LLM for Emotion-Cause Pair Extraction in Conversations
2024-04-08T13:25:03
2024-04-08T13:25:03
Roman Kazakov, Kseniia Petukhova, Ekaterina Kochmar
cs.CL
cs.CL, cs.AI, I.2.7
In this paper, we present our submission to the SemEval-2023 Task~3 "The Competition of Multimodal Emotion Cause Analysis in Conversations", focusing on extracting emotion-cause pairs from dialogs. Specifically, our approach relies on combining fine-tuned GPT-3.5 for emotion classification and a BiLSTM-based neural network to detect causes. We score 2nd in the ranking for Subtask 1, demonstrating the effectiveness of our approach through one of the highest weighted-average proportional F1 scores recorded at 0.264.
[ -0.642445981502533, -0.8833404183387756, 0.6160128116607666, 0.3026968240737915, -0.3300616443157196, -0.1516628861427307, 0.008754515089094639, -0.655245304107666, 0.18613196909427643, 0.5161423087120056, -0.8502177596092224, -0.29455429315567017, -0.6493644714355469, 0.06830448657274246, 0.021085627377033234, 0.9628222584724426, 0.0023470520973205566, 0.2399737536907196, -0.2711719572544098, -0.15303713083267212, -0.38369375467300415, -0.7592010498046875, -0.7720010280609131, -0.3308202624320984, 0.8038502931594849, 0.7949478030204773, 0.2845871150493622, -0.20182520151138306, 0.5890591144561768, 0.3053179383277893, 0.1574554592370987, 0.12110178917646408, -0.13046640157699585, 0.42558854818344116, 0.03649112209677696, -0.19461484253406525, -0.8752111792564392, 0.16066893935203552, 0.2275230586528778, 0.29251784086227417, -0.141069233417511, -0.13165989518165588, -0.015744712203741074, 0.7197251319885254, -0.3246794641017914, 0.21729910373687744, -0.35409051179885864, 0.35402876138687134, -0.4280199706554413, -0.7398441433906555, -0.3501374423503876, -0.23312701284885406, 0.21400760114192963, -0.1312287598848343, 0.3066444396972656, 0.16736723482608795, 0.7897516489028931, 0.06189853698015213, -0.6962931752204895, -0.3641359806060791, -0.3968612849712372, 0.5700770020484924, -0.6233110427856445, 0.24294795095920563, 0.4440881013870239, -0.02461562678217888, -0.16197173297405243, -0.5689229965209961, -0.4755045473575592, 0.15949304401874542, 0.18684296309947968, 0.4766020178794861, -0.3500717580318451, 0.20387941598892212, 0.23503054678440094, 0.4130854606628418, -0.781244158744812, -0.06366118788719177, -0.4809213876724243, -0.3114513158798218, 0.6859155297279358, 0.5007594227790833, 0.3374757170677185, -0.08562081307172775, -0.46366119384765625, 0.08114542067050934, -0.727300763130188, 0.001563035766594112, 0.5173020958900452, 0.13012290000915527, -0.05630180612206459, 0.4113484025001526, -0.17878085374832153, 0.4147530496120453, -0.044279567897319794, 0.17052558064460754, 0.47873654961586, -0.6327313780784607, -0.16774024069309235, 0.2677583396434784, 0.9685236811637878, 0.44660860300064087, -0.02248535491526127, 0.13126066327095032, 0.07403738796710968, -0.2059779018163681, 0.24723540246486664, -0.9747124910354614, -0.333196759223938, 0.24438118934631348, -0.5213243365287781, -0.5745300054550171, -0.16620491445064545, -1.2505038976669312, -0.5571479201316833, -0.18137437105178833, 0.7527643442153931, -0.12039952725172043, -0.4880422055721283, 0.02407645620405674, 0.1045491173863411, 0.35729169845581055, 0.475339412689209, -0.8313243985176086, 0.24638383090496063, 0.523108720779419, 0.6722450256347656, -0.11390633136034012, -0.23093761503696442, -0.6605193614959717, -0.5206523537635803, -0.33519449830055237, 0.9486571550369263, -0.4194757044315338, -0.24402005970478058, -0.14961794018745422, 0.2752448618412018, 0.022371094673871994, -0.4963783621788025, 0.6807667016983032, -0.3566599488258362, 0.6088586449623108, -0.4767288565635681, -0.26140114665031433, -0.329847127199173, 0.29496124386787415, -0.5543534755706787, 1.0984413623809814, 0.061067529022693634, -0.7257976531982422, 0.1770182102918625, -0.8730543851852417, -0.46168258786201477, 0.1712655872106552, 0.04852196201682091, -0.5214444398880005, 0.1214558407664299, -0.04312039911746979, 0.6767756342887878, -0.6382167935371399, 0.2654483914375305, -0.4169953167438507, -0.11649516224861145, 0.25913310050964355, -0.46029725670814514, 0.5360177159309387, 0.28688809275627136, -0.5942379236221313, 0.24763809144496918, -0.5532070994377136, -0.18689215183258057, 0.15467248857021332, -0.25658607482910156, -0.07441103458404541, 0.050906699150800705, -0.13232117891311646, 0.67755526304245, 0.055158425122499466, -0.6671832799911499, -0.010936892591416836, -0.2479574978351593, 0.2422802448272705, 0.8737004399299622, 0.4624958038330078, 0.195720374584198, -0.16420060396194458, 0.6658308506011963, 0.2705914378166199, 0.14353662729263306, -0.12292531132698059, -0.6807646751403809, -1.0064207315444946, 0.01688520424067974, 0.10103221982717514, 0.40049540996551514, -0.5180429816246033, 0.11887335777282715, 0.16911979019641876, -0.5665022730827332, -0.08824758976697922, -0.02935393713414669, 0.2794528305530548, 0.685133159160614, 0.23511195182800293, -0.3343159854412079, -0.6370322108268738, -0.8707256317138672, -0.06508669257164001, -0.008441840298473835, 0.3286511301994324, 0.4062213599681854, 0.5053597688674927, 0.03414075821638107, 0.4471428096294403, -0.257904052734375, 0.017771422863006592, -0.18005657196044922, 0.6596574783325195, 0.036026738584041595, 0.40343984961509705, 0.5065670609474182, -0.8850750923156738, -0.5755143761634827, -0.08811840415000916, -0.7212509512901306, -0.5221028923988342, 0.14420628547668457, -0.32719045877456665, 0.2713567018508911, 0.584264874458313, -0.37996307015419006, 0.49648019671440125, 0.47396427392959595, -0.6354553699493408, 0.46429115533828735, 0.21867364645004272, 0.5381377339363098, -1.228201985359192, -0.27815842628479004, 0.07053784281015396, -0.21473219990730286, -0.8059297800064087, -0.6722519397735596, -0.2912980318069458, -0.28202345967292786, -0.5030550360679626, 0.28415611386299133, -0.13262829184532166, -0.09831427037715912, -0.22178536653518677, 0.1314631849527359, -0.04540027678012848, 0.6983125805854797, 0.17727230489253998, 0.5738044381141663, 0.40794530510902405, -0.3625752627849579, 0.7996129989624023, 0.158999964594841, -0.2139362245798111, 0.7854558229446411, -0.4419809579849243, 0.359661340713501, 0.08175605535507202, -0.013585937209427357, -1.2584930658340454, -0.4126017689704895, 0.5568464398384094, -0.5646198987960815, 0.2287752628326416, 0.09541413933038712, -0.43952226638793945, -0.21822980046272278, -0.17842966318130493, 0.14657455682754517, 0.3019484281539917, -0.46406805515289307, 0.6901873350143433, 0.3226974606513977, -0.7798364162445068, -0.15986229479312897, -0.5699604153633118, 0.0717015415430069, -0.4708196818828583, -0.7012358903884888, 0.2269718050956726, -0.1865493655204773, -0.009813321754336357, -0.09592889249324799, -0.13338619470596313, 0.050663888454437256, 0.21225912868976593, 0.4222208261489868, 0.16337928175926208, -0.2843610644340515, 0.13928058743476868, -0.2958104610443115, -0.24796131253242493, 0.38467440009117126, 0.38619452714920044, 0.6238470673561096, -0.568901538848877, -0.37194857001304626, -0.19519394636154175, 0.5679472088813782, 0.7453234195709229, -0.24762272834777832, 0.3336445093154907, 0.8435903191566467, -0.2924758195877075, 0.055312737822532654, -0.5728156566619873, 0.03192038834095001, -0.447192519903183, 0.47518524527549744, -0.3316143751144409, -1.219429850578308, 0.40522146224975586, -0.3408451974391937, -0.43122583627700806, 0.5013864636421204, 0.9425814747810364, -0.3506213426589966, 1.3528692722320557, 0.3596540093421936, -0.009287052787840366, 0.5395684242248535, 0.18005582690238953, 0.3502219021320343, -0.8713065385818481, -0.4282577335834503, -0.42021915316581726, -0.309751033782959, -0.4989306628704071, -0.22791790962219238, 0.4880824685096741, -0.06282847374677658, -0.0967826321721077, 0.19294148683547974, -0.31610116362571716, 0.18463237583637238, 0.5292479991912842, 0.0003240439691580832, -0.14647528529167175, -0.08245902508497238, 0.056033093482255936, -0.07988343387842178, -0.5241307020187378, -0.11427375674247742, 0.8430497646331787, 0.344085693359375, 0.2004876285791397, 0.37817829847335815, 0.7707490921020508, 0.26380056142807007, 0.2546066641807556, -0.764028787612915, 0.736053466796875, 0.266548752784729, -0.7387950420379639, -0.11573497205972672, -0.33956971764564514, -0.8361778259277344, 0.40593117475509644, -0.09010957181453705, -1.0798815488815308, 0.16185030341148376, -0.08717671781778336, -0.316072016954422, -0.0853656530380249, -0.6462876796722412, 1.31807541847229, -0.3719801902770996, -0.4979358911514282, -0.23737972974777222, -0.7547489404678345, 0.49495941400527954, -0.14768192172050476, 0.1434125304222107, -0.5107502341270447, 0.27033865451812744, 0.9148346781730652, -0.44468408823013306, 0.7061872482299805, -0.39421263337135315, 0.1294659972190857, 0.4034624993801117, 0.06900577992200851, 0.4424779713153839, -0.1706290990114212, 0.014997829683125019, -0.13597983121871948, 0.003408661810681224, -0.1799282282590866, -0.5472900867462158, 0.42241111397743225, -0.44408097863197327, -0.4172443747520447, -0.6939337849617004, -0.0951358824968338, -0.37799593806266785, -0.1412191390991211, 0.27415958046913147, 0.5879845023155212, -0.2081698775291443, 0.4821479618549347, 0.45262444019317627, -0.22637414932250977, 0.7009422779083252, 0.6238203048706055, 0.008317138999700546, -0.6547521948814392, 1.0709195137023926, -0.22226661443710327, 0.06899135559797287, 0.00934023316949606, 0.4993192255496979, -0.21276742219924927, -0.317423939704895, -0.10680790990591049, -0.13503797352313995, -0.7350212335586548, -0.4934808909893036, -0.49332916736602783, -0.1414349377155304, -0.3115559220314026, -0.005388801451772451, -0.37621942162513733, -0.08613434433937073, -0.22700564563274384, -0.11269398778676987, 0.2732299566268921, 0.6215708255767822, -0.36733195185661316, 0.16700847446918488, -0.9578139781951904, -0.005933656357228756, 0.5346798300743103, 0.06481879949569702, -0.36167243123054504, -0.3562506139278412, -0.17846903204917908, -0.27975550293922424, -0.5499924421310425, -1.079594612121582, 0.5299475789070129, 0.15065684914588928, 0.4772372841835022, 0.3361634612083435, -0.05276050046086311, 0.8059173226356506, -0.0515485480427742, 1.1224278211593628, 0.37666550278663635, -0.9073759913444519, 0.8145018815994263, -0.49198442697525024, 0.026837807148694992, 0.43546950817108154, 0.3662225902080536, -0.7066309452056885, 0.001639468828216195, -0.8416140079498291, -0.7536970973014832, 1.2440142631530762, 0.38678795099258423, -0.09573840349912643, -0.05060724541544914, 0.022822188213467598, -0.16504515707492828, 0.1641368269920349, -0.6549009084701538, 0.022639192640781403, -0.1029551550745964, -0.3753008246421814, -0.005041539669036865, -0.6444752216339111, 0.04370541125535965, -0.25326839089393616, 0.8331043124198914, -0.07941539585590363, 0.7036954164505005, 0.20736952126026154, 0.011751157231628895, -0.3492434620857239, 0.3720351457595825, 0.9113330841064453, 0.13547196984291077, -0.30904924869537354, 0.32407739758491516, 0.40549373626708984, -0.28360965847969055, 0.06360846012830734, 0.11677844077348709, 0.45494285225868225, -0.2111532986164093, 0.38110363483428955, 0.9222808480262756, 0.23183515667915344, -0.458492636680603, 0.9443159103393555, -0.19825772941112518, -0.5065442323684692, -0.28598082065582275, -0.11319495737552643, 0.047382812947034836, 0.6078224778175354, 0.03938044607639313, 0.10338526219129562, 0.5126020908355713, -0.547039806842804, 0.31143906712532043, 0.15859635174274445, -0.5909900665283203, -0.6423003673553467, 0.348642498254776, 0.4511697590351105, -0.21952931582927704, 0.36837613582611084, -0.4772378206253052, -1.1309088468551636, 0.6770806312561035, 0.4339558184146881, 1.1294796466827393, -0.44643348455429077, 0.08311048895120621, 0.4869142174720764, -0.09609786421060562, 0.06861325353384018, 0.5940695405006409, -0.26937729120254517, -0.9321686625480652, -0.324651837348938, -0.45984962582588196, -0.6189574599266052, 0.3638877272605896, -0.5636109709739685, 0.26735854148864746, -0.12199275940656662, 0.02212214097380638, 0.09942860156297684, 0.13967745006084442, -0.5687782764434814, 0.24118834733963013, 0.5181976556777954, 0.23708997666835785, -1.0344955921173096, 0.6169171929359436, 0.6775414943695068, -0.4579966962337494, -0.7779629230499268, -0.2824157178401947, 0.469495564699173, -0.4392889142036438, 0.870143473148346, 0.2680680751800537, -0.17935031652450562, -0.12612007558345795, -0.6226242780685425, -0.5426831841468811, 1.0373361110687256, -0.058700427412986755, -0.22530001401901245, 0.2604278326034546, 0.020556963980197906, 0.3335822522640228, -0.4193108379840851, 0.32285916805267334, 0.4390619397163391, 0.41092023253440857, 0.33881181478500366, -0.8403218984603882, -0.1385326385498047, -0.6756904721260071, -0.38132327795028687, 0.3469916582107544, -0.8681566715240479, 0.7592571973800659, 0.26352664828300476, 0.08996254205703735, -0.28397735953330994, 0.39751166105270386, 0.07397942990064621, 0.5190163254737854, 0.5600610375404358, 0.49764347076416016, 0.6240960955619812, -0.3293420374393463, 0.6793610453605652, -0.06447742879390717, 0.469948410987854, 1.2312921285629272, -0.3153572678565979, 0.6634399890899658, 0.38207995891571045, -0.26023754477500916, 0.371806263923645, 1.0746625661849976, 0.03874242305755615, 0.7195327877998352, -0.06090478226542473, -0.5514905452728271, -0.5775361061096191, -0.01842699944972992, -0.30044254660606384, 0.8681132793426514, 0.5731000304222107, -0.25891754031181335, -0.08771328628063202, 0.20639874041080475, 0.22693045437335968, -0.6253530383110046, -0.07132727652788162, 0.8917045593261719, 0.057497791945934296, -0.6993171572685242, 0.005825838074088097, -0.22253216803073883, 0.4112441837787628, -0.3064776062965393, -0.17097057402133942, -0.23806746304035187, 0.16652868688106537, -0.2270742505788803, -0.7108532786369324, 0.39112499356269836, -0.12169034034013748, 0.11090180277824402, -0.28723204135894775, 1.078005313873291, -0.4861299693584442, -0.12207237631082535, 0.20881907641887665, 0.3810511827468872, 0.3491629362106323, -0.3285076916217804, -0.6793694496154785, 0.10311802476644516, -0.07382871210575104, -0.7423317432403564, 0.3400653898715973, 0.6945127248764038, 0.13655342161655426, 0.1904570460319519, 0.5729179382324219, -0.2522554099559784, -0.0968485176563263, 0.13337914645671844, 0.7358733415603638, -0.7943456172943115, -0.24337005615234375, -0.9997739791870117, 0.5768758058547974, -0.20223815739154816, -0.4043475389480591, 0.46671807765960693, 0.5010672211647034, 0.3417815864086151, 0.05860866978764534, 0.761226236820221, -0.2951561510562897, 0.3690132200717926, -0.42664533853530884, 0.25513824820518494, -0.8755557537078857, -0.1163114607334137, -0.4981490671634674, -0.7929571866989136, -0.18474619090557098, 0.6569116115570068, -0.32327747344970703, -0.14011849462985992, 0.9428457617759705, 0.8429079055786133, 0.2097720056772232, 0.5311481952667236, 0.3965289890766144, 0.0721520408987999, 0.3048073947429657, 0.9966381788253784, 1.232191562652588, -0.3884027898311615, 0.5164926052093506, -0.374078631401062, -0.14724424481391907, -0.6483832001686096, -0.9726222157478333, -0.8194191455841064, -0.9164397716522217, -0.5477190017700195, -0.40328240394592285, -0.22417205572128296, 1.0200563669204712, 0.6134988069534302, -0.8627517819404602, 0.18292948603630066, -0.32422661781311035, -0.11360599100589752, 0.24469301104545593, -0.25071513652801514, 0.14168395102024078, -0.4464744031429291, -0.5341435670852661, 0.5394437313079834, 0.5674020648002625, 0.016556015238165855, 0.09939165413379669, -0.22592799365520477, -0.10806089639663696, -0.029383109882473946, 0.7120691537857056, 0.1946825385093689, -0.637551486492157, -0.6417893767356873, -0.08745327591896057, -0.0858546644449234, 0.2106333076953888, 0.8012031316757202, -0.2904265820980072, 0.5977828502655029, 0.7144501209259033, 0.35765206813812256, 0.8854630589485168, -0.016090838238596916, 0.6473221182823181, -0.6016725897789001, -0.0014291256666183472, 0.3345695734024048, 0.4131311774253845, 0.1893104612827301, -0.41122931241989136, 0.9061235785484314, 0.5147973299026489, -0.9267562031745911, -0.7349997758865356, 0.19397851824760437, -1.2246021032333374, 0.19485537707805634, 1.0795634984970093, -0.14034321904182434, -0.1771797090768814, -0.059297237545251846, -0.4556056559085846, 0.32125750184059143, -0.21327055990695953, 0.31654107570648193, 1.1382575035095215, -0.7909110188484192, -0.6315392255783081, -0.6939938068389893, 0.51767897605896, 0.641843318939209, -1.106096863746643, -0.07349506765604019, 0.47929859161376953, 0.19974130392074585, 0.05806349217891693, 0.7971975207328796, -0.35506412386894226, 0.43969836831092834, 0.022116437554359436, 0.27506986260414124, -0.018308144062757492, -0.3398473560810089, -0.3540915846824646, 0.2513103485107422, -0.10929947346448898, -0.20448556542396545 ]
http://arxiv.org/abs/2404.05483v1
http://arxiv.org/pdf/2404.05483v1
PetKaz at SemEval-2024 Task 8: Can Linguistics Capture the Specifics of LLM-generated Text?
2024-04-08T13:05:02
2024-04-08T13:05:02
Kseniia Petukhova, Roman Kazakov, Ekaterina Kochmar
cs.CL
cs.CL, cs.AI, I.2.7
In this paper, we present our submission to the SemEval-2024 Task 8 "Multigenerator, Multidomain, and Multilingual Black-Box Machine-Generated Text Detection", focusing on the detection of machine-generated texts (MGTs) in English. Specifically, our approach relies on combining embeddings from the RoBERTa-base with diversity features and uses a resampled training set. We score 12th from 124 in the ranking for Subtask A (monolingual track), and our results show that our approach is generalizable across unseen models and domains, achieving an accuracy of 0.91.
[ -0.5903130769729614, -0.7564767599105835, 0.5820419192314148, 0.07597704231739044, -0.43165192008018494, 0.13608427345752716, -0.25871098041534424, -0.4185728132724762, 0.4587746262550354, 0.6409366130828857, -0.7752348184585571, -0.5976255536079407, -0.7738417983055115, 0.5087073445320129, -0.17732496559619904, 1.0137087106704712, 0.00943766999989748, -0.22622685134410858, -0.1039942130446434, -0.10691414028406143, -0.3755961060523987, -0.891283392906189, -0.4500451982021332, -0.2798788845539093, 0.5714132189750671, 0.3364958167076111, 0.20860245823860168, 0.23203912377357483, 0.3553332984447479, 0.28219637274742126, -0.05177036672830582, 0.4109509587287903, -0.1851090043783188, 0.38797706365585327, -0.1590312421321869, -0.27571171522140503, -0.5062941908836365, 0.09003236889839172, 0.6414502263069153, 0.367652952671051, 0.14722219109535217, 0.03485308587551117, 0.14220955967903137, 0.18261761963367462, -0.32512331008911133, -0.08452387899160385, -0.7457741498947144, 0.3703587055206299, -0.40780505537986755, -0.4776395857334137, -0.7492508292198181, 0.20064429938793182, -0.22926533222198486, -0.2875513434410095, 0.30145782232284546, -0.004086603410542011, 0.7543151378631592, 0.10874150693416595, -0.6155487895011902, -0.4165731966495514, -0.4263972342014313, 0.9148119688034058, -0.5227440595626831, 0.23660747706890106, 0.41655606031417847, 0.0958956778049469, -0.2140512466430664, -0.49609309434890747, -0.26199203729629517, -0.17705342173576355, 0.11408412456512451, 0.19856400787830353, -0.16402511298656464, -0.2006653994321823, 0.26212844252586365, 0.4281468391418457, -0.7059137225151062, -0.07978014647960663, -0.20177948474884033, -0.4063524305820465, 0.5997071266174316, 0.19377616047859192, 0.4081241190433502, -0.0012985520297661424, -0.25311580300331116, 0.1568603664636612, -0.5859750509262085, -0.1934131681919098, 0.5808149576187134, 0.36449822783470154, -0.058561891317367554, 0.6246211528778076, -0.09565232694149017, 0.4127289354801178, -0.014745821245014668, -0.17420491576194763, 0.5754364728927612, -0.6157901883125305, 0.02210303768515587, -0.1305808573961258, 0.9243447184562683, -0.16112324595451355, 0.15369948744773865, -0.1339699923992157, -0.19195182621479034, -0.047467462718486786, 0.3184930086135864, -0.6561795473098755, -0.15895327925682068, 0.07972264289855957, -0.30154865980148315, -0.536529541015625, -0.05267556756734848, -0.7540754079818726, -0.2488107681274414, 0.06939336657524109, 0.3867087960243225, -0.1724238097667694, -0.3265738785266876, 0.11510877311229706, 0.09639641642570496, 0.1638268083333969, 0.24870486557483673, -0.6678292155265808, -0.09855536371469498, 0.5008260607719421, 0.6021233797073364, -0.31380873918533325, -0.5948305130004883, -0.5854471921920776, -0.058841221034526825, -0.190912127494812, 0.9300596117973328, -0.4394882321357727, -0.2623055577278137, -0.027925923466682434, 0.39873117208480835, -0.047755055129528046, -0.439105361700058, 0.5634686350822449, -0.2552233040332794, 0.4115903973579407, -0.09871608763933182, -0.3902890384197235, -0.14195005595684052, 0.46056026220321655, -0.5618468523025513, 1.2647955417633057, 0.09286744892597198, -0.6516159176826477, 0.3660232424736023, -0.46835169196128845, -0.6304489374160767, 0.1621607393026352, -0.14577938616275787, -0.9247415661811829, 0.023649411275982857, 0.15475745499134064, 0.41878753900527954, -0.06559713184833527, 0.3365563750267029, -0.21116390824317932, -0.2143383026123047, 0.2611450254917145, -0.6282616853713989, 0.6119214296340942, 0.1803450584411621, -0.6482053399085999, 0.013501408509910107, -0.6880213022232056, 0.07518267631530762, 0.1812153309583664, -0.6570441126823425, -0.06786824762821198, -0.21869659423828125, 0.09809920936822891, 0.40379658341407776, 0.35738661885261536, -0.5580233335494995, 0.34127992391586304, -0.11161568015813828, 0.20261025428771973, 0.453204482793808, 0.14492753148078918, 0.29421716928482056, -0.1906755566596985, 0.9013586044311523, 0.0024718702770769596, -0.23092278838157654, -0.4194616675376892, -0.6979015469551086, -0.7408599257469177, -0.3490208685398102, 0.5044006109237671, 0.4983307421207428, -0.6199922561645508, 0.4866553246974945, 0.055303651839494705, -0.40718644857406616, -0.23245903849601746, 0.011791178956627846, 0.3282393515110016, -0.1782011091709137, 0.2480621635913849, -0.4469274580478668, -0.7618149518966675, -0.8174706697463989, -0.23881903290748596, 0.2793664038181305, 0.1422100067138672, 0.1300976723432541, 0.8849228620529175, -0.20536497235298157, 0.24618887901306152, -0.24048535525798798, -0.20215852558612823, -0.3799435496330261, 0.4256139397621155, 0.08240759372711182, 0.47569555044174194, 0.6357141733169556, -0.7353276014328003, -0.5752390623092651, 0.06621481478214264, -0.900073230266571, -0.42250117659568787, 0.22519107162952423, -0.09229691326618195, 0.037374984472990036, 0.5175909996032715, -0.5729151368141174, 0.2538762390613556, 0.5281593799591064, -0.5482457876205444, 0.4200490117073059, -0.08195309340953827, 0.45725035667419434, -1.4041645526885986, -0.2315734326839447, -0.2549392580986023, -0.5458057522773743, -0.7303661108016968, 0.024080771952867508, -0.079341821372509, -0.22511880099773407, -0.45359140634536743, 0.2521037459373474, -0.5803155303001404, -0.14908277988433838, -0.6230199337005615, 0.019302666187286377, -0.10754046589136124, 0.37959831953048706, -0.09624280035495758, 0.9795433282852173, 0.22663703560829163, -0.36230117082595825, 0.12906023859977722, 0.027782106772065163, -0.07032168656587601, 0.5414838194847107, -0.20864394307136536, 0.3673078417778015, -0.04702203348278999, 0.037954725325107574, -0.9800521731376648, -0.1336973011493683, 0.27291208505630493, -0.7531648874282837, 0.247325137257576, -0.19344612956047058, -0.39969319105148315, -0.22681701183319092, -0.2456803321838379, 0.24401013553142548, 0.34931740164756775, -0.15903611481189728, 0.7075707316398621, 0.6412612199783325, -0.23076291382312775, -0.6654926538467407, -0.8831928968429565, 0.2790154218673706, -0.25154462456703186, -0.38760024309158325, 0.3412556052207947, -0.06381623446941376, 0.13982225954532623, 0.04476470127701759, 0.030117923393845558, -0.060479503124952316, 0.3676259219646454, 0.03330658748745918, -0.07246899604797363, -0.4763573706150055, -0.173726424574852, -0.10930480062961578, -0.17554409801959991, -0.09447137266397476, -0.3592962920665741, 0.8748868107795715, 0.005580672528594732, -0.39278072118759155, 0.03761032596230507, 0.7008429765701294, 0.6557005047798157, -0.44277676939964294, 0.4992765486240387, 0.8378713726997375, -0.38181936740875244, -0.4434262216091156, -0.18667194247245789, 0.14373338222503662, -0.4277850091457367, 0.3807288408279419, -0.6926456093788147, -1.3348709344863892, 0.4463258683681488, 0.05014907196164131, -0.14021888375282288, 0.6636045575141907, 1.044223427772522, 0.010890623554587364, 1.1033704280853271, 0.7631469964981079, 0.025507429614663124, 0.36300259828567505, -0.18053069710731506, 0.1966596096754074, -0.7149955034255981, -0.046084992587566376, -0.5372710227966309, -0.13396084308624268, -0.8526397943496704, -0.3788401186466217, 0.18578234314918518, -0.24874410033226013, 0.12256686389446259, 0.6453696489334106, -0.6373242139816284, 0.4367779791355133, 0.6443598866462708, -0.1528918296098709, 0.17432352900505066, 0.09155555069446564, -0.39304810762405396, -0.12769904732704163, -0.35606497526168823, -0.5089156031608582, 1.1944178342819214, 0.08791668713092804, 0.2995316982269287, 0.1897491216659546, 0.9484974145889282, 0.543958306312561, 0.12872394919395447, -0.6470819711685181, 0.6271093487739563, -0.290548175573349, -0.6485470533370972, -0.07153351604938507, -0.17139875888824463, -1.1014515161514282, 0.7255436778068542, -0.10800302028656006, -0.6029493808746338, -0.12321712076663971, -0.14844448864459991, 0.1046358123421669, 0.12539660930633545, -0.38023871183395386, 1.1033467054367065, -0.14805984497070312, -0.10296072065830231, -0.0856514424085617, -0.1601591557264328, 0.18577580153942108, -0.26576635241508484, 0.2147497832775116, -0.5383509397506714, -0.07924528419971466, 0.5501067638397217, -0.060907114297151566, 0.7426763772964478, -0.13791993260383606, -0.1514267772436142, 0.3865128457546234, 0.13086096942424774, 0.42158904671669006, -0.21945074200630188, 0.14303073287010193, -0.04301361367106438, -0.3484143316745758, -0.35129374265670776, -0.18935760855674744, 0.45962658524513245, -0.4281772971153259, -0.4097496569156647, -0.6786216497421265, -0.3994993567466736, -0.10239441692829132, 0.2450772523880005, 0.5151398777961731, 0.30098938941955566, -0.21663746237754822, 0.3514100909233093, 0.4713674485683441, -0.17143648862838745, 0.4025154113769531, 0.6120558977127075, -0.2363002747297287, -0.5674116611480713, 0.9433351755142212, 0.09383008629083633, -0.05514948442578316, 0.4419666826725006, 0.04579857736825943, -0.10460946708917618, -0.8175392150878906, -0.4145124852657318, 0.08451473712921143, -0.770115315914154, -0.1985359638929367, -0.8107779622077942, -0.40731412172317505, -0.3271659016609192, -0.12241701036691666, -0.3008952736854553, -0.2484748363494873, -0.21358437836170197, -0.10564611107110977, 0.06700174510478973, 0.7782989144325256, 0.06564442068338394, 0.27897605299949646, -0.6152325868606567, 0.12604428827762604, 0.033300112932920456, -0.13462136685848236, -0.5431240797042847, -0.7608714699745178, -0.3365384638309479, -0.20638954639434814, -0.4453650116920471, -0.8313193321228027, 0.5726391077041626, 0.083159439265728, 0.782127320766449, -0.17543360590934753, -0.22313205897808075, 0.24605336785316467, -0.5914434194564819, 0.9879781603813171, -0.09914986789226532, -0.681609034538269, 0.7507487535476685, -0.46911144256591797, 0.577398419380188, 0.5049647092819214, 0.37958988547325134, -0.4037110209465027, -0.9485136866569519, -0.6724479794502258, -0.6674927473068237, 0.6206524968147278, 0.42787280678749084, 0.28347691893577576, 0.029712503775954247, -0.03848687931895256, 0.1324363648891449, 0.41327428817749023, -1.1002923250198364, -0.2050035297870636, 0.006041408982127905, -0.5957300662994385, -0.1285046637058258, -0.3847538232803345, 0.23425593972206116, 0.03755975514650345, 0.7419863939285278, -0.13568070530891418, 0.4850524365901947, -0.008473863825201988, -0.2597210705280304, 0.11839447915554047, 0.5935315489768982, 0.9879192113876343, 0.29760003089904785, 0.1410788595676422, 0.520278811454773, 0.2920473515987396, -0.6871278882026672, 0.3608461022377014, 0.03234514966607094, -0.4695962071418762, 0.2760378420352936, 0.29192832112312317, 0.5972815752029419, 0.06273599714040756, -0.4659028947353363, 0.5382720232009888, 0.034993160516023636, -0.4671371579170227, -0.3634621202945709, -0.18786680698394775, -0.011322656646370888, 0.2995440363883972, 0.1893889307975769, -0.01790117286145687, 0.2949577867984772, -0.4304197430610657, 0.6260035634040833, 0.4190424084663391, -0.2576780915260315, -0.5797602534294128, 0.657133936882019, 0.13325458765029907, -0.32895997166633606, -0.06975282728672028, -0.613785445690155, -0.9891902208328247, 0.6944068670272827, 0.6847952604293823, 1.1557799577713013, -0.3423018157482147, 0.052953291684389114, 0.3847901225090027, 0.47047123312950134, 0.1336062252521515, 0.5115852355957031, 0.022308623418211937, -0.798194408416748, -0.4566165506839752, -0.563977837562561, -0.4379257261753082, 0.5359031558036804, -0.11056958138942719, 0.5165094137191772, -0.125149667263031, -0.21930542588233948, 0.2529933750629425, 0.01583418808877468, -0.40773287415504456, 0.06083980202674866, 0.31540578603744507, 0.3497978150844574, -0.9229129552841187, 0.7465027570724487, 0.8597927093505859, -0.5314840078353882, -0.613002598285675, -0.11377610266208649, 0.24774976074695587, -0.6073535084724426, 0.4020525813102722, 0.2813566327095032, -0.21916870772838593, -0.04803938418626785, -0.2705857753753662, -0.8118239641189575, 0.8214609026908875, 0.29668086767196655, -0.16128751635551453, 0.147764652967453, 0.3432520627975464, 0.3881153464317322, -0.5918172597885132, 0.2738801836967468, 0.2818635404109955, 0.3682170510292053, -0.2521114647388458, -1.0166016817092896, -0.2631918787956238, -0.49090152978897095, -0.2976608872413635, 0.43253093957901, -0.6101797819137573, 1.0842695236206055, 0.41056591272354126, -0.052659858018159866, 0.013060410507023335, 0.47647327184677124, 0.24081075191497803, 0.17342476546764374, 0.277271568775177, 0.7330360412597656, 0.6310604214668274, -0.19900669157505035, 0.7875737547874451, -0.28552335500717163, 0.5940683484077454, 0.9462628364562988, -0.1009739488363266, 0.6261097192764282, 0.12194988876581192, -0.3064192831516266, 0.3248082399368286, 0.7247991561889648, -0.3028296232223511, 0.6054060459136963, 0.04647701606154442, -0.5752764344215393, -0.3299427032470703, -0.10200514644384384, -0.3006228804588318, 0.6322645545005798, 0.2751811146736145, -0.5025960206985474, -0.2615368366241455, 0.3910670280456543, 0.12380745261907578, -0.02126050554215908, -0.1860477179288864, 0.7401949763298035, 0.21321561932563782, -0.7765463590621948, 0.4396345615386963, 0.17964540421962738, 0.9657721519470215, -0.4787958264350891, -0.05165548995137215, -0.07746948301792145, 0.20601403713226318, 0.0031270391773432493, -0.9050386548042297, 0.275385320186615, 0.13916125893592834, -0.2205372303724289, -0.40969282388687134, 1.1523756980895996, -0.7904571294784546, -0.4346106946468353, 0.19938847422599792, 0.642347514629364, 0.43292689323425293, -0.12785547971725464, -0.5558332204818726, 0.027495425194501877, 0.14025843143463135, -0.27444761991500854, 0.3351656496524811, 0.6781794428825378, 0.012365601025521755, 0.3260387182235718, 0.41425031423568726, -0.05022893100976944, 0.2890174984931946, 0.15381167829036713, 0.4254531264305115, -0.7091295123100281, -0.4374984800815582, -0.9301306009292603, 0.3396071791648865, 0.07940235733985901, -0.3600916266441345, 0.8487256765365601, 0.8240498304367065, 0.9553616642951965, -0.3087872266769409, 1.100111722946167, -0.022649291902780533, 0.480085551738739, -0.5239545106887817, 0.41599875688552856, -0.559174120426178, -0.06743613630533218, -0.0273575522005558, -0.9306250810623169, -0.03605913743376732, 0.5270513892173767, -0.11445069313049316, -0.034738939255476, 0.8907384872436523, 0.5820098519325256, -0.1250796616077423, -0.14874646067619324, 0.6196068525314331, -0.27037790417671204, 0.12896455824375153, 0.6987504959106445, 1.1457563638687134, -0.4613059163093567, 0.7053588628768921, -0.16203424334526062, 0.2001299113035202, -0.26572927832603455, -0.8240326642990112, -0.8924604654312134, -0.5521429777145386, -0.36019524931907654, -0.3215625584125519, -0.10118088871240616, 0.6804158091545105, 0.4781113564968109, -1.0642387866973877, -0.19230811297893524, 0.014719365164637566, -0.012169514782726765, 0.07877033203840256, -0.16729041934013367, 0.023650258779525757, -0.43569326400756836, -0.91725093126297, 0.5704089999198914, 0.5152167081832886, 0.16824796795845032, -0.20722658932209015, 0.09015157073736191, -0.32283419370651245, -0.053606994450092316, 0.6788486242294312, -0.06178664043545723, -0.6848245859146118, -0.4590936601161957, 0.13708850741386414, -0.3362009525299072, 0.36260873079299927, 0.839344322681427, -0.3160226345062256, 0.22035188972949982, 0.5435134172439575, 0.6265661716461182, 0.7574675679206848, -0.1642952412366867, 0.4758511483669281, -0.8793686032295227, 0.31700676679611206, 0.3339506983757019, 0.5470873117446899, 0.35158735513687134, -0.3032231032848358, 0.6734092235565186, 0.6116558909416199, -0.5435584783554077, -0.7642589211463928, 0.3258112072944641, -0.9253413081169128, -0.22656598687171936, 1.1303246021270752, -0.1960524022579193, -0.2526458203792572, -0.32812872529029846, -0.2572825849056244, 0.13189765810966492, -0.15063835680484772, 0.1407168209552765, 1.031121015548706, -0.06986173242330551, -0.5626510381698608, -0.8053598403930664, 0.3583262264728546, 0.3325750529766083, -0.992944061756134, -0.2710740566253662, 0.2763594686985016, 0.4481433033943176, 0.3504999876022339, 1.0126444101333618, -0.2157551497220993, 0.3794209659099579, 0.23642142117023468, 0.3089503049850464, 0.027942702174186707, -0.3466089367866516, -0.27803391218185425, 0.44456273317337036, 0.16704435646533966, -0.2533659338951111 ]
http://arxiv.org/abs/2404.05449v2
http://arxiv.org/pdf/2404.05449v2
RoT: Enhancing Large Language Models with Reflection on Search Trees
2024-04-08T12:31:23
2024-04-11T05:21:00
Wenyang Hui, Chengyue Jiang, Yan Wang, Kewei Tu
cs.CL
cs.CL
Large language models (LLMs) have demonstrated impressive capability in reasoning and planning when integrated with tree-search-based prompting methods. However, since these methods ignore the previous search experiences, they often make the same mistakes in the search process. To address this issue, we introduce Reflection on search Trees (RoT), an LLM reflection framework designed to improve the performance of tree-search-based prompting methods. It uses a strong LLM to summarize guidelines from previous tree search experiences to enhance the ability of a weak LLM. The guidelines are instructions about solving this task through tree search which can prevent the weak LLMs from making similar mistakes in the past search process. In addition, we proposed a novel state selection method, which identifies the critical information from historical search processes to help RoT generate more specific and meaningful guidelines. In our extensive experiments, we find that RoT significantly improves the performance of LLMs in reasoning or planning tasks with various tree-search-based prompting methods (e.g., BFS and MCTS). Non-tree-search-based prompting methods such as Chain-of-Thought (CoT) can also benefit from RoT guidelines since RoT can provide task-specific knowledge collected from the search experience.
[ -0.18244315683841705, -0.6822913885116577, 0.8376715779304504, 0.15569037199020386, -0.3985910713672638, 0.2121850997209549, -0.1762736290693283, -0.31424686312675476, 0.39108750224113464, 0.6974417567253113, -0.6221188902854919, -0.4716792106628418, -0.3284570574760437, 0.07653495669364929, -0.5021107196807861, 0.750211775302887, -0.10040074586868286, 0.006458214018493891, -0.0533333420753479, 0.09267854690551758, -0.41476690769195557, -0.19081875681877136, -0.6208635568618774, -0.2895016372203827, 0.523667573928833, 0.3614160716533661, 0.8016870617866516, 0.3782695233821869, 0.35849979519844055, 0.1673775166273117, -0.5089726448059082, 0.435443252325058, -0.638145387172699, 0.5951136350631714, -0.40949347615242004, -0.44488027691841125, -0.3718396723270416, -0.3322676122188568, 0.554648220539093, 0.37533578276634216, -0.3666583001613617, -0.04920659586787224, -0.10374775528907776, 0.7069109082221985, -0.794387936592102, 0.31206566095352173, -0.9963809847831726, 0.04432147741317749, -0.1964016556739807, -0.6891584992408752, -0.8051721453666687, -0.5582728385925293, 0.1915435791015625, -0.5083522796630859, 0.22711904346942902, -0.07733725011348724, 0.5121371150016785, 0.1369922012090683, -0.1897713840007782, -0.2444860190153122, -0.7725346684455872, 0.6884788870811462, -0.8653726577758789, 0.32600831985473633, 0.42842280864715576, 0.2540706694126129, -0.5382483601570129, -0.5506064295768738, -0.22980423271656036, -0.2743131220340729, -0.009693676605820656, 0.08793830871582031, 0.095086969435215, 0.343129962682724, 0.3421911895275116, 0.287016361951828, -0.2833915650844574, -0.19780249893665314, 0.06318720430135727, -0.2569020390510559, 0.4841436445713043, 0.2594508230686188, 0.31602680683135986, -0.011167172342538834, -0.01695418916642666, -0.34836387634277344, -1.1428972482681274, 0.1271888166666031, 0.0521998256444931, 0.4392569661140442, 0.36943182349205017, 0.6033449172973633, -0.33418890833854675, 0.6068415641784668, -0.21233370900154114, -0.46297529339790344, -0.16088378429412842, -0.21227237582206726, -0.12185956537723541, -0.06151660904288292, 0.2662715017795563, 0.20413708686828613, 0.3250408172607422, -0.0514935702085495, -0.5001987218856812, -0.043904297053813934, 0.2972707152366638, -0.7913546562194824, -0.27644187211990356, -0.21782410144805908, -0.49772173166275024, -0.31065407395362854, 0.037791505455970764, -0.8572041988372803, -0.4849008321762085, -0.20185384154319763, 0.2724212110042572, -0.42687880992889404, -0.36448371410369873, 0.06846358627080917, -0.17983931303024292, 0.33764731884002686, 0.7774674296379089, -0.6221028566360474, 0.42802414298057556, 0.671851634979248, 0.6896675825119019, -0.07980126142501831, -0.2176484912633896, -0.7866995334625244, 0.3268051743507385, -0.6244350075721741, 0.5334636569023132, -0.9567949175834656, -0.5358477234840393, 0.3667592704296112, -0.1818215250968933, 0.17090293765068054, -0.6766886711120605, 0.47791972756385803, -0.7686042785644531, 0.06372830271720886, -0.32768720388412476, -0.14510881900787354, -0.5150468945503235, 0.28335511684417725, -0.7609164118766785, 1.4473323822021484, 0.1847931146621704, -0.660809338092804, 0.3174121379852295, -0.5944568514823914, -0.7091312408447266, 0.15557464957237244, -0.274591863155365, -0.37365981936454773, 0.40710875391960144, 0.5758286714553833, 0.27188998460769653, -0.4476151466369629, 0.5729662775993347, -0.3004574179649353, -0.38372287154197693, -0.014331832528114319, -0.45815497636795044, 0.7637306451797485, -0.15094994008541107, -0.5895452499389648, 0.22305019199848175, -0.22796876728534698, 0.36817118525505066, 0.05415157973766327, -0.47094619274139404, -0.25797364115715027, 0.5173072814941406, -0.2770019769668579, 0.06375566124916077, 0.07925163209438324, -0.14638715982437134, 0.4892244338989258, -0.5149562954902649, 0.33090347051620483, 0.7783201932907104, -0.06051991134881973, 0.08202663064002991, -0.3716074824333191, 0.6470651626586914, -0.13657866418361664, 0.13875360786914825, -0.4844508171081543, -0.44813674688339233, -0.7489733099937439, -0.12431944161653519, -0.04421716928482056, 0.3334335386753082, -0.8414465188980103, 0.12221352010965347, -0.31738486886024475, -0.26199477910995483, -0.4588029980659485, 0.09244831651449203, 0.3563959002494812, 0.11125735193490982, 0.5680418014526367, -0.24845358729362488, -0.7658450603485107, -0.552291989326477, -0.2095666527748108, -0.5051172375679016, 0.12591512501239777, 0.5947532653808594, 0.3084625005722046, -0.2556785047054291, 1.10061514377594, -0.5180870294570923, -0.19359862804412842, -0.347460001707077, -0.056620582938194275, 0.0948919951915741, -0.19972483813762665, 0.18665845692157745, -0.6167296767234802, -0.5579099059104919, -0.11680962890386581, -0.3975706398487091, -0.16088257730007172, 0.0048531354404985905, -0.024755580350756645, 0.38454318046569824, 0.5245805382728577, -0.7193066477775574, 0.5801252126693726, 0.4344556927680969, -0.30828285217285156, 0.7100802063941956, -0.028516031801700592, -0.07763253897428513, -0.7175140380859375, 0.08733890950679779, -0.3273722231388092, -0.38573965430259705, -0.2507755756378174, 0.2558472156524658, -0.04282652214169502, 0.049952805042266846, -0.41640758514404297, 0.6206791996955872, -0.565236508846283, -0.20794518291950226, -0.2818616032600403, 0.03784623742103577, 0.010042287409305573, 0.3751015067100525, 0.14924558997154236, 0.8367733955383301, 0.635753870010376, -0.5130552053451538, 0.08804204314947128, 0.15487506985664368, -0.32490378618240356, 0.13688868284225464, -0.19869457185268402, 0.2209542691707611, -0.06153247877955437, 0.5878335237503052, -0.8121436238288879, -0.009962880983948708, -0.0695372223854065, -0.039597347378730774, 0.31446608901023865, -0.16525882482528687, -0.52106773853302, -0.42853325605392456, -0.6832671761512756, 0.4827410876750946, 0.4388877749443054, -0.7848605513572693, 0.8432313799858093, 0.10626459121704102, -0.1585896611213684, -0.5590630173683167, -0.3448062241077423, 0.2075689435005188, -0.057969510555267334, -0.4818272292613983, 0.47501930594444275, 0.019580338150262833, -0.2061813473701477, 0.03172945976257324, -0.40595903992652893, 0.051441337913274765, 0.05969981476664543, 0.1921308934688568, 0.2681543231010437, -0.3772643506526947, -0.1496589183807373, 0.04153026267886162, 0.09765444695949554, 0.1534012109041214, -0.17683184146881104, 0.727008044719696, 0.001333758351393044, -0.3572307229042053, -0.427902489900589, 0.08764953911304474, 0.7249357104301453, -0.36861419677734375, 0.48957446217536926, -0.01086997240781784, -0.15125931799411774, -0.5318867564201355, -0.8389771580696106, -0.5235511660575867, -0.5083785057067871, 0.2874237596988678, -0.3532407879829407, -0.946919858455658, 0.20365604758262634, -0.42002296447753906, 0.07017556577920914, 0.2390562891960144, 0.444804310798645, -0.18581177294254303, 1.256814956665039, 0.62156742811203, -0.376102089881897, 0.5836524963378906, -0.19833479821681976, 0.25937074422836304, -1.0136173963546753, -0.1591196060180664, -0.407386839389801, -0.24404607713222504, -0.37444624304771423, -0.6958281397819519, 0.22333301603794098, 0.20846328139305115, -0.11335013806819916, 0.08810108155012131, -0.5174501538276672, 0.6006697416305542, 0.40220701694488525, 0.10538014024496078, 0.41663268208503723, 0.02362094260752201, -0.30496567487716675, -0.03229835629463196, -0.6718976497650146, -0.475872665643692, 0.8849031925201416, 0.27033013105392456, 0.9260135293006897, -0.07141973078250885, 0.7356047630310059, 0.149931401014328, 0.5041095018386841, -0.8542569279670715, 0.9236353635787964, 0.025381142273545265, -0.5122890472412109, -0.6317876577377319, -0.4514673948287964, -0.8059934377670288, 0.25783219933509827, 0.2201792597770691, -0.6797165274620056, -0.13183419406414032, 0.11238165944814682, -0.03690090775489807, 0.48350057005882263, -0.20971858501434326, 0.22329489886760712, -0.3654538094997406, 0.006521322764456272, -0.47444528341293335, -0.2656617760658264, 0.29906347393989563, 0.10747857391834259, 0.11357473582029343, -0.05576283112168312, 0.059467218816280365, 0.570268988609314, -0.495776504278183, 1.0407103300094604, -0.4165966212749481, 0.009173098020255566, 0.5719096660614014, 0.7039294838905334, 1.2881414890289307, -0.0855790451169014, -0.15355046093463898, -0.30525609850883484, -0.013466829434037209, 0.07268967479467392, -0.6109622716903687, 0.46553051471710205, -0.4399104714393616, -0.8354694843292236, -0.2646278142929077, -0.5050246119499207, -0.211531400680542, 0.27852559089660645, -0.06028379127383232, 0.27236491441726685, -0.19595740735530853, 0.2409191131591797, 0.6892693638801575, -0.24197106063365936, 0.42688849568367004, 0.6791412234306335, -0.7785548567771912, -0.3908331096172333, 0.8698756694793701, -0.015797583386301994, 0.14319446682929993, 0.4246779680252075, 0.527363657951355, -0.26659783720970154, -0.6750514507293701, -0.09228571504354477, 0.30592766404151917, -0.6596068143844604, -0.5959404110908508, -0.32927271723747253, -0.369718074798584, -0.1283993273973465, -0.05751078948378563, -0.26310616731643677, -0.26256370544433594, -0.06380873173475266, -0.10727272927761078, 0.39190512895584106, 0.8881670832633972, 0.41685086488723755, 0.17871466279029846, -0.4782911539077759, 0.28075629472732544, 0.25761285424232483, 0.4316917955875397, 0.2211901843547821, -0.4383802115917206, -0.022254578769207, 0.05756568908691406, -0.42908287048339844, -0.9563011527061462, 0.33684855699539185, 0.14249002933502197, 0.51842200756073, 0.4364396333694458, 0.12264352291822433, 0.8227367997169495, -0.5954475402832031, 0.6103003621101379, 0.011803727596998215, -0.9305770397186279, 0.7665824890136719, -0.3227916955947876, 0.3185652792453766, 0.5936830639839172, 0.12672066688537598, -0.6645385026931763, -0.6980098485946655, -0.5345065593719482, -0.8486082553863525, 0.897273063659668, 0.01435048971325159, 0.06647779047489166, 0.05921313539147377, 0.37348178029060364, -0.08257053047418594, 0.1344466209411621, -0.8807548880577087, 0.023268818855285645, 0.01732620783150196, 0.03225838765501976, 0.29432588815689087, -0.5671872496604919, -0.25429046154022217, -0.3663941025733948, 0.7999076247215271, -0.37197527289390564, 0.014894208870828152, 0.19269973039627075, -0.1568443328142166, -0.4515385627746582, 0.09904783964157104, 0.500763475894928, 0.6427446603775024, 0.00954535510390997, 0.40895363688468933, 0.411133348941803, -0.357236385345459, 0.11669889092445374, -0.3518098294734955, -0.5542823076248169, 0.06138284131884575, 0.4991617500782013, 0.6209743618965149, 0.420904278755188, -0.6850667595863342, 0.3494909703731537, 0.1880447119474411, -0.12750878930091858, -0.09676077216863632, 0.29491135478019714, 0.12387949973344803, 0.15260298550128937, 0.41983312368392944, -0.20255474746227264, 0.14066509902477264, -0.6014050245285034, 0.10378880053758621, 0.7289398908615112, -0.2607262432575226, -0.25405219197273254, 0.14563246071338654, 0.17468047142028809, -0.6326574683189392, 0.8342275619506836, -0.14678125083446503, -0.8962486982345581, 0.39894863963127136, 0.7689120173454285, 0.9999438524246216, -0.5376893281936646, 0.5026121139526367, 0.2860521078109741, 0.38567227125167847, -0.46840861439704895, 0.5189217329025269, -0.127982497215271, -0.5740665793418884, -0.8119727373123169, -0.5498003959655762, -0.4649540185928345, 0.36273276805877686, -0.43709176778793335, 0.4076381325721741, -0.5376824140548706, 0.04246688634157181, -0.5698109865188599, -0.013832350261509418, -0.4352979063987732, 0.04858781769871712, -0.09869137406349182, 1.1997886896133423, -0.5931275486946106, 0.8036702275276184, 0.5070375800132751, -0.04906812310218811, -0.9534553289413452, 0.3087387681007385, 0.004288488533347845, -0.8174718618392944, 0.6168999671936035, 0.2547580599784851, -0.4484061896800995, -0.2013910859823227, -0.5827552080154419, -1.1643062829971313, 1.0626521110534668, 0.4721425473690033, -0.5801191926002502, -0.24190503358840942, 0.10715784877538681, 0.6262345910072327, -0.2561294138431549, 0.5080130696296692, 0.4515215754508972, 0.628348171710968, 0.35572344064712524, -0.8985480666160583, 0.22793936729431152, 0.04032387584447861, 0.18164807558059692, 0.48060548305511475, -0.45421481132507324, 0.4893556535243988, -0.2092852145433426, -0.40688180923461914, -0.008701895363628864, 0.3760966360569, 0.48005637526512146, 0.25015655159950256, 0.5635953545570374, 0.5071477293968201, 0.829615592956543, 0.014109528623521328, 0.9033320546150208, -0.14451070129871368, 0.13371625542640686, 1.319312334060669, -0.5421000123023987, 1.1564874649047852, 0.4853454828262329, -0.2811688184738159, 0.6421744227409363, 0.49205482006073, 0.2133650779724121, 0.6365926861763, 0.2824499011039734, -0.32547569274902344, -0.3505980968475342, -0.14849822223186493, -0.2768007516860962, 0.17204129695892334, 0.3487476110458374, -0.36458832025527954, -0.4015774726867676, -0.32931962609291077, -0.04966149106621742, -0.023517990484833717, -0.20901229977607727, 0.8398815393447876, 0.07123707234859467, -0.9225684404373169, 0.4711171090602875, 0.006345483940094709, 0.4987455904483795, -0.46106842160224915, -0.25699612498283386, -0.20058874785900116, -0.017763692885637283, -0.3556918203830719, -0.761507511138916, 0.3135777711868286, -0.19857123494148254, -0.1695166975259781, -0.49787360429763794, 0.6830913424491882, -0.338504433631897, -0.37132757902145386, 0.65987229347229, 0.41159048676490784, 0.031856317073106766, -0.2606047987937927, -0.5674278736114502, 0.2927040159702301, 0.16977323591709137, -0.44315052032470703, 0.11333096027374268, 0.5114174485206604, -0.399426132440567, 0.8719485402107239, 0.6362449526786804, 0.21847274899482727, 0.0034188060089945793, 0.16534309089183807, 1.1174577474594116, -0.8585060238838196, -0.19882847368717194, -0.8855526447296143, 0.3478182554244995, 0.12164682149887085, 0.028101321309804916, 0.47444984316825867, 0.7704986929893494, 0.7266796231269836, 0.14674052596092224, 0.5869104862213135, 0.056034039705991745, 0.5651084780693054, -0.7093966007232666, 0.40155327320098877, -0.36886855959892273, 0.38841116428375244, -0.23429836332798004, -1.3833138942718506, -0.19927841424942017, 0.6871281862258911, -0.4451870918273926, 0.15128175914287567, 0.8317948579788208, 1.0439351797103882, 0.011678497307002544, 0.09313703328371048, 0.29530787467956543, 0.39163413643836975, 0.6080384850502014, 0.3287610411643982, 1.1276978254318237, 0.031881898641586304, 0.5954667925834656, 0.026625510305166245, -0.01650061272084713, -0.5704436898231506, -0.8975769281387329, -0.7864459753036499, -0.5025244951248169, -0.15802179276943207, -0.2618559002876282, 0.10701737552881241, 0.7107702493667603, 0.730035126209259, -0.6704475283622742, -0.4061709940433502, -0.41089025139808655, 0.36962032318115234, -0.26659083366394043, -0.2787237763404846, 0.29753634333610535, -0.4158477783203125, -0.1855839490890503, 0.8587457537651062, 0.5113086700439453, -0.15523502230644226, -0.43146222829818726, -0.4192241132259369, -0.15006017684936523, 0.11912507563829422, 0.6513277292251587, 0.22734621167182922, -1.1136311292648315, -0.3292692303657532, -0.004234714433550835, -0.015002868138253689, 0.2654208540916443, 1.2437126636505127, -0.9618310332298279, 0.5846838355064392, 0.5037146806716919, 0.5232349038124084, 0.9223147034645081, -0.14720912277698517, 0.5966775417327881, -0.5931915640830994, -0.1479554921388626, 0.6811555624008179, 0.2691906690597534, 0.2467406690120697, -0.24799059331417084, 0.6621970534324646, -0.09756682813167572, -0.3932132422924042, -0.9756748080253601, 0.2992630898952484, -0.665810227394104, -0.3411601185798645, 1.2258163690567017, 0.05849280580878258, -0.12302084267139435, 0.002249840646982193, -0.5480967164039612, -0.02772790752351284, -0.4167943000793457, 0.9249695539474487, 0.8056750893592834, -0.1327192336320877, -0.23883798718452454, -0.38426023721694946, 0.7901572585105896, 0.6989001631736755, -0.8411257266998291, 0.43348562717437744, 0.4090505838394165, 0.14567364752292633, 0.12278798222541809, 0.7377433180809021, -0.1555004119873047, 0.32770591974258423, -0.41397541761398315, -0.1551429033279419, 0.1467345654964447, -0.8193808197975159, -0.20769797265529633, 0.016305122524499893, 0.6211850047111511, 0.5088099241256714 ]
http://arxiv.org/abs/2404.05446v1
http://arxiv.org/pdf/2404.05446v1
XL$^2$Bench: A Benchmark for Extremely Long Context Understanding with Long-range Dependencies
2024-04-08T12:29:07
2024-04-08T12:29:07
Xuanfan Ni, Hengyi Cai, Xiaochi Wei, Shuaiqiang Wang, Dawei Yin, Piji Li
cs.CL
cs.CL
Large Language Models (LLMs) have demonstrated remarkable performance across diverse tasks but are constrained by their small context window sizes. Various efforts have been proposed to expand the context window to accommodate even up to 200K input tokens. Meanwhile, building high-quality benchmarks with much longer text lengths and more demanding tasks to provide comprehensive evaluations is of immense practical interest to facilitate long context understanding research of LLMs. However, prior benchmarks create datasets that ostensibly cater to long-text comprehension by expanding the input of traditional tasks, which falls short to exhibit the unique characteristics of long-text understanding, including long dependency tasks and longer text length compatible with modern LLMs' context window size. In this paper, we introduce a benchmark for extremely long context understanding with long-range dependencies, XL$^2$Bench, which includes three scenarios: Fiction Reading, Paper Reading, and Law Reading, and four tasks of increasing complexity: Memory Retrieval, Detailed Understanding, Overall Understanding, and Open-ended Generation, covering 27 subtasks in English and Chinese. It has an average length of 100K+ words (English) and 200K+ characters (Chinese). Evaluating six leading LLMs on XL$^2$Bench, we find that their performance significantly lags behind human levels. Moreover, the observed decline in performance across both the original and enhanced datasets underscores the efficacy of our approach to mitigating data contamination.
[ -0.31510838866233826, -0.579190194606781, 0.9176486730575562, 0.29677996039390564, -0.29513922333717346, -0.23401352763175964, -0.5117461085319519, -0.9571969509124756, -0.4214010238647461, 0.6174792051315308, -0.3957057297229767, -0.3277980387210846, -0.561407744884491, 0.09487579762935638, -0.26082974672317505, 0.6539526581764221, -0.3702686131000519, -0.15418671071529388, -0.2965009808540344, -0.3755550682544708, -0.47913095355033875, -0.3418043255805969, -0.448164165019989, -0.2296711951494217, 0.5897599458694458, 0.19317984580993652, 0.4384121596813202, 0.9729928374290466, 0.3290373384952545, 0.17154331505298615, -0.24503181874752045, 0.135214701294899, -0.7677475214004517, 0.11386164277791977, -0.27945810556411743, -0.5276685953140259, -0.22737954556941986, -0.0980743020772934, 0.8435736298561096, 0.8078159689903259, 0.25731515884399414, 0.04112958163022995, 0.190659761428833, 0.8979105949401855, -0.8109875321388245, 0.337342768907547, -0.28197404742240906, 0.07395798712968826, -0.4585720896720886, 0.18507599830627441, -0.5248420834541321, 0.2701670825481415, 0.11258837580680847, -0.602109968662262, -0.2336253821849823, 0.19777525961399078, 0.568840742111206, 0.2344169169664383, -0.7889286279678345, 0.025052417069673538, -0.5018040537834167, 0.9837791323661804, -0.504166305065155, 0.5302554965019226, 0.6594935655593872, 0.379634827375412, -0.17808957397937775, -0.6363055109977722, -0.501548707485199, -0.11181307584047318, -0.14431829750537872, 0.12140046805143356, -0.010444015264511108, -0.12901264429092407, 0.521109402179718, 0.054623156785964966, -0.38922345638275146, 0.30401504039764404, -0.06280285865068436, 0.16474062204360962, 0.4937572777271271, 0.31834495067596436, -0.041511449962854385, -0.24824972450733185, -0.5550869703292847, -0.03560909256339073, -0.8208025097846985, 0.30930662155151367, -0.08119161427021027, 0.1793055534362793, -0.20442822575569153, 0.2807949483394623, -0.22071485221385956, 0.7701157331466675, -0.4201734960079193, -0.13857969641685486, 0.1354389637708664, -0.4846520721912384, -0.14554227888584137, -0.2845838665962219, 0.5037593841552734, 0.3806869685649872, 0.12429167330265045, -0.2614849805831909, -0.2747613787651062, -0.44629403948783875, -0.08242281526327133, -0.910407543182373, 0.2953677475452423, 0.22426936030387878, -0.4370698928833008, 0.3063200116157532, -0.0396425761282444, -0.7445263266563416, -0.5924577116966248, -0.5386272072792053, 0.20204101502895355, -0.5261539220809937, 0.022416802123188972, -0.019868601113557816, 0.119402676820755, 0.25512656569480896, 0.2788756787776947, -0.7877826690673828, 0.39048704504966736, 0.9232861399650574, 0.8101631999015808, -0.3433513939380646, -0.4767221510410309, -0.7549380660057068, 0.43415194749832153, -0.36412104964256287, 0.7654837965965271, -0.5072891116142273, -0.317749947309494, 0.0011152859078720212, 0.11069302260875702, 0.17185208201408386, -0.5278813242912292, 0.7461580038070679, -0.4066861867904663, -0.06775711476802826, -0.42285972833633423, -0.6811479926109314, -0.19842912256717682, 0.1245780810713768, -0.6886099576950073, 1.0723100900650024, 0.3907887935638428, -0.5963535904884338, 0.3538811504840851, -0.4505062699317932, -0.613915741443634, 0.07614670693874359, -0.43384677171707153, -0.08133377879858017, 0.008613839745521545, 0.1233704462647438, 0.4974040389060974, -0.6369177103042603, 0.15521518886089325, -0.35244548320770264, -0.6558738946914673, 0.07920772582292557, -0.35499221086502075, 0.5648224949836731, 0.02677001804113388, -0.6266273856163025, -0.11146235466003418, -0.8911504745483398, -0.001037973677739501, -0.09122910350561142, -0.2689669728279114, -0.5976967215538025, 0.18696318566799164, 0.3629149794578552, 0.14300566911697388, 0.2970997989177704, -0.47730591893196106, -0.16618794202804565, -0.13263113796710968, 0.5505570769309998, 0.8543168902397156, -0.4157414138317108, 0.16128751635551453, -0.24766816198825836, 0.2376081794500351, 0.0005865157581865788, -0.16765622794628143, -0.44855087995529175, 0.11949669569730759, -0.40374547243118286, -0.36665424704551697, 0.16841061413288116, 0.40147796273231506, -0.358171284198761, 0.4652283191680908, -0.44062137603759766, -0.15378855168819427, 0.13200226426124573, 0.2107718288898468, 0.4997026026248932, 0.5629209280014038, 0.47916513681411743, 0.03205249458551407, -0.3836635649204254, -0.9570824503898621, -0.30071568489074707, 0.09478868544101715, -0.2663043439388275, 0.6624443531036377, 0.46715131402015686, -0.310515433549881, 0.8216943740844727, -0.43235480785369873, -0.37644675374031067, -0.1307993084192276, -0.05112389847636223, 0.2597188949584961, 0.2365012764930725, 0.4381137192249298, -0.6449224352836609, -0.5333727598190308, 0.02820424549281597, -0.6322808265686035, -0.051922641694545746, -0.11266476660966873, -0.17247828841209412, 0.32410863041877747, 0.8033087849617004, -0.41340580582618713, 0.23555803298950195, 0.5350289940834045, -0.4539659321308136, 0.6265367269515991, -0.19847580790519714, -0.10466606914997101, -1.091830849647522, 0.2963855266571045, 0.16263802349567413, -0.35353347659111023, -0.27803054451942444, 0.1325201392173767, 0.6417784094810486, 0.1776784509420395, -0.36163145303726196, 0.7116320133209229, -0.6104627251625061, -0.16178445518016815, -0.25063878297805786, 0.3054288923740387, 0.05467221885919571, 0.26898810267448425, 0.08686515688896179, 0.7450024485588074, 0.22835202515125275, -0.2602260410785675, 0.12760864198207855, 0.14016784727573395, -0.7642764449119568, 0.5953523516654968, -0.5366179347038269, -0.07771887630224228, 0.08658146113157272, 0.7360692620277405, -0.9195405840873718, -0.10207927972078323, -0.24702323973178864, 0.02856774814426899, 0.3835858106613159, 0.06398586183786392, -0.7147971987724304, -0.282172828912735, -0.3094307482242584, 0.6234551668167114, 0.3987056612968445, -0.8082420825958252, 0.459753155708313, 0.16298329830169678, -0.16850601136684418, -0.9207205176353455, -0.6921627521514893, 0.3723592758178711, -0.14564763009548187, -0.5987211465835571, 0.4297780394554138, -0.021855365484952927, -0.3837537169456482, -0.10555000603199005, -0.18002940714359283, -0.01096343994140625, -0.05295613408088684, 0.29831066727638245, 0.11074494570493698, -0.2604900598526001, 0.21799686551094055, -0.04176899045705795, -0.10973111540079117, 0.24159687757492065, -0.0468766875565052, 0.41577810049057007, 0.0807599127292633, -0.014322806149721146, -0.1829172968864441, 0.4895002245903015, 0.7857288718223572, -0.0450432263314724, 0.6167379021644592, 0.38425517082214355, -0.40801262855529785, -0.3603782653808594, -0.6085428595542908, 0.1428062468767166, -0.4276884198188782, 0.8085359334945679, -0.6587805151939392, -0.8535460233688354, 0.5953928828239441, -0.07357056438922882, 0.11620428413152695, 0.3809812664985657, 0.25599971413612366, 0.0025870883837342262, 0.8073137998580933, 0.6111564636230469, -0.40966734290122986, 0.4191890060901642, 0.01851772330701351, -0.14393149316310883, -1.0435152053833008, 0.007677235174924135, -0.35587817430496216, -0.2319486141204834, -0.2841792404651642, -0.6282793283462524, 0.07429789006710052, 0.0762799084186554, -0.21766448020935059, 0.2854625880718231, 0.017986221238970757, 0.6963664293289185, 0.21913602948188782, 0.13511374592781067, 0.22675733268260956, -0.31764137744903564, -0.11984801292419434, 0.044151242822408676, -0.22241099178791046, -0.2719532549381256, 1.340790033340454, 0.46940386295318604, 0.5760520696640015, 0.07323335111141205, 0.33508092164993286, 0.14992743730545044, 0.10066220909357071, -0.6066587567329407, 0.48059356212615967, -0.44529110193252563, -0.3174833655357361, -0.42127788066864014, -0.46943509578704834, -1.0235059261322021, 0.15101800858974457, 0.188190296292305, -0.8305084705352783, 0.06372940540313721, -0.283223956823349, -0.26971951127052307, 0.22077101469039917, -0.43101027607917786, 0.7868130803108215, -0.40820732712745667, -0.7644861936569214, -0.33820608258247375, -0.7761771082878113, 0.29870760440826416, -0.323740690946579, 0.32986316084861755, -0.22629496455192566, -0.42323872447013855, 0.7954934239387512, -0.43062078952789307, 0.5637235045433044, -0.047557633370161057, -0.2864857316017151, -0.17218130826950073, -0.16347187757492065, 0.6796631217002869, 0.22457477450370789, -0.2201266884803772, 0.08696016669273376, 0.12980133295059204, -0.6440064311027527, -0.30544403195381165, 0.8868987560272217, -0.7509380578994751, -0.4445972740650177, -0.2833595275878906, -0.8869705200195312, -0.5677508115768433, 0.407280832529068, 0.1640235036611557, 0.5429205894470215, -0.1392914056777954, 0.49084416031837463, 0.6735578179359436, -0.13716907799243927, 0.4617583751678467, 0.7511545419692993, -0.0873648151755333, -0.13541603088378906, 0.4987984299659729, 0.11355716735124588, 0.20403707027435303, 0.5756850242614746, 0.0014522649580612779, -0.49296244978904724, -0.6526413559913635, -0.41579368710517883, 0.2162409871816635, -0.6796746850013733, 0.03756500035524368, -0.5599048733711243, -0.06124361976981163, -0.23992620408535004, -0.10969987511634827, -0.13437218964099884, -0.026518983766436577, -0.27946847677230835, 0.05323716625571251, 0.19984851777553558, 0.7388595342636108, -0.009743237867951393, -0.01668700762093067, -0.6852023601531982, 0.3712889850139618, 0.17816561460494995, 0.6837596893310547, 0.160413458943367, -0.5548186302185059, -0.6137409210205078, -0.2277185022830963, -0.0689491406083107, -0.3755488395690918, 0.040407873690128326, 0.026119226589798927, 0.5002623200416565, 0.5770285129547119, 0.14697040617465973, 0.7485355734825134, -0.6711833477020264, 0.7049492001533508, 0.11675496399402618, -0.9165970087051392, 0.10564722865819931, -0.48664045333862305, 0.6003015041351318, 0.7404283285140991, 0.244818314909935, -0.6282034516334534, -0.21217218041419983, -0.11266577988862991, -1.0469255447387695, 0.7586895823478699, -0.12522020936012268, 0.04427675902843475, 0.14907558262348175, 0.454539030790329, 0.3961124122142792, -0.24370521306991577, -0.573235809803009, -0.07925956696271896, 0.2383325845003128, -0.03472645580768585, -0.530945897102356, -0.4091808497905731, -0.15265990793704987, -0.15302254259586334, 0.36997556686401367, -0.1440531462430954, -0.048863109201192856, 0.09724730253219604, -0.22249123454093933, -0.09495020657777786, 0.25044864416122437, 0.6248876452445984, 0.9630506634712219, -0.3580843210220337, 0.22219884395599365, 0.3282272219657898, -0.4124796986579895, -0.005830120295286179, 0.5179517269134521, 0.3278852105140686, -0.2807128429412842, 0.4525924324989319, 0.6186730861663818, 0.292261004447937, -1.124995470046997, 0.40339550375938416, -0.1563713252544403, -0.12841206789016724, -0.4574277400970459, -0.05517399311065674, 0.39245718717575073, 0.2147970050573349, 0.5524596571922302, -0.32301145792007446, -0.027559367939829826, -0.5802356600761414, 0.3983213007450104, 0.2814420163631439, -0.5579649209976196, -0.01736276037991047, 0.5477485060691833, 0.19609510898590088, 0.1129327118396759, 0.49831390380859375, 0.07594462484121323, -0.2641596794128418, 0.6632480621337891, 0.5661259889602661, 0.48257938027381897, 0.20632198452949524, -0.39617857336997986, 0.23203422129154205, -0.005207459907978773, -0.2928517460823059, 0.1717800348997116, -0.31900593638420105, -0.3158528804779053, -0.5436674356460571, -0.43616631627082825, -0.41964486241340637, 0.5670091509819031, -0.689245343208313, 0.1964152306318283, -0.22070518136024475, 0.19917669892311096, 0.08246191591024399, 0.2566298842430115, -0.47991570830345154, 0.26273113489151, 0.19901017844676971, 1.1460368633270264, -0.5286911725997925, 0.9929019808769226, 0.3785681128501892, 0.009389176964759827, -0.5404625535011292, 0.2599354386329651, -0.060661278665065765, -0.7530964016914368, 0.7454642057418823, 0.647998034954071, -0.03745464235544205, -0.2894326150417328, -0.22289898991584778, -0.7859178781509399, 1.2156219482421875, 0.13905343413352966, -0.9663172960281372, -0.020802343264222145, 0.39244505763053894, 0.607602059841156, -0.24524946510791779, 0.2818525731563568, 0.8558075428009033, 0.5380052924156189, -0.31221136450767517, -0.7722633481025696, 0.41532811522483826, -0.28470614552497864, -0.02934182807803154, 0.380119264125824, -0.8538863062858582, 0.7712154984474182, -0.05013580247759819, -0.10740464925765991, 0.3943707048892975, 0.5570443272590637, 0.21331577003002167, 0.384583055973053, 0.6573663353919983, 0.552121639251709, 0.48610827326774597, 0.06015070155262947, 0.9703630805015564, -0.5627442598342896, 0.21038253605365753, 1.3635233640670776, -0.44382795691490173, 1.1723978519439697, 0.33582350611686707, -0.33347415924072266, 0.4367748200893402, 0.643014132976532, 0.08037123084068298, 0.24057170748710632, 0.4325145184993744, -0.33159440755844116, -0.19677571952342987, -0.06812267005443573, -0.4760465919971466, 0.2522686719894409, 0.4418216049671173, -0.49073633551597595, -0.1890190988779068, 0.017571326345205307, 0.09311240166425705, 0.14284874498844147, -0.15440723299980164, 0.5679640769958496, 0.25450262427330017, -0.8483167290687561, 0.6836566925048828, -0.09801916778087616, 0.6573256254196167, -0.6085127592086792, 0.23692528903484344, -0.23379386961460114, 0.40964335203170776, 0.0010348272044211626, -1.0519007444381714, -0.09202851355075836, -0.06403973698616028, -0.32918745279312134, -0.1283455193042755, 0.28350821137428284, -0.23961219191551208, -0.2824930250644684, 0.7766842842102051, 0.32524263858795166, 0.033478666096925735, -0.14124087989330292, -0.5595422983169556, 0.099945068359375, -0.18656103312969208, -0.524505615234375, 0.716310441493988, 0.5193508863449097, -0.046998608857393265, 0.41576912999153137, 0.45684191584587097, -0.023469088599085808, -0.4223369061946869, -0.017845887690782547, 0.6800293922424316, -0.8721802234649658, -0.5377652049064636, -0.8406579494476318, 0.06327788531780243, -0.1065668985247612, -0.4540424942970276, 0.6014952063560486, 0.7923405170440674, 0.701359212398529, 0.2916410565376282, 0.8161096572875977, 0.13223853707313538, 0.6069108247756958, -0.451465904712677, 0.7598469853401184, -0.8769196271896362, 0.23149263858795166, -0.12320926785469055, -0.9293561577796936, -0.2105218917131424, 0.07133200019598007, -0.4580925703048706, -0.058519307523965836, 0.8764338493347168, 0.4278019368648529, -0.10924901813268661, 0.023220114409923553, 0.4567181169986725, 0.41481679677963257, 0.2990439832210541, 0.9574294090270996, 0.6573045253753662, -0.21140709519386292, 0.7463520765304565, -0.20057478547096252, -0.4606946110725403, -0.2702603340148926, -0.8549836277961731, -0.8800860047340393, -0.5750586986541748, 0.15192435681819916, -0.3306930363178253, 0.12475185096263885, 0.6492208242416382, 0.7997136116027832, -0.6797639727592468, -0.3684552013874054, -0.13307103514671326, -0.11035898327827454, -0.2258528172969818, -0.22755031287670135, 0.6615769863128662, -0.3218816816806793, -0.7567242383956909, 0.42679208517074585, 0.34591832756996155, -0.16983984410762787, -0.09071695059537888, -0.05949162319302559, 0.007204309105873108, 0.10615868121385574, 0.8209057450294495, 0.43199828267097473, -0.7121242880821228, -0.3829538822174072, -0.044454049319028854, -0.22628648579120636, 0.15484677255153656, 0.7255522608757019, -0.7687538266181946, 0.3580399453639984, 0.4699915051460266, 0.698223888874054, 0.6516361236572266, -0.004569397773593664, 0.609063982963562, -0.3527893126010895, 0.005548195447772741, 0.033565957099199295, 0.5260676145553589, 0.08683914691209793, -0.35816606879234314, 0.6221765279769897, -0.037216927856206894, -0.7110726833343506, -0.8804920315742493, 0.15075072646141052, -1.180574893951416, -0.6670105457305908, 1.2901941537857056, -0.4455050826072693, -0.33673152327537537, -0.24072472751140594, -0.23703956604003906, 0.06643466651439667, -0.4135046899318695, 0.8088772892951965, 0.7850701808929443, -0.3377630114555359, -0.1624273955821991, -0.6253446340560913, 0.2767617404460907, 0.7709633708000183, -0.9850471615791321, 0.7216986417770386, 0.46916890144348145, 0.18410004675388336, -0.05903993174433708, 0.347083181142807, -0.13320088386535645, 0.324510782957077, -0.07683539390563965, -0.4069768190383911, 0.02129233069717884, -0.08665690571069717, -0.07112386077642441, 0.14878997206687927, -0.1312880665063858, 0.19669656455516815 ]
http://arxiv.org/abs/2404.05428v1
http://arxiv.org/pdf/2404.05428v1
Language Models on a Diet: Cost-Efficient Development of Encoders for Closely-Related Languages via Additional Pretraining
2024-04-08T11:55:44
2024-04-08T11:55:44
Nikola Ljubešić, Vít Suchomel, Peter Rupnik, Taja Kuzman, Rik van Noord
cs.CL
cs.CL
The world of language models is going through turbulent times, better and ever larger models are coming out at an unprecedented speed. However, we argue that, especially for the scientific community, encoder models of up to 1 billion parameters are still very much needed, their primary usage being in enriching large collections of data with metadata necessary for downstream research. We investigate the best way to ensure the existence of such encoder models on the set of very closely related languages - Croatian, Serbian, Bosnian and Montenegrin, by setting up a diverse benchmark for these languages, and comparing the trained-from-scratch models with the new models constructed via additional pretraining of existing multilingual models. We show that comparable performance to dedicated from-scratch models can be obtained by additionally pretraining available multilingual models even with a limited amount of computation. We also show that neighboring languages, in our case Slovenian, can be included in the additional pretraining with little to no loss in the performance of the final model.
[ -0.4281385838985443, -0.18621447682380676, 0.31497886776924133, 0.12361609935760498, -0.09775933623313904, 0.011417888104915619, -0.51991868019104, -0.5835292935371399, 0.28930604457855225, 0.7224326729774475, -0.33513087034225464, 0.026630748063325882, -0.683305025100708, 0.3672979772090912, -0.31206944584846497, 0.6339899897575378, -0.2461143583059311, 0.6027328968048096, -0.2809532582759857, -0.23751652240753174, 0.09305261075496674, -0.6642602682113647, -0.14265203475952148, -0.3826240301132202, 0.4920540452003479, -0.03777163848280907, 0.5687215924263, 0.7550913095474243, 0.47418755292892456, 0.23419663310050964, 0.0013741774018853903, -0.001357356901280582, -0.4023269712924957, 0.2431877702474594, 0.057132888585329056, -0.5034329295158386, -0.14513733983039856, 0.011259128339588642, 0.4710683226585388, 1.191059947013855, -0.008994368836283684, 0.37228426337242126, 0.10564814507961273, 0.7407947778701782, -0.6470164060592651, 0.1530892699956894, -0.4481673240661621, 0.14381754398345947, -0.42971551418304443, -0.01685098372399807, -0.3322746455669403, -0.5811614990234375, 0.1175846979022026, -0.7180587649345398, 0.007109362166374922, -0.1721859723329544, 0.9174458384513855, 0.3182903230190277, -0.2079099863767624, -0.30810075998306274, -0.8584408760070801, 0.5895727872848511, -0.6052938103675842, 1.0081913471221924, 0.5437594652175903, 0.10392230749130249, -0.11763754487037659, -0.702857255935669, -0.23783425986766815, -0.18782076239585876, 0.16200920939445496, 0.03659655153751373, -0.11063164472579956, -0.10005149990320206, 0.2410237342119217, 0.1373472809791565, -0.6615127325057983, -0.10270588845014572, -0.4795171320438385, -0.048482637852430344, 0.30434051156044006, -0.04933638125658035, 0.24677979946136475, 0.38651931285858154, 0.14070551097393036, -0.11928950250148773, -1.1649903059005737, -0.27921921014785767, 0.7289175987243652, 0.2309688776731491, 0.08870407193899155, 0.74050372838974, -0.2326061725616455, 0.9029712677001953, -0.11107157915830612, -0.02409946545958519, 0.16774173080921173, -0.6132809519767761, 0.06631593406200409, -0.057428862899541855, 0.608924150466919, -0.08533254265785217, 0.7009279131889343, -0.41592592000961304, 0.0024473501835018396, 0.3398853540420532, 0.09618856757879257, -0.9125925302505493, -0.5613020062446594, -0.1435755342245102, -0.45972010493278503, 0.1743544340133667, -0.3727352023124695, -0.512446939945221, -0.16118958592414856, -0.30381202697753906, 0.31805700063705444, -0.2611919045448303, -0.3964332044124603, 0.3998238146305084, -0.12699688971042633, 0.14438658952713013, 0.10487127304077148, -0.9236348867416382, 0.49386700987815857, 0.4797007143497467, 0.720069169998169, 0.1615043580532074, -0.2937565743923187, -0.2617625892162323, 0.13538356125354767, -0.5041128993034363, 0.6557431817054749, -1.116231918334961, -0.20448558032512665, -0.051714375615119934, -0.04243972525000572, 0.053717341274023056, -0.6414154171943665, 0.09477131068706512, -0.6996625661849976, 0.004984412807971239, -0.6368224620819092, -0.6176463961601257, -0.0052724797278642654, 0.25128769874572754, -0.822666585445404, 0.9977479577064514, 0.24681459367275238, -0.9659257531166077, 0.6408888101577759, -0.3855540454387665, -0.6309953927993774, 0.22204439342021942, -0.06685778498649597, 0.006306932773441076, 0.16220404207706451, 0.09719308465719223, 0.29048019647598267, -0.5449607968330383, 0.3744329810142517, -0.5371062159538269, -0.17142944037914276, -0.12196433544158936, -0.26019319891929626, 0.6837848424911499, 0.49839285016059875, 0.051593195647001266, -0.11006712168455124, -0.8108050227165222, -0.00997956097126007, 0.06434854865074158, -0.7992516756057739, -0.4969181418418884, 0.21937236189842224, 0.04374067485332489, 0.2236320525407791, 0.2994198501110077, -0.6116557121276855, 0.16059455275535583, -0.43529486656188965, 0.42217618227005005, 0.23555117845535278, -0.3808733820915222, 0.5597773790359497, -0.08196671307086945, 0.6919742822647095, -0.05354525148868561, 0.07785414159297943, -0.27049365639686584, -0.45514965057373047, -0.9162977933883667, 0.012270200066268444, 0.6601895689964294, 0.2512821853160858, -0.807004988193512, 0.30035272240638733, -0.3560446798801422, -0.5238423943519592, -0.8924731016159058, 0.10838369280099869, 0.5451978445053101, 0.08776528388261795, 0.19353309273719788, -0.5585816502571106, -0.7840463519096375, -0.7566184401512146, -0.3931252658367157, 0.07320515066385269, -0.047645870596170425, 0.0554971769452095, 0.5532045364379883, -0.0704779177904129, 0.8169901371002197, -0.2470432072877884, 0.2622789740562439, -0.3453134000301361, -0.3060576021671295, 0.10216191411018372, 0.6161145567893982, 0.6959160566329956, -0.6616343855857849, -0.6564136147499084, 0.20787957310676575, -0.5906141400337219, 0.0542757511138916, 0.33120664954185486, 0.16635966300964355, -0.061762697994709015, 0.5400789380073547, -0.4115051329135895, 0.07475253194570541, 0.8575319647789001, 0.07467814534902573, 0.506458044052124, -0.4959932267665863, -0.006971700582653284, -0.9456593990325928, 0.18388284742832184, -0.12619240581989288, -0.12592683732509613, -0.8533937931060791, 0.11460991948843002, -0.041345324367284775, -0.2674064338207245, -0.26576411724090576, 0.6749621033668518, -0.805128812789917, -0.12088743597269058, -0.21735136210918427, -0.2370045781135559, -0.08489907532930374, 0.26739779114723206, 0.45962995290756226, 0.6686971187591553, 0.8082485198974609, -0.5956478118896484, 0.36416929960250854, 0.08212105929851532, -0.70856112241745, -0.019346782937645912, -0.7052589654922485, 0.12435326725244522, -0.13002832233905792, 0.26069018244743347, -0.31310275197029114, -0.3659917712211609, 0.41232532262802124, -0.26084887981414795, 0.4588868319988251, -0.49342080950737, -0.5325608849525452, -0.39887529611587524, -0.03914317861199379, 0.5003114938735962, 0.5490680932998657, -0.4908316731452942, 0.5795640349388123, 0.6974982619285583, -0.3146958649158478, -0.26809895038604736, -0.6315644979476929, 0.08232910186052322, -0.20073889195919037, -0.4846535623073578, -0.10556299239397049, -0.17397408187389374, -0.073087178170681, 0.1587429940700531, -0.05826970562338829, -0.21084311604499817, 0.21627581119537354, -0.01935032568871975, -0.3467990458011627, -0.47393128275871277, 0.001643292373046279, 0.0021912800148129463, -0.17406293749809265, 0.014896707609295845, -0.653423547744751, 0.8154363036155701, 0.02575521729886532, -0.32673248648643494, 0.1240132600069046, 0.4344708323478699, 0.2933276295661926, -0.7056745290756226, 0.9284051060676575, 0.31395021080970764, -0.5235743522644043, 0.17444363236427307, -0.6624182462692261, -0.027790002524852753, -0.447343111038208, 0.4852222204208374, -0.5963428020477295, -0.684531033039093, 0.6011496186256409, -0.26461416482925415, -0.29482412338256836, 0.10115401446819305, 0.5367635488510132, 0.34006014466285706, 1.0459988117218018, 0.8267507553100586, -0.18249386548995972, 0.5233858227729797, 0.011564097367227077, 0.17956089973449707, -0.6834126710891724, -0.30661430954933167, -0.858222246170044, 0.1749717742204666, -0.6117008924484253, -0.48128440976142883, 0.12444564700126648, 0.027593841776251793, -0.22992894053459167, 0.6664336323738098, -0.2145196497440338, 0.853319525718689, 0.6303717494010925, -0.07312512397766113, -0.010506663471460342, -0.12126655876636505, -0.30225929617881775, -0.03625747933983803, -0.936485767364502, -0.5823013782501221, 1.215277910232544, 0.05339046195149422, 1.006504774093628, -0.2261120080947876, 0.638177216053009, -0.4438474476337433, 0.21890585124492645, -0.3665684461593628, 0.16791047155857086, -0.2803618907928467, -0.7934576869010925, -0.021305449306964874, -0.564708411693573, -0.763546884059906, 0.28900396823883057, -0.12457144260406494, -0.5728839039802551, 0.2714262008666992, 0.2964826822280884, -0.14454065263271332, 0.23630541563034058, -0.6677671670913696, 0.91302490234375, -0.37391021847724915, -0.3675723671913147, -0.005579716991633177, -0.8152263164520264, -0.021214231848716736, -0.3587741255760193, 0.3083956837654114, -0.13044731318950653, 0.18984022736549377, 0.9165873527526855, -0.2549055814743042, 0.4878504276275635, -0.2977035641670227, -0.05283716693520546, -0.03583834320306778, 0.1330820769071579, 0.327367901802063, -0.206439808011055, -0.2388458400964737, 0.017238928005099297, 0.220814511179924, -0.45182687044143677, -0.38233643770217896, 0.506290853023529, -0.5974774956703186, -0.4652349352836609, -0.18826919794082642, -0.29921260476112366, -0.31509673595428467, 0.4629310667514801, 0.4389900863170624, 0.47112396359443665, -0.17246194183826447, 0.15399567782878876, 0.520776093006134, -0.1924712061882019, 0.2539924085140228, 0.4388448894023895, -0.03836847096681595, -0.2529800236225128, 1.0070587396621704, 0.13511088490486145, 0.20051690936088562, 0.22276559472084045, 0.25175273418426514, -0.0663171336054802, -0.7389997243881226, -0.41307997703552246, 0.29202505946159363, -0.5824933648109436, -0.1407112032175064, -0.8927792310714722, 0.05664575472474098, -0.4955909550189972, -0.22588884830474854, -0.8774890303611755, -0.2873727083206177, -0.2789645195007324, 0.15878857672214508, 0.13490773737430573, 0.9375299215316772, -0.1171499565243721, 0.19196322560310364, -0.8846831917762756, 0.07398808002471924, -0.07759282737970352, 0.4624979794025421, 0.17979533970355988, -0.3449825644493103, -0.5970020890235901, 0.3876141309738159, 0.029139671474695206, -0.748790979385376, 0.6031665802001953, 0.5246196389198303, 0.6578735709190369, 0.4903477430343628, -0.007727164775133133, 0.8706700801849365, -0.9088427424430847, 0.5719338655471802, 0.11508916318416595, -0.8383781909942627, 0.30108997225761414, -0.11619821935892105, 0.39069175720214844, 0.6429898738861084, 0.8986033797264099, -0.6067240834236145, -0.43529605865478516, -0.17035961151123047, -0.6941125988960266, 0.6831214427947998, -0.003573303110897541, 0.4134204089641571, -0.1256849467754364, 0.29749855399131775, 0.40491199493408203, 0.18045522272586823, -0.8226417899131775, -0.04324926435947418, -0.26378944516181946, -0.15361721813678741, -0.23615457117557526, -0.20806194841861725, 0.03380192443728447, -0.48657017946243286, 0.6127716302871704, -0.09532292187213898, 0.06195161119103432, -0.24302591383457184, -0.3561178147792816, -0.1683969795703888, 0.048871610313653946, 0.4146084785461426, 0.5429283976554871, -0.009653734043240547, 0.21011076867580414, 0.1821400672197342, -0.43479111790657043, 0.21545353531837463, 0.0014098177198320627, 0.10783422738313675, -0.1891881376504898, 0.34714576601982117, 0.7408472299575806, 0.3699854016304016, -0.6256276965141296, 0.31951671838760376, -0.132569819688797, 0.030350441113114357, -0.06992752850055695, -0.0026619713753461838, 0.4706476330757141, 0.258931040763855, -0.02245938405394554, 0.15181905031204224, 0.08754615485668182, -0.5039674639701843, 0.01875660941004753, 0.412507563829422, -0.27026379108428955, -0.664893388748169, 0.7046170234680176, 0.2474488914012909, -0.06145733594894409, 0.6381161212921143, -0.2293047159910202, -0.7578796148300171, 0.4346446394920349, 0.7417246103286743, 0.5468897819519043, -0.37280234694480896, -0.07008499652147293, 0.31550332903862, 0.40291672945022583, -0.5382160544395447, 0.286898672580719, -0.2460383176803589, -0.928900420665741, -0.21922780573368073, -0.9872663617134094, -0.2402721494436264, -0.21304762363433838, -0.7995288372039795, 0.14480507373809814, -0.021941669285297394, -0.10978896170854568, 0.03689894080162048, 0.03620269522070885, -0.9129798412322998, 0.06945573538541794, 0.17116236686706543, 0.9121602177619934, -1.056098461151123, 1.2067514657974243, 0.7412322759628296, -0.3043278157711029, -0.4604395925998688, -0.32043594121932983, -0.37218302488327026, -0.723534882068634, 0.7558629512786865, 0.1143772304058075, -0.11675114184617996, 0.026215165853500366, -0.3391556739807129, -1.103355050086975, 0.37325647473335266, 0.930608332157135, -0.836194634437561, -0.3548259735107422, 0.09096395969390869, 0.6888436675071716, -0.30749085545539856, 0.24900218844413757, 0.6392085552215576, 0.5217323899269104, 0.04040374234318733, -0.8831228017807007, -0.16455470025539398, -0.3773488998413086, -0.07254278659820557, 0.42506617307662964, -0.3252912163734436, 0.836525022983551, -0.12565341591835022, -0.23848888278007507, 0.06059134751558304, 0.42710667848587036, -0.25397613644599915, -0.18165697157382965, 0.025267740711569786, 0.3238714337348938, 0.568514347076416, -0.05860124155879021, 1.2073606252670288, -0.6476671695709229, 0.19954773783683777, 1.0797995328903198, -0.5306839346885681, 0.7299349308013916, 0.3559420108795166, -0.3001149594783783, -0.06312540173530579, 0.861075758934021, -0.0992918610572815, 0.7947806119918823, 0.35214853286743164, -0.18804602324962616, -0.4339739978313446, -0.13567276298999786, -0.5973506569862366, 0.430132120847702, 0.212611123919487, -0.23098692297935486, -0.17413374781608582, 0.31835100054740906, 0.19579118490219116, -0.07473219186067581, -0.05355635657906532, 0.763248860836029, 0.018381858244538307, -0.6456212401390076, 0.4026133418083191, -0.14353781938552856, 0.5729214549064636, -0.7752840518951416, 0.21039806306362152, -0.3002806007862091, 0.20853610336780548, 0.14366909861564636, -0.3312440812587738, 0.3727509081363678, 0.1920350044965744, -0.015730760991573334, -0.2666819393634796, 0.4836679995059967, -0.8197914361953735, -0.6215426325798035, 0.615195095539093, 0.4009958803653717, 0.37419793009757996, 0.019524358212947845, -0.37821054458618164, 0.35583019256591797, -0.24100518226623535, -0.3138757050037384, 0.33696413040161133, 0.23873686790466309, 0.15200291574001312, 0.6682361364364624, 0.5036222338676453, 0.5154316425323486, 0.46258220076560974, -0.027715928852558136, 1.0630476474761963, -0.4122806191444397, -0.22747941315174103, -0.8082354664802551, 0.024068472906947136, 0.36844635009765625, -0.2434794157743454, 0.8192916512489319, 0.8091480731964111, 1.313266634941101, -0.3632865846157074, 0.6962463855743408, 0.11586414277553558, 0.22660115361213684, -0.571762204170227, 1.0187679529190063, -0.6428161859512329, -0.07899904251098633, -0.1524861752986908, -1.0892397165298462, -0.40238937735557556, 0.6651903390884399, -0.14030516147613525, 0.26767098903656006, 0.463672399520874, 0.6311513185501099, -0.18956509232521057, -0.027293812483549118, 0.3812667727470398, -0.04876650869846344, 0.23621290922164917, 0.4695569574832916, 0.7858935594558716, -0.23128008842468262, 0.21355637907981873, -0.2598228454589844, 0.02464497648179531, 0.06424233317375183, -0.7455652952194214, -0.8393999338150024, -0.7188097834587097, -0.3097825348377228, 0.014706425368785858, 0.39682742953300476, 0.9888219237327576, 0.9579854607582092, -0.899841845035553, -0.4011841416358948, 0.058215416967868805, -0.23716314136981964, 0.05303925648331642, -0.002893466269597411, 0.008895080536603928, -0.15620069205760956, -0.584444522857666, 0.531791627407074, 0.23679810762405396, 0.010147776454687119, -0.18017755448818207, -0.341918021440506, -0.24045926332473755, 0.32527226209640503, 0.3960612416267395, 0.4598477780818939, -0.5859631896018982, -0.22173568606376648, -0.01949496567249298, 0.2081332504749298, 0.07780827581882477, 0.9116726517677307, -0.8016610145568848, 0.6620796322822571, 0.2911672592163086, 0.6200283765792847, 0.7259215116500854, -0.40512701869010925, 0.8664104342460632, -0.5024588704109192, 0.28917211294174194, 0.206629678606987, 0.5616423487663269, 0.5490626692771912, 0.05521998926997185, 0.3837398290634155, -0.044757913798093796, -0.28920865058898926, -1.0169137716293335, 0.25049421191215515, -0.4108598530292511, -0.2544880509376526, 0.8919438123703003, -0.48101553320884705, -0.35925543308258057, -0.16096022725105286, 0.1892140954732895, 0.44671785831451416, 0.05644679814577103, 0.3887341022491455, 0.7278217077255249, 0.1467570960521698, -0.0968484953045845, -0.28236374258995056, 0.6014190912246704, 0.08523982018232346, -0.854326069355011, 0.2468651831150055, 0.18667083978652954, 0.4974539875984192, 0.10171382129192352, 0.4252837300300598, -0.09107664972543716, 0.03795818239450455, 0.503584623336792, 0.20670753717422485, -0.10074713826179504, -0.734507143497467, -0.3115620017051697, -0.018828878179192543, 0.19665361940860748, 0.04005775973200798 ]
http://arxiv.org/abs/2404.05415v2
http://arxiv.org/pdf/2404.05415v2
Relation Extraction Using Large Language Models: A Case Study on Acupuncture Point Locations
2024-04-08T11:33:00
2024-04-15T00:45:32
Yiming Li, Xueqing Peng, Jianfu Li, Xu Zuo, Suyuan Peng, Donghong Pei, Cui Tao, Hua Xu, Na Hong
cs.CL
cs.CL, cs.AI
In acupuncture therapy, the accurate location of acupoints is essential for its effectiveness. The advanced language understanding capabilities of large language models (LLMs) like Generative Pre-trained Transformers (GPT) present a significant opportunity for extracting relations related to acupoint locations from textual knowledge sources. This study aims to compare the performance of GPT with traditional deep learning models (Long Short-Term Memory (LSTM) and Bidirectional Encoder Representations from Transformers for Biomedical Text Mining (BioBERT)) in extracting acupoint-related location relations and assess the impact of pretraining and fine-tuning on GPT's performance. We utilized the World Health Organization Standard Acupuncture Point Locations in the Western Pacific Region (WHO Standard) as our corpus, which consists of descriptions of 361 acupoints. Five types of relations ('direction_of,' 'distance_of,' 'part_of,' 'near_acupoint,' and 'located_near') (n= 3,174) between acupoints were annotated. Five models were compared: BioBERT, LSTM, pre-trained GPT-3.5, fine-tuned GPT-3.5, as well as pre-trained GPT-4. Performance metrics included micro-average exact match precision, recall, and F1 scores. Our results demonstrate that fine-tuned GPT-3.5 consistently outperformed other models in F1 scores across all relation types. Overall, it achieved the highest micro-average F1 score of 0.92. This study underscores the effectiveness of LLMs like GPT in extracting relations related to acupoint locations, with implications for accurately modeling acupuncture knowledge and promoting standard implementation in acupuncture training and practice. The findings also contribute to advancing informatics applications in traditional and complementary medicine, showcasing the potential of LLMs in natural language processing.
[ -0.03854965418577194, -0.6929649114608765, 0.8038608431816101, 0.07134993374347687, -0.12747587263584137, -0.27832508087158203, -0.5223443508148193, -0.752733051776886, -0.08501719683408737, 0.2146148979663849, -0.12967811524868011, -0.8172674179077148, -0.638962984085083, 0.203007772564888, -0.48752352595329285, 0.6832737922668457, -0.1918996423482895, 0.13456308841705322, -0.1151323914527893, -0.18859881162643433, -0.3012508451938629, -0.6606331467628479, -0.4748110771179199, -0.6184578537940979, 0.32106631994247437, 0.017878588289022446, 1.0005906820297241, 0.4465421140193939, 0.7737990021705627, 0.31497684121131897, -0.09877508878707886, 0.05145331472158432, -0.2068329155445099, -0.03653988614678383, -0.2822490930557251, -0.25752803683280945, -0.2823966443538666, 0.05839860811829567, 0.5855239629745483, 0.8565364480018616, -0.046493787318468094, 0.03305760771036148, -0.12614557147026062, 0.4034495949745178, -0.3076576590538025, 0.208020880818367, -0.5011351108551025, 0.23372642695903778, 0.08734815567731857, -0.1491623818874359, -0.2022954672574997, -0.44799530506134033, 0.5086472630500793, -0.5206916928291321, 0.4208829402923584, -0.13056680560112, 1.3632148504257202, 0.3043248653411865, -0.23088492453098297, -0.14904291927814484, -0.7622978687286377, 0.4794907867908478, -0.6324023008346558, 0.6179704070091248, 0.29484298825263977, 0.16788171231746674, -0.026681669056415558, -0.8279625773429871, -0.2869339883327484, -0.46399760246276855, -0.608479917049408, 0.08130645006895065, -0.1197286918759346, 0.1738189458847046, 0.5953140258789062, 0.6207053661346436, -0.44830071926116943, 0.23436027765274048, -0.22605404257774353, 0.10051288455724716, 0.4612252116203308, -0.14394016563892365, 0.18158632516860962, -0.4605282247066498, -0.35280343890190125, -0.04253261908888817, -1.008104920387268, -0.12839673459529877, -0.23173224925994873, 0.12172549962997437, -0.16467991471290588, 0.4761025905609131, 0.05038553476333618, 0.6988354325294495, 0.2864603102207184, -0.2422652244567871, 0.18512877821922302, -0.3341005742549896, -0.3151203989982605, -0.12123965471982956, 1.3301278352737427, -0.008189018815755844, 0.4703028202056885, -0.3191974461078644, -0.02089872397482395, -0.24373237788677216, 0.10395987331867218, -0.7008605599403381, -0.42955252528190613, -0.010209410451352596, -0.7703793048858643, -0.048924658447504044, 0.07954710721969604, -0.16539064049720764, -0.23621058464050293, -0.48049014806747437, 0.21754366159439087, -0.7995924949645996, -0.3732417821884155, -0.11995593458414078, 0.25764933228492737, 0.3347626328468323, 0.10399606823921204, -0.7649142742156982, 0.14139069616794586, 0.6203201413154602, 1.0228276252746582, -0.17459522187709808, -0.4329926371574402, -0.16132239997386932, 0.13744506239891052, -0.02783745899796486, 0.6656200885772705, -0.47360527515411377, -0.49057185649871826, 0.17462149262428284, -0.01790173165500164, -0.25698012113571167, -0.9308969378471375, 0.340314120054245, -0.45775362849235535, 0.0830383449792862, -0.0713028833270073, -0.5165422558784485, 0.07935257256031036, 0.1638433188199997, -0.692767322063446, 0.9094433188438416, 0.3545047342777252, -0.6067202091217041, 0.3698922395706177, -0.622338056564331, -0.8858180046081543, -0.038231004029512405, -0.39313217997550964, -0.45042404532432556, -0.05747988075017929, 0.5431222915649414, 0.6805744767189026, -0.3617831766605377, 0.45535963773727417, -0.040830470621585846, -0.2985328137874603, 0.2823927104473114, -0.2377777099609375, 0.550149142742157, 0.09206759929656982, -0.2389257252216339, 0.2732788920402527, -0.5923346281051636, -0.35584548115730286, 0.08003968745470047, -0.1603279858827591, -0.3917761445045471, -0.012578273192048073, -0.26561439037323, 0.4125094413757324, 0.09715034067630768, -0.39317524433135986, 0.1443656086921692, -0.44883230328559875, 0.3205941915512085, 0.40558865666389465, 0.13936413824558258, 0.3396456241607666, 0.014799260534346104, 0.3969112038612366, 0.1943340003490448, 0.09304732084274292, 0.061490852385759354, -0.21310076117515564, -0.5174432396888733, 0.10769601911306381, 0.2496727555990219, 0.28532955050468445, -0.8935990333557129, 0.5782026648521423, -0.6131522059440613, -0.5107463002204895, -0.627399206161499, 0.12404105067253113, 0.3607948422431946, 0.8629843592643738, 0.6279764771461487, -0.09380998462438583, -0.24667297303676605, -0.7361548542976379, -0.2857741415500641, -0.18098047375679016, -0.31152021884918213, 0.409817099571228, 0.12727656960487366, -0.27839139103889465, 0.793434202671051, -0.6318514943122864, -0.5078874826431274, -0.06388264149427414, 0.08568640053272247, 0.6185706257820129, 0.2311786413192749, 0.6010389924049377, -0.7018149495124817, -0.69390469789505, 0.27623000741004944, -0.8835459351539612, 0.17500384151935577, -0.19045108556747437, -0.12104080617427826, 0.013155912980437279, 0.41443249583244324, -0.9776928424835205, 0.3146064877510071, 0.46780282258987427, -0.2411307543516159, 0.5250669717788696, -0.17684222757816315, 0.15723830461502075, -1.0349806547164917, 0.4819466471672058, 0.29895079135894775, -0.2987731099128723, -0.4852505326271057, 0.02989295683801174, 0.28342172503471375, -0.17817749083042145, -0.45336464047431946, 0.16389557719230652, -0.6544403433799744, 0.03737500309944153, -0.09853694587945938, -0.01801835000514984, -0.2412286251783371, 0.2928728759288788, 0.5967511534690857, 0.6622644066810608, 0.4329734742641449, -0.659106969833374, 0.4929772615432739, 0.52655428647995, -0.31991487741470337, 0.36558297276496887, -0.6534256935119629, 0.1457272619009018, 0.23161061108112335, 0.06076014041900635, -0.5562883019447327, -0.06291692703962326, 0.0653751790523529, -0.4073440730571747, 0.5671983957290649, -0.17389705777168274, -0.52353835105896, -0.3818013072013855, -0.012190207839012146, 0.37015628814697266, 0.4716099202632904, -0.5652015209197998, 0.36857661604881287, 0.11459874361753464, -0.14674539864063263, -0.569301187992096, -0.25234732031822205, -0.06961282342672348, -0.10499023646116257, -0.4160543382167816, 0.40974876284599304, 0.3166504204273224, -0.04659437760710716, 0.10522503405809402, -0.024837208911776543, 0.028338739648461342, -0.009018086828291416, 0.19523784518241882, 0.22900907695293427, -0.31243589520454407, 0.5687442421913147, -0.08352411538362503, -0.2365017533302307, 0.17006739974021912, 0.043863892555236816, 0.6887000203132629, -0.023498864844441414, -0.2936377227306366, -0.31615886092185974, 0.21957804262638092, 0.3502103090286255, -0.3509911596775055, 0.8108663558959961, 0.7095546126365662, -0.5040308237075806, 0.4317430853843689, -0.6382285356521606, -0.17762695252895355, -0.42268237471580505, 0.5100379586219788, -0.44069206714630127, -0.7035117745399475, 0.3323057293891907, -0.23367944359779358, -0.10803662985563278, 0.7577581405639648, 0.43206658959388733, 0.11515899002552032, 0.7581055760383606, 0.488252729177475, -0.4858853816986084, 0.49645063281059265, -0.3802133798599243, 0.40588608384132385, -0.8756837844848633, -0.1671271175146103, -0.28871840238571167, -0.12280678749084473, -0.5461820363998413, -0.04243973270058632, 0.4317278265953064, 0.018435582518577576, -0.30207502841949463, 0.5412428379058838, -0.45296528935432434, 0.2830153703689575, 0.4813261032104492, 0.2662195861339569, 0.3867455720901489, 0.03924812749028206, -0.08463461697101593, 0.03110208734869957, -0.5243417620658875, -0.2573876678943634, 1.144775629043579, 0.4812328517436981, 0.6701766848564148, 0.05055096000432968, 0.7188138365745544, -0.46261826157569885, 0.7992971539497375, -0.9852548837661743, 0.24987828731536865, -0.27163535356521606, -0.2799816429615021, -0.4061484932899475, -0.6431398391723633, -1.154684066772461, 0.1357663869857788, -0.35955560207366943, -0.38296636939048767, 0.030351795256137848, 0.08369138091802597, -0.593517541885376, 0.3652860224246979, -0.6186178922653198, 0.7187128663063049, -0.37375640869140625, -0.3404746353626251, -0.09795048832893372, -0.7831258177757263, 0.04251589626073837, 0.06030139699578285, 0.03483254089951515, -0.04663792997598648, 0.3323974609375, 0.5199143290519714, -0.14728540182113647, 0.43203043937683105, -0.20116235315799713, -0.24842649698257446, -0.08123914152383804, -0.10421427339315414, 0.3230997323989868, 0.008664630353450775, -0.22140027582645416, 0.47454822063446045, 0.06818009167909622, 0.09639348834753036, -0.4590795338153839, 0.9375490546226501, -0.9606770277023315, -0.5835273861885071, -0.3817524313926697, -0.5863099694252014, -0.2891436815261841, 0.3463316559791565, 0.5229763984680176, 0.19051772356033325, -0.20059214532375336, 0.005653847008943558, 0.47937896847724915, -0.4536326825618744, 0.37329360842704773, 0.3320062458515167, -0.019771333783864975, -0.19283288717269897, 0.5072017312049866, 0.10779338330030441, 0.14010240137577057, 0.5683026909828186, 0.147390216588974, -0.32197874784469604, -0.5332692265510559, -0.08546657115221024, 0.6712824106216431, -0.49177876114845276, -0.5369421243667603, -0.5500505566596985, -0.55060875415802, -0.6700443625450134, 0.15316760540008545, -0.2685869038105011, 0.07092905789613724, -0.4674099385738373, -0.1728566586971283, 0.2971334755420685, 0.6262452602386475, 0.051797278225421906, 0.2935522496700287, -1.0329813957214355, 0.5319690108299255, 0.06927590817213058, 0.5024764537811279, 0.029860595241189003, -0.211487278342247, -0.4520837366580963, -0.05239439383149147, -0.4322201609611511, -0.9527405500411987, 0.5828694701194763, 0.23345690965652466, 0.38419055938720703, 0.6472636461257935, -0.2814610004425049, 1.053200602531433, -0.722934901714325, 0.5547887682914734, 0.46930131316185, -0.6205317974090576, 0.592919111251831, -0.18095563352108002, 0.4521586000919342, 0.5123646259307861, 0.6568436026573181, -0.6267427802085876, -0.06566307693719864, -0.6137614250183105, -0.8445226550102234, 0.5063395500183105, 0.01189747266471386, -0.08268874883651733, -0.23682157695293427, 0.7996171712875366, 0.04982347413897514, 0.10969133675098419, -0.9205598831176758, -0.3817055821418762, 0.15079571306705475, -0.35103315114974976, -0.29454198479652405, -0.17504547536373138, -0.23719339072704315, -0.5432065725326538, 0.3607824444770813, 0.04951519891619682, 0.4562211334705353, 0.4268267750740051, -0.44409826397895813, -0.35712888836860657, 0.09644421190023422, 0.1221955269575119, 0.9927768111228943, -0.10470907390117645, 0.26887235045433044, 0.2652214765548706, -0.5021139979362488, -0.00723268510773778, 0.5699021816253662, 0.054846860468387604, 0.2541460692882538, 0.7197883129119873, 0.5461820363998413, 0.23133930563926697, -0.2996969223022461, 0.6023615002632141, 0.05413059890270233, -0.05899066850543022, -0.4465327858924866, -0.11627431958913803, 0.07764619588851929, 0.13601598143577576, 0.24541465938091278, -0.1170312836766243, 0.24306049942970276, -0.466711163520813, 0.06668184697628021, 0.4616691470146179, -0.5489060878753662, -0.34908607602119446, 0.5129216313362122, 0.05668288841843605, -0.23450370132923126, 0.8825994729995728, 0.3112969398498535, -0.42985206842422485, 0.2814686596393585, 0.4936094582080841, 0.5925202965736389, -0.5035926103591919, -0.044533371925354004, 0.5917131900787354, 0.054254353046417236, -0.02695627324283123, -0.20006896555423737, -0.13375817239284515, -0.6260183453559875, -0.5715599060058594, -0.5737566351890564, -0.1221100315451622, 0.16870523989200592, -0.7789167165756226, 0.17352120578289032, -0.15434598922729492, -0.29032883048057556, -0.16115857660770416, 0.07021263241767883, -1.114309310913086, 0.13942529261112213, 0.06499283760786057, 0.6837702989578247, -0.7316269874572754, 1.0425786972045898, 0.8069102764129639, -0.3885010778903961, -1.0575065612792969, 0.0835842564702034, -0.5112351775169373, -0.8768873810768127, 0.574690580368042, 0.18873724341392517, 0.09387914836406708, -0.19226552546024323, -0.3193226754665375, -0.9247025847434998, 1.3295027017593384, 0.41210609674453735, -0.7726396918296814, -0.34982776641845703, 0.2899515926837921, 0.7514837980270386, 0.025748983025550842, 0.2888958752155304, 0.9174344539642334, 0.0725584328174591, 0.006532580126076937, -1.292256236076355, 0.3959499001502991, -0.10535021871328354, -0.20325252413749695, 0.4898660182952881, -0.40866392850875854, 0.6592549681663513, -0.170254647731781, -0.3090778887271881, 0.14963370561599731, 0.4394659101963043, 0.24327389895915985, 0.03657780587673187, 0.2912481129169464, 0.5427215695381165, 0.5410774350166321, -0.1517704278230667, 1.1946839094161987, -0.42158743739128113, 0.43055790662765503, 0.9554327726364136, -0.12329407036304474, 0.8578418493270874, 0.5867811441421509, -0.4143376648426056, 0.5102891325950623, 0.5997820496559143, 0.10532637685537338, 0.4401657283306122, -0.1227051243185997, -0.16225048899650574, -0.15037047863006592, 0.04422086104750633, -0.691646158695221, 0.21043530106544495, 0.4130960702896118, -0.8502342700958252, -0.03891570493578911, -0.2178490310907364, 0.11949747800827026, -0.045228611677885056, -0.2880958318710327, 1.02390456199646, 0.5898125171661377, -0.7752500176429749, 0.5413959622383118, -0.30058231949806213, 0.5348246693611145, -0.6792951822280884, -0.19259341061115265, 0.024482524022459984, 0.2578313648700714, -0.32867559790611267, -0.6306052803993225, 0.0670013353228569, -0.2393702268600464, 0.12924791872501373, -0.1712225079536438, 0.856001615524292, -0.5814194679260254, -0.4447227120399475, 0.4194634258747101, 0.33527931571006775, -0.03068559616804123, -0.1267315000295639, -0.5443282127380371, -0.436151385307312, -0.2029821127653122, -0.28518548607826233, 0.2503238320350647, 0.4338544011116028, 0.2002679407596588, 0.3934159278869629, 0.6687920093536377, 0.4796529710292816, -0.4176221191883087, 0.20313218235969543, 0.8824027180671692, -0.7882179021835327, -0.10617237538099289, -0.9349590539932251, 0.04406989738345146, -0.19003991782665253, -0.21805529296398163, 0.6029912829399109, 0.36503732204437256, 0.5744014978408813, -0.13397668302059174, 0.6101750135421753, 0.22492466866970062, 0.6614484190940857, -0.6103207468986511, 0.7553236484527588, -0.13560868799686432, 0.18154454231262207, -0.4693676233291626, -1.0019704103469849, -0.6419790983200073, 0.9650072455406189, -0.7041548490524292, 0.09068620204925537, 0.8095093965530396, 0.22112230956554413, -0.2995963990688324, -0.36441367864608765, 0.24928084015846252, 0.3216457962989807, 0.42962440848350525, 0.8045029640197754, 0.8185021281242371, -0.3397996723651886, 0.4060612916946411, -0.4223446846008301, -0.2001350373029709, -0.03837033733725548, -0.534261167049408, -0.7858100533485413, -0.1838456243276596, -0.21673811972141266, -0.21539127826690674, -0.25073370337486267, 1.0745280981063843, 0.4950515925884247, -0.7010501027107239, -0.2566639482975006, 0.1485443413257599, -0.08432407677173615, -0.26285320520401, -0.18015621602535248, 1.035726547241211, -0.22242872416973114, -0.45341625809669495, 0.0515117347240448, 0.1635381430387497, 0.047172628343105316, -0.015099864453077316, -0.09323029965162277, -0.320273220539093, -0.6381292343139648, 0.7599075436592102, 0.20523442327976227, -0.59446120262146, -0.5066913962364197, 0.2208327203989029, -0.012996576726436615, 0.2744026482105255, 0.7633326053619385, -0.7707462906837463, 0.17268188297748566, 0.08391376584768295, 0.29100343585014343, 0.5750474333763123, 0.11217848211526871, 0.7497942447662354, -0.6665515303611755, 0.149638831615448, 0.2864290177822113, 0.5924111008644104, 0.4477488398551941, -0.5533586740493774, 0.5088942646980286, -0.020995907485485077, -0.5329935550689697, -0.3534509837627411, 0.29123473167419434, -0.7409184575080872, -0.2527250051498413, 1.4912785291671753, -0.32974758744239807, 0.15697355568408966, -0.09007659554481506, -0.2369016855955124, 0.6373283863067627, 0.09300752729177475, 0.8796287178993225, 0.430541068315506, -0.45193806290626526, -0.14610609412193298, -0.27502143383026123, 0.6415420174598694, 0.3519955277442932, -0.6203877329826355, -0.11607097089290619, 0.3013250529766083, 0.3920215368270874, 0.32013314962387085, 0.51688551902771, -0.3444966971874237, 0.23483315110206604, -0.6004055142402649, 0.1186385303735733, 0.028964122757315636, -0.02071823738515377, -0.3231055438518524, 0.09595277160406113, 0.3822636902332306, -0.08104000240564346 ]
http://arxiv.org/abs/2404.05411v1
http://arxiv.org/pdf/2404.05411v1
Know When To Stop: A Study of Semantic Drift in Text Generation
2024-04-08T11:25:30
2024-04-08T11:25:30
Ava Spataru, Eric Hambro, Elena Voita, Nicola Cancedda
cs.CL
cs.CL
In this work, we explicitly show that modern LLMs tend to generate correct facts first, then "drift away" and generate incorrect facts later: this was occasionally observed but never properly measured. We develop a semantic drift score that measures the degree of separation between correct and incorrect facts in generated texts and confirm our hypothesis when generating Wikipedia-style biographies. This correct-then-incorrect generation pattern suggests that factual accuracy can be improved by knowing when to stop generation. Therefore, we explore the trade-off between information quantity and factual accuracy for several early stopping methods and manage to improve factuality by a large margin. We further show that reranking with semantic similarity can further improve these results, both compared to the baseline and when combined with early stopping. Finally, we try calling external API to bring the model back to the right generation path, but do not get positive results. Overall, our methods generalize and can be applied to any long-form text generation to produce more reliable information, by balancing trade-offs between factual accuracy, information quantity and computational cost.
[ -0.47301721572875977, -0.8716476559638977, 0.9269081354141235, -0.019020671024918556, -0.27951735258102417, 0.16077572107315063, -0.3560259938240051, -0.45703616738319397, 0.13948333263397217, 0.39547649025917053, -0.9119644165039062, -0.623878538608551, -0.7219865322113037, 0.035462114959955215, -0.7077761292457581, 1.1327571868896484, 0.03812925145030022, -0.14275573194026947, -0.6059675812721252, 0.058645304292440414, -0.46986034512519836, -0.0703154057264328, -0.7116337418556213, -0.2519676685333252, 0.7254840731620789, 0.5071249604225159, 0.5902302861213684, 0.9302432537078857, 0.4125184714794159, 0.2796521484851837, -0.24948090314865112, 0.2670689821243286, -0.9097497463226318, 0.48683133721351624, -0.302737295627594, -0.5080509185791016, -0.022784484550356865, 0.10239746421575546, 0.4906851649284363, 0.6745758056640625, -0.2093116044998169, 0.31483879685401917, -0.22519457340240479, 0.5653538107872009, -0.5249882936477661, 0.029059981927275658, -0.6683753728866577, -0.05749743431806564, -0.6464380025863647, -0.4265315532684326, -0.6234009265899658, -0.5580037832260132, 0.08019513636827469, -0.4991566240787506, 0.5694135427474976, 0.03200818598270416, 0.9653868675231934, 0.5158720016479492, -0.2907834053039551, -0.5276864171028137, -0.6360524296760559, 0.9883317351341248, -0.7279183268547058, 0.3640139102935791, 0.23178310692310333, -0.066264808177948, -0.17603647708892822, -0.5896050333976746, -0.7640619874000549, -0.21787753701210022, 0.19549152255058289, 0.24941027164459229, 0.01998896338045597, -0.3516579270362854, 0.4481014907360077, -0.016809342429041862, -0.33401769399642944, 0.22279714047908783, -0.6257563829421997, -0.246327206492424, 0.7097529172897339, 0.20106592774391174, 0.3472565710544586, -0.14406920969486237, -0.6042993068695068, 0.03813900798559189, -0.9126680493354797, -0.11891435086727142, 0.5335471034049988, 0.06338081508874893, 0.24314789474010468, 0.7430636286735535, -0.34141096472740173, 0.6004922986030579, 0.25240379571914673, -0.5536956191062927, 0.17430004477500916, -0.37530288100242615, 0.1553703248500824, 0.3498148024082184, 0.7339680194854736, 0.6860758066177368, 0.2555404603481293, -0.3979159891605377, -0.0009625089005567133, 0.12914294004440308, 0.30085882544517517, -0.6869702935218811, 0.09799904376268387, 0.27642637491226196, -0.5517057180404663, -0.5598238706588745, -0.046806685626506805, -0.861344039440155, -0.08299309760332108, -0.5660629868507385, 0.12203330546617508, -0.5827105045318604, -0.10879547894001007, -0.10914568603038788, -0.4105677008628845, 0.26004621386528015, 0.37746408581733704, -0.7253026366233826, -0.0273429024964571, 0.5777875185012817, 1.0037907361984253, -0.5011698603630066, -0.3652457296848297, -0.4323703944683075, 0.2558611035346985, -0.5515355467796326, 0.9751524925231934, -0.13369737565517426, -0.3437654674053192, -0.02638520672917366, -0.12107809633016586, 0.20193155109882355, -0.40150460600852966, 0.5678104758262634, -0.6580192446708679, 0.4895878732204437, -0.32757067680358887, -0.7830908298492432, 0.04022541269659996, 0.18092021346092224, -0.6725495457649231, 0.8756704926490784, -0.27388325333595276, -0.8732447624206543, 1.0507962703704834, -0.3922298848628998, -0.6139060854911804, -0.1401914656162262, 0.037931010127067566, -0.3808779716491699, 0.10433943569660187, -0.2878890037536621, 0.3073577880859375, -0.23661069571971893, 0.28905585408210754, -0.233822301030159, 0.13938774168491364, 0.2301705777645111, -0.2798331677913666, 0.6669915914535522, 0.21527518332004547, -0.334663450717926, -0.05192054063081741, -0.8503310084342957, 0.0802353248000145, 0.03759894520044327, -0.5440036058425903, -0.33225446939468384, 0.4888186454772949, -0.2488546073436737, 0.2918406128883362, 0.2206171303987503, -0.8886237144470215, -0.15292535722255707, -0.12363776564598083, 0.12106487154960632, 0.7483970522880554, 0.16491544246673584, 0.14807620644569397, -0.7418123483657837, 0.21518640220165253, 0.07575269043445587, -0.08275263756513596, -0.06482918560504913, -0.7339211106300354, -1.013222575187683, -0.008559041656553745, 0.2664581537246704, 0.6235030293464661, -0.7075494527816772, 0.5950031876564026, -0.5385552048683167, -0.4859704375267029, -0.1900239884853363, 0.28398552536964417, 0.1610749065876007, 0.9058065414428711, 0.4750414490699768, -0.20145583152770996, -0.3829028606414795, -0.49149107933044434, -0.34115687012672424, -0.2953353226184845, 0.09387055784463882, -0.20111988484859467, 0.4429624080657959, -0.029541069641709328, 1.4020766019821167, -0.6431028842926025, 0.2763420343399048, -0.11119231581687927, 0.3846571147441864, -0.17084576189517975, 0.31237488985061646, 0.30109915137290955, -0.8013904690742493, -0.19394907355308533, -0.3989061713218689, -0.9110395908355713, -0.10694570094347, -0.36983463168144226, -0.42698386311531067, 0.41997823119163513, 0.6919185519218445, -0.992464005947113, 0.3587460219860077, 0.01716727949678898, -0.541064977645874, 0.5605484843254089, 0.012624075636267662, 0.13612797856330872, -0.9385698437690735, -0.12112974375486374, 0.0339665450155735, -0.3088071048259735, -0.4339117407798767, -0.3214614987373352, -0.15168370306491852, 0.19651448726654053, -0.5657190680503845, 0.3744124174118042, -0.18657878041267395, 0.14600111544132233, -0.2361016422510147, 0.34668847918510437, -0.00831732526421547, -0.07907145470380783, 0.0773942619562149, 0.6339427828788757, -0.018596893176436424, -0.8218918442726135, 0.5086262822151184, 0.2572656273841858, -0.6335509419441223, 0.7262263894081116, -0.3836749494075775, -0.15913189947605133, -0.3708746135234833, 0.033927690237760544, -0.8459287285804749, -0.32273581624031067, 0.006748674903064966, -0.6789814233779907, 0.4305049479007721, 0.24600350856781006, -0.3722357451915741, -0.170712411403656, -0.36243388056755066, -0.07396025955677032, 0.6909143924713135, -0.5121999979019165, 0.16800017654895782, 0.31410279870033264, -0.3486618995666504, -0.5056489706039429, -0.8560792803764343, 0.12660269439220428, -0.3318539559841156, -0.9830655455589294, 0.569688081741333, -0.09451793879270554, -0.6541617512702942, 0.25548505783081055, 0.014598163776099682, 0.15786145627498627, -0.14084213972091675, -0.072223961353302, 0.19539064168930054, -0.1268213391304016, 0.507564902305603, 0.1975902020931244, -0.3044847548007965, 0.37169018387794495, -0.2348063588142395, 0.35518863797187805, 0.6251438856124878, -0.04687458276748657, -0.29493939876556396, 0.1559751182794571, 0.5672335624694824, 0.08858469128608704, 1.0843054056167603, 0.5722712874412537, -0.13686655461788177, -0.2899974584579468, -0.6451679468154907, 0.1021314337849617, -0.4036949574947357, 0.20826134085655212, -0.1464511901140213, -0.531754195690155, 0.4012773036956787, -0.16801249980926514, 0.2789419889450073, 0.9475336670875549, 0.9698122143745422, -0.318290650844574, 0.6606707572937012, 0.6329770684242249, 0.22908660769462585, 0.33118849992752075, -0.026897476986050606, 0.1483839601278305, -0.31541112065315247, -0.42174309492111206, -0.37922734022140503, -0.0948873832821846, -0.6313343644142151, -0.4220043420791626, -0.013529988937079906, 0.06630940735340118, -0.17984333634376526, -0.11102978140115738, -0.40317922830581665, 0.5716277956962585, 0.40919893980026245, 0.16836437582969666, 0.3301313519477844, -0.13615457713603973, 0.05948023498058319, -0.0674201250076294, -0.46885961294174194, -0.435836523771286, 1.090836524963379, 0.03446955606341362, 0.6801960468292236, 0.24805568158626556, 0.8611620664596558, 0.7739149928092957, 0.5671465396881104, -0.7541124224662781, 0.4662819504737854, 0.04021373391151428, -0.6870469450950623, -0.5241860747337341, -0.6389973759651184, -0.7128505110740662, -0.22858327627182007, -0.09027128666639328, -0.38010966777801514, -0.13929153978824615, -0.07462461292743683, -0.14968544244766235, 0.16916026175022125, -0.5283676385879517, 0.7228519916534424, -0.21748314797878265, -0.4222126007080078, -0.17528806626796722, -0.8212301135063171, 0.6296417117118835, -0.20045901834964752, 0.3457759916782379, -0.45143911242485046, -0.29569533467292786, 0.9713941812515259, -0.7455006837844849, 0.7392010688781738, -0.008936501108109951, -0.16253067553043365, 0.611331582069397, -0.023466812446713448, 0.4103265106678009, -0.18660610914230347, -0.06274387985467911, 0.044590748846530914, -0.1570606529712677, -0.3797707259654999, -0.35242345929145813, 0.6582674980163574, -0.6123602986335754, -0.3937591314315796, -0.3196139335632324, -0.41756102442741394, 0.05518345534801483, 0.2851276993751526, 1.034364104270935, 0.22865799069404602, -0.20015092194080353, -0.02704114094376564, 0.8943122625350952, -0.17085541784763336, 0.45457085967063904, 0.34735211730003357, -0.11045525223016739, -0.4094409942626953, 1.039673924446106, 0.41052892804145813, 0.6094305515289307, 0.2028125673532486, 0.2507163882255554, -0.5397183895111084, -0.36632630228996277, -0.6236478090286255, 0.21374882757663727, -0.9726187586784363, -0.21562373638153076, -0.31398385763168335, -0.15904219448566437, -0.4562440514564514, -0.19399185478687286, -0.15433719754219055, -0.5904171466827393, -0.2763325273990631, -0.2618817090988159, 0.5724891424179077, 0.7887491583824158, -0.10451848804950714, 0.15831582248210907, -0.6716182827949524, 0.20025353133678436, 0.15041649341583252, 0.02314664237201214, -0.13948488235473633, -0.47747737169265747, -0.24052555859088898, -0.30599597096443176, -0.5157933831214905, -0.9273780584335327, 0.09520098567008972, 0.24304351210594177, 0.6268249750137329, 0.4163496196269989, 0.13754910230636597, 0.2497982680797577, -0.49296629428863525, 0.8849802613258362, 0.31888696551322937, -0.9172634482383728, 0.5967501997947693, -0.5135652422904968, 0.3991536498069763, 0.4400981664657593, 0.5171747207641602, -0.5801809430122375, -0.6146178841590881, -0.6172546148300171, -0.8046781420707703, 0.33712950348854065, 0.18233302235603333, 0.004779896233230829, -0.3672175705432892, 0.3463333547115326, 0.23029343783855438, 0.22095626592636108, -0.5426961183547974, -0.2744714617729187, -0.1923295557498932, -0.4931032359600067, 0.06284663081169128, -0.40109288692474365, -0.16191136837005615, 0.041694771498441696, 0.7087956070899963, -0.04617702215909958, 0.09358386695384979, 0.021464485675096512, -0.3961368501186371, -0.22914521396160126, 0.15257534384727478, 0.8543238639831543, 1.1063451766967773, -0.02065904065966606, 0.13079620897769928, 0.2661457359790802, -0.40474995970726013, 0.24456368386745453, -0.2685745656490326, -0.8308621048927307, 0.2584655284881592, 0.6604146361351013, 0.49439874291419983, 0.15063954889774323, -0.6721839904785156, 0.3902100622653961, 0.2406381070613861, -0.1610892415046692, -0.26331183314323425, 0.17260771989822388, 0.23409348726272583, -0.09888800978660583, 0.1249321699142456, 0.12369131296873093, -0.07498627156019211, -0.46120187640190125, 0.5274926424026489, 0.22807574272155762, -0.10469973832368851, -0.007640363648533821, 0.7220858931541443, 0.24173258244991302, -0.18836046755313873, 0.67363041639328, -0.3651071786880493, -0.3466348946094513, 0.6699625253677368, 0.48013928532600403, 0.7257394790649414, -0.034811895340681076, 0.4422149062156677, 0.37820348143577576, 0.2513897120952606, -0.2803889513015747, 0.043860260397195816, -0.16193298995494843, -0.8369183540344238, -0.7996705174446106, -0.7072123289108276, -0.35817399621009827, -0.17415140569210052, -0.68405681848526, 0.48592299222946167, -0.44323939085006714, -0.5038387179374695, 0.14588099718093872, -0.24615666270256042, -0.39904624223709106, 0.3939304053783417, 0.30583229660987854, 0.9303614497184753, -0.6098721623420715, 0.45327794551849365, 0.25661519169807434, -0.5129362940788269, -0.20516790449619293, 0.2010563313961029, 0.2991105914115906, -0.3873812258243561, 0.8891203999519348, 0.30864229798316956, -0.38739120960235596, -0.12037570774555206, -0.8717814087867737, -1.0250368118286133, 1.1878154277801514, 0.029386721551418304, -0.4464838206768036, -0.11795955896377563, -0.055171940475702286, 0.3324923515319824, -0.11556453257799149, 0.024259382858872414, 0.8578510880470276, 0.47705069184303284, 0.47932299971580505, -0.469982385635376, 0.0777880996465683, 0.06446278095245361, -0.12183675169944763, 0.48066720366477966, -0.8359788060188293, 0.7932175993919373, -0.3396397531032562, -0.4179966449737549, 0.20082592964172363, 0.6814379096031189, 0.2035120278596878, 0.6027975082397461, 0.5188896059989929, 1.0235987901687622, 0.8785160779953003, -0.17570462822914124, 0.8772463202476501, -0.3848581910133362, 0.3848126530647278, 0.9240263104438782, -0.15656127035617828, 0.7378761172294617, 0.3219245374202728, -0.17002010345458984, 0.7283594608306885, 0.7441684007644653, 0.03917039558291435, 0.5443538427352905, 0.1260812133550644, -0.42267850041389465, -0.4359528720378876, -0.059095922857522964, -0.2420911341905594, 0.4485549032688141, 0.2939770221710205, -0.4487735331058502, -0.4448145925998688, -0.03991581127047539, 0.5594941973686218, -0.04286697506904602, -0.128635436296463, 0.6626837849617004, -0.14714862406253815, -0.9181855916976929, 0.3194805085659027, 0.01044409442692995, 0.5543088912963867, -0.46049782633781433, 0.22516530752182007, -0.05307425558567047, 0.048030029982328415, -0.2062803953886032, -0.8591217994689941, 0.45944926142692566, 0.18051721155643463, -0.780909538269043, -0.29450953006744385, 0.8685482144355774, -0.42163825035095215, -0.63392573595047, 0.08043894171714783, 0.5007145404815674, 0.1511692851781845, 0.4562200605869293, -0.4069409668445587, 0.11649401485919952, -0.011645399034023285, -0.30743497610092163, 0.16900770366191864, 0.6135748624801636, 0.07158811390399933, 0.6700372695922852, 0.9664828777313232, 0.20416474342346191, 0.3512808680534363, -0.10689770430326462, 0.54566890001297, -0.8685904145240784, -0.5374792218208313, -1.031421422958374, 0.42374739050865173, -0.4788611829280853, -0.684406042098999, 0.8209894895553589, 0.49742600321769714, 0.9304711818695068, 0.1370508074760437, 0.9106054306030273, -0.23699694871902466, 0.852142333984375, -1.0420154333114624, 0.7130938768386841, -0.3736911118030548, 0.05863523110747337, -0.006766337901353836, -0.8380054235458374, -0.18868796527385712, 0.40748831629753113, -0.4621206521987915, 0.06754450500011444, 0.6783691048622131, 0.5135767459869385, 0.3193528652191162, -0.08528686314821243, 0.15363238751888275, 0.27883416414260864, 0.430428683757782, 0.11438192427158356, 1.0883535146713257, -0.04792574420571327, 0.4174603819847107, -0.039263755083084106, -0.1416110098361969, -0.08263379335403442, -0.8559343218803406, -0.48965996503829956, -0.2601970136165619, -0.5031090378761292, -0.6453194618225098, -0.07564104348421097, 0.525990903377533, 0.5894928574562073, -0.4461025297641754, 0.08658863604068756, -0.16195407509803772, 0.4009425640106201, 0.15728436410427094, -0.2752980589866638, 0.14149688184261322, -0.9477440118789673, -0.3892782926559448, 0.2201085388660431, 0.2619169354438782, -0.049207903444767, -0.39042362570762634, -0.1917831152677536, -0.11133965849876404, 0.3353102207183838, 0.6946374177932739, 0.3841891586780548, -0.6571733355522156, -0.3054490387439728, -0.16777652502059937, -0.1756172627210617, 0.016818072646856308, 0.873335063457489, -0.8589664697647095, 0.4909772574901581, 0.695507287979126, 0.3872529864311218, 0.41742342710494995, 0.23243683576583862, 0.4762592315673828, -0.4282912313938141, 0.02318049594759941, 0.06101056933403015, 0.060110900551080704, 0.452381432056427, -0.4261995255947113, 0.39531511068344116, 0.7475974559783936, -0.6721129417419434, -0.6862713098526001, 0.3367389738559723, -0.7407116293907166, -0.13654828071594238, 0.9802719950675964, 0.02827560156583786, -0.4114878475666046, -0.3246111571788788, 0.18327586352825165, 0.31252071261405945, -0.267129510641098, 0.8797945976257324, 1.021422266960144, -0.3086274266242981, 0.01672828570008278, -0.5989404916763306, 0.7346439957618713, 0.15511183440685272, -0.9535232186317444, -0.1102641224861145, 0.6357579827308655, 0.5305888056755066, 0.5577741861343384, 0.5379827618598938, 0.07189062982797623, 0.276452898979187, 0.2766839861869812, -0.08116801828145981, 0.17710405588150024, -0.4885210692882538, 0.28735780715942383, -0.03472292795777321, 0.030536707490682602, -0.14003513753414154 ]
http://arxiv.org/abs/2404.05406v2
http://arxiv.org/pdf/2404.05406v2
PerkwE_COQA: Enhanced Persian Conversational Question Answering by combining contextual keyword extraction with Large Language Models
2024-04-08T11:14:58
2024-04-15T12:38:33
Pardis Moradbeiki, Nasser Ghadiri
cs.CL
cs.CL, cs.AI, 68T50, 68T07, J.3; I.2.7; I.2.1
Smart cities need the involvement of their residents to enhance quality of life. Conversational query-answering is an emerging approach for user engagement. There is an increasing demand of an advanced conversational question-answering that goes beyond classic systems. Existing approaches have shown that LLMs offer promising capabilities for CQA, but may struggle to capture the nuances of conversational contexts. The new approach involves understanding the content and engaging in a multi-step conversation with the user to fulfill their needs. This paper presents a novel method to elevate the performance of Persian Conversational question-answering (CQA) systems. It combines the strengths of Large Language Models (LLMs) with contextual keyword extraction. Our method extracts keywords specific to the conversational flow, providing the LLM with additional context to understand the user's intent and generate more relevant and coherent responses. We evaluated the effectiveness of this combined approach through various metrics, demonstrating significant improvements in CQA performance compared to an LLM-only baseline. The proposed method effectively handles implicit questions, delivers contextually relevant answers, and tackles complex questions that rely heavily on conversational context. The findings indicate that our method outperformed the evaluation benchmarks up to 8% higher than existing methods and the LLM-only baseline.
[ -0.584743320941925, -1.1092607975006104, 0.6648718118667603, 0.01387602649629116, -0.45295989513397217, 0.5629708170890808, -0.3259270191192627, -0.23429666459560394, 0.1820487082004547, 0.5564966797828674, -0.7420830130577087, -0.5822693705558777, -0.036248672753572464, -0.07267042249441147, -0.3048442602157593, 0.36373862624168396, 0.24079327285289764, 0.21128734946250916, -0.3782038986682892, 0.09825675934553146, -0.6331344246864319, -0.5277866721153259, -0.5672006011009216, -0.11658533662557602, 0.32057228684425354, 0.9649457931518555, 0.8288136720657349, 0.02833878993988037, 0.3604232668876648, 0.26172345876693726, -0.16942539811134338, 0.18090800940990448, -0.4382617473602295, 0.32215821743011475, -0.020364081487059593, -0.0697682648897171, -0.44973668456077576, -0.35686951875686646, 0.36373284459114075, 0.5896671414375305, -0.24066221714019775, 0.22733470797538757, 0.024888882413506508, 0.3783178925514221, -0.6713618636131287, -0.1547297090291977, -0.7132365703582764, -0.02107100374996662, -0.09177742153406143, -0.43324923515319824, 0.09474103897809982, -0.3698452413082123, 0.3240991532802582, -0.5539616346359253, -0.23615813255310059, -0.1895565241575241, 0.7169498801231384, 0.2133910059928894, -0.5539004802703857, -0.2780224084854126, -0.6847872734069824, 0.7582781314849854, -0.7647545337677002, 0.3511787950992584, 0.13154810667037964, 0.47893965244293213, -0.2761791944503784, -0.5618247985839844, -0.8661532998085022, -0.18666332960128784, 0.04877500236034393, 0.3710772693157196, 0.06887301057577133, -0.0280841626226902, 0.084069162607193, 0.2918318510055542, -0.5387409329414368, -0.26556020975112915, -0.3003212511539459, -0.09376229345798492, 0.6770264506340027, 0.46141019463539124, 0.31705787777900696, -0.3821956217288971, -0.4576617181301117, -0.10091524571180344, -0.7355682253837585, 0.43204423785209656, -0.021713871508836746, 0.18278588354587555, -0.1626625657081604, 0.3885829448699951, -0.7469055652618408, 0.3382764160633087, 0.36018773913383484, -0.06455498933792114, -0.10585658997297287, -0.5475479364395142, -0.09850593656301498, 0.06779071688652039, 0.7173364162445068, 0.14152899384498596, 0.040142253041267395, -0.2581577003002167, 0.2516547739505768, -0.5658158659934998, 0.14429888129234314, -0.8204811215400696, -0.18598489463329315, 0.7409886121749878, -0.03709004074335098, -0.1375707983970642, 0.023216206580400467, -0.7849264740943909, -0.3181818425655365, -0.07828735560178757, 0.17877861857414246, -0.09577946364879608, -0.31294867396354675, 0.1106136366724968, 0.11590095609426498, 0.6427671313285828, 0.666592538356781, -0.7986351251602173, 0.32400351762771606, 0.644395112991333, 0.4376102387905121, -0.2863718569278717, 0.37225431203842163, -0.3896482586860657, 0.25144997239112854, -0.39858993887901306, 0.6266586184501648, -0.6927274465560913, -0.4947361350059509, -0.047322291880846024, -0.26205378770828247, 0.03704359382390976, -0.5712305903434753, 0.6380065083503723, -1.0268100500106812, 0.21094921231269836, -0.22647088766098022, -0.14696969091892242, -0.28814697265625, 0.5567919015884399, -0.2764171063899994, 1.0459462404251099, -0.06543606519699097, -0.5073035359382629, -0.0931135043501854, -0.795964777469635, -0.2082975208759308, 0.5637893080711365, -0.1555406004190445, -0.09735250473022461, 0.01577056758105755, 0.644815981388092, 0.52315753698349, -0.3770428001880646, 0.4991053640842438, -0.025823673233389854, -0.4235835075378418, 0.5644638538360596, -0.27235785126686096, 0.5365167260169983, 0.39646872878074646, -0.2680337429046631, 0.23692841827869415, -0.6228287816047668, 0.4358251094818115, -0.05288718268275261, -0.49822163581848145, -0.3556883931159973, 0.12729141116142273, 0.045850593596696854, 0.29129207134246826, 0.6146531701087952, -0.6812552213668823, -0.15043190121650696, -0.7001219391822815, 0.14272835850715637, 0.24939768016338348, 0.18307413160800934, 0.5059662461280823, -0.03503333032131195, 0.8012533783912659, -0.1290699541568756, 0.033211879432201385, -0.019414259120821953, -0.1750933974981308, -0.7128131985664368, -0.29651227593421936, 0.28487083315849304, 0.7937149405479431, -1.0004814863204956, 0.24508747458457947, -0.4681951701641083, -0.6132967472076416, -0.013936984352767467, 0.06348311901092529, 0.2431432157754898, 0.4235059916973114, 0.2453053593635559, -0.20959633588790894, -0.4196552336215973, -0.5818185210227966, -0.40531131625175476, -0.09133121371269226, 0.07855681329965591, 0.8056157827377319, 0.3282153606414795, 0.049083199352025986, 1.0358492136001587, -0.4796343743801117, 0.2531912326812744, -0.48707863688468933, -0.2631779611110687, 0.45756515860557556, 0.34640583395957947, -0.11606086790561676, -1.218502402305603, -0.6430261135101318, -0.03999950364232063, -0.47199374437332153, -0.12094912678003311, -0.08972851932048798, -0.3435624837875366, -0.2944510877132416, 0.547788679599762, -0.3870018720626831, 0.20274773240089417, 0.6480464935302734, -0.4524623453617096, 0.502657413482666, 0.18922805786132812, 0.3733910024166107, -1.3348428010940552, 0.10061922669410706, -0.36028024554252625, -0.4962213337421417, -0.8831037282943726, 0.5248669981956482, -0.0975734144449234, -0.3558594882488251, -0.6864596605300903, 0.6846242547035217, -0.20898836851119995, 0.20062647759914398, -0.14746734499931335, 0.28097373247146606, -0.13737520575523376, 0.5687353610992432, 0.20071707665920258, 0.9805231690406799, 0.3023420572280884, -0.5999391078948975, 0.4787408113479614, 0.6181374192237854, -0.2377026230096817, 0.33742815256118774, -0.736543595790863, 0.34998953342437744, 0.2767728567123413, 0.2811809480190277, -1.318174123764038, -0.2632730305194855, 0.2632545530796051, -0.4291495382785797, -0.23907820880413055, 0.1818544864654541, -0.486765056848526, -0.2495955377817154, -0.2883695065975189, 0.4320680797100067, 0.1098567396402359, -0.38795483112335205, 0.7540621757507324, 0.36371004581451416, -0.6179173588752747, -0.19394314289093018, -0.31118935346603394, 0.49745750427246094, -0.41767993569374084, -0.6954260468482971, 0.1177729144692421, -0.04754598066210747, -0.0991324633359909, -0.44004544615745544, -0.10990060865879059, -0.41834762692451477, 0.5584680438041687, 0.12651844322681427, 0.17156058549880981, -0.14652705192565918, 0.19327808916568756, 0.23154862225055695, 0.036242470145225525, -0.0647176131606102, -0.03847021982073784, 0.8843634128570557, 0.04927143454551697, -0.07070211321115494, -0.6751599311828613, 0.5947626233100891, 0.6013094782829285, -0.4552196264266968, 0.6499249935150146, 0.6091724038124084, -0.0943242758512497, 0.40134894847869873, -0.5415315628051758, -0.34577682614326477, -0.5210055708885193, 0.47148340940475464, -0.7334139347076416, -1.294253945350647, 0.49469348788261414, -0.5723035335540771, -0.02423594333231449, 0.1263178288936615, 0.642052948474884, -0.4300738275051117, 1.0556843280792236, 0.4756093919277191, 0.0891212522983551, 0.5267029404640198, 0.1253768503665924, 0.37296849489212036, -0.9796484112739563, -0.28326529264450073, -0.5808818936347961, -0.03579983115196228, -0.5851384997367859, -0.512876570224762, 0.8632717728614807, 0.24109682440757751, -0.3291770815849304, 0.09697244316339493, -0.14875085651874542, 0.09698836505413055, 0.41781818866729736, 0.2960314154624939, 0.5541418194770813, 0.16091763973236084, -0.12995457649230957, 0.04767800122499466, -0.8283441662788391, -0.6138054132461548, 0.9486173987388611, 0.14702323079109192, 0.6781142950057983, 0.5827475786209106, 0.6193299293518066, 0.03922278434038162, -0.013202305883169174, -0.5814753174781799, 0.7579900622367859, 0.11101936548948288, -0.6033117175102234, -0.5917263627052307, -0.3541799783706665, -0.9490201473236084, 0.49276646971702576, -0.5224482417106628, -0.9009567499160767, 0.19575810432434082, -0.03582340106368065, -0.8307964205741882, -0.22288046777248383, -0.3064589500427246, 0.7716756463050842, -0.2812207043170929, -0.44931870698928833, -0.4872066080570221, -0.4302973747253418, 0.2700284719467163, -0.040663812309503555, 0.20376186072826385, -0.08035320043563843, -0.12538361549377441, 0.6409351229667664, -0.4244454503059387, 0.4882591962814331, -0.09290310740470886, -0.21597014367580414, 0.2335609793663025, -0.06119189411401749, 0.5209106802940369, 0.26461413502693176, 0.02514261193573475, -0.010027412325143814, 0.48452845215797424, -0.46236053109169006, -0.5409359335899353, 0.6143618822097778, -0.5817436575889587, -0.8723285794258118, -0.20275448262691498, -0.678165078163147, -0.6884378790855408, -0.10407198965549469, -0.23514826595783234, 0.6033207178115845, -0.2537855803966522, 0.4242715537548065, 0.7405887246131897, -0.5350406765937805, 0.35614684224128723, 0.5512378215789795, -0.02025775983929634, -0.40615490078926086, 0.4958533048629761, -0.44245555996894836, 0.24433079361915588, 0.4572817087173462, 0.3560229241847992, -0.42637646198272705, -0.5767929553985596, -0.4952830970287323, -0.0991305336356163, -0.29781848192214966, -0.06658326834440231, -0.9512500166893005, -0.07060743123292923, -0.592572033405304, -0.05918726325035095, -0.1638185679912567, -0.42496269941329956, 0.02963653951883316, 0.3209972083568573, 0.1505461484193802, 0.3464803397655487, 0.2401238977909088, 0.4190211892127991, -1.0959689617156982, 0.42855483293533325, 0.6258231997489929, -0.2631553113460541, 0.09632555395364761, -0.45376265048980713, -0.3414002060890198, 0.11431208997964859, -0.45565518736839294, -1.033656358718872, 0.37286269664764404, 0.1824321746826172, 0.37239763140678406, 0.16961511969566345, 0.3432963490486145, 1.006466031074524, -0.2700439691543579, 1.0516043901443481, 0.07318947464227676, -0.8775009512901306, 0.5017073154449463, -0.605717658996582, 0.810908317565918, 0.8674001693725586, 0.253235787153244, -0.7721956372261047, -0.40386566519737244, -0.4492270052433014, -1.1210358142852783, 0.3912407159805298, -0.0026615143287926912, 0.5422422885894775, 0.19760988652706146, 0.4594905376434326, -0.30379921197891235, 0.3207719922065735, -0.44529277086257935, 0.001342238043434918, 0.12628482282161713, -0.2619602680206299, 0.11438164860010147, -0.38523560762405396, 0.0687500461935997, -0.4898458421230316, 0.6043789982795715, -0.2525114119052887, 0.16626714169979095, 0.4441888928413391, -0.2017500251531601, 0.07302127033472061, 0.6648743748664856, 0.40898260474205017, 0.6717416644096375, -0.11578202992677689, -0.3040306568145752, 0.5682983994483948, -0.49145978689193726, -0.06819683313369751, -0.1326058804988861, -0.07295873761177063, -0.37872275710105896, -0.02769712172448635, 0.25845733284950256, 0.24623380601406097, -0.9797893166542053, 0.5220100283622742, -0.3553619980812073, 0.17654730379581451, -0.5987353324890137, 0.097102090716362, 0.36372026801109314, 0.5509811639785767, 0.747933566570282, -0.43591490387916565, 0.4032388925552368, -0.7348142862319946, 0.04362291842699051, 0.6740125417709351, -0.5397046804428101, 0.0034883772023022175, 0.48138582706451416, 0.5187332034111023, 0.05911426991224289, 0.31035593152046204, -0.08175366371870041, -0.9150277972221375, 0.4331863522529602, 0.3102324903011322, 0.7058848142623901, -0.034639351069927216, 0.16175559163093567, 0.5289596319198608, -0.25440293550491333, 0.4504612386226654, 0.6896607279777527, -0.5877647995948792, -0.7708921432495117, -0.5868653655052185, -0.6499897837638855, -0.6429075598716736, 0.06938102096319199, -0.5674536228179932, -0.12551376223564148, -0.2597048282623291, 0.06168900802731514, -0.5734259486198425, 0.6282740831375122, -0.4885779023170471, 0.40048208832740784, 0.24737240374088287, 0.8898518681526184, -0.44963833689689636, 0.6444672346115112, 0.8884389400482178, 0.1333787888288498, -1.1034153699874878, 0.3129412829875946, -0.29214996099472046, -0.3609904944896698, 0.5158725380897522, -0.27158042788505554, -0.35372909903526306, 0.2560005486011505, -0.7972634434700012, -0.9978360533714294, 1.2003318071365356, -0.06370105594396591, -0.6070377826690674, 0.26282721757888794, 0.2400854527950287, 0.3674752414226532, -0.36653319001197815, 0.290864497423172, 0.522018313407898, 0.4088292717933655, 0.43191370368003845, -0.9340945482254028, 0.31091153621673584, -0.04676946625113487, -0.11088873445987701, -0.22013400495052338, -0.6922113299369812, 0.4711838662624359, 0.0007706366013735533, -0.4369983375072479, 0.7564529776573181, 0.7757365703582764, 0.3113100528717041, 0.2176484763622284, 0.4378354847431183, 0.16826340556144714, 0.6600207686424255, -0.12789340317249298, 0.9249431490898132, -0.5390958786010742, 0.19624435901641846, 1.0317740440368652, -0.03091980144381523, 1.1712392568588257, 0.5437291264533997, -0.04518189653754234, 0.6862656474113464, 0.6303479671478271, 0.578123152256012, 0.6422428488731384, 0.20933149755001068, -0.4810032844543457, -0.6923521161079407, -0.2077099233865738, -0.07976426929235458, 0.9003874063491821, 0.4270429015159607, 0.38495516777038574, -0.28096312284469604, -0.04259452223777771, 0.1345350295305252, 0.3033532500267029, -0.3158462345600128, 1.0960055589675903, -0.05260332673788071, -0.7385034561157227, 0.5397592782974243, 0.04280344024300575, 0.7196822166442871, -0.43422454595565796, -0.01831374503672123, -0.2364894598722458, -0.1524309366941452, -0.18865171074867249, -0.47286954522132874, 0.08326875418424606, 0.07016008347272873, 0.07378249615430832, -0.12916898727416992, 0.684321403503418, -0.5374805927276611, -0.35880953073501587, -0.13132242858409882, 0.8509054780006409, 0.27152228355407715, -0.3540598154067993, -0.7911363840103149, -0.18364126980304718, -0.05521734058856964, -0.010692439042031765, 0.027771886438131332, 0.2226540744304657, -0.22780925035476685, 0.5934004187583923, 0.8747977018356323, 0.048337340354919434, -0.09846027940511703, -0.12073717266321182, 0.842440664768219, -0.7487767338752747, -0.5846672654151917, -0.5873342156410217, 0.49206241965293884, -0.2903279960155487, -0.33081284165382385, 0.8700534105300903, 0.47945353388786316, 0.37166163325309753, 0.2404225468635559, 0.571953535079956, -0.01577380672097206, 0.7578995227813721, -0.3711261451244354, 0.6151207089424133, -0.6384045481681824, 0.40535834431648254, -0.23424987494945526, -0.771587073802948, -0.04743727296590805, 0.41177356243133545, -0.5874073505401611, -0.3050217926502228, 0.46853402256965637, 0.9213480353355408, 0.07850214838981628, -0.013273924589157104, 0.4836817681789398, 0.11293681710958481, 0.32104918360710144, 0.7383458018302917, 1.1372405290603638, -0.49654439091682434, 0.4717618227005005, 0.16955091059207916, -0.039566755294799805, -0.17848989367485046, -0.5400869250297546, -0.7527777552604675, -0.4495672285556793, -0.24728794395923615, -0.19399064779281616, 0.26972636580467224, 0.8434301614761353, 0.8248224854469299, -0.9727898836135864, -0.22421696782112122, 0.1857713907957077, 0.05067160725593567, -0.0067314584739506245, -0.2652937173843384, 0.44598978757858276, -0.09434593468904495, -0.805885910987854, 0.4458059072494507, 0.2530938982963562, -0.34618079662323, -0.2408515065908432, -0.05949383229017258, -0.32074493169784546, 0.39629605412483215, 0.4620741605758667, 0.18204426765441895, -0.5199248790740967, -0.22254721820354462, 0.14239035546779633, -0.24472829699516296, 0.08156236261129379, 0.6432828307151794, -1.0228979587554932, 0.2634030878543854, 0.5474273562431335, 0.6410982012748718, 0.5586269497871399, 0.44901368021965027, 0.6293042898178101, -0.5330525636672974, -0.020156478509306908, 0.2612811028957367, -0.21591049432754517, 0.39077118039131165, -0.536323070526123, 0.10353831201791763, -0.1549292355775833, -0.2586568593978882, -0.2939319908618927, 0.26737502217292786, -1.0269783735275269, -0.34687650203704834, 1.2035799026489258, -0.08286546170711517, -0.14441031217575073, -0.5178725123405457, -0.24296484887599945, -0.026156393811106682, -0.4947831928730011, 0.6805554628372192, 0.4079659581184387, -0.001275557791814208, -0.36627528071403503, -0.6745981574058533, 0.302435040473938, 0.6750954389572144, -0.856736958026886, -0.36950090527534485, 0.3804916739463806, 0.2940804064273834, 0.056529950350522995, 0.7420740127563477, -0.24821005761623383, 0.6481935977935791, -0.5724169015884399, -0.18001733720302582, 0.13003778457641602, 0.02117316983640194, -0.25012749433517456, 0.37015631794929504, 0.027995316311717033, -0.10271768271923065 ]
http://arxiv.org/abs/2404.05405v1
http://arxiv.org/pdf/2404.05405v1
Physics of Language Models: Part 3.3, Knowledge Capacity Scaling Laws
2024-04-08T11:11:31
2024-04-08T11:11:31
Zeyuan Allen-Zhu, Yuanzhi Li
cs.CL
cs.CL, cs.AI, cs.LG
Scaling laws describe the relationship between the size of language models and their capabilities. Unlike prior studies that evaluate a model's capability via loss or benchmarks, we estimate the number of knowledge bits a model stores. We focus on factual knowledge represented as tuples, such as (USA, capital, Washington D.C.) from a Wikipedia page. Through multiple controlled datasets, we establish that language models can and only can store 2 bits of knowledge per parameter, even when quantized to int8, and such knowledge can be flexibly extracted for downstream applications. Consequently, a 7B model can store 14B bits of knowledge, surpassing the English Wikipedia and textbooks combined based on our estimation. More broadly, we present 12 results on how (1) training duration, (2) model architecture, (3) quantization, (4) sparsity constraints such as MoE, and (5) data signal-to-noise ratio affect a model's knowledge storage capacity. Notable insights include: * The GPT-2 architecture, with rotary embedding, matches or even surpasses LLaMA/Mistral architectures in knowledge storage, particularly over shorter training durations. This arises because LLaMA/Mistral uses GatedMLP, which is less stable and harder to train. * Prepending training data with domain names (e.g., wikipedia.org) significantly increases a model's knowledge capacity. Language models can autonomously identify and prioritize domains rich in knowledge, optimizing their storage capacity.
[ -0.3518674671649933, -0.6039620041847229, 0.6172614097595215, 0.08473455160856247, 0.2144387662410736, -0.4243519902229309, -0.2052517682313919, -0.5630441904067993, -0.4215683341026306, 0.5960659384727478, 0.03604555130004883, 0.2491663098335266, -0.6271082758903503, -0.2127717286348343, -0.5752434730529785, 0.8748704195022583, 0.10155611485242844, 0.24757014214992523, -0.18892808258533478, -0.165962353348732, -0.34883493185043335, -0.46214550733566284, -0.5339668393135071, -0.3202063739299774, 0.29737722873687744, 0.28199219703674316, 0.9651749730110168, 0.9897388815879822, 0.5491176247596741, 0.24529603123664856, -0.4228917360305786, -0.21083636581897736, -0.5063596963882446, -0.05824141204357147, -0.041219312697649, -0.48723697662353516, -0.40524566173553467, -0.05614537373185158, 0.8555359244346619, 0.7728570103645325, -0.3182278871536255, -0.13354311883449554, -0.020086629316210747, 0.8075535297393799, -0.3872857391834259, 0.2757253050804138, -0.6384876370429993, -0.1683090627193451, -0.10281399637460709, 0.14877668023109436, -0.29181891679763794, -0.1640654057264328, 0.30935874581336975, -0.6227567195892334, 0.20294281840324402, 0.17360545694828033, 0.897258460521698, 0.044592875987291336, -0.7011706829071045, -0.30919715762138367, -0.628873884677887, 0.8717944622039795, -0.7775734066963196, 0.5965576767921448, 0.5794826149940491, 0.3151831328868866, 0.011502276174724102, -0.6365836262702942, -0.6577550768852234, -0.20340341329574585, -0.0168252345174551, -0.3918421268463135, -0.20088879764080048, 0.13319216668605804, 0.48049843311309814, 0.5160582661628723, -0.35412049293518066, 0.015701865777373314, -0.8049272894859314, -0.26037636399269104, 0.5321601629257202, 0.028342127799987793, 0.39497119188308716, 0.093558169901371, -0.008530489169061184, -0.16393588483333588, -0.8225710988044739, -0.20198003947734833, 0.2759920358657837, 0.18944692611694336, -0.11544191092252731, 0.6310369372367859, -0.13437111675739288, 0.8346399664878845, -0.1648823618888855, -0.3767484426498413, -0.06785213202238083, -0.3118794560432434, -0.033398859202861786, -0.2826257348060608, 0.9374693632125854, 0.1237926185131073, 0.4948154389858246, -0.1535121202468872, -0.08923111110925674, -0.6233557462692261, 0.3155233860015869, -0.8134700655937195, -0.0034749421756714582, -0.1553160548210144, -0.3633977472782135, -0.1547693908214569, -0.09557594358921051, -0.2843126654624939, -0.5537238121032715, -0.28464847803115845, 0.5909425616264343, -0.7260801792144775, -0.4763573110103607, 0.3315771222114563, -0.19482864439487457, 0.21704261004924774, -0.007030544802546501, -1.4423972368240356, 0.6167556047439575, 0.6620587110519409, 0.8719780445098877, 0.26655977964401245, -0.3671613931655884, 0.15265360474586487, 0.11311555653810501, -0.3785598576068878, 0.29059678316116333, -0.2188609391450882, -0.131587952375412, 0.025513196364045143, -0.20484445989131927, 0.05274590477347374, -0.38258326053619385, -0.1411900669336319, -0.7599162459373474, 0.023089323192834854, -0.4950910210609436, -0.8495630621910095, -0.30386054515838623, -0.14063748717308044, -0.9970476031303406, 0.7185181379318237, 0.27091044187545776, -0.6750983595848083, 0.3434971868991852, -0.49648457765579224, -0.5615946054458618, -0.11991079896688461, -0.06279811263084412, -0.20516347885131836, 0.34944280982017517, -0.27704596519470215, 0.5009534358978271, -0.6840802431106567, 0.200076624751091, -0.36066392064094543, 0.07775448262691498, 0.25560808181762695, -0.37752559781074524, 0.9336482286453247, 0.44347628951072693, -0.042885370552539825, -0.31387633085250854, -0.6805784106254578, -0.15122897922992706, 0.0991641953587532, -0.5170828700065613, -0.25422635674476624, 0.13815799355506897, -0.29212725162506104, -0.015056997537612915, 0.3590486943721771, -0.36306414008140564, 0.3023989200592041, -0.2174513339996338, 0.6638510227203369, 0.3862961530685425, -0.04897139221429825, 0.8255273103713989, -0.15532709658145905, 0.3763177990913391, -0.06274674832820892, 0.132230743765831, 0.17848704755306244, -0.4672388732433319, -0.6827671527862549, 0.26163551211357117, 0.1593976467847824, 0.22241424024105072, -0.4323907494544983, -0.06853333860635757, -0.4657822251319885, -0.5293352603912354, -0.2126169353723526, 0.23232123255729675, 0.2621203064918518, 0.35452190041542053, 0.09609746187925339, 0.01693546399474144, -0.43703973293304443, -0.9131478071212769, -0.17367048561573029, -0.44803184270858765, 0.08932991325855255, 0.24262583255767822, 0.4369725286960602, 0.1436048299074173, 0.8580320477485657, -0.24993078410625458, -0.028638167306780815, -0.33658429980278015, -0.11260348558425903, 0.17396681010723114, 0.4082670211791992, 0.6021385192871094, -0.7865593433380127, -0.34198620915412903, 0.45625245571136475, -0.6877167820930481, 0.06942810118198395, 0.15475589036941528, 0.20434531569480896, 0.12158365547657013, 0.4115065038204193, -0.7012753486633301, 0.06392443925142288, 0.4916103184223175, -0.35407117009162903, 0.4690716862678528, -0.3197254538536072, -0.07384181767702103, -1.0385440587997437, -0.29667404294013977, -0.09457512944936752, -0.13726221024990082, -0.8000125885009766, 0.07396581023931503, 0.329894095659256, -0.059298090636730194, -0.37902313470840454, 0.6896631121635437, -0.5317400693893433, -0.18167942762374878, -0.3429493010044098, -0.0026274756528437138, -0.033372994512319565, 0.24500951170921326, 0.09231451153755188, 0.856255829334259, 0.5987729430198669, -0.9011542797088623, 0.32634320855140686, -0.08439598977565765, -0.47249943017959595, 0.17946888506412506, -0.535302460193634, -0.11162452399730682, 0.27051815390586853, -0.10427600145339966, -0.6239049434661865, -0.33893048763275146, -0.37387195229530334, -0.35668256878852844, 0.3492821753025055, -0.26093870401382446, -0.6875715255737305, -0.20240691304206848, 0.1309429556131363, 0.5307802557945251, 0.6067081689834595, -0.1671411097049713, 0.5556449294090271, 0.8455923795700073, 0.05114114284515381, -0.40938055515289307, -0.751580536365509, -0.25258669257164, -0.16356724500656128, -0.6071568131446838, -0.10937339812517166, 0.005500842817127705, -0.49664634466171265, 0.14288051426410675, -0.23118248581886292, -0.444502592086792, 0.15647567808628082, 0.07950935512781143, 0.0037350784987211227, -0.32171255350112915, 0.3644278943538666, -0.06976096332073212, 0.1428990662097931, 0.3482356667518616, -0.6766666173934937, 0.6002399325370789, -0.6392103433609009, -0.0526973195374012, -0.1374824494123459, -0.07953613996505737, 0.7098477482795715, 0.12117980420589447, 1.134210228919983, 0.47158297896385193, -0.44654762744903564, 0.164351224899292, -0.5760738253593445, -0.025551311671733856, -0.4519746005535126, 0.5058762431144714, -0.49003201723098755, -1.0820814371109009, 0.5856788158416748, 0.3321048617362976, 0.005898605566471815, 0.7512853741645813, 0.7451396584510803, 0.05930511653423309, 0.7243173718452454, 0.8024852275848389, -0.3924191892147064, 0.664479672908783, -0.3552238345146179, 0.19043435156345367, -0.6733008623123169, -0.14012689888477325, -0.4462718069553375, 0.01973053626716137, -0.5844703912734985, -0.3026873469352722, 0.22149357199668884, 0.39623454213142395, -0.536071240901947, 0.6292667388916016, -0.1902218461036682, 0.7245118618011475, 0.48256686329841614, -0.05735115706920624, 0.1589733064174652, 0.1368330717086792, 0.15114963054656982, 0.14004634320735931, -0.9444307088851929, -0.2673015296459198, 1.3655489683151245, 0.6110079288482666, 0.6792150735855103, 0.4425545036792755, 0.2141517698764801, 0.014125887304544449, 0.1137978583574295, -0.8530235290527344, 0.5226751565933228, 0.049461908638477325, -1.0693466663360596, -0.6285622715950012, -0.7403335571289062, -0.7618664503097534, 0.04655546322464943, 0.01322410348802805, -0.6750836372375488, 0.04908093810081482, 0.13875743746757507, -0.11694542318582535, 0.7016734480857849, -0.8979889154434204, 0.6257702112197876, -0.2845896780490875, -0.19655905663967133, -0.548770546913147, -0.5399547219276428, 0.269448846578598, -0.04490364342927933, 0.32864683866500854, 0.0020809960551559925, -0.005120826885104179, 1.0875251293182373, -0.6899831295013428, 0.5986528396606445, -0.16635863482952118, -0.26672986149787903, 0.4884571135044098, 0.2867538630962372, 0.19993162155151367, -0.1838935911655426, -0.0025541731156408787, 0.19673068821430206, 0.3686118721961975, -0.5173049569129944, -0.5473647713661194, 0.5588794350624084, -1.0212982892990112, -0.5494908094406128, -0.2356197088956833, -0.8433050513267517, -0.33755335211753845, 0.4539492130279541, 0.24499326944351196, 0.3722665309906006, 0.18178680539131165, 0.5931403636932373, 0.9404433369636536, 0.06240164116024971, 0.40382835268974304, 0.6693055629730225, -0.2749902904033661, -0.1795656383037567, 1.0185792446136475, 0.5326468348503113, 0.6125622987747192, 0.5369296073913574, 0.4430564343929291, -0.36855584383010864, -0.6349356770515442, 0.14504948258399963, 0.42024463415145874, -0.7461274266242981, -0.15797622501850128, -0.5294939279556274, -0.5441586971282959, -0.7674509286880493, 0.09450158476829529, -0.4197077453136444, -0.7341601252555847, -0.11823268979787827, -0.12587007880210876, 0.6123532652854919, 1.1186343431472778, -0.4291647970676422, 0.6193660497665405, -0.5412675738334656, 0.10673931241035461, 0.3900282382965088, 0.5020000338554382, 0.17743279039859772, -0.8899192214012146, -0.7768707871437073, -0.102994903922081, -0.12871702015399933, -0.8616555333137512, 0.17638690769672394, 0.08294326066970825, 0.34309569001197815, 0.5951458215713501, -0.33865615725517273, 0.6315191984176636, -0.44913747906684875, 0.5093307495117188, 0.25665998458862305, -0.8676784038543701, 0.3487356901168823, -0.4037999212741852, 0.012391098774969578, 0.16535817086696625, 0.38171255588531494, -0.43488985300064087, -0.18476250767707825, -0.7550677061080933, -0.4996156692504883, 0.5937210917472839, -0.05778633430600166, 0.24390701949596405, 0.10620730370283127, 0.6757401823997498, -0.047715846449136734, 0.14127078652381897, -0.8610560894012451, 0.0007922091172076762, -0.17552484571933746, -0.07657621800899506, 0.16226810216903687, -0.6896457672119141, -0.0706610158085823, -0.1664935052394867, 0.7833259105682373, 0.19647198915481567, 0.24580007791519165, -0.24086569249629974, -0.12334112823009491, 0.11029524356126785, 0.23661136627197266, 0.6294148564338684, 0.7477383017539978, -0.041722722351551056, 0.10252753645181656, 0.15996785461902618, -0.8904286026954651, 0.2277703732252121, -0.192841574549675, -0.036295242607593536, -0.416303813457489, 0.4253093898296356, 0.8966781497001648, 0.12095721065998077, -0.4290734529495239, 0.32438936829566956, 0.017461121082305908, -0.33090415596961975, -0.2852441966533661, 0.1624072939157486, 0.017177226021885872, 0.2699947655200958, 0.2665288746356964, -0.1441996544599533, 0.11050398647785187, -0.3931499719619751, 0.03759537637233734, 0.25882241129875183, -0.3306531012058258, -0.3463277220726013, 0.6101706027984619, -0.1530470848083496, -0.06598366796970367, 0.6148141026496887, -0.16894501447677612, -0.25498270988464355, 0.37971022725105286, 0.6143280267715454, 0.35775864124298096, -0.1623251736164093, 0.026395004242658615, 0.4301115572452545, 0.5439666509628296, -0.4230095446109772, 0.10837242752313614, -0.00781979039311409, -0.9971625208854675, -0.3658556342124939, -0.5595112442970276, -0.3261738419532776, 0.29732877016067505, -0.8404125571250916, -0.03314642235636711, -0.5596269965171814, -0.19387376308441162, -0.1903926134109497, 0.36806541681289673, -0.5632649064064026, 0.1495901346206665, -0.04934175685048103, 1.0640772581100464, -0.9182965755462646, 0.94588702917099, 0.3705230951309204, -0.4984912872314453, -1.1547582149505615, -0.4391443729400635, 0.19352243840694427, -1.0022039413452148, 0.47911447286605835, -0.26920828223228455, 0.15942351520061493, 0.13414913415908813, -0.5854727625846863, -1.1487351655960083, 1.125294804573059, 0.535217821598053, -0.7013902068138123, -0.08603609353303909, 0.06253808736801147, 0.5587834119796753, -0.19204537570476532, 0.054461389780044556, 0.7084152698516846, 0.22726581990718842, -0.06362386047840118, -1.000952959060669, -0.10601748526096344, -0.11094190180301666, 0.05811823531985283, 0.21548369526863098, -0.5733292102813721, 0.8699984550476074, -0.2854941785335541, -0.03806919977068901, -0.0004769690567627549, 0.7445618510246277, 0.25883081555366516, -0.15905532240867615, 0.38187986612319946, 0.6916770935058594, 0.7775843739509583, -0.18173032999038696, 1.4966895580291748, -0.4729340076446533, 0.4531848728656769, 0.752393364906311, -0.06845765560865402, 0.6683402061462402, 0.48419320583343506, -0.4073786437511444, 0.2792954444885254, 0.5438007712364197, 0.08086568117141724, 0.4696207344532013, 0.005451624747365713, -0.11218667775392532, 0.0313817635178566, -0.07724294811487198, -0.3340919613838196, 0.11775156855583191, 0.3793345093727112, -0.20017416775226593, 0.17768052220344543, -0.016701681539416313, 0.38915184140205383, -0.295521080493927, -0.3884168565273285, 0.7650655508041382, 0.134934201836586, -0.33824509382247925, 0.43362224102020264, -0.10671204328536987, -0.060087233781814575, -0.6565226912498474, 0.30718085169792175, -0.23520305752754211, 0.09458200633525848, -0.00835129152983427, -0.956264317035675, 0.14445523917675018, -0.08313547074794769, -0.42178985476493835, -0.22546948492527008, 0.707848072052002, -0.3215414881706238, -0.40676945447921753, 0.03797559812664986, 0.4855503439903259, 0.3482358157634735, -0.004562449175864458, -0.28714096546173096, 0.07849407941102982, -0.1470664143562317, -0.4132673740386963, 0.46515509486198425, 0.8936910629272461, -0.055078454315662384, 0.9343703389167786, 0.20987722277641296, 0.5233336091041565, 0.4097070097923279, 0.07715225219726562, 0.7108235955238342, -0.6363709568977356, -0.23319466412067413, -0.7269924879074097, 0.12965144217014313, 0.016250206157565117, -0.034042321145534515, 0.6605506539344788, 0.5870131254196167, 0.7615888714790344, 0.08816710859537125, 0.8502128720283508, -0.43903979659080505, 0.18713831901550293, -0.6454333066940308, 0.8037579655647278, -0.4463837146759033, 0.31356552243232727, 0.28492772579193115, -0.7341647148132324, -0.15374435484409332, 0.6314155459403992, -0.49604764580726624, 0.1619056612253189, 0.6879526972770691, 0.6052088141441345, -0.017662115395069122, -0.1833556443452835, 0.481884241104126, 0.4768047332763672, 0.29621797800064087, 0.5048922896385193, 0.49296268820762634, -0.5147551894187927, 0.7330285906791687, -0.20953162014484406, -0.05801402032375336, -0.1561116725206375, -0.5440433621406555, -0.7064735889434814, -0.9369832277297974, -0.10782289505004883, -0.5652018785476685, -0.32840999960899353, 0.271173894405365, 0.9381880164146423, -0.6740285754203796, -0.6041910648345947, -0.32232391834259033, 0.1761803925037384, -0.1915789097547531, -0.2215651273727417, 0.1302499771118164, -0.45899340510368347, -0.2453620880842209, 0.2585391700267792, 0.10398812592029572, 0.44473034143447876, -0.3349759876728058, -0.3523639440536499, 0.0735304206609726, 0.07670764625072479, 0.46811795234680176, 0.49779650568962097, -0.6887022256851196, -0.2533201277256012, -0.028521481901407242, -0.17194049060344696, -0.2846182584762573, 0.9105805158615112, -0.39886099100112915, 0.4096076190471649, 0.5227032899856567, 0.5934076309204102, 0.6557905673980713, -0.5843583941459656, 0.7970515489578247, -0.5645110607147217, 0.16217957437038422, -0.20969483256340027, 0.6550040245056152, 0.15466341376304626, -0.04906595125794411, 0.5940260887145996, 0.1794227659702301, -0.68916916847229, -0.7305200099945068, 0.2814050316810608, -0.7761402726173401, -0.24276025593280792, 1.2042264938354492, 0.02700791135430336, -0.15901896357536316, 0.1466151922941208, 0.13952192664146423, 0.2051084041595459, -0.1019294261932373, 0.6842888593673706, 1.1075451374053955, -0.05568605288863182, -0.4041486084461212, -0.8863286972045898, 0.6054988503456116, 0.18781396746635437, -0.4194139838218689, 0.17322155833244324, 0.4308699071407318, 0.49283093214035034, 0.22892418503761292, 0.7125040888786316, -0.2504468560218811, 0.16545549035072327, 0.27689409255981445, -0.05710924044251442, -0.08303318172693253, -0.457598477602005, -0.4143131375312805, 0.11197540909051895, 0.21886815130710602, 0.26653727889060974 ]
http://arxiv.org/abs/2404.05399v1
http://arxiv.org/pdf/2404.05399v1
SafetyPrompts: a Systematic Review of Open Datasets for Evaluating and Improving Large Language Model Safety
2024-04-08T10:57:25
2024-04-08T10:57:25
Paul Röttger, Fabio Pernisi, Bertie Vidgen, Dirk Hovy
cs.CL
cs.CL, cs.AI
The last two years have seen a rapid growth in concerns around the safety of large language models (LLMs). Researchers and practitioners have met these concerns by introducing an abundance of new datasets for evaluating and improving LLM safety. However, much of this work has happened in parallel, and with very different goals in mind, ranging from the mitigation of near-term risks around bias and toxic content generation to the assessment of longer-term catastrophic risk potential. This makes it difficult for researchers and practitioners to find the most relevant datasets for a given use case, and to identify gaps in dataset coverage that future work may fill. To remedy these issues, we conduct a first systematic review of open datasets for evaluating and improving LLM safety. We review 102 datasets, which we identified through an iterative and community-driven process over the course of several months. We highlight patterns and trends, such as a a trend towards fully synthetic datasets, as well as gaps in dataset coverage, such as a clear lack of non-English datasets. We also examine how LLM safety datasets are used in practice -- in LLM release publications and popular LLM benchmarks -- finding that current evaluation practices are highly idiosyncratic and make use of only a small fraction of available datasets. Our contributions are based on SafetyPrompts.com, a living catalogue of open datasets for LLM safety, which we commit to updating continuously as the field of LLM safety develops.
[ -0.2035352736711502, -0.38833847641944885, 0.4943065941333771, 0.2380068451166153, -0.1974749118089676, -0.08204284310340881, -0.23601387441158295, -0.42443281412124634, -0.06581325829029083, 0.5417922735214233, -0.39558589458465576, -0.8231499195098877, -0.6860465407371521, 0.17032650113105774, -0.48448655009269714, 1.0208683013916016, -0.28849005699157715, -0.019122853875160217, -0.09519369155168533, -0.0542183481156826, -0.3314407467842102, -0.6449218392372131, -0.44813090562820435, -0.0663163885474205, 0.9009242057800293, 0.33353278040885925, 0.6671965718269348, 0.5146622061729431, 0.8328672647476196, 0.1250903457403183, -0.23765291273593903, -0.050082821398973465, -0.5395098924636841, 0.15184997022151947, -0.14657412469387054, 0.03874018415808678, -0.3796325922012329, -0.07530377060174942, 0.5806242823600769, 1.009387493133545, -0.41139769554138184, -0.007855311967432499, 0.17439304292201996, 0.7100915312767029, -0.853998064994812, 0.179372638463974, -0.29259154200553894, 0.09787189960479736, -0.3635700047016144, -0.1287524402141571, -0.3857915997505188, -0.7314956188201904, 0.012883429415524006, -0.31855347752571106, -0.17368635535240173, 0.19983810186386108, 0.2707929313182831, -0.018049392849206924, -0.5953041315078735, -0.2767811119556427, -0.6083475947380066, 0.7825636863708496, -0.6966626048088074, 0.4148136377334595, 0.14796201884746552, 0.4436625838279724, -0.42398178577423096, -0.4896325170993805, -0.2928229868412018, -0.2401079684495926, 0.1796271800994873, -0.10127406567335129, -0.0911543071269989, 0.01761484518647194, 0.2682441771030426, 0.30860280990600586, -0.7451945543289185, 0.3942515552043915, -0.4672331213951111, -0.34554415941238403, 0.8967186212539673, 0.5739321708679199, 0.3678398132324219, 0.1772005707025528, -0.34100016951560974, -0.30016401410102844, -1.405236005783081, -0.2523403763771057, 0.44027817249298096, 0.3503349721431732, -0.07142007350921631, 0.5719147324562073, -0.30770060420036316, 0.5624009370803833, -0.77858966588974, -0.2672230899333954, 0.5290356278419495, -0.37321537733078003, -0.09964688867330551, 0.18226414918899536, 1.0134599208831787, 0.6904644966125488, 0.6201323866844177, -0.22952046990394592, -0.21729154884815216, -0.015202243812382221, 0.14711618423461914, -0.45937836170196533, -0.11756289005279541, 0.37263214588165283, -0.18994946777820587, -0.3289315700531006, 0.10348504781723022, -0.6152661442756653, -0.5566993951797485, -0.2648959457874298, 0.06300760060548782, -0.1699119657278061, -0.4796218276023865, 0.42165854573249817, 0.2666204869747162, -0.04156002402305603, 0.20075653493404388, -0.5788859724998474, 0.20862336456775665, 0.7445176243782043, 0.8215880990028381, -0.3468707501888275, -0.34308794140815735, -0.15861289203166962, 0.21549232304096222, -0.6267427206039429, 0.745668351650238, -0.13240377604961395, -0.47852805256843567, 0.4236716628074646, 0.18682189285755157, 0.07480284571647644, -0.6439639925956726, 0.6419557332992554, -0.23139415681362152, 0.012549659237265587, -0.3700539171695709, -0.3189614713191986, 0.04160666838288307, 0.1610967069864273, -0.8042535781860352, 0.8455758094787598, -0.2079695463180542, -1.0019855499267578, 0.4518037438392639, -0.35777953267097473, -0.6034784317016602, -0.2734540104866028, -0.14795736968517303, -0.39125296473503113, -0.039516959339380264, 0.08684884756803513, 0.354513943195343, -0.3808818459510803, 0.3702618479728699, -0.6258306503295898, -0.2345951795578003, 0.2777496576309204, -0.40260714292526245, 0.7313836812973022, 0.19217637181282043, 0.056591521948575974, 0.29640212655067444, -0.3941560387611389, 0.07074196636676788, 0.02831338159739971, -0.35931676626205444, -0.42347216606140137, 0.08793310075998306, 0.21097493171691895, 0.3613704741001129, 0.02763739787042141, -0.4983656406402588, -0.2215110808610916, -0.2685036361217499, 0.21658563613891602, 0.7579514980316162, 0.28502732515335083, 0.2273445874452591, -0.5737899541854858, 0.4009741544723511, 0.0764835998415947, 0.6207265257835388, -0.07603023201227188, -0.31680184602737427, -0.47302958369255066, 0.007286092732101679, 0.2261560708284378, 0.47702792286872864, -0.6003632545471191, 0.7420338988304138, -0.2161744385957718, -0.5763015747070312, -0.2925921082496643, -0.05083167925477028, 0.46101900935173035, 0.26347866654396057, 0.09509339183568954, -0.45646438002586365, -0.4337187111377716, -0.9097949862480164, -0.20971277356147766, -0.19222241640090942, -0.08123829960823059, 0.02112579718232155, 0.4515337646007538, -0.11406151950359344, 0.7135952711105347, -0.4309898614883423, -0.19386926293373108, -0.19545839726924896, -0.14717712998390198, 0.20383046567440033, 0.4836145043373108, 0.4130076766014099, -0.30313801765441895, -0.4453049898147583, -0.1971721649169922, -0.9746586084365845, -0.059140611439943314, 0.22140054404735565, -0.14879846572875977, 0.3284775912761688, 0.5901487469673157, -0.6140729784965515, 0.05389939993619919, 0.6209802627563477, -0.08402737975120544, 0.5231009125709534, 0.07753772288560867, -0.008100815117359161, -0.7104012370109558, 0.18280017375946045, 0.1304461658000946, 0.07432609796524048, -0.6158708930015564, 0.12002759426832199, -0.01640561781823635, 0.08756547421216965, -0.8192316293716431, 0.5121131539344788, -0.3471038341522217, 0.07203888893127441, -0.11526502668857574, 0.08494402468204498, -0.2755202353000641, -0.12796343863010406, -0.045446109026670456, 0.7019967436790466, 0.8126177787780762, -0.5508383512496948, 0.25783368945121765, 0.18094365298748016, -0.8292618989944458, 0.2213224321603775, -0.5834435224533081, 0.12172149866819382, 0.04798205941915512, 0.41082456707954407, -0.47529202699661255, -0.5251336693763733, 0.3713201880455017, -0.00815244298428297, 0.1699107587337494, 0.0298377126455307, -0.8140844106674194, -0.48305681347846985, -0.41328877210617065, 0.09050147235393524, 0.5513080358505249, -0.312441349029541, -0.03385606408119202, 0.8008024096488953, -0.565385639667511, -0.6882932186126709, -0.492727667093277, 0.08679348230361938, -0.30901068449020386, -0.5132203698158264, -0.25657904148101807, -0.11794272810220718, -0.5877189636230469, -0.12897808849811554, -0.3332335352897644, -0.009671451523900032, 0.18843317031860352, 0.19448794424533844, 0.12281607836484909, 0.12144967913627625, 0.13084717094898224, 0.04953218251466751, -0.4029942452907562, 0.4253053069114685, 0.10191913694143295, 0.3403681218624115, 0.08273319900035858, -0.5384664535522461, -0.17669636011123657, 0.3820521831512451, 0.42467668652534485, -0.02555413730442524, 0.6712310314178467, 0.05758945643901825, -0.34550976753234863, -0.3821221590042114, -0.28065717220306396, -0.1953718215227127, -0.4590708911418915, 0.25310322642326355, 0.05270841345191002, -0.9194088578224182, 0.20425595343112946, -0.12653285264968872, 0.3609614074230194, 0.17205597460269928, 0.6132907271385193, -0.3126218020915985, 0.752334713935852, 0.4762933850288391, -0.1780269891023636, 0.1956840455532074, 0.16210944950580597, 0.31910377740859985, -0.4336335062980652, -0.534598171710968, -0.4160952568054199, 0.02970377914607525, -0.4761086106300354, -0.33592861890792847, 0.5906195640563965, -0.1673426628112793, -0.3608416020870209, 0.06214112415909767, -0.10096821933984756, 0.5380901098251343, 0.23490935564041138, 0.20084305107593536, 0.4189911484718323, 0.03945838287472725, -0.17202797532081604, -0.11376272141933441, -0.6566012501716614, -0.6780433058738708, 1.2291415929794312, 0.5015364289283752, 1.1235953569412231, 0.041222039610147476, 0.6318089365959167, 0.17619022727012634, 0.48784101009368896, -0.6116260886192322, 0.6946200728416443, -0.21050365269184113, -0.7550882697105408, -0.246318519115448, -0.5741989612579346, -0.9795264005661011, 0.03307117149233818, -0.07498826086521149, -0.47888076305389404, -0.06174657866358757, 0.13430730998516083, -0.2545241713523865, 0.23565910756587982, -0.47409525513648987, 0.6273900270462036, -0.49144455790519714, -0.40523761510849, -0.03375325724482536, -0.6929053664207458, 0.7205768823623657, -0.3659207224845886, 0.42569851875305176, -0.5037937164306641, 0.10006317496299744, 0.7675971388816833, -0.320497989654541, 0.843897819519043, -0.02705289050936699, -0.4709550440311432, 0.32502204179763794, 0.08583307266235352, 0.3732156455516815, -0.10779357701539993, -0.16143164038658142, 0.4310971200466156, -0.06947516649961472, -0.2312900274991989, -0.3265230059623718, 0.851306140422821, -0.34982335567474365, -0.5952403545379639, -0.6411958336830139, -0.4435366690158844, -0.5123798251152039, 0.14303550124168396, -0.0129054244607687, 0.23946914076805115, -0.28973570466041565, 0.30289843678474426, 0.8053066730499268, -0.5415633916854858, 0.3120148479938507, 0.6513758301734924, -0.31769272685050964, -0.36429867148399353, 0.706244707107544, 0.24398168921470642, 0.36351925134658813, -0.055095940828323364, 0.07447142153978348, -0.39567506313323975, -0.9250943660736084, -0.12342679500579834, 0.14411179721355438, -0.8519973158836365, -0.12848994135856628, -0.35617318749427795, -0.39389145374298096, -0.3171527683734894, 0.12138061970472336, -0.23239868879318237, -0.1801941841840744, -0.025436272844672203, -0.3505685329437256, 0.4813133776187897, 0.949736475944519, -0.2593524158000946, 0.05487646162509918, -0.8069059252738953, 0.08614100515842438, -0.060988929122686386, 0.688608705997467, -0.17690584063529968, -0.20976518094539642, -0.28149160742759705, -0.2273925542831421, -0.09703218191862106, -0.6563305258750916, 0.338094562292099, -0.23801828920841217, 0.8050848841667175, 0.3680783212184906, 0.4307625889778137, 0.14490386843681335, -0.6201022267341614, 0.5498075485229492, 0.4238821864128113, -0.39280620217323303, 0.46097755432128906, -0.6419118046760559, -0.04308532923460007, 0.6968675255775452, 0.8640366196632385, -0.6227040886878967, -0.2671172022819519, -0.16607099771499634, -1.201136827468872, 0.46072936058044434, 0.2618192136287689, 0.029032332822680473, -0.030031535774469376, 0.03621987998485565, 0.28001344203948975, 0.11910847574472427, -0.5408816933631897, -0.13987375795841217, 0.3273959457874298, -0.40696170926094055, -0.13333846628665924, -0.23993617296218872, -0.5890874862670898, -0.020742904394865036, 0.6085850596427917, -0.14400888979434967, 0.05137627571821213, -0.16637128591537476, -0.0015814058715477586, -0.28383681178092957, 0.4424511790275574, 0.24157345294952393, 0.7493417859077454, -0.24436861276626587, 0.258243203163147, 0.19684134423732758, -0.5782491564750671, 0.2659038007259369, -0.03986455127596855, -0.15946798026561737, -0.08237507939338684, 0.46959540247917175, 0.5049893856048584, 0.3899308443069458, -1.0308873653411865, 0.4858062267303467, 0.12563663721084595, -0.21463224291801453, -0.48314908146858215, 0.39213666319847107, 0.0434066578745842, -0.04324987530708313, 0.12411904335021973, -0.20652851462364197, 0.02280876412987709, -0.5851415395736694, 0.2762356102466583, 0.15145158767700195, -0.23254646360874176, -0.10200708359479904, 0.21827225387096405, 0.38017624616622925, -0.16600103676319122, 0.5258284211158752, 0.3115449547767639, 0.007208986673504114, 0.5686081051826477, 0.11657926440238953, 0.7281734347343445, -0.2406790405511856, 0.11042580753564835, 0.31243762373924255, 0.705366313457489, -0.42908376455307007, 0.6077332496643066, 0.7113179564476013, -0.4640142023563385, -0.3449721336364746, -0.618172824382782, -0.6828697323799133, 0.4728791415691376, -0.637553870677948, 0.3009668290615082, -0.5806728005409241, -0.09995388239622116, -0.3816201984882355, -0.26234057545661926, -0.2745928466320038, 0.21292895078659058, 0.12269977480173111, 1.3425287008285522, -1.1776481866836548, 0.6663309931755066, 0.5362955331802368, -0.35779428482055664, -0.5679426789283752, 0.283403605222702, 0.1949005424976349, -0.42581555247306824, 0.19139666855335236, 0.2418537437915802, 0.18298092484474182, -0.21971715986728668, -0.616961658000946, -0.8970084190368652, 1.0937583446502686, 0.5478891134262085, -1.1702054738998413, -0.0689624771475792, 0.4939054846763611, 0.4561574161052704, -0.21194832026958466, -0.090764120221138, 0.69694584608078, 0.5213505625724792, -0.16390497982501984, -1.0808088779449463, 0.10912993550300598, -0.0920398160815239, -0.2037515491247177, 0.08201109617948532, -0.5700232982635498, 0.5468186736106873, -0.24724160134792328, -0.25533950328826904, -0.012136311270296574, 0.16234639286994934, 0.6436793804168701, 0.5709264874458313, 0.4763670265674591, 0.6571246385574341, 0.5573428869247437, -0.22291299700737, 1.2532213926315308, -0.1180676594376564, 0.27060389518737793, 1.2336519956588745, -0.7196583151817322, 0.9821617007255554, 0.3275790214538574, -0.3587372303009033, 0.18309767544269562, 0.8154420256614685, 0.1867445558309555, 0.7052701115608215, 0.370548814535141, -0.39053380489349365, -0.393607497215271, -0.12687823176383972, -0.4528466463088989, 0.08249007910490036, 0.45043855905532837, -0.5326417684555054, -0.4080785810947418, 0.02632872574031353, 0.11640720814466476, -0.12275034189224243, -0.13456153869628906, 0.7678065896034241, 0.330220103263855, -0.3938676416873932, 0.4360203444957733, -0.2515406310558319, 0.2573617398738861, -0.6719784140586853, 0.1186881735920906, -0.3124529719352722, 0.13871259987354279, -0.2223719209432602, -1.3651543855667114, 0.3711758852005005, 0.17086003720760345, 0.12026043236255646, -0.2706751525402069, 0.6861451268196106, -0.21495811641216278, -0.4073646664619446, 0.4294963777065277, 0.5300915241241455, 0.3646546006202698, 0.013906764797866344, -0.45733657479286194, 0.48514828085899353, -0.44498518109321594, -0.31200626492500305, 0.5376610159873962, 0.24697628617286682, -0.3259190022945404, 0.7067487835884094, 0.628653347492218, 0.0885751023888588, 0.045717570930719376, 0.20266608893871307, 1.162548542022705, -0.6846727132797241, -0.2789830267429352, -0.5359316468238831, 0.5759328007698059, 0.05207274854183197, -0.3419400155544281, 0.6946117281913757, 0.4768678545951843, 0.8120376467704773, -0.012241299264132977, 1.1205979585647583, 0.01478336937725544, 0.5938045978546143, -0.7483393549919128, 0.9962813854217529, -0.28144219517707825, 0.3620973527431488, -0.09005042165517807, -0.8160695433616638, -0.5769762396812439, 0.33891481161117554, -0.4474204182624817, 0.14072643220424652, 0.8175493478775024, 0.928974986076355, 0.10788387060165405, -0.0030840926337987185, 0.34040069580078125, 0.30875930190086365, 0.18318800628185272, 0.6195258498191833, 1.032460331916809, -0.2368428111076355, 0.44994181394577026, -0.25117358565330505, -0.08601299673318863, -0.2548378109931946, -1.092206358909607, -0.8097467422485352, -0.2988538146018982, -0.4030506908893585, -0.30154865980148315, 0.4994734525680542, 0.8490658402442932, 0.5987516045570374, -0.9145241379737854, -0.22701850533485413, -0.14279797673225403, -0.03269949182868004, 0.0953272357583046, -0.16936975717544556, 0.16761769354343414, -0.11235948652029037, -0.33751922845840454, 0.6100594997406006, 0.18094973266124725, 0.02842773124575615, -0.4754960834980011, -0.24856813251972198, 0.0716797262430191, -0.07120087742805481, 0.5993428826332092, 0.37523582577705383, -0.5215250849723816, -0.27803561091423035, -0.2381599247455597, -0.29582375288009644, -0.2271628975868225, 0.7345454692840576, -0.26329928636550903, 0.16430826485157013, 0.5903013348579407, 0.39648735523223877, -0.03583225980401039, -0.48066797852516174, 0.5011040568351746, -0.5353162884712219, -0.08976496756076813, 0.26458483934402466, 0.5117537379264832, 0.41398847103118896, -0.14875778555870056, 0.7103976607322693, 0.15123409032821655, -0.4329318106174469, -1.093553066253662, 0.18333423137664795, -0.8901885747909546, -0.14757613837718964, 1.462440013885498, -0.2727218568325043, -0.2048957794904709, -0.4185018539428711, -0.03212472051382065, 0.026640137657523155, -0.28926652669906616, 0.925652801990509, 0.5068562626838684, -0.09593039751052856, -0.07275674492120743, -0.8532757759094238, 0.48658329248428345, -0.046586405485868454, -1.1925586462020874, 0.46834930777549744, 0.6795669198036194, 0.6163496375083923, -0.1575402170419693, 0.5285884737968445, -0.4320671558380127, 0.2671809792518616, -0.1350819617509842, 0.15992823243141174, 0.01000753790140152, -0.7552623748779297, -0.44261568784713745, 0.1845332682132721, 0.10376253724098206, 0.2410270869731903 ]
http://arxiv.org/abs/2404.05365v2
http://arxiv.org/pdf/2404.05365v2
NLP Progress in Indigenous Latin American Languages
2024-04-08T10:04:55
2024-05-12T13:39:42
Atnafu Lambebo Tonja, Fazlourrahman Balouchzahi, Sabur Butt, Olga Kolesnikova, Hector Ceballos, Alexander Gelbukh, Thamar Solorio
cs.CL
cs.CL
The paper focuses on the marginalization of indigenous language communities in the face of rapid technological advancements. We highlight the cultural richness of these languages and the risk they face of being overlooked in the realm of Natural Language Processing (NLP). We aim to bridge the gap between these communities and researchers, emphasizing the need for inclusive technological advancements that respect indigenous community perspectives. We show the NLP progress of indigenous Latin American languages and the survey that covers the status of indigenous languages in Latin America, their representation in NLP, and the challenges and innovations required for their preservation and development. The paper contributes to the current literature in understanding the need and progress of NLP for indigenous communities of Latin America, specifically low-resource and indigenous communities in general.
[ -0.18317043781280518, -0.4005184769630432, 0.19714514911174774, 0.5226634740829468, 0.1342255026102066, 0.7545360326766968, -0.40599188208580017, -0.8414520621299744, 0.6112855076789856, 0.6203582882881165, -0.2961709797382355, -0.47848039865493774, -0.776972234249115, 0.39559847116470337, -0.21014587581157684, 0.5670676231384277, 0.13435491919517517, -0.3069002628326416, 0.04108727350831032, -0.34174633026123047, -0.6452500820159912, -0.21401181817054749, -0.7169580459594727, -0.09868331253528595, 0.416058212518692, 0.34191060066223145, 0.9208977818489075, 0.7314635515213013, 0.6089787483215332, 0.29069164395332336, -0.49306586384773254, -0.1709931641817093, 0.05471164733171463, 0.44690388441085815, -0.3119553327560425, -0.4286021590232849, -0.33091866970062256, -0.40052586793899536, 0.7967941761016846, 1.0268099308013916, -0.02964063547551632, 0.35314616560935974, -0.05550381541252136, 0.8495206236839294, -0.33691397309303284, 0.13619381189346313, -0.5557968616485596, 0.3830280601978302, -0.6075311899185181, -0.20198224484920502, -0.14676736295223236, -0.6579119563102722, 0.061713434755802155, -0.16278760135173798, 0.22225801646709442, -0.0482313297688961, 0.175222709774971, 0.44787076115608215, 0.03323404863476753, -0.1436588615179062, -0.8813731670379639, 0.7618759274482727, -0.6482309103012085, 0.1388300210237503, 0.44164398312568665, 0.044187240302562714, -0.09710259735584259, -0.522800862789154, -0.3445136547088623, 0.005299121607095003, 0.11598987132310867, -0.19509652256965637, -0.3675180971622467, -0.24720752239227295, 0.2477971315383911, 0.3598037660121918, -0.689831554889679, 0.5082129240036011, -0.8948716521263123, -0.06075107306241989, 0.5457789301872253, -0.07774119079113007, 0.27976641058921814, 0.009092072956264019, -0.008256019093096256, 0.21984051167964935, -0.8346312046051025, -0.132687047123909, 0.3182593584060669, 0.5356981754302979, 0.19528372585773468, 0.4798630177974701, -0.17897988855838776, 0.8618813157081604, -0.6724399924278259, -0.16495230793952942, 0.3970063626766205, -0.3062106966972351, -0.05435165390372276, -0.04570569097995758, 0.5974829196929932, -0.11889650672674179, -0.2753850221633911, -0.25171133875846863, -0.03193512558937073, -0.034308720380067825, 0.00002159086216124706, -0.15314121544361115, 0.35910969972610474, 0.24346469342708588, -0.3670978844165802, 0.12192797660827637, -0.11527646332979202, -0.8088164925575256, -0.1848393827676773, -0.15091091394424438, -0.15601366758346558, -0.04346068948507309, -0.5974233150482178, 0.2183123230934143, -0.3595479726791382, 0.20692399144172668, 0.350653737783432, -1.0299913883209229, 0.47338804602622986, 0.8913264274597168, 0.9812312126159668, 0.007092270068824291, -0.18718235194683075, -0.07951412349939346, -0.158264622092247, -0.0676974207162857, 0.7613878846168518, -0.6532139182090759, -0.3350858986377716, 0.2995802164077759, -0.13504359126091003, -0.08705141395330429, -0.7727058529853821, 0.9494550824165344, -0.38802433013916016, -0.15288323163986206, -0.4149613678455353, 0.04100460186600685, 0.05849083513021469, 0.08152114599943161, -0.660241961479187, 0.9721150398254395, 0.2208406627178192, -0.5506429672241211, 0.2169625610113144, -0.7288826704025269, -0.31088507175445557, 0.5340848565101624, 0.11509224027395248, -0.1381193846464157, 0.22451750934123993, -0.013856981880962849, 0.02509373426437378, -0.13872464001178741, 0.04872947558760643, -0.10329589992761612, -0.40279388427734375, 0.09368868917226791, -0.2871624231338501, 1.0808770656585693, 0.40016767382621765, -0.469023197889328, -0.17054706811904907, -0.46561169624328613, -0.026870710775256157, -0.14386825263500214, -0.41392308473587036, -0.4633534848690033, 0.21118655800819397, -0.012880404479801655, 0.2933402955532074, 0.4247722029685974, -0.6212835311889648, 0.30316081643104553, -0.32627978920936584, 0.45030295848846436, 0.39816826581954956, -0.38699963688850403, 0.5184245109558105, -0.05285532772541046, 0.7507035136222839, -0.4732285141944885, 0.3707655072212219, -0.2298375815153122, -0.8539695143699646, -0.8043539524078369, 0.34817343950271606, 0.542422890663147, 0.5830390453338623, -0.634672224521637, 0.45772725343704224, -0.2660130262374878, -0.18433353304862976, -0.8444210290908813, 0.23342882096767426, 0.08239748328924179, 0.27382490038871765, 0.4279225170612335, -0.48066145181655884, -0.7166326642036438, -0.6394292116165161, -0.0380079410970211, -0.3990800678730011, -0.19541962444782257, -0.13053616881370544, 0.2718333899974823, -0.21706999838352203, 0.8625356554985046, -0.2690124213695526, -0.5569453835487366, -0.441397100687027, 0.2888970673084259, 0.15753693878650665, 0.6553391814231873, 0.4302199184894562, -0.7066128849983215, -0.5086072683334351, 0.28167498111724854, -0.566171407699585, -0.20002031326293945, 0.3094702661037445, 0.22129878401756287, 0.20862363278865814, 0.42904117703437805, -0.16732151806354523, 0.4098561704158783, 0.6559241414070129, -0.4669298231601715, -0.0013700127601623535, -0.14540991187095642, -0.00570362014696002, -0.5156744122505188, 0.07271739840507507, -0.13189880549907684, -0.12531563639640808, -0.6426709294319153, 0.09997177124023438, -0.4620453715324402, -0.15534614026546478, -0.33427467942237854, 0.4743007719516754, -0.4642755091190338, -0.19697993993759155, -0.45015937089920044, 0.1771339774131775, -0.30018654465675354, -0.15129615366458893, 0.5141690969467163, 0.4031497836112976, 0.49188801646232605, -0.34970930218696594, 0.04445728659629822, 0.13788338005542755, 0.13512833416461945, 0.33137816190719604, -0.7145259976387024, 0.06211814284324646, -0.032618992030620575, 0.05889292061328888, -0.2714097201824188, 0.1737917959690094, 0.11428060382604599, -0.5808672308921814, 0.16768261790275574, -0.2520172595977783, -0.40836310386657715, -0.6091731786727905, -0.22226065397262573, 0.3638518154621124, 0.450179785490036, -0.048898402601480484, 0.08205857127904892, 0.6374856233596802, -0.7398626208305359, -0.9653148055076599, -0.7892817854881287, 0.6474117040634155, -0.24484269320964813, -0.6879621744155884, 0.1628471463918686, 0.12709148228168488, -0.7189314961433411, -0.21306495368480682, 0.37454596161842346, -0.18421301245689392, 0.21011783182621002, -0.12593038380146027, -0.05557086318731308, -0.3358953893184662, 0.26051703095436096, 0.2927726209163666, -0.05504954978823662, 0.19998900592327118, -0.4316585659980774, 0.7002580165863037, -0.3693472445011139, -0.015314064919948578, -0.10645794868469238, 0.8548129200935364, 0.08329267799854279, -0.21168453991413116, 0.8910036683082581, 0.6428386569023132, -0.4600977599620819, 0.12029877305030823, -0.6999248266220093, 0.294295072555542, -0.39589324593544006, -0.016181349754333496, 0.13463281095027924, -1.178020715713501, 0.6859856247901917, -0.05815623700618744, 0.015699727460741997, 0.711539089679718, 0.15713801980018616, 0.1373978853225708, 0.2351251244544983, 1.1371780633926392, -0.1356804519891739, 0.3261980712413788, -0.2589825391769409, 0.119498111307621, -0.9263831973075867, -0.27176961302757263, -1.3669772148132324, -0.21687495708465576, -0.6443080306053162, -0.659974217414856, 0.027113884687423706, -0.11886505037546158, 0.3129906952381134, 0.6570261716842651, -0.6507769823074341, 0.4719846844673157, 0.8372622728347778, -0.26703739166259766, 0.7559953331947327, -0.14702662825584412, 0.29754477739334106, -0.40039581060409546, -0.7069075107574463, -0.6779060959815979, 0.8111874461174011, 0.4742480516433716, 0.49324098229408264, 0.21721483767032623, 0.8439670205116272, 0.7632908821105957, 0.26632338762283325, -0.5828043818473816, 0.19531932473182678, -0.0027351516764611006, -0.481538325548172, -0.40686577558517456, -0.25480467081069946, -1.2968635559082031, 0.08837565779685974, -0.1206108033657074, -0.7808319926261902, 0.5962828397750854, -0.1122267097234726, -0.1923578828573227, 0.30680128931999207, -0.6271851062774658, 0.7628435492515564, -0.013066908344626427, -0.21012942492961884, -0.21478502452373505, -0.9395284652709961, 0.16085931658744812, 0.027585161849856377, 0.4029579162597656, -0.015413230285048485, -0.15224550664424896, 0.6969969272613525, -0.341964989900589, 0.7751663327217102, -0.19968338310718536, -0.08183404803276062, 0.5756155252456665, -0.1014387309551239, 0.06020481139421463, 0.09085623174905777, -0.15947456657886505, 0.21953080594539642, -0.368145614862442, -0.6175408959388733, -0.11151603609323502, 0.6026788949966431, -0.3604239821434021, -0.5284104943275452, -0.6562485694885254, -0.14391280710697174, 0.2070692777633667, 0.12145508825778961, -0.0634813904762268, -0.15380284190177917, -0.32574254274368286, 0.0270310677587986, 0.710459291934967, -0.3576304614543915, 0.8713961839675903, 0.40118977427482605, -0.10237479209899902, -0.2482832670211792, 0.8541381359100342, 0.2133595049381256, 0.27934569120407104, 0.3860556483268738, -0.061460189521312714, -0.2815779447555542, -1.0285561084747314, -0.21980226039886475, 0.18615175783634186, -0.49003732204437256, -0.2415238320827484, -0.6877954602241516, -0.044556763023138046, -0.6351370811462402, -0.27738499641418457, -0.27409645915031433, -0.6929023265838623, -0.2786462903022766, -0.03284887596964836, -0.03729381039738655, 0.9434736967086792, -0.40971869230270386, 0.26416122913360596, -0.7044859528541565, -0.018418921157717705, 0.30937132239341736, 0.13231226801872253, -0.16770359873771667, -0.3176197111606598, -0.33616238832473755, -0.13613104820251465, -0.34686610102653503, -0.37038978934288025, 0.5036543607711792, 0.1906253844499588, 0.3300635814666748, 0.14132121205329895, 0.19510146975517273, 0.36613497138023376, -0.305101603269577, 0.848784863948822, 0.14425772428512573, -0.884569525718689, 0.9483451247215271, -0.24653510749340057, 0.5432949066162109, 0.6611423492431641, 0.2918780446052551, -1.0203146934509277, -0.7614012956619263, -0.8721503615379333, -1.1446987390518188, 0.509573221206665, 0.22158050537109375, 0.3021867871284485, -0.17776185274124146, -0.2637712061405182, 0.2916884422302246, 0.2405136227607727, -1.0753573179244995, -0.11086293309926987, -0.22532965242862701, 0.3765909969806671, 0.25047388672828674, 0.05067046359181404, -0.046800579875707626, -0.23826205730438232, 0.17318707704544067, -0.14914359152317047, 0.46566733717918396, 0.17677445709705353, -0.1465371698141098, -0.11190023273229599, 0.5527560710906982, 0.7243907451629639, 0.8422401547431946, -0.25631478428840637, 0.13046032190322876, 0.027695195749402046, -0.693413257598877, -0.11602029949426651, 0.045516278594732285, -0.5747041702270508, 0.3784486949443817, 0.4292030930519104, 0.6518593430519104, -0.22535981237888336, -0.48562538623809814, 0.2809186279773712, -0.3157421946525574, 0.05095098167657852, -0.6666097044944763, -0.05926340073347092, -0.06372740119695663, 0.1545025110244751, 0.9791557192802429, 0.6771608591079712, 0.14601390063762665, -0.6553477644920349, -0.28485751152038574, 0.2609301805496216, -0.43078550696372986, -0.37322503328323364, 0.6510424017906189, 0.35791832208633423, -0.5908482670783997, 0.350291907787323, -0.2153959423303604, -0.4166395962238312, 0.5926620364189148, 0.593542754650116, 0.9722017049789429, 0.020620791241526604, 0.4452730417251587, 0.437635213136673, 0.7949534058570862, -0.15911778807640076, 0.0721253976225853, -0.226375013589859, -0.3908389210700989, -0.6360291242599487, -0.7818190455436707, -0.5470163226127625, -0.15334075689315796, -0.33414068818092346, 0.17469698190689087, -0.37077900767326355, -0.3352656364440918, -0.29250970482826233, 0.04031878709793091, -0.26400789618492126, -0.08769446611404419, 0.3585676848888397, 0.9472739100456238, -0.8857448101043701, 0.6211618781089783, 0.16829222440719604, -0.31696459650993347, -0.00026356990565545857, -0.06342238187789917, -0.22792981564998627, -0.3626961410045624, 0.5637883543968201, -0.051246095448732376, 0.010565993376076221, -0.21505963802337646, -0.32852867245674133, -0.9709667563438416, 0.8420090675354004, 0.43035703897476196, -0.11779296398162842, 0.21450674533843994, 0.37669339776039124, 0.9885360598564148, -0.2650291919708252, 0.1552359163761139, 0.5147585868835449, 0.6753525137901306, -0.033567365258932114, -0.990462601184845, -0.22815504670143127, -0.30496805906295776, 0.24047787487506866, 0.15371350944042206, -0.686428427696228, 0.5805191397666931, -0.07593122869729996, -0.25058963894844055, -0.05049867555499077, 0.9457822442054749, -0.03703952208161354, 0.3425114154815674, 0.025242649018764496, 0.4587450921535492, 0.5631234645843506, -0.46559596061706543, 0.7850746512413025, 0.27575430274009705, -0.15047518908977509, 0.854452908039093, -0.07313381135463715, 0.9120188355445862, 0.5130587816238403, -0.6374402046203613, 0.45085087418556213, 0.3578958213329315, 0.2362476885318756, -0.10715146362781525, 0.17618650197982788, -0.6732627153396606, 0.23156307637691498, -0.5857551693916321, -0.590165376663208, 0.40133416652679443, 0.5940720438957214, -0.29651668667793274, 0.03260671719908714, -0.11154939234256744, 0.1634710282087326, 0.44595685601234436, -0.46311506628990173, 0.404843270778656, -0.008836920373141766, -0.8901451826095581, 0.43644416332244873, 0.03217413276433945, 0.9378717541694641, -0.5065802335739136, 0.062386997044086456, -0.35102805495262146, -0.27871787548065186, -0.47710904479026794, -0.611796498298645, 1.0935295820236206, 0.13138116896152496, -0.13956885039806366, -0.4495997130870819, 0.66558837890625, -0.29671749472618103, -0.3303225338459015, 0.43141669034957886, 0.5640016794204712, 0.08767838776111603, 0.1373433917760849, -0.4495387673377991, 0.19035372138023376, 0.013697135262191296, 0.3483067452907562, 0.361130028963089, 0.20010940730571747, -0.1818103939294815, 0.5795281529426575, 0.43806344270706177, 0.5294995307922363, 0.5035756826400757, 0.15667131543159485, 0.6708210110664368, -0.7591536045074463, -0.058933280408382416, -0.5923706889152527, 0.433520644903183, -0.2670571506023407, -0.4707735776901245, 0.6304928660392761, 0.4757898449897766, 0.8476830720901489, -0.030752506107091904, 0.6868533492088318, -0.6774621605873108, 0.5949405431747437, -0.2436579465866089, 0.5670694708824158, -0.024703871458768845, 0.4479266107082367, -0.4274516701698303, -0.9544181227684021, -0.7959708571434021, 0.33046871423721313, 0.12207502126693726, -0.26019495725631714, 0.6680771112442017, 0.30447959899902344, 0.28165900707244873, -0.07377104461193085, 0.14566968381404877, -0.11591289937496185, 0.08007912337779999, 0.09938028454780579, 0.545719563961029, -0.4695110619068146, 0.32941851019859314, -0.4335956275463104, -0.22773431241512299, 0.13079532980918884, -0.7646496295928955, -0.3172670304775238, -0.5168909430503845, -0.5213431119918823, -0.12577983736991882, -0.1781768500804901, 0.7309884428977966, 0.15548662841320038, -0.7537218928337097, -0.5720371007919312, 0.01668352074921131, 0.740881621837616, -0.48905906081199646, -0.22764405608177185, -0.04743541404604912, -0.35995206236839294, -1.0258302688598633, 0.48560991883277893, 0.7174813747406006, 0.1199590414762497, -0.5579466819763184, 0.0005198260769248009, -0.48715487122535706, -0.45411446690559387, 0.7397230267524719, 1.1533113718032837, -0.4484792649745941, -0.004300369415432215, 0.09283403307199478, 0.20296134054660797, 0.27726560831069946, 0.8394395112991333, -0.9418781399726868, 0.2673848569393158, 0.48415887355804443, 0.43438461422920227, 0.4560261368751526, -0.36037036776542664, 0.6119982600212097, -0.886507511138916, 0.41820940375328064, 0.8135932683944702, 0.23033507168293, 0.6335915923118591, -0.013156497851014137, 0.7697401642799377, 0.40243464708328247, -0.6460737586021423, -0.7835878133773804, 0.24657833576202393, -0.9122382402420044, 0.18891912698745728, 0.6813099980354309, -0.06428107619285583, -0.22428414225578308, -0.8182525634765625, -0.03268171101808548, -0.011881531216204166, -0.4147305488586426, 0.8222554326057434, 0.41971760988235474, -0.07629431784152985, -0.2505508363246918, -0.3926743268966675, 0.4988308548927307, 0.12998488545417786, -0.7081851959228516, 0.025796115398406982, 0.2531723976135254, -0.33558985590934753, 0.7389616966247559, 0.9302018880844116, -0.4026573598384857, 0.015061112120747566, 0.08693056553602219, -0.05760503187775612, 0.6979089975357056, -0.23345842957496643, -0.43701326847076416, 0.2328956574201584, 0.43978768587112427, 0.4347771406173706 ]
http://arxiv.org/abs/2404.05337v1
http://arxiv.org/pdf/2404.05337v1
Towards Objectively Benchmarking Social Intelligence for Language Agents at Action Level
2024-04-08T09:25:32
2024-04-08T09:25:32
Chenxu Wang, Bin Dai, Huaping Liu, Baoyuan Wang
cs.CL
cs.CL, cs.AI
Prominent large language models have exhibited human-level performance in many domains, even enabling the derived agents to simulate human and social interactions. While practical works have substantiated the practicability of grounding language agents in sandbox simulation or embodied simulators, current social intelligence benchmarks either stay at the language level or use subjective metrics. In pursuit of a more realistic and objective evaluation, we introduce the Social Tasks in Sandbox Simulation (STSS) benchmark, which assesses language agents \textbf{objectively} at the \textbf{action level} by scrutinizing the goal achievements within the multi-agent simulation. Additionally, we sample conversation scenarios to build a language-level benchmark to provide an economically prudent preliminary evaluation and align with prevailing benchmarks. To gauge the significance of agent architecture, we implement a target-driven planning (TDP) module as an adjunct to the existing agent. Our evaluative findings highlight that the STSS benchmark is challenging for state-of-the-art language agents. Furthermore, it effectively discriminates between distinct language agents, suggesting its usefulness as a benchmark for evaluating both language models and agent architectures.
[ 0.004359468352049589, -0.7652537226676941, 0.5256665349006653, 0.290893018245697, 0.012633002363145351, 0.6261749267578125, -0.36480823159217834, -0.16299551725387573, 0.03053274378180504, 0.13811878859996796, -0.41674113273620605, -0.6595839858055115, -0.5312253832817078, -0.19242285192012787, -0.41268622875213623, 0.6233459711074829, 0.20112773776054382, -0.21760186553001404, -0.4378345310688019, -0.18159867823123932, -0.16619034111499786, -0.5040165185928345, -1.00384521484375, -0.46765774488449097, 0.3693927824497223, 0.3163997232913971, 0.785801887512207, 0.6044984459877014, 0.31616923213005066, 0.44978493452072144, 0.08794502913951874, 0.03275168314576149, -0.7270955443382263, 0.18005771934986115, -0.35673218965530396, -0.21990668773651123, -0.5776840448379517, 0.047038961201906204, 0.8519910573959351, 0.5733639597892761, -0.19671028852462769, 0.3867659866809845, -0.05792419984936714, 0.3999391198158264, -0.7724878191947937, 0.419307678937912, -0.6460108757019043, -0.19781357049942017, 0.11623264104127884, 0.03759108483791351, -0.4093632996082306, -0.23932009935379028, -0.13990384340286255, -0.08680634945631027, 0.09578303247690201, -0.06763246655464172, 0.8089413046836853, 0.12189455330371857, -0.1873398721218109, 0.1448851078748703, -0.8128705024719238, 0.759496808052063, -0.41406306624412537, 0.3979596197605133, 0.18889667093753815, 0.5109254717826843, 0.012618196196854115, -0.3242793679237366, -0.27334797382354736, -0.5491475462913513, 0.11529295146465302, -0.045005083084106445, -0.2334657609462738, -0.13089586794376373, 0.3190930485725403, -0.32017776370048523, -0.49083536863327026, -0.32606083154678345, -0.24980853497982025, 0.00045194983249530196, 0.9326775074005127, 0.15896020829677582, 0.13733115792274475, -0.060859210789203644, -0.2987290918827057, -0.3023916482925415, -0.36587613821029663, 0.2202983796596527, 0.27523475885391235, 0.3414669632911682, -0.3060593903064728, 0.3876500725746155, -0.608552098274231, 0.02854047529399395, -0.1504094898700714, 0.13918805122375488, 0.3542488217353821, -0.31894639134407043, 0.17803660035133362, -0.15230053663253784, 0.5534330010414124, 0.44308581948280334, 0.595377504825592, -0.5795803070068359, -0.4686890244483948, 0.5031118392944336, 0.6770544052124023, -0.5541767477989197, 0.14277562499046326, 0.2178034782409668, -0.25435447692871094, -0.31636500358581543, -0.19083631038665771, -0.40768542885780334, -0.1841755360364914, -0.21214714646339417, 0.18587662279605865, -0.3966307044029236, -0.5730421543121338, -0.08225477486848831, -0.3320169150829315, 0.45454782247543335, 0.1584216058254242, -0.4242209792137146, 0.9191123843193054, 0.9887933731079102, 0.6115259528160095, -0.21900220215320587, -0.7517577409744263, -0.609614372253418, 0.3525030016899109, -0.4725528955459595, 1.1641877889633179, -0.6032825708389282, -0.29727703332901, 0.12170617282390594, -0.2955622375011444, -0.048836879432201385, -0.4469658434391022, 0.3372451066970825, -0.17782577872276306, -0.5884949564933777, -0.34725627303123474, -0.2835579216480255, 0.23403066396713257, 0.6256749033927917, -0.20829150080680847, 1.2567548751831055, 0.3297556936740875, 0.01461923960596323, 0.44769221544265747, -0.4834078252315521, -0.5462102890014648, 0.24381013214588165, -0.45087480545043945, -0.03745877742767334, 0.14930517971515656, -0.3052145838737488, 0.6596179604530334, -0.43624213337898254, 0.6231959462165833, -0.3753480017185211, -0.5601897239685059, 0.3331955373287201, -0.24307498335838318, 0.3890644609928131, -0.06922947615385056, -0.6421343684196472, 0.28780749440193176, -0.5616210699081421, 0.27418455481529236, 0.2148423194885254, -0.022396665066480637, -0.19982470571994781, 0.424559086561203, -0.13502071797847748, 0.23544619977474213, 0.20716096460819244, -0.5598434209823608, -0.19790436327457428, -0.06615009158849716, 0.1752697378396988, 0.9344788789749146, -0.219217911362648, 0.49114271998405457, -0.5052630305290222, 0.3711276352405548, -0.4268868863582611, 0.5030118227005005, 0.6472311019897461, -0.2664588987827301, -0.4742353558540344, -0.16666387021541595, -0.016289973631501198, 0.2970708906650543, -0.5815637707710266, 0.31803539395332336, -0.6709160804748535, -0.955769419670105, -0.33050352334976196, 0.020634187385439873, 0.8485227823257446, -0.037815604358911514, 0.0748138576745987, -0.4126631021499634, 0.0481596477329731, -0.9123262763023376, -0.46887513995170593, -0.5789904594421387, 0.21615451574325562, 0.46336835622787476, 0.48933538794517517, -0.003123989561572671, 0.8012755513191223, -0.1733664572238922, 0.19039727747440338, -0.6250436902046204, 0.1083279475569725, -0.2135147899389267, 0.42347100377082825, 0.5835742354393005, -0.6941058039665222, -0.46242114901542664, -0.049193479120731354, -0.6356909275054932, -0.2797147035598755, 0.24756190180778503, -0.3024134933948517, 0.06250270456075668, 0.46489474177360535, -0.7736773490905762, 0.4884492754936218, 0.3195331394672394, -0.42942288517951965, 0.49213624000549316, -0.1296740025281906, 0.31412723660469055, -0.7342361807823181, 0.21385712921619415, 0.053454626351594925, -0.18683701753616333, -0.7101592421531677, 0.17037974298000336, 0.12915921211242676, -0.13242696225643158, -0.5775997042655945, 0.8066070079803467, -0.3256070613861084, -0.562215268611908, -0.08104057610034943, 0.293617308139801, -0.2199205607175827, 0.5975981950759888, -0.021129246801137924, 0.6529191732406616, 0.4167923629283905, -0.4636181592941284, 0.30923929810523987, -0.15932103991508484, -0.2146894335746765, 0.7399695515632629, -0.9839298725128174, 0.19720491766929626, -0.10751643776893616, 0.07985527813434601, -0.8053574562072754, 0.06815508008003235, 0.21451815962791443, -0.48738181591033936, -0.03240645304322243, 0.037009380757808685, -0.6423593759536743, -0.1275842785835266, -0.4336048662662506, 0.33756789565086365, 0.716025710105896, 0.07555027306079865, 0.9468133449554443, 0.570641815662384, 0.005150637123733759, -0.4830663800239563, -0.2733566164970398, 0.01829155534505844, -0.07605203241109848, -0.5296081900596619, 0.3699333369731903, 0.020436886698007584, -0.621445894241333, 0.1503896564245224, -0.12768378853797913, 0.1616355925798416, 0.2568559944629669, 0.4274221956729889, -0.015658028423786163, -0.1126711517572403, -0.19716612994670868, 0.0026231214869767427, -0.2742193341255188, 0.32510557770729065, 0.3232099115848541, 0.7817636728286743, -0.28069475293159485, -0.5230240225791931, -0.08012233674526215, 0.4279179275035858, 0.4453936517238617, -0.32125216722488403, 0.4885762929916382, 0.2335367500782013, -0.474269837141037, -0.42040789127349854, -0.7619263529777527, 0.01980789192020893, -0.46507036685943604, 0.4671432375907898, -0.5502147674560547, -0.24777662754058838, 0.5031202435493469, -0.21598593890666962, 0.1778048872947693, 0.13112738728523254, 0.2219424843788147, 0.21231693029403687, 1.0858830213546753, 0.3578980267047882, -0.16668269038200378, 0.5294550061225891, -0.1763528734445572, 0.04914966598153114, -0.576980471611023, -0.1989063173532486, -0.8303319811820984, -0.28356102108955383, -0.09598714113235474, -0.6828318238258362, 0.07166677713394165, -0.33571088314056396, -0.37503939867019653, 0.5789921879768372, -0.2667960524559021, 0.5299877524375916, 0.5352281928062439, 0.01835956797003746, -0.09635845571756363, -0.05659259855747223, 0.08281707018613815, 0.5169419646263123, -0.524145781993866, -0.8364071846008301, 0.8764694929122925, 0.1617344617843628, 0.4653758704662323, 0.016741760075092316, 0.8167082667350769, 0.67629474401474, 0.567929744720459, -0.44701987504959106, 1.2248923778533936, 0.12676121294498444, -0.5464268326759338, -0.41453689336776733, -0.32552143931388855, -0.8287425637245178, 0.2256121039390564, -0.1072874516248703, -0.9513640403747559, 0.014837450347840786, -0.16722546517848969, -0.040648456662893295, -0.18644125759601593, -0.9063348770141602, 1.2433699369430542, -0.20726552605628967, -0.5689530968666077, -0.7326880693435669, -0.4893847107887268, -0.4013899564743042, 0.5248487591743469, 0.23224902153015137, -0.7786022424697876, -0.29065629839897156, 0.520808756351471, -0.034418486058712006, 0.7848832011222839, -0.37424835562705994, 0.30961382389068604, 0.18236547708511353, 0.04012143984436989, 0.5068674087524414, -0.20136471092700958, -0.4055933356285095, 0.18498031795024872, 0.012705997563898563, -0.8796050548553467, -0.5260436534881592, 0.6543978452682495, -0.9689623713493347, -0.5981874465942383, -0.3950728178024292, -0.420848548412323, -0.3342134356498718, -0.060723211616277695, -0.5066526532173157, 0.4616495668888092, -0.7918887734413147, 0.15731114149093628, 0.16370289027690887, 0.023553427308797836, 0.3593384623527527, 0.860572099685669, 0.1279958039522171, -0.0956762358546257, 0.8615869283676147, 0.05156908184289932, 0.5193243026733398, 0.4682022035121918, 0.08661150932312012, -0.2308306097984314, -0.6293514966964722, -0.30947816371917725, 0.2580249309539795, -0.7408324480056763, 0.03883817046880722, -0.6591871380805969, -0.2785870134830475, -0.573360025882721, -0.4216576814651489, -0.6035178303718567, 0.058905456215143204, 0.4688514173030853, -0.09689200669527054, -0.12426090985536575, 0.7282440662384033, 0.06832081824541092, 0.022448135539889336, -0.4706840515136719, 0.20351020991802216, 0.1034398004412651, 0.32041624188423157, -0.015077921561896801, 0.015043104998767376, -0.17750024795532227, 0.08635503798723221, -0.17125383019447327, -0.7466153502464294, -0.0464392751455307, -0.029620932415127754, 0.9120563864707947, 0.36652421951293945, 0.23123879730701447, 0.6167583465576172, -0.5090667605400085, 0.6388888359069824, -0.3468632996082306, -1.0290735960006714, 0.5922591090202332, -0.3388977348804474, 0.22939254343509674, 0.7690013647079468, 0.1180778369307518, -0.4155435264110565, -0.8412318825721741, -0.9821487665176392, -0.595186710357666, 0.7847894430160522, 0.4011080861091614, 0.22998222708702087, -0.23335802555084229, 0.25028905272483826, -0.20669777691364288, 0.3716570734977722, -0.6308509111404419, -0.09972764551639557, 0.23851194977760315, -0.1606016904115677, -0.37449461221694946, -0.1874568909406662, -0.053739022463560104, -0.06632449477910995, 0.6450603008270264, -0.09542442858219147, 0.14907437562942505, -0.14321252703666687, -0.08760472387075424, -0.19510051608085632, 0.21544943749904633, 0.364707350730896, 0.8136276602745056, -0.19833315908908844, 0.18829865753650665, 0.19209933280944824, -0.26654893159866333, 0.1755509227514267, 0.2355576753616333, -0.18645602464675903, -0.21031486988067627, 0.39546653628349304, 0.4065302014350891, 0.5592944025993347, -1.0772868394851685, 0.6428359746932983, -0.20103900134563446, -0.05510389059782028, -0.3483307659626007, 0.46296027302742004, 0.0428694412112236, 0.565892219543457, 0.28405696153640747, -0.019910644739866257, 0.0920015349984169, -0.8160443902015686, 0.009117494337260723, 0.6998956203460693, -0.4630294740200043, -0.2951936721801758, 0.26747897267341614, 0.3802661597728729, -1.0006434917449951, 0.16975419223308563, -0.5571572184562683, -0.43708330392837524, 0.9156935214996338, 0.2744539976119995, 1.063219666481018, -0.3821777105331421, 0.6508307456970215, 0.08085961639881134, 0.5508139133453369, -0.015360497869551182, 0.44190487265586853, -0.27870702743530273, -0.8115817308425903, -0.050168346613645554, -0.47343677282333374, -0.5054789781570435, -0.32261911034584045, -0.4329805076122284, 0.2610173225402832, -0.37202900648117065, -0.1608608216047287, 0.009842493571341038, 0.24264544248580933, -0.6961032152175903, 0.07038173079490662, 0.11631842702627182, 0.7866500616073608, -0.8797608017921448, 0.680747389793396, 0.9752523303031921, -0.006788725033402443, -0.6560630798339844, -0.06340692192316055, -0.140182763338089, -0.9393580555915833, 0.4835117757320404, 0.1858479529619217, -0.4693233072757721, -0.16346882283687592, -0.4037458598613739, -0.7975807785987854, 1.0699926614761353, 0.35010480880737305, -0.06294126063585281, -0.10841702669858932, 0.3786889612674713, 0.7316105365753174, -0.4526054561138153, 0.48165932297706604, 0.5771106481552124, 0.31554386019706726, -0.11594109982252121, -0.6844746470451355, 0.4118385910987854, -0.7210203409194946, 0.05452651157975197, 0.20685577392578125, -0.9151776432991028, 0.6897467970848083, 0.1127852201461792, -0.42306238412857056, -0.054190121591091156, 0.4763583242893219, 0.43058234453201294, 0.5930100083351135, 0.8077360391616821, 0.15921802818775177, 0.13411898910999298, -0.10373736917972565, 1.130528211593628, -0.5557689070701599, 0.043261416256427765, 0.7909849882125854, -0.765440821647644, 0.9084197282791138, 0.2576371133327484, -0.15825101733207703, 0.3570767641067505, 0.27509239315986633, 0.31972041726112366, 0.4527658224105835, 0.4366905391216278, -0.2015964239835739, -0.3361557722091675, -0.4293069839477539, -0.18818087875843048, 0.5062724947929382, 0.2718331515789032, 0.12012223899364471, -0.22899065911769867, -0.436628133058548, -0.1363902986049652, 0.32219401001930237, -0.20578068494796753, 0.8596175909042358, -0.22094766795635223, -0.9326154589653015, 0.3039115071296692, -0.01989656127989292, 0.13925187289714813, -0.7943215370178223, -0.013745587319135666, -0.14262275397777557, 0.35240715742111206, 0.29186657071113586, -0.5619384050369263, 0.21162620186805725, 0.09083924442529678, 0.20858077704906464, -0.4739348888397217, 0.8200245499610901, -0.1688040792942047, -0.21250641345977783, 0.7484163641929626, 0.7802613973617554, 0.22275596857070923, -0.21152183413505554, -0.9371083974838257, 0.28948235511779785, -0.49556607007980347, -0.2667609751224518, 0.3462563157081604, 0.6254945397377014, 0.029337944462895393, 0.80870521068573, 0.4301386773586273, 0.24725952744483948, -0.34119099378585815, 0.23431679606437683, 0.9571824073791504, -0.6280573606491089, -0.5479069948196411, -0.815387487411499, 0.48431864380836487, -0.6539921760559082, -0.3895820081233978, 0.5987679362297058, 0.5695214867591858, 0.8427718877792358, 0.11856847256422043, 0.48742160201072693, -0.2322971671819687, 0.36196842789649963, -0.015220929868519306, 0.6060663461685181, -0.5903503894805908, 0.08938656002283096, -0.6231665015220642, -0.9490782022476196, 0.41270703077316284, 0.5061601400375366, -0.4335487186908722, 0.11193178594112396, 0.7099545001983643, 0.8551502823829651, 0.08466292917728424, -0.1431795358657837, 0.544825553894043, -0.07003092765808105, 0.2573184370994568, 0.4827759563922882, 1.09807550907135, -0.10664643347263336, 0.4655541777610779, -0.4160606861114502, -0.3952866494655609, -0.05888861045241356, -0.6226526498794556, -1.269352912902832, -0.52189701795578, -0.4210546612739563, -0.2564808428287506, 0.5277929306030273, 1.156507968902588, 0.9065038561820984, -0.4887309968471527, -0.7539396286010742, 0.17082920670509338, 0.33788245916366577, -0.7253285050392151, -0.21775482594966888, 0.02072462998330593, -0.22677196562290192, -0.7558810114860535, 0.28101497888565063, 0.5177538990974426, -0.1662873923778534, -0.3097643256187439, -0.1845228672027588, -0.2555278241634369, 0.35297438502311707, 0.6348598599433899, 0.18782472610473633, -0.6741758584976196, -0.5421522855758667, 0.02515292353928089, -0.4528045654296875, -0.2529563307762146, 0.7187058925628662, -0.6701506972312927, -0.13507124781608582, 0.20760314166545868, 0.6161829829216003, 0.17443662881851196, 0.11202144622802734, 0.6125370860099792, -0.7853735089302063, 0.07389868795871735, 0.39547431468963623, 0.12084648013114929, 0.09268985688686371, -0.19199512898921967, 0.7229025363922119, 0.07929118722677231, -0.455876886844635, -0.9751235842704773, 0.04999212548136711, -0.9985034465789795, -0.13019712269306183, 1.4153341054916382, -0.13772734999656677, -0.498475044965744, -0.16717255115509033, -0.09249972552061081, 0.21750354766845703, -0.8272587060928345, 0.9477079510688782, 0.6547049283981323, 0.11288309842348099, -0.09146541357040405, -0.38158470392227173, 0.3178558051586151, 0.4275079369544983, -1.0215095281600952, 0.23282158374786377, 0.40973299741744995, -0.02004987746477127, 0.22666780650615692, 1.2096526622772217, 0.24207083880901337, 0.3623650074005127, 0.3716115355491638, 0.08882462233304977, 0.258171021938324, -0.4858261048793793, 0.3824174106121063, 0.2665351927280426, 0.07099658250808716, -0.014010539278388023 ]
http://arxiv.org/abs/2404.05333v3
http://arxiv.org/pdf/2404.05333v3
PORTULAN ExtraGLUE Datasets and Models: Kick-starting a Benchmark for the Neural Processing of Portuguese
2024-04-08T09:22:41
2024-05-08T19:32:42
Tomás Osório, Bernardo Leite, Henrique Lopes Cardoso, Luís Gomes, João Rodrigues, Rodrigo Santos, António Branco
cs.CL
cs.CL
Leveraging research on the neural modelling of Portuguese, we contribute a collection of datasets for an array of language processing tasks and a corresponding collection of fine-tuned neural language models on these downstream tasks. To align with mainstream benchmarks in the literature, originally developed in English, and to kick start their Portuguese counterparts, the datasets were machine-translated from English with a state-of-the-art translation engine. The resulting PORTULAN ExtraGLUE benchmark is a basis for research on Portuguese whose improvement can be pursued in future work. Similarly, the respective fine-tuned neural language models, developed with a low-rank adaptation approach, are made available as baselines that can stimulate future work on the neural processing of Portuguese. All datasets and models have been developed and are made available for two variants of Portuguese: European and Brazilian.
[ -0.19908565282821655, -0.5340313911437988, 0.05710836872458458, 0.18716156482696533, -0.16663464903831482, -0.04968710243701935, -0.5790728330612183, -0.5892470479011536, 0.4207838475704193, 0.5963878035545349, -0.17083823680877686, -0.2590436041355133, -0.6837972402572632, -0.11606866121292114, -0.4260346293449402, 1.1153786182403564, 0.2259034365415573, 0.3368183374404907, 0.1752694845199585, -0.3145886957645416, -0.559492826461792, -0.5896521210670471, -0.9427496194839478, -0.2285449206829071, 0.6282563209533691, 0.337312787771225, 0.5374598503112793, 0.8110340237617493, 0.30575811862945557, 0.2128966748714447, -0.22364315390586853, 0.14775583148002625, -0.728588342666626, 0.07252144068479538, -0.2286718338727951, -0.5555622577667236, -0.3995613157749176, -0.13114891946315765, 0.4435840845108032, 0.7584831118583679, -0.25698065757751465, 0.2861679792404175, 0.13621145486831665, 0.5176385641098022, -0.29316097497940063, 0.7416130304336548, -0.7175723910331726, -0.09765396267175674, -0.19175861775875092, -0.13332447409629822, -0.23505203425884247, -0.4090716540813446, -0.060106564313173294, -0.5194888114929199, 0.2592896819114685, -0.31309056282043457, 0.7098803520202637, 0.13633617758750916, -0.4079624116420746, 0.018529338762164116, -0.7424772381782532, 0.3170104920864105, -0.3550194799900055, 0.43991348147392273, 0.07990718632936478, 0.5410654544830322, 0.03345327079296112, -0.6151045560836792, -0.09291096031665802, -0.33445730805397034, 0.018257850781083107, 0.18000689148902893, -0.31378069519996643, -0.17465610802173615, 0.2625078856945038, 0.07345792651176453, -0.8313130140304565, 0.18566322326660156, -0.8454931378364563, -0.13466234505176544, 0.6499933004379272, -0.18871402740478516, -0.1293480545282364, 0.335454523563385, -0.1982487291097641, -0.32888275384902954, -1.1108094453811646, 0.009746120311319828, 0.333398699760437, 0.6351152062416077, -0.07179869711399078, 0.24732083082199097, -0.2660619616508484, 0.9515148401260376, -0.42874473333358765, 0.3895466923713684, 0.26582571864128113, 0.12982091307640076, -0.20280325412750244, 0.19029976427555084, 0.45714089274406433, 0.3323320746421814, 0.43358996510505676, -0.08479442447423935, -0.46525999903678894, 0.26294708251953125, 0.13372087478637695, -0.4322091042995453, -0.3807198405265808, -0.0066712782718241215, -0.24007728695869446, -0.21108953654766083, -0.35724979639053345, -0.36769458651542664, -0.26461389660835266, -0.47989699244499207, 0.2593826651573181, -0.16977249085903168, -0.19805774092674255, 0.013793363235890865, -0.031996745616197586, 0.22594445943832397, 0.04818873852491379, -0.7379801869392395, 0.48642677068710327, 0.8387134075164795, 0.7452031970024109, -0.2704468071460724, -0.4281295835971832, -0.42813733220100403, 0.10492537170648575, -0.43329665064811707, 1.057401418685913, -0.46876099705696106, -0.2535431683063507, 0.16644476354122162, 0.5238285064697266, 0.049214377999305725, -0.49426716566085815, 0.9703530669212341, -0.5254325866699219, 0.11868929117918015, -0.2642407715320587, -0.28029343485832214, -0.6778602004051208, 0.22202621400356293, -0.5930019617080688, 1.170599341392517, 0.05891239270567894, -0.18802686035633087, 0.17628712952136993, -0.49900394678115845, -0.5901868343353271, 0.28067123889923096, -0.24080386757850647, 0.0929754450917244, 0.4725048542022705, 0.18532437086105347, 0.46493443846702576, -0.798652172088623, 0.4272121489048004, -0.0765935406088829, -0.21404677629470825, -0.15591907501220703, -0.4060530364513397, 0.8151687383651733, 0.2874979078769684, 0.026244139298796654, 0.12511806190013885, -0.8029451966285706, 0.07894530892372131, -0.018241312354803085, -0.015213778242468834, -0.14586873352527618, -0.08508355915546417, 0.3278525471687317, 0.43388909101486206, 0.4006965160369873, -0.38815611600875854, 0.13324351608753204, -0.44987860321998596, 0.7564247250556946, 0.3865266442298889, -0.43835943937301636, 0.27660706639289856, -0.2689763009548187, 0.5380010008811951, 0.12659090757369995, -0.037508923560380936, -0.15560045838356018, -0.6241949200630188, -0.5957509875297546, 0.2239898294210434, 0.5449087619781494, 0.6309018135070801, -0.7551882266998291, 0.16449595987796783, -0.6374414563179016, -0.8873633742332458, -0.40523770451545715, -0.19431903958320618, 0.418131023645401, 0.6209211945533752, 0.36727362871170044, -0.523948073387146, -0.4704476296901703, -1.1388877630233765, -0.07973114401102066, 0.004366348497569561, 0.03568074852228165, 0.4751477539539337, 0.3376332223415375, 0.37725546956062317, 0.3650282323360443, -0.40013256669044495, -0.3107665777206421, -0.07340702414512634, 0.05859168991446495, 0.7128152251243591, 0.7840413451194763, 0.7852219343185425, -0.6355681419372559, -0.36326590180397034, 0.13607646524906158, -0.5559424757957458, -0.2538345456123352, 0.29917046427726746, -0.04915742576122284, 0.20362497866153717, 0.5697767734527588, -0.16941876709461212, 0.0474369190633297, 0.760353684425354, -0.07141420990228653, 0.09354111552238464, -0.6345393657684326, 0.012006079778075218, -1.046961784362793, 0.22817350924015045, -0.10214584320783615, -0.2023816704750061, -0.671457827091217, -0.004065859597176313, -0.0020159005653113127, -0.3341737985610962, -0.6857771277427673, 0.5190001130104065, -0.5003437995910645, -0.3681434690952301, -0.38779908418655396, -0.028126565739512444, -0.06752873957157135, 0.4917495846748352, 0.5107275247573853, 0.5556363463401794, 0.8253403306007385, -0.4551856517791748, 0.4996539056301117, 0.05683251842856407, -0.08738017827272415, 0.2655596435070038, -1.1235430240631104, 0.0945110023021698, -0.13512711226940155, 0.15268291532993317, -1.0478107929229736, 0.078630730509758, 0.17128662765026093, -0.4685806632041931, 0.33962929248809814, -0.7310068011283875, -0.2085333615541458, -0.3759170174598694, 0.08844205737113953, 0.06362926214933395, 0.567859947681427, -0.429025799036026, 0.36454156041145325, 0.611655592918396, -0.26461368799209595, -0.5339646339416504, -0.8405681848526001, 0.19082336127758026, -0.22816303372383118, -0.43089228868484497, 0.4539016783237457, 0.22465434670448303, 0.25512444972991943, -0.326450377702713, 0.32659798860549927, -0.2869541347026825, 0.029215969145298004, 0.18212004005908966, 0.17526839673519135, -0.4568493366241455, 0.14647676050662994, 0.20930391550064087, -0.3042619824409485, 0.15590427815914154, -0.6733832359313965, 0.5780445337295532, 0.12043672800064087, 0.272106409072876, 0.33611977100372314, 0.12546829879283905, 0.2955669164657593, -0.332708477973938, 0.6779599189758301, 0.47008827328681946, -0.5203962326049805, -0.13975882530212402, -0.3221626281738281, -0.40901774168014526, -0.365981787443161, 0.20893697440624237, -0.6250452995300293, -0.635583221912384, 0.712058961391449, 0.03651413694024086, 0.0011308299144729972, 0.3731253147125244, 0.5830955505371094, 0.16487136483192444, 0.7008411884307861, 0.8242568969726562, -0.21572807431221008, 0.4083041846752167, -0.18313923478126526, -0.23303864896297455, -0.5498236417770386, 0.2518788278102875, -0.8166477084159851, -0.47061070799827576, -0.9979149103164673, -0.36531296372413635, 0.29913774132728577, -0.07328949123620987, -0.0738949254155159, 0.9334567785263062, -0.6492303609848022, 0.6556954383850098, 0.5169810056686401, 0.06646221876144409, 0.10201980918645859, 0.10336615890264511, -0.16850759088993073, 0.20183052122592926, -1.0279793739318848, -0.49278518557548523, 1.3512873649597168, -0.041716624051332474, 0.4461819529533386, 0.02002868615090847, 0.16753551363945007, 0.29860714077949524, 0.20012500882148743, -0.3229190707206726, 0.3826873302459717, -0.44176727533340454, -0.6628414392471313, 0.06783846765756607, -0.16843551397323608, -1.17929208278656, 0.29699862003326416, -0.11175835877656937, -0.7023984789848328, 0.3044239282608032, 0.27108126878738403, -0.4060764014720917, -0.20943814516067505, -0.7763799428939819, 1.147657871246338, -0.39933833479881287, -0.8083909749984741, -0.18657293915748596, -0.7477694749832153, 0.13663142919540405, 0.14709487557411194, -0.050388120114803314, -0.2755534052848816, -0.22895881533622742, 0.7525396943092346, -0.0818503275513649, 0.5348522067070007, -0.2448042631149292, -0.23881296813488007, 0.18840694427490234, 0.1506764441728592, 0.35415175557136536, 0.12985152006149292, -0.18580442667007446, 0.6211810111999512, 0.11318754404783249, -0.45213231444358826, -0.29924774169921875, 0.8414158821105957, -0.6800675392150879, -0.24539268016815186, -0.5414418578147888, -0.4800715744495392, -0.17656396329402924, 0.20492348074913025, 0.11773377656936646, 0.4014597237110138, -0.41459769010543823, 0.07198644429445267, 0.25880250334739685, -0.05817946419119835, 0.5897164940834045, 0.9699100255966187, -0.4088960587978363, -0.1872689127922058, 1.031699776649475, 0.28314995765686035, -0.17465436458587646, 0.41285479068756104, -0.08522238582372665, -0.3861137628555298, -0.7391905784606934, -0.6976284980773926, -0.060743141919374466, -0.43192994594573975, -0.144099622964859, -0.45061686635017395, 0.0014583789743483067, -0.5058203339576721, 0.1530808061361313, -0.45800021290779114, -0.5952495336532593, 0.02012445777654648, 0.06539546698331833, 0.5051912069320679, 0.7673372030258179, -0.3556150794029236, 0.39693450927734375, -1.0764800310134888, 0.05444718524813652, -0.09724192321300507, 0.17948806285858154, -0.39235225319862366, -0.7354028224945068, -0.3886617422103882, 0.1767570525407791, 0.043065253645181656, -0.8037508130073547, 0.7468456029891968, 0.19452688097953796, 0.5189000964164734, 0.10774656385183334, -0.5382660031318665, 0.16369010508060455, -0.5492363572120667, 0.6070563793182373, -0.36519742012023926, -0.48209381103515625, 0.5403580665588379, -0.6264117956161499, 0.16008716821670532, 0.5521798133850098, 0.8196656107902527, -0.5549359917640686, 0.3965374827384949, -0.7136635780334473, -0.7486861348152161, 0.6184280514717102, 0.17872165143489838, -0.07559723407030106, 0.10296787321567535, 0.24839012324810028, 0.32510051131248474, 0.45469969511032104, -0.3991699516773224, -0.07762052863836288, 0.15412074327468872, 0.1392797827720642, -0.6844860315322876, 0.026186132803559303, -0.23876424133777618, -0.34091082215309143, 0.7521020770072937, -0.4924812316894531, 0.1991099864244461, -0.3588300347328186, -0.3626781702041626, 0.1856553852558136, -0.08491871505975723, 0.6676753759384155, 0.6264047026634216, -0.05278802290558815, -0.17113637924194336, 0.2467326521873474, -0.43456462025642395, 0.006628955714404583, 0.6021062731742859, -0.3427541255950928, 0.05412769317626953, -0.03957754746079445, 0.7392703294754028, 0.23878926038742065, -0.6108660101890564, 0.22968916594982147, -0.20683665573596954, 0.36557480692863464, -0.3891735076904297, 0.1239190474152565, 0.32624056935310364, 0.10020036995410919, 0.056145668029785156, 0.019741404801607132, 0.20276997983455658, -0.39126691222190857, 0.06355510652065277, 0.09798189997673035, -0.5489250421524048, -0.41338059306144714, 0.6673539876937866, 0.44584640860557556, -0.2545141577720642, 0.4214661419391632, -0.09626369178295135, -0.46609506011009216, 0.8394175171852112, 0.3146849572658539, 0.7596758008003235, -0.1426970660686493, 0.06274154037237167, 0.38214030861854553, 0.38530123233795166, -0.11782534420490265, 0.8751729726791382, -0.03228481486439705, -0.8030084371566772, -0.2999243438243866, -0.5752042531967163, -0.30458250641822815, 0.044960614293813705, -0.6670594811439514, 0.5399844646453857, -0.1552615463733673, -0.038408759981393814, -0.03567497059702873, -0.24358375370502472, -0.6336207389831543, 0.4347922205924988, 0.4481213688850403, 0.8946272134780884, -1.0672751665115356, 1.0852084159851074, 0.9519813060760498, -0.3753888010978699, -0.5314038991928101, -0.7587253451347351, -0.18554286658763885, -0.9797881245613098, 0.6814838647842407, 0.13369961082935333, 0.12757830321788788, 0.11336829513311386, -0.30071452260017395, -1.0118709802627563, 0.6963214874267578, 0.5805562138557434, -0.8150779604911804, 0.10304654389619827, 0.35702723264694214, 0.8518252372741699, -0.5877424478530884, 0.9702068567276001, 1.0843712091445923, 0.3374447226524353, -0.2296103835105896, -0.9102455973625183, -0.2724389135837555, -0.48778611421585083, 0.08053573966026306, 0.09645979106426239, -0.8636766076087952, 0.8960248827934265, 0.3634270429611206, 0.19344134628772736, -0.2029537707567215, 0.6439935564994812, -0.15644241869449615, -0.21768242120742798, 0.2207234799861908, 0.5965443849563599, 0.5037750601768494, -0.5231236815452576, 0.8985263109207153, -1.0022903680801392, 0.08708903193473816, 1.5946191549301147, -0.3570142388343811, 0.8397811055183411, 0.18998317420482635, -0.026744598522782326, 0.18536078929901123, 0.6780850291252136, -0.13416054844856262, 0.10680927336215973, 0.31421521306037903, -0.055985838174819946, 0.17418479919433594, -0.5335035920143127, -0.7014310956001282, 1.0321824550628662, 0.5424646735191345, -0.5958912372589111, -0.3128558397293091, -0.030643047764897346, -0.011309497058391571, -0.0760122761130333, -0.3394903838634491, 0.708840548992157, -0.08810237050056458, -0.985582709312439, 0.7659429907798767, -0.09218913316726685, 0.44901978969573975, -0.5818010568618774, -0.11975123733282089, -0.3471556007862091, 0.195236936211586, 0.046028174459934235, -0.7799156308174133, 0.2776362895965576, -0.014897720888257027, 0.057332996279001236, -0.5461435317993164, 0.869486927986145, -0.5821436047554016, -0.5283946990966797, 0.42267918586730957, 0.8988499641418457, 0.6488519310951233, -0.20515476167201996, -0.8110537528991699, 0.164141446352005, -0.178521990776062, -0.2313789576292038, 0.1558281034231186, 0.25258034467697144, -0.06963273137807846, 0.3391062915325165, 0.5666229128837585, 0.4478056728839874, 0.1399519145488739, 0.2007448822259903, 0.7315689325332642, -0.6682398319244385, -0.5428644418716431, -0.5072895288467407, 0.09101295471191406, -0.009815093129873276, -0.8507185578346252, 0.565193235874176, 0.9193496108055115, 1.158239483833313, -0.3025895059108734, 0.6073868274688721, -0.06193895265460014, 0.5400581955909729, -0.3438769578933716, 1.0472922325134277, -0.3602834939956665, -0.08262316882610321, 0.19543121755123138, -1.154312014579773, 0.06117558479309082, 0.2723904252052307, -0.19881924986839294, 0.14394386112689972, 0.5986487865447998, 1.1134370565414429, -0.05401376262307167, 0.14385531842708588, 0.4482315182685852, 0.3907530605792999, 0.08508733659982681, 0.960175633430481, 0.44739624857902527, -0.7184880971908569, 0.3228601813316345, -0.5031692385673523, -0.0520559698343277, -0.05905626341700554, -1.1058028936386108, -0.3910559117794037, -0.47163620591163635, -0.19834713637828827, -0.3313099145889282, 0.44009485840797424, 0.7840778231620789, 0.7690902948379517, -1.0126420259475708, -0.7416996955871582, -0.19779972732067108, -0.18514427542686462, -0.3511381447315216, -0.08720133453607559, 0.15264570713043213, -0.11716322600841522, -0.861573338508606, 0.6665031909942627, 0.21676062047481537, -0.062316011637449265, -0.23188947141170502, 0.2485608160495758, -0.3393495976924896, -0.19225727021694183, 0.50153648853302, 0.6247254014015198, -0.12421577423810959, -0.07434950023889542, -0.22381103038787842, -0.019802147522568703, 0.2245735228061676, 0.8414062261581421, -1.111810326576233, 0.2249615490436554, 0.6416486501693726, 0.6086267232894897, 0.5619357228279114, -0.41897904872894287, 0.898402988910675, -0.6160399913787842, 0.6341331601142883, 0.3251895010471344, 0.6485026478767395, 0.3442813754081726, -0.10918481647968292, 0.9378727674484253, 0.2369239777326584, -0.3232339024543762, -0.6270174384117126, -0.12108828872442245, -0.9261481761932373, 0.0621824786067009, 0.8465737104415894, -0.2658177316188812, -0.5363140106201172, 0.14837627112865448, -0.1736668348312378, 0.46852821111679077, -0.45965316891670227, 0.4796042740345001, 0.536405086517334, -0.020061319693922997, 0.09128771722316742, -0.6025310158729553, 0.3784259855747223, 0.5962071418762207, -0.924793004989624, 0.168413907289505, 0.4643203616142273, -0.07634804397821426, -0.01904689520597458, 0.16664151847362518, 0.00045277774916030467, 0.45201972126960754, 0.12286077439785004, 0.058803100138902664, 0.05032402649521828, -0.6297987103462219, -0.7165924310684204, 0.24407382309436798, -0.22814132273197174, 0.12221445888280869 ]
http://arxiv.org/abs/2404.05281v1
http://arxiv.org/pdf/2404.05281v1
Multi-Task Learning for Features Extraction in Financial Annual Reports
2024-04-08T08:13:40
2024-04-08T08:13:40
Syrielle Montariol, Matej Martinc, Andraž Pelicon, Senja Pollak, Boshko Koloski, Igor Lončarski, Aljoša Valentinčič
cs.CL
cs.CL
For assessing various performance indicators of companies, the focus is shifting from strictly financial (quantitative) publicly disclosed information to qualitative (textual) information. This textual data can provide valuable weak signals, for example through stylistic features, which can complement the quantitative data on financial performance or on Environmental, Social and Governance (ESG) criteria. In this work, we use various multi-task learning methods for financial text classification with the focus on financial sentiment, objectivity, forward-looking sentence prediction and ESG-content detection. We propose different methods to combine the information extracted from training jointly on different tasks; our best-performing method highlights the positive effect of explicitly adding auxiliary task predictions as features for the final target task during the multi-task training. Next, we use these classifiers to extract textual features from annual reports of FTSE350 companies and investigate the link between ESG quantitative scores and these features.
[ -0.2833813428878784, -0.38778457045555115, 0.2195839136838913, 0.3511819541454315, -0.3568337857723236, 0.3956086337566376, -0.24206702411174774, -0.9709336161613464, 0.10076641291379929, 0.6835927367210388, -0.5273776054382324, -0.4073159396648407, -0.7679009437561035, 0.2778335213661194, -0.2510157823562622, 1.5064473152160645, 0.05277864634990692, -0.05667775496840477, -0.31172439455986023, -0.21999335289001465, -0.3271659016609192, -0.544648289680481, -0.6993497014045715, -0.1659567803144455, 0.45304223895072937, 0.37367314100265503, -0.010889088734984398, 0.4496074318885803, 0.4429962635040283, 0.3558966815471649, 0.29129040241241455, 0.3670741021633148, -0.05215303227305412, 0.1467362940311432, 0.05289310961961746, -0.28881776332855225, -0.42663782835006714, 0.1786128580570221, 0.3544706404209137, 0.05137989670038223, 0.01976286992430687, 0.5581279993057251, 0.5774883031845093, 0.4940876364707947, -0.5517063736915588, 1.1559990644454956, -0.2689919173717499, 0.02193463034927845, -0.2754724621772766, -0.47780922055244446, -0.4205295145511627, -0.10955960303544998, 0.4521056115627289, -0.6680652499198914, 0.335178941488266, 0.17556677758693695, 0.8823794722557068, 0.04558952897787094, -0.5898628234863281, -0.7131330370903015, -0.3576546609401703, 1.13671875, -0.2871759235858917, 0.36676594614982605, 0.4000489413738251, 0.016574200242757797, 0.6253889203071594, -0.5092442035675049, -0.07552049309015274, -0.06627698242664337, -0.3631669580936432, 0.32252970337867737, -0.02333608642220497, -0.10907046496868134, -0.10238447785377502, 0.29292675852775574, -0.1866151988506317, -0.1309756636619568, -0.4713137745857239, -0.20271669328212738, 0.9033469557762146, -0.04955316334962845, -0.24061591923236847, -0.1188482940196991, -0.5553381443023682, -0.492624968290329, -0.3556493818759918, 0.30711743235588074, 0.37209683656692505, 0.8299541473388672, -0.0543297603726387, 0.19578315317630768, -0.0941438227891922, 0.10228902846574783, 0.12930402159690857, -0.3969119191169739, 0.684140145778656, -0.4372127056121826, 0.011102312244474888, 0.289527952671051, 0.43344876170158386, 0.15893177688121796, 0.22842971980571747, -0.3164631426334381, -0.44466158747673035, 0.030056530609726906, 0.4259338080883026, -0.3740489184856415, -0.15314655005931854, 0.19912342727184296, -0.5854854583740234, -0.5039258599281311, 0.5453535914421082, -0.9646104574203491, -0.309431791305542, -0.6274965405464172, 0.19400142133235931, -0.28767460584640503, -0.08870221674442291, -0.16981935501098633, -0.5590226054191589, 0.27604636549949646, 0.42567479610443115, -0.6719418168067932, 0.36195364594459534, 0.6493625640869141, 0.4168124198913574, -0.08633170276880264, -0.3565623164176941, -1.0378836393356323, 0.39252781867980957, 0.1738821119070053, 1.0198675394058228, -0.4392920136451721, -0.21710892021656036, -0.06738125532865524, 0.11273456364870071, -0.15684804320335388, -0.46251189708709717, 0.44372743368148804, -0.12955670058727264, 0.39863136410713196, -0.5254986882209778, -0.12039266526699066, -0.5426348447799683, 0.024051550775766373, -0.5911635160446167, 1.1268157958984375, 0.08646088093519211, -0.8694952130317688, 0.8580229878425598, -0.8461021184921265, -0.7386768460273743, 0.03943214565515518, -0.19864296913146973, -0.6527748703956604, -0.011079668067395687, 0.36895185708999634, 0.7342747449874878, -0.3685823678970337, 0.3334983289241791, -0.20738185942173004, 0.003041903953999281, 0.403370201587677, -0.3461415767669678, 0.2418656349182129, 0.07269640266895294, -0.41180869936943054, 0.28205880522727966, -0.7985708117485046, -0.1317545473575592, 0.00007087778794812039, -0.3769337236881256, -0.4255562424659729, 0.2581627070903778, 0.7268726229667664, 0.26610738039016724, 0.4850710928440094, -0.4496895372867584, -0.1739443689584732, -0.057925399392843246, 0.5118871331214905, 0.8123767971992493, 0.04714959114789963, 0.0574004128575325, -0.7219315767288208, 0.48855283856391907, 0.29651573300361633, 0.005737814120948315, -0.2878161668777466, -0.4753519296646118, -0.4491916000843048, -0.4959580898284912, 0.1704590767621994, 0.9168601036071777, -0.5620790719985962, 0.438256174325943, -0.016541820019483566, -0.31683292984962463, -0.3827400505542755, 0.34278154373168945, 0.5285637974739075, 0.08152063935995102, 0.35201841592788696, -0.34325847029685974, -0.3800472021102905, -0.7244524359703064, -0.5828864574432373, -0.19883254170417786, -0.06517690420150757, 0.21020087599754333, 0.6064658164978027, 0.4056660234928131, 0.5986432433128357, -0.8382366895675659, -0.5435702800750732, -0.2212429791688919, 0.8673067092895508, -0.13724812865257263, 0.22308196127414703, 0.4483237862586975, -1.10512375831604, -0.36345815658569336, 0.29471299052238464, -0.5067188739776611, 0.2250753939151764, -0.3227827847003937, 0.4894465208053589, 0.023078037425875664, 0.35126402974128723, -0.10662293434143066, 0.2334515005350113, 0.19351455569267273, -0.3733570873737335, 0.3788488805294037, -0.21905215084552765, 0.37891125679016113, -0.9175071716308594, 0.018820995464920998, 0.9341554045677185, -0.3169766366481781, -0.43069085478782654, -0.14920026063919067, 0.14451105892658234, 0.006210679188370705, 0.007011687848716974, 0.42715728282928467, -0.443430632352829, -0.11335224658250809, -0.07312111556529999, 0.050393085926771164, 0.16407549381256104, 0.6519330739974976, -0.12339384108781815, 0.7436949610710144, 0.5250004529953003, -0.45396655797958374, 0.13773933053016663, 0.2347966879606247, -0.19428445398807526, 0.656686544418335, -0.12455940246582031, 0.011918819509446621, -0.402617484331131, -0.06777988374233246, -1.2374204397201538, -0.06718819588422775, -0.044504765421152115, -0.39507776498794556, 0.4770219922065735, 0.4080645442008972, -0.4085393249988556, -0.175253763794899, -0.5699432492256165, -0.20095732808113098, 0.020282184705138206, -0.0890144407749176, 0.9296714067459106, 0.574089765548706, -0.762302041053772, -0.6500362753868103, -0.7926174998283386, -0.16174647212028503, -0.6711089015007019, -0.24603162705898285, 0.46161603927612305, 0.4138084053993225, -0.06602951139211655, 0.047399476170539856, -0.2882430851459503, -0.2468092292547226, 0.254795104265213, 0.41264015436172485, 0.5057433247566223, -0.12450321763753891, -0.08521661162376404, 0.06318244338035583, -0.16376417875289917, 0.022151414304971695, -0.08045411109924316, -0.013767545111477375, -0.3265407681465149, 0.11258820444345474, -0.37122607231140137, 0.455584853887558, 0.5055105686187744, -0.8307855129241943, 0.6666348576545715, 0.6530361175537109, -0.3383508026599884, -0.19032850861549377, -0.6996550559997559, -0.14827071130275726, -0.47387993335723877, 0.32810935378074646, -0.1430330127477646, -0.9064233303070068, 0.6589824557304382, -0.04791342467069626, 0.3258073925971985, 0.9029452800750732, 0.016062024980783463, -0.13210433721542358, 0.722449541091919, 0.9494401216506958, -0.11140812933444977, 0.6245677471160889, -0.11150897294282913, 0.08812616020441055, -0.37253203988075256, -0.5025225281715393, -0.7705977559089661, -0.21367265284061432, -0.4083041250705719, 0.03659728541970253, 0.2765512466430664, -0.04585113003849983, 0.08762340992689133, 0.49835294485092163, -0.36792340874671936, 0.18889638781547546, 0.35571739077568054, 0.2504507303237915, 0.16891814768314362, -0.07564513385295868, 0.029221760109066963, -0.09165599942207336, -0.26328644156455994, -0.2969171404838562, 0.993226170539856, 0.5092053413391113, 0.46122899651527405, -0.3122991621494293, 0.7901598215103149, 0.4958372116088867, 0.601311206817627, -0.5553709864616394, 0.20261503756046295, -0.7911650538444519, -0.2393912672996521, -0.31482478976249695, -0.5633147358894348, -0.510823667049408, 0.14189113676548004, -0.38523802161216736, -0.6274192333221436, 0.2590692639350891, -0.21919074654579163, -0.6476545929908752, -0.16746404767036438, -0.8393704295158386, 0.7531276941299438, -0.3737351596355438, 0.009964958764612675, -0.2208450436592102, -0.27638155221939087, 0.17590992152690887, -0.3507605493068695, 0.556204617023468, -0.026595942676067352, -0.2550259828567505, 0.8463795185089111, 0.3067662715911865, 1.1209229230880737, -0.1099381297826767, -0.11929430812597275, 0.07417634129524231, -0.6898889541625977, 0.5216107964515686, 0.050057992339134216, 0.21944895386695862, 0.0064913202077150345, 0.155008465051651, -0.19385601580142975, -0.1630832701921463, 0.3988383710384369, -0.5412720441818237, -0.24502335488796234, -0.7519322633743286, -0.6082788705825806, -0.4176255762577057, -0.09055056422948837, -0.12828068435192108, 0.4495909512042999, -0.03310978040099144, 0.4206632077693939, 0.13732323050498962, -0.11435172706842422, 0.7039300799369812, 0.1684248447418213, 0.18771633505821228, -0.8323312401771545, 1.0736744403839111, 0.46870750188827515, -0.10478147864341736, 0.4458054006099701, 0.21456502377986908, -0.5262250304222107, -0.47445234656333923, -0.08399610966444016, 0.10690882056951523, -0.6079645156860352, -0.3924320340156555, -0.5307759642601013, -0.23141589760780334, -0.509992241859436, -0.04161703586578369, -0.028107455000281334, -0.16956129670143127, -0.41100144386291504, -0.09925945848226547, 0.4563162624835968, 0.8826993107795715, 0.1557212918996811, 0.19847536087036133, -1.2163703441619873, 0.4742307662963867, 0.2815861105918884, 0.08956146985292435, 0.12413474172353745, -0.12188449501991272, -0.5239436626434326, -0.286454975605011, -0.7279261350631714, -0.6563941240310669, 0.5416169762611389, 0.3899754285812378, 0.6362903714179993, 0.5802136063575745, -0.1217251867055893, 0.6444594264030457, -0.09644460678100586, 0.46780961751937866, 0.2902669906616211, -0.9020321369171143, 0.33157041668891907, -0.35240209102630615, 0.25842908024787903, 0.7245874404907227, 0.582056999206543, -0.25136324763298035, -0.6320652961730957, -0.6362659335136414, -0.8059703707695007, 0.824117124080658, 0.02512906678020954, -0.2788742780685425, -0.03129757568240166, 0.2892378270626068, 0.3309154212474823, 0.7523221969604492, -0.6376298069953918, -0.2561935484409332, -0.0025444081984460354, -0.3334957957267761, -0.17694607377052307, -0.13739150762557983, 0.1290595531463623, -0.1534370332956314, 0.4677152633666992, -0.32767900824546814, -0.022273501381278038, 0.0614081434905529, 0.18073397874832153, -0.10963285714387894, 0.2484051138162613, 0.32406216859817505, 0.9314448833465576, -0.1182122603058815, -0.2776830494403839, 0.1420668661594391, -0.5699815154075623, -0.15379026532173157, 0.5392401218414307, 0.2122037410736084, -0.1761060208082199, 0.6530866026878357, 0.45811089873313904, 0.7039070129394531, -0.6026545763015747, 0.5139051079750061, 0.08052558451890945, -0.4951882064342499, -0.2726042866706848, -0.1325036585330963, -0.06713754683732986, 0.6780117154121399, 0.9300394058227539, 0.37452268600463867, 0.3450015187263489, -0.9279538989067078, 0.5387126207351685, 0.20319312810897827, -0.390356183052063, -0.16667480766773224, 0.5096681118011475, 0.20835164189338684, 0.27302002906799316, 0.2899557054042816, -0.17547713220119476, -0.6389541029930115, 0.7358356714248657, 0.21745269000530243, 1.201167106628418, -0.2873620092868805, 0.327380508184433, 0.1346709132194519, 0.11854570358991623, -0.38044217228889465, 0.7079290151596069, -0.14410528540611267, -0.5190311670303345, -0.7794186472892761, -0.7244551777839661, -0.30024269223213196, 0.0573042556643486, -1.0046836137771606, 0.38852202892303467, -0.426125705242157, -0.18717198073863983, 0.5483277440071106, 0.24259532988071442, -0.6671174168586731, 0.30389776825904846, 0.2531416714191437, 0.4682706892490387, -0.8758390545845032, 0.6847348809242249, 0.6211775541305542, -0.36747074127197266, -0.38650450110435486, 0.007313176989555359, 0.21215392649173737, -0.4552231729030609, 0.7115216851234436, 0.5568863749504089, -0.05203791707754135, -0.38501426577568054, -0.15941683948040009, -0.577491283416748, 0.9778155088424683, 0.10440787672996521, -0.5255687832832336, -0.38006797432899475, -0.03372561186552048, 0.1403355598449707, -0.6439462304115295, -0.24076500535011292, 0.2830449640750885, 0.671333372592926, 0.006611953489482403, -1.0757017135620117, -0.08623689413070679, -0.15311682224273682, -0.4317860007286072, 0.49882301688194275, -0.7625820636749268, 0.8255565166473389, 0.14961960911750793, -0.20824110507965088, -0.3653544783592224, 0.6581934690475464, 0.040083933621644974, 0.6682043671607971, 0.6573670506477356, 0.3535926043987274, 0.8640047907829285, -0.1996583491563797, 0.8709134459495544, -0.3955056369304657, 0.3722369968891144, 0.8807446360588074, -0.29203176498413086, 1.0954678058624268, 0.23559798300266266, -0.03234155476093292, 0.2802554965019226, 0.4174959659576416, -0.2623138129711151, 0.7420719265937805, -0.017370574176311493, -0.1701723337173462, -0.05255676060914993, -0.02532201074063778, -0.04539615288376808, 0.7402499318122864, 0.4673515856266022, -0.34291133284568787, -0.20910687744617462, 0.34924396872520447, -0.23057521879673004, 0.027739273384213448, -0.43012842535972595, 1.0099906921386719, 0.18482449650764465, -0.49470996856689453, -0.22789080440998077, 0.2147773951292038, 0.9713574051856995, -0.7145621180534363, -0.11992286145687103, 0.3906610608100891, 0.10763390362262726, -0.172782301902771, -0.8061882853507996, 0.6529622077941895, 0.13553036749362946, -0.057104818522930145, -0.8608677387237549, 0.6537469625473022, -0.38881421089172363, -0.4470427334308624, 0.31137028336524963, 0.47249141335487366, -0.3017660677433014, -0.5238521099090576, -0.7089323997497559, -0.4311254620552063, 0.022350935265421867, -0.16634899377822876, 0.4408353567123413, 0.8328544497489929, 0.12260528653860092, 0.4236922562122345, 0.6014098525047302, -0.036632928997278214, -0.3078826665878296, -0.20516270399093628, 0.9286278486251831, -1.0657670497894287, -0.9630810022354126, -0.6309065222740173, 0.48615214228630066, -0.14173652231693268, -0.6652090549468994, 0.7001766562461853, 0.7322874069213867, 0.8637814521789551, -0.14985324442386627, 0.8658288717269897, 0.2910093367099762, 0.3401172459125519, -0.6629765033721924, 0.6631826162338257, -0.41472500562667847, -0.08983007073402405, -0.21887852251529694, -0.8826363682746887, -0.024640044197440147, 0.3082273006439209, -0.2299005687236786, 0.04560668393969536, 0.8382901549339294, 0.08489197492599487, -0.03328542038798332, 0.6218739748001099, 0.14091569185256958, -0.09262976050376892, -0.024004636332392693, 0.2195105403661728, 0.40463492274284363, -0.27921590209007263, 0.6149471402168274, -0.38480129837989807, -0.04062101989984512, -0.029275737702846527, -0.8889186978340149, -0.8302890658378601, -0.8893797397613525, -0.6826154589653015, -0.07963982224464417, -0.18404744565486908, 0.6113334894180298, 0.4618633985519409, -0.9537180066108704, -0.42056506872177124, 0.36167556047439575, -0.41273587942123413, -0.6407135725021362, -0.3014112412929535, 0.2978149354457855, -0.39355775713920593, -0.440471887588501, 0.2656785845756531, 0.5803439617156982, -0.09831602871417999, -0.19905516505241394, 0.41506117582321167, -0.237693190574646, -0.057674478739500046, 0.5752300024032593, -0.016274845227599144, -0.4153550863265991, -0.4324452877044678, -0.12879885733127594, 0.14799022674560547, 0.01903372071683407, 0.9242290258407593, -0.4751060903072357, -0.2818092107772827, 0.3252192735671997, 0.7633289098739624, 0.6093352437019348, 0.04362547770142555, 0.3847945034503937, -0.9124433398246765, 0.07451929152011871, 0.08412069082260132, 0.31867045164108276, 0.05969306081533432, -0.7216435074806213, 0.19854024052619934, 0.07252383232116699, -0.28357717394828796, -0.4403300881385803, -0.37978699803352356, -1.0886119604110718, -0.4042138457298279, 0.6724745631217957, -0.3176788091659546, -0.36961284279823303, -0.28221040964126587, -0.015764152631163597, 0.04339197278022766, -0.6865774393081665, 0.531695544719696, 1.121711015701294, -0.09218659996986389, -0.4052761495113373, -0.8536945581436157, 0.5358209013938904, -0.09912111610174179, -0.9974713921546936, 0.2022683024406433, 0.33812084794044495, 0.06052348017692566, 0.47823280096054077, 0.3265520930290222, -0.1345786452293396, 0.31091493368148804, 0.08380692452192307, -0.2288784235715866, -0.12925384938716888, -0.8175677061080933, -0.31665003299713135, 0.6648333668708801, -0.11381098628044128, -0.15974798798561096 ]
http://arxiv.org/abs/2404.08001v1
http://arxiv.org/pdf/2404.08001v1
Xiwu: A Basis Flexible and Learnable LLM for High Energy Physics
2024-04-08T07:37:31
2024-04-08T07:37:31
Zhengde Zhang, Yiyu Zhang, Haodong Yao, Jianwen Luo, Rui Zhao, Bo Huang, Jiameng Zhao, Yipu Liao, Ke Li, Lina Zhao, Jun Cao, Fazhi Qi, Changzheng Yuan
hep-ph
hep-ph, cs.AI, cs.CL, cs.LG, hep-ex, physics.comp-ph, I.2.7
Large Language Models (LLMs) are undergoing a period of rapid updates and changes, with state-of-the-art (SOTA) model frequently being replaced. When applying LLMs to a specific scientific field, it's challenging to acquire unique domain knowledge while keeping the model itself advanced. To address this challenge, a sophisticated large language model system named as Xiwu has been developed, allowing you switch between the most advanced foundation models and quickly teach the model domain knowledge. In this work, we will report on the best practices for applying LLMs in the field of high-energy physics (HEP), including: a seed fission technology is proposed and some data collection and cleaning tools are developed to quickly obtain domain AI-Ready dataset; a just-in-time learning system is implemented based on the vector store technology; an on-the-fly fine-tuning system has been developed to facilitate rapid training under a specified foundation model. The results show that Xiwu can smoothly switch between foundation models such as LLaMA, Vicuna, ChatGLM and Grok-1. The trained Xiwu model is significantly outperformed the benchmark model on the HEP knowledge question-and-answering and code generation. This strategy significantly enhances the potential for growth of our model's performance, with the hope of surpassing GPT-4 as it evolves with the development of open-source models. This work provides a customized LLM for the field of HEP, while also offering references for applying LLM to other fields, the corresponding codes are available on Github.
[ 0.010751280933618546, -0.6188732981681824, 0.5760258436203003, 0.2539668679237366, -0.02336525358259678, 0.19047807157039642, -0.08400958776473999, -0.435391902923584, -0.1343385875225067, 0.3251141309738159, -0.217335045337677, -0.4003618061542511, -0.4305790662765503, -0.07933762669563293, -0.5896105766296387, 0.5160449147224426, -0.3018627464771271, 0.01365785300731659, -0.08826495707035065, -0.20958440005779266, -0.01609848625957966, -0.46843743324279785, -0.3952941298484802, -0.854590654373169, 0.33358556032180786, 0.31242695450782776, 0.640937089920044, 0.8153324723243713, 0.6182043552398682, 0.21933427453041077, -0.14407683908939362, -0.09712011367082596, -0.7290012836456299, -0.2816450893878937, -0.4359910786151886, -0.37725022435188293, -0.6432345509529114, 0.018673263490200043, 0.8088607788085938, 0.8499785661697388, -0.14135435223579407, 0.09675972908735275, -0.08811844885349274, 0.3669109344482422, -0.5210272073745728, -0.0018131424440070987, -0.8245415091514587, 0.18687750399112701, -0.30019038915634155, -0.3706601858139038, -0.4968615472316742, -0.12768177688121796, 0.12062294781208038, -0.7670506238937378, -0.13361918926239014, 0.16421470046043396, 0.8861978650093079, -0.20235420763492584, -0.5683269500732422, 0.3876357078552246, -0.5482537150382996, 1.004068374633789, -0.7365635633468628, 0.5973846316337585, 0.024935424327850342, 0.3720000684261322, -0.31144019961357117, -0.9577562212944031, -0.3134683668613434, -0.11798709630966187, 0.1703239381313324, -0.013930870220065117, -0.025542624294757843, 0.01162651740014553, 0.2129768431186676, 0.42589956521987915, -0.5029730200767517, 0.2644023895263672, -0.12261264771223068, -0.02509358897805214, 0.5030273795127869, 0.1857304722070694, 0.028947077691555023, -0.08317866921424866, -0.5557481050491333, -0.16848737001419067, -1.165602684020996, -0.22311051189899445, 0.25972065329551697, 0.1446172446012497, -0.05997411906719208, 0.3558976650238037, -0.3896462023258209, 0.3997357189655304, -0.04075808823108673, -0.1354680061340332, 0.23645427823066711, 0.12870009243488312, -0.5844988822937012, -0.24508622288703918, 0.5859643816947937, 0.03928329423069954, -0.28142866492271423, -0.18852469325065613, -0.2201284021139145, -0.11342962086200714, 0.0731516182422638, -0.8750684857368469, -0.291187047958374, 0.00319826602935791, -0.6400877833366394, -0.26336565613746643, -0.2536032199859619, -0.234749898314476, -0.1898811310529709, -0.1633225977420807, 0.5952825546264648, -0.5687649846076965, -0.32855260372161865, 0.14058701694011688, -0.06635706126689911, 0.23123160004615784, 0.3521089553833008, -0.9788058996200562, 0.2523781657218933, 0.4892927408218384, 0.6627733707427979, -0.2392115592956543, -0.4207649827003479, -0.751876950263977, 0.3582887649536133, -0.18618367612361908, 0.36176666617393494, -0.42788925766944885, -0.5038876533508301, -0.11504469811916351, -0.07718832045793533, 0.2716383934020996, -0.3507821559906006, 0.3527231514453888, -0.7267075777053833, -0.04948000609874725, -0.2576826512813568, -0.8419695496559143, -0.22883562743663788, 0.1982862651348114, -0.2702314853668213, 0.969538152217865, 0.40837860107421875, -0.4987025856971741, 0.07567006349563599, -0.5689274072647095, -0.4247216284275055, 0.38286158442497253, -0.26495692133903503, -0.3039216995239258, -0.01057154405862093, -0.2509313225746155, 0.5283374786376953, -0.34802159667015076, 0.14075127243995667, -0.1519429087638855, -0.302595853805542, -0.008829268626868725, -0.22654084861278534, 0.8422318696975708, 0.29343152046203613, -0.4498707950115204, 0.38386794924736023, -1.0602518320083618, 0.2464359551668167, 0.22842082381248474, -0.5731915831565857, -0.27903833985328674, 0.14273954927921295, -0.09459441900253296, -0.008089860901236534, 0.1712985783815384, -0.4190819263458252, 0.2637803554534912, -0.33244550228118896, 0.4476328194141388, 0.6898844242095947, -0.28142181038856506, 0.33182206749916077, -0.1432521641254425, 0.2335454821586609, -0.277214378118515, -0.03651600331068039, -0.3522585928440094, -0.36515089869499207, -0.6200128197669983, 0.2585844099521637, 0.046754367649555206, 0.3440327048301697, -0.5943505764007568, 0.5002734065055847, 0.26843708753585815, -0.5325432419776917, -0.2179342359304428, 0.17555424571037292, 0.20064574480056763, 0.7160347700119019, 0.6031597852706909, 0.22666646540164948, -0.5867540836334229, -0.45329880714416504, -0.18180714547634125, -0.24390168488025665, 0.04174195975065231, 0.07514525204896927, 0.4575626254081726, -0.34005051851272583, 0.7488807439804077, -0.5598155856132507, 0.19435106217861176, -0.1996413916349411, 0.1801730990409851, 0.21872755885124207, 0.4158422648906708, 0.4638076722621918, -0.8111684322357178, -0.4605582654476166, 0.43180012702941895, -1.1390942335128784, 0.13065771758556366, 0.2006368786096573, -0.47483551502227783, -0.2520684599876404, 0.44423648715019226, -0.40614062547683716, 0.09274724125862122, 0.5105644464492798, -0.34977632761001587, 0.6174744367599487, -0.23506972193717957, 0.2430071234703064, -0.9817756414413452, 0.17632772028446198, 0.28538817167282104, -0.5192002654075623, -0.652846097946167, 0.7502391934394836, 0.37024158239364624, 0.022079095244407654, -0.8550090789794922, 0.574708104133606, -0.6131414175033569, -0.05959630757570267, -0.5807225108146667, -0.22588597238063812, -0.1152602955698967, 0.22863826155662537, 0.23487427830696106, 0.5497838854789734, 0.6283780336380005, -0.793116569519043, 0.4555381238460541, 0.2945168614387512, -0.5056394934654236, 0.21353167295455933, -0.5303508043289185, 0.11476459354162216, 0.13859479129314423, 0.058398012071847916, -0.2834153473377228, -0.1973869502544403, -0.1237778291106224, -0.12040573358535767, 0.29657578468322754, 0.0299312025308609, -0.38770896196365356, -0.34649109840393066, -0.06535153836011887, 0.14979751408100128, 0.8772886395454407, -0.7686491012573242, 0.44934114813804626, 0.33293062448501587, 0.05283533036708832, -0.6401684284210205, -0.3594985604286194, -0.01380772702395916, -0.18516328930854797, -0.834120512008667, 0.689755916595459, -0.39644673466682434, -0.3595670461654663, -0.16709554195404053, -0.01910933293402195, 0.04883429408073425, 0.3573839068412781, -0.03006419911980629, 0.33127108216285706, -0.4960244596004486, -0.006563609000295401, 0.01702255941927433, -0.10404396057128906, 0.04057544842362404, -0.5281779766082764, 0.5872057676315308, -0.18839779496192932, -0.16731473803520203, -0.21338680386543274, 0.18249578773975372, 0.37362179160118103, 0.1909177154302597, 0.5730337500572205, 0.5144172310829163, -0.6463435292243958, -0.154748797416687, -0.17225053906440735, -0.13727635145187378, -0.5227751135826111, 0.4228353202342987, -0.47677427530288696, -0.7617216110229492, 0.291718989610672, -0.38308483362197876, 0.5974287390708923, 0.44482484459877014, 0.8519604206085205, -0.24784213304519653, 0.8734918832778931, 1.1091644763946533, -0.19169628620147705, 0.5224080681800842, -0.4267326891422272, 0.0686858594417572, -0.7261974811553955, -0.062099065631628036, -0.4393702745437622, -0.11079686880111694, 0.04297568276524544, -0.3682187497615814, 0.41886579990386963, 0.13631457090377808, -0.2852901816368103, 0.4120604693889618, -0.19624081254005432, 0.3964390456676483, 0.325277715921402, -0.10725677758455276, 0.4597739577293396, 0.0009268115391023457, 0.05831850692629814, 0.12807776033878326, -0.6562913060188293, -0.3707163333892822, 0.9604632258415222, 0.6318479776382446, 1.0814101696014404, 0.06294045597314835, 0.7095674276351929, 0.04706918075680733, 0.2975880205631256, -0.6804759502410889, 0.6197426319122314, -0.12475316971540451, -0.47197625041007996, -0.5160895586013794, -0.5689239501953125, -0.7186943292617798, 0.4523904621601105, -0.0899132639169693, -0.6706146001815796, -0.18038058280944824, 0.23309925198554993, -0.3848539888858795, 0.7142258882522583, -0.3887988328933716, 0.5698423385620117, -0.2486492097377777, -0.42553770542144775, -0.4120224118232727, -0.5100683569908142, 0.42211851477622986, 0.0012250507716089487, 0.06114377826452255, -0.3368794620037079, 0.30702662467956543, 0.7896789312362671, -0.5207356810569763, 0.52515709400177, -0.08980747312307358, -0.46502622961997986, 0.2561815083026886, -0.1146053746342659, 0.5877907872200012, 0.03614720329642296, -0.46230655908584595, 0.2101643979549408, -0.30020958185195923, -0.2512655258178711, -0.2134651392698288, 0.8849707841873169, -1.06082022190094, -0.7677122354507446, -0.1113247275352478, -0.801123321056366, -0.24826569855213165, 0.5554525852203369, 0.5455719232559204, 0.12588775157928467, -0.33680459856987, 0.365569531917572, 1.022666573524475, -0.17895209789276123, 0.3023010194301605, 0.5629307627677917, -0.360892653465271, 0.06540517508983612, 0.9120506644248962, 0.11300420016050339, 0.32966065406799316, 0.6015629172325134, 0.5978219509124756, 0.054134171456098557, -0.6632324457168579, -0.4583807587623596, 0.1029045358300209, -0.8672831654548645, -0.39841604232788086, -0.8062074780464172, -0.499490350484848, -0.7066994309425354, -0.48960354924201965, -0.21698716282844543, -0.17625552415847778, -0.3684333264827728, -0.1629304587841034, 0.4242197871208191, 0.4625188112258911, 0.15899743139743805, 0.4408823847770691, -0.8868432641029358, 0.5447818636894226, 0.22018902003765106, 0.18600575625896454, -0.097353495657444, -0.5511767268180847, -0.416694313287735, -0.1436813622713089, -0.34135082364082336, -0.7042389512062073, 0.24004000425338745, 0.18552516400814056, 0.751173198223114, 0.2750014066696167, 0.030367257073521614, 0.26930689811706543, -0.37394392490386963, 0.6153852939605713, 0.5090344548225403, -0.9758975505828857, 0.5596155524253845, -0.5446834564208984, 0.4703504741191864, 0.20637840032577515, 0.6330521702766418, -0.44300374388694763, -0.22381485998630524, -0.38157761096954346, -0.7093506455421448, 0.49503111839294434, -0.07703666388988495, 0.05580978840589523, 0.21835219860076904, 0.5021899342536926, 0.4685015380382538, 0.14583875238895416, -0.8981441855430603, -0.31553322076797485, -0.13719360530376434, -0.016151145100593567, 0.3861607313156128, -0.095308817923069, -0.20836414396762848, -0.21996505558490753, 1.1370824575424194, -0.6479374170303345, 0.08209887146949768, -0.3269014358520508, -0.3039948642253876, -0.5713558197021484, 0.27159151434898376, -0.03587254509329796, 0.7231125831604004, -0.28185054659843445, -0.12820853292942047, 0.19121994078159332, -0.32776376605033875, 0.3592819273471832, -0.036135897040367126, -0.2917924225330353, -0.24745050072669983, 0.06666368991136551, 0.8225172162055969, 0.31940168142318726, -0.5082116723060608, 0.19392520189285278, 0.2564384639263153, -0.5745379328727722, -0.07921236008405685, 0.3297353982925415, 0.20745037496089935, 0.27448028326034546, 0.3933168649673462, -0.16575689613819122, 0.13174521923065186, -0.9247713088989258, 0.07322947680950165, 0.22955910861492157, -0.0014043597038835287, -0.24243171513080597, 0.7737489342689514, 0.33165961503982544, 0.07212541252374649, 0.5186548233032227, -0.13180075585842133, -0.2760964334011078, 0.4244912564754486, 0.9463964104652405, 0.5607861876487732, -0.20872272551059723, 0.12149474024772644, 0.11961938440799713, 0.05776084586977959, -0.2618711292743683, 0.532167375087738, 0.12615332007408142, -0.7607647776603699, -0.3302978575229645, -0.5700545907020569, -0.6971955895423889, 0.2366030514240265, -0.5907918214797974, 0.6211751699447632, -0.7195651531219482, 0.05960574001073837, -0.02830595150589943, 0.10289858281612396, -0.47570452094078064, 0.2741539776325226, 0.2557283341884613, 1.2929167747497559, -0.582403302192688, 1.2901034355163574, 0.7389488816261292, 0.008898443542420864, -0.72147136926651, -0.17708030343055725, 0.08660395443439484, -0.8291028141975403, 0.7461410760879517, -0.15797024965286255, -0.13613781332969666, 0.1637600213289261, -0.5579106211662292, -1.19694983959198, 1.2926743030548096, 0.3864372670650482, -0.925304651260376, -0.4004324972629547, -0.3703526258468628, 0.21106049418449402, -0.12821412086486816, 0.07042457163333893, 0.6262582540512085, 0.35907718539237976, 0.19157564640045166, -0.6073678135871887, -0.07071198523044586, -0.08310584723949432, -0.31127607822418213, 0.3888743221759796, -1.1302553415298462, 1.1378737688064575, -0.354626327753067, -0.12027950584888458, 0.28815510869026184, 1.232935905456543, 0.4356038272380829, 0.31719139218330383, 0.3912748396396637, 0.34413275122642517, 0.965587317943573, 0.06887827813625336, 0.7423388361930847, -0.34086260199546814, 0.509863018989563, 0.7096483111381531, -0.9599655866622925, 0.8180322051048279, 0.21325808763504028, -0.19492454826831818, 0.5671254396438599, 0.20065173506736755, -0.01326074916869402, 0.3831222653388977, 0.284616082906723, -0.23436538875102997, -0.2539205849170685, 0.24667133390903473, -0.526066780090332, 0.22572433948516846, 0.584148108959198, -0.011189842596650124, -0.24076513946056366, 0.177135169506073, 0.09017393738031387, -0.008285533636808395, -0.4080640971660614, 0.3070051670074463, 0.4642259180545807, -0.19219069182872772, 0.5238943099975586, 0.3505973219871521, 0.8286557197570801, -1.007044792175293, 0.06172969937324524, 0.03730347752571106, 0.14782598614692688, -0.47849202156066895, -0.690538763999939, 0.10304949432611465, 0.108866848051548, -0.24425290524959564, -0.2536494731903076, 0.9738045930862427, -0.23758572340011597, -0.3256000876426697, 0.3125903308391571, 0.4108172357082367, -0.005217198748141527, 0.326470285654068, -0.5233719944953918, 0.15592941641807556, -0.13116373121738434, -0.3950062096118927, 0.5808373689651489, 0.11225888878107071, -0.2358318567276001, 0.6919946074485779, 0.5183311700820923, -0.009982757270336151, -0.10993214696645737, 0.1436752825975418, 0.7936106324195862, -0.850632905960083, -0.7049563527107239, -0.5003646612167358, 0.29754671454429626, 0.026716215535998344, -0.1584233194589615, 0.8206661343574524, 0.3831152617931366, 0.6510539650917053, 0.2572349011898041, 1.2222107648849487, -0.029141314327716827, 0.48177197575569153, -0.7833734154701233, 0.727250337600708, -0.45215028524398804, 0.2134527564048767, -0.1998797208070755, -0.8902810215950012, -0.14937350153923035, 0.6312206983566284, 0.0893908143043518, -0.07095365971326828, 0.7707335352897644, 0.18076279759407043, -0.06399955600500107, -0.02110723778605461, 0.760851263999939, 0.3884717524051666, 0.7930696606636047, 0.660876989364624, 0.7703478932380676, -0.5785060524940491, 0.26619186997413635, -0.12076595425605774, -0.43325185775756836, -0.561882495880127, -0.9987051486968994, -0.6907131671905518, -0.20361705124378204, -0.6003426313400269, -0.20208331942558289, -0.0023849850986152887, 1.0328361988067627, 0.9679215550422668, -0.49325883388519287, -0.4826575815677643, 0.11384979635477066, -0.15148423612117767, -0.3506024181842804, -0.1931176632642746, 0.1797516644001007, -0.14728178083896637, -0.5277875661849976, 1.0384851694107056, 0.4361391067504883, 0.07896295189857483, -0.46887022256851196, -0.3796156942844391, -0.15612833201885223, 0.05134938284754753, 0.8271291255950928, 0.49114370346069336, -0.3783101737499237, -0.27328965067863464, 0.3507276773452759, -0.15603190660476685, 0.1612214595079422, 1.0010261535644531, -0.8881771564483643, -0.03578118607401848, 0.5661930441856384, 0.8096049427986145, 0.4510500431060791, -0.4593135118484497, 0.792889416217804, -0.5463663339614868, -0.04132131487131119, 0.0264055784791708, 0.811275064945221, 0.2988692820072174, -0.7137793302536011, 0.4365800619125366, 0.3411828577518463, -0.5511577129364014, -0.7238383889198303, 0.2214204967021942, -0.86359703540802, -0.40761619806289673, 1.1840630769729614, -0.3426460325717926, -0.21093785762786865, 0.14545853435993195, 0.05904227867722511, 0.1953483372926712, -0.11146162450313568, 0.6417603492736816, 0.46307507157325745, -0.1809651106595993, -0.010329103097319603, -0.27348414063453674, 0.14301525056362152, 0.4917760193347931, -1.0566298961639404, 0.14381958544254303, 0.12863357365131378, 0.3782320022583008, 0.04264729470014572, 0.7302657961845398, -0.08613318204879761, 0.4630518853664398, 0.017360592260956764, 0.16890504956245422, 0.04726233705878258, -0.46846815943717957, -0.2216717004776001, 0.26107603311538696, 0.20734506845474243, 0.20962205529212952 ]
http://arxiv.org/abs/2404.08681v1
http://arxiv.org/pdf/2404.08681v1
EFSA: Towards Event-Level Financial Sentiment Analysis
2024-04-08T07:36:26
2024-04-08T07:36:26
Tianyu Chen, Yiming Zhang, Guoxin Yu, Dapeng Zhang, Li Zeng, Qing He, Xiang Ao
cs.CL
cs.CL
In this paper, we extend financial sentiment analysis~(FSA) to event-level since events usually serve as the subject of the sentiment in financial text. Though extracting events from the financial text may be conducive to accurate sentiment predictions, it has specialized challenges due to the lengthy and discontinuity of events in a financial text. To this end, we reconceptualize the event extraction as a classification task by designing a categorization comprising coarse-grained and fine-grained event categories. Under this setting, we formulate the \textbf{E}vent-Level \textbf{F}inancial \textbf{S}entiment \textbf{A}nalysis~(\textbf{EFSA} for short) task that outputs quintuples consisting of (company, industry, coarse-grained event, fine-grained event, sentiment) from financial text. A large-scale Chinese dataset containing $12,160$ news articles and $13,725$ quintuples is publicized as a brand new testbed for our task. A four-hop Chain-of-Thought LLM-based approach is devised for this task. Systematically investigations are conducted on our dataset, and the empirical results demonstrate the benchmarking scores of existing methods and our proposed method can reach the current state-of-the-art. Our dataset and framework implementation are available at https://anonymous.4open.science/r/EFSA-645E
[ -0.023182455450296402, -0.7911425232887268, 0.12044024467468262, 0.5709061622619629, -0.28134414553642273, 0.3218050003051758, 0.24825558066368103, -0.6539204716682434, 0.5096849203109741, 0.04523376747965813, -0.3932763934135437, -0.5617464184761047, -0.4555020034313202, -0.04846931993961334, -0.4531600773334503, 1.2967257499694824, -0.027114663273096085, -0.20812596380710602, 0.050104763358831406, 0.1832726001739502, 0.2858974039554596, -0.41931721568107605, -1.1531436443328857, 0.01695369742810726, 0.5445118546485901, 0.20513363182544708, 0.22808468341827393, 0.033383406698703766, 0.6977340579032898, 0.2328045815229416, -0.26694363355636597, 0.01306989323347807, -0.45783719420433044, -0.12099101394414902, 0.04987216740846634, -0.2834005653858185, -0.9060927629470825, 0.24925710260868073, 0.4224150776863098, 0.3857814371585846, -0.37217727303504944, 0.3031819760799408, 0.19915875792503357, 0.7821553349494934, -0.5812158584594727, 0.6544879078865051, -0.22750772535800934, 0.33046478033065796, -0.3224168121814728, -0.32533204555511475, -0.36921635270118713, -0.19704686105251312, 0.4291869103908539, -0.6586379408836365, -0.07586676627397537, 0.23394256830215454, 1.1992628574371338, -0.06116688996553421, -0.38701513409614563, -0.40697532892227173, -0.5790440440177917, 0.7969662547111511, -0.5165998339653015, 0.26493027806282043, 0.1088702529668808, 0.18261905014514923, -0.00910844188183546, -0.7396357655525208, -0.3396187722682953, 0.15685825049877167, 0.2104509472846985, 0.29929229617118835, -0.4004732370376587, 0.08210545033216476, 0.12130709737539291, 0.7673008441925049, -0.0883205235004425, -0.11955339461565018, -0.15984685719013214, -0.07136283069849014, 0.6481814980506897, 0.1429249346256256, 0.020678596571087837, -0.3113795518875122, -0.6508753299713135, -0.22408843040466309, -0.6517184376716614, 0.6467289924621582, 0.34541574120521545, 0.31061580777168274, -0.26582473516464233, 0.14173875749111176, -0.6075113415718079, 0.10875635594129562, 0.36163556575775146, -0.33343443274497986, 0.554000973701477, -0.5294026136398315, -0.46398547291755676, 0.020889978855848312, 0.5674870014190674, 0.43424150347709656, 0.175643652677536, 0.022414017468690872, -0.5278229713439941, -0.4073062837123871, -0.10223720222711563, -0.8241087198257446, -0.2091638594865799, 0.3098785877227783, -0.7926130294799805, -0.6800559163093567, 0.3369046151638031, -1.2568451166152954, -0.3468339443206787, -0.0712968185544014, 0.4853323996067047, 0.0686057060956955, -0.37571531534194946, 0.045042432844638824, -0.15455973148345947, 0.733834445476532, 0.1310979425907135, -0.6499499678611755, 0.25430554151535034, 0.8203256130218506, 0.7155385613441467, 0.21648502349853516, 0.03182189166545868, -0.8403075337409973, 0.14156097173690796, -0.24662061035633087, 0.9379178881645203, -0.516851544380188, -0.34546422958374023, 0.1537257432937622, -0.1994204819202423, 0.09990500658750534, -0.31224045157432556, 0.4890798032283783, -0.473572701215744, 0.0339176282286644, -0.46471264958381653, -0.2834186553955078, -0.3118106722831726, 0.2620704174041748, -0.5346983671188354, 0.9538328051567078, 0.07926478981971741, -0.7337817549705505, 0.7214611768722534, -0.7770203351974487, -0.5954560041427612, -0.26497647166252136, -0.15313275158405304, -0.3548097014427185, -0.016935192048549652, 0.48233887553215027, 0.6620453596115112, -0.4763151705265045, 0.24311743676662445, -0.6746203303337097, -0.09929938614368439, 0.4318782389163971, -0.3318387269973755, 0.38651397824287415, 0.22722017765045166, -0.3491605222225189, 0.019044293090701103, -0.9131577014923096, -0.4180276095867157, 0.09483753889799118, -0.05461924523115158, -0.574146032333374, 0.3816603422164917, 0.16879582405090332, 0.24186882376670837, 0.5615578889846802, -0.782163679599762, -0.05220247060060501, -0.8491351008415222, 0.3148280382156372, 0.9675686359405518, 0.2745780050754547, 0.4338182210922241, -0.056866176426410675, 0.5343325734138489, 0.33535608649253845, 0.4204515516757965, -0.19399218261241913, -0.2850662171840668, -0.6717285513877869, -0.1741374135017395, 0.16294637322425842, 0.48243388533592224, -0.40798693895339966, 0.09730520844459534, -0.0322541669011116, -0.1523749679327011, -0.23652489483356476, -0.025704102590680122, 0.13789448142051697, 0.27779266238212585, 0.13241921365261078, 0.18861672282218933, -0.5397123098373413, -0.808465838432312, -0.3909129500389099, -0.40099039673805237, 0.037803854793310165, -0.1399531066417694, 0.16261956095695496, 0.20144101977348328, 0.777780294418335, -0.7833335995674133, -0.6121195554733276, 0.04130055755376816, 0.34654539823532104, 0.4380652606487274, 0.22958412766456604, 0.7857688069343567, -0.7546345591545105, -0.1695014238357544, 0.4072769284248352, -0.4900629222393036, 0.0394323393702507, -0.42479267716407776, -0.09112486988306046, 0.2949279248714447, 0.49769917130470276, -0.18324771523475647, 0.4648113548755646, 0.2350374162197113, -0.6066387891769409, -0.02610115148127079, 0.32553327083587646, 0.0031428008805960417, -1.2994884252548218, -0.03577949106693268, 0.51111900806427, 0.16806559264659882, -0.5311908721923828, -0.04811543598771095, -0.2398136705160141, 0.2273682802915573, -0.03045971505343914, 0.4286975860595703, -0.13132353127002716, -0.24893219769001007, -0.23685352504253387, 0.19002197682857513, 0.04273246228694916, 0.49818360805511475, -0.24463988840579987, 0.329208642244339, 0.48058125376701355, -0.19181793928146362, 0.20800621807575226, -0.021138712763786316, -0.020349951460957527, 0.6071641445159912, -0.5195440649986267, -0.10408902168273926, 0.08225907385349274, 0.1935310959815979, -1.2602444887161255, 0.09536377340555191, 0.42344430088996887, -0.4322538375854492, 0.25880417227745056, 0.41654276847839355, -0.21077513694763184, -0.2066776156425476, -0.5952713489532471, 0.047986797988414764, 0.09551206231117249, -0.5346410274505615, 1.0999228954315186, 0.4761641323566437, -0.5236660838127136, -0.8164920806884766, -0.4861328899860382, 0.00153162085916847, -0.32928749918937683, -0.49070385098457336, 0.23437491059303284, 0.1900782734155655, -0.4470568895339966, -0.04679957032203674, -0.383928120136261, -0.015299875289201736, 0.18100495636463165, 0.21835856139659882, 0.6242929100990295, -0.24992641806602478, -0.09188651293516159, 0.31580647826194763, -0.25807562470436096, 0.3452622890472412, -0.16826596856117249, 0.011508076451718807, -0.4521033763885498, 0.09665456414222717, -0.5302208065986633, 0.2304205596446991, 0.30850523710250854, -0.21777266263961792, 0.5096967816352844, 0.46503183245658875, -0.7348908185958862, -0.23191560804843903, -0.3724197745323181, 0.3307541012763977, -0.520829975605011, 0.34754079580307007, -0.4651505649089813, -0.9472551345825195, 0.9345231056213379, 0.1477959007024765, 0.4709084630012512, 0.9134135246276855, 0.40845927596092224, -0.11307451874017715, 0.9555713534355164, 0.6597020626068115, -0.3352893888950348, 0.4948152005672455, -0.18929354846477509, 0.4873436689376831, -0.4425032436847687, -0.3928675353527069, -0.6202813982963562, -0.3758170008659363, -0.4386700391769409, 0.036545079201459885, 0.07781530171632767, 0.059619441628456116, -0.1386154294013977, -0.08292247354984283, 0.008964646607637405, 0.37346819043159485, 0.06049453839659691, -0.1317417025566101, 0.16095823049545288, -0.13285453617572784, 0.05448604002594948, 0.2964825928211212, -0.3398253917694092, -0.2343670278787613, 0.9110226035118103, 0.828310489654541, 0.4906536936759949, -0.11180426925420761, 1.0217269659042358, 0.30067670345306396, 0.6317756175994873, -0.9804254770278931, 0.3561818301677704, -0.4120156764984131, -0.17044278979301453, -0.30116188526153564, -0.5509710311889648, -0.38284894824028015, -0.047757312655448914, -0.039636220782995224, -0.49670201539993286, 0.7586648464202881, -0.2804616391658783, -0.8892596364021301, 0.03242718428373337, -0.4085266590118408, 0.6179043054580688, 0.30796903371810913, 0.03512656316161156, -0.10799683630466461, -0.12430717051029205, 0.5310731530189514, -0.4164430499076843, 0.5908957123756409, -0.12078607082366943, -0.1737828552722931, 0.9873283505439758, -0.14905743300914764, 1.0082041025161743, -0.40268027782440186, -0.60372394323349, 0.3755117952823639, -0.2922418415546417, 0.5999397039413452, 0.2567935883998871, 0.006303997710347176, -0.030082372948527336, 0.3977607488632202, -0.32376062870025635, -0.4824243485927582, 0.7510004043579102, -0.7357954978942871, -0.33223044872283936, -0.5847781300544739, -0.3222510814666748, -0.2615453600883484, -0.27943262457847595, -0.2759660482406616, 0.5273921489715576, -0.23230868577957153, 0.15221455693244934, 0.10199569165706635, -0.03971599042415619, 0.7781527638435364, 0.4558050334453583, -0.42831841111183167, -0.6730405688285828, 1.1296758651733398, 0.19786454737186432, -0.21260109543800354, 0.4427298903465271, 0.26719680428504944, -0.3805027902126312, -0.5646076202392578, -0.0034507736563682556, -0.09621808677911758, -0.7921127080917358, -0.45814090967178345, -0.4406551420688629, -0.14298680424690247, -0.4469051659107208, -0.2537612020969391, -0.19226497411727905, -0.40293195843696594, -0.5996867418289185, -0.5524557828903198, 0.32961714267730713, 0.724956750869751, -0.1435835212469101, 0.18275758624076843, -1.0911327600479126, 0.2771278917789459, 0.20041432976722717, 0.24050135910511017, 0.33117416501045227, -0.40461084246635437, -0.4042357802391052, -0.19823145866394043, -0.3519767224788666, -0.747650146484375, 0.4168072044849396, 0.40656226873397827, 0.4835735261440277, 1.298677682876587, 0.1971040666103363, 0.8054470419883728, 0.11855896562337875, 0.8200144171714783, 0.3519878387451172, -1.0661534070968628, 0.498222678899765, -0.3287249803543091, -0.24849697947502136, 0.3886365294456482, 0.18657620251178741, -0.47105520963668823, -0.6336594223976135, -0.644251823425293, -0.9624561071395874, 0.7995438575744629, 0.07802645862102509, 0.04184042662382126, -0.4164062440395355, 0.633587121963501, -0.022918451577425003, 0.13770967721939087, -0.6532920598983765, -0.008856192231178284, -0.14557531476020813, -0.3542161285877228, 0.11485286056995392, -0.3297019898891449, 0.11497993767261505, -0.1542518138885498, 0.7002122402191162, -0.22384566068649292, -0.05435645207762718, 0.18994957208633423, 0.3825896382331848, -0.3826107680797577, 0.0038771096151322126, 0.23992840945720673, 0.6046447157859802, -0.35313671827316284, -0.17612671852111816, 0.1909417361021042, -0.43186071515083313, -0.008777080103754997, 0.3460279405117035, -0.028479458764195442, -0.3251132667064667, 0.3468513488769531, 0.35011497139930725, 0.6690492630004883, -0.6203399300575256, 0.6007546186447144, -0.15722882747650146, -0.33289679884910583, -0.3648090958595276, -0.23389460146427155, -0.08668331056833267, 0.7453494668006897, 0.9213958382606506, -0.13563090562820435, 0.41580697894096375, -0.5658891797065735, 0.4607914686203003, 0.19356165826320648, -0.38105273246765137, -0.6111196279525757, 0.4105023145675659, 0.636012077331543, 0.3777475655078888, 0.29292410612106323, -0.26722094416618347, -0.43466895818710327, 0.8134439587593079, 0.218370258808136, 1.4692925214767456, -0.12704454362392426, 0.3523544669151306, 0.3309726417064667, 0.32075709104537964, 0.008243970572948456, 0.7580164074897766, 0.12101607769727707, -0.8002524375915527, -0.7216281890869141, -1.2487573623657227, -0.2112530618906021, -0.0654534175992012, -0.916448175907135, 0.09716647863388062, -0.748292088508606, -0.14310650527477264, 0.3100058138370514, 0.20549705624580383, -0.26784849166870117, 0.219004824757576, 0.3924042284488678, 0.9765964150428772, -0.7849031686782837, 0.5367830395698547, 0.6660848259925842, -0.5151791572570801, -0.6192253828048706, 0.11881857365369797, 0.05709464102983475, -0.39868801832199097, 0.7693607807159424, 0.18876101076602936, -0.04570579156279564, -0.1782243847846985, -0.36430808901786804, -0.8492686748504639, 1.0823655128479004, -0.30877065658569336, -0.5375914573669434, -0.26106634736061096, 0.09885997325181961, 0.3777892589569092, -0.7799591422080994, -0.2433483749628067, 0.7078033685684204, 0.519692063331604, 0.32360512018203735, -0.6037970781326294, 0.031570930033922195, -0.4694463908672333, -0.25283920764923096, 0.42145001888275146, -0.9646070599555969, 0.76645827293396, -0.05630071088671684, -0.23538070917129517, -0.04546996206045151, 1.3249653577804565, 0.0443534292280674, 0.9563750624656677, 0.6187589764595032, 0.3517138957977295, 0.8266324400901794, -0.2624865770339966, 0.7500300407409668, -0.29957079887390137, 0.5804946422576904, 0.6208142638206482, -0.38924241065979004, 1.1530354022979736, 0.5056540369987488, -0.473713755607605, 0.35542505979537964, 0.9068037867546082, 0.15750795602798462, 0.36512354016304016, 0.0797501727938652, -0.11940278857946396, -0.27679070830345154, -0.04441174864768982, -0.0781361386179924, 0.6058869957923889, 0.4713216722011566, -0.3581330180168152, -0.19694596529006958, 0.05980796739459038, -0.12773749232292175, -0.21521596610546112, -0.6570717692375183, 0.8311691284179688, 0.49545013904571533, -0.03252561017870903, -0.23899322748184204, 0.11812641471624374, 0.7150824069976807, -0.44628196954727173, 0.13292443752288818, -0.15926386415958405, 0.10413063317537308, -0.15265792608261108, -0.650883138179779, 0.5061571002006531, 0.051680345088243484, -0.16369414329528809, -0.15091051161289215, 0.7610910534858704, -0.05377303063869476, -0.5480620861053467, 0.395350843667984, 0.3672877848148346, -0.19998155534267426, -0.08930475264787674, -0.4876946806907654, -0.33185333013534546, 0.06826659291982651, -0.6616762280464172, 0.5300561785697937, 0.7454802989959717, 0.1246279925107956, 0.1867004781961441, 0.9212507009506226, -0.2329990267753601, -0.32688456773757935, 0.11144517362117767, 0.9201927781105042, -1.0722908973693848, -0.8611391186714172, -0.6769993305206299, 0.12101241946220398, 0.04773066192865372, -0.6046187877655029, 0.38035833835601807, 0.46568283438682556, 0.6353116035461426, 0.19929787516593933, 0.4337572753429413, 0.10575044900178909, 0.23303115367889404, -0.6148672699928284, 0.6409754157066345, -0.5769950151443481, 0.25500333309173584, -0.562615156173706, -0.7837111949920654, -0.1831638664007187, 0.4553806185722351, -0.2975766658782959, -0.2205875962972641, 0.598388135433197, 0.4340585172176361, 0.28624799847602844, 0.7725129723548889, 0.0940459743142128, 0.2176642119884491, 0.3050679564476013, 0.46554556488990784, 0.9658337831497192, -0.45745477080345154, 0.4809635877609253, -0.3206365406513214, -0.3913581967353821, -0.18037523329257965, -0.981385350227356, -0.6313738822937012, -0.47735920548439026, -0.44553592801094055, -0.14210140705108643, -0.3942776024341583, 0.9642919898033142, -0.12018783390522003, -0.9390448331832886, -0.2401963472366333, 0.35267895460128784, -0.11967365443706512, -0.3772817552089691, -0.3440621495246887, 0.5229781866073608, -0.5883817076683044, -0.778145968914032, 0.1672925055027008, 0.5801823139190674, -0.0040104081854224205, -0.2412438690662384, 0.21135598421096802, -0.05026339739561081, 0.46174076199531555, 0.9461968541145325, 0.047929659485816956, -0.5351358652114868, -0.46235862374305725, 0.1680985987186432, 0.1081056296825409, -0.20282940566539764, 0.5600205063819885, -0.298129677772522, 0.014552113600075245, 0.5945559144020081, 0.7073121666908264, 0.1901589035987854, -0.07535787671804428, 0.46132856607437134, -0.631560206413269, -0.06351033598184586, -0.13214744627475739, 0.48552483320236206, -0.3320130705833435, -0.5953388214111328, 0.2676287889480591, 0.1730414479970932, -0.18212029337882996, -0.7798139452934265, -0.4720121920108795, -1.225480318069458, -0.05896221473813057, 1.0057576894760132, -0.3755914270877838, -0.571444034576416, 0.12462160736322403, 0.05368458852171898, 0.10764130204916, -0.7116078734397888, 0.7758615016937256, 0.9450935125350952, -0.03196002542972565, -0.003481972496956587, -0.3220519423484802, 0.5243383646011353, 0.14479447901248932, -0.8092735409736633, 0.28544852137565613, 0.36281251907348633, -0.0898987278342247, 0.3021670877933502, 0.6695998311042786, -0.22147217392921448, 0.4740392863750458, -0.03736652061343193, -0.16493859887123108, 0.053929947316646576, -0.5163043737411499, -0.37621450424194336, 0.690933108329773, -0.16337385773658752, -0.28335320949554443 ]
http://arxiv.org/abs/2404.05250v1
http://arxiv.org/pdf/2404.05250v1
Interpreting Themes from Educational Stories
2024-04-08T07:26:27
2024-04-08T07:26:27
Yigeng Zhang, Fabio A. González, Thamar Solorio
cs.CL
cs.CL
Reading comprehension continues to be a crucial research focus in the NLP community. Recent advances in Machine Reading Comprehension (MRC) have mostly centered on literal comprehension, referring to the surface-level understanding of content. In this work, we focus on the next level - interpretive comprehension, with a particular emphasis on inferring the themes of a narrative text. We introduce the first dataset specifically designed for interpretive comprehension of educational narratives, providing corresponding well-edited theme texts. The dataset spans a variety of genres and cultural origins and includes human-annotated theme keywords with varying levels of granularity. We further formulate NLP tasks under different abstractions of interpretive comprehension toward the main idea of a story. After conducting extensive experiments with state-of-the-art methods, we found the task to be both challenging and significant for NLP research. The dataset and source code have been made publicly available to the research community at https://github.com/RiTUAL-UH/EduStory.
[ -0.30876970291137695, -0.560928463935852, 0.5218186974525452, -0.000003043919377887505, -0.5715824365615845, 0.36816978454589844, -0.06989773362874985, -0.3480958640575409, 0.26084187626838684, 0.6564949154853821, -1.0268956422805786, -0.6549488306045532, -0.5320112705230713, 0.3542592227458954, -0.4833996891975403, 1.1354738473892212, -0.2626616656780243, -0.41645127534866333, -0.7405481338500977, -0.040984369814395905, -0.6132129430770874, -0.19085679948329926, -0.5264661312103271, -0.46486926078796387, 0.7484935522079468, 0.5892935395240784, 0.24567410349845886, 0.9968820214271545, 0.5035539865493774, -0.006036374252289534, -0.24869652092456818, 0.09505044668912888, -0.5327325463294983, 0.3261162340641022, -0.30554768443107605, -0.5023735165596008, 0.024755695834755898, 0.09503750503063202, 0.36472105979919434, 0.7859563827514648, -0.09655946493148804, 0.3487815260887146, 0.49697914719581604, 0.899607241153717, -0.5099020600318909, 0.4184439182281494, -0.535216748714447, 0.4141835570335388, -0.0857623815536499, -0.5956248641014099, -0.5480020046234131, -0.10681027173995972, 0.39605075120925903, -0.9155687093734741, 0.3966311514377594, 0.12295085191726685, 0.695366621017456, 0.4078229069709778, -0.36284181475639343, -0.832278311252594, -0.31575116515159607, 0.736236035823822, -0.10058129578828812, 0.1766061782836914, 0.9332945942878723, 0.04509222134947777, 0.42877158522605896, -0.9353829026222229, -0.37020981311798096, 0.05659172683954239, -0.17740751802921295, 0.5520395636558533, -0.04223356023430824, -0.24404917657375336, 0.08484087139368057, 0.31911155581474304, -0.8130559921264648, -0.287898451089859, -0.5960301160812378, 0.18651962280273438, 0.33806008100509644, 0.4486595094203949, 0.2627770006656647, -0.5328339338302612, -0.40600502490997314, -0.038147762417793274, -0.36311018466949463, 0.29691141843795776, 0.23580068349838257, 0.29598966240882874, -0.1358761042356491, 0.6452232003211975, -0.073904849588871, 0.7574225068092346, -0.32915034890174866, -0.21021968126296997, -0.00807054154574871, -0.38027340173721313, -0.014163084328174591, 0.34005922079086304, 0.09241335839033127, 0.6080136299133301, 0.6476173996925354, -0.0690283551812172, -0.11698057502508163, 0.036905545741319656, 0.5911222100257874, -0.4801613390445709, -0.31940147280693054, 0.17277228832244873, -0.496625691652298, -0.5233407616615295, -0.07380002737045288, -0.9086138606071472, -0.49545517563819885, -0.7674157619476318, 0.13019761443138123, -0.5651909112930298, 0.07180789113044739, 0.3881931006908417, -0.33860552310943604, 0.12275608628988266, 0.014697904698550701, -1.0651503801345825, 0.005615281406790018, 0.9599826335906982, 0.7962960004806519, -0.021272942423820496, -0.2479686141014099, -0.008716775104403496, 0.14661827683448792, -0.2950935661792755, 0.7737745642662048, -0.8242208361625671, -0.18747620284557343, 0.16510121524333954, -0.20993393659591675, -0.3687170147895813, -0.21449576318264008, 0.9220311641693115, -0.5069886445999146, 0.3364640474319458, -0.024264322593808174, -0.5946977734565735, -0.30291748046875, 0.32584893703460693, -0.5113116502761841, 0.6750770211219788, 0.037286415696144104, -0.9756009578704834, 0.18547052145004272, -0.616763174533844, -0.5159288644790649, -0.2021293044090271, 0.054760292172431946, 0.09789638966321945, 0.22471442818641663, 0.7146570682525635, 0.000012840854651585687, -0.21707555651664734, 0.33531156182289124, 0.20230431854724884, -0.31322503089904785, -0.03280132636427879, -0.4944986402988434, 0.9330851435661316, 0.4830194413661957, 0.02751477248966694, -0.26618051528930664, -0.7342261075973511, -0.13118323683738708, 0.2977343201637268, 0.15583421289920807, -0.528184175491333, 0.23228004574775696, -0.021052982658147812, 0.01913728378713131, 0.14154204726219177, -0.1260744035243988, -0.045192766934633255, -0.22275792062282562, 0.30780407786369324, 0.5684689879417419, 0.11028026044368744, 0.3625246584415436, -0.3497399091720581, 0.9561432003974915, -0.30255427956581116, -0.12100106477737427, -0.8983802795410156, -0.5111231207847595, -0.25715336203575134, -0.17986594140529633, 0.2322762906551361, 0.5284977555274963, -1.0469160079956055, 0.2717891335487366, -0.2313232570886612, -0.19196298718452454, -0.6377608180046082, -0.13919399678707123, 0.17565961182117462, 0.7151813507080078, 0.4568709135055542, 0.17026227712631226, -0.3850069046020508, -0.6194141507148743, -0.5918110609054565, -0.406136155128479, -0.4529332220554352, 0.29867732524871826, 0.38287538290023804, 0.09725884348154068, 1.1181031465530396, -0.8209426999092102, -0.30607905983924866, -0.3662424683570862, 0.14748065173625946, 0.27288317680358887, 0.4734722673892975, 0.509053111076355, -0.6283908486366272, -0.41227489709854126, -0.1096845418214798, -1.0195485353469849, -0.2357965111732483, -0.3840290307998657, -0.31712251901626587, -0.4398191273212433, 0.3511488735675812, -0.28168246150016785, 0.1759694218635559, 0.3968658149242401, -0.8606897592544556, 0.5230376124382019, 0.11584693938493729, 0.03950922191143036, -0.9331684708595276, -0.10959401726722717, 0.13414837419986725, -0.01824451982975006, -0.3869186341762543, 0.35374751687049866, 0.0031161298975348473, -0.18139250576496124, 0.02111455798149109, 0.4347284138202667, -0.015262017957866192, 0.16746017336845398, -0.16834236681461334, 0.5679896473884583, 0.6564632654190063, 0.23668983578681946, 0.28043949604034424, 0.5724930167198181, 0.5219350457191467, -0.17084646224975586, 0.2899692952632904, 0.5697030425071716, -0.3909553587436676, 0.98578941822052, -0.6222715377807617, 0.21595889329910278, -0.5068759322166443, 0.5664303302764893, -0.6216602921485901, -0.24476654827594757, 0.4784725308418274, -0.5779702067375183, 0.13804180920124054, -0.24700471758842468, -0.5756228566169739, -0.3323323130607605, -0.10359752923250198, 0.05731874704360962, 0.2832234799861908, -0.9598010778427124, 0.37070295214653015, 0.13300494849681854, -0.2993939518928528, -0.7240622043609619, -0.5209054946899414, 0.23774948716163635, -0.583956241607666, -0.4129389226436615, 0.027012361213564873, 0.03776073083281517, -0.3606789708137512, -0.05411503091454506, -0.5595994591712952, -0.38076141476631165, 0.08601178228855133, -0.03566351160407066, 0.29448220133781433, -0.4945124387741089, 0.17630907893180847, 0.49337688088417053, -0.3221648335456848, 0.4948429465293884, -0.449345201253891, 0.2436516433954239, 0.13372300565242767, -0.06135006621479988, -0.2724148631095886, 0.2721506357192993, 0.3881432116031647, -0.33258378505706787, 0.922256588935852, 0.507860004901886, -0.4017951190471649, -0.3098299503326416, 0.24094992876052856, -0.518835723400116, -0.40963509678840637, 0.16558882594108582, -0.6227450370788574, -0.4997560679912567, 0.3298104703426361, 0.293256551027298, 0.4302866458892822, 0.4344481825828552, -0.09416260570287704, -0.7106489539146423, 0.598726749420166, 0.1895550936460495, 0.1753053069114685, 0.33669012784957886, -0.13888141512870789, -0.10667761415243149, -0.7304639220237732, -0.3015735149383545, -0.6088179349899292, -0.5229661464691162, -0.15778614580631256, -0.20251008868217468, -0.07622750103473663, 0.2017064243555069, -0.03823370859026909, 0.20849065482616425, -0.4027167558670044, 0.7824736833572388, 0.3571450114250183, 0.10838724672794342, 0.6987225413322449, 0.3286547064781189, 0.1003374308347702, -0.38376662135124207, -0.4295600950717926, -0.8380091190338135, 1.0794591903686523, 0.5829460024833679, 0.505750834941864, -0.14073318243026733, 0.616969645023346, 0.28992462158203125, 0.21550603210926056, -0.6431292295455933, 0.32006630301475525, -0.2496732622385025, -0.8798434734344482, -0.22527433931827545, -0.35091453790664673, -1.1572271585464478, 0.5095520615577698, -0.08260893076658249, -0.6640874147415161, 0.057101935148239136, -0.19349607825279236, -0.1467915028333664, 0.21390505135059357, -0.3909395933151245, 0.9095541834831238, 0.11793651431798935, 0.08795095980167389, -0.2780175507068634, -0.868256688117981, 0.24160853028297424, -0.399769127368927, 0.2680654227733612, -0.09944149851799011, -0.08188062906265259, 0.8780489563941956, 0.1729864925146103, 0.6126779913902283, 0.06812252849340439, -0.18236571550369263, 0.4582981765270233, -0.09830386936664581, 0.23365968465805054, 0.35336288809776306, -0.2683804929256439, -0.10766575485467911, 0.1868036389350891, -0.584685742855072, -0.5191637277603149, 0.4322313964366913, -0.5641030073165894, -0.44907209277153015, -0.3727280795574188, -0.8269034028053284, -0.2216373234987259, -0.03277624770998955, -0.08303109556436539, 0.692427933216095, 0.14389824867248535, 0.6089242696762085, 0.7058075666427612, -0.180626779794693, 0.16741707921028137, 0.47290292382240295, -0.44351670145988464, -0.04573966562747955, 0.9486709237098694, -0.14355672895908356, 0.12565568089485168, 0.4293639659881592, 0.2867566645145416, -0.4716479182243347, -0.6810933947563171, -0.7247686982154846, 0.01231386885046959, -0.8448855876922607, 0.09455375373363495, -0.6509184837341309, -0.20724211633205414, -0.019622057676315308, -0.45641782879829407, -0.054498542100191116, -0.32358577847480774, -0.7636439204216003, -0.5026077628135681, 0.25560519099235535, 0.6202045679092407, 0.03796609863638878, 0.3414974510669708, -0.7366425395011902, 0.6443687677383423, 0.033620208501815796, 0.1405935287475586, -0.2835594713687897, -1.0609577894210815, -0.3673507869243622, 0.00036305052344687283, -0.25929439067840576, -0.619327187538147, 0.279689222574234, 0.28634804487228394, 0.28907161951065063, 0.6132432818412781, 0.5018911957740784, 0.49398887157440186, -0.32895132899284363, 0.6614779233932495, 0.0005941260606050491, -0.5563812851905823, 0.6582167744636536, -0.5236287713050842, 0.18734431266784668, 0.8322701454162598, 0.2662864327430725, -0.6896750330924988, -0.5187147855758667, -0.5447201728820801, -0.782090961933136, 0.763230562210083, 0.3753056526184082, 0.43978071212768555, 0.26541009545326233, 0.5411469340324402, 0.4086373448371887, 0.3003356158733368, -0.3101927638053894, -0.5579464435577393, -0.4095204770565033, -0.5559074282646179, -0.31459808349609375, 0.01824061945080757, -0.21371927857398987, -0.20650409162044525, 0.375732421875, -0.13399267196655273, -0.20773236453533173, -0.10410867631435394, -0.3461829721927643, -0.1780027598142624, 0.04100949689745903, 0.3676532208919525, 1.1305066347122192, -0.26025786995887756, 0.1832510232925415, -0.013352046720683575, -0.9263045787811279, -0.10205765068531036, 0.1200048178434372, -0.21880164742469788, 0.0627136379480362, 0.9288317561149597, 0.8366252779960632, 0.16072621941566467, -0.6924418807029724, -0.021938398480415344, -0.19941897690296173, -0.1881089210510254, -0.16485773026943207, 0.1916116625070572, 0.11314231157302856, 0.30405619740486145, 0.6910627484321594, -0.06899324804544449, 0.027237046509981155, -0.44990891218185425, 0.5646897554397583, -0.21561700105667114, -0.5856653451919556, -0.2641788721084595, 0.5562167167663574, 0.18617765605449677, -0.16819944977760315, 0.9173149466514587, 0.0026453465688973665, -0.2315898984670639, 0.8940343260765076, 0.7355720400810242, 0.88624107837677, 0.16607017815113068, 0.6477693915367126, 0.509660542011261, 0.6619780659675598, 0.42192184925079346, 0.021304821595549583, -0.0027484267484396696, -0.5782235264778137, -0.4054482579231262, -0.8469544649124146, -0.3382886052131653, 0.1647709310054779, -1.1439677476882935, -0.09583736956119537, -0.1139412447810173, 0.45561128854751587, -0.05637761205434799, -0.009510078467428684, -0.3232267498970032, 0.4540170729160309, 0.33551424741744995, 0.9480915069580078, -1.0039896965026855, 0.6603368520736694, 0.9387726783752441, -0.13069383800029755, -0.3287171423435211, 0.5494046807289124, 0.04670806601643562, -0.7282958626747131, 0.24796096980571747, 0.15631602704524994, 0.13061188161373138, 0.5157424807548523, -0.25959935784339905, -0.48897576332092285, 0.9551851749420166, -0.01578846201300621, -0.5830064415931702, -0.11567102372646332, 0.14556589722633362, 0.7474599480628967, -0.6077141761779785, -0.013178066350519657, 0.9315828680992126, 0.6685431599617004, 0.06346554309129715, -0.17198546230793, -0.43529337644577026, 0.04135145619511604, -0.44874194264411926, -0.32615533471107483, 0.11498026549816132, 0.37848058342933655, -0.14578130841255188, -0.17780053615570068, -0.20746564865112305, 0.973260760307312, 0.6319035887718201, 1.0770549774169922, 0.4086243510246277, 0.4550414979457855, 0.7707691192626953, -0.1753021776676178, 1.1066715717315674, -0.2853471040725708, 0.43708834052085876, 1.0584205389022827, 0.2779136598110199, 0.560687243938446, 0.5038187503814697, -0.3978951573371887, 0.43309345841407776, 1.0867246389389038, 0.24559728801250458, 0.7251781821250916, 0.24502664804458618, -0.19577226042747498, 0.02433113567531109, -0.15189120173454285, -0.3410760462284088, 0.4427850544452667, 0.43170276284217834, -0.31206387281417847, -0.34274783730506897, 0.2236727923154831, -0.14503321051597595, 0.40444886684417725, -0.5416630506515503, 0.7073409557342529, 0.3760427236557007, -0.6176041960716248, 0.21506480872631073, -0.2463332563638687, 0.29218339920043945, -0.32672399282455444, 0.04242953285574913, -0.31256407499313354, -0.09552109986543655, -0.006161010358482599, -1.265848994255066, 0.3399132788181305, 0.11329086869955063, -0.2812037169933319, -0.4205273389816284, 0.555433988571167, -0.574622392654419, -0.4591186046600342, 0.01725589670240879, 0.6292271614074707, 0.15506064891815186, -0.17807777225971222, -0.8165724277496338, 0.04470176249742508, 0.2417249083518982, -0.4220620095729828, 0.20980525016784668, 0.6352527737617493, 0.39987972378730774, 0.4180438220500946, 0.5269067883491516, -0.39918017387390137, -0.21370427310466766, 0.2808800935745239, 0.5369048714637756, -0.6841272711753845, -0.7410303354263306, -0.6633074879646301, 0.5804241895675659, 0.20008833706378937, -0.5095677971839905, 0.5206425786018372, 0.31777724623680115, 0.5026481747627258, -0.30082789063453674, 0.6319242119789124, 0.22624358534812927, 0.45854607224464417, -0.5251449942588806, 0.87682044506073, -0.6835309267044067, 0.24806927144527435, -0.09789767861366272, -1.1236454248428345, -0.09107399731874466, 0.7261619567871094, -0.02676147036254406, -0.32321104407310486, 1.0551564693450928, 0.11259160190820694, -0.022995108738541603, 0.7867661714553833, 0.15949231386184692, -0.26271677017211914, 0.0529027096927166, 0.1477399468421936, 1.1820611953735352, -0.14084529876708984, 0.4776099920272827, -0.2876650393009186, -0.0804738849401474, -0.13302133977413177, -0.5952965617179871, -1.0147249698638916, -0.7216923236846924, -0.2874261438846588, -0.2272312194108963, 0.24718508124351501, 0.676011323928833, 0.10257746279239655, -0.711711049079895, 0.060097917914390564, -0.132210835814476, 0.4913690388202667, -0.38066911697387695, -0.24612818658351898, 0.38516655564308167, -0.5070584416389465, -0.9220520257949829, 0.5272220969200134, -0.03530823439359665, -0.37205520272254944, -0.07274914532899857, -0.04452233761548996, 0.12444274127483368, 0.35708579421043396, 0.6405851244926453, -0.09766093641519547, -0.6220349073410034, -0.3386957049369812, 0.01522977277636528, -0.13013072311878204, 0.1252926141023636, 0.9833465814590454, -0.6677859425544739, 0.5865893363952637, 0.3149380385875702, 0.7094680666923523, 0.5257661938667297, 0.36663058400154114, 0.28901436924934387, -0.7903035283088684, -0.3342275619506836, 0.5086275339126587, 0.09967035800218582, 0.004403485916554928, -0.12110312283039093, 0.7101249098777771, 0.3489782512187958, -0.15111936628818512, -0.9076424241065979, 0.07148119807243347, -0.804702877998352, -0.3483887314796448, 0.8227405548095703, -0.2691028118133545, -0.053744837641716, -0.5401665568351746, -0.19105631113052368, 0.01950577273964882, -0.15715253353118896, 0.6403483152389526, 0.9835971593856812, 0.17503924667835236, -0.4307596981525421, -0.9008829593658447, 0.14650048315525055, 0.2681349217891693, -0.8945608139038086, 0.2656068801879883, 0.3134288787841797, -0.06599211692810059, 0.10576134920120239, 0.042465392500162125, 0.03223412483930588, 0.12446258962154388, 0.38962310552597046, -0.19999971985816956, -0.17090140283107758, -0.7270463705062866, -0.23230943083763123, 0.2708476483821869, -0.5681654810905457, -0.02143295854330063 ]
http://arxiv.org/abs/2404.05245v1
http://arxiv.org/pdf/2404.05245v1
Supervised Gradual Machine Learning for Aspect Category Detection
2024-04-08T07:21:46
2024-04-08T07:21:46
Murtadha Ahmed, Qun Chen
cs.CL
cs.CL
Aspect Category Detection (ACD) aims to identify implicit and explicit aspects in a given review sentence. The state-of-the-art approaches for ACD use Deep Neural Networks (DNNs) to address the problem as a multi-label classification task. However, learning category-specific representations heavily rely on the amount of labeled examples, which may not readily available in real-world scenarios. In this paper, we propose a novel approach to tackle the ACD task by combining DNNs with Gradual Machine Learning (GML) in a supervised setting. we aim to leverage the strength of DNN in semantic relation modeling, which can facilitate effective knowledge transfer between labeled and unlabeled instances during the gradual inference of GML. To achieve this, we first analyze the learned latent space of the DNN to model the relations, i.e., similar or opposite, between instances. We then represent these relations as binary features in a factor graph to efficiently convey knowledge. Finally, we conduct a comparative study of our proposed solution on real benchmark datasets and demonstrate that the GML approach, in collaboration with DNNs for feature extraction, consistently outperforms pure DNN solutions.
[ -0.47267547249794006, -1.0948799848556519, 0.9141987562179565, 0.13026970624923706, -0.4124196171760559, 0.06283234059810638, 0.0584135428071022, -0.27004870772361755, -0.03177480027079582, 0.7450453042984009, -1.008951187133789, -0.7720142602920532, -0.38768330216407776, 0.18634524941444397, -0.3997248113155365, 1.2168231010437012, -0.1397974193096161, -0.24065011739730835, -0.21821852028369904, -0.12453586608171463, -0.14167901873588562, -0.4536023437976837, -0.7297855615615845, -0.6240202188491821, 0.649539589881897, 0.26506251096725464, 0.5364044904708862, 0.5146577954292297, 0.5584449172019958, 0.34332212805747986, -0.22000399231910706, 0.480498731136322, 0.05660485476255417, 0.3799942433834076, 0.1085534617304802, -0.3436425030231476, -0.43151724338531494, 0.08108789473772049, 0.5021699666976929, 1.1689749956130981, 0.10375411063432693, -0.19696354866027832, 0.1861705183982849, 0.8904352188110352, -0.024879874661564827, 0.7544202208518982, -0.3348061740398407, 0.5054527521133423, 0.05180972069501877, 0.05408912152051926, -0.2571065425872803, -0.2707291841506958, 0.238883838057518, -0.6391997337341309, 0.5518766641616821, 0.015061195939779282, 0.8071920275688171, 0.3406771719455719, -0.5281810164451599, -0.36540091037750244, -0.6305190920829773, 0.4616980254650116, -0.6426363587379456, 0.4860098361968994, 0.5485531687736511, -0.11330217123031616, -0.4328349530696869, -0.7970215678215027, -0.7455485463142395, -0.5002015233039856, -0.37899404764175415, -0.15556742250919342, 0.11161539703607559, 0.20674680173397064, 0.06620024144649506, 0.7775467038154602, -0.46674197912216187, 0.14570818841457367, -0.007244099862873554, -0.15523603558540344, 0.6308189630508423, 0.11732438951730728, -0.11048781126737595, -0.4716484546661377, -0.14065507054328918, -0.11939598619937897, -0.3917114734649658, 0.08277330547571182, 0.23156750202178955, 0.31842881441116333, -0.03622637689113617, 0.6065425276756287, -0.5232380628585815, 0.5411691069602966, 0.6479255557060242, 0.057022035121917725, 0.3694072365760803, -0.3964870274066925, -0.18182826042175293, -0.011484812945127487, 1.013599157333374, 0.02993161976337433, -0.15511630475521088, -0.02092180773615837, -0.396122545003891, 0.06201416999101639, 0.29241201281547546, -0.7285206913948059, -0.5298104286193848, 0.2890923321247101, -0.4136190712451935, -0.5060161352157593, 0.015517575666308403, -0.44213882088661194, -0.5019416809082031, -0.7086654305458069, 0.2332620471715927, -0.32542863488197327, -0.17869660258293152, -0.07388767600059509, 0.29659777879714966, -0.18482734262943268, 0.3163488507270813, -0.561531662940979, 0.011834035627543926, 1.1110413074493408, 0.9441661238670349, -0.32215383648872375, 0.2071308195590973, -0.6214423775672913, -0.28854528069496155, -0.4485781490802765, 0.44345030188560486, -0.4830372929573059, -0.34546801447868347, 0.07918471843004227, 0.48932498693466187, 0.33477580547332764, -0.27277395129203796, 0.2638455033302307, -0.583318829536438, 0.20201651751995087, 0.32676050066947937, -0.5406831502914429, -0.5473685264587402, 0.6528360843658447, -0.791804313659668, 1.0030115842819214, 0.19557112455368042, -0.7231334447860718, 0.6493757367134094, -0.34223949909210205, -0.505298912525177, -0.12297888100147247, -0.3256247341632843, -0.9360983371734619, 0.04281649366021156, 0.3320540189743042, 0.8853991031646729, 0.2374502569437027, 0.6553836464881897, -0.4632851481437683, 0.16982732713222504, 0.37479275465011597, -0.4329546391963959, 0.23298396170139313, 0.23044216632843018, -0.07565084844827652, 0.5550907254219055, -0.7406412363052368, -0.32751384377479553, -0.36661094427108765, -0.25922417640686035, -0.4773011803627014, 0.026662319898605347, -0.3138355314731598, 0.35992729663848877, 0.18630751967430115, -0.4524412751197815, 0.5625914931297302, -0.2625882625579834, 0.2141416072845459, 0.7058624625205994, 0.5402371883392334, 0.5829871296882629, 0.06511799246072769, 0.32766225934028625, 0.7728115320205688, 0.4554542303085327, -0.02171928435564041, -0.39144274592399597, -1.108202338218689, 0.06569664180278778, 0.3192054331302643, 0.16159804165363312, -1.49820876121521, 0.8834312558174133, -0.16084779798984528, -0.09034226834774017, -0.5420607924461365, 0.4550369381904602, 0.5114273428916931, 0.5091850161552429, 0.20845720171928406, -0.930525004863739, -0.09947822988033295, -0.9492021799087524, 0.4194903075695038, -0.5945896506309509, -0.09434489905834198, 0.43531954288482666, 0.385424941778183, -0.2725037634372711, 1.068766474723816, -0.6796556115150452, -0.6092744469642639, -0.12736253440380096, 0.7250186204910278, 0.41380858421325684, 0.506756603717804, -0.01734175719320774, -1.17081880569458, -0.11899186670780182, 0.12251289188861847, -0.9610303640365601, -0.010550122708082199, -0.4124768376350403, -0.10765618085861206, 0.061501938849687576, 0.5091012716293335, -0.2102268636226654, 0.31957951188087463, 0.20855285227298737, -0.44392991065979004, 0.4466645419597626, -0.23190827667713165, 0.0604347325861454, -0.9882389903068542, -0.40331098437309265, 0.5587677359580994, -0.5727761387825012, -0.5044266581535339, -0.17795805633068085, 0.03584642708301544, 0.18490296602249146, -0.5394035577774048, 0.23972459137439728, -0.36374393105506897, 0.13649235665798187, -0.31431496143341064, -0.09679048508405685, 0.13919387757778168, 0.7382726669311523, 0.4710403084754944, 0.38945138454437256, 0.360782265663147, -0.7754981517791748, 0.35373246669769287, 0.22832630574703217, -0.08374611288309097, 0.5413355827331543, -0.14316925406455994, 0.21970348060131073, -0.3200612962245941, 0.44895878434181213, -0.7270197868347168, 0.026113685220479965, 0.6754539012908936, -0.247844398021698, 0.6161322593688965, -0.5156868696212769, -0.40832436084747314, -0.5700671076774597, -0.3346647322177887, 0.18733638525009155, 0.19566108286380768, -0.3559750020503998, 0.4127449095249176, 0.09050732105970383, -0.1311846226453781, -0.2167111039161682, -0.5250868797302246, 0.011100364848971367, -0.10518874228000641, -0.3759293258190155, 0.27552634477615356, 0.09823719412088394, -0.03159351646900177, 0.4622938334941864, -0.30814987421035767, -0.47142237424850464, -0.03133460134267807, 0.5074928402900696, 0.11628367006778717, -0.3288005292415619, 0.2042308747768402, 0.004283360671252012, -0.10177343338727951, 0.09266050904989243, -0.2839585840702057, 0.3783230781555176, -0.16992349922657013, -0.2682567834854126, -0.5445098876953125, 0.2286497950553894, 0.1682145744562149, 0.03688282519578934, 0.636684000492096, 0.8166385889053345, -0.08066359907388687, -0.17585799098014832, -0.3569951355457306, -0.3827665448188782, -0.5146922469139099, 0.4676094651222229, -0.5275745987892151, -0.9550154209136963, 0.11144571751356125, -0.22716642916202545, -0.052781857550144196, 0.4975191354751587, 0.17872072756290436, -0.02494013123214245, 0.8402867317199707, 1.2107264995574951, -0.2535375654697418, 0.6707097291946411, -0.5415887832641602, 0.12524910271167755, -1.2857892513275146, -0.5157947540283203, -0.2033688724040985, -0.16679765284061432, -0.7754558324813843, -0.5406002998352051, 0.2805611789226532, 0.21653185784816742, -0.11782342940568924, 0.11629560589790344, -0.6141369342803955, -0.022715717554092407, 0.21031750738620758, 0.6801996827125549, 0.6009876728057861, -0.1501767486333847, 0.041388798505067825, 0.03050255961716175, -0.38286909461021423, -0.38336920738220215, 0.882850706577301, 0.3245071470737457, 0.6607730388641357, -0.04612002149224281, 0.835424542427063, 0.5827775001525879, 0.5480216145515442, -1.0822947025299072, 0.5430994033813477, -0.44326770305633545, -0.1365724354982376, -0.21610446274280548, -0.6526389718055725, -0.8990760445594788, 0.0874856561422348, -0.049235258251428604, -0.43720149993896484, 0.3915075659751892, -0.05186903849244118, -0.19297190010547638, 0.1294323056936264, -0.32769930362701416, 0.6056574583053589, -0.11288011074066162, -0.4409772455692291, 0.09529978781938553, -0.7682002782821655, 0.5257343649864197, -0.24686063826084137, 0.12723538279533386, -0.25106099247932434, 0.06820974498987198, 0.7921491265296936, -0.3661871552467346, 0.9418046474456787, -0.021420208737254143, -0.03571058064699173, 0.16785429418087006, 0.1857498437166214, 0.24815267324447632, 0.3913988769054413, -0.009942435659468174, 0.12113451212644577, -0.4235212504863739, 0.08836730569601059, -0.6814402341842651, 0.791996955871582, -0.559508204460144, -0.7167078852653503, -0.6550763845443726, -0.4873587191104889, -0.26976361870765686, -0.00920249056071043, -0.47480836510658264, 0.42089858651161194, 0.040551118552684784, -0.004253031220287085, 0.688452422618866, -0.07300645858049393, 0.6374178528785706, 0.7116929292678833, -0.495140016078949, -0.07475978881120682, 0.7809454202651978, -0.25441640615463257, 0.07964392006397247, 0.3129148781299591, 0.09769979864358902, -0.32554614543914795, -0.3890807032585144, -0.5302881002426147, 0.103429414331913, -0.6238197684288025, -0.19485969841480255, -0.776498019695282, -0.5130335688591003, -0.10473985970020294, 0.20257343351840973, -0.2966676950454712, -0.16114836931228638, -0.4840337634086609, 0.06316259503364563, 0.6131469011306763, 0.818376898765564, 0.14326271414756775, 0.14574232697486877, -0.6507651209831238, 0.7182015180587769, 0.30289122462272644, 0.19870547950267792, -0.005226219538599253, -0.5312188267707825, 0.11362279206514359, -0.07074354588985443, -0.5152719616889954, -0.488933801651001, 0.42699095606803894, 0.31950998306274414, 0.22676241397857666, 0.711814820766449, 0.16430750489234924, 0.5229864120483398, -0.5071329474449158, 0.8761840462684631, 0.20057371258735657, -0.5049640536308289, 0.6994644403457642, 0.14842531085014343, 0.27871254086494446, 0.6803818345069885, 0.6863192915916443, -0.582984447479248, -0.49639591574668884, -0.6177075505256653, -0.9558587074279785, 0.5483480095863342, 0.3660348355770111, -0.01074622105807066, -0.019526755437254906, 0.5822997689247131, 0.33429858088493347, 0.4895649254322052, -0.5205580592155457, -0.4562340974807739, 0.04969925433397293, -0.48802128434181213, -0.0999969020485878, -0.09860249608755112, 0.2201688140630722, -0.3458036482334137, 0.8291248679161072, -0.2234710156917572, 0.050741370767354965, 0.4446018636226654, -0.08669868111610413, 0.19151714444160461, 0.2912241518497467, -0.06613513082265854, 0.34577128291130066, -0.21176615357398987, 0.324785053730011, -0.389554500579834, -0.6268823146820068, 0.48558279871940613, 0.284527987241745, -0.32140982151031494, 0.12089051306247711, 0.2596953511238098, 0.7089822888374329, 0.16658131778240204, 0.14017991721630096, 0.3584643602371216, -0.1147761344909668, -0.03074893169105053, 0.012278071604669094, -0.03851648047566414, -0.2036624252796173, 0.398377388715744, 0.28936582803726196, -0.051731791347265244, 0.3721843361854553, -0.8320997357368469, 0.7836714386940002, 0.1963137686252594, -1.0816891193389893, -0.2655559182167053, 0.38307875394821167, 0.230047345161438, -0.22893555462360382, 0.88970547914505, -0.6238832473754883, -0.7578951120376587, 0.6779300570487976, 0.0415009967982769, 1.084633708000183, 0.09156875312328339, 0.604741096496582, 0.04912789165973663, 0.10751473903656006, -0.16335968673229218, -0.05124247446656227, -0.31192585825920105, -0.5787122845649719, -0.4793567955493927, -1.0319511890411377, -0.30439841747283936, 0.14520536363124847, -0.6337332725524902, -0.053425900638103485, -0.4238791763782501, -0.1058729737997055, 0.21120548248291016, 0.1933438628911972, -0.7649664282798767, 0.18590913712978363, 0.2438504993915558, 0.2429453432559967, -0.9607546329498291, 1.036877155303955, 0.49554187059402466, -0.6216542720794678, -0.7176221013069153, 0.13807155191898346, 0.08255138993263245, -0.32605040073394775, 0.7536451816558838, 0.45527884364128113, 0.1636691838502884, -0.2261962890625, -0.16286832094192505, -0.23150403797626495, 0.8572291731834412, -0.44041210412979126, -0.8558205962181091, 0.33711421489715576, 0.1081022173166275, 0.48807650804519653, -0.4315830171108246, 0.04581008851528168, 0.5811883211135864, 0.39404401183128357, 0.33518412709236145, -0.6389533281326294, 0.1245754137635231, -0.0511108860373497, -0.03296555578708649, 0.36608174443244934, -0.3841598927974701, 0.5972349047660828, 0.14872996509075165, 0.1258324384689331, -0.08853979408740997, 1.090576171875, 0.0812642052769661, 0.6326921582221985, 0.8000859618186951, 0.3654591739177704, 0.6380215883255005, -0.23137620091438293, 0.8684576153755188, 0.05894649401307106, 0.4233880341053009, 1.0152993202209473, -0.1933773159980774, 0.673599362373352, 0.4438965618610382, -0.22442470490932465, 0.5905593037605286, 1.1489640474319458, -0.04305819049477577, 0.7568212151527405, 0.18556900322437286, -0.5048527121543884, -0.3782876431941986, -0.3974674940109253, -0.049631260335445404, -0.05278885364532471, 0.4306917190551758, -0.46501657366752625, -0.07339364290237427, 0.29622429609298706, -0.04741230607032776, -0.16243161261081696, -0.5643267631530762, 1.170593500137329, 0.46950283646583557, -0.548909068107605, 0.03852134197950363, -0.21127736568450928, 0.8427048325538635, -0.494798868894577, -0.3208227753639221, -0.4585980474948883, 0.1962554156780243, -0.3195006549358368, -1.1543254852294922, 0.1550234705209732, -0.0615706592798233, -0.3927759528160095, -0.12832830846309662, 0.5621069669723511, -0.7778666615486145, -0.9899336695671082, -0.03954513370990753, 0.340167373418808, 0.16425424814224243, -0.19301818311214447, -0.7388332486152649, -0.22799430787563324, -0.08455857634544373, -0.3580976724624634, 0.2297017127275467, 0.9141735434532166, -0.41759103536605835, 0.6512978076934814, 0.5958755016326904, -0.02462862804532051, -0.2098526954650879, 0.2290433645248413, 1.0948889255523682, -0.5263108611106873, -0.5667195916175842, -0.8528781533241272, 0.3293004035949707, -0.15629006922245026, -0.031401198357343674, 0.5506247282028198, 0.5290615558624268, 0.5084994435310364, 0.08746767789125443, 0.3690520226955414, -0.2246972769498825, -0.160366952419281, -0.8711377382278442, 0.5972666144371033, -0.51541668176651, 0.4001308083534241, -0.12668539583683014, -0.9627553820610046, -0.4410686194896698, 0.4301927089691162, -0.1272682100534439, -0.07701635360717773, 0.9407399892807007, 0.7005609273910522, -0.23948173224925995, -0.1101519763469696, 0.09448012709617615, 0.3225778639316559, 0.5819976329803467, 0.49533191323280334, 0.7785043120384216, -0.14336435496807098, 0.1777263879776001, -0.7688332200050354, -0.18557468056678772, -0.0535634383559227, -0.984318196773529, -0.9443588852882385, -0.8137812614440918, -0.9712664484977722, -0.31373435258865356, 0.005663141142576933, 0.6017917990684509, 0.7161962389945984, -0.6694435477256775, 0.37678760290145874, -0.18269005417823792, 0.375049352645874, -0.3032221794128418, -0.29687345027923584, 0.7638091444969177, -0.31704044342041016, -0.45840421319007874, 0.1798497587442398, 0.23664043843746185, -0.11490404605865479, -0.6260154843330383, 0.1642076075077057, -0.288838267326355, -0.3194078505039215, 0.6494918465614319, -0.0731871947646141, -0.7499950528144836, -0.48125529289245605, -0.45435741543769836, -0.0989065021276474, 0.2212853729724884, 0.8158245086669922, -0.9739884734153748, 0.43122604489326477, 0.22779229283332825, 0.4477197527885437, 0.8360164761543274, 0.1470298320055008, 0.3533517122268677, -1.2484540939331055, 0.3369919955730438, 0.33504951000213623, 0.06797489523887634, 0.5264517068862915, -0.6236310601234436, 0.6062245965003967, 0.12060806900262833, -0.4252919554710388, -0.3618497848510742, 0.15003827214241028, -1.257964015007019, -0.31658583879470825, 1.1777466535568237, -0.43071189522743225, -0.4549270272254944, -0.3522716164588928, -0.019099215045571327, 0.3580275774002075, -0.5327196717262268, 0.8830389976501465, 0.4133661687374115, -0.37754762172698975, -0.18999436497688293, -0.545416533946991, 0.5218327045440674, -0.04798242449760437, -0.7122846245765686, -0.2591640055179596, 0.6012697219848633, 0.23316100239753723, 0.09915617108345032, 0.29419124126434326, 0.1385020911693573, -0.0565718412399292, -0.29896482825279236, -0.004921610001474619, -0.32630735635757446, -0.39072301983833313, -0.39317670464515686, 0.08682043105363846, 0.04820939525961876, -0.3719613552093506 ]
http://arxiv.org/abs/2404.05243v1
http://arxiv.org/pdf/2404.05243v1
Product Description and QA Assisted Self-Supervised Opinion Summarization
2024-04-08T07:15:06
2024-04-08T07:15:06
Tejpalsingh Siledar, Rupasai Rangaraju, Sankara Sri Raghava Ravindra Muddu, Suman Banerjee, Amey Patil, Sudhanshu Shekhar Singh, Muthusamy Chelliah, Nikesh Garera, Swaprava Nath, Pushpak Bhattacharyya
cs.CL
cs.CL, cs.AI
In e-commerce, opinion summarization is the process of summarizing the consensus opinions found in product reviews. However, the potential of additional sources such as product description and question-answers (QA) has been considered less often. Moreover, the absence of any supervised training data makes this task challenging. To address this, we propose a novel synthetic dataset creation (SDC) strategy that leverages information from reviews as well as additional sources for selecting one of the reviews as a pseudo-summary to enable supervised training. Our Multi-Encoder Decoder framework for Opinion Summarization (MEDOS) employs a separate encoder for each source, enabling effective selection of information while generating the summary. For evaluation, due to the unavailability of test sets with additional sources, we extend the Amazon, Oposum+, and Flipkart test sets and leverage ChatGPT to annotate summaries. Experiments across nine test sets demonstrate that the combination of our SDC approach and MEDOS model achieves on average a 14.5% improvement in ROUGE-1 F1 over the SOTA. Moreover, comparative analysis underlines the significance of incorporating additional sources for generating more informative summaries. Human evaluations further indicate that MEDOS scores relatively higher in coherence and fluency with 0.41 and 0.5 (-1 to 1) respectively, compared to existing models. To the best of our knowledge, we are the first to generate opinion summaries leveraging additional sources in a self-supervised setting.
[ -0.6492742896080017, -0.3872108459472656, 0.2978813946247101, 0.11273932456970215, -0.4694044888019562, 0.1143927127122879, 0.07903723418712616, -0.5336110591888428, 0.8748453259468079, 0.5974684953689575, -0.7595039010047913, -0.5049604177474976, -0.23509147763252258, 0.47928059101104736, -0.38542914390563965, 1.7402805089950562, 0.07916539162397385, 0.08195105195045471, -0.23354534804821014, -0.2701309323310852, -0.021035097539424896, -0.6551409363746643, -0.4460975229740143, 0.17589141428470612, 0.2893669903278351, 0.2775397002696991, 0.5091975927352905, 0.31096985936164856, 0.46754300594329834, 0.26785075664520264, 0.10702721029520035, 0.6218839883804321, -0.4693140685558319, 0.1632421910762787, 0.019639959558844566, -0.5248186588287354, -0.8779683709144592, 0.13813412189483643, 0.10509862005710602, 0.23088738322257996, -0.25014054775238037, 0.3640155792236328, 0.14554938673973083, 0.9085950255393982, -0.6333094835281372, 0.18104782700538635, -0.2822761535644531, 0.3088088929653168, 0.449691504240036, -0.19960205256938934, -0.24927760660648346, -0.5094374418258667, 0.18436825275421143, -1.0189056396484375, 0.5779135227203369, -0.11200743913650513, 0.6193450689315796, 0.24341095983982086, -0.3337208032608032, -0.47685614228248596, -0.825187087059021, 0.5788744688034058, -0.8957902789115906, 0.1017470732331276, 0.2578294575214386, 0.47120600938796997, 0.1593557447195053, -0.6043499112129211, -0.7670653462409973, 0.2577209770679474, -0.27227091789245605, 0.8990955352783203, 0.07216154038906097, -0.009101847186684608, -0.13775010406970978, 0.6770791411399841, -0.4482870399951935, -0.4216994047164917, -0.6759880185127258, -0.11206700652837753, 0.9849521517753601, 0.2821817696094513, -0.21704252064228058, -0.2863112986087799, -0.3157111406326294, -0.1337072104215622, -0.7098403573036194, 0.14087854325771332, 0.5416340231895447, 0.02723926119506359, -0.16236339509487152, 0.67802894115448, -0.5964407920837402, 0.4202965199947357, 0.2615697681903839, -0.20689059793949127, 0.5834941864013672, -0.5328130722045898, -0.24496597051620483, -0.003401106223464012, 0.9545318484306335, 0.8167681694030762, 0.036912381649017334, 0.1709650456905365, -0.296863317489624, -0.05449088662862778, 0.4380212724208832, -0.9348069429397583, -0.3133690059185028, 0.43513017892837524, -0.8194892406463623, -0.5849515199661255, 0.20262138545513153, -0.8693395853042603, -0.3973599076271057, -0.4567820727825165, 0.21838942170143127, 0.05957823991775513, -0.2417888641357422, 0.20070382952690125, -0.27970248460769653, 0.0019930934067815542, 0.2722165882587433, -0.7319942712783813, 0.40547066926956177, 0.3317927420139313, 0.6794203519821167, -0.16490091383457184, -0.13926614820957184, 0.0054478938691318035, 0.1883968710899353, -0.4806542694568634, 0.9678456783294678, -0.05788204073905945, -0.5174488425254822, -0.02458677440881729, 0.1776607781648636, 0.21865610778331757, -0.5360379815101624, 0.18797482550144196, -0.4575018882751465, 0.5154500603675842, -0.16222621500492096, -0.627364993095398, -0.2803226709365845, 0.5668007135391235, -0.7167040705680847, 0.6266618371009827, -0.036156799644231796, -0.7844555377960205, 0.29375702142715454, -0.5653350353240967, -0.6874337196350098, -0.2233235090970993, -0.2570851147174835, -0.6110894083976746, 0.11039631813764572, 0.788480818271637, 0.5281645059585571, -0.07297311723232269, -0.15128165483474731, -0.33709442615509033, -0.10527428239583969, 0.45297515392303467, -0.08145111799240112, 0.40206849575042725, 0.41460174322128296, -0.006144068203866482, 0.1403055340051651, -0.7872253060340881, -0.02744763158261776, 0.17260996997356415, -0.22900761663913727, -0.03683050721883774, -0.0963321253657341, -0.1021222174167633, 0.3233878016471863, 0.20137403905391693, -0.5196927189826965, 0.12865319848060608, -0.6444842219352722, 0.3295767903327942, 0.6913025379180908, 0.5060344338417053, 0.2689847946166992, -0.38692861795425415, 0.8283094167709351, -0.02957548201084137, 0.6731868386268616, -0.5090000033378601, -0.3885188400745392, -0.7066498398780823, -0.3757269084453583, 0.21206921339035034, 0.44672125577926636, -0.9120640754699707, 0.4454323351383209, -0.24693472683429718, -0.2596837282180786, -0.8476942777633667, 0.1910051703453064, 0.38638997077941895, 0.5502969026565552, 0.537445068359375, -0.25248655676841736, -0.6009035110473633, -1.2700003385543823, -0.03741500526666641, -0.21999189257621765, -0.3625541031360626, 0.11645230650901794, 0.2996785044670105, -0.04222831502556801, 1.0276542901992798, -0.7476244568824768, -0.6546250581741333, -0.5816097259521484, -0.04437189921736717, 0.28541234135627747, 0.12740522623062134, 0.5311126112937927, -0.6608898639678955, -0.32363957166671753, -0.14949963986873627, -0.8217819333076477, 0.13410310447216034, -0.35268089175224304, 0.15479475259780884, 0.17420892417430878, 0.21047870814800262, -0.5133798122406006, 0.33820056915283203, 0.47463613748550415, 0.1280033141374588, 0.5456284880638123, -0.36626136302948, 0.5323324203491211, -1.553911805152893, -0.28899040818214417, 0.0459342785179615, -0.1171497330069542, -0.24348147213459015, -0.27432695031166077, -0.09965372830629349, 0.09570363163948059, -0.3086733818054199, 0.09089509397745132, -0.19515235722064972, 0.018158644437789917, -0.38126686215400696, 0.18907511234283447, 0.48533791303634644, 0.6349347233772278, 0.09164466708898544, 0.6831958293914795, 0.12936438620090485, -0.5279937386512756, 0.402249813079834, 0.4121180772781372, -0.09183236211538315, 0.5403134822845459, -0.8438218235969543, -0.027165450155735016, -0.2075284719467163, 0.5305814743041992, -0.811893105506897, -0.41678130626678467, 0.25843754410743713, -0.6414398550987244, 0.05171471834182739, -0.13433395326137543, -0.45716962218284607, -0.44109758734703064, -0.6752976775169373, 0.2191503942012787, 0.602124810218811, -0.6938660144805908, 0.5220882892608643, 0.7327932119369507, -0.1635417938232422, -0.40848496556282043, -0.6572449207305908, -0.04024842008948326, -0.1731482446193695, -0.42921993136405945, 0.20356877148151398, -0.07209469377994537, -0.0054135737009346485, -0.12068162858486176, -0.10456474870443344, 0.11627122759819031, -0.3005991578102112, 0.23954598605632782, 0.3480479419231415, -0.051761072129011154, 0.42842793464660645, 0.3255549669265747, -0.12426024675369263, 0.305144727230072, -0.10812752693891525, 0.017137430608272552, -0.2025623917579651, -0.11359038949012756, -0.4797407388687134, 0.5262874364852905, 0.2708459198474884, -0.3352930247783661, 0.4791710674762726, 0.16100378334522247, -0.13839392364025116, -0.5346888899803162, -0.3460771143436432, -0.3896510601043701, -0.4689827859401703, 0.36972931027412415, -0.3869795799255371, -0.5916762351989746, 0.4534061551094055, 0.10719787329435349, 0.003609461011365056, 0.6634430289268494, 0.5709318518638611, -0.5564151406288147, 1.2469500303268433, 0.46148112416267395, 0.05579269677400589, 0.22395966947078705, -0.49674561619758606, 0.5300408601760864, -0.6754250526428223, -0.28933262825012207, -0.12141812592744827, -0.18756277859210968, -0.6737477779388428, -0.05017155781388283, 0.5569791793823242, -0.09054771810770035, 0.1911420226097107, 0.1361391544342041, -0.7797345519065857, 0.5242587924003601, 0.4165755808353424, 0.2809564173221588, 0.4284476041793823, 0.06775151193141937, 0.26510557532310486, 0.10873627662658691, -0.6310354471206665, -0.44769012928009033, 1.389045000076294, 0.3106539249420166, 0.7003832459449768, -0.15778681635856628, 0.7191005349159241, 0.5167275071144104, 0.35734978318214417, -0.6489108800888062, 0.42000752687454224, -0.09172546118497849, -0.48710283637046814, -0.00702587328851223, -0.3089011609554291, -0.6567509174346924, 0.18618500232696533, -0.44452354311943054, 0.018935179337859154, 0.26962751150131226, 0.36185845732688904, -0.7809631824493408, -0.11331939697265625, -0.8152878880500793, 0.6804772019386292, -0.24182473123073578, -0.06610323488712311, -0.34199240803718567, -0.7418921589851379, 0.3631488084793091, 0.10995114594697952, 0.42813485860824585, 0.11165701597929001, 0.0793440118432045, 0.8382276892662048, -0.5370381474494934, 0.6654531359672546, 0.023426668718457222, 0.04630530998110771, 0.5708999037742615, -0.08546076714992523, 0.3264300227165222, 0.24181315302848816, 0.32552212476730347, 0.0993628054857254, 0.07689318805932999, -0.279252290725708, -0.8265288472175598, 0.4867264926433563, -0.7249289155006409, -0.3528164029121399, -0.3982783257961273, -0.3476799726486206, -0.4233289957046509, -0.13979925215244293, 0.2426399290561676, 0.3679617941379547, -0.1440228372812271, -0.021309230476617813, 0.5430089235305786, -0.21862836182117462, 0.21844780445098877, 0.5254027843475342, -0.2248581051826477, -0.9715922474861145, 0.8768414855003357, -0.002613265300169587, 0.24587611854076385, 0.17129549384117126, 0.1988690346479416, -0.31909531354904175, -0.5803138613700867, -0.6522683501243591, 0.17025822401046753, -0.7253955602645874, -0.3586727976799011, -0.7737602591514587, -0.22934624552726746, -0.546409010887146, -0.0665067806839943, -0.4626723825931549, -0.6809223294258118, -0.03348616510629654, -0.6023787260055542, 0.4017391800880432, 1.020927906036377, 0.08072739094495773, 0.4917229115962982, -0.908268928527832, 0.6681065559387207, 0.35256150364875793, 0.25488269329071045, -0.27095749974250793, -0.33715394139289856, -0.49637702107429504, 0.2731625437736511, -0.2725333869457245, -0.8844033479690552, 0.5876943469047546, 0.044511135667562485, 0.2720899283885956, 0.5952643156051636, 0.4089784324169159, 0.6309264302253723, -0.07180380821228027, 0.8437506556510925, 0.2793098986148834, -0.4950494170188904, 0.6985903978347778, -0.36919498443603516, 0.23456305265426636, 0.5820480585098267, 0.2906850278377533, -0.05220350623130798, -0.5965176820755005, -0.6098621487617493, -0.8055506944656372, 0.5836091637611389, 0.23918651044368744, 0.18010251224040985, -0.17141379415988922, 0.19122542440891266, 0.4551810026168823, 0.49014872312545776, -0.6161669492721558, -0.21437682211399078, -0.5675560832023621, -0.6031461954116821, -0.08551041036844254, -0.3374699056148529, -0.2911827862262726, -0.003245905041694641, 0.9179219007492065, -0.2559267580509186, -0.07382248342037201, 0.490543395280838, 0.010746391490101814, 0.18963858485221863, 0.20515994727611542, 0.3123851716518402, 0.4414997398853302, -0.18823304772377014, 0.04055613651871681, 0.08500993251800537, -0.3921797573566437, -0.25531062483787537, 0.12310919165611267, -0.3179142475128174, -0.05177969112992287, 0.27321895956993103, 0.40514659881591797, -0.23965096473693848, -0.6027450561523438, 0.565477192401886, -0.3350999653339386, -0.032721150666475296, -0.372502863407135, -0.2070925086736679, -0.12706966698169708, 0.17302900552749634, 0.2998414933681488, 0.24210087954998016, 0.6254208087921143, -0.46539101004600525, 0.14924447238445282, 0.0935133844614029, -0.10639341920614243, -0.3539452850818634, 0.3534480929374695, 0.3950425386428833, 0.2375916987657547, 0.3827335834503174, -0.30771321058273315, -0.35356003046035767, 0.6708123087882996, 0.3785441815853119, 0.9525309801101685, -0.10649603605270386, 0.4857487976551056, 0.5435407757759094, 0.2944243848323822, 0.07668299227952957, 0.25925490260124207, -0.2495739609003067, -0.5350731015205383, -0.35162702202796936, -0.46146160364151, -0.3658837080001831, -0.2568212151527405, -0.7490498423576355, 0.07139952480792999, -0.274634450674057, -0.1184554249048233, -0.057953741401433945, -0.23908603191375732, -0.2960891127586365, 0.5760897397994995, -0.10645247995853424, 0.34125983715057373, -0.8640809655189514, 0.4623987376689911, 0.35474976897239685, -0.7244726419448853, -0.6177831888198853, -0.2374090999364853, -0.15248268842697144, -0.4495992660522461, 0.030752932652831078, 0.2144838124513626, -0.25775018334388733, -0.4625726044178009, -0.24415111541748047, -0.45248183608055115, 0.9810783863067627, 0.1649475395679474, -0.4277784526348114, 0.2766362130641937, 0.2084897756576538, 0.9732158184051514, -0.6749426126480103, 0.3193022906780243, 0.39502692222595215, -0.06166600063443184, 0.0708981454372406, -0.6321837306022644, -0.056653041392564774, -0.5816556215286255, -0.338454008102417, -0.13755130767822266, -0.5329869389533997, 0.5590357184410095, -0.39748308062553406, -0.22746890783309937, -0.13116689026355743, 0.5629467964172363, 0.21777790784835815, 0.4277544915676117, 0.2617056369781494, 0.42230525612831116, 0.36287814378738403, 0.20658579468727112, 1.3342951536178589, -0.340252548456192, 0.32939913868904114, 1.6164861917495728, 0.0036882166750729084, 0.8751125335693359, 0.3903055191040039, -0.3488469421863556, 0.3595910370349884, 0.7537810802459717, -0.07214755564928055, 0.6595451831817627, -0.033563148230314255, -0.0208305511623621, -0.12271049618721008, -0.03722631186246872, -0.4344644248485565, 0.2649102210998535, 0.16402587294578552, -0.6337388157844543, 0.006300917826592922, 0.0003749715688172728, -0.21836745738983154, 0.1167154386639595, -0.37101680040359497, 1.2407526969909668, 0.041513510048389435, -0.6588453054428101, 0.3176625669002533, -0.213868647813797, 0.43059444427490234, -0.5678670406341553, -0.2439109832048416, -0.4569801688194275, 0.30409345030784607, -0.43194010853767395, -0.8017492890357971, 0.4650735557079315, -0.038724131882190704, -0.3460656404495239, -0.3792726993560791, 0.40344560146331787, -0.3364553153514862, -0.7686524987220764, 0.03657903894782066, 0.5104301571846008, 0.09540083259344101, -0.08514740318059921, -0.4153706729412079, -0.4205203950405121, -0.0005977261462248862, -0.36564046144485474, 0.16071131825447083, 0.2710663974285126, 0.11653836071491241, 0.4845150411128998, 0.6527607440948486, 0.047091588377952576, -0.024266572669148445, 0.22793512046337128, 0.8104372620582581, -0.3569049537181854, -0.8915606141090393, -0.5390724539756775, 0.4199894964694977, -0.4320470988750458, -0.31130239367485046, 0.9765774607658386, 0.9397842288017273, 0.9292274713516235, -0.5125031471252441, 0.9892994165420532, 0.13534869253635406, 0.6567683815956116, -0.4455532133579254, 0.8647106289863586, -0.4146058261394501, 0.38524672389030457, 0.07526455819606781, -0.734581470489502, -0.11538197100162506, 0.5320585370063782, -0.019177714362740517, -0.09524758160114288, 0.6783981323242188, 0.7966670393943787, 0.12591569125652313, 0.43817129731178284, -0.007637029513716698, 0.24878475069999695, 0.10704494267702103, 0.23908153176307678, 0.8217474818229675, -0.5788799524307251, 0.6367790102958679, -0.47922462224960327, -0.16116514801979065, 0.06389934569597244, -0.48353952169418335, -1.0373642444610596, -0.5068880319595337, -0.5302077531814575, -0.5186147093772888, -0.0018552258843556046, 0.9825592637062073, 0.7214751243591309, -1.1480984687805176, -0.08229393512010574, 0.053920961916446686, -0.010181616991758347, -0.4084290862083435, -0.20101426541805267, 0.4914112687110901, -0.3265032172203064, -0.5463253855705261, 0.2727465033531189, 0.24020811915397644, 0.07941829413175583, -0.33415552973747253, -0.11985255032777786, 0.3384307622909546, 0.22823430597782135, 0.6605828404426575, 0.018533622846007347, -0.5711367726325989, 0.09027998149394989, 0.13224954903125763, 0.19815127551555634, 0.18261423707008362, 0.8558697700500488, -0.9526278972625732, 0.8211134076118469, 0.4319821298122406, 0.48958250880241394, 0.6266220808029175, 0.21451325714588165, 0.765484094619751, -0.6285983920097351, -0.11743330210447311, 0.2867280840873718, 0.33580482006073, 0.28649795055389404, -0.380561888217926, 0.3722516596317291, -0.061255451291799545, -0.22147813439369202, -0.5018025040626526, 0.14827542006969452, -1.0176100730895996, -0.2301541566848755, 0.9721412062644958, -0.20650890469551086, -0.20334137976169586, 0.0854337215423584, -0.4470595121383667, 0.11171404272317886, -0.3532794117927551, 1.4388641119003296, 0.27566859126091003, -0.18367254734039307, 0.032194338738918304, -0.3268685042858124, 0.5903075933456421, 0.12178389728069305, -1.182776689529419, -0.09727776050567627, 0.7206094861030579, 0.24931660294532776, 0.08412313461303711, 0.5859516859054565, -0.3313670754432678, 0.32661333680152893, 0.015356753952801228, 0.22733622789382935, -0.3471418619155884, -0.32149744033813477, -0.3426269292831421, 0.3740766942501068, -0.46766534447669983, -0.4852834641933441 ]
http://arxiv.org/abs/2404.05225v1
http://arxiv.org/pdf/2404.05225v1
LayoutLLM: Layout Instruction Tuning with Large Language Models for Document Understanding
2024-04-08T06:40:28
2024-04-08T06:40:28
Chuwei Luo, Yufan Shen, Zhaoqing Zhu, Qi Zheng, Zhi Yu, Cong Yao
cs.CV
cs.CV, cs.CL
Recently, leveraging large language models (LLMs) or multimodal large language models (MLLMs) for document understanding has been proven very promising. However, previous works that employ LLMs/MLLMs for document understanding have not fully explored and utilized the document layout information, which is vital for precise document understanding. In this paper, we propose LayoutLLM, an LLM/MLLM based method for document understanding. The core of LayoutLLM is a layout instruction tuning strategy, which is specially designed to enhance the comprehension and utilization of document layouts. The proposed layout instruction tuning strategy consists of two components: Layout-aware Pre-training and Layout-aware Supervised Fine-tuning. To capture the characteristics of document layout in Layout-aware Pre-training, three groups of pre-training tasks, corresponding to document-level, region-level and segment-level information, are introduced. Furthermore, a novel module called layout chain-of-thought (LayoutCoT) is devised to enable LayoutLLM to focus on regions relevant to the question and generate accurate answers. LayoutCoT is effective for boosting the performance of document understanding. Meanwhile, it brings a certain degree of interpretability, which could facilitate manual inspection and correction. Experiments on standard benchmarks show that the proposed LayoutLLM significantly outperforms existing methods that adopt open-source 7B LLMs/MLLMs for document understanding. The training data of the LayoutLLM is publicly available at https://github.com/AlibabaResearch/AdvancedLiterateMachinery/tree/main/DocumentUnderstanding/LayoutLLM
[ -0.3617931008338928, -0.8145418167114258, 0.6844310164451599, 0.36096298694610596, -0.4082186818122864, 0.15412519872188568, -0.28211545944213867, -0.04208271577954292, -0.01137859933078289, 0.7297458052635193, -0.8169186115264893, -0.9337126016616821, -0.28658998012542725, -0.24204668402671814, -0.13150903582572937, 0.7387557625770569, -0.3183508813381195, 0.2476377636194229, -0.3161749541759491, 0.06634834408760071, -0.6592108607292175, -0.2735242247581482, -0.2708301246166229, -0.3169507384300232, 0.3790089190006256, 0.3373667597770691, 0.401703417301178, 1.048828125, 0.44662657380104065, 0.30649182200431824, -0.28317561745643616, 0.6295735836029053, -0.43773236870765686, -0.11798672378063202, -0.11956711858510971, -0.5341927409172058, -0.7447057366371155, 0.06612062454223633, 0.6885657906532288, 0.7244946956634521, -0.08171068131923676, -0.02379152923822403, 0.05978972837328911, 0.7457917332649231, -0.6777749061584473, 0.07885605096817017, -0.5913237929344177, 0.242396280169487, -0.07437652349472046, -0.6151246428489685, -0.7957850694656372, -0.34394901990890503, -0.18951767683029175, -0.866008996963501, 0.24428816139698029, 0.46899327635765076, 0.6138758659362793, 0.24654830992221832, -0.2447281926870346, -0.5767587423324585, -0.38300734758377075, 0.5897284150123596, -0.44860202074050903, 0.5561010241508484, 0.5284426212310791, 0.022793665528297424, -0.11415768414735794, -0.5719879865646362, -0.2491161823272705, 0.006524623371660709, -0.3772922158241272, 0.48068124055862427, 0.4181438684463501, 0.21081015467643738, 0.24605023860931396, 0.6335785388946533, -0.897076427936554, 0.2989688813686371, -0.15222357213497162, -0.23843976855278015, 0.26508620381355286, 0.06790223717689514, 0.45457515120506287, 0.06048358976840973, -0.37899449467658997, -0.002840030239894986, -0.45965489745140076, -0.39345598220825195, 0.36328163743019104, -0.05295208469033241, -0.17185620963573456, 0.2467549592256546, 0.21008677780628204, 0.9372302293777466, 0.10741924494504929, -0.2674240469932556, 0.009341496042907238, -0.3547476530075073, -0.6714618802070618, 0.21623018383979797, 0.3227318823337555, 0.18179519474506378, 0.024657215923070908, -0.17125605046749115, -0.12939487397670746, -0.4351135194301605, 0.45917508006095886, -0.7735499739646912, -0.342329204082489, 0.04259893670678139, -0.5012077689170837, -0.1373349279165268, 0.06634537875652313, -0.3892204165458679, -0.5230246186256409, -0.6042666435241699, 0.3868778645992279, -0.7484115958213806, 0.08566528558731079, 0.22727294266223907, -0.05073144659399986, 0.5262373685836792, 0.8173931241035461, -0.840370237827301, 0.08346975594758987, 0.9090007543563843, 0.8103997111320496, -0.15912093222141266, -0.42254742980003357, -0.48875731229782104, 0.4515169560909271, -0.40977758169174194, 0.9315162301063538, -0.3356097638607025, -0.48317277431488037, 0.010054701007902622, -0.07658444344997406, -0.46692198514938354, -0.47437170147895813, 0.5649943947792053, -0.5927495956420898, 0.7024418711662292, 0.18240845203399658, -0.814247190952301, -0.013421205803751945, 0.5600401759147644, -0.5660819411277771, 0.5958855152130127, -0.09124699234962463, -0.8285642862319946, 0.21565304696559906, -0.5885318517684937, -0.6930655241012573, -0.05182260274887085, -0.12839411199092865, -0.5062912106513977, 0.028770333155989647, 0.4164431393146515, 0.22980861365795135, 0.25879257917404175, -0.1220085471868515, 0.021227072924375534, -0.49655696749687195, -0.07047274708747864, -0.3672427833080292, 0.5634331107139587, 0.3255169093608856, 0.09468352049589157, 0.3407750725746155, -0.6671441793441772, 0.1614866703748703, -0.04394020512700081, -0.5089111924171448, -0.24783071875572205, -0.35296717286109924, 0.056403689086437225, -0.10943653434515, 0.4611760675907135, -0.05328396335244179, 0.24016010761260986, -0.6016047596931458, -0.033309455960989, 0.7553499937057495, -0.16390326619148254, 0.8911899328231812, -0.2175302952528, 0.536429762840271, -0.2840816378593445, 0.13617245852947235, -0.7847266793251038, -0.032160434871912, -0.7909353971481323, -0.23585523664951324, 0.20310965180397034, 0.5019521117210388, -0.3249852955341339, 0.6462387442588806, 0.004205739125609398, -0.03387852758169174, -0.300128698348999, 0.3726538419723511, 0.7885726690292358, 0.40970566868782043, 0.3330693244934082, -0.17168109118938446, -0.4810198247432709, -0.6507788300514221, -0.39275386929512024, 0.1598329097032547, 0.11649899184703827, 0.30674561858177185, 0.074678935110569, -0.019467193633317947, 0.5000321865081787, -0.7494016885757446, -0.4780104160308838, -0.431661993265152, 0.1651715785264969, 0.19838112592697144, 0.39532697200775146, 0.16319577395915985, -0.678916871547699, -0.5537223219871521, 0.1565513014793396, -0.6061491370201111, -0.07661911100149155, -0.2573535740375519, -0.47850167751312256, 0.21446341276168823, 0.7217463254928589, -0.5817669034004211, 0.3085176348686218, 0.2051367610692978, -0.23290365934371948, 0.46254289150238037, -0.6831635236740112, -0.20653337240219116, -1.320579171180725, -0.25723138451576233, -0.1372995227575302, -0.15909966826438904, -0.48683804273605347, 0.22633954882621765, 0.7090988755226135, -0.09134893864393234, -0.47321444749832153, 0.6747070550918579, -1.0046314001083374, -0.07317592203617096, -0.37784773111343384, 0.3049388527870178, 0.5798748135566711, 0.40016016364097595, 0.004219749942421913, 0.7591022849082947, -0.05693890154361725, -0.24244484305381775, -0.16461415588855743, 0.33829307556152344, -0.45381784439086914, 0.5607937574386597, 0.08192822337150574, 0.4381542205810547, -0.22536559402942657, 0.48515424132347107, -0.8655417561531067, -0.22965870797634125, -0.03831549361348152, -0.09376928210258484, 0.8063175678253174, -0.20363391935825348, -0.43590226769447327, -0.2530238926410675, -0.38302725553512573, -0.09931527078151703, 0.12551862001419067, -0.6204184293746948, 0.8146638870239258, 0.14061179757118225, 0.14897160232067108, -0.5132154822349548, -0.43309423327445984, -0.19668073952198029, -0.29324546456336975, -0.7724767327308655, 0.4639948308467865, -0.057425059378147125, -0.13554076850414276, -0.3994496464729309, -0.54642653465271, -0.03216426447033882, 0.18848924338817596, 0.255825012922287, 0.11437752842903137, -0.2524559199810028, 0.20663408935070038, 0.2379477322101593, -0.14113521575927734, -0.0013514599995687604, -0.6028020977973938, 0.8079869151115417, 0.13079527020454407, -0.4951201379299164, -0.3448495864868164, 0.16999602317810059, 0.3216820955276489, -0.4602656662464142, 0.7018924355506897, 0.829939067363739, -0.14729663729667664, -0.4429462254047394, -0.6510947346687317, 0.13864028453826904, -0.5014829039573669, 0.4844237267971039, -0.3893899917602539, -0.7241312265396118, 0.2806851267814636, -0.3867541551589966, 0.14673128724098206, 0.14443747699260712, 0.5435694456100464, -0.4799591898918152, 0.714684009552002, 0.6661993265151978, -0.03633040934801102, 0.6015329957008362, -0.3272957503795624, 0.06132331117987633, -1.011529564857483, -0.30525705218315125, -0.475132018327713, -0.3369848132133484, -0.2272835671901703, -0.7536581158638, 0.14375536143779755, 0.31397607922554016, -0.15042230486869812, 0.009746739640831947, -0.258005291223526, 0.9280454516410828, 0.4194300174713135, 0.07192879915237427, 0.48137882351875305, -0.04695228114724159, -0.3162543773651123, 0.18924732506275177, -0.4696660041809082, -0.647495448589325, 0.6969624757766724, 0.29015201330184937, 1.1529394388198853, -0.09785860031843185, 0.6701863408088684, 0.018113331869244576, 0.12918312847614288, -0.744909942150116, 0.3907308578491211, -0.2768550217151642, -0.18135231733322144, -0.22393879294395447, -0.14368730783462524, -0.7634238004684448, 0.3665953576564789, 0.1935715526342392, -0.7437039017677307, -0.2632129490375519, 0.28010740876197815, -0.07867441326379776, 0.2538321912288666, -0.9734739661216736, 0.8869274258613586, -0.6448065042495728, -0.20615927875041962, -0.23060518503189087, -0.4489392042160034, 0.23898738622665405, -0.05312284082174301, 0.25052139163017273, 0.1252036690711975, 0.24347887933254242, 0.4939640462398529, -0.4732796251773834, 0.6354438066482544, -0.0766618549823761, -0.4508514702320099, -0.1073864996433258, 0.10465166717767715, 0.5520744323730469, 0.172471821308136, -0.14872370660305023, -0.32091885805130005, -0.3062897324562073, -0.2387724071741104, -0.787140965461731, 0.8344899415969849, -0.8421568870544434, -0.8612576723098755, 0.09550929814577103, -0.8680529594421387, -0.2135753482580185, 0.466302752494812, 0.33965903520584106, 0.46978268027305603, -0.3469950258731842, 0.1692074090242386, 1.1397188901901245, -0.34989988803863525, 0.24432678520679474, 0.5159187912940979, -0.4113875925540924, -0.1635226160287857, 0.7854599356651306, -0.20193302631378174, -0.0314708910882473, 1.0882854461669922, 0.11439945548772812, -0.4417128562927246, -0.7476794719696045, -0.5090934038162231, 0.12531544268131256, -0.7402426600456238, -0.14201121032238007, -0.8251453638076782, -0.31578582525253296, -0.14549797773361206, -0.3849903345108032, -0.13706311583518982, -0.23872743546962738, -0.35697680711746216, -0.12655028700828552, -0.009486040100455284, 0.5745020508766174, 0.44299376010894775, 0.5486322641372681, -0.576366662979126, 0.2964133024215698, 0.1801673024892807, 0.5024228096008301, -0.04150965437293053, -0.6964693665504456, -0.614921510219574, -0.13366113603115082, -0.6536898016929626, -0.5649033188819885, 0.14111065864562988, 0.08016122877597809, 0.6426125764846802, 0.5375000834465027, -0.28860411047935486, 0.7320849895477295, -0.530360996723175, 0.12244872003793716, -0.09550874680280685, -0.8621013760566711, 0.9104236960411072, -0.40452340245246887, 0.5668409466743469, 0.4443003237247467, 0.07916206866502762, -0.3955572545528412, -0.3235161006450653, -0.25295019149780273, -0.5880962014198303, 0.9911381602287292, 0.08905439078807831, -0.032521698623895645, 0.4626729488372803, 0.42131897807121277, 0.10210748016834259, 0.015302415937185287, -0.35997575521469116, 0.04514284431934357, -0.1387069970369339, -0.3387703597545624, 0.05928665027022362, -0.15193429589271545, -0.06983713060617447, -0.10858182609081268, 0.5150030255317688, -0.18509230017662048, -0.021810589358210564, -0.11961696296930313, -0.70759117603302, -0.02455439232289791, 0.3820393681526184, 0.857415497303009, 1.0018234252929688, -0.4018329679965973, 0.11114713549613953, 0.21295391023159027, -0.7105733156204224, 0.04557833448052406, 0.07383314520120621, 0.0015894774114713073, -0.19944041967391968, 0.6321074366569519, 1.1081950664520264, 0.18613359332084656, -0.23429714143276215, 0.23526343703269958, -0.23299723863601685, -0.42095381021499634, -0.07658910751342773, 0.31147265434265137, 0.3750244975090027, 0.07814183086156845, 0.11048851907253265, -0.288421094417572, -0.14754967391490936, -0.2945846617221832, 0.05589868873357773, 0.4382183253765106, -0.32965245842933655, -0.0444391593337059, 0.4040912687778473, 0.24273459613323212, -0.5607323050498962, 0.5757864117622375, -0.006608925759792328, -0.2995434105396271, 0.7167413234710693, 0.7643617391586304, 0.71729576587677, -0.07588529586791992, 0.24961645901203156, -0.043778471648693085, 0.3451381027698517, 0.23442238569259644, 0.09397909790277481, -0.24825376272201538, -0.6999357342720032, -0.5038670301437378, -0.8917639255523682, -0.41469138860702515, 0.31138449907302856, -0.5511103868484497, 0.17426040768623352, -0.628288209438324, 0.4254794418811798, -0.10160297900438309, 0.2756161391735077, -0.5674254298210144, 0.27733492851257324, 0.24421775341033936, 1.2782678604125977, -0.4372791349887848, 0.9180780649185181, 0.9357497096061707, 0.09300417453050613, -0.8051527738571167, 0.39447125792503357, 0.028857966884970665, -0.956004798412323, 0.40172719955444336, 0.47910019755363464, -0.20931939780712128, 0.05841450393199921, -0.18501994013786316, -0.5102647542953491, 1.0973849296569824, 0.17671753466129303, -0.6462963223457336, -0.08290474861860275, 0.011371213011443615, 0.47095242142677307, -0.4586135447025299, 0.2892971336841583, 0.4083064794540405, 0.5910098552703857, 0.13033956289291382, -0.5621216893196106, -0.08920638263225555, -0.19848209619522095, 0.20843741297721863, 0.45626479387283325, -0.7228366732597351, 0.49145177006721497, -0.1455843299627304, -0.12256940454244614, 0.06557663530111313, 0.5040761828422546, 0.3789404630661011, 0.3723190724849701, 0.407370924949646, 0.6444501876831055, 0.9914723634719849, -0.04869444668292999, 0.9231171607971191, -0.30216798186302185, 0.1512080878019333, 1.4403269290924072, -0.2709137797355652, 0.3237369954586029, 0.23951873183250427, 0.04181164130568504, 0.21314121782779694, 0.676555871963501, 0.24866077303886414, 0.4621700644493103, 0.22101923823356628, 0.08525798469781876, -0.3692724108695984, 0.23371586203575134, -0.4764287769794464, 0.4822145402431488, 0.5540068745613098, -0.6636817455291748, -0.25709712505340576, -0.044682446867227554, 0.06389856338500977, 0.19313721358776093, -0.3700590431690216, 1.092098593711853, 0.15967530012130737, -0.3644830882549286, 0.34133705496788025, 0.1799391806125641, 0.3377193212509155, -0.5098100304603577, 0.15017324686050415, -0.5967609286308289, 0.30824771523475647, -0.2311808168888092, -0.9224375486373901, 0.11234673857688904, -0.2280912846326828, -0.4824501574039459, -0.6324963569641113, 0.8603314161300659, -0.3203459084033966, -0.5792334675788879, 0.23620060086250305, 0.5517909526824951, -0.1929721087217331, -0.10171391069889069, -0.5002989172935486, 0.16026560962200165, 0.06897249817848206, -0.06732209771871567, 0.6543763279914856, 0.7051166892051697, -0.12777487933635712, 0.35837215185165405, 0.476449579000473, -0.12422528862953186, -0.035288531333208084, 0.5111243724822998, 0.7825266718864441, -0.5128079056739807, -0.7461753487586975, -0.888702392578125, 0.26509562134742737, -0.2448243647813797, -0.05464717745780945, 0.7378242611885071, 0.8317340016365051, 0.8024331331253052, -0.047582823783159256, 0.5433770418167114, 0.62331223487854, 0.22862954437732697, -1.0914191007614136, 1.0584490299224854, -0.5292586088180542, 0.2738547921180725, -0.27741682529449463, -1.147902488708496, -0.3355158865451813, 0.661350429058075, -0.5426802039146423, -0.06380830705165863, 0.801243007183075, 0.7032251954078674, -0.3239167034626007, 0.16323643922805786, 0.33209410309791565, 0.21698778867721558, 0.28065064549446106, 0.24993181228637695, 0.8702431917190552, 0.0025140789803117514, 0.5160068273544312, -0.10724842548370361, -0.16634643077850342, -0.33291712403297424, -0.7360267639160156, -1.0936176776885986, -0.22993674874305725, -0.06439216434955597, -0.021139949560165405, 0.12946312129497528, 0.5219882726669312, 0.7207704186439514, -0.46446460485458374, -0.21949918568134308, -0.016420813277363777, 0.5884140133857727, 0.12105116993188858, -0.19322632253170013, 0.6400085687637329, -0.5576789975166321, -0.5016005039215088, 0.4329991936683655, 0.7680928111076355, -0.12005358934402466, -0.2130737155675888, -0.17184431850910187, -0.16143059730529785, 0.006063646636903286, 0.571516215801239, -0.11837869137525558, -0.6339122653007507, 0.18670141696929932, -0.01930752396583557, -0.15471328794956207, 0.27361100912094116, 0.9271125793457031, -0.24027661979198456, 0.5087214708328247, 0.4653155505657196, 0.5566774606704712, 0.6436308026313782, 0.2400347739458084, 0.517657458782196, -1.0302550792694092, 0.2610531747341156, -0.21538010239601135, 0.46088647842407227, 0.2614006996154785, -0.6618441939353943, 0.346497118473053, -0.21436375379562378, -0.3235374987125397, -0.3947131335735321, 0.19366003572940826, -0.8462616205215454, -0.40948486328125, 0.8786598443984985, -0.16106072068214417, -0.38022470474243164, 0.08038097620010376, -0.6005210280418396, 0.24355663359165192, -0.19375666975975037, 0.6737023591995239, 0.6431072950363159, -0.15019108355045319, -0.36157873272895813, -0.18477612733840942, 0.27217209339141846, 0.41481664776802063, -1.0851948261260986, 0.018096603453159332, 0.40260279178619385, -0.10926485061645508, 0.1951897144317627, 0.6284525990486145, 0.01176479086279869, 0.15260206162929535, -0.4170868694782257, -0.24115848541259766, -0.2875194549560547, -0.38876232504844666, -0.06593628227710724, 0.12256061285734177, 0.05286835879087448, -0.16416044533252716 ]
http://arxiv.org/abs/2404.05221v1
http://arxiv.org/pdf/2404.05221v1
LLM Reasoners: New Evaluation, Library, and Analysis of Step-by-Step Reasoning with Large Language Models
2024-04-08T06:35:09
2024-04-08T06:35:09
Shibo Hao, Yi Gu, Haotian Luo, Tianyang Liu, Xiyan Shao, Xinyuan Wang, Shuhua Xie, Haodi Ma, Adithya Samavedhi, Qiyue Gao, Zhen Wang, Zhiting Hu
cs.CL
cs.CL, cs.AI
Generating accurate step-by-step reasoning is essential for Large Language Models (LLMs) to address complex problems and enhance robustness and interpretability. Despite the flux of research on developing advanced reasoning approaches, systematically analyzing the diverse LLMs and reasoning strategies in generating reasoning chains remains a significant challenge. The difficulties stem from the lack of two key elements: (1) an automatic method for evaluating the generated reasoning chains on different tasks, and (2) a unified formalism and implementation of the diverse reasoning approaches for systematic comparison. This paper aims to close the gap: (1) We introduce AutoRace for fully automated reasoning chain evaluation. Existing metrics rely on expensive human annotations or pre-defined LLM prompts not adaptable to different tasks. In contrast, AutoRace automatically creates detailed evaluation criteria tailored for each task, and uses GPT-4 for accurate evaluation following the criteria. (2) We develop LLM Reasoners, a library for standardized modular implementation of existing and new reasoning algorithms, under a unified formulation of the search, reward, and world model components. With the new evaluation and library, (3) we conduct extensive study of different reasoning approaches (e.g., CoT, ToT, RAP). The analysis reveals interesting findings about different factors contributing to reasoning, including the reward-guidance, breadth-vs-depth in search, world model, and prompt formats, etc.
[ -0.38976672291755676, -0.6127673387527466, 0.9826151132583618, 0.08479245752096176, -0.11667764186859131, 0.1495295763015747, -0.04942392557859421, -0.29383009672164917, -0.10741134732961655, 0.3605266511440277, -0.6124832034111023, -0.4762708246707916, -0.46833932399749756, 0.2686085104942322, -0.4316675662994385, 0.6824564337730408, -0.46820902824401855, -0.09519866853952408, -0.2731510102748871, -0.021115664392709732, -0.3232583701610565, -0.35710135102272034, -0.5784282684326172, -0.4900817275047302, 0.6204127073287964, 0.3384968042373657, 0.5401523113250732, 0.5855872631072998, 0.49449220299720764, 0.3686503469944, 0.05436280742287636, 0.3337770402431488, -0.02160036563873291, 0.32687658071517944, -0.4143543243408203, -0.14427568018436432, -0.48081400990486145, 0.0012095043202862144, 0.2824231684207916, 0.377673864364624, -0.045235153287649155, 0.4198240041732788, -0.23288951814174652, 0.72198086977005, -0.6657281517982483, 0.04637502506375313, -0.5331141352653503, -0.01602381467819214, -0.05351482331752777, -0.49192872643470764, -0.3996886610984802, -0.29446467757225037, 0.11392231285572052, -0.5154154896736145, 0.030801132321357727, 0.19935715198516846, 0.4758587181568146, 0.5486730337142944, -0.5722352266311646, -0.758823812007904, -0.6599823832511902, 0.7053254842758179, -0.8003808856010437, 0.2744636535644531, -0.030941825360059738, 0.4420327842235565, -0.40081986784935, -0.6982095241546631, -0.4162900447845459, -0.4784211218357086, 0.048485055565834045, -0.030488213524222374, -0.2226942479610443, 0.019720271229743958, 0.3043918013572693, 0.5063908100128174, -0.5343530178070068, 0.14318327605724335, -0.08197959512472153, -0.2059156894683838, 0.8176538944244385, 0.35595980286598206, 0.43710097670555115, -0.1665496826171875, -0.21809889376163483, -0.007168466225266457, -0.5887652039527893, -0.08214076608419418, 0.44496291875839233, -0.1391976922750473, 0.14360029995441437, 0.5916996598243713, -0.3621861934661865, 0.7898621559143066, 0.13526111841201782, -0.1956542283296585, 0.007211298681795597, -0.36907798051834106, -0.2261148989200592, -0.16120727360248566, 0.9244272112846375, 0.1878204643726349, 0.29050785303115845, -0.22377242147922516, -0.3698205053806305, -0.0874498188495636, 0.14578877389431, -0.7261309623718262, -0.4040306806564331, 0.34977424144744873, -0.4311407208442688, -0.311309814453125, -0.09701863676309586, -0.48840588331222534, -0.32054266333580017, -0.7237503528594971, 0.28192782402038574, -0.22883886098861694, -0.11849620938301086, 0.2517692744731903, -0.02380663901567459, 0.39079511165618896, 0.6893870830535889, -0.5813930034637451, 0.3410911560058594, 0.6263971924781799, 0.6371632218360901, -0.5450034141540527, -0.4281103014945984, -0.5559337735176086, 0.04260968416929245, -0.33469799160957336, 1.1166621446609497, -0.42832469940185547, -0.053329020738601685, -0.25341424345970154, -0.09298495948314667, -0.040327202528715134, -0.4381364583969116, 0.6527533531188965, -0.5086872577667236, 0.16264790296554565, -0.38064339756965637, -0.6439900994300842, -0.17011769115924835, 0.551656186580658, -0.645565390586853, 1.1016967296600342, -0.21389240026474, -0.7636579275131226, 0.2769660949707031, -0.7933229804039001, -0.4309121370315552, 0.03105938993394375, -0.1829155683517456, 0.07623088359832764, 0.22744837403297424, 0.3842812776565552, 0.26224327087402344, -0.7651032209396362, 0.45649808645248413, -0.13094434142112732, -0.21516193449497223, 0.2699704170227051, -0.512887716293335, 0.9671415686607361, 0.31013861298561096, -0.5769385695457458, 0.5688858032226562, -0.8187811374664307, 0.05563513934612274, 0.24157844483852386, -0.33420124650001526, -0.16155926883220673, 0.25651249289512634, -0.41554707288742065, 0.2919144332408905, 0.3880557119846344, -0.23849977552890778, 0.31063732504844666, -0.0820554867386818, 0.33968353271484375, 0.8188624978065491, -0.03672439232468605, 0.2675906717777252, -0.004343422129750252, 0.7118073105812073, -0.22667554020881653, 0.3015173077583313, -0.38368093967437744, -0.3405689597129822, -0.9462643265724182, -0.0733257532119751, 0.1454431414604187, 0.6611239314079285, -0.4786320924758911, 0.5981630086898804, 0.021465998142957687, -0.593128502368927, -0.2954252064228058, 0.19744746387004852, 0.3021586537361145, 0.18307974934577942, 0.4343557059764862, -0.25419914722442627, -0.5576151013374329, -0.7158719301223755, -0.37846800684928894, -0.34635716676712036, 0.025924712419509888, 0.053617555648088455, 0.6106166243553162, -0.45305174589157104, 0.8414941430091858, -0.17593376338481903, 0.33060696721076965, -0.34298864006996155, 0.13350382447242737, 0.12479675561189651, 0.19757840037345886, 0.0987747311592102, -0.2586517632007599, -0.1845298409461975, -0.0700128898024559, -0.7979073524475098, -0.35267964005470276, -0.15873552858829498, -0.24804550409317017, 0.1549091339111328, 0.5367600321769714, -0.4888533353805542, 0.12507875263690948, 0.3611966669559479, -0.4766746461391449, 0.8529137372970581, -0.2480369657278061, 0.094035804271698, -0.6509544849395752, 0.11625438183546066, 0.002853025682270527, -0.20363686978816986, -0.2971498668193817, 0.2735675275325775, -0.21849769353866577, 0.06567686051130295, -0.08620872348546982, 0.7134389281272888, -0.6099294424057007, -0.14733606576919556, -0.265405535697937, 0.16348160803318024, 0.03804934397339821, 0.18849268555641174, -0.12736836075782776, 0.4771021604537964, 0.5601496696472168, -0.6290415525436401, 0.7384757399559021, -0.0716409832239151, -0.23212823271751404, 0.31169024109840393, -0.6742695569992065, 0.33240967988967896, 0.14418219029903412, 0.47268402576446533, -0.9983804821968079, -0.17627054452896118, 0.303994745016098, -0.28396230936050415, 0.07067844271659851, -0.11761204898357391, -0.7187930941581726, -0.6675981283187866, -0.10867360979318619, 0.46535471081733704, 0.3913029134273529, -0.6542469263076782, 0.6254811882972717, 0.2884744703769684, -0.0586501844227314, -0.5194700956344604, -0.30692964792251587, 0.21819669008255005, -0.20596612989902496, -0.5275712013244629, -0.06243181973695755, -0.34210923314094543, -0.6067799925804138, -0.09146147966384888, -0.4530073404312134, 0.05693565681576729, 0.1860942244529724, 0.008698894642293453, 0.22849565744400024, -0.08741410076618195, -0.07107073813676834, 0.0401671938598156, -0.4974573254585266, 0.4991234242916107, -0.5682218074798584, 0.3350653350353241, -0.33745208382606506, -0.7174471020698547, -0.30361655354499817, 0.08207925409078598, 0.6158550977706909, -0.35707396268844604, -0.02384495548903942, 0.44138726592063904, -0.004546838346868753, -0.2639103829860687, -0.8138022422790527, 0.03376232087612152, -0.4238741993904114, 0.02233596332371235, -0.4177529811859131, -0.9063949584960938, 0.36239296197891235, -0.2555938959121704, 0.22067397832870483, 0.5601198077201843, 0.8652505874633789, 0.09689903259277344, 0.9193721413612366, 0.19666513800621033, -0.005721806548535824, -0.10746161639690399, 0.08211676776409149, 0.30953142046928406, -0.5431749224662781, -0.2701044976711273, -0.3925767242908478, -0.15585173666477203, -0.36435359716415405, -0.7131440043449402, 0.04624393209815025, 0.12122034281492233, -0.2921554744243622, 0.12064321339130402, -0.6915023922920227, 0.632382333278656, 0.25396037101745605, -0.39791804552078247, 0.6435261964797974, -0.04257062450051308, -0.5209125876426697, 0.2572243809700012, -0.6237139701843262, -0.6790024042129517, 1.0176966190338135, 0.41202640533447266, 0.8456422090530396, -0.16793788969516754, 0.8398071527481079, 0.2395712286233902, 0.3897830545902252, -0.9619953036308289, 0.7174601554870605, 0.14455360174179077, -0.5174798369407654, -0.19899818301200867, -0.5116066932678223, -0.6150464415550232, 0.2758876383304596, 0.22633543610572815, -0.6002798676490784, -0.04062441736459732, 0.21267712116241455, -0.1917385756969452, 0.2836570143699646, -0.34524816274642944, 0.8555811047554016, -0.6636275053024292, -0.2222343534231186, -0.07564283162355423, -0.59044349193573, 0.5453090071678162, 0.056172583252191544, 0.24416658282279968, -0.2769358456134796, 0.11481938511133194, 0.5780466198921204, -0.6427217125892639, 0.5824915170669556, -0.1355929672718048, -0.5019784569740295, 0.6324124932289124, 0.39354208111763, 0.6331257224082947, -0.07436122745275497, -0.099895179271698, -0.13694775104522705, 0.0014714474091306329, -0.15866625308990479, -0.6392386555671692, 0.6405864953994751, -0.33961722254753113, -0.6980319023132324, -0.5083306431770325, -0.7073390483856201, -0.037201181054115295, 0.14485464990139008, 0.07445239275693893, 0.3168209195137024, -0.0680624395608902, -0.27781030535697937, 0.5892909169197083, -0.21775035560131073, 0.30482059717178345, 0.5720638036727905, -0.4781951308250427, -0.36835727095603943, 0.7198610305786133, -0.20645615458488464, 0.11506035923957825, 0.27435871958732605, 0.27562829852104187, -0.39909255504608154, -0.6006702184677124, -0.6560569405555725, 0.21187491714954376, -0.9138309955596924, -0.08487745374441147, -0.46306103467941284, -0.07693219184875488, -0.041461341083049774, -0.06867751479148865, -0.40314579010009766, -0.4419185221195221, 0.1904481202363968, -0.08912070840597153, 0.3885640501976013, 0.9280208945274353, -0.11507700383663177, -0.09050771594047546, -0.5135763883590698, 0.35435476899147034, 0.4437183141708374, 0.11601289361715317, 0.1954748034477234, -0.3679437041282654, -0.13372457027435303, -0.4413089156150818, -0.3466857075691223, -0.8047868013381958, 0.12237465381622314, -0.2741345167160034, 0.7384275794029236, 0.08697871118783951, -0.07707303017377853, 0.799220860004425, -0.5291350483894348, 0.5247695446014404, 0.13398508727550507, -1.1042875051498413, 0.627633273601532, -0.18628297746181488, 0.18747708201408386, 0.4798452854156494, 0.304522842168808, -0.29873159527778625, -0.3135561943054199, -0.5672990083694458, -1.021070122718811, 0.3996051251888275, 0.21749946475028992, -0.35249224305152893, -0.06380584090948105, 0.38960957527160645, 0.12658126652240753, -0.10100551694631577, -0.788363516330719, -0.27817970514297485, -0.052291110157966614, -0.16221363842487335, 0.13772010803222656, -0.2110263854265213, -0.03134894743561745, -0.477265864610672, 0.6334018707275391, -0.2572057843208313, 0.10568647086620331, 0.25780174136161804, -0.3301527202129364, -0.16670584678649902, 0.4233205020427704, 0.20328882336616516, 0.8841447830200195, -0.027466237545013428, 0.26087087392807007, 0.1973843276500702, 0.04138201102614403, 0.4265284836292267, 0.20347365736961365, -0.23807191848754883, 0.03363342955708504, 0.36783021688461304, 0.7058363556861877, 0.0802248865365982, -0.8521291613578796, 0.33056607842445374, -0.09046884626150131, -0.22158057987689972, -0.4764549434185028, 0.11870540678501129, 0.18884725868701935, 0.3203775882720947, 0.29807859659194946, -0.08346430957317352, 0.4154629707336426, -0.3958641290664673, 0.1606212556362152, 0.3349410891532898, -0.2258714884519577, -0.25878670811653137, 0.5131688117980957, 0.13470177352428436, -0.15667541325092316, 0.4709598124027252, -0.6161211729049683, -0.4479121267795563, 0.5148450136184692, 0.51088547706604, 1.0434077978134155, -0.29345688223838806, 0.1877165138721466, 0.48653674125671387, 0.500602126121521, -0.28612232208251953, 0.16254915297031403, -0.23568210005760193, -0.5345954298973083, -0.9580278396606445, -0.7629728317260742, -0.5282610654830933, 0.08772769570350647, -0.515354573726654, 0.2102382928133011, -0.2706283926963806, 0.19771450757980347, -0.2880195081233978, -0.10228759050369263, -0.5214084386825562, 0.20270884037017822, 0.20838980376720428, 0.9748415350914001, -0.7076653242111206, 0.7512096166610718, 0.8273666501045227, -0.30224600434303284, -0.9014933705329895, 0.039178479462862015, 0.07383152097463608, -0.586178183555603, 0.6834830641746521, 0.1805722713470459, -0.31381869316101074, -0.04031806439161301, -0.39613574743270874, -0.8439291715621948, 1.0861234664916992, 0.2879657447338104, -0.7490813732147217, -0.19315968453884125, -0.04796589910984039, 0.3674514591693878, -0.5338375568389893, 0.5115496516227722, 0.9536574482917786, 0.7116128206253052, 0.34574058651924133, -0.9114922285079956, 0.3246098458766937, -0.3599693477153778, -0.17516781389713287, 0.21593907475471497, -0.18751581013202667, 0.6308674216270447, -0.3295435905456543, 0.021410122513771057, 0.1394062340259552, 0.4226280748844147, 0.8611459136009216, 0.3721590042114258, 0.5937729477882385, 0.7016891837120056, 0.852584183216095, 0.08566346019506454, 1.0855153799057007, -0.24645493924617767, 0.3860873281955719, 1.148984432220459, -0.378019779920578, 0.5107247233390808, 0.30551761388778687, -0.22301749885082245, 0.696147084236145, 0.6685060262680054, -0.10421120375394821, 0.05967678129673004, 0.5954784750938416, -0.035288628190755844, -0.5961486101150513, 0.3155456781387329, -0.09099502116441727, 0.27450916171073914, 0.29459261894226074, -0.20261543989181519, -0.444860577583313, -0.49569058418273926, -0.02973788045346737, -0.21937322616577148, -0.3066316545009613, 0.6150698661804199, 0.1536065936088562, -0.6773402690887451, 0.6096779704093933, -0.037673983722925186, 0.4466092586517334, -0.46006152033805847, 0.07181350141763687, -0.04814152419567108, 0.04489828646183014, -0.3300511837005615, -0.5995534658432007, 0.2928502857685089, 0.33813244104385376, 0.05338391661643982, -0.10642910748720169, 0.9370489120483398, 0.01248108223080635, -0.5839825868606567, 0.5495674014091492, 0.7078213691711426, 0.37549257278442383, -0.061685848981142044, -0.9886892437934875, 0.06140276417136192, 0.11785828322172165, -0.513529360294342, 0.023490404710173607, 0.7546062469482422, -0.14427641034126282, 0.8783906102180481, 0.7344934344291687, -0.04135654494166374, 0.12534275650978088, 0.2217409461736679, 0.7958901524543762, -0.9129173755645752, -0.14080806076526642, -1.09970223903656, 0.608177661895752, 0.06738700717687607, -0.19306792318820953, 0.8802635669708252, 0.6427072882652283, 0.5086595416069031, 0.10864557325839996, 0.9345762729644775, -0.14960306882858276, 0.3504512906074524, -0.5895631313323975, 0.2629725933074951, -0.6169050335884094, 0.4380923807621002, -0.24739329516887665, -1.025879144668579, -0.22707246243953705, 0.6305080652236938, -0.3645617663860321, 0.03061128966510296, 0.9855868816375732, 0.4671677052974701, -0.11336699873209, -0.07789469510316849, -0.012033077888190746, 0.30006277561187744, 0.4769894480705261, 0.5562052130699158, 1.126766562461853, -0.27766695618629456, 0.6146649718284607, 0.056580375880002975, -0.18092553317546844, -0.07521463185548782, -1.1590474843978882, -0.829291045665741, -0.2561686336994171, -0.45460253953933716, -0.20680555701255798, -0.0968799889087677, 0.9093940854072571, 0.35514435172080994, -0.7846224904060364, -0.515758752822876, -0.5667794942855835, 0.15428078174591064, -0.07784366607666016, -0.18146578967571259, 0.2799151837825775, -0.7700180411338806, -0.4145616590976715, 0.7261254191398621, 0.5723901391029358, -0.3564983308315277, -0.5352737903594971, -0.3715571463108063, 0.03201288357377052, 0.0559992790222168, 0.7034245133399963, 0.2555534839630127, -1.046791911125183, -0.022557007148861885, -0.043173596262931824, 0.10833890736103058, 0.029395749792456627, 1.0973217487335205, -0.7923877239227295, 0.41145414113998413, 0.5580633878707886, 0.5276784300804138, 0.49495425820350647, -0.15723979473114014, 0.6916288733482361, -0.07633624970912933, -0.19581350684165955, 0.17321419715881348, 0.47680580615997314, 0.3522771894931793, 0.023337502032518387, 0.6532983183860779, 0.17875775694847107, -0.882323145866394, -0.7175726890563965, 0.4419964849948883, -0.907660961151123, -0.3128701448440552, 1.2668637037277222, -0.13444657623767853, -0.18028615415096283, -0.17692750692367554, -0.18796806037425995, 0.2298714518547058, -0.22352401912212372, 0.6400215029716492, 0.6676760315895081, -0.36117157340049744, -0.09995973110198975, -0.5799322128295898, 0.3649553954601288, 0.30343854427337646, -1.0566208362579346, 0.21209000051021576, 0.676196813583374, 0.5208091139793396, 0.1333942413330078, 0.604038655757904, -0.2701134979724884, 0.13967497646808624, -0.2999313771724701, 0.19813323020935059, -0.0768168643116951, -0.43729206919670105, -0.21668794751167297, -0.03942640498280525, 0.4006192982196808, 0.3234395682811737 ]
http://arxiv.org/abs/2404.05210v1
http://arxiv.org/pdf/2404.05210v1
Bidirectional Long-Range Parser for Sequential Data Understanding
2024-04-08T05:45:03
2024-04-08T05:45:03
George Leotescu, Daniel Voinea, Alin-Ionut Popa
cs.CV
cs.CV, cs.CL, cs.LG
The transformer is a powerful data modelling framework responsible for remarkable performance on a wide range of tasks. However, they are limited in terms of scalability as it is suboptimal and inefficient to process long-sequence data. To this purpose we introduce BLRP (Bidirectional Long-Range Parser), a novel and versatile attention mechanism designed to increase performance and efficiency on long-sequence tasks. It leverages short and long range heuristics in the form of a local sliding window approach combined with a global bidirectional latent space synthesis technique. We show the benefits and versatility of our approach on vision and language domains by demonstrating competitive results against state-of-the-art methods on the Long-Range-Arena and CIFAR benchmarks together with ablations demonstrating the computational efficiency.
[ -0.21362406015396118, -0.3459537625312805, 0.4445412755012512, 0.5775544047355652, -0.26869019865989685, 0.11619020253419876, -0.29720982909202576, -0.4470619559288025, -0.15455447137355804, 0.2930768132209778, -0.4958052635192871, -0.19604498147964478, -0.4369280934333801, 0.00873496662825346, -0.4347788691520691, 0.7372003197669983, 0.140669584274292, -0.3192427456378937, -0.13790376484394073, -0.010521759279072285, -0.3925410211086273, -0.2433663010597229, -0.7322337627410889, -0.25571408867836, 0.829326868057251, 0.4922706186771393, 0.8619171977043152, 0.3347833454608917, 1.0983637571334839, 0.2572554349899292, -0.18163816630840302, -0.052600499242544174, -0.36669498682022095, 0.22458486258983612, -0.5826532244682312, -0.43809932470321655, -0.28521063923835754, -0.3658750057220459, 1.0637948513031006, 1.0677493810653687, 0.018480343744158745, 0.20642568171024323, 0.12747368216514587, 1.1946141719818115, -0.7627174854278564, 0.046381402760744095, -0.48460647463798523, 0.4091663062572479, -0.3653542101383209, -0.09329380095005035, -0.6912538409233093, -0.17031706869602203, 0.3014098107814789, -0.17426714301109314, 0.3797062337398529, -0.10550060868263245, 0.7226870656013489, 0.5842414498329163, -0.3331919312477112, 0.16151884198188782, -0.9183549284934998, 0.6284158229827881, -0.6091334223747253, 0.8082684278488159, -0.05223129317164421, 0.7275632619857788, 0.09018760174512863, -1.0866756439208984, -0.6075844168663025, 0.1074710488319397, -0.29854461550712585, 0.28265783190727234, -0.28106042742729187, -0.12403770536184311, 0.4592929184436798, 0.3258160650730133, -0.9537445306777954, 0.02666962333023548, -0.23339791595935822, 0.04470217600464821, 0.5194166898727417, 0.1193678006529808, -0.29650723934173584, -0.28449293971061707, -0.5313413739204407, -0.10528861731290817, -0.5877084732055664, 0.31385788321495056, 0.08277039974927902, 0.26147475838661194, -0.10589857399463654, 0.5674388408660889, -0.19276584684848785, 0.9686766266822815, 0.2720920741558075, 0.21874193847179413, 0.20573964715003967, -0.24302487075328827, -0.36648282408714294, -0.1182842031121254, 0.6540674567222595, 0.34939438104629517, -0.155920147895813, -0.20525230467319489, 0.007416272535920143, 0.1458810269832611, 0.25659310817718506, -0.8222709894180298, 0.048078637570142746, 0.23937465250492096, -0.41137439012527466, -0.18564370274543762, -0.11517051607370377, -1.0873068571090698, 0.15571507811546326, -0.15282705426216125, 0.039825309067964554, -0.2514992654323578, 0.08158987015485764, 0.3011702597141266, 0.01046269852668047, 0.4077129662036896, 0.23324309289455414, -0.8420107960700989, 0.1528715193271637, 0.6667079925537109, 0.9385648965835571, -0.37149736285209656, -0.25184065103530884, -0.7729785442352295, 0.4538336396217346, -0.12213025242090225, 0.7687331438064575, -0.6855440139770508, -0.3516325056552887, -0.19888724386692047, 0.04258935526013374, -0.19300882518291473, -0.5221386551856995, 0.6135293245315552, -0.7540435194969177, 0.23768317699432373, -0.08476578444242477, -0.19290614128112793, -0.0610499233007431, -0.04914727061986923, -0.5850783586502075, 0.9678374528884888, 0.14117199182510376, -0.8612279891967773, 0.24073641002178192, -0.8071930408477783, -0.7681074738502502, 0.2910808324813843, 0.09320706874132156, -0.4195738732814789, 0.2042248696088791, 0.17142507433891296, 0.4823978841304779, -0.1565408855676651, 0.552237331867218, 0.0034241562243551016, -0.14916309714317322, 0.2899278402328491, -0.6930414438247681, 0.4195048213005066, 0.23873329162597656, -0.27974265813827515, 0.09919903427362442, -0.9019198417663574, -0.32192838191986084, 0.039424195885658264, -0.3509039878845215, -0.1527475267648697, 0.26069214940071106, 0.13562478125095367, 0.3412375748157501, 0.38745105266571045, -0.4619150757789612, 0.18349884450435638, -0.7971601486206055, 0.39923906326293945, 0.6153616905212402, -0.2359035164117813, 0.5039527416229248, -0.11896764487028122, 0.31405767798423767, 0.3361310064792633, 0.1563824713230133, -0.4448392689228058, -0.34082135558128357, -0.6878575086593628, -0.1644057035446167, 0.15142878890037537, 0.7180523872375488, -0.8423539996147156, 0.44248655438423157, -0.5020438432693481, -0.18299713730812073, -0.5067636966705322, -0.11126139760017395, 0.23818746209144592, 0.7565429210662842, 0.4046238362789154, -0.4290723502635956, -0.48888349533081055, -1.01394522190094, -0.18605780601501465, 0.2182231843471527, -0.014356911182403564, 0.3010374903678894, 0.26231062412261963, -0.38957729935646057, 1.0873297452926636, -0.8318089246749878, -0.18778058886528015, -0.2720298171043396, 0.010130195878446102, 0.7010051608085632, 0.48716452717781067, 0.1979016214609146, -1.0798403024673462, -0.7106531262397766, 0.23779717087745667, -0.6644401550292969, -0.16093619167804718, -0.26457786560058594, -0.1969130039215088, 0.18713386356830597, 0.463570773601532, -0.9483487606048584, 0.5381357073783875, 0.4911806285381317, -0.3870610296726227, 0.2789352238178253, 0.09240851551294327, -0.01619151420891285, -1.0909502506256104, 0.4254308342933655, 0.04036076366901398, -0.49918636679649353, -0.7470130324363708, 0.21965733170509338, 0.18278391659259796, -0.3847484886646271, -0.5291128754615784, 0.31314706802368164, -0.2738228142261505, -0.4040042757987976, -0.14425183832645416, 0.12412458658218384, 0.17032572627067566, 0.44895240664482117, 0.34121695160865784, 0.8413707613945007, 0.4860018193721771, -0.18428604304790497, 0.43795788288116455, 0.3087099492549896, -0.1481366604566574, 0.45080432295799255, -0.7649115920066833, 0.20401594042778015, -0.379116415977478, 0.1639600694179535, -1.2523717880249023, -0.061228420585393906, 0.10644600540399551, -0.32244130969047546, 0.4963288903236389, -0.40890267491340637, -0.2830072045326233, -0.7419804334640503, -0.11594749242067337, 0.5716656446456909, 0.5755887031555176, -0.7066506147384644, 0.5820448994636536, -0.0690552368760109, -0.38424572348594666, -0.6831578016281128, -0.7145077586174011, 0.2361498475074768, -0.1182638630270958, -0.8253706097602844, 0.4750130772590637, -0.04486776888370514, -0.08389712125062943, -0.35168150067329407, 0.02788235805928707, 0.15857133269309998, -0.2937197983264923, 0.17355963587760925, 0.17632967233657837, -0.3040114939212799, -0.2441091686487198, 0.09525248408317566, -0.47087010741233826, -0.0980323851108551, -0.34859198331832886, 0.5726845860481262, -0.11532469093799591, -0.3455654978752136, -0.5407004356384277, 0.5436920523643494, 0.6511597037315369, -0.45717644691467285, 0.23635068535804749, 0.5093889832496643, -0.07852689176797867, -0.30223608016967773, -0.3566302955150604, 0.09788356721401215, -0.5885553359985352, 0.2294243723154068, -0.3566169738769531, -0.8012531399726868, 0.3431020677089691, -0.15417392551898956, 0.0028783660382032394, 0.1853049397468567, 0.6344760060310364, -0.07012177258729935, 0.8638005256652832, 0.5238059759140015, -0.15755635499954224, 0.3678939640522003, -0.22022058069705963, 0.5304648876190186, -0.8128803372383118, -0.06587553769350052, -0.3845345377922058, -0.36473944783210754, -0.26900073885917664, -0.8397616744041443, 0.4754301905632019, -0.21436259150505066, 0.057403046637773514, 0.15355677902698517, -0.6108404397964478, 0.5097301006317139, 0.40272700786590576, -0.003652521874755621, 0.2107411026954651, -0.04809432476758957, 0.09394656121730804, -0.1963263750076294, -0.5373093485832214, -0.20138366520404816, 0.7670411467552185, 0.5562114119529724, 0.7905490398406982, 0.1798393428325653, 0.48209908604621887, 0.3036203682422638, 0.000059668054745998234, -0.9295933246612549, 0.8034470081329346, -0.4630616307258606, -0.1068580225110054, -0.3836340308189392, -0.24668052792549133, -1.0724278688430786, 0.4589996635913849, 0.30406486988067627, -0.5644146800041199, 0.37881311774253845, 0.18893291056156158, -0.3573992848396301, 0.12021230906248093, -0.675257682800293, 0.780401349067688, -0.0036293300800025463, -0.9239425659179688, -0.17017094790935516, -1.109579086303711, 0.07909975200891495, 0.04802241548895836, -0.011795016005635262, 0.07818116247653961, 0.17000657320022583, 0.5045074820518494, -0.13696537911891937, 0.8182379603385925, -0.40817493200302124, -0.04830204322934151, -0.00929892249405384, 0.04241164028644562, 0.5884985327720642, 0.06178295239806175, 0.09386806190013885, 0.12452229112386703, -0.4429900050163269, -0.2852683663368225, -0.563679039478302, 0.4188975393772125, -0.2185623049736023, -0.6442739367485046, -0.4076966941356659, -0.7344921231269836, -0.306805282831192, 0.3247925341129303, -0.012675639241933823, 0.3338112235069275, 0.03693578019738197, 0.21231044828891754, 0.6090864539146423, -0.04601798579096794, 0.9939638376235962, 0.44509977102279663, -0.04460125416517258, -0.21043704450130463, 0.741014301776886, -0.24042527377605438, 0.22750844061374664, 0.8390288949012756, 0.08805304020643234, -0.27496686577796936, -0.5493428707122803, -0.3717249929904938, 0.2027926743030548, -0.6386483907699585, -0.27745312452316284, -0.40948471426963806, -0.3082088232040405, -0.3379719853401184, -0.4371829330921173, -0.337411493062973, -0.5024407505989075, -0.132790207862854, 0.18392841517925262, -0.1906619518995285, 0.3001105487346649, -0.16018642485141754, 0.4103144407272339, -0.8328068256378174, 0.6357648968696594, 0.511161208152771, 0.3336879312992096, -0.04574071243405342, -0.3859002888202667, -0.3798929452896118, -0.13959142565727234, -0.39271408319473267, -0.7317213416099548, 0.6606541275978088, 0.07549843192100525, 0.33181747794151306, 0.5101673603057861, -0.42043745517730713, 0.7294743061065674, -0.9571185111999512, 0.8163158893585205, 0.21579596400260925, -1.0514988899230957, 0.8559715747833252, -0.18180640041828156, 0.6933010816574097, 0.3887762427330017, 0.384825199842453, -0.5124214291572571, -0.3452208638191223, -0.23511673510074615, -0.9869404435157776, 0.673000156879425, 0.19693732261657715, -0.22296540439128876, 0.15190644562244415, 0.21678979694843292, 0.17255114018917084, 0.22336602210998535, -0.5300884246826172, -0.1702798306941986, -0.1762864738702774, -0.26664888858795166, -0.2741728127002716, -0.26731061935424805, 0.021770792081952095, -0.31210166215896606, 0.339046835899353, -0.35022294521331787, 0.39948326349258423, 0.37707966566085815, -0.22619931399822235, -0.17201484739780426, 0.41762539744377136, 0.5323184132575989, 0.6455823183059692, -0.1786225289106369, 0.1921430081129074, -0.1042320653796196, -0.62135249376297, -0.020561696961522102, 0.49632030725479126, -0.2550126016139984, 0.06754064559936523, 0.42696428298950195, 0.7619301676750183, 0.17324458062648773, -0.49752557277679443, 0.5880383253097534, 0.0383959598839283, 0.02791495807468891, -0.11932699382305145, -0.1554783433675766, 0.031153377145528793, 0.5917075872421265, 0.586207926273346, 0.20565341413021088, 0.47268620133399963, -0.21484823524951935, 0.31334128975868225, 0.24236585199832916, -0.05405530706048012, -0.4818555414676666, 0.7909355759620667, 0.12598413228988647, -0.31731387972831726, 0.46716633439064026, 0.17827656865119934, -0.40886247158050537, 0.47696226835250854, 0.6525363922119141, 0.8859831690788269, -0.37256529927253723, 0.10753059387207031, 0.07216067612171173, 0.038580309599637985, 0.17130258679389954, 0.38241565227508545, -0.5295681357383728, -0.6927868723869324, -0.7082239389419556, -0.8250983953475952, -0.42586731910705566, -0.2543875575065613, -0.8677250742912292, -0.015126200392842293, -0.341240257024765, -0.04380270838737488, 0.5914294123649597, -0.3424011468887329, -0.6432487964630127, 0.18945761024951935, 0.4140709936618805, 1.0306180715560913, -0.7064393162727356, 0.7948939800262451, 0.4866103231906891, -0.016154427081346512, -0.21174930036067963, 0.16510745882987976, -0.5110600590705872, -0.8567556142807007, 1.0985815525054932, 0.261145681142807, -0.17975975573062897, -0.02612941525876522, -0.4137541651725769, -0.91303950548172, 0.8548855185508728, 0.08309725672006607, -1.2148774862289429, -0.3556068241596222, 0.48942670226097107, 0.5885235071182251, -0.14021781086921692, -0.20200590789318085, 0.6733043789863586, 0.48102378845214844, 0.32712405920028687, -0.9837705492973328, -0.03217523172497749, -0.1290266513824463, 0.2383318990468979, 0.4340278208255768, -0.8028566241264343, 0.42867136001586914, -0.4016365706920624, -0.16923248767852783, -0.2635570764541626, 0.9185301661491394, -0.041499461978673935, 0.5360316634178162, 0.377118855714798, 0.8066808581352234, 0.3657403588294983, -0.08282680064439774, 0.6768943071365356, -0.3194052278995514, 0.4467543661594391, 1.0577515363693237, -0.7511013746261597, 1.0055464506149292, 0.8006333112716675, -0.4999600350856781, 0.5474417805671692, 0.09320331364870071, 0.022722378373146057, 0.9101974964141846, -0.10258682817220688, -0.44622620940208435, -0.08492405712604523, 0.28395891189575195, -0.033135052770376205, 0.49385902285575867, 0.481845498085022, -0.3281872868537903, -0.42870667576789856, 0.25727757811546326, -0.2731204628944397, -0.051949385553598404, -0.3003194332122803, 0.6938029527664185, 0.06675666570663452, -0.7485914826393127, 0.6273866295814514, -0.0649687722325325, 0.5282970070838928, -0.5314280986785889, -0.029978107661008835, -0.180572971701622, 0.35499176383018494, -0.26925376057624817, -1.1643285751342773, 0.678620457649231, -0.26158589124679565, -0.3787212371826172, -0.4382827877998352, 0.8266919851303101, -0.4706297814846039, -0.4645654261112213, 0.10313678532838821, 0.3167968988418579, -0.22741015255451202, 0.22353622317314148, -0.6265449523925781, 0.04608716443181038, 0.003412282792851329, -0.43874022364616394, 0.07993612438440323, 0.26901403069496155, 0.06238372251391411, 0.7448318004608154, 0.7744140625, 0.05206216499209404, -0.018854906782507896, 0.3161325454711914, 1.0167596340179443, -0.964902937412262, -0.792256772518158, -0.8062190413475037, 0.6835598349571228, -0.04787541553378105, -0.03795619308948517, 0.657273530960083, 0.8564375042915344, 0.6842528581619263, -0.126337930560112, 0.7077639698982239, 0.07257215678691864, 0.6052548289299011, -0.5455944538116455, 0.2058066576719284, -0.41074591875076294, 0.12320829182863235, -0.06603164225816727, -0.6835948824882507, -0.6084238290786743, 0.6169770359992981, -0.512418806552887, -0.26825231313705444, 0.7163550853729248, 0.6577461957931519, -0.297627329826355, -0.042066704481840134, 0.4842250943183899, 0.29241782426834106, 0.24900846183300018, 0.9555084705352783, 0.7999117374420166, -0.19141550362110138, 0.23860111832618713, -0.2884497046470642, -0.15532107651233673, -0.09385210275650024, -0.7671858072280884, -1.0298945903778076, -0.617053210735321, -0.05071413889527321, -0.16548843681812286, 0.1599585860967636, 0.48782089352607727, 0.7500059008598328, -0.5721244215965271, -0.2065766155719757, -0.006816052366048098, 0.10724005848169327, -0.08940546214580536, -0.3417172431945801, 0.4943360686302185, -0.38950157165527344, -0.6023504137992859, 0.584486722946167, 0.8724364638328552, -0.018304623663425446, -0.27575820684432983, 0.3273647725582123, -0.059291474521160126, -0.04186265543103218, 1.080782175064087, 0.23024871945381165, -0.4103805720806122, -0.23900043964385986, -0.225186288356781, 0.08313827961683273, 0.40934810042381287, 0.9242072701454163, -0.926137387752533, 0.23924238979816437, 0.5408803820610046, 0.5412762761116028, 0.8596339225769043, 0.07951431721448898, 0.3796391487121582, -0.8396471738815308, 0.5231927633285522, 0.4992809295654297, 0.46319377422332764, 0.4604822099208832, -0.605083703994751, 0.43986159563064575, 0.29416680335998535, -0.6696740984916687, -0.8898811936378479, 0.4936525821685791, -1.3250865936279297, -0.2268509566783905, 1.0258572101593018, -0.007647845894098282, -0.397500216960907, 0.008686849847435951, -0.1326451599597931, -0.11967434734106064, -0.357979416847229, 0.5231377482414246, 0.2735871970653534, -0.23728090524673462, -0.42312490940093994, -0.2662540376186371, 0.4443929195404053, 0.49375981092453003, -0.8600443601608276, 0.35837870836257935, 0.5566304922103882, 0.14353151619434357, 0.30751362442970276, 0.4948452413082123, -0.08573810011148453, 0.4418499767780304, -0.18255069851875305, -0.2649875283241272, 0.25011956691741943, -0.7229405045509338, -0.5566199421882629, 0.4476583003997803, -0.2134302258491516, -0.15479089319705963 ]
http://arxiv.org/abs/2404.05188v1
http://arxiv.org/pdf/2404.05188v1
Have You Merged My Model? On The Robustness of Large Language Model IP Protection Methods Against Model Merging
2024-04-08T04:30:33
2024-04-08T04:30:33
Tianshuo Cong, Delong Ran, Zesen Liu, Xinlei He, Jinyuan Liu, Yichen Gong, Qi Li, Anyu Wang, Xiaoyun Wang
cs.CR
cs.CR, cs.AI, cs.CL
Model merging is a promising lightweight model empowerment technique that does not rely on expensive computing devices (e.g., GPUs) or require the collection of specific training data. Instead, it involves editing different upstream model parameters to absorb their downstream task capabilities. However, uncertified model merging can infringe upon the Intellectual Property (IP) rights of the original upstream models. In this paper, we conduct the first study on the robustness of IP protection methods in model merging scenarios. We investigate two state-of-the-art IP protection techniques: Quantization Watermarking and Instructional Fingerprint, along with various advanced model merging technologies, such as Task Arithmetic, TIES-MERGING, and so on. Experimental results indicate that current Large Language Model (LLM) watermarking techniques cannot survive in the merged models, whereas model fingerprinting techniques can. Our research aims to highlight that model merging should be an indispensable consideration in the robustness assessment of model IP protection techniques, thereby promoting the healthy development of the open-source LLM community.
[ -0.6414093375205994, -0.6085748672485352, 0.2921103537082672, -0.16261599957942963, -0.546325147151947, 0.23694519698619843, 0.06694699078798294, -0.8717588782310486, -0.24820415675640106, 0.8746634721755981, -0.012955844402313232, -0.06954285502433777, -0.7657588720321655, -0.30363547801971436, -0.6882919073104858, 1.0563185214996338, 0.083966463804245, 0.14362090826034546, -0.3338019549846649, -0.2033492475748062, -0.3387487232685089, -0.8096873760223389, -0.5409303307533264, -0.10688280314207077, 0.08075105398893356, -0.13440623879432678, 0.49415716528892517, 0.5603448152542114, 0.7169802784919739, 0.39290010929107666, -0.4746800363063812, -0.003200474428012967, -0.17865081131458282, 0.27911320328712463, -0.2242857962846756, -0.45973777770996094, -0.5836372971534729, 0.08989407122135162, 0.5722272992134094, 0.7229493260383606, 0.06067279726266861, 0.23687811195850372, 0.47259578108787537, 0.4832835793495178, -1.005988597869873, -0.2170465737581253, -0.6101765036582947, 0.0521690770983696, -0.379292368888855, 0.22684597969055176, -0.445030152797699, -0.23441044986248016, -0.10461772233247757, 0.17885002493858337, -0.10619204491376877, -0.028043894097208977, 0.9113670587539673, 0.24107222259044647, -0.6509026288986206, 0.23395484685897827, -1.0938200950622559, 0.8313248157501221, -1.2321404218673706, 0.05259019508957863, 0.29864320158958435, 0.5192933678627014, 0.10689514130353928, -0.6784839630126953, -0.8017815351486206, -0.030985120683908463, 0.1661272943019867, -0.08141636103391647, -0.7395040392875671, 0.01633012294769287, 0.4480484426021576, 0.4830535054206848, -0.3001934885978699, 0.5182260274887085, -0.5778740048408508, -0.21299734711647034, 0.6052893996238708, -0.14023932814598083, 0.5099717378616333, 0.21542514860630035, -0.6859175562858582, -0.21848993003368378, -0.8696267604827881, 0.18114598095417023, 0.7913939356803894, 0.3317870497703552, -0.20760297775268555, 0.8758624792098999, -0.04529368132352829, 0.7550762295722961, -0.06290195137262344, -0.18173156678676605, -0.29665902256965637, -0.4227612614631653, -0.3096347153186798, -0.08539914339780807, 0.9519799947738647, 0.3390375077724457, 0.32595762610435486, -0.13651399314403534, -0.2903229296207428, -0.2748589813709259, 0.24898289144039154, -0.6542158126831055, 0.07531575858592987, 0.3525558412075043, -0.6490094065666199, -0.503434419631958, -0.08292781561613083, -0.5106129050254822, -0.34198611974716187, -0.1401567906141281, 0.3270435631275177, -0.2411632239818573, -0.6513296365737915, 0.04909491911530495, 0.031947117298841476, 0.4490620195865631, 0.2803538739681244, -0.7866129279136658, 0.35056930780410767, 1.1565613746643066, 0.8937661051750183, -0.10526701807975769, -0.19581785798072815, -0.5673234462738037, 0.14708028733730316, -0.17453701794147491, 0.6737681031227112, -0.15246640145778656, -0.444052129983902, 0.08488436043262482, -0.3216530978679657, -0.11625294387340546, -0.597213864326477, 0.20004211366176605, -0.9323971271514893, 0.38940346240997314, 0.07946829497814178, -0.7008169889450073, -0.17937615513801575, 0.24619296193122864, -0.9345664978027344, 0.510126531124115, -0.09158191829919815, -1.107326865196228, 0.1323092132806778, -0.3157501816749573, -0.2569032907485962, 0.23849241435527802, 0.15063373744487762, -0.5652396082878113, -0.010546366684138775, -0.0713038370013237, 0.41933122277259827, -0.3268466591835022, 0.27907484769821167, -0.7314865589141846, -0.12676861882209778, 0.43482086062431335, -0.6042520403862, 1.1689391136169434, 0.25629058480262756, -0.2753274738788605, 0.023312795907258987, -0.5346869826316833, 0.25533780455589294, -0.2544897496700287, -0.18999025225639343, -0.45238083600997925, -0.1754888892173767, -0.0018224159721285105, 0.23153819143772125, 0.4764610230922699, -0.3445441424846649, 0.42352548241615295, 0.024245131760835648, 0.5679233074188232, 0.5725314021110535, 0.004626967012882233, 0.5451251864433289, -0.4111425280570984, 0.6155001521110535, -0.009912127628922462, -0.01685013435781002, -0.10847113281488419, -0.7357102036476135, -0.5377475619316101, -0.3635152578353882, 0.8705395460128784, 0.6042773127555847, -0.4813412129878998, 0.6574083566665649, -0.4849824607372284, -0.6091556549072266, -0.3115047514438629, 0.18938422203063965, 0.5940898656845093, 0.31011971831321716, 0.2222377210855484, -0.48827046155929565, -0.23833999037742615, -0.8687970638275146, -0.22926978766918182, -0.5220007300376892, -0.26028743386268616, 0.08462531119585037, 0.484732061624527, 0.059656303375959396, 0.8144152164459229, -0.11088407784700394, -0.05542897805571556, -0.3019949793815613, 0.19646264612674713, -0.08446192741394043, 0.8657643795013428, 0.6079750061035156, -0.9269421100616455, -0.47923529148101807, 0.2288755476474762, -0.7165511846542358, -0.07487011700868607, 0.08179938793182373, -0.020930027589201927, 0.10095884650945663, 0.5347601771354675, -0.6502769589424133, 0.29040583968162537, 0.8335067629814148, -0.27441003918647766, 0.6230917572975159, -0.05356865003705025, 0.2535167336463928, -1.2930694818496704, -0.015919188037514687, -0.03951748088002205, -0.21792402863502502, -0.7258978486061096, 0.6230884194374084, 0.08362571895122528, -0.41553834080696106, -0.6273927092552185, 0.5388008952140808, -0.31540602445602417, 0.19000467658042908, -0.5047309994697571, -0.43320539593696594, -0.23953387141227722, -0.01031982060521841, -0.394638329744339, 0.6083226799964905, 0.7367185354232788, -0.4256877303123474, 0.20765992999076843, -0.055227335542440414, -0.37077170610427856, 0.6834500432014465, -0.6157122850418091, 0.2817245125770569, 0.14084406197071075, -0.16617809236049652, -1.031144618988037, -0.08089268952608109, 0.16973116993904114, -0.12017162144184113, 0.6733095049858093, -0.616363525390625, -0.44500666856765747, -0.16713061928749084, -0.277452290058136, 0.38138940930366516, 0.6393477916717529, -0.7227439284324646, 0.6983383297920227, 0.20403258502483368, -0.33100032806396484, -0.6371720433235168, -0.7830190062522888, 0.20607246458530426, -0.5524539351463318, -1.0107500553131104, 0.5180119872093201, -0.005780785344541073, -0.3055998384952545, 0.3642033636569977, 0.008935085497796535, -0.5673481822013855, 0.1400451511144638, 0.26970168948173523, 0.385460764169693, -0.2903781831264496, -0.5233181118965149, 0.2075435072183609, -0.0662141814827919, -0.24625355005264282, 0.053817372769117355, 0.42313113808631897, 0.14778365194797516, -0.592535674571991, -0.5897356271743774, 0.5144944190979004, 0.9356382489204407, -0.5858674645423889, 0.7673865556716919, 0.29598119854927063, -0.554597020149231, 0.04749467596411705, -0.7129183411598206, -0.07442009449005127, -0.4565727412700653, 0.09331219643354416, -0.09306328743696213, -1.2406409978866577, 0.5910540223121643, -0.1279839724302292, 0.12350855022668839, 0.10321477055549622, 0.1362399160861969, -0.14756108820438385, 1.0038434267044067, 0.976962149143219, -0.5843399167060852, 0.4190834164619446, -0.12078715860843658, 0.5396303534507751, -0.8785358667373657, 0.06845385581254959, -0.5512322187423706, -0.3493776023387909, -0.656035304069519, -0.1586907058954239, 0.002497259760275483, 0.47897499799728394, -0.20079311728477478, 0.4333218038082123, -0.2528684139251709, 0.47638243436813354, 0.6322133541107178, 0.09219197928905487, 0.4683108329772949, 0.14104439318180084, 0.18936018645763397, -0.2100502997636795, -0.40683457255363464, -0.6388668417930603, 1.0702017545700073, 0.3450345993041992, 0.5766627192497253, 0.18791842460632324, 0.8829583525657654, 0.25593408942222595, 0.3256222903728485, -0.4650300443172455, 0.7092347741127014, -0.2275887429714203, -0.6179155707359314, -0.27942973375320435, -0.4133339822292328, -0.7914279103279114, 0.48568692803382874, -0.466467946767807, -1.0670783519744873, 0.2275436818599701, 0.18951590359210968, -0.28133437037467957, 0.7678710222244263, -0.6067711710929871, 0.727762758731842, -0.314571350812912, -0.3906904458999634, -0.09116098284721375, -0.2964695394039154, 0.864090621471405, -0.4759674072265625, 0.1063527911901474, 0.0236665029078722, 0.13670925796031952, 0.5934740304946899, -0.712722659111023, 0.8652915358543396, -0.046484556049108505, -0.14967331290245056, 0.22312606871128082, 0.10651759803295135, 0.39672109484672546, -0.5392825603485107, 0.14316798746585846, 0.38279205560684204, -0.012361000292003155, -0.2410626858472824, -0.499737411737442, 0.5941745638847351, -0.3476760983467102, -0.7817045450210571, -0.33803418278694153, -0.23602166771888733, 0.03506070375442505, 0.49379485845565796, 0.3392273485660553, 0.2061493992805481, 0.23648080229759216, 0.4159429967403412, 0.3952827453613281, 0.06813791394233704, 0.5291347503662109, 0.5423706769943237, -0.08053578436374664, -0.5025114417076111, 0.727000892162323, 0.19091247022151947, 0.4034043550491333, 0.08139508217573166, 0.1637697070837021, -0.0058387042954564095, -0.8869647979736328, -0.13655796647071838, 0.1283682882785797, -0.5556431412696838, -0.4139477610588074, -0.3859710395336151, -0.49262237548828125, -0.22256512939929962, 0.07414582371711731, -0.48271340131759644, -0.2775534689426422, 0.22324912250041962, 0.07870280742645264, 0.05678920820355415, 0.5414602756500244, -0.01864449307322502, 0.5329408049583435, -1.0091215372085571, 0.02085094526410103, 0.5270557999610901, 0.18130725622177124, 0.13599072396755219, -0.3538769781589508, -0.17319463193416595, 0.1906379610300064, -0.38621315360069275, -0.9454489350318909, 0.34847286343574524, 0.014496090821921825, 0.5119984149932861, 0.5918910503387451, 0.11194682866334915, 0.471801221370697, -0.4327392280101776, 0.7562739849090576, 0.17604942619800568, -1.1122428178787231, 0.19785833358764648, -0.1877371221780777, 0.058619074523448944, 0.3725658655166626, 0.49035894870758057, -0.04138125851750374, -0.587309718132019, -0.5796886682510376, -0.9921913743019104, 0.20614458620548248, 0.24284911155700684, 0.23601655662059784, 0.5102347135543823, 0.17127475142478943, -0.32964465022087097, 0.3535124361515045, -0.9266383051872253, -0.035205211490392685, 0.2550560534000397, 0.12598620355129242, 0.3306054472923279, -0.27428802847862244, -0.4233741760253906, -0.11882205307483673, 0.44142717123031616, 0.16016364097595215, -0.14164887368679047, -0.5731041431427002, 0.10925628989934921, 0.007530053611844778, 0.16714856028556824, 0.10516611486673355, 0.2666204571723938, 0.0017180690774694085, 0.22299805283546448, -0.0668458491563797, -0.4580325782299042, 0.17772214114665985, 0.15988928079605103, -0.40365198254585266, -0.28235360980033875, 0.7182919383049011, 0.5586822628974915, 0.09730974584817886, -0.4432808756828308, 0.6388372182846069, -0.20573510229587555, -0.15456198155879974, 0.25411149859428406, 0.35813799500465393, -0.043691474944353104, 0.48778316378593445, 0.2379700243473053, 0.07580897957086563, 0.13133157789707184, -0.2784159779548645, -0.045310087502002716, 0.8586457371711731, -0.04521442577242851, -0.15885616838932037, 0.8436737060546875, -0.0229974202811718, -0.03377164155244827, 0.584246814250946, 0.01160203292965889, -0.7606776356697083, 0.5554929971694946, 0.5341079831123352, 1.0525877475738525, -0.4217410683631897, -0.20217053592205048, 0.2635699212551117, 0.40725627541542053, -0.33418673276901245, 0.007334122899919748, -0.28489506244659424, -0.8359016180038452, -0.6170369982719421, -0.25016993284225464, -0.7265576124191284, 0.25160887837409973, -0.837199866771698, 0.24311523139476776, -0.2563454210758209, -0.43887221813201904, 0.08515927195549011, -0.24325336515903473, -0.3303416967391968, 0.09542860090732574, 0.20135095715522766, 0.647207498550415, -1.0799765586853027, 0.9410985708236694, 0.5796130299568176, -0.07522884756326675, -0.8175824880599976, 0.14560134708881378, -0.10026302188634872, -0.23796701431274414, 0.5572872757911682, 0.20229928195476532, 0.1354658603668213, -0.14166775345802307, -0.7800414562225342, -0.8745601773262024, 1.0065075159072876, 0.6095418930053711, -0.42138227820396423, 0.15785615146160126, 0.1790941208600998, 0.4406048655509949, -0.19772405922412872, -0.23834653198719025, 0.301632285118103, 0.35247156023979187, -0.024013541638851166, -1.0290077924728394, 0.07821299135684967, -0.4148775339126587, -0.019300878047943115, 0.1697695404291153, -0.37680408358573914, 1.0065404176712036, -0.20113734900951385, -0.4375511109828949, 0.30304235219955444, 0.44098082184791565, 0.1318214237689972, 0.2170502245426178, 0.7265064120292664, 0.7053317427635193, 0.8001853227615356, -0.16703054308891296, 1.1525652408599854, -0.6588660478591919, 0.3910408914089203, 0.9847027063369751, -0.4626827538013458, 1.1987035274505615, 0.4016316831111908, -0.2531410753726959, 0.11822941899299622, 0.27572202682495117, -0.14443939924240112, 0.4760774075984955, -0.1647101193666458, -0.4898962080478668, -0.25851067900657654, 0.061939481645822525, -0.6543842554092407, 0.5486424565315247, -0.10683829337358475, -0.12194149941205978, -0.17027519643306732, 0.026420172303915024, 0.06318025290966034, 0.046509213745594025, -0.04494592174887657, 0.8172305822372437, -0.029545152559876442, -0.4983188807964325, 0.4423806369304657, -0.020558655261993408, 0.8421995639801025, -0.6669971346855164, 0.052943456918001175, -0.16505067050457, 0.09198424220085144, -0.17388391494750977, -0.7352109551429749, 0.2143842875957489, 0.1677418053150177, -0.004118188284337521, -0.15985450148582458, 0.8153771162033081, -0.558632493019104, -0.24187947809696198, 0.2549991309642792, 0.45167630910873413, 0.002719837473705411, -0.13411547243595123, -0.4407988488674164, 0.24991978704929352, -0.1256425976753235, 0.19249385595321655, 0.6035664677619934, 0.027181366458535194, -0.1515883505344391, 0.7667775750160217, 0.8115478157997131, 0.36021146178245544, 0.15227805078029633, -0.24733424186706543, 0.8225166201591492, -0.37271609902381897, -0.42047789692878723, -1.0114600658416748, 0.6752155423164368, -0.22638878226280212, 0.044831983745098114, 0.9589330554008484, 0.5027783513069153, 1.0099372863769531, -0.17238695919513702, 1.007917881011963, 0.09884835034608841, 0.1328245997428894, -0.6151059865951538, 1.1214576959609985, -0.4924424886703491, 0.34096112847328186, -0.18271134793758392, -1.1011632680892944, -0.16331250965595245, 0.21502038836479187, -0.10178487747907639, 0.08406607061624527, 0.26653236150741577, 0.5763891935348511, -0.1946083903312683, -0.24720598757266998, 0.42223644256591797, -0.15330034494400024, 0.4961404502391815, 0.3372810184955597, 0.7463668584823608, -0.33803656697273254, 0.2369987964630127, -0.6764647364616394, -0.2412305772304535, -0.05262908712029457, -1.1535379886627197, -0.79015052318573, -0.534436047077179, -0.7272191643714905, -0.4795342683792114, -0.011482524685561657, 0.4108407199382782, 0.8034967184066772, -0.8227116465568542, -0.22237549722194672, 0.14579015970230103, 0.19663558900356293, -0.18786774575710297, -0.12629416584968567, 0.17937125265598297, 0.08049478381872177, -1.075316071510315, 0.2067815661430359, 0.2550990581512451, 0.5995056629180908, -0.33153995871543884, 0.17442719638347626, -0.03747529536485672, 0.0021416821982711554, 0.31163161993026733, 0.677535891532898, -0.4126581847667694, -0.008809491991996765, -0.3478643298149109, -0.2576565444469452, -0.259302020072937, 0.7578073143959045, -0.2757539749145508, 0.7734062075614929, 0.6356796026229858, 0.8074809312820435, 0.06956981867551804, 0.17013706266880035, 0.7702592611312866, -0.5398687124252319, 0.29175999760627747, 0.061859216541051865, 0.7206894755363464, 0.5182463526725769, -0.1919889748096466, 0.3845331370830536, -0.080540232360363, -0.33308249711990356, -1.3269622325897217, 0.30125856399536133, -0.9327821731567383, 0.004468167666345835, 0.8938611149787903, -0.35234835743904114, -0.019060054793953896, 0.2834389805793762, -0.08264446258544922, 0.21050505340099335, 0.2688545882701874, 0.7666873335838318, 0.7505664825439453, 0.1578255444765091, -0.022554099559783936, -0.4616599678993225, 0.12989553809165955, 0.18371833860874176, -0.7928749322891235, -0.1786338984966278, 0.05120992287993431, 0.177272230386734, 0.2656955420970917, 0.03810390457510948, -0.23547181487083435, 0.28031715750694275, -0.04581806808710098, 0.1373184472322464, -0.2602446973323822, -0.09184613823890686, -0.7116289734840393, 0.1294383406639099, 0.40356090664863586, -0.3288826048374176 ]
http://arxiv.org/abs/2404.05182v1
http://arxiv.org/pdf/2404.05182v1
DLoRA: Distributed Parameter-Efficient Fine-Tuning Solution for Large Language Model
2024-04-08T04:14:02
2024-04-08T04:14:02
Chao Gao, Sai Qian Zhang
cs.LG
cs.LG, cs.AI, cs.CL, cs.DC
To enhance the performance of large language models (LLM) on downstream tasks, one solution is to fine-tune certain LLM parameters and make it better align with the characteristics of the training dataset. This process is commonly known as parameter-efficient fine-tuning (PEFT). Due to the scale of LLM, PEFT operations are usually executed in the public environment (e.g., cloud server). This necessitates the sharing of sensitive user data across public environments, thereby raising potential privacy concerns. To tackle these challenges, we propose a distributed PEFT framework called DLoRA. DLoRA enables scalable PEFT operations to be performed collaboratively between the cloud and user devices. Coupled with the proposed Kill and Revive algorithm, the evaluation results demonstrate that DLoRA can significantly reduce the computation and communication workload over the user devices while achieving superior accuracy and privacy protection.
[ -0.5483564734458923, -1.1194278001785278, 0.6731047034263611, 0.22186653316020966, -0.12827765941619873, 0.12549085915088654, -0.39763760566711426, -0.4754275679588318, 0.12569169700145721, 0.6960821151733398, -0.6827032566070557, -0.637340247631073, -0.3733243942260742, 0.05891643464565277, -0.7185339331626892, 0.8977189660072327, 0.05736714228987694, -0.310859739780426, -0.06187991797924042, -0.07278599590063095, -0.07442178577184677, -0.2998998761177063, -1.003526210784912, 0.030400069430470467, 0.6207485198974609, 0.554545521736145, 0.9889784455299377, 0.8149203062057495, 0.6485756039619446, 0.41441452503204346, -0.2648087739944458, 0.5230745077133179, -0.7726976871490479, 0.5933797955513, -0.0797516331076622, -0.36290308833122253, -0.7966223955154419, -0.31380605697631836, 0.7624775171279907, 0.9120803475379944, -0.17142850160598755, 0.16235627233982086, -0.05671672523021698, 0.7287778854370117, -0.7746402621269226, -0.14665035903453827, -0.40168213844299316, -0.2786880135536194, -0.30694520473480225, 0.05925915390253067, -0.24850301444530487, -0.5316404104232788, 0.040435612201690674, -0.6764292120933533, 0.10748455673456192, 0.01729179546236992, 0.798833966255188, 0.4472247064113617, 0.0014927805168554187, 0.1152094155550003, -0.8383554220199585, 0.8180696964263916, -0.5615010857582092, 0.4355056583881378, 0.4280642867088318, 0.13455811142921448, -0.26065894961357117, -0.6733477711677551, -0.4858696162700653, 0.107834093272686, 0.0005698917666450143, -0.17822527885437012, -0.06913714855909348, 0.14771975576877594, 0.07713361084461212, 0.4495285153388977, -0.3949282765388489, 0.43031901121139526, -0.07963477075099945, 0.022439859807491302, 0.6361729502677917, 0.2512224316596985, 0.24138718843460083, 0.42176586389541626, -0.20932090282440186, -0.023763107135891914, -0.8128703236579895, -0.339092880487442, 0.47621604800224304, 0.4524547755718231, -0.08760924637317657, 0.15086369216442108, -0.6513819694519043, 0.7141991853713989, 0.23878617584705353, -0.14813055098056793, 0.27679315209388733, -0.20825952291488647, -0.44882580637931824, -0.10030758380889893, 0.6001793146133423, 0.2722843885421753, 0.007188416086137295, -0.19675329327583313, -0.27252358198165894, -0.29504284262657166, -0.16556359827518463, -0.8949387073516846, -0.1500381976366043, 0.40657755732536316, -0.35807159543037415, -0.23631244897842407, -0.26895323395729065, -1.1486430168151855, -0.6067377328872681, -0.4195367097854614, 0.2298378050327301, -0.11861598491668701, -0.45582643151283264, 0.2284926176071167, 0.27795249223709106, -0.03854014724493027, 0.6602204442024231, -1.1457949876785278, 0.6061360239982605, 0.9964826703071594, 0.7381671667098999, -0.33941030502319336, -0.4455970525741577, -0.8922824859619141, 0.23277924954891205, -0.10010021179914474, 0.4386448860168457, -0.4242885410785675, -0.1720830500125885, 0.03092551790177822, -0.045192498713731766, -0.04951589182019234, -0.5608874559402466, 0.37657177448272705, -0.797481894493103, 0.04196437820792198, -0.32343900203704834, -0.6783736944198608, -0.053436048328876495, 0.18893855810165405, -0.70658278465271, 0.7928315997123718, -0.07854519784450531, -0.7090244293212891, 0.3192588984966278, -0.579585075378418, -0.2506670653820038, 0.28281503915786743, -0.018266018480062485, -0.6701733469963074, -0.08165034651756287, 0.4091973602771759, 0.6067105531692505, -0.43508124351501465, 0.2628559470176697, -0.5840353965759277, -0.5619824528694153, -0.26505303382873535, -0.25875306129455566, 0.8257965445518494, 0.25397107005119324, -0.5639858841896057, 0.316845178604126, -0.6634055972099304, 0.04405782371759415, -0.028762374073266983, -0.2972467541694641, -0.5407647490501404, -0.047132182866334915, 0.3782082796096802, -0.3847953975200653, 0.6959715485572815, -0.580799400806427, 0.23068846762180328, -0.568318784236908, 0.3886204659938812, 0.7693084478378296, -0.15759634971618652, 0.5158571004867554, -0.30737540125846863, 0.3057703971862793, -0.31504666805267334, 0.519010603427887, 0.09898433089256287, -0.2987927198410034, -0.6339553594589233, -0.9460926055908203, 0.16724684834480286, 0.2689719498157501, -0.03501959145069122, 0.42725107073783875, -0.1438419669866562, -0.6723029613494873, -0.535065770149231, 0.4678516685962677, 0.31367602944374084, 0.3062732517719269, 0.08524125814437866, 0.34139707684516907, -0.4291568696498871, -1.0807856321334839, 0.2253059297800064, 0.04428938776254654, -0.015518944710493088, 0.332349956035614, 0.29193252325057983, -0.6036246418952942, 0.8932718634605408, -0.5354571342468262, -0.3136228919029236, 0.0006321794935502112, 0.03603723645210266, 0.20508968830108643, 0.31383755803108215, 0.6235253214836121, -0.9582490921020508, -0.6308557987213135, 0.23674701154232025, -0.42286476492881775, -0.4328005611896515, 0.11552973836660385, -0.1772172898054123, 0.3951905071735382, 0.341388076543808, -0.36880677938461304, -0.09651605784893036, 0.9507085680961609, -0.27564963698387146, 0.2025027573108673, -0.5300044417381287, 0.4278077483177185, -1.0640559196472168, 0.10453219711780548, -0.5168581008911133, -0.6062468886375427, -0.3743393123149872, 0.4494960606098175, 0.06027683615684509, -0.13530002534389496, -0.4638867676258087, 0.39062583446502686, -0.2031913846731186, -0.04671551659703255, -0.3607572615146637, 0.1190730556845665, -0.17864945530891418, 0.21383218467235565, 0.024944892153143883, 1.0658777952194214, 0.8226374387741089, -0.5132434964179993, 0.4431728720664978, 0.04636041447520256, 0.012920514680445194, 0.6991305947303772, -0.7467599511146545, 0.1726791113615036, 0.06285775452852249, -0.2527490556240082, -0.7052175998687744, -0.40706464648246765, -0.03393058106303215, 0.13253360986709595, -0.15239721536636353, 0.15705496072769165, -0.8773894906044006, 0.12940733134746552, -0.32296326756477356, 0.33723610639572144, 0.4936610460281372, -0.831695020198822, 0.37895113229751587, 0.5996364951133728, -0.03576795011758804, -0.23945020139217377, -0.2017868161201477, 0.0389244519174099, -0.5189183354377747, -0.8491636514663696, 0.612433135509491, -0.33520668745040894, -0.4899289608001709, -0.15138724446296692, 0.2689855694770813, -0.29428771138191223, 0.328233003616333, 0.4362736642360687, -0.1577099859714508, 0.00858221109956503, 0.09421844780445099, 0.22930754721164703, -0.014520274475216866, -0.2856203019618988, 0.08287151157855988, 0.6442020535469055, -0.43368202447891235, -0.3876705467700958, -0.6811879277229309, 0.5690312385559082, 0.9189081192016602, -0.2930416762828827, 0.9321747422218323, 0.493725448846817, -0.4442196488380432, -0.37877511978149414, -0.594125509262085, -0.11846476793289185, -0.5726392865180969, 0.24336105585098267, -0.19372808933258057, -1.0556178092956543, 0.7470816373825073, -0.43861454725265503, 0.06241780146956444, 0.150573268532753, 0.79522705078125, -0.12705479562282562, 0.8738669753074646, 1.0525530576705933, -0.4297448396682739, 0.5801116228103638, -0.0774296373128891, -0.08145292103290558, -0.2963108718395233, 0.06644235551357269, -0.44073840975761414, -0.25211936235427856, -0.42885348200798035, -0.04261988401412964, 0.4745995104312897, 0.21973752975463867, -0.5215031504631042, 0.5017633438110352, -0.5012332201004028, 0.5493300557136536, 0.7144829630851746, 0.3090868890285492, 0.5123541355133057, -0.01776907406747341, 0.12060583382844925, 0.0801476389169693, -0.14977355301380157, -0.26182740926742554, 0.756622850894928, 0.28859421610832214, 0.8096603155136108, 0.20656639337539673, 1.1522531509399414, 0.35304370522499084, -0.09503364562988281, -0.4727383255958557, 0.5985810160636902, -0.16092082858085632, -0.4743695557117462, -0.5951035022735596, -0.3758942186832428, -0.8870000243186951, -0.1907818466424942, 0.04290665686130524, -0.8526721000671387, 0.058967724442481995, -0.02016015537083149, -0.39876464009284973, 0.24458205699920654, -0.6015032529830933, 0.6487500071525574, -0.003054126398637891, -0.6000723242759705, -0.6401708722114563, -0.22944897413253784, 0.10367050766944885, -0.5714408755302429, 0.15177521109580994, -0.084495909512043, -0.18054260313510895, 0.7875971794128418, -0.7101771831512451, 0.8519735336303711, -0.3048945963382721, -0.1899999976158142, -0.11591855436563492, 0.046317826956510544, 0.615595281124115, 0.4076814353466034, -0.3717935383319855, 0.08881858736276627, 0.14743615686893463, -0.25967225432395935, -0.4893316924571991, 1.0884666442871094, -0.9720397591590881, -0.5374223589897156, -0.12660323083400726, -0.5810715556144714, -0.10251951962709427, 0.2826696038246155, -0.14020198583602905, -0.07067439705133438, 0.02475343644618988, 0.39574435353279114, 0.8782141208648682, -0.21391671895980835, 0.5395632982254028, 0.7897705435752869, -0.17072175443172455, -0.40555423498153687, 0.450038880109787, -0.11891848593950272, 0.2471708059310913, 0.4572746455669403, 0.07091087102890015, -0.03512737154960632, -0.5472297072410583, -0.30038848519325256, 0.2237463742494583, -0.5021886825561523, -0.232956200838089, -0.4579199552536011, 0.012002251110970974, 0.14139188826084137, -0.44617465138435364, -0.8457280993461609, 0.008180209435522556, -0.3269777297973633, 0.07887780666351318, 0.9031480550765991, 0.5867356061935425, -0.07042796909809113, 0.6465724110603333, -0.619955837726593, 0.1418403536081314, 0.30414190888404846, 0.634844958782196, -0.20035579800605774, -0.19320102035999298, -0.22294867038726807, 0.15429337322711945, -0.0430697463452816, -0.556354820728302, 0.3033128082752228, 0.38914042711257935, 0.46984046697616577, 0.2667619585990906, 0.19063115119934082, 0.8591976165771484, -0.303561806678772, 0.4576253294944763, -0.1726987212896347, -1.1740590333938599, 0.6639841794967651, -0.5709210634231567, 0.13748547434806824, 0.7062157392501831, 0.07443585991859436, -0.35847917199134827, -0.5044652819633484, -0.17195634543895721, -0.8903560638427734, 0.5521254539489746, 0.12769897282123566, 0.26941412687301636, 0.26410919427871704, 0.3142234683036804, 0.28952234983444214, -0.024961357936263084, -0.2153167575597763, -0.3404007852077484, 0.4324536621570587, -0.21542833745479584, 0.17838850617408752, -0.16745813190937042, -0.2726173400878906, -0.29934918880462646, 0.5340514183044434, 0.03979431092739105, -0.014510540291666985, -0.015265239402651787, 0.146157905459404, -0.38031554222106934, 0.11411499977111816, 0.4411858916282654, 0.6722845435142517, -0.34381335973739624, -0.1269814819097519, 0.17902596294879913, -0.39228320121765137, 0.09377847611904144, 0.29696911573410034, -0.5298136472702026, -0.25001659989356995, 0.1953570693731308, 0.3622335195541382, 0.10804048180580139, -0.898962676525116, 0.42769330739974976, -0.2422315776348114, -0.2982252538204193, -0.28992199897766113, 0.1671275943517685, 0.3029232323169708, 0.5407513380050659, 0.28276392817497253, -0.04050784558057785, 0.11857365071773529, -0.2055375874042511, 0.515269935131073, 0.25086984038352966, 0.0016347868368029594, -0.17481161653995514, 0.8796842098236084, 0.3332297205924988, -0.36302077770233154, 0.649546205997467, 0.015104558318853378, -0.2256830334663391, 0.4606102705001831, 0.4327285587787628, 0.7347001433372498, -0.06872382760047913, 0.23588323593139648, 0.032929860055446625, -0.01674647442996502, -0.1618146449327469, 0.44160255789756775, -0.044685959815979004, -0.4811113476753235, -0.4671529531478882, -0.8983701467514038, -0.5781742930412292, 0.2315283566713333, -0.4298771917819977, 0.22237703204154968, -0.6313245296478271, 0.021215440705418587, -0.05562340095639229, 0.06132686138153076, -0.569581925868988, -0.03543040156364441, 0.1725129336118698, 0.7402429580688477, -0.7188034057617188, 1.182390809059143, 0.5457607507705688, -0.2744368314743042, -0.7028587460517883, 0.06681375950574875, -0.1266493797302246, -0.6300110816955566, 0.8561640977859497, -0.1095067486166954, -0.22888389229774475, -0.0011425470001995564, -0.19908760488033295, -1.0451840162277222, 1.0339725017547607, 0.7515482902526855, -0.9871094822883606, 0.40810588002204895, 0.28313636779785156, 0.757758378982544, -0.01499120146036148, -0.08749362081289291, 0.4124980866909027, 0.55440354347229, -0.14112509787082672, -1.2893608808517456, 0.08640445023775101, 0.08049707859754562, -0.23329676687717438, 0.3411094844341278, -0.6323156356811523, 0.8257468342781067, 0.05588507279753685, 0.016613535583019257, 0.14592763781547546, 0.4798189699649811, 0.14689229428768158, 0.12206597626209259, 0.6287789344787598, 0.5213453769683838, 1.1111186742782593, 0.1688423603773117, 0.6883872151374817, -0.5034831762313843, 0.6118310689926147, 0.8634950518608093, -0.43994322419166565, 1.0322706699371338, 0.4356725215911865, -0.20507167279720306, 0.010104970075190067, 0.6493822932243347, 0.12306582182645798, 0.8109451532363892, -0.0329485721886158, -0.5518357753753662, -0.28668737411499023, -0.1110842227935791, -0.28707098960876465, 0.396732360124588, 0.19518010318279266, -0.45024344325065613, -0.3999520242214203, 0.21282759308815002, 0.14671462774276733, 0.4039548635482788, -0.4350198209285736, 0.7379236817359924, -0.20291556417942047, -0.33767765760421753, 0.802977442741394, 0.19207064807415009, 0.7510033845901489, -0.4264589250087738, 0.15593372285366058, -0.3409980237483978, 0.5728151798248291, -0.27026522159576416, -0.5478855967521667, 0.6263381838798523, -0.04907665029168129, -0.3231728672981262, -0.37696900963783264, 0.37312570214271545, -0.30119097232818604, -0.3173064589500427, 0.7238408327102661, 0.33417677879333496, 0.03269732743501663, -0.25458455085754395, -0.6202081441879272, 0.4168051779270172, -0.22068405151367188, -0.3908759653568268, 0.4823022186756134, 0.11981760710477829, 0.05219946801662445, 0.7508934140205383, 0.5050235390663147, 0.18207459151744843, -0.15355157852172852, 0.2285700887441635, 1.0618352890014648, -0.1369311362504959, -0.36293816566467285, -1.0801351070404053, 0.1483755260705948, -0.16284048557281494, -0.23880447447299957, 0.7475578784942627, 0.5383309125900269, 0.8665984272956848, -0.10066776722669601, 0.5430344343185425, -0.12899602949619293, 0.615976095199585, -0.23176565766334534, 0.9381482005119324, -0.6050028800964355, 0.35783475637435913, -0.244475319981575, -0.8733922243118286, -0.5787885785102844, 0.29875272512435913, -0.35146617889404297, -0.16619670391082764, 0.40002915263175964, 1.1489830017089844, -0.23569394648075104, -0.01971038058400154, 0.5066193342208862, 0.0024637356400489807, 0.2853584289550781, 0.4544353783130646, 0.2114250808954239, -0.27584946155548096, 0.38141605257987976, -0.47239255905151367, -0.4035431444644928, -0.1627252697944641, -0.7001137733459473, -0.892702043056488, -0.5859205722808838, -0.2910296320915222, 0.18828819692134857, 0.4643162786960602, 0.9104077219963074, 1.0366204977035522, -0.9145781993865967, -0.10802595317363739, -0.43087348341941833, 0.022491686046123505, -0.3629835546016693, -0.16704928874969482, 0.6966367959976196, -0.14124855399131775, -1.1298953294754028, 0.4227994382381439, 0.3216516375541687, -0.38621261715888977, -0.40634799003601074, -0.17971810698509216, 0.06182345375418663, -0.23495785892009735, 0.3183617889881134, 0.028811536729335785, -0.7123273611068726, -0.2701019048690796, -0.03662031516432762, -0.2608726918697357, -0.2342854142189026, 0.3024345934391022, -0.6491239666938782, 0.2667728066444397, 0.6071333885192871, 1.0336177349090576, 0.30538228154182434, 0.09654871374368668, 0.7380825281143188, -0.7359927892684937, 0.059974487870931625, 0.060689859092235565, 0.3790646493434906, 0.17838478088378906, -0.6747317314147949, 0.22248440980911255, 0.0644126757979393, -0.9032306671142578, -0.7639397382736206, 0.17116929590702057, -1.0109838247299194, -0.3107432723045349, 0.9550026655197144, -0.3171105682849884, -0.19853658974170685, 0.05744460970163345, -0.3650429844856262, 0.025825053453445435, -0.5615679025650024, 0.8428265452384949, 0.3275592625141144, 0.169952854514122, -0.38524070382118225, -0.27160292863845825, 0.6345702409744263, 0.40016305446624756, -0.9584518074989319, 0.4447243809700012, 0.27134576439857483, 0.29993805289268494, -0.03349442034959793, 0.6217442750930786, 0.1082412526011467, 0.11897224187850952, -0.20812903344631195, -0.16960757970809937, -0.3076034188270569, -0.35159850120544434, -0.07701504975557327, 0.3704853355884552, 0.15278297662734985, -0.35888829827308655 ]
http://arxiv.org/abs/2404.05160v1
http://arxiv.org/pdf/2404.05160v1
Linguistic Changes in Spontaneous Speech for Detecting Parkinsons Disease Using Large Language Models
2024-04-08T03:00:10
2024-04-08T03:00:10
Jonathan Crawford
cs.CL
cs.CL, eess.AS
Parkinsons disease is the second most prevalent neurodegenerative disorder with over ten million active cases worldwide and one million new diagnoses per year. Detecting and subsequently diagnosing the disease is challenging because of symptom heterogeneity with respect to complexity, as well as the type and timing of phenotypic manifestations. Typically, language impairment can present in the prodromal phase and precede motor symptoms suggesting that a linguistic-based approach could serve as a diagnostic method for incipient Parkinsons disease. Additionally, improved linguistic models may enhance other approaches through ensemble techniques. The field of large language models is advancing rapidly, presenting the opportunity to explore the use of these new models for detecting Parkinsons disease and to improve on current linguistic approaches with high-dimensional representations of linguistics. We evaluate the application of state-of-the-art large language models to detect Parkinsons disease automatically from spontaneous speech with up to 73% accuracy.
[ -0.2729533612728119, -0.8733882904052734, 0.5522700548171997, 0.5621353387832642, -0.15378646552562714, -0.2763224244117737, -0.5717400312423706, -0.45901718735694885, 0.533288836479187, 0.2510225772857666, -0.30817800760269165, -0.3137906789779663, -0.6383997797966003, 0.2510448396205902, -0.5182998776435852, 0.552284300327301, 0.1409098356962204, 0.6382828950881958, 0.5440701842308044, -0.10790367424488068, -0.2513854205608368, -0.44517236948013306, -0.8939346075057983, -0.46329185366630554, 0.3445597290992737, 0.008934518322348595, 0.7212042808532715, 0.07029762864112854, 0.03891808167099953, 0.28463125228881836, -0.51829594373703, -0.2972486913204193, -0.10290144383907318, 0.43738800287246704, -0.10540468245744705, -0.30264702439308167, -0.522201418876648, -0.15160121023654938, 0.6848916411399841, 1.0182255506515503, -0.23009517788887024, -0.32426753640174866, 0.10081787407398224, 0.31408601999282837, 0.005471419543027878, 0.2119920402765274, -0.24648000299930573, 0.4690310060977936, -0.4035576283931732, -0.11880624294281006, -0.37718644738197327, -0.2567121982574463, 0.5213812589645386, -0.591071367263794, 0.12486594170331955, -0.3180772662162781, 0.34647098183631897, 0.055287085473537445, -0.3023037612438202, -0.14548452198505402, -0.6515315175056458, 0.2091989368200302, -0.8063369989395142, 0.5230035781860352, 0.38413500785827637, 0.44318875670433044, -0.6767527461051941, -0.5422617197036743, -1.0482978820800781, -0.7610263824462891, 0.404595285654068, -0.16607701778411865, -0.2526416778564453, 0.022165434435009956, 0.26041531562805176, 0.2699744999408722, -1.0277564525604248, 0.8057384490966797, 0.1378786414861679, -0.4452551305294037, 0.39585408568382263, 0.18164874613285065, 0.731803834438324, -0.2733955681324005, 0.27937474846839905, 0.06301476061344147, -0.4821823537349701, -0.4072084426879883, 0.4478454887866974, 0.3039432466030121, -0.07799850404262543, 0.6052321791648865, -0.6130073070526123, 1.012709379196167, -0.016264917328953743, -0.13572901487350464, 0.4043048322200775, 0.03939962387084961, -0.11437029391527176, 0.09765695035457611, 0.8129530549049377, 0.1537189483642578, 0.11666996031999588, -0.27120527625083923, 0.07727974653244019, -0.048610370606184006, -0.22809842228889465, -0.5655707120895386, -0.7520018219947815, 0.5148711800575256, -0.4424573481082916, -0.17203174531459808, -0.5968512892723083, -0.7819891571998596, -1.045382022857666, -0.20077039301395416, 0.4855365455150604, -0.45892539620399475, -0.789983332157135, 0.029901402071118355, -0.2519412934780121, 0.0027364427223801613, 0.25729355216026306, -0.978354811668396, -0.08706676214933395, 0.35418039560317993, 0.8581469655036926, -0.05809555575251579, -0.21964788436889648, -0.5111610293388367, -0.16115659475326538, -0.5238414406776428, 0.811305820941925, -0.21770748496055603, -0.2416623830795288, -0.14157699048519135, 0.11643333733081818, -0.16460184752941132, -0.7293761968612671, 0.21124599874019623, -0.22114035487174988, 0.2405046671628952, 0.14499029517173767, -0.3611181676387787, 0.021407475695014, -0.015060285106301308, -0.8109840750694275, 0.8709097504615784, 0.19162164628505707, -0.4074474573135376, 0.5459372997283936, -0.5755870342254639, -0.4257834255695343, 0.4446583390235901, -0.008678331971168518, -0.328618586063385, 0.13579560816287994, -0.18024064600467682, 0.5363304018974304, -0.16303420066833496, 0.756689190864563, -0.27931997179985046, 0.22977018356323242, 0.34960827231407166, -0.5990692973136902, 0.6937640905380249, 0.07734865695238113, -0.31393787264823914, 0.2047620713710785, -0.7865988612174988, -0.07795882225036621, -0.08410966396331787, -0.14695103466510773, -0.2679799497127533, 0.4369921088218689, -0.11050257086753845, 0.26685428619384766, 0.110341377556324, -0.29502055048942566, 0.35384711623191833, -0.6923878788948059, 0.09415635466575623, 0.5478941202163696, 0.040526196360588074, 0.28590595722198486, -0.10739974677562714, 0.2919498383998871, 0.18959444761276245, 0.02937823161482811, 0.018901390954852104, -0.9330881237983704, -0.44833579659461975, -0.28702840209007263, 0.556108295917511, 0.6625932455062866, -0.584418535232544, 0.7034186124801636, -0.33836567401885986, -0.3997340202331543, -0.03824769705533981, -0.3364288806915283, -0.13058407604694366, 0.3405579924583435, 0.2375403195619583, -0.44514200091362, -0.5334200263023376, -0.7292942404747009, -0.289194792509079, 0.1257586032152176, -0.4064977765083313, -0.03388622775673866, 0.27300482988357544, -0.23458056151866913, 0.5505093932151794, -0.3380725383758545, -0.36616870760917664, -0.4419597089290619, 0.5201981067657471, 0.19081051647663116, 0.5458230376243591, 0.2954564392566681, -0.508288562297821, -0.4927656948566437, 0.48133668303489685, -0.8473554849624634, -0.08834954351186752, -0.02050217241048813, 0.3211459219455719, 0.32192692160606384, 0.45967620611190796, -0.6343497037887573, 0.38110804557800293, 0.7669290900230408, -0.4084789454936981, 0.601989209651947, -0.4484187960624695, -0.07299789041280746, -0.8059666156768799, -0.04617556557059288, 0.24478061497211456, -0.18466410040855408, -0.7950108051300049, -0.324078768491745, -0.2561693787574768, -0.34771230816841125, 0.07262171804904938, 0.13290825486183167, -0.4988803267478943, 0.13802264630794525, -0.35422417521476746, 0.12097357213497162, -0.42728307843208313, -0.12086395919322968, 0.18829692900180817, 0.2764684557914734, 1.1400014162063599, -0.8010420799255371, 0.625992476940155, -0.20251135528087616, -0.7840182781219482, 0.2066659778356552, -0.5555775165557861, -0.18608306348323822, -0.22217285633087158, 0.6139342784881592, -0.9769450426101685, -0.6423642039299011, 0.27222761511802673, -0.4337584972381592, 0.5396252274513245, -0.055424775928258896, -0.7078931331634521, -0.3528234660625458, 0.17169086635112762, -0.029928483068943024, 0.3625653088092804, -0.3636617064476013, 0.5294054746627808, 0.6583631038665771, -0.40725165605545044, -0.17487981915473938, -0.7441390156745911, 0.3300298750400543, 0.06255248188972473, -0.73056960105896, 0.377931147813797, 0.260532408952713, -0.07701803743839264, -0.18003825843334198, -0.14139112830162048, -0.20549096167087555, 0.15890055894851685, -0.1177859678864479, -0.12830209732055664, -0.19414487481117249, 0.1858857125043869, 0.10360206663608551, -0.1552940160036087, -0.21812547743320465, -0.3054625391960144, 1.1002293825149536, 0.4613111615180969, 0.05229116976261139, -0.9476212859153748, 0.45992666482925415, 0.7440162897109985, 0.0020552482455968857, 0.9368043541908264, 0.3375185430049896, -0.5833156108856201, -0.3406371474266052, -0.230449378490448, -0.25489503145217896, -0.3710801899433136, 0.6233254671096802, -0.3953199088573456, -0.44144153594970703, 0.674665093421936, -0.45357584953308105, -0.6148877143859863, 0.21155603229999542, 0.706086277961731, 0.15329338610172272, 1.4239884614944458, 0.49961352348327637, -0.07585224509239197, 0.48013222217559814, -0.07072032988071442, 0.5540590286254883, -0.6992413401603699, -0.2608337700366974, -0.6094980239868164, 0.10523365437984467, -0.7240352034568787, -0.37969568371772766, 0.563824474811554, -0.0654958114027977, 0.21151839196681976, 0.08139270544052124, -0.2625087797641754, 0.4239555597305298, -0.053747210651636124, 0.2353247106075287, -0.0012927658390253782, -0.12862344086170197, -0.16577178239822388, -0.3158082365989685, -0.8426588773727417, -0.35970985889434814, 1.0603119134902954, 0.14300072193145752, 0.4717247486114502, 0.39062047004699707, 0.177089124917984, 0.3647269010543823, 0.4650293290615082, -0.9575735330581665, 0.49442243576049805, -0.43429920077323914, -0.3585519790649414, -0.6344505548477173, -0.4856887459754944, -1.0877591371536255, 0.45951637625694275, -0.09521395713090897, -1.101481556892395, 0.27628421783447266, 0.24658294022083282, -0.2170899659395218, 0.2201305627822876, -0.6347570419311523, 1.2573155164718628, -0.10437766462564468, 0.01811039447784424, -0.212229922413826, -0.5254295468330383, 0.5788493752479553, -0.11826485395431519, 0.103183813393116, -0.028120774775743484, 0.2831760346889496, 0.8076509833335876, -0.21500535309314728, 0.7763088941574097, -0.2949073910713196, -0.45476630330085754, -0.2765059769153595, 0.14974983036518097, 0.540962815284729, -0.1308051496744156, -0.3466057777404785, 0.1275295913219452, -0.35642194747924805, 0.0835861936211586, -0.6362423896789551, 0.8714181780815125, -0.3545057475566864, -0.3870055675506592, -0.7880212664604187, -0.35367536544799805, -0.40458178520202637, 0.061696190387010574, 0.38977155089378357, 0.7662509083747864, -0.32735562324523926, -0.16409294307231903, 0.9227381348609924, -0.5526382327079773, 0.3088151216506958, 0.6007194519042969, -0.2922038435935974, -0.21197263896465302, 1.0116395950317383, 0.44274210929870605, 0.27167612314224243, 0.06018400937318802, 0.3958902657032013, -0.4775216281414032, -0.7873740196228027, -0.5343495607376099, 0.106911301612854, -0.41666144132614136, 0.34681564569473267, -0.7277081608772278, 0.19492731988430023, -0.6330702900886536, 0.4184688627719879, -0.11844376474618912, -0.5509798526763916, -0.4675019681453705, 0.3095054030418396, 0.24369125068187714, 0.49555352330207825, -0.3487556576728821, 0.2627255618572235, -0.5168165564537048, 0.8225865960121155, 0.20788626372814178, 0.3366491496562958, -0.05110684782266617, -0.8012133836746216, 0.12295834720134735, 0.21975047886371613, 0.014765284955501556, -1.376290202140808, 0.7983700633049011, 0.419767290353775, 0.726318359375, 0.19747823476791382, -0.12605798244476318, 0.5688863396644592, -0.4326021373271942, 0.8044174313545227, 0.3477376699447632, -0.9888796806335449, 0.5917815566062927, -0.2707279324531555, 0.3422964811325073, 0.01022105012089014, 0.8201079368591309, -0.8243749141693115, -0.4116823077201843, -0.6317021250724792, -0.8146081566810608, 0.6406102776527405, -0.10194234549999237, -0.04353158921003342, 0.028684422373771667, 0.023557372391223907, -0.015698647126555443, -0.2926849126815796, -0.5807488560676575, -0.12775355577468872, 0.18900099396705627, -0.06577941030263901, -0.3539045453071594, -0.11134913563728333, -0.17671681940555573, -0.6366307139396667, 0.6554572582244873, -0.09234663844108582, 0.46415671706199646, 0.22057384252548218, -0.15228012204170227, -0.16822659969329834, 0.17233094573020935, 0.67457115650177, 0.6661689877510071, 0.02995290607213974, -0.07844717055559158, 0.28027328848838806, -0.3927619457244873, 0.042981673032045364, 0.3768521249294281, -0.23933127522468567, 0.40271544456481934, -0.0950198844075203, 0.7712278962135315, 0.11712218075990677, -0.7299813628196716, 0.7032322287559509, 0.07145464420318604, -0.005661471746861935, -0.6143022179603577, -0.08282104879617691, 0.034163471311330795, 0.11209312081336975, 0.24135281145572662, 0.3059503734111786, 0.17136335372924805, -0.7053657174110413, 0.14603954553604126, 0.5706992149353027, -0.0899069681763649, -0.3935176432132721, 0.512171745300293, 0.19934719800949097, -0.4900275468826294, 0.6015642285346985, -0.38218310475349426, -0.6832404136657715, 0.5325055122375488, 0.5565592050552368, 0.7075625658035278, -0.5774717330932617, 0.3534601032733917, 0.0698128268122673, 0.2550075948238373, -0.5015179514884949, 0.29689934849739075, 0.16633155941963196, -0.6777937412261963, -0.7230117917060852, -0.5247595310211182, -0.32677188515663147, 0.4704555571079254, -0.38272470235824585, 0.27708113193511963, -0.3646959960460663, -0.3063380718231201, 0.45789089798927307, -0.3431696593761444, 0.12773209810256958, 0.10850470513105392, 0.2865807116031647, 0.647773802280426, -0.8693015575408936, 1.2273088693618774, 0.5431063771247864, -0.05826185643672943, -0.4498369097709656, 0.3073909282684326, 0.05142823979258537, -0.1297377496957779, 0.8572033047676086, 0.20828519761562347, 0.07642870396375656, 0.10877425223588943, -0.5279573798179626, -0.6769611239433289, 0.4035813510417938, 0.316950261592865, -0.6261224150657654, 0.42741474509239197, -0.062145382165908813, 0.7171407341957092, 0.12804223597049713, -0.02484024129807949, 0.5416890978813171, 0.5106449127197266, -0.17759545147418976, -1.4546011686325073, -0.14203645288944244, -0.041715603321790695, -0.017325207591056824, 0.6213303804397583, -0.11368829756975174, 0.8559225797653198, -0.02795604057610035, -0.28821268677711487, 0.18827663362026215, 0.5586953163146973, 0.09914086014032364, 0.19285763800144196, 0.37864986062049866, 0.7184316515922546, 1.0892010927200317, -0.17846491932868958, 1.0900342464447021, -0.337504118680954, 0.21075695753097534, 0.5046788454055786, -0.5420609712600708, 0.8117735981941223, -0.08566715568304062, -0.010961315594613552, 0.37995946407318115, 0.21982502937316895, 0.3603554964065552, 0.3194689154624939, 0.7255936861038208, -0.9139711856842041, -0.33583661913871765, 0.08771340548992157, -0.5962387919425964, 0.4308798313140869, 0.8101117014884949, -0.29875919222831726, -0.2366591989994049, 0.31005528569221497, 0.17928925156593323, -0.06401783972978592, 0.002873250050470233, 0.6042932271957397, -0.317398339509964, -0.6777085065841675, 0.7412745952606201, 0.048687174916267395, 0.7986888885498047, -0.7970419526100159, -0.0814463272690773, -0.04050179943442345, 0.2144106775522232, -0.08831316977739334, -0.6330324411392212, 0.28273582458496094, -0.04583585262298584, -0.0933258906006813, -0.16399109363555908, 0.3626244366168976, -0.529390275478363, -0.1827523112297058, 0.08591257035732269, 0.06308811157941818, 0.4149017632007599, -0.39483627676963806, -0.39315155148506165, 0.13715451955795288, -0.2511899769306183, -0.05693046748638153, 0.5499851703643799, 0.5701956748962402, -0.14825385808944702, 0.8852073550224304, 0.6366742849349976, 0.40152180194854736, 0.21935667097568512, 0.273922324180603, 0.5314943790435791, -0.4958688020706177, -0.41903984546661377, -0.5745139122009277, 0.23445965349674225, -0.34900879859924316, -0.632928729057312, 0.5841642022132874, 0.2892099916934967, 0.3735591471195221, -0.1539221554994583, 0.6754083633422852, -0.32985419034957886, 0.407194584608078, -0.5747160911560059, 0.9275157451629639, -0.2937352955341339, 0.03850178420543671, -0.12005899846553802, -0.592939019203186, -0.7967971563339233, 0.8534667491912842, -0.3410432040691376, -0.23999138176441193, 0.7291650176048279, 0.9178744554519653, 0.22580735385417938, 0.17684312164783478, 0.23117142915725708, 0.7468546628952026, 0.2656024396419525, 0.30449405312538147, 0.900323212146759, -0.09033729881048203, 0.068189337849617, -0.2240276038646698, -0.6096990704536438, -0.19175122678279877, -0.8446899652481079, -0.3033023476600647, -0.6133422255516052, -0.7792575359344482, -0.5153591632843018, 0.26475024223327637, 0.6642365455627441, 0.6277344226837158, -0.7953638434410095, -0.18745018541812897, -0.3050296902656555, 0.07926461100578308, -0.4067804515361786, -0.2524961233139038, 0.19953200221061707, 0.06549881398677826, -0.5900811553001404, 0.958270788192749, 0.18536591529846191, 0.35757628083229065, -0.3255861699581146, 0.156016007065773, -0.21476930379867554, -0.5410273671150208, 0.9749095439910889, 0.6001054644584656, -0.64874267578125, -0.2017059326171875, -0.29957079887390137, 0.012804953381419182, -0.40040576457977295, 0.7765863537788391, -0.7990269064903259, 0.4495570957660675, 0.8902451395988464, 0.13256314396858215, 0.24926957488059998, -0.37031659483909607, 0.7650215029716492, -0.16068701446056366, 0.39179033041000366, 0.6334258913993835, 0.2399687021970749, 0.3530910313129425, -0.2323424518108368, -0.11519194394350052, 0.5298514366149902, -0.5328316688537598, -1.042055368423462, 0.2028047889471054, -1.235239028930664, -0.2846302390098572, 0.9617629051208496, 0.07388629764318466, -0.01409747265279293, -0.6417860388755798, -0.053832054138183594, 0.1774350255727768, -0.08244376629590988, 0.7428957223892212, 0.5208151340484619, -0.5024591088294983, 0.0342663936316967, -0.6137221455574036, 0.6250453591346741, 0.456211119890213, -0.48761796951293945, -0.0005022922996431589, 0.6260764002799988, 0.39894768595695496, -0.06335139274597168, 0.5216727256774902, -0.15305683016777039, 0.4278642535209656, 0.11978629976511002, 0.040454912930727005, 0.5561429262161255, -0.17801623046398163, -0.6042413711547852, 0.10647381097078323, -0.0647757276892662, 0.0713718831539154 ]
http://arxiv.org/abs/2404.05159v1
http://arxiv.org/pdf/2404.05159v1
Semantic Stealth: Adversarial Text Attacks on NLP Using Several Methods
2024-04-08T02:55:01
2024-04-08T02:55:01
Roopkatha Dey, Aivy Debnath, Sayak Kumar Dutta, Kaustav Ghosh, Arijit Mitra, Arghya Roy Chowdhury, Jaydip Sen
cs.CL
cs.CL, cs.CR, cs.LG
In various real-world applications such as machine translation, sentiment analysis, and question answering, a pivotal role is played by NLP models, facilitating efficient communication and decision-making processes in domains ranging from healthcare to finance. However, a significant challenge is posed to the robustness of these natural language processing models by text adversarial attacks. These attacks involve the deliberate manipulation of input text to mislead the predictions of the model while maintaining human interpretability. Despite the remarkable performance achieved by state-of-the-art models like BERT in various natural language processing tasks, they are found to remain vulnerable to adversarial perturbations in the input text. In addressing the vulnerability of text classifiers to adversarial attacks, three distinct attack mechanisms are explored in this paper using the victim model BERT: BERT-on-BERT attack, PWWS attack, and Fraud Bargain's Attack (FBA). Leveraging the IMDB, AG News, and SST2 datasets, a thorough comparative analysis is conducted to assess the effectiveness of these attacks on the BERT classifier model. It is revealed by the analysis that PWWS emerges as the most potent adversary, consistently outperforming other methods across multiple evaluation scenarios, thereby emphasizing its efficacy in generating adversarial examples for text classification. Through comprehensive experimentation, the performance of these attacks is assessed and the findings indicate that the PWWS attack outperforms others, demonstrating lower runtime, higher accuracy, and favorable semantic similarity scores. The key insight of this paper lies in the assessment of the relative performances of three prevalent state-of-the-art attack mechanisms.
[ -0.3110578656196594, -1.2213901281356812, 0.39097651839256287, -0.03117784857749939, -0.055326368659734726, 0.05801745504140854, 0.04791754111647606, -0.6129299402236938, -0.10044888406991959, 0.6188533306121826, -0.6036449670791626, -0.27547481656074524, -0.9905154705047607, -0.047366246581077576, -0.8042888045310974, 1.1006861925125122, 0.23002736270427704, 0.08763351291418076, 0.21600838005542755, -0.12898407876491547, -0.30737051367759705, -0.8149040341377258, -0.47064295411109924, 0.03359953686594963, 0.6574345231056213, -0.40624549984931946, 1.208548665046692, 0.15909209847450256, 0.7548058032989502, 0.3142979145050049, -0.12135426700115204, -0.20541808009147644, -0.36603298783302307, 0.26582834124565125, -0.12184891849756241, -0.4415295124053955, -0.10115853697061539, -0.13862431049346924, 0.429071307182312, 0.5526134371757507, 0.257822722196579, -0.20742228627204895, 0.06800325214862823, 0.6458137035369873, -0.8133894801139832, -0.32456979155540466, -1.0427526235580444, 0.06152167543768883, -0.37602290511131287, 0.04060627520084381, -0.6534208059310913, -0.12399360537528992, 0.39588993787765503, -0.36927396059036255, 0.3556956946849823, -0.18777957558631897, 1.0670552253723145, 0.3951336443424225, -0.2656485438346863, -0.5928521156311035, -0.6126617789268494, 0.8322523236274719, -0.617324948310852, 0.021446572616696358, 0.28289729356765747, 0.20896944403648376, -0.5218361020088196, -0.6866093873977661, -0.3831186294555664, -0.2119348645210266, -0.16436007618904114, 0.15871389210224152, -0.7219409942626953, 0.19272710382938385, 0.13191279768943787, 0.19615036249160767, -0.5927200317382812, 0.1683759242296219, -0.05359858274459839, -0.29400908946990967, 0.4988190233707428, -0.07277629524469376, 0.46936464309692383, -0.2493889331817627, -0.7750409245491028, -0.2713809013366699, -0.3587351143360138, -0.07813604176044464, 0.686855137348175, 0.12435228377580643, 0.23468011617660522, 0.5875675678253174, 0.011812650598585606, 0.7498392462730408, -0.42350953817367554, 0.07003811001777649, -0.31658661365509033, -0.28469640016555786, -0.3117068409919739, 0.10712721943855286, 0.8178800940513611, 0.1091386079788208, -0.03158128261566162, -0.38710740208625793, -0.23102419078350067, 0.33452388644218445, 0.7608703374862671, -0.4080006778240204, -0.16926278173923492, 0.20470237731933594, -0.5608396530151367, -0.7323668599128723, 0.2307278960943222, -0.7082754373550415, -0.5028240084648132, 0.26299482583999634, 0.8115131855010986, -0.5592180490493774, 0.07696884870529175, 0.02968042902648449, -0.5169296264648438, 0.43069177865982056, 0.2181958705186844, -0.8518152236938477, 0.4688291847705841, 0.760821521282196, 0.5922818183898926, -0.09533168375492096, -0.178937628865242, -0.2679772675037384, 0.20574459433555603, -0.24018403887748718, 0.40081605315208435, -0.146264910697937, -0.3276805281639099, -0.06621982157230377, -0.3188455402851105, -0.29210954904556274, -0.15914052724838257, 0.6882431507110596, -0.757007360458374, 0.30819225311279297, -0.09627249091863632, -0.5128208994865417, -0.42107218503952026, 0.39734145998954773, -0.9028697609901428, 0.8225445747375488, -0.021965011954307556, -1.251554012298584, 0.19680538773536682, -0.7385472059249878, -0.4659833312034607, -0.12562060356140137, 0.1117628812789917, -0.4630930423736572, 0.13924840092658997, 0.20037254691123962, 0.499713659286499, -0.06706085056066513, 0.0870245024561882, -0.31503280997276306, -0.3687420189380646, 0.5558497309684753, -0.9292758703231812, 0.9841403365135193, 0.11551804095506668, -0.5340427756309509, 0.11772383749485016, -0.693851113319397, -0.06895022094249725, 0.4863893389701843, 0.029150525107979774, -0.5990303158760071, 0.18214237689971924, -0.06694521009922028, 0.04965358227491379, 0.30296027660369873, -0.5551528930664062, -0.08046900480985641, -0.8093987107276917, 0.3372228145599365, 0.7456312775611877, 0.13254085183143616, 0.31017938256263733, -0.21020710468292236, 0.32135850191116333, -0.424688458442688, 0.5021353960037231, 0.009433883242309093, -0.6934793591499329, -0.43713730573654175, -0.18025042116641998, 0.5670120716094971, 0.7161500453948975, -0.8351778388023376, 0.2745600938796997, 0.19240356981754303, -0.6009249687194824, -0.5151736736297607, -0.054522402584552765, 0.45719587802886963, 0.3881930112838745, 0.41292136907577515, -0.04541097953915596, -0.19790427386760712, -0.8269104957580566, -0.718249499797821, -0.19463232159614563, -0.17082636058330536, -0.029840057715773582, 0.4812089204788208, -0.27736759185791016, 0.837574303150177, -0.40320274233818054, -0.3680264353752136, -0.28049716353416443, 0.19931979477405548, -0.11081754416227341, 0.3936363458633423, 0.7030549645423889, -1.0713179111480713, -0.19234931468963623, -0.24456584453582764, -0.6349122524261475, 0.2473326325416565, -0.24822290241718292, -0.14788931608200073, 0.42588669061660767, 0.24761152267456055, -0.3710174858570099, 0.6618471741676331, 0.5798734426498413, -0.35465681552886963, 0.3884817957878113, -0.24047783017158508, -0.13585588335990906, -0.596868634223938, -0.04753189533948898, -0.38792791962623596, 0.12538103759288788, -0.8384122848510742, 0.4521167278289795, -0.021046748384833336, -0.15642988681793213, -0.46888887882232666, 0.3194666802883148, -0.03618336468935013, 0.0243977103382349, -0.003939472604542971, 0.08134911954402924, 0.09403952956199646, 0.36257824301719666, -0.17297308146953583, 0.2291470170021057, 0.4858761727809906, -0.3705742657184601, 0.26505720615386963, 0.07069720327854156, -0.19143998622894287, 0.10377461463212967, -0.7473416328430176, 0.09268416464328766, 0.014105800539255142, 0.2514151632785797, -0.9938231706619263, -0.05112626031041145, 0.42777618765830994, -0.7476637959480286, 0.5105113387107849, 0.10274818539619446, -0.7407280802726746, -0.002849519718438387, -0.6213321089744568, -0.17642828822135925, 0.16769348084926605, -0.5451445579528809, 0.7275102734565735, 0.08123760670423508, -0.03144602105021477, -1.000611424446106, -0.8803465962409973, 0.48765498399734497, -0.197142094373703, -0.7510662078857422, 0.485086590051651, 0.20055043697357178, -0.35734832286834717, 0.020650630816817284, -0.0686928853392601, -0.031268633902072906, 0.7991882562637329, 0.06888150423765182, 0.4017563462257385, 0.11216504871845245, -0.28019630908966064, -0.12530137598514557, -0.23656947910785675, 0.3309464454650879, -0.12060865014791489, 0.34447386860847473, 0.10493512451648712, -0.42068663239479065, -0.3902306854724884, 0.5583265423774719, 0.4500998854637146, -0.04954569786787033, 0.992804229259491, 0.7621002793312073, -0.34471628069877625, -0.1866258829832077, -0.3804834187030792, -0.15158069133758545, -0.4636605679988861, 0.48513221740722656, -0.27540168166160583, -0.5378588438034058, 0.3469597101211548, 0.29397809505462646, 0.135793998837471, 0.5571682453155518, 0.22991952300071716, -0.051617152988910675, 1.223555088043213, 0.42177632451057434, -0.191045880317688, 0.29982051253318787, -0.18720249831676483, 0.18303662538528442, -0.4602029323577881, -0.33386123180389404, -0.6187719702720642, -0.1737799346446991, -0.8216824531555176, -0.07474009692668915, 0.13114626705646515, 0.01787375658750534, 0.10097624361515045, 0.405719518661499, -0.45148521661758423, 0.2066340446472168, 0.6734656095504761, 0.031144794076681137, -0.08312457799911499, -0.08875692635774612, -0.2014591544866562, -0.13170702755451202, -0.8093405961990356, -0.48465895652770996, 1.1121938228607178, 0.5935245156288147, 0.6774969100952148, 0.36344313621520996, 0.6577997207641602, 0.4540502429008484, -0.028559161350131035, -0.6702907085418701, 0.5013417601585388, -0.4932588040828705, -0.6098059415817261, -0.24371381103992462, -0.30573415756225586, -0.9788215160369873, 0.4746847152709961, -0.3128063380718231, -0.6435036063194275, -0.01329011656343937, -0.31745073199272156, -0.1364043802022934, 0.5120335817337036, -0.8365734815597534, 0.921390175819397, -0.40854135155677795, -0.2400015890598297, -0.07443995028734207, -0.9893591403961182, 0.24646572768688202, -0.22894977033138275, 0.14593061804771423, 0.3012523055076599, -0.05107790604233742, 0.7358577847480774, -0.46314629912376404, 0.9335546493530273, -0.26691848039627075, -0.13884538412094116, -0.012153023853898048, 0.2600487172603607, 0.5889462828636169, -0.15276038646697998, 0.05826617032289505, 0.42625463008880615, -0.2634207606315613, -0.5197731852531433, -0.5981441736221313, 0.5429959893226624, -0.6154069900512695, -0.5652682185173035, -0.6364077925682068, -0.27431520819664, -0.17490315437316895, 0.167242169380188, 0.3908240497112274, 0.5372399687767029, -0.28525763750076294, 0.2981824278831482, 0.8140211701393127, -0.513878345489502, 0.6746615767478943, 0.3987637460231781, 0.34495222568511963, -0.40759238600730896, 0.9611895680427551, 0.018678609281778336, 0.6539331674575806, 0.636283278465271, 0.14262764155864716, -0.34382766485214233, -0.6389107704162598, -0.39177843928337097, -0.0954660102725029, -0.7324020266532898, -0.23430119454860687, -0.8063306212425232, -0.1572580635547638, -0.47115185856819153, -0.42247357964515686, -0.13693849742412567, -0.4953978955745697, -0.11061907559633255, 0.09295154362916946, 0.1343168467283249, 0.8145464062690735, 0.3020395040512085, 0.29026350378990173, -0.5180683135986328, 0.4645416736602783, 0.5110926032066345, -0.038477957248687744, -0.045431412756443024, -0.2179499715566635, 0.10804366320371628, -0.10730794817209244, -0.4504060447216034, -1.0908864736557007, 0.3611307442188263, -0.14445538818836212, 0.5466936230659485, 0.3881568908691406, 0.2749522030353546, 0.17892985045909882, -0.27841857075691223, 0.978222131729126, 0.07460400462150574, -0.930985152721405, 0.6760220527648926, -0.19787709414958954, 0.20931409299373627, 0.43139567971229553, 0.2915554940700531, 0.04583289101719856, -0.8138769268989563, -1.0063624382019043, -0.9900174140930176, 0.8491623401641846, 0.6092764735221863, -0.006297891028225422, 0.19816988706588745, -0.05583268404006958, 0.012914386577904224, 0.13404794037342072, -0.830166220664978, -0.48577237129211426, -0.2908822000026703, -0.09401372075080872, 0.24433937668800354, -0.2906118333339691, -0.1650240123271942, 0.2308385670185089, 0.6831974387168884, 0.17081134021282196, 0.20097535848617554, 0.34443938732147217, -0.08897863328456879, 0.44974252581596375, 0.14613604545593262, 0.5399283170700073, 0.12001119554042816, -0.20596081018447876, 0.08887334913015366, 0.10932215303182602, -0.6062740087509155, -0.18644608557224274, 0.3500284254550934, -0.37796157598495483, 0.24235573410987854, 0.6942090392112732, 0.637237012386322, 0.39697012305259705, -0.601992130279541, 0.7082350850105286, -0.38323497772216797, -0.23249876499176025, -0.2594468891620636, 0.07317959517240524, -0.353287011384964, 0.019541624933481216, 0.431140661239624, 0.5448323488235474, 0.32010361552238464, -0.46511828899383545, 0.04025230556726456, 0.7792404890060425, -0.5627408027648926, 0.10679291188716888, 0.7657449841499329, -0.17074289917945862, -0.1645878702402115, 0.21637891232967377, -0.04255834221839905, -1.0263783931732178, 0.7035117745399475, 0.42508557438850403, 0.9163528084754944, -0.23169922828674316, 0.16175289452075958, -0.17989085614681244, 0.7480204105377197, 0.14770758152008057, -0.11079136282205582, -0.24000369012355804, -0.4605327844619751, -0.09634766727685928, -0.49300235509872437, -0.5211480259895325, 0.150384321808815, -0.803078293800354, 0.11221455037593842, -0.5791483521461487, 0.01400379091501236, 0.20134736597537994, 0.11429961025714874, -0.139780655503273, 0.31698402762413025, 0.18052153289318085, 0.6391865611076355, -0.409563809633255, 0.8257432579994202, 0.3923627436161041, -0.19680877029895782, -0.40725088119506836, 0.26394277811050415, 0.12664449214935303, -0.4775683283805847, 0.6639913320541382, 0.16150948405265808, -0.2135755717754364, -0.3713778257369995, -0.3198908567428589, -0.5990977883338928, 0.7056840658187866, 0.24980874359607697, -0.13010866940021515, -0.07131590694189072, 0.1533980816602707, 0.4112577736377716, 0.2023652344942093, -0.000054276159062283114, 0.47643449902534485, 0.434974730014801, -0.15801875293254852, -0.5747373700141907, -0.012051090598106384, -0.05027871951460838, -0.005356740206480026, 0.2762325704097748, -0.5336019396781921, 0.6946084499359131, 0.011656256392598152, -0.17056414484977722, 0.1366775631904602, 0.40744632482528687, -0.1293499618768692, 0.26209592819213867, 0.45060786604881287, 0.39609038829803467, 0.5395346283912659, -0.3289569914340973, 1.287441611289978, -0.02213316597044468, 0.14083725214004517, 0.6961040496826172, -0.1482856720685959, 0.7778083086013794, 0.27190953493118286, -0.07572449743747711, 0.4274362027645111, 0.17114175856113434, -0.23920553922653198, 0.6531832814216614, 0.22802093625068665, -0.14598271250724792, 0.2538527250289917, 0.3489176332950592, -0.2702229619026184, 0.5480467677116394, 0.5733150243759155, -0.3437935709953308, -0.15647970139980316, 0.21198000013828278, 0.34420856833457947, 0.2097085863351822, -0.13047794997692108, 0.9768950343132019, -0.25609123706817627, -0.34953323006629944, 0.3866746425628662, 0.4502476751804352, 0.8839156031608582, -1.2465975284576416, 0.15095040202140808, 0.22610726952552795, 0.2647814154624939, -0.08058560639619827, -0.42494454979896545, 0.37778612971305847, 0.005663089919835329, -0.21468032896518707, -0.24538110196590424, 0.9861718416213989, 0.08671664446592331, -0.30705249309539795, 0.6199976801872253, -0.1961122751235962, -0.24327349662780762, -0.21603724360466003, -1.0290676355361938, 0.14536882936954498, -0.01953749917447567, -0.17072831094264984, 0.5519735813140869, 0.20932462811470032, 0.13458357751369476, 0.5756667256355286, 0.6996430158615112, 0.1216040849685669, 0.14091099798679352, 0.035204652696847916, 0.6412749886512756, -0.5701471567153931, -0.5761190056800842, -0.9931595921516418, 0.10653959214687347, -0.32048189640045166, -0.09530321508646011, 1.1545324325561523, 0.3389699459075928, 0.7699915170669556, 0.10899679362773895, 0.7350802421569824, 0.01374010555446148, 0.5499191880226135, -0.66796875, 0.9911572933197021, -0.20480741560459137, 0.44656750559806824, -0.7096336483955383, -0.43806788325309753, -0.4948599934577942, 0.35507017374038696, -0.13627630472183228, -0.15486158430576324, 0.7134578824043274, 0.5320270657539368, 0.45377063751220703, 0.36832207441329956, 0.2121700644493103, 0.19076906144618988, 0.4231177866458893, 0.3791947066783905, 0.8650715351104736, -0.7753851413726807, 0.6873891949653625, -0.3695399761199951, -0.18288922309875488, -0.1366908997297287, -0.657076358795166, -0.9083200097084045, -0.27208366990089417, -0.22323058545589447, -0.38737261295318604, 0.28751739859580994, 0.20978142321109772, 0.35264337062835693, -0.6901795864105225, 0.21618802845478058, -0.10374081879854202, 0.3012244403362274, -0.2829076945781708, -0.33212533593177795, 0.5871865153312683, -0.3941114842891693, -0.5461629629135132, 0.5039225220680237, 0.17833824455738068, 0.10074552893638611, -0.4784225821495056, 0.2992977499961853, -0.22781716287136078, 0.2991919219493866, 0.4251129925251007, -0.017383091151714325, -0.8730037212371826, -0.018632397055625916, -0.11218749731779099, -0.13443419337272644, -0.579445481300354, 0.812164843082428, -0.7925967574119568, 0.4998054504394531, 0.197190061211586, 0.9127208590507507, -0.03338035196065903, -0.04748937115073204, 0.4214228093624115, -0.8526994585990906, 0.24922850728034973, 0.38184916973114014, 0.15141262114048004, 0.25207629799842834, -0.6505821347236633, 0.27144595980644226, 0.2356550395488739, -0.3120940923690796, -0.9886438250541687, 0.08628416806459427, -0.7419058680534363, -0.9669833183288574, 0.7884954810142517, -0.14539024233818054, -0.25919726490974426, -0.3572781980037689, -0.2681589126586914, -0.06709828972816467, -0.11873500049114227, 0.7340347766876221, 0.6944559812545776, 0.17200687527656555, 0.5916568636894226, -0.7488595843315125, 0.5725958943367004, 0.5342807173728943, -0.3538892865180969, -0.020567892119288445, 0.14501677453517914, -0.12974455952644348, 0.31220656633377075, 0.02627289667725563, -0.36851704120635986, 0.15685535967350006, 0.3094909191131592, -0.45897531509399414, 0.10693300515413284, -0.2830478549003601, -0.4083392024040222, 0.7213084697723389, -0.26863333582878113, -0.37563157081604004 ]
http://arxiv.org/abs/2404.05144v1
http://arxiv.org/pdf/2404.05144v1
Enhancing Clinical Efficiency through LLM: Discharge Note Generation for Cardiac Patients
2024-04-08T01:55:28
2024-04-08T01:55:28
HyoJe Jung, Yunha Kim, Heejung Choi, Hyeram Seo, Minkyoung Kim, JiYe Han, Gaeun Kee, Seohyun Park, Soyoung Ko, Byeolhee Kim, Suyeon Kim, Tae Joon Jun, Young-Hak Kim
cs.CL
cs.CL, cs.CV, cs.LG
Medical documentation, including discharge notes, is crucial for ensuring patient care quality, continuity, and effective medical communication. However, the manual creation of these documents is not only time-consuming but also prone to inconsistencies and potential errors. The automation of this documentation process using artificial intelligence (AI) represents a promising area of innovation in healthcare. This study directly addresses the inefficiencies and inaccuracies in creating discharge notes manually, particularly for cardiac patients, by employing AI techniques, specifically large language model (LLM). Utilizing a substantial dataset from a cardiology center, encompassing wide-ranging medical records and physician assessments, our research evaluates the capability of LLM to enhance the documentation process. Among the various models assessed, Mistral-7B distinguished itself by accurately generating discharge notes that significantly improve both documentation efficiency and the continuity of care for patients. These notes underwent rigorous qualitative evaluation by medical expert, receiving high marks for their clinical relevance, completeness, readability, and contribution to informed decision-making and care planning. Coupled with quantitative analyses, these results confirm Mistral-7B's efficacy in distilling complex medical information into concise, coherent summaries. Overall, our findings illuminate the considerable promise of specialized LLM, such as Mistral-7B, in refining healthcare documentation workflows and advancing patient care. This study lays the groundwork for further integrating advanced AI technologies in healthcare, demonstrating their potential to revolutionize patient documentation and support better care outcomes.
[ -0.1633010059595108, -0.7838621139526367, 0.9154367446899414, 0.19389168918132782, -0.44706612825393677, -0.1104353591799736, -0.1451132893562317, -0.39320117235183716, 0.026561113074421883, 0.504180908203125, -0.3154521584510803, -0.9430043697357178, -0.6125460863113403, 0.060905151069164276, -0.5611624121665955, 0.916508674621582, -0.12735362350940704, 0.2124377340078354, -0.19519156217575073, -0.029006347060203552, -0.45751509070396423, -0.5175298452377319, -0.6178657412528992, -0.7282224893569946, 0.4773100018501282, 0.16842801868915558, 0.5618891716003418, 0.9246962070465088, 0.8591305613517761, 0.32128334045410156, 0.03457657992839813, 0.28812965750694275, -0.1869734525680542, 0.29933106899261475, 0.41524434089660645, -0.5577889680862427, -0.7792538404464722, -0.4318007826805115, 0.6536155343055725, 0.28678014874458313, -0.39394837617874146, 0.20113669335842133, -0.22610895335674286, 0.9020980000495911, -0.24443994462490082, 0.22124789655208588, -0.18106220662593842, 0.04213564842939377, -0.3341124355792999, -0.5266355872154236, -0.15394273400306702, -0.44997209310531616, 0.08271042257547379, -0.6262031197547913, 0.37025758624076843, -0.15647172927856445, 0.5696291327476501, 0.44525474309921265, 0.026929855346679688, -0.6776677966117859, -0.8453587293624878, 0.22364650666713715, -0.7773065567016602, 0.26346564292907715, 0.3233407735824585, 0.475699782371521, -0.108432836830616, -0.9079334139823914, -0.24224939942359924, -0.44104117155075073, -0.014398920349776745, 0.44608086347579956, -0.11126729846000671, 0.49246904253959656, 0.3677939772605896, 0.5573030114173889, -0.3782554566860199, 0.17951369285583496, -0.5059784650802612, -0.050096265971660614, 0.7432403564453125, 0.5197778344154358, 0.42171838879585266, -0.08016423135995865, -0.05049535259604454, 0.0673326924443245, -0.4323076009750366, 0.014608399011194706, 0.05026001110672951, -0.10730455815792084, -0.43173643946647644, 0.49572670459747314, -0.11193130165338516, 0.3941372036933899, 0.04169547185301781, -0.5805449485778809, 0.17985521256923676, -0.1599242240190506, -0.23705022037029266, 0.45413222908973694, 0.7122766971588135, 0.39074864983558655, -0.05698389932513237, -0.11022229492664337, -0.24983860552310944, 0.11886096745729446, 0.5273046493530273, -0.7692598700523376, -0.3748118281364441, 0.6721727848052979, -0.7445846796035767, -0.2584376335144043, -0.0015760784735903144, -0.4378246068954468, -0.6257793307304382, -0.6106125712394714, -0.029939349740743637, -0.7344310879707336, -0.016232537105679512, -0.09741640090942383, -0.4035611152648926, -0.11257178336381912, 0.8601446747779846, -0.48430249094963074, 0.20426374673843384, 0.7582398653030396, 0.7336196899414062, -0.1440303474664688, -0.02601907029747963, -0.4111812114715576, 0.11130671203136444, -0.4322885572910309, 0.9401400685310364, -0.12763051688671112, -0.7085996270179749, 0.2190372794866562, -0.4537968933582306, 0.13672521710395813, -0.9170655608177185, 0.7397763133049011, -0.04237143322825432, -0.32252880930900574, 0.07664293050765991, -0.515819787979126, -0.0021380295511335135, 0.2014738917350769, -0.8265646696090698, 0.7550622224807739, 0.4033562242984772, -0.46266090869903564, 0.10422685742378235, -0.4996877908706665, -0.5245046615600586, 0.35386788845062256, -0.6001085638999939, -0.5196550488471985, 0.357104629278183, 0.13329876959323883, 0.4254002571105957, -0.6780533194541931, 0.31988728046417236, 0.14107190072536469, -0.37892454862594604, 0.3509105443954468, -0.520994246006012, 0.3331077992916107, 0.058524079620838165, -0.27305498719215393, 0.1913342922925949, -0.85194331407547, -0.2532961368560791, -0.28715425729751587, -0.6052323579788208, -0.06332790851593018, -0.22849318385124207, 0.09180688858032227, 0.19706524908542633, 0.1631181687116623, -0.2150879204273224, 0.2584807574748993, -0.43464744091033936, 0.2359304577112198, 0.6198116540908813, 0.36427241563796997, 0.46352195739746094, -0.9932941794395447, 0.777992844581604, 0.018794653937220573, 0.422956645488739, -0.5337200164794922, -0.3361055254936218, -0.5627015829086304, -0.5961908102035522, 0.13840746879577637, 0.5101844072341919, -0.37381356954574585, 0.448742538690567, -0.15126001834869385, -0.8921173810958862, -0.8399929404258728, 0.11772522330284119, 0.4005624055862427, 0.9316123723983765, 0.34193184971809387, -0.1279587298631668, -0.1673935204744339, -0.7559056878089905, 0.046704959124326706, -0.25998252630233765, 0.2970021665096283, 0.37671300768852234, 0.03572545945644379, -0.567146360874176, 0.548323392868042, -0.33129507303237915, -0.4425416588783264, -0.6037716269493103, 0.2049461156129837, 0.3249984085559845, 0.3262394070625305, 0.14323776960372925, -0.5145366787910461, -0.33682799339294434, 0.1672985553741455, -1.0482432842254639, -0.3270837068557739, -0.6116495132446289, -0.24680545926094055, 0.13141947984695435, 0.49778011441230774, -0.7645737528800964, 0.7993254065513611, 0.00722956657409668, 0.11510118842124939, 0.41622456908226013, -0.8468045592308044, 0.2703759968280792, -0.9333375096321106, 0.2918722331523895, -0.025589656084775925, 0.010548553429543972, -0.719977855682373, -0.4250970780849457, 0.25614073872566223, -0.014661183580756187, -0.1336556375026703, 0.6964903473854065, -0.4166429340839386, 0.38239994645118713, -0.30205249786376953, -0.11250349879264832, -0.008823195472359657, 0.08788865059614182, -0.1564393937587738, 0.16281716525554657, 0.3285481929779053, -0.7284293174743652, 0.3230522871017456, 0.34881827235221863, 0.05901554226875305, 0.6325900554656982, -0.6243138313293457, -0.31583791971206665, -0.25652754306793213, 0.42061904072761536, -0.7172282338142395, -0.2435346096754074, 0.08274339139461517, -0.5359781384468079, 0.4135209023952484, 0.1536148488521576, -0.4990721046924591, -0.4107359051704407, -0.3806842267513275, 0.21025200188159943, 0.8459763526916504, -0.04315786808729172, 0.941184401512146, 0.203507199883461, -0.36210542917251587, -0.20003332197666168, -0.5994025468826294, -0.07396382838487625, -0.1492716521024704, -0.461342453956604, 0.3420037627220154, -0.045821648091077805, -0.36876338720321655, -0.24812935292720795, -0.1662500947713852, 0.005239448510110378, 0.1594315618276596, 0.7785567045211792, 0.5526756048202515, -0.07309643179178238, 0.3531365692615509, 0.384761244058609, -0.1873219907283783, 0.20689232647418976, -0.04058607667684555, 0.5958088636398315, 0.34268707036972046, -0.6486288905143738, -1.278815746307373, 0.5478760600090027, 0.9433420300483704, -0.2082497775554657, 0.48279261589050293, 0.6780726909637451, -0.47795671224594116, -0.22609026730060577, -0.9422228932380676, 0.01572694629430771, -0.3792618215084076, 0.3221762478351593, 0.18223029375076294, -0.48658671975135803, 0.5964581370353699, -0.3876258432865143, 0.3770829737186432, 0.5794005393981934, 0.6031681895256042, -0.2628650963306427, 0.8326335549354553, 0.40388011932373047, -0.20017455518245697, 0.33816617727279663, -0.47264978289604187, 0.2780073881149292, -0.9406765699386597, -0.500082790851593, -0.6612357497215271, -0.13885195553302765, -0.412441611289978, -0.45028433203697205, 0.8581234812736511, 0.3105631470680237, -0.1825949102640152, -0.4479077160358429, -0.7036412954330444, -0.22476495802402496, 0.49029186367988586, 0.26304763555526733, 0.3800358772277832, -0.06449192017316818, 0.08134949207305908, 0.2627244293689728, -0.6923955678939819, -0.5657711625099182, 1.176474690437317, 0.3747003376483917, 0.9802554845809937, -0.27325472235679626, 1.2060050964355469, 0.7113941311836243, 0.6011990308761597, -0.6004074215888977, 0.18287740647792816, -0.11375167220830917, 0.012742255814373493, -0.19732418656349182, -0.09908541291952133, -0.8583129048347473, -0.15769998729228973, -0.24458779394626617, -0.4168435335159302, -0.1926526576280594, 0.6422873735427856, -0.4784190058708191, -0.13438226282596588, -0.5831606984138489, 0.5149295926094055, -0.552201509475708, -0.03919766843318939, -0.2658679783344269, -0.5325863361358643, 0.4114254415035248, -0.3241509199142456, 0.26013699173927307, 0.09311285614967346, -0.05799051374197006, 0.41093018651008606, -0.6355463266372681, 0.6227489709854126, 0.046116903424263, -0.35044220089912415, 0.27496305108070374, -0.18171988427639008, 0.36863112449645996, 0.25810736417770386, -0.19964411854743958, 0.20240844786167145, -0.26943865418434143, 0.06659288704395294, -0.7038028240203857, 0.5632269978523254, -0.7588239312171936, -0.43209409713745117, -0.25423887372016907, -0.4776049256324768, 0.17902518808841705, 0.189801886677742, 0.48642557859420776, 0.9219235181808472, -0.2706677317619324, -0.33712238073349, 0.6082308292388916, -0.45985713601112366, 0.2740333676338196, 0.4184947609901428, 0.11118107289075851, -0.5125245451927185, 0.8803768157958984, 0.18894901871681213, 0.08503536880016327, 0.49884334206581116, 0.24821233749389648, -0.47082921862602234, -0.659712553024292, -0.624578058719635, 0.5927068591117859, -0.7575454115867615, -0.1727188378572464, -0.9011356830596924, -0.47887182235717773, -0.5508862137794495, -0.6062154173851013, -0.0416630394756794, -0.19080273807048798, -0.47657349705696106, 0.058070749044418335, 0.24254776537418365, 0.9766445159912109, 0.15483848750591278, 0.4286763370037079, -1.268196702003479, 0.7770705819129944, -0.21240292489528656, -0.0284838005900383, 0.32027313113212585, -0.35707607865333557, -0.29552584886550903, -0.20296186208724976, -0.4268655478954315, -0.7469858527183533, 0.2811029255390167, -0.023992348462343216, 0.9875431060791016, 0.593578040599823, -0.13328543305397034, 0.6010724306106567, -0.4737265706062317, 0.7405925393104553, 0.47171396017074585, -0.7126104235649109, 0.7897810935974121, -0.4054209291934967, 0.48247718811035156, 0.5140561461448669, 0.029668176546692848, -0.5662233829498291, -0.6251097321510315, -0.9733161330223083, -1.0437273979187012, 0.4653579592704773, 0.08669106662273407, -0.19211606681346893, 0.003182422835379839, 0.5477488040924072, 0.048344701528549194, 0.3157902956008911, 0.09288256615400314, -0.47651514410972595, 0.09446067363023758, -0.7627696394920349, -0.07346947491168976, -0.06389384716749191, -0.2844102382659912, 0.017466064542531967, 0.4143228232860565, 0.18732501566410065, 0.2886439561843872, 0.5151023268699646, -0.09475166350603104, -0.0287874024361372, 0.2227001041173935, 0.8404444456100464, 0.7953217029571533, 0.24378740787506104, -0.1722639501094818, -0.16045650839805603, -0.7441409826278687, 0.089470274746418, 0.45225319266319275, -0.304058700799942, 0.15955497324466705, 0.7147192358970642, 0.5731468796730042, -0.20670168101787567, -0.9584839940071106, 0.3509597182273865, -0.19000473618507385, -0.16743455827236176, -0.5483273863792419, 0.31049418449401855, 0.2734227478504181, 0.2827334702014923, 0.10907341539859772, -0.0160068366676569, 0.2296093851327896, -0.2912927269935608, 0.16364306211471558, 0.1528244912624359, -0.26352909207344055, -0.040536727756261826, 0.541069507598877, 0.22183726727962494, -0.5527711510658264, 0.6089180111885071, 0.3102591037750244, -0.2165074199438095, 0.9401730895042419, 0.5040958523750305, 0.7366543412208557, -0.2953943908214569, 0.18078750371932983, 0.20059838891029358, 0.09430134296417236, -0.3716709017753601, 0.286789208650589, -0.3194487988948822, -0.02343417890369892, 0.027037275955080986, -0.604017972946167, -0.34187957644462585, -0.0419517420232296, -0.6432009339332581, 0.3048727512359619, -0.6608351469039917, -0.21027719974517822, -0.14346212148666382, -0.27777430415153503, -0.6814887523651123, 0.32228031754493713, 0.32599982619285583, 0.9196101427078247, -0.5197532176971436, 0.4142458736896515, 0.6422617435455322, -0.4988681375980377, -1.154937744140625, -0.09274448454380035, 0.1957567185163498, -0.7346763014793396, 0.3644755780696869, 0.2020789235830307, -0.1315506398677826, -0.1807168573141098, 0.07494843751192093, -0.34615400433540344, 1.4410443305969238, 0.08758842200040817, -0.6061307191848755, -0.03241180256009102, 0.25176531076431274, 0.9137717485427856, -0.25541603565216064, 0.5781323313713074, 0.5694345235824585, 0.34026825428009033, -0.23800420761108398, -0.8140450716018677, -0.07273397594690323, -0.36888206005096436, -0.0985405370593071, 0.25730568170547485, -0.7833224534988403, 0.7529799342155457, -0.15131211280822754, 0.0009766875300556421, 0.04447539895772934, 0.5202675461769104, 0.4773656129837036, 0.6779950857162476, 0.050427407026290894, 0.6867388486862183, 1.1111351251602173, 0.16555707156658173, 1.3080973625183105, -0.38070443272590637, -0.3491649627685547, 0.8557127118110657, -0.3211013376712799, 0.4530157148838043, 0.25627079606056213, 0.19701726734638214, 0.44461381435394287, 0.31940728425979614, 0.1844259649515152, -0.021889349445700645, 0.4746564030647278, -0.5993944406509399, -0.01273221056908369, -0.22912999987602234, -0.4430534541606903, 0.18021591007709503, 0.47347381711006165, -0.8486979007720947, -0.06553451716899872, -0.1751527637243271, 0.16038787364959717, 0.07284941524267197, -0.5760754942893982, 1.0404374599456787, 0.3046376407146454, -1.049651861190796, 0.5181452035903931, -0.15104295313358307, 0.23896460235118866, -0.7415896058082581, -0.4354936182498932, -0.28969547152519226, 0.27038148045539856, -0.4643697440624237, -0.3180098235607147, -0.15195071697235107, 0.3191961348056793, -0.3753378093242645, -0.25665006041526794, 0.5074985027313232, -0.2509241998195648, -0.6162453293800354, 0.003998106811195612, 0.4886511266231537, 0.08794057369232178, 0.07442308217287064, -0.6639461517333984, 0.1665385216474533, 0.016694340854883194, 0.14763563871383667, 0.21690237522125244, 0.6747540235519409, -0.11866520345211029, 0.740954577922821, 0.5322977304458618, 0.6705227494239807, -0.017767013981938362, 0.5453855395317078, 0.9291380047798157, -0.6519798040390015, -0.6187191605567932, -0.9852294921875, 0.7506871223449707, -0.1409696340560913, -0.47415152192115784, 0.3116989731788635, 0.714287281036377, 0.2030208557844162, 0.19254697859287262, 1.2921805381774902, 0.3646620810031891, 0.5176013708114624, -0.5349976420402527, 0.9317860007286072, -0.4008396863937378, 0.24532727897167206, -0.244508758187294, -0.4095834493637085, -0.278573215007782, 0.21310223639011383, 0.040774229913949966, -0.18436652421951294, 0.7732133269309998, 0.5429810285568237, 0.19630111753940582, -0.28481578826904297, 0.08985771983861923, -0.02888605184853077, 0.8204141855239868, 0.522855818271637, 0.7274084687232971, -0.22804220020771027, 0.3379634916782379, -0.28167006373405457, -0.33656251430511475, -0.30211499333381653, -0.3886719346046448, -0.8802880644798279, -0.23863527178764343, -0.16639384627342224, -0.18750730156898499, -0.022821150720119476, 0.8596386313438416, 0.2797316014766693, -0.21797294914722443, -0.12633253633975983, -0.0653027594089508, -0.05498495325446129, -0.024993648752570152, -0.09123552590608597, 0.6559115648269653, -0.2978453040122986, -0.3253619968891144, 0.06293821334838867, 0.8138731718063354, 0.22248804569244385, -0.1007380560040474, -0.1641424149274826, 0.3365701138973236, -0.16495783627033234, 0.1842329502105713, 0.12076560407876968, -0.8710896372795105, 0.47317466139793396, -0.1342362016439438, -0.4399684965610504, 0.22138729691505432, 1.041888952255249, -0.42708611488342285, 0.3703469932079315, 0.5643050074577332, 0.8951609134674072, 0.17298918962478638, 0.5816143155097961, 0.4985644221305847, 0.14476324617862701, -0.17406730353832245, 0.42784711718559265, 0.2934688627719879, 0.27648332715034485, -0.878143310546875, 0.14789548516273499, 0.02951815165579319, -0.6202014684677124, -0.5670267343521118, -0.26211243867874146, -1.2531665563583374, 0.13853605091571808, 0.9865331649780273, -0.08579977601766586, -0.27088844776153564, -0.2520959675312042, -0.6426576972007751, 0.5348652005195618, -0.660041868686676, 0.9322995543479919, 0.29328423738479614, -0.7464116811752319, 0.0309683158993721, -0.6980183720588684, 0.6663022041320801, 0.16357605159282684, -1.2508453130722046, 0.02884877659380436, 0.5665033459663391, -0.07735802978277206, -0.006009605713188648, 1.1881951093673706, -0.21802747249603271, 0.7093414664268494, -0.21967406570911407, -0.0276360884308815, -0.1922863870859146, -0.14279094338417053, -0.4549126625061035, 0.20178546011447906, 0.11773157119750977, -0.022212492302060127 ]
http://arxiv.org/abs/2404.05143v1
http://arxiv.org/pdf/2404.05143v1
Plug and Play with Prompts: A Prompt Tuning Approach for Controlling Text Generation
2024-04-08T01:54:28
2024-04-08T01:54:28
Rohan Deepak Ajwani, Zining Zhu, Jonathan Rose, Frank Rudzicz
cs.CL
cs.CL, cs.AI, cs.LG
Transformer-based Large Language Models (LLMs) have shown exceptional language generation capabilities in response to text-based prompts. However, controlling the direction of generation via textual prompts has been challenging, especially with smaller models. In this work, we explore the use of Prompt Tuning to achieve controlled language generation. Generated text is steered using prompt embeddings, which are trained using a small language model, used as a discriminator. Moreover, we demonstrate that these prompt embeddings can be trained with a very small dataset, with as low as a few hundred training examples. Our method thus offers a data and parameter efficient solution towards controlling language model outputs. We carry out extensive evaluation on four datasets: SST-5 and Yelp (sentiment analysis), GYAFC (formality) and JIGSAW (toxic language). Finally, we demonstrate the efficacy of our method towards mitigating harmful, toxic, and biased text generated by language models.
[ -0.328888475894928, -0.8638424873352051, 0.6192046999931335, 0.38523218035697937, -0.2703806459903717, -0.0010189650347456336, -0.3009483218193054, 0.20185503363609314, -0.08200724422931671, 0.6367160081863403, -0.8686856031417847, -0.3724331557750702, -0.2936754524707794, 0.4256962239742279, 0.02984197996556759, 1.0575915575027466, 0.17561282217502594, -0.027540341019630432, -0.1422615647315979, 0.22636105120182037, -0.9406131505966187, -0.11006047576665878, -0.8596163392066956, -0.2324058562517166, 0.8047931790351868, 0.5628294944763184, 0.6651842594146729, 0.7487512230873108, 0.16075032949447632, 0.21161088347434998, -0.1522410660982132, 0.39070144295692444, -0.4274747669696808, 0.46302515268325806, -0.14945538341999054, -0.5166962146759033, 0.12719079852104187, -0.022289570420980453, 0.3386911153793335, 0.27626633644104004, -0.0318225622177124, -0.13155464828014374, -0.032259199768304825, 0.23556897044181824, -0.37060749530792236, -0.03963516652584076, -0.7778128981590271, 0.08805790543556213, -0.20600152015686035, -0.531115710735321, -0.909285306930542, -0.6773704886436462, -0.36341989040374756, -0.35999569296836853, 0.24336059391498566, 0.4174724221229553, 0.6974906325340271, 0.4192810654640198, -0.507853627204895, -0.6070470809936523, -0.6054429411888123, 0.8098999857902527, -0.7747525572776794, 0.01360541395843029, 0.20593030750751495, 0.270513117313385, -0.3982074558734894, -0.5147250294685364, -0.40916669368743896, -0.3010881543159485, -0.2178703099489212, 0.09192245453596115, -0.12393008917570114, -0.08527933061122894, 0.4995553493499756, 0.0033051043283194304, -0.5369605422019958, 0.3979756534099579, 0.09045790135860443, -0.33996522426605225, 0.5133906602859497, 0.5110557079315186, 0.4553212821483612, -0.4402695894241333, -0.07704988121986389, -0.04769580811262131, -1.1340059041976929, 0.33938100934028625, 0.5339050889015198, 0.8414658904075623, -0.05080664902925491, 0.6487205028533936, 0.1808866560459137, 0.6807488799095154, 0.42005932331085205, -0.2576841413974762, -0.2330683171749115, -0.22811934351921082, -0.07561087608337402, 0.005657150875777006, 1.08407461643219, 0.3822233974933624, 0.2630833685398102, 0.07460077852010727, -0.42570313811302185, 0.2050616443157196, 0.352777898311615, -0.802164614200592, -0.05123518034815788, 0.014400586485862732, -0.16656050086021423, -0.7375796437263489, -0.2838641405105591, -0.7124812602996826, -0.6585753560066223, -0.23655040562152863, 0.24336455762386322, -0.41796231269836426, 0.05426091328263283, -0.16747643053531647, -0.05538153275847435, 0.2088838368654251, 0.14745259284973145, -1.0556082725524902, 0.039598725736141205, 0.4159891903400421, 0.7492700815200806, -0.30179738998413086, 0.16824853420257568, -0.9481874108314514, -0.007603935897350311, -0.5799979567527771, 0.5660116672515869, -0.6830692291259766, -0.6905176639556885, 0.43000125885009766, 0.04401537775993347, 0.04562990367412567, -0.43106529116630554, 0.587617039680481, -0.6248406767845154, 0.7098693251609802, -0.26295343041419983, -0.5096544623374939, 0.3856748044490814, -0.1911470890045166, -0.5477419495582581, 1.0084247589111328, 0.0144186494871974, -0.7768958806991577, 0.4665253162384033, -0.29689398407936096, -0.7178018093109131, 0.10059206932783127, -0.29447832703590393, -0.46218812465667725, 0.23243750631809235, 0.41689884662628174, 0.41490671038627625, -0.3057921528816223, 0.4307464063167572, 0.19450148940086365, -0.19477809965610504, 0.14099864661693573, -0.39217686653137207, 0.5971118211746216, 0.18613594770431519, -0.38575929403305054, 0.35295161604881287, -0.6175577640533447, -0.17960643768310547, -0.048562388867139816, -0.3133784234523773, -0.16837768256664276, -0.014638097025454044, -0.009540392085909843, 0.39872145652770996, 0.05579659715294838, -0.3459964096546173, 0.2951909005641937, -0.3354981541633606, 0.44842514395713806, 0.7284761071205139, 0.2645510733127594, 0.5047772526741028, -0.3175988793373108, 0.9019067287445068, 0.17898426949977875, -0.1509704738855362, -0.7403940558433533, -0.5776407122612, -0.6876815557479858, -0.11991323530673981, 0.2709347903728485, 0.5290898680686951, -1.1207435131072998, 0.7289029359817505, 0.21151159703731537, -0.4411567449569702, -0.49697479605674744, 0.0306073110550642, 0.17211830615997314, 0.64277583360672, 0.06209432706236839, 0.32149356603622437, -0.14452382922172546, -0.6308048963546753, -0.25879231095314026, -0.0002914128126576543, -0.3748641908168793, 0.5801893472671509, 0.10602676123380661, 0.09653016179800034, 1.1103042364120483, -0.5014936327934265, 0.017706668004393578, -0.37394851446151733, 0.22740694880485535, 0.3510643243789673, 0.5295266509056091, 0.3729495108127594, -0.4424571692943573, -0.5645354390144348, -0.16868005692958832, -0.40287449955940247, -0.6781933307647705, -0.5020419359207153, -0.09434103220701218, 0.1607917994260788, 0.770432710647583, -0.5445781946182251, 0.042571451514959335, 0.38409584760665894, -0.6441336274147034, 0.4520747661590576, -0.12538105249404907, 0.06457657366991043, -1.0852617025375366, -0.041979581117630005, 0.10622009634971619, -0.5816325545310974, -0.6151185035705566, -0.10876566916704178, 0.27993160486221313, -0.365310400724411, -0.4803719222545624, 0.43055272102355957, -0.1571350395679474, 0.49227067828178406, -0.35489392280578613, 0.13713525235652924, 0.12451677024364471, 0.3728688955307007, -0.08510302007198334, 1.131073236465454, 0.5584188103675842, -0.8248900175094604, 0.18744157254695892, 0.3875320255756378, -0.11449719965457916, 0.47919806838035583, -0.8415784239768982, 0.04693014174699783, -0.25049474835395813, 0.016465861350297928, -1.1076362133026123, -0.210013747215271, 0.24765443801879883, -0.2549964487552643, 0.4482392966747284, 0.1778244823217392, -0.5352569818496704, -0.3398820757865906, -0.21037784218788147, -0.1464213877916336, 0.8366727828979492, -0.6529216766357422, 0.33170583844184875, 0.11593545973300934, -0.4666331112384796, -0.005206650123000145, -0.4651806354522705, -0.13691337406635284, -0.5436893105506897, -0.3985532224178314, 0.24168266355991364, -0.3073773980140686, 0.018905997276306152, -0.47240522503852844, 0.392035573720932, 0.42041805386543274, 0.010867197997868061, 0.20958822965621948, 0.1398349106311798, -0.1282554715871811, 0.38060280680656433, 0.6964840292930603, -0.21778006851673126, 0.060675691813230515, -0.033549726009368896, 0.7269749641418457, 0.44501635432243347, -0.2248849868774414, -0.3181443512439728, 0.3501492738723755, 0.400147020816803, -0.2582945227622986, 0.4625347852706909, 0.4206901788711548, 0.0654686763882637, -0.5631335973739624, -0.16560302674770355, -0.4042454957962036, -0.5777653455734253, -0.04417504742741585, -0.14773361384868622, -1.1554876565933228, 0.3376435935497284, -0.29924583435058594, 0.22298669815063477, 0.31031885743141174, 0.8872114419937134, 0.053049199283123016, 1.4147789478302002, 0.7901360988616943, 0.05050644651055336, 0.5675923824310303, 0.4269910454750061, 0.20898176729679108, -0.34112879633903503, 0.0671451985836029, -0.6920765042304993, -0.1968948096036911, -0.9824249148368835, -0.23717136681079865, 0.3158048987388611, 0.06486199796199799, -0.3995213508605957, 0.1048569530248642, -0.4822463393211365, 0.5328734517097473, 0.5815351009368896, 0.06091463193297386, 0.20832395553588867, -0.14903748035430908, -0.28496095538139343, -0.28029441833496094, -0.826224684715271, -0.772148847579956, 0.5768393278121948, 0.39008042216300964, 0.8354455828666687, -0.1590500771999359, 0.5076125860214233, 0.3310267925262451, 0.01597748138010502, -0.6818495988845825, 0.44494616985321045, -0.09346476197242737, -0.37757524847984314, -0.20988225936889648, -0.46725931763648987, -0.7052819132804871, -0.1510336548089981, -0.12246761471033096, -0.4696753919124603, 0.017757173627614975, 0.20876216888427734, -0.4963543117046356, -0.003256042255088687, -0.6576030254364014, 0.5401832461357117, 0.08792166411876678, -0.41037169098854065, 0.13643860816955566, -0.44352269172668457, 0.3317428231239319, -0.10080292820930481, 0.11245676875114441, 0.04010948911309242, -0.09776555746793747, 0.41908589005470276, -0.275754451751709, 0.9273402690887451, -0.2587534189224243, -0.5393187403678894, 0.24221351742744446, 0.2941114902496338, 0.8416845798492432, 0.3389086425304413, -0.014471725560724735, -0.38836807012557983, -0.4321008324623108, -0.178878515958786, -0.36609306931495667, 0.7797229886054993, -0.5061713457107544, -0.5806607007980347, -0.11745721846818924, -0.4885653257369995, -0.28880009055137634, 0.27104100584983826, 0.7408153414726257, 0.44724777340888977, -0.08870195597410202, -0.16528728604316711, 0.8452392816543579, -0.7759342789649963, 0.7522205114364624, 0.36801669001579285, -0.462634801864624, -0.3875378966331482, 0.958367109298706, -0.24646075069904327, 0.29215481877326965, 0.20975331962108612, 0.37553903460502625, -0.3134981393814087, -0.10493310540914536, -0.6979828476905823, 0.1523190438747406, -0.3414020240306854, -0.5459175705909729, -0.49376925826072693, -0.037616293877363205, -0.3271121680736542, -0.39966657757759094, 0.05172329396009445, -0.19225843250751495, -0.6900544166564941, -0.05628998577594757, 0.5936751961708069, 0.9497193694114685, 0.2714656591415405, 0.9703468084335327, -0.5294596552848816, 0.17087991535663605, 0.283376008272171, 0.4189143180847168, -0.3225838243961334, -0.4257628619670868, -0.19350218772888184, -0.18877871334552765, -0.381670206785202, -0.9010877013206482, 0.6168397665023804, 0.07767821848392487, 0.21972964704036713, 0.49529439210891724, 0.08111199736595154, 0.09391424804925919, -0.9133642911911011, 1.2418960332870483, 0.16276077926158905, -0.9298859238624573, 0.8455228209495544, -0.6809560060501099, 0.5926686525344849, 0.3426431119441986, 0.31102851033210754, -0.44628652930259705, -0.8207038044929504, -0.4971563518047333, -0.6171557307243347, 0.8334717154502869, 0.05677679926156998, 0.47129395604133606, -0.317583829164505, 0.2540561258792877, 0.32037124037742615, 0.41373738646507263, -0.4539109766483307, -0.11294975131750107, -0.22156991064548492, -0.33222612738609314, -0.07108131051063538, -0.263689786195755, -0.07497773319482803, 0.02948336862027645, 0.6915938854217529, -0.31385019421577454, 0.053354065865278244, -0.28482484817504883, -0.10340472310781479, -0.36565572023391724, 0.23810821771621704, 0.6585549712181091, 0.16491957008838654, 0.2686619460582733, 0.11854664981365204, -0.020871076732873917, -0.2530692219734192, 0.2446557730436325, -0.27703991532325745, -0.8199664354324341, 0.18720419704914093, 0.16209109127521515, 1.1053862571716309, 0.07880586385726929, -0.5072720050811768, 0.3979366421699524, -0.27680912613868713, 0.022617807611823082, 0.21066395938396454, 0.3718931972980499, 0.07314477860927582, 0.04602592810988426, -0.027553627267479897, -0.07805169373750687, -0.17927037179470062, 0.04913541302084923, 0.16210022568702698, 0.41747668385505676, -0.5421205163002014, -0.2241339534521103, 0.805242657661438, 0.3733518123626709, -0.495261549949646, 0.5783673524856567, -0.2220587432384491, -0.1865278035402298, 0.39789140224456787, 0.9445571303367615, 0.7335805892944336, -0.34244590997695923, 0.4921623766422272, 0.4742696285247803, 0.35604631900787354, 0.1848447471857071, 0.33539459109306335, 0.18291619420051575, -0.6623486280441284, -0.4740692675113678, -0.6089478135108948, -0.3903374969959259, 0.17436818778514862, -0.541205644607544, 0.6077987551689148, -0.573921799659729, -0.19380396604537964, -0.26226556301116943, -0.16515497863292694, -0.5106890797615051, 0.07903186231851578, 0.04731948301196098, 1.040388584136963, -1.1887518167495728, 0.5323524475097656, 0.37489819526672363, -0.30243995785713196, -0.8155454397201538, 0.002500811591744423, -0.09820644557476044, -0.5020512342453003, 0.276782751083374, 0.20426855981349945, 0.135947585105896, 0.408676415681839, -0.7706554532051086, -0.3963218331336975, 0.841254711151123, 0.3123053014278412, -0.7501920461654663, 0.0767972394824028, 0.22625358402729034, 0.40170684456825256, -0.4552876353263855, 0.3616924285888672, 0.7946226000785828, 0.4363871216773987, 0.005075077060610056, -0.4706712067127228, 0.2273736596107483, -0.13522619009017944, 0.3162786364555359, 0.1516236960887909, -0.48664945363998413, 0.6957064270973206, -0.0318727046251297, -0.37157586216926575, -0.007153987418860197, 0.7287313342094421, 0.453553706407547, -0.18152344226837158, 0.6007512807846069, 0.09577237814664841, 0.8164546489715576, -0.2061292976140976, 0.9021304249763489, -0.5873560905456543, 0.048200126737356186, 0.7862666845321655, -0.27319857478141785, 0.31735026836395264, 0.629575252532959, 0.0916249081492424, 0.42336636781692505, 0.6810286641120911, -0.0008072812343016267, 0.6536931395530701, 0.2868364155292511, -0.3292587697505951, -0.3128213882446289, -0.5105761289596558, -0.11380865424871445, 0.12163852900266647, 0.2824946641921997, -0.4615330100059509, -0.19573251903057098, 0.31711411476135254, 0.14999058842658997, 0.26253512501716614, -0.3009934723377228, 0.9895442724227905, 0.072776660323143, -0.680823564529419, 0.251281201839447, -0.03208598122000694, 0.8674659729003906, -0.7045674324035645, 0.019560202956199646, -0.41361135244369507, -0.25868454575538635, 0.07688788324594498, -0.5958419442176819, 0.04057472199201584, 0.261528879404068, -0.28233984112739563, -0.5834609866142273, 0.7920627593994141, -0.4872587025165558, -0.5295521020889282, -0.21986089646816254, 0.5593132376670837, -0.3260481357574463, 0.29370805621147156, -0.2084205150604248, -0.008068275637924671, 0.1050223633646965, -0.4603796899318695, 0.1675538718700409, 0.7650967836380005, -0.11795739829540253, 0.3488803207874298, 0.5655398964881897, 0.2360173463821411, 0.06384598463773727, 0.25230756402015686, 1.028296709060669, -0.7164384722709656, -0.7291176319122314, -0.8546475172042847, 0.7177104353904724, 0.11758885532617569, -0.4612850844860077, 0.7247540354728699, 0.28968051075935364, 0.35342299938201904, -0.2756849527359009, 0.888187825679779, -0.13403849303722382, 0.625404417514801, -0.6277762055397034, 0.7229435443878174, -0.27040114998817444, 0.1827128678560257, -0.22679708898067474, -0.6810578107833862, -0.3245909512042999, 0.41831082105636597, -0.09771084040403366, -0.020500296726822853, 0.5021346807479858, 1.1156240701675415, 0.12422550469636917, 0.009947117418050766, 0.36319631338119507, 0.07443167269229889, 0.6726723313331604, 0.18093076348304749, 0.9132336378097534, 0.052905574440956116, 0.18604925274848938, -0.11962031573057175, -0.2989051938056946, 0.029900722205638885, -1.2074471712112427, -1.0162875652313232, -0.37555909156799316, -0.09875855594873428, -0.3912091851234436, -0.3271385729312897, 0.9210379719734192, 0.2834666073322296, -0.9867174029350281, -0.07366764545440674, -0.4191373586654663, 0.2046770453453064, 0.007721406873315573, -0.2743322253227234, 0.11621710658073425, -0.8810095191001892, -0.6869614124298096, 0.5578566193580627, 0.1328987330198288, 0.0023218421265482903, -0.4866112172603607, -0.014942956157028675, 0.23304350674152374, 0.41321584582328796, 0.607265055179596, -0.12858830392360687, -0.48013702034950256, -0.3458927571773529, 0.2908213436603546, -0.3479859232902527, -0.07333355396986008, 1.1634622812271118, -0.850297749042511, 0.30738699436187744, 0.5760807394981384, 0.3855219781398773, 0.011690731160342693, -0.06385196000337601, 0.9901837110519409, -1.1586966514587402, 0.062030065804719925, 0.17233046889305115, 0.1304592341184616, 0.38067659735679626, -0.6072065234184265, -0.023821843788027763, -0.1666797250509262, -0.6992361545562744, -0.7251795530319214, 0.4884197413921356, -0.5815083384513855, -0.11999876797199249, 1.2258599996566772, 0.10513956844806671, -0.06202895566821098, 0.13665466010570526, -0.6330755949020386, 0.44345757365226746, -0.523935854434967, 0.7165848016738892, 0.35554438829421997, -0.009937322698533535, -0.263414204120636, -0.32972127199172974, 0.9357106685638428, 0.20130005478858948, -0.8276499509811401, 0.26184704899787903, 0.6153346300125122, -0.06732328236103058, 0.08073166012763977, 0.37436193227767944, 0.12752757966518402, -0.00724040949717164, -0.26079607009887695, -0.10712814331054688, -0.0716942772269249, -0.46894514560699463, -0.7853445410728455, 0.06798951327800751, 0.11480148881673813, 0.18395192921161652 ]
http://arxiv.org/abs/2404.05133v1
http://arxiv.org/pdf/2404.05133v1
EcoVerse: An Annotated Twitter Dataset for Eco-Relevance Classification, Environmental Impact Analysis, and Stance Detection
2024-04-08T01:21:11
2024-04-08T01:21:11
Francesca Grasso, Stefano Locci, Giovanni Siragusa, Luigi Di Caro
cs.CL
cs.CL
Anthropogenic ecological crisis constitutes a significant challenge that all within the academy must urgently face, including the Natural Language Processing (NLP) community. While recent years have seen increasing work revolving around climate-centric discourse, crucial environmental and ecological topics outside of climate change remain largely unaddressed, despite their prominent importance. Mainstream NLP tasks, such as sentiment analysis, dominate the scene, but there remains an untouched space in the literature involving the analysis of environmental impacts of certain events and practices. To address this gap, this paper presents EcoVerse, an annotated English Twitter dataset of 3,023 tweets spanning a wide spectrum of environmental topics. We propose a three-level annotation scheme designed for Eco-Relevance Classification, Stance Detection, and introducing an original approach for Environmental Impact Analysis. We detail the data collection, filtering, and labeling process that led to the creation of the dataset. Remarkable Inter-Annotator Agreement indicates that the annotation scheme produces consistent annotations of high quality. Subsequent classification experiments using BERT-based models, including ClimateBERT, are presented. These yield encouraging results, while also indicating room for a model specifically tailored for environmental texts. The dataset is made freely available to stimulate further research.
[ -0.6987669467926025, -0.6438125371932983, 0.37459173798561096, 0.27896055579185486, -0.274259090423584, 0.07902437448501587, -0.22708621621131897, -0.6437663435935974, 0.47394511103630066, 0.5673455595970154, -0.7822789549827576, -0.6159341335296631, -0.7551835775375366, 0.404052197933197, -0.33890432119369507, 1.117252230644226, 0.4219958782196045, -0.3453400135040283, 0.056009866297245026, -0.5273280143737793, -0.21837562322616577, -0.10653569549322128, -0.5161911249160767, 0.15241843461990356, 0.832187831401825, 0.14135323464870453, 0.6595785617828369, 0.33596768975257874, 0.497219055891037, 0.26036813855171204, -0.3953908085823059, 0.020654896274209023, -0.49746716022491455, 0.13315895199775696, -0.43206509947776794, 0.15922126173973083, -0.2143164873123169, 0.1988528072834015, 0.5009799599647522, 0.7097821235656738, 0.06076658144593239, 0.40243616700172424, 0.228429913520813, 0.13075034320354462, -0.5995941758155823, 0.22463661432266235, -0.6347256302833557, 0.035909634083509445, -0.0686035305261612, -0.404190331697464, -0.17965067923069, -0.14212475717067719, -0.046156302094459534, -0.8421574831008911, 0.09228270500898361, 0.2087213099002838, 0.7408168911933899, 0.42304661870002747, -0.11789558082818985, -0.08808308094739914, -0.6020477414131165, 0.931129515171051, -0.5025071501731873, 0.2631990909576416, 0.16059914231300354, -0.04896398261189461, 0.07484354078769684, -0.3866916596889496, -0.8329556584358215, 0.7593914270401001, 0.11478646844625473, 0.38285255432128906, -0.3341690003871918, -0.0729411169886589, 0.011876282282173634, 0.06728871166706085, -0.23658643662929535, 0.18183811008930206, -0.13457921147346497, -0.05171830952167511, 0.4704122841358185, -0.0442672073841095, 0.2736711800098419, -0.8499309420585632, -0.2944730818271637, -0.14597420394420624, -0.5441918969154358, 0.14625833928585052, 0.4860902428627014, 0.784146785736084, 0.08836610615253448, 0.4242267608642578, -0.07414355129003525, 0.45216017961502075, -0.5523784756660461, 0.19362832605838776, -0.002390788635239005, -0.1412525475025177, -0.18017040193080902, -0.20258505642414093, 0.6865290999412537, 0.7449109554290771, -0.2135011851787567, 0.1641930341720581, -0.2862662374973297, -0.2881772220134735, 0.1646355390548706, -0.5898603796958923, -0.3322960436344147, 0.48252081871032715, -0.3602970838546753, -0.3949223756790161, 0.29326310753822327, -1.2318336963653564, -0.6236511468887329, -0.6049149632453918, 0.17573441565036774, -0.02649281919002533, -0.4107918441295624, -0.12620626389980316, -0.40991902351379395, 0.14593131840229034, 0.57218337059021, -0.3854323923587799, 0.00522632198408246, 1.1536335945129395, 0.9647659659385681, 0.5342955589294434, 0.06338932365179062, -0.10417488217353821, 0.06616012752056122, -0.10512930899858475, 1.2039165496826172, -0.7528356909751892, -0.30299487709999084, 0.2032885104417801, 0.182487353682518, 0.19176475703716278, 0.008311988785862923, 0.6051955223083496, -0.2896497845649719, 0.04924402013421059, -0.6111955642700195, -0.48883089423179626, -0.49833256006240845, 0.17595385015010834, -0.8550021648406982, 0.7834892868995667, -0.13113726675510406, -1.2395877838134766, 0.6544264554977417, -0.9718818068504333, -0.2977813482284546, 0.43425852060317993, 0.07039950042963028, -0.24600404500961304, -0.1971815824508667, 0.3007850646972656, 0.48249518871307373, 0.049595899879932404, 0.16408997774124146, -0.7868419885635376, 0.03392159193754196, -0.28255754709243774, -0.11592308431863785, 1.4013599157333374, 0.12539342045783997, -0.061933740973472595, -0.19763091206550598, -0.506784975528717, -0.082682304084301, -0.0947640985250473, -0.11492075771093369, -0.4781590700149536, 0.3429422974586487, 0.628674328327179, 0.12075348198413849, 0.10402143746614456, -0.8374608755111694, -0.07333376258611679, -0.07024523615837097, 0.7578805685043335, 0.9745726585388184, 0.32592058181762695, 0.05987202003598213, -0.2975074350833893, 0.20517320930957794, -0.371969610452652, 0.21231117844581604, -0.13696962594985962, -0.7983244061470032, -0.4101867377758026, -0.31601494550704956, 0.022387808188796043, 0.7197047472000122, -0.3710426986217499, 0.6980406641960144, -0.4630983769893646, -0.3073079288005829, -0.4779953062534332, -0.00046552723506465554, -0.39396408200263977, 0.3323463797569275, 0.4753343164920807, 0.40298202633857727, -0.8673855662345886, -0.8055431246757507, -0.421274870634079, -0.2644539177417755, -0.005496330559253693, 0.23799529671669006, 0.7058244943618774, -0.3732593357563019, 1.364687204360962, -0.3058479428291321, -0.26458293199539185, -0.08469196408987045, 0.5719332695007324, 0.17673078179359436, 0.3076114058494568, 0.6943454146385193, -0.8382089138031006, -0.17696084082126617, 0.053966861218214035, -0.5830131769180298, -0.288768470287323, 0.09407912194728851, -0.3021344840526581, 0.05137595534324646, 0.1859569549560547, -0.35880088806152344, 0.2628127634525299, 0.3445463180541992, -0.10715610533952713, -0.0695008784532547, 0.26574191451072693, 0.16449178755283356, -1.0729026794433594, 0.30889466404914856, 0.2832026779651642, -0.2902246117591858, -0.4350222945213318, -0.10900737345218658, -0.3240717053413391, -0.14846836030483246, -0.24691134691238403, 0.5266004800796509, 0.24132928252220154, 0.08485449105501175, -0.15615782141685486, 0.07214982062578201, 0.15187835693359375, -0.0035300764720886946, 0.31190359592437744, 0.05424949526786804, 0.18946070969104767, -0.17578217387199402, 0.14973460137844086, 0.5964705944061279, 0.15457481145858765, 0.6544569134712219, -0.2313854694366455, 0.13907532393932343, -0.3818560242652893, 0.5727088451385498, -0.890102744102478, -0.29027897119522095, 0.14195886254310608, -0.24544212222099304, -0.08263611793518066, -0.30797988176345825, -0.8790133595466614, -0.43075284361839294, -0.5660657286643982, -0.22967368364334106, 0.27444136142730713, -0.6924702525138855, 0.5843423008918762, 0.581669807434082, -0.5115078687667847, -0.42880284786224365, -0.44406506419181824, 0.42338842153549194, -0.40816766023635864, -0.3589373528957367, -0.16057999432086945, 0.2757802903652191, -0.4245390295982361, 0.22855988144874573, -0.05155300348997116, 0.12206142395734787, 0.4184471666812897, 0.27291393280029297, 0.0017712039407342672, 0.13617271184921265, 0.06283571571111679, 0.025798488408327103, 0.1380014568567276, 0.3617999255657196, -0.5161266326904297, 0.08277775347232819, -0.16493594646453857, 0.4000929296016693, -0.14258697628974915, 0.6223176717758179, 0.2634069621562958, 0.0379253625869751, 0.8131915926933289, 0.5491188764572144, -0.9605279564857483, -0.44863924384117126, -0.14053168892860413, 0.1557527333498001, -0.4146861433982849, 0.09762614965438843, 0.379238098859787, -0.7386227250099182, 0.5124555826187134, -0.03939006105065346, 0.6659879684448242, 0.8052659630775452, 0.18202738463878632, -0.681401789188385, 0.569492757320404, 0.8794425129890442, -0.035278160125017166, 0.44101905822753906, -0.5232411026954651, 0.4835267663002014, -0.792993426322937, -0.07517717778682709, -0.5587747097015381, -0.18960101902484894, -0.7631538510322571, -0.31310731172561646, -0.022212501615285873, -0.12794484198093414, -0.4603487551212311, 0.36581337451934814, -0.5546629428863525, 0.39510807394981384, 0.2802129089832306, 0.10699997842311859, 0.02872934751212597, -0.12947624921798706, 0.41827163100242615, -0.07635360956192017, -0.35741329193115234, -1.048822045326233, 0.6133924722671509, 0.30592215061187744, 0.16895756125450134, 0.25442489981651306, 0.6521955132484436, 0.6687526106834412, 0.8597808480262756, -0.6101770997047424, 0.5895071029663086, -0.2107239067554474, -0.5742496848106384, -0.419269323348999, -0.32711875438690186, -0.7953320741653442, 0.09254709631204605, -0.2926042973995209, -0.809884250164032, 0.35913315415382385, -0.16289983689785004, -0.548763632774353, 0.5187151432037354, -0.30680739879608154, 0.7126797437667847, 0.14866918325424194, -0.38873064517974854, -0.1254781037569046, -0.7030828595161438, -0.012118304148316383, -0.2162795215845108, 0.7811384797096252, -0.39474183320999146, -0.2672196626663208, 0.7752731442451477, -0.3992163836956024, 1.1821727752685547, -0.412962406873703, -0.18058185279369354, 0.2996816337108612, -0.14748696982860565, 0.2443036139011383, 0.385165810585022, -0.01945948228240013, 0.27072542905807495, -0.17115949094295502, -0.3778010606765747, -0.015322854742407799, 0.633858323097229, -0.7448071241378784, -0.5166598558425903, -0.4106995761394501, -0.26076024770736694, -0.29047033190727234, 0.16529075801372528, 0.1103481650352478, 0.17077231407165527, -0.24868720769882202, 0.0594397634267807, 0.40425315499305725, -0.4266144633293152, 0.6673314571380615, 0.22198434174060822, -0.22470687329769135, -0.6014304161071777, 0.9663221836090088, 0.423077791929245, -0.22212566435337067, 0.5201897025108337, 0.43825197219848633, -0.22958789765834808, -0.25605902075767517, 0.04085199162364006, -0.24720899760723114, -1.1267000436782837, -0.6062918305397034, -1.103129267692566, -0.05566433072090149, -0.36216509342193604, -0.42776963114738464, -0.033888932317495346, -0.2429766058921814, -0.2774057984352112, -0.49036696553230286, 0.8867087364196777, 0.9676893949508667, -0.4553319215774536, 0.11373909562826157, -0.5629106760025024, 0.03062278777360916, 0.16251787543296814, 0.28982946276664734, -0.23894859850406647, 0.045865368098020554, -0.16318412125110626, 0.1850888431072235, -0.3271361291408539, -0.7168096303939819, 0.5682387948036194, 0.4394359290599823, 0.214882031083107, 0.5115766525268555, 0.28752443194389343, 0.4351445138454437, -0.24652086198329926, 0.8021490573883057, -0.10753921419382095, -1.0037771463394165, 0.7552493810653687, -0.8116785287857056, -0.04734405502676964, 0.498136430978775, 0.40168094635009766, -0.5170851945877075, -0.7527554631233215, -0.8052585124969482, -1.2356735467910767, 0.6534835696220398, 0.3667748272418976, 0.10056595504283905, -0.31784987449645996, -0.06288313865661621, 0.41798636317253113, 0.30475756525993347, -0.3793126940727234, 0.0826299637556076, -0.6154156923294067, -0.11935563385486603, -0.1528763622045517, 0.1904195249080658, -0.2925581634044647, -0.33279407024383545, 0.5111624002456665, -0.10355966538190842, 0.25516802072525024, 0.2191706895828247, 0.06011457368731499, -0.18424931168556213, 0.15535323321819305, 0.1882539838552475, 0.24464671313762665, -0.6213473081588745, 0.14521414041519165, 0.0003097285225521773, -0.5066635608673096, -0.19460342824459076, 0.3015618920326233, -0.19359777867794037, 0.049422651529312134, 0.5111053586006165, 0.4215841591358185, 0.3109513819217682, -0.47382134199142456, 0.268134742975235, 0.2020060122013092, -0.11415041983127594, -0.4265710413455963, -0.447800874710083, 0.10332925617694855, 0.011860756203532219, 0.5558018684387207, 0.36287349462509155, 0.6140729188919067, -0.4817540645599365, 0.27168747782707214, 0.11380992829799652, -0.12964089214801788, -0.46125754714012146, 0.7904220223426819, 0.4834834635257721, -0.11758191883563995, 0.6211130619049072, -0.22228874266147614, -0.9287506937980652, 0.7384315729141235, 0.032589882612228394, 1.0297605991363525, 0.22396482527256012, 0.3582962453365326, 0.6370954513549805, 0.3647423982620239, 0.12461717426776886, 0.5145702362060547, 0.08175195008516312, -0.7915492057800293, -0.36588433384895325, -0.8199731111526489, -0.6447569131851196, 0.12459394335746765, -0.6661216020584106, 0.17907311022281647, -0.8651446104049683, -0.28488489985466003, 0.32194966077804565, 0.1344670057296753, -0.8154413104057312, 0.21837501227855682, 0.36895719170570374, 0.7465653419494629, -1.2313836812973022, 0.23950281739234924, 0.9927785396575928, -0.1953912079334259, -0.3826940059661865, 0.2917904555797577, 0.1977975070476532, -0.3214494287967682, 0.43233707547187805, 0.6840701103210449, -0.027082588523626328, 0.1388205736875534, -1.0034070014953613, -0.6372331380844116, 0.9172714352607727, 0.019388698041439056, -0.3058244287967682, 0.7024471759796143, 0.06208958104252815, 0.6269351243972778, -0.33873629570007324, 0.05508807674050331, 0.4277339279651642, 0.9186582565307617, -0.2647086977958679, -0.3998388946056366, -0.05132727324962616, -0.5473276972770691, -0.09385375678539276, 0.2511707544326782, -0.8047125339508057, 0.535291314125061, 0.0578816719353199, -0.36340558528900146, -0.36206117272377014, 0.4986000061035156, 0.09150068461894989, 0.3121543526649475, 0.7251256108283997, 0.6733419895172119, 0.8752275705337524, -0.2611920237541199, 1.0825488567352295, -0.2340971976518631, 0.8129281997680664, 0.6880099773406982, -0.41748639941215515, 1.1849439144134521, 0.45838889479637146, -0.25549209117889404, 0.20763801038265228, 0.9492813944816589, 0.02229277417063713, 0.5953972935676575, 0.1299278736114502, -0.2317637950181961, -0.3658919930458069, -0.4646984338760376, 0.24490392208099365, 0.11011654138565063, 0.7002299427986145, 0.20188550651073456, -0.3819999694824219, 0.16410109400749207, 0.040497686713933945, -0.042373817414045334, -0.40500232577323914, 0.6354370713233948, 0.11736949533224106, -0.18806329369544983, -0.3369276821613312, -0.31116414070129395, 0.6128787398338318, 0.07600808888673782, -0.2922998368740082, -0.018793683499097824, -0.2635190784931183, -0.43835484981536865, -1.2379131317138672, 0.6417970061302185, 0.01988740637898445, 0.006697566714137793, -0.6248024702072144, 0.33480873703956604, -0.11138985306024551, -0.5107975602149963, 0.45941266417503357, 0.25524675846099854, -0.10179409384727478, 0.04971059039235115, -0.6156479716300964, -0.11406824737787247, -0.2583714723587036, -0.35999709367752075, -0.1491817831993103, 0.7482321858406067, 0.1159469485282898, 0.3489992022514343, 0.5695907473564148, -0.32108253240585327, -0.08737911283969879, 0.04174109175801277, 0.7873892188072205, -0.5848775506019592, -0.5433308482170105, -0.571290910243988, 0.3977281153202057, -0.3471890389919281, -0.4287104308605194, 0.6718863248825073, 0.48336052894592285, 0.5697155594825745, 0.22876445949077606, 1.2645680904388428, -0.49372950196266174, 0.6026310324668884, -0.02326185815036297, 0.5359900593757629, -0.5160337686538696, 0.41743943095207214, -0.27086958289146423, -0.8398917317390442, -0.39213842153549194, 0.681913435459137, -0.21813254058361053, 0.01591305248439312, 0.2939004898071289, 0.2189505398273468, 0.1572561264038086, 0.5831191539764404, -0.07625553756952286, 0.2900960147380829, 0.44985413551330566, 0.14252880215644836, 0.8730132579803467, -0.04055766388773918, 0.16609932482242584, -0.4668772518634796, -0.029303353279829025, -0.2998298704624176, -1.2505664825439453, -0.6528545618057251, -0.5860344171524048, -0.4719879627227783, -0.3091045320034027, 0.0056752776727080345, 1.1272534132003784, 0.2338746041059494, -0.8505197763442993, 0.3271513283252716, -0.254985511302948, 0.011007843539118767, -0.2230587601661682, -0.2843247652053833, 0.5413679480552673, -0.08662817627191544, -0.6923365592956543, -0.09736321121454239, 0.4965343475341797, -0.16941165924072266, -0.2681541442871094, 0.3562975823879242, -0.3157826066017151, 0.3172725439071655, 0.5107424259185791, 0.3469531536102295, -0.7154397368431091, -0.7920773029327393, -0.06462360918521881, 0.15358318388462067, -0.10774753242731094, 0.3516516089439392, -0.5737488269805908, 0.16258472204208374, 0.46104931831359863, 0.5587977170944214, -0.30752938985824585, -0.04830818995833397, 0.3991391360759735, -0.8237162232398987, -0.07718603312969208, 0.5820325016975403, 0.5600343942642212, 0.6484588980674744, -0.5103879570960999, 0.5770549774169922, 0.3408225178718567, -0.48798948526382446, -0.8470858931541443, -0.365779310464859, -1.085494041442871, -0.3509005904197693, 1.1804277896881104, -0.07322560250759125, -0.3289717733860016, -0.37609970569610596, 0.020104359835386276, 0.024934418499469757, -0.6686887145042419, 0.6813526153564453, 0.9305896759033203, 0.11478361487388611, -0.18300579488277435, -0.6989231109619141, 0.2113950401544571, -0.00428762985393405, -0.7860190272331238, 0.2957497537136078, 0.34427395462989807, 0.1291329264640808, 0.31137216091156006, 0.23108838498592377, 0.34419485926628113, -0.04951111599802971, -0.07528740167617798, 0.3307633697986603, 0.3518778681755066, -0.14633184671401978, -0.07095862179994583, -0.021696696057915688, -0.35384079813957214, 0.07935161888599396 ]
http://arxiv.org/abs/2404.08680v1
http://arxiv.org/pdf/2404.08680v1
Automating Research Synthesis with Domain-Specific Large Language Model Fine-Tuning
2024-04-08T00:08:29
2024-04-08T00:08:29
Teo Susnjak, Peter Hwang, Napoleon H. Reyes, Andre L. C. Barczak, Timothy R. McIntosh, Surangika Ranathunga
cs.CL
cs.CL, cs.DL, cs.IR
This research pioneers the use of fine-tuned Large Language Models (LLMs) to automate Systematic Literature Reviews (SLRs), presenting a significant and novel contribution in integrating AI to enhance academic research methodologies. Our study employed the latest fine-tuning methodologies together with open-sourced LLMs, and demonstrated a practical and efficient approach to automating the final execution stages of an SLR process that involves knowledge synthesis. The results maintained high fidelity in factual accuracy in LLM responses, and were validated through the replication of an existing PRISMA-conforming SLR. Our research proposed solutions for mitigating LLM hallucination and proposed mechanisms for tracking LLM responses to their sources of information, thus demonstrating how this approach can meet the rigorous demands of scholarly research. The findings ultimately confirmed the potential of fine-tuned LLMs in streamlining various labor-intensive processes of conducting literature reviews. Given the potential of this approach and its applicability across all research domains, this foundational study also advocated for updating PRISMA reporting guidelines to incorporate AI-driven processes, ensuring methodological transparency and reliability in future SLRs. This study broadens the appeal of AI-enhanced tools across various academic and research fields, setting a new standard for conducting comprehensive and accurate literature reviews with more efficiency in the face of ever-increasing volumes of academic studies.
[ -0.4673345983028412, -0.7124651670455933, 0.46214404702186584, -0.01045970432460308, -0.02940463088452816, 0.07623349130153656, -0.24783509969711304, -0.534184992313385, 0.06166193634271622, 0.6459497213363647, -0.3665885925292969, -0.5381651520729065, -0.1686072200536728, 0.2818642556667328, -0.5301050543785095, 1.1641632318496704, -0.2981484830379486, 0.3594290614128113, 0.15301020443439484, -0.04638977721333504, -0.14817075431346893, -0.30450060963630676, -0.3713602125644684, -0.5874305963516235, 0.6753735542297363, 0.10347756743431091, 0.6977248787879944, 0.31120529770851135, 0.7969930171966553, 0.28923386335372925, 0.05758392810821533, 0.5866305232048035, -0.563843846321106, 0.2787622809410095, -0.28006285429000854, -0.32485753297805786, -0.7688348293304443, -0.08148384839296341, 0.6062280535697937, 0.6677650213241577, -0.009465486742556095, 0.3520749807357788, 0.3798120319843292, 0.9599416255950928, -0.4920355975627899, 0.11665928363800049, -0.925086259841919, 0.12329765409231186, 0.0077167097479105, -0.5228139758110046, -0.40477755665779114, -0.410399854183197, 0.1045893132686615, -0.7123769521713257, 0.2816503345966339, 0.32104820013046265, 0.8028829097747803, 0.3959069550037384, 0.06616493314504623, -0.42079025506973267, -1.1643179655075073, 0.8034990429878235, -0.9212751984596252, -0.058353882282972336, 0.07045203447341919, 0.17903777956962585, -0.20529745519161224, -0.6619186401367188, -0.47580379247665405, -0.22920621931552887, -0.27979186177253723, -0.1476719230413437, 0.10841426253318787, 0.17417162656784058, 0.21860922873020172, 0.4126032292842865, -0.5008434653282166, 0.039997272193431854, -0.5483084321022034, -0.09677261859178543, 0.7973361611366272, 0.5161006450653076, 0.09566036611795425, 0.10274030268192291, 0.13687890768051147, 0.23122957348823547, -0.8042458295822144, -0.22276045382022858, 0.12641975283622742, 0.28491613268852234, 0.5112301111221313, 0.7757996916770935, -0.4683506488800049, 0.5504820942878723, 0.02198537066578865, 0.03475925698876381, 0.13875383138656616, -0.5790488123893738, -0.453097939491272, -0.06493689119815826, 0.8322417140007019, 0.5021212100982666, 0.275192528963089, -0.1439439356327057, -0.6252228021621704, 0.02259720116853714, 0.3603951930999756, -0.8216517567634583, -0.04579094052314758, 0.19736972451210022, -0.38593196868896484, -0.3497830331325531, -0.19000127911567688, -0.5822955369949341, -0.38013434410095215, -0.8624691367149353, 0.46942201256752014, -0.26836860179901123, 0.002471372252330184, 0.3862000107765198, 0.22388319671154022, 0.3236415386199951, 0.5761476159095764, -0.6153508424758911, 0.36994099617004395, 0.7706079483032227, 0.8737120032310486, -0.3688241243362427, -0.27568647265434265, -0.2725692689418793, 0.2574807107448578, -0.5725728869438171, 0.6777472496032715, -0.401644229888916, -0.16403214633464813, 0.20263224840164185, -0.060965582728385925, 0.08555684238672256, -0.4804081916809082, 0.3747868835926056, -0.6832076907157898, 0.13771313428878784, -0.05461251363158226, -0.479235976934433, -0.0573493167757988, 0.36184680461883545, -0.48075228929519653, 0.8159340620040894, -0.05104523524641991, -0.65096515417099, 0.18539956212043762, -0.5035592317581177, -0.4030429422855377, -0.06616660207509995, -0.03904382511973381, -0.5498051047325134, 0.14775334298610687, 0.2355939745903015, 0.3262630105018616, -0.5809824466705322, 0.46019551157951355, -0.2613540291786194, -0.3873775005340576, 0.27694588899612427, -0.11164078861474991, 0.4954494833946228, 0.36064255237579346, -0.5245854258537292, 0.39107292890548706, -0.6513532996177673, 0.12772540748119354, -0.06465191394090652, -0.013081394135951996, -0.34815168380737305, -0.04750446602702141, 0.2887539565563202, -0.09602000564336777, 0.13721507787704468, -0.19449317455291748, 0.2593306005001068, -0.6618525385856628, 0.4954962432384491, 0.5333976745605469, 0.12626811861991882, 0.6133292317390442, -0.5323059558868408, 0.3476065397262573, -0.40206390619277954, 0.24193458259105682, -0.14223094284534454, 0.009950640611350536, -0.9289805889129639, -0.0029271570965647697, 0.43871569633483887, 0.378548264503479, -0.44179680943489075, 0.6156430244445801, -0.11153760552406311, -0.5629160404205322, -0.7499768733978271, 0.07944367080926895, 0.25903838872909546, 0.2773042619228363, 0.17753027379512787, -0.4444875717163086, -0.47903239727020264, -0.7461568117141724, -0.3222496211528778, -0.03475083410739899, -0.022757798433303833, 0.2554573118686676, 0.6263993978500366, -0.246857687830925, 0.9026491641998291, -0.42811697721481323, -0.8932054042816162, -0.13109995424747467, 0.27444976568222046, 0.051871418952941895, 0.37505021691322327, 0.3123786151409149, -0.45267367362976074, -0.5682533383369446, 0.2018795609474182, -0.7975540161132812, -0.2526744306087494, -0.3876939117908478, -0.041646141558885574, 0.3855193555355072, 0.8146648406982422, -0.5452221035957336, 0.36308813095092773, 0.0009108741069212556, 0.0006391055067069829, 0.6073911190032959, -0.13259269297122955, 0.27858269214630127, -0.6285563111305237, 0.38595208525657654, -0.15459927916526794, 0.07899714261293411, -0.5174816846847534, 0.1262420266866684, -0.19909346103668213, 0.05205288529396057, -0.11301741003990173, 0.43271684646606445, -0.676179826259613, -0.06941169500350952, -0.40574127435684204, 0.13874472677707672, 0.07449647784233093, 0.17941179871559143, -0.1842910498380661, 0.7898438572883606, 0.36513906717300415, -0.6425017714500427, -0.06908164918422699, 0.2500004470348358, -0.46098196506500244, 0.1843753457069397, -0.8453410863876343, -0.09674456715583801, -0.13639922440052032, 0.22602881491184235, -0.6378269791603088, -0.2588340938091278, 0.2041088193655014, -0.34489578008651733, 0.15666627883911133, 0.06871398538351059, -0.6598461270332336, 0.011518417857587337, -0.3801296055316925, 0.19212594628334045, 0.3592027425765991, -0.020701587200164795, 0.7917944192886353, 0.5476759672164917, -0.4961565136909485, -0.3552725315093994, -0.5709997415542603, 0.32946306467056274, -0.019510453566908836, -0.38777875900268555, 0.41568025946617126, -0.2849363088607788, -0.5114599466323853, -0.20596668124198914, 0.14783090353012085, 0.0653235912322998, -0.04554587975144386, -0.013972396962344646, 0.37499821186065674, -0.21698735654354095, -0.1464824080467224, 0.12319814413785934, 0.11197514832019806, 0.28608864545822144, -0.22132842242717743, 0.3538092374801636, -0.09011392295360565, -0.45915061235427856, -0.4834270179271698, -0.006548471748828888, 0.9392814040184021, -0.29586270451545715, 0.21833164989948273, 0.5994834303855896, -0.206792950630188, -0.5159003734588623, -0.6135571599006653, -0.5471344590187073, -0.47258272767066956, 0.08910931646823883, -0.17291323840618134, -1.0000054836273193, 0.48282164335250854, -0.06740263849496841, 0.45169344544410706, 0.3298298120498657, 0.7581912875175476, 0.14861556887626648, 1.0570921897888184, 0.4723395109176636, -0.1736840009689331, 0.4033571183681488, -0.1779627650976181, 0.450260728597641, -0.956574559211731, -0.022186636924743652, -0.7424163818359375, -0.3360947370529175, -0.5461862087249756, -0.43176111578941345, 0.7441413402557373, -0.2213701754808426, -0.06207810342311859, -0.34222686290740967, -0.8050201535224915, 0.5633537769317627, 0.26757606863975525, -0.15416114032268524, 0.6150854825973511, 0.16261465847492218, -0.061354368925094604, 0.002190549857914448, -0.5334515571594238, -0.660938560962677, 1.1523492336273193, 0.29759079217910767, 1.0499869585037231, -0.4250934422016144, 0.5394946336746216, 0.3411632776260376, 0.38981491327285767, -0.6739194393157959, 0.6305010318756104, 0.20418718457221985, -0.6529555320739746, -0.593315064907074, 0.005440798122435808, -0.797330915927887, 0.347812294960022, -0.0913650244474411, -0.24302837252616882, -0.07480143010616302, 0.063151054084301, -0.3902108669281006, 0.11376237124204636, -0.2487277239561081, 0.23721271753311157, -0.08156415820121765, -0.5347899794578552, -0.5188553929328918, -0.5456595420837402, 0.4762910306453705, -0.19546213746070862, 0.18146194517612457, -0.10118813812732697, 0.14634256064891815, 0.4361187517642975, -0.25124478340148926, 0.9763070940971375, 0.054610662162303925, -0.23800235986709595, 0.12972529232501984, 0.35819244384765625, 0.5152646899223328, 0.2101220041513443, -0.08553384989500046, -0.0053381724283099174, -0.0771351307630539, 0.007028663996607065, -0.29318639636039734, 0.8392618298530579, -0.6707351207733154, -0.7301375865936279, -0.5757638812065125, -0.8460083603858948, -0.2651470899581909, 0.43180617690086365, -0.07612713426351547, 0.20203618705272675, -0.33129438757896423, 0.07545887678861618, 0.9876953363418579, -0.22725136578083038, 0.10529115796089172, 0.8924355506896973, -0.432939350605011, -0.4380359351634979, 0.720203697681427, 0.11474903672933578, 0.05881178751587868, 0.28215262293815613, -0.0474931001663208, 0.10316428542137146, -1.1452462673187256, -0.5106456279754639, 0.3348914384841919, -0.4747962951660156, -0.1928439736366272, -0.7920560240745544, -0.4350508153438568, -0.5533214211463928, -0.28284507989883423, -0.28931286931037903, -0.37209731340408325, -0.4085991680622101, 0.158857062458992, 0.14480067789554596, 0.8869845271110535, 0.1565195620059967, -0.09621473401784897, -0.644708514213562, 0.3996516168117523, -0.09830593317747116, 0.35313543677330017, 0.15310761332511902, -0.6336514949798584, -0.3586556017398834, -0.20765672624111176, -0.20835033059120178, -0.2711105942726135, 0.6112370491027832, 0.24960431456565857, 0.26293957233428955, 0.005209697410464287, 0.20756486058235168, 0.6154564023017883, -0.8024067282676697, 0.7578151226043701, -0.17766554653644562, -0.7379217743873596, 0.39199215173721313, -0.5674012899398804, 0.3403412401676178, 0.6975186467170715, 0.22883446514606476, -0.08471336960792542, -0.83196622133255, -0.12719151377677917, -1.0063120126724243, 0.45611336827278137, 0.13204734027385712, -0.04026072099804878, 0.5141201019287109, 0.2830426096916199, 0.28509941697120667, 0.23940928280353546, -0.5700250864028931, -0.10528505593538284, 0.2462441474199295, -0.03051452711224556, -0.09103179723024368, -0.15235772728919983, -0.538811445236206, -0.3603627383708954, 1.0277036428451538, -0.4076835513114929, -0.1140366643667221, 0.5000709295272827, -0.2866237163543701, -0.35162046551704407, 0.2597625255584717, 0.5630533695220947, 0.9955474734306335, -0.12522299587726593, -0.14159969985485077, -0.017943842336535454, -0.2565869390964508, -0.09118598699569702, 0.218674898147583, -0.909661054611206, 0.16131585836410522, 0.011312010698020458, 0.4490658938884735, 0.014333612285554409, -0.6605415940284729, 0.011082718148827553, -0.15092654526233673, -0.33713456988334656, -0.5837073922157288, 0.1702696830034256, -0.09547486901283264, 0.16144248843193054, 0.4696866273880005, 0.14498338103294373, 0.5408126711845398, -0.17024338245391846, 0.09823496639728546, 0.6457497477531433, -0.12381082028150558, -0.22677400708198547, 0.5292454361915588, 0.2085639089345932, -0.01772989332675934, 0.23279322683811188, 0.019437164068222046, -0.21984928846359253, 0.3609049618244171, 0.10635283589363098, 0.9739398956298828, 0.04439321905374527, 0.12706804275512695, 0.365112841129303, 0.6455985307693481, -0.20812371373176575, 0.10431457310914993, 0.2459772229194641, -0.39858418703079224, -0.5305174589157104, -0.919015109539032, -0.6071315407752991, 0.26846426725387573, -0.6225808262825012, 0.3948265016078949, -0.48489898443222046, 0.017464671283960342, 0.31107765436172485, -0.09716226160526276, -0.3570365905761719, 0.06293092668056488, -0.0007630480686202645, 0.7541192173957825, -0.5743579864501953, 0.7947872877120972, 0.46675506234169006, -0.3674736022949219, -0.6557644605636597, 0.03574177250266075, 0.09045497328042984, -0.42219966650009155, 0.37548506259918213, -0.08053028583526611, -0.474035382270813, -0.05136517807841301, -0.5765500664710999, -0.8204808831214905, 1.1164424419403076, 0.0834105908870697, -0.8856324553489685, -0.0850381925702095, 0.3170124590396881, 1.028066873550415, -0.4644900858402252, 0.25692489743232727, 0.6813766956329346, 0.5041186809539795, -0.15773800015449524, -1.1281330585479736, 0.07091917842626572, -0.14198486506938934, 0.14501288533210754, -0.03724732622504234, -0.5940681099891663, 0.4517824351787567, -0.11325560510158539, 0.004534649662673473, 0.2283308506011963, 0.7364628314971924, 0.2010997086763382, 0.4456828534603119, 0.24062639474868774, 0.2608256936073303, 0.6932183504104614, 0.15116025507450104, 0.6522064805030823, -0.7065185904502869, 0.15164773166179657, 0.9491409063339233, -0.8268238306045532, 0.5909225940704346, 0.6173932552337646, -0.0430527925491333, 0.34566035866737366, 0.4113321304321289, -0.17284061014652252, 0.30366984009742737, 0.41268253326416016, -0.13774599134922028, 0.03565278276801109, -0.3236408233642578, -0.2838870584964752, 0.05312512814998627, 0.4702245593070984, -0.4857032895088196, -0.006140933837741613, 0.05705590546131134, -0.0322391614317894, 0.15703950822353363, -0.49565035104751587, 0.9485709071159363, 0.12880204617977142, -1.1530554294586182, 0.8787607550621033, 0.07373354583978653, 0.6933270692825317, -0.7009891867637634, 0.16771331429481506, -0.15780054032802582, 0.3079807162284851, -0.3588810861110687, -0.6882063746452332, 0.5008067488670349, -0.021359143778681755, -0.36767640709877014, -0.40347999334335327, 0.9281169772148132, -0.39565008878707886, -0.5516466498374939, 0.20524053275585175, 0.6061106324195862, -0.0569552443921566, 0.10331463068723679, -0.7495856881141663, 0.4111585021018982, 0.13926203548908234, -0.4614032506942749, 0.6278641819953918, 0.5664046406745911, -0.11459750682115555, 0.7432257533073425, 0.7157056331634521, 0.3647642731666565, -0.1314336061477661, 0.33077535033226013, 0.9705883860588074, -0.5737828612327576, -0.20839901268482208, -0.6060755252838135, 0.22121860086917877, 0.08427945524454117, -0.12574802339076996, 0.6669221520423889, 0.5836222171783447, 0.9524651169776917, -0.29138997197151184, 1.1217199563980103, -0.02726656384766102, 0.645900309085846, -0.5634067058563232, 0.9798047542572021, -0.47435253858566284, 0.48556602001190186, -0.1812509000301361, -0.7846842408180237, -0.565863311290741, 0.4337172210216522, -0.21913453936576843, -0.284629762172699, 0.8059449791908264, 1.2825583219528198, 0.07207724452018738, -0.10483922809362411, 0.09053757786750793, 0.4367999732494354, 0.42052537202835083, -0.01624506711959839, 0.5645755529403687, -0.320073664188385, 0.437423437833786, -0.009556928649544716, -0.06031382456421852, -0.2248617708683014, -0.7539954781532288, -0.9778854250907898, -0.5139882564544678, -0.3904922306537628, -0.4772357642650604, 0.2696506083011627, 0.8171976208686829, 0.34186026453971863, -1.1151500940322876, -0.444784551858902, -0.14003886282444, -0.011209014803171158, -0.05631524696946144, -0.27446162700653076, 0.2602938711643219, -0.8183025121688843, -0.7828951478004456, 0.19009430706501007, 0.46470907330513, -0.251079261302948, -0.7933448553085327, -0.08580853790044785, 0.0019248613389208913, 0.24671190977096558, 0.5045792460441589, 0.015758220106363297, -0.9080787301063538, 0.19617687165737152, 0.02795848436653614, -0.4050484299659729, -0.05449657514691353, 1.123408317565918, -0.5964824557304382, 0.30256956815719604, 0.6262290477752686, 0.6681323051452637, 0.33768218755722046, -0.2841992974281311, 0.8563196659088135, -0.1733245700597763, -0.2830016613006592, 0.5787283778190613, 0.2430753856897354, 0.3956868648529053, -0.2839008867740631, 0.6353743672370911, -0.11685541272163391, -0.9705808162689209, -1.131938099861145, 0.02424643188714981, -0.8692246079444885, -0.3052334189414978, 1.2548140287399292, 0.10750363022089005, -0.19921618700027466, -0.2547447681427002, -0.4431866705417633, -0.0356835275888443, -0.30499908328056335, 1.3202892541885376, 0.5947619080543518, -0.19949820637702942, 0.15016961097717285, -0.5840243101119995, 0.8187382221221924, 0.6548284888267517, -0.9011278748512268, 0.353272944688797, 0.6496956944465637, 0.2962588369846344, 0.0860707014799118, 0.6351680159568787, -0.37544575333595276, 0.16343411803245544, -0.5173330307006836, 0.15576738119125366, 0.06007598713040352, -0.2248612493276596, -0.3858399987220764, 0.2023274153470993, 0.32931503653526306, 0.6416675448417664 ]
http://arxiv.org/abs/2404.05091v4
http://arxiv.org/pdf/2404.05091v4
MM-MATH: Advancing Multimodal Math Evaluation with Process Evaluation and Fine-grained Classification
2024-04-07T22:16:50
2024-07-02T12:46:23
Kai Sun, Yushi Bai, Ji Qi, Lei Hou, Juanzi Li
cs.CL
cs.CL
To advance the evaluation of multimodal math reasoning in large multimodal models (LMMs), this paper introduces a novel benchmark, MM-MATH. MM-MATH consists of 5,929 open-ended middle school math problems with visual contexts, with fine-grained classification across difficulty, grade level, and knowledge points. Unlike existing benchmarks relying on binary answer comparison, MM-MATH incorporates both outcome and process evaluations. Process evaluation employs LMM-as-a-judge to automatically analyze solution steps, identifying and categorizing errors into specific error types. Extensive evaluation of ten models on MM-MATH reveals significant challenges for existing LMMs, highlighting their limited utilization of visual information and struggles with higher-difficulty problems. The best-performing model achieves only 31% accuracy on MM-MATH, compared to 82% for humans. This highlights the challenging nature of our benchmark for existing models and the significant gap between the multimodal reasoning capabilities of current models and humans. Our process evaluation reveals that diagram misinterpretation is the most common error, accounting for more than half of the total error cases, underscoring the need for improved image comprehension in multimodal reasoning.
[ -0.4577043354511261, -0.8907508850097656, 0.5857522487640381, 0.16040687263011932, -0.06061255931854248, 0.13238847255706787, -0.09431125223636627, -0.05085846409201622, -0.5116996169090271, 0.07011359930038452, -0.8631695508956909, -0.354138046503067, -0.7499847412109375, -0.08501651883125305, 0.031260885298252106, 0.4611412286758423, -0.2227533906698227, 0.5390902161598206, -0.7526620030403137, -0.32703879475593567, -0.429069459438324, -0.4696947932243347, -0.353256493806839, -0.38381025195121765, 0.5314779877662659, 0.5312283635139465, 0.7766465544700623, 0.3010125756263733, 1.01357102394104, 0.3889525234699249, 0.26015082001686096, 0.5678105354309082, -0.29451271891593933, -0.27559080719947815, -0.09631545096635818, -0.41284316778182983, -0.6080494523048401, 0.23624871671199799, 0.44281476736068726, 0.9246339797973633, -0.1591646671295166, 0.501309335231781, -0.21079309284687042, 0.7342003583908081, -0.9355618357658386, 0.46166616678237915, -0.39825206995010376, 0.20106492936611176, -0.16361287236213684, -0.15686503052711487, -0.548194169998169, -0.31299811601638794, 0.0007511280127801001, -0.5891258120536804, -0.012829015962779522, -0.1466069221496582, 0.5404858589172363, 0.2456178516149521, -0.5177040696144104, -0.2332191914319992, -0.5583733916282654, 0.9572778940200806, -0.21143484115600586, 0.6674143075942993, 0.3110138177871704, 1.1292791366577148, -0.0723850354552269, -0.725123941898346, -0.5780783295631409, -0.08084850013256073, 0.45996591448783875, 0.3849898874759674, -0.40045878291130066, -0.11457888036966324, 0.4555523693561554, 0.17184388637542725, -0.3523646593093872, -0.18645061552524567, -0.561202883720398, -0.24104756116867065, 0.3816194534301758, 0.47199881076812744, 0.08493538945913315, -0.04969452694058418, -0.2716880440711975, -0.3703780174255371, -0.27726665139198303, 0.19550387561321259, 0.10652600973844528, 0.00033138063736259937, -0.06512261927127838, 0.9276342391967773, -0.13284321129322052, 0.6357643604278564, -0.35828104615211487, -0.3681020736694336, 0.40221595764160156, -0.20619718730449677, -0.37896519899368286, -0.5528888702392578, 0.5521700382232666, 0.9404335021972656, 0.3810191750526428, 0.20526087284088135, -0.1258019208908081, 0.6910962462425232, 0.11178896576166153, -0.9702685475349426, -0.0761745348572731, -0.3049684464931488, -0.5158143043518066, 0.031288571655750275, -0.1464582085609436, -0.7994287014007568, -0.18979884684085846, -0.5648900866508484, 0.7738012075424194, -0.5136803388595581, 0.10924610495567322, 0.25307396054267883, -0.17073306441307068, -0.3402150273323059, 0.9257842898368835, -0.46196916699409485, 0.2405654937028885, 0.8133289217948914, 0.8191974759101868, 0.09254499524831772, -0.39361193776130676, -0.38551774621009827, -0.1618974208831787, -0.3132888376712799, 0.8415277004241943, -0.7677696347236633, -0.24126146733760834, -0.4051938056945801, -0.1331547349691391, -0.20008015632629395, -0.6987127065658569, 0.7319396734237671, -0.17894265055656433, 0.19503290951251984, -0.004511088598519564, -0.3564019799232483, -0.4521418809890747, 0.5668971538543701, -0.38609448075294495, 0.7633397579193115, 0.23367677628993988, -0.31519031524658203, 0.3816980719566345, -0.699446976184845, 0.22390948235988617, -0.27749142050743103, -0.17860466241836548, -0.39658910036087036, 0.3283197581768036, 0.29165807366371155, 0.4871879816055298, -0.427608460187912, 0.21863897144794464, -0.9076628684997559, -0.37837424874305725, 0.4631052613258362, -0.9186804890632629, 0.38117364048957825, 0.3712119162082672, 0.14991562068462372, 0.050882577896118164, -0.922721803188324, 0.19197998940944672, 0.05201471596956253, -0.074639230966568, -0.2702471613883972, -0.1950574517250061, -0.2624492645263672, 0.5887438058853149, 0.25138506293296814, -0.39814144372940063, 0.11593125015497208, 0.17954541742801666, 0.3450942933559418, 0.9355250597000122, -0.3556419909000397, 0.35014116764068604, -0.46089112758636475, 0.3155675530433655, 0.2965838611125946, 0.4650612771511078, -0.6091292500495911, -0.7096885442733765, -0.7708911895751953, -0.4477972388267517, 0.3245234787464142, 0.43466272950172424, -0.7028400301933289, -0.1550704538822174, -0.2697170376777649, -0.729275107383728, -0.5260821580886841, 0.030622458085417747, 0.5349847674369812, 0.5534505248069763, 0.4466829299926758, -0.4663928747177124, -0.2253175973892212, -0.9438374638557434, -0.04098266735672951, 0.17873536050319672, -0.06221369281411171, 0.5319013595581055, 0.6335068345069885, -0.5588282942771912, 0.5907736420631409, -0.5761415362358093, -0.2100093513727188, 0.38576239347457886, 0.5167997479438782, 0.21675118803977966, 0.3752700388431549, 0.3850894272327423, -0.6223357319831848, -0.30574753880500793, 0.024370241910219193, -0.774354875087738, -0.16266648471355438, 0.19458721578121185, -0.18427425622940063, -0.029517654329538345, 0.1908499002456665, -0.45659223198890686, 0.5393469333648682, 0.5033196210861206, -0.4748973250389099, 0.6889702677726746, -0.29664531350135803, 0.3996081054210663, -0.5886398553848267, -0.08883187919855118, 0.1812829226255417, 0.05897236242890358, -0.16532418131828308, 0.16961656510829926, 0.35652515292167664, -0.3554427921772003, -0.30653032660484314, 0.5326947569847107, -0.38333550095558167, -0.3666047751903534, 0.11479156464338303, -0.06459139287471771, 0.04941686615347862, 0.5614843964576721, -0.42698943614959717, 0.7007144689559937, 0.43864139914512634, -0.30223292112350464, 0.5062370300292969, -0.27765029668807983, -0.44012030959129333, 1.002988576889038, -0.31704580783843994, -0.014128084294497967, -0.1989535093307495, 0.08287548273801804, -1.0845893621444702, -0.06780953705310822, 0.02248346619307995, -0.4961871802806854, 0.005979347974061966, -0.12553636729717255, -0.5906684398651123, -0.542615532875061, -0.27776697278022766, 0.5581038594245911, 0.3452100455760956, -0.2969436049461365, 0.6785305738449097, 0.05416860058903694, 0.03178197517991066, -0.5151724219322205, -0.44743722677230835, -0.11265786737203598, -0.02305511198937893, -0.8785682916641235, -0.06087043136358261, -0.5044083595275879, -0.4180452823638916, -0.05042576789855957, -0.2236793041229248, -0.43278661370277405, 0.02256813645362854, 0.22938272356987, 0.36750221252441406, -0.2805717885494232, 0.031015565618872643, 0.09032046794891357, -0.4551035761833191, 0.14281640946865082, 0.35920587182044983, 0.49442726373672485, -0.30492308735847473, -0.8484411835670471, -0.2944757342338562, 0.2019742876291275, 1.0128854513168335, -0.12200140953063965, 0.1766418069601059, 0.7211244702339172, -0.5187971591949463, 0.09767040610313416, -0.5887482762336731, 0.016400950029492378, -0.41130053997039795, 0.3348662555217743, -0.739829957485199, -0.6470900177955627, 0.3806001842021942, -0.3345099091529846, 0.12270782142877579, 0.435586154460907, 0.48669156432151794, -0.11769111454486847, 1.543708086013794, 0.2927361726760864, 0.4956996738910675, 0.155867338180542, -0.21111765503883362, -0.232442244887352, -0.6069960594177246, -0.3673073649406433, -0.34225162863731384, -0.477714478969574, -0.20994074642658234, -1.137254238128662, 0.6002668738365173, 0.21111264824867249, -0.1584794968366623, -0.013981633819639683, -0.2237870693206787, 0.46258875727653503, 0.35739216208457947, 0.22296945750713348, 0.4117368459701538, 0.07521159201860428, -0.657589852809906, -0.5503721833229065, -0.37565356492996216, -0.4779350459575653, 1.1974163055419922, 0.41953611373901367, 0.7672245502471924, 0.2959064543247223, 0.23480089008808136, 0.2117769569158554, 0.6747574210166931, -0.9317604303359985, 0.6214533448219299, -0.2933640480041504, -0.6696064472198486, -0.03214951977133751, -0.7300531268119812, -0.7022026181221008, 0.5904096961021423, -0.39582210779190063, -0.5012526512145996, -0.2569858431816101, -0.1101733148097992, -0.24934257566928864, 0.17743080854415894, -1.2564103603363037, 1.0957616567611694, -0.1694246083498001, -0.437751442193985, -0.47132250666618347, -0.31147006154060364, 0.7495768666267395, -0.16449718177318573, 0.696631669998169, -0.5179799199104309, 0.002169047947973013, 0.46772584319114685, -0.5068031549453735, 0.5492488741874695, -0.1977711021900177, 0.18638285994529724, 0.07905755192041397, 0.24845029413700104, -0.11768170446157455, -0.07114602625370026, 0.04250325635075569, 0.1331864595413208, 0.11943965405225754, -0.28651484847068787, -1.0268338918685913, 0.5421204566955566, -0.6201704144477844, -0.18134796619415283, -0.34531429409980774, -0.7192392945289612, -0.33594855666160583, 0.1645660102367401, -0.2723386287689209, 0.7414655685424805, 0.06166967377066612, 0.2677524983882904, 0.4024585783481598, -0.1039123386144638, 0.4880208969116211, 0.37402263283729553, -0.3946337103843689, -0.6907084584236145, 0.9216725826263428, 0.238853320479393, 0.12222745269536972, 0.25302109122276306, 0.440306156873703, -0.33729088306427, -0.18100690841674805, -0.8208242654800415, -0.011842021718621254, -0.9727594256401062, -0.27303236722946167, -0.4909473657608032, -0.11679317057132721, 0.011783512309193611, -0.09754126518964767, -0.4355047345161438, -0.4679114520549774, 0.00946347787976265, 0.4243774712085724, -0.18954668939113617, 0.36427366733551025, -0.0029699255246669054, 0.2404317855834961, -0.9231477379798889, 0.37514710426330566, 0.7155848741531372, 0.5494796633720398, 0.0434376522898674, -0.33924832940101624, -0.07927755266427994, 0.10699103772640228, -0.7552884817123413, -0.41479799151420593, -0.0262343417853117, 0.17520388960838318, 0.570313572883606, 0.5808069705963135, -0.40629130601882935, 1.350934386253357, -0.7988267540931702, 0.3412342667579651, 0.7416626811027527, -1.0293699502944946, 0.2394210249185562, -0.1355036348104477, 0.5061298608779907, 0.3054211735725403, 0.2675986588001251, -0.2883546054363251, 0.12213528901338577, -0.5902803540229797, -0.2602449655532837, 0.5011354088783264, 0.1984931230545044, -0.011142040602862835, 0.08930124342441559, -0.1218627393245697, 0.22012506425380707, 0.21300436556339264, -0.5229775905609131, -0.0777990072965622, -0.08674437552690506, -0.2626878321170807, -0.25746604800224304, -0.2429635226726532, -0.1775275319814682, -0.5855382084846497, 0.07824806123971939, -0.29022955894470215, 0.3458832800388336, -0.19247043132781982, -0.2670363187789917, -0.24215102195739746, 0.27924028038978577, 1.0086642503738403, 1.1102169752120972, -0.3199698328971863, 0.38575324416160583, 0.2818589508533478, -0.4569116532802582, 0.05793961510062218, 0.3319428563117981, 0.24640384316444397, 0.012551214545965195, 0.4006699323654175, 0.5126775503158569, 0.6029524207115173, -0.8025064468383789, 0.6557402014732361, -0.3193361163139343, -0.3040126860141754, -0.10666097700595856, -0.0642872005701065, -0.06062724441289902, 0.4505294859409332, 0.4444315731525421, 0.6393636465072632, 0.26564162969589233, -0.6077901124954224, 0.2552887499332428, 0.46002906560897827, -0.2741924822330475, -0.30625662207603455, 0.42621639370918274, 0.010703095234930515, -0.17343947291374207, 0.233287051320076, -0.14176377654075623, -0.3596029281616211, 0.5424047112464905, 0.36568108201026917, 0.5428923964500427, -0.23333744704723358, 0.0710175409913063, 0.5241564512252808, 0.21539075672626495, 0.08340995013713837, 0.35696807503700256, -0.14397834241390228, -0.593830943107605, -0.4842129051685333, -0.49042871594429016, -0.6893627643585205, -0.2883138358592987, -0.4900030493736267, 0.3903806805610657, -0.6338455080986023, -0.4545191824436188, 0.3816379904747009, -0.06739898025989532, -0.6181140542030334, 0.40727970004081726, 0.20068958401679993, 0.8213164806365967, -0.47938621044158936, 0.4319351315498352, 0.721916139125824, -0.11922963708639145, -0.2365908920764923, -0.6629654765129089, 0.1511353701353073, -1.0113633871078491, 0.8116069436073303, 0.5563799738883972, -0.21572694182395935, -0.279757559299469, -0.46122050285339355, -0.5358367562294006, 1.0956562757492065, 0.3116613030433655, -0.5382009148597717, 0.14945240318775177, -0.027599386870861053, 0.38887813687324524, -0.2904564440250397, 0.8692023754119873, 0.23634880781173706, 0.4623970091342926, 0.45696955919265747, -1.0587197542190552, -0.3841734230518341, -0.42336082458496094, -0.022259481251239777, 0.32127729058265686, -0.5833860039710999, 1.158354640007019, -0.31296306848526, -0.14524583518505096, -0.0000906613131519407, 0.3729638159275055, 0.5851264595985413, 1.1207973957061768, 0.5837990045547485, 1.0217787027359009, 0.45318496227264404, -0.4451095461845398, 0.6444494724273682, 0.16232280433177948, 0.38984379172325134, 0.8961285948753357, -0.05488188564777374, 0.88973069190979, 0.36123204231262207, -0.452639102935791, 0.4337056875228882, 0.543921947479248, -0.052062153816223145, 0.34058570861816406, 0.31825190782546997, -0.07954122871160507, -0.4804772138595581, 0.0434170626103878, -0.48964086174964905, 0.5965582728385925, 0.5528706908226013, -0.14597491919994354, -0.6600521802902222, 0.006500046234577894, -0.08667398244142532, 0.06558039039373398, -0.6763580441474915, 0.34741657972335815, 0.03499962016940117, -0.45803970098495483, 0.3878869116306305, 0.13537746667861938, 0.5804901719093323, -0.41960883140563965, -0.28389251232147217, -0.07423734664916992, 0.6106669306755066, -0.0646175965666771, -0.7536954283714294, 0.24481087923049927, -0.11376483738422394, -0.2792831063270569, -0.1254822462797165, 0.5467526912689209, -0.14027263224124908, -0.8646056056022644, 0.04186812788248062, 0.7038509249687195, 0.07776954770088196, -0.0761617049574852, -0.9169349670410156, 0.1475120633840561, -0.47979533672332764, 0.14656637609004974, 0.23421895503997803, 0.8339105844497681, -0.2955484986305237, 0.9070587754249573, 0.999791145324707, -0.5138170123100281, 0.2227015495300293, 0.2231345921754837, 0.7723442316055298, -0.6166951060295105, -0.20700310170650482, -0.99748295545578, 0.5951576232910156, -0.06702585518360138, -0.4221053123474121, 0.8341359496116638, 0.6739767789840698, 0.8893730640411377, -0.22927333414554596, 0.18254487216472626, 0.40334317088127136, 0.3888150155544281, -0.48347190022468567, 0.46598222851753235, -0.7785723209381104, -0.06897293031215668, -0.7246801257133484, -0.9282609820365906, -0.43972235918045044, 0.6632094383239746, -0.3398273289203644, 0.21244093775749207, 0.7199580669403076, 0.3940228521823883, -0.44421449303627014, -0.10314423590898514, 0.6928627490997314, -0.28470274806022644, 0.028327802196145058, 0.8265495896339417, 1.2522759437561035, -0.458318829536438, 0.5676475763320923, -0.5328876972198486, -0.4900275766849518, -0.2385576367378235, -0.7105206847190857, -0.981511116027832, -0.3801494240760803, -0.2076827436685562, -0.19014842808246613, -0.4014476239681244, 0.8080512285232544, 0.779440701007843, -0.4129575490951538, -0.34318870306015015, 0.3433810770511627, 0.10943491756916046, -0.28163009881973267, -0.22381363809108734, -0.042406074702739716, -0.11180692911148071, -0.9035196900367737, 0.17456093430519104, 0.5903816223144531, 0.1713728904724121, -0.32514676451683044, -0.11248408257961273, 0.029041029512882233, 0.055857088416814804, 1.043210744857788, -0.3258304297924042, -0.7682936191558838, 0.034864798188209534, -0.005115701351314783, -0.12941798567771912, 0.09850797802209854, 0.7550501227378845, -0.41089558601379395, 0.93694669008255, 0.2947639226913452, 0.5092967748641968, 0.5459955334663391, -0.13783511519432068, 0.23058494925498962, -0.3015328645706177, 0.1644521951675415, 0.042920760810375214, 0.5978296399116516, 0.17253650724887848, 0.2793373465538025, 0.5736821889877319, 0.6264315843582153, -0.31492188572883606, -0.9873974919319153, 0.1608528196811676, -1.0792189836502075, -0.20538504421710968, 0.6278391480445862, -0.23564504086971283, -0.3753369450569153, 0.22043055295944214, -0.25792232155799866, 0.05882864072918892, -0.2504872977733612, 0.7351105809211731, 1.0440552234649658, -0.060031622648239136, -0.5139775276184082, -0.8242940306663513, -0.07508160173892975, 0.34119123220443726, -0.8206571936607361, -0.3633985221385956, 0.8331252336502075, 0.06704996526241302, 0.4022010266780853, 0.34642112255096436, -0.29787319898605347, 0.5970543026924133, 0.1436513215303421, -0.11718589067459106, -0.29633262753486633, -0.5773297548294067, -0.15837828814983368, 0.37504565715789795, -0.25499212741851807, -0.1843847781419754 ]
http://arxiv.org/abs/2404.05090v1
http://arxiv.org/pdf/2404.05090v1
How Bad is Training on Synthetic Data? A Statistical Analysis of Language Model Collapse
2024-04-07T22:15:13
2024-04-07T22:15:13
Mohamed El Amine Seddik, Suei-Wen Chen, Soufiane Hayou, Pierre Youssef, Merouane Debbah
cs.LG
cs.LG, cs.AI, cs.CL
The phenomenon of model collapse, introduced in (Shumailov et al., 2023), refers to the deterioration in performance that occurs when new models are trained on synthetic data generated from previously trained models. This recursive training loop makes the tails of the original distribution disappear, thereby making future-generation models forget about the initial (real) distribution. With the aim of rigorously understanding model collapse in language models, we consider in this paper a statistical model that allows us to characterize the impact of various recursive training scenarios. Specifically, we demonstrate that model collapse cannot be avoided when training solely on synthetic data. However, when mixing both real and synthetic data, we provide an estimate of a maximal amount of synthetic data below which model collapse can eventually be avoided. Our theoretical conclusions are further supported by empirical validations.
[ -0.41477224230766296, -0.834407389163971, 0.4778825640678406, -0.19564767181873322, -0.08434216678142548, 0.28509095311164856, -0.22741203010082245, -0.40643879771232605, -0.15567563474178314, 0.639609158039093, -0.6310555934906006, -0.20324166119098663, -0.6377508044242859, 0.025497905910015106, -1.0501773357391357, 1.1032744646072388, 0.16316425800323486, 0.18045547604560852, -0.39430204033851624, 0.00444086454808712, -0.4818688929080963, -0.8758977651596069, -0.7501175403594971, -0.5128474235534668, 0.0339493602514267, 0.12968236207962036, 0.5049216747283936, 0.6385499835014343, 0.26385682821273804, 0.3803933262825012, 0.037961848080158234, -0.09358113259077072, -1.0069628953933716, 0.3453696668148041, -0.08021219819784164, -0.8134511709213257, -0.19342972338199615, 0.2822723090648651, 0.8772836923599243, 1.0789365768432617, -0.34313929080963135, -0.15015247464179993, 0.10242601484060287, 0.6015199422836304, -0.29712873697280884, 0.2285785973072052, -0.8970732688903809, 0.04654048755764961, -0.07738959044218063, -0.13967716693878174, -0.6241030097007751, -0.4227525591850281, 0.20308294892311096, -0.2210826426744461, 0.7367688417434692, -0.17110611498355865, 0.6310617327690125, 0.018702538684010506, -0.21214209496974945, 0.020541951060295105, -1.2001681327819824, 0.886584460735321, -0.5354500412940979, 0.5155718326568604, 0.3985150456428528, 0.6270942091941833, -0.4301793575286865, -0.4360913634300232, -0.9286168217658997, -0.3904675543308258, 0.12188615649938583, -0.026056047528982162, -0.18568117916584015, 0.015676341950893402, 0.23348696529865265, 0.43485012650489807, -0.5618203282356262, -0.12263017892837524, -0.6841911673545837, 0.04526577517390251, 0.41664841771125793, 0.34385624527931213, 0.5361019968986511, 0.11956886202096939, -0.059117384254932404, -0.44202038645744324, -0.9070912003517151, -0.27702996134757996, 0.7169556617736816, 0.5288702249526978, -0.12154106795787811, 0.6024530529975891, -0.03644391521811485, 0.3290247619152069, -0.12603075802326202, -0.18157990276813507, 0.2745840847492218, -0.4148196280002594, -0.2857134938240051, -0.23564249277114868, 0.6768427491188049, 0.15803633630275726, 0.6022695302963257, -0.38868221640586853, -0.29203149676322937, 0.22976140677928925, 0.36660993099212646, -0.3823981285095215, -0.44474977254867554, 0.2328898310661316, -0.1294327825307846, -0.5088496804237366, -0.06720953434705734, -0.3107021152973175, -0.21429072320461273, -0.1895008534193039, 0.12290885299444199, -0.5069200992584229, -0.5139890313148499, 0.09546951204538345, -0.10965249687433243, -0.34691616892814636, -0.09817782044410706, -0.7911823987960815, 0.6668301820755005, 0.594464123249054, 0.6762974858283997, 0.10094508528709412, -0.6042814254760742, -0.19710078835487366, -0.2853753864765167, -0.4671008586883545, 0.622271716594696, -0.3121739625930786, -0.5757133364677429, 0.14967262744903564, 0.26867610216140747, -0.24705272912979126, -0.7790602445602417, 0.21140868961811066, -0.31009721755981445, 0.15827755630016327, 0.31437948346138, -0.5958731770515442, -0.10852585732936859, 0.14484643936157227, -0.8370761275291443, 0.6606998443603516, 0.05122114717960358, -0.7059354782104492, 0.44934147596359253, -0.10596519708633423, -0.40411368012428284, -0.37690648436546326, -0.0846036747097969, -0.687827467918396, 0.1638244390487671, -0.44218069314956665, 0.22948810458183289, -0.31104782223701477, 0.2868655025959015, -0.6788342595100403, -0.2985600233078003, 0.606358528137207, -0.5093411207199097, 0.732887327671051, 0.09355270862579346, -0.13696110248565674, -0.41674432158470154, -1.0443938970565796, 0.020154649391770363, 0.2931942939758301, -0.11740541458129883, -0.20923081040382385, 0.20398099720478058, -0.13721488416194916, 0.19376729428768158, -0.3773305416107178, -0.47516685724258423, 0.21186672151088715, -0.7876638770103455, 0.40838977694511414, 0.4481886029243469, 0.16419637203216553, 0.5209226608276367, -0.30684465169906616, 0.7043435573577881, -0.026290368288755417, -0.16868969798088074, -0.14264653623104095, -0.28841811418533325, -0.7672889232635498, 0.18130144476890564, 0.46282586455345154, 0.38971808552742004, -0.3856153190135956, 0.1796763390302658, -0.45651525259017944, -0.648739218711853, -0.2832578122615814, -0.02250387892127037, 0.44233447313308716, 0.29038622975349426, 0.08671295642852783, -0.027935095131397247, -0.9310083389282227, -1.0491158962249756, -0.3467114567756653, -0.41809535026550293, 0.07659444212913513, -0.36202913522720337, 0.8241996169090271, -0.29625627398490906, 0.8200243711471558, -0.29653042554855347, 0.16965840756893158, -0.6490606069564819, 0.2727774977684021, 0.12190502136945724, 0.6870502829551697, 0.3539639115333557, -0.3763348162174225, 0.06799297034740448, -0.1053728461265564, -0.5087581872940063, 0.3383488655090332, -0.2717871069908142, 0.2326289564371109, 0.4840671420097351, 0.19231566786766052, -0.7440080642700195, 0.5729171633720398, 0.7454814314842224, 0.0392349548637867, 1.024398684501648, -0.19119048118591309, -0.031107572838664055, -0.8055984377861023, -0.037789810448884964, 0.009058928117156029, 0.00626348564401269, -0.8656427264213562, -0.1977674514055252, -0.20661883056163788, -0.1888982206583023, -0.3393324017524719, 0.41406476497650146, -0.11438455432653427, -0.007187749724835157, -0.2270757108926773, -0.11099673062562943, -0.19255857169628143, 0.12218190729618073, 0.11579335480928421, 0.5567044019699097, 0.3825211822986603, -0.5980049967765808, 0.051594655960798264, 0.19599032402038574, -0.3243389427661896, -0.06320338696241379, -0.8054112792015076, -0.07201552391052246, -0.15547950565814972, 0.42041197419166565, -0.9953615069389343, -0.46948522329330444, 0.22102461755275726, -0.7130833864212036, 0.4494708776473999, -0.3620574474334717, -0.5676162838935852, -0.2503289580345154, -0.26115551590919495, 0.4872843623161316, 0.532166600227356, -0.5502894520759583, -0.010589438490569592, 0.38520577549934387, 0.1560749113559723, -0.384449303150177, -1.0888911485671997, -0.07031051069498062, -0.1200471818447113, -0.7795742750167847, -0.04000938683748245, 0.07813384383916855, -0.45256471633911133, -0.007894815877079964, 0.04187460243701935, -0.23561912775039673, -0.03806690126657486, 0.34339648485183716, 0.07204923033714294, -0.04353582113981247, 0.22868959605693817, -0.08427764475345612, -0.08098751306533813, 0.3151836693286896, 0.21062497794628143, 0.7135874032974243, 0.027783093973994255, -0.24985799193382263, -0.3899146020412445, 0.18171557784080505, 0.7584668397903442, 0.079966239631176, 1.4279617071151733, -0.05123922601342201, -0.44693854451179504, -0.5621616840362549, -0.15313461422920227, -0.3463025391101837, -0.42351147532463074, 0.49121493101119995, -0.2702808380126953, -0.13579878211021423, 0.5671023726463318, 0.15791121125221252, -0.180677130818367, 0.30224886536598206, 0.3903781473636627, -0.2570781707763672, 1.338262915611267, 0.8096437454223633, 0.3423140048980713, 0.2971472442150116, -0.8421390652656555, 0.4124740958213806, -0.4187758266925812, -0.2756008803844452, -0.3077518343925476, 0.22399315237998962, -0.8794012069702148, -0.17030760645866394, 0.11748681962490082, 0.0432761013507843, -0.36896297335624695, 0.304836630821228, -0.24403506517410278, 0.6043152809143066, 0.43484312295913696, -0.12140137702226639, 0.05642051249742508, 0.16696485877037048, 0.1575329601764679, 0.0703272596001625, -0.8289244771003723, -0.5052378177642822, 1.088477373123169, 0.49298524856567383, 0.8640483021736145, -0.20700815320014954, 0.8306553959846497, 0.1375182420015335, 0.13265563547611237, -0.5946159362792969, 0.3559209406375885, -0.042367056012153625, -0.5715909600257874, -0.2593427002429962, -0.5411981344223022, -1.0356969833374023, -0.01835118979215622, -0.18327587842941284, -0.49359700083732605, 0.19588136672973633, 0.4071944057941437, 0.015996752306818962, 0.3494005799293518, -0.8282757997512817, 0.8209050297737122, -0.05137501657009125, 0.0013849000679329038, -0.11218070983886719, -0.35383340716362, 0.8814738392829895, -0.24971115589141846, 0.435566246509552, 0.0035568869207054377, 0.5921576619148254, 0.73097825050354, -0.6734007000923157, 0.9691239595413208, -0.04283658787608147, 0.008228795602917671, 0.10092861205339432, 0.31092369556427, 0.6113932132720947, -0.319837749004364, 0.09434635192155838, 0.14332666993141174, 0.16110825538635254, -0.4690842926502228, -0.769413948059082, 0.4759562611579895, -0.8326316475868225, -0.24466997385025024, -0.6156995892524719, -0.34138739109039307, -0.5066195726394653, -0.043911129236221313, 0.4705846905708313, 0.6203104853630066, -0.1897473931312561, -0.08523346483707428, 0.29043594002723694, -0.28790995478630066, -0.03454255685210228, 0.13288891315460205, -0.2800086438655853, -0.39250388741493225, 1.0717954635620117, 0.5106993317604065, 0.7881983518600464, -0.39962947368621826, 0.04639964923262596, -0.36970362067222595, -0.9064844250679016, -0.07467956095933914, 0.5094481706619263, -0.7537190914154053, 0.07846332341432571, -0.32131150364875793, -0.4116886556148529, -0.4688946604728699, 0.06268928200006485, -0.5096052289009094, -0.7637995481491089, -0.025990653783082962, -0.3449334502220154, -0.05482269451022148, 1.0123240947723389, -0.021073423326015472, 0.3467930853366852, -0.7846946120262146, -0.04033159092068672, -0.1084437221288681, 0.3801136612892151, 0.1764199286699295, -0.5683768391609192, -0.45850589871406555, 0.3382788598537445, -0.1793704628944397, -0.7741338014602661, 0.6626601815223694, 0.20868901908397675, 0.6499817371368408, 0.434366375207901, 0.010575058870017529, 0.4914422035217285, -0.618003249168396, 0.7551195025444031, 0.39973264932632446, -0.6274964213371277, 0.4839913547039032, -0.6391133069992065, 0.2963842749595642, 0.39039677381515503, 0.32573840022087097, -0.5884302258491516, -0.9421257972717285, -0.863761842250824, -0.8446710705757141, 0.6688372492790222, 0.33787354826927185, 0.2923809289932251, -0.3420311510562897, 0.26924389600753784, 0.3234931528568268, 0.0635153129696846, -0.6797257661819458, -0.38481107354164124, -0.1455133855342865, 0.04671604558825493, -0.17318306863307953, -0.355866014957428, 0.004356504883617163, -0.35407754778862, 0.7182297706604004, 0.26308366656303406, 0.1350829303264618, -0.4253399968147278, -0.17323578894138336, -0.14051774144172668, -0.082260861992836, 0.5293630957603455, 0.8249136209487915, -0.25841188430786133, 0.16411930322647095, 0.07287143170833588, -0.4029548764228821, 0.34852999448776245, -0.33931949734687805, -0.2580714523792267, -0.10054563730955124, 0.6405293345451355, 0.5966495275497437, 0.3924585282802582, -0.8473374843597412, 0.12391681969165802, 0.007162299007177353, -0.25709542632102966, -0.5791055560112, 0.19290342926979065, -0.004063082858920097, -0.11231954395771027, 0.24095895886421204, 0.41945087909698486, -0.030335353687405586, -1.0684319734573364, 0.47179916501045227, 0.30524182319641113, 0.06475789099931717, -0.7535040974617004, 0.6154128909111023, 0.07092887908220291, -0.18180638551712036, 0.6885110139846802, -0.045253172516822815, -0.6495562791824341, 0.6097428798675537, 0.8693467974662781, 0.8484172224998474, -0.25503504276275635, 0.41043606400489807, 0.6244680881500244, 0.4551481604576111, -0.31979280710220337, -0.005679455120116472, 0.44503816962242126, -0.8857815861701965, -0.3531235158443451, -0.6186766624450684, -0.3195018172264099, 0.38840165734291077, -0.5714603066444397, 0.14592203497886658, -0.44495832920074463, -0.15450242161750793, -0.0581938736140728, -0.23761186003684998, -0.46558958292007446, 0.5183363556861877, 0.13444694876670837, 0.6045585870742798, -1.0849308967590332, 0.8104549646377563, 0.30728501081466675, -0.600364625453949, -0.29404962062835693, 0.10784933716058731, 0.016224989667534828, -0.5897683501243591, 0.8701615333557129, 0.06257151067256927, -0.37381109595298767, -0.4282466173171997, -0.48172661662101746, -0.8204294443130493, 0.3895091414451599, 0.6546958088874817, -0.3202492296695709, -0.0838388055562973, 0.6642538905143738, 0.84579998254776, -0.2619631290435791, -0.02386803925037384, 0.9286501407623291, 0.22427323460578918, 0.007306068204343319, -0.8856528401374817, -0.27621886134147644, -0.16073626279830933, -0.03723125532269478, 0.3292276859283447, -0.15443679690361023, 0.9305592179298401, -0.24403537809848785, -0.6947738528251648, 0.2953711450099945, 0.13939079642295837, 0.1858062893152237, 0.23520538210868835, 0.5323273539543152, 0.566282331943512, 0.5063328146934509, -0.08093161880970001, 1.4617946147918701, -0.25368472933769226, 0.519037663936615, 1.2190403938293457, 0.24772703647613525, 0.9303845167160034, 0.17939572036266327, -0.5616014003753662, 0.20261253416538239, 0.6523399353027344, 0.1308600902557373, 0.4692675471305847, 0.3747742176055908, -0.09869499504566193, -0.3328854441642761, 0.25204312801361084, -0.17182402312755585, 0.42712706327438354, 0.2758795917034149, -0.3434508144855499, -0.21174155175685883, 0.13480226695537567, -0.07557912170886993, 0.1964419037103653, 0.1588324010372162, 0.4173978567123413, 0.012777406722307205, -0.505803644657135, 1.1653474569320679, -0.200203999876976, 0.015139956958591938, -0.39680397510528564, -0.1353614330291748, -0.3222755789756775, 0.3090221583843231, -0.21589557826519012, -0.5794090628623962, 0.5942347049713135, -0.15052680671215057, -0.34214985370635986, 0.0737493708729744, 0.42662620544433594, -0.6530939936637878, -0.6226970553398132, 0.16340045630931854, 0.40931710600852966, 0.30695614218711853, 0.11671667546033859, -0.4614129066467285, 0.4383262097835541, -0.11809654533863068, -0.15238820016384125, 0.3900270164012909, 0.17002613842487335, 0.19152814149856567, 0.9608731865882874, 0.6820700168609619, 0.25823453068733215, 0.19420254230499268, -0.07581792026758194, 0.6608167886734009, -0.6095376014709473, -0.22582609951496124, -0.7707833051681519, 0.48817333579063416, -0.044541895389556885, -0.1391720175743103, 0.7985414266586304, 0.5004510283470154, 1.0000276565551758, 0.06085694953799248, 1.033687710762024, 0.37462735176086426, 0.7129825949668884, -0.47865960001945496, 0.8361592292785645, -0.5127168893814087, 0.4850284159183502, -0.06336105614900589, -0.8483452796936035, -0.2265673279762268, 0.3989773392677307, -0.4848841428756714, 0.22082185745239258, 0.7009592652320862, 0.690895676612854, -0.09704587608575821, -0.15495583415031433, 0.5238427519798279, 0.5296714305877686, 0.4313172996044159, 0.021233342587947845, 0.9642587304115295, -0.23755311965942383, 0.5529534220695496, -0.6248469948768616, 0.11227919161319733, -0.16633403301239014, -0.37169045209884644, -0.8223578929901123, -0.9412930607795715, -0.21867059171199799, -0.6327088475227356, 0.16377496719360352, 0.6715297102928162, 0.6404195427894592, -0.9698055982589722, -0.2703160345554352, -0.35740402340888977, 0.009241954423487186, -0.023300547152757645, -0.19206388294696808, 0.21484336256980896, -0.5813111662864685, -0.744178295135498, 0.43070703744888306, -0.020960507914423943, 0.2894858419895172, -0.6012187004089355, -0.04518953338265419, 0.08043047785758972, 0.22995609045028687, 0.5276302695274353, 0.545016348361969, -0.6382967829704285, -0.3009907603263855, -0.26820993423461914, 0.17906656861305237, -0.0006056289421394467, 0.662360668182373, -0.8647981286048889, 0.6991893649101257, 0.4919205904006958, 0.41920313239097595, 0.26829802989959717, -0.09649024903774261, 1.0790114402770996, -0.7316644787788391, 0.1092693954706192, 0.12730470299720764, 0.40420201420783997, 0.2495349943637848, 0.03279014676809311, 0.493167906999588, 0.41335707902908325, -0.4151483476161957, -1.4650310277938843, 0.26855364441871643, -0.4849928915500641, -0.233659029006958, 0.942603349685669, 0.11587991565465927, -0.44878268241882324, -0.09486646205186844, 0.14179116487503052, 0.14103800058364868, -0.1908888965845108, 1.0865894556045532, 0.76481693983078, -0.3029577136039734, 0.015082653611898422, -0.8619359731674194, 0.5656852722167969, 0.21362698078155518, -0.5146870017051697, 0.4453994035720825, 0.3882114589214325, 0.5033674836158752, 0.13815568387508392, 0.26542991399765015, 0.03691400587558746, 0.42043307423591614, 0.4760344624519348, -0.11758854985237122, 0.10624842345714569, -0.4080808758735657, -0.4405544400215149, 0.04391065984964371, 0.024031637236475945, -0.07141371816396713 ]
http://arxiv.org/abs/2404.05089v1
http://arxiv.org/pdf/2404.05089v1
SEER-MoE: Sparse Expert Efficiency through Regularization for Mixture-of-Experts
2024-04-07T22:13:43
2024-04-07T22:13:43
Alexandre Muzio, Alex Sun, Churan He
cs.CL
cs.CL, cs.LG
The advancement of deep learning has led to the emergence of Mixture-of-Experts (MoEs) models, known for their dynamic allocation of computational resources based on input. Despite their promise, MoEs face challenges, particularly in terms of memory requirements. To address this, our work introduces SEER-MoE, a novel two-stage framework for reducing both the memory footprint and compute requirements of pre-trained MoE models. The first stage involves pruning the total number of experts using a heavy-hitters counting guidance, while the second stage employs a regularization-based fine-tuning strategy to recover accuracy loss and reduce the number of activated experts during inference. Our empirical studies demonstrate the effectiveness of our method, resulting in a sparse MoEs model optimized for inference efficiency with minimal accuracy trade-offs.
[ -0.7792279124259949, -0.735410749912262, 0.19521357119083405, 0.1438688486814499, -0.1625673919916153, -0.000436401111073792, -0.3652164340019226, -0.32208094000816345, 0.24307219684123993, 0.3864520490169525, -0.44971662759780884, 0.034739889204502106, -0.8078063130378723, -0.12804260849952698, 0.008691403083503246, 0.7188863158226013, 0.16821883618831635, 0.08919788151979446, -0.17465728521347046, 0.1734575778245926, -0.7381995320320129, 0.09100668877363205, -0.7310815453529358, -0.1460421234369278, 0.7111673951148987, 0.6467592716217041, 0.7691638469696045, 0.4848841726779938, 0.47422802448272705, 0.28296324610710144, -0.11451391875743866, 0.3747287094593048, -0.978240966796875, 0.254904568195343, -0.015994425863027573, -0.5641210079193115, -0.5029943585395813, -0.15678247809410095, 0.5685775279998779, 0.8527018427848816, -0.4033993184566498, -0.18513968586921692, 0.2463710606098175, 0.43546661734580994, -1.0378283262252808, 0.11179526150226593, -0.7717498540878296, 0.12053712457418442, 0.042836856096982956, -0.17583048343658447, -0.3861573040485382, 0.08045721054077148, 0.2119390070438385, -0.9758930206298828, 0.4677157402038574, -0.15610989928245544, 0.5295692682266235, 1.0666868686676025, -0.00990773644298315, 0.3352319300174713, -0.7211088538169861, 1.161807656288147, -0.620573103427887, 0.3879728615283966, 0.47826921939849854, 0.23945452272891998, -0.08603274822235107, -0.3677096664905548, -0.37311241030693054, 0.22252285480499268, 0.0979418084025383, 0.33072155714035034, 0.05625259503722191, 0.028361668810248375, 0.019200801849365234, 0.28897297382354736, -0.2837991714477539, 0.22076979279518127, -0.46790143847465515, 0.010256776586174965, 0.6013228297233582, 0.04347679018974304, -0.3254547417163849, 0.33139511942863464, -0.35574108362197876, 0.12177849560976028, -0.3995378315448761, -0.36846160888671875, 0.17145223915576935, 0.06260459870100021, 0.12364473193883896, 0.3029712736606598, -0.22532184422016144, 0.683236837387085, 0.31469404697418213, -0.19472795724868774, -0.26028814911842346, -0.019098564982414246, -0.10804980248212814, -0.01640583574771881, 0.6204820871353149, 0.35726502537727356, 0.41828230023384094, -0.21059580147266388, -0.2314775139093399, -0.04405113309621811, 0.3288426101207733, -1.1065208911895752, -0.775474488735199, -0.0805424153804779, -0.348678320646286, -0.3116741478443146, -0.12494571506977081, -0.9478632211685181, -0.5315297842025757, -0.2739497125148773, 0.5684645175933838, -0.42205363512039185, -0.45627039670944214, 0.23790553212165833, -0.1612538993358612, -0.2022128850221634, 0.6424998641014099, -0.6679351329803467, 0.3749326169490814, 0.7984322905540466, 0.589823305606842, 0.055772989988327026, -0.10985330492258072, -0.6382922530174255, 0.350585013628006, -0.5544918179512024, 0.6305201649665833, -0.9607128500938416, -0.548443615436554, -0.48802343010902405, -0.7641292214393616, -0.10994402319192886, -0.7596269845962524, 0.0446973480284214, -0.4922991991043091, -0.02614915557205677, -0.21980087459087372, -0.46696409583091736, -0.47329071164131165, 0.007147334516048431, -0.4280148148536682, 1.2265249490737915, 0.016246888786554337, -0.5444132089614868, 0.6460500955581665, -0.41527241468429565, -0.41221317648887634, 0.2051195651292801, -0.3209090232849121, -0.17654000222682953, 0.4700443744659424, 0.32716304063796997, 0.7044669985771179, -0.35781776905059814, 0.39886054396629333, -0.33374807238578796, -0.5712856650352478, -0.03301781415939331, -0.3748919367790222, 0.3198379874229431, 0.4015486538410187, -0.13500413298606873, 0.1506916582584381, -0.7280584573745728, -0.31903767585754395, -0.14043357968330383, -0.3503991663455963, -0.4990331828594208, 0.37047380208969116, -0.06707703322172165, 0.001590989762917161, 0.28339043259620667, -0.22557732462882996, 0.20981766283512115, -0.07829146832227707, 0.4046384394168854, 0.7156877517700195, -0.000003786034994845977, 0.565566897392273, -0.3705408573150635, 0.24545827507972717, 0.2487696409225464, 0.13221822679042816, -0.2523578703403473, -0.6831339001655579, -1.0212733745574951, -0.9496784210205078, 0.5294501781463623, 0.49221959710121155, -0.7617377042770386, 0.6203782558441162, -0.3346554636955261, -0.4193207323551178, -0.6376325488090515, 0.295276015996933, 0.40319058299064636, 0.6684408783912659, 0.47856372594833374, -0.21278798580169678, -0.3799116611480713, -0.9194315075874329, 0.04796873405575752, 0.1823563128709793, -0.05398017540574074, 0.3221018612384796, 0.27534881234169006, -0.152186781167984, 0.9502684473991394, -0.5314241051673889, -0.2116013616323471, 0.0010356669081375003, 0.1489146500825882, 0.013742486014962196, 1.0356343984603882, 0.46863996982574463, -0.738844096660614, -0.5545578598976135, -0.09629068523645401, -0.7006720900535583, 0.10587739944458008, -0.11868502199649811, -0.33813872933387756, -0.32077547907829285, 0.30533626675605774, -0.5467561483383179, 0.4426411986351013, 0.15403026342391968, 0.03780565410852432, 0.04623706638813019, -0.19958831369876862, -0.010234415531158447, -0.7404732704162598, -0.1959189921617508, 0.018389534205198288, -0.22254128754138947, -0.4134187400341034, 0.23275072872638702, -0.16395525634288788, -0.10047502815723419, 0.03676386550068855, 0.5864466428756714, -0.42229756712913513, 0.13022063672542572, -0.06120723485946655, -0.3277795910835266, 0.004166886676102877, 0.6180235147476196, 0.1701110303401947, 0.8779721856117249, 0.8600888252258301, -0.7893622517585754, -0.03486638516187668, 0.058766767382621765, -0.268116295337677, 0.6865226626396179, -0.5469269156455994, 0.13848327100276947, -0.04934729263186455, 0.04565070569515228, -0.8680814504623413, -0.4227884113788605, 0.39190787076950073, -0.2635433077812195, 0.7753899693489075, -0.2843116819858551, -0.48714977502822876, -0.02284228801727295, -0.30153805017471313, 0.4791184663772583, 0.8300337791442871, -0.1092706173658371, 0.945024311542511, 0.3908761441707611, -0.47182613611221313, -0.5900500416755676, -0.6919819712638855, -0.00444744573906064, 0.039270222187042236, -0.6932488083839417, 0.23644372820854187, -0.051105938851833344, -0.23076319694519043, 0.22147922217845917, -0.2677466571331024, -0.44707173109054565, 0.3311927318572998, -0.016424918547272682, 0.0007836073054932058, -0.38372549414634705, -0.18964891135692596, 0.4777587652206421, -0.33572515845298767, -0.2073938399553299, -0.23414292931556702, 0.311114639043808, 0.19560809433460236, -0.43021702766418457, -0.6400636434555054, 0.5916144847869873, 0.35977184772491455, -0.3359161615371704, 0.9249145984649658, 0.6777805089950562, -0.5929468870162964, -0.23918402194976807, -1.1156928539276123, -0.3279895782470703, -0.4578595459461212, 0.5277392268180847, -0.38361409306526184, -0.6226527094841003, 0.533833384513855, -0.09432239085435867, 0.25370049476623535, 0.5293495059013367, 0.5409520864486694, 0.04669586569070816, 0.972507894039154, 0.3690144419670105, -0.08449432253837585, 0.462380588054657, -0.4512801766395569, 0.052253607660532, -0.4912082552909851, -0.34691569209098816, -0.2876121401786804, -0.675314724445343, 0.05635596439242363, -0.8491429686546326, 0.34256887435913086, 0.4113820791244507, -0.27913039922714233, -0.2379312366247177, -0.48191460967063904, 0.6482608318328857, 0.6878629922866821, 0.4806080460548401, 0.06332192569971085, 0.011170723475515842, 0.1564701944589615, -0.0018924050964415073, -1.1958938837051392, -0.18119598925113678, 0.9764542579650879, 0.2511609196662903, 0.9163203835487366, -0.1444767564535141, 0.7253543734550476, 0.15128202736377716, 0.13461466133594513, -0.8173103332519531, 0.6610820293426514, -0.02456728182733059, -0.6772805452346802, -0.29091620445251465, -0.6119464635848999, -0.6344106793403625, 0.3632093667984009, -0.35406365990638733, -0.4037400186061859, 0.6371005773544312, 0.3439996540546417, -0.6275429129600525, 0.4194733202457428, -0.8086299300193787, 0.6021433472633362, 0.15687274932861328, -0.5936766266822815, -0.7595298886299133, -0.5570915937423706, 0.3638458251953125, -0.30694907903671265, -0.06135708466172218, -0.08612468838691711, -0.4933528006076813, 0.8616266250610352, -0.6626321077346802, 0.8549275398254395, -0.5418552756309509, 0.19678910076618195, 0.4075443148612976, 0.23452378809452057, 0.5316973924636841, 0.11394988745450974, -0.2530643343925476, 0.3233100473880768, -0.3884422779083252, -0.7009770274162292, -0.41696688532829285, 0.6159714460372925, -0.6994659900665283, -0.3895214796066284, -0.01845463179051876, -0.9015726447105408, -0.3022305965423584, 0.2728649079799652, 0.2252735048532486, 0.4335991144180298, 0.07223381847143173, 0.5363604426383972, 1.0816407203674316, 0.020104942843317986, 0.016003118827939034, 0.37998732924461365, 0.16110026836395264, -0.351200670003891, 1.1541646718978882, 0.3809542953968048, -0.25039032101631165, 0.3801012337207794, 0.15581873059272766, 0.19879008829593658, -0.989336371421814, -0.19336383044719696, 0.10275312513113022, -0.32921209931373596, -0.21471300721168518, -0.6115663647651672, 0.0673084482550621, -0.13493625819683075, -0.4975523054599762, -0.605869710445404, -0.21813133358955383, -0.6624661684036255, 0.12261916697025299, 0.32426968216896057, 0.5924468636512756, -0.1539108157157898, 0.5459476113319397, -0.6789992451667786, 0.4328393042087555, 0.38674110174179077, 0.4473942816257477, 0.3226562440395355, -0.40991130471229553, -0.4433888792991638, -0.11703295260667801, -0.0936591848731041, -0.46906915307044983, 0.21901577711105347, 0.3190862834453583, 0.7507947087287903, 0.9589880704879761, 0.11687566339969635, 0.9946022033691406, -0.40435731410980225, 0.3686998784542084, 0.169253870844841, -0.5600340962409973, 0.11202853918075562, -0.49443578720092773, -0.3262346684932709, 0.6943804621696472, 0.159105122089386, 0.18249058723449707, -0.3205738663673401, -0.44828933477401733, -0.7939091324806213, 0.7446340918540955, 0.19204044342041016, -0.01536866370588541, 0.04485095292329788, 0.3386286497116089, 0.4006517231464386, 0.2880476415157318, 0.2150038629770279, -0.16120603680610657, 0.006009586621075869, -0.3538116216659546, -0.11867149919271469, -0.6997019648551941, -0.2557794451713562, -0.45833972096443176, 0.5900319814682007, 0.274904727935791, 0.1443413347005844, -0.005738315638154745, -0.32684382796287537, -0.06161123886704445, -0.1299024373292923, 0.4273034930229187, 0.8285543322563171, -0.27966535091400146, -0.004629169590771198, 0.26187241077423096, -0.5716233253479004, -0.2517033517360687, 0.2630121111869812, -0.3337309956550598, -0.1527019739151001, 0.22346527874469757, 0.7597371339797974, 0.7871777415275574, -0.44635146856307983, 0.2779773771762848, 0.26358309388160706, -0.3728514015674591, 0.032844267785549164, 0.5045806765556335, -0.018331408500671387, 0.46066856384277344, 0.6938526034355164, 0.8139112591743469, 0.21957194805145264, 0.05785772204399109, 0.19561287760734558, 0.2867788076400757, -0.3047519624233246, -0.23162955045700073, 0.8881279230117798, 0.6491456627845764, -0.09442219138145447, 0.33335214853286743, -0.12757806479930878, -0.31907182931900024, 0.614337682723999, -0.08239790052175522, 0.7129859924316406, -0.2865420877933502, -0.42920368909835815, 0.15696462988853455, 0.14437717199325562, -0.2756222188472748, 0.288388192653656, -0.21417422592639923, -0.5891187787055969, -0.6004223823547363, -0.2969634234905243, -0.34824150800704956, -0.11297567933797836, -0.901857316493988, 0.08369748294353485, -0.6812655925750732, -0.14834029972553253, -0.07252084463834763, -0.07664486765861511, -0.8306953310966492, -0.022275900468230247, 0.22165241837501526, 0.8799906969070435, -0.5854917168617249, 0.5128228664398193, 0.5432577133178711, 0.009121069684624672, -0.5192475318908691, -0.2418883740901947, -0.10394164174795151, -0.7104389667510986, 0.4399913549423218, 0.16853435337543488, -0.10783255845308304, 0.28614020347595215, -0.6146534085273743, -0.4898957908153534, 0.763927698135376, 0.3995828628540039, -0.7726997137069702, 0.16044244170188904, -0.6401591300964355, 0.11646618694067001, -0.13873590528964996, 0.2725045382976532, 0.2986886203289032, 0.5603955388069153, 0.15901270508766174, -0.7264703512191772, -0.29638391733169556, -0.36628636717796326, 0.06952543556690216, 0.34550249576568604, -0.6524928212165833, 1.1078253984451294, -0.20486389100551605, 0.19969536364078522, -0.0038676599506288767, 1.0372679233551025, 0.1459258496761322, 0.28117913007736206, 0.556957483291626, 0.7739928960800171, 0.8615495562553406, 0.11333218216896057, 0.8986380100250244, -0.41534632444381714, 0.22897668182849884, 0.9789263010025024, -0.28002774715423584, 0.7789706587791443, 0.3213423788547516, -0.3964073359966278, 0.06926632672548294, 0.7012118101119995, -0.09470660239458084, 0.6022101044654846, -0.13088038563728333, -0.26381438970565796, -0.8252041339874268, 0.18486368656158447, -0.5140247344970703, 0.06333135813474655, 0.5425954461097717, 0.0458969883620739, -0.135841503739357, -0.09664645045995712, 0.07413317263126373, -0.22173325717449188, -0.5715236663818359, 0.7844025492668152, -0.20389516651630402, -0.6433782577514648, 0.46048402786254883, -0.15090295672416687, 0.9780122637748718, -0.48069918155670166, -0.18234729766845703, -0.15025779604911804, 0.31024202704429626, -0.1309657245874405, -0.5080487728118896, -0.02536587044596672, -0.009632705710828304, -0.4162645936012268, 0.029780399054288864, 0.7251034379005432, -0.5062816739082336, -0.8052002787590027, 0.040976859629154205, 0.5525559186935425, 0.45061594247817993, -0.3947843015193939, -0.5745169520378113, -0.47271299362182617, -0.16353647410869598, -0.40478086471557617, 0.4883982837200165, 0.5954622626304626, 0.07126319408416748, 0.6883688569068909, 0.5520951151847839, -0.018401065841317177, 0.5162404179573059, -0.10722071677446365, 1.010514736175537, -0.1821412891149521, -0.527110755443573, -0.6393065452575684, 0.539968729019165, 0.046178046613931656, -0.0774882510304451, 0.5668861269950867, 0.7634007930755615, 0.6756414771080017, -0.18598122894763947, 0.6598185300827026, 0.008006357587873936, 0.5624411702156067, -0.39567703008651733, 0.866777777671814, -0.7135563492774963, 0.1987072229385376, -0.11682463437318802, -0.7318807244300842, -0.2237238883972168, 0.830620527267456, -0.332045316696167, 0.34212079644203186, 0.0065598031505942345, 0.9241434931755066, -0.4125787615776062, -0.2810618579387665, 0.3484492897987366, 0.2768060564994812, -0.11659406125545502, 0.4595739543437958, 0.7560932040214539, -0.10986524075269699, 0.4777000844478607, -0.5289609432220459, -0.2958347201347351, -0.6725377440452576, -0.650302529335022, -0.9202294945716858, -0.10254507511854172, -0.49689236283302307, 0.19620053470134735, -0.09667772054672241, 0.7001118659973145, 1.053087830543518, -0.821708083152771, 0.05340198799967766, 0.04815611243247986, 0.05380656197667122, -0.41903170943260193, -0.1479281485080719, 0.14902466535568237, -0.31106188893318176, -0.8018379211425781, 0.4960581064224243, 0.2486390918493271, -0.39808666706085205, -0.1773921400308609, -0.37830665707588196, -0.05115673691034317, 0.13961705565452576, 0.47304943203926086, 0.02601112611591816, -0.7325947880744934, 0.04831364005804062, -0.17277072370052338, 0.16078802943229675, 0.04960278049111366, 0.6614671945571899, -0.834071934223175, 0.6414061188697815, 0.6344319581985474, 0.8106749653816223, 0.46058762073516846, 0.027571214362978935, 0.5057782530784607, -0.5508210062980652, 0.5840977430343628, 0.36431193351745605, 0.4363883137702942, -0.013785325922071934, -0.3146912455558777, 0.6581178903579712, 0.47450077533721924, -0.4271099865436554, -1.025925874710083, -0.1146102026104927, -1.1010185480117798, -0.42435845732688904, 0.9143239259719849, -0.16359321773052216, 0.2459486871957779, -0.23600241541862488, -0.24203146994113922, 0.30503222346305847, -0.7487260699272156, 0.4767588675022125, 0.5079557299613953, -0.04641934856772423, -0.3776884973049164, -0.6341756582260132, 0.1551448255777359, 0.6395315527915955, -0.34173548221588135, -0.3031691908836365, 0.5690614581108093, 0.2547853887081146, 0.05090121552348137, 0.4798327684402466, 0.4421228766441345, 0.09226418286561966, 0.42547160387039185, 0.06603354215621948, -0.5567284822463989, -0.6919502019882202, 0.05785607174038887, 0.10664668679237366, -0.12036296725273132, -0.3389361500740051 ]
http://arxiv.org/abs/2404.05088v1
http://arxiv.org/pdf/2404.05088v1
How much reliable is ChatGPT's prediction on Information Extraction under Input Perturbations?
2024-04-07T22:06:19
2024-04-07T22:06:19
Ishani Mondal, Abhilasha Sancheti
cs.CL
cs.CL
In this paper, we assess the robustness (reliability) of ChatGPT under input perturbations for one of the most fundamental tasks of Information Extraction (IE) i.e. Named Entity Recognition (NER). Despite the hype, the majority of the researchers have vouched for its language understanding and generation capabilities; a little attention has been paid to understand its robustness: How the input-perturbations affect 1) the predictions, 2) the confidence of predictions and 3) the quality of rationale behind its prediction. We perform a systematic analysis of ChatGPT's robustness (under both zero-shot and few-shot setup) on two NER datasets using both automatic and human evaluation. Based on automatic evaluation metrics, we find that 1) ChatGPT is more brittle on Drug or Disease replacements (rare entities) compared to the perturbations on widely known Person or Location entities, 2) the quality of explanations for the same entity considerably differ under different types of "Entity-Specific" and "Context-Specific" perturbations and the quality can be significantly improved using in-context learning, and 3) it is overconfident for majority of the incorrect predictions, and hence it could lead to misguidance of the end-users.
[ -0.2959417700767517, -0.8708868622779846, 0.5440289974212646, 0.08210010081529617, -0.19655053317546844, 0.0854734554886818, -0.2881847023963928, -0.43975287675857544, -0.11075425893068314, 0.1376924067735672, -0.21695005893707275, -0.26923808455467224, -0.9250936508178711, 0.17077921330928802, -0.4332718253135681, 1.2205580472946167, 0.1320754736661911, 0.16161145269870758, -0.0005386431002989411, 0.2816563844680786, -0.5746858716011047, -0.6961187720298767, -0.6976505517959595, -0.23569676280021667, 0.5855685472488403, 0.48782452940940857, 0.7240961790084839, 0.3572556972503662, 0.813793420791626, 0.18046365678310394, -0.20964132249355316, -0.3430885970592499, -0.5713282823562622, 0.3744073808193207, -0.06960710883140564, -0.3926393389701843, -0.23562321066856384, -0.25737255811691284, 0.5921083092689514, 0.34467896819114685, -0.18019455671310425, 0.0462445504963398, 0.49908140301704407, 0.2228219211101532, -0.3931364119052887, 0.2905608117580414, -1.0094754695892334, -0.042190924286842346, -0.2953663766384125, -0.0984177514910698, -0.3204289376735687, -0.0436505451798439, 0.49347612261772156, -0.4378361701965332, 0.12416812032461166, -0.11043165624141693, 1.3198152780532837, 0.4967798590660095, -0.10654524713754654, -0.2832118272781372, -0.8712695837020874, 0.5934981107711792, -0.41041094064712524, 0.3479210138320923, 0.4738215208053589, 0.5772002339363098, -0.5817470550537109, -0.7341862916946411, -0.5335540175437927, -0.33306652307510376, 0.0645599365234375, 0.22426046431064606, -0.11256979405879974, -0.02677508257329464, 0.5044955015182495, 0.2698464095592499, -0.3804510533809662, 0.10254065692424774, -0.15853743255138397, -0.3525935113430023, 0.17038065195083618, -0.107368603348732, 0.4578530192375183, -0.4486447274684906, -0.585732638835907, -0.0686861053109169, -0.7524946928024292, 0.0986444279551506, 0.3559463620185852, 0.17648035287857056, 0.21500524878501892, 0.5361200571060181, -0.039021190255880356, 0.3109051287174225, 0.16057388484477997, -0.17624086141586304, 0.07877279072999954, -0.36568117141723633, -0.13376455008983612, 0.13435226678848267, 0.9849103093147278, 0.06645846366882324, 0.13338257372379303, -0.4366091191768646, -0.2470252364873886, -0.15123802423477173, 0.11869040131568909, -0.7684435844421387, -0.5177307724952698, 0.16452375054359436, -0.2515106797218323, -0.3697319030761719, 0.10770241916179657, -0.9881390929222107, -0.42338091135025024, 0.04398980364203453, 0.5407859086990356, -0.7646804451942444, -0.11275360733270645, -0.1380261927843094, -0.10567066818475723, 0.27028241753578186, 0.44173064827919006, -0.723193883895874, 0.24579238891601562, 0.5052149891853333, 0.6940735578536987, -0.45896023511886597, -0.2010771483182907, -0.4985875189304352, -0.29860273003578186, 0.17329470813274384, 1.1426209211349487, -0.5021172165870667, -0.24553461372852325, -0.6202282905578613, -0.1786220222711563, -0.2631945013999939, -0.48851075768470764, 0.6918848156929016, -0.3257553279399872, 0.08277153968811035, -0.3473844528198242, -0.46176430583000183, 0.008426140062510967, 0.279670387506485, -0.6743404269218445, 0.6431850790977478, 0.011349444277584553, -1.0031658411026, 0.7263092398643494, -0.4734830856323242, -0.2218398004770279, 0.15981246531009674, -0.2869769036769867, -0.6300461888313293, -0.13521994650363922, 0.33335649967193604, 0.16668637096881866, -0.20354314148426056, 0.2807273268699646, -0.35847529768943787, -0.40732496976852417, 0.6221586465835571, -0.9451851844787598, 0.6745750904083252, 0.056954652070999146, -0.44507357478141785, -0.2850957214832306, -0.7875702977180481, -0.08933824300765991, 0.08091209828853607, -0.5623301863670349, 0.14130622148513794, 0.20385800302028656, -0.025877056643366814, 0.1930212378501892, -0.11196964979171753, -0.6956876516342163, 0.16177129745483398, -0.41049814224243164, 0.31229516863822937, 0.5180225372314453, 0.39950695633888245, 0.19568687677383423, -0.01610669493675232, 0.6077380180358887, 0.013348542153835297, 0.008802947588264942, -0.10382013767957687, -0.5327927470207214, -0.3238578140735626, -0.20630376040935516, 0.8857269287109375, 0.7402615547180176, -0.6583805680274963, 0.14063861966133118, -0.3238823115825653, -0.5107173323631287, 0.01721552386879921, -0.12313615530729294, 0.3307114839553833, 0.764714777469635, 0.3182665705680847, -0.3724285960197449, -0.5735582709312439, -0.5851107835769653, -0.31970325112342834, -0.3241238594055176, -0.1617213487625122, 0.24846170842647552, 0.4964725971221924, -0.2788166403770447, 0.8992859125137329, -0.05196869745850563, -0.12059124559164047, -0.1836923360824585, 0.1566442847251892, 0.1747405230998993, 0.38675594329833984, 0.1761336475610733, -0.7487965226173401, -0.38752758502960205, -0.07861389964818954, -0.5719814300537109, 0.12732040882110596, -0.06382013112306595, 0.13749350607395172, -0.09858039021492004, 0.1308722048997879, -0.6370432376861572, 0.6036537885665894, 0.3345319628715515, -0.0317993238568306, 0.7493119835853577, 0.17829470336437225, -0.04636289179325104, -0.9588395357131958, 0.05546868219971657, 0.011698376387357712, -0.071721151471138, -0.4150092601776123, -0.24372127652168274, -0.25257959961891174, -0.19387316703796387, -0.21379323303699493, 0.3028262257575989, -0.3272085189819336, -0.021678786724805832, -0.018224749714136124, 0.17021827399730682, -0.24880827963352203, 0.2412385493516922, -0.10538890212774277, 0.7341144680976868, 0.6070889234542847, -0.4544980823993683, 0.21126635372638702, 0.24088017642498016, -0.305448979139328, 0.4094560146331787, -0.8238099813461304, 0.16485457122325897, -0.06958181411027908, 0.13496097922325134, -0.9745290875434875, -0.44261065125465393, 0.3869267404079437, -0.9725880026817322, 0.5385267734527588, -0.4419287145137787, -0.3683203160762787, 0.1496439129114151, 0.09412023425102234, 0.0772605761885643, 0.360841304063797, -0.3603363633155823, 0.44089341163635254, 0.5241320729255676, -0.07468198239803314, -0.8381690979003906, -0.568098783493042, 0.1563645452260971, -0.19791767001152039, -0.44003206491470337, -0.01903853937983513, 0.17584076523780823, -0.17589910328388214, 0.0018391829216852784, -0.46098703145980835, -0.12493766099214554, 0.29688939452171326, 0.5032138824462891, 0.31506308913230896, -0.23478132486343384, 0.32483014464378357, -0.24731899797916412, -0.3048348128795624, -0.08144577592611313, -0.13278529047966003, 0.546768069267273, -0.30145400762557983, -0.3309967517852783, -0.20137262344360352, -0.14741145074367523, 0.3223125636577606, -0.026088772341609, 0.4602368474006653, 0.6523273587226868, -0.42607277631759644, 0.16742447018623352, -0.40358805656433105, -0.24319811165332794, -0.3880016505718231, 0.5507774353027344, -0.4092462956905365, -0.5382887721061707, 0.5410299301147461, -0.049563199281692505, -0.04890913516283035, 0.602839469909668, 0.3281676471233368, -0.2142457365989685, 0.8442423343658447, 0.2960320711135864, -0.08095606416463852, 0.3944854140281677, 0.028293561190366745, 0.2515254020690918, -0.776560366153717, -0.12870731949806213, -0.54429692029953, -0.14963416755199432, -0.8378635048866272, 0.020608287304639816, 0.33443498611450195, 0.10446162521839142, -0.023990854620933533, 0.42084360122680664, -0.47625234723091125, 0.3026181161403656, 0.32696521282196045, 0.10443785786628723, 0.12385524809360504, 0.2906131446361542, -0.1479293256998062, -0.09085212647914886, -0.6668068170547485, -0.7793347835540771, 1.1790508031845093, 0.47527235746383667, 0.7787465453147888, 0.008815165609121323, 0.7344823479652405, -0.06349153071641922, 0.1542932242155075, -0.9717966318130493, 0.3043232858181, -0.009509093128144741, -0.5199956297874451, -0.4139153063297272, -0.40336427092552185, -1.1956018209457397, 0.07388811558485031, -0.5406761765480042, -1.1833072900772095, 0.4050711989402771, 0.23801490664482117, -0.5106782913208008, 0.24397094547748566, -0.7247509956359863, 0.6543274521827698, -0.15296363830566406, -0.21414309740066528, 0.28760024905204773, -0.7311477065086365, -0.022696081548929214, -0.12306295335292816, -0.031787000596523285, -0.10968230664730072, 0.14645777642726898, 0.6520763635635376, -0.18442922830581665, 0.5155846476554871, -0.09998618066310883, 0.2250330150127411, 0.2232876420021057, 0.20307877659797668, 0.46062171459198, 0.3500272035598755, -0.21977390348911285, 0.39017438888549805, 0.11656752228736877, -0.20769821107387543, -0.6532341837882996, 0.42661812901496887, -0.674204409122467, -0.49904078245162964, -0.4719589054584503, -0.03903236240148544, -0.38836953043937683, 0.33358442783355713, 0.9346879720687866, 0.6025778651237488, -0.1856144517660141, 0.32854583859443665, 0.700213611125946, -0.1802234649658203, 0.3257136642932892, 0.0038129074964672327, 0.04831309989094734, -0.34098127484321594, 0.9727582335472107, 0.4246678352355957, 0.20882326364517212, 0.3672860562801361, 0.14922921359539032, 0.03231445327401161, -0.6476539969444275, -0.459746778011322, -0.11338001489639282, -0.605583667755127, -0.2174656242132187, -0.5898247361183167, -0.3520708680152893, -0.03695182129740715, 0.42786452174186707, -0.4082905352115631, -0.44075968861579895, -0.2287037968635559, -0.08815620839595795, -0.07317768782377243, 0.6281965970993042, 0.19723635911941528, 0.24816201627254486, -0.6270111203193665, 0.0410262793302536, 0.21264533698558807, 0.4022631347179413, -0.4082748293876648, -0.4780132472515106, 0.07483270019292831, 0.06677916646003723, -0.16368255019187927, -1.1446062326431274, 0.027740921825170517, 0.14228734374046326, 0.6225576400756836, 0.44864988327026367, -0.14638200402259827, 0.5371220707893372, -0.20164898037910461, 0.7621764540672302, -0.06157159060239792, -0.5753252506256104, 0.4107922613620758, -0.1928628534078598, 0.22690987586975098, 0.7065325975418091, 0.29022687673568726, -0.33829331398010254, -0.38034483790397644, -0.9142906665802002, -0.8433482646942139, 0.46534764766693115, 0.31647127866744995, -0.06337548792362213, 0.0732496976852417, 0.466291606426239, 0.27508512139320374, 0.017257293686270714, -0.7168199419975281, -0.037349455058574677, -0.22792108356952667, 0.06196621060371399, 0.23417718708515167, -0.4867766797542572, 0.4036898910999298, 0.038323596119880676, 0.6932494044303894, 0.11953531205654144, 0.5404086709022522, 0.3816488981246948, -0.15601348876953125, -0.054574597626924515, 0.3526054918766022, 0.18899191915988922, 0.6372932195663452, -0.26243868470191956, 0.1923547238111496, 0.19656963646411896, -0.8597448468208313, -0.16662941873073578, 0.17824675142765045, -0.3124556243419647, 0.080347441136837, 0.3022928535938263, 0.7464700937271118, -0.006975907366722822, -0.5744267106056213, 0.47978100180625916, -0.4879642128944397, 0.11238066852092743, -0.4554334282875061, 0.05777391791343689, -0.39731621742248535, 0.07748180627822876, 0.3509460985660553, 0.4955987334251404, 0.27485474944114685, -0.2969014346599579, 0.32830584049224854, 0.5399301648139954, -0.5914414525032043, -0.4392971992492676, 0.5267267227172852, -0.23471367359161377, -0.2608245313167572, 0.7290967106819153, -0.2752476632595062, -0.6421617269515991, 0.48468467593193054, 0.4307059645652771, 0.7588785290718079, -0.15503448247909546, 0.04874882847070694, 0.5515242218971252, 0.3711739778518677, -0.05301223322749138, -0.09452454000711441, -0.013389901258051395, -0.8871289491653442, -0.36979442834854126, -0.5554492473602295, -0.5629594922065735, 0.2531839609146118, -0.40249156951904297, 0.455778032541275, -0.31171858310699463, -0.5842822790145874, 0.19641470909118652, -0.06678413599729538, -0.6173376441001892, 0.25857672095298767, 0.08589406311511993, 0.4620727002620697, -0.43063825368881226, 0.5840997099876404, 0.679664134979248, -0.6047767996788025, -1.1793047189712524, 0.49681758880615234, 0.08779459446668625, -0.5684970617294312, 0.4941892623901367, 0.01806461252272129, -0.03381997346878052, -0.26389479637145996, -0.5962154269218445, -1.218496561050415, 0.7818343043327332, 0.5889677405357361, -0.5046129822731018, -0.1089036837220192, -0.15071675181388855, 0.48844602704048157, 0.08618582785129547, 0.5183931589126587, 0.38448449969291687, 0.3724752962589264, 0.30126652121543884, -1.1903958320617676, -0.013739321380853653, -0.23262648284435272, -0.2473946362733841, 0.07133153080940247, -0.2514156103134155, 0.7344153523445129, -0.2525925636291504, -0.6566973924636841, -0.1247379332780838, 0.20009365677833557, -0.05165209248661995, -0.03182925283908844, 0.4471789300441742, 0.29142501950263977, 0.7953842282295227, -0.35129132866859436, 1.1203521490097046, -0.16437292098999023, 0.45932143926620483, 1.2116665840148926, 0.0821509137749672, 0.8772517442703247, 0.4311974346637726, -0.2711390256881714, 0.4776483178138733, 0.603421151638031, -0.23278675973415375, 0.33734118938446045, 0.014770878478884697, 0.04448315128684044, -0.009834127500653267, 0.22644782066345215, -0.11558636277914047, 0.7498528361320496, 0.4835670292377472, -0.32505151629447937, -0.1582120656967163, -0.1643439680337906, 0.09130242466926575, -0.592440664768219, 0.0549197718501091, 0.932483434677124, -0.03130766376852989, -0.6774786114692688, 0.513254702091217, -0.3180532455444336, 0.3681425154209137, -0.3585939407348633, -0.1380595862865448, 0.06637752801179886, 0.098326675593853, -0.41904905438423157, -0.6692391037940979, 0.1858483999967575, -0.19428987801074982, 0.09728715568780899, 0.24543997645378113, 1.2880709171295166, -0.08135001361370087, -0.20829862356185913, -0.049812544137239456, 0.4435044527053833, 0.4050869047641754, -0.28270649909973145, -0.4966675639152527, -0.17184767127037048, 0.07827451825141907, -0.3851625323295593, 0.3930351734161377, 0.43056613206863403, 0.09665262699127197, 0.5917471051216125, 0.4919534921646118, 0.4166695177555084, 0.06784434616565704, -0.38681718707084656, 0.6617345809936523, -0.2836414873600006, -0.06350869685411453, -1.107020378112793, 0.37051576375961304, -0.2130657583475113, -0.34899023175239563, 0.6976792216300964, 0.3502005636692047, 0.5625975728034973, 0.2729640603065491, 0.8566069006919861, -0.09564746916294098, 0.39334583282470703, -0.2679794132709503, 0.6921396255493164, -0.06036903336644173, 0.43978992104530334, -0.449477881193161, -0.9060036540031433, -0.19378554821014404, 0.5599385499954224, -0.37448644638061523, -0.02726341225206852, 0.7385565042495728, 0.52791827917099, 0.03743303567171097, 0.12340167909860611, 0.2574932277202606, 0.3477765619754791, 0.26271581649780273, 0.2884742021560669, 0.7766185998916626, -0.39920711517333984, 0.7667840123176575, -0.2312963604927063, -0.21926529705524445, -0.14279577136039734, -0.8218972682952881, -0.40874096751213074, -0.45648568868637085, -0.2773767113685608, -0.5842034816741943, 0.11351672559976578, 0.7628189325332642, 0.5356088876724243, -0.912646472454071, 0.21061579883098602, -0.12695352733135223, 0.2902579605579376, -0.06177487596869469, -0.20621706545352936, 0.38564491271972656, -0.3851689100265503, -0.5118943452835083, 0.14173533022403717, 0.36118075251579285, -0.02183401584625244, 0.023691369220614433, 0.2206444889307022, 0.19080379605293274, -0.1437307894229889, 0.3465501368045807, 0.49087849259376526, -0.5380986332893372, -0.3909186124801636, 0.0237897802144289, -0.11040278524160385, 0.4032079577445984, 0.3946172595024109, -0.6781145930290222, 0.5848062634468079, 0.3555903434753418, 0.7336075901985168, 0.41122549772262573, 0.2054675668478012, 0.572785496711731, -0.4463994801044464, -0.23423822224140167, 0.32298097014427185, 0.533968448638916, 0.2477458268404007, -0.6108464002609253, 0.4639785885810852, 0.2189284861087799, -0.8251884579658508, -0.6536445021629333, 0.05806495249271393, -0.8975806832313538, 0.15025287866592407, 1.4132094383239746, -0.3079097270965576, -0.2969844341278076, -0.2688446044921875, -0.39564159512519836, 0.3320348560810089, -0.6248480677604675, 0.7910069823265076, 0.8044253587722778, -0.39555418491363525, -0.17256398499011993, -0.62156742811203, 0.41965410113334656, 0.31233927607536316, -0.5136744379997253, -0.15662933886051178, 0.27288973331451416, 0.5922751426696777, 0.31864801049232483, 0.396337628364563, -0.33730995655059814, 0.31198328733444214, 0.1719816029071808, -0.11757439374923706, 0.12134994566440582, -0.04287891462445259, -0.27198269963264465, 0.28569296002388, 0.4144071936607361, -0.14871062338352203 ]
http://arxiv.org/abs/2404.05086v1
http://arxiv.org/pdf/2404.05086v1
A Note on LoRA
2024-04-07T22:00:50
2024-04-07T22:00:50
Vlad Fomenko, Han Yu, Jongho Lee, Stanley Hsieh, Weizhu Chen
cs.LG
cs.LG, cs.AI, cs.CL
LoRA (Low-Rank Adaptation) has emerged as a preferred method for efficiently adapting Large Language Models (LLMs) with remarkable simplicity and efficacy. This note extends the original LoRA paper by offering new perspectives that were not initially discussed and presents a series of insights for deploying LoRA at scale. Without introducing new experiments, we aim to improve the understanding and application of LoRA.
[ -0.17827779054641724, -0.7706195116043091, 0.6253629326820374, 0.16980800032615662, -0.14243453741073608, -0.15169864892959595, -0.21744637191295624, -0.537908673286438, 0.45256316661834717, 0.7216264009475708, -0.07360835373401642, -0.44479742646217346, -0.6738254427909851, -0.11883413791656494, -0.6597945690155029, 0.9895854592323303, 0.12966038286685944, -0.41767990589141846, 0.192816823720932, -0.3943702280521393, -0.19350557029247284, -0.4933171272277832, -0.8434350490570068, -0.44791558384895325, 1.1239207983016968, 0.7054406404495239, 0.6114254593849182, 0.5300797820091248, 0.7516666054725647, 0.2186630219221115, -0.2690628468990326, -0.0010766061022877693, -0.8224939703941345, -0.1688317060470581, -0.13556984066963196, -0.9143038988113403, -0.8327257633209229, 0.0031596289481967688, 0.9308796525001526, 1.112966775894165, -0.28757238388061523, 0.4035031497478485, 0.19067969918251038, 0.8935984373092651, -0.6816520690917969, -0.3044898211956024, -0.8156400918960571, -0.053309522569179535, -0.19042199850082397, -0.13260799646377563, -0.6010663509368896, -0.36381033062934875, 0.012527892366051674, -0.6248360872268677, -0.41319775581359863, -0.07674100250005722, 0.43146294355392456, 0.3979904353618622, -0.48550477623939514, -0.014968190342187881, -1.000952124595642, 0.6408405303955078, -0.829902708530426, -0.18098066747188568, 0.06984883546829224, 0.6068354249000549, -0.25322529673576355, -0.626499354839325, -0.2680281698703766, -0.06241464614868164, 0.37895411252975464, -0.15858136117458344, -0.38060733675956726, -0.21606223285198212, 0.3498377203941345, 0.3986533284187317, 0.14682647585868835, 0.7233336567878723, -0.28072822093963623, 0.3680034577846527, 0.43520453572273254, 0.030254453420639038, -0.0957469716668129, -0.030941084027290344, -0.17774848639965057, 0.16737283766269684, -1.0295779705047607, 0.05450303107500076, 0.005996169056743383, 0.7430082559585571, -0.3943486213684082, 0.7172115445137024, -0.31511059403419495, 0.5391194820404053, -0.046368155628442764, -0.40279731154441833, 0.09131283313035965, -0.05064947158098221, -0.10806901752948761, 0.040215104818344116, 0.3892892003059387, 0.270715594291687, 0.06904521584510803, 0.017657890915870667, -0.16384686529636383, 0.0280632134526968, 0.08570758998394012, -0.745398759841919, 0.007558595389127731, -0.12967714667320251, -0.5449554324150085, -0.4053976237773895, -0.38506314158439636, -0.8281356692314148, -0.6999467611312866, 0.06075066328048706, 0.6823976635932922, 0.12825262546539307, 0.11705134809017181, -0.0343845933675766, 0.20172536373138428, 0.6692108511924744, 0.8576217293739319, -0.9670925736427307, 0.7010005712509155, 0.6846652626991272, 0.8937411904335022, -0.39158421754837036, -0.20265983045101166, -0.9107493758201599, 0.14936284720897675, -0.37908679246902466, 1.1484768390655518, -0.2696908116340637, -0.39058804512023926, -0.03897692263126373, 0.0026577101089060307, -0.06016482785344124, -0.5472407937049866, 0.6842619180679321, -0.4280543327331543, 0.06916698068380356, -0.39195898175239563, -0.19744081795215607, -0.0840415507555008, -0.04440918192267418, -0.6541422605514526, 1.0012123584747314, 0.48246076703071594, -0.6964195370674133, 0.11594418436288834, -1.2950390577316284, -0.4159591495990753, -0.12296797335147858, 0.24523304402828217, -0.25418686866760254, 0.5218037366867065, 0.16611555218696594, 0.06379921734333038, -0.3249482810497284, -0.5832827091217041, -0.44201624393463135, -0.5636500716209412, 0.44718870520591736, -0.100121408700943, 0.5721765756607056, 0.283576637506485, -0.09127262234687805, -0.01356554962694645, -0.7837324738502502, -0.07812533527612686, 0.15448135137557983, -0.7048050165176392, -0.534432590007782, 0.23104925453662872, -0.010213845409452915, -0.03626526892185211, 0.4034881591796875, -0.3067406117916107, 0.5518922805786133, -0.47322389483451843, 0.64366215467453, 0.8114938139915466, -0.12658503651618958, 0.6691425442695618, -0.22191010415554047, 0.5020274519920349, -0.017134960740804672, 0.2516716420650482, 0.048847150057554245, -0.4047369062900543, -1.2171745300292969, -0.2519298195838928, 0.5083974599838257, 0.5034639239311218, -0.4783245921134949, 0.24321074783802032, -0.4070507287979126, -0.4819421172142029, -0.5779905915260315, 0.6158644556999207, -0.014145619235932827, 0.2869040369987488, 0.1764589101076126, -0.1878986358642578, -0.4757152795791626, -0.7821357250213623, -0.22640199959278107, -0.2932041585445404, 0.49156618118286133, 0.07767367362976074, 0.5089689493179321, -0.3713909387588501, 0.9293906688690186, -0.5151581168174744, -0.12880851328372955, -0.5788904428482056, -0.0958423838019371, 0.545013964176178, 0.2604016065597534, 0.7042999863624573, -0.3605668246746063, -0.5716897249221802, 0.11573097109794617, -0.7708195447921753, -0.10878220200538635, 0.23525983095169067, -0.20187091827392578, 0.16992498934268951, 0.5965466499328613, -0.2667727470397949, 0.3282637596130371, 0.9151967167854309, -0.07294842600822449, -0.12114129215478897, -0.35191085934638977, -0.23608362674713135, -1.3733038902282715, 0.060985688120126724, -0.14843596518039703, -0.4252864420413971, -0.7671535611152649, 0.11325287073850632, -0.2642785608768463, -0.17434677481651306, -0.4347096383571625, 0.6865932941436768, -0.3087611198425293, -0.5297623872756958, -0.4955563545227051, 0.5165469646453857, -0.20166510343551636, 0.21836185455322266, -0.28234198689460754, 0.7516576051712036, 0.36228492856025696, -0.614256739616394, -0.07145886868238449, 0.28436970710754395, -0.5298639535903931, 0.6686162948608398, -0.5758102536201477, 0.41471898555755615, -0.07479934394359589, 0.10517029464244843, -0.8863455057144165, -0.27203261852264404, 0.0722360610961914, 0.0974850207567215, -0.09507229179143906, -0.38731181621551514, -0.3989505469799042, -0.23803859949111938, -0.5237296223640442, 0.2242276817560196, 0.8855701088905334, -0.6607142686843872, 0.5505465865135193, 0.6556288003921509, -0.16732357442378998, -0.3760530352592468, -0.7920188307762146, 0.2119893878698349, -0.7804458737373352, -0.11538587510585785, -0.04412297531962395, -0.301512211561203, -0.6481679677963257, -0.2570182681083679, 0.048977967351675034, 0.0932728722691536, 0.7522602677345276, 0.2515062987804413, -0.015082918107509613, -0.7574260830879211, -0.26023873686790466, -0.08547666668891907, -0.15883956849575043, -0.24661707878112793, 0.1372312307357788, 0.20702849328517914, -0.022114023566246033, -0.24714148044586182, -0.39089974761009216, 0.3186122477054596, 0.6436320543289185, 0.3301268517971039, 0.803379476070404, 0.16348955035209656, -0.18036425113677979, -0.5279579758644104, -0.2499653398990631, 0.2626451551914215, -0.5187151432037354, 0.320361852645874, -0.20818506181240082, -0.8405008316040039, 0.6452730894088745, -0.4170739948749542, -0.001199461636133492, 0.6561679244041443, 0.37639138102531433, -0.4310856759548187, 0.5324280858039856, 1.3692708015441895, -0.3149893581867218, 0.7668255567550659, -0.14626942574977875, 0.5176095962524414, -1.1447793245315552, 0.15077123045921326, -0.9064465165138245, -0.46997204422950745, -0.842995822429657, -0.6237450242042542, 0.5321541428565979, 0.45031023025512695, -0.08736958354711533, 0.21457190811634064, -0.11991748958826065, 0.4956855773925781, 0.2376769781112671, -0.024584626778960228, 0.7246193885803223, 0.20457321405410767, 0.6081961989402771, 0.10320731997489929, -0.7888383865356445, -0.41271135210990906, 1.1075299978256226, 0.5023805499076843, 1.105844497680664, 0.5810973048210144, 0.9295980930328369, 0.40414685010910034, 0.6598706245422363, -1.0834442377090454, 0.6295006275177002, -0.536695122718811, -0.24750827252864838, -0.6611963510513306, -0.13088196516036987, -1.1691958904266357, 0.3195219337940216, -0.12245205044746399, -0.965674102306366, 0.11709806323051453, 0.08543496578931808, -0.6608166098594666, 0.22881485521793365, -0.7258392572402954, 0.47327369451522827, -0.13646124303340912, 0.01640825718641281, -0.26009318232536316, -0.17408402264118195, 0.3077448308467865, -0.5059622526168823, 0.48802778124809265, -0.1603717803955078, -0.3846699595451355, 1.141552209854126, -0.33832088112831116, 0.9395203590393066, -0.21123085916042328, -0.7150558829307556, 0.28558996319770813, -0.15302029252052307, 0.694053053855896, -0.32394900918006897, -0.2918020784854889, -0.21344630420207977, -0.18034027516841888, -0.5301079750061035, -0.6467389464378357, 1.0914883613586426, -1.09691321849823, -0.7146267294883728, -0.3504844605922699, -0.660908043384552, -0.475190132856369, 0.19683389365673065, -0.19400270283222198, 0.15300269424915314, -0.5183340311050415, 0.25528445839881897, 0.7177422046661377, -0.22399687767028809, 0.6200664639472961, 0.4603428542613983, -0.7488706707954407, -0.22931566834449768, 0.6526488661766052, 0.3697335124015808, 0.4726513624191284, 0.5827342867851257, 0.25571778416633606, 0.1020844578742981, -0.8726712465286255, -0.17212292551994324, 0.4789039194583893, -1.1257164478302002, 0.13946934044361115, -0.40734851360321045, -0.13305094838142395, -0.07403888553380966, -0.24394457042217255, -0.5559976100921631, -0.8427698612213135, -0.12928931415081024, 0.1643487811088562, 0.6899320483207703, 1.0947613716125488, 0.039503347128629684, 0.7120946049690247, -0.2654419243335724, 0.5120689272880554, 0.5516793727874756, 0.15619197487831116, -0.26828232407569885, -1.1200642585754395, -0.5170548558235168, -0.17385493218898773, 0.06441432237625122, -0.258749395608902, 0.12352573871612549, 0.37682461738586426, 0.6418898701667786, 0.02780943736433983, -0.04823781177401543, 0.6857903599739075, -0.3136679530143738, 0.7271862626075745, -0.0538640022277832, -0.7604454159736633, 0.5665217638015747, -0.5013521909713745, 0.3981420397758484, 0.5806059241294861, 0.00026508542941883206, -0.266746461391449, 0.25787243247032166, -0.19672183692455292, -0.7101574540138245, 0.52138751745224, -0.21706943213939667, 0.5025611519813538, 0.47452837228775024, 0.40672141313552856, 0.15624971687793732, 0.05380505695939064, -0.8358297944068909, -0.23546990752220154, 0.20290017127990723, 0.020758744329214096, -0.4936656951904297, -0.49540093541145325, -0.2456933557987213, -0.22093814611434937, 0.3898601531982422, -0.4079679846763611, 0.43141794204711914, -0.18988680839538574, -0.36551010608673096, -0.10765543580055237, 0.6270837783813477, 0.5142920017242432, 0.7789481282234192, -0.1466870903968811, 0.24265925586223602, 0.5071648955345154, -0.24022166430950165, 0.09652114659547806, -0.37852877378463745, -0.2847188115119934, -0.3302937150001526, 0.49190160632133484, 0.8721405863761902, 0.6382311582565308, -0.36548081040382385, 0.34024184942245483, 0.3380240201950073, -0.1002475693821907, -0.2058500498533249, 0.18272627890110016, 0.25095242261886597, 0.24500203132629395, 0.33389991521835327, -0.03202011436223984, -0.2562426030635834, -1.0237396955490112, -0.28199243545532227, 0.18794383108615875, -0.28497904539108276, -0.3216499090194702, 0.22052960097789764, 0.3987632691860199, -0.27217531204223633, 0.18866267800331116, 0.2779134511947632, 0.0010494132293388247, 0.29891830682754517, 0.7927969098091125, 0.67607581615448, -0.19617052376270294, 0.2065228521823883, -0.09273838996887207, 0.3021649420261383, -0.2832338511943817, 0.43514975905418396, 0.20939478278160095, -0.5807516574859619, -0.48627880215644836, -0.6247394680976868, -0.6366683840751648, 0.10989293456077576, -0.7226974964141846, 0.2425687462091446, -0.6652634739875793, -0.11687021702528, 0.08975425362586975, -0.05032487213611603, -0.24131512641906738, -0.39201462268829346, 0.2681087553501129, 1.2345407009124756, -0.94540935754776, 1.2515017986297607, 0.4066797196865082, -0.10642349720001221, -0.4711109399795532, 0.20516251027584076, -0.27056047320365906, -1.0195633172988892, 0.5424286723136902, -0.3029341697692871, -0.5809940099716187, 0.19924499094486237, -0.5474322438240051, -1.172689437866211, 1.0270335674285889, 0.6374377608299255, -0.2391175627708435, -0.17593155801296234, 0.11166863888502121, 0.7005160450935364, -0.6388840079307556, -0.3032456636428833, 0.6084105968475342, 0.37292444705963135, -0.1584075391292572, -0.9303700923919678, -0.11411184817552567, -0.006189410574734211, 0.17842330038547516, -0.06412217020988464, -0.8077349066734314, 0.8953860998153687, -0.48254719376564026, 0.2615307569503784, 0.706490695476532, 0.673306941986084, -0.07572443783283234, 0.1271364688873291, 0.43901652097702026, 0.4109688699245453, 0.8882773518562317, 0.20609146356582642, 1.1802700757980347, 0.1035352423787117, 0.1631069779396057, 1.1905018091201782, -0.7227544784545898, 1.3989133834838867, 0.7448263168334961, -0.3970116376876831, 0.8577381372451782, 0.25897255539894104, 0.2812793552875519, 0.5866215825080872, 0.18327824771404266, -0.050309423357248306, -0.19480110704898834, -0.3285175859928131, -0.418147474527359, 0.7008237838745117, 0.3609597980976105, -0.16406293213367462, -0.14125627279281616, -0.09925835579633713, 0.07034409046173096, 0.13111324608325958, -0.831378698348999, 0.7936354279518127, 0.37867283821105957, -0.34121546149253845, 0.8640265464782715, -0.15108804404735565, 0.5074059367179871, -0.4964923560619354, 0.00739662442356348, -0.3977195918560028, 0.32942497730255127, -0.31746044754981995, -0.40478214621543884, -0.03413918986916542, 0.24489429593086243, -0.23714016377925873, 0.11321569234132767, 0.49233484268188477, 0.06954452395439148, -0.5987319946289062, 0.4094288945198059, 0.7709004878997803, 0.23951710760593414, 0.3255378305912018, -0.5418955087661743, 0.3239920437335968, -0.2824946641921997, -0.2860811948776245, 0.7696965336799622, 0.5507321953773499, -0.32853052020072937, 0.8478749990463257, 0.4303193986415863, 0.04290000721812248, 0.020263975486159325, 0.13681660592556, 0.9331119656562805, -0.9035652279853821, -0.4875573515892029, -0.564456045627594, 0.29924464225769043, 0.06389045715332031, -0.010391106829047203, 1.0100429058074951, 0.3946229815483093, 0.1926354020833969, 0.12736018002033234, 0.9381820559501648, 0.04452238604426384, 0.8512891530990601, -0.6895414590835571, 0.36965319514274597, -0.4928491711616516, 0.570572555065155, -0.4258626103401184, -1.0392557382583618, -0.2124570608139038, 0.5352094173431396, -0.5002279877662659, 0.05744323506951332, 1.032975435256958, 0.5701866745948792, -0.1441342830657959, -0.5084835886955261, 0.43841227889060974, 0.6203075051307678, -0.10135684162378311, 0.5086641907691956, 1.0182267427444458, -0.6456459760665894, 0.38076654076576233, 0.06653398275375366, -0.08304562419652939, -0.6459845900535583, -1.1820130348205566, -0.8914180397987366, -0.18835777044296265, -0.44880396127700806, -0.3318072557449341, 0.096663698554039, 0.8517657518386841, 0.6728243827819824, -0.7905570864677429, -0.4295758008956909, 0.4929456412792206, 0.282050222158432, -0.1826719045639038, -0.01725318469107151, 0.2618754804134369, 0.0544307716190815, -0.745135486125946, 0.7645407319068909, 0.2621085047721863, -0.04714681953191757, -0.37249547243118286, -0.18736998736858368, -0.18250788748264313, 0.2654421329498291, 0.8011645078659058, 0.5367591977119446, -0.6408462524414062, -0.5615091323852539, -0.2954099476337433, -0.3141915798187256, 0.4015941619873047, 0.7283380031585693, -0.6255359053611755, -0.2343979775905609, 0.21340321004390717, 0.5666848421096802, 0.5020220875740051, -0.003910867962986231, 0.30496951937675476, -0.17382089793682098, 0.3213883638381958, -0.3801002502441406, 0.3440183699131012, 0.5760044455528259, -0.1851302534341812, 0.6344045400619507, 0.02747611701488495, -0.22597377002239227, -1.2840240001678467, 0.24847465753555298, -1.6150569915771484, -0.01732631027698517, 1.2214596271514893, -0.03531936928629875, -0.47339460253715515, -0.006063489243388176, -0.1807679384946823, -0.15764223039150238, -0.27778738737106323, 0.811030387878418, 0.14874401688575745, -0.0676359012722969, -0.3060011863708496, -0.689407229423523, 0.24500718712806702, 0.1766139715909958, -1.1488536596298218, 0.11337736248970032, -0.06979101151227951, 0.3593902885913849, 0.10732759535312653, 0.7339481115341187, 0.04405907168984413, -0.016656501218676567, -0.18082784116268158, -0.32636016607284546, 0.40011218190193176, -0.22331534326076508, -0.9521180987358093, 0.335730642080307, 1.1737406253814697, 0.25694411993026733 ]
http://arxiv.org/abs/2404.05083v1
http://arxiv.org/pdf/2404.05083v1
HaVTR: Improving Video-Text Retrieval Through Augmentation Using Large Foundation Models
2024-04-07T21:46:47
2024-04-07T21:46:47
Yimu Wang, Shuai Yuan, Xiangru Jian, Wei Pang, Mushi Wang, Ning Yu
cs.CV
cs.CV, cs.CL, cs.IR, cs.LG
While recent progress in video-text retrieval has been driven by the exploration of powerful model architectures and training strategies, the representation learning ability of video-text retrieval models is still limited due to low-quality and scarce training data annotations. To address this issue, we present a novel video-text learning paradigm, HaVTR, which augments video and text data to learn more generalized features. Specifically, we first adopt a simple augmentation method, which generates self-similar data by randomly duplicating or dropping subwords and frames. In addition, inspired by the recent advancement in visual and language generative models, we propose a more powerful augmentation method through textual paraphrasing and video stylization using large language models (LLMs) and visual generative models (VGMs). Further, to bring richer information into video and text, we propose a hallucination-based augmentation method, where we use LLMs and VGMs to generate and add new relevant information to the original data. Benefiting from the enriched data, extensive experiments on several video-text retrieval benchmarks demonstrate the superiority of HaVTR over existing methods.
[ -0.2860284745693207, -1.1572744846343994, 0.333792507648468, -0.10423540323972702, -0.5328057408332825, 0.09149229526519775, -0.27075085043907166, -0.2519819438457489, 0.25507351756095886, 0.8265324234962463, -0.2601560056209564, -0.4941836893558502, -0.690431535243988, -0.16450922191143036, -0.8585760593414307, 0.8496974110603333, 0.06832748651504517, -0.0989939421415329, -0.16412533819675446, -0.26465436816215515, -0.497681200504303, -0.4855250120162964, -0.1976523995399475, -0.20871779322624207, 0.1666584461927414, 0.19439087808132172, 0.9580227732658386, 1.0576136112213135, 0.8345668911933899, 0.2782445549964905, -0.044800322502851486, 0.29353734850883484, -0.4980432987213135, 0.04313834756612778, 0.021880004554986954, 0.1057370975613594, -0.10286819189786911, -0.6494598388671875, 0.8242619633674622, 0.302273154258728, -0.012279670685529709, -0.13017459213733673, -0.06209905445575714, 0.5236813426017761, -0.8138923645019531, -0.2005288153886795, -0.606160581111908, 0.3907676339149475, 0.06684938818216324, -0.5811222195625305, -0.21118366718292236, -0.1838914006948471, 0.5482856631278992, -0.572080135345459, 0.5714915990829468, -0.24641118943691254, 0.6764696836471558, 0.42289233207702637, -0.4026002287864685, -0.093671053647995, -0.7312418818473816, 0.5549601316452026, -0.2618654668331146, 0.6556128263473511, 0.32618358731269836, 0.328227162361145, 0.42045682668685913, -0.8980600833892822, -0.4922710061073303, -0.24294325709342957, 0.0735827386379242, -0.11246402561664581, 0.10532703995704651, 0.044850125908851624, 0.19193200767040253, 0.7900635004043579, -0.4764918386936188, -0.29163989424705505, -0.3039324879646301, -0.10851234197616577, 0.5155044794082642, -0.0505860261619091, 0.36788734793663025, -0.5750316977500916, -0.5700430274009705, -0.5104807615280151, -0.4321790337562561, -0.2648119330406189, 0.04038892686367035, 0.09865585714578629, -0.017025018110871315, 0.8031888008117676, -0.07277289032936096, 0.7664304971694946, -0.3073335886001587, -0.15093928575515747, 0.4731411933898926, -0.26589512825012207, -0.6418237686157227, 0.06732308864593506, 0.6393471956253052, 0.3065706491470337, 0.14019383490085602, -0.07060138881206512, -0.22025863826274872, -0.1717371642589569, 0.4672110080718994, -0.7552048563957214, -0.3095208704471588, -0.5039762258529663, -0.5957453846931458, -0.4620908796787262, 0.49566397070884705, -1.0169131755828857, -0.3330453336238861, -0.30289533734321594, 1.1389985084533691, -0.5440928339958191, -0.03895627334713936, 0.11589669436216354, -0.22270311415195465, 0.3146967887878418, 0.4012135863304138, -0.856245219707489, 0.22980476915836334, 0.4090083837509155, 0.761497437953949, -0.3023928105831146, -0.2528533339500427, -1.0128754377365112, 0.2251066416501999, -0.2005162537097931, 0.5311983227729797, -0.9371996521949768, -0.47319677472114563, 0.3646898865699768, -0.05556122213602066, 0.4401435852050781, -0.6177479028701782, 0.5371392965316772, -0.5618106126785278, 0.25533854961395264, -0.2290814071893692, -0.3364863693714142, -0.23997649550437927, 0.14520221948623657, -0.8422530889511108, 1.261204481124878, 0.11178678274154663, -0.6775033473968506, 0.2664260268211365, -0.2407739907503128, -0.624346137046814, 0.03854737430810928, -0.5834395289421082, -0.6484968066215515, 0.0963926687836647, 0.4250514805316925, 0.48559844493865967, -0.16871976852416992, 0.18363280594348907, 0.12583574652671814, -0.5251591205596924, -0.08958099037408829, -0.7156282663345337, 0.003977977205067873, 0.08206460624933243, -0.1336248368024826, 0.05645578354597092, -0.7421299815177917, -0.20554564893245697, -0.24011845886707306, -0.27450695633888245, -0.3620281219482422, -0.15487506985664368, 0.20582976937294006, 0.10360831767320633, 0.09428606927394867, -0.15801478922367096, -0.024273578077554703, -0.4205063283443451, 0.24083106219768524, 0.527434766292572, 0.12177302688360214, 0.5410906076431274, -0.14723069965839386, 0.4496060311794281, -0.1630815863609314, -0.08424152433872223, -0.6097782254219055, -0.141096830368042, -0.6196025609970093, -0.21442916989326477, -0.03201011195778847, 0.30246713757514954, -1.0235615968704224, 0.24207128584384918, -0.44215866923332214, -0.20532602071762085, -0.44735410809516907, 0.42476242780685425, 0.49991390109062195, 0.6231028437614441, 0.8398244976997375, -0.44446563720703125, -0.8361701965332031, -0.7506656050682068, 0.005849631503224373, 0.0018124316120520234, -0.11565735936164856, 0.39743709564208984, 0.46811574697494507, -0.23920392990112305, 0.8539848327636719, -0.6416926383972168, -0.4013589918613434, -0.16965097188949585, 0.22227641940116882, -0.15228897333145142, 0.2961709797382355, 0.2533179819583893, -1.2911595106124878, -0.4210350215435028, 0.28914663195610046, -0.9037539958953857, 0.3537934422492981, 0.034719761461019516, 0.09384562820196152, -0.16153857111930847, 0.5374323725700378, -0.5846542716026306, 0.7310819625854492, 0.14484988152980804, -0.013063515536487103, 0.5675379633903503, -0.4208937883377075, 0.6338281631469727, -1.1122056245803833, -0.2714003026485443, 0.11395519226789474, -0.18651507794857025, -0.45729178190231323, 0.013360542245209217, -0.004028615541756153, -0.21370084583759308, -0.6358115673065186, 0.6046164035797119, -0.24218624830245972, -0.37217608094215393, -0.48346954584121704, 0.0159926675260067, 0.020252961665391922, 0.2024422138929367, 0.27854007482528687, 0.9762210845947266, 0.7024069428443909, -0.7900029420852661, 0.7379108667373657, 0.6398301720619202, -0.4921628534793854, 0.2678179144859314, -0.5884084701538086, -0.25118184089660645, -0.5024164915084839, -0.046078309416770935, -0.7407227754592896, -0.8124590516090393, -0.1488669216632843, -0.5567076802253723, 0.14667236804962158, -0.09514649212360382, -0.3332136571407318, -0.3182373046875, -0.19818967580795288, 0.4823072850704193, 0.8591813445091248, -0.8686367869377136, 0.6968063116073608, 0.3003305494785309, -0.05407652631402016, -0.8779606819152832, -0.646300196647644, 0.30174121260643005, -0.32304930686950684, -0.5389070510864258, 0.9704042673110962, 0.16094404458999634, -0.09381337463855743, 0.012166500091552734, -0.26095128059387207, -0.23394736647605896, -0.43403705954551697, -0.09045630693435669, 0.09938348829746246, -0.11857976019382477, 0.4275384247303009, -0.16131138801574707, 0.18270117044448853, -0.1895551234483719, -0.2000398486852646, 0.5113149881362915, 0.09411592036485672, -0.17276693880558014, -0.14511056244373322, 0.4080974757671356, 0.24835102260112762, -0.43764448165893555, 0.3069167733192444, 1.0294612646102905, -0.5632067322731018, -0.1274530589580536, -0.7463667392730713, -0.2741042971611023, -0.4508489966392517, 0.795479953289032, -0.43998053669929504, -1.1221284866333008, 0.1602751463651657, 0.4921272099018097, -0.3185008764266968, 0.20017050206661224, 0.5993658304214478, 0.03279128298163414, 0.86578768491745, 0.8218984007835388, 0.19560100138187408, 0.8220974802970886, -0.30575835704803467, -0.23263828456401825, -0.4643833339214325, -0.36842188239097595, -0.17718619108200073, 0.07748954743146896, -0.41996702551841736, -0.7034684419631958, 0.3600119352340698, -0.16798877716064453, -0.1544012576341629, 0.47855210304260254, -0.5118232369422913, 0.7432002425193787, 0.3024926781654358, 0.5741351246833801, 0.4240756630897522, 0.6512578129768372, 0.08516797423362732, -0.3070005476474762, -0.3050464689731598, -0.2885465621948242, 0.8775575757026672, 0.4425866901874542, 1.0076595544815063, 0.12191176414489746, 0.5114375352859497, 0.6513570547103882, 0.026086362078785896, -0.7735865712165833, 0.527703583240509, -0.4904598891735077, -0.21495534479618073, -0.23797066509723663, -0.36661994457244873, -0.4818960726261139, 0.25445717573165894, -0.42702022194862366, -0.5598015785217285, 0.12603700160980225, 0.14852210879325867, -0.25943443179130554, 0.20887456834316254, -0.2880244851112366, 0.7962659597396851, -0.16091138124465942, -0.7918294668197632, -0.27591732144355774, -0.7094969749450684, 0.2761420011520386, -0.03806722164154053, 0.08199271559715271, 0.5861010551452637, 0.012569773010909557, 0.6475972533226013, -0.5420318841934204, 0.47308775782585144, 0.0224564578384161, -0.14340156316757202, 0.4306460916996002, -0.1362542361021042, 0.6255741119384766, 0.08423839509487152, 0.044174887239933014, -0.5767531991004944, -0.5860841870307922, -0.16645485162734985, -0.8848928809165955, 0.6153720617294312, -0.720819354057312, -0.5535429120063782, -0.09169407933950424, -0.3337744176387787, 0.03186175972223282, 0.11858823150396347, 0.3371497392654419, 0.6872063875198364, -0.271585077047348, 0.7562503814697266, 1.1448521614074707, -0.2736482620239258, 0.4486325681209564, -0.06410814821720123, -0.29148954153060913, -1.047514796257019, 1.0795035362243652, -0.19759461283683777, 0.1965218037366867, 0.8442007899284363, -0.05302152782678604, -0.4451696276664734, -0.443398118019104, -0.24645844101905823, 0.1081375926733017, -1.0048242807388306, -0.10326316207647324, -0.9077802896499634, -0.4079361855983734, -0.3995574116706848, -0.18137916922569275, -0.24193032085895538, -0.12943612039089203, -0.4057401716709137, -0.39838019013404846, 0.5412045121192932, 0.40417152643203735, 0.10674484074115753, 0.6823513507843018, -0.8631753325462341, 0.6708495020866394, 0.6177845001220703, 0.15254080295562744, -0.13094842433929443, -0.9785324335098267, -0.47577086091041565, -0.20020371675491333, -0.35276874899864197, -0.8305079340934753, 0.7783024907112122, 0.31036126613616943, 0.2544914782047272, 0.3346098065376282, -0.42083412408828735, 0.9051424264907837, -0.42252063751220703, 0.7067181468009949, 0.3824186623096466, -0.7578940391540527, 0.5951608419418335, -0.4649510383605957, -0.014189621433615685, 0.49156859517097473, 0.33990755677223206, -0.22923561930656433, 0.3051418662071228, -0.5853388905525208, -0.8124721646308899, 0.1969234049320221, 0.3773082494735718, 0.5629832148551941, 0.05630708858370781, 0.43624556064605713, 0.2378244698047638, 0.362565815448761, -0.9254359006881714, 0.05967564880847931, -0.6443617939949036, -0.33446362614631653, -0.04609416052699089, -0.17621107399463654, 0.15830768644809723, -0.30417266488075256, 0.5253718495368958, -0.13504669070243835, 0.2496299147605896, 0.4070814251899719, -0.39967525005340576, -0.15063084661960602, 0.3497551679611206, 0.13883979618549347, 0.44310474395751953, -0.32558122277259827, 0.27242520451545715, 0.32321855425834656, -0.5476970672607422, 0.38238343596458435, 0.07284374535083771, -0.19197675585746765, 0.2280772179365158, 0.3968465328216553, 1.1238024234771729, 0.34986644983291626, -0.8942158818244934, 0.733335018157959, 0.2669128179550171, -0.37726718187332153, -0.43956297636032104, 0.25703179836273193, -0.6303368210792542, 0.14966295659542084, 0.755803108215332, -0.07365026324987411, 0.3998025059700012, -0.6165516376495361, 0.8137302398681641, 0.4694482684135437, -0.6980878710746765, -0.04241429641842842, 0.6869540214538574, 0.07732520997524261, -0.5446376800537109, 0.3823205828666687, 0.09985581785440445, -0.33787572383880615, 0.42163026332855225, 0.5334606170654297, 0.8280904293060303, -0.1184932291507721, 0.4738953411579132, 0.371759831905365, 0.1218256950378418, -0.4818616509437561, 0.14687907695770264, -0.3446417450904846, -0.35609740018844604, -0.845729410648346, -0.7053589820861816, -0.28151440620422363, 0.3044480085372925, -0.6282785534858704, 0.7077494859695435, -0.0976555198431015, -0.04208550974726677, -0.297751784324646, -0.21733812987804413, -0.5241355299949646, 0.6562027335166931, 0.09390947222709656, 0.7794950604438782, -0.7699387073516846, 0.8019428253173828, 0.7484906315803528, -0.5585528016090393, -0.33423754572868347, 0.11844920367002487, -0.4815526008605957, -0.5718929171562195, 0.7443425059318542, 0.37544798851013184, 0.011913007125258446, 0.28850671648979187, -0.3158867657184601, -0.7508479356765747, 1.1111624240875244, 0.13904502987861633, -0.3644907772541046, -0.6648542284965515, 0.22477832436561584, 0.5484577417373657, -0.5258020758628845, 0.21543174982070923, 0.45054933428764343, 0.23732838034629822, 0.5287511348724365, -0.5029772520065308, -0.27793002128601074, -0.20165550708770752, 0.2314307987689972, 0.15442995727062225, -0.31618058681488037, 0.6371110081672668, -0.19245374202728271, -0.010908775962889194, 0.11478982865810394, 1.0407350063323975, 0.06713232398033142, 0.2869613468647003, 0.3430785834789276, 0.7438769936561584, 0.31568166613578796, 0.1245216652750969, 0.8482831120491028, 0.32496604323387146, 0.394543319940567, 1.0590252876281738, 0.05640583485364914, 0.8027774095535278, 0.5384768843650818, 0.03328654170036316, 0.35677018761634827, 0.33951547741889954, -0.20817358791828156, 0.762731671333313, -0.14255903661251068, -0.6168739199638367, -0.512944757938385, -0.134165421128273, -0.37135154008865356, 0.5114635229110718, 0.24848321080207825, -0.7555725574493408, -0.14356353878974915, 0.5643979907035828, -0.42625704407691956, 0.3316589295864105, -0.33037200570106506, 0.7508992552757263, -0.008918867446482182, -0.5309246182441711, 0.5316332578659058, -0.17506060004234314, 0.6342108249664307, -0.44729846715927124, -0.27299079298973083, 0.04302302747964859, 0.06583734601736069, -0.17381101846694946, -0.6182085871696472, 0.21559222042560577, 0.19997018575668335, -0.16872777044773102, 0.02675185352563858, 0.8290144205093384, -0.6447476148605347, -0.4121769666671753, 0.15223121643066406, 0.3703824281692505, -0.15848515927791595, -0.016662368550896645, -0.4821488559246063, 0.35266175866127014, 0.012045767158269882, -0.07546353340148926, 0.16326427459716797, 0.39695075154304504, 0.00990981049835682, 0.6160374879837036, 0.366524875164032, -0.13110452890396118, -0.16301453113555908, 0.15412162244319916, 0.9752038717269897, -0.926942765712738, -0.514277994632721, -1.0903761386871338, 0.4985073506832123, -0.20692960917949677, 0.002659399760887027, 0.6985206007957458, 0.5739825367927551, 0.8161835074424744, -0.2211129069328308, 1.0653059482574463, -0.05158694088459015, 0.18646374344825745, -0.8593873977661133, 0.19603189826011658, -0.6279429197311401, 0.1945856809616089, -0.7461330890655518, -1.1863489151000977, -0.38077911734580994, 0.704217791557312, -0.20769765973091125, 0.22843199968338013, 0.6411569714546204, 0.8834746479988098, -0.28302237391471863, 0.010489828884601593, 0.389055997133255, 0.1772622913122177, 0.2628557085990906, 0.2261970341205597, 0.9193224906921387, -0.8317897915840149, 0.9049549102783203, -0.1824190765619278, -0.11815132200717926, -0.514971137046814, -0.8100917935371399, -0.9441857933998108, -0.5485496520996094, -0.28825780749320984, -0.3138796389102936, 0.46343690156936646, 0.995323657989502, 0.7330867648124695, -0.31071847677230835, -0.07512671500444412, -0.3304401636123657, -0.10862209647893906, 0.03681226819753647, -0.24244576692581177, 0.49934762716293335, -0.1301000565290451, -0.6530551910400391, 0.528780460357666, 0.324001669883728, 0.41104656457901, -0.27474796772003174, -0.30031871795654297, -0.08782543241977692, -0.2429288625717163, 0.9181873202323914, 0.2893102169036865, -0.5710520148277283, -0.4382917881011963, 0.2686261832714081, 0.1458314210176468, 0.3359544575214386, 0.9184281229972839, -1.105711579322815, 0.4981445372104645, 0.7503710985183716, 1.0358296632766724, 0.7984223365783691, 0.4612881541252136, 0.5012327432632446, -0.9823294281959534, 0.054957084357738495, 0.07293540984392166, 0.22138121724128723, 0.6919702887535095, -0.22141529619693756, 0.3734118938446045, 0.3322218954563141, -0.39919427037239075, -0.9653024077415466, 0.23750543594360352, -0.8978351950645447, -0.11123958230018616, 1.104041337966919, 0.37213343381881714, -0.1406853348016739, 0.16545060276985168, -0.4414357841014862, 0.3419647514820099, -0.2109764814376831, 0.7542302012443542, 0.48148056864738464, 0.16025377810001373, -0.5792537331581116, -0.5304004549980164, 0.5572556257247925, 0.41461774706840515, -0.6820868849754333, 0.09076664596796036, 0.6469922661781311, -0.08139518648386002, -0.09095025807619095, 0.4820975661277771, -0.16547906398773193, 0.5169119238853455, -0.27161678671836853, -0.08244859427213669, -0.15443316102027893, -0.7614873647689819, -0.2820601761341095, 0.34573987126350403, -0.2016194611787796, 0.10353634506464005 ]
http://arxiv.org/abs/2404.05073v1
http://arxiv.org/pdf/2404.05073v1
QRscript: Embedding a Programming Language in QR codes to support Decision and Management
2024-04-07T21:02:55
2024-04-07T21:02:55
Stefano Scanzio, Gianluca Cena, Adriano Valenzano
cs.NI
cs.NI, cs.CL
Embedding a programming language in a QR code is a new and extremely promising opportunity, as it makes devices and objects smarter without necessarily requiring an Internet connection. In this paper, all the steps needed to translate a program written in a high-level programming language to its binary representation encoded in a QR code, and the opposite process that, starting from the QR code, executes it by means of a virtual machine, have been carefully detailed. The proposed programming language was named QRscript, and can be easily extended so as to integrate new features. One of the main design goals was to produce a very compact target binary code. In particular, in this work we propose a specific sub-language (a dialect) that is aimed at encoding decision trees. Besides industrial scenarios, this is useful in many other application fields. The reported example, related to the configuration of an industrial networked device, highlights the potential of the proposed technology, and permits to better understand all the translation steps.
[ -0.36863625049591064, -0.38359031081199646, 0.6691089272499084, -0.005037704017013311, -0.39074772596359253, 0.3466160297393799, 0.10600710660219193, -0.3642284572124481, 0.24456597864627838, 0.39381933212280273, -0.37345120310783386, -0.5366665124893188, -0.3095851540565491, 0.002560549881309271, -0.3623606264591217, 0.8161334991455078, -0.318080872297287, -0.11466558277606964, -0.10288428515195847, -0.10144893825054169, -0.3635982573032379, -0.8077307343482971, -0.6470382213592529, -0.3473495543003082, 0.2612740695476532, 0.35540497303009033, 0.8539189696311951, 0.7670575380325317, 0.5904272794723511, 0.2914751470088959, 0.26552531123161316, -0.33337369561195374, -0.08586333692073822, 0.11891678720712662, -0.3177817761898041, -0.6605338454246521, -0.3243910074234009, -0.5730968713760376, 0.5167273879051208, 0.167665034532547, -0.0717087984085083, 0.19266797602176666, -0.3367755711078644, 0.8168234825134277, -0.34836456179618835, 0.16243061423301697, -0.16562731564044952, 0.692439079284668, 0.03291398286819458, -0.3402833342552185, -0.12125083059072495, -0.6373286843299866, -0.06432275474071503, -0.3228054642677307, 0.013398523442447186, 0.1277848184108734, 0.4570441246032715, 0.07113761454820633, -0.42875924706459045, -0.14876709878444672, -1.2090752124786377, 0.7302678823471069, -0.5036866664886475, 0.4439222514629364, 0.20060715079307556, 0.9070016741752625, 0.043307285755872726, -1.020796537399292, -0.6696537733078003, 0.13861814141273499, 0.089190274477005, 0.004583681467920542, -0.35751259326934814, 0.20183803141117096, 0.2365492433309555, 0.006616842467337847, -0.25034692883491516, -0.06783117353916168, -0.4138147234916687, -0.10552512854337692, 0.2751598358154297, 0.3491155207157135, 0.08768031001091003, 0.14088523387908936, -0.17648746073246002, -0.18917080760002136, -0.3073100745677948, 0.17176271975040436, 0.12742887437343597, 0.2662758529186249, -0.06749815493822098, 0.7561845779418945, -0.5819185376167297, 0.32578572630882263, 0.07638461887836456, -0.07759823650121689, 0.17892421782016754, -0.3811942934989929, -0.34047961235046387, 0.30442652106285095, 0.699209451675415, 0.31161367893218994, 0.10727245360612869, 0.03118809312582016, -0.6434234976768494, 0.16984380781650543, 0.34371089935302734, -0.7483130097389221, -0.33909258246421814, 0.5449091196060181, -0.6084527373313904, -0.34644246101379395, -0.04055669903755188, -0.3458000719547272, -0.26003456115722656, -0.06418156623840332, 0.3337263762950897, -0.34333130717277527, -0.2820635735988617, 0.37187665700912476, -0.34597647190093994, 0.5581601858139038, 0.43464821577072144, -0.5878306031227112, 0.3569909334182739, 0.6574224829673767, 0.6123997569084167, 0.35561883449554443, 0.09251967817544937, -0.45759162306785583, 0.27224084734916687, -0.3395135700702667, 0.8220442533493042, -0.602388322353363, -0.5930070281028748, -0.036721862852573395, -0.1946733593940735, 0.2920604646205902, -0.521212637424469, 0.5580998063087463, -0.5934776663780212, -0.08052169531583786, 0.0987601950764656, -0.05552209913730621, -0.30876243114471436, 0.2379726767539978, -0.45497944951057434, 0.7164596915245056, 0.4150713384151459, -0.6248025894165039, 0.17591315507888794, -0.63934326171875, -0.7266537547111511, 0.22515279054641724, -0.5137695074081421, -0.7876651883125305, -0.13176696002483368, -0.09855398535728455, 0.2927209734916687, -0.3018273711204529, -0.0879780501127243, -0.21807235479354858, -0.2363121509552002, 0.5195474028587341, 0.06910523027181625, 0.5366501808166504, 0.3040972948074341, -0.21261490881443024, 0.26537996530532837, -0.2795366048812866, 0.5566361546516418, 0.08888188749551773, -0.4227278530597687, -0.01265625562518835, 0.3035062849521637, 0.25019344687461853, 0.34278860688209534, 0.41919440031051636, -0.5394196510314941, 0.16610576212406158, -0.056118953973054886, 0.5758571028709412, 0.28009212017059326, 0.041194938123226166, 0.33446693420410156, -0.32498109340667725, 0.9317415356636047, -0.12267766892910004, 0.6488845944404602, 0.06967297196388245, -0.29227912425994873, -0.5207358598709106, -0.005491429939866066, 0.27342718839645386, 0.6333358883857727, -0.844038724899292, 0.4292656481266022, 0.030419228598475456, -0.28532496094703674, -0.21909663081169128, -0.07982876896858215, 0.376839280128479, 0.15930087864398956, 0.14908507466316223, -0.3539591431617737, -0.9153527021408081, -0.9311558604240417, 0.22572501003742218, -0.28064653277397156, 0.15573367476463318, -0.03292477875947952, 0.23729802668094635, -0.451538622379303, 1.174567699432373, -0.3943963646888733, -0.3063308894634247, -0.5593949556350708, -0.39267587661743164, 0.383193701505661, 0.6949940323829651, 0.3841710686683655, -1.0761913061141968, -0.5788262486457825, 0.6451305747032166, -0.6707445979118347, 0.19450810551643372, 0.0019706718157976866, -0.20249246060848236, -0.14847132563591003, 0.6783812642097473, -0.4652084410190582, 0.351813405752182, 0.41700106859207153, -0.15703421831130981, 0.9433020353317261, -0.3490886986255646, 0.05925491824746132, -0.9518274664878845, -0.08087446540594101, -0.07460043579339981, -0.3390049636363983, -0.43906280398368835, 0.09601715207099915, 0.16174674034118652, -0.32854366302490234, -0.6280504465103149, 0.14380507171154022, -0.22527070343494415, -0.45983994007110596, -0.07121928036212921, -0.12315185368061066, 0.03513948619365692, 0.3774772584438324, 0.1118321344256401, 0.693715512752533, 0.8297243118286133, -0.6994720101356506, 0.6406579613685608, 0.1369466930627823, -0.15132029354572296, 0.4736405909061432, -0.6519405245780945, -0.07154477387666702, -0.08346199989318848, -0.028970427811145782, -0.4669094979763031, 0.15939123928546906, 0.3974352180957794, -0.5230076313018799, 0.03889733925461769, -0.454286128282547, -0.5930047035217285, -0.35610195994377136, -0.25121742486953735, 0.3715076744556427, 0.7692403793334961, -0.0577586367726326, 0.6450073719024658, 0.445233017206192, 0.12774619460105896, -0.21301396191120148, -0.6446629762649536, -0.01566733419895172, -0.38772156834602356, -0.2510608434677124, 0.230818971991539, 0.023530790582299232, -0.19494667649269104, 0.37637054920196533, -0.37498411536216736, -0.17431101202964783, -0.13244199752807617, 0.14776349067687988, -0.1540031135082245, -0.5647045969963074, 0.021640367805957794, 0.12710519134998322, -0.40934523940086365, -0.05183697119355202, -0.8784213066101074, 0.34961774945259094, -0.13396359980106354, -0.4507938027381897, -0.5395564436912537, 0.518505871295929, 0.741081178188324, -0.5945103168487549, 0.3269827663898468, 0.30614399909973145, -0.3376847803592682, -0.4329977333545685, 0.12631340324878693, 0.2538764476776123, -0.5987885594367981, 0.4554193317890167, -0.5410591959953308, -0.533635139465332, 0.4889947474002838, -0.5044065117835999, -0.10289210826158524, 0.13833709061145782, 0.38625359535217285, -0.2432868927717209, 1.3607312440872192, 0.9901552796363831, 0.24041444063186646, 0.9751211404800415, -0.31314876675605774, 0.46721911430358887, -0.7795253992080688, -0.30166327953338623, -0.6242745518684387, -0.05565181374549866, -0.4520728290081024, -0.5343047976493835, 0.5809330344200134, 0.4165920913219452, -0.3497680127620697, 0.46370887756347656, -0.5857284069061279, 0.4352410137653351, 0.6168285012245178, 0.011338535696268082, 0.06877116858959198, -0.016667440533638, -0.24970437586307526, 0.33441758155822754, -0.8687024712562561, -0.6864357590675354, 0.6562408804893494, 0.41209471225738525, 0.8118405938148499, 0.29811009764671326, 0.9037324786186218, 0.5398685932159424, -0.3144701421260834, -1.081787109375, 0.5318939089775085, -0.11012285202741623, -0.1683599054813385, -0.36384329199790955, -0.09363467246294022, -1.0049107074737549, 0.11225947737693787, -0.27833646535873413, -0.6872565150260925, 0.20326660573482513, 0.03871750459074974, -0.6075769066810608, 0.15552407503128052, -0.9913209080696106, 1.0025585889816284, -0.5549597144126892, -0.15563653409481049, -0.33244457840919495, -0.2664622366428375, -0.07052897661924362, -0.10799618065357208, 0.11979784071445465, 0.04596834257245064, 0.09766779094934464, 0.6964026093482971, -0.6018638610839844, 0.7410656809806824, -0.02918652631342411, 0.05022526904940605, 0.4211408197879791, 0.32964062690734863, 0.4233984351158142, -0.13241887092590332, -0.23879796266555786, -0.25050023198127747, 0.6050134301185608, -0.31415149569511414, -0.7031541466712952, 0.1090010553598404, -0.5599018931388855, -0.40792229771614075, -0.47386816143989563, -0.01016797311604023, -0.19784463942050934, 0.6686034202575684, -0.12975271046161652, 0.7864943146705627, -0.21347123384475708, 0.1902218461036682, 0.4964532256126404, -0.4467483460903168, 0.24519430100917816, 0.40806224942207336, -0.6878455877304077, -0.1768878847360611, 0.9527482986450195, -0.13727377355098724, 0.11123228073120117, 0.906497061252594, 0.3620797097682953, -0.476751446723938, -0.8451428413391113, -0.5042757987976074, -0.1322559118270874, -0.8123999238014221, -0.4396201968193054, -0.4794696867465973, -0.12689216434955597, -0.3386252224445343, -0.453989714384079, -0.27590590715408325, -0.47294387221336365, 0.11939767003059387, -0.12019182741641998, 0.5421479344367981, 0.7769095301628113, 0.06041089817881584, 0.5018191933631897, -1.0639655590057373, 0.42774635553359985, 0.20274420082569122, 0.6127703785896301, -0.052609968930482864, 0.25785350799560547, -0.8952024579048157, 0.0066866339184343815, -0.13212715089321136, -0.7555283308029175, 0.31083396077156067, 0.10272497683763504, 0.7484202980995178, 0.30479857325553894, 0.3431788980960846, 0.1366175413131714, -0.3422706723213196, 0.24985738098621368, 0.3482711613178253, -0.890779435634613, 0.6052860617637634, -0.35591280460357666, 0.27760007977485657, 0.3053843379020691, -0.04113784804940224, -0.7913110852241516, -0.25422000885009766, -0.4966500699520111, -0.5738518238067627, 0.6992955207824707, 0.001757706282660365, -0.13002406060695648, 0.10561742633581161, -0.029827609658241272, -0.12242596596479416, 0.35721591114997864, -0.44396477937698364, -0.12400367110967636, -0.23274464905261993, -0.14180497825145721, 0.18845725059509277, -0.05528789386153221, 0.004502666182816029, -0.13777482509613037, 0.2731388807296753, -0.031708162277936935, 0.5871644020080566, 0.09996455907821655, 0.15544794499874115, -0.04195626825094223, 0.1759311705827713, 0.1711956411600113, 0.3760199546813965, -0.060043685138225555, 0.2701018154621124, -0.2515273094177246, -0.45385217666625977, 0.06694821268320084, -0.3185756206512451, -0.16004617512226105, -0.20554667711257935, 0.06996424496173859, 0.6246713399887085, -0.20491628348827362, -0.8344928026199341, 0.2922719717025757, 0.0018002631841227412, 0.018804091960191727, -0.45019254088401794, 0.12910327315330505, 0.042308952659368515, 0.7106263041496277, 0.23419462144374847, 0.025034502148628235, 0.29349175095558167, -0.8029706478118896, 0.472444087266922, 0.2427966296672821, -0.29148682951927185, -0.23258477449417114, 0.5288721323013306, 0.27405887842178345, -0.5512495040893555, 0.263712078332901, -0.7213003635406494, -0.9454655051231384, 0.9818069934844971, 0.8083386421203613, 1.0906305313110352, 0.07041577249765396, 0.4916916489601135, 0.32720282673835754, 0.4358467161655426, 0.01759086735546589, 0.6246994137763977, -0.22635763883590698, -0.7830852270126343, -0.24764321744441986, -0.7075613141059875, -0.580603837966919, -0.7648554444313049, -0.3873976767063141, 0.24708448350429535, -0.9767006635665894, -0.2273532599210739, -0.24676024913787842, -0.1218872144818306, -0.6368517875671387, 0.22426027059555054, -0.0684465691447258, 0.6469374895095825, -0.4856104552745819, 1.343856692314148, 0.9375001192092896, -0.3757902979850769, -0.5472238063812256, -0.001444934168830514, -0.18999388813972473, -0.6377811431884766, 0.5991224646568298, -0.19524997472763062, -0.4492932856082916, 0.15396437048912048, -0.15300574898719788, -0.8563894629478455, 0.7742176055908203, 0.0033010730985552073, -0.46225064992904663, 0.3606395721435547, 0.2403937131166458, 0.5539371371269226, -0.20642423629760742, -0.03259187936782837, 0.4931238293647766, 0.37319570779800415, -0.038234442472457886, -0.882080078125, 0.2427215427160263, -0.15797150135040283, 0.07612383365631104, 0.5495029091835022, -0.4657549262046814, 0.9075930714607239, -0.41422194242477417, -0.6658453345298767, -0.23059995472431183, 0.4927749037742615, -0.22899062931537628, 0.2176073044538498, 0.05397984758019447, 0.1036771759390831, 0.5207018852233887, 0.2007179707288742, 1.0757330656051636, -0.22812911868095398, 0.1951291412115097, 0.6552180051803589, -0.158790722489357, 0.886728048324585, 0.3086549937725067, -0.4702388644218445, 0.4656580984592438, 0.40489518642425537, 0.17188449203968048, 0.5970460176467896, -0.014612795785069466, -0.4916992783546448, -0.05598682910203934, -0.040876567363739014, -0.23306982219219208, 0.22713740170001984, 0.6236938834190369, -0.038628239184617996, -0.18577297031879425, -0.020888229832053185, -0.3964163064956665, 0.016714956611394882, -0.45734381675720215, 0.7282019853591919, 0.09437988698482513, -0.121658556163311, 0.4149009883403778, 0.4044365882873535, 0.5138795971870422, -0.678155243396759, -0.155734121799469, 0.06663282960653305, 0.28236451745033264, -0.5283213257789612, -1.1550788879394531, 0.6255170702934265, -0.1988460272550583, -0.07785897701978683, -0.28150996565818787, 0.4751717150211334, -0.22307975590229034, -0.3400059640407562, 0.1426292508840561, 0.45682138204574585, 0.21906006336212158, 0.10825768113136292, -0.7738879919052124, 0.20595288276672363, 0.18728476762771606, 0.3365289270877838, 0.2728102505207062, 0.9976076483726501, -0.23983652889728546, 0.7266183495521545, 0.571955680847168, -0.06938890367746353, 0.06359018385410309, -0.14225715398788452, 0.6101006865501404, -0.9681228995323181, -0.8378130793571472, -0.3815777897834778, 0.28106212615966797, 0.3104900121688843, 0.11347927898168564, 0.7936697006225586, 0.7391488552093506, 0.8919721245765686, -0.03367072343826294, 1.3402791023254395, -0.45023179054260254, 0.08094990253448486, -0.6012467741966248, 0.40928947925567627, -0.21334803104400635, 0.12239758670330048, -0.13822586834430695, -0.6621407866477966, -0.3514341711997986, 0.7298624515533447, -0.22589366137981415, -0.047476474195718765, 0.8183351755142212, 0.7269148826599121, -0.07717398554086685, -0.3017471134662628, 0.49885138869285583, -0.21313022077083588, 0.36876603960990906, 0.6739321351051331, 0.7194002270698547, -0.2065170407295227, 0.6291884183883667, -0.38062605261802673, -0.08327788859605789, -0.39206987619400024, -0.8742249011993408, -0.4741585850715637, -0.5561926960945129, -0.4407775402069092, -0.3257080912590027, -0.13586121797561646, 0.8801619410514832, 0.33367836475372314, -0.7829388380050659, -0.47478368878364563, -0.10644741356372833, 0.5101078748703003, -0.6997948288917542, -0.08383367210626602, 0.28850385546684265, -0.01650499552488327, -0.5286160707473755, 0.14683371782302856, 0.24672503769397736, 0.33431476354599, -0.21701619029045105, -0.32523247599601746, 0.25955721735954285, -0.22461435198783875, 0.7849847078323364, 0.7968857884407043, -0.23120315372943878, -0.30493417382240295, -0.12660855054855347, -0.04913860186934471, 0.20643967390060425, 1.0876606702804565, -0.8460249304771423, 0.6339902281761169, 0.649535059928894, 0.5333528518676758, 0.5736843943595886, -0.10965429246425629, 0.7237913012504578, -0.5143460035324097, 0.08113013207912445, 0.36769574880599976, 0.2497696876525879, 0.18090520799160004, -0.346989244222641, 0.12764772772789001, -0.10403641313314438, -0.043816834688186646, -0.532735288143158, 0.5521402359008789, -1.0593100786209106, -0.25815725326538086, 0.9791803956031799, 0.3068813979625702, -0.28960737586021423, -0.6301954984664917, -0.6271688938140869, 0.28501367568969727, -0.470082551240921, 0.3154074251651764, -0.0028139979112893343, -0.4527144432067871, -0.21694278717041016, -0.570137083530426, 0.42634832859039307, -0.11749467998743057, -0.5132064819335938, 0.11160589754581451, 0.26671701669692993, -0.06545178592205048, 0.13042926788330078, 1.0150352716445923, -0.26774686574935913, 0.32070988416671753, 0.5011264681816101, 0.6236287355422974, -0.05877743288874626, -0.1358785182237625, -0.38689175248146057, -0.024244291707873344, 0.5845431089401245, -0.5307665467262268 ]
http://arxiv.org/abs/2404.05046v1
http://arxiv.org/pdf/2404.05046v1
FGAIF: Aligning Large Vision-Language Models with Fine-grained AI Feedback
2024-04-07T19:00:45
2024-04-07T19:00:45
Liqiang Jing, Xinya Du
cs.CV
cs.CV, cs.CL
Large Vision-Language Models (LVLMs) have demonstrated proficiency in tackling a variety of visual-language tasks. However, current LVLMs suffer from misalignment between text and image modalities which causes three kinds of hallucination problems, i.e., object existence, object attribute, and object relationship. To tackle this issue, existing methods mainly utilize Reinforcement Learning (RL) to align modalities in LVLMs. However, they still suffer from three main limitations: (1) General feedback can not indicate the hallucination type contained in the response; (2) Sparse rewards only give the sequence-level reward for the whole response; and (3)Annotation cost is time-consuming and labor-intensive. To handle these limitations, we propose an innovative method to align modalities in LVLMs through Fine-Grained Artificial Intelligence Feedback (FGAIF), which mainly consists of three steps: AI-based Feedback Collection, Fine-grained Reward Model Training, and Reinforcement Learning with Fine-grained Reward. Specifically, We first utilize AI tools to predict the types of hallucination for each segment in the response and obtain a collection of fine-grained feedback. Then, based on the collected reward data, three specialized reward models are trained to produce dense rewards. Finally, a novel fine-grained feedback module is integrated into the Proximal Policy Optimization (PPO) algorithm. Extensive experiments are conducted on hallucination and general benchmarks, demonstrating the superior performance of our proposed method. Notably, compared with previous models trained with the RL-based aligning method, our proposed method is effective even with fewer parameters.
[ -0.48295795917510986, -0.8990834951400757, 0.453425794839859, 0.0808304101228714, -0.16357946395874023, -0.37732169032096863, -0.46735185384750366, -0.4892541766166687, 0.05262167006731033, 0.4431040585041046, -0.6514129638671875, -0.25141292810440063, -0.2142554372549057, -0.11279360949993134, 0.010841524228453636, 0.9034762978553772, -0.14238370954990387, 0.22483184933662415, -0.20952266454696655, -0.20898392796516418, -0.585960865020752, -0.22956427931785583, -0.7023917436599731, -0.439284086227417, 0.6500453352928162, 0.3168356120586395, 0.8833758234977722, 0.5986716747283936, 0.7781531810760498, 0.3333583474159241, 0.18952296674251556, 0.6715085506439209, -0.3619616627693176, -0.27886831760406494, -0.2240825742483139, -0.15989184379577637, -0.3242496848106384, -0.31464695930480957, 0.4290062487125397, 0.42774471640586853, -0.3115125000476837, -0.23000191152095795, 0.20133943855762482, 0.6067657470703125, -0.7631283402442932, 0.21921661496162415, -0.4945273697376251, 0.36860764026641846, 0.0011883246479555964, -0.3036009967327118, -0.31825941801071167, -0.3210775554180145, 0.09118880331516266, -0.8250460028648376, -0.03244172781705856, 0.12800264358520508, 0.9761666655540466, 0.7644902467727661, 0.038961805403232574, -0.05202903598546982, -0.777571976184845, 0.9217537641525269, -0.6912076473236084, 0.28232061862945557, 0.4584065079689026, 0.42630714178085327, -0.0726667270064354, -0.24929599463939667, -0.6871579885482788, -0.39553511142730713, -0.1973722279071808, -0.03538786247372627, 0.15713642537593842, 0.18656013906002045, -0.005510314833372831, 0.28921371698379517, -0.5066941380500793, 0.473480224609375, -0.17609834671020508, -0.2660481035709381, 0.7627398371696472, 0.3465309739112854, -0.09050196409225464, 0.17032411694526672, -0.4742145538330078, -0.31437787413597107, -0.26362136006355286, 0.15191985666751862, 0.06534339487552643, 0.5537013411521912, 0.14272330701351166, 0.6541978120803833, -0.27974027395248413, 0.9008048176765442, 0.3627811670303345, -0.16139458119869232, 0.31819844245910645, -0.26916739344596863, -0.36067095398902893, 0.1803625524044037, 0.9897177219390869, 0.656549870967865, 0.30188891291618347, -0.18861883878707886, -0.6106114983558655, 0.10296259820461273, 0.42666131258010864, -0.7529359459877014, 0.037191011011600494, 0.2477528303861618, -0.49119505286216736, -0.5570494532585144, 0.050922222435474396, -0.8929886817932129, -0.6288862824440002, -0.42586225271224976, 0.882603108882904, -0.3757138252258301, -0.04736132174730301, 0.01320088841021061, 0.26774972677230835, 0.409643292427063, 0.5079444050788879, -1.3175711631774902, 0.10953211039304733, 0.7234720587730408, 0.7940345406532288, -0.15610741078853607, -0.5863077044487, -1.079895257949829, -0.018364664167165756, -0.3532307744026184, 0.6319775581359863, -0.6942660808563232, -0.021727897226810455, 0.295369029045105, 0.11316914856433868, 0.08929112553596497, -0.723533034324646, 0.23112615942955017, -0.21048730611801147, -0.011444024741649628, -0.1056385487318039, -0.2722167670726776, -0.103661447763443, 0.494802862405777, -0.4747874438762665, 0.840736448764801, 0.2330584079027176, -0.49416619539260864, 0.18327169120311737, -0.3050406277179718, -0.22223469614982605, 0.05473020300269127, -0.5610450506210327, -0.49162614345550537, 0.17676346004009247, 0.4272579252719879, 0.5821292996406555, -0.16442912817001343, 0.6096518635749817, -0.30779340863227844, -0.5788783431053162, 0.20224784314632416, -0.4528282880783081, 0.1120937243103981, 0.14064013957977295, -0.6840797066688538, 0.6073933839797974, -0.6895880699157715, -0.16369564831256866, -0.015547486953437328, -0.08430610597133636, -0.16864259541034698, 0.2878097891807556, 0.16262474656105042, 0.052075229585170746, 0.17530155181884766, -0.2855270802974701, 0.4183758795261383, -0.4733890891075134, 0.30939552187919617, 0.9717367887496948, -0.2937052249908447, 0.5537139177322388, -0.32931041717529297, 0.2486061304807663, 0.04911602661013603, 0.39020922780036926, 0.09901229292154312, -0.050056055188179016, -0.7310743927955627, -0.03262322023510933, 0.10072695463895798, 0.5837006568908691, -0.9173544645309448, 0.4238371253013611, -0.13795138895511627, -0.28474554419517517, -0.5629105567932129, 0.023348867893218994, 0.5216087698936462, 0.46567919850349426, 0.48789528012275696, -0.3143504559993744, -0.2079235017299652, -0.9035874605178833, 0.22723732888698578, -0.10649269819259644, 0.013343707658350468, 0.3326266407966614, 0.32152053713798523, -0.3919593095779419, 0.6801331639289856, -0.47247618436813354, -0.9237099885940552, 0.14758841693401337, 0.08190608769655228, -0.2706022262573242, 0.6547839045524597, 0.41751185059547424, -0.7384811639785767, 0.03617246076464653, 0.48114916682243347, -0.6042234897613525, -0.0103373471647501, -0.25261083245277405, -0.035715892910957336, 0.43470966815948486, 0.5700154304504395, -0.46007388830184937, 0.36018142104148865, 0.44463950395584106, -0.285163551568985, 0.37460437417030334, -0.20767556130886078, 0.02702348120510578, -0.6735108494758606, -0.019512860104441643, 0.07375774532556534, -0.15670309960842133, -0.34761732816696167, -0.011164197698235512, -0.1821001172065735, 0.040157802402973175, -0.42801401019096375, 0.7231210470199585, -0.09273558855056763, 0.020967233926057816, -0.34298187494277954, 0.09991199523210526, -0.18061552941799164, 0.9186415672302246, 0.31565985083580017, 0.6218187212944031, 0.3299713432788849, -0.5999950766563416, 0.39938485622406006, 0.11536965519189835, -0.1880359947681427, 0.7087438702583313, -0.457737535238266, -0.21109670400619507, -0.17808526754379272, 0.051095008850097656, -0.5545555949211121, -0.4118863344192505, 0.5379718542098999, -0.1779053509235382, 0.2696835994720459, 0.2541053593158722, -0.0430687740445137, -0.12395098060369492, -0.30058467388153076, 0.4774688184261322, 0.20021937787532806, -0.599286675453186, 0.7850125432014465, 0.23377707600593567, 0.14971086382865906, -0.7699028253555298, -0.6235443949699402, -0.31577417254447937, -0.08534637838602066, -0.36520978808403015, 0.519935667514801, -0.10953544080257416, -0.14605426788330078, 0.14911285042762756, -0.12012482434511185, 0.025889968499541283, 0.0021583125926554203, 0.26919037103652954, 0.32069870829582214, -0.27154576778411865, 0.05857779085636139, -0.3076971173286438, -0.09063689410686493, -0.23833021521568298, -0.3684435784816742, 0.6213146448135376, -0.4251560866832733, -0.4094076156616211, -0.5694332718849182, 0.26673850417137146, 0.5060633420944214, -0.4623492658138275, 0.5881068110466003, 1.0605989694595337, -0.49856093525886536, -0.20887848734855652, -0.516183614730835, -0.34233811497688293, -0.46452608704566956, 0.5358777642250061, -0.13427942991256714, -1.0135550498962402, 0.22910024225711823, 0.2386266142129898, 0.14157481491565704, 0.3099706768989563, 0.5985203385353088, 0.12001604586839676, 1.2498449087142944, 0.5603769421577454, -0.08656754344701767, 0.6082091331481934, -0.18720315396785736, 0.3116263747215271, -0.631978452205658, -0.7281743288040161, -0.26918500661849976, -0.5211381912231445, -0.35086873173713684, -0.49260401725769043, -0.0033309420105069876, 0.15706881880760193, -0.3291473388671875, -0.07533562928438187, -0.7723018527030945, 0.44051089882850647, 0.5115472674369812, 0.17159503698349, -0.06658998131752014, 0.10213212668895721, 0.07804375886917114, 0.11210265010595322, -0.5342093110084534, -0.2881038188934326, 0.5632036924362183, 0.32925963401794434, 0.9369979500770569, -0.18094515800476074, 0.6538219451904297, 0.16954125463962555, 0.10957635194063187, -1.0936610698699951, 0.5683587789535522, -0.3465832769870758, 0.017482273280620575, -0.5736095309257507, -0.3371799886226654, -0.6500293016433716, 0.22230735421180725, -0.35825639963150024, -0.8947445154190063, 0.3963001072406769, 0.3721197247505188, -0.7946299910545349, 0.15165886282920837, -0.3698021471500397, 1.0601482391357422, -0.5678061842918396, -0.7040373682975769, -0.035423267632722855, -0.5777477622032166, 0.27131131291389465, 0.0195483285933733, 0.12831836938858032, 0.010420126840472221, 0.16400079429149628, 0.5142671465873718, -0.6867207884788513, 0.8370152115821838, -0.4526859521865845, -0.24807295203208923, -0.019999166950583458, -0.06285355240106583, 0.6074970364570618, 0.06137891858816147, 0.30011647939682007, -0.09966588765382767, -0.00006466427294071764, -0.18671204149723053, -0.6159605383872986, 0.7491687536239624, -0.7461270689964294, -0.4586033225059509, -0.4544449746608734, -0.7116690278053284, -0.24476779997348785, 0.11452741920948029, 0.1341288983821869, 0.5566943883895874, -0.06213673949241638, 0.12391099333763123, 0.6492596864700317, -0.14680281281471252, 0.47427183389663696, 0.29282575845718384, -0.5380557179450989, -0.655005931854248, 1.3836584091186523, -0.14113156497478485, 0.03316983953118324, 0.5183947682380676, 0.2631056606769562, -0.12623564898967743, -0.5663145184516907, -0.44862738251686096, 0.03138607740402222, -0.3769887089729309, -0.4154059886932373, -0.2409428209066391, -0.2885820269584656, -0.16657456755638123, -0.4626333713531494, -0.44682949781417847, -0.023090898990631104, -0.4056890606880188, 0.30218079686164856, 0.13546901941299438, 0.4038424789905548, -0.10048603266477585, 0.39030715823173523, -0.6522250175476074, 0.4013146460056305, 0.4162162244319916, 0.49474090337753296, 0.1588805764913559, -0.207830548286438, -0.2581213116645813, 0.2147562950849533, -0.2052282989025116, -0.4298354685306549, 0.25046712160110474, 0.21996308863162994, 0.27884918451309204, 0.7822169661521912, 0.03600560873746872, 1.070783019065857, -0.5044571757316589, 0.7930888533592224, 0.31523001194000244, -0.7777358889579773, 0.4658246338367462, -0.11501114070415497, 0.043268125504255295, 0.6736243367195129, 0.016157807782292366, -0.35891634225845337, -0.2593574821949005, -0.20751610398292542, -0.813725471496582, 0.8409750461578369, 0.023131825029850006, -0.06992127001285553, 0.0610601082444191, 0.2857867181301117, 0.011346384882926941, 0.10042128711938858, -0.7123816609382629, 0.20576117932796478, -0.3385571539402008, -0.49340909719467163, -0.0780491903424263, 0.04170091077685356, -0.2801474928855896, -0.32084110379219055, 0.7832485437393188, -0.4328767657279968, 0.15768545866012573, 0.34037625789642334, -0.06804133951663971, -0.21380630135536194, -0.011739671230316162, 0.9857080578804016, 0.3868097960948944, -0.24483853578567505, 0.09775020182132721, -0.13136593997478485, -0.29881566762924194, 0.165106400847435, 0.22166363894939423, -0.27234572172164917, -0.19547995924949646, 0.24753698706626892, 1.1705117225646973, 0.10439201444387436, -0.7905002236366272, 0.6619100570678711, -0.0681065246462822, -0.4047727882862091, -0.33563530445098877, 0.30108362436294556, -0.39267364144325256, 0.8009364604949951, 0.16971610486507416, 0.19004441797733307, -0.17116327583789825, -0.4263090491294861, 0.15233054757118225, 0.7619143724441528, -0.6970938444137573, -0.06759289652109146, 0.8094836473464966, 0.12355579435825348, -0.4969785213470459, 0.6028908491134644, -0.20353731513023376, -0.4589483439922333, 0.5256834030151367, 0.4821101725101471, 0.8024094104766846, -0.1392136812210083, 0.47310248017311096, 0.2994596064090729, 0.2063675820827484, -0.41109710931777954, 0.1297507882118225, -0.05312187969684601, -0.6448409557342529, -0.42396280169487, -0.94980388879776, -0.1577434241771698, 0.39238348603248596, -0.5755753517150879, 0.21263176202774048, -0.40487539768218994, -0.08437103033065796, 0.022365905344486237, -0.0432918481528759, -0.4720219671726227, 0.22462570667266846, 0.39098238945007324, 0.5795257687568665, -0.8385927677154541, 0.6914731860160828, 0.541752278804779, -0.6381007432937622, -0.9520081281661987, 0.14265945553779602, -0.06714550405740738, -0.8256221413612366, 0.49529698491096497, 0.44878247380256653, -0.21837164461612701, -0.035345274955034256, -0.5482591986656189, -0.6255216598510742, 0.9888620972633362, 0.1449885070323944, -0.7926779389381409, -0.18113106489181519, 0.06792385131120682, 0.3952793478965759, -0.4889460802078247, -0.0611855573952198, 0.49532416462898254, 0.6406601667404175, 0.13582471013069153, -0.7767188549041748, 0.0358453132212162, -0.2048594057559967, 0.28946974873542786, 0.40455785393714905, -0.7805556654930115, 0.5500836968421936, -0.11584299802780151, 0.14650574326515198, 0.2492644190788269, 0.6997320055961609, 0.21714496612548828, 0.41841933131217957, 0.5997505187988281, 0.6679960489273071, 0.6311643123626709, -0.20377151668071747, 0.7092952132225037, 0.0619664266705513, 0.26404550671577454, 1.0160114765167236, -0.24220889806747437, 0.9482956528663635, 0.81802898645401, 0.07715149223804474, 0.19254595041275024, 0.7118837237358093, -0.32305726408958435, 0.8107149004936218, 0.16102002561092377, -0.0222795233130455, -0.20957031846046448, -0.40060532093048096, -0.2918633222579956, 0.5381948947906494, 0.1696290820837021, -0.14968819916248322, 0.02953789383172989, 0.30458778142929077, -0.2566710114479065, 0.0070229824632406235, -0.5503469109535217, 0.8168004155158997, -0.15522660315036774, -1.093247890472412, 0.7601990699768066, -0.1568833291530609, 0.7255528569221497, -0.5678198933601379, -0.10224522650241852, -0.33402785658836365, 0.5544014573097229, -0.4405770003795624, -0.463360071182251, 0.31384122371673584, -0.18996043503284454, -0.130612313747406, 0.06324436515569687, 0.3392403721809387, -0.7678109407424927, -0.42276012897491455, 0.17015323042869568, -0.042985156178474426, -0.11064284294843674, -0.04398595541715622, -0.44151070713996887, 0.3760897219181061, 0.06881831586360931, -0.05405760556459427, 0.34512922167778015, 0.2651069462299347, -0.2963477671146393, 0.36391881108283997, 0.3967880606651306, 0.14168892800807953, -0.14278678596019745, 0.20998577773571014, 0.7184848189353943, -0.4357687830924988, -0.28103381395339966, -0.9895421266555786, 0.4359716773033142, 0.030376870185136795, -0.2256365567445755, 0.1898176670074463, 0.3077905774116516, 0.9710125923156738, -0.04424498975276947, 0.3718581795692444, -0.03198856860399246, -0.2141195386648178, -0.8554319739341736, 0.43195652961730957, -0.9784699082374573, 0.1735178530216217, -0.33530062437057495, -1.1622964143753052, -0.44868794083595276, 0.9614401459693909, -0.09254980087280273, -0.17526651918888092, 0.5977555513381958, 1.0530153512954712, -0.08476592600345612, -0.22049418091773987, 0.17731249332427979, 0.021110117435455322, 0.20049059391021729, 0.7331547737121582, 0.878578245639801, -0.1721150130033493, 0.5646661520004272, -0.47971513867378235, -0.1051458790898323, -0.5357394814491272, -0.7028248310089111, -0.6374968886375427, -0.7107601761817932, -0.362110435962677, -0.22792354226112366, -0.052979134023189545, 0.8752843737602234, 0.616434633731842, -0.8589422106742859, -0.07150836288928986, -0.3295484781265259, -0.15453875064849854, -0.47732117772102356, -0.25448286533355713, 0.4412553012371063, -0.5588759779930115, -0.7176668643951416, 0.17436981201171875, 0.45528286695480347, 0.10675729066133499, -0.4508572518825531, -0.5583657622337341, 0.03752211108803749, -0.05262886360287666, 0.5443243980407715, 0.29877692461013794, -1.1816414594650269, -0.5464509725570679, -0.09515799582004547, -0.0844016820192337, 0.038406774401664734, 0.6403405070304871, -0.7779932022094727, 0.4080888032913208, 0.28469276428222656, 1.0305906534194946, 0.2522408068180084, 0.0655101016163826, 0.44129037857055664, -0.5868125557899475, 0.358943909406662, 0.32968971133232117, 0.26810526847839355, 0.3206460773944855, -0.3421647846698761, 0.41292688250541687, -0.09158118069171906, -0.6698213815689087, -0.9682286381721497, 0.1825743317604065, -1.128583312034607, -0.3075309991836548, 0.9997191429138184, 0.2515204846858978, -0.41415396332740784, 0.37977463006973267, -0.5519018173217773, 0.16746695339679718, -0.1890297532081604, 0.8921341896057129, 0.46582621335983276, -0.03185337781906128, -0.23114652931690216, -0.3925561010837555, 0.7279987335205078, 0.6832231879234314, -0.7329074144363403, 0.08837801963090897, 0.8351539969444275, -0.2413185089826584, 0.2965222895145416, 0.5326655507087708, 0.0431901179254055, 0.2884894907474518, -0.21816620230674744, -0.06742687523365021, -0.25181102752685547, -0.666816771030426, -0.5280877947807312, 0.195784330368042, 0.09966783970594406, -0.42641526460647583 ]
http://arxiv.org/abs/2404.05019v1
http://arxiv.org/pdf/2404.05019v1
Shortcut-connected Expert Parallelism for Accelerating Mixture-of-Experts
2024-04-07T17:17:23
2024-04-07T17:17:23
Weilin Cai, Juyong Jiang, Le Qin, Junwei Cui, Sunghun Kim, Jiayi Huang
cs.LG
cs.LG, cs.CL, cs.DC
Expert parallelism has been introduced as a strategy to distribute the computational workload of sparsely-gated mixture-of-experts (MoE) models across multiple computing devices, facilitating the execution of these increasingly large-scale models. However, the All-to-All communication intrinsic to expert parallelism constitutes a significant overhead, diminishing the MoE models' efficiency. Current optimization approaches offer some relief, yet they are constrained by the sequential interdependence of communication and computation operations. To address this limitation, we present a novel shortcut-connected MoE architecture with overlapping parallel strategy, designated as ScMoE, which effectively decouples communication from its conventional sequence, allowing for a substantial overlap of 70% to 100% with computation. When compared with the prevalent top-2 MoE architecture, ScMoE demonstrates training speed improvements of 30% and 11%, and inference improvements of 40% and 15%, in our PCIe and NVLink hardware environments, respectively, where communication constitutes 60% and 15% of the total MoE time consumption. On the other hand, extensive experiments and theoretical analyses indicate that ScMoE not only achieves comparable but in some instances surpasses the model quality of existing approaches in vision and language tasks.
[ -0.590363621711731, -0.7556429505348206, 0.7206854820251465, 0.34305715560913086, -0.47212472558021545, 0.22839191555976868, -0.29772475361824036, -0.5531249046325684, 0.5057240724563599, 0.1113286167383194, -0.6168984770774841, 0.04748820886015892, -0.8888755440711975, -0.0037488790694624186, 0.006939489394426346, 0.4300512671470642, -0.015017936937510967, -0.17862682044506073, -0.6987426280975342, -0.18345746397972107, -0.5846537351608276, -0.05373724177479744, -0.42257410287857056, 0.028864184394478798, 0.4214501678943634, 0.5795859694480896, 0.6642112135887146, 1.0095783472061157, 0.5844487547874451, 0.3451869785785675, 0.12363694608211517, 0.367899626493454, -0.5135079622268677, 0.22642837464809418, -0.4449712336063385, -0.3498830795288086, -0.5818421244621277, -0.26498958468437195, 0.42853638529777527, 0.7171539068222046, -0.24815115332603455, -0.03210705146193504, 0.0576310008764267, 0.6478908658027649, -0.9974116086959839, 0.15948174893856049, -0.7789252400398254, -0.3812576234340668, -0.5831447243690491, -0.28395789861679077, -0.18808256089687347, 0.06161998584866524, 0.22422225773334503, -0.5842896103858948, 0.008802658878266811, -0.027471086010336876, 0.3437751829624176, 0.45322734117507935, -0.41432082653045654, -0.08652949333190918, -0.5390620827674866, 0.8488427996635437, -0.5982217788696289, 0.20618365705013275, 0.012229213491082191, 0.5995749831199646, -0.03047037497162819, -0.44683316349983215, -0.33156052231788635, 0.21584048867225647, 0.2995666265487671, 0.31797948479652405, -0.2854697108268738, 0.27873289585113525, 0.027252336964011192, 0.14813940227031708, -0.21173438429832458, 0.22748662531375885, -0.6693423390388489, 0.04356549307703972, 0.7455132007598877, 0.30841290950775146, -0.08867917209863663, 0.17431914806365967, -0.5361261367797852, 0.20206104218959808, -0.5534486770629883, -0.13307924568653107, 0.20028993487358093, -0.1062982827425003, 0.13537323474884033, 0.2464553713798523, -0.7397511005401611, 0.8268887400627136, 0.07246152311563492, -0.08979053795337677, 0.13772666454315186, -0.21938256919384003, -0.07826625555753708, -0.11206889152526855, 0.8089860081672668, 0.528447687625885, -0.09029076248407364, -0.30769336223602295, -0.0637274906039238, 0.06458301097154617, 0.21902400255203247, -0.9052899479866028, -0.30152907967567444, 0.09322900325059891, -0.3005085587501526, -0.2999301254749298, -0.08014487475156784, -0.7655713558197021, -0.06958118081092834, -0.08327390253543854, 0.5697863698005676, -0.0851789340376854, -0.37128394842147827, 0.2255008965730667, -0.235556960105896, -0.35959482192993164, 0.2535281479358673, -1.022276520729065, 0.4153585731983185, 0.6838858127593994, 0.8243520855903625, -0.3045901954174042, -0.2768075466156006, -0.5404720902442932, 0.48207011818885803, -0.20848630368709564, 0.7698260545730591, -0.73725426197052, -0.6265755295753479, -0.565826416015625, -0.4082401394844055, -0.39045897126197815, -0.507914662361145, 0.3302648961544037, -0.4196215569972992, 0.004705002065747976, -0.17299287021160126, -0.579645574092865, -0.15721984207630157, 0.05590515956282616, -0.24367375671863556, 0.9872351288795471, -0.22078795731067657, -0.773838460445404, -0.032378338277339935, -0.8264167308807373, -0.28113123774528503, -0.05654304474592209, -0.48676586151123047, -0.14031265676021576, 0.34624817967414856, 0.3596968650817871, 0.6430416107177734, -0.4818810522556305, 0.13016444444656372, -0.7524630427360535, -0.5132631659507751, -0.2272409200668335, -0.4189243018627167, 0.45859745144844055, 0.20501621067523956, -0.4246477782726288, 0.04155650734901428, -0.7060108780860901, -0.014996261335909367, 0.011156228370964527, -0.01974404789507389, -0.5312359929084778, 0.1732579618692398, -0.3883882462978363, 0.36581674218177795, 0.46480727195739746, -0.6063457131385803, 0.41879764199256897, -0.20044900476932526, 0.6356071829795837, 0.9607003331184387, 0.05233464017510414, 0.47107192873954773, -0.2148592323064804, 0.3018249273300171, 0.18355639278888702, 0.4800877869129181, -0.1942383199930191, -0.8017527461051941, -0.6173081398010254, -0.6677214503288269, 0.12176301330327988, 0.6666074395179749, -0.9557402729988098, 0.24620497226715088, -0.6071836948394775, -0.6360861659049988, -0.6689610481262207, 0.1564664989709854, 0.578725278377533, 0.5237579941749573, 0.40864622592926025, -0.496807336807251, -0.04855279624462128, -1.3659074306488037, -0.3823321759700775, 0.14394304156303406, -0.1471499651670456, 0.6289627552032471, 0.17175330221652985, -0.05235689505934715, 0.9392399787902832, -0.6498764157295227, -0.024323245510458946, 0.04036315903067589, 0.22330214083194733, 0.041118744760751724, 0.668356716632843, 0.6867417097091675, -0.4642197787761688, -0.6237290501594543, 0.10900869965553284, -0.6836957335472107, -0.2197544425725937, 0.05751045420765877, -0.43904680013656616, -0.3426159918308258, 0.33902132511138916, -0.7739578485488892, 0.34934598207473755, 0.42933687567710876, 0.3031061887741089, 0.3269455134868622, -0.1290515810251236, 0.25346091389656067, -1.1958696842193604, -0.35929498076438904, -0.360857754945755, -0.08525026589632034, -0.5332642793655396, 0.2204095423221588, -0.00008864723349688575, -0.030288347974419594, -0.4952978491783142, 0.38730451464653015, -0.5692682266235352, -0.23352977633476257, -0.5710506439208984, 0.04705945402383804, -0.08938416838645935, 0.6327780485153198, -0.02658579684793949, 0.9111931324005127, 1.021011471748352, -0.27249664068222046, 0.12909658253192902, -0.1120486855506897, -0.12808240950107574, 0.5205948352813721, -0.802614688873291, 0.29466861486434937, 0.16348521411418915, 0.014748706482350826, -0.5641725659370422, -0.25349846482276917, 0.17194749414920807, -0.30682387948036194, 0.05389869958162308, -0.03867235407233238, -0.42453533411026, -0.2340269535779953, -0.22773602604866028, 1.0927507877349854, 0.6426748037338257, -0.28018853068351746, 1.001469373703003, 0.17548376321792603, -0.3891962468624115, -0.5231935977935791, -0.46466031670570374, 0.1025514230132103, 0.009562181308865547, -1.0996818542480469, 0.4137633740901947, -0.08596660941839218, -0.11463350057601929, 0.052281707525253296, -0.277437686920166, -0.34905749559402466, 0.15987740457057953, 0.15324972569942474, 0.12325718253850937, -0.19619008898735046, -0.2816496789455414, 0.643971860408783, -0.09043297916650772, -0.009768436662852764, -0.24910207092761993, 0.2831825017929077, 0.03226105123758316, -0.6714329719543457, -0.8021737933158875, 0.8359747529029846, 0.762382984161377, -0.2786514163017273, 0.6059243679046631, 0.2351280152797699, -0.17362824082374573, -0.0322229228913784, -0.8267757892608643, -0.36761757731437683, -0.5527579188346863, 0.40411460399627686, -0.3243682384490967, -0.7770602703094482, 0.3737107515335083, -0.24992792308330536, 0.06850245594978333, 0.25479820370674133, 0.324480265378952, -0.26588404178619385, 1.037979006767273, 0.5577921271324158, -0.18575334548950195, 0.5248239636421204, -0.10853966325521469, 0.23435518145561218, -0.4541730284690857, -0.07408203929662704, -0.1813563108444214, -0.39188504219055176, -0.2552000880241394, -0.8187130093574524, 0.6936681866645813, 0.3844977617263794, 0.10373997688293457, 0.1508997529745102, -0.3208893835544586, 0.6911065578460693, 0.7469343543052673, 0.3806591033935547, 0.10793802887201309, -0.01021590270102024, -0.06692010909318924, 0.10741919279098511, -1.1087042093276978, -0.02745022438466549, 1.0299427509307861, 0.1275901347398758, 0.4070626199245453, -0.3411897122859955, 0.834886908531189, 0.22938385605812073, 0.11153052002191544, -0.4601716995239258, 0.7217468023300171, 0.027235614135861397, -0.4336506128311157, 0.0011144466698169708, -0.4251624643802643, -0.3200599253177643, 0.5109138488769531, -0.1699817180633545, -0.6122978329658508, 0.5514003038406372, 0.2535092532634735, -0.27006953954696655, 0.4676700532436371, -0.7373231053352356, 0.5866554379463196, -0.034242693334817886, -0.5707409381866455, -0.8221905827522278, -0.9207376837730408, 0.5414877533912659, -0.06803416460752487, 0.15811288356781006, -0.1207941398024559, -0.005304703488945961, 0.7104855179786682, -0.7215138673782349, 0.7662031054496765, -0.12551695108413696, 0.4396132230758667, 0.13317269086837769, -0.061374224722385406, 0.760485053062439, -0.146915003657341, 0.11354516446590424, 0.3787500858306885, -0.4521121680736542, -0.9843199849128723, -0.8257551789283752, 0.5696413516998291, -0.6608169674873352, -0.8089373111724854, -0.1484801471233368, -0.7964509129524231, -0.4321671724319458, 0.3745826184749603, 0.15364663302898407, 0.5295493006706238, 0.27079910039901733, 0.29347264766693115, 0.6348090171813965, 0.33271610736846924, 0.33508968353271484, 0.4695550501346588, 0.5122918486595154, -0.46522289514541626, 1.0499117374420166, -0.09169169515371323, 0.6288776993751526, 0.19430457055568695, -0.22667816281318665, 0.1369864046573639, -0.6522126197814941, -0.45247703790664673, 0.12819890677928925, -0.47215425968170166, -0.06311032921075821, -0.6803608536720276, -0.08347870409488678, 0.008074949495494366, -0.49582672119140625, -0.8500672578811646, -0.5904990434646606, -0.29312074184417725, 0.022196417674422264, 0.12118162959814072, 0.49190789461135864, -0.05858384072780609, 0.7473774552345276, -0.912785530090332, 0.18978804349899292, 0.5212135314941406, 0.016497431322932243, 0.22792840003967285, -0.02526671439409256, -0.4733763337135315, 0.1786133497953415, -0.5435075759887695, -0.7804845571517944, -0.21675507724285126, 0.23485445976257324, 0.7519954442977905, 0.9665084481239319, 0.10952543467283249, 1.0225862264633179, -0.5039061903953552, 0.5475385785102844, 0.3858911097049713, -0.8876545429229736, 0.23582996428012848, -0.5142167806625366, 0.024874024093151093, 0.6340810656547546, 0.23133909702301025, -0.03364286571741104, -0.6521028876304626, -0.5694215893745422, -0.7764049172401428, 0.5705614686012268, 0.4600985646247864, -0.21912585198879242, -0.09609513729810715, 0.055951397866010666, 0.1736794114112854, 0.42651355266571045, 0.05441117659211159, -0.074424609541893, -0.02554209530353546, -0.20751577615737915, 0.3054456114768982, -0.22951571643352509, -0.37823453545570374, -0.22011040151119232, 0.4357762932777405, -0.017811158671975136, 0.43729108572006226, -0.004197048023343086, -0.052926186472177505, 0.27121472358703613, 0.10491885244846344, 0.6117669939994812, 0.9623804688453674, -0.1902403086423874, -0.13976731896400452, 0.12310798466205597, -0.30995869636535645, -0.16105622053146362, 0.1673559546470642, -0.10934916883707047, -0.027271611616015434, 0.3246316909790039, 0.9966618418693542, 0.5393151640892029, -0.4055342674255371, 0.7556234002113342, 0.27627792954444885, -0.34656476974487305, 0.46639880537986755, 0.26336464285850525, 0.20818355679512024, 0.4873697757720947, 0.5178608298301697, 0.8185004591941833, 0.24051938951015472, -0.093915656208992, 0.0599261112511158, 0.419216126203537, -0.0028812787495553493, -0.30774417519569397, 0.9883212447166443, 0.7258244156837463, -0.10180757939815521, 0.427685022354126, 0.19521749019622803, -0.47838154435157776, 0.6936126351356506, -0.12378809601068497, 0.8778063654899597, -0.16662204265594482, -0.21671530604362488, -0.14672942459583282, 0.1731342375278473, -0.050591498613357544, 0.3508323132991791, -0.5988857746124268, -0.28553903102874756, -0.3793455958366394, -0.13518725335597992, -0.3986457586288452, -0.6917084455490112, -0.9443060159683228, 0.1334492415189743, -0.20503486692905426, 0.05388743802905083, -0.30679282546043396, -0.3461594879627228, -0.6803538799285889, 0.033790674060583115, -0.08565167337656021, 1.1436513662338257, -0.94790118932724, 1.0659531354904175, 0.3885568380355835, 0.009650536812841892, -0.3549124002456665, -0.08813474327325821, -0.2424568384885788, -0.8054234981536865, 0.4159773290157318, 0.1840842366218567, -0.30891135334968567, 0.05192168056964874, -0.14701314270496368, -0.5464193224906921, 1.3242698907852173, 0.26124900579452515, -0.8223288059234619, -0.1000932902097702, 0.01656113937497139, 0.18776442110538483, -0.36541780829429626, 0.6416719555854797, 0.21175186336040497, 0.24141480028629303, -0.07700943946838379, -1.119097113609314, -0.07683052867650986, -0.3026813268661499, 0.20193138718605042, 0.07479778677225113, -0.9759572744369507, 0.7431045770645142, -0.0895349383354187, -0.034866612404584885, 0.05625930428504944, 1.0823580026626587, 0.4340907037258148, 0.4181367754936218, 0.8177869915962219, 0.5296133756637573, 0.5196374654769897, 0.138027161359787, 0.6709129810333252, -0.6638121008872986, 0.12968504428863525, 0.8463501334190369, -0.0757303535938263, 0.9079006314277649, 0.7068511247634888, -0.034995321184396744, 0.37027251720428467, 0.7223957180976868, 0.35376596450805664, 0.9523754119873047, -0.5054726004600525, -0.4489538371562958, -0.675247073173523, 0.07916673272848129, -0.7187846302986145, 0.0776401162147522, 0.3373749852180481, -0.297163724899292, -0.3821803331375122, 0.1934569925069809, -0.19786690175533295, -0.14900830388069153, -0.4378986060619354, 0.5903592705726624, -0.058620527386665344, -0.4079816937446594, 0.42211174964904785, -0.1418781578540802, 0.8089535236358643, -0.6430270671844482, 0.09552254527807236, -0.2814163863658905, 0.07580012083053589, 0.05329838767647743, -0.5319768786430359, 0.07343198359012604, -0.476958692073822, -0.4568413496017456, -0.10877794772386551, 0.5859673619270325, -0.4785129427909851, -0.42416441440582275, 0.25361889600753784, 0.443917840719223, 0.19651247560977936, -0.09593577682971954, -0.501043975353241, 0.03813527524471283, -0.2507776618003845, -0.1479857712984085, 0.5235119462013245, 0.2380620688199997, -0.3648401200771332, 0.9263172149658203, 0.5126399993896484, -0.005256767850369215, 0.56837397813797, -0.5252071022987366, 1.3554112911224365, -0.313286155462265, -0.9063761234283447, -0.5819920897483826, 0.4204309582710266, -0.2730712890625, -0.15910521149635315, 0.7580206990242004, 0.5152530670166016, 0.818513810634613, -0.18366147577762604, 0.7887448668479919, 0.002080352511256933, 0.3016194999217987, -0.44244587421417236, 0.4440579414367676, -0.7840244174003601, 0.18999598920345306, -0.18339848518371582, -0.8068790435791016, 0.18007893860340118, 0.10893791913986206, -0.3807011842727661, -0.04362768307328224, 0.5596767067909241, 0.7722035646438599, -0.7070187330245972, 0.09798702597618103, 0.21958953142166138, 0.2039191573858261, 0.23587842285633087, 0.806717574596405, 0.4386960566043854, -0.1994771808385849, 0.5443321466445923, -0.5428592562675476, -0.48562297224998474, -0.5464755296707153, -0.8502311110496521, -0.8431253433227539, -0.2292361557483673, -0.2383994460105896, 0.3645016551017761, 0.38238054513931274, 0.7886413931846619, 1.0240682363510132, -0.3742729723453522, -0.0993569865822792, -0.07058712840080261, -0.08925390243530273, -0.5730365514755249, -0.14031457901000977, 0.2511942386627197, -0.03276240825653076, -0.7910403609275818, 0.8021148443222046, 0.6571078896522522, -0.4455637037754059, -0.12486530095338821, -0.07298676669597626, 0.18952301144599915, 0.3389149606227875, 0.48778921365737915, 0.2926838994026184, -0.774133563041687, 0.06760817766189575, -0.21903344988822937, 0.032625652849674225, 0.009763091802597046, 0.9583029747009277, -0.46895632147789, 0.7748359441757202, 0.7877005338668823, 0.9159085154533386, 0.3669394552707672, 0.3247423470020294, 0.7088600397109985, -0.6406943798065186, 0.5290946364402771, 0.1367889642715454, 0.4154852628707886, -0.14438295364379883, -0.30096641182899475, 0.04515266790986061, 0.6909629702568054, -0.6502215266227722, -0.802632749080658, 0.19144463539123535, -1.219423770904541, -0.3315490782260895, 0.6635722517967224, -0.2664070725440979, -0.4118528664112091, 0.04188193753361702, -0.14099791646003723, -0.13544148206710815, -0.5016381144523621, 0.7982704043388367, 0.5551233291625977, -0.2887890338897705, -0.13841421902179718, -0.5951980948448181, 0.07680458575487137, 0.7801902294158936, -0.6091758012771606, -0.18194179236888885, 0.3527711033821106, 0.3667772710323334, -0.17366556823253632, 0.7913117408752441, 0.2195667177438736, 0.4968339800834656, -0.027102025225758553, -0.008883814327418804, -0.7169649004936218, -0.6267909407615662, 0.26542791724205017, 0.23471549153327942, -0.3773520290851593, -0.8253383636474609 ]